@ckeditor/ckeditor5-document-outline 48.4.0-alpha.6 → 48.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x5cca5d,Plugin as _0x1b8591}from'@ckeditor/ckeditor5-core';import{debounce as _0x48c794,throttle as _0x2a71fe}from'es-toolkit/compat';import{ModelText as _0x5d112e,ModelTreeWalker as _0x55b2b0}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x165f9b,Rect as _0xc194e3,diff as _0x5c9fb9,diffToChanges as _0x24f5e3,global as _0xf8d3e,priorities as _0x44d4f2,scrollAncestorsToShowTarget as _0x6b0936,uid as _0x73eaef}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x34e6c2,MenuBarMenuListItemButtonView as _0x393296,View as _0x2c5546}from'@ckeditor/ckeditor5-ui';import{Widget as _0x299d09,toWidget as _0x48bce7}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x5a1aae}from'@ckeditor/ckeditor5-icons';function b(_0x4a5348){let _0x5989d8='';for(const _0x592968 of _0x4a5348['getChildren']())_0x592968 instanceof _0x5d112e&&(_0x5989d8+=_0x592968['data']);return _0x5989d8;}var I=class extends _0x1b8591{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x3d3ff3=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x41a3e4=[];_0x3d3ff3['model']['document']['on']('change',_0x48c794(()=>{const _0x539ad8=_0x41a3e4;_0x41a3e4=this['_getOutlineDefinitions']();const _0xc1b9c0=_0x24f5e3(_0x5c9fb9(_0x539ad8,_0x41a3e4,(_0x5e76bf,_0x18977e)=>_0x5e76bf['level']===_0x18977e['level']&&_0x5e76bf['text']===_0x18977e['text']&&_0x5e76bf['modelElement']===_0x18977e['modelElement']),_0x41a3e4),_0x43ba54=this['_getActiveHeading'](),_0x5b5f0a=_0x41a3e4['findIndex'](_0x564d7c=>_0x564d7c['modelElement']===_0x43ba54);_0xc1b9c0['length']&&this['fire']('change',{'outlineDefinitions':_0x41a3e4,'activeItemIndex':_0x5b5f0a,'outlineChanges':_0xc1b9c0}),this['fire']('activeItemIndex',{'index':_0x5b5f0a});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x304f0a=this['editor'],_0x40a643=[],_0x50c702=this['_headingNames'];for(const _0x3522a4 of _0x304f0a['model']['document']['getRootNames']())_0x30a89c(_0x304f0a['model']['document']['getRoot'](_0x3522a4));function _0x30a89c(_0x4fab46){for(const _0x5e6f01 of _0x4fab46['getChildren']())_0x5e6f01['is']('element')&&(_0x50c702['includes'](_0x5e6f01['name'])&&_0x40a643['push']({'level':_0x50c702['indexOf'](_0x5e6f01['name'])+0x1,'text':b(_0x5e6f01),'modelElement':_0x5e6f01}),_0x30a89c(_0x5e6f01));}return _0x40a643;}_getActiveHeading(){const _0x199ea3=new _0x55b2b0({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x17951b of _0x199ea3)if(_0x17951b['item']['is']('element')&&this['_headingNames']['includes'](_0x17951b['item']['name']))return _0x17951b['item'];}_getHeadingNames(){const _0x1566ab=this['editor']['config']['get']('documentOutline.headings');return _0x1566ab||function(_0x564c86){const _0x3b4b0b=_0x564c86['config']['get']('heading.options');return _0x3b4b0b?_0x3b4b0b['reduce']((_0x54eff7,_0x45222a)=>('paragraph'!==_0x45222a['model']&&_0x54eff7['push'](_0x45222a['model']),_0x54eff7),[]):_0x564c86['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x5c7f31=this['editor'],_0x2eae22=['h1','h2','h3','h4','h5','h6'],_0x2e02f3=[];for(const _0xf84719 of _0x2eae22){const _0x231105=_0x5c7f31['editing']['view']['domConverter']['domToView'](document['createElement'](_0xf84719)),_0xa9aa6a=_0x5c7f31['data']['toModel'](_0x231105)['getChild'](0x0);_0xa9aa6a?.['is']('element')&&_0x2e02f3['push'](_0xa9aa6a['name']);}this['_headingNames']=_0x2e02f3;}};function L(_0x53fb45,_0x23ca5d){const t=_0x53fb45['t'];switch(_0x23ca5d){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 _0x23ca5d;}}var C=class extends _0x2c5546{constructor(_0x3c64c3,_0x4f156c=!0x1){super(_0x3c64c3);const _0x3ca4bf=this['bindTemplate'],_0x43a514=_0x4f156c?'['+L(_0x3c64c3,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1dccad=>!_0x1dccad),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3ca4bf['to']('level',_0x29612b=>'ck-document-outline__item_level-'+_0x29612b),_0x3ca4bf['if']('isActive','ck-document-outline__item_active'),_0x3ca4bf['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3ca4bf['to']('text')},'children':[{'text':_0x3ca4bf['to']('text',_0x52a65f=>_0x52a65f||_0x43a514)}],'on':{'click':_0x3ca4bf['to']('click')}});}},_=class extends _0x2c5546{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x4f7acb,_0x18bed2=!0x1,_0x23cb97){super(_0x4f7acb),this['showEmptyHeadingText']=_0x18bed2,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x23cb97,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x19aba1,_0x527f71,_0x6d7d65,_0x1f1019)=>{this['_setActiveItem'](_0x1f1019,_0x6d7d65);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x4f7acb['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x4f7acb,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x3fab34){_0x3fab34['forEach'](_0x5344b6=>{'insert'==_0x5344b6['type']?this['_insertItem'](_0x5344b6['index'],..._0x5344b6['values']):'delete'==_0x5344b6['type']&&this['_deleteItem'](_0x5344b6['index'],_0x5344b6['howMany']);});}_setActiveItem(_0x41e6f1,_0x4237fd){if(-0x1!==_0x41e6f1){const _0x2ab948=this['items']['get'](_0x41e6f1);_0x2ab948&&(_0x2ab948['isActive']=!0x1);}-0x1!==_0x4237fd&&(this['items']['get'](_0x4237fd)['isActive']=!0x0,this['_scrollToItem'](_0x4237fd));}_insertItem(_0x5408cb,..._0x4a4566){const _0x57f1a1=_0x4a4566['map']((_0x38bb4b,_0x166ff7)=>{const _0x12cf7f=new C(this['locale'],this['showEmptyHeadingText']);return _0x12cf7f['text']=_0x38bb4b['text'],_0x12cf7f['level']=_0x38bb4b['level'],_0x5408cb+_0x166ff7===this['activeItemIndex']&&(_0x12cf7f['isActive']=!0x0),_0x12cf7f;});this['items']['addMany'](_0x57f1a1,_0x5408cb);}_deleteItem(_0x570401,_0x4f0e64){do{this['items']['remove'](_0x570401);}while(--_0x4f0e64);}_handleItemClick(_0x159b78){const _0x5e3507=this['items']['getIndex'](_0x159b78['source']);this['fire']('itemSelected',_0x5e3507);}_scrollToItem(_0x7b828b){_0x6b0936(this['items']['get'](_0x7b828b)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x1b8591{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x24dd27){super(_0x24dd27),this['view']=new _(_0x24dd27['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x2a71fe(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x11fa15=this['editor'],_0x56a7d0=_0x11fa15['plugins']['get']('DocumentOutlineUtils');let _0x11696e=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x11fa15['config']['get']('documentOutline.container'))throw new _0x165f9b('document-outline-container-not-provided',{'editor':_0x11fa15});_0x11fa15['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x56a7d0['on']('change',this['_handleOutlineChange']['bind'](this)),_0x56a7d0['on']('activeItemIndex',(_0x4f8341,{index:_0x4960f5})=>this['_setActiveViewItem'](_0x4960f5)),this['view']['on']('itemSelected',(_0x56e571,_0x267b12)=>{_0x11696e=!0x0,this['_handleItemSelected'](_0x267b12);}),this['view']['listenTo'](_0xf8d3e['document'],'scroll',()=>{_0x11696e?_0x11696e=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0xf8d3e['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0xb0a531){const _0x298e32='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x5cf2ab=0x791b8,_0x5a281d=window['Date']['now'](),_0x4ed8c8=_0xb0a531['editor'],_0x6edeb7=new window['Promise'](_0x38d107=>{_0x4ed8c8['once']('ready',_0x38d107);}),_0x1e18c1={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x16eae5=_0x4ed8c8['config']['get']('licenseKey');async function _0x2657ea(){let _0x4f6193,_0x508c7c=null,_0x315d4f=null;try{return'GPL'==_0x16eae5?'NotAllowed':(_0x4f6193=_0x4e923e(),_0x4f6193?(_0x4f6193['usageEndpoint']&&(_0x315d4f=_0x1a4fea(_0x4f6193['usageEndpoint'],_0x4f6193['jti'])),await _0x5f4046()?_0x1e25ae()?_0x1512bf()?'Expired':_0x1a0295()?('evaluation'==_0x4f6193['licenseType']&&(_0x508c7c=_0x47df97('EvaluationLimit')),await _0x3e256d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x1512bf(){const _0x403dce=['evaluation','trial']['includes'](_0x4f6193['licenseType'])?_0x5a281d/0x3e8:0xe10*_0x5cf2ab;return _0x4f6193['exp']<_0x403dce;}function _0x1e25ae(){const _0x37b23f=_0x4f6193['features'];return!!_0x37b23f&&(!!_0x37b23f['includes']('*')||(!!_0x37b23f['includes']('DO')||(!!_0x37b23f['includes']('PP')||!(!_0x37b23f['includes']('TRILIUM')||!_0x3f4b21()))));}function _0x1a0295(){const _0x485aa7=_0x4f6193['licensedHosts'];if(!_0x485aa7||0x0==_0x485aa7['length'])return!0x0;const {hostname:_0x63236e}=new URL(window['location']['href']);if(_0x485aa7['includes'](_0x63236e))return!0x0;const _0x458f3e=_0x63236e['split']('.');return _0x485aa7['filter'](_0xa2fe8b=>_0xa2fe8b['includes']('*'))['map'](_0x268bf0=>_0x268bf0['split']('.'))['filter'](_0x2f6fbf=>_0x2f6fbf['length']<=_0x458f3e['length'])['map'](_0x42e11a=>Array(_0x458f3e['length']-_0x42e11a['length'])['fill']('*'===_0x42e11a[0x0]?'*':'')['concat'](_0x42e11a))['some'](_0x39ece0=>_0x458f3e['every']((_0x24098c,_0x238009)=>_0x39ece0[_0x238009]===_0x24098c||'*'===_0x39ece0[_0x238009]));}function _0x3e256d(){return _0x508c7c&&_0x315d4f?new window['Promise']((_0x3fd9a5,_0x1615c8)=>{_0x508c7c['then'](_0x3fd9a5,_0x1615c8),_0x315d4f['then'](_0x5375d7=>{'Valid'!=_0x5375d7&&_0x3fd9a5(_0x5375d7);},_0x1615c8);}):_0x508c7c||_0x315d4f||'Valid';}}function _0x1a4fea(_0x1caa9f,_0x19cf5b){return new window['Promise'](_0x48a8dd=>{if(_0x2792bb())return _0x48a8dd('Valid');_0x452d2f(),_0x4ed8c8['decorate']('_sendUsageRequest');let _0x4b2208=!0x1;const _0x3a4347=_0x73eaef();function _0x4c6685(_0x5a83fe){return!!_0x5a83fe&&('object'==typeof _0x5a83fe||'function'==typeof _0x5a83fe)&&'function'==typeof _0x5a83fe['then']&&'function'==typeof _0x5a83fe['catch'];}function _0x50b540(_0x934ae2){_0x2e6908(_0x934ae2)['then'](_0x3878af=>_0x3878af&&'ok'==_0x3878af['status']?_0x47522e(_0x4e1b3c(_0x3a4347+_0x19cf5b))!=_0x3878af['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5c3f28=>(_0xb7adde(),_0x5c3f28),()=>{const _0x191ae7=_0x50abb6();return null==_0x191ae7?(_0xb7adde(),'Valid'):_0x5a281d-_0x191ae7>0x240c8400?'UsageLimit':'Valid';})['then'](_0x48a8dd)['catch'](()=>{_0x48a8dd('UsageLimit');});const _0x2625ba=0x36ee80;function _0xb7adde(){const _0x1a856f='llct-'+_0x47522e(_0x4e1b3c(_0x1caa9f)),_0x15e978=_0x1b3e8e(_0x47522e(window['Math']['ceil'](_0x5a281d/_0x2625ba)));window['localStorage']['setItem'](_0x1a856f,_0x15e978);}function _0x50abb6(){const _0x44f2cb='llct-'+_0x47522e(_0x4e1b3c(_0x1caa9f)),_0x14f119=window['localStorage']['getItem'](_0x44f2cb);return _0x14f119?window['parseInt'](_0x1b3e8e(_0x14f119),0x10)*_0x2625ba:null;}function _0x2e6908(_0x147e16){return new window['Promise']((_0x5c0d41,_0x2da514)=>{_0x147e16['then'](_0x5c0d41,_0x2da514),window['setTimeout'](_0x2da514,0x1d4c0);});}}_0x4ed8c8['on']('_sendUsageRequest',(_0x2f6f47,_0xeea9f8)=>{if(_0xeea9f8[0x0]!=_0x1caa9f)return _0x48a8dd('UsageLimit');_0xeea9f8[0x1]={..._0xeea9f8[0x1],'requestId':_0x3a4347};},{'priority':'high'}),_0x4ed8c8['on']('_sendUsageRequest',_0x1365a2=>{_0x4c6685(_0x1365a2['return'])&&(_0x4b2208=!0x0,_0x50b540(_0x1365a2['return']));},{'priority':'low'}),_0x6edeb7['then'](()=>{_0x4b2208||_0x48a8dd('UsageLimit');});});function _0x2792bb(){return'auto'==_0x4ed8c8['editing']['view']['_overlayModeHint'];}function _0x452d2f(){_0x4ed8c8['editing']['view']['_overlayModeHint']='auto';}}function _0x47df97(_0x26efc2){const _0x353a4a=[new window['Promise'](_0x5a0824=>setTimeout(_0x5a0824,0x93ecc)),_0x6edeb7['then'](()=>new window['Promise'](_0xcc4991=>{let _0x4344f8=0x0;_0x4ed8c8['model']['on']('applyOperation',(_0x4106a9,_0x2fc077)=>{_0x2fc077[0x0]['isDocumentOperation']&&_0x4344f8++,0x5e8==_0x4344f8&&(_0xcc4991(),_0x4106a9['off']());});}))];return window['Promise']['race'](_0x353a4a)['then'](()=>_0x26efc2);}async function _0x45b8f2(){await _0x6edeb7,_0x4ed8c8['model']['change']=_0x1b324f,_0x4ed8c8['model']['enqueueChange']=_0x1b324f,_0x4ed8c8['enableReadOnlyMode']('model');}function _0x3f4b21(){return window['glob']&&window['glob']['triliumVersion'];}function _0x211005(_0x428d7e){const _0x330fdf=_0x3985f4();_0x4ed8c8[_0x330fdf]='documentOutlineLicenseKey'+_0x428d7e,'Valid'!=_0x428d7e&&_0x45b8f2();}function _0x3985f4(){const _0x211a1c=window['String'](window['performance']['now']())['replace']('.','');let _0x53c2d0='a';for(let _0x3f7e21=0x0;_0x3f7e21<_0x211a1c['length'];_0x3f7e21+=0x2){let _0x224df9=window['parseInt'](_0x211a1c['substring'](_0x3f7e21,_0x3f7e21+0x2));_0x224df9>=0x3e&&(_0x224df9-=0x3e),_0x53c2d0+=_0x298e32[_0x224df9];}return _0x53c2d0;}function _0x4e923e(){const _0x19bd80=_0x16eae5['split']('.');if(0x3!=_0x19bd80['length'])return null;return _0x60819(_0x19bd80[0x1]);function _0x60819(_0x59147c){const _0x361959=_0x2fa1a3(_0x59147c);return _0x361959&&_0x51a8f5()?_0x361959:null;function _0x51a8f5(){const _0xf93111=_0x361959['jti'],_0x3f4ec8=window['parseInt'](_0xf93111['substring'](_0xf93111['length']-0x8),0x10),_0x227f8d={..._0x361959,'jti':_0xf93111['substring'](0x0,_0xf93111['length']-0x8)};return delete _0x227f8d['vc'],_0x4e1b3c(_0x227f8d)==_0x3f4ec8;}}}async function _0x5f4046(){let _0x2bf463=!0x0;try{const [_0x255765,_0x4cb058,_0x8098f2]=_0x16eae5['split']('.');return _0x5df9df(_0x255765),await _0x4f34ed(_0x255765,_0x4cb058,_0x8098f2),_0x2bf463;}catch{return!0x1;}function _0x5df9df(_0x5b5a3c){const _0x33536e=_0x2fa1a3(_0x5b5a3c);_0x33536e&&'ES256'==_0x33536e['alg']||(_0x2bf463=!0x1);}async function _0x4f34ed(_0x1c3f7a,_0x117c88,_0x574b6d){const _0xf2ea09=window['Uint8Array']['from'](_0x18cfa8(_0x574b6d),_0x4af2d2=>_0x4af2d2['charCodeAt'](0x0)),_0x267945=new window['TextEncoder']()['encode'](_0x1c3f7a+'.'+_0x117c88),_0x50e308=window['crypto']['subtle'];if(!_0x50e308)return;const _0x2196c9=await _0x50e308['importKey']('jwk',_0x1e18c1,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x50e308['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2196c9,_0xf2ea09,_0x267945)||(_0x2bf463=!0x1);}}function _0x2fa1a3(_0x1375f6){return _0x1375f6['startsWith']('ey')?JSON['parse'](_0x18cfa8(_0x1375f6)):null;}function _0x18cfa8(_0xd7d98e){return window['atob'](_0xd7d98e['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x4e1b3c(_0x40e200){let _0x28e6f7=0x1505;function _0x936ddc(_0xcac68f){for(let _0x217884=0x0;_0x217884<_0xcac68f['length'];_0x217884++){const _0x49a682=_0xcac68f['charCodeAt'](_0x217884);_0x28e6f7=(_0x28e6f7<<0x5)+_0x28e6f7+_0x49a682,_0x28e6f7&=_0x28e6f7;}}function _0x206897(_0x32d23a){Array['isArray'](_0x32d23a)?_0x32d23a['forEach'](_0x206897):_0x32d23a&&'object'==typeof _0x32d23a?Object['entries'](_0x32d23a)['sort']()['forEach'](([_0x192f73,_0x2b1d08])=>{_0x936ddc(_0x192f73),_0x206897(_0x2b1d08);}):_0x936ddc(window['String'](_0x32d23a));}return _0x206897(_0x40e200),_0x28e6f7>>>0x0;}function _0x47522e(_0x25bdf8){return _0x25bdf8['toString'](0x10)['padStart'](0x8,'0');}function _0x1b3e8e(_0x4afced){return _0x4afced['split']('')['reverse']()['join']('');}function _0x1b324f(){}_0x211005(await _0x2657ea());}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x32b312,{outlineDefinitions:_0x594a08,outlineChanges:_0x146886}){this['_currentOutlineDefinitions']=_0x594a08,this['view']['sync'](_0x146886);}_setActiveViewItem(_0xc98e6d){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xc98e6d]&&(this['view']['activeItemIndex']=_0xc98e6d);}_handleItemSelected(_0x28d69f){const _0x2598b3=this['_currentOutlineDefinitions'][_0x28d69f]['modelElement'];this['editor']['model']['change'](_0x24b428=>{_0x24b428['setSelection'](_0x2598b3,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x28d69f);}_updateActiveDefinitionOnViewportChange(){const _0x502d75=this['editor'];let _0x106468;for(const _0x39a938 of _0x502d75['model']['document']['getRootNames']()){const _0x378dc2=_0x502d75['editing']['view']['getDomRoot'](_0x39a938),_0x1a843f=_0x378dc2&&new _0xc194e3(_0x378dc2)['getVisible']();if(_0x1a843f){const _0x1db4a0=new _0xc194e3(_0xf8d3e['window'])['getIntersection'](_0x1a843f);_0x1db4a0&&(_0x106468=_0x1db4a0['top']+0.25*_0x1db4a0['height']);}}if(void 0x0===_0x106468)return;const _0x5f0674=k(_0x502d75['editing'],this['_currentOutlineDefinitions'],_0x106468);_0x5f0674?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5f0674)):this['_setActiveViewItem'](-0x1);}};function k(_0x59ec41,_0x38e3e8,_0x5858a8,_0x5f0d41=0x0,_0x8664d6=_0x38e3e8['length']-0x1){const _0x272e6e=Math['floor'](_0x5f0d41+(_0x8664d6-_0x5f0d41)/0x2);if(_0x8664d6>=_0x5f0d41){const _0x3cb156=_0x38e3e8[_0x272e6e],_0x272fb7=_0x59ec41['mapper']['toViewElement'](_0x3cb156['modelElement']);return _0x272fb7?new _0xc194e3(_0x59ec41['view']['domConverter']['mapViewToDom'](_0x272fb7))['bottom']>_0x5858a8?k(_0x59ec41,_0x38e3e8,_0x5858a8,_0x5f0d41,_0x272e6e-0x1):k(_0x59ec41,_0x38e3e8,_0x5858a8,_0x272e6e+0x1,_0x8664d6):null;}return _0x272e6e<0x0?null:_0x38e3e8[_0x272e6e];}var E=class extends _0x1b8591{['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 _0x3ebc6e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x565ff2;for(const _0x46e8fb in _0x3ebc6e){const _0x4d3d8d=_0x46e8fb,_0xbd91b=_0x3ebc6e[_0x4d3d8d];if('documentOutlineLicenseKeyValid'==_0xbd91b||'documentOutlineLicenseKeyInvalid'==_0xbd91b||'documentOutlineLicenseKeyExpired'==_0xbd91b||'documentOutlineLicenseKeyDomainLimit'==_0xbd91b||'documentOutlineLicenseKeyNotAllowed'==_0xbd91b||'documentOutlineLicenseKeyEvaluationLimit'==_0xbd91b||'documentOutlineLicenseKeyUsageLimit'==_0xbd91b){delete _0x3ebc6e[_0x4d3d8d],_0x565ff2=_0xbd91b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x565ff2&&_0x3ebc6e['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x565ff2&&_0x3ebc6e['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x565ff2&&_0x3ebc6e['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x565ff2&&_0x3ebc6e['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x565ff2&&_0x3ebc6e['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x565ff2&&_0x3ebc6e['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x5cca5d{execute(){this['editor']['model']['change'](_0x44be61=>{this['editor']['model']['insertObject'](_0x44be61['createElement']('tableOfContents'));});}['refresh'](){const _0x83e63d=this['editor']['model'],_0x431f0c=_0x83e63d['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x431f0c&&_0x83e63d['schema']['findAllowedParent'](_0x431f0c,'tableOfContents'));}},A=class extends _0x1b8591{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0xd2001d=this['editor'];if(_0xd2001d['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x1be8c0,modelNames:_0x3d14ab}=function(_0x4bccd0){const _0x27ec43=new Set(['h1','h2','h3','h4','h5','h6']),_0x50d7f0=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x4bccd0)return{'viewNames':_0x27ec43,'modelNames':_0x50d7f0};for(const _0x19057d of _0x4bccd0){if('paragraph'===_0x19057d['model'])continue;const _0xb84d42='string'==typeof _0x19057d['view']?_0x19057d['view']:_0x19057d['view']['name'];_0x27ec43['add'](_0xb84d42),_0x50d7f0['add'](_0x19057d['model']);}return{'viewNames':_0x27ec43,'modelNames':_0x50d7f0};}(this['editor']['config']['get']('heading.options'));for(const _0x1012b5 of _0x1be8c0)this['_customUpcastHeadingsConversion'](_0x1012b5);for(const _0x16cb62 of _0x3d14ab)this['_customDataDowncastHeadingsConversion'](_0x16cb62),_0xd2001d['model']['schema']['isRegistered'](_0x16cb62)&&_0xd2001d['model']['schema']['extend'](_0x16cb62,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x3d14ab);}_customUpcastHeadingsConversion(_0x59c08f){this['editor']['conversion']['for']('upcast')['add'](_0x55b528=>_0x55b528['on']('element:'+_0x59c08f,(_0x1fe801,_0x4dee83,_0x243773)=>{const {consumable:_0x5c7b5a,writer:_0x4d0fa9}=_0x243773,_0x483fb5=_0x4dee83['viewItem']['getAttribute']('id'),_0x45b045=_0x4dee83['modelRange']?.['getContainedElement']();if(_0x45b045)return _0x483fb5&&_0x483fb5['length']||_0x45b045['hasAttribute']('headingId')?void(_0x5c7b5a['consume'](_0x4dee83['viewItem'],{'attributes':['id']})&&_0x4d0fa9['setAttribute']('headingId',_0x483fb5,_0x45b045)):(_0x5c7b5a['consume'](_0x4dee83['viewItem'],{'attributes':['id']}),void _0x4d0fa9['setAttribute']('headingId',_0x73eaef(),_0x45b045));},{'priority':_0x44d4f2['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x590ffb){this['editor']['conversion']['for']('downcast')['add'](_0x3ea3d4=>_0x3ea3d4['on']('attribute:headingId:'+_0x590ffb,(_0x2db403,_0x42e046,_0x194abb)=>{if(!_0x194abb['consumable']['consume'](_0x42e046['item'],_0x2db403['name']))return;const _0x49109a=_0x42e046['item']['getAttribute']('headingId'),_0x22733e=_0x194abb['mapper']['toViewElement'](_0x42e046['item']);_0x194abb['writer']['setAttribute']('id',_0x49109a,_0x22733e);}));}_registerHeadingIdAttributePostfixer(_0x4e0e9f){const _0x529476=this['editor'],_0x56b372=new Set(),_0x1ff55a=new Set();function _0x3e0d06(_0x5c0da2,_0x3f9e5f){const _0x220b7c=_0x73eaef();return _0x1ff55a['add'](_0x220b7c),_0x5c0da2['setAttribute']('headingId',_0x220b7c,_0x3f9e5f),_0x220b7c;}function _0x29f67e(_0x5acd5b,_0x1d1f27){_0x5acd5b['removeAttribute']('headingId',_0x1d1f27);}_0x529476['model']['document']['registerPostFixer'](_0x4e0ad4=>{const _0x122172=_0x529476['model']['document']['differ']['getChanges']();let _0x5ceee6=!0x1;for(const _0x447df9 of _0x122172)if('insert'==_0x447df9['type']&&_0x447df9['name']){if(_0x4e0e9f['has'](_0x447df9['name'])){const _0x34ad85=_0x447df9['attributes']['get']('headingId');'string'==typeof _0x34ad85?_0x56b372['has'](_0x34ad85)?(_0x3e0d06(_0x4e0ad4,_0x447df9['position']['nodeAfter']),_0x5ceee6=!0x0):_0x1ff55a['add'](_0x34ad85):(_0x3e0d06(_0x4e0ad4,_0x447df9['position']['nodeAfter']),_0x5ceee6=!0x0);}else'string'==typeof _0x447df9['attributes']['get']('headingId')&&(_0x29f67e(_0x4e0ad4,_0x447df9['position']['nodeAfter']),_0x5ceee6=!0x0);}else{if('remove'==_0x447df9['type']){const _0x4214ce=_0x447df9['attributes']['get']('headingId');'string'==typeof _0x4214ce&&_0x56b372['delete'](_0x4214ce);}}return _0x5ceee6;}),_0x529476['model']['document']['on']('change',()=>{_0x1ff55a['forEach'](_0x33c78d=>_0x56b372['add'](_0x33c78d)),_0x1ff55a['clear']();});}},N=class extends _0x1b8591{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x299d09,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x5bd090){super(_0x5bd090),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x4a9d4e=this['editor'],_0x8e60a7=_0x4a9d4e['editing']['view']['document'];_0x4a9d4e['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x4a9d4e['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x8e60a7,'click',(_0x261868,_0x533315)=>{if(!_0x533315['target'])return;const _0x1b8be3=_0x533315['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x1b8be3)&&(_0x533315['domEvent']['preventDefault'](),_0x261868['stop'](),this['_handleScrollToHeading'](_0x1b8be3));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x4a9d4e['commands']['add']('insertTableOfContents',new K(_0x4a9d4e));const _0x1f3d76=_0x4a9d4e['config']['get']('tableOfContents.headings');_0x1f3d76&&_0x1f3d76['length']?this['listenTo'](_0x4a9d4e['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x1f3d76),this['_updateTableOfContentsElements']();}):_0x4a9d4e['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x35b82c,_0x1551de)=>{this['_currentOutlineDefinitions']=_0x1551de['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x4a9d4e['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x3623c){const _0x104065='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x2ea58d=0x791b8,_0x387785=window['Date']['now'](),_0x4a7d0b=_0x3623c['editor'],_0x2397d1=new window['Promise'](_0x4722d3=>{_0x4a7d0b['once']('ready',_0x4722d3);}),_0x309610={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x15a779=_0x4a7d0b['config']['get']('licenseKey');async function _0x30403d(){let _0x545314,_0x430c86=null,_0x309930=null;try{return'GPL'==_0x15a779?'NotAllowed':(_0x545314=_0x419cf0(),_0x545314?(_0x545314['usageEndpoint']&&(_0x309930=_0x5832cf(_0x545314['usageEndpoint'],_0x545314['jti'])),await _0x473d05()?_0x1cfe29()?_0x5915fb()?'Expired':_0x308652()?('evaluation'==_0x545314['licenseType']&&(_0x430c86=_0x3e5e43('EvaluationLimit')),await _0x3b0641()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5915fb(){const _0x2550e6=['evaluation','trial']['includes'](_0x545314['licenseType'])?_0x387785/0x3e8:0xe10*_0x2ea58d;return _0x545314['exp']<_0x2550e6;}function _0x1cfe29(){const _0x1499c0=_0x545314['features'];return!!_0x1499c0&&(!!_0x1499c0['includes']('*')||(!!_0x1499c0['includes']('TOC')||(!!_0x1499c0['includes']('PP')||!(!_0x1499c0['includes']('TRILIUM')||!_0x44d2e6()))));}function _0x308652(){const _0x1edb38=_0x545314['licensedHosts'];if(!_0x1edb38||0x0==_0x1edb38['length'])return!0x0;const {hostname:_0x4d0142}=new URL(window['location']['href']);if(_0x1edb38['includes'](_0x4d0142))return!0x0;const _0x408ca0=_0x4d0142['split']('.');return _0x1edb38['filter'](_0xa53d33=>_0xa53d33['includes']('*'))['map'](_0x25f688=>_0x25f688['split']('.'))['filter'](_0x38b942=>_0x38b942['length']<=_0x408ca0['length'])['map'](_0x544084=>Array(_0x408ca0['length']-_0x544084['length'])['fill']('*'===_0x544084[0x0]?'*':'')['concat'](_0x544084))['some'](_0x4a59c1=>_0x408ca0['every']((_0x83dbc2,_0x4af0e3)=>_0x4a59c1[_0x4af0e3]===_0x83dbc2||'*'===_0x4a59c1[_0x4af0e3]));}function _0x3b0641(){return _0x430c86&&_0x309930?new window['Promise']((_0x514094,_0x37ff10)=>{_0x430c86['then'](_0x514094,_0x37ff10),_0x309930['then'](_0xf165c9=>{'Valid'!=_0xf165c9&&_0x514094(_0xf165c9);},_0x37ff10);}):_0x430c86||_0x309930||'Valid';}}function _0x5832cf(_0x45b4c7,_0x13c1aa){return new window['Promise'](_0x59aff6=>{if(_0x11c47d())return _0x59aff6('Valid');_0x1adb31(),_0x4a7d0b['decorate']('_sendUsageRequest');let _0x3a6625=!0x1;const _0x44fb04=_0x73eaef();function _0x174c49(_0x5562e9){return!!_0x5562e9&&('object'==typeof _0x5562e9||'function'==typeof _0x5562e9)&&'function'==typeof _0x5562e9['then']&&'function'==typeof _0x5562e9['catch'];}function _0x4c9f46(_0x1ec90d){_0xff0d3d(_0x1ec90d)['then'](_0x44f872=>_0x44f872&&'ok'==_0x44f872['status']?_0x25e918(_0x36d5b4(_0x44fb04+_0x13c1aa))!=_0x44f872['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x58a37c=>(_0x4956de(),_0x58a37c),()=>{const _0x219570=_0x2b87a2();return null==_0x219570?(_0x4956de(),'Valid'):_0x387785-_0x219570>0x240c8400?'UsageLimit':'Valid';})['then'](_0x59aff6)['catch'](()=>{_0x59aff6('UsageLimit');});const _0x535dc3=0x36ee80;function _0x4956de(){const _0x3f93f7='llct-'+_0x25e918(_0x36d5b4(_0x45b4c7)),_0x26e75c=_0x540404(_0x25e918(window['Math']['ceil'](_0x387785/_0x535dc3)));window['localStorage']['setItem'](_0x3f93f7,_0x26e75c);}function _0x2b87a2(){const _0x276c3b='llct-'+_0x25e918(_0x36d5b4(_0x45b4c7)),_0x16239a=window['localStorage']['getItem'](_0x276c3b);return _0x16239a?window['parseInt'](_0x540404(_0x16239a),0x10)*_0x535dc3:null;}function _0xff0d3d(_0x3fe931){return new window['Promise']((_0x6cee40,_0x5b27f0)=>{_0x3fe931['then'](_0x6cee40,_0x5b27f0),window['setTimeout'](_0x5b27f0,0x1d4c0);});}}_0x4a7d0b['on']('_sendUsageRequest',(_0x3450d5,_0x4ee567)=>{if(_0x4ee567[0x0]!=_0x45b4c7)return _0x59aff6('UsageLimit');_0x4ee567[0x1]={..._0x4ee567[0x1],'requestId':_0x44fb04};},{'priority':'high'}),_0x4a7d0b['on']('_sendUsageRequest',_0x5578a3=>{_0x174c49(_0x5578a3['return'])&&(_0x3a6625=!0x0,_0x4c9f46(_0x5578a3['return']));},{'priority':'low'}),_0x2397d1['then'](()=>{_0x3a6625||_0x59aff6('UsageLimit');});});function _0x11c47d(){return'auto'==_0x4a7d0b['editing']['view']['_overlayModeHint'];}function _0x1adb31(){_0x4a7d0b['editing']['view']['_overlayModeHint']='auto';}}function _0x3e5e43(_0x34e9e9){const _0x146c52=[new window['Promise'](_0x33adca=>setTimeout(_0x33adca,0x93ecc)),_0x2397d1['then'](()=>new window['Promise'](_0x1ea7bf=>{let _0x566c07=0x0;_0x4a7d0b['model']['on']('applyOperation',(_0x50cfaf,_0x1d39a5)=>{_0x1d39a5[0x0]['isDocumentOperation']&&_0x566c07++,0x5e8==_0x566c07&&(_0x1ea7bf(),_0x50cfaf['off']());});}))];return window['Promise']['race'](_0x146c52)['then'](()=>_0x34e9e9);}async function _0x130293(){await _0x2397d1,_0x4a7d0b['model']['change']=_0x17376c,_0x4a7d0b['model']['enqueueChange']=_0x17376c,_0x4a7d0b['enableReadOnlyMode']('model');}function _0x44d2e6(){return window['glob']&&window['glob']['triliumVersion'];}function _0x4c554a(_0x559ebf){const _0x2ffced=_0x78dcce();_0x4a7d0b[_0x2ffced]='tableOfContentsLicenseKey'+_0x559ebf,'Valid'!=_0x559ebf&&_0x130293();}function _0x78dcce(){const _0x49427f=window['String'](window['performance']['now']())['replace']('.','');let _0x12926b='m';for(let _0x51190f=0x0;_0x51190f<_0x49427f['length'];_0x51190f+=0x2){let _0x31fba1=window['parseInt'](_0x49427f['substring'](_0x51190f,_0x51190f+0x2));_0x31fba1>=0x3e&&(_0x31fba1-=0x3e),_0x12926b+=_0x104065[_0x31fba1];}return _0x12926b;}function _0x419cf0(){const _0x1fcbda=_0x15a779['split']('.');if(0x3!=_0x1fcbda['length'])return null;return _0x24a710(_0x1fcbda[0x1]);function _0x24a710(_0x41d29d){const _0x279029=_0x164277(_0x41d29d);return _0x279029&&_0xf1b526()?_0x279029:null;function _0xf1b526(){const _0x539b64=_0x279029['jti'],_0x32e00b=window['parseInt'](_0x539b64['substring'](_0x539b64['length']-0x8),0x10),_0x3ff89f={..._0x279029,'jti':_0x539b64['substring'](0x0,_0x539b64['length']-0x8)};return delete _0x3ff89f['vc'],_0x36d5b4(_0x3ff89f)==_0x32e00b;}}}async function _0x473d05(){let _0x53dda5=!0x0;try{const [_0xf486dd,_0x44cae3,_0x2d163e]=_0x15a779['split']('.');return _0x5ab2ca(_0xf486dd),await _0xb58779(_0xf486dd,_0x44cae3,_0x2d163e),_0x53dda5;}catch{return!0x1;}function _0x5ab2ca(_0xe2c59d){const _0x1e3475=_0x164277(_0xe2c59d);_0x1e3475&&'ES256'==_0x1e3475['alg']||(_0x53dda5=!0x1);}async function _0xb58779(_0x4e3e15,_0x1108de,_0x484eb7){const _0x2c1138=window['Uint8Array']['from'](_0x102ef4(_0x484eb7),_0x359f9a=>_0x359f9a['charCodeAt'](0x0)),_0x7e07f8=new window['TextEncoder']()['encode'](_0x4e3e15+'.'+_0x1108de),_0x233196=window['crypto']['subtle'];if(!_0x233196)return;const _0x41b7af=await _0x233196['importKey']('jwk',_0x309610,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x233196['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x41b7af,_0x2c1138,_0x7e07f8)||(_0x53dda5=!0x1);}}function _0x164277(_0x443ecf){return _0x443ecf['startsWith']('ey')?JSON['parse'](_0x102ef4(_0x443ecf)):null;}function _0x102ef4(_0x28cd3f){return window['atob'](_0x28cd3f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x36d5b4(_0x3c5ec2){let _0x2cf01c=0x1505;function _0x411221(_0x5bdb37){for(let _0x524cd7=0x0;_0x524cd7<_0x5bdb37['length'];_0x524cd7++){const _0x31ffaf=_0x5bdb37['charCodeAt'](_0x524cd7);_0x2cf01c=(_0x2cf01c<<0x5)+_0x2cf01c+_0x31ffaf,_0x2cf01c&=_0x2cf01c;}}function _0x480034(_0x27d51e){Array['isArray'](_0x27d51e)?_0x27d51e['forEach'](_0x480034):_0x27d51e&&'object'==typeof _0x27d51e?Object['entries'](_0x27d51e)['sort']()['forEach'](([_0x54c8ca,_0x40c889])=>{_0x411221(_0x54c8ca),_0x480034(_0x40c889);}):_0x411221(window['String'](_0x27d51e));}return _0x480034(_0x3c5ec2),_0x2cf01c>>>0x0;}function _0x25e918(_0x93082a){return _0x93082a['toString'](0x10)['padStart'](0x8,'0');}function _0x540404(_0xe349f){return _0xe349f['split']('')['reverse']()['join']('');}function _0x17376c(){}_0x4c554a(await _0x30403d());}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x40e121=>{'$graveyard'!==_0x40e121['rootName']&&this['editor']['editing']['reconvertItem'](_0x40e121);});}_trackNewToCElements(){for(const _0x868731 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x868731['type']||'tableOfContents'!==_0x868731['name'])return;this['_tableOfContentsElements']['add'](_0x868731['position']['nodeAfter']);}}_getOutlineDefinitions(_0x269ecd){const _0x79b870=this['editor'],_0x4ea8d9=[];for(const _0x20105f of _0x79b870['model']['document']['getRootNames']())_0x29e98e(_0x79b870['model']['document']['getRoot'](_0x20105f));function _0x29e98e(_0x2ddb40){for(const _0x42c979 of _0x2ddb40['getChildren']())_0x42c979['is']('element')&&(_0x269ecd['includes'](_0x42c979['name'])&&_0x4ea8d9['push']({'level':_0x269ecd['indexOf'](_0x42c979['name'])+0x1,'text':b(_0x42c979),'modelElement':_0x42c979}),_0x29e98e(_0x42c979));}return _0x4ea8d9;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x4360c6=this['editor']['conversion'];_0x4360c6['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x4360c6['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xee6f4d,{writer:_0xa60e48})=>this['_createTableOfContents'](_0xa60e48,!0x0)}),_0x4360c6['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2c5353,{writer:_0x16c581})=>(this['_tableOfContentsElements']['add'](_0x2c5353),_0x48bce7(this['_createTableOfContents'](_0x16c581),_0x16c581,{'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(_0x5a347c,_0x1a2349=!0x1){const {locale:_0x42a87f}=this['editor'],_0x502c00=_0x5a347c['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x1a2349&&{'data-table-of-contents-label':L(_0x42a87f,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x1a2349&&_0x5a347c['insert'](_0x5a347c['createPositionAt'](_0x502c00,'end'),_0x5a347c['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x5a347c['createText'](L(_0x42a87f,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x408402=_0x1a2349?'':'['+L(_0x42a87f,'Empty\x20heading')+']';let _0x25c74b=_0x502c00;return this['_currentOutlineDefinitions']['forEach']((_0xcbbe4d,_0x5e4e84,_0x4f2dba)=>{const _0x4e16dc=this['editor']['model']['hasContent'](_0xcbbe4d['modelElement'],{'ignoreWhitespaces':!0x0}),_0xc97fa1=_0x4e16dc?_0xcbbe4d['text']:_0x408402,_0x2f2c43=_0xcbbe4d['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x78e277=_0x5a347c['createContainerElement']('a',{'href':'#'+_0x2f2c43,...!_0x1a2349&&{'tabindex':'-1'}},[_0x5a347c['createText'](_0xc97fa1)]),_0x19fdd4=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x5a347c['setCustomProperty']('tableOfContentsHeadingIndex',_0x5e4e84,_0x78e277);const _0x51f3f7=_0x5a347c['createContainerElement']('li',null,[_0x4e16dc||!_0x1a2349&&_0x19fdd4?_0x78e277:_0x5a347c['createText']('')]),_0x142c7f=_0x5e4e84?_0x4f2dba[_0x5e4e84-0x1]['level']:0x0,_0x3434e7=Math['abs'](_0xcbbe4d['level']-_0x142c7f);if(_0xcbbe4d['level']>_0x142c7f){const _0x5307ea=H(_0x51f3f7,_0x3434e7,_0x5a347c);_0x5a347c['insert'](_0x5a347c['createPositionAt'](_0x25c74b,'end'),_0x5307ea);}else{const _0x1324d0=function(_0x4751f9,_0x4bbe02){return _0x4751f9['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0xc3d6af=>_0xc3d6af['is']('element','ol'))[_0x4bbe02];}(_0x25c74b,_0x3434e7);_0x5a347c['insert'](_0x5a347c['createPositionAt'](_0x1324d0,'end'),_0x51f3f7);}_0x25c74b=_0x51f3f7;}),_0x502c00;}['_handleScrollToHeading'](_0x48973f){const _0x4da8e1=this['_currentOutlineDefinitions'][_0x48973f]['modelElement'];this['editor']['model']['change'](_0x22a7cb=>{_0x22a7cb['setSelection'](_0x4da8e1,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x5277a4,_0x3df1ef)=>{const _0x1dd267=_0x3df1ef['mapper'],_0x1abb3e=_0x1dd267['findMappedViewAncestor'](_0x3df1ef['viewPosition']),_0x2f8f18=_0x1dd267['toModelElement'](_0x1abb3e);_0x2f8f18['is']('element','tableOfContents')&&(_0x3df1ef['modelPosition']=this['editor']['model']['createPositionAt'](_0x2f8f18,0x0),_0x5277a4['stop']());};}};function H(_0x500833,_0x2683e5,_0x52f13a){return 0x1===_0x2683e5?_0x52f13a['createContainerElement']('ol',null,[_0x500833]):_0x52f13a['createContainerElement']('ol',null,[_0x52f13a['createContainerElement']('li',null,[H(_0x500833,_0x2683e5-0x1,_0x52f13a)])]);}var P=class extends _0x1b8591{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x1081ab=this['editor'];_0x1081ab['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x39da59=this['_createButton'](_0x34e6c2);return _0x39da59['tooltip']=!0x0,_0x39da59;}),_0x1081ab['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x393296)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x6312aa=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x20825c;for(const _0x20f3d3 in _0x6312aa){const _0x3137d8=_0x20f3d3,_0x4d31ec=_0x6312aa[_0x3137d8];if('tableOfContentsLicenseKeyValid'==_0x4d31ec||'tableOfContentsLicenseKeyInvalid'==_0x4d31ec||'tableOfContentsLicenseKeyExpired'==_0x4d31ec||'tableOfContentsLicenseKeyDomainLimit'==_0x4d31ec||'tableOfContentsLicenseKeyNotAllowed'==_0x4d31ec||'tableOfContentsLicenseKeyEvaluationLimit'==_0x4d31ec||'tableOfContentsLicenseKeyUsageLimit'==_0x4d31ec){delete _0x6312aa[_0x3137d8],_0x20825c=_0x4d31ec,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x20825c&&_0x6312aa['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x20825c&&_0x6312aa['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x20825c&&_0x6312aa['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x20825c&&_0x6312aa['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x20825c&&_0x6312aa['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x20825c&&_0x6312aa['_showLicenseError']('usageLimit');},0x3e8);}_createButton(_0x360d6f){const _0xb313c=this['editor'],_0x3f5d0e=_0xb313c['locale'],_0x4d966d=_0xb313c['commands']['get']('insertTableOfContents'),_0x5cb57a=new _0x360d6f(_0x3f5d0e);return _0x5cb57a['set']({'label':L(_0x3f5d0e,'Table\x20of\x20contents'),'icon':_0x5a1aae}),_0x5cb57a['bind']('isEnabled')['to'](_0x4d966d,'isEnabled'),this['listenTo'](_0x5cb57a,'execute',()=>{_0xb313c['execute']('insertTableOfContents'),_0xb313c['editing']['view']['focus']();}),_0x5cb57a;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x1b8591{static get requires(){return[N,P];}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,U as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,P as TableOfContentsUI};
|
|
23
|
+
import{Command as _0xcd68cc,Plugin as _0x13e017}from'@ckeditor/ckeditor5-core';import{debounce as _0x257110,throttle as _0x38de93}from'es-toolkit/compat';import{ModelText as _0x1fa900,ModelTreeWalker as _0x4696da}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x1dc2a7,Rect as _0x4bade7,diff as _0x17382a,diffToChanges as _0x332aa8,global as _0x485f21,priorities as _0x322db9,scrollAncestorsToShowTarget as _0x2ace38,uid as _0x59b02d}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x5b76a2,MenuBarMenuListItemButtonView as _0x3cbd4e,View as _0x240b75}from'@ckeditor/ckeditor5-ui';import{Widget as _0x4a29b8,toWidget as _0x5db33c}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x57d48c}from'@ckeditor/ckeditor5-icons';function b(_0x4475f5){let _0x41f94d='';for(const _0x5841d0 of _0x4475f5['getChildren']())_0x5841d0 instanceof _0x1fa900&&(_0x41f94d+=_0x5841d0['data']);return _0x41f94d;}var I=class extends _0x13e017{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x54899e=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x37aed9=[];_0x54899e['model']['document']['on']('change',_0x257110(()=>{const _0x38b625=_0x37aed9;_0x37aed9=this['_getOutlineDefinitions']();const _0x2ca191=_0x332aa8(_0x17382a(_0x38b625,_0x37aed9,(_0x2013e8,_0x5588ce)=>_0x2013e8['level']===_0x5588ce['level']&&_0x2013e8['text']===_0x5588ce['text']&&_0x2013e8['modelElement']===_0x5588ce['modelElement']),_0x37aed9),_0x5602b7=this['_getActiveHeading'](),_0x4575e9=_0x37aed9['findIndex'](_0x55fc31=>_0x55fc31['modelElement']===_0x5602b7);_0x2ca191['length']&&this['fire']('change',{'outlineDefinitions':_0x37aed9,'activeItemIndex':_0x4575e9,'outlineChanges':_0x2ca191}),this['fire']('activeItemIndex',{'index':_0x4575e9});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x23a589=this['editor'],_0x4ef14d=[],_0x1b8334=this['_headingNames'];for(const _0x3961de of _0x23a589['model']['document']['getRootNames']())_0x55f2f6(_0x23a589['model']['document']['getRoot'](_0x3961de));function _0x55f2f6(_0x4f37f6){for(const _0xed5c91 of _0x4f37f6['getChildren']())_0xed5c91['is']('element')&&(_0x1b8334['includes'](_0xed5c91['name'])&&_0x4ef14d['push']({'level':_0x1b8334['indexOf'](_0xed5c91['name'])+0x1,'text':b(_0xed5c91),'modelElement':_0xed5c91}),_0x55f2f6(_0xed5c91));}return _0x4ef14d;}_getActiveHeading(){const _0x2e0877=new _0x4696da({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x6019c2 of _0x2e0877)if(_0x6019c2['item']['is']('element')&&this['_headingNames']['includes'](_0x6019c2['item']['name']))return _0x6019c2['item'];}_getHeadingNames(){const _0x133210=this['editor']['config']['get']('documentOutline.headings');return _0x133210||function(_0x562d98){const _0x3948cd=_0x562d98['config']['get']('heading.options');return _0x3948cd?_0x3948cd['reduce']((_0x1d6547,_0x2ddef2)=>('paragraph'!==_0x2ddef2['model']&&_0x1d6547['push'](_0x2ddef2['model']),_0x1d6547),[]):_0x562d98['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x38c979=this['editor'],_0x34492e=['h1','h2','h3','h4','h5','h6'],_0x2c70aa=[];for(const _0x482134 of _0x34492e){const _0xf519b0=_0x38c979['editing']['view']['domConverter']['domToView'](document['createElement'](_0x482134)),_0x15da33=_0x38c979['data']['toModel'](_0xf519b0)['getChild'](0x0);_0x15da33?.['is']('element')&&_0x2c70aa['push'](_0x15da33['name']);}this['_headingNames']=_0x2c70aa;}};function L(_0x52207e,_0x557f90){const t=_0x52207e['t'];switch(_0x557f90){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 _0x557f90;}}var C=class extends _0x240b75{constructor(_0x3aed3c,_0x713cfa=!0x1){super(_0x3aed3c);const _0x1cae63=this['bindTemplate'],_0xc410ed=_0x713cfa?'['+L(_0x3aed3c,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x510d14=>!_0x510d14),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x1cae63['to']('level',_0x25e088=>'ck-document-outline__item_level-'+_0x25e088),_0x1cae63['if']('isActive','ck-document-outline__item_active'),_0x1cae63['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x1cae63['to']('text')},'children':[{'text':_0x1cae63['to']('text',_0x2b1efb=>_0x2b1efb||_0xc410ed)}],'on':{'click':_0x1cae63['to']('click')}});}},_=class extends _0x240b75{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x46f477,_0x275c7b=!0x1,_0xc64e94){super(_0x46f477),this['showEmptyHeadingText']=_0x275c7b,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0xc64e94,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x2a07a4,_0xc847b1,_0x41483d,_0x21b52e)=>{this['_setActiveItem'](_0x21b52e,_0x41483d);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x46f477['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x46f477,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x419836){_0x419836['forEach'](_0x1c9350=>{'insert'==_0x1c9350['type']?this['_insertItem'](_0x1c9350['index'],..._0x1c9350['values']):'delete'==_0x1c9350['type']&&this['_deleteItem'](_0x1c9350['index'],_0x1c9350['howMany']);});}_setActiveItem(_0x265823,_0x5c22e6){if(-0x1!==_0x265823){const _0x32e192=this['items']['get'](_0x265823);_0x32e192&&(_0x32e192['isActive']=!0x1);}-0x1!==_0x5c22e6&&(this['items']['get'](_0x5c22e6)['isActive']=!0x0,this['_scrollToItem'](_0x5c22e6));}_insertItem(_0x1ea221,..._0x18994f){const _0x32b55a=_0x18994f['map']((_0x2ecd1c,_0x3a8950)=>{const _0x5363d8=new C(this['locale'],this['showEmptyHeadingText']);return _0x5363d8['text']=_0x2ecd1c['text'],_0x5363d8['level']=_0x2ecd1c['level'],_0x1ea221+_0x3a8950===this['activeItemIndex']&&(_0x5363d8['isActive']=!0x0),_0x5363d8;});this['items']['addMany'](_0x32b55a,_0x1ea221);}_deleteItem(_0x298ec0,_0x2c97e8){do{this['items']['remove'](_0x298ec0);}while(--_0x2c97e8);}_handleItemClick(_0x3b25fb){const _0x70d046=this['items']['getIndex'](_0x3b25fb['source']);this['fire']('itemSelected',_0x70d046);}_scrollToItem(_0x9178be){_0x2ace38(this['items']['get'](_0x9178be)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x13e017{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x583788){super(_0x583788),this['view']=new _(_0x583788['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x38de93(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x38857f=this['editor'],_0x369cf9=_0x38857f['plugins']['get']('DocumentOutlineUtils');let _0x49f384=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x38857f['config']['get']('documentOutline.container'))throw new _0x1dc2a7('document-outline-container-not-provided',{'editor':_0x38857f});_0x38857f['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x369cf9['on']('change',this['_handleOutlineChange']['bind'](this)),_0x369cf9['on']('activeItemIndex',(_0x1df830,{index:_0x242098})=>this['_setActiveViewItem'](_0x242098)),this['view']['on']('itemSelected',(_0x4fe076,_0x325811)=>{_0x49f384=!0x0,this['_handleItemSelected'](_0x325811);}),this['view']['listenTo'](_0x485f21['document'],'scroll',()=>{_0x49f384?_0x49f384=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x485f21['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x5fb199){const _0x332b23='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x344327=0x791d0,_0x5517c8=window['Date']['now'](),_0x1b6dd6=_0x5fb199['editor'],_0x34d37b=new window['Promise'](_0x2bcb1f=>{_0x1b6dd6['once']('ready',_0x2bcb1f);}),_0x4beaee={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xd25eb1=_0x1b6dd6['config']['get']('licenseKey');async function _0x928dee(){let _0x13fcee,_0x3dbaed=null,_0x3bc72e=null;try{return'GPL'==_0xd25eb1?'NotAllowed':(_0x13fcee=_0x1e1129(),_0x13fcee?(_0x13fcee['usageEndpoint']&&(_0x3bc72e=_0x106d59(_0x13fcee['usageEndpoint'],_0x13fcee['jti'])),await _0x47dbc3()?_0x19ec60()?_0x405b93()?'Expired':_0x50e7de()?('evaluation'==_0x13fcee['licenseType']&&(_0x3dbaed=_0x2748e2('EvaluationLimit')),await _0x35dc3f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x405b93(){const _0x5447c5=['evaluation','trial']['includes'](_0x13fcee['licenseType'])?_0x5517c8/0x3e8:0xe10*_0x344327;return _0x13fcee['exp']<_0x5447c5;}function _0x19ec60(){const _0xc84158=_0x13fcee['features'];return!!_0xc84158&&(!!_0xc84158['includes']('*')||(!!_0xc84158['includes']('DO')||(!!_0xc84158['includes']('PP')||!(!_0xc84158['includes']('TRILIUM')||!_0x3027f1()))));}function _0x50e7de(){const _0x3d1f3b=_0x13fcee['licensedHosts'];if(!_0x3d1f3b||0x0==_0x3d1f3b['length'])return!0x0;const {hostname:_0x63481c}=new URL(window['location']['href']);if(_0x3d1f3b['includes'](_0x63481c))return!0x0;const _0x258878=_0x63481c['split']('.');return _0x3d1f3b['filter'](_0x3fc529=>_0x3fc529['includes']('*'))['map'](_0x395055=>_0x395055['split']('.'))['filter'](_0xfcf61b=>_0xfcf61b['length']<=_0x258878['length'])['map'](_0x270ce2=>Array(_0x258878['length']-_0x270ce2['length'])['fill']('*'===_0x270ce2[0x0]?'*':'')['concat'](_0x270ce2))['some'](_0x1ccba1=>_0x258878['every']((_0x5f3e15,_0x577784)=>_0x1ccba1[_0x577784]===_0x5f3e15||'*'===_0x1ccba1[_0x577784]));}function _0x35dc3f(){return _0x3dbaed&&_0x3bc72e?new window['Promise']((_0x2f9978,_0x34b3b4)=>{_0x3dbaed['then'](_0x2f9978,_0x34b3b4),_0x3bc72e['then'](_0x3aac25=>{'Valid'!=_0x3aac25&&_0x2f9978(_0x3aac25);},_0x34b3b4);}):_0x3dbaed||_0x3bc72e||'Valid';}}function _0x106d59(_0x396349,_0x45d2be){return new window['Promise'](_0x34a6cf=>{if(_0x1c3630())return _0x34a6cf('Valid');_0x2cf2ce(),_0x1b6dd6['decorate']('_sendUsageRequest');let _0x52eee1=!0x1;const _0x57829f=_0x59b02d();function _0xaf7234(_0x2e3784){return!!_0x2e3784&&('object'==typeof _0x2e3784||'function'==typeof _0x2e3784)&&'function'==typeof _0x2e3784['then']&&'function'==typeof _0x2e3784['catch'];}function _0x146fe0(_0xe33bbd){_0xba81a5(_0xe33bbd)['then'](_0x29c604=>_0x29c604&&'ok'==_0x29c604['status']?_0xf8dc19(_0x12f9ba(_0x57829f+_0x45d2be))!=_0x29c604['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3e4f40=>(_0x520d8e(),_0x3e4f40),()=>{const _0x234d8a=_0x3e9f32();return null==_0x234d8a?(_0x520d8e(),'Valid'):_0x5517c8-_0x234d8a>0x240c8400?'UsageLimit':'Valid';})['then'](_0x34a6cf)['catch'](()=>{_0x34a6cf('UsageLimit');});const _0x167780=0x36ee80;function _0x520d8e(){const _0x1503ce='llct-'+_0xf8dc19(_0x12f9ba(_0x396349)),_0x2e103f=_0x2b50f1(_0xf8dc19(window['Math']['ceil'](_0x5517c8/_0x167780)));window['localStorage']['setItem'](_0x1503ce,_0x2e103f);}function _0x3e9f32(){const _0xcd9d91='llct-'+_0xf8dc19(_0x12f9ba(_0x396349)),_0x570302=window['localStorage']['getItem'](_0xcd9d91);return _0x570302?window['parseInt'](_0x2b50f1(_0x570302),0x10)*_0x167780:null;}function _0xba81a5(_0x45c8a6){return new window['Promise']((_0x5c50ae,_0x535e40)=>{_0x45c8a6['then'](_0x5c50ae,_0x535e40),window['setTimeout'](_0x535e40,0x1d4c0);});}}_0x1b6dd6['on']('_sendUsageRequest',(_0x37ec88,_0x1a1372)=>{if(_0x1a1372[0x0]!=_0x396349)return _0x34a6cf('UsageLimit');_0x1a1372[0x1]={..._0x1a1372[0x1],'requestId':_0x57829f};},{'priority':'high'}),_0x1b6dd6['on']('_sendUsageRequest',_0x2fff6b=>{_0xaf7234(_0x2fff6b['return'])&&(_0x52eee1=!0x0,_0x146fe0(_0x2fff6b['return']));},{'priority':'low'}),_0x34d37b['then'](()=>{_0x52eee1||_0x34a6cf('UsageLimit');});});function _0x1c3630(){return'auto'==_0x1b6dd6['editing']['view']['_overlayModeHint'];}function _0x2cf2ce(){_0x1b6dd6['editing']['view']['_overlayModeHint']='auto';}}function _0x2748e2(_0x2aaba9){const _0x52c600=[new window['Promise'](_0x24f80c=>setTimeout(_0x24f80c,0x93ecc)),_0x34d37b['then'](()=>new window['Promise'](_0x18b62d=>{let _0x3b69f1=0x0;_0x1b6dd6['model']['on']('applyOperation',(_0x167c64,_0x1fd166)=>{_0x1fd166[0x0]['isDocumentOperation']&&_0x3b69f1++,0x5e8==_0x3b69f1&&(_0x18b62d(),_0x167c64['off']());});}))];return window['Promise']['race'](_0x52c600)['then'](()=>_0x2aaba9);}async function _0x463ee4(){await _0x34d37b,_0x1b6dd6['model']['change']=_0x1ee7fc,_0x1b6dd6['model']['enqueueChange']=_0x1ee7fc,_0x1b6dd6['enableReadOnlyMode']('model');}function _0x3027f1(){return window['glob']&&window['glob']['triliumVersion'];}function _0x30c965(_0x1b125b){const _0x78d073=_0x228180();_0x1b6dd6[_0x78d073]='documentOutlineLicenseKey'+_0x1b125b,'Valid'!=_0x1b125b&&_0x463ee4();}function _0x228180(){const _0x1f3c3b=window['String'](window['performance']['now']())['replace']('.','');let _0x44160b='a';for(let _0x14cf03=0x0;_0x14cf03<_0x1f3c3b['length'];_0x14cf03+=0x2){let _0x371c7c=window['parseInt'](_0x1f3c3b['substring'](_0x14cf03,_0x14cf03+0x2));_0x371c7c>=0x3e&&(_0x371c7c-=0x3e),_0x44160b+=_0x332b23[_0x371c7c];}return _0x44160b;}function _0x1e1129(){const _0x2cbbef=_0xd25eb1['split']('.');if(0x3!=_0x2cbbef['length'])return null;return _0x160aef(_0x2cbbef[0x1]);function _0x160aef(_0x3bb865){const _0x2ac843=_0x2b6a9e(_0x3bb865);return _0x2ac843&&_0x53671b()?_0x2ac843:null;function _0x53671b(){const _0x5526ae=_0x2ac843['jti'],_0x2cf99c=window['parseInt'](_0x5526ae['substring'](_0x5526ae['length']-0x8),0x10),_0x564464={..._0x2ac843,'jti':_0x5526ae['substring'](0x0,_0x5526ae['length']-0x8)};return delete _0x564464['vc'],_0x12f9ba(_0x564464)==_0x2cf99c;}}}async function _0x47dbc3(){let _0x151357=!0x0;try{const [_0x2edd82,_0x3df146,_0x442f63]=_0xd25eb1['split']('.');return _0x37d99a(_0x2edd82),await _0x571ebf(_0x2edd82,_0x3df146,_0x442f63),_0x151357;}catch{return!0x1;}function _0x37d99a(_0x4ac053){const _0xddd51e=_0x2b6a9e(_0x4ac053);_0xddd51e&&'ES256'==_0xddd51e['alg']||(_0x151357=!0x1);}async function _0x571ebf(_0x5c61ea,_0x39b854,_0x2a7148){const _0x43ae28=window['Uint8Array']['from'](_0xb1fcb9(_0x2a7148),_0x4acf47=>_0x4acf47['charCodeAt'](0x0)),_0x1d1b9f=new window['TextEncoder']()['encode'](_0x5c61ea+'.'+_0x39b854),_0x555461=window['crypto']['subtle'];if(!_0x555461)return;const _0x13339c=await _0x555461['importKey']('jwk',_0x4beaee,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x555461['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x13339c,_0x43ae28,_0x1d1b9f)||(_0x151357=!0x1);}}function _0x2b6a9e(_0x3892d6){return _0x3892d6['startsWith']('ey')?JSON['parse'](_0xb1fcb9(_0x3892d6)):null;}function _0xb1fcb9(_0x22e4b7){return window['atob'](_0x22e4b7['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x12f9ba(_0x5a62fe){let _0x63b181=0x1505;function _0x848be0(_0x387308){for(let _0x370922=0x0;_0x370922<_0x387308['length'];_0x370922++){const _0x442c2b=_0x387308['charCodeAt'](_0x370922);_0x63b181=(_0x63b181<<0x5)+_0x63b181+_0x442c2b,_0x63b181&=_0x63b181;}}function _0x1e380a(_0x46ff8c){Array['isArray'](_0x46ff8c)?_0x46ff8c['forEach'](_0x1e380a):_0x46ff8c&&'object'==typeof _0x46ff8c?Object['entries'](_0x46ff8c)['sort']()['forEach'](([_0x15f5c0,_0x2740bf])=>{_0x848be0(_0x15f5c0),_0x1e380a(_0x2740bf);}):_0x848be0(window['String'](_0x46ff8c));}return _0x1e380a(_0x5a62fe),_0x63b181>>>0x0;}function _0xf8dc19(_0x4511a7){return _0x4511a7['toString'](0x10)['padStart'](0x8,'0');}function _0x2b50f1(_0x1af28a){return _0x1af28a['split']('')['reverse']()['join']('');}function _0x1ee7fc(){}_0x30c965(await _0x928dee());}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x2e2e0e,{outlineDefinitions:_0x5576eb,outlineChanges:_0x322fd0}){this['_currentOutlineDefinitions']=_0x5576eb,this['view']['sync'](_0x322fd0);}_setActiveViewItem(_0x1461cf){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1461cf]&&(this['view']['activeItemIndex']=_0x1461cf);}_handleItemSelected(_0x1aca96){const _0x47ae0f=this['_currentOutlineDefinitions'][_0x1aca96]['modelElement'];this['editor']['model']['change'](_0x1bbcfd=>{_0x1bbcfd['setSelection'](_0x47ae0f,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x1aca96);}_updateActiveDefinitionOnViewportChange(){const _0x5d3822=this['editor'];let _0xb35a0a;for(const _0x304b28 of _0x5d3822['model']['document']['getRootNames']()){const _0x59965a=_0x5d3822['editing']['view']['getDomRoot'](_0x304b28),_0x4218f8=_0x59965a&&new _0x4bade7(_0x59965a)['getVisible']();if(_0x4218f8){const _0x1435ab=new _0x4bade7(_0x485f21['window'])['getIntersection'](_0x4218f8);_0x1435ab&&(_0xb35a0a=_0x1435ab['top']+0.25*_0x1435ab['height']);}}if(void 0x0===_0xb35a0a)return;const _0x333a2d=k(_0x5d3822['editing'],this['_currentOutlineDefinitions'],_0xb35a0a);_0x333a2d?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x333a2d)):this['_setActiveViewItem'](-0x1);}};function k(_0x3071dc,_0x58222e,_0x14f6ba,_0x4f0aa7=0x0,_0x21e395=_0x58222e['length']-0x1){const _0x48732c=Math['floor'](_0x4f0aa7+(_0x21e395-_0x4f0aa7)/0x2);if(_0x21e395>=_0x4f0aa7){const _0x42f664=_0x58222e[_0x48732c],_0x6f869a=_0x3071dc['mapper']['toViewElement'](_0x42f664['modelElement']);return _0x6f869a?new _0x4bade7(_0x3071dc['view']['domConverter']['mapViewToDom'](_0x6f869a))['bottom']>_0x14f6ba?k(_0x3071dc,_0x58222e,_0x14f6ba,_0x4f0aa7,_0x48732c-0x1):k(_0x3071dc,_0x58222e,_0x14f6ba,_0x48732c+0x1,_0x21e395):null;}return _0x48732c<0x0?null:_0x58222e[_0x48732c];}var E=class extends _0x13e017{['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 _0x24078a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb1cac9;for(const _0x550430 in _0x24078a){const _0x566827=_0x550430,_0x237a15=_0x24078a[_0x566827];if('documentOutlineLicenseKeyValid'==_0x237a15||'documentOutlineLicenseKeyInvalid'==_0x237a15||'documentOutlineLicenseKeyExpired'==_0x237a15||'documentOutlineLicenseKeyDomainLimit'==_0x237a15||'documentOutlineLicenseKeyNotAllowed'==_0x237a15||'documentOutlineLicenseKeyEvaluationLimit'==_0x237a15||'documentOutlineLicenseKeyUsageLimit'==_0x237a15){delete _0x24078a[_0x566827],_0xb1cac9=_0x237a15,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0xb1cac9&&_0x24078a['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0xb1cac9&&_0x24078a['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0xb1cac9&&_0x24078a['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0xb1cac9&&_0x24078a['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0xb1cac9&&_0x24078a['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0xb1cac9&&_0x24078a['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0xcd68cc{execute(){this['editor']['model']['change'](_0x95926e=>{this['editor']['model']['insertObject'](_0x95926e['createElement']('tableOfContents'));});}['refresh'](){const _0x11d2e3=this['editor']['model'],_0x38d947=_0x11d2e3['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x38d947&&_0x11d2e3['schema']['findAllowedParent'](_0x38d947,'tableOfContents'));}},A=class extends _0x13e017{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x1f4b2f=this['editor'];if(_0x1f4b2f['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0xe7cd4b,modelNames:_0x1f39d2}=function(_0x47a127){const _0x1dcee8=new Set(['h1','h2','h3','h4','h5','h6']),_0x4cfd82=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x47a127)return{'viewNames':_0x1dcee8,'modelNames':_0x4cfd82};for(const _0x14852b of _0x47a127){if('paragraph'===_0x14852b['model'])continue;const _0x5596b6='string'==typeof _0x14852b['view']?_0x14852b['view']:_0x14852b['view']['name'];_0x1dcee8['add'](_0x5596b6),_0x4cfd82['add'](_0x14852b['model']);}return{'viewNames':_0x1dcee8,'modelNames':_0x4cfd82};}(this['editor']['config']['get']('heading.options'));for(const _0x184f40 of _0xe7cd4b)this['_customUpcastHeadingsConversion'](_0x184f40);for(const _0x10e12e of _0x1f39d2)this['_customDataDowncastHeadingsConversion'](_0x10e12e),_0x1f4b2f['model']['schema']['isRegistered'](_0x10e12e)&&_0x1f4b2f['model']['schema']['extend'](_0x10e12e,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x1f39d2);}_customUpcastHeadingsConversion(_0x3d4da0){this['editor']['conversion']['for']('upcast')['add'](_0x37c751=>_0x37c751['on']('element:'+_0x3d4da0,(_0x38e727,_0x11c73f,_0x36b5a6)=>{const {consumable:_0x2bc1a4,writer:_0x1c4679}=_0x36b5a6,_0x1fe43a=_0x11c73f['viewItem']['getAttribute']('id'),_0x369a33=_0x11c73f['modelRange']?.['getContainedElement']();if(_0x369a33)return _0x1fe43a&&_0x1fe43a['length']||_0x369a33['hasAttribute']('headingId')?void(_0x2bc1a4['consume'](_0x11c73f['viewItem'],{'attributes':['id']})&&_0x1c4679['setAttribute']('headingId',_0x1fe43a,_0x369a33)):(_0x2bc1a4['consume'](_0x11c73f['viewItem'],{'attributes':['id']}),void _0x1c4679['setAttribute']('headingId',_0x59b02d(),_0x369a33));},{'priority':_0x322db9['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x3add35){this['editor']['conversion']['for']('downcast')['add'](_0x59886a=>_0x59886a['on']('attribute:headingId:'+_0x3add35,(_0x59d773,_0x51b0c6,_0x3c0bf1)=>{if(!_0x3c0bf1['consumable']['consume'](_0x51b0c6['item'],_0x59d773['name']))return;const _0xe7611d=_0x51b0c6['item']['getAttribute']('headingId'),_0xc0e66=_0x3c0bf1['mapper']['toViewElement'](_0x51b0c6['item']);_0x3c0bf1['writer']['setAttribute']('id',_0xe7611d,_0xc0e66);}));}_registerHeadingIdAttributePostfixer(_0x520c22){const _0x109fe6=this['editor'],_0x2de254=new Set(),_0x5d864f=new Set();function _0x4a52c5(_0x53fa15,_0xa192a5){const _0x496937=_0x59b02d();return _0x5d864f['add'](_0x496937),_0x53fa15['setAttribute']('headingId',_0x496937,_0xa192a5),_0x496937;}function _0x13192d(_0x2c2691,_0x3c8650){_0x2c2691['removeAttribute']('headingId',_0x3c8650);}_0x109fe6['model']['document']['registerPostFixer'](_0x389dc6=>{const _0x1b8d44=_0x109fe6['model']['document']['differ']['getChanges']();let _0x332bb9=!0x1;for(const _0x37e704 of _0x1b8d44)if('insert'==_0x37e704['type']&&_0x37e704['name']){if(_0x520c22['has'](_0x37e704['name'])){const _0x39788e=_0x37e704['attributes']['get']('headingId');'string'==typeof _0x39788e?_0x2de254['has'](_0x39788e)?(_0x4a52c5(_0x389dc6,_0x37e704['position']['nodeAfter']),_0x332bb9=!0x0):_0x5d864f['add'](_0x39788e):(_0x4a52c5(_0x389dc6,_0x37e704['position']['nodeAfter']),_0x332bb9=!0x0);}else'string'==typeof _0x37e704['attributes']['get']('headingId')&&(_0x13192d(_0x389dc6,_0x37e704['position']['nodeAfter']),_0x332bb9=!0x0);}else{if('remove'==_0x37e704['type']){const _0x13777d=_0x37e704['attributes']['get']('headingId');'string'==typeof _0x13777d&&_0x2de254['delete'](_0x13777d);}}return _0x332bb9;}),_0x109fe6['model']['document']['on']('change',()=>{_0x5d864f['forEach'](_0x395d4f=>_0x2de254['add'](_0x395d4f)),_0x5d864f['clear']();});}},N=class extends _0x13e017{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x4a29b8,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x1186f0){super(_0x1186f0),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x3096d8=this['editor'],_0x393128=_0x3096d8['editing']['view']['document'];_0x3096d8['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3096d8['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x393128,'click',(_0x253efa,_0x113c76)=>{if(!_0x113c76['target'])return;const _0x5d40f=_0x113c76['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5d40f)&&(_0x113c76['domEvent']['preventDefault'](),_0x253efa['stop'](),this['_handleScrollToHeading'](_0x5d40f));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3096d8['commands']['add']('insertTableOfContents',new K(_0x3096d8));const _0x5ac843=_0x3096d8['config']['get']('tableOfContents.headings');_0x5ac843&&_0x5ac843['length']?this['listenTo'](_0x3096d8['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x5ac843),this['_updateTableOfContentsElements']();}):_0x3096d8['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x386bfe,_0x164e5e)=>{this['_currentOutlineDefinitions']=_0x164e5e['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3096d8['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x2382b3){const _0x4b2db0='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x269ccf=0x791d0,_0x46d4b5=window['Date']['now'](),_0x3ac25b=_0x2382b3['editor'],_0x3ec0f3=new window['Promise'](_0x4e818d=>{_0x3ac25b['once']('ready',_0x4e818d);}),_0x11bbed={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4aa415=_0x3ac25b['config']['get']('licenseKey');async function _0x5dd773(){let _0x229c8a,_0x24caf8=null,_0x2579ea=null;try{return'GPL'==_0x4aa415?'NotAllowed':(_0x229c8a=_0xcaab53(),_0x229c8a?(_0x229c8a['usageEndpoint']&&(_0x2579ea=_0x3a19a(_0x229c8a['usageEndpoint'],_0x229c8a['jti'])),await _0x500578()?_0x518063()?_0x21d9aa()?'Expired':_0x290e50()?('evaluation'==_0x229c8a['licenseType']&&(_0x24caf8=_0x26d531('EvaluationLimit')),await _0x2348c7()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x21d9aa(){const _0x1bad83=['evaluation','trial']['includes'](_0x229c8a['licenseType'])?_0x46d4b5/0x3e8:0xe10*_0x269ccf;return _0x229c8a['exp']<_0x1bad83;}function _0x518063(){const _0x27acc1=_0x229c8a['features'];return!!_0x27acc1&&(!!_0x27acc1['includes']('*')||(!!_0x27acc1['includes']('TOC')||(!!_0x27acc1['includes']('PP')||!(!_0x27acc1['includes']('TRILIUM')||!_0x3608f7()))));}function _0x290e50(){const _0x159110=_0x229c8a['licensedHosts'];if(!_0x159110||0x0==_0x159110['length'])return!0x0;const {hostname:_0x36084b}=new URL(window['location']['href']);if(_0x159110['includes'](_0x36084b))return!0x0;const _0x35b71b=_0x36084b['split']('.');return _0x159110['filter'](_0x59fe15=>_0x59fe15['includes']('*'))['map'](_0x391bd5=>_0x391bd5['split']('.'))['filter'](_0x77079e=>_0x77079e['length']<=_0x35b71b['length'])['map'](_0x51985c=>Array(_0x35b71b['length']-_0x51985c['length'])['fill']('*'===_0x51985c[0x0]?'*':'')['concat'](_0x51985c))['some'](_0x409f10=>_0x35b71b['every']((_0x1b700c,_0x5a44fd)=>_0x409f10[_0x5a44fd]===_0x1b700c||'*'===_0x409f10[_0x5a44fd]));}function _0x2348c7(){return _0x24caf8&&_0x2579ea?new window['Promise']((_0x4f67b9,_0x3b959d)=>{_0x24caf8['then'](_0x4f67b9,_0x3b959d),_0x2579ea['then'](_0x1db9f7=>{'Valid'!=_0x1db9f7&&_0x4f67b9(_0x1db9f7);},_0x3b959d);}):_0x24caf8||_0x2579ea||'Valid';}}function _0x3a19a(_0xf64be7,_0x5cb891){return new window['Promise'](_0x971341=>{if(_0x5393c3())return _0x971341('Valid');_0x583070(),_0x3ac25b['decorate']('_sendUsageRequest');let _0x1d50ec=!0x1;const _0x32bc50=_0x59b02d();function _0x528888(_0x192baf){return!!_0x192baf&&('object'==typeof _0x192baf||'function'==typeof _0x192baf)&&'function'==typeof _0x192baf['then']&&'function'==typeof _0x192baf['catch'];}function _0x2ab95e(_0x1322db){_0x496ca2(_0x1322db)['then'](_0x4d7ba3=>_0x4d7ba3&&'ok'==_0x4d7ba3['status']?_0x49a36f(_0xb2f16(_0x32bc50+_0x5cb891))!=_0x4d7ba3['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x110382=>(_0x582c55(),_0x110382),()=>{const _0x2dece6=_0x505a0b();return null==_0x2dece6?(_0x582c55(),'Valid'):_0x46d4b5-_0x2dece6>0x240c8400?'UsageLimit':'Valid';})['then'](_0x971341)['catch'](()=>{_0x971341('UsageLimit');});const _0x3a2407=0x36ee80;function _0x582c55(){const _0x35d47b='llct-'+_0x49a36f(_0xb2f16(_0xf64be7)),_0x3948e7=_0x520ad5(_0x49a36f(window['Math']['ceil'](_0x46d4b5/_0x3a2407)));window['localStorage']['setItem'](_0x35d47b,_0x3948e7);}function _0x505a0b(){const _0x2b92cd='llct-'+_0x49a36f(_0xb2f16(_0xf64be7)),_0x2a59c4=window['localStorage']['getItem'](_0x2b92cd);return _0x2a59c4?window['parseInt'](_0x520ad5(_0x2a59c4),0x10)*_0x3a2407:null;}function _0x496ca2(_0x3c37d0){return new window['Promise']((_0x197ef0,_0x1e47b6)=>{_0x3c37d0['then'](_0x197ef0,_0x1e47b6),window['setTimeout'](_0x1e47b6,0x1d4c0);});}}_0x3ac25b['on']('_sendUsageRequest',(_0x2d35b9,_0x89b84c)=>{if(_0x89b84c[0x0]!=_0xf64be7)return _0x971341('UsageLimit');_0x89b84c[0x1]={..._0x89b84c[0x1],'requestId':_0x32bc50};},{'priority':'high'}),_0x3ac25b['on']('_sendUsageRequest',_0x1c946a=>{_0x528888(_0x1c946a['return'])&&(_0x1d50ec=!0x0,_0x2ab95e(_0x1c946a['return']));},{'priority':'low'}),_0x3ec0f3['then'](()=>{_0x1d50ec||_0x971341('UsageLimit');});});function _0x5393c3(){return'auto'==_0x3ac25b['editing']['view']['_overlayModeHint'];}function _0x583070(){_0x3ac25b['editing']['view']['_overlayModeHint']='auto';}}function _0x26d531(_0x3b0642){const _0x28c4ce=[new window['Promise'](_0x5c624b=>setTimeout(_0x5c624b,0x93ecc)),_0x3ec0f3['then'](()=>new window['Promise'](_0x114557=>{let _0x1f15d2=0x0;_0x3ac25b['model']['on']('applyOperation',(_0x25f7b2,_0x12ac31)=>{_0x12ac31[0x0]['isDocumentOperation']&&_0x1f15d2++,0x5e8==_0x1f15d2&&(_0x114557(),_0x25f7b2['off']());});}))];return window['Promise']['race'](_0x28c4ce)['then'](()=>_0x3b0642);}async function _0x81c57a(){await _0x3ec0f3,_0x3ac25b['model']['change']=_0x1c4657,_0x3ac25b['model']['enqueueChange']=_0x1c4657,_0x3ac25b['enableReadOnlyMode']('model');}function _0x3608f7(){return window['glob']&&window['glob']['triliumVersion'];}function _0x36b28f(_0x279881){const _0x163579=_0x4e1b96();_0x3ac25b[_0x163579]='tableOfContentsLicenseKey'+_0x279881,'Valid'!=_0x279881&&_0x81c57a();}function _0x4e1b96(){const _0x2a7055=window['String'](window['performance']['now']())['replace']('.','');let _0x1694e6='m';for(let _0x2a17e9=0x0;_0x2a17e9<_0x2a7055['length'];_0x2a17e9+=0x2){let _0xb5e0e2=window['parseInt'](_0x2a7055['substring'](_0x2a17e9,_0x2a17e9+0x2));_0xb5e0e2>=0x3e&&(_0xb5e0e2-=0x3e),_0x1694e6+=_0x4b2db0[_0xb5e0e2];}return _0x1694e6;}function _0xcaab53(){const _0x34fee6=_0x4aa415['split']('.');if(0x3!=_0x34fee6['length'])return null;return _0x2559ef(_0x34fee6[0x1]);function _0x2559ef(_0x4f2df9){const _0x3d0114=_0x2e25b6(_0x4f2df9);return _0x3d0114&&_0x5bdaf6()?_0x3d0114:null;function _0x5bdaf6(){const _0x109e07=_0x3d0114['jti'],_0x57df62=window['parseInt'](_0x109e07['substring'](_0x109e07['length']-0x8),0x10),_0x5a2913={..._0x3d0114,'jti':_0x109e07['substring'](0x0,_0x109e07['length']-0x8)};return delete _0x5a2913['vc'],_0xb2f16(_0x5a2913)==_0x57df62;}}}async function _0x500578(){let _0x59046a=!0x0;try{const [_0x3855a0,_0x10b964,_0x150445]=_0x4aa415['split']('.');return _0x5f0fd7(_0x3855a0),await _0x107708(_0x3855a0,_0x10b964,_0x150445),_0x59046a;}catch{return!0x1;}function _0x5f0fd7(_0x355acd){const _0x3ddbab=_0x2e25b6(_0x355acd);_0x3ddbab&&'ES256'==_0x3ddbab['alg']||(_0x59046a=!0x1);}async function _0x107708(_0x2493f5,_0x4ee3f0,_0x571311){const _0x34db08=window['Uint8Array']['from'](_0x2a0189(_0x571311),_0x5e0962=>_0x5e0962['charCodeAt'](0x0)),_0x5cce1f=new window['TextEncoder']()['encode'](_0x2493f5+'.'+_0x4ee3f0),_0x116185=window['crypto']['subtle'];if(!_0x116185)return;const _0x2e2522=await _0x116185['importKey']('jwk',_0x11bbed,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x116185['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2e2522,_0x34db08,_0x5cce1f)||(_0x59046a=!0x1);}}function _0x2e25b6(_0x331330){return _0x331330['startsWith']('ey')?JSON['parse'](_0x2a0189(_0x331330)):null;}function _0x2a0189(_0x395711){return window['atob'](_0x395711['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xb2f16(_0x508a19){let _0x2336e1=0x1505;function _0x146fea(_0x99a7e3){for(let _0x5d4bf7=0x0;_0x5d4bf7<_0x99a7e3['length'];_0x5d4bf7++){const _0x1eebe3=_0x99a7e3['charCodeAt'](_0x5d4bf7);_0x2336e1=(_0x2336e1<<0x5)+_0x2336e1+_0x1eebe3,_0x2336e1&=_0x2336e1;}}function _0x1eecd2(_0x23a305){Array['isArray'](_0x23a305)?_0x23a305['forEach'](_0x1eecd2):_0x23a305&&'object'==typeof _0x23a305?Object['entries'](_0x23a305)['sort']()['forEach'](([_0x2d97cf,_0x1d3d9d])=>{_0x146fea(_0x2d97cf),_0x1eecd2(_0x1d3d9d);}):_0x146fea(window['String'](_0x23a305));}return _0x1eecd2(_0x508a19),_0x2336e1>>>0x0;}function _0x49a36f(_0x4ae431){return _0x4ae431['toString'](0x10)['padStart'](0x8,'0');}function _0x520ad5(_0x453a26){return _0x453a26['split']('')['reverse']()['join']('');}function _0x1c4657(){}_0x36b28f(await _0x5dd773());}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0x414d8a=>{'$graveyard'!==_0x414d8a['rootName']&&this['editor']['editing']['reconvertItem'](_0x414d8a);});}_trackNewToCElements(){for(const _0x277023 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x277023['type']||'tableOfContents'!==_0x277023['name'])return;this['_tableOfContentsElements']['add'](_0x277023['position']['nodeAfter']);}}_getOutlineDefinitions(_0x424f20){const _0x4df859=this['editor'],_0x5b611d=[];for(const _0x45fce9 of _0x4df859['model']['document']['getRootNames']())_0xfb3a2c(_0x4df859['model']['document']['getRoot'](_0x45fce9));function _0xfb3a2c(_0x449022){for(const _0x444dbb of _0x449022['getChildren']())_0x444dbb['is']('element')&&(_0x424f20['includes'](_0x444dbb['name'])&&_0x5b611d['push']({'level':_0x424f20['indexOf'](_0x444dbb['name'])+0x1,'text':b(_0x444dbb),'modelElement':_0x444dbb}),_0xfb3a2c(_0x444dbb));}return _0x5b611d;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x1de3cf=this['editor']['conversion'];_0x1de3cf['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x1de3cf['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2f16cb,{writer:_0xeb48fe})=>this['_createTableOfContents'](_0xeb48fe,!0x0)}),_0x1de3cf['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x6e0a62,{writer:_0x365535})=>(this['_tableOfContentsElements']['add'](_0x6e0a62),_0x5db33c(this['_createTableOfContents'](_0x365535),_0x365535,{'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(_0xcac9c0,_0x4e63ea=!0x1){const {locale:_0xd84d96}=this['editor'],_0x136fc1=_0xcac9c0['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x4e63ea&&{'data-table-of-contents-label':L(_0xd84d96,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x4e63ea&&_0xcac9c0['insert'](_0xcac9c0['createPositionAt'](_0x136fc1,'end'),_0xcac9c0['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0xcac9c0['createText'](L(_0xd84d96,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x37a39e=_0x4e63ea?'':'['+L(_0xd84d96,'Empty\x20heading')+']';let _0x127956=_0x136fc1;return this['_currentOutlineDefinitions']['forEach']((_0x989390,_0xb61af,_0x56e758)=>{const _0x36307d=this['editor']['model']['hasContent'](_0x989390['modelElement'],{'ignoreWhitespaces':!0x0}),_0x1cfdb5=_0x36307d?_0x989390['text']:_0x37a39e,_0x14aaba=_0x989390['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x2351cd=_0xcac9c0['createContainerElement']('a',{'href':'#'+_0x14aaba,...!_0x4e63ea&&{'tabindex':'-1'}},[_0xcac9c0['createText'](_0x1cfdb5)]),_0x3e07f3=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0xcac9c0['setCustomProperty']('tableOfContentsHeadingIndex',_0xb61af,_0x2351cd);const _0x17eb8f=_0xcac9c0['createContainerElement']('li',null,[_0x36307d||!_0x4e63ea&&_0x3e07f3?_0x2351cd:_0xcac9c0['createText']('')]),_0x2edd89=_0xb61af?_0x56e758[_0xb61af-0x1]['level']:0x0,_0x17a929=Math['abs'](_0x989390['level']-_0x2edd89);if(_0x989390['level']>_0x2edd89){const _0x232b31=H(_0x17eb8f,_0x17a929,_0xcac9c0);_0xcac9c0['insert'](_0xcac9c0['createPositionAt'](_0x127956,'end'),_0x232b31);}else{const _0x5a9412=function(_0xb3a3b4,_0x21400d){return _0xb3a3b4['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4f8c24=>_0x4f8c24['is']('element','ol'))[_0x21400d];}(_0x127956,_0x17a929);_0xcac9c0['insert'](_0xcac9c0['createPositionAt'](_0x5a9412,'end'),_0x17eb8f);}_0x127956=_0x17eb8f;}),_0x136fc1;}['_handleScrollToHeading'](_0x18bb1a){const _0x5ac2b3=this['_currentOutlineDefinitions'][_0x18bb1a]['modelElement'];this['editor']['model']['change'](_0x30c9fc=>{_0x30c9fc['setSelection'](_0x5ac2b3,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0xa2cf1b,_0x5c1fa0)=>{const _0x13d0e5=_0x5c1fa0['mapper'],_0x40f6b1=_0x13d0e5['findMappedViewAncestor'](_0x5c1fa0['viewPosition']),_0x9f0c=_0x13d0e5['toModelElement'](_0x40f6b1);_0x9f0c['is']('element','tableOfContents')&&(_0x5c1fa0['modelPosition']=this['editor']['model']['createPositionAt'](_0x9f0c,0x0),_0xa2cf1b['stop']());};}};function H(_0x50f39b,_0x2c49bf,_0x13a949){return 0x1===_0x2c49bf?_0x13a949['createContainerElement']('ol',null,[_0x50f39b]):_0x13a949['createContainerElement']('ol',null,[_0x13a949['createContainerElement']('li',null,[H(_0x50f39b,_0x2c49bf-0x1,_0x13a949)])]);}var P=class extends _0x13e017{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x181bde=this['editor'];_0x181bde['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x113584=this['_createButton'](_0x5b76a2);return _0x113584['tooltip']=!0x0,_0x113584;}),_0x181bde['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x3cbd4e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54d124=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x35fa3f;for(const _0x537fe7 in _0x54d124){const _0x115715=_0x537fe7,_0x5684b8=_0x54d124[_0x115715];if('tableOfContentsLicenseKeyValid'==_0x5684b8||'tableOfContentsLicenseKeyInvalid'==_0x5684b8||'tableOfContentsLicenseKeyExpired'==_0x5684b8||'tableOfContentsLicenseKeyDomainLimit'==_0x5684b8||'tableOfContentsLicenseKeyNotAllowed'==_0x5684b8||'tableOfContentsLicenseKeyEvaluationLimit'==_0x5684b8||'tableOfContentsLicenseKeyUsageLimit'==_0x5684b8){delete _0x54d124[_0x115715],_0x35fa3f=_0x5684b8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x35fa3f&&_0x54d124['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x35fa3f&&_0x54d124['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x35fa3f&&_0x54d124['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x35fa3f&&_0x54d124['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x35fa3f&&_0x54d124['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x35fa3f&&_0x54d124['_showLicenseError']('usageLimit');},0x3e8);}_createButton(_0xd2e562){const _0x2ffe35=this['editor'],_0x35e6c6=_0x2ffe35['locale'],_0x39be1a=_0x2ffe35['commands']['get']('insertTableOfContents'),_0x182dfd=new _0xd2e562(_0x35e6c6);return _0x182dfd['set']({'label':L(_0x35e6c6,'Table\x20of\x20contents'),'icon':_0x57d48c}),_0x182dfd['bind']('isEnabled')['to'](_0x39be1a,'isEnabled'),this['listenTo'](_0x182dfd,'execute',()=>{_0x2ffe35['execute']('insertTableOfContents'),_0x2ffe35['editing']['view']['focus']();}),_0x182dfd;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},U=class extends _0x13e017{static get requires(){return[N,P];}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,U as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,P 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':_0x193f31=>0x1!=_0x193f31}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3679c3=>{const {af:{dictionary:_0x1055c5,getPluralForm:_0x2ca860}}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x4cdf78=>0x1!=_0x4cdf78}};_0x3679c3['af']||={'dictionary':{},'getPluralForm':null},_0x3679c3['af']['dictionary']=Object['assign'](_0x3679c3['af']['dictionary'],_0x1055c5),_0x3679c3['af']['getPluralForm']=_0x2ca860;})(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':_0x241b2d=>0x0==_0x241b2d?0x0:0x1==_0x241b2d?0x1:0x2==_0x241b2d?0x2:_0x241b2d%0x64>=0x3&&_0x241b2d%0x64<=0xa?0x3:_0x241b2d%0x64>=0xb?0x4:0x5}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x420ae1=>{const {ar:{dictionary:_0x2bddc6,getPluralForm:_0x171e7d}}={'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':_0x598eb3=>0x0==_0x598eb3?0x0:0x1==_0x598eb3?0x1:0x2==_0x598eb3?0x2:_0x598eb3%0x64>=0x3&&_0x598eb3%0x64<=0xa?0x3:_0x598eb3%0x64>=0xb?0x4:0x5}};_0x420ae1['ar']||={'dictionary':{},'getPluralForm':null},_0x420ae1['ar']['dictionary']=Object['assign'](_0x420ae1['ar']['dictionary'],_0x2bddc6),_0x420ae1['ar']['getPluralForm']=_0x171e7d;})(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':_0x26f17a=>0x1!=_0x26f17a}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x347ebb=>{const {ast:{dictionary:_0x1a6877,getPluralForm:_0x1df337}}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x599281=>0x1!=_0x599281}};_0x347ebb['ast']||={'dictionary':{},'getPluralForm':null},_0x347ebb['ast']['dictionary']=Object['assign'](_0x347ebb['ast']['dictionary'],_0x1a6877),_0x347ebb['ast']['getPluralForm']=_0x1df337;})(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':_0x240758=>0x1!=_0x240758}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x36c66d=>{const {az:{dictionary:_0x57536f,getPluralForm:_0x44b446}}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2b7809=>0x1!=_0x2b7809}};_0x36c66d['az']||={'dictionary':{},'getPluralForm':null},_0x36c66d['az']['dictionary']=Object['assign'](_0x36c66d['az']['dictionary'],_0x57536f),_0x36c66d['az']['getPluralForm']=_0x44b446;})(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':_0x1dff81=>_0x1dff81%0xa==0x1&&_0x1dff81%0x64!=0xb?0x0:_0x1dff81%0xa>=0x2&&_0x1dff81%0xa<=0x4&&(_0x1dff81%0x64<0xa||_0x1dff81%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x1567e0=>{const {be:{dictionary:_0x3c55fa,getPluralForm:_0x5984b5}}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x2a75af=>_0x2a75af%0xa==0x1&&_0x2a75af%0x64!=0xb?0x0:_0x2a75af%0xa>=0x2&&_0x2a75af%0xa<=0x4&&(_0x2a75af%0x64<0xa||_0x2a75af%0x64>=0x14)?0x1:0x2}};_0x1567e0['be']||={'dictionary':{},'getPluralForm':null},_0x1567e0['be']['dictionary']=Object['assign'](_0x1567e0['be']['dictionary'],_0x3c55fa),_0x1567e0['be']['getPluralForm']=_0x5984b5;})(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':_0x43548c=>0x1!=_0x43548c}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4231be=>{const {bg:{dictionary:_0x5a2423,getPluralForm:_0x1cd0b2}}={'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':_0x51604a=>0x1!=_0x51604a}};_0x4231be['bg']||={'dictionary':{},'getPluralForm':null},_0x4231be['bg']['dictionary']=Object['assign'](_0x4231be['bg']['dictionary'],_0x5a2423),_0x4231be['bg']['getPluralForm']=_0x1cd0b2;})(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':_0x15d71d=>0x1!=_0x15d71d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x59b33d=>{const {bn:{dictionary:_0x4fb139,getPluralForm:_0x2d3937}}={'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':_0x509877=>0x1!=_0x509877}};_0x59b33d['bn']||={'dictionary':{},'getPluralForm':null},_0x59b33d['bn']['dictionary']=Object['assign'](_0x59b33d['bn']['dictionary'],_0x4fb139),_0x59b33d['bn']['getPluralForm']=_0x2d3937;})(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':_0x35c4ec=>_0x35c4ec%0xa==0x1&&_0x35c4ec%0x64!=0xb?0x0:_0x35c4ec%0xa>=0x2&&_0x35c4ec%0xa<=0x4&&(_0x35c4ec%0x64<0xa||_0x35c4ec%0x64>=0x14)?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xca509c=>{const {bs:{dictionary:_0x149b14,getPluralForm:_0x47adfa}}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x52a880=>_0x52a880%0xa==0x1&&_0x52a880%0x64!=0xb?0x0:_0x52a880%0xa>=0x2&&_0x52a880%0xa<=0x4&&(_0x52a880%0x64<0xa||_0x52a880%0x64>=0x14)?0x1:0x2}};_0xca509c['bs']||={'dictionary':{},'getPluralForm':null},_0xca509c['bs']['dictionary']=Object['assign'](_0xca509c['bs']['dictionary'],_0x149b14),_0xca509c['bs']['getPluralForm']=_0x47adfa;})(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':_0x2a6892=>0x1!=_0x2a6892}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3eb3f7=>{const {ca:{dictionary:_0x278fd1,getPluralForm:_0x485bc6}}={'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':_0x391d46=>0x1!=_0x391d46}};_0x3eb3f7['ca']||={'dictionary':{},'getPluralForm':null},_0x3eb3f7['ca']['dictionary']=Object['assign'](_0x3eb3f7['ca']['dictionary'],_0x278fd1),_0x3eb3f7['ca']['getPluralForm']=_0x485bc6;})(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':_0x6753fd=>0x1==_0x6753fd?0x0:_0x6753fd>=0x2&&_0x6753fd<=0x4?0x1:0x2}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x178829=>{const {cs:{dictionary:_0x403c7a,getPluralForm:_0x36dc5a}}={'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':_0x202a93=>0x1==_0x202a93?0x0:_0x202a93>=0x2&&_0x202a93<=0x4?0x1:0x2}};_0x178829['cs']||={'dictionary':{},'getPluralForm':null},_0x178829['cs']['dictionary']=Object['assign'](_0x178829['cs']['dictionary'],_0x403c7a),_0x178829['cs']['getPluralForm']=_0x36dc5a;})(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':_0x2fb92f=>0x1!=_0x2fb92f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x258e85=>{const {da:{dictionary:_0x161315,getPluralForm:_0x4e4569}}={'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':_0x1e5fdf=>0x1!=_0x1e5fdf}};_0x258e85['da']||={'dictionary':{},'getPluralForm':null},_0x258e85['da']['dictionary']=Object['assign'](_0x258e85['da']['dictionary'],_0x161315),_0x258e85['da']['getPluralForm']=_0x4e4569;})(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':_0x3cb12d=>0x1!=_0x3cb12d}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x50e9b3=>{const {'de-ch':{dictionary:_0x442ab9,getPluralForm:_0xb5a580}}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''},'getPluralForm':_0x4c2c60=>0x1!=_0x4c2c60}};_0x50e9b3['de-ch']||={'dictionary':{},'getPluralForm':null},_0x50e9b3['de-ch']['dictionary']=Object['assign'](_0x50e9b3['de-ch']['dictionary'],_0x442ab9),_0x50e9b3['de-ch']['getPluralForm']=_0xb5a580;})(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':_0x481c6f=>0x1!=_0x481c6f}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26bd19=>{const {de:{dictionary:_0xb9191a,getPluralForm:_0x528aac}}={'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':_0x2c5e61=>0x1!=_0x2c5e61}};_0x26bd19['de']||={'dictionary':{},'getPluralForm':null},_0x26bd19['de']['dictionary']=Object['assign'](_0x26bd19['de']['dictionary'],_0xb9191a),_0x26bd19['de']['getPluralForm']=_0x528aac;})(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':_0x25ea3e=>0x1!=_0x25ea3e}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xbfb8a2=>{const {el:{dictionary:_0xae5741,getPluralForm:_0x161eeb}}={'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':_0x4c8944=>0x1!=_0x4c8944}};_0xbfb8a2['el']||={'dictionary':{},'getPluralForm':null},_0xbfb8a2['el']['dictionary']=Object['assign'](_0xbfb8a2['el']['dictionary'],_0xae5741),_0xbfb8a2['el']['getPluralForm']=_0x161eeb;})(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':_0x449696=>0x1!=_0x449696}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4ec912=>{const {'en-au':{dictionary:_0x1cfc85,getPluralForm:_0x90c7bd}}={'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':_0x104d20=>0x1!=_0x104d20}};_0x4ec912['en-au']||={'dictionary':{},'getPluralForm':null},_0x4ec912['en-au']['dictionary']=Object['assign'](_0x4ec912['en-au']['dictionary'],_0x1cfc85),_0x4ec912['en-au']['getPluralForm']=_0x90c7bd;})(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':_0x2981b2=>0x1!=_0x2981b2}};
|