@ckeditor/ckeditor5-document-outline 48.3.0-alpha.3 → 48.3.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- 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/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _0x404b31,Plugin as _0x2cc283}from'@ckeditor/ckeditor5-core';import{debounce as _0x3028e4,throttle as _0xd83433}from'es-toolkit/compat';import{ModelText as _0x4cbc2d,ModelTreeWalker as _0x377f7c}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x880001,Rect as _0x524867,diff as _0x3a03a4,diffToChanges as _0x2061b3,global as _0x3554e,priorities as _0x3df2f1,scrollAncestorsToShowTarget as _0x377a91,uid as _0x5186a9}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x6f9b8c,MenuBarMenuListItemButtonView as _0x56e9d7,View as _0x1bf7ae}from'@ckeditor/ckeditor5-ui';import{Widget as _0x3c7320,toWidget as _0x24fba1}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x3a918a}from'@ckeditor/ckeditor5-icons';function b(_0x3cc72c){let _0x55569a='';for(const _0x2c4433 of _0x3cc72c['getChildren']())_0x2c4433 instanceof _0x4cbc2d&&(_0x55569a+=_0x2c4433['data']);return _0x55569a;}var I=class extends _0x2cc283{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x107fcc=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x61d10=[];_0x107fcc['model']['document']['on']('change',_0x3028e4(()=>{const _0x2015b5=_0x61d10;_0x61d10=this['_getOutlineDefinitions']();const _0x206e2b=_0x2061b3(_0x3a03a4(_0x2015b5,_0x61d10,(_0x21f19f,_0x41a51c)=>_0x21f19f['level']===_0x41a51c['level']&&_0x21f19f['text']===_0x41a51c['text']&&_0x21f19f['modelElement']===_0x41a51c['modelElement']),_0x61d10),_0x54faf5=this['_getActiveHeading'](),_0x5a509b=_0x61d10['findIndex'](_0x4863ac=>_0x4863ac['modelElement']===_0x54faf5);_0x206e2b['length']&&this['fire']('change',{'outlineDefinitions':_0x61d10,'activeItemIndex':_0x5a509b,'outlineChanges':_0x206e2b}),this['fire']('activeItemIndex',{'index':_0x5a509b});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x3d463d=this['editor'],_0x71267b=[],_0x5eb7fe=this['_headingNames'];for(const _0x595fd2 of _0x3d463d['model']['document']['getRootNames']())_0xef8cfe(_0x3d463d['model']['document']['getRoot'](_0x595fd2));function _0xef8cfe(_0x466f1d){for(const _0x4d0915 of _0x466f1d['getChildren']())_0x4d0915['is']('element')&&(_0x5eb7fe['includes'](_0x4d0915['name'])&&_0x71267b['push']({'level':_0x5eb7fe['indexOf'](_0x4d0915['name'])+0x1,'text':b(_0x4d0915),'modelElement':_0x4d0915}),_0xef8cfe(_0x4d0915));}return _0x71267b;}['_getActiveHeading'](){const _0xe96e49=new _0x377f7c({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x5da5a0 of _0xe96e49)if(_0x5da5a0['item']['is']('element')&&this['_headingNames']['includes'](_0x5da5a0['item']['name']))return _0x5da5a0['item'];}['_getHeadingNames'](){const _0x49a2e1=this['editor']['config']['get']('documentOutline.headings');return _0x49a2e1||function(_0x1634ae){const _0x4f850b=_0x1634ae['config']['get']('heading.options');return _0x4f850b?_0x4f850b['reduce']((_0x4b3b59,_0x54b842)=>('paragraph'!==_0x54b842['model']&&_0x4b3b59['push'](_0x54b842['model']),_0x4b3b59),[]):_0x1634ae['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x559ac3=this['editor'],_0x55da31=['h1','h2','h3','h4','h5','h6'],_0x18f6a0=[];for(const _0x555773 of _0x55da31){const _0x34b1b8=_0x559ac3['editing']['view']['domConverter']['domToView'](document['createElement'](_0x555773)),_0x35c14d=_0x559ac3['data']['toModel'](_0x34b1b8)['getChild'](0x0);_0x35c14d?.['is']('element')&&_0x18f6a0['push'](_0x35c14d['name']);}this['_headingNames']=_0x18f6a0;}};function L(_0xcd4c4d,_0xe9a0cd){const t=_0xcd4c4d['t'];switch(_0xe9a0cd){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 _0xe9a0cd;}}var C=class extends _0x1bf7ae{constructor(_0x4b1fc2,_0x5c91b0=!0x1){super(_0x4b1fc2);const _0x7dfbf1=this['bindTemplate'],_0x3bb433=_0x5c91b0?'['+L(_0x4b1fc2,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x68b24=>!_0x68b24),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x7dfbf1['to']('level',_0x4ff542=>'ck-document-outline__item_level-'+_0x4ff542),_0x7dfbf1['if']('isActive','ck-document-outline__item_active'),_0x7dfbf1['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x7dfbf1['to']('text')},'children':[{'text':_0x7dfbf1['to']('text',_0x35dcd3=>_0x35dcd3||_0x3bb433)}],'on':{'click':_0x7dfbf1['to']('click')}});}},_=class extends _0x1bf7ae{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x1ed542,_0x5645a5=!0x1,_0x17773e){super(_0x1ed542),this['showEmptyHeadingText']=_0x5645a5,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x17773e,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x155a2e,_0x25aed8,_0x26a452,_0x450caa)=>{this['_setActiveItem'](_0x450caa,_0x26a452);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x1ed542['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x1ed542,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0xd9fc73){_0xd9fc73['forEach'](_0x148989=>{'insert'==_0x148989['type']?this['_insertItem'](_0x148989['index'],..._0x148989['values']):'delete'==_0x148989['type']&&this['_deleteItem'](_0x148989['index'],_0x148989['howMany']);});}['_setActiveItem'](_0x54ddee,_0x492ba1){if(-0x1!==_0x54ddee){const _0x13f26f=this['items']['get'](_0x54ddee);_0x13f26f&&(_0x13f26f['isActive']=!0x1);}-0x1!==_0x492ba1&&(this['items']['get'](_0x492ba1)['isActive']=!0x0,this['_scrollToItem'](_0x492ba1));}['_insertItem'](_0x45ec46,..._0x41452c){const _0x12e2a6=_0x41452c['map']((_0x1418b6,_0x1b582d)=>{const _0x5f0dfb=new C(this['locale'],this['showEmptyHeadingText']);return _0x5f0dfb['text']=_0x1418b6['text'],_0x5f0dfb['level']=_0x1418b6['level'],_0x45ec46+_0x1b582d===this['activeItemIndex']&&(_0x5f0dfb['isActive']=!0x0),_0x5f0dfb;});this['items']['addMany'](_0x12e2a6,_0x45ec46);}['_deleteItem'](_0xdd71e2,_0x4bd8e3){do{this['items']['remove'](_0xdd71e2);}while(--_0x4bd8e3);}['_handleItemClick'](_0x355a58){const _0xd963ce=this['items']['getIndex'](_0x355a58['source']);this['fire']('itemSelected',_0xd963ce);}['_scrollToItem'](_0x12bfcc){_0x377a91(this['items']['get'](_0x12bfcc)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x2cc283{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4bae15){super(_0x4bae15),this['view']=new _(_0x4bae15['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0xd83433(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x24d1a3=this['editor'],_0x4d15e1=_0x24d1a3['plugins']['get']('DocumentOutlineUtils');let _0x12aa41=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x24d1a3['config']['get']('documentOutline.container'))throw new _0x880001('document-outline-container-not-provided',{'editor':_0x24d1a3});_0x24d1a3['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4d15e1['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4d15e1['on']('activeItemIndex',(_0x580fae,{index:_0x1774ee})=>this['_setActiveViewItem'](_0x1774ee)),this['view']['on']('itemSelected',(_0x4b0ae6,_0x4e0983)=>{_0x12aa41=!0x0,this['_handleItemSelected'](_0x4e0983);}),this['view']['listenTo'](_0x3554e['document'],'scroll',()=>{_0x12aa41?_0x12aa41=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x3554e['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x550db5){const _0x4ad7c3='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x4e338d=0x78e10,_0x2d6393=window['Date']['now'](),_0x22ee5b=_0x550db5['editor'],_0x1fae86=new window['Promise'](_0x5b4551=>{_0x22ee5b['once']('ready',_0x5b4551);}),_0x35d93a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x55a842=_0x22ee5b['config']['get']('licenseKey');async function _0x287390(){let _0x12bc4f,_0x2ac645=null,_0x439f4b=null;try{return'GPL'==_0x55a842?'NotAllowed':(_0x12bc4f=_0x54b882(),_0x12bc4f?(_0x12bc4f['usageEndpoint']&&(_0x439f4b=_0x4c80ba(_0x12bc4f['usageEndpoint'],_0x12bc4f['jti'])),await _0x5152eb()?_0x1a2fc0()?_0xb266d2()?'Expired':_0x5996f2()?('evaluation'==_0x12bc4f['licenseType']&&(_0x2ac645=_0x51b09c('EvaluationLimit')),await _0x108cf6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xb266d2(){const _0x318ba=['evaluation','trial']['includes'](_0x12bc4f['licenseType'])?_0x2d6393/0x3e8:0xe10*_0x4e338d;return _0x12bc4f['exp']<_0x318ba;}function _0x1a2fc0(){const _0x2c79a5=_0x12bc4f['features'];return!!_0x2c79a5&&(!!_0x2c79a5['includes']('*')||(!!_0x2c79a5['includes']('DO')||(!!_0x2c79a5['includes']('PP')||!(!_0x2c79a5['includes']('TRILIUM')||!_0x12cbd6()))));}function _0x5996f2(){const _0x3255f2=_0x12bc4f['licensedHosts'];if(!_0x3255f2||0x0==_0x3255f2['length'])return!0x0;const {hostname:_0xda46e7}=new URL(window['location']['href']);if(_0x3255f2['includes'](_0xda46e7))return!0x0;const _0x592df3=_0xda46e7['split']('.');return _0x3255f2['filter'](_0x3029ee=>_0x3029ee['includes']('*'))['map'](_0x4eb4d2=>_0x4eb4d2['split']('.'))['filter'](_0x514c5b=>_0x514c5b['length']<=_0x592df3['length'])['map'](_0x55ec6e=>Array(_0x592df3['length']-_0x55ec6e['length'])['fill']('*'===_0x55ec6e[0x0]?'*':'')['concat'](_0x55ec6e))['some'](_0x1014b7=>_0x592df3['every']((_0x387d37,_0x11f2db)=>_0x1014b7[_0x11f2db]===_0x387d37||'*'===_0x1014b7[_0x11f2db]));}function _0x108cf6(){return _0x2ac645&&_0x439f4b?new window['Promise']((_0x6bc7b3,_0xdd8d0b)=>{_0x2ac645['then'](_0x6bc7b3,_0xdd8d0b),_0x439f4b['then'](_0x41d18a=>{'Valid'!=_0x41d18a&&_0x6bc7b3(_0x41d18a);},_0xdd8d0b);}):_0x2ac645||_0x439f4b||'Valid';}}function _0x4c80ba(_0x4bbbe2,_0x4bbba1){return new window['Promise'](_0x485ffa=>{if(_0x403ef3())return _0x485ffa('Valid');_0x50a5dd(),_0x22ee5b['decorate']('_sendUsageRequest');let _0x576005=!0x1;const _0x43e9b8=_0x5186a9();function _0x57fae1(_0x72451e){return!!_0x72451e&&('object'==typeof _0x72451e||'function'==typeof _0x72451e)&&'function'==typeof _0x72451e['then']&&'function'==typeof _0x72451e['catch'];}function _0x3850e7(_0x39e391){_0x1a6319(_0x39e391)['then'](_0xc7f062=>_0xc7f062&&'ok'==_0xc7f062['status']?_0x41490c(_0x40ff15(_0x43e9b8+_0x4bbba1))!=_0xc7f062['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3f79e6=>(_0x1ca003(),_0x3f79e6),()=>{const _0x42045f=_0x316e72();return null==_0x42045f?(_0x1ca003(),'Valid'):_0x2d6393-_0x42045f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x485ffa)['catch'](()=>{_0x485ffa('UsageLimit');});const _0x12e6dd=0x36ee80;function _0x1ca003(){const _0x4bffa5='llct-'+_0x41490c(_0x40ff15(_0x4bbbe2)),_0x120b29=_0x3fa3e7(_0x41490c(window['Math']['ceil'](_0x2d6393/_0x12e6dd)));window['localStorage']['setItem'](_0x4bffa5,_0x120b29);}function _0x316e72(){const _0x1348f6='llct-'+_0x41490c(_0x40ff15(_0x4bbbe2)),_0x11456a=window['localStorage']['getItem'](_0x1348f6);return _0x11456a?window['parseInt'](_0x3fa3e7(_0x11456a),0x10)*_0x12e6dd:null;}function _0x1a6319(_0x278c27){return new window['Promise']((_0x47a122,_0x12d677)=>{_0x278c27['then'](_0x47a122,_0x12d677),window['setTimeout'](_0x12d677,0x1d4c0);});}}_0x22ee5b['on']('_sendUsageRequest',(_0x3473eb,_0x215b77)=>{if(_0x215b77[0x0]!=_0x4bbbe2)return _0x485ffa('UsageLimit');_0x215b77[0x1]={..._0x215b77[0x1],'requestId':_0x43e9b8};},{'priority':'high'}),_0x22ee5b['on']('_sendUsageRequest',_0xe92016=>{_0x57fae1(_0xe92016['return'])&&(_0x576005=!0x0,_0x3850e7(_0xe92016['return']));},{'priority':'low'}),_0x1fae86['then'](()=>{_0x576005||_0x485ffa('UsageLimit');});});function _0x403ef3(){return'auto'==_0x22ee5b['editing']['view']['_overlayModeHint'];}function _0x50a5dd(){_0x22ee5b['editing']['view']['_overlayModeHint']='auto';}}function _0x51b09c(_0x1416ad){const _0x1290d6=[new window['Promise'](_0x17e6bf=>setTimeout(_0x17e6bf,0x93ecc)),_0x1fae86['then'](()=>new window['Promise'](_0x2d46c5=>{let _0x5d8698=0x0;_0x22ee5b['model']['on']('applyOperation',(_0x3b1f32,_0x551dba)=>{_0x551dba[0x0]['isDocumentOperation']&&_0x5d8698++,0x5e8==_0x5d8698&&(_0x2d46c5(),_0x3b1f32['off']());});}))];return window['Promise']['race'](_0x1290d6)['then'](()=>_0x1416ad);}async function _0x58ff4d(){await _0x1fae86,_0x22ee5b['model']['change']=_0x2a27b3,_0x22ee5b['model']['enqueueChange']=_0x2a27b3,_0x22ee5b['enableReadOnlyMode']('model');}function _0x12cbd6(){return window['glob']&&window['glob']['triliumVersion'];}function _0x37c2f1(_0x1aa215){const _0xc1a3ad=_0xdc6711();_0x22ee5b[_0xc1a3ad]='documentOutlineLicenseKey'+_0x1aa215,'Valid'!=_0x1aa215&&_0x58ff4d();}function _0xdc6711(){const _0x375da1=window['String'](window['performance']['now']())['replace']('.','');let _0x4b99c9='a';for(let _0x303830=0x0;_0x303830<_0x375da1['length'];_0x303830+=0x2){let _0x5a6b84=window['parseInt'](_0x375da1['substring'](_0x303830,_0x303830+0x2));_0x5a6b84>=0x3e&&(_0x5a6b84-=0x3e),_0x4b99c9+=_0x4ad7c3[_0x5a6b84];}return _0x4b99c9;}function _0x54b882(){const _0x4f8fa5=_0x55a842['split']('.');if(0x3!=_0x4f8fa5['length'])return null;return _0x546b1c(_0x4f8fa5[0x1]);function _0x546b1c(_0x4f7519){const _0x4a115b=_0x34ab17(_0x4f7519);return _0x4a115b&&_0x2590aa()?_0x4a115b:null;function _0x2590aa(){const _0x39e0d8=_0x4a115b['jti'],_0x5c02cb=window['parseInt'](_0x39e0d8['substring'](_0x39e0d8['length']-0x8),0x10),_0x48a0e0={..._0x4a115b,'jti':_0x39e0d8['substring'](0x0,_0x39e0d8['length']-0x8)};return delete _0x48a0e0['vc'],_0x40ff15(_0x48a0e0)==_0x5c02cb;}}}async function _0x5152eb(){let _0x58c5a6=!0x0;try{const [_0x241af4,_0x4f61f8,_0x4cfa13]=_0x55a842['split']('.');return _0x3e9d55(_0x241af4),await _0x47c530(_0x241af4,_0x4f61f8,_0x4cfa13),_0x58c5a6;}catch{return!0x1;}function _0x3e9d55(_0x1026b1){const _0x538305=_0x34ab17(_0x1026b1);_0x538305&&'ES256'==_0x538305['alg']||(_0x58c5a6=!0x1);}async function _0x47c530(_0x20e0d3,_0x2fca89,_0x373b64){const _0x536f1e=window['Uint8Array']['from'](_0x41fb94(_0x373b64),_0x2f80f2=>_0x2f80f2['charCodeAt'](0x0)),_0x35a391=new window['TextEncoder']()['encode'](_0x20e0d3+'.'+_0x2fca89),_0x2ac0fd=window['crypto']['subtle'];if(!_0x2ac0fd)return;const _0x4de7d5=await _0x2ac0fd['importKey']('jwk',_0x35d93a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2ac0fd['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4de7d5,_0x536f1e,_0x35a391)||(_0x58c5a6=!0x1);}}function _0x34ab17(_0x75ab09){return _0x75ab09['startsWith']('ey')?JSON['parse'](_0x41fb94(_0x75ab09)):null;}function _0x41fb94(_0x56af26){return window['atob'](_0x56af26['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x40ff15(_0x1fc4e9){let _0xa7eabd=0x1505;function _0x2f65c1(_0x3c46f0){for(let _0x397e99=0x0;_0x397e99<_0x3c46f0['length'];_0x397e99++){const _0x161340=_0x3c46f0['charCodeAt'](_0x397e99);_0xa7eabd=(_0xa7eabd<<0x5)+_0xa7eabd+_0x161340,_0xa7eabd&=_0xa7eabd;}}function _0x2ad3bb(_0x350e0a){Array['isArray'](_0x350e0a)?_0x350e0a['forEach'](_0x2ad3bb):_0x350e0a&&'object'==typeof _0x350e0a?Object['entries'](_0x350e0a)['sort']()['forEach'](([_0x9b1459,_0x109b03])=>{_0x2f65c1(_0x9b1459),_0x2ad3bb(_0x109b03);}):_0x2f65c1(window['String'](_0x350e0a));}return _0x2ad3bb(_0x1fc4e9),_0xa7eabd>>>0x0;}function _0x41490c(_0x511b5d){return _0x511b5d['toString'](0x10)['padStart'](0x8,'0');}function _0x3fa3e7(_0x558d8d){return _0x558d8d['split']('')['reverse']()['join']('');}function _0x2a27b3(){}_0x37c2f1(await _0x287390());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x3944a7,{outlineDefinitions:_0x4d7ec7,outlineChanges:_0x218307}){this['_currentOutlineDefinitions']=_0x4d7ec7,this['view']['sync'](_0x218307);}['_setActiveViewItem'](_0x1f23f8){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1f23f8]&&(this['view']['activeItemIndex']=_0x1f23f8);}['_handleItemSelected'](_0x4c705f){const _0x41418e=this['_currentOutlineDefinitions'][_0x4c705f]['modelElement'];this['editor']['model']['change'](_0xf2e24d=>{_0xf2e24d['setSelection'](_0x41418e,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x4c705f);}['_updateActiveDefinitionOnViewportChange'](){const _0x50669a=this['editor'];let _0x26ecb3;for(const _0x247d0b of _0x50669a['model']['document']['getRootNames']()){const _0x45905a=_0x50669a['editing']['view']['getDomRoot'](_0x247d0b),_0x4502df=_0x45905a&&new _0x524867(_0x45905a)['getVisible']();if(_0x4502df){const _0x5d3f10=new _0x524867(_0x3554e['window'])['getIntersection'](_0x4502df);_0x5d3f10&&(_0x26ecb3=_0x5d3f10['top']+0.25*_0x5d3f10['height']);}}if(void 0x0===_0x26ecb3)return;const _0x3a9ba3=k(_0x50669a['editing'],this['_currentOutlineDefinitions'],_0x26ecb3);_0x3a9ba3?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x3a9ba3)):this['_setActiveViewItem'](-0x1);}};function k(_0x1bef02,_0x54fe12,_0x541399,_0x2ad0a5=0x0,_0x15523f=_0x54fe12['length']-0x1){const _0x57955a=Math['floor'](_0x2ad0a5+(_0x15523f-_0x2ad0a5)/0x2);if(_0x15523f>=_0x2ad0a5){const _0x4ae5c7=_0x54fe12[_0x57955a],_0x5338bb=_0x1bef02['mapper']['toViewElement'](_0x4ae5c7['modelElement']);return _0x5338bb?new _0x524867(_0x1bef02['view']['domConverter']['mapViewToDom'](_0x5338bb))['bottom']>_0x541399?k(_0x1bef02,_0x54fe12,_0x541399,_0x2ad0a5,_0x57955a-0x1):k(_0x1bef02,_0x54fe12,_0x541399,_0x57955a+0x1,_0x15523f):null;}return _0x57955a<0x0?null:_0x54fe12[_0x57955a];}var E=class extends _0x2cc283{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[I,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4fa810=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11b8ad;for(const _0x16fe91 in _0x4fa810){const _0x8e8ff2=_0x16fe91,_0xe23623=_0x4fa810[_0x8e8ff2];if('documentOutlineLicenseKeyValid'==_0xe23623||'documentOutlineLicenseKeyInvalid'==_0xe23623||'documentOutlineLicenseKeyExpired'==_0xe23623||'documentOutlineLicenseKeyDomainLimit'==_0xe23623||'documentOutlineLicenseKeyNotAllowed'==_0xe23623||'documentOutlineLicenseKeyEvaluationLimit'==_0xe23623||'documentOutlineLicenseKeyUsageLimit'==_0xe23623){delete _0x4fa810[_0x8e8ff2],_0x11b8ad=_0xe23623,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x11b8ad&&_0x4fa810['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x11b8ad&&_0x4fa810['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x11b8ad&&_0x4fa810['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x11b8ad&&_0x4fa810['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x11b8ad&&_0x4fa810['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x11b8ad&&_0x4fa810['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x404b31{['execute'](){this['editor']['model']['change'](_0x33d654=>{this['editor']['model']['insertObject'](_0x33d654['createElement']('tableOfContents'));});}['refresh'](){const _0x5a87f8=this['editor']['model'],_0x2d05b7=_0x5a87f8['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x2d05b7&&_0x5a87f8['schema']['findAllowedParent'](_0x2d05b7,'tableOfContents'));}},A=class extends _0x2cc283{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x492dd9=this['editor'];if(_0x492dd9['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x37cbf3,modelNames:_0x1565cb}=function(_0x2eeafd){const _0x532f98=new Set(),_0x238590=new Set();if(!_0x2eeafd)return{'viewNames':_0x532f98,'modelNames':_0x238590};for(const _0x36ea44 of _0x2eeafd){if('paragraph'===_0x36ea44['model'])continue;const _0x174cc4='string'==typeof _0x36ea44['view']?_0x36ea44['view']:_0x36ea44['view']['name'];_0x532f98['add'](_0x174cc4),_0x238590['add'](_0x36ea44['model']);}return _0x532f98['has']('h1')||(_0x532f98['add']('h1'),_0x238590['add']('heading1')),{'viewNames':_0x532f98,'modelNames':_0x238590};}(this['editor']['config']['get']('heading.options'));for(const _0x2efb4f of _0x37cbf3)this['_customUpcastHeadingsConversion'](_0x2efb4f);for(const _0x11adf7 of _0x1565cb)this['_customDataDowncastHeadingsConversion'](_0x11adf7),_0x492dd9['model']['schema']['isRegistered'](_0x11adf7)&&_0x492dd9['model']['schema']['extend'](_0x11adf7,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x1565cb);}['_customUpcastHeadingsConversion'](_0x3cdb07){this['editor']['conversion']['for']('upcast')['add'](_0x3181f5=>_0x3181f5['on']('element:'+_0x3cdb07,(_0x502b93,_0xe7fb01,_0x13e5f2)=>{const {consumable:_0x4206d1,writer:_0x5f8277}=_0x13e5f2,_0x26eb85=_0xe7fb01['viewItem']['getAttribute']('id'),_0x258fe2=_0xe7fb01['modelRange']?.['getContainedElement']();if(_0x258fe2)return _0x26eb85&&_0x26eb85['length']||_0x258fe2['hasAttribute']('headingId')?void(_0x4206d1['consume'](_0xe7fb01['viewItem'],{'attributes':['id']})&&_0x5f8277['setAttribute']('headingId',_0x26eb85,_0x258fe2)):(_0x4206d1['consume'](_0xe7fb01['viewItem'],{'attributes':['id']}),void _0x5f8277['setAttribute']('headingId',_0x5186a9(),_0x258fe2));},{'priority':_0x3df2f1['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x5762b6){this['editor']['conversion']['for']('downcast')['add'](_0x11cba4=>_0x11cba4['on']('attribute:headingId:'+_0x5762b6,(_0x38d349,_0x2b21ad,_0xf93577)=>{if(!_0xf93577['consumable']['consume'](_0x2b21ad['item'],_0x38d349['name']))return;const _0x3d3af1=_0x2b21ad['item']['getAttribute']('headingId'),_0x27803d=_0xf93577['mapper']['toViewElement'](_0x2b21ad['item']);_0xf93577['writer']['setAttribute']('id',_0x3d3af1,_0x27803d);}));}['_registerHeadingIdAttributePostfixer'](_0x32f921){const _0x29c56c=this['editor'],_0x484c26=new Set(),_0x2ca4ab=new Set();function _0x424898(_0x41beca,_0x280792){const _0x43bf80=_0x5186a9();return _0x2ca4ab['add'](_0x43bf80),_0x41beca['setAttribute']('headingId',_0x43bf80,_0x280792),_0x43bf80;}function _0x34f7d5(_0x2c4e14,_0x374fbe){_0x2c4e14['removeAttribute']('headingId',_0x374fbe);}_0x29c56c['model']['document']['registerPostFixer'](_0x272076=>{const _0x4e7af4=_0x29c56c['model']['document']['differ']['getChanges']();let _0x1d143c=!0x1;for(const _0x5a731f of _0x4e7af4)if('insert'==_0x5a731f['type']&&_0x5a731f['name']){if(_0x32f921['has'](_0x5a731f['name'])){const _0x3f24d8=_0x5a731f['attributes']['get']('headingId');'string'==typeof _0x3f24d8?_0x484c26['has'](_0x3f24d8)?(_0x424898(_0x272076,_0x5a731f['position']['nodeAfter']),_0x1d143c=!0x0):_0x2ca4ab['add'](_0x3f24d8):(_0x424898(_0x272076,_0x5a731f['position']['nodeAfter']),_0x1d143c=!0x0);}else'string'==typeof _0x5a731f['attributes']['get']('headingId')&&(_0x34f7d5(_0x272076,_0x5a731f['position']['nodeAfter']),_0x1d143c=!0x0);}else{if('remove'==_0x5a731f['type']){const _0x172e05=_0x5a731f['attributes']['get']('headingId');'string'==typeof _0x172e05&&_0x484c26['delete'](_0x172e05);}}return _0x1d143c;}),_0x29c56c['model']['document']['on']('change',()=>{_0x2ca4ab['forEach'](_0x12d2e6=>_0x484c26['add'](_0x12d2e6)),_0x2ca4ab['clear']();});}},N=class extends _0x2cc283{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3c7320,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x9311f){super(_0x9311f),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x5baad8=this['editor'],_0x57f252=_0x5baad8['editing']['view']['document'];_0x5baad8['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x5baad8['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x57f252,'click',(_0x59202f,_0x44dfaa)=>{if(!_0x44dfaa['target'])return;const _0x47fe77=_0x44dfaa['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x47fe77)&&(_0x44dfaa['domEvent']['preventDefault'](),_0x59202f['stop'](),this['_handleScrollToHeading'](_0x47fe77));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x5baad8['commands']['add']('insertTableOfContents',new K(_0x5baad8));const _0x21bc61=_0x5baad8['config']['get']('tableOfContents.headings');_0x21bc61&&_0x21bc61['length']?this['listenTo'](_0x5baad8['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x21bc61),this['_updateTableOfContentsElements']();}):_0x5baad8['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x5e29c,_0x54f008)=>{this['_currentOutlineDefinitions']=_0x54f008['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x5baad8['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x71adfd){const _0x2063b8='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x3a1192=0x78e10,_0x1c49a8=window['Date']['now'](),_0x58d4cc=_0x71adfd['editor'],_0x31684f=new window['Promise'](_0x387cb7=>{_0x58d4cc['once']('ready',_0x387cb7);}),_0x5537ac={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x366f6a=_0x58d4cc['config']['get']('licenseKey');async function _0x8d386c(){let _0x47e50f,_0x2c446e=null,_0x2b5886=null;try{return'GPL'==_0x366f6a?'NotAllowed':(_0x47e50f=_0x557afd(),_0x47e50f?(_0x47e50f['usageEndpoint']&&(_0x2b5886=_0x4d7935(_0x47e50f['usageEndpoint'],_0x47e50f['jti'])),await _0xc666d9()?_0x4c61b0()?_0x1d9f5d()?'Expired':_0x26064e()?('evaluation'==_0x47e50f['licenseType']&&(_0x2c446e=_0x1a9bc8('EvaluationLimit')),await _0x1cdb14()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1d9f5d(){const _0xe7cd8a=['evaluation','trial']['includes'](_0x47e50f['licenseType'])?_0x1c49a8/0x3e8:0xe10*_0x3a1192;return _0x47e50f['exp']<_0xe7cd8a;}function _0x4c61b0(){const _0x181136=_0x47e50f['features'];return!!_0x181136&&(!!_0x181136['includes']('*')||(!!_0x181136['includes']('TOC')||(!!_0x181136['includes']('PP')||!(!_0x181136['includes']('TRILIUM')||!_0x4a3d15()))));}function _0x26064e(){const _0x16b008=_0x47e50f['licensedHosts'];if(!_0x16b008||0x0==_0x16b008['length'])return!0x0;const {hostname:_0x5b469c}=new URL(window['location']['href']);if(_0x16b008['includes'](_0x5b469c))return!0x0;const _0x3f41ab=_0x5b469c['split']('.');return _0x16b008['filter'](_0x33e42b=>_0x33e42b['includes']('*'))['map'](_0x4f6670=>_0x4f6670['split']('.'))['filter'](_0x44b14f=>_0x44b14f['length']<=_0x3f41ab['length'])['map'](_0x38c590=>Array(_0x3f41ab['length']-_0x38c590['length'])['fill']('*'===_0x38c590[0x0]?'*':'')['concat'](_0x38c590))['some'](_0x2408f7=>_0x3f41ab['every']((_0x398f3d,_0x43186a)=>_0x2408f7[_0x43186a]===_0x398f3d||'*'===_0x2408f7[_0x43186a]));}function _0x1cdb14(){return _0x2c446e&&_0x2b5886?new window['Promise']((_0x1330c0,_0x58a3f0)=>{_0x2c446e['then'](_0x1330c0,_0x58a3f0),_0x2b5886['then'](_0x219345=>{'Valid'!=_0x219345&&_0x1330c0(_0x219345);},_0x58a3f0);}):_0x2c446e||_0x2b5886||'Valid';}}function _0x4d7935(_0x5cdbae,_0x18f503){return new window['Promise'](_0x3c47fe=>{if(_0x76a28c())return _0x3c47fe('Valid');_0xb6ce3a(),_0x58d4cc['decorate']('_sendUsageRequest');let _0x81cd76=!0x1;const _0x15feaa=_0x5186a9();function _0x25e6c3(_0x1949c2){return!!_0x1949c2&&('object'==typeof _0x1949c2||'function'==typeof _0x1949c2)&&'function'==typeof _0x1949c2['then']&&'function'==typeof _0x1949c2['catch'];}function _0x27021f(_0x68535f){_0x1b0a2b(_0x68535f)['then'](_0x289923=>_0x289923&&'ok'==_0x289923['status']?_0x522800(_0x409265(_0x15feaa+_0x18f503))!=_0x289923['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5c52ee=>(_0x275d30(),_0x5c52ee),()=>{const _0x119e78=_0x5ac2f9();return null==_0x119e78?(_0x275d30(),'Valid'):_0x1c49a8-_0x119e78>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3c47fe)['catch'](()=>{_0x3c47fe('UsageLimit');});const _0x1ddb55=0x36ee80;function _0x275d30(){const _0x38a2fc='llct-'+_0x522800(_0x409265(_0x5cdbae)),_0x15af2d=_0x3c2451(_0x522800(window['Math']['ceil'](_0x1c49a8/_0x1ddb55)));window['localStorage']['setItem'](_0x38a2fc,_0x15af2d);}function _0x5ac2f9(){const _0x185fdb='llct-'+_0x522800(_0x409265(_0x5cdbae)),_0x13b9e6=window['localStorage']['getItem'](_0x185fdb);return _0x13b9e6?window['parseInt'](_0x3c2451(_0x13b9e6),0x10)*_0x1ddb55:null;}function _0x1b0a2b(_0x4c4eb6){return new window['Promise']((_0x13d936,_0x99585)=>{_0x4c4eb6['then'](_0x13d936,_0x99585),window['setTimeout'](_0x99585,0x1d4c0);});}}_0x58d4cc['on']('_sendUsageRequest',(_0x511e58,_0x5f8220)=>{if(_0x5f8220[0x0]!=_0x5cdbae)return _0x3c47fe('UsageLimit');_0x5f8220[0x1]={..._0x5f8220[0x1],'requestId':_0x15feaa};},{'priority':'high'}),_0x58d4cc['on']('_sendUsageRequest',_0x55c8d7=>{_0x25e6c3(_0x55c8d7['return'])&&(_0x81cd76=!0x0,_0x27021f(_0x55c8d7['return']));},{'priority':'low'}),_0x31684f['then'](()=>{_0x81cd76||_0x3c47fe('UsageLimit');});});function _0x76a28c(){return'auto'==_0x58d4cc['editing']['view']['_overlayModeHint'];}function _0xb6ce3a(){_0x58d4cc['editing']['view']['_overlayModeHint']='auto';}}function _0x1a9bc8(_0x2a45f6){const _0x4a2df2=[new window['Promise'](_0x6eb89=>setTimeout(_0x6eb89,0x93ecc)),_0x31684f['then'](()=>new window['Promise'](_0x5bc25c=>{let _0x3dcb5e=0x0;_0x58d4cc['model']['on']('applyOperation',(_0x2b44b2,_0x2db192)=>{_0x2db192[0x0]['isDocumentOperation']&&_0x3dcb5e++,0x5e8==_0x3dcb5e&&(_0x5bc25c(),_0x2b44b2['off']());});}))];return window['Promise']['race'](_0x4a2df2)['then'](()=>_0x2a45f6);}async function _0x335337(){await _0x31684f,_0x58d4cc['model']['change']=_0x2f52e1,_0x58d4cc['model']['enqueueChange']=_0x2f52e1,_0x58d4cc['enableReadOnlyMode']('model');}function _0x4a3d15(){return window['glob']&&window['glob']['triliumVersion'];}function _0x31b60d(_0x521cc9){const _0x38f614=_0x59be7f();_0x58d4cc[_0x38f614]='tableOfContentsLicenseKey'+_0x521cc9,'Valid'!=_0x521cc9&&_0x335337();}function _0x59be7f(){const _0x4308c9=window['String'](window['performance']['now']())['replace']('.','');let _0x3ddfe6='m';for(let _0x28a0c6=0x0;_0x28a0c6<_0x4308c9['length'];_0x28a0c6+=0x2){let _0x35a5d2=window['parseInt'](_0x4308c9['substring'](_0x28a0c6,_0x28a0c6+0x2));_0x35a5d2>=0x3e&&(_0x35a5d2-=0x3e),_0x3ddfe6+=_0x2063b8[_0x35a5d2];}return _0x3ddfe6;}function _0x557afd(){const _0x1aa692=_0x366f6a['split']('.');if(0x3!=_0x1aa692['length'])return null;return _0x506dc7(_0x1aa692[0x1]);function _0x506dc7(_0x11b87a){const _0x5c12b9=_0x2275de(_0x11b87a);return _0x5c12b9&&_0x7c68d7()?_0x5c12b9:null;function _0x7c68d7(){const _0x5008b9=_0x5c12b9['jti'],_0x4359e3=window['parseInt'](_0x5008b9['substring'](_0x5008b9['length']-0x8),0x10),_0x1e5505={..._0x5c12b9,'jti':_0x5008b9['substring'](0x0,_0x5008b9['length']-0x8)};return delete _0x1e5505['vc'],_0x409265(_0x1e5505)==_0x4359e3;}}}async function _0xc666d9(){let _0x48cd99=!0x0;try{const [_0x8f0c62,_0x3ab8d2,_0xa41af8]=_0x366f6a['split']('.');return _0x17d94f(_0x8f0c62),await _0x503019(_0x8f0c62,_0x3ab8d2,_0xa41af8),_0x48cd99;}catch{return!0x1;}function _0x17d94f(_0x2be00f){const _0x11c349=_0x2275de(_0x2be00f);_0x11c349&&'ES256'==_0x11c349['alg']||(_0x48cd99=!0x1);}async function _0x503019(_0x52a950,_0x589238,_0x47cd4f){const _0x4ccdb8=window['Uint8Array']['from'](_0x484ee3(_0x47cd4f),_0x3b6da9=>_0x3b6da9['charCodeAt'](0x0)),_0x5ab8be=new window['TextEncoder']()['encode'](_0x52a950+'.'+_0x589238),_0x1340dd=window['crypto']['subtle'];if(!_0x1340dd)return;const _0x2b2fe8=await _0x1340dd['importKey']('jwk',_0x5537ac,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1340dd['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2b2fe8,_0x4ccdb8,_0x5ab8be)||(_0x48cd99=!0x1);}}function _0x2275de(_0x3f6ea4){return _0x3f6ea4['startsWith']('ey')?JSON['parse'](_0x484ee3(_0x3f6ea4)):null;}function _0x484ee3(_0x151a44){return window['atob'](_0x151a44['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x409265(_0x1c1047){let _0x13d498=0x1505;function _0x555be0(_0x48ae8a){for(let _0x2320e7=0x0;_0x2320e7<_0x48ae8a['length'];_0x2320e7++){const _0x350fc7=_0x48ae8a['charCodeAt'](_0x2320e7);_0x13d498=(_0x13d498<<0x5)+_0x13d498+_0x350fc7,_0x13d498&=_0x13d498;}}function _0x129a29(_0x2aefda){Array['isArray'](_0x2aefda)?_0x2aefda['forEach'](_0x129a29):_0x2aefda&&'object'==typeof _0x2aefda?Object['entries'](_0x2aefda)['sort']()['forEach'](([_0x4f38f9,_0x5235eb])=>{_0x555be0(_0x4f38f9),_0x129a29(_0x5235eb);}):_0x555be0(window['String'](_0x2aefda));}return _0x129a29(_0x1c1047),_0x13d498>>>0x0;}function _0x522800(_0x531d2d){return _0x531d2d['toString'](0x10)['padStart'](0x8,'0');}function _0x3c2451(_0x25bfe2){return _0x25bfe2['split']('')['reverse']()['join']('');}function _0x2f52e1(){}_0x31b60d(await _0x8d386c());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x520644=>{'$graveyard'!==_0x520644['rootName']&&this['editor']['editing']['reconvertItem'](_0x520644);});}['_trackNewToCElements'](){for(const _0x48601b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x48601b['type']||'tableOfContents'!==_0x48601b['name'])return;this['_tableOfContentsElements']['add'](_0x48601b['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x527efb){const _0x21d160=this['editor'],_0x33052b=[];for(const _0x3fa1ed of _0x21d160['model']['document']['getRootNames']())_0x4fef76(_0x21d160['model']['document']['getRoot'](_0x3fa1ed));function _0x4fef76(_0x8aff6){for(const _0x121819 of _0x8aff6['getChildren']())_0x121819['is']('element')&&(_0x527efb['includes'](_0x121819['name'])&&_0x33052b['push']({'level':_0x527efb['indexOf'](_0x121819['name'])+0x1,'text':b(_0x121819),'modelElement':_0x121819}),_0x4fef76(_0x121819));}return _0x33052b;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x14ced9=this['editor']['conversion'];_0x14ced9['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x14ced9['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2e54ab,{writer:_0x5c12b4})=>this['_createTableOfContents'](_0x5c12b4,!0x0)}),_0x14ced9['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x59fc5b,{writer:_0x2cb396})=>(this['_tableOfContentsElements']['add'](_0x59fc5b),_0x24fba1(this['_createTableOfContents'](_0x2cb396),_0x2cb396,{'label':L(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'](_0x3cd14b,_0x2e1a72=!0x1){const {locale:_0x462299}=this['editor'],_0x2de5e5=_0x3cd14b['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x2e1a72&&{'data-table-of-contents-label':L(_0x462299,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x2e1a72&&_0x3cd14b['insert'](_0x3cd14b['createPositionAt'](_0x2de5e5,'end'),_0x3cd14b['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3cd14b['createText'](L(_0x462299,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x4395ab=_0x2e1a72?'':'['+L(_0x462299,'Empty\x20heading')+']';let _0x456e9e=_0x2de5e5;return this['_currentOutlineDefinitions']['forEach']((_0x1cf428,_0x5383dc,_0x162a9c)=>{const _0x39aad7=this['editor']['model']['hasContent'](_0x1cf428['modelElement'],{'ignoreWhitespaces':!0x0}),_0xb43960=_0x39aad7?_0x1cf428['text']:_0x4395ab,_0x19732f=_0x1cf428['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x100d05=_0x3cd14b['createContainerElement']('a',{'href':'#'+_0x19732f,...!_0x2e1a72&&{'tabindex':'-1'}},[_0x3cd14b['createText'](_0xb43960)]),_0x9df04a=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3cd14b['setCustomProperty']('tableOfContentsHeadingIndex',_0x5383dc,_0x100d05);const _0x1d7a44=_0x3cd14b['createContainerElement']('li',null,[_0x39aad7||!_0x2e1a72&&_0x9df04a?_0x100d05:_0x3cd14b['createText']('')]),_0x2befaf=_0x5383dc?_0x162a9c[_0x5383dc-0x1]['level']:0x0,_0x4a5804=Math['abs'](_0x1cf428['level']-_0x2befaf);if(_0x1cf428['level']>_0x2befaf){const _0x442def=P(_0x1d7a44,_0x4a5804,_0x3cd14b);_0x3cd14b['insert'](_0x3cd14b['createPositionAt'](_0x456e9e,'end'),_0x442def);}else{const _0x1a8b70=function(_0x107dde,_0x2db946){return _0x107dde['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x3033dd=>_0x3033dd['is']('element','ol'))[_0x2db946];}(_0x456e9e,_0x4a5804);_0x3cd14b['insert'](_0x3cd14b['createPositionAt'](_0x1a8b70,'end'),_0x1d7a44);}_0x456e9e=_0x1d7a44;}),_0x2de5e5;}['_handleScrollToHeading'](_0x3a0148){const _0x1f7139=this['_currentOutlineDefinitions'][_0x3a0148]['modelElement'];this['editor']['model']['change'](_0xd569b2=>{_0xd569b2['setSelection'](_0x1f7139,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x347882,_0x885ae4)=>{const _0x4872bf=_0x885ae4['mapper'],_0x18773b=_0x4872bf['findMappedViewAncestor'](_0x885ae4['viewPosition']),_0x82cfeb=_0x4872bf['toModelElement'](_0x18773b);_0x82cfeb['is']('element','tableOfContents')&&(_0x885ae4['modelPosition']=this['editor']['model']['createPositionAt'](_0x82cfeb,0x0),_0x347882['stop']());};}};function P(_0x3b2373,_0xe845ff,_0x227a34){return 0x1===_0xe845ff?_0x227a34['createContainerElement']('ol',null,[_0x3b2373]):_0x227a34['createContainerElement']('ol',null,[_0x227a34['createContainerElement']('li',null,[P(_0x3b2373,_0xe845ff-0x1,_0x227a34)])]);}var U=class extends _0x2cc283{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x49e226=this['editor'];_0x49e226['ui']['componentFactory']['add']('tableOfContents',()=>{const _0xe9232b=this['_createButton'](_0x6f9b8c);return _0xe9232b['tooltip']=!0x0,_0xe9232b;}),_0x49e226['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x56e9d7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x275497=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x560c03;for(const _0xc5017a in _0x275497){const _0xd1758b=_0xc5017a,_0x5d4b88=_0x275497[_0xd1758b];if('tableOfContentsLicenseKeyValid'==_0x5d4b88||'tableOfContentsLicenseKeyInvalid'==_0x5d4b88||'tableOfContentsLicenseKeyExpired'==_0x5d4b88||'tableOfContentsLicenseKeyDomainLimit'==_0x5d4b88||'tableOfContentsLicenseKeyNotAllowed'==_0x5d4b88||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5d4b88||'tableOfContentsLicenseKeyUsageLimit'==_0x5d4b88){delete _0x275497[_0xd1758b],_0x560c03=_0x5d4b88,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x560c03&&_0x275497['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x560c03&&_0x275497['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x560c03&&_0x275497['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x560c03&&_0x275497['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x560c03&&_0x275497['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x560c03&&_0x275497['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x28d97b){const _0x2df365=this['editor'],_0x40822b=_0x2df365['locale'],_0x1c7326=_0x2df365['commands']['get']('insertTableOfContents'),_0x8f3cc5=new _0x28d97b(_0x40822b);return _0x8f3cc5['set']({'label':L(_0x40822b,'Table\x20of\x20contents'),'icon':_0x3a918a}),_0x8f3cc5['bind']('isEnabled')['to'](_0x1c7326,'isEnabled'),this['listenTo'](_0x8f3cc5,'execute',()=>{_0x2df365['execute']('insertTableOfContents'),_0x2df365['editing']['view']['focus']();}),_0x8f3cc5;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x2cc283{static get['requires'](){return[N,U];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{E as DocumentOutline,x as DocumentOutlineUI,I as DocumentOutlineUtils,A as HeadingId,D as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,U as TableOfContentsUI};
|
|
23
|
+
import{Command as _0xd4f6ff,Plugin as _0x1898dd}from'@ckeditor/ckeditor5-core';import{debounce as _0x2c2112,throttle as _0x33b0c6}from'es-toolkit/compat';import{ModelText as _0x1813a0,ModelTreeWalker as _0x1acb11}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x62cf56,Rect as _0x498ab9,diff as _0x55250e,diffToChanges as _0x525b9e,global as _0x377ee9,priorities as _0x23297a,scrollAncestorsToShowTarget as _0x2dd828,uid as _0x57bf1a}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x5b9d43,MenuBarMenuListItemButtonView as _0x15a6c3,View as _0x6d338a}from'@ckeditor/ckeditor5-ui';import{Widget as _0x23273c,toWidget as _0x10649e}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x48a9d0}from'@ckeditor/ckeditor5-icons';function b(_0x25223d){let _0x19e623='';for(const _0x384dbd of _0x25223d['getChildren']())_0x384dbd instanceof _0x1813a0&&(_0x19e623+=_0x384dbd['data']);return _0x19e623;}var I=class extends _0x1898dd{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x507a10=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x147e27=[];_0x507a10['model']['document']['on']('change',_0x2c2112(()=>{const _0xfaedc3=_0x147e27;_0x147e27=this['_getOutlineDefinitions']();const _0x35c5ec=_0x525b9e(_0x55250e(_0xfaedc3,_0x147e27,(_0x1b06df,_0x259f95)=>_0x1b06df['level']===_0x259f95['level']&&_0x1b06df['text']===_0x259f95['text']&&_0x1b06df['modelElement']===_0x259f95['modelElement']),_0x147e27),_0x3a0446=this['_getActiveHeading'](),_0x57e564=_0x147e27['findIndex'](_0x358770=>_0x358770['modelElement']===_0x3a0446);_0x35c5ec['length']&&this['fire']('change',{'outlineDefinitions':_0x147e27,'activeItemIndex':_0x57e564,'outlineChanges':_0x35c5ec}),this['fire']('activeItemIndex',{'index':_0x57e564});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x2dad7f=this['editor'],_0x100713=[],_0x1e96ad=this['_headingNames'];for(const _0x40200d of _0x2dad7f['model']['document']['getRootNames']())_0x1c13cb(_0x2dad7f['model']['document']['getRoot'](_0x40200d));function _0x1c13cb(_0x2e2e26){for(const _0xb314cc of _0x2e2e26['getChildren']())_0xb314cc['is']('element')&&(_0x1e96ad['includes'](_0xb314cc['name'])&&_0x100713['push']({'level':_0x1e96ad['indexOf'](_0xb314cc['name'])+0x1,'text':b(_0xb314cc),'modelElement':_0xb314cc}),_0x1c13cb(_0xb314cc));}return _0x100713;}['_getActiveHeading'](){const _0x1f88f8=new _0x1acb11({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x1085e1 of _0x1f88f8)if(_0x1085e1['item']['is']('element')&&this['_headingNames']['includes'](_0x1085e1['item']['name']))return _0x1085e1['item'];}['_getHeadingNames'](){const _0x41527b=this['editor']['config']['get']('documentOutline.headings');return _0x41527b||function(_0x22995b){const _0x49624c=_0x22995b['config']['get']('heading.options');return _0x49624c?_0x49624c['reduce']((_0x4ac39d,_0x45670f)=>('paragraph'!==_0x45670f['model']&&_0x4ac39d['push'](_0x45670f['model']),_0x4ac39d),[]):_0x22995b['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x1f478a=this['editor'],_0x49234a=['h1','h2','h3','h4','h5','h6'],_0x563a5d=[];for(const _0x18ef35 of _0x49234a){const _0x443045=_0x1f478a['editing']['view']['domConverter']['domToView'](document['createElement'](_0x18ef35)),_0x20d4a3=_0x1f478a['data']['toModel'](_0x443045)['getChild'](0x0);_0x20d4a3?.['is']('element')&&_0x563a5d['push'](_0x20d4a3['name']);}this['_headingNames']=_0x563a5d;}};function L(_0x5cc908,_0x3cf317){const t=_0x5cc908['t'];switch(_0x3cf317){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 _0x3cf317;}}var C=class extends _0x6d338a{constructor(_0x17628a,_0x554cca=!0x1){super(_0x17628a);const _0x3560a6=this['bindTemplate'],_0x8f2e51=_0x554cca?'['+L(_0x17628a,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0xcc9ea=>!_0xcc9ea),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3560a6['to']('level',_0x2b66fa=>'ck-document-outline__item_level-'+_0x2b66fa),_0x3560a6['if']('isActive','ck-document-outline__item_active'),_0x3560a6['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3560a6['to']('text')},'children':[{'text':_0x3560a6['to']('text',_0x5d42cc=>_0x5d42cc||_0x8f2e51)}],'on':{'click':_0x3560a6['to']('click')}});}},_=class extends _0x6d338a{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x2ad0a6,_0x447014=!0x1,_0xea9e31){super(_0x2ad0a6),this['showEmptyHeadingText']=_0x447014,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xea9e31,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x22fcfe,_0x38e728,_0x1c974c,_0xbc134c)=>{this['_setActiveItem'](_0xbc134c,_0x1c974c);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x2ad0a6['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x2ad0a6,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x43d9cf){_0x43d9cf['forEach'](_0x827101=>{'insert'==_0x827101['type']?this['_insertItem'](_0x827101['index'],..._0x827101['values']):'delete'==_0x827101['type']&&this['_deleteItem'](_0x827101['index'],_0x827101['howMany']);});}['_setActiveItem'](_0x251472,_0x2f33d7){if(-0x1!==_0x251472){const _0x45b6b0=this['items']['get'](_0x251472);_0x45b6b0&&(_0x45b6b0['isActive']=!0x1);}-0x1!==_0x2f33d7&&(this['items']['get'](_0x2f33d7)['isActive']=!0x0,this['_scrollToItem'](_0x2f33d7));}['_insertItem'](_0x1d8e86,..._0x4645af){const _0x4d5ac6=_0x4645af['map']((_0x170ef2,_0x30a020)=>{const _0x2c5e78=new C(this['locale'],this['showEmptyHeadingText']);return _0x2c5e78['text']=_0x170ef2['text'],_0x2c5e78['level']=_0x170ef2['level'],_0x1d8e86+_0x30a020===this['activeItemIndex']&&(_0x2c5e78['isActive']=!0x0),_0x2c5e78;});this['items']['addMany'](_0x4d5ac6,_0x1d8e86);}['_deleteItem'](_0x43245d,_0x36ba8a){do{this['items']['remove'](_0x43245d);}while(--_0x36ba8a);}['_handleItemClick'](_0x12f012){const _0x4c29dd=this['items']['getIndex'](_0x12f012['source']);this['fire']('itemSelected',_0x4c29dd);}['_scrollToItem'](_0x5ee73f){_0x2dd828(this['items']['get'](_0x5ee73f)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x1898dd{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x101d2c){super(_0x101d2c),this['view']=new _(_0x101d2c['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x33b0c6(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x26db71=this['editor'],_0x479c92=_0x26db71['plugins']['get']('DocumentOutlineUtils');let _0x5a2e58=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x26db71['config']['get']('documentOutline.container'))throw new _0x62cf56('document-outline-container-not-provided',{'editor':_0x26db71});_0x26db71['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x479c92['on']('change',this['_handleOutlineChange']['bind'](this)),_0x479c92['on']('activeItemIndex',(_0x3e7a6d,{index:_0x449d6d})=>this['_setActiveViewItem'](_0x449d6d)),this['view']['on']('itemSelected',(_0x42d625,_0x53dfff)=>{_0x5a2e58=!0x0,this['_handleItemSelected'](_0x53dfff);}),this['view']['listenTo'](_0x377ee9['document'],'scroll',()=>{_0x5a2e58?_0x5a2e58=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x377ee9['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x21a22a){const _0x82835a='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0xd66073=0x78e40,_0x3c21bc=window['Date']['now'](),_0x3e9641=_0x21a22a['editor'],_0x4d38ea=new window['Promise'](_0x1bd34a=>{_0x3e9641['once']('ready',_0x1bd34a);}),_0x5afcbf={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x74674a=_0x3e9641['config']['get']('licenseKey');async function _0x18b886(){let _0x4d9c7b,_0x2a4328=null,_0x3059f1=null;try{return'GPL'==_0x74674a?'NotAllowed':(_0x4d9c7b=_0x1b94b7(),_0x4d9c7b?(_0x4d9c7b['usageEndpoint']&&(_0x3059f1=_0x47682b(_0x4d9c7b['usageEndpoint'],_0x4d9c7b['jti'])),await _0x28cf64()?_0x594aa8()?_0x349ce4()?'Expired':_0x3ed6ba()?('evaluation'==_0x4d9c7b['licenseType']&&(_0x2a4328=_0x4601ed('EvaluationLimit')),await _0x3d74c6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x349ce4(){const _0x4fd3e6=['evaluation','trial']['includes'](_0x4d9c7b['licenseType'])?_0x3c21bc/0x3e8:0xe10*_0xd66073;return _0x4d9c7b['exp']<_0x4fd3e6;}function _0x594aa8(){const _0x5479f8=_0x4d9c7b['features'];return!!_0x5479f8&&(!!_0x5479f8['includes']('*')||(!!_0x5479f8['includes']('DO')||(!!_0x5479f8['includes']('PP')||!(!_0x5479f8['includes']('TRILIUM')||!_0x480e61()))));}function _0x3ed6ba(){const _0x556cfe=_0x4d9c7b['licensedHosts'];if(!_0x556cfe||0x0==_0x556cfe['length'])return!0x0;const {hostname:_0x3a0659}=new URL(window['location']['href']);if(_0x556cfe['includes'](_0x3a0659))return!0x0;const _0x1c3494=_0x3a0659['split']('.');return _0x556cfe['filter'](_0x3e8962=>_0x3e8962['includes']('*'))['map'](_0x33c637=>_0x33c637['split']('.'))['filter'](_0x1f5498=>_0x1f5498['length']<=_0x1c3494['length'])['map'](_0x3407d8=>Array(_0x1c3494['length']-_0x3407d8['length'])['fill']('*'===_0x3407d8[0x0]?'*':'')['concat'](_0x3407d8))['some'](_0x5273ed=>_0x1c3494['every']((_0x1a29fb,_0x254c31)=>_0x5273ed[_0x254c31]===_0x1a29fb||'*'===_0x5273ed[_0x254c31]));}function _0x3d74c6(){return _0x2a4328&&_0x3059f1?new window['Promise']((_0x2469ee,_0x2ef4b3)=>{_0x2a4328['then'](_0x2469ee,_0x2ef4b3),_0x3059f1['then'](_0xb7c6b1=>{'Valid'!=_0xb7c6b1&&_0x2469ee(_0xb7c6b1);},_0x2ef4b3);}):_0x2a4328||_0x3059f1||'Valid';}}function _0x47682b(_0x4fc3e9,_0x202b38){return new window['Promise'](_0x39693a=>{if(_0x1b77c7())return _0x39693a('Valid');_0x3166d2(),_0x3e9641['decorate']('_sendUsageRequest');let _0x4f89d5=!0x1;const _0x1f9457=_0x57bf1a();function _0x24c8ce(_0x25a39e){return!!_0x25a39e&&('object'==typeof _0x25a39e||'function'==typeof _0x25a39e)&&'function'==typeof _0x25a39e['then']&&'function'==typeof _0x25a39e['catch'];}function _0x1d8688(_0x21a71e){_0x455c57(_0x21a71e)['then'](_0x5bfeab=>_0x5bfeab&&'ok'==_0x5bfeab['status']?_0x39b524(_0x5eff78(_0x1f9457+_0x202b38))!=_0x5bfeab['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5271db=>(_0x1ee5c2(),_0x5271db),()=>{const _0x1451c1=_0x728e50();return null==_0x1451c1?(_0x1ee5c2(),'Valid'):_0x3c21bc-_0x1451c1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x39693a)['catch'](()=>{_0x39693a('UsageLimit');});const _0x2f2d9d=0x36ee80;function _0x1ee5c2(){const _0x386717='llct-'+_0x39b524(_0x5eff78(_0x4fc3e9)),_0x4b8c9a=_0x32caad(_0x39b524(window['Math']['ceil'](_0x3c21bc/_0x2f2d9d)));window['localStorage']['setItem'](_0x386717,_0x4b8c9a);}function _0x728e50(){const _0x31b2d6='llct-'+_0x39b524(_0x5eff78(_0x4fc3e9)),_0x18d98d=window['localStorage']['getItem'](_0x31b2d6);return _0x18d98d?window['parseInt'](_0x32caad(_0x18d98d),0x10)*_0x2f2d9d:null;}function _0x455c57(_0x56b953){return new window['Promise']((_0x39717a,_0x1d62de)=>{_0x56b953['then'](_0x39717a,_0x1d62de),window['setTimeout'](_0x1d62de,0x1d4c0);});}}_0x3e9641['on']('_sendUsageRequest',(_0x3f21a1,_0x5e6338)=>{if(_0x5e6338[0x0]!=_0x4fc3e9)return _0x39693a('UsageLimit');_0x5e6338[0x1]={..._0x5e6338[0x1],'requestId':_0x1f9457};},{'priority':'high'}),_0x3e9641['on']('_sendUsageRequest',_0x1e1cf6=>{_0x24c8ce(_0x1e1cf6['return'])&&(_0x4f89d5=!0x0,_0x1d8688(_0x1e1cf6['return']));},{'priority':'low'}),_0x4d38ea['then'](()=>{_0x4f89d5||_0x39693a('UsageLimit');});});function _0x1b77c7(){return'auto'==_0x3e9641['editing']['view']['_overlayModeHint'];}function _0x3166d2(){_0x3e9641['editing']['view']['_overlayModeHint']='auto';}}function _0x4601ed(_0x5d8935){const _0x45d35d=[new window['Promise'](_0xefdb99=>setTimeout(_0xefdb99,0x93ecc)),_0x4d38ea['then'](()=>new window['Promise'](_0x20f1dc=>{let _0x4359f0=0x0;_0x3e9641['model']['on']('applyOperation',(_0x235ba2,_0x3ab51c)=>{_0x3ab51c[0x0]['isDocumentOperation']&&_0x4359f0++,0x5e8==_0x4359f0&&(_0x20f1dc(),_0x235ba2['off']());});}))];return window['Promise']['race'](_0x45d35d)['then'](()=>_0x5d8935);}async function _0x508694(){await _0x4d38ea,_0x3e9641['model']['change']=_0x5b0e66,_0x3e9641['model']['enqueueChange']=_0x5b0e66,_0x3e9641['enableReadOnlyMode']('model');}function _0x480e61(){return window['glob']&&window['glob']['triliumVersion'];}function _0x5cdabd(_0xfb731){const _0x4cacaa=_0xcd9f39();_0x3e9641[_0x4cacaa]='documentOutlineLicenseKey'+_0xfb731,'Valid'!=_0xfb731&&_0x508694();}function _0xcd9f39(){const _0x300f31=window['String'](window['performance']['now']())['replace']('.','');let _0xbd8906='a';for(let _0x2e1c1f=0x0;_0x2e1c1f<_0x300f31['length'];_0x2e1c1f+=0x2){let _0x4205bd=window['parseInt'](_0x300f31['substring'](_0x2e1c1f,_0x2e1c1f+0x2));_0x4205bd>=0x3e&&(_0x4205bd-=0x3e),_0xbd8906+=_0x82835a[_0x4205bd];}return _0xbd8906;}function _0x1b94b7(){const _0xb45009=_0x74674a['split']('.');if(0x3!=_0xb45009['length'])return null;return _0x29aa6f(_0xb45009[0x1]);function _0x29aa6f(_0x359794){const _0x31a4dc=_0x50248b(_0x359794);return _0x31a4dc&&_0x4251ce()?_0x31a4dc:null;function _0x4251ce(){const _0x4e445e=_0x31a4dc['jti'],_0x37fc5f=window['parseInt'](_0x4e445e['substring'](_0x4e445e['length']-0x8),0x10),_0x498a47={..._0x31a4dc,'jti':_0x4e445e['substring'](0x0,_0x4e445e['length']-0x8)};return delete _0x498a47['vc'],_0x5eff78(_0x498a47)==_0x37fc5f;}}}async function _0x28cf64(){let _0x1b31a7=!0x0;try{const [_0x4a4f57,_0x3f17a4,_0x1160b0]=_0x74674a['split']('.');return _0x48d262(_0x4a4f57),await _0x47ac2a(_0x4a4f57,_0x3f17a4,_0x1160b0),_0x1b31a7;}catch{return!0x1;}function _0x48d262(_0x34e661){const _0x23f6f5=_0x50248b(_0x34e661);_0x23f6f5&&'ES256'==_0x23f6f5['alg']||(_0x1b31a7=!0x1);}async function _0x47ac2a(_0x5e62c0,_0x4d0ef1,_0x47f9b8){const _0x2fc5ab=window['Uint8Array']['from'](_0xd3c0f3(_0x47f9b8),_0x1e486c=>_0x1e486c['charCodeAt'](0x0)),_0x28b895=new window['TextEncoder']()['encode'](_0x5e62c0+'.'+_0x4d0ef1),_0x60a278=window['crypto']['subtle'];if(!_0x60a278)return;const _0x2d9d25=await _0x60a278['importKey']('jwk',_0x5afcbf,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x60a278['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2d9d25,_0x2fc5ab,_0x28b895)||(_0x1b31a7=!0x1);}}function _0x50248b(_0x72d99b){return _0x72d99b['startsWith']('ey')?JSON['parse'](_0xd3c0f3(_0x72d99b)):null;}function _0xd3c0f3(_0x34f106){return window['atob'](_0x34f106['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5eff78(_0x56cd2a){let _0x1bd538=0x1505;function _0x2e5cae(_0x1287ec){for(let _0x5996c3=0x0;_0x5996c3<_0x1287ec['length'];_0x5996c3++){const _0x2b9946=_0x1287ec['charCodeAt'](_0x5996c3);_0x1bd538=(_0x1bd538<<0x5)+_0x1bd538+_0x2b9946,_0x1bd538&=_0x1bd538;}}function _0x3e49c8(_0x524ced){Array['isArray'](_0x524ced)?_0x524ced['forEach'](_0x3e49c8):_0x524ced&&'object'==typeof _0x524ced?Object['entries'](_0x524ced)['sort']()['forEach'](([_0x247efa,_0x2af0e7])=>{_0x2e5cae(_0x247efa),_0x3e49c8(_0x2af0e7);}):_0x2e5cae(window['String'](_0x524ced));}return _0x3e49c8(_0x56cd2a),_0x1bd538>>>0x0;}function _0x39b524(_0x4099dd){return _0x4099dd['toString'](0x10)['padStart'](0x8,'0');}function _0x32caad(_0x84ecec){return _0x84ecec['split']('')['reverse']()['join']('');}function _0x5b0e66(){}_0x5cdabd(await _0x18b886());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x44b65a,{outlineDefinitions:_0x18b12e,outlineChanges:_0x3b8fb0}){this['_currentOutlineDefinitions']=_0x18b12e,this['view']['sync'](_0x3b8fb0);}['_setActiveViewItem'](_0x18cd5){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x18cd5]&&(this['view']['activeItemIndex']=_0x18cd5);}['_handleItemSelected'](_0x3d9316){const _0x232f5a=this['_currentOutlineDefinitions'][_0x3d9316]['modelElement'];this['editor']['model']['change'](_0x756961=>{_0x756961['setSelection'](_0x232f5a,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3d9316);}['_updateActiveDefinitionOnViewportChange'](){const _0x264b22=this['editor'];let _0x2c46e9;for(const _0xe4d1b2 of _0x264b22['model']['document']['getRootNames']()){const _0x35f000=_0x264b22['editing']['view']['getDomRoot'](_0xe4d1b2),_0x33c365=_0x35f000&&new _0x498ab9(_0x35f000)['getVisible']();if(_0x33c365){const _0x1db752=new _0x498ab9(_0x377ee9['window'])['getIntersection'](_0x33c365);_0x1db752&&(_0x2c46e9=_0x1db752['top']+0.25*_0x1db752['height']);}}if(void 0x0===_0x2c46e9)return;const _0x1154a2=k(_0x264b22['editing'],this['_currentOutlineDefinitions'],_0x2c46e9);_0x1154a2?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x1154a2)):this['_setActiveViewItem'](-0x1);}};function k(_0x187760,_0x46d776,_0xd6e663,_0xcb9b65=0x0,_0xaa1a96=_0x46d776['length']-0x1){const _0x437cb3=Math['floor'](_0xcb9b65+(_0xaa1a96-_0xcb9b65)/0x2);if(_0xaa1a96>=_0xcb9b65){const _0x2c94b7=_0x46d776[_0x437cb3],_0x35ed66=_0x187760['mapper']['toViewElement'](_0x2c94b7['modelElement']);return _0x35ed66?new _0x498ab9(_0x187760['view']['domConverter']['mapViewToDom'](_0x35ed66))['bottom']>_0xd6e663?k(_0x187760,_0x46d776,_0xd6e663,_0xcb9b65,_0x437cb3-0x1):k(_0x187760,_0x46d776,_0xd6e663,_0x437cb3+0x1,_0xaa1a96):null;}return _0x437cb3<0x0?null:_0x46d776[_0x437cb3];}var E=class extends _0x1898dd{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[I,x];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1f5379=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ead2a;for(const _0x11f300 in _0x1f5379){const _0x2d0332=_0x11f300,_0x4af01f=_0x1f5379[_0x2d0332];if('documentOutlineLicenseKeyValid'==_0x4af01f||'documentOutlineLicenseKeyInvalid'==_0x4af01f||'documentOutlineLicenseKeyExpired'==_0x4af01f||'documentOutlineLicenseKeyDomainLimit'==_0x4af01f||'documentOutlineLicenseKeyNotAllowed'==_0x4af01f||'documentOutlineLicenseKeyEvaluationLimit'==_0x4af01f||'documentOutlineLicenseKeyUsageLimit'==_0x4af01f){delete _0x1f5379[_0x2d0332],_0x2ead2a=_0x4af01f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x2ead2a&&_0x1f5379['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x2ead2a&&_0x1f5379['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x2ead2a&&_0x1f5379['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x2ead2a&&_0x1f5379['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x2ead2a&&_0x1f5379['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x2ead2a&&_0x1f5379['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0xd4f6ff{['execute'](){this['editor']['model']['change'](_0x2035c5=>{this['editor']['model']['insertObject'](_0x2035c5['createElement']('tableOfContents'));});}['refresh'](){const _0x2ca0bf=this['editor']['model'],_0x123a2a=_0x2ca0bf['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x123a2a&&_0x2ca0bf['schema']['findAllowedParent'](_0x123a2a,'tableOfContents'));}},A=class extends _0x1898dd{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3da73f=this['editor'];if(_0x3da73f['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x193482,modelNames:_0x340f30}=function(_0x385048){const _0x1b8d3e=new Set(),_0x84f513=new Set();if(!_0x385048)return{'viewNames':_0x1b8d3e,'modelNames':_0x84f513};for(const _0x2d4dd6 of _0x385048){if('paragraph'===_0x2d4dd6['model'])continue;const _0x124262='string'==typeof _0x2d4dd6['view']?_0x2d4dd6['view']:_0x2d4dd6['view']['name'];_0x1b8d3e['add'](_0x124262),_0x84f513['add'](_0x2d4dd6['model']);}return _0x1b8d3e['has']('h1')||(_0x1b8d3e['add']('h1'),_0x84f513['add']('heading1')),{'viewNames':_0x1b8d3e,'modelNames':_0x84f513};}(this['editor']['config']['get']('heading.options'));for(const _0x5cc0c1 of _0x193482)this['_customUpcastHeadingsConversion'](_0x5cc0c1);for(const _0x3377b4 of _0x340f30)this['_customDataDowncastHeadingsConversion'](_0x3377b4),_0x3da73f['model']['schema']['isRegistered'](_0x3377b4)&&_0x3da73f['model']['schema']['extend'](_0x3377b4,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x340f30);}['_customUpcastHeadingsConversion'](_0x44fbd3){this['editor']['conversion']['for']('upcast')['add'](_0x57adc0=>_0x57adc0['on']('element:'+_0x44fbd3,(_0x19acf5,_0x214f3d,_0x5cb4b0)=>{const {consumable:_0x32cbcb,writer:_0x5bfb9e}=_0x5cb4b0,_0x54de6d=_0x214f3d['viewItem']['getAttribute']('id'),_0x5f138e=_0x214f3d['modelRange']?.['getContainedElement']();if(_0x5f138e)return _0x54de6d&&_0x54de6d['length']||_0x5f138e['hasAttribute']('headingId')?void(_0x32cbcb['consume'](_0x214f3d['viewItem'],{'attributes':['id']})&&_0x5bfb9e['setAttribute']('headingId',_0x54de6d,_0x5f138e)):(_0x32cbcb['consume'](_0x214f3d['viewItem'],{'attributes':['id']}),void _0x5bfb9e['setAttribute']('headingId',_0x57bf1a(),_0x5f138e));},{'priority':_0x23297a['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x489678){this['editor']['conversion']['for']('downcast')['add'](_0x45b6c7=>_0x45b6c7['on']('attribute:headingId:'+_0x489678,(_0x24308b,_0x24b742,_0x26328a)=>{if(!_0x26328a['consumable']['consume'](_0x24b742['item'],_0x24308b['name']))return;const _0x34297a=_0x24b742['item']['getAttribute']('headingId'),_0x1248fc=_0x26328a['mapper']['toViewElement'](_0x24b742['item']);_0x26328a['writer']['setAttribute']('id',_0x34297a,_0x1248fc);}));}['_registerHeadingIdAttributePostfixer'](_0x5d9e46){const _0x4a74d1=this['editor'],_0x1f847a=new Set(),_0x8c169c=new Set();function _0x6a5e54(_0x2ba4c9,_0x156bb6){const _0x40ce86=_0x57bf1a();return _0x8c169c['add'](_0x40ce86),_0x2ba4c9['setAttribute']('headingId',_0x40ce86,_0x156bb6),_0x40ce86;}function _0x406b76(_0x123cf0,_0x5d3051){_0x123cf0['removeAttribute']('headingId',_0x5d3051);}_0x4a74d1['model']['document']['registerPostFixer'](_0xd0989c=>{const _0x18b004=_0x4a74d1['model']['document']['differ']['getChanges']();let _0x229f1e=!0x1;for(const _0x440078 of _0x18b004)if('insert'==_0x440078['type']&&_0x440078['name']){if(_0x5d9e46['has'](_0x440078['name'])){const _0x3d3993=_0x440078['attributes']['get']('headingId');'string'==typeof _0x3d3993?_0x1f847a['has'](_0x3d3993)?(_0x6a5e54(_0xd0989c,_0x440078['position']['nodeAfter']),_0x229f1e=!0x0):_0x8c169c['add'](_0x3d3993):(_0x6a5e54(_0xd0989c,_0x440078['position']['nodeAfter']),_0x229f1e=!0x0);}else'string'==typeof _0x440078['attributes']['get']('headingId')&&(_0x406b76(_0xd0989c,_0x440078['position']['nodeAfter']),_0x229f1e=!0x0);}else{if('remove'==_0x440078['type']){const _0x21a6be=_0x440078['attributes']['get']('headingId');'string'==typeof _0x21a6be&&_0x1f847a['delete'](_0x21a6be);}}return _0x229f1e;}),_0x4a74d1['model']['document']['on']('change',()=>{_0x8c169c['forEach'](_0xa22edf=>_0x1f847a['add'](_0xa22edf)),_0x8c169c['clear']();});}},N=class extends _0x1898dd{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x23273c,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x3fb050){super(_0x3fb050),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x145456=this['editor'],_0x4de8e0=_0x145456['editing']['view']['document'];_0x145456['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x145456['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x4de8e0,'click',(_0x210c0e,_0x354120)=>{if(!_0x354120['target'])return;const _0xc6be84=_0x354120['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0xc6be84)&&(_0x354120['domEvent']['preventDefault'](),_0x210c0e['stop'](),this['_handleScrollToHeading'](_0xc6be84));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x145456['commands']['add']('insertTableOfContents',new K(_0x145456));const _0x418fbd=_0x145456['config']['get']('tableOfContents.headings');_0x418fbd&&_0x418fbd['length']?this['listenTo'](_0x145456['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x418fbd),this['_updateTableOfContentsElements']();}):_0x145456['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x415aa1,_0x44884c)=>{this['_currentOutlineDefinitions']=_0x44884c['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x145456['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x931f32){const _0x4d84a1='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x514f03=0x78e40,_0x4c04fe=window['Date']['now'](),_0x4954ef=_0x931f32['editor'],_0x1cb1f8=new window['Promise'](_0x5f326f=>{_0x4954ef['once']('ready',_0x5f326f);}),_0x8c99de={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x29f960=_0x4954ef['config']['get']('licenseKey');async function _0x458a9a(){let _0x205caa,_0x36ed62=null,_0x1a237a=null;try{return'GPL'==_0x29f960?'NotAllowed':(_0x205caa=_0x64e1e8(),_0x205caa?(_0x205caa['usageEndpoint']&&(_0x1a237a=_0x154092(_0x205caa['usageEndpoint'],_0x205caa['jti'])),await _0x426166()?_0x50096b()?_0x3d3b11()?'Expired':_0xe5f174()?('evaluation'==_0x205caa['licenseType']&&(_0x36ed62=_0x1a01ef('EvaluationLimit')),await _0x355165()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3d3b11(){const _0x13e853=['evaluation','trial']['includes'](_0x205caa['licenseType'])?_0x4c04fe/0x3e8:0xe10*_0x514f03;return _0x205caa['exp']<_0x13e853;}function _0x50096b(){const _0x4c430a=_0x205caa['features'];return!!_0x4c430a&&(!!_0x4c430a['includes']('*')||(!!_0x4c430a['includes']('TOC')||(!!_0x4c430a['includes']('PP')||!(!_0x4c430a['includes']('TRILIUM')||!_0x45a765()))));}function _0xe5f174(){const _0x1e93a0=_0x205caa['licensedHosts'];if(!_0x1e93a0||0x0==_0x1e93a0['length'])return!0x0;const {hostname:_0x4b5fa0}=new URL(window['location']['href']);if(_0x1e93a0['includes'](_0x4b5fa0))return!0x0;const _0xbfdfde=_0x4b5fa0['split']('.');return _0x1e93a0['filter'](_0x3f6bf2=>_0x3f6bf2['includes']('*'))['map'](_0x43bf3d=>_0x43bf3d['split']('.'))['filter'](_0x837496=>_0x837496['length']<=_0xbfdfde['length'])['map'](_0x5693e2=>Array(_0xbfdfde['length']-_0x5693e2['length'])['fill']('*'===_0x5693e2[0x0]?'*':'')['concat'](_0x5693e2))['some'](_0x1c7235=>_0xbfdfde['every']((_0x215d39,_0x4286e5)=>_0x1c7235[_0x4286e5]===_0x215d39||'*'===_0x1c7235[_0x4286e5]));}function _0x355165(){return _0x36ed62&&_0x1a237a?new window['Promise']((_0x4233e7,_0x245a0e)=>{_0x36ed62['then'](_0x4233e7,_0x245a0e),_0x1a237a['then'](_0x474d1e=>{'Valid'!=_0x474d1e&&_0x4233e7(_0x474d1e);},_0x245a0e);}):_0x36ed62||_0x1a237a||'Valid';}}function _0x154092(_0x41e2c7,_0x260221){return new window['Promise'](_0x4fe3ae=>{if(_0x18d30c())return _0x4fe3ae('Valid');_0x4588a8(),_0x4954ef['decorate']('_sendUsageRequest');let _0x55535a=!0x1;const _0x1c03a0=_0x57bf1a();function _0x81f80b(_0x4c4541){return!!_0x4c4541&&('object'==typeof _0x4c4541||'function'==typeof _0x4c4541)&&'function'==typeof _0x4c4541['then']&&'function'==typeof _0x4c4541['catch'];}function _0x31417a(_0x3c527b){_0x1528ac(_0x3c527b)['then'](_0x773e9d=>_0x773e9d&&'ok'==_0x773e9d['status']?_0x2b30d9(_0x43c747(_0x1c03a0+_0x260221))!=_0x773e9d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5eb194=>(_0x29e2f1(),_0x5eb194),()=>{const _0xc2aa51=_0x352121();return null==_0xc2aa51?(_0x29e2f1(),'Valid'):_0x4c04fe-_0xc2aa51>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4fe3ae)['catch'](()=>{_0x4fe3ae('UsageLimit');});const _0x2a2030=0x36ee80;function _0x29e2f1(){const _0x29a7e9='llct-'+_0x2b30d9(_0x43c747(_0x41e2c7)),_0x4d3a26=_0x3dc001(_0x2b30d9(window['Math']['ceil'](_0x4c04fe/_0x2a2030)));window['localStorage']['setItem'](_0x29a7e9,_0x4d3a26);}function _0x352121(){const _0x58fa87='llct-'+_0x2b30d9(_0x43c747(_0x41e2c7)),_0x50df3f=window['localStorage']['getItem'](_0x58fa87);return _0x50df3f?window['parseInt'](_0x3dc001(_0x50df3f),0x10)*_0x2a2030:null;}function _0x1528ac(_0x570b49){return new window['Promise']((_0x3bc425,_0x32bba1)=>{_0x570b49['then'](_0x3bc425,_0x32bba1),window['setTimeout'](_0x32bba1,0x1d4c0);});}}_0x4954ef['on']('_sendUsageRequest',(_0x47e0b7,_0x37b345)=>{if(_0x37b345[0x0]!=_0x41e2c7)return _0x4fe3ae('UsageLimit');_0x37b345[0x1]={..._0x37b345[0x1],'requestId':_0x1c03a0};},{'priority':'high'}),_0x4954ef['on']('_sendUsageRequest',_0x115a50=>{_0x81f80b(_0x115a50['return'])&&(_0x55535a=!0x0,_0x31417a(_0x115a50['return']));},{'priority':'low'}),_0x1cb1f8['then'](()=>{_0x55535a||_0x4fe3ae('UsageLimit');});});function _0x18d30c(){return'auto'==_0x4954ef['editing']['view']['_overlayModeHint'];}function _0x4588a8(){_0x4954ef['editing']['view']['_overlayModeHint']='auto';}}function _0x1a01ef(_0x8b92be){const _0x354b62=[new window['Promise'](_0x111c09=>setTimeout(_0x111c09,0x93ecc)),_0x1cb1f8['then'](()=>new window['Promise'](_0x91d6b2=>{let _0x44815c=0x0;_0x4954ef['model']['on']('applyOperation',(_0x24eefe,_0x1805a3)=>{_0x1805a3[0x0]['isDocumentOperation']&&_0x44815c++,0x5e8==_0x44815c&&(_0x91d6b2(),_0x24eefe['off']());});}))];return window['Promise']['race'](_0x354b62)['then'](()=>_0x8b92be);}async function _0x4473aa(){await _0x1cb1f8,_0x4954ef['model']['change']=_0xd01d8a,_0x4954ef['model']['enqueueChange']=_0xd01d8a,_0x4954ef['enableReadOnlyMode']('model');}function _0x45a765(){return window['glob']&&window['glob']['triliumVersion'];}function _0x30be0c(_0x3eb098){const _0x2a10cd=_0x28f24e();_0x4954ef[_0x2a10cd]='tableOfContentsLicenseKey'+_0x3eb098,'Valid'!=_0x3eb098&&_0x4473aa();}function _0x28f24e(){const _0x49b82b=window['String'](window['performance']['now']())['replace']('.','');let _0x4fc858='m';for(let _0x34eafd=0x0;_0x34eafd<_0x49b82b['length'];_0x34eafd+=0x2){let _0x1fabd4=window['parseInt'](_0x49b82b['substring'](_0x34eafd,_0x34eafd+0x2));_0x1fabd4>=0x3e&&(_0x1fabd4-=0x3e),_0x4fc858+=_0x4d84a1[_0x1fabd4];}return _0x4fc858;}function _0x64e1e8(){const _0x186358=_0x29f960['split']('.');if(0x3!=_0x186358['length'])return null;return _0x5bd06f(_0x186358[0x1]);function _0x5bd06f(_0x5685b2){const _0x3dd521=_0x272e0f(_0x5685b2);return _0x3dd521&&_0x49b127()?_0x3dd521:null;function _0x49b127(){const _0x580adc=_0x3dd521['jti'],_0x525bfb=window['parseInt'](_0x580adc['substring'](_0x580adc['length']-0x8),0x10),_0x3a79f7={..._0x3dd521,'jti':_0x580adc['substring'](0x0,_0x580adc['length']-0x8)};return delete _0x3a79f7['vc'],_0x43c747(_0x3a79f7)==_0x525bfb;}}}async function _0x426166(){let _0x5ac363=!0x0;try{const [_0x11b539,_0x2c4bf3,_0x4a5087]=_0x29f960['split']('.');return _0xc7710d(_0x11b539),await _0x1358d3(_0x11b539,_0x2c4bf3,_0x4a5087),_0x5ac363;}catch{return!0x1;}function _0xc7710d(_0xbc2f87){const _0x38e388=_0x272e0f(_0xbc2f87);_0x38e388&&'ES256'==_0x38e388['alg']||(_0x5ac363=!0x1);}async function _0x1358d3(_0x34b80c,_0x173bf8,_0x128bc5){const _0x157e83=window['Uint8Array']['from'](_0x424672(_0x128bc5),_0x5bce26=>_0x5bce26['charCodeAt'](0x0)),_0x36e3f0=new window['TextEncoder']()['encode'](_0x34b80c+'.'+_0x173bf8),_0x168f38=window['crypto']['subtle'];if(!_0x168f38)return;const _0x5c25f1=await _0x168f38['importKey']('jwk',_0x8c99de,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x168f38['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5c25f1,_0x157e83,_0x36e3f0)||(_0x5ac363=!0x1);}}function _0x272e0f(_0x50919c){return _0x50919c['startsWith']('ey')?JSON['parse'](_0x424672(_0x50919c)):null;}function _0x424672(_0x1a35f9){return window['atob'](_0x1a35f9['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x43c747(_0x2e3180){let _0x508a62=0x1505;function _0x2d306f(_0x5c4f8f){for(let _0x3cf04a=0x0;_0x3cf04a<_0x5c4f8f['length'];_0x3cf04a++){const _0x14494a=_0x5c4f8f['charCodeAt'](_0x3cf04a);_0x508a62=(_0x508a62<<0x5)+_0x508a62+_0x14494a,_0x508a62&=_0x508a62;}}function _0x4a4c36(_0x2781e1){Array['isArray'](_0x2781e1)?_0x2781e1['forEach'](_0x4a4c36):_0x2781e1&&'object'==typeof _0x2781e1?Object['entries'](_0x2781e1)['sort']()['forEach'](([_0x3c83d6,_0x106258])=>{_0x2d306f(_0x3c83d6),_0x4a4c36(_0x106258);}):_0x2d306f(window['String'](_0x2781e1));}return _0x4a4c36(_0x2e3180),_0x508a62>>>0x0;}function _0x2b30d9(_0x51cacf){return _0x51cacf['toString'](0x10)['padStart'](0x8,'0');}function _0x3dc001(_0x1d5acb){return _0x1d5acb['split']('')['reverse']()['join']('');}function _0xd01d8a(){}_0x30be0c(await _0x458a9a());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x8bb7a0=>{'$graveyard'!==_0x8bb7a0['rootName']&&this['editor']['editing']['reconvertItem'](_0x8bb7a0);});}['_trackNewToCElements'](){for(const _0x4642da of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x4642da['type']||'tableOfContents'!==_0x4642da['name'])return;this['_tableOfContentsElements']['add'](_0x4642da['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x3c8fa3){const _0x458b5f=this['editor'],_0x567d72=[];for(const _0x29c444 of _0x458b5f['model']['document']['getRootNames']())_0x453d46(_0x458b5f['model']['document']['getRoot'](_0x29c444));function _0x453d46(_0xeb36db){for(const _0x2a9d1 of _0xeb36db['getChildren']())_0x2a9d1['is']('element')&&(_0x3c8fa3['includes'](_0x2a9d1['name'])&&_0x567d72['push']({'level':_0x3c8fa3['indexOf'](_0x2a9d1['name'])+0x1,'text':b(_0x2a9d1),'modelElement':_0x2a9d1}),_0x453d46(_0x2a9d1));}return _0x567d72;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x3184dc=this['editor']['conversion'];_0x3184dc['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x3184dc['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x41c002,{writer:_0x52b585})=>this['_createTableOfContents'](_0x52b585,!0x0)}),_0x3184dc['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x378f17,{writer:_0x34233c})=>(this['_tableOfContentsElements']['add'](_0x378f17),_0x10649e(this['_createTableOfContents'](_0x34233c),_0x34233c,{'label':L(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'](_0x212556,_0x4f126b=!0x1){const {locale:_0xefae7a}=this['editor'],_0x2b5898=_0x212556['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x4f126b&&{'data-table-of-contents-label':L(_0xefae7a,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x4f126b&&_0x212556['insert'](_0x212556['createPositionAt'](_0x2b5898,'end'),_0x212556['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x212556['createText'](L(_0xefae7a,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x5db8ad=_0x4f126b?'':'['+L(_0xefae7a,'Empty\x20heading')+']';let _0x4050c8=_0x2b5898;return this['_currentOutlineDefinitions']['forEach']((_0x42906a,_0x232b0b,_0x3a88c6)=>{const _0x2c48b5=this['editor']['model']['hasContent'](_0x42906a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x3ef5cc=_0x2c48b5?_0x42906a['text']:_0x5db8ad,_0x4e8cc2=_0x42906a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x1aa9a3=_0x212556['createContainerElement']('a',{'href':'#'+_0x4e8cc2,...!_0x4f126b&&{'tabindex':'-1'}},[_0x212556['createText'](_0x3ef5cc)]),_0x3e3c8c=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x212556['setCustomProperty']('tableOfContentsHeadingIndex',_0x232b0b,_0x1aa9a3);const _0x4c2416=_0x212556['createContainerElement']('li',null,[_0x2c48b5||!_0x4f126b&&_0x3e3c8c?_0x1aa9a3:_0x212556['createText']('')]),_0x3fa152=_0x232b0b?_0x3a88c6[_0x232b0b-0x1]['level']:0x0,_0x1a693f=Math['abs'](_0x42906a['level']-_0x3fa152);if(_0x42906a['level']>_0x3fa152){const _0x57c61a=P(_0x4c2416,_0x1a693f,_0x212556);_0x212556['insert'](_0x212556['createPositionAt'](_0x4050c8,'end'),_0x57c61a);}else{const _0x5e6f51=function(_0x4cc664,_0x2ba13a){return _0x4cc664['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4d77a4=>_0x4d77a4['is']('element','ol'))[_0x2ba13a];}(_0x4050c8,_0x1a693f);_0x212556['insert'](_0x212556['createPositionAt'](_0x5e6f51,'end'),_0x4c2416);}_0x4050c8=_0x4c2416;}),_0x2b5898;}['_handleScrollToHeading'](_0x246285){const _0x23ade5=this['_currentOutlineDefinitions'][_0x246285]['modelElement'];this['editor']['model']['change'](_0x58ae62=>{_0x58ae62['setSelection'](_0x23ade5,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x2839cc,_0x21d3df)=>{const _0x254f1c=_0x21d3df['mapper'],_0x4837af=_0x254f1c['findMappedViewAncestor'](_0x21d3df['viewPosition']),_0x1b655c=_0x254f1c['toModelElement'](_0x4837af);_0x1b655c['is']('element','tableOfContents')&&(_0x21d3df['modelPosition']=this['editor']['model']['createPositionAt'](_0x1b655c,0x0),_0x2839cc['stop']());};}};function P(_0x16ef87,_0x1edb08,_0xa4f7b3){return 0x1===_0x1edb08?_0xa4f7b3['createContainerElement']('ol',null,[_0x16ef87]):_0xa4f7b3['createContainerElement']('ol',null,[_0xa4f7b3['createContainerElement']('li',null,[P(_0x16ef87,_0x1edb08-0x1,_0xa4f7b3)])]);}var U=class extends _0x1898dd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4d52ec=this['editor'];_0x4d52ec['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x5eb20a=this['_createButton'](_0x5b9d43);return _0x5eb20a['tooltip']=!0x0,_0x5eb20a;}),_0x4d52ec['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x15a6c3)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x15aaae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x298c59;for(const _0x2e7c08 in _0x15aaae){const _0x26c79b=_0x2e7c08,_0x5a5b7f=_0x15aaae[_0x26c79b];if('tableOfContentsLicenseKeyValid'==_0x5a5b7f||'tableOfContentsLicenseKeyInvalid'==_0x5a5b7f||'tableOfContentsLicenseKeyExpired'==_0x5a5b7f||'tableOfContentsLicenseKeyDomainLimit'==_0x5a5b7f||'tableOfContentsLicenseKeyNotAllowed'==_0x5a5b7f||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5a5b7f||'tableOfContentsLicenseKeyUsageLimit'==_0x5a5b7f){delete _0x15aaae[_0x26c79b],_0x298c59=_0x5a5b7f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x298c59&&_0x15aaae['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x298c59&&_0x15aaae['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x298c59&&_0x15aaae['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x298c59&&_0x15aaae['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x298c59&&_0x15aaae['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x298c59&&_0x15aaae['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x3abe63){const _0x458af8=this['editor'],_0x1698a5=_0x458af8['locale'],_0x2ad6e8=_0x458af8['commands']['get']('insertTableOfContents'),_0xcbb59=new _0x3abe63(_0x1698a5);return _0xcbb59['set']({'label':L(_0x1698a5,'Table\x20of\x20contents'),'icon':_0x48a9d0}),_0xcbb59['bind']('isEnabled')['to'](_0x2ad6e8,'isEnabled'),this['listenTo'](_0xcbb59,'execute',()=>{_0x458af8['execute']('insertTableOfContents'),_0x458af8['editing']['view']['focus']();}),_0xcbb59;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x1898dd{static get['requires'](){return[N,U];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{E as DocumentOutline,x as DocumentOutlineUI,I as DocumentOutlineUtils,A as HeadingId,D as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,U as TableOfContentsUI};
|
package/dist/translations/af.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x3d580d=>0x1!=_0x3d580d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4393a2=>{const {af:{dictionary:_0x51ae4e,getPluralForm:_0x227e52}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x43556b=>0x1!=_0x43556b}};_0x4393a2['af']||={'dictionary':{},'getPluralForm':null},_0x4393a2['af']['dictionary']=Object['assign'](_0x4393a2['af']['dictionary'],_0x51ae4e),_0x4393a2['af']['getPluralForm']=_0x227e52;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ar.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ar':{'dictionary':{'Empty\x20heading':'رأس\x20فارغ','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'تظهر\x20رؤوس\x20المحرر\x20هنا\x20أثناء\x20الكتابة.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'لم\x20نعثر\x20على\x20رؤوس\x20في\x20المستند.','Table\x20of\x20contents':'جدول\x20المحتويات'},'getPluralForm':
|
|
23
|
+
export default{'ar':{'dictionary':{'Empty\x20heading':'رأس\x20فارغ','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'تظهر\x20رؤوس\x20المحرر\x20هنا\x20أثناء\x20الكتابة.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'لم\x20نعثر\x20على\x20رؤوس\x20في\x20المستند.','Table\x20of\x20contents':'جدول\x20المحتويات'},'getPluralForm':_0x21c249=>0x0==_0x21c249?0x0:0x1==_0x21c249?0x1:0x2==_0x21c249?0x2:_0x21c249%0x64>=0x3&&_0x21c249%0x64<=0xa?0x3:_0x21c249%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2db5ee=>{const {ar:{dictionary:_0x3c8b29,getPluralForm:_0x382518}}={'ar':{'dictionary':{'Empty\x20heading':'رأس\x20فارغ','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'تظهر\x20رؤوس\x20المحرر\x20هنا\x20أثناء\x20الكتابة.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'لم\x20نعثر\x20على\x20رؤوس\x20في\x20المستند.','Table\x20of\x20contents':'جدول\x20المحتويات'},'getPluralForm':_0x5be3b9=>0x0==_0x5be3b9?0x0:0x1==_0x5be3b9?0x1:0x2==_0x5be3b9?0x2:_0x5be3b9%0x64>=0x3&&_0x5be3b9%0x64<=0xa?0x3:_0x5be3b9%0x64>=0xb?0x4:0x5}};_0x2db5ee['ar']||={'dictionary':{},'getPluralForm':null},_0x2db5ee['ar']['dictionary']=Object['assign'](_0x2db5ee['ar']['dictionary'],_0x3c8b29),_0x2db5ee['ar']['getPluralForm']=_0x382518;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ast.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x175de5=>0x1!=_0x175de5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x41d899=>{const {ast:{dictionary:_0x4270bb,getPluralForm:_0x3415fc}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x44a46d=>0x1!=_0x44a46d}};_0x41d899['ast']||={'dictionary':{},'getPluralForm':null},_0x41d899['ast']['dictionary']=Object['assign'](_0x41d899['ast']['dictionary'],_0x4270bb),_0x41d899['ast']['getPluralForm']=_0x3415fc;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/az.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x24a303=>0x1!=_0x24a303}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3f3003=>{const {az:{dictionary:_0x3f36df,getPluralForm:_0x260c2f}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2d011d=>0x1!=_0x2d011d}};_0x3f3003['az']||={'dictionary':{},'getPluralForm':null},_0x3f3003['az']['dictionary']=Object['assign'](_0x3f3003['az']['dictionary'],_0x3f36df),_0x3f3003['az']['getPluralForm']=_0x260c2f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/be.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x4423e6=>_0x4423e6%0xa==0x1&&_0x4423e6%0x64!=0xb?0x0:_0x4423e6%0xa>=0x2&&_0x4423e6%0xa<=0x4&&(_0x4423e6%0x64<0xa||_0x4423e6%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x357bf5=>{const {be:{dictionary:_0x5c1eaa,getPluralForm:_0x35b80c}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2bb164=>_0x2bb164%0xa==0x1&&_0x2bb164%0x64!=0xb?0x0:_0x2bb164%0xa>=0x2&&_0x2bb164%0xa<=0x4&&(_0x2bb164%0x64<0xa||_0x2bb164%0x64>=0x14)?0x1:0x2}};_0x357bf5['be']||={'dictionary':{},'getPluralForm':null},_0x357bf5['be']['dictionary']=Object['assign'](_0x357bf5['be']['dictionary'],_0x5c1eaa),_0x357bf5['be']['getPluralForm']=_0x35b80c;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bg.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bg':{'dictionary':{'Empty\x20heading':'Празно\x20заглавие','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Заглавията\x20на\x20редактора\x20ще\x20се\x20виждат\x20тук\x20по\x20време\x20на\x20писането.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'В\x20документа\x20не\x20бяха\x20намерени\x20заглавия.','Table\x20of\x20contents':'Съдържание'},'getPluralForm':
|
|
23
|
+
export default{'bg':{'dictionary':{'Empty\x20heading':'Празно\x20заглавие','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Заглавията\x20на\x20редактора\x20ще\x20се\x20виждат\x20тук\x20по\x20време\x20на\x20писането.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'В\x20документа\x20не\x20бяха\x20намерени\x20заглавия.','Table\x20of\x20contents':'Съдържание'},'getPluralForm':_0x4231c7=>0x1!=_0x4231c7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17ffaf=>{const {bg:{dictionary:_0x404798,getPluralForm:_0x286260}}={'bg':{'dictionary':{'Empty\x20heading':'Празно\x20заглавие','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Заглавията\x20на\x20редактора\x20ще\x20се\x20виждат\x20тук\x20по\x20време\x20на\x20писането.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'В\x20документа\x20не\x20бяха\x20намерени\x20заглавия.','Table\x20of\x20contents':'Съдържание'},'getPluralForm':_0x5c3cdb=>0x1!=_0x5c3cdb}};_0x17ffaf['bg']||={'dictionary':{},'getPluralForm':null},_0x17ffaf['bg']['dictionary']=Object['assign'](_0x17ffaf['bg']['dictionary'],_0x404798),_0x17ffaf['bg']['getPluralForm']=_0x286260;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bn.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bn':{'dictionary':{'Empty\x20heading':'খালি\x20হেডিং','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'আপনি\x20টাইপ\x20করার\x20সাথে\x20সাথে\x20এডিটর\x20হেডিং\x20এখানে\x20প্রদর্শিত\x20হবে।','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'ডকুমেন্টে\x20কোনো\x20হেডিং\x20পাওয়া\x20যায়নি।','Table\x20of\x20contents':'বিষয়বস্তুর\x20টেবিল'},'getPluralForm':
|
|
23
|
+
export default{'bn':{'dictionary':{'Empty\x20heading':'খালি\x20হেডিং','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'আপনি\x20টাইপ\x20করার\x20সাথে\x20সাথে\x20এডিটর\x20হেডিং\x20এখানে\x20প্রদর্শিত\x20হবে।','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'ডকুমেন্টে\x20কোনো\x20হেডিং\x20পাওয়া\x20যায়নি।','Table\x20of\x20contents':'বিষয়বস্তুর\x20টেবিল'},'getPluralForm':_0x426d71=>0x1!=_0x426d71}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17044f=>{const {bn:{dictionary:_0xf4ac95,getPluralForm:_0x11d7a3}}={'bn':{'dictionary':{'Empty\x20heading':'খালি\x20হেডিং','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'আপনি\x20টাইপ\x20করার\x20সাথে\x20সাথে\x20এডিটর\x20হেডিং\x20এখানে\x20প্রদর্শিত\x20হবে।','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'ডকুমেন্টে\x20কোনো\x20হেডিং\x20পাওয়া\x20যায়নি।','Table\x20of\x20contents':'বিষয়বস্তুর\x20টেবিল'},'getPluralForm':_0x296bbc=>0x1!=_0x296bbc}};_0x17044f['bn']||={'dictionary':{},'getPluralForm':null},_0x17044f['bn']['dictionary']=Object['assign'](_0x17044f['bn']['dictionary'],_0xf4ac95),_0x17044f['bn']['getPluralForm']=_0x11d7a3;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/bs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2c0b60=>_0x2c0b60%0xa==0x1&&_0x2c0b60%0x64!=0xb?0x0:_0x2c0b60%0xa>=0x2&&_0x2c0b60%0xa<=0x4&&(_0x2c0b60%0x64<0xa||_0x2c0b60%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5e555f=>{const {bs:{dictionary:_0x50b249,getPluralForm:_0x146b11}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x11ab34=>_0x11ab34%0xa==0x1&&_0x11ab34%0x64!=0xb?0x0:_0x11ab34%0xa>=0x2&&_0x11ab34%0xa<=0x4&&(_0x11ab34%0x64<0xa||_0x11ab34%0x64>=0x14)?0x1:0x2}};_0x5e555f['bs']||={'dictionary':{},'getPluralForm':null},_0x5e555f['bs']['dictionary']=Object['assign'](_0x5e555f['bs']['dictionary'],_0x50b249),_0x5e555f['bs']['getPluralForm']=_0x146b11;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/ca.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'ca':{'dictionary':{'Empty\x20heading':'Encapçalament\x20buit','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Els\x20encapçalaments\x20de\x20l\x27editor\x20apareixeran\x20aquí\x20a\x20mesura\x20que\x20escriguis.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20s\x27ha\x20trobat\x20cap\x20encapçalament\x20al\x20document.','Table\x20of\x20contents':'Taula\x20de\x20continguts'},'getPluralForm':
|
|
23
|
+
export default{'ca':{'dictionary':{'Empty\x20heading':'Encapçalament\x20buit','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Els\x20encapçalaments\x20de\x20l\x27editor\x20apareixeran\x20aquí\x20a\x20mesura\x20que\x20escriguis.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20s\x27ha\x20trobat\x20cap\x20encapçalament\x20al\x20document.','Table\x20of\x20contents':'Taula\x20de\x20continguts'},'getPluralForm':_0x421ac1=>0x1!=_0x421ac1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15336b=>{const {ca:{dictionary:_0x3e35ad,getPluralForm:_0x4b1bd1}}={'ca':{'dictionary':{'Empty\x20heading':'Encapçalament\x20buit','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Els\x20encapçalaments\x20de\x20l\x27editor\x20apareixeran\x20aquí\x20a\x20mesura\x20que\x20escriguis.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20s\x27ha\x20trobat\x20cap\x20encapçalament\x20al\x20document.','Table\x20of\x20contents':'Taula\x20de\x20continguts'},'getPluralForm':_0x10829a=>0x1!=_0x10829a}};_0x15336b['ca']||={'dictionary':{},'getPluralForm':null},_0x15336b['ca']['dictionary']=Object['assign'](_0x15336b['ca']['dictionary'],_0x3e35ad),_0x15336b['ca']['getPluralForm']=_0x4b1bd1;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/cs.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'cs':{'dictionary':{'Empty\x20heading':'Prázdný\x20nadpis','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Tady\x20se\x20během\x20psaní\x20objeví\x20nadpisy\x20editoru.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'V\x20dokumentu\x20nebyly\x20nalezeny\x20žádné\x20nadpisy.','Table\x20of\x20contents':'Obsah'},'getPluralForm':
|
|
23
|
+
export default{'cs':{'dictionary':{'Empty\x20heading':'Prázdný\x20nadpis','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Tady\x20se\x20během\x20psaní\x20objeví\x20nadpisy\x20editoru.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'V\x20dokumentu\x20nebyly\x20nalezeny\x20žádné\x20nadpisy.','Table\x20of\x20contents':'Obsah'},'getPluralForm':_0x19dbae=>0x1==_0x19dbae?0x0:_0x19dbae>=0x2&&_0x19dbae<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59bdbf=>{const {cs:{dictionary:_0xbbf925,getPluralForm:_0x29401f}}={'cs':{'dictionary':{'Empty\x20heading':'Prázdný\x20nadpis','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Tady\x20se\x20během\x20psaní\x20objeví\x20nadpisy\x20editoru.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'V\x20dokumentu\x20nebyly\x20nalezeny\x20žádné\x20nadpisy.','Table\x20of\x20contents':'Obsah'},'getPluralForm':_0x22fd2b=>0x1==_0x22fd2b?0x0:_0x22fd2b>=0x2&&_0x22fd2b<=0x4?0x1:0x2}};_0x59bdbf['cs']||={'dictionary':{},'getPluralForm':null},_0x59bdbf['cs']['dictionary']=Object['assign'](_0x59bdbf['cs']['dictionary'],_0xbbf925),_0x59bdbf['cs']['getPluralForm']=_0x29401f;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/da.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'da':{'dictionary':{'Empty\x20heading':'Tom\x20overskrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Redigeringsoverskrifter\x20vil\x20stå\x20her,\x20efterhånden\x20som\x20du\x20skriver.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Ingen\x20overskrifter\x20blev\x20fundet\x20i\x20dokumentet.','Table\x20of\x20contents':'Indholdsfortegnelse'},'getPluralForm':
|
|
23
|
+
export default{'da':{'dictionary':{'Empty\x20heading':'Tom\x20overskrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Redigeringsoverskrifter\x20vil\x20stå\x20her,\x20efterhånden\x20som\x20du\x20skriver.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Ingen\x20overskrifter\x20blev\x20fundet\x20i\x20dokumentet.','Table\x20of\x20contents':'Indholdsfortegnelse'},'getPluralForm':_0x273736=>0x1!=_0x273736}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e8a2f=>{const {da:{dictionary:_0x37ad2b,getPluralForm:_0x3189b5}}={'da':{'dictionary':{'Empty\x20heading':'Tom\x20overskrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Redigeringsoverskrifter\x20vil\x20stå\x20her,\x20efterhånden\x20som\x20du\x20skriver.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Ingen\x20overskrifter\x20blev\x20fundet\x20i\x20dokumentet.','Table\x20of\x20contents':'Indholdsfortegnelse'},'getPluralForm':_0x27801f=>0x1!=_0x27801f}};_0x3e8a2f['da']||={'dictionary':{},'getPluralForm':null},_0x3e8a2f['da']['dictionary']=Object['assign'](_0x3e8a2f['da']['dictionary'],_0x37ad2b),_0x3e8a2f['da']['getPluralForm']=_0x3189b5;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x105c28=>0x1!=_0x105c28}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2c21e5=>{const {'de-ch':{dictionary:_0x2ade2b,getPluralForm:_0x1549ae}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x3ccea2=>0x1!=_0x3ccea2}};_0x2c21e5['de-ch']||={'dictionary':{},'getPluralForm':null},_0x2c21e5['de-ch']['dictionary']=Object['assign'](_0x2c21e5['de-ch']['dictionary'],_0x2ade2b),_0x2c21e5['de-ch']['getPluralForm']=_0x1549ae;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/de.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'de':{'dictionary':{'Empty\x20heading':'Leere\x20Überschrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Während\x20Sie\x20schreiben,\x20werden\x20hier\x20die\x20Editor-Überschriften\x20angezeigt.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Im\x20Dokument\x20wurden\x20keine\x20Überschriften\x20gefunden.','Table\x20of\x20contents':'Inhaltsverzeichnis'},'getPluralForm':
|
|
23
|
+
export default{'de':{'dictionary':{'Empty\x20heading':'Leere\x20Überschrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Während\x20Sie\x20schreiben,\x20werden\x20hier\x20die\x20Editor-Überschriften\x20angezeigt.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Im\x20Dokument\x20wurden\x20keine\x20Überschriften\x20gefunden.','Table\x20of\x20contents':'Inhaltsverzeichnis'},'getPluralForm':_0xc0281d=>0x1!=_0xc0281d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4f11d1=>{const {de:{dictionary:_0xa54d08,getPluralForm:_0x182da7}}={'de':{'dictionary':{'Empty\x20heading':'Leere\x20Überschrift','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Während\x20Sie\x20schreiben,\x20werden\x20hier\x20die\x20Editor-Überschriften\x20angezeigt.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Im\x20Dokument\x20wurden\x20keine\x20Überschriften\x20gefunden.','Table\x20of\x20contents':'Inhaltsverzeichnis'},'getPluralForm':_0x26b9c3=>0x1!=_0x26b9c3}};_0x4f11d1['de']||={'dictionary':{},'getPluralForm':null},_0x4f11d1['de']['dictionary']=Object['assign'](_0x4f11d1['de']['dictionary'],_0xa54d08),_0x4f11d1['de']['getPluralForm']=_0x182da7;})(window['CKEDITOR_TRANSLATIONS']||={});
|
package/dist/translations/el.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'el':{'dictionary':{'Empty\x20heading':'Κενή\x20επικεφαλίδα','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Οι\x20επικεφαλίδες\x20του\x20επεξεργαστή\x20θα\x20εμφανίζονται\x20εδώ\x20καθώς\x20πληκτρολογείτε.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Δεν\x20βρέθηκαν\x20επικεφαλίδες\x20στο\x20έγγραφο.','Table\x20of\x20contents':'Πίνακας\x20περιεχομένων'},'getPluralForm':
|
|
23
|
+
export default{'el':{'dictionary':{'Empty\x20heading':'Κενή\x20επικεφαλίδα','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Οι\x20επικεφαλίδες\x20του\x20επεξεργαστή\x20θα\x20εμφανίζονται\x20εδώ\x20καθώς\x20πληκτρολογείτε.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Δεν\x20βρέθηκαν\x20επικεφαλίδες\x20στο\x20έγγραφο.','Table\x20of\x20contents':'Πίνακας\x20περιεχομένων'},'getPluralForm':_0x381177=>0x1!=_0x381177}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x448581=>{const {el:{dictionary:_0x189b47,getPluralForm:_0x86b39}}={'el':{'dictionary':{'Empty\x20heading':'Κενή\x20επικεφαλίδα','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Οι\x20επικεφαλίδες\x20του\x20επεξεργαστή\x20θα\x20εμφανίζονται\x20εδώ\x20καθώς\x20πληκτρολογείτε.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'Δεν\x20βρέθηκαν\x20επικεφαλίδες\x20στο\x20έγγραφο.','Table\x20of\x20contents':'Πίνακας\x20περιεχομένων'},'getPluralForm':_0x172511=>0x1!=_0x172511}};_0x448581['el']||={'dictionary':{},'getPluralForm':null},_0x448581['el']['dictionary']=Object['assign'](_0x448581['el']['dictionary'],_0x189b47),_0x448581['el']['getPluralForm']=_0x86b39;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-au':{'dictionary':{'Empty\x20heading':'Empty\x20heading','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20headings\x20were\x20found\x20in\x20the\x20document.','Table\x20of\x20contents':'Table\x20of\x20contents'},'getPluralForm':
|
|
23
|
+
export default{'en-au':{'dictionary':{'Empty\x20heading':'Empty\x20heading','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20headings\x20were\x20found\x20in\x20the\x20document.','Table\x20of\x20contents':'Table\x20of\x20contents'},'getPluralForm':_0x296036=>0x1!=_0x296036}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3537ae=>{const {'en-au':{dictionary:_0x4a5bd2,getPluralForm:_0x5772ca}}={'en-au':{'dictionary':{'Empty\x20heading':'Empty\x20heading','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'No\x20headings\x20were\x20found\x20in\x20the\x20document.','Table\x20of\x20contents':'Table\x20of\x20contents'},'getPluralForm':_0x14a384=>0x1!=_0x14a384}};_0x3537ae['en-au']||={'dictionary':{},'getPluralForm':null},_0x3537ae['en-au']['dictionary']=Object['assign'](_0x3537ae['en-au']['dictionary'],_0x4a5bd2),_0x3537ae['en-au']['getPluralForm']=_0x5772ca;})(window['CKEDITOR_TRANSLATIONS']||={});
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
export default{'en-gb':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':
|
|
23
|
+
export default{'en-gb':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x54e535=>0x1!=_0x54e535}};
|