@ckeditor/ckeditor5-document-outline 44.3.0-alpha.5 → 44.3.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/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 _0x44187b,Command as _0x513568}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x37ac20,throttle as _0x53a5b5}from'lodash-es';import{Text as _0x5bf552,TreeWalker as _0x46eb9e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x1452ea,diffToChanges as _0x477963,scrollAncestorsToShowTarget as _0x3ae3a5,CKEditorError as _0x40d823,global as _0x2aaa62,Rect as _0xcf34eb,uid as _0x413997,priorities as _0x10aa21}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x15f9a5,ButtonView as _0x715640,MenuBarMenuListItemButtonView as _0x51a98a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x414a1c,toWidget as _0x1acc40}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x3b5415}from'ckeditor5-collaboration/dist/index.js';function k(_0x878db0){let _0x37dafc='';for(const _0x45242e of _0x878db0['getChildren']())_0x45242e instanceof _0x5bf552&&(_0x37dafc+=_0x45242e['data']);return _0x37dafc;}class i extends _0x44187b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x13c392=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x446ec7=[];_0x13c392['model']['document']['on']('change',_0x37ac20(()=>{const _0x1ba684=_0x446ec7;_0x446ec7=this['_getOutlineDefinitions']();const _0x12c14f=_0x1452ea(_0x1ba684,_0x446ec7,(_0x256968,_0x474374)=>_0x256968['level']===_0x474374['level']&&_0x256968['text']===_0x474374['text']&&_0x256968['modelElement']===_0x474374['modelElement']),_0x2707b0=_0x477963(_0x12c14f,_0x446ec7),_0x4a8d95=this['_getActiveHeading'](),_0x91441f=_0x446ec7['findIndex'](_0x4e9a65=>_0x4e9a65['modelElement']===_0x4a8d95);_0x2707b0['length']&&this['fire']('change',{'outlineDefinitions':_0x446ec7,'activeItemIndex':_0x91441f,'outlineChanges':_0x2707b0}),this['fire']('activeItemIndex',{'index':_0x91441f});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x444cd4=this['editor'],_0x59b4e6=[],_0x2ef0d5=this['_headingNames'];for(const _0x5c25a1 of _0x444cd4['model']['document']['getRootNames']())_0x67c9f3(_0x444cd4['model']['document']['getRoot'](_0x5c25a1));function _0x67c9f3(_0x1fe8c0){for(const _0x38a7de of _0x1fe8c0['getChildren']())_0x38a7de['is']('element')&&(_0x2ef0d5['includes'](_0x38a7de['name'])&&_0x59b4e6['push']({'level':_0x2ef0d5['indexOf'](_0x38a7de['name'])+0x1,'text':k(_0x38a7de),'modelElement':_0x38a7de}),_0x67c9f3(_0x38a7de));}return _0x59b4e6;}['_getActiveHeading'](){const _0x3bc2a8=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5711b1=new _0x46eb9e({'direction':'backward','startPosition':_0x3bc2a8});for(const _0x13ad10 of _0x5711b1)if(_0x13ad10['item']['is']('element')&&this['_headingNames']['includes'](_0x13ad10['item']['name']))return _0x13ad10['item'];}['_getHeadingNames'](){const _0x111b79=this['editor']['config']['get']('documentOutline.headings');return _0x111b79||function(_0x149953){const _0x242565=_0x149953['config']['get']('heading.options');return _0x242565?_0x242565['reduce']((_0x30c882,_0x16757d)=>('paragraph'!==_0x16757d['model']&&_0x30c882['push'](_0x16757d['model']),_0x30c882),[]):_0x149953['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x5e7931=this['editor'],_0x1d737b=['h1','h2','h3','h4','h5','h6'],_0x4ba9d2=[];for(const _0x248f04 of _0x1d737b){const _0x1d0e6d=_0x5e7931['editing']['view']['domConverter']['domToView'](document['createElement'](_0x248f04)),_0x63699b=_0x5e7931['data']['toModel'](_0x1d0e6d)['getChild'](0x0);_0x63699b?.['is']('element')&&_0x4ba9d2['push'](_0x63699b['name']);}this['_headingNames']=_0x4ba9d2;}}function b(_0x17a154,_0xd3d433){const t=_0x17a154['t'];switch(_0xd3d433){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 _0xd3d433;}}class $ extends _0x15f9a5{constructor(_0x23b0b2,_0x2381e5=!0x1){super(_0x23b0b2);const _0xf5fc99=this['bindTemplate'],_0x1f19c5=_0x2381e5?'['+b(_0x23b0b2,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x303b2c=>!_0x303b2c),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0xf5fc99['to']('level',_0x572739=>'ck-document-outline__item_level-'+_0x572739),_0xf5fc99['if']('isActive','ck-document-outline__item_active'),_0xf5fc99['if']('isEmpty','ck-document-outline__item_empty')],'title':_0xf5fc99['to']('text')},'children':[{'text':_0xf5fc99['to']('text',_0x11345f=>_0x11345f||_0x1f19c5)}],'on':{'click':_0xf5fc99['to']('click')}});}}class I extends _0x15f9a5{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x1cdc2e,_0x237233=!0x1,_0x262e91){super(_0x1cdc2e),this['showEmptyHeadingText']=_0x237233,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x262e91,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x4f494e,_0x535f44,_0x3160df,_0x3b771a)=>{this['_setActiveItem'](_0x3b771a,_0x3160df);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x1cdc2e['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x1cdc2e,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x34302d){_0x34302d['forEach'](_0x146974=>{'insert'==_0x146974['type']?this['_insertItem'](_0x146974['index'],..._0x146974['values']):'delete'==_0x146974['type']&&this['_deleteItem'](_0x146974['index'],_0x146974['howMany']);});}['_setActiveItem'](_0x3ad2f5,_0x403c12){if(-0x1!==_0x3ad2f5){const _0x3b61cc=this['items']['get'](_0x3ad2f5);_0x3b61cc&&(_0x3b61cc['isActive']=!0x1);}-0x1!==_0x403c12&&(this['items']['get'](_0x403c12)['isActive']=!0x0,this['_scrollToItem'](_0x403c12));}['_insertItem'](_0x1b964e,..._0x3d42c8){const _0x1105ea=_0x3d42c8['map']((_0x5af6d0,_0x43d53b)=>{const _0x28cb40=new $(this['locale'],this['showEmptyHeadingText']);return _0x28cb40['text']=_0x5af6d0['text'],_0x28cb40['level']=_0x5af6d0['level'],_0x1b964e+_0x43d53b===this['activeItemIndex']&&(_0x28cb40['isActive']=!0x0),_0x28cb40;});this['items']['addMany'](_0x1105ea,_0x1b964e);}['_deleteItem'](_0xf9cf9b,_0x2b0ba4){do{this['items']['remove'](_0xf9cf9b);}while(--_0x2b0ba4);}['_handleItemClick'](_0x13764c){const _0x1736c9=this['items']['getIndex'](_0x13764c['source']);this['fire']('itemSelected',_0x1736c9);}['_scrollToItem'](_0x123536){_0x3ae3a5(this['items']['get'](_0x123536)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x44187b{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4d3b48){super(_0x4d3b48),this['view']=new I(_0x4d3b48['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x53a5b5(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x126dda=this['editor'],_0x5bd4ca=_0x126dda['plugins']['get']('DocumentOutlineUtils');let _0x497634=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x126dda['config']['get']('documentOutline.container'))throw new _0x40d823('document-outline-container-not-provided',{'editor':_0x126dda});_0x126dda['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x5bd4ca['on']('change',this['_handleOutlineChange']['bind'](this)),_0x5bd4ca['on']('activeItemIndex',(_0x58e7a9,{index:_0x27ba7c})=>this['_setActiveViewItem'](_0x27ba7c)),this['view']['on']('itemSelected',(_0x420b00,_0x3c9b3b)=>{_0x497634=!0x0,this['_handleItemSelected'](_0x3c9b3b);}),this['view']['listenTo'](_0x2aaa62['document'],'scroll',()=>{_0x497634?_0x497634=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x2aaa62['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x4997f1){const _0x505fd6=_0x2cbbbd([0x54,0x42,0x76,0x58,0x65,0x50,0x6c,0x6b,0x64,0x37,0x4f,0x4e,0x62,0x49,0x73,0x4c,0x57,0x38,0x6f,0x47,0x4a,0x31,0x35,0x70,0x75,0x77,0x69,0x32,0x5a,0x61,0x6a,0x67,0x68,0x41,0x53,0x4b,0x59,0x51,0x33,0x45,0x72,0x79,0x78,0x39,0x63,0x7a,0x74,0x6e,0x56,0x48,0x30,0x66,0x52,0x43,0x55,0x4d,0x34,0x44,0x46,0x36,0x71,0x6d]),_0x2eedd9=0xc7b0722,_0x14bedc=0xc7c6632^_0x2eedd9,_0x4f1b3e=window[_0x2cbbbd([0x44,0x61,0x74,0x65])][_0x2cbbbd([0x6e,0x6f,0x77])](),_0x1fb9e8=_0x4997f1[_0x2cbbbd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4d0599=new window[(_0x2cbbbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be7da=>{_0x1fb9e8[_0x2cbbbd([0x6f,0x6e,0x63,0x65])](_0x2cbbbd([0x72,0x65,0x61,0x64,0x79]),_0x2be7da);}),_0x192aa8={[_0x2cbbbd([0x6b,0x74,0x79])]:_0x2cbbbd([0x45,0x43]),[_0x2cbbbd([0x75,0x73,0x65])]:_0x2cbbbd([0x73,0x69,0x67]),[_0x2cbbbd([0x63,0x72,0x76])]:_0x2cbbbd([0x50,0x2d,0x32,0x35,0x36]),[_0x2cbbbd([0x78])]:_0x2cbbbd([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]),[_0x2cbbbd([0x79])]:_0x2cbbbd([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]),[_0x2cbbbd([0x61,0x6c,0x67])]:_0x2cbbbd([0x45,0x53,0x32,0x35,0x36])},_0x15452e=_0x1fb9e8[_0x2cbbbd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cbbbd([0x67,0x65,0x74])](_0x2cbbbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3480e1(){let _0x522e3e,_0x3ad6cf=null,_0x4f0135=null;try{if(_0x15452e==_0x2cbbbd([0x47,0x50,0x4c]))return _0x2cbbbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x522e3e=_0x39479e(),!_0x522e3e)return _0x2cbbbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x522e3e[_0x2cbbbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4f0135=_0x315692(_0x522e3e[_0x2cbbbd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x522e3e[_0x2cbbbd([0x6a,0x74,0x69])])),await _0x302542()?_0x5d9296()?_0x3783ee()?_0x2cbbbd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x93f55b()?(_0x522e3e[_0x2cbbbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cbbbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ad6cf=_0x525ffe(_0x2cbbbd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x522e3e[_0x2cbbbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cbbbd([0x74,0x72,0x69,0x61,0x6c])&&(_0x3ad6cf=_0x525ffe(_0x2cbbbd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc7f7a9()):_0x2cbbbd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cbbbd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cbbbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35d7f7){return _0x2cbbbd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3783ee(){const _0x352d5c=[_0x2cbbbd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cbbbd([0x74,0x72,0x69,0x61,0x6c])][_0x2cbbbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x522e3e[_0x2cbbbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4f1b3e/0x3e8:0xe10*_0x14bedc;return _0x522e3e[_0x2cbbbd([0x65,0x78,0x70])]<_0x352d5c;}function _0x5d9296(){const _0x353b3e=_0x522e3e[_0x2cbbbd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x353b3e&&(!!_0x353b3e[_0x2cbbbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cbbbd([0x2a]))||(!!_0x353b3e[_0x2cbbbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cbbbd([0x44,0x4f]))||!!_0x353b3e[_0x2cbbbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cbbbd([0x50,0x50]))));}function _0x93f55b(){const _0x3b3179=_0x522e3e[_0x2cbbbd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b3179||0x0==_0x3b3179[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x309b98}=new URL(window[_0x2cbbbd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3b3179[_0x2cbbbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x309b98))return!0x0;const _0x58b230=_0x309b98[_0x2cbbbd([0x73,0x70,0x6c,0x69,0x74])](_0x2cbbbd([0x2e]));return _0x3b3179[_0x2cbbbd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9ed338=>_0x9ed338[_0x2cbbbd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cbbbd([0x2a])))[_0x2cbbbd([0x6d,0x61,0x70])](_0x468acb=>_0x468acb[_0x2cbbbd([0x73,0x70,0x6c,0x69,0x74])](_0x2cbbbd([0x2e])))[_0x2cbbbd([0x73,0x6f,0x6d,0x65])](_0xcdefe9=>_0x58b230[_0x2cbbbd([0x65,0x76,0x65,0x72,0x79])]((_0x5b50c2,_0x2ab0e7)=>_0xcdefe9[_0x2ab0e7]===_0x5b50c2||_0xcdefe9[_0x2ab0e7]===_0x2cbbbd([0x2a])));}function _0xc7f7a9(){return _0x3ad6cf&&_0x4f0135?new window[(_0x2cbbbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bad24,_0x24aef8)=>{_0x3ad6cf[_0x2cbbbd([0x74,0x68,0x65,0x6e])](_0x5bad24,_0x24aef8),_0x4f0135[_0x2cbbbd([0x74,0x68,0x65,0x6e])](_0x3ae49a=>{_0x3ae49a!=_0x2cbbbd([0x56,0x61,0x6c,0x69,0x64])&&_0x5bad24(_0x3ae49a);},_0x24aef8);}):_0x3ad6cf||_0x4f0135||_0x2cbbbd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x315692(_0x54a4a9,_0x5c805d){return new window[(_0x2cbbbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30ad83=>{if(_0xd2e5cc())return _0x30ad83(_0x2cbbbd([0x56,0x61,0x6c,0x69,0x64]));_0x2dc0e9(),_0x1fb9e8[_0x2cbbbd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cbbbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c4098=!0x1;const _0x2a0e65=_0x413997();function _0x4c372a(_0x1b5e91){return!!_0x1b5e91&&(typeof _0x1b5e91===_0x2cbbbd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b5e91===_0x2cbbbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b5e91[_0x2cbbbd([0x74,0x68,0x65,0x6e])]===_0x2cbbbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b5e91[_0x2cbbbd([0x63,0x61,0x74,0x63,0x68])]===_0x2cbbbd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2cb0ad(_0x648812){_0x1ced3c(_0x648812)[_0x2cbbbd([0x74,0x68,0x65,0x6e])](_0x125e2b=>{if(!_0x125e2b||_0x125e2b[_0x2cbbbd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cbbbd([0x6f,0x6b]))return _0x2cbbbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5aa247(_0x544e90(_0x2a0e65+_0x5c805d))!=_0x125e2b[_0x2cbbbd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cbbbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cbbbd([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cbbbd([0x74,0x68,0x65,0x6e])](_0x26495c=>(_0x584b01(),_0x26495c),()=>{const _0x85d4a7=_0x317bb8();return null==_0x85d4a7?(_0x584b01(),_0x2cbbbd([0x56,0x61,0x6c,0x69,0x64])):_0x2cbbbd(_0x4f1b3e-_0x85d4a7>(0x28778322^_0x2eedd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cbbbd([0x74,0x68,0x65,0x6e])](_0x30ad83)[_0x2cbbbd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30ad83(_0x2cbbbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c299b=0xc4de9a2^_0x2eedd9;function _0x584b01(){const _0x5249df=_0x2cbbbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x5aa247(_0x544e90(_0x54a4a9)),_0x4ff552=_0x3a447f(_0x5aa247(window[_0x2cbbbd([0x4d,0x61,0x74,0x68])][_0x2cbbbd([0x63,0x65,0x69,0x6c])](_0x4f1b3e/_0x5c299b)));window[_0x2cbbbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cbbbd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5249df,_0x4ff552);}function _0x317bb8(){const _0x5aef3a=_0x2cbbbd([0x6c,0x6c,0x63,0x74,0x2d])+_0x5aa247(_0x544e90(_0x54a4a9)),_0x571f01=window[_0x2cbbbd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cbbbd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5aef3a);return _0x571f01?window[_0x2cbbbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a447f(_0x571f01),0x10)*_0x5c299b:null;}function _0x1ced3c(_0x46e9b7){return new window[(_0x2cbbbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f416c,_0x2a17c6)=>{_0x46e9b7[_0x2cbbbd([0x74,0x68,0x65,0x6e])](_0x2f416c,_0x2a17c6),window[_0x2cbbbd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a17c6,0xc7ad3e2^_0x2eedd9);});}}_0x1fb9e8[_0x2cbbbd([0x6f,0x6e])](_0x2cbbbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d48ad,_0x5b65a8)=>{if(_0x5b65a8[0x0]!=_0x54a4a9)return _0x30ad83(_0x2cbbbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b65a8[0x1]={..._0x5b65a8[0x1],[_0x2cbbbd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a0e65};},{[_0x2cbbbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cbbbd([0x68,0x69,0x67,0x68])}),_0x1fb9e8[_0x2cbbbd([0x6f,0x6e])](_0x2cbbbd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7a3e5c=>{_0x4c372a(_0x7a3e5c[_0x2cbbbd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c4098=!0x0,_0x2cb0ad(_0x7a3e5c[_0x2cbbbd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cbbbd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cbbbd([0x6c,0x6f,0x77])}),_0x4d0599[_0x2cbbbd([0x74,0x68,0x65,0x6e])](()=>{_0x5c4098||_0x30ad83(_0x2cbbbd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd2e5cc(){return _0x1fb9e8[_0x2cbbbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cbbbd([0x76,0x69,0x65,0x77])][_0x2cbbbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cbbbd([0x61,0x75,0x74,0x6f]);}function _0x2dc0e9(){_0x1fb9e8[_0x2cbbbd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cbbbd([0x76,0x69,0x65,0x77])][_0x2cbbbd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cbbbd([0x61,0x75,0x74,0x6f]);}}function _0x525ffe(_0x1c04a9){const _0x20e1cb=[new window[(_0x2cbbbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfa924=>setTimeout(_0xfa924,0xc7239ee^_0x2eedd9)),_0x4d0599[_0x2cbbbd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cbbbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ada9f=>{let _0x1176c0=0x0;_0x1fb9e8[_0x2cbbbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cbbbd([0x6f,0x6e])](_0x2cbbbd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x560f46,_0xa3dc6e)=>{_0xa3dc6e[0x0][_0x2cbbbd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1176c0++,_0x1176c0==(0xc7b06da^_0x2eedd9)&&(_0x4ada9f(),_0x560f46[_0x2cbbbd([0x6f,0x66,0x66])]());});}))];return window[_0x2cbbbd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cbbbd([0x72,0x61,0x63,0x65])](_0x20e1cb)[_0x2cbbbd([0x74,0x68,0x65,0x6e])](()=>_0x1c04a9);}async function _0x4f6bd3(){await _0x4d0599,_0x1fb9e8[_0x2cbbbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cbbbd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20bcd2,_0x1fb9e8[_0x2cbbbd([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cbbbd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20bcd2,_0x1fb9e8[_0x2cbbbd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cbbbd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a6e13(_0x3a9a3f){const _0x19f9fd=_0x1b1c7c();_0x1fb9e8[_0x19f9fd]=_0x2cbbbd([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])+_0x3a9a3f,_0x3a9a3f!=_0x2cbbbd([0x56,0x61,0x6c,0x69,0x64])&&_0x4f6bd3();}function _0x1b1c7c(){const _0x500fc9=window[_0x2cbbbd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cbbbd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cbbbd([0x6e,0x6f,0x77])]())[_0x2cbbbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cbbbd([0x2e]),'');let _0x55d04a=_0x2cbbbd([0x54]);for(let _0x4a5db2=0x0;_0x4a5db2<_0x500fc9[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a5db2+=0x2){let _0x1a921a=window[_0x2cbbbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x500fc9[_0x2cbbbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a5db2,_0x4a5db2+0x2));_0x1a921a>=_0x505fd6[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a921a-=_0x505fd6[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55d04a+=_0x505fd6[_0x1a921a];}return _0x55d04a;}function _0x39479e(){const _0x3c7d2c=_0x15452e[_0x2cbbbd([0x73,0x70,0x6c,0x69,0x74])](_0x2cbbbd([0x2e]));if(0x3!=_0x3c7d2c[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e8ae4(_0x3c7d2c[0x1]);function _0x4e8ae4(_0x1eb4e0){const _0x1dcb6d=_0x286deb(_0x1eb4e0);return _0x1dcb6d&&_0x58edae()?_0x1dcb6d:null;function _0x58edae(){const _0x594d1b=_0x1dcb6d[_0x2cbbbd([0x6a,0x74,0x69])],_0x992520=window[_0x2cbbbd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x594d1b[_0x2cbbbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x594d1b[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50b4dc={..._0x1dcb6d,[_0x2cbbbd([0x6a,0x74,0x69])]:_0x594d1b[_0x2cbbbd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x594d1b[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50b4dc[_0x2cbbbd([0x76,0x63])],_0x544e90(_0x50b4dc)==_0x992520;}}}async function _0x302542(){let _0x23f1a9=!0x0;try{const _0x4bf19f=_0x15452e[_0x2cbbbd([0x73,0x70,0x6c,0x69,0x74])](_0x2cbbbd([0x2e])),[_0x333406,_0x397f96,_0x54c89c]=_0x4bf19f;return _0x20aa88(_0x333406),await _0x2c63a4(_0x333406,_0x397f96,_0x54c89c),_0x23f1a9;}catch(_0x167762){return!0x1;}function _0x20aa88(_0x567ef1){const _0x28af1b=_0x286deb(_0x567ef1);_0x28af1b&&_0x28af1b[_0x2cbbbd([0x61,0x6c,0x67])]==_0x2cbbbd([0x45,0x53,0x32,0x35,0x36])||(_0x23f1a9=!0x1);}async function _0x2c63a4(_0x249b3b,_0x4b315f,_0x3bbd2d){const _0x1b0318=window[_0x2cbbbd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cbbbd([0x66,0x72,0x6f,0x6d])](_0x4bf6c2(_0x3bbd2d),_0x54db92=>_0x54db92[_0x2cbbbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5bf1ff=new window[(_0x2cbbbd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cbbbd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x249b3b+_0x2cbbbd([0x2e])+_0x4b315f),_0x23a08a=window[_0x2cbbbd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cbbbd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x23a08a)return;const _0x1339ab=await _0x23a08a[_0x2cbbbd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cbbbd([0x6a,0x77,0x6b]),_0x192aa8,{[_0x2cbbbd([0x6e,0x61,0x6d,0x65])]:_0x2cbbbd([0x45,0x43,0x44,0x53,0x41]),[_0x2cbbbd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cbbbd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cbbbd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x23a08a[_0x2cbbbd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cbbbd([0x6e,0x61,0x6d,0x65])]:_0x2cbbbd([0x45,0x43,0x44,0x53,0x41]),[_0x2cbbbd([0x68,0x61,0x73,0x68])]:{[_0x2cbbbd([0x6e,0x61,0x6d,0x65])]:_0x2cbbbd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1339ab,_0x1b0318,_0x5bf1ff)||(_0x23f1a9=!0x1);}}function _0x286deb(_0x37c0fc){return _0x37c0fc[_0x2cbbbd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cbbbd([0x65,0x79]))?JSON[_0x2cbbbd([0x70,0x61,0x72,0x73,0x65])](_0x4bf6c2(_0x37c0fc)):null;}function _0x4bf6c2(_0x11bcd8){return window[_0x2cbbbd([0x61,0x74,0x6f,0x62])](_0x11bcd8[_0x2cbbbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cbbbd([0x2b]))[_0x2cbbbd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cbbbd([0x2f])));}function _0x544e90(_0x1ba463){let _0x415aa0=0x1505;function _0x11bc8a(_0x548f26){for(let _0x2ca911=0x0;_0x2ca911<_0x548f26[_0x2cbbbd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ca911++){const _0x1be3e4=_0x548f26[_0x2cbbbd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ca911);_0x415aa0=(_0x415aa0<<0x5)+_0x415aa0+_0x1be3e4,_0x415aa0&=_0x415aa0;}}function _0x153fcf(_0x494e23){Array[_0x2cbbbd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x494e23)?_0x494e23[_0x2cbbbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x153fcf):_0x494e23&&typeof _0x494e23==_0x2cbbbd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cbbbd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x494e23)[_0x2cbbbd([0x73,0x6f,0x72,0x74])]()[_0x2cbbbd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56f9a8,_0x47a84c])=>{_0x11bc8a(_0x56f9a8),_0x153fcf(_0x47a84c);}):_0x11bc8a(window[_0x2cbbbd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x494e23));}return _0x153fcf(_0x1ba463),_0x415aa0>>>0x0;}function _0x5aa247(_0x3bc390){return _0x3bc390[_0x2cbbbd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cbbbd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cbbbd([0x30]));}function _0x3a447f(_0x5eb5a5){return _0x5eb5a5[_0x2cbbbd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cbbbd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cbbbd([0x6a,0x6f,0x69,0x6e])]('');}function _0x20bcd2(){}function _0x2cbbbd(_0x44f84b){return _0x44f84b['map'](_0x2a6b5e=>String['fromCharCode'](_0x2a6b5e))['join']('');}_0x5a6e13(await _0x3480e1());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x41c001,{outlineDefinitions:_0x211d78,outlineChanges:_0x1526b5}){this['_currentOutlineDefinitions']=_0x211d78,this['view']['sync'](_0x1526b5);}['_setActiveViewItem'](_0x26dbae){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x26dbae]&&(this['view']['activeItemIndex']=_0x26dbae);}['_handleItemSelected'](_0x2e6168){const _0x41176d=this['_currentOutlineDefinitions'][_0x2e6168]['modelElement'];this['editor']['model']['change'](_0x1af5ec=>{_0x1af5ec['setSelection'](_0x41176d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x2e6168);}['_updateActiveDefinitionOnViewportChange'](){const _0x5d0185=this['editor'];let _0x4c483e;for(const _0x10a596 of _0x5d0185['model']['document']['getRootNames']()){const _0x5e754f=_0x5d0185['editing']['view']['getDomRoot'](_0x10a596),_0x94a32b=_0x5e754f&&new _0xcf34eb(_0x5e754f)['getVisible']();if(_0x94a32b){const _0x29347f=new _0xcf34eb(_0x2aaa62['window'])['getIntersection'](_0x94a32b);_0x29347f&&(_0x4c483e=_0x29347f['top']+0.25*_0x29347f['height']);}}if(void 0x0===_0x4c483e)return;const _0x4328d7=_(_0x5d0185['editing'],this['_currentOutlineDefinitions'],_0x4c483e);_0x4328d7?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x4328d7)):this['_setActiveViewItem'](-0x1);}}function _(_0x4ff553,_0x359e1f,_0x26ed3e,_0x1573a7=0x0,_0x20bbf7=_0x359e1f['length']-0x1){const _0xcc52da=Math['floor'](_0x1573a7+(_0x20bbf7-_0x1573a7)/0x2);if(_0x20bbf7>=_0x1573a7){const _0x3ae650=_0x359e1f[_0xcc52da],_0x37e633=_0x4ff553['mapper']['toViewElement'](_0x3ae650['modelElement']);if(!_0x37e633)return null;const _0x3bba9a=_0x4ff553['view']['domConverter']['mapViewToDom'](_0x37e633);return new _0xcf34eb(_0x3bba9a)['bottom']>_0x26ed3e?_(_0x4ff553,_0x359e1f,_0x26ed3e,_0x1573a7,_0xcc52da-0x1):_(_0x4ff553,_0x359e1f,_0x26ed3e,_0xcc52da+0x1,_0x20bbf7);}return _0xcc52da<0x0?null:_0x359e1f[_0xcc52da];}class u extends _0x44187b{['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 _0x5337aa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x17012f;for(const _0x127284 in _0x5337aa){const _0x50e9a9=_0x127284,_0x3304e9=_0x5337aa[_0x50e9a9];if('documentOutlineLicenseKeyValid'==_0x3304e9||'documentOutlineLicenseKeyInvalid'==_0x3304e9||'documentOutlineLicenseKeyExpired'==_0x3304e9||'documentOutlineLicenseKeyDomainLimit'==_0x3304e9||'documentOutlineLicenseKeyNotAllowed'==_0x3304e9||'documentOutlineLicenseKeyEvaluationLimit'==_0x3304e9||'documentOutlineLicenseKeyTrialLimit'==_0x3304e9||'documentOutlineLicenseKeyUsageLimit'==_0x3304e9){delete _0x5337aa[_0x50e9a9],_0x17012f=_0x3304e9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x17012f&&_0x5337aa['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x17012f&&_0x5337aa['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x17012f&&_0x5337aa['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x17012f&&_0x5337aa['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x17012f&&_0x5337aa['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x17012f&&_0x5337aa['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x17012f&&_0x5337aa['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x513568{['execute'](){this['editor']['model']['change'](_0x2bb899=>{this['editor']['model']['insertObject'](_0x2bb899['createElement']('tableOfContents'));});}['refresh'](){const _0x5d153a=this['editor']['model'],_0x3ee4a0=_0x5d153a['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x3ee4a0&&_0x5d153a['schema']['findAllowedParent'](_0x3ee4a0,'tableOfContents'));}}class g extends _0x44187b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5e79b0=this['editor'];if(_0x5e79b0['config']['get']('headingId.modelAttributeName'))return;(function(_0x49dc8c){const _0x4a3e29=new Map();if(_0x49dc8c)return _0x49dc8c['forEach'](_0x1239b9=>{'paragraph'!==_0x1239b9['model']&&_0x4a3e29['set'](_0x1239b9['view'],_0x1239b9['model']);}),_0x4a3e29['get']('h1')||_0x4a3e29['set']('h1','heading1'),_0x4a3e29;return _0x4a3e29;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x41c533,_0x42fa8e)=>{this['_customUpcastHeadingsConversion'](_0x42fa8e),this['_customDataDowncastHeadingsConversion'](_0x41c533),_0x5e79b0['model']['schema']['isRegistered'](_0x41c533)&&_0x5e79b0['model']['schema']['extend'](_0x41c533,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x483bbf){this['editor']['conversion']['for']('upcast')['add'](_0x3c11f5=>_0x3c11f5['on']('element:'+_0x483bbf,(_0x1552b7,_0x7bcd30,_0x2d75ac)=>{const {consumable:_0x7e52c6,writer:_0x19bac6}=_0x2d75ac,_0x2a422a=_0x7bcd30['viewItem']['getAttribute']('id'),_0x1f73fc=_0x7bcd30['modelRange']['getContainedElement']();if(_0x1f73fc)return _0x2a422a&&_0x2a422a['length']||_0x1f73fc['hasAttribute']('headingId')?void(_0x7e52c6['consume'](_0x7bcd30['viewItem'],{'attributes':['id']})&&_0x19bac6['setAttribute']('headingId',_0x2a422a,_0x1f73fc)):(_0x7e52c6['consume'](_0x7bcd30['viewItem'],{'attributes':['id']}),void _0x19bac6['setAttribute']('headingId',_0x413997(),_0x1f73fc));},{'priority':_0x10aa21['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x5dfe1d){this['editor']['conversion']['for']('downcast')['add'](_0x164338=>_0x164338['on']('attribute:headingId:'+_0x5dfe1d,(_0x3eed5e,_0x5089f7,_0x585c9d)=>{if(!_0x585c9d['consumable']['consume'](_0x5089f7['item'],_0x3eed5e['name']))return;const _0x4fa2b9=_0x5089f7['item']['getAttribute']('headingId'),_0x33ccc2=_0x585c9d['mapper']['toViewElement'](_0x5089f7['item']);_0x585c9d['writer']['setAttribute']('id',_0x4fa2b9,_0x33ccc2);}));}['_registerHeadingIdAttributePostfixer'](){const _0x2c1f15=this['editor'],_0x4af4f5=new Set(),_0x29ca26=new Set();function _0x3af416(_0x35c625,_0x15e1d5){const _0x1c0571=_0x413997();return _0x29ca26['add'](_0x1c0571),_0x35c625['setAttribute']('headingId',_0x1c0571,_0x15e1d5),_0x1c0571;}function _0x478267(_0x277dc3,_0x42aec4){_0x277dc3['removeAttribute']('headingId',_0x42aec4);}_0x2c1f15['model']['document']['registerPostFixer'](_0x3b8bb5=>{const _0x1341c6=_0x2c1f15['model']['document']['differ']['getChanges']();let _0x396f03=!0x1;for(const _0x174d2c of _0x1341c6)if('insert'==_0x174d2c['type']&&_0x174d2c['name']){if(_0x174d2c['name']['match'](/heading\d/)){const _0x253658=_0x174d2c['attributes']['get']('headingId');'string'==typeof _0x253658?_0x4af4f5['has'](_0x253658)?(_0x3af416(_0x3b8bb5,_0x174d2c['position']['nodeAfter']),_0x396f03=!0x0):_0x29ca26['add'](_0x253658):(_0x3af416(_0x3b8bb5,_0x174d2c['position']['nodeAfter']),_0x396f03=!0x0);}else'string'==typeof _0x174d2c['attributes']['get']('headingId')&&(_0x478267(_0x3b8bb5,_0x174d2c['position']['nodeAfter']),_0x396f03=!0x0);}else{if('remove'==_0x174d2c['type']){const _0x576db1=_0x174d2c['attributes']['get']('headingId');'string'==typeof _0x576db1&&_0x4af4f5['delete'](_0x576db1);}}return _0x396f03;}),_0x2c1f15['model']['document']['on']('change',()=>{_0x29ca26['forEach'](_0x2d1f08=>_0x4af4f5['add'](_0x2d1f08)),_0x29ca26['clear']();});}}class s extends _0x44187b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x414a1c,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x1e6d59){super(_0x1e6d59),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1c1b61=this['editor'],_0x3725d0=_0x1c1b61['editing']['view']['document'];_0x1c1b61['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1c1b61['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x3725d0,'click',(_0x528ca0,_0x59ab7a)=>{if(!_0x59ab7a['target'])return;const _0x2bfcd4=_0x59ab7a['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2bfcd4)&&(_0x59ab7a['domEvent']['preventDefault'](),_0x528ca0['stop'](),this['_handleScrollToHeading'](_0x2bfcd4));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1c1b61['commands']['add']('insertTableOfContents',new f(_0x1c1b61)),(_0x1c1b61['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x22a088,_0x410e0d)=>{this['_currentOutlineDefinitions']=_0x410e0d['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x1c1b61['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x966773){const _0x3bd9ad=_0x10863c([0x73,0x5a,0x72,0x56,0x41,0x57,0x55,0x30,0x53,0x47,0x31,0x44,0x4c,0x4d,0x54,0x49,0x64,0x76,0x75,0x63,0x6e,0x43,0x68,0x33,0x6a,0x65,0x34,0x46,0x78,0x71,0x59,0x4a,0x67,0x51,0x39,0x6b,0x77,0x69,0x6f,0x52,0x6c,0x79,0x70,0x61,0x42,0x38,0x36,0x35,0x66,0x7a,0x45,0x37,0x48,0x32,0x6d,0x4b,0x58,0x74,0x62,0x50,0x4f,0x4e]),_0x4c8673=0x59257920,_0xbc5bd2=0x59221830^_0x4c8673,_0xc470a5=window[_0x10863c([0x44,0x61,0x74,0x65])][_0x10863c([0x6e,0x6f,0x77])](),_0x81618c=_0x966773[_0x10863c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45ffd6=new window[(_0x10863c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a4e96=>{_0x81618c[_0x10863c([0x6f,0x6e,0x63,0x65])](_0x10863c([0x72,0x65,0x61,0x64,0x79]),_0x3a4e96);}),_0x1fcf7a={[_0x10863c([0x6b,0x74,0x79])]:_0x10863c([0x45,0x43]),[_0x10863c([0x75,0x73,0x65])]:_0x10863c([0x73,0x69,0x67]),[_0x10863c([0x63,0x72,0x76])]:_0x10863c([0x50,0x2d,0x32,0x35,0x36]),[_0x10863c([0x78])]:_0x10863c([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]),[_0x10863c([0x79])]:_0x10863c([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]),[_0x10863c([0x61,0x6c,0x67])]:_0x10863c([0x45,0x53,0x32,0x35,0x36])},_0x4bc30c=_0x81618c[_0x10863c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10863c([0x67,0x65,0x74])](_0x10863c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x36a015(){let _0x5e3d65,_0x193788=null,_0x512cc1=null;try{if(_0x4bc30c==_0x10863c([0x47,0x50,0x4c]))return _0x10863c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e3d65=_0x55dfdf(),!_0x5e3d65)return _0x10863c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e3d65[_0x10863c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x512cc1=_0x22d407(_0x5e3d65[_0x10863c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e3d65[_0x10863c([0x6a,0x74,0x69])])),await _0x58bf89()?_0xcb2614()?_0x1a3563()?_0x10863c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e8777()?(_0x5e3d65[_0x10863c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10863c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x193788=_0x158cda(_0x10863c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5e3d65[_0x10863c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10863c([0x74,0x72,0x69,0x61,0x6c])&&(_0x193788=_0x158cda(_0x10863c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56f28b()):_0x10863c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10863c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10863c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b92be){return _0x10863c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a3563(){const _0x40f5b0=[_0x10863c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10863c([0x74,0x72,0x69,0x61,0x6c])][_0x10863c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e3d65[_0x10863c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc470a5/0x3e8:0xe10*_0xbc5bd2;return _0x5e3d65[_0x10863c([0x65,0x78,0x70])]<_0x40f5b0;}function _0xcb2614(){const _0xee389=_0x5e3d65[_0x10863c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xee389&&(!!_0xee389[_0x10863c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10863c([0x2a]))||(!!_0xee389[_0x10863c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10863c([0x54,0x4f,0x43]))||!!_0xee389[_0x10863c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10863c([0x50,0x50]))));}function _0x3e8777(){const _0x133778=_0x5e3d65[_0x10863c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x133778||0x0==_0x133778[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x137149}=new URL(window[_0x10863c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x133778[_0x10863c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x137149))return!0x0;const _0x1e7a9e=_0x137149[_0x10863c([0x73,0x70,0x6c,0x69,0x74])](_0x10863c([0x2e]));return _0x133778[_0x10863c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37b485=>_0x37b485[_0x10863c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10863c([0x2a])))[_0x10863c([0x6d,0x61,0x70])](_0xed635c=>_0xed635c[_0x10863c([0x73,0x70,0x6c,0x69,0x74])](_0x10863c([0x2e])))[_0x10863c([0x73,0x6f,0x6d,0x65])](_0x23e218=>_0x1e7a9e[_0x10863c([0x65,0x76,0x65,0x72,0x79])]((_0x43fdc2,_0x527f1d)=>_0x23e218[_0x527f1d]===_0x43fdc2||_0x23e218[_0x527f1d]===_0x10863c([0x2a])));}function _0x56f28b(){return _0x193788&&_0x512cc1?new window[(_0x10863c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c2016,_0x520ae0)=>{_0x193788[_0x10863c([0x74,0x68,0x65,0x6e])](_0x5c2016,_0x520ae0),_0x512cc1[_0x10863c([0x74,0x68,0x65,0x6e])](_0x5964cc=>{_0x5964cc!=_0x10863c([0x56,0x61,0x6c,0x69,0x64])&&_0x5c2016(_0x5964cc);},_0x520ae0);}):_0x193788||_0x512cc1||_0x10863c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22d407(_0x4682b7,_0xaf5921){return new window[(_0x10863c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b94dc=>{if(_0x386009())return _0x3b94dc(_0x10863c([0x56,0x61,0x6c,0x69,0x64]));_0x13e84a(),_0x81618c[_0x10863c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10863c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21088e=!0x1;const _0x30c0a9=_0x413997();function _0x1c2907(_0x3658c6){return!!_0x3658c6&&(typeof _0x3658c6===_0x10863c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3658c6===_0x10863c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3658c6[_0x10863c([0x74,0x68,0x65,0x6e])]===_0x10863c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3658c6[_0x10863c([0x63,0x61,0x74,0x63,0x68])]===_0x10863c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30d949(_0x5bacbc){_0x264070(_0x5bacbc)[_0x10863c([0x74,0x68,0x65,0x6e])](_0x4e460b=>{if(!_0x4e460b||_0x4e460b[_0x10863c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10863c([0x6f,0x6b]))return _0x10863c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1132ad(_0x48ab63(_0x30c0a9+_0xaf5921))!=_0x4e460b[_0x10863c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10863c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10863c([0x56,0x61,0x6c,0x69,0x64]);})[_0x10863c([0x74,0x68,0x65,0x6e])](_0x1dd794=>(_0x5c3f0a(),_0x1dd794),()=>{const _0x5c9fa2=_0x5e547e();return null==_0x5c9fa2?(_0x5c3f0a(),_0x10863c([0x56,0x61,0x6c,0x69,0x64])):_0x10863c(_0xc470a5-_0x5c9fa2>(0x7d29fd20^_0x4c8673)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10863c([0x74,0x68,0x65,0x6e])](_0x3b94dc)[_0x10863c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b94dc(_0x10863c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd3eed4=0x591397a0^_0x4c8673;function _0x5c3f0a(){const _0x14f8ce=_0x10863c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1132ad(_0x48ab63(_0x4682b7)),_0x5549d9=_0x22bc78(_0x1132ad(window[_0x10863c([0x4d,0x61,0x74,0x68])][_0x10863c([0x63,0x65,0x69,0x6c])](_0xc470a5/_0xd3eed4)));window[_0x10863c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10863c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14f8ce,_0x5549d9);}function _0x5e547e(){const _0x336d54=_0x10863c([0x6c,0x6c,0x63,0x74,0x2d])+_0x1132ad(_0x48ab63(_0x4682b7)),_0xdc891b=window[_0x10863c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10863c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x336d54);return _0xdc891b?window[_0x10863c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22bc78(_0xdc891b),0x10)*_0xd3eed4:null;}function _0x264070(_0x3be5e6){return new window[(_0x10863c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11cece,_0x41e79b)=>{_0x3be5e6[_0x10863c([0x74,0x68,0x65,0x6e])](_0x11cece,_0x41e79b),window[_0x10863c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41e79b,0x5924ade0^_0x4c8673);});}}_0x81618c[_0x10863c([0x6f,0x6e])](_0x10863c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x581514,_0x2eb6df)=>{if(_0x2eb6df[0x0]!=_0x4682b7)return _0x3b94dc(_0x10863c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2eb6df[0x1]={..._0x2eb6df[0x1],[_0x10863c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30c0a9};},{[_0x10863c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10863c([0x68,0x69,0x67,0x68])}),_0x81618c[_0x10863c([0x6f,0x6e])](_0x10863c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32bbdd=>{_0x1c2907(_0x32bbdd[_0x10863c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21088e=!0x0,_0x30d949(_0x32bbdd[_0x10863c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10863c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10863c([0x6c,0x6f,0x77])}),_0x45ffd6[_0x10863c([0x74,0x68,0x65,0x6e])](()=>{_0x21088e||_0x3b94dc(_0x10863c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x386009(){return _0x81618c[_0x10863c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10863c([0x76,0x69,0x65,0x77])][_0x10863c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10863c([0x61,0x75,0x74,0x6f]);}function _0x13e84a(){_0x81618c[_0x10863c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10863c([0x76,0x69,0x65,0x77])][_0x10863c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10863c([0x61,0x75,0x74,0x6f]);}}function _0x158cda(_0x320185){const _0x438db8=[new window[(_0x10863c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cb1b8=>setTimeout(_0x5cb1b8,0x592c47ec^_0x4c8673)),_0x45ffd6[_0x10863c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10863c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5751e1=>{let _0x1fd690=0x0;_0x81618c[_0x10863c([0x6d,0x6f,0x64,0x65,0x6c])][_0x10863c([0x6f,0x6e])](_0x10863c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x21056e,_0x9e888f)=>{_0x9e888f[0x0][_0x10863c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fd690++,_0x1fd690==(0x592578d8^_0x4c8673)&&(_0x5751e1(),_0x21056e[_0x10863c([0x6f,0x66,0x66])]());});}))];return window[_0x10863c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10863c([0x72,0x61,0x63,0x65])](_0x438db8)[_0x10863c([0x74,0x68,0x65,0x6e])](()=>_0x320185);}async function _0x499a18(){await _0x45ffd6,_0x81618c[_0x10863c([0x6d,0x6f,0x64,0x65,0x6c])][_0x10863c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x467353,_0x81618c[_0x10863c([0x6d,0x6f,0x64,0x65,0x6c])][_0x10863c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x467353,_0x81618c[_0x10863c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10863c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x236b85(_0x1154e0){const _0x5ca098=_0xe202b4();_0x81618c[_0x5ca098]=_0x10863c([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])+_0x1154e0,_0x1154e0!=_0x10863c([0x56,0x61,0x6c,0x69,0x64])&&_0x499a18();}function _0xe202b4(){const _0x256359=window[_0x10863c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10863c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10863c([0x6e,0x6f,0x77])]())[_0x10863c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10863c([0x2e]),'');let _0x53df25=_0x10863c([0x73]);for(let _0x7e0891=0x0;_0x7e0891<_0x256359[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7e0891+=0x2){let _0x23aef3=window[_0x10863c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x256359[_0x10863c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7e0891,_0x7e0891+0x2));_0x23aef3>=_0x3bd9ad[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23aef3-=_0x3bd9ad[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53df25+=_0x3bd9ad[_0x23aef3];}return _0x53df25;}function _0x55dfdf(){const _0x45444=_0x4bc30c[_0x10863c([0x73,0x70,0x6c,0x69,0x74])](_0x10863c([0x2e]));if(0x3!=_0x45444[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f2694(_0x45444[0x1]);function _0x2f2694(_0x8740fa){const _0x52e651=_0x4dedaf(_0x8740fa);return _0x52e651&&_0x13602c()?_0x52e651:null;function _0x13602c(){const _0x32513b=_0x52e651[_0x10863c([0x6a,0x74,0x69])],_0x5ddb68=window[_0x10863c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32513b[_0x10863c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32513b[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3dcca3={..._0x52e651,[_0x10863c([0x6a,0x74,0x69])]:_0x32513b[_0x10863c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32513b[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3dcca3[_0x10863c([0x76,0x63])],_0x48ab63(_0x3dcca3)==_0x5ddb68;}}}async function _0x58bf89(){let _0xeaa9c9=!0x0;try{const _0x41c593=_0x4bc30c[_0x10863c([0x73,0x70,0x6c,0x69,0x74])](_0x10863c([0x2e])),[_0x3fcf0a,_0x341c87,_0xed1cd6]=_0x41c593;return _0x40f07f(_0x3fcf0a),await _0x4b7029(_0x3fcf0a,_0x341c87,_0xed1cd6),_0xeaa9c9;}catch(_0x1c6aa9){return!0x1;}function _0x40f07f(_0x3d2f80){const _0x30cb17=_0x4dedaf(_0x3d2f80);_0x30cb17&&_0x30cb17[_0x10863c([0x61,0x6c,0x67])]==_0x10863c([0x45,0x53,0x32,0x35,0x36])||(_0xeaa9c9=!0x1);}async function _0x4b7029(_0x5a236c,_0x2f8a81,_0x206ec1){const _0x2bf384=window[_0x10863c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10863c([0x66,0x72,0x6f,0x6d])](_0x3d708c(_0x206ec1),_0x4f5082=>_0x4f5082[_0x10863c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4981ae=new window[(_0x10863c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10863c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a236c+_0x10863c([0x2e])+_0x2f8a81),_0xa1f4fb=window[_0x10863c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10863c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa1f4fb)return;const _0x5ebf6d=await _0xa1f4fb[_0x10863c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10863c([0x6a,0x77,0x6b]),_0x1fcf7a,{[_0x10863c([0x6e,0x61,0x6d,0x65])]:_0x10863c([0x45,0x43,0x44,0x53,0x41]),[_0x10863c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10863c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10863c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa1f4fb[_0x10863c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10863c([0x6e,0x61,0x6d,0x65])]:_0x10863c([0x45,0x43,0x44,0x53,0x41]),[_0x10863c([0x68,0x61,0x73,0x68])]:{[_0x10863c([0x6e,0x61,0x6d,0x65])]:_0x10863c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5ebf6d,_0x2bf384,_0x4981ae)||(_0xeaa9c9=!0x1);}}function _0x4dedaf(_0x2fb8ba){return _0x2fb8ba[_0x10863c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10863c([0x65,0x79]))?JSON[_0x10863c([0x70,0x61,0x72,0x73,0x65])](_0x3d708c(_0x2fb8ba)):null;}function _0x3d708c(_0x4b280f){return window[_0x10863c([0x61,0x74,0x6f,0x62])](_0x4b280f[_0x10863c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10863c([0x2b]))[_0x10863c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10863c([0x2f])));}function _0x48ab63(_0x20b286){let _0xe72722=0x1505;function _0x44ae75(_0x437271){for(let _0x366d77=0x0;_0x366d77<_0x437271[_0x10863c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x366d77++){const _0x3c483e=_0x437271[_0x10863c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x366d77);_0xe72722=(_0xe72722<<0x5)+_0xe72722+_0x3c483e,_0xe72722&=_0xe72722;}}function _0x4b2dc3(_0x4cfdb6){Array[_0x10863c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4cfdb6)?_0x4cfdb6[_0x10863c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b2dc3):_0x4cfdb6&&typeof _0x4cfdb6==_0x10863c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10863c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4cfdb6)[_0x10863c([0x73,0x6f,0x72,0x74])]()[_0x10863c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3da8b8,_0x1ac66b])=>{_0x44ae75(_0x3da8b8),_0x4b2dc3(_0x1ac66b);}):_0x44ae75(window[_0x10863c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4cfdb6));}return _0x4b2dc3(_0x20b286),_0xe72722>>>0x0;}function _0x1132ad(_0xa62219){return _0xa62219[_0x10863c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10863c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10863c([0x30]));}function _0x22bc78(_0x67cfc2){return _0x67cfc2[_0x10863c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10863c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10863c([0x6a,0x6f,0x69,0x6e])]('');}function _0x467353(){}function _0x10863c(_0xbf6d65){return _0xbf6d65['map'](_0x196a55=>String['fromCharCode'](_0x196a55))['join']('');}_0x236b85(await _0x36a015());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x107130=>{'$graveyard'!==_0x107130['rootName']&&this['editor']['editing']['reconvertItem'](_0x107130);});}['_trackNewToCElements'](){for(const _0x36a08e of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x36a08e['type']||'tableOfContents'!==_0x36a08e['name'])return;this['_tableOfContentsElements']['add'](_0x36a08e['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3bf5c6=this['editor']['conversion'];_0x3bf5c6['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3bf5c6['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x421c2c,{writer:_0x3f438f})=>this['_createTableOfContents'](_0x3f438f,!0x0)}),_0x3bf5c6['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x536cea,{writer:_0x5cfc3a})=>{this['_tableOfContentsElements']['add'](_0x536cea);const _0x409055=this['_createTableOfContents'](_0x5cfc3a);return _0x1acc40(_0x409055,_0x5cfc3a,{'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'](_0x31db0d,_0x5bf03f=!0x1){const {locale:_0x4c5ba9}=this['editor'],_0x220b92=_0x31db0d['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5bf03f&&{'data-table-of-contents-label':b(_0x4c5ba9,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5bf03f&&_0x31db0d['insert'](_0x31db0d['createPositionAt'](_0x220b92,'end'),_0x31db0d['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x31db0d['createText'](b(_0x4c5ba9,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x3e8290=_0x5bf03f?'':'['+b(_0x4c5ba9,'Empty\x20heading')+']';let _0x543ddb=_0x220b92;return this['_currentOutlineDefinitions']['forEach']((_0x1ed91c,_0x72d6aa,_0x3a18cb)=>{const _0x2aca58=this['editor']['model']['hasContent'](_0x1ed91c['modelElement'],{'ignoreWhitespaces':!0x0}),_0x5c5fd4=_0x2aca58?_0x1ed91c['text']:_0x3e8290,_0x2470cb=_0x1ed91c['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1e2e12=_0x31db0d['createContainerElement']('a',{'href':'#'+_0x2470cb,...!_0x5bf03f&&{'tabindex':'-1'}},[_0x31db0d['createText'](_0x5c5fd4)]),_0x5bcaca=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x31db0d['setCustomProperty']('tableOfContentsHeadingIndex',_0x72d6aa,_0x1e2e12);const _0x240002=_0x31db0d['createContainerElement']('li',null,[_0x2aca58||!_0x5bf03f&&_0x5bcaca?_0x1e2e12:_0x31db0d['createText']('')]),_0x34b0ce=_0x72d6aa?_0x3a18cb[_0x72d6aa-0x1]['level']:0x0,_0x2d3b81=Math['abs'](_0x1ed91c['level']-_0x34b0ce);if(_0x1ed91c['level']>_0x34b0ce){const _0x4780e0=p(_0x240002,_0x2d3b81,_0x31db0d);_0x31db0d['insert'](_0x31db0d['createPositionAt'](_0x543ddb,'end'),_0x4780e0);}else{const _0x38d4ce=function(_0x4b2b36,_0x38b821){return _0x4b2b36['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x5c9c12=>_0x5c9c12['is']('element','ol'))[_0x38b821];}(_0x543ddb,_0x2d3b81);_0x31db0d['insert'](_0x31db0d['createPositionAt'](_0x38d4ce,'end'),_0x240002);}_0x543ddb=_0x240002;}),_0x220b92;}['_handleScrollToHeading'](_0x3b52c2){const _0x446e9d=this['_currentOutlineDefinitions'][_0x3b52c2]['modelElement'];this['editor']['model']['change'](_0x9eda11=>{_0x9eda11['setSelection'](_0x446e9d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x213886,_0x2ba305)=>{const _0x44e50a=_0x2ba305['mapper'],_0x2196bb=_0x44e50a['findMappedViewAncestor'](_0x2ba305['viewPosition']),_0x26d9c5=_0x44e50a['toModelElement'](_0x2196bb);_0x26d9c5['is']('element','tableOfContents')&&(_0x2ba305['modelPosition']=this['editor']['model']['createPositionAt'](_0x26d9c5,0x0),_0x213886['stop']());};}}function p(_0x4bd5dd,_0xa7d976,_0x295920){return 0x1===_0xa7d976?_0x295920['createContainerElement']('ol',null,[_0x4bd5dd]):_0x295920['createContainerElement']('ol',null,[_0x295920['createContainerElement']('li',null,[p(_0x4bd5dd,_0xa7d976-0x1,_0x295920)])]);}class o extends _0x44187b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x585b81=this['editor'];_0x585b81['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x1b9095=this['_createButton'](_0x715640);return _0x1b9095['tooltip']=!0x0,_0x1b9095;}),_0x585b81['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x51a98a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x273d93=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13c3ac;for(const _0x4d9c06 in _0x273d93){const _0x258daf=_0x4d9c06,_0x43d04e=_0x273d93[_0x258daf];if('tableOfContentsLicenseKeyValid'==_0x43d04e||'tableOfContentsLicenseKeyInvalid'==_0x43d04e||'tableOfContentsLicenseKeyExpired'==_0x43d04e||'tableOfContentsLicenseKeyDomainLimit'==_0x43d04e||'tableOfContentsLicenseKeyNotAllowed'==_0x43d04e||'tableOfContentsLicenseKeyEvaluationLimit'==_0x43d04e||'tableOfContentsLicenseKeyTrialLimit'==_0x43d04e||'tableOfContentsLicenseKeyUsageLimit'==_0x43d04e){delete _0x273d93[_0x258daf],_0x13c3ac=_0x43d04e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x13c3ac&&_0x273d93['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x13c3ac&&_0x273d93['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x13c3ac&&_0x273d93['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x13c3ac&&_0x273d93['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x13c3ac&&_0x273d93['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x13c3ac&&_0x273d93['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x13c3ac&&_0x273d93['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x30c5eb){const _0x50d631=this['editor'],_0x1b81d4=_0x50d631['locale'],_0x3f0df4=_0x50d631['commands']['get']('insertTableOfContents'),_0x40dcd7=new _0x30c5eb(_0x1b81d4);return _0x40dcd7['set']({'label':b(_0x1b81d4,'Table\x20of\x20contents'),'icon':_0x3b5415['tableOfContents']}),_0x40dcd7['bind']('isEnabled')['to'](_0x3f0df4,'isEnabled'),this['listenTo'](_0x40dcd7,'execute',()=>{_0x50d631['execute']('insertTableOfContents'),_0x50d631['editing']['view']['focus']();}),_0x40dcd7;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x44187b{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};
|
|
23
|
+
import{Plugin as _0x57174b,Command as _0x571447}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x270580,throttle as _0x2c7de9}from'lodash-es';import{Text as _0x17c05b,TreeWalker as _0x2a90e3}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x94b8df,diffToChanges as _0x1a5a6b,scrollAncestorsToShowTarget as _0x4bb8da,CKEditorError as _0x220d54,global as _0x449000,Rect as _0x34c08f,uid as _0x5cef5e,priorities as _0x24d92f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1d8ce9,ButtonView as _0x425a10,MenuBarMenuListItemButtonView as _0x1df9a1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x135ac1,toWidget as _0x3c2a4f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x49fbcc}from'ckeditor5-collaboration/dist/index.js';function p(_0x59566e){let _0x3b4ed6='';for(const _0x59a0ab of _0x59566e['getChildren']())_0x59a0ab instanceof _0x17c05b&&(_0x3b4ed6+=_0x59a0ab['data']);return _0x3b4ed6;}class i extends _0x57174b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x2fb417=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0xd9a841=[];_0x2fb417['model']['document']['on']('change',_0x270580(()=>{const _0x176ec0=_0xd9a841;_0xd9a841=this['_getOutlineDefinitions']();const _0x1d3158=_0x94b8df(_0x176ec0,_0xd9a841,(_0x5c4548,_0x4fb114)=>_0x5c4548['level']===_0x4fb114['level']&&_0x5c4548['text']===_0x4fb114['text']&&_0x5c4548['modelElement']===_0x4fb114['modelElement']),_0x4d7c40=_0x1a5a6b(_0x1d3158,_0xd9a841),_0x439b73=this['_getActiveHeading'](),_0x57d876=_0xd9a841['findIndex'](_0x180108=>_0x180108['modelElement']===_0x439b73);_0x4d7c40['length']&&this['fire']('change',{'outlineDefinitions':_0xd9a841,'activeItemIndex':_0x57d876,'outlineChanges':_0x4d7c40}),this['fire']('activeItemIndex',{'index':_0x57d876});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x19f268=this['editor'],_0x365399=[],_0x2f2888=this['_headingNames'];for(const _0x107fc5 of _0x19f268['model']['document']['getRootNames']())_0x1b2eac(_0x19f268['model']['document']['getRoot'](_0x107fc5));function _0x1b2eac(_0x3f744c){for(const _0x295634 of _0x3f744c['getChildren']())_0x295634['is']('element')&&(_0x2f2888['includes'](_0x295634['name'])&&_0x365399['push']({'level':_0x2f2888['indexOf'](_0x295634['name'])+0x1,'text':p(_0x295634),'modelElement':_0x295634}),_0x1b2eac(_0x295634));}return _0x365399;}['_getActiveHeading'](){const _0x4b975b=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x4604f2=new _0x2a90e3({'direction':'backward','startPosition':_0x4b975b});for(const _0x8284c9 of _0x4604f2)if(_0x8284c9['item']['is']('element')&&this['_headingNames']['includes'](_0x8284c9['item']['name']))return _0x8284c9['item'];}['_getHeadingNames'](){const _0x5ed07d=this['editor']['config']['get']('documentOutline.headings');return _0x5ed07d||function(_0x396858){const _0x22932a=_0x396858['config']['get']('heading.options');return _0x22932a?_0x22932a['reduce']((_0x11b839,_0x53c4b3)=>('paragraph'!==_0x53c4b3['model']&&_0x11b839['push'](_0x53c4b3['model']),_0x11b839),[]):_0x396858['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x7feb99=this['editor'],_0x5ec79a=['h1','h2','h3','h4','h5','h6'],_0x161413=[];for(const _0xe136f of _0x5ec79a){const _0x257d4e=_0x7feb99['editing']['view']['domConverter']['domToView'](document['createElement'](_0xe136f)),_0x532353=_0x7feb99['data']['toModel'](_0x257d4e)['getChild'](0x0);_0x532353?.['is']('element')&&_0x161413['push'](_0x532353['name']);}this['_headingNames']=_0x161413;}}function N(_0x13e0ef,_0x5c5da8){const t=_0x13e0ef['t'];switch(_0x5c5da8){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 _0x5c5da8;}}class A extends _0x1d8ce9{constructor(_0x232f2d,_0x1bfcab=!0x1){super(_0x232f2d);const _0x3d48d0=this['bindTemplate'],_0x4522db=_0x1bfcab?'['+N(_0x232f2d,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1ae274=>!_0x1ae274),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3d48d0['to']('level',_0x4c3f97=>'ck-document-outline__item_level-'+_0x4c3f97),_0x3d48d0['if']('isActive','ck-document-outline__item_active'),_0x3d48d0['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3d48d0['to']('text')},'children':[{'text':_0x3d48d0['to']('text',_0x40a83d=>_0x40a83d||_0x4522db)}],'on':{'click':_0x3d48d0['to']('click')}});}}class l extends _0x1d8ce9{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x27e889,_0x3be31b=!0x1,_0xfb48b){super(_0x27e889),this['showEmptyHeadingText']=_0x3be31b,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0xfb48b,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1b9216,_0x494fae,_0x3f628f,_0x469ef0)=>{this['_setActiveItem'](_0x469ef0,_0x3f628f);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x27e889['contentLanguageDirection'],'data-document-outline-empty-placeholder':N(_0x27e889,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5911c9){_0x5911c9['forEach'](_0x3c8e90=>{'insert'==_0x3c8e90['type']?this['_insertItem'](_0x3c8e90['index'],..._0x3c8e90['values']):'delete'==_0x3c8e90['type']&&this['_deleteItem'](_0x3c8e90['index'],_0x3c8e90['howMany']);});}['_setActiveItem'](_0x539cc1,_0x4e2bef){if(-0x1!==_0x539cc1){const _0x2b1d92=this['items']['get'](_0x539cc1);_0x2b1d92&&(_0x2b1d92['isActive']=!0x1);}-0x1!==_0x4e2bef&&(this['items']['get'](_0x4e2bef)['isActive']=!0x0,this['_scrollToItem'](_0x4e2bef));}['_insertItem'](_0x199f06,..._0x10cac6){const _0x3a6c4c=_0x10cac6['map']((_0x13c2f6,_0x53e339)=>{const _0x168b86=new A(this['locale'],this['showEmptyHeadingText']);return _0x168b86['text']=_0x13c2f6['text'],_0x168b86['level']=_0x13c2f6['level'],_0x199f06+_0x53e339===this['activeItemIndex']&&(_0x168b86['isActive']=!0x0),_0x168b86;});this['items']['addMany'](_0x3a6c4c,_0x199f06);}['_deleteItem'](_0x3d4e50,_0x501d90){do{this['items']['remove'](_0x3d4e50);}while(--_0x501d90);}['_handleItemClick'](_0x2efbc1){const _0x4ffb09=this['items']['getIndex'](_0x2efbc1['source']);this['fire']('itemSelected',_0x4ffb09);}['_scrollToItem'](_0x3f3825){_0x4bb8da(this['items']['get'](_0x3f3825)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x57174b{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54e69f){super(_0x54e69f),this['view']=new l(_0x54e69f['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x2c7de9(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x4e30f9=this['editor'],_0x55629c=_0x4e30f9['plugins']['get']('DocumentOutlineUtils');let _0x53fa02=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x4e30f9['config']['get']('documentOutline.container'))throw new _0x220d54('document-outline-container-not-provided',{'editor':_0x4e30f9});_0x4e30f9['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x55629c['on']('change',this['_handleOutlineChange']['bind'](this)),_0x55629c['on']('activeItemIndex',(_0x539f7e,{index:_0x49acb1})=>this['_setActiveViewItem'](_0x49acb1)),this['view']['on']('itemSelected',(_0x67a087,_0x4e9d0f)=>{_0x53fa02=!0x0,this['_handleItemSelected'](_0x4e9d0f);}),this['view']['listenTo'](_0x449000['document'],'scroll',()=>{_0x53fa02?_0x53fa02=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x449000['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x35f1f3){const _0x3b6317=_0xfb4761([0x61,0x49,0x57,0x6f,0x42,0x53,0x64,0x4c,0x4b,0x5a,0x74,0x51,0x54,0x39,0x79,0x36,0x66,0x37,0x34,0x41,0x67,0x77,0x4d,0x4a,0x62,0x6b,0x73,0x50,0x35,0x44,0x55,0x78,0x59,0x68,0x33,0x6c,0x71,0x32,0x69,0x6e,0x46,0x48,0x38,0x47,0x70,0x72,0x56,0x4e,0x65,0x63,0x43,0x7a,0x75,0x6d,0x4f,0x45,0x6a,0x76,0x58,0x30,0x52,0x31]),_0x5ace5d=0x217c220f,_0x534f71=0x217b4327^_0x5ace5d,_0x20996c=window[_0xfb4761([0x44,0x61,0x74,0x65])][_0xfb4761([0x6e,0x6f,0x77])](),_0x34fc2e=_0x35f1f3[_0xfb4761([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xed408f=new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c107d=>{_0x34fc2e[_0xfb4761([0x6f,0x6e,0x63,0x65])](_0xfb4761([0x72,0x65,0x61,0x64,0x79]),_0x4c107d);}),_0x47298c={[_0xfb4761([0x6b,0x74,0x79])]:_0xfb4761([0x45,0x43]),[_0xfb4761([0x75,0x73,0x65])]:_0xfb4761([0x73,0x69,0x67]),[_0xfb4761([0x63,0x72,0x76])]:_0xfb4761([0x50,0x2d,0x32,0x35,0x36]),[_0xfb4761([0x78])]:_0xfb4761([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]),[_0xfb4761([0x79])]:_0xfb4761([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]),[_0xfb4761([0x61,0x6c,0x67])]:_0xfb4761([0x45,0x53,0x32,0x35,0x36])},_0x4722f8=_0x34fc2e[_0xfb4761([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfb4761([0x67,0x65,0x74])](_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5de175(){let _0x379da8,_0x4f5949=null,_0x4c0b0b=null;try{if(_0x4722f8==_0xfb4761([0x47,0x50,0x4c]))return _0xfb4761([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x379da8=_0x32f88c(),!_0x379da8)return _0xfb4761([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x379da8[_0xfb4761([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c0b0b=_0x15d268(_0x379da8[_0xfb4761([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x379da8[_0xfb4761([0x6a,0x74,0x69])])),await _0x39c196()?_0x15b470()?_0x2809d7()?_0xfb4761([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f14d4()?(_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfb4761([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f5949=_0x1b3c14(_0xfb4761([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfb4761([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f5949=_0x1b3c14(_0xfb4761([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ecb5b()):_0xfb4761([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfb4761([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfb4761([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b3340){return _0xfb4761([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2809d7(){const _0x10fd2c=[_0xfb4761([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfb4761([0x74,0x72,0x69,0x61,0x6c])][_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20996c/0x3e8:0xe10*_0x534f71;return _0x379da8[_0xfb4761([0x65,0x78,0x70])]<_0x10fd2c;}function _0x15b470(){const _0x309b0f=_0x379da8[_0xfb4761([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x309b0f&&(!!_0x309b0f[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x2a]))||(!!_0x309b0f[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x44,0x4f]))||!!_0x309b0f[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x50,0x50]))));}function _0x1f14d4(){const _0x5c7a9b=_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c7a9b||0x0==_0x5c7a9b[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x299b0f}=new URL(window[_0xfb4761([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c7a9b[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x299b0f))return!0x0;const _0x3d4be0=_0x299b0f[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e]));return _0x5c7a9b[_0xfb4761([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c596e=>_0x2c596e[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x2a])))[_0xfb4761([0x6d,0x61,0x70])](_0x585e17=>_0x585e17[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e])))[_0xfb4761([0x73,0x6f,0x6d,0x65])](_0x108bec=>_0x3d4be0[_0xfb4761([0x65,0x76,0x65,0x72,0x79])]((_0x362970,_0x11e517)=>_0x108bec[_0x11e517]===_0x362970||_0x108bec[_0x11e517]===_0xfb4761([0x2a])));}function _0x3ecb5b(){return _0x4f5949&&_0x4c0b0b?new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17b10d,_0x540d88)=>{_0x4f5949[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x17b10d,_0x540d88),_0x4c0b0b[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x498f91=>{_0x498f91!=_0xfb4761([0x56,0x61,0x6c,0x69,0x64])&&_0x17b10d(_0x498f91);},_0x540d88);}):_0x4f5949||_0x4c0b0b||_0xfb4761([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15d268(_0x495a0a,_0x49baf4){return new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f0cbc=>{if(_0x38287c())return _0x3f0cbc(_0xfb4761([0x56,0x61,0x6c,0x69,0x64]));_0x9b32d8(),_0x34fc2e[_0xfb4761([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfb4761([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2544b2=!0x1;const _0x5a08ab=_0x5cef5e();function _0x5d2816(_0x8cd0ea){return!!_0x8cd0ea&&(typeof _0x8cd0ea===_0xfb4761([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8cd0ea===_0xfb4761([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8cd0ea[_0xfb4761([0x74,0x68,0x65,0x6e])]===_0xfb4761([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8cd0ea[_0xfb4761([0x63,0x61,0x74,0x63,0x68])]===_0xfb4761([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b5518(_0x1ada81){_0x42e57a(_0x1ada81)[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x5de5af=>{if(!_0x5de5af||_0x5de5af[_0xfb4761([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfb4761([0x6f,0x6b]))return _0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40e166(_0x4fc91c(_0x5a08ab+_0x49baf4))!=_0x5de5af[_0xfb4761([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfb4761([0x56,0x61,0x6c,0x69,0x64]);})[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x2f7d11=>(_0x3b3a46(),_0x2f7d11),()=>{const _0x2bb4fe=_0x206804();return null==_0x2bb4fe?(_0x3b3a46(),_0xfb4761([0x56,0x61,0x6c,0x69,0x64])):_0xfb4761(_0x20996c-_0x2bb4fe>(0x570a60f^_0x5ace5d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x3f0cbc)[_0xfb4761([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f0cbc(_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1cf4ba=0x214acc8f^_0x5ace5d;function _0x3b3a46(){const _0x5699eb=_0xfb4761([0x6c,0x6c,0x63,0x74,0x2d])+_0x40e166(_0x4fc91c(_0x495a0a)),_0x4cfbfb=_0x1034b3(_0x40e166(window[_0xfb4761([0x4d,0x61,0x74,0x68])][_0xfb4761([0x63,0x65,0x69,0x6c])](_0x20996c/_0x1cf4ba)));window[_0xfb4761([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfb4761([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5699eb,_0x4cfbfb);}function _0x206804(){const _0x54bc3e=_0xfb4761([0x6c,0x6c,0x63,0x74,0x2d])+_0x40e166(_0x4fc91c(_0x495a0a)),_0x160793=window[_0xfb4761([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfb4761([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54bc3e);return _0x160793?window[_0xfb4761([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1034b3(_0x160793),0x10)*_0x1cf4ba:null;}function _0x42e57a(_0x565d41){return new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26630b,_0x1e4f06)=>{_0x565d41[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x26630b,_0x1e4f06),window[_0xfb4761([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e4f06,0x217df6cf^_0x5ace5d);});}}_0x34fc2e[_0xfb4761([0x6f,0x6e])](_0xfb4761([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ec751,_0x164c7b)=>{if(_0x164c7b[0x0]!=_0x495a0a)return _0x3f0cbc(_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x164c7b[0x1]={..._0x164c7b[0x1],[_0xfb4761([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a08ab};},{[_0xfb4761([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfb4761([0x68,0x69,0x67,0x68])}),_0x34fc2e[_0xfb4761([0x6f,0x6e])](_0xfb4761([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x117bf4=>{_0x5d2816(_0x117bf4[_0xfb4761([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2544b2=!0x0,_0x4b5518(_0x117bf4[_0xfb4761([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfb4761([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfb4761([0x6c,0x6f,0x77])}),_0xed408f[_0xfb4761([0x74,0x68,0x65,0x6e])](()=>{_0x2544b2||_0x3f0cbc(_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38287c(){return _0x34fc2e[_0xfb4761([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfb4761([0x76,0x69,0x65,0x77])][_0xfb4761([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfb4761([0x61,0x75,0x74,0x6f]);}function _0x9b32d8(){_0x34fc2e[_0xfb4761([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfb4761([0x76,0x69,0x65,0x77])][_0xfb4761([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfb4761([0x61,0x75,0x74,0x6f]);}}function _0x1b3c14(_0x27f2cc){const _0x59c3f9=[new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c94c=>setTimeout(_0x10c94c,0x21751cc3^_0x5ace5d)),_0xed408f[_0xfb4761([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af1c1=>{let _0x1fec8b=0x0;_0x34fc2e[_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c])][_0xfb4761([0x6f,0x6e])](_0xfb4761([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x497482,_0x288025)=>{_0x288025[0x0][_0xfb4761([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fec8b++,_0x1fec8b==(0x217c23f7^_0x5ace5d)&&(_0x1af1c1(),_0x497482[_0xfb4761([0x6f,0x66,0x66])]());});}))];return window[_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfb4761([0x72,0x61,0x63,0x65])](_0x59c3f9)[_0xfb4761([0x74,0x68,0x65,0x6e])](()=>_0x27f2cc);}async function _0xdba44(){await _0xed408f,_0x34fc2e[_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c])][_0xfb4761([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c7d11,_0x34fc2e[_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c])][_0xfb4761([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c7d11,_0x34fc2e[_0xfb4761([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f5d52(_0x221967){const _0x6e3cab=_0x16a4db();_0x34fc2e[_0x6e3cab]=_0xfb4761([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])+_0x221967,_0x221967!=_0xfb4761([0x56,0x61,0x6c,0x69,0x64])&&_0xdba44();}function _0x16a4db(){const _0x3c6ccb=window[_0xfb4761([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfb4761([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfb4761([0x6e,0x6f,0x77])]())[_0xfb4761([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfb4761([0x2e]),'');let _0x48f969=_0xfb4761([0x61]);for(let _0x12d219=0x0;_0x12d219<_0x3c6ccb[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12d219+=0x2){let _0x391f24=window[_0xfb4761([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6ccb[_0xfb4761([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12d219,_0x12d219+0x2));_0x391f24>=_0x3b6317[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x391f24-=_0x3b6317[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48f969+=_0x3b6317[_0x391f24];}return _0x48f969;}function _0x32f88c(){const _0x59ffe1=_0x4722f8[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e]));if(0x3!=_0x59ffe1[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44ce6f(_0x59ffe1[0x1]);function _0x44ce6f(_0x1fa2e1){const _0x3cda00=_0xee9dc6(_0x1fa2e1);return _0x3cda00&&_0x3dd424()?_0x3cda00:null;function _0x3dd424(){const _0x56b765=_0x3cda00[_0xfb4761([0x6a,0x74,0x69])],_0x2b2f90=window[_0xfb4761([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56b765[_0xfb4761([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56b765[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x198a3c={..._0x3cda00,[_0xfb4761([0x6a,0x74,0x69])]:_0x56b765[_0xfb4761([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56b765[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x198a3c[_0xfb4761([0x76,0x63])],_0x4fc91c(_0x198a3c)==_0x2b2f90;}}}async function _0x39c196(){let _0x4f865e=!0x0;try{const _0x2f89e5=_0x4722f8[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e])),[_0x7979fd,_0x1be8ac,_0x422001]=_0x2f89e5;return _0x6352a4(_0x7979fd),await _0x59874e(_0x7979fd,_0x1be8ac,_0x422001),_0x4f865e;}catch(_0x57202f){return!0x1;}function _0x6352a4(_0x380d8b){const _0x483837=_0xee9dc6(_0x380d8b);_0x483837&&_0x483837[_0xfb4761([0x61,0x6c,0x67])]==_0xfb4761([0x45,0x53,0x32,0x35,0x36])||(_0x4f865e=!0x1);}async function _0x59874e(_0x2ae7f8,_0x36d589,_0x142817){const _0x47f86b=window[_0xfb4761([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfb4761([0x66,0x72,0x6f,0x6d])](_0x304bb6(_0x142817),_0x5b9850=>_0x5b9850[_0xfb4761([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fc22d=new window[(_0xfb4761([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfb4761([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ae7f8+_0xfb4761([0x2e])+_0x36d589),_0x416de7=window[_0xfb4761([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfb4761([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x416de7)return;const _0x213736=await _0x416de7[_0xfb4761([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfb4761([0x6a,0x77,0x6b]),_0x47298c,{[_0xfb4761([0x6e,0x61,0x6d,0x65])]:_0xfb4761([0x45,0x43,0x44,0x53,0x41]),[_0xfb4761([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfb4761([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfb4761([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x416de7[_0xfb4761([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfb4761([0x6e,0x61,0x6d,0x65])]:_0xfb4761([0x45,0x43,0x44,0x53,0x41]),[_0xfb4761([0x68,0x61,0x73,0x68])]:{[_0xfb4761([0x6e,0x61,0x6d,0x65])]:_0xfb4761([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x213736,_0x47f86b,_0x4fc22d)||(_0x4f865e=!0x1);}}function _0xee9dc6(_0x229f1c){return _0x229f1c[_0xfb4761([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfb4761([0x65,0x79]))?JSON[_0xfb4761([0x70,0x61,0x72,0x73,0x65])](_0x304bb6(_0x229f1c)):null;}function _0x304bb6(_0x5cea8c){return window[_0xfb4761([0x61,0x74,0x6f,0x62])](_0x5cea8c[_0xfb4761([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfb4761([0x2b]))[_0xfb4761([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfb4761([0x2f])));}function _0x4fc91c(_0x40699a){let _0x230b75=0x1505;function _0x4d4bfa(_0x6312e1){for(let _0x63d92e=0x0;_0x63d92e<_0x6312e1[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x63d92e++){const _0x483b16=_0x6312e1[_0xfb4761([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x63d92e);_0x230b75=(_0x230b75<<0x5)+_0x230b75+_0x483b16,_0x230b75&=_0x230b75;}}function _0x10ea3e(_0x2b7f1b){Array[_0xfb4761([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b7f1b)?_0x2b7f1b[_0xfb4761([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10ea3e):_0x2b7f1b&&typeof _0x2b7f1b==_0xfb4761([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfb4761([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b7f1b)[_0xfb4761([0x73,0x6f,0x72,0x74])]()[_0xfb4761([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49d50e,_0x526131])=>{_0x4d4bfa(_0x49d50e),_0x10ea3e(_0x526131);}):_0x4d4bfa(window[_0xfb4761([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b7f1b));}return _0x10ea3e(_0x40699a),_0x230b75>>>0x0;}function _0x40e166(_0x48931b){return _0x48931b[_0xfb4761([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfb4761([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfb4761([0x30]));}function _0x1034b3(_0x2adca6){return _0x2adca6[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfb4761([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfb4761([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c7d11(){}function _0xfb4761(_0x243f5c){return _0x243f5c['map'](_0x39c9d6=>String['fromCharCode'](_0x39c9d6))['join']('');}_0x2f5d52(await _0x5de175());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x47e5a4,{outlineDefinitions:_0x154f3b,outlineChanges:_0x1e1ae4}){this['_currentOutlineDefinitions']=_0x154f3b,this['view']['sync'](_0x1e1ae4);}['_setActiveViewItem'](_0x2d634d){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x2d634d]&&(this['view']['activeItemIndex']=_0x2d634d);}['_handleItemSelected'](_0x458817){const _0x2e01bb=this['_currentOutlineDefinitions'][_0x458817]['modelElement'];this['editor']['model']['change'](_0x3d89e0=>{_0x3d89e0['setSelection'](_0x2e01bb,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x458817);}['_updateActiveDefinitionOnViewportChange'](){const _0x3a9fc4=this['editor'];let _0x13d71f;for(const _0x2c05c5 of _0x3a9fc4['model']['document']['getRootNames']()){const _0x5655a9=_0x3a9fc4['editing']['view']['getDomRoot'](_0x2c05c5),_0x494fe7=_0x5655a9&&new _0x34c08f(_0x5655a9)['getVisible']();if(_0x494fe7){const _0x262bb9=new _0x34c08f(_0x449000['window'])['getIntersection'](_0x494fe7);_0x262bb9&&(_0x13d71f=_0x262bb9['top']+0.25*_0x262bb9['height']);}}if(void 0x0===_0x13d71f)return;const _0x53a41f=d(_0x3a9fc4['editing'],this['_currentOutlineDefinitions'],_0x13d71f);_0x53a41f?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x53a41f)):this['_setActiveViewItem'](-0x1);}}function d(_0x56ef4f,_0x4afe0,_0x79df22,_0x21bf48=0x0,_0x28efc1=_0x4afe0['length']-0x1){const _0x3335c1=Math['floor'](_0x21bf48+(_0x28efc1-_0x21bf48)/0x2);if(_0x28efc1>=_0x21bf48){const _0x57a2df=_0x4afe0[_0x3335c1],_0x351379=_0x56ef4f['mapper']['toViewElement'](_0x57a2df['modelElement']);if(!_0x351379)return null;const _0x39c245=_0x56ef4f['view']['domConverter']['mapViewToDom'](_0x351379);return new _0x34c08f(_0x39c245)['bottom']>_0x79df22?d(_0x56ef4f,_0x4afe0,_0x79df22,_0x21bf48,_0x3335c1-0x1):d(_0x56ef4f,_0x4afe0,_0x79df22,_0x3335c1+0x1,_0x28efc1);}return _0x3335c1<0x0?null:_0x4afe0[_0x3335c1];}class u extends _0x57174b{['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 _0x2ea890=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f5085;for(const _0xe69d37 in _0x2ea890){const _0xf32a90=_0xe69d37,_0xbf5701=_0x2ea890[_0xf32a90];if('documentOutlineLicenseKeyValid'==_0xbf5701||'documentOutlineLicenseKeyInvalid'==_0xbf5701||'documentOutlineLicenseKeyExpired'==_0xbf5701||'documentOutlineLicenseKeyDomainLimit'==_0xbf5701||'documentOutlineLicenseKeyNotAllowed'==_0xbf5701||'documentOutlineLicenseKeyEvaluationLimit'==_0xbf5701||'documentOutlineLicenseKeyTrialLimit'==_0xbf5701||'documentOutlineLicenseKeyUsageLimit'==_0xbf5701){delete _0x2ea890[_0xf32a90],_0x5f5085=_0xbf5701,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x5f5085&&_0x2ea890['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x5f5085&&_0x2ea890['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x5f5085&&_0x2ea890['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x571447{['execute'](){this['editor']['model']['change'](_0x3cc243=>{this['editor']['model']['insertObject'](_0x3cc243['createElement']('tableOfContents'));});}['refresh'](){const _0xdd5f5c=this['editor']['model'],_0x26cdf2=_0xdd5f5c['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x26cdf2&&_0xdd5f5c['schema']['findAllowedParent'](_0x26cdf2,'tableOfContents'));}}class y extends _0x57174b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xc481c1=this['editor'];if(_0xc481c1['config']['get']('headingId.modelAttributeName'))return;(function(_0x979936){const _0x52a9da=new Map();if(_0x979936)return _0x979936['forEach'](_0x13073d=>{'paragraph'!==_0x13073d['model']&&_0x52a9da['set'](_0x13073d['view'],_0x13073d['model']);}),_0x52a9da['get']('h1')||_0x52a9da['set']('h1','heading1'),_0x52a9da;return _0x52a9da;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x38757b,_0x151ab9)=>{this['_customUpcastHeadingsConversion'](_0x151ab9),this['_customDataDowncastHeadingsConversion'](_0x38757b),_0xc481c1['model']['schema']['isRegistered'](_0x38757b)&&_0xc481c1['model']['schema']['extend'](_0x38757b,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x39ac3d){this['editor']['conversion']['for']('upcast')['add'](_0x18648a=>_0x18648a['on']('element:'+_0x39ac3d,(_0x52ebde,_0x52b734,_0x2b084f)=>{const {consumable:_0x22ad2f,writer:_0x3b6316}=_0x2b084f,_0x47a812=_0x52b734['viewItem']['getAttribute']('id'),_0xa8c407=_0x52b734['modelRange']['getContainedElement']();if(_0xa8c407)return _0x47a812&&_0x47a812['length']||_0xa8c407['hasAttribute']('headingId')?void(_0x22ad2f['consume'](_0x52b734['viewItem'],{'attributes':['id']})&&_0x3b6316['setAttribute']('headingId',_0x47a812,_0xa8c407)):(_0x22ad2f['consume'](_0x52b734['viewItem'],{'attributes':['id']}),void _0x3b6316['setAttribute']('headingId',_0x5cef5e(),_0xa8c407));},{'priority':_0x24d92f['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x504bf2){this['editor']['conversion']['for']('downcast')['add'](_0xe8a0df=>_0xe8a0df['on']('attribute:headingId:'+_0x504bf2,(_0x519506,_0x2fd800,_0x32a625)=>{if(!_0x32a625['consumable']['consume'](_0x2fd800['item'],_0x519506['name']))return;const _0x539fb2=_0x2fd800['item']['getAttribute']('headingId'),_0x5ed10f=_0x32a625['mapper']['toViewElement'](_0x2fd800['item']);_0x32a625['writer']['setAttribute']('id',_0x539fb2,_0x5ed10f);}));}['_registerHeadingIdAttributePostfixer'](){const _0x29e56f=this['editor'],_0x23dc92=new Set(),_0x48a72f=new Set();function _0x5b2c63(_0x544b84,_0x4d16a0){const _0x570103=_0x5cef5e();return _0x48a72f['add'](_0x570103),_0x544b84['setAttribute']('headingId',_0x570103,_0x4d16a0),_0x570103;}function _0x20b19a(_0x8864b5,_0x268e7a){_0x8864b5['removeAttribute']('headingId',_0x268e7a);}_0x29e56f['model']['document']['registerPostFixer'](_0x3be4cd=>{const _0x4d8cb7=_0x29e56f['model']['document']['differ']['getChanges']();let _0x374793=!0x1;for(const _0x4678f5 of _0x4d8cb7)if('insert'==_0x4678f5['type']&&_0x4678f5['name']){if(_0x4678f5['name']['match'](/heading\d/)){const _0x41b4b2=_0x4678f5['attributes']['get']('headingId');'string'==typeof _0x41b4b2?_0x23dc92['has'](_0x41b4b2)?(_0x5b2c63(_0x3be4cd,_0x4678f5['position']['nodeAfter']),_0x374793=!0x0):_0x48a72f['add'](_0x41b4b2):(_0x5b2c63(_0x3be4cd,_0x4678f5['position']['nodeAfter']),_0x374793=!0x0);}else'string'==typeof _0x4678f5['attributes']['get']('headingId')&&(_0x20b19a(_0x3be4cd,_0x4678f5['position']['nodeAfter']),_0x374793=!0x0);}else{if('remove'==_0x4678f5['type']){const _0x551920=_0x4678f5['attributes']['get']('headingId');'string'==typeof _0x551920&&_0x23dc92['delete'](_0x551920);}}return _0x374793;}),_0x29e56f['model']['document']['on']('change',()=>{_0x48a72f['forEach'](_0x2833fe=>_0x23dc92['add'](_0x2833fe)),_0x48a72f['clear']();});}}class s extends _0x57174b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x135ac1,i,y];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5441a2){super(_0x5441a2),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x54c81f=this['editor'],_0x39804f=_0x54c81f['editing']['view']['document'];_0x54c81f['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x54c81f['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x39804f,'click',(_0x4f6cd9,_0x4dae00)=>{if(!_0x4dae00['target'])return;const _0x574fc3=_0x4dae00['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x574fc3)&&(_0x4dae00['domEvent']['preventDefault'](),_0x4f6cd9['stop'](),this['_handleScrollToHeading'](_0x574fc3));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x54c81f['commands']['add']('insertTableOfContents',new O(_0x54c81f)),(_0x54c81f['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x1befbe,_0x228726)=>{this['_currentOutlineDefinitions']=_0x228726['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x54c81f['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x1999ef){const _0x3f5406=_0x4fa009([0x6f,0x46,0x32,0x48,0x70,0x59,0x6c,0x54,0x65,0x56,0x7a,0x35,0x61,0x30,0x72,0x31,0x62,0x37,0x6b,0x71,0x68,0x75,0x38,0x41,0x66,0x57,0x4d,0x6a,0x64,0x44,0x6e,0x4c,0x79,0x78,0x63,0x55,0x4f,0x58,0x76,0x73,0x51,0x6d,0x5a,0x42,0x49,0x45,0x53,0x36,0x77,0x43,0x74,0x4b,0x50,0x52,0x4a,0x34,0x47,0x39,0x67,0x4e,0x33,0x69]),_0x4a5ac5=0xb555364,_0x5e6310=0xb52324c^_0x4a5ac5,_0x1a94d3=window[_0x4fa009([0x44,0x61,0x74,0x65])][_0x4fa009([0x6e,0x6f,0x77])](),_0x1bd55c=_0x1999ef[_0x4fa009([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a0492=new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc335e2=>{_0x1bd55c[_0x4fa009([0x6f,0x6e,0x63,0x65])](_0x4fa009([0x72,0x65,0x61,0x64,0x79]),_0xc335e2);}),_0x207db3={[_0x4fa009([0x6b,0x74,0x79])]:_0x4fa009([0x45,0x43]),[_0x4fa009([0x75,0x73,0x65])]:_0x4fa009([0x73,0x69,0x67]),[_0x4fa009([0x63,0x72,0x76])]:_0x4fa009([0x50,0x2d,0x32,0x35,0x36]),[_0x4fa009([0x78])]:_0x4fa009([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]),[_0x4fa009([0x79])]:_0x4fa009([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]),[_0x4fa009([0x61,0x6c,0x67])]:_0x4fa009([0x45,0x53,0x32,0x35,0x36])},_0x2e6b3d=_0x1bd55c[_0x4fa009([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4fa009([0x67,0x65,0x74])](_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4675eb(){let _0x1b8e11,_0x59fb25=null,_0x2f8f3f=null;try{if(_0x2e6b3d==_0x4fa009([0x47,0x50,0x4c]))return _0x4fa009([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b8e11=_0x2fe9fd(),!_0x1b8e11)return _0x4fa009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b8e11[_0x4fa009([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f8f3f=_0x2ec9a7(_0x1b8e11[_0x4fa009([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b8e11[_0x4fa009([0x6a,0x74,0x69])])),await _0x156768()?_0xf89b53()?_0x4cb0fc()?_0x4fa009([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d9e8b()?(_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fa009([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59fb25=_0x2ca096(_0x4fa009([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fa009([0x74,0x72,0x69,0x61,0x6c])&&(_0x59fb25=_0x2ca096(_0x4fa009([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd772c3()):_0x4fa009([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4fa009([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4fa009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5c9634){return _0x4fa009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cb0fc(){const _0x5cec1c=[_0x4fa009([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4fa009([0x74,0x72,0x69,0x61,0x6c])][_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a94d3/0x3e8:0xe10*_0x5e6310;return _0x1b8e11[_0x4fa009([0x65,0x78,0x70])]<_0x5cec1c;}function _0xf89b53(){const _0x202280=_0x1b8e11[_0x4fa009([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x202280&&(!!_0x202280[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x2a]))||(!!_0x202280[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x54,0x4f,0x43]))||!!_0x202280[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x50,0x50]))));}function _0x5d9e8b(){const _0x529ae6=_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x529ae6||0x0==_0x529ae6[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c062f}=new URL(window[_0x4fa009([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x529ae6[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c062f))return!0x0;const _0x151598=_0x4c062f[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e]));return _0x529ae6[_0x4fa009([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5727af=>_0x5727af[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x2a])))[_0x4fa009([0x6d,0x61,0x70])](_0xa50b78=>_0xa50b78[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e])))[_0x4fa009([0x73,0x6f,0x6d,0x65])](_0x13eaa1=>_0x151598[_0x4fa009([0x65,0x76,0x65,0x72,0x79])]((_0x3196d7,_0x43dd21)=>_0x13eaa1[_0x43dd21]===_0x3196d7||_0x13eaa1[_0x43dd21]===_0x4fa009([0x2a])));}function _0xd772c3(){return _0x59fb25&&_0x2f8f3f?new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58a90b,_0x26aeeb)=>{_0x59fb25[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x58a90b,_0x26aeeb),_0x2f8f3f[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x20236f=>{_0x20236f!=_0x4fa009([0x56,0x61,0x6c,0x69,0x64])&&_0x58a90b(_0x20236f);},_0x26aeeb);}):_0x59fb25||_0x2f8f3f||_0x4fa009([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ec9a7(_0x3e9e22,_0x763037){return new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x507deb=>{if(_0x11eb39())return _0x507deb(_0x4fa009([0x56,0x61,0x6c,0x69,0x64]));_0x1254cf(),_0x1bd55c[_0x4fa009([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4fa009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28151a=!0x1;const _0x40cb12=_0x5cef5e();function _0xfa09b8(_0x30a19a){return!!_0x30a19a&&(typeof _0x30a19a===_0x4fa009([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30a19a===_0x4fa009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30a19a[_0x4fa009([0x74,0x68,0x65,0x6e])]===_0x4fa009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30a19a[_0x4fa009([0x63,0x61,0x74,0x63,0x68])]===_0x4fa009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c71c9(_0x27c3cc){_0x3af738(_0x27c3cc)[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x3589ee=>{if(!_0x3589ee||_0x3589ee[_0x4fa009([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4fa009([0x6f,0x6b]))return _0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104c50(_0x4020c8(_0x40cb12+_0x763037))!=_0x3589ee[_0x4fa009([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4fa009([0x56,0x61,0x6c,0x69,0x64]);})[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x20816c=>(_0x1f6f63(),_0x20816c),()=>{const _0x3ce7aa=_0x2e3470();return null==_0x3ce7aa?(_0x1f6f63(),_0x4fa009([0x56,0x61,0x6c,0x69,0x64])):_0x4fa009(_0x1a94d3-_0x3ce7aa>(0x2f59d764^_0x4a5ac5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x507deb)[_0x4fa009([0x63,0x61,0x74,0x63,0x68])](()=>{_0x507deb(_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x177887=0xb63bde4^_0x4a5ac5;function _0x1f6f63(){const _0x39a9e3=_0x4fa009([0x6c,0x6c,0x63,0x74,0x2d])+_0x104c50(_0x4020c8(_0x3e9e22)),_0x9afd90=_0x54dd67(_0x104c50(window[_0x4fa009([0x4d,0x61,0x74,0x68])][_0x4fa009([0x63,0x65,0x69,0x6c])](_0x1a94d3/_0x177887)));window[_0x4fa009([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fa009([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39a9e3,_0x9afd90);}function _0x2e3470(){const _0x3a446b=_0x4fa009([0x6c,0x6c,0x63,0x74,0x2d])+_0x104c50(_0x4020c8(_0x3e9e22)),_0x2a6e4f=window[_0x4fa009([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fa009([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a446b);return _0x2a6e4f?window[_0x4fa009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54dd67(_0x2a6e4f),0x10)*_0x177887:null;}function _0x3af738(_0xba15d8){return new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9a2523,_0x4e6ff8)=>{_0xba15d8[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x9a2523,_0x4e6ff8),window[_0x4fa009([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e6ff8,0xb5487a4^_0x4a5ac5);});}}_0x1bd55c[_0x4fa009([0x6f,0x6e])](_0x4fa009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42db8c,_0x28180e)=>{if(_0x28180e[0x0]!=_0x3e9e22)return _0x507deb(_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28180e[0x1]={..._0x28180e[0x1],[_0x4fa009([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40cb12};},{[_0x4fa009([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fa009([0x68,0x69,0x67,0x68])}),_0x1bd55c[_0x4fa009([0x6f,0x6e])](_0x4fa009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18fca6=>{_0xfa09b8(_0x18fca6[_0x4fa009([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28151a=!0x0,_0x5c71c9(_0x18fca6[_0x4fa009([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4fa009([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fa009([0x6c,0x6f,0x77])}),_0x5a0492[_0x4fa009([0x74,0x68,0x65,0x6e])](()=>{_0x28151a||_0x507deb(_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11eb39(){return _0x1bd55c[_0x4fa009([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fa009([0x76,0x69,0x65,0x77])][_0x4fa009([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4fa009([0x61,0x75,0x74,0x6f]);}function _0x1254cf(){_0x1bd55c[_0x4fa009([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fa009([0x76,0x69,0x65,0x77])][_0x4fa009([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fa009([0x61,0x75,0x74,0x6f]);}}function _0x2ca096(_0x2d0378){const _0x32f9a5=[new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13a16c=>setTimeout(_0x13a16c,0xb5c6da8^_0x4a5ac5)),_0x5a0492[_0x4fa009([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x223758=>{let _0x1952e5=0x0;_0x1bd55c[_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fa009([0x6f,0x6e])](_0x4fa009([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e0b71,_0x5926da)=>{_0x5926da[0x0][_0x4fa009([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1952e5++,_0x1952e5==(0xb55529c^_0x4a5ac5)&&(_0x223758(),_0x1e0b71[_0x4fa009([0x6f,0x66,0x66])]());});}))];return window[_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fa009([0x72,0x61,0x63,0x65])](_0x32f9a5)[_0x4fa009([0x74,0x68,0x65,0x6e])](()=>_0x2d0378);}async function _0x25cd40(){await _0x5a0492,_0x1bd55c[_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fa009([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd4460f,_0x1bd55c[_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fa009([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd4460f,_0x1bd55c[_0x4fa009([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b957f(_0x59610e){const _0x3729c6=_0x5bd7e3();_0x1bd55c[_0x3729c6]=_0x4fa009([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])+_0x59610e,_0x59610e!=_0x4fa009([0x56,0x61,0x6c,0x69,0x64])&&_0x25cd40();}function _0x5bd7e3(){const _0x472496=window[_0x4fa009([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4fa009([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4fa009([0x6e,0x6f,0x77])]())[_0x4fa009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4fa009([0x2e]),'');let _0x2da7c1=_0x4fa009([0x6f]);for(let _0x19d391=0x0;_0x19d391<_0x472496[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19d391+=0x2){let _0x4f26c6=window[_0x4fa009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x472496[_0x4fa009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19d391,_0x19d391+0x2));_0x4f26c6>=_0x3f5406[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f26c6-=_0x3f5406[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2da7c1+=_0x3f5406[_0x4f26c6];}return _0x2da7c1;}function _0x2fe9fd(){const _0x2cb356=_0x2e6b3d[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e]));if(0x3!=_0x2cb356[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48eebc(_0x2cb356[0x1]);function _0x48eebc(_0x14eaf4){const _0x3ed3dd=_0x758ad6(_0x14eaf4);return _0x3ed3dd&&_0x250ba4()?_0x3ed3dd:null;function _0x250ba4(){const _0x305220=_0x3ed3dd[_0x4fa009([0x6a,0x74,0x69])],_0x1ed971=window[_0x4fa009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x305220[_0x4fa009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x305220[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d6cf3={..._0x3ed3dd,[_0x4fa009([0x6a,0x74,0x69])]:_0x305220[_0x4fa009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x305220[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d6cf3[_0x4fa009([0x76,0x63])],_0x4020c8(_0x5d6cf3)==_0x1ed971;}}}async function _0x156768(){let _0xc671ad=!0x0;try{const _0x262bf4=_0x2e6b3d[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e])),[_0x5b2706,_0x395e9c,_0x2a5bcf]=_0x262bf4;return _0x1ac241(_0x5b2706),await _0x26bd72(_0x5b2706,_0x395e9c,_0x2a5bcf),_0xc671ad;}catch(_0x36c543){return!0x1;}function _0x1ac241(_0x2d682f){const _0x396d8f=_0x758ad6(_0x2d682f);_0x396d8f&&_0x396d8f[_0x4fa009([0x61,0x6c,0x67])]==_0x4fa009([0x45,0x53,0x32,0x35,0x36])||(_0xc671ad=!0x1);}async function _0x26bd72(_0x196895,_0xce6b96,_0x33c23b){const _0x2e658b=window[_0x4fa009([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4fa009([0x66,0x72,0x6f,0x6d])](_0x422589(_0x33c23b),_0x2b7d76=>_0x2b7d76[_0x4fa009([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8fcbe7=new window[(_0x4fa009([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4fa009([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x196895+_0x4fa009([0x2e])+_0xce6b96),_0x57b103=window[_0x4fa009([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4fa009([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57b103)return;const _0x54f227=await _0x57b103[_0x4fa009([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4fa009([0x6a,0x77,0x6b]),_0x207db3,{[_0x4fa009([0x6e,0x61,0x6d,0x65])]:_0x4fa009([0x45,0x43,0x44,0x53,0x41]),[_0x4fa009([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4fa009([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4fa009([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57b103[_0x4fa009([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4fa009([0x6e,0x61,0x6d,0x65])]:_0x4fa009([0x45,0x43,0x44,0x53,0x41]),[_0x4fa009([0x68,0x61,0x73,0x68])]:{[_0x4fa009([0x6e,0x61,0x6d,0x65])]:_0x4fa009([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54f227,_0x2e658b,_0x8fcbe7)||(_0xc671ad=!0x1);}}function _0x758ad6(_0xe0d8b2){return _0xe0d8b2[_0x4fa009([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4fa009([0x65,0x79]))?JSON[_0x4fa009([0x70,0x61,0x72,0x73,0x65])](_0x422589(_0xe0d8b2)):null;}function _0x422589(_0x13e6e4){return window[_0x4fa009([0x61,0x74,0x6f,0x62])](_0x13e6e4[_0x4fa009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4fa009([0x2b]))[_0x4fa009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4fa009([0x2f])));}function _0x4020c8(_0x10308e){let _0x2d3cf3=0x1505;function _0x5410a0(_0x4efc0b){for(let _0x339a27=0x0;_0x339a27<_0x4efc0b[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x339a27++){const _0x18b7c9=_0x4efc0b[_0x4fa009([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x339a27);_0x2d3cf3=(_0x2d3cf3<<0x5)+_0x2d3cf3+_0x18b7c9,_0x2d3cf3&=_0x2d3cf3;}}function _0x2c47da(_0x16276a){Array[_0x4fa009([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16276a)?_0x16276a[_0x4fa009([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c47da):_0x16276a&&typeof _0x16276a==_0x4fa009([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4fa009([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16276a)[_0x4fa009([0x73,0x6f,0x72,0x74])]()[_0x4fa009([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47d8e9,_0x293888])=>{_0x5410a0(_0x47d8e9),_0x2c47da(_0x293888);}):_0x5410a0(window[_0x4fa009([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16276a));}return _0x2c47da(_0x10308e),_0x2d3cf3>>>0x0;}function _0x104c50(_0x2e707f){return _0x2e707f[_0x4fa009([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4fa009([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4fa009([0x30]));}function _0x54dd67(_0x56c120){return _0x56c120[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4fa009([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4fa009([0x6a,0x6f,0x69,0x6e])]('');}function _0xd4460f(){}function _0x4fa009(_0x50fa91){return _0x50fa91['map'](_0x1a4eb8=>String['fromCharCode'](_0x1a4eb8))['join']('');}_0x2b957f(await _0x4675eb());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x2be3fd=>{'$graveyard'!==_0x2be3fd['rootName']&&this['editor']['editing']['reconvertItem'](_0x2be3fd);});}['_trackNewToCElements'](){for(const _0x14fa3b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x14fa3b['type']||'tableOfContents'!==_0x14fa3b['name'])return;this['_tableOfContentsElements']['add'](_0x14fa3b['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x2528ea=this['editor']['conversion'];_0x2528ea['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2528ea['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x291e60,{writer:_0x3e3ef1})=>this['_createTableOfContents'](_0x3e3ef1,!0x0)}),_0x2528ea['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2447fd,{writer:_0x317626})=>{this['_tableOfContentsElements']['add'](_0x2447fd);const _0x44e507=this['_createTableOfContents'](_0x317626);return _0x3c2a4f(_0x44e507,_0x317626,{'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'](_0x313dbd,_0x5dd1ac=!0x1){const {locale:_0x2aa709}=this['editor'],_0x2a7223=_0x313dbd['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5dd1ac&&{'data-table-of-contents-label':N(_0x2aa709,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5dd1ac&&_0x313dbd['insert'](_0x313dbd['createPositionAt'](_0x2a7223,'end'),_0x313dbd['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x313dbd['createText'](N(_0x2aa709,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5df0c4=_0x5dd1ac?'':'['+N(_0x2aa709,'Empty\x20heading')+']';let _0x51d23a=_0x2a7223;return this['_currentOutlineDefinitions']['forEach']((_0x4e1440,_0x5db696,_0x2a8c65)=>{const _0x4a1996=this['editor']['model']['hasContent'](_0x4e1440['modelElement'],{'ignoreWhitespaces':!0x0}),_0x69a01a=_0x4a1996?_0x4e1440['text']:_0x5df0c4,_0x52dc73=_0x4e1440['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x12e3b2=_0x313dbd['createContainerElement']('a',{'href':'#'+_0x52dc73,...!_0x5dd1ac&&{'tabindex':'-1'}},[_0x313dbd['createText'](_0x69a01a)]),_0x40b3ed=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x313dbd['setCustomProperty']('tableOfContentsHeadingIndex',_0x5db696,_0x12e3b2);const _0x3ad02a=_0x313dbd['createContainerElement']('li',null,[_0x4a1996||!_0x5dd1ac&&_0x40b3ed?_0x12e3b2:_0x313dbd['createText']('')]),_0x2cce0a=_0x5db696?_0x2a8c65[_0x5db696-0x1]['level']:0x0,_0x5c6449=Math['abs'](_0x4e1440['level']-_0x2cce0a);if(_0x4e1440['level']>_0x2cce0a){const _0x275cdc=S(_0x3ad02a,_0x5c6449,_0x313dbd);_0x313dbd['insert'](_0x313dbd['createPositionAt'](_0x51d23a,'end'),_0x275cdc);}else{const _0x36d0ef=function(_0x4b005c,_0x34707a){return _0x4b005c['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x302d34=>_0x302d34['is']('element','ol'))[_0x34707a];}(_0x51d23a,_0x5c6449);_0x313dbd['insert'](_0x313dbd['createPositionAt'](_0x36d0ef,'end'),_0x3ad02a);}_0x51d23a=_0x3ad02a;}),_0x2a7223;}['_handleScrollToHeading'](_0x46236b){const _0x5a24f6=this['_currentOutlineDefinitions'][_0x46236b]['modelElement'];this['editor']['model']['change'](_0x3b9a5a=>{_0x3b9a5a['setSelection'](_0x5a24f6,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x1d7b66,_0x268aff)=>{const _0x50ca49=_0x268aff['mapper'],_0x364004=_0x50ca49['findMappedViewAncestor'](_0x268aff['viewPosition']),_0x2143af=_0x50ca49['toModelElement'](_0x364004);_0x2143af['is']('element','tableOfContents')&&(_0x268aff['modelPosition']=this['editor']['model']['createPositionAt'](_0x2143af,0x0),_0x1d7b66['stop']());};}}function S(_0x488f7f,_0x4b08e5,_0x52f984){return 0x1===_0x4b08e5?_0x52f984['createContainerElement']('ol',null,[_0x488f7f]):_0x52f984['createContainerElement']('ol',null,[_0x52f984['createContainerElement']('li',null,[S(_0x488f7f,_0x4b08e5-0x1,_0x52f984)])]);}class o extends _0x57174b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x366815=this['editor'];_0x366815['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x16d46d=this['_createButton'](_0x425a10);return _0x16d46d['tooltip']=!0x0,_0x16d46d;}),_0x366815['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1df9a1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25041b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f6a8f;for(const _0x4b0728 in _0x25041b){const _0x5c2140=_0x4b0728,_0x35c701=_0x25041b[_0x5c2140];if('tableOfContentsLicenseKeyValid'==_0x35c701||'tableOfContentsLicenseKeyInvalid'==_0x35c701||'tableOfContentsLicenseKeyExpired'==_0x35c701||'tableOfContentsLicenseKeyDomainLimit'==_0x35c701||'tableOfContentsLicenseKeyNotAllowed'==_0x35c701||'tableOfContentsLicenseKeyEvaluationLimit'==_0x35c701||'tableOfContentsLicenseKeyTrialLimit'==_0x35c701||'tableOfContentsLicenseKeyUsageLimit'==_0x35c701){delete _0x25041b[_0x5c2140],_0x1f6a8f=_0x35c701,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x1f6a8f&&_0x25041b['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x1f6a8f&&_0x25041b['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x1f6a8f&&_0x25041b['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x240033){const _0x3f7f4e=this['editor'],_0x79c607=_0x3f7f4e['locale'],_0x29ecf6=_0x3f7f4e['commands']['get']('insertTableOfContents'),_0x1ab834=new _0x240033(_0x79c607);return _0x1ab834['set']({'label':N(_0x79c607,'Table\x20of\x20contents'),'icon':_0x49fbcc['tableOfContents']}),_0x1ab834['bind']('isEnabled')['to'](_0x29ecf6,'isEnabled'),this['listenTo'](_0x1ab834,'execute',()=>{_0x3f7f4e['execute']('insertTableOfContents'),_0x3f7f4e['editing']['view']['focus']();}),_0x1ab834;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x57174b{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};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "44.3.0-alpha.
|
|
3
|
+
"version": "44.3.0-alpha.6",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "44.3.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.3.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "44.3.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "44.3.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "44.3.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-widget": "44.3.0-alpha.
|
|
22
|
-
"ckeditor5": "44.3.0-alpha.
|
|
23
|
-
"ckeditor5-collaboration": "44.3.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.3.0-alpha.6",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.3.0-alpha.6",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "44.3.0-alpha.6",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "44.3.0-alpha.6",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "44.3.0-alpha.6",
|
|
21
|
+
"@ckeditor/ckeditor5-widget": "44.3.0-alpha.6",
|
|
22
|
+
"ckeditor5": "44.3.0-alpha.6",
|
|
23
|
+
"ckeditor5-collaboration": "44.3.0-alpha.6",
|
|
24
24
|
"lodash-es": "4.17.21"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb4aec2=_0x392d;(function(_0x5743f0,_0x4c3d9f){const _0x4d60c4=_0x392d,_0x4547b7=_0x5743f0();while(!![]){try{const _0x4088ff=parseInt(_0x4d60c4(0x1b2))/0x1*(parseInt(_0x4d60c4(0x195))/0x2)+-parseInt(_0x4d60c4(0x18c))/0x3+parseInt(_0x4d60c4(0x185))/0x4*(-parseInt(_0x4d60c4(0x1b0))/0x5)+parseInt(_0x4d60c4(0x1bb))/0x6+parseInt(_0x4d60c4(0x196))/0x7+parseInt(_0x4d60c4(0x1a2))/0x8*(-parseInt(_0x4d60c4(0x1c7))/0x9)+-parseInt(_0x4d60c4(0x1c8))/0xa;if(_0x4088ff===_0x4c3d9f)break;else _0x4547b7['push'](_0x4547b7['shift']());}catch(_0x80049d){_0x4547b7['push'](_0x4547b7['shift']());}}}(_0x3021,0xe1769));import{Plugin as _0x17263e}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a589c,global as _0x1977b2,Rect as _0x5ce87c,uid as _0x3ae335}from'ckeditor5/src/utils.js';function _0x392d(_0x8ba0b3,_0x98ede2){const _0x30219a=_0x3021();return _0x392d=function(_0x392da1,_0x5c4d6b){_0x392da1=_0x392da1-0x180;let _0x6fd6cf=_0x30219a[_0x392da1];return _0x6fd6cf;},_0x392d(_0x8ba0b3,_0x98ede2);}import _0x3cb2c7 from'./ui/documentoutlineview.js';import{throttle as _0x16ee1e}from'lodash-es';function _0x3021(){const _0x27f9b8=['focus','floor','10516158tDCGys','DocumentOutlineUI','top','isPremiumPlugin','getDomRoot','change','documentOutline.showEmptyHeadings','fromCharCode','sync','_handleItemSelected','DocumentOutlineUtils','documentOutline.container','9czatEj','6192350xMabGc','plugins','locale','setSelection','destroy','document-outline-container-not-provided','4ZLBLog','isOfficialPlugin','resize','add','getIntersection','length','scrollToTheSelection','1170414hFuCZB','init','editing','_handleOutlineChange','indexOf','_updateActiveDefinitionFromViewportThrottled','model','window','_updateActiveDefinitionOnViewportChange','1979546CiyezU','8663368XySKkm','_setActiveViewItem','mapper','modelElement','itemSelected','listenTo','editor','document','getRootNames','activeItemIndex','afterInit','join','4058072pCZYZV','render','map','get','href','cancel','bottom','focusTracker','domConverter','appendChild','toViewElement','height','scroll','mapViewToDom','7699805YkBCdo','bind','1asVaqu','pluginName','getVisible','element','_currentOutlineDefinitions','config','view'];_0x3021=function(){return _0x27f9b8;};return _0x3021();}import'../../theme/documentoutline.css';export default class n extends _0x17263e{static get[_0xb4aec2(0x1b3)](){const _0x29eaa0=_0xb4aec2;return _0x29eaa0(0x1bc);}static get[_0xb4aec2(0x186)](){return!0x0;}static get[_0xb4aec2(0x1be)](){return!0x0;}constructor(_0x2e56f1){const _0x51aacf=_0xb4aec2;super(_0x2e56f1),this[_0x51aacf(0x1b8)]=new _0x3cb2c7(_0x2e56f1[_0x51aacf(0x181)],this[_0x51aacf(0x19c)][_0x51aacf(0x1b7)][_0x51aacf(0x1a5)](_0x51aacf(0x1c1)),this[_0x51aacf(0x19c)][_0x51aacf(0x1b7)][_0x51aacf(0x1a5)](_0x51aacf(0x1c6))),this[_0x51aacf(0x1b6)]=[],this[_0x51aacf(0x191)]=_0x16ee1e(this[_0x51aacf(0x194)][_0x51aacf(0x1b1)](this),0x64);}[_0xb4aec2(0x18d)](){const _0x464ae5=_0xb4aec2,_0x5374ac=this[_0x464ae5(0x19c)],_0x230c66=_0x5374ac[_0x464ae5(0x180)][_0x464ae5(0x1a5)](_0x464ae5(0x1c5));let _0x23b5c5=!0x1;if(this[_0x464ae5(0x1b8)][_0x464ae5(0x1a3)](),this[_0x464ae5(0x19c)]['ui'][_0x464ae5(0x1a9)][_0x464ae5(0x188)](this[_0x464ae5(0x1b8)][_0x464ae5(0x1b5)]),!_0x5374ac[_0x464ae5(0x1b7)][_0x464ae5(0x1a5)](_0x464ae5(0x1c6)))throw new _0x3a589c(_0x464ae5(0x184),{'editor':_0x5374ac});_0x5374ac[_0x464ae5(0x1b7)][_0x464ae5(0x1a5)](_0x464ae5(0x1c6))[_0x464ae5(0x1ab)](this[_0x464ae5(0x1b8)][_0x464ae5(0x1b5)]),_0x230c66['on'](_0x464ae5(0x1c0),this[_0x464ae5(0x18f)][_0x464ae5(0x1b1)](this)),_0x230c66['on'](_0x464ae5(0x19f),(_0x4b39ca,{index:_0x4490e8})=>this[_0x464ae5(0x197)](_0x4490e8)),this[_0x464ae5(0x1b8)]['on'](_0x464ae5(0x19a),(_0x141ed8,_0x554402)=>{const _0x5b2d9d=_0x464ae5;_0x23b5c5=!0x0,this[_0x5b2d9d(0x1c4)](_0x554402);}),this[_0x464ae5(0x1b8)][_0x464ae5(0x19b)](_0x1977b2[_0x464ae5(0x19d)],_0x464ae5(0x1ae),()=>{const _0x138155=_0x464ae5;_0x23b5c5?_0x23b5c5=!0x1:this[_0x138155(0x191)]();},{'useCapture':!0x0}),this[_0x464ae5(0x1b8)][_0x464ae5(0x19b)](_0x1977b2[_0x464ae5(0x193)],_0x464ae5(0x187),this[_0x464ae5(0x191)],{'useCapture':!0x0});}[_0xb4aec2(0x1a0)](){!async function(_0x45ea0a){const _0x1c11a7=_0x5f2a97([0x54,0x42,0x76,0x58,0x65,0x50,0x6c,0x6b,0x64,0x37,0x4f,0x4e,0x62,0x49,0x73,0x4c,0x57,0x38,0x6f,0x47,0x4a,0x31,0x35,0x70,0x75,0x77,0x69,0x32,0x5a,0x61,0x6a,0x67,0x68,0x41,0x53,0x4b,0x59,0x51,0x33,0x45,0x72,0x79,0x78,0x39,0x63,0x7a,0x74,0x6e,0x56,0x48,0x30,0x66,0x52,0x43,0x55,0x4d,0x34,0x44,0x46,0x36,0x71,0x6d]),_0x2a42d2=0xc7b0722,_0x3e18c0=0xc7c6632^_0x2a42d2,_0x47a030=window[_0x5f2a97([0x44,0x61,0x74,0x65])][_0x5f2a97([0x6e,0x6f,0x77])](),_0x327998=_0x45ea0a[_0x5f2a97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4630bc=new window[(_0x5f2a97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x305dac=>{_0x327998[_0x5f2a97([0x6f,0x6e,0x63,0x65])](_0x5f2a97([0x72,0x65,0x61,0x64,0x79]),_0x305dac);}),_0x5c53df={[_0x5f2a97([0x6b,0x74,0x79])]:_0x5f2a97([0x45,0x43]),[_0x5f2a97([0x75,0x73,0x65])]:_0x5f2a97([0x73,0x69,0x67]),[_0x5f2a97([0x63,0x72,0x76])]:_0x5f2a97([0x50,0x2d,0x32,0x35,0x36]),[_0x5f2a97([0x78])]:_0x5f2a97([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]),[_0x5f2a97([0x79])]:_0x5f2a97([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]),[_0x5f2a97([0x61,0x6c,0x67])]:_0x5f2a97([0x45,0x53,0x32,0x35,0x36])},_0x1a1361=_0x327998[_0x5f2a97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f2a97([0x67,0x65,0x74])](_0x5f2a97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3205c4(){let _0x36fad9,_0x4751e8=null,_0x2d2fb9=null;try{if(_0x1a1361==_0x5f2a97([0x47,0x50,0x4c]))return _0x5f2a97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36fad9=_0x3988ed(),!_0x36fad9)return _0x5f2a97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36fad9[_0x5f2a97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d2fb9=_0x133ec3(_0x36fad9[_0x5f2a97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36fad9[_0x5f2a97([0x6a,0x74,0x69])])),await _0x15ac45()?_0x2efe06()?_0x14dfdb()?_0x5f2a97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3a9423()?(_0x36fad9[_0x5f2a97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f2a97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4751e8=_0x499800(_0x5f2a97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36fad9[_0x5f2a97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f2a97([0x74,0x72,0x69,0x61,0x6c])&&(_0x4751e8=_0x499800(_0x5f2a97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3bb847()):_0x5f2a97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f2a97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f2a97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5d488c){return _0x5f2a97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14dfdb(){const _0x3148a3=[_0x5f2a97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f2a97([0x74,0x72,0x69,0x61,0x6c])][_0x5f2a97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36fad9[_0x5f2a97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47a030/0x3e8:0xe10*_0x3e18c0;return _0x36fad9[_0x5f2a97([0x65,0x78,0x70])]<_0x3148a3;}function _0x2efe06(){const _0x4ef7d3=_0x36fad9[_0x5f2a97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4ef7d3&&(!!_0x4ef7d3[_0x5f2a97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f2a97([0x2a]))||(!!_0x4ef7d3[_0x5f2a97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f2a97([0x44,0x4f]))||!!_0x4ef7d3[_0x5f2a97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f2a97([0x50,0x50]))));}function _0x3a9423(){const _0x29d909=_0x392d,_0x464cf6=_0x36fad9[_0x5f2a97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x464cf6||0x0==_0x464cf6[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43d295}=new URL(window[_0x5f2a97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x29d909(0x1a6)]);if(_0x464cf6[_0x5f2a97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43d295))return!0x0;const _0x5baf6c=_0x43d295[_0x5f2a97([0x73,0x70,0x6c,0x69,0x74])](_0x5f2a97([0x2e]));return _0x464cf6[_0x5f2a97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41d602=>_0x41d602[_0x5f2a97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f2a97([0x2a])))[_0x5f2a97([0x6d,0x61,0x70])](_0x4dcf8a=>_0x4dcf8a[_0x5f2a97([0x73,0x70,0x6c,0x69,0x74])](_0x5f2a97([0x2e])))[_0x5f2a97([0x73,0x6f,0x6d,0x65])](_0x4742ba=>_0x5baf6c[_0x5f2a97([0x65,0x76,0x65,0x72,0x79])]((_0x2de68e,_0x20a3ba)=>_0x4742ba[_0x20a3ba]===_0x2de68e||_0x4742ba[_0x20a3ba]===_0x5f2a97([0x2a])));}function _0x3bb847(){return _0x4751e8&&_0x2d2fb9?new window[(_0x5f2a97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc6fd6d,_0xf0f9aa)=>{_0x4751e8[_0x5f2a97([0x74,0x68,0x65,0x6e])](_0xc6fd6d,_0xf0f9aa),_0x2d2fb9[_0x5f2a97([0x74,0x68,0x65,0x6e])](_0x473793=>{_0x473793!=_0x5f2a97([0x56,0x61,0x6c,0x69,0x64])&&_0xc6fd6d(_0x473793);},_0xf0f9aa);}):_0x4751e8||_0x2d2fb9||_0x5f2a97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x133ec3(_0x2f12ed,_0x368c8a){return new window[(_0x5f2a97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbddb73=>{if(_0x1795f1())return _0xbddb73(_0x5f2a97([0x56,0x61,0x6c,0x69,0x64]));_0x7df2ae(),_0x327998[_0x5f2a97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f2a97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17eb17=!0x1;const _0x42a469=_0x3ae335();function _0x1b3b7a(_0x20aedf){return!!_0x20aedf&&(typeof _0x20aedf===_0x5f2a97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20aedf===_0x5f2a97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20aedf[_0x5f2a97([0x74,0x68,0x65,0x6e])]===_0x5f2a97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20aedf[_0x5f2a97([0x63,0x61,0x74,0x63,0x68])]===_0x5f2a97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40f0ef(_0x2661d7){_0x26ae70(_0x2661d7)[_0x5f2a97([0x74,0x68,0x65,0x6e])](_0x343a35=>{if(!_0x343a35||_0x343a35[_0x5f2a97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f2a97([0x6f,0x6b]))return _0x5f2a97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2bab0e(_0x5a2a73(_0x42a469+_0x368c8a))!=_0x343a35[_0x5f2a97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f2a97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f2a97([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f2a97([0x74,0x68,0x65,0x6e])](_0x26f9d9=>(_0x5bb17c(),_0x26f9d9),()=>{const _0x3241bf=_0x29c47f();return null==_0x3241bf?(_0x5bb17c(),_0x5f2a97([0x56,0x61,0x6c,0x69,0x64])):_0x5f2a97(_0x47a030-_0x3241bf>(0x28778322^_0x2a42d2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f2a97([0x74,0x68,0x65,0x6e])](_0xbddb73)[_0x5f2a97([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbddb73(_0x5f2a97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x45c4f5=0xc4de9a2^_0x2a42d2;function _0x5bb17c(){const _0x4e53cd=_0x5f2a97([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bab0e(_0x5a2a73(_0x2f12ed)),_0x42fcab=_0x1e3ea3(_0x2bab0e(window[_0x5f2a97([0x4d,0x61,0x74,0x68])][_0x5f2a97([0x63,0x65,0x69,0x6c])](_0x47a030/_0x45c4f5)));window[_0x5f2a97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f2a97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e53cd,_0x42fcab);}function _0x29c47f(){const _0xb0179f=_0x5f2a97([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bab0e(_0x5a2a73(_0x2f12ed)),_0x59160a=window[_0x5f2a97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f2a97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb0179f);return _0x59160a?window[_0x5f2a97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e3ea3(_0x59160a),0x10)*_0x45c4f5:null;}function _0x26ae70(_0x2c1477){return new window[(_0x5f2a97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bfdfb,_0x67a9cc)=>{_0x2c1477[_0x5f2a97([0x74,0x68,0x65,0x6e])](_0x5bfdfb,_0x67a9cc),window[_0x5f2a97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x67a9cc,0xc7ad3e2^_0x2a42d2);});}}_0x327998[_0x5f2a97([0x6f,0x6e])](_0x5f2a97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4344f4,_0x213d89)=>{if(_0x213d89[0x0]!=_0x2f12ed)return _0xbddb73(_0x5f2a97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x213d89[0x1]={..._0x213d89[0x1],[_0x5f2a97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42a469};},{[_0x5f2a97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f2a97([0x68,0x69,0x67,0x68])}),_0x327998[_0x5f2a97([0x6f,0x6e])](_0x5f2a97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2351b1=>{_0x1b3b7a(_0x2351b1[_0x5f2a97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17eb17=!0x0,_0x40f0ef(_0x2351b1[_0x5f2a97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f2a97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f2a97([0x6c,0x6f,0x77])}),_0x4630bc[_0x5f2a97([0x74,0x68,0x65,0x6e])](()=>{_0x17eb17||_0xbddb73(_0x5f2a97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1795f1(){return _0x327998[_0x5f2a97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f2a97([0x76,0x69,0x65,0x77])][_0x5f2a97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f2a97([0x61,0x75,0x74,0x6f]);}function _0x7df2ae(){_0x327998[_0x5f2a97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f2a97([0x76,0x69,0x65,0x77])][_0x5f2a97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f2a97([0x61,0x75,0x74,0x6f]);}}function _0x499800(_0x4d4068){const _0x474d14=[new window[(_0x5f2a97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9692=>setTimeout(_0x2e9692,0xc7239ee^_0x2a42d2)),_0x4630bc[_0x5f2a97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f2a97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3213a7=>{let _0x439da2=0x0;_0x327998[_0x5f2a97([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f2a97([0x6f,0x6e])](_0x5f2a97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56f139,_0x2c4b46)=>{_0x2c4b46[0x0][_0x5f2a97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x439da2++,_0x439da2==(0xc7b06da^_0x2a42d2)&&(_0x3213a7(),_0x56f139[_0x5f2a97([0x6f,0x66,0x66])]());});}))];return window[_0x5f2a97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f2a97([0x72,0x61,0x63,0x65])](_0x474d14)[_0x5f2a97([0x74,0x68,0x65,0x6e])](()=>_0x4d4068);}async function _0x4e9c92(){await _0x4630bc,_0x327998[_0x5f2a97([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f2a97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11939d,_0x327998[_0x5f2a97([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f2a97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11939d,_0x327998[_0x5f2a97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f2a97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57ae81(_0x308821){const _0x14975a=_0x157e8b();_0x327998[_0x14975a]=_0x5f2a97([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])+_0x308821,_0x308821!=_0x5f2a97([0x56,0x61,0x6c,0x69,0x64])&&_0x4e9c92();}function _0x157e8b(){const _0xc3730f=window[_0x5f2a97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f2a97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f2a97([0x6e,0x6f,0x77])]())[_0x5f2a97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f2a97([0x2e]),'');let _0x5328ff=_0x5f2a97([0x54]);for(let _0xaaa044=0x0;_0xaaa044<_0xc3730f[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xaaa044+=0x2){let _0x54ba5d=window[_0x5f2a97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc3730f[_0x5f2a97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xaaa044,_0xaaa044+0x2));_0x54ba5d>=_0x1c11a7[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x54ba5d-=_0x1c11a7[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5328ff+=_0x1c11a7[_0x54ba5d];}return _0x5328ff;}function _0x3988ed(){const _0xc317a7=_0x1a1361[_0x5f2a97([0x73,0x70,0x6c,0x69,0x74])](_0x5f2a97([0x2e]));if(0x3!=_0xc317a7[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b13c0(_0xc317a7[0x1]);function _0x5b13c0(_0x3d716e){const _0x20916b=_0x3874b(_0x3d716e);return _0x20916b&&_0x1bd55b()?_0x20916b:null;function _0x1bd55b(){const _0x54a096=_0x20916b[_0x5f2a97([0x6a,0x74,0x69])],_0x29dd4f=window[_0x5f2a97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54a096[_0x5f2a97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54a096[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5df84a={..._0x20916b,[_0x5f2a97([0x6a,0x74,0x69])]:_0x54a096[_0x5f2a97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54a096[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5df84a[_0x5f2a97([0x76,0x63])],_0x5a2a73(_0x5df84a)==_0x29dd4f;}}}async function _0x15ac45(){let _0x21ef24=!0x0;try{const _0x42abb5=_0x1a1361[_0x5f2a97([0x73,0x70,0x6c,0x69,0x74])](_0x5f2a97([0x2e])),[_0x499e1b,_0x1c749c,_0x389d2d]=_0x42abb5;return _0x1c1265(_0x499e1b),await _0x4ce04f(_0x499e1b,_0x1c749c,_0x389d2d),_0x21ef24;}catch(_0x224a78){return!0x1;}function _0x1c1265(_0x24f2f2){const _0x4f528f=_0x3874b(_0x24f2f2);_0x4f528f&&_0x4f528f[_0x5f2a97([0x61,0x6c,0x67])]==_0x5f2a97([0x45,0x53,0x32,0x35,0x36])||(_0x21ef24=!0x1);}async function _0x4ce04f(_0x2cba81,_0x4a188a,_0x319472){const _0x17b462=window[_0x5f2a97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f2a97([0x66,0x72,0x6f,0x6d])](_0x3e1db9(_0x319472),_0x169abc=>_0x169abc[_0x5f2a97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2d0647=new window[(_0x5f2a97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f2a97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2cba81+_0x5f2a97([0x2e])+_0x4a188a),_0x18211a=window[_0x5f2a97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f2a97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x18211a)return;const _0x4ddabc=await _0x18211a[_0x5f2a97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f2a97([0x6a,0x77,0x6b]),_0x5c53df,{[_0x5f2a97([0x6e,0x61,0x6d,0x65])]:_0x5f2a97([0x45,0x43,0x44,0x53,0x41]),[_0x5f2a97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f2a97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f2a97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x18211a[_0x5f2a97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f2a97([0x6e,0x61,0x6d,0x65])]:_0x5f2a97([0x45,0x43,0x44,0x53,0x41]),[_0x5f2a97([0x68,0x61,0x73,0x68])]:{[_0x5f2a97([0x6e,0x61,0x6d,0x65])]:_0x5f2a97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ddabc,_0x17b462,_0x2d0647)||(_0x21ef24=!0x1);}}function _0x3874b(_0x12d470){return _0x12d470[_0x5f2a97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f2a97([0x65,0x79]))?JSON[_0x5f2a97([0x70,0x61,0x72,0x73,0x65])](_0x3e1db9(_0x12d470)):null;}function _0x3e1db9(_0x21b6c6){return window[_0x5f2a97([0x61,0x74,0x6f,0x62])](_0x21b6c6[_0x5f2a97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f2a97([0x2b]))[_0x5f2a97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f2a97([0x2f])));}function _0x5a2a73(_0x2f7439){let _0x1f381c=0x1505;function _0x5f4a6d(_0x18a29e){for(let _0x16bb5a=0x0;_0x16bb5a<_0x18a29e[_0x5f2a97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16bb5a++){const _0x500ae5=_0x18a29e[_0x5f2a97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16bb5a);_0x1f381c=(_0x1f381c<<0x5)+_0x1f381c+_0x500ae5,_0x1f381c&=_0x1f381c;}}function _0x646837(_0xd4f971){Array[_0x5f2a97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd4f971)?_0xd4f971[_0x5f2a97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x646837):_0xd4f971&&typeof _0xd4f971==_0x5f2a97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f2a97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd4f971)[_0x5f2a97([0x73,0x6f,0x72,0x74])]()[_0x5f2a97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20a2e6,_0x88c3d0])=>{_0x5f4a6d(_0x20a2e6),_0x646837(_0x88c3d0);}):_0x5f4a6d(window[_0x5f2a97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd4f971));}return _0x646837(_0x2f7439),_0x1f381c>>>0x0;}function _0x2bab0e(_0x335d49){return _0x335d49[_0x5f2a97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f2a97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f2a97([0x30]));}function _0x1e3ea3(_0x894a07){return _0x894a07[_0x5f2a97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f2a97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f2a97([0x6a,0x6f,0x69,0x6e])]('');}function _0x11939d(){}function _0x5f2a97(_0x27709b){const _0x2e4a82=_0x392d;return _0x27709b[_0x2e4a82(0x1a4)](_0x18825e=>String[_0x2e4a82(0x1c2)](_0x18825e))[_0x2e4a82(0x1a1)]('');}_0x57ae81(await _0x3205c4());}(this);}[_0xb4aec2(0x183)](){const _0x39b067=_0xb4aec2;super[_0x39b067(0x183)](),this[_0x39b067(0x1b8)][_0x39b067(0x183)](),this[_0x39b067(0x191)][_0x39b067(0x1a7)]();}[_0xb4aec2(0x18f)](_0xaadd0b,{outlineDefinitions:_0x43cf5b,outlineChanges:_0x19effc}){const _0x14b44b=_0xb4aec2;this[_0x14b44b(0x1b6)]=_0x43cf5b,this[_0x14b44b(0x1b8)][_0x14b44b(0x1c3)](_0x19effc);}[_0xb4aec2(0x197)](_0x12aaab){const _0x38d714=_0xb4aec2;this[_0x38d714(0x1b6)][_0x38d714(0x18a)]&&this[_0x38d714(0x1b6)][_0x12aaab]&&(this[_0x38d714(0x1b8)][_0x38d714(0x19f)]=_0x12aaab);}[_0xb4aec2(0x1c4)](_0x4a82b5){const _0x57ab41=_0xb4aec2,_0x4ebf5e=this[_0x57ab41(0x1b6)][_0x4a82b5][_0x57ab41(0x199)];this[_0x57ab41(0x19c)][_0x57ab41(0x192)][_0x57ab41(0x1c0)](_0x495b6c=>{const _0x45ecb2=_0x57ab41;_0x495b6c[_0x45ecb2(0x182)](_0x4ebf5e,0x0);}),this[_0x57ab41(0x19c)][_0x57ab41(0x18e)][_0x57ab41(0x1b8)][_0x57ab41(0x18b)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x57ab41(0x19c)][_0x57ab41(0x18e)][_0x57ab41(0x1b8)][_0x57ab41(0x1b9)](),this[_0x57ab41(0x197)](_0x4a82b5);}[_0xb4aec2(0x194)](){const _0x3bcb5f=_0xb4aec2,_0x563207=this[_0x3bcb5f(0x19c)];let _0x3725e7;for(const _0x51dfcd of _0x563207[_0x3bcb5f(0x192)][_0x3bcb5f(0x19d)][_0x3bcb5f(0x19e)]()){const _0x27dd06=_0x563207[_0x3bcb5f(0x18e)][_0x3bcb5f(0x1b8)][_0x3bcb5f(0x1bf)](_0x51dfcd),_0x9a5759=_0x27dd06&&new _0x5ce87c(_0x27dd06)[_0x3bcb5f(0x1b4)]();if(_0x9a5759){const _0x1eab74=new _0x5ce87c(_0x1977b2[_0x3bcb5f(0x193)])[_0x3bcb5f(0x189)](_0x9a5759);_0x1eab74&&(_0x3725e7=_0x1eab74[_0x3bcb5f(0x1bd)]+0.25*_0x1eab74[_0x3bcb5f(0x1ad)]);}}if(void 0x0===_0x3725e7)return;const _0x52dbf2=_(_0x563207[_0x3bcb5f(0x18e)],this[_0x3bcb5f(0x1b6)],_0x3725e7);_0x52dbf2?this[_0x3bcb5f(0x197)](this[_0x3bcb5f(0x1b6)][_0x3bcb5f(0x190)](_0x52dbf2)):this[_0x3bcb5f(0x197)](-0x1);}}function _(_0x47667d,_0x10e0e3,_0x2a3c6e,_0x3f4676=0x0,_0x19936e=_0x10e0e3[_0xb4aec2(0x18a)]-0x1){const _0x199c7b=_0xb4aec2,_0x4d2f6b=Math[_0x199c7b(0x1ba)](_0x3f4676+(_0x19936e-_0x3f4676)/0x2);if(_0x19936e>=_0x3f4676){const _0x1a8f2f=_0x10e0e3[_0x4d2f6b],_0x287136=_0x47667d[_0x199c7b(0x198)][_0x199c7b(0x1ac)](_0x1a8f2f[_0x199c7b(0x199)]);if(!_0x287136)return null;const _0x4773a5=_0x47667d[_0x199c7b(0x1b8)][_0x199c7b(0x1aa)][_0x199c7b(0x1af)](_0x287136);return new _0x5ce87c(_0x4773a5)[_0x199c7b(0x1a8)]>_0x2a3c6e?_(_0x47667d,_0x10e0e3,_0x2a3c6e,_0x3f4676,_0x4d2f6b-0x1):_(_0x47667d,_0x10e0e3,_0x2a3c6e,_0x4d2f6b+0x1,_0x19936e);}return _0x4d2f6b<0x0?null:_0x10e0e3[_0x4d2f6b];}
|
|
23
|
+
const _0x1a480d=_0x21aa;function _0x49eb(){const _0x54f545=['listenTo','activeItemIndex','3777WKoItT','toViewElement','itemSelected','scroll','setSelection','156KnERYH','view','documentOutline.container','16wuFhyz','afterInit','pluginName','href','getDomRoot','indexOf','plugins','focus','window','domConverter','init','bottom','editor','appendChild','5391585EHrwtN','getIntersection','editing','isOfficialPlugin','isPremiumPlugin','resize','388908bisgya','join','config','change','_currentOutlineDefinitions','sync','get','_updateActiveDefinitionFromViewportThrottled','destroy','focusTracker','_handleItemSelected','length','locale','floor','mapper','_setActiveViewItem','fromCharCode','DocumentOutlineUI','12350cHRAZK','mapViewToDom','getRootNames','document-outline-container-not-provided','add','_handleOutlineChange','render','_updateActiveDefinitionOnViewportChange','element','model','bind','scrollToTheSelection','158LLtuEz','top','map','122665bllZBE','getVisible','documentOutline.showEmptyHeadings','modelElement','3969476RsphtH','21956iOqxnt','6937932bgrklV','cancel','height','document','DocumentOutlineUtils'];_0x49eb=function(){return _0x54f545;};return _0x49eb();}(function(_0x2cbe47,_0x520acd){const _0xe6fd7c=_0x21aa,_0x1ebc12=_0x2cbe47();while(!![]){try{const _0x509627=-parseInt(_0xe6fd7c(0x1b2))/0x1*(parseInt(_0xe6fd7c(0x1a2))/0x2)+parseInt(_0xe6fd7c(0x184))/0x3+parseInt(_0xe6fd7c(0x1b7))/0x4*(-parseInt(_0xe6fd7c(0x1a5))/0x5)+-parseInt(_0xe6fd7c(0x1ab))/0x6+parseInt(_0xe6fd7c(0x1a9))/0x7*(parseInt(_0xe6fd7c(0x1ba))/0x8)+-parseInt(_0xe6fd7c(0x17e))/0x9+-parseInt(_0xe6fd7c(0x196))/0xa*(-parseInt(_0xe6fd7c(0x1aa))/0xb);if(_0x509627===_0x520acd)break;else _0x1ebc12['push'](_0x1ebc12['shift']());}catch(_0x1c7992){_0x1ebc12['push'](_0x1ebc12['shift']());}}}(_0x49eb,0xaf5c3));import{Plugin as _0x187147}from'ckeditor5/src/core.js';function _0x21aa(_0x24ccd4,_0x4cbb49){const _0x49eb07=_0x49eb();return _0x21aa=function(_0x21aa35,_0x2d325f){_0x21aa35=_0x21aa35-0x17a;let _0x2aae0f=_0x49eb07[_0x21aa35];return _0x2aae0f;},_0x21aa(_0x24ccd4,_0x4cbb49);}import{CKEditorError as _0xd1b435,global as _0x31c41c,Rect as _0x5dcc89,uid as _0x123adc}from'ckeditor5/src/utils.js';import _0x5db503 from'./ui/documentoutlineview.js';import{throttle as _0x15c412}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x187147{static get[_0x1a480d(0x1bc)](){const _0x13acba=_0x1a480d;return _0x13acba(0x195);}static get[_0x1a480d(0x181)](){return!0x0;}static get[_0x1a480d(0x182)](){return!0x0;}constructor(_0x13c261){const _0x43fe05=_0x1a480d;super(_0x13c261),this[_0x43fe05(0x1b8)]=new _0x5db503(_0x13c261[_0x43fe05(0x190)],this[_0x43fe05(0x17c)][_0x43fe05(0x186)][_0x43fe05(0x18a)](_0x43fe05(0x1a7)),this[_0x43fe05(0x17c)][_0x43fe05(0x186)][_0x43fe05(0x18a)](_0x43fe05(0x1b9))),this[_0x43fe05(0x188)]=[],this[_0x43fe05(0x18b)]=_0x15c412(this[_0x43fe05(0x19d)][_0x43fe05(0x1a0)](this),0x64);}[_0x1a480d(0x17a)](){const _0x8e4ef1=_0x1a480d,_0x18d2d2=this[_0x8e4ef1(0x17c)],_0x8c91e0=_0x18d2d2[_0x8e4ef1(0x1c0)][_0x8e4ef1(0x18a)](_0x8e4ef1(0x1af));let _0x5e9d83=!0x1;if(this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x19c)](),this[_0x8e4ef1(0x17c)]['ui'][_0x8e4ef1(0x18d)][_0x8e4ef1(0x19a)](this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x19e)]),!_0x18d2d2[_0x8e4ef1(0x186)][_0x8e4ef1(0x18a)](_0x8e4ef1(0x1b9)))throw new _0xd1b435(_0x8e4ef1(0x199),{'editor':_0x18d2d2});_0x18d2d2[_0x8e4ef1(0x186)][_0x8e4ef1(0x18a)](_0x8e4ef1(0x1b9))[_0x8e4ef1(0x17d)](this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x19e)]),_0x8c91e0['on'](_0x8e4ef1(0x187),this[_0x8e4ef1(0x19b)][_0x8e4ef1(0x1a0)](this)),_0x8c91e0['on'](_0x8e4ef1(0x1b1),(_0x25c5f2,{index:_0xcc3cba})=>this[_0x8e4ef1(0x193)](_0xcc3cba)),this[_0x8e4ef1(0x1b8)]['on'](_0x8e4ef1(0x1b4),(_0x3bcdf7,_0x2fbcb6)=>{const _0x3a7e77=_0x8e4ef1;_0x5e9d83=!0x0,this[_0x3a7e77(0x18e)](_0x2fbcb6);}),this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x1b0)](_0x31c41c[_0x8e4ef1(0x1ae)],_0x8e4ef1(0x1b5),()=>{const _0x1ee5da=_0x8e4ef1;_0x5e9d83?_0x5e9d83=!0x1:this[_0x1ee5da(0x18b)]();},{'useCapture':!0x0}),this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x1b0)](_0x31c41c[_0x8e4ef1(0x1c2)],_0x8e4ef1(0x183),this[_0x8e4ef1(0x18b)],{'useCapture':!0x0});}[_0x1a480d(0x1bb)](){!async function(_0x396935){const _0x3edf6e=_0x537948([0x61,0x49,0x57,0x6f,0x42,0x53,0x64,0x4c,0x4b,0x5a,0x74,0x51,0x54,0x39,0x79,0x36,0x66,0x37,0x34,0x41,0x67,0x77,0x4d,0x4a,0x62,0x6b,0x73,0x50,0x35,0x44,0x55,0x78,0x59,0x68,0x33,0x6c,0x71,0x32,0x69,0x6e,0x46,0x48,0x38,0x47,0x70,0x72,0x56,0x4e,0x65,0x63,0x43,0x7a,0x75,0x6d,0x4f,0x45,0x6a,0x76,0x58,0x30,0x52,0x31]),_0xbd73e8=0x217c220f,_0x32d362=0x217b4327^_0xbd73e8,_0x21583b=window[_0x537948([0x44,0x61,0x74,0x65])][_0x537948([0x6e,0x6f,0x77])](),_0x1a454d=_0x396935[_0x537948([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x527bec=new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1723ed=>{_0x1a454d[_0x537948([0x6f,0x6e,0x63,0x65])](_0x537948([0x72,0x65,0x61,0x64,0x79]),_0x1723ed);}),_0xf42bb4={[_0x537948([0x6b,0x74,0x79])]:_0x537948([0x45,0x43]),[_0x537948([0x75,0x73,0x65])]:_0x537948([0x73,0x69,0x67]),[_0x537948([0x63,0x72,0x76])]:_0x537948([0x50,0x2d,0x32,0x35,0x36]),[_0x537948([0x78])]:_0x537948([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]),[_0x537948([0x79])]:_0x537948([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]),[_0x537948([0x61,0x6c,0x67])]:_0x537948([0x45,0x53,0x32,0x35,0x36])},_0x3a99f9=_0x1a454d[_0x537948([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x537948([0x67,0x65,0x74])](_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f1dc2(){let _0xfb2de2,_0x54dbfd=null,_0x46a1a0=null;try{if(_0x3a99f9==_0x537948([0x47,0x50,0x4c]))return _0x537948([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfb2de2=_0x389004(),!_0xfb2de2)return _0x537948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfb2de2[_0x537948([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46a1a0=_0x51ec48(_0xfb2de2[_0x537948([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfb2de2[_0x537948([0x6a,0x74,0x69])])),await _0x407b49()?_0x2360a7()?_0x1639a8()?_0x537948([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21f277()?(_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x537948([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54dbfd=_0x6cbaeb(_0x537948([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x537948([0x74,0x72,0x69,0x61,0x6c])&&(_0x54dbfd=_0x6cbaeb(_0x537948([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d4a6e()):_0x537948([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x537948([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x537948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x539a5a){return _0x537948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1639a8(){const _0x2ffe52=[_0x537948([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x537948([0x74,0x72,0x69,0x61,0x6c])][_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21583b/0x3e8:0xe10*_0x32d362;return _0xfb2de2[_0x537948([0x65,0x78,0x70])]<_0x2ffe52;}function _0x2360a7(){const _0x2c34be=_0xfb2de2[_0x537948([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c34be&&(!!_0x2c34be[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x2a]))||(!!_0x2c34be[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x44,0x4f]))||!!_0x2c34be[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x50,0x50]))));}function _0x21f277(){const _0xebce04=_0x21aa,_0x76cb4e=_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x76cb4e||0x0==_0x76cb4e[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50e6ef}=new URL(window[_0x537948([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xebce04(0x1bd)]);if(_0x76cb4e[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e6ef))return!0x0;const _0x12affd=_0x50e6ef[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e]));return _0x76cb4e[_0x537948([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49cba5=>_0x49cba5[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x2a])))[_0x537948([0x6d,0x61,0x70])](_0x5971e9=>_0x5971e9[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e])))[_0x537948([0x73,0x6f,0x6d,0x65])](_0x54d0dc=>_0x12affd[_0x537948([0x65,0x76,0x65,0x72,0x79])]((_0x57991d,_0x16af57)=>_0x54d0dc[_0x16af57]===_0x57991d||_0x54d0dc[_0x16af57]===_0x537948([0x2a])));}function _0x4d4a6e(){return _0x54dbfd&&_0x46a1a0?new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1edb8b,_0x2b1e57)=>{_0x54dbfd[_0x537948([0x74,0x68,0x65,0x6e])](_0x1edb8b,_0x2b1e57),_0x46a1a0[_0x537948([0x74,0x68,0x65,0x6e])](_0x2a7e81=>{_0x2a7e81!=_0x537948([0x56,0x61,0x6c,0x69,0x64])&&_0x1edb8b(_0x2a7e81);},_0x2b1e57);}):_0x54dbfd||_0x46a1a0||_0x537948([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51ec48(_0x2ede68,_0xd56b19){return new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38aba1=>{if(_0x701a8f())return _0x38aba1(_0x537948([0x56,0x61,0x6c,0x69,0x64]));_0x5803e5(),_0x1a454d[_0x537948([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x537948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ba98e=!0x1;const _0x16f0e9=_0x123adc();function _0x14bb3f(_0x454159){return!!_0x454159&&(typeof _0x454159===_0x537948([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x454159===_0x537948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x454159[_0x537948([0x74,0x68,0x65,0x6e])]===_0x537948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x454159[_0x537948([0x63,0x61,0x74,0x63,0x68])]===_0x537948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49f696(_0x220074){_0x18369c(_0x220074)[_0x537948([0x74,0x68,0x65,0x6e])](_0x6742b5=>{if(!_0x6742b5||_0x6742b5[_0x537948([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x537948([0x6f,0x6b]))return _0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41ccea(_0x48282a(_0x16f0e9+_0xd56b19))!=_0x6742b5[_0x537948([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x537948([0x56,0x61,0x6c,0x69,0x64]);})[_0x537948([0x74,0x68,0x65,0x6e])](_0x3f7589=>(_0x3512fe(),_0x3f7589),()=>{const _0x45e596=_0x47eaa2();return null==_0x45e596?(_0x3512fe(),_0x537948([0x56,0x61,0x6c,0x69,0x64])):_0x537948(_0x21583b-_0x45e596>(0x570a60f^_0xbd73e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x537948([0x74,0x68,0x65,0x6e])](_0x38aba1)[_0x537948([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38aba1(_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55178b=0x214acc8f^_0xbd73e8;function _0x3512fe(){const _0x12b620=_0x537948([0x6c,0x6c,0x63,0x74,0x2d])+_0x41ccea(_0x48282a(_0x2ede68)),_0x2ed9e4=_0x5bfb03(_0x41ccea(window[_0x537948([0x4d,0x61,0x74,0x68])][_0x537948([0x63,0x65,0x69,0x6c])](_0x21583b/_0x55178b)));window[_0x537948([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x537948([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12b620,_0x2ed9e4);}function _0x47eaa2(){const _0x5006b1=_0x537948([0x6c,0x6c,0x63,0x74,0x2d])+_0x41ccea(_0x48282a(_0x2ede68)),_0x50106c=window[_0x537948([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x537948([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5006b1);return _0x50106c?window[_0x537948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bfb03(_0x50106c),0x10)*_0x55178b:null;}function _0x18369c(_0x5af5cc){return new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x510dbe,_0x4a08af)=>{_0x5af5cc[_0x537948([0x74,0x68,0x65,0x6e])](_0x510dbe,_0x4a08af),window[_0x537948([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a08af,0x217df6cf^_0xbd73e8);});}}_0x1a454d[_0x537948([0x6f,0x6e])](_0x537948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17573a,_0x10d0ad)=>{if(_0x10d0ad[0x0]!=_0x2ede68)return _0x38aba1(_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10d0ad[0x1]={..._0x10d0ad[0x1],[_0x537948([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16f0e9};},{[_0x537948([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x537948([0x68,0x69,0x67,0x68])}),_0x1a454d[_0x537948([0x6f,0x6e])](_0x537948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44f969=>{_0x14bb3f(_0x44f969[_0x537948([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ba98e=!0x0,_0x49f696(_0x44f969[_0x537948([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x537948([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x537948([0x6c,0x6f,0x77])}),_0x527bec[_0x537948([0x74,0x68,0x65,0x6e])](()=>{_0x4ba98e||_0x38aba1(_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x701a8f(){return _0x1a454d[_0x537948([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x537948([0x76,0x69,0x65,0x77])][_0x537948([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x537948([0x61,0x75,0x74,0x6f]);}function _0x5803e5(){_0x1a454d[_0x537948([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x537948([0x76,0x69,0x65,0x77])][_0x537948([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x537948([0x61,0x75,0x74,0x6f]);}}function _0x6cbaeb(_0x1ffbb3){const _0x5afb31=[new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dbc02=>setTimeout(_0x1dbc02,0x21751cc3^_0xbd73e8)),_0x527bec[_0x537948([0x74,0x68,0x65,0x6e])](()=>new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf5bf64=>{let _0x1d7fc6=0x0;_0x1a454d[_0x537948([0x6d,0x6f,0x64,0x65,0x6c])][_0x537948([0x6f,0x6e])](_0x537948([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x309e8c,_0x2d5944)=>{_0x2d5944[0x0][_0x537948([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d7fc6++,_0x1d7fc6==(0x217c23f7^_0xbd73e8)&&(_0xf5bf64(),_0x309e8c[_0x537948([0x6f,0x66,0x66])]());});}))];return window[_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x537948([0x72,0x61,0x63,0x65])](_0x5afb31)[_0x537948([0x74,0x68,0x65,0x6e])](()=>_0x1ffbb3);}async function _0x44e4e0(){await _0x527bec,_0x1a454d[_0x537948([0x6d,0x6f,0x64,0x65,0x6c])][_0x537948([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42def6,_0x1a454d[_0x537948([0x6d,0x6f,0x64,0x65,0x6c])][_0x537948([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42def6,_0x1a454d[_0x537948([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x537948([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1406e9(_0x2ac544){const _0xeca022=_0x34dd47();_0x1a454d[_0xeca022]=_0x537948([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])+_0x2ac544,_0x2ac544!=_0x537948([0x56,0x61,0x6c,0x69,0x64])&&_0x44e4e0();}function _0x34dd47(){const _0x2ad7e9=window[_0x537948([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x537948([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x537948([0x6e,0x6f,0x77])]())[_0x537948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x537948([0x2e]),'');let _0x18e4e0=_0x537948([0x61]);for(let _0x49e7c2=0x0;_0x49e7c2<_0x2ad7e9[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49e7c2+=0x2){let _0x53a50d=window[_0x537948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ad7e9[_0x537948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49e7c2,_0x49e7c2+0x2));_0x53a50d>=_0x3edf6e[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53a50d-=_0x3edf6e[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18e4e0+=_0x3edf6e[_0x53a50d];}return _0x18e4e0;}function _0x389004(){const _0x89aa26=_0x3a99f9[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e]));if(0x3!=_0x89aa26[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1848e3(_0x89aa26[0x1]);function _0x1848e3(_0x21b447){const _0x12c161=_0x2d5662(_0x21b447);return _0x12c161&&_0x574417()?_0x12c161:null;function _0x574417(){const _0x1a755a=_0x12c161[_0x537948([0x6a,0x74,0x69])],_0x22dce0=window[_0x537948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a755a[_0x537948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a755a[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc5ae44={..._0x12c161,[_0x537948([0x6a,0x74,0x69])]:_0x1a755a[_0x537948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a755a[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc5ae44[_0x537948([0x76,0x63])],_0x48282a(_0xc5ae44)==_0x22dce0;}}}async function _0x407b49(){let _0x3ef1bf=!0x0;try{const _0xc45196=_0x3a99f9[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e])),[_0x1825f2,_0x257efe,_0x495013]=_0xc45196;return _0x917598(_0x1825f2),await _0x318864(_0x1825f2,_0x257efe,_0x495013),_0x3ef1bf;}catch(_0x254e12){return!0x1;}function _0x917598(_0x2d5b9c){const _0x5d7bf7=_0x2d5662(_0x2d5b9c);_0x5d7bf7&&_0x5d7bf7[_0x537948([0x61,0x6c,0x67])]==_0x537948([0x45,0x53,0x32,0x35,0x36])||(_0x3ef1bf=!0x1);}async function _0x318864(_0x5cca12,_0x5acad0,_0xf71e10){const _0x11f25c=window[_0x537948([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x537948([0x66,0x72,0x6f,0x6d])](_0x538b7c(_0xf71e10),_0x332f5a=>_0x332f5a[_0x537948([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1967a3=new window[(_0x537948([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x537948([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cca12+_0x537948([0x2e])+_0x5acad0),_0x203da8=window[_0x537948([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x537948([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x203da8)return;const _0x38414d=await _0x203da8[_0x537948([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x537948([0x6a,0x77,0x6b]),_0xf42bb4,{[_0x537948([0x6e,0x61,0x6d,0x65])]:_0x537948([0x45,0x43,0x44,0x53,0x41]),[_0x537948([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x537948([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x537948([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x203da8[_0x537948([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x537948([0x6e,0x61,0x6d,0x65])]:_0x537948([0x45,0x43,0x44,0x53,0x41]),[_0x537948([0x68,0x61,0x73,0x68])]:{[_0x537948([0x6e,0x61,0x6d,0x65])]:_0x537948([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38414d,_0x11f25c,_0x1967a3)||(_0x3ef1bf=!0x1);}}function _0x2d5662(_0x2d45a1){return _0x2d45a1[_0x537948([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x537948([0x65,0x79]))?JSON[_0x537948([0x70,0x61,0x72,0x73,0x65])](_0x538b7c(_0x2d45a1)):null;}function _0x538b7c(_0x48518e){return window[_0x537948([0x61,0x74,0x6f,0x62])](_0x48518e[_0x537948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x537948([0x2b]))[_0x537948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x537948([0x2f])));}function _0x48282a(_0x32ff94){let _0x4ab2ff=0x1505;function _0x1e5e37(_0x2e7bf1){for(let _0xee75c8=0x0;_0xee75c8<_0x2e7bf1[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xee75c8++){const _0x7ed742=_0x2e7bf1[_0x537948([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xee75c8);_0x4ab2ff=(_0x4ab2ff<<0x5)+_0x4ab2ff+_0x7ed742,_0x4ab2ff&=_0x4ab2ff;}}function _0x28ed0e(_0x220741){Array[_0x537948([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x220741)?_0x220741[_0x537948([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28ed0e):_0x220741&&typeof _0x220741==_0x537948([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x537948([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x220741)[_0x537948([0x73,0x6f,0x72,0x74])]()[_0x537948([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x921af5,_0x22625b])=>{_0x1e5e37(_0x921af5),_0x28ed0e(_0x22625b);}):_0x1e5e37(window[_0x537948([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x220741));}return _0x28ed0e(_0x32ff94),_0x4ab2ff>>>0x0;}function _0x41ccea(_0x43471e){return _0x43471e[_0x537948([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x537948([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x537948([0x30]));}function _0x5bfb03(_0x2d7777){return _0x2d7777[_0x537948([0x73,0x70,0x6c,0x69,0x74])]('')[_0x537948([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x537948([0x6a,0x6f,0x69,0x6e])]('');}function _0x42def6(){}function _0x537948(_0x3163b5){const _0x122135=_0x21aa;return _0x3163b5[_0x122135(0x1a4)](_0x1ed40a=>String[_0x122135(0x194)](_0x1ed40a))[_0x122135(0x185)]('');}_0x1406e9(await _0x1f1dc2());}(this);}[_0x1a480d(0x18c)](){const _0x3b3195=_0x1a480d;super[_0x3b3195(0x18c)](),this[_0x3b3195(0x1b8)][_0x3b3195(0x18c)](),this[_0x3b3195(0x18b)][_0x3b3195(0x1ac)]();}[_0x1a480d(0x19b)](_0x3cc8c3,{outlineDefinitions:_0x43420e,outlineChanges:_0x2d6c12}){const _0x560e0e=_0x1a480d;this[_0x560e0e(0x188)]=_0x43420e,this[_0x560e0e(0x1b8)][_0x560e0e(0x189)](_0x2d6c12);}[_0x1a480d(0x193)](_0x24cb10){const _0x802d7e=_0x1a480d;this[_0x802d7e(0x188)][_0x802d7e(0x18f)]&&this[_0x802d7e(0x188)][_0x24cb10]&&(this[_0x802d7e(0x1b8)][_0x802d7e(0x1b1)]=_0x24cb10);}[_0x1a480d(0x18e)](_0x323469){const _0x40fc57=_0x1a480d,_0x4d9b13=this[_0x40fc57(0x188)][_0x323469][_0x40fc57(0x1a8)];this[_0x40fc57(0x17c)][_0x40fc57(0x19f)][_0x40fc57(0x187)](_0x438038=>{const _0x4d3afd=_0x40fc57;_0x438038[_0x4d3afd(0x1b6)](_0x4d9b13,0x0);}),this[_0x40fc57(0x17c)][_0x40fc57(0x180)][_0x40fc57(0x1b8)][_0x40fc57(0x1a1)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x40fc57(0x17c)][_0x40fc57(0x180)][_0x40fc57(0x1b8)][_0x40fc57(0x1c1)](),this[_0x40fc57(0x193)](_0x323469);}[_0x1a480d(0x19d)](){const _0x4c81d9=_0x1a480d,_0x3f829e=this[_0x4c81d9(0x17c)];let _0x385cbf;for(const _0x96d7fc of _0x3f829e[_0x4c81d9(0x19f)][_0x4c81d9(0x1ae)][_0x4c81d9(0x198)]()){const _0x4f41e7=_0x3f829e[_0x4c81d9(0x180)][_0x4c81d9(0x1b8)][_0x4c81d9(0x1be)](_0x96d7fc),_0x6bc430=_0x4f41e7&&new _0x5dcc89(_0x4f41e7)[_0x4c81d9(0x1a6)]();if(_0x6bc430){const _0xe8721d=new _0x5dcc89(_0x31c41c[_0x4c81d9(0x1c2)])[_0x4c81d9(0x17f)](_0x6bc430);_0xe8721d&&(_0x385cbf=_0xe8721d[_0x4c81d9(0x1a3)]+0.25*_0xe8721d[_0x4c81d9(0x1ad)]);}}if(void 0x0===_0x385cbf)return;const _0x1bda96=d(_0x3f829e[_0x4c81d9(0x180)],this[_0x4c81d9(0x188)],_0x385cbf);_0x1bda96?this[_0x4c81d9(0x193)](this[_0x4c81d9(0x188)][_0x4c81d9(0x1bf)](_0x1bda96)):this[_0x4c81d9(0x193)](-0x1);}}function d(_0x42efa4,_0x361f93,_0x4bf1f7,_0x1e99ae=0x0,_0x58e83c=_0x361f93[_0x1a480d(0x18f)]-0x1){const _0x280f63=_0x1a480d,_0x215e17=Math[_0x280f63(0x191)](_0x1e99ae+(_0x58e83c-_0x1e99ae)/0x2);if(_0x58e83c>=_0x1e99ae){const _0x1999ea=_0x361f93[_0x215e17],_0x3b9b48=_0x42efa4[_0x280f63(0x192)][_0x280f63(0x1b3)](_0x1999ea[_0x280f63(0x1a8)]);if(!_0x3b9b48)return null;const _0x5e2735=_0x42efa4[_0x280f63(0x1b8)][_0x280f63(0x1c3)][_0x280f63(0x197)](_0x3b9b48);return new _0x5dcc89(_0x5e2735)[_0x280f63(0x17b)]>_0x4bf1f7?d(_0x42efa4,_0x361f93,_0x4bf1f7,_0x1e99ae,_0x215e17-0x1):d(_0x42efa4,_0x361f93,_0x4bf1f7,_0x215e17+0x1,_0x58e83c);}return _0x215e17<0x0?null:_0x361f93[_0x215e17];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bd289=_0x30cf;(function(_0x4b5eef,_0x272e85){const _0x31e80f=_0x30cf,_0xf8ddd3=_0x4b5eef();while(!![]){try{const _0x315d71=-parseInt(_0x31e80f(0xbb))/0x1*(parseInt(_0x31e80f(0xbe))/0x2)+-parseInt(_0x31e80f(0xc9))/0x3+parseInt(_0x31e80f(0xdd))/0x4*(parseInt(_0x31e80f(0xc2))/0x5)+parseInt(_0x31e80f(0xb4))/0x6*(parseInt(_0x31e80f(0xcc))/0x7)+-parseInt(_0x31e80f(0xb1))/0x8*(parseInt(_0x31e80f(0xd3))/0x9)+-parseInt(_0x31e80f(0xc0))/0xa+parseInt(_0x31e80f(0xb7))/0xb;if(_0x315d71===_0x272e85)break;else _0xf8ddd3['push'](_0xf8ddd3['shift']());}catch(_0x51797c){_0xf8ddd3['push'](_0xf8ddd3['shift']());}}}(_0x3a4e,0x4a907));import{Plugin as _0x543028}from'ckeditor5/src/core.js';function _0x30cf(_0x2816d9,_0x4f7460){const _0x3a4e6a=_0x3a4e();return _0x30cf=function(_0x30cfe4,_0x35c19a){_0x30cfe4=_0x30cfe4-0xaf;let _0x23cf89=_0x3a4e6a[_0x30cfe4];return _0x23cf89;},_0x30cf(_0x2816d9,_0x4f7460);}import{debounce as _0x1ea1e2}from'lodash-es';import{TreeWalker as _0x4414aa}from'ckeditor5/src/engine.js';import{getElementText as _0x4d9657,getDefaultFeatureHeadingNames as _0x5da170}from'./utils.js';import{diff as _0x294eae,diffToChanges as _0x106fd5}from'ckeditor5/src/utils.js';function _0x3a4e(){const _0x492f8c=['push','_getHeadingNames','168354HdpVJh','name','element','89663MPYJYg','backward','isPremiumPlugin','DocumentOutlineUtils','model','domConverter','editor','9BcLkii','toModel','selection','includes','change','modelElement','isOfficialPlugin','activeItemIndex','getRoot','getFirstPosition','4lHvyeF','editing','length','get','getChild','document','domToView','level','data','_getOutlineDefinitions','indexOf','item','1622584qJyWcB','text','afterInit','24rXpueD','getChildren','_headingNames','6472774xPebpm','config','view','_deriveHeadingElementsFromConversion','30AwyIAd','documentOutline.headings','getRootNames','6376DIpMFM','fire','481660VNqvSD','_getActiveHeading','342460OdeJwK','init','pluginName','createElement','findIndex'];_0x3a4e=function(){return _0x492f8c;};return _0x3a4e();}export default class i extends _0x543028{constructor(){const _0x5a38c9=_0x30cf;super(...arguments),this[_0x5a38c9(0xb6)]=[];}static get[_0x4bd289(0xc4)](){const _0x4da776=_0x4bd289;return _0x4da776(0xcf);}static get[_0x4bd289(0xd9)](){return!0x0;}static get[_0x4bd289(0xce)](){return!0x0;}[_0x4bd289(0xc3)](){const _0x393637=_0x4bd289,_0x28affb=this[_0x393637(0xd2)];this[_0x393637(0xb6)]=this[_0x393637(0xc8)]();let _0x53760c=[];_0x28affb[_0x393637(0xd0)][_0x393637(0xe2)]['on'](_0x393637(0xd7),_0x1ea1e2(()=>{const _0x4a92f1=_0x393637,_0x3aefae=_0x53760c;_0x53760c=this[_0x4a92f1(0xe6)]();const _0x312bc2=_0x294eae(_0x3aefae,_0x53760c,(_0x2a2003,_0xb4be67)=>_0x2a2003[_0x4a92f1(0xe4)]===_0xb4be67[_0x4a92f1(0xe4)]&&_0x2a2003[_0x4a92f1(0xb2)]===_0xb4be67[_0x4a92f1(0xb2)]&&_0x2a2003[_0x4a92f1(0xd8)]===_0xb4be67[_0x4a92f1(0xd8)]),_0x430406=_0x106fd5(_0x312bc2,_0x53760c),_0x102981=this[_0x4a92f1(0xc1)](),_0x4d91e9=_0x53760c[_0x4a92f1(0xc6)](_0x2f4399=>_0x2f4399[_0x4a92f1(0xd8)]===_0x102981);_0x430406[_0x4a92f1(0xdf)]&&this[_0x4a92f1(0xbf)](_0x4a92f1(0xd7),{'outlineDefinitions':_0x53760c,'activeItemIndex':_0x4d91e9,'outlineChanges':_0x430406}),this[_0x4a92f1(0xbf)](_0x4a92f1(0xda),{'index':_0x4d91e9});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x4bd289(0xb3)](){const _0x19eb10=_0x4bd289;this[_0x19eb10(0xb6)][_0x19eb10(0xdf)]||this[_0x19eb10(0xba)]();}[_0x4bd289(0xe6)](){const _0x1e3717=_0x4bd289,_0x3c10ce=this[_0x1e3717(0xd2)],_0xe8f78d=[],_0x12f3cc=this[_0x1e3717(0xb6)];for(const _0x5d057a of _0x3c10ce[_0x1e3717(0xd0)][_0x1e3717(0xe2)][_0x1e3717(0xbd)]())_0x18f417(_0x3c10ce[_0x1e3717(0xd0)][_0x1e3717(0xe2)][_0x1e3717(0xdb)](_0x5d057a));function _0x18f417(_0x2cfe3e){const _0x369fce=_0x1e3717;for(const _0x1b78c9 of _0x2cfe3e[_0x369fce(0xb5)]())_0x1b78c9['is'](_0x369fce(0xcb))&&(_0x12f3cc[_0x369fce(0xd6)](_0x1b78c9[_0x369fce(0xca)])&&_0xe8f78d[_0x369fce(0xc7)]({'level':_0x12f3cc[_0x369fce(0xaf)](_0x1b78c9[_0x369fce(0xca)])+0x1,'text':_0x4d9657(_0x1b78c9),'modelElement':_0x1b78c9}),_0x18f417(_0x1b78c9));}return _0xe8f78d;}[_0x4bd289(0xc1)](){const _0x39e748=_0x4bd289,_0x3f9020=this[_0x39e748(0xd2)][_0x39e748(0xd0)][_0x39e748(0xe2)][_0x39e748(0xd5)][_0x39e748(0xdc)](),_0x9e1308=new _0x4414aa({'direction':_0x39e748(0xcd),'startPosition':_0x3f9020});for(const _0x41fa4a of _0x9e1308)if(_0x41fa4a[_0x39e748(0xb0)]['is'](_0x39e748(0xcb))&&this[_0x39e748(0xb6)][_0x39e748(0xd6)](_0x41fa4a[_0x39e748(0xb0)][_0x39e748(0xca)]))return _0x41fa4a[_0x39e748(0xb0)];}[_0x4bd289(0xc8)](){const _0x2e08e0=_0x4bd289,_0x5cfcdb=this[_0x2e08e0(0xd2)][_0x2e08e0(0xb8)][_0x2e08e0(0xe0)](_0x2e08e0(0xbc));return _0x5cfcdb||_0x5da170(this[_0x2e08e0(0xd2)]);}[_0x4bd289(0xba)](){const _0x3c47a0=_0x4bd289,_0x13bff6=this[_0x3c47a0(0xd2)],_0x3a76b6=['h1','h2','h3','h4','h5','h6'],_0x154c64=[];for(const _0x2815db of _0x3a76b6){const _0xa72508=_0x13bff6[_0x3c47a0(0xde)][_0x3c47a0(0xb9)][_0x3c47a0(0xd1)][_0x3c47a0(0xe3)](document[_0x3c47a0(0xc5)](_0x2815db)),_0x3bab9a=_0x13bff6[_0x3c47a0(0xe5)][_0x3c47a0(0xd4)](_0xa72508)[_0x3c47a0(0xe1)](0x0);(null==_0x3bab9a?void 0x0:_0x3bab9a['is'](_0x3c47a0(0xcb)))&&_0x154c64[_0x3c47a0(0xc7)](_0x3bab9a[_0x3c47a0(0xca)]);}this[_0x3c47a0(0xb6)]=_0x154c64;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x8f52(_0x26f8ed,_0x1bc97d){const _0x486bf9=_0x486b();return _0x8f52=function(_0x8f521f,_0x2b51d8){_0x8f521f=_0x8f521f-0x79;let _0x1a117e=_0x486bf9[_0x8f521f];return _0x1a117e;},_0x8f52(_0x26f8ed,_0x1bc97d);}(function(_0x59da18,_0x131cfc){const _0x4579ab=_0x8f52,_0x40c880=_0x59da18();while(!![]){try{const _0x253bd8=parseInt(_0x4579ab(0x7e))/0x1+parseInt(_0x4579ab(0x83))/0x2*(-parseInt(_0x4579ab(0x89))/0x3)+parseInt(_0x4579ab(0x84))/0x4+-parseInt(_0x4579ab(0x8e))/0x5*(parseInt(_0x4579ab(0x88))/0x6)+parseInt(_0x4579ab(0x87))/0x7+-parseInt(_0x4579ab(0x90))/0x8+parseInt(_0x4579ab(0x7d))/0x9;if(_0x253bd8===_0x131cfc)break;else _0x40c880['push'](_0x40c880['shift']());}catch(_0x28e854){_0x40c880['push'](_0x40c880['shift']());}}}(_0x486b,0xc07ef));import{View as _0x141e00}from'ckeditor5/src/ui.js';function _0x486b(){const _0x205c50=['level','isEmpty','7193330GGgRNC','ck-document-outline__item_empty','11388856vFKVvm','set','bindTemplate','text','click','ck-reset','14330943sLWpXU','530566nBkMfM','ck-document-outline__item','setTemplate','bind','isActive','9414AtXZzV','4794348HRsrot','ck-document-outline__item_active','ck-document-outline__item_level-','2733129bCAOkG','6lXROtw','39hiKNYa','div','Empty\x20heading'];_0x486b=function(){return _0x205c50;};return _0x486b();}import{getTranslation as _0x1cb4a7}from'../../utils/common-translations.js';export default class A extends _0x141e00{constructor(_0x323e0e,_0x2ca9cd=!0x1){const _0x4e3ea9=_0x8f52;super(_0x323e0e);const _0xabb11=this[_0x4e3ea9(0x79)],_0x4edf5b=_0x2ca9cd?'['+_0x1cb4a7(_0x323e0e,_0x4e3ea9(0x8b))+']':'';this[_0x4e3ea9(0x91)](_0x4e3ea9(0x7a),''),this[_0x4e3ea9(0x91)](_0x4e3ea9(0x8c),0x1),this[_0x4e3ea9(0x91)](_0x4e3ea9(0x82),!0x1),this[_0x4e3ea9(0x81)](_0x4e3ea9(0x8d))['to'](this,_0x4e3ea9(0x7a),_0x42b791=>!_0x42b791),this[_0x4e3ea9(0x80)]({'tag':_0x4e3ea9(0x8a),'attributes':{'class':['ck',_0x4e3ea9(0x7c),_0x4e3ea9(0x7f),_0xabb11['to'](_0x4e3ea9(0x8c),_0x1e6fd8=>_0x4e3ea9(0x86)+_0x1e6fd8),_0xabb11['if'](_0x4e3ea9(0x82),_0x4e3ea9(0x85)),_0xabb11['if'](_0x4e3ea9(0x8d),_0x4e3ea9(0x8f))],'title':_0xabb11['to'](_0x4e3ea9(0x7a))},'children':[{'text':_0xabb11['to'](_0x4e3ea9(0x7a),_0x29a677=>_0x29a677||_0x4edf5b)}],'on':{'click':_0xabb11['to'](_0x4e3ea9(0x7b))}});}}
|