@ckeditor/ckeditor5-document-outline 44.3.0-alpha.6 → 44.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x57174b,Command as _0x571447}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x270580,throttle as _0x2c7de9}from'lodash-es';import{Text as _0x17c05b,TreeWalker as _0x2a90e3}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x94b8df,diffToChanges as _0x1a5a6b,scrollAncestorsToShowTarget as _0x4bb8da,CKEditorError as _0x220d54,global as _0x449000,Rect as _0x34c08f,uid as _0x5cef5e,priorities as _0x24d92f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1d8ce9,ButtonView as _0x425a10,MenuBarMenuListItemButtonView as _0x1df9a1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x135ac1,toWidget as _0x3c2a4f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x49fbcc}from'ckeditor5-collaboration/dist/index.js';function p(_0x59566e){let _0x3b4ed6='';for(const _0x59a0ab of _0x59566e['getChildren']())_0x59a0ab instanceof _0x17c05b&&(_0x3b4ed6+=_0x59a0ab['data']);return _0x3b4ed6;}class i extends _0x57174b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x2fb417=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0xd9a841=[];_0x2fb417['model']['document']['on']('change',_0x270580(()=>{const _0x176ec0=_0xd9a841;_0xd9a841=this['_getOutlineDefinitions']();const _0x1d3158=_0x94b8df(_0x176ec0,_0xd9a841,(_0x5c4548,_0x4fb114)=>_0x5c4548['level']===_0x4fb114['level']&&_0x5c4548['text']===_0x4fb114['text']&&_0x5c4548['modelElement']===_0x4fb114['modelElement']),_0x4d7c40=_0x1a5a6b(_0x1d3158,_0xd9a841),_0x439b73=this['_getActiveHeading'](),_0x57d876=_0xd9a841['findIndex'](_0x180108=>_0x180108['modelElement']===_0x439b73);_0x4d7c40['length']&&this['fire']('change',{'outlineDefinitions':_0xd9a841,'activeItemIndex':_0x57d876,'outlineChanges':_0x4d7c40}),this['fire']('activeItemIndex',{'index':_0x57d876});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x19f268=this['editor'],_0x365399=[],_0x2f2888=this['_headingNames'];for(const _0x107fc5 of _0x19f268['model']['document']['getRootNames']())_0x1b2eac(_0x19f268['model']['document']['getRoot'](_0x107fc5));function _0x1b2eac(_0x3f744c){for(const _0x295634 of _0x3f744c['getChildren']())_0x295634['is']('element')&&(_0x2f2888['includes'](_0x295634['name'])&&_0x365399['push']({'level':_0x2f2888['indexOf'](_0x295634['name'])+0x1,'text':p(_0x295634),'modelElement':_0x295634}),_0x1b2eac(_0x295634));}return _0x365399;}['_getActiveHeading'](){const _0x4b975b=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x4604f2=new _0x2a90e3({'direction':'backward','startPosition':_0x4b975b});for(const _0x8284c9 of _0x4604f2)if(_0x8284c9['item']['is']('element')&&this['_headingNames']['includes'](_0x8284c9['item']['name']))return _0x8284c9['item'];}['_getHeadingNames'](){const _0x5ed07d=this['editor']['config']['get']('documentOutline.headings');return _0x5ed07d||function(_0x396858){const _0x22932a=_0x396858['config']['get']('heading.options');return _0x22932a?_0x22932a['reduce']((_0x11b839,_0x53c4b3)=>('paragraph'!==_0x53c4b3['model']&&_0x11b839['push'](_0x53c4b3['model']),_0x11b839),[]):_0x396858['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x7feb99=this['editor'],_0x5ec79a=['h1','h2','h3','h4','h5','h6'],_0x161413=[];for(const _0xe136f of _0x5ec79a){const _0x257d4e=_0x7feb99['editing']['view']['domConverter']['domToView'](document['createElement'](_0xe136f)),_0x532353=_0x7feb99['data']['toModel'](_0x257d4e)['getChild'](0x0);_0x532353?.['is']('element')&&_0x161413['push'](_0x532353['name']);}this['_headingNames']=_0x161413;}}function N(_0x13e0ef,_0x5c5da8){const t=_0x13e0ef['t'];switch(_0x5c5da8){case'Empty\x20heading':return t('Empty\x20heading');case'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':return t('Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.');case'No\x20headings\x20were\x20found\x20in\x20the\x20document.':return t('No\x20headings\x20were\x20found\x20in\x20the\x20document.');case'Table\x20of\x20contents':return t('Table\x20of\x20contents');default:return _0x5c5da8;}}class A extends _0x1d8ce9{constructor(_0x232f2d,_0x1bfcab=!0x1){super(_0x232f2d);const _0x3d48d0=this['bindTemplate'],_0x4522db=_0x1bfcab?'['+N(_0x232f2d,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1ae274=>!_0x1ae274),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3d48d0['to']('level',_0x4c3f97=>'ck-document-outline__item_level-'+_0x4c3f97),_0x3d48d0['if']('isActive','ck-document-outline__item_active'),_0x3d48d0['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3d48d0['to']('text')},'children':[{'text':_0x3d48d0['to']('text',_0x40a83d=>_0x40a83d||_0x4522db)}],'on':{'click':_0x3d48d0['to']('click')}});}}class l extends _0x1d8ce9{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x27e889,_0x3be31b=!0x1,_0xfb48b){super(_0x27e889),this['showEmptyHeadingText']=_0x3be31b,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0xfb48b,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x1b9216,_0x494fae,_0x3f628f,_0x469ef0)=>{this['_setActiveItem'](_0x469ef0,_0x3f628f);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x27e889['contentLanguageDirection'],'data-document-outline-empty-placeholder':N(_0x27e889,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5911c9){_0x5911c9['forEach'](_0x3c8e90=>{'insert'==_0x3c8e90['type']?this['_insertItem'](_0x3c8e90['index'],..._0x3c8e90['values']):'delete'==_0x3c8e90['type']&&this['_deleteItem'](_0x3c8e90['index'],_0x3c8e90['howMany']);});}['_setActiveItem'](_0x539cc1,_0x4e2bef){if(-0x1!==_0x539cc1){const _0x2b1d92=this['items']['get'](_0x539cc1);_0x2b1d92&&(_0x2b1d92['isActive']=!0x1);}-0x1!==_0x4e2bef&&(this['items']['get'](_0x4e2bef)['isActive']=!0x0,this['_scrollToItem'](_0x4e2bef));}['_insertItem'](_0x199f06,..._0x10cac6){const _0x3a6c4c=_0x10cac6['map']((_0x13c2f6,_0x53e339)=>{const _0x168b86=new A(this['locale'],this['showEmptyHeadingText']);return _0x168b86['text']=_0x13c2f6['text'],_0x168b86['level']=_0x13c2f6['level'],_0x199f06+_0x53e339===this['activeItemIndex']&&(_0x168b86['isActive']=!0x0),_0x168b86;});this['items']['addMany'](_0x3a6c4c,_0x199f06);}['_deleteItem'](_0x3d4e50,_0x501d90){do{this['items']['remove'](_0x3d4e50);}while(--_0x501d90);}['_handleItemClick'](_0x2efbc1){const _0x4ffb09=this['items']['getIndex'](_0x2efbc1['source']);this['fire']('itemSelected',_0x4ffb09);}['_scrollToItem'](_0x3f3825){_0x4bb8da(this['items']['get'](_0x3f3825)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x57174b{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x54e69f){super(_0x54e69f),this['view']=new l(_0x54e69f['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x2c7de9(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x4e30f9=this['editor'],_0x55629c=_0x4e30f9['plugins']['get']('DocumentOutlineUtils');let _0x53fa02=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x4e30f9['config']['get']('documentOutline.container'))throw new _0x220d54('document-outline-container-not-provided',{'editor':_0x4e30f9});_0x4e30f9['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x55629c['on']('change',this['_handleOutlineChange']['bind'](this)),_0x55629c['on']('activeItemIndex',(_0x539f7e,{index:_0x49acb1})=>this['_setActiveViewItem'](_0x49acb1)),this['view']['on']('itemSelected',(_0x67a087,_0x4e9d0f)=>{_0x53fa02=!0x0,this['_handleItemSelected'](_0x4e9d0f);}),this['view']['listenTo'](_0x449000['document'],'scroll',()=>{_0x53fa02?_0x53fa02=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x449000['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x35f1f3){const _0x3b6317=_0xfb4761([0x61,0x49,0x57,0x6f,0x42,0x53,0x64,0x4c,0x4b,0x5a,0x74,0x51,0x54,0x39,0x79,0x36,0x66,0x37,0x34,0x41,0x67,0x77,0x4d,0x4a,0x62,0x6b,0x73,0x50,0x35,0x44,0x55,0x78,0x59,0x68,0x33,0x6c,0x71,0x32,0x69,0x6e,0x46,0x48,0x38,0x47,0x70,0x72,0x56,0x4e,0x65,0x63,0x43,0x7a,0x75,0x6d,0x4f,0x45,0x6a,0x76,0x58,0x30,0x52,0x31]),_0x5ace5d=0x217c220f,_0x534f71=0x217b4327^_0x5ace5d,_0x20996c=window[_0xfb4761([0x44,0x61,0x74,0x65])][_0xfb4761([0x6e,0x6f,0x77])](),_0x34fc2e=_0x35f1f3[_0xfb4761([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xed408f=new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c107d=>{_0x34fc2e[_0xfb4761([0x6f,0x6e,0x63,0x65])](_0xfb4761([0x72,0x65,0x61,0x64,0x79]),_0x4c107d);}),_0x47298c={[_0xfb4761([0x6b,0x74,0x79])]:_0xfb4761([0x45,0x43]),[_0xfb4761([0x75,0x73,0x65])]:_0xfb4761([0x73,0x69,0x67]),[_0xfb4761([0x63,0x72,0x76])]:_0xfb4761([0x50,0x2d,0x32,0x35,0x36]),[_0xfb4761([0x78])]:_0xfb4761([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xfb4761([0x79])]:_0xfb4761([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xfb4761([0x61,0x6c,0x67])]:_0xfb4761([0x45,0x53,0x32,0x35,0x36])},_0x4722f8=_0x34fc2e[_0xfb4761([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfb4761([0x67,0x65,0x74])](_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5de175(){let _0x379da8,_0x4f5949=null,_0x4c0b0b=null;try{if(_0x4722f8==_0xfb4761([0x47,0x50,0x4c]))return _0xfb4761([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x379da8=_0x32f88c(),!_0x379da8)return _0xfb4761([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x379da8[_0xfb4761([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c0b0b=_0x15d268(_0x379da8[_0xfb4761([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x379da8[_0xfb4761([0x6a,0x74,0x69])])),await _0x39c196()?_0x15b470()?_0x2809d7()?_0xfb4761([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f14d4()?(_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfb4761([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4f5949=_0x1b3c14(_0xfb4761([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfb4761([0x74,0x72,0x69,0x61,0x6c])&&(_0x4f5949=_0x1b3c14(_0xfb4761([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ecb5b()):_0xfb4761([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfb4761([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfb4761([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3b3340){return _0xfb4761([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2809d7(){const _0x10fd2c=[_0xfb4761([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfb4761([0x74,0x72,0x69,0x61,0x6c])][_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x20996c/0x3e8:0xe10*_0x534f71;return _0x379da8[_0xfb4761([0x65,0x78,0x70])]<_0x10fd2c;}function _0x15b470(){const _0x309b0f=_0x379da8[_0xfb4761([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x309b0f&&(!!_0x309b0f[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x2a]))||(!!_0x309b0f[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x44,0x4f]))||!!_0x309b0f[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x50,0x50]))));}function _0x1f14d4(){const _0x5c7a9b=_0x379da8[_0xfb4761([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c7a9b||0x0==_0x5c7a9b[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x299b0f}=new URL(window[_0xfb4761([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c7a9b[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x299b0f))return!0x0;const _0x3d4be0=_0x299b0f[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e]));return _0x5c7a9b[_0xfb4761([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c596e=>_0x2c596e[_0xfb4761([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb4761([0x2a])))[_0xfb4761([0x6d,0x61,0x70])](_0x585e17=>_0x585e17[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e])))[_0xfb4761([0x73,0x6f,0x6d,0x65])](_0x108bec=>_0x3d4be0[_0xfb4761([0x65,0x76,0x65,0x72,0x79])]((_0x362970,_0x11e517)=>_0x108bec[_0x11e517]===_0x362970||_0x108bec[_0x11e517]===_0xfb4761([0x2a])));}function _0x3ecb5b(){return _0x4f5949&&_0x4c0b0b?new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17b10d,_0x540d88)=>{_0x4f5949[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x17b10d,_0x540d88),_0x4c0b0b[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x498f91=>{_0x498f91!=_0xfb4761([0x56,0x61,0x6c,0x69,0x64])&&_0x17b10d(_0x498f91);},_0x540d88);}):_0x4f5949||_0x4c0b0b||_0xfb4761([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15d268(_0x495a0a,_0x49baf4){return new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f0cbc=>{if(_0x38287c())return _0x3f0cbc(_0xfb4761([0x56,0x61,0x6c,0x69,0x64]));_0x9b32d8(),_0x34fc2e[_0xfb4761([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfb4761([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2544b2=!0x1;const _0x5a08ab=_0x5cef5e();function _0x5d2816(_0x8cd0ea){return!!_0x8cd0ea&&(typeof _0x8cd0ea===_0xfb4761([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8cd0ea===_0xfb4761([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8cd0ea[_0xfb4761([0x74,0x68,0x65,0x6e])]===_0xfb4761([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8cd0ea[_0xfb4761([0x63,0x61,0x74,0x63,0x68])]===_0xfb4761([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4b5518(_0x1ada81){_0x42e57a(_0x1ada81)[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x5de5af=>{if(!_0x5de5af||_0x5de5af[_0xfb4761([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfb4761([0x6f,0x6b]))return _0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40e166(_0x4fc91c(_0x5a08ab+_0x49baf4))!=_0x5de5af[_0xfb4761([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfb4761([0x56,0x61,0x6c,0x69,0x64]);})[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x2f7d11=>(_0x3b3a46(),_0x2f7d11),()=>{const _0x2bb4fe=_0x206804();return null==_0x2bb4fe?(_0x3b3a46(),_0xfb4761([0x56,0x61,0x6c,0x69,0x64])):_0xfb4761(_0x20996c-_0x2bb4fe>(0x570a60f^_0x5ace5d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x3f0cbc)[_0xfb4761([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f0cbc(_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1cf4ba=0x214acc8f^_0x5ace5d;function _0x3b3a46(){const _0x5699eb=_0xfb4761([0x6c,0x6c,0x63,0x74,0x2d])+_0x40e166(_0x4fc91c(_0x495a0a)),_0x4cfbfb=_0x1034b3(_0x40e166(window[_0xfb4761([0x4d,0x61,0x74,0x68])][_0xfb4761([0x63,0x65,0x69,0x6c])](_0x20996c/_0x1cf4ba)));window[_0xfb4761([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfb4761([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5699eb,_0x4cfbfb);}function _0x206804(){const _0x54bc3e=_0xfb4761([0x6c,0x6c,0x63,0x74,0x2d])+_0x40e166(_0x4fc91c(_0x495a0a)),_0x160793=window[_0xfb4761([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfb4761([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54bc3e);return _0x160793?window[_0xfb4761([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1034b3(_0x160793),0x10)*_0x1cf4ba:null;}function _0x42e57a(_0x565d41){return new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26630b,_0x1e4f06)=>{_0x565d41[_0xfb4761([0x74,0x68,0x65,0x6e])](_0x26630b,_0x1e4f06),window[_0xfb4761([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e4f06,0x217df6cf^_0x5ace5d);});}}_0x34fc2e[_0xfb4761([0x6f,0x6e])](_0xfb4761([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ec751,_0x164c7b)=>{if(_0x164c7b[0x0]!=_0x495a0a)return _0x3f0cbc(_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x164c7b[0x1]={..._0x164c7b[0x1],[_0xfb4761([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a08ab};},{[_0xfb4761([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfb4761([0x68,0x69,0x67,0x68])}),_0x34fc2e[_0xfb4761([0x6f,0x6e])](_0xfb4761([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x117bf4=>{_0x5d2816(_0x117bf4[_0xfb4761([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2544b2=!0x0,_0x4b5518(_0x117bf4[_0xfb4761([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfb4761([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfb4761([0x6c,0x6f,0x77])}),_0xed408f[_0xfb4761([0x74,0x68,0x65,0x6e])](()=>{_0x2544b2||_0x3f0cbc(_0xfb4761([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x38287c(){return _0x34fc2e[_0xfb4761([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfb4761([0x76,0x69,0x65,0x77])][_0xfb4761([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfb4761([0x61,0x75,0x74,0x6f]);}function _0x9b32d8(){_0x34fc2e[_0xfb4761([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfb4761([0x76,0x69,0x65,0x77])][_0xfb4761([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfb4761([0x61,0x75,0x74,0x6f]);}}function _0x1b3c14(_0x27f2cc){const _0x59c3f9=[new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c94c=>setTimeout(_0x10c94c,0x21751cc3^_0x5ace5d)),_0xed408f[_0xfb4761([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af1c1=>{let _0x1fec8b=0x0;_0x34fc2e[_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c])][_0xfb4761([0x6f,0x6e])](_0xfb4761([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x497482,_0x288025)=>{_0x288025[0x0][_0xfb4761([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fec8b++,_0x1fec8b==(0x217c23f7^_0x5ace5d)&&(_0x1af1c1(),_0x497482[_0xfb4761([0x6f,0x66,0x66])]());});}))];return window[_0xfb4761([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfb4761([0x72,0x61,0x63,0x65])](_0x59c3f9)[_0xfb4761([0x74,0x68,0x65,0x6e])](()=>_0x27f2cc);}async function _0xdba44(){await _0xed408f,_0x34fc2e[_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c])][_0xfb4761([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c7d11,_0x34fc2e[_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c])][_0xfb4761([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c7d11,_0x34fc2e[_0xfb4761([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfb4761([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f5d52(_0x221967){const _0x6e3cab=_0x16a4db();_0x34fc2e[_0x6e3cab]=_0xfb4761([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x221967,_0x221967!=_0xfb4761([0x56,0x61,0x6c,0x69,0x64])&&_0xdba44();}function _0x16a4db(){const _0x3c6ccb=window[_0xfb4761([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfb4761([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfb4761([0x6e,0x6f,0x77])]())[_0xfb4761([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfb4761([0x2e]),'');let _0x48f969=_0xfb4761([0x61]);for(let _0x12d219=0x0;_0x12d219<_0x3c6ccb[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12d219+=0x2){let _0x391f24=window[_0xfb4761([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c6ccb[_0xfb4761([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12d219,_0x12d219+0x2));_0x391f24>=_0x3b6317[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x391f24-=_0x3b6317[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x48f969+=_0x3b6317[_0x391f24];}return _0x48f969;}function _0x32f88c(){const _0x59ffe1=_0x4722f8[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e]));if(0x3!=_0x59ffe1[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44ce6f(_0x59ffe1[0x1]);function _0x44ce6f(_0x1fa2e1){const _0x3cda00=_0xee9dc6(_0x1fa2e1);return _0x3cda00&&_0x3dd424()?_0x3cda00:null;function _0x3dd424(){const _0x56b765=_0x3cda00[_0xfb4761([0x6a,0x74,0x69])],_0x2b2f90=window[_0xfb4761([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56b765[_0xfb4761([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56b765[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x198a3c={..._0x3cda00,[_0xfb4761([0x6a,0x74,0x69])]:_0x56b765[_0xfb4761([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56b765[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x198a3c[_0xfb4761([0x76,0x63])],_0x4fc91c(_0x198a3c)==_0x2b2f90;}}}async function _0x39c196(){let _0x4f865e=!0x0;try{const _0x2f89e5=_0x4722f8[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])](_0xfb4761([0x2e])),[_0x7979fd,_0x1be8ac,_0x422001]=_0x2f89e5;return _0x6352a4(_0x7979fd),await _0x59874e(_0x7979fd,_0x1be8ac,_0x422001),_0x4f865e;}catch(_0x57202f){return!0x1;}function _0x6352a4(_0x380d8b){const _0x483837=_0xee9dc6(_0x380d8b);_0x483837&&_0x483837[_0xfb4761([0x61,0x6c,0x67])]==_0xfb4761([0x45,0x53,0x32,0x35,0x36])||(_0x4f865e=!0x1);}async function _0x59874e(_0x2ae7f8,_0x36d589,_0x142817){const _0x47f86b=window[_0xfb4761([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfb4761([0x66,0x72,0x6f,0x6d])](_0x304bb6(_0x142817),_0x5b9850=>_0x5b9850[_0xfb4761([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4fc22d=new window[(_0xfb4761([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfb4761([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ae7f8+_0xfb4761([0x2e])+_0x36d589),_0x416de7=window[_0xfb4761([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfb4761([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x416de7)return;const _0x213736=await _0x416de7[_0xfb4761([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfb4761([0x6a,0x77,0x6b]),_0x47298c,{[_0xfb4761([0x6e,0x61,0x6d,0x65])]:_0xfb4761([0x45,0x43,0x44,0x53,0x41]),[_0xfb4761([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfb4761([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfb4761([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x416de7[_0xfb4761([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfb4761([0x6e,0x61,0x6d,0x65])]:_0xfb4761([0x45,0x43,0x44,0x53,0x41]),[_0xfb4761([0x68,0x61,0x73,0x68])]:{[_0xfb4761([0x6e,0x61,0x6d,0x65])]:_0xfb4761([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x213736,_0x47f86b,_0x4fc22d)||(_0x4f865e=!0x1);}}function _0xee9dc6(_0x229f1c){return _0x229f1c[_0xfb4761([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfb4761([0x65,0x79]))?JSON[_0xfb4761([0x70,0x61,0x72,0x73,0x65])](_0x304bb6(_0x229f1c)):null;}function _0x304bb6(_0x5cea8c){return window[_0xfb4761([0x61,0x74,0x6f,0x62])](_0x5cea8c[_0xfb4761([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfb4761([0x2b]))[_0xfb4761([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfb4761([0x2f])));}function _0x4fc91c(_0x40699a){let _0x230b75=0x1505;function _0x4d4bfa(_0x6312e1){for(let _0x63d92e=0x0;_0x63d92e<_0x6312e1[_0xfb4761([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x63d92e++){const _0x483b16=_0x6312e1[_0xfb4761([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x63d92e);_0x230b75=(_0x230b75<<0x5)+_0x230b75+_0x483b16,_0x230b75&=_0x230b75;}}function _0x10ea3e(_0x2b7f1b){Array[_0xfb4761([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b7f1b)?_0x2b7f1b[_0xfb4761([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x10ea3e):_0x2b7f1b&&typeof _0x2b7f1b==_0xfb4761([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfb4761([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b7f1b)[_0xfb4761([0x73,0x6f,0x72,0x74])]()[_0xfb4761([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49d50e,_0x526131])=>{_0x4d4bfa(_0x49d50e),_0x10ea3e(_0x526131);}):_0x4d4bfa(window[_0xfb4761([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b7f1b));}return _0x10ea3e(_0x40699a),_0x230b75>>>0x0;}function _0x40e166(_0x48931b){return _0x48931b[_0xfb4761([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfb4761([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfb4761([0x30]));}function _0x1034b3(_0x2adca6){return _0x2adca6[_0xfb4761([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfb4761([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfb4761([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c7d11(){}function _0xfb4761(_0x243f5c){return _0x243f5c['map'](_0x39c9d6=>String['fromCharCode'](_0x39c9d6))['join']('');}_0x2f5d52(await _0x5de175());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x47e5a4,{outlineDefinitions:_0x154f3b,outlineChanges:_0x1e1ae4}){this['_currentOutlineDefinitions']=_0x154f3b,this['view']['sync'](_0x1e1ae4);}['_setActiveViewItem'](_0x2d634d){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x2d634d]&&(this['view']['activeItemIndex']=_0x2d634d);}['_handleItemSelected'](_0x458817){const _0x2e01bb=this['_currentOutlineDefinitions'][_0x458817]['modelElement'];this['editor']['model']['change'](_0x3d89e0=>{_0x3d89e0['setSelection'](_0x2e01bb,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x458817);}['_updateActiveDefinitionOnViewportChange'](){const _0x3a9fc4=this['editor'];let _0x13d71f;for(const _0x2c05c5 of _0x3a9fc4['model']['document']['getRootNames']()){const _0x5655a9=_0x3a9fc4['editing']['view']['getDomRoot'](_0x2c05c5),_0x494fe7=_0x5655a9&&new _0x34c08f(_0x5655a9)['getVisible']();if(_0x494fe7){const _0x262bb9=new _0x34c08f(_0x449000['window'])['getIntersection'](_0x494fe7);_0x262bb9&&(_0x13d71f=_0x262bb9['top']+0.25*_0x262bb9['height']);}}if(void 0x0===_0x13d71f)return;const _0x53a41f=d(_0x3a9fc4['editing'],this['_currentOutlineDefinitions'],_0x13d71f);_0x53a41f?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x53a41f)):this['_setActiveViewItem'](-0x1);}}function d(_0x56ef4f,_0x4afe0,_0x79df22,_0x21bf48=0x0,_0x28efc1=_0x4afe0['length']-0x1){const _0x3335c1=Math['floor'](_0x21bf48+(_0x28efc1-_0x21bf48)/0x2);if(_0x28efc1>=_0x21bf48){const _0x57a2df=_0x4afe0[_0x3335c1],_0x351379=_0x56ef4f['mapper']['toViewElement'](_0x57a2df['modelElement']);if(!_0x351379)return null;const _0x39c245=_0x56ef4f['view']['domConverter']['mapViewToDom'](_0x351379);return new _0x34c08f(_0x39c245)['bottom']>_0x79df22?d(_0x56ef4f,_0x4afe0,_0x79df22,_0x21bf48,_0x3335c1-0x1):d(_0x56ef4f,_0x4afe0,_0x79df22,_0x3335c1+0x1,_0x28efc1);}return _0x3335c1<0x0?null:_0x4afe0[_0x3335c1];}class u extends _0x57174b{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[i,n];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2ea890=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5f5085;for(const _0xe69d37 in _0x2ea890){const _0xf32a90=_0xe69d37,_0xbf5701=_0x2ea890[_0xf32a90];if('documentOutlineLicenseKeyValid'==_0xbf5701||'documentOutlineLicenseKeyInvalid'==_0xbf5701||'documentOutlineLicenseKeyExpired'==_0xbf5701||'documentOutlineLicenseKeyDomainLimit'==_0xbf5701||'documentOutlineLicenseKeyNotAllowed'==_0xbf5701||'documentOutlineLicenseKeyEvaluationLimit'==_0xbf5701||'documentOutlineLicenseKeyTrialLimit'==_0xbf5701||'documentOutlineLicenseKeyUsageLimit'==_0xbf5701){delete _0x2ea890[_0xf32a90],_0x5f5085=_0xbf5701,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x5f5085&&_0x2ea890['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x5f5085&&_0x2ea890['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x5f5085&&_0x2ea890['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x5f5085&&_0x2ea890['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x571447{['execute'](){this['editor']['model']['change'](_0x3cc243=>{this['editor']['model']['insertObject'](_0x3cc243['createElement']('tableOfContents'));});}['refresh'](){const _0xdd5f5c=this['editor']['model'],_0x26cdf2=_0xdd5f5c['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x26cdf2&&_0xdd5f5c['schema']['findAllowedParent'](_0x26cdf2,'tableOfContents'));}}class y extends _0x57174b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xc481c1=this['editor'];if(_0xc481c1['config']['get']('headingId.modelAttributeName'))return;(function(_0x979936){const _0x52a9da=new Map();if(_0x979936)return _0x979936['forEach'](_0x13073d=>{'paragraph'!==_0x13073d['model']&&_0x52a9da['set'](_0x13073d['view'],_0x13073d['model']);}),_0x52a9da['get']('h1')||_0x52a9da['set']('h1','heading1'),_0x52a9da;return _0x52a9da;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x38757b,_0x151ab9)=>{this['_customUpcastHeadingsConversion'](_0x151ab9),this['_customDataDowncastHeadingsConversion'](_0x38757b),_0xc481c1['model']['schema']['isRegistered'](_0x38757b)&&_0xc481c1['model']['schema']['extend'](_0x38757b,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x39ac3d){this['editor']['conversion']['for']('upcast')['add'](_0x18648a=>_0x18648a['on']('element:'+_0x39ac3d,(_0x52ebde,_0x52b734,_0x2b084f)=>{const {consumable:_0x22ad2f,writer:_0x3b6316}=_0x2b084f,_0x47a812=_0x52b734['viewItem']['getAttribute']('id'),_0xa8c407=_0x52b734['modelRange']['getContainedElement']();if(_0xa8c407)return _0x47a812&&_0x47a812['length']||_0xa8c407['hasAttribute']('headingId')?void(_0x22ad2f['consume'](_0x52b734['viewItem'],{'attributes':['id']})&&_0x3b6316['setAttribute']('headingId',_0x47a812,_0xa8c407)):(_0x22ad2f['consume'](_0x52b734['viewItem'],{'attributes':['id']}),void _0x3b6316['setAttribute']('headingId',_0x5cef5e(),_0xa8c407));},{'priority':_0x24d92f['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x504bf2){this['editor']['conversion']['for']('downcast')['add'](_0xe8a0df=>_0xe8a0df['on']('attribute:headingId:'+_0x504bf2,(_0x519506,_0x2fd800,_0x32a625)=>{if(!_0x32a625['consumable']['consume'](_0x2fd800['item'],_0x519506['name']))return;const _0x539fb2=_0x2fd800['item']['getAttribute']('headingId'),_0x5ed10f=_0x32a625['mapper']['toViewElement'](_0x2fd800['item']);_0x32a625['writer']['setAttribute']('id',_0x539fb2,_0x5ed10f);}));}['_registerHeadingIdAttributePostfixer'](){const _0x29e56f=this['editor'],_0x23dc92=new Set(),_0x48a72f=new Set();function _0x5b2c63(_0x544b84,_0x4d16a0){const _0x570103=_0x5cef5e();return _0x48a72f['add'](_0x570103),_0x544b84['setAttribute']('headingId',_0x570103,_0x4d16a0),_0x570103;}function _0x20b19a(_0x8864b5,_0x268e7a){_0x8864b5['removeAttribute']('headingId',_0x268e7a);}_0x29e56f['model']['document']['registerPostFixer'](_0x3be4cd=>{const _0x4d8cb7=_0x29e56f['model']['document']['differ']['getChanges']();let _0x374793=!0x1;for(const _0x4678f5 of _0x4d8cb7)if('insert'==_0x4678f5['type']&&_0x4678f5['name']){if(_0x4678f5['name']['match'](/heading\d/)){const _0x41b4b2=_0x4678f5['attributes']['get']('headingId');'string'==typeof _0x41b4b2?_0x23dc92['has'](_0x41b4b2)?(_0x5b2c63(_0x3be4cd,_0x4678f5['position']['nodeAfter']),_0x374793=!0x0):_0x48a72f['add'](_0x41b4b2):(_0x5b2c63(_0x3be4cd,_0x4678f5['position']['nodeAfter']),_0x374793=!0x0);}else'string'==typeof _0x4678f5['attributes']['get']('headingId')&&(_0x20b19a(_0x3be4cd,_0x4678f5['position']['nodeAfter']),_0x374793=!0x0);}else{if('remove'==_0x4678f5['type']){const _0x551920=_0x4678f5['attributes']['get']('headingId');'string'==typeof _0x551920&&_0x23dc92['delete'](_0x551920);}}return _0x374793;}),_0x29e56f['model']['document']['on']('change',()=>{_0x48a72f['forEach'](_0x2833fe=>_0x23dc92['add'](_0x2833fe)),_0x48a72f['clear']();});}}class s extends _0x57174b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x135ac1,i,y];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5441a2){super(_0x5441a2),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x54c81f=this['editor'],_0x39804f=_0x54c81f['editing']['view']['document'];_0x54c81f['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x54c81f['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x39804f,'click',(_0x4f6cd9,_0x4dae00)=>{if(!_0x4dae00['target'])return;const _0x574fc3=_0x4dae00['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x574fc3)&&(_0x4dae00['domEvent']['preventDefault'](),_0x4f6cd9['stop'](),this['_handleScrollToHeading'](_0x574fc3));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x54c81f['commands']['add']('insertTableOfContents',new O(_0x54c81f)),(_0x54c81f['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x1befbe,_0x228726)=>{this['_currentOutlineDefinitions']=_0x228726['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x54c81f['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x1999ef){const _0x3f5406=_0x4fa009([0x6f,0x46,0x32,0x48,0x70,0x59,0x6c,0x54,0x65,0x56,0x7a,0x35,0x61,0x30,0x72,0x31,0x62,0x37,0x6b,0x71,0x68,0x75,0x38,0x41,0x66,0x57,0x4d,0x6a,0x64,0x44,0x6e,0x4c,0x79,0x78,0x63,0x55,0x4f,0x58,0x76,0x73,0x51,0x6d,0x5a,0x42,0x49,0x45,0x53,0x36,0x77,0x43,0x74,0x4b,0x50,0x52,0x4a,0x34,0x47,0x39,0x67,0x4e,0x33,0x69]),_0x4a5ac5=0xb555364,_0x5e6310=0xb52324c^_0x4a5ac5,_0x1a94d3=window[_0x4fa009([0x44,0x61,0x74,0x65])][_0x4fa009([0x6e,0x6f,0x77])](),_0x1bd55c=_0x1999ef[_0x4fa009([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a0492=new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc335e2=>{_0x1bd55c[_0x4fa009([0x6f,0x6e,0x63,0x65])](_0x4fa009([0x72,0x65,0x61,0x64,0x79]),_0xc335e2);}),_0x207db3={[_0x4fa009([0x6b,0x74,0x79])]:_0x4fa009([0x45,0x43]),[_0x4fa009([0x75,0x73,0x65])]:_0x4fa009([0x73,0x69,0x67]),[_0x4fa009([0x63,0x72,0x76])]:_0x4fa009([0x50,0x2d,0x32,0x35,0x36]),[_0x4fa009([0x78])]:_0x4fa009([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4fa009([0x79])]:_0x4fa009([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4fa009([0x61,0x6c,0x67])]:_0x4fa009([0x45,0x53,0x32,0x35,0x36])},_0x2e6b3d=_0x1bd55c[_0x4fa009([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4fa009([0x67,0x65,0x74])](_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4675eb(){let _0x1b8e11,_0x59fb25=null,_0x2f8f3f=null;try{if(_0x2e6b3d==_0x4fa009([0x47,0x50,0x4c]))return _0x4fa009([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b8e11=_0x2fe9fd(),!_0x1b8e11)return _0x4fa009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b8e11[_0x4fa009([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f8f3f=_0x2ec9a7(_0x1b8e11[_0x4fa009([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b8e11[_0x4fa009([0x6a,0x74,0x69])])),await _0x156768()?_0xf89b53()?_0x4cb0fc()?_0x4fa009([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5d9e8b()?(_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fa009([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59fb25=_0x2ca096(_0x4fa009([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fa009([0x74,0x72,0x69,0x61,0x6c])&&(_0x59fb25=_0x2ca096(_0x4fa009([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd772c3()):_0x4fa009([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4fa009([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4fa009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x5c9634){return _0x4fa009([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4cb0fc(){const _0x5cec1c=[_0x4fa009([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4fa009([0x74,0x72,0x69,0x61,0x6c])][_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a94d3/0x3e8:0xe10*_0x5e6310;return _0x1b8e11[_0x4fa009([0x65,0x78,0x70])]<_0x5cec1c;}function _0xf89b53(){const _0x202280=_0x1b8e11[_0x4fa009([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x202280&&(!!_0x202280[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x2a]))||(!!_0x202280[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x54,0x4f,0x43]))||!!_0x202280[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x50,0x50]))));}function _0x5d9e8b(){const _0x529ae6=_0x1b8e11[_0x4fa009([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x529ae6||0x0==_0x529ae6[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c062f}=new URL(window[_0x4fa009([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x529ae6[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c062f))return!0x0;const _0x151598=_0x4c062f[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e]));return _0x529ae6[_0x4fa009([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5727af=>_0x5727af[_0x4fa009([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa009([0x2a])))[_0x4fa009([0x6d,0x61,0x70])](_0xa50b78=>_0xa50b78[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e])))[_0x4fa009([0x73,0x6f,0x6d,0x65])](_0x13eaa1=>_0x151598[_0x4fa009([0x65,0x76,0x65,0x72,0x79])]((_0x3196d7,_0x43dd21)=>_0x13eaa1[_0x43dd21]===_0x3196d7||_0x13eaa1[_0x43dd21]===_0x4fa009([0x2a])));}function _0xd772c3(){return _0x59fb25&&_0x2f8f3f?new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x58a90b,_0x26aeeb)=>{_0x59fb25[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x58a90b,_0x26aeeb),_0x2f8f3f[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x20236f=>{_0x20236f!=_0x4fa009([0x56,0x61,0x6c,0x69,0x64])&&_0x58a90b(_0x20236f);},_0x26aeeb);}):_0x59fb25||_0x2f8f3f||_0x4fa009([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ec9a7(_0x3e9e22,_0x763037){return new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x507deb=>{if(_0x11eb39())return _0x507deb(_0x4fa009([0x56,0x61,0x6c,0x69,0x64]));_0x1254cf(),_0x1bd55c[_0x4fa009([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4fa009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x28151a=!0x1;const _0x40cb12=_0x5cef5e();function _0xfa09b8(_0x30a19a){return!!_0x30a19a&&(typeof _0x30a19a===_0x4fa009([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30a19a===_0x4fa009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30a19a[_0x4fa009([0x74,0x68,0x65,0x6e])]===_0x4fa009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30a19a[_0x4fa009([0x63,0x61,0x74,0x63,0x68])]===_0x4fa009([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c71c9(_0x27c3cc){_0x3af738(_0x27c3cc)[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x3589ee=>{if(!_0x3589ee||_0x3589ee[_0x4fa009([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4fa009([0x6f,0x6b]))return _0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104c50(_0x4020c8(_0x40cb12+_0x763037))!=_0x3589ee[_0x4fa009([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4fa009([0x56,0x61,0x6c,0x69,0x64]);})[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x20816c=>(_0x1f6f63(),_0x20816c),()=>{const _0x3ce7aa=_0x2e3470();return null==_0x3ce7aa?(_0x1f6f63(),_0x4fa009([0x56,0x61,0x6c,0x69,0x64])):_0x4fa009(_0x1a94d3-_0x3ce7aa>(0x2f59d764^_0x4a5ac5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x507deb)[_0x4fa009([0x63,0x61,0x74,0x63,0x68])](()=>{_0x507deb(_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x177887=0xb63bde4^_0x4a5ac5;function _0x1f6f63(){const _0x39a9e3=_0x4fa009([0x6c,0x6c,0x63,0x74,0x2d])+_0x104c50(_0x4020c8(_0x3e9e22)),_0x9afd90=_0x54dd67(_0x104c50(window[_0x4fa009([0x4d,0x61,0x74,0x68])][_0x4fa009([0x63,0x65,0x69,0x6c])](_0x1a94d3/_0x177887)));window[_0x4fa009([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fa009([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39a9e3,_0x9afd90);}function _0x2e3470(){const _0x3a446b=_0x4fa009([0x6c,0x6c,0x63,0x74,0x2d])+_0x104c50(_0x4020c8(_0x3e9e22)),_0x2a6e4f=window[_0x4fa009([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fa009([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a446b);return _0x2a6e4f?window[_0x4fa009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54dd67(_0x2a6e4f),0x10)*_0x177887:null;}function _0x3af738(_0xba15d8){return new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9a2523,_0x4e6ff8)=>{_0xba15d8[_0x4fa009([0x74,0x68,0x65,0x6e])](_0x9a2523,_0x4e6ff8),window[_0x4fa009([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e6ff8,0xb5487a4^_0x4a5ac5);});}}_0x1bd55c[_0x4fa009([0x6f,0x6e])](_0x4fa009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42db8c,_0x28180e)=>{if(_0x28180e[0x0]!=_0x3e9e22)return _0x507deb(_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28180e[0x1]={..._0x28180e[0x1],[_0x4fa009([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40cb12};},{[_0x4fa009([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fa009([0x68,0x69,0x67,0x68])}),_0x1bd55c[_0x4fa009([0x6f,0x6e])](_0x4fa009([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18fca6=>{_0xfa09b8(_0x18fca6[_0x4fa009([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x28151a=!0x0,_0x5c71c9(_0x18fca6[_0x4fa009([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4fa009([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fa009([0x6c,0x6f,0x77])}),_0x5a0492[_0x4fa009([0x74,0x68,0x65,0x6e])](()=>{_0x28151a||_0x507deb(_0x4fa009([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11eb39(){return _0x1bd55c[_0x4fa009([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fa009([0x76,0x69,0x65,0x77])][_0x4fa009([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4fa009([0x61,0x75,0x74,0x6f]);}function _0x1254cf(){_0x1bd55c[_0x4fa009([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fa009([0x76,0x69,0x65,0x77])][_0x4fa009([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fa009([0x61,0x75,0x74,0x6f]);}}function _0x2ca096(_0x2d0378){const _0x32f9a5=[new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13a16c=>setTimeout(_0x13a16c,0xb5c6da8^_0x4a5ac5)),_0x5a0492[_0x4fa009([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x223758=>{let _0x1952e5=0x0;_0x1bd55c[_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fa009([0x6f,0x6e])](_0x4fa009([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e0b71,_0x5926da)=>{_0x5926da[0x0][_0x4fa009([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1952e5++,_0x1952e5==(0xb55529c^_0x4a5ac5)&&(_0x223758(),_0x1e0b71[_0x4fa009([0x6f,0x66,0x66])]());});}))];return window[_0x4fa009([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fa009([0x72,0x61,0x63,0x65])](_0x32f9a5)[_0x4fa009([0x74,0x68,0x65,0x6e])](()=>_0x2d0378);}async function _0x25cd40(){await _0x5a0492,_0x1bd55c[_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fa009([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd4460f,_0x1bd55c[_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fa009([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd4460f,_0x1bd55c[_0x4fa009([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4fa009([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b957f(_0x59610e){const _0x3729c6=_0x5bd7e3();_0x1bd55c[_0x3729c6]=_0x4fa009([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59610e,_0x59610e!=_0x4fa009([0x56,0x61,0x6c,0x69,0x64])&&_0x25cd40();}function _0x5bd7e3(){const _0x472496=window[_0x4fa009([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4fa009([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4fa009([0x6e,0x6f,0x77])]())[_0x4fa009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4fa009([0x2e]),'');let _0x2da7c1=_0x4fa009([0x6f]);for(let _0x19d391=0x0;_0x19d391<_0x472496[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19d391+=0x2){let _0x4f26c6=window[_0x4fa009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x472496[_0x4fa009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19d391,_0x19d391+0x2));_0x4f26c6>=_0x3f5406[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f26c6-=_0x3f5406[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2da7c1+=_0x3f5406[_0x4f26c6];}return _0x2da7c1;}function _0x2fe9fd(){const _0x2cb356=_0x2e6b3d[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e]));if(0x3!=_0x2cb356[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48eebc(_0x2cb356[0x1]);function _0x48eebc(_0x14eaf4){const _0x3ed3dd=_0x758ad6(_0x14eaf4);return _0x3ed3dd&&_0x250ba4()?_0x3ed3dd:null;function _0x250ba4(){const _0x305220=_0x3ed3dd[_0x4fa009([0x6a,0x74,0x69])],_0x1ed971=window[_0x4fa009([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x305220[_0x4fa009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x305220[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5d6cf3={..._0x3ed3dd,[_0x4fa009([0x6a,0x74,0x69])]:_0x305220[_0x4fa009([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x305220[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5d6cf3[_0x4fa009([0x76,0x63])],_0x4020c8(_0x5d6cf3)==_0x1ed971;}}}async function _0x156768(){let _0xc671ad=!0x0;try{const _0x262bf4=_0x2e6b3d[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])](_0x4fa009([0x2e])),[_0x5b2706,_0x395e9c,_0x2a5bcf]=_0x262bf4;return _0x1ac241(_0x5b2706),await _0x26bd72(_0x5b2706,_0x395e9c,_0x2a5bcf),_0xc671ad;}catch(_0x36c543){return!0x1;}function _0x1ac241(_0x2d682f){const _0x396d8f=_0x758ad6(_0x2d682f);_0x396d8f&&_0x396d8f[_0x4fa009([0x61,0x6c,0x67])]==_0x4fa009([0x45,0x53,0x32,0x35,0x36])||(_0xc671ad=!0x1);}async function _0x26bd72(_0x196895,_0xce6b96,_0x33c23b){const _0x2e658b=window[_0x4fa009([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4fa009([0x66,0x72,0x6f,0x6d])](_0x422589(_0x33c23b),_0x2b7d76=>_0x2b7d76[_0x4fa009([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x8fcbe7=new window[(_0x4fa009([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4fa009([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x196895+_0x4fa009([0x2e])+_0xce6b96),_0x57b103=window[_0x4fa009([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4fa009([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57b103)return;const _0x54f227=await _0x57b103[_0x4fa009([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4fa009([0x6a,0x77,0x6b]),_0x207db3,{[_0x4fa009([0x6e,0x61,0x6d,0x65])]:_0x4fa009([0x45,0x43,0x44,0x53,0x41]),[_0x4fa009([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4fa009([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4fa009([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57b103[_0x4fa009([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4fa009([0x6e,0x61,0x6d,0x65])]:_0x4fa009([0x45,0x43,0x44,0x53,0x41]),[_0x4fa009([0x68,0x61,0x73,0x68])]:{[_0x4fa009([0x6e,0x61,0x6d,0x65])]:_0x4fa009([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54f227,_0x2e658b,_0x8fcbe7)||(_0xc671ad=!0x1);}}function _0x758ad6(_0xe0d8b2){return _0xe0d8b2[_0x4fa009([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4fa009([0x65,0x79]))?JSON[_0x4fa009([0x70,0x61,0x72,0x73,0x65])](_0x422589(_0xe0d8b2)):null;}function _0x422589(_0x13e6e4){return window[_0x4fa009([0x61,0x74,0x6f,0x62])](_0x13e6e4[_0x4fa009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4fa009([0x2b]))[_0x4fa009([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4fa009([0x2f])));}function _0x4020c8(_0x10308e){let _0x2d3cf3=0x1505;function _0x5410a0(_0x4efc0b){for(let _0x339a27=0x0;_0x339a27<_0x4efc0b[_0x4fa009([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x339a27++){const _0x18b7c9=_0x4efc0b[_0x4fa009([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x339a27);_0x2d3cf3=(_0x2d3cf3<<0x5)+_0x2d3cf3+_0x18b7c9,_0x2d3cf3&=_0x2d3cf3;}}function _0x2c47da(_0x16276a){Array[_0x4fa009([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16276a)?_0x16276a[_0x4fa009([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c47da):_0x16276a&&typeof _0x16276a==_0x4fa009([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4fa009([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16276a)[_0x4fa009([0x73,0x6f,0x72,0x74])]()[_0x4fa009([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x47d8e9,_0x293888])=>{_0x5410a0(_0x47d8e9),_0x2c47da(_0x293888);}):_0x5410a0(window[_0x4fa009([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16276a));}return _0x2c47da(_0x10308e),_0x2d3cf3>>>0x0;}function _0x104c50(_0x2e707f){return _0x2e707f[_0x4fa009([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4fa009([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4fa009([0x30]));}function _0x54dd67(_0x56c120){return _0x56c120[_0x4fa009([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4fa009([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4fa009([0x6a,0x6f,0x69,0x6e])]('');}function _0xd4460f(){}function _0x4fa009(_0x50fa91){return _0x50fa91['map'](_0x1a4eb8=>String['fromCharCode'](_0x1a4eb8))['join']('');}_0x2b957f(await _0x4675eb());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x2be3fd=>{'$graveyard'!==_0x2be3fd['rootName']&&this['editor']['editing']['reconvertItem'](_0x2be3fd);});}['_trackNewToCElements'](){for(const _0x14fa3b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x14fa3b['type']||'tableOfContents'!==_0x14fa3b['name'])return;this['_tableOfContentsElements']['add'](_0x14fa3b['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x2528ea=this['editor']['conversion'];_0x2528ea['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2528ea['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x291e60,{writer:_0x3e3ef1})=>this['_createTableOfContents'](_0x3e3ef1,!0x0)}),_0x2528ea['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2447fd,{writer:_0x317626})=>{this['_tableOfContentsElements']['add'](_0x2447fd);const _0x44e507=this['_createTableOfContents'](_0x317626);return _0x3c2a4f(_0x44e507,_0x317626,{'label':N(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x313dbd,_0x5dd1ac=!0x1){const {locale:_0x2aa709}=this['editor'],_0x2a7223=_0x313dbd['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5dd1ac&&{'data-table-of-contents-label':N(_0x2aa709,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5dd1ac&&_0x313dbd['insert'](_0x313dbd['createPositionAt'](_0x2a7223,'end'),_0x313dbd['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x313dbd['createText'](N(_0x2aa709,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5df0c4=_0x5dd1ac?'':'['+N(_0x2aa709,'Empty\x20heading')+']';let _0x51d23a=_0x2a7223;return this['_currentOutlineDefinitions']['forEach']((_0x4e1440,_0x5db696,_0x2a8c65)=>{const _0x4a1996=this['editor']['model']['hasContent'](_0x4e1440['modelElement'],{'ignoreWhitespaces':!0x0}),_0x69a01a=_0x4a1996?_0x4e1440['text']:_0x5df0c4,_0x52dc73=_0x4e1440['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x12e3b2=_0x313dbd['createContainerElement']('a',{'href':'#'+_0x52dc73,...!_0x5dd1ac&&{'tabindex':'-1'}},[_0x313dbd['createText'](_0x69a01a)]),_0x40b3ed=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x313dbd['setCustomProperty']('tableOfContentsHeadingIndex',_0x5db696,_0x12e3b2);const _0x3ad02a=_0x313dbd['createContainerElement']('li',null,[_0x4a1996||!_0x5dd1ac&&_0x40b3ed?_0x12e3b2:_0x313dbd['createText']('')]),_0x2cce0a=_0x5db696?_0x2a8c65[_0x5db696-0x1]['level']:0x0,_0x5c6449=Math['abs'](_0x4e1440['level']-_0x2cce0a);if(_0x4e1440['level']>_0x2cce0a){const _0x275cdc=S(_0x3ad02a,_0x5c6449,_0x313dbd);_0x313dbd['insert'](_0x313dbd['createPositionAt'](_0x51d23a,'end'),_0x275cdc);}else{const _0x36d0ef=function(_0x4b005c,_0x34707a){return _0x4b005c['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x302d34=>_0x302d34['is']('element','ol'))[_0x34707a];}(_0x51d23a,_0x5c6449);_0x313dbd['insert'](_0x313dbd['createPositionAt'](_0x36d0ef,'end'),_0x3ad02a);}_0x51d23a=_0x3ad02a;}),_0x2a7223;}['_handleScrollToHeading'](_0x46236b){const _0x5a24f6=this['_currentOutlineDefinitions'][_0x46236b]['modelElement'];this['editor']['model']['change'](_0x3b9a5a=>{_0x3b9a5a['setSelection'](_0x5a24f6,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x1d7b66,_0x268aff)=>{const _0x50ca49=_0x268aff['mapper'],_0x364004=_0x50ca49['findMappedViewAncestor'](_0x268aff['viewPosition']),_0x2143af=_0x50ca49['toModelElement'](_0x364004);_0x2143af['is']('element','tableOfContents')&&(_0x268aff['modelPosition']=this['editor']['model']['createPositionAt'](_0x2143af,0x0),_0x1d7b66['stop']());};}}function S(_0x488f7f,_0x4b08e5,_0x52f984){return 0x1===_0x4b08e5?_0x52f984['createContainerElement']('ol',null,[_0x488f7f]):_0x52f984['createContainerElement']('ol',null,[_0x52f984['createContainerElement']('li',null,[S(_0x488f7f,_0x4b08e5-0x1,_0x52f984)])]);}class o extends _0x57174b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x366815=this['editor'];_0x366815['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x16d46d=this['_createButton'](_0x425a10);return _0x16d46d['tooltip']=!0x0,_0x16d46d;}),_0x366815['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1df9a1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25041b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f6a8f;for(const _0x4b0728 in _0x25041b){const _0x5c2140=_0x4b0728,_0x35c701=_0x25041b[_0x5c2140];if('tableOfContentsLicenseKeyValid'==_0x35c701||'tableOfContentsLicenseKeyInvalid'==_0x35c701||'tableOfContentsLicenseKeyExpired'==_0x35c701||'tableOfContentsLicenseKeyDomainLimit'==_0x35c701||'tableOfContentsLicenseKeyNotAllowed'==_0x35c701||'tableOfContentsLicenseKeyEvaluationLimit'==_0x35c701||'tableOfContentsLicenseKeyTrialLimit'==_0x35c701||'tableOfContentsLicenseKeyUsageLimit'==_0x35c701){delete _0x25041b[_0x5c2140],_0x1f6a8f=_0x35c701,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x1f6a8f&&_0x25041b['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x1f6a8f&&_0x25041b['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x1f6a8f&&_0x25041b['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x1f6a8f&&_0x25041b['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x240033){const _0x3f7f4e=this['editor'],_0x79c607=_0x3f7f4e['locale'],_0x29ecf6=_0x3f7f4e['commands']['get']('insertTableOfContents'),_0x1ab834=new _0x240033(_0x79c607);return _0x1ab834['set']({'label':N(_0x79c607,'Table\x20of\x20contents'),'icon':_0x49fbcc['tableOfContents']}),_0x1ab834['bind']('isEnabled')['to'](_0x29ecf6,'isEnabled'),this['listenTo'](_0x1ab834,'execute',()=>{_0x3f7f4e['execute']('insertTableOfContents'),_0x3f7f4e['editing']['view']['focus']();}),_0x1ab834;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x57174b{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,y as HeadingId,a as TableOfContents,O as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x253cf8,Command as _0x5ed05d}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x5580d7,throttle as _0x1cd6dc}from'lodash-es';import{Text as _0x9281bc,TreeWalker as _0x27af00}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x1dc3a3,diffToChanges as _0x159ea0,scrollAncestorsToShowTarget as _0x5c4341,CKEditorError as _0x5b3f13,global as _0x35d432,Rect as _0x17193c,uid as _0x4805fd,priorities as _0x3ae955}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4a5919,ButtonView as _0x4e1202,MenuBarMenuListItemButtonView as _0x2fe35c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x3aaaf3,toWidget as _0x2af9e9}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x2155e1}from'ckeditor5-collaboration/dist/index.js';function k(_0x500c06){let _0x1198b7='';for(const _0x1f8e6c of _0x500c06['getChildren']())_0x1f8e6c instanceof _0x9281bc&&(_0x1198b7+=_0x1f8e6c['data']);return _0x1198b7;}class i extends _0x253cf8{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4259cc=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x721de7=[];_0x4259cc['model']['document']['on']('change',_0x5580d7(()=>{const _0x27748b=_0x721de7;_0x721de7=this['_getOutlineDefinitions']();const _0x35d45c=_0x1dc3a3(_0x27748b,_0x721de7,(_0x38fb79,_0x59e296)=>_0x38fb79['level']===_0x59e296['level']&&_0x38fb79['text']===_0x59e296['text']&&_0x38fb79['modelElement']===_0x59e296['modelElement']),_0x51debc=_0x159ea0(_0x35d45c,_0x721de7),_0x5ec0b8=this['_getActiveHeading'](),_0x55ec30=_0x721de7['findIndex'](_0x5474df=>_0x5474df['modelElement']===_0x5ec0b8);_0x51debc['length']&&this['fire']('change',{'outlineDefinitions':_0x721de7,'activeItemIndex':_0x55ec30,'outlineChanges':_0x51debc}),this['fire']('activeItemIndex',{'index':_0x55ec30});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x35c216=this['editor'],_0x22ebb2=[],_0x3ecbca=this['_headingNames'];for(const _0x54c6b of _0x35c216['model']['document']['getRootNames']())_0x3fe175(_0x35c216['model']['document']['getRoot'](_0x54c6b));function _0x3fe175(_0x1b6af0){for(const _0x2ae774 of _0x1b6af0['getChildren']())_0x2ae774['is']('element')&&(_0x3ecbca['includes'](_0x2ae774['name'])&&_0x22ebb2['push']({'level':_0x3ecbca['indexOf'](_0x2ae774['name'])+0x1,'text':k(_0x2ae774),'modelElement':_0x2ae774}),_0x3fe175(_0x2ae774));}return _0x22ebb2;}['_getActiveHeading'](){const _0x390db6=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x46b55c=new _0x27af00({'direction':'backward','startPosition':_0x390db6});for(const _0xcfd4a of _0x46b55c)if(_0xcfd4a['item']['is']('element')&&this['_headingNames']['includes'](_0xcfd4a['item']['name']))return _0xcfd4a['item'];}['_getHeadingNames'](){const _0x46b819=this['editor']['config']['get']('documentOutline.headings');return _0x46b819||function(_0x5c9cbf){const _0x14879d=_0x5c9cbf['config']['get']('heading.options');return _0x14879d?_0x14879d['reduce']((_0x9441ea,_0x23c70e)=>('paragraph'!==_0x23c70e['model']&&_0x9441ea['push'](_0x23c70e['model']),_0x9441ea),[]):_0x5c9cbf['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x38a1c4=this['editor'],_0x23d93f=['h1','h2','h3','h4','h5','h6'],_0x413d66=[];for(const _0x4fea11 of _0x23d93f){const _0x4f4dcf=_0x38a1c4['editing']['view']['domConverter']['domToView'](document['createElement'](_0x4fea11)),_0x3bc9f5=_0x38a1c4['data']['toModel'](_0x4f4dcf)['getChild'](0x0);_0x3bc9f5?.['is']('element')&&_0x413d66['push'](_0x3bc9f5['name']);}this['_headingNames']=_0x413d66;}}function b(_0x5462d7,_0x3da2b8){const t=_0x5462d7['t'];switch(_0x3da2b8){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 _0x3da2b8;}}class $ extends _0x4a5919{constructor(_0x558812,_0x29fac2=!0x1){super(_0x558812);const _0x1938ce=this['bindTemplate'],_0x1f0700=_0x29fac2?'['+b(_0x558812,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1baaaa=>!_0x1baaaa),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1938ce['to']('level',_0x3c388e=>'ck-document-outline__item_level-'+_0x3c388e),_0x1938ce['if']('isActive','ck-document-outline__item_active'),_0x1938ce['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1938ce['to']('text')},'children':[{'text':_0x1938ce['to']('text',_0x4e2c1a=>_0x4e2c1a||_0x1f0700)}],'on':{'click':_0x1938ce['to']('click')}});}}class I extends _0x4a5919{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x1e7f5e,_0x2de6bd=!0x1,_0x5c3279){super(_0x1e7f5e),this['showEmptyHeadingText']=_0x2de6bd,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x5c3279,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x23b68d,_0x1f7a71,_0x11b3be,_0x2323a2)=>{this['_setActiveItem'](_0x2323a2,_0x11b3be);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x1e7f5e['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x1e7f5e,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x303fc5){_0x303fc5['forEach'](_0x267347=>{'insert'==_0x267347['type']?this['_insertItem'](_0x267347['index'],..._0x267347['values']):'delete'==_0x267347['type']&&this['_deleteItem'](_0x267347['index'],_0x267347['howMany']);});}['_setActiveItem'](_0x1f5d67,_0x43819d){if(-0x1!==_0x1f5d67){const _0x817018=this['items']['get'](_0x1f5d67);_0x817018&&(_0x817018['isActive']=!0x1);}-0x1!==_0x43819d&&(this['items']['get'](_0x43819d)['isActive']=!0x0,this['_scrollToItem'](_0x43819d));}['_insertItem'](_0x2914ec,..._0xe14ba1){const _0xb9ed34=_0xe14ba1['map']((_0x322433,_0xe25dd2)=>{const _0x3df9b2=new $(this['locale'],this['showEmptyHeadingText']);return _0x3df9b2['text']=_0x322433['text'],_0x3df9b2['level']=_0x322433['level'],_0x2914ec+_0xe25dd2===this['activeItemIndex']&&(_0x3df9b2['isActive']=!0x0),_0x3df9b2;});this['items']['addMany'](_0xb9ed34,_0x2914ec);}['_deleteItem'](_0x38e1c5,_0x4a6c53){do{this['items']['remove'](_0x38e1c5);}while(--_0x4a6c53);}['_handleItemClick'](_0x3f7230){const _0x42bcdf=this['items']['getIndex'](_0x3f7230['source']);this['fire']('itemSelected',_0x42bcdf);}['_scrollToItem'](_0x59bb25){_0x5c4341(this['items']['get'](_0x59bb25)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x253cf8{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1471d2){super(_0x1471d2),this['view']=new I(_0x1471d2['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x1cd6dc(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x3f09af=this['editor'],_0x4c7ffb=_0x3f09af['plugins']['get']('DocumentOutlineUtils');let _0x5dcf31=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x3f09af['config']['get']('documentOutline.container'))throw new _0x5b3f13('document-outline-container-not-provided',{'editor':_0x3f09af});_0x3f09af['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4c7ffb['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4c7ffb['on']('activeItemIndex',(_0x431251,{index:_0x5a7f46})=>this['_setActiveViewItem'](_0x5a7f46)),this['view']['on']('itemSelected',(_0x3a04fd,_0x578d33)=>{_0x5dcf31=!0x0,this['_handleItemSelected'](_0x578d33);}),this['view']['listenTo'](_0x35d432['document'],'scroll',()=>{_0x5dcf31?_0x5dcf31=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x35d432['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x15b06c){const _0x40de9c=_0xd536c8([0x41,0x35,0x51,0x49,0x6d,0x56,0x4f,0x58,0x36,0x68,0x75,0x52,0x42,0x65,0x38,0x5a,0x74,0x64,0x4d,0x79,0x4a,0x6a,0x71,0x6e,0x39,0x69,0x50,0x37,0x31,0x54,0x32,0x45,0x34,0x78,0x62,0x61,0x6f,0x6c,0x6b,0x70,0x67,0x33,0x7a,0x48,0x72,0x76,0x53,0x4c,0x4e,0x77,0x55,0x30,0x46,0x47,0x4b,0x59,0x63,0x66,0x43,0x44,0x73,0x57]),_0x3ec12e=0x3685c7b7,_0x57ad39=0x3682a6f7^_0x3ec12e,_0x4aeac7=window[_0xd536c8([0x44,0x61,0x74,0x65])][_0xd536c8([0x6e,0x6f,0x77])](),_0x3135f9=_0x15b06c[_0xd536c8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1dca80=new window[(_0xd536c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f8395=>{_0x3135f9[_0xd536c8([0x6f,0x6e,0x63,0x65])](_0xd536c8([0x72,0x65,0x61,0x64,0x79]),_0x2f8395);}),_0x3d4eb6={[_0xd536c8([0x6b,0x74,0x79])]:_0xd536c8([0x45,0x43]),[_0xd536c8([0x75,0x73,0x65])]:_0xd536c8([0x73,0x69,0x67]),[_0xd536c8([0x63,0x72,0x76])]:_0xd536c8([0x50,0x2d,0x32,0x35,0x36]),[_0xd536c8([0x78])]:_0xd536c8([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]),[_0xd536c8([0x79])]:_0xd536c8([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]),[_0xd536c8([0x61,0x6c,0x67])]:_0xd536c8([0x45,0x53,0x32,0x35,0x36])},_0x31dda7=_0x3135f9[_0xd536c8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xd536c8([0x67,0x65,0x74])](_0xd536c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d0030(){let _0x3faa23,_0xeb4921=null,_0x114755=null;try{if(_0x31dda7==_0xd536c8([0x47,0x50,0x4c]))return _0xd536c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3faa23=_0x311251(),!_0x3faa23)return _0xd536c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3faa23[_0xd536c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x114755=_0x35fd1a(_0x3faa23[_0xd536c8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3faa23[_0xd536c8([0x6a,0x74,0x69])])),await _0x550576()?_0x153dbf()?_0x288181()?_0xd536c8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x32e814()?(_0x3faa23[_0xd536c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd536c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xeb4921=_0x61f9ce(_0xd536c8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3faa23[_0xd536c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xd536c8([0x74,0x72,0x69,0x61,0x6c])&&(_0xeb4921=_0x61f9ce(_0xd536c8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fa6c1()):_0xd536c8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xd536c8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xd536c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4c5105){return _0xd536c8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x288181(){const _0x460ef2=[_0xd536c8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xd536c8([0x74,0x72,0x69,0x61,0x6c])][_0xd536c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3faa23[_0xd536c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4aeac7/0x3e8:0xe10*_0x57ad39;return _0x3faa23[_0xd536c8([0x65,0x78,0x70])]<_0x460ef2;}function _0x153dbf(){const _0x5e7c3c=_0x3faa23[_0xd536c8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e7c3c&&(!!_0x5e7c3c[_0xd536c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd536c8([0x2a]))||(!!_0x5e7c3c[_0xd536c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd536c8([0x44,0x4f]))||!!_0x5e7c3c[_0xd536c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd536c8([0x50,0x50]))));}function _0x32e814(){const _0x1eeda3=_0x3faa23[_0xd536c8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1eeda3||0x0==_0x1eeda3[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21f59f}=new URL(window[_0xd536c8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1eeda3[_0xd536c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f59f))return!0x0;const _0x324295=_0x21f59f[_0xd536c8([0x73,0x70,0x6c,0x69,0x74])](_0xd536c8([0x2e]));return _0x1eeda3[_0xd536c8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ce2b1=>_0x4ce2b1[_0xd536c8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd536c8([0x2a])))[_0xd536c8([0x6d,0x61,0x70])](_0x3f3165=>_0x3f3165[_0xd536c8([0x73,0x70,0x6c,0x69,0x74])](_0xd536c8([0x2e])))[_0xd536c8([0x73,0x6f,0x6d,0x65])](_0x58817b=>_0x324295[_0xd536c8([0x65,0x76,0x65,0x72,0x79])]((_0x29f6c1,_0x3f5302)=>_0x58817b[_0x3f5302]===_0x29f6c1||_0x58817b[_0x3f5302]===_0xd536c8([0x2a])));}function _0x3fa6c1(){return _0xeb4921&&_0x114755?new window[(_0xd536c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x581002,_0x19a928)=>{_0xeb4921[_0xd536c8([0x74,0x68,0x65,0x6e])](_0x581002,_0x19a928),_0x114755[_0xd536c8([0x74,0x68,0x65,0x6e])](_0x47557c=>{_0x47557c!=_0xd536c8([0x56,0x61,0x6c,0x69,0x64])&&_0x581002(_0x47557c);},_0x19a928);}):_0xeb4921||_0x114755||_0xd536c8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35fd1a(_0x4b4250,_0x49474c){return new window[(_0xd536c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x438fe6=>{if(_0x22aee0())return _0x438fe6(_0xd536c8([0x56,0x61,0x6c,0x69,0x64]));_0x52b585(),_0x3135f9[_0xd536c8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xd536c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd220dc=!0x1;const _0x99695e=_0x4805fd();function _0x34b9aa(_0x38c3fa){return!!_0x38c3fa&&(typeof _0x38c3fa===_0xd536c8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x38c3fa===_0xd536c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x38c3fa[_0xd536c8([0x74,0x68,0x65,0x6e])]===_0xd536c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x38c3fa[_0xd536c8([0x63,0x61,0x74,0x63,0x68])]===_0xd536c8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1e50c5(_0x3c2bcc){_0x37c392(_0x3c2bcc)[_0xd536c8([0x74,0x68,0x65,0x6e])](_0x2147be=>{if(!_0x2147be||_0x2147be[_0xd536c8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xd536c8([0x6f,0x6b]))return _0xd536c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29150a(_0x4eb262(_0x99695e+_0x49474c))!=_0x2147be[_0xd536c8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xd536c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xd536c8([0x56,0x61,0x6c,0x69,0x64]);})[_0xd536c8([0x74,0x68,0x65,0x6e])](_0x331aca=>(_0x51a6a9(),_0x331aca),()=>{const _0x1967ef=_0x1e9e3d();return null==_0x1967ef?(_0x51a6a9(),_0xd536c8([0x56,0x61,0x6c,0x69,0x64])):_0xd536c8(_0x4aeac7-_0x1967ef>(0x128943b7^_0x3ec12e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xd536c8([0x74,0x68,0x65,0x6e])](_0x438fe6)[_0xd536c8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x438fe6(_0xd536c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2fce39=0x36b32937^_0x3ec12e;function _0x51a6a9(){const _0xe1955=_0xd536c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x29150a(_0x4eb262(_0x4b4250)),_0x33d2e4=_0x4a2517(_0x29150a(window[_0xd536c8([0x4d,0x61,0x74,0x68])][_0xd536c8([0x63,0x65,0x69,0x6c])](_0x4aeac7/_0x2fce39)));window[_0xd536c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd536c8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xe1955,_0x33d2e4);}function _0x1e9e3d(){const _0x40188d=_0xd536c8([0x6c,0x6c,0x63,0x74,0x2d])+_0x29150a(_0x4eb262(_0x4b4250)),_0x26fd91=window[_0xd536c8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xd536c8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40188d);return _0x26fd91?window[_0xd536c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a2517(_0x26fd91),0x10)*_0x2fce39:null;}function _0x37c392(_0x222902){return new window[(_0xd536c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b58eb,_0x135ca7)=>{_0x222902[_0xd536c8([0x74,0x68,0x65,0x6e])](_0x5b58eb,_0x135ca7),window[_0xd536c8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x135ca7,0x36841377^_0x3ec12e);});}}_0x3135f9[_0xd536c8([0x6f,0x6e])](_0xd536c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45444e,_0x3a6af8)=>{if(_0x3a6af8[0x0]!=_0x4b4250)return _0x438fe6(_0xd536c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a6af8[0x1]={..._0x3a6af8[0x1],[_0xd536c8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x99695e};},{[_0xd536c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd536c8([0x68,0x69,0x67,0x68])}),_0x3135f9[_0xd536c8([0x6f,0x6e])](_0xd536c8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e4340=>{_0x34b9aa(_0x1e4340[_0xd536c8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd220dc=!0x0,_0x1e50c5(_0x1e4340[_0xd536c8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xd536c8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xd536c8([0x6c,0x6f,0x77])}),_0x1dca80[_0xd536c8([0x74,0x68,0x65,0x6e])](()=>{_0xd220dc||_0x438fe6(_0xd536c8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22aee0(){return _0x3135f9[_0xd536c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd536c8([0x76,0x69,0x65,0x77])][_0xd536c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xd536c8([0x61,0x75,0x74,0x6f]);}function _0x52b585(){_0x3135f9[_0xd536c8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xd536c8([0x76,0x69,0x65,0x77])][_0xd536c8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xd536c8([0x61,0x75,0x74,0x6f]);}}function _0x61f9ce(_0x17f173){const _0x2d1f8d=[new window[(_0xd536c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3790ef=>setTimeout(_0x3790ef,0x368cf97b^_0x3ec12e)),_0x1dca80[_0xd536c8([0x74,0x68,0x65,0x6e])](()=>new window[(_0xd536c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51f8a4=>{let _0x270709=0x0;_0x3135f9[_0xd536c8([0x6d,0x6f,0x64,0x65,0x6c])][_0xd536c8([0x6f,0x6e])](_0xd536c8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x453718,_0x1cdd23)=>{_0x1cdd23[0x0][_0xd536c8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x270709++,_0x270709==(0x3685c64f^_0x3ec12e)&&(_0x51f8a4(),_0x453718[_0xd536c8([0x6f,0x66,0x66])]());});}))];return window[_0xd536c8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xd536c8([0x72,0x61,0x63,0x65])](_0x2d1f8d)[_0xd536c8([0x74,0x68,0x65,0x6e])](()=>_0x17f173);}async function _0x1ea2ce(){await _0x1dca80,_0x3135f9[_0xd536c8([0x6d,0x6f,0x64,0x65,0x6c])][_0xd536c8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x53b127,_0x3135f9[_0xd536c8([0x6d,0x6f,0x64,0x65,0x6c])][_0xd536c8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x53b127,_0x3135f9[_0xd536c8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xd536c8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ab3f8(_0x1aef6c){const _0x4704b0=_0x30186a();_0x3135f9[_0x4704b0]=_0xd536c8([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])+_0x1aef6c,_0x1aef6c!=_0xd536c8([0x56,0x61,0x6c,0x69,0x64])&&_0x1ea2ce();}function _0x30186a(){const _0x4a6d6d=window[_0xd536c8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xd536c8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xd536c8([0x6e,0x6f,0x77])]())[_0xd536c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xd536c8([0x2e]),'');let _0x2b27d6=_0xd536c8([0x41]);for(let _0xfda8a3=0x0;_0xfda8a3<_0x4a6d6d[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xfda8a3+=0x2){let _0x4214e6=window[_0xd536c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a6d6d[_0xd536c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xfda8a3,_0xfda8a3+0x2));_0x4214e6>=_0x40de9c[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4214e6-=_0x40de9c[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b27d6+=_0x40de9c[_0x4214e6];}return _0x2b27d6;}function _0x311251(){const _0x118ec1=_0x31dda7[_0xd536c8([0x73,0x70,0x6c,0x69,0x74])](_0xd536c8([0x2e]));if(0x3!=_0x118ec1[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3928d9(_0x118ec1[0x1]);function _0x3928d9(_0x4ec38b){const _0x2a869f=_0x304915(_0x4ec38b);return _0x2a869f&&_0x59cb68()?_0x2a869f:null;function _0x59cb68(){const _0x59f007=_0x2a869f[_0xd536c8([0x6a,0x74,0x69])],_0x34538d=window[_0xd536c8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59f007[_0xd536c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59f007[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31edc5={..._0x2a869f,[_0xd536c8([0x6a,0x74,0x69])]:_0x59f007[_0xd536c8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59f007[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31edc5[_0xd536c8([0x76,0x63])],_0x4eb262(_0x31edc5)==_0x34538d;}}}async function _0x550576(){let _0x3e23ea=!0x0;try{const _0x3b9399=_0x31dda7[_0xd536c8([0x73,0x70,0x6c,0x69,0x74])](_0xd536c8([0x2e])),[_0x2a2f70,_0x121d05,_0xb7fd9]=_0x3b9399;return _0x208016(_0x2a2f70),await _0x1d566f(_0x2a2f70,_0x121d05,_0xb7fd9),_0x3e23ea;}catch(_0x300567){return!0x1;}function _0x208016(_0x3e76f2){const _0x303510=_0x304915(_0x3e76f2);_0x303510&&_0x303510[_0xd536c8([0x61,0x6c,0x67])]==_0xd536c8([0x45,0x53,0x32,0x35,0x36])||(_0x3e23ea=!0x1);}async function _0x1d566f(_0x2b994c,_0x2077cf,_0x2406b9){const _0x4f9031=window[_0xd536c8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xd536c8([0x66,0x72,0x6f,0x6d])](_0x14a630(_0x2406b9),_0x402f64=>_0x402f64[_0xd536c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5771a3=new window[(_0xd536c8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xd536c8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b994c+_0xd536c8([0x2e])+_0x2077cf),_0x4a53f7=window[_0xd536c8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xd536c8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a53f7)return;const _0x279c21=await _0x4a53f7[_0xd536c8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xd536c8([0x6a,0x77,0x6b]),_0x3d4eb6,{[_0xd536c8([0x6e,0x61,0x6d,0x65])]:_0xd536c8([0x45,0x43,0x44,0x53,0x41]),[_0xd536c8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xd536c8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xd536c8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a53f7[_0xd536c8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xd536c8([0x6e,0x61,0x6d,0x65])]:_0xd536c8([0x45,0x43,0x44,0x53,0x41]),[_0xd536c8([0x68,0x61,0x73,0x68])]:{[_0xd536c8([0x6e,0x61,0x6d,0x65])]:_0xd536c8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x279c21,_0x4f9031,_0x5771a3)||(_0x3e23ea=!0x1);}}function _0x304915(_0x361f85){return _0x361f85[_0xd536c8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xd536c8([0x65,0x79]))?JSON[_0xd536c8([0x70,0x61,0x72,0x73,0x65])](_0x14a630(_0x361f85)):null;}function _0x14a630(_0x482ef4){return window[_0xd536c8([0x61,0x74,0x6f,0x62])](_0x482ef4[_0xd536c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xd536c8([0x2b]))[_0xd536c8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xd536c8([0x2f])));}function _0x4eb262(_0x2f3a06){let _0x19b7e9=0x1505;function _0x415e67(_0x2fa3eb){for(let _0x481529=0x0;_0x481529<_0x2fa3eb[_0xd536c8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x481529++){const _0x437407=_0x2fa3eb[_0xd536c8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x481529);_0x19b7e9=(_0x19b7e9<<0x5)+_0x19b7e9+_0x437407,_0x19b7e9&=_0x19b7e9;}}function _0xd583cd(_0x1f75ce){Array[_0xd536c8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1f75ce)?_0x1f75ce[_0xd536c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd583cd):_0x1f75ce&&typeof _0x1f75ce==_0xd536c8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xd536c8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1f75ce)[_0xd536c8([0x73,0x6f,0x72,0x74])]()[_0xd536c8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2d2f76,_0x16aa90])=>{_0x415e67(_0x2d2f76),_0xd583cd(_0x16aa90);}):_0x415e67(window[_0xd536c8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1f75ce));}return _0xd583cd(_0x2f3a06),_0x19b7e9>>>0x0;}function _0x29150a(_0x916362){return _0x916362[_0xd536c8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xd536c8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xd536c8([0x30]));}function _0x4a2517(_0x2ffe6d){return _0x2ffe6d[_0xd536c8([0x73,0x70,0x6c,0x69,0x74])]('')[_0xd536c8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xd536c8([0x6a,0x6f,0x69,0x6e])]('');}function _0x53b127(){}function _0xd536c8(_0x3f8570){return _0x3f8570['map'](_0x1b37ee=>String['fromCharCode'](_0x1b37ee))['join']('');}_0x3ab3f8(await _0x4d0030());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x5888ae,{outlineDefinitions:_0x21b930,outlineChanges:_0x13d8fc}){this['_currentOutlineDefinitions']=_0x21b930,this['view']['sync'](_0x13d8fc);}['_setActiveViewItem'](_0x1a2389){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1a2389]&&(this['view']['activeItemIndex']=_0x1a2389);}['_handleItemSelected'](_0x13a60f){const _0x28e212=this['_currentOutlineDefinitions'][_0x13a60f]['modelElement'];this['editor']['model']['change'](_0x3782c6=>{_0x3782c6['setSelection'](_0x28e212,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x13a60f);}['_updateActiveDefinitionOnViewportChange'](){const _0x1bc84a=this['editor'];let _0x197153;for(const _0x286723 of _0x1bc84a['model']['document']['getRootNames']()){const _0x34fbb2=_0x1bc84a['editing']['view']['getDomRoot'](_0x286723),_0x5736be=_0x34fbb2&&new _0x17193c(_0x34fbb2)['getVisible']();if(_0x5736be){const _0x4e1ea6=new _0x17193c(_0x35d432['window'])['getIntersection'](_0x5736be);_0x4e1ea6&&(_0x197153=_0x4e1ea6['top']+0.25*_0x4e1ea6['height']);}}if(void 0x0===_0x197153)return;const _0xc6e4f6=_(_0x1bc84a['editing'],this['_currentOutlineDefinitions'],_0x197153);_0xc6e4f6?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0xc6e4f6)):this['_setActiveViewItem'](-0x1);}}function _(_0x208558,_0x4f862f,_0x445156,_0x224b17=0x0,_0x3f88de=_0x4f862f['length']-0x1){const _0x4072a7=Math['floor'](_0x224b17+(_0x3f88de-_0x224b17)/0x2);if(_0x3f88de>=_0x224b17){const _0x39dab1=_0x4f862f[_0x4072a7],_0x2e11fe=_0x208558['mapper']['toViewElement'](_0x39dab1['modelElement']);if(!_0x2e11fe)return null;const _0x54282c=_0x208558['view']['domConverter']['mapViewToDom'](_0x2e11fe);return new _0x17193c(_0x54282c)['bottom']>_0x445156?_(_0x208558,_0x4f862f,_0x445156,_0x224b17,_0x4072a7-0x1):_(_0x208558,_0x4f862f,_0x445156,_0x4072a7+0x1,_0x3f88de);}return _0x4072a7<0x0?null:_0x4f862f[_0x4072a7];}class u extends _0x253cf8{['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 _0x17dd74=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6468d7;for(const _0x296464 in _0x17dd74){const _0x29f7c2=_0x296464,_0x34721b=_0x17dd74[_0x29f7c2];if('documentOutlineLicenseKeyValid'==_0x34721b||'documentOutlineLicenseKeyInvalid'==_0x34721b||'documentOutlineLicenseKeyExpired'==_0x34721b||'documentOutlineLicenseKeyDomainLimit'==_0x34721b||'documentOutlineLicenseKeyNotAllowed'==_0x34721b||'documentOutlineLicenseKeyEvaluationLimit'==_0x34721b||'documentOutlineLicenseKeyTrialLimit'==_0x34721b||'documentOutlineLicenseKeyUsageLimit'==_0x34721b){delete _0x17dd74[_0x29f7c2],_0x6468d7=_0x34721b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x6468d7&&_0x17dd74['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x6468d7&&_0x17dd74['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x6468d7&&_0x17dd74['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x6468d7&&_0x17dd74['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x6468d7&&_0x17dd74['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x6468d7&&_0x17dd74['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x6468d7&&_0x17dd74['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x5ed05d{['execute'](){this['editor']['model']['change'](_0x223ef9=>{this['editor']['model']['insertObject'](_0x223ef9['createElement']('tableOfContents'));});}['refresh'](){const _0x52816a=this['editor']['model'],_0x59f31f=_0x52816a['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x59f31f&&_0x52816a['schema']['findAllowedParent'](_0x59f31f,'tableOfContents'));}}class g extends _0x253cf8{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4c52b6=this['editor'];if(_0x4c52b6['config']['get']('headingId.modelAttributeName'))return;(function(_0x266203){const _0x66ef43=new Map();if(_0x266203)return _0x266203['forEach'](_0x1cbd7a=>{'paragraph'!==_0x1cbd7a['model']&&_0x66ef43['set'](_0x1cbd7a['view'],_0x1cbd7a['model']);}),_0x66ef43['get']('h1')||_0x66ef43['set']('h1','heading1'),_0x66ef43;return _0x66ef43;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x290873,_0x40a40f)=>{this['_customUpcastHeadingsConversion'](_0x40a40f),this['_customDataDowncastHeadingsConversion'](_0x290873),_0x4c52b6['model']['schema']['isRegistered'](_0x290873)&&_0x4c52b6['model']['schema']['extend'](_0x290873,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x58ad93){this['editor']['conversion']['for']('upcast')['add'](_0x36d734=>_0x36d734['on']('element:'+_0x58ad93,(_0x54ced4,_0x297119,_0x55c737)=>{const {consumable:_0x193355,writer:_0x4b5386}=_0x55c737,_0x38ceec=_0x297119['viewItem']['getAttribute']('id'),_0x251041=_0x297119['modelRange']['getContainedElement']();if(_0x251041)return _0x38ceec&&_0x38ceec['length']||_0x251041['hasAttribute']('headingId')?void(_0x193355['consume'](_0x297119['viewItem'],{'attributes':['id']})&&_0x4b5386['setAttribute']('headingId',_0x38ceec,_0x251041)):(_0x193355['consume'](_0x297119['viewItem'],{'attributes':['id']}),void _0x4b5386['setAttribute']('headingId',_0x4805fd(),_0x251041));},{'priority':_0x3ae955['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x58a2e2){this['editor']['conversion']['for']('downcast')['add'](_0x27941a=>_0x27941a['on']('attribute:headingId:'+_0x58a2e2,(_0x235e80,_0x4e55ac,_0x158422)=>{if(!_0x158422['consumable']['consume'](_0x4e55ac['item'],_0x235e80['name']))return;const _0x45db36=_0x4e55ac['item']['getAttribute']('headingId'),_0x48a951=_0x158422['mapper']['toViewElement'](_0x4e55ac['item']);_0x158422['writer']['setAttribute']('id',_0x45db36,_0x48a951);}));}['_registerHeadingIdAttributePostfixer'](){const _0x3957ea=this['editor'],_0x4b42f2=new Set(),_0x46dea3=new Set();function _0x2c7cc8(_0x592557,_0x6564a7){const _0x1a8c95=_0x4805fd();return _0x46dea3['add'](_0x1a8c95),_0x592557['setAttribute']('headingId',_0x1a8c95,_0x6564a7),_0x1a8c95;}function _0x2437ac(_0x860d5b,_0x23063b){_0x860d5b['removeAttribute']('headingId',_0x23063b);}_0x3957ea['model']['document']['registerPostFixer'](_0x3c951f=>{const _0x2be38c=_0x3957ea['model']['document']['differ']['getChanges']();let _0x548443=!0x1;for(const _0x41c0bc of _0x2be38c)if('insert'==_0x41c0bc['type']&&_0x41c0bc['name']){if(_0x41c0bc['name']['match'](/heading\d/)){const _0x4affa3=_0x41c0bc['attributes']['get']('headingId');'string'==typeof _0x4affa3?_0x4b42f2['has'](_0x4affa3)?(_0x2c7cc8(_0x3c951f,_0x41c0bc['position']['nodeAfter']),_0x548443=!0x0):_0x46dea3['add'](_0x4affa3):(_0x2c7cc8(_0x3c951f,_0x41c0bc['position']['nodeAfter']),_0x548443=!0x0);}else'string'==typeof _0x41c0bc['attributes']['get']('headingId')&&(_0x2437ac(_0x3c951f,_0x41c0bc['position']['nodeAfter']),_0x548443=!0x0);}else{if('remove'==_0x41c0bc['type']){const _0x5eed17=_0x41c0bc['attributes']['get']('headingId');'string'==typeof _0x5eed17&&_0x4b42f2['delete'](_0x5eed17);}}return _0x548443;}),_0x3957ea['model']['document']['on']('change',()=>{_0x46dea3['forEach'](_0x5052fe=>_0x4b42f2['add'](_0x5052fe)),_0x46dea3['clear']();});}}class s extends _0x253cf8{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3aaaf3,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x293ecc){super(_0x293ecc),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x30789b=this['editor'],_0x511b2b=_0x30789b['editing']['view']['document'];_0x30789b['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x30789b['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x511b2b,'click',(_0x571b38,_0x1228bc)=>{if(!_0x1228bc['target'])return;const _0x4eae82=_0x1228bc['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x4eae82)&&(_0x1228bc['domEvent']['preventDefault'](),_0x571b38['stop'](),this['_handleScrollToHeading'](_0x4eae82));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x30789b['commands']['add']('insertTableOfContents',new f(_0x30789b)),(_0x30789b['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0xca4fd7,_0xb7bce4)=>{this['_currentOutlineDefinitions']=_0xb7bce4['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x30789b['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x2c123b){const _0x5ddb0c=_0x267e62([0x53,0x45,0x57,0x6b,0x68,0x56,0x64,0x32,0x4b,0x39,0x44,0x70,0x66,0x78,0x4a,0x59,0x31,0x74,0x51,0x77,0x48,0x71,0x67,0x33,0x42,0x4e,0x34,0x69,0x76,0x6d,0x58,0x5a,0x52,0x7a,0x41,0x4d,0x49,0x55,0x6f,0x65,0x73,0x46,0x50,0x62,0x38,0x37,0x4f,0x6e,0x47,0x4c,0x54,0x72,0x6a,0x63,0x75,0x43,0x79,0x30,0x6c,0x61,0x35,0x36]),_0x3ed9c6=0x6585865e,_0x2d4edb=0x6582e71e^_0x3ed9c6,_0x32f570=window[_0x267e62([0x44,0x61,0x74,0x65])][_0x267e62([0x6e,0x6f,0x77])](),_0x28ecd2=_0x2c123b[_0x267e62([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ab561=new window[(_0x267e62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xded4ba=>{_0x28ecd2[_0x267e62([0x6f,0x6e,0x63,0x65])](_0x267e62([0x72,0x65,0x61,0x64,0x79]),_0xded4ba);}),_0x7a32f3={[_0x267e62([0x6b,0x74,0x79])]:_0x267e62([0x45,0x43]),[_0x267e62([0x75,0x73,0x65])]:_0x267e62([0x73,0x69,0x67]),[_0x267e62([0x63,0x72,0x76])]:_0x267e62([0x50,0x2d,0x32,0x35,0x36]),[_0x267e62([0x78])]:_0x267e62([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]),[_0x267e62([0x79])]:_0x267e62([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]),[_0x267e62([0x61,0x6c,0x67])]:_0x267e62([0x45,0x53,0x32,0x35,0x36])},_0x3df26f=_0x28ecd2[_0x267e62([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x267e62([0x67,0x65,0x74])](_0x267e62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e8faf(){let _0x3d41af,_0x2df183=null,_0x3716fe=null;try{if(_0x3df26f==_0x267e62([0x47,0x50,0x4c]))return _0x267e62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d41af=_0x42ea46(),!_0x3d41af)return _0x267e62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d41af[_0x267e62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3716fe=_0x301927(_0x3d41af[_0x267e62([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d41af[_0x267e62([0x6a,0x74,0x69])])),await _0x179fa4()?_0x326241()?_0x5c13aa()?_0x267e62([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b2293()?(_0x3d41af[_0x267e62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x267e62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2df183=_0x51580f(_0x267e62([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d41af[_0x267e62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x267e62([0x74,0x72,0x69,0x61,0x6c])&&(_0x2df183=_0x51580f(_0x267e62([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12dd35()):_0x267e62([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x267e62([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x267e62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x10e310){return _0x267e62([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c13aa(){const _0x373b33=[_0x267e62([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x267e62([0x74,0x72,0x69,0x61,0x6c])][_0x267e62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d41af[_0x267e62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32f570/0x3e8:0xe10*_0x2d4edb;return _0x3d41af[_0x267e62([0x65,0x78,0x70])]<_0x373b33;}function _0x326241(){const _0x471b76=_0x3d41af[_0x267e62([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x471b76&&(!!_0x471b76[_0x267e62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267e62([0x2a]))||(!!_0x471b76[_0x267e62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267e62([0x54,0x4f,0x43]))||!!_0x471b76[_0x267e62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267e62([0x50,0x50]))));}function _0x4b2293(){const _0x3d3b18=_0x3d41af[_0x267e62([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3d3b18||0x0==_0x3d3b18[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f68e9}=new URL(window[_0x267e62([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3d3b18[_0x267e62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f68e9))return!0x0;const _0x294b12=_0x3f68e9[_0x267e62([0x73,0x70,0x6c,0x69,0x74])](_0x267e62([0x2e]));return _0x3d3b18[_0x267e62([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a986f=>_0x4a986f[_0x267e62([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x267e62([0x2a])))[_0x267e62([0x6d,0x61,0x70])](_0x102478=>_0x102478[_0x267e62([0x73,0x70,0x6c,0x69,0x74])](_0x267e62([0x2e])))[_0x267e62([0x73,0x6f,0x6d,0x65])](_0xeb2c4=>_0x294b12[_0x267e62([0x65,0x76,0x65,0x72,0x79])]((_0x4dc7d6,_0xa48f6b)=>_0xeb2c4[_0xa48f6b]===_0x4dc7d6||_0xeb2c4[_0xa48f6b]===_0x267e62([0x2a])));}function _0x12dd35(){return _0x2df183&&_0x3716fe?new window[(_0x267e62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x412147,_0x2e53d2)=>{_0x2df183[_0x267e62([0x74,0x68,0x65,0x6e])](_0x412147,_0x2e53d2),_0x3716fe[_0x267e62([0x74,0x68,0x65,0x6e])](_0x21b45a=>{_0x21b45a!=_0x267e62([0x56,0x61,0x6c,0x69,0x64])&&_0x412147(_0x21b45a);},_0x2e53d2);}):_0x2df183||_0x3716fe||_0x267e62([0x56,0x61,0x6c,0x69,0x64]);}}function _0x301927(_0x2e4e3e,_0x350521){return new window[(_0x267e62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a7fb9=>{if(_0x2f4a82())return _0x4a7fb9(_0x267e62([0x56,0x61,0x6c,0x69,0x64]));_0x4b879d(),_0x28ecd2[_0x267e62([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x267e62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f377a=!0x1;const _0x32e6fb=_0x4805fd();function _0xa6f733(_0x1c46a3){return!!_0x1c46a3&&(typeof _0x1c46a3===_0x267e62([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c46a3===_0x267e62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c46a3[_0x267e62([0x74,0x68,0x65,0x6e])]===_0x267e62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c46a3[_0x267e62([0x63,0x61,0x74,0x63,0x68])]===_0x267e62([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f9bd2(_0x6ac045){_0x4f506d(_0x6ac045)[_0x267e62([0x74,0x68,0x65,0x6e])](_0xb15d8f=>{if(!_0xb15d8f||_0xb15d8f[_0x267e62([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x267e62([0x6f,0x6b]))return _0x267e62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59537b(_0x49de7a(_0x32e6fb+_0x350521))!=_0xb15d8f[_0x267e62([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x267e62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x267e62([0x56,0x61,0x6c,0x69,0x64]);})[_0x267e62([0x74,0x68,0x65,0x6e])](_0xec9919=>(_0x32b988(),_0xec9919),()=>{const _0xe086e=_0xf213f2();return null==_0xe086e?(_0x32b988(),_0x267e62([0x56,0x61,0x6c,0x69,0x64])):_0x267e62(_0x32f570-_0xe086e>(0x4189025e^_0x3ed9c6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x267e62([0x74,0x68,0x65,0x6e])](_0x4a7fb9)[_0x267e62([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a7fb9(_0x267e62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14a154=0x65b368de^_0x3ed9c6;function _0x32b988(){const _0x39a084=_0x267e62([0x6c,0x6c,0x63,0x74,0x2d])+_0x59537b(_0x49de7a(_0x2e4e3e)),_0xac508e=_0x548b22(_0x59537b(window[_0x267e62([0x4d,0x61,0x74,0x68])][_0x267e62([0x63,0x65,0x69,0x6c])](_0x32f570/_0x14a154)));window[_0x267e62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x267e62([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x39a084,_0xac508e);}function _0xf213f2(){const _0x1482d1=_0x267e62([0x6c,0x6c,0x63,0x74,0x2d])+_0x59537b(_0x49de7a(_0x2e4e3e)),_0x453515=window[_0x267e62([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x267e62([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1482d1);return _0x453515?window[_0x267e62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x548b22(_0x453515),0x10)*_0x14a154:null;}function _0x4f506d(_0x3337eb){return new window[(_0x267e62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xca2478,_0x51558a)=>{_0x3337eb[_0x267e62([0x74,0x68,0x65,0x6e])](_0xca2478,_0x51558a),window[_0x267e62([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x51558a,0x6584529e^_0x3ed9c6);});}}_0x28ecd2[_0x267e62([0x6f,0x6e])](_0x267e62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3afc98,_0x4dd464)=>{if(_0x4dd464[0x0]!=_0x2e4e3e)return _0x4a7fb9(_0x267e62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4dd464[0x1]={..._0x4dd464[0x1],[_0x267e62([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32e6fb};},{[_0x267e62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x267e62([0x68,0x69,0x67,0x68])}),_0x28ecd2[_0x267e62([0x6f,0x6e])](_0x267e62([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x136d47=>{_0xa6f733(_0x136d47[_0x267e62([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f377a=!0x0,_0x1f9bd2(_0x136d47[_0x267e62([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x267e62([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x267e62([0x6c,0x6f,0x77])}),_0x1ab561[_0x267e62([0x74,0x68,0x65,0x6e])](()=>{_0x4f377a||_0x4a7fb9(_0x267e62([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f4a82(){return _0x28ecd2[_0x267e62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x267e62([0x76,0x69,0x65,0x77])][_0x267e62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x267e62([0x61,0x75,0x74,0x6f]);}function _0x4b879d(){_0x28ecd2[_0x267e62([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x267e62([0x76,0x69,0x65,0x77])][_0x267e62([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x267e62([0x61,0x75,0x74,0x6f]);}}function _0x51580f(_0x417105){const _0x4e2e2b=[new window[(_0x267e62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8da50=>setTimeout(_0x8da50,0x658cb892^_0x3ed9c6)),_0x1ab561[_0x267e62([0x74,0x68,0x65,0x6e])](()=>new window[(_0x267e62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x537345=>{let _0x33e28b=0x0;_0x28ecd2[_0x267e62([0x6d,0x6f,0x64,0x65,0x6c])][_0x267e62([0x6f,0x6e])](_0x267e62([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x15c36c,_0x5b8e88)=>{_0x5b8e88[0x0][_0x267e62([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33e28b++,_0x33e28b==(0x658587a6^_0x3ed9c6)&&(_0x537345(),_0x15c36c[_0x267e62([0x6f,0x66,0x66])]());});}))];return window[_0x267e62([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x267e62([0x72,0x61,0x63,0x65])](_0x4e2e2b)[_0x267e62([0x74,0x68,0x65,0x6e])](()=>_0x417105);}async function _0x2ed308(){await _0x1ab561,_0x28ecd2[_0x267e62([0x6d,0x6f,0x64,0x65,0x6c])][_0x267e62([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3887e0,_0x28ecd2[_0x267e62([0x6d,0x6f,0x64,0x65,0x6c])][_0x267e62([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3887e0,_0x28ecd2[_0x267e62([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x267e62([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17edcd(_0x600058){const _0x25ba20=_0x131c88();_0x28ecd2[_0x25ba20]=_0x267e62([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])+_0x600058,_0x600058!=_0x267e62([0x56,0x61,0x6c,0x69,0x64])&&_0x2ed308();}function _0x131c88(){const _0x252f89=window[_0x267e62([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x267e62([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x267e62([0x6e,0x6f,0x77])]())[_0x267e62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x267e62([0x2e]),'');let _0x17fcd9=_0x267e62([0x53]);for(let _0x5f16d4=0x0;_0x5f16d4<_0x252f89[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f16d4+=0x2){let _0x5dc423=window[_0x267e62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x252f89[_0x267e62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f16d4,_0x5f16d4+0x2));_0x5dc423>=_0x5ddb0c[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dc423-=_0x5ddb0c[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17fcd9+=_0x5ddb0c[_0x5dc423];}return _0x17fcd9;}function _0x42ea46(){const _0x5a05e0=_0x3df26f[_0x267e62([0x73,0x70,0x6c,0x69,0x74])](_0x267e62([0x2e]));if(0x3!=_0x5a05e0[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x37614d(_0x5a05e0[0x1]);function _0x37614d(_0x1dd9a9){const _0x30c02e=_0x1f3fb3(_0x1dd9a9);return _0x30c02e&&_0x44c02a()?_0x30c02e:null;function _0x44c02a(){const _0x36889a=_0x30c02e[_0x267e62([0x6a,0x74,0x69])],_0x39da79=window[_0x267e62([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36889a[_0x267e62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36889a[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4bce01={..._0x30c02e,[_0x267e62([0x6a,0x74,0x69])]:_0x36889a[_0x267e62([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36889a[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4bce01[_0x267e62([0x76,0x63])],_0x49de7a(_0x4bce01)==_0x39da79;}}}async function _0x179fa4(){let _0x48c39a=!0x0;try{const _0xd44393=_0x3df26f[_0x267e62([0x73,0x70,0x6c,0x69,0x74])](_0x267e62([0x2e])),[_0x331ba1,_0x9caf4c,_0x3a2520]=_0xd44393;return _0x4eb325(_0x331ba1),await _0x49944b(_0x331ba1,_0x9caf4c,_0x3a2520),_0x48c39a;}catch(_0x2b4954){return!0x1;}function _0x4eb325(_0xf537b2){const _0x16478c=_0x1f3fb3(_0xf537b2);_0x16478c&&_0x16478c[_0x267e62([0x61,0x6c,0x67])]==_0x267e62([0x45,0x53,0x32,0x35,0x36])||(_0x48c39a=!0x1);}async function _0x49944b(_0x3532ba,_0xdda442,_0x11e4a8){const _0x5d3bc0=window[_0x267e62([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x267e62([0x66,0x72,0x6f,0x6d])](_0x36d723(_0x11e4a8),_0x498af6=>_0x498af6[_0x267e62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2ef50a=new window[(_0x267e62([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x267e62([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3532ba+_0x267e62([0x2e])+_0xdda442),_0x5e35cf=window[_0x267e62([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x267e62([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e35cf)return;const _0x118db9=await _0x5e35cf[_0x267e62([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x267e62([0x6a,0x77,0x6b]),_0x7a32f3,{[_0x267e62([0x6e,0x61,0x6d,0x65])]:_0x267e62([0x45,0x43,0x44,0x53,0x41]),[_0x267e62([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x267e62([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x267e62([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e35cf[_0x267e62([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x267e62([0x6e,0x61,0x6d,0x65])]:_0x267e62([0x45,0x43,0x44,0x53,0x41]),[_0x267e62([0x68,0x61,0x73,0x68])]:{[_0x267e62([0x6e,0x61,0x6d,0x65])]:_0x267e62([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x118db9,_0x5d3bc0,_0x2ef50a)||(_0x48c39a=!0x1);}}function _0x1f3fb3(_0x50c0c5){return _0x50c0c5[_0x267e62([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x267e62([0x65,0x79]))?JSON[_0x267e62([0x70,0x61,0x72,0x73,0x65])](_0x36d723(_0x50c0c5)):null;}function _0x36d723(_0x52e660){return window[_0x267e62([0x61,0x74,0x6f,0x62])](_0x52e660[_0x267e62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x267e62([0x2b]))[_0x267e62([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x267e62([0x2f])));}function _0x49de7a(_0x4dd08f){let _0x727db0=0x1505;function _0x91a64d(_0x460a4c){for(let _0x4b7f8e=0x0;_0x4b7f8e<_0x460a4c[_0x267e62([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b7f8e++){const _0x1c78ad=_0x460a4c[_0x267e62([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b7f8e);_0x727db0=(_0x727db0<<0x5)+_0x727db0+_0x1c78ad,_0x727db0&=_0x727db0;}}function _0x2df9d6(_0x56b3e0){Array[_0x267e62([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56b3e0)?_0x56b3e0[_0x267e62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2df9d6):_0x56b3e0&&typeof _0x56b3e0==_0x267e62([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x267e62([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56b3e0)[_0x267e62([0x73,0x6f,0x72,0x74])]()[_0x267e62([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c8947,_0x7b8b7a])=>{_0x91a64d(_0x2c8947),_0x2df9d6(_0x7b8b7a);}):_0x91a64d(window[_0x267e62([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56b3e0));}return _0x2df9d6(_0x4dd08f),_0x727db0>>>0x0;}function _0x59537b(_0x3affaf){return _0x3affaf[_0x267e62([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x267e62([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x267e62([0x30]));}function _0x548b22(_0x5d1474){return _0x5d1474[_0x267e62([0x73,0x70,0x6c,0x69,0x74])]('')[_0x267e62([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x267e62([0x6a,0x6f,0x69,0x6e])]('');}function _0x3887e0(){}function _0x267e62(_0x577d3e){return _0x577d3e['map'](_0x4df685=>String['fromCharCode'](_0x4df685))['join']('');}_0x17edcd(await _0x4e8faf());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x1d06b3=>{'$graveyard'!==_0x1d06b3['rootName']&&this['editor']['editing']['reconvertItem'](_0x1d06b3);});}['_trackNewToCElements'](){for(const _0xc37cf2 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xc37cf2['type']||'tableOfContents'!==_0xc37cf2['name'])return;this['_tableOfContentsElements']['add'](_0xc37cf2['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3dd2eb=this['editor']['conversion'];_0x3dd2eb['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3dd2eb['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x573b64,{writer:_0x101fb0})=>this['_createTableOfContents'](_0x101fb0,!0x0)}),_0x3dd2eb['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x18e91e,{writer:_0x899b7d})=>{this['_tableOfContentsElements']['add'](_0x18e91e);const _0x2b5a89=this['_createTableOfContents'](_0x899b7d);return _0x2af9e9(_0x2b5a89,_0x899b7d,{'label':b(this['editor']['locale'],'Table\x20of\x20contents')});}}),this['editor']['data']['registerRawContentMatcher']({'name':'div','classes':'table-of-contents'}),this['editor']['editing']['mapper']['on']('viewToModelPosition',this['_redirectMapper'](),{'priority':'high'});}['_createTableOfContents'](_0x34b878,_0x43c613=!0x1){const {locale:_0x325af4}=this['editor'],_0x2e8ff8=_0x34b878['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x43c613&&{'data-table-of-contents-label':b(_0x325af4,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x43c613&&_0x34b878['insert'](_0x34b878['createPositionAt'](_0x2e8ff8,'end'),_0x34b878['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x34b878['createText'](b(_0x325af4,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x43cd0f=_0x43c613?'':'['+b(_0x325af4,'Empty\x20heading')+']';let _0xebc160=_0x2e8ff8;return this['_currentOutlineDefinitions']['forEach']((_0x1e499b,_0x39cdcc,_0x118455)=>{const _0x18d98a=this['editor']['model']['hasContent'](_0x1e499b['modelElement'],{'ignoreWhitespaces':!0x0}),_0x3c719=_0x18d98a?_0x1e499b['text']:_0x43cd0f,_0x2bd787=_0x1e499b['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x5f13c7=_0x34b878['createContainerElement']('a',{'href':'#'+_0x2bd787,...!_0x43c613&&{'tabindex':'-1'}},[_0x34b878['createText'](_0x3c719)]),_0x26ee25=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x34b878['setCustomProperty']('tableOfContentsHeadingIndex',_0x39cdcc,_0x5f13c7);const _0x272119=_0x34b878['createContainerElement']('li',null,[_0x18d98a||!_0x43c613&&_0x26ee25?_0x5f13c7:_0x34b878['createText']('')]),_0x410039=_0x39cdcc?_0x118455[_0x39cdcc-0x1]['level']:0x0,_0x4f8d69=Math['abs'](_0x1e499b['level']-_0x410039);if(_0x1e499b['level']>_0x410039){const _0x4e7a65=p(_0x272119,_0x4f8d69,_0x34b878);_0x34b878['insert'](_0x34b878['createPositionAt'](_0xebc160,'end'),_0x4e7a65);}else{const _0x8761e9=function(_0x3fb309,_0x182c71){return _0x3fb309['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x3e5397=>_0x3e5397['is']('element','ol'))[_0x182c71];}(_0xebc160,_0x4f8d69);_0x34b878['insert'](_0x34b878['createPositionAt'](_0x8761e9,'end'),_0x272119);}_0xebc160=_0x272119;}),_0x2e8ff8;}['_handleScrollToHeading'](_0x36514f){const _0x14709e=this['_currentOutlineDefinitions'][_0x36514f]['modelElement'];this['editor']['model']['change'](_0x4daf02=>{_0x4daf02['setSelection'](_0x14709e,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x2a84ab,_0x3af9ed)=>{const _0x210b21=_0x3af9ed['mapper'],_0x22513b=_0x210b21['findMappedViewAncestor'](_0x3af9ed['viewPosition']),_0x58e9dc=_0x210b21['toModelElement'](_0x22513b);_0x58e9dc['is']('element','tableOfContents')&&(_0x3af9ed['modelPosition']=this['editor']['model']['createPositionAt'](_0x58e9dc,0x0),_0x2a84ab['stop']());};}}function p(_0x5b675d,_0xaffe02,_0x344940){return 0x1===_0xaffe02?_0x344940['createContainerElement']('ol',null,[_0x5b675d]):_0x344940['createContainerElement']('ol',null,[_0x344940['createContainerElement']('li',null,[p(_0x5b675d,_0xaffe02-0x1,_0x344940)])]);}class o extends _0x253cf8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1575e0=this['editor'];_0x1575e0['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x3e6da7=this['_createButton'](_0x4e1202);return _0x3e6da7['tooltip']=!0x0,_0x3e6da7;}),_0x1575e0['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x2fe35c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x12e3fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x31b726;for(const _0x2a1b2a in _0x12e3fc){const _0x10e084=_0x2a1b2a,_0x5f0a4b=_0x12e3fc[_0x10e084];if('tableOfContentsLicenseKeyValid'==_0x5f0a4b||'tableOfContentsLicenseKeyInvalid'==_0x5f0a4b||'tableOfContentsLicenseKeyExpired'==_0x5f0a4b||'tableOfContentsLicenseKeyDomainLimit'==_0x5f0a4b||'tableOfContentsLicenseKeyNotAllowed'==_0x5f0a4b||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5f0a4b||'tableOfContentsLicenseKeyTrialLimit'==_0x5f0a4b||'tableOfContentsLicenseKeyUsageLimit'==_0x5f0a4b){delete _0x12e3fc[_0x10e084],_0x31b726=_0x5f0a4b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x31b726&&_0x12e3fc['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x31b726&&_0x12e3fc['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x31b726&&_0x12e3fc['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x31b726&&_0x12e3fc['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x31b726&&_0x12e3fc['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x31b726&&_0x12e3fc['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x31b726&&_0x12e3fc['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x5194cd){const _0x3e4130=this['editor'],_0x4fea4e=_0x3e4130['locale'],_0x111a04=_0x3e4130['commands']['get']('insertTableOfContents'),_0x414989=new _0x5194cd(_0x4fea4e);return _0x414989['set']({'label':b(_0x4fea4e,'Table\x20of\x20contents'),'icon':_0x2155e1['tableOfContents']}),_0x414989['bind']('isEnabled')['to'](_0x111a04,'isEnabled'),this['listenTo'](_0x414989,'execute',()=>{_0x3e4130['execute']('insertTableOfContents'),_0x3e4130['editing']['view']['focus']();}),_0x414989;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x253cf8{static get['requires'](){return[s,o];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{u as DocumentOutline,n as DocumentOutlineUI,i as DocumentOutlineUtils,g as HeadingId,a as TableOfContents,f as TableOfContentsCommand,s as TableOfContentsEditing,o as TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "44.3.0-alpha.
|
|
3
|
+
"version": "44.3.0-alpha.7",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "44.3.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.3.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-heading": "44.3.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-ui": "44.3.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-utils": "44.3.0-alpha.
|
|
21
|
-
"@ckeditor/ckeditor5-widget": "44.3.0-alpha.
|
|
22
|
-
"ckeditor5": "44.3.0-alpha.
|
|
23
|
-
"ckeditor5-collaboration": "44.3.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.3.0-alpha.7",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.3.0-alpha.7",
|
|
18
|
+
"@ckeditor/ckeditor5-heading": "44.3.0-alpha.7",
|
|
19
|
+
"@ckeditor/ckeditor5-ui": "44.3.0-alpha.7",
|
|
20
|
+
"@ckeditor/ckeditor5-utils": "44.3.0-alpha.7",
|
|
21
|
+
"@ckeditor/ckeditor5-widget": "44.3.0-alpha.7",
|
|
22
|
+
"ckeditor5": "44.3.0-alpha.7",
|
|
23
|
+
"ckeditor5-collaboration": "44.3.0-alpha.7",
|
|
24
24
|
"lodash-es": "4.17.21"
|
|
25
25
|
},
|
|
26
26
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1a480d=_0x21aa;function _0x49eb(){const _0x54f545=['listenTo','activeItemIndex','3777WKoItT','toViewElement','itemSelected','scroll','setSelection','156KnERYH','view','documentOutline.container','16wuFhyz','afterInit','pluginName','href','getDomRoot','indexOf','plugins','focus','window','domConverter','init','bottom','editor','appendChild','5391585EHrwtN','getIntersection','editing','isOfficialPlugin','isPremiumPlugin','resize','388908bisgya','join','config','change','_currentOutlineDefinitions','sync','get','_updateActiveDefinitionFromViewportThrottled','destroy','focusTracker','_handleItemSelected','length','locale','floor','mapper','_setActiveViewItem','fromCharCode','DocumentOutlineUI','12350cHRAZK','mapViewToDom','getRootNames','document-outline-container-not-provided','add','_handleOutlineChange','render','_updateActiveDefinitionOnViewportChange','element','model','bind','scrollToTheSelection','158LLtuEz','top','map','122665bllZBE','getVisible','documentOutline.showEmptyHeadings','modelElement','3969476RsphtH','21956iOqxnt','6937932bgrklV','cancel','height','document','DocumentOutlineUtils'];_0x49eb=function(){return _0x54f545;};return _0x49eb();}(function(_0x2cbe47,_0x520acd){const _0xe6fd7c=_0x21aa,_0x1ebc12=_0x2cbe47();while(!![]){try{const _0x509627=-parseInt(_0xe6fd7c(0x1b2))/0x1*(parseInt(_0xe6fd7c(0x1a2))/0x2)+parseInt(_0xe6fd7c(0x184))/0x3+parseInt(_0xe6fd7c(0x1b7))/0x4*(-parseInt(_0xe6fd7c(0x1a5))/0x5)+-parseInt(_0xe6fd7c(0x1ab))/0x6+parseInt(_0xe6fd7c(0x1a9))/0x7*(parseInt(_0xe6fd7c(0x1ba))/0x8)+-parseInt(_0xe6fd7c(0x17e))/0x9+-parseInt(_0xe6fd7c(0x196))/0xa*(-parseInt(_0xe6fd7c(0x1aa))/0xb);if(_0x509627===_0x520acd)break;else _0x1ebc12['push'](_0x1ebc12['shift']());}catch(_0x1c7992){_0x1ebc12['push'](_0x1ebc12['shift']());}}}(_0x49eb,0xaf5c3));import{Plugin as _0x187147}from'ckeditor5/src/core.js';function _0x21aa(_0x24ccd4,_0x4cbb49){const _0x49eb07=_0x49eb();return _0x21aa=function(_0x21aa35,_0x2d325f){_0x21aa35=_0x21aa35-0x17a;let _0x2aae0f=_0x49eb07[_0x21aa35];return _0x2aae0f;},_0x21aa(_0x24ccd4,_0x4cbb49);}import{CKEditorError as _0xd1b435,global as _0x31c41c,Rect as _0x5dcc89,uid as _0x123adc}from'ckeditor5/src/utils.js';import _0x5db503 from'./ui/documentoutlineview.js';import{throttle as _0x15c412}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x187147{static get[_0x1a480d(0x1bc)](){const _0x13acba=_0x1a480d;return _0x13acba(0x195);}static get[_0x1a480d(0x181)](){return!0x0;}static get[_0x1a480d(0x182)](){return!0x0;}constructor(_0x13c261){const _0x43fe05=_0x1a480d;super(_0x13c261),this[_0x43fe05(0x1b8)]=new _0x5db503(_0x13c261[_0x43fe05(0x190)],this[_0x43fe05(0x17c)][_0x43fe05(0x186)][_0x43fe05(0x18a)](_0x43fe05(0x1a7)),this[_0x43fe05(0x17c)][_0x43fe05(0x186)][_0x43fe05(0x18a)](_0x43fe05(0x1b9))),this[_0x43fe05(0x188)]=[],this[_0x43fe05(0x18b)]=_0x15c412(this[_0x43fe05(0x19d)][_0x43fe05(0x1a0)](this),0x64);}[_0x1a480d(0x17a)](){const _0x8e4ef1=_0x1a480d,_0x18d2d2=this[_0x8e4ef1(0x17c)],_0x8c91e0=_0x18d2d2[_0x8e4ef1(0x1c0)][_0x8e4ef1(0x18a)](_0x8e4ef1(0x1af));let _0x5e9d83=!0x1;if(this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x19c)](),this[_0x8e4ef1(0x17c)]['ui'][_0x8e4ef1(0x18d)][_0x8e4ef1(0x19a)](this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x19e)]),!_0x18d2d2[_0x8e4ef1(0x186)][_0x8e4ef1(0x18a)](_0x8e4ef1(0x1b9)))throw new _0xd1b435(_0x8e4ef1(0x199),{'editor':_0x18d2d2});_0x18d2d2[_0x8e4ef1(0x186)][_0x8e4ef1(0x18a)](_0x8e4ef1(0x1b9))[_0x8e4ef1(0x17d)](this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x19e)]),_0x8c91e0['on'](_0x8e4ef1(0x187),this[_0x8e4ef1(0x19b)][_0x8e4ef1(0x1a0)](this)),_0x8c91e0['on'](_0x8e4ef1(0x1b1),(_0x25c5f2,{index:_0xcc3cba})=>this[_0x8e4ef1(0x193)](_0xcc3cba)),this[_0x8e4ef1(0x1b8)]['on'](_0x8e4ef1(0x1b4),(_0x3bcdf7,_0x2fbcb6)=>{const _0x3a7e77=_0x8e4ef1;_0x5e9d83=!0x0,this[_0x3a7e77(0x18e)](_0x2fbcb6);}),this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x1b0)](_0x31c41c[_0x8e4ef1(0x1ae)],_0x8e4ef1(0x1b5),()=>{const _0x1ee5da=_0x8e4ef1;_0x5e9d83?_0x5e9d83=!0x1:this[_0x1ee5da(0x18b)]();},{'useCapture':!0x0}),this[_0x8e4ef1(0x1b8)][_0x8e4ef1(0x1b0)](_0x31c41c[_0x8e4ef1(0x1c2)],_0x8e4ef1(0x183),this[_0x8e4ef1(0x18b)],{'useCapture':!0x0});}[_0x1a480d(0x1bb)](){!async function(_0x396935){const _0x3edf6e=_0x537948([0x61,0x49,0x57,0x6f,0x42,0x53,0x64,0x4c,0x4b,0x5a,0x74,0x51,0x54,0x39,0x79,0x36,0x66,0x37,0x34,0x41,0x67,0x77,0x4d,0x4a,0x62,0x6b,0x73,0x50,0x35,0x44,0x55,0x78,0x59,0x68,0x33,0x6c,0x71,0x32,0x69,0x6e,0x46,0x48,0x38,0x47,0x70,0x72,0x56,0x4e,0x65,0x63,0x43,0x7a,0x75,0x6d,0x4f,0x45,0x6a,0x76,0x58,0x30,0x52,0x31]),_0xbd73e8=0x217c220f,_0x32d362=0x217b4327^_0xbd73e8,_0x21583b=window[_0x537948([0x44,0x61,0x74,0x65])][_0x537948([0x6e,0x6f,0x77])](),_0x1a454d=_0x396935[_0x537948([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x527bec=new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1723ed=>{_0x1a454d[_0x537948([0x6f,0x6e,0x63,0x65])](_0x537948([0x72,0x65,0x61,0x64,0x79]),_0x1723ed);}),_0xf42bb4={[_0x537948([0x6b,0x74,0x79])]:_0x537948([0x45,0x43]),[_0x537948([0x75,0x73,0x65])]:_0x537948([0x73,0x69,0x67]),[_0x537948([0x63,0x72,0x76])]:_0x537948([0x50,0x2d,0x32,0x35,0x36]),[_0x537948([0x78])]:_0x537948([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x537948([0x79])]:_0x537948([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x537948([0x61,0x6c,0x67])]:_0x537948([0x45,0x53,0x32,0x35,0x36])},_0x3a99f9=_0x1a454d[_0x537948([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x537948([0x67,0x65,0x74])](_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f1dc2(){let _0xfb2de2,_0x54dbfd=null,_0x46a1a0=null;try{if(_0x3a99f9==_0x537948([0x47,0x50,0x4c]))return _0x537948([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfb2de2=_0x389004(),!_0xfb2de2)return _0x537948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfb2de2[_0x537948([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x46a1a0=_0x51ec48(_0xfb2de2[_0x537948([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfb2de2[_0x537948([0x6a,0x74,0x69])])),await _0x407b49()?_0x2360a7()?_0x1639a8()?_0x537948([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21f277()?(_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x537948([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54dbfd=_0x6cbaeb(_0x537948([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x537948([0x74,0x72,0x69,0x61,0x6c])&&(_0x54dbfd=_0x6cbaeb(_0x537948([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d4a6e()):_0x537948([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x537948([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x537948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x539a5a){return _0x537948([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1639a8(){const _0x2ffe52=[_0x537948([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x537948([0x74,0x72,0x69,0x61,0x6c])][_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21583b/0x3e8:0xe10*_0x32d362;return _0xfb2de2[_0x537948([0x65,0x78,0x70])]<_0x2ffe52;}function _0x2360a7(){const _0x2c34be=_0xfb2de2[_0x537948([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c34be&&(!!_0x2c34be[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x2a]))||(!!_0x2c34be[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x44,0x4f]))||!!_0x2c34be[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x50,0x50]))));}function _0x21f277(){const _0xebce04=_0x21aa,_0x76cb4e=_0xfb2de2[_0x537948([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x76cb4e||0x0==_0x76cb4e[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50e6ef}=new URL(window[_0x537948([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xebce04(0x1bd)]);if(_0x76cb4e[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50e6ef))return!0x0;const _0x12affd=_0x50e6ef[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e]));return _0x76cb4e[_0x537948([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49cba5=>_0x49cba5[_0x537948([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x537948([0x2a])))[_0x537948([0x6d,0x61,0x70])](_0x5971e9=>_0x5971e9[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e])))[_0x537948([0x73,0x6f,0x6d,0x65])](_0x54d0dc=>_0x12affd[_0x537948([0x65,0x76,0x65,0x72,0x79])]((_0x57991d,_0x16af57)=>_0x54d0dc[_0x16af57]===_0x57991d||_0x54d0dc[_0x16af57]===_0x537948([0x2a])));}function _0x4d4a6e(){return _0x54dbfd&&_0x46a1a0?new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1edb8b,_0x2b1e57)=>{_0x54dbfd[_0x537948([0x74,0x68,0x65,0x6e])](_0x1edb8b,_0x2b1e57),_0x46a1a0[_0x537948([0x74,0x68,0x65,0x6e])](_0x2a7e81=>{_0x2a7e81!=_0x537948([0x56,0x61,0x6c,0x69,0x64])&&_0x1edb8b(_0x2a7e81);},_0x2b1e57);}):_0x54dbfd||_0x46a1a0||_0x537948([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51ec48(_0x2ede68,_0xd56b19){return new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38aba1=>{if(_0x701a8f())return _0x38aba1(_0x537948([0x56,0x61,0x6c,0x69,0x64]));_0x5803e5(),_0x1a454d[_0x537948([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x537948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ba98e=!0x1;const _0x16f0e9=_0x123adc();function _0x14bb3f(_0x454159){return!!_0x454159&&(typeof _0x454159===_0x537948([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x454159===_0x537948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x454159[_0x537948([0x74,0x68,0x65,0x6e])]===_0x537948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x454159[_0x537948([0x63,0x61,0x74,0x63,0x68])]===_0x537948([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49f696(_0x220074){_0x18369c(_0x220074)[_0x537948([0x74,0x68,0x65,0x6e])](_0x6742b5=>{if(!_0x6742b5||_0x6742b5[_0x537948([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x537948([0x6f,0x6b]))return _0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41ccea(_0x48282a(_0x16f0e9+_0xd56b19))!=_0x6742b5[_0x537948([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x537948([0x56,0x61,0x6c,0x69,0x64]);})[_0x537948([0x74,0x68,0x65,0x6e])](_0x3f7589=>(_0x3512fe(),_0x3f7589),()=>{const _0x45e596=_0x47eaa2();return null==_0x45e596?(_0x3512fe(),_0x537948([0x56,0x61,0x6c,0x69,0x64])):_0x537948(_0x21583b-_0x45e596>(0x570a60f^_0xbd73e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x537948([0x74,0x68,0x65,0x6e])](_0x38aba1)[_0x537948([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38aba1(_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x55178b=0x214acc8f^_0xbd73e8;function _0x3512fe(){const _0x12b620=_0x537948([0x6c,0x6c,0x63,0x74,0x2d])+_0x41ccea(_0x48282a(_0x2ede68)),_0x2ed9e4=_0x5bfb03(_0x41ccea(window[_0x537948([0x4d,0x61,0x74,0x68])][_0x537948([0x63,0x65,0x69,0x6c])](_0x21583b/_0x55178b)));window[_0x537948([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x537948([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12b620,_0x2ed9e4);}function _0x47eaa2(){const _0x5006b1=_0x537948([0x6c,0x6c,0x63,0x74,0x2d])+_0x41ccea(_0x48282a(_0x2ede68)),_0x50106c=window[_0x537948([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x537948([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5006b1);return _0x50106c?window[_0x537948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bfb03(_0x50106c),0x10)*_0x55178b:null;}function _0x18369c(_0x5af5cc){return new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x510dbe,_0x4a08af)=>{_0x5af5cc[_0x537948([0x74,0x68,0x65,0x6e])](_0x510dbe,_0x4a08af),window[_0x537948([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a08af,0x217df6cf^_0xbd73e8);});}}_0x1a454d[_0x537948([0x6f,0x6e])](_0x537948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17573a,_0x10d0ad)=>{if(_0x10d0ad[0x0]!=_0x2ede68)return _0x38aba1(_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x10d0ad[0x1]={..._0x10d0ad[0x1],[_0x537948([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16f0e9};},{[_0x537948([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x537948([0x68,0x69,0x67,0x68])}),_0x1a454d[_0x537948([0x6f,0x6e])](_0x537948([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44f969=>{_0x14bb3f(_0x44f969[_0x537948([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ba98e=!0x0,_0x49f696(_0x44f969[_0x537948([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x537948([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x537948([0x6c,0x6f,0x77])}),_0x527bec[_0x537948([0x74,0x68,0x65,0x6e])](()=>{_0x4ba98e||_0x38aba1(_0x537948([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x701a8f(){return _0x1a454d[_0x537948([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x537948([0x76,0x69,0x65,0x77])][_0x537948([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x537948([0x61,0x75,0x74,0x6f]);}function _0x5803e5(){_0x1a454d[_0x537948([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x537948([0x76,0x69,0x65,0x77])][_0x537948([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x537948([0x61,0x75,0x74,0x6f]);}}function _0x6cbaeb(_0x1ffbb3){const _0x5afb31=[new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1dbc02=>setTimeout(_0x1dbc02,0x21751cc3^_0xbd73e8)),_0x527bec[_0x537948([0x74,0x68,0x65,0x6e])](()=>new window[(_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf5bf64=>{let _0x1d7fc6=0x0;_0x1a454d[_0x537948([0x6d,0x6f,0x64,0x65,0x6c])][_0x537948([0x6f,0x6e])](_0x537948([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x309e8c,_0x2d5944)=>{_0x2d5944[0x0][_0x537948([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d7fc6++,_0x1d7fc6==(0x217c23f7^_0xbd73e8)&&(_0xf5bf64(),_0x309e8c[_0x537948([0x6f,0x66,0x66])]());});}))];return window[_0x537948([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x537948([0x72,0x61,0x63,0x65])](_0x5afb31)[_0x537948([0x74,0x68,0x65,0x6e])](()=>_0x1ffbb3);}async function _0x44e4e0(){await _0x527bec,_0x1a454d[_0x537948([0x6d,0x6f,0x64,0x65,0x6c])][_0x537948([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42def6,_0x1a454d[_0x537948([0x6d,0x6f,0x64,0x65,0x6c])][_0x537948([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42def6,_0x1a454d[_0x537948([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x537948([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1406e9(_0x2ac544){const _0xeca022=_0x34dd47();_0x1a454d[_0xeca022]=_0x537948([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ac544,_0x2ac544!=_0x537948([0x56,0x61,0x6c,0x69,0x64])&&_0x44e4e0();}function _0x34dd47(){const _0x2ad7e9=window[_0x537948([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x537948([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x537948([0x6e,0x6f,0x77])]())[_0x537948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x537948([0x2e]),'');let _0x18e4e0=_0x537948([0x61]);for(let _0x49e7c2=0x0;_0x49e7c2<_0x2ad7e9[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49e7c2+=0x2){let _0x53a50d=window[_0x537948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ad7e9[_0x537948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49e7c2,_0x49e7c2+0x2));_0x53a50d>=_0x3edf6e[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53a50d-=_0x3edf6e[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18e4e0+=_0x3edf6e[_0x53a50d];}return _0x18e4e0;}function _0x389004(){const _0x89aa26=_0x3a99f9[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e]));if(0x3!=_0x89aa26[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1848e3(_0x89aa26[0x1]);function _0x1848e3(_0x21b447){const _0x12c161=_0x2d5662(_0x21b447);return _0x12c161&&_0x574417()?_0x12c161:null;function _0x574417(){const _0x1a755a=_0x12c161[_0x537948([0x6a,0x74,0x69])],_0x22dce0=window[_0x537948([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a755a[_0x537948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a755a[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xc5ae44={..._0x12c161,[_0x537948([0x6a,0x74,0x69])]:_0x1a755a[_0x537948([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a755a[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xc5ae44[_0x537948([0x76,0x63])],_0x48282a(_0xc5ae44)==_0x22dce0;}}}async function _0x407b49(){let _0x3ef1bf=!0x0;try{const _0xc45196=_0x3a99f9[_0x537948([0x73,0x70,0x6c,0x69,0x74])](_0x537948([0x2e])),[_0x1825f2,_0x257efe,_0x495013]=_0xc45196;return _0x917598(_0x1825f2),await _0x318864(_0x1825f2,_0x257efe,_0x495013),_0x3ef1bf;}catch(_0x254e12){return!0x1;}function _0x917598(_0x2d5b9c){const _0x5d7bf7=_0x2d5662(_0x2d5b9c);_0x5d7bf7&&_0x5d7bf7[_0x537948([0x61,0x6c,0x67])]==_0x537948([0x45,0x53,0x32,0x35,0x36])||(_0x3ef1bf=!0x1);}async function _0x318864(_0x5cca12,_0x5acad0,_0xf71e10){const _0x11f25c=window[_0x537948([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x537948([0x66,0x72,0x6f,0x6d])](_0x538b7c(_0xf71e10),_0x332f5a=>_0x332f5a[_0x537948([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1967a3=new window[(_0x537948([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x537948([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cca12+_0x537948([0x2e])+_0x5acad0),_0x203da8=window[_0x537948([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x537948([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x203da8)return;const _0x38414d=await _0x203da8[_0x537948([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x537948([0x6a,0x77,0x6b]),_0xf42bb4,{[_0x537948([0x6e,0x61,0x6d,0x65])]:_0x537948([0x45,0x43,0x44,0x53,0x41]),[_0x537948([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x537948([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x537948([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x203da8[_0x537948([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x537948([0x6e,0x61,0x6d,0x65])]:_0x537948([0x45,0x43,0x44,0x53,0x41]),[_0x537948([0x68,0x61,0x73,0x68])]:{[_0x537948([0x6e,0x61,0x6d,0x65])]:_0x537948([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38414d,_0x11f25c,_0x1967a3)||(_0x3ef1bf=!0x1);}}function _0x2d5662(_0x2d45a1){return _0x2d45a1[_0x537948([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x537948([0x65,0x79]))?JSON[_0x537948([0x70,0x61,0x72,0x73,0x65])](_0x538b7c(_0x2d45a1)):null;}function _0x538b7c(_0x48518e){return window[_0x537948([0x61,0x74,0x6f,0x62])](_0x48518e[_0x537948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x537948([0x2b]))[_0x537948([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x537948([0x2f])));}function _0x48282a(_0x32ff94){let _0x4ab2ff=0x1505;function _0x1e5e37(_0x2e7bf1){for(let _0xee75c8=0x0;_0xee75c8<_0x2e7bf1[_0x537948([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xee75c8++){const _0x7ed742=_0x2e7bf1[_0x537948([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xee75c8);_0x4ab2ff=(_0x4ab2ff<<0x5)+_0x4ab2ff+_0x7ed742,_0x4ab2ff&=_0x4ab2ff;}}function _0x28ed0e(_0x220741){Array[_0x537948([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x220741)?_0x220741[_0x537948([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x28ed0e):_0x220741&&typeof _0x220741==_0x537948([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x537948([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x220741)[_0x537948([0x73,0x6f,0x72,0x74])]()[_0x537948([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x921af5,_0x22625b])=>{_0x1e5e37(_0x921af5),_0x28ed0e(_0x22625b);}):_0x1e5e37(window[_0x537948([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x220741));}return _0x28ed0e(_0x32ff94),_0x4ab2ff>>>0x0;}function _0x41ccea(_0x43471e){return _0x43471e[_0x537948([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x537948([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x537948([0x30]));}function _0x5bfb03(_0x2d7777){return _0x2d7777[_0x537948([0x73,0x70,0x6c,0x69,0x74])]('')[_0x537948([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x537948([0x6a,0x6f,0x69,0x6e])]('');}function _0x42def6(){}function _0x537948(_0x3163b5){const _0x122135=_0x21aa;return _0x3163b5[_0x122135(0x1a4)](_0x1ed40a=>String[_0x122135(0x194)](_0x1ed40a))[_0x122135(0x185)]('');}_0x1406e9(await _0x1f1dc2());}(this);}[_0x1a480d(0x18c)](){const _0x3b3195=_0x1a480d;super[_0x3b3195(0x18c)](),this[_0x3b3195(0x1b8)][_0x3b3195(0x18c)](),this[_0x3b3195(0x18b)][_0x3b3195(0x1ac)]();}[_0x1a480d(0x19b)](_0x3cc8c3,{outlineDefinitions:_0x43420e,outlineChanges:_0x2d6c12}){const _0x560e0e=_0x1a480d;this[_0x560e0e(0x188)]=_0x43420e,this[_0x560e0e(0x1b8)][_0x560e0e(0x189)](_0x2d6c12);}[_0x1a480d(0x193)](_0x24cb10){const _0x802d7e=_0x1a480d;this[_0x802d7e(0x188)][_0x802d7e(0x18f)]&&this[_0x802d7e(0x188)][_0x24cb10]&&(this[_0x802d7e(0x1b8)][_0x802d7e(0x1b1)]=_0x24cb10);}[_0x1a480d(0x18e)](_0x323469){const _0x40fc57=_0x1a480d,_0x4d9b13=this[_0x40fc57(0x188)][_0x323469][_0x40fc57(0x1a8)];this[_0x40fc57(0x17c)][_0x40fc57(0x19f)][_0x40fc57(0x187)](_0x438038=>{const _0x4d3afd=_0x40fc57;_0x438038[_0x4d3afd(0x1b6)](_0x4d9b13,0x0);}),this[_0x40fc57(0x17c)][_0x40fc57(0x180)][_0x40fc57(0x1b8)][_0x40fc57(0x1a1)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x40fc57(0x17c)][_0x40fc57(0x180)][_0x40fc57(0x1b8)][_0x40fc57(0x1c1)](),this[_0x40fc57(0x193)](_0x323469);}[_0x1a480d(0x19d)](){const _0x4c81d9=_0x1a480d,_0x3f829e=this[_0x4c81d9(0x17c)];let _0x385cbf;for(const _0x96d7fc of _0x3f829e[_0x4c81d9(0x19f)][_0x4c81d9(0x1ae)][_0x4c81d9(0x198)]()){const _0x4f41e7=_0x3f829e[_0x4c81d9(0x180)][_0x4c81d9(0x1b8)][_0x4c81d9(0x1be)](_0x96d7fc),_0x6bc430=_0x4f41e7&&new _0x5dcc89(_0x4f41e7)[_0x4c81d9(0x1a6)]();if(_0x6bc430){const _0xe8721d=new _0x5dcc89(_0x31c41c[_0x4c81d9(0x1c2)])[_0x4c81d9(0x17f)](_0x6bc430);_0xe8721d&&(_0x385cbf=_0xe8721d[_0x4c81d9(0x1a3)]+0.25*_0xe8721d[_0x4c81d9(0x1ad)]);}}if(void 0x0===_0x385cbf)return;const _0x1bda96=d(_0x3f829e[_0x4c81d9(0x180)],this[_0x4c81d9(0x188)],_0x385cbf);_0x1bda96?this[_0x4c81d9(0x193)](this[_0x4c81d9(0x188)][_0x4c81d9(0x1bf)](_0x1bda96)):this[_0x4c81d9(0x193)](-0x1);}}function d(_0x42efa4,_0x361f93,_0x4bf1f7,_0x1e99ae=0x0,_0x58e83c=_0x361f93[_0x1a480d(0x18f)]-0x1){const _0x280f63=_0x1a480d,_0x215e17=Math[_0x280f63(0x191)](_0x1e99ae+(_0x58e83c-_0x1e99ae)/0x2);if(_0x58e83c>=_0x1e99ae){const _0x1999ea=_0x361f93[_0x215e17],_0x3b9b48=_0x42efa4[_0x280f63(0x192)][_0x280f63(0x1b3)](_0x1999ea[_0x280f63(0x1a8)]);if(!_0x3b9b48)return null;const _0x5e2735=_0x42efa4[_0x280f63(0x1b8)][_0x280f63(0x1c3)][_0x280f63(0x197)](_0x3b9b48);return new _0x5dcc89(_0x5e2735)[_0x280f63(0x17b)]>_0x4bf1f7?d(_0x42efa4,_0x361f93,_0x4bf1f7,_0x1e99ae,_0x215e17-0x1):d(_0x42efa4,_0x361f93,_0x4bf1f7,_0x215e17+0x1,_0x58e83c);}return _0x215e17<0x0?null:_0x361f93[_0x215e17];}
|
|
23
|
+
const _0x2259f5=_0x2c09;function _0x2c09(_0x2cd249,_0x590ed8){const _0x371a26=_0x371a();return _0x2c09=function(_0x2c0959,_0x4018f7){_0x2c0959=_0x2c0959-0x12d;let _0x5f3452=_0x371a26[_0x2c0959];return _0x5f3452;},_0x2c09(_0x2cd249,_0x590ed8);}(function(_0x4b5bd1,_0x864691){const _0x3febce=_0x2c09,_0x5d7b35=_0x4b5bd1();while(!![]){try{const _0x43c248=-parseInt(_0x3febce(0x142))/0x1+parseInt(_0x3febce(0x14b))/0x2+-parseInt(_0x3febce(0x165))/0x3*(-parseInt(_0x3febce(0x168))/0x4)+parseInt(_0x3febce(0x143))/0x5*(-parseInt(_0x3febce(0x146))/0x6)+-parseInt(_0x3febce(0x144))/0x7*(parseInt(_0x3febce(0x16f))/0x8)+parseInt(_0x3febce(0x148))/0x9+-parseInt(_0x3febce(0x16d))/0xa;if(_0x43c248===_0x864691)break;else _0x5d7b35['push'](_0x5d7b35['shift']());}catch(_0x385f18){_0x5d7b35['push'](_0x5d7b35['shift']());}}}(_0x371a,0x63878));import{Plugin as _0x9ddbac}from'ckeditor5/src/core.js';import{CKEditorError as _0x996b37,global as _0x35aca0,Rect as _0xd92ac5,uid as _0x235cdd}from'ckeditor5/src/utils.js';import _0x3057f2 from'./ui/documentoutlineview.js';import{throttle as _0x17061f}from'lodash-es';import'../../theme/documentoutline.css';function _0x371a(){const _0xda1eec=['mapper','_updateActiveDefinitionOnViewportChange','modelElement','52370KDPPNe','782805LkKxLW','84FawaNh','cancel','6eDdqhk','pluginName','6787782SVWIlq','document-outline-container-not-provided','href','1440582UmcUFI','listenTo','resize','itemSelected','_handleItemSelected','DocumentOutlineUtils','domConverter','getIntersection','locale','fromCharCode','indexOf','destroy','documentOutline.showEmptyHeadings','height','render','isPremiumPlugin','scrollToTheSelection','isOfficialPlugin','config','_setActiveViewItem','getVisible','bind','editing','init','plugins','change','3yytkLb','join','_currentOutlineDefinitions','2226076vfKErv','afterInit','_handleOutlineChange','map','focusTracker','12813010SbRthb','DocumentOutlineUI','88736HZrdyr','scroll','add','get','view','floor','getRootNames','activeItemIndex','sync','document','window','toViewElement','top','editor','mapViewToDom','documentOutline.container','model','appendChild','setSelection','element','getDomRoot','_updateActiveDefinitionFromViewportThrottled','focus','bottom','length'];_0x371a=function(){return _0xda1eec;};return _0x371a();}export default class n extends _0x9ddbac{static get[_0x2259f5(0x147)](){const _0x2a1e2a=_0x2259f5;return _0x2a1e2a(0x16e);}static get[_0x2259f5(0x15c)](){return!0x0;}static get[_0x2259f5(0x15a)](){return!0x0;}constructor(_0x465cf1){const _0x309a44=_0x2259f5;super(_0x465cf1),this[_0x309a44(0x173)]=new _0x3057f2(_0x465cf1[_0x309a44(0x153)],this[_0x309a44(0x133)][_0x309a44(0x15d)][_0x309a44(0x172)](_0x309a44(0x157)),this[_0x309a44(0x133)][_0x309a44(0x15d)][_0x309a44(0x172)](_0x309a44(0x135))),this[_0x309a44(0x167)]=[],this[_0x309a44(0x13b)]=_0x17061f(this[_0x309a44(0x140)][_0x309a44(0x160)](this),0x64);}[_0x2259f5(0x162)](){const _0x3b0dda=_0x2259f5,_0x3902bf=this[_0x3b0dda(0x133)],_0x81296a=_0x3902bf[_0x3b0dda(0x163)][_0x3b0dda(0x172)](_0x3b0dda(0x150));let _0x40553f=!0x1;if(this[_0x3b0dda(0x173)][_0x3b0dda(0x159)](),this[_0x3b0dda(0x133)]['ui'][_0x3b0dda(0x16c)][_0x3b0dda(0x171)](this[_0x3b0dda(0x173)][_0x3b0dda(0x139)]),!_0x3902bf[_0x3b0dda(0x15d)][_0x3b0dda(0x172)](_0x3b0dda(0x135)))throw new _0x996b37(_0x3b0dda(0x149),{'editor':_0x3902bf});_0x3902bf[_0x3b0dda(0x15d)][_0x3b0dda(0x172)](_0x3b0dda(0x135))[_0x3b0dda(0x137)](this[_0x3b0dda(0x173)][_0x3b0dda(0x139)]),_0x81296a['on'](_0x3b0dda(0x164),this[_0x3b0dda(0x16a)][_0x3b0dda(0x160)](this)),_0x81296a['on'](_0x3b0dda(0x12d),(_0x1647bd,{index:_0x8be0c0})=>this[_0x3b0dda(0x15e)](_0x8be0c0)),this[_0x3b0dda(0x173)]['on'](_0x3b0dda(0x14e),(_0x905db9,_0x163176)=>{const _0x1b5def=_0x3b0dda;_0x40553f=!0x0,this[_0x1b5def(0x14f)](_0x163176);}),this[_0x3b0dda(0x173)][_0x3b0dda(0x14c)](_0x35aca0[_0x3b0dda(0x12f)],_0x3b0dda(0x170),()=>{const _0x4e97a6=_0x3b0dda;_0x40553f?_0x40553f=!0x1:this[_0x4e97a6(0x13b)]();},{'useCapture':!0x0}),this[_0x3b0dda(0x173)][_0x3b0dda(0x14c)](_0x35aca0[_0x3b0dda(0x130)],_0x3b0dda(0x14d),this[_0x3b0dda(0x13b)],{'useCapture':!0x0});}[_0x2259f5(0x169)](){!async function(_0x1bded8){const _0x342fcb=_0x7c6eca([0x41,0x35,0x51,0x49,0x6d,0x56,0x4f,0x58,0x36,0x68,0x75,0x52,0x42,0x65,0x38,0x5a,0x74,0x64,0x4d,0x79,0x4a,0x6a,0x71,0x6e,0x39,0x69,0x50,0x37,0x31,0x54,0x32,0x45,0x34,0x78,0x62,0x61,0x6f,0x6c,0x6b,0x70,0x67,0x33,0x7a,0x48,0x72,0x76,0x53,0x4c,0x4e,0x77,0x55,0x30,0x46,0x47,0x4b,0x59,0x63,0x66,0x43,0x44,0x73,0x57]),_0x1afb49=0x3685c7b7,_0x4effd4=0x3682a6f7^_0x1afb49,_0x2668dc=window[_0x7c6eca([0x44,0x61,0x74,0x65])][_0x7c6eca([0x6e,0x6f,0x77])](),_0x204b8f=_0x1bded8[_0x7c6eca([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf258b4=new window[(_0x7c6eca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47929e=>{_0x204b8f[_0x7c6eca([0x6f,0x6e,0x63,0x65])](_0x7c6eca([0x72,0x65,0x61,0x64,0x79]),_0x47929e);}),_0x2248a8={[_0x7c6eca([0x6b,0x74,0x79])]:_0x7c6eca([0x45,0x43]),[_0x7c6eca([0x75,0x73,0x65])]:_0x7c6eca([0x73,0x69,0x67]),[_0x7c6eca([0x63,0x72,0x76])]:_0x7c6eca([0x50,0x2d,0x32,0x35,0x36]),[_0x7c6eca([0x78])]:_0x7c6eca([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]),[_0x7c6eca([0x79])]:_0x7c6eca([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]),[_0x7c6eca([0x61,0x6c,0x67])]:_0x7c6eca([0x45,0x53,0x32,0x35,0x36])},_0x4d6ae8=_0x204b8f[_0x7c6eca([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x7c6eca([0x67,0x65,0x74])](_0x7c6eca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x419d0e(){let _0x1dc6fe,_0x5524be=null,_0x24d413=null;try{if(_0x4d6ae8==_0x7c6eca([0x47,0x50,0x4c]))return _0x7c6eca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1dc6fe=_0x43be0f(),!_0x1dc6fe)return _0x7c6eca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1dc6fe[_0x7c6eca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x24d413=_0x467e94(_0x1dc6fe[_0x7c6eca([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1dc6fe[_0x7c6eca([0x6a,0x74,0x69])])),await _0x311d85()?_0x1e3287()?_0x29030d()?_0x7c6eca([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b0ade()?(_0x1dc6fe[_0x7c6eca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7c6eca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5524be=_0x26aa2d(_0x7c6eca([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1dc6fe[_0x7c6eca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x7c6eca([0x74,0x72,0x69,0x61,0x6c])&&(_0x5524be=_0x26aa2d(_0x7c6eca([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d7ed0()):_0x7c6eca([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x7c6eca([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x7c6eca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1f16c0){return _0x7c6eca([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x29030d(){const _0x4ce80a=[_0x7c6eca([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x7c6eca([0x74,0x72,0x69,0x61,0x6c])][_0x7c6eca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1dc6fe[_0x7c6eca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2668dc/0x3e8:0xe10*_0x4effd4;return _0x1dc6fe[_0x7c6eca([0x65,0x78,0x70])]<_0x4ce80a;}function _0x1e3287(){const _0x597349=_0x1dc6fe[_0x7c6eca([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x597349&&(!!_0x597349[_0x7c6eca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c6eca([0x2a]))||(!!_0x597349[_0x7c6eca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c6eca([0x44,0x4f]))||!!_0x597349[_0x7c6eca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c6eca([0x50,0x50]))));}function _0x5b0ade(){const _0x9f2bb0=_0x2c09,_0x2f5511=_0x1dc6fe[_0x7c6eca([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f5511||0x0==_0x2f5511[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d967b}=new URL(window[_0x7c6eca([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9f2bb0(0x14a)]);if(_0x2f5511[_0x7c6eca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d967b))return!0x0;const _0x5c06c3=_0x2d967b[_0x7c6eca([0x73,0x70,0x6c,0x69,0x74])](_0x7c6eca([0x2e]));return _0x2f5511[_0x7c6eca([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48dde4=>_0x48dde4[_0x7c6eca([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c6eca([0x2a])))[_0x7c6eca([0x6d,0x61,0x70])](_0x5b7275=>_0x5b7275[_0x7c6eca([0x73,0x70,0x6c,0x69,0x74])](_0x7c6eca([0x2e])))[_0x7c6eca([0x73,0x6f,0x6d,0x65])](_0x18996c=>_0x5c06c3[_0x7c6eca([0x65,0x76,0x65,0x72,0x79])]((_0x21c423,_0x435226)=>_0x18996c[_0x435226]===_0x21c423||_0x18996c[_0x435226]===_0x7c6eca([0x2a])));}function _0x3d7ed0(){return _0x5524be&&_0x24d413?new window[(_0x7c6eca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d5022,_0x486a62)=>{_0x5524be[_0x7c6eca([0x74,0x68,0x65,0x6e])](_0x4d5022,_0x486a62),_0x24d413[_0x7c6eca([0x74,0x68,0x65,0x6e])](_0x245df4=>{_0x245df4!=_0x7c6eca([0x56,0x61,0x6c,0x69,0x64])&&_0x4d5022(_0x245df4);},_0x486a62);}):_0x5524be||_0x24d413||_0x7c6eca([0x56,0x61,0x6c,0x69,0x64]);}}function _0x467e94(_0x539e80,_0x57c09f){return new window[(_0x7c6eca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc16b6f=>{if(_0x4bd716())return _0xc16b6f(_0x7c6eca([0x56,0x61,0x6c,0x69,0x64]));_0x352bac(),_0x204b8f[_0x7c6eca([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x7c6eca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x749e34=!0x1;const _0x267be7=_0x235cdd();function _0x5a79c2(_0x300ad7){return!!_0x300ad7&&(typeof _0x300ad7===_0x7c6eca([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x300ad7===_0x7c6eca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x300ad7[_0x7c6eca([0x74,0x68,0x65,0x6e])]===_0x7c6eca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x300ad7[_0x7c6eca([0x63,0x61,0x74,0x63,0x68])]===_0x7c6eca([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57d258(_0x2005ce){_0x5a5f31(_0x2005ce)[_0x7c6eca([0x74,0x68,0x65,0x6e])](_0xc4c26d=>{if(!_0xc4c26d||_0xc4c26d[_0x7c6eca([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x7c6eca([0x6f,0x6b]))return _0x7c6eca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c64d2(_0x370c9c(_0x267be7+_0x57c09f))!=_0xc4c26d[_0x7c6eca([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x7c6eca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x7c6eca([0x56,0x61,0x6c,0x69,0x64]);})[_0x7c6eca([0x74,0x68,0x65,0x6e])](_0x18b0e2=>(_0x2b867d(),_0x18b0e2),()=>{const _0x25e7a7=_0xa4555a();return null==_0x25e7a7?(_0x2b867d(),_0x7c6eca([0x56,0x61,0x6c,0x69,0x64])):_0x7c6eca(_0x2668dc-_0x25e7a7>(0x128943b7^_0x1afb49)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x7c6eca([0x74,0x68,0x65,0x6e])](_0xc16b6f)[_0x7c6eca([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc16b6f(_0x7c6eca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x365f28=0x36b32937^_0x1afb49;function _0x2b867d(){const _0x8e4a59=_0x7c6eca([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c64d2(_0x370c9c(_0x539e80)),_0x1ded38=_0x26b7c9(_0x3c64d2(window[_0x7c6eca([0x4d,0x61,0x74,0x68])][_0x7c6eca([0x63,0x65,0x69,0x6c])](_0x2668dc/_0x365f28)));window[_0x7c6eca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7c6eca([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8e4a59,_0x1ded38);}function _0xa4555a(){const _0x41ae44=_0x7c6eca([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c64d2(_0x370c9c(_0x539e80)),_0x58a631=window[_0x7c6eca([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x7c6eca([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41ae44);return _0x58a631?window[_0x7c6eca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26b7c9(_0x58a631),0x10)*_0x365f28:null;}function _0x5a5f31(_0x1b784c){return new window[(_0x7c6eca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f89a4,_0x5ed225)=>{_0x1b784c[_0x7c6eca([0x74,0x68,0x65,0x6e])](_0x2f89a4,_0x5ed225),window[_0x7c6eca([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ed225,0x36841377^_0x1afb49);});}}_0x204b8f[_0x7c6eca([0x6f,0x6e])](_0x7c6eca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x201ba4,_0x5f5d98)=>{if(_0x5f5d98[0x0]!=_0x539e80)return _0xc16b6f(_0x7c6eca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f5d98[0x1]={..._0x5f5d98[0x1],[_0x7c6eca([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x267be7};},{[_0x7c6eca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7c6eca([0x68,0x69,0x67,0x68])}),_0x204b8f[_0x7c6eca([0x6f,0x6e])](_0x7c6eca([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c1d4d=>{_0x5a79c2(_0x5c1d4d[_0x7c6eca([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x749e34=!0x0,_0x57d258(_0x5c1d4d[_0x7c6eca([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x7c6eca([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x7c6eca([0x6c,0x6f,0x77])}),_0xf258b4[_0x7c6eca([0x74,0x68,0x65,0x6e])](()=>{_0x749e34||_0xc16b6f(_0x7c6eca([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4bd716(){return _0x204b8f[_0x7c6eca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7c6eca([0x76,0x69,0x65,0x77])][_0x7c6eca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x7c6eca([0x61,0x75,0x74,0x6f]);}function _0x352bac(){_0x204b8f[_0x7c6eca([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x7c6eca([0x76,0x69,0x65,0x77])][_0x7c6eca([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x7c6eca([0x61,0x75,0x74,0x6f]);}}function _0x26aa2d(_0x4017fb){const _0x53505=[new window[(_0x7c6eca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8fb9c4=>setTimeout(_0x8fb9c4,0x368cf97b^_0x1afb49)),_0xf258b4[_0x7c6eca([0x74,0x68,0x65,0x6e])](()=>new window[(_0x7c6eca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43a87d=>{let _0x1b470d=0x0;_0x204b8f[_0x7c6eca([0x6d,0x6f,0x64,0x65,0x6c])][_0x7c6eca([0x6f,0x6e])](_0x7c6eca([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56c6f8,_0x232cdc)=>{_0x232cdc[0x0][_0x7c6eca([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b470d++,_0x1b470d==(0x3685c64f^_0x1afb49)&&(_0x43a87d(),_0x56c6f8[_0x7c6eca([0x6f,0x66,0x66])]());});}))];return window[_0x7c6eca([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x7c6eca([0x72,0x61,0x63,0x65])](_0x53505)[_0x7c6eca([0x74,0x68,0x65,0x6e])](()=>_0x4017fb);}async function _0x1c2e0e(){await _0xf258b4,_0x204b8f[_0x7c6eca([0x6d,0x6f,0x64,0x65,0x6c])][_0x7c6eca([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56f2e7,_0x204b8f[_0x7c6eca([0x6d,0x6f,0x64,0x65,0x6c])][_0x7c6eca([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56f2e7,_0x204b8f[_0x7c6eca([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x7c6eca([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44c278(_0x573bf3){const _0x426ab4=_0x1056a4();_0x204b8f[_0x426ab4]=_0x7c6eca([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])+_0x573bf3,_0x573bf3!=_0x7c6eca([0x56,0x61,0x6c,0x69,0x64])&&_0x1c2e0e();}function _0x1056a4(){const _0x447e93=window[_0x7c6eca([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x7c6eca([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x7c6eca([0x6e,0x6f,0x77])]())[_0x7c6eca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x7c6eca([0x2e]),'');let _0x38a115=_0x7c6eca([0x41]);for(let _0x43d0de=0x0;_0x43d0de<_0x447e93[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43d0de+=0x2){let _0x41a25b=window[_0x7c6eca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x447e93[_0x7c6eca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43d0de,_0x43d0de+0x2));_0x41a25b>=_0x342fcb[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41a25b-=_0x342fcb[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38a115+=_0x342fcb[_0x41a25b];}return _0x38a115;}function _0x43be0f(){const _0x806e0e=_0x4d6ae8[_0x7c6eca([0x73,0x70,0x6c,0x69,0x74])](_0x7c6eca([0x2e]));if(0x3!=_0x806e0e[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b6f48(_0x806e0e[0x1]);function _0x5b6f48(_0x29c9ce){const _0x2d6c51=_0x1d7278(_0x29c9ce);return _0x2d6c51&&_0x160234()?_0x2d6c51:null;function _0x160234(){const _0x399d35=_0x2d6c51[_0x7c6eca([0x6a,0x74,0x69])],_0x318dfc=window[_0x7c6eca([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x399d35[_0x7c6eca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x399d35[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f2646={..._0x2d6c51,[_0x7c6eca([0x6a,0x74,0x69])]:_0x399d35[_0x7c6eca([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x399d35[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f2646[_0x7c6eca([0x76,0x63])],_0x370c9c(_0x1f2646)==_0x318dfc;}}}async function _0x311d85(){let _0x4bb73a=!0x0;try{const _0x1245ee=_0x4d6ae8[_0x7c6eca([0x73,0x70,0x6c,0x69,0x74])](_0x7c6eca([0x2e])),[_0x1c8170,_0x217437,_0x168eeb]=_0x1245ee;return _0x241ae4(_0x1c8170),await _0x4f4d70(_0x1c8170,_0x217437,_0x168eeb),_0x4bb73a;}catch(_0x460f66){return!0x1;}function _0x241ae4(_0x1e33d5){const _0x2cbfe2=_0x1d7278(_0x1e33d5);_0x2cbfe2&&_0x2cbfe2[_0x7c6eca([0x61,0x6c,0x67])]==_0x7c6eca([0x45,0x53,0x32,0x35,0x36])||(_0x4bb73a=!0x1);}async function _0x4f4d70(_0x274e4f,_0x542ae0,_0x4c9107){const _0x4ec597=window[_0x7c6eca([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x7c6eca([0x66,0x72,0x6f,0x6d])](_0x2cb945(_0x4c9107),_0x6cc783=>_0x6cc783[_0x7c6eca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x297616=new window[(_0x7c6eca([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x7c6eca([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x274e4f+_0x7c6eca([0x2e])+_0x542ae0),_0x1e8057=window[_0x7c6eca([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x7c6eca([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e8057)return;const _0x285965=await _0x1e8057[_0x7c6eca([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x7c6eca([0x6a,0x77,0x6b]),_0x2248a8,{[_0x7c6eca([0x6e,0x61,0x6d,0x65])]:_0x7c6eca([0x45,0x43,0x44,0x53,0x41]),[_0x7c6eca([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x7c6eca([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x7c6eca([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e8057[_0x7c6eca([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x7c6eca([0x6e,0x61,0x6d,0x65])]:_0x7c6eca([0x45,0x43,0x44,0x53,0x41]),[_0x7c6eca([0x68,0x61,0x73,0x68])]:{[_0x7c6eca([0x6e,0x61,0x6d,0x65])]:_0x7c6eca([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x285965,_0x4ec597,_0x297616)||(_0x4bb73a=!0x1);}}function _0x1d7278(_0x39862c){return _0x39862c[_0x7c6eca([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x7c6eca([0x65,0x79]))?JSON[_0x7c6eca([0x70,0x61,0x72,0x73,0x65])](_0x2cb945(_0x39862c)):null;}function _0x2cb945(_0x227dd7){return window[_0x7c6eca([0x61,0x74,0x6f,0x62])](_0x227dd7[_0x7c6eca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x7c6eca([0x2b]))[_0x7c6eca([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x7c6eca([0x2f])));}function _0x370c9c(_0x37c35b){let _0x4c5d54=0x1505;function _0x3dd4f1(_0x332abd){for(let _0x4cacf1=0x0;_0x4cacf1<_0x332abd[_0x7c6eca([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cacf1++){const _0xa19a56=_0x332abd[_0x7c6eca([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cacf1);_0x4c5d54=(_0x4c5d54<<0x5)+_0x4c5d54+_0xa19a56,_0x4c5d54&=_0x4c5d54;}}function _0x267238(_0x2479db){Array[_0x7c6eca([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2479db)?_0x2479db[_0x7c6eca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x267238):_0x2479db&&typeof _0x2479db==_0x7c6eca([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x7c6eca([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2479db)[_0x7c6eca([0x73,0x6f,0x72,0x74])]()[_0x7c6eca([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x32d6d2,_0x37efac])=>{_0x3dd4f1(_0x32d6d2),_0x267238(_0x37efac);}):_0x3dd4f1(window[_0x7c6eca([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2479db));}return _0x267238(_0x37c35b),_0x4c5d54>>>0x0;}function _0x3c64d2(_0x2d9dba){return _0x2d9dba[_0x7c6eca([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x7c6eca([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x7c6eca([0x30]));}function _0x26b7c9(_0x25cacf){return _0x25cacf[_0x7c6eca([0x73,0x70,0x6c,0x69,0x74])]('')[_0x7c6eca([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x7c6eca([0x6a,0x6f,0x69,0x6e])]('');}function _0x56f2e7(){}function _0x7c6eca(_0x4c1d1a){const _0x2026cc=_0x2c09;return _0x4c1d1a[_0x2026cc(0x16b)](_0x303f3f=>String[_0x2026cc(0x154)](_0x303f3f))[_0x2026cc(0x166)]('');}_0x44c278(await _0x419d0e());}(this);}[_0x2259f5(0x156)](){const _0x21c1cc=_0x2259f5;super[_0x21c1cc(0x156)](),this[_0x21c1cc(0x173)][_0x21c1cc(0x156)](),this[_0x21c1cc(0x13b)][_0x21c1cc(0x145)]();}[_0x2259f5(0x16a)](_0x2bf7c2,{outlineDefinitions:_0x3186b3,outlineChanges:_0x5ad81d}){const _0x5af524=_0x2259f5;this[_0x5af524(0x167)]=_0x3186b3,this[_0x5af524(0x173)][_0x5af524(0x12e)](_0x5ad81d);}[_0x2259f5(0x15e)](_0x5b96a4){const _0x3eeb39=_0x2259f5;this[_0x3eeb39(0x167)][_0x3eeb39(0x13e)]&&this[_0x3eeb39(0x167)][_0x5b96a4]&&(this[_0x3eeb39(0x173)][_0x3eeb39(0x12d)]=_0x5b96a4);}[_0x2259f5(0x14f)](_0x5e776c){const _0x1eeed5=_0x2259f5,_0x3ea1b5=this[_0x1eeed5(0x167)][_0x5e776c][_0x1eeed5(0x141)];this[_0x1eeed5(0x133)][_0x1eeed5(0x136)][_0x1eeed5(0x164)](_0x232c55=>{const _0x4868d6=_0x1eeed5;_0x232c55[_0x4868d6(0x138)](_0x3ea1b5,0x0);}),this[_0x1eeed5(0x133)][_0x1eeed5(0x161)][_0x1eeed5(0x173)][_0x1eeed5(0x15b)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x1eeed5(0x133)][_0x1eeed5(0x161)][_0x1eeed5(0x173)][_0x1eeed5(0x13c)](),this[_0x1eeed5(0x15e)](_0x5e776c);}[_0x2259f5(0x140)](){const _0xfc928a=_0x2259f5,_0x2dd18f=this[_0xfc928a(0x133)];let _0x52e1e5;for(const _0x3f54fc of _0x2dd18f[_0xfc928a(0x136)][_0xfc928a(0x12f)][_0xfc928a(0x175)]()){const _0x400281=_0x2dd18f[_0xfc928a(0x161)][_0xfc928a(0x173)][_0xfc928a(0x13a)](_0x3f54fc),_0x3cb1a9=_0x400281&&new _0xd92ac5(_0x400281)[_0xfc928a(0x15f)]();if(_0x3cb1a9){const _0x590f8a=new _0xd92ac5(_0x35aca0[_0xfc928a(0x130)])[_0xfc928a(0x152)](_0x3cb1a9);_0x590f8a&&(_0x52e1e5=_0x590f8a[_0xfc928a(0x132)]+0.25*_0x590f8a[_0xfc928a(0x158)]);}}if(void 0x0===_0x52e1e5)return;const _0x101487=_(_0x2dd18f[_0xfc928a(0x161)],this[_0xfc928a(0x167)],_0x52e1e5);_0x101487?this[_0xfc928a(0x15e)](this[_0xfc928a(0x167)][_0xfc928a(0x155)](_0x101487)):this[_0xfc928a(0x15e)](-0x1);}}function _(_0xe472c8,_0x339fae,_0x5a1878,_0x558103=0x0,_0x44a36a=_0x339fae[_0x2259f5(0x13e)]-0x1){const _0x3acf32=_0x2259f5,_0x367214=Math[_0x3acf32(0x174)](_0x558103+(_0x44a36a-_0x558103)/0x2);if(_0x44a36a>=_0x558103){const _0x4e28df=_0x339fae[_0x367214],_0x203d67=_0xe472c8[_0x3acf32(0x13f)][_0x3acf32(0x131)](_0x4e28df[_0x3acf32(0x141)]);if(!_0x203d67)return null;const _0x160ab3=_0xe472c8[_0x3acf32(0x173)][_0x3acf32(0x151)][_0x3acf32(0x134)](_0x203d67);return new _0xd92ac5(_0x160ab3)[_0x3acf32(0x13d)]>_0x5a1878?_(_0xe472c8,_0x339fae,_0x5a1878,_0x558103,_0x367214-0x1):_(_0xe472c8,_0x339fae,_0x5a1878,_0x367214+0x1,_0x44a36a);}return _0x367214<0x0?null:_0x339fae[_0x367214];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44d413=_0x19ff;(function(_0x47280d,_0x5487de){const _0x888b1c=_0x19ff,_0xe861bf=_0x47280d();while(!![]){try{const _0x213287=-parseInt(_0x888b1c(0xbf))/0x1*(-parseInt(_0x888b1c(0xc6))/0x2)+parseInt(_0x888b1c(0xd9))/0x3*(parseInt(_0x888b1c(0xbd))/0x4)+parseInt(_0x888b1c(0xaa))/0x5*(-parseInt(_0x888b1c(0xcb))/0x6)+parseInt(_0x888b1c(0xa8))/0x7+parseInt(_0x888b1c(0xa1))/0x8*(-parseInt(_0x888b1c(0xc4))/0x9)+parseInt(_0x888b1c(0xa3))/0xa*(-parseInt(_0x888b1c(0xb5))/0xb)+-parseInt(_0x888b1c(0xc8))/0xc*(-parseInt(_0x888b1c(0xd6))/0xd);if(_0x213287===_0x5487de)break;else _0xe861bf['push'](_0xe861bf['shift']());}catch(_0x580941){_0xe861bf['push'](_0xe861bf['shift']());}}}(_0x4a34,0x956ff));function _0x4a34(){const _0x441e82=['domToView','getChildren','change','config','DocumentOutlineUtils','13438321MoSitD','_getHeadingNames','modelElement','1638shPcCz','selection','9459896hGGQOQ','init','10AFBsme','toModel','getFirstPosition','level','backward','946463jALFeJ','createElement','2190rRkIph','push','text','pluginName','editor','model','afterInit','name','getRoot','editing','indexOf','8174903dQuiSC','data','_deriveHeadingElementsFromConversion','includes','_getOutlineDefinitions','element','getRootNames','findIndex','1424CCrQQG','activeItemIndex','2cUrAvd','fire','domConverter','item','_headingNames','9xjZTCM','length','1138938pzMiUF','view','24HSAjRW','isPremiumPlugin','documentOutline.headings','13674dIuhiL','getChild','document','isOfficialPlugin','_getActiveHeading','get'];_0x4a34=function(){return _0x441e82;};return _0x4a34();}function _0x19ff(_0x50a81d,_0xa17298){const _0x4a342c=_0x4a34();return _0x19ff=function(_0x19ffc6,_0x3cdb3b){_0x19ffc6=_0x19ffc6-0xa0;let _0x372f9c=_0x4a342c[_0x19ffc6];return _0x372f9c;},_0x19ff(_0x50a81d,_0xa17298);}import{Plugin as _0x278baf}from'ckeditor5/src/core.js';import{debounce as _0x4c4857}from'lodash-es';import{TreeWalker as _0x2e3f2c}from'ckeditor5/src/engine.js';import{getElementText as _0x532662,getDefaultFeatureHeadingNames as _0x1f8b83}from'./utils.js';import{diff as _0x1837fb,diffToChanges as _0x22184b}from'ckeditor5/src/utils.js';export default class i extends _0x278baf{constructor(){const _0xd350d8=_0x19ff;super(...arguments),this[_0xd350d8(0xc3)]=[];}static get[_0x44d413(0xad)](){const _0x3f3f48=_0x44d413;return _0x3f3f48(0xd5);}static get[_0x44d413(0xce)](){return!0x0;}static get[_0x44d413(0xc9)](){return!0x0;}[_0x44d413(0xa2)](){const _0xb17cab=_0x44d413,_0x52aff5=this[_0xb17cab(0xae)];this[_0xb17cab(0xc3)]=this[_0xb17cab(0xd7)]();let _0x443dfb=[];_0x52aff5[_0xb17cab(0xaf)][_0xb17cab(0xcd)]['on'](_0xb17cab(0xd3),_0x4c4857(()=>{const _0x347179=_0xb17cab,_0x4e5875=_0x443dfb;_0x443dfb=this[_0x347179(0xb9)]();const _0x4a93ec=_0x1837fb(_0x4e5875,_0x443dfb,(_0x4ca8b0,_0x1f5e7b)=>_0x4ca8b0[_0x347179(0xa6)]===_0x1f5e7b[_0x347179(0xa6)]&&_0x4ca8b0[_0x347179(0xac)]===_0x1f5e7b[_0x347179(0xac)]&&_0x4ca8b0[_0x347179(0xd8)]===_0x1f5e7b[_0x347179(0xd8)]),_0x5071c7=_0x22184b(_0x4a93ec,_0x443dfb),_0x18e80d=this[_0x347179(0xcf)](),_0xf78237=_0x443dfb[_0x347179(0xbc)](_0x2d452e=>_0x2d452e[_0x347179(0xd8)]===_0x18e80d);_0x5071c7[_0x347179(0xc5)]&&this[_0x347179(0xc0)](_0x347179(0xd3),{'outlineDefinitions':_0x443dfb,'activeItemIndex':_0xf78237,'outlineChanges':_0x5071c7}),this[_0x347179(0xc0)](_0x347179(0xbe),{'index':_0xf78237});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x44d413(0xb0)](){const _0x2fead2=_0x44d413;this[_0x2fead2(0xc3)][_0x2fead2(0xc5)]||this[_0x2fead2(0xb7)]();}[_0x44d413(0xb9)](){const _0x3ab175=_0x44d413,_0x544d2d=this[_0x3ab175(0xae)],_0x45fab7=[],_0x2c5ca5=this[_0x3ab175(0xc3)];for(const _0x2ee4a7 of _0x544d2d[_0x3ab175(0xaf)][_0x3ab175(0xcd)][_0x3ab175(0xbb)]())_0x48cf6a(_0x544d2d[_0x3ab175(0xaf)][_0x3ab175(0xcd)][_0x3ab175(0xb2)](_0x2ee4a7));function _0x48cf6a(_0x4f2f9b){const _0x68f41c=_0x3ab175;for(const _0x5019bc of _0x4f2f9b[_0x68f41c(0xd2)]())_0x5019bc['is'](_0x68f41c(0xba))&&(_0x2c5ca5[_0x68f41c(0xb8)](_0x5019bc[_0x68f41c(0xb1)])&&_0x45fab7[_0x68f41c(0xab)]({'level':_0x2c5ca5[_0x68f41c(0xb4)](_0x5019bc[_0x68f41c(0xb1)])+0x1,'text':_0x532662(_0x5019bc),'modelElement':_0x5019bc}),_0x48cf6a(_0x5019bc));}return _0x45fab7;}[_0x44d413(0xcf)](){const _0x17dbb0=_0x44d413,_0x227b4c=this[_0x17dbb0(0xae)][_0x17dbb0(0xaf)][_0x17dbb0(0xcd)][_0x17dbb0(0xa0)][_0x17dbb0(0xa5)](),_0x37d00a=new _0x2e3f2c({'direction':_0x17dbb0(0xa7),'startPosition':_0x227b4c});for(const _0x876d7e of _0x37d00a)if(_0x876d7e[_0x17dbb0(0xc2)]['is'](_0x17dbb0(0xba))&&this[_0x17dbb0(0xc3)][_0x17dbb0(0xb8)](_0x876d7e[_0x17dbb0(0xc2)][_0x17dbb0(0xb1)]))return _0x876d7e[_0x17dbb0(0xc2)];}[_0x44d413(0xd7)](){const _0x3382f5=_0x44d413,_0x1cd858=this[_0x3382f5(0xae)][_0x3382f5(0xd4)][_0x3382f5(0xd0)](_0x3382f5(0xca));return _0x1cd858||_0x1f8b83(this[_0x3382f5(0xae)]);}[_0x44d413(0xb7)](){const _0x166e10=_0x44d413,_0x31fb43=this[_0x166e10(0xae)],_0x55fea8=['h1','h2','h3','h4','h5','h6'],_0x900df2=[];for(const _0x304bf1 of _0x55fea8){const _0x2e0602=_0x31fb43[_0x166e10(0xb3)][_0x166e10(0xc7)][_0x166e10(0xc1)][_0x166e10(0xd1)](document[_0x166e10(0xa9)](_0x304bf1)),_0x4608be=_0x31fb43[_0x166e10(0xb6)][_0x166e10(0xa4)](_0x2e0602)[_0x166e10(0xcc)](0x0);(null==_0x4608be?void 0x0:_0x4608be['is'](_0x166e10(0xba)))&&_0x900df2[_0x166e10(0xab)](_0x4608be[_0x166e10(0xb1)]);}this[_0x166e10(0xc3)]=_0x900df2;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5e5b(_0x5e37a7,_0x9d358c){const _0x3d4401=_0x3d44();return _0x5e5b=function(_0x5e5bd4,_0x3c0b2e){_0x5e5bd4=_0x5e5bd4-0x182;let _0x8a1b2d=_0x3d4401[_0x5e5bd4];return _0x8a1b2d;},_0x5e5b(_0x5e37a7,_0x9d358c);}(function(_0x698fdd,_0x431efd){const _0xdbc063=_0x5e5b,_0x331cc5=_0x698fdd();while(!![]){try{const _0x3c33fc=parseInt(_0xdbc063(0x18e))/0x1+parseInt(_0xdbc063(0x18d))/0x2*(parseInt(_0xdbc063(0x19b))/0x3)+-parseInt(_0xdbc063(0x18a))/0x4*(parseInt(_0xdbc063(0x189))/0x5)+parseInt(_0xdbc063(0x188))/0x6+parseInt(_0xdbc063(0x183))/0x7*(-parseInt(_0xdbc063(0x190))/0x8)+-parseInt(_0xdbc063(0x18f))/0x9+-parseInt(_0xdbc063(0x185))/0xa*(-parseInt(_0xdbc063(0x18b))/0xb);if(_0x3c33fc===_0x431efd)break;else _0x331cc5['push'](_0x331cc5['shift']());}catch(_0x3e850f){_0x331cc5['push'](_0x331cc5['shift']());}}}(_0x3d44,0x49fc4));import{View as _0x56d784}from'ckeditor5/src/ui.js';import{getTranslation as _0x375f09}from'../../utils/common-translations.js';function _0x3d44(){const _0x36425f=['text','bind','setTemplate','ck-document-outline__item_active','9180ryLLhZ','Empty\x20heading','ck-document-outline__item','16688spmteS','ck-document-outline__item_level-','506530WiIRfJ','div','ck-reset','2121894HpJirE','475GVwqqG','1252yvuLgg','33fJbSTK','set','210hxFGsW','280815tjtQYV','2340000cXMREd','1728ifBfbH','ck-document-outline__item_empty','level','click','isActive','bindTemplate','isEmpty'];_0x3d44=function(){return _0x36425f;};return _0x3d44();}export default class $ extends _0x56d784{constructor(_0x5e7871,_0x1bf2a9=!0x1){const _0x295401=_0x5e5b;super(_0x5e7871);const _0xc33b68=this[_0x295401(0x195)],_0x1fd480=_0x1bf2a9?'['+_0x375f09(_0x5e7871,_0x295401(0x19c))+']':'';this[_0x295401(0x18c)](_0x295401(0x197),''),this[_0x295401(0x18c)](_0x295401(0x192),0x1),this[_0x295401(0x18c)](_0x295401(0x194),!0x1),this[_0x295401(0x198)](_0x295401(0x196))['to'](this,_0x295401(0x197),_0x19b37d=>!_0x19b37d),this[_0x295401(0x199)]({'tag':_0x295401(0x186),'attributes':{'class':['ck',_0x295401(0x187),_0x295401(0x182),_0xc33b68['to'](_0x295401(0x192),_0x1ca724=>_0x295401(0x184)+_0x1ca724),_0xc33b68['if'](_0x295401(0x194),_0x295401(0x19a)),_0xc33b68['if'](_0x295401(0x196),_0x295401(0x191))],'title':_0xc33b68['to'](_0x295401(0x197))},'children':[{'text':_0xc33b68['to'](_0x295401(0x197),_0x1ff206=>_0x1ff206||_0x1fd480)}],'on':{'click':_0xc33b68['to'](_0x295401(0x193))}});}}
|