@ckeditor/ckeditor5-document-outline 48.4.0 → 48.5.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _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};
|
|
23
|
+
import{Command as _0x3420f8,Plugin as _0x4bc148}from'@ckeditor/ckeditor5-core';import{debounce as _0x3e24e0,throttle as _0x5a22da}from'es-toolkit/compat';import{ModelText as _0x5d5adf,ModelTreeWalker as _0x34536f}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x3eb466,Rect as _0x20cbca,diff as _0x4ce3f2,diffToChanges as _0x19593b,global as _0x16cf09,priorities as _0x40ce6e,scrollAncestorsToShowTarget as _0x178eae,uid as _0x155df0}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x5dada1,MenuBarMenuListItemButtonView as _0x4d4856,View as _0x23ed9c}from'@ckeditor/ckeditor5-ui';import{Widget as _0x431630,toWidget as _0x3afa56}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x2515a9}from'@ckeditor/ckeditor5-icons';function b(_0x400027){let _0x3d9b73='';for(const _0x2b3ff6 of _0x400027['getChildren']())_0x2b3ff6 instanceof _0x5d5adf&&(_0x3d9b73+=_0x2b3ff6['data']);return _0x3d9b73;}var I=class extends _0x4bc148{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x107126=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x5d0aba=[];_0x107126['model']['document']['on']('change',_0x3e24e0(()=>{const _0x21a83c=_0x5d0aba;_0x5d0aba=this['_getOutlineDefinitions']();const _0x3bf0c7=_0x4ce3f2(_0x21a83c,_0x5d0aba,(_0x334a07,_0x170689)=>_0x334a07['level']===_0x170689['level']&&_0x334a07['text']===_0x170689['text']&&_0x334a07['modelElement']===_0x170689['modelElement']),_0x456289=_0x19593b(_0x3bf0c7,_0x5d0aba),_0x30e901=this['_getActiveHeading'](),_0x9c9f31=_0x5d0aba['findIndex'](_0x2e5d5a=>_0x2e5d5a['modelElement']===_0x30e901);_0x456289['length']&&this['fire']('change',{'outlineDefinitions':_0x5d0aba,'activeItemIndex':_0x9c9f31,'outlineChanges':_0x456289}),this['fire']('activeItemIndex',{'index':_0x9c9f31});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0x24a5bd=this['editor'],_0x2f77d9=[],_0x125816=this['_headingNames'];for(const _0x491e98 of _0x24a5bd['model']['document']['getRootNames']())_0x2f6bd0(_0x24a5bd['model']['document']['getRoot'](_0x491e98));function _0x2f6bd0(_0xa267ac){for(const _0x30ff1c of _0xa267ac['getChildren']())_0x30ff1c['is']('element')&&(_0x125816['includes'](_0x30ff1c['name'])&&_0x2f77d9['push']({'level':_0x125816['indexOf'](_0x30ff1c['name'])+0x1,'text':b(_0x30ff1c),'modelElement':_0x30ff1c}),_0x2f6bd0(_0x30ff1c));}return _0x2f77d9;}_getActiveHeading(){const _0x4161aa=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x276ae0=new _0x34536f({'direction':'backward','startPosition':_0x4161aa});for(const _0x112093 of _0x276ae0)if(_0x112093['item']['is']('element')&&this['_headingNames']['includes'](_0x112093['item']['name']))return _0x112093['item'];}_getHeadingNames(){const _0x15bf14=this['editor']['config']['get']('documentOutline.headings');return _0x15bf14||function(_0x402d29){const _0x356cdb=_0x402d29['config']['get']('heading.options');return _0x356cdb?_0x356cdb['reduce']((_0x510372,_0x241cb7)=>('paragraph'!==_0x241cb7['model']&&_0x510372['push'](_0x241cb7['model']),_0x510372),[]):_0x402d29['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x30a828=this['editor'],_0x2826c5=['h1','h2','h3','h4','h5','h6'],_0x36af51=[];for(const _0x89c45e of _0x2826c5){const _0x2cdd13=_0x30a828['editing']['view']['domConverter']['domToView'](document['createElement'](_0x89c45e)),_0x139589=_0x30a828['data']['toModel'](_0x2cdd13)['getChild'](0x0);_0x139589?.['is']('element')&&_0x36af51['push'](_0x139589['name']);}this['_headingNames']=_0x36af51;}};function L(_0x5ae39b,_0x4ab2d1){const t=_0x5ae39b['t'];switch(_0x4ab2d1){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 _0x4ab2d1;}}var C=class extends _0x23ed9c{constructor(_0x5afb92,_0x5a6f93=!0x1){super(_0x5afb92);const _0x35ab59=this['bindTemplate'],_0x1bc83b=_0x5a6f93?'['+L(_0x5afb92,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x6e97a0=>!_0x6e97a0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x35ab59['to']('level',_0x429e9c=>'ck-document-outline__item_level-'+_0x429e9c),_0x35ab59['if']('isActive','ck-document-outline__item_active'),_0x35ab59['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x35ab59['to']('text')},'children':[{'text':_0x35ab59['to']('text',_0x453dc5=>_0x453dc5||_0x1bc83b)}],'on':{'click':_0x35ab59['to']('click')}});}},_=class extends _0x23ed9c{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x12d688,_0x3efe0b=!0x1,_0x2d9df9){super(_0x12d688),this['showEmptyHeadingText']=_0x3efe0b,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x2d9df9,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x4ec7c2,_0x36c2e3,_0x2a6b55,_0x2fab1e)=>{this['_setActiveItem'](_0x2fab1e,_0x2a6b55);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x12d688['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x12d688,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x2e16bb){_0x2e16bb['forEach'](_0x41f352=>{'insert'==_0x41f352['type']?this['_insertItem'](_0x41f352['index'],..._0x41f352['values']):'delete'==_0x41f352['type']&&this['_deleteItem'](_0x41f352['index'],_0x41f352['howMany']);});}_setActiveItem(_0x30df9b,_0x2048e0){if(-0x1!==_0x30df9b){const _0x57e9c4=this['items']['get'](_0x30df9b);_0x57e9c4&&(_0x57e9c4['isActive']=!0x1);}-0x1!==_0x2048e0&&(this['items']['get'](_0x2048e0)['isActive']=!0x0,this['_scrollToItem'](_0x2048e0));}_insertItem(_0x2a5919,..._0x277fe1){const _0x3bc336=_0x277fe1['map']((_0x5b2852,_0x5937a6)=>{const _0x2ba1fc=new C(this['locale'],this['showEmptyHeadingText']);return _0x2ba1fc['text']=_0x5b2852['text'],_0x2ba1fc['level']=_0x5b2852['level'],_0x2a5919+_0x5937a6===this['activeItemIndex']&&(_0x2ba1fc['isActive']=!0x0),_0x2ba1fc;});this['items']['addMany'](_0x3bc336,_0x2a5919);}_deleteItem(_0x88b148,_0x4af88b){do{this['items']['remove'](_0x88b148);}while(--_0x4af88b);}_handleItemClick(_0x4b7b12){const _0x2eb266=this['items']['getIndex'](_0x4b7b12['source']);this['fire']('itemSelected',_0x2eb266);}_scrollToItem(_0xe5507c){_0x178eae(this['items']['get'](_0xe5507c)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x4bc148{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x183ea3){super(_0x183ea3),this['view']=new _(_0x183ea3['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x5a22da(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x29d69f=this['editor'],_0x4727bd=_0x29d69f['plugins']['get']('DocumentOutlineUtils');let _0x1dd843=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x29d69f['config']['get']('documentOutline.container'))throw new _0x3eb466('document-outline-container-not-provided',{'editor':_0x29d69f});_0x29d69f['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x4727bd['on']('change',this['_handleOutlineChange']['bind'](this)),_0x4727bd['on']('activeItemIndex',(_0x570adb,{index:_0xd4c213})=>this['_setActiveViewItem'](_0xd4c213)),this['view']['on']('itemSelected',(_0x27cfeb,_0x1b7550)=>{_0x1dd843=!0x0,this['_handleItemSelected'](_0x1b7550);}),this['view']['listenTo'](_0x16cf09['document'],'scroll',()=>{_0x1dd843?_0x1dd843=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x16cf09['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x1ba4a9){const _0x26cd3d='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x534e09=0x793e0,_0xfd9e97={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0xee8cc0(_0xf4751a){const _0x5b5cea=new window['Promise'](_0x23206b=>{_0xf4751a['once']('ready',_0x23206b);}),_0x666ef0=window['Date']['now'](),_0xc63cbb=_0xf4751a['config']['get']('licenseKey');async function _0x46b08f(){let _0x419fc3,_0x37e038=null,_0x25afe8=null;try{return'GPL'==_0xc63cbb?'NotAllowed':(_0x419fc3=_0x551c90(),_0x419fc3?(_0x419fc3['usageEndpoint']&&(_0x25afe8=_0xb726f6(_0x419fc3['usageEndpoint'],_0x419fc3['jti'])),await _0x24fd98()?_0x5736fc()?_0x2c5f0c()?'Expired':_0x6b5750()?('evaluation'==_0x419fc3['licenseType']&&(_0x37e038=_0x426f49('EvaluationLimit')),await _0x2bb428()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2c5f0c(){const _0x336a29=['evaluation','trial']['includes'](_0x419fc3['licenseType'])?_0x666ef0/0x3e8:0xe10*_0x534e09;return _0x419fc3['exp']<_0x336a29;}function _0x5736fc(){const _0xe752bc=_0x419fc3['features'];return!!_0xe752bc&&(!!_0xe752bc['includes']('*')||(!!_0xe752bc['includes']('DO')||(!!_0xe752bc['includes']('PP')||!(!_0xe752bc['includes']('TRILIUM')||!_0x1f1e30()))));}function _0x6b5750(){const _0x3a9209=_0x419fc3['licensedHosts'];if(!_0x3a9209||0x0==_0x3a9209['length'])return!0x0;const {hostname:_0x16c309}=new URL(window['location']['href']);if(_0x3a9209['includes'](_0x16c309))return!0x0;const _0xe9930f=_0x16c309['split']('.');return _0x3a9209['filter'](_0x245b03=>_0x245b03['includes']('*'))['map'](_0x53e87e=>_0x53e87e['split']('.'))['filter'](_0x3397af=>_0x3397af['length']<=_0xe9930f['length'])['map'](_0x5be6cd=>Array(_0xe9930f['length']-_0x5be6cd['length'])['fill']('*'===_0x5be6cd[0x0]?'*':'')['concat'](_0x5be6cd))['some'](_0x33a1e7=>_0xe9930f['every']((_0x4830dd,_0x8a8dd1)=>_0x33a1e7[_0x8a8dd1]===_0x4830dd||'*'===_0x33a1e7[_0x8a8dd1]));}function _0x2bb428(){return _0x37e038&&_0x25afe8?new window['Promise']((_0xcf2260,_0x374c7b)=>{_0x37e038['then'](_0xcf2260,_0x374c7b),_0x25afe8['then'](_0x260c60=>{'Valid'!=_0x260c60&&_0xcf2260(_0x260c60);},_0x374c7b);}):_0x37e038||_0x25afe8||'Valid';}}function _0xb726f6(_0x124909,_0x2f0135){return new window['Promise'](_0x143c1c=>{if(_0x1759be())return _0x143c1c('Valid');_0x53535e(),_0xf4751a['decorate']('_sendUsageRequest');let _0x419e01=!0x1;const _0xf4da83=_0x155df0();function _0x39735e(_0x380c8f){return!!_0x380c8f&&('object'==typeof _0x380c8f||'function'==typeof _0x380c8f)&&'function'==typeof _0x380c8f['then']&&'function'==typeof _0x380c8f['catch'];}function _0x1fe106(_0x7c94b9){_0x352f7(_0x7c94b9)['then'](_0x384ffa=>_0x384ffa&&'ok'==_0x384ffa['status']?_0x4819ef(_0x2c06ba(_0xf4da83+_0x2f0135))!=_0x384ffa['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x11d2cd=>(_0x51f17a(),_0x11d2cd),()=>{const _0x14cbcb=_0x885549();return null==_0x14cbcb?(_0x51f17a(),'Valid'):_0x666ef0-_0x14cbcb>0x240c8400?'UsageLimit':'Valid';})['then'](_0x143c1c)['catch'](()=>{_0x143c1c('UsageLimit');});const _0x3c6285=0x36ee80;function _0x51f17a(){const _0x4a5a48='llct-'+_0x4819ef(_0x2c06ba(_0x124909)),_0x77ba2=_0x539fed(_0x4819ef(window['Math']['ceil'](_0x666ef0/_0x3c6285)));window['localStorage']['setItem'](_0x4a5a48,_0x77ba2);}function _0x885549(){const _0xef7917='llct-'+_0x4819ef(_0x2c06ba(_0x124909)),_0x5a5606=window['localStorage']['getItem'](_0xef7917);return _0x5a5606?window['parseInt'](_0x539fed(_0x5a5606),0x10)*_0x3c6285:null;}function _0x352f7(_0xb9eabe){return new window['Promise']((_0x248457,_0x477277)=>{_0xb9eabe['then'](_0x248457,_0x477277),window['setTimeout'](_0x477277,0x1d4c0);});}}_0xf4751a['on']('_sendUsageRequest',(_0x2d5fee,_0x3c1dd0)=>{if(_0x3c1dd0[0x0]!=_0x124909)return _0x143c1c('UsageLimit');_0x3c1dd0[0x1]={..._0x3c1dd0[0x1],'requestId':_0xf4da83};},{'priority':'high'}),_0xf4751a['on']('_sendUsageRequest',_0x515bd5=>{_0x39735e(_0x515bd5['return'])&&(_0x419e01=!0x0,_0x1fe106(_0x515bd5['return']));},{'priority':'low'}),_0x5b5cea['then'](()=>{_0x419e01||_0x143c1c('UsageLimit');});});function _0x1759be(){return'auto'==_0xf4751a['editing']['view']['_overlayModeHint'];}function _0x53535e(){_0xf4751a['editing']['view']['_overlayModeHint']='auto';}}function _0x426f49(_0x29e2cf){const _0x281963=[new window['Promise'](_0x5d3478=>setTimeout(_0x5d3478,0x93ecc)),_0x5b5cea['then'](()=>new window['Promise'](_0x48693b=>{let _0x238a50=0x0;_0xf4751a['model']['on']('applyOperation',(_0x496a72,_0x1ff47d)=>{_0x1ff47d[0x0]['isDocumentOperation']&&_0x238a50++,0x5e8==_0x238a50&&(_0x48693b(),_0x496a72['off']());});}))];return window['Promise']['race'](_0x281963)['then'](()=>_0x29e2cf);}async function _0x4194c8(){await _0x5b5cea,_0xf4751a['model']['change']=_0x5ef420,_0xf4751a['model']['enqueueChange']=_0x5ef420,_0xf4751a['enableReadOnlyMode']('model');}function _0x1f1e30(){return window['glob']&&window['glob']['triliumVersion'];}function _0x2551ad(_0x280bab){const _0x57f0e6=_0x1259f1();_0xf4751a[_0x57f0e6]='documentOutlineLicenseKey'+_0x280bab,'Valid'!=_0x280bab&&_0x4194c8();}function _0x1259f1(){const _0x413a54=window['String'](window['performance']['now']())['replace']('.','');let _0x3b038c='u';for(let _0x317074=0x0;_0x317074<_0x413a54['length'];_0x317074+=0x2){let _0x5b1b4b=window['parseInt'](_0x413a54['substring'](_0x317074,_0x317074+0x2));_0x5b1b4b>=0x3e&&(_0x5b1b4b-=0x3e),_0x3b038c+=_0x26cd3d[_0x5b1b4b];}return _0x3b038c;}function _0x551c90(){const _0x1fcc9b=_0xc63cbb['split']('.');if(0x3!=_0x1fcc9b['length'])return null;return _0x157b59(_0x1fcc9b[0x1]);function _0x157b59(_0x3c9f){const _0x167ad2=_0x1a38f4(_0x3c9f);return _0x167ad2&&_0x3271b7()?_0x167ad2:null;function _0x3271b7(){const _0x1f469d=_0x167ad2['jti'],_0x2fe6bd=window['parseInt'](_0x1f469d['substring'](_0x1f469d['length']-0x8),0x10),_0x473004={..._0x167ad2,'jti':_0x1f469d['substring'](0x0,_0x1f469d['length']-0x8)};return delete _0x473004['vc'],_0x2c06ba(_0x473004)==_0x2fe6bd;}}}async function _0x24fd98(){let _0x1df3f2=!0x0;try{const [_0xc118d7,_0x4fc762,_0xa18c34]=_0xc63cbb['split']('.');return _0x4c80de(_0xc118d7),await _0x9fb5eb(_0xc118d7,_0x4fc762,_0xa18c34),_0x1df3f2;}catch{return!0x1;}function _0x4c80de(_0xde0ecd){const _0x3e8310=_0x1a38f4(_0xde0ecd);_0x3e8310&&'ES256'==_0x3e8310['alg']||(_0x1df3f2=!0x1);}async function _0x9fb5eb(_0x129fcb,_0x5de3d8,_0x349398){const _0x589ef4=window['Uint8Array']['from'](_0x35eac2(_0x349398),_0x2a7b27=>_0x2a7b27['charCodeAt'](0x0)),_0xf910a1=new window['TextEncoder']()['encode'](_0x129fcb+'.'+_0x5de3d8),_0x4474b2=window['crypto']['subtle'];if(!_0x4474b2)return;const _0x40879c=await _0x4474b2['importKey']('jwk',_0xfd9e97,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4474b2['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x40879c,_0x589ef4,_0xf910a1)||(_0x1df3f2=!0x1);}}function _0x1a38f4(_0x401d8c){return _0x401d8c['startsWith']('ey')?JSON['parse'](_0x35eac2(_0x401d8c)):null;}function _0x35eac2(_0x927f33){return window['atob'](_0x927f33['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2c06ba(_0x1e413c){let _0x4e7e18=0x1505;function _0x3135fe(_0xc1325f){for(let _0x234186=0x0;_0x234186<_0xc1325f['length'];_0x234186++){const _0x356769=_0xc1325f['charCodeAt'](_0x234186);_0x4e7e18=(_0x4e7e18<<0x5)+_0x4e7e18+_0x356769,_0x4e7e18&=_0x4e7e18;}}function _0x1951c6(_0x175948){Array['isArray'](_0x175948)?_0x175948['forEach'](_0x1951c6):_0x175948&&'object'==typeof _0x175948?Object['entries'](_0x175948)['sort']()['forEach'](([_0x57491e,_0x26a352])=>{_0x3135fe(_0x57491e),_0x1951c6(_0x26a352);}):_0x3135fe(window['String'](_0x175948));}return _0x1951c6(_0x1e413c),_0x4e7e18>>>0x0;}function _0x4819ef(_0x123ab5){return _0x123ab5['toString'](0x10)['padStart'](0x8,'0');}function _0x539fed(_0xde9f71){return _0xde9f71['split']('')['reverse']()['join']('');}function _0x5ef420(){}_0x2551ad(await _0x46b08f());}_0xee8cc0(_0x1ba4a9['editor']);}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x471413,{outlineDefinitions:_0x431a5a,outlineChanges:_0x3addeb}){this['_currentOutlineDefinitions']=_0x431a5a,this['view']['sync'](_0x3addeb);}_setActiveViewItem(_0xd95f53){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0xd95f53]&&(this['view']['activeItemIndex']=_0xd95f53);}_handleItemSelected(_0x555a8d){const _0x4452b4=this['_currentOutlineDefinitions'][_0x555a8d]['modelElement'];this['editor']['model']['change'](_0x27f0a2=>{_0x27f0a2['setSelection'](_0x4452b4,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x555a8d);}_updateActiveDefinitionOnViewportChange(){const _0x45130c=this['editor'];let _0x426b06;for(const _0x32449 of _0x45130c['model']['document']['getRootNames']()){const _0x11a53c=_0x45130c['editing']['view']['getDomRoot'](_0x32449),_0x560287=_0x11a53c&&new _0x20cbca(_0x11a53c)['getVisible']();if(_0x560287){const _0x5caab8=new _0x20cbca(_0x16cf09['window'])['getIntersection'](_0x560287);_0x5caab8&&(_0x426b06=_0x5caab8['top']+0.25*_0x5caab8['height']);}}if(void 0x0===_0x426b06)return;const _0x446dc1=k(_0x45130c['editing'],this['_currentOutlineDefinitions'],_0x426b06);_0x446dc1?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x446dc1)):this['_setActiveViewItem'](-0x1);}};function k(_0x2af73d,_0x495823,_0x3570bf,_0x191308=0x0,_0x278a8=_0x495823['length']-0x1){const _0x167a8e=Math['floor'](_0x191308+(_0x278a8-_0x191308)/0x2);if(_0x278a8>=_0x191308){const _0x2df581=_0x495823[_0x167a8e],_0x3db0b9=_0x2af73d['mapper']['toViewElement'](_0x2df581['modelElement']);if(!_0x3db0b9)return null;const _0x129e16=_0x2af73d['view']['domConverter']['mapViewToDom'](_0x3db0b9);return new _0x20cbca(_0x129e16)['bottom']>_0x3570bf?k(_0x2af73d,_0x495823,_0x3570bf,_0x191308,_0x167a8e-0x1):k(_0x2af73d,_0x495823,_0x3570bf,_0x167a8e+0x1,_0x278a8);}return _0x167a8e<0x0?null:_0x495823[_0x167a8e];}var E=class extends _0x4bc148{['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'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x394477=[this['editor']];for(const _0x5d80a9 of _0x394477){let _0x18b1ba;for(const _0x103f0e in _0x5d80a9){const _0x11a36a=_0x103f0e,_0x497444=_0x5d80a9[_0x11a36a];if('documentOutlineLicenseKeyValid'==_0x497444||'documentOutlineLicenseKeyInvalid'==_0x497444||'documentOutlineLicenseKeyExpired'==_0x497444||'documentOutlineLicenseKeyDomainLimit'==_0x497444||'documentOutlineLicenseKeyNotAllowed'==_0x497444||'documentOutlineLicenseKeyEvaluationLimit'==_0x497444||'documentOutlineLicenseKeyUsageLimit'==_0x497444){delete _0x5d80a9[_0x11a36a],_0x18b1ba=_0x497444,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x18b1ba&&_0x5d80a9['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x18b1ba&&_0x5d80a9['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x18b1ba&&_0x5d80a9['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x18b1ba&&_0x5d80a9['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x18b1ba&&_0x5d80a9['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x18b1ba&&_0x5d80a9['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x3420f8{execute(){this['editor']['model']['change'](_0x1d8a9b=>{this['editor']['model']['insertObject'](_0x1d8a9b['createElement']('tableOfContents'));});}['refresh'](){const _0x5b5461=this['editor']['model'],_0x55b195=_0x5b5461['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x55b195&&_0x5b5461['schema']['findAllowedParent'](_0x55b195,'tableOfContents'));}},A=class extends _0x4bc148{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x28031b=this['editor'];if(_0x28031b['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x2b0ad6,modelNames:_0x2ebdad}=function(_0x167f03){const _0x107f81=new Set(['h1','h2','h3','h4','h5','h6']),_0x59d517=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x167f03)return{'viewNames':_0x107f81,'modelNames':_0x59d517};for(const _0x3be4bb of _0x167f03){if('paragraph'===_0x3be4bb['model'])continue;const _0x139097='string'==typeof _0x3be4bb['view']?_0x3be4bb['view']:_0x3be4bb['view']['name'];_0x107f81['add'](_0x139097),_0x59d517['add'](_0x3be4bb['model']);}return{'viewNames':_0x107f81,'modelNames':_0x59d517};}(this['editor']['config']['get']('heading.options'));for(const _0x3e5c73 of _0x2b0ad6)this['_customUpcastHeadingsConversion'](_0x3e5c73);for(const _0x234030 of _0x2ebdad)this['_customDataDowncastHeadingsConversion'](_0x234030),_0x28031b['model']['schema']['isRegistered'](_0x234030)&&_0x28031b['model']['schema']['extend'](_0x234030,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x2ebdad);}_customUpcastHeadingsConversion(_0x17f161){this['editor']['conversion']['for']('upcast')['add'](_0x20c644=>_0x20c644['on']('element:'+_0x17f161,(_0x3e1b64,_0x40d53c,_0x266e61)=>{const {consumable:_0x2ead43,writer:_0x4def59}=_0x266e61,_0x20d59b=_0x40d53c['viewItem']['getAttribute']('id'),_0x5c6dcb=_0x40d53c['modelRange']?.['getContainedElement']();if(_0x5c6dcb)return _0x20d59b&&_0x20d59b['length']||_0x5c6dcb['hasAttribute']('headingId')?void(_0x2ead43['consume'](_0x40d53c['viewItem'],{'attributes':['id']})&&_0x4def59['setAttribute']('headingId',_0x20d59b,_0x5c6dcb)):(_0x2ead43['consume'](_0x40d53c['viewItem'],{'attributes':['id']}),void _0x4def59['setAttribute']('headingId',_0x155df0(),_0x5c6dcb));},{'priority':_0x40ce6e['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x21b708){this['editor']['conversion']['for']('downcast')['add'](_0x117395=>_0x117395['on']('attribute:headingId:'+_0x21b708,(_0x4df0f8,_0x4fff26,_0x573c5a)=>{if(!_0x573c5a['consumable']['consume'](_0x4fff26['item'],_0x4df0f8['name']))return;const _0x3ecad9=_0x4fff26['item']['getAttribute']('headingId'),_0x3f2bd0=_0x573c5a['mapper']['toViewElement'](_0x4fff26['item']);_0x573c5a['writer']['setAttribute']('id',_0x3ecad9,_0x3f2bd0);}));}_registerHeadingIdAttributePostfixer(_0x190445){const _0x2a8709=this['editor'],_0x53434f=new Set(),_0xe8d7f7=new Set();function _0x4247b9(_0x14b292,_0x4b59f2){const _0x46881f=_0x155df0();return _0xe8d7f7['add'](_0x46881f),_0x14b292['setAttribute']('headingId',_0x46881f,_0x4b59f2),_0x46881f;}function _0x6c89d8(_0x1abb23,_0x3ad314){_0x1abb23['removeAttribute']('headingId',_0x3ad314);}_0x2a8709['model']['document']['registerPostFixer'](_0x3626e4=>{const _0x3127f2=_0x2a8709['model']['document']['differ']['getChanges']();let _0x2d8a5c=!0x1;for(const _0x4dcfb7 of _0x3127f2)if('insert'==_0x4dcfb7['type']&&_0x4dcfb7['name']){if(_0x190445['has'](_0x4dcfb7['name'])){const _0x580d14=_0x4dcfb7['attributes']['get']('headingId');'string'==typeof _0x580d14?_0x53434f['has'](_0x580d14)?(_0x4247b9(_0x3626e4,_0x4dcfb7['position']['nodeAfter']),_0x2d8a5c=!0x0):_0xe8d7f7['add'](_0x580d14):(_0x4247b9(_0x3626e4,_0x4dcfb7['position']['nodeAfter']),_0x2d8a5c=!0x0);}else'string'==typeof _0x4dcfb7['attributes']['get']('headingId')&&(_0x6c89d8(_0x3626e4,_0x4dcfb7['position']['nodeAfter']),_0x2d8a5c=!0x0);}else{if('remove'==_0x4dcfb7['type']){const _0x76ed3a=_0x4dcfb7['attributes']['get']('headingId');'string'==typeof _0x76ed3a&&_0x53434f['delete'](_0x76ed3a);}}return _0x2d8a5c;}),_0x2a8709['model']['document']['on']('change',()=>{_0xe8d7f7['forEach'](_0x2b065c=>_0x53434f['add'](_0x2b065c)),_0xe8d7f7['clear']();});}},N=class extends _0x4bc148{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0x431630,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x396dee){super(_0x396dee),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x3b2111=this['editor'],_0x28edd4=_0x3b2111['editing']['view']['document'];_0x3b2111['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x3b2111['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x28edd4,'click',(_0x2dfb0b,_0x23932f)=>{if(!_0x23932f['target'])return;const _0x32f8ab=_0x23932f['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x32f8ab)&&(_0x23932f['domEvent']['preventDefault'](),_0x2dfb0b['stop'](),this['_handleScrollToHeading'](_0x32f8ab));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x3b2111['commands']['add']('insertTableOfContents',new K(_0x3b2111));const _0x152eef=_0x3b2111['config']['get']('tableOfContents.headings');_0x152eef&&_0x152eef['length']?this['listenTo'](_0x3b2111['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x152eef),this['_updateTableOfContentsElements']();}):_0x3b2111['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x358a70,_0x378f79)=>{this['_currentOutlineDefinitions']=_0x378f79['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x3b2111['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x5076d9){const _0x4056e7='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x183197=0x793e0,_0x5f04d7={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x54dd8f(_0x55cae9){const _0x280bf2=new window['Promise'](_0x2a04d0=>{_0x55cae9['once']('ready',_0x2a04d0);}),_0x2b1a12=window['Date']['now'](),_0x268319=_0x55cae9['config']['get']('licenseKey');async function _0x42e541(){let _0x52134e,_0x367f0=null,_0x141229=null;try{return'GPL'==_0x268319?'NotAllowed':(_0x52134e=_0x20a9ca(),_0x52134e?(_0x52134e['usageEndpoint']&&(_0x141229=_0xe77972(_0x52134e['usageEndpoint'],_0x52134e['jti'])),await _0x1fce6d()?_0x3c33bc()?_0x5b3a7b()?'Expired':_0x57d2ed()?('evaluation'==_0x52134e['licenseType']&&(_0x367f0=_0x1169f7('EvaluationLimit')),await _0x28aa0a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5b3a7b(){const _0x1a5b3b=['evaluation','trial']['includes'](_0x52134e['licenseType'])?_0x2b1a12/0x3e8:0xe10*_0x183197;return _0x52134e['exp']<_0x1a5b3b;}function _0x3c33bc(){const _0x500370=_0x52134e['features'];return!!_0x500370&&(!!_0x500370['includes']('*')||(!!_0x500370['includes']('TOC')||(!!_0x500370['includes']('PP')||!(!_0x500370['includes']('TRILIUM')||!_0xcc8ee0()))));}function _0x57d2ed(){const _0x286980=_0x52134e['licensedHosts'];if(!_0x286980||0x0==_0x286980['length'])return!0x0;const {hostname:_0x513917}=new URL(window['location']['href']);if(_0x286980['includes'](_0x513917))return!0x0;const _0x452d7a=_0x513917['split']('.');return _0x286980['filter'](_0x13c4b1=>_0x13c4b1['includes']('*'))['map'](_0x2e25c8=>_0x2e25c8['split']('.'))['filter'](_0x5c2b52=>_0x5c2b52['length']<=_0x452d7a['length'])['map'](_0x4020f9=>Array(_0x452d7a['length']-_0x4020f9['length'])['fill']('*'===_0x4020f9[0x0]?'*':'')['concat'](_0x4020f9))['some'](_0x4f92b3=>_0x452d7a['every']((_0x3dab78,_0x3dfb26)=>_0x4f92b3[_0x3dfb26]===_0x3dab78||'*'===_0x4f92b3[_0x3dfb26]));}function _0x28aa0a(){return _0x367f0&&_0x141229?new window['Promise']((_0x32d21c,_0x14429c)=>{_0x367f0['then'](_0x32d21c,_0x14429c),_0x141229['then'](_0x2e832e=>{'Valid'!=_0x2e832e&&_0x32d21c(_0x2e832e);},_0x14429c);}):_0x367f0||_0x141229||'Valid';}}function _0xe77972(_0x9473c,_0x50d420){return new window['Promise'](_0x1c0acd=>{if(_0x53b256())return _0x1c0acd('Valid');_0x5157aa(),_0x55cae9['decorate']('_sendUsageRequest');let _0x473484=!0x1;const _0x3573cf=_0x155df0();function _0x13422d(_0x47a800){return!!_0x47a800&&('object'==typeof _0x47a800||'function'==typeof _0x47a800)&&'function'==typeof _0x47a800['then']&&'function'==typeof _0x47a800['catch'];}function _0x29686a(_0x45739f){_0x584ccf(_0x45739f)['then'](_0x3c4a88=>_0x3c4a88&&'ok'==_0x3c4a88['status']?_0x1295c9(_0x1cb3e2(_0x3573cf+_0x50d420))!=_0x3c4a88['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x167d01=>(_0x5a2ee3(),_0x167d01),()=>{const _0x49fbbd=_0x65b40a();return null==_0x49fbbd?(_0x5a2ee3(),'Valid'):_0x2b1a12-_0x49fbbd>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1c0acd)['catch'](()=>{_0x1c0acd('UsageLimit');});const _0x572134=0x36ee80;function _0x5a2ee3(){const _0x5ec74a='llct-'+_0x1295c9(_0x1cb3e2(_0x9473c)),_0x357f9e=_0x4139fc(_0x1295c9(window['Math']['ceil'](_0x2b1a12/_0x572134)));window['localStorage']['setItem'](_0x5ec74a,_0x357f9e);}function _0x65b40a(){const _0x21c048='llct-'+_0x1295c9(_0x1cb3e2(_0x9473c)),_0xa9c51a=window['localStorage']['getItem'](_0x21c048);return _0xa9c51a?window['parseInt'](_0x4139fc(_0xa9c51a),0x10)*_0x572134:null;}function _0x584ccf(_0x5b6e9c){return new window['Promise']((_0x5de36e,_0x23fe97)=>{_0x5b6e9c['then'](_0x5de36e,_0x23fe97),window['setTimeout'](_0x23fe97,0x1d4c0);});}}_0x55cae9['on']('_sendUsageRequest',(_0x4a8330,_0x27c3ed)=>{if(_0x27c3ed[0x0]!=_0x9473c)return _0x1c0acd('UsageLimit');_0x27c3ed[0x1]={..._0x27c3ed[0x1],'requestId':_0x3573cf};},{'priority':'high'}),_0x55cae9['on']('_sendUsageRequest',_0x43edfc=>{_0x13422d(_0x43edfc['return'])&&(_0x473484=!0x0,_0x29686a(_0x43edfc['return']));},{'priority':'low'}),_0x280bf2['then'](()=>{_0x473484||_0x1c0acd('UsageLimit');});});function _0x53b256(){return'auto'==_0x55cae9['editing']['view']['_overlayModeHint'];}function _0x5157aa(){_0x55cae9['editing']['view']['_overlayModeHint']='auto';}}function _0x1169f7(_0x4fe2ff){const _0x1b5cfc=[new window['Promise'](_0x41dd95=>setTimeout(_0x41dd95,0x93ecc)),_0x280bf2['then'](()=>new window['Promise'](_0x201dac=>{let _0x47b931=0x0;_0x55cae9['model']['on']('applyOperation',(_0x16dd4d,_0x3c9604)=>{_0x3c9604[0x0]['isDocumentOperation']&&_0x47b931++,0x5e8==_0x47b931&&(_0x201dac(),_0x16dd4d['off']());});}))];return window['Promise']['race'](_0x1b5cfc)['then'](()=>_0x4fe2ff);}async function _0x4ea2ed(){await _0x280bf2,_0x55cae9['model']['change']=_0x146e3c,_0x55cae9['model']['enqueueChange']=_0x146e3c,_0x55cae9['enableReadOnlyMode']('model');}function _0xcc8ee0(){return window['glob']&&window['glob']['triliumVersion'];}function _0x3789f5(_0x20bcd1){const _0x415f4a=_0x495aba();_0x55cae9[_0x415f4a]='tableOfContentsLicenseKey'+_0x20bcd1,'Valid'!=_0x20bcd1&&_0x4ea2ed();}function _0x495aba(){const _0x4ebb78=window['String'](window['performance']['now']())['replace']('.','');let _0x3a46b1='D';for(let _0x4f1d35=0x0;_0x4f1d35<_0x4ebb78['length'];_0x4f1d35+=0x2){let _0x22dc70=window['parseInt'](_0x4ebb78['substring'](_0x4f1d35,_0x4f1d35+0x2));_0x22dc70>=0x3e&&(_0x22dc70-=0x3e),_0x3a46b1+=_0x4056e7[_0x22dc70];}return _0x3a46b1;}function _0x20a9ca(){const _0x4ac418=_0x268319['split']('.');if(0x3!=_0x4ac418['length'])return null;return _0x4d36d0(_0x4ac418[0x1]);function _0x4d36d0(_0x303cac){const _0x3e9fd6=_0xc50990(_0x303cac);return _0x3e9fd6&&_0x3918f1()?_0x3e9fd6:null;function _0x3918f1(){const _0x352d3c=_0x3e9fd6['jti'],_0x1927a4=window['parseInt'](_0x352d3c['substring'](_0x352d3c['length']-0x8),0x10),_0x9230e6={..._0x3e9fd6,'jti':_0x352d3c['substring'](0x0,_0x352d3c['length']-0x8)};return delete _0x9230e6['vc'],_0x1cb3e2(_0x9230e6)==_0x1927a4;}}}async function _0x1fce6d(){let _0x323926=!0x0;try{const [_0x2f394d,_0x692dd4,_0x5d0488]=_0x268319['split']('.');return _0x1db1d4(_0x2f394d),await _0x15b5ab(_0x2f394d,_0x692dd4,_0x5d0488),_0x323926;}catch{return!0x1;}function _0x1db1d4(_0x25b08e){const _0x2b6570=_0xc50990(_0x25b08e);_0x2b6570&&'ES256'==_0x2b6570['alg']||(_0x323926=!0x1);}async function _0x15b5ab(_0x3dea4c,_0x137865,_0x3e2f14){const _0x36f558=window['Uint8Array']['from'](_0x2aa9e(_0x3e2f14),_0x839311=>_0x839311['charCodeAt'](0x0)),_0x3350b9=new window['TextEncoder']()['encode'](_0x3dea4c+'.'+_0x137865),_0x179266=window['crypto']['subtle'];if(!_0x179266)return;const _0x71d1cd=await _0x179266['importKey']('jwk',_0x5f04d7,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x179266['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x71d1cd,_0x36f558,_0x3350b9)||(_0x323926=!0x1);}}function _0xc50990(_0xb5c55a){return _0xb5c55a['startsWith']('ey')?JSON['parse'](_0x2aa9e(_0xb5c55a)):null;}function _0x2aa9e(_0x3b067f){return window['atob'](_0x3b067f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1cb3e2(_0x5a9c8a){let _0x59dd01=0x1505;function _0x4dbc2f(_0x42e493){for(let _0xe5c07b=0x0;_0xe5c07b<_0x42e493['length'];_0xe5c07b++){const _0x422aef=_0x42e493['charCodeAt'](_0xe5c07b);_0x59dd01=(_0x59dd01<<0x5)+_0x59dd01+_0x422aef,_0x59dd01&=_0x59dd01;}}function _0x4b2f65(_0x3f3044){Array['isArray'](_0x3f3044)?_0x3f3044['forEach'](_0x4b2f65):_0x3f3044&&'object'==typeof _0x3f3044?Object['entries'](_0x3f3044)['sort']()['forEach'](([_0x153cc8,_0x38a431])=>{_0x4dbc2f(_0x153cc8),_0x4b2f65(_0x38a431);}):_0x4dbc2f(window['String'](_0x3f3044));}return _0x4b2f65(_0x5a9c8a),_0x59dd01>>>0x0;}function _0x1295c9(_0x207dfe){return _0x207dfe['toString'](0x10)['padStart'](0x8,'0');}function _0x4139fc(_0x1b8f5d){return _0x1b8f5d['split']('')['reverse']()['join']('');}function _0x146e3c(){}_0x3789f5(await _0x42e541());}_0x54dd8f(_0x5076d9['editor']);}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0xa32183=>{'$graveyard'!==_0xa32183['rootName']&&this['editor']['editing']['reconvertItem'](_0xa32183);});}_trackNewToCElements(){for(const _0x2d00e9 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2d00e9['type']||'tableOfContents'!==_0x2d00e9['name'])return;this['_tableOfContentsElements']['add'](_0x2d00e9['position']['nodeAfter']);}}_getOutlineDefinitions(_0x464416){const _0x215e19=this['editor'],_0x2962bf=[];for(const _0x429d6f of _0x215e19['model']['document']['getRootNames']())_0x2b949d(_0x215e19['model']['document']['getRoot'](_0x429d6f));function _0x2b949d(_0x409839){for(const _0x4b13a5 of _0x409839['getChildren']())_0x4b13a5['is']('element')&&(_0x464416['includes'](_0x4b13a5['name'])&&_0x2962bf['push']({'level':_0x464416['indexOf'](_0x4b13a5['name'])+0x1,'text':b(_0x4b13a5),'modelElement':_0x4b13a5}),_0x2b949d(_0x4b13a5));}return _0x2962bf;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x2a9f3e=this['editor']['conversion'];_0x2a9f3e['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x2a9f3e['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x84bb6,{writer:_0x425990})=>this['_createTableOfContents'](_0x425990,!0x0)}),_0x2a9f3e['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x5d61f7,{writer:_0x29e5c4})=>{this['_tableOfContentsElements']['add'](_0x5d61f7);const _0x1bd3a9=this['_createTableOfContents'](_0x29e5c4);return _0x3afa56(_0x1bd3a9,_0x29e5c4,{'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(_0x4f145e,_0x358440=!0x1){const {locale:_0x29b4e1}=this['editor'],_0xe10e14=_0x4f145e['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x358440&&{'data-table-of-contents-label':L(_0x29b4e1,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x358440&&_0x4f145e['insert'](_0x4f145e['createPositionAt'](_0xe10e14,'end'),_0x4f145e['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x4f145e['createText'](L(_0x29b4e1,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x3a69d2=_0x358440?'':'['+L(_0x29b4e1,'Empty\x20heading')+']';let _0x4790cd=_0xe10e14;return this['_currentOutlineDefinitions']['forEach']((_0x12ed80,_0x4128a0,_0x39977c)=>{const _0x1941f4=this['editor']['model']['hasContent'](_0x12ed80['modelElement'],{'ignoreWhitespaces':!0x0}),_0x3568c8=_0x1941f4?_0x12ed80['text']:_0x3a69d2,_0x582570=_0x12ed80['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x39e2a4=_0x4f145e['createContainerElement']('a',{'href':'#'+_0x582570,...!_0x358440&&{'tabindex':'-1'}},[_0x4f145e['createText'](_0x3568c8)]),_0x50338e=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x4f145e['setCustomProperty']('tableOfContentsHeadingIndex',_0x4128a0,_0x39e2a4);const _0x4c8fe7=_0x4f145e['createContainerElement']('li',null,[_0x1941f4||!_0x358440&&_0x50338e?_0x39e2a4:_0x4f145e['createText']('')]),_0x4624e5=_0x4128a0?_0x39977c[_0x4128a0-0x1]['level']:0x0,_0x28b7a6=Math['abs'](_0x12ed80['level']-_0x4624e5);if(_0x12ed80['level']>_0x4624e5){const _0x318504=D(_0x4c8fe7,_0x28b7a6,_0x4f145e);_0x4f145e['insert'](_0x4f145e['createPositionAt'](_0x4790cd,'end'),_0x318504);}else{const _0x1dc302=function(_0x4c9f9b,_0x5bc1c9){return _0x4c9f9b['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x6f3443=>_0x6f3443['is']('element','ol'))[_0x5bc1c9];}(_0x4790cd,_0x28b7a6);_0x4f145e['insert'](_0x4f145e['createPositionAt'](_0x1dc302,'end'),_0x4c8fe7);}_0x4790cd=_0x4c8fe7;}),_0xe10e14;}['_handleScrollToHeading'](_0x1a1855){const _0x1c4553=this['_currentOutlineDefinitions'][_0x1a1855]['modelElement'];this['editor']['model']['change'](_0x55ef45=>{_0x55ef45['setSelection'](_0x1c4553,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x3038b0,_0x420e02)=>{const _0x34b95b=_0x420e02['mapper'],_0x439f2f=_0x34b95b['findMappedViewAncestor'](_0x420e02['viewPosition']),_0x82da4d=_0x34b95b['toModelElement'](_0x439f2f);_0x82da4d['is']('element','tableOfContents')&&(_0x420e02['modelPosition']=this['editor']['model']['createPositionAt'](_0x82da4d,0x0),_0x3038b0['stop']());};}};function D(_0x494e6c,_0x516eb9,_0x2d55a9){return 0x1===_0x516eb9?_0x2d55a9['createContainerElement']('ol',null,[_0x494e6c]):_0x2d55a9['createContainerElement']('ol',null,[_0x2d55a9['createContainerElement']('li',null,[D(_0x494e6c,_0x516eb9-0x1,_0x2d55a9)])]);}var H=class extends _0x4bc148{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x52351f=this['editor'];_0x52351f['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x2ef53f=this['_createButton'](_0x5dada1);return _0x2ef53f['tooltip']=!0x0,_0x2ef53f;}),_0x52351f['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x4d4856)),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x15c9d8=[this['editor']];for(const _0x1713fa of _0x15c9d8){let _0x27bb9f;for(const _0x553e83 in _0x1713fa){const _0xe6b52b=_0x553e83,_0xe96967=_0x1713fa[_0xe6b52b];if('tableOfContentsLicenseKeyValid'==_0xe96967||'tableOfContentsLicenseKeyInvalid'==_0xe96967||'tableOfContentsLicenseKeyExpired'==_0xe96967||'tableOfContentsLicenseKeyDomainLimit'==_0xe96967||'tableOfContentsLicenseKeyNotAllowed'==_0xe96967||'tableOfContentsLicenseKeyEvaluationLimit'==_0xe96967||'tableOfContentsLicenseKeyUsageLimit'==_0xe96967){delete _0x1713fa[_0xe6b52b],_0x27bb9f=_0xe96967,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x27bb9f&&_0x1713fa['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x27bb9f&&_0x1713fa['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x27bb9f&&_0x1713fa['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x27bb9f&&_0x1713fa['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x27bb9f&&_0x1713fa['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x27bb9f&&_0x1713fa['_showLicenseError']('usageLimit');}},0x3e8);}_createButton(_0x55806d){const _0x1f2e5d=this['editor'],_0x36ad95=_0x1f2e5d['locale'],_0x318168=_0x1f2e5d['commands']['get']('insertTableOfContents'),_0x204ed1=new _0x55806d(_0x36ad95);return _0x204ed1['set']({'label':L(_0x36ad95,'Table\x20of\x20contents'),'icon':_0x2515a9}),_0x204ed1['bind']('isEnabled')['to'](_0x318168,'isEnabled'),this['listenTo'](_0x204ed1,'execute',()=>{_0x1f2e5d['execute']('insertTableOfContents'),_0x1f2e5d['editing']['view']['focus']();}),_0x204ed1;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},P=class extends _0x4bc148{static get requires(){return[N,H];}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,P as TableOfContents,K as TableOfContentsCommand,N as TableOfContentsEditing,H 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':''}
|
|
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':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3dc12e=>{const {af:_0x2d969a}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x3dc12e['af']||={'dictionary':{},'getPluralForm':null},_0x3dc12e['af']['dictionary']=Object['assign'](_0x3dc12e['af']['dictionary'],_0x2d969a['dictionary']),_0x2d969a['getPluralForm']&&(_0x3dc12e['af']['getPluralForm']=_0x2d969a['getPluralForm']);})(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المحتويات'}
|
|
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المحتويات'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x4d0955=>{const {ar:_0x65fde1}={'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المحتويات'}}};_0x4d0955['ar']||={'dictionary':{},'getPluralForm':null},_0x4d0955['ar']['dictionary']=Object['assign'](_0x4d0955['ar']['dictionary'],_0x65fde1['dictionary']),_0x65fde1['getPluralForm']&&(_0x4d0955['ar']['getPluralForm']=_0x65fde1['getPluralForm']);})(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':''}
|
|
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':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xacf84c=>{const {ast:_0x171e91}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0xacf84c['ast']||={'dictionary':{},'getPluralForm':null},_0xacf84c['ast']['dictionary']=Object['assign'](_0xacf84c['ast']['dictionary'],_0x171e91['dictionary']),_0x171e91['getPluralForm']&&(_0xacf84c['ast']['getPluralForm']=_0x171e91['getPluralForm']);})(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':''}
|
|
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':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x3ee837=>{const {az:_0x4fe06d}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x3ee837['az']||={'dictionary':{},'getPluralForm':null},_0x3ee837['az']['dictionary']=Object['assign'](_0x3ee837['az']['dictionary'],_0x4fe06d['dictionary']),_0x4fe06d['getPluralForm']&&(_0x3ee837['az']['getPluralForm']=_0x4fe06d['getPluralForm']);})(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':''}
|
|
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':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x413dd8=>{const {be:_0xe7a183}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x413dd8['be']||={'dictionary':{},'getPluralForm':null},_0x413dd8['be']['dictionary']=Object['assign'](_0x413dd8['be']['dictionary'],_0xe7a183['dictionary']),_0xe7a183['getPluralForm']&&(_0x413dd8['be']['getPluralForm']=_0xe7a183['getPluralForm']);})(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':'Съдържание'}
|
|
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':'Съдържание'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x454af3=>{const {bg:_0x386547}={'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':'Съдържание'}}};_0x454af3['bg']||={'dictionary':{},'getPluralForm':null},_0x454af3['bg']['dictionary']=Object['assign'](_0x454af3['bg']['dictionary'],_0x386547['dictionary']),_0x386547['getPluralForm']&&(_0x454af3['bg']['getPluralForm']=_0x386547['getPluralForm']);})(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টেবিল'}
|
|
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টেবিল'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0xe73920=>{const {bn:_0x5c4783}={'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টেবিল'}}};_0xe73920['bn']||={'dictionary':{},'getPluralForm':null},_0xe73920['bn']['dictionary']=Object['assign'](_0xe73920['bn']['dictionary'],_0x5c4783['dictionary']),_0x5c4783['getPluralForm']&&(_0xe73920['bn']['getPluralForm']=_0x5c4783['getPluralForm']);})(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':''}
|
|
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':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x12d47e=>{const {bs:_0x6b60e7}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x12d47e['bs']||={'dictionary':{},'getPluralForm':null},_0x12d47e['bs']['dictionary']=Object['assign'](_0x12d47e['bs']['dictionary'],_0x6b60e7['dictionary']),_0x6b60e7['getPluralForm']&&(_0x12d47e['bs']['getPluralForm']=_0x6b60e7['getPluralForm']);})(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'}
|
|
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'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x21ceea=>{const {ca:_0x2e31d6}={'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'}}};_0x21ceea['ca']||={'dictionary':{},'getPluralForm':null},_0x21ceea['ca']['dictionary']=Object['assign'](_0x21ceea['ca']['dictionary'],_0x2e31d6['dictionary']),_0x2e31d6['getPluralForm']&&(_0x21ceea['ca']['getPluralForm']=_0x2e31d6['getPluralForm']);})(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'}
|
|
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'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x528c87=>{const {cs:_0x5466c2}={'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'}}};_0x528c87['cs']||={'dictionary':{},'getPluralForm':null},_0x528c87['cs']['dictionary']=Object['assign'](_0x528c87['cs']['dictionary'],_0x5466c2['dictionary']),_0x5466c2['getPluralForm']&&(_0x528c87['cs']['getPluralForm']=_0x5466c2['getPluralForm']);})(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'}
|
|
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'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x6c7a97=>{const {da:_0x317994}={'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'}}};_0x6c7a97['da']||={'dictionary':{},'getPluralForm':null},_0x6c7a97['da']['dictionary']=Object['assign'](_0x6c7a97['da']['dictionary'],_0x317994['dictionary']),_0x317994['getPluralForm']&&(_0x6c7a97['da']['getPluralForm']=_0x317994['getPluralForm']);})(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':''}
|
|
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':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x22b2cb=>{const {'de-ch':_0x19db7b}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x22b2cb['de-ch']||={'dictionary':{},'getPluralForm':null},_0x22b2cb['de-ch']['dictionary']=Object['assign'](_0x22b2cb['de-ch']['dictionary'],_0x19db7b['dictionary']),_0x19db7b['getPluralForm']&&(_0x22b2cb['de-ch']['getPluralForm']=_0x19db7b['getPluralForm']);})(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'}
|
|
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'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x26c2cd=>{const {de:_0x33fba9}={'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'}}};_0x26c2cd['de']||={'dictionary':{},'getPluralForm':null},_0x26c2cd['de']['dictionary']=Object['assign'](_0x26c2cd['de']['dictionary'],_0x33fba9['dictionary']),_0x33fba9['getPluralForm']&&(_0x26c2cd['de']['getPluralForm']=_0x33fba9['getPluralForm']);})(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περιεχομένων'}
|
|
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περιεχομένων'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x2ecd0c=>{const {el:_0xa8fe20}={'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περιεχομένων'}}};_0x2ecd0c['el']||={'dictionary':{},'getPluralForm':null},_0x2ecd0c['el']['dictionary']=Object['assign'](_0x2ecd0c['el']['dictionary'],_0xa8fe20['dictionary']),_0xa8fe20['getPluralForm']&&(_0x2ecd0c['el']['getPluralForm']=_0xa8fe20['getPluralForm']);})(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'}
|
|
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'}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x40bd88=>{const {'en-au':_0x506605}={'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'}}};_0x40bd88['en-au']||={'dictionary':{},'getPluralForm':null},_0x40bd88['en-au']['dictionary']=Object['assign'](_0x40bd88['en-au']['dictionary'],_0x506605['dictionary']),_0x506605['getPluralForm']&&(_0x40bd88['en-au']['getPluralForm']=_0x506605['getPluralForm']);})(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':''}
|
|
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':''}}};
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(
|
|
23
|
+
(_0x152ee9=>{const {'en-gb':_0x3f04c2}={'en-gb':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x152ee9['en-gb']||={'dictionary':{},'getPluralForm':null},_0x152ee9['en-gb']['dictionary']=Object['assign'](_0x152ee9['en-gb']['dictionary'],_0x3f04c2['dictionary']),_0x3f04c2['getPluralForm']&&(_0x152ee9['en-gb']['getPluralForm']=_0x3f04c2['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|