@ckeditor/ckeditor5-document-outline 48.4.0-alpha.7 → 48.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Command as _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 _0x3debaa,Plugin as _0x142110}from'@ckeditor/ckeditor5-core';import{debounce as _0x5be371,throttle as _0x13b65d}from'es-toolkit/compat';import{ModelText as _0x37e768,ModelTreeWalker as _0x42f1ef}from'@ckeditor/ckeditor5-engine';import{CKEditorError as _0x5cfcea,Rect as _0x15ea7c,diff as _0x4e0a03,diffToChanges as _0x3ae25a,global as _0x367229,priorities as _0x252802,scrollAncestorsToShowTarget as _0x1b92e6,uid as _0x2ad361}from'@ckeditor/ckeditor5-utils';import{ButtonView as _0x18744f,MenuBarMenuListItemButtonView as _0x58d61a,View as _0x52d706}from'@ckeditor/ckeditor5-ui';import{Widget as _0xe39919,toWidget as _0x16bd65}from'@ckeditor/ckeditor5-widget';import{IconTableOfContents as _0x574358}from'@ckeditor/ckeditor5-icons';function b(_0x537b8e){let _0x273549='';for(const _0x5a3eb7 of _0x537b8e['getChildren']())_0x5a3eb7 instanceof _0x37e768&&(_0x273549+=_0x5a3eb7['data']);return _0x273549;}var I=class extends _0x142110{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];init(){const _0x36e61f=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x27a7e8=[];_0x36e61f['model']['document']['on']('change',_0x5be371(()=>{const _0xbaf1ca=_0x27a7e8;_0x27a7e8=this['_getOutlineDefinitions']();const _0x1ab64c=_0x4e0a03(_0xbaf1ca,_0x27a7e8,(_0x2b08eb,_0x20dfcf)=>_0x2b08eb['level']===_0x20dfcf['level']&&_0x2b08eb['text']===_0x20dfcf['text']&&_0x2b08eb['modelElement']===_0x20dfcf['modelElement']),_0x1b78cc=_0x3ae25a(_0x1ab64c,_0x27a7e8),_0x563fc8=this['_getActiveHeading'](),_0x50212b=_0x27a7e8['findIndex'](_0x2b921e=>_0x2b921e['modelElement']===_0x563fc8);_0x1b78cc['length']&&this['fire']('change',{'outlineDefinitions':_0x27a7e8,'activeItemIndex':_0x50212b,'outlineChanges':_0x1b78cc}),this['fire']('activeItemIndex',{'index':_0x50212b});},0xfa,{'leading':!0x0,'trailing':!0x0}));}afterInit(){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}_getOutlineDefinitions(){const _0xc8c2f5=this['editor'],_0x9ba48d=[],_0x563277=this['_headingNames'];for(const _0x3601f9 of _0xc8c2f5['model']['document']['getRootNames']())_0x3927df(_0xc8c2f5['model']['document']['getRoot'](_0x3601f9));function _0x3927df(_0x338fb3){for(const _0x4cc152 of _0x338fb3['getChildren']())_0x4cc152['is']('element')&&(_0x563277['includes'](_0x4cc152['name'])&&_0x9ba48d['push']({'level':_0x563277['indexOf'](_0x4cc152['name'])+0x1,'text':b(_0x4cc152),'modelElement':_0x4cc152}),_0x3927df(_0x4cc152));}return _0x9ba48d;}_getActiveHeading(){const _0x5329e1=this['editor']['model']['document']['selection']['getFirstPosition'](),_0xd21913=new _0x42f1ef({'direction':'backward','startPosition':_0x5329e1});for(const _0x25360b of _0xd21913)if(_0x25360b['item']['is']('element')&&this['_headingNames']['includes'](_0x25360b['item']['name']))return _0x25360b['item'];}_getHeadingNames(){const _0x6c5441=this['editor']['config']['get']('documentOutline.headings');return _0x6c5441||function(_0x1653b3){const _0x376998=_0x1653b3['config']['get']('heading.options');return _0x376998?_0x376998['reduce']((_0xa43494,_0x1b7541)=>('paragraph'!==_0x1b7541['model']&&_0xa43494['push'](_0x1b7541['model']),_0xa43494),[]):_0x1653b3['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}_deriveHeadingElementsFromConversion(){const _0x39e06f=this['editor'],_0x532b7d=['h1','h2','h3','h4','h5','h6'],_0x2c6f5b=[];for(const _0x5f56db of _0x532b7d){const _0x214972=_0x39e06f['editing']['view']['domConverter']['domToView'](document['createElement'](_0x5f56db)),_0x5e0051=_0x39e06f['data']['toModel'](_0x214972)['getChild'](0x0);_0x5e0051?.['is']('element')&&_0x2c6f5b['push'](_0x5e0051['name']);}this['_headingNames']=_0x2c6f5b;}};function L(_0x1cb7c2,_0x20d74d){const t=_0x1cb7c2['t'];switch(_0x20d74d){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 _0x20d74d;}}var C=class extends _0x52d706{constructor(_0x41a8cd,_0x54b784=!0x1){super(_0x41a8cd);const _0x19c769=this['bindTemplate'],_0x561170=_0x54b784?'['+L(_0x41a8cd,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x39826f=>!_0x39826f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x19c769['to']('level',_0x2b0aa9=>'ck-document-outline__item_level-'+_0x2b0aa9),_0x19c769['if']('isActive','ck-document-outline__item_active'),_0x19c769['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x19c769['to']('text')},'children':[{'text':_0x19c769['to']('text',_0x5483a0=>_0x5483a0||_0x561170)}],'on':{'click':_0x19c769['to']('click')}});}},_=class extends _0x52d706{items;documentOutlineContainer;showEmptyHeadingText;constructor(_0x21c84b,_0x860c51=!0x1,_0x2e0927){super(_0x21c84b),this['showEmptyHeadingText']=_0x860c51,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x2e0927,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xf261e,_0x523d1f,_0x313ed2,_0xeef103)=>{this['_setActiveItem'](_0xeef103,_0x313ed2);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x21c84b['contentLanguageDirection'],'data-document-outline-empty-placeholder':L(_0x21c84b,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x7a296f){_0x7a296f['forEach'](_0x575f84=>{'insert'==_0x575f84['type']?this['_insertItem'](_0x575f84['index'],..._0x575f84['values']):'delete'==_0x575f84['type']&&this['_deleteItem'](_0x575f84['index'],_0x575f84['howMany']);});}_setActiveItem(_0x4e85d4,_0x5038ff){if(-0x1!==_0x4e85d4){const _0x2b7271=this['items']['get'](_0x4e85d4);_0x2b7271&&(_0x2b7271['isActive']=!0x1);}-0x1!==_0x5038ff&&(this['items']['get'](_0x5038ff)['isActive']=!0x0,this['_scrollToItem'](_0x5038ff));}_insertItem(_0x28996e,..._0x2da0fd){const _0x14a9a0=_0x2da0fd['map']((_0x34d7d0,_0x1dbbaa)=>{const _0x2395e4=new C(this['locale'],this['showEmptyHeadingText']);return _0x2395e4['text']=_0x34d7d0['text'],_0x2395e4['level']=_0x34d7d0['level'],_0x28996e+_0x1dbbaa===this['activeItemIndex']&&(_0x2395e4['isActive']=!0x0),_0x2395e4;});this['items']['addMany'](_0x14a9a0,_0x28996e);}_deleteItem(_0x302311,_0x348c1e){do{this['items']['remove'](_0x302311);}while(--_0x348c1e);}_handleItemClick(_0x41b8de){const _0x1bc4fa=this['items']['getIndex'](_0x41b8de['source']);this['fire']('itemSelected',_0x1bc4fa);}_scrollToItem(_0x5a2fb7){_0x1b92e6(this['items']['get'](_0x5a2fb7)['element'],0x14,this['documentOutlineContainer']);}destroy(){super['destroy'](),this['element']['remove']();}},x=class extends _0x142110{['view'];_currentOutlineDefinitions;_updateActiveDefinitionFromViewportThrottled;static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4e7fd){super(_0x4e7fd),this['view']=new _(_0x4e7fd['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x13b65d(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}init(){const _0x5ed3bc=this['editor'],_0x1927ba=_0x5ed3bc['plugins']['get']('DocumentOutlineUtils');let _0x1ceef1=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x5ed3bc['config']['get']('documentOutline.container'))throw new _0x5cfcea('document-outline-container-not-provided',{'editor':_0x5ed3bc});_0x5ed3bc['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x1927ba['on']('change',this['_handleOutlineChange']['bind'](this)),_0x1927ba['on']('activeItemIndex',(_0x6f2bf7,{index:_0x2592e4})=>this['_setActiveViewItem'](_0x2592e4)),this['view']['on']('itemSelected',(_0x1e574b,_0x4512a9)=>{_0x1ceef1=!0x0,this['_handleItemSelected'](_0x4512a9);}),this['view']['listenTo'](_0x367229['document'],'scroll',()=>{_0x1ceef1?_0x1ceef1=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x367229['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}afterInit(){!async function(_0x17cdba){const _0x420d2f='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x258cea=0x793c8,_0x7f738={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x2ecefc(_0x255548){const _0x55d400=new window['Promise'](_0x1c513d=>{_0x255548['once']('ready',_0x1c513d);}),_0x3096fd=window['Date']['now'](),_0x2d79fc=_0x255548['config']['get']('licenseKey');async function _0x34b007(){let _0x826f29,_0x2ba856=null,_0x483c97=null;try{return'GPL'==_0x2d79fc?'NotAllowed':(_0x826f29=_0x303526(),_0x826f29?(_0x826f29['usageEndpoint']&&(_0x483c97=_0x12c48d(_0x826f29['usageEndpoint'],_0x826f29['jti'])),await _0x242317()?_0x14499b()?_0x5eb80a()?'Expired':_0x175a46()?('evaluation'==_0x826f29['licenseType']&&(_0x2ba856=_0x40792d('EvaluationLimit')),await _0x5cda47()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5eb80a(){const _0x545f46=['evaluation','trial']['includes'](_0x826f29['licenseType'])?_0x3096fd/0x3e8:0xe10*_0x258cea;return _0x826f29['exp']<_0x545f46;}function _0x14499b(){const _0x523355=_0x826f29['features'];return!!_0x523355&&(!!_0x523355['includes']('*')||(!!_0x523355['includes']('DO')||(!!_0x523355['includes']('PP')||!(!_0x523355['includes']('TRILIUM')||!_0x36e835()))));}function _0x175a46(){const _0x4f4b9b=_0x826f29['licensedHosts'];if(!_0x4f4b9b||0x0==_0x4f4b9b['length'])return!0x0;const {hostname:_0x5ea0e7}=new URL(window['location']['href']);if(_0x4f4b9b['includes'](_0x5ea0e7))return!0x0;const _0x4f1431=_0x5ea0e7['split']('.');return _0x4f4b9b['filter'](_0x162a27=>_0x162a27['includes']('*'))['map'](_0x175a9c=>_0x175a9c['split']('.'))['filter'](_0x5063fb=>_0x5063fb['length']<=_0x4f1431['length'])['map'](_0x1e8f72=>Array(_0x4f1431['length']-_0x1e8f72['length'])['fill']('*'===_0x1e8f72[0x0]?'*':'')['concat'](_0x1e8f72))['some'](_0x2b2e40=>_0x4f1431['every']((_0x111b07,_0xa86fc4)=>_0x2b2e40[_0xa86fc4]===_0x111b07||'*'===_0x2b2e40[_0xa86fc4]));}function _0x5cda47(){return _0x2ba856&&_0x483c97?new window['Promise']((_0x2486aa,_0x47ae5b)=>{_0x2ba856['then'](_0x2486aa,_0x47ae5b),_0x483c97['then'](_0x1576b0=>{'Valid'!=_0x1576b0&&_0x2486aa(_0x1576b0);},_0x47ae5b);}):_0x2ba856||_0x483c97||'Valid';}}function _0x12c48d(_0xbee956,_0x325032){return new window['Promise'](_0x2b8a21=>{if(_0x344709())return _0x2b8a21('Valid');_0x2aedf5(),_0x255548['decorate']('_sendUsageRequest');let _0x5f3fb3=!0x1;const _0x462ecd=_0x2ad361();function _0x4044f9(_0x136277){return!!_0x136277&&('object'==typeof _0x136277||'function'==typeof _0x136277)&&'function'==typeof _0x136277['then']&&'function'==typeof _0x136277['catch'];}function _0x33d45a(_0x23b568){_0x4fe304(_0x23b568)['then'](_0x5cc3c5=>_0x5cc3c5&&'ok'==_0x5cc3c5['status']?_0x5455e7(_0x1740dc(_0x462ecd+_0x325032))!=_0x5cc3c5['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x45c161=>(_0x3c66df(),_0x45c161),()=>{const _0x8065d0=_0x14e7c6();return null==_0x8065d0?(_0x3c66df(),'Valid'):_0x3096fd-_0x8065d0>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2b8a21)['catch'](()=>{_0x2b8a21('UsageLimit');});const _0x3e4cce=0x36ee80;function _0x3c66df(){const _0x2c760b='llct-'+_0x5455e7(_0x1740dc(_0xbee956)),_0x5888b7=_0xa5cf4c(_0x5455e7(window['Math']['ceil'](_0x3096fd/_0x3e4cce)));window['localStorage']['setItem'](_0x2c760b,_0x5888b7);}function _0x14e7c6(){const _0x246fa2='llct-'+_0x5455e7(_0x1740dc(_0xbee956)),_0x3ed0e6=window['localStorage']['getItem'](_0x246fa2);return _0x3ed0e6?window['parseInt'](_0xa5cf4c(_0x3ed0e6),0x10)*_0x3e4cce:null;}function _0x4fe304(_0x4a6a73){return new window['Promise']((_0x3a6e98,_0x306f1a)=>{_0x4a6a73['then'](_0x3a6e98,_0x306f1a),window['setTimeout'](_0x306f1a,0x1d4c0);});}}_0x255548['on']('_sendUsageRequest',(_0x351c40,_0x4f0de6)=>{if(_0x4f0de6[0x0]!=_0xbee956)return _0x2b8a21('UsageLimit');_0x4f0de6[0x1]={..._0x4f0de6[0x1],'requestId':_0x462ecd};},{'priority':'high'}),_0x255548['on']('_sendUsageRequest',_0x2fffd9=>{_0x4044f9(_0x2fffd9['return'])&&(_0x5f3fb3=!0x0,_0x33d45a(_0x2fffd9['return']));},{'priority':'low'}),_0x55d400['then'](()=>{_0x5f3fb3||_0x2b8a21('UsageLimit');});});function _0x344709(){return'auto'==_0x255548['editing']['view']['_overlayModeHint'];}function _0x2aedf5(){_0x255548['editing']['view']['_overlayModeHint']='auto';}}function _0x40792d(_0x449a86){const _0xf7be3e=[new window['Promise'](_0x1cd581=>setTimeout(_0x1cd581,0x93ecc)),_0x55d400['then'](()=>new window['Promise'](_0x53ffb3=>{let _0x42ee6e=0x0;_0x255548['model']['on']('applyOperation',(_0x10e61e,_0x1e5d80)=>{_0x1e5d80[0x0]['isDocumentOperation']&&_0x42ee6e++,0x5e8==_0x42ee6e&&(_0x53ffb3(),_0x10e61e['off']());});}))];return window['Promise']['race'](_0xf7be3e)['then'](()=>_0x449a86);}async function _0x19117d(){await _0x55d400,_0x255548['model']['change']=_0x4b9238,_0x255548['model']['enqueueChange']=_0x4b9238,_0x255548['enableReadOnlyMode']('model');}function _0x36e835(){return window['glob']&&window['glob']['triliumVersion'];}function _0x4c73c0(_0x12b2a7){const _0x1f29cb=_0x14b351();_0x255548[_0x1f29cb]='documentOutlineLicenseKey'+_0x12b2a7,'Valid'!=_0x12b2a7&&_0x19117d();}function _0x14b351(){const _0x5cce85=window['String'](window['performance']['now']())['replace']('.','');let _0x22680b='u';for(let _0x2650ae=0x0;_0x2650ae<_0x5cce85['length'];_0x2650ae+=0x2){let _0x2f14f1=window['parseInt'](_0x5cce85['substring'](_0x2650ae,_0x2650ae+0x2));_0x2f14f1>=0x3e&&(_0x2f14f1-=0x3e),_0x22680b+=_0x420d2f[_0x2f14f1];}return _0x22680b;}function _0x303526(){const _0x471f5e=_0x2d79fc['split']('.');if(0x3!=_0x471f5e['length'])return null;return _0x51cfdf(_0x471f5e[0x1]);function _0x51cfdf(_0x4ff167){const _0x44b30d=_0xd6cab6(_0x4ff167);return _0x44b30d&&_0x308573()?_0x44b30d:null;function _0x308573(){const _0x3e1714=_0x44b30d['jti'],_0xf46d61=window['parseInt'](_0x3e1714['substring'](_0x3e1714['length']-0x8),0x10),_0x6fc61b={..._0x44b30d,'jti':_0x3e1714['substring'](0x0,_0x3e1714['length']-0x8)};return delete _0x6fc61b['vc'],_0x1740dc(_0x6fc61b)==_0xf46d61;}}}async function _0x242317(){let _0x2ba674=!0x0;try{const [_0x5100ca,_0x16d90d,_0x487b56]=_0x2d79fc['split']('.');return _0x21bab8(_0x5100ca),await _0x10424b(_0x5100ca,_0x16d90d,_0x487b56),_0x2ba674;}catch{return!0x1;}function _0x21bab8(_0x2931bd){const _0x4cb302=_0xd6cab6(_0x2931bd);_0x4cb302&&'ES256'==_0x4cb302['alg']||(_0x2ba674=!0x1);}async function _0x10424b(_0xecfaca,_0x1c0065,_0x489417){const _0x1a7bf2=window['Uint8Array']['from'](_0xcc7fa1(_0x489417),_0x1faefc=>_0x1faefc['charCodeAt'](0x0)),_0x4e240e=new window['TextEncoder']()['encode'](_0xecfaca+'.'+_0x1c0065),_0x1c8d41=window['crypto']['subtle'];if(!_0x1c8d41)return;const _0x3f7abb=await _0x1c8d41['importKey']('jwk',_0x7f738,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x1c8d41['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3f7abb,_0x1a7bf2,_0x4e240e)||(_0x2ba674=!0x1);}}function _0xd6cab6(_0xc46df1){return _0xc46df1['startsWith']('ey')?JSON['parse'](_0xcc7fa1(_0xc46df1)):null;}function _0xcc7fa1(_0x451a15){return window['atob'](_0x451a15['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1740dc(_0x208696){let _0x3f39af=0x1505;function _0x46adc2(_0x3b4af8){for(let _0x314660=0x0;_0x314660<_0x3b4af8['length'];_0x314660++){const _0x5e8d05=_0x3b4af8['charCodeAt'](_0x314660);_0x3f39af=(_0x3f39af<<0x5)+_0x3f39af+_0x5e8d05,_0x3f39af&=_0x3f39af;}}function _0x1a36d2(_0x370205){Array['isArray'](_0x370205)?_0x370205['forEach'](_0x1a36d2):_0x370205&&'object'==typeof _0x370205?Object['entries'](_0x370205)['sort']()['forEach'](([_0x35aa14,_0x54d466])=>{_0x46adc2(_0x35aa14),_0x1a36d2(_0x54d466);}):_0x46adc2(window['String'](_0x370205));}return _0x1a36d2(_0x208696),_0x3f39af>>>0x0;}function _0x5455e7(_0x230c51){return _0x230c51['toString'](0x10)['padStart'](0x8,'0');}function _0xa5cf4c(_0x11cba9){return _0x11cba9['split']('')['reverse']()['join']('');}function _0x4b9238(){}_0x4c73c0(await _0x34b007());}_0x2ecefc(_0x17cdba['editor']);}(this);}destroy(){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}_handleOutlineChange(_0x2c5110,{outlineDefinitions:_0x3b9e0e,outlineChanges:_0x56aa64}){this['_currentOutlineDefinitions']=_0x3b9e0e,this['view']['sync'](_0x56aa64);}_setActiveViewItem(_0x373df1){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x373df1]&&(this['view']['activeItemIndex']=_0x373df1);}_handleItemSelected(_0x47ba4b){const _0x1b64e6=this['_currentOutlineDefinitions'][_0x47ba4b]['modelElement'];this['editor']['model']['change'](_0x4cc9ff=>{_0x4cc9ff['setSelection'](_0x1b64e6,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x47ba4b);}_updateActiveDefinitionOnViewportChange(){const _0x5da60e=this['editor'];let _0xc6ed18;for(const _0x587f64 of _0x5da60e['model']['document']['getRootNames']()){const _0x3867db=_0x5da60e['editing']['view']['getDomRoot'](_0x587f64),_0x4be950=_0x3867db&&new _0x15ea7c(_0x3867db)['getVisible']();if(_0x4be950){const _0x2e0ce6=new _0x15ea7c(_0x367229['window'])['getIntersection'](_0x4be950);_0x2e0ce6&&(_0xc6ed18=_0x2e0ce6['top']+0.25*_0x2e0ce6['height']);}}if(void 0x0===_0xc6ed18)return;const _0x1be6f9=k(_0x5da60e['editing'],this['_currentOutlineDefinitions'],_0xc6ed18);_0x1be6f9?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x1be6f9)):this['_setActiveViewItem'](-0x1);}};function k(_0x1765a5,_0x244cf8,_0x5e5a0c,_0x52cde0=0x0,_0x33892e=_0x244cf8['length']-0x1){const _0x1afa03=Math['floor'](_0x52cde0+(_0x33892e-_0x52cde0)/0x2);if(_0x33892e>=_0x52cde0){const _0x1c30fa=_0x244cf8[_0x1afa03],_0x884f85=_0x1765a5['mapper']['toViewElement'](_0x1c30fa['modelElement']);if(!_0x884f85)return null;const _0x40fbab=_0x1765a5['view']['domConverter']['mapViewToDom'](_0x884f85);return new _0x15ea7c(_0x40fbab)['bottom']>_0x5e5a0c?k(_0x1765a5,_0x244cf8,_0x5e5a0c,_0x52cde0,_0x1afa03-0x1):k(_0x1765a5,_0x244cf8,_0x5e5a0c,_0x1afa03+0x1,_0x33892e);}return _0x1afa03<0x0?null:_0x244cf8[_0x1afa03];}var E=class extends _0x142110{['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 _0x19af6f=[this['editor']];for(const _0x3a4c31 of _0x19af6f){let _0x49dc4d;for(const _0x50868c in _0x3a4c31){const _0x3ae723=_0x50868c,_0x5511ce=_0x3a4c31[_0x3ae723];if('documentOutlineLicenseKeyValid'==_0x5511ce||'documentOutlineLicenseKeyInvalid'==_0x5511ce||'documentOutlineLicenseKeyExpired'==_0x5511ce||'documentOutlineLicenseKeyDomainLimit'==_0x5511ce||'documentOutlineLicenseKeyNotAllowed'==_0x5511ce||'documentOutlineLicenseKeyEvaluationLimit'==_0x5511ce||'documentOutlineLicenseKeyUsageLimit'==_0x5511ce){delete _0x3a4c31[_0x3ae723],_0x49dc4d=_0x5511ce,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x49dc4d&&_0x3a4c31['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x49dc4d&&_0x3a4c31['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x49dc4d&&_0x3a4c31['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x49dc4d&&_0x3a4c31['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x49dc4d&&_0x3a4c31['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x49dc4d&&_0x3a4c31['_showLicenseError']('usageLimit');}},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},K=class extends _0x3debaa{execute(){this['editor']['model']['change'](_0x36ef2d=>{this['editor']['model']['insertObject'](_0x36ef2d['createElement']('tableOfContents'));});}['refresh'](){const _0x1d8102=this['editor']['model'],_0x296c57=_0x1d8102['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x296c57&&_0x1d8102['schema']['findAllowedParent'](_0x296c57,'tableOfContents'));}},A=class extends _0x142110{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}afterInit(){const _0x1efc3d=this['editor'];if(_0x1efc3d['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x8cef24,modelNames:_0x47f4c5}=function(_0x5aaff8){const _0x150dfd=new Set(['h1','h2','h3','h4','h5','h6']),_0x203501=new Set(['heading1','heading2','heading3','heading4','heading5','heading6','htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']);if(!_0x5aaff8)return{'viewNames':_0x150dfd,'modelNames':_0x203501};for(const _0x18c9f3 of _0x5aaff8){if('paragraph'===_0x18c9f3['model'])continue;const _0x5b9316='string'==typeof _0x18c9f3['view']?_0x18c9f3['view']:_0x18c9f3['view']['name'];_0x150dfd['add'](_0x5b9316),_0x203501['add'](_0x18c9f3['model']);}return{'viewNames':_0x150dfd,'modelNames':_0x203501};}(this['editor']['config']['get']('heading.options'));for(const _0x2e9ef7 of _0x8cef24)this['_customUpcastHeadingsConversion'](_0x2e9ef7);for(const _0x57abef of _0x47f4c5)this['_customDataDowncastHeadingsConversion'](_0x57abef),_0x1efc3d['model']['schema']['isRegistered'](_0x57abef)&&_0x1efc3d['model']['schema']['extend'](_0x57abef,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x47f4c5);}_customUpcastHeadingsConversion(_0x3bafe4){this['editor']['conversion']['for']('upcast')['add'](_0x1e069b=>_0x1e069b['on']('element:'+_0x3bafe4,(_0x3f1299,_0x37310a,_0x5e093b)=>{const {consumable:_0x40f6cd,writer:_0x1c18a9}=_0x5e093b,_0x53c372=_0x37310a['viewItem']['getAttribute']('id'),_0x47da45=_0x37310a['modelRange']?.['getContainedElement']();if(_0x47da45)return _0x53c372&&_0x53c372['length']||_0x47da45['hasAttribute']('headingId')?void(_0x40f6cd['consume'](_0x37310a['viewItem'],{'attributes':['id']})&&_0x1c18a9['setAttribute']('headingId',_0x53c372,_0x47da45)):(_0x40f6cd['consume'](_0x37310a['viewItem'],{'attributes':['id']}),void _0x1c18a9['setAttribute']('headingId',_0x2ad361(),_0x47da45));},{'priority':_0x252802['get']('low')+0.5}));}_customDataDowncastHeadingsConversion(_0x22795a){this['editor']['conversion']['for']('downcast')['add'](_0x1ae887=>_0x1ae887['on']('attribute:headingId:'+_0x22795a,(_0x512d72,_0x2858a8,_0x59a395)=>{if(!_0x59a395['consumable']['consume'](_0x2858a8['item'],_0x512d72['name']))return;const _0xe36a79=_0x2858a8['item']['getAttribute']('headingId'),_0x3103f7=_0x59a395['mapper']['toViewElement'](_0x2858a8['item']);_0x59a395['writer']['setAttribute']('id',_0xe36a79,_0x3103f7);}));}_registerHeadingIdAttributePostfixer(_0x1e183c){const _0x2122d0=this['editor'],_0xe2b657=new Set(),_0x36d893=new Set();function _0x304aee(_0x24cf2b,_0x267116){const _0xc2b8a6=_0x2ad361();return _0x36d893['add'](_0xc2b8a6),_0x24cf2b['setAttribute']('headingId',_0xc2b8a6,_0x267116),_0xc2b8a6;}function _0x5537c7(_0xa02230,_0x4a848f){_0xa02230['removeAttribute']('headingId',_0x4a848f);}_0x2122d0['model']['document']['registerPostFixer'](_0x5d7cdc=>{const _0x265fa1=_0x2122d0['model']['document']['differ']['getChanges']();let _0x1f3748=!0x1;for(const _0xfe8647 of _0x265fa1)if('insert'==_0xfe8647['type']&&_0xfe8647['name']){if(_0x1e183c['has'](_0xfe8647['name'])){const _0x4e9153=_0xfe8647['attributes']['get']('headingId');'string'==typeof _0x4e9153?_0xe2b657['has'](_0x4e9153)?(_0x304aee(_0x5d7cdc,_0xfe8647['position']['nodeAfter']),_0x1f3748=!0x0):_0x36d893['add'](_0x4e9153):(_0x304aee(_0x5d7cdc,_0xfe8647['position']['nodeAfter']),_0x1f3748=!0x0);}else'string'==typeof _0xfe8647['attributes']['get']('headingId')&&(_0x5537c7(_0x5d7cdc,_0xfe8647['position']['nodeAfter']),_0x1f3748=!0x0);}else{if('remove'==_0xfe8647['type']){const _0xc92808=_0xfe8647['attributes']['get']('headingId');'string'==typeof _0xc92808&&_0xe2b657['delete'](_0xc92808);}}return _0x1f3748;}),_0x2122d0['model']['document']['on']('change',()=>{_0x36d893['forEach'](_0x5ac251=>_0xe2b657['add'](_0x5ac251)),_0x36d893['clear']();});}},N=class extends _0x142110{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get requires(){return[_0xe39919,I,A];}_currentOutlineDefinitions;_tableOfContentsElements;_headingIdModelAttributeName;constructor(_0x513819){super(_0x513819),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}init(){const _0x44014b=this['editor'],_0x53eaa0=_0x44014b['editing']['view']['document'];_0x44014b['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x44014b['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x53eaa0,'click',(_0x474f01,_0x249ea0)=>{if(!_0x249ea0['target'])return;const _0x5e4798=_0x249ea0['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x5e4798)&&(_0x249ea0['domEvent']['preventDefault'](),_0x474f01['stop'](),this['_handleScrollToHeading'](_0x5e4798));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x44014b['commands']['add']('insertTableOfContents',new K(_0x44014b));const _0x414190=_0x44014b['config']['get']('tableOfContents.headings');_0x414190&&_0x414190['length']?this['listenTo'](_0x44014b['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x414190),this['_updateTableOfContentsElements']();}):_0x44014b['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4743e8,_0x4f670b)=>{this['_currentOutlineDefinitions']=_0x4f670b['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x44014b['model']['document'],'change',()=>{this['_trackNewToCElements']();});}afterInit(){!async function(_0x4f60e2){const _0x5f5d66='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x49c8e2=0x793c8,_0x5ae73e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'};async function _0x2e6cc5(_0x3209ae){const _0x3f10d2=new window['Promise'](_0x4f3ce5=>{_0x3209ae['once']('ready',_0x4f3ce5);}),_0x1a8b37=window['Date']['now'](),_0x23afa8=_0x3209ae['config']['get']('licenseKey');async function _0x52627e(){let _0x1a21b8,_0x3f1bbf=null,_0x28c7fc=null;try{return'GPL'==_0x23afa8?'NotAllowed':(_0x1a21b8=_0x55fbf3(),_0x1a21b8?(_0x1a21b8['usageEndpoint']&&(_0x28c7fc=_0x280dae(_0x1a21b8['usageEndpoint'],_0x1a21b8['jti'])),await _0x2abe9d()?_0x1760cf()?_0x55915c()?'Expired':_0x18b371()?('evaluation'==_0x1a21b8['licenseType']&&(_0x3f1bbf=_0xc78235('EvaluationLimit')),await _0x34a12d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x55915c(){const _0x4ceec7=['evaluation','trial']['includes'](_0x1a21b8['licenseType'])?_0x1a8b37/0x3e8:0xe10*_0x49c8e2;return _0x1a21b8['exp']<_0x4ceec7;}function _0x1760cf(){const _0x3aa12d=_0x1a21b8['features'];return!!_0x3aa12d&&(!!_0x3aa12d['includes']('*')||(!!_0x3aa12d['includes']('TOC')||(!!_0x3aa12d['includes']('PP')||!(!_0x3aa12d['includes']('TRILIUM')||!_0x2f10c2()))));}function _0x18b371(){const _0x455c82=_0x1a21b8['licensedHosts'];if(!_0x455c82||0x0==_0x455c82['length'])return!0x0;const {hostname:_0xc5245f}=new URL(window['location']['href']);if(_0x455c82['includes'](_0xc5245f))return!0x0;const _0x36201a=_0xc5245f['split']('.');return _0x455c82['filter'](_0x491ab6=>_0x491ab6['includes']('*'))['map'](_0x374f66=>_0x374f66['split']('.'))['filter'](_0x2758dd=>_0x2758dd['length']<=_0x36201a['length'])['map'](_0x46d419=>Array(_0x36201a['length']-_0x46d419['length'])['fill']('*'===_0x46d419[0x0]?'*':'')['concat'](_0x46d419))['some'](_0x4d80f6=>_0x36201a['every']((_0x8d66ed,_0x46a706)=>_0x4d80f6[_0x46a706]===_0x8d66ed||'*'===_0x4d80f6[_0x46a706]));}function _0x34a12d(){return _0x3f1bbf&&_0x28c7fc?new window['Promise']((_0x1bc84e,_0x4e8b12)=>{_0x3f1bbf['then'](_0x1bc84e,_0x4e8b12),_0x28c7fc['then'](_0x1a956f=>{'Valid'!=_0x1a956f&&_0x1bc84e(_0x1a956f);},_0x4e8b12);}):_0x3f1bbf||_0x28c7fc||'Valid';}}function _0x280dae(_0x17c27b,_0x18827f){return new window['Promise'](_0x27a9ce=>{if(_0x48c376())return _0x27a9ce('Valid');_0x26d0dd(),_0x3209ae['decorate']('_sendUsageRequest');let _0x12b9e0=!0x1;const _0x16e6a3=_0x2ad361();function _0x39a51b(_0x5156b9){return!!_0x5156b9&&('object'==typeof _0x5156b9||'function'==typeof _0x5156b9)&&'function'==typeof _0x5156b9['then']&&'function'==typeof _0x5156b9['catch'];}function _0xbf6ec4(_0x56773a){_0x3fdcad(_0x56773a)['then'](_0xef3123=>_0xef3123&&'ok'==_0xef3123['status']?_0x3b8edf(_0x34ad9b(_0x16e6a3+_0x18827f))!=_0xef3123['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1b8d9f=>(_0x48d8b7(),_0x1b8d9f),()=>{const _0x579091=_0x5dd9d2();return null==_0x579091?(_0x48d8b7(),'Valid'):_0x1a8b37-_0x579091>0x240c8400?'UsageLimit':'Valid';})['then'](_0x27a9ce)['catch'](()=>{_0x27a9ce('UsageLimit');});const _0x27b034=0x36ee80;function _0x48d8b7(){const _0x4f6ad5='llct-'+_0x3b8edf(_0x34ad9b(_0x17c27b)),_0x58f5f9=_0x4532f4(_0x3b8edf(window['Math']['ceil'](_0x1a8b37/_0x27b034)));window['localStorage']['setItem'](_0x4f6ad5,_0x58f5f9);}function _0x5dd9d2(){const _0xd29973='llct-'+_0x3b8edf(_0x34ad9b(_0x17c27b)),_0x345b1=window['localStorage']['getItem'](_0xd29973);return _0x345b1?window['parseInt'](_0x4532f4(_0x345b1),0x10)*_0x27b034:null;}function _0x3fdcad(_0x389e72){return new window['Promise']((_0x245192,_0x127b6a)=>{_0x389e72['then'](_0x245192,_0x127b6a),window['setTimeout'](_0x127b6a,0x1d4c0);});}}_0x3209ae['on']('_sendUsageRequest',(_0xe78328,_0x1b17c8)=>{if(_0x1b17c8[0x0]!=_0x17c27b)return _0x27a9ce('UsageLimit');_0x1b17c8[0x1]={..._0x1b17c8[0x1],'requestId':_0x16e6a3};},{'priority':'high'}),_0x3209ae['on']('_sendUsageRequest',_0xa11fc2=>{_0x39a51b(_0xa11fc2['return'])&&(_0x12b9e0=!0x0,_0xbf6ec4(_0xa11fc2['return']));},{'priority':'low'}),_0x3f10d2['then'](()=>{_0x12b9e0||_0x27a9ce('UsageLimit');});});function _0x48c376(){return'auto'==_0x3209ae['editing']['view']['_overlayModeHint'];}function _0x26d0dd(){_0x3209ae['editing']['view']['_overlayModeHint']='auto';}}function _0xc78235(_0x56327f){const _0x4a5f24=[new window['Promise'](_0x26927a=>setTimeout(_0x26927a,0x93ecc)),_0x3f10d2['then'](()=>new window['Promise'](_0x806d54=>{let _0x106fcc=0x0;_0x3209ae['model']['on']('applyOperation',(_0x22d6ff,_0x577fa2)=>{_0x577fa2[0x0]['isDocumentOperation']&&_0x106fcc++,0x5e8==_0x106fcc&&(_0x806d54(),_0x22d6ff['off']());});}))];return window['Promise']['race'](_0x4a5f24)['then'](()=>_0x56327f);}async function _0x3d931e(){await _0x3f10d2,_0x3209ae['model']['change']=_0x59924f,_0x3209ae['model']['enqueueChange']=_0x59924f,_0x3209ae['enableReadOnlyMode']('model');}function _0x2f10c2(){return window['glob']&&window['glob']['triliumVersion'];}function _0x2a55e0(_0x408612){const _0x7636c1=_0xde8a30();_0x3209ae[_0x7636c1]='tableOfContentsLicenseKey'+_0x408612,'Valid'!=_0x408612&&_0x3d931e();}function _0xde8a30(){const _0x32525c=window['String'](window['performance']['now']())['replace']('.','');let _0xaea4bb='D';for(let _0x3bba31=0x0;_0x3bba31<_0x32525c['length'];_0x3bba31+=0x2){let _0x40a2da=window['parseInt'](_0x32525c['substring'](_0x3bba31,_0x3bba31+0x2));_0x40a2da>=0x3e&&(_0x40a2da-=0x3e),_0xaea4bb+=_0x5f5d66[_0x40a2da];}return _0xaea4bb;}function _0x55fbf3(){const _0x2392d8=_0x23afa8['split']('.');if(0x3!=_0x2392d8['length'])return null;return _0x1de82b(_0x2392d8[0x1]);function _0x1de82b(_0x174cc4){const _0x218a32=_0x8c8b85(_0x174cc4);return _0x218a32&&_0x53631c()?_0x218a32:null;function _0x53631c(){const _0x2b874b=_0x218a32['jti'],_0x2e2fcc=window['parseInt'](_0x2b874b['substring'](_0x2b874b['length']-0x8),0x10),_0x59b23c={..._0x218a32,'jti':_0x2b874b['substring'](0x0,_0x2b874b['length']-0x8)};return delete _0x59b23c['vc'],_0x34ad9b(_0x59b23c)==_0x2e2fcc;}}}async function _0x2abe9d(){let _0x1a5e8f=!0x0;try{const [_0x52ae85,_0x58281b,_0x34cbe3]=_0x23afa8['split']('.');return _0x71b3ab(_0x52ae85),await _0x29a294(_0x52ae85,_0x58281b,_0x34cbe3),_0x1a5e8f;}catch{return!0x1;}function _0x71b3ab(_0x43afce){const _0x479589=_0x8c8b85(_0x43afce);_0x479589&&'ES256'==_0x479589['alg']||(_0x1a5e8f=!0x1);}async function _0x29a294(_0x25d14f,_0x1187d3,_0x51f705){const _0x20aed7=window['Uint8Array']['from'](_0x3788ca(_0x51f705),_0x287ac6=>_0x287ac6['charCodeAt'](0x0)),_0x47e0c2=new window['TextEncoder']()['encode'](_0x25d14f+'.'+_0x1187d3),_0x3b4bbb=window['crypto']['subtle'];if(!_0x3b4bbb)return;const _0x5d4b93=await _0x3b4bbb['importKey']('jwk',_0x5ae73e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3b4bbb['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5d4b93,_0x20aed7,_0x47e0c2)||(_0x1a5e8f=!0x1);}}function _0x8c8b85(_0x400304){return _0x400304['startsWith']('ey')?JSON['parse'](_0x3788ca(_0x400304)):null;}function _0x3788ca(_0x545e99){return window['atob'](_0x545e99['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x34ad9b(_0x31c3cb){let _0x261260=0x1505;function _0x2869ab(_0x5f3bcd){for(let _0x46af4f=0x0;_0x46af4f<_0x5f3bcd['length'];_0x46af4f++){const _0x2399e3=_0x5f3bcd['charCodeAt'](_0x46af4f);_0x261260=(_0x261260<<0x5)+_0x261260+_0x2399e3,_0x261260&=_0x261260;}}function _0x29b96f(_0x9dae9d){Array['isArray'](_0x9dae9d)?_0x9dae9d['forEach'](_0x29b96f):_0x9dae9d&&'object'==typeof _0x9dae9d?Object['entries'](_0x9dae9d)['sort']()['forEach'](([_0x48b6e1,_0x3ead3e])=>{_0x2869ab(_0x48b6e1),_0x29b96f(_0x3ead3e);}):_0x2869ab(window['String'](_0x9dae9d));}return _0x29b96f(_0x31c3cb),_0x261260>>>0x0;}function _0x3b8edf(_0x368c7d){return _0x368c7d['toString'](0x10)['padStart'](0x8,'0');}function _0x4532f4(_0x1e1ec4){return _0x1e1ec4['split']('')['reverse']()['join']('');}function _0x59924f(){}_0x2a55e0(await _0x52627e());}_0x2e6cc5(_0x4f60e2['editor']);}(this);}_updateTableOfContentsElements(){this['_tableOfContentsElements']['forEach'](_0xdbe526=>{'$graveyard'!==_0xdbe526['rootName']&&this['editor']['editing']['reconvertItem'](_0xdbe526);});}_trackNewToCElements(){for(const _0xee300c of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xee300c['type']||'tableOfContents'!==_0xee300c['name'])return;this['_tableOfContentsElements']['add'](_0xee300c['position']['nodeAfter']);}}_getOutlineDefinitions(_0xb01a4d){const _0x2d2a63=this['editor'],_0x273524=[];for(const _0x32183f of _0x2d2a63['model']['document']['getRootNames']())_0x3e7e13(_0x2d2a63['model']['document']['getRoot'](_0x32183f));function _0x3e7e13(_0x4f4c8d){for(const _0x54917b of _0x4f4c8d['getChildren']())_0x54917b['is']('element')&&(_0xb01a4d['includes'](_0x54917b['name'])&&_0x273524['push']({'level':_0xb01a4d['indexOf'](_0x54917b['name'])+0x1,'text':b(_0x54917b),'modelElement':_0x54917b}),_0x3e7e13(_0x54917b));}return _0x273524;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}_defineConverters(){const _0x203bf9=this['editor']['conversion'];_0x203bf9['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x203bf9['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x41408a,{writer:_0x34ad71})=>this['_createTableOfContents'](_0x34ad71,!0x0)}),_0x203bf9['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x1470d9,{writer:_0x1fa8d2})=>{this['_tableOfContentsElements']['add'](_0x1470d9);const _0x479b7d=this['_createTableOfContents'](_0x1fa8d2);return _0x16bd65(_0x479b7d,_0x1fa8d2,{'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(_0x2da6eb,_0x332d90=!0x1){const {locale:_0x106738}=this['editor'],_0x2422b5=_0x2da6eb['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x332d90&&{'data-table-of-contents-label':L(_0x106738,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x332d90&&_0x2da6eb['insert'](_0x2da6eb['createPositionAt'](_0x2422b5,'end'),_0x2da6eb['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x2da6eb['createText'](L(_0x106738,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x14b62d=_0x332d90?'':'['+L(_0x106738,'Empty\x20heading')+']';let _0x351593=_0x2422b5;return this['_currentOutlineDefinitions']['forEach']((_0x34c540,_0x92d775,_0x3f5aeb)=>{const _0x4b0b58=this['editor']['model']['hasContent'](_0x34c540['modelElement'],{'ignoreWhitespaces':!0x0}),_0x4c5530=_0x4b0b58?_0x34c540['text']:_0x14b62d,_0x518768=_0x34c540['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x4e31eb=_0x2da6eb['createContainerElement']('a',{'href':'#'+_0x518768,...!_0x332d90&&{'tabindex':'-1'}},[_0x2da6eb['createText'](_0x4c5530)]),_0x33679d=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x2da6eb['setCustomProperty']('tableOfContentsHeadingIndex',_0x92d775,_0x4e31eb);const _0x53d068=_0x2da6eb['createContainerElement']('li',null,[_0x4b0b58||!_0x332d90&&_0x33679d?_0x4e31eb:_0x2da6eb['createText']('')]),_0x3708fa=_0x92d775?_0x3f5aeb[_0x92d775-0x1]['level']:0x0,_0x542a3f=Math['abs'](_0x34c540['level']-_0x3708fa);if(_0x34c540['level']>_0x3708fa){const _0x4bdf1c=D(_0x53d068,_0x542a3f,_0x2da6eb);_0x2da6eb['insert'](_0x2da6eb['createPositionAt'](_0x351593,'end'),_0x4bdf1c);}else{const _0x48045c=function(_0x31240f,_0x65ee31){return _0x31240f['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x2e1fa3=>_0x2e1fa3['is']('element','ol'))[_0x65ee31];}(_0x351593,_0x542a3f);_0x2da6eb['insert'](_0x2da6eb['createPositionAt'](_0x48045c,'end'),_0x53d068);}_0x351593=_0x53d068;}),_0x2422b5;}['_handleScrollToHeading'](_0x1d0644){const _0x257478=this['_currentOutlineDefinitions'][_0x1d0644]['modelElement'];this['editor']['model']['change'](_0x32b354=>{_0x32b354['setSelection'](_0x257478,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}_redirectMapper(){return(_0x547957,_0x1d67b1)=>{const _0x522bc3=_0x1d67b1['mapper'],_0x2720ba=_0x522bc3['findMappedViewAncestor'](_0x1d67b1['viewPosition']),_0x1aed6f=_0x522bc3['toModelElement'](_0x2720ba);_0x1aed6f['is']('element','tableOfContents')&&(_0x1d67b1['modelPosition']=this['editor']['model']['createPositionAt'](_0x1aed6f,0x0),_0x547957['stop']());};}};function D(_0x14c78e,_0x322850,_0xce1e62){return 0x1===_0x322850?_0xce1e62['createContainerElement']('ol',null,[_0x14c78e]):_0xce1e62['createContainerElement']('ol',null,[_0xce1e62['createContainerElement']('li',null,[D(_0x14c78e,_0x322850-0x1,_0xce1e62)])]);}var H=class extends _0x142110{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const _0x41c22e=this['editor'];_0x41c22e['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x43c2a2=this['_createButton'](_0x18744f);return _0x43c2a2['tooltip']=!0x0,_0x43c2a2;}),_0x41c22e['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x58d61a)),this['licenseKey']=this['editor']['config']['get']('licenseKey'),this['_licenseKeyCheckInterval']=setInterval(()=>{const _0x3d0910=[this['editor']];for(const _0x21e0c0 of _0x3d0910){let _0x3daa0a;for(const _0x5cd70c in _0x21e0c0){const _0x5a7a2b=_0x5cd70c,_0x27fa08=_0x21e0c0[_0x5a7a2b];if('tableOfContentsLicenseKeyValid'==_0x27fa08||'tableOfContentsLicenseKeyInvalid'==_0x27fa08||'tableOfContentsLicenseKeyExpired'==_0x27fa08||'tableOfContentsLicenseKeyDomainLimit'==_0x27fa08||'tableOfContentsLicenseKeyNotAllowed'==_0x27fa08||'tableOfContentsLicenseKeyEvaluationLimit'==_0x27fa08||'tableOfContentsLicenseKeyUsageLimit'==_0x27fa08){delete _0x21e0c0[_0x5a7a2b],_0x3daa0a=_0x27fa08,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3daa0a&&_0x21e0c0['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3daa0a&&_0x21e0c0['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3daa0a&&_0x21e0c0['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3daa0a&&_0x21e0c0['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3daa0a&&_0x21e0c0['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3daa0a&&_0x21e0c0['_showLicenseError']('usageLimit');}},0x3e8);}_createButton(_0x4f708b){const _0x41b84e=this['editor'],_0x4ed845=_0x41b84e['locale'],_0x424816=_0x41b84e['commands']['get']('insertTableOfContents'),_0x334c4a=new _0x4f708b(_0x4ed845);return _0x334c4a['set']({'label':L(_0x4ed845,'Table\x20of\x20contents'),'icon':_0x574358}),_0x334c4a['bind']('isEnabled')['to'](_0x424816,'isEnabled'),this['listenTo'](_0x334c4a,'execute',()=>{_0x41b84e['execute']('insertTableOfContents'),_0x41b84e['editing']['view']['focus']();}),_0x334c4a;}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},P=class extends _0x142110{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
|
+
(_0x174196=>{const {af:_0x594a5e}={'af':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x174196['af']||={'dictionary':{},'getPluralForm':null},_0x174196['af']['dictionary']=Object['assign'](_0x174196['af']['dictionary'],_0x594a5e['dictionary']),_0x594a5e['getPluralForm']&&(_0x174196['af']['getPluralForm']=_0x594a5e['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
|
+
(_0x5ad2b4=>{const {ar:_0x9b3e86}={'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المحتويات'}}};_0x5ad2b4['ar']||={'dictionary':{},'getPluralForm':null},_0x5ad2b4['ar']['dictionary']=Object['assign'](_0x5ad2b4['ar']['dictionary'],_0x9b3e86['dictionary']),_0x9b3e86['getPluralForm']&&(_0x5ad2b4['ar']['getPluralForm']=_0x9b3e86['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
|
+
(_0x35b2bd=>{const {ast:_0x559989}={'ast':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x35b2bd['ast']||={'dictionary':{},'getPluralForm':null},_0x35b2bd['ast']['dictionary']=Object['assign'](_0x35b2bd['ast']['dictionary'],_0x559989['dictionary']),_0x559989['getPluralForm']&&(_0x35b2bd['ast']['getPluralForm']=_0x559989['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
|
+
(_0x562811=>{const {az:_0x27083d}={'az':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x562811['az']||={'dictionary':{},'getPluralForm':null},_0x562811['az']['dictionary']=Object['assign'](_0x562811['az']['dictionary'],_0x27083d['dictionary']),_0x27083d['getPluralForm']&&(_0x562811['az']['getPluralForm']=_0x27083d['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
|
+
(_0x1361d9=>{const {be:_0x5cbc66}={'be':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x1361d9['be']||={'dictionary':{},'getPluralForm':null},_0x1361d9['be']['dictionary']=Object['assign'](_0x1361d9['be']['dictionary'],_0x5cbc66['dictionary']),_0x5cbc66['getPluralForm']&&(_0x1361d9['be']['getPluralForm']=_0x5cbc66['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
|
+
(_0xf8a0cf=>{const {bg:_0x2d830f}={'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':'Съдържание'}}};_0xf8a0cf['bg']||={'dictionary':{},'getPluralForm':null},_0xf8a0cf['bg']['dictionary']=Object['assign'](_0xf8a0cf['bg']['dictionary'],_0x2d830f['dictionary']),_0x2d830f['getPluralForm']&&(_0xf8a0cf['bg']['getPluralForm']=_0x2d830f['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
|
+
(_0xd324d3=>{const {bn:_0x41d8fe}={'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টেবিল'}}};_0xd324d3['bn']||={'dictionary':{},'getPluralForm':null},_0xd324d3['bn']['dictionary']=Object['assign'](_0xd324d3['bn']['dictionary'],_0x41d8fe['dictionary']),_0x41d8fe['getPluralForm']&&(_0xd324d3['bn']['getPluralForm']=_0x41d8fe['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
|
+
(_0x256a75=>{const {bs:_0x3a2441}={'bs':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x256a75['bs']||={'dictionary':{},'getPluralForm':null},_0x256a75['bs']['dictionary']=Object['assign'](_0x256a75['bs']['dictionary'],_0x3a2441['dictionary']),_0x3a2441['getPluralForm']&&(_0x256a75['bs']['getPluralForm']=_0x3a2441['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
|
+
(_0x5e4e4e=>{const {ca:_0x2bf975}={'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'}}};_0x5e4e4e['ca']||={'dictionary':{},'getPluralForm':null},_0x5e4e4e['ca']['dictionary']=Object['assign'](_0x5e4e4e['ca']['dictionary'],_0x2bf975['dictionary']),_0x2bf975['getPluralForm']&&(_0x5e4e4e['ca']['getPluralForm']=_0x2bf975['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
|
+
(_0x4083c8=>{const {cs:_0x5d54cb}={'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'}}};_0x4083c8['cs']||={'dictionary':{},'getPluralForm':null},_0x4083c8['cs']['dictionary']=Object['assign'](_0x4083c8['cs']['dictionary'],_0x5d54cb['dictionary']),_0x5d54cb['getPluralForm']&&(_0x4083c8['cs']['getPluralForm']=_0x5d54cb['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
|
+
(_0x574fee=>{const {da:_0x18ba1d}={'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'}}};_0x574fee['da']||={'dictionary':{},'getPluralForm':null},_0x574fee['da']['dictionary']=Object['assign'](_0x574fee['da']['dictionary'],_0x18ba1d['dictionary']),_0x18ba1d['getPluralForm']&&(_0x574fee['da']['getPluralForm']=_0x18ba1d['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
|
+
(_0x49cb7d=>{const {'de-ch':_0xe888a2}={'de-ch':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x49cb7d['de-ch']||={'dictionary':{},'getPluralForm':null},_0x49cb7d['de-ch']['dictionary']=Object['assign'](_0x49cb7d['de-ch']['dictionary'],_0xe888a2['dictionary']),_0xe888a2['getPluralForm']&&(_0x49cb7d['de-ch']['getPluralForm']=_0xe888a2['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
|
+
(_0xc8e458=>{const {de:_0x22dab8}={'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'}}};_0xc8e458['de']||={'dictionary':{},'getPluralForm':null},_0xc8e458['de']['dictionary']=Object['assign'](_0xc8e458['de']['dictionary'],_0x22dab8['dictionary']),_0x22dab8['getPluralForm']&&(_0xc8e458['de']['getPluralForm']=_0x22dab8['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
|
+
(_0x433194=>{const {el:_0x3765d2}={'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περιεχομένων'}}};_0x433194['el']||={'dictionary':{},'getPluralForm':null},_0x433194['el']['dictionary']=Object['assign'](_0x433194['el']['dictionary'],_0x3765d2['dictionary']),_0x3765d2['getPluralForm']&&(_0x433194['el']['getPluralForm']=_0x3765d2['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
|
+
(_0x202edb=>{const {'en-au':_0x126cf9}={'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'}}};_0x202edb['en-au']||={'dictionary':{},'getPluralForm':null},_0x202edb['en-au']['dictionary']=Object['assign'](_0x202edb['en-au']['dictionary'],_0x126cf9['dictionary']),_0x126cf9['getPluralForm']&&(_0x202edb['en-au']['getPluralForm']=_0x126cf9['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
|
+
(_0x236e74=>{const {'en-gb':_0x448e61}={'en-gb':{'dictionary':{'Empty\x20heading':'','Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.':'','No\x20headings\x20were\x20found\x20in\x20the\x20document.':'','Table\x20of\x20contents':''}}};_0x236e74['en-gb']||={'dictionary':{},'getPluralForm':null},_0x236e74['en-gb']['dictionary']=Object['assign'](_0x236e74['en-gb']['dictionary'],_0x448e61['dictionary']),_0x448e61['getPluralForm']&&(_0x236e74['en-gb']['getPluralForm']=_0x448e61['getPluralForm']);})(window['CKEDITOR_TRANSLATIONS']||={});
|