@ckeditor/ckeditor5-document-outline 48.2.0-alpha.3 → 48.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x5a394e,Command as _0x3bab4a}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x54e343,throttle as _0x4fad3d}from'es-toolkit/compat';import{ModelText as _0x3823da,ModelTreeWalker as _0x103d85}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x311add,diffToChanges as _0x3becb2,scrollAncestorsToShowTarget as _0x31861d,CKEditorError as _0x3041e8,global as _0x5af891,Rect as _0x23a9f0,uid as _0x4b8053,priorities as _0x5b1d5a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x4f0fa5,ButtonView as _0x4b3af8,MenuBarMenuListItemButtonView as _0x25bcc9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x4535bc,toWidget as _0xf54338}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x5e17fa}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x5d1ef2){let _0xd7aab4='';for(const _0xfe165a of _0x5d1ef2['getChildren']())_0xfe165a instanceof _0x3823da&&(_0xd7aab4+=_0xfe165a['data']);return _0xd7aab4;}class DocumentOutlineUtils extends _0x5a394e{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4b5168=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x3e7acf=[];_0x4b5168['model']['document']['on']('change',_0x54e343(()=>{const _0x1af938=_0x3e7acf;_0x3e7acf=this['_getOutlineDefinitions']();const _0x321dfe=_0x311add(_0x1af938,_0x3e7acf,(_0x539da3,_0x35c66c)=>_0x539da3['level']===_0x35c66c['level']&&_0x539da3['text']===_0x35c66c['text']&&_0x539da3['modelElement']===_0x35c66c['modelElement']),_0x53d829=_0x3becb2(_0x321dfe,_0x3e7acf),_0x394bca=this['_getActiveHeading'](),_0x48347e=_0x3e7acf['findIndex'](_0xc2ed7f=>_0xc2ed7f['modelElement']===_0x394bca);_0x53d829['length']&&this['fire']('change',{'outlineDefinitions':_0x3e7acf,'activeItemIndex':_0x48347e,'outlineChanges':_0x53d829}),this['fire']('activeItemIndex',{'index':_0x48347e});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x2bc85a=this['editor'],_0x4ab657=[],_0x3ca7f9=this['_headingNames'];for(const _0x1feefb of _0x2bc85a['model']['document']['getRootNames']())_0x330a8e(_0x2bc85a['model']['document']['getRoot'](_0x1feefb));function _0x330a8e(_0x6d4e32){for(const _0x23f6e9 of _0x6d4e32['getChildren']())_0x23f6e9['is']('element')&&(_0x3ca7f9['includes'](_0x23f6e9['name'])&&_0x4ab657['push']({'level':_0x3ca7f9['indexOf'](_0x23f6e9['name'])+0x1,'text':I(_0x23f6e9),'modelElement':_0x23f6e9}),_0x330a8e(_0x23f6e9));}return _0x4ab657;}['_getActiveHeading'](){const _0x58a93f=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x8fe613=new _0x103d85({'direction':'backward','startPosition':_0x58a93f});for(const _0x321d00 of _0x8fe613)if(_0x321d00['item']['is']('element')&&this['_headingNames']['includes'](_0x321d00['item']['name']))return _0x321d00['item'];}['_getHeadingNames'](){const _0x451544=this['editor']['config']['get']('documentOutline.headings');return _0x451544||function(_0x276080){const _0x38cd63=_0x276080['config']['get']('heading.options');return _0x38cd63?_0x38cd63['reduce']((_0x556824,_0x83f0c2)=>('paragraph'!==_0x83f0c2['model']&&_0x556824['push'](_0x83f0c2['model']),_0x556824),[]):_0x276080['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x3a9fb9=this['editor'],_0x2351e5=['h1','h2','h3','h4','h5','h6'],_0x2737d5=[];for(const _0x416d1c of _0x2351e5){const _0x4fe962=_0x3a9fb9['editing']['view']['domConverter']['domToView'](document['createElement'](_0x416d1c)),_0x22224c=_0x3a9fb9['data']['toModel'](_0x4fe962)['getChild'](0x0);_0x22224c?.['is']('element')&&_0x2737d5['push'](_0x22224c['name']);}this['_headingNames']=_0x2737d5;}}function C(_0xffb0f9,_0xd1a0e2){const t=_0xffb0f9['t'];switch(_0xd1a0e2){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 _0xd1a0e2;}}class DocumentOutlineItemView extends _0x4f0fa5{constructor(_0x1fe86c,_0xfe5b9d=!0x1){super(_0x1fe86c);const _0x12cad7=this['bindTemplate'],_0xe754e0=_0xfe5b9d?'['+C(_0x1fe86c,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x43b093=>!_0x43b093),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x12cad7['to']('level',_0x17869b=>'ck-document-outline__item_level-'+_0x17869b),_0x12cad7['if']('isActive','ck-document-outline__item_active'),_0x12cad7['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x12cad7['to']('text')},'children':[{'text':_0x12cad7['to']('text',_0x385648=>_0x385648||_0xe754e0)}],'on':{'click':_0x12cad7['to']('click')}});}}class DocumentOutlineView extends _0x4f0fa5{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x291f2d,_0x25040d=!0x1,_0x43367d){super(_0x291f2d),this['showEmptyHeadingText']=_0x25040d,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x43367d,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x33d720,_0x56ac18,_0x5e206c,_0x5241ac)=>{this['_setActiveItem'](_0x5241ac,_0x5e206c);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x291f2d['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0x291f2d,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x2816fd){_0x2816fd['forEach'](_0x458b62=>{'insert'==_0x458b62['type']?this['_insertItem'](_0x458b62['index'],..._0x458b62['values']):'delete'==_0x458b62['type']&&this['_deleteItem'](_0x458b62['index'],_0x458b62['howMany']);});}['_setActiveItem'](_0x4c581d,_0x4d8ad4){if(-0x1!==_0x4c581d){const _0x3615f2=this['items']['get'](_0x4c581d);_0x3615f2&&(_0x3615f2['isActive']=!0x1);}-0x1!==_0x4d8ad4&&(this['items']['get'](_0x4d8ad4)['isActive']=!0x0,this['_scrollToItem'](_0x4d8ad4));}['_insertItem'](_0x19f8d0,..._0x55b67e){const _0x16c9b2=_0x55b67e['map']((_0x2cd217,_0x2f36a5)=>{const _0x56a1d6=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x56a1d6['text']=_0x2cd217['text'],_0x56a1d6['level']=_0x2cd217['level'],_0x19f8d0+_0x2f36a5===this['activeItemIndex']&&(_0x56a1d6['isActive']=!0x0),_0x56a1d6;});this['items']['addMany'](_0x16c9b2,_0x19f8d0);}['_deleteItem'](_0x2801d0,_0x1288a8){do{this['items']['remove'](_0x2801d0);}while(--_0x1288a8);}['_handleItemClick'](_0x10f807){const _0x177078=this['items']['getIndex'](_0x10f807['source']);this['fire']('itemSelected',_0x177078);}['_scrollToItem'](_0x163657){_0x31861d(this['items']['get'](_0x163657)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x5a394e{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x29b2ef){super(_0x29b2ef),this['view']=new DocumentOutlineView(_0x29b2ef['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x4fad3d(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x5a96ed=this['editor'],_0x523cf5=_0x5a96ed['plugins']['get']('DocumentOutlineUtils');let _0x5d5c7b=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x5a96ed['config']['get']('documentOutline.container'))throw new _0x3041e8('document-outline-container-not-provided',{'editor':_0x5a96ed});_0x5a96ed['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x523cf5['on']('change',this['_handleOutlineChange']['bind'](this)),_0x523cf5['on']('activeItemIndex',(_0x214397,{index:_0x466ad1})=>this['_setActiveViewItem'](_0x466ad1)),this['view']['on']('itemSelected',(_0xec6c39,_0x33f7dc)=>{_0x5d5c7b=!0x0,this['_handleItemSelected'](_0x33f7dc);}),this['view']['listenTo'](_0x5af891['document'],'scroll',()=>{_0x5d5c7b?_0x5d5c7b=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x5af891['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x20d2ee){const _0x46bc31=_0xc2d39d([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x265524=0x1cb264a3,_0x1c032a=0x1cb5ef2b^_0x265524,_0x1bc9c9=window[_0xc2d39d([0x44,0x61,0x74,0x65])][_0xc2d39d([0x6e,0x6f,0x77])](),_0x4d3f57=_0x20d2ee[_0xc2d39d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b8386=new window[(_0xc2d39d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x589842=>{_0x4d3f57[_0xc2d39d([0x6f,0x6e,0x63,0x65])](_0xc2d39d([0x72,0x65,0x61,0x64,0x79]),_0x589842);}),_0x341c75={[_0xc2d39d([0x6b,0x74,0x79])]:_0xc2d39d([0x45,0x43]),[_0xc2d39d([0x75,0x73,0x65])]:_0xc2d39d([0x73,0x69,0x67]),[_0xc2d39d([0x63,0x72,0x76])]:_0xc2d39d([0x50,0x2d,0x32,0x35,0x36]),[_0xc2d39d([0x78])]:_0xc2d39d([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]),[_0xc2d39d([0x79])]:_0xc2d39d([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]),[_0xc2d39d([0x61,0x6c,0x67])]:_0xc2d39d([0x45,0x53,0x32,0x35,0x36])},_0x4ecc28=_0x4d3f57[_0xc2d39d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xc2d39d([0x67,0x65,0x74])](_0xc2d39d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1ab81f(){let _0x60463e,_0x559ba4=null,_0x5dfe90=null;try{if(_0x4ecc28==_0xc2d39d([0x47,0x50,0x4c]))return _0xc2d39d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x60463e=_0x3600dd(),!_0x60463e)return _0xc2d39d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x60463e[_0xc2d39d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dfe90=_0x10c8c3(_0x60463e[_0xc2d39d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x60463e[_0xc2d39d([0x6a,0x74,0x69])])),await _0x20ee0f()?_0x40e475()?_0x5f530b()?_0xc2d39d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x682b82()?(_0x60463e[_0xc2d39d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xc2d39d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x559ba4=_0x46a3f6(_0xc2d39d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3efb67()):_0xc2d39d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xc2d39d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xc2d39d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xc2d39d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f530b(){const _0x12c202=[_0xc2d39d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xc2d39d([0x74,0x72,0x69,0x61,0x6c])][_0xc2d39d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x60463e[_0xc2d39d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1bc9c9/0x3e8:0xe10*_0x1c032a;return _0x60463e[_0xc2d39d([0x65,0x78,0x70])]<_0x12c202;}function _0x40e475(){const _0xbf3b6f=_0x60463e[_0xc2d39d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xbf3b6f&&(!!_0xbf3b6f[_0xc2d39d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc2d39d([0x2a]))||(!!_0xbf3b6f[_0xc2d39d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc2d39d([0x44,0x4f]))||(!!_0xbf3b6f[_0xc2d39d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc2d39d([0x50,0x50]))||!(!_0xbf3b6f[_0xc2d39d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc2d39d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3bdf76()))));}function _0x682b82(){const _0x423716=_0x60463e[_0xc2d39d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x423716||0x0==_0x423716[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58b9a1}=new URL(window[_0xc2d39d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x423716[_0xc2d39d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58b9a1))return!0x0;const _0x5daee1=_0x58b9a1[_0xc2d39d([0x73,0x70,0x6c,0x69,0x74])](_0xc2d39d([0x2e]));return _0x423716[_0xc2d39d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b659c=>_0x4b659c[_0xc2d39d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc2d39d([0x2a])))[_0xc2d39d([0x6d,0x61,0x70])](_0x4149d9=>_0x4149d9[_0xc2d39d([0x73,0x70,0x6c,0x69,0x74])](_0xc2d39d([0x2e])))[_0xc2d39d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13466e=>_0x13466e[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5daee1[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc2d39d([0x6d,0x61,0x70])](_0x4efca3=>Array(_0x5daee1[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4efca3[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xc2d39d([0x66,0x69,0x6c,0x6c])](_0x4efca3[0x0]===_0xc2d39d([0x2a])?_0xc2d39d([0x2a]):'')[_0xc2d39d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4efca3))[_0xc2d39d([0x73,0x6f,0x6d,0x65])](_0x1883c1=>_0x5daee1[_0xc2d39d([0x65,0x76,0x65,0x72,0x79])]((_0x50e97d,_0x1da1c7)=>_0x1883c1[_0x1da1c7]===_0x50e97d||_0x1883c1[_0x1da1c7]===_0xc2d39d([0x2a])));}function _0x3efb67(){return _0x559ba4&&_0x5dfe90?new window[(_0xc2d39d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x13222e,_0x273f56)=>{_0x559ba4[_0xc2d39d([0x74,0x68,0x65,0x6e])](_0x13222e,_0x273f56),_0x5dfe90[_0xc2d39d([0x74,0x68,0x65,0x6e])](_0x1dcf95=>{_0x1dcf95!=_0xc2d39d([0x56,0x61,0x6c,0x69,0x64])&&_0x13222e(_0x1dcf95);},_0x273f56);}):_0x559ba4||_0x5dfe90||_0xc2d39d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x10c8c3(_0x4a0dbc,_0x385553){return new window[(_0xc2d39d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ccd78=>{if(_0x1dd010())return _0x5ccd78(_0xc2d39d([0x56,0x61,0x6c,0x69,0x64]));_0x1e8a40(),_0x4d3f57[_0xc2d39d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xc2d39d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x218c75=!0x1;const _0x405cd6=_0x4b8053();function _0x1c4b87(_0x4a2986){return!!_0x4a2986&&(typeof _0x4a2986===_0xc2d39d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a2986===_0xc2d39d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a2986[_0xc2d39d([0x74,0x68,0x65,0x6e])]===_0xc2d39d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a2986[_0xc2d39d([0x63,0x61,0x74,0x63,0x68])]===_0xc2d39d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x562f62(_0x3bd16d){_0x3eb0f2(_0x3bd16d)[_0xc2d39d([0x74,0x68,0x65,0x6e])](_0x2e524c=>{if(!_0x2e524c||_0x2e524c[_0xc2d39d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xc2d39d([0x6f,0x6b]))return _0xc2d39d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38eba7(_0xb3b41f(_0x405cd6+_0x385553))!=_0x2e524c[_0xc2d39d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xc2d39d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xc2d39d([0x56,0x61,0x6c,0x69,0x64]);})[_0xc2d39d([0x74,0x68,0x65,0x6e])](_0x5dcb99=>(_0xe9d282(),_0x5dcb99),()=>{const _0x325fb5=_0x5f2453();return null==_0x325fb5?(_0xe9d282(),_0xc2d39d([0x56,0x61,0x6c,0x69,0x64])):_0xc2d39d(_0x1bc9c9-_0x325fb5>(0x38bee0a3^_0x265524)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xc2d39d([0x74,0x68,0x65,0x6e])](_0x5ccd78)[_0xc2d39d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ccd78(_0xc2d39d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4351fd=0x1c848a23^_0x265524;function _0xe9d282(){const _0x9ca7a9=_0xc2d39d([0x6c,0x6c,0x63,0x74,0x2d])+_0x38eba7(_0xb3b41f(_0x4a0dbc)),_0x521e7e=_0x2255b5(_0x38eba7(window[_0xc2d39d([0x4d,0x61,0x74,0x68])][_0xc2d39d([0x63,0x65,0x69,0x6c])](_0x1bc9c9/_0x4351fd)));window[_0xc2d39d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc2d39d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9ca7a9,_0x521e7e);}function _0x5f2453(){const _0x5b97dc=_0xc2d39d([0x6c,0x6c,0x63,0x74,0x2d])+_0x38eba7(_0xb3b41f(_0x4a0dbc)),_0x3318aa=window[_0xc2d39d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xc2d39d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b97dc);return _0x3318aa?window[_0xc2d39d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2255b5(_0x3318aa),0x10)*_0x4351fd:null;}function _0x3eb0f2(_0x2f4d67){return new window[(_0xc2d39d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3411d0,_0x42352c)=>{_0x2f4d67[_0xc2d39d([0x74,0x68,0x65,0x6e])](_0x3411d0,_0x42352c),window[_0xc2d39d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42352c,0x1cb3b063^_0x265524);});}}_0x4d3f57[_0xc2d39d([0x6f,0x6e])](_0xc2d39d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1547e6,_0x128253)=>{if(_0x128253[0x0]!=_0x4a0dbc)return _0x5ccd78(_0xc2d39d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x128253[0x1]={..._0x128253[0x1],[_0xc2d39d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x405cd6};},{[_0xc2d39d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc2d39d([0x68,0x69,0x67,0x68])}),_0x4d3f57[_0xc2d39d([0x6f,0x6e])](_0xc2d39d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x49c52f=>{_0x1c4b87(_0x49c52f[_0xc2d39d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x218c75=!0x0,_0x562f62(_0x49c52f[_0xc2d39d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xc2d39d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xc2d39d([0x6c,0x6f,0x77])}),_0x2b8386[_0xc2d39d([0x74,0x68,0x65,0x6e])](()=>{_0x218c75||_0x5ccd78(_0xc2d39d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1dd010(){return _0x4d3f57[_0xc2d39d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc2d39d([0x76,0x69,0x65,0x77])][_0xc2d39d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xc2d39d([0x61,0x75,0x74,0x6f]);}function _0x1e8a40(){_0x4d3f57[_0xc2d39d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xc2d39d([0x76,0x69,0x65,0x77])][_0xc2d39d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xc2d39d([0x61,0x75,0x74,0x6f]);}}function _0x46a3f6(_0x374056){const _0x4f733b=[new window[(_0xc2d39d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d9158=>setTimeout(_0x3d9158,0x1cbb5a6f^_0x265524)),_0x2b8386[_0xc2d39d([0x74,0x68,0x65,0x6e])](()=>new window[(_0xc2d39d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c3426=>{let _0x21ec30=0x0;_0x4d3f57[_0xc2d39d([0x6d,0x6f,0x64,0x65,0x6c])][_0xc2d39d([0x6f,0x6e])](_0xc2d39d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x582106,_0x6b0062)=>{_0x6b0062[0x0][_0xc2d39d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x21ec30++,_0x21ec30==(0x1cb2614b^_0x265524)&&(_0x3c3426(),_0x582106[_0xc2d39d([0x6f,0x66,0x66])]());});}))];return window[_0xc2d39d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xc2d39d([0x72,0x61,0x63,0x65])](_0x4f733b)[_0xc2d39d([0x74,0x68,0x65,0x6e])](()=>_0x374056);}async function _0x4e5b87(){await _0x2b8386,_0x4d3f57[_0xc2d39d([0x6d,0x6f,0x64,0x65,0x6c])][_0xc2d39d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bba5c,_0x4d3f57[_0xc2d39d([0x6d,0x6f,0x64,0x65,0x6c])][_0xc2d39d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bba5c,_0x4d3f57[_0xc2d39d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xc2d39d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3bdf76(){return window[_0xc2d39d([0x67,0x6c,0x6f,0x62])]&&window[_0xc2d39d([0x67,0x6c,0x6f,0x62])][_0xc2d39d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2364d5(_0x3c332b){const _0x7201b7=_0x42f839();_0x4d3f57[_0x7201b7]=_0xc2d39d([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])+_0x3c332b,_0x3c332b!=_0xc2d39d([0x56,0x61,0x6c,0x69,0x64])&&_0x4e5b87();}function _0x42f839(){const _0xd6deeb=window[_0xc2d39d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xc2d39d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xc2d39d([0x6e,0x6f,0x77])]())[_0xc2d39d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xc2d39d([0x2e]),'');let _0x5d584=_0xc2d39d([0x61]);for(let _0x8e1b44=0x0;_0x8e1b44<_0xd6deeb[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8e1b44+=0x2){let _0x97a7a6=window[_0xc2d39d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd6deeb[_0xc2d39d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x8e1b44,_0x8e1b44+0x2));_0x97a7a6>=_0x46bc31[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x97a7a6-=_0x46bc31[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d584+=_0x46bc31[_0x97a7a6];}return _0x5d584;}function _0x3600dd(){const _0x475f0f=_0x4ecc28[_0xc2d39d([0x73,0x70,0x6c,0x69,0x74])](_0xc2d39d([0x2e]));if(0x3!=_0x475f0f[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c8792(_0x475f0f[0x1]);function _0x3c8792(_0x50ba23){const _0x2cf70e=_0x2c2a99(_0x50ba23);return _0x2cf70e&&_0x2502be()?_0x2cf70e:null;function _0x2502be(){const _0x2e27dd=_0x2cf70e[_0xc2d39d([0x6a,0x74,0x69])],_0x18ae4e=window[_0xc2d39d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e27dd[_0xc2d39d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e27dd[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58f620={..._0x2cf70e,[_0xc2d39d([0x6a,0x74,0x69])]:_0x2e27dd[_0xc2d39d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e27dd[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58f620[_0xc2d39d([0x76,0x63])],_0xb3b41f(_0x58f620)==_0x18ae4e;}}}async function _0x20ee0f(){let _0x31d9e5=!0x0;try{const _0x3c9af0=_0x4ecc28[_0xc2d39d([0x73,0x70,0x6c,0x69,0x74])](_0xc2d39d([0x2e])),[_0x434958,_0x9d6dfe,_0x385477]=_0x3c9af0;return _0x16406e(_0x434958),await _0x40f7f5(_0x434958,_0x9d6dfe,_0x385477),_0x31d9e5;}catch{return!0x1;}function _0x16406e(_0x227b69){const _0x44b470=_0x2c2a99(_0x227b69);_0x44b470&&_0x44b470[_0xc2d39d([0x61,0x6c,0x67])]==_0xc2d39d([0x45,0x53,0x32,0x35,0x36])||(_0x31d9e5=!0x1);}async function _0x40f7f5(_0x1d5678,_0x2e57c8,_0x2df102){const _0x224b56=window[_0xc2d39d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xc2d39d([0x66,0x72,0x6f,0x6d])](_0x58d1a8(_0x2df102),_0x3061ee=>_0x3061ee[_0xc2d39d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3a886a=new window[(_0xc2d39d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xc2d39d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d5678+_0xc2d39d([0x2e])+_0x2e57c8),_0x52b126=window[_0xc2d39d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xc2d39d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52b126)return;const _0x33d8a9=await _0x52b126[_0xc2d39d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xc2d39d([0x6a,0x77,0x6b]),_0x341c75,{[_0xc2d39d([0x6e,0x61,0x6d,0x65])]:_0xc2d39d([0x45,0x43,0x44,0x53,0x41]),[_0xc2d39d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xc2d39d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xc2d39d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52b126[_0xc2d39d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xc2d39d([0x6e,0x61,0x6d,0x65])]:_0xc2d39d([0x45,0x43,0x44,0x53,0x41]),[_0xc2d39d([0x68,0x61,0x73,0x68])]:{[_0xc2d39d([0x6e,0x61,0x6d,0x65])]:_0xc2d39d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x33d8a9,_0x224b56,_0x3a886a)||(_0x31d9e5=!0x1);}}function _0x2c2a99(_0x1b4066){return _0x1b4066[_0xc2d39d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xc2d39d([0x65,0x79]))?JSON[_0xc2d39d([0x70,0x61,0x72,0x73,0x65])](_0x58d1a8(_0x1b4066)):null;}function _0x58d1a8(_0x5ee756){return window[_0xc2d39d([0x61,0x74,0x6f,0x62])](_0x5ee756[_0xc2d39d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xc2d39d([0x2b]))[_0xc2d39d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xc2d39d([0x2f])));}function _0xb3b41f(_0x3580a6){let _0x148842=0x1505;function _0xa687c3(_0x57c88b){for(let _0x2502c7=0x0;_0x2502c7<_0x57c88b[_0xc2d39d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2502c7++){const _0x5ab1ee=_0x57c88b[_0xc2d39d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2502c7);_0x148842=(_0x148842<<0x5)+_0x148842+_0x5ab1ee,_0x148842&=_0x148842;}}function _0x3664bf(_0x4e544d){Array[_0xc2d39d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e544d)?_0x4e544d[_0xc2d39d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3664bf):_0x4e544d&&typeof _0x4e544d==_0xc2d39d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xc2d39d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e544d)[_0xc2d39d([0x73,0x6f,0x72,0x74])]()[_0xc2d39d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x180e22,_0x51daa1])=>{_0xa687c3(_0x180e22),_0x3664bf(_0x51daa1);}):_0xa687c3(window[_0xc2d39d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e544d));}return _0x3664bf(_0x3580a6),_0x148842>>>0x0;}function _0x38eba7(_0x41f390){return _0x41f390[_0xc2d39d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xc2d39d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xc2d39d([0x30]));}function _0x2255b5(_0xa2cc3e){return _0xa2cc3e[_0xc2d39d([0x73,0x70,0x6c,0x69,0x74])]('')[_0xc2d39d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xc2d39d([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bba5c(){}function _0xc2d39d(_0x32994e){return _0x32994e['map'](_0x4cea60=>String['fromCharCode'](_0x4cea60))['join']('');}_0x2364d5(await _0x1ab81f());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x38d862,{outlineDefinitions:_0x5eaf30,outlineChanges:_0x2ef43a}){this['_currentOutlineDefinitions']=_0x5eaf30,this['view']['sync'](_0x2ef43a);}['_setActiveViewItem'](_0x3b850b){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x3b850b]&&(this['view']['activeItemIndex']=_0x3b850b);}['_handleItemSelected'](_0x804789){const _0x21f8df=this['_currentOutlineDefinitions'][_0x804789]['modelElement'];this['editor']['model']['change'](_0x4484e2=>{_0x4484e2['setSelection'](_0x21f8df,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x804789);}['_updateActiveDefinitionOnViewportChange'](){const _0x48f136=this['editor'];let _0x5e9a0f;for(const _0x49f6d0 of _0x48f136['model']['document']['getRootNames']()){const _0x1e395a=_0x48f136['editing']['view']['getDomRoot'](_0x49f6d0),_0x4ed9f5=_0x1e395a&&new _0x23a9f0(_0x1e395a)['getVisible']();if(_0x4ed9f5){const _0x32cee6=new _0x23a9f0(_0x5af891['window'])['getIntersection'](_0x4ed9f5);_0x32cee6&&(_0x5e9a0f=_0x32cee6['top']+0.25*_0x32cee6['height']);}}if(void 0x0===_0x5e9a0f)return;const _0x2cd10a=v(_0x48f136['editing'],this['_currentOutlineDefinitions'],_0x5e9a0f);_0x2cd10a?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x2cd10a)):this['_setActiveViewItem'](-0x1);}}function v(_0x566671,_0x2c1c22,_0x59db16,_0x1f0a0e=0x0,_0x2c3efc=_0x2c1c22['length']-0x1){const _0x32f32d=Math['floor'](_0x1f0a0e+(_0x2c3efc-_0x1f0a0e)/0x2);if(_0x2c3efc>=_0x1f0a0e){const _0x3cffd0=_0x2c1c22[_0x32f32d],_0x41d005=_0x566671['mapper']['toViewElement'](_0x3cffd0['modelElement']);if(!_0x41d005)return null;const _0x536199=_0x566671['view']['domConverter']['mapViewToDom'](_0x41d005);return new _0x23a9f0(_0x536199)['bottom']>_0x59db16?v(_0x566671,_0x2c1c22,_0x59db16,_0x1f0a0e,_0x32f32d-0x1):v(_0x566671,_0x2c1c22,_0x59db16,_0x32f32d+0x1,_0x2c3efc);}return _0x32f32d<0x0?null:_0x2c1c22[_0x32f32d];}class DocumentOutline extends _0x5a394e{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2ae565=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2aa1ae;for(const _0x23aff2 in _0x2ae565){const _0x13a4c0=_0x23aff2,_0x3f614f=_0x2ae565[_0x13a4c0];if('documentOutlineLicenseKeyValid'==_0x3f614f||'documentOutlineLicenseKeyInvalid'==_0x3f614f||'documentOutlineLicenseKeyExpired'==_0x3f614f||'documentOutlineLicenseKeyDomainLimit'==_0x3f614f||'documentOutlineLicenseKeyNotAllowed'==_0x3f614f||'documentOutlineLicenseKeyEvaluationLimit'==_0x3f614f||'documentOutlineLicenseKeyUsageLimit'==_0x3f614f){delete _0x2ae565[_0x13a4c0],_0x2aa1ae=_0x3f614f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2aa1ae&&_0x2ae565['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2aa1ae&&_0x2ae565['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2aa1ae&&_0x2ae565['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2aa1ae&&_0x2ae565['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2aa1ae&&_0x2ae565['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2aa1ae&&_0x2ae565['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x3bab4a{['execute'](){this['editor']['model']['change'](_0x47dd72=>{this['editor']['model']['insertObject'](_0x47dd72['createElement']('tableOfContents'));});}['refresh'](){const _0x497934=this['editor']['model'],_0x14bf9d=_0x497934['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x14bf9d&&_0x497934['schema']['findAllowedParent'](_0x14bf9d,'tableOfContents'));}}class HeadingId extends _0x5a394e{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x6d9053=this['editor'];if(_0x6d9053['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x5d20e1,modelNames:_0x1ee168}=function(_0x469e16){const _0x1675ff=new Set(),_0x5ddb4d=new Set();if(!_0x469e16)return{'viewNames':_0x1675ff,'modelNames':_0x5ddb4d};for(const _0x58888b of _0x469e16){if('paragraph'===_0x58888b['model'])continue;const _0x313551='string'==typeof _0x58888b['view']?_0x58888b['view']:_0x58888b['view']['name'];_0x1675ff['add'](_0x313551),_0x5ddb4d['add'](_0x58888b['model']);}return _0x1675ff['has']('h1')||(_0x1675ff['add']('h1'),_0x5ddb4d['add']('heading1')),{'viewNames':_0x1675ff,'modelNames':_0x5ddb4d};}(this['editor']['config']['get']('heading.options'));for(const _0x41b61e of _0x5d20e1)this['_customUpcastHeadingsConversion'](_0x41b61e);for(const _0x4ecc29 of _0x1ee168)this['_customDataDowncastHeadingsConversion'](_0x4ecc29),_0x6d9053['model']['schema']['isRegistered'](_0x4ecc29)&&_0x6d9053['model']['schema']['extend'](_0x4ecc29,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x1ee168);}['_customUpcastHeadingsConversion'](_0x5503a7){this['editor']['conversion']['for']('upcast')['add'](_0x102e9d=>_0x102e9d['on']('element:'+_0x5503a7,(_0x438c0d,_0x2164fa,_0x4f20d4)=>{const {consumable:_0x77944e,writer:_0x270573}=_0x4f20d4,_0x385864=_0x2164fa['viewItem']['getAttribute']('id'),_0x492ce6=_0x2164fa['modelRange']['getContainedElement']();if(_0x492ce6)return _0x385864&&_0x385864['length']||_0x492ce6['hasAttribute']('headingId')?void(_0x77944e['consume'](_0x2164fa['viewItem'],{'attributes':['id']})&&_0x270573['setAttribute']('headingId',_0x385864,_0x492ce6)):(_0x77944e['consume'](_0x2164fa['viewItem'],{'attributes':['id']}),void _0x270573['setAttribute']('headingId',_0x4b8053(),_0x492ce6));},{'priority':_0x5b1d5a['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x46da5f){this['editor']['conversion']['for']('downcast')['add'](_0x19b1a4=>_0x19b1a4['on']('attribute:headingId:'+_0x46da5f,(_0x4ce64b,_0x4d6f37,_0x48deea)=>{if(!_0x48deea['consumable']['consume'](_0x4d6f37['item'],_0x4ce64b['name']))return;const _0x5287b6=_0x4d6f37['item']['getAttribute']('headingId'),_0x56cc89=_0x48deea['mapper']['toViewElement'](_0x4d6f37['item']);_0x48deea['writer']['setAttribute']('id',_0x5287b6,_0x56cc89);}));}['_registerHeadingIdAttributePostfixer'](_0x236464){const _0x3ae663=this['editor'],_0x256145=new Set(),_0x148761=new Set();function _0x22a263(_0x3bee6e,_0x3e19f4){const _0xd7874b=_0x4b8053();return _0x148761['add'](_0xd7874b),_0x3bee6e['setAttribute']('headingId',_0xd7874b,_0x3e19f4),_0xd7874b;}function _0x4266ed(_0x6258e7,_0x3b3b0b){_0x6258e7['removeAttribute']('headingId',_0x3b3b0b);}_0x3ae663['model']['document']['registerPostFixer'](_0x1e5db3=>{const _0x10f3e4=_0x3ae663['model']['document']['differ']['getChanges']();let _0x1e5a4f=!0x1;for(const _0x54fa8c of _0x10f3e4)if('insert'==_0x54fa8c['type']&&_0x54fa8c['name']){if(_0x236464['has'](_0x54fa8c['name'])){const _0x26c1d7=_0x54fa8c['attributes']['get']('headingId');'string'==typeof _0x26c1d7?_0x256145['has'](_0x26c1d7)?(_0x22a263(_0x1e5db3,_0x54fa8c['position']['nodeAfter']),_0x1e5a4f=!0x0):_0x148761['add'](_0x26c1d7):(_0x22a263(_0x1e5db3,_0x54fa8c['position']['nodeAfter']),_0x1e5a4f=!0x0);}else'string'==typeof _0x54fa8c['attributes']['get']('headingId')&&(_0x4266ed(_0x1e5db3,_0x54fa8c['position']['nodeAfter']),_0x1e5a4f=!0x0);}else{if('remove'==_0x54fa8c['type']){const _0x508386=_0x54fa8c['attributes']['get']('headingId');'string'==typeof _0x508386&&_0x256145['delete'](_0x508386);}}return _0x1e5a4f;}),_0x3ae663['model']['document']['on']('change',()=>{_0x148761['forEach'](_0x1d38eb=>_0x256145['add'](_0x1d38eb)),_0x148761['clear']();});}}class TableOfContentsEditing extends _0x5a394e{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4535bc,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5c2a71){super(_0x5c2a71),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x1f1809=this['editor'],_0x7cb8fb=_0x1f1809['editing']['view']['document'];_0x1f1809['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x1f1809['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x7cb8fb,'click',(_0x5bc91e,_0x182fb5)=>{if(!_0x182fb5['target'])return;const _0x51692c=_0x182fb5['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x51692c)&&(_0x182fb5['domEvent']['preventDefault'](),_0x5bc91e['stop'](),this['_handleScrollToHeading'](_0x51692c));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x1f1809['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x1f1809));const _0x376ca0=_0x1f1809['config']['get']('tableOfContents.headings');if(_0x376ca0&&_0x376ca0['length'])this['listenTo'](_0x1f1809['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x376ca0),this['_updateTableOfContentsElements']();});else _0x1f1809['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2674bf,_0x4f157f)=>{this['_currentOutlineDefinitions']=_0x4f157f['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x1f1809['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x1d6fb8){const _0x42e000=_0x593e38([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x392cfd=0x6b9b05fd,_0x4306cb=0x6b9c8e75^_0x392cfd,_0x399d58=window[_0x593e38([0x44,0x61,0x74,0x65])][_0x593e38([0x6e,0x6f,0x77])](),_0xf6efd7=_0x1d6fb8[_0x593e38([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e8923=new window[(_0x593e38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x523b13=>{_0xf6efd7[_0x593e38([0x6f,0x6e,0x63,0x65])](_0x593e38([0x72,0x65,0x61,0x64,0x79]),_0x523b13);}),_0x5361d1={[_0x593e38([0x6b,0x74,0x79])]:_0x593e38([0x45,0x43]),[_0x593e38([0x75,0x73,0x65])]:_0x593e38([0x73,0x69,0x67]),[_0x593e38([0x63,0x72,0x76])]:_0x593e38([0x50,0x2d,0x32,0x35,0x36]),[_0x593e38([0x78])]:_0x593e38([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]),[_0x593e38([0x79])]:_0x593e38([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]),[_0x593e38([0x61,0x6c,0x67])]:_0x593e38([0x45,0x53,0x32,0x35,0x36])},_0x1c5716=_0xf6efd7[_0x593e38([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x593e38([0x67,0x65,0x74])](_0x593e38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fbe4e(){let _0xbff74e,_0x4827fe=null,_0x478e82=null;try{if(_0x1c5716==_0x593e38([0x47,0x50,0x4c]))return _0x593e38([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbff74e=_0x54dae0(),!_0xbff74e)return _0x593e38([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbff74e[_0x593e38([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x478e82=_0x32de37(_0xbff74e[_0x593e38([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbff74e[_0x593e38([0x6a,0x74,0x69])])),await _0x4daf52()?_0xf567e2()?_0x39af7d()?_0x593e38([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d787f()?(_0xbff74e[_0x593e38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x593e38([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4827fe=_0x4da606(_0x593e38([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x398d62()):_0x593e38([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x593e38([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x593e38([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x593e38([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39af7d(){const _0x1ff0e2=[_0x593e38([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x593e38([0x74,0x72,0x69,0x61,0x6c])][_0x593e38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbff74e[_0x593e38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x399d58/0x3e8:0xe10*_0x4306cb;return _0xbff74e[_0x593e38([0x65,0x78,0x70])]<_0x1ff0e2;}function _0xf567e2(){const _0x4686ba=_0xbff74e[_0x593e38([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4686ba&&(!!_0x4686ba[_0x593e38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x593e38([0x2a]))||(!!_0x4686ba[_0x593e38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x593e38([0x54,0x4f,0x43]))||(!!_0x4686ba[_0x593e38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x593e38([0x50,0x50]))||!(!_0x4686ba[_0x593e38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x593e38([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x57cef6()))));}function _0x4d787f(){const _0x5387eb=_0xbff74e[_0x593e38([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5387eb||0x0==_0x5387eb[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2b84cd}=new URL(window[_0x593e38([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5387eb[_0x593e38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b84cd))return!0x0;const _0x272bd6=_0x2b84cd[_0x593e38([0x73,0x70,0x6c,0x69,0x74])](_0x593e38([0x2e]));return _0x5387eb[_0x593e38([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b666f=>_0x1b666f[_0x593e38([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x593e38([0x2a])))[_0x593e38([0x6d,0x61,0x70])](_0x1f1587=>_0x1f1587[_0x593e38([0x73,0x70,0x6c,0x69,0x74])](_0x593e38([0x2e])))[_0x593e38([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53a2df=>_0x53a2df[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x272bd6[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x593e38([0x6d,0x61,0x70])](_0x3a0751=>Array(_0x272bd6[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a0751[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x593e38([0x66,0x69,0x6c,0x6c])](_0x3a0751[0x0]===_0x593e38([0x2a])?_0x593e38([0x2a]):'')[_0x593e38([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a0751))[_0x593e38([0x73,0x6f,0x6d,0x65])](_0x243fa3=>_0x272bd6[_0x593e38([0x65,0x76,0x65,0x72,0x79])]((_0x521173,_0x458bf3)=>_0x243fa3[_0x458bf3]===_0x521173||_0x243fa3[_0x458bf3]===_0x593e38([0x2a])));}function _0x398d62(){return _0x4827fe&&_0x478e82?new window[(_0x593e38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161482,_0x247d50)=>{_0x4827fe[_0x593e38([0x74,0x68,0x65,0x6e])](_0x161482,_0x247d50),_0x478e82[_0x593e38([0x74,0x68,0x65,0x6e])](_0x354da4=>{_0x354da4!=_0x593e38([0x56,0x61,0x6c,0x69,0x64])&&_0x161482(_0x354da4);},_0x247d50);}):_0x4827fe||_0x478e82||_0x593e38([0x56,0x61,0x6c,0x69,0x64]);}}function _0x32de37(_0x16c195,_0x90068c){return new window[(_0x593e38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x165c90=>{if(_0x23d947())return _0x165c90(_0x593e38([0x56,0x61,0x6c,0x69,0x64]));_0x14fd9d(),_0xf6efd7[_0x593e38([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x593e38([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d5fb0=!0x1;const _0x42a360=_0x4b8053();function _0x2ceb0d(_0x29f0c1){return!!_0x29f0c1&&(typeof _0x29f0c1===_0x593e38([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29f0c1===_0x593e38([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29f0c1[_0x593e38([0x74,0x68,0x65,0x6e])]===_0x593e38([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29f0c1[_0x593e38([0x63,0x61,0x74,0x63,0x68])]===_0x593e38([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4ceb31(_0x2596e5){_0x5e28fe(_0x2596e5)[_0x593e38([0x74,0x68,0x65,0x6e])](_0x135e0f=>{if(!_0x135e0f||_0x135e0f[_0x593e38([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x593e38([0x6f,0x6b]))return _0x593e38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55443b(_0x4d0d45(_0x42a360+_0x90068c))!=_0x135e0f[_0x593e38([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x593e38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x593e38([0x56,0x61,0x6c,0x69,0x64]);})[_0x593e38([0x74,0x68,0x65,0x6e])](_0x413a04=>(_0x23845c(),_0x413a04),()=>{const _0x4014dc=_0x434ce2();return null==_0x4014dc?(_0x23845c(),_0x593e38([0x56,0x61,0x6c,0x69,0x64])):_0x593e38(_0x399d58-_0x4014dc>(0x4f9781fd^_0x392cfd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x593e38([0x74,0x68,0x65,0x6e])](_0x165c90)[_0x593e38([0x63,0x61,0x74,0x63,0x68])](()=>{_0x165c90(_0x593e38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e1855=0x6badeb7d^_0x392cfd;function _0x23845c(){const _0x2fa704=_0x593e38([0x6c,0x6c,0x63,0x74,0x2d])+_0x55443b(_0x4d0d45(_0x16c195)),_0x51a210=_0x52ab59(_0x55443b(window[_0x593e38([0x4d,0x61,0x74,0x68])][_0x593e38([0x63,0x65,0x69,0x6c])](_0x399d58/_0x5e1855)));window[_0x593e38([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x593e38([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fa704,_0x51a210);}function _0x434ce2(){const _0x53a23a=_0x593e38([0x6c,0x6c,0x63,0x74,0x2d])+_0x55443b(_0x4d0d45(_0x16c195)),_0x5d3eee=window[_0x593e38([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x593e38([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53a23a);return _0x5d3eee?window[_0x593e38([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52ab59(_0x5d3eee),0x10)*_0x5e1855:null;}function _0x5e28fe(_0x24850b){return new window[(_0x593e38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ae164,_0x2fbb6a)=>{_0x24850b[_0x593e38([0x74,0x68,0x65,0x6e])](_0x1ae164,_0x2fbb6a),window[_0x593e38([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2fbb6a,0x6b9ad13d^_0x392cfd);});}}_0xf6efd7[_0x593e38([0x6f,0x6e])](_0x593e38([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x407710,_0x2bc2b5)=>{if(_0x2bc2b5[0x0]!=_0x16c195)return _0x165c90(_0x593e38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2bc2b5[0x1]={..._0x2bc2b5[0x1],[_0x593e38([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42a360};},{[_0x593e38([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x593e38([0x68,0x69,0x67,0x68])}),_0xf6efd7[_0x593e38([0x6f,0x6e])](_0x593e38([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c2e90=>{_0x2ceb0d(_0x4c2e90[_0x593e38([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d5fb0=!0x0,_0x4ceb31(_0x4c2e90[_0x593e38([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x593e38([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x593e38([0x6c,0x6f,0x77])}),_0x3e8923[_0x593e38([0x74,0x68,0x65,0x6e])](()=>{_0x1d5fb0||_0x165c90(_0x593e38([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23d947(){return _0xf6efd7[_0x593e38([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x593e38([0x76,0x69,0x65,0x77])][_0x593e38([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x593e38([0x61,0x75,0x74,0x6f]);}function _0x14fd9d(){_0xf6efd7[_0x593e38([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x593e38([0x76,0x69,0x65,0x77])][_0x593e38([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x593e38([0x61,0x75,0x74,0x6f]);}}function _0x4da606(_0x4c0f0e){const _0x45da3f=[new window[(_0x593e38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a98fa=>setTimeout(_0x5a98fa,0x6b923b31^_0x392cfd)),_0x3e8923[_0x593e38([0x74,0x68,0x65,0x6e])](()=>new window[(_0x593e38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446ab8=>{let _0x43f0f0=0x0;_0xf6efd7[_0x593e38([0x6d,0x6f,0x64,0x65,0x6c])][_0x593e38([0x6f,0x6e])](_0x593e38([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x433c9b,_0x5ce7ff)=>{_0x5ce7ff[0x0][_0x593e38([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43f0f0++,_0x43f0f0==(0x6b9b0015^_0x392cfd)&&(_0x446ab8(),_0x433c9b[_0x593e38([0x6f,0x66,0x66])]());});}))];return window[_0x593e38([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x593e38([0x72,0x61,0x63,0x65])](_0x45da3f)[_0x593e38([0x74,0x68,0x65,0x6e])](()=>_0x4c0f0e);}async function _0x4c60bc(){await _0x3e8923,_0xf6efd7[_0x593e38([0x6d,0x6f,0x64,0x65,0x6c])][_0x593e38([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f550f,_0xf6efd7[_0x593e38([0x6d,0x6f,0x64,0x65,0x6c])][_0x593e38([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f550f,_0xf6efd7[_0x593e38([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x593e38([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57cef6(){return window[_0x593e38([0x67,0x6c,0x6f,0x62])]&&window[_0x593e38([0x67,0x6c,0x6f,0x62])][_0x593e38([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5f2315(_0x2708e8){const _0x2dad55=_0x5ae081();_0xf6efd7[_0x2dad55]=_0x593e38([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])+_0x2708e8,_0x2708e8!=_0x593e38([0x56,0x61,0x6c,0x69,0x64])&&_0x4c60bc();}function _0x5ae081(){const _0x473a17=window[_0x593e38([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x593e38([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x593e38([0x6e,0x6f,0x77])]())[_0x593e38([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x593e38([0x2e]),'');let _0x2f0746=_0x593e38([0x6d]);for(let _0x47ddcf=0x0;_0x47ddcf<_0x473a17[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47ddcf+=0x2){let _0x55dd5b=window[_0x593e38([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x473a17[_0x593e38([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47ddcf,_0x47ddcf+0x2));_0x55dd5b>=_0x42e000[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x55dd5b-=_0x42e000[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f0746+=_0x42e000[_0x55dd5b];}return _0x2f0746;}function _0x54dae0(){const _0x3815af=_0x1c5716[_0x593e38([0x73,0x70,0x6c,0x69,0x74])](_0x593e38([0x2e]));if(0x3!=_0x3815af[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc13bae(_0x3815af[0x1]);function _0xc13bae(_0x3aec7d){const _0x2284e8=_0x333304(_0x3aec7d);return _0x2284e8&&_0x254cad()?_0x2284e8:null;function _0x254cad(){const _0x4b9675=_0x2284e8[_0x593e38([0x6a,0x74,0x69])],_0x33b5c6=window[_0x593e38([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b9675[_0x593e38([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b9675[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32ac78={..._0x2284e8,[_0x593e38([0x6a,0x74,0x69])]:_0x4b9675[_0x593e38([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b9675[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32ac78[_0x593e38([0x76,0x63])],_0x4d0d45(_0x32ac78)==_0x33b5c6;}}}async function _0x4daf52(){let _0x13f347=!0x0;try{const _0x2289bd=_0x1c5716[_0x593e38([0x73,0x70,0x6c,0x69,0x74])](_0x593e38([0x2e])),[_0x495405,_0x427740,_0x1253e6]=_0x2289bd;return _0x294724(_0x495405),await _0x5aaf79(_0x495405,_0x427740,_0x1253e6),_0x13f347;}catch{return!0x1;}function _0x294724(_0x3ac7e7){const _0x53a17b=_0x333304(_0x3ac7e7);_0x53a17b&&_0x53a17b[_0x593e38([0x61,0x6c,0x67])]==_0x593e38([0x45,0x53,0x32,0x35,0x36])||(_0x13f347=!0x1);}async function _0x5aaf79(_0x5c5180,_0x355bc2,_0x47097d){const _0x18d88e=window[_0x593e38([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x593e38([0x66,0x72,0x6f,0x6d])](_0x233fde(_0x47097d),_0x1c8a09=>_0x1c8a09[_0x593e38([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x398031=new window[(_0x593e38([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x593e38([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c5180+_0x593e38([0x2e])+_0x355bc2),_0x47fddc=window[_0x593e38([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x593e38([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47fddc)return;const _0x30ada1=await _0x47fddc[_0x593e38([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x593e38([0x6a,0x77,0x6b]),_0x5361d1,{[_0x593e38([0x6e,0x61,0x6d,0x65])]:_0x593e38([0x45,0x43,0x44,0x53,0x41]),[_0x593e38([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x593e38([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x593e38([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47fddc[_0x593e38([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x593e38([0x6e,0x61,0x6d,0x65])]:_0x593e38([0x45,0x43,0x44,0x53,0x41]),[_0x593e38([0x68,0x61,0x73,0x68])]:{[_0x593e38([0x6e,0x61,0x6d,0x65])]:_0x593e38([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x30ada1,_0x18d88e,_0x398031)||(_0x13f347=!0x1);}}function _0x333304(_0x33be64){return _0x33be64[_0x593e38([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x593e38([0x65,0x79]))?JSON[_0x593e38([0x70,0x61,0x72,0x73,0x65])](_0x233fde(_0x33be64)):null;}function _0x233fde(_0x131cb5){return window[_0x593e38([0x61,0x74,0x6f,0x62])](_0x131cb5[_0x593e38([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x593e38([0x2b]))[_0x593e38([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x593e38([0x2f])));}function _0x4d0d45(_0x2f0ae6){let _0x1a5286=0x1505;function _0x5e340d(_0x596ce3){for(let _0xcc6055=0x0;_0xcc6055<_0x596ce3[_0x593e38([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcc6055++){const _0x476392=_0x596ce3[_0x593e38([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xcc6055);_0x1a5286=(_0x1a5286<<0x5)+_0x1a5286+_0x476392,_0x1a5286&=_0x1a5286;}}function _0x5356d3(_0x36e605){Array[_0x593e38([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x36e605)?_0x36e605[_0x593e38([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5356d3):_0x36e605&&typeof _0x36e605==_0x593e38([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x593e38([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x36e605)[_0x593e38([0x73,0x6f,0x72,0x74])]()[_0x593e38([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c8f8c,_0x5757be])=>{_0x5e340d(_0x1c8f8c),_0x5356d3(_0x5757be);}):_0x5e340d(window[_0x593e38([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x36e605));}return _0x5356d3(_0x2f0ae6),_0x1a5286>>>0x0;}function _0x55443b(_0x1eefb1){return _0x1eefb1[_0x593e38([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x593e38([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x593e38([0x30]));}function _0x52ab59(_0xa952d7){return _0xa952d7[_0x593e38([0x73,0x70,0x6c,0x69,0x74])]('')[_0x593e38([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x593e38([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f550f(){}function _0x593e38(_0x3b02f8){return _0x3b02f8['map'](_0x5449ec=>String['fromCharCode'](_0x5449ec))['join']('');}_0x5f2315(await _0x2fbe4e());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x2fcd4b=>{'$graveyard'!==_0x2fcd4b['rootName']&&this['editor']['editing']['reconvertItem'](_0x2fcd4b);});}['_trackNewToCElements'](){for(const _0x2950c2 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2950c2['type']||'tableOfContents'!==_0x2950c2['name'])return;this['_tableOfContentsElements']['add'](_0x2950c2['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x19882){const _0x24ded7=this['editor'],_0x28794e=[];for(const _0x22b3f3 of _0x24ded7['model']['document']['getRootNames']())_0x56f31e(_0x24ded7['model']['document']['getRoot'](_0x22b3f3));function _0x56f31e(_0x3f376b){for(const _0x8a7754 of _0x3f376b['getChildren']())_0x8a7754['is']('element')&&(_0x19882['includes'](_0x8a7754['name'])&&_0x28794e['push']({'level':_0x19882['indexOf'](_0x8a7754['name'])+0x1,'text':I(_0x8a7754),'modelElement':_0x8a7754}),_0x56f31e(_0x8a7754));}return _0x28794e;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x55f648=this['editor']['conversion'];_0x55f648['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x55f648['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x436c9f,{writer:_0x523a3e})=>this['_createTableOfContents'](_0x523a3e,!0x0)}),_0x55f648['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x119691,{writer:_0x4b4562})=>{this['_tableOfContentsElements']['add'](_0x119691);const _0x228447=this['_createTableOfContents'](_0x4b4562);return _0xf54338(_0x228447,_0x4b4562,{'label':C(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'](_0x2c53a8,_0x56291b=!0x1){const {locale:_0x5bc3a0}=this['editor'],_0x215752=_0x2c53a8['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x56291b&&{'data-table-of-contents-label':C(_0x5bc3a0,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x56291b&&_0x2c53a8['insert'](_0x2c53a8['createPositionAt'](_0x215752,'end'),_0x2c53a8['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2c53a8['createText'](C(_0x5bc3a0,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x420722=_0x56291b?'':'['+C(_0x5bc3a0,'Empty\x20heading')+']';let _0x53f42b=_0x215752;return this['_currentOutlineDefinitions']['forEach']((_0x114b3e,_0x4b5338,_0xff4e7)=>{const _0x119e01=this['editor']['model']['hasContent'](_0x114b3e['modelElement'],{'ignoreWhitespaces':!0x0}),_0x34e513=_0x119e01?_0x114b3e['text']:_0x420722,_0xe68073=_0x114b3e['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1949e7=_0x2c53a8['createContainerElement']('a',{'href':'#'+_0xe68073,...!_0x56291b&&{'tabindex':'-1'}},[_0x2c53a8['createText'](_0x34e513)]),_0x4e8b5c=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2c53a8['setCustomProperty']('tableOfContentsHeadingIndex',_0x4b5338,_0x1949e7);const _0x1826f1=_0x2c53a8['createContainerElement']('li',null,[_0x119e01||!_0x56291b&&_0x4e8b5c?_0x1949e7:_0x2c53a8['createText']('')]),_0x123664=_0x4b5338?_0xff4e7[_0x4b5338-0x1]['level']:0x0,_0x4aca23=Math['abs'](_0x114b3e['level']-_0x123664);if(_0x114b3e['level']>_0x123664){const _0x429d9b=_(_0x1826f1,_0x4aca23,_0x2c53a8);_0x2c53a8['insert'](_0x2c53a8['createPositionAt'](_0x53f42b,'end'),_0x429d9b);}else{const _0x18c417=function(_0x34877b,_0x2c7dfe){return _0x34877b['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4e4f88=>_0x4e4f88['is']('element','ol'))[_0x2c7dfe];}(_0x53f42b,_0x4aca23);_0x2c53a8['insert'](_0x2c53a8['createPositionAt'](_0x18c417,'end'),_0x1826f1);}_0x53f42b=_0x1826f1;}),_0x215752;}['_handleScrollToHeading'](_0x5d13df){const _0x421e06=this['_currentOutlineDefinitions'][_0x5d13df]['modelElement'];this['editor']['model']['change'](_0x2a1a71=>{_0x2a1a71['setSelection'](_0x421e06,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x1c0f9e,_0x4da4f5)=>{const _0x1b2a93=_0x4da4f5['mapper'],_0x51ba83=_0x1b2a93['findMappedViewAncestor'](_0x4da4f5['viewPosition']),_0x262e41=_0x1b2a93['toModelElement'](_0x51ba83);_0x262e41['is']('element','tableOfContents')&&(_0x4da4f5['modelPosition']=this['editor']['model']['createPositionAt'](_0x262e41,0x0),_0x1c0f9e['stop']());};}}function _(_0x137768,_0x16661f,_0x3e13c3){return 0x1===_0x16661f?_0x3e13c3['createContainerElement']('ol',null,[_0x137768]):_0x3e13c3['createContainerElement']('ol',null,[_0x3e13c3['createContainerElement']('li',null,[_(_0x137768,_0x16661f-0x1,_0x3e13c3)])]);}class TableOfContentsUI extends _0x5a394e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4cf789=this['editor'];_0x4cf789['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x1e9a7c=this['_createButton'](_0x4b3af8);return _0x1e9a7c['tooltip']=!0x0,_0x1e9a7c;}),_0x4cf789['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x25bcc9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x20dbc2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3053a4;for(const _0x730ef2 in _0x20dbc2){const _0x5b6921=_0x730ef2,_0x4eb81f=_0x20dbc2[_0x5b6921];if('tableOfContentsLicenseKeyValid'==_0x4eb81f||'tableOfContentsLicenseKeyInvalid'==_0x4eb81f||'tableOfContentsLicenseKeyExpired'==_0x4eb81f||'tableOfContentsLicenseKeyDomainLimit'==_0x4eb81f||'tableOfContentsLicenseKeyNotAllowed'==_0x4eb81f||'tableOfContentsLicenseKeyEvaluationLimit'==_0x4eb81f||'tableOfContentsLicenseKeyUsageLimit'==_0x4eb81f){delete _0x20dbc2[_0x5b6921],_0x3053a4=_0x4eb81f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3053a4&&_0x20dbc2['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3053a4&&_0x20dbc2['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3053a4&&_0x20dbc2['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3053a4&&_0x20dbc2['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3053a4&&_0x20dbc2['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3053a4&&_0x20dbc2['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x50293a){const _0x1afcb1=this['editor'],_0x36e1bd=_0x1afcb1['locale'],_0x2b5999=_0x1afcb1['commands']['get']('insertTableOfContents'),_0x226057=new _0x50293a(_0x36e1bd);return _0x226057['set']({'label':C(_0x36e1bd,'Table\x20of\x20contents'),'icon':_0x5e17fa}),_0x226057['bind']('isEnabled')['to'](_0x2b5999,'isEnabled'),this['listenTo'](_0x226057,'execute',()=>{_0x1afcb1['execute']('insertTableOfContents'),_0x1afcb1['editing']['view']['focus']();}),_0x226057;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x5a394e{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,HeadingId,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI};
|
|
23
|
+
import{Plugin as _0x41d703,Command as _0x1ee6c1}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0xa1f716,throttle as _0x48d84e}from'es-toolkit/compat';import{ModelText as _0x29eec3,ModelTreeWalker as _0x5cc959}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0x3873e4,diffToChanges as _0x5a8ae9,scrollAncestorsToShowTarget as _0x2586cc,CKEditorError as _0x156ba1,global as _0x56c773,Rect as _0x421dda,uid as _0xa534d3,priorities as _0xb4e830}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x1c8ab5,ButtonView as _0x4924e1,MenuBarMenuListItemButtonView as _0xfb1d44}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x4addfb,toWidget as _0x36da9d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x54ef3f}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x5afd6a){let _0x2292fc='';for(const _0x54a326 of _0x5afd6a['getChildren']())_0x54a326 instanceof _0x29eec3&&(_0x2292fc+=_0x54a326['data']);return _0x2292fc;}class DocumentOutlineUtils extends _0x41d703{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x35979c=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x1d1f7d=[];_0x35979c['model']['document']['on']('change',_0xa1f716(()=>{const _0x56839f=_0x1d1f7d;_0x1d1f7d=this['_getOutlineDefinitions']();const _0x158a83=_0x3873e4(_0x56839f,_0x1d1f7d,(_0x5119b1,_0x34019f)=>_0x5119b1['level']===_0x34019f['level']&&_0x5119b1['text']===_0x34019f['text']&&_0x5119b1['modelElement']===_0x34019f['modelElement']),_0x57b2d2=_0x5a8ae9(_0x158a83,_0x1d1f7d),_0x7b2f54=this['_getActiveHeading'](),_0x4941c2=_0x1d1f7d['findIndex'](_0x52884c=>_0x52884c['modelElement']===_0x7b2f54);_0x57b2d2['length']&&this['fire']('change',{'outlineDefinitions':_0x1d1f7d,'activeItemIndex':_0x4941c2,'outlineChanges':_0x57b2d2}),this['fire']('activeItemIndex',{'index':_0x4941c2});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x5bd5fb=this['editor'],_0x2dd2c5=[],_0x3b56a6=this['_headingNames'];for(const _0x4cda0c of _0x5bd5fb['model']['document']['getRootNames']())_0x4aecbd(_0x5bd5fb['model']['document']['getRoot'](_0x4cda0c));function _0x4aecbd(_0x11329d){for(const _0x2bf455 of _0x11329d['getChildren']())_0x2bf455['is']('element')&&(_0x3b56a6['includes'](_0x2bf455['name'])&&_0x2dd2c5['push']({'level':_0x3b56a6['indexOf'](_0x2bf455['name'])+0x1,'text':I(_0x2bf455),'modelElement':_0x2bf455}),_0x4aecbd(_0x2bf455));}return _0x2dd2c5;}['_getActiveHeading'](){const _0x1b49b1=this['editor']['model']['document']['selection']['getFirstPosition'](),_0xd59de=new _0x5cc959({'direction':'backward','startPosition':_0x1b49b1});for(const _0x4d4e56 of _0xd59de)if(_0x4d4e56['item']['is']('element')&&this['_headingNames']['includes'](_0x4d4e56['item']['name']))return _0x4d4e56['item'];}['_getHeadingNames'](){const _0x5ed0b4=this['editor']['config']['get']('documentOutline.headings');return _0x5ed0b4||function(_0x1c4372){const _0x4335a3=_0x1c4372['config']['get']('heading.options');return _0x4335a3?_0x4335a3['reduce']((_0x67a18f,_0x5c3102)=>('paragraph'!==_0x5c3102['model']&&_0x67a18f['push'](_0x5c3102['model']),_0x67a18f),[]):_0x1c4372['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xae4488=this['editor'],_0x5a7a03=['h1','h2','h3','h4','h5','h6'],_0x58f952=[];for(const _0x2ed203 of _0x5a7a03){const _0x20d1f2=_0xae4488['editing']['view']['domConverter']['domToView'](document['createElement'](_0x2ed203)),_0x2def30=_0xae4488['data']['toModel'](_0x20d1f2)['getChild'](0x0);_0x2def30?.['is']('element')&&_0x58f952['push'](_0x2def30['name']);}this['_headingNames']=_0x58f952;}}function C(_0xfbb516,_0x418ec3){const t=_0xfbb516['t'];switch(_0x418ec3){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 _0x418ec3;}}class DocumentOutlineItemView extends _0x1c8ab5{constructor(_0x493687,_0x5c33e4=!0x1){super(_0x493687);const _0x1b137d=this['bindTemplate'],_0x41077a=_0x5c33e4?'['+C(_0x493687,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x259ac7=>!_0x259ac7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1b137d['to']('level',_0x5344d5=>'ck-document-outline__item_level-'+_0x5344d5),_0x1b137d['if']('isActive','ck-document-outline__item_active'),_0x1b137d['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1b137d['to']('text')},'children':[{'text':_0x1b137d['to']('text',_0x39bc40=>_0x39bc40||_0x41077a)}],'on':{'click':_0x1b137d['to']('click')}});}}class DocumentOutlineView extends _0x1c8ab5{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x20203d,_0xb43953=!0x1,_0x5e0da7){super(_0x20203d),this['showEmptyHeadingText']=_0xb43953,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x5e0da7,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x3bef0e,_0x5c8e7e,_0x38a86d,_0x53ce51)=>{this['_setActiveItem'](_0x53ce51,_0x38a86d);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x20203d['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0x20203d,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x2fdec2){_0x2fdec2['forEach'](_0x54a626=>{'insert'==_0x54a626['type']?this['_insertItem'](_0x54a626['index'],..._0x54a626['values']):'delete'==_0x54a626['type']&&this['_deleteItem'](_0x54a626['index'],_0x54a626['howMany']);});}['_setActiveItem'](_0x4c52f2,_0x217cb8){if(-0x1!==_0x4c52f2){const _0x5837ba=this['items']['get'](_0x4c52f2);_0x5837ba&&(_0x5837ba['isActive']=!0x1);}-0x1!==_0x217cb8&&(this['items']['get'](_0x217cb8)['isActive']=!0x0,this['_scrollToItem'](_0x217cb8));}['_insertItem'](_0x3b7b6f,..._0x686d15){const _0x4f48c3=_0x686d15['map']((_0x3af960,_0x365ce4)=>{const _0x41d5d0=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x41d5d0['text']=_0x3af960['text'],_0x41d5d0['level']=_0x3af960['level'],_0x3b7b6f+_0x365ce4===this['activeItemIndex']&&(_0x41d5d0['isActive']=!0x0),_0x41d5d0;});this['items']['addMany'](_0x4f48c3,_0x3b7b6f);}['_deleteItem'](_0x40882b,_0x526e57){do{this['items']['remove'](_0x40882b);}while(--_0x526e57);}['_handleItemClick'](_0x58897f){const _0x29a218=this['items']['getIndex'](_0x58897f['source']);this['fire']('itemSelected',_0x29a218);}['_scrollToItem'](_0x331574){_0x2586cc(this['items']['get'](_0x331574)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x41d703{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xedefce){super(_0xedefce),this['view']=new DocumentOutlineView(_0xedefce['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x48d84e(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x3b1001=this['editor'],_0x12e4c5=_0x3b1001['plugins']['get']('DocumentOutlineUtils');let _0x1476d1=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x3b1001['config']['get']('documentOutline.container'))throw new _0x156ba1('document-outline-container-not-provided',{'editor':_0x3b1001});_0x3b1001['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x12e4c5['on']('change',this['_handleOutlineChange']['bind'](this)),_0x12e4c5['on']('activeItemIndex',(_0x4d3461,{index:_0x549a88})=>this['_setActiveViewItem'](_0x549a88)),this['view']['on']('itemSelected',(_0x319dcf,_0x4e3b27)=>{_0x1476d1=!0x0,this['_handleItemSelected'](_0x4e3b27);}),this['view']['listenTo'](_0x56c773['document'],'scroll',()=>{_0x1476d1?_0x1476d1=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x56c773['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x4f6353){const _0x4fe0e5=_0x4b0a24([0x61,0x57,0x78,0x6c,0x50,0x47,0x30,0x41,0x33,0x43,0x44,0x64,0x48,0x42,0x73,0x5a,0x45,0x71,0x77,0x55,0x4c,0x6f,0x6a,0x4f,0x72,0x67,0x4d,0x58,0x56,0x54,0x52,0x76,0x75,0x31,0x62,0x49,0x32,0x34,0x38,0x37,0x70,0x74,0x7a,0x4a,0x4b,0x51,0x65,0x69,0x68,0x66,0x4e,0x6b,0x59,0x53,0x39,0x6e,0x36,0x79,0x35,0x6d,0x63,0x46]),_0x142b37=0x1cb264a3,_0x38567a=0x1cb5ef03^_0x142b37,_0x42a88a=window[_0x4b0a24([0x44,0x61,0x74,0x65])][_0x4b0a24([0x6e,0x6f,0x77])](),_0x3f611b=_0x4f6353[_0x4b0a24([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa52e22=new window[(_0x4b0a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1759fd=>{_0x3f611b[_0x4b0a24([0x6f,0x6e,0x63,0x65])](_0x4b0a24([0x72,0x65,0x61,0x64,0x79]),_0x1759fd);}),_0x1323dd={[_0x4b0a24([0x6b,0x74,0x79])]:_0x4b0a24([0x45,0x43]),[_0x4b0a24([0x75,0x73,0x65])]:_0x4b0a24([0x73,0x69,0x67]),[_0x4b0a24([0x63,0x72,0x76])]:_0x4b0a24([0x50,0x2d,0x32,0x35,0x36]),[_0x4b0a24([0x78])]:_0x4b0a24([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]),[_0x4b0a24([0x79])]:_0x4b0a24([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]),[_0x4b0a24([0x61,0x6c,0x67])]:_0x4b0a24([0x45,0x53,0x32,0x35,0x36])},_0x250a5b=_0x3f611b[_0x4b0a24([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b0a24([0x67,0x65,0x74])](_0x4b0a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x50fa17(){let _0x4a61a1,_0x415eda=null,_0x45ad80=null;try{if(_0x250a5b==_0x4b0a24([0x47,0x50,0x4c]))return _0x4b0a24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a61a1=_0x202981(),!_0x4a61a1)return _0x4b0a24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a61a1[_0x4b0a24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45ad80=_0x177088(_0x4a61a1[_0x4b0a24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a61a1[_0x4b0a24([0x6a,0x74,0x69])])),await _0x54c1be()?_0x1564de()?_0x52bb27()?_0x4b0a24([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x304d3f()?(_0x4a61a1[_0x4b0a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b0a24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x415eda=_0x518c9d(_0x4b0a24([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x19aabf()):_0x4b0a24([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b0a24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b0a24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b0a24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x52bb27(){const _0x19aa32=[_0x4b0a24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b0a24([0x74,0x72,0x69,0x61,0x6c])][_0x4b0a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a61a1[_0x4b0a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42a88a/0x3e8:0xe10*_0x38567a;return _0x4a61a1[_0x4b0a24([0x65,0x78,0x70])]<_0x19aa32;}function _0x1564de(){const _0x294e87=_0x4a61a1[_0x4b0a24([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x294e87&&(!!_0x294e87[_0x4b0a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a24([0x2a]))||(!!_0x294e87[_0x4b0a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a24([0x44,0x4f]))||(!!_0x294e87[_0x4b0a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a24([0x50,0x50]))||!(!_0x294e87[_0x4b0a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a24([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x14a095()))));}function _0x304d3f(){const _0x31a9ef=_0x4a61a1[_0x4b0a24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31a9ef||0x0==_0x31a9ef[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x7d1f23}=new URL(window[_0x4b0a24([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31a9ef[_0x4b0a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7d1f23))return!0x0;const _0x2d139d=_0x7d1f23[_0x4b0a24([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a24([0x2e]));return _0x31a9ef[_0x4b0a24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48006f=>_0x48006f[_0x4b0a24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b0a24([0x2a])))[_0x4b0a24([0x6d,0x61,0x70])](_0x599879=>_0x599879[_0x4b0a24([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a24([0x2e])))[_0x4b0a24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e2ab7=>_0x5e2ab7[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d139d[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b0a24([0x6d,0x61,0x70])](_0xff2c5a=>Array(_0x2d139d[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xff2c5a[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b0a24([0x66,0x69,0x6c,0x6c])](_0xff2c5a[0x0]===_0x4b0a24([0x2a])?_0x4b0a24([0x2a]):'')[_0x4b0a24([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xff2c5a))[_0x4b0a24([0x73,0x6f,0x6d,0x65])](_0x25b0d1=>_0x2d139d[_0x4b0a24([0x65,0x76,0x65,0x72,0x79])]((_0x3fb0d9,_0x2aed4a)=>_0x25b0d1[_0x2aed4a]===_0x3fb0d9||_0x25b0d1[_0x2aed4a]===_0x4b0a24([0x2a])));}function _0x19aabf(){return _0x415eda&&_0x45ad80?new window[(_0x4b0a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1504fe,_0x38cc4c)=>{_0x415eda[_0x4b0a24([0x74,0x68,0x65,0x6e])](_0x1504fe,_0x38cc4c),_0x45ad80[_0x4b0a24([0x74,0x68,0x65,0x6e])](_0x2a8217=>{_0x2a8217!=_0x4b0a24([0x56,0x61,0x6c,0x69,0x64])&&_0x1504fe(_0x2a8217);},_0x38cc4c);}):_0x415eda||_0x45ad80||_0x4b0a24([0x56,0x61,0x6c,0x69,0x64]);}}function _0x177088(_0x49eb4e,_0x4a64a8){return new window[(_0x4b0a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19f9e7=>{if(_0x6453fd())return _0x19f9e7(_0x4b0a24([0x56,0x61,0x6c,0x69,0x64]));_0x377507(),_0x3f611b[_0x4b0a24([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b0a24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e3af7=!0x1;const _0x345ad7=_0xa534d3();function _0x4db7fc(_0x37820b){return!!_0x37820b&&(typeof _0x37820b===_0x4b0a24([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x37820b===_0x4b0a24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x37820b[_0x4b0a24([0x74,0x68,0x65,0x6e])]===_0x4b0a24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x37820b[_0x4b0a24([0x63,0x61,0x74,0x63,0x68])]===_0x4b0a24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a58f1(_0x17a8b1){_0x5da46f(_0x17a8b1)[_0x4b0a24([0x74,0x68,0x65,0x6e])](_0x1ddb51=>{if(!_0x1ddb51||_0x1ddb51[_0x4b0a24([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b0a24([0x6f,0x6b]))return _0x4b0a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x59903b(_0x4a6bb6(_0x345ad7+_0x4a64a8))!=_0x1ddb51[_0x4b0a24([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b0a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b0a24([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b0a24([0x74,0x68,0x65,0x6e])](_0x47df8c=>(_0x14792e(),_0x47df8c),()=>{const _0x4c997f=_0x5b762a();return null==_0x4c997f?(_0x14792e(),_0x4b0a24([0x56,0x61,0x6c,0x69,0x64])):_0x4b0a24(_0x42a88a-_0x4c997f>(0x38bee0a3^_0x142b37)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b0a24([0x74,0x68,0x65,0x6e])](_0x19f9e7)[_0x4b0a24([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19f9e7(_0x4b0a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xa59216=0x1c848a23^_0x142b37;function _0x14792e(){const _0x36b866=_0x4b0a24([0x6c,0x6c,0x63,0x74,0x2d])+_0x59903b(_0x4a6bb6(_0x49eb4e)),_0x1a08aa=_0x204088(_0x59903b(window[_0x4b0a24([0x4d,0x61,0x74,0x68])][_0x4b0a24([0x63,0x65,0x69,0x6c])](_0x42a88a/_0xa59216)));window[_0x4b0a24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b0a24([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36b866,_0x1a08aa);}function _0x5b762a(){const _0x3ebf84=_0x4b0a24([0x6c,0x6c,0x63,0x74,0x2d])+_0x59903b(_0x4a6bb6(_0x49eb4e)),_0x299756=window[_0x4b0a24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b0a24([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ebf84);return _0x299756?window[_0x4b0a24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x204088(_0x299756),0x10)*_0xa59216:null;}function _0x5da46f(_0x153679){return new window[(_0x4b0a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c55ea,_0x2daf0e)=>{_0x153679[_0x4b0a24([0x74,0x68,0x65,0x6e])](_0x2c55ea,_0x2daf0e),window[_0x4b0a24([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2daf0e,0x1cb3b063^_0x142b37);});}}_0x3f611b[_0x4b0a24([0x6f,0x6e])](_0x4b0a24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40a8f6,_0x3b7c3e)=>{if(_0x3b7c3e[0x0]!=_0x49eb4e)return _0x19f9e7(_0x4b0a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b7c3e[0x1]={..._0x3b7c3e[0x1],[_0x4b0a24([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x345ad7};},{[_0x4b0a24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b0a24([0x68,0x69,0x67,0x68])}),_0x3f611b[_0x4b0a24([0x6f,0x6e])](_0x4b0a24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5331ea=>{_0x4db7fc(_0x5331ea[_0x4b0a24([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e3af7=!0x0,_0x1a58f1(_0x5331ea[_0x4b0a24([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b0a24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b0a24([0x6c,0x6f,0x77])}),_0xa52e22[_0x4b0a24([0x74,0x68,0x65,0x6e])](()=>{_0x5e3af7||_0x19f9e7(_0x4b0a24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6453fd(){return _0x3f611b[_0x4b0a24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b0a24([0x76,0x69,0x65,0x77])][_0x4b0a24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b0a24([0x61,0x75,0x74,0x6f]);}function _0x377507(){_0x3f611b[_0x4b0a24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b0a24([0x76,0x69,0x65,0x77])][_0x4b0a24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b0a24([0x61,0x75,0x74,0x6f]);}}function _0x518c9d(_0xbe0be){const _0x52da23=[new window[(_0x4b0a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fafd6=>setTimeout(_0x3fafd6,0x1cbb5a6f^_0x142b37)),_0xa52e22[_0x4b0a24([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b0a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51444c=>{let _0x33f881=0x0;_0x3f611b[_0x4b0a24([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b0a24([0x6f,0x6e])](_0x4b0a24([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18c5ab,_0x1c5a46)=>{_0x1c5a46[0x0][_0x4b0a24([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33f881++,_0x33f881==(0x1cb2614b^_0x142b37)&&(_0x51444c(),_0x18c5ab[_0x4b0a24([0x6f,0x66,0x66])]());});}))];return window[_0x4b0a24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b0a24([0x72,0x61,0x63,0x65])](_0x52da23)[_0x4b0a24([0x74,0x68,0x65,0x6e])](()=>_0xbe0be);}async function _0x502838(){await _0xa52e22,_0x3f611b[_0x4b0a24([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b0a24([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2698d4,_0x3f611b[_0x4b0a24([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b0a24([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2698d4,_0x3f611b[_0x4b0a24([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b0a24([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14a095(){return window[_0x4b0a24([0x67,0x6c,0x6f,0x62])]&&window[_0x4b0a24([0x67,0x6c,0x6f,0x62])][_0x4b0a24([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xb536e1(_0x411888){const _0x3a2503=_0x43f58e();_0x3f611b[_0x3a2503]=_0x4b0a24([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])+_0x411888,_0x411888!=_0x4b0a24([0x56,0x61,0x6c,0x69,0x64])&&_0x502838();}function _0x43f58e(){const _0x1a42b2=window[_0x4b0a24([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b0a24([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b0a24([0x6e,0x6f,0x77])]())[_0x4b0a24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b0a24([0x2e]),'');let _0x5179a4=_0x4b0a24([0x61]);for(let _0x5c073a=0x0;_0x5c073a<_0x1a42b2[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c073a+=0x2){let _0x2cb88f=window[_0x4b0a24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a42b2[_0x4b0a24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c073a,_0x5c073a+0x2));_0x2cb88f>=_0x4fe0e5[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2cb88f-=_0x4fe0e5[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5179a4+=_0x4fe0e5[_0x2cb88f];}return _0x5179a4;}function _0x202981(){const _0x42385f=_0x250a5b[_0x4b0a24([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a24([0x2e]));if(0x3!=_0x42385f[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bbcff(_0x42385f[0x1]);function _0x1bbcff(_0x27f172){const _0x34f344=_0x547e31(_0x27f172);return _0x34f344&&_0x34c584()?_0x34f344:null;function _0x34c584(){const _0x36c39a=_0x34f344[_0x4b0a24([0x6a,0x74,0x69])],_0x28caa0=window[_0x4b0a24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36c39a[_0x4b0a24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36c39a[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xb70201={..._0x34f344,[_0x4b0a24([0x6a,0x74,0x69])]:_0x36c39a[_0x4b0a24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36c39a[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xb70201[_0x4b0a24([0x76,0x63])],_0x4a6bb6(_0xb70201)==_0x28caa0;}}}async function _0x54c1be(){let _0x393847=!0x0;try{const _0xf26b65=_0x250a5b[_0x4b0a24([0x73,0x70,0x6c,0x69,0x74])](_0x4b0a24([0x2e])),[_0x435231,_0x3de4bb,_0x18d7c4]=_0xf26b65;return _0x148af7(_0x435231),await _0x359b60(_0x435231,_0x3de4bb,_0x18d7c4),_0x393847;}catch{return!0x1;}function _0x148af7(_0x20b98e){const _0x3ba250=_0x547e31(_0x20b98e);_0x3ba250&&_0x3ba250[_0x4b0a24([0x61,0x6c,0x67])]==_0x4b0a24([0x45,0x53,0x32,0x35,0x36])||(_0x393847=!0x1);}async function _0x359b60(_0x2da29e,_0x2f6f2e,_0x37a3f0){const _0xd3b5d8=window[_0x4b0a24([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b0a24([0x66,0x72,0x6f,0x6d])](_0x326fda(_0x37a3f0),_0x8c6787=>_0x8c6787[_0x4b0a24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x46e500=new window[(_0x4b0a24([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b0a24([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2da29e+_0x4b0a24([0x2e])+_0x2f6f2e),_0x391dec=window[_0x4b0a24([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b0a24([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x391dec)return;const _0x17316c=await _0x391dec[_0x4b0a24([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b0a24([0x6a,0x77,0x6b]),_0x1323dd,{[_0x4b0a24([0x6e,0x61,0x6d,0x65])]:_0x4b0a24([0x45,0x43,0x44,0x53,0x41]),[_0x4b0a24([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b0a24([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b0a24([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x391dec[_0x4b0a24([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b0a24([0x6e,0x61,0x6d,0x65])]:_0x4b0a24([0x45,0x43,0x44,0x53,0x41]),[_0x4b0a24([0x68,0x61,0x73,0x68])]:{[_0x4b0a24([0x6e,0x61,0x6d,0x65])]:_0x4b0a24([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x17316c,_0xd3b5d8,_0x46e500)||(_0x393847=!0x1);}}function _0x547e31(_0x49b1d7){return _0x49b1d7[_0x4b0a24([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b0a24([0x65,0x79]))?JSON[_0x4b0a24([0x70,0x61,0x72,0x73,0x65])](_0x326fda(_0x49b1d7)):null;}function _0x326fda(_0x4deb7c){return window[_0x4b0a24([0x61,0x74,0x6f,0x62])](_0x4deb7c[_0x4b0a24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b0a24([0x2b]))[_0x4b0a24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b0a24([0x2f])));}function _0x4a6bb6(_0x5744f0){let _0x570b47=0x1505;function _0x2000a1(_0x423453){for(let _0x1f615f=0x0;_0x1f615f<_0x423453[_0x4b0a24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f615f++){const _0x50efac=_0x423453[_0x4b0a24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f615f);_0x570b47=(_0x570b47<<0x5)+_0x570b47+_0x50efac,_0x570b47&=_0x570b47;}}function _0x119528(_0x4d6216){Array[_0x4b0a24([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d6216)?_0x4d6216[_0x4b0a24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x119528):_0x4d6216&&typeof _0x4d6216==_0x4b0a24([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b0a24([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d6216)[_0x4b0a24([0x73,0x6f,0x72,0x74])]()[_0x4b0a24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5e9bcc,_0x1d5cfc])=>{_0x2000a1(_0x5e9bcc),_0x119528(_0x1d5cfc);}):_0x2000a1(window[_0x4b0a24([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d6216));}return _0x119528(_0x5744f0),_0x570b47>>>0x0;}function _0x59903b(_0x24e665){return _0x24e665[_0x4b0a24([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b0a24([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b0a24([0x30]));}function _0x204088(_0x1ee66b){return _0x1ee66b[_0x4b0a24([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b0a24([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b0a24([0x6a,0x6f,0x69,0x6e])]('');}function _0x2698d4(){}function _0x4b0a24(_0x4720b9){return _0x4720b9['map'](_0xbe1b10=>String['fromCharCode'](_0xbe1b10))['join']('');}_0xb536e1(await _0x50fa17());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1ea04b,{outlineDefinitions:_0x4befe1,outlineChanges:_0x2a7fbc}){this['_currentOutlineDefinitions']=_0x4befe1,this['view']['sync'](_0x2a7fbc);}['_setActiveViewItem'](_0x244aa8){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x244aa8]&&(this['view']['activeItemIndex']=_0x244aa8);}['_handleItemSelected'](_0x446a28){const _0x402f18=this['_currentOutlineDefinitions'][_0x446a28]['modelElement'];this['editor']['model']['change'](_0x4a814a=>{_0x4a814a['setSelection'](_0x402f18,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x446a28);}['_updateActiveDefinitionOnViewportChange'](){const _0x843c57=this['editor'];let _0x2bdb69;for(const _0x35d83 of _0x843c57['model']['document']['getRootNames']()){const _0x2b73ff=_0x843c57['editing']['view']['getDomRoot'](_0x35d83),_0x1991a8=_0x2b73ff&&new _0x421dda(_0x2b73ff)['getVisible']();if(_0x1991a8){const _0x3a7e3f=new _0x421dda(_0x56c773['window'])['getIntersection'](_0x1991a8);_0x3a7e3f&&(_0x2bdb69=_0x3a7e3f['top']+0.25*_0x3a7e3f['height']);}}if(void 0x0===_0x2bdb69)return;const _0x331dc0=v(_0x843c57['editing'],this['_currentOutlineDefinitions'],_0x2bdb69);_0x331dc0?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x331dc0)):this['_setActiveViewItem'](-0x1);}}function v(_0x35c584,_0x4e7692,_0x224e9d,_0x1672d3=0x0,_0x17a67f=_0x4e7692['length']-0x1){const _0x21abf3=Math['floor'](_0x1672d3+(_0x17a67f-_0x1672d3)/0x2);if(_0x17a67f>=_0x1672d3){const _0x2d0a53=_0x4e7692[_0x21abf3],_0x347f30=_0x35c584['mapper']['toViewElement'](_0x2d0a53['modelElement']);if(!_0x347f30)return null;const _0x4dee86=_0x35c584['view']['domConverter']['mapViewToDom'](_0x347f30);return new _0x421dda(_0x4dee86)['bottom']>_0x224e9d?v(_0x35c584,_0x4e7692,_0x224e9d,_0x1672d3,_0x21abf3-0x1):v(_0x35c584,_0x4e7692,_0x224e9d,_0x21abf3+0x1,_0x17a67f);}return _0x21abf3<0x0?null:_0x4e7692[_0x21abf3];}class DocumentOutline extends _0x41d703{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[DocumentOutlineUtils,DocumentOutlineUI];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4580f9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2366a2;for(const _0x117232 in _0x4580f9){const _0x1c939c=_0x117232,_0x3d6810=_0x4580f9[_0x1c939c];if('documentOutlineLicenseKeyValid'==_0x3d6810||'documentOutlineLicenseKeyInvalid'==_0x3d6810||'documentOutlineLicenseKeyExpired'==_0x3d6810||'documentOutlineLicenseKeyDomainLimit'==_0x3d6810||'documentOutlineLicenseKeyNotAllowed'==_0x3d6810||'documentOutlineLicenseKeyEvaluationLimit'==_0x3d6810||'documentOutlineLicenseKeyUsageLimit'==_0x3d6810){delete _0x4580f9[_0x1c939c],_0x2366a2=_0x3d6810,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2366a2&&_0x4580f9['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2366a2&&_0x4580f9['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2366a2&&_0x4580f9['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2366a2&&_0x4580f9['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2366a2&&_0x4580f9['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2366a2&&_0x4580f9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x1ee6c1{['execute'](){this['editor']['model']['change'](_0x547714=>{this['editor']['model']['insertObject'](_0x547714['createElement']('tableOfContents'));});}['refresh'](){const _0x1d84c0=this['editor']['model'],_0x36ddaa=_0x1d84c0['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x36ddaa&&_0x1d84c0['schema']['findAllowedParent'](_0x36ddaa,'tableOfContents'));}}class HeadingId extends _0x41d703{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x54e61f=this['editor'];if(_0x54e61f['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x13cee,modelNames:_0x27b125}=function(_0x1be9df){const _0x2e257d=new Set(),_0x928500=new Set();if(!_0x1be9df)return{'viewNames':_0x2e257d,'modelNames':_0x928500};for(const _0x44ddbc of _0x1be9df){if('paragraph'===_0x44ddbc['model'])continue;const _0x549693='string'==typeof _0x44ddbc['view']?_0x44ddbc['view']:_0x44ddbc['view']['name'];_0x2e257d['add'](_0x549693),_0x928500['add'](_0x44ddbc['model']);}return _0x2e257d['has']('h1')||(_0x2e257d['add']('h1'),_0x928500['add']('heading1')),{'viewNames':_0x2e257d,'modelNames':_0x928500};}(this['editor']['config']['get']('heading.options'));for(const _0x1be99a of _0x13cee)this['_customUpcastHeadingsConversion'](_0x1be99a);for(const _0x45d3e5 of _0x27b125)this['_customDataDowncastHeadingsConversion'](_0x45d3e5),_0x54e61f['model']['schema']['isRegistered'](_0x45d3e5)&&_0x54e61f['model']['schema']['extend'](_0x45d3e5,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x27b125);}['_customUpcastHeadingsConversion'](_0x3b901c){this['editor']['conversion']['for']('upcast')['add'](_0x556a3c=>_0x556a3c['on']('element:'+_0x3b901c,(_0x3325aa,_0x53aed6,_0x55432c)=>{const {consumable:_0x1fac64,writer:_0x424395}=_0x55432c,_0x6a387=_0x53aed6['viewItem']['getAttribute']('id'),_0x5dfbac=_0x53aed6['modelRange']['getContainedElement']();if(_0x5dfbac)return _0x6a387&&_0x6a387['length']||_0x5dfbac['hasAttribute']('headingId')?void(_0x1fac64['consume'](_0x53aed6['viewItem'],{'attributes':['id']})&&_0x424395['setAttribute']('headingId',_0x6a387,_0x5dfbac)):(_0x1fac64['consume'](_0x53aed6['viewItem'],{'attributes':['id']}),void _0x424395['setAttribute']('headingId',_0xa534d3(),_0x5dfbac));},{'priority':_0xb4e830['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x42a5e2){this['editor']['conversion']['for']('downcast')['add'](_0x3e5c16=>_0x3e5c16['on']('attribute:headingId:'+_0x42a5e2,(_0x4b006c,_0x21ca6d,_0x3c8d37)=>{if(!_0x3c8d37['consumable']['consume'](_0x21ca6d['item'],_0x4b006c['name']))return;const _0x14edff=_0x21ca6d['item']['getAttribute']('headingId'),_0x148d40=_0x3c8d37['mapper']['toViewElement'](_0x21ca6d['item']);_0x3c8d37['writer']['setAttribute']('id',_0x14edff,_0x148d40);}));}['_registerHeadingIdAttributePostfixer'](_0x6cc85d){const _0x5d22c5=this['editor'],_0x219cf1=new Set(),_0x45f410=new Set();function _0x57b32e(_0x597839,_0x36d845){const _0x473e7c=_0xa534d3();return _0x45f410['add'](_0x473e7c),_0x597839['setAttribute']('headingId',_0x473e7c,_0x36d845),_0x473e7c;}function _0x16f64d(_0x373635,_0x943e35){_0x373635['removeAttribute']('headingId',_0x943e35);}_0x5d22c5['model']['document']['registerPostFixer'](_0x21a656=>{const _0x5323e7=_0x5d22c5['model']['document']['differ']['getChanges']();let _0x7ed802=!0x1;for(const _0x262459 of _0x5323e7)if('insert'==_0x262459['type']&&_0x262459['name']){if(_0x6cc85d['has'](_0x262459['name'])){const _0x33b9d6=_0x262459['attributes']['get']('headingId');'string'==typeof _0x33b9d6?_0x219cf1['has'](_0x33b9d6)?(_0x57b32e(_0x21a656,_0x262459['position']['nodeAfter']),_0x7ed802=!0x0):_0x45f410['add'](_0x33b9d6):(_0x57b32e(_0x21a656,_0x262459['position']['nodeAfter']),_0x7ed802=!0x0);}else'string'==typeof _0x262459['attributes']['get']('headingId')&&(_0x16f64d(_0x21a656,_0x262459['position']['nodeAfter']),_0x7ed802=!0x0);}else{if('remove'==_0x262459['type']){const _0x45a1d4=_0x262459['attributes']['get']('headingId');'string'==typeof _0x45a1d4&&_0x219cf1['delete'](_0x45a1d4);}}return _0x7ed802;}),_0x5d22c5['model']['document']['on']('change',()=>{_0x45f410['forEach'](_0x214950=>_0x219cf1['add'](_0x214950)),_0x45f410['clear']();});}}class TableOfContentsEditing extends _0x41d703{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4addfb,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x1c8cc4){super(_0x1c8cc4),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x466910=this['editor'],_0x4fd5e0=_0x466910['editing']['view']['document'];_0x466910['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x466910['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x4fd5e0,'click',(_0x818c71,_0x215954)=>{if(!_0x215954['target'])return;const _0x11ae0e=_0x215954['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x11ae0e)&&(_0x215954['domEvent']['preventDefault'](),_0x818c71['stop'](),this['_handleScrollToHeading'](_0x11ae0e));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x466910['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x466910));const _0x172a52=_0x466910['config']['get']('tableOfContents.headings');if(_0x172a52&&_0x172a52['length'])this['listenTo'](_0x466910['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x172a52),this['_updateTableOfContentsElements']();});else _0x466910['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x30b010,_0x28847c)=>{this['_currentOutlineDefinitions']=_0x28847c['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x466910['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x4bc208){const _0x184716=_0x37c38d([0x6d,0x72,0x34,0x7a,0x32,0x79,0x61,0x6b,0x4d,0x33,0x78,0x30,0x70,0x68,0x74,0x44,0x37,0x6a,0x42,0x77,0x31,0x54,0x36,0x71,0x52,0x66,0x65,0x55,0x75,0x5a,0x63,0x4f,0x4c,0x4e,0x4b,0x56,0x67,0x51,0x53,0x50,0x45,0x39,0x69,0x47,0x49,0x48,0x6f,0x58,0x6c,0x4a,0x57,0x38,0x59,0x73,0x43,0x62,0x35,0x41,0x6e,0x64,0x46,0x76]),_0x2ceccb=0x6b9b05fd,_0x22c33b=0x6b9c8e5d^_0x2ceccb,_0x29965d=window[_0x37c38d([0x44,0x61,0x74,0x65])][_0x37c38d([0x6e,0x6f,0x77])](),_0x535a85=_0x4bc208[_0x37c38d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5b5f34=new window[(_0x37c38d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x300604=>{_0x535a85[_0x37c38d([0x6f,0x6e,0x63,0x65])](_0x37c38d([0x72,0x65,0x61,0x64,0x79]),_0x300604);}),_0x6900e0={[_0x37c38d([0x6b,0x74,0x79])]:_0x37c38d([0x45,0x43]),[_0x37c38d([0x75,0x73,0x65])]:_0x37c38d([0x73,0x69,0x67]),[_0x37c38d([0x63,0x72,0x76])]:_0x37c38d([0x50,0x2d,0x32,0x35,0x36]),[_0x37c38d([0x78])]:_0x37c38d([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]),[_0x37c38d([0x79])]:_0x37c38d([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]),[_0x37c38d([0x61,0x6c,0x67])]:_0x37c38d([0x45,0x53,0x32,0x35,0x36])},_0xe5183f=_0x535a85[_0x37c38d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37c38d([0x67,0x65,0x74])](_0x37c38d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x473d92(){let _0x575f5e,_0xaf6d64=null,_0xc39a4d=null;try{if(_0xe5183f==_0x37c38d([0x47,0x50,0x4c]))return _0x37c38d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x575f5e=_0x3c1bfd(),!_0x575f5e)return _0x37c38d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x575f5e[_0x37c38d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc39a4d=_0x3d2826(_0x575f5e[_0x37c38d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x575f5e[_0x37c38d([0x6a,0x74,0x69])])),await _0x4e8eb3()?_0x428f5c()?_0x49b0ec()?_0x37c38d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x573ffb()?(_0x575f5e[_0x37c38d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37c38d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xaf6d64=_0x4cd46f(_0x37c38d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e8ad2()):_0x37c38d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37c38d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37c38d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x37c38d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x49b0ec(){const _0x916c81=[_0x37c38d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37c38d([0x74,0x72,0x69,0x61,0x6c])][_0x37c38d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x575f5e[_0x37c38d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29965d/0x3e8:0xe10*_0x22c33b;return _0x575f5e[_0x37c38d([0x65,0x78,0x70])]<_0x916c81;}function _0x428f5c(){const _0x1236f2=_0x575f5e[_0x37c38d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1236f2&&(!!_0x1236f2[_0x37c38d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c38d([0x2a]))||(!!_0x1236f2[_0x37c38d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c38d([0x54,0x4f,0x43]))||(!!_0x1236f2[_0x37c38d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c38d([0x50,0x50]))||!(!_0x1236f2[_0x37c38d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c38d([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x56cf4a()))));}function _0x573ffb(){const _0x30c059=_0x575f5e[_0x37c38d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30c059||0x0==_0x30c059[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3732e1}=new URL(window[_0x37c38d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30c059[_0x37c38d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3732e1))return!0x0;const _0x26434a=_0x3732e1[_0x37c38d([0x73,0x70,0x6c,0x69,0x74])](_0x37c38d([0x2e]));return _0x30c059[_0x37c38d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5dcf42=>_0x5dcf42[_0x37c38d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37c38d([0x2a])))[_0x37c38d([0x6d,0x61,0x70])](_0x21f24b=>_0x21f24b[_0x37c38d([0x73,0x70,0x6c,0x69,0x74])](_0x37c38d([0x2e])))[_0x37c38d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x634391=>_0x634391[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26434a[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37c38d([0x6d,0x61,0x70])](_0x158a14=>Array(_0x26434a[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x158a14[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37c38d([0x66,0x69,0x6c,0x6c])](_0x158a14[0x0]===_0x37c38d([0x2a])?_0x37c38d([0x2a]):'')[_0x37c38d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x158a14))[_0x37c38d([0x73,0x6f,0x6d,0x65])](_0x512f77=>_0x26434a[_0x37c38d([0x65,0x76,0x65,0x72,0x79])]((_0x99d5c4,_0x57918e)=>_0x512f77[_0x57918e]===_0x99d5c4||_0x512f77[_0x57918e]===_0x37c38d([0x2a])));}function _0x2e8ad2(){return _0xaf6d64&&_0xc39a4d?new window[(_0x37c38d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x32dc1f,_0x20ac22)=>{_0xaf6d64[_0x37c38d([0x74,0x68,0x65,0x6e])](_0x32dc1f,_0x20ac22),_0xc39a4d[_0x37c38d([0x74,0x68,0x65,0x6e])](_0x2837e4=>{_0x2837e4!=_0x37c38d([0x56,0x61,0x6c,0x69,0x64])&&_0x32dc1f(_0x2837e4);},_0x20ac22);}):_0xaf6d64||_0xc39a4d||_0x37c38d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d2826(_0x5ad3ca,_0x1c60ac){return new window[(_0x37c38d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f4792=>{if(_0x4a824d())return _0x3f4792(_0x37c38d([0x56,0x61,0x6c,0x69,0x64]));_0x2958e8(),_0x535a85[_0x37c38d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37c38d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x101974=!0x1;const _0x2a5392=_0xa534d3();function _0x1b0e1b(_0x281a05){return!!_0x281a05&&(typeof _0x281a05===_0x37c38d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x281a05===_0x37c38d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x281a05[_0x37c38d([0x74,0x68,0x65,0x6e])]===_0x37c38d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x281a05[_0x37c38d([0x63,0x61,0x74,0x63,0x68])]===_0x37c38d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29dddd(_0x3ab655){_0x7f8b71(_0x3ab655)[_0x37c38d([0x74,0x68,0x65,0x6e])](_0x3a3385=>{if(!_0x3a3385||_0x3a3385[_0x37c38d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37c38d([0x6f,0x6b]))return _0x37c38d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31f548(_0x46bf1c(_0x2a5392+_0x1c60ac))!=_0x3a3385[_0x37c38d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37c38d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37c38d([0x56,0x61,0x6c,0x69,0x64]);})[_0x37c38d([0x74,0x68,0x65,0x6e])](_0x2f2869=>(_0x2aa2b0(),_0x2f2869),()=>{const _0x7e6c79=_0x470fc2();return null==_0x7e6c79?(_0x2aa2b0(),_0x37c38d([0x56,0x61,0x6c,0x69,0x64])):_0x37c38d(_0x29965d-_0x7e6c79>(0x4f9781fd^_0x2ceccb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37c38d([0x74,0x68,0x65,0x6e])](_0x3f4792)[_0x37c38d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f4792(_0x37c38d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5984ea=0x6badeb7d^_0x2ceccb;function _0x2aa2b0(){const _0xfc1c28=_0x37c38d([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f548(_0x46bf1c(_0x5ad3ca)),_0x44634d=_0x58aa76(_0x31f548(window[_0x37c38d([0x4d,0x61,0x74,0x68])][_0x37c38d([0x63,0x65,0x69,0x6c])](_0x29965d/_0x5984ea)));window[_0x37c38d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37c38d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xfc1c28,_0x44634d);}function _0x470fc2(){const _0x53ecdd=_0x37c38d([0x6c,0x6c,0x63,0x74,0x2d])+_0x31f548(_0x46bf1c(_0x5ad3ca)),_0x1ca383=window[_0x37c38d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37c38d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53ecdd);return _0x1ca383?window[_0x37c38d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58aa76(_0x1ca383),0x10)*_0x5984ea:null;}function _0x7f8b71(_0x50d0e0){return new window[(_0x37c38d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a061c,_0x551be7)=>{_0x50d0e0[_0x37c38d([0x74,0x68,0x65,0x6e])](_0x2a061c,_0x551be7),window[_0x37c38d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x551be7,0x6b9ad13d^_0x2ceccb);});}}_0x535a85[_0x37c38d([0x6f,0x6e])](_0x37c38d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2e4ba9,_0x33e4a8)=>{if(_0x33e4a8[0x0]!=_0x5ad3ca)return _0x3f4792(_0x37c38d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33e4a8[0x1]={..._0x33e4a8[0x1],[_0x37c38d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a5392};},{[_0x37c38d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37c38d([0x68,0x69,0x67,0x68])}),_0x535a85[_0x37c38d([0x6f,0x6e])](_0x37c38d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x467b2d=>{_0x1b0e1b(_0x467b2d[_0x37c38d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x101974=!0x0,_0x29dddd(_0x467b2d[_0x37c38d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37c38d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37c38d([0x6c,0x6f,0x77])}),_0x5b5f34[_0x37c38d([0x74,0x68,0x65,0x6e])](()=>{_0x101974||_0x3f4792(_0x37c38d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a824d(){return _0x535a85[_0x37c38d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37c38d([0x76,0x69,0x65,0x77])][_0x37c38d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37c38d([0x61,0x75,0x74,0x6f]);}function _0x2958e8(){_0x535a85[_0x37c38d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37c38d([0x76,0x69,0x65,0x77])][_0x37c38d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37c38d([0x61,0x75,0x74,0x6f]);}}function _0x4cd46f(_0x1bf845){const _0x219237=[new window[(_0x37c38d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a41f9=>setTimeout(_0x1a41f9,0x6b923b31^_0x2ceccb)),_0x5b5f34[_0x37c38d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37c38d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd995e1=>{let _0x3a1a6a=0x0;_0x535a85[_0x37c38d([0x6d,0x6f,0x64,0x65,0x6c])][_0x37c38d([0x6f,0x6e])](_0x37c38d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2eaddc,_0x252eea)=>{_0x252eea[0x0][_0x37c38d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a1a6a++,_0x3a1a6a==(0x6b9b0015^_0x2ceccb)&&(_0xd995e1(),_0x2eaddc[_0x37c38d([0x6f,0x66,0x66])]());});}))];return window[_0x37c38d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37c38d([0x72,0x61,0x63,0x65])](_0x219237)[_0x37c38d([0x74,0x68,0x65,0x6e])](()=>_0x1bf845);}async function _0x59922a(){await _0x5b5f34,_0x535a85[_0x37c38d([0x6d,0x6f,0x64,0x65,0x6c])][_0x37c38d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3abe1f,_0x535a85[_0x37c38d([0x6d,0x6f,0x64,0x65,0x6c])][_0x37c38d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3abe1f,_0x535a85[_0x37c38d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37c38d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56cf4a(){return window[_0x37c38d([0x67,0x6c,0x6f,0x62])]&&window[_0x37c38d([0x67,0x6c,0x6f,0x62])][_0x37c38d([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x47d0cd(_0x465a43){const _0x3b68ea=_0xc48e5e();_0x535a85[_0x3b68ea]=_0x37c38d([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])+_0x465a43,_0x465a43!=_0x37c38d([0x56,0x61,0x6c,0x69,0x64])&&_0x59922a();}function _0xc48e5e(){const _0x3ecbbc=window[_0x37c38d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37c38d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37c38d([0x6e,0x6f,0x77])]())[_0x37c38d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37c38d([0x2e]),'');let _0x27cbea=_0x37c38d([0x6d]);for(let _0x297fc2=0x0;_0x297fc2<_0x3ecbbc[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297fc2+=0x2){let _0x5c181c=window[_0x37c38d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ecbbc[_0x37c38d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x297fc2,_0x297fc2+0x2));_0x5c181c>=_0x184716[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c181c-=_0x184716[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27cbea+=_0x184716[_0x5c181c];}return _0x27cbea;}function _0x3c1bfd(){const _0x5710fb=_0xe5183f[_0x37c38d([0x73,0x70,0x6c,0x69,0x74])](_0x37c38d([0x2e]));if(0x3!=_0x5710fb[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x467b1a(_0x5710fb[0x1]);function _0x467b1a(_0x4d487a){const _0x6beeea=_0x62352b(_0x4d487a);return _0x6beeea&&_0x5f46d4()?_0x6beeea:null;function _0x5f46d4(){const _0x24e8d2=_0x6beeea[_0x37c38d([0x6a,0x74,0x69])],_0x3302f9=window[_0x37c38d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24e8d2[_0x37c38d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x24e8d2[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x557959={..._0x6beeea,[_0x37c38d([0x6a,0x74,0x69])]:_0x24e8d2[_0x37c38d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x24e8d2[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x557959[_0x37c38d([0x76,0x63])],_0x46bf1c(_0x557959)==_0x3302f9;}}}async function _0x4e8eb3(){let _0x342224=!0x0;try{const _0x3d576a=_0xe5183f[_0x37c38d([0x73,0x70,0x6c,0x69,0x74])](_0x37c38d([0x2e])),[_0x5b4a36,_0x282700,_0x13f68a]=_0x3d576a;return _0x3e326a(_0x5b4a36),await _0x590359(_0x5b4a36,_0x282700,_0x13f68a),_0x342224;}catch{return!0x1;}function _0x3e326a(_0x52c4ed){const _0x45cc6d=_0x62352b(_0x52c4ed);_0x45cc6d&&_0x45cc6d[_0x37c38d([0x61,0x6c,0x67])]==_0x37c38d([0x45,0x53,0x32,0x35,0x36])||(_0x342224=!0x1);}async function _0x590359(_0x196a0d,_0x208fec,_0x4a2eb1){const _0xffc6ca=window[_0x37c38d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37c38d([0x66,0x72,0x6f,0x6d])](_0x5539f0(_0x4a2eb1),_0x44cc6b=>_0x44cc6b[_0x37c38d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36be79=new window[(_0x37c38d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37c38d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x196a0d+_0x37c38d([0x2e])+_0x208fec),_0x310613=window[_0x37c38d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37c38d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x310613)return;const _0x23b20e=await _0x310613[_0x37c38d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37c38d([0x6a,0x77,0x6b]),_0x6900e0,{[_0x37c38d([0x6e,0x61,0x6d,0x65])]:_0x37c38d([0x45,0x43,0x44,0x53,0x41]),[_0x37c38d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37c38d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37c38d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x310613[_0x37c38d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37c38d([0x6e,0x61,0x6d,0x65])]:_0x37c38d([0x45,0x43,0x44,0x53,0x41]),[_0x37c38d([0x68,0x61,0x73,0x68])]:{[_0x37c38d([0x6e,0x61,0x6d,0x65])]:_0x37c38d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23b20e,_0xffc6ca,_0x36be79)||(_0x342224=!0x1);}}function _0x62352b(_0x12cafa){return _0x12cafa[_0x37c38d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37c38d([0x65,0x79]))?JSON[_0x37c38d([0x70,0x61,0x72,0x73,0x65])](_0x5539f0(_0x12cafa)):null;}function _0x5539f0(_0x1abf48){return window[_0x37c38d([0x61,0x74,0x6f,0x62])](_0x1abf48[_0x37c38d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37c38d([0x2b]))[_0x37c38d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37c38d([0x2f])));}function _0x46bf1c(_0x467885){let _0x17eaba=0x1505;function _0x4bc344(_0x1cfa07){for(let _0x37ba26=0x0;_0x37ba26<_0x1cfa07[_0x37c38d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37ba26++){const _0x2795f5=_0x1cfa07[_0x37c38d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x37ba26);_0x17eaba=(_0x17eaba<<0x5)+_0x17eaba+_0x2795f5,_0x17eaba&=_0x17eaba;}}function _0x4f3be3(_0x241dd5){Array[_0x37c38d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x241dd5)?_0x241dd5[_0x37c38d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f3be3):_0x241dd5&&typeof _0x241dd5==_0x37c38d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37c38d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x241dd5)[_0x37c38d([0x73,0x6f,0x72,0x74])]()[_0x37c38d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ff95b,_0x38bb2c])=>{_0x4bc344(_0x3ff95b),_0x4f3be3(_0x38bb2c);}):_0x4bc344(window[_0x37c38d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x241dd5));}return _0x4f3be3(_0x467885),_0x17eaba>>>0x0;}function _0x31f548(_0x28c633){return _0x28c633[_0x37c38d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37c38d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37c38d([0x30]));}function _0x58aa76(_0x4ffbb3){return _0x4ffbb3[_0x37c38d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37c38d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37c38d([0x6a,0x6f,0x69,0x6e])]('');}function _0x3abe1f(){}function _0x37c38d(_0xabbbcf){return _0xabbbcf['map'](_0x2d80c4=>String['fromCharCode'](_0x2d80c4))['join']('');}_0x47d0cd(await _0x473d92());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x32eff4=>{'$graveyard'!==_0x32eff4['rootName']&&this['editor']['editing']['reconvertItem'](_0x32eff4);});}['_trackNewToCElements'](){for(const _0x49ba38 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x49ba38['type']||'tableOfContents'!==_0x49ba38['name'])return;this['_tableOfContentsElements']['add'](_0x49ba38['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x26552a){const _0x97d4c0=this['editor'],_0x4f8d57=[];for(const _0x493d17 of _0x97d4c0['model']['document']['getRootNames']())_0x35eb04(_0x97d4c0['model']['document']['getRoot'](_0x493d17));function _0x35eb04(_0xe1435c){for(const _0xd7dc62 of _0xe1435c['getChildren']())_0xd7dc62['is']('element')&&(_0x26552a['includes'](_0xd7dc62['name'])&&_0x4f8d57['push']({'level':_0x26552a['indexOf'](_0xd7dc62['name'])+0x1,'text':I(_0xd7dc62),'modelElement':_0xd7dc62}),_0x35eb04(_0xd7dc62));}return _0x4f8d57;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x4e6824=this['editor']['conversion'];_0x4e6824['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x4e6824['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x52bca9,{writer:_0x19d24a})=>this['_createTableOfContents'](_0x19d24a,!0x0)}),_0x4e6824['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x3f6c50,{writer:_0x1d8465})=>{this['_tableOfContentsElements']['add'](_0x3f6c50);const _0xfdfa91=this['_createTableOfContents'](_0x1d8465);return _0x36da9d(_0xfdfa91,_0x1d8465,{'label':C(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'](_0x104571,_0x3a9dd5=!0x1){const {locale:_0x52fa03}=this['editor'],_0xa679b9=_0x104571['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x3a9dd5&&{'data-table-of-contents-label':C(_0x52fa03,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x3a9dd5&&_0x104571['insert'](_0x104571['createPositionAt'](_0xa679b9,'end'),_0x104571['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x104571['createText'](C(_0x52fa03,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1a994a=_0x3a9dd5?'':'['+C(_0x52fa03,'Empty\x20heading')+']';let _0x27d8fd=_0xa679b9;return this['_currentOutlineDefinitions']['forEach']((_0x4196f3,_0x48e80,_0x1865ae)=>{const _0xeb4ae7=this['editor']['model']['hasContent'](_0x4196f3['modelElement'],{'ignoreWhitespaces':!0x0}),_0x19b66a=_0xeb4ae7?_0x4196f3['text']:_0x1a994a,_0x1dd426=_0x4196f3['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2c587f=_0x104571['createContainerElement']('a',{'href':'#'+_0x1dd426,...!_0x3a9dd5&&{'tabindex':'-1'}},[_0x104571['createText'](_0x19b66a)]),_0xe4b718=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x104571['setCustomProperty']('tableOfContentsHeadingIndex',_0x48e80,_0x2c587f);const _0x43ed8a=_0x104571['createContainerElement']('li',null,[_0xeb4ae7||!_0x3a9dd5&&_0xe4b718?_0x2c587f:_0x104571['createText']('')]),_0xe2f76=_0x48e80?_0x1865ae[_0x48e80-0x1]['level']:0x0,_0x51be0d=Math['abs'](_0x4196f3['level']-_0xe2f76);if(_0x4196f3['level']>_0xe2f76){const _0x495eb8=_(_0x43ed8a,_0x51be0d,_0x104571);_0x104571['insert'](_0x104571['createPositionAt'](_0x27d8fd,'end'),_0x495eb8);}else{const _0x5c39c1=function(_0x558579,_0x164ec6){return _0x558579['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0xfe3e43=>_0xfe3e43['is']('element','ol'))[_0x164ec6];}(_0x27d8fd,_0x51be0d);_0x104571['insert'](_0x104571['createPositionAt'](_0x5c39c1,'end'),_0x43ed8a);}_0x27d8fd=_0x43ed8a;}),_0xa679b9;}['_handleScrollToHeading'](_0x574c75){const _0x10e1f7=this['_currentOutlineDefinitions'][_0x574c75]['modelElement'];this['editor']['model']['change'](_0x1c15ba=>{_0x1c15ba['setSelection'](_0x10e1f7,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x1f56a3,_0x5407d7)=>{const _0x29faf6=_0x5407d7['mapper'],_0x20a3da=_0x29faf6['findMappedViewAncestor'](_0x5407d7['viewPosition']),_0x70a9df=_0x29faf6['toModelElement'](_0x20a3da);_0x70a9df['is']('element','tableOfContents')&&(_0x5407d7['modelPosition']=this['editor']['model']['createPositionAt'](_0x70a9df,0x0),_0x1f56a3['stop']());};}}function _(_0x5a0d37,_0x599f67,_0x478648){return 0x1===_0x599f67?_0x478648['createContainerElement']('ol',null,[_0x5a0d37]):_0x478648['createContainerElement']('ol',null,[_0x478648['createContainerElement']('li',null,[_(_0x5a0d37,_0x599f67-0x1,_0x478648)])]);}class TableOfContentsUI extends _0x41d703{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x172d71=this['editor'];_0x172d71['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x450e0e=this['_createButton'](_0x4924e1);return _0x450e0e['tooltip']=!0x0,_0x450e0e;}),_0x172d71['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0xfb1d44)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x94f879=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a8717;for(const _0x2d2b7e in _0x94f879){const _0x43a224=_0x2d2b7e,_0xc62c2f=_0x94f879[_0x43a224];if('tableOfContentsLicenseKeyValid'==_0xc62c2f||'tableOfContentsLicenseKeyInvalid'==_0xc62c2f||'tableOfContentsLicenseKeyExpired'==_0xc62c2f||'tableOfContentsLicenseKeyDomainLimit'==_0xc62c2f||'tableOfContentsLicenseKeyNotAllowed'==_0xc62c2f||'tableOfContentsLicenseKeyEvaluationLimit'==_0xc62c2f||'tableOfContentsLicenseKeyUsageLimit'==_0xc62c2f){delete _0x94f879[_0x43a224],_0x5a8717=_0xc62c2f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x5a8717&&_0x94f879['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x5a8717&&_0x94f879['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x5a8717&&_0x94f879['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x5a8717&&_0x94f879['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x5a8717&&_0x94f879['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x5a8717&&_0x94f879['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0xc13d21){const _0x532c60=this['editor'],_0x197f2e=_0x532c60['locale'],_0x3df303=_0x532c60['commands']['get']('insertTableOfContents'),_0x52f332=new _0xc13d21(_0x197f2e);return _0x52f332['set']({'label':C(_0x197f2e,'Table\x20of\x20contents'),'icon':_0x54ef3f}),_0x52f332['bind']('isEnabled')['to'](_0x3df303,'isEnabled'),this['listenTo'](_0x52f332,'execute',()=>{_0x532c60['execute']('insertTableOfContents'),_0x532c60['editing']['view']['focus']();}),_0x52f332;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x41d703{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{DocumentOutline,DocumentOutlineUI,DocumentOutlineUtils,HeadingId,TableOfContents,TableOfContentsCommand,TableOfContentsEditing,TableOfContentsUI};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-document-outline",
|
|
3
|
-
"version": "48.2.0-alpha.
|
|
3
|
+
"version": "48.2.0-alpha.4",
|
|
4
4
|
"description": "Document outline feature for CKEditor 5.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ckeditor/ckeditor5-core": "48.2.0-alpha.
|
|
25
|
-
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.
|
|
26
|
-
"@ckeditor/ckeditor5-heading": "48.2.0-alpha.
|
|
27
|
-
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.
|
|
28
|
-
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.
|
|
29
|
-
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.
|
|
30
|
-
"@ckeditor/ckeditor5-widget": "48.2.0-alpha.
|
|
24
|
+
"@ckeditor/ckeditor5-core": "48.2.0-alpha.4",
|
|
25
|
+
"@ckeditor/ckeditor5-engine": "48.2.0-alpha.4",
|
|
26
|
+
"@ckeditor/ckeditor5-heading": "48.2.0-alpha.4",
|
|
27
|
+
"@ckeditor/ckeditor5-icons": "48.2.0-alpha.4",
|
|
28
|
+
"@ckeditor/ckeditor5-ui": "48.2.0-alpha.4",
|
|
29
|
+
"@ckeditor/ckeditor5-utils": "48.2.0-alpha.4",
|
|
30
|
+
"@ckeditor/ckeditor5-widget": "48.2.0-alpha.4",
|
|
31
31
|
"es-toolkit": "1.45.1"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|