@ckeditor/ckeditor5-document-outline 48.8.1-alpha.4 → 49.0.0-alpha.0
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/LICENSE.md +1 -1
- package/dist/augmentation.d.ts +31 -31
- package/dist/documentoutline/documentoutlineui.d.ts +42 -43
- package/dist/documentoutline/documentoutlineutils.d.ts +58 -60
- package/dist/documentoutline/ui/documentoutlineitemview.d.ts +43 -43
- package/dist/documentoutline/ui/documentoutlineview.d.ts +49 -49
- package/dist/documentoutline/utils.d.ts +11 -11
- package/dist/documentoutline.d.ts +91 -91
- package/dist/index-content.css +33 -31
- package/dist/index-editor.css +143 -132
- package/dist/index.css +157 -138
- package/dist/index.d.ts +16 -14
- package/dist/index.js +1 -1
- package/dist/legacyerrors.d.ts +0 -4
- package/dist/tableofcontents/headingid.d.ts +22 -22
- package/dist/tableofcontents/tableofcontentscommand.d.ts +17 -17
- package/dist/tableofcontents/tableofcontentsediting.d.ts +39 -40
- package/dist/tableofcontents/tableofcontentsui.d.ts +23 -23
- package/dist/tableofcontents.d.ts +68 -68
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/utils/common-translations.d.ts +6 -6
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x4bcd3e,Command as _0x429ef8}from'@ckeditor/ckeditor5-core/dist/index.js';import{debounce as _0x503350,throttle as _0x17ce26}from'es-toolkit/compat';import{ModelText as _0x1ef277,ModelTreeWalker as _0x11e75f}from'@ckeditor/ckeditor5-engine/dist/index.js';import{diff as _0xa3b9a3,diffToChanges as _0x4775fb,scrollAncestorsToShowTarget as _0x4ec294,CKEditorError as _0x14d477,global as _0x57be6a,Rect as _0x526217,uid as _0x462a17,priorities as _0x4c2a59}from'@ckeditor/ckeditor5-utils/dist/index.js';import{View as _0x442f21,ButtonView as _0x47e791,MenuBarMenuListItemButtonView as _0x5a4b67}from'@ckeditor/ckeditor5-ui/dist/index.js';import{Widget as _0x29fb16,toWidget as _0x159e01}from'@ckeditor/ckeditor5-widget/dist/index.js';import{IconTableOfContents as _0x51f915}from'@ckeditor/ckeditor5-icons/dist/index.js';function I(_0x22791d){let _0x7af832='';for(const _0x57143e of _0x22791d['getChildren']())_0x57143e instanceof _0x1ef277&&(_0x7af832+=_0x57143e['data']);return _0x7af832;}class DocumentOutlineUtils extends _0x4bcd3e{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x49c717=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x3f2287=[];_0x49c717['model']['document']['on']('change',_0x503350(()=>{const _0xb0347d=_0x3f2287;_0x3f2287=this['_getOutlineDefinitions']();const _0x529945=_0xa3b9a3(_0xb0347d,_0x3f2287,(_0x1f7db7,_0x57b6c8)=>_0x1f7db7['level']===_0x57b6c8['level']&&_0x1f7db7['text']===_0x57b6c8['text']&&_0x1f7db7['modelElement']===_0x57b6c8['modelElement']),_0x247a09=_0x4775fb(_0x529945,_0x3f2287),_0x23ebf5=this['_getActiveHeading'](),_0x528ccd=_0x3f2287['findIndex'](_0x15e9bf=>_0x15e9bf['modelElement']===_0x23ebf5);_0x247a09['length']&&this['fire']('change',{'outlineDefinitions':_0x3f2287,'activeItemIndex':_0x528ccd,'outlineChanges':_0x247a09}),this['fire']('activeItemIndex',{'index':_0x528ccd});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x428d70=this['editor'],_0x5cc8a4=[],_0x11526c=this['_headingNames'];for(const _0x5ab8c4 of _0x428d70['model']['document']['getRootNames']())_0x25ef80(_0x428d70['model']['document']['getRoot'](_0x5ab8c4));function _0x25ef80(_0x47b9cb){for(const _0x105673 of _0x47b9cb['getChildren']())_0x105673['is']('element')&&(_0x11526c['includes'](_0x105673['name'])&&_0x5cc8a4['push']({'level':_0x11526c['indexOf'](_0x105673['name'])+0x1,'text':I(_0x105673),'modelElement':_0x105673}),_0x25ef80(_0x105673));}return _0x5cc8a4;}['_getActiveHeading'](){const _0x1ff3f5=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x77a5f5=new _0x11e75f({'direction':'backward','startPosition':_0x1ff3f5});for(const _0x3add30 of _0x77a5f5)if(_0x3add30['item']['is']('element')&&this['_headingNames']['includes'](_0x3add30['item']['name']))return _0x3add30['item'];}['_getHeadingNames'](){const _0x3a61b2=this['editor']['config']['get']('documentOutline.headings');return _0x3a61b2||function(_0x516053){const _0x5c76b4=_0x516053['config']['get']('heading.options');return _0x5c76b4?_0x5c76b4['reduce']((_0xdaf511,_0x649630)=>('paragraph'!==_0x649630['model']&&_0xdaf511['push'](_0x649630['model']),_0xdaf511),[]):_0x516053['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x213680=this['editor'],_0x8acf2b=['h1','h2','h3','h4','h5','h6'],_0x34fd71=[];for(const _0x207b28 of _0x8acf2b){const _0x538739=_0x213680['editing']['view']['domConverter']['domToView'](document['createElement'](_0x207b28)),_0x55f18b=_0x213680['data']['toModel'](_0x538739)['getChild'](0x0);_0x55f18b?.['is']('element')&&_0x34fd71['push'](_0x55f18b['name']);}this['_headingNames']=_0x34fd71;}}function C(_0x2d37e4,_0x41c73c){const t=_0x2d37e4['t'];switch(_0x41c73c){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 _0x41c73c;}}class DocumentOutlineItemView extends _0x442f21{constructor(_0x22e772,_0x254aa6=!0x1){super(_0x22e772);const _0x20ec5c=this['bindTemplate'],_0x48dd4b=_0x254aa6?'['+C(_0x22e772,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5a779d=>!_0x5a779d),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x20ec5c['to']('level',_0x29b813=>'ck-document-outline__item_level-'+_0x29b813),_0x20ec5c['if']('isActive','ck-document-outline__item_active'),_0x20ec5c['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x20ec5c['to']('text')},'children':[{'text':_0x20ec5c['to']('text',_0x2b8da9=>_0x2b8da9||_0x48dd4b)}],'on':{'click':_0x20ec5c['to']('click')}});}}class DocumentOutlineView extends _0x442f21{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x5c6085,_0x41f159=!0x1,_0xe03b5c){super(_0x5c6085),this['showEmptyHeadingText']=_0x41f159,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xe03b5c,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x139bab,_0x73e9ab,_0xa33bc0,_0x562b43)=>{this['_setActiveItem'](_0x562b43,_0xa33bc0);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x5c6085['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0x5c6085,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5f45a6){_0x5f45a6['forEach'](_0x389f99=>{'insert'==_0x389f99['type']?this['_insertItem'](_0x389f99['index'],..._0x389f99['values']):'delete'==_0x389f99['type']&&this['_deleteItem'](_0x389f99['index'],_0x389f99['howMany']);});}['_setActiveItem'](_0x26128e,_0x2c52a){if(-0x1!==_0x26128e){const _0x38c4b0=this['items']['get'](_0x26128e);_0x38c4b0&&(_0x38c4b0['isActive']=!0x1);}-0x1!==_0x2c52a&&(this['items']['get'](_0x2c52a)['isActive']=!0x0,this['_scrollToItem'](_0x2c52a));}['_insertItem'](_0xffb1a,..._0x4f102f){const _0x5ba280=_0x4f102f['map']((_0x56f06e,_0x2b8b65)=>{const _0xa7efa4=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0xa7efa4['text']=_0x56f06e['text'],_0xa7efa4['level']=_0x56f06e['level'],_0xffb1a+_0x2b8b65===this['activeItemIndex']&&(_0xa7efa4['isActive']=!0x0),_0xa7efa4;});this['items']['addMany'](_0x5ba280,_0xffb1a);}['_deleteItem'](_0x233ed5,_0x13a632){do{this['items']['remove'](_0x233ed5);}while(--_0x13a632);}['_handleItemClick'](_0x55b349){const _0x4861fd=this['items']['getIndex'](_0x55b349['source']);this['fire']('itemSelected',_0x4861fd);}['_scrollToItem'](_0x4534c1){_0x4ec294(this['items']['get'](_0x4534c1)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x4bcd3e{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x330b95){super(_0x330b95),this['view']=new DocumentOutlineView(_0x330b95['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x17ce26(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x3f68b9=this['editor'],_0x4448a5=_0x3f68b9['plugins']['get']('DocumentOutlineUtils');let _0x17940b=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x3f68b9['config']['get']('documentOutline.container'))throw new _0x14d477('document-outline-container-not-provided',{'editor':_0x3f68b9});_0x3f68b9['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4448a5['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4448a5['on']('activeItemIndex',(_0x56e477,{index:_0xb4dcd4})=>this['_setActiveViewItem'](_0xb4dcd4)),this['view']['on']('itemSelected',(_0x25897c,_0x3ed621)=>{_0x17940b=!0x0,this['_handleItemSelected'](_0x3ed621);}),this['view']['listenTo'](_0x57be6a['document'],'scroll',()=>{_0x17940b?_0x17940b=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x57be6a['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x285c0f){const _0x1f29f6=_0x5a1e91([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]),_0x20c2a8=0x1cb264a3,_0x4701aa=0x1cb5ee23^_0x20c2a8,_0x4afa06=window[_0x5a1e91([0x44,0x61,0x74,0x65])][_0x5a1e91([0x6e,0x6f,0x77])](),_0x5532b0=_0x285c0f[_0x5a1e91([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x436929=new window[(_0x5a1e91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e7c58=>{_0x5532b0[_0x5a1e91([0x6f,0x6e,0x63,0x65])](_0x5a1e91([0x72,0x65,0x61,0x64,0x79]),_0x5e7c58);}),_0x259249={[_0x5a1e91([0x6b,0x74,0x79])]:_0x5a1e91([0x45,0x43]),[_0x5a1e91([0x75,0x73,0x65])]:_0x5a1e91([0x73,0x69,0x67]),[_0x5a1e91([0x63,0x72,0x76])]:_0x5a1e91([0x50,0x2d,0x32,0x35,0x36]),[_0x5a1e91([0x78])]:_0x5a1e91([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]),[_0x5a1e91([0x79])]:_0x5a1e91([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]),[_0x5a1e91([0x61,0x6c,0x67])]:_0x5a1e91([0x45,0x53,0x32,0x35,0x36])},_0x572fbe=_0x5532b0[_0x5a1e91([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a1e91([0x67,0x65,0x74])](_0x5a1e91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8fa1a(){let _0x4f250b,_0x59cf56=null,_0x180bd2=null;try{if(_0x572fbe==_0x5a1e91([0x47,0x50,0x4c]))return _0x5a1e91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4f250b=_0x45c671(),!_0x4f250b)return _0x5a1e91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4f250b[_0x5a1e91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x180bd2=_0x4266b4(_0x4f250b[_0x5a1e91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4f250b[_0x5a1e91([0x6a,0x74,0x69])])),await _0x3e3adb()?_0x4389e7()?_0x411077()?_0x5a1e91([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x45b162()?(_0x4f250b[_0x5a1e91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a1e91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59cf56=_0x51264e(_0x5a1e91([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c36ec()):_0x5a1e91([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a1e91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a1e91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a1e91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x411077(){const _0x19f71d=[_0x5a1e91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a1e91([0x74,0x72,0x69,0x61,0x6c])][_0x5a1e91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f250b[_0x5a1e91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4afa06/0x3e8:0xe10*_0x4701aa;return _0x4f250b[_0x5a1e91([0x65,0x78,0x70])]<_0x19f71d;}function _0x4389e7(){const _0x268aac=_0x4f250b[_0x5a1e91([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x268aac&&(!!_0x268aac[_0x5a1e91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a1e91([0x2a]))||(!!_0x268aac[_0x5a1e91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a1e91([0x44,0x4f]))||(!!_0x268aac[_0x5a1e91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a1e91([0x50,0x50]))||!(!_0x268aac[_0x5a1e91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a1e91([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x45c3bb()))));}function _0x45b162(){const _0x4c1329=_0x4f250b[_0x5a1e91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c1329||0x0==_0x4c1329[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x526235}=new URL(window[_0x5a1e91([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c1329[_0x5a1e91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526235))return!0x0;const _0x2f97b2=_0x526235[_0x5a1e91([0x73,0x70,0x6c,0x69,0x74])](_0x5a1e91([0x2e]));return _0x4c1329[_0x5a1e91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1075b3=>_0x1075b3[_0x5a1e91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a1e91([0x2a])))[_0x5a1e91([0x6d,0x61,0x70])](_0x37112e=>_0x37112e[_0x5a1e91([0x73,0x70,0x6c,0x69,0x74])](_0x5a1e91([0x2e])))[_0x5a1e91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd77309=>_0xd77309[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f97b2[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a1e91([0x6d,0x61,0x70])](_0x396345=>Array(_0x2f97b2[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x396345[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a1e91([0x66,0x69,0x6c,0x6c])](_0x396345[0x0]===_0x5a1e91([0x2a])?_0x5a1e91([0x2a]):'')[_0x5a1e91([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x396345))[_0x5a1e91([0x73,0x6f,0x6d,0x65])](_0x4cdc66=>_0x2f97b2[_0x5a1e91([0x65,0x76,0x65,0x72,0x79])]((_0x2220b6,_0x596650)=>_0x4cdc66[_0x596650]===_0x2220b6||_0x4cdc66[_0x596650]===_0x5a1e91([0x2a])));}function _0x4c36ec(){return _0x59cf56&&_0x180bd2?new window[(_0x5a1e91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fa6af,_0x42dfd7)=>{_0x59cf56[_0x5a1e91([0x74,0x68,0x65,0x6e])](_0x4fa6af,_0x42dfd7),_0x180bd2[_0x5a1e91([0x74,0x68,0x65,0x6e])](_0x13a90a=>{_0x13a90a!=_0x5a1e91([0x56,0x61,0x6c,0x69,0x64])&&_0x4fa6af(_0x13a90a);},_0x42dfd7);}):_0x59cf56||_0x180bd2||_0x5a1e91([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4266b4(_0x3f7452,_0x54dee0){return new window[(_0x5a1e91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x252446=>{if(_0x246cdf())return _0x252446(_0x5a1e91([0x56,0x61,0x6c,0x69,0x64]));_0x3c78da(),_0x5532b0[_0x5a1e91([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a1e91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x21dee9=!0x1;const _0xd5f07c=_0x462a17();function _0x52adf8(_0x17a105){return!!_0x17a105&&(typeof _0x17a105===_0x5a1e91([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x17a105===_0x5a1e91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x17a105[_0x5a1e91([0x74,0x68,0x65,0x6e])]===_0x5a1e91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x17a105[_0x5a1e91([0x63,0x61,0x74,0x63,0x68])]===_0x5a1e91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x450835(_0x172257){_0x5e43e7(_0x172257)[_0x5a1e91([0x74,0x68,0x65,0x6e])](_0x24fd5f=>{if(!_0x24fd5f||_0x24fd5f[_0x5a1e91([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a1e91([0x6f,0x6b]))return _0x5a1e91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34ba00(_0x484509(_0xd5f07c+_0x54dee0))!=_0x24fd5f[_0x5a1e91([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a1e91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a1e91([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a1e91([0x74,0x68,0x65,0x6e])](_0x2c9922=>(_0x217ab6(),_0x2c9922),()=>{const _0x15fd3b=_0xc9e775();return null==_0x15fd3b?(_0x217ab6(),_0x5a1e91([0x56,0x61,0x6c,0x69,0x64])):_0x5a1e91(_0x4afa06-_0x15fd3b>(0x38bee0a3^_0x20c2a8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a1e91([0x74,0x68,0x65,0x6e])](_0x252446)[_0x5a1e91([0x63,0x61,0x74,0x63,0x68])](()=>{_0x252446(_0x5a1e91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33ea1f=0x1c848a23^_0x20c2a8;function _0x217ab6(){const _0x201255=_0x5a1e91([0x6c,0x6c,0x63,0x74,0x2d])+_0x34ba00(_0x484509(_0x3f7452)),_0x35409a=_0x2a71c4(_0x34ba00(window[_0x5a1e91([0x4d,0x61,0x74,0x68])][_0x5a1e91([0x63,0x65,0x69,0x6c])](_0x4afa06/_0x33ea1f)));window[_0x5a1e91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a1e91([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x201255,_0x35409a);}function _0xc9e775(){const _0x487e2f=_0x5a1e91([0x6c,0x6c,0x63,0x74,0x2d])+_0x34ba00(_0x484509(_0x3f7452)),_0x5dde17=window[_0x5a1e91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a1e91([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x487e2f);return _0x5dde17?window[_0x5a1e91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a71c4(_0x5dde17),0x10)*_0x33ea1f:null;}function _0x5e43e7(_0x4c7989){return new window[(_0x5a1e91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x49b774,_0x18a3c3)=>{_0x4c7989[_0x5a1e91([0x74,0x68,0x65,0x6e])](_0x49b774,_0x18a3c3),window[_0x5a1e91([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x18a3c3,0x1cb3b063^_0x20c2a8);});}}_0x5532b0[_0x5a1e91([0x6f,0x6e])](_0x5a1e91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x14db11,_0x1053a2)=>{if(_0x1053a2[0x0]!=_0x3f7452)return _0x252446(_0x5a1e91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1053a2[0x1]={..._0x1053a2[0x1],[_0x5a1e91([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd5f07c};},{[_0x5a1e91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a1e91([0x68,0x69,0x67,0x68])}),_0x5532b0[_0x5a1e91([0x6f,0x6e])](_0x5a1e91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c942a=>{_0x52adf8(_0x2c942a[_0x5a1e91([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x21dee9=!0x0,_0x450835(_0x2c942a[_0x5a1e91([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a1e91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a1e91([0x6c,0x6f,0x77])}),_0x436929[_0x5a1e91([0x74,0x68,0x65,0x6e])](()=>{_0x21dee9||_0x252446(_0x5a1e91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x246cdf(){return _0x5532b0[_0x5a1e91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a1e91([0x76,0x69,0x65,0x77])][_0x5a1e91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a1e91([0x61,0x75,0x74,0x6f]);}function _0x3c78da(){_0x5532b0[_0x5a1e91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a1e91([0x76,0x69,0x65,0x77])][_0x5a1e91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a1e91([0x61,0x75,0x74,0x6f]);}}function _0x51264e(_0x2ea727){const _0x11b90b=[new window[(_0x5a1e91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d7bd7=>setTimeout(_0x3d7bd7,0x1cbb5a6f^_0x20c2a8)),_0x436929[_0x5a1e91([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a1e91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a1250=>{let _0x2f603e=0x0;_0x5532b0[_0x5a1e91([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a1e91([0x6f,0x6e])](_0x5a1e91([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x507226,_0x285708)=>{_0x285708[0x0][_0x5a1e91([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f603e++,_0x2f603e==(0x1cb2614b^_0x20c2a8)&&(_0x2a1250(),_0x507226[_0x5a1e91([0x6f,0x66,0x66])]());});}))];return window[_0x5a1e91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a1e91([0x72,0x61,0x63,0x65])](_0x11b90b)[_0x5a1e91([0x74,0x68,0x65,0x6e])](()=>_0x2ea727);}async function _0x192e11(){await _0x436929,_0x5532b0[_0x5a1e91([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a1e91([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42b7d2,_0x5532b0[_0x5a1e91([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a1e91([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42b7d2,_0x5532b0[_0x5a1e91([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a1e91([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45c3bb(){return window[_0x5a1e91([0x67,0x6c,0x6f,0x62])]&&window[_0x5a1e91([0x67,0x6c,0x6f,0x62])][_0x5a1e91([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5dbc99(_0x173764){const _0x12b3bf=_0x2077d8();_0x5532b0[_0x12b3bf]=_0x5a1e91([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])+_0x173764,_0x173764!=_0x5a1e91([0x56,0x61,0x6c,0x69,0x64])&&_0x192e11();}function _0x2077d8(){const _0x178147=window[_0x5a1e91([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a1e91([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a1e91([0x6e,0x6f,0x77])]())[_0x5a1e91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a1e91([0x2e]),'');let _0x3e3642=_0x5a1e91([0x61]);for(let _0x28492c=0x0;_0x28492c<_0x178147[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28492c+=0x2){let _0x2c179c=window[_0x5a1e91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x178147[_0x5a1e91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28492c,_0x28492c+0x2));_0x2c179c>=_0x1f29f6[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c179c-=_0x1f29f6[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e3642+=_0x1f29f6[_0x2c179c];}return _0x3e3642;}function _0x45c671(){const _0x2b37fa=_0x572fbe[_0x5a1e91([0x73,0x70,0x6c,0x69,0x74])](_0x5a1e91([0x2e]));if(0x3!=_0x2b37fa[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3e3e0e(_0x2b37fa[0x1]);function _0x3e3e0e(_0x2f45dc){const _0x9ffea9=_0x3cb2a6(_0x2f45dc);return _0x9ffea9&&_0x4df9fe()?_0x9ffea9:null;function _0x4df9fe(){const _0x165229=_0x9ffea9[_0x5a1e91([0x6a,0x74,0x69])],_0x3d9105=window[_0x5a1e91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x165229[_0x5a1e91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x165229[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e523a={..._0x9ffea9,[_0x5a1e91([0x6a,0x74,0x69])]:_0x165229[_0x5a1e91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x165229[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e523a[_0x5a1e91([0x76,0x63])],_0x484509(_0x4e523a)==_0x3d9105;}}}async function _0x3e3adb(){let _0x183a2c=!0x0;try{const _0x17f743=_0x572fbe[_0x5a1e91([0x73,0x70,0x6c,0x69,0x74])](_0x5a1e91([0x2e])),[_0x5ed41e,_0x172768,_0x1b1ecf]=_0x17f743;return _0x2aeb7e(_0x5ed41e),await _0x328c87(_0x5ed41e,_0x172768,_0x1b1ecf),_0x183a2c;}catch{return!0x1;}function _0x2aeb7e(_0xc96278){const _0x3c8a0d=_0x3cb2a6(_0xc96278);_0x3c8a0d&&_0x3c8a0d[_0x5a1e91([0x61,0x6c,0x67])]==_0x5a1e91([0x45,0x53,0x32,0x35,0x36])||(_0x183a2c=!0x1);}async function _0x328c87(_0x5eaeea,_0xd68b4d,_0x43e6b7){const _0x221d5d=window[_0x5a1e91([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a1e91([0x66,0x72,0x6f,0x6d])](_0xad318b(_0x43e6b7),_0x2a197a=>_0x2a197a[_0x5a1e91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x577542=new window[(_0x5a1e91([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a1e91([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5eaeea+_0x5a1e91([0x2e])+_0xd68b4d),_0x1c8df6=window[_0x5a1e91([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a1e91([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c8df6)return;const _0x51b9ec=await _0x1c8df6[_0x5a1e91([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a1e91([0x6a,0x77,0x6b]),_0x259249,{[_0x5a1e91([0x6e,0x61,0x6d,0x65])]:_0x5a1e91([0x45,0x43,0x44,0x53,0x41]),[_0x5a1e91([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a1e91([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a1e91([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c8df6[_0x5a1e91([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a1e91([0x6e,0x61,0x6d,0x65])]:_0x5a1e91([0x45,0x43,0x44,0x53,0x41]),[_0x5a1e91([0x68,0x61,0x73,0x68])]:{[_0x5a1e91([0x6e,0x61,0x6d,0x65])]:_0x5a1e91([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51b9ec,_0x221d5d,_0x577542)||(_0x183a2c=!0x1);}}function _0x3cb2a6(_0x2fd88e){return _0x2fd88e[_0x5a1e91([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a1e91([0x65,0x79]))?JSON[_0x5a1e91([0x70,0x61,0x72,0x73,0x65])](_0xad318b(_0x2fd88e)):null;}function _0xad318b(_0x56aa4f){return window[_0x5a1e91([0x61,0x74,0x6f,0x62])](_0x56aa4f[_0x5a1e91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a1e91([0x2b]))[_0x5a1e91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a1e91([0x2f])));}function _0x484509(_0x67a422){let _0x1ed577=0x1505;function _0x49391d(_0x220a8b){for(let _0x4181bd=0x0;_0x4181bd<_0x220a8b[_0x5a1e91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4181bd++){const _0x311f9e=_0x220a8b[_0x5a1e91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4181bd);_0x1ed577=(_0x1ed577<<0x5)+_0x1ed577+_0x311f9e,_0x1ed577&=_0x1ed577;}}function _0x33e806(_0x4a5867){Array[_0x5a1e91([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a5867)?_0x4a5867[_0x5a1e91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33e806):_0x4a5867&&typeof _0x4a5867==_0x5a1e91([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a1e91([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a5867)[_0x5a1e91([0x73,0x6f,0x72,0x74])]()[_0x5a1e91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cf604,_0x409ba2])=>{_0x49391d(_0x2cf604),_0x33e806(_0x409ba2);}):_0x49391d(window[_0x5a1e91([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a5867));}return _0x33e806(_0x67a422),_0x1ed577>>>0x0;}function _0x34ba00(_0x1f3386){return _0x1f3386[_0x5a1e91([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a1e91([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a1e91([0x30]));}function _0x2a71c4(_0x38f5d2){return _0x38f5d2[_0x5a1e91([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a1e91([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a1e91([0x6a,0x6f,0x69,0x6e])]('');}function _0x42b7d2(){}function _0x5a1e91(_0x5b0718){return _0x5b0718['map'](_0x3af0f8=>String['fromCharCode'](_0x3af0f8))['join']('');}_0x5dbc99(await _0x8fa1a());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x5242dc,{outlineDefinitions:_0x39645a,outlineChanges:_0x1aca57}){this['_currentOutlineDefinitions']=_0x39645a,this['view']['sync'](_0x1aca57);}['_setActiveViewItem'](_0x3ef5ba){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x3ef5ba]&&(this['view']['activeItemIndex']=_0x3ef5ba);}['_handleItemSelected'](_0x17f1d0){const _0x5726b0=this['_currentOutlineDefinitions'][_0x17f1d0]['modelElement'];this['editor']['model']['change'](_0x446798=>{_0x446798['setSelection'](_0x5726b0,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x17f1d0);}['_updateActiveDefinitionOnViewportChange'](){const _0x3ce860=this['editor'];let _0x4630d2;for(const _0x4936ed of _0x3ce860['model']['document']['getRootNames']()){const _0x5967c3=_0x3ce860['editing']['view']['getDomRoot'](_0x4936ed),_0x36aef2=_0x5967c3&&new _0x526217(_0x5967c3)['getVisible']();if(_0x36aef2){const _0xca2e54=new _0x526217(_0x57be6a['window'])['getIntersection'](_0x36aef2);_0xca2e54&&(_0x4630d2=_0xca2e54['top']+0.25*_0xca2e54['height']);}}if(void 0x0===_0x4630d2)return;const _0x59470d=v(_0x3ce860['editing'],this['_currentOutlineDefinitions'],_0x4630d2);_0x59470d?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x59470d)):this['_setActiveViewItem'](-0x1);}}function v(_0x327e1d,_0x51b24c,_0x2604f3,_0x46d00a=0x0,_0x49353c=_0x51b24c['length']-0x1){const _0x5360ea=Math['floor'](_0x46d00a+(_0x49353c-_0x46d00a)/0x2);if(_0x49353c>=_0x46d00a){const _0x298588=_0x51b24c[_0x5360ea],_0x4f5353=_0x327e1d['mapper']['toViewElement'](_0x298588['modelElement']);if(!_0x4f5353)return null;const _0x4357eb=_0x327e1d['view']['domConverter']['mapViewToDom'](_0x4f5353);return new _0x526217(_0x4357eb)['bottom']>_0x2604f3?v(_0x327e1d,_0x51b24c,_0x2604f3,_0x46d00a,_0x5360ea-0x1):v(_0x327e1d,_0x51b24c,_0x2604f3,_0x5360ea+0x1,_0x49353c);}return _0x5360ea<0x0?null:_0x51b24c[_0x5360ea];}class DocumentOutline extends _0x4bcd3e{['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 _0x392cec=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2b973b;for(const _0x4df3b9 in _0x392cec){const _0x1b9fcd=_0x4df3b9,_0x16e721=_0x392cec[_0x1b9fcd];if('documentOutlineLicenseKeyValid'==_0x16e721||'documentOutlineLicenseKeyInvalid'==_0x16e721||'documentOutlineLicenseKeyExpired'==_0x16e721||'documentOutlineLicenseKeyDomainLimit'==_0x16e721||'documentOutlineLicenseKeyNotAllowed'==_0x16e721||'documentOutlineLicenseKeyEvaluationLimit'==_0x16e721||'documentOutlineLicenseKeyUsageLimit'==_0x16e721){delete _0x392cec[_0x1b9fcd],_0x2b973b=_0x16e721,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2b973b&&_0x392cec['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2b973b&&_0x392cec['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2b973b&&_0x392cec['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2b973b&&_0x392cec['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2b973b&&_0x392cec['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2b973b&&_0x392cec['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x429ef8{['execute'](){this['editor']['model']['change'](_0x391e8a=>{this['editor']['model']['insertObject'](_0x391e8a['createElement']('tableOfContents'));});}['refresh'](){const _0x63ddb9=this['editor']['model'],_0x1bf12c=_0x63ddb9['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x1bf12c&&_0x63ddb9['schema']['findAllowedParent'](_0x1bf12c,'tableOfContents'));}}class HeadingId extends _0x4bcd3e{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x312a06=this['editor'];if(_0x312a06['config']['get']('headingId.modelAttributeName'))return;(function(_0x2a502e){const _0x4ac7a6=new Map();if(_0x2a502e)return _0x2a502e['forEach'](_0xcb7662=>{'paragraph'!==_0xcb7662['model']&&_0x4ac7a6['set'](_0xcb7662['view'],_0xcb7662['model']);}),_0x4ac7a6['get']('h1')||_0x4ac7a6['set']('h1','heading1'),_0x4ac7a6;return _0x4ac7a6;}(this['editor']['config']['get']('heading.options'))['forEach']((_0x4410aa,_0x49db88)=>{this['_customUpcastHeadingsConversion'](_0x49db88),this['_customDataDowncastHeadingsConversion'](_0x4410aa),_0x312a06['model']['schema']['isRegistered'](_0x4410aa)&&_0x312a06['model']['schema']['extend'](_0x4410aa,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']());}['_customUpcastHeadingsConversion'](_0x188419){this['editor']['conversion']['for']('upcast')['add'](_0x2429b7=>_0x2429b7['on']('element:'+_0x188419,(_0x2713a5,_0x4629df,_0x221abd)=>{const {consumable:_0x58547a,writer:_0x2102b6}=_0x221abd,_0x2c393a=_0x4629df['viewItem']['getAttribute']('id'),_0x575ab2=_0x4629df['modelRange']['getContainedElement']();if(_0x575ab2)return _0x2c393a&&_0x2c393a['length']||_0x575ab2['hasAttribute']('headingId')?void(_0x58547a['consume'](_0x4629df['viewItem'],{'attributes':['id']})&&_0x2102b6['setAttribute']('headingId',_0x2c393a,_0x575ab2)):(_0x58547a['consume'](_0x4629df['viewItem'],{'attributes':['id']}),void _0x2102b6['setAttribute']('headingId',_0x462a17(),_0x575ab2));},{'priority':_0x4c2a59['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x551ed4){this['editor']['conversion']['for']('downcast')['add'](_0x35d5e5=>_0x35d5e5['on']('attribute:headingId:'+_0x551ed4,(_0x6b10f1,_0x4263c4,_0x14d056)=>{if(!_0x14d056['consumable']['consume'](_0x4263c4['item'],_0x6b10f1['name']))return;const _0x5beae3=_0x4263c4['item']['getAttribute']('headingId'),_0x554917=_0x14d056['mapper']['toViewElement'](_0x4263c4['item']);_0x14d056['writer']['setAttribute']('id',_0x5beae3,_0x554917);}));}['_registerHeadingIdAttributePostfixer'](){const _0x4fa95d=this['editor'],_0x6a2829=new Set(),_0x2c1dfb=new Set();function _0x29ec0e(_0x4263d2,_0x5ec9df){const _0x42191a=_0x462a17();return _0x2c1dfb['add'](_0x42191a),_0x4263d2['setAttribute']('headingId',_0x42191a,_0x5ec9df),_0x42191a;}function _0x45f2de(_0x53869f,_0x2999d3){_0x53869f['removeAttribute']('headingId',_0x2999d3);}_0x4fa95d['model']['document']['registerPostFixer'](_0x3e2ac3=>{const _0x3f8be3=_0x4fa95d['model']['document']['differ']['getChanges']();let _0x621fe2=!0x1;for(const _0x22f9e3 of _0x3f8be3)if('insert'==_0x22f9e3['type']&&_0x22f9e3['name']){if(_(_0x22f9e3['name'])){const _0x25dcf9=_0x22f9e3['attributes']['get']('headingId');'string'==typeof _0x25dcf9?_0x6a2829['has'](_0x25dcf9)?(_0x29ec0e(_0x3e2ac3,_0x22f9e3['position']['nodeAfter']),_0x621fe2=!0x0):_0x2c1dfb['add'](_0x25dcf9):(_0x29ec0e(_0x3e2ac3,_0x22f9e3['position']['nodeAfter']),_0x621fe2=!0x0);}else'string'==typeof _0x22f9e3['attributes']['get']('headingId')&&(_0x45f2de(_0x3e2ac3,_0x22f9e3['position']['nodeAfter']),_0x621fe2=!0x0);}else{if('remove'==_0x22f9e3['type']){const _0x3f9a34=_0x22f9e3['attributes']['get']('headingId');'string'==typeof _0x3f9a34&&_0x6a2829['delete'](_0x3f9a34);}}return _0x621fe2;}),_0x4fa95d['model']['document']['on']('change',()=>{_0x2c1dfb['forEach'](_0x6b3ae3=>_0x6a2829['add'](_0x6b3ae3)),_0x2c1dfb['clear']();});}}function _(_0x2fd179){return!!_0x2fd179['match'](/heading\d/);}class TableOfContentsEditing extends _0x4bcd3e{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x29fb16,DocumentOutlineUtils,HeadingId];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x35901b){super(_0x35901b),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x100a6b=this['editor'],_0x533fbc=_0x100a6b['editing']['view']['document'];_0x100a6b['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x100a6b['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x533fbc,'click',(_0x3e7db8,_0x118d6e)=>{if(!_0x118d6e['target'])return;const _0x5bda3e=_0x118d6e['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5bda3e)&&(_0x118d6e['domEvent']['preventDefault'](),_0x3e7db8['stop'](),this['_handleScrollToHeading'](_0x5bda3e));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x100a6b['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x100a6b));const _0x32473d=_0x100a6b['config']['get']('tableOfContents.headings');if(_0x32473d&&_0x32473d['length'])this['listenTo'](_0x100a6b['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x32473d),this['_updateTableOfContentsElements']();});else _0x100a6b['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x8fe356,_0x34edba)=>{this['_currentOutlineDefinitions']=_0x34edba['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0x100a6b['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x8faec){const _0x204771=_0x552452([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]),_0x530e7c=0x6b9b05fd,_0xdab521=0x6b9c8f7d^_0x530e7c,_0x1eaea5=window[_0x552452([0x44,0x61,0x74,0x65])][_0x552452([0x6e,0x6f,0x77])](),_0x58b663=_0x8faec[_0x552452([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1aa485=new window[(_0x552452([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x120f55=>{_0x58b663[_0x552452([0x6f,0x6e,0x63,0x65])](_0x552452([0x72,0x65,0x61,0x64,0x79]),_0x120f55);}),_0x39c878={[_0x552452([0x6b,0x74,0x79])]:_0x552452([0x45,0x43]),[_0x552452([0x75,0x73,0x65])]:_0x552452([0x73,0x69,0x67]),[_0x552452([0x63,0x72,0x76])]:_0x552452([0x50,0x2d,0x32,0x35,0x36]),[_0x552452([0x78])]:_0x552452([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]),[_0x552452([0x79])]:_0x552452([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]),[_0x552452([0x61,0x6c,0x67])]:_0x552452([0x45,0x53,0x32,0x35,0x36])},_0x2a1111=_0x58b663[_0x552452([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x552452([0x67,0x65,0x74])](_0x552452([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x43578b(){let _0x2313a5,_0x3e0f39=null,_0x690df1=null;try{if(_0x2a1111==_0x552452([0x47,0x50,0x4c]))return _0x552452([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2313a5=_0x3f7261(),!_0x2313a5)return _0x552452([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2313a5[_0x552452([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x690df1=_0x11724d(_0x2313a5[_0x552452([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2313a5[_0x552452([0x6a,0x74,0x69])])),await _0x54940e()?_0x41d448()?_0x3ae9be()?_0x552452([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x508a5c()?(_0x2313a5[_0x552452([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x552452([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3e0f39=_0x13d029(_0x552452([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x347896()):_0x552452([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x552452([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x552452([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x552452([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ae9be(){const _0x517bec=[_0x552452([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x552452([0x74,0x72,0x69,0x61,0x6c])][_0x552452([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2313a5[_0x552452([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1eaea5/0x3e8:0xe10*_0xdab521;return _0x2313a5[_0x552452([0x65,0x78,0x70])]<_0x517bec;}function _0x41d448(){const _0x354630=_0x2313a5[_0x552452([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x354630&&(!!_0x354630[_0x552452([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552452([0x2a]))||(!!_0x354630[_0x552452([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552452([0x54,0x4f,0x43]))||(!!_0x354630[_0x552452([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552452([0x50,0x50]))||!(!_0x354630[_0x552452([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552452([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x471042()))));}function _0x508a5c(){const _0x3c8833=_0x2313a5[_0x552452([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3c8833||0x0==_0x3c8833[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45e100}=new URL(window[_0x552452([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3c8833[_0x552452([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45e100))return!0x0;const _0x133256=_0x45e100[_0x552452([0x73,0x70,0x6c,0x69,0x74])](_0x552452([0x2e]));return _0x3c8833[_0x552452([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e8f7c=>_0x3e8f7c[_0x552452([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x552452([0x2a])))[_0x552452([0x6d,0x61,0x70])](_0x2ddb62=>_0x2ddb62[_0x552452([0x73,0x70,0x6c,0x69,0x74])](_0x552452([0x2e])))[_0x552452([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x524aeb=>_0x524aeb[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x133256[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x552452([0x6d,0x61,0x70])](_0x233a9b=>Array(_0x133256[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x233a9b[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x552452([0x66,0x69,0x6c,0x6c])](_0x233a9b[0x0]===_0x552452([0x2a])?_0x552452([0x2a]):'')[_0x552452([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x233a9b))[_0x552452([0x73,0x6f,0x6d,0x65])](_0x52349f=>_0x133256[_0x552452([0x65,0x76,0x65,0x72,0x79])]((_0x2c8429,_0x291473)=>_0x52349f[_0x291473]===_0x2c8429||_0x52349f[_0x291473]===_0x552452([0x2a])));}function _0x347896(){return _0x3e0f39&&_0x690df1?new window[(_0x552452([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f0fd5,_0xd15ea8)=>{_0x3e0f39[_0x552452([0x74,0x68,0x65,0x6e])](_0x4f0fd5,_0xd15ea8),_0x690df1[_0x552452([0x74,0x68,0x65,0x6e])](_0xfcee20=>{_0xfcee20!=_0x552452([0x56,0x61,0x6c,0x69,0x64])&&_0x4f0fd5(_0xfcee20);},_0xd15ea8);}):_0x3e0f39||_0x690df1||_0x552452([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11724d(_0x4d7243,_0xa1adf4){return new window[(_0x552452([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ea03f=>{if(_0x2d9b59())return _0x5ea03f(_0x552452([0x56,0x61,0x6c,0x69,0x64]));_0xa86664(),_0x58b663[_0x552452([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x552452([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ebbcb=!0x1;const _0xc2453f=_0x462a17();function _0x38e2e6(_0x5b09ae){return!!_0x5b09ae&&(typeof _0x5b09ae===_0x552452([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b09ae===_0x552452([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b09ae[_0x552452([0x74,0x68,0x65,0x6e])]===_0x552452([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b09ae[_0x552452([0x63,0x61,0x74,0x63,0x68])]===_0x552452([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x139821(_0x4518b0){_0x1c53a6(_0x4518b0)[_0x552452([0x74,0x68,0x65,0x6e])](_0x58f2cf=>{if(!_0x58f2cf||_0x58f2cf[_0x552452([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x552452([0x6f,0x6b]))return _0x552452([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x511815(_0x3ddc72(_0xc2453f+_0xa1adf4))!=_0x58f2cf[_0x552452([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x552452([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x552452([0x56,0x61,0x6c,0x69,0x64]);})[_0x552452([0x74,0x68,0x65,0x6e])](_0x37b424=>(_0x4b355c(),_0x37b424),()=>{const _0x1ea5fd=_0x355dd9();return null==_0x1ea5fd?(_0x4b355c(),_0x552452([0x56,0x61,0x6c,0x69,0x64])):_0x552452(_0x1eaea5-_0x1ea5fd>(0x4f9781fd^_0x530e7c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x552452([0x74,0x68,0x65,0x6e])](_0x5ea03f)[_0x552452([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ea03f(_0x552452([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x42f47b=0x6badeb7d^_0x530e7c;function _0x4b355c(){const _0xb17bd1=_0x552452([0x6c,0x6c,0x63,0x74,0x2d])+_0x511815(_0x3ddc72(_0x4d7243)),_0x3c3cf8=_0x1694c9(_0x511815(window[_0x552452([0x4d,0x61,0x74,0x68])][_0x552452([0x63,0x65,0x69,0x6c])](_0x1eaea5/_0x42f47b)));window[_0x552452([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x552452([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb17bd1,_0x3c3cf8);}function _0x355dd9(){const _0x2727f5=_0x552452([0x6c,0x6c,0x63,0x74,0x2d])+_0x511815(_0x3ddc72(_0x4d7243)),_0x493e6d=window[_0x552452([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x552452([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2727f5);return _0x493e6d?window[_0x552452([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1694c9(_0x493e6d),0x10)*_0x42f47b:null;}function _0x1c53a6(_0x232da0){return new window[(_0x552452([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2501c1,_0x182c5f)=>{_0x232da0[_0x552452([0x74,0x68,0x65,0x6e])](_0x2501c1,_0x182c5f),window[_0x552452([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x182c5f,0x6b9ad13d^_0x530e7c);});}}_0x58b663[_0x552452([0x6f,0x6e])](_0x552452([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c3749,_0x513c79)=>{if(_0x513c79[0x0]!=_0x4d7243)return _0x5ea03f(_0x552452([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x513c79[0x1]={..._0x513c79[0x1],[_0x552452([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xc2453f};},{[_0x552452([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x552452([0x68,0x69,0x67,0x68])}),_0x58b663[_0x552452([0x6f,0x6e])](_0x552452([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d1375=>{_0x38e2e6(_0x3d1375[_0x552452([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ebbcb=!0x0,_0x139821(_0x3d1375[_0x552452([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x552452([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x552452([0x6c,0x6f,0x77])}),_0x1aa485[_0x552452([0x74,0x68,0x65,0x6e])](()=>{_0x3ebbcb||_0x5ea03f(_0x552452([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d9b59(){return _0x58b663[_0x552452([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x552452([0x76,0x69,0x65,0x77])][_0x552452([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x552452([0x61,0x75,0x74,0x6f]);}function _0xa86664(){_0x58b663[_0x552452([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x552452([0x76,0x69,0x65,0x77])][_0x552452([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x552452([0x61,0x75,0x74,0x6f]);}}function _0x13d029(_0x3a8c14){const _0x348c3c=[new window[(_0x552452([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e25e8=>setTimeout(_0x2e25e8,0x6b923b31^_0x530e7c)),_0x1aa485[_0x552452([0x74,0x68,0x65,0x6e])](()=>new window[(_0x552452([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a772d=>{let _0x63ab9a=0x0;_0x58b663[_0x552452([0x6d,0x6f,0x64,0x65,0x6c])][_0x552452([0x6f,0x6e])](_0x552452([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4a3da5,_0x3d7155)=>{_0x3d7155[0x0][_0x552452([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x63ab9a++,_0x63ab9a==(0x6b9b0015^_0x530e7c)&&(_0x4a772d(),_0x4a3da5[_0x552452([0x6f,0x66,0x66])]());});}))];return window[_0x552452([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x552452([0x72,0x61,0x63,0x65])](_0x348c3c)[_0x552452([0x74,0x68,0x65,0x6e])](()=>_0x3a8c14);}async function _0x4af3a6(){await _0x1aa485,_0x58b663[_0x552452([0x6d,0x6f,0x64,0x65,0x6c])][_0x552452([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x474de4,_0x58b663[_0x552452([0x6d,0x6f,0x64,0x65,0x6c])][_0x552452([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x474de4,_0x58b663[_0x552452([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x552452([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x471042(){return window[_0x552452([0x67,0x6c,0x6f,0x62])]&&window[_0x552452([0x67,0x6c,0x6f,0x62])][_0x552452([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x15d1c3(_0x1a975d){const _0x2f884d=_0x7fae8e();_0x58b663[_0x2f884d]=_0x552452([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])+_0x1a975d,_0x1a975d!=_0x552452([0x56,0x61,0x6c,0x69,0x64])&&_0x4af3a6();}function _0x7fae8e(){const _0x39819b=window[_0x552452([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x552452([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x552452([0x6e,0x6f,0x77])]())[_0x552452([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x552452([0x2e]),'');let _0x578d6b=_0x552452([0x6d]);for(let _0x322a56=0x0;_0x322a56<_0x39819b[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x322a56+=0x2){let _0x1e174f=window[_0x552452([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39819b[_0x552452([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x322a56,_0x322a56+0x2));_0x1e174f>=_0x204771[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e174f-=_0x204771[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x578d6b+=_0x204771[_0x1e174f];}return _0x578d6b;}function _0x3f7261(){const _0x319f1b=_0x2a1111[_0x552452([0x73,0x70,0x6c,0x69,0x74])](_0x552452([0x2e]));if(0x3!=_0x319f1b[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fb542(_0x319f1b[0x1]);function _0x1fb542(_0x421146){const _0x394258=_0x3f1f94(_0x421146);return _0x394258&&_0x552ca7()?_0x394258:null;function _0x552ca7(){const _0x563538=_0x394258[_0x552452([0x6a,0x74,0x69])],_0x495c79=window[_0x552452([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x563538[_0x552452([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x563538[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x26931e={..._0x394258,[_0x552452([0x6a,0x74,0x69])]:_0x563538[_0x552452([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x563538[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x26931e[_0x552452([0x76,0x63])],_0x3ddc72(_0x26931e)==_0x495c79;}}}async function _0x54940e(){let _0x428ec3=!0x0;try{const _0x385d5f=_0x2a1111[_0x552452([0x73,0x70,0x6c,0x69,0x74])](_0x552452([0x2e])),[_0xef0ce7,_0x2b7528,_0x388804]=_0x385d5f;return _0x5f0bac(_0xef0ce7),await _0x234e60(_0xef0ce7,_0x2b7528,_0x388804),_0x428ec3;}catch{return!0x1;}function _0x5f0bac(_0x454b07){const _0x49f6ae=_0x3f1f94(_0x454b07);_0x49f6ae&&_0x49f6ae[_0x552452([0x61,0x6c,0x67])]==_0x552452([0x45,0x53,0x32,0x35,0x36])||(_0x428ec3=!0x1);}async function _0x234e60(_0x32716d,_0xfc2f44,_0x355eda){const _0x4b348c=window[_0x552452([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x552452([0x66,0x72,0x6f,0x6d])](_0x2a2f80(_0x355eda),_0x586fb0=>_0x586fb0[_0x552452([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x283559=new window[(_0x552452([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x552452([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32716d+_0x552452([0x2e])+_0xfc2f44),_0x2835af=window[_0x552452([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x552452([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2835af)return;const _0x54aefa=await _0x2835af[_0x552452([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x552452([0x6a,0x77,0x6b]),_0x39c878,{[_0x552452([0x6e,0x61,0x6d,0x65])]:_0x552452([0x45,0x43,0x44,0x53,0x41]),[_0x552452([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x552452([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x552452([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2835af[_0x552452([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x552452([0x6e,0x61,0x6d,0x65])]:_0x552452([0x45,0x43,0x44,0x53,0x41]),[_0x552452([0x68,0x61,0x73,0x68])]:{[_0x552452([0x6e,0x61,0x6d,0x65])]:_0x552452([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54aefa,_0x4b348c,_0x283559)||(_0x428ec3=!0x1);}}function _0x3f1f94(_0x24f584){return _0x24f584[_0x552452([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x552452([0x65,0x79]))?JSON[_0x552452([0x70,0x61,0x72,0x73,0x65])](_0x2a2f80(_0x24f584)):null;}function _0x2a2f80(_0x58736a){return window[_0x552452([0x61,0x74,0x6f,0x62])](_0x58736a[_0x552452([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x552452([0x2b]))[_0x552452([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x552452([0x2f])));}function _0x3ddc72(_0x445f2a){let _0x15ab6a=0x1505;function _0x38eb60(_0x2a1648){for(let _0x49d87b=0x0;_0x49d87b<_0x2a1648[_0x552452([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49d87b++){const _0x21d6e4=_0x2a1648[_0x552452([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49d87b);_0x15ab6a=(_0x15ab6a<<0x5)+_0x15ab6a+_0x21d6e4,_0x15ab6a&=_0x15ab6a;}}function _0x2db88b(_0x1acab1){Array[_0x552452([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1acab1)?_0x1acab1[_0x552452([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2db88b):_0x1acab1&&typeof _0x1acab1==_0x552452([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x552452([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1acab1)[_0x552452([0x73,0x6f,0x72,0x74])]()[_0x552452([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44ca7d,_0x28e274])=>{_0x38eb60(_0x44ca7d),_0x2db88b(_0x28e274);}):_0x38eb60(window[_0x552452([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1acab1));}return _0x2db88b(_0x445f2a),_0x15ab6a>>>0x0;}function _0x511815(_0x2bc8c0){return _0x2bc8c0[_0x552452([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x552452([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x552452([0x30]));}function _0x1694c9(_0x2ab136){return _0x2ab136[_0x552452([0x73,0x70,0x6c,0x69,0x74])]('')[_0x552452([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x552452([0x6a,0x6f,0x69,0x6e])]('');}function _0x474de4(){}function _0x552452(_0x29803e){return _0x29803e['map'](_0x530e19=>String['fromCharCode'](_0x530e19))['join']('');}_0x15d1c3(await _0x43578b());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x40a395=>{'$graveyard'!==_0x40a395['rootName']&&this['editor']['editing']['reconvertItem'](_0x40a395);});}['_trackNewToCElements'](){for(const _0x4ebc4d of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4ebc4d['type']||'tableOfContents'!==_0x4ebc4d['name'])return;this['_tableOfContentsElements']['add'](_0x4ebc4d['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x349b41){const _0xf6ca12=this['editor'],_0x510dde=[];for(const _0x127979 of _0xf6ca12['model']['document']['getRootNames']())_0x5edd71(_0xf6ca12['model']['document']['getRoot'](_0x127979));function _0x5edd71(_0x3c0a25){for(const _0x5508c2 of _0x3c0a25['getChildren']())_0x5508c2['is']('element')&&(_0x349b41['includes'](_0x5508c2['name'])&&_0x510dde['push']({'level':_0x349b41['indexOf'](_0x5508c2['name'])+0x1,'text':I(_0x5508c2),'modelElement':_0x5508c2}),_0x5edd71(_0x5508c2));}return _0x510dde;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x1213ba=this['editor']['conversion'];_0x1213ba['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x1213ba['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5e02c3,{writer:_0x209d85})=>this['_createTableOfContents'](_0x209d85,!0x0)}),_0x1213ba['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2f1579,{writer:_0x3b0b86})=>{this['_tableOfContentsElements']['add'](_0x2f1579);const _0x129039=this['_createTableOfContents'](_0x3b0b86);return _0x159e01(_0x129039,_0x3b0b86,{'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'](_0x26a3d0,_0x36de82=!0x1){const {locale:_0xd7b953}=this['editor'],_0x139868=_0x26a3d0['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x36de82&&{'data-table-of-contents-label':C(_0xd7b953,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x36de82&&_0x26a3d0['insert'](_0x26a3d0['createPositionAt'](_0x139868,'end'),_0x26a3d0['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x26a3d0['createText'](C(_0xd7b953,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x241e5d=_0x36de82?'':'['+C(_0xd7b953,'Empty\x20heading')+']';let _0x5a3e50=_0x139868;return this['_currentOutlineDefinitions']['forEach']((_0x42aa92,_0x5f3afa,_0x4b3adf)=>{const _0x259ab7=this['editor']['model']['hasContent'](_0x42aa92['modelElement'],{'ignoreWhitespaces':!0x0}),_0x3af330=_0x259ab7?_0x42aa92['text']:_0x241e5d,_0xc5f713=_0x42aa92['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x439bb0=_0x26a3d0['createContainerElement']('a',{'href':'#'+_0xc5f713,...!_0x36de82&&{'tabindex':'-1'}},[_0x26a3d0['createText'](_0x3af330)]),_0x2e3ece=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x26a3d0['setCustomProperty']('tableOfContentsHeadingIndex',_0x5f3afa,_0x439bb0);const _0x22c10b=_0x26a3d0['createContainerElement']('li',null,[_0x259ab7||!_0x36de82&&_0x2e3ece?_0x439bb0:_0x26a3d0['createText']('')]),_0x4d7ab0=_0x5f3afa?_0x4b3adf[_0x5f3afa-0x1]['level']:0x0,_0x9fffa3=Math['abs'](_0x42aa92['level']-_0x4d7ab0);if(_0x42aa92['level']>_0x4d7ab0){const _0x30d1bb=x(_0x22c10b,_0x9fffa3,_0x26a3d0);_0x26a3d0['insert'](_0x26a3d0['createPositionAt'](_0x5a3e50,'end'),_0x30d1bb);}else{const _0x3c2ad8=function(_0x31b9be,_0x66cef6){return _0x31b9be['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x3aafe8=>_0x3aafe8['is']('element','ol'))[_0x66cef6];}(_0x5a3e50,_0x9fffa3);_0x26a3d0['insert'](_0x26a3d0['createPositionAt'](_0x3c2ad8,'end'),_0x22c10b);}_0x5a3e50=_0x22c10b;}),_0x139868;}['_handleScrollToHeading'](_0xdf7763){const _0x16b380=this['_currentOutlineDefinitions'][_0xdf7763]['modelElement'];this['editor']['model']['change'](_0x3d48e1=>{_0x3d48e1['setSelection'](_0x16b380,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x419eed,_0x3cb7a7)=>{const _0x2a4922=_0x3cb7a7['mapper'],_0x4affc9=_0x2a4922['findMappedViewAncestor'](_0x3cb7a7['viewPosition']),_0x27bbdf=_0x2a4922['toModelElement'](_0x4affc9);_0x27bbdf['is']('element','tableOfContents')&&(_0x3cb7a7['modelPosition']=this['editor']['model']['createPositionAt'](_0x27bbdf,0x0),_0x419eed['stop']());};}}function x(_0x3e4e10,_0x2259b5,_0x43cc82){return 0x1===_0x2259b5?_0x43cc82['createContainerElement']('ol',null,[_0x3e4e10]):_0x43cc82['createContainerElement']('ol',null,[_0x43cc82['createContainerElement']('li',null,[x(_0x3e4e10,_0x2259b5-0x1,_0x43cc82)])]);}class TableOfContentsUI extends _0x4bcd3e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2080fc=this['editor'];_0x2080fc['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x5e3b04=this['_createButton'](_0x47e791);return _0x5e3b04['tooltip']=!0x0,_0x5e3b04;}),_0x2080fc['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x5a4b67)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x8d38fa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x31dbcc;for(const _0x4fabc3 in _0x8d38fa){const _0xd62c2e=_0x4fabc3,_0x45913f=_0x8d38fa[_0xd62c2e];if('tableOfContentsLicenseKeyValid'==_0x45913f||'tableOfContentsLicenseKeyInvalid'==_0x45913f||'tableOfContentsLicenseKeyExpired'==_0x45913f||'tableOfContentsLicenseKeyDomainLimit'==_0x45913f||'tableOfContentsLicenseKeyNotAllowed'==_0x45913f||'tableOfContentsLicenseKeyEvaluationLimit'==_0x45913f||'tableOfContentsLicenseKeyUsageLimit'==_0x45913f){delete _0x8d38fa[_0xd62c2e],_0x31dbcc=_0x45913f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x31dbcc&&_0x8d38fa['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x31dbcc&&_0x8d38fa['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x31dbcc&&_0x8d38fa['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x31dbcc&&_0x8d38fa['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x31dbcc&&_0x8d38fa['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x31dbcc&&_0x8d38fa['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x57d6a0){const _0x3d161c=this['editor'],_0x4b735a=_0x3d161c['locale'],_0xb417b9=_0x3d161c['commands']['get']('insertTableOfContents'),_0xeda2d8=new _0x57d6a0(_0x4b735a);return _0xeda2d8['set']({'label':C(_0x4b735a,'Table\x20of\x20contents'),'icon':_0x51f915}),_0xeda2d8['bind']('isEnabled')['to'](_0xb417b9,'isEnabled'),this['listenTo'](_0xeda2d8,'execute',()=>{_0x3d161c['execute']('insertTableOfContents'),_0x3d161c['editing']['view']['focus']();}),_0xeda2d8;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x4bcd3e{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{Command as _0x6259ae,Plugin as _0x21db6b}from'@ckeditor/ckeditor5-core';import{debounce as _0x4e3417,throttle as _0x3b6b03}from'es-toolkit/compat';import{ModelText as _0x10be88,ModelTreeWalker as _0x4bd36c}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x706cdb,Rect as _0x282437,diff as _0x9bf324,diffToChanges as _0x1b0b38,global as _0x4e8e08,listenToShadowRoots as _0x5c9fc9,priorities as _0x243f41,scrollAncestorsToShowTarget as _0x56b935,uid as _0x37cd68}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x5b3bca,MenuBarMenuListItemButtonView as _0x1df299,View as _0x4445e5}from'@ckeditor/ckeditor5-ui';import{Widget as _0x5a13ad,toWidget as _0x535b15}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x32f7ec}from'@ckeditor/ckeditor5-icons';function I(_0xd34505){let _0xe0ae41='';for(const _0x30e7f3 of _0xd34505['getChildren']())_0x30e7f3 instanceof _0x10be88&&(_0xe0ae41+=_0x30e7f3['data']);return _0xe0ae41;}var L=class extends _0x21db6b{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x3b2e26=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x5a2bfb=[];_0x3b2e26['model']['document']['on']('change',_0x4e3417(()=>{const _0x2b1d7d=_0x5a2bfb;_0x5a2bfb=this['_getOutlineDefinitions']();const _0x2618af=_0x9bf324(_0x2b1d7d,_0x5a2bfb,(_0xda08d3,_0x5d156a)=>_0xda08d3['level']===_0x5d156a['level']&&_0xda08d3['text']===_0x5d156a['text']&&_0xda08d3['modelElement']===_0x5d156a['modelElement']),_0x5bf556=_0x1b0b38(_0x2618af,_0x5a2bfb),_0x31acdd=this['_getActiveHeading'](),_0x446e01=_0x5a2bfb['findIndex'](_0x3331bf=>_0x3331bf['modelElement']===_0x31acdd);_0x5bf556['length']&&this['fire']('change',{'outlineDefinitions':_0x5a2bfb,'activeItemIndex':_0x446e01,'outlineChanges':_0x5bf556}),this['fire']('activeItemIndex',{'index':_0x446e01});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x2421bc=this['editor'],_0x5f02d4=[],_0xf99d9=this['_headingNames'];for(const _0x1fbbfe of _0x2421bc['model']['document']['getRootNames']())_0x15d3bd(_0x2421bc['model']['document']['getRoot'](_0x1fbbfe));function _0x15d3bd(_0x1f9021){for(const _0x2e6cac of _0x1f9021['getChildren']())_0x2e6cac['is']('element')&&(_0xf99d9['includes'](_0x2e6cac['name'])&&_0x5f02d4['push']({'level':_0xf99d9['indexOf'](_0x2e6cac['name'])+0x1,'text':I(_0x2e6cac),'modelElement':_0x2e6cac}),_0x15d3bd(_0x2e6cac));}return _0x5f02d4;}_getActiveHeading(){const _0x339d19=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x5e732e=new _0x4bd36c({'direction':'backward','startPosition':_0x339d19});for(const _0x478682 of _0x5e732e)if(_0x478682['item']['is']('element')&&this['_headingNames']['includes'](_0x478682['item']['name']))return _0x478682['item'];}_getHeadingNames(){const _0x320cfc=this['editor']['config']['get']('documentOutline.headings');return _0x320cfc||function(_0x2269c6){const _0x8a1787=_0x2269c6['config']['get']('heading.options');return _0x8a1787?_0x8a1787['reduce']((_0x15009f,_0x57ab7d)=>('paragraph'!==_0x57ab7d['model']&&_0x15009f['push'](_0x57ab7d['model']),_0x15009f),[]):_0x2269c6['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x16becc=this['editor'],_0x46ec17=['h1','h2','h3','h4','h5','h6'],_0xbea238=[];for(const _0x1052a5 of _0x46ec17){const _0x5d6f56=_0x16becc['editing']['view']['domConverter']['domToView'](document['createElement'](_0x1052a5)),_0x2e4047=_0x16becc['data']['toModel'](_0x5d6f56)['getChild'](0x0);_0x2e4047?.['is']('element')&&_0xbea238['push'](_0x2e4047['name']);}this['_headingNames']=_0xbea238;}};function C(_0x43caa4,_0x47513b){const t=_0x43caa4['t'];switch(_0x47513b){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 _0x47513b;}}var _=class extends _0x4445e5{constructor(_0x473742,_0x5f5613=!0x1){super(_0x473742);const _0x38107d=this['bindTemplate'],_0x4f78cb=_0x5f5613?'['+C(_0x473742,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5ea0de=>!_0x5ea0de),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x38107d['to']('level',_0x1079c5=>'ck-document-outline__item_level-'+_0x1079c5),_0x38107d['if']('isActive','ck-document-outline__item_active'),_0x38107d['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x38107d['to']('text')},'children':[{'text':_0x38107d['to']('text',_0x36483e=>_0x36483e||_0x4f78cb)}],'on':{'click':_0x38107d['to']('click')}});}},k=class extends _0x4445e5{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x62fe3b,_0x308ad1=!0x1,_0x35edb7){super(_0x62fe3b),this['showEmptyHeadingText']=_0x308ad1,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x35edb7,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x151017,_0x5035d3,_0x388ed9,_0x410d0e)=>{this['_setActiveItem'](_0x410d0e,_0x388ed9);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x62fe3b['contentLanguageDirection'],'data-document-outline-empty-placeholder':C(_0x62fe3b,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x242ac9){_0x242ac9['forEach'](_0x5ded08=>{'insert'==_0x5ded08['type']?this['_insertItem'](_0x5ded08['index'],..._0x5ded08['values']):'delete'==_0x5ded08['type']&&this['_deleteItem'](_0x5ded08['index'],_0x5ded08['howMany']);});}_setActiveItem(_0x5c8644,_0x5b1bff){if(-0x1!==_0x5c8644){const _0x394283=this['items']['get'](_0x5c8644);_0x394283&&(_0x394283['isActive']=!0x1);}-0x1!==_0x5b1bff&&(this['items']['get'](_0x5b1bff)['isActive']=!0x0,this['_scrollToItem'](_0x5b1bff));}_insertItem(_0x4a884b,..._0x1761a2){const _0x5a8b62=_0x1761a2['map']((_0x148472,_0x404866)=>{const _0x6b36a0=new _(this['locale'],this['showEmptyHeadingText']);return _0x6b36a0['text']=_0x148472['text'],_0x6b36a0['level']=_0x148472['level'],_0x4a884b+_0x404866===this['activeItemIndex']&&(_0x6b36a0['isActive']=!0x0),_0x6b36a0;});this['items']['addMany'](_0x5a8b62,_0x4a884b);}_deleteItem(_0x4423c6,_0x373820){do{this['items']['remove'](_0x4423c6);}while(--_0x373820);}_handleItemClick(_0x3f19ef){const _0x23eb97=this['items']['getIndex'](_0x3f19ef['source']);this['fire']('itemSelected',_0x23eb97);}_scrollToItem(_0x5d81f2){_0x56b935(this['items']['get'](_0x5d81f2)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x21db6b{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x29f927){super(_0x29f927),this['view']=new k(_0x29f927['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x3b6b03(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x34f43a=this['editor'],_0x596f40=_0x34f43a['plugins']['get']('DocumentOutlineUtils');let _0x11cbae=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x34f43a['config']['get']('documentOutline.container'))throw new _0x706cdb('document-outline-container-not-provided',{'editor':_0x34f43a});_0x34f43a['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x596f40['on']('change',this['_handleOutlineChange']['bind'](this)),_0x596f40['on']('activeItemIndex',(_0x15571c,{index:_0x1ec7fe})=>this['_setActiveViewItem'](_0x1ec7fe)),this['view']['on']('itemSelected',(_0x37a825,_0x33cfc5)=>{_0x11cbae=!0x0,this['_handleItemSelected'](_0x33cfc5);});const _0x2b3d81=()=>{_0x11cbae?_0x11cbae=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();};this['view']['listenTo'](_0x4e8e08['document'],'scroll',_0x2b3d81,{'useCapture':!0x0}),_0x5c9fc9(_0x34f43a['ui']['shadowRootRegistry'],{'emitter':this['view'],'event':'scroll','callback':_0x2b3d81,'listenerOptions':{'useCapture':!0x0}}),this['view']['listenTo'](_0x4e8e08['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x4c7dd5){const _0x45b8b7='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x2d99d7=0x79710,_0x2181e1={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x23de98(_0x44c2d1){const _0x461f04=new window['Promise'](_0x477474=>{_0x44c2d1['once']('ready',_0x477474);}),_0x5dacb2=window['Date']['now'](),_0x527e48=_0x44c2d1['config']['get']('licenseKey');async function _0x4c3c66(){let _0x4876a6,_0x265de5=null,_0x1c8d96=null;try{return'GPL'==_0x527e48?'NotAllowed':(_0x4876a6=_0xbb75f3(),_0x4876a6?(_0x4876a6['usageEndpoint']&&(_0x1c8d96=_0x2fb701(_0x4876a6['usageEndpoint'],_0x4876a6['jti'])),await _0xf7df1e()?_0xcb9884()?_0x1b1b3e()?'Expired':_0x2e1bbb()?('evaluation'==_0x4876a6['licenseType']&&(_0x265de5=_0x418595('EvaluationLimit')),await _0x526d9d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1b1b3e(){const _0x1a7dcb=['evaluation','trial']['includes'](_0x4876a6['licenseType'])?_0x5dacb2/0x3e8:0xe10*_0x2d99d7;return _0x4876a6['exp']<_0x1a7dcb;}function _0xcb9884(){const _0xa900ce=_0x4876a6['features'];return!!_0xa900ce&&(!!_0xa900ce['includes']('*')||(!!_0xa900ce['includes']('DO')||(!!_0xa900ce['includes']('PP')||!(!_0xa900ce['includes']('TRILIUM')||!_0x1f224e()))));}function _0x2e1bbb(){const _0x4f68c3=_0x4876a6['licensedHosts'];if(!_0x4f68c3||0x0==_0x4f68c3['length'])return!0x0;const {hostname:_0x4969ee}=new URL(window['location']['href']);if(_0x4f68c3['includes'](_0x4969ee))return!0x0;const _0x15a5e4=_0x4969ee['split']('.');return _0x4f68c3['filter'](_0x5a77df=>_0x5a77df['includes']('*'))['map'](_0x26278d=>_0x26278d['split']('.'))['filter'](_0x446084=>_0x446084['length']<=_0x15a5e4['length'])['map'](_0x156344=>Array(_0x15a5e4['length']-_0x156344['length'])['fill']('*'===_0x156344[0x0]?'*':'')['concat'](_0x156344))['some'](_0xafcdb5=>_0x15a5e4['every']((_0x4de936,_0x516cd8)=>_0xafcdb5[_0x516cd8]===_0x4de936||'*'===_0xafcdb5[_0x516cd8]));}function _0x526d9d(){return _0x265de5&&_0x1c8d96?new window['Promise']((_0x1fa69c,_0x5e092c)=>{_0x265de5['then'](_0x1fa69c,_0x5e092c),_0x1c8d96['then'](_0x4a0de3=>{'Valid'!=_0x4a0de3&&_0x1fa69c(_0x4a0de3);},_0x5e092c);}):_0x265de5||_0x1c8d96||'Valid';}}function _0x2fb701(_0xfa240c,_0x5d7241){return new window['Promise'](_0x338ad8=>{if(_0x4f989d())return _0x338ad8('Valid');_0x5eeeea(),_0x44c2d1['decorate']('_sendUsageRequest');let _0x546567=!0x1;const _0x309d19=_0x37cd68();function _0x217538(_0x2aa7de){return!!_0x2aa7de&&('object'==typeof _0x2aa7de||'function'==typeof _0x2aa7de)&&'function'==typeof _0x2aa7de['then']&&'function'==typeof _0x2aa7de['catch'];}function _0x5ebcdd(_0x1d8b46){_0xc44a71(_0x1d8b46)['then'](_0x2fad18=>_0x2fad18&&'ok'==_0x2fad18['status']?_0x7ed50e(_0x175a34(_0x309d19+_0x5d7241))!=_0x2fad18['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x36ff49=>(_0x2208bb(),_0x36ff49),()=>{const _0x38c014=_0x5be39a();return null==_0x38c014?(_0x2208bb(),'Valid'):_0x5dacb2-_0x38c014>0x240c8400?'UsageLimit':'Valid';})['then'](_0x338ad8)['catch'](()=>{_0x338ad8('UsageLimit');});const _0x5542e3=0x36ee80;function _0x2208bb(){const _0x5466af='llct-'+_0x7ed50e(_0x175a34(_0xfa240c)),_0x33d18c=_0x41cb11(_0x7ed50e(window['Math']['ceil'](_0x5dacb2/_0x5542e3)));window['localStorage']['setItem'](_0x5466af,_0x33d18c);}function _0x5be39a(){const _0x5587cc='llct-'+_0x7ed50e(_0x175a34(_0xfa240c)),_0x54a14e=window['localStorage']['getItem'](_0x5587cc);return _0x54a14e?window['parseInt'](_0x41cb11(_0x54a14e),0x10)*_0x5542e3:null;}function _0xc44a71(_0x3e8745){return new window['Promise']((_0x252e43,_0x387f0f)=>{_0x3e8745['then'](_0x252e43,_0x387f0f),window['setTimeout'](_0x387f0f,0x1d4c0);});}}_0x44c2d1['on']('_sendUsageRequest',(_0x268dd7,_0x540c45)=>{if(_0x540c45[0x0]!=_0xfa240c)return _0x338ad8('UsageLimit');_0x540c45[0x1]={..._0x540c45[0x1],'requestId':_0x309d19};},{'priority':'high'}),_0x44c2d1['on']('_sendUsageRequest',_0x4dae4c=>{_0x217538(_0x4dae4c['return'])&&(_0x546567=!0x0,_0x5ebcdd(_0x4dae4c['return']));},{'priority':'low'}),_0x461f04['then'](()=>{_0x546567||_0x338ad8('UsageLimit');});});function _0x4f989d(){return'auto'==_0x44c2d1['editing']['view']['_overlayModeHint'];}function _0x5eeeea(){_0x44c2d1['editing']['view']['_overlayModeHint']='auto';}}function _0x418595(_0x310b38){const _0x4c6fcb=[new window['Promise'](_0x467f97=>setTimeout(_0x467f97,0x93ecc)),_0x461f04['then'](()=>new window['Promise'](_0x510d85=>{let _0x4accca=0x0;_0x44c2d1['model']['on']('applyOperation',(_0x1395a2,_0x2af5f2)=>{_0x2af5f2[0x0]['isDocumentOperation']&&_0x4accca++,0x5e8==_0x4accca&&(_0x510d85(),_0x1395a2['off']());});}))];return window['Promise']['race'](_0x4c6fcb)['then'](()=>_0x310b38);}async function _0x556aa8(){await _0x461f04,_0x44c2d1['model']['change']=_0x4a6e54,_0x44c2d1['model']['enqueueChange']=_0x4a6e54,_0x44c2d1['enableReadOnlyMode']('model');}function _0x1f224e(){return window['glob']&&window['glob']['triliumVersion'];}function _0x19b46f(_0x4f4a43){const _0x368ff6=_0x137728();_0x44c2d1[_0x368ff6]='documentOutlineLicenseKey'+_0x4f4a43,'Valid'!=_0x4f4a43&&_0x556aa8();}function _0x137728(){const _0x325c4b=window['String'](window['performance']['now']())['replace']('.','');let _0x5c542e='u';for(let _0x4eaba7=0x0;_0x4eaba7<_0x325c4b['length'];_0x4eaba7+=0x2){let _0x250ffb=window['parseInt'](_0x325c4b['substring'](_0x4eaba7,_0x4eaba7+0x2));_0x250ffb>=0x3e&&(_0x250ffb-=0x3e),_0x5c542e+=_0x45b8b7[_0x250ffb];}return _0x5c542e;}function _0xbb75f3(){const _0x5a337b=_0x527e48['split']('.');if(0x3!=_0x5a337b['length'])return null;return _0x494625(_0x5a337b[0x1]);function _0x494625(_0x16e15b){const _0x596afb=_0x4a72ba(_0x16e15b);return _0x596afb&&_0x3db9d0()?_0x596afb:null;function _0x3db9d0(){const _0x5bc1eb=_0x596afb['jti'],_0x6a687d=window['parseInt'](_0x5bc1eb['substring'](_0x5bc1eb['length']-0x8),0x10),_0x56d1f3={..._0x596afb,'jti':_0x5bc1eb['substring'](0x0,_0x5bc1eb['length']-0x8)};return delete _0x56d1f3['vc'],_0x175a34(_0x56d1f3)==_0x6a687d;}}}async function _0xf7df1e(){let _0x1eea9f=!0x0;try{const [_0x5a06c8,_0x1e85ca,_0x970f3e]=_0x527e48['split']('.');return _0x40e324(_0x5a06c8),await _0x55a036(_0x5a06c8,_0x1e85ca,_0x970f3e),_0x1eea9f;}catch{return!0x1;}function _0x40e324(_0xf4b68){const _0x4c82ed=_0x4a72ba(_0xf4b68);_0x4c82ed&&'ES256'==_0x4c82ed['alg']||(_0x1eea9f=!0x1);}async function _0x55a036(_0x4aea1d,_0x282d98,_0x1d38b){const _0x1b751b=window['Uint8Array']['from'](_0x486c4c(_0x1d38b),_0x3e7b1c=>_0x3e7b1c['charCodeAt'](0x0)),_0x2006a0=new window['TextEncoder']()['encode'](_0x4aea1d+'.'+_0x282d98),_0x37855c=window['crypto']['subtle'];if(!_0x37855c)return;const _0x3ba471=await _0x37855c['importKey']('jwk',_0x2181e1,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x37855c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3ba471,_0x1b751b,_0x2006a0)||(_0x1eea9f=!0x1);}}function _0x4a72ba(_0x3b4a65){return _0x3b4a65['startsWith']('ey')?JSON['parse'](_0x486c4c(_0x3b4a65)):null;}function _0x486c4c(_0x536d51){return window['atob'](_0x536d51['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x175a34(_0x1dfa22){let _0x4ea086=0x1505;function _0x495563(_0x1715c5){for(let _0x48a28f=0x0;_0x48a28f<_0x1715c5['length'];_0x48a28f++){const _0x24d987=_0x1715c5['charCodeAt'](_0x48a28f);_0x4ea086=(_0x4ea086<<0x5)+_0x4ea086+_0x24d987,_0x4ea086&=_0x4ea086;}}function _0x233cb3(_0x16a7f7){Array['isArray'](_0x16a7f7)?_0x16a7f7['forEach'](_0x233cb3):_0x16a7f7&&'object'==typeof _0x16a7f7?Object['entries'](_0x16a7f7)['sort']()['forEach'](([_0x25b47b,_0x47b722])=>{_0x495563(_0x25b47b),_0x233cb3(_0x47b722);}):_0x495563(window['String'](_0x16a7f7));}return _0x233cb3(_0x1dfa22),_0x4ea086>>>0x0;}function _0x7ed50e(_0x18826f){return _0x18826f['toString'](0x10)['padStart'](0x8,'0');}function _0x41cb11(_0x1872dc){return _0x1872dc['split']('')['reverse']()['join']('');}function _0x4a6e54(){}_0x19b46f(await _0x4c3c66());}_0x23de98(_0x4c7dd5['editor']);}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x13707f,{outlineDefinitions:_0x3e3a3a,outlineChanges:_0x4a98cc}){this['_currentOutlineDefinitions']=_0x3e3a3a,this['view']['sync'](_0x4a98cc);}_setActiveViewItem(_0x3d7e4d){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x3d7e4d]&&(this['view']['activeItemIndex']=_0x3d7e4d);}_handleItemSelected(_0x65892c){const _0x3f882a=this['_currentOutlineDefinitions'][_0x65892c]['modelElement'];this['editor']['model']['change'](_0x1f0f37=>{_0x1f0f37['setSelection'](_0x3f882a,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x65892c);}_updateActiveDefinitionOnViewportChange(){const _0x2344dd=this['editor'];let _0x2eba67;for(const _0x28533a of _0x2344dd['model']['document']['getRootNames']()){const _0x2ebe04=_0x2344dd['editing']['view']['getDomRoot'](_0x28533a),_0x3d1964=_0x2ebe04&&new _0x282437(_0x2ebe04)['getVisible']();if(_0x3d1964){const _0x1fded5=new _0x282437(_0x4e8e08['window'])['getIntersection'](_0x3d1964);_0x1fded5&&(_0x2eba67=_0x1fded5['top']+0.25*_0x1fded5['height']);}}if(void 0x0===_0x2eba67)return;const _0x255864=E(_0x2344dd['editing'],this['_currentOutlineDefinitions'],_0x2eba67);_0x255864?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x255864)):this['_setActiveViewItem'](-0x1);}};function E(_0x21bdad,_0x1bc7d8,_0x9c7d1d,_0x40fd5e=0x0,_0x2a9895=_0x1bc7d8['length']-0x1){const _0x1b6445=Math['floor'](_0x40fd5e+(_0x2a9895-_0x40fd5e)/0x2);if(_0x2a9895>=_0x40fd5e){const _0x372d30=_0x1bc7d8[_0x1b6445],_0x25fe60=_0x21bdad['mapper']['toViewElement'](_0x372d30['modelElement']);if(!_0x25fe60)return null;const _0x1016d7=_0x21bdad['view']['domConverter']['mapViewToDom'](_0x25fe60);return new _0x282437(_0x1016d7)['bottom']>_0x9c7d1d?E(_0x21bdad,_0x1bc7d8,_0x9c7d1d,_0x40fd5e,_0x1b6445-0x1):E(_0x21bdad,_0x1bc7d8,_0x9c7d1d,_0x1b6445+0x1,_0x2a9895);}return _0x1b6445<0x0?null:_0x1bc7d8[_0x1b6445];}var K=class extends _0x21db6b{['licenseKey'];_licenseKeyCheckInterval;static get requires(){return[L,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x35c834=[this['editor']];for(const _0x25fe3e of _0x35c834){let _0x2e5a32;for(const _0x15a03e in _0x25fe3e){const _0x181b68=_0x15a03e,_0x351b6c=_0x25fe3e[_0x181b68];if('documentOutlineLicenseKeyValid'==_0x351b6c||'documentOutlineLicenseKeyInvalid'==_0x351b6c||'documentOutlineLicenseKeyExpired'==_0x351b6c||'documentOutlineLicenseKeyDomainLimit'==_0x351b6c||'documentOutlineLicenseKeyNotAllowed'==_0x351b6c||'documentOutlineLicenseKeyEvaluationLimit'==_0x351b6c||'documentOutlineLicenseKeyUsageLimit'==_0x351b6c){delete _0x25fe3e[_0x181b68],_0x2e5a32=_0x351b6c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2e5a32&&_0x25fe3e['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},A=class extends _0x6259ae{execute(){this['editor']['model']['change'](_0x23ea9e=>{this['editor']['model']['insertObject'](_0x23ea9e['createElement']('tableOfContents'));});}['refresh'](){const _0x40ff35=this['editor']['model'],_0x443103=_0x40ff35['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x443103&&_0x40ff35['schema']['findAllowedParent'](_0x443103,'tableOfContents'));}},N=class extends _0x21db6b{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x35f026=this['editor'];if(_0x35f026['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x1e45cf,modelNames:_0x491372}=function(_0x148767){const _0x353919=new Set(['h1','h2','h3','h4','h5','h6']),_0x8f04a7=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x148767)return{'viewNames':_0x353919,'modelNames':_0x8f04a7};for(const _0x2132b6 of _0x148767){if('paragraph'===_0x2132b6['model'])continue;const _0x467242='string'==typeof _0x2132b6['view']?_0x2132b6['view']:_0x2132b6['view']['name'];_0x353919['add'](_0x467242),_0x8f04a7['add'](_0x2132b6['model']);}return{'viewNames':_0x353919,'modelNames':_0x8f04a7};}(this['editor']['config']['get']('heading.options'));for(const _0x496e25 of _0x1e45cf)this['_customUpcastHeadingsConversion'](_0x496e25);for(const _0x14321f of _0x491372)this['_customDataDowncastHeadingsConversion'](_0x14321f),_0x35f026['model']['schema']['isRegistered'](_0x14321f)&&_0x35f026['model']['schema']['extend'](_0x14321f,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x491372);}_customUpcastHeadingsConversion(_0x4e4d64){this['editor']['conversion']['for']('upcast')['add'](_0x11038a=>_0x11038a['on']('element:'+_0x4e4d64,(_0x3751a0,_0x38a360,_0x96b333)=>{const {consumable:_0xdad527,writer:_0x409d8f}=_0x96b333,_0x1feed7=_0x38a360['viewItem']['getAttribute']('id'),_0x2c1844=_0x38a360['modelRange']?.['getContainedElement']();if(_0x2c1844)return _0x1feed7&&_0x1feed7['length']||_0x2c1844['hasAttribute']('headingId')?void(_0xdad527['consume'](_0x38a360['viewItem'],{'attributes':['id']})&&_0x409d8f['setAttribute']('headingId',_0x1feed7,_0x2c1844)):(_0xdad527['consume'](_0x38a360['viewItem'],{'attributes':['id']}),void _0x409d8f['setAttribute']('headingId',_0x37cd68(),_0x2c1844));},{'priority':_0x243f41['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x56de18){this['editor']['conversion']['for']('downcast')['add'](_0x44b714=>_0x44b714['on']('attribute:headingId:'+_0x56de18,(_0x3cf73f,_0x2b10d7,_0x50e8b0)=>{if(!_0x50e8b0['consumable']['consume'](_0x2b10d7['item'],_0x3cf73f['name']))return;const _0x4da944=_0x2b10d7['item']['getAttribute']('headingId'),_0x370da0=_0x50e8b0['mapper']['toViewElement'](_0x2b10d7['item']);_0x50e8b0['writer']['setAttribute']('id',_0x4da944,_0x370da0);}));}_registerHeadingIdAttributePostfixer(_0x582d3c){const _0x274363=this['editor'],_0xc42797=new Set(),_0x2ba694=new Set();function _0x1659f4(_0x50574b,_0xbeda74){const _0x46cf92=_0x37cd68();return _0x2ba694['add'](_0x46cf92),_0x50574b['setAttribute']('headingId',_0x46cf92,_0xbeda74),_0x46cf92;}function _0x2afc2d(_0x50828e,_0x4fffd4){_0x50828e['removeAttribute']('headingId',_0x4fffd4);}_0x274363['model']['document']['registerPostFixer'](_0x269498=>{const _0x445ade=_0x274363['model']['document']['differ']['getChanges']();let _0x38052c=!0x1;for(const _0xab9cec of _0x445ade)if('insert'==_0xab9cec['type']&&_0xab9cec['name']){if(_0x582d3c['has'](_0xab9cec['name'])){const _0x319f61=_0xab9cec['attributes']['get']('headingId');'string'==typeof _0x319f61?_0xc42797['has'](_0x319f61)?(_0x1659f4(_0x269498,_0xab9cec['position']['nodeAfter']),_0x38052c=!0x0):_0x2ba694['add'](_0x319f61):(_0x1659f4(_0x269498,_0xab9cec['position']['nodeAfter']),_0x38052c=!0x0);}else'string'==typeof _0xab9cec['attributes']['get']('headingId')&&(_0x2afc2d(_0x269498,_0xab9cec['position']['nodeAfter']),_0x38052c=!0x0);}else{if('remove'==_0xab9cec['type']){const _0x410bd8=_0xab9cec['attributes']['get']('headingId');'string'==typeof _0x410bd8&&_0xc42797['delete'](_0x410bd8);}}return _0x38052c;}),_0x274363['model']['document']['on']('change',()=>{_0x2ba694['forEach'](_0x5a75d2=>_0xc42797['add'](_0x5a75d2)),_0x2ba694['clear']();});}},D=class extends _0x21db6b{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x5a13ad,L,N];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x40bc11){super(_0x40bc11),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x18cab0=this['editor'],_0x1a47d8=_0x18cab0['editing']['view']['document'];_0x18cab0['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x18cab0['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x1a47d8,'click',(_0x139e6f,_0x30b96b)=>{if(!_0x30b96b['target'])return;const _0x5030ea=_0x30b96b['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5030ea)&&(_0x30b96b['domEvent']['preventDefault'](),_0x139e6f['stop'](),this['_handleScrollToHeading'](_0x5030ea));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x18cab0['commands']['add']('insertTableOfContents',new A(_0x18cab0));const _0x2ac830=_0x18cab0['config']['get']('tableOfContents.headings');_0x2ac830&&_0x2ac830['length']?this['listenTo'](_0x18cab0['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x2ac830),this['_updateTableOfContentsElements']();}):_0x18cab0['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x25c18f,_0xaed72b)=>{this['_currentOutlineDefinitions']=_0xaed72b['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x18cab0['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x484d44){const _0xb31d3b='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x1d9a2e=0x79710,_0x4ddc76={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x5642fe(_0xf7e703){const _0xba9dc3=new window['Promise'](_0x1291db=>{_0xf7e703['once']('ready',_0x1291db);}),_0x4029ec=window['Date']['now'](),_0x34b9a0=_0xf7e703['config']['get']('licenseKey');async function _0x573726(){let _0xbee8f,_0x342037=null,_0x546cc5=null;try{return'GPL'==_0x34b9a0?'NotAllowed':(_0xbee8f=_0x3a0258(),_0xbee8f?(_0xbee8f['usageEndpoint']&&(_0x546cc5=_0x1f2870(_0xbee8f['usageEndpoint'],_0xbee8f['jti'])),await _0x151a4e()?_0x528f5b()?_0xdb96e()?'Expired':_0x5ecda9()?('evaluation'==_0xbee8f['licenseType']&&(_0x342037=_0x3b0df0('EvaluationLimit')),await _0x3f37db()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xdb96e(){const _0x56e64e=['evaluation','trial']['includes'](_0xbee8f['licenseType'])?_0x4029ec/0x3e8:0xe10*_0x1d9a2e;return _0xbee8f['exp']<_0x56e64e;}function _0x528f5b(){const _0x46d2dc=_0xbee8f['features'];return!!_0x46d2dc&&(!!_0x46d2dc['includes']('*')||(!!_0x46d2dc['includes']('TOC')||(!!_0x46d2dc['includes']('PP')||!(!_0x46d2dc['includes']('TRILIUM')||!_0x10f41f()))));}function _0x5ecda9(){const _0x164e9e=_0xbee8f['licensedHosts'];if(!_0x164e9e||0x0==_0x164e9e['length'])return!0x0;const {hostname:_0x501932}=new URL(window['location']['href']);if(_0x164e9e['includes'](_0x501932))return!0x0;const _0x2b61fd=_0x501932['split']('.');return _0x164e9e['filter'](_0x180b95=>_0x180b95['includes']('*'))['map'](_0x59ae24=>_0x59ae24['split']('.'))['filter'](_0x1e9e3b=>_0x1e9e3b['length']<=_0x2b61fd['length'])['map'](_0x33f5f9=>Array(_0x2b61fd['length']-_0x33f5f9['length'])['fill']('*'===_0x33f5f9[0x0]?'*':'')['concat'](_0x33f5f9))['some'](_0x5023de=>_0x2b61fd['every']((_0x2454e8,_0x612b14)=>_0x5023de[_0x612b14]===_0x2454e8||'*'===_0x5023de[_0x612b14]));}function _0x3f37db(){return _0x342037&&_0x546cc5?new window['Promise']((_0x569dd9,_0x2f2dc7)=>{_0x342037['then'](_0x569dd9,_0x2f2dc7),_0x546cc5['then'](_0x3818f8=>{'Valid'!=_0x3818f8&&_0x569dd9(_0x3818f8);},_0x2f2dc7);}):_0x342037||_0x546cc5||'Valid';}}function _0x1f2870(_0x13627d,_0x25673c){return new window['Promise'](_0x51e4e2=>{if(_0x32b2de())return _0x51e4e2('Valid');_0xd8699d(),_0xf7e703['decorate']('_sendUsageRequest');let _0x5f9ae3=!0x1;const _0x1e75ec=_0x37cd68();function _0x19f283(_0x412735){return!!_0x412735&&('object'==typeof _0x412735||'function'==typeof _0x412735)&&'function'==typeof _0x412735['then']&&'function'==typeof _0x412735['catch'];}function _0x288c74(_0x3007c0){_0x4e4db9(_0x3007c0)['then'](_0xc05f8c=>_0xc05f8c&&'ok'==_0xc05f8c['status']?_0x1dd149(_0xf41aa2(_0x1e75ec+_0x25673c))!=_0xc05f8c['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b4dcc=>(_0x13a70e(),_0x1b4dcc),()=>{const _0x158ea0=_0xff9ca3();return null==_0x158ea0?(_0x13a70e(),'Valid'):_0x4029ec-_0x158ea0>0x240c8400?'UsageLimit':'Valid';})['then'](_0x51e4e2)['catch'](()=>{_0x51e4e2('UsageLimit');});const _0xb0ee3e=0x36ee80;function _0x13a70e(){const _0x11b9f5='llct-'+_0x1dd149(_0xf41aa2(_0x13627d)),_0x1e21f1=_0x2922b5(_0x1dd149(window['Math']['ceil'](_0x4029ec/_0xb0ee3e)));window['localStorage']['setItem'](_0x11b9f5,_0x1e21f1);}function _0xff9ca3(){const _0x4994af='llct-'+_0x1dd149(_0xf41aa2(_0x13627d)),_0x59ee16=window['localStorage']['getItem'](_0x4994af);return _0x59ee16?window['parseInt'](_0x2922b5(_0x59ee16),0x10)*_0xb0ee3e:null;}function _0x4e4db9(_0x55b19b){return new window['Promise']((_0x4454c9,_0x2d8598)=>{_0x55b19b['then'](_0x4454c9,_0x2d8598),window['setTimeout'](_0x2d8598,0x1d4c0);});}}_0xf7e703['on']('_sendUsageRequest',(_0x3fd18c,_0x56b413)=>{if(_0x56b413[0x0]!=_0x13627d)return _0x51e4e2('UsageLimit');_0x56b413[0x1]={..._0x56b413[0x1],'requestId':_0x1e75ec};},{'priority':'high'}),_0xf7e703['on']('_sendUsageRequest',_0x317395=>{_0x19f283(_0x317395['return'])&&(_0x5f9ae3=!0x0,_0x288c74(_0x317395['return']));},{'priority':'low'}),_0xba9dc3['then'](()=>{_0x5f9ae3||_0x51e4e2('UsageLimit');});});function _0x32b2de(){return'auto'==_0xf7e703['editing']['view']['_overlayModeHint'];}function _0xd8699d(){_0xf7e703['editing']['view']['_overlayModeHint']='auto';}}function _0x3b0df0(_0x3945c9){const _0x339570=[new window['Promise'](_0x5191c4=>setTimeout(_0x5191c4,0x93ecc)),_0xba9dc3['then'](()=>new window['Promise'](_0x5e772c=>{let _0x5f49fc=0x0;_0xf7e703['model']['on']('applyOperation',(_0x13456d,_0x88b547)=>{_0x88b547[0x0]['isDocumentOperation']&&_0x5f49fc++,0x5e8==_0x5f49fc&&(_0x5e772c(),_0x13456d['off']());});}))];return window['Promise']['race'](_0x339570)['then'](()=>_0x3945c9);}async function _0x558e9c(){await _0xba9dc3,_0xf7e703['model']['change']=_0x4ddf42,_0xf7e703['model']['enqueueChange']=_0x4ddf42,_0xf7e703['enableReadOnlyMode']('model');}function _0x10f41f(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5ac330(_0x49dc51){const _0x250315=_0x236b09();_0xf7e703[_0x250315]='tableOfContentsLicenseKey'+_0x49dc51,'Valid'!=_0x49dc51&&_0x558e9c();}function _0x236b09(){const _0x46de2e=window['String'](window['performance']['now']())['replace']('.','');let _0x3fc4c8='D';for(let _0x585724=0x0;_0x585724<_0x46de2e['length'];_0x585724+=0x2){let _0x236024=window['parseInt'](_0x46de2e['substring'](_0x585724,_0x585724+0x2));_0x236024>=0x3e&&(_0x236024-=0x3e),_0x3fc4c8+=_0xb31d3b[_0x236024];}return _0x3fc4c8;}function _0x3a0258(){const _0x1bfa9e=_0x34b9a0['split']('.');if(0x3!=_0x1bfa9e['length'])return null;return _0x142aeb(_0x1bfa9e[0x1]);function _0x142aeb(_0x1ac705){const _0x21089c=_0x42f91c(_0x1ac705);return _0x21089c&&_0xf41833()?_0x21089c:null;function _0xf41833(){const _0x39d6d6=_0x21089c['jti'],_0x3088af=window['parseInt'](_0x39d6d6['substring'](_0x39d6d6['length']-0x8),0x10),_0xa17db2={..._0x21089c,'jti':_0x39d6d6['substring'](0x0,_0x39d6d6['length']-0x8)};return delete _0xa17db2['vc'],_0xf41aa2(_0xa17db2)==_0x3088af;}}}async function _0x151a4e(){let _0x378b49=!0x0;try{const [_0x4bc36f,_0x3c52e5,_0x2993c2]=_0x34b9a0['split']('.');return _0x2bc2c8(_0x4bc36f),await _0x9dff99(_0x4bc36f,_0x3c52e5,_0x2993c2),_0x378b49;}catch{return!0x1;}function _0x2bc2c8(_0x2bcb06){const _0x29d599=_0x42f91c(_0x2bcb06);_0x29d599&&'ES256'==_0x29d599['alg']||(_0x378b49=!0x1);}async function _0x9dff99(_0x5b4830,_0x55994a,_0x587884){const _0x3ecfc8=window['Uint8Array']['from'](_0x4b4e11(_0x587884),_0x3990ce=>_0x3990ce['charCodeAt'](0x0)),_0x3e65d4=new window['TextEncoder']()['encode'](_0x5b4830+'.'+_0x55994a),_0x25717f=window['crypto']['subtle'];if(!_0x25717f)return;const _0x486c47=await _0x25717f['importKey']('jwk',_0x4ddc76,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x25717f['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x486c47,_0x3ecfc8,_0x3e65d4)||(_0x378b49=!0x1);}}function _0x42f91c(_0x16384f){return _0x16384f['startsWith']('ey')?JSON['parse'](_0x4b4e11(_0x16384f)):null;}function _0x4b4e11(_0x3b8169){return window['atob'](_0x3b8169['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xf41aa2(_0x4a45e1){let _0x23d19d=0x1505;function _0x6a164e(_0x40f885){for(let _0x270961=0x0;_0x270961<_0x40f885['length'];_0x270961++){const _0xa42eab=_0x40f885['charCodeAt'](_0x270961);_0x23d19d=(_0x23d19d<<0x5)+_0x23d19d+_0xa42eab,_0x23d19d&=_0x23d19d;}}function _0x52bcb6(_0x4dd8a9){Array['isArray'](_0x4dd8a9)?_0x4dd8a9['forEach'](_0x52bcb6):_0x4dd8a9&&'object'==typeof _0x4dd8a9?Object['entries'](_0x4dd8a9)['sort']()['forEach'](([_0x31a951,_0x3d11b6])=>{_0x6a164e(_0x31a951),_0x52bcb6(_0x3d11b6);}):_0x6a164e(window['String'](_0x4dd8a9));}return _0x52bcb6(_0x4a45e1),_0x23d19d>>>0x0;}function _0x1dd149(_0x1f35b6){return _0x1f35b6['toString'](0x10)['padStart'](0x8,'0');}function _0x2922b5(_0xb54231){return _0xb54231['split']('')['reverse']()['join']('');}function _0x4ddf42(){}_0x5ac330(await _0x573726());}_0x5642fe(_0x484d44['editor']);}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x533653=>{'$graveyard'!==_0x533653['rootName']&&this['editor']['editing']['reconvertItem'](_0x533653);});}_trackNewToCElements(){for(const _0x2bbc94 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2bbc94['type']||'tableOfContents'!==_0x2bbc94['name'])return;this['_tableOfContentsElements']['add'](_0x2bbc94['position']['nodeAfter']);}}_getOutlineDefinitions(_0xa4aefa){const _0x47312b=this['editor'],_0x54b12e=[];for(const _0xfd1f1a of _0x47312b['model']['document']['getRootNames']())_0x31af96(_0x47312b['model']['document']['getRoot'](_0xfd1f1a));function _0x31af96(_0x5c0fe0){for(const _0x269ec3 of _0x5c0fe0['getChildren']())_0x269ec3['is']('element')&&(_0xa4aefa['includes'](_0x269ec3['name'])&&_0x54b12e['push']({'level':_0xa4aefa['indexOf'](_0x269ec3['name'])+0x1,'text':I(_0x269ec3),'modelElement':_0x269ec3}),_0x31af96(_0x269ec3));}return _0x54b12e;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x21a02e=this['editor']['conversion'];_0x21a02e['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x21a02e['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x31ab2c,{writer:_0x1d6000})=>this['_createTableOfContents'](_0x1d6000,!0x0)}),_0x21a02e['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2b0fd6,{writer:_0x6e836e})=>{this['_tableOfContentsElements']['add'](_0x2b0fd6);const _0x138dd3=this['_createTableOfContents'](_0x6e836e);return _0x535b15(_0x138dd3,_0x6e836e,{'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(_0x3e71aa,_0x5abcb2=!0x1){const {locale:_0x2c61d8}=this['editor'],_0x41539e=_0x3e71aa['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x5abcb2&&{'data-table-of-contents-label':C(_0x2c61d8,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x5abcb2&&_0x3e71aa['insert'](_0x3e71aa['createPositionAt'](_0x41539e,'end'),_0x3e71aa['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3e71aa['createText'](C(_0x2c61d8,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x4a20fd=_0x5abcb2?'':'['+C(_0x2c61d8,'Empty\x20heading')+']';let _0x736f8d=_0x41539e;return this['_currentOutlineDefinitions']['forEach']((_0x2e6a2a,_0x4877ac,_0x5c1713)=>{const _0xf43d20=this['editor']['model']['hasContent'](_0x2e6a2a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x273806=_0xf43d20?_0x2e6a2a['text']:_0x4a20fd,_0xebe967=_0x2e6a2a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x204b09=_0x3e71aa['createContainerElement']('a',{'href':'#'+_0xebe967,...!_0x5abcb2&&{'tabindex':'-1'}},[_0x3e71aa['createText'](_0x273806)]),_0x5239ab=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3e71aa['setCustomProperty']('tableOfContentsHeadingIndex',_0x4877ac,_0x204b09);const _0x36d3b2=_0x3e71aa['createContainerElement']('li',null,[_0xf43d20||!_0x5abcb2&&_0x5239ab?_0x204b09:_0x3e71aa['createText']('')]),_0x5a32af=_0x4877ac?_0x5c1713[_0x4877ac-0x1]['level']:0x0,_0x5ea9dc=Math['abs'](_0x2e6a2a['level']-_0x5a32af);if(_0x2e6a2a['level']>_0x5a32af){const _0x4e0ab5=H(_0x36d3b2,_0x5ea9dc,_0x3e71aa);_0x3e71aa['insert'](_0x3e71aa['createPositionAt'](_0x736f8d,'end'),_0x4e0ab5);}else{const _0x1c3881=function(_0x32ea71,_0x62c467){return _0x32ea71['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x315b08=>_0x315b08['is']('element','ol'))[_0x62c467];}(_0x736f8d,_0x5ea9dc);_0x3e71aa['insert'](_0x3e71aa['createPositionAt'](_0x1c3881,'end'),_0x36d3b2);}_0x736f8d=_0x36d3b2;}),_0x41539e;}['_handleScrollToHeading'](_0x3eae9b){const _0x5ba2a6=this['_currentOutlineDefinitions'][_0x3eae9b]['modelElement'];this['editor']['model']['change'](_0x1b2d7d=>{_0x1b2d7d['setSelection'](_0x5ba2a6,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x4b0740,_0x16d099)=>{const _0x2242ab=_0x16d099['mapper'],_0x112596=_0x2242ab['findMappedViewAncestor'](_0x16d099['viewPosition']),_0x779b67=_0x2242ab['toModelElement'](_0x112596);_0x779b67['is']('element','tableOfContents')&&(_0x16d099['modelPosition']=this['editor']['model']['createPositionAt'](_0x779b67,0x0),_0x4b0740['stop']());};}};function H(_0x59b5bf,_0x3499f0,_0x17e927){return 0x1===_0x3499f0?_0x17e927['createContainerElement']('ol',null,[_0x59b5bf]):_0x17e927['createContainerElement']('ol',null,[_0x17e927['createContainerElement']('li',null,[H(_0x59b5bf,_0x3499f0-0x1,_0x17e927)])]);}var P=class extends _0x21db6b{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1727c7=this['editor'];_0x1727c7['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x4f3509=this['_createButton'](_0x5b3bca);return _0x4f3509['tooltip']=!0x0,_0x4f3509;}),_0x1727c7['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x1df299)),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x4c35b4=[this['editor']];for(const _0x4f6765 of _0x4c35b4){let _0x23d442;for(const _0x4f076c in _0x4f6765){const _0x50b813=_0x4f076c,_0x1b1005=_0x4f6765[_0x50b813];if('tableOfContentsLicenseKeyValid'==_0x1b1005||'tableOfContentsLicenseKeyInvalid'==_0x1b1005||'tableOfContentsLicenseKeyExpired'==_0x1b1005||'tableOfContentsLicenseKeyDomainLimit'==_0x1b1005||'tableOfContentsLicenseKeyNotAllowed'==_0x1b1005||'tableOfContentsLicenseKeyEvaluationLimit'==_0x1b1005||'tableOfContentsLicenseKeyUsageLimit'==_0x1b1005){delete _0x4f6765[_0x50b813],_0x23d442=_0x1b1005,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x23d442&&_0x4f6765['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x23d442&&_0x4f6765['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x23d442&&_0x4f6765['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x23d442&&_0x4f6765['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x23d442&&_0x4f6765['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x23d442&&_0x4f6765['_showLicenseError']('usageLimit');}},0x3e8);}_createButton(_0x4b9c33){const _0x4f19d5=this['editor'],_0xd78b46=_0x4f19d5['locale'],_0x599d74=_0x4f19d5['commands']['get']('insertTableOfContents'),_0x2317f8=new _0x4b9c33(_0xd78b46);return _0x2317f8['set']({'label':C(_0xd78b46,'Table\x20of\x20contents'),'icon':_0x32f7ec}),_0x2317f8['bind']('isEnabled')['to'](_0x599d74,'isEnabled'),this['listenTo'](_0x2317f8,'execute',()=>{_0x4f19d5['execute']('insertTableOfContents'),_0x4f19d5['editing']['view']['focus']();}),_0x2317f8;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x21db6b{static get requires(){return[D,P];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{K as DocumentOutline,x as DocumentOutlineUI,L as DocumentOutlineUtils,N as HeadingId,U as TableOfContents,A as TableOfContentsCommand,D as TableOfContentsEditing,P as TableOfContentsUI};
|
package/dist/legacyerrors.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { Plugin } from
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import { Plugin } from "@ckeditor/ckeditor5-core";
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
* The heading ID plugin. It adds support for the ID attribute on the heading[1-6] (model) and h[1-6] (data/view) elements.
|
|
8
|
+
*/
|
|
9
9
|
export declare class HeadingId extends Plugin {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @inheritDoc
|
|
12
|
+
*/
|
|
13
|
+
static get pluginName(): "HeadingId";
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static override get isOfficialPlugin(): true;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static override get isPremiumPlugin(): true;
|
|
22
|
+
/**
|
|
23
|
+
* @inheritDoc
|
|
24
|
+
*/
|
|
25
|
+
afterInit(): void;
|
|
26
26
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { Command } from
|
|
6
|
+
* @module document-outline/tableofcontents/tableofcontentscommand
|
|
7
|
+
* @publicApi
|
|
8
|
+
*/
|
|
9
|
+
import { Command } from "@ckeditor/ckeditor5-core";
|
|
10
10
|
export declare class TableOfContentsCommand extends Command {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Executes the command. Inserts the table of content into the model.
|
|
13
|
+
*
|
|
14
|
+
* @fires execute
|
|
15
|
+
*/
|
|
16
|
+
override execute(): void;
|
|
17
|
+
/**
|
|
18
|
+
* If the selection is wrong, the command is not enabled.
|
|
19
|
+
*/
|
|
20
|
+
override refresh(): void;
|
|
21
21
|
}
|
|
@@ -1,45 +1,44 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
5
|
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Plugin, type Editor } from
|
|
9
|
-
import { Widget } from
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import { HeadingId } from './headingid.js';
|
|
6
|
+
* @module document-outline/tableofcontents/tableofcontentsediting
|
|
7
|
+
*/
|
|
8
|
+
import { Plugin, type Editor, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core";
|
|
9
|
+
import { Widget } from "@ckeditor/ckeditor5-widget";
|
|
10
|
+
import { DocumentOutlineUtils } from "../documentoutline/documentoutlineutils.js";
|
|
11
|
+
import { HeadingId } from "./headingid.js";
|
|
13
12
|
/**
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
* The table of contents editing plugin.
|
|
14
|
+
*/
|
|
16
15
|
export declare class TableOfContentsEditing extends Plugin {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
16
|
+
/**
|
|
17
|
+
* @inheritDoc
|
|
18
|
+
*/
|
|
19
|
+
static get pluginName(): "TableOfContentsEditing";
|
|
20
|
+
/**
|
|
21
|
+
* @inheritDoc
|
|
22
|
+
*/
|
|
23
|
+
static override get isOfficialPlugin(): true;
|
|
24
|
+
/**
|
|
25
|
+
* @inheritDoc
|
|
26
|
+
*/
|
|
27
|
+
static override get isPremiumPlugin(): true;
|
|
28
|
+
/**
|
|
29
|
+
* @inheritDoc
|
|
30
|
+
*/
|
|
31
|
+
static get requires(): PluginDependenciesOf<[Widget, DocumentOutlineUtils, HeadingId]>;
|
|
32
|
+
/**
|
|
33
|
+
* @inheritDoc
|
|
34
|
+
*/
|
|
35
|
+
constructor(editor: Editor);
|
|
36
|
+
/**
|
|
37
|
+
* @inheritDoc
|
|
38
|
+
*/
|
|
39
|
+
init(): void;
|
|
40
|
+
/**
|
|
41
|
+
* @inheritDoc
|
|
42
|
+
*/
|
|
43
|
+
afterInit(): void;
|
|
45
44
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/**
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { Plugin } from
|
|
2
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
|
+
*/
|
|
5
|
+
import { Plugin } from "@ckeditor/ckeditor5-core";
|
|
6
6
|
/**
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
* The UI plugin of the table of contents feature.
|
|
8
|
+
*/
|
|
9
9
|
export declare class TableOfContentsUI extends Plugin {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @inheritDoc
|
|
12
|
+
*/
|
|
13
|
+
static get pluginName(): "TableOfContentsUI";
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
static override get isOfficialPlugin(): true;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
static override get isPremiumPlugin(): true;
|
|
22
|
+
init(): void;
|
|
23
|
+
/**
|
|
24
|
+
* @inheritDoc
|
|
25
|
+
*/
|
|
26
|
+
override destroy(): void;
|
|
27
27
|
}
|