@ckeditor/ckeditor5-document-outline 44.1.0-alpha.0 → 44.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xf6a2a,Command as _0x22e73d}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x4f3847,throttle as _0x58b3b1}from'lodash-es';import{Text as _0x408e68,TreeWalker as _0x64a8b8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x13667d,diffToChanges as _0x49ce71,scrollAncestorsToShowTarget as _0x298de4,CKEditorError as _0x2f8406,global as _0x4d6465,Rect as _0x381860,uid as _0x16ed90,priorities as _0x3322c3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x3eb87d,ButtonView as _0x53ebd3,MenuBarMenuListItemButtonView as _0xfc30af}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x2cb74a,toWidget as _0x150a0b}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x37bca7}from'ckeditor5-collaboration/dist/index.js';function k(_0x36feca){let _0x3557ed='';for(const _0x3f71a1 of _0x36feca['getChildren']())_0x3f71a1 instanceof _0x408e68&&(_0x3557ed+=_0x3f71a1['data']);return _0x3557ed;}class i extends _0xf6a2a{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x2b0fed=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x25ebca=[];_0x2b0fed['model']['document']['on']('change',_0x4f3847(()=>{const _0x36dad7=_0x25ebca;_0x25ebca=this['_getOutlineDefinitions']();const _0x4b1c41=_0x13667d(_0x36dad7,_0x25ebca,(_0x27d653,_0x51c9db)=>_0x27d653['level']===_0x51c9db['level']&&_0x27d653['text']===_0x51c9db['text']&&_0x27d653['modelElement']===_0x51c9db['modelElement']),_0x3051d9=_0x49ce71(_0x4b1c41,_0x25ebca),_0x464b7b=this['_getActiveHeading'](),_0x48db11=_0x25ebca['findIndex'](_0x58772e=>_0x58772e['modelElement']===_0x464b7b);_0x3051d9['length']&&this['fire']('change',{'outlineDefinitions':_0x25ebca,'activeItemIndex':_0x48db11,'outlineChanges':_0x3051d9}),this['fire']('activeItemIndex',{'index':_0x48db11});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x9205cf=this['editor'],_0x527409=[],_0x48182a=this['_headingNames'];for(const _0x4b2795 of _0x9205cf['model']['document']['getRootNames']())_0x3660c0(_0x9205cf['model']['document']['getRoot'](_0x4b2795));function _0x3660c0(_0x476e58){for(const _0x24560 of _0x476e58['getChildren']())_0x24560['is']('element')&&(_0x48182a['includes'](_0x24560['name'])&&_0x527409['push']({'level':_0x48182a['indexOf'](_0x24560['name'])+0x1,'text':k(_0x24560),'modelElement':_0x24560}),_0x3660c0(_0x24560));}return _0x527409;}['_getActiveHeading'](){const _0x20fc51=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x59f958=new _0x64a8b8({'direction':'backward','startPosition':_0x20fc51});for(const _0x1bcd46 of _0x59f958)if(_0x1bcd46['item']['is']('element')&&this['_headingNames']['includes'](_0x1bcd46['item']['name']))return _0x1bcd46['item'];}['_getHeadingNames'](){const _0x1bcc7d=this['editor']['config']['get']('documentOutline.headings');return _0x1bcc7d||function(_0x371b0c){const _0x459c57=_0x371b0c['config']['get']('heading.options');return _0x459c57?_0x459c57['reduce']((_0x824e83,_0x256837)=>('paragraph'!==_0x256837['model']&&_0x824e83['push'](_0x256837['model']),_0x824e83),[]):_0x371b0c['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x406096=this['editor'],_0x1325cd=['h1','h2','h3','h4','h5','h6'],_0x4f6f0f=[];for(const _0xe3efe6 of _0x1325cd){const _0x3b27ad=_0x406096['editing']['view']['domConverter']['domToView'](document['createElement'](_0xe3efe6)),_0x4f698f=_0x406096['data']['toModel'](_0x3b27ad)['getChild'](0x0);_0x4f698f?.['is']('element')&&_0x4f6f0f['push'](_0x4f698f['name']);}this['_headingNames']=_0x4f6f0f;}}function b(_0x46179f,_0x47d5dc){const t=_0x46179f['t'];switch(_0x47d5dc){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 _0x47d5dc;}}class $ extends _0x3eb87d{constructor(_0x3d8a7c,_0x3d9347=!0x1){super(_0x3d8a7c);const _0x111cba=this['bindTemplate'],_0x3c350c=_0x3d9347?'['+b(_0x3d8a7c,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x8631=>!_0x8631),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x111cba['to']('level',_0xf2b6d=>'ck-document-outline__item_level-'+_0xf2b6d),_0x111cba['if']('isActive','ck-document-outline__item_active'),_0x111cba['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x111cba['to']('text')},'children':[{'text':_0x111cba['to']('text',_0x22a145=>_0x22a145||_0x3c350c)}],'on':{'click':_0x111cba['to']('click')}});}}class I extends _0x3eb87d{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x3f44bb,_0x15840f=!0x1,_0x28320d){super(_0x3f44bb),this['showEmptyHeadingText']=_0x15840f,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x28320d,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xc2c413,_0x475d89,_0xf7a161,_0x3d03e3)=>{this['_setActiveItem'](_0x3d03e3,_0xf7a161);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3f44bb['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x3f44bb,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x2a1146){_0x2a1146['forEach'](_0x3aa702=>{'insert'==_0x3aa702['type']?this['_insertItem'](_0x3aa702['index'],..._0x3aa702['values']):'delete'==_0x3aa702['type']&&this['_deleteItem'](_0x3aa702['index'],_0x3aa702['howMany']);});}['_setActiveItem'](_0x5d5690,_0xa81433){if(-0x1!==_0x5d5690){const _0x59f629=this['items']['get'](_0x5d5690);_0x59f629&&(_0x59f629['isActive']=!0x1);}-0x1!==_0xa81433&&(this['items']['get'](_0xa81433)['isActive']=!0x0,this['_scrollToItem'](_0xa81433));}['_insertItem'](_0x20fa4e,..._0x1f637c){const _0x3884e3=_0x1f637c['map']((_0x2c5c59,_0x6f6fc5)=>{const _0x4c210c=new $(this['locale'],this['showEmptyHeadingText']);return _0x4c210c['text']=_0x2c5c59['text'],_0x4c210c['level']=_0x2c5c59['level'],_0x20fa4e+_0x6f6fc5===this['activeItemIndex']&&(_0x4c210c['isActive']=!0x0),_0x4c210c;});this['items']['addMany'](_0x3884e3,_0x20fa4e);}['_deleteItem'](_0x1ef615,_0x15ab28){do{this['items']['remove'](_0x1ef615);}while(--_0x15ab28);}['_handleItemClick'](_0x586ea8){const _0x51c0bb=this['items']['getIndex'](_0x586ea8['source']);this['fire']('itemSelected',_0x51c0bb);}['_scrollToItem'](_0x1b790c){_0x298de4(this['items']['get'](_0x1b790c)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0xf6a2a{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3652c0){super(_0x3652c0),this['view']=new I(_0x3652c0['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x58b3b1(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x5d0d64=this['editor'],_0x26669f=_0x5d0d64['plugins']['get']('DocumentOutlineUtils');let _0x191de6=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x5d0d64['config']['get']('documentOutline.container'))throw new _0x2f8406('document-outline-container-not-provided',{'editor':_0x5d0d64});_0x5d0d64['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x26669f['on']('change',this['_handleOutlineChange']['bind'](this)),_0x26669f['on']('activeItemIndex',(_0x5de57b,{index:_0x22d00a})=>this['_setActiveViewItem'](_0x22d00a)),this['view']['on']('itemSelected',(_0x38189d,_0x5b18f5)=>{_0x191de6=!0x0,this['_handleItemSelected'](_0x5b18f5);}),this['view']['listenTo'](_0x4d6465['document'],'scroll',()=>{_0x191de6?_0x191de6=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x4d6465['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x316388){const _0x3bcfad=_0x19fa30([0x30,0x33,0x4e,0x4a,0x67,0x72,0x37,0x47,0x6a,0x44,0x4b,0x52,0x71,0x76,0x79,0x57,0x61,0x6f,0x32,0x48,0x6b,0x36,0x64,0x6e,0x63,0x54,0x38,0x74,0x68,0x55,0x31,0x50,0x43,0x6d,0x45,0x70,0x56,0x39,0x51,0x73,0x35,0x4f,0x49,0x65,0x62,0x58,0x59,0x41,0x78,0x34,0x42,0x4d,0x77,0x4c,0x46,0x7a,0x53,0x6c,0x66,0x75,0x5a,0x69]),_0x1687e5=0x319d89fd,_0x2e7555=0x319ad09d^_0x1687e5,_0x51c961=window[_0x19fa30([0x44,0x61,0x74,0x65])][_0x19fa30([0x6e,0x6f,0x77])](),_0x41ba34=_0x316388[_0x19fa30([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d1baa=new window[(_0x19fa30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x508fad=>{_0x41ba34[_0x19fa30([0x6f,0x6e,0x63,0x65])](_0x19fa30([0x72,0x65,0x61,0x64,0x79]),_0x508fad);}),_0x3e7fd2={[_0x19fa30([0x6b,0x74,0x79])]:_0x19fa30([0x45,0x43]),[_0x19fa30([0x75,0x73,0x65])]:_0x19fa30([0x73,0x69,0x67]),[_0x19fa30([0x63,0x72,0x76])]:_0x19fa30([0x50,0x2d,0x32,0x35,0x36]),[_0x19fa30([0x78])]:_0x19fa30([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]),[_0x19fa30([0x79])]:_0x19fa30([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]),[_0x19fa30([0x61,0x6c,0x67])]:_0x19fa30([0x45,0x53,0x32,0x35,0x36])},_0x3ee287=_0x41ba34[_0x19fa30([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x19fa30([0x67,0x65,0x74])](_0x19fa30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5337e3(){let _0x5b920e,_0x31a4eb=null,_0x5dc0a4=null;try{if(_0x3ee287==_0x19fa30([0x47,0x50,0x4c]))return _0x19fa30([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b920e=_0x21c6a3(),!_0x5b920e)return _0x19fa30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b920e[_0x19fa30([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dc0a4=_0x14f70c(_0x5b920e[_0x19fa30([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b920e[_0x19fa30([0x6a,0x74,0x69])])),await _0xc4bb87()?_0x3097bf()?_0x12faa7()?_0x19fa30([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x33f7b3()?(_0x5b920e[_0x19fa30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19fa30([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31a4eb=_0x37a2f8(_0x19fa30([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b920e[_0x19fa30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19fa30([0x74,0x72,0x69,0x61,0x6c])&&(_0x31a4eb=_0x37a2f8(_0x19fa30([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b920e[_0x19fa30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x19fa30([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x31a4eb=_0x37a2f8(_0x19fa30([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39fdbe()):_0x19fa30([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x19fa30([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x19fa30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x48cc23){return _0x19fa30([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12faa7(){const _0x27949d=[_0x19fa30([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x19fa30([0x74,0x72,0x69,0x61,0x6c])][_0x19fa30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b920e[_0x19fa30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51c961/0x3e8:0xe10*_0x2e7555;return _0x5b920e[_0x19fa30([0x65,0x78,0x70])]<_0x27949d;}function _0x3097bf(){const _0x5200c3=_0x5b920e[_0x19fa30([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5200c3&&(!!_0x5200c3[_0x19fa30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19fa30([0x2a]))||(!!_0x5200c3[_0x19fa30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19fa30([0x44,0x4f]))||!!_0x5200c3[_0x19fa30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19fa30([0x50,0x50]))));}function _0x33f7b3(){const _0x370bb3=_0x5b920e[_0x19fa30([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x370bb3||0x0==_0x370bb3[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8ca66}=new URL(window[_0x19fa30([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x370bb3[_0x19fa30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8ca66))return!0x0;const _0x4d8007=_0x8ca66[_0x19fa30([0x73,0x70,0x6c,0x69,0x74])](_0x19fa30([0x2e]));return _0x370bb3[_0x19fa30([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf5b45c=>_0xf5b45c[_0x19fa30([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19fa30([0x2a])))[_0x19fa30([0x6d,0x61,0x70])](_0x35d300=>_0x35d300[_0x19fa30([0x73,0x70,0x6c,0x69,0x74])](_0x19fa30([0x2e])))[_0x19fa30([0x73,0x6f,0x6d,0x65])](_0x3eee04=>_0x4d8007[_0x19fa30([0x65,0x76,0x65,0x72,0x79])]((_0x54b629,_0x1ecb49)=>_0x3eee04[_0x1ecb49]===_0x54b629||_0x3eee04[_0x1ecb49]===_0x19fa30([0x2a])));}function _0x39fdbe(){return _0x31a4eb&&_0x5dc0a4?new window[(_0x19fa30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c2759,_0x352827)=>{_0x31a4eb[_0x19fa30([0x74,0x68,0x65,0x6e])](_0x2c2759,_0x352827),_0x5dc0a4[_0x19fa30([0x74,0x68,0x65,0x6e])](_0x305885=>{_0x305885!=_0x19fa30([0x56,0x61,0x6c,0x69,0x64])&&_0x2c2759(_0x305885);},_0x352827);}):_0x31a4eb||_0x5dc0a4||_0x19fa30([0x56,0x61,0x6c,0x69,0x64]);}}function _0x14f70c(_0x27907a,_0x19e3d9){return new window[(_0x19fa30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255aa6=>{if(_0x9bff9e())return _0x255aa6(_0x19fa30([0x56,0x61,0x6c,0x69,0x64]));_0x4fc32c(),_0x41ba34[_0x19fa30([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x19fa30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xefd7b9=!0x1;const _0x408c49=_0x16ed90();function _0x4c4ddf(_0x5b0998){return!!_0x5b0998&&(typeof _0x5b0998===_0x19fa30([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b0998===_0x19fa30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b0998[_0x19fa30([0x74,0x68,0x65,0x6e])]===_0x19fa30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b0998[_0x19fa30([0x63,0x61,0x74,0x63,0x68])]===_0x19fa30([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x522c6d(_0x32631b){_0x3cf910(_0x32631b)[_0x19fa30([0x74,0x68,0x65,0x6e])](_0x3175e4=>{if(!_0x3175e4||_0x3175e4[_0x19fa30([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x19fa30([0x6f,0x6b]))return _0x19fa30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x48e0fe(_0x349cf6(_0x408c49+_0x19e3d9))!=_0x3175e4[_0x19fa30([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x19fa30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x19fa30([0x56,0x61,0x6c,0x69,0x64]);})[_0x19fa30([0x74,0x68,0x65,0x6e])](_0x21dc6b=>(_0x1cd948(),_0x21dc6b),()=>{const _0x74cc00=_0x105ef5();return null==_0x74cc00?(_0x1cd948(),_0x19fa30([0x56,0x61,0x6c,0x69,0x64])):_0x19fa30(_0x51c961-_0x74cc00>(0x15910dfd^_0x1687e5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x19fa30([0x74,0x68,0x65,0x6e])](_0x255aa6)[_0x19fa30([0x63,0x61,0x74,0x63,0x68])](()=>{_0x255aa6(_0x19fa30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e4150=0x31ab677d^_0x1687e5;function _0x1cd948(){const _0x19ec0a=_0x19fa30([0x6c,0x6c,0x63,0x74,0x2d])+_0x48e0fe(_0x349cf6(_0x27907a)),_0x86fd0c=_0x2e07ce(_0x48e0fe(window[_0x19fa30([0x4d,0x61,0x74,0x68])][_0x19fa30([0x63,0x65,0x69,0x6c])](_0x51c961/_0x1e4150)));window[_0x19fa30([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19fa30([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19ec0a,_0x86fd0c);}function _0x105ef5(){const _0x3e42c2=_0x19fa30([0x6c,0x6c,0x63,0x74,0x2d])+_0x48e0fe(_0x349cf6(_0x27907a)),_0x315dd7=window[_0x19fa30([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x19fa30([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e42c2);return _0x315dd7?window[_0x19fa30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e07ce(_0x315dd7),0x10)*_0x1e4150:null;}function _0x3cf910(_0x455590){return new window[(_0x19fa30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a36d4,_0x180960)=>{_0x455590[_0x19fa30([0x74,0x68,0x65,0x6e])](_0x2a36d4,_0x180960),window[_0x19fa30([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x180960,0x319c5d3d^_0x1687e5);});}}_0x41ba34[_0x19fa30([0x6f,0x6e])](_0x19fa30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51c0be,_0x1901bc)=>{if(_0x1901bc[0x0]!=_0x27907a)return _0x255aa6(_0x19fa30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1901bc[0x1]={..._0x1901bc[0x1],[_0x19fa30([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x408c49};},{[_0x19fa30([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19fa30([0x68,0x69,0x67,0x68])}),_0x41ba34[_0x19fa30([0x6f,0x6e])](_0x19fa30([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x358827=>{_0x4c4ddf(_0x358827[_0x19fa30([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xefd7b9=!0x0,_0x522c6d(_0x358827[_0x19fa30([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x19fa30([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x19fa30([0x6c,0x6f,0x77])}),_0x1d1baa[_0x19fa30([0x74,0x68,0x65,0x6e])](()=>{_0xefd7b9||_0x255aa6(_0x19fa30([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9bff9e(){return _0x41ba34[_0x19fa30([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19fa30([0x76,0x69,0x65,0x77])][_0x19fa30([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x19fa30([0x61,0x75,0x74,0x6f]);}function _0x4fc32c(){_0x41ba34[_0x19fa30([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x19fa30([0x76,0x69,0x65,0x77])][_0x19fa30([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x19fa30([0x61,0x75,0x74,0x6f]);}}function _0x37a2f8(_0x42aee2){const _0x46e0dd=[new window[(_0x19fa30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a578=>setTimeout(_0x35a578,0x3194b731^_0x1687e5)),_0x1d1baa[_0x19fa30([0x74,0x68,0x65,0x6e])](()=>new window[(_0x19fa30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33335a=>{let _0x31a3b9=0x0;_0x41ba34[_0x19fa30([0x6d,0x6f,0x64,0x65,0x6c])][_0x19fa30([0x6f,0x6e])](_0x19fa30([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x174052,_0x2b1e18)=>{_0x2b1e18[0x0][_0x19fa30([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31a3b9++,_0x31a3b9==(0x319d8805^_0x1687e5)&&(_0x33335a(),_0x174052[_0x19fa30([0x6f,0x66,0x66])]());});}))];return window[_0x19fa30([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x19fa30([0x72,0x61,0x63,0x65])](_0x46e0dd)[_0x19fa30([0x74,0x68,0x65,0x6e])](()=>_0x42aee2);}async function _0x4d5f5c(){await _0x1d1baa,_0x41ba34[_0x19fa30([0x6d,0x6f,0x64,0x65,0x6c])][_0x19fa30([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1720fc,_0x41ba34[_0x19fa30([0x6d,0x6f,0x64,0x65,0x6c])][_0x19fa30([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1720fc,_0x41ba34[_0x19fa30([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x19fa30([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37738c(_0x199f0d){const _0x5daf03=_0x28322c();_0x41ba34[_0x5daf03]=_0x19fa30([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])+_0x199f0d,_0x199f0d!=_0x19fa30([0x56,0x61,0x6c,0x69,0x64])&&_0x4d5f5c();}function _0x28322c(){const _0x4c8187=window[_0x19fa30([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x19fa30([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x19fa30([0x6e,0x6f,0x77])]())[_0x19fa30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x19fa30([0x2e]),'');let _0x53f1b7=_0x19fa30([0x4e]);for(let _0x453bd8=0x0;_0x453bd8<_0x4c8187[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x453bd8+=0x2){let _0x4f4c16=window[_0x19fa30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c8187[_0x19fa30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x453bd8,_0x453bd8+0x2));_0x4f4c16>=_0x3bcfad[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f4c16-=_0x3bcfad[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53f1b7+=_0x3bcfad[_0x4f4c16];}return _0x53f1b7;}function _0x21c6a3(){const _0x378783=_0x3ee287[_0x19fa30([0x73,0x70,0x6c,0x69,0x74])](_0x19fa30([0x2e]));if(0x3!=_0x378783[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x507deb(_0x378783[0x1]);function _0x507deb(_0x2aa5a8){const _0x26ad4c=_0xf0487b(_0x2aa5a8);return _0x26ad4c&&_0x1f0a51()?_0x26ad4c:null;function _0x1f0a51(){const _0x582ab2=_0x26ad4c[_0x19fa30([0x6a,0x74,0x69])],_0x34e90b=window[_0x19fa30([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x582ab2[_0x19fa30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x582ab2[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x514ade={..._0x26ad4c,[_0x19fa30([0x6a,0x74,0x69])]:_0x582ab2[_0x19fa30([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x582ab2[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x514ade[_0x19fa30([0x76,0x63])],_0x349cf6(_0x514ade)==_0x34e90b;}}}async function _0xc4bb87(){let _0x3e3c60=!0x0;try{const _0x864f6c=_0x3ee287[_0x19fa30([0x73,0x70,0x6c,0x69,0x74])](_0x19fa30([0x2e])),[_0x47b428,_0x17146e,_0x1736f2]=_0x864f6c;return _0x467562(_0x47b428),await _0x483008(_0x47b428,_0x17146e,_0x1736f2),_0x3e3c60;}catch(_0x2b39b6){return!0x1;}function _0x467562(_0x39497b){const _0x2e6076=_0xf0487b(_0x39497b);_0x2e6076&&_0x2e6076[_0x19fa30([0x61,0x6c,0x67])]==_0x19fa30([0x45,0x53,0x32,0x35,0x36])||(_0x3e3c60=!0x1);}async function _0x483008(_0x5fed5d,_0x1917d4,_0x19faf1){const _0x7aae66=window[_0x19fa30([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x19fa30([0x66,0x72,0x6f,0x6d])](_0x23485c(_0x19faf1),_0x58f597=>_0x58f597[_0x19fa30([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x326d26=new window[(_0x19fa30([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x19fa30([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5fed5d+_0x19fa30([0x2e])+_0x1917d4),_0x1aaf3a=window[_0x19fa30([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x19fa30([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1aaf3a)return;const _0x67ee2c=await _0x1aaf3a[_0x19fa30([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x19fa30([0x6a,0x77,0x6b]),_0x3e7fd2,{[_0x19fa30([0x6e,0x61,0x6d,0x65])]:_0x19fa30([0x45,0x43,0x44,0x53,0x41]),[_0x19fa30([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x19fa30([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x19fa30([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1aaf3a[_0x19fa30([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x19fa30([0x6e,0x61,0x6d,0x65])]:_0x19fa30([0x45,0x43,0x44,0x53,0x41]),[_0x19fa30([0x68,0x61,0x73,0x68])]:{[_0x19fa30([0x6e,0x61,0x6d,0x65])]:_0x19fa30([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x67ee2c,_0x7aae66,_0x326d26)||(_0x3e3c60=!0x1);}}function _0xf0487b(_0x4b116f){return _0x4b116f[_0x19fa30([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x19fa30([0x65,0x79]))?JSON[_0x19fa30([0x70,0x61,0x72,0x73,0x65])](_0x23485c(_0x4b116f)):null;}function _0x23485c(_0x481340){return window[_0x19fa30([0x61,0x74,0x6f,0x62])](_0x481340[_0x19fa30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x19fa30([0x2b]))[_0x19fa30([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x19fa30([0x2f])));}function _0x349cf6(_0x1000f4){let _0x3d3d10=0x1505;function _0x5b2da7(_0x26d740){for(let _0x14996d=0x0;_0x14996d<_0x26d740[_0x19fa30([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14996d++){const _0x493def=_0x26d740[_0x19fa30([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14996d);_0x3d3d10=(_0x3d3d10<<0x5)+_0x3d3d10+_0x493def,_0x3d3d10&=_0x3d3d10;}}function _0x14add7(_0x268b60){Array[_0x19fa30([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x268b60)?_0x268b60[_0x19fa30([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14add7):_0x268b60&&typeof _0x268b60==_0x19fa30([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x19fa30([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x268b60)[_0x19fa30([0x73,0x6f,0x72,0x74])]()[_0x19fa30([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc83a5f,_0x3c0d5f])=>{_0x5b2da7(_0xc83a5f),_0x14add7(_0x3c0d5f);}):_0x5b2da7(window[_0x19fa30([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x268b60));}return _0x14add7(_0x1000f4),_0x3d3d10>>>0x0;}function _0x48e0fe(_0x1a26fe){return _0x1a26fe[_0x19fa30([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x19fa30([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x19fa30([0x30]));}function _0x2e07ce(_0x472cc5){return _0x472cc5[_0x19fa30([0x73,0x70,0x6c,0x69,0x74])]('')[_0x19fa30([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x19fa30([0x6a,0x6f,0x69,0x6e])]('');}function _0x1720fc(){}function _0x19fa30(_0xe6f652){return _0xe6f652['map'](_0x200f45=>String['fromCharCode'](_0x200f45))['join']('');}_0x37738c(await _0x5337e3());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x3d6086,{outlineDefinitions:_0x4ee233,outlineChanges:_0x13ab29}){this['_currentOutlineDefinitions']=_0x4ee233,this['view']['sync'](_0x13ab29);}['_setActiveViewItem'](_0x16e6af){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x16e6af]&&(this['view']['activeItemIndex']=_0x16e6af);}['_handleItemSelected'](_0x4c02ed){const _0xd4fa02=this['_currentOutlineDefinitions'][_0x4c02ed]['modelElement'];this['editor']['model']['change'](_0x46bf23=>{_0x46bf23['setSelection'](_0xd4fa02,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x4c02ed);}['_updateActiveDefinitionOnViewportChange'](){const _0x39332c=this['editor'];let _0x29a7cf;for(const _0x400726 of _0x39332c['model']['document']['getRootNames']()){const _0x59ca9a=_0x39332c['editing']['view']['getDomRoot'](_0x400726),_0xc2aca4=_0x59ca9a&&new _0x381860(_0x59ca9a)['getVisible']();if(_0xc2aca4){const _0x1ccae5=new _0x381860(_0x4d6465['window'])['getIntersection'](_0xc2aca4);_0x1ccae5&&(_0x29a7cf=_0x1ccae5['top']+0.25*_0x1ccae5['height']);}}if(void 0x0===_0x29a7cf)return;const _0xc39e3a=_(_0x39332c['editing'],this['_currentOutlineDefinitions'],_0x29a7cf);_0xc39e3a?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0xc39e3a)):this['_setActiveViewItem'](-0x1);}}function _(_0x15dc15,_0x302e65,_0x33002b,_0x2c9331=0x0,_0x444f89=_0x302e65['length']-0x1){const _0x43a00e=Math['floor'](_0x2c9331+(_0x444f89-_0x2c9331)/0x2);if(_0x444f89>=_0x2c9331){const _0x56a068=_0x302e65[_0x43a00e],_0x291542=_0x15dc15['mapper']['toViewElement'](_0x56a068['modelElement']);if(!_0x291542)return null;const _0x36c9ca=_0x15dc15['view']['domConverter']['mapViewToDom'](_0x291542);return new _0x381860(_0x36c9ca)['bottom']>_0x33002b?_(_0x15dc15,_0x302e65,_0x33002b,_0x2c9331,_0x43a00e-0x1):_(_0x15dc15,_0x302e65,_0x33002b,_0x43a00e+0x1,_0x444f89);}return _0x43a00e<0x0?null:_0x302e65[_0x43a00e];}class u extends _0xf6a2a{['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 _0x57a943=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a3a94;for(const _0x1f1885 in _0x57a943){const _0x473824=_0x1f1885,_0x235309=_0x57a943[_0x473824];if('documentOutlineLicenseKeyValid'==_0x235309||'documentOutlineLicenseKeyInvalid'==_0x235309||'documentOutlineLicenseKeyExpired'==_0x235309||'documentOutlineLicenseKeyDomainLimit'==_0x235309||'documentOutlineLicenseKeyNotAllowed'==_0x235309||'documentOutlineLicenseKeyEvaluationLimit'==_0x235309||'documentOutlineLicenseKeyTrialLimit'==_0x235309||'documentOutlineLicenseKeyDevelopmentLimit'==_0x235309||'documentOutlineLicenseKeyUsageLimit'==_0x235309){delete _0x57a943[_0x473824],_0x5a3a94=_0x235309,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x5a3a94&&_0x57a943['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x5a3a94&&_0x57a943['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x5a3a94&&_0x57a943['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x5a3a94&&_0x57a943['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x5a3a94&&_0x57a943['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x5a3a94&&_0x57a943['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0x5a3a94&&_0x57a943['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x5a3a94&&_0x57a943['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x22e73d{['execute'](){this['editor']['model']['change'](_0x3e81d2=>{this['editor']['model']['insertObject'](_0x3e81d2['createElement']('tableOfContents'));});}['refresh'](){const _0x31ba27=this['editor']['model'],_0x4c0294=_0x31ba27['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x4c0294&&_0x31ba27['schema']['findAllowedParent'](_0x4c0294,'tableOfContents'));}}class g extends _0xf6a2a{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2bb1c6=this['editor'];if(_0x2bb1c6['config']['get']('headingId.modelAttributeName'))return;(function(_0x3a3abf){const _0x17b246=new Map();if(_0x3a3abf)return _0x3a3abf['forEach'](_0x2d57a6=>{'paragraph'!==_0x2d57a6['model']&&_0x17b246['set'](_0x2d57a6['view'],_0x2d57a6['model']);}),_0x17b246['get']('h1')||_0x17b246['set']('h1','heading1'),_0x17b246;return _0x17b246;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x5177e4,_0x3dd8d1)=>{this['_customUpcastHeadingsConversion'](_0x3dd8d1),this['_customDataDowncastHeadingsConversion'](_0x5177e4),_0x2bb1c6['model']['schema']['isRegistered'](_0x5177e4)&&_0x2bb1c6['model']['schema']['extend'](_0x5177e4,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x51f2c2){this['editor']['conversion']['for']('upcast')['add'](_0x1a2564=>_0x1a2564['on']('element:'+_0x51f2c2,(_0x42e05b,_0x7747cc,_0xbd13e7)=>{const {consumable:_0x22203b,writer:_0x39273b}=_0xbd13e7,_0x2b7ba0=_0x7747cc['viewItem']['getAttribute']('id'),_0x41cc97=_0x7747cc['modelRange']['getContainedElement']();if(_0x41cc97)return _0x2b7ba0&&_0x2b7ba0['length']||_0x41cc97['hasAttribute']('headingId')?void(_0x22203b['consume'](_0x7747cc['viewItem'],{'attributes':['id']})&&_0x39273b['setAttribute']('headingId',_0x2b7ba0,_0x41cc97)):(_0x22203b['consume'](_0x7747cc['viewItem'],{'attributes':['id']}),void _0x39273b['setAttribute']('headingId',_0x16ed90(),_0x41cc97));},{'priority':_0x3322c3['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x314187){this['editor']['conversion']['for']('downcast')['add'](_0x48a421=>_0x48a421['on']('attribute:headingId:'+_0x314187,(_0x531350,_0x35629a,_0x53c46e)=>{if(!_0x53c46e['consumable']['consume'](_0x35629a['item'],_0x531350['name']))return;const _0x424f80=_0x35629a['item']['getAttribute']('headingId'),_0x4d36e7=_0x53c46e['mapper']['toViewElement'](_0x35629a['item']);_0x53c46e['writer']['setAttribute']('id',_0x424f80,_0x4d36e7);}));}['_registerHeadingIdAttributePostfixer'](){const _0x54b616=this['editor'],_0x5f1ff5=new Set(),_0x1390e2=new Set();function _0x569cb6(_0x25573f,_0xa7a225){const _0x5146bc=_0x16ed90();return _0x1390e2['add'](_0x5146bc),_0x25573f['setAttribute']('headingId',_0x5146bc,_0xa7a225),_0x5146bc;}function _0x1cc96a(_0x3880c2,_0x15f82d){_0x3880c2['removeAttribute']('headingId',_0x15f82d);}_0x54b616['model']['document']['registerPostFixer'](_0x3d2b73=>{const _0x1d1748=_0x54b616['model']['document']['differ']['getChanges']();let _0x3c4a61=!0x1;for(const _0x9128c of _0x1d1748)if('insert'==_0x9128c['type']&&_0x9128c['name']){if(_0x9128c['name']['match'](/heading\d/)){const _0x18b5d7=_0x9128c['attributes']['get']('headingId');'string'==typeof _0x18b5d7?_0x5f1ff5['has'](_0x18b5d7)?(_0x569cb6(_0x3d2b73,_0x9128c['position']['nodeAfter']),_0x3c4a61=!0x0):_0x1390e2['add'](_0x18b5d7):(_0x569cb6(_0x3d2b73,_0x9128c['position']['nodeAfter']),_0x3c4a61=!0x0);}else'string'==typeof _0x9128c['attributes']['get']('headingId')&&(_0x1cc96a(_0x3d2b73,_0x9128c['position']['nodeAfter']),_0x3c4a61=!0x0);}else{if('remove'==_0x9128c['type']){const _0x70a209=_0x9128c['attributes']['get']('headingId');'string'==typeof _0x70a209&&_0x5f1ff5['delete'](_0x70a209);}}return _0x3c4a61;}),_0x54b616['model']['document']['on']('change',()=>{_0x1390e2['forEach'](_0x3ab1a6=>_0x5f1ff5['add'](_0x3ab1a6)),_0x1390e2['clear']();});}}class s extends _0xf6a2a{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2cb74a,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x1203e8){super(_0x1203e8),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x4718e9=this['editor'],_0x469e3a=_0x4718e9['editing']['view']['document'];_0x4718e9['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x4718e9['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x469e3a,'click',(_0x349e47,_0x16c1b5)=>{if(!_0x16c1b5['target'])return;const _0x194d8d=_0x16c1b5['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x194d8d)&&(_0x16c1b5['domEvent']['preventDefault'](),_0x349e47['stop'](),this['_handleScrollToHeading'](_0x194d8d));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x4718e9['commands']['add']('insertTableOfContents',new f(_0x4718e9)),(_0x4718e9['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x8a3b76,_0x438002)=>{this['_currentOutlineDefinitions']=_0x438002['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x4718e9['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x327864){const _0x4c7aa3=_0x4c43b7([0x77,0x68,0x6b,0x67,0x64,0x47,0x46,0x70,0x38,0x37,0x43,0x72,0x49,0x45,0x75,0x30,0x66,0x65,0x5a,0x35,0x6e,0x31,0x71,0x42,0x4e,0x74,0x4f,0x73,0x36,0x62,0x53,0x4d,0x33,0x41,0x52,0x55,0x69,0x57,0x6f,0x6c,0x32,0x63,0x44,0x61,0x79,0x34,0x54,0x4b,0x51,0x6a,0x56,0x58,0x4c,0x39,0x6d,0x76,0x48,0x59,0x50,0x4a,0x78,0x7a]),_0x5c2387=0x6dd17ead,_0x4e9b90=0x6dd627cd^_0x5c2387,_0x4fd179=window[_0x4c43b7([0x44,0x61,0x74,0x65])][_0x4c43b7([0x6e,0x6f,0x77])](),_0x4f2182=_0x327864[_0x4c43b7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x43c0c3=new window[(_0x4c43b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c9f6=>{_0x4f2182[_0x4c43b7([0x6f,0x6e,0x63,0x65])](_0x4c43b7([0x72,0x65,0x61,0x64,0x79]),_0x10c9f6);}),_0x48547c={[_0x4c43b7([0x6b,0x74,0x79])]:_0x4c43b7([0x45,0x43]),[_0x4c43b7([0x75,0x73,0x65])]:_0x4c43b7([0x73,0x69,0x67]),[_0x4c43b7([0x63,0x72,0x76])]:_0x4c43b7([0x50,0x2d,0x32,0x35,0x36]),[_0x4c43b7([0x78])]:_0x4c43b7([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]),[_0x4c43b7([0x79])]:_0x4c43b7([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]),[_0x4c43b7([0x61,0x6c,0x67])]:_0x4c43b7([0x45,0x53,0x32,0x35,0x36])},_0x207772=_0x4f2182[_0x4c43b7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4c43b7([0x67,0x65,0x74])](_0x4c43b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37fb52(){let _0x5d51f3,_0x247707=null,_0x16965e=null;try{if(_0x207772==_0x4c43b7([0x47,0x50,0x4c]))return _0x4c43b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d51f3=_0x4abc43(),!_0x5d51f3)return _0x4c43b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d51f3[_0x4c43b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16965e=_0x36bdde(_0x5d51f3[_0x4c43b7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d51f3[_0x4c43b7([0x6a,0x74,0x69])])),await _0x55cf3f()?_0x5021c0()?_0xb456d0()?_0x4c43b7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1fad5c()?(_0x5d51f3[_0x4c43b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c43b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x247707=_0x50306d(_0x4c43b7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5d51f3[_0x4c43b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c43b7([0x74,0x72,0x69,0x61,0x6c])&&(_0x247707=_0x50306d(_0x4c43b7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x5d51f3[_0x4c43b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4c43b7([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x247707=_0x50306d(_0x4c43b7([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5ca015()):_0x4c43b7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4c43b7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4c43b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xc64a5b){return _0x4c43b7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb456d0(){const _0x369f5a=[_0x4c43b7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4c43b7([0x74,0x72,0x69,0x61,0x6c])][_0x4c43b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d51f3[_0x4c43b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4fd179/0x3e8:0xe10*_0x4e9b90;return _0x5d51f3[_0x4c43b7([0x65,0x78,0x70])]<_0x369f5a;}function _0x5021c0(){const _0x2d8973=_0x5d51f3[_0x4c43b7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d8973&&(!!_0x2d8973[_0x4c43b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c43b7([0x2a]))||(!!_0x2d8973[_0x4c43b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c43b7([0x54,0x4f,0x43]))||!!_0x2d8973[_0x4c43b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c43b7([0x50,0x50]))));}function _0x1fad5c(){const _0x11c8bf=_0x5d51f3[_0x4c43b7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11c8bf||0x0==_0x11c8bf[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33af26}=new URL(window[_0x4c43b7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x11c8bf[_0x4c43b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33af26))return!0x0;const _0x4fdc66=_0x33af26[_0x4c43b7([0x73,0x70,0x6c,0x69,0x74])](_0x4c43b7([0x2e]));return _0x11c8bf[_0x4c43b7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bbdaa=>_0x2bbdaa[_0x4c43b7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c43b7([0x2a])))[_0x4c43b7([0x6d,0x61,0x70])](_0x3f7c81=>_0x3f7c81[_0x4c43b7([0x73,0x70,0x6c,0x69,0x74])](_0x4c43b7([0x2e])))[_0x4c43b7([0x73,0x6f,0x6d,0x65])](_0x3973ff=>_0x4fdc66[_0x4c43b7([0x65,0x76,0x65,0x72,0x79])]((_0x32c2fa,_0x13826b)=>_0x3973ff[_0x13826b]===_0x32c2fa||_0x3973ff[_0x13826b]===_0x4c43b7([0x2a])));}function _0x5ca015(){return _0x247707&&_0x16965e?new window[(_0x4c43b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x301f66,_0x5df698)=>{_0x247707[_0x4c43b7([0x74,0x68,0x65,0x6e])](_0x301f66,_0x5df698),_0x16965e[_0x4c43b7([0x74,0x68,0x65,0x6e])](_0x4bb9c2=>{_0x4bb9c2!=_0x4c43b7([0x56,0x61,0x6c,0x69,0x64])&&_0x301f66(_0x4bb9c2);},_0x5df698);}):_0x247707||_0x16965e||_0x4c43b7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36bdde(_0x313f18,_0x55a758){return new window[(_0x4c43b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x242c64=>{if(_0x5831f5())return _0x242c64(_0x4c43b7([0x56,0x61,0x6c,0x69,0x64]));_0x522ef1(),_0x4f2182[_0x4c43b7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4c43b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b1502=!0x1;const _0x153a19=_0x16ed90();function _0xa126b1(_0x117bfd){return!!_0x117bfd&&(typeof _0x117bfd===_0x4c43b7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x117bfd===_0x4c43b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x117bfd[_0x4c43b7([0x74,0x68,0x65,0x6e])]===_0x4c43b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x117bfd[_0x4c43b7([0x63,0x61,0x74,0x63,0x68])]===_0x4c43b7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6fd210(_0x123255){_0x27af45(_0x123255)[_0x4c43b7([0x74,0x68,0x65,0x6e])](_0x3d8e3f=>{if(!_0x3d8e3f||_0x3d8e3f[_0x4c43b7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4c43b7([0x6f,0x6b]))return _0x4c43b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b23ea(_0x25289c(_0x153a19+_0x55a758))!=_0x3d8e3f[_0x4c43b7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4c43b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4c43b7([0x56,0x61,0x6c,0x69,0x64]);})[_0x4c43b7([0x74,0x68,0x65,0x6e])](_0x25c38e=>(_0x399d3b(),_0x25c38e),()=>{const _0x7d0cfe=_0x1528d5();return null==_0x7d0cfe?(_0x399d3b(),_0x4c43b7([0x56,0x61,0x6c,0x69,0x64])):_0x4c43b7(_0x4fd179-_0x7d0cfe>(0x49ddfaad^_0x5c2387)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4c43b7([0x74,0x68,0x65,0x6e])](_0x242c64)[_0x4c43b7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x242c64(_0x4c43b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53e030=0x6de7902d^_0x5c2387;function _0x399d3b(){const _0x5667d6=_0x4c43b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b23ea(_0x25289c(_0x313f18)),_0x1a8b54=_0x352fbb(_0x2b23ea(window[_0x4c43b7([0x4d,0x61,0x74,0x68])][_0x4c43b7([0x63,0x65,0x69,0x6c])](_0x4fd179/_0x53e030)));window[_0x4c43b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c43b7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5667d6,_0x1a8b54);}function _0x1528d5(){const _0x24ada5=_0x4c43b7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b23ea(_0x25289c(_0x313f18)),_0x26c9e8=window[_0x4c43b7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4c43b7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24ada5);return _0x26c9e8?window[_0x4c43b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x352fbb(_0x26c9e8),0x10)*_0x53e030:null;}function _0x27af45(_0x4c98d7){return new window[(_0x4c43b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c6908,_0x1a6b27)=>{_0x4c98d7[_0x4c43b7([0x74,0x68,0x65,0x6e])](_0x1c6908,_0x1a6b27),window[_0x4c43b7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a6b27,0x6dd0aa6d^_0x5c2387);});}}_0x4f2182[_0x4c43b7([0x6f,0x6e])](_0x4c43b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52dd01,_0x31efb9)=>{if(_0x31efb9[0x0]!=_0x313f18)return _0x242c64(_0x4c43b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31efb9[0x1]={..._0x31efb9[0x1],[_0x4c43b7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x153a19};},{[_0x4c43b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c43b7([0x68,0x69,0x67,0x68])}),_0x4f2182[_0x4c43b7([0x6f,0x6e])](_0x4c43b7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38637d=>{_0xa126b1(_0x38637d[_0x4c43b7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b1502=!0x0,_0x6fd210(_0x38637d[_0x4c43b7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4c43b7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4c43b7([0x6c,0x6f,0x77])}),_0x43c0c3[_0x4c43b7([0x74,0x68,0x65,0x6e])](()=>{_0x2b1502||_0x242c64(_0x4c43b7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5831f5(){return _0x4f2182[_0x4c43b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c43b7([0x76,0x69,0x65,0x77])][_0x4c43b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4c43b7([0x61,0x75,0x74,0x6f]);}function _0x522ef1(){_0x4f2182[_0x4c43b7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4c43b7([0x76,0x69,0x65,0x77])][_0x4c43b7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4c43b7([0x61,0x75,0x74,0x6f]);}}function _0x50306d(_0xcf27ec){const _0x164a57=[new window[(_0x4c43b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c7e77=>setTimeout(_0x3c7e77,0x6dd84061^_0x5c2387)),_0x43c0c3[_0x4c43b7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4c43b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14bc77=>{let _0x1ff9aa=0x0;_0x4f2182[_0x4c43b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c43b7([0x6f,0x6e])](_0x4c43b7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x108fb1,_0x33e848)=>{_0x33e848[0x0][_0x4c43b7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ff9aa++,_0x1ff9aa==(0x6dd17f55^_0x5c2387)&&(_0x14bc77(),_0x108fb1[_0x4c43b7([0x6f,0x66,0x66])]());});}))];return window[_0x4c43b7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4c43b7([0x72,0x61,0x63,0x65])](_0x164a57)[_0x4c43b7([0x74,0x68,0x65,0x6e])](()=>_0xcf27ec);}async function _0x38b714(){await _0x43c0c3,_0x4f2182[_0x4c43b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c43b7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf06f6b,_0x4f2182[_0x4c43b7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4c43b7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf06f6b,_0x4f2182[_0x4c43b7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4c43b7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c6521(_0x71db13){const _0x2c7afa=_0x4064dd();_0x4f2182[_0x2c7afa]=_0x4c43b7([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])+_0x71db13,_0x71db13!=_0x4c43b7([0x56,0x61,0x6c,0x69,0x64])&&_0x38b714();}function _0x4064dd(){const _0xbabaff=window[_0x4c43b7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4c43b7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4c43b7([0x6e,0x6f,0x77])]())[_0x4c43b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4c43b7([0x2e]),'');let _0x5550db=_0x4c43b7([0x77]);for(let _0x19762f=0x0;_0x19762f<_0xbabaff[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19762f+=0x2){let _0x163057=window[_0x4c43b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbabaff[_0x4c43b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19762f,_0x19762f+0x2));_0x163057>=_0x4c7aa3[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x163057-=_0x4c7aa3[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5550db+=_0x4c7aa3[_0x163057];}return _0x5550db;}function _0x4abc43(){const _0x1f7560=_0x207772[_0x4c43b7([0x73,0x70,0x6c,0x69,0x74])](_0x4c43b7([0x2e]));if(0x3!=_0x1f7560[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2430c2(_0x1f7560[0x1]);function _0x2430c2(_0x5948ea){const _0xcc6b5c=_0x3537e9(_0x5948ea);return _0xcc6b5c&&_0x430c6f()?_0xcc6b5c:null;function _0x430c6f(){const _0x46f172=_0xcc6b5c[_0x4c43b7([0x6a,0x74,0x69])],_0x2dee85=window[_0x4c43b7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46f172[_0x4c43b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46f172[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f81cc={..._0xcc6b5c,[_0x4c43b7([0x6a,0x74,0x69])]:_0x46f172[_0x4c43b7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x46f172[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f81cc[_0x4c43b7([0x76,0x63])],_0x25289c(_0x2f81cc)==_0x2dee85;}}}async function _0x55cf3f(){let _0x5398e9=!0x0;try{const _0x5f52bd=_0x207772[_0x4c43b7([0x73,0x70,0x6c,0x69,0x74])](_0x4c43b7([0x2e])),[_0x3b81af,_0x278d19,_0xdb23ee]=_0x5f52bd;return _0x22a1e4(_0x3b81af),await _0x2574db(_0x3b81af,_0x278d19,_0xdb23ee),_0x5398e9;}catch(_0x485cd6){return!0x1;}function _0x22a1e4(_0x21d587){const _0x5a7814=_0x3537e9(_0x21d587);_0x5a7814&&_0x5a7814[_0x4c43b7([0x61,0x6c,0x67])]==_0x4c43b7([0x45,0x53,0x32,0x35,0x36])||(_0x5398e9=!0x1);}async function _0x2574db(_0xab6ed2,_0x187e24,_0x445308){const _0x45df91=window[_0x4c43b7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4c43b7([0x66,0x72,0x6f,0x6d])](_0x452527(_0x445308),_0x9a6449=>_0x9a6449[_0x4c43b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f1873=new window[(_0x4c43b7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4c43b7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xab6ed2+_0x4c43b7([0x2e])+_0x187e24),_0x380adc=window[_0x4c43b7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4c43b7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x380adc)return;const _0x124376=await _0x380adc[_0x4c43b7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4c43b7([0x6a,0x77,0x6b]),_0x48547c,{[_0x4c43b7([0x6e,0x61,0x6d,0x65])]:_0x4c43b7([0x45,0x43,0x44,0x53,0x41]),[_0x4c43b7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4c43b7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4c43b7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x380adc[_0x4c43b7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4c43b7([0x6e,0x61,0x6d,0x65])]:_0x4c43b7([0x45,0x43,0x44,0x53,0x41]),[_0x4c43b7([0x68,0x61,0x73,0x68])]:{[_0x4c43b7([0x6e,0x61,0x6d,0x65])]:_0x4c43b7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x124376,_0x45df91,_0x5f1873)||(_0x5398e9=!0x1);}}function _0x3537e9(_0x57c001){return _0x57c001[_0x4c43b7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4c43b7([0x65,0x79]))?JSON[_0x4c43b7([0x70,0x61,0x72,0x73,0x65])](_0x452527(_0x57c001)):null;}function _0x452527(_0x238b70){return window[_0x4c43b7([0x61,0x74,0x6f,0x62])](_0x238b70[_0x4c43b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4c43b7([0x2b]))[_0x4c43b7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4c43b7([0x2f])));}function _0x25289c(_0x3b75c2){let _0x5303d1=0x1505;function _0x27af8f(_0x3131d7){for(let _0x5448f2=0x0;_0x5448f2<_0x3131d7[_0x4c43b7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5448f2++){const _0x63936=_0x3131d7[_0x4c43b7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5448f2);_0x5303d1=(_0x5303d1<<0x5)+_0x5303d1+_0x63936,_0x5303d1&=_0x5303d1;}}function _0x1c7501(_0x3cde6f){Array[_0x4c43b7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cde6f)?_0x3cde6f[_0x4c43b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c7501):_0x3cde6f&&typeof _0x3cde6f==_0x4c43b7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4c43b7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cde6f)[_0x4c43b7([0x73,0x6f,0x72,0x74])]()[_0x4c43b7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ab8f3,_0x505e54])=>{_0x27af8f(_0x5ab8f3),_0x1c7501(_0x505e54);}):_0x27af8f(window[_0x4c43b7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cde6f));}return _0x1c7501(_0x3b75c2),_0x5303d1>>>0x0;}function _0x2b23ea(_0x21288e){return _0x21288e[_0x4c43b7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4c43b7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4c43b7([0x30]));}function _0x352fbb(_0x46f596){return _0x46f596[_0x4c43b7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4c43b7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4c43b7([0x6a,0x6f,0x69,0x6e])]('');}function _0xf06f6b(){}function _0x4c43b7(_0x4d7916){return _0x4d7916['map'](_0x366b38=>String['fromCharCode'](_0x366b38))['join']('');}_0x5c6521(await _0x37fb52());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x2da25d=>{'$graveyard'!==_0x2da25d['rootName']&&this['editor']['editing']['reconvertItem'](_0x2da25d);});}['_trackNewToCElements'](){for(const _0xc82785 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xc82785['type']||'tableOfContents'!==_0xc82785['name'])return;this['_tableOfContentsElements']['add'](_0xc82785['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x25b887=this['editor']['conversion'];_0x25b887['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x25b887['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x570eca,{writer:_0x2ec17d})=>this['_createTableOfContents'](_0x2ec17d,!0x0)}),_0x25b887['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x404488,{writer:_0x2474ea})=>{this['_tableOfContentsElements']['add'](_0x404488);const _0x501bf5=this['_createTableOfContents'](_0x2474ea);return _0x150a0b(_0x501bf5,_0x2474ea,{'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'](_0x56bcb4,_0x4ceb1e=!0x1){const {locale:_0x4e05c9}=this['editor'],_0x1c650e=_0x56bcb4['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x4ceb1e&&{'data-table-of-contents-label':b(_0x4e05c9,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x4ceb1e&&_0x56bcb4['insert'](_0x56bcb4['createPositionAt'](_0x1c650e,'end'),_0x56bcb4['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x56bcb4['createText'](b(_0x4e05c9,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x3ee09a=_0x4ceb1e?'':'['+b(_0x4e05c9,'Empty\x20heading')+']';let _0x27d06a=_0x1c650e;return this['_currentOutlineDefinitions']['forEach']((_0x10deb7,_0x328369,_0x124a1a)=>{const _0x314262=this['editor']['model']['hasContent'](_0x10deb7['modelElement'],{'ignoreWhitespaces':!0x0}),_0x5319a8=_0x314262?_0x10deb7['text']:_0x3ee09a,_0x2f75f5=_0x10deb7['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x592bc2=_0x56bcb4['createContainerElement']('a',{'href':'#'+_0x2f75f5,...!_0x4ceb1e&&{'tabindex':'-1'}},[_0x56bcb4['createText'](_0x5319a8)]),_0x2e37d7=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x56bcb4['setCustomProperty']('tableOfContentsHeadingIndex',_0x328369,_0x592bc2);const _0x13b0b7=_0x56bcb4['createContainerElement']('li',null,[_0x314262||!_0x4ceb1e&&_0x2e37d7?_0x592bc2:_0x56bcb4['createText']('')]),_0x170e66=_0x328369?_0x124a1a[_0x328369-0x1]['level']:0x0,_0x17535c=Math['abs'](_0x10deb7['level']-_0x170e66);if(_0x10deb7['level']>_0x170e66){const _0x4844cc=p(_0x13b0b7,_0x17535c,_0x56bcb4);_0x56bcb4['insert'](_0x56bcb4['createPositionAt'](_0x27d06a,'end'),_0x4844cc);}else{const _0x50849a=function(_0x100f7f,_0x182350){return _0x100f7f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4bb14e=>_0x4bb14e['is']('element','ol'))[_0x182350];}(_0x27d06a,_0x17535c);_0x56bcb4['insert'](_0x56bcb4['createPositionAt'](_0x50849a,'end'),_0x13b0b7);}_0x27d06a=_0x13b0b7;}),_0x1c650e;}['_handleScrollToHeading'](_0xda6475){const _0x13acc0=this['_currentOutlineDefinitions'][_0xda6475]['modelElement'];this['editor']['model']['change'](_0x18de67=>{_0x18de67['setSelection'](_0x13acc0,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0xc034ab,_0x5f1bbf)=>{const _0x59a2eb=_0x5f1bbf['mapper'],_0xcecc62=_0x59a2eb['findMappedViewAncestor'](_0x5f1bbf['viewPosition']),_0x7aad9e=_0x59a2eb['toModelElement'](_0xcecc62);_0x7aad9e['is']('element','tableOfContents')&&(_0x5f1bbf['modelPosition']=this['editor']['model']['createPositionAt'](_0x7aad9e,0x0),_0xc034ab['stop']());};}}function p(_0x43fbdd,_0x4a1547,_0x160427){return 0x1===_0x4a1547?_0x160427['createContainerElement']('ol',null,[_0x43fbdd]):_0x160427['createContainerElement']('ol',null,[_0x160427['createContainerElement']('li',null,[p(_0x43fbdd,_0x4a1547-0x1,_0x160427)])]);}class o extends _0xf6a2a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1934fb=this['editor'];_0x1934fb['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4067eb=this['_createButton'](_0x53ebd3);return _0x4067eb['tooltip']=!0x0,_0x4067eb;}),_0x1934fb['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0xfc30af)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2fcac4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3fd4ee;for(const _0x143818 in _0x2fcac4){const _0x34bbb6=_0x143818,_0x369736=_0x2fcac4[_0x34bbb6];if('tableOfContentsLicenseKeyValid'==_0x369736||'tableOfContentsLicenseKeyInvalid'==_0x369736||'tableOfContentsLicenseKeyExpired'==_0x369736||'tableOfContentsLicenseKeyDomainLimit'==_0x369736||'tableOfContentsLicenseKeyNotAllowed'==_0x369736||'tableOfContentsLicenseKeyEvaluationLimit'==_0x369736||'tableOfContentsLicenseKeyTrialLimit'==_0x369736||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x369736||'tableOfContentsLicenseKeyUsageLimit'==_0x369736){delete _0x2fcac4[_0x34bbb6],_0x3fd4ee=_0x369736,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3fd4ee&&_0x2fcac4['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x1a106c){const _0x541e68=this['editor'],_0x17c14c=_0x541e68['locale'],_0x2d46ae=_0x541e68['commands']['get']('insertTableOfContents'),_0x790486=new _0x1a106c(_0x17c14c);return _0x790486['set']({'label':b(_0x17c14c,'Table\x20of\x20contents'),'icon':_0x37bca7['tableOfContents']}),_0x790486['bind']('isEnabled')['to'](_0x2d46ae,'isEnabled'),this['listenTo'](_0x790486,'execute',()=>{_0x541e68['execute']('insertTableOfContents'),_0x541e68['editing']['view']['focus']();}),_0x790486;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0xf6a2a{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 _0x16f092,Command as _0x16a3db}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x36e24c,throttle as _0x3ba693}from'lodash-es';import{Text as _0x2c508b,TreeWalker as _0x46e999}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x20fbf4,diffToChanges as _0x148105,scrollAncestorsToShowTarget as _0x1d8811,CKEditorError as _0x35ec8d,global as _0x12e745,Rect as _0x15dc81,uid as _0x39325a,priorities as _0x49c6c7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x198567,ButtonView as _0x3e253d,MenuBarMenuListItemButtonView as _0x3234fc}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x381750,toWidget as _0x59dbfa}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x14a95f}from'ckeditor5-collaboration/dist/index.js';function p(_0x21391b){let _0x427ce4='';for(const _0x3447a2 of _0x21391b['getChildren']())_0x3447a2 instanceof _0x2c508b&&(_0x427ce4+=_0x3447a2['data']);return _0x427ce4;}class i extends _0x16f092{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4c4fb3=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x5def15=[];_0x4c4fb3['model']['document']['on']('change',_0x36e24c(()=>{const _0xe743a=_0x5def15;_0x5def15=this['_getOutlineDefinitions']();const _0x4021ff=_0x20fbf4(_0xe743a,_0x5def15,(_0x4a7cd1,_0x2a3bd2)=>_0x4a7cd1['level']===_0x2a3bd2['level']&&_0x4a7cd1['text']===_0x2a3bd2['text']&&_0x4a7cd1['modelElement']===_0x2a3bd2['modelElement']),_0x4e8a29=_0x148105(_0x4021ff,_0x5def15),_0x4a4703=this['_getActiveHeading'](),_0x3d7209=_0x5def15['findIndex'](_0x1ae724=>_0x1ae724['modelElement']===_0x4a4703);_0x4e8a29['length']&&this['fire']('change',{'outlineDefinitions':_0x5def15,'activeItemIndex':_0x3d7209,'outlineChanges':_0x4e8a29}),this['fire']('activeItemIndex',{'index':_0x3d7209});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x384c01=this['editor'],_0x6863d8=[],_0x5e749f=this['_headingNames'];for(const _0x54e13b of _0x384c01['model']['document']['getRootNames']())_0x507f6c(_0x384c01['model']['document']['getRoot'](_0x54e13b));function _0x507f6c(_0x413655){for(const _0x3c23b3 of _0x413655['getChildren']())_0x3c23b3['is']('element')&&(_0x5e749f['includes'](_0x3c23b3['name'])&&_0x6863d8['push']({'level':_0x5e749f['indexOf'](_0x3c23b3['name'])+0x1,'text':p(_0x3c23b3),'modelElement':_0x3c23b3}),_0x507f6c(_0x3c23b3));}return _0x6863d8;}['_getActiveHeading'](){const _0x3e4f04=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x477d74=new _0x46e999({'direction':'backward','startPosition':_0x3e4f04});for(const _0x2b15f2 of _0x477d74)if(_0x2b15f2['item']['is']('element')&&this['_headingNames']['includes'](_0x2b15f2['item']['name']))return _0x2b15f2['item'];}['_getHeadingNames'](){const _0x2fa79b=this['editor']['config']['get']('documentOutline.headings');return _0x2fa79b||function(_0xdce944){const _0x35a041=_0xdce944['config']['get']('heading.options');return _0x35a041?_0x35a041['reduce']((_0x57af89,_0x4cb554)=>('paragraph'!==_0x4cb554['model']&&_0x57af89['push'](_0x4cb554['model']),_0x57af89),[]):_0xdce944['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x3af0d0=this['editor'],_0x23c620=['h1','h2','h3','h4','h5','h6'],_0x400531=[];for(const _0x83886f of _0x23c620){const _0x50e589=_0x3af0d0['editing']['view']['domConverter']['domToView'](document['createElement'](_0x83886f)),_0x1e3527=_0x3af0d0['data']['toModel'](_0x50e589)['getChild'](0x0);_0x1e3527?.['is']('element')&&_0x400531['push'](_0x1e3527['name']);}this['_headingNames']=_0x400531;}}function N(_0x1037d1,_0x22a060){const t=_0x1037d1['t'];switch(_0x22a060){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 _0x22a060;}}class A extends _0x198567{constructor(_0x287d15,_0x815172=!0x1){super(_0x287d15);const _0x55109e=this['bindTemplate'],_0x4951d0=_0x815172?'['+N(_0x287d15,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x33ec1b=>!_0x33ec1b),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x55109e['to']('level',_0x445e52=>'ck-document-outline__item_level-'+_0x445e52),_0x55109e['if']('isActive','ck-document-outline__item_active'),_0x55109e['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x55109e['to']('text')},'children':[{'text':_0x55109e['to']('text',_0x274fc4=>_0x274fc4||_0x4951d0)}],'on':{'click':_0x55109e['to']('click')}});}}class l extends _0x198567{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x389bf3,_0x3fd92d=!0x1,_0x46c308){super(_0x389bf3),this['showEmptyHeadingText']=_0x3fd92d,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x46c308,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x13a228,_0x3e956f,_0x513633,_0x57a5be)=>{this['_setActiveItem'](_0x57a5be,_0x513633);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x389bf3['contentLanguageDirection'],'data-document-outline-empty-placeholder':N(_0x389bf3,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0xe0a50c){_0xe0a50c['forEach'](_0x27a6ea=>{'insert'==_0x27a6ea['type']?this['_insertItem'](_0x27a6ea['index'],..._0x27a6ea['values']):'delete'==_0x27a6ea['type']&&this['_deleteItem'](_0x27a6ea['index'],_0x27a6ea['howMany']);});}['_setActiveItem'](_0x1f021d,_0x2f5f64){if(-0x1!==_0x1f021d){const _0x32e3d0=this['items']['get'](_0x1f021d);_0x32e3d0&&(_0x32e3d0['isActive']=!0x1);}-0x1!==_0x2f5f64&&(this['items']['get'](_0x2f5f64)['isActive']=!0x0,this['_scrollToItem'](_0x2f5f64));}['_insertItem'](_0x329a0a,..._0x528406){const _0x4ba296=_0x528406['map']((_0x5a6831,_0x522e68)=>{const _0x4ac820=new A(this['locale'],this['showEmptyHeadingText']);return _0x4ac820['text']=_0x5a6831['text'],_0x4ac820['level']=_0x5a6831['level'],_0x329a0a+_0x522e68===this['activeItemIndex']&&(_0x4ac820['isActive']=!0x0),_0x4ac820;});this['items']['addMany'](_0x4ba296,_0x329a0a);}['_deleteItem'](_0x50c34f,_0x3d93e9){do{this['items']['remove'](_0x50c34f);}while(--_0x3d93e9);}['_handleItemClick'](_0x4daf1c){const _0x4c3a91=this['items']['getIndex'](_0x4daf1c['source']);this['fire']('itemSelected',_0x4c3a91);}['_scrollToItem'](_0x344763){_0x1d8811(this['items']['get'](_0x344763)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x16f092{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3308bf){super(_0x3308bf),this['view']=new l(_0x3308bf['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x3ba693(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x515192=this['editor'],_0x104123=_0x515192['plugins']['get']('DocumentOutlineUtils');let _0x10e61e=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x515192['config']['get']('documentOutline.container'))throw new _0x35ec8d('document-outline-container-not-provided',{'editor':_0x515192});_0x515192['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x104123['on']('change',this['_handleOutlineChange']['bind'](this)),_0x104123['on']('activeItemIndex',(_0x1ef7aa,{index:_0x2d7cc8})=>this['_setActiveViewItem'](_0x2d7cc8)),this['view']['on']('itemSelected',(_0x398b61,_0x174278)=>{_0x10e61e=!0x0,this['_handleItemSelected'](_0x174278);}),this['view']['listenTo'](_0x12e745['document'],'scroll',()=>{_0x10e61e?_0x10e61e=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x12e745['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x552ec9){const _0x179c0a=_0x420df7([0x4f,0x73,0x74,0x6a,0x42,0x46,0x53,0x6d,0x4d,0x41,0x67,0x34,0x6e,0x57,0x48,0x66,0x49,0x4a,0x79,0x6b,0x61,0x69,0x4b,0x36,0x75,0x52,0x59,0x50,0x37,0x6c,0x54,0x39,0x77,0x32,0x65,0x43,0x45,0x38,0x5a,0x33,0x6f,0x76,0x4e,0x68,0x58,0x64,0x70,0x51,0x55,0x44,0x31,0x4c,0x71,0x30,0x72,0x56,0x62,0x47,0x7a,0x63,0x78,0x35]),_0x2d7d6f=0x8a6c21d,_0x447eb2=0x8a19b65^_0x2d7d6f,_0x118650=window[_0x420df7([0x44,0x61,0x74,0x65])][_0x420df7([0x6e,0x6f,0x77])](),_0x1ec485=_0x552ec9[_0x420df7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59b574=new window[(_0x420df7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29a2d7=>{_0x1ec485[_0x420df7([0x6f,0x6e,0x63,0x65])](_0x420df7([0x72,0x65,0x61,0x64,0x79]),_0x29a2d7);}),_0x18964a={[_0x420df7([0x6b,0x74,0x79])]:_0x420df7([0x45,0x43]),[_0x420df7([0x75,0x73,0x65])]:_0x420df7([0x73,0x69,0x67]),[_0x420df7([0x63,0x72,0x76])]:_0x420df7([0x50,0x2d,0x32,0x35,0x36]),[_0x420df7([0x78])]:_0x420df7([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]),[_0x420df7([0x79])]:_0x420df7([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]),[_0x420df7([0x61,0x6c,0x67])]:_0x420df7([0x45,0x53,0x32,0x35,0x36])},_0x55d4d6=_0x1ec485[_0x420df7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x420df7([0x67,0x65,0x74])](_0x420df7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ea66f(){let _0x13b60a,_0xb4836a=null,_0x5b54=null;try{if(_0x55d4d6==_0x420df7([0x47,0x50,0x4c]))return _0x420df7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x13b60a=_0x8a284(),!_0x13b60a)return _0x420df7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x13b60a[_0x420df7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b54=_0x1c6ac2(_0x13b60a[_0x420df7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x13b60a[_0x420df7([0x6a,0x74,0x69])])),await _0x5ee513()?_0x410c0b()?_0x213c43()?_0x420df7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x291df5()?(_0x13b60a[_0x420df7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x420df7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb4836a=_0x2e60f3(_0x420df7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x13b60a[_0x420df7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x420df7([0x74,0x72,0x69,0x61,0x6c])&&(_0xb4836a=_0x2e60f3(_0x420df7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x13b60a[_0x420df7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x420df7([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xb4836a=_0x2e60f3(_0x420df7([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x250026()):_0x420df7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x420df7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x420df7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x563bc6){return _0x420df7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x213c43(){const _0x3d5c57=[_0x420df7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x420df7([0x74,0x72,0x69,0x61,0x6c])][_0x420df7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13b60a[_0x420df7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x118650/0x3e8:0xe10*_0x447eb2;return _0x13b60a[_0x420df7([0x65,0x78,0x70])]<_0x3d5c57;}function _0x410c0b(){const _0x5de5d5=_0x13b60a[_0x420df7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5de5d5&&(!!_0x5de5d5[_0x420df7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x420df7([0x2a]))||(!!_0x5de5d5[_0x420df7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x420df7([0x44,0x4f]))||!!_0x5de5d5[_0x420df7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x420df7([0x50,0x50]))));}function _0x291df5(){const _0xa02edc=_0x13b60a[_0x420df7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa02edc||0x0==_0xa02edc[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7f496e}=new URL(window[_0x420df7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa02edc[_0x420df7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7f496e))return!0x0;const _0x54a147=_0x7f496e[_0x420df7([0x73,0x70,0x6c,0x69,0x74])](_0x420df7([0x2e]));return _0xa02edc[_0x420df7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c78e7=>_0x3c78e7[_0x420df7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x420df7([0x2a])))[_0x420df7([0x6d,0x61,0x70])](_0x2df609=>_0x2df609[_0x420df7([0x73,0x70,0x6c,0x69,0x74])](_0x420df7([0x2e])))[_0x420df7([0x73,0x6f,0x6d,0x65])](_0x1f3df7=>_0x54a147[_0x420df7([0x65,0x76,0x65,0x72,0x79])]((_0x1797a5,_0x19d0a1)=>_0x1f3df7[_0x19d0a1]===_0x1797a5||_0x1f3df7[_0x19d0a1]===_0x420df7([0x2a])));}function _0x250026(){return _0xb4836a&&_0x5b54?new window[(_0x420df7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c9e9d,_0x3ab928)=>{_0xb4836a[_0x420df7([0x74,0x68,0x65,0x6e])](_0x5c9e9d,_0x3ab928),_0x5b54[_0x420df7([0x74,0x68,0x65,0x6e])](_0x4a4958=>{_0x4a4958!=_0x420df7([0x56,0x61,0x6c,0x69,0x64])&&_0x5c9e9d(_0x4a4958);},_0x3ab928);}):_0xb4836a||_0x5b54||_0x420df7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c6ac2(_0xae0238,_0x1167ba){return new window[(_0x420df7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c5848=>{if(_0x4b0682())return _0x2c5848(_0x420df7([0x56,0x61,0x6c,0x69,0x64]));_0x5d814f(),_0x1ec485[_0x420df7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x420df7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43ac7f=!0x1;const _0x2a500b=_0x39325a();function _0x10791c(_0x5d8a81){return!!_0x5d8a81&&(typeof _0x5d8a81===_0x420df7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d8a81===_0x420df7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d8a81[_0x420df7([0x74,0x68,0x65,0x6e])]===_0x420df7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d8a81[_0x420df7([0x63,0x61,0x74,0x63,0x68])]===_0x420df7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18f369(_0x376599){_0x5ddf7e(_0x376599)[_0x420df7([0x74,0x68,0x65,0x6e])](_0x4945a9=>{if(!_0x4945a9||_0x4945a9[_0x420df7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x420df7([0x6f,0x6b]))return _0x420df7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x11b4e9(_0x5edd98(_0x2a500b+_0x1167ba))!=_0x4945a9[_0x420df7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x420df7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x420df7([0x56,0x61,0x6c,0x69,0x64]);})[_0x420df7([0x74,0x68,0x65,0x6e])](_0x2dfd2a=>(_0x697570(),_0x2dfd2a),()=>{const _0x366aaa=_0x88e531();return null==_0x366aaa?(_0x697570(),_0x420df7([0x56,0x61,0x6c,0x69,0x64])):_0x420df7(_0x118650-_0x366aaa>(0x2caa461d^_0x2d7d6f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x420df7([0x74,0x68,0x65,0x6e])](_0x2c5848)[_0x420df7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c5848(_0x420df7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d0c97=0x8902c9d^_0x2d7d6f;function _0x697570(){const _0xb3f98d=_0x420df7([0x6c,0x6c,0x63,0x74,0x2d])+_0x11b4e9(_0x5edd98(_0xae0238)),_0x290369=_0x183c1d(_0x11b4e9(window[_0x420df7([0x4d,0x61,0x74,0x68])][_0x420df7([0x63,0x65,0x69,0x6c])](_0x118650/_0x5d0c97)));window[_0x420df7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x420df7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb3f98d,_0x290369);}function _0x88e531(){const _0x1916ad=_0x420df7([0x6c,0x6c,0x63,0x74,0x2d])+_0x11b4e9(_0x5edd98(_0xae0238)),_0x47b84d=window[_0x420df7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x420df7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1916ad);return _0x47b84d?window[_0x420df7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x183c1d(_0x47b84d),0x10)*_0x5d0c97:null;}function _0x5ddf7e(_0x458a30){return new window[(_0x420df7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39e4f8,_0x2b371a)=>{_0x458a30[_0x420df7([0x74,0x68,0x65,0x6e])](_0x39e4f8,_0x2b371a),window[_0x420df7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b371a,0x8a716dd^_0x2d7d6f);});}}_0x1ec485[_0x420df7([0x6f,0x6e])](_0x420df7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c719c,_0x429ec9)=>{if(_0x429ec9[0x0]!=_0xae0238)return _0x2c5848(_0x420df7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x429ec9[0x1]={..._0x429ec9[0x1],[_0x420df7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a500b};},{[_0x420df7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x420df7([0x68,0x69,0x67,0x68])}),_0x1ec485[_0x420df7([0x6f,0x6e])](_0x420df7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x422083=>{_0x10791c(_0x422083[_0x420df7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43ac7f=!0x0,_0x18f369(_0x422083[_0x420df7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x420df7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x420df7([0x6c,0x6f,0x77])}),_0x59b574[_0x420df7([0x74,0x68,0x65,0x6e])](()=>{_0x43ac7f||_0x2c5848(_0x420df7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b0682(){return _0x1ec485[_0x420df7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x420df7([0x76,0x69,0x65,0x77])][_0x420df7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x420df7([0x61,0x75,0x74,0x6f]);}function _0x5d814f(){_0x1ec485[_0x420df7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x420df7([0x76,0x69,0x65,0x77])][_0x420df7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x420df7([0x61,0x75,0x74,0x6f]);}}function _0x2e60f3(_0x1a6185){const _0x17d5c1=[new window[(_0x420df7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a9027=>setTimeout(_0x5a9027,0x8affcd1^_0x2d7d6f)),_0x59b574[_0x420df7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x420df7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34539d=>{let _0x14ea64=0x0;_0x1ec485[_0x420df7([0x6d,0x6f,0x64,0x65,0x6c])][_0x420df7([0x6f,0x6e])](_0x420df7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x345295,_0x47b36d)=>{_0x47b36d[0x0][_0x420df7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14ea64++,_0x14ea64==(0x8a6c3e5^_0x2d7d6f)&&(_0x34539d(),_0x345295[_0x420df7([0x6f,0x66,0x66])]());});}))];return window[_0x420df7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x420df7([0x72,0x61,0x63,0x65])](_0x17d5c1)[_0x420df7([0x74,0x68,0x65,0x6e])](()=>_0x1a6185);}async function _0x149969(){await _0x59b574,_0x1ec485[_0x420df7([0x6d,0x6f,0x64,0x65,0x6c])][_0x420df7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d6067,_0x1ec485[_0x420df7([0x6d,0x6f,0x64,0x65,0x6c])][_0x420df7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d6067,_0x1ec485[_0x420df7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x420df7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55fe33(_0x3d2dda){const _0x105f1f=_0x114d60();_0x1ec485[_0x105f1f]=_0x420df7([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])+_0x3d2dda,_0x3d2dda!=_0x420df7([0x56,0x61,0x6c,0x69,0x64])&&_0x149969();}function _0x114d60(){const _0x246a38=window[_0x420df7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x420df7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x420df7([0x6e,0x6f,0x77])]())[_0x420df7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x420df7([0x2e]),'');let _0x34f06b=_0x420df7([0x4f]);for(let _0x46495c=0x0;_0x46495c<_0x246a38[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x46495c+=0x2){let _0x4e71f5=window[_0x420df7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x246a38[_0x420df7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x46495c,_0x46495c+0x2));_0x4e71f5>=_0x179c0a[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e71f5-=_0x179c0a[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x34f06b+=_0x179c0a[_0x4e71f5];}return _0x34f06b;}function _0x8a284(){const _0x1f0691=_0x55d4d6[_0x420df7([0x73,0x70,0x6c,0x69,0x74])](_0x420df7([0x2e]));if(0x3!=_0x1f0691[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x255db6(_0x1f0691[0x1]);function _0x255db6(_0xecf650){const _0x44bdd1=_0x187091(_0xecf650);return _0x44bdd1&&_0x4f2c58()?_0x44bdd1:null;function _0x4f2c58(){const _0x2d9d7f=_0x44bdd1[_0x420df7([0x6a,0x74,0x69])],_0x4d613c=window[_0x420df7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d9d7f[_0x420df7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d9d7f[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x243fbc={..._0x44bdd1,[_0x420df7([0x6a,0x74,0x69])]:_0x2d9d7f[_0x420df7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2d9d7f[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x243fbc[_0x420df7([0x76,0x63])],_0x5edd98(_0x243fbc)==_0x4d613c;}}}async function _0x5ee513(){let _0x49b0a5=!0x0;try{const _0x1e4d82=_0x55d4d6[_0x420df7([0x73,0x70,0x6c,0x69,0x74])](_0x420df7([0x2e])),[_0x4de3b1,_0x58d2a0,_0x31ed1d]=_0x1e4d82;return _0x38bff6(_0x4de3b1),await _0xcc0a1e(_0x4de3b1,_0x58d2a0,_0x31ed1d),_0x49b0a5;}catch(_0x4d62fb){return!0x1;}function _0x38bff6(_0x5003f6){const _0x2a9a38=_0x187091(_0x5003f6);_0x2a9a38&&_0x2a9a38[_0x420df7([0x61,0x6c,0x67])]==_0x420df7([0x45,0x53,0x32,0x35,0x36])||(_0x49b0a5=!0x1);}async function _0xcc0a1e(_0x42df50,_0xe8333b,_0x41eca2){const _0x17cf33=window[_0x420df7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x420df7([0x66,0x72,0x6f,0x6d])](_0x180cbd(_0x41eca2),_0x10d7c9=>_0x10d7c9[_0x420df7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x37ffae=new window[(_0x420df7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x420df7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x42df50+_0x420df7([0x2e])+_0xe8333b),_0x3138aa=window[_0x420df7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x420df7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3138aa)return;const _0x40c98d=await _0x3138aa[_0x420df7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x420df7([0x6a,0x77,0x6b]),_0x18964a,{[_0x420df7([0x6e,0x61,0x6d,0x65])]:_0x420df7([0x45,0x43,0x44,0x53,0x41]),[_0x420df7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x420df7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x420df7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3138aa[_0x420df7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x420df7([0x6e,0x61,0x6d,0x65])]:_0x420df7([0x45,0x43,0x44,0x53,0x41]),[_0x420df7([0x68,0x61,0x73,0x68])]:{[_0x420df7([0x6e,0x61,0x6d,0x65])]:_0x420df7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40c98d,_0x17cf33,_0x37ffae)||(_0x49b0a5=!0x1);}}function _0x187091(_0x392c38){return _0x392c38[_0x420df7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x420df7([0x65,0x79]))?JSON[_0x420df7([0x70,0x61,0x72,0x73,0x65])](_0x180cbd(_0x392c38)):null;}function _0x180cbd(_0x5103ba){return window[_0x420df7([0x61,0x74,0x6f,0x62])](_0x5103ba[_0x420df7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x420df7([0x2b]))[_0x420df7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x420df7([0x2f])));}function _0x5edd98(_0x3a3ae0){let _0x49286f=0x1505;function _0x1553a8(_0x245347){for(let _0x54a436=0x0;_0x54a436<_0x245347[_0x420df7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54a436++){const _0x347ea9=_0x245347[_0x420df7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54a436);_0x49286f=(_0x49286f<<0x5)+_0x49286f+_0x347ea9,_0x49286f&=_0x49286f;}}function _0x1a13f4(_0x51106c){Array[_0x420df7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x51106c)?_0x51106c[_0x420df7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a13f4):_0x51106c&&typeof _0x51106c==_0x420df7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x420df7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x51106c)[_0x420df7([0x73,0x6f,0x72,0x74])]()[_0x420df7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x33f9e5,_0x3e88c4])=>{_0x1553a8(_0x33f9e5),_0x1a13f4(_0x3e88c4);}):_0x1553a8(window[_0x420df7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x51106c));}return _0x1a13f4(_0x3a3ae0),_0x49286f>>>0x0;}function _0x11b4e9(_0xb33cf7){return _0xb33cf7[_0x420df7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x420df7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x420df7([0x30]));}function _0x183c1d(_0x3c10e8){return _0x3c10e8[_0x420df7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x420df7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x420df7([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d6067(){}function _0x420df7(_0xc6d422){return _0xc6d422['map'](_0x79fc4b=>String['fromCharCode'](_0x79fc4b))['join']('');}_0x55fe33(await _0x1ea66f());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1085c1,{outlineDefinitions:_0x552fdf,outlineChanges:_0xc4827a}){this['_currentOutlineDefinitions']=_0x552fdf,this['view']['sync'](_0xc4827a);}['_setActiveViewItem'](_0x1c1b1f){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1c1b1f]&&(this['view']['activeItemIndex']=_0x1c1b1f);}['_handleItemSelected'](_0x495d6c){const _0x23c3bc=this['_currentOutlineDefinitions'][_0x495d6c]['modelElement'];this['editor']['model']['change'](_0x510087=>{_0x510087['setSelection'](_0x23c3bc,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x495d6c);}['_updateActiveDefinitionOnViewportChange'](){const _0x5b00d3=this['editor'];let _0x20cad7;for(const _0x164f20 of _0x5b00d3['model']['document']['getRootNames']()){const _0x5aa3e1=_0x5b00d3['editing']['view']['getDomRoot'](_0x164f20),_0x5054e0=_0x5aa3e1&&new _0x15dc81(_0x5aa3e1)['getVisible']();if(_0x5054e0){const _0x24d492=new _0x15dc81(_0x12e745['window'])['getIntersection'](_0x5054e0);_0x24d492&&(_0x20cad7=_0x24d492['top']+0.25*_0x24d492['height']);}}if(void 0x0===_0x20cad7)return;const _0x4fcc39=d(_0x5b00d3['editing'],this['_currentOutlineDefinitions'],_0x20cad7);_0x4fcc39?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x4fcc39)):this['_setActiveViewItem'](-0x1);}}function d(_0x426319,_0x261abb,_0x16a1d7,_0x1a0da6=0x0,_0xabdee1=_0x261abb['length']-0x1){const _0x9ef64d=Math['floor'](_0x1a0da6+(_0xabdee1-_0x1a0da6)/0x2);if(_0xabdee1>=_0x1a0da6){const _0x5916e6=_0x261abb[_0x9ef64d],_0x451bd8=_0x426319['mapper']['toViewElement'](_0x5916e6['modelElement']);if(!_0x451bd8)return null;const _0x57c9dc=_0x426319['view']['domConverter']['mapViewToDom'](_0x451bd8);return new _0x15dc81(_0x57c9dc)['bottom']>_0x16a1d7?d(_0x426319,_0x261abb,_0x16a1d7,_0x1a0da6,_0x9ef64d-0x1):d(_0x426319,_0x261abb,_0x16a1d7,_0x9ef64d+0x1,_0xabdee1);}return _0x9ef64d<0x0?null:_0x261abb[_0x9ef64d];}class u extends _0x16f092{['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 _0x416273=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3bb7ee;for(const _0x437309 in _0x416273){const _0x23eae8=_0x437309,_0x99acf1=_0x416273[_0x23eae8];if('documentOutlineLicenseKeyValid'==_0x99acf1||'documentOutlineLicenseKeyInvalid'==_0x99acf1||'documentOutlineLicenseKeyExpired'==_0x99acf1||'documentOutlineLicenseKeyDomainLimit'==_0x99acf1||'documentOutlineLicenseKeyNotAllowed'==_0x99acf1||'documentOutlineLicenseKeyEvaluationLimit'==_0x99acf1||'documentOutlineLicenseKeyTrialLimit'==_0x99acf1||'documentOutlineLicenseKeyDevelopmentLimit'==_0x99acf1||'documentOutlineLicenseKeyUsageLimit'==_0x99acf1){delete _0x416273[_0x23eae8],_0x3bb7ee=_0x99acf1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x3bb7ee&&_0x416273['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x3bb7ee&&_0x416273['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x3bb7ee&&_0x416273['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x3bb7ee&&_0x416273['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x3bb7ee&&_0x416273['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x3bb7ee&&_0x416273['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0x3bb7ee&&_0x416273['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x3bb7ee&&_0x416273['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x16a3db{['execute'](){this['editor']['model']['change'](_0x2ff8fd=>{this['editor']['model']['insertObject'](_0x2ff8fd['createElement']('tableOfContents'));});}['refresh'](){const _0x23552d=this['editor']['model'],_0x36aa0c=_0x23552d['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x36aa0c&&_0x23552d['schema']['findAllowedParent'](_0x36aa0c,'tableOfContents'));}}class y extends _0x16f092{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1bb019=this['editor'];if(_0x1bb019['config']['get']('headingId.modelAttributeName'))return;(function(_0x40d799){const _0x1102fc=new Map();if(_0x40d799)return _0x40d799['forEach'](_0x166899=>{'paragraph'!==_0x166899['model']&&_0x1102fc['set'](_0x166899['view'],_0x166899['model']);}),_0x1102fc['get']('h1')||_0x1102fc['set']('h1','heading1'),_0x1102fc;return _0x1102fc;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x5263fd,_0x4f1744)=>{this['_customUpcastHeadingsConversion'](_0x4f1744),this['_customDataDowncastHeadingsConversion'](_0x5263fd),_0x1bb019['model']['schema']['isRegistered'](_0x5263fd)&&_0x1bb019['model']['schema']['extend'](_0x5263fd,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x4ef492){this['editor']['conversion']['for']('upcast')['add'](_0x10eade=>_0x10eade['on']('element:'+_0x4ef492,(_0x4e5f34,_0x281628,_0x536ca5)=>{const {consumable:_0x4ac82d,writer:_0x3540a1}=_0x536ca5,_0x46b710=_0x281628['viewItem']['getAttribute']('id'),_0x3e3a3e=_0x281628['modelRange']['getContainedElement']();if(_0x3e3a3e)return _0x46b710&&_0x46b710['length']||_0x3e3a3e['hasAttribute']('headingId')?void(_0x4ac82d['consume'](_0x281628['viewItem'],{'attributes':['id']})&&_0x3540a1['setAttribute']('headingId',_0x46b710,_0x3e3a3e)):(_0x4ac82d['consume'](_0x281628['viewItem'],{'attributes':['id']}),void _0x3540a1['setAttribute']('headingId',_0x39325a(),_0x3e3a3e));},{'priority':_0x49c6c7['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x2033b8){this['editor']['conversion']['for']('downcast')['add'](_0x16f835=>_0x16f835['on']('attribute:headingId:'+_0x2033b8,(_0x92b6d6,_0xc5f772,_0x4eb071)=>{if(!_0x4eb071['consumable']['consume'](_0xc5f772['item'],_0x92b6d6['name']))return;const _0x502406=_0xc5f772['item']['getAttribute']('headingId'),_0xed86e4=_0x4eb071['mapper']['toViewElement'](_0xc5f772['item']);_0x4eb071['writer']['setAttribute']('id',_0x502406,_0xed86e4);}));}['_registerHeadingIdAttributePostfixer'](){const _0x38cc0a=this['editor'],_0x95d052=new Set(),_0x298daa=new Set();function _0x218e87(_0x5583c5,_0x1032f4){const _0x57f1f6=_0x39325a();return _0x298daa['add'](_0x57f1f6),_0x5583c5['setAttribute']('headingId',_0x57f1f6,_0x1032f4),_0x57f1f6;}function _0x1f6997(_0x2f85a8,_0x47ea86){_0x2f85a8['removeAttribute']('headingId',_0x47ea86);}_0x38cc0a['model']['document']['registerPostFixer'](_0x47498b=>{const _0x1d8e2f=_0x38cc0a['model']['document']['differ']['getChanges']();let _0x43a583=!0x1;for(const _0x26881e of _0x1d8e2f)if('insert'==_0x26881e['type']&&_0x26881e['name']){if(_0x26881e['name']['match'](/heading\d/)){const _0x28504b=_0x26881e['attributes']['get']('headingId');'string'==typeof _0x28504b?_0x95d052['has'](_0x28504b)?(_0x218e87(_0x47498b,_0x26881e['position']['nodeAfter']),_0x43a583=!0x0):_0x298daa['add'](_0x28504b):(_0x218e87(_0x47498b,_0x26881e['position']['nodeAfter']),_0x43a583=!0x0);}else'string'==typeof _0x26881e['attributes']['get']('headingId')&&(_0x1f6997(_0x47498b,_0x26881e['position']['nodeAfter']),_0x43a583=!0x0);}else{if('remove'==_0x26881e['type']){const _0x3a527a=_0x26881e['attributes']['get']('headingId');'string'==typeof _0x3a527a&&_0x95d052['delete'](_0x3a527a);}}return _0x43a583;}),_0x38cc0a['model']['document']['on']('change',()=>{_0x298daa['forEach'](_0x4e23f1=>_0x95d052['add'](_0x4e23f1)),_0x298daa['clear']();});}}class s extends _0x16f092{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x381750,i,y];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x186cee){super(_0x186cee),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x41d37b=this['editor'],_0x40e79c=_0x41d37b['editing']['view']['document'];_0x41d37b['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x41d37b['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x40e79c,'click',(_0x19eefa,_0x518643)=>{if(!_0x518643['target'])return;const _0x39de21=_0x518643['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x39de21)&&(_0x518643['domEvent']['preventDefault'](),_0x19eefa['stop'](),this['_handleScrollToHeading'](_0x39de21));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x41d37b['commands']['add']('insertTableOfContents',new O(_0x41d37b)),(_0x41d37b['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2e20fa,_0x217511)=>{this['_currentOutlineDefinitions']=_0x217511['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x41d37b['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0xbce2c3){const _0x17310a=_0x3697a0([0x59,0x68,0x34,0x31,0x43,0x65,0x6b,0x49,0x30,0x42,0x32,0x39,0x45,0x50,0x54,0x62,0x51,0x4e,0x48,0x77,0x71,0x52,0x35,0x4c,0x4d,0x75,0x4a,0x4f,0x69,0x36,0x6c,0x58,0x6a,0x5a,0x78,0x44,0x79,0x61,0x57,0x74,0x56,0x47,0x7a,0x38,0x46,0x55,0x73,0x6d,0x37,0x64,0x6e,0x70,0x6f,0x53,0x33,0x67,0x76,0x66,0x72,0x63,0x41,0x4b]),_0x51f55c=0x5e9af104,_0x20cac2=0x5e9da87c^_0x51f55c,_0x31c769=window[_0x3697a0([0x44,0x61,0x74,0x65])][_0x3697a0([0x6e,0x6f,0x77])](),_0x5bce29=_0xbce2c3[_0x3697a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35e363=new window[(_0x3697a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3807f3=>{_0x5bce29[_0x3697a0([0x6f,0x6e,0x63,0x65])](_0x3697a0([0x72,0x65,0x61,0x64,0x79]),_0x3807f3);}),_0x8df706={[_0x3697a0([0x6b,0x74,0x79])]:_0x3697a0([0x45,0x43]),[_0x3697a0([0x75,0x73,0x65])]:_0x3697a0([0x73,0x69,0x67]),[_0x3697a0([0x63,0x72,0x76])]:_0x3697a0([0x50,0x2d,0x32,0x35,0x36]),[_0x3697a0([0x78])]:_0x3697a0([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]),[_0x3697a0([0x79])]:_0x3697a0([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]),[_0x3697a0([0x61,0x6c,0x67])]:_0x3697a0([0x45,0x53,0x32,0x35,0x36])},_0x234e5a=_0x5bce29[_0x3697a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3697a0([0x67,0x65,0x74])](_0x3697a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x37f75c(){let _0x541b2a,_0x345319=null,_0x1e87ba=null;try{if(_0x234e5a==_0x3697a0([0x47,0x50,0x4c]))return _0x3697a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x541b2a=_0x40b2e9(),!_0x541b2a)return _0x3697a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x541b2a[_0x3697a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e87ba=_0x318cbb(_0x541b2a[_0x3697a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x541b2a[_0x3697a0([0x6a,0x74,0x69])])),await _0x23c6f3()?_0x417e77()?_0x1680ff()?_0x3697a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f4158()?(_0x541b2a[_0x3697a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3697a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x345319=_0x20059a(_0x3697a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x541b2a[_0x3697a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3697a0([0x74,0x72,0x69,0x61,0x6c])&&(_0x345319=_0x20059a(_0x3697a0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x541b2a[_0x3697a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3697a0([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x345319=_0x20059a(_0x3697a0([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3bcccd()):_0x3697a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3697a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3697a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x7d59c0){return _0x3697a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1680ff(){const _0x268c20=[_0x3697a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3697a0([0x74,0x72,0x69,0x61,0x6c])][_0x3697a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x541b2a[_0x3697a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31c769/0x3e8:0xe10*_0x20cac2;return _0x541b2a[_0x3697a0([0x65,0x78,0x70])]<_0x268c20;}function _0x417e77(){const _0x2dfdf3=_0x541b2a[_0x3697a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2dfdf3&&(!!_0x2dfdf3[_0x3697a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3697a0([0x2a]))||(!!_0x2dfdf3[_0x3697a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3697a0([0x54,0x4f,0x43]))||!!_0x2dfdf3[_0x3697a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3697a0([0x50,0x50]))));}function _0x3f4158(){const _0x41b7ec=_0x541b2a[_0x3697a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x41b7ec||0x0==_0x41b7ec[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45c015}=new URL(window[_0x3697a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x41b7ec[_0x3697a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45c015))return!0x0;const _0x254c4d=_0x45c015[_0x3697a0([0x73,0x70,0x6c,0x69,0x74])](_0x3697a0([0x2e]));return _0x41b7ec[_0x3697a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x549f5e=>_0x549f5e[_0x3697a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3697a0([0x2a])))[_0x3697a0([0x6d,0x61,0x70])](_0x553315=>_0x553315[_0x3697a0([0x73,0x70,0x6c,0x69,0x74])](_0x3697a0([0x2e])))[_0x3697a0([0x73,0x6f,0x6d,0x65])](_0x56108f=>_0x254c4d[_0x3697a0([0x65,0x76,0x65,0x72,0x79])]((_0x1a531f,_0x20b72a)=>_0x56108f[_0x20b72a]===_0x1a531f||_0x56108f[_0x20b72a]===_0x3697a0([0x2a])));}function _0x3bcccd(){return _0x345319&&_0x1e87ba?new window[(_0x3697a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9bfd85,_0x1d990c)=>{_0x345319[_0x3697a0([0x74,0x68,0x65,0x6e])](_0x9bfd85,_0x1d990c),_0x1e87ba[_0x3697a0([0x74,0x68,0x65,0x6e])](_0x1b2d2a=>{_0x1b2d2a!=_0x3697a0([0x56,0x61,0x6c,0x69,0x64])&&_0x9bfd85(_0x1b2d2a);},_0x1d990c);}):_0x345319||_0x1e87ba||_0x3697a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x318cbb(_0x181eb4,_0x441d3f){return new window[(_0x3697a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x177b0c=>{if(_0x12f190())return _0x177b0c(_0x3697a0([0x56,0x61,0x6c,0x69,0x64]));_0xcdd73(),_0x5bce29[_0x3697a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3697a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c554d=!0x1;const _0x4b1744=_0x39325a();function _0x4035c4(_0x56487b){return!!_0x56487b&&(typeof _0x56487b===_0x3697a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x56487b===_0x3697a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x56487b[_0x3697a0([0x74,0x68,0x65,0x6e])]===_0x3697a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x56487b[_0x3697a0([0x63,0x61,0x74,0x63,0x68])]===_0x3697a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c55b9(_0x415b28){_0x47f970(_0x415b28)[_0x3697a0([0x74,0x68,0x65,0x6e])](_0x1ff052=>{if(!_0x1ff052||_0x1ff052[_0x3697a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3697a0([0x6f,0x6b]))return _0x3697a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ba3a2(_0xf4953c(_0x4b1744+_0x441d3f))!=_0x1ff052[_0x3697a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3697a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3697a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x3697a0([0x74,0x68,0x65,0x6e])](_0x2ddac6=>(_0x5db24b(),_0x2ddac6),()=>{const _0x39871f=_0x378cce();return null==_0x39871f?(_0x5db24b(),_0x3697a0([0x56,0x61,0x6c,0x69,0x64])):_0x3697a0(_0x31c769-_0x39871f>(0x7a967504^_0x51f55c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3697a0([0x74,0x68,0x65,0x6e])](_0x177b0c)[_0x3697a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x177b0c(_0x3697a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c764e=0x5eac1f84^_0x51f55c;function _0x5db24b(){const _0x22a5d6=_0x3697a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba3a2(_0xf4953c(_0x181eb4)),_0x294b7a=_0x19cdf6(_0x1ba3a2(window[_0x3697a0([0x4d,0x61,0x74,0x68])][_0x3697a0([0x63,0x65,0x69,0x6c])](_0x31c769/_0x3c764e)));window[_0x3697a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3697a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22a5d6,_0x294b7a);}function _0x378cce(){const _0x453ef4=_0x3697a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ba3a2(_0xf4953c(_0x181eb4)),_0x215810=window[_0x3697a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3697a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x453ef4);return _0x215810?window[_0x3697a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19cdf6(_0x215810),0x10)*_0x3c764e:null;}function _0x47f970(_0x5136c5){return new window[(_0x3697a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b1279,_0x282311)=>{_0x5136c5[_0x3697a0([0x74,0x68,0x65,0x6e])](_0x4b1279,_0x282311),window[_0x3697a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x282311,0x5e9b25c4^_0x51f55c);});}}_0x5bce29[_0x3697a0([0x6f,0x6e])](_0x3697a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1761d0,_0x1d5f4b)=>{if(_0x1d5f4b[0x0]!=_0x181eb4)return _0x177b0c(_0x3697a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1d5f4b[0x1]={..._0x1d5f4b[0x1],[_0x3697a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b1744};},{[_0x3697a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3697a0([0x68,0x69,0x67,0x68])}),_0x5bce29[_0x3697a0([0x6f,0x6e])](_0x3697a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f03d9=>{_0x4035c4(_0x4f03d9[_0x3697a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c554d=!0x0,_0x2c55b9(_0x4f03d9[_0x3697a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3697a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3697a0([0x6c,0x6f,0x77])}),_0x35e363[_0x3697a0([0x74,0x68,0x65,0x6e])](()=>{_0x4c554d||_0x177b0c(_0x3697a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x12f190(){return _0x5bce29[_0x3697a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3697a0([0x76,0x69,0x65,0x77])][_0x3697a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3697a0([0x61,0x75,0x74,0x6f]);}function _0xcdd73(){_0x5bce29[_0x3697a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3697a0([0x76,0x69,0x65,0x77])][_0x3697a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3697a0([0x61,0x75,0x74,0x6f]);}}function _0x20059a(_0x343548){const _0x49a021=[new window[(_0x3697a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e4e82=>setTimeout(_0x3e4e82,0x5e93cfc8^_0x51f55c)),_0x35e363[_0x3697a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3697a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x382cfc=>{let _0x292cf3=0x0;_0x5bce29[_0x3697a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3697a0([0x6f,0x6e])](_0x3697a0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x881596,_0x4338d8)=>{_0x4338d8[0x0][_0x3697a0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x292cf3++,_0x292cf3==(0x5e9af0fc^_0x51f55c)&&(_0x382cfc(),_0x881596[_0x3697a0([0x6f,0x66,0x66])]());});}))];return window[_0x3697a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3697a0([0x72,0x61,0x63,0x65])](_0x49a021)[_0x3697a0([0x74,0x68,0x65,0x6e])](()=>_0x343548);}async function _0xc2d71e(){await _0x35e363,_0x5bce29[_0x3697a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3697a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x158c84,_0x5bce29[_0x3697a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3697a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x158c84,_0x5bce29[_0x3697a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3697a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb42ea9(_0x2c904e){const _0x50db94=_0x5d1713();_0x5bce29[_0x50db94]=_0x3697a0([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])+_0x2c904e,_0x2c904e!=_0x3697a0([0x56,0x61,0x6c,0x69,0x64])&&_0xc2d71e();}function _0x5d1713(){const _0x5f1394=window[_0x3697a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3697a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3697a0([0x6e,0x6f,0x77])]())[_0x3697a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3697a0([0x2e]),'');let _0x4e391f=_0x3697a0([0x59]);for(let _0x3148be=0x0;_0x3148be<_0x5f1394[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3148be+=0x2){let _0x424f64=window[_0x3697a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f1394[_0x3697a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3148be,_0x3148be+0x2));_0x424f64>=_0x17310a[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x424f64-=_0x17310a[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e391f+=_0x17310a[_0x424f64];}return _0x4e391f;}function _0x40b2e9(){const _0x32b4ff=_0x234e5a[_0x3697a0([0x73,0x70,0x6c,0x69,0x74])](_0x3697a0([0x2e]));if(0x3!=_0x32b4ff[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xe4dbe7(_0x32b4ff[0x1]);function _0xe4dbe7(_0x4d86f8){const _0x2e3a4c=_0x1b1bd7(_0x4d86f8);return _0x2e3a4c&&_0x5356a0()?_0x2e3a4c:null;function _0x5356a0(){const _0x1971b0=_0x2e3a4c[_0x3697a0([0x6a,0x74,0x69])],_0x3f9433=window[_0x3697a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1971b0[_0x3697a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1971b0[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f9b66={..._0x2e3a4c,[_0x3697a0([0x6a,0x74,0x69])]:_0x1971b0[_0x3697a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1971b0[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f9b66[_0x3697a0([0x76,0x63])],_0xf4953c(_0x1f9b66)==_0x3f9433;}}}async function _0x23c6f3(){let _0x4dc0b7=!0x0;try{const _0x34b68a=_0x234e5a[_0x3697a0([0x73,0x70,0x6c,0x69,0x74])](_0x3697a0([0x2e])),[_0x3a390a,_0x4ae919,_0x5d9b44]=_0x34b68a;return _0x1b4f6d(_0x3a390a),await _0x57e849(_0x3a390a,_0x4ae919,_0x5d9b44),_0x4dc0b7;}catch(_0x471e2e){return!0x1;}function _0x1b4f6d(_0xe4da4){const _0x2e7018=_0x1b1bd7(_0xe4da4);_0x2e7018&&_0x2e7018[_0x3697a0([0x61,0x6c,0x67])]==_0x3697a0([0x45,0x53,0x32,0x35,0x36])||(_0x4dc0b7=!0x1);}async function _0x57e849(_0x5bd670,_0x47317e,_0x505c8a){const _0x9386a5=window[_0x3697a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3697a0([0x66,0x72,0x6f,0x6d])](_0x1bab8a(_0x505c8a),_0x47bedd=>_0x47bedd[_0x3697a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e0e3d=new window[(_0x3697a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3697a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5bd670+_0x3697a0([0x2e])+_0x47317e),_0x51f0c9=window[_0x3697a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3697a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51f0c9)return;const _0x37f290=await _0x51f0c9[_0x3697a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3697a0([0x6a,0x77,0x6b]),_0x8df706,{[_0x3697a0([0x6e,0x61,0x6d,0x65])]:_0x3697a0([0x45,0x43,0x44,0x53,0x41]),[_0x3697a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3697a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3697a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51f0c9[_0x3697a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3697a0([0x6e,0x61,0x6d,0x65])]:_0x3697a0([0x45,0x43,0x44,0x53,0x41]),[_0x3697a0([0x68,0x61,0x73,0x68])]:{[_0x3697a0([0x6e,0x61,0x6d,0x65])]:_0x3697a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x37f290,_0x9386a5,_0x5e0e3d)||(_0x4dc0b7=!0x1);}}function _0x1b1bd7(_0x1df353){return _0x1df353[_0x3697a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3697a0([0x65,0x79]))?JSON[_0x3697a0([0x70,0x61,0x72,0x73,0x65])](_0x1bab8a(_0x1df353)):null;}function _0x1bab8a(_0x463632){return window[_0x3697a0([0x61,0x74,0x6f,0x62])](_0x463632[_0x3697a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3697a0([0x2b]))[_0x3697a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3697a0([0x2f])));}function _0xf4953c(_0x377fdb){let _0x477c01=0x1505;function _0x473afd(_0x35c77f){for(let _0x44ecda=0x0;_0x44ecda<_0x35c77f[_0x3697a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44ecda++){const _0x379e65=_0x35c77f[_0x3697a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44ecda);_0x477c01=(_0x477c01<<0x5)+_0x477c01+_0x379e65,_0x477c01&=_0x477c01;}}function _0x5e40c6(_0x2ab101){Array[_0x3697a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ab101)?_0x2ab101[_0x3697a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e40c6):_0x2ab101&&typeof _0x2ab101==_0x3697a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3697a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ab101)[_0x3697a0([0x73,0x6f,0x72,0x74])]()[_0x3697a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2de0a0,_0x3f5ae1])=>{_0x473afd(_0x2de0a0),_0x5e40c6(_0x3f5ae1);}):_0x473afd(window[_0x3697a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ab101));}return _0x5e40c6(_0x377fdb),_0x477c01>>>0x0;}function _0x1ba3a2(_0x2c4954){return _0x2c4954[_0x3697a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3697a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3697a0([0x30]));}function _0x19cdf6(_0x1797c6){return _0x1797c6[_0x3697a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3697a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3697a0([0x6a,0x6f,0x69,0x6e])]('');}function _0x158c84(){}function _0x3697a0(_0xd235c2){return _0xd235c2['map'](_0x385c62=>String['fromCharCode'](_0x385c62))['join']('');}_0xb42ea9(await _0x37f75c());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x31a5b4=>{'$graveyard'!==_0x31a5b4['rootName']&&this['editor']['editing']['reconvertItem'](_0x31a5b4);});}['_trackNewToCElements'](){for(const _0x389519 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x389519['type']||'tableOfContents'!==_0x389519['name'])return;this['_tableOfContentsElements']['add'](_0x389519['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x300531=this['editor']['conversion'];_0x300531['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x300531['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2763d8,{writer:_0x5db2c9})=>this['_createTableOfContents'](_0x5db2c9,!0x0)}),_0x300531['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x57b534,{writer:_0x61c0a0})=>{this['_tableOfContentsElements']['add'](_0x57b534);const _0x2f9a7a=this['_createTableOfContents'](_0x61c0a0);return _0x59dbfa(_0x2f9a7a,_0x61c0a0,{'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'](_0xb89b89,_0x473aaa=!0x1){const {locale:_0x4bf42b}=this['editor'],_0x5e551a=_0xb89b89['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x473aaa&&{'data-table-of-contents-label':N(_0x4bf42b,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x473aaa&&_0xb89b89['insert'](_0xb89b89['createPositionAt'](_0x5e551a,'end'),_0xb89b89['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0xb89b89['createText'](N(_0x4bf42b,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5362f1=_0x473aaa?'':'['+N(_0x4bf42b,'Empty\x20heading')+']';let _0x2d99eb=_0x5e551a;return this['_currentOutlineDefinitions']['forEach']((_0x162aba,_0x1ce465,_0x1355f0)=>{const _0x318e30=this['editor']['model']['hasContent'](_0x162aba['modelElement'],{'ignoreWhitespaces':!0x0}),_0x34c263=_0x318e30?_0x162aba['text']:_0x5362f1,_0x536372=_0x162aba['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x17a4af=_0xb89b89['createContainerElement']('a',{'href':'#'+_0x536372,...!_0x473aaa&&{'tabindex':'-1'}},[_0xb89b89['createText'](_0x34c263)]),_0x58e9d9=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0xb89b89['setCustomProperty']('tableOfContentsHeadingIndex',_0x1ce465,_0x17a4af);const _0x3e63b3=_0xb89b89['createContainerElement']('li',null,[_0x318e30||!_0x473aaa&&_0x58e9d9?_0x17a4af:_0xb89b89['createText']('')]),_0x16da33=_0x1ce465?_0x1355f0[_0x1ce465-0x1]['level']:0x0,_0x549bff=Math['abs'](_0x162aba['level']-_0x16da33);if(_0x162aba['level']>_0x16da33){const _0x3f564c=S(_0x3e63b3,_0x549bff,_0xb89b89);_0xb89b89['insert'](_0xb89b89['createPositionAt'](_0x2d99eb,'end'),_0x3f564c);}else{const _0x34f554=function(_0x68b1d1,_0x2edbd1){return _0x68b1d1['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x5a2f77=>_0x5a2f77['is']('element','ol'))[_0x2edbd1];}(_0x2d99eb,_0x549bff);_0xb89b89['insert'](_0xb89b89['createPositionAt'](_0x34f554,'end'),_0x3e63b3);}_0x2d99eb=_0x3e63b3;}),_0x5e551a;}['_handleScrollToHeading'](_0x25d341){const _0x49ea7f=this['_currentOutlineDefinitions'][_0x25d341]['modelElement'];this['editor']['model']['change'](_0x56b335=>{_0x56b335['setSelection'](_0x49ea7f,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x19084a,_0x1fb7c7)=>{const _0x445673=_0x1fb7c7['mapper'],_0x495bd5=_0x445673['findMappedViewAncestor'](_0x1fb7c7['viewPosition']),_0x4e6767=_0x445673['toModelElement'](_0x495bd5);_0x4e6767['is']('element','tableOfContents')&&(_0x1fb7c7['modelPosition']=this['editor']['model']['createPositionAt'](_0x4e6767,0x0),_0x19084a['stop']());};}}function S(_0xcd9b34,_0x33c86b,_0x500729){return 0x1===_0x33c86b?_0x500729['createContainerElement']('ol',null,[_0xcd9b34]):_0x500729['createContainerElement']('ol',null,[_0x500729['createContainerElement']('li',null,[S(_0xcd9b34,_0x33c86b-0x1,_0x500729)])]);}class o extends _0x16f092{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a3035=this['editor'];_0x2a3035['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x32cc08=this['_createButton'](_0x3e253d);return _0x32cc08['tooltip']=!0x0,_0x32cc08;}),_0x2a3035['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x3234fc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a52f3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24363c;for(const _0x6a01be in _0x3a52f3){const _0x501388=_0x6a01be,_0x394090=_0x3a52f3[_0x501388];if('tableOfContentsLicenseKeyValid'==_0x394090||'tableOfContentsLicenseKeyInvalid'==_0x394090||'tableOfContentsLicenseKeyExpired'==_0x394090||'tableOfContentsLicenseKeyDomainLimit'==_0x394090||'tableOfContentsLicenseKeyNotAllowed'==_0x394090||'tableOfContentsLicenseKeyEvaluationLimit'==_0x394090||'tableOfContentsLicenseKeyTrialLimit'==_0x394090||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x394090||'tableOfContentsLicenseKeyUsageLimit'==_0x394090){delete _0x3a52f3[_0x501388],_0x24363c=_0x394090,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x24363c&&_0x3a52f3['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x24363c&&_0x3a52f3['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x24363c&&_0x3a52f3['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x24363c&&_0x3a52f3['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x24363c&&_0x3a52f3['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x24363c&&_0x3a52f3['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x24363c&&_0x3a52f3['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x24363c&&_0x3a52f3['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x1a85b8){const _0x270721=this['editor'],_0x312103=_0x270721['locale'],_0x8da4e6=_0x270721['commands']['get']('insertTableOfContents'),_0x11fab4=new _0x1a85b8(_0x312103);return _0x11fab4['set']({'label':N(_0x312103,'Table\x20of\x20contents'),'icon':_0x14a95f['tableOfContents']}),_0x11fab4['bind']('isEnabled')['to'](_0x8da4e6,'isEnabled'),this['listenTo'](_0x11fab4,'execute',()=>{_0x270721['execute']('insertTableOfContents'),_0x270721['editing']['view']['focus']();}),_0x11fab4;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x16f092{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.1.0-alpha.
|
|
3
|
+
"version": "44.1.0-alpha.1",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "44.1.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.1.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "44.1.0-alpha.
|
|
21
|
-
"ckeditor5": "44.1.0-alpha.
|
|
22
|
-
"ckeditor5-collaboration": "44.1.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.1.0-alpha.1",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.1.0-alpha.1",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.1",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.1",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "44.1.0-alpha.1",
|
|
21
|
+
"ckeditor5": "44.1.0-alpha.1",
|
|
22
|
+
"ckeditor5-collaboration": "44.1.0-alpha.1",
|
|
23
23
|
"lodash-es": "4.17.21"
|
|
24
24
|
},
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3f28(_0xf8d42f,_0x2283d4){const _0x40d4dc=_0x40d4();return _0x3f28=function(_0x3f28f6,_0xfa9315){_0x3f28f6=_0x3f28f6-0xdb;let _0x144819=_0x40d4dc[_0x3f28f6];return _0x144819;},_0x3f28(_0xf8d42f,_0x2283d4);}const _0x392ceb=_0x3f28;(function(_0x3aa91f,_0x55a8a6){const _0x17473e=_0x3f28,_0x57d283=_0x3aa91f();while(!![]){try{const _0xd48416=-parseInt(_0x17473e(0xf3))/0x1*(parseInt(_0x17473e(0xf0))/0x2)+parseInt(_0x17473e(0xf1))/0x3*(-parseInt(_0x17473e(0xf2))/0x4)+-parseInt(_0x17473e(0x10b))/0x5*(-parseInt(_0x17473e(0x115))/0x6)+parseInt(_0x17473e(0x124))/0x7*(-parseInt(_0x17473e(0x10e))/0x8)+parseInt(_0x17473e(0xde))/0x9*(parseInt(_0x17473e(0xe8))/0xa)+-parseInt(_0x17473e(0xfe))/0xb*(parseInt(_0x17473e(0x112))/0xc)+parseInt(_0x17473e(0x117))/0xd;if(_0xd48416===_0x55a8a6)break;else _0x57d283['push'](_0x57d283['shift']());}catch(_0x1e76e9){_0x57d283['push'](_0x57d283['shift']());}}}(_0x40d4,0xa36e0));function _0x40d4(){const _0x259dbe=['documentOutline.container','7337HwUuUz','_updateActiveDefinitionFromViewportThrottled','sync','_setActiveViewItem','getVisible','config','map','get','resize','view','documentOutline.showEmptyHeadings','length','top','3235mKYFGo','cancel','add','264cyECmx','modelElement','getDomRoot','appendChild','12996vDVSrv','getRootNames','activeItemIndex','10392HIxllP','href','35516026gMBIEL','element','pluginName','DocumentOutlineUtils','focus','_handleItemSelected','getIntersection','plugins','indexOf','_handleOutlineChange','change','toViewElement','bottom','195860bdTvdX','render','afterInit','document-outline-container-not-provided','mapViewToDom','itemSelected','10359MimVAB','editing','init','_updateActiveDefinitionOnViewportChange','scrollToTheSelection','document','focusTracker','bind','floor','isPremiumPlugin','3880sNpibz','scroll','editor','DocumentOutlineUI','setSelection','mapper','height','model','14uBpybv','2388fJoYaQ','6556hfJtIE','97063ROZhqS','listenTo','fromCharCode','destroy','join','locale','window','domConverter','_currentOutlineDefinitions','isOfficialPlugin'];_0x40d4=function(){return _0x259dbe;};return _0x40d4();}import{Plugin as _0x2b38c2}from'ckeditor5/src/core.js';import{CKEditorError as _0x112b28,global as _0x38eaf8,Rect as _0x33de4e,uid as _0x473393}from'ckeditor5/src/utils.js';import _0x49d5b7 from'./ui/documentoutlineview.js';import{throttle as _0x73785c}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x2b38c2{static get[_0x392ceb(0x119)](){const _0x24e225=_0x392ceb;return _0x24e225(0xeb);}static get[_0x392ceb(0xfc)](){return!0x0;}static get[_0x392ceb(0xe7)](){return!0x0;}constructor(_0xe96ae0){const _0x133a83=_0x392ceb;super(_0xe96ae0),this[_0x133a83(0x107)]=new _0x49d5b7(_0xe96ae0[_0x133a83(0xf8)],this[_0x133a83(0xea)][_0x133a83(0x103)][_0x133a83(0x105)](_0x133a83(0x108)),this[_0x133a83(0xea)][_0x133a83(0x103)][_0x133a83(0x105)](_0x133a83(0xfd))),this[_0x133a83(0xfb)]=[],this[_0x133a83(0xff)]=_0x73785c(this[_0x133a83(0xe1)][_0x133a83(0xe5)](this),0x64);}[_0x392ceb(0xe0)](){const _0x1fd6f8=_0x392ceb,_0xd4c16a=this[_0x1fd6f8(0xea)],_0x443fe3=_0xd4c16a[_0x1fd6f8(0x11e)][_0x1fd6f8(0x105)](_0x1fd6f8(0x11a));let _0x90e7d7=!0x1;if(this[_0x1fd6f8(0x107)][_0x1fd6f8(0x125)](),this[_0x1fd6f8(0xea)]['ui'][_0x1fd6f8(0xe4)][_0x1fd6f8(0x10d)](this[_0x1fd6f8(0x107)][_0x1fd6f8(0x118)]),!_0xd4c16a[_0x1fd6f8(0x103)][_0x1fd6f8(0x105)](_0x1fd6f8(0xfd)))throw new _0x112b28(_0x1fd6f8(0xdb),{'editor':_0xd4c16a});_0xd4c16a[_0x1fd6f8(0x103)][_0x1fd6f8(0x105)](_0x1fd6f8(0xfd))[_0x1fd6f8(0x111)](this[_0x1fd6f8(0x107)][_0x1fd6f8(0x118)]),_0x443fe3['on'](_0x1fd6f8(0x121),this[_0x1fd6f8(0x120)][_0x1fd6f8(0xe5)](this)),_0x443fe3['on'](_0x1fd6f8(0x114),(_0x22558f,{index:_0x288489})=>this[_0x1fd6f8(0x101)](_0x288489)),this[_0x1fd6f8(0x107)]['on'](_0x1fd6f8(0xdd),(_0x41cc74,_0x5f40e2)=>{const _0x90d5c7=_0x1fd6f8;_0x90e7d7=!0x0,this[_0x90d5c7(0x11c)](_0x5f40e2);}),this[_0x1fd6f8(0x107)][_0x1fd6f8(0xf4)](_0x38eaf8[_0x1fd6f8(0xe3)],_0x1fd6f8(0xe9),()=>{const _0xd9f20c=_0x1fd6f8;_0x90e7d7?_0x90e7d7=!0x1:this[_0xd9f20c(0xff)]();},{'useCapture':!0x0}),this[_0x1fd6f8(0x107)][_0x1fd6f8(0xf4)](_0x38eaf8[_0x1fd6f8(0xf9)],_0x1fd6f8(0x106),this[_0x1fd6f8(0xff)],{'useCapture':!0x0});}[_0x392ceb(0x126)](){!async function(_0xf4382f){const _0x3f7ec8=_0x1cf5db([0x30,0x33,0x4e,0x4a,0x67,0x72,0x37,0x47,0x6a,0x44,0x4b,0x52,0x71,0x76,0x79,0x57,0x61,0x6f,0x32,0x48,0x6b,0x36,0x64,0x6e,0x63,0x54,0x38,0x74,0x68,0x55,0x31,0x50,0x43,0x6d,0x45,0x70,0x56,0x39,0x51,0x73,0x35,0x4f,0x49,0x65,0x62,0x58,0x59,0x41,0x78,0x34,0x42,0x4d,0x77,0x4c,0x46,0x7a,0x53,0x6c,0x66,0x75,0x5a,0x69]),_0x1a24b1=0x319d89fd,_0x4671ba=0x319ad09d^_0x1a24b1,_0x2d6704=window[_0x1cf5db([0x44,0x61,0x74,0x65])][_0x1cf5db([0x6e,0x6f,0x77])](),_0x2dfba6=_0xf4382f[_0x1cf5db([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x738e1b=new window[(_0x1cf5db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a0b05=>{_0x2dfba6[_0x1cf5db([0x6f,0x6e,0x63,0x65])](_0x1cf5db([0x72,0x65,0x61,0x64,0x79]),_0x3a0b05);}),_0x227062={[_0x1cf5db([0x6b,0x74,0x79])]:_0x1cf5db([0x45,0x43]),[_0x1cf5db([0x75,0x73,0x65])]:_0x1cf5db([0x73,0x69,0x67]),[_0x1cf5db([0x63,0x72,0x76])]:_0x1cf5db([0x50,0x2d,0x32,0x35,0x36]),[_0x1cf5db([0x78])]:_0x1cf5db([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]),[_0x1cf5db([0x79])]:_0x1cf5db([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]),[_0x1cf5db([0x61,0x6c,0x67])]:_0x1cf5db([0x45,0x53,0x32,0x35,0x36])},_0x3a5a97=_0x2dfba6[_0x1cf5db([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cf5db([0x67,0x65,0x74])](_0x1cf5db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x218241(){let _0x76a1e8,_0x5d6de0=null,_0x533fc2=null;try{if(_0x3a5a97==_0x1cf5db([0x47,0x50,0x4c]))return _0x1cf5db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x76a1e8=_0xd6a5d4(),!_0x76a1e8)return _0x1cf5db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x76a1e8[_0x1cf5db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x533fc2=_0x3c47df(_0x76a1e8[_0x1cf5db([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x76a1e8[_0x1cf5db([0x6a,0x74,0x69])])),await _0x2180b7()?_0x4a0077()?_0x5e1d55()?_0x1cf5db([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x491e71()?(_0x76a1e8[_0x1cf5db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cf5db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d6de0=_0xc8bf6e(_0x1cf5db([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x76a1e8[_0x1cf5db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cf5db([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d6de0=_0xc8bf6e(_0x1cf5db([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x76a1e8[_0x1cf5db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cf5db([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x5d6de0=_0xc8bf6e(_0x1cf5db([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25b895()):_0x1cf5db([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cf5db([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cf5db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4c917b){return _0x1cf5db([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e1d55(){const _0x26a0f9=[_0x1cf5db([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cf5db([0x74,0x72,0x69,0x61,0x6c])][_0x1cf5db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x76a1e8[_0x1cf5db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d6704/0x3e8:0xe10*_0x4671ba;return _0x76a1e8[_0x1cf5db([0x65,0x78,0x70])]<_0x26a0f9;}function _0x4a0077(){const _0x408c9e=_0x76a1e8[_0x1cf5db([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x408c9e&&(!!_0x408c9e[_0x1cf5db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cf5db([0x2a]))||(!!_0x408c9e[_0x1cf5db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cf5db([0x44,0x4f]))||!!_0x408c9e[_0x1cf5db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cf5db([0x50,0x50]))));}function _0x491e71(){const _0x349173=_0x3f28,_0x4fb508=_0x76a1e8[_0x1cf5db([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fb508||0x0==_0x4fb508[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xed9046}=new URL(window[_0x1cf5db([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x349173(0x116)]);if(_0x4fb508[_0x1cf5db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xed9046))return!0x0;const _0x4f2740=_0xed9046[_0x1cf5db([0x73,0x70,0x6c,0x69,0x74])](_0x1cf5db([0x2e]));return _0x4fb508[_0x1cf5db([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e9a53=>_0x2e9a53[_0x1cf5db([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cf5db([0x2a])))[_0x1cf5db([0x6d,0x61,0x70])](_0x120465=>_0x120465[_0x1cf5db([0x73,0x70,0x6c,0x69,0x74])](_0x1cf5db([0x2e])))[_0x1cf5db([0x73,0x6f,0x6d,0x65])](_0x46156c=>_0x4f2740[_0x1cf5db([0x65,0x76,0x65,0x72,0x79])]((_0xd0d698,_0x24c411)=>_0x46156c[_0x24c411]===_0xd0d698||_0x46156c[_0x24c411]===_0x1cf5db([0x2a])));}function _0x25b895(){return _0x5d6de0&&_0x533fc2?new window[(_0x1cf5db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x595fe4,_0x7a17bf)=>{_0x5d6de0[_0x1cf5db([0x74,0x68,0x65,0x6e])](_0x595fe4,_0x7a17bf),_0x533fc2[_0x1cf5db([0x74,0x68,0x65,0x6e])](_0x4daa15=>{_0x4daa15!=_0x1cf5db([0x56,0x61,0x6c,0x69,0x64])&&_0x595fe4(_0x4daa15);},_0x7a17bf);}):_0x5d6de0||_0x533fc2||_0x1cf5db([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c47df(_0x13fe9b,_0x4e4a1d){return new window[(_0x1cf5db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33d90f=>{if(_0x5ed8dc())return _0x33d90f(_0x1cf5db([0x56,0x61,0x6c,0x69,0x64]));_0x58a97f(),_0x2dfba6[_0x1cf5db([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cf5db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaa9ef=!0x1;const _0x32b0c4=_0x473393();function _0x153de7(_0x759c43){return!!_0x759c43&&(typeof _0x759c43===_0x1cf5db([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x759c43===_0x1cf5db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x759c43[_0x1cf5db([0x74,0x68,0x65,0x6e])]===_0x1cf5db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x759c43[_0x1cf5db([0x63,0x61,0x74,0x63,0x68])]===_0x1cf5db([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c268f(_0x159895){_0x1722b3(_0x159895)[_0x1cf5db([0x74,0x68,0x65,0x6e])](_0xdc0136=>{if(!_0xdc0136||_0xdc0136[_0x1cf5db([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cf5db([0x6f,0x6b]))return _0x1cf5db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x79f6dd(_0x2f746e(_0x32b0c4+_0x4e4a1d))!=_0xdc0136[_0x1cf5db([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cf5db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cf5db([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cf5db([0x74,0x68,0x65,0x6e])](_0x3fbe8a=>(_0x3fa4ac(),_0x3fbe8a),()=>{const _0x486639=_0xa73e3b();return null==_0x486639?(_0x3fa4ac(),_0x1cf5db([0x56,0x61,0x6c,0x69,0x64])):_0x1cf5db(_0x2d6704-_0x486639>(0x15910dfd^_0x1a24b1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cf5db([0x74,0x68,0x65,0x6e])](_0x33d90f)[_0x1cf5db([0x63,0x61,0x74,0x63,0x68])](()=>{_0x33d90f(_0x1cf5db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x376a65=0x31ab677d^_0x1a24b1;function _0x3fa4ac(){const _0x18d4bd=_0x1cf5db([0x6c,0x6c,0x63,0x74,0x2d])+_0x79f6dd(_0x2f746e(_0x13fe9b)),_0x157a02=_0x407879(_0x79f6dd(window[_0x1cf5db([0x4d,0x61,0x74,0x68])][_0x1cf5db([0x63,0x65,0x69,0x6c])](_0x2d6704/_0x376a65)));window[_0x1cf5db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cf5db([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18d4bd,_0x157a02);}function _0xa73e3b(){const _0xf5c37d=_0x1cf5db([0x6c,0x6c,0x63,0x74,0x2d])+_0x79f6dd(_0x2f746e(_0x13fe9b)),_0x1c259c=window[_0x1cf5db([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cf5db([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf5c37d);return _0x1c259c?window[_0x1cf5db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x407879(_0x1c259c),0x10)*_0x376a65:null;}function _0x1722b3(_0x5e1034){return new window[(_0x1cf5db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31fd12,_0x2239c9)=>{_0x5e1034[_0x1cf5db([0x74,0x68,0x65,0x6e])](_0x31fd12,_0x2239c9),window[_0x1cf5db([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2239c9,0x319c5d3d^_0x1a24b1);});}}_0x2dfba6[_0x1cf5db([0x6f,0x6e])](_0x1cf5db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x271ea0,_0x1a5c91)=>{if(_0x1a5c91[0x0]!=_0x13fe9b)return _0x33d90f(_0x1cf5db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a5c91[0x1]={..._0x1a5c91[0x1],[_0x1cf5db([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32b0c4};},{[_0x1cf5db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cf5db([0x68,0x69,0x67,0x68])}),_0x2dfba6[_0x1cf5db([0x6f,0x6e])](_0x1cf5db([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4ea72d=>{_0x153de7(_0x4ea72d[_0x1cf5db([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaa9ef=!0x0,_0x5c268f(_0x4ea72d[_0x1cf5db([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cf5db([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cf5db([0x6c,0x6f,0x77])}),_0x738e1b[_0x1cf5db([0x74,0x68,0x65,0x6e])](()=>{_0xaa9ef||_0x33d90f(_0x1cf5db([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ed8dc(){return _0x2dfba6[_0x1cf5db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cf5db([0x76,0x69,0x65,0x77])][_0x1cf5db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cf5db([0x61,0x75,0x74,0x6f]);}function _0x58a97f(){_0x2dfba6[_0x1cf5db([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cf5db([0x76,0x69,0x65,0x77])][_0x1cf5db([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cf5db([0x61,0x75,0x74,0x6f]);}}function _0xc8bf6e(_0x5ba22d){const _0x868aec=[new window[(_0x1cf5db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2808bb=>setTimeout(_0x2808bb,0x3194b731^_0x1a24b1)),_0x738e1b[_0x1cf5db([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cf5db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369d47=>{let _0x59ba03=0x0;_0x2dfba6[_0x1cf5db([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cf5db([0x6f,0x6e])](_0x1cf5db([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f6b39,_0x4a186b)=>{_0x4a186b[0x0][_0x1cf5db([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59ba03++,_0x59ba03==(0x319d8805^_0x1a24b1)&&(_0x369d47(),_0x2f6b39[_0x1cf5db([0x6f,0x66,0x66])]());});}))];return window[_0x1cf5db([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cf5db([0x72,0x61,0x63,0x65])](_0x868aec)[_0x1cf5db([0x74,0x68,0x65,0x6e])](()=>_0x5ba22d);}async function _0x2fa066(){await _0x738e1b,_0x2dfba6[_0x1cf5db([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cf5db([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x292daf,_0x2dfba6[_0x1cf5db([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cf5db([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x292daf,_0x2dfba6[_0x1cf5db([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cf5db([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc646b1(_0x274abb){const _0x5d1a92=_0x3a6846();_0x2dfba6[_0x5d1a92]=_0x1cf5db([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])+_0x274abb,_0x274abb!=_0x1cf5db([0x56,0x61,0x6c,0x69,0x64])&&_0x2fa066();}function _0x3a6846(){const _0x1d1a9b=window[_0x1cf5db([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cf5db([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cf5db([0x6e,0x6f,0x77])]())[_0x1cf5db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cf5db([0x2e]),'');let _0x5d5b44=_0x1cf5db([0x4e]);for(let _0x9a2561=0x0;_0x9a2561<_0x1d1a9b[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9a2561+=0x2){let _0x4e31b1=window[_0x1cf5db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d1a9b[_0x1cf5db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9a2561,_0x9a2561+0x2));_0x4e31b1>=_0x3f7ec8[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e31b1-=_0x3f7ec8[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d5b44+=_0x3f7ec8[_0x4e31b1];}return _0x5d5b44;}function _0xd6a5d4(){const _0x5bea7a=_0x3a5a97[_0x1cf5db([0x73,0x70,0x6c,0x69,0x74])](_0x1cf5db([0x2e]));if(0x3!=_0x5bea7a[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfce4d9(_0x5bea7a[0x1]);function _0xfce4d9(_0x143cbb){const _0x1bd0b3=_0x573884(_0x143cbb);return _0x1bd0b3&&_0x3249b9()?_0x1bd0b3:null;function _0x3249b9(){const _0x39182c=_0x1bd0b3[_0x1cf5db([0x6a,0x74,0x69])],_0xd52199=window[_0x1cf5db([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39182c[_0x1cf5db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x39182c[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b61ba={..._0x1bd0b3,[_0x1cf5db([0x6a,0x74,0x69])]:_0x39182c[_0x1cf5db([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x39182c[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b61ba[_0x1cf5db([0x76,0x63])],_0x2f746e(_0x3b61ba)==_0xd52199;}}}async function _0x2180b7(){let _0x50a689=!0x0;try{const _0x1344c6=_0x3a5a97[_0x1cf5db([0x73,0x70,0x6c,0x69,0x74])](_0x1cf5db([0x2e])),[_0x368743,_0x420283,_0x14d5fa]=_0x1344c6;return _0x148c62(_0x368743),await _0x52ce5a(_0x368743,_0x420283,_0x14d5fa),_0x50a689;}catch(_0x1ffcac){return!0x1;}function _0x148c62(_0x559f43){const _0x5b817f=_0x573884(_0x559f43);_0x5b817f&&_0x5b817f[_0x1cf5db([0x61,0x6c,0x67])]==_0x1cf5db([0x45,0x53,0x32,0x35,0x36])||(_0x50a689=!0x1);}async function _0x52ce5a(_0x44e10a,_0x4fe73e,_0x3254c6){const _0x21b15b=window[_0x1cf5db([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cf5db([0x66,0x72,0x6f,0x6d])](_0x12aa36(_0x3254c6),_0x34875f=>_0x34875f[_0x1cf5db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5a600c=new window[(_0x1cf5db([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cf5db([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x44e10a+_0x1cf5db([0x2e])+_0x4fe73e),_0x347766=window[_0x1cf5db([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cf5db([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x347766)return;const _0x345185=await _0x347766[_0x1cf5db([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cf5db([0x6a,0x77,0x6b]),_0x227062,{[_0x1cf5db([0x6e,0x61,0x6d,0x65])]:_0x1cf5db([0x45,0x43,0x44,0x53,0x41]),[_0x1cf5db([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cf5db([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cf5db([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x347766[_0x1cf5db([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cf5db([0x6e,0x61,0x6d,0x65])]:_0x1cf5db([0x45,0x43,0x44,0x53,0x41]),[_0x1cf5db([0x68,0x61,0x73,0x68])]:{[_0x1cf5db([0x6e,0x61,0x6d,0x65])]:_0x1cf5db([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x345185,_0x21b15b,_0x5a600c)||(_0x50a689=!0x1);}}function _0x573884(_0x3c57df){return _0x3c57df[_0x1cf5db([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cf5db([0x65,0x79]))?JSON[_0x1cf5db([0x70,0x61,0x72,0x73,0x65])](_0x12aa36(_0x3c57df)):null;}function _0x12aa36(_0x32c01c){return window[_0x1cf5db([0x61,0x74,0x6f,0x62])](_0x32c01c[_0x1cf5db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cf5db([0x2b]))[_0x1cf5db([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cf5db([0x2f])));}function _0x2f746e(_0x35c116){let _0x227c36=0x1505;function _0x388741(_0x276381){for(let _0x35f300=0x0;_0x35f300<_0x276381[_0x1cf5db([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35f300++){const _0x18ee8c=_0x276381[_0x1cf5db([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35f300);_0x227c36=(_0x227c36<<0x5)+_0x227c36+_0x18ee8c,_0x227c36&=_0x227c36;}}function _0x262545(_0x4100b2){Array[_0x1cf5db([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4100b2)?_0x4100b2[_0x1cf5db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x262545):_0x4100b2&&typeof _0x4100b2==_0x1cf5db([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cf5db([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4100b2)[_0x1cf5db([0x73,0x6f,0x72,0x74])]()[_0x1cf5db([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x117a7b,_0x1c7b23])=>{_0x388741(_0x117a7b),_0x262545(_0x1c7b23);}):_0x388741(window[_0x1cf5db([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4100b2));}return _0x262545(_0x35c116),_0x227c36>>>0x0;}function _0x79f6dd(_0x779985){return _0x779985[_0x1cf5db([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cf5db([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cf5db([0x30]));}function _0x407879(_0x1dd8cf){return _0x1dd8cf[_0x1cf5db([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cf5db([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cf5db([0x6a,0x6f,0x69,0x6e])]('');}function _0x292daf(){}function _0x1cf5db(_0x1d5007){const _0x38755d=_0x3f28;return _0x1d5007[_0x38755d(0x104)](_0x492981=>String[_0x38755d(0xf5)](_0x492981))[_0x38755d(0xf7)]('');}_0xc646b1(await _0x218241());}(this);}[_0x392ceb(0xf6)](){const _0x26ce5e=_0x392ceb;super[_0x26ce5e(0xf6)](),this[_0x26ce5e(0x107)][_0x26ce5e(0xf6)](),this[_0x26ce5e(0xff)][_0x26ce5e(0x10c)]();}[_0x392ceb(0x120)](_0x1a7010,{outlineDefinitions:_0x38a5d7,outlineChanges:_0x489c57}){const _0x1f04b5=_0x392ceb;this[_0x1f04b5(0xfb)]=_0x38a5d7,this[_0x1f04b5(0x107)][_0x1f04b5(0x100)](_0x489c57);}[_0x392ceb(0x101)](_0x6a0c86){const _0x5486bf=_0x392ceb;this[_0x5486bf(0xfb)][_0x5486bf(0x109)]&&this[_0x5486bf(0xfb)][_0x6a0c86]&&(this[_0x5486bf(0x107)][_0x5486bf(0x114)]=_0x6a0c86);}[_0x392ceb(0x11c)](_0x4e6b28){const _0x5509cf=_0x392ceb,_0x199bf9=this[_0x5509cf(0xfb)][_0x4e6b28][_0x5509cf(0x10f)];this[_0x5509cf(0xea)][_0x5509cf(0xef)][_0x5509cf(0x121)](_0x1a4711=>{const _0x1e38be=_0x5509cf;_0x1a4711[_0x1e38be(0xec)](_0x199bf9,0x0);}),this[_0x5509cf(0xea)][_0x5509cf(0xdf)][_0x5509cf(0x107)][_0x5509cf(0xe2)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x5509cf(0xea)][_0x5509cf(0xdf)][_0x5509cf(0x107)][_0x5509cf(0x11b)](),this[_0x5509cf(0x101)](_0x4e6b28);}[_0x392ceb(0xe1)](){const _0x4d5329=_0x392ceb,_0x386391=this[_0x4d5329(0xea)];let _0x3d6f07;for(const _0x1bbc2a of _0x386391[_0x4d5329(0xef)][_0x4d5329(0xe3)][_0x4d5329(0x113)]()){const _0x475f8b=_0x386391[_0x4d5329(0xdf)][_0x4d5329(0x107)][_0x4d5329(0x110)](_0x1bbc2a),_0x42c559=_0x475f8b&&new _0x33de4e(_0x475f8b)[_0x4d5329(0x102)]();if(_0x42c559){const _0x15ced7=new _0x33de4e(_0x38eaf8[_0x4d5329(0xf9)])[_0x4d5329(0x11d)](_0x42c559);_0x15ced7&&(_0x3d6f07=_0x15ced7[_0x4d5329(0x10a)]+0.25*_0x15ced7[_0x4d5329(0xee)]);}}if(void 0x0===_0x3d6f07)return;const _0x3530ba=_(_0x386391[_0x4d5329(0xdf)],this[_0x4d5329(0xfb)],_0x3d6f07);_0x3530ba?this[_0x4d5329(0x101)](this[_0x4d5329(0xfb)][_0x4d5329(0x11f)](_0x3530ba)):this[_0x4d5329(0x101)](-0x1);}}function _(_0x7a21ea,_0x5361e5,_0x36ed2d,_0x1c9fb7=0x0,_0x4bd078=_0x5361e5[_0x392ceb(0x109)]-0x1){const _0x19108d=_0x392ceb,_0x51e6fa=Math[_0x19108d(0xe6)](_0x1c9fb7+(_0x4bd078-_0x1c9fb7)/0x2);if(_0x4bd078>=_0x1c9fb7){const _0x4ee27a=_0x5361e5[_0x51e6fa],_0x53f28c=_0x7a21ea[_0x19108d(0xed)][_0x19108d(0x122)](_0x4ee27a[_0x19108d(0x10f)]);if(!_0x53f28c)return null;const _0x3198b7=_0x7a21ea[_0x19108d(0x107)][_0x19108d(0xfa)][_0x19108d(0xdc)](_0x53f28c);return new _0x33de4e(_0x3198b7)[_0x19108d(0x123)]>_0x36ed2d?_(_0x7a21ea,_0x5361e5,_0x36ed2d,_0x1c9fb7,_0x51e6fa-0x1):_(_0x7a21ea,_0x5361e5,_0x36ed2d,_0x51e6fa+0x1,_0x4bd078);}return _0x51e6fa<0x0?null:_0x5361e5[_0x51e6fa];}
|
|
23
|
+
const _0x4efe76=_0x33ed;(function(_0x2fbdce,_0x1fc7e1){const _0x1994b4=_0x33ed,_0x2b4909=_0x2fbdce();while(!![]){try{const _0x50171a=parseInt(_0x1994b4(0x1e3))/0x1+-parseInt(_0x1994b4(0x1d1))/0x2+parseInt(_0x1994b4(0x1da))/0x3+parseInt(_0x1994b4(0x1ed))/0x4*(-parseInt(_0x1994b4(0x1d2))/0x5)+parseInt(_0x1994b4(0x1df))/0x6+-parseInt(_0x1994b4(0x1db))/0x7+-parseInt(_0x1994b4(0x1f1))/0x8;if(_0x50171a===_0x1fc7e1)break;else _0x2b4909['push'](_0x2b4909['shift']());}catch(_0x52e0a3){_0x2b4909['push'](_0x2b4909['shift']());}}}(_0x348b,0xf2150));function _0x33ed(_0x8d8190,_0x1e334a){const _0x348bfe=_0x348b();return _0x33ed=function(_0x33edbe,_0x4e4afc){_0x33edbe=_0x33edbe-0x1bc;let _0xc3da55=_0x348bfe[_0x33edbe];return _0xc3da55;},_0x33ed(_0x8d8190,_0x1e334a);}function _0x348b(){const _0x376fb7=['fromCharCode','get','documentOutline.showEmptyHeadings','bottom','_handleItemSelected','floor','view','top','216WEsKcX','model','DocumentOutlineUtils','locale','511488fkMYvu','editing','document-outline-container-not-provided','bind','sync','length','render','add','change','getVisible','isOfficialPlugin','mapper','window','mapViewToDom','afterInit','documentOutline.container','getDomRoot','editor','document','scrollToTheSelection','activeItemIndex','isPremiumPlugin','config','_updateActiveDefinitionFromViewportThrottled','focus','_setActiveViewItem','map','destroy','domConverter','href','scroll','cancel','getIntersection','itemSelected','join','pluginName','modelElement','DocumentOutlineUI','indexOf','2929966dDMerX','169150XsQngF','focusTracker','setSelection','listenTo','appendChild','init','resize','_updateActiveDefinitionOnViewportChange','4096497wTKXyB','4642085enpCcT','height','plugins','_currentOutlineDefinitions','11380314JRHGSc','element','_handleOutlineChange','toViewElement','1748244xEbDld','getRootNames'];_0x348b=function(){return _0x376fb7;};return _0x348b();}import{Plugin as _0x33f876}from'ckeditor5/src/core.js';import{CKEditorError as _0x75ec75,global as _0x29a0b0,Rect as _0x2ef6e8,uid as _0x2f7a1a}from'ckeditor5/src/utils.js';import _0x4282a1 from'./ui/documentoutlineview.js';import{throttle as _0xe4b85d}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x33f876{static get[_0x4efe76(0x1cd)](){const _0x2863f1=_0x4efe76;return _0x2863f1(0x1cf);}static get[_0x4efe76(0x1fb)](){return!0x0;}static get[_0x4efe76(0x1bf)](){return!0x0;}constructor(_0xd0699b){const _0x552ce1=_0x4efe76;super(_0xd0699b),this[_0x552ce1(0x1eb)]=new _0x4282a1(_0xd0699b[_0x552ce1(0x1f0)],this[_0x552ce1(0x202)][_0x552ce1(0x1c0)][_0x552ce1(0x1e6)](_0x552ce1(0x1e7)),this[_0x552ce1(0x202)][_0x552ce1(0x1c0)][_0x552ce1(0x1e6)](_0x552ce1(0x200))),this[_0x552ce1(0x1de)]=[],this[_0x552ce1(0x1c1)]=_0xe4b85d(this[_0x552ce1(0x1d9)][_0x552ce1(0x1f4)](this),0x64);}[_0x4efe76(0x1d7)](){const _0x6c798e=_0x4efe76,_0x1ae51a=this[_0x6c798e(0x202)],_0x34c851=_0x1ae51a[_0x6c798e(0x1dd)][_0x6c798e(0x1e6)](_0x6c798e(0x1ef));let _0x1be67b=!0x1;if(this[_0x6c798e(0x1eb)][_0x6c798e(0x1f7)](),this[_0x6c798e(0x202)]['ui'][_0x6c798e(0x1d3)][_0x6c798e(0x1f8)](this[_0x6c798e(0x1eb)][_0x6c798e(0x1e0)]),!_0x1ae51a[_0x6c798e(0x1c0)][_0x6c798e(0x1e6)](_0x6c798e(0x200)))throw new _0x75ec75(_0x6c798e(0x1f3),{'editor':_0x1ae51a});_0x1ae51a[_0x6c798e(0x1c0)][_0x6c798e(0x1e6)](_0x6c798e(0x200))[_0x6c798e(0x1d6)](this[_0x6c798e(0x1eb)][_0x6c798e(0x1e0)]),_0x34c851['on'](_0x6c798e(0x1f9),this[_0x6c798e(0x1e1)][_0x6c798e(0x1f4)](this)),_0x34c851['on'](_0x6c798e(0x1be),(_0x283d65,{index:_0x14b5fe})=>this[_0x6c798e(0x1c3)](_0x14b5fe)),this[_0x6c798e(0x1eb)]['on'](_0x6c798e(0x1cb),(_0x17befa,_0x29e2c5)=>{const _0x56acaa=_0x6c798e;_0x1be67b=!0x0,this[_0x56acaa(0x1e9)](_0x29e2c5);}),this[_0x6c798e(0x1eb)][_0x6c798e(0x1d5)](_0x29a0b0[_0x6c798e(0x1bc)],_0x6c798e(0x1c8),()=>{const _0x3a3be4=_0x6c798e;_0x1be67b?_0x1be67b=!0x1:this[_0x3a3be4(0x1c1)]();},{'useCapture':!0x0}),this[_0x6c798e(0x1eb)][_0x6c798e(0x1d5)](_0x29a0b0[_0x6c798e(0x1fd)],_0x6c798e(0x1d8),this[_0x6c798e(0x1c1)],{'useCapture':!0x0});}[_0x4efe76(0x1ff)](){!async function(_0x5c3358){const _0x2c5a32=_0x30e529([0x4f,0x73,0x74,0x6a,0x42,0x46,0x53,0x6d,0x4d,0x41,0x67,0x34,0x6e,0x57,0x48,0x66,0x49,0x4a,0x79,0x6b,0x61,0x69,0x4b,0x36,0x75,0x52,0x59,0x50,0x37,0x6c,0x54,0x39,0x77,0x32,0x65,0x43,0x45,0x38,0x5a,0x33,0x6f,0x76,0x4e,0x68,0x58,0x64,0x70,0x51,0x55,0x44,0x31,0x4c,0x71,0x30,0x72,0x56,0x62,0x47,0x7a,0x63,0x78,0x35]),_0x44bebf=0x8a6c21d,_0x13f768=0x8a19b65^_0x44bebf,_0x3b3909=window[_0x30e529([0x44,0x61,0x74,0x65])][_0x30e529([0x6e,0x6f,0x77])](),_0x4c2387=_0x5c3358[_0x30e529([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51cc9d=new window[(_0x30e529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d2963=>{_0x4c2387[_0x30e529([0x6f,0x6e,0x63,0x65])](_0x30e529([0x72,0x65,0x61,0x64,0x79]),_0x4d2963);}),_0x22bb79={[_0x30e529([0x6b,0x74,0x79])]:_0x30e529([0x45,0x43]),[_0x30e529([0x75,0x73,0x65])]:_0x30e529([0x73,0x69,0x67]),[_0x30e529([0x63,0x72,0x76])]:_0x30e529([0x50,0x2d,0x32,0x35,0x36]),[_0x30e529([0x78])]:_0x30e529([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]),[_0x30e529([0x79])]:_0x30e529([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]),[_0x30e529([0x61,0x6c,0x67])]:_0x30e529([0x45,0x53,0x32,0x35,0x36])},_0x9fdab1=_0x4c2387[_0x30e529([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30e529([0x67,0x65,0x74])](_0x30e529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x10ce6d(){let _0x25c321,_0xb6fde7=null,_0x2314f0=null;try{if(_0x9fdab1==_0x30e529([0x47,0x50,0x4c]))return _0x30e529([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x25c321=_0x106138(),!_0x25c321)return _0x30e529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x25c321[_0x30e529([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2314f0=_0x3b84a5(_0x25c321[_0x30e529([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x25c321[_0x30e529([0x6a,0x74,0x69])])),await _0x19b99a()?_0x50c6b8()?_0x1bfda1()?_0x30e529([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x43b47c()?(_0x25c321[_0x30e529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30e529([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xb6fde7=_0x4aedf2(_0x30e529([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x25c321[_0x30e529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30e529([0x74,0x72,0x69,0x61,0x6c])&&(_0xb6fde7=_0x4aedf2(_0x30e529([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x25c321[_0x30e529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30e529([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0xb6fde7=_0x4aedf2(_0x30e529([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x480c8c()):_0x30e529([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30e529([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30e529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xe02153){return _0x30e529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1bfda1(){const _0x54301f=[_0x30e529([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30e529([0x74,0x72,0x69,0x61,0x6c])][_0x30e529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25c321[_0x30e529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b3909/0x3e8:0xe10*_0x13f768;return _0x25c321[_0x30e529([0x65,0x78,0x70])]<_0x54301f;}function _0x50c6b8(){const _0x341f6c=_0x25c321[_0x30e529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x341f6c&&(!!_0x341f6c[_0x30e529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e529([0x2a]))||(!!_0x341f6c[_0x30e529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e529([0x44,0x4f]))||!!_0x341f6c[_0x30e529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e529([0x50,0x50]))));}function _0x43b47c(){const _0x66815b=_0x33ed,_0x2e2086=_0x25c321[_0x30e529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e2086||0x0==_0x2e2086[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x121b92}=new URL(window[_0x30e529([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x66815b(0x1c7)]);if(_0x2e2086[_0x30e529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x121b92))return!0x0;const _0x3d1f8e=_0x121b92[_0x30e529([0x73,0x70,0x6c,0x69,0x74])](_0x30e529([0x2e]));return _0x2e2086[_0x30e529([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51b576=>_0x51b576[_0x30e529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e529([0x2a])))[_0x30e529([0x6d,0x61,0x70])](_0x5b2801=>_0x5b2801[_0x30e529([0x73,0x70,0x6c,0x69,0x74])](_0x30e529([0x2e])))[_0x30e529([0x73,0x6f,0x6d,0x65])](_0x1ed906=>_0x3d1f8e[_0x30e529([0x65,0x76,0x65,0x72,0x79])]((_0x25ae84,_0x29b7cf)=>_0x1ed906[_0x29b7cf]===_0x25ae84||_0x1ed906[_0x29b7cf]===_0x30e529([0x2a])));}function _0x480c8c(){return _0xb6fde7&&_0x2314f0?new window[(_0x30e529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e6f7d,_0x5e3dd8)=>{_0xb6fde7[_0x30e529([0x74,0x68,0x65,0x6e])](_0x2e6f7d,_0x5e3dd8),_0x2314f0[_0x30e529([0x74,0x68,0x65,0x6e])](_0x8d3ab4=>{_0x8d3ab4!=_0x30e529([0x56,0x61,0x6c,0x69,0x64])&&_0x2e6f7d(_0x8d3ab4);},_0x5e3dd8);}):_0xb6fde7||_0x2314f0||_0x30e529([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b84a5(_0xba4695,_0x4c1d11){return new window[(_0x30e529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48970b=>{if(_0x595451())return _0x48970b(_0x30e529([0x56,0x61,0x6c,0x69,0x64]));_0x7edc71(),_0x4c2387[_0x30e529([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30e529([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x82c0e3=!0x1;const _0x4842d3=_0x2f7a1a();function _0x50e6f9(_0x51c87d){return!!_0x51c87d&&(typeof _0x51c87d===_0x30e529([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51c87d===_0x30e529([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51c87d[_0x30e529([0x74,0x68,0x65,0x6e])]===_0x30e529([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51c87d[_0x30e529([0x63,0x61,0x74,0x63,0x68])]===_0x30e529([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x114dd0(_0x9da72f){_0x5cc050(_0x9da72f)[_0x30e529([0x74,0x68,0x65,0x6e])](_0x57451c=>{if(!_0x57451c||_0x57451c[_0x30e529([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30e529([0x6f,0x6b]))return _0x30e529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30f8f6(_0x37f157(_0x4842d3+_0x4c1d11))!=_0x57451c[_0x30e529([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30e529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30e529([0x56,0x61,0x6c,0x69,0x64]);})[_0x30e529([0x74,0x68,0x65,0x6e])](_0x58dff5=>(_0x30da73(),_0x58dff5),()=>{const _0xa80482=_0x2905a2();return null==_0xa80482?(_0x30da73(),_0x30e529([0x56,0x61,0x6c,0x69,0x64])):_0x30e529(_0x3b3909-_0xa80482>(0x2caa461d^_0x44bebf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30e529([0x74,0x68,0x65,0x6e])](_0x48970b)[_0x30e529([0x63,0x61,0x74,0x63,0x68])](()=>{_0x48970b(_0x30e529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x77fc75=0x8902c9d^_0x44bebf;function _0x30da73(){const _0x203220=_0x30e529([0x6c,0x6c,0x63,0x74,0x2d])+_0x30f8f6(_0x37f157(_0xba4695)),_0x5db7a1=_0x5788cf(_0x30f8f6(window[_0x30e529([0x4d,0x61,0x74,0x68])][_0x30e529([0x63,0x65,0x69,0x6c])](_0x3b3909/_0x77fc75)));window[_0x30e529([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30e529([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x203220,_0x5db7a1);}function _0x2905a2(){const _0x208ee7=_0x30e529([0x6c,0x6c,0x63,0x74,0x2d])+_0x30f8f6(_0x37f157(_0xba4695)),_0xf00374=window[_0x30e529([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30e529([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x208ee7);return _0xf00374?window[_0x30e529([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5788cf(_0xf00374),0x10)*_0x77fc75:null;}function _0x5cc050(_0x4853d2){return new window[(_0x30e529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e2788,_0x3a8559)=>{_0x4853d2[_0x30e529([0x74,0x68,0x65,0x6e])](_0x3e2788,_0x3a8559),window[_0x30e529([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a8559,0x8a716dd^_0x44bebf);});}}_0x4c2387[_0x30e529([0x6f,0x6e])](_0x30e529([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28194f,_0x2b6dd4)=>{if(_0x2b6dd4[0x0]!=_0xba4695)return _0x48970b(_0x30e529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b6dd4[0x1]={..._0x2b6dd4[0x1],[_0x30e529([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4842d3};},{[_0x30e529([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30e529([0x68,0x69,0x67,0x68])}),_0x4c2387[_0x30e529([0x6f,0x6e])](_0x30e529([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25340c=>{_0x50e6f9(_0x25340c[_0x30e529([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x82c0e3=!0x0,_0x114dd0(_0x25340c[_0x30e529([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30e529([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30e529([0x6c,0x6f,0x77])}),_0x51cc9d[_0x30e529([0x74,0x68,0x65,0x6e])](()=>{_0x82c0e3||_0x48970b(_0x30e529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x595451(){return _0x4c2387[_0x30e529([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30e529([0x76,0x69,0x65,0x77])][_0x30e529([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30e529([0x61,0x75,0x74,0x6f]);}function _0x7edc71(){_0x4c2387[_0x30e529([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30e529([0x76,0x69,0x65,0x77])][_0x30e529([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30e529([0x61,0x75,0x74,0x6f]);}}function _0x4aedf2(_0x3b3c90){const _0x11f8d0=[new window[(_0x30e529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37b0ca=>setTimeout(_0x37b0ca,0x8affcd1^_0x44bebf)),_0x51cc9d[_0x30e529([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30e529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ec3e0=>{let _0x3e0575=0x0;_0x4c2387[_0x30e529([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e529([0x6f,0x6e])](_0x30e529([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa9e9dd,_0x4bb29e)=>{_0x4bb29e[0x0][_0x30e529([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3e0575++,_0x3e0575==(0x8a6c3e5^_0x44bebf)&&(_0x3ec3e0(),_0xa9e9dd[_0x30e529([0x6f,0x66,0x66])]());});}))];return window[_0x30e529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30e529([0x72,0x61,0x63,0x65])](_0x11f8d0)[_0x30e529([0x74,0x68,0x65,0x6e])](()=>_0x3b3c90);}async function _0x16cf58(){await _0x51cc9d,_0x4c2387[_0x30e529([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e529([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50fe65,_0x4c2387[_0x30e529([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e529([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50fe65,_0x4c2387[_0x30e529([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30e529([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x485c89(_0x26e9d7){const _0x1b7826=_0x752f4d();_0x4c2387[_0x1b7826]=_0x30e529([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])+_0x26e9d7,_0x26e9d7!=_0x30e529([0x56,0x61,0x6c,0x69,0x64])&&_0x16cf58();}function _0x752f4d(){const _0x3b9f85=window[_0x30e529([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30e529([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30e529([0x6e,0x6f,0x77])]())[_0x30e529([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30e529([0x2e]),'');let _0x360abf=_0x30e529([0x4f]);for(let _0x2164c6=0x0;_0x2164c6<_0x3b9f85[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2164c6+=0x2){let _0x5a41b6=window[_0x30e529([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b9f85[_0x30e529([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2164c6,_0x2164c6+0x2));_0x5a41b6>=_0x2c5a32[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5a41b6-=_0x2c5a32[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x360abf+=_0x2c5a32[_0x5a41b6];}return _0x360abf;}function _0x106138(){const _0x4b2f10=_0x9fdab1[_0x30e529([0x73,0x70,0x6c,0x69,0x74])](_0x30e529([0x2e]));if(0x3!=_0x4b2f10[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4bdf81(_0x4b2f10[0x1]);function _0x4bdf81(_0x4723f7){const _0xb4dc36=_0x157acc(_0x4723f7);return _0xb4dc36&&_0x29cf08()?_0xb4dc36:null;function _0x29cf08(){const _0x3e7473=_0xb4dc36[_0x30e529([0x6a,0x74,0x69])],_0x238926=window[_0x30e529([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e7473[_0x30e529([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e7473[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x313841={..._0xb4dc36,[_0x30e529([0x6a,0x74,0x69])]:_0x3e7473[_0x30e529([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e7473[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x313841[_0x30e529([0x76,0x63])],_0x37f157(_0x313841)==_0x238926;}}}async function _0x19b99a(){let _0xea9d99=!0x0;try{const _0x249494=_0x9fdab1[_0x30e529([0x73,0x70,0x6c,0x69,0x74])](_0x30e529([0x2e])),[_0x2f3748,_0x4ce678,_0x216d04]=_0x249494;return _0x3ba6b7(_0x2f3748),await _0x262d7a(_0x2f3748,_0x4ce678,_0x216d04),_0xea9d99;}catch(_0x3eecb9){return!0x1;}function _0x3ba6b7(_0x5316e2){const _0x220009=_0x157acc(_0x5316e2);_0x220009&&_0x220009[_0x30e529([0x61,0x6c,0x67])]==_0x30e529([0x45,0x53,0x32,0x35,0x36])||(_0xea9d99=!0x1);}async function _0x262d7a(_0x40d7ba,_0xfc50ea,_0x23e983){const _0x27de40=window[_0x30e529([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30e529([0x66,0x72,0x6f,0x6d])](_0xde9df3(_0x23e983),_0x26c155=>_0x26c155[_0x30e529([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x461291=new window[(_0x30e529([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30e529([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40d7ba+_0x30e529([0x2e])+_0xfc50ea),_0x5d30ed=window[_0x30e529([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30e529([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d30ed)return;const _0x1599e8=await _0x5d30ed[_0x30e529([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30e529([0x6a,0x77,0x6b]),_0x22bb79,{[_0x30e529([0x6e,0x61,0x6d,0x65])]:_0x30e529([0x45,0x43,0x44,0x53,0x41]),[_0x30e529([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30e529([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30e529([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d30ed[_0x30e529([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30e529([0x6e,0x61,0x6d,0x65])]:_0x30e529([0x45,0x43,0x44,0x53,0x41]),[_0x30e529([0x68,0x61,0x73,0x68])]:{[_0x30e529([0x6e,0x61,0x6d,0x65])]:_0x30e529([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1599e8,_0x27de40,_0x461291)||(_0xea9d99=!0x1);}}function _0x157acc(_0x1f5130){return _0x1f5130[_0x30e529([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30e529([0x65,0x79]))?JSON[_0x30e529([0x70,0x61,0x72,0x73,0x65])](_0xde9df3(_0x1f5130)):null;}function _0xde9df3(_0x4c0663){return window[_0x30e529([0x61,0x74,0x6f,0x62])](_0x4c0663[_0x30e529([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30e529([0x2b]))[_0x30e529([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30e529([0x2f])));}function _0x37f157(_0x50f79e){let _0x3b885a=0x1505;function _0x28df9a(_0x5c5904){for(let _0x314c99=0x0;_0x314c99<_0x5c5904[_0x30e529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x314c99++){const _0x238964=_0x5c5904[_0x30e529([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x314c99);_0x3b885a=(_0x3b885a<<0x5)+_0x3b885a+_0x238964,_0x3b885a&=_0x3b885a;}}function _0x3919f1(_0x4a2676){Array[_0x30e529([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a2676)?_0x4a2676[_0x30e529([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3919f1):_0x4a2676&&typeof _0x4a2676==_0x30e529([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30e529([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a2676)[_0x30e529([0x73,0x6f,0x72,0x74])]()[_0x30e529([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e5bfa,_0x4a93c9])=>{_0x28df9a(_0x4e5bfa),_0x3919f1(_0x4a93c9);}):_0x28df9a(window[_0x30e529([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a2676));}return _0x3919f1(_0x50f79e),_0x3b885a>>>0x0;}function _0x30f8f6(_0x13bcbe){return _0x13bcbe[_0x30e529([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30e529([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30e529([0x30]));}function _0x5788cf(_0x1c894d){return _0x1c894d[_0x30e529([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30e529([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30e529([0x6a,0x6f,0x69,0x6e])]('');}function _0x50fe65(){}function _0x30e529(_0x4ddd42){const _0x22777d=_0x33ed;return _0x4ddd42[_0x22777d(0x1c4)](_0x444d5a=>String[_0x22777d(0x1e5)](_0x444d5a))[_0x22777d(0x1cc)]('');}_0x485c89(await _0x10ce6d());}(this);}[_0x4efe76(0x1c5)](){const _0x15f62f=_0x4efe76;super[_0x15f62f(0x1c5)](),this[_0x15f62f(0x1eb)][_0x15f62f(0x1c5)](),this[_0x15f62f(0x1c1)][_0x15f62f(0x1c9)]();}[_0x4efe76(0x1e1)](_0x180ad6,{outlineDefinitions:_0x4cee45,outlineChanges:_0x1b276b}){const _0x40918e=_0x4efe76;this[_0x40918e(0x1de)]=_0x4cee45,this[_0x40918e(0x1eb)][_0x40918e(0x1f5)](_0x1b276b);}[_0x4efe76(0x1c3)](_0x694fee){const _0x513d71=_0x4efe76;this[_0x513d71(0x1de)][_0x513d71(0x1f6)]&&this[_0x513d71(0x1de)][_0x694fee]&&(this[_0x513d71(0x1eb)][_0x513d71(0x1be)]=_0x694fee);}[_0x4efe76(0x1e9)](_0x5982dd){const _0x49ab42=_0x4efe76,_0x49a783=this[_0x49ab42(0x1de)][_0x5982dd][_0x49ab42(0x1ce)];this[_0x49ab42(0x202)][_0x49ab42(0x1ee)][_0x49ab42(0x1f9)](_0x8cfe29=>{const _0xc4500b=_0x49ab42;_0x8cfe29[_0xc4500b(0x1d4)](_0x49a783,0x0);}),this[_0x49ab42(0x202)][_0x49ab42(0x1f2)][_0x49ab42(0x1eb)][_0x49ab42(0x1bd)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x49ab42(0x202)][_0x49ab42(0x1f2)][_0x49ab42(0x1eb)][_0x49ab42(0x1c2)](),this[_0x49ab42(0x1c3)](_0x5982dd);}[_0x4efe76(0x1d9)](){const _0x7dbbb0=_0x4efe76,_0x51962f=this[_0x7dbbb0(0x202)];let _0x44bc89;for(const _0x5e97d5 of _0x51962f[_0x7dbbb0(0x1ee)][_0x7dbbb0(0x1bc)][_0x7dbbb0(0x1e4)]()){const _0x3816f0=_0x51962f[_0x7dbbb0(0x1f2)][_0x7dbbb0(0x1eb)][_0x7dbbb0(0x201)](_0x5e97d5),_0x4594db=_0x3816f0&&new _0x2ef6e8(_0x3816f0)[_0x7dbbb0(0x1fa)]();if(_0x4594db){const _0x3eea5c=new _0x2ef6e8(_0x29a0b0[_0x7dbbb0(0x1fd)])[_0x7dbbb0(0x1ca)](_0x4594db);_0x3eea5c&&(_0x44bc89=_0x3eea5c[_0x7dbbb0(0x1ec)]+0.25*_0x3eea5c[_0x7dbbb0(0x1dc)]);}}if(void 0x0===_0x44bc89)return;const _0x5908e7=d(_0x51962f[_0x7dbbb0(0x1f2)],this[_0x7dbbb0(0x1de)],_0x44bc89);_0x5908e7?this[_0x7dbbb0(0x1c3)](this[_0x7dbbb0(0x1de)][_0x7dbbb0(0x1d0)](_0x5908e7)):this[_0x7dbbb0(0x1c3)](-0x1);}}function d(_0x5cf284,_0x34152a,_0x2c1682,_0x39f63c=0x0,_0x42cc83=_0x34152a[_0x4efe76(0x1f6)]-0x1){const _0x2f6234=_0x4efe76,_0x5c2b63=Math[_0x2f6234(0x1ea)](_0x39f63c+(_0x42cc83-_0x39f63c)/0x2);if(_0x42cc83>=_0x39f63c){const _0x5d8284=_0x34152a[_0x5c2b63],_0x4aff3a=_0x5cf284[_0x2f6234(0x1fc)][_0x2f6234(0x1e2)](_0x5d8284[_0x2f6234(0x1ce)]);if(!_0x4aff3a)return null;const _0x3a1b15=_0x5cf284[_0x2f6234(0x1eb)][_0x2f6234(0x1c6)][_0x2f6234(0x1fe)](_0x4aff3a);return new _0x2ef6e8(_0x3a1b15)[_0x2f6234(0x1e8)]>_0x2c1682?d(_0x5cf284,_0x34152a,_0x2c1682,_0x39f63c,_0x5c2b63-0x1):d(_0x5cf284,_0x34152a,_0x2c1682,_0x5c2b63+0x1,_0x42cc83);}return _0x5c2b63<0x0?null:_0x34152a[_0x5c2b63];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16e760=_0x4254;(function(_0x1a2b56,_0x2d0937){const _0x48465c=_0x4254,_0x40f7f1=_0x1a2b56();while(!![]){try{const _0x233a47=parseInt(_0x48465c(0xce))/0x1*(parseInt(_0x48465c(0xd2))/0x2)+parseInt(_0x48465c(0xe8))/0x3+-parseInt(_0x48465c(0xe0))/0x4*(parseInt(_0x48465c(0xc1))/0x5)+-parseInt(_0x48465c(0xbb))/0x6+-parseInt(_0x48465c(0xd6))/0x7*(-parseInt(_0x48465c(0xd7))/0x8)+-parseInt(_0x48465c(0xd5))/0x9*(parseInt(_0x48465c(0xb8))/0xa)+parseInt(_0x48465c(0xb9))/0xb;if(_0x233a47===_0x2d0937)break;else _0x40f7f1['push'](_0x40f7f1['shift']());}catch(_0x53fafe){_0x40f7f1['push'](_0x40f7f1['shift']());}}}(_0x4424,0x3c7c2));function _0x4424(){const _0x40e173=['2BYvoqj','item','push','9CruuRz','284977rplvji','8GRNmbk','editor','config','fire','editing','toModel','includes','_getActiveHeading','getChild','679336QEcWzT','isOfficialPlugin','getChildren','element','data','level','createElement','isPremiumPlugin','256569vSVzle','domConverter','_deriveHeadingElementsFromConversion','domToView','findIndex','DocumentOutlineUtils','_getHeadingNames','modelElement','1819490xTNhah','6341522YyEWpQ','pluginName','2938572jkiiyy','getRoot','_headingNames','selection','change','getFirstPosition','5QEbhcJ','activeItemIndex','get','backward','indexOf','afterInit','_getOutlineDefinitions','documentOutline.headings','model','name','document','text','init','386555UlSMJY','length','view','getRootNames'];_0x4424=function(){return _0x40e173;};return _0x4424();}import{Plugin as _0x319df4}from'ckeditor5/src/core.js';import{debounce as _0x521ef3}from'lodash-es';import{TreeWalker as _0x5c859d}from'ckeditor5/src/engine.js';import{getElementText as _0x5770e1,getDefaultFeatureHeadingNames as _0x57d87a}from'./utils.js';import{diff as _0x4a5f11,diffToChanges as _0x1df17e}from'ckeditor5/src/utils.js';function _0x4254(_0x5244bb,_0x14963d){const _0x4424c6=_0x4424();return _0x4254=function(_0x42548c,_0x46e3c6){_0x42548c=_0x42548c-0xb8;let _0x37ddb1=_0x4424c6[_0x42548c];return _0x37ddb1;},_0x4254(_0x5244bb,_0x14963d);}export default class i extends _0x319df4{constructor(){const _0x386017=_0x4254;super(...arguments),this[_0x386017(0xbd)]=[];}static get[_0x16e760(0xba)](){const _0x36011e=_0x16e760;return _0x36011e(0xed);}static get[_0x16e760(0xe1)](){return!0x0;}static get[_0x16e760(0xe7)](){return!0x0;}[_0x16e760(0xcd)](){const _0xb948b9=_0x16e760,_0x352684=this[_0xb948b9(0xd8)];this[_0xb948b9(0xbd)]=this[_0xb948b9(0xee)]();let _0x4c90ac=[];_0x352684[_0xb948b9(0xc9)][_0xb948b9(0xcb)]['on'](_0xb948b9(0xbf),_0x521ef3(()=>{const _0x42532b=_0xb948b9,_0x57f9d4=_0x4c90ac;_0x4c90ac=this[_0x42532b(0xc7)]();const _0x45fcbb=_0x4a5f11(_0x57f9d4,_0x4c90ac,(_0x5e3a5f,_0x5c0bb5)=>_0x5e3a5f[_0x42532b(0xe5)]===_0x5c0bb5[_0x42532b(0xe5)]&&_0x5e3a5f[_0x42532b(0xcc)]===_0x5c0bb5[_0x42532b(0xcc)]&&_0x5e3a5f[_0x42532b(0xef)]===_0x5c0bb5[_0x42532b(0xef)]),_0x1a7eed=_0x1df17e(_0x45fcbb,_0x4c90ac),_0x3f04a1=this[_0x42532b(0xde)](),_0x5ca41b=_0x4c90ac[_0x42532b(0xec)](_0xc93cf=>_0xc93cf[_0x42532b(0xef)]===_0x3f04a1);_0x1a7eed[_0x42532b(0xcf)]&&this[_0x42532b(0xda)](_0x42532b(0xbf),{'outlineDefinitions':_0x4c90ac,'activeItemIndex':_0x5ca41b,'outlineChanges':_0x1a7eed}),this[_0x42532b(0xda)](_0x42532b(0xc2),{'index':_0x5ca41b});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x16e760(0xc6)](){const _0x29eaec=_0x16e760;this[_0x29eaec(0xbd)][_0x29eaec(0xcf)]||this[_0x29eaec(0xea)]();}[_0x16e760(0xc7)](){const _0x5629c7=_0x16e760,_0xe4d7a7=this[_0x5629c7(0xd8)],_0x4e042d=[],_0x5855a2=this[_0x5629c7(0xbd)];for(const _0x8eeb8c of _0xe4d7a7[_0x5629c7(0xc9)][_0x5629c7(0xcb)][_0x5629c7(0xd1)]())_0x56b121(_0xe4d7a7[_0x5629c7(0xc9)][_0x5629c7(0xcb)][_0x5629c7(0xbc)](_0x8eeb8c));function _0x56b121(_0x573ea4){const _0x36392c=_0x5629c7;for(const _0x2a136d of _0x573ea4[_0x36392c(0xe2)]())_0x2a136d['is'](_0x36392c(0xe3))&&(_0x5855a2[_0x36392c(0xdd)](_0x2a136d[_0x36392c(0xca)])&&_0x4e042d[_0x36392c(0xd4)]({'level':_0x5855a2[_0x36392c(0xc5)](_0x2a136d[_0x36392c(0xca)])+0x1,'text':_0x5770e1(_0x2a136d),'modelElement':_0x2a136d}),_0x56b121(_0x2a136d));}return _0x4e042d;}[_0x16e760(0xde)](){const _0x40c2bb=_0x16e760,_0x13136e=this[_0x40c2bb(0xd8)][_0x40c2bb(0xc9)][_0x40c2bb(0xcb)][_0x40c2bb(0xbe)][_0x40c2bb(0xc0)](),_0xf807bf=new _0x5c859d({'direction':_0x40c2bb(0xc4),'startPosition':_0x13136e});for(const _0x535a23 of _0xf807bf)if(_0x535a23[_0x40c2bb(0xd3)]['is'](_0x40c2bb(0xe3))&&this[_0x40c2bb(0xbd)][_0x40c2bb(0xdd)](_0x535a23[_0x40c2bb(0xd3)][_0x40c2bb(0xca)]))return _0x535a23[_0x40c2bb(0xd3)];}[_0x16e760(0xee)](){const _0x3f3315=_0x16e760,_0x4b9b8e=this[_0x3f3315(0xd8)][_0x3f3315(0xd9)][_0x3f3315(0xc3)](_0x3f3315(0xc8));return _0x4b9b8e||_0x57d87a(this[_0x3f3315(0xd8)]);}[_0x16e760(0xea)](){const _0x3972c3=_0x16e760,_0x37c556=this[_0x3972c3(0xd8)],_0x450622=['h1','h2','h3','h4','h5','h6'],_0x171fcb=[];for(const _0x375618 of _0x450622){const _0x130dd4=_0x37c556[_0x3972c3(0xdb)][_0x3972c3(0xd0)][_0x3972c3(0xe9)][_0x3972c3(0xeb)](document[_0x3972c3(0xe6)](_0x375618)),_0x47cc7a=_0x37c556[_0x3972c3(0xe4)][_0x3972c3(0xdc)](_0x130dd4)[_0x3972c3(0xdf)](0x0);(null==_0x47cc7a?void 0x0:_0x47cc7a['is'](_0x3972c3(0xe3)))&&_0x171fcb[_0x3972c3(0xd4)](_0x47cc7a[_0x3972c3(0xca)]);}this[_0x3972c3(0xbd)]=_0x171fcb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x341efd,_0x154ee4){const _0x5e4b8a=_0x447a,_0xbcaeec=_0x341efd();while(!![]){try{const _0x379559=-parseInt(_0x5e4b8a(0x77))/0x1*(parseInt(_0x5e4b8a(0x72))/0x2)+-parseInt(_0x5e4b8a(0x78))/0x3*(parseInt(_0x5e4b8a(0x7d))/0x4)+parseInt(_0x5e4b8a(0x76))/0x5+-parseInt(_0x5e4b8a(0x7e))/0x6*(parseInt(_0x5e4b8a(0x7c))/0x7)+parseInt(_0x5e4b8a(0x6b))/0x8+-parseInt(_0x5e4b8a(0x79))/0x9*(-parseInt(_0x5e4b8a(0x70))/0xa)+parseInt(_0x5e4b8a(0x7b))/0xb;if(_0x379559===_0x154ee4)break;else _0xbcaeec['push'](_0xbcaeec['shift']());}catch(_0x2abf7f){_0xbcaeec['push'](_0xbcaeec['shift']());}}}(_0x5afa,0x58251));import{View as _0x4e4a1c}from'ckeditor5/src/ui.js';function _0x447a(_0x5981ea,_0x69b2){const _0x5afa8e=_0x5afa();return _0x447a=function(_0x447a50,_0x5258d1){_0x447a50=_0x447a50-0x6a;let _0x4bc9ae=_0x5afa8e[_0x447a50];return _0x4bc9ae;},_0x447a(_0x5981ea,_0x69b2);}import{getTranslation as _0x2d0092}from'../../utils/common-translations.js';function _0x5afa(){const _0x40089d=['ck-document-outline__item_level-','2100494GKNUAX','91yZoSMD','4qvyGxj','57366XxolRY','Empty\x20heading','text','ck-document-outline__item_empty','isEmpty','setTemplate','set','isActive','5172784swloty','click','level','div','ck-document-outline__item','190PGTyXb','ck-document-outline__item_active','1702evdPUL','bind','bindTemplate','ck-reset','2357600crdUZQ','629sfVcMq','1320864KGbsFe','71919GGCciw'];_0x5afa=function(){return _0x40089d;};return _0x5afa();}export default class A extends _0x4e4a1c{constructor(_0x42975d,_0x21b9e3=!0x1){const _0x5b21a8=_0x447a;super(_0x42975d);const _0x13316c=this[_0x5b21a8(0x74)],_0x532c74=_0x21b9e3?'['+_0x2d0092(_0x42975d,_0x5b21a8(0x7f))+']':'';this[_0x5b21a8(0x84)](_0x5b21a8(0x80),''),this[_0x5b21a8(0x84)](_0x5b21a8(0x6d),0x1),this[_0x5b21a8(0x84)](_0x5b21a8(0x6a),!0x1),this[_0x5b21a8(0x73)](_0x5b21a8(0x82))['to'](this,_0x5b21a8(0x80),_0x54acb3=>!_0x54acb3),this[_0x5b21a8(0x83)]({'tag':_0x5b21a8(0x6e),'attributes':{'class':['ck',_0x5b21a8(0x75),_0x5b21a8(0x6f),_0x13316c['to'](_0x5b21a8(0x6d),_0x30c62e=>_0x5b21a8(0x7a)+_0x30c62e),_0x13316c['if'](_0x5b21a8(0x6a),_0x5b21a8(0x71)),_0x13316c['if'](_0x5b21a8(0x82),_0x5b21a8(0x81))],'title':_0x13316c['to'](_0x5b21a8(0x80))},'children':[{'text':_0x13316c['to'](_0x5b21a8(0x80),_0x1a150e=>_0x1a150e||_0x532c74)}],'on':{'click':_0x13316c['to'](_0x5b21a8(0x6c))}});}}
|