@ckeditor/ckeditor5-document-outline 47.4.0-alpha.2 → 47.4.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x2669d3,Command as _0x1f8920}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x5773c7,throttle as _0x5de6a2}from'es-toolkit/compat';import{ModelText as _0xcdeb70,ModelTreeWalker as _0x4e3641}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x3761fc,diffToChanges as _0x4b5f5b,scrollAncestorsToShowTarget as _0x2dfd89,CKEditorError as _0x274c25,global as _0x2debc0,Rect as _0x5ef533,uid as _0x18d144,priorities as _0x51cce7}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x7acf24,ButtonView as _0x1ed6e4,MenuBarMenuListItemButtonView as _0x336414}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x5be0ca,toWidget as _0x31f2fa}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x3aa11f}from'@ckeditor/ckeditor5-icons/dist/index.js';function g(_0x508c6b){let _0x10d97b='';for(const _0x191672 of _0x508c6b['getChildren']())_0x191672 instanceof _0xcdeb70&&(_0x10d97b+=_0x191672['data']);return _0x10d97b;}class i extends _0x2669d3{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x45a5e3=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1167b0=[];_0x45a5e3['model']['document']['on']('change',_0x5773c7(()=>{const _0x18d82c=_0x1167b0;_0x1167b0=this['_getOutlineDefinitions']();const _0x2e131d=_0x3761fc(_0x18d82c,_0x1167b0,(_0x54d0a3,_0x5961eb)=>_0x54d0a3['level']===_0x5961eb['level']&&_0x54d0a3['text']===_0x5961eb['text']&&_0x54d0a3['modelElement']===_0x5961eb['modelElement']),_0x2870c8=_0x4b5f5b(_0x2e131d,_0x1167b0),_0x511ebf=this['_getActiveHeading'](),_0xa031b8=_0x1167b0['findIndex'](_0x465a69=>_0x465a69['modelElement']===_0x511ebf);_0x2870c8['length']&&this['fire']('change',{'outlineDefinitions':_0x1167b0,'activeItemIndex':_0xa031b8,'outlineChanges':_0x2870c8}),this['fire']('activeItemIndex',{'index':_0xa031b8});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x4e889f=this['editor'],_0x12d4d9=[],_0xf2c66f=this['_headingNames'];for(const _0x371c4e of _0x4e889f['model']['document']['getRootNames']())_0x466161(_0x4e889f['model']['document']['getRoot'](_0x371c4e));function _0x466161(_0x1eadb1){for(const _0x2b0d3c of _0x1eadb1['getChildren']())_0x2b0d3c['is']('element')&&(_0xf2c66f['includes'](_0x2b0d3c['name'])&&_0x12d4d9['push']({'level':_0xf2c66f['indexOf'](_0x2b0d3c['name'])+0x1,'text':g(_0x2b0d3c),'modelElement':_0x2b0d3c}),_0x466161(_0x2b0d3c));}return _0x12d4d9;}['_getActiveHeading'](){const _0x146a3e=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x51c87d=new _0x4e3641({'direction':'backward','startPosition':_0x146a3e});for(const _0x3aaf97 of _0x51c87d)if(_0x3aaf97['item']['is']('element')&&this['_headingNames']['includes'](_0x3aaf97['item']['name']))return _0x3aaf97['item'];}['_getHeadingNames'](){const _0x15eb20=this['editor']['config']['get']('documentOutline.headings');return _0x15eb20||function(_0x52aafe){const _0xcc7b9b=_0x52aafe['config']['get']('heading.options');return _0xcc7b9b?_0xcc7b9b['reduce']((_0x15e316,_0x863e72)=>('paragraph'!==_0x863e72['model']&&_0x15e316['push'](_0x863e72['model']),_0x15e316),[]):_0x52aafe['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x488614=this['editor'],_0x21cdfd=['h1','h2','h3','h4','h5','h6'],_0x53738d=[];for(const _0x312764 of _0x21cdfd){const _0x376188=_0x488614['editing']['view']['domConverter']['domToView'](document['createElement'](_0x312764)),_0x1881d0=_0x488614['data']['toModel'](_0x376188)['getChild'](0x0);_0x1881d0?.['is']('element')&&_0x53738d['push'](_0x1881d0['name']);}this['_headingNames']=_0x53738d;}}function j(_0x132fc0,_0x393060){const t=_0x132fc0['t'];switch(_0x393060){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 _0x393060;}}class A extends _0x7acf24{constructor(_0x5fba31,_0x20c795=!0x1){super(_0x5fba31);const _0x1500ea=this['bindTemplate'],_0x3496b8=_0x20c795?'['+j(_0x5fba31,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x194b13=>!_0x194b13),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1500ea['to']('level',_0x2ab110=>'ck-document-outline__item_level-'+_0x2ab110),_0x1500ea['if']('isActive','ck-document-outline__item_active'),_0x1500ea['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1500ea['to']('text')},'children':[{'text':_0x1500ea['to']('text',_0x33d0bc=>_0x33d0bc||_0x3496b8)}],'on':{'click':_0x1500ea['to']('click')}});}}class f extends _0x7acf24{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x3cf6f7,_0x3cc623=!0x1,_0x5a4bda){super(_0x3cf6f7),this['showEmptyHeadingText']=_0x3cc623,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x5a4bda,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x3f15af,_0x20db42,_0x5452cb,_0x4675f8)=>{this['_setActiveItem'](_0x4675f8,_0x5452cb);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3cf6f7['contentLanguageDirection'],'data-document-outline-empty-placeholder':j(_0x3cf6f7,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x2d6345){_0x2d6345['forEach'](_0x15110e=>{'insert'==_0x15110e['type']?this['_insertItem'](_0x15110e['index'],..._0x15110e['values']):'delete'==_0x15110e['type']&&this['_deleteItem'](_0x15110e['index'],_0x15110e['howMany']);});}['_setActiveItem'](_0x1a2244,_0x53d77a){if(-0x1!==_0x1a2244){const _0x431bbf=this['items']['get'](_0x1a2244);_0x431bbf&&(_0x431bbf['isActive']=!0x1);}-0x1!==_0x53d77a&&(this['items']['get'](_0x53d77a)['isActive']=!0x0,this['_scrollToItem'](_0x53d77a));}['_insertItem'](_0x59220f,..._0x4ec164){const _0x4ccd80=_0x4ec164['map']((_0x10d69f,_0x427fef)=>{const _0x2d8595=new A(this['locale'],this['showEmptyHeadingText']);return _0x2d8595['text']=_0x10d69f['text'],_0x2d8595['level']=_0x10d69f['level'],_0x59220f+_0x427fef===this['activeItemIndex']&&(_0x2d8595['isActive']=!0x0),_0x2d8595;});this['items']['addMany'](_0x4ccd80,_0x59220f);}['_deleteItem'](_0x21fa2e,_0x440bbb){do{this['items']['remove'](_0x21fa2e);}while(--_0x440bbb);}['_handleItemClick'](_0x5e2cae){const _0x28a02f=this['items']['getIndex'](_0x5e2cae['source']);this['fire']('itemSelected',_0x28a02f);}['_scrollToItem'](_0x2f9791){_0x2dfd89(this['items']['get'](_0x2f9791)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x2669d3{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2000cd){super(_0x2000cd),this['view']=new f(_0x2000cd['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x5de6a2(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2ad536=this['editor'],_0x26c80a=_0x2ad536['plugins']['get']('DocumentOutlineUtils');let _0x52f56d=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2ad536['config']['get']('documentOutline.container'))throw new _0x274c25('document-outline-container-not-provided',{'editor':_0x2ad536});_0x2ad536['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x26c80a['on']('change',this['_handleOutlineChange']['bind'](this)),_0x26c80a['on']('activeItemIndex',(_0x1c2074,{index:_0x38c04d})=>this['_setActiveViewItem'](_0x38c04d)),this['view']['on']('itemSelected',(_0x48d9a1,_0x579c13)=>{_0x52f56d=!0x0,this['_handleItemSelected'](_0x579c13);}),this['view']['listenTo'](_0x2debc0['document'],'scroll',()=>{_0x52f56d?_0x52f56d=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x2debc0['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x48dc83){const _0x1ac455=_0x2fa3b0([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x5c8ea7=0x1cb264a3,_0x368a29=0x1cb51acb^_0x5c8ea7,_0x291a96=window[_0x2fa3b0([0x44,0x61,0x74,0x65])][_0x2fa3b0([0x6e,0x6f,0x77])](),_0x536c0c=_0x48dc83[_0x2fa3b0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2a27b6=new window[(_0x2fa3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4985f4=>{_0x536c0c[_0x2fa3b0([0x6f,0x6e,0x63,0x65])](_0x2fa3b0([0x72,0x65,0x61,0x64,0x79]),_0x4985f4);}),_0x5ed247={[_0x2fa3b0([0x6b,0x74,0x79])]:_0x2fa3b0([0x45,0x43]),[_0x2fa3b0([0x75,0x73,0x65])]:_0x2fa3b0([0x73,0x69,0x67]),[_0x2fa3b0([0x63,0x72,0x76])]:_0x2fa3b0([0x50,0x2d,0x32,0x35,0x36]),[_0x2fa3b0([0x78])]:_0x2fa3b0([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]),[_0x2fa3b0([0x79])]:_0x2fa3b0([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]),[_0x2fa3b0([0x61,0x6c,0x67])]:_0x2fa3b0([0x45,0x53,0x32,0x35,0x36])},_0x4b7cb2=_0x536c0c[_0x2fa3b0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fa3b0([0x67,0x65,0x74])](_0x2fa3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e5be1(){let _0x15c2b4,_0x41fbd2=null,_0x13cb6d=null;try{if(_0x4b7cb2==_0x2fa3b0([0x47,0x50,0x4c]))return _0x2fa3b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15c2b4=_0x310f1c(),!_0x15c2b4)return _0x2fa3b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15c2b4[_0x2fa3b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13cb6d=_0x522e84(_0x15c2b4[_0x2fa3b0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15c2b4[_0x2fa3b0([0x6a,0x74,0x69])])),await _0x251239()?_0x398bb3()?_0x5db5ce()?_0x2fa3b0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x165063()?(_0x15c2b4[_0x2fa3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fa3b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41fbd2=_0x126ce9(_0x2fa3b0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x335536()):_0x2fa3b0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fa3b0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fa3b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fa3b0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5db5ce(){const _0x3815e2=[_0x2fa3b0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fa3b0([0x74,0x72,0x69,0x61,0x6c])][_0x2fa3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15c2b4[_0x2fa3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x291a96/0x3e8:0xe10*_0x368a29;return _0x15c2b4[_0x2fa3b0([0x65,0x78,0x70])]<_0x3815e2;}function _0x398bb3(){const _0x5a0b14=_0x15c2b4[_0x2fa3b0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a0b14&&(!!_0x5a0b14[_0x2fa3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa3b0([0x2a]))||(!!_0x5a0b14[_0x2fa3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa3b0([0x44,0x4f]))||(!!_0x5a0b14[_0x2fa3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa3b0([0x50,0x50]))||!(!_0x5a0b14[_0x2fa3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa3b0([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4b6e55()))));}function _0x165063(){const _0x15805f=_0x15c2b4[_0x2fa3b0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x15805f||0x0==_0x15805f[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x586fc2}=new URL(window[_0x2fa3b0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x15805f[_0x2fa3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x586fc2))return!0x0;const _0x2b95af=_0x586fc2[_0x2fa3b0([0x73,0x70,0x6c,0x69,0x74])](_0x2fa3b0([0x2e]));return _0x15805f[_0x2fa3b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2498d4=>_0x2498d4[_0x2fa3b0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fa3b0([0x2a])))[_0x2fa3b0([0x6d,0x61,0x70])](_0x2e388b=>_0x2e388b[_0x2fa3b0([0x73,0x70,0x6c,0x69,0x74])](_0x2fa3b0([0x2e])))[_0x2fa3b0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x494f70=>_0x494f70[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b95af[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fa3b0([0x6d,0x61,0x70])](_0x4e2aa6=>Array(_0x2b95af[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e2aa6[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fa3b0([0x66,0x69,0x6c,0x6c])](_0x4e2aa6[0x0]===_0x2fa3b0([0x2a])?_0x2fa3b0([0x2a]):'')[_0x2fa3b0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e2aa6))[_0x2fa3b0([0x73,0x6f,0x6d,0x65])](_0x4f6dbb=>_0x2b95af[_0x2fa3b0([0x65,0x76,0x65,0x72,0x79])]((_0x289f74,_0x75df97)=>_0x4f6dbb[_0x75df97]===_0x289f74||_0x4f6dbb[_0x75df97]===_0x2fa3b0([0x2a])));}function _0x335536(){return _0x41fbd2&&_0x13cb6d?new window[(_0x2fa3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x124781,_0x5e5ed3)=>{_0x41fbd2[_0x2fa3b0([0x74,0x68,0x65,0x6e])](_0x124781,_0x5e5ed3),_0x13cb6d[_0x2fa3b0([0x74,0x68,0x65,0x6e])](_0x6c24f5=>{_0x6c24f5!=_0x2fa3b0([0x56,0x61,0x6c,0x69,0x64])&&_0x124781(_0x6c24f5);},_0x5e5ed3);}):_0x41fbd2||_0x13cb6d||_0x2fa3b0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x522e84(_0x32d1b6,_0x49e712){return new window[(_0x2fa3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d835c=>{if(_0x192556())return _0x4d835c(_0x2fa3b0([0x56,0x61,0x6c,0x69,0x64]));_0x2d86bc(),_0x536c0c[_0x2fa3b0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fa3b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3d0ad6=!0x1;const _0x566a3c=_0x18d144();function _0x2028e8(_0x55b304){return!!_0x55b304&&(typeof _0x55b304===_0x2fa3b0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x55b304===_0x2fa3b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x55b304[_0x2fa3b0([0x74,0x68,0x65,0x6e])]===_0x2fa3b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x55b304[_0x2fa3b0([0x63,0x61,0x74,0x63,0x68])]===_0x2fa3b0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27dd4b(_0x5e09cc){_0x249c4d(_0x5e09cc)[_0x2fa3b0([0x74,0x68,0x65,0x6e])](_0x56c7a3=>{if(!_0x56c7a3||_0x56c7a3[_0x2fa3b0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fa3b0([0x6f,0x6b]))return _0x2fa3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39a870(_0x55e66d(_0x566a3c+_0x49e712))!=_0x56c7a3[_0x2fa3b0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fa3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fa3b0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fa3b0([0x74,0x68,0x65,0x6e])](_0x1347c6=>(_0x33f5e9(),_0x1347c6),()=>{const _0xc15492=_0x5b35d9();return null==_0xc15492?(_0x33f5e9(),_0x2fa3b0([0x56,0x61,0x6c,0x69,0x64])):_0x2fa3b0(_0x291a96-_0xc15492>(0x38bee0a3^_0x5c8ea7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fa3b0([0x74,0x68,0x65,0x6e])](_0x4d835c)[_0x2fa3b0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d835c(_0x2fa3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31dee3=0x1c848a23^_0x5c8ea7;function _0x33f5e9(){const _0x407e9d=_0x2fa3b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x39a870(_0x55e66d(_0x32d1b6)),_0x11c0f4=_0x4dbf9d(_0x39a870(window[_0x2fa3b0([0x4d,0x61,0x74,0x68])][_0x2fa3b0([0x63,0x65,0x69,0x6c])](_0x291a96/_0x31dee3)));window[_0x2fa3b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fa3b0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x407e9d,_0x11c0f4);}function _0x5b35d9(){const _0x322173=_0x2fa3b0([0x6c,0x6c,0x63,0x74,0x2d])+_0x39a870(_0x55e66d(_0x32d1b6)),_0x4ed53b=window[_0x2fa3b0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fa3b0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x322173);return _0x4ed53b?window[_0x2fa3b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4dbf9d(_0x4ed53b),0x10)*_0x31dee3:null;}function _0x249c4d(_0x537be2){return new window[(_0x2fa3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3708df,_0x484088)=>{_0x537be2[_0x2fa3b0([0x74,0x68,0x65,0x6e])](_0x3708df,_0x484088),window[_0x2fa3b0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x484088,0x1cb3b063^_0x5c8ea7);});}}_0x536c0c[_0x2fa3b0([0x6f,0x6e])](_0x2fa3b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2398df,_0x20d805)=>{if(_0x20d805[0x0]!=_0x32d1b6)return _0x4d835c(_0x2fa3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20d805[0x1]={..._0x20d805[0x1],[_0x2fa3b0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x566a3c};},{[_0x2fa3b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fa3b0([0x68,0x69,0x67,0x68])}),_0x536c0c[_0x2fa3b0([0x6f,0x6e])](_0x2fa3b0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2283c8=>{_0x2028e8(_0x2283c8[_0x2fa3b0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3d0ad6=!0x0,_0x27dd4b(_0x2283c8[_0x2fa3b0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fa3b0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fa3b0([0x6c,0x6f,0x77])}),_0x2a27b6[_0x2fa3b0([0x74,0x68,0x65,0x6e])](()=>{_0x3d0ad6||_0x4d835c(_0x2fa3b0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x192556(){return _0x536c0c[_0x2fa3b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fa3b0([0x76,0x69,0x65,0x77])][_0x2fa3b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fa3b0([0x61,0x75,0x74,0x6f]);}function _0x2d86bc(){_0x536c0c[_0x2fa3b0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fa3b0([0x76,0x69,0x65,0x77])][_0x2fa3b0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fa3b0([0x61,0x75,0x74,0x6f]);}}function _0x126ce9(_0x5a7dae){const _0x12e6f1=[new window[(_0x2fa3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d101d=>setTimeout(_0x1d101d,0x1cbb5a6f^_0x5c8ea7)),_0x2a27b6[_0x2fa3b0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fa3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x383f45=>{let _0x50869f=0x0;_0x536c0c[_0x2fa3b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa3b0([0x6f,0x6e])](_0x2fa3b0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x401abc,_0xd84817)=>{_0xd84817[0x0][_0x2fa3b0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50869f++,_0x50869f==(0x1cb2614b^_0x5c8ea7)&&(_0x383f45(),_0x401abc[_0x2fa3b0([0x6f,0x66,0x66])]());});}))];return window[_0x2fa3b0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fa3b0([0x72,0x61,0x63,0x65])](_0x12e6f1)[_0x2fa3b0([0x74,0x68,0x65,0x6e])](()=>_0x5a7dae);}async function _0x518520(){await _0x2a27b6,_0x536c0c[_0x2fa3b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa3b0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe8ffc,_0x536c0c[_0x2fa3b0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fa3b0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe8ffc,_0x536c0c[_0x2fa3b0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fa3b0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b6e55(){return window[_0x2fa3b0([0x67,0x6c,0x6f,0x62])]&&window[_0x2fa3b0([0x67,0x6c,0x6f,0x62])][_0x2fa3b0([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xebfdd5(_0x2e666b){const _0x42ef24=_0x303e61();_0x536c0c[_0x42ef24]=_0x2fa3b0([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])+_0x2e666b,_0x2e666b!=_0x2fa3b0([0x56,0x61,0x6c,0x69,0x64])&&_0x518520();}function _0x303e61(){const _0x5cdf9a=window[_0x2fa3b0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fa3b0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fa3b0([0x6e,0x6f,0x77])]())[_0x2fa3b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fa3b0([0x2e]),'');let _0x460da9=_0x2fa3b0([0x61]);for(let _0x1a0760=0x0;_0x1a0760<_0x5cdf9a[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a0760+=0x2){let _0x4f0353=window[_0x2fa3b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cdf9a[_0x2fa3b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a0760,_0x1a0760+0x2));_0x4f0353>=_0x1ac455[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f0353-=_0x1ac455[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x460da9+=_0x1ac455[_0x4f0353];}return _0x460da9;}function _0x310f1c(){const _0x48a66b=_0x4b7cb2[_0x2fa3b0([0x73,0x70,0x6c,0x69,0x74])](_0x2fa3b0([0x2e]));if(0x3!=_0x48a66b[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39fac3(_0x48a66b[0x1]);function _0x39fac3(_0x78c09c){const _0x14d1d6=_0x38cf8e(_0x78c09c);return _0x14d1d6&&_0x522318()?_0x14d1d6:null;function _0x522318(){const _0x5ddef2=_0x14d1d6[_0x2fa3b0([0x6a,0x74,0x69])],_0x4f8b0a=window[_0x2fa3b0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ddef2[_0x2fa3b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5ddef2[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17812e={..._0x14d1d6,[_0x2fa3b0([0x6a,0x74,0x69])]:_0x5ddef2[_0x2fa3b0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5ddef2[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17812e[_0x2fa3b0([0x76,0x63])],_0x55e66d(_0x17812e)==_0x4f8b0a;}}}async function _0x251239(){let _0x4fea1d=!0x0;try{const _0x49c192=_0x4b7cb2[_0x2fa3b0([0x73,0x70,0x6c,0x69,0x74])](_0x2fa3b0([0x2e])),[_0x2feb19,_0x16eacb,_0x3d4ca2]=_0x49c192;return _0x5bbb3e(_0x2feb19),await _0x29e4f1(_0x2feb19,_0x16eacb,_0x3d4ca2),_0x4fea1d;}catch{return!0x1;}function _0x5bbb3e(_0x32f002){const _0x3bd5b6=_0x38cf8e(_0x32f002);_0x3bd5b6&&_0x3bd5b6[_0x2fa3b0([0x61,0x6c,0x67])]==_0x2fa3b0([0x45,0x53,0x32,0x35,0x36])||(_0x4fea1d=!0x1);}async function _0x29e4f1(_0x76240a,_0xf59ab6,_0x48c255){const _0xe164da=window[_0x2fa3b0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fa3b0([0x66,0x72,0x6f,0x6d])](_0x1e6931(_0x48c255),_0x6b6d80=>_0x6b6d80[_0x2fa3b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49ac5f=new window[(_0x2fa3b0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fa3b0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x76240a+_0x2fa3b0([0x2e])+_0xf59ab6),_0x471ad0=window[_0x2fa3b0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fa3b0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x471ad0)return;const _0x3d8452=await _0x471ad0[_0x2fa3b0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fa3b0([0x6a,0x77,0x6b]),_0x5ed247,{[_0x2fa3b0([0x6e,0x61,0x6d,0x65])]:_0x2fa3b0([0x45,0x43,0x44,0x53,0x41]),[_0x2fa3b0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fa3b0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fa3b0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x471ad0[_0x2fa3b0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fa3b0([0x6e,0x61,0x6d,0x65])]:_0x2fa3b0([0x45,0x43,0x44,0x53,0x41]),[_0x2fa3b0([0x68,0x61,0x73,0x68])]:{[_0x2fa3b0([0x6e,0x61,0x6d,0x65])]:_0x2fa3b0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d8452,_0xe164da,_0x49ac5f)||(_0x4fea1d=!0x1);}}function _0x38cf8e(_0x1e7fac){return _0x1e7fac[_0x2fa3b0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fa3b0([0x65,0x79]))?JSON[_0x2fa3b0([0x70,0x61,0x72,0x73,0x65])](_0x1e6931(_0x1e7fac)):null;}function _0x1e6931(_0x32d2fd){return window[_0x2fa3b0([0x61,0x74,0x6f,0x62])](_0x32d2fd[_0x2fa3b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fa3b0([0x2b]))[_0x2fa3b0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fa3b0([0x2f])));}function _0x55e66d(_0x13a68e){let _0x261ae3=0x1505;function _0x94f9dc(_0xecfb22){for(let _0x13ba7d=0x0;_0x13ba7d<_0xecfb22[_0x2fa3b0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13ba7d++){const _0x48946d=_0xecfb22[_0x2fa3b0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x13ba7d);_0x261ae3=(_0x261ae3<<0x5)+_0x261ae3+_0x48946d,_0x261ae3&=_0x261ae3;}}function _0x172273(_0x3d3507){Array[_0x2fa3b0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d3507)?_0x3d3507[_0x2fa3b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x172273):_0x3d3507&&typeof _0x3d3507==_0x2fa3b0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fa3b0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d3507)[_0x2fa3b0([0x73,0x6f,0x72,0x74])]()[_0x2fa3b0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e7780,_0x2a5005])=>{_0x94f9dc(_0x3e7780),_0x172273(_0x2a5005);}):_0x94f9dc(window[_0x2fa3b0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d3507));}return _0x172273(_0x13a68e),_0x261ae3>>>0x0;}function _0x39a870(_0x46599c){return _0x46599c[_0x2fa3b0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fa3b0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fa3b0([0x30]));}function _0x4dbf9d(_0x345846){return _0x345846[_0x2fa3b0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fa3b0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fa3b0([0x6a,0x6f,0x69,0x6e])]('');}function _0xe8ffc(){}function _0x2fa3b0(_0x54a4c1){return _0x54a4c1['map'](_0x249a2c=>String['fromCharCode'](_0x249a2c))['join']('');}_0xebfdd5(await _0x4e5be1());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x30d97a,{outlineDefinitions:_0x347b77,outlineChanges:_0x20ecaa}){this['_currentOutlineDefinitions']=_0x347b77,this['view']['sync'](_0x20ecaa);}['_setActiveViewItem'](_0x233651){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x233651]&&(this['view']['activeItemIndex']=_0x233651);}['_handleItemSelected'](_0x5457af){const _0x597189=this['_currentOutlineDefinitions'][_0x5457af]['modelElement'];this['editor']['model']['change'](_0x3622c4=>{_0x3622c4['setSelection'](_0x597189,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x5457af);}['_updateActiveDefinitionOnViewportChange'](){const _0x5652c4=this['editor'];let _0x542de9;for(const _0x103ecf of _0x5652c4['model']['document']['getRootNames']()){const _0x1d6d1c=_0x5652c4['editing']['view']['getDomRoot'](_0x103ecf),_0x4a7714=_0x1d6d1c&&new _0x5ef533(_0x1d6d1c)['getVisible']();if(_0x4a7714){const _0x5be24e=new _0x5ef533(_0x2debc0['window'])['getIntersection'](_0x4a7714);_0x5be24e&&(_0x542de9=_0x5be24e['top']+0.25*_0x5be24e['height']);}}if(void 0x0===_0x542de9)return;const _0x53eaad=h(_0x5652c4['editing'],this['_currentOutlineDefinitions'],_0x542de9);_0x53eaad?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x53eaad)):this['_setActiveViewItem'](-0x1);}}function h(_0x1c4c09,_0x39ce1f,_0x6fe81b,_0x1f8cb0=0x0,_0x5beee1=_0x39ce1f['length']-0x1){const _0x447256=Math['floor'](_0x1f8cb0+(_0x5beee1-_0x1f8cb0)/0x2);if(_0x5beee1>=_0x1f8cb0){const _0x3dfb44=_0x39ce1f[_0x447256],_0x3b1202=_0x1c4c09['mapper']['toViewElement'](_0x3dfb44['modelElement']);if(!_0x3b1202)return null;const _0xf6fb6c=_0x1c4c09['view']['domConverter']['mapViewToDom'](_0x3b1202);return new _0x5ef533(_0xf6fb6c)['bottom']>_0x6fe81b?h(_0x1c4c09,_0x39ce1f,_0x6fe81b,_0x1f8cb0,_0x447256-0x1):h(_0x1c4c09,_0x39ce1f,_0x6fe81b,_0x447256+0x1,_0x5beee1);}return _0x447256<0x0?null:_0x39ce1f[_0x447256];}class P extends _0x2669d3{['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 _0x2f5d81=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e7887;for(const _0x50e8a0 in _0x2f5d81){const _0x4a6b1e=_0x50e8a0,_0x407fda=_0x2f5d81[_0x4a6b1e];if('documentOutlineLicenseKeyValid'==_0x407fda||'documentOutlineLicenseKeyInvalid'==_0x407fda||'documentOutlineLicenseKeyExpired'==_0x407fda||'documentOutlineLicenseKeyDomainLimit'==_0x407fda||'documentOutlineLicenseKeyNotAllowed'==_0x407fda||'documentOutlineLicenseKeyEvaluationLimit'==_0x407fda||'documentOutlineLicenseKeyUsageLimit'==_0x407fda){delete _0x2f5d81[_0x4a6b1e],_0x2e7887=_0x407fda,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2e7887&&_0x2f5d81['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2e7887&&_0x2f5d81['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2e7887&&_0x2f5d81['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2e7887&&_0x2f5d81['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2e7887&&_0x2f5d81['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2e7887&&_0x2f5d81['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class _ extends _0x1f8920{['execute'](){this['editor']['model']['change'](_0x2c5ad7=>{this['editor']['model']['insertObject'](_0x2c5ad7['createElement']('tableOfContents'));});}['refresh'](){const _0x38f10d=this['editor']['model'],_0x2e20b5=_0x38f10d['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2e20b5&&_0x38f10d['schema']['findAllowedParent'](_0x2e20b5,'tableOfContents'));}}class T extends _0x2669d3{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x30e319=this['editor'];if(_0x30e319['config']['get']('headingId.modelAttributeName'))return;(function(_0x4f65f4){const _0x58f548=new Map();if(_0x4f65f4)return _0x4f65f4['forEach'](_0x4f996a=>{'paragraph'!==_0x4f996a['model']&&_0x58f548['set'](_0x4f996a['view'],_0x4f996a['model']);}),_0x58f548['get']('h1')||_0x58f548['set']('h1','heading1'),_0x58f548;return _0x58f548;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x311816,_0x202dbf)=>{this['_customUpcastHeadingsConversion'](_0x202dbf),this['_customDataDowncastHeadingsConversion'](_0x311816),_0x30e319['model']['schema']['isRegistered'](_0x311816)&&_0x30e319['model']['schema']['extend'](_0x311816,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x1b3251){this['editor']['conversion']['for']('upcast')['add'](_0x206b41=>_0x206b41['on']('element:'+_0x1b3251,(_0x239253,_0x54f968,_0x398503)=>{const {consumable:_0x35e094,writer:_0xa0ab98}=_0x398503,_0x2ea0f1=_0x54f968['viewItem']['getAttribute']('id'),_0x26fa62=_0x54f968['modelRange']['getContainedElement']();if(_0x26fa62)return _0x2ea0f1&&_0x2ea0f1['length']||_0x26fa62['hasAttribute']('headingId')?void(_0x35e094['consume'](_0x54f968['viewItem'],{'attributes':['id']})&&_0xa0ab98['setAttribute']('headingId',_0x2ea0f1,_0x26fa62)):(_0x35e094['consume'](_0x54f968['viewItem'],{'attributes':['id']}),void _0xa0ab98['setAttribute']('headingId',_0x18d144(),_0x26fa62));},{'priority':_0x51cce7['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0xd08328){this['editor']['conversion']['for']('downcast')['add'](_0x154370=>_0x154370['on']('attribute:headingId:'+_0xd08328,(_0x238f4b,_0x21f48e,_0x4e06ee)=>{if(!_0x4e06ee['consumable']['consume'](_0x21f48e['item'],_0x238f4b['name']))return;const _0x3639f8=_0x21f48e['item']['getAttribute']('headingId'),_0x579290=_0x4e06ee['mapper']['toViewElement'](_0x21f48e['item']);_0x4e06ee['writer']['setAttribute']('id',_0x3639f8,_0x579290);}));}['_registerHeadingIdAttributePostfixer'](){const _0x37ad49=this['editor'],_0x2891f7=new Set(),_0x30598c=new Set();function _0x37e6ec(_0x2e76ba,_0x348d92){const _0x44b00b=_0x18d144();return _0x30598c['add'](_0x44b00b),_0x2e76ba['setAttribute']('headingId',_0x44b00b,_0x348d92),_0x44b00b;}function _0x2988ce(_0x229aa9,_0x27f6d4){_0x229aa9['removeAttribute']('headingId',_0x27f6d4);}_0x37ad49['model']['document']['registerPostFixer'](_0xdf7944=>{const _0x242aa0=_0x37ad49['model']['document']['differ']['getChanges']();let _0x415e1b=!0x1;for(const _0x2d9471 of _0x242aa0)if('insert'==_0x2d9471['type']&&_0x2d9471['name']){if(b(_0x2d9471['name'])){const _0x413eec=_0x2d9471['attributes']['get']('headingId');'string'==typeof _0x413eec?_0x2891f7['has'](_0x413eec)?(_0x37e6ec(_0xdf7944,_0x2d9471['position']['nodeAfter']),_0x415e1b=!0x0):_0x30598c['add'](_0x413eec):(_0x37e6ec(_0xdf7944,_0x2d9471['position']['nodeAfter']),_0x415e1b=!0x0);}else'string'==typeof _0x2d9471['attributes']['get']('headingId')&&(_0x2988ce(_0xdf7944,_0x2d9471['position']['nodeAfter']),_0x415e1b=!0x0);}else{if('remove'==_0x2d9471['type']){const _0x58cd1e=_0x2d9471['attributes']['get']('headingId');'string'==typeof _0x58cd1e&&_0x2891f7['delete'](_0x58cd1e);}}return _0x415e1b;}),_0x37ad49['model']['document']['on']('change',()=>{_0x30598c['forEach'](_0x51779f=>_0x2891f7['add'](_0x51779f)),_0x30598c['clear']();});}}function b(_0x4b31d7){return!!_0x4b31d7['match'](/heading\d/);}class s extends _0x2669d3{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5be0ca,i,T];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x4602c6){super(_0x4602c6),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x56fab7=this['editor'],_0x14e504=_0x56fab7['editing']['view']['document'];_0x56fab7['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x56fab7['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x14e504,'click',(_0x15bf72,_0x925141)=>{if(!_0x925141['target'])return;const _0x28b891=_0x925141['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x28b891)&&(_0x925141['domEvent']['preventDefault'](),_0x15bf72['stop'](),this['_handleScrollToHeading'](_0x28b891));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x56fab7['commands']['add']('insertTableOfContents',new _(_0x56fab7)),(_0x56fab7['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x474845,_0x1736be)=>{this['_currentOutlineDefinitions']=_0x1736be['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x56fab7['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x11823a){const _0x43b88f=_0x70cf35([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x17b151=0x6b9b05fd,_0x233c3a=0x6b9c7b95^_0x17b151,_0x1e692e=window[_0x70cf35([0x44,0x61,0x74,0x65])][_0x70cf35([0x6e,0x6f,0x77])](),_0x25396e=_0x11823a[_0x70cf35([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5fafdc=new window[(_0x70cf35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56a41c=>{_0x25396e[_0x70cf35([0x6f,0x6e,0x63,0x65])](_0x70cf35([0x72,0x65,0x61,0x64,0x79]),_0x56a41c);}),_0x1cbd56={[_0x70cf35([0x6b,0x74,0x79])]:_0x70cf35([0x45,0x43]),[_0x70cf35([0x75,0x73,0x65])]:_0x70cf35([0x73,0x69,0x67]),[_0x70cf35([0x63,0x72,0x76])]:_0x70cf35([0x50,0x2d,0x32,0x35,0x36]),[_0x70cf35([0x78])]:_0x70cf35([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]),[_0x70cf35([0x79])]:_0x70cf35([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]),[_0x70cf35([0x61,0x6c,0x67])]:_0x70cf35([0x45,0x53,0x32,0x35,0x36])},_0x113bdc=_0x25396e[_0x70cf35([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x70cf35([0x67,0x65,0x74])](_0x70cf35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26308d(){let _0x1d41b7,_0x392619=null,_0x7edc93=null;try{if(_0x113bdc==_0x70cf35([0x47,0x50,0x4c]))return _0x70cf35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d41b7=_0x2edb91(),!_0x1d41b7)return _0x70cf35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d41b7[_0x70cf35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7edc93=_0x37e263(_0x1d41b7[_0x70cf35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d41b7[_0x70cf35([0x6a,0x74,0x69])])),await _0x281f5d()?_0x32b869()?_0x322c88()?_0x70cf35([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4914c9()?(_0x1d41b7[_0x70cf35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x70cf35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x392619=_0x1c1133(_0x70cf35([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ebe91()):_0x70cf35([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x70cf35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x70cf35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x70cf35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x322c88(){const _0x8ec3c1=[_0x70cf35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x70cf35([0x74,0x72,0x69,0x61,0x6c])][_0x70cf35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d41b7[_0x70cf35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e692e/0x3e8:0xe10*_0x233c3a;return _0x1d41b7[_0x70cf35([0x65,0x78,0x70])]<_0x8ec3c1;}function _0x32b869(){const _0x417fa7=_0x1d41b7[_0x70cf35([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x417fa7&&(!!_0x417fa7[_0x70cf35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70cf35([0x2a]))||(!!_0x417fa7[_0x70cf35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70cf35([0x54,0x4f,0x43]))||(!!_0x417fa7[_0x70cf35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70cf35([0x50,0x50]))||!(!_0x417fa7[_0x70cf35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70cf35([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3dc771()))));}function _0x4914c9(){const _0x507132=_0x1d41b7[_0x70cf35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x507132||0x0==_0x507132[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xff138e}=new URL(window[_0x70cf35([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x507132[_0x70cf35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xff138e))return!0x0;const _0x13536b=_0xff138e[_0x70cf35([0x73,0x70,0x6c,0x69,0x74])](_0x70cf35([0x2e]));return _0x507132[_0x70cf35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d6d07=>_0x2d6d07[_0x70cf35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x70cf35([0x2a])))[_0x70cf35([0x6d,0x61,0x70])](_0x3ed604=>_0x3ed604[_0x70cf35([0x73,0x70,0x6c,0x69,0x74])](_0x70cf35([0x2e])))[_0x70cf35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4db7b0=>_0x4db7b0[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13536b[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x70cf35([0x6d,0x61,0x70])](_0x2ffa4b=>Array(_0x13536b[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ffa4b[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x70cf35([0x66,0x69,0x6c,0x6c])](_0x2ffa4b[0x0]===_0x70cf35([0x2a])?_0x70cf35([0x2a]):'')[_0x70cf35([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ffa4b))[_0x70cf35([0x73,0x6f,0x6d,0x65])](_0xc3b75d=>_0x13536b[_0x70cf35([0x65,0x76,0x65,0x72,0x79])]((_0x411b82,_0x692cb2)=>_0xc3b75d[_0x692cb2]===_0x411b82||_0xc3b75d[_0x692cb2]===_0x70cf35([0x2a])));}function _0x2ebe91(){return _0x392619&&_0x7edc93?new window[(_0x70cf35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d6183,_0x5c68d0)=>{_0x392619[_0x70cf35([0x74,0x68,0x65,0x6e])](_0x3d6183,_0x5c68d0),_0x7edc93[_0x70cf35([0x74,0x68,0x65,0x6e])](_0x555d0d=>{_0x555d0d!=_0x70cf35([0x56,0x61,0x6c,0x69,0x64])&&_0x3d6183(_0x555d0d);},_0x5c68d0);}):_0x392619||_0x7edc93||_0x70cf35([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37e263(_0x39b3b2,_0x2fb00b){return new window[(_0x70cf35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fab72=>{if(_0x429ea9())return _0x4fab72(_0x70cf35([0x56,0x61,0x6c,0x69,0x64]));_0x1a7ff9(),_0x25396e[_0x70cf35([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x70cf35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e9dad=!0x1;const _0x57cf77=_0x18d144();function _0x5548a9(_0x37c164){return!!_0x37c164&&(typeof _0x37c164===_0x70cf35([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37c164===_0x70cf35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37c164[_0x70cf35([0x74,0x68,0x65,0x6e])]===_0x70cf35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37c164[_0x70cf35([0x63,0x61,0x74,0x63,0x68])]===_0x70cf35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14d7a7(_0x2f32c0){_0x3b6c86(_0x2f32c0)[_0x70cf35([0x74,0x68,0x65,0x6e])](_0x159bcb=>{if(!_0x159bcb||_0x159bcb[_0x70cf35([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x70cf35([0x6f,0x6b]))return _0x70cf35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x389406(_0x5db0bc(_0x57cf77+_0x2fb00b))!=_0x159bcb[_0x70cf35([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x70cf35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x70cf35([0x56,0x61,0x6c,0x69,0x64]);})[_0x70cf35([0x74,0x68,0x65,0x6e])](_0x1d0dcc=>(_0x36c549(),_0x1d0dcc),()=>{const _0x475641=_0x13eadf();return null==_0x475641?(_0x36c549(),_0x70cf35([0x56,0x61,0x6c,0x69,0x64])):_0x70cf35(_0x1e692e-_0x475641>(0x4f9781fd^_0x17b151)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x70cf35([0x74,0x68,0x65,0x6e])](_0x4fab72)[_0x70cf35([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fab72(_0x70cf35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x7e0892=0x6badeb7d^_0x17b151;function _0x36c549(){const _0x179a01=_0x70cf35([0x6c,0x6c,0x63,0x74,0x2d])+_0x389406(_0x5db0bc(_0x39b3b2)),_0x458156=_0x2a4dd0(_0x389406(window[_0x70cf35([0x4d,0x61,0x74,0x68])][_0x70cf35([0x63,0x65,0x69,0x6c])](_0x1e692e/_0x7e0892)));window[_0x70cf35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x70cf35([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x179a01,_0x458156);}function _0x13eadf(){const _0x2a8ba7=_0x70cf35([0x6c,0x6c,0x63,0x74,0x2d])+_0x389406(_0x5db0bc(_0x39b3b2)),_0x58e276=window[_0x70cf35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x70cf35([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a8ba7);return _0x58e276?window[_0x70cf35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a4dd0(_0x58e276),0x10)*_0x7e0892:null;}function _0x3b6c86(_0x172501){return new window[(_0x70cf35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x281349,_0x7e361a)=>{_0x172501[_0x70cf35([0x74,0x68,0x65,0x6e])](_0x281349,_0x7e361a),window[_0x70cf35([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7e361a,0x6b9ad13d^_0x17b151);});}}_0x25396e[_0x70cf35([0x6f,0x6e])](_0x70cf35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26e14b,_0x44df2d)=>{if(_0x44df2d[0x0]!=_0x39b3b2)return _0x4fab72(_0x70cf35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44df2d[0x1]={..._0x44df2d[0x1],[_0x70cf35([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x57cf77};},{[_0x70cf35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x70cf35([0x68,0x69,0x67,0x68])}),_0x25396e[_0x70cf35([0x6f,0x6e])](_0x70cf35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9c8d51=>{_0x5548a9(_0x9c8d51[_0x70cf35([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e9dad=!0x0,_0x14d7a7(_0x9c8d51[_0x70cf35([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x70cf35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x70cf35([0x6c,0x6f,0x77])}),_0x5fafdc[_0x70cf35([0x74,0x68,0x65,0x6e])](()=>{_0x1e9dad||_0x4fab72(_0x70cf35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x429ea9(){return _0x25396e[_0x70cf35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x70cf35([0x76,0x69,0x65,0x77])][_0x70cf35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x70cf35([0x61,0x75,0x74,0x6f]);}function _0x1a7ff9(){_0x25396e[_0x70cf35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x70cf35([0x76,0x69,0x65,0x77])][_0x70cf35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x70cf35([0x61,0x75,0x74,0x6f]);}}function _0x1c1133(_0x343072){const _0x122dea=[new window[(_0x70cf35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23dc03=>setTimeout(_0x23dc03,0x6b923b31^_0x17b151)),_0x5fafdc[_0x70cf35([0x74,0x68,0x65,0x6e])](()=>new window[(_0x70cf35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2577=>{let _0x21f2ea=0x0;_0x25396e[_0x70cf35([0x6d,0x6f,0x64,0x65,0x6c])][_0x70cf35([0x6f,0x6e])](_0x70cf35([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16ac3f,_0x3845a3)=>{_0x3845a3[0x0][_0x70cf35([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21f2ea++,_0x21f2ea==(0x6b9b0015^_0x17b151)&&(_0x1d2577(),_0x16ac3f[_0x70cf35([0x6f,0x66,0x66])]());});}))];return window[_0x70cf35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x70cf35([0x72,0x61,0x63,0x65])](_0x122dea)[_0x70cf35([0x74,0x68,0x65,0x6e])](()=>_0x343072);}async function _0x31ab12(){await _0x5fafdc,_0x25396e[_0x70cf35([0x6d,0x6f,0x64,0x65,0x6c])][_0x70cf35([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2296ea,_0x25396e[_0x70cf35([0x6d,0x6f,0x64,0x65,0x6c])][_0x70cf35([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2296ea,_0x25396e[_0x70cf35([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x70cf35([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3dc771(){return window[_0x70cf35([0x67,0x6c,0x6f,0x62])]&&window[_0x70cf35([0x67,0x6c,0x6f,0x62])][_0x70cf35([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x518074(_0x48864d){const _0x2ffa0c=_0x14a1e9();_0x25396e[_0x2ffa0c]=_0x70cf35([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])+_0x48864d,_0x48864d!=_0x70cf35([0x56,0x61,0x6c,0x69,0x64])&&_0x31ab12();}function _0x14a1e9(){const _0x49475e=window[_0x70cf35([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x70cf35([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x70cf35([0x6e,0x6f,0x77])]())[_0x70cf35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x70cf35([0x2e]),'');let _0xe379b8=_0x70cf35([0x6d]);for(let _0x399477=0x0;_0x399477<_0x49475e[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x399477+=0x2){let _0x2f5258=window[_0x70cf35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49475e[_0x70cf35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x399477,_0x399477+0x2));_0x2f5258>=_0x43b88f[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f5258-=_0x43b88f[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe379b8+=_0x43b88f[_0x2f5258];}return _0xe379b8;}function _0x2edb91(){const _0x4e24a5=_0x113bdc[_0x70cf35([0x73,0x70,0x6c,0x69,0x74])](_0x70cf35([0x2e]));if(0x3!=_0x4e24a5[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3048a9(_0x4e24a5[0x1]);function _0x3048a9(_0x5db41a){const _0x2f8ee3=_0x55fafa(_0x5db41a);return _0x2f8ee3&&_0x4ab71b()?_0x2f8ee3:null;function _0x4ab71b(){const _0x1bb0ec=_0x2f8ee3[_0x70cf35([0x6a,0x74,0x69])],_0x3ecd89=window[_0x70cf35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bb0ec[_0x70cf35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bb0ec[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48e75a={..._0x2f8ee3,[_0x70cf35([0x6a,0x74,0x69])]:_0x1bb0ec[_0x70cf35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bb0ec[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48e75a[_0x70cf35([0x76,0x63])],_0x5db0bc(_0x48e75a)==_0x3ecd89;}}}async function _0x281f5d(){let _0x8e6d92=!0x0;try{const _0x2a8ce1=_0x113bdc[_0x70cf35([0x73,0x70,0x6c,0x69,0x74])](_0x70cf35([0x2e])),[_0x150658,_0xaf5c69,_0x208c73]=_0x2a8ce1;return _0x5d5f57(_0x150658),await _0x1865d9(_0x150658,_0xaf5c69,_0x208c73),_0x8e6d92;}catch{return!0x1;}function _0x5d5f57(_0x35a0b5){const _0x4489b2=_0x55fafa(_0x35a0b5);_0x4489b2&&_0x4489b2[_0x70cf35([0x61,0x6c,0x67])]==_0x70cf35([0x45,0x53,0x32,0x35,0x36])||(_0x8e6d92=!0x1);}async function _0x1865d9(_0x10519f,_0x3c72a2,_0x569ce3){const _0x39cf8b=window[_0x70cf35([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x70cf35([0x66,0x72,0x6f,0x6d])](_0x4157ef(_0x569ce3),_0x143feb=>_0x143feb[_0x70cf35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8ab22c=new window[(_0x70cf35([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x70cf35([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x10519f+_0x70cf35([0x2e])+_0x3c72a2),_0x17c670=window[_0x70cf35([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x70cf35([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17c670)return;const _0x4c2dda=await _0x17c670[_0x70cf35([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x70cf35([0x6a,0x77,0x6b]),_0x1cbd56,{[_0x70cf35([0x6e,0x61,0x6d,0x65])]:_0x70cf35([0x45,0x43,0x44,0x53,0x41]),[_0x70cf35([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x70cf35([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x70cf35([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17c670[_0x70cf35([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x70cf35([0x6e,0x61,0x6d,0x65])]:_0x70cf35([0x45,0x43,0x44,0x53,0x41]),[_0x70cf35([0x68,0x61,0x73,0x68])]:{[_0x70cf35([0x6e,0x61,0x6d,0x65])]:_0x70cf35([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c2dda,_0x39cf8b,_0x8ab22c)||(_0x8e6d92=!0x1);}}function _0x55fafa(_0xd673ae){return _0xd673ae[_0x70cf35([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x70cf35([0x65,0x79]))?JSON[_0x70cf35([0x70,0x61,0x72,0x73,0x65])](_0x4157ef(_0xd673ae)):null;}function _0x4157ef(_0x34753a){return window[_0x70cf35([0x61,0x74,0x6f,0x62])](_0x34753a[_0x70cf35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x70cf35([0x2b]))[_0x70cf35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x70cf35([0x2f])));}function _0x5db0bc(_0x1d033c){let _0x23c621=0x1505;function _0x45e1cf(_0x1619d4){for(let _0x4eba8a=0x0;_0x4eba8a<_0x1619d4[_0x70cf35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eba8a++){const _0x184a32=_0x1619d4[_0x70cf35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4eba8a);_0x23c621=(_0x23c621<<0x5)+_0x23c621+_0x184a32,_0x23c621&=_0x23c621;}}function _0x3b58a0(_0x2f0ffc){Array[_0x70cf35([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2f0ffc)?_0x2f0ffc[_0x70cf35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b58a0):_0x2f0ffc&&typeof _0x2f0ffc==_0x70cf35([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x70cf35([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2f0ffc)[_0x70cf35([0x73,0x6f,0x72,0x74])]()[_0x70cf35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b8e1d,_0x5593f8])=>{_0x45e1cf(_0x4b8e1d),_0x3b58a0(_0x5593f8);}):_0x45e1cf(window[_0x70cf35([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2f0ffc));}return _0x3b58a0(_0x1d033c),_0x23c621>>>0x0;}function _0x389406(_0x3d7b17){return _0x3d7b17[_0x70cf35([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x70cf35([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x70cf35([0x30]));}function _0x2a4dd0(_0xb3ea6b){return _0xb3ea6b[_0x70cf35([0x73,0x70,0x6c,0x69,0x74])]('')[_0x70cf35([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x70cf35([0x6a,0x6f,0x69,0x6e])]('');}function _0x2296ea(){}function _0x70cf35(_0x17264d){return _0x17264d['map'](_0x91fbd2=>String['fromCharCode'](_0x91fbd2))['join']('');}_0x518074(await _0x26308d());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x34cb7c=>{'$graveyard'!==_0x34cb7c['rootName']&&this['editor']['editing']['reconvertItem'](_0x34cb7c);});}['_trackNewToCElements'](){for(const _0x43a8f4 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x43a8f4['type']||'tableOfContents'!==_0x43a8f4['name'])return;this['_tableOfContentsElements']['add'](_0x43a8f4['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0xb664ef=this['editor']['conversion'];_0xb664ef['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0xb664ef['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x9e3e08,{writer:_0x52c9c5})=>this['_createTableOfContents'](_0x52c9c5,!0x0)}),_0xb664ef['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5c8906,{writer:_0x5f46cb})=>{this['_tableOfContentsElements']['add'](_0x5c8906);const _0x1ff145=this['_createTableOfContents'](_0x5f46cb);return _0x31f2fa(_0x1ff145,_0x5f46cb,{'label':j(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x4ae95f,_0x5708c9=!0x1){const {locale:_0x4554f1}=this['editor'],_0x503931=_0x4ae95f['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5708c9&&{'data-table-of-contents-label':j(_0x4554f1,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5708c9&&_0x4ae95f['insert'](_0x4ae95f['createPositionAt'](_0x503931,'end'),_0x4ae95f['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x4ae95f['createText'](j(_0x4554f1,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x37381c=_0x5708c9?'':'['+j(_0x4554f1,'Empty\x20heading')+']';let _0x477295=_0x503931;return this['_currentOutlineDefinitions']['forEach']((_0x6215f5,_0x139633,_0x576176)=>{const _0x322dc2=this['editor']['model']['hasContent'](_0x6215f5['modelElement'],{'ignoreWhitespaces':!0x0}),_0x59bc6e=_0x322dc2?_0x6215f5['text']:_0x37381c,_0x29da6c=_0x6215f5['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x30f083=_0x4ae95f['createContainerElement']('a',{'href':'#'+_0x29da6c,...!_0x5708c9&&{'tabindex':'-1'}},[_0x4ae95f['createText'](_0x59bc6e)]),_0x3ad120=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x4ae95f['setCustomProperty']('tableOfContentsHeadingIndex',_0x139633,_0x30f083);const _0x844ce2=_0x4ae95f['createContainerElement']('li',null,[_0x322dc2||!_0x5708c9&&_0x3ad120?_0x30f083:_0x4ae95f['createText']('')]),_0x31f90f=_0x139633?_0x576176[_0x139633-0x1]['level']:0x0,_0x29234a=Math['abs'](_0x6215f5['level']-_0x31f90f);if(_0x6215f5['level']>_0x31f90f){const _0x297f9d=N(_0x844ce2,_0x29234a,_0x4ae95f);_0x4ae95f['insert'](_0x4ae95f['createPositionAt'](_0x477295,'end'),_0x297f9d);}else{const _0x54893a=function(_0x3bd489,_0x54cc94){return _0x3bd489['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x54b1ea=>_0x54b1ea['is']('element','ol'))[_0x54cc94];}(_0x477295,_0x29234a);_0x4ae95f['insert'](_0x4ae95f['createPositionAt'](_0x54893a,'end'),_0x844ce2);}_0x477295=_0x844ce2;}),_0x503931;}['_handleScrollToHeading'](_0x14107a){const _0x5c3317=this['_currentOutlineDefinitions'][_0x14107a]['modelElement'];this['editor']['model']['change'](_0x3f2133=>{_0x3f2133['setSelection'](_0x5c3317,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x4f0c77,_0x3cbf92)=>{const _0x1c19aa=_0x3cbf92['mapper'],_0x1d6e0f=_0x1c19aa['findMappedViewAncestor'](_0x3cbf92['viewPosition']),_0x5f21dd=_0x1c19aa['toModelElement'](_0x1d6e0f);_0x5f21dd['is']('element','tableOfContents')&&(_0x3cbf92['modelPosition']=this['editor']['model']['createPositionAt'](_0x5f21dd,0x0),_0x4f0c77['stop']());};}}function N(_0x4976a0,_0x2a8d4a,_0x371ce8){return 0x1===_0x2a8d4a?_0x371ce8['createContainerElement']('ol',null,[_0x4976a0]):_0x371ce8['createContainerElement']('ol',null,[_0x371ce8['createContainerElement']('li',null,[N(_0x4976a0,_0x2a8d4a-0x1,_0x371ce8)])]);}class o extends _0x2669d3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2158d9=this['editor'];_0x2158d9['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x27039e=this['_createButton'](_0x1ed6e4);return _0x27039e['tooltip']=!0x0,_0x27039e;}),_0x2158d9['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x336414)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x186a4b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x191fa4;for(const _0x17fa82 in _0x186a4b){const _0x2c7d03=_0x17fa82,_0x324ca6=_0x186a4b[_0x2c7d03];if('tableOfContentsLicenseKeyValid'==_0x324ca6||'tableOfContentsLicenseKeyInvalid'==_0x324ca6||'tableOfContentsLicenseKeyExpired'==_0x324ca6||'tableOfContentsLicenseKeyDomainLimit'==_0x324ca6||'tableOfContentsLicenseKeyNotAllowed'==_0x324ca6||'tableOfContentsLicenseKeyEvaluationLimit'==_0x324ca6||'tableOfContentsLicenseKeyUsageLimit'==_0x324ca6){delete _0x186a4b[_0x2c7d03],_0x191fa4=_0x324ca6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x191fa4&&_0x186a4b['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x191fa4&&_0x186a4b['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x191fa4&&_0x186a4b['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x191fa4&&_0x186a4b['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x191fa4&&_0x186a4b['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x191fa4&&_0x186a4b['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0xd06511){const _0xb113aa=this['editor'],_0x32ccaf=_0xb113aa['locale'],_0x3100c3=_0xb113aa['commands']['get']('insertTableOfContents'),_0x38a908=new _0xd06511(_0x32ccaf);return _0x38a908['set']({'label':j(_0x32ccaf,'Table\x20of\x20contents'),'icon':_0x3aa11f}),_0x38a908['bind']('isEnabled')['to'](_0x3100c3,'isEnabled'),this['listenTo'](_0x38a908,'execute',()=>{_0xb113aa['execute']('insertTableOfContents'),_0xb113aa['editing']['view']['focus']();}),_0x38a908;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class D extends _0x2669d3{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{P as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,T as HeadingId,D as TableOfContents,_ as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x489eac,Command as _0x3ff35c}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0xc04cb1,throttle as _0xc013c}from'es-toolkit/compat';import{ModelText as _0x459969,ModelTreeWalker as _0x3a44ac}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x243eb0,diffToChanges as _0x5d2c02,scrollAncestorsToShowTarget as _0x22cb62,CKEditorError as _0x5c598d,global as _0xf0a478,Rect as _0x9c213d,uid as _0x177a57,priorities as _0x2f06b2}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x330b0e,ButtonView as _0x49821a,MenuBarMenuListItemButtonView as _0x1b1087}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x2b75dc,toWidget as _0x371777}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x2ced81}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x2bbe9a){let _0x48ede6='';for(const _0x1c14af of _0x2bbe9a['getChildren']())_0x1c14af instanceof _0x459969&&(_0x48ede6+=_0x1c14af['data']);return _0x48ede6;}class i extends _0x489eac{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4aa48c=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x9e3ce3=[];_0x4aa48c['model']['document']['on']('change',_0xc04cb1(()=>{const _0x5c49ce=_0x9e3ce3;_0x9e3ce3=this['_getOutlineDefinitions']();const _0xe412b5=_0x243eb0(_0x5c49ce,_0x9e3ce3,(_0x204bcb,_0x100881)=>_0x204bcb['level']===_0x100881['level']&&_0x204bcb['text']===_0x100881['text']&&_0x204bcb['modelElement']===_0x100881['modelElement']),_0x150326=_0x5d2c02(_0xe412b5,_0x9e3ce3),_0x539308=this['_getActiveHeading'](),_0x5a947b=_0x9e3ce3['findIndex'](_0x5d4912=>_0x5d4912['modelElement']===_0x539308);_0x150326['length']&&this['fire']('change',{'outlineDefinitions':_0x9e3ce3,'activeItemIndex':_0x5a947b,'outlineChanges':_0x150326}),this['fire']('activeItemIndex',{'index':_0x5a947b});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5f5272=this['editor'],_0x5ca0d3=[],_0x5953ee=this['_headingNames'];for(const _0x4f0bd1 of _0x5f5272['model']['document']['getRootNames']())_0xd78311(_0x5f5272['model']['document']['getRoot'](_0x4f0bd1));function _0xd78311(_0x25044a){for(const _0x2ab20e of _0x25044a['getChildren']())_0x2ab20e['is']('element')&&(_0x5953ee['includes'](_0x2ab20e['name'])&&_0x5ca0d3['push']({'level':_0x5953ee['indexOf'](_0x2ab20e['name'])+0x1,'text':I(_0x2ab20e),'modelElement':_0x2ab20e}),_0xd78311(_0x2ab20e));}return _0x5ca0d3;}['_getActiveHeading'](){const _0xf17b8c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x363f13=new _0x3a44ac({'direction':'backward','startPosition':_0xf17b8c});for(const _0x491d5b of _0x363f13)if(_0x491d5b['item']['is']('element')&&this['_headingNames']['includes'](_0x491d5b['item']['name']))return _0x491d5b['item'];}['_getHeadingNames'](){const _0x50d3df=this['editor']['config']['get']('documentOutline.headings');return _0x50d3df||function(_0xb78c66){const _0x5644c1=_0xb78c66['config']['get']('heading.options');return _0x5644c1?_0x5644c1['reduce']((_0x20560c,_0xd15485)=>('paragraph'!==_0xd15485['model']&&_0x20560c['push'](_0xd15485['model']),_0x20560c),[]):_0xb78c66['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x3b7e37=this['editor'],_0x15d1ee=['h1','h2','h3','h4','h5','h6'],_0xb41636=[];for(const _0x27a037 of _0x15d1ee){const _0x2cf5df=_0x3b7e37['editing']['view']['domConverter']['domToView'](document['createElement'](_0x27a037)),_0x387e2c=_0x3b7e37['data']['toModel'](_0x2cf5df)['getChild'](0x0);_0x387e2c?.['is']('element')&&_0xb41636['push'](_0x387e2c['name']);}this['_headingNames']=_0xb41636;}}function m(_0x4cd88b,_0x11ac9f){const t=_0x4cd88b['t'];switch(_0x11ac9f){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x11ac9f;}}class A extends _0x330b0e{constructor(_0x324d54,_0x22be8c=!0x1){super(_0x324d54);const _0x3b915f=this['bindTemplate'],_0x264a66=_0x22be8c?'['+m(_0x324d54,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x2434b4=>!_0x2434b4),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3b915f['to']('level',_0x59151e=>'ck-document-outline__item_level-'+_0x59151e),_0x3b915f['if']('isActive','ck-document-outline__item_active'),_0x3b915f['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3b915f['to']('text')},'children':[{'text':_0x3b915f['to']('text',_0x428c03=>_0x428c03||_0x264a66)}],'on':{'click':_0x3b915f['to']('click')}});}}class g extends _0x330b0e{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x5d5ec6,_0x239ed3=!0x1,_0xb500c7){super(_0x5d5ec6),this['showEmptyHeadingText']=_0x239ed3,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xb500c7,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x560aaf,_0x176ce8,_0x57cd34,_0x4f2bb5)=>{this['_setActiveItem'](_0x4f2bb5,_0x57cd34);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x5d5ec6['contentLanguageDirection'],'data-document-outline-empty-placeholder':m(_0x5d5ec6,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x979f30){_0x979f30['forEach'](_0x5669bc=>{'insert'==_0x5669bc['type']?this['_insertItem'](_0x5669bc['index'],..._0x5669bc['values']):'delete'==_0x5669bc['type']&&this['_deleteItem'](_0x5669bc['index'],_0x5669bc['howMany']);});}['_setActiveItem'](_0x208dc6,_0x2fe4b5){if(-0x1!==_0x208dc6){const _0x37c18a=this['items']['get'](_0x208dc6);_0x37c18a&&(_0x37c18a['isActive']=!0x1);}-0x1!==_0x2fe4b5&&(this['items']['get'](_0x2fe4b5)['isActive']=!0x0,this['_scrollToItem'](_0x2fe4b5));}['_insertItem'](_0x4ab098,..._0x2fca24){const _0x47f683=_0x2fca24['map']((_0x100fd2,_0x4cb9a3)=>{const _0x4ea4df=new A(this['locale'],this['showEmptyHeadingText']);return _0x4ea4df['text']=_0x100fd2['text'],_0x4ea4df['level']=_0x100fd2['level'],_0x4ab098+_0x4cb9a3===this['activeItemIndex']&&(_0x4ea4df['isActive']=!0x0),_0x4ea4df;});this['items']['addMany'](_0x47f683,_0x4ab098);}['_deleteItem'](_0x4b538f,_0x3fdf22){do{this['items']['remove'](_0x4b538f);}while(--_0x3fdf22);}['_handleItemClick'](_0x38db8c){const _0x220599=this['items']['getIndex'](_0x38db8c['source']);this['fire']('itemSelected',_0x220599);}['_scrollToItem'](_0x3c7948){_0x22cb62(this['items']['get'](_0x3c7948)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x489eac{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x19ef9c){super(_0x19ef9c),this['view']=new g(_0x19ef9c['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0xc013c(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x41e90c=this['editor'],_0x3c10ee=_0x41e90c['plugins']['get']('DocumentOutlineUtils');let _0x256fd0=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x41e90c['config']['get']('documentOutline.container'))throw new _0x5c598d('document-outline-container-not-provided',{'editor':_0x41e90c});_0x41e90c['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x3c10ee['on']('change',this['_handleOutlineChange']['bind'](this)),_0x3c10ee['on']('activeItemIndex',(_0xace974,{index:_0x489795})=>this['_setActiveViewItem'](_0x489795)),this['view']['on']('itemSelected',(_0x2c437e,_0x36d795)=>{_0x256fd0=!0x0,this['_handleItemSelected'](_0x36d795);}),this['view']['listenTo'](_0xf0a478['document'],'scroll',()=>{_0x256fd0?_0x256fd0=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0xf0a478['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x2f77c5){const _0x27fb76=_0x304399([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x19fbdf=0x1cb264a3,_0xc1931c=0x1cb51a3b^_0x19fbdf,_0xa1eb07=window[_0x304399([0x44,0x61,0x74,0x65])][_0x304399([0x6e,0x6f,0x77])](),_0x2bb72b=_0x2f77c5[_0x304399([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xab56d8=new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5cbc60=>{_0x2bb72b[_0x304399([0x6f,0x6e,0x63,0x65])](_0x304399([0x72,0x65,0x61,0x64,0x79]),_0x5cbc60);}),_0xa52d18={[_0x304399([0x6b,0x74,0x79])]:_0x304399([0x45,0x43]),[_0x304399([0x75,0x73,0x65])]:_0x304399([0x73,0x69,0x67]),[_0x304399([0x63,0x72,0x76])]:_0x304399([0x50,0x2d,0x32,0x35,0x36]),[_0x304399([0x78])]:_0x304399([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x304399([0x79])]:_0x304399([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x304399([0x61,0x6c,0x67])]:_0x304399([0x45,0x53,0x32,0x35,0x36])},_0x613767=_0x2bb72b[_0x304399([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x304399([0x67,0x65,0x74])](_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x436c34(){let _0x4df0a4,_0x1feac6=null,_0x5b86a8=null;try{if(_0x613767==_0x304399([0x47,0x50,0x4c]))return _0x304399([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4df0a4=_0x46ea41(),!_0x4df0a4)return _0x304399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4df0a4[_0x304399([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5b86a8=_0xe3b7d2(_0x4df0a4[_0x304399([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4df0a4[_0x304399([0x6a,0x74,0x69])])),await _0x51b542()?_0x40f9c8()?_0x40d5fd()?_0x304399([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19b397()?(_0x4df0a4[_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x304399([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1feac6=_0x2fb4ca(_0x304399([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x37ee4c()):_0x304399([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x304399([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x304399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x304399([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x40d5fd(){const _0x57bcb6=[_0x304399([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x304399([0x74,0x72,0x69,0x61,0x6c])][_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4df0a4[_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa1eb07/0x3e8:0xe10*_0xc1931c;return _0x4df0a4[_0x304399([0x65,0x78,0x70])]<_0x57bcb6;}function _0x40f9c8(){const _0x13d348=_0x4df0a4[_0x304399([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x13d348&&(!!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x2a]))||(!!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x44,0x4f]))||(!!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x50,0x50]))||!(!_0x13d348[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x4f7cd7()))));}function _0x19b397(){const _0x46adc5=_0x4df0a4[_0x304399([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x46adc5||0x0==_0x46adc5[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x394fb7}=new URL(window[_0x304399([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x46adc5[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x394fb7))return!0x0;const _0x56d949=_0x394fb7[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e]));return _0x46adc5[_0x304399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7427cd=>_0x7427cd[_0x304399([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x304399([0x2a])))[_0x304399([0x6d,0x61,0x70])](_0x1d7cf0=>_0x1d7cf0[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e])))[_0x304399([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9549e9=>_0x9549e9[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56d949[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x304399([0x6d,0x61,0x70])](_0x15326f=>Array(_0x56d949[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15326f[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x304399([0x66,0x69,0x6c,0x6c])](_0x15326f[0x0]===_0x304399([0x2a])?_0x304399([0x2a]):'')[_0x304399([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15326f))[_0x304399([0x73,0x6f,0x6d,0x65])](_0x184cf4=>_0x56d949[_0x304399([0x65,0x76,0x65,0x72,0x79])]((_0x3cee2f,_0x10426d)=>_0x184cf4[_0x10426d]===_0x3cee2f||_0x184cf4[_0x10426d]===_0x304399([0x2a])));}function _0x37ee4c(){return _0x1feac6&&_0x5b86a8?new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x261426,_0xbd5931)=>{_0x1feac6[_0x304399([0x74,0x68,0x65,0x6e])](_0x261426,_0xbd5931),_0x5b86a8[_0x304399([0x74,0x68,0x65,0x6e])](_0x834dbd=>{_0x834dbd!=_0x304399([0x56,0x61,0x6c,0x69,0x64])&&_0x261426(_0x834dbd);},_0xbd5931);}):_0x1feac6||_0x5b86a8||_0x304399([0x56,0x61,0x6c,0x69,0x64]);}}function _0xe3b7d2(_0x3c0bca,_0x31531a){return new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5367b6=>{if(_0x3a26bc())return _0x5367b6(_0x304399([0x56,0x61,0x6c,0x69,0x64]));_0x193668(),_0x2bb72b[_0x304399([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x304399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x284c8f=!0x1;const _0x53b4aa=_0x177a57();function _0x4da15f(_0x38ebb0){return!!_0x38ebb0&&(typeof _0x38ebb0===_0x304399([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38ebb0===_0x304399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38ebb0[_0x304399([0x74,0x68,0x65,0x6e])]===_0x304399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38ebb0[_0x304399([0x63,0x61,0x74,0x63,0x68])]===_0x304399([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x428a87(_0x6d030){_0x414e3b(_0x6d030)[_0x304399([0x74,0x68,0x65,0x6e])](_0x49f6ad=>{if(!_0x49f6ad||_0x49f6ad[_0x304399([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x304399([0x6f,0x6b]))return _0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3a805e(_0xcd73e5(_0x53b4aa+_0x31531a))!=_0x49f6ad[_0x304399([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x304399([0x56,0x61,0x6c,0x69,0x64]);})[_0x304399([0x74,0x68,0x65,0x6e])](_0x501e65=>(_0x1e57b0(),_0x501e65),()=>{const _0x10f00a=_0x11f605();return null==_0x10f00a?(_0x1e57b0(),_0x304399([0x56,0x61,0x6c,0x69,0x64])):_0x304399(_0xa1eb07-_0x10f00a>(0x38bee0a3^_0x19fbdf)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x304399([0x74,0x68,0x65,0x6e])](_0x5367b6)[_0x304399([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5367b6(_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x248917=0x1c848a23^_0x19fbdf;function _0x1e57b0(){const _0x283dba=_0x304399([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a805e(_0xcd73e5(_0x3c0bca)),_0x2e4ceb=_0x1abba9(_0x3a805e(window[_0x304399([0x4d,0x61,0x74,0x68])][_0x304399([0x63,0x65,0x69,0x6c])](_0xa1eb07/_0x248917)));window[_0x304399([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x304399([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x283dba,_0x2e4ceb);}function _0x11f605(){const _0x2e4e8b=_0x304399([0x6c,0x6c,0x63,0x74,0x2d])+_0x3a805e(_0xcd73e5(_0x3c0bca)),_0x1eb210=window[_0x304399([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x304399([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e4e8b);return _0x1eb210?window[_0x304399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1abba9(_0x1eb210),0x10)*_0x248917:null;}function _0x414e3b(_0x49d280){return new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12c338,_0x162a3c)=>{_0x49d280[_0x304399([0x74,0x68,0x65,0x6e])](_0x12c338,_0x162a3c),window[_0x304399([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x162a3c,0x1cb3b063^_0x19fbdf);});}}_0x2bb72b[_0x304399([0x6f,0x6e])](_0x304399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xab8762,_0x23e9cb)=>{if(_0x23e9cb[0x0]!=_0x3c0bca)return _0x5367b6(_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x23e9cb[0x1]={..._0x23e9cb[0x1],[_0x304399([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53b4aa};},{[_0x304399([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x304399([0x68,0x69,0x67,0x68])}),_0x2bb72b[_0x304399([0x6f,0x6e])](_0x304399([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fd2fb=>{_0x4da15f(_0x4fd2fb[_0x304399([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x284c8f=!0x0,_0x428a87(_0x4fd2fb[_0x304399([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x304399([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x304399([0x6c,0x6f,0x77])}),_0xab56d8[_0x304399([0x74,0x68,0x65,0x6e])](()=>{_0x284c8f||_0x5367b6(_0x304399([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a26bc(){return _0x2bb72b[_0x304399([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x304399([0x76,0x69,0x65,0x77])][_0x304399([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x304399([0x61,0x75,0x74,0x6f]);}function _0x193668(){_0x2bb72b[_0x304399([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x304399([0x76,0x69,0x65,0x77])][_0x304399([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x304399([0x61,0x75,0x74,0x6f]);}}function _0x2fb4ca(_0x5c8c06){const _0x540112=[new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x561d1c=>setTimeout(_0x561d1c,0x1cbb5a6f^_0x19fbdf)),_0xab56d8[_0x304399([0x74,0x68,0x65,0x6e])](()=>new window[(_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2170fe=>{let _0x50c0ce=0x0;_0x2bb72b[_0x304399([0x6d,0x6f,0x64,0x65,0x6c])][_0x304399([0x6f,0x6e])](_0x304399([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3556e9,_0x549947)=>{_0x549947[0x0][_0x304399([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50c0ce++,_0x50c0ce==(0x1cb2614b^_0x19fbdf)&&(_0x2170fe(),_0x3556e9[_0x304399([0x6f,0x66,0x66])]());});}))];return window[_0x304399([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x304399([0x72,0x61,0x63,0x65])](_0x540112)[_0x304399([0x74,0x68,0x65,0x6e])](()=>_0x5c8c06);}async function _0x56e4ca(){await _0xab56d8,_0x2bb72b[_0x304399([0x6d,0x6f,0x64,0x65,0x6c])][_0x304399([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x392787,_0x2bb72b[_0x304399([0x6d,0x6f,0x64,0x65,0x6c])][_0x304399([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x392787,_0x2bb72b[_0x304399([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x304399([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4f7cd7(){return window[_0x304399([0x67,0x6c,0x6f,0x62])]&&window[_0x304399([0x67,0x6c,0x6f,0x62])][_0x304399([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x56ce4a(_0x32a9fb){const _0x584347=_0x1f857f();_0x2bb72b[_0x584347]=_0x304399([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32a9fb,_0x32a9fb!=_0x304399([0x56,0x61,0x6c,0x69,0x64])&&_0x56e4ca();}function _0x1f857f(){const _0x2f6330=window[_0x304399([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x304399([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x304399([0x6e,0x6f,0x77])]())[_0x304399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x304399([0x2e]),'');let _0x42711a=_0x304399([0x61]);for(let _0x21221e=0x0;_0x21221e<_0x2f6330[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21221e+=0x2){let _0x39ea64=window[_0x304399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f6330[_0x304399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21221e,_0x21221e+0x2));_0x39ea64>=_0x27fb76[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39ea64-=_0x27fb76[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42711a+=_0x27fb76[_0x39ea64];}return _0x42711a;}function _0x46ea41(){const _0xec34db=_0x613767[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e]));if(0x3!=_0xec34db[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c6894(_0xec34db[0x1]);function _0x2c6894(_0x5b1b1e){const _0x288852=_0xb5f00b(_0x5b1b1e);return _0x288852&&_0x59454e()?_0x288852:null;function _0x59454e(){const _0x24c63=_0x288852[_0x304399([0x6a,0x74,0x69])],_0x21954a=window[_0x304399([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24c63[_0x304399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24c63[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xda60eb={..._0x288852,[_0x304399([0x6a,0x74,0x69])]:_0x24c63[_0x304399([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24c63[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xda60eb[_0x304399([0x76,0x63])],_0xcd73e5(_0xda60eb)==_0x21954a;}}}async function _0x51b542(){let _0x4aea19=!0x0;try{const _0x500b63=_0x613767[_0x304399([0x73,0x70,0x6c,0x69,0x74])](_0x304399([0x2e])),[_0x1c0871,_0x239722,_0x82e748]=_0x500b63;return _0x2ba53e(_0x1c0871),await _0x591c97(_0x1c0871,_0x239722,_0x82e748),_0x4aea19;}catch{return!0x1;}function _0x2ba53e(_0x4862b9){const _0x1990ce=_0xb5f00b(_0x4862b9);_0x1990ce&&_0x1990ce[_0x304399([0x61,0x6c,0x67])]==_0x304399([0x45,0x53,0x32,0x35,0x36])||(_0x4aea19=!0x1);}async function _0x591c97(_0x39a5af,_0x486b2f,_0x5d337f){const _0x162e30=window[_0x304399([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x304399([0x66,0x72,0x6f,0x6d])](_0x2f900f(_0x5d337f),_0x182542=>_0x182542[_0x304399([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x573134=new window[(_0x304399([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x304399([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39a5af+_0x304399([0x2e])+_0x486b2f),_0x564c7a=window[_0x304399([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x304399([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x564c7a)return;const _0x318e4c=await _0x564c7a[_0x304399([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x304399([0x6a,0x77,0x6b]),_0xa52d18,{[_0x304399([0x6e,0x61,0x6d,0x65])]:_0x304399([0x45,0x43,0x44,0x53,0x41]),[_0x304399([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x304399([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x304399([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x564c7a[_0x304399([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x304399([0x6e,0x61,0x6d,0x65])]:_0x304399([0x45,0x43,0x44,0x53,0x41]),[_0x304399([0x68,0x61,0x73,0x68])]:{[_0x304399([0x6e,0x61,0x6d,0x65])]:_0x304399([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x318e4c,_0x162e30,_0x573134)||(_0x4aea19=!0x1);}}function _0xb5f00b(_0x1511c2){return _0x1511c2[_0x304399([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x304399([0x65,0x79]))?JSON[_0x304399([0x70,0x61,0x72,0x73,0x65])](_0x2f900f(_0x1511c2)):null;}function _0x2f900f(_0x524c63){return window[_0x304399([0x61,0x74,0x6f,0x62])](_0x524c63[_0x304399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x304399([0x2b]))[_0x304399([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x304399([0x2f])));}function _0xcd73e5(_0x5895f1){let _0x224c0d=0x1505;function _0x24c85e(_0x3ddf05){for(let _0x205ed2=0x0;_0x205ed2<_0x3ddf05[_0x304399([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x205ed2++){const _0x5b2273=_0x3ddf05[_0x304399([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x205ed2);_0x224c0d=(_0x224c0d<<0x5)+_0x224c0d+_0x5b2273,_0x224c0d&=_0x224c0d;}}function _0x305c6a(_0x4de7c8){Array[_0x304399([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4de7c8)?_0x4de7c8[_0x304399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x305c6a):_0x4de7c8&&typeof _0x4de7c8==_0x304399([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x304399([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4de7c8)[_0x304399([0x73,0x6f,0x72,0x74])]()[_0x304399([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xa5cf71,_0x10ad98])=>{_0x24c85e(_0xa5cf71),_0x305c6a(_0x10ad98);}):_0x24c85e(window[_0x304399([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4de7c8));}return _0x305c6a(_0x5895f1),_0x224c0d>>>0x0;}function _0x3a805e(_0x10159c){return _0x10159c[_0x304399([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x304399([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x304399([0x30]));}function _0x1abba9(_0x33de0f){return _0x33de0f[_0x304399([0x73,0x70,0x6c,0x69,0x74])]('')[_0x304399([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x304399([0x6a,0x6f,0x69,0x6e])]('');}function _0x392787(){}function _0x304399(_0x20ab18){return _0x20ab18['map'](_0x366ddc=>String['fromCharCode'](_0x366ddc))['join']('');}_0x56ce4a(await _0x436c34());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x4a57aa,{outlineDefinitions:_0x2faf49,outlineChanges:_0x4dc9a8}){this['_currentOutlineDefinitions']=_0x2faf49,this['view']['sync'](_0x4dc9a8);}['_setActiveViewItem'](_0x58003b){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x58003b]&&(this['view']['activeItemIndex']=_0x58003b);}['_handleItemSelected'](_0x4165e3){const _0x2151b4=this['_currentOutlineDefinitions'][_0x4165e3]['modelElement'];this['editor']['model']['change'](_0xd6857d=>{_0xd6857d['setSelection'](_0x2151b4,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x4165e3);}['_updateActiveDefinitionOnViewportChange'](){const _0x3a3d67=this['editor'];let _0x4ef385;for(const _0x2a8707 of _0x3a3d67['model']['document']['getRootNames']()){const _0x1758e9=_0x3a3d67['editing']['view']['getDomRoot'](_0x2a8707),_0x3aeed2=_0x1758e9&&new _0x9c213d(_0x1758e9)['getVisible']();if(_0x3aeed2){const _0x4a7f63=new _0x9c213d(_0xf0a478['window'])['getIntersection'](_0x3aeed2);_0x4a7f63&&(_0x4ef385=_0x4a7f63['top']+0.25*_0x4a7f63['height']);}}if(void 0x0===_0x4ef385)return;const _0x316a0a=D(_0x3a3d67['editing'],this['_currentOutlineDefinitions'],_0x4ef385);_0x316a0a?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x316a0a)):this['_setActiveViewItem'](-0x1);}}function D(_0x20bdbb,_0x2b7614,_0x102b8d,_0x54c2d6=0x0,_0x1d0d21=_0x2b7614['length']-0x1){const _0x26f060=Math['floor'](_0x54c2d6+(_0x1d0d21-_0x54c2d6)/0x2);if(_0x1d0d21>=_0x54c2d6){const _0x7138ce=_0x2b7614[_0x26f060],_0x22b5c0=_0x20bdbb['mapper']['toViewElement'](_0x7138ce['modelElement']);if(!_0x22b5c0)return null;const _0x34195f=_0x20bdbb['view']['domConverter']['mapViewToDom'](_0x22b5c0);return new _0x9c213d(_0x34195f)['bottom']>_0x102b8d?D(_0x20bdbb,_0x2b7614,_0x102b8d,_0x54c2d6,_0x26f060-0x1):D(_0x20bdbb,_0x2b7614,_0x102b8d,_0x26f060+0x1,_0x1d0d21);}return _0x26f060<0x0?null:_0x2b7614[_0x26f060];}class K extends _0x489eac{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1846a6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c2aa6;for(const _0x2fb506 in _0x1846a6){const _0x1b2120=_0x2fb506,_0x389412=_0x1846a6[_0x1b2120];if('documentOutlineLicenseKeyValid'==_0x389412||'documentOutlineLicenseKeyInvalid'==_0x389412||'documentOutlineLicenseKeyExpired'==_0x389412||'documentOutlineLicenseKeyDomainLimit'==_0x389412||'documentOutlineLicenseKeyNotAllowed'==_0x389412||'documentOutlineLicenseKeyEvaluationLimit'==_0x389412||'documentOutlineLicenseKeyUsageLimit'==_0x389412){delete _0x1846a6[_0x1b2120],_0x4c2aa6=_0x389412,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4c2aa6&&_0x1846a6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class w extends _0x3ff35c{['execute'](){this['editor']['model']['change'](_0x47fee9=>{this['editor']['model']['insertObject'](_0x47fee9['createElement']('tableOfContents'));});}['refresh'](){const _0x5f098f=this['editor']['model'],_0x55cee=_0x5f098f['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x55cee&&_0x5f098f['schema']['findAllowedParent'](_0x55cee,'tableOfContents'));}}class h extends _0x489eac{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x472d85=this['editor'];if(_0x472d85['config']['get']('headingId.modelAttributeName'))return;(function(_0x6d0a15){const _0x3adf9e=new Map();if(_0x6d0a15)return _0x6d0a15['forEach'](_0x425e5c=>{'paragraph'!==_0x425e5c['model']&&_0x3adf9e['set'](_0x425e5c['view'],_0x425e5c['model']);}),_0x3adf9e['get']('h1')||_0x3adf9e['set']('h1','heading1'),_0x3adf9e;return _0x3adf9e;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x1d01fb,_0x1aa5e6)=>{this['_customUpcastHeadingsConversion'](_0x1aa5e6),this['_customDataDowncastHeadingsConversion'](_0x1d01fb),_0x472d85['model']['schema']['isRegistered'](_0x1d01fb)&&_0x472d85['model']['schema']['extend'](_0x1d01fb,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x22e53c){this['editor']['conversion']['for']('upcast')['add'](_0x1819c9=>_0x1819c9['on']('element:'+_0x22e53c,(_0x255f03,_0x3715fd,_0x569fac)=>{const {consumable:_0x551a21,writer:_0x2c7926}=_0x569fac,_0x5c4a6b=_0x3715fd['viewItem']['getAttribute']('id'),_0x32ae32=_0x3715fd['modelRange']['getContainedElement']();if(_0x32ae32)return _0x5c4a6b&&_0x5c4a6b['length']||_0x32ae32['hasAttribute']('headingId')?void(_0x551a21['consume'](_0x3715fd['viewItem'],{'attributes':['id']})&&_0x2c7926['setAttribute']('headingId',_0x5c4a6b,_0x32ae32)):(_0x551a21['consume'](_0x3715fd['viewItem'],{'attributes':['id']}),void _0x2c7926['setAttribute']('headingId',_0x177a57(),_0x32ae32));},{'priority':_0x2f06b2['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x91d1de){this['editor']['conversion']['for']('downcast')['add'](_0x39de39=>_0x39de39['on']('attribute:headingId:'+_0x91d1de,(_0x5814f7,_0x1c7061,_0x306323)=>{if(!_0x306323['consumable']['consume'](_0x1c7061['item'],_0x5814f7['name']))return;const _0x1012c4=_0x1c7061['item']['getAttribute']('headingId'),_0x53aa06=_0x306323['mapper']['toViewElement'](_0x1c7061['item']);_0x306323['writer']['setAttribute']('id',_0x1012c4,_0x53aa06);}));}['_registerHeadingIdAttributePostfixer'](){const _0x5d6893=this['editor'],_0x47669b=new Set(),_0x2ad4a2=new Set();function _0x15ad85(_0x361ddb,_0xe976ce){const _0x117452=_0x177a57();return _0x2ad4a2['add'](_0x117452),_0x361ddb['setAttribute']('headingId',_0x117452,_0xe976ce),_0x117452;}function _0x21cb8d(_0x881ccc,_0x2675f6){_0x881ccc['removeAttribute']('headingId',_0x2675f6);}_0x5d6893['model']['document']['registerPostFixer'](_0x239e05=>{const _0x2b9e30=_0x5d6893['model']['document']['differ']['getChanges']();let _0x2b9baf=!0x1;for(const _0x428673 of _0x2b9e30)if('insert'==_0x428673['type']&&_0x428673['name']){if(c(_0x428673['name'])){const _0x3a3f87=_0x428673['attributes']['get']('headingId');'string'==typeof _0x3a3f87?_0x47669b['has'](_0x3a3f87)?(_0x15ad85(_0x239e05,_0x428673['position']['nodeAfter']),_0x2b9baf=!0x0):_0x2ad4a2['add'](_0x3a3f87):(_0x15ad85(_0x239e05,_0x428673['position']['nodeAfter']),_0x2b9baf=!0x0);}else'string'==typeof _0x428673['attributes']['get']('headingId')&&(_0x21cb8d(_0x239e05,_0x428673['position']['nodeAfter']),_0x2b9baf=!0x0);}else{if('remove'==_0x428673['type']){const _0x51d21e=_0x428673['attributes']['get']('headingId');'string'==typeof _0x51d21e&&_0x47669b['delete'](_0x51d21e);}}return _0x2b9baf;}),_0x5d6893['model']['document']['on']('change',()=>{_0x2ad4a2['forEach'](_0x3ced06=>_0x47669b['add'](_0x3ced06)),_0x2ad4a2['clear']();});}}function c(_0x3359a4){return!!_0x3359a4['match'](/heading\d/);}class s extends _0x489eac{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2b75dc,i,h];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x3141ae){super(_0x3141ae),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1d4958=this['editor'],_0x29dc1a=_0x1d4958['editing']['view']['document'];_0x1d4958['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1d4958['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x29dc1a,'click',(_0x575e71,_0x399c34)=>{if(!_0x399c34['target'])return;const _0x2671f5=_0x399c34['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2671f5)&&(_0x399c34['domEvent']['preventDefault'](),_0x575e71['stop'](),this['_handleScrollToHeading'](_0x2671f5));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1d4958['commands']['add']('insertTableOfContents',new w(_0x1d4958)),(_0x1d4958['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x10f03b,_0x3ad917)=>{this['_currentOutlineDefinitions']=_0x3ad917['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x1d4958['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x56c147){const _0x3ca379=_0x426190([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x292673=0x6b9b05fd,_0x7bd375=0x6b9c7b65^_0x292673,_0x1b31d0=window[_0x426190([0x44,0x61,0x74,0x65])][_0x426190([0x6e,0x6f,0x77])](),_0x4b6f6b=_0x56c147[_0x426190([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x40fad0=new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f1e84=>{_0x4b6f6b[_0x426190([0x6f,0x6e,0x63,0x65])](_0x426190([0x72,0x65,0x61,0x64,0x79]),_0x1f1e84);}),_0x16b8da={[_0x426190([0x6b,0x74,0x79])]:_0x426190([0x45,0x43]),[_0x426190([0x75,0x73,0x65])]:_0x426190([0x73,0x69,0x67]),[_0x426190([0x63,0x72,0x76])]:_0x426190([0x50,0x2d,0x32,0x35,0x36]),[_0x426190([0x78])]:_0x426190([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x426190([0x79])]:_0x426190([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x426190([0x61,0x6c,0x67])]:_0x426190([0x45,0x53,0x32,0x35,0x36])},_0x117c20=_0x4b6f6b[_0x426190([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x426190([0x67,0x65,0x74])](_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4774dc(){let _0x24c193,_0x1df6d7=null,_0x31cc6e=null;try{if(_0x117c20==_0x426190([0x47,0x50,0x4c]))return _0x426190([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24c193=_0x420770(),!_0x24c193)return _0x426190([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24c193[_0x426190([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31cc6e=_0x221a8a(_0x24c193[_0x426190([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24c193[_0x426190([0x6a,0x74,0x69])])),await _0x184a1c()?_0xb04daf()?_0x2811ce()?_0x426190([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x52ca3e()?(_0x24c193[_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x426190([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1df6d7=_0x408600(_0x426190([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x481e88()):_0x426190([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x426190([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x426190([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x426190([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2811ce(){const _0x118bd2=[_0x426190([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x426190([0x74,0x72,0x69,0x61,0x6c])][_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24c193[_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1b31d0/0x3e8:0xe10*_0x7bd375;return _0x24c193[_0x426190([0x65,0x78,0x70])]<_0x118bd2;}function _0xb04daf(){const _0xba3e22=_0x24c193[_0x426190([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xba3e22&&(!!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x2a]))||(!!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x54,0x4f,0x43]))||(!!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x50,0x50]))||!(!_0xba3e22[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x251953()))));}function _0x52ca3e(){const _0x562c1a=_0x24c193[_0x426190([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x562c1a||0x0==_0x562c1a[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16fde1}=new URL(window[_0x426190([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x562c1a[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fde1))return!0x0;const _0x1ea0f6=_0x16fde1[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e]));return _0x562c1a[_0x426190([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8dd73b=>_0x8dd73b[_0x426190([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426190([0x2a])))[_0x426190([0x6d,0x61,0x70])](_0x1505fd=>_0x1505fd[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e])))[_0x426190([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x274583=>_0x274583[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ea0f6[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x426190([0x6d,0x61,0x70])](_0x32bcbd=>Array(_0x1ea0f6[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32bcbd[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x426190([0x66,0x69,0x6c,0x6c])](_0x32bcbd[0x0]===_0x426190([0x2a])?_0x426190([0x2a]):'')[_0x426190([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32bcbd))[_0x426190([0x73,0x6f,0x6d,0x65])](_0x3be6de=>_0x1ea0f6[_0x426190([0x65,0x76,0x65,0x72,0x79])]((_0x31dc71,_0x3c9bc0)=>_0x3be6de[_0x3c9bc0]===_0x31dc71||_0x3be6de[_0x3c9bc0]===_0x426190([0x2a])));}function _0x481e88(){return _0x1df6d7&&_0x31cc6e?new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41dcf0,_0x2636be)=>{_0x1df6d7[_0x426190([0x74,0x68,0x65,0x6e])](_0x41dcf0,_0x2636be),_0x31cc6e[_0x426190([0x74,0x68,0x65,0x6e])](_0x51a02a=>{_0x51a02a!=_0x426190([0x56,0x61,0x6c,0x69,0x64])&&_0x41dcf0(_0x51a02a);},_0x2636be);}):_0x1df6d7||_0x31cc6e||_0x426190([0x56,0x61,0x6c,0x69,0x64]);}}function _0x221a8a(_0x47d835,_0x38a1c9){return new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x217869=>{if(_0x20fe68())return _0x217869(_0x426190([0x56,0x61,0x6c,0x69,0x64]));_0xee56c2(),_0x4b6f6b[_0x426190([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x426190([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1208d5=!0x1;const _0x233923=_0x177a57();function _0x2e1289(_0x1a88b8){return!!_0x1a88b8&&(typeof _0x1a88b8===_0x426190([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a88b8===_0x426190([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a88b8[_0x426190([0x74,0x68,0x65,0x6e])]===_0x426190([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a88b8[_0x426190([0x63,0x61,0x74,0x63,0x68])]===_0x426190([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3b8fb9(_0x33575d){_0x29d460(_0x33575d)[_0x426190([0x74,0x68,0x65,0x6e])](_0x2be358=>{if(!_0x2be358||_0x2be358[_0x426190([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x426190([0x6f,0x6b]))return _0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2bb534(_0x2a89ec(_0x233923+_0x38a1c9))!=_0x2be358[_0x426190([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x426190([0x56,0x61,0x6c,0x69,0x64]);})[_0x426190([0x74,0x68,0x65,0x6e])](_0x48141f=>(_0x45f5df(),_0x48141f),()=>{const _0x57830e=_0x1d40f1();return null==_0x57830e?(_0x45f5df(),_0x426190([0x56,0x61,0x6c,0x69,0x64])):_0x426190(_0x1b31d0-_0x57830e>(0x4f9781fd^_0x292673)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x426190([0x74,0x68,0x65,0x6e])](_0x217869)[_0x426190([0x63,0x61,0x74,0x63,0x68])](()=>{_0x217869(_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58e34e=0x6badeb7d^_0x292673;function _0x45f5df(){const _0xffdbab=_0x426190([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bb534(_0x2a89ec(_0x47d835)),_0x10a124=_0x5e90e3(_0x2bb534(window[_0x426190([0x4d,0x61,0x74,0x68])][_0x426190([0x63,0x65,0x69,0x6c])](_0x1b31d0/_0x58e34e)));window[_0x426190([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x426190([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xffdbab,_0x10a124);}function _0x1d40f1(){const _0x393a40=_0x426190([0x6c,0x6c,0x63,0x74,0x2d])+_0x2bb534(_0x2a89ec(_0x47d835)),_0x28b1fd=window[_0x426190([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x426190([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x393a40);return _0x28b1fd?window[_0x426190([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e90e3(_0x28b1fd),0x10)*_0x58e34e:null;}function _0x29d460(_0x187f74){return new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cab71,_0x4e6ba3)=>{_0x187f74[_0x426190([0x74,0x68,0x65,0x6e])](_0x2cab71,_0x4e6ba3),window[_0x426190([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e6ba3,0x6b9ad13d^_0x292673);});}}_0x4b6f6b[_0x426190([0x6f,0x6e])](_0x426190([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c9cab,_0x5c48f3)=>{if(_0x5c48f3[0x0]!=_0x47d835)return _0x217869(_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c48f3[0x1]={..._0x5c48f3[0x1],[_0x426190([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x233923};},{[_0x426190([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x426190([0x68,0x69,0x67,0x68])}),_0x4b6f6b[_0x426190([0x6f,0x6e])](_0x426190([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x377a82=>{_0x2e1289(_0x377a82[_0x426190([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1208d5=!0x0,_0x3b8fb9(_0x377a82[_0x426190([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x426190([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x426190([0x6c,0x6f,0x77])}),_0x40fad0[_0x426190([0x74,0x68,0x65,0x6e])](()=>{_0x1208d5||_0x217869(_0x426190([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20fe68(){return _0x4b6f6b[_0x426190([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x426190([0x76,0x69,0x65,0x77])][_0x426190([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x426190([0x61,0x75,0x74,0x6f]);}function _0xee56c2(){_0x4b6f6b[_0x426190([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x426190([0x76,0x69,0x65,0x77])][_0x426190([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x426190([0x61,0x75,0x74,0x6f]);}}function _0x408600(_0x5a9d94){const _0x34df8c=[new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478d82=>setTimeout(_0x478d82,0x6b923b31^_0x292673)),_0x40fad0[_0x426190([0x74,0x68,0x65,0x6e])](()=>new window[(_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ecfb3=>{let _0x4375dd=0x0;_0x4b6f6b[_0x426190([0x6d,0x6f,0x64,0x65,0x6c])][_0x426190([0x6f,0x6e])](_0x426190([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2f13cf,_0x3ee893)=>{_0x3ee893[0x0][_0x426190([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4375dd++,_0x4375dd==(0x6b9b0015^_0x292673)&&(_0x2ecfb3(),_0x2f13cf[_0x426190([0x6f,0x66,0x66])]());});}))];return window[_0x426190([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x426190([0x72,0x61,0x63,0x65])](_0x34df8c)[_0x426190([0x74,0x68,0x65,0x6e])](()=>_0x5a9d94);}async function _0xed37ff(){await _0x40fad0,_0x4b6f6b[_0x426190([0x6d,0x6f,0x64,0x65,0x6c])][_0x426190([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x8d2828,_0x4b6f6b[_0x426190([0x6d,0x6f,0x64,0x65,0x6c])][_0x426190([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x8d2828,_0x4b6f6b[_0x426190([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x426190([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x251953(){return window[_0x426190([0x67,0x6c,0x6f,0x62])]&&window[_0x426190([0x67,0x6c,0x6f,0x62])][_0x426190([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5d36a8(_0x3cb1b7){const _0x1282ce=_0x1f0d14();_0x4b6f6b[_0x1282ce]=_0x426190([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3cb1b7,_0x3cb1b7!=_0x426190([0x56,0x61,0x6c,0x69,0x64])&&_0xed37ff();}function _0x1f0d14(){const _0x46c982=window[_0x426190([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x426190([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x426190([0x6e,0x6f,0x77])]())[_0x426190([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x426190([0x2e]),'');let _0x5880ff=_0x426190([0x6d]);for(let _0x6cb5e=0x0;_0x6cb5e<_0x46c982[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6cb5e+=0x2){let _0x454e50=window[_0x426190([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46c982[_0x426190([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6cb5e,_0x6cb5e+0x2));_0x454e50>=_0x3ca379[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x454e50-=_0x3ca379[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5880ff+=_0x3ca379[_0x454e50];}return _0x5880ff;}function _0x420770(){const _0xdb7a6b=_0x117c20[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e]));if(0x3!=_0xdb7a6b[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x150f6b(_0xdb7a6b[0x1]);function _0x150f6b(_0x1ae5bc){const _0x298396=_0x134684(_0x1ae5bc);return _0x298396&&_0x12c8ff()?_0x298396:null;function _0x12c8ff(){const _0x510e72=_0x298396[_0x426190([0x6a,0x74,0x69])],_0x2de925=window[_0x426190([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x510e72[_0x426190([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x510e72[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48b06a={..._0x298396,[_0x426190([0x6a,0x74,0x69])]:_0x510e72[_0x426190([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x510e72[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48b06a[_0x426190([0x76,0x63])],_0x2a89ec(_0x48b06a)==_0x2de925;}}}async function _0x184a1c(){let _0xc76eb4=!0x0;try{const _0x4293a8=_0x117c20[_0x426190([0x73,0x70,0x6c,0x69,0x74])](_0x426190([0x2e])),[_0x5c0609,_0x1d79fb,_0xf25183]=_0x4293a8;return _0x52e946(_0x5c0609),await _0x5b2fc7(_0x5c0609,_0x1d79fb,_0xf25183),_0xc76eb4;}catch{return!0x1;}function _0x52e946(_0x2f7758){const _0x5c9a3d=_0x134684(_0x2f7758);_0x5c9a3d&&_0x5c9a3d[_0x426190([0x61,0x6c,0x67])]==_0x426190([0x45,0x53,0x32,0x35,0x36])||(_0xc76eb4=!0x1);}async function _0x5b2fc7(_0x342a31,_0x4654c9,_0x17e538){const _0x105b7b=window[_0x426190([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x426190([0x66,0x72,0x6f,0x6d])](_0x5ce848(_0x17e538),_0x1f8aeb=>_0x1f8aeb[_0x426190([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x205db3=new window[(_0x426190([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x426190([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x342a31+_0x426190([0x2e])+_0x4654c9),_0x40056e=window[_0x426190([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x426190([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40056e)return;const _0x3c0eff=await _0x40056e[_0x426190([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x426190([0x6a,0x77,0x6b]),_0x16b8da,{[_0x426190([0x6e,0x61,0x6d,0x65])]:_0x426190([0x45,0x43,0x44,0x53,0x41]),[_0x426190([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x426190([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x426190([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40056e[_0x426190([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x426190([0x6e,0x61,0x6d,0x65])]:_0x426190([0x45,0x43,0x44,0x53,0x41]),[_0x426190([0x68,0x61,0x73,0x68])]:{[_0x426190([0x6e,0x61,0x6d,0x65])]:_0x426190([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3c0eff,_0x105b7b,_0x205db3)||(_0xc76eb4=!0x1);}}function _0x134684(_0x31873a){return _0x31873a[_0x426190([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x426190([0x65,0x79]))?JSON[_0x426190([0x70,0x61,0x72,0x73,0x65])](_0x5ce848(_0x31873a)):null;}function _0x5ce848(_0x1dea1f){return window[_0x426190([0x61,0x74,0x6f,0x62])](_0x1dea1f[_0x426190([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x426190([0x2b]))[_0x426190([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x426190([0x2f])));}function _0x2a89ec(_0x473673){let _0x4996d8=0x1505;function _0x1496e5(_0x5bc30e){for(let _0x243107=0x0;_0x243107<_0x5bc30e[_0x426190([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x243107++){const _0x3e7326=_0x5bc30e[_0x426190([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x243107);_0x4996d8=(_0x4996d8<<0x5)+_0x4996d8+_0x3e7326,_0x4996d8&=_0x4996d8;}}function _0x5eb180(_0x3c341a){Array[_0x426190([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c341a)?_0x3c341a[_0x426190([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5eb180):_0x3c341a&&typeof _0x3c341a==_0x426190([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x426190([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c341a)[_0x426190([0x73,0x6f,0x72,0x74])]()[_0x426190([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x66685e,_0x4d8dff])=>{_0x1496e5(_0x66685e),_0x5eb180(_0x4d8dff);}):_0x1496e5(window[_0x426190([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c341a));}return _0x5eb180(_0x473673),_0x4996d8>>>0x0;}function _0x2bb534(_0x11e942){return _0x11e942[_0x426190([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x426190([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x426190([0x30]));}function _0x5e90e3(_0xcfeab9){return _0xcfeab9[_0x426190([0x73,0x70,0x6c,0x69,0x74])]('')[_0x426190([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x426190([0x6a,0x6f,0x69,0x6e])]('');}function _0x8d2828(){}function _0x426190(_0x304dad){return _0x304dad['map'](_0x5487e9=>String['fromCharCode'](_0x5487e9))['join']('');}_0x5d36a8(await _0x4774dc());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1f1d07=>{'$graveyard'!==_0x1f1d07['rootName']&&this['editor']['editing']['reconvertItem'](_0x1f1d07);});}['_trackNewToCElements'](){for(const _0x26b28d of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x26b28d['type']||'tableOfContents'!==_0x26b28d['name'])return;this['_tableOfContentsElements']['add'](_0x26b28d['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3fac48=this['editor']['conversion'];_0x3fac48['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3fac48['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x46ce4d,{writer:_0x42817b})=>this['_createTableOfContents'](_0x42817b,!0x0)}),_0x3fac48['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x41aac1,{writer:_0xfe14cf})=>{this['_tableOfContentsElements']['add'](_0x41aac1);const _0x51933a=this['_createTableOfContents'](_0xfe14cf);return _0x371777(_0x51933a,_0xfe14cf,{'label':m(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x556295,_0x17c62a=!0x1){const {locale:_0x46f660}=this['editor'],_0x3825c3=_0x556295['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x17c62a&&{'data-table-of-contents-label':m(_0x46f660,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x17c62a&&_0x556295['insert'](_0x556295['createPositionAt'](_0x3825c3,'end'),_0x556295['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x556295['createText'](m(_0x46f660,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0xbfdade=_0x17c62a?'':'['+m(_0x46f660,'Empty\x20heading')+']';let _0x4d00e7=_0x3825c3;return this['_currentOutlineDefinitions']['forEach']((_0x54fb00,_0x489833,_0x45033b)=>{const _0x4927e2=this['editor']['model']['hasContent'](_0x54fb00['modelElement'],{'ignoreWhitespaces':!0x0}),_0xd384d9=_0x4927e2?_0x54fb00['text']:_0xbfdade,_0x64368a=_0x54fb00['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x115dce=_0x556295['createContainerElement']('a',{'href':'#'+_0x64368a,...!_0x17c62a&&{'tabindex':'-1'}},[_0x556295['createText'](_0xd384d9)]),_0x387f04=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x556295['setCustomProperty']('tableOfContentsHeadingIndex',_0x489833,_0x115dce);const _0x18cb96=_0x556295['createContainerElement']('li',null,[_0x4927e2||!_0x17c62a&&_0x387f04?_0x115dce:_0x556295['createText']('')]),_0x32e233=_0x489833?_0x45033b[_0x489833-0x1]['level']:0x0,_0x2cd1ca=Math['abs'](_0x54fb00['level']-_0x32e233);if(_0x54fb00['level']>_0x32e233){const _0x212ef7=b(_0x18cb96,_0x2cd1ca,_0x556295);_0x556295['insert'](_0x556295['createPositionAt'](_0x4d00e7,'end'),_0x212ef7);}else{const _0x3b25f2=function(_0x50a39d,_0x5071e0){return _0x50a39d['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x1f02d5=>_0x1f02d5['is']('element','ol'))[_0x5071e0];}(_0x4d00e7,_0x2cd1ca);_0x556295['insert'](_0x556295['createPositionAt'](_0x3b25f2,'end'),_0x18cb96);}_0x4d00e7=_0x18cb96;}),_0x3825c3;}['_handleScrollToHeading'](_0x1c1cd5){const _0xdd75fc=this['_currentOutlineDefinitions'][_0x1c1cd5]['modelElement'];this['editor']['model']['change'](_0x3a6ed0=>{_0x3a6ed0['setSelection'](_0xdd75fc,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x3bf3d7,_0x544f23)=>{const _0x12fcf7=_0x544f23['mapper'],_0x539549=_0x12fcf7['findMappedViewAncestor'](_0x544f23['viewPosition']),_0x209cd8=_0x12fcf7['toModelElement'](_0x539549);_0x209cd8['is']('element','tableOfContents')&&(_0x544f23['modelPosition']=this['editor']['model']['createPositionAt'](_0x209cd8,0x0),_0x3bf3d7['stop']());};}}function b(_0x5e5176,_0x31a94e,_0x59cc14){return 0x1===_0x31a94e?_0x59cc14['createContainerElement']('ol',null,[_0x5e5176]):_0x59cc14['createContainerElement']('ol',null,[_0x59cc14['createContainerElement']('li',null,[b(_0x5e5176,_0x31a94e-0x1,_0x59cc14)])]);}class o extends _0x489eac{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x47959a=this['editor'];_0x47959a['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x360a00=this['_createButton'](_0x49821a);return _0x360a00['tooltip']=!0x0,_0x360a00;}),_0x47959a['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1b1087)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2583e7=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x205731;for(const _0x1f9598 in _0x2583e7){const _0x375eb2=_0x1f9598,_0x532664=_0x2583e7[_0x375eb2];if('tableOfContentsLicenseKeyValid'==_0x532664||'tableOfContentsLicenseKeyInvalid'==_0x532664||'tableOfContentsLicenseKeyExpired'==_0x532664||'tableOfContentsLicenseKeyDomainLimit'==_0x532664||'tableOfContentsLicenseKeyNotAllowed'==_0x532664||'tableOfContentsLicenseKeyEvaluationLimit'==_0x532664||'tableOfContentsLicenseKeyUsageLimit'==_0x532664){delete _0x2583e7[_0x375eb2],_0x205731=_0x532664,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x205731&&_0x2583e7['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x205731&&_0x2583e7['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x205731&&_0x2583e7['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x205731&&_0x2583e7['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x205731&&_0x2583e7['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x205731&&_0x2583e7['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x50b1e1){const _0xe7f744=this['editor'],_0x4c9012=_0xe7f744['locale'],_0x2c69dc=_0xe7f744['commands']['get']('insertTableOfContents'),_0x206f3e=new _0x50b1e1(_0x4c9012);return _0x206f3e['set']({'label':m(_0x4c9012,'Table\x20of\x20contents'),'icon':_0x2ced81}),_0x206f3e['bind']('isEnabled')['to'](_0x2c69dc,'isEnabled'),this['listenTo'](_0x206f3e,'execute',()=>{_0xe7f744['execute']('insertTableOfContents'),_0xe7f744['editing']['view']['focus']();}),_0x206f3e;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class N extends _0x489eac{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{K as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,h as HeadingId,N as TableOfContents,w as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "47.4.0-alpha.
|
|
3
|
+
"version": "47.4.0-alpha.4",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "47.4.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "47.4.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "47.4.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.
|
|
22
|
-
"@ckeditor/ckeditor5-widget": "47.4.0-alpha.
|
|
23
|
-
"ckeditor5": "47.4.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "47.4.0-alpha.4",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "47.4.0-alpha.4",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "47.4.0-alpha.4",
|
|
19
|
+
"@ckeditor/ckeditor5-icons": "47.4.0-alpha.4",
|
|
20
|
+
"@ckeditor/ckeditor5-ui": "47.4.0-alpha.4",
|
|
21
|
+
"@ckeditor/ckeditor5-utils": "47.4.0-alpha.4",
|
|
22
|
+
"@ckeditor/ckeditor5-widget": "47.4.0-alpha.4",
|
|
23
|
+
"ckeditor5": "47.4.0-alpha.4",
|
|
24
24
|
"es-toolkit": "1.39.5"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x174f37=_0x1c69;(function(_0x5345a9,_0x40c4a9){const _0x236d8b=_0x1c69,_0x2b7981=_0x5345a9();while(!![]){try{const _0x1f0bc7=-parseInt(_0x236d8b(0x1ed))/0x1*(parseInt(_0x236d8b(0x218))/0x2)+-parseInt(_0x236d8b(0x1eb))/0x3+parseInt(_0x236d8b(0x1f0))/0x4*(-parseInt(_0x236d8b(0x1f3))/0x5)+parseInt(_0x236d8b(0x207))/0x6*(-parseInt(_0x236d8b(0x1e5))/0x7)+parseInt(_0x236d8b(0x22e))/0x8*(parseInt(_0x236d8b(0x227))/0x9)+parseInt(_0x236d8b(0x222))/0xa*(parseInt(_0x236d8b(0x209))/0xb)+parseInt(_0x236d8b(0x1f6))/0xc;if(_0x1f0bc7===_0x40c4a9)break;else _0x2b7981['push'](_0x2b7981['shift']());}catch(_0x221dc9){_0x2b7981['push'](_0x2b7981['shift']());}}}(_0x31d2,0x6ecba));import{Plugin as _0x2a5244}from'ckeditor5/src/core.js';function _0x31d2(){const _0x324f54=['55vSbPmb','isOfficialPlugin','_handleItemSelected','16124136IpmYFJ','focusTracker','appendChild','_currentOutlineDefinitions','window','listenTo','bind','top','mapper','DocumentOutlineUtils','floor','document','toViewElement','config','getDomRoot','modelElement','view','12ZfpCfR','getRootNames','11iAYxNK','domConverter','getIntersection','bottom','itemSelected','document-outline-container-not-provided','destroy','activeItemIndex','change','get','pluginName','locale','plugins','editing','getVisible','261770IYBSZk','init','DocumentOutlineUI','_updateActiveDefinitionOnViewportChange','_setActiveViewItem','afterInit','isPremiumPlugin','editor','height','cancel','546740MfaBic','model','render','documentOutline.container','scroll','9QOGuwX','_updateActiveDefinitionFromViewportThrottled','length','sync','add','mapViewToDom','setSelection','3607448WvQemX','element','919401aTQngP','href','documentOutline.showEmptyHeadings','focus','resize','indexOf','1819761eRAAIa','scrollToTheSelection','1uOxVsi','map','fromCharCode','143748cPaCaC','join','_handleOutlineChange'];_0x31d2=function(){return _0x324f54;};return _0x31d2();}import{CKEditorError as _0x4a7666,global as _0x4aad83,Rect as _0x3f083b,uid as _0x2905f4}from'ckeditor5/src/utils.js';import{DocumentOutlineView as _0x582786}from'./ui/documentoutlineview.js';import{throttle as _0x152b3b}from'es-toolkit/compat';function _0x1c69(_0x5d958f,_0x36fc4c){const _0x31d28f=_0x31d2();return _0x1c69=function(_0x1c69a3,_0x3193ce){_0x1c69a3=_0x1c69a3-0x1e5;let _0x16e993=_0x31d28f[_0x1c69a3];return _0x16e993;},_0x1c69(_0x5d958f,_0x36fc4c);}import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x2a5244{[_0x174f37(0x206)];[_0x174f37(0x1f9)];[_0x174f37(0x228)];static get[_0x174f37(0x213)](){const _0x1cbbf4=_0x174f37;return _0x1cbbf4(0x21a);}static get[_0x174f37(0x1f4)](){return!0x0;}static get[_0x174f37(0x21e)](){return!0x0;}constructor(_0x3a0661){const _0x580165=_0x174f37;super(_0x3a0661),this[_0x580165(0x206)]=new _0x582786(_0x3a0661[_0x580165(0x214)],this[_0x580165(0x21f)][_0x580165(0x203)][_0x580165(0x212)](_0x580165(0x1e7)),this[_0x580165(0x21f)][_0x580165(0x203)][_0x580165(0x212)](_0x580165(0x225))),this[_0x580165(0x1f9)]=[],this[_0x580165(0x228)]=_0x152b3b(this[_0x580165(0x21b)][_0x580165(0x1fc)](this),0x64);}[_0x174f37(0x219)](){const _0x4767a8=_0x174f37,_0x518727=this[_0x4767a8(0x21f)],_0x2d1976=_0x518727[_0x4767a8(0x215)][_0x4767a8(0x212)](_0x4767a8(0x1ff));let _0x1dace5=!0x1;if(this[_0x4767a8(0x206)][_0x4767a8(0x224)](),this[_0x4767a8(0x21f)]['ui'][_0x4767a8(0x1f7)][_0x4767a8(0x22b)](this[_0x4767a8(0x206)][_0x4767a8(0x22f)]),!_0x518727[_0x4767a8(0x203)][_0x4767a8(0x212)](_0x4767a8(0x225)))throw new _0x4a7666(_0x4767a8(0x20e),{'editor':_0x518727});_0x518727[_0x4767a8(0x203)][_0x4767a8(0x212)](_0x4767a8(0x225))[_0x4767a8(0x1f8)](this[_0x4767a8(0x206)][_0x4767a8(0x22f)]),_0x2d1976['on'](_0x4767a8(0x211),this[_0x4767a8(0x1f2)][_0x4767a8(0x1fc)](this)),_0x2d1976['on'](_0x4767a8(0x210),(_0x5223a2,{index:_0x37269d})=>this[_0x4767a8(0x21c)](_0x37269d)),this[_0x4767a8(0x206)]['on'](_0x4767a8(0x20d),(_0x15adc1,_0x2c93b1)=>{const _0x5adc38=_0x4767a8;_0x1dace5=!0x0,this[_0x5adc38(0x1f5)](_0x2c93b1);}),this[_0x4767a8(0x206)][_0x4767a8(0x1fb)](_0x4aad83[_0x4767a8(0x201)],_0x4767a8(0x226),()=>{const _0x104770=_0x4767a8;_0x1dace5?_0x1dace5=!0x1:this[_0x104770(0x228)]();},{'useCapture':!0x0}),this[_0x4767a8(0x206)][_0x4767a8(0x1fb)](_0x4aad83[_0x4767a8(0x1fa)],_0x4767a8(0x1e9),this[_0x4767a8(0x228)],{'useCapture':!0x0});}[_0x174f37(0x21d)](){!async function(_0x4c6162){const _0x36b08a=_0x2783e4([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x3de299=0x1cb264a3,_0x432df9=0x1cb51acb^_0x3de299,_0xd26f94=window[_0x2783e4([0x44,0x61,0x74,0x65])][_0x2783e4([0x6e,0x6f,0x77])](),_0x25b7da=_0x4c6162[_0x2783e4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x149ba4=new window[(_0x2783e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17c52b=>{_0x25b7da[_0x2783e4([0x6f,0x6e,0x63,0x65])](_0x2783e4([0x72,0x65,0x61,0x64,0x79]),_0x17c52b);}),_0x232479={[_0x2783e4([0x6b,0x74,0x79])]:_0x2783e4([0x45,0x43]),[_0x2783e4([0x75,0x73,0x65])]:_0x2783e4([0x73,0x69,0x67]),[_0x2783e4([0x63,0x72,0x76])]:_0x2783e4([0x50,0x2d,0x32,0x35,0x36]),[_0x2783e4([0x78])]:_0x2783e4([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]),[_0x2783e4([0x79])]:_0x2783e4([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]),[_0x2783e4([0x61,0x6c,0x67])]:_0x2783e4([0x45,0x53,0x32,0x35,0x36])},_0x326c62=_0x25b7da[_0x2783e4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2783e4([0x67,0x65,0x74])](_0x2783e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xd7c576(){let _0x1aabcf,_0x195bf4=null,_0x3018e4=null;try{if(_0x326c62==_0x2783e4([0x47,0x50,0x4c]))return _0x2783e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1aabcf=_0x5428a1(),!_0x1aabcf)return _0x2783e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1aabcf[_0x2783e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3018e4=_0x5b4e1f(_0x1aabcf[_0x2783e4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1aabcf[_0x2783e4([0x6a,0x74,0x69])])),await _0x42a1cc()?_0xa04520()?_0x2b7fc2()?_0x2783e4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4fda5e()?(_0x1aabcf[_0x2783e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2783e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x195bf4=_0x2dc58c(_0x2783e4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x7cf836()):_0x2783e4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2783e4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2783e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2783e4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b7fc2(){const _0x16f7b0=[_0x2783e4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2783e4([0x74,0x72,0x69,0x61,0x6c])][_0x2783e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1aabcf[_0x2783e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd26f94/0x3e8:0xe10*_0x432df9;return _0x1aabcf[_0x2783e4([0x65,0x78,0x70])]<_0x16f7b0;}function _0xa04520(){const _0x152e98=_0x1aabcf[_0x2783e4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x152e98&&(!!_0x152e98[_0x2783e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2783e4([0x2a]))||(!!_0x152e98[_0x2783e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2783e4([0x44,0x4f]))||(!!_0x152e98[_0x2783e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2783e4([0x50,0x50]))||!(!_0x152e98[_0x2783e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2783e4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x111b48()))));}function _0x4fda5e(){const _0x2262c9=_0x1c69,_0x33c868=_0x1aabcf[_0x2783e4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x33c868||0x0==_0x33c868[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x24d2ae}=new URL(window[_0x2783e4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2262c9(0x1e6)]);if(_0x33c868[_0x2783e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24d2ae))return!0x0;const _0x5e8263=_0x24d2ae[_0x2783e4([0x73,0x70,0x6c,0x69,0x74])](_0x2783e4([0x2e]));return _0x33c868[_0x2783e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13c2af=>_0x13c2af[_0x2783e4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2783e4([0x2a])))[_0x2783e4([0x6d,0x61,0x70])](_0x119736=>_0x119736[_0x2783e4([0x73,0x70,0x6c,0x69,0x74])](_0x2783e4([0x2e])))[_0x2783e4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x468471=>_0x468471[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e8263[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2783e4([0x6d,0x61,0x70])](_0x165f48=>Array(_0x5e8263[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x165f48[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2783e4([0x66,0x69,0x6c,0x6c])](_0x165f48[0x0]===_0x2783e4([0x2a])?_0x2783e4([0x2a]):'')[_0x2783e4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x165f48))[_0x2783e4([0x73,0x6f,0x6d,0x65])](_0x2ade22=>_0x5e8263[_0x2783e4([0x65,0x76,0x65,0x72,0x79])]((_0x24948,_0x47ce03)=>_0x2ade22[_0x47ce03]===_0x24948||_0x2ade22[_0x47ce03]===_0x2783e4([0x2a])));}function _0x7cf836(){return _0x195bf4&&_0x3018e4?new window[(_0x2783e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d79d2,_0xdb0bab)=>{_0x195bf4[_0x2783e4([0x74,0x68,0x65,0x6e])](_0x3d79d2,_0xdb0bab),_0x3018e4[_0x2783e4([0x74,0x68,0x65,0x6e])](_0x2149e9=>{_0x2149e9!=_0x2783e4([0x56,0x61,0x6c,0x69,0x64])&&_0x3d79d2(_0x2149e9);},_0xdb0bab);}):_0x195bf4||_0x3018e4||_0x2783e4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b4e1f(_0x4427fa,_0x77b6f8){return new window[(_0x2783e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29b4b6=>{if(_0x2d2f80())return _0x29b4b6(_0x2783e4([0x56,0x61,0x6c,0x69,0x64]));_0x44f9e8(),_0x25b7da[_0x2783e4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2783e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9b74a7=!0x1;const _0x48dc1d=_0x2905f4();function _0xa33ace(_0x58ad8b){return!!_0x58ad8b&&(typeof _0x58ad8b===_0x2783e4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58ad8b===_0x2783e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58ad8b[_0x2783e4([0x74,0x68,0x65,0x6e])]===_0x2783e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58ad8b[_0x2783e4([0x63,0x61,0x74,0x63,0x68])]===_0x2783e4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29da4f(_0x359a9f){_0x3a3ecd(_0x359a9f)[_0x2783e4([0x74,0x68,0x65,0x6e])](_0x4d62d1=>{if(!_0x4d62d1||_0x4d62d1[_0x2783e4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2783e4([0x6f,0x6b]))return _0x2783e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d117b(_0x374876(_0x48dc1d+_0x77b6f8))!=_0x4d62d1[_0x2783e4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2783e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2783e4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2783e4([0x74,0x68,0x65,0x6e])](_0x10d48c=>(_0x76e87a(),_0x10d48c),()=>{const _0x5180b3=_0x514cca();return null==_0x5180b3?(_0x76e87a(),_0x2783e4([0x56,0x61,0x6c,0x69,0x64])):_0x2783e4(_0xd26f94-_0x5180b3>(0x38bee0a3^_0x3de299)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2783e4([0x74,0x68,0x65,0x6e])](_0x29b4b6)[_0x2783e4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29b4b6(_0x2783e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x18b078=0x1c848a23^_0x3de299;function _0x76e87a(){const _0x20daac=_0x2783e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d117b(_0x374876(_0x4427fa)),_0x5bac29=_0x445690(_0x5d117b(window[_0x2783e4([0x4d,0x61,0x74,0x68])][_0x2783e4([0x63,0x65,0x69,0x6c])](_0xd26f94/_0x18b078)));window[_0x2783e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2783e4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20daac,_0x5bac29);}function _0x514cca(){const _0x16995c=_0x2783e4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d117b(_0x374876(_0x4427fa)),_0x159403=window[_0x2783e4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2783e4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16995c);return _0x159403?window[_0x2783e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x445690(_0x159403),0x10)*_0x18b078:null;}function _0x3a3ecd(_0x3b6aea){return new window[(_0x2783e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26b7e6,_0x51f7b7)=>{_0x3b6aea[_0x2783e4([0x74,0x68,0x65,0x6e])](_0x26b7e6,_0x51f7b7),window[_0x2783e4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51f7b7,0x1cb3b063^_0x3de299);});}}_0x25b7da[_0x2783e4([0x6f,0x6e])](_0x2783e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x286346,_0x486e1d)=>{if(_0x486e1d[0x0]!=_0x4427fa)return _0x29b4b6(_0x2783e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x486e1d[0x1]={..._0x486e1d[0x1],[_0x2783e4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x48dc1d};},{[_0x2783e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2783e4([0x68,0x69,0x67,0x68])}),_0x25b7da[_0x2783e4([0x6f,0x6e])](_0x2783e4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22f451=>{_0xa33ace(_0x22f451[_0x2783e4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9b74a7=!0x0,_0x29da4f(_0x22f451[_0x2783e4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2783e4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2783e4([0x6c,0x6f,0x77])}),_0x149ba4[_0x2783e4([0x74,0x68,0x65,0x6e])](()=>{_0x9b74a7||_0x29b4b6(_0x2783e4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d2f80(){return _0x25b7da[_0x2783e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2783e4([0x76,0x69,0x65,0x77])][_0x2783e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2783e4([0x61,0x75,0x74,0x6f]);}function _0x44f9e8(){_0x25b7da[_0x2783e4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2783e4([0x76,0x69,0x65,0x77])][_0x2783e4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2783e4([0x61,0x75,0x74,0x6f]);}}function _0x2dc58c(_0x46358d){const _0x5ee687=[new window[(_0x2783e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f270e=>setTimeout(_0x3f270e,0x1cbb5a6f^_0x3de299)),_0x149ba4[_0x2783e4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2783e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11fc6b=>{let _0x508e9=0x0;_0x25b7da[_0x2783e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2783e4([0x6f,0x6e])](_0x2783e4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22f379,_0x5e4041)=>{_0x5e4041[0x0][_0x2783e4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x508e9++,_0x508e9==(0x1cb2614b^_0x3de299)&&(_0x11fc6b(),_0x22f379[_0x2783e4([0x6f,0x66,0x66])]());});}))];return window[_0x2783e4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2783e4([0x72,0x61,0x63,0x65])](_0x5ee687)[_0x2783e4([0x74,0x68,0x65,0x6e])](()=>_0x46358d);}async function _0x40fdfd(){await _0x149ba4,_0x25b7da[_0x2783e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2783e4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25a225,_0x25b7da[_0x2783e4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2783e4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25a225,_0x25b7da[_0x2783e4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2783e4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x111b48(){return window[_0x2783e4([0x67,0x6c,0x6f,0x62])]&&window[_0x2783e4([0x67,0x6c,0x6f,0x62])][_0x2783e4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x18725d(_0x26baf1){const _0x5eb796=_0x3b86d4();_0x25b7da[_0x5eb796]=_0x2783e4([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])+_0x26baf1,_0x26baf1!=_0x2783e4([0x56,0x61,0x6c,0x69,0x64])&&_0x40fdfd();}function _0x3b86d4(){const _0x460a53=window[_0x2783e4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2783e4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2783e4([0x6e,0x6f,0x77])]())[_0x2783e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2783e4([0x2e]),'');let _0x212226=_0x2783e4([0x61]);for(let _0x183e55=0x0;_0x183e55<_0x460a53[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x183e55+=0x2){let _0x4ef67c=window[_0x2783e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x460a53[_0x2783e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x183e55,_0x183e55+0x2));_0x4ef67c>=_0x36b08a[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ef67c-=_0x36b08a[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x212226+=_0x36b08a[_0x4ef67c];}return _0x212226;}function _0x5428a1(){const _0x23651d=_0x326c62[_0x2783e4([0x73,0x70,0x6c,0x69,0x74])](_0x2783e4([0x2e]));if(0x3!=_0x23651d[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39d28c(_0x23651d[0x1]);function _0x39d28c(_0x5dc138){const _0x2e6fe7=_0x40cc94(_0x5dc138);return _0x2e6fe7&&_0x50eef9()?_0x2e6fe7:null;function _0x50eef9(){const _0x5a77b6=_0x2e6fe7[_0x2783e4([0x6a,0x74,0x69])],_0x361dab=window[_0x2783e4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a77b6[_0x2783e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a77b6[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46383f={..._0x2e6fe7,[_0x2783e4([0x6a,0x74,0x69])]:_0x5a77b6[_0x2783e4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a77b6[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46383f[_0x2783e4([0x76,0x63])],_0x374876(_0x46383f)==_0x361dab;}}}async function _0x42a1cc(){let _0x1d06e9=!0x0;try{const _0x56ce74=_0x326c62[_0x2783e4([0x73,0x70,0x6c,0x69,0x74])](_0x2783e4([0x2e])),[_0x88146a,_0xc3ffd2,_0x2167c5]=_0x56ce74;return _0x54f080(_0x88146a),await _0x2d6812(_0x88146a,_0xc3ffd2,_0x2167c5),_0x1d06e9;}catch{return!0x1;}function _0x54f080(_0x3697aa){const _0x3e4c37=_0x40cc94(_0x3697aa);_0x3e4c37&&_0x3e4c37[_0x2783e4([0x61,0x6c,0x67])]==_0x2783e4([0x45,0x53,0x32,0x35,0x36])||(_0x1d06e9=!0x1);}async function _0x2d6812(_0x531012,_0x19d2eb,_0x590de4){const _0x22cc0a=window[_0x2783e4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2783e4([0x66,0x72,0x6f,0x6d])](_0x309b81(_0x590de4),_0x239d8c=>_0x239d8c[_0x2783e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1ef8ee=new window[(_0x2783e4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2783e4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x531012+_0x2783e4([0x2e])+_0x19d2eb),_0x51e339=window[_0x2783e4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2783e4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51e339)return;const _0x14a44b=await _0x51e339[_0x2783e4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2783e4([0x6a,0x77,0x6b]),_0x232479,{[_0x2783e4([0x6e,0x61,0x6d,0x65])]:_0x2783e4([0x45,0x43,0x44,0x53,0x41]),[_0x2783e4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2783e4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2783e4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51e339[_0x2783e4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2783e4([0x6e,0x61,0x6d,0x65])]:_0x2783e4([0x45,0x43,0x44,0x53,0x41]),[_0x2783e4([0x68,0x61,0x73,0x68])]:{[_0x2783e4([0x6e,0x61,0x6d,0x65])]:_0x2783e4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14a44b,_0x22cc0a,_0x1ef8ee)||(_0x1d06e9=!0x1);}}function _0x40cc94(_0x1af039){return _0x1af039[_0x2783e4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2783e4([0x65,0x79]))?JSON[_0x2783e4([0x70,0x61,0x72,0x73,0x65])](_0x309b81(_0x1af039)):null;}function _0x309b81(_0x486848){return window[_0x2783e4([0x61,0x74,0x6f,0x62])](_0x486848[_0x2783e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2783e4([0x2b]))[_0x2783e4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2783e4([0x2f])));}function _0x374876(_0x5ee9fe){let _0x32e644=0x1505;function _0x500680(_0x1db2fc){for(let _0x3bff6a=0x0;_0x3bff6a<_0x1db2fc[_0x2783e4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bff6a++){const _0x9f12bd=_0x1db2fc[_0x2783e4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3bff6a);_0x32e644=(_0x32e644<<0x5)+_0x32e644+_0x9f12bd,_0x32e644&=_0x32e644;}}function _0x474c20(_0x26bc0d){Array[_0x2783e4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26bc0d)?_0x26bc0d[_0x2783e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x474c20):_0x26bc0d&&typeof _0x26bc0d==_0x2783e4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2783e4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26bc0d)[_0x2783e4([0x73,0x6f,0x72,0x74])]()[_0x2783e4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f81e8,_0xb2eb0])=>{_0x500680(_0x2f81e8),_0x474c20(_0xb2eb0);}):_0x500680(window[_0x2783e4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26bc0d));}return _0x474c20(_0x5ee9fe),_0x32e644>>>0x0;}function _0x5d117b(_0xb4e9c2){return _0xb4e9c2[_0x2783e4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2783e4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2783e4([0x30]));}function _0x445690(_0x4d1f81){return _0x4d1f81[_0x2783e4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2783e4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2783e4([0x6a,0x6f,0x69,0x6e])]('');}function _0x25a225(){}function _0x2783e4(_0x3edd63){const _0x2b72a6=_0x1c69;return _0x3edd63[_0x2b72a6(0x1ee)](_0xb5c3d5=>String[_0x2b72a6(0x1ef)](_0xb5c3d5))[_0x2b72a6(0x1f1)]('');}_0x18725d(await _0xd7c576());}(this);}[_0x174f37(0x20f)](){const _0x5ab12a=_0x174f37;super[_0x5ab12a(0x20f)](),this[_0x5ab12a(0x206)][_0x5ab12a(0x20f)](),this[_0x5ab12a(0x228)][_0x5ab12a(0x221)]();}[_0x174f37(0x1f2)](_0x5118f8,{outlineDefinitions:_0x3960ea,outlineChanges:_0x473897}){const _0x44dda4=_0x174f37;this[_0x44dda4(0x1f9)]=_0x3960ea,this[_0x44dda4(0x206)][_0x44dda4(0x22a)](_0x473897);}[_0x174f37(0x21c)](_0x11cf2e){const _0x11da6b=_0x174f37;this[_0x11da6b(0x1f9)][_0x11da6b(0x229)]&&this[_0x11da6b(0x1f9)][_0x11cf2e]&&(this[_0x11da6b(0x206)][_0x11da6b(0x210)]=_0x11cf2e);}[_0x174f37(0x1f5)](_0x5c80ec){const _0x5a5547=_0x174f37,_0x39a78d=this[_0x5a5547(0x1f9)][_0x5c80ec][_0x5a5547(0x205)];this[_0x5a5547(0x21f)][_0x5a5547(0x223)][_0x5a5547(0x211)](_0x562eed=>{const _0x9fe735=_0x5a5547;_0x562eed[_0x9fe735(0x22d)](_0x39a78d,0x0);}),this[_0x5a5547(0x21f)][_0x5a5547(0x216)][_0x5a5547(0x206)][_0x5a5547(0x1ec)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x5a5547(0x21f)][_0x5a5547(0x216)][_0x5a5547(0x206)][_0x5a5547(0x1e8)](),this[_0x5a5547(0x21c)](_0x5c80ec);}[_0x174f37(0x21b)](){const _0x1f0879=_0x174f37,_0x308cbd=this[_0x1f0879(0x21f)];let _0xe95fce;for(const _0x3085b2 of _0x308cbd[_0x1f0879(0x223)][_0x1f0879(0x201)][_0x1f0879(0x208)]()){const _0x13e6d9=_0x308cbd[_0x1f0879(0x216)][_0x1f0879(0x206)][_0x1f0879(0x204)](_0x3085b2),_0xc6436=_0x13e6d9&&new _0x3f083b(_0x13e6d9)[_0x1f0879(0x217)]();if(_0xc6436){const _0x55cb5c=new _0x3f083b(_0x4aad83[_0x1f0879(0x1fa)])[_0x1f0879(0x20b)](_0xc6436);_0x55cb5c&&(_0xe95fce=_0x55cb5c[_0x1f0879(0x1fd)]+0.25*_0x55cb5c[_0x1f0879(0x220)]);}}if(void 0x0===_0xe95fce)return;const _0x5ef6a8=h(_0x308cbd[_0x1f0879(0x216)],this[_0x1f0879(0x1f9)],_0xe95fce);_0x5ef6a8?this[_0x1f0879(0x21c)](this[_0x1f0879(0x1f9)][_0x1f0879(0x1ea)](_0x5ef6a8)):this[_0x1f0879(0x21c)](-0x1);}}function h(_0x173781,_0x2561d8,_0xd21494,_0xa32dc7=0x0,_0x5cca92=_0x2561d8[_0x174f37(0x229)]-0x1){const _0x85f07d=_0x174f37,_0x558c39=Math[_0x85f07d(0x200)](_0xa32dc7+(_0x5cca92-_0xa32dc7)/0x2);if(_0x5cca92>=_0xa32dc7){const _0x344040=_0x2561d8[_0x558c39],_0x449b85=_0x173781[_0x85f07d(0x1fe)][_0x85f07d(0x202)](_0x344040[_0x85f07d(0x205)]);if(!_0x449b85)return null;const _0x318071=_0x173781[_0x85f07d(0x206)][_0x85f07d(0x20a)][_0x85f07d(0x22c)](_0x449b85);return new _0x3f083b(_0x318071)[_0x85f07d(0x20c)]>_0xd21494?h(_0x173781,_0x2561d8,_0xd21494,_0xa32dc7,_0x558c39-0x1):h(_0x173781,_0x2561d8,_0xd21494,_0x558c39+0x1,_0x5cca92);}return _0x558c39<0x0?null:_0x2561d8[_0x558c39];}
|
|
23
|
+
const _0x3a6d5d=_0xe313;(function(_0xe1f60c,_0x14caa9){const _0x500d8f=_0xe313,_0x2db2ec=_0xe1f60c();while(!![]){try{const _0xf10520=-parseInt(_0x500d8f(0x94))/0x1*(-parseInt(_0x500d8f(0xa3))/0x2)+-parseInt(_0x500d8f(0x72))/0x3+parseInt(_0x500d8f(0x6f))/0x4*(parseInt(_0x500d8f(0x88))/0x5)+parseInt(_0x500d8f(0xac))/0x6*(-parseInt(_0x500d8f(0x9c))/0x7)+parseInt(_0x500d8f(0x8d))/0x8*(parseInt(_0x500d8f(0x7c))/0x9)+parseInt(_0x500d8f(0xb1))/0xa+-parseInt(_0x500d8f(0x8b))/0xb;if(_0xf10520===_0x14caa9)break;else _0x2db2ec['push'](_0x2db2ec['shift']());}catch(_0x41d802){_0x2db2ec['push'](_0x2db2ec['shift']());}}}(_0x442f,0xf2336));import{Plugin as _0x192385}from'ckeditor5/src/core.js';import{CKEditorError as _0x318899,global as _0x5a2a35,Rect as _0x5cddc4,uid as _0x29fc38}from'ckeditor5/src/utils.js';function _0xe313(_0x409e40,_0x1d2e45){const _0x442ffe=_0x442f();return _0xe313=function(_0xe31338,_0x8be410){_0xe31338=_0xe31338-0x68;let _0x9b0e0=_0x442ffe[_0xe31338];return _0x9b0e0;},_0xe313(_0x409e40,_0x1d2e45);}import{DocumentOutlineView as _0x3202ed}from'./ui/documentoutlineview.js';import{throttle as _0x341e2e}from'es-toolkit/compat';function _0x442f(){const _0x1d8781=['isOfficialPlugin','1333338JEfOTa','DocumentOutlineUtils','itemSelected','change','href','getVisible','_setActiveViewItem','modelElement','domConverter','get','4041KNKrpU','pluginName','sync','afterInit','scrollToTheSelection','top','height','focus','window','_handleOutlineChange','length','fromCharCode','5gmcndY','init','isPremiumPlugin','15543572tqFRXn','add','20256XQJyNK','bind','model','element','cancel','resize','bottom','948ACTZfz','toViewElement','document','activeItemIndex','editing','indexOf','floor','listenTo','69538LlNhSz','documentOutline.container','plugins','locale','config','document-outline-container-not-provided','focusTracker','1348fTMMPE','setSelection','destroy','render','join','appendChild','_handleItemSelected','getDomRoot','_currentOutlineDefinitions','276XWIcAg','editor','_updateActiveDefinitionOnViewportChange','getRootNames','mapper','6088110GmhZOU','view','documentOutline.showEmptyHeadings','scroll','_updateActiveDefinitionFromViewportThrottled','mapViewToDom','map','getIntersection','3687540RCoImb','DocumentOutlineUI'];_0x442f=function(){return _0x1d8781;};return _0x442f();}import'../../theme/documentoutline.css';export class DocumentOutlineUI extends _0x192385{[_0x3a6d5d(0x68)];[_0x3a6d5d(0xab)];[_0x3a6d5d(0x6b)];static get[_0x3a6d5d(0x7d)](){const _0x526c14=_0x3a6d5d;return _0x526c14(0x70);}static get[_0x3a6d5d(0x71)](){return!0x0;}static get[_0x3a6d5d(0x8a)](){return!0x0;}constructor(_0x5422bb){const _0x5d01d4=_0x3a6d5d;super(_0x5422bb),this[_0x5d01d4(0x68)]=new _0x3202ed(_0x5422bb[_0x5d01d4(0x9f)],this[_0x5d01d4(0xad)][_0x5d01d4(0xa0)][_0x5d01d4(0x7b)](_0x5d01d4(0x69)),this[_0x5d01d4(0xad)][_0x5d01d4(0xa0)][_0x5d01d4(0x7b)](_0x5d01d4(0x9d))),this[_0x5d01d4(0xab)]=[],this[_0x5d01d4(0x6b)]=_0x341e2e(this[_0x5d01d4(0xae)][_0x5d01d4(0x8e)](this),0x64);}[_0x3a6d5d(0x89)](){const _0x560eec=_0x3a6d5d,_0x5a1846=this[_0x560eec(0xad)],_0x115600=_0x5a1846[_0x560eec(0x9e)][_0x560eec(0x7b)](_0x560eec(0x73));let _0x29d1a2=!0x1;if(this[_0x560eec(0x68)][_0x560eec(0xa6)](),this[_0x560eec(0xad)]['ui'][_0x560eec(0xa2)][_0x560eec(0x8c)](this[_0x560eec(0x68)][_0x560eec(0x90)]),!_0x5a1846[_0x560eec(0xa0)][_0x560eec(0x7b)](_0x560eec(0x9d)))throw new _0x318899(_0x560eec(0xa1),{'editor':_0x5a1846});_0x5a1846[_0x560eec(0xa0)][_0x560eec(0x7b)](_0x560eec(0x9d))[_0x560eec(0xa8)](this[_0x560eec(0x68)][_0x560eec(0x90)]),_0x115600['on'](_0x560eec(0x75),this[_0x560eec(0x85)][_0x560eec(0x8e)](this)),_0x115600['on'](_0x560eec(0x97),(_0xbb8be2,{index:_0x53e08f})=>this[_0x560eec(0x78)](_0x53e08f)),this[_0x560eec(0x68)]['on'](_0x560eec(0x74),(_0x594a4d,_0x2dc66e)=>{const _0x326128=_0x560eec;_0x29d1a2=!0x0,this[_0x326128(0xa9)](_0x2dc66e);}),this[_0x560eec(0x68)][_0x560eec(0x9b)](_0x5a2a35[_0x560eec(0x96)],_0x560eec(0x6a),()=>{const _0x54c503=_0x560eec;_0x29d1a2?_0x29d1a2=!0x1:this[_0x54c503(0x6b)]();},{'useCapture':!0x0}),this[_0x560eec(0x68)][_0x560eec(0x9b)](_0x5a2a35[_0x560eec(0x84)],_0x560eec(0x92),this[_0x560eec(0x6b)],{'useCapture':!0x0});}[_0x3a6d5d(0x7f)](){!async function(_0x5d4fd6){const _0x418afa=_0x2aca0f([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x1fa79=0x1cb264a3,_0x186f45=0x1cb51a3b^_0x1fa79,_0x2d8029=window[_0x2aca0f([0x44,0x61,0x74,0x65])][_0x2aca0f([0x6e,0x6f,0x77])](),_0x13f74b=_0x5d4fd6[_0x2aca0f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x465db8=new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2be7ce=>{_0x13f74b[_0x2aca0f([0x6f,0x6e,0x63,0x65])](_0x2aca0f([0x72,0x65,0x61,0x64,0x79]),_0x2be7ce);}),_0x2a92d5={[_0x2aca0f([0x6b,0x74,0x79])]:_0x2aca0f([0x45,0x43]),[_0x2aca0f([0x75,0x73,0x65])]:_0x2aca0f([0x73,0x69,0x67]),[_0x2aca0f([0x63,0x72,0x76])]:_0x2aca0f([0x50,0x2d,0x32,0x35,0x36]),[_0x2aca0f([0x78])]:_0x2aca0f([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x2aca0f([0x79])]:_0x2aca0f([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x2aca0f([0x61,0x6c,0x67])]:_0x2aca0f([0x45,0x53,0x32,0x35,0x36])},_0x4bdd1f=_0x13f74b[_0x2aca0f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2aca0f([0x67,0x65,0x74])](_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4dd388(){let _0x474f15,_0x592fe4=null,_0x3525be=null;try{if(_0x4bdd1f==_0x2aca0f([0x47,0x50,0x4c]))return _0x2aca0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x474f15=_0x371524(),!_0x474f15)return _0x2aca0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x474f15[_0x2aca0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3525be=_0x382181(_0x474f15[_0x2aca0f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x474f15[_0x2aca0f([0x6a,0x74,0x69])])),await _0x13adae()?_0x283dc2()?_0x29a41e()?_0x2aca0f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5afd3e()?(_0x474f15[_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2aca0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x592fe4=_0x217a10(_0x2aca0f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x760e73()):_0x2aca0f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2aca0f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2aca0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2aca0f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29a41e(){const _0x150169=[_0x2aca0f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2aca0f([0x74,0x72,0x69,0x61,0x6c])][_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x474f15[_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d8029/0x3e8:0xe10*_0x186f45;return _0x474f15[_0x2aca0f([0x65,0x78,0x70])]<_0x150169;}function _0x283dc2(){const _0x49c728=_0x474f15[_0x2aca0f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49c728&&(!!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x2a]))||(!!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x44,0x4f]))||(!!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x50,0x50]))||!(!_0x49c728[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x590aa7()))));}function _0x5afd3e(){const _0x3c3050=_0xe313,_0x3e176f=_0x474f15[_0x2aca0f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3e176f||0x0==_0x3e176f[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x282ec6}=new URL(window[_0x2aca0f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3c3050(0x76)]);if(_0x3e176f[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x282ec6))return!0x0;const _0xbb10a6=_0x282ec6[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e]));return _0x3e176f[_0x2aca0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c7392=>_0x2c7392[_0x2aca0f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aca0f([0x2a])))[_0x2aca0f([0x6d,0x61,0x70])](_0x639ba2=>_0x639ba2[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e])))[_0x2aca0f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x329745=>_0x329745[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbb10a6[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aca0f([0x6d,0x61,0x70])](_0x43ba15=>Array(_0xbb10a6[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x43ba15[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2aca0f([0x66,0x69,0x6c,0x6c])](_0x43ba15[0x0]===_0x2aca0f([0x2a])?_0x2aca0f([0x2a]):'')[_0x2aca0f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x43ba15))[_0x2aca0f([0x73,0x6f,0x6d,0x65])](_0x31863a=>_0xbb10a6[_0x2aca0f([0x65,0x76,0x65,0x72,0x79])]((_0x5cd6ab,_0x5c12cc)=>_0x31863a[_0x5c12cc]===_0x5cd6ab||_0x31863a[_0x5c12cc]===_0x2aca0f([0x2a])));}function _0x760e73(){return _0x592fe4&&_0x3525be?new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e0366,_0x4252c5)=>{_0x592fe4[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x5e0366,_0x4252c5),_0x3525be[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x15b3be=>{_0x15b3be!=_0x2aca0f([0x56,0x61,0x6c,0x69,0x64])&&_0x5e0366(_0x15b3be);},_0x4252c5);}):_0x592fe4||_0x3525be||_0x2aca0f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x382181(_0xf1926e,_0x92f9b8){return new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7793cf=>{if(_0x86d04a())return _0x7793cf(_0x2aca0f([0x56,0x61,0x6c,0x69,0x64]));_0x243d6a(),_0x13f74b[_0x2aca0f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2aca0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x376a63=!0x1;const _0x2d717b=_0x29fc38();function _0x1a06d4(_0x3ae51a){return!!_0x3ae51a&&(typeof _0x3ae51a===_0x2aca0f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ae51a===_0x2aca0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ae51a[_0x2aca0f([0x74,0x68,0x65,0x6e])]===_0x2aca0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ae51a[_0x2aca0f([0x63,0x61,0x74,0x63,0x68])]===_0x2aca0f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x399c71(_0x5ee8f2){_0x413360(_0x5ee8f2)[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x2c9f7d=>{if(!_0x2c9f7d||_0x2c9f7d[_0x2aca0f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2aca0f([0x6f,0x6b]))return _0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38c6eb(_0x1ae6a3(_0x2d717b+_0x92f9b8))!=_0x2c9f7d[_0x2aca0f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2aca0f([0x56,0x61,0x6c,0x69,0x64]);})[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x5bb301=>(_0x19e096(),_0x5bb301),()=>{const _0x1b0f26=_0x1cdcc5();return null==_0x1b0f26?(_0x19e096(),_0x2aca0f([0x56,0x61,0x6c,0x69,0x64])):_0x2aca0f(_0x2d8029-_0x1b0f26>(0x38bee0a3^_0x1fa79)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x7793cf)[_0x2aca0f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7793cf(_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e0c23=0x1c848a23^_0x1fa79;function _0x19e096(){const _0x380d10=_0x2aca0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x38c6eb(_0x1ae6a3(_0xf1926e)),_0x23850a=_0x172aa0(_0x38c6eb(window[_0x2aca0f([0x4d,0x61,0x74,0x68])][_0x2aca0f([0x63,0x65,0x69,0x6c])](_0x2d8029/_0x4e0c23)));window[_0x2aca0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aca0f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x380d10,_0x23850a);}function _0x1cdcc5(){const _0x20aa3e=_0x2aca0f([0x6c,0x6c,0x63,0x74,0x2d])+_0x38c6eb(_0x1ae6a3(_0xf1926e)),_0x1591d1=window[_0x2aca0f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2aca0f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x20aa3e);return _0x1591d1?window[_0x2aca0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x172aa0(_0x1591d1),0x10)*_0x4e0c23:null;}function _0x413360(_0xf069cd){return new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x196f78,_0x5aae61)=>{_0xf069cd[_0x2aca0f([0x74,0x68,0x65,0x6e])](_0x196f78,_0x5aae61),window[_0x2aca0f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5aae61,0x1cb3b063^_0x1fa79);});}}_0x13f74b[_0x2aca0f([0x6f,0x6e])](_0x2aca0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21005a,_0x1af29b)=>{if(_0x1af29b[0x0]!=_0xf1926e)return _0x7793cf(_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1af29b[0x1]={..._0x1af29b[0x1],[_0x2aca0f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d717b};},{[_0x2aca0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aca0f([0x68,0x69,0x67,0x68])}),_0x13f74b[_0x2aca0f([0x6f,0x6e])](_0x2aca0f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1782c2=>{_0x1a06d4(_0x1782c2[_0x2aca0f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x376a63=!0x0,_0x399c71(_0x1782c2[_0x2aca0f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2aca0f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2aca0f([0x6c,0x6f,0x77])}),_0x465db8[_0x2aca0f([0x74,0x68,0x65,0x6e])](()=>{_0x376a63||_0x7793cf(_0x2aca0f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x86d04a(){return _0x13f74b[_0x2aca0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aca0f([0x76,0x69,0x65,0x77])][_0x2aca0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2aca0f([0x61,0x75,0x74,0x6f]);}function _0x243d6a(){_0x13f74b[_0x2aca0f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2aca0f([0x76,0x69,0x65,0x77])][_0x2aca0f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2aca0f([0x61,0x75,0x74,0x6f]);}}function _0x217a10(_0x16cc06){const _0x1744ee=[new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x540790=>setTimeout(_0x540790,0x1cbb5a6f^_0x1fa79)),_0x465db8[_0x2aca0f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487129=>{let _0x852522=0x0;_0x13f74b[_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aca0f([0x6f,0x6e])](_0x2aca0f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4460bf,_0x1fed41)=>{_0x1fed41[0x0][_0x2aca0f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x852522++,_0x852522==(0x1cb2614b^_0x1fa79)&&(_0x487129(),_0x4460bf[_0x2aca0f([0x6f,0x66,0x66])]());});}))];return window[_0x2aca0f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2aca0f([0x72,0x61,0x63,0x65])](_0x1744ee)[_0x2aca0f([0x74,0x68,0x65,0x6e])](()=>_0x16cc06);}async function _0x2db3a1(){await _0x465db8,_0x13f74b[_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aca0f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ab69c,_0x13f74b[_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c])][_0x2aca0f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ab69c,_0x13f74b[_0x2aca0f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2aca0f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x590aa7(){return window[_0x2aca0f([0x67,0x6c,0x6f,0x62])]&&window[_0x2aca0f([0x67,0x6c,0x6f,0x62])][_0x2aca0f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x299ea5(_0x32cd84){const _0x47f46c=_0x24880f();_0x13f74b[_0x47f46c]=_0x2aca0f([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x32cd84,_0x32cd84!=_0x2aca0f([0x56,0x61,0x6c,0x69,0x64])&&_0x2db3a1();}function _0x24880f(){const _0x2eb64c=window[_0x2aca0f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2aca0f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2aca0f([0x6e,0x6f,0x77])]())[_0x2aca0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2aca0f([0x2e]),'');let _0x5c6f47=_0x2aca0f([0x61]);for(let _0x14f43d=0x0;_0x14f43d<_0x2eb64c[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14f43d+=0x2){let _0x2220f1=window[_0x2aca0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2eb64c[_0x2aca0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14f43d,_0x14f43d+0x2));_0x2220f1>=_0x418afa[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2220f1-=_0x418afa[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c6f47+=_0x418afa[_0x2220f1];}return _0x5c6f47;}function _0x371524(){const _0x5c5681=_0x4bdd1f[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e]));if(0x3!=_0x5c5681[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4596f5(_0x5c5681[0x1]);function _0x4596f5(_0x48299c){const _0x5b9df9=_0x6e42(_0x48299c);return _0x5b9df9&&_0x44c949()?_0x5b9df9:null;function _0x44c949(){const _0x169afe=_0x5b9df9[_0x2aca0f([0x6a,0x74,0x69])],_0x45519b=window[_0x2aca0f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x169afe[_0x2aca0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x169afe[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x143d1d={..._0x5b9df9,[_0x2aca0f([0x6a,0x74,0x69])]:_0x169afe[_0x2aca0f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x169afe[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x143d1d[_0x2aca0f([0x76,0x63])],_0x1ae6a3(_0x143d1d)==_0x45519b;}}}async function _0x13adae(){let _0x79ede9=!0x0;try{const _0x54cd92=_0x4bdd1f[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])](_0x2aca0f([0x2e])),[_0x1c76aa,_0x3b5c46,_0xd0798f]=_0x54cd92;return _0x12a0f7(_0x1c76aa),await _0x1a6e3a(_0x1c76aa,_0x3b5c46,_0xd0798f),_0x79ede9;}catch{return!0x1;}function _0x12a0f7(_0x2993ed){const _0x14c454=_0x6e42(_0x2993ed);_0x14c454&&_0x14c454[_0x2aca0f([0x61,0x6c,0x67])]==_0x2aca0f([0x45,0x53,0x32,0x35,0x36])||(_0x79ede9=!0x1);}async function _0x1a6e3a(_0x175b2f,_0x12a2b4,_0x5a287b){const _0x542a8a=window[_0x2aca0f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2aca0f([0x66,0x72,0x6f,0x6d])](_0x840d26(_0x5a287b),_0x22b764=>_0x22b764[_0x2aca0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d98bd=new window[(_0x2aca0f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2aca0f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x175b2f+_0x2aca0f([0x2e])+_0x12a2b4),_0x20c204=window[_0x2aca0f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2aca0f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x20c204)return;const _0x290946=await _0x20c204[_0x2aca0f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2aca0f([0x6a,0x77,0x6b]),_0x2a92d5,{[_0x2aca0f([0x6e,0x61,0x6d,0x65])]:_0x2aca0f([0x45,0x43,0x44,0x53,0x41]),[_0x2aca0f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2aca0f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2aca0f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x20c204[_0x2aca0f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2aca0f([0x6e,0x61,0x6d,0x65])]:_0x2aca0f([0x45,0x43,0x44,0x53,0x41]),[_0x2aca0f([0x68,0x61,0x73,0x68])]:{[_0x2aca0f([0x6e,0x61,0x6d,0x65])]:_0x2aca0f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x290946,_0x542a8a,_0x4d98bd)||(_0x79ede9=!0x1);}}function _0x6e42(_0x224924){return _0x224924[_0x2aca0f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2aca0f([0x65,0x79]))?JSON[_0x2aca0f([0x70,0x61,0x72,0x73,0x65])](_0x840d26(_0x224924)):null;}function _0x840d26(_0x1391bb){return window[_0x2aca0f([0x61,0x74,0x6f,0x62])](_0x1391bb[_0x2aca0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2aca0f([0x2b]))[_0x2aca0f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2aca0f([0x2f])));}function _0x1ae6a3(_0xa54f9b){let _0x3632e5=0x1505;function _0x416c1a(_0x5a5f3e){for(let _0x2d8cce=0x0;_0x2d8cce<_0x5a5f3e[_0x2aca0f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d8cce++){const _0x244deb=_0x5a5f3e[_0x2aca0f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d8cce);_0x3632e5=(_0x3632e5<<0x5)+_0x3632e5+_0x244deb,_0x3632e5&=_0x3632e5;}}function _0x5bd35a(_0x14377d){Array[_0x2aca0f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x14377d)?_0x14377d[_0x2aca0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bd35a):_0x14377d&&typeof _0x14377d==_0x2aca0f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2aca0f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x14377d)[_0x2aca0f([0x73,0x6f,0x72,0x74])]()[_0x2aca0f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bc72a,_0x57be93])=>{_0x416c1a(_0x2bc72a),_0x5bd35a(_0x57be93);}):_0x416c1a(window[_0x2aca0f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x14377d));}return _0x5bd35a(_0xa54f9b),_0x3632e5>>>0x0;}function _0x38c6eb(_0x165d8e){return _0x165d8e[_0x2aca0f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2aca0f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2aca0f([0x30]));}function _0x172aa0(_0x374f3d){return _0x374f3d[_0x2aca0f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2aca0f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2aca0f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ab69c(){}function _0x2aca0f(_0x4febd0){const _0x3c7507=_0xe313;return _0x4febd0[_0x3c7507(0x6d)](_0x221b67=>String[_0x3c7507(0x87)](_0x221b67))[_0x3c7507(0xa7)]('');}_0x299ea5(await _0x4dd388());}(this);}[_0x3a6d5d(0xa5)](){const _0x189c09=_0x3a6d5d;super[_0x189c09(0xa5)](),this[_0x189c09(0x68)][_0x189c09(0xa5)](),this[_0x189c09(0x6b)][_0x189c09(0x91)]();}[_0x3a6d5d(0x85)](_0x554031,{outlineDefinitions:_0x2dfccf,outlineChanges:_0x1188f0}){const _0x57c50f=_0x3a6d5d;this[_0x57c50f(0xab)]=_0x2dfccf,this[_0x57c50f(0x68)][_0x57c50f(0x7e)](_0x1188f0);}[_0x3a6d5d(0x78)](_0xc7a65a){const _0x3b3d5d=_0x3a6d5d;this[_0x3b3d5d(0xab)][_0x3b3d5d(0x86)]&&this[_0x3b3d5d(0xab)][_0xc7a65a]&&(this[_0x3b3d5d(0x68)][_0x3b3d5d(0x97)]=_0xc7a65a);}[_0x3a6d5d(0xa9)](_0x22aecf){const _0x350b27=_0x3a6d5d,_0x5dc02d=this[_0x350b27(0xab)][_0x22aecf][_0x350b27(0x79)];this[_0x350b27(0xad)][_0x350b27(0x8f)][_0x350b27(0x75)](_0x4f08ab=>{const _0x1fb63b=_0x350b27;_0x4f08ab[_0x1fb63b(0xa4)](_0x5dc02d,0x0);}),this[_0x350b27(0xad)][_0x350b27(0x98)][_0x350b27(0x68)][_0x350b27(0x80)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x350b27(0xad)][_0x350b27(0x98)][_0x350b27(0x68)][_0x350b27(0x83)](),this[_0x350b27(0x78)](_0x22aecf);}[_0x3a6d5d(0xae)](){const _0x395414=_0x3a6d5d,_0x57e47a=this[_0x395414(0xad)];let _0x1ddc19;for(const _0x39a160 of _0x57e47a[_0x395414(0x8f)][_0x395414(0x96)][_0x395414(0xaf)]()){const _0x122a36=_0x57e47a[_0x395414(0x98)][_0x395414(0x68)][_0x395414(0xaa)](_0x39a160),_0x392738=_0x122a36&&new _0x5cddc4(_0x122a36)[_0x395414(0x77)]();if(_0x392738){const _0x169645=new _0x5cddc4(_0x5a2a35[_0x395414(0x84)])[_0x395414(0x6e)](_0x392738);_0x169645&&(_0x1ddc19=_0x169645[_0x395414(0x81)]+0.25*_0x169645[_0x395414(0x82)]);}}if(void 0x0===_0x1ddc19)return;const _0x5caff0=D(_0x57e47a[_0x395414(0x98)],this[_0x395414(0xab)],_0x1ddc19);_0x5caff0?this[_0x395414(0x78)](this[_0x395414(0xab)][_0x395414(0x99)](_0x5caff0)):this[_0x395414(0x78)](-0x1);}}function D(_0x2e9aa0,_0x3640cc,_0x5c0340,_0x2fda3c=0x0,_0x254471=_0x3640cc[_0x3a6d5d(0x86)]-0x1){const _0x6c9a4c=_0x3a6d5d,_0xb20ce5=Math[_0x6c9a4c(0x9a)](_0x2fda3c+(_0x254471-_0x2fda3c)/0x2);if(_0x254471>=_0x2fda3c){const _0x15051d=_0x3640cc[_0xb20ce5],_0x283e43=_0x2e9aa0[_0x6c9a4c(0xb0)][_0x6c9a4c(0x95)](_0x15051d[_0x6c9a4c(0x79)]);if(!_0x283e43)return null;const _0x3fab56=_0x2e9aa0[_0x6c9a4c(0x68)][_0x6c9a4c(0x7a)][_0x6c9a4c(0x6c)](_0x283e43);return new _0x5cddc4(_0x3fab56)[_0x6c9a4c(0x93)]>_0x5c0340?D(_0x2e9aa0,_0x3640cc,_0x5c0340,_0x2fda3c,_0xb20ce5-0x1):D(_0x2e9aa0,_0x3640cc,_0x5c0340,_0xb20ce5+0x1,_0x254471);}return _0xb20ce5<0x0?null:_0x3640cc[_0xb20ce5];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x43e9fc=_0x4903;function _0x104a(){const _0x3458c5=['modelElement','get','72ymiUQu','editing','getRoot','item','315702dhxtML','getChildren','6XvaziF','toModel','isPremiumPlugin','_deriveHeadingElementsFromConversion','documentOutline.headings','1712008lppTrd','document','_getOutlineDefinitions','204495oFjsCw','change','domConverter','length','indexOf','getFirstPosition','6753560TURYCO','getChild','view','init','6125yegwji','createElement','name','config','editor','activeItemIndex','afterInit','domToView','push','data','level','_headingNames','element','selection','_getActiveHeading','findIndex','model','pluginName','fire','DocumentOutlineUtils','121224cRwctM','934347rqZFwW','backward','includes','_getHeadingNames','isOfficialPlugin','getRootNames','2898kyHqko','text'];_0x104a=function(){return _0x3458c5;};return _0x104a();}(function(_0x2e6107,_0x5c051c){const _0x4363f8=_0x4903,_0x4ac090=_0x2e6107();while(!![]){try{const _0x43a3e0=parseInt(_0x4363f8(0x131))/0x1*(parseInt(_0x4363f8(0x157))/0x2)+parseInt(_0x4363f8(0x158))/0x3+-parseInt(_0x4363f8(0x136))/0x4+parseInt(_0x4363f8(0x139))/0x5+-parseInt(_0x4363f8(0x15e))/0x6*(parseInt(_0x4363f8(0x143))/0x7)+-parseInt(_0x4363f8(0x12b))/0x8*(parseInt(_0x4363f8(0x12f))/0x9)+parseInt(_0x4363f8(0x13f))/0xa;if(_0x43a3e0===_0x5c051c)break;else _0x4ac090['push'](_0x4ac090['shift']());}catch(_0x3f9bfb){_0x4ac090['push'](_0x4ac090['shift']());}}}(_0x104a,0x36f17));import{Plugin as _0x305e04}from'ckeditor5/src/core.js';import{debounce as _0x398d88}from'es-toolkit/compat';import{ModelTreeWalker as _0x10653c}from'ckeditor5/src/engine.js';function _0x4903(_0x7f24b8,_0x2e2c23){const _0x104ae2=_0x104a();return _0x4903=function(_0x490355,_0x52d932){_0x490355=_0x490355-0x128;let _0x1db21b=_0x104ae2[_0x490355];return _0x1db21b;},_0x4903(_0x7f24b8,_0x2e2c23);}import{getElementText as _0x141369,getDefaultFeatureHeadingNames as _0x2fd020}from'./utils.js';import{diff as _0x46664c,diffToChanges as _0x24756c}from'ckeditor5/src/utils.js';export class DocumentOutlineUtils extends _0x305e04{static get[_0x43e9fc(0x154)](){const _0x3ab0e0=_0x43e9fc;return _0x3ab0e0(0x156);}static get[_0x43e9fc(0x15c)](){return!0x0;}static get[_0x43e9fc(0x133)](){return!0x0;}[_0x43e9fc(0x14e)]=[];[_0x43e9fc(0x142)](){const _0x5f1d15=_0x43e9fc,_0x5f59c7=this[_0x5f1d15(0x147)];this[_0x5f1d15(0x14e)]=this[_0x5f1d15(0x15b)]();let _0x2be3cf=[];_0x5f59c7[_0x5f1d15(0x153)][_0x5f1d15(0x137)]['on'](_0x5f1d15(0x13a),_0x398d88(()=>{const _0xd6f4d3=_0x5f1d15,_0x52493d=_0x2be3cf;_0x2be3cf=this[_0xd6f4d3(0x138)]();const _0x5c1711=_0x46664c(_0x52493d,_0x2be3cf,(_0x50766f,_0x241add)=>_0x50766f[_0xd6f4d3(0x14d)]===_0x241add[_0xd6f4d3(0x14d)]&&_0x50766f[_0xd6f4d3(0x128)]===_0x241add[_0xd6f4d3(0x128)]&&_0x50766f[_0xd6f4d3(0x129)]===_0x241add[_0xd6f4d3(0x129)]),_0x1c4a0b=_0x24756c(_0x5c1711,_0x2be3cf),_0x4d4560=this[_0xd6f4d3(0x151)](),_0x14397f=_0x2be3cf[_0xd6f4d3(0x152)](_0x3ff093=>_0x3ff093[_0xd6f4d3(0x129)]===_0x4d4560);_0x1c4a0b[_0xd6f4d3(0x13c)]&&this[_0xd6f4d3(0x155)](_0xd6f4d3(0x13a),{'outlineDefinitions':_0x2be3cf,'activeItemIndex':_0x14397f,'outlineChanges':_0x1c4a0b}),this[_0xd6f4d3(0x155)](_0xd6f4d3(0x148),{'index':_0x14397f});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x43e9fc(0x149)](){const _0x557deb=_0x43e9fc;this[_0x557deb(0x14e)][_0x557deb(0x13c)]||this[_0x557deb(0x134)]();}[_0x43e9fc(0x138)](){const _0x4bdfb0=_0x43e9fc,_0x1527ff=this[_0x4bdfb0(0x147)],_0x3666fc=[],_0x2be964=this[_0x4bdfb0(0x14e)];for(const _0x559571 of _0x1527ff[_0x4bdfb0(0x153)][_0x4bdfb0(0x137)][_0x4bdfb0(0x15d)]())_0x951f70(_0x1527ff[_0x4bdfb0(0x153)][_0x4bdfb0(0x137)][_0x4bdfb0(0x12d)](_0x559571));function _0x951f70(_0x2c0ff0){const _0x14db6c=_0x4bdfb0;for(const _0x38b4b9 of _0x2c0ff0[_0x14db6c(0x130)]())_0x38b4b9['is'](_0x14db6c(0x14f))&&(_0x2be964[_0x14db6c(0x15a)](_0x38b4b9[_0x14db6c(0x145)])&&_0x3666fc[_0x14db6c(0x14b)]({'level':_0x2be964[_0x14db6c(0x13d)](_0x38b4b9[_0x14db6c(0x145)])+0x1,'text':_0x141369(_0x38b4b9),'modelElement':_0x38b4b9}),_0x951f70(_0x38b4b9));}return _0x3666fc;}[_0x43e9fc(0x151)](){const _0x52b3e6=_0x43e9fc,_0x4c55fd=this[_0x52b3e6(0x147)][_0x52b3e6(0x153)][_0x52b3e6(0x137)][_0x52b3e6(0x150)][_0x52b3e6(0x13e)](),_0x4c9b3d=new _0x10653c({'direction':_0x52b3e6(0x159),'startPosition':_0x4c55fd});for(const _0x7257f8 of _0x4c9b3d)if(_0x7257f8[_0x52b3e6(0x12e)]['is'](_0x52b3e6(0x14f))&&this[_0x52b3e6(0x14e)][_0x52b3e6(0x15a)](_0x7257f8[_0x52b3e6(0x12e)][_0x52b3e6(0x145)]))return _0x7257f8[_0x52b3e6(0x12e)];}[_0x43e9fc(0x15b)](){const _0x1b0d59=_0x43e9fc,_0x14c9b5=this[_0x1b0d59(0x147)][_0x1b0d59(0x146)][_0x1b0d59(0x12a)](_0x1b0d59(0x135));return _0x14c9b5||_0x2fd020(this[_0x1b0d59(0x147)]);}[_0x43e9fc(0x134)](){const _0x1a1948=_0x43e9fc,_0xb91a94=this[_0x1a1948(0x147)],_0x22eb3b=['h1','h2','h3','h4','h5','h6'],_0x49269b=[];for(const _0x2da9e4 of _0x22eb3b){const _0x1dbdef=_0xb91a94[_0x1a1948(0x12c)][_0x1a1948(0x141)][_0x1a1948(0x13b)][_0x1a1948(0x14a)](document[_0x1a1948(0x144)](_0x2da9e4)),_0x13f2ee=_0xb91a94[_0x1a1948(0x14c)][_0x1a1948(0x132)](_0x1dbdef)[_0x1a1948(0x140)](0x0);_0x13f2ee?.['is'](_0x1a1948(0x14f))&&_0x49269b[_0x1a1948(0x14b)](_0x13f2ee[_0x1a1948(0x145)]);}this[_0x1a1948(0x14e)]=_0x49269b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xb67bde,_0x30d475){const _0x4c0961=_0x13fd,_0x4e1022=_0xb67bde();while(!![]){try{const _0x5b9048=parseInt(_0x4c0961(0x1bc))/0x1+-parseInt(_0x4c0961(0x1ce))/0x2*(parseInt(_0x4c0961(0x1cc))/0x3)+-parseInt(_0x4c0961(0x1b7))/0x4+parseInt(_0x4c0961(0x1c7))/0x5+parseInt(_0x4c0961(0x1b8))/0x6*(parseInt(_0x4c0961(0x1ca))/0x7)+-parseInt(_0x4c0961(0x1c4))/0x8*(-parseInt(_0x4c0961(0x1bb))/0x9)+-parseInt(_0x4c0961(0x1b6))/0xa;if(_0x5b9048===_0x30d475)break;else _0x4e1022['push'](_0x4e1022['shift']());}catch(_0x3e8300){_0x4e1022['push'](_0x4e1022['shift']());}}}(_0x4890,0x563d5));import{View as _0x47089e}from'ckeditor5/src/ui.js';import{getTranslation as _0x40b206}from'../../utils/common-translations.js';function _0x13fd(_0x1313bb,_0x3f91a0){const _0x4890b5=_0x4890();return _0x13fd=function(_0x13fd6c,_0x22107c){_0x13fd6c=_0x13fd6c-0x1b6;let _0x431b2c=_0x4890b5[_0x13fd6c];return _0x431b2c;},_0x13fd(_0x1313bb,_0x3f91a0);}function _0x4890(){const _0x295418=['set','786015pJaoJQ','568775pzFWmd','bind','ck-document-outline__item_level-','level','text','div','bindTemplate','ck-document-outline__item_active','8MpJCBm','ck-document-outline__item','ck-document-outline__item_empty','2256205nGwOMa','Empty\x20heading','isEmpty','777AQQABU','click','243BAqywO','ck-reset','14046xdRDzC','isActive','3623850lnokwK','1598932JgcifA','31182iCuoaZ','setTemplate'];_0x4890=function(){return _0x295418;};return _0x4890();}export class DocumentOutlineItemView extends _0x47089e{constructor(_0x579092,_0x46c6ec=!0x1){const _0x30440c=_0x13fd;super(_0x579092);const _0x3f131e=this[_0x30440c(0x1c2)],_0x335d10=_0x46c6ec?'['+_0x40b206(_0x579092,_0x30440c(0x1c8))+']':'';this[_0x30440c(0x1ba)](_0x30440c(0x1c0),''),this[_0x30440c(0x1ba)](_0x30440c(0x1bf),0x1),this[_0x30440c(0x1ba)](_0x30440c(0x1cf),!0x1),this[_0x30440c(0x1bd)](_0x30440c(0x1c9))['to'](this,_0x30440c(0x1c0),_0x4a0df6=>!_0x4a0df6),this[_0x30440c(0x1b9)]({'tag':_0x30440c(0x1c1),'attributes':{'class':['ck',_0x30440c(0x1cd),_0x30440c(0x1c5),_0x3f131e['to'](_0x30440c(0x1bf),_0x4293d1=>_0x30440c(0x1be)+_0x4293d1),_0x3f131e['if'](_0x30440c(0x1cf),_0x30440c(0x1c3)),_0x3f131e['if'](_0x30440c(0x1c9),_0x30440c(0x1c6))],'title':_0x3f131e['to'](_0x30440c(0x1c0))},'children':[{'text':_0x3f131e['to'](_0x30440c(0x1c0),_0xf32e4b=>_0xf32e4b||_0x335d10)}],'on':{'click':_0x3f131e['to'](_0x30440c(0x1cb))}});}}
|