@ckeditor/ckeditor5-document-outline 48.3.1-alpha.1 → 48.3.1
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 _0x21d2b4,Plugin as _0x309816}from'@ckeditor/ckeditor5-core';import{debounce as _0x3fd844,throttle as _0x31870b}from'es-toolkit/compat';import{ModelText as _0x5c2a77,ModelTreeWalker as _0x906bc}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x534c5f,Rect as _0x1e7e75,diff as _0x3f916a,diffToChanges as _0x28e037,global as _0x408f95,priorities as _0x7886fc,scrollAncestorsToShowTarget as _0xd43f8d,uid as _0x305a27}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x48f9e7,MenuBarMenuListItemButtonView as _0x590bd7,View as _0x5dd4fd}from'@ckeditor/ckeditor5-ui';import{Widget as _0x2b3e31,toWidget as _0x31c6d7}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x3d000a}from'@ckeditor/ckeditor5-icons';function b(_0x2c71c9){let _0x11faeb='';for(const _0x44d4d8 of _0x2c71c9['getChildren']())_0x44d4d8 instanceof _0x5c2a77&&(_0x11faeb+=_0x44d4d8['data']);return _0x11faeb;}var I=class extends _0x309816{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x404e6f=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x481170=[];_0x404e6f['model']['document']['on']('change',_0x3fd844(()=>{const _0x116dbf=_0x481170;_0x481170=this['_getOutlineDefinitions']();const _0x2709c2=_0x28e037(_0x3f916a(_0x116dbf,_0x481170,(_0x3415cd,_0x31d730)=>_0x3415cd['level']===_0x31d730['level']&&_0x3415cd['text']===_0x31d730['text']&&_0x3415cd['modelElement']===_0x31d730['modelElement']),_0x481170),_0x565c45=this['_getActiveHeading'](),_0x4d6502=_0x481170['findIndex'](_0x3795b2=>_0x3795b2['modelElement']===_0x565c45);_0x2709c2['length']&&this['fire']('change',{'outlineDefinitions':_0x481170,'activeItemIndex':_0x4d6502,'outlineChanges':_0x2709c2}),this['fire']('activeItemIndex',{'index':_0x4d6502});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x4cd3e2=this['editor'],_0x20e155=[],_0x4f8715=this['_headingNames'];for(const _0x3711d0 of _0x4cd3e2['model']['document']['getRootNames']())_0x3921d8(_0x4cd3e2['model']['document']['getRoot'](_0x3711d0));function _0x3921d8(_0x595226){for(const _0x35d98b of _0x595226['getChildren']())_0x35d98b['is']('element')&&(_0x4f8715['includes'](_0x35d98b['name'])&&_0x20e155['push']({'level':_0x4f8715['indexOf'](_0x35d98b['name'])+0x1,'text':b(_0x35d98b),'modelElement':_0x35d98b}),_0x3921d8(_0x35d98b));}return _0x20e155;}['_getActiveHeading'](){const _0x4a17b1=new _0x906bc({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x440ef4 of _0x4a17b1)if(_0x440ef4['item']['is']('element')&&this['_headingNames']['includes'](_0x440ef4['item']['name']))return _0x440ef4['item'];}['_getHeadingNames'](){const _0x2ddd9a=this['editor']['config']['get']('documentOutline.headings');return _0x2ddd9a||function(_0x4c7f18){const _0x5b48f1=_0x4c7f18['config']['get']('heading.options');return _0x5b48f1?_0x5b48f1['reduce']((_0x303a1e,_0xac5a45)=>('paragraph'!==_0xac5a45['model']&&_0x303a1e['push'](_0xac5a45['model']),_0x303a1e),[]):_0x4c7f18['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0xa9bf7d=this['editor'],_0x12d535=['h1','h2','h3','h4','h5','h6'],_0x22443f=[];for(const _0x2bb5b6 of _0x12d535){const _0x59cf33=_0xa9bf7d['editing']['view']['domConverter']['domToView'](document['createElement'](_0x2bb5b6)),_0x56567e=_0xa9bf7d['data']['toModel'](_0x59cf33)['getChild'](0x0);_0x56567e?.['is']('element')&&_0x22443f['push'](_0x56567e['name']);}this['_headingNames']=_0x22443f;}};function L(_0x13c726,_0x128fa7){const t=_0x13c726['t'];switch(_0x128fa7){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 _0x128fa7;}}var C=class extends _0x5dd4fd{constructor(_0x36e631,_0xf92e56=!0x1){super(_0x36e631);const _0x434520=this['bindTemplate'],_0xabb949=_0xf92e56?'['+L(_0x36e631,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x445b97=>!_0x445b97),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x434520['to']('level',_0x4a22dd=>'ck-document-outline__item_level-'+_0x4a22dd),_0x434520['if']('isActive','ck-document-outline__item_active'),_0x434520['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x434520['to']('text')},'children':[{'text':_0x434520['to']('text',_0x3c2d4b=>_0x3c2d4b||_0xabb949)}],'on':{'click':_0x434520['to']('click')}});}},_=class extends _0x5dd4fd{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x327735,_0x1a4014=!0x1,_0x29bcc2){super(_0x327735),this['showEmptyHeadingText']=_0x1a4014,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x29bcc2,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xf2e4e0,_0x3764a3,_0x3bd4cc,_0x21233b)=>{this['_setActiveItem'](_0x21233b,_0x3bd4cc);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x327735['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x327735,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x126b09){_0x126b09['forEach'](_0x1b5c0b=>{'insert'==_0x1b5c0b['type']?this['_insertItem'](_0x1b5c0b['index'],..._0x1b5c0b['values']):'delete'==_0x1b5c0b['type']&&this['_deleteItem'](_0x1b5c0b['index'],_0x1b5c0b['howMany']);});}['_setActiveItem'](_0x9feae7,_0x1ee214){if(-0x1!==_0x9feae7){const _0x5e64c2=this['items']['get'](_0x9feae7);_0x5e64c2&&(_0x5e64c2['isActive']=!0x1);}-0x1!==_0x1ee214&&(this['items']['get'](_0x1ee214)['isActive']=!0x0,this['_scrollToItem'](_0x1ee214));}['_insertItem'](_0x293258,..._0x48a43b){const _0xc0688f=_0x48a43b['map']((_0x565a8e,_0x250df5)=>{const _0x38965b=new C(this['locale'],this['showEmptyHeadingText']);return _0x38965b['text']=_0x565a8e['text'],_0x38965b['level']=_0x565a8e['level'],_0x293258+_0x250df5===this['activeItemIndex']&&(_0x38965b['isActive']=!0x0),_0x38965b;});this['items']['addMany'](_0xc0688f,_0x293258);}['_deleteItem'](_0x4a5a6d,_0x1a525e){do{this['items']['remove'](_0x4a5a6d);}while(--_0x1a525e);}['_handleItemClick'](_0x4efb23){const _0x1890b2=this['items']['getIndex'](_0x4efb23['source']);this['fire']('itemSelected',_0x1890b2);}['_scrollToItem'](_0xe5c5c3){_0xd43f8d(this['items']['get'](_0xe5c5c3)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x309816{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x259887){super(_0x259887),this['view']=new _(_0x259887['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x31870b(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x3ec48f=this['editor'],_0xa98a4f=_0x3ec48f['plugins']['get']('DocumentOutlineUtils');let _0xc2210d=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x3ec48f['config']['get']('documentOutline.container'))throw new _0x534c5f('document-outline-container-not-provided',{'editor':_0x3ec48f});_0x3ec48f['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0xa98a4f['on']('change',this['_handleOutlineChange']['bind'](this)),_0xa98a4f['on']('activeItemIndex',(_0x20cb4a,{index:_0x3d9e68})=>this['_setActiveViewItem'](_0x3d9e68)),this['view']['on']('itemSelected',(_0x14d0b8,_0x494363)=>{_0xc2210d=!0x0,this['_handleItemSelected'](_0x494363);}),this['view']['listenTo'](_0x408f95['document'],'scroll',()=>{_0xc2210d?_0xc2210d=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x408f95['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x5c8aaf){const _0x125290='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x1b71f0=0x78fc0,_0xe5baff=window['Date']['now'](),_0x2dd887=_0x5c8aaf['editor'],_0x26e2a6=new window['Promise'](_0x5153e3=>{_0x2dd887['once']('ready',_0x5153e3);}),_0x33a0e3={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x948e09=_0x2dd887['config']['get']('licenseKey');async function _0x57c4f8(){let _0x2129a3,_0x1f2fbb=null,_0xbc231e=null;try{return'GPL'==_0x948e09?'NotAllowed':(_0x2129a3=_0x4919f1(),_0x2129a3?(_0x2129a3['usageEndpoint']&&(_0xbc231e=_0x81c229(_0x2129a3['usageEndpoint'],_0x2129a3['jti'])),await _0x1f246f()?_0x42596b()?_0x3a69a9()?'Expired':_0x2c30e7()?('evaluation'==_0x2129a3['licenseType']&&(_0x1f2fbb=_0x4a4d18('EvaluationLimit')),await _0x30c7a0()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3a69a9(){const _0x5cca71=['evaluation','trial']['includes'](_0x2129a3['licenseType'])?_0xe5baff/0x3e8:0xe10*_0x1b71f0;return _0x2129a3['exp']<_0x5cca71;}function _0x42596b(){const _0x1ee3bc=_0x2129a3['features'];return!!_0x1ee3bc&&(!!_0x1ee3bc['includes']('*')||(!!_0x1ee3bc['includes']('DO')||(!!_0x1ee3bc['includes']('PP')||!(!_0x1ee3bc['includes']('TRILIUM')||!_0x5398bc()))));}function _0x2c30e7(){const _0x457efb=_0x2129a3['licensedHosts'];if(!_0x457efb||0x0==_0x457efb['length'])return!0x0;const {hostname:_0x1b7acd}=new URL(window['location']['href']);if(_0x457efb['includes'](_0x1b7acd))return!0x0;const _0x2f696c=_0x1b7acd['split']('.');return _0x457efb['filter'](_0xdc478e=>_0xdc478e['includes']('*'))['map'](_0x52f8e2=>_0x52f8e2['split']('.'))['filter'](_0x2ed322=>_0x2ed322['length']<=_0x2f696c['length'])['map'](_0x250cf1=>Array(_0x2f696c['length']-_0x250cf1['length'])['fill']('*'===_0x250cf1[0x0]?'*':'')['concat'](_0x250cf1))['some'](_0x7507d9=>_0x2f696c['every']((_0x2e3a52,_0x4d1d2d)=>_0x7507d9[_0x4d1d2d]===_0x2e3a52||'*'===_0x7507d9[_0x4d1d2d]));}function _0x30c7a0(){return _0x1f2fbb&&_0xbc231e?new window['Promise']((_0x24ef84,_0x181a9b)=>{_0x1f2fbb['then'](_0x24ef84,_0x181a9b),_0xbc231e['then'](_0x2df598=>{'Valid'!=_0x2df598&&_0x24ef84(_0x2df598);},_0x181a9b);}):_0x1f2fbb||_0xbc231e||'Valid';}}function _0x81c229(_0x2fe171,_0x164ebb){return new window['Promise'](_0x5961a3=>{if(_0x53e107())return _0x5961a3('Valid');_0x2451df(),_0x2dd887['decorate']('_sendUsageRequest');let _0x42c769=!0x1;const _0x415e07=_0x305a27();function _0x2a5f21(_0x22e742){return!!_0x22e742&&('object'==typeof _0x22e742||'function'==typeof _0x22e742)&&'function'==typeof _0x22e742['then']&&'function'==typeof _0x22e742['catch'];}function _0x344664(_0x598bf3){_0xe2d62f(_0x598bf3)['then'](_0x3c2b51=>_0x3c2b51&&'ok'==_0x3c2b51['status']?_0xf62588(_0x385520(_0x415e07+_0x164ebb))!=_0x3c2b51['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x16d897=>(_0x34fb5a(),_0x16d897),()=>{const _0x1b685f=_0xf592e5();return null==_0x1b685f?(_0x34fb5a(),'Valid'):_0xe5baff-_0x1b685f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x5961a3)['catch'](()=>{_0x5961a3('UsageLimit');});const _0x5c733d=0x36ee80;function _0x34fb5a(){const _0x4b9c0e='llct-'+_0xf62588(_0x385520(_0x2fe171)),_0x424b78=_0x2e7673(_0xf62588(window['Math']['ceil'](_0xe5baff/_0x5c733d)));window['localStorage']['setItem'](_0x4b9c0e,_0x424b78);}function _0xf592e5(){const _0x20f26c='llct-'+_0xf62588(_0x385520(_0x2fe171)),_0x14d794=window['localStorage']['getItem'](_0x20f26c);return _0x14d794?window['parseInt'](_0x2e7673(_0x14d794),0x10)*_0x5c733d:null;}function _0xe2d62f(_0x1f713a){return new window['Promise']((_0x58a342,_0x32851c)=>{_0x1f713a['then'](_0x58a342,_0x32851c),window['setTimeout'](_0x32851c,0x1d4c0);});}}_0x2dd887['on']('_sendUsageRequest',(_0x2b4268,_0x4c99cc)=>{if(_0x4c99cc[0x0]!=_0x2fe171)return _0x5961a3('UsageLimit');_0x4c99cc[0x1]={..._0x4c99cc[0x1],'requestId':_0x415e07};},{'priority':'high'}),_0x2dd887['on']('_sendUsageRequest',_0xf86bc=>{_0x2a5f21(_0xf86bc['return'])&&(_0x42c769=!0x0,_0x344664(_0xf86bc['return']));},{'priority':'low'}),_0x26e2a6['then'](()=>{_0x42c769||_0x5961a3('UsageLimit');});});function _0x53e107(){return'auto'==_0x2dd887['editing']['view']['_overlayModeHint'];}function _0x2451df(){_0x2dd887['editing']['view']['_overlayModeHint']='auto';}}function _0x4a4d18(_0x1eeada){const _0x30be52=[new window['Promise'](_0x370f0c=>setTimeout(_0x370f0c,0x93ecc)),_0x26e2a6['then'](()=>new window['Promise'](_0x3f19ae=>{let _0x16daa2=0x0;_0x2dd887['model']['on']('applyOperation',(_0x5c88f0,_0x5620fb)=>{_0x5620fb[0x0]['isDocumentOperation']&&_0x16daa2++,0x5e8==_0x16daa2&&(_0x3f19ae(),_0x5c88f0['off']());});}))];return window['Promise']['race'](_0x30be52)['then'](()=>_0x1eeada);}async function _0x2d2b1(){await _0x26e2a6,_0x2dd887['model']['change']=_0x1339a7,_0x2dd887['model']['enqueueChange']=_0x1339a7,_0x2dd887['enableReadOnlyMode']('model');}function _0x5398bc(){return window['glob']&&window['glob']['triliumVersion'];}function _0xccd007(_0x4ef947){const _0x1422ce=_0x2acd5f();_0x2dd887[_0x1422ce]='documentOutlineLicenseKey'+_0x4ef947,'Valid'!=_0x4ef947&&_0x2d2b1();}function _0x2acd5f(){const _0x3d6d71=window['String'](window['performance']['now']())['replace']('.','');let _0x4d9347='a';for(let _0x5a6415=0x0;_0x5a6415<_0x3d6d71['length'];_0x5a6415+=0x2){let _0x5267ed=window['parseInt'](_0x3d6d71['substring'](_0x5a6415,_0x5a6415+0x2));_0x5267ed>=0x3e&&(_0x5267ed-=0x3e),_0x4d9347+=_0x125290[_0x5267ed];}return _0x4d9347;}function _0x4919f1(){const _0x55a840=_0x948e09['split']('.');if(0x3!=_0x55a840['length'])return null;return _0x3d7baa(_0x55a840[0x1]);function _0x3d7baa(_0x1d5e85){const _0x689363=_0x20a545(_0x1d5e85);return _0x689363&&_0x4bcd23()?_0x689363:null;function _0x4bcd23(){const _0xe8587c=_0x689363['jti'],_0x106bf8=window['parseInt'](_0xe8587c['substring'](_0xe8587c['length']-0x8),0x10),_0x8cba68={..._0x689363,'jti':_0xe8587c['substring'](0x0,_0xe8587c['length']-0x8)};return delete _0x8cba68['vc'],_0x385520(_0x8cba68)==_0x106bf8;}}}async function _0x1f246f(){let _0x1ff7b4=!0x0;try{const [_0x148881,_0x32a350,_0x3da535]=_0x948e09['split']('.');return _0x1d60ce(_0x148881),await _0x3d2c15(_0x148881,_0x32a350,_0x3da535),_0x1ff7b4;}catch{return!0x1;}function _0x1d60ce(_0x561a1b){const _0x4d2425=_0x20a545(_0x561a1b);_0x4d2425&&'ES256'==_0x4d2425['alg']||(_0x1ff7b4=!0x1);}async function _0x3d2c15(_0x138b5c,_0x1d4414,_0x4d656f){const _0x5cb1c9=window['Uint8Array']['from'](_0x3a4df3(_0x4d656f),_0x38d98b=>_0x38d98b['charCodeAt'](0x0)),_0x40a10d=new window['TextEncoder']()['encode'](_0x138b5c+'.'+_0x1d4414),_0x25ffc9=window['crypto']['subtle'];if(!_0x25ffc9)return;const _0x3ef307=await _0x25ffc9['importKey']('jwk',_0x33a0e3,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x25ffc9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3ef307,_0x5cb1c9,_0x40a10d)||(_0x1ff7b4=!0x1);}}function _0x20a545(_0x377470){return _0x377470['startsWith']('ey')?JSON['parse'](_0x3a4df3(_0x377470)):null;}function _0x3a4df3(_0x5e5a6d){return window['atob'](_0x5e5a6d['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x385520(_0x3e8f58){let _0x3f6d8c=0x1505;function _0x10dda0(_0x1be033){for(let _0x5c4cdc=0x0;_0x5c4cdc<_0x1be033['length'];_0x5c4cdc++){const _0x28db80=_0x1be033['charCodeAt'](_0x5c4cdc);_0x3f6d8c=(_0x3f6d8c<<0x5)+_0x3f6d8c+_0x28db80,_0x3f6d8c&=_0x3f6d8c;}}function _0x456ba7(_0x26e36f){Array['isArray'](_0x26e36f)?_0x26e36f['forEach'](_0x456ba7):_0x26e36f&&'object'==typeof _0x26e36f?Object['entries'](_0x26e36f)['sort']()['forEach'](([_0x174b7a,_0x29ccc0])=>{_0x10dda0(_0x174b7a),_0x456ba7(_0x29ccc0);}):_0x10dda0(window['String'](_0x26e36f));}return _0x456ba7(_0x3e8f58),_0x3f6d8c>>>0x0;}function _0xf62588(_0x21d483){return _0x21d483['toString'](0x10)['padStart'](0x8,'0');}function _0x2e7673(_0x17bb8a){return _0x17bb8a['split']('')['reverse']()['join']('');}function _0x1339a7(){}_0xccd007(await _0x57c4f8());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x1edb77,{outlineDefinitions:_0x47f891,outlineChanges:_0x4d78b1}){this['_currentOutlineDefinitions']=_0x47f891,this['view']['sync'](_0x4d78b1);}['_setActiveViewItem'](_0x109c9b){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x109c9b]&&(this['view']['activeItemIndex']=_0x109c9b);}['_handleItemSelected'](_0x47cb0e){const _0x20faed=this['_currentOutlineDefinitions'][_0x47cb0e]['modelElement'];this['editor']['model']['change'](_0x5026e1=>{_0x5026e1['setSelection'](_0x20faed,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x47cb0e);}['_updateActiveDefinitionOnViewportChange'](){const _0x1e29c9=this['editor'];let _0x54411e;for(const _0x183d2b of _0x1e29c9['model']['document']['getRootNames']()){const _0x46b19c=_0x1e29c9['editing']['view']['getDomRoot'](_0x183d2b),_0x3cd093=_0x46b19c&&new _0x1e7e75(_0x46b19c)['getVisible']();if(_0x3cd093){const _0x4389d2=new _0x1e7e75(_0x408f95['window'])['getIntersection'](_0x3cd093);_0x4389d2&&(_0x54411e=_0x4389d2['top']+0.25*_0x4389d2['height']);}}if(void 0x0===_0x54411e)return;const _0x230e65=k(_0x1e29c9['editing'],this['_currentOutlineDefinitions'],_0x54411e);_0x230e65?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x230e65)):this['_setActiveViewItem'](-0x1);}};function k(_0x24052b,_0x420ea9,_0x3736a1,_0x4dbe76=0x0,_0x54d677=_0x420ea9['length']-0x1){const _0x279a6e=Math['floor'](_0x4dbe76+(_0x54d677-_0x4dbe76)/0x2);if(_0x54d677>=_0x4dbe76){const _0x4d3502=_0x420ea9[_0x279a6e],_0x28c155=_0x24052b['mapper']['toViewElement'](_0x4d3502['modelElement']);return _0x28c155?new _0x1e7e75(_0x24052b['view']['domConverter']['mapViewToDom'](_0x28c155))['bottom']>_0x3736a1?k(_0x24052b,_0x420ea9,_0x3736a1,_0x4dbe76,_0x279a6e-0x1):k(_0x24052b,_0x420ea9,_0x3736a1,_0x279a6e+0x1,_0x54d677):null;}return _0x279a6e<0x0?null:_0x420ea9[_0x279a6e];}var E=class extends _0x309816{['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 _0x19bc2d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x33b30d;for(const _0x5615ef in _0x19bc2d){const _0x7ed096=_0x5615ef,_0x41cb43=_0x19bc2d[_0x7ed096];if('documentOutlineLicenseKeyValid'==_0x41cb43||'documentOutlineLicenseKeyInvalid'==_0x41cb43||'documentOutlineLicenseKeyExpired'==_0x41cb43||'documentOutlineLicenseKeyDomainLimit'==_0x41cb43||'documentOutlineLicenseKeyNotAllowed'==_0x41cb43||'documentOutlineLicenseKeyEvaluationLimit'==_0x41cb43||'documentOutlineLicenseKeyUsageLimit'==_0x41cb43){delete _0x19bc2d[_0x7ed096],_0x33b30d=_0x41cb43,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x33b30d&&_0x19bc2d['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x33b30d&&_0x19bc2d['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x33b30d&&_0x19bc2d['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x33b30d&&_0x19bc2d['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x33b30d&&_0x19bc2d['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x33b30d&&_0x19bc2d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x21d2b4{['execute'](){this['editor']['model']['change'](_0x110f50=>{this['editor']['model']['insertObject'](_0x110f50['createElement']('tableOfContents'));});}['refresh'](){const _0xebdaee=this['editor']['model'],_0x53279a=_0xebdaee['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x53279a&&_0xebdaee['schema']['findAllowedParent'](_0x53279a,'tableOfContents'));}},A=class extends _0x309816{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0xb77d3e=this['editor'];if(_0xb77d3e['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x1b4041,modelNames:_0x151086}=function(_0x181098){const _0x4661f7=new Set(),_0x14c206=new Set();if(!_0x181098)return{'viewNames':_0x4661f7,'modelNames':_0x14c206};for(const _0x38f588 of _0x181098){if('paragraph'===_0x38f588['model'])continue;const _0x4a6630='string'==typeof _0x38f588['view']?_0x38f588['view']:_0x38f588['view']['name'];_0x4661f7['add'](_0x4a6630),_0x14c206['add'](_0x38f588['model']);}return _0x4661f7['has']('h1')||(_0x4661f7['add']('h1'),_0x14c206['add']('heading1')),{'viewNames':_0x4661f7,'modelNames':_0x14c206};}(this['editor']['config']['get']('heading.options'));for(const _0x194798 of _0x1b4041)this['_customUpcastHeadingsConversion'](_0x194798);for(const _0x1f77d7 of _0x151086)this['_customDataDowncastHeadingsConversion'](_0x1f77d7),_0xb77d3e['model']['schema']['isRegistered'](_0x1f77d7)&&_0xb77d3e['model']['schema']['extend'](_0x1f77d7,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x151086);}['_customUpcastHeadingsConversion'](_0x1f26b8){this['editor']['conversion']['for']('upcast')['add'](_0x51accb=>_0x51accb['on']('element:'+_0x1f26b8,(_0x161cb2,_0xc47eb7,_0x3a455c)=>{const {consumable:_0x1a8a1f,writer:_0x47aceb}=_0x3a455c,_0x59ec71=_0xc47eb7['viewItem']['getAttribute']('id'),_0x1f0bba=_0xc47eb7['modelRange']?.['getContainedElement']();if(_0x1f0bba)return _0x59ec71&&_0x59ec71['length']||_0x1f0bba['hasAttribute']('headingId')?void(_0x1a8a1f['consume'](_0xc47eb7['viewItem'],{'attributes':['id']})&&_0x47aceb['setAttribute']('headingId',_0x59ec71,_0x1f0bba)):(_0x1a8a1f['consume'](_0xc47eb7['viewItem'],{'attributes':['id']}),void _0x47aceb['setAttribute']('headingId',_0x305a27(),_0x1f0bba));},{'priority':_0x7886fc['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x11e73d){this['editor']['conversion']['for']('downcast')['add'](_0x1c82fd=>_0x1c82fd['on']('attribute:headingId:'+_0x11e73d,(_0x4482ea,_0x35a800,_0x36cd4d)=>{if(!_0x36cd4d['consumable']['consume'](_0x35a800['item'],_0x4482ea['name']))return;const _0x3fc156=_0x35a800['item']['getAttribute']('headingId'),_0x2a3eb7=_0x36cd4d['mapper']['toViewElement'](_0x35a800['item']);_0x36cd4d['writer']['setAttribute']('id',_0x3fc156,_0x2a3eb7);}));}['_registerHeadingIdAttributePostfixer'](_0x468d12){const _0x5d2dba=this['editor'],_0xee6475=new Set(),_0xd1534=new Set();function _0x475202(_0x4baf58,_0x2e3dcb){const _0x6254a6=_0x305a27();return _0xd1534['add'](_0x6254a6),_0x4baf58['setAttribute']('headingId',_0x6254a6,_0x2e3dcb),_0x6254a6;}function _0x31c294(_0x3ecb85,_0x1572b4){_0x3ecb85['removeAttribute']('headingId',_0x1572b4);}_0x5d2dba['model']['document']['registerPostFixer'](_0x249083=>{const _0x554db1=_0x5d2dba['model']['document']['differ']['getChanges']();let _0x2edd17=!0x1;for(const _0x12fb5b of _0x554db1)if('insert'==_0x12fb5b['type']&&_0x12fb5b['name']){if(_0x468d12['has'](_0x12fb5b['name'])){const _0x5b9d2a=_0x12fb5b['attributes']['get']('headingId');'string'==typeof _0x5b9d2a?_0xee6475['has'](_0x5b9d2a)?(_0x475202(_0x249083,_0x12fb5b['position']['nodeAfter']),_0x2edd17=!0x0):_0xd1534['add'](_0x5b9d2a):(_0x475202(_0x249083,_0x12fb5b['position']['nodeAfter']),_0x2edd17=!0x0);}else'string'==typeof _0x12fb5b['attributes']['get']('headingId')&&(_0x31c294(_0x249083,_0x12fb5b['position']['nodeAfter']),_0x2edd17=!0x0);}else{if('remove'==_0x12fb5b['type']){const _0x436d67=_0x12fb5b['attributes']['get']('headingId');'string'==typeof _0x436d67&&_0xee6475['delete'](_0x436d67);}}return _0x2edd17;}),_0x5d2dba['model']['document']['on']('change',()=>{_0xd1534['forEach'](_0x50034a=>_0xee6475['add'](_0x50034a)),_0xd1534['clear']();});}},N=class extends _0x309816{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x2b3e31,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x112c79){super(_0x112c79),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x29f6b1=this['editor'],_0x162992=_0x29f6b1['editing']['view']['document'];_0x29f6b1['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x29f6b1['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x162992,'click',(_0x464e91,_0x18293d)=>{if(!_0x18293d['target'])return;const _0x2b9a80=_0x18293d['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2b9a80)&&(_0x18293d['domEvent']['preventDefault'](),_0x464e91['stop'](),this['_handleScrollToHeading'](_0x2b9a80));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x29f6b1['commands']['add']('insertTableOfContents',new K(_0x29f6b1));const _0x4afd1a=_0x29f6b1['config']['get']('tableOfContents.headings');_0x4afd1a&&_0x4afd1a['length']?this['listenTo'](_0x29f6b1['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x4afd1a),this['_updateTableOfContentsElements']();}):_0x29f6b1['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x14e40b,_0x4116da)=>{this['_currentOutlineDefinitions']=_0x4116da['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x29f6b1['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x579030){const _0x132527='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x1dd45c=0x78fc0,_0x22d11c=window['Date']['now'](),_0x18ced9=_0x579030['editor'],_0x483ffd=new window['Promise'](_0x424989=>{_0x18ced9['once']('ready',_0x424989);}),_0x44df9c={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x330cd3=_0x18ced9['config']['get']('licenseKey');async function _0x4c9ae2(){let _0x565e11,_0x3ae4c5=null,_0x5fdbf1=null;try{return'GPL'==_0x330cd3?'NotAllowed':(_0x565e11=_0x1e8315(),_0x565e11?(_0x565e11['usageEndpoint']&&(_0x5fdbf1=_0x3fd96f(_0x565e11['usageEndpoint'],_0x565e11['jti'])),await _0x3f23f6()?_0x3db9f6()?_0x216917()?'Expired':_0x53268b()?('evaluation'==_0x565e11['licenseType']&&(_0x3ae4c5=_0x39b3ab('EvaluationLimit')),await _0x396184()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x216917(){const _0x55ced8=['evaluation','trial']['includes'](_0x565e11['licenseType'])?_0x22d11c/0x3e8:0xe10*_0x1dd45c;return _0x565e11['exp']<_0x55ced8;}function _0x3db9f6(){const _0x3ba4b4=_0x565e11['features'];return!!_0x3ba4b4&&(!!_0x3ba4b4['includes']('*')||(!!_0x3ba4b4['includes']('TOC')||(!!_0x3ba4b4['includes']('PP')||!(!_0x3ba4b4['includes']('TRILIUM')||!_0x1ebbc9()))));}function _0x53268b(){const _0x2a7f0d=_0x565e11['licensedHosts'];if(!_0x2a7f0d||0x0==_0x2a7f0d['length'])return!0x0;const {hostname:_0x208738}=new URL(window['location']['href']);if(_0x2a7f0d['includes'](_0x208738))return!0x0;const _0xceca60=_0x208738['split']('.');return _0x2a7f0d['filter'](_0x2bea86=>_0x2bea86['includes']('*'))['map'](_0x7404cc=>_0x7404cc['split']('.'))['filter'](_0x58d21b=>_0x58d21b['length']<=_0xceca60['length'])['map'](_0x4a28d3=>Array(_0xceca60['length']-_0x4a28d3['length'])['fill']('*'===_0x4a28d3[0x0]?'*':'')['concat'](_0x4a28d3))['some'](_0x44ad6c=>_0xceca60['every']((_0x20d276,_0x426da1)=>_0x44ad6c[_0x426da1]===_0x20d276||'*'===_0x44ad6c[_0x426da1]));}function _0x396184(){return _0x3ae4c5&&_0x5fdbf1?new window['Promise']((_0x22f1db,_0x463b20)=>{_0x3ae4c5['then'](_0x22f1db,_0x463b20),_0x5fdbf1['then'](_0x11d90f=>{'Valid'!=_0x11d90f&&_0x22f1db(_0x11d90f);},_0x463b20);}):_0x3ae4c5||_0x5fdbf1||'Valid';}}function _0x3fd96f(_0xecc1db,_0x3568b6){return new window['Promise'](_0x4573e1=>{if(_0xf795ea())return _0x4573e1('Valid');_0x5a8d18(),_0x18ced9['decorate']('_sendUsageRequest');let _0x553315=!0x1;const _0x34feaa=_0x305a27();function _0x14528e(_0xf8c60a){return!!_0xf8c60a&&('object'==typeof _0xf8c60a||'function'==typeof _0xf8c60a)&&'function'==typeof _0xf8c60a['then']&&'function'==typeof _0xf8c60a['catch'];}function _0x2e20e8(_0x626158){_0x2b8231(_0x626158)['then'](_0x58435a=>_0x58435a&&'ok'==_0x58435a['status']?_0xcee921(_0x458609(_0x34feaa+_0x3568b6))!=_0x58435a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2dc43e=>(_0x58c620(),_0x2dc43e),()=>{const _0x337a16=_0xdb6149();return null==_0x337a16?(_0x58c620(),'Valid'):_0x22d11c-_0x337a16>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4573e1)['catch'](()=>{_0x4573e1('UsageLimit');});const _0x11fe9f=0x36ee80;function _0x58c620(){const _0x1dd73b='llct-'+_0xcee921(_0x458609(_0xecc1db)),_0x3f4df7=_0x10ed57(_0xcee921(window['Math']['ceil'](_0x22d11c/_0x11fe9f)));window['localStorage']['setItem'](_0x1dd73b,_0x3f4df7);}function _0xdb6149(){const _0x2ba562='llct-'+_0xcee921(_0x458609(_0xecc1db)),_0x10f303=window['localStorage']['getItem'](_0x2ba562);return _0x10f303?window['parseInt'](_0x10ed57(_0x10f303),0x10)*_0x11fe9f:null;}function _0x2b8231(_0x15da0f){return new window['Promise']((_0x5ef442,_0x313f6d)=>{_0x15da0f['then'](_0x5ef442,_0x313f6d),window['setTimeout'](_0x313f6d,0x1d4c0);});}}_0x18ced9['on']('_sendUsageRequest',(_0x281381,_0x415f68)=>{if(_0x415f68[0x0]!=_0xecc1db)return _0x4573e1('UsageLimit');_0x415f68[0x1]={..._0x415f68[0x1],'requestId':_0x34feaa};},{'priority':'high'}),_0x18ced9['on']('_sendUsageRequest',_0x75e5e1=>{_0x14528e(_0x75e5e1['return'])&&(_0x553315=!0x0,_0x2e20e8(_0x75e5e1['return']));},{'priority':'low'}),_0x483ffd['then'](()=>{_0x553315||_0x4573e1('UsageLimit');});});function _0xf795ea(){return'auto'==_0x18ced9['editing']['view']['_overlayModeHint'];}function _0x5a8d18(){_0x18ced9['editing']['view']['_overlayModeHint']='auto';}}function _0x39b3ab(_0x49fb60){const _0x5e6fcf=[new window['Promise'](_0x4b6fc1=>setTimeout(_0x4b6fc1,0x93ecc)),_0x483ffd['then'](()=>new window['Promise'](_0x50f283=>{let _0x2b1142=0x0;_0x18ced9['model']['on']('applyOperation',(_0x54f0b5,_0x219c71)=>{_0x219c71[0x0]['isDocumentOperation']&&_0x2b1142++,0x5e8==_0x2b1142&&(_0x50f283(),_0x54f0b5['off']());});}))];return window['Promise']['race'](_0x5e6fcf)['then'](()=>_0x49fb60);}async function _0x38f0b2(){await _0x483ffd,_0x18ced9['model']['change']=_0x555dfa,_0x18ced9['model']['enqueueChange']=_0x555dfa,_0x18ced9['enableReadOnlyMode']('model');}function _0x1ebbc9(){return window['glob']&&window['glob']['triliumVersion'];}function _0xefc71b(_0x1d6cc0){const _0x5b5d66=_0x7c746c();_0x18ced9[_0x5b5d66]='tableOfContentsLicenseKey'+_0x1d6cc0,'Valid'!=_0x1d6cc0&&_0x38f0b2();}function _0x7c746c(){const _0x4ddeb5=window['String'](window['performance']['now']())['replace']('.','');let _0x5441f7='m';for(let _0x15de06=0x0;_0x15de06<_0x4ddeb5['length'];_0x15de06+=0x2){let _0x4fa163=window['parseInt'](_0x4ddeb5['substring'](_0x15de06,_0x15de06+0x2));_0x4fa163>=0x3e&&(_0x4fa163-=0x3e),_0x5441f7+=_0x132527[_0x4fa163];}return _0x5441f7;}function _0x1e8315(){const _0xbfc91f=_0x330cd3['split']('.');if(0x3!=_0xbfc91f['length'])return null;return _0x579ca0(_0xbfc91f[0x1]);function _0x579ca0(_0x22d5f2){const _0x2e496c=_0x448b5a(_0x22d5f2);return _0x2e496c&&_0x4a734f()?_0x2e496c:null;function _0x4a734f(){const _0x4a7e0e=_0x2e496c['jti'],_0x28be99=window['parseInt'](_0x4a7e0e['substring'](_0x4a7e0e['length']-0x8),0x10),_0x949cea={..._0x2e496c,'jti':_0x4a7e0e['substring'](0x0,_0x4a7e0e['length']-0x8)};return delete _0x949cea['vc'],_0x458609(_0x949cea)==_0x28be99;}}}async function _0x3f23f6(){let _0x54db15=!0x0;try{const [_0x1c4050,_0x3d7947,_0x17fd56]=_0x330cd3['split']('.');return _0x212d56(_0x1c4050),await _0x1e3c1d(_0x1c4050,_0x3d7947,_0x17fd56),_0x54db15;}catch{return!0x1;}function _0x212d56(_0xbdad45){const _0x5ef0eb=_0x448b5a(_0xbdad45);_0x5ef0eb&&'ES256'==_0x5ef0eb['alg']||(_0x54db15=!0x1);}async function _0x1e3c1d(_0x45f517,_0x53203f,_0x56150d){const _0x24cf34=window['Uint8Array']['from'](_0x5ab837(_0x56150d),_0x2606e1=>_0x2606e1['charCodeAt'](0x0)),_0x431737=new window['TextEncoder']()['encode'](_0x45f517+'.'+_0x53203f),_0x401776=window['crypto']['subtle'];if(!_0x401776)return;const _0x2be269=await _0x401776['importKey']('jwk',_0x44df9c,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x401776['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2be269,_0x24cf34,_0x431737)||(_0x54db15=!0x1);}}function _0x448b5a(_0x5639ff){return _0x5639ff['startsWith']('ey')?JSON['parse'](_0x5ab837(_0x5639ff)):null;}function _0x5ab837(_0x200283){return window['atob'](_0x200283['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x458609(_0x77c4d0){let _0x4a2b52=0x1505;function _0x440364(_0x13c5f3){for(let _0x2bbae8=0x0;_0x2bbae8<_0x13c5f3['length'];_0x2bbae8++){const _0x39169b=_0x13c5f3['charCodeAt'](_0x2bbae8);_0x4a2b52=(_0x4a2b52<<0x5)+_0x4a2b52+_0x39169b,_0x4a2b52&=_0x4a2b52;}}function _0x33a211(_0x377982){Array['isArray'](_0x377982)?_0x377982['forEach'](_0x33a211):_0x377982&&'object'==typeof _0x377982?Object['entries'](_0x377982)['sort']()['forEach'](([_0x4aafa4,_0x203e46])=>{_0x440364(_0x4aafa4),_0x33a211(_0x203e46);}):_0x440364(window['String'](_0x377982));}return _0x33a211(_0x77c4d0),_0x4a2b52>>>0x0;}function _0xcee921(_0x41a214){return _0x41a214['toString'](0x10)['padStart'](0x8,'0');}function _0x10ed57(_0xf39575){return _0xf39575['split']('')['reverse']()['join']('');}function _0x555dfa(){}_0xefc71b(await _0x4c9ae2());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x35c662=>{'$graveyard'!==_0x35c662['rootName']&&this['editor']['editing']['reconvertItem'](_0x35c662);});}['_trackNewToCElements'](){for(const _0x55d8c4 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x55d8c4['type']||'tableOfContents'!==_0x55d8c4['name'])return;this['_tableOfContentsElements']['add'](_0x55d8c4['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x46369b){const _0x184168=this['editor'],_0x3f147d=[];for(const _0x24d61e of _0x184168['model']['document']['getRootNames']())_0x468d06(_0x184168['model']['document']['getRoot'](_0x24d61e));function _0x468d06(_0x2b8048){for(const _0x5dba02 of _0x2b8048['getChildren']())_0x5dba02['is']('element')&&(_0x46369b['includes'](_0x5dba02['name'])&&_0x3f147d['push']({'level':_0x46369b['indexOf'](_0x5dba02['name'])+0x1,'text':b(_0x5dba02),'modelElement':_0x5dba02}),_0x468d06(_0x5dba02));}return _0x3f147d;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x1a4b05=this['editor']['conversion'];_0x1a4b05['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x1a4b05['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5c2b47,{writer:_0x4834a9})=>this['_createTableOfContents'](_0x4834a9,!0x0)}),_0x1a4b05['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x542564,{writer:_0x4d3436})=>(this['_tableOfContentsElements']['add'](_0x542564),_0x31c6d7(this['_createTableOfContents'](_0x4d3436),_0x4d3436,{'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'](_0x29a0bf,_0x3b74f4=!0x1){const {locale:_0x4575a0}=this['editor'],_0x2fc3bc=_0x29a0bf['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x3b74f4&&{'data-table-of-contents-label':L(_0x4575a0,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x3b74f4&&_0x29a0bf['insert'](_0x29a0bf['createPositionAt'](_0x2fc3bc,'end'),_0x29a0bf['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x29a0bf['createText'](L(_0x4575a0,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x22329b=_0x3b74f4?'':'['+L(_0x4575a0,'Empty\x20heading')+']';let _0x2fe327=_0x2fc3bc;return this['_currentOutlineDefinitions']['forEach']((_0x3fe6d2,_0xf4512b,_0x148225)=>{const _0x187b00=this['editor']['model']['hasContent'](_0x3fe6d2['modelElement'],{'ignoreWhitespaces':!0x0}),_0x51af55=_0x187b00?_0x3fe6d2['text']:_0x22329b,_0x26c28b=_0x3fe6d2['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2d2b32=_0x29a0bf['createContainerElement']('a',{'href':'#'+_0x26c28b,...!_0x3b74f4&&{'tabindex':'-1'}},[_0x29a0bf['createText'](_0x51af55)]),_0x58efb7=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x29a0bf['setCustomProperty']('tableOfContentsHeadingIndex',_0xf4512b,_0x2d2b32);const _0x18186d=_0x29a0bf['createContainerElement']('li',null,[_0x187b00||!_0x3b74f4&&_0x58efb7?_0x2d2b32:_0x29a0bf['createText']('')]),_0x2000cc=_0xf4512b?_0x148225[_0xf4512b-0x1]['level']:0x0,_0x31612b=Math['abs'](_0x3fe6d2['level']-_0x2000cc);if(_0x3fe6d2['level']>_0x2000cc){const _0x2c1919=P(_0x18186d,_0x31612b,_0x29a0bf);_0x29a0bf['insert'](_0x29a0bf['createPositionAt'](_0x2fe327,'end'),_0x2c1919);}else{const _0x583cc=function(_0x23c565,_0x471a54){return _0x23c565['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4e02b1=>_0x4e02b1['is']('element','ol'))[_0x471a54];}(_0x2fe327,_0x31612b);_0x29a0bf['insert'](_0x29a0bf['createPositionAt'](_0x583cc,'end'),_0x18186d);}_0x2fe327=_0x18186d;}),_0x2fc3bc;}['_handleScrollToHeading'](_0x14aa97){const _0x51d894=this['_currentOutlineDefinitions'][_0x14aa97]['modelElement'];this['editor']['model']['change'](_0x5d6beb=>{_0x5d6beb['setSelection'](_0x51d894,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x2e4308,_0x26461a)=>{const _0x13c7a7=_0x26461a['mapper'],_0xff3022=_0x13c7a7['findMappedViewAncestor'](_0x26461a['viewPosition']),_0x87cab3=_0x13c7a7['toModelElement'](_0xff3022);_0x87cab3['is']('element','tableOfContents')&&(_0x26461a['modelPosition']=this['editor']['model']['createPositionAt'](_0x87cab3,0x0),_0x2e4308['stop']());};}};function P(_0x5e37e8,_0x319326,_0x35f304){return 0x1===_0x319326?_0x35f304['createContainerElement']('ol',null,[_0x5e37e8]):_0x35f304['createContainerElement']('ol',null,[_0x35f304['createContainerElement']('li',null,[P(_0x5e37e8,_0x319326-0x1,_0x35f304)])]);}var U=class extends _0x309816{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xee0722=this['editor'];_0xee0722['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x29d576=this['_createButton'](_0x48f9e7);return _0x29d576['tooltip']=!0x0,_0x29d576;}),_0xee0722['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x590bd7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1cac2a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4f9ddf;for(const _0x3b5baa in _0x1cac2a){const _0x3887ba=_0x3b5baa,_0x14a70c=_0x1cac2a[_0x3887ba];if('tableOfContentsLicenseKeyValid'==_0x14a70c||'tableOfContentsLicenseKeyInvalid'==_0x14a70c||'tableOfContentsLicenseKeyExpired'==_0x14a70c||'tableOfContentsLicenseKeyDomainLimit'==_0x14a70c||'tableOfContentsLicenseKeyNotAllowed'==_0x14a70c||'tableOfContentsLicenseKeyEvaluationLimit'==_0x14a70c||'tableOfContentsLicenseKeyUsageLimit'==_0x14a70c){delete _0x1cac2a[_0x3887ba],_0x4f9ddf=_0x14a70c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4f9ddf&&_0x1cac2a['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4f9ddf&&_0x1cac2a['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4f9ddf&&_0x1cac2a['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4f9ddf&&_0x1cac2a['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4f9ddf&&_0x1cac2a['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4f9ddf&&_0x1cac2a['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x2e44d5){const _0xd5a1e8=this['editor'],_0x427048=_0xd5a1e8['locale'],_0x40c219=_0xd5a1e8['commands']['get']('insertTableOfContents'),_0x513c6b=new _0x2e44d5(_0x427048);return _0x513c6b['set']({'label':L(_0x427048,'Table\x20of\x20contents'),'icon':_0x3d000a}),_0x513c6b['bind']('isEnabled')['to'](_0x40c219,'isEnabled'),this['listenTo'](_0x513c6b,'execute',()=>{_0xd5a1e8['execute']('insertTableOfContents'),_0xd5a1e8['editing']['view']['focus']();}),_0x513c6b;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x309816{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 _0xdee441,Plugin as _0x23c712}from'@ckeditor/ckeditor5-core';import{debounce as _0x1741c3,throttle as _0x4382db}from'es-toolkit/compat';import{ModelText as _0x506b65,ModelTreeWalker as _0x11b431}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x1d97a7,Rect as _0x2c0ce9,diff as _0x1ea8db,diffToChanges as _0x5f3b87,global as _0x2db41a,priorities as _0x422f0e,scrollAncestorsToShowTarget as _0x48e909,uid as _0x5eda22}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x3a0fe1,MenuBarMenuListItemButtonView as _0xfe1ffb,View as _0xd92271}from'@ckeditor/ckeditor5-ui';import{Widget as _0x527f5b,toWidget as _0x4b47d9}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x2ca30d}from'@ckeditor/ckeditor5-icons';function b(_0x30cd3b){let _0x493d07='';for(const _0x14ef61 of _0x30cd3b['getChildren']())_0x14ef61 instanceof _0x506b65&&(_0x493d07+=_0x14ef61['data']);return _0x493d07;}var I=class extends _0x23c712{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x58afb8=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x425839=[];_0x58afb8['model']['document']['on']('change',_0x1741c3(()=>{const _0x2fe4f2=_0x425839;_0x425839=this['_getOutlineDefinitions']();const _0x7b6129=_0x5f3b87(_0x1ea8db(_0x2fe4f2,_0x425839,(_0x3561f6,_0x5c2e4c)=>_0x3561f6['level']===_0x5c2e4c['level']&&_0x3561f6['text']===_0x5c2e4c['text']&&_0x3561f6['modelElement']===_0x5c2e4c['modelElement']),_0x425839),_0x5e9085=this['_getActiveHeading'](),_0x3d9eae=_0x425839['findIndex'](_0xe65f3b=>_0xe65f3b['modelElement']===_0x5e9085);_0x7b6129['length']&&this['fire']('change',{'outlineDefinitions':_0x425839,'activeItemIndex':_0x3d9eae,'outlineChanges':_0x7b6129}),this['fire']('activeItemIndex',{'index':_0x3d9eae});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x511694=this['editor'],_0x5e1447=[],_0x12a41a=this['_headingNames'];for(const _0x2eb3d9 of _0x511694['model']['document']['getRootNames']())_0x599452(_0x511694['model']['document']['getRoot'](_0x2eb3d9));function _0x599452(_0x3af2d5){for(const _0x451c9a of _0x3af2d5['getChildren']())_0x451c9a['is']('element')&&(_0x12a41a['includes'](_0x451c9a['name'])&&_0x5e1447['push']({'level':_0x12a41a['indexOf'](_0x451c9a['name'])+0x1,'text':b(_0x451c9a),'modelElement':_0x451c9a}),_0x599452(_0x451c9a));}return _0x5e1447;}['_getActiveHeading'](){const _0x46bae2=new _0x11b431({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x254e26 of _0x46bae2)if(_0x254e26['item']['is']('element')&&this['_headingNames']['includes'](_0x254e26['item']['name']))return _0x254e26['item'];}['_getHeadingNames'](){const _0x16d5a3=this['editor']['config']['get']('documentOutline.headings');return _0x16d5a3||function(_0x37dc36){const _0x32996b=_0x37dc36['config']['get']('heading.options');return _0x32996b?_0x32996b['reduce']((_0x1139f6,_0x3686da)=>('paragraph'!==_0x3686da['model']&&_0x1139f6['push'](_0x3686da['model']),_0x1139f6),[]):_0x37dc36['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x241f58=this['editor'],_0x13ab60=['h1','h2','h3','h4','h5','h6'],_0x1262f0=[];for(const _0x3f6e3d of _0x13ab60){const _0x146be9=_0x241f58['editing']['view']['domConverter']['domToView'](document['createElement'](_0x3f6e3d)),_0x3e2c5f=_0x241f58['data']['toModel'](_0x146be9)['getChild'](0x0);_0x3e2c5f?.['is']('element')&&_0x1262f0['push'](_0x3e2c5f['name']);}this['_headingNames']=_0x1262f0;}};function L(_0x41a107,_0x45256f){const t=_0x41a107['t'];switch(_0x45256f){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 _0x45256f;}}var C=class extends _0xd92271{constructor(_0xd7ad6b,_0x3a0e54=!0x1){super(_0xd7ad6b);const _0x26fd5e=this['bindTemplate'],_0x1c2d16=_0x3a0e54?'['+L(_0xd7ad6b,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1f68f5=>!_0x1f68f5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x26fd5e['to']('level',_0x2470dd=>'ck-document-outline__item_level-'+_0x2470dd),_0x26fd5e['if']('isActive','ck-document-outline__item_active'),_0x26fd5e['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x26fd5e['to']('text')},'children':[{'text':_0x26fd5e['to']('text',_0x4980c7=>_0x4980c7||_0x1c2d16)}],'on':{'click':_0x26fd5e['to']('click')}});}},_=class extends _0xd92271{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x3c2dd2,_0x38bae0=!0x1,_0x36f291){super(_0x3c2dd2),this['showEmptyHeadingText']=_0x38bae0,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x36f291,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x342a85,_0xd3ef00,_0x53d111,_0x285441)=>{this['_setActiveItem'](_0x285441,_0x53d111);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3c2dd2['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x3c2dd2,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0xb03078){_0xb03078['forEach'](_0x4942cb=>{'insert'==_0x4942cb['type']?this['_insertItem'](_0x4942cb['index'],..._0x4942cb['values']):'delete'==_0x4942cb['type']&&this['_deleteItem'](_0x4942cb['index'],_0x4942cb['howMany']);});}['_setActiveItem'](_0x1f949f,_0x1c5648){if(-0x1!==_0x1f949f){const _0x3492c3=this['items']['get'](_0x1f949f);_0x3492c3&&(_0x3492c3['isActive']=!0x1);}-0x1!==_0x1c5648&&(this['items']['get'](_0x1c5648)['isActive']=!0x0,this['_scrollToItem'](_0x1c5648));}['_insertItem'](_0x1405b6,..._0x3e933b){const _0xf8a4aa=_0x3e933b['map']((_0x2838c6,_0x3fdc4a)=>{const _0x4993c9=new C(this['locale'],this['showEmptyHeadingText']);return _0x4993c9['text']=_0x2838c6['text'],_0x4993c9['level']=_0x2838c6['level'],_0x1405b6+_0x3fdc4a===this['activeItemIndex']&&(_0x4993c9['isActive']=!0x0),_0x4993c9;});this['items']['addMany'](_0xf8a4aa,_0x1405b6);}['_deleteItem'](_0x24c942,_0x3a8d40){do{this['items']['remove'](_0x24c942);}while(--_0x3a8d40);}['_handleItemClick'](_0x14ffe4){const _0x324129=this['items']['getIndex'](_0x14ffe4['source']);this['fire']('itemSelected',_0x324129);}['_scrollToItem'](_0x482de9){_0x48e909(this['items']['get'](_0x482de9)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},x=class extends _0x23c712{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x231df3){super(_0x231df3),this['view']=new _(_0x231df3['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x4382db(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2f83be=this['editor'],_0x1327bd=_0x2f83be['plugins']['get']('DocumentOutlineUtils');let _0x47f5ff=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2f83be['config']['get']('documentOutline.container'))throw new _0x1d97a7('document-outline-container-not-provided',{'editor':_0x2f83be});_0x2f83be['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x1327bd['on']('change',this['_handleOutlineChange']['bind'](this)),_0x1327bd['on']('activeItemIndex',(_0x52fe29,{index:_0x887e1c})=>this['_setActiveViewItem'](_0x887e1c)),this['view']['on']('itemSelected',(_0x3116d7,_0x3c8e47)=>{_0x47f5ff=!0x0,this['_handleItemSelected'](_0x3c8e47);}),this['view']['listenTo'](_0x2db41a['document'],'scroll',()=>{_0x47f5ff?_0x47f5ff=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x2db41a['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x35feb0){const _0x409c0a='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x51bc05=0x78fc0,_0x58669e=window['Date']['now'](),_0x2ac51b=_0x35feb0['editor'],_0x5d56e9=new window['Promise'](_0x23fa83=>{_0x2ac51b['once']('ready',_0x23fa83);}),_0x4b71fe={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x410442=_0x2ac51b['config']['get']('licenseKey');async function _0x3b53a1(){let _0x561840,_0xa99d17=null,_0x58e855=null;try{return'GPL'==_0x410442?'NotAllowed':(_0x561840=_0x32e1cb(),_0x561840?(_0x561840['usageEndpoint']&&(_0x58e855=_0x16d90f(_0x561840['usageEndpoint'],_0x561840['jti'])),await _0x3251be()?_0x26f228()?_0x52b208()?'Expired':_0x314353()?('evaluation'==_0x561840['licenseType']&&(_0xa99d17=_0x8c7bdd('EvaluationLimit')),await _0xeb1a4f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x52b208(){const _0x20a627=['evaluation','trial']['includes'](_0x561840['licenseType'])?_0x58669e/0x3e8:0xe10*_0x51bc05;return _0x561840['exp']<_0x20a627;}function _0x26f228(){const _0x120c5b=_0x561840['features'];return!!_0x120c5b&&(!!_0x120c5b['includes']('*')||(!!_0x120c5b['includes']('DO')||(!!_0x120c5b['includes']('PP')||!(!_0x120c5b['includes']('TRILIUM')||!_0x1ae871()))));}function _0x314353(){const _0x14b42c=_0x561840['licensedHosts'];if(!_0x14b42c||0x0==_0x14b42c['length'])return!0x0;const {hostname:_0x40416e}=new URL(window['location']['href']);if(_0x14b42c['includes'](_0x40416e))return!0x0;const _0x2b74f2=_0x40416e['split']('.');return _0x14b42c['filter'](_0x14b657=>_0x14b657['includes']('*'))['map'](_0x5906b6=>_0x5906b6['split']('.'))['filter'](_0x11db52=>_0x11db52['length']<=_0x2b74f2['length'])['map'](_0x108f1c=>Array(_0x2b74f2['length']-_0x108f1c['length'])['fill']('*'===_0x108f1c[0x0]?'*':'')['concat'](_0x108f1c))['some'](_0x3e0a86=>_0x2b74f2['every']((_0x1f6e0d,_0x1d6144)=>_0x3e0a86[_0x1d6144]===_0x1f6e0d||'*'===_0x3e0a86[_0x1d6144]));}function _0xeb1a4f(){return _0xa99d17&&_0x58e855?new window['Promise']((_0x23bbe9,_0x43977d)=>{_0xa99d17['then'](_0x23bbe9,_0x43977d),_0x58e855['then'](_0x4d06bb=>{'Valid'!=_0x4d06bb&&_0x23bbe9(_0x4d06bb);},_0x43977d);}):_0xa99d17||_0x58e855||'Valid';}}function _0x16d90f(_0x423ee3,_0x199f7c){return new window['Promise'](_0x1e2527=>{if(_0x3dfbc4())return _0x1e2527('Valid');_0x10825c(),_0x2ac51b['decorate']('_sendUsageRequest');let _0x3057b5=!0x1;const _0x533bd8=_0x5eda22();function _0x36bf8a(_0x3f0462){return!!_0x3f0462&&('object'==typeof _0x3f0462||'function'==typeof _0x3f0462)&&'function'==typeof _0x3f0462['then']&&'function'==typeof _0x3f0462['catch'];}function _0x8266b0(_0x42a10d){_0x5a8e99(_0x42a10d)['then'](_0x44570a=>_0x44570a&&'ok'==_0x44570a['status']?_0x252322(_0x1c97af(_0x533bd8+_0x199f7c))!=_0x44570a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x16f03b=>(_0x1cf903(),_0x16f03b),()=>{const _0x1e43d2=_0x4f2042();return null==_0x1e43d2?(_0x1cf903(),'Valid'):_0x58669e-_0x1e43d2>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1e2527)['catch'](()=>{_0x1e2527('UsageLimit');});const _0x1b4cef=0x36ee80;function _0x1cf903(){const _0x210617='llct-'+_0x252322(_0x1c97af(_0x423ee3)),_0x8495eb=_0x54150f(_0x252322(window['Math']['ceil'](_0x58669e/_0x1b4cef)));window['localStorage']['setItem'](_0x210617,_0x8495eb);}function _0x4f2042(){const _0x394140='llct-'+_0x252322(_0x1c97af(_0x423ee3)),_0xc8b973=window['localStorage']['getItem'](_0x394140);return _0xc8b973?window['parseInt'](_0x54150f(_0xc8b973),0x10)*_0x1b4cef:null;}function _0x5a8e99(_0x471c98){return new window['Promise']((_0x1b2f4c,_0x40c0b2)=>{_0x471c98['then'](_0x1b2f4c,_0x40c0b2),window['setTimeout'](_0x40c0b2,0x1d4c0);});}}_0x2ac51b['on']('_sendUsageRequest',(_0x37570b,_0x4590dc)=>{if(_0x4590dc[0x0]!=_0x423ee3)return _0x1e2527('UsageLimit');_0x4590dc[0x1]={..._0x4590dc[0x1],'requestId':_0x533bd8};},{'priority':'high'}),_0x2ac51b['on']('_sendUsageRequest',_0x4c52cf=>{_0x36bf8a(_0x4c52cf['return'])&&(_0x3057b5=!0x0,_0x8266b0(_0x4c52cf['return']));},{'priority':'low'}),_0x5d56e9['then'](()=>{_0x3057b5||_0x1e2527('UsageLimit');});});function _0x3dfbc4(){return'auto'==_0x2ac51b['editing']['view']['_overlayModeHint'];}function _0x10825c(){_0x2ac51b['editing']['view']['_overlayModeHint']='auto';}}function _0x8c7bdd(_0x4525a1){const _0x5e9edb=[new window['Promise'](_0xb634ba=>setTimeout(_0xb634ba,0x93ecc)),_0x5d56e9['then'](()=>new window['Promise'](_0xb7e0e0=>{let _0xbfcd31=0x0;_0x2ac51b['model']['on']('applyOperation',(_0x4c17d2,_0x4c024d)=>{_0x4c024d[0x0]['isDocumentOperation']&&_0xbfcd31++,0x5e8==_0xbfcd31&&(_0xb7e0e0(),_0x4c17d2['off']());});}))];return window['Promise']['race'](_0x5e9edb)['then'](()=>_0x4525a1);}async function _0x3bd657(){await _0x5d56e9,_0x2ac51b['model']['change']=_0x53d51c,_0x2ac51b['model']['enqueueChange']=_0x53d51c,_0x2ac51b['enableReadOnlyMode']('model');}function _0x1ae871(){return window['glob']&&window['glob']['triliumVersion'];}function _0x33bdb9(_0x4cc03c){const _0x47904c=_0x17d11c();_0x2ac51b[_0x47904c]='documentOutlineLicenseKey'+_0x4cc03c,'Valid'!=_0x4cc03c&&_0x3bd657();}function _0x17d11c(){const _0x5dfdc1=window['String'](window['performance']['now']())['replace']('.','');let _0x549153='a';for(let _0x590e02=0x0;_0x590e02<_0x5dfdc1['length'];_0x590e02+=0x2){let _0x4dc7d5=window['parseInt'](_0x5dfdc1['substring'](_0x590e02,_0x590e02+0x2));_0x4dc7d5>=0x3e&&(_0x4dc7d5-=0x3e),_0x549153+=_0x409c0a[_0x4dc7d5];}return _0x549153;}function _0x32e1cb(){const _0x494166=_0x410442['split']('.');if(0x3!=_0x494166['length'])return null;return _0x45ae2e(_0x494166[0x1]);function _0x45ae2e(_0x4bce6a){const _0x2333d0=_0x30da38(_0x4bce6a);return _0x2333d0&&_0x25e9ef()?_0x2333d0:null;function _0x25e9ef(){const _0x1b96a7=_0x2333d0['jti'],_0x399bc6=window['parseInt'](_0x1b96a7['substring'](_0x1b96a7['length']-0x8),0x10),_0x91aa1b={..._0x2333d0,'jti':_0x1b96a7['substring'](0x0,_0x1b96a7['length']-0x8)};return delete _0x91aa1b['vc'],_0x1c97af(_0x91aa1b)==_0x399bc6;}}}async function _0x3251be(){let _0x5b87fe=!0x0;try{const [_0x4e79b3,_0x5a56a7,_0x4bcda0]=_0x410442['split']('.');return _0x5c365d(_0x4e79b3),await _0x47f18a(_0x4e79b3,_0x5a56a7,_0x4bcda0),_0x5b87fe;}catch{return!0x1;}function _0x5c365d(_0x3c7004){const _0x18cddf=_0x30da38(_0x3c7004);_0x18cddf&&'ES256'==_0x18cddf['alg']||(_0x5b87fe=!0x1);}async function _0x47f18a(_0x148d9d,_0x2608a9,_0x51bb27){const _0x50eb5f=window['Uint8Array']['from'](_0x3a07d5(_0x51bb27),_0x1fa6bc=>_0x1fa6bc['charCodeAt'](0x0)),_0x4887ba=new window['TextEncoder']()['encode'](_0x148d9d+'.'+_0x2608a9),_0x551569=window['crypto']['subtle'];if(!_0x551569)return;const _0x247e70=await _0x551569['importKey']('jwk',_0x4b71fe,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x551569['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x247e70,_0x50eb5f,_0x4887ba)||(_0x5b87fe=!0x1);}}function _0x30da38(_0x432e46){return _0x432e46['startsWith']('ey')?JSON['parse'](_0x3a07d5(_0x432e46)):null;}function _0x3a07d5(_0x3572f){return window['atob'](_0x3572f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1c97af(_0x1dc433){let _0x283d4a=0x1505;function _0x230385(_0x2d8e4b){for(let _0x5004f9=0x0;_0x5004f9<_0x2d8e4b['length'];_0x5004f9++){const _0x3fb3eb=_0x2d8e4b['charCodeAt'](_0x5004f9);_0x283d4a=(_0x283d4a<<0x5)+_0x283d4a+_0x3fb3eb,_0x283d4a&=_0x283d4a;}}function _0x17025a(_0x5caa5f){Array['isArray'](_0x5caa5f)?_0x5caa5f['forEach'](_0x17025a):_0x5caa5f&&'object'==typeof _0x5caa5f?Object['entries'](_0x5caa5f)['sort']()['forEach'](([_0x271955,_0x4d0fb6])=>{_0x230385(_0x271955),_0x17025a(_0x4d0fb6);}):_0x230385(window['String'](_0x5caa5f));}return _0x17025a(_0x1dc433),_0x283d4a>>>0x0;}function _0x252322(_0x3470bf){return _0x3470bf['toString'](0x10)['padStart'](0x8,'0');}function _0x54150f(_0x25f6a0){return _0x25f6a0['split']('')['reverse']()['join']('');}function _0x53d51c(){}_0x33bdb9(await _0x3b53a1());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x395f74,{outlineDefinitions:_0x5ba45b,outlineChanges:_0x3846b5}){this['_currentOutlineDefinitions']=_0x5ba45b,this['view']['sync'](_0x3846b5);}['_setActiveViewItem'](_0x59429a){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x59429a]&&(this['view']['activeItemIndex']=_0x59429a);}['_handleItemSelected'](_0x3e8f0e){const _0x329c82=this['_currentOutlineDefinitions'][_0x3e8f0e]['modelElement'];this['editor']['model']['change'](_0x436ba2=>{_0x436ba2['setSelection'](_0x329c82,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x3e8f0e);}['_updateActiveDefinitionOnViewportChange'](){const _0x42b359=this['editor'];let _0x5b2932;for(const _0x508441 of _0x42b359['model']['document']['getRootNames']()){const _0x5b4df6=_0x42b359['editing']['view']['getDomRoot'](_0x508441),_0x3c4cfa=_0x5b4df6&&new _0x2c0ce9(_0x5b4df6)['getVisible']();if(_0x3c4cfa){const _0x315fa9=new _0x2c0ce9(_0x2db41a['window'])['getIntersection'](_0x3c4cfa);_0x315fa9&&(_0x5b2932=_0x315fa9['top']+0.25*_0x315fa9['height']);}}if(void 0x0===_0x5b2932)return;const _0x467a61=k(_0x42b359['editing'],this['_currentOutlineDefinitions'],_0x5b2932);_0x467a61?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x467a61)):this['_setActiveViewItem'](-0x1);}};function k(_0x4c9ee7,_0x1b68fa,_0x155f6a,_0x37b773=0x0,_0x4df6e8=_0x1b68fa['length']-0x1){const _0x408e6c=Math['floor'](_0x37b773+(_0x4df6e8-_0x37b773)/0x2);if(_0x4df6e8>=_0x37b773){const _0x29727b=_0x1b68fa[_0x408e6c],_0x30b2b2=_0x4c9ee7['mapper']['toViewElement'](_0x29727b['modelElement']);return _0x30b2b2?new _0x2c0ce9(_0x4c9ee7['view']['domConverter']['mapViewToDom'](_0x30b2b2))['bottom']>_0x155f6a?k(_0x4c9ee7,_0x1b68fa,_0x155f6a,_0x37b773,_0x408e6c-0x1):k(_0x4c9ee7,_0x1b68fa,_0x155f6a,_0x408e6c+0x1,_0x4df6e8):null;}return _0x408e6c<0x0?null:_0x1b68fa[_0x408e6c];}var E=class extends _0x23c712{['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 _0x3d4800=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f8a23;for(const _0x15e347 in _0x3d4800){const _0x1d77f3=_0x15e347,_0x223d52=_0x3d4800[_0x1d77f3];if('documentOutlineLicenseKeyValid'==_0x223d52||'documentOutlineLicenseKeyInvalid'==_0x223d52||'documentOutlineLicenseKeyExpired'==_0x223d52||'documentOutlineLicenseKeyDomainLimit'==_0x223d52||'documentOutlineLicenseKeyNotAllowed'==_0x223d52||'documentOutlineLicenseKeyEvaluationLimit'==_0x223d52||'documentOutlineLicenseKeyUsageLimit'==_0x223d52){delete _0x3d4800[_0x1d77f3],_0x1f8a23=_0x223d52,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x1f8a23&&_0x3d4800['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x1f8a23&&_0x3d4800['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x1f8a23&&_0x3d4800['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x1f8a23&&_0x3d4800['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x1f8a23&&_0x3d4800['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x1f8a23&&_0x3d4800['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0xdee441{['execute'](){this['editor']['model']['change'](_0x457138=>{this['editor']['model']['insertObject'](_0x457138['createElement']('tableOfContents'));});}['refresh'](){const _0x40b160=this['editor']['model'],_0x9ae0eb=_0x40b160['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x9ae0eb&&_0x40b160['schema']['findAllowedParent'](_0x9ae0eb,'tableOfContents'));}},A=class extends _0x23c712{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x610e64=this['editor'];if(_0x610e64['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x4c5683,modelNames:_0x2e3e3e}=function(_0x14c2fc){const _0x3f1260=new Set(),_0xc757ea=new Set();if(!_0x14c2fc)return{'viewNames':_0x3f1260,'modelNames':_0xc757ea};for(const _0x2cb492 of _0x14c2fc){if('paragraph'===_0x2cb492['model'])continue;const _0x2035d7='string'==typeof _0x2cb492['view']?_0x2cb492['view']:_0x2cb492['view']['name'];_0x3f1260['add'](_0x2035d7),_0xc757ea['add'](_0x2cb492['model']);}return _0x3f1260['has']('h1')||(_0x3f1260['add']('h1'),_0xc757ea['add']('heading1')),{'viewNames':_0x3f1260,'modelNames':_0xc757ea};}(this['editor']['config']['get']('heading.options'));for(const _0x2e5773 of _0x4c5683)this['_customUpcastHeadingsConversion'](_0x2e5773);for(const _0x5462e6 of _0x2e3e3e)this['_customDataDowncastHeadingsConversion'](_0x5462e6),_0x610e64['model']['schema']['isRegistered'](_0x5462e6)&&_0x610e64['model']['schema']['extend'](_0x5462e6,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x2e3e3e);}['_customUpcastHeadingsConversion'](_0x2ba2f3){this['editor']['conversion']['for']('upcast')['add'](_0x1c0eeb=>_0x1c0eeb['on']('element:'+_0x2ba2f3,(_0x348a52,_0x5b6486,_0x349594)=>{const {consumable:_0x3a5477,writer:_0x178cc3}=_0x349594,_0x39bcca=_0x5b6486['viewItem']['getAttribute']('id'),_0x330ee4=_0x5b6486['modelRange']?.['getContainedElement']();if(_0x330ee4)return _0x39bcca&&_0x39bcca['length']||_0x330ee4['hasAttribute']('headingId')?void(_0x3a5477['consume'](_0x5b6486['viewItem'],{'attributes':['id']})&&_0x178cc3['setAttribute']('headingId',_0x39bcca,_0x330ee4)):(_0x3a5477['consume'](_0x5b6486['viewItem'],{'attributes':['id']}),void _0x178cc3['setAttribute']('headingId',_0x5eda22(),_0x330ee4));},{'priority':_0x422f0e['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x262a1d){this['editor']['conversion']['for']('downcast')['add'](_0x3cb923=>_0x3cb923['on']('attribute:headingId:'+_0x262a1d,(_0x544dab,_0x29d74a,_0x6a878b)=>{if(!_0x6a878b['consumable']['consume'](_0x29d74a['item'],_0x544dab['name']))return;const _0x33c2d7=_0x29d74a['item']['getAttribute']('headingId'),_0x27c6bc=_0x6a878b['mapper']['toViewElement'](_0x29d74a['item']);_0x6a878b['writer']['setAttribute']('id',_0x33c2d7,_0x27c6bc);}));}['_registerHeadingIdAttributePostfixer'](_0x30f478){const _0x315696=this['editor'],_0x35e743=new Set(),_0x499da6=new Set();function _0x182d8d(_0x388d30,_0x4c5a6e){const _0xff3686=_0x5eda22();return _0x499da6['add'](_0xff3686),_0x388d30['setAttribute']('headingId',_0xff3686,_0x4c5a6e),_0xff3686;}function _0x57c00a(_0x512eea,_0x516447){_0x512eea['removeAttribute']('headingId',_0x516447);}_0x315696['model']['document']['registerPostFixer'](_0x597aa9=>{const _0x2c1058=_0x315696['model']['document']['differ']['getChanges']();let _0x463742=!0x1;for(const _0x11d821 of _0x2c1058)if('insert'==_0x11d821['type']&&_0x11d821['name']){if(_0x30f478['has'](_0x11d821['name'])){const _0x162c99=_0x11d821['attributes']['get']('headingId');'string'==typeof _0x162c99?_0x35e743['has'](_0x162c99)?(_0x182d8d(_0x597aa9,_0x11d821['position']['nodeAfter']),_0x463742=!0x0):_0x499da6['add'](_0x162c99):(_0x182d8d(_0x597aa9,_0x11d821['position']['nodeAfter']),_0x463742=!0x0);}else'string'==typeof _0x11d821['attributes']['get']('headingId')&&(_0x57c00a(_0x597aa9,_0x11d821['position']['nodeAfter']),_0x463742=!0x0);}else{if('remove'==_0x11d821['type']){const _0x2e49aa=_0x11d821['attributes']['get']('headingId');'string'==typeof _0x2e49aa&&_0x35e743['delete'](_0x2e49aa);}}return _0x463742;}),_0x315696['model']['document']['on']('change',()=>{_0x499da6['forEach'](_0x819f8d=>_0x35e743['add'](_0x819f8d)),_0x499da6['clear']();});}},N=class extends _0x23c712{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x527f5b,I,A];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x1ca23c){super(_0x1ca23c),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x54a914=this['editor'],_0x13678c=_0x54a914['editing']['view']['document'];_0x54a914['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x54a914['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x13678c,'click',(_0x10418c,_0x22dfeb)=>{if(!_0x22dfeb['target'])return;const _0x243fa0=_0x22dfeb['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x243fa0)&&(_0x22dfeb['domEvent']['preventDefault'](),_0x10418c['stop'](),this['_handleScrollToHeading'](_0x243fa0));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x54a914['commands']['add']('insertTableOfContents',new K(_0x54a914));const _0x31f5df=_0x54a914['config']['get']('tableOfContents.headings');_0x31f5df&&_0x31f5df['length']?this['listenTo'](_0x54a914['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x31f5df),this['_updateTableOfContentsElements']();}):_0x54a914['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x42d0ab,_0x28dd5c)=>{this['_currentOutlineDefinitions']=_0x28dd5c['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x54a914['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x276c05){const _0x2f373a='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x42c264=0x78fc0,_0x5bbc5d=window['Date']['now'](),_0x1c419f=_0x276c05['editor'],_0x2ca773=new window['Promise'](_0x360415=>{_0x1c419f['once']('ready',_0x360415);}),_0x3a0674={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3ed527=_0x1c419f['config']['get']('licenseKey');async function _0x819dbc(){let _0x1402c1,_0x21bb41=null,_0x2185e7=null;try{return'GPL'==_0x3ed527?'NotAllowed':(_0x1402c1=_0x20308f(),_0x1402c1?(_0x1402c1['usageEndpoint']&&(_0x2185e7=_0x200e65(_0x1402c1['usageEndpoint'],_0x1402c1['jti'])),await _0x5a791c()?_0xff89df()?_0x329f9a()?'Expired':_0x23f8ae()?('evaluation'==_0x1402c1['licenseType']&&(_0x21bb41=_0x51c3c3('EvaluationLimit')),await _0x1eda56()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x329f9a(){const _0x1c8d56=['evaluation','trial']['includes'](_0x1402c1['licenseType'])?_0x5bbc5d/0x3e8:0xe10*_0x42c264;return _0x1402c1['exp']<_0x1c8d56;}function _0xff89df(){const _0x3726d1=_0x1402c1['features'];return!!_0x3726d1&&(!!_0x3726d1['includes']('*')||(!!_0x3726d1['includes']('TOC')||(!!_0x3726d1['includes']('PP')||!(!_0x3726d1['includes']('TRILIUM')||!_0x3f7bf4()))));}function _0x23f8ae(){const _0x24dc96=_0x1402c1['licensedHosts'];if(!_0x24dc96||0x0==_0x24dc96['length'])return!0x0;const {hostname:_0x1ff68e}=new URL(window['location']['href']);if(_0x24dc96['includes'](_0x1ff68e))return!0x0;const _0x299166=_0x1ff68e['split']('.');return _0x24dc96['filter'](_0x412255=>_0x412255['includes']('*'))['map'](_0x5095b4=>_0x5095b4['split']('.'))['filter'](_0x3b337d=>_0x3b337d['length']<=_0x299166['length'])['map'](_0x4272ef=>Array(_0x299166['length']-_0x4272ef['length'])['fill']('*'===_0x4272ef[0x0]?'*':'')['concat'](_0x4272ef))['some'](_0x5d6246=>_0x299166['every']((_0x51929e,_0x32956d)=>_0x5d6246[_0x32956d]===_0x51929e||'*'===_0x5d6246[_0x32956d]));}function _0x1eda56(){return _0x21bb41&&_0x2185e7?new window['Promise']((_0x319a00,_0x54ca78)=>{_0x21bb41['then'](_0x319a00,_0x54ca78),_0x2185e7['then'](_0xff7d93=>{'Valid'!=_0xff7d93&&_0x319a00(_0xff7d93);},_0x54ca78);}):_0x21bb41||_0x2185e7||'Valid';}}function _0x200e65(_0x52741d,_0x1e9112){return new window['Promise'](_0xf57a4b=>{if(_0x44c9d8())return _0xf57a4b('Valid');_0x304a23(),_0x1c419f['decorate']('_sendUsageRequest');let _0x5e3e15=!0x1;const _0x2098a8=_0x5eda22();function _0xf569d1(_0x46ae1a){return!!_0x46ae1a&&('object'==typeof _0x46ae1a||'function'==typeof _0x46ae1a)&&'function'==typeof _0x46ae1a['then']&&'function'==typeof _0x46ae1a['catch'];}function _0x30cfce(_0x46e7a4){_0x11be4d(_0x46e7a4)['then'](_0xe2470d=>_0xe2470d&&'ok'==_0xe2470d['status']?_0x29f646(_0x52c092(_0x2098a8+_0x1e9112))!=_0xe2470d['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x227716=>(_0x5c461b(),_0x227716),()=>{const _0xe90838=_0x2d841e();return null==_0xe90838?(_0x5c461b(),'Valid'):_0x5bbc5d-_0xe90838>0x240c8400?'UsageLimit':'Valid';})['then'](_0xf57a4b)['catch'](()=>{_0xf57a4b('UsageLimit');});const _0x3abeb7=0x36ee80;function _0x5c461b(){const _0x59e731='llct-'+_0x29f646(_0x52c092(_0x52741d)),_0x25c76f=_0x4b0fac(_0x29f646(window['Math']['ceil'](_0x5bbc5d/_0x3abeb7)));window['localStorage']['setItem'](_0x59e731,_0x25c76f);}function _0x2d841e(){const _0x210324='llct-'+_0x29f646(_0x52c092(_0x52741d)),_0x38f238=window['localStorage']['getItem'](_0x210324);return _0x38f238?window['parseInt'](_0x4b0fac(_0x38f238),0x10)*_0x3abeb7:null;}function _0x11be4d(_0x870182){return new window['Promise']((_0x1bbd05,_0x4b31ab)=>{_0x870182['then'](_0x1bbd05,_0x4b31ab),window['setTimeout'](_0x4b31ab,0x1d4c0);});}}_0x1c419f['on']('_sendUsageRequest',(_0x11319b,_0x11bc5d)=>{if(_0x11bc5d[0x0]!=_0x52741d)return _0xf57a4b('UsageLimit');_0x11bc5d[0x1]={..._0x11bc5d[0x1],'requestId':_0x2098a8};},{'priority':'high'}),_0x1c419f['on']('_sendUsageRequest',_0x131a04=>{_0xf569d1(_0x131a04['return'])&&(_0x5e3e15=!0x0,_0x30cfce(_0x131a04['return']));},{'priority':'low'}),_0x2ca773['then'](()=>{_0x5e3e15||_0xf57a4b('UsageLimit');});});function _0x44c9d8(){return'auto'==_0x1c419f['editing']['view']['_overlayModeHint'];}function _0x304a23(){_0x1c419f['editing']['view']['_overlayModeHint']='auto';}}function _0x51c3c3(_0x2b3068){const _0x5590ba=[new window['Promise'](_0xbd160b=>setTimeout(_0xbd160b,0x93ecc)),_0x2ca773['then'](()=>new window['Promise'](_0x597385=>{let _0x3826d8=0x0;_0x1c419f['model']['on']('applyOperation',(_0x596b49,_0x40ab92)=>{_0x40ab92[0x0]['isDocumentOperation']&&_0x3826d8++,0x5e8==_0x3826d8&&(_0x597385(),_0x596b49['off']());});}))];return window['Promise']['race'](_0x5590ba)['then'](()=>_0x2b3068);}async function _0xb237f4(){await _0x2ca773,_0x1c419f['model']['change']=_0x216414,_0x1c419f['model']['enqueueChange']=_0x216414,_0x1c419f['enableReadOnlyMode']('model');}function _0x3f7bf4(){return window['glob']&&window['glob']['triliumVersion'];}function _0x257fc2(_0x112ce6){const _0xa504f2=_0x486b1e();_0x1c419f[_0xa504f2]='tableOfContentsLicenseKey'+_0x112ce6,'Valid'!=_0x112ce6&&_0xb237f4();}function _0x486b1e(){const _0x814958=window['String'](window['performance']['now']())['replace']('.','');let _0x208c23='m';for(let _0x124ae8=0x0;_0x124ae8<_0x814958['length'];_0x124ae8+=0x2){let _0x3b85e9=window['parseInt'](_0x814958['substring'](_0x124ae8,_0x124ae8+0x2));_0x3b85e9>=0x3e&&(_0x3b85e9-=0x3e),_0x208c23+=_0x2f373a[_0x3b85e9];}return _0x208c23;}function _0x20308f(){const _0x59136f=_0x3ed527['split']('.');if(0x3!=_0x59136f['length'])return null;return _0x373c2c(_0x59136f[0x1]);function _0x373c2c(_0x19c151){const _0x3e149d=_0x11f486(_0x19c151);return _0x3e149d&&_0x435c02()?_0x3e149d:null;function _0x435c02(){const _0x3328ca=_0x3e149d['jti'],_0x140adf=window['parseInt'](_0x3328ca['substring'](_0x3328ca['length']-0x8),0x10),_0x5b5cf2={..._0x3e149d,'jti':_0x3328ca['substring'](0x0,_0x3328ca['length']-0x8)};return delete _0x5b5cf2['vc'],_0x52c092(_0x5b5cf2)==_0x140adf;}}}async function _0x5a791c(){let _0x497c8c=!0x0;try{const [_0x53c90d,_0x514b94,_0x214340]=_0x3ed527['split']('.');return _0x44a587(_0x53c90d),await _0x4263ea(_0x53c90d,_0x514b94,_0x214340),_0x497c8c;}catch{return!0x1;}function _0x44a587(_0xac5e6d){const _0x4433a8=_0x11f486(_0xac5e6d);_0x4433a8&&'ES256'==_0x4433a8['alg']||(_0x497c8c=!0x1);}async function _0x4263ea(_0x54e8ac,_0x1062c1,_0x5796d8){const _0x169536=window['Uint8Array']['from'](_0x23ae01(_0x5796d8),_0x199915=>_0x199915['charCodeAt'](0x0)),_0x45761c=new window['TextEncoder']()['encode'](_0x54e8ac+'.'+_0x1062c1),_0x57a209=window['crypto']['subtle'];if(!_0x57a209)return;const _0x439c9a=await _0x57a209['importKey']('jwk',_0x3a0674,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x57a209['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x439c9a,_0x169536,_0x45761c)||(_0x497c8c=!0x1);}}function _0x11f486(_0x4d8654){return _0x4d8654['startsWith']('ey')?JSON['parse'](_0x23ae01(_0x4d8654)):null;}function _0x23ae01(_0x460063){return window['atob'](_0x460063['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x52c092(_0x2503de){let _0x5f294e=0x1505;function _0x582e52(_0x476345){for(let _0x5c6be3=0x0;_0x5c6be3<_0x476345['length'];_0x5c6be3++){const _0x5720a7=_0x476345['charCodeAt'](_0x5c6be3);_0x5f294e=(_0x5f294e<<0x5)+_0x5f294e+_0x5720a7,_0x5f294e&=_0x5f294e;}}function _0xf45442(_0x4946e7){Array['isArray'](_0x4946e7)?_0x4946e7['forEach'](_0xf45442):_0x4946e7&&'object'==typeof _0x4946e7?Object['entries'](_0x4946e7)['sort']()['forEach'](([_0x48a237,_0xfad3e])=>{_0x582e52(_0x48a237),_0xf45442(_0xfad3e);}):_0x582e52(window['String'](_0x4946e7));}return _0xf45442(_0x2503de),_0x5f294e>>>0x0;}function _0x29f646(_0x288e5d){return _0x288e5d['toString'](0x10)['padStart'](0x8,'0');}function _0x4b0fac(_0x54e52f){return _0x54e52f['split']('')['reverse']()['join']('');}function _0x216414(){}_0x257fc2(await _0x819dbc());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x365aa1=>{'$graveyard'!==_0x365aa1['rootName']&&this['editor']['editing']['reconvertItem'](_0x365aa1);});}['_trackNewToCElements'](){for(const _0x5717c7 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x5717c7['type']||'tableOfContents'!==_0x5717c7['name'])return;this['_tableOfContentsElements']['add'](_0x5717c7['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x580755){const _0x2f9717=this['editor'],_0x12341d=[];for(const _0x5a54c0 of _0x2f9717['model']['document']['getRootNames']())_0x40ca5e(_0x2f9717['model']['document']['getRoot'](_0x5a54c0));function _0x40ca5e(_0x415a0d){for(const _0x44cafc of _0x415a0d['getChildren']())_0x44cafc['is']('element')&&(_0x580755['includes'](_0x44cafc['name'])&&_0x12341d['push']({'level':_0x580755['indexOf'](_0x44cafc['name'])+0x1,'text':b(_0x44cafc),'modelElement':_0x44cafc}),_0x40ca5e(_0x44cafc));}return _0x12341d;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x381274=this['editor']['conversion'];_0x381274['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x381274['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x63ed95,{writer:_0x256e5a})=>this['_createTableOfContents'](_0x256e5a,!0x0)}),_0x381274['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x43679b,{writer:_0x30dd5b})=>(this['_tableOfContentsElements']['add'](_0x43679b),_0x4b47d9(this['_createTableOfContents'](_0x30dd5b),_0x30dd5b,{'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'](_0x3b8d89,_0x21e3c5=!0x1){const {locale:_0x49f79f}=this['editor'],_0x587e09=_0x3b8d89['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x21e3c5&&{'data-table-of-contents-label':L(_0x49f79f,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x21e3c5&&_0x3b8d89['insert'](_0x3b8d89['createPositionAt'](_0x587e09,'end'),_0x3b8d89['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x3b8d89['createText'](L(_0x49f79f,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x1b80a6=_0x21e3c5?'':'['+L(_0x49f79f,'Empty\x20heading')+']';let _0x3d5073=_0x587e09;return this['_currentOutlineDefinitions']['forEach']((_0x2a4025,_0x2a6bcc,_0x338393)=>{const _0x294e78=this['editor']['model']['hasContent'](_0x2a4025['modelElement'],{'ignoreWhitespaces':!0x0}),_0x1863d7=_0x294e78?_0x2a4025['text']:_0x1b80a6,_0x441c7a=_0x2a4025['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x5d2ca3=_0x3b8d89['createContainerElement']('a',{'href':'#'+_0x441c7a,...!_0x21e3c5&&{'tabindex':'-1'}},[_0x3b8d89['createText'](_0x1863d7)]),_0x325345=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x3b8d89['setCustomProperty']('tableOfContentsHeadingIndex',_0x2a6bcc,_0x5d2ca3);const _0x2f5d12=_0x3b8d89['createContainerElement']('li',null,[_0x294e78||!_0x21e3c5&&_0x325345?_0x5d2ca3:_0x3b8d89['createText']('')]),_0x316d9b=_0x2a6bcc?_0x338393[_0x2a6bcc-0x1]['level']:0x0,_0x3a308f=Math['abs'](_0x2a4025['level']-_0x316d9b);if(_0x2a4025['level']>_0x316d9b){const _0x1e8bbb=P(_0x2f5d12,_0x3a308f,_0x3b8d89);_0x3b8d89['insert'](_0x3b8d89['createPositionAt'](_0x3d5073,'end'),_0x1e8bbb);}else{const _0x5224ad=function(_0x2bce61,_0x533c76){return _0x2bce61['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x42a3f9=>_0x42a3f9['is']('element','ol'))[_0x533c76];}(_0x3d5073,_0x3a308f);_0x3b8d89['insert'](_0x3b8d89['createPositionAt'](_0x5224ad,'end'),_0x2f5d12);}_0x3d5073=_0x2f5d12;}),_0x587e09;}['_handleScrollToHeading'](_0x4a3f99){const _0x4562a3=this['_currentOutlineDefinitions'][_0x4a3f99]['modelElement'];this['editor']['model']['change'](_0x42cd5f=>{_0x42cd5f['setSelection'](_0x4562a3,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x1cdde0,_0x139bb4)=>{const _0x35a5f3=_0x139bb4['mapper'],_0x4d4e9a=_0x35a5f3['findMappedViewAncestor'](_0x139bb4['viewPosition']),_0x3d6e48=_0x35a5f3['toModelElement'](_0x4d4e9a);_0x3d6e48['is']('element','tableOfContents')&&(_0x139bb4['modelPosition']=this['editor']['model']['createPositionAt'](_0x3d6e48,0x0),_0x1cdde0['stop']());};}};function P(_0x5b388a,_0x23caf2,_0x4ca47f){return 0x1===_0x23caf2?_0x4ca47f['createContainerElement']('ol',null,[_0x5b388a]):_0x4ca47f['createContainerElement']('ol',null,[_0x4ca47f['createContainerElement']('li',null,[P(_0x5b388a,_0x23caf2-0x1,_0x4ca47f)])]);}var U=class extends _0x23c712{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x37ea7f=this['editor'];_0x37ea7f['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x296e8c=this['_createButton'](_0x3a0fe1);return _0x296e8c['tooltip']=!0x0,_0x296e8c;}),_0x37ea7f['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0xfe1ffb)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5625d4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4675e9;for(const _0x2bef72 in _0x5625d4){const _0x377039=_0x2bef72,_0x31a509=_0x5625d4[_0x377039];if('tableOfContentsLicenseKeyValid'==_0x31a509||'tableOfContentsLicenseKeyInvalid'==_0x31a509||'tableOfContentsLicenseKeyExpired'==_0x31a509||'tableOfContentsLicenseKeyDomainLimit'==_0x31a509||'tableOfContentsLicenseKeyNotAllowed'==_0x31a509||'tableOfContentsLicenseKeyEvaluationLimit'==_0x31a509||'tableOfContentsLicenseKeyUsageLimit'==_0x31a509){delete _0x5625d4[_0x377039],_0x4675e9=_0x31a509,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x4675e9&&_0x5625d4['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x4675e9&&_0x5625d4['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x4675e9&&_0x5625d4['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x4675e9&&_0x5625d4['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x4675e9&&_0x5625d4['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x4675e9&&_0x5625d4['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x57ce54){const _0xb6a0d1=this['editor'],_0x46aa95=_0xb6a0d1['locale'],_0x1b90ed=_0xb6a0d1['commands']['get']('insertTableOfContents'),_0x58de56=new _0x57ce54(_0x46aa95);return _0x58de56['set']({'label':L(_0x46aa95,'Table\x20of\x20contents'),'icon':_0x2ca30d}),_0x58de56['bind']('isEnabled')['to'](_0x1b90ed,'isEnabled'),this['listenTo'](_0x58de56,'execute',()=>{_0xb6a0d1['execute']('insertTableOfContents'),_0xb6a0d1['editing']['view']['focus']();}),_0x58de56;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},D=class extends _0x23c712{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':_0x1fe3da=>0x1!=_0x1fe3da}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xf6c1d3=>{const {af:{dictionary:_0x2cc9c8,getPluralForm:_0x5aa7a0}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x4a1d9f=>0x1!=_0x4a1d9f}};_0xf6c1d3['af']||={'dictionary':{},'getPluralForm':null},_0xf6c1d3['af']['dictionary']=Object['assign'](_0xf6c1d3['af']['dictionary'],_0x2cc9c8),_0xf6c1d3['af']['getPluralForm']=_0x5aa7a0;})(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':_0x22167e=>0x0==_0x22167e?0x0:0x1==_0x22167e?0x1:0x2==_0x22167e?0x2:_0x22167e%0x64>=0x3&&_0x22167e%0x64<=0xa?0x3:_0x22167e%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x459cca=>{const {ar:{dictionary:_0xe2db22,getPluralForm:_0x48d008}}={'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':_0x4d427f=>0x0==_0x4d427f?0x0:0x1==_0x4d427f?0x1:0x2==_0x4d427f?0x2:_0x4d427f%0x64>=0x3&&_0x4d427f%0x64<=0xa?0x3:_0x4d427f%0x64>=0xb?0x4:0x5}};_0x459cca['ar']||={'dictionary':{},'getPluralForm':null},_0x459cca['ar']['dictionary']=Object['assign'](_0x459cca['ar']['dictionary'],_0xe2db22),_0x459cca['ar']['getPluralForm']=_0x48d008;})(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':_0x3b8472=>0x1!=_0x3b8472}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3d2a7d=>{const {ast:{dictionary:_0x2ccd88,getPluralForm:_0x21782c}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x1188c7=>0x1!=_0x1188c7}};_0x3d2a7d['ast']||={'dictionary':{},'getPluralForm':null},_0x3d2a7d['ast']['dictionary']=Object['assign'](_0x3d2a7d['ast']['dictionary'],_0x2ccd88),_0x3d2a7d['ast']['getPluralForm']=_0x21782c;})(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':_0x5d450c=>0x1!=_0x5d450c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14a623=>{const {az:{dictionary:_0x4c2baa,getPluralForm:_0x1b8b22}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x238da1=>0x1!=_0x238da1}};_0x14a623['az']||={'dictionary':{},'getPluralForm':null},_0x14a623['az']['dictionary']=Object['assign'](_0x14a623['az']['dictionary'],_0x4c2baa),_0x14a623['az']['getPluralForm']=_0x1b8b22;})(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':_0x4b28d4=>_0x4b28d4%0xa==0x1&&_0x4b28d4%0x64!=0xb?0x0:_0x4b28d4%0xa>=0x2&&_0x4b28d4%0xa<=0x4&&(_0x4b28d4%0x64<0xa||_0x4b28d4%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xee5e93=>{const {be:{dictionary:_0x1abaee,getPluralForm:_0x1f7821}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x522799=>_0x522799%0xa==0x1&&_0x522799%0x64!=0xb?0x0:_0x522799%0xa>=0x2&&_0x522799%0xa<=0x4&&(_0x522799%0x64<0xa||_0x522799%0x64>=0x14)?0x1:0x2}};_0xee5e93['be']||={'dictionary':{},'getPluralForm':null},_0xee5e93['be']['dictionary']=Object['assign'](_0xee5e93['be']['dictionary'],_0x1abaee),_0xee5e93['be']['getPluralForm']=_0x1f7821;})(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':_0x23755a=>0x1!=_0x23755a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x10273b=>{const {bg:{dictionary:_0x559905,getPluralForm:_0x1b857a}}={'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':_0x5adffb=>0x1!=_0x5adffb}};_0x10273b['bg']||={'dictionary':{},'getPluralForm':null},_0x10273b['bg']['dictionary']=Object['assign'](_0x10273b['bg']['dictionary'],_0x559905),_0x10273b['bg']['getPluralForm']=_0x1b857a;})(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':_0x26f000=>0x1!=_0x26f000}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x58d6fe=>{const {bn:{dictionary:_0x42c3f2,getPluralForm:_0x237372}}={'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':_0x57561d=>0x1!=_0x57561d}};_0x58d6fe['bn']||={'dictionary':{},'getPluralForm':null},_0x58d6fe['bn']['dictionary']=Object['assign'](_0x58d6fe['bn']['dictionary'],_0x42c3f2),_0x58d6fe['bn']['getPluralForm']=_0x237372;})(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':_0x3f03bd=>_0x3f03bd%0xa==0x1&&_0x3f03bd%0x64!=0xb?0x0:_0x3f03bd%0xa>=0x2&&_0x3f03bd%0xa<=0x4&&(_0x3f03bd%0x64<0xa||_0x3f03bd%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x55a480=>{const {bs:{dictionary:_0x237d9e,getPluralForm:_0x5698a6}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x25927f=>_0x25927f%0xa==0x1&&_0x25927f%0x64!=0xb?0x0:_0x25927f%0xa>=0x2&&_0x25927f%0xa<=0x4&&(_0x25927f%0x64<0xa||_0x25927f%0x64>=0x14)?0x1:0x2}};_0x55a480['bs']||={'dictionary':{},'getPluralForm':null},_0x55a480['bs']['dictionary']=Object['assign'](_0x55a480['bs']['dictionary'],_0x237d9e),_0x55a480['bs']['getPluralForm']=_0x5698a6;})(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':_0x5e21f1=>0x1!=_0x5e21f1}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3601db=>{const {ca:{dictionary:_0xe30ccc,getPluralForm:_0x213b4}}={'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':_0x52ce0f=>0x1!=_0x52ce0f}};_0x3601db['ca']||={'dictionary':{},'getPluralForm':null},_0x3601db['ca']['dictionary']=Object['assign'](_0x3601db['ca']['dictionary'],_0xe30ccc),_0x3601db['ca']['getPluralForm']=_0x213b4;})(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':_0x5c4ab9=>0x1==_0x5c4ab9?0x0:_0x5c4ab9>=0x2&&_0x5c4ab9<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x14b495=>{const {cs:{dictionary:_0x5a62fa,getPluralForm:_0x58f899}}={'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':_0x37be82=>0x1==_0x37be82?0x0:_0x37be82>=0x2&&_0x37be82<=0x4?0x1:0x2}};_0x14b495['cs']||={'dictionary':{},'getPluralForm':null},_0x14b495['cs']['dictionary']=Object['assign'](_0x14b495['cs']['dictionary'],_0x5a62fa),_0x14b495['cs']['getPluralForm']=_0x58f899;})(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':_0x28bbfd=>0x1!=_0x28bbfd}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x145120=>{const {da:{dictionary:_0xce015,getPluralForm:_0x27777d}}={'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':_0x203c79=>0x1!=_0x203c79}};_0x145120['da']||={'dictionary':{},'getPluralForm':null},_0x145120['da']['dictionary']=Object['assign'](_0x145120['da']['dictionary'],_0xce015),_0x145120['da']['getPluralForm']=_0x27777d;})(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':_0xea045d=>0x1!=_0xea045d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1ddb9b=>{const {'de-ch':{dictionary:_0x4e69e7,getPluralForm:_0x1c6810}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2cdfd9=>0x1!=_0x2cdfd9}};_0x1ddb9b['de-ch']||={'dictionary':{},'getPluralForm':null},_0x1ddb9b['de-ch']['dictionary']=Object['assign'](_0x1ddb9b['de-ch']['dictionary'],_0x4e69e7),_0x1ddb9b['de-ch']['getPluralForm']=_0x1c6810;})(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':_0x16c038=>0x1!=_0x16c038}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1b8030=>{const {de:{dictionary:_0x5d20dc,getPluralForm:_0xe04fdd}}={'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':_0x2101b4=>0x1!=_0x2101b4}};_0x1b8030['de']||={'dictionary':{},'getPluralForm':null},_0x1b8030['de']['dictionary']=Object['assign'](_0x1b8030['de']['dictionary'],_0x5d20dc),_0x1b8030['de']['getPluralForm']=_0xe04fdd;})(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':_0x16570e=>0x1!=_0x16570e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x33f7f1=>{const {el:{dictionary:_0x2228f8,getPluralForm:_0x32c5df}}={'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':_0x150376=>0x1!=_0x150376}};_0x33f7f1['el']||={'dictionary':{},'getPluralForm':null},_0x33f7f1['el']['dictionary']=Object['assign'](_0x33f7f1['el']['dictionary'],_0x2228f8),_0x33f7f1['el']['getPluralForm']=_0x32c5df;})(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':_0x7ebbff=>0x1!=_0x7ebbff}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x38ca4e=>{const {'en-au':{dictionary:_0x275cfd,getPluralForm:_0x407c5c}}={'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':_0x42219f=>0x1!=_0x42219f}};_0x38ca4e['en-au']||={'dictionary':{},'getPluralForm':null},_0x38ca4e['en-au']['dictionary']=Object['assign'](_0x38ca4e['en-au']['dictionary'],_0x275cfd),_0x38ca4e['en-au']['getPluralForm']=_0x407c5c;})(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':_0x106004=>0x1!=_0x106004}};
|