@ckeditor/ckeditor5-document-outline 48.3.0-alpha.5 → 48.3.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _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};
|
|
23
|
+
import{Command as _0x22d6ff,Plugin as _0x4c7fd8}from'@ckeditor/ckeditor5-core';import{debounce as _0x2866a7,throttle as _0x16ae6d}from'es-toolkit/compat';import{ModelText as _0x5e8bbb,ModelTreeWalker as _0x1bac19}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x406bd9,Rect as _0x36e72a,diff as _0xea6791,diffToChanges as _0x50e342,global as _0x14b08a,priorities as _0x1a9476,scrollAncestorsToShowTarget as _0x10aecd,uid as _0x421ad2}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0xa975c7,MenuBarMenuListItemButtonView as _0x39c6c8,View as _0x33e866}from'@ckeditor/ckeditor5-ui';import{Widget as _0x2258d2,toWidget as _0x5398c7}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x1c7762}from'@ckeditor/ckeditor5-icons';function b(_0x37b8a3){let _0x2b6b29='';for(const _0x50bcda of _0x37b8a3['getChildren']())_0x50bcda instanceof _0x5e8bbb&&(_0x2b6b29+=_0x50bcda['data']);return _0x2b6b29;}var I=class extends _0x4c7fd8{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4b6072=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x16a3a2=[];_0x4b6072['model']['document']['on']('change',_0x2866a7(()=>{const _0x3e549f=_0x16a3a2;_0x16a3a2=this['_getOutlineDefinitions']();const _0x6e563c=_0x50e342(_0xea6791(_0x3e549f,_0x16a3a2,(_0x3e8530,_0x10beb6)=>_0x3e8530['level']===_0x10beb6['level']&&_0x3e8530['text']===_0x10beb6['text']&&_0x3e8530['modelElement']===_0x10beb6['modelElement']),_0x16a3a2),_0xb9741d=this['_getActiveHeading'](),_0x1d55f9=_0x16a3a2['findIndex'](_0x23541b=>_0x23541b['modelElement']===_0xb9741d);_0x6e563c['length']&&this['fire']('change',{'outlineDefinitions':_0x16a3a2,'activeItemIndex':_0x1d55f9,'outlineChanges':_0x6e563c}),this['fire']('activeItemIndex',{'index':_0x1d55f9});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x233457=this['editor'],_0xb25156=[],_0x6b8d64=this['_headingNames'];for(const _0x2c2f6e of _0x233457['model']['document']['getRootNames']())_0x36c1d7(_0x233457['model']['document']['getRoot'](_0x2c2f6e));function _0x36c1d7(_0x1fdd94){for(const _0x1f7884 of _0x1fdd94['getChildren']())_0x1f7884['is']('element')&&(_0x6b8d64['includes'](_0x1f7884['name'])&&_0xb25156['push']({'level':_0x6b8d64['indexOf'](_0x1f7884['name'])+0x1,'text':b(_0x1f7884),'modelElement':_0x1f7884}),_0x36c1d7(_0x1f7884));}return _0xb25156;}['_getActiveHeading'](){const _0x5c25f3=new _0x1bac19({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x5772ec of _0x5c25f3)if(_0x5772ec['item']['is']('element')&&this['_headingNames']['includes'](_0x5772ec['item']['name']))return _0x5772ec['item'];}['_getHeadingNames'](){const _0x274ce5=this['editor']['config']['get']('documentOutline.headings');return _0x274ce5||function(_0x58a2bc){const _0x4c4660=_0x58a2bc['config']['get']('heading.options');return _0x4c4660?_0x4c4660['reduce']((_0x581cb8,_0x27eba3)=>('paragraph'!==_0x27eba3['model']&&_0x581cb8['push'](_0x27eba3['model']),_0x581cb8),[]):_0x58a2bc['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x1a0ca9=this['editor'],_0x44b161=['h1','h2','h3','h4','h5','h6'],_0x5d4b53=[];for(const _0x592342 of _0x44b161){const _0x37f00f=_0x1a0ca9['editing']['view']['domConverter']['domToView'](document['createElement'](_0x592342)),_0x304226=_0x1a0ca9['data']['toModel'](_0x37f00f)['getChild'](0x0);_0x304226?.['is']('element')&&_0x5d4b53['push'](_0x304226['name']);}this['_headingNames']=_0x5d4b53;}};function L(_0x3dddf0,_0x204aec){const t=_0x3dddf0['t'];switch(_0x204aec){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 _0x204aec;}}var C=class extends _0x33e866{constructor(_0x5e6fbf,_0x3e0462=!0x1){super(_0x5e6fbf);const _0x4820a4=this['bindTemplate'],_0x132def=_0x3e0462?'['+L(_0x5e6fbf,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x5b7679=>!_0x5b7679),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x4820a4['to']('level',_0x58e62a=>'ck-document-outline__item_level-'+_0x58e62a),_0x4820a4['if']('isActive','ck-document-outline__item_active'),_0x4820a4['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x4820a4['to']('text')},'children':[{'text':_0x4820a4['to']('text',_0x2da8ea=>_0x2da8ea||_0x132def)}],'on':{'click':_0x4820a4['to']('click')}});}},_=class extends _0x33e866{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x98762f,_0x5aa5ad=!0x1,_0x1523e5){super(_0x98762f),this['showEmptyHeadingText']=_0x5aa5ad,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x1523e5,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x2b3272,_0x5cd8bf,_0x2c110f,_0x4a5f84)=>{this['_setActiveItem'](_0x4a5f84,_0x2c110f);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x98762f['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x98762f,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5a6f4c){_0x5a6f4c['forEach'](_0x1bd864=>{'insert'==_0x1bd864['type']?this['_insertItem'](_0x1bd864['index'],..._0x1bd864['values']):'delete'==_0x1bd864['type']&&this['_deleteItem'](_0x1bd864['index'],_0x1bd864['howMany']);});}['_setActiveItem'](_0x3dec43,_0x3a3011){if(-0x1!==_0x3dec43){const _0x5a6171=this['items']['get'](_0x3dec43);_0x5a6171&&(_0x5a6171['isActive']=!0x1);}-0x1!==_0x3a3011&&(this['items']['get'](_0x3a3011)['isActive']=!0x0,this['_scrollToItem'](_0x3a3011));}['_insertItem'](_0x3b349c,..._0x59f48d){const _0x505c02=_0x59f48d['map']((_0x928725,_0x343235)=>{const _0x18a5d3=new C(this['locale'],this['showEmptyHeadingText']);return _0x18a5d3['text']=_0x928725['text'],_0x18a5d3['level']=_0x928725['level'],_0x3b349c+_0x343235===this['activeItemIndex']&&(_0x18a5d3['isActive']=!0x0),_0x18a5d3;});this['items']['addMany'](_0x505c02,_0x3b349c);}['_deleteItem'](_0xbeb4b2,_0x12a2fb){do{this['items']['remove'](_0xbeb4b2);}while(--_0x12a2fb);}['_handleItemClick'](_0x310683){const _0x22e596=this['items']['getIndex'](_0x310683['source']);this['fire']('itemSelected',_0x22e596);}['_scrollToItem'](_0x8b02f3){_0x10aecd(this['items']['get'](_0x8b02f3)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x4c7fd8{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x299984){super(_0x299984),this['view']=new _(_0x299984['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x16ae6d(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x1a49ae=this['editor'],_0x26f267=_0x1a49ae['plugins']['get']('DocumentOutlineUtils');let _0x33d84f=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x1a49ae['config']['get']('documentOutline.container'))throw new _0x406bd9('document-outline-container-not-provided',{'editor':_0x1a49ae});_0x1a49ae['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x26f267['on']('change',this['_handleOutlineChange']['bind'](this)),_0x26f267['on']('activeItemIndex',(_0x10db93,{index:_0x4d60c0})=>this['_setActiveViewItem'](_0x4d60c0)),this['view']['on']('itemSelected',(_0x4e8b91,_0xec4f90)=>{_0x33d84f=!0x0,this['_handleItemSelected'](_0xec4f90);}),this['view']['listenTo'](_0x14b08a['document'],'scroll',()=>{_0x33d84f?_0x33d84f=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x14b08a['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x4a6c73){const _0x593e6c='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x3c8236=0x78e70,_0x198004=window['Date']['now'](),_0x317768=_0x4a6c73['editor'],_0x3b7899=new window['Promise'](_0x3a2ede=>{_0x317768['once']('ready',_0x3a2ede);}),_0x22f68b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1bfe27=_0x317768['config']['get']('licenseKey');async function _0x3cdf62(){let _0x3c8a4a,_0x235e25=null,_0x2f1e00=null;try{return'GPL'==_0x1bfe27?'NotAllowed':(_0x3c8a4a=_0x2204c1(),_0x3c8a4a?(_0x3c8a4a['usageEndpoint']&&(_0x2f1e00=_0x21fea7(_0x3c8a4a['usageEndpoint'],_0x3c8a4a['jti'])),await _0x4741f6()?_0x25593e()?_0x5291f3()?'Expired':_0x8dd245()?('evaluation'==_0x3c8a4a['licenseType']&&(_0x235e25=_0xead213('EvaluationLimit')),await _0x3750eb()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5291f3(){const _0x1bedae=['evaluation','trial']['includes'](_0x3c8a4a['licenseType'])?_0x198004/0x3e8:0xe10*_0x3c8236;return _0x3c8a4a['exp']<_0x1bedae;}function _0x25593e(){const _0x2044b6=_0x3c8a4a['features'];return!!_0x2044b6&&(!!_0x2044b6['includes']('*')||(!!_0x2044b6['includes']('DO')||(!!_0x2044b6['includes']('PP')||!(!_0x2044b6['includes']('TRILIUM')||!_0x1c660e()))));}function _0x8dd245(){const _0x5e184f=_0x3c8a4a['licensedHosts'];if(!_0x5e184f||0x0==_0x5e184f['length'])return!0x0;const {hostname:_0x1c4d3a}=new URL(window['location']['href']);if(_0x5e184f['includes'](_0x1c4d3a))return!0x0;const _0x39a0eb=_0x1c4d3a['split']('.');return _0x5e184f['filter'](_0x31078d=>_0x31078d['includes']('*'))['map'](_0x3542ac=>_0x3542ac['split']('.'))['filter'](_0x2bfa7d=>_0x2bfa7d['length']<=_0x39a0eb['length'])['map'](_0x120057=>Array(_0x39a0eb['length']-_0x120057['length'])['fill']('*'===_0x120057[0x0]?'*':'')['concat'](_0x120057))['some'](_0x3916e0=>_0x39a0eb['every']((_0x566c34,_0x23db84)=>_0x3916e0[_0x23db84]===_0x566c34||'*'===_0x3916e0[_0x23db84]));}function _0x3750eb(){return _0x235e25&&_0x2f1e00?new window['Promise']((_0x13aeac,_0x232567)=>{_0x235e25['then'](_0x13aeac,_0x232567),_0x2f1e00['then'](_0x4303a6=>{'Valid'!=_0x4303a6&&_0x13aeac(_0x4303a6);},_0x232567);}):_0x235e25||_0x2f1e00||'Valid';}}function _0x21fea7(_0x22ccc8,_0x47e4d9){return new window['Promise'](_0x2f9884=>{if(_0x3e4c45())return _0x2f9884('Valid');_0x47a270(),_0x317768['decorate']('_sendUsageRequest');let _0x464be9=!0x1;const _0x225fad=_0x421ad2();function _0x26349e(_0xef211d){return!!_0xef211d&&('object'==typeof _0xef211d||'function'==typeof _0xef211d)&&'function'==typeof _0xef211d['then']&&'function'==typeof _0xef211d['catch'];}function _0x541ca3(_0x29f052){_0x7dad94(_0x29f052)['then'](_0x98f90e=>_0x98f90e&&'ok'==_0x98f90e['status']?_0x589cdd(_0x3e3bbc(_0x225fad+_0x47e4d9))!=_0x98f90e['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xd02edb=>(_0x235739(),_0xd02edb),()=>{const _0x2b3f17=_0x4dfa01();return null==_0x2b3f17?(_0x235739(),'Valid'):_0x198004-_0x2b3f17>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2f9884)['catch'](()=>{_0x2f9884('UsageLimit');});const _0x3d0c4c=0x36ee80;function _0x235739(){const _0x3ccc9a='llct-'+_0x589cdd(_0x3e3bbc(_0x22ccc8)),_0x313f77=_0x2b4cc4(_0x589cdd(window['Math']['ceil'](_0x198004/_0x3d0c4c)));window['localStorage']['setItem'](_0x3ccc9a,_0x313f77);}function _0x4dfa01(){const _0x1b4cea='llct-'+_0x589cdd(_0x3e3bbc(_0x22ccc8)),_0x30c4be=window['localStorage']['getItem'](_0x1b4cea);return _0x30c4be?window['parseInt'](_0x2b4cc4(_0x30c4be),0x10)*_0x3d0c4c:null;}function _0x7dad94(_0x4418ae){return new window['Promise']((_0x92763e,_0x13068a)=>{_0x4418ae['then'](_0x92763e,_0x13068a),window['setTimeout'](_0x13068a,0x1d4c0);});}}_0x317768['on']('_sendUsageRequest',(_0x26dac8,_0x3a0333)=>{if(_0x3a0333[0x0]!=_0x22ccc8)return _0x2f9884('UsageLimit');_0x3a0333[0x1]={..._0x3a0333[0x1],'requestId':_0x225fad};},{'priority':'high'}),_0x317768['on']('_sendUsageRequest',_0x180f1d=>{_0x26349e(_0x180f1d['return'])&&(_0x464be9=!0x0,_0x541ca3(_0x180f1d['return']));},{'priority':'low'}),_0x3b7899['then'](()=>{_0x464be9||_0x2f9884('UsageLimit');});});function _0x3e4c45(){return'auto'==_0x317768['editing']['view']['_overlayModeHint'];}function _0x47a270(){_0x317768['editing']['view']['_overlayModeHint']='auto';}}function _0xead213(_0x1f711f){const _0x28a1fd=[new window['Promise'](_0x39c07d=>setTimeout(_0x39c07d,0x93ecc)),_0x3b7899['then'](()=>new window['Promise'](_0x564977=>{let _0x151fbb=0x0;_0x317768['model']['on']('applyOperation',(_0x2ec210,_0x2bae64)=>{_0x2bae64[0x0]['isDocumentOperation']&&_0x151fbb++,0x5e8==_0x151fbb&&(_0x564977(),_0x2ec210['off']());});}))];return window['Promise']['race'](_0x28a1fd)['then'](()=>_0x1f711f);}async function _0x3dce31(){await _0x3b7899,_0x317768['model']['change']=_0x3b4151,_0x317768['model']['enqueueChange']=_0x3b4151,_0x317768['enableReadOnlyMode']('model');}function _0x1c660e(){return window['glob']&&window['glob']['triliumVersion'];}function _0x57f702(_0x38d248){const _0x186700=_0x3b182f();_0x317768[_0x186700]='documentOutlineLicenseKey'+_0x38d248,'Valid'!=_0x38d248&&_0x3dce31();}function _0x3b182f(){const _0x3d3441=window['String'](window['performance']['now']())['replace']('.','');let _0x3fb9d4='a';for(let _0x547d1d=0x0;_0x547d1d<_0x3d3441['length'];_0x547d1d+=0x2){let _0x1bd273=window['parseInt'](_0x3d3441['substring'](_0x547d1d,_0x547d1d+0x2));_0x1bd273>=0x3e&&(_0x1bd273-=0x3e),_0x3fb9d4+=_0x593e6c[_0x1bd273];}return _0x3fb9d4;}function _0x2204c1(){const _0x18df55=_0x1bfe27['split']('.');if(0x3!=_0x18df55['length'])return null;return _0x595579(_0x18df55[0x1]);function _0x595579(_0x3c78cb){const _0x25f9d0=_0x2655b3(_0x3c78cb);return _0x25f9d0&&_0x1e9214()?_0x25f9d0:null;function _0x1e9214(){const _0x4c3485=_0x25f9d0['jti'],_0x5c7f35=window['parseInt'](_0x4c3485['substring'](_0x4c3485['length']-0x8),0x10),_0x1784db={..._0x25f9d0,'jti':_0x4c3485['substring'](0x0,_0x4c3485['length']-0x8)};return delete _0x1784db['vc'],_0x3e3bbc(_0x1784db)==_0x5c7f35;}}}async function _0x4741f6(){let _0x27e561=!0x0;try{const [_0x5d7e95,_0xe7c969,_0x39ca04]=_0x1bfe27['split']('.');return _0x53f0cc(_0x5d7e95),await _0x347c11(_0x5d7e95,_0xe7c969,_0x39ca04),_0x27e561;}catch{return!0x1;}function _0x53f0cc(_0x8c3b57){const _0x5cb2b2=_0x2655b3(_0x8c3b57);_0x5cb2b2&&'ES256'==_0x5cb2b2['alg']||(_0x27e561=!0x1);}async function _0x347c11(_0x3af148,_0x198974,_0x2064cb){const _0x1e2c98=window['Uint8Array']['from'](_0x581581(_0x2064cb),_0x36b342=>_0x36b342['charCodeAt'](0x0)),_0x19a8cb=new window['TextEncoder']()['encode'](_0x3af148+'.'+_0x198974),_0x47d547=window['crypto']['subtle'];if(!_0x47d547)return;const _0x3c37ea=await _0x47d547['importKey']('jwk',_0x22f68b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x47d547['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3c37ea,_0x1e2c98,_0x19a8cb)||(_0x27e561=!0x1);}}function _0x2655b3(_0x4e1c06){return _0x4e1c06['startsWith']('ey')?JSON['parse'](_0x581581(_0x4e1c06)):null;}function _0x581581(_0x3e6f6d){return window['atob'](_0x3e6f6d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x3e3bbc(_0x19b72d){let _0x5c3369=0x1505;function _0xb90ebe(_0x39ad44){for(let _0x3ed89f=0x0;_0x3ed89f<_0x39ad44['length'];_0x3ed89f++){const _0x47f7af=_0x39ad44['charCodeAt'](_0x3ed89f);_0x5c3369=(_0x5c3369<<0x5)+_0x5c3369+_0x47f7af,_0x5c3369&=_0x5c3369;}}function _0x4fd35f(_0x3ef25e){Array['isArray'](_0x3ef25e)?_0x3ef25e['forEach'](_0x4fd35f):_0x3ef25e&&'object'==typeof _0x3ef25e?Object['entries'](_0x3ef25e)['sort']()['forEach'](([_0x459e70,_0x96f10a])=>{_0xb90ebe(_0x459e70),_0x4fd35f(_0x96f10a);}):_0xb90ebe(window['String'](_0x3ef25e));}return _0x4fd35f(_0x19b72d),_0x5c3369>>>0x0;}function _0x589cdd(_0x3bc8a5){return _0x3bc8a5['toString'](0x10)['padStart'](0x8,'0');}function _0x2b4cc4(_0x3177b3){return _0x3177b3['split']('')['reverse']()['join']('');}function _0x3b4151(){}_0x57f702(await _0x3cdf62());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x2e83f9,{outlineDefinitions:_0x335872,outlineChanges:_0x14bfdb}){this['_currentOutlineDefinitions']=_0x335872,this['view']['sync'](_0x14bfdb);}['_setActiveViewItem'](_0x1548c7){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1548c7]&&(this['view']['activeItemIndex']=_0x1548c7);}['_handleItemSelected'](_0x346565){const _0x33eec9=this['_currentOutlineDefinitions'][_0x346565]['modelElement'];this['editor']['model']['change'](_0x364da4=>{_0x364da4['setSelection'](_0x33eec9,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x346565);}['_updateActiveDefinitionOnViewportChange'](){const _0x4bbccc=this['editor'];let _0x2e2794;for(const _0x2238a3 of _0x4bbccc['model']['document']['getRootNames']()){const _0x254137=_0x4bbccc['editing']['view']['getDomRoot'](_0x2238a3),_0x49bf4c=_0x254137&&new _0x36e72a(_0x254137)['getVisible']();if(_0x49bf4c){const _0x15b7f5=new _0x36e72a(_0x14b08a['window'])['getIntersection'](_0x49bf4c);_0x15b7f5&&(_0x2e2794=_0x15b7f5['top']+0.25*_0x15b7f5['height']);}}if(void 0x0===_0x2e2794)return;const _0x5c14d8=k(_0x4bbccc['editing'],this['_currentOutlineDefinitions'],_0x2e2794);_0x5c14d8?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5c14d8)):this['_setActiveViewItem'](-0x1);}};function k(_0x33a7b9,_0x1106df,_0x378f6d,_0x38165c=0x0,_0x366239=_0x1106df['length']-0x1){const _0x36b705=Math['floor'](_0x38165c+(_0x366239-_0x38165c)/0x2);if(_0x366239>=_0x38165c){const _0x2bb3b0=_0x1106df[_0x36b705],_0x182328=_0x33a7b9['mapper']['toViewElement'](_0x2bb3b0['modelElement']);return _0x182328?new _0x36e72a(_0x33a7b9['view']['domConverter']['mapViewToDom'](_0x182328))['bottom']>_0x378f6d?k(_0x33a7b9,_0x1106df,_0x378f6d,_0x38165c,_0x36b705-0x1):k(_0x33a7b9,_0x1106df,_0x378f6d,_0x36b705+0x1,_0x366239):null;}return _0x36b705<0x0?null:_0x1106df[_0x36b705];}var E=class extends _0x4c7fd8{['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 _0x47a998=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28f2e8;for(const _0x5e292f in _0x47a998){const _0x4cd8db=_0x5e292f,_0x236e27=_0x47a998[_0x4cd8db];if('documentOutlineLicenseKeyValid'==_0x236e27||'documentOutlineLicenseKeyInvalid'==_0x236e27||'documentOutlineLicenseKeyExpired'==_0x236e27||'documentOutlineLicenseKeyDomainLimit'==_0x236e27||'documentOutlineLicenseKeyNotAllowed'==_0x236e27||'documentOutlineLicenseKeyEvaluationLimit'==_0x236e27||'documentOutlineLicenseKeyUsageLimit'==_0x236e27){delete _0x47a998[_0x4cd8db],_0x28f2e8=_0x236e27,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x28f2e8&&_0x47a998['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x28f2e8&&_0x47a998['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x28f2e8&&_0x47a998['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x28f2e8&&_0x47a998['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x28f2e8&&_0x47a998['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x28f2e8&&_0x47a998['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x22d6ff{['execute'](){this['editor']['model']['change'](_0x3c477c=>{this['editor']['model']['insertObject'](_0x3c477c['createElement']('tableOfContents'));});}['refresh'](){const _0x4ac1cd=this['editor']['model'],_0xe0c76=_0x4ac1cd['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0xe0c76&&_0x4ac1cd['schema']['findAllowedParent'](_0xe0c76,'tableOfContents'));}},A=class extends _0x4c7fd8{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x7e8c59=this['editor'];if(_0x7e8c59['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x7a55e0,modelNames:_0x2f7425}=function(_0x46ef09){const _0x506efa=new Set(),_0x36dba4=new Set();if(!_0x46ef09)return{'viewNames':_0x506efa,'modelNames':_0x36dba4};for(const _0x54c191 of _0x46ef09){if('paragraph'===_0x54c191['model'])continue;const _0x49fbc0='string'==typeof _0x54c191['view']?_0x54c191['view']:_0x54c191['view']['name'];_0x506efa['add'](_0x49fbc0),_0x36dba4['add'](_0x54c191['model']);}return _0x506efa['has']('h1')||(_0x506efa['add']('h1'),_0x36dba4['add']('heading1')),{'viewNames':_0x506efa,'modelNames':_0x36dba4};}(this['editor']['config']['get']('heading.options'));for(const _0x6ff88c of _0x7a55e0)this['_customUpcastHeadingsConversion'](_0x6ff88c);for(const _0x26c7fa of _0x2f7425)this['_customDataDowncastHeadingsConversion'](_0x26c7fa),_0x7e8c59['model']['schema']['isRegistered'](_0x26c7fa)&&_0x7e8c59['model']['schema']['extend'](_0x26c7fa,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x2f7425);}['_customUpcastHeadingsConversion'](_0x599611){this['editor']['conversion']['for']('upcast')['add'](_0x4052bf=>_0x4052bf['on']('element:'+_0x599611,(_0x2a59c4,_0x496952,_0x2dbbee)=>{const {consumable:_0x230b57,writer:_0x4a1232}=_0x2dbbee,_0x7b833b=_0x496952['viewItem']['getAttribute']('id'),_0x3c1231=_0x496952['modelRange']?.['getContainedElement']();if(_0x3c1231)return _0x7b833b&&_0x7b833b['length']||_0x3c1231['hasAttribute']('headingId')?void(_0x230b57['consume'](_0x496952['viewItem'],{'attributes':['id']})&&_0x4a1232['setAttribute']('headingId',_0x7b833b,_0x3c1231)):(_0x230b57['consume'](_0x496952['viewItem'],{'attributes':['id']}),void _0x4a1232['setAttribute']('headingId',_0x421ad2(),_0x3c1231));},{'priority':_0x1a9476['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x466d6a){this['editor']['conversion']['for']('downcast')['add'](_0x2cbefb=>_0x2cbefb['on']('attribute:headingId:'+_0x466d6a,(_0x3d0392,_0x21940d,_0x5908dc)=>{if(!_0x5908dc['consumable']['consume'](_0x21940d['item'],_0x3d0392['name']))return;const _0x2c9876=_0x21940d['item']['getAttribute']('headingId'),_0x5d3113=_0x5908dc['mapper']['toViewElement'](_0x21940d['item']);_0x5908dc['writer']['setAttribute']('id',_0x2c9876,_0x5d3113);}));}['_registerHeadingIdAttributePostfixer'](_0x1c3d0e){const _0x206786=this['editor'],_0x5bbcf0=new Set(),_0x56f27d=new Set();function _0x34b899(_0x4208fa,_0x4d44c8){const _0x184ac0=_0x421ad2();return _0x56f27d['add'](_0x184ac0),_0x4208fa['setAttribute']('headingId',_0x184ac0,_0x4d44c8),_0x184ac0;}function _0x2aef3d(_0x4f50e3,_0x3c6f72){_0x4f50e3['removeAttribute']('headingId',_0x3c6f72);}_0x206786['model']['document']['registerPostFixer'](_0x5d464e=>{const _0x448451=_0x206786['model']['document']['differ']['getChanges']();let _0x2512be=!0x1;for(const _0x5e1989 of _0x448451)if('insert'==_0x5e1989['type']&&_0x5e1989['name']){if(_0x1c3d0e['has'](_0x5e1989['name'])){const _0x3a4188=_0x5e1989['attributes']['get']('headingId');'string'==typeof _0x3a4188?_0x5bbcf0['has'](_0x3a4188)?(_0x34b899(_0x5d464e,_0x5e1989['position']['nodeAfter']),_0x2512be=!0x0):_0x56f27d['add'](_0x3a4188):(_0x34b899(_0x5d464e,_0x5e1989['position']['nodeAfter']),_0x2512be=!0x0);}else'string'==typeof _0x5e1989['attributes']['get']('headingId')&&(_0x2aef3d(_0x5d464e,_0x5e1989['position']['nodeAfter']),_0x2512be=!0x0);}else{if('remove'==_0x5e1989['type']){const _0x1f11aa=_0x5e1989['attributes']['get']('headingId');'string'==typeof _0x1f11aa&&_0x5bbcf0['delete'](_0x1f11aa);}}return _0x2512be;}),_0x206786['model']['document']['on']('change',()=>{_0x56f27d['forEach'](_0x44be42=>_0x5bbcf0['add'](_0x44be42)),_0x56f27d['clear']();});}},N=class extends _0x4c7fd8{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2258d2,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x42b186){super(_0x42b186),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x524795=this['editor'],_0x59a91d=_0x524795['editing']['view']['document'];_0x524795['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x524795['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x59a91d,'click',(_0x44b5cd,_0x191f7d)=>{if(!_0x191f7d['target'])return;const _0x5d8d7d=_0x191f7d['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5d8d7d)&&(_0x191f7d['domEvent']['preventDefault'](),_0x44b5cd['stop'](),this['_handleScrollToHeading'](_0x5d8d7d));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x524795['commands']['add']('insertTableOfContents',new K(_0x524795));const _0x4b673c=_0x524795['config']['get']('tableOfContents.headings');_0x4b673c&&_0x4b673c['length']?this['listenTo'](_0x524795['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x4b673c),this['_updateTableOfContentsElements']();}):_0x524795['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x2cf397,_0xe2f730)=>{this['_currentOutlineDefinitions']=_0xe2f730['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x524795['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x9daa3c){const _0x1d9db7='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x7b3734=0x78e70,_0x2e7d60=window['Date']['now'](),_0x519abd=_0x9daa3c['editor'],_0x21d34a=new window['Promise'](_0x5b8fc4=>{_0x519abd['once']('ready',_0x5b8fc4);}),_0x1f5c51={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x432a19=_0x519abd['config']['get']('licenseKey');async function _0x22ada6(){let _0x39235d,_0x15ccbe=null,_0x12b046=null;try{return'GPL'==_0x432a19?'NotAllowed':(_0x39235d=_0x31f868(),_0x39235d?(_0x39235d['usageEndpoint']&&(_0x12b046=_0x5b31d9(_0x39235d['usageEndpoint'],_0x39235d['jti'])),await _0xdde018()?_0x3f5e9e()?_0x30a077()?'Expired':_0x159198()?('evaluation'==_0x39235d['licenseType']&&(_0x15ccbe=_0x37dc3f('EvaluationLimit')),await _0x220cb0()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x30a077(){const _0x31aa2e=['evaluation','trial']['includes'](_0x39235d['licenseType'])?_0x2e7d60/0x3e8:0xe10*_0x7b3734;return _0x39235d['exp']<_0x31aa2e;}function _0x3f5e9e(){const _0x22fdde=_0x39235d['features'];return!!_0x22fdde&&(!!_0x22fdde['includes']('*')||(!!_0x22fdde['includes']('TOC')||(!!_0x22fdde['includes']('PP')||!(!_0x22fdde['includes']('TRILIUM')||!_0x29c5bf()))));}function _0x159198(){const _0x5fbca7=_0x39235d['licensedHosts'];if(!_0x5fbca7||0x0==_0x5fbca7['length'])return!0x0;const {hostname:_0x47dc29}=new URL(window['location']['href']);if(_0x5fbca7['includes'](_0x47dc29))return!0x0;const _0x5e9c00=_0x47dc29['split']('.');return _0x5fbca7['filter'](_0x3b16cf=>_0x3b16cf['includes']('*'))['map'](_0x55722=>_0x55722['split']('.'))['filter'](_0x27a587=>_0x27a587['length']<=_0x5e9c00['length'])['map'](_0x4c05be=>Array(_0x5e9c00['length']-_0x4c05be['length'])['fill']('*'===_0x4c05be[0x0]?'*':'')['concat'](_0x4c05be))['some'](_0x5eea49=>_0x5e9c00['every']((_0xae7b30,_0x11238f)=>_0x5eea49[_0x11238f]===_0xae7b30||'*'===_0x5eea49[_0x11238f]));}function _0x220cb0(){return _0x15ccbe&&_0x12b046?new window['Promise']((_0x1f3a34,_0x5d470d)=>{_0x15ccbe['then'](_0x1f3a34,_0x5d470d),_0x12b046['then'](_0x280daa=>{'Valid'!=_0x280daa&&_0x1f3a34(_0x280daa);},_0x5d470d);}):_0x15ccbe||_0x12b046||'Valid';}}function _0x5b31d9(_0x53d62f,_0x55cda6){return new window['Promise'](_0x182515=>{if(_0x53a7be())return _0x182515('Valid');_0x1a79eb(),_0x519abd['decorate']('_sendUsageRequest');let _0x5273e6=!0x1;const _0x24bd7e=_0x421ad2();function _0x2ac29f(_0x5527bf){return!!_0x5527bf&&('object'==typeof _0x5527bf||'function'==typeof _0x5527bf)&&'function'==typeof _0x5527bf['then']&&'function'==typeof _0x5527bf['catch'];}function _0x1a7307(_0x29267a){_0x59fb2c(_0x29267a)['then'](_0x57ca39=>_0x57ca39&&'ok'==_0x57ca39['status']?_0x950884(_0xba0e3e(_0x24bd7e+_0x55cda6))!=_0x57ca39['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3bc78a=>(_0x4906de(),_0x3bc78a),()=>{const _0x43d9b1=_0x815668();return null==_0x43d9b1?(_0x4906de(),'Valid'):_0x2e7d60-_0x43d9b1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x182515)['catch'](()=>{_0x182515('UsageLimit');});const _0x20fb75=0x36ee80;function _0x4906de(){const _0x150e17='llct-'+_0x950884(_0xba0e3e(_0x53d62f)),_0x1b666c=_0x136159(_0x950884(window['Math']['ceil'](_0x2e7d60/_0x20fb75)));window['localStorage']['setItem'](_0x150e17,_0x1b666c);}function _0x815668(){const _0x42b655='llct-'+_0x950884(_0xba0e3e(_0x53d62f)),_0x4bdc86=window['localStorage']['getItem'](_0x42b655);return _0x4bdc86?window['parseInt'](_0x136159(_0x4bdc86),0x10)*_0x20fb75:null;}function _0x59fb2c(_0x860d52){return new window['Promise']((_0x547cac,_0x53cf9c)=>{_0x860d52['then'](_0x547cac,_0x53cf9c),window['setTimeout'](_0x53cf9c,0x1d4c0);});}}_0x519abd['on']('_sendUsageRequest',(_0x3c0cdd,_0x37efdb)=>{if(_0x37efdb[0x0]!=_0x53d62f)return _0x182515('UsageLimit');_0x37efdb[0x1]={..._0x37efdb[0x1],'requestId':_0x24bd7e};},{'priority':'high'}),_0x519abd['on']('_sendUsageRequest',_0x22bfdd=>{_0x2ac29f(_0x22bfdd['return'])&&(_0x5273e6=!0x0,_0x1a7307(_0x22bfdd['return']));},{'priority':'low'}),_0x21d34a['then'](()=>{_0x5273e6||_0x182515('UsageLimit');});});function _0x53a7be(){return'auto'==_0x519abd['editing']['view']['_overlayModeHint'];}function _0x1a79eb(){_0x519abd['editing']['view']['_overlayModeHint']='auto';}}function _0x37dc3f(_0x4ce54a){const _0x47d85f=[new window['Promise'](_0x843e4a=>setTimeout(_0x843e4a,0x93ecc)),_0x21d34a['then'](()=>new window['Promise'](_0x49832d=>{let _0x100814=0x0;_0x519abd['model']['on']('applyOperation',(_0xc6d6db,_0x323e89)=>{_0x323e89[0x0]['isDocumentOperation']&&_0x100814++,0x5e8==_0x100814&&(_0x49832d(),_0xc6d6db['off']());});}))];return window['Promise']['race'](_0x47d85f)['then'](()=>_0x4ce54a);}async function _0x35c71e(){await _0x21d34a,_0x519abd['model']['change']=_0x439409,_0x519abd['model']['enqueueChange']=_0x439409,_0x519abd['enableReadOnlyMode']('model');}function _0x29c5bf(){return window['glob']&&window['glob']['triliumVersion'];}function _0x12a9d9(_0x1904bc){const _0x42ec67=_0xbeaadf();_0x519abd[_0x42ec67]='tableOfContentsLicenseKey'+_0x1904bc,'Valid'!=_0x1904bc&&_0x35c71e();}function _0xbeaadf(){const _0x1f1168=window['String'](window['performance']['now']())['replace']('.','');let _0x587dfb='m';for(let _0x1e22b2=0x0;_0x1e22b2<_0x1f1168['length'];_0x1e22b2+=0x2){let _0x1d2160=window['parseInt'](_0x1f1168['substring'](_0x1e22b2,_0x1e22b2+0x2));_0x1d2160>=0x3e&&(_0x1d2160-=0x3e),_0x587dfb+=_0x1d9db7[_0x1d2160];}return _0x587dfb;}function _0x31f868(){const _0x5aeef9=_0x432a19['split']('.');if(0x3!=_0x5aeef9['length'])return null;return _0x1d0d8d(_0x5aeef9[0x1]);function _0x1d0d8d(_0x1c263c){const _0x232a7d=_0x152b88(_0x1c263c);return _0x232a7d&&_0x3e39cf()?_0x232a7d:null;function _0x3e39cf(){const _0x5a90fe=_0x232a7d['jti'],_0x3d91f2=window['parseInt'](_0x5a90fe['substring'](_0x5a90fe['length']-0x8),0x10),_0x36eb72={..._0x232a7d,'jti':_0x5a90fe['substring'](0x0,_0x5a90fe['length']-0x8)};return delete _0x36eb72['vc'],_0xba0e3e(_0x36eb72)==_0x3d91f2;}}}async function _0xdde018(){let _0x163303=!0x0;try{const [_0x391285,_0x2e1154,_0x14eb1e]=_0x432a19['split']('.');return _0x38fca8(_0x391285),await _0x4706bd(_0x391285,_0x2e1154,_0x14eb1e),_0x163303;}catch{return!0x1;}function _0x38fca8(_0x5197ba){const _0x2853a9=_0x152b88(_0x5197ba);_0x2853a9&&'ES256'==_0x2853a9['alg']||(_0x163303=!0x1);}async function _0x4706bd(_0x1c055f,_0x22c155,_0x23ce4d){const _0xa66d9c=window['Uint8Array']['from'](_0x2af7b9(_0x23ce4d),_0xf2bf2a=>_0xf2bf2a['charCodeAt'](0x0)),_0x4c059a=new window['TextEncoder']()['encode'](_0x1c055f+'.'+_0x22c155),_0x367cb7=window['crypto']['subtle'];if(!_0x367cb7)return;const _0x25290d=await _0x367cb7['importKey']('jwk',_0x1f5c51,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x367cb7['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x25290d,_0xa66d9c,_0x4c059a)||(_0x163303=!0x1);}}function _0x152b88(_0xa8e0ee){return _0xa8e0ee['startsWith']('ey')?JSON['parse'](_0x2af7b9(_0xa8e0ee)):null;}function _0x2af7b9(_0x63768){return window['atob'](_0x63768['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xba0e3e(_0xd970dd){let _0x4dc7e0=0x1505;function _0x40f1c3(_0x255678){for(let _0x4684b6=0x0;_0x4684b6<_0x255678['length'];_0x4684b6++){const _0x476784=_0x255678['charCodeAt'](_0x4684b6);_0x4dc7e0=(_0x4dc7e0<<0x5)+_0x4dc7e0+_0x476784,_0x4dc7e0&=_0x4dc7e0;}}function _0x2bb7d5(_0x8fc9a6){Array['isArray'](_0x8fc9a6)?_0x8fc9a6['forEach'](_0x2bb7d5):_0x8fc9a6&&'object'==typeof _0x8fc9a6?Object['entries'](_0x8fc9a6)['sort']()['forEach'](([_0xa76035,_0x5712fe])=>{_0x40f1c3(_0xa76035),_0x2bb7d5(_0x5712fe);}):_0x40f1c3(window['String'](_0x8fc9a6));}return _0x2bb7d5(_0xd970dd),_0x4dc7e0>>>0x0;}function _0x950884(_0x371c02){return _0x371c02['toString'](0x10)['padStart'](0x8,'0');}function _0x136159(_0x4d961b){return _0x4d961b['split']('')['reverse']()['join']('');}function _0x439409(){}_0x12a9d9(await _0x22ada6());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xc02b59=>{'$graveyard'!==_0xc02b59['rootName']&&this['editor']['editing']['reconvertItem'](_0xc02b59);});}['_trackNewToCElements'](){for(const _0x8a4e03 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x8a4e03['type']||'tableOfContents'!==_0x8a4e03['name'])return;this['_tableOfContentsElements']['add'](_0x8a4e03['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x2b6991){const _0x5d86af=this['editor'],_0x4d8c13=[];for(const _0x35fab2 of _0x5d86af['model']['document']['getRootNames']())_0x597684(_0x5d86af['model']['document']['getRoot'](_0x35fab2));function _0x597684(_0x8237f5){for(const _0x3b7cc4 of _0x8237f5['getChildren']())_0x3b7cc4['is']('element')&&(_0x2b6991['includes'](_0x3b7cc4['name'])&&_0x4d8c13['push']({'level':_0x2b6991['indexOf'](_0x3b7cc4['name'])+0x1,'text':b(_0x3b7cc4),'modelElement':_0x3b7cc4}),_0x597684(_0x3b7cc4));}return _0x4d8c13;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x328637=this['editor']['conversion'];_0x328637['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x328637['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x1d1a0e,{writer:_0x27d4b5})=>this['_createTableOfContents'](_0x27d4b5,!0x0)}),_0x328637['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x18c6bc,{writer:_0x2f065b})=>(this['_tableOfContentsElements']['add'](_0x18c6bc),_0x5398c7(this['_createTableOfContents'](_0x2f065b),_0x2f065b,{'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'](_0x2e027d,_0x11b384=!0x1){const {locale:_0xe5ccb2}=this['editor'],_0x241408=_0x2e027d['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x11b384&&{'data-table-of-contents-label':L(_0xe5ccb2,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x11b384&&_0x2e027d['insert'](_0x2e027d['createPositionAt'](_0x241408,'end'),_0x2e027d['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2e027d['createText'](L(_0xe5ccb2,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x52a900=_0x11b384?'':'['+L(_0xe5ccb2,'Empty\x20heading')+']';let _0x331044=_0x241408;return this['_currentOutlineDefinitions']['forEach']((_0x403f3a,_0x23ae4e,_0x3927e0)=>{const _0x29ddef=this['editor']['model']['hasContent'](_0x403f3a['modelElement'],{'ignoreWhitespaces':!0x0}),_0x1cb283=_0x29ddef?_0x403f3a['text']:_0x52a900,_0x1da8c3=_0x403f3a['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x60339c=_0x2e027d['createContainerElement']('a',{'href':'#'+_0x1da8c3,...!_0x11b384&&{'tabindex':'-1'}},[_0x2e027d['createText'](_0x1cb283)]),_0x442865=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2e027d['setCustomProperty']('tableOfContentsHeadingIndex',_0x23ae4e,_0x60339c);const _0xc68f11=_0x2e027d['createContainerElement']('li',null,[_0x29ddef||!_0x11b384&&_0x442865?_0x60339c:_0x2e027d['createText']('')]),_0x2d18c8=_0x23ae4e?_0x3927e0[_0x23ae4e-0x1]['level']:0x0,_0x19297b=Math['abs'](_0x403f3a['level']-_0x2d18c8);if(_0x403f3a['level']>_0x2d18c8){const _0xa1b02a=P(_0xc68f11,_0x19297b,_0x2e027d);_0x2e027d['insert'](_0x2e027d['createPositionAt'](_0x331044,'end'),_0xa1b02a);}else{const _0x3d6bd9=function(_0x5ee997,_0x17fcc2){return _0x5ee997['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x453d5c=>_0x453d5c['is']('element','ol'))[_0x17fcc2];}(_0x331044,_0x19297b);_0x2e027d['insert'](_0x2e027d['createPositionAt'](_0x3d6bd9,'end'),_0xc68f11);}_0x331044=_0xc68f11;}),_0x241408;}['_handleScrollToHeading'](_0x1834e8){const _0x178319=this['_currentOutlineDefinitions'][_0x1834e8]['modelElement'];this['editor']['model']['change'](_0x198914=>{_0x198914['setSelection'](_0x178319,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x48c8db,_0x57e2c5)=>{const _0x2f680d=_0x57e2c5['mapper'],_0x47a61e=_0x2f680d['findMappedViewAncestor'](_0x57e2c5['viewPosition']),_0x182227=_0x2f680d['toModelElement'](_0x47a61e);_0x182227['is']('element','tableOfContents')&&(_0x57e2c5['modelPosition']=this['editor']['model']['createPositionAt'](_0x182227,0x0),_0x48c8db['stop']());};}};function P(_0x2250ba,_0x4f80ad,_0x3a5906){return 0x1===_0x4f80ad?_0x3a5906['createContainerElement']('ol',null,[_0x2250ba]):_0x3a5906['createContainerElement']('ol',null,[_0x3a5906['createContainerElement']('li',null,[P(_0x2250ba,_0x4f80ad-0x1,_0x3a5906)])]);}var U=class extends _0x4c7fd8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x575a90=this['editor'];_0x575a90['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x42334d=this['_createButton'](_0xa975c7);return _0x42334d['tooltip']=!0x0,_0x42334d;}),_0x575a90['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x39c6c8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a5e49=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x473a0c;for(const _0x510ac1 in _0x3a5e49){const _0x514d8b=_0x510ac1,_0x2f259a=_0x3a5e49[_0x514d8b];if('tableOfContentsLicenseKeyValid'==_0x2f259a||'tableOfContentsLicenseKeyInvalid'==_0x2f259a||'tableOfContentsLicenseKeyExpired'==_0x2f259a||'tableOfContentsLicenseKeyDomainLimit'==_0x2f259a||'tableOfContentsLicenseKeyNotAllowed'==_0x2f259a||'tableOfContentsLicenseKeyEvaluationLimit'==_0x2f259a||'tableOfContentsLicenseKeyUsageLimit'==_0x2f259a){delete _0x3a5e49[_0x514d8b],_0x473a0c=_0x2f259a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x473a0c&&_0x3a5e49['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x473a0c&&_0x3a5e49['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x473a0c&&_0x3a5e49['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x473a0c&&_0x3a5e49['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x473a0c&&_0x3a5e49['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x473a0c&&_0x3a5e49['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x44b8ee){const _0x29da19=this['editor'],_0x187ca8=_0x29da19['locale'],_0x5da170=_0x29da19['commands']['get']('insertTableOfContents'),_0x2d0d31=new _0x44b8ee(_0x187ca8);return _0x2d0d31['set']({'label':L(_0x187ca8,'Table\x20of\x20contents'),'icon':_0x1c7762}),_0x2d0d31['bind']('isEnabled')['to'](_0x5da170,'isEnabled'),this['listenTo'](_0x2d0d31,'execute',()=>{_0x29da19['execute']('insertTableOfContents'),_0x29da19['editing']['view']['focus']();}),_0x2d0d31;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x4c7fd8{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':_0x51c6b7=>0x1!=_0x51c6b7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x13926f=>{const {af:{dictionary:_0x5939b8,getPluralForm:_0x1e8e6e}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x775610=>0x1!=_0x775610}};_0x13926f['af']||={'dictionary':{},'getPluralForm':null},_0x13926f['af']['dictionary']=Object['assign'](_0x13926f['af']['dictionary'],_0x5939b8),_0x13926f['af']['getPluralForm']=_0x1e8e6e;})(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':_0x239f91=>0x0==_0x239f91?0x0:0x1==_0x239f91?0x1:0x2==_0x239f91?0x2:_0x239f91%0x64>=0x3&&_0x239f91%0x64<=0xa?0x3:_0x239f91%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2253e1=>{const {ar:{dictionary:_0x148228,getPluralForm:_0x230b31}}={'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':_0x5a16bd=>0x0==_0x5a16bd?0x0:0x1==_0x5a16bd?0x1:0x2==_0x5a16bd?0x2:_0x5a16bd%0x64>=0x3&&_0x5a16bd%0x64<=0xa?0x3:_0x5a16bd%0x64>=0xb?0x4:0x5}};_0x2253e1['ar']||={'dictionary':{},'getPluralForm':null},_0x2253e1['ar']['dictionary']=Object['assign'](_0x2253e1['ar']['dictionary'],_0x148228),_0x2253e1['ar']['getPluralForm']=_0x230b31;})(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':_0x37d9a0=>0x1!=_0x37d9a0}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36fbae=>{const {ast:{dictionary:_0x5abbb0,getPluralForm:_0x2b35af}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x5c5cd6=>0x1!=_0x5c5cd6}};_0x36fbae['ast']||={'dictionary':{},'getPluralForm':null},_0x36fbae['ast']['dictionary']=Object['assign'](_0x36fbae['ast']['dictionary'],_0x5abbb0),_0x36fbae['ast']['getPluralForm']=_0x2b35af;})(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':_0x13ad77=>0x1!=_0x13ad77}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x34f994=>{const {az:{dictionary:_0x568917,getPluralForm:_0xb07f72}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x3c9f31=>0x1!=_0x3c9f31}};_0x34f994['az']||={'dictionary':{},'getPluralForm':null},_0x34f994['az']['dictionary']=Object['assign'](_0x34f994['az']['dictionary'],_0x568917),_0x34f994['az']['getPluralForm']=_0xb07f72;})(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':_0x52bdca=>_0x52bdca%0xa==0x1&&_0x52bdca%0x64!=0xb?0x0:_0x52bdca%0xa>=0x2&&_0x52bdca%0xa<=0x4&&(_0x52bdca%0x64<0xa||_0x52bdca%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x5584b7=>{const {be:{dictionary:_0x57b4d1,getPluralForm:_0x4fadfe}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x11dc95=>_0x11dc95%0xa==0x1&&_0x11dc95%0x64!=0xb?0x0:_0x11dc95%0xa>=0x2&&_0x11dc95%0xa<=0x4&&(_0x11dc95%0x64<0xa||_0x11dc95%0x64>=0x14)?0x1:0x2}};_0x5584b7['be']||={'dictionary':{},'getPluralForm':null},_0x5584b7['be']['dictionary']=Object['assign'](_0x5584b7['be']['dictionary'],_0x57b4d1),_0x5584b7['be']['getPluralForm']=_0x4fadfe;})(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':_0x433aa6=>0x1!=_0x433aa6}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe17261=>{const {bg:{dictionary:_0x594a34,getPluralForm:_0xade6c5}}={'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':_0xf62406=>0x1!=_0xf62406}};_0xe17261['bg']||={'dictionary':{},'getPluralForm':null},_0xe17261['bg']['dictionary']=Object['assign'](_0xe17261['bg']['dictionary'],_0x594a34),_0xe17261['bg']['getPluralForm']=_0xade6c5;})(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':_0x1ad86a=>0x1!=_0x1ad86a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x530730=>{const {bn:{dictionary:_0x4cea04,getPluralForm:_0x381ce3}}={'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':_0x2300c1=>0x1!=_0x2300c1}};_0x530730['bn']||={'dictionary':{},'getPluralForm':null},_0x530730['bn']['dictionary']=Object['assign'](_0x530730['bn']['dictionary'],_0x4cea04),_0x530730['bn']['getPluralForm']=_0x381ce3;})(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':_0x4efef6=>_0x4efef6%0xa==0x1&&_0x4efef6%0x64!=0xb?0x0:_0x4efef6%0xa>=0x2&&_0x4efef6%0xa<=0x4&&(_0x4efef6%0x64<0xa||_0x4efef6%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2bae23=>{const {bs:{dictionary:_0x5c6a37,getPluralForm:_0xa446ab}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x317e83=>_0x317e83%0xa==0x1&&_0x317e83%0x64!=0xb?0x0:_0x317e83%0xa>=0x2&&_0x317e83%0xa<=0x4&&(_0x317e83%0x64<0xa||_0x317e83%0x64>=0x14)?0x1:0x2}};_0x2bae23['bs']||={'dictionary':{},'getPluralForm':null},_0x2bae23['bs']['dictionary']=Object['assign'](_0x2bae23['bs']['dictionary'],_0x5c6a37),_0x2bae23['bs']['getPluralForm']=_0xa446ab;})(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':_0x3ece82=>0x1!=_0x3ece82}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4a45bb=>{const {ca:{dictionary:_0x3e3af4,getPluralForm:_0x40bdbc}}={'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':_0x26d07f=>0x1!=_0x26d07f}};_0x4a45bb['ca']||={'dictionary':{},'getPluralForm':null},_0x4a45bb['ca']['dictionary']=Object['assign'](_0x4a45bb['ca']['dictionary'],_0x3e3af4),_0x4a45bb['ca']['getPluralForm']=_0x40bdbc;})(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':_0x583f11=>0x1==_0x583f11?0x0:_0x583f11>=0x2&&_0x583f11<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x15ce0b=>{const {cs:{dictionary:_0x281bd8,getPluralForm:_0x2df3b1}}={'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':_0x4715fa=>0x1==_0x4715fa?0x0:_0x4715fa>=0x2&&_0x4715fa<=0x4?0x1:0x2}};_0x15ce0b['cs']||={'dictionary':{},'getPluralForm':null},_0x15ce0b['cs']['dictionary']=Object['assign'](_0x15ce0b['cs']['dictionary'],_0x281bd8),_0x15ce0b['cs']['getPluralForm']=_0x2df3b1;})(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':_0x27b11c=>0x1!=_0x27b11c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x17911e=>{const {da:{dictionary:_0x13ca22,getPluralForm:_0x5a55bd}}={'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':_0x424b5a=>0x1!=_0x424b5a}};_0x17911e['da']||={'dictionary':{},'getPluralForm':null},_0x17911e['da']['dictionary']=Object['assign'](_0x17911e['da']['dictionary'],_0x13ca22),_0x17911e['da']['getPluralForm']=_0x5a55bd;})(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':_0x1cd0b9=>0x1!=_0x1cd0b9}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3e5145=>{const {'de-ch':{dictionary:_0x34bfed,getPluralForm:_0x4c9ed0}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x14ed3f=>0x1!=_0x14ed3f}};_0x3e5145['de-ch']||={'dictionary':{},'getPluralForm':null},_0x3e5145['de-ch']['dictionary']=Object['assign'](_0x3e5145['de-ch']['dictionary'],_0x34bfed),_0x3e5145['de-ch']['getPluralForm']=_0x4c9ed0;})(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':_0xd952f7=>0x1!=_0xd952f7}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2220a2=>{const {de:{dictionary:_0xc1d3db,getPluralForm:_0x522b65}}={'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':_0x565d33=>0x1!=_0x565d33}};_0x2220a2['de']||={'dictionary':{},'getPluralForm':null},_0x2220a2['de']['dictionary']=Object['assign'](_0x2220a2['de']['dictionary'],_0xc1d3db),_0x2220a2['de']['getPluralForm']=_0x522b65;})(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':_0xace110=>0x1!=_0xace110}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x16110d=>{const {el:{dictionary:_0x341516,getPluralForm:_0x5219e0}}={'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':_0x27b663=>0x1!=_0x27b663}};_0x16110d['el']||={'dictionary':{},'getPluralForm':null},_0x16110d['el']['dictionary']=Object['assign'](_0x16110d['el']['dictionary'],_0x341516),_0x16110d['el']['getPluralForm']=_0x5219e0;})(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':_0x337596=>0x1!=_0x337596}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4df441=>{const {'en-au':{dictionary:_0x59f7f2,getPluralForm:_0x542a0e}}={'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':_0x1bcab5=>0x1!=_0x1bcab5}};_0x4df441['en-au']||={'dictionary':{},'getPluralForm':null},_0x4df441['en-au']['dictionary']=Object['assign'](_0x4df441['en-au']['dictionary'],_0x59f7f2),_0x4df441['en-au']['getPluralForm']=_0x542a0e;})(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':_0x1864c0=>0x1!=_0x1864c0}};
|