@ckeditor/ckeditor5-document-outline 44.1.0-alpha.4 → 44.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/document-outline.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +8 -8
- package/src/documentoutline/documentoutlineui.js +1 -1
- package/src/documentoutline/documentoutlineutils.js +1 -1
- package/src/documentoutline/ui/documentoutlineitemview.js +1 -1
- package/src/documentoutline/ui/documentoutlineview.js +1 -1
- package/src/documentoutline/utils.js +1 -1
- package/src/tableofcontents/headingid.js +1 -1
- package/src/tableofcontents/tableofcontentscommand.js +1 -1
- package/src/tableofcontents/tableofcontentsediting.js +1 -1
- package/src/tableofcontents/tableofcontentsui.js +1 -1
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x49cfff,Command as _0x5b7e3c}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x1e98c7,throttle as _0x4d9d0b}from'lodash-es';import{Text as _0x4e2a4f,TreeWalker as _0x5b00a9}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x55c102,diffToChanges as _0x4a1327,scrollAncestorsToShowTarget as _0x997041,CKEditorError as _0x1e771d,global as _0x305b9f,Rect as _0xfa3674,uid as _0x1706dd,priorities as _0x102b26}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x162a5b,ButtonView as _0x5d65b8,MenuBarMenuListItemButtonView as _0x5e72e0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x4f22d4,toWidget as _0x350bf3}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x500484}from'ckeditor5-collaboration/dist/index.js';function p(_0x9223c){let _0x56947b='';for(const _0x5de7be of _0x9223c['getChildren']())_0x5de7be instanceof _0x4e2a4f&&(_0x56947b+=_0x5de7be['data']);return _0x56947b;}class i extends _0x49cfff{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x70bbd8=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0xf5f5a=[];_0x70bbd8['model']['document']['on']('change',_0x1e98c7(()=>{const _0x21213e=_0xf5f5a;_0xf5f5a=this['_getOutlineDefinitions']();const _0x22b90c=_0x55c102(_0x21213e,_0xf5f5a,(_0x58055d,_0x3c6d8d)=>_0x58055d['level']===_0x3c6d8d['level']&&_0x58055d['text']===_0x3c6d8d['text']&&_0x58055d['modelElement']===_0x3c6d8d['modelElement']),_0x54f36a=_0x4a1327(_0x22b90c,_0xf5f5a),_0x3433ff=this['_getActiveHeading'](),_0x218b5a=_0xf5f5a['findIndex'](_0x3572f4=>_0x3572f4['modelElement']===_0x3433ff);_0x54f36a['length']&&this['fire']('change',{'outlineDefinitions':_0xf5f5a,'activeItemIndex':_0x218b5a,'outlineChanges':_0x54f36a}),this['fire']('activeItemIndex',{'index':_0x218b5a});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x47a0fc=this['editor'],_0x23c8d3=[],_0x12a45f=this['_headingNames'];for(const _0x61154b of _0x47a0fc['model']['document']['getRootNames']())_0x431604(_0x47a0fc['model']['document']['getRoot'](_0x61154b));function _0x431604(_0xf07e19){for(const _0x4bc562 of _0xf07e19['getChildren']())_0x4bc562['is']('element')&&(_0x12a45f['includes'](_0x4bc562['name'])&&_0x23c8d3['push']({'level':_0x12a45f['indexOf'](_0x4bc562['name'])+0x1,'text':p(_0x4bc562),'modelElement':_0x4bc562}),_0x431604(_0x4bc562));}return _0x23c8d3;}['_getActiveHeading'](){const _0x571b92=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x55956b=new _0x5b00a9({'direction':'backward','startPosition':_0x571b92});for(const _0x577e23 of _0x55956b)if(_0x577e23['item']['is']('element')&&this['_headingNames']['includes'](_0x577e23['item']['name']))return _0x577e23['item'];}['_getHeadingNames'](){const _0x140555=this['editor']['config']['get']('documentOutline.headings');return _0x140555||function(_0x364003){const _0x39c829=_0x364003['config']['get']('heading.options');return _0x39c829?_0x39c829['reduce']((_0x110816,_0x4749e5)=>('paragraph'!==_0x4749e5['model']&&_0x110816['push'](_0x4749e5['model']),_0x110816),[]):_0x364003['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x301ad5=this['editor'],_0x4636bc=['h1','h2','h3','h4','h5','h6'],_0x40220d=[];for(const _0x22403a of _0x4636bc){const _0x294adc=_0x301ad5['editing']['view']['domConverter']['domToView'](document['createElement'](_0x22403a)),_0x4bd148=_0x301ad5['data']['toModel'](_0x294adc)['getChild'](0x0);_0x4bd148?.['is']('element')&&_0x40220d['push'](_0x4bd148['name']);}this['_headingNames']=_0x40220d;}}function N(_0x354482,_0x2bbfed){const t=_0x354482['t'];switch(_0x2bbfed){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 _0x2bbfed;}}class A extends _0x162a5b{constructor(_0x365dd3,_0x49c55d=!0x1){super(_0x365dd3);const _0x381cc0=this['bindTemplate'],_0x21aa22=_0x49c55d?'['+N(_0x365dd3,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x302d09=>!_0x302d09),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x381cc0['to']('level',_0x123eae=>'ck-document-outline__item_level-'+_0x123eae),_0x381cc0['if']('isActive','ck-document-outline__item_active'),_0x381cc0['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x381cc0['to']('text')},'children':[{'text':_0x381cc0['to']('text',_0x928718=>_0x928718||_0x21aa22)}],'on':{'click':_0x381cc0['to']('click')}});}}class l extends _0x162a5b{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x4e0e08,_0x2f0635=!0x1,_0x5557f0){super(_0x4e0e08),this['showEmptyHeadingText']=_0x2f0635,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x5557f0,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x5e98d0,_0x435d08,_0x263272,_0x186611)=>{this['_setActiveItem'](_0x186611,_0x263272);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x4e0e08['contentLanguageDirection'],'data-document-outline-empty-placeholder':N(_0x4e0e08,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0xc5eec1){_0xc5eec1['forEach'](_0x559a1b=>{'insert'==_0x559a1b['type']?this['_insertItem'](_0x559a1b['index'],..._0x559a1b['values']):'delete'==_0x559a1b['type']&&this['_deleteItem'](_0x559a1b['index'],_0x559a1b['howMany']);});}['_setActiveItem'](_0x244416,_0x7ebe6e){if(-0x1!==_0x244416){const _0x10e01c=this['items']['get'](_0x244416);_0x10e01c&&(_0x10e01c['isActive']=!0x1);}-0x1!==_0x7ebe6e&&(this['items']['get'](_0x7ebe6e)['isActive']=!0x0,this['_scrollToItem'](_0x7ebe6e));}['_insertItem'](_0x2d7a96,..._0x1f52fd){const _0x1b733d=_0x1f52fd['map']((_0x3811df,_0xf3fc4f)=>{const _0x1bcff0=new A(this['locale'],this['showEmptyHeadingText']);return _0x1bcff0['text']=_0x3811df['text'],_0x1bcff0['level']=_0x3811df['level'],_0x2d7a96+_0xf3fc4f===this['activeItemIndex']&&(_0x1bcff0['isActive']=!0x0),_0x1bcff0;});this['items']['addMany'](_0x1b733d,_0x2d7a96);}['_deleteItem'](_0x3a54c5,_0x3e7ab9){do{this['items']['remove'](_0x3a54c5);}while(--_0x3e7ab9);}['_handleItemClick'](_0x5437fd){const _0x2b176b=this['items']['getIndex'](_0x5437fd['source']);this['fire']('itemSelected',_0x2b176b);}['_scrollToItem'](_0x433c0f){_0x997041(this['items']['get'](_0x433c0f)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x49cfff{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x52d647){super(_0x52d647),this['view']=new l(_0x52d647['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x4d9d0b(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2d8d73=this['editor'],_0x3262e9=_0x2d8d73['plugins']['get']('DocumentOutlineUtils');let _0x26e8c0=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2d8d73['config']['get']('documentOutline.container'))throw new _0x1e771d('document-outline-container-not-provided',{'editor':_0x2d8d73});_0x2d8d73['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x3262e9['on']('change',this['_handleOutlineChange']['bind'](this)),_0x3262e9['on']('activeItemIndex',(_0x1b4d65,{index:_0x5c5d11})=>this['_setActiveViewItem'](_0x5c5d11)),this['view']['on']('itemSelected',(_0x29467d,_0x28caef)=>{_0x26e8c0=!0x0,this['_handleItemSelected'](_0x28caef);}),this['view']['listenTo'](_0x305b9f['document'],'scroll',()=>{_0x26e8c0?_0x26e8c0=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x305b9f['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x123f68){const _0x10cd77=_0x10c049([0x77,0x46,0x64,0x30,0x74,0x6e,0x62,0x4b,0x47,0x41,0x59,0x4c,0x55,0x76,0x57,0x43,0x5a,0x34,0x39,0x31,0x6c,0x7a,0x50,0x45,0x58,0x73,0x6d,0x6f,0x56,0x36,0x4e,0x75,0x72,0x54,0x4d,0x32,0x4a,0x6a,0x67,0x42,0x4f,0x66,0x37,0x51,0x65,0x6b,0x79,0x52,0x68,0x49,0x48,0x53,0x70,0x44,0x61,0x78,0x33,0x38,0x63,0x71,0x69,0x35]),_0x2075db=0x31436423,_0xccb3e2=0x31443de3^_0x2075db,_0x31dcb1=window[_0x10c049([0x44,0x61,0x74,0x65])][_0x10c049([0x6e,0x6f,0x77])](),_0x15696e=_0x123f68[_0x10c049([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56f6a9=new window[(_0x10c049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x274420=>{_0x15696e[_0x10c049([0x6f,0x6e,0x63,0x65])](_0x10c049([0x72,0x65,0x61,0x64,0x79]),_0x274420);}),_0x3e3895={[_0x10c049([0x6b,0x74,0x79])]:_0x10c049([0x45,0x43]),[_0x10c049([0x75,0x73,0x65])]:_0x10c049([0x73,0x69,0x67]),[_0x10c049([0x63,0x72,0x76])]:_0x10c049([0x50,0x2d,0x32,0x35,0x36]),[_0x10c049([0x78])]:_0x10c049([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]),[_0x10c049([0x79])]:_0x10c049([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]),[_0x10c049([0x61,0x6c,0x67])]:_0x10c049([0x45,0x53,0x32,0x35,0x36])},_0x2137ea=_0x15696e[_0x10c049([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10c049([0x67,0x65,0x74])](_0x10c049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x413a0e(){let _0x4a1a91,_0x592672=null,_0x5a130c=null;try{if(_0x2137ea==_0x10c049([0x47,0x50,0x4c]))return _0x10c049([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a1a91=_0x2eedd8(),!_0x4a1a91)return _0x10c049([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a1a91[_0x10c049([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a130c=_0x4d8b0c(_0x4a1a91[_0x10c049([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a1a91[_0x10c049([0x6a,0x74,0x69])])),await _0x50cb42()?_0x996cbf()?_0x5a86c9()?_0x10c049([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17fd42()?(_0x4a1a91[_0x10c049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10c049([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x592672=_0x1a230f(_0x10c049([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a1a91[_0x10c049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10c049([0x74,0x72,0x69,0x61,0x6c])&&(_0x592672=_0x1a230f(_0x10c049([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a1a91[_0x10c049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10c049([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x592672=_0x1a230f(_0x10c049([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x549d60()):_0x10c049([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10c049([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10c049([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xcba328){return _0x10c049([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5a86c9(){const _0x50069e=[_0x10c049([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10c049([0x74,0x72,0x69,0x61,0x6c])][_0x10c049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a1a91[_0x10c049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x31dcb1/0x3e8:0xe10*_0xccb3e2;return _0x4a1a91[_0x10c049([0x65,0x78,0x70])]<_0x50069e;}function _0x996cbf(){const _0x288e35=_0x4a1a91[_0x10c049([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x288e35&&(!!_0x288e35[_0x10c049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10c049([0x2a]))||(!!_0x288e35[_0x10c049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10c049([0x44,0x4f]))||!!_0x288e35[_0x10c049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10c049([0x50,0x50]))));}function _0x17fd42(){const _0x2cf7ea=_0x4a1a91[_0x10c049([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2cf7ea||0x0==_0x2cf7ea[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x96737d}=new URL(window[_0x10c049([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2cf7ea[_0x10c049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96737d))return!0x0;const _0x3a1029=_0x96737d[_0x10c049([0x73,0x70,0x6c,0x69,0x74])](_0x10c049([0x2e]));return _0x2cf7ea[_0x10c049([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x577be0=>_0x577be0[_0x10c049([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10c049([0x2a])))[_0x10c049([0x6d,0x61,0x70])](_0x1b2bc7=>_0x1b2bc7[_0x10c049([0x73,0x70,0x6c,0x69,0x74])](_0x10c049([0x2e])))[_0x10c049([0x73,0x6f,0x6d,0x65])](_0x34b4c0=>_0x3a1029[_0x10c049([0x65,0x76,0x65,0x72,0x79])]((_0x51ca62,_0x3debfd)=>_0x34b4c0[_0x3debfd]===_0x51ca62||_0x34b4c0[_0x3debfd]===_0x10c049([0x2a])));}function _0x549d60(){return _0x592672&&_0x5a130c?new window[(_0x10c049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x262792,_0x394fdf)=>{_0x592672[_0x10c049([0x74,0x68,0x65,0x6e])](_0x262792,_0x394fdf),_0x5a130c[_0x10c049([0x74,0x68,0x65,0x6e])](_0x555b21=>{_0x555b21!=_0x10c049([0x56,0x61,0x6c,0x69,0x64])&&_0x262792(_0x555b21);},_0x394fdf);}):_0x592672||_0x5a130c||_0x10c049([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d8b0c(_0x28bb01,_0x4c74ce){return new window[(_0x10c049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x457d2d=>{if(_0xb994db())return _0x457d2d(_0x10c049([0x56,0x61,0x6c,0x69,0x64]));_0x3d0d43(),_0x15696e[_0x10c049([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10c049([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29e1e0=!0x1;const _0x216a51=_0x1706dd();function _0x333c86(_0x146449){return!!_0x146449&&(typeof _0x146449===_0x10c049([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x146449===_0x10c049([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x146449[_0x10c049([0x74,0x68,0x65,0x6e])]===_0x10c049([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x146449[_0x10c049([0x63,0x61,0x74,0x63,0x68])]===_0x10c049([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3bf16f(_0x24161e){_0x5acd36(_0x24161e)[_0x10c049([0x74,0x68,0x65,0x6e])](_0x2615e5=>{if(!_0x2615e5||_0x2615e5[_0x10c049([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10c049([0x6f,0x6b]))return _0x10c049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x408b36(_0x1ad416(_0x216a51+_0x4c74ce))!=_0x2615e5[_0x10c049([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10c049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10c049([0x56,0x61,0x6c,0x69,0x64]);})[_0x10c049([0x74,0x68,0x65,0x6e])](_0x5a3fa1=>(_0x16fbf5(),_0x5a3fa1),()=>{const _0x5ab767=_0xe73f14();return null==_0x5ab767?(_0x16fbf5(),_0x10c049([0x56,0x61,0x6c,0x69,0x64])):_0x10c049(_0x31dcb1-_0x5ab767>(0x154fe023^_0x2075db)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10c049([0x74,0x68,0x65,0x6e])](_0x457d2d)[_0x10c049([0x63,0x61,0x74,0x63,0x68])](()=>{_0x457d2d(_0x10c049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x325238=0x31758aa3^_0x2075db;function _0x16fbf5(){const _0x2f48d0=_0x10c049([0x6c,0x6c,0x63,0x74,0x2d])+_0x408b36(_0x1ad416(_0x28bb01)),_0x5c15b5=_0x2598e7(_0x408b36(window[_0x10c049([0x4d,0x61,0x74,0x68])][_0x10c049([0x63,0x65,0x69,0x6c])](_0x31dcb1/_0x325238)));window[_0x10c049([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10c049([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f48d0,_0x5c15b5);}function _0xe73f14(){const _0x49b78e=_0x10c049([0x6c,0x6c,0x63,0x74,0x2d])+_0x408b36(_0x1ad416(_0x28bb01)),_0x52160a=window[_0x10c049([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10c049([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49b78e);return _0x52160a?window[_0x10c049([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2598e7(_0x52160a),0x10)*_0x325238:null;}function _0x5acd36(_0xba0c50){return new window[(_0x10c049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16233b,_0x379d5a)=>{_0xba0c50[_0x10c049([0x74,0x68,0x65,0x6e])](_0x16233b,_0x379d5a),window[_0x10c049([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x379d5a,0x3142b0e3^_0x2075db);});}}_0x15696e[_0x10c049([0x6f,0x6e])](_0x10c049([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x396d04,_0xa958b9)=>{if(_0xa958b9[0x0]!=_0x28bb01)return _0x457d2d(_0x10c049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa958b9[0x1]={..._0xa958b9[0x1],[_0x10c049([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x216a51};},{[_0x10c049([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10c049([0x68,0x69,0x67,0x68])}),_0x15696e[_0x10c049([0x6f,0x6e])](_0x10c049([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a1851=>{_0x333c86(_0x4a1851[_0x10c049([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29e1e0=!0x0,_0x3bf16f(_0x4a1851[_0x10c049([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10c049([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10c049([0x6c,0x6f,0x77])}),_0x56f6a9[_0x10c049([0x74,0x68,0x65,0x6e])](()=>{_0x29e1e0||_0x457d2d(_0x10c049([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb994db(){return _0x15696e[_0x10c049([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10c049([0x76,0x69,0x65,0x77])][_0x10c049([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10c049([0x61,0x75,0x74,0x6f]);}function _0x3d0d43(){_0x15696e[_0x10c049([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10c049([0x76,0x69,0x65,0x77])][_0x10c049([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10c049([0x61,0x75,0x74,0x6f]);}}function _0x1a230f(_0x1f4102){const _0x443ba9=[new window[(_0x10c049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x284115=>setTimeout(_0x284115,0x314a5aef^_0x2075db)),_0x56f6a9[_0x10c049([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10c049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d5c22=>{let _0x3830e8=0x0;_0x15696e[_0x10c049([0x6d,0x6f,0x64,0x65,0x6c])][_0x10c049([0x6f,0x6e])](_0x10c049([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2d4357,_0x37e15d)=>{_0x37e15d[0x0][_0x10c049([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3830e8++,_0x3830e8==(0x314365db^_0x2075db)&&(_0x1d5c22(),_0x2d4357[_0x10c049([0x6f,0x66,0x66])]());});}))];return window[_0x10c049([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10c049([0x72,0x61,0x63,0x65])](_0x443ba9)[_0x10c049([0x74,0x68,0x65,0x6e])](()=>_0x1f4102);}async function _0x2a61d4(){await _0x56f6a9,_0x15696e[_0x10c049([0x6d,0x6f,0x64,0x65,0x6c])][_0x10c049([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fccce,_0x15696e[_0x10c049([0x6d,0x6f,0x64,0x65,0x6c])][_0x10c049([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fccce,_0x15696e[_0x10c049([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10c049([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x375367(_0xf250ee){const _0x1a1210=_0x48733e();_0x15696e[_0x1a1210]=_0x10c049([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])+_0xf250ee,_0xf250ee!=_0x10c049([0x56,0x61,0x6c,0x69,0x64])&&_0x2a61d4();}function _0x48733e(){const _0x3d0a7e=window[_0x10c049([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10c049([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10c049([0x6e,0x6f,0x77])]())[_0x10c049([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10c049([0x2e]),'');let _0x43b741=_0x10c049([0x77]);for(let _0x2634ef=0x0;_0x2634ef<_0x3d0a7e[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2634ef+=0x2){let _0x48cd95=window[_0x10c049([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d0a7e[_0x10c049([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2634ef,_0x2634ef+0x2));_0x48cd95>=_0x10cd77[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48cd95-=_0x10cd77[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43b741+=_0x10cd77[_0x48cd95];}return _0x43b741;}function _0x2eedd8(){const _0x4016c1=_0x2137ea[_0x10c049([0x73,0x70,0x6c,0x69,0x74])](_0x10c049([0x2e]));if(0x3!=_0x4016c1[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e40ae(_0x4016c1[0x1]);function _0x4e40ae(_0xfd2cac){const _0x4b9d50=_0x496524(_0xfd2cac);return _0x4b9d50&&_0xc96bb6()?_0x4b9d50:null;function _0xc96bb6(){const _0x43d892=_0x4b9d50[_0x10c049([0x6a,0x74,0x69])],_0x2446aa=window[_0x10c049([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43d892[_0x10c049([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43d892[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x77934b={..._0x4b9d50,[_0x10c049([0x6a,0x74,0x69])]:_0x43d892[_0x10c049([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43d892[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x77934b[_0x10c049([0x76,0x63])],_0x1ad416(_0x77934b)==_0x2446aa;}}}async function _0x50cb42(){let _0x3d2ea1=!0x0;try{const _0x2c8358=_0x2137ea[_0x10c049([0x73,0x70,0x6c,0x69,0x74])](_0x10c049([0x2e])),[_0x300f4e,_0xcf0ec4,_0x3ab59c]=_0x2c8358;return _0x5a5632(_0x300f4e),await _0x3d1b72(_0x300f4e,_0xcf0ec4,_0x3ab59c),_0x3d2ea1;}catch(_0x556c7e){return!0x1;}function _0x5a5632(_0x425920){const _0x4de089=_0x496524(_0x425920);_0x4de089&&_0x4de089[_0x10c049([0x61,0x6c,0x67])]==_0x10c049([0x45,0x53,0x32,0x35,0x36])||(_0x3d2ea1=!0x1);}async function _0x3d1b72(_0x4054ff,_0x23bedd,_0x3c20eb){const _0x1876f0=window[_0x10c049([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10c049([0x66,0x72,0x6f,0x6d])](_0x40d303(_0x3c20eb),_0x298ed2=>_0x298ed2[_0x10c049([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a8960=new window[(_0x10c049([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10c049([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4054ff+_0x10c049([0x2e])+_0x23bedd),_0x1aae0b=window[_0x10c049([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10c049([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1aae0b)return;const _0x8d4058=await _0x1aae0b[_0x10c049([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10c049([0x6a,0x77,0x6b]),_0x3e3895,{[_0x10c049([0x6e,0x61,0x6d,0x65])]:_0x10c049([0x45,0x43,0x44,0x53,0x41]),[_0x10c049([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10c049([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10c049([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1aae0b[_0x10c049([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10c049([0x6e,0x61,0x6d,0x65])]:_0x10c049([0x45,0x43,0x44,0x53,0x41]),[_0x10c049([0x68,0x61,0x73,0x68])]:{[_0x10c049([0x6e,0x61,0x6d,0x65])]:_0x10c049([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x8d4058,_0x1876f0,_0x1a8960)||(_0x3d2ea1=!0x1);}}function _0x496524(_0x405644){return _0x405644[_0x10c049([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10c049([0x65,0x79]))?JSON[_0x10c049([0x70,0x61,0x72,0x73,0x65])](_0x40d303(_0x405644)):null;}function _0x40d303(_0x6c461e){return window[_0x10c049([0x61,0x74,0x6f,0x62])](_0x6c461e[_0x10c049([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10c049([0x2b]))[_0x10c049([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10c049([0x2f])));}function _0x1ad416(_0x530fd1){let _0xeb47d7=0x1505;function _0x2a8aec(_0x5e5fb0){for(let _0x50795f=0x0;_0x50795f<_0x5e5fb0[_0x10c049([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x50795f++){const _0x89f975=_0x5e5fb0[_0x10c049([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x50795f);_0xeb47d7=(_0xeb47d7<<0x5)+_0xeb47d7+_0x89f975,_0xeb47d7&=_0xeb47d7;}}function _0x1dde83(_0x462a0b){Array[_0x10c049([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x462a0b)?_0x462a0b[_0x10c049([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dde83):_0x462a0b&&typeof _0x462a0b==_0x10c049([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10c049([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x462a0b)[_0x10c049([0x73,0x6f,0x72,0x74])]()[_0x10c049([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3de6e9,_0x49cd7c])=>{_0x2a8aec(_0x3de6e9),_0x1dde83(_0x49cd7c);}):_0x2a8aec(window[_0x10c049([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x462a0b));}return _0x1dde83(_0x530fd1),_0xeb47d7>>>0x0;}function _0x408b36(_0x362040){return _0x362040[_0x10c049([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10c049([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10c049([0x30]));}function _0x2598e7(_0x206351){return _0x206351[_0x10c049([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10c049([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10c049([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fccce(){}function _0x10c049(_0x3e4c00){return _0x3e4c00['map'](_0xf57577=>String['fromCharCode'](_0xf57577))['join']('');}_0x375367(await _0x413a0e());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x4286c8,{outlineDefinitions:_0x5d19a8,outlineChanges:_0x6774a7}){this['_currentOutlineDefinitions']=_0x5d19a8,this['view']['sync'](_0x6774a7);}['_setActiveViewItem'](_0x6d0ea0){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x6d0ea0]&&(this['view']['activeItemIndex']=_0x6d0ea0);}['_handleItemSelected'](_0x23cec7){const _0x203442=this['_currentOutlineDefinitions'][_0x23cec7]['modelElement'];this['editor']['model']['change'](_0x26f00b=>{_0x26f00b['setSelection'](_0x203442,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x23cec7);}['_updateActiveDefinitionOnViewportChange'](){const _0x126ff3=this['editor'];let _0x3841cc;for(const _0x27c78f of _0x126ff3['model']['document']['getRootNames']()){const _0x2a1c88=_0x126ff3['editing']['view']['getDomRoot'](_0x27c78f),_0x2cb719=_0x2a1c88&&new _0xfa3674(_0x2a1c88)['getVisible']();if(_0x2cb719){const _0x3cd1e9=new _0xfa3674(_0x305b9f['window'])['getIntersection'](_0x2cb719);_0x3cd1e9&&(_0x3841cc=_0x3cd1e9['top']+0.25*_0x3cd1e9['height']);}}if(void 0x0===_0x3841cc)return;const _0x65ef22=d(_0x126ff3['editing'],this['_currentOutlineDefinitions'],_0x3841cc);_0x65ef22?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x65ef22)):this['_setActiveViewItem'](-0x1);}}function d(_0x42acdf,_0x37bca7,_0x59b33d,_0x20018b=0x0,_0x4c7e03=_0x37bca7['length']-0x1){const _0x3ac9af=Math['floor'](_0x20018b+(_0x4c7e03-_0x20018b)/0x2);if(_0x4c7e03>=_0x20018b){const _0x4a8dfc=_0x37bca7[_0x3ac9af],_0x4660e1=_0x42acdf['mapper']['toViewElement'](_0x4a8dfc['modelElement']);if(!_0x4660e1)return null;const _0x161c78=_0x42acdf['view']['domConverter']['mapViewToDom'](_0x4660e1);return new _0xfa3674(_0x161c78)['bottom']>_0x59b33d?d(_0x42acdf,_0x37bca7,_0x59b33d,_0x20018b,_0x3ac9af-0x1):d(_0x42acdf,_0x37bca7,_0x59b33d,_0x3ac9af+0x1,_0x4c7e03);}return _0x3ac9af<0x0?null:_0x37bca7[_0x3ac9af];}class u extends _0x49cfff{['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 _0x1b7df5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c6187;for(const _0x45bcb3 in _0x1b7df5){const _0x43a6f7=_0x45bcb3,_0x4c3072=_0x1b7df5[_0x43a6f7];if('documentOutlineLicenseKeyValid'==_0x4c3072||'documentOutlineLicenseKeyInvalid'==_0x4c3072||'documentOutlineLicenseKeyExpired'==_0x4c3072||'documentOutlineLicenseKeyDomainLimit'==_0x4c3072||'documentOutlineLicenseKeyNotAllowed'==_0x4c3072||'documentOutlineLicenseKeyEvaluationLimit'==_0x4c3072||'documentOutlineLicenseKeyTrialLimit'==_0x4c3072||'documentOutlineLicenseKeyDevelopmentLimit'==_0x4c3072||'documentOutlineLicenseKeyUsageLimit'==_0x4c3072){delete _0x1b7df5[_0x43a6f7],_0x4c6187=_0x4c3072,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4c6187&&_0x1b7df5['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4c6187&&_0x1b7df5['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4c6187&&_0x1b7df5['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4c6187&&_0x1b7df5['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4c6187&&_0x1b7df5['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x4c6187&&_0x1b7df5['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0x4c6187&&_0x1b7df5['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4c6187&&_0x1b7df5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class O extends _0x5b7e3c{['execute'](){this['editor']['model']['change'](_0x4a4af4=>{this['editor']['model']['insertObject'](_0x4a4af4['createElement']('tableOfContents'));});}['refresh'](){const _0x285d28=this['editor']['model'],_0x1fb1a4=_0x285d28['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x1fb1a4&&_0x285d28['schema']['findAllowedParent'](_0x1fb1a4,'tableOfContents'));}}class y extends _0x49cfff{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2b6376=this['editor'];if(_0x2b6376['config']['get']('headingId.modelAttributeName'))return;(function(_0x30c2ea){const _0x4bb303=new Map();if(_0x30c2ea)return _0x30c2ea['forEach'](_0x2764d4=>{'paragraph'!==_0x2764d4['model']&&_0x4bb303['set'](_0x2764d4['view'],_0x2764d4['model']);}),_0x4bb303['get']('h1')||_0x4bb303['set']('h1','heading1'),_0x4bb303;return _0x4bb303;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x1efa14,_0x147189)=>{this['_customUpcastHeadingsConversion'](_0x147189),this['_customDataDowncastHeadingsConversion'](_0x1efa14),_0x2b6376['model']['schema']['isRegistered'](_0x1efa14)&&_0x2b6376['model']['schema']['extend'](_0x1efa14,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x21e91a){this['editor']['conversion']['for']('upcast')['add'](_0x51f112=>_0x51f112['on']('element:'+_0x21e91a,(_0x12f993,_0x240860,_0x1dd75d)=>{const {consumable:_0x4cfb7b,writer:_0x403a95}=_0x1dd75d,_0x287b94=_0x240860['viewItem']['getAttribute']('id'),_0x4ec1de=_0x240860['modelRange']['getContainedElement']();if(_0x4ec1de)return _0x287b94&&_0x287b94['length']||_0x4ec1de['hasAttribute']('headingId')?void(_0x4cfb7b['consume'](_0x240860['viewItem'],{'attributes':['id']})&&_0x403a95['setAttribute']('headingId',_0x287b94,_0x4ec1de)):(_0x4cfb7b['consume'](_0x240860['viewItem'],{'attributes':['id']}),void _0x403a95['setAttribute']('headingId',_0x1706dd(),_0x4ec1de));},{'priority':_0x102b26['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x342754){this['editor']['conversion']['for']('downcast')['add'](_0xacf423=>_0xacf423['on']('attribute:headingId:'+_0x342754,(_0x5ec873,_0x127ac4,_0x236ab8)=>{if(!_0x236ab8['consumable']['consume'](_0x127ac4['item'],_0x5ec873['name']))return;const _0x5e7c2c=_0x127ac4['item']['getAttribute']('headingId'),_0x306a5f=_0x236ab8['mapper']['toViewElement'](_0x127ac4['item']);_0x236ab8['writer']['setAttribute']('id',_0x5e7c2c,_0x306a5f);}));}['_registerHeadingIdAttributePostfixer'](){const _0x1467c7=this['editor'],_0x1eafca=new Set(),_0x526e05=new Set();function _0x4b975b(_0x3c86e1,_0x2971c9){const _0x492fb6=_0x1706dd();return _0x526e05['add'](_0x492fb6),_0x3c86e1['setAttribute']('headingId',_0x492fb6,_0x2971c9),_0x492fb6;}function _0x413b2f(_0x5a307c,_0x71451d){_0x5a307c['removeAttribute']('headingId',_0x71451d);}_0x1467c7['model']['document']['registerPostFixer'](_0xe18f83=>{const _0x2096d7=_0x1467c7['model']['document']['differ']['getChanges']();let _0x56d7a0=!0x1;for(const _0x45c266 of _0x2096d7)if('insert'==_0x45c266['type']&&_0x45c266['name']){if(_0x45c266['name']['match'](/heading\d/)){const _0x40f92d=_0x45c266['attributes']['get']('headingId');'string'==typeof _0x40f92d?_0x1eafca['has'](_0x40f92d)?(_0x4b975b(_0xe18f83,_0x45c266['position']['nodeAfter']),_0x56d7a0=!0x0):_0x526e05['add'](_0x40f92d):(_0x4b975b(_0xe18f83,_0x45c266['position']['nodeAfter']),_0x56d7a0=!0x0);}else'string'==typeof _0x45c266['attributes']['get']('headingId')&&(_0x413b2f(_0xe18f83,_0x45c266['position']['nodeAfter']),_0x56d7a0=!0x0);}else{if('remove'==_0x45c266['type']){const _0x4e208d=_0x45c266['attributes']['get']('headingId');'string'==typeof _0x4e208d&&_0x1eafca['delete'](_0x4e208d);}}return _0x56d7a0;}),_0x1467c7['model']['document']['on']('change',()=>{_0x526e05['forEach'](_0x2d0344=>_0x1eafca['add'](_0x2d0344)),_0x526e05['clear']();});}}class s extends _0x49cfff{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4f22d4,i,y];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x56276c){super(_0x56276c),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x22bb25=this['editor'],_0x594868=_0x22bb25['editing']['view']['document'];_0x22bb25['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x22bb25['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x594868,'click',(_0x2ccf30,_0xcf4fb3)=>{if(!_0xcf4fb3['target'])return;const _0x37e63a=_0xcf4fb3['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x37e63a)&&(_0xcf4fb3['domEvent']['preventDefault'](),_0x2ccf30['stop'](),this['_handleScrollToHeading'](_0x37e63a));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x22bb25['commands']['add']('insertTableOfContents',new O(_0x22bb25)),(_0x22bb25['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x203d6f,_0x350e6b)=>{this['_currentOutlineDefinitions']=_0x350e6b['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x22bb25['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x227cac){const _0x43b906=_0x1820f7([0x71,0x56,0x38,0x48,0x73,0x42,0x58,0x75,0x34,0x69,0x41,0x4d,0x36,0x46,0x31,0x67,0x68,0x64,0x79,0x77,0x6d,0x35,0x43,0x6a,0x70,0x45,0x4b,0x4a,0x49,0x76,0x6b,0x54,0x5a,0x57,0x4e,0x4f,0x78,0x62,0x37,0x63,0x72,0x52,0x53,0x6e,0x32,0x50,0x6f,0x74,0x47,0x66,0x65,0x6c,0x30,0x61,0x59,0x51,0x7a,0x33,0x55,0x39,0x4c,0x44]),_0x52a031=0x2a20e687,_0x16519e=0x2a27bf47^_0x52a031,_0x353fba=window[_0x1820f7([0x44,0x61,0x74,0x65])][_0x1820f7([0x6e,0x6f,0x77])](),_0x28378e=_0x227cac[_0x1820f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54c5ec=new window[(_0x1820f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4797ae=>{_0x28378e[_0x1820f7([0x6f,0x6e,0x63,0x65])](_0x1820f7([0x72,0x65,0x61,0x64,0x79]),_0x4797ae);}),_0x1f7c6e={[_0x1820f7([0x6b,0x74,0x79])]:_0x1820f7([0x45,0x43]),[_0x1820f7([0x75,0x73,0x65])]:_0x1820f7([0x73,0x69,0x67]),[_0x1820f7([0x63,0x72,0x76])]:_0x1820f7([0x50,0x2d,0x32,0x35,0x36]),[_0x1820f7([0x78])]:_0x1820f7([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]),[_0x1820f7([0x79])]:_0x1820f7([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]),[_0x1820f7([0x61,0x6c,0x67])]:_0x1820f7([0x45,0x53,0x32,0x35,0x36])},_0x8d5505=_0x28378e[_0x1820f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1820f7([0x67,0x65,0x74])](_0x1820f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5174ef(){let _0x42cbd5,_0x5b71ee=null,_0x7c7363=null;try{if(_0x8d5505==_0x1820f7([0x47,0x50,0x4c]))return _0x1820f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x42cbd5=_0x5e338c(),!_0x42cbd5)return _0x1820f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x42cbd5[_0x1820f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7c7363=_0x5bb1f7(_0x42cbd5[_0x1820f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x42cbd5[_0x1820f7([0x6a,0x74,0x69])])),await _0xfde221()?_0x43681e()?_0x53e065()?_0x1820f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4663e8()?(_0x42cbd5[_0x1820f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1820f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b71ee=_0x5e8c45(_0x1820f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x42cbd5[_0x1820f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1820f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b71ee=_0x5e8c45(_0x1820f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x42cbd5[_0x1820f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1820f7([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x5b71ee=_0x5e8c45(_0x1820f7([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11bde1()):_0x1820f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1820f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1820f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x56d269){return _0x1820f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53e065(){const _0x168128=[_0x1820f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1820f7([0x74,0x72,0x69,0x61,0x6c])][_0x1820f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42cbd5[_0x1820f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x353fba/0x3e8:0xe10*_0x16519e;return _0x42cbd5[_0x1820f7([0x65,0x78,0x70])]<_0x168128;}function _0x43681e(){const _0x2bf733=_0x42cbd5[_0x1820f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2bf733&&(!!_0x2bf733[_0x1820f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1820f7([0x2a]))||(!!_0x2bf733[_0x1820f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1820f7([0x54,0x4f,0x43]))||!!_0x2bf733[_0x1820f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1820f7([0x50,0x50]))));}function _0x4663e8(){const _0x5bb245=_0x42cbd5[_0x1820f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5bb245||0x0==_0x5bb245[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1148a0}=new URL(window[_0x1820f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5bb245[_0x1820f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1148a0))return!0x0;const _0x358d21=_0x1148a0[_0x1820f7([0x73,0x70,0x6c,0x69,0x74])](_0x1820f7([0x2e]));return _0x5bb245[_0x1820f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17dbf8=>_0x17dbf8[_0x1820f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1820f7([0x2a])))[_0x1820f7([0x6d,0x61,0x70])](_0x26897c=>_0x26897c[_0x1820f7([0x73,0x70,0x6c,0x69,0x74])](_0x1820f7([0x2e])))[_0x1820f7([0x73,0x6f,0x6d,0x65])](_0x2bc1dd=>_0x358d21[_0x1820f7([0x65,0x76,0x65,0x72,0x79])]((_0x383d37,_0x884f34)=>_0x2bc1dd[_0x884f34]===_0x383d37||_0x2bc1dd[_0x884f34]===_0x1820f7([0x2a])));}function _0x11bde1(){return _0x5b71ee&&_0x7c7363?new window[(_0x1820f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35f864,_0x23c995)=>{_0x5b71ee[_0x1820f7([0x74,0x68,0x65,0x6e])](_0x35f864,_0x23c995),_0x7c7363[_0x1820f7([0x74,0x68,0x65,0x6e])](_0x552c93=>{_0x552c93!=_0x1820f7([0x56,0x61,0x6c,0x69,0x64])&&_0x35f864(_0x552c93);},_0x23c995);}):_0x5b71ee||_0x7c7363||_0x1820f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5bb1f7(_0x386a7b,_0xd88a5d){return new window[(_0x1820f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e44a4=>{if(_0x154489())return _0x3e44a4(_0x1820f7([0x56,0x61,0x6c,0x69,0x64]));_0x1b8712(),_0x28378e[_0x1820f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1820f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1aada4=!0x1;const _0x3c6904=_0x1706dd();function _0x25ca82(_0x200ffc){return!!_0x200ffc&&(typeof _0x200ffc===_0x1820f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x200ffc===_0x1820f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x200ffc[_0x1820f7([0x74,0x68,0x65,0x6e])]===_0x1820f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x200ffc[_0x1820f7([0x63,0x61,0x74,0x63,0x68])]===_0x1820f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36f175(_0x59e9d7){_0x9c8ce0(_0x59e9d7)[_0x1820f7([0x74,0x68,0x65,0x6e])](_0x109aee=>{if(!_0x109aee||_0x109aee[_0x1820f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1820f7([0x6f,0x6b]))return _0x1820f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xac5a8a(_0x1ea0ad(_0x3c6904+_0xd88a5d))!=_0x109aee[_0x1820f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1820f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1820f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x1820f7([0x74,0x68,0x65,0x6e])](_0x33b8a0=>(_0x1fc91a(),_0x33b8a0),()=>{const _0x23d54f=_0x592a2a();return null==_0x23d54f?(_0x1fc91a(),_0x1820f7([0x56,0x61,0x6c,0x69,0x64])):_0x1820f7(_0x353fba-_0x23d54f>(0xe2c6287^_0x52a031)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1820f7([0x74,0x68,0x65,0x6e])](_0x3e44a4)[_0x1820f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3e44a4(_0x1820f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x583c72=0x2a160807^_0x52a031;function _0x1fc91a(){const _0x12d3f=_0x1820f7([0x6c,0x6c,0x63,0x74,0x2d])+_0xac5a8a(_0x1ea0ad(_0x386a7b)),_0x4c0f0c=_0x3bd4e2(_0xac5a8a(window[_0x1820f7([0x4d,0x61,0x74,0x68])][_0x1820f7([0x63,0x65,0x69,0x6c])](_0x353fba/_0x583c72)));window[_0x1820f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1820f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12d3f,_0x4c0f0c);}function _0x592a2a(){const _0x1f2e88=_0x1820f7([0x6c,0x6c,0x63,0x74,0x2d])+_0xac5a8a(_0x1ea0ad(_0x386a7b)),_0x4660e4=window[_0x1820f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1820f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f2e88);return _0x4660e4?window[_0x1820f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bd4e2(_0x4660e4),0x10)*_0x583c72:null;}function _0x9c8ce0(_0x41429a){return new window[(_0x1820f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x527910,_0x39c364)=>{_0x41429a[_0x1820f7([0x74,0x68,0x65,0x6e])](_0x527910,_0x39c364),window[_0x1820f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39c364,0x2a213247^_0x52a031);});}}_0x28378e[_0x1820f7([0x6f,0x6e])](_0x1820f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d1fb3,_0x453acc)=>{if(_0x453acc[0x0]!=_0x386a7b)return _0x3e44a4(_0x1820f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x453acc[0x1]={..._0x453acc[0x1],[_0x1820f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c6904};},{[_0x1820f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1820f7([0x68,0x69,0x67,0x68])}),_0x28378e[_0x1820f7([0x6f,0x6e])](_0x1820f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2ef158=>{_0x25ca82(_0x2ef158[_0x1820f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1aada4=!0x0,_0x36f175(_0x2ef158[_0x1820f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1820f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1820f7([0x6c,0x6f,0x77])}),_0x54c5ec[_0x1820f7([0x74,0x68,0x65,0x6e])](()=>{_0x1aada4||_0x3e44a4(_0x1820f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x154489(){return _0x28378e[_0x1820f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1820f7([0x76,0x69,0x65,0x77])][_0x1820f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1820f7([0x61,0x75,0x74,0x6f]);}function _0x1b8712(){_0x28378e[_0x1820f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1820f7([0x76,0x69,0x65,0x77])][_0x1820f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1820f7([0x61,0x75,0x74,0x6f]);}}function _0x5e8c45(_0x2675c8){const _0x44dc29=[new window[(_0x1820f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1efbd9=>setTimeout(_0x1efbd9,0x2a29d84b^_0x52a031)),_0x54c5ec[_0x1820f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1820f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x104dbf=>{let _0x1cb981=0x0;_0x28378e[_0x1820f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1820f7([0x6f,0x6e])](_0x1820f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4604cd,_0xe10a86)=>{_0xe10a86[0x0][_0x1820f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cb981++,_0x1cb981==(0x2a20e77f^_0x52a031)&&(_0x104dbf(),_0x4604cd[_0x1820f7([0x6f,0x66,0x66])]());});}))];return window[_0x1820f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1820f7([0x72,0x61,0x63,0x65])](_0x44dc29)[_0x1820f7([0x74,0x68,0x65,0x6e])](()=>_0x2675c8);}async function _0x4094df(){await _0x54c5ec,_0x28378e[_0x1820f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1820f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d7784,_0x28378e[_0x1820f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x1820f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d7784,_0x28378e[_0x1820f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1820f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2679d2(_0x206723){const _0xd27fc9=_0x4add23();_0x28378e[_0xd27fc9]=_0x1820f7([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])+_0x206723,_0x206723!=_0x1820f7([0x56,0x61,0x6c,0x69,0x64])&&_0x4094df();}function _0x4add23(){const _0x23dfcb=window[_0x1820f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1820f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1820f7([0x6e,0x6f,0x77])]())[_0x1820f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1820f7([0x2e]),'');let _0x1baa48=_0x1820f7([0x71]);for(let _0x44a774=0x0;_0x44a774<_0x23dfcb[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44a774+=0x2){let _0x3a9f18=window[_0x1820f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23dfcb[_0x1820f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44a774,_0x44a774+0x2));_0x3a9f18>=_0x43b906[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a9f18-=_0x43b906[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1baa48+=_0x43b906[_0x3a9f18];}return _0x1baa48;}function _0x5e338c(){const _0x286050=_0x8d5505[_0x1820f7([0x73,0x70,0x6c,0x69,0x74])](_0x1820f7([0x2e]));if(0x3!=_0x286050[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x285d50(_0x286050[0x1]);function _0x285d50(_0x84c92a){const _0x1f4c97=_0x250172(_0x84c92a);return _0x1f4c97&&_0x1dbd44()?_0x1f4c97:null;function _0x1dbd44(){const _0x5f0a77=_0x1f4c97[_0x1820f7([0x6a,0x74,0x69])],_0x3d80a2=window[_0x1820f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f0a77[_0x1820f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f0a77[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x497c2c={..._0x1f4c97,[_0x1820f7([0x6a,0x74,0x69])]:_0x5f0a77[_0x1820f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f0a77[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x497c2c[_0x1820f7([0x76,0x63])],_0x1ea0ad(_0x497c2c)==_0x3d80a2;}}}async function _0xfde221(){let _0x3df216=!0x0;try{const _0x39a867=_0x8d5505[_0x1820f7([0x73,0x70,0x6c,0x69,0x74])](_0x1820f7([0x2e])),[_0x2faca8,_0x1e13aa,_0x10494b]=_0x39a867;return _0x584887(_0x2faca8),await _0xfaec38(_0x2faca8,_0x1e13aa,_0x10494b),_0x3df216;}catch(_0x4c0a97){return!0x1;}function _0x584887(_0x3a109f){const _0x15097e=_0x250172(_0x3a109f);_0x15097e&&_0x15097e[_0x1820f7([0x61,0x6c,0x67])]==_0x1820f7([0x45,0x53,0x32,0x35,0x36])||(_0x3df216=!0x1);}async function _0xfaec38(_0x1d9b17,_0x33c7de,_0x1d975c){const _0x75eb45=window[_0x1820f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1820f7([0x66,0x72,0x6f,0x6d])](_0x5a2c7e(_0x1d975c),_0x678e97=>_0x678e97[_0x1820f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f3cbf=new window[(_0x1820f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1820f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d9b17+_0x1820f7([0x2e])+_0x33c7de),_0x1b9031=window[_0x1820f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1820f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b9031)return;const _0x61cc4f=await _0x1b9031[_0x1820f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1820f7([0x6a,0x77,0x6b]),_0x1f7c6e,{[_0x1820f7([0x6e,0x61,0x6d,0x65])]:_0x1820f7([0x45,0x43,0x44,0x53,0x41]),[_0x1820f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1820f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1820f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b9031[_0x1820f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1820f7([0x6e,0x61,0x6d,0x65])]:_0x1820f7([0x45,0x43,0x44,0x53,0x41]),[_0x1820f7([0x68,0x61,0x73,0x68])]:{[_0x1820f7([0x6e,0x61,0x6d,0x65])]:_0x1820f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x61cc4f,_0x75eb45,_0x5f3cbf)||(_0x3df216=!0x1);}}function _0x250172(_0x27c61f){return _0x27c61f[_0x1820f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1820f7([0x65,0x79]))?JSON[_0x1820f7([0x70,0x61,0x72,0x73,0x65])](_0x5a2c7e(_0x27c61f)):null;}function _0x5a2c7e(_0x242742){return window[_0x1820f7([0x61,0x74,0x6f,0x62])](_0x242742[_0x1820f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1820f7([0x2b]))[_0x1820f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1820f7([0x2f])));}function _0x1ea0ad(_0x3bcbac){let _0x38b1ae=0x1505;function _0xebea60(_0x29851f){for(let _0x207ba4=0x0;_0x207ba4<_0x29851f[_0x1820f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x207ba4++){const _0x166f7f=_0x29851f[_0x1820f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x207ba4);_0x38b1ae=(_0x38b1ae<<0x5)+_0x38b1ae+_0x166f7f,_0x38b1ae&=_0x38b1ae;}}function _0x160e8c(_0x265a0e){Array[_0x1820f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x265a0e)?_0x265a0e[_0x1820f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x160e8c):_0x265a0e&&typeof _0x265a0e==_0x1820f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1820f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x265a0e)[_0x1820f7([0x73,0x6f,0x72,0x74])]()[_0x1820f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x10e44d,_0x5a3432])=>{_0xebea60(_0x10e44d),_0x160e8c(_0x5a3432);}):_0xebea60(window[_0x1820f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x265a0e));}return _0x160e8c(_0x3bcbac),_0x38b1ae>>>0x0;}function _0xac5a8a(_0x3aec0c){return _0x3aec0c[_0x1820f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1820f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1820f7([0x30]));}function _0x3bd4e2(_0x5ed5cc){return _0x5ed5cc[_0x1820f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1820f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1820f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d7784(){}function _0x1820f7(_0x2bbf22){return _0x2bbf22['map'](_0x1e36d2=>String['fromCharCode'](_0x1e36d2))['join']('');}_0x2679d2(await _0x5174ef());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x44fa9e=>{'$graveyard'!==_0x44fa9e['rootName']&&this['editor']['editing']['reconvertItem'](_0x44fa9e);});}['_trackNewToCElements'](){for(const _0x259b2a of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x259b2a['type']||'tableOfContents'!==_0x259b2a['name'])return;this['_tableOfContentsElements']['add'](_0x259b2a['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0xdb56ac=this['editor']['conversion'];_0xdb56ac['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0xdb56ac['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4ce3c8,{writer:_0x46283b})=>this['_createTableOfContents'](_0x46283b,!0x0)}),_0xdb56ac['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xb6c336,{writer:_0x11774a})=>{this['_tableOfContentsElements']['add'](_0xb6c336);const _0x2aa471=this['_createTableOfContents'](_0x11774a);return _0x350bf3(_0x2aa471,_0x11774a,{'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'](_0x23c63a,_0x5e2045=!0x1){const {locale:_0xd166ed}=this['editor'],_0x46f56d=_0x23c63a['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5e2045&&{'data-table-of-contents-label':N(_0xd166ed,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5e2045&&_0x23c63a['insert'](_0x23c63a['createPositionAt'](_0x46f56d,'end'),_0x23c63a['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x23c63a['createText'](N(_0xd166ed,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x35d496=_0x5e2045?'':'['+N(_0xd166ed,'Empty\x20heading')+']';let _0x1e5760=_0x46f56d;return this['_currentOutlineDefinitions']['forEach']((_0x49418d,_0x2979e9,_0x5c4b42)=>{const _0x7bb2d1=this['editor']['model']['hasContent'](_0x49418d['modelElement'],{'ignoreWhitespaces':!0x0}),_0x243a98=_0x7bb2d1?_0x49418d['text']:_0x35d496,_0x298687=_0x49418d['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x177202=_0x23c63a['createContainerElement']('a',{'href':'#'+_0x298687,...!_0x5e2045&&{'tabindex':'-1'}},[_0x23c63a['createText'](_0x243a98)]),_0xc95aea=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x23c63a['setCustomProperty']('tableOfContentsHeadingIndex',_0x2979e9,_0x177202);const _0x23c376=_0x23c63a['createContainerElement']('li',null,[_0x7bb2d1||!_0x5e2045&&_0xc95aea?_0x177202:_0x23c63a['createText']('')]),_0xa91f4=_0x2979e9?_0x5c4b42[_0x2979e9-0x1]['level']:0x0,_0x4aa22f=Math['abs'](_0x49418d['level']-_0xa91f4);if(_0x49418d['level']>_0xa91f4){const _0x466cc7=S(_0x23c376,_0x4aa22f,_0x23c63a);_0x23c63a['insert'](_0x23c63a['createPositionAt'](_0x1e5760,'end'),_0x466cc7);}else{const _0x2708ad=function(_0x4d7af5,_0x1f7e2f){return _0x4d7af5['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4dfc69=>_0x4dfc69['is']('element','ol'))[_0x1f7e2f];}(_0x1e5760,_0x4aa22f);_0x23c63a['insert'](_0x23c63a['createPositionAt'](_0x2708ad,'end'),_0x23c376);}_0x1e5760=_0x23c376;}),_0x46f56d;}['_handleScrollToHeading'](_0x5da24a){const _0x2885c2=this['_currentOutlineDefinitions'][_0x5da24a]['modelElement'];this['editor']['model']['change'](_0x34d47d=>{_0x34d47d['setSelection'](_0x2885c2,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x4517d9,_0x2bd5dc)=>{const _0x3826d0=_0x2bd5dc['mapper'],_0xce73fe=_0x3826d0['findMappedViewAncestor'](_0x2bd5dc['viewPosition']),_0x254f09=_0x3826d0['toModelElement'](_0xce73fe);_0x254f09['is']('element','tableOfContents')&&(_0x2bd5dc['modelPosition']=this['editor']['model']['createPositionAt'](_0x254f09,0x0),_0x4517d9['stop']());};}}function S(_0x4e1c6b,_0x1558ad,_0x401d1a){return 0x1===_0x1558ad?_0x401d1a['createContainerElement']('ol',null,[_0x4e1c6b]):_0x401d1a['createContainerElement']('ol',null,[_0x401d1a['createContainerElement']('li',null,[S(_0x4e1c6b,_0x1558ad-0x1,_0x401d1a)])]);}class o extends _0x49cfff{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2d820b=this['editor'];_0x2d820b['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x2cd94b=this['_createButton'](_0x5d65b8);return _0x2cd94b['tooltip']=!0x0,_0x2cd94b;}),_0x2d820b['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x5e72e0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f2af5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x262e8e;for(const _0x100ce2 in _0x3f2af5){const _0x2b3124=_0x100ce2,_0x37df1b=_0x3f2af5[_0x2b3124];if('tableOfContentsLicenseKeyValid'==_0x37df1b||'tableOfContentsLicenseKeyInvalid'==_0x37df1b||'tableOfContentsLicenseKeyExpired'==_0x37df1b||'tableOfContentsLicenseKeyDomainLimit'==_0x37df1b||'tableOfContentsLicenseKeyNotAllowed'==_0x37df1b||'tableOfContentsLicenseKeyEvaluationLimit'==_0x37df1b||'tableOfContentsLicenseKeyTrialLimit'==_0x37df1b||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x37df1b||'tableOfContentsLicenseKeyUsageLimit'==_0x37df1b){delete _0x3f2af5[_0x2b3124],_0x262e8e=_0x37df1b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x262e8e&&_0x3f2af5['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x262e8e&&_0x3f2af5['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x262e8e&&_0x3f2af5['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x262e8e&&_0x3f2af5['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x262e8e&&_0x3f2af5['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x262e8e&&_0x3f2af5['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x262e8e&&_0x3f2af5['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x262e8e&&_0x3f2af5['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x75ec18){const _0x11744d=this['editor'],_0xef8e19=_0x11744d['locale'],_0x2403b0=_0x11744d['commands']['get']('insertTableOfContents'),_0x57b6bc=new _0x75ec18(_0xef8e19);return _0x57b6bc['set']({'label':N(_0xef8e19,'Table\x20of\x20contents'),'icon':_0x500484['tableOfContents']}),_0x57b6bc['bind']('isEnabled')['to'](_0x2403b0,'isEnabled'),this['listenTo'](_0x57b6bc,'execute',()=>{_0x11744d['execute']('insertTableOfContents'),_0x11744d['editing']['view']['focus']();}),_0x57b6bc;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x49cfff{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 _0x4c2810,Command as _0x597a9d}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x3b420d,throttle as _0x4dbcaf}from'lodash-es';import{Text as _0x35afe9,TreeWalker as _0x4cb416}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0xdc0194,diffToChanges as _0x96360e,scrollAncestorsToShowTarget as _0x2521eb,CKEditorError as _0x562367,global as _0x5018e4,Rect as _0x5c1b6a,uid as _0x5bbb0d,priorities as _0x3694ec}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x590ce3,ButtonView as _0x4eed8e,MenuBarMenuListItemButtonView as _0x16a17f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x503a9a,toWidget as _0x3571e8}from'@ckeditor/ckeditor5-widget/dist/index.js';import{icons as _0x10ff7c}from'ckeditor5-collaboration/dist/index.js';function k(_0x4adbc7){let _0x66a2a1='';for(const _0x43a2f3 of _0x4adbc7['getChildren']())_0x43a2f3 instanceof _0x35afe9&&(_0x66a2a1+=_0x43a2f3['data']);return _0x66a2a1;}class i extends _0x4c2810{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0xda7971=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0xae53bc=[];_0xda7971['model']['document']['on']('change',_0x3b420d(()=>{const _0x133a55=_0xae53bc;_0xae53bc=this['_getOutlineDefinitions']();const _0x3004a7=_0xdc0194(_0x133a55,_0xae53bc,(_0x3347f5,_0x8d67a)=>_0x3347f5['level']===_0x8d67a['level']&&_0x3347f5['text']===_0x8d67a['text']&&_0x3347f5['modelElement']===_0x8d67a['modelElement']),_0x4fb1e7=_0x96360e(_0x3004a7,_0xae53bc),_0x23b6fa=this['_getActiveHeading'](),_0x78b97f=_0xae53bc['findIndex'](_0x12d428=>_0x12d428['modelElement']===_0x23b6fa);_0x4fb1e7['length']&&this['fire']('change',{'outlineDefinitions':_0xae53bc,'activeItemIndex':_0x78b97f,'outlineChanges':_0x4fb1e7}),this['fire']('activeItemIndex',{'index':_0x78b97f});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x20024f=this['editor'],_0x2093f9=[],_0x1ad597=this['_headingNames'];for(const _0x4509b0 of _0x20024f['model']['document']['getRootNames']())_0x3a1349(_0x20024f['model']['document']['getRoot'](_0x4509b0));function _0x3a1349(_0xd5d470){for(const _0x5be393 of _0xd5d470['getChildren']())_0x5be393['is']('element')&&(_0x1ad597['includes'](_0x5be393['name'])&&_0x2093f9['push']({'level':_0x1ad597['indexOf'](_0x5be393['name'])+0x1,'text':k(_0x5be393),'modelElement':_0x5be393}),_0x3a1349(_0x5be393));}return _0x2093f9;}['_getActiveHeading'](){const _0x11636a=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x34fe71=new _0x4cb416({'direction':'backward','startPosition':_0x11636a});for(const _0x4b69e2 of _0x34fe71)if(_0x4b69e2['item']['is']('element')&&this['_headingNames']['includes'](_0x4b69e2['item']['name']))return _0x4b69e2['item'];}['_getHeadingNames'](){const _0x590363=this['editor']['config']['get']('documentOutline.headings');return _0x590363||function(_0x3a88ec){const _0x16b632=_0x3a88ec['config']['get']('heading.options');return _0x16b632?_0x16b632['reduce']((_0x41866e,_0x47080f)=>('paragraph'!==_0x47080f['model']&&_0x41866e['push'](_0x47080f['model']),_0x41866e),[]):_0x3a88ec['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x627081=this['editor'],_0xde8c83=['h1','h2','h3','h4','h5','h6'],_0x13fd01=[];for(const _0x4cc377 of _0xde8c83){const _0x1d8308=_0x627081['editing']['view']['domConverter']['domToView'](document['createElement'](_0x4cc377)),_0x1f6992=_0x627081['data']['toModel'](_0x1d8308)['getChild'](0x0);_0x1f6992?.['is']('element')&&_0x13fd01['push'](_0x1f6992['name']);}this['_headingNames']=_0x13fd01;}}function b(_0x31986b,_0x38dd84){const t=_0x31986b['t'];switch(_0x38dd84){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 _0x38dd84;}}class $ extends _0x590ce3{constructor(_0x8ea403,_0x1cb822=!0x1){super(_0x8ea403);const _0x566ef3=this['bindTemplate'],_0x5b32de=_0x1cb822?'['+b(_0x8ea403,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x23c8ad=>!_0x23c8ad),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x566ef3['to']('level',_0x533bc9=>'ck-document-outline__item_level-'+_0x533bc9),_0x566ef3['if']('isActive','ck-document-outline__item_active'),_0x566ef3['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x566ef3['to']('text')},'children':[{'text':_0x566ef3['to']('text',_0x2307fd=>_0x2307fd||_0x5b32de)}],'on':{'click':_0x566ef3['to']('click')}});}}class I extends _0x590ce3{['items'];['showEmptyHeadingText'];['_documentOutlineContainer'];constructor(_0x3c32a7,_0x21bc11=!0x1,_0x32b0ba){super(_0x3c32a7),this['showEmptyHeadingText']=_0x21bc11,this['set']('activeItemIndex',-0x1),this['_documentOutlineContainer']=_0x32b0ba,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xb0b0bd,_0x2d32e9,_0x4f8df8,_0x47d1cd)=>{this['_setActiveItem'](_0x47d1cd,_0x4f8df8);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3c32a7['contentLanguageDirection'],'data-document-outline-empty-placeholder':b(_0x3c32a7,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x466672){_0x466672['forEach'](_0x177268=>{'insert'==_0x177268['type']?this['_insertItem'](_0x177268['index'],..._0x177268['values']):'delete'==_0x177268['type']&&this['_deleteItem'](_0x177268['index'],_0x177268['howMany']);});}['_setActiveItem'](_0x5cdefe,_0x211185){if(-0x1!==_0x5cdefe){const _0x5768ef=this['items']['get'](_0x5cdefe);_0x5768ef&&(_0x5768ef['isActive']=!0x1);}-0x1!==_0x211185&&(this['items']['get'](_0x211185)['isActive']=!0x0,this['_scrollToItem'](_0x211185));}['_insertItem'](_0x4dad6a,..._0x3e9325){const _0x11b4cc=_0x3e9325['map']((_0x235f7d,_0xc6dd97)=>{const _0x5a9631=new $(this['locale'],this['showEmptyHeadingText']);return _0x5a9631['text']=_0x235f7d['text'],_0x5a9631['level']=_0x235f7d['level'],_0x4dad6a+_0xc6dd97===this['activeItemIndex']&&(_0x5a9631['isActive']=!0x0),_0x5a9631;});this['items']['addMany'](_0x11b4cc,_0x4dad6a);}['_deleteItem'](_0x3fcb50,_0x43081b){do{this['items']['remove'](_0x3fcb50);}while(--_0x43081b);}['_handleItemClick'](_0x2898ea){const _0x36fb68=this['items']['getIndex'](_0x2898ea['source']);this['fire']('itemSelected',_0x36fb68);}['_scrollToItem'](_0x2e0f71){_0x2521eb(this['items']['get'](_0x2e0f71)['element'],0x14,this['_documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class n extends _0x4c2810{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4594b6){super(_0x4594b6),this['view']=new I(_0x4594b6['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x4dbcaf(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x4529fb=this['editor'],_0x2fd037=_0x4529fb['plugins']['get']('DocumentOutlineUtils');let _0x6ab64f=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x4529fb['config']['get']('documentOutline.container'))throw new _0x562367('document-outline-container-not-provided',{'editor':_0x4529fb});_0x4529fb['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x2fd037['on']('change',this['_handleOutlineChange']['bind'](this)),_0x2fd037['on']('activeItemIndex',(_0x5acc97,{index:_0x3f7520})=>this['_setActiveViewItem'](_0x3f7520)),this['view']['on']('itemSelected',(_0x279ec9,_0xe1b6e3)=>{_0x6ab64f=!0x0,this['_handleItemSelected'](_0xe1b6e3);}),this['view']['listenTo'](_0x5018e4['document'],'scroll',()=>{_0x6ab64f?_0x6ab64f=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x5018e4['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x59f45c){const _0x401c22=_0x29e930([0x39,0x47,0x78,0x44,0x62,0x76,0x32,0x37,0x57,0x56,0x6c,0x69,0x50,0x64,0x71,0x33,0x79,0x74,0x75,0x4a,0x36,0x4f,0x53,0x61,0x6d,0x66,0x4d,0x6a,0x68,0x34,0x49,0x55,0x51,0x52,0x70,0x6e,0x72,0x4c,0x45,0x5a,0x59,0x7a,0x73,0x48,0x63,0x46,0x6f,0x31,0x30,0x42,0x4e,0x65,0x38,0x54,0x67,0x43,0x6b,0x77,0x41,0x58,0x4b,0x35]),_0x3fdc7f=0x11de5c84,_0x4f7fd5=0x11d9055c^_0x3fdc7f,_0xf4889c=window[_0x29e930([0x44,0x61,0x74,0x65])][_0x29e930([0x6e,0x6f,0x77])](),_0x18965c=_0x59f45c[_0x29e930([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x426020=new window[(_0x29e930([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a98ef=>{_0x18965c[_0x29e930([0x6f,0x6e,0x63,0x65])](_0x29e930([0x72,0x65,0x61,0x64,0x79]),_0x2a98ef);}),_0x3db87b={[_0x29e930([0x6b,0x74,0x79])]:_0x29e930([0x45,0x43]),[_0x29e930([0x75,0x73,0x65])]:_0x29e930([0x73,0x69,0x67]),[_0x29e930([0x63,0x72,0x76])]:_0x29e930([0x50,0x2d,0x32,0x35,0x36]),[_0x29e930([0x78])]:_0x29e930([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]),[_0x29e930([0x79])]:_0x29e930([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]),[_0x29e930([0x61,0x6c,0x67])]:_0x29e930([0x45,0x53,0x32,0x35,0x36])},_0x31351a=_0x18965c[_0x29e930([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29e930([0x67,0x65,0x74])](_0x29e930([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x44d91b(){let _0x2ba6ff,_0x39a590=null,_0x1b486b=null;try{if(_0x31351a==_0x29e930([0x47,0x50,0x4c]))return _0x29e930([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ba6ff=_0x530927(),!_0x2ba6ff)return _0x29e930([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ba6ff[_0x29e930([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b486b=_0x574f49(_0x2ba6ff[_0x29e930([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ba6ff[_0x29e930([0x6a,0x74,0x69])])),await _0x5cd757()?_0x473daf()?_0x3cae29()?_0x29e930([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d8b45()?(_0x2ba6ff[_0x29e930([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29e930([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39a590=_0x3b08cb(_0x29e930([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ba6ff[_0x29e930([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29e930([0x74,0x72,0x69,0x61,0x6c])&&(_0x39a590=_0x3b08cb(_0x29e930([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ba6ff[_0x29e930([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29e930([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x39a590=_0x3b08cb(_0x29e930([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19b547()):_0x29e930([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29e930([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29e930([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3e1f5e){return _0x29e930([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cae29(){const _0x223d26=[_0x29e930([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29e930([0x74,0x72,0x69,0x61,0x6c])][_0x29e930([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba6ff[_0x29e930([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf4889c/0x3e8:0xe10*_0x4f7fd5;return _0x2ba6ff[_0x29e930([0x65,0x78,0x70])]<_0x223d26;}function _0x473daf(){const _0x1907cf=_0x2ba6ff[_0x29e930([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1907cf&&(!!_0x1907cf[_0x29e930([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e930([0x2a]))||(!!_0x1907cf[_0x29e930([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e930([0x44,0x4f]))||!!_0x1907cf[_0x29e930([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e930([0x50,0x50]))));}function _0x4d8b45(){const _0x3ca89c=_0x2ba6ff[_0x29e930([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3ca89c||0x0==_0x3ca89c[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2180aa}=new URL(window[_0x29e930([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3ca89c[_0x29e930([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2180aa))return!0x0;const _0x597c8f=_0x2180aa[_0x29e930([0x73,0x70,0x6c,0x69,0x74])](_0x29e930([0x2e]));return _0x3ca89c[_0x29e930([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb5a74c=>_0xb5a74c[_0x29e930([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29e930([0x2a])))[_0x29e930([0x6d,0x61,0x70])](_0x470928=>_0x470928[_0x29e930([0x73,0x70,0x6c,0x69,0x74])](_0x29e930([0x2e])))[_0x29e930([0x73,0x6f,0x6d,0x65])](_0x1db269=>_0x597c8f[_0x29e930([0x65,0x76,0x65,0x72,0x79])]((_0x666cc3,_0x3d2516)=>_0x1db269[_0x3d2516]===_0x666cc3||_0x1db269[_0x3d2516]===_0x29e930([0x2a])));}function _0x19b547(){return _0x39a590&&_0x1b486b?new window[(_0x29e930([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40f738,_0x1a22f6)=>{_0x39a590[_0x29e930([0x74,0x68,0x65,0x6e])](_0x40f738,_0x1a22f6),_0x1b486b[_0x29e930([0x74,0x68,0x65,0x6e])](_0xe9d097=>{_0xe9d097!=_0x29e930([0x56,0x61,0x6c,0x69,0x64])&&_0x40f738(_0xe9d097);},_0x1a22f6);}):_0x39a590||_0x1b486b||_0x29e930([0x56,0x61,0x6c,0x69,0x64]);}}function _0x574f49(_0x47b8b0,_0x3b79cd){return new window[(_0x29e930([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29375c=>{if(_0x19a03e())return _0x29375c(_0x29e930([0x56,0x61,0x6c,0x69,0x64]));_0x360889(),_0x18965c[_0x29e930([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29e930([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x371477=!0x1;const _0x42a1e8=_0x5bbb0d();function _0x7603b9(_0x4f60f5){return!!_0x4f60f5&&(typeof _0x4f60f5===_0x29e930([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f60f5===_0x29e930([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f60f5[_0x29e930([0x74,0x68,0x65,0x6e])]===_0x29e930([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f60f5[_0x29e930([0x63,0x61,0x74,0x63,0x68])]===_0x29e930([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fa624(_0x6ed274){_0xe56275(_0x6ed274)[_0x29e930([0x74,0x68,0x65,0x6e])](_0x456c4b=>{if(!_0x456c4b||_0x456c4b[_0x29e930([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29e930([0x6f,0x6b]))return _0x29e930([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1f7d30(_0x4522b6(_0x42a1e8+_0x3b79cd))!=_0x456c4b[_0x29e930([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29e930([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29e930([0x56,0x61,0x6c,0x69,0x64]);})[_0x29e930([0x74,0x68,0x65,0x6e])](_0x5b096b=>(_0xc72d92(),_0x5b096b),()=>{const _0x42cadb=_0x35676d();return null==_0x42cadb?(_0xc72d92(),_0x29e930([0x56,0x61,0x6c,0x69,0x64])):_0x29e930(_0xf4889c-_0x42cadb>(0x35d2d884^_0x3fdc7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29e930([0x74,0x68,0x65,0x6e])](_0x29375c)[_0x29e930([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29375c(_0x29e930([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x90bab0=0x11e8b204^_0x3fdc7f;function _0xc72d92(){const _0x1dcd9b=_0x29e930([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7d30(_0x4522b6(_0x47b8b0)),_0x3d599b=_0x4b5a38(_0x1f7d30(window[_0x29e930([0x4d,0x61,0x74,0x68])][_0x29e930([0x63,0x65,0x69,0x6c])](_0xf4889c/_0x90bab0)));window[_0x29e930([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29e930([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dcd9b,_0x3d599b);}function _0x35676d(){const _0x34346d=_0x29e930([0x6c,0x6c,0x63,0x74,0x2d])+_0x1f7d30(_0x4522b6(_0x47b8b0)),_0x6b986c=window[_0x29e930([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29e930([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34346d);return _0x6b986c?window[_0x29e930([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b5a38(_0x6b986c),0x10)*_0x90bab0:null;}function _0xe56275(_0x253ae7){return new window[(_0x29e930([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51ce39,_0x2e2eb)=>{_0x253ae7[_0x29e930([0x74,0x68,0x65,0x6e])](_0x51ce39,_0x2e2eb),window[_0x29e930([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e2eb,0x11df8844^_0x3fdc7f);});}}_0x18965c[_0x29e930([0x6f,0x6e])](_0x29e930([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f1458,_0x1ae978)=>{if(_0x1ae978[0x0]!=_0x47b8b0)return _0x29375c(_0x29e930([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ae978[0x1]={..._0x1ae978[0x1],[_0x29e930([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42a1e8};},{[_0x29e930([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29e930([0x68,0x69,0x67,0x68])}),_0x18965c[_0x29e930([0x6f,0x6e])](_0x29e930([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xddff02=>{_0x7603b9(_0xddff02[_0x29e930([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x371477=!0x0,_0x3fa624(_0xddff02[_0x29e930([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29e930([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29e930([0x6c,0x6f,0x77])}),_0x426020[_0x29e930([0x74,0x68,0x65,0x6e])](()=>{_0x371477||_0x29375c(_0x29e930([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19a03e(){return _0x18965c[_0x29e930([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29e930([0x76,0x69,0x65,0x77])][_0x29e930([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29e930([0x61,0x75,0x74,0x6f]);}function _0x360889(){_0x18965c[_0x29e930([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29e930([0x76,0x69,0x65,0x77])][_0x29e930([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29e930([0x61,0x75,0x74,0x6f]);}}function _0x3b08cb(_0x4e86b9){const _0x42f2f4=[new window[(_0x29e930([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x326a79=>setTimeout(_0x326a79,0x11d76248^_0x3fdc7f)),_0x426020[_0x29e930([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29e930([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50f154=>{let _0x4d6cc4=0x0;_0x18965c[_0x29e930([0x6d,0x6f,0x64,0x65,0x6c])][_0x29e930([0x6f,0x6e])](_0x29e930([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4dc458,_0x3ef6d9)=>{_0x3ef6d9[0x0][_0x29e930([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d6cc4++,_0x4d6cc4==(0x11de5d7c^_0x3fdc7f)&&(_0x50f154(),_0x4dc458[_0x29e930([0x6f,0x66,0x66])]());});}))];return window[_0x29e930([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29e930([0x72,0x61,0x63,0x65])](_0x42f2f4)[_0x29e930([0x74,0x68,0x65,0x6e])](()=>_0x4e86b9);}async function _0x2bd923(){await _0x426020,_0x18965c[_0x29e930([0x6d,0x6f,0x64,0x65,0x6c])][_0x29e930([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x206a8b,_0x18965c[_0x29e930([0x6d,0x6f,0x64,0x65,0x6c])][_0x29e930([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x206a8b,_0x18965c[_0x29e930([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29e930([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17729f(_0x182bea){const _0x116434=_0x4e96c6();_0x18965c[_0x116434]=_0x29e930([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])+_0x182bea,_0x182bea!=_0x29e930([0x56,0x61,0x6c,0x69,0x64])&&_0x2bd923();}function _0x4e96c6(){const _0xcc7135=window[_0x29e930([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29e930([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29e930([0x6e,0x6f,0x77])]())[_0x29e930([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29e930([0x2e]),'');let _0x1fd2f3=_0x29e930([0x47]);for(let _0x4123ad=0x0;_0x4123ad<_0xcc7135[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4123ad+=0x2){let _0x326f95=window[_0x29e930([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcc7135[_0x29e930([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4123ad,_0x4123ad+0x2));_0x326f95>=_0x401c22[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x326f95-=_0x401c22[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fd2f3+=_0x401c22[_0x326f95];}return _0x1fd2f3;}function _0x530927(){const _0x2451c3=_0x31351a[_0x29e930([0x73,0x70,0x6c,0x69,0x74])](_0x29e930([0x2e]));if(0x3!=_0x2451c3[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x32e151(_0x2451c3[0x1]);function _0x32e151(_0x3fde41){const _0xc1dc27=_0x45b1e3(_0x3fde41);return _0xc1dc27&&_0x1fc9d1()?_0xc1dc27:null;function _0x1fc9d1(){const _0x6da359=_0xc1dc27[_0x29e930([0x6a,0x74,0x69])],_0x2f4184=window[_0x29e930([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6da359[_0x29e930([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6da359[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37d484={..._0xc1dc27,[_0x29e930([0x6a,0x74,0x69])]:_0x6da359[_0x29e930([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6da359[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37d484[_0x29e930([0x76,0x63])],_0x4522b6(_0x37d484)==_0x2f4184;}}}async function _0x5cd757(){let _0x33f446=!0x0;try{const _0x2fd2c8=_0x31351a[_0x29e930([0x73,0x70,0x6c,0x69,0x74])](_0x29e930([0x2e])),[_0x2efb10,_0x427835,_0x4e7f93]=_0x2fd2c8;return _0x2b2778(_0x2efb10),await _0x87d54b(_0x2efb10,_0x427835,_0x4e7f93),_0x33f446;}catch(_0x5088d1){return!0x1;}function _0x2b2778(_0x45e64e){const _0x3a9a0d=_0x45b1e3(_0x45e64e);_0x3a9a0d&&_0x3a9a0d[_0x29e930([0x61,0x6c,0x67])]==_0x29e930([0x45,0x53,0x32,0x35,0x36])||(_0x33f446=!0x1);}async function _0x87d54b(_0x381ff9,_0x143fc2,_0x59e9e2){const _0x3d2a89=window[_0x29e930([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29e930([0x66,0x72,0x6f,0x6d])](_0x439554(_0x59e9e2),_0x47d0f6=>_0x47d0f6[_0x29e930([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59d248=new window[(_0x29e930([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29e930([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x381ff9+_0x29e930([0x2e])+_0x143fc2),_0x1eaac4=window[_0x29e930([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29e930([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1eaac4)return;const _0x29ca44=await _0x1eaac4[_0x29e930([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29e930([0x6a,0x77,0x6b]),_0x3db87b,{[_0x29e930([0x6e,0x61,0x6d,0x65])]:_0x29e930([0x45,0x43,0x44,0x53,0x41]),[_0x29e930([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29e930([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29e930([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1eaac4[_0x29e930([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29e930([0x6e,0x61,0x6d,0x65])]:_0x29e930([0x45,0x43,0x44,0x53,0x41]),[_0x29e930([0x68,0x61,0x73,0x68])]:{[_0x29e930([0x6e,0x61,0x6d,0x65])]:_0x29e930([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29ca44,_0x3d2a89,_0x59d248)||(_0x33f446=!0x1);}}function _0x45b1e3(_0x9883bd){return _0x9883bd[_0x29e930([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29e930([0x65,0x79]))?JSON[_0x29e930([0x70,0x61,0x72,0x73,0x65])](_0x439554(_0x9883bd)):null;}function _0x439554(_0x20dd2f){return window[_0x29e930([0x61,0x74,0x6f,0x62])](_0x20dd2f[_0x29e930([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29e930([0x2b]))[_0x29e930([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29e930([0x2f])));}function _0x4522b6(_0x5d5866){let _0x431829=0x1505;function _0x401f5c(_0x1d2390){for(let _0x1f25f7=0x0;_0x1f25f7<_0x1d2390[_0x29e930([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f25f7++){const _0x3616e3=_0x1d2390[_0x29e930([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f25f7);_0x431829=(_0x431829<<0x5)+_0x431829+_0x3616e3,_0x431829&=_0x431829;}}function _0x5ce482(_0x55023c){Array[_0x29e930([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x55023c)?_0x55023c[_0x29e930([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ce482):_0x55023c&&typeof _0x55023c==_0x29e930([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29e930([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x55023c)[_0x29e930([0x73,0x6f,0x72,0x74])]()[_0x29e930([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x426c0b,_0x1348d8])=>{_0x401f5c(_0x426c0b),_0x5ce482(_0x1348d8);}):_0x401f5c(window[_0x29e930([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x55023c));}return _0x5ce482(_0x5d5866),_0x431829>>>0x0;}function _0x1f7d30(_0x1ed34b){return _0x1ed34b[_0x29e930([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29e930([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29e930([0x30]));}function _0x4b5a38(_0x5e71d7){return _0x5e71d7[_0x29e930([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29e930([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29e930([0x6a,0x6f,0x69,0x6e])]('');}function _0x206a8b(){}function _0x29e930(_0x5c0c39){return _0x5c0c39['map'](_0x2ea331=>String['fromCharCode'](_0x2ea331))['join']('');}_0x17729f(await _0x44d91b());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x357048,{outlineDefinitions:_0x4b39b9,outlineChanges:_0x3a92d6}){this['_currentOutlineDefinitions']=_0x4b39b9,this['view']['sync'](_0x3a92d6);}['_setActiveViewItem'](_0x1ccdf3){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1ccdf3]&&(this['view']['activeItemIndex']=_0x1ccdf3);}['_handleItemSelected'](_0x241b02){const _0x2f9f40=this['_currentOutlineDefinitions'][_0x241b02]['modelElement'];this['editor']['model']['change'](_0x421eb2=>{_0x421eb2['setSelection'](_0x2f9f40,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x241b02);}['_updateActiveDefinitionOnViewportChange'](){const _0x353454=this['editor'];let _0x4a7c20;for(const _0x3c1f05 of _0x353454['model']['document']['getRootNames']()){const _0x3b0a4b=_0x353454['editing']['view']['getDomRoot'](_0x3c1f05),_0x3070e7=_0x3b0a4b&&new _0x5c1b6a(_0x3b0a4b)['getVisible']();if(_0x3070e7){const _0x39f1c4=new _0x5c1b6a(_0x5018e4['window'])['getIntersection'](_0x3070e7);_0x39f1c4&&(_0x4a7c20=_0x39f1c4['top']+0.25*_0x39f1c4['height']);}}if(void 0x0===_0x4a7c20)return;const _0x2e20fa=_(_0x353454['editing'],this['_currentOutlineDefinitions'],_0x4a7c20);_0x2e20fa?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x2e20fa)):this['_setActiveViewItem'](-0x1);}}function _(_0x192a56,_0xc6faf4,_0xeae5dd,_0x3af1b9=0x0,_0xd5d530=_0xc6faf4['length']-0x1){const _0x9b75f3=Math['floor'](_0x3af1b9+(_0xd5d530-_0x3af1b9)/0x2);if(_0xd5d530>=_0x3af1b9){const _0x538291=_0xc6faf4[_0x9b75f3],_0x4d87af=_0x192a56['mapper']['toViewElement'](_0x538291['modelElement']);if(!_0x4d87af)return null;const _0x399da2=_0x192a56['view']['domConverter']['mapViewToDom'](_0x4d87af);return new _0x5c1b6a(_0x399da2)['bottom']>_0xeae5dd?_(_0x192a56,_0xc6faf4,_0xeae5dd,_0x3af1b9,_0x9b75f3-0x1):_(_0x192a56,_0xc6faf4,_0xeae5dd,_0x9b75f3+0x1,_0xd5d530);}return _0x9b75f3<0x0?null:_0xc6faf4[_0x9b75f3];}class u extends _0x4c2810{['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 _0x5b376a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f1081;for(const _0x8236a7 in _0x5b376a){const _0x152904=_0x8236a7,_0x297e97=_0x5b376a[_0x152904];if('documentOutlineLicenseKeyValid'==_0x297e97||'documentOutlineLicenseKeyInvalid'==_0x297e97||'documentOutlineLicenseKeyExpired'==_0x297e97||'documentOutlineLicenseKeyDomainLimit'==_0x297e97||'documentOutlineLicenseKeyNotAllowed'==_0x297e97||'documentOutlineLicenseKeyEvaluationLimit'==_0x297e97||'documentOutlineLicenseKeyTrialLimit'==_0x297e97||'documentOutlineLicenseKeyDevelopmentLimit'==_0x297e97||'documentOutlineLicenseKeyUsageLimit'==_0x297e97){delete _0x5b376a[_0x152904],_0x4f1081=_0x297e97,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4f1081&&_0x5b376a['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4f1081&&_0x5b376a['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4f1081&&_0x5b376a['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4f1081&&_0x5b376a['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4f1081&&_0x5b376a['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyTrialLimit'==_0x4f1081&&_0x5b376a['_showLicenseError']('trialLimit'),'documentOutlineLicenseKeyDevelopmentLimit'==_0x4f1081&&_0x5b376a['_showLicenseError']('developmentLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4f1081&&_0x5b376a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class f extends _0x597a9d{['execute'](){this['editor']['model']['change'](_0x14de6a=>{this['editor']['model']['insertObject'](_0x14de6a['createElement']('tableOfContents'));});}['refresh'](){const _0x4c6ab6=this['editor']['model'],_0x909893=_0x4c6ab6['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x909893&&_0x4c6ab6['schema']['findAllowedParent'](_0x909893,'tableOfContents'));}}class g extends _0x4c2810{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x447297=this['editor'];if(_0x447297['config']['get']('headingId.modelAttributeName'))return;(function(_0x1771c7){const _0x36fb65=new Map();if(_0x1771c7)return _0x1771c7['forEach'](_0x51b57f=>{'paragraph'!==_0x51b57f['model']&&_0x36fb65['set'](_0x51b57f['view'],_0x51b57f['model']);}),_0x36fb65['get']('h1')||_0x36fb65['set']('h1','heading1'),_0x36fb65;return _0x36fb65;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x11be7a,_0x4319c7)=>{this['_customUpcastHeadingsConversion'](_0x4319c7),this['_customDataDowncastHeadingsConversion'](_0x11be7a),_0x447297['model']['schema']['isRegistered'](_0x11be7a)&&_0x447297['model']['schema']['extend'](_0x11be7a,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x4d1659){this['editor']['conversion']['for']('upcast')['add'](_0x894411=>_0x894411['on']('element:'+_0x4d1659,(_0x2008a2,_0x421aa6,_0x116e49)=>{const {consumable:_0x271682,writer:_0x4a0d95}=_0x116e49,_0x417d53=_0x421aa6['viewItem']['getAttribute']('id'),_0x57eaba=_0x421aa6['modelRange']['getContainedElement']();if(_0x57eaba)return _0x417d53&&_0x417d53['length']||_0x57eaba['hasAttribute']('headingId')?void(_0x271682['consume'](_0x421aa6['viewItem'],{'attributes':['id']})&&_0x4a0d95['setAttribute']('headingId',_0x417d53,_0x57eaba)):(_0x271682['consume'](_0x421aa6['viewItem'],{'attributes':['id']}),void _0x4a0d95['setAttribute']('headingId',_0x5bbb0d(),_0x57eaba));},{'priority':_0x3694ec['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0xf1460c){this['editor']['conversion']['for']('downcast')['add'](_0x474fda=>_0x474fda['on']('attribute:headingId:'+_0xf1460c,(_0x466918,_0x126ae7,_0x527fd0)=>{if(!_0x527fd0['consumable']['consume'](_0x126ae7['item'],_0x466918['name']))return;const _0x2834dc=_0x126ae7['item']['getAttribute']('headingId'),_0x1161fa=_0x527fd0['mapper']['toViewElement'](_0x126ae7['item']);_0x527fd0['writer']['setAttribute']('id',_0x2834dc,_0x1161fa);}));}['_registerHeadingIdAttributePostfixer'](){const _0x5eb819=this['editor'],_0x5a904a=new Set(),_0x41114b=new Set();function _0x1d8a80(_0x5a2499,_0x1b2fcd){const _0x42526e=_0x5bbb0d();return _0x41114b['add'](_0x42526e),_0x5a2499['setAttribute']('headingId',_0x42526e,_0x1b2fcd),_0x42526e;}function _0x514665(_0x5171b7,_0x130fd3){_0x5171b7['removeAttribute']('headingId',_0x130fd3);}_0x5eb819['model']['document']['registerPostFixer'](_0x44efdf=>{const _0x3db742=_0x5eb819['model']['document']['differ']['getChanges']();let _0x160b5e=!0x1;for(const _0x556d59 of _0x3db742)if('insert'==_0x556d59['type']&&_0x556d59['name']){if(_0x556d59['name']['match'](/heading\d/)){const _0x5e530c=_0x556d59['attributes']['get']('headingId');'string'==typeof _0x5e530c?_0x5a904a['has'](_0x5e530c)?(_0x1d8a80(_0x44efdf,_0x556d59['position']['nodeAfter']),_0x160b5e=!0x0):_0x41114b['add'](_0x5e530c):(_0x1d8a80(_0x44efdf,_0x556d59['position']['nodeAfter']),_0x160b5e=!0x0);}else'string'==typeof _0x556d59['attributes']['get']('headingId')&&(_0x514665(_0x44efdf,_0x556d59['position']['nodeAfter']),_0x160b5e=!0x0);}else{if('remove'==_0x556d59['type']){const _0x20f351=_0x556d59['attributes']['get']('headingId');'string'==typeof _0x20f351&&_0x5a904a['delete'](_0x20f351);}}return _0x160b5e;}),_0x5eb819['model']['document']['on']('change',()=>{_0x41114b['forEach'](_0x33e05e=>_0x5a904a['add'](_0x33e05e)),_0x41114b['clear']();});}}class s extends _0x4c2810{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x503a9a,i,g];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x15f8d7){super(_0x15f8d7),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x4d4b40=this['editor'],_0x2a2806=_0x4d4b40['editing']['view']['document'];_0x4d4b40['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x4d4b40['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x2a2806,'click',(_0x22dd01,_0x275bad)=>{if(!_0x275bad['target'])return;const _0x11b836=_0x275bad['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x11b836)&&(_0x275bad['domEvent']['preventDefault'](),_0x22dd01['stop'](),this['_handleScrollToHeading'](_0x11b836));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x4d4b40['commands']['add']('insertTableOfContents',new f(_0x4d4b40)),(_0x4d4b40['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x12b2e4,_0x4f6d21)=>{this['_currentOutlineDefinitions']=_0x4f6d21['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x4d4b40['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x17163e){const _0xbcc275=_0x41c1f8([0x5a,0x56,0x54,0x4c,0x78,0x7a,0x6b,0x6e,0x35,0x37,0x39,0x49,0x48,0x71,0x50,0x65,0x76,0x38,0x57,0x73,0x6a,0x4d,0x6c,0x51,0x70,0x36,0x63,0x31,0x47,0x42,0x58,0x75,0x6d,0x62,0x43,0x30,0x55,0x61,0x79,0x59,0x67,0x33,0x53,0x46,0x4f,0x72,0x44,0x4a,0x52,0x77,0x66,0x4b,0x4e,0x68,0x69,0x32,0x64,0x74,0x41,0x34,0x6f,0x45]),_0x60c7c6=0x44f5c860,_0x1e9956=0x44f291b8^_0x60c7c6,_0x5ef795=window[_0x41c1f8([0x44,0x61,0x74,0x65])][_0x41c1f8([0x6e,0x6f,0x77])](),_0x52e732=_0x17163e[_0x41c1f8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1b5718=new window[(_0x41c1f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51357b=>{_0x52e732[_0x41c1f8([0x6f,0x6e,0x63,0x65])](_0x41c1f8([0x72,0x65,0x61,0x64,0x79]),_0x51357b);}),_0x5d3711={[_0x41c1f8([0x6b,0x74,0x79])]:_0x41c1f8([0x45,0x43]),[_0x41c1f8([0x75,0x73,0x65])]:_0x41c1f8([0x73,0x69,0x67]),[_0x41c1f8([0x63,0x72,0x76])]:_0x41c1f8([0x50,0x2d,0x32,0x35,0x36]),[_0x41c1f8([0x78])]:_0x41c1f8([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]),[_0x41c1f8([0x79])]:_0x41c1f8([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]),[_0x41c1f8([0x61,0x6c,0x67])]:_0x41c1f8([0x45,0x53,0x32,0x35,0x36])},_0x316522=_0x52e732[_0x41c1f8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41c1f8([0x67,0x65,0x74])](_0x41c1f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e93f2(){let _0x3f0e77,_0x5efb4e=null,_0x637f1c=null;try{if(_0x316522==_0x41c1f8([0x47,0x50,0x4c]))return _0x41c1f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3f0e77=_0x29dab7(),!_0x3f0e77)return _0x41c1f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3f0e77[_0x41c1f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x637f1c=_0xcf079d(_0x3f0e77[_0x41c1f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3f0e77[_0x41c1f8([0x6a,0x74,0x69])])),await _0x2c0f91()?_0x4880c7()?_0x463c06()?_0x41c1f8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x49e345()?(_0x3f0e77[_0x41c1f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41c1f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5efb4e=_0x15b3c3(_0x41c1f8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f0e77[_0x41c1f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41c1f8([0x74,0x72,0x69,0x61,0x6c])&&(_0x5efb4e=_0x15b3c3(_0x41c1f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x3f0e77[_0x41c1f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41c1f8([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x5efb4e=_0x15b3c3(_0x41c1f8([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe58d9f()):_0x41c1f8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41c1f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41c1f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x3fa132){return _0x41c1f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x463c06(){const _0x4c3c16=[_0x41c1f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41c1f8([0x74,0x72,0x69,0x61,0x6c])][_0x41c1f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f0e77[_0x41c1f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5ef795/0x3e8:0xe10*_0x1e9956;return _0x3f0e77[_0x41c1f8([0x65,0x78,0x70])]<_0x4c3c16;}function _0x4880c7(){const _0x3e20b0=_0x3f0e77[_0x41c1f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3e20b0&&(!!_0x3e20b0[_0x41c1f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c1f8([0x2a]))||(!!_0x3e20b0[_0x41c1f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c1f8([0x54,0x4f,0x43]))||!!_0x3e20b0[_0x41c1f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c1f8([0x50,0x50]))));}function _0x49e345(){const _0x48dc63=_0x3f0e77[_0x41c1f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x48dc63||0x0==_0x48dc63[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3a89dc}=new URL(window[_0x41c1f8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x48dc63[_0x41c1f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a89dc))return!0x0;const _0x3c253c=_0x3a89dc[_0x41c1f8([0x73,0x70,0x6c,0x69,0x74])](_0x41c1f8([0x2e]));return _0x48dc63[_0x41c1f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3519bf=>_0x3519bf[_0x41c1f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41c1f8([0x2a])))[_0x41c1f8([0x6d,0x61,0x70])](_0x408856=>_0x408856[_0x41c1f8([0x73,0x70,0x6c,0x69,0x74])](_0x41c1f8([0x2e])))[_0x41c1f8([0x73,0x6f,0x6d,0x65])](_0x30247c=>_0x3c253c[_0x41c1f8([0x65,0x76,0x65,0x72,0x79])]((_0x29afb8,_0x2ddd5a)=>_0x30247c[_0x2ddd5a]===_0x29afb8||_0x30247c[_0x2ddd5a]===_0x41c1f8([0x2a])));}function _0xe58d9f(){return _0x5efb4e&&_0x637f1c?new window[(_0x41c1f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d2b0a,_0x56ff4f)=>{_0x5efb4e[_0x41c1f8([0x74,0x68,0x65,0x6e])](_0x2d2b0a,_0x56ff4f),_0x637f1c[_0x41c1f8([0x74,0x68,0x65,0x6e])](_0x523bb3=>{_0x523bb3!=_0x41c1f8([0x56,0x61,0x6c,0x69,0x64])&&_0x2d2b0a(_0x523bb3);},_0x56ff4f);}):_0x5efb4e||_0x637f1c||_0x41c1f8([0x56,0x61,0x6c,0x69,0x64]);}}function _0xcf079d(_0x42a91e,_0x34584a){return new window[(_0x41c1f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ba998=>{if(_0x4fcbb9())return _0x4ba998(_0x41c1f8([0x56,0x61,0x6c,0x69,0x64]));_0x1a31fb(),_0x52e732[_0x41c1f8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41c1f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1aa0c6=!0x1;const _0xf1a131=_0x5bbb0d();function _0x593122(_0x49dc2a){return!!_0x49dc2a&&(typeof _0x49dc2a===_0x41c1f8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49dc2a===_0x41c1f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49dc2a[_0x41c1f8([0x74,0x68,0x65,0x6e])]===_0x41c1f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49dc2a[_0x41c1f8([0x63,0x61,0x74,0x63,0x68])]===_0x41c1f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x477fed(_0x3564a7){_0x22cf41(_0x3564a7)[_0x41c1f8([0x74,0x68,0x65,0x6e])](_0x35f09a=>{if(!_0x35f09a||_0x35f09a[_0x41c1f8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41c1f8([0x6f,0x6b]))return _0x41c1f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1d9604(_0x5efe6d(_0xf1a131+_0x34584a))!=_0x35f09a[_0x41c1f8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41c1f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41c1f8([0x56,0x61,0x6c,0x69,0x64]);})[_0x41c1f8([0x74,0x68,0x65,0x6e])](_0x576c52=>(_0x22b374(),_0x576c52),()=>{const _0x107d5a=_0x439fd2();return null==_0x107d5a?(_0x22b374(),_0x41c1f8([0x56,0x61,0x6c,0x69,0x64])):_0x41c1f8(_0x5ef795-_0x107d5a>(0x60f94c60^_0x60c7c6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41c1f8([0x74,0x68,0x65,0x6e])](_0x4ba998)[_0x41c1f8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ba998(_0x41c1f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28565e=0x44c326e0^_0x60c7c6;function _0x22b374(){const _0x36fd6f=_0x41c1f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d9604(_0x5efe6d(_0x42a91e)),_0x3f96a9=_0x827bb3(_0x1d9604(window[_0x41c1f8([0x4d,0x61,0x74,0x68])][_0x41c1f8([0x63,0x65,0x69,0x6c])](_0x5ef795/_0x28565e)));window[_0x41c1f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41c1f8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36fd6f,_0x3f96a9);}function _0x439fd2(){const _0x3805d6=_0x41c1f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1d9604(_0x5efe6d(_0x42a91e)),_0x44ac66=window[_0x41c1f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41c1f8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3805d6);return _0x44ac66?window[_0x41c1f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x827bb3(_0x44ac66),0x10)*_0x28565e:null;}function _0x22cf41(_0x5f1571){return new window[(_0x41c1f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ca536,_0x2ccdf7)=>{_0x5f1571[_0x41c1f8([0x74,0x68,0x65,0x6e])](_0x4ca536,_0x2ccdf7),window[_0x41c1f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ccdf7,0x44f41ca0^_0x60c7c6);});}}_0x52e732[_0x41c1f8([0x6f,0x6e])](_0x41c1f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1deebc,_0x17c8bc)=>{if(_0x17c8bc[0x0]!=_0x42a91e)return _0x4ba998(_0x41c1f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17c8bc[0x1]={..._0x17c8bc[0x1],[_0x41c1f8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf1a131};},{[_0x41c1f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41c1f8([0x68,0x69,0x67,0x68])}),_0x52e732[_0x41c1f8([0x6f,0x6e])](_0x41c1f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1972bb=>{_0x593122(_0x1972bb[_0x41c1f8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1aa0c6=!0x0,_0x477fed(_0x1972bb[_0x41c1f8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41c1f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41c1f8([0x6c,0x6f,0x77])}),_0x1b5718[_0x41c1f8([0x74,0x68,0x65,0x6e])](()=>{_0x1aa0c6||_0x4ba998(_0x41c1f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4fcbb9(){return _0x52e732[_0x41c1f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41c1f8([0x76,0x69,0x65,0x77])][_0x41c1f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41c1f8([0x61,0x75,0x74,0x6f]);}function _0x1a31fb(){_0x52e732[_0x41c1f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41c1f8([0x76,0x69,0x65,0x77])][_0x41c1f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41c1f8([0x61,0x75,0x74,0x6f]);}}function _0x15b3c3(_0x1e84e9){const _0x1622eb=[new window[(_0x41c1f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59a6a3=>setTimeout(_0x59a6a3,0x44fcf6ac^_0x60c7c6)),_0x1b5718[_0x41c1f8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41c1f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ab02f=>{let _0x53adb3=0x0;_0x52e732[_0x41c1f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x41c1f8([0x6f,0x6e])](_0x41c1f8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x454723,_0x3f9668)=>{_0x3f9668[0x0][_0x41c1f8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x53adb3++,_0x53adb3==(0x44f5c998^_0x60c7c6)&&(_0x4ab02f(),_0x454723[_0x41c1f8([0x6f,0x66,0x66])]());});}))];return window[_0x41c1f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41c1f8([0x72,0x61,0x63,0x65])](_0x1622eb)[_0x41c1f8([0x74,0x68,0x65,0x6e])](()=>_0x1e84e9);}async function _0x183d72(){await _0x1b5718,_0x52e732[_0x41c1f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x41c1f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x161c7a,_0x52e732[_0x41c1f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x41c1f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x161c7a,_0x52e732[_0x41c1f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41c1f8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1112b7(_0x1f08bf){const _0x21da97=_0x38e228();_0x52e732[_0x21da97]=_0x41c1f8([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])+_0x1f08bf,_0x1f08bf!=_0x41c1f8([0x56,0x61,0x6c,0x69,0x64])&&_0x183d72();}function _0x38e228(){const _0x3cb06b=window[_0x41c1f8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41c1f8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41c1f8([0x6e,0x6f,0x77])]())[_0x41c1f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41c1f8([0x2e]),'');let _0x4f75bc=_0x41c1f8([0x5a]);for(let _0x25faf7=0x0;_0x25faf7<_0x3cb06b[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x25faf7+=0x2){let _0x5603fc=window[_0x41c1f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cb06b[_0x41c1f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25faf7,_0x25faf7+0x2));_0x5603fc>=_0xbcc275[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5603fc-=_0xbcc275[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f75bc+=_0xbcc275[_0x5603fc];}return _0x4f75bc;}function _0x29dab7(){const _0x3963d1=_0x316522[_0x41c1f8([0x73,0x70,0x6c,0x69,0x74])](_0x41c1f8([0x2e]));if(0x3!=_0x3963d1[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x436258(_0x3963d1[0x1]);function _0x436258(_0x10be83){const _0x402503=_0x1327f3(_0x10be83);return _0x402503&&_0x30f4f8()?_0x402503:null;function _0x30f4f8(){const _0x193293=_0x402503[_0x41c1f8([0x6a,0x74,0x69])],_0x3f61d5=window[_0x41c1f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x193293[_0x41c1f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x193293[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4cba76={..._0x402503,[_0x41c1f8([0x6a,0x74,0x69])]:_0x193293[_0x41c1f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x193293[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4cba76[_0x41c1f8([0x76,0x63])],_0x5efe6d(_0x4cba76)==_0x3f61d5;}}}async function _0x2c0f91(){let _0x3a42f9=!0x0;try{const _0x2fc1b5=_0x316522[_0x41c1f8([0x73,0x70,0x6c,0x69,0x74])](_0x41c1f8([0x2e])),[_0x30f865,_0x4c4b03,_0x4d96fb]=_0x2fc1b5;return _0x332319(_0x30f865),await _0x2f3bee(_0x30f865,_0x4c4b03,_0x4d96fb),_0x3a42f9;}catch(_0x45c10b){return!0x1;}function _0x332319(_0x5f5476){const _0x97e722=_0x1327f3(_0x5f5476);_0x97e722&&_0x97e722[_0x41c1f8([0x61,0x6c,0x67])]==_0x41c1f8([0x45,0x53,0x32,0x35,0x36])||(_0x3a42f9=!0x1);}async function _0x2f3bee(_0x4c7713,_0x3fc1ee,_0x2509ff){const _0x62ce15=window[_0x41c1f8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41c1f8([0x66,0x72,0x6f,0x6d])](_0x1da6f9(_0x2509ff),_0x511d14=>_0x511d14[_0x41c1f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2eb089=new window[(_0x41c1f8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41c1f8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4c7713+_0x41c1f8([0x2e])+_0x3fc1ee),_0x1cf451=window[_0x41c1f8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41c1f8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1cf451)return;const _0x46cb29=await _0x1cf451[_0x41c1f8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41c1f8([0x6a,0x77,0x6b]),_0x5d3711,{[_0x41c1f8([0x6e,0x61,0x6d,0x65])]:_0x41c1f8([0x45,0x43,0x44,0x53,0x41]),[_0x41c1f8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41c1f8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41c1f8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1cf451[_0x41c1f8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41c1f8([0x6e,0x61,0x6d,0x65])]:_0x41c1f8([0x45,0x43,0x44,0x53,0x41]),[_0x41c1f8([0x68,0x61,0x73,0x68])]:{[_0x41c1f8([0x6e,0x61,0x6d,0x65])]:_0x41c1f8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46cb29,_0x62ce15,_0x2eb089)||(_0x3a42f9=!0x1);}}function _0x1327f3(_0x3a973a){return _0x3a973a[_0x41c1f8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41c1f8([0x65,0x79]))?JSON[_0x41c1f8([0x70,0x61,0x72,0x73,0x65])](_0x1da6f9(_0x3a973a)):null;}function _0x1da6f9(_0xe16a22){return window[_0x41c1f8([0x61,0x74,0x6f,0x62])](_0xe16a22[_0x41c1f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41c1f8([0x2b]))[_0x41c1f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41c1f8([0x2f])));}function _0x5efe6d(_0x441d69){let _0x205338=0x1505;function _0x5c7032(_0x35c677){for(let _0x20c584=0x0;_0x20c584<_0x35c677[_0x41c1f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20c584++){const _0x4bec35=_0x35c677[_0x41c1f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x20c584);_0x205338=(_0x205338<<0x5)+_0x205338+_0x4bec35,_0x205338&=_0x205338;}}function _0x535067(_0x26cd96){Array[_0x41c1f8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x26cd96)?_0x26cd96[_0x41c1f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x535067):_0x26cd96&&typeof _0x26cd96==_0x41c1f8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41c1f8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x26cd96)[_0x41c1f8([0x73,0x6f,0x72,0x74])]()[_0x41c1f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f07e2,_0x106057])=>{_0x5c7032(_0x4f07e2),_0x535067(_0x106057);}):_0x5c7032(window[_0x41c1f8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x26cd96));}return _0x535067(_0x441d69),_0x205338>>>0x0;}function _0x1d9604(_0x4dad16){return _0x4dad16[_0x41c1f8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41c1f8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41c1f8([0x30]));}function _0x827bb3(_0x2c5c60){return _0x2c5c60[_0x41c1f8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41c1f8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41c1f8([0x6a,0x6f,0x69,0x6e])]('');}function _0x161c7a(){}function _0x41c1f8(_0x36582f){return _0x36582f['map'](_0x5e676b=>String['fromCharCode'](_0x5e676b))['join']('');}_0x1112b7(await _0x4e93f2());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x44c840=>{'$graveyard'!==_0x44c840['rootName']&&this['editor']['editing']['reconvertItem'](_0x44c840);});}['_trackNewToCElements'](){for(const _0x418613 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x418613['type']||'tableOfContents'!==_0x418613['name'])return;this['_tableOfContentsElements']['add'](_0x418613['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x474270=this['editor']['conversion'];_0x474270['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x474270['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4be9ac,{writer:_0x2a6e6a})=>this['_createTableOfContents'](_0x2a6e6a,!0x0)}),_0x474270['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x4f1849,{writer:_0x54b8c1})=>{this['_tableOfContentsElements']['add'](_0x4f1849);const _0x43eadc=this['_createTableOfContents'](_0x54b8c1);return _0x3571e8(_0x43eadc,_0x54b8c1,{'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'](_0x2719d1,_0x3c47c9=!0x1){const {locale:_0x3130aa}=this['editor'],_0x5c2885=_0x2719d1['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x3c47c9&&{'data-table-of-contents-label':b(_0x3130aa,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x3c47c9&&_0x2719d1['insert'](_0x2719d1['createPositionAt'](_0x5c2885,'end'),_0x2719d1['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2719d1['createText'](b(_0x3130aa,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x4c301b=_0x3c47c9?'':'['+b(_0x3130aa,'Empty\x20heading')+']';let _0x3e777e=_0x5c2885;return this['_currentOutlineDefinitions']['forEach']((_0x44ce87,_0x433a2c,_0x4362af)=>{const _0x59d9c0=this['editor']['model']['hasContent'](_0x44ce87['modelElement'],{'ignoreWhitespaces':!0x0}),_0x46557d=_0x59d9c0?_0x44ce87['text']:_0x4c301b,_0x121dfe=_0x44ce87['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x41567e=_0x2719d1['createContainerElement']('a',{'href':'#'+_0x121dfe,...!_0x3c47c9&&{'tabindex':'-1'}},[_0x2719d1['createText'](_0x46557d)]),_0x5379bc=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2719d1['setCustomProperty']('tableOfContentsHeadingIndex',_0x433a2c,_0x41567e);const _0x9a4939=_0x2719d1['createContainerElement']('li',null,[_0x59d9c0||!_0x3c47c9&&_0x5379bc?_0x41567e:_0x2719d1['createText']('')]),_0x331ff3=_0x433a2c?_0x4362af[_0x433a2c-0x1]['level']:0x0,_0x24334a=Math['abs'](_0x44ce87['level']-_0x331ff3);if(_0x44ce87['level']>_0x331ff3){const _0x81b10=p(_0x9a4939,_0x24334a,_0x2719d1);_0x2719d1['insert'](_0x2719d1['createPositionAt'](_0x3e777e,'end'),_0x81b10);}else{const _0x26811c=function(_0x2b94ad,_0x330c65){return _0x2b94ad['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x5c6b3f=>_0x5c6b3f['is']('element','ol'))[_0x330c65];}(_0x3e777e,_0x24334a);_0x2719d1['insert'](_0x2719d1['createPositionAt'](_0x26811c,'end'),_0x9a4939);}_0x3e777e=_0x9a4939;}),_0x5c2885;}['_handleScrollToHeading'](_0x9b9b8d){const _0x4268f7=this['_currentOutlineDefinitions'][_0x9b9b8d]['modelElement'];this['editor']['model']['change'](_0x249d21=>{_0x249d21['setSelection'](_0x4268f7,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x2e3dd2,_0x50ab5e)=>{const _0x2dac31=_0x50ab5e['mapper'],_0x2e6298=_0x2dac31['findMappedViewAncestor'](_0x50ab5e['viewPosition']),_0x17d2b6=_0x2dac31['toModelElement'](_0x2e6298);_0x17d2b6['is']('element','tableOfContents')&&(_0x50ab5e['modelPosition']=this['editor']['model']['createPositionAt'](_0x17d2b6,0x0),_0x2e3dd2['stop']());};}}function p(_0x2eb3bc,_0xe059e0,_0x129785){return 0x1===_0xe059e0?_0x129785['createContainerElement']('ol',null,[_0x2eb3bc]):_0x129785['createContainerElement']('ol',null,[_0x129785['createContainerElement']('li',null,[p(_0x2eb3bc,_0xe059e0-0x1,_0x129785)])]);}class o extends _0x4c2810{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4eb635=this['editor'];_0x4eb635['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x1b7c32=this['_createButton'](_0x4eed8e);return _0x1b7c32['tooltip']=!0x0,_0x1b7c32;}),_0x4eb635['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x16a17f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x11a52e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f581b;for(const _0x5c8c20 in _0x11a52e){const _0x2c0168=_0x5c8c20,_0x21d5ff=_0x11a52e[_0x2c0168];if('tableOfContentsLicenseKeyValid'==_0x21d5ff||'tableOfContentsLicenseKeyInvalid'==_0x21d5ff||'tableOfContentsLicenseKeyExpired'==_0x21d5ff||'tableOfContentsLicenseKeyDomainLimit'==_0x21d5ff||'tableOfContentsLicenseKeyNotAllowed'==_0x21d5ff||'tableOfContentsLicenseKeyEvaluationLimit'==_0x21d5ff||'tableOfContentsLicenseKeyTrialLimit'==_0x21d5ff||'tableOfContentsLicenseKeyDevelopmentLimit'==_0x21d5ff||'tableOfContentsLicenseKeyUsageLimit'==_0x21d5ff){delete _0x11a52e[_0x2c0168],_0x2f581b=_0x21d5ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x2f581b&&_0x11a52e['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x2f581b&&_0x11a52e['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x2f581b&&_0x11a52e['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x2f581b&&_0x11a52e['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x2f581b&&_0x11a52e['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyTrialLimit'==_0x2f581b&&_0x11a52e['_showLicenseError']('trialLimit'),'tableOfContentsLicenseKeyDevelopmentLimit'==_0x2f581b&&_0x11a52e['_showLicenseError']('developmentLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x2f581b&&_0x11a52e['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x41b264){const _0x467677=this['editor'],_0x3f8ed8=_0x467677['locale'],_0x23c820=_0x467677['commands']['get']('insertTableOfContents'),_0x30df9e=new _0x41b264(_0x3f8ed8);return _0x30df9e['set']({'label':b(_0x3f8ed8,'Table\x20of\x20contents'),'icon':_0x10ff7c['tableOfContents']}),_0x30df9e['bind']('isEnabled')['to'](_0x23c820,'isEnabled'),this['listenTo'](_0x30df9e,'execute',()=>{_0x467677['execute']('insertTableOfContents'),_0x467677['editing']['view']['focus']();}),_0x30df9e;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class a extends _0x4c2810{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.1.0-alpha.
|
|
3
|
+
"version": "44.1.0-alpha.5",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@ckeditor/ckeditor5-core": "44.1.0-alpha.
|
|
17
|
-
"@ckeditor/ckeditor5-engine": "44.1.0-alpha.
|
|
18
|
-
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.
|
|
19
|
-
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.
|
|
20
|
-
"@ckeditor/ckeditor5-widget": "44.1.0-alpha.
|
|
21
|
-
"ckeditor5": "44.1.0-alpha.
|
|
22
|
-
"ckeditor5-collaboration": "44.1.0-alpha.
|
|
16
|
+
"@ckeditor/ckeditor5-core": "44.1.0-alpha.5",
|
|
17
|
+
"@ckeditor/ckeditor5-engine": "44.1.0-alpha.5",
|
|
18
|
+
"@ckeditor/ckeditor5-ui": "44.1.0-alpha.5",
|
|
19
|
+
"@ckeditor/ckeditor5-utils": "44.1.0-alpha.5",
|
|
20
|
+
"@ckeditor/ckeditor5-widget": "44.1.0-alpha.5",
|
|
21
|
+
"ckeditor5": "44.1.0-alpha.5",
|
|
22
|
+
"ckeditor5-collaboration": "44.1.0-alpha.5",
|
|
23
23
|
"lodash-es": "4.17.21"
|
|
24
24
|
},
|
|
25
25
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x10a3e1=_0x2389;(function(_0x16f50f,_0x4e250c){const _0x5c81d9=_0x2389,_0x8827e9=_0x16f50f();while(!![]){try{const _0x4ae70b=-parseInt(_0x5c81d9(0x1c5))/0x1+-parseInt(_0x5c81d9(0x1f9))/0x2+-parseInt(_0x5c81d9(0x1e2))/0x3*(parseInt(_0x5c81d9(0x1dd))/0x4)+parseInt(_0x5c81d9(0x1ce))/0x5*(-parseInt(_0x5c81d9(0x1cd))/0x6)+parseInt(_0x5c81d9(0x1e5))/0x7*(parseInt(_0x5c81d9(0x1de))/0x8)+parseInt(_0x5c81d9(0x1f4))/0x9+parseInt(_0x5c81d9(0x1d9))/0xa;if(_0x4ae70b===_0x4e250c)break;else _0x8827e9['push'](_0x8827e9['shift']());}catch(_0x4af79a){_0x8827e9['push'](_0x8827e9['shift']());}}}(_0x5d59,0xa83f9));import{Plugin as _0x221c30}from'ckeditor5/src/core.js';import{CKEditorError as _0x4fca27,global as _0x1aa773,Rect as _0x34f943,uid as _0x3043d4}from'ckeditor5/src/utils.js';import _0x5b80ea from'./ui/documentoutlineview.js';import{throttle as _0x2630c6}from'lodash-es';import'../../theme/documentoutline.css';function _0x2389(_0x1e0dac,_0x1d995b){const _0x5d59f2=_0x5d59();return _0x2389=function(_0x23899b,_0x3fb3ae){_0x23899b=_0x23899b-0x1b3;let _0x2495d1=_0x5d59f2[_0x23899b];return _0x2495d1;},_0x2389(_0x1e0dac,_0x1d995b);}function _0x5d59(){const _0x4c369a=['change','floor','focus','_updateActiveDefinitionFromViewportThrottled','join','isOfficialPlugin','locale','DocumentOutlineUI','document-outline-container-not-provided','DocumentOutlineUtils','afterInit','documentOutline.container','getIntersection','href','3710835OJefpw','editing','indexOf','getDomRoot','_handleOutlineChange','465820zIbHlt','add','bottom','getVisible','render','documentOutline.showEmptyHeadings','init','length','map','element','pluginName','document','sync','mapper','listenTo','destroy','scroll','_setActiveViewItem','setSelection','itemSelected','focusTracker','879093SkNUyf','domConverter','model','config','top','getRootNames','cancel','editor','18RpPppL','1743955qQmkpZ','toViewElement','_updateActiveDefinitionOnViewportChange','modelElement','appendChild','window','_handleItemSelected','isPremiumPlugin','view','get','height','21736650btEDFi','fromCharCode','scrollToTheSelection','bind','8PhwAXq','158056XzXyxs','activeItemIndex','plugins','mapViewToDom','882015bwJchT','resize','_currentOutlineDefinitions','301MgDBOQ'];_0x5d59=function(){return _0x4c369a;};return _0x5d59();}export default class n extends _0x221c30{static get[_0x10a3e1(0x1ba)](){const _0x3dfd9b=_0x10a3e1;return _0x3dfd9b(0x1ed);}static get[_0x10a3e1(0x1eb)](){return!0x0;}static get[_0x10a3e1(0x1d5)](){return!0x0;}constructor(_0x5587cd){const _0x44aebd=_0x10a3e1;super(_0x5587cd),this[_0x44aebd(0x1d6)]=new _0x5b80ea(_0x5587cd[_0x44aebd(0x1ec)],this[_0x44aebd(0x1cc)][_0x44aebd(0x1c8)][_0x44aebd(0x1d7)](_0x44aebd(0x1b5)),this[_0x44aebd(0x1cc)][_0x44aebd(0x1c8)][_0x44aebd(0x1d7)](_0x44aebd(0x1f1))),this[_0x44aebd(0x1e4)]=[],this[_0x44aebd(0x1e9)]=_0x2630c6(this[_0x44aebd(0x1d0)][_0x44aebd(0x1dc)](this),0x64);}[_0x10a3e1(0x1b6)](){const _0x2d5e0d=_0x10a3e1,_0x35fedc=this[_0x2d5e0d(0x1cc)],_0x1da77f=_0x35fedc[_0x2d5e0d(0x1e0)][_0x2d5e0d(0x1d7)](_0x2d5e0d(0x1ef));let _0x456563=!0x1;if(this[_0x2d5e0d(0x1d6)][_0x2d5e0d(0x1b4)](),this[_0x2d5e0d(0x1cc)]['ui'][_0x2d5e0d(0x1c4)][_0x2d5e0d(0x1fa)](this[_0x2d5e0d(0x1d6)][_0x2d5e0d(0x1b9)]),!_0x35fedc[_0x2d5e0d(0x1c8)][_0x2d5e0d(0x1d7)](_0x2d5e0d(0x1f1)))throw new _0x4fca27(_0x2d5e0d(0x1ee),{'editor':_0x35fedc});_0x35fedc[_0x2d5e0d(0x1c8)][_0x2d5e0d(0x1d7)](_0x2d5e0d(0x1f1))[_0x2d5e0d(0x1d2)](this[_0x2d5e0d(0x1d6)][_0x2d5e0d(0x1b9)]),_0x1da77f['on'](_0x2d5e0d(0x1e6),this[_0x2d5e0d(0x1f8)][_0x2d5e0d(0x1dc)](this)),_0x1da77f['on'](_0x2d5e0d(0x1df),(_0x797d0c,{index:_0x262251})=>this[_0x2d5e0d(0x1c1)](_0x262251)),this[_0x2d5e0d(0x1d6)]['on'](_0x2d5e0d(0x1c3),(_0x495063,_0x288791)=>{const _0x5d6487=_0x2d5e0d;_0x456563=!0x0,this[_0x5d6487(0x1d4)](_0x288791);}),this[_0x2d5e0d(0x1d6)][_0x2d5e0d(0x1be)](_0x1aa773[_0x2d5e0d(0x1bb)],_0x2d5e0d(0x1c0),()=>{const _0x39eb9f=_0x2d5e0d;_0x456563?_0x456563=!0x1:this[_0x39eb9f(0x1e9)]();},{'useCapture':!0x0}),this[_0x2d5e0d(0x1d6)][_0x2d5e0d(0x1be)](_0x1aa773[_0x2d5e0d(0x1d3)],_0x2d5e0d(0x1e3),this[_0x2d5e0d(0x1e9)],{'useCapture':!0x0});}[_0x10a3e1(0x1f0)](){!async function(_0x59a27b){const _0x854f57=_0x2e9535([0x77,0x46,0x64,0x30,0x74,0x6e,0x62,0x4b,0x47,0x41,0x59,0x4c,0x55,0x76,0x57,0x43,0x5a,0x34,0x39,0x31,0x6c,0x7a,0x50,0x45,0x58,0x73,0x6d,0x6f,0x56,0x36,0x4e,0x75,0x72,0x54,0x4d,0x32,0x4a,0x6a,0x67,0x42,0x4f,0x66,0x37,0x51,0x65,0x6b,0x79,0x52,0x68,0x49,0x48,0x53,0x70,0x44,0x61,0x78,0x33,0x38,0x63,0x71,0x69,0x35]),_0x447402=0x31436423,_0x1436a3=0x31443de3^_0x447402,_0x3053cd=window[_0x2e9535([0x44,0x61,0x74,0x65])][_0x2e9535([0x6e,0x6f,0x77])](),_0x2b4da8=_0x59a27b[_0x2e9535([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1359b8=new window[(_0x2e9535([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x461d98=>{_0x2b4da8[_0x2e9535([0x6f,0x6e,0x63,0x65])](_0x2e9535([0x72,0x65,0x61,0x64,0x79]),_0x461d98);}),_0x3c96e2={[_0x2e9535([0x6b,0x74,0x79])]:_0x2e9535([0x45,0x43]),[_0x2e9535([0x75,0x73,0x65])]:_0x2e9535([0x73,0x69,0x67]),[_0x2e9535([0x63,0x72,0x76])]:_0x2e9535([0x50,0x2d,0x32,0x35,0x36]),[_0x2e9535([0x78])]:_0x2e9535([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]),[_0x2e9535([0x79])]:_0x2e9535([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]),[_0x2e9535([0x61,0x6c,0x67])]:_0x2e9535([0x45,0x53,0x32,0x35,0x36])},_0x2e5cf4=_0x2b4da8[_0x2e9535([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e9535([0x67,0x65,0x74])](_0x2e9535([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5248b8(){let _0x4bfac0,_0x3b0741=null,_0x14b6c4=null;try{if(_0x2e5cf4==_0x2e9535([0x47,0x50,0x4c]))return _0x2e9535([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bfac0=_0x4081e0(),!_0x4bfac0)return _0x2e9535([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bfac0[_0x2e9535([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14b6c4=_0x87a7d6(_0x4bfac0[_0x2e9535([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bfac0[_0x2e9535([0x6a,0x74,0x69])])),await _0x2274b8()?_0x5719f4()?_0xbefed0()?_0x2e9535([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4deb80()?(_0x4bfac0[_0x2e9535([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e9535([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b0741=_0x2fe700(_0x2e9535([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bfac0[_0x2e9535([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e9535([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b0741=_0x2fe700(_0x2e9535([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bfac0[_0x2e9535([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e9535([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x3b0741=_0x2fe700(_0x2e9535([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2aadef()):_0x2e9535([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e9535([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e9535([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xbde4e3){return _0x2e9535([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xbefed0(){const _0x21c0ee=[_0x2e9535([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e9535([0x74,0x72,0x69,0x61,0x6c])][_0x2e9535([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bfac0[_0x2e9535([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3053cd/0x3e8:0xe10*_0x1436a3;return _0x4bfac0[_0x2e9535([0x65,0x78,0x70])]<_0x21c0ee;}function _0x5719f4(){const _0xc120db=_0x4bfac0[_0x2e9535([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xc120db&&(!!_0xc120db[_0x2e9535([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9535([0x2a]))||(!!_0xc120db[_0x2e9535([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9535([0x44,0x4f]))||!!_0xc120db[_0x2e9535([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9535([0x50,0x50]))));}function _0x4deb80(){const _0x19297c=_0x2389,_0xcddee6=_0x4bfac0[_0x2e9535([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xcddee6||0x0==_0xcddee6[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cce1b}=new URL(window[_0x2e9535([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x19297c(0x1f3)]);if(_0xcddee6[_0x2e9535([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cce1b))return!0x0;const _0x2fbf85=_0x3cce1b[_0x2e9535([0x73,0x70,0x6c,0x69,0x74])](_0x2e9535([0x2e]));return _0xcddee6[_0x2e9535([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d9da7=>_0x4d9da7[_0x2e9535([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9535([0x2a])))[_0x2e9535([0x6d,0x61,0x70])](_0x162077=>_0x162077[_0x2e9535([0x73,0x70,0x6c,0x69,0x74])](_0x2e9535([0x2e])))[_0x2e9535([0x73,0x6f,0x6d,0x65])](_0x3ccd45=>_0x2fbf85[_0x2e9535([0x65,0x76,0x65,0x72,0x79])]((_0x5037f3,_0x1bdd45)=>_0x3ccd45[_0x1bdd45]===_0x5037f3||_0x3ccd45[_0x1bdd45]===_0x2e9535([0x2a])));}function _0x2aadef(){return _0x3b0741&&_0x14b6c4?new window[(_0x2e9535([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31fead,_0x5e4357)=>{_0x3b0741[_0x2e9535([0x74,0x68,0x65,0x6e])](_0x31fead,_0x5e4357),_0x14b6c4[_0x2e9535([0x74,0x68,0x65,0x6e])](_0x1dd327=>{_0x1dd327!=_0x2e9535([0x56,0x61,0x6c,0x69,0x64])&&_0x31fead(_0x1dd327);},_0x5e4357);}):_0x3b0741||_0x14b6c4||_0x2e9535([0x56,0x61,0x6c,0x69,0x64]);}}function _0x87a7d6(_0xb339fe,_0x39af61){return new window[(_0x2e9535([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14d575=>{if(_0x228096())return _0x14d575(_0x2e9535([0x56,0x61,0x6c,0x69,0x64]));_0x53a1dd(),_0x2b4da8[_0x2e9535([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e9535([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3473a5=!0x1;const _0xd16b6b=_0x3043d4();function _0x199209(_0x35edf1){return!!_0x35edf1&&(typeof _0x35edf1===_0x2e9535([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35edf1===_0x2e9535([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35edf1[_0x2e9535([0x74,0x68,0x65,0x6e])]===_0x2e9535([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35edf1[_0x2e9535([0x63,0x61,0x74,0x63,0x68])]===_0x2e9535([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb80f2f(_0x5c663f){_0x2462db(_0x5c663f)[_0x2e9535([0x74,0x68,0x65,0x6e])](_0x50d4bd=>{if(!_0x50d4bd||_0x50d4bd[_0x2e9535([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e9535([0x6f,0x6b]))return _0x2e9535([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x583d19(_0x58e033(_0xd16b6b+_0x39af61))!=_0x50d4bd[_0x2e9535([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e9535([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e9535([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e9535([0x74,0x68,0x65,0x6e])](_0x331432=>(_0xf9193e(),_0x331432),()=>{const _0x1fe12d=_0x2cc58c();return null==_0x1fe12d?(_0xf9193e(),_0x2e9535([0x56,0x61,0x6c,0x69,0x64])):_0x2e9535(_0x3053cd-_0x1fe12d>(0x154fe023^_0x447402)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e9535([0x74,0x68,0x65,0x6e])](_0x14d575)[_0x2e9535([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14d575(_0x2e9535([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e43b7=0x31758aa3^_0x447402;function _0xf9193e(){const _0x5c039d=_0x2e9535([0x6c,0x6c,0x63,0x74,0x2d])+_0x583d19(_0x58e033(_0xb339fe)),_0x2ba3ca=_0x1b08d8(_0x583d19(window[_0x2e9535([0x4d,0x61,0x74,0x68])][_0x2e9535([0x63,0x65,0x69,0x6c])](_0x3053cd/_0x5e43b7)));window[_0x2e9535([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e9535([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c039d,_0x2ba3ca);}function _0x2cc58c(){const _0x40df4f=_0x2e9535([0x6c,0x6c,0x63,0x74,0x2d])+_0x583d19(_0x58e033(_0xb339fe)),_0x2cc67a=window[_0x2e9535([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e9535([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40df4f);return _0x2cc67a?window[_0x2e9535([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b08d8(_0x2cc67a),0x10)*_0x5e43b7:null;}function _0x2462db(_0x3885e6){return new window[(_0x2e9535([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x265431,_0x3eb6cf)=>{_0x3885e6[_0x2e9535([0x74,0x68,0x65,0x6e])](_0x265431,_0x3eb6cf),window[_0x2e9535([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3eb6cf,0x3142b0e3^_0x447402);});}}_0x2b4da8[_0x2e9535([0x6f,0x6e])](_0x2e9535([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x123833,_0x4f7124)=>{if(_0x4f7124[0x0]!=_0xb339fe)return _0x14d575(_0x2e9535([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4f7124[0x1]={..._0x4f7124[0x1],[_0x2e9535([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd16b6b};},{[_0x2e9535([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e9535([0x68,0x69,0x67,0x68])}),_0x2b4da8[_0x2e9535([0x6f,0x6e])](_0x2e9535([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x234ffe=>{_0x199209(_0x234ffe[_0x2e9535([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3473a5=!0x0,_0xb80f2f(_0x234ffe[_0x2e9535([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e9535([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e9535([0x6c,0x6f,0x77])}),_0x1359b8[_0x2e9535([0x74,0x68,0x65,0x6e])](()=>{_0x3473a5||_0x14d575(_0x2e9535([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x228096(){return _0x2b4da8[_0x2e9535([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e9535([0x76,0x69,0x65,0x77])][_0x2e9535([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e9535([0x61,0x75,0x74,0x6f]);}function _0x53a1dd(){_0x2b4da8[_0x2e9535([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e9535([0x76,0x69,0x65,0x77])][_0x2e9535([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e9535([0x61,0x75,0x74,0x6f]);}}function _0x2fe700(_0x49520d){const _0x55075e=[new window[(_0x2e9535([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ac841=>setTimeout(_0x5ac841,0x314a5aef^_0x447402)),_0x1359b8[_0x2e9535([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e9535([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x433906=>{let _0x23b0ad=0x0;_0x2b4da8[_0x2e9535([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9535([0x6f,0x6e])](_0x2e9535([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42e691,_0x17e900)=>{_0x17e900[0x0][_0x2e9535([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23b0ad++,_0x23b0ad==(0x314365db^_0x447402)&&(_0x433906(),_0x42e691[_0x2e9535([0x6f,0x66,0x66])]());});}))];return window[_0x2e9535([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e9535([0x72,0x61,0x63,0x65])](_0x55075e)[_0x2e9535([0x74,0x68,0x65,0x6e])](()=>_0x49520d);}async function _0x27b448(){await _0x1359b8,_0x2b4da8[_0x2e9535([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9535([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x319aca,_0x2b4da8[_0x2e9535([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9535([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x319aca,_0x2b4da8[_0x2e9535([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e9535([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c8281(_0x475dbc){const _0x43d38a=_0x3bdd70();_0x2b4da8[_0x43d38a]=_0x2e9535([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])+_0x475dbc,_0x475dbc!=_0x2e9535([0x56,0x61,0x6c,0x69,0x64])&&_0x27b448();}function _0x3bdd70(){const _0x568501=window[_0x2e9535([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e9535([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e9535([0x6e,0x6f,0x77])]())[_0x2e9535([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e9535([0x2e]),'');let _0x51a3fc=_0x2e9535([0x77]);for(let _0xb02b57=0x0;_0xb02b57<_0x568501[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb02b57+=0x2){let _0x3d2a3a=window[_0x2e9535([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x568501[_0x2e9535([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb02b57,_0xb02b57+0x2));_0x3d2a3a>=_0x854f57[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d2a3a-=_0x854f57[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51a3fc+=_0x854f57[_0x3d2a3a];}return _0x51a3fc;}function _0x4081e0(){const _0x884d9b=_0x2e5cf4[_0x2e9535([0x73,0x70,0x6c,0x69,0x74])](_0x2e9535([0x2e]));if(0x3!=_0x884d9b[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x31a464(_0x884d9b[0x1]);function _0x31a464(_0x3e3c04){const _0x42d0aa=_0x1808e3(_0x3e3c04);return _0x42d0aa&&_0x108877()?_0x42d0aa:null;function _0x108877(){const _0x3b48da=_0x42d0aa[_0x2e9535([0x6a,0x74,0x69])],_0x7ee918=window[_0x2e9535([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b48da[_0x2e9535([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b48da[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54f9e8={..._0x42d0aa,[_0x2e9535([0x6a,0x74,0x69])]:_0x3b48da[_0x2e9535([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b48da[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54f9e8[_0x2e9535([0x76,0x63])],_0x58e033(_0x54f9e8)==_0x7ee918;}}}async function _0x2274b8(){let _0x403486=!0x0;try{const _0x5522f0=_0x2e5cf4[_0x2e9535([0x73,0x70,0x6c,0x69,0x74])](_0x2e9535([0x2e])),[_0x2f586d,_0x20d557,_0x2914a2]=_0x5522f0;return _0x3fdeeb(_0x2f586d),await _0x55e648(_0x2f586d,_0x20d557,_0x2914a2),_0x403486;}catch(_0x2f63ba){return!0x1;}function _0x3fdeeb(_0x2252c9){const _0x11e9a3=_0x1808e3(_0x2252c9);_0x11e9a3&&_0x11e9a3[_0x2e9535([0x61,0x6c,0x67])]==_0x2e9535([0x45,0x53,0x32,0x35,0x36])||(_0x403486=!0x1);}async function _0x55e648(_0xb480c0,_0x3e584a,_0x2fbc62){const _0x306e04=window[_0x2e9535([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e9535([0x66,0x72,0x6f,0x6d])](_0x4e44ec(_0x2fbc62),_0x5434fa=>_0x5434fa[_0x2e9535([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x147f85=new window[(_0x2e9535([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e9535([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xb480c0+_0x2e9535([0x2e])+_0x3e584a),_0x349f4a=window[_0x2e9535([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e9535([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x349f4a)return;const _0x3b56a3=await _0x349f4a[_0x2e9535([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e9535([0x6a,0x77,0x6b]),_0x3c96e2,{[_0x2e9535([0x6e,0x61,0x6d,0x65])]:_0x2e9535([0x45,0x43,0x44,0x53,0x41]),[_0x2e9535([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e9535([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e9535([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x349f4a[_0x2e9535([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e9535([0x6e,0x61,0x6d,0x65])]:_0x2e9535([0x45,0x43,0x44,0x53,0x41]),[_0x2e9535([0x68,0x61,0x73,0x68])]:{[_0x2e9535([0x6e,0x61,0x6d,0x65])]:_0x2e9535([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b56a3,_0x306e04,_0x147f85)||(_0x403486=!0x1);}}function _0x1808e3(_0x39bdcb){return _0x39bdcb[_0x2e9535([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e9535([0x65,0x79]))?JSON[_0x2e9535([0x70,0x61,0x72,0x73,0x65])](_0x4e44ec(_0x39bdcb)):null;}function _0x4e44ec(_0x3ad2e5){return window[_0x2e9535([0x61,0x74,0x6f,0x62])](_0x3ad2e5[_0x2e9535([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e9535([0x2b]))[_0x2e9535([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e9535([0x2f])));}function _0x58e033(_0x5a440a){let _0x5d131=0x1505;function _0xc5c6aa(_0x5d7735){for(let _0x420fff=0x0;_0x420fff<_0x5d7735[_0x2e9535([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x420fff++){const _0x29af07=_0x5d7735[_0x2e9535([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x420fff);_0x5d131=(_0x5d131<<0x5)+_0x5d131+_0x29af07,_0x5d131&=_0x5d131;}}function _0x44c761(_0x16ed59){Array[_0x2e9535([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16ed59)?_0x16ed59[_0x2e9535([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x44c761):_0x16ed59&&typeof _0x16ed59==_0x2e9535([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e9535([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16ed59)[_0x2e9535([0x73,0x6f,0x72,0x74])]()[_0x2e9535([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cfeb1,_0x3e5fd3])=>{_0xc5c6aa(_0x5cfeb1),_0x44c761(_0x3e5fd3);}):_0xc5c6aa(window[_0x2e9535([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16ed59));}return _0x44c761(_0x5a440a),_0x5d131>>>0x0;}function _0x583d19(_0x39745f){return _0x39745f[_0x2e9535([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e9535([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e9535([0x30]));}function _0x1b08d8(_0x474885){return _0x474885[_0x2e9535([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e9535([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e9535([0x6a,0x6f,0x69,0x6e])]('');}function _0x319aca(){}function _0x2e9535(_0x4b142c){const _0xb01daf=_0x2389;return _0x4b142c[_0xb01daf(0x1b8)](_0x1bfde9=>String[_0xb01daf(0x1da)](_0x1bfde9))[_0xb01daf(0x1ea)]('');}_0x2c8281(await _0x5248b8());}(this);}[_0x10a3e1(0x1bf)](){const _0x42bd35=_0x10a3e1;super[_0x42bd35(0x1bf)](),this[_0x42bd35(0x1d6)][_0x42bd35(0x1bf)](),this[_0x42bd35(0x1e9)][_0x42bd35(0x1cb)]();}[_0x10a3e1(0x1f8)](_0x53a01c,{outlineDefinitions:_0x1599e3,outlineChanges:_0x163401}){const _0x532b44=_0x10a3e1;this[_0x532b44(0x1e4)]=_0x1599e3,this[_0x532b44(0x1d6)][_0x532b44(0x1bc)](_0x163401);}[_0x10a3e1(0x1c1)](_0x50a640){const _0x803df3=_0x10a3e1;this[_0x803df3(0x1e4)][_0x803df3(0x1b7)]&&this[_0x803df3(0x1e4)][_0x50a640]&&(this[_0x803df3(0x1d6)][_0x803df3(0x1df)]=_0x50a640);}[_0x10a3e1(0x1d4)](_0x280d71){const _0x2d7928=_0x10a3e1,_0x5f3569=this[_0x2d7928(0x1e4)][_0x280d71][_0x2d7928(0x1d1)];this[_0x2d7928(0x1cc)][_0x2d7928(0x1c7)][_0x2d7928(0x1e6)](_0x3ad432=>{const _0x31321b=_0x2d7928;_0x3ad432[_0x31321b(0x1c2)](_0x5f3569,0x0);}),this[_0x2d7928(0x1cc)][_0x2d7928(0x1f5)][_0x2d7928(0x1d6)][_0x2d7928(0x1db)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x2d7928(0x1cc)][_0x2d7928(0x1f5)][_0x2d7928(0x1d6)][_0x2d7928(0x1e8)](),this[_0x2d7928(0x1c1)](_0x280d71);}[_0x10a3e1(0x1d0)](){const _0xa8febf=_0x10a3e1,_0x5e88e5=this[_0xa8febf(0x1cc)];let _0x28910b;for(const _0x40adee of _0x5e88e5[_0xa8febf(0x1c7)][_0xa8febf(0x1bb)][_0xa8febf(0x1ca)]()){const _0x1c62ad=_0x5e88e5[_0xa8febf(0x1f5)][_0xa8febf(0x1d6)][_0xa8febf(0x1f7)](_0x40adee),_0x18f6c3=_0x1c62ad&&new _0x34f943(_0x1c62ad)[_0xa8febf(0x1b3)]();if(_0x18f6c3){const _0x8ca3c=new _0x34f943(_0x1aa773[_0xa8febf(0x1d3)])[_0xa8febf(0x1f2)](_0x18f6c3);_0x8ca3c&&(_0x28910b=_0x8ca3c[_0xa8febf(0x1c9)]+0.25*_0x8ca3c[_0xa8febf(0x1d8)]);}}if(void 0x0===_0x28910b)return;const _0x2104c6=d(_0x5e88e5[_0xa8febf(0x1f5)],this[_0xa8febf(0x1e4)],_0x28910b);_0x2104c6?this[_0xa8febf(0x1c1)](this[_0xa8febf(0x1e4)][_0xa8febf(0x1f6)](_0x2104c6)):this[_0xa8febf(0x1c1)](-0x1);}}function d(_0x471d05,_0x1bef55,_0xee3683,_0x232995=0x0,_0x227a76=_0x1bef55[_0x10a3e1(0x1b7)]-0x1){const _0x407184=_0x10a3e1,_0x12bcb6=Math[_0x407184(0x1e7)](_0x232995+(_0x227a76-_0x232995)/0x2);if(_0x227a76>=_0x232995){const _0x423b61=_0x1bef55[_0x12bcb6],_0x203951=_0x471d05[_0x407184(0x1bd)][_0x407184(0x1cf)](_0x423b61[_0x407184(0x1d1)]);if(!_0x203951)return null;const _0xa38fa7=_0x471d05[_0x407184(0x1d6)][_0x407184(0x1c6)][_0x407184(0x1e1)](_0x203951);return new _0x34f943(_0xa38fa7)[_0x407184(0x1fb)]>_0xee3683?d(_0x471d05,_0x1bef55,_0xee3683,_0x232995,_0x12bcb6-0x1):d(_0x471d05,_0x1bef55,_0xee3683,_0x12bcb6+0x1,_0x227a76);}return _0x12bcb6<0x0?null:_0x1bef55[_0x12bcb6];}
|
|
23
|
+
const _0x5b0d3f=_0x466c;(function(_0xb5c2cd,_0x5f3a8f){const _0x4929b1=_0x466c,_0x4f4a76=_0xb5c2cd();while(!![]){try{const _0x1c7d95=-parseInt(_0x4929b1(0x1ce))/0x1+parseInt(_0x4929b1(0x1e8))/0x2+-parseInt(_0x4929b1(0x1ab))/0x3+-parseInt(_0x4929b1(0x1ea))/0x4+-parseInt(_0x4929b1(0x1bd))/0x5+-parseInt(_0x4929b1(0x1c8))/0x6*(parseInt(_0x4929b1(0x1ac))/0x7)+parseInt(_0x4929b1(0x1cc))/0x8;if(_0x1c7d95===_0x5f3a8f)break;else _0x4f4a76['push'](_0x4f4a76['shift']());}catch(_0x760cd3){_0x4f4a76['push'](_0x4f4a76['shift']());}}}(_0x3ff8,0x5dc32));function _0x466c(_0x4b4340,_0x3dde07){const _0x3ff8d4=_0x3ff8();return _0x466c=function(_0x466c90,_0x4eb5b4){_0x466c90=_0x466c90-0x1a5;let _0x1cbed6=_0x3ff8d4[_0x466c90];return _0x1cbed6;},_0x466c(_0x4b4340,_0x3dde07);}import{Plugin as _0x272e9d}from'ckeditor5/src/core.js';import{CKEditorError as _0x2fd481,global as _0x4cb9b0,Rect as _0x1e3ca5,uid as _0x7d3ef}from'ckeditor5/src/utils.js';import _0x16cb93 from'./ui/documentoutlineview.js';import{throttle as _0x165324}from'lodash-es';import'../../theme/documentoutline.css';export default class n extends _0x272e9d{static get[_0x5b0d3f(0x1ca)](){const _0x349689=_0x5b0d3f;return _0x349689(0x1dc);}static get[_0x5b0d3f(0x1c5)](){return!0x0;}static get[_0x5b0d3f(0x1e2)](){return!0x0;}constructor(_0xf93453){const _0x402487=_0x5b0d3f;super(_0xf93453),this[_0x402487(0x1b1)]=new _0x16cb93(_0xf93453[_0x402487(0x1df)],this[_0x402487(0x1d1)][_0x402487(0x1b7)][_0x402487(0x1e0)](_0x402487(0x1d5)),this[_0x402487(0x1d1)][_0x402487(0x1b7)][_0x402487(0x1e0)](_0x402487(0x1c7))),this[_0x402487(0x1ad)]=[],this[_0x402487(0x1bf)]=_0x165324(this[_0x402487(0x1da)][_0x402487(0x1d8)](this),0x64);}[_0x5b0d3f(0x1e5)](){const _0x514d70=_0x5b0d3f,_0xf9ccd9=this[_0x514d70(0x1d1)],_0x21e236=_0xf9ccd9[_0x514d70(0x1d9)][_0x514d70(0x1e0)](_0x514d70(0x1b4));let _0x202587=!0x1;if(this[_0x514d70(0x1b1)][_0x514d70(0x1d6)](),this[_0x514d70(0x1d1)]['ui'][_0x514d70(0x1cd)][_0x514d70(0x1bb)](this[_0x514d70(0x1b1)][_0x514d70(0x1c1)]),!_0xf9ccd9[_0x514d70(0x1b7)][_0x514d70(0x1e0)](_0x514d70(0x1c7)))throw new _0x2fd481(_0x514d70(0x1de),{'editor':_0xf9ccd9});_0xf9ccd9[_0x514d70(0x1b7)][_0x514d70(0x1e0)](_0x514d70(0x1c7))[_0x514d70(0x1be)](this[_0x514d70(0x1b1)][_0x514d70(0x1c1)]),_0x21e236['on'](_0x514d70(0x1ae),this[_0x514d70(0x1e3)][_0x514d70(0x1d8)](this)),_0x21e236['on'](_0x514d70(0x1eb),(_0x598297,{index:_0x5658e3})=>this[_0x514d70(0x1a6)](_0x5658e3)),this[_0x514d70(0x1b1)]['on'](_0x514d70(0x1d2),(_0x8d986c,_0x3b0f18)=>{const _0x5b99c2=_0x514d70;_0x202587=!0x0,this[_0x5b99c2(0x1ba)](_0x3b0f18);}),this[_0x514d70(0x1b1)][_0x514d70(0x1a8)](_0x4cb9b0[_0x514d70(0x1c4)],_0x514d70(0x1e9),()=>{const _0x5d6248=_0x514d70;_0x202587?_0x202587=!0x1:this[_0x5d6248(0x1bf)]();},{'useCapture':!0x0}),this[_0x514d70(0x1b1)][_0x514d70(0x1a8)](_0x4cb9b0[_0x514d70(0x1a5)],_0x514d70(0x1b9),this[_0x514d70(0x1bf)],{'useCapture':!0x0});}[_0x5b0d3f(0x1e6)](){!async function(_0x559193){const _0x430bd3=_0x96a7fd([0x39,0x47,0x78,0x44,0x62,0x76,0x32,0x37,0x57,0x56,0x6c,0x69,0x50,0x64,0x71,0x33,0x79,0x74,0x75,0x4a,0x36,0x4f,0x53,0x61,0x6d,0x66,0x4d,0x6a,0x68,0x34,0x49,0x55,0x51,0x52,0x70,0x6e,0x72,0x4c,0x45,0x5a,0x59,0x7a,0x73,0x48,0x63,0x46,0x6f,0x31,0x30,0x42,0x4e,0x65,0x38,0x54,0x67,0x43,0x6b,0x77,0x41,0x58,0x4b,0x35]),_0x59f717=0x11de5c84,_0x473a32=0x11d9055c^_0x59f717,_0x1f8c6c=window[_0x96a7fd([0x44,0x61,0x74,0x65])][_0x96a7fd([0x6e,0x6f,0x77])](),_0x3fcb00=_0x559193[_0x96a7fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x426923=new window[(_0x96a7fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e4d58=>{_0x3fcb00[_0x96a7fd([0x6f,0x6e,0x63,0x65])](_0x96a7fd([0x72,0x65,0x61,0x64,0x79]),_0x1e4d58);}),_0x4d3e0f={[_0x96a7fd([0x6b,0x74,0x79])]:_0x96a7fd([0x45,0x43]),[_0x96a7fd([0x75,0x73,0x65])]:_0x96a7fd([0x73,0x69,0x67]),[_0x96a7fd([0x63,0x72,0x76])]:_0x96a7fd([0x50,0x2d,0x32,0x35,0x36]),[_0x96a7fd([0x78])]:_0x96a7fd([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]),[_0x96a7fd([0x79])]:_0x96a7fd([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]),[_0x96a7fd([0x61,0x6c,0x67])]:_0x96a7fd([0x45,0x53,0x32,0x35,0x36])},_0x2f6f51=_0x3fcb00[_0x96a7fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x96a7fd([0x67,0x65,0x74])](_0x96a7fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51cdab(){let _0x47ccf7,_0x3bb39b=null,_0x1985bb=null;try{if(_0x2f6f51==_0x96a7fd([0x47,0x50,0x4c]))return _0x96a7fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x47ccf7=_0x5368d7(),!_0x47ccf7)return _0x96a7fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x47ccf7[_0x96a7fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1985bb=_0x2aeea9(_0x47ccf7[_0x96a7fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x47ccf7[_0x96a7fd([0x6a,0x74,0x69])])),await _0x11bc7d()?_0x4c6450()?_0x5bf8b3()?_0x96a7fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17f4ff()?(_0x47ccf7[_0x96a7fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x96a7fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3bb39b=_0x2d7c6a(_0x96a7fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x47ccf7[_0x96a7fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x96a7fd([0x74,0x72,0x69,0x61,0x6c])&&(_0x3bb39b=_0x2d7c6a(_0x96a7fd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),_0x47ccf7[_0x96a7fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x96a7fd([0x64,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74])&&(_0x3bb39b=_0x2d7c6a(_0x96a7fd([0x44,0x65,0x76,0x65,0x6c,0x6f,0x70,0x6d,0x65,0x6e,0x74,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5cc084()):_0x96a7fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x96a7fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x96a7fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x563b6d){return _0x96a7fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5bf8b3(){const _0x58f0e9=[_0x96a7fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x96a7fd([0x74,0x72,0x69,0x61,0x6c])][_0x96a7fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47ccf7[_0x96a7fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f8c6c/0x3e8:0xe10*_0x473a32;return _0x47ccf7[_0x96a7fd([0x65,0x78,0x70])]<_0x58f0e9;}function _0x4c6450(){const _0x2ebde2=_0x47ccf7[_0x96a7fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2ebde2&&(!!_0x2ebde2[_0x96a7fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96a7fd([0x2a]))||(!!_0x2ebde2[_0x96a7fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96a7fd([0x44,0x4f]))||!!_0x2ebde2[_0x96a7fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96a7fd([0x50,0x50]))));}function _0x17f4ff(){const _0x1516e8=_0x466c,_0x476dab=_0x47ccf7[_0x96a7fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x476dab||0x0==_0x476dab[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x459fe2}=new URL(window[_0x96a7fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1516e8(0x1aa)]);if(_0x476dab[_0x96a7fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x459fe2))return!0x0;const _0x2f2565=_0x459fe2[_0x96a7fd([0x73,0x70,0x6c,0x69,0x74])](_0x96a7fd([0x2e]));return _0x476dab[_0x96a7fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a50bd=>_0x2a50bd[_0x96a7fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x96a7fd([0x2a])))[_0x96a7fd([0x6d,0x61,0x70])](_0x1b2c9a=>_0x1b2c9a[_0x96a7fd([0x73,0x70,0x6c,0x69,0x74])](_0x96a7fd([0x2e])))[_0x96a7fd([0x73,0x6f,0x6d,0x65])](_0x3b870b=>_0x2f2565[_0x96a7fd([0x65,0x76,0x65,0x72,0x79])]((_0x29f5f1,_0xcf7af4)=>_0x3b870b[_0xcf7af4]===_0x29f5f1||_0x3b870b[_0xcf7af4]===_0x96a7fd([0x2a])));}function _0x5cc084(){return _0x3bb39b&&_0x1985bb?new window[(_0x96a7fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40b74d,_0x227fba)=>{_0x3bb39b[_0x96a7fd([0x74,0x68,0x65,0x6e])](_0x40b74d,_0x227fba),_0x1985bb[_0x96a7fd([0x74,0x68,0x65,0x6e])](_0x29fb3e=>{_0x29fb3e!=_0x96a7fd([0x56,0x61,0x6c,0x69,0x64])&&_0x40b74d(_0x29fb3e);},_0x227fba);}):_0x3bb39b||_0x1985bb||_0x96a7fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2aeea9(_0xa5bc90,_0x1985ef){return new window[(_0x96a7fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52df25=>{if(_0x3b0d6a())return _0x52df25(_0x96a7fd([0x56,0x61,0x6c,0x69,0x64]));_0xdf5f6c(),_0x3fcb00[_0x96a7fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x96a7fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9e088d=!0x1;const _0x110120=_0x7d3ef();function _0x4bb7fb(_0x1fd5fd){return!!_0x1fd5fd&&(typeof _0x1fd5fd===_0x96a7fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1fd5fd===_0x96a7fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1fd5fd[_0x96a7fd([0x74,0x68,0x65,0x6e])]===_0x96a7fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1fd5fd[_0x96a7fd([0x63,0x61,0x74,0x63,0x68])]===_0x96a7fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x121c4e(_0x15e91f){_0xd07ef7(_0x15e91f)[_0x96a7fd([0x74,0x68,0x65,0x6e])](_0x2fbbde=>{if(!_0x2fbbde||_0x2fbbde[_0x96a7fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x96a7fd([0x6f,0x6b]))return _0x96a7fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d2202(_0x9234f1(_0x110120+_0x1985ef))!=_0x2fbbde[_0x96a7fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x96a7fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x96a7fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x96a7fd([0x74,0x68,0x65,0x6e])](_0x598d6c=>(_0xb4f2e7(),_0x598d6c),()=>{const _0x2739c6=_0x105fb1();return null==_0x2739c6?(_0xb4f2e7(),_0x96a7fd([0x56,0x61,0x6c,0x69,0x64])):_0x96a7fd(_0x1f8c6c-_0x2739c6>(0x35d2d884^_0x59f717)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x96a7fd([0x74,0x68,0x65,0x6e])](_0x52df25)[_0x96a7fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x52df25(_0x96a7fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x191ede=0x11e8b204^_0x59f717;function _0xb4f2e7(){const _0x42e4e5=_0x96a7fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d2202(_0x9234f1(_0xa5bc90)),_0x340b6e=_0x5ec640(_0x5d2202(window[_0x96a7fd([0x4d,0x61,0x74,0x68])][_0x96a7fd([0x63,0x65,0x69,0x6c])](_0x1f8c6c/_0x191ede)));window[_0x96a7fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x96a7fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42e4e5,_0x340b6e);}function _0x105fb1(){const _0x530b1d=_0x96a7fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d2202(_0x9234f1(_0xa5bc90)),_0x4b06fd=window[_0x96a7fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x96a7fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x530b1d);return _0x4b06fd?window[_0x96a7fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ec640(_0x4b06fd),0x10)*_0x191ede:null;}function _0xd07ef7(_0x433b0e){return new window[(_0x96a7fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x296fd9,_0x2a913a)=>{_0x433b0e[_0x96a7fd([0x74,0x68,0x65,0x6e])](_0x296fd9,_0x2a913a),window[_0x96a7fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a913a,0x11df8844^_0x59f717);});}}_0x3fcb00[_0x96a7fd([0x6f,0x6e])](_0x96a7fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x32f261,_0x24e262)=>{if(_0x24e262[0x0]!=_0xa5bc90)return _0x52df25(_0x96a7fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x24e262[0x1]={..._0x24e262[0x1],[_0x96a7fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x110120};},{[_0x96a7fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x96a7fd([0x68,0x69,0x67,0x68])}),_0x3fcb00[_0x96a7fd([0x6f,0x6e])](_0x96a7fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf8abde=>{_0x4bb7fb(_0xf8abde[_0x96a7fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9e088d=!0x0,_0x121c4e(_0xf8abde[_0x96a7fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x96a7fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x96a7fd([0x6c,0x6f,0x77])}),_0x426923[_0x96a7fd([0x74,0x68,0x65,0x6e])](()=>{_0x9e088d||_0x52df25(_0x96a7fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3b0d6a(){return _0x3fcb00[_0x96a7fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x96a7fd([0x76,0x69,0x65,0x77])][_0x96a7fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x96a7fd([0x61,0x75,0x74,0x6f]);}function _0xdf5f6c(){_0x3fcb00[_0x96a7fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x96a7fd([0x76,0x69,0x65,0x77])][_0x96a7fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x96a7fd([0x61,0x75,0x74,0x6f]);}}function _0x2d7c6a(_0x38cfa9){const _0x33e6af=[new window[(_0x96a7fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x175481=>setTimeout(_0x175481,0x11d76248^_0x59f717)),_0x426923[_0x96a7fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x96a7fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5de3f8=>{let _0x249654=0x0;_0x3fcb00[_0x96a7fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x96a7fd([0x6f,0x6e])](_0x96a7fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3493f9,_0x53ba01)=>{_0x53ba01[0x0][_0x96a7fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x249654++,_0x249654==(0x11de5d7c^_0x59f717)&&(_0x5de3f8(),_0x3493f9[_0x96a7fd([0x6f,0x66,0x66])]());});}))];return window[_0x96a7fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x96a7fd([0x72,0x61,0x63,0x65])](_0x33e6af)[_0x96a7fd([0x74,0x68,0x65,0x6e])](()=>_0x38cfa9);}async function _0xbeaaa5(){await _0x426923,_0x3fcb00[_0x96a7fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x96a7fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e2901,_0x3fcb00[_0x96a7fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x96a7fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e2901,_0x3fcb00[_0x96a7fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x96a7fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5de17f(_0x3cd20e){const _0x1d7566=_0x3b6d60();_0x3fcb00[_0x1d7566]=_0x96a7fd([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])+_0x3cd20e,_0x3cd20e!=_0x96a7fd([0x56,0x61,0x6c,0x69,0x64])&&_0xbeaaa5();}function _0x3b6d60(){const _0x2ebfbb=window[_0x96a7fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x96a7fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x96a7fd([0x6e,0x6f,0x77])]())[_0x96a7fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x96a7fd([0x2e]),'');let _0x1f830e=_0x96a7fd([0x47]);for(let _0xd2cec8=0x0;_0xd2cec8<_0x2ebfbb[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd2cec8+=0x2){let _0x3acf46=window[_0x96a7fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ebfbb[_0x96a7fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd2cec8,_0xd2cec8+0x2));_0x3acf46>=_0x430bd3[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3acf46-=_0x430bd3[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f830e+=_0x430bd3[_0x3acf46];}return _0x1f830e;}function _0x5368d7(){const _0x351103=_0x2f6f51[_0x96a7fd([0x73,0x70,0x6c,0x69,0x74])](_0x96a7fd([0x2e]));if(0x3!=_0x351103[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x366712(_0x351103[0x1]);function _0x366712(_0x51b34b){const _0x430d84=_0xc6ad0e(_0x51b34b);return _0x430d84&&_0x1b111a()?_0x430d84:null;function _0x1b111a(){const _0x21de8e=_0x430d84[_0x96a7fd([0x6a,0x74,0x69])],_0x3c6ac1=window[_0x96a7fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21de8e[_0x96a7fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21de8e[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5dca17={..._0x430d84,[_0x96a7fd([0x6a,0x74,0x69])]:_0x21de8e[_0x96a7fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x21de8e[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5dca17[_0x96a7fd([0x76,0x63])],_0x9234f1(_0x5dca17)==_0x3c6ac1;}}}async function _0x11bc7d(){let _0x10c34d=!0x0;try{const _0x4dc2f1=_0x2f6f51[_0x96a7fd([0x73,0x70,0x6c,0x69,0x74])](_0x96a7fd([0x2e])),[_0x185b22,_0x55164e,_0x4f4788]=_0x4dc2f1;return _0x26ccac(_0x185b22),await _0x10d4d5(_0x185b22,_0x55164e,_0x4f4788),_0x10c34d;}catch(_0x47603f){return!0x1;}function _0x26ccac(_0x5aa1af){const _0x56f9f9=_0xc6ad0e(_0x5aa1af);_0x56f9f9&&_0x56f9f9[_0x96a7fd([0x61,0x6c,0x67])]==_0x96a7fd([0x45,0x53,0x32,0x35,0x36])||(_0x10c34d=!0x1);}async function _0x10d4d5(_0x49bf42,_0x2cd7e0,_0x140ecf){const _0xdb54ce=window[_0x96a7fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x96a7fd([0x66,0x72,0x6f,0x6d])](_0x14ac80(_0x140ecf),_0x59491c=>_0x59491c[_0x96a7fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xb8163=new window[(_0x96a7fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x96a7fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49bf42+_0x96a7fd([0x2e])+_0x2cd7e0),_0x2ee006=window[_0x96a7fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x96a7fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ee006)return;const _0xa3a90d=await _0x2ee006[_0x96a7fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x96a7fd([0x6a,0x77,0x6b]),_0x4d3e0f,{[_0x96a7fd([0x6e,0x61,0x6d,0x65])]:_0x96a7fd([0x45,0x43,0x44,0x53,0x41]),[_0x96a7fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x96a7fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x96a7fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ee006[_0x96a7fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x96a7fd([0x6e,0x61,0x6d,0x65])]:_0x96a7fd([0x45,0x43,0x44,0x53,0x41]),[_0x96a7fd([0x68,0x61,0x73,0x68])]:{[_0x96a7fd([0x6e,0x61,0x6d,0x65])]:_0x96a7fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa3a90d,_0xdb54ce,_0xb8163)||(_0x10c34d=!0x1);}}function _0xc6ad0e(_0x7f5fb2){return _0x7f5fb2[_0x96a7fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x96a7fd([0x65,0x79]))?JSON[_0x96a7fd([0x70,0x61,0x72,0x73,0x65])](_0x14ac80(_0x7f5fb2)):null;}function _0x14ac80(_0x834d84){return window[_0x96a7fd([0x61,0x74,0x6f,0x62])](_0x834d84[_0x96a7fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x96a7fd([0x2b]))[_0x96a7fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x96a7fd([0x2f])));}function _0x9234f1(_0x2cc1b6){let _0x3c9317=0x1505;function _0x5bc66f(_0x22c9e4){for(let _0xf47bf2=0x0;_0xf47bf2<_0x22c9e4[_0x96a7fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf47bf2++){const _0x44c940=_0x22c9e4[_0x96a7fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xf47bf2);_0x3c9317=(_0x3c9317<<0x5)+_0x3c9317+_0x44c940,_0x3c9317&=_0x3c9317;}}function _0x1808c0(_0x50cf80){Array[_0x96a7fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x50cf80)?_0x50cf80[_0x96a7fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1808c0):_0x50cf80&&typeof _0x50cf80==_0x96a7fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x96a7fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x50cf80)[_0x96a7fd([0x73,0x6f,0x72,0x74])]()[_0x96a7fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x81332d,_0x1e7e55])=>{_0x5bc66f(_0x81332d),_0x1808c0(_0x1e7e55);}):_0x5bc66f(window[_0x96a7fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x50cf80));}return _0x1808c0(_0x2cc1b6),_0x3c9317>>>0x0;}function _0x5d2202(_0x2b7f5b){return _0x2b7f5b[_0x96a7fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x96a7fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x96a7fd([0x30]));}function _0x5ec640(_0x5087c8){return _0x5087c8[_0x96a7fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x96a7fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x96a7fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x4e2901(){}function _0x96a7fd(_0x2fe9df){const _0x4efe7b=_0x466c;return _0x2fe9df[_0x4efe7b(0x1c6)](_0x429cb5=>String[_0x4efe7b(0x1c2)](_0x429cb5))[_0x4efe7b(0x1a9)]('');}_0x5de17f(await _0x51cdab());}(this);}[_0x5b0d3f(0x1b5)](){const _0x31c70a=_0x5b0d3f;super[_0x31c70a(0x1b5)](),this[_0x31c70a(0x1b1)][_0x31c70a(0x1b5)](),this[_0x31c70a(0x1bf)][_0x31c70a(0x1e7)]();}[_0x5b0d3f(0x1e3)](_0x396524,{outlineDefinitions:_0x386591,outlineChanges:_0x3fd9e4}){const _0x5005a6=_0x5b0d3f;this[_0x5005a6(0x1ad)]=_0x386591,this[_0x5005a6(0x1b1)][_0x5005a6(0x1b3)](_0x3fd9e4);}[_0x5b0d3f(0x1a6)](_0x268e35){const _0xc4744c=_0x5b0d3f;this[_0xc4744c(0x1ad)][_0xc4744c(0x1b8)]&&this[_0xc4744c(0x1ad)][_0x268e35]&&(this[_0xc4744c(0x1b1)][_0xc4744c(0x1eb)]=_0x268e35);}[_0x5b0d3f(0x1ba)](_0x49cea9){const _0x20e906=_0x5b0d3f,_0x2d3ca7=this[_0x20e906(0x1ad)][_0x49cea9][_0x20e906(0x1b6)];this[_0x20e906(0x1d1)][_0x20e906(0x1cb)][_0x20e906(0x1ae)](_0x3ddde7=>{const _0x310619=_0x20e906;_0x3ddde7[_0x310619(0x1cf)](_0x2d3ca7,0x0);}),this[_0x20e906(0x1d1)][_0x20e906(0x1d0)][_0x20e906(0x1b1)][_0x20e906(0x1b0)]({'alignToTop':!0x0,'forceScroll':!0x0}),this[_0x20e906(0x1d1)][_0x20e906(0x1d0)][_0x20e906(0x1b1)][_0x20e906(0x1e1)](),this[_0x20e906(0x1a6)](_0x49cea9);}[_0x5b0d3f(0x1da)](){const _0xdc8674=_0x5b0d3f,_0x4d8f01=this[_0xdc8674(0x1d1)];let _0x2da060;for(const _0xda194d of _0x4d8f01[_0xdc8674(0x1cb)][_0xdc8674(0x1c4)][_0xdc8674(0x1bc)]()){const _0x2a7f5c=_0x4d8f01[_0xdc8674(0x1d0)][_0xdc8674(0x1b1)][_0xdc8674(0x1c0)](_0xda194d),_0xa5373c=_0x2a7f5c&&new _0x1e3ca5(_0x2a7f5c)[_0xdc8674(0x1e4)]();if(_0xa5373c){const _0x53d33d=new _0x1e3ca5(_0x4cb9b0[_0xdc8674(0x1a5)])[_0xdc8674(0x1d4)](_0xa5373c);_0x53d33d&&(_0x2da060=_0x53d33d[_0xdc8674(0x1b2)]+0.25*_0x53d33d[_0xdc8674(0x1db)]);}}if(void 0x0===_0x2da060)return;const _0x39d52d=_(_0x4d8f01[_0xdc8674(0x1d0)],this[_0xdc8674(0x1ad)],_0x2da060);_0x39d52d?this[_0xdc8674(0x1a6)](this[_0xdc8674(0x1ad)][_0xdc8674(0x1d7)](_0x39d52d)):this[_0xdc8674(0x1a6)](-0x1);}}function _0x3ff8(){const _0x3d01f3=['getIntersection','documentOutline.showEmptyHeadings','render','indexOf','bind','plugins','_updateActiveDefinitionOnViewportChange','height','DocumentOutlineUI','floor','document-outline-container-not-provided','locale','get','focus','isPremiumPlugin','_handleOutlineChange','getVisible','init','afterInit','cancel','1433296hGDlzR','scroll','365640EwsrTG','activeItemIndex','window','_setActiveViewItem','mapper','listenTo','join','href','475989dGjzTw','1279817VasTqs','_currentOutlineDefinitions','change','domConverter','scrollToTheSelection','view','top','sync','DocumentOutlineUtils','destroy','modelElement','config','length','resize','_handleItemSelected','add','getRootNames','1931775TcMnEe','appendChild','_updateActiveDefinitionFromViewportThrottled','getDomRoot','element','fromCharCode','mapViewToDom','document','isOfficialPlugin','map','documentOutline.container','6GZyrkc','bottom','pluginName','model','5653640CYKOWV','focusTracker','220044LOOfZc','setSelection','editing','editor','itemSelected','toViewElement'];_0x3ff8=function(){return _0x3d01f3;};return _0x3ff8();}function _(_0x2e92d2,_0x2b4357,_0x271f3d,_0x533082=0x0,_0x87c7f0=_0x2b4357[_0x5b0d3f(0x1b8)]-0x1){const _0xc3c6a=_0x5b0d3f,_0x525caa=Math[_0xc3c6a(0x1dd)](_0x533082+(_0x87c7f0-_0x533082)/0x2);if(_0x87c7f0>=_0x533082){const _0x1f0fc9=_0x2b4357[_0x525caa],_0x4d54a1=_0x2e92d2[_0xc3c6a(0x1a7)][_0xc3c6a(0x1d3)](_0x1f0fc9[_0xc3c6a(0x1b6)]);if(!_0x4d54a1)return null;const _0x42da9d=_0x2e92d2[_0xc3c6a(0x1b1)][_0xc3c6a(0x1af)][_0xc3c6a(0x1c3)](_0x4d54a1);return new _0x1e3ca5(_0x42da9d)[_0xc3c6a(0x1c9)]>_0x271f3d?_(_0x2e92d2,_0x2b4357,_0x271f3d,_0x533082,_0x525caa-0x1):_(_0x2e92d2,_0x2b4357,_0x271f3d,_0x525caa+0x1,_0x87c7f0);}return _0x525caa<0x0?null:_0x2b4357[_0x525caa];}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53e31d=_0x3ebb;(function(_0x10011c,_0x4cb798){const _0x488d27=_0x3ebb,_0x1abd84=_0x10011c();while(!![]){try{const _0x4df00e=-parseInt(_0x488d27(0xe3))/0x1*(-parseInt(_0x488d27(0xe7))/0x2)+parseInt(_0x488d27(0xbd))/0x3+-parseInt(_0x488d27(0xb9))/0x4+parseInt(_0x488d27(0xb7))/0x5*(-parseInt(_0x488d27(0xd3))/0x6)+parseInt(_0x488d27(0xc9))/0x7+parseInt(_0x488d27(0xc0))/0x8*(parseInt(_0x488d27(0xc5))/0x9)+-parseInt(_0x488d27(0xcc))/0xa;if(_0x4df00e===_0x4cb798)break;else _0x1abd84['push'](_0x1abd84['shift']());}catch(_0x543132){_0x1abd84['push'](_0x1abd84['shift']());}}}(_0x5dc5,0xca1ab));import{Plugin as _0x4fdae4}from'ckeditor5/src/core.js';import{debounce as _0x474cf9}from'lodash-es';import{TreeWalker as _0x185fcd}from'ckeditor5/src/engine.js';function _0x5dc5(){const _0x577daf=['toModel','documentOutline.headings','8SWvrQT','_deriveHeadingElementsFromConversion','getFirstPosition','get','252542apIsBh','backward','_getHeadingNames','getChildren','domConverter','model','level','145340flUMwp','document','2679872ZbHZzE','text','_headingNames','item','4281696peZtRH','init','selection','2453608xPuwfV','editor','element','_getActiveHeading','getRoot','9HkHGas','editing','createElement','getRootNames','7041363CVzVIG','isOfficialPlugin','_getOutlineDefinitions','21940870kDVNhB','afterInit','modelElement','push','getChild','findIndex','isPremiumPlugin','12ccToea','length','DocumentOutlineUtils','pluginName','includes','name','activeItemIndex','indexOf','data','config','change','domToView','view','fire'];_0x5dc5=function(){return _0x577daf;};return _0x5dc5();}import{getElementText as _0x582395,getDefaultFeatureHeadingNames as _0x194426}from'./utils.js';function _0x3ebb(_0x198239,_0x401e94){const _0x5dc553=_0x5dc5();return _0x3ebb=function(_0x3ebb36,_0x378e5d){_0x3ebb36=_0x3ebb36-0xb6;let _0x416fd2=_0x5dc553[_0x3ebb36];return _0x416fd2;},_0x3ebb(_0x198239,_0x401e94);}import{diff as _0x29e652,diffToChanges as _0x25689c}from'ckeditor5/src/utils.js';export default class i extends _0x4fdae4{constructor(){const _0x37c074=_0x3ebb;super(...arguments),this[_0x37c074(0xbb)]=[];}static get[_0x53e31d(0xd6)](){const _0x26c44f=_0x53e31d;return _0x26c44f(0xd5);}static get[_0x53e31d(0xca)](){return!0x0;}static get[_0x53e31d(0xd2)](){return!0x0;}[_0x53e31d(0xbe)](){const _0x32a33f=_0x53e31d,_0x1b0890=this[_0x32a33f(0xc1)];this[_0x32a33f(0xbb)]=this[_0x32a33f(0xe9)]();let _0x431cc0=[];_0x1b0890[_0x32a33f(0xec)][_0x32a33f(0xb8)]['on'](_0x32a33f(0xdd),_0x474cf9(()=>{const _0x28e65a=_0x32a33f,_0x166134=_0x431cc0;_0x431cc0=this[_0x28e65a(0xcb)]();const _0x15dc6c=_0x29e652(_0x166134,_0x431cc0,(_0x281b30,_0x30a0e5)=>_0x281b30[_0x28e65a(0xb6)]===_0x30a0e5[_0x28e65a(0xb6)]&&_0x281b30[_0x28e65a(0xba)]===_0x30a0e5[_0x28e65a(0xba)]&&_0x281b30[_0x28e65a(0xce)]===_0x30a0e5[_0x28e65a(0xce)]),_0x2341ba=_0x25689c(_0x15dc6c,_0x431cc0),_0x19ba9e=this[_0x28e65a(0xc3)](),_0x555c09=_0x431cc0[_0x28e65a(0xd1)](_0x530d23=>_0x530d23[_0x28e65a(0xce)]===_0x19ba9e);_0x2341ba[_0x28e65a(0xd4)]&&this[_0x28e65a(0xe0)](_0x28e65a(0xdd),{'outlineDefinitions':_0x431cc0,'activeItemIndex':_0x555c09,'outlineChanges':_0x2341ba}),this[_0x28e65a(0xe0)](_0x28e65a(0xd9),{'index':_0x555c09});},0xfa,{'leading':!0x0,'trailing':!0x0}));}[_0x53e31d(0xcd)](){const _0x166e10=_0x53e31d;this[_0x166e10(0xbb)][_0x166e10(0xd4)]||this[_0x166e10(0xe4)]();}[_0x53e31d(0xcb)](){const _0x3c6e1a=_0x53e31d,_0x12ae54=this[_0x3c6e1a(0xc1)],_0x46be8d=[],_0x1ab71c=this[_0x3c6e1a(0xbb)];for(const _0x335307 of _0x12ae54[_0x3c6e1a(0xec)][_0x3c6e1a(0xb8)][_0x3c6e1a(0xc8)]())_0x3980df(_0x12ae54[_0x3c6e1a(0xec)][_0x3c6e1a(0xb8)][_0x3c6e1a(0xc4)](_0x335307));function _0x3980df(_0x3c226a){const _0x2838d5=_0x3c6e1a;for(const _0x435ba6 of _0x3c226a[_0x2838d5(0xea)]())_0x435ba6['is'](_0x2838d5(0xc2))&&(_0x1ab71c[_0x2838d5(0xd7)](_0x435ba6[_0x2838d5(0xd8)])&&_0x46be8d[_0x2838d5(0xcf)]({'level':_0x1ab71c[_0x2838d5(0xda)](_0x435ba6[_0x2838d5(0xd8)])+0x1,'text':_0x582395(_0x435ba6),'modelElement':_0x435ba6}),_0x3980df(_0x435ba6));}return _0x46be8d;}[_0x53e31d(0xc3)](){const _0x22bb88=_0x53e31d,_0x1b9ad4=this[_0x22bb88(0xc1)][_0x22bb88(0xec)][_0x22bb88(0xb8)][_0x22bb88(0xbf)][_0x22bb88(0xe5)](),_0x19bbcc=new _0x185fcd({'direction':_0x22bb88(0xe8),'startPosition':_0x1b9ad4});for(const _0x542074 of _0x19bbcc)if(_0x542074[_0x22bb88(0xbc)]['is'](_0x22bb88(0xc2))&&this[_0x22bb88(0xbb)][_0x22bb88(0xd7)](_0x542074[_0x22bb88(0xbc)][_0x22bb88(0xd8)]))return _0x542074[_0x22bb88(0xbc)];}[_0x53e31d(0xe9)](){const _0x13ae35=_0x53e31d,_0x30689a=this[_0x13ae35(0xc1)][_0x13ae35(0xdc)][_0x13ae35(0xe6)](_0x13ae35(0xe2));return _0x30689a||_0x194426(this[_0x13ae35(0xc1)]);}[_0x53e31d(0xe4)](){const _0x17310f=_0x53e31d,_0xc85776=this[_0x17310f(0xc1)],_0x33c1fb=['h1','h2','h3','h4','h5','h6'],_0x2513dc=[];for(const _0x275004 of _0x33c1fb){const _0x5cdc86=_0xc85776[_0x17310f(0xc6)][_0x17310f(0xdf)][_0x17310f(0xeb)][_0x17310f(0xde)](document[_0x17310f(0xc7)](_0x275004)),_0x414622=_0xc85776[_0x17310f(0xdb)][_0x17310f(0xe1)](_0x5cdc86)[_0x17310f(0xd0)](0x0);(null==_0x414622?void 0x0:_0x414622['is'](_0x17310f(0xc2)))&&_0x2513dc[_0x17310f(0xcf)](_0x414622[_0x17310f(0xd8)]);}this[_0x17310f(0xbb)]=_0x2513dc;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5cbf(){const _0x38b705=['set','25708zvXaJu','34KJnemi','ck-document-outline__item_empty','bind','609014jevvYc','bindTemplate','text','setTemplate','click','ck-document-outline__item','656545HZczAd','8826OcrttU','isEmpty','851808hpOKkJ','ck-reset','div','535064rimASW','ck-document-outline__item_level-','462288yAclBR','ck-document-outline__item_active','level','isActive','Empty\x20heading'];_0x5cbf=function(){return _0x38b705;};return _0x5cbf();}function _0x34e4(_0x47ead9,_0x2535ae){const _0x5cbf3d=_0x5cbf();return _0x34e4=function(_0x34e487,_0x2f63b9){_0x34e487=_0x34e487-0x1ef;let _0x1a1eea=_0x5cbf3d[_0x34e487];return _0x1a1eea;},_0x34e4(_0x47ead9,_0x2535ae);}(function(_0x1ee98d,_0x45e1dd){const _0xddfd60=_0x34e4,_0x268bb7=_0x1ee98d();while(!![]){try{const _0x1d1d7e=parseInt(_0xddfd60(0x204))/0x1+parseInt(_0xddfd60(0x205))/0x2*(-parseInt(_0xddfd60(0x1f7))/0x3)+parseInt(_0xddfd60(0x1fe))/0x4+parseInt(_0xddfd60(0x1f6))/0x5+-parseInt(_0xddfd60(0x1f9))/0x6+parseInt(_0xddfd60(0x1f0))/0x7+-parseInt(_0xddfd60(0x1fc))/0x8;if(_0x1d1d7e===_0x45e1dd)break;else _0x268bb7['push'](_0x268bb7['shift']());}catch(_0x45ccac){_0x268bb7['push'](_0x268bb7['shift']());}}}(_0x5cbf,0x18976));import{View as _0x459e0f}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e7126}from'../../utils/common-translations.js';export default class $ extends _0x459e0f{constructor(_0x1bf286,_0x1c4a81=!0x1){const _0x14a1f3=_0x34e4;super(_0x1bf286);const _0x3e62c0=this[_0x14a1f3(0x1f1)],_0x4395a4=_0x1c4a81?'['+_0x2e7126(_0x1bf286,_0x14a1f3(0x202))+']':'';this[_0x14a1f3(0x203)](_0x14a1f3(0x1f2),''),this[_0x14a1f3(0x203)](_0x14a1f3(0x200),0x1),this[_0x14a1f3(0x203)](_0x14a1f3(0x201),!0x1),this[_0x14a1f3(0x1ef)](_0x14a1f3(0x1f8))['to'](this,_0x14a1f3(0x1f2),_0x4f424e=>!_0x4f424e),this[_0x14a1f3(0x1f3)]({'tag':_0x14a1f3(0x1fb),'attributes':{'class':['ck',_0x14a1f3(0x1fa),_0x14a1f3(0x1f5),_0x3e62c0['to'](_0x14a1f3(0x200),_0x2a5e9e=>_0x14a1f3(0x1fd)+_0x2a5e9e),_0x3e62c0['if'](_0x14a1f3(0x201),_0x14a1f3(0x1ff)),_0x3e62c0['if'](_0x14a1f3(0x1f8),_0x14a1f3(0x206))],'title':_0x3e62c0['to'](_0x14a1f3(0x1f2))},'children':[{'text':_0x3e62c0['to'](_0x14a1f3(0x1f2),_0x59b693=>_0x59b693||_0x4395a4)}],'on':{'click':_0x3e62c0['to'](_0x14a1f3(0x1f4))}});}}
|