@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251024.0 → 0.0.0-nightly-20251026.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x236d9e}from'ckeditor5/src/core.js';import{isWidget as _0x577372,toWidget as _0x2a8c82,toWidgetEditable as _0x55d8e3}from'ckeditor5/src/widget.js';import{uid as _0x5c5a24}from'ckeditor5/src/utils.js';import{PointerObserver as _0xca5f4d,ClickObserver as _0x4f0db7}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x42b914}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x31dd61}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x236d9e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x42b914];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xbde3a7}=this;_0xbde3a7['config']['define']('footnotes.multiBlock',!0x0),_0xbde3a7['commands']['add']('insertFootnote',new _0x31dd61(_0xbde3a7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x538e4a){const _0x5056e7=_0x489619([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x29067b=0x47a28506,_0x1d415a=0x47a5f21e^_0x29067b,_0x10ac14=window[_0x489619([0x44,0x61,0x74,0x65])][_0x489619([0x6e,0x6f,0x77])](),_0x1993df=_0x538e4a[_0x489619([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a9676=new window[(_0x489619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a06ad=>{_0x1993df[_0x489619([0x6f,0x6e,0x63,0x65])](_0x489619([0x72,0x65,0x61,0x64,0x79]),_0x2a06ad);}),_0x18af46={[_0x489619([0x6b,0x74,0x79])]:_0x489619([0x45,0x43]),[_0x489619([0x75,0x73,0x65])]:_0x489619([0x73,0x69,0x67]),[_0x489619([0x63,0x72,0x76])]:_0x489619([0x50,0x2d,0x32,0x35,0x36]),[_0x489619([0x78])]:_0x489619([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x489619([0x79])]:_0x489619([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x489619([0x61,0x6c,0x67])]:_0x489619([0x45,0x53,0x32,0x35,0x36])},_0xa7b761=_0x1993df[_0x489619([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x489619([0x67,0x65,0x74])](_0x489619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4eb62c(){let _0x136b34,_0x1d833c=null,_0x89245c=null;try{if(_0xa7b761==_0x489619([0x47,0x50,0x4c]))return _0x489619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x136b34=_0x2e4a41(),!_0x136b34)return _0x489619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x136b34[_0x489619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x89245c=_0x3203a5(_0x136b34[_0x489619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x136b34[_0x489619([0x6a,0x74,0x69])])),await _0x3c43d7()?_0x536b48()?_0x54dd92()?_0x489619([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x171832()?(_0x136b34[_0x489619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x489619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d833c=_0x555986(_0x489619([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x136b34[_0x489619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x489619([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d833c=_0x555986(_0x489619([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25119d()):_0x489619([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x489619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x489619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x489619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x54dd92(){const _0x2b68ff=[_0x489619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x489619([0x74,0x72,0x69,0x61,0x6c])][_0x489619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x136b34[_0x489619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10ac14/0x3e8:0xe10*_0x1d415a;return _0x136b34[_0x489619([0x65,0x78,0x70])]<_0x2b68ff;}function _0x536b48(){const _0x1ab5a7=_0x136b34[_0x489619([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ab5a7&&(!!_0x1ab5a7[_0x489619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489619([0x2a]))||!!_0x1ab5a7[_0x489619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489619([0x46,0x4f,0x4f])));}function _0x171832(){const _0x58b917=_0x136b34[_0x489619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58b917||0x0==_0x58b917[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfa59b7}=new URL(window[_0x489619([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58b917[_0x489619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa59b7))return!0x0;const _0x206ada=_0xfa59b7[_0x489619([0x73,0x70,0x6c,0x69,0x74])](_0x489619([0x2e]));return _0x58b917[_0x489619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x315027=>_0x315027[_0x489619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x489619([0x2a])))[_0x489619([0x6d,0x61,0x70])](_0x46810f=>_0x46810f[_0x489619([0x73,0x70,0x6c,0x69,0x74])](_0x489619([0x2e])))[_0x489619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28c41a=>_0x28c41a[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x206ada[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x489619([0x6d,0x61,0x70])](_0x1ea449=>Array(_0x206ada[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ea449[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x489619([0x66,0x69,0x6c,0x6c])](_0x1ea449[0x0]===_0x489619([0x2a])?_0x489619([0x2a]):'')[_0x489619([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ea449))[_0x489619([0x73,0x6f,0x6d,0x65])](_0x5cbcd1=>_0x206ada[_0x489619([0x65,0x76,0x65,0x72,0x79])]((_0x3a594b,_0x47ac72)=>_0x5cbcd1[_0x47ac72]===_0x3a594b||_0x5cbcd1[_0x47ac72]===_0x489619([0x2a])));}function _0x25119d(){return _0x1d833c&&_0x89245c?new window[(_0x489619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5381b4,_0x5b8662)=>{_0x1d833c[_0x489619([0x74,0x68,0x65,0x6e])](_0x5381b4,_0x5b8662),_0x89245c[_0x489619([0x74,0x68,0x65,0x6e])](_0x53b9a6=>{_0x53b9a6!=_0x489619([0x56,0x61,0x6c,0x69,0x64])&&_0x5381b4(_0x53b9a6);},_0x5b8662);}):_0x1d833c||_0x89245c||_0x489619([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3203a5(_0x53cee2,_0x3ae25b){return new window[(_0x489619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc2e0a2=>{if(_0x2f7b7a())return _0xc2e0a2(_0x489619([0x56,0x61,0x6c,0x69,0x64]));_0x4ac427(),_0x1993df[_0x489619([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x489619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fbe5b=!0x1;const _0x477f7f=_0x5c5a24();function _0x52fe31(_0x54fae6){return!!_0x54fae6&&(typeof _0x54fae6===_0x489619([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x54fae6===_0x489619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x54fae6[_0x489619([0x74,0x68,0x65,0x6e])]===_0x489619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x54fae6[_0x489619([0x63,0x61,0x74,0x63,0x68])]===_0x489619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xd052ae(_0x3b1ff6){_0x266250(_0x3b1ff6)[_0x489619([0x74,0x68,0x65,0x6e])](_0x3b2c42=>{if(!_0x3b2c42||_0x3b2c42[_0x489619([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x489619([0x6f,0x6b]))return _0x489619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1bc6a6(_0x53839a(_0x477f7f+_0x3ae25b))!=_0x3b2c42[_0x489619([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x489619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x489619([0x56,0x61,0x6c,0x69,0x64]);})[_0x489619([0x74,0x68,0x65,0x6e])](_0x2e29e2=>(_0x459950(),_0x2e29e2),()=>{const _0x23aa3f=_0x135930();return null==_0x23aa3f?(_0x459950(),_0x489619([0x56,0x61,0x6c,0x69,0x64])):_0x489619(_0x10ac14-_0x23aa3f>(0x63ae0106^_0x29067b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x489619([0x74,0x68,0x65,0x6e])](_0xc2e0a2)[_0x489619([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc2e0a2(_0x489619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x389276=0x47946b86^_0x29067b;function _0x459950(){const _0x97847d=_0x489619([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc6a6(_0x53839a(_0x53cee2)),_0x435d75=_0x49ba3d(_0x1bc6a6(window[_0x489619([0x4d,0x61,0x74,0x68])][_0x489619([0x63,0x65,0x69,0x6c])](_0x10ac14/_0x389276)));window[_0x489619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x489619([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x97847d,_0x435d75);}function _0x135930(){const _0x6e99d8=_0x489619([0x6c,0x6c,0x63,0x74,0x2d])+_0x1bc6a6(_0x53839a(_0x53cee2)),_0x143253=window[_0x489619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x489619([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6e99d8);return _0x143253?window[_0x489619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49ba3d(_0x143253),0x10)*_0x389276:null;}function _0x266250(_0x167002){return new window[(_0x489619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a1cdf,_0x3d515b)=>{_0x167002[_0x489619([0x74,0x68,0x65,0x6e])](_0x5a1cdf,_0x3d515b),window[_0x489619([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d515b,0x47a351c6^_0x29067b);});}}_0x1993df[_0x489619([0x6f,0x6e])](_0x489619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x357c08,_0x485fd8)=>{if(_0x485fd8[0x0]!=_0x53cee2)return _0xc2e0a2(_0x489619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x485fd8[0x1]={..._0x485fd8[0x1],[_0x489619([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x477f7f};},{[_0x489619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x489619([0x68,0x69,0x67,0x68])}),_0x1993df[_0x489619([0x6f,0x6e])](_0x489619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x277b9b=>{_0x52fe31(_0x277b9b[_0x489619([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fbe5b=!0x0,_0xd052ae(_0x277b9b[_0x489619([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x489619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x489619([0x6c,0x6f,0x77])}),_0x1a9676[_0x489619([0x74,0x68,0x65,0x6e])](()=>{_0x4fbe5b||_0xc2e0a2(_0x489619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f7b7a(){return _0x1993df[_0x489619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x489619([0x76,0x69,0x65,0x77])][_0x489619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x489619([0x61,0x75,0x74,0x6f]);}function _0x4ac427(){_0x1993df[_0x489619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x489619([0x76,0x69,0x65,0x77])][_0x489619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x489619([0x61,0x75,0x74,0x6f]);}}function _0x555986(_0xa89801){const _0x39d632=[new window[(_0x489619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5c67=>setTimeout(_0x1c5c67,0x47abbbca^_0x29067b)),_0x1a9676[_0x489619([0x74,0x68,0x65,0x6e])](()=>new window[(_0x489619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9808e=>{let _0x410773=0x0;_0x1993df[_0x489619([0x6d,0x6f,0x64,0x65,0x6c])][_0x489619([0x6f,0x6e])](_0x489619([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd8b590,_0x4c38da)=>{_0x4c38da[0x0][_0x489619([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x410773++,_0x410773==(0x47a284fe^_0x29067b)&&(_0x9808e(),_0xd8b590[_0x489619([0x6f,0x66,0x66])]());});}))];return window[_0x489619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x489619([0x72,0x61,0x63,0x65])](_0x39d632)[_0x489619([0x74,0x68,0x65,0x6e])](()=>_0xa89801);}async function _0x41859c(){await _0x1a9676,_0x1993df[_0x489619([0x6d,0x6f,0x64,0x65,0x6c])][_0x489619([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x190a94,_0x1993df[_0x489619([0x6d,0x6f,0x64,0x65,0x6c])][_0x489619([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x190a94,_0x1993df[_0x489619([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x489619([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x123f4d(_0x34aed8){const _0x301d3e=_0x48f495();_0x1993df[_0x301d3e]=_0x489619([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34aed8,_0x34aed8!=_0x489619([0x56,0x61,0x6c,0x69,0x64])&&_0x41859c();}function _0x48f495(){const _0xe722ac=window[_0x489619([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x489619([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x489619([0x6e,0x6f,0x77])]())[_0x489619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x489619([0x2e]),'');let _0x1f3ad5=_0x489619([0x75]);for(let _0x20833c=0x0;_0x20833c<_0xe722ac[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20833c+=0x2){let _0x28f09e=window[_0x489619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe722ac[_0x489619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x20833c,_0x20833c+0x2));_0x28f09e>=_0x5056e7[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x28f09e-=_0x5056e7[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1f3ad5+=_0x5056e7[_0x28f09e];}return _0x1f3ad5;}function _0x2e4a41(){const _0x48b90b=_0xa7b761[_0x489619([0x73,0x70,0x6c,0x69,0x74])](_0x489619([0x2e]));if(0x3!=_0x48b90b[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5943b4(_0x48b90b[0x1]);function _0x5943b4(_0x34eba0){const _0x1ba26a=_0xa6993e(_0x34eba0);return _0x1ba26a&&_0x539376()?_0x1ba26a:null;function _0x539376(){const _0x3751ab=_0x1ba26a[_0x489619([0x6a,0x74,0x69])],_0x3dc1df=window[_0x489619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3751ab[_0x489619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3751ab[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x186872={..._0x1ba26a,[_0x489619([0x6a,0x74,0x69])]:_0x3751ab[_0x489619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3751ab[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x186872[_0x489619([0x76,0x63])],_0x53839a(_0x186872)==_0x3dc1df;}}}async function _0x3c43d7(){let _0x5435d5=!0x0;try{const _0x5da664=_0xa7b761[_0x489619([0x73,0x70,0x6c,0x69,0x74])](_0x489619([0x2e])),[_0x88f80c,_0x32ee40,_0x4a7c44]=_0x5da664;return _0x2461a9(_0x88f80c),await _0x27fd3e(_0x88f80c,_0x32ee40,_0x4a7c44),_0x5435d5;}catch{return!0x1;}function _0x2461a9(_0x403b3f){const _0x838ab6=_0xa6993e(_0x403b3f);_0x838ab6&&_0x838ab6[_0x489619([0x61,0x6c,0x67])]==_0x489619([0x45,0x53,0x32,0x35,0x36])||(_0x5435d5=!0x1);}async function _0x27fd3e(_0x5784de,_0x369961,_0x41c790){const _0x5c08f6=window[_0x489619([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x489619([0x66,0x72,0x6f,0x6d])](_0x2418e7(_0x41c790),_0xd71f95=>_0xd71f95[_0x489619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34ee0d=new window[(_0x489619([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x489619([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5784de+_0x489619([0x2e])+_0x369961),_0x4e9c15=window[_0x489619([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x489619([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4e9c15)return;const _0x4b6937=await _0x4e9c15[_0x489619([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x489619([0x6a,0x77,0x6b]),_0x18af46,{[_0x489619([0x6e,0x61,0x6d,0x65])]:_0x489619([0x45,0x43,0x44,0x53,0x41]),[_0x489619([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x489619([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x489619([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4e9c15[_0x489619([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x489619([0x6e,0x61,0x6d,0x65])]:_0x489619([0x45,0x43,0x44,0x53,0x41]),[_0x489619([0x68,0x61,0x73,0x68])]:{[_0x489619([0x6e,0x61,0x6d,0x65])]:_0x489619([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b6937,_0x5c08f6,_0x34ee0d)||(_0x5435d5=!0x1);}}function _0xa6993e(_0x3d6f71){return _0x3d6f71[_0x489619([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x489619([0x65,0x79]))?JSON[_0x489619([0x70,0x61,0x72,0x73,0x65])](_0x2418e7(_0x3d6f71)):null;}function _0x2418e7(_0x3128f4){return window[_0x489619([0x61,0x74,0x6f,0x62])](_0x3128f4[_0x489619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x489619([0x2b]))[_0x489619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x489619([0x2f])));}function _0x53839a(_0xcb95be){let _0x295fe5=0x1505;function _0x2bca8c(_0x56bf84){for(let _0x127a09=0x0;_0x127a09<_0x56bf84[_0x489619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x127a09++){const _0x452c0e=_0x56bf84[_0x489619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x127a09);_0x295fe5=(_0x295fe5<<0x5)+_0x295fe5+_0x452c0e,_0x295fe5&=_0x295fe5;}}function _0x2d2d97(_0x5f12a5){Array[_0x489619([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f12a5)?_0x5f12a5[_0x489619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d2d97):_0x5f12a5&&typeof _0x5f12a5==_0x489619([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x489619([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f12a5)[_0x489619([0x73,0x6f,0x72,0x74])]()[_0x489619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e5664,_0x10582e])=>{_0x2bca8c(_0x1e5664),_0x2d2d97(_0x10582e);}):_0x2bca8c(window[_0x489619([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f12a5));}return _0x2d2d97(_0xcb95be),_0x295fe5>>>0x0;}function _0x1bc6a6(_0x4e1e0e){return _0x4e1e0e[_0x489619([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x489619([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x489619([0x30]));}function _0x49ba3d(_0x1b65cf){return _0x1b65cf[_0x489619([0x73,0x70,0x6c,0x69,0x74])]('')[_0x489619([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x489619([0x6a,0x6f,0x69,0x6e])]('');}function _0x190a94(){}function _0x489619(_0x463aee){return _0x463aee['map'](_0x425b98=>String['fromCharCode'](_0x425b98))['join']('');}_0x123f4d(await _0x4eb62c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4d40bc){const {plugins:_0x189264,editing:_0x53a9ca,model:_0x7bce07}=this['editor'],_0x196a28=_0x189264['get'](_0x42b914)['getFootnote'](_0x4d40bc);return!!_0x196a28&&(_0x7bce07['change'](_0x4c0453=>{_0x4c0453['setSelection'](_0x4c0453['createPositionAt'](_0x196a28['definition'],'end'));}),_0x53a9ca['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3086eb){const {plugins:_0x2294d9,editing:_0x54f47b,model:_0xfc4f2a}=this['editor'],_0x4dcad8=_0x2294d9['get'](_0x42b914)['getFootnote'](_0x3086eb);return!!_0x4dcad8&&(_0xfc4f2a['change'](_0x499e46=>{_0x499e46['setSelection'](_0x4dcad8['reference'],'on');}),_0x54f47b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5c7d39}=this['editor']['model'],_0x15d228=this['editor']['config']['get']('footnotes.multiBlock');_0x5c7d39['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5c7d39['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5c7d39['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x15d228?_0x5c7d39['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5c7d39['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5c7d39['addChildCheck'](_0x3e4de3=>{for(const _0x405c91 of _0x3e4de3)if('footnoteDefinition'===_0x405c91['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x7eac79}=this,{conversion:_0x1d8b78,editing:_0x2b1096}=_0x7eac79,{t:t}=_0x7eac79['locale'];_0x1d8b78['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x229734,{writer:_0x28870d,consumable:_0x4b9a5d})=>{const _0x23fe63=_0x229734['getChild'](0x0);if(!_0x23fe63||!_0x23fe63['is']('element','a'))return null;const _0x535cce=_0x23fe63['getAttribute']('href')||'';if(!_0x535cce['startsWith']('#'))return null;const _0x5dbb7e=_0x535cce['replace'](/^#/,'');if(!_0x5dbb7e)return null;_0x4b9a5d['consume'](_0x23fe63,{'name':!0x0,'attributes':['href']});for(const {item:_0x3f119f}of _0x2b1096['view']['createRangeIn'](_0x23fe63))_0x3f119f['is']('$textProxy')?_0x4b9a5d['consume'](_0x3f119f['textNode'],{'name':!0x0}):_0x3f119f['is']('element')&&_0x4b9a5d['consume'](_0x3f119f,{'name':!0x0});return _0x28870d['createElement']('footnoteRef',{'footnoteId':_0x5dbb7e});}}),_0x1d8b78['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x179374,{writer:_0x34a599})=>D(_0x179374,_0x34a599)}),_0x1d8b78['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x249125,{writer:_0x4f7543})=>{const _0x246309=_0x249125['getAttribute']('footnoteCounter');return _0x2a8c82(D(_0x249125,_0x4f7543),_0x4f7543,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x246309)});}});}['_defineDefinitionsConverters'](){const {editor:_0x40fdf9}=this,{t:t}=_0x40fdf9['locale'],{conversion:_0x59bdb4}=_0x40fdf9;_0x59bdb4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x59bdb4['for']('upcast')['add'](_0x46990e=>{_0x46990e['on']('element:ol',(_0x46fba6,_0xad128b,_0x8dee8d)=>{const _0x5f4480=_0xad128b['viewItem'];if(!_0x5f4480['hasClass']('footnotes-list')||!_0xad128b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x8dee8d['consumable']['consume'](_0x5f4480,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1deea8,modelCursor:_0x219fd2}=_0x8dee8d['convertChildren'](_0xad128b['viewItem'],_0xad128b['modelCursor']);_0xad128b['modelRange']=_0x1deea8,_0xad128b['modelCursor']=_0x219fd2;}),_0x46990e['on']('element:hr',(_0x4a8bc7,_0x5688e1,_0x331746)=>{const _0xc19c12=_0x5688e1['viewItem'];_0xc19c12['hasClass']('footnotes-divider')&&_0x5688e1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x331746['consumable']['consume'](_0xc19c12,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x59bdb4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1ee13e,{writer:_0x54bdff})=>g(_0x54bdff)}),_0x59bdb4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x134583,{writer:_0x1dab20})=>{const _0x459225=g(_0x1dab20,{'data-footnotes-list-label':t('Footnotes')}),_0x5a8f1e=_0x2a8c82(_0x459225,_0x1dab20,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1dab20['setCustomProperty']('footnotesDefinitions',!0x0,_0x5a8f1e),_0x5a8f1e;}});}['_defineDefinitionConverters'](){const {editor:_0x1b0166}=this,{conversion:_0x43660d,locale:_0x10220d}=_0x1b0166,_0x9b22b9=_0x1b0166['config']['get']('footnotes.multiBlock');_0x43660d['for']('upcast')['add'](_0x5fdf79=>{_0x5fdf79['on']('element:li',(_0x9ce6d5,_0x76f531,_0x2556e8)=>{const _0x1dce34=_0x76f531['viewItem'];if(!_0x1dce34['hasClass']('footnote-definition')||!_0x1dce34['getAttribute']('id'))return;const _0x3d6b1c=_0x1dce34['parent'];if(!_0x3d6b1c['is']('element','ol')||!_0x3d6b1c['hasClass']('footnotes-list'))return;if(!_0x2556e8['consumable']['test'](_0x1dce34,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x36a495=_0x2556e8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1dce34['getAttribute']('id')});if(!_0x2556e8['safeInsert'](_0x36a495,_0x76f531['modelCursor']))return;_0x2556e8['consumable']['consume'](_0x1dce34,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x47c1f4=Array['from'](_0x1dce34['getChildren']())['find'](_0x272591=>_0x272591['is']('element')&&_0x272591['hasClass']('footnote-content'));for(const _0x47cef6 of _0x1dce34['getChildren']())_0x47cef6['is']('element')&&(_0x2556e8['consumable']['consume'](_0x47cef6,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2556e8['consumable']['consume'](_0x47cef6,{'name':!0x0,'classes':'footnote-content'}));if(_0x47c1f4){if(_0x9b22b9)_0x2556e8['convertChildren'](_0x47c1f4,_0x36a495);else{const _0x322eba=_0x2556e8['writer']['createElement']('footnoteInlineContent');_0x2556e8['writer']['insert'](_0x322eba,_0x36a495),_0x2556e8['convertChildren'](_0x47c1f4,_0x322eba);}}_0x2556e8['updateConversionResult'](_0x36a495,_0x76f531);});}),_0x43660d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf24848,{writer:_0x24f55f})=>v(_0xf24848,_0x24f55f,_0x10220d,{'dataPipeline':!0x0})}),_0x43660d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3aafce,{writer:_0x1f50a4})=>v(_0x3aafce,_0x1f50a4,_0x10220d)});}['_defineBogusParagraphConverters'](){const {editor:_0x37828c}=this,{conversion:_0x9a6e4e}=_0x37828c;_0x37828c['config']['get']('footnotes.multiBlock')?(_0x9a6e4e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x9a6e4e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x37828c['model']['document'],'change:data',()=>{!function(_0x31f9f3,_0x359167){const _0x56d0c7=_0x31f9f3['document']['differ'],_0x55ed4d=new Set();for(const _0x9e868b of _0x56d0c7['getChanges']()){const _0x1c5ecd='attribute'==_0x9e868b['type']?_0x9e868b['range']['start']['parent']:_0x9e868b['position']['parent'];_0x1c5ecd['is']('element','footnoteDefinition')&&_0x55ed4d['add'](_0x1c5ecd);}for(const _0x40bef2 of _0x55ed4d['values']()){const _0xca6724=Array['from'](_0x40bef2['getChildren']())['filter'](_0x5d2af2=>p(_0x5d2af2,_0x359167['mapper']));for(const _0x295fdc of _0xca6724)_0x359167['reconvertItem'](_0x295fdc);}}(_0x37828c['model'],_0x37828c['editing']);})):(_0x9a6e4e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x9a6e4e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x443693,{writer:_0x3a0e43})=>{const _0x2310b0=_0x3a0e43['createContainerElement']('span');return _0x3a0e43['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2310b0),_0x2310b0;}}));}['_defineKeyboardHandlers'](){const {editor:_0x27cbad}=this,{editing:_0xd0cd63,t:t}=_0x27cbad,_0x4ed821=_0x27cbad['model']['document']['selection'];_0x27cbad['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x27cbad['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0xd0cd63['view']['document'],'enter',(_0x3cf32a,_0x559e9e)=>{const _0x3bd949=function(_0x548bdd){const _0x5bcc2b=_0x548bdd['getSelectedElement']();if(_0x5bcc2b?.['is']('element','footnoteRef'))return _0x5bcc2b;return null;}(_0x4ed821);if(_0x3bd949){const _0x434a12=_0x3bd949['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x434a12),_0x559e9e['preventDefault'](),_0x3cf32a['stop']();}},{'context':_0x577372});}['_defineClickHandlers'](){const {editor:_0x253c20}=this,{editing:_0x4dfa04}=_0x253c20;_0x253c20['editing']['view']['addObserver'](_0xca5f4d),_0x253c20['editing']['view']['addObserver'](_0x4f0db7);let _0x484ec4=!0x1;this['listenTo'](_0x4dfa04['view']['document'],'pointerdown',(_0x226f29,_0x3fd8ff)=>{const {target:_0x15abca}=_0x3fd8ff,_0x26eddd=_0x4dfa04['view']['document']['selection'];_0x484ec4=!(!_0x15abca['is']('element','sup')||!_0x15abca['hasClass']('footnote'))&&_0x26eddd['getSelectedElement']()===_0x15abca;},{'priority':'high'}),this['listenTo'](_0x4dfa04['view']['document'],'click',(_0x394855,_0x303e2c)=>{const {target:_0x4a690d}=_0x303e2c,_0x95c5ab=_0x4a690d['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x95c5ab['slice'](0x1)),_0x394855['stop'](),_0x303e2c['preventDefault']();},{'priority':'high','context':_0xc52dc7=>_0xc52dc7['is']('element','sup')&&_0xc52dc7['hasClass']('footnote')&&_0x484ec4}),this['listenTo'](_0x4dfa04['view']['document'],'click',(_0x53b448,_0x32c391)=>{const {target:_0x391ddb}=_0x32c391;if(!_0x391ddb['is']('element','a'))return;let _0x1f90d4=_0x391ddb['getAttribute']('href');if(!_0x1f90d4?.['startsWith']('#'))return;_0x1f90d4=_0x1f90d4['slice'](0x1);let _0x535992=!0x1;(_0x1f90d4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1f90d4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1f90d4))&&(_0x535992=!0x0),_0x535992&&(_0x32c391['preventDefault'](),_0x53b448['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x23ec13}={}){return(_0x506e55,{writer:_0x1a092e})=>{if(!h(_0x506e55))return null;if(!_0x23ec13)return _0x1a092e['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x21f630=_0x1a092e['createContainerElement']('p');return _0x1a092e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x21f630),_0x21f630;};}function h(_0x5c4f60){const {parent:_0x5459e6}=_0x5c4f60;if(!_0x5459e6?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5459e6['childCount'])return!0x1;for(const _0x5c5234 of _0x5c4f60['getAttributeKeys']())if(!_0x5c5234['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5c5234)return!0x1;return!0x0;}function p(_0x1d9f49,_0x5de164){if(!_0x1d9f49['is']('element','paragraph'))return!0x1;const _0x3675c6=_0x5de164['toViewElement'](_0x1d9f49);return!!_0x3675c6&&h(_0x1d9f49)!==_0x3675c6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1510c6){return _0x577372(_0x1510c6)&&_0x1510c6['is']('containerElement')&&!!_0x1510c6['getCustomProperty']('footnotesDefinitions');}function g(_0x52a485,_0xab0561={}){const _0xb279d3=_0x52a485['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2eb239=_0x52a485['createContainerElement']('ol',{'class':'footnotes-list'},_0x52a485['createSlot']());return _0x52a485['createContainerElement']('div',{'class':'footnotes',..._0xab0561},[_0xb279d3,_0x2eb239]);}function D(_0x5d7f6e,_0x544a92){const _0xc32911=_0x5d7f6e['getAttribute']('footnoteId'),_0x1398b4=_0x5d7f6e['getAttribute']('footnoteCounter'),_0x4e8a31=_0x544a92['createUIElement']('a',{'href':'#'+_0xc32911},function(_0x102b9c){const _0xf3b86c=this['toDomElement'](_0x102b9c);return _0xf3b86c['textContent']=_0x1398b4,_0xf3b86c;}),_0x590418=_0x544a92['createContainerElement']('sup',{'id':'ref-'+_0xc32911,'class':'footnote'},[_0x4e8a31]);return _0x590418['getFillerOffset']=()=>null,_0x590418;}function v(_0x5af826,_0x3ea2bd,_0x31cadf,{dataPipeline:_0x2fc398}={}){const {t:t}=_0x31cadf,_0x2b4c36=_0x5af826['getAttribute']('footnoteId'),_0x49ad3a=_0x3ea2bd['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2b4c36},function(_0x24a850){const _0x3f854d=this['toDomElement'](_0x24a850);return _0x3f854d['innerText']='^',_0x3f854d;}),_0x412721=_0x2fc398?_0x3ea2bd['createContainerElement']('div',{'class':'footnote-content'}):_0x55d8e3(_0x3ea2bd['createEditableElement']('div',{'class':'footnote-content'}),_0x3ea2bd,{'label':t('Footnote\x20content.')});return _0x3ea2bd['insert'](_0x3ea2bd['createPositionAt'](_0x412721,0x0),_0x3ea2bd['createSlot']()),_0x3ea2bd['createContainerElement']('li',{'class':'footnote-definition','id':_0x2b4c36},[_0x49ad3a,_0x412721]);}
23
+ import{Plugin as _0x5bd6aa}from'ckeditor5/src/core.js';import{isWidget as _0x45e7ca,toWidget as _0x1f0949,toWidgetEditable as _0x5cfdc7}from'ckeditor5/src/widget.js';import{uid as _0x20db9b}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3139b1,ClickObserver as _0x129df2}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x5ce8d9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2334ee}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5bd6aa{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x5ce8d9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x151750}=this;_0x151750['config']['define']('footnotes.multiBlock',!0x0),_0x151750['commands']['add']('insertFootnote',new _0x2334ee(_0x151750)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5a9bf6){const _0x29ddf=_0xec3fa3([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x5780c8=0x47a28506,_0xcef18f=0x47a5f24e^_0x5780c8,_0x16e721=window[_0xec3fa3([0x44,0x61,0x74,0x65])][_0xec3fa3([0x6e,0x6f,0x77])](),_0x2e5d0f=_0x5a9bf6[_0xec3fa3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a8180=new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc603a3=>{_0x2e5d0f[_0xec3fa3([0x6f,0x6e,0x63,0x65])](_0xec3fa3([0x72,0x65,0x61,0x64,0x79]),_0xc603a3);}),_0x541e2d={[_0xec3fa3([0x6b,0x74,0x79])]:_0xec3fa3([0x45,0x43]),[_0xec3fa3([0x75,0x73,0x65])]:_0xec3fa3([0x73,0x69,0x67]),[_0xec3fa3([0x63,0x72,0x76])]:_0xec3fa3([0x50,0x2d,0x32,0x35,0x36]),[_0xec3fa3([0x78])]:_0xec3fa3([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xec3fa3([0x79])]:_0xec3fa3([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xec3fa3([0x61,0x6c,0x67])]:_0xec3fa3([0x45,0x53,0x32,0x35,0x36])},_0x173172=_0x2e5d0f[_0xec3fa3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xec3fa3([0x67,0x65,0x74])](_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x97d266(){let _0x2de4c6,_0x49e1c5=null,_0x2d06d5=null;try{if(_0x173172==_0xec3fa3([0x47,0x50,0x4c]))return _0xec3fa3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2de4c6=_0x2dbe13(),!_0x2de4c6)return _0xec3fa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2de4c6[_0xec3fa3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d06d5=_0x756480(_0x2de4c6[_0xec3fa3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2de4c6[_0xec3fa3([0x6a,0x74,0x69])])),await _0x3a2307()?_0x329eaf()?_0x48cb72()?_0xec3fa3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46b682()?(_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xec3fa3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49e1c5=_0x5a24bc(_0xec3fa3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xec3fa3([0x74,0x72,0x69,0x61,0x6c])&&(_0x49e1c5=_0x5a24bc(_0xec3fa3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5233da()):_0xec3fa3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xec3fa3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xec3fa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xec3fa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48cb72(){const _0x5b3aec=[_0xec3fa3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xec3fa3([0x74,0x72,0x69,0x61,0x6c])][_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16e721/0x3e8:0xe10*_0xcef18f;return _0x2de4c6[_0xec3fa3([0x65,0x78,0x70])]<_0x5b3aec;}function _0x329eaf(){const _0x396625=_0x2de4c6[_0xec3fa3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x396625&&(!!_0x396625[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec3fa3([0x2a]))||!!_0x396625[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec3fa3([0x46,0x4f,0x4f])));}function _0x46b682(){const _0x3f8b2c=_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f8b2c||0x0==_0x3f8b2c[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fbc2a}=new URL(window[_0xec3fa3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f8b2c[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbc2a))return!0x0;const _0x461ffc=_0x2fbc2a[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e]));return _0x3f8b2c[_0xec3fa3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54a60d=>_0x54a60d[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec3fa3([0x2a])))[_0xec3fa3([0x6d,0x61,0x70])](_0x3829d7=>_0x3829d7[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e])))[_0xec3fa3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f2b05=>_0x1f2b05[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x461ffc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xec3fa3([0x6d,0x61,0x70])](_0xd77d4b=>Array(_0x461ffc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd77d4b[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xec3fa3([0x66,0x69,0x6c,0x6c])](_0xd77d4b[0x0]===_0xec3fa3([0x2a])?_0xec3fa3([0x2a]):'')[_0xec3fa3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd77d4b))[_0xec3fa3([0x73,0x6f,0x6d,0x65])](_0x4fc27c=>_0x461ffc[_0xec3fa3([0x65,0x76,0x65,0x72,0x79])]((_0x25ab07,_0x23c7a7)=>_0x4fc27c[_0x23c7a7]===_0x25ab07||_0x4fc27c[_0x23c7a7]===_0xec3fa3([0x2a])));}function _0x5233da(){return _0x49e1c5&&_0x2d06d5?new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c10d9,_0x51e21d)=>{_0x49e1c5[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x5c10d9,_0x51e21d),_0x2d06d5[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x5532aa=>{_0x5532aa!=_0xec3fa3([0x56,0x61,0x6c,0x69,0x64])&&_0x5c10d9(_0x5532aa);},_0x51e21d);}):_0x49e1c5||_0x2d06d5||_0xec3fa3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x756480(_0x280e70,_0x2a50e4){return new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591595=>{if(_0x9e1c92())return _0x591595(_0xec3fa3([0x56,0x61,0x6c,0x69,0x64]));_0x5f349b(),_0x2e5d0f[_0xec3fa3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xec3fa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x95c4b0=!0x1;const _0x1b2cf3=_0x20db9b();function _0x5b790e(_0x35ff4e){return!!_0x35ff4e&&(typeof _0x35ff4e===_0xec3fa3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35ff4e===_0xec3fa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35ff4e[_0xec3fa3([0x74,0x68,0x65,0x6e])]===_0xec3fa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35ff4e[_0xec3fa3([0x63,0x61,0x74,0x63,0x68])]===_0xec3fa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4317b6(_0x3b8b37){_0x40003b(_0x3b8b37)[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x58887b=>{if(!_0x58887b||_0x58887b[_0xec3fa3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xec3fa3([0x6f,0x6b]))return _0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38001d(_0x2fbb9d(_0x1b2cf3+_0x2a50e4))!=_0x58887b[_0xec3fa3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xec3fa3([0x56,0x61,0x6c,0x69,0x64]);})[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x25e46e=>(_0x5088ba(),_0x25e46e),()=>{const _0x1979f8=_0x1d665c();return null==_0x1979f8?(_0x5088ba(),_0xec3fa3([0x56,0x61,0x6c,0x69,0x64])):_0xec3fa3(_0x16e721-_0x1979f8>(0x63ae0106^_0x5780c8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x591595)[_0xec3fa3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x591595(_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a41bf=0x47946b86^_0x5780c8;function _0x5088ba(){const _0x419fea=_0xec3fa3([0x6c,0x6c,0x63,0x74,0x2d])+_0x38001d(_0x2fbb9d(_0x280e70)),_0x38bbb6=_0x498fa2(_0x38001d(window[_0xec3fa3([0x4d,0x61,0x74,0x68])][_0xec3fa3([0x63,0x65,0x69,0x6c])](_0x16e721/_0x2a41bf)));window[_0xec3fa3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xec3fa3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x419fea,_0x38bbb6);}function _0x1d665c(){const _0x1185d7=_0xec3fa3([0x6c,0x6c,0x63,0x74,0x2d])+_0x38001d(_0x2fbb9d(_0x280e70)),_0x82b384=window[_0xec3fa3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xec3fa3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1185d7);return _0x82b384?window[_0xec3fa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x498fa2(_0x82b384),0x10)*_0x2a41bf:null;}function _0x40003b(_0x294cec){return new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe13104,_0x502f0c)=>{_0x294cec[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0xe13104,_0x502f0c),window[_0xec3fa3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x502f0c,0x47a351c6^_0x5780c8);});}}_0x2e5d0f[_0xec3fa3([0x6f,0x6e])](_0xec3fa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xce6b65,_0x1efb9a)=>{if(_0x1efb9a[0x0]!=_0x280e70)return _0x591595(_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1efb9a[0x1]={..._0x1efb9a[0x1],[_0xec3fa3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b2cf3};},{[_0xec3fa3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xec3fa3([0x68,0x69,0x67,0x68])}),_0x2e5d0f[_0xec3fa3([0x6f,0x6e])](_0xec3fa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36ed41=>{_0x5b790e(_0x36ed41[_0xec3fa3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x95c4b0=!0x0,_0x4317b6(_0x36ed41[_0xec3fa3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xec3fa3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xec3fa3([0x6c,0x6f,0x77])}),_0x5a8180[_0xec3fa3([0x74,0x68,0x65,0x6e])](()=>{_0x95c4b0||_0x591595(_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9e1c92(){return _0x2e5d0f[_0xec3fa3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xec3fa3([0x76,0x69,0x65,0x77])][_0xec3fa3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xec3fa3([0x61,0x75,0x74,0x6f]);}function _0x5f349b(){_0x2e5d0f[_0xec3fa3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xec3fa3([0x76,0x69,0x65,0x77])][_0xec3fa3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xec3fa3([0x61,0x75,0x74,0x6f]);}}function _0x5a24bc(_0xac373a){const _0x2dd0a8=[new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30694e=>setTimeout(_0x30694e,0x47abbbca^_0x5780c8)),_0x5a8180[_0xec3fa3([0x74,0x68,0x65,0x6e])](()=>new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x236e70=>{let _0x1fedc2=0x0;_0x2e5d0f[_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c])][_0xec3fa3([0x6f,0x6e])](_0xec3fa3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33ef79,_0x3a3512)=>{_0x3a3512[0x0][_0xec3fa3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fedc2++,_0x1fedc2==(0x47a284fe^_0x5780c8)&&(_0x236e70(),_0x33ef79[_0xec3fa3([0x6f,0x66,0x66])]());});}))];return window[_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xec3fa3([0x72,0x61,0x63,0x65])](_0x2dd0a8)[_0xec3fa3([0x74,0x68,0x65,0x6e])](()=>_0xac373a);}async function _0x130676(){await _0x5a8180,_0x2e5d0f[_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c])][_0xec3fa3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x290253,_0x2e5d0f[_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c])][_0xec3fa3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x290253,_0x2e5d0f[_0xec3fa3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1eabc7(_0x2130a7){const _0x46a49c=_0x13baff();_0x2e5d0f[_0x46a49c]=_0xec3fa3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2130a7,_0x2130a7!=_0xec3fa3([0x56,0x61,0x6c,0x69,0x64])&&_0x130676();}function _0x13baff(){const _0x5cca3f=window[_0xec3fa3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xec3fa3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xec3fa3([0x6e,0x6f,0x77])]())[_0xec3fa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xec3fa3([0x2e]),'');let _0x344e09=_0xec3fa3([0x75]);for(let _0xcb40c8=0x0;_0xcb40c8<_0x5cca3f[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcb40c8+=0x2){let _0x1bbe0d=window[_0xec3fa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cca3f[_0xec3fa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcb40c8,_0xcb40c8+0x2));_0x1bbe0d>=_0x29ddf[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bbe0d-=_0x29ddf[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x344e09+=_0x29ddf[_0x1bbe0d];}return _0x344e09;}function _0x2dbe13(){const _0x3b1a46=_0x173172[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e]));if(0x3!=_0x3b1a46[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b644e(_0x3b1a46[0x1]);function _0x1b644e(_0x5a1d0c){const _0x3f7997=_0x1cd60a(_0x5a1d0c);return _0x3f7997&&_0x3f61fc()?_0x3f7997:null;function _0x3f61fc(){const _0x5508bc=_0x3f7997[_0xec3fa3([0x6a,0x74,0x69])],_0x3095a8=window[_0xec3fa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5508bc[_0xec3fa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5508bc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f87a2={..._0x3f7997,[_0xec3fa3([0x6a,0x74,0x69])]:_0x5508bc[_0xec3fa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5508bc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f87a2[_0xec3fa3([0x76,0x63])],_0x2fbb9d(_0x2f87a2)==_0x3095a8;}}}async function _0x3a2307(){let _0x2e8570=!0x0;try{const _0x107f86=_0x173172[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e])),[_0x740836,_0x452643,_0x4ba37d]=_0x107f86;return _0x41615b(_0x740836),await _0x4632ba(_0x740836,_0x452643,_0x4ba37d),_0x2e8570;}catch{return!0x1;}function _0x41615b(_0x5bce93){const _0x4c1d29=_0x1cd60a(_0x5bce93);_0x4c1d29&&_0x4c1d29[_0xec3fa3([0x61,0x6c,0x67])]==_0xec3fa3([0x45,0x53,0x32,0x35,0x36])||(_0x2e8570=!0x1);}async function _0x4632ba(_0x18fbf7,_0x19f15a,_0x15bbaa){const _0x81c5d9=window[_0xec3fa3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xec3fa3([0x66,0x72,0x6f,0x6d])](_0x4857ff(_0x15bbaa),_0x5804d7=>_0x5804d7[_0xec3fa3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11eb1d=new window[(_0xec3fa3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xec3fa3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18fbf7+_0xec3fa3([0x2e])+_0x19f15a),_0x4d7680=window[_0xec3fa3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xec3fa3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d7680)return;const _0x5457a5=await _0x4d7680[_0xec3fa3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xec3fa3([0x6a,0x77,0x6b]),_0x541e2d,{[_0xec3fa3([0x6e,0x61,0x6d,0x65])]:_0xec3fa3([0x45,0x43,0x44,0x53,0x41]),[_0xec3fa3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xec3fa3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xec3fa3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d7680[_0xec3fa3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xec3fa3([0x6e,0x61,0x6d,0x65])]:_0xec3fa3([0x45,0x43,0x44,0x53,0x41]),[_0xec3fa3([0x68,0x61,0x73,0x68])]:{[_0xec3fa3([0x6e,0x61,0x6d,0x65])]:_0xec3fa3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5457a5,_0x81c5d9,_0x11eb1d)||(_0x2e8570=!0x1);}}function _0x1cd60a(_0x35ab02){return _0x35ab02[_0xec3fa3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xec3fa3([0x65,0x79]))?JSON[_0xec3fa3([0x70,0x61,0x72,0x73,0x65])](_0x4857ff(_0x35ab02)):null;}function _0x4857ff(_0x25bdc4){return window[_0xec3fa3([0x61,0x74,0x6f,0x62])](_0x25bdc4[_0xec3fa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xec3fa3([0x2b]))[_0xec3fa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xec3fa3([0x2f])));}function _0x2fbb9d(_0x45a32d){let _0x19f795=0x1505;function _0x16ef62(_0x5c45c1){for(let _0x58c1f=0x0;_0x58c1f<_0x5c45c1[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58c1f++){const _0x580f21=_0x5c45c1[_0xec3fa3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58c1f);_0x19f795=(_0x19f795<<0x5)+_0x19f795+_0x580f21,_0x19f795&=_0x19f795;}}function _0x403f8c(_0x254402){Array[_0xec3fa3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x254402)?_0x254402[_0xec3fa3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x403f8c):_0x254402&&typeof _0x254402==_0xec3fa3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xec3fa3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x254402)[_0xec3fa3([0x73,0x6f,0x72,0x74])]()[_0xec3fa3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fbbd5,_0x3610a1])=>{_0x16ef62(_0x2fbbd5),_0x403f8c(_0x3610a1);}):_0x16ef62(window[_0xec3fa3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x254402));}return _0x403f8c(_0x45a32d),_0x19f795>>>0x0;}function _0x38001d(_0x8a596d){return _0x8a596d[_0xec3fa3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xec3fa3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xec3fa3([0x30]));}function _0x498fa2(_0x2d69b2){return _0x2d69b2[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])]('')[_0xec3fa3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xec3fa3([0x6a,0x6f,0x69,0x6e])]('');}function _0x290253(){}function _0xec3fa3(_0x45b4b5){return _0x45b4b5['map'](_0x11fe0e=>String['fromCharCode'](_0x11fe0e))['join']('');}_0x1eabc7(await _0x97d266());}(this);}['_moveSelectionToFootnoteDefinition'](_0xcfcff6){const {plugins:_0x3febfd,editing:_0x53c0a6,model:_0x354a9e}=this['editor'],_0x5e8afc=_0x3febfd['get'](_0x5ce8d9)['getFootnote'](_0xcfcff6);return!!_0x5e8afc&&(_0x354a9e['change'](_0x18d553=>{_0x18d553['setSelection'](_0x18d553['createPositionAt'](_0x5e8afc['definition'],'end'));}),_0x53c0a6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x53e64a){const {plugins:_0x4a3b52,editing:_0x9ef6dd,model:_0x2472c9}=this['editor'],_0x29a90c=_0x4a3b52['get'](_0x5ce8d9)['getFootnote'](_0x53e64a);return!!_0x29a90c&&(_0x2472c9['change'](_0x4dd944=>{_0x4dd944['setSelection'](_0x29a90c['reference'],'on');}),_0x9ef6dd['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x43714f}=this['editor']['model'],_0x4d3118=this['editor']['config']['get']('footnotes.multiBlock');_0x43714f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x43714f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x43714f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d3118?_0x43714f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x43714f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x43714f['addChildCheck'](_0xea7f3f=>{for(const _0x5b47e0 of _0xea7f3f)if('footnoteDefinition'===_0x5b47e0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x889749}=this,{conversion:_0x232070,editing:_0x7e9365}=_0x889749,{t:t}=_0x889749['locale'];_0x232070['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1f0628,{writer:_0x3ca6cc,consumable:_0x59c9b5})=>{const _0x2802bc=_0x1f0628['getChild'](0x0);if(!_0x2802bc||!_0x2802bc['is']('element','a'))return null;const _0x3847e2=_0x2802bc['getAttribute']('href')||'';if(!_0x3847e2['startsWith']('#'))return null;const _0x1d5ff9=_0x3847e2['replace'](/^#/,'');if(!_0x1d5ff9)return null;_0x59c9b5['consume'](_0x2802bc,{'name':!0x0,'attributes':['href']});for(const {item:_0x5695f6}of _0x7e9365['view']['createRangeIn'](_0x2802bc))_0x5695f6['is']('$textProxy')?_0x59c9b5['consume'](_0x5695f6['textNode'],{'name':!0x0}):_0x5695f6['is']('element')&&_0x59c9b5['consume'](_0x5695f6,{'name':!0x0});return _0x3ca6cc['createElement']('footnoteRef',{'footnoteId':_0x1d5ff9});}}),_0x232070['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x229188,{writer:_0x46e8ff})=>D(_0x229188,_0x46e8ff)}),_0x232070['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x27d1d1,{writer:_0x556c5a})=>{const _0x299f4b=_0x27d1d1['getAttribute']('footnoteCounter');return _0x1f0949(D(_0x27d1d1,_0x556c5a),_0x556c5a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x299f4b)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4acd33}=this,{t:t}=_0x4acd33['locale'],{conversion:_0x3b9f82}=_0x4acd33;_0x3b9f82['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3b9f82['for']('upcast')['add'](_0x533f2f=>{_0x533f2f['on']('element:ol',(_0x35ac9e,_0xa0eea5,_0x182f62)=>{const _0x1492fa=_0xa0eea5['viewItem'];if(!_0x1492fa['hasClass']('footnotes-list')||!_0xa0eea5['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x182f62['consumable']['consume'](_0x1492fa,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3e285a,modelCursor:_0x47b3de}=_0x182f62['convertChildren'](_0xa0eea5['viewItem'],_0xa0eea5['modelCursor']);_0xa0eea5['modelRange']=_0x3e285a,_0xa0eea5['modelCursor']=_0x47b3de;}),_0x533f2f['on']('element:hr',(_0x1b0b76,_0x565f53,_0x180401)=>{const _0x42e09f=_0x565f53['viewItem'];_0x42e09f['hasClass']('footnotes-divider')&&_0x565f53['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x180401['consumable']['consume'](_0x42e09f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3b9f82['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e091a,{writer:_0x50f84c})=>g(_0x50f84c)}),_0x3b9f82['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x310fbc,{writer:_0x5dab4})=>{const _0x3b2fab=g(_0x5dab4,{'data-footnotes-list-label':t('Footnotes')}),_0xa5fc94=_0x1f0949(_0x3b2fab,_0x5dab4,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5dab4['setCustomProperty']('footnotesDefinitions',!0x0,_0xa5fc94),_0xa5fc94;}});}['_defineDefinitionConverters'](){const {editor:_0xd5adfe}=this,{conversion:_0x39b1e5,locale:_0x15655e}=_0xd5adfe,_0x5664a2=_0xd5adfe['config']['get']('footnotes.multiBlock');_0x39b1e5['for']('upcast')['add'](_0x1b37a9=>{_0x1b37a9['on']('element:li',(_0x1cda48,_0x123b99,_0x5cd47d)=>{const _0x4e72ad=_0x123b99['viewItem'];if(!_0x4e72ad['hasClass']('footnote-definition')||!_0x4e72ad['getAttribute']('id'))return;const _0x102045=_0x4e72ad['parent'];if(!_0x102045['is']('element','ol')||!_0x102045['hasClass']('footnotes-list'))return;if(!_0x5cd47d['consumable']['test'](_0x4e72ad,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d4102=_0x5cd47d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4e72ad['getAttribute']('id')});if(!_0x5cd47d['safeInsert'](_0x3d4102,_0x123b99['modelCursor']))return;_0x5cd47d['consumable']['consume'](_0x4e72ad,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4dba03=Array['from'](_0x4e72ad['getChildren']())['find'](_0x5a3d29=>_0x5a3d29['is']('element')&&_0x5a3d29['hasClass']('footnote-content'));for(const _0x143f88 of _0x4e72ad['getChildren']())_0x143f88['is']('element')&&(_0x5cd47d['consumable']['consume'](_0x143f88,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5cd47d['consumable']['consume'](_0x143f88,{'name':!0x0,'classes':'footnote-content'}));if(_0x4dba03){if(_0x5664a2)_0x5cd47d['convertChildren'](_0x4dba03,_0x3d4102);else{const _0x48ca97=_0x5cd47d['writer']['createElement']('footnoteInlineContent');_0x5cd47d['writer']['insert'](_0x48ca97,_0x3d4102),_0x5cd47d['convertChildren'](_0x4dba03,_0x48ca97);}}_0x5cd47d['updateConversionResult'](_0x3d4102,_0x123b99);});}),_0x39b1e5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3149d4,{writer:_0x4c1620})=>v(_0x3149d4,_0x4c1620,_0x15655e,{'dataPipeline':!0x0})}),_0x39b1e5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x33ea4a,{writer:_0x2e67d9})=>v(_0x33ea4a,_0x2e67d9,_0x15655e)});}['_defineBogusParagraphConverters'](){const {editor:_0x19257d}=this,{conversion:_0x31fba2}=_0x19257d;_0x19257d['config']['get']('footnotes.multiBlock')?(_0x31fba2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x31fba2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19257d['model']['document'],'change:data',()=>{!function(_0x4e44c8,_0xe7b162){const _0x8d9cc4=_0x4e44c8['document']['differ'],_0x149775=new Set();for(const _0x4312ed of _0x8d9cc4['getChanges']()){const _0x5cf403='attribute'==_0x4312ed['type']?_0x4312ed['range']['start']['parent']:_0x4312ed['position']['parent'];_0x5cf403['is']('element','footnoteDefinition')&&_0x149775['add'](_0x5cf403);}for(const _0x2a094c of _0x149775['values']()){const _0x525f68=Array['from'](_0x2a094c['getChildren']())['filter'](_0x1a76bf=>p(_0x1a76bf,_0xe7b162['mapper']));for(const _0x28477f of _0x525f68)_0xe7b162['reconvertItem'](_0x28477f);}}(_0x19257d['model'],_0x19257d['editing']);})):(_0x31fba2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x31fba2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3655b3,{writer:_0x17ae48})=>{const _0x878486=_0x17ae48['createContainerElement']('span');return _0x17ae48['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x878486),_0x878486;}}));}['_defineKeyboardHandlers'](){const {editor:_0x358daf}=this,{editing:_0x3797de,t:t}=_0x358daf,_0x30a617=_0x358daf['model']['document']['selection'];_0x358daf['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x358daf['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x3797de['view']['document'],'enter',(_0x43b8b5,_0x3539d1)=>{const _0x2540c7=function(_0x40c5a9){const _0x295968=_0x40c5a9['getSelectedElement']();if(_0x295968?.['is']('element','footnoteRef'))return _0x295968;return null;}(_0x30a617);if(_0x2540c7){const _0x1a5c45=_0x2540c7['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1a5c45),_0x3539d1['preventDefault'](),_0x43b8b5['stop']();}},{'context':_0x45e7ca});}['_defineClickHandlers'](){const {editor:_0x2b2ef8}=this,{editing:_0x445dd3}=_0x2b2ef8;_0x2b2ef8['editing']['view']['addObserver'](_0x3139b1),_0x2b2ef8['editing']['view']['addObserver'](_0x129df2);let _0x6d0e55=!0x1;this['listenTo'](_0x445dd3['view']['document'],'pointerdown',(_0x5d9f25,_0x1bc9a4)=>{const {target:_0x3e0f37}=_0x1bc9a4,_0x2c3c47=_0x445dd3['view']['document']['selection'];_0x6d0e55=!(!_0x3e0f37['is']('element','sup')||!_0x3e0f37['hasClass']('footnote'))&&_0x2c3c47['getSelectedElement']()===_0x3e0f37;},{'priority':'high'}),this['listenTo'](_0x445dd3['view']['document'],'click',(_0x2a8354,_0x46ab8c)=>{const {target:_0x373b54}=_0x46ab8c,_0x124a94=_0x373b54['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x124a94['slice'](0x1)),_0x2a8354['stop'](),_0x46ab8c['preventDefault']();},{'priority':'high','context':_0x4ee784=>_0x4ee784['is']('element','sup')&&_0x4ee784['hasClass']('footnote')&&_0x6d0e55}),this['listenTo'](_0x445dd3['view']['document'],'click',(_0x6c310a,_0x5c199c)=>{const {target:_0x5d5efa}=_0x5c199c;if(!_0x5d5efa['is']('element','a'))return;let _0x3bf33d=_0x5d5efa['getAttribute']('href');if(!_0x3bf33d?.['startsWith']('#'))return;_0x3bf33d=_0x3bf33d['slice'](0x1);let _0x24efc6=!0x1;(_0x3bf33d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3bf33d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3bf33d))&&(_0x24efc6=!0x0),_0x24efc6&&(_0x5c199c['preventDefault'](),_0x6c310a['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x13fb77}={}){return(_0x4b2f45,{writer:_0xb68572})=>{if(!h(_0x4b2f45))return null;if(!_0x13fb77)return _0xb68572['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5cd54c=_0xb68572['createContainerElement']('p');return _0xb68572['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5cd54c),_0x5cd54c;};}function h(_0x4d9d42){const {parent:_0x499aed}=_0x4d9d42;if(!_0x499aed?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x499aed['childCount'])return!0x1;for(const _0x34dc23 of _0x4d9d42['getAttributeKeys']())if(!_0x34dc23['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x34dc23)return!0x1;return!0x0;}function p(_0x501ea3,_0x15a793){if(!_0x501ea3['is']('element','paragraph'))return!0x1;const _0x31a12c=_0x15a793['toViewElement'](_0x501ea3);return!!_0x31a12c&&h(_0x501ea3)!==_0x31a12c['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x434591){return _0x45e7ca(_0x434591)&&_0x434591['is']('containerElement')&&!!_0x434591['getCustomProperty']('footnotesDefinitions');}function g(_0x1988f3,_0x2b3781={}){const _0x1296a0=_0x1988f3['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x46e444=_0x1988f3['createContainerElement']('ol',{'class':'footnotes-list'},_0x1988f3['createSlot']());return _0x1988f3['createContainerElement']('div',{'class':'footnotes',..._0x2b3781},[_0x1296a0,_0x46e444]);}function D(_0x187933,_0x36ebd1){const _0x5d6df3=_0x187933['getAttribute']('footnoteId'),_0x5d6e9b=_0x187933['getAttribute']('footnoteCounter'),_0x3bd2f3=_0x36ebd1['createUIElement']('a',{'href':'#'+_0x5d6df3},function(_0x12c736){const _0x8d5b8c=this['toDomElement'](_0x12c736);return _0x8d5b8c['textContent']=_0x5d6e9b,_0x8d5b8c;}),_0x4f0dc1=_0x36ebd1['createContainerElement']('sup',{'id':'ref-'+_0x5d6df3,'class':'footnote'},[_0x3bd2f3]);return _0x4f0dc1['getFillerOffset']=()=>null,_0x4f0dc1;}function v(_0x56a759,_0x6898f8,_0x5abe45,{dataPipeline:_0x66d810}={}){const {t:t}=_0x5abe45,_0x5758d5=_0x56a759['getAttribute']('footnoteId'),_0x12f6d0=_0x6898f8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5758d5},function(_0x39c13a){const _0x1b720d=this['toDomElement'](_0x39c13a);return _0x1b720d['innerText']='^',_0x1b720d;}),_0x5223c8=_0x66d810?_0x6898f8['createContainerElement']('div',{'class':'footnote-content'}):_0x5cfdc7(_0x6898f8['createEditableElement']('div',{'class':'footnote-content'}),_0x6898f8,{'label':t('Footnote\x20content.')});return _0x6898f8['insert'](_0x6898f8['createPositionAt'](_0x5223c8,0x0),_0x6898f8['createSlot']()),_0x6898f8['createContainerElement']('li',{'class':'footnote-definition','id':_0x5758d5},[_0x12f6d0,_0x5223c8]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39de25=_0xec9c;(function(_0x17b0f2,_0xfa0364){const _0x4d2c67=_0xec9c,_0x536dae=_0x17b0f2();while(!![]){try{const _0x1fef3f=parseInt(_0x4d2c67(0x168))/0x1*(parseInt(_0x4d2c67(0x15c))/0x2)+-parseInt(_0x4d2c67(0x165))/0x3*(parseInt(_0x4d2c67(0x15e))/0x4)+-parseInt(_0x4d2c67(0x163))/0x5*(parseInt(_0x4d2c67(0x15a))/0x6)+parseInt(_0x4d2c67(0x15f))/0x7+parseInt(_0x4d2c67(0x154))/0x8+parseInt(_0x4d2c67(0x161))/0x9*(-parseInt(_0x4d2c67(0x15b))/0xa)+parseInt(_0x4d2c67(0x157))/0xb*(-parseInt(_0x4d2c67(0x162))/0xc);if(_0x1fef3f===_0xfa0364)break;else _0x536dae['push'](_0x536dae['shift']());}catch(_0x4405f9){_0x536dae['push'](_0x536dae['shift']());}}}(_0x1b4c,0xdbe0d));function _0xec9c(_0x67319b,_0x5394e9){const _0x1b4c8b=_0x1b4c();return _0xec9c=function(_0xec9cb5,_0x242861){_0xec9cb5=_0xec9cb5-0x150;let _0x16c9fe=_0x1b4c8b[_0xec9cb5];return _0x16c9fe;},_0xec9c(_0x67319b,_0x5394e9);}function _0x1b4c(){const _0x46a206=['get','isInteger','_updateFootnotesCounters','isEnabled','6026032IgJBFZ','setAttribute','refresh','1606bqOaBR','value','change','246dLpmJV','50RkIbiF','3406276MDbMTO','execute','363724nYDACN','460495QRncDG','footnotesListStart','1484523kGioDw','2328PCgMzW','82630MxMYwt','plugins','3MQoesw','getFootnotesDefinitionsObjectElement','getAttribute','1GAclGP','model'];_0x1b4c=function(){return _0x46a206;};return _0x1b4c();}import{Command as _0x3e3d97}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x464935}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x3e3d97{[_0x39de25(0x156)](){const _0x37ed3f=_0x39de25,{editor:_0x9d0b0}=this,_0x411e06=_0x9d0b0[_0x37ed3f(0x164)][_0x37ed3f(0x150)](_0x464935)[_0x37ed3f(0x166)]();this[_0x37ed3f(0x153)]=!!_0x411e06,this[_0x37ed3f(0x158)]=_0x411e06?.[_0x37ed3f(0x167)](_0x37ed3f(0x160))??null;}[_0x39de25(0x15d)]({value:_0x17fba6}){const _0x33921a=_0x39de25,{editor:_0xaf3f36}=this,_0x18c73e=_0xaf3f36[_0x33921a(0x164)][_0x33921a(0x150)](_0x464935),_0x1a8225=_0x18c73e[_0x33921a(0x166)]();_0x1a8225&&Number[_0x33921a(0x151)](_0x17fba6)&&_0xaf3f36[_0x33921a(0x169)][_0x33921a(0x159)](_0x525ccf=>{const _0x575c8a=_0x33921a;_0x525ccf[_0x575c8a(0x155)](_0x575c8a(0x160),_0x17fba6,_0x1a8225),_0x18c73e[_0x575c8a(0x152)](_0x525ccf);});}}
23
+ const _0x4cedb9=_0x461f;(function(_0x571010,_0x15bca7){const _0x558275=_0x461f,_0x2aa2cb=_0x571010();while(!![]){try{const _0x36be29=parseInt(_0x558275(0x1d2))/0x1*(parseInt(_0x558275(0x1dc))/0x2)+-parseInt(_0x558275(0x1e1))/0x3*(-parseInt(_0x558275(0x1e3))/0x4)+parseInt(_0x558275(0x1df))/0x5+parseInt(_0x558275(0x1d6))/0x6+parseInt(_0x558275(0x1cf))/0x7*(parseInt(_0x558275(0x1cd))/0x8)+parseInt(_0x558275(0x1cb))/0x9*(-parseInt(_0x558275(0x1d1))/0xa)+-parseInt(_0x558275(0x1ce))/0xb;if(_0x36be29===_0x15bca7)break;else _0x2aa2cb['push'](_0x2aa2cb['shift']());}catch(_0x4d7d10){_0x2aa2cb['push'](_0x2aa2cb['shift']());}}}(_0xdf9c,0xed259));function _0x461f(_0x1dfd2d,_0x295afc){const _0xdf9ce7=_0xdf9c();return _0x461f=function(_0x461f6d,_0xc31959){_0x461f6d=_0x461f6d-0x1cb;let _0x1d9b4e=_0xdf9ce7[_0x461f6d];return _0x1d9b4e;},_0x461f(_0x1dfd2d,_0x295afc);}import{Command as _0x48d564}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3c2faf}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x48d564{[_0x4cedb9(0x1d5)](){const _0x41bb44=_0x4cedb9,{editor:_0x345bc0}=this,_0x4ae1ac=_0x345bc0[_0x41bb44(0x1d3)][_0x41bb44(0x1cc)](_0x3c2faf)[_0x41bb44(0x1d9)]();this[_0x41bb44(0x1d4)]=!!_0x4ae1ac,this[_0x41bb44(0x1db)]=_0x4ae1ac?.[_0x41bb44(0x1d7)](_0x41bb44(0x1dd))??null;}[_0x4cedb9(0x1de)]({value:_0x5adaf1}){const _0x3d8f20=_0x4cedb9,{editor:_0xbab48}=this,_0x46f64e=_0xbab48[_0x3d8f20(0x1d3)][_0x3d8f20(0x1cc)](_0x3c2faf),_0x2f33ac=_0x46f64e[_0x3d8f20(0x1d9)]();_0x2f33ac&&Number[_0x3d8f20(0x1e2)](_0x5adaf1)&&_0xbab48[_0x3d8f20(0x1da)][_0x3d8f20(0x1e0)](_0x4a52d1=>{const _0xc93243=_0x3d8f20;_0x4a52d1[_0xc93243(0x1d0)](_0xc93243(0x1dd),_0x5adaf1,_0x2f33ac),_0x46f64e[_0xc93243(0x1d8)](_0x4a52d1);});}}function _0xdf9c(){const _0x227c57=['10924422LnTavK','getAttribute','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','model','value','158yTfDOp','footnotesListStart','execute','5051620pkamkV','change','3oxXFzE','isInteger','1878944geywqn','109593rlBqgY','get','3890448tQUWcE','39134293QebjwF','7udltav','setAttribute','50CuTkPm','10162pPTMnp','plugins','isEnabled','refresh'];_0xdf9c=function(){return _0x227c57;};return _0xdf9c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b89ca=_0x4c08;function _0x4c08(_0x5111de,_0x3a9905){const _0x52ffb8=_0x52ff();return _0x4c08=function(_0x4c0827,_0x18e9e1){_0x4c0827=_0x4c0827-0x19e;let _0x13265f=_0x52ffb8[_0x4c0827];return _0x13265f;},_0x4c08(_0x5111de,_0x3a9905);}(function(_0x18d2e4,_0xa5fb41){const _0x1c8471=_0x4c08,_0x1658fb=_0x18d2e4();while(!![]){try{const _0x1e3fed=-parseInt(_0x1c8471(0x1a1))/0x1*(parseInt(_0x1c8471(0x1a0))/0x2)+parseInt(_0x1c8471(0x1a9))/0x3+parseInt(_0x1c8471(0x1a4))/0x4+-parseInt(_0x1c8471(0x1ac))/0x5*(-parseInt(_0x1c8471(0x1ae))/0x6)+-parseInt(_0x1c8471(0x1b6))/0x7*(-parseInt(_0x1c8471(0x1b1))/0x8)+parseInt(_0x1c8471(0x19e))/0x9*(parseInt(_0x1c8471(0x1a2))/0xa)+-parseInt(_0x1c8471(0x1a6))/0xb*(parseInt(_0x1c8471(0x1b4))/0xc);if(_0x1e3fed===_0xa5fb41)break;else _0x1658fb['push'](_0x1658fb['shift']());}catch(_0x5eff44){_0x1658fb['push'](_0x1658fb['shift']());}}}(_0x52ff,0xac383));import{Command as _0x26fccb}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x35728e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0xe06143}from'../../footnotestracker.js';function _0x52ff(){const _0x5e16c4=['getAttribute','75665EkJjcA','getFootnotesDefinitionsObjectElement','276ruNTbk','get','setAttribute','80sisvHB','footnotesListStyle','execute','223596gJbfKG','change','738227osDljP','value','2970rDvOrc','includes','98354cCQsBj','11bYMpWp','25320cLiuui','isEnabled','1260716XItCQn','_updateFootnotesCounters','1683gNYdox','model','plugins','3587220TRzrxS','refresh'];_0x52ff=function(){return _0x5e16c4;};return _0x52ff();}export class FootnotesStyleCommand extends _0x26fccb{[_0x1b89ca(0x1aa)](){const _0x333991=_0x1b89ca,{editor:_0x1aed60}=this,_0x31c4f9=_0x1aed60[_0x333991(0x1a8)][_0x333991(0x1af)](_0xe06143)[_0x333991(0x1ad)]();this[_0x333991(0x1a3)]=!!_0x31c4f9,this[_0x333991(0x1b7)]=_0x31c4f9?.[_0x333991(0x1ab)](_0x333991(0x1b2))??null;}[_0x1b89ca(0x1b3)]({value:_0x4b49b9}){const _0x1295a7=_0x1b89ca,{editor:_0x58a3d9}=this,_0x4d082a=_0x58a3d9[_0x1295a7(0x1a8)][_0x1295a7(0x1af)](_0xe06143),_0x264898=_0x4d082a[_0x1295a7(0x1ad)]();_0x264898&&_0x35728e[_0x1295a7(0x19f)](_0x4b49b9)&&_0x58a3d9[_0x1295a7(0x1a7)][_0x1295a7(0x1b5)](_0xd82ca7=>{const _0x328965=_0x1295a7;_0xd82ca7[_0x328965(0x1b0)](_0x328965(0x1b2),_0x4b49b9,_0x264898),_0x4d082a[_0x328965(0x1a5)](_0xd82ca7);});}}
23
+ function _0x377a(){const _0xea3615=['includes','getAttribute','4582370GpFWRN','refresh','isEnabled','3eXpmFY','_updateFootnotesCounters','value','1515150mhYIzU','plugins','1270352gyUwQc','35055180VTfbEP','change','7MSwbHB','model','493366sXuwFc','footnotesListStyle','execute','get','getFootnotesDefinitionsObjectElement','6200616lhEOOw','setAttribute','14208432xZiaFR'];_0x377a=function(){return _0xea3615;};return _0x377a();}function _0x2fae(_0x366f2c,_0x4b5769){const _0x377a12=_0x377a();return _0x2fae=function(_0x2fae4f,_0x1a1b7e){_0x2fae4f=_0x2fae4f-0x1c1;let _0x5719ea=_0x377a12[_0x2fae4f];return _0x5719ea;},_0x2fae(_0x366f2c,_0x4b5769);}const _0x1534fe=_0x2fae;(function(_0x396739,_0x390ee6){const _0x558bb5=_0x2fae,_0x31ff4b=_0x396739();while(!![]){try{const _0x5351ba=parseInt(_0x558bb5(0x1c9))/0x1+-parseInt(_0x558bb5(0x1ce))/0x2*(parseInt(_0x558bb5(0x1c4))/0x3)+-parseInt(_0x558bb5(0x1d3))/0x4+-parseInt(_0x558bb5(0x1c1))/0x5+parseInt(_0x558bb5(0x1c7))/0x6+-parseInt(_0x558bb5(0x1cc))/0x7*(parseInt(_0x558bb5(0x1d5))/0x8)+parseInt(_0x558bb5(0x1ca))/0x9;if(_0x5351ba===_0x390ee6)break;else _0x31ff4b['push'](_0x31ff4b['shift']());}catch(_0x3a2d10){_0x31ff4b['push'](_0x31ff4b['shift']());}}}(_0x377a,0xe2b14));import{Command as _0x210d4c}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x24dfb4}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x5f3d30}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x210d4c{[_0x1534fe(0x1c2)](){const _0x102a25=_0x1534fe,{editor:_0x96f0a2}=this,_0x27be25=_0x96f0a2[_0x102a25(0x1c8)][_0x102a25(0x1d1)](_0x5f3d30)[_0x102a25(0x1d2)]();this[_0x102a25(0x1c3)]=!!_0x27be25,this[_0x102a25(0x1c6)]=_0x27be25?.[_0x102a25(0x1d7)](_0x102a25(0x1cf))??null;}[_0x1534fe(0x1d0)]({value:_0x59a181}){const _0x3522ec=_0x1534fe,{editor:_0x396359}=this,_0x192d22=_0x396359[_0x3522ec(0x1c8)][_0x3522ec(0x1d1)](_0x5f3d30),_0x185784=_0x192d22[_0x3522ec(0x1d2)]();_0x185784&&_0x24dfb4[_0x3522ec(0x1d6)](_0x59a181)&&_0x396359[_0x3522ec(0x1cd)][_0x3522ec(0x1cb)](_0x52ce9c=>{const _0x1652f5=_0x3522ec;_0x52ce9c[_0x1652f5(0x1d4)](_0x1652f5(0x1cf),_0x59a181,_0x185784),_0x192d22[_0x1652f5(0x1c5)](_0x52ce9c);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x57a8(_0x4d8605,_0x199d4d){const _0x4f893c=_0x4f89();return _0x57a8=function(_0x57a8c5,_0x8a0d22){_0x57a8c5=_0x57a8c5-0x174;let _0x393933=_0x4f893c[_0x57a8c5];return _0x393933;},_0x57a8(_0x4d8605,_0x199d4d);}const _0x3151b3=_0x57a8;(function(_0x1c1e8f,_0x593bd1){const _0x3ab7f9=_0x57a8,_0x38990a=_0x1c1e8f();while(!![]){try{const _0x21431b=parseInt(_0x3ab7f9(0x186))/0x1*(-parseInt(_0x3ab7f9(0x183))/0x2)+-parseInt(_0x3ab7f9(0x177))/0x3*(-parseInt(_0x3ab7f9(0x17a))/0x4)+-parseInt(_0x3ab7f9(0x185))/0x5+-parseInt(_0x3ab7f9(0x184))/0x6*(-parseInt(_0x3ab7f9(0x175))/0x7)+-parseInt(_0x3ab7f9(0x17d))/0x8+parseInt(_0x3ab7f9(0x182))/0x9+-parseInt(_0x3ab7f9(0x179))/0xa*(-parseInt(_0x3ab7f9(0x17b))/0xb);if(_0x21431b===_0x593bd1)break;else _0x38990a['push'](_0x38990a['shift']());}catch(_0x1eb5ae){_0x38990a['push'](_0x38990a['shift']());}}}(_0x4f89,0x78fb3));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3151b3(0x176),_0x3151b3(0x17c),_0x3151b3(0x17e),_0x3151b3(0x180),_0x3151b3(0x181),_0x3151b3(0x17f),_0x3151b3(0x174),_0x3151b3(0x178)];function _0x4f89(){const _0x3f0408=['lower-roman','138047NjthIb','decimal','2156523xcGtHo','upper-roman','50gbMIMF','4cRaWlK','1088252FrDZkp','decimal-leading-zero','3930888ERToRm','lower-latin','upper-alpha','upper-latin','lower-alpha','3517200ubtuTY','2zjAIVj','66gpglLI','1397225HULaXm','554887hbpjnr'];_0x4f89=function(){return _0x3f0408;};return _0x4f89();}
23
+ function _0x2202(){const _0x2b7e07=['lower-roman','4782022kqgpiH','9199992CxjPxh','lower-latin','decimal-leading-zero','6254692HRccHh','202716mCkZvn','decimal','lower-alpha','3579000kYyoyx','2wTolsw','upper-roman','392902qfohOo','upper-latin','11193952CutpCz','upper-alpha'];_0x2202=function(){return _0x2b7e07;};return _0x2202();}const _0xc49032=_0x307c;(function(_0x52509b,_0x12efd3){const _0x15acc3=_0x307c,_0x17bb0e=_0x52509b();while(!![]){try{const _0x2cbd0c=-parseInt(_0x15acc3(0x13b))/0x1+parseInt(_0x15acc3(0x139))/0x2*(-parseInt(_0x15acc3(0x135))/0x3)+parseInt(_0x15acc3(0x134))/0x4+-parseInt(_0x15acc3(0x138))/0x5+-parseInt(_0x15acc3(0x141))/0x6+parseInt(_0x15acc3(0x140))/0x7+parseInt(_0x15acc3(0x13d))/0x8;if(_0x2cbd0c===_0x12efd3)break;else _0x17bb0e['push'](_0x17bb0e['shift']());}catch(_0xb05176){_0x17bb0e['push'](_0x17bb0e['shift']());}}}(_0x2202,0xe4a09));function _0x307c(_0xeb5b94,_0x2feef2){const _0x22026a=_0x2202();return _0x307c=function(_0x307c66,_0x1e849f){_0x307c66=_0x307c66-0x132;let _0x2e83a8=_0x22026a[_0x307c66];return _0x2e83a8;},_0x307c(_0xeb5b94,_0x2feef2);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0xc49032(0x136),_0xc49032(0x133),_0xc49032(0x132),_0xc49032(0x13c),_0xc49032(0x137),_0xc49032(0x13e),_0xc49032(0x13f),_0xc49032(0x13a)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x391bbb=_0x2180;(function(_0x1d2e85,_0x22aa4a){const _0x33afca=_0x2180,_0x367552=_0x1d2e85();while(!![]){try{const _0x231d00=-parseInt(_0x33afca(0x200))/0x1*(-parseInt(_0x33afca(0x1b7))/0x2)+parseInt(_0x33afca(0x1c8))/0x3+parseInt(_0x33afca(0x1fa))/0x4*(parseInt(_0x33afca(0x1ca))/0x5)+-parseInt(_0x33afca(0x201))/0x6+parseInt(_0x33afca(0x1a0))/0x7+-parseInt(_0x33afca(0x1ce))/0x8*(-parseInt(_0x33afca(0x1b2))/0x9)+-parseInt(_0x33afca(0x1c9))/0xa*(parseInt(_0x33afca(0x1c1))/0xb);if(_0x231d00===_0x22aa4a)break;else _0x367552['push'](_0x367552['shift']());}catch(_0x561442){_0x367552['push'](_0x367552['shift']());}}}(_0x2f10,0x3978a));import{Plugin as _0x46e26a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x43766c}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x496b6c}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x140027}from'../footnotestracker.js';function _0x2f10(){const _0x576c42=['getChanges','insert','attribute:footnotesListStyle:footnotesDefinitions','mapper','setFootnoteFormatter','consume','getItems','setStyle','model','99LjJzin','_getDefaultListStyle','footnotesListStyle','toUpperCase','upper-latin','2BFetIC','_definePostfixer','define','decimal-leading-zero','getStyle','viewItem','floor','for','differ','footnotes-list','55bvVzkr','list-style-type','attribute:footnotesListStart:footnotesDefinitions','footnotes.footnotesProperties.defaultStartIndex','toLowerCase','writer','parent','565914Unmtgc','869720yLsoeq','2163470gFsvRm','FootnotesPropertiesEditing','plugins','toViewElement','89112MbRvGN','footnotesDefinitions','modelCursor','decimal','setAttribute','from','element:ol','get','extend','item','checkAttribute','max','schema','_getDefaultStartIndex','getAttribute','isPremiumPlugin','footnotesListStart','hasAttribute','$text','commands','getChildren','upcast','fromCharCode','editor','registerPostFixer','isOfficialPlugin','removeStyle','lower-alpha','footnotes.footnotesProperties.defaultListStyle','document','_defineFormatter','footnotesStyle','_formatFootnoteListValue','padStart','add','nodeAfter','_defineConverters','lower-roman','name','_defineSchema','_updateFootnotesCounters','find','lower-latin','upper-alpha','4WJAJPH','config','isNaN','init','pluginName','requires','89098evzzPc','1007250vrGHfz','footnotesStart','upper-roman','removeAttribute','createRangeOn','36246vvIfCc','element','consumable','position','start','parseInt','downcast','hasClass','type'];_0x2f10=function(){return _0x576c42;};return _0x2f10();}import{FootnotesEditing as _0x40eebb}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x46e26a{static get[_0x391bbb(0x1fe)](){const _0x4205d8=_0x391bbb;return _0x4205d8(0x1cb);}static get[_0x391bbb(0x1ff)](){return[_0x40eebb,_0x140027];}static get[_0x391bbb(0x1e7)](){return!0x0;}static get[_0x391bbb(0x1dd)](){return!0x0;}[_0x391bbb(0x1fd)](){const _0x177310=_0x391bbb,{editor:_0x1855fc}=this;_0x1855fc[_0x177310(0x1fb)][_0x177310(0x1b9)](_0x177310(0x1ea),_0x177310(0x1d1)),_0x1855fc[_0x177310(0x1fb)][_0x177310(0x1b9)](_0x177310(0x1c4),0x1),_0x1855fc[_0x177310(0x1e1)][_0x177310(0x1f0)](_0x177310(0x1ed),new _0x43766c(_0x1855fc)),_0x1855fc[_0x177310(0x1e1)][_0x177310(0x1f0)](_0x177310(0x202),new _0x496b6c(_0x1855fc)),this[_0x177310(0x1f5)](),this[_0x177310(0x1f2)](),this[_0x177310(0x1ec)](),this[_0x177310(0x1b8)]();}[_0x391bbb(0x1f5)](){const _0x138b59=_0x391bbb,{editor:_0x500630}=this,{schema:_0x45ebf2}=_0x500630[_0x138b59(0x1b1)];_0x45ebf2[_0x138b59(0x1d6)](_0x138b59(0x1cf),{'allowAttributes':[_0x138b59(0x1b4),_0x138b59(0x1de)]});}[_0x391bbb(0x1f2)](){const _0x5c80b2=_0x391bbb,{editor:_0x223353}=this,{conversion:_0x29b846,model:_0x379828}=_0x223353,{schema:_0x178091}=_0x379828;_0x29b846[_0x5c80b2(0x1be)](_0x5c80b2(0x1e3))[_0x5c80b2(0x1f0)](_0x47cd19=>{const _0x158a92=_0x5c80b2;_0x47cd19['on'](_0x158a92(0x1d4),(_0x330e5d,_0x11e804,_0x35ac64)=>{const _0x56203f=_0x158a92,_0xe7e060=_0x11e804[_0x56203f(0x1bc)],_0x1ab5a2=_0x11e804[_0x56203f(0x1d0)]?.[_0x56203f(0x1c7)];_0xe7e060[_0x56203f(0x1a7)](_0x56203f(0x1c0))&&_0x1ab5a2?.['is'](_0x56203f(0x1a1),_0x56203f(0x1cf))&&(function(_0x24dc5a,_0x5c6644,_0x59238b,_0x6f5198){const _0x372f59=_0x56203f;if(!_0x6f5198[_0x372f59(0x1d8)](_0x5c6644,_0x372f59(0x1de)))return;let _0x544b49=0x1;const _0x5016d1=_0x59238b[_0x372f59(0x1a2)][_0x372f59(0x1ae)](_0x24dc5a,{'attributes':_0x372f59(0x1a4)});if(_0x5016d1){const _0x4f7e97=Number[_0x372f59(0x1a5)](_0x24dc5a[_0x372f59(0x1dc)](_0x372f59(0x1a4)),0xa);Number[_0x372f59(0x1fc)](_0x4f7e97)||(_0x544b49=_0x4f7e97);}!_0x5016d1&&_0x5c6644[_0x372f59(0x1df)](_0x372f59(0x1de))||_0x59238b[_0x372f59(0x1c6)][_0x372f59(0x1d2)](_0x372f59(0x1de),_0x544b49,_0x5c6644);}(_0xe7e060,_0x1ab5a2,_0x35ac64,_0x178091),function(_0x4103c0,_0x3ec748,_0x45dca3,_0x56edbc){const _0xf03f10=_0x56203f;if(!_0x56edbc[_0xf03f10(0x1d8)](_0x3ec748,_0xf03f10(0x1b4)))return;let _0x402cd9=_0xf03f10(0x1d1),_0x220b47=!0x1;if(_0x45dca3[_0xf03f10(0x1a2)][_0xf03f10(0x1ae)](_0x4103c0,{'attributes':_0xf03f10(0x1a8)})){const _0x45049c={0x1:_0xf03f10(0x1d1),'a':_0xf03f10(0x1e9),'A':_0xf03f10(0x1f9),'i':_0xf03f10(0x1f3),'I':_0xf03f10(0x19d)}[_0x4103c0[_0xf03f10(0x1dc)](_0xf03f10(0x1a8))];_0x45049c&&(_0x402cd9=_0x45049c),_0x220b47=!0x0;}_0x45dca3[_0xf03f10(0x1a2)][_0xf03f10(0x1ae)](_0x4103c0,{'styles':_0xf03f10(0x1c2)})&&(_0x402cd9=_0x4103c0[_0xf03f10(0x1bb)](_0xf03f10(0x1c2)),_0x220b47=!0x0),!_0x220b47&&_0x3ec748[_0xf03f10(0x1df)](_0xf03f10(0x1b4))||_0x45dca3[_0xf03f10(0x1c6)][_0xf03f10(0x1d2)](_0xf03f10(0x1b4),_0x402cd9,_0x3ec748);}(_0xe7e060,_0x1ab5a2,_0x35ac64,_0x178091));});}),_0x29b846[_0x5c80b2(0x1be)](_0x5c80b2(0x1a6))[_0x5c80b2(0x1f0)](_0x35ff4d=>{const _0x278556=_0x5c80b2;_0x35ff4d['on'](_0x278556(0x1c3),(_0x478910,_0x4ff3dc,_0x3c9a18)=>{const _0x1bf22d=_0x278556;if(!_0x3c9a18[_0x1bf22d(0x1a2)][_0x1bf22d(0x1ae)](_0x4ff3dc[_0x1bf22d(0x1d7)],_0x478910[_0x1bf22d(0x1f4)]))return;const _0x39ddfc=C(_0x4ff3dc[_0x1bf22d(0x1d7)],_0x3c9a18[_0x1bf22d(0x1ac)]),{attributeNewValue:_0x2e705f}=_0x4ff3dc;null==_0x2e705f||0x1===_0x2e705f?_0x3c9a18[_0x1bf22d(0x1c6)][_0x1bf22d(0x19e)](_0x1bf22d(0x1a4),_0x39ddfc):_0x3c9a18[_0x1bf22d(0x1c6)][_0x1bf22d(0x1d2)](_0x1bf22d(0x1a4),String(_0x2e705f),_0x39ddfc);}),_0x35ff4d['on'](_0x278556(0x1ab),(_0x2a37c9,_0x411ee9,_0x3cd763)=>{const _0x181ff0=_0x278556;if(!_0x3cd763[_0x181ff0(0x1a2)][_0x181ff0(0x1ae)](_0x411ee9[_0x181ff0(0x1d7)],_0x2a37c9[_0x181ff0(0x1f4)]))return;const _0x41bec5=C(_0x411ee9[_0x181ff0(0x1d7)],_0x3cd763[_0x181ff0(0x1ac)]),{attributeNewValue:_0x9737f7}=_0x411ee9;_0x9737f7&&_0x181ff0(0x1d1)!==_0x9737f7?_0x3cd763[_0x181ff0(0x1c6)][_0x181ff0(0x1b0)](_0x181ff0(0x1c2),_0x9737f7,_0x41bec5):_0x3cd763[_0x181ff0(0x1c6)][_0x181ff0(0x1e8)](_0x181ff0(0x1c2),_0x41bec5);});});}[_0x391bbb(0x1b8)](){const _0x289232=_0x391bbb,{editor:_0x3727e3}=this,{model:_0x287706}=_0x3727e3,_0x16279f=_0x3727e3[_0x289232(0x1cc)][_0x289232(0x1d5)](_0x140027),_0x40ba21=this[_0x289232(0x1b3)](),_0x4f809e=this[_0x289232(0x1db)]();_0x287706[_0x289232(0x1eb)][_0x289232(0x1e6)](_0x158ba1=>{const _0x51f37b=_0x289232,_0x5bbb03=_0x287706[_0x51f37b(0x1eb)][_0x51f37b(0x1bf)][_0x51f37b(0x1a9)]();let _0x562eaf=!0x1;for(const _0x3364ec of _0x5bbb03){if(_0x51f37b(0x1aa)!==_0x3364ec[_0x51f37b(0x1a8)]||_0x51f37b(0x1e0)===_0x3364ec[_0x51f37b(0x1f4)])continue;const _0x499fb5=_0x287706[_0x51f37b(0x19f)](_0x3364ec[_0x51f37b(0x1a3)][_0x51f37b(0x1f1)]);for(const _0x578fd1 of _0x499fb5[_0x51f37b(0x1af)]())_0x578fd1['is'](_0x51f37b(0x1a1),_0x51f37b(0x1cf))&&(!_0x578fd1[_0x51f37b(0x1df)](_0x51f37b(0x1de))&&_0x287706[_0x51f37b(0x1da)][_0x51f37b(0x1d8)](_0x578fd1,_0x51f37b(0x1de))&&(_0x158ba1[_0x51f37b(0x1d2)](_0x51f37b(0x1de),_0x4f809e,_0x578fd1),_0x562eaf=!0x0),!_0x578fd1[_0x51f37b(0x1df)](_0x51f37b(0x1b4))&&_0x287706[_0x51f37b(0x1da)][_0x51f37b(0x1d8)](_0x578fd1,_0x51f37b(0x1b4))&&(_0x158ba1[_0x51f37b(0x1d2)](_0x51f37b(0x1b4),_0x40ba21,_0x578fd1),_0x562eaf=!0x0));}return _0x562eaf&&_0x16279f[_0x51f37b(0x1f6)](_0x158ba1),_0x562eaf;});}[_0x391bbb(0x1ec)](){const _0x33872b=_0x391bbb,{editor:_0x247277}=this;_0x247277[_0x33872b(0x1cc)][_0x33872b(0x1d5)](_0x140027)[_0x33872b(0x1ad)](_0x37bf2b=>this[_0x33872b(0x1ee)](_0x37bf2b));}[_0x391bbb(0x1b3)](){const _0xa3e0b8=_0x391bbb;return this[_0xa3e0b8(0x1e5)][_0xa3e0b8(0x1fb)][_0xa3e0b8(0x1d5)](_0xa3e0b8(0x1ea));}[_0x391bbb(0x1db)](){const _0x3f8129=_0x391bbb;return this[_0x3f8129(0x1e5)][_0x3f8129(0x1fb)][_0x3f8129(0x1d5)](_0x3f8129(0x1c4));}[_0x391bbb(0x1ee)]({container:_0x4a5e44,value:_0x506214,digits:_0x472af9}){const _0x4ff076=_0x391bbb,_0x51888f=_0x4a5e44[_0x4ff076(0x1dc)](_0x4ff076(0x1b4)),_0x3388cc=_0x4a5e44[_0x4ff076(0x1dc)](_0x4ff076(0x1de)),_0x2eeaaf=Math[_0x4ff076(0x1bd)](_0x506214)+(_0x3388cc??0x1)-0x1;switch(_0x51888f){case _0x4ff076(0x1ba):return function(_0x37eae7,_0x28f4f7){const _0x5d688c=_0x4ff076;return String(_0x37eae7)[_0x5d688c(0x1ef)](_0x28f4f7,'0');}(_0x2eeaaf,Math[_0x4ff076(0x1d9)](0x2,_0x472af9));case _0x4ff076(0x1e9):case _0x4ff076(0x1f8):return M(_0x2eeaaf,!0x1);case _0x4ff076(0x1f9):case _0x4ff076(0x1b6):return M(_0x2eeaaf,!0x0);case _0x4ff076(0x1f3):return V(_0x2eeaaf,!0x1);case _0x4ff076(0x19d):return V(_0x2eeaaf,!0x0);default:return String(_0x2eeaaf);}}}function C(_0x381c3a,_0x1224bb){const _0x59b82f=_0x391bbb,_0x18cc08=_0x1224bb[_0x59b82f(0x1cd)](_0x381c3a);return Array[_0x59b82f(0x1d3)](_0x18cc08[_0x59b82f(0x1e2)]())[_0x59b82f(0x1f7)](_0xaa99c=>_0xaa99c['is'](_0x59b82f(0x1a1),'ol')&&_0xaa99c[_0x59b82f(0x1a7)](_0x59b82f(0x1c0)));}function M(_0x4083d6,_0x385d48){const _0x504f17=_0x391bbb;let _0x333a28='',_0x119dcf=_0x4083d6;for(;_0x119dcf>0x0;){const _0x1fa36f=(_0x119dcf-0x1)%0x1a;_0x333a28=String[_0x504f17(0x1e4)](0x61+_0x1fa36f)+_0x333a28,_0x119dcf=Math[_0x504f17(0x1bd)]((_0x119dcf-0x1)/0x1a);}return _0x385d48?_0x333a28[_0x504f17(0x1b5)]():_0x333a28;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x2180(_0x5cae6c,_0x5763d2){const _0x2f1059=_0x2f10();return _0x2180=function(_0x218084,_0x10fdb1){_0x218084=_0x218084-0x19d;let _0x30fa31=_0x2f1059[_0x218084];return _0x30fa31;},_0x2180(_0x5cae6c,_0x5763d2);}function V(_0x497379,_0x24ae6e){const _0x13dab2=_0x391bbb;let _0x396c43='',_0x1b9afa=_0x497379;for(const {value:_0x56e6f3,numeral:_0x1a3c52}of N)for(;_0x1b9afa>=_0x56e6f3;)_0x396c43+=_0x1a3c52,_0x1b9afa-=_0x56e6f3;return _0x24ae6e?_0x396c43:_0x396c43[_0x13dab2(0x1c5)]();}
23
+ const _0x18df81=_0x5d47;(function(_0x561894,_0x4e654b){const _0x392e0b=_0x5d47,_0x31d416=_0x561894();while(!![]){try{const _0x241032=-parseInt(_0x392e0b(0x139))/0x1*(parseInt(_0x392e0b(0x123))/0x2)+parseInt(_0x392e0b(0xf0))/0x3+-parseInt(_0x392e0b(0x117))/0x4+parseInt(_0x392e0b(0xfe))/0x5*(-parseInt(_0x392e0b(0x11a))/0x6)+-parseInt(_0x392e0b(0xfa))/0x7*(-parseInt(_0x392e0b(0x12f))/0x8)+-parseInt(_0x392e0b(0xe0))/0x9+parseInt(_0x392e0b(0x13e))/0xa*(parseInt(_0x392e0b(0x12d))/0xb);if(_0x241032===_0x4e654b)break;else _0x31d416['push'](_0x31d416['shift']());}catch(_0x718d03){_0x31d416['push'](_0x31d416['shift']());}}}(_0x4762,0xc0f77));import{Plugin as _0x227d6e}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x38bd63}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x19782d}from'./commands/footnotesstartcommand.js';function _0x4762(){const _0x507e99=['from','footnotes-list','createRangeOn','4954833xbIhsM','footnotesListStyle','toUpperCase','parent','position','list-style-type','start','getAttribute','upcast','upper-alpha','registerPostFixer','item','footnotesListStart','toViewElement','differ','define','1617729VENLcl','decimal','pluginName','editor','padStart','getStyle','find','type','_definePostfixer','attribute:footnotesListStyle:footnotesDefinitions','2547153BmCOjF','mapper','setStyle','footnotesStart','5KqPGzG','config','name','_getDefaultListStyle','setFootnoteFormatter','getChildren','isNaN','fromCharCode','lower-latin','nodeAfter','element','requires','lower-alpha','FootnotesPropertiesEditing','get','modelCursor','consumable','max','isPremiumPlugin','schema','init','commands','viewItem','hasClass','attribute:footnotesListStart:footnotesDefinitions','6261200mvYOhb','removeAttribute','footnotesDefinitions','413082AqONyN','consume','parseInt','removeStyle','downcast','floor','checkAttribute','extend','_defineConverters','152782ZgKheJ','$text','plugins','isOfficialPlugin','getItems','decimal-leading-zero','for','setAttribute','footnotesStyle','_updateFootnotesCounters','25710058czEFlp','insert','24WIBezK','upper-roman','_defineFormatter','element:ol','add','footnotes.footnotesProperties.defaultStartIndex','hasAttribute','lower-roman','model','_getDefaultStartIndex','13lxzTYc','footnotes.footnotesProperties.defaultListStyle','document','_formatFootnoteListValue','upper-latin','10BDPrRe','toLowerCase','getChanges','_defineSchema','writer'];_0x4762=function(){return _0x507e99;};return _0x4762();}import{FootnotesTracker as _0xf9464b}from'../footnotestracker.js';import{FootnotesEditing as _0x540bd7}from'../footnotesediting.js';function _0x5d47(_0x150a10,_0x58edb8){const _0x476275=_0x4762();return _0x5d47=function(_0x5d474c,_0x44f974){_0x5d474c=_0x5d474c-0xdb;let _0xf031bf=_0x476275[_0x5d474c];return _0xf031bf;},_0x5d47(_0x150a10,_0x58edb8);}export class FootnotesPropertiesEditing extends _0x227d6e{static get[_0x18df81(0xf2)](){const _0x593fb6=_0x18df81;return _0x593fb6(0x10b);}static get[_0x18df81(0x109)](){return[_0x540bd7,_0xf9464b];}static get[_0x18df81(0x126)](){return!0x0;}static get[_0x18df81(0x110)](){return!0x0;}[_0x18df81(0x112)](){const _0x4bb46c=_0x18df81,{editor:_0x321e61}=this;_0x321e61[_0x4bb46c(0xff)][_0x4bb46c(0xef)](_0x4bb46c(0x13a),_0x4bb46c(0xf1)),_0x321e61[_0x4bb46c(0xff)][_0x4bb46c(0xef)](_0x4bb46c(0x134),0x1),_0x321e61[_0x4bb46c(0x113)][_0x4bb46c(0x133)](_0x4bb46c(0x12b),new _0x38bd63(_0x321e61)),_0x321e61[_0x4bb46c(0x113)][_0x4bb46c(0x133)](_0x4bb46c(0xfd),new _0x19782d(_0x321e61)),this[_0x4bb46c(0xdb)](),this[_0x4bb46c(0x122)](),this[_0x4bb46c(0x131)](),this[_0x4bb46c(0xf8)]();}[_0x18df81(0xdb)](){const _0x343942=_0x18df81,{editor:_0x471181}=this,{schema:_0x33dc3a}=_0x471181[_0x343942(0x137)];_0x33dc3a[_0x343942(0x121)](_0x343942(0x119),{'allowAttributes':[_0x343942(0xe1),_0x343942(0xec)]});}[_0x18df81(0x122)](){const _0x290fb2=_0x18df81,{editor:_0xf73074}=this,{conversion:_0x49af31,model:_0x29570e}=_0xf73074,{schema:_0x43265e}=_0x29570e;_0x49af31[_0x290fb2(0x129)](_0x290fb2(0xe8))[_0x290fb2(0x133)](_0x591c08=>{const _0x4139c6=_0x290fb2;_0x591c08['on'](_0x4139c6(0x132),(_0x3da851,_0x25eb1e,_0x3cb188)=>{const _0x159bc2=_0x4139c6,_0x10994e=_0x25eb1e[_0x159bc2(0x114)],_0x26966e=_0x25eb1e[_0x159bc2(0x10d)]?.[_0x159bc2(0xe3)];_0x10994e[_0x159bc2(0x115)](_0x159bc2(0xde))&&_0x26966e?.['is'](_0x159bc2(0x108),_0x159bc2(0x119))&&(function(_0x2ed0ca,_0x46e14e,_0x21b38b,_0x33e40d){const _0x248e5c=_0x159bc2;if(!_0x33e40d[_0x248e5c(0x120)](_0x46e14e,_0x248e5c(0xec)))return;let _0x599add=0x1;const _0x51377a=_0x21b38b[_0x248e5c(0x10e)][_0x248e5c(0x11b)](_0x2ed0ca,{'attributes':_0x248e5c(0xe6)});if(_0x51377a){const _0x307263=Number[_0x248e5c(0x11c)](_0x2ed0ca[_0x248e5c(0xe7)](_0x248e5c(0xe6)),0xa);Number[_0x248e5c(0x104)](_0x307263)||(_0x599add=_0x307263);}!_0x51377a&&_0x46e14e[_0x248e5c(0x135)](_0x248e5c(0xec))||_0x21b38b[_0x248e5c(0xdc)][_0x248e5c(0x12a)](_0x248e5c(0xec),_0x599add,_0x46e14e);}(_0x10994e,_0x26966e,_0x3cb188,_0x43265e),function(_0x50f27b,_0x51834b,_0x5e8f90,_0x5228e1){const _0x433018=_0x159bc2;if(!_0x5228e1[_0x433018(0x120)](_0x51834b,_0x433018(0xe1)))return;let _0x3990c6=_0x433018(0xf1),_0x10b640=!0x1;if(_0x5e8f90[_0x433018(0x10e)][_0x433018(0x11b)](_0x50f27b,{'attributes':_0x433018(0xf7)})){const _0x338f60={0x1:_0x433018(0xf1),'a':_0x433018(0x10a),'A':_0x433018(0xe9),'i':_0x433018(0x136),'I':_0x433018(0x130)}[_0x50f27b[_0x433018(0xe7)](_0x433018(0xf7))];_0x338f60&&(_0x3990c6=_0x338f60),_0x10b640=!0x0;}_0x5e8f90[_0x433018(0x10e)][_0x433018(0x11b)](_0x50f27b,{'styles':_0x433018(0xe5)})&&(_0x3990c6=_0x50f27b[_0x433018(0xf5)](_0x433018(0xe5)),_0x10b640=!0x0),!_0x10b640&&_0x51834b[_0x433018(0x135)](_0x433018(0xe1))||_0x5e8f90[_0x433018(0xdc)][_0x433018(0x12a)](_0x433018(0xe1),_0x3990c6,_0x51834b);}(_0x10994e,_0x26966e,_0x3cb188,_0x43265e));});}),_0x49af31[_0x290fb2(0x129)](_0x290fb2(0x11e))[_0x290fb2(0x133)](_0x3d1611=>{const _0x5a07ad=_0x290fb2;_0x3d1611['on'](_0x5a07ad(0x116),(_0x18e911,_0x8b34f2,_0x2e92a0)=>{const _0x397de5=_0x5a07ad;if(!_0x2e92a0[_0x397de5(0x10e)][_0x397de5(0x11b)](_0x8b34f2[_0x397de5(0xeb)],_0x18e911[_0x397de5(0x100)]))return;const _0x54827d=C(_0x8b34f2[_0x397de5(0xeb)],_0x2e92a0[_0x397de5(0xfb)]),{attributeNewValue:_0x4b82f7}=_0x8b34f2;null==_0x4b82f7||0x1===_0x4b82f7?_0x2e92a0[_0x397de5(0xdc)][_0x397de5(0x118)](_0x397de5(0xe6),_0x54827d):_0x2e92a0[_0x397de5(0xdc)][_0x397de5(0x12a)](_0x397de5(0xe6),String(_0x4b82f7),_0x54827d);}),_0x3d1611['on'](_0x5a07ad(0xf9),(_0x4e745e,_0x119dd7,_0x4a82a5)=>{const _0x5bbef9=_0x5a07ad;if(!_0x4a82a5[_0x5bbef9(0x10e)][_0x5bbef9(0x11b)](_0x119dd7[_0x5bbef9(0xeb)],_0x4e745e[_0x5bbef9(0x100)]))return;const _0x5d46af=C(_0x119dd7[_0x5bbef9(0xeb)],_0x4a82a5[_0x5bbef9(0xfb)]),{attributeNewValue:_0x4ee698}=_0x119dd7;_0x4ee698&&_0x5bbef9(0xf1)!==_0x4ee698?_0x4a82a5[_0x5bbef9(0xdc)][_0x5bbef9(0xfc)](_0x5bbef9(0xe5),_0x4ee698,_0x5d46af):_0x4a82a5[_0x5bbef9(0xdc)][_0x5bbef9(0x11d)](_0x5bbef9(0xe5),_0x5d46af);});});}[_0x18df81(0xf8)](){const _0x1f9ba0=_0x18df81,{editor:_0x3f65b6}=this,{model:_0x40fcac}=_0x3f65b6,_0x4bf136=_0x3f65b6[_0x1f9ba0(0x125)][_0x1f9ba0(0x10c)](_0xf9464b),_0x6e6585=this[_0x1f9ba0(0x101)](),_0x442231=this[_0x1f9ba0(0x138)]();_0x40fcac[_0x1f9ba0(0x13b)][_0x1f9ba0(0xea)](_0x4a8c58=>{const _0x82027a=_0x1f9ba0,_0x408d75=_0x40fcac[_0x82027a(0x13b)][_0x82027a(0xee)][_0x82027a(0x140)]();let _0x3c0a0c=!0x1;for(const _0x23c064 of _0x408d75){if(_0x82027a(0x12e)!==_0x23c064[_0x82027a(0xf7)]||_0x82027a(0x124)===_0x23c064[_0x82027a(0x100)])continue;const _0xa82976=_0x40fcac[_0x82027a(0xdf)](_0x23c064[_0x82027a(0xe4)][_0x82027a(0x107)]);for(const _0x313222 of _0xa82976[_0x82027a(0x127)]())_0x313222['is'](_0x82027a(0x108),_0x82027a(0x119))&&(!_0x313222[_0x82027a(0x135)](_0x82027a(0xec))&&_0x40fcac[_0x82027a(0x111)][_0x82027a(0x120)](_0x313222,_0x82027a(0xec))&&(_0x4a8c58[_0x82027a(0x12a)](_0x82027a(0xec),_0x442231,_0x313222),_0x3c0a0c=!0x0),!_0x313222[_0x82027a(0x135)](_0x82027a(0xe1))&&_0x40fcac[_0x82027a(0x111)][_0x82027a(0x120)](_0x313222,_0x82027a(0xe1))&&(_0x4a8c58[_0x82027a(0x12a)](_0x82027a(0xe1),_0x6e6585,_0x313222),_0x3c0a0c=!0x0));}return _0x3c0a0c&&_0x4bf136[_0x82027a(0x12c)](_0x4a8c58),_0x3c0a0c;});}[_0x18df81(0x131)](){const _0x5f2c88=_0x18df81,{editor:_0x1f3807}=this;_0x1f3807[_0x5f2c88(0x125)][_0x5f2c88(0x10c)](_0xf9464b)[_0x5f2c88(0x102)](_0x1435a7=>this[_0x5f2c88(0x13c)](_0x1435a7));}[_0x18df81(0x101)](){const _0xa39ed3=_0x18df81;return this[_0xa39ed3(0xf3)][_0xa39ed3(0xff)][_0xa39ed3(0x10c)](_0xa39ed3(0x13a));}[_0x18df81(0x138)](){const _0x4f27eb=_0x18df81;return this[_0x4f27eb(0xf3)][_0x4f27eb(0xff)][_0x4f27eb(0x10c)](_0x4f27eb(0x134));}[_0x18df81(0x13c)]({container:_0x180ca6,value:_0x34f45f,digits:_0x9be6b6}){const _0x7e93f2=_0x18df81,_0x1a6b81=_0x180ca6[_0x7e93f2(0xe7)](_0x7e93f2(0xe1)),_0x53b3b5=_0x180ca6[_0x7e93f2(0xe7)](_0x7e93f2(0xec)),_0x2555db=Math[_0x7e93f2(0x11f)](_0x34f45f)+(_0x53b3b5??0x1)-0x1;switch(_0x1a6b81){case _0x7e93f2(0x128):return function(_0x32dcb5,_0x4be427){const _0x116a97=_0x7e93f2;return String(_0x32dcb5)[_0x116a97(0xf4)](_0x4be427,'0');}(_0x2555db,Math[_0x7e93f2(0x10f)](0x2,_0x9be6b6));case _0x7e93f2(0x10a):case _0x7e93f2(0x106):return M(_0x2555db,!0x1);case _0x7e93f2(0xe9):case _0x7e93f2(0x13d):return M(_0x2555db,!0x0);case _0x7e93f2(0x136):return V(_0x2555db,!0x1);case _0x7e93f2(0x130):return V(_0x2555db,!0x0);default:return String(_0x2555db);}}}function C(_0x4ba710,_0x3b4bf3){const _0x46e38d=_0x18df81,_0x23b8e4=_0x3b4bf3[_0x46e38d(0xed)](_0x4ba710);return Array[_0x46e38d(0xdd)](_0x23b8e4[_0x46e38d(0x103)]())[_0x46e38d(0xf6)](_0x554973=>_0x554973['is'](_0x46e38d(0x108),'ol')&&_0x554973[_0x46e38d(0x115)](_0x46e38d(0xde)));}function M(_0x5630cd,_0x2c525f){const _0x42bc51=_0x18df81;let _0x400422='',_0x5ca8d8=_0x5630cd;for(;_0x5ca8d8>0x0;){const _0x4852ef=(_0x5ca8d8-0x1)%0x1a;_0x400422=String[_0x42bc51(0x105)](0x61+_0x4852ef)+_0x400422,_0x5ca8d8=Math[_0x42bc51(0x11f)]((_0x5ca8d8-0x1)/0x1a);}return _0x2c525f?_0x400422[_0x42bc51(0xe2)]():_0x400422;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x5db919,_0x1012e5){const _0x260217=_0x18df81;let _0xe5e268='',_0x1a5248=_0x5db919;for(const {value:_0x1a88e7,numeral:_0x39cb1b}of N)for(;_0x1a5248>=_0x1a88e7;)_0xe5e268+=_0x39cb1b,_0x1a5248-=_0x1a88e7;return _0x1012e5?_0xe5e268:_0xe5e268[_0x260217(0x13f)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x4e214a,ButtonView as _0x75b574,ContextualBalloon as _0x57e7d2,createDropdown as _0x1087a6}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x6364a8}from'ckeditor5/src/widget.js';import{Plugin as _0x228791}from'ckeditor5/src/core.js';import{IconFootnote as _0x5583f0,IconListStyleDecimal as _0x47cd8c,IconListStyleDecimalLeadingZero as _0x49bbd2,IconListStyleLowerLatin as _0x42eeea,IconListStyleLowerRoman as _0x3d4fa5,IconListStyleUpperLatin as _0x5556e4,IconListStyleUpperRoman as _0x5c4bfe}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x393668}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5996c0}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x228791{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x57e7d2,_0x6364a8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11b851}=this,{componentFactory:_0x225904}=_0x11b851['ui'];_0x11b851['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x225904['add']('footnotesStyle',function(_0x2415f9){return _0x61ecbb=>{const {t:t}=_0x61ecbb,_0x241712=_0x2415f9['commands']['get']('footnotesStyle'),_0x32520c=_0x1087a6(_0x61ecbb),{buttonView:_0x3e5c18}=_0x32520c;return _0x32520c['class']='ck-footnotes-styles-dropdown',_0x32520c['bind']('isEnabled')['to'](_0x241712,'isEnabled'),_0x3e5c18['set']({'label':t('Footnotes\x20style'),'icon':_0x5583f0,'tooltip':!0x0}),_0x32520c['once']('change:isOpen',()=>{const _0x5f205=function({editor:_0x5bbacd,dropdownView:_0x33566d}){const {t:t}=_0x5bbacd['locale'],_0x398dd3=t('Footnotes\x20definitions\x20styles'),_0x792303=function(_0x32545d){const t=_0x32545d['locale']['t'],_0x8e7406=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x47cd8c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x49bbd2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3d4fa5},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5c4bfe},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x42eeea},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5556e4}];return _0x8e7406['map'](function(_0x41b88e){const _0x26d739=_0x41b88e['locale'];return({label:_0x3e1d46,icon:_0x1f2cce,tooltip:_0x101a00,style:_0x560159})=>{const _0xae61d0=_0x41b88e['commands']['get']('footnotesStyle'),_0x42ab60=new _0x75b574(_0x26d739);return _0x42ab60['set']({'label':_0x3e1d46,'icon':_0x1f2cce,'tooltip':_0x101a00}),_0x42ab60['bind']('isOn')['to'](_0xae61d0,'value',_0x628097=>_0x628097===_0x560159),_0x42ab60['bind']('isEnabled')['to'](_0xae61d0,'isEnabled'),_0x42ab60['on']('execute',()=>{_0x41b88e['execute']('footnotesStyle',{'value':_0x560159}),_0x41b88e['editing']['view']['focus']();}),_0x42ab60;};}(_0x32545d));}(_0x5bbacd),_0x4cef0c=new _0x393668(_0x5bbacd['locale'],{'styleGridAriaLabel':_0x398dd3,'styleButtonViews':_0x792303});return _0x4cef0c['delegate']('execute')['to'](_0x33566d),_0x4cef0c['on']('footnotesListStart',(_0x1ebe7c,_0x390d48)=>{_0x5bbacd['execute']('footnotesStart',{'value':_0x390d48['startIndex']});}),_0x4cef0c;}({'editor':_0x2415f9,'dropdownView':_0x32520c});_0x32520c['panelView']['children']['add'](_0x5f205);}),_0x32520c;};}(_0x11b851));}['afterInit'](){const {editor:_0xd36437}=this,{t:t}=_0xd36437['locale'],_0x3cc427=_0xd36437['plugins']['get'](_0x6364a8),{defaultPositions:_0x1d1998}=_0x4e214a;_0x3cc427['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xd36437['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4482dc=>{let _0x2d9885=_0x4482dc['getFirstPosition']()?.['parent'];return _0x2d9885?.['is']('$text')&&(_0x2d9885=_0x2d9885['parent']),_0x2d9885?.['is']('element')?_0x2d9885['findAncestor'](_0x5996c0):null;},'positions':[_0x1d1998['southArrowNorth'],_0x1d1998['southArrowNorthMiddleWest'],_0x1d1998['southArrowNorthMiddleEast'],_0x1d1998['southArrowNorthWest'],_0x1d1998['southArrowNorthEast'],_0x1d1998['northArrowSouth'],_0x1d1998['northArrowSouthMiddleWest'],_0x1d1998['northArrowSouthMiddleEast'],_0x1d1998['northArrowSouthWest'],_0x1d1998['northArrowSouthEast'],_0x1d1998['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x1fd303,ButtonView as _0x57f6c1,ContextualBalloon as _0x462665,createDropdown as _0x4c63b1}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4957cc}from'ckeditor5/src/widget.js';import{Plugin as _0x11aef6}from'ckeditor5/src/core.js';import{IconFootnote as _0x4367d8,IconListStyleDecimal as _0x4ec82e,IconListStyleDecimalLeadingZero as _0x51e432,IconListStyleLowerLatin as _0x292ab2,IconListStyleLowerRoman as _0x25cb39,IconListStyleUpperLatin as _0x5d7fbe,IconListStyleUpperRoman as _0x49c09c}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x57f9c8}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x33f9db}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x11aef6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x462665,_0x4957cc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15abea}=this,{componentFactory:_0x36a145}=_0x15abea['ui'];_0x15abea['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x36a145['add']('footnotesStyle',function(_0x4ce6c8){return _0x199655=>{const {t:t}=_0x199655,_0x47d07e=_0x4ce6c8['commands']['get']('footnotesStyle'),_0x10ab85=_0x4c63b1(_0x199655),{buttonView:_0xdc385b}=_0x10ab85;return _0x10ab85['class']='ck-footnotes-styles-dropdown',_0x10ab85['bind']('isEnabled')['to'](_0x47d07e,'isEnabled'),_0xdc385b['set']({'label':t('Footnotes\x20style'),'icon':_0x4367d8,'tooltip':!0x0}),_0x10ab85['once']('change:isOpen',()=>{const _0x23d2d3=function({editor:_0x1007b5,dropdownView:_0x9adeb0}){const {t:t}=_0x1007b5['locale'],_0x486384=t('Footnotes\x20definitions\x20styles'),_0x2f9c32=function(_0x54c0f4){const t=_0x54c0f4['locale']['t'],_0x28e0e0=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4ec82e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x51e432},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x25cb39},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x49c09c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x292ab2},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5d7fbe}];return _0x28e0e0['map'](function(_0x56192c){const _0x3b4ea4=_0x56192c['locale'];return({label:_0x57a985,icon:_0x4367b9,tooltip:_0x503f60,style:_0x18325f})=>{const _0x412b2b=_0x56192c['commands']['get']('footnotesStyle'),_0x5d5290=new _0x57f6c1(_0x3b4ea4);return _0x5d5290['set']({'label':_0x57a985,'icon':_0x4367b9,'tooltip':_0x503f60}),_0x5d5290['bind']('isOn')['to'](_0x412b2b,'value',_0x304dc0=>_0x304dc0===_0x18325f),_0x5d5290['bind']('isEnabled')['to'](_0x412b2b,'isEnabled'),_0x5d5290['on']('execute',()=>{_0x56192c['execute']('footnotesStyle',{'value':_0x18325f}),_0x56192c['editing']['view']['focus']();}),_0x5d5290;};}(_0x54c0f4));}(_0x1007b5),_0x271277=new _0x57f9c8(_0x1007b5['locale'],{'styleGridAriaLabel':_0x486384,'styleButtonViews':_0x2f9c32});return _0x271277['delegate']('execute')['to'](_0x9adeb0),_0x271277['on']('footnotesListStart',(_0x18c8b8,_0x18c9fa)=>{_0x1007b5['execute']('footnotesStart',{'value':_0x18c9fa['startIndex']});}),_0x271277;}({'editor':_0x4ce6c8,'dropdownView':_0x10ab85});_0x10ab85['panelView']['children']['add'](_0x23d2d3);}),_0x10ab85;};}(_0x15abea));}['afterInit'](){const {editor:_0x4bc8da}=this,{t:t}=_0x4bc8da['locale'],_0x176306=_0x4bc8da['plugins']['get'](_0x4957cc),{defaultPositions:_0x4e62f5}=_0x1fd303;_0x176306['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4bc8da['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xbd0c8f=>{let _0x587022=_0xbd0c8f['getFirstPosition']()?.['parent'];return _0x587022?.['is']('$text')&&(_0x587022=_0x587022['parent']),_0x587022?.['is']('element')?_0x587022['findAncestor'](_0x33f9db):null;},'positions':[_0x4e62f5['southArrowNorth'],_0x4e62f5['southArrowNorthMiddleWest'],_0x4e62f5['southArrowNorthMiddleEast'],_0x4e62f5['southArrowNorthWest'],_0x4e62f5['southArrowNorthEast'],_0x4e62f5['northArrowSouth'],_0x4e62f5['northArrowSouthMiddleWest'],_0x4e62f5['northArrowSouthMiddleEast'],_0x4e62f5['northArrowSouthWest'],_0x4e62f5['northArrowSouthEast'],_0x4e62f5['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x13f8e4,View as _0x45fe47,ViewCollection as _0xe751ee,FocusCycler as _0x2c1c1a,addKeyboardHandlingForGrid as _0x36b4af,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x45fe47{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0xe751ee();['focusCycler'];constructor(_0x2596ba,{styleButtonViews:_0x132222,styleGridAriaLabel:_0x1852e}){super(_0x2596ba),(this['focusCycler']=new _0x2c1c1a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x132222,_0x1852e),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x52bd4b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x52bd4b['element']);_0x36b4af({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x465f84=_0x260676=>_0x260676['stopPropagation']();this['keystrokes']['set']('arrowright',_0x465f84),this['keystrokes']['set']('arrowleft',_0x465f84),this['keystrokes']['set']('arrowup',_0x465f84),this['keystrokes']['set']('arrowdown',_0x465f84);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x451eba,_0x344f4d){const _0x3afbea=new _0x45fe47(this['locale']);return _0x3afbea['children']=_0x3afbea['createCollection'](),_0x3afbea['children']['addMany'](_0x451eba),_0x3afbea['setTemplate']({'tag':'div','attributes':{'aria-label':_0x344f4d,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3afbea['children']}),_0x3afbea['children']['delegate']('execute')['to'](this),_0x3afbea['focus']=function(){for(const _0x49b22c of this['children'])if(_0x49b22c instanceof _0x13f8e4&&_0x49b22c['isOn'])return void _0x49b22c['focus']();this['children']['first']['focus']();},_0x3afbea['focusTracker']=new et(),_0x3afbea['keystrokes']=new ot(),_0x3afbea['render'](),_0x3afbea['keystrokes']['listenTo'](_0x3afbea['element']),this['children']['add'](_0x3afbea),_0x3afbea;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1149d6=this['_createStartIndexPropertyView'](),_0x569b86=[_0x1149d6],_0xbf0af3=new tt(this['locale'],_0x569b86);return _0xbf0af3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xbf0af3['buttonView']['bind']('isEnabled')['toMany'](_0x569b86,'isEnabled',(..._0x37081a)=>_0x37081a['some'](_0x4d1786=>_0x4d1786)),_0xbf0af3['buttonView']['on']('change:isEnabled',(_0x29ba5b,_0x411eb4,_0x4305e4)=>{_0x4305e4||(_0xbf0af3['isCollapsed']=!0x0);}),this['children']['add'](_0xbf0af3),[_0x1149d6,_0xbf0af3];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x49c2bf=new st(this['locale'],it);return _0x49c2bf['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x49c2bf['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x49c2bf['fieldView']['on']('input',()=>{const _0x401270=_0x49c2bf['fieldView']['element'],_0x193daa=_0x401270['valueAsNumber'];Number['isNaN'](_0x193daa)?_0x49c2bf['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x401270['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x193daa}):_0x49c2bf['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x49c2bf;}}
23
+ import{ButtonView as _0x40e18d,View as _0x1059b1,ViewCollection as _0xa811af,FocusCycler as _0xafd605,addKeyboardHandlingForGrid as _0x200d96,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1059b1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0xa811af();['focusCycler'];constructor(_0x4eca91,{styleButtonViews:_0x45f872,styleGridAriaLabel:_0x34d1b6}){super(_0x4eca91),(this['focusCycler']=new _0xafd605({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x45f872,_0x34d1b6),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x207408 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x207408['element']);_0x200d96({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2fa7a2=_0x5516bd=>_0x5516bd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fa7a2),this['keystrokes']['set']('arrowleft',_0x2fa7a2),this['keystrokes']['set']('arrowup',_0x2fa7a2),this['keystrokes']['set']('arrowdown',_0x2fa7a2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4cee7a,_0x233896){const _0x327963=new _0x1059b1(this['locale']);return _0x327963['children']=_0x327963['createCollection'](),_0x327963['children']['addMany'](_0x4cee7a),_0x327963['setTemplate']({'tag':'div','attributes':{'aria-label':_0x233896,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x327963['children']}),_0x327963['children']['delegate']('execute')['to'](this),_0x327963['focus']=function(){for(const _0x3444ff of this['children'])if(_0x3444ff instanceof _0x40e18d&&_0x3444ff['isOn'])return void _0x3444ff['focus']();this['children']['first']['focus']();},_0x327963['focusTracker']=new et(),_0x327963['keystrokes']=new ot(),_0x327963['render'](),_0x327963['keystrokes']['listenTo'](_0x327963['element']),this['children']['add'](_0x327963),_0x327963;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x155db2=this['_createStartIndexPropertyView'](),_0x3d47ad=[_0x155db2],_0x18bc12=new tt(this['locale'],_0x3d47ad);return _0x18bc12['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x18bc12['buttonView']['bind']('isEnabled')['toMany'](_0x3d47ad,'isEnabled',(..._0x36631a)=>_0x36631a['some'](_0x241b55=>_0x241b55)),_0x18bc12['buttonView']['on']('change:isEnabled',(_0x3c6356,_0x4cf541,_0x2d576c)=>{_0x2d576c||(_0x18bc12['isCollapsed']=!0x0);}),this['children']['add'](_0x18bc12),[_0x155db2,_0x18bc12];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xbc8206=new st(this['locale'],it);return _0xbc8206['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xbc8206['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xbc8206['fieldView']['on']('input',()=>{const _0x5a9b9b=_0xbc8206['fieldView']['element'],_0x2492d1=_0x5a9b9b['valueAsNumber'];Number['isNaN'](_0x2492d1)?_0xbc8206['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5a9b9b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2492d1}):_0xbc8206['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0xbc8206;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53fb15=_0x3a45;(function(_0x5b442a,_0x3f1a94){var _0x35214e=_0x3a45,_0x3a074f=_0x5b442a();while(!![]){try{var _0x2b75b7=parseInt(_0x35214e(0x1bd))/0x1*(parseInt(_0x35214e(0x1c2))/0x2)+-parseInt(_0x35214e(0x1c5))/0x3*(-parseInt(_0x35214e(0x1c3))/0x4)+parseInt(_0x35214e(0x1c4))/0x5+parseInt(_0x35214e(0x1ba))/0x6+parseInt(_0x35214e(0x1c1))/0x7*(-parseInt(_0x35214e(0x1c7))/0x8)+-parseInt(_0x35214e(0x1bf))/0x9+parseInt(_0x35214e(0x1c8))/0xa;if(_0x2b75b7===_0x3f1a94)break;else _0x3a074f['push'](_0x3a074f['shift']());}catch(_0x5c6313){_0x3a074f['push'](_0x3a074f['shift']());}}}(_0x1ac4,0x877b0));function _0x3a45(_0x98d2e9,_0x2c2bc1){var _0x1ac4bc=_0x1ac4();return _0x3a45=function(_0x3a45d3,_0xebcc49){_0x3a45d3=_0x3a45d3-0x1ba;var _0xe61732=_0x1ac4bc[_0x3a45d3];return _0xe61732;},_0x3a45(_0x98d2e9,_0x2c2bc1);}function _0x1ac4(){var _0x15403b=['1154965QahSFf','2eBtWeS','596faCYgv','2236925KRMaFx','966WCBBYH','isOfficialPlugin','48DBhxEr','13513860eFOntq','732174tyMLDb','isPremiumPlugin','requires','48291dJqZFV','FootnotesProperties','4249539KWjbLs','pluginName'];_0x1ac4=function(){return _0x15403b;};return _0x1ac4();}import{Plugin as _0x300808}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x57d881}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3cda16}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x300808{static get[_0x53fb15(0x1c0)](){var _0xd6f26a=_0x53fb15;return _0xd6f26a(0x1be);}static get[_0x53fb15(0x1bc)](){return[_0x57d881,_0x3cda16];}static get[_0x53fb15(0x1c6)](){return!0x0;}static get[_0x53fb15(0x1bb)](){return!0x0;}}
23
+ var _0x27b190=_0x5593;(function(_0x48d586,_0x14d77e){var _0x3383e9=_0x5593,_0x4c0481=_0x48d586();while(!![]){try{var _0x521cea=parseInt(_0x3383e9(0x122))/0x1+-parseInt(_0x3383e9(0x125))/0x2*(-parseInt(_0x3383e9(0x129))/0x3)+parseInt(_0x3383e9(0x126))/0x4*(parseInt(_0x3383e9(0x12e))/0x5)+-parseInt(_0x3383e9(0x120))/0x6*(parseInt(_0x3383e9(0x12b))/0x7)+-parseInt(_0x3383e9(0x11f))/0x8*(parseInt(_0x3383e9(0x121))/0x9)+parseInt(_0x3383e9(0x123))/0xa*(-parseInt(_0x3383e9(0x124))/0xb)+parseInt(_0x3383e9(0x12c))/0xc;if(_0x521cea===_0x14d77e)break;else _0x4c0481['push'](_0x4c0481['shift']());}catch(_0x475ee6){_0x4c0481['push'](_0x4c0481['shift']());}}}(_0x57c1,0x94934));import{Plugin as _0x36838c}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x1e3fc7}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x391f22}from'./footnotesproperties/footnotespropertiesui.js';function _0x5593(_0x517540,_0x1da5b0){var _0x57c1f3=_0x57c1();return _0x5593=function(_0x559310,_0x391f3f){_0x559310=_0x559310-0x11e;var _0x177787=_0x57c1f3[_0x559310];return _0x177787;},_0x5593(_0x517540,_0x1da5b0);}export class FootnotesProperties extends _0x36838c{static get[_0x27b190(0x128)](){var _0x427241=_0x27b190;return _0x427241(0x11e);}static get[_0x27b190(0x12d)](){return[_0x1e3fc7,_0x391f22];}static get[_0x27b190(0x127)](){return!0x0;}static get[_0x27b190(0x12a)](){return!0x0;}}function _0x57c1(){var _0x2127a3=['10uDmKVv','FootnotesProperties','2408oFyKwD','266568QVFOqW','27414SSRQHC','1093176JeuDsj','3530CEBBrC','440srjyfK','2ZVFvxG','517744DzoauY','isOfficialPlugin','pluginName','993723KxMVlU','isPremiumPlugin','35FCWCaP','940572VWrDnM','requires'];_0x57c1=function(){return _0x2127a3;};return _0x57c1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f8b2=_0x1be3;(function(_0x22cd9e,_0x53e1bd){const _0x4577de=_0x1be3,_0x5b2aa5=_0x22cd9e();while(!![]){try{const _0x102f72=-parseInt(_0x4577de(0x1da))/0x1+parseInt(_0x4577de(0x1cd))/0x2+-parseInt(_0x4577de(0x1e5))/0x3+-parseInt(_0x4577de(0x1c5))/0x4*(-parseInt(_0x4577de(0x20c))/0x5)+parseInt(_0x4577de(0x21c))/0x6*(parseInt(_0x4577de(0x1d0))/0x7)+parseInt(_0x4577de(0x201))/0x8*(-parseInt(_0x4577de(0x1f5))/0x9)+-parseInt(_0x4577de(0x1cf))/0xa*(parseInt(_0x4577de(0x1be))/0xb);if(_0x102f72===_0x53e1bd)break;else _0x5b2aa5['push'](_0x5b2aa5['shift']());}catch(_0x181763){_0x5b2aa5['push'](_0x5b2aa5['shift']());}}}(_0x3270,0x76585));import{Plugin as _0x545ef1}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x341ab0}from'./modelelementtracker.js';export class FootnotesTracker extends _0x545ef1{[_0x29f8b2(0x1f7)]=[];[_0x29f8b2(0x1db)]=null;[_0x29f8b2(0x218)]=null;[_0x29f8b2(0x1f4)];[_0x29f8b2(0x1cb)];[_0x29f8b2(0x20d)];static get[_0x29f8b2(0x1c6)](){const _0x3ba4f0=_0x29f8b2;return _0x3ba4f0(0x1dd);}static get[_0x29f8b2(0x214)](){return!0x0;}static get[_0x29f8b2(0x220)](){return!0x0;}constructor(_0x10c27e){const _0x1ac101=_0x29f8b2;super(_0x10c27e),this[_0x1ac101(0x1f4)]=new _0x341ab0(this[_0x1ac101(0x1ea)][_0x1ac101(0x1ca)],{'elementName':_0x1ac101(0x209),'getElementKey':()=>_0x1ac101(0x1f3)}),this[_0x1ac101(0x1cb)]=new _0x341ab0(this[_0x1ac101(0x1ea)][_0x1ac101(0x1ca)],{'elementName':_0x1ac101(0x203),'getElementKey':_0x14fa0a=>_0x14fa0a[_0x1ac101(0x1d3)](_0x1ac101(0x1f6))}),this[_0x1ac101(0x20d)]=new _0x341ab0(this[_0x1ac101(0x1ea)][_0x1ac101(0x1ca)],{'elementName':_0x1ac101(0x20e),'getElementKey':_0x4e368e=>_0x4e368e[_0x1ac101(0x1d3)](_0x1ac101(0x1f6))});}[_0x29f8b2(0x1f9)](){const _0x2fe09e=_0x29f8b2,{editor:_0xbca2d}=this,{model:_0x475939,data:_0x2b902c}=_0xbca2d;_0x475939[_0x2fe09e(0x1e4)][_0x2fe09e(0x1eb)](_0x14abaf=>{const _0x49fd32=_0x2fe09e,_0x1ba8c4=_0x475939[_0x49fd32(0x1e4)][_0x49fd32(0x20b)][_0x49fd32(0x1fd)]();let _0x57da58=!0x1;return this[_0x49fd32(0x21a)](_0x14abaf,_0x1ba8c4)&&(_0x57da58=!0x0),this[_0x49fd32(0x1e3)](_0x14abaf,_0x1ba8c4)&&(_0x57da58=!0x0),this[_0x49fd32(0x1d7)](_0x14abaf,_0x1ba8c4)&&(_0x57da58=!0x0),this[_0x49fd32(0x1f2)](_0x14abaf)&&(_0x57da58=!0x0),this[_0x49fd32(0x1df)](_0x14abaf)&&(_0x57da58=!0x0),this[_0x49fd32(0x208)](_0x14abaf)&&(_0x57da58=!0x0),_0x57da58;}),this[_0x2fe09e(0x20f)](_0x475939[_0x2fe09e(0x1e4)],_0x2fe09e(0x219),()=>{const _0xc24e62=_0x2fe09e;_0x475939[_0xc24e62(0x1d1)]({'isUndoable':!0x1},_0x460808=>{const _0x19b05f=_0xc24e62;this[_0x19b05f(0x1ff)](_0x460808);});},{'priority':_0x2fe09e(0x1c0)}),this[_0x2fe09e(0x20f)](_0x2b902c,_0x2fe09e(0x1c4),()=>{const _0x42f9aa=_0x2fe09e;this[_0x42f9aa(0x1f7)]=[],this[_0x42f9aa(0x1f4)][_0x42f9aa(0x1fa)](),this[_0x42f9aa(0x1cb)][_0x42f9aa(0x1fa)](),this[_0x42f9aa(0x20d)][_0x42f9aa(0x1fa)]();},{'priority':_0x2fe09e(0x1e6)});}[_0x29f8b2(0x1bf)](){const _0x1b5dd4=_0x29f8b2;return this[_0x1b5dd4(0x1db)];}[_0x29f8b2(0x212)](_0x6415dd){const _0x35fd2a=_0x29f8b2;return this[_0x35fd2a(0x1f7)][_0x35fd2a(0x1c8)](_0x40c673=>_0x40c673['id']===_0x6415dd)||null;}[_0x29f8b2(0x1de)](){const _0x87201=_0x29f8b2;return Array[_0x87201(0x20a)](this[_0x87201(0x1f7)]);}[_0x29f8b2(0x1dc)](){const _0x3c9aa4=_0x29f8b2;return this[_0x3c9aa4(0x218)];}[_0x29f8b2(0x1ec)](_0x30ee3d){const _0x15f4d0=_0x29f8b2;this[_0x15f4d0(0x218)]=_0x30ee3d;}[_0x29f8b2(0x1d2)](_0x1dc061,_0x21caf2=0x0){const _0x54eebc=_0x29f8b2;let _0x424772=!0x1;for(let _0x5629bf=_0x21caf2;_0x5629bf<this[_0x54eebc(0x1f7)][_0x54eebc(0x1d5)];_0x5629bf++)this[_0x54eebc(0x204)](_0x1dc061,_0x5629bf)&&(_0x424772=!0x0);return _0x424772;}[_0x29f8b2(0x1c1)](_0x5bdb33,_0x1289b3){const _0x197b4a=_0x29f8b2,_0x595d79=_0x5bdb33[_0x197b4a(0x1e9)](_0x197b4a(0x209),{});return _0x5bdb33[_0x197b4a(0x1e1)](_0x595d79,_0x1289b3),this[_0x197b4a(0x1db)]=_0x595d79,_0x595d79;}[_0x29f8b2(0x1ff)](_0x39687e){const _0x21a276=_0x29f8b2;if(!this[_0x21a276(0x1f7)][_0x21a276(0x1d5)]||this[_0x21a276(0x1db)])return;const _0x4d6210=this[_0x21a276(0x1f7)][0x0][_0x21a276(0x1fc)][_0x21a276(0x1d9)],_0x34e09a=this[_0x21a276(0x1c1)](_0x39687e,_0x4d6210);for(const _0x1cf1b8 of this[_0x21a276(0x1f7)])_0x1cf1b8[_0x21a276(0x1c9)][_0x21a276(0x1ce)]||_0x39687e[_0x21a276(0x21f)](_0x1cf1b8[_0x21a276(0x1c9)],_0x34e09a,_0x21a276(0x1fe));this[_0x21a276(0x1d2)](_0x39687e);}[_0x29f8b2(0x21a)](_0x2485c0,_0x1b099f){const _0x253b4d=_0x29f8b2;let _0x2fac91=!0x1;const {inserted:_0x1f37bd,removed:_0x58060c,moved:_0x1a1d46}=this[_0x253b4d(0x1f4)][_0x253b4d(0x1fd)](_0x1b099f);if(_0x1a1d46[_0x253b4d(0x1d5)]&&(this[_0x253b4d(0x1db)]=_0x1a1d46[0x0]),_0x1f37bd[_0x253b4d(0x1d5)]){if(_0x1f37bd[_0x253b4d(0x1d5)]>0x1||this[_0x253b4d(0x1db)]&&_0x1f37bd[_0x253b4d(0x211)](_0x2ab1b0=>_0x2ab1b0!==this[_0x253b4d(0x1db)])){const _0x40c16b=_0x2485c0[_0x253b4d(0x1e9)](_0x253b4d(0x209),{}),_0x4f8250=[];this[_0x253b4d(0x1db)]&&_0x4f8250[_0x253b4d(0x1c7)](this[_0x253b4d(0x1db)]),_0x4f8250[_0x253b4d(0x1c7)](..._0x1f37bd),_0x2485c0[_0x253b4d(0x21f)](_0x40c16b,_0x4f8250[0x0],_0x253b4d(0x205));for(const _0x1f3998 of _0x4f8250)_0x2485c0[_0x253b4d(0x1cc)](_0x2485c0[_0x253b4d(0x1e7)](_0x1f3998),_0x2485c0[_0x253b4d(0x1e0)](_0x40c16b,_0x253b4d(0x1fe))),_0x2485c0[_0x253b4d(0x224)](_0x1f3998);this[_0x253b4d(0x1db)]=_0x40c16b,this[_0x253b4d(0x1d2)](_0x2485c0),_0x2fac91=!0x0;}else this[_0x253b4d(0x1db)]=_0x1f37bd[0x0];}if(_0x58060c[_0x253b4d(0x1d5)]&&_0x253b4d(0x21e)===this[_0x253b4d(0x1db)]?.[_0x253b4d(0x1d9)][_0x253b4d(0x1fb)]){for(const _0x2bb9a9 of this[_0x253b4d(0x1f7)])_0x2485c0[_0x253b4d(0x224)](_0x2bb9a9[_0x253b4d(0x1fc)]),_0x2fac91=!0x0;this[_0x253b4d(0x1f7)]=[],this[_0x253b4d(0x1db)]=null;}return _0x2fac91;}[_0x29f8b2(0x1e3)](_0xf6f95b,_0x42c21f){const _0x1380fe=_0x29f8b2;let _0x35446d=!0x1;const _0x13a767=this[_0x1380fe(0x1ea)][_0x1380fe(0x206)][_0x1380fe(0x223)](_0x1380fe(0x207)),{inserted:_0x2da0ea,moved:_0x32b53e}=this[_0x1380fe(0x20d)][_0x1380fe(0x1fd)](_0x42c21f);for(const _0x1e2c6a of[..._0x32b53e,..._0x2da0ea]){const _0x5fa40a=_0x1e2c6a[_0x1380fe(0x1d3)](_0x1380fe(0x1f6)),_0x4ba8a1=this[_0x1380fe(0x212)](_0x5fa40a);_0x4ba8a1&&(_0x4ba8a1[_0x1380fe(0x1c9)]=_0x1e2c6a),_(_0xf6f95b,_0x13a767,_0x1e2c6a)&&(_0x35446d=!0x0);}return _0x35446d;}[_0x29f8b2(0x1d7)](_0x131e71,_0x5bae13){const _0x52a5ed=_0x29f8b2;let _0x4fa213=!0x1;const {removed:_0x287571,inserted:_0x5a1962,moved:_0x3cbb29}=this[_0x52a5ed(0x1cb)][_0x52a5ed(0x1fd)](_0x5bae13);for(const _0x18b979 of _0x287571)this[_0x52a5ed(0x222)](_0x131e71,_0x18b979)&&(_0x4fa213=!0x0);for(const _0x4665c0 of _0x5a1962)this[_0x52a5ed(0x1ee)](_0x131e71,_0x4665c0)&&(_0x4fa213=!0x0);for(const _0x543534 of _0x3cbb29)this[_0x52a5ed(0x1d6)](_0x131e71,_0x543534)&&(_0x4fa213=!0x0);return _0x4fa213;}[_0x29f8b2(0x1df)](_0xbdfcad){const _0x2e1547=_0x29f8b2;if(!this[_0x2e1547(0x1db)])return!0x1;let _0x4a908c=!0x1;if(this[_0x2e1547(0x1db)][_0x2e1547(0x213)]!==this[_0x2e1547(0x1f7)][_0x2e1547(0x1d5)]){const _0x5b6d82=[];for(const _0x30dc33 of this[_0x2e1547(0x1db)][_0x2e1547(0x21d)]()){const _0x50e408=_0x30dc33[_0x2e1547(0x1d3)](_0x2e1547(0x1f6));this[_0x2e1547(0x212)](_0x50e408)||(_0x5b6d82[_0x2e1547(0x221)](_0x30dc33),_0x4a908c=!0x0);}for(const _0x3af408 of _0x5b6d82)_0xbdfcad[_0x2e1547(0x224)](_0x3af408);}const _0xa24e03=new Set(),_0x454ba8=[];for(const _0x271980 of this[_0x2e1547(0x1db)][_0x2e1547(0x21d)]()){const _0x21c096=_0x271980[_0x2e1547(0x1d3)](_0x2e1547(0x1f6));_0xa24e03[_0x2e1547(0x210)](_0x21c096)?(_0x454ba8[_0x2e1547(0x221)](_0x271980),_0x4a908c=!0x0):_0xa24e03[_0x2e1547(0x216)](_0x21c096);}for(const _0x4b081d of _0x454ba8)_0xbdfcad[_0x2e1547(0x224)](_0x4b081d);return this[_0x2e1547(0x1db)][_0x2e1547(0x213)]||(_0xbdfcad[_0x2e1547(0x224)](this[_0x2e1547(0x1db)]),this[_0x2e1547(0x1db)]=null,_0x4a908c=!0x0),_0x4a908c;}[_0x29f8b2(0x1ee)](_0x2deab5,_0x1eedd6){const _0x52d50f=_0x29f8b2;if(this[_0x52d50f(0x1f7)][_0x52d50f(0x1c8)](_0x33501c=>_0x33501c[_0x52d50f(0x1fc)]===_0x1eedd6))return!0x1;let _0x4fbe55=!0x1;const _0x43a5d6=_0x1eedd6[_0x52d50f(0x1d3)](_0x52d50f(0x1f6)),_0x56ce20=this[_0x52d50f(0x212)](_0x43a5d6);_0x56ce20&&(_0x2deab5[_0x52d50f(0x224)](_0x56ce20[_0x52d50f(0x1fc)]),this[_0x52d50f(0x1f7)]=this[_0x52d50f(0x1f7)][_0x52d50f(0x1f8)](_0x374113=>_0x374113['id']!==_0x43a5d6),_0x4fbe55=!0x0);let _0x41c773=this[_0x52d50f(0x1db)]?function(_0x354774,_0x2e2c85){const _0x4544ad=_0x52d50f;for(const _0xce6e4 of _0x354774[_0x4544ad(0x21d)]())if(_0xce6e4[_0x4544ad(0x1d3)](_0x4544ad(0x1f6))===_0x2e2c85)return _0xce6e4;return null;}(this[_0x52d50f(0x1db)],_0x43a5d6):null;_0x41c773||(_0x41c773=_0x2deab5[_0x52d50f(0x1e9)](_0x52d50f(0x20e),{'footnoteId':_0x43a5d6}),this[_0x52d50f(0x1db)]&&(_0x2deab5[_0x52d50f(0x21f)](_0x41c773,this[_0x52d50f(0x1db)],_0x52d50f(0x1fe)),_0x4fbe55=!0x0));const _0x342526={'id':_0x43a5d6,'reference':_0x1eedd6,'definition':_0x41c773},_0x23146d=I(this[_0x52d50f(0x1ea)][_0x52d50f(0x1ca)],this[_0x52d50f(0x1f7)],_0x1eedd6);return this[_0x52d50f(0x1f7)][_0x52d50f(0x1d8)](_0x23146d,0x0,_0x342526),this[_0x52d50f(0x1d2)](_0x2deab5,_0x23146d)&&(_0x4fbe55=!0x0),_0x4fbe55;}[_0x29f8b2(0x222)](_0x4dc88a,_0x3f26a8){const _0x16921d=_0x29f8b2,_0x3c1021=this[_0x16921d(0x1f7)][_0x16921d(0x200)](_0xe17da7=>_0xe17da7['id']===_0x3f26a8);if(-0x1===_0x3c1021)return!0x1;let _0x4236d1=!0x1;const _0x1d2b42=this[_0x16921d(0x1f7)][_0x3c1021];return _0x16921d(0x21e)!==_0x1d2b42[_0x16921d(0x1c9)][_0x16921d(0x1d9)][_0x16921d(0x1fb)]&&(_0x4dc88a[_0x16921d(0x224)](_0x1d2b42[_0x16921d(0x1c9)]),_0x4236d1=!0x0),this[_0x16921d(0x1f7)][_0x16921d(0x1d8)](_0x3c1021,0x1),this[_0x16921d(0x1d2)](_0x4dc88a,_0x3c1021)&&(_0x4236d1=!0x0),_0x4236d1;}[_0x29f8b2(0x1d6)](_0x172061,_0x16b18c){const _0x25c0c6=_0x29f8b2,_0x32b036=_0x16b18c[_0x25c0c6(0x1d3)](_0x25c0c6(0x1f6)),_0xed4e28=this[_0x25c0c6(0x1f7)][_0x25c0c6(0x200)](_0xa0f63d=>_0xa0f63d['id']===_0x32b036),_0x3f940e=this[_0x25c0c6(0x1f7)][_0xed4e28];let _0x439df9=!0x1;_0x3f940e[_0x25c0c6(0x1fc)]=_0x16b18c,this[_0x25c0c6(0x1f7)][_0x25c0c6(0x1d8)](_0xed4e28,0x1);const _0x1c3a87=I(this[_0x25c0c6(0x1ea)][_0x25c0c6(0x1ca)],this[_0x25c0c6(0x1f7)],_0x16b18c);return this[_0x25c0c6(0x1f7)][_0x25c0c6(0x1d8)](_0x1c3a87,0x0,_0x3f940e),this[_0x25c0c6(0x1d2)](_0x172061,Math[_0x25c0c6(0x215)](_0xed4e28,_0x1c3a87))&&(_0x439df9=!0x0),_0x439df9;}[_0x29f8b2(0x204)](_0x3d8b39,_0x204d72){const _0x1d60e4=_0x29f8b2;if(!this[_0x1d60e4(0x1db)])return!0x1;const _0x3b5fca=this[_0x1d60e4(0x1f7)][_0x204d72];let _0x33983f;return _0x33983f=this[_0x1d60e4(0x218)]?this[_0x1d60e4(0x218)]({'footnote':_0x3b5fca,'container':this[_0x1d60e4(0x1db)],'digits':String(this[_0x1d60e4(0x1f7)][_0x1d60e4(0x1d5)])[_0x1d60e4(0x1d5)],'value':_0x204d72+0x1}):String(_0x204d72+0x1),_0x3b5fca[_0x1d60e4(0x1fc)][_0x1d60e4(0x1d3)](_0x1d60e4(0x1e2))!=_0x33983f&&(_0x3d8b39[_0x1d60e4(0x21b)](_0x1d60e4(0x1e2),_0x33983f,_0x3b5fca[_0x1d60e4(0x1fc)]),!0x0);}[_0x29f8b2(0x208)](_0x2797e6){const _0x3914a6=_0x29f8b2;if(!this[_0x3914a6(0x1db)]||this[_0x3914a6(0x1f7)][_0x3914a6(0x1d5)]<0x2)return!0x1;if(function(_0x51e3a2,_0x4d373c){const _0x49fde8=_0x3914a6;if(_0x51e3a2[_0x49fde8(0x1d5)]!==_0x4d373c[_0x49fde8(0x1d5)])return!0x1;for(let _0x709ed1=0x0;_0x709ed1<_0x51e3a2[_0x49fde8(0x1d5)];_0x709ed1++)if(_0x51e3a2[_0x709ed1]!==_0x4d373c[_0x709ed1])return!0x1;return!0x0;}(this[_0x3914a6(0x1f7)][_0x3914a6(0x1e8)](_0x161a93=>_0x161a93['id']),Array[_0x3914a6(0x20a)](this[_0x3914a6(0x1db)][_0x3914a6(0x21d)]())[_0x3914a6(0x1e8)](_0x2b79d3=>_0x2b79d3[_0x3914a6(0x1d3)](_0x3914a6(0x1f6)))))return!0x1;let _0x2ed7a8=!0x1;for(let _0x14d09c=0x0;_0x14d09c<this[_0x3914a6(0x1f7)][_0x3914a6(0x1d5)];_0x14d09c++){const _0x1710a1=this[_0x3914a6(0x1f7)][_0x14d09c],_0x38dbb3=_0x2797e6[_0x3914a6(0x1ef)](_0x1710a1[_0x3914a6(0x1c9)]),_0x42591d=_0x2797e6[_0x3914a6(0x1e0)](this[_0x3914a6(0x1db)],_0x14d09c);_0x38dbb3[_0x3914a6(0x1f1)](_0x42591d)||(_0x2797e6[_0x3914a6(0x1cc)](_0x2797e6[_0x3914a6(0x202)](_0x1710a1[_0x3914a6(0x1c9)]),_0x42591d),_0x2ed7a8=!0x0);}return _0x2ed7a8;}[_0x29f8b2(0x1f2)](_0x431de0){const _0x7d1aef=_0x29f8b2;if(!this[_0x7d1aef(0x1f7)][_0x7d1aef(0x1d5)])return!0x1;const {model:_0x6fdd9e}=this[_0x7d1aef(0x1ea)];let _0x3a4331=!0x1;for(let _0x4c7f7c=0x0;_0x4c7f7c<this[_0x7d1aef(0x1f7)][_0x7d1aef(0x1d5)]-0x1;_0x4c7f7c++){const _0x15cf54=this[_0x7d1aef(0x1f7)][_0x4c7f7c],_0x4da8a7=this[_0x7d1aef(0x1f7)][_0x4c7f7c+0x1],_0x1140b5=_0x6fdd9e[_0x7d1aef(0x1ef)](_0x15cf54[_0x7d1aef(0x1fc)]),_0x4bdffd=_0x6fdd9e[_0x7d1aef(0x1ef)](_0x4da8a7[_0x7d1aef(0x1fc)]);_0x7d1aef(0x217)===_0x1140b5[_0x7d1aef(0x1ed)](_0x4bdffd)&&(this[_0x7d1aef(0x1d6)](_0x431de0,_0x15cf54[_0x7d1aef(0x1fc)]),_0x4c7f7c=-0x1,_0x3a4331=!0x0);}return _0x3a4331;}}function _(_0x54ce48,_0x25f441,_0x33e296){const _0x595c70=_0x29f8b2;if(_0x33e296[_0x595c70(0x213)])return!0x1;const _0x16c4cf=_0x25f441?_0x595c70(0x1c3):_0x595c70(0x1c2);return _0x54ce48[_0x595c70(0x21f)](_0x54ce48[_0x595c70(0x1e9)](_0x16c4cf),_0x33e296),!0x0;}function _0x1be3(_0x433368,_0x54c8be){const _0x327088=_0x3270();return _0x1be3=function(_0x1be369,_0x489cb5){_0x1be369=_0x1be369-0x1be;let _0x582c3c=_0x327088[_0x1be369];return _0x582c3c;},_0x1be3(_0x433368,_0x54c8be);}function _0x3270(){const _0x3878eb=['_footnoteDefsContainerTracker','171CnYVGc','footnoteId','_footnotes','filter','init','reset','rootName','reference','getChanges','end','_ensureFootnotesDefinitionsContainerExists','findIndex','403496URUlWA','createRangeOn','footnoteRef','_updateFootnoteRefCounter','before','config','footnotes.multiBlock','_sortFootnoteDefinitions','footnotesDefinitions','from','differ','545DnomLQ','_footnoteDefsTracker','footnoteDefinition','listenTo','has','some','getFootnote','childCount','isOfficialPlugin','min','add','after','_footnoteFormatter','change:data','_handleFootnotesDefinitionsObjectChanges','setAttribute','102obLWZa','getChildren','$graveyard','insert','isPremiumPlugin','unshift','_handleRemoveFootnoteReferenceById','get','remove','90827KVMsyY','getFootnotesDefinitionsObjectElement','low','_insertEmptyFootnotesDefinitionsContainer','footnoteInlineContent','paragraph','set','26384LcEfoC','pluginName','push','find','definition','model','_footnoteRefsTracker','move','1186844RAscWA','parent','130VSfplK','287889UHKvEh','enqueueChange','_updateFootnotesCounters','getAttribute','getRootNames','length','_handleMovedFootnoteReference','_handleFootnoteReferencesChanges','splice','root','375296BOJfhF','_footnotesDefinitions','getFootnotesFormatter','FootnotesTracker','getFootnotes','_handleFootnotesDefinitionsObjectSync','createPositionAt','append','footnoteCounter','_handleFootnoteDefinitionsChanges','document','257592RHBJiG','high','createRangeIn','map','createElement','editor','registerPostFixer','setFootnoteFormatter','compareWith','_handleInsertedFootnoteReference','createPositionBefore','indexOf','isEqual','_ensureFootnotesReferencesHaveProperOrder','singleton'];_0x3270=function(){return _0x3878eb;};return _0x3270();}function I(_0x56632e,_0x29ef0,_0x3f9c5e){const _0x98172e=_0x29f8b2;if(0x0===_0x29ef0[_0x98172e(0x1d5)])return 0x0;const _0x1f30bc=_0x56632e[_0x98172e(0x1ef)](_0x3f9c5e);for(let _0xf63c63=0x0;_0xf63c63<_0x29ef0[_0x98172e(0x1d5)];_0xf63c63++){const _0x2bd09a=_0x29ef0[_0xf63c63],_0x36b6a7=_0x56632e[_0x98172e(0x1ef)](_0x2bd09a[_0x98172e(0x1fc)]);if(_0x98172e(0x205)===_0x1f30bc[_0x98172e(0x1ed)](_0x36b6a7))return _0xf63c63;}const _0x2e24d7=_0x3f9c5e[_0x98172e(0x1d9)];let _0x53c2a4=-0x1;for(let _0x2f891f=_0x29ef0[_0x98172e(0x1d5)]-0x1;_0x2f891f>=0x0;_0x2f891f--)if(_0x29ef0[_0x2f891f][_0x98172e(0x1fc)][_0x98172e(0x1d9)]===_0x2e24d7){_0x53c2a4=_0x2f891f;break;}if(-0x1!==_0x53c2a4)return _0x53c2a4+0x1;const _0x17e8db=_0x56632e[_0x98172e(0x1e4)][_0x98172e(0x1d4)](),_0x954256=_0x17e8db[_0x98172e(0x1f0)](_0x2e24d7[_0x98172e(0x1fb)]),_0x10b1ff=_0x17e8db[_0x954256+0x1];if(_0x10b1ff){for(let _0x13910b=0x0;_0x13910b<_0x29ef0[_0x98172e(0x1d5)];_0x13910b++)if(_0x29ef0[_0x13910b][_0x98172e(0x1fc)][_0x98172e(0x1d9)][_0x98172e(0x1fb)]===_0x10b1ff)return _0x13910b;}return _0x29ef0[_0x98172e(0x1d5)];}
23
+ const _0x5964fb=_0x3505;(function(_0x253648,_0x18f012){const _0xfe82d6=_0x3505,_0x159ab6=_0x253648();while(!![]){try{const _0x24c67e=-parseInt(_0xfe82d6(0x1e9))/0x1+-parseInt(_0xfe82d6(0x1c7))/0x2*(parseInt(_0xfe82d6(0x206))/0x3)+parseInt(_0xfe82d6(0x226))/0x4+-parseInt(_0xfe82d6(0x222))/0x5+-parseInt(_0xfe82d6(0x204))/0x6*(parseInt(_0xfe82d6(0x20b))/0x7)+-parseInt(_0xfe82d6(0x203))/0x8+parseInt(_0xfe82d6(0x1cc))/0x9;if(_0x24c67e===_0x18f012)break;else _0x159ab6['push'](_0x159ab6['shift']());}catch(_0x5b539b){_0x159ab6['push'](_0x159ab6['shift']());}}}(_0x225d,0x85b68));import{Plugin as _0x104998}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5e41b7}from'./modelelementtracker.js';export class FootnotesTracker extends _0x104998{[_0x5964fb(0x1d8)]=[];[_0x5964fb(0x1c5)]=null;[_0x5964fb(0x1ea)]=null;[_0x5964fb(0x207)];[_0x5964fb(0x1cf)];[_0x5964fb(0x1dc)];static get[_0x5964fb(0x1e0)](){const _0x263410=_0x5964fb;return _0x263410(0x1d0);}static get[_0x5964fb(0x1de)](){return!0x0;}static get[_0x5964fb(0x21f)](){return!0x0;}constructor(_0x1ea0d4){const _0x4c5c49=_0x5964fb;super(_0x1ea0d4),this[_0x4c5c49(0x207)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x211),'getElementKey':()=>_0x4c5c49(0x227)}),this[_0x4c5c49(0x1cf)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x201),'getElementKey':_0x563fd9=>_0x563fd9[_0x4c5c49(0x215)](_0x4c5c49(0x213))}),this[_0x4c5c49(0x1dc)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x1f0),'getElementKey':_0x30dded=>_0x30dded[_0x4c5c49(0x215)](_0x4c5c49(0x213))});}[_0x5964fb(0x1d2)](){const _0x53d016=_0x5964fb,{editor:_0xa1b42}=this,{model:_0x3eb93d,data:_0x4eff7d}=_0xa1b42;_0x3eb93d[_0x53d016(0x1fb)][_0x53d016(0x1c8)](_0x1a39dd=>{const _0x3f3b86=_0x53d016,_0xbd1527=_0x3eb93d[_0x3f3b86(0x1fb)][_0x3f3b86(0x220)][_0x3f3b86(0x20e)]();let _0x7d59c1=!0x1;return this[_0x3f3b86(0x1cb)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1f3)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x210)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1c4)](_0x1a39dd)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1e8)](_0x1a39dd)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1f6)](_0x1a39dd)&&(_0x7d59c1=!0x0),_0x7d59c1;}),this[_0x53d016(0x21d)](_0x3eb93d[_0x53d016(0x1fb)],_0x53d016(0x209),()=>{const _0x445f05=_0x53d016;_0x3eb93d[_0x445f05(0x1fc)]({'isUndoable':!0x1},_0x202f6f=>{const _0x3e197c=_0x445f05;this[_0x3e197c(0x1f2)](_0x202f6f);});},{'priority':_0x53d016(0x216)}),this[_0x53d016(0x21d)](_0x4eff7d,_0x53d016(0x1ca),()=>{const _0xbaa89e=_0x53d016;this[_0xbaa89e(0x1d8)]=[],this[_0xbaa89e(0x207)][_0xbaa89e(0x225)](),this[_0xbaa89e(0x1cf)][_0xbaa89e(0x225)](),this[_0xbaa89e(0x1dc)][_0xbaa89e(0x225)]();},{'priority':_0x53d016(0x20d)});}[_0x5964fb(0x1ee)](){const _0x288d9e=_0x5964fb;return this[_0x288d9e(0x1c5)];}[_0x5964fb(0x1d9)](_0x2bce0f){const _0x241a18=_0x5964fb;return this[_0x241a18(0x1d8)][_0x241a18(0x1e6)](_0x5bfe51=>_0x5bfe51['id']===_0x2bce0f)||null;}[_0x5964fb(0x1fa)](){const _0x310d30=_0x5964fb;return Array[_0x310d30(0x1e5)](this[_0x310d30(0x1d8)]);}[_0x5964fb(0x200)](){const _0x40100e=_0x5964fb;return this[_0x40100e(0x1ea)];}[_0x5964fb(0x1cd)](_0x1f392e){const _0x40649c=_0x5964fb;this[_0x40649c(0x1ea)]=_0x1f392e;}[_0x5964fb(0x1f5)](_0x331c9d,_0x127d58=0x0){const _0x566d0a=_0x5964fb;let _0x5723e1=!0x1;for(let _0x3f3dfa=_0x127d58;_0x3f3dfa<this[_0x566d0a(0x1d8)][_0x566d0a(0x1db)];_0x3f3dfa++)this[_0x566d0a(0x20a)](_0x331c9d,_0x3f3dfa)&&(_0x5723e1=!0x0);return _0x5723e1;}[_0x5964fb(0x1ef)](_0x28f0f2,_0x141e4d){const _0x595517=_0x5964fb,_0x5788aa=_0x28f0f2[_0x595517(0x1eb)](_0x595517(0x211),{});return _0x28f0f2[_0x595517(0x1ed)](_0x5788aa,_0x141e4d),this[_0x595517(0x1c5)]=_0x5788aa,_0x5788aa;}[_0x5964fb(0x1f2)](_0x3a6598){const _0x391c64=_0x5964fb;if(!this[_0x391c64(0x1d8)][_0x391c64(0x1db)]||this[_0x391c64(0x1c5)])return;const _0x4b8b97=this[_0x391c64(0x1d8)][0x0][_0x391c64(0x1d7)][_0x391c64(0x1f8)],_0x3cf401=this[_0x391c64(0x1ef)](_0x3a6598,_0x4b8b97);for(const _0x44be4b of this[_0x391c64(0x1d8)])_0x44be4b[_0x391c64(0x224)][_0x391c64(0x20c)]||_0x3a6598[_0x391c64(0x1dd)](_0x44be4b[_0x391c64(0x224)],_0x3cf401,_0x391c64(0x214));this[_0x391c64(0x1f5)](_0x3a6598);}[_0x5964fb(0x1cb)](_0x49a919,_0x22df7e){const _0x9742d=_0x5964fb;let _0x2c3b2c=!0x1;const {inserted:_0x1a90bc,removed:_0x46bd3f,moved:_0x103be2}=this[_0x9742d(0x207)][_0x9742d(0x20e)](_0x22df7e);if(_0x103be2[_0x9742d(0x1db)]&&(this[_0x9742d(0x1c5)]=_0x103be2[0x0]),_0x1a90bc[_0x9742d(0x1db)]){if(_0x1a90bc[_0x9742d(0x1db)]>0x1||this[_0x9742d(0x1c5)]&&_0x1a90bc[_0x9742d(0x1e1)](_0x48b104=>_0x48b104!==this[_0x9742d(0x1c5)])){const _0x1f52dc=_0x49a919[_0x9742d(0x1eb)](_0x9742d(0x211),{}),_0x42e7dc=[];this[_0x9742d(0x1c5)]&&_0x42e7dc[_0x9742d(0x21b)](this[_0x9742d(0x1c5)]),_0x42e7dc[_0x9742d(0x21b)](..._0x1a90bc),_0x49a919[_0x9742d(0x1dd)](_0x1f52dc,_0x42e7dc[0x0],_0x9742d(0x218));for(const _0x316095 of _0x42e7dc)_0x49a919[_0x9742d(0x208)](_0x49a919[_0x9742d(0x1e7)](_0x316095),_0x49a919[_0x9742d(0x1d3)](_0x1f52dc,_0x9742d(0x214))),_0x49a919[_0x9742d(0x1d5)](_0x316095);this[_0x9742d(0x1c5)]=_0x1f52dc,this[_0x9742d(0x1f5)](_0x49a919),_0x2c3b2c=!0x0;}else this[_0x9742d(0x1c5)]=_0x1a90bc[0x0];}if(_0x46bd3f[_0x9742d(0x1db)]&&_0x9742d(0x217)===this[_0x9742d(0x1c5)]?.[_0x9742d(0x1f8)][_0x9742d(0x1f1)]){for(const _0x4e442c of this[_0x9742d(0x1d8)])_0x49a919[_0x9742d(0x1d5)](_0x4e442c[_0x9742d(0x1d7)]),_0x2c3b2c=!0x0;this[_0x9742d(0x1d8)]=[],this[_0x9742d(0x1c5)]=null;}return _0x2c3b2c;}[_0x5964fb(0x1f3)](_0x355cc4,_0x3faeeb){const _0x3ffc5a=_0x5964fb;let _0x17afba=!0x1;const _0x2f2496=this[_0x3ffc5a(0x1f7)][_0x3ffc5a(0x1da)][_0x3ffc5a(0x1d4)](_0x3ffc5a(0x205)),{inserted:_0x14017c,moved:_0x198876}=this[_0x3ffc5a(0x1dc)][_0x3ffc5a(0x20e)](_0x3faeeb);for(const _0x164c47 of[..._0x198876,..._0x14017c]){const _0x3b0377=_0x164c47[_0x3ffc5a(0x215)](_0x3ffc5a(0x213)),_0xcd4a44=this[_0x3ffc5a(0x1d9)](_0x3b0377);_0xcd4a44&&(_0xcd4a44[_0x3ffc5a(0x224)]=_0x164c47),_(_0x355cc4,_0x2f2496,_0x164c47)&&(_0x17afba=!0x0);}return _0x17afba;}[_0x5964fb(0x210)](_0x2870a5,_0x291f4f){const _0x386f4a=_0x5964fb;let _0x15b975=!0x1;const {removed:_0x2b0121,inserted:_0x55f72d,moved:_0x5f88e9}=this[_0x386f4a(0x1cf)][_0x386f4a(0x20e)](_0x291f4f);for(const _0x4fa236 of _0x2b0121)this[_0x386f4a(0x1e2)](_0x2870a5,_0x4fa236)&&(_0x15b975=!0x0);for(const _0x4db458 of _0x55f72d)this[_0x386f4a(0x1ce)](_0x2870a5,_0x4db458)&&(_0x15b975=!0x0);for(const _0x5b2c27 of _0x5f88e9)this[_0x386f4a(0x21a)](_0x2870a5,_0x5b2c27)&&(_0x15b975=!0x0);return _0x15b975;}[_0x5964fb(0x1e8)](_0x1efd1e){const _0x3a9883=_0x5964fb;if(!this[_0x3a9883(0x1c5)])return!0x1;let _0x133b6d=!0x1;if(this[_0x3a9883(0x1c5)][_0x3a9883(0x228)]!==this[_0x3a9883(0x1d8)][_0x3a9883(0x1db)]){const _0x5644f0=[];for(const _0x25112d of this[_0x3a9883(0x1c5)][_0x3a9883(0x219)]()){const _0xb3105a=_0x25112d[_0x3a9883(0x215)](_0x3a9883(0x213));this[_0x3a9883(0x1d9)](_0xb3105a)||(_0x5644f0[_0x3a9883(0x1f9)](_0x25112d),_0x133b6d=!0x0);}for(const _0x460fad of _0x5644f0)_0x1efd1e[_0x3a9883(0x1d5)](_0x460fad);}const _0x2877a0=new Set(),_0x35d61a=[];for(const _0x42172b of this[_0x3a9883(0x1c5)][_0x3a9883(0x219)]()){const _0x40f44b=_0x42172b[_0x3a9883(0x215)](_0x3a9883(0x213));_0x2877a0[_0x3a9883(0x21c)](_0x40f44b)?(_0x35d61a[_0x3a9883(0x1f9)](_0x42172b),_0x133b6d=!0x0):_0x2877a0[_0x3a9883(0x20f)](_0x40f44b);}for(const _0xa48948 of _0x35d61a)_0x1efd1e[_0x3a9883(0x1d5)](_0xa48948);return this[_0x3a9883(0x1c5)][_0x3a9883(0x228)]||(_0x1efd1e[_0x3a9883(0x1d5)](this[_0x3a9883(0x1c5)]),this[_0x3a9883(0x1c5)]=null,_0x133b6d=!0x0),_0x133b6d;}[_0x5964fb(0x1ce)](_0x383fd5,_0x4e9158){const _0xc1ff7b=_0x5964fb;if(this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1e6)](_0x16013d=>_0x16013d[_0xc1ff7b(0x1d7)]===_0x4e9158))return!0x1;let _0x46c0eb=!0x1;const _0xb36a10=_0x4e9158[_0xc1ff7b(0x215)](_0xc1ff7b(0x213)),_0x1dfccd=this[_0xc1ff7b(0x1d9)](_0xb36a10);_0x1dfccd&&(_0x383fd5[_0xc1ff7b(0x1d5)](_0x1dfccd[_0xc1ff7b(0x1d7)]),this[_0xc1ff7b(0x1d8)]=this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1d6)](_0x4ad4dd=>_0x4ad4dd['id']!==_0xb36a10),_0x46c0eb=!0x0);let _0x3097ff=this[_0xc1ff7b(0x1c5)]?function(_0x3d6e71,_0x305d28){const _0x2179aa=_0xc1ff7b;for(const _0x1467f6 of _0x3d6e71[_0x2179aa(0x219)]())if(_0x1467f6[_0x2179aa(0x215)](_0x2179aa(0x213))===_0x305d28)return _0x1467f6;return null;}(this[_0xc1ff7b(0x1c5)],_0xb36a10):null;_0x3097ff||(_0x3097ff=_0x383fd5[_0xc1ff7b(0x1eb)](_0xc1ff7b(0x1f0),{'footnoteId':_0xb36a10}),this[_0xc1ff7b(0x1c5)]&&(_0x383fd5[_0xc1ff7b(0x1dd)](_0x3097ff,this[_0xc1ff7b(0x1c5)],_0xc1ff7b(0x214)),_0x46c0eb=!0x0));const _0x9cc9c={'id':_0xb36a10,'reference':_0x4e9158,'definition':_0x3097ff},_0x3b64c5=I(this[_0xc1ff7b(0x1f7)][_0xc1ff7b(0x221)],this[_0xc1ff7b(0x1d8)],_0x4e9158);return this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1ec)](_0x3b64c5,0x0,_0x9cc9c),this[_0xc1ff7b(0x1f5)](_0x383fd5,_0x3b64c5)&&(_0x46c0eb=!0x0),_0x46c0eb;}[_0x5964fb(0x1e2)](_0x5e7f72,_0x86b764){const _0x52a8ad=_0x5964fb,_0x47114a=this[_0x52a8ad(0x1d8)][_0x52a8ad(0x212)](_0x47d9df=>_0x47d9df['id']===_0x86b764);if(-0x1===_0x47114a)return!0x1;let _0x6ac6a2=!0x1;const _0xb2245d=this[_0x52a8ad(0x1d8)][_0x47114a];return _0x52a8ad(0x217)!==_0xb2245d[_0x52a8ad(0x224)][_0x52a8ad(0x1f8)][_0x52a8ad(0x1f1)]&&(_0x5e7f72[_0x52a8ad(0x1d5)](_0xb2245d[_0x52a8ad(0x224)]),_0x6ac6a2=!0x0),this[_0x52a8ad(0x1d8)][_0x52a8ad(0x1ec)](_0x47114a,0x1),this[_0x52a8ad(0x1f5)](_0x5e7f72,_0x47114a)&&(_0x6ac6a2=!0x0),_0x6ac6a2;}[_0x5964fb(0x21a)](_0x717b96,_0x3dafab){const _0x58a61a=_0x5964fb,_0x913b35=_0x3dafab[_0x58a61a(0x215)](_0x58a61a(0x213)),_0x546ca8=this[_0x58a61a(0x1d8)][_0x58a61a(0x212)](_0x2f31c5=>_0x2f31c5['id']===_0x913b35),_0xa31d82=this[_0x58a61a(0x1d8)][_0x546ca8];let _0x1d7ce2=!0x1;_0xa31d82[_0x58a61a(0x1d7)]=_0x3dafab,this[_0x58a61a(0x1d8)][_0x58a61a(0x1ec)](_0x546ca8,0x1);const _0x3f6ca5=I(this[_0x58a61a(0x1f7)][_0x58a61a(0x221)],this[_0x58a61a(0x1d8)],_0x3dafab);return this[_0x58a61a(0x1d8)][_0x58a61a(0x1ec)](_0x3f6ca5,0x0,_0xa31d82),this[_0x58a61a(0x1f5)](_0x717b96,Math[_0x58a61a(0x1df)](_0x546ca8,_0x3f6ca5))&&(_0x1d7ce2=!0x0),_0x1d7ce2;}[_0x5964fb(0x20a)](_0x506906,_0x2b7492){const _0x4639ac=_0x5964fb;if(!this[_0x4639ac(0x1c5)])return!0x1;const _0x3de6f6=this[_0x4639ac(0x1d8)][_0x2b7492];let _0x57c510;return _0x57c510=this[_0x4639ac(0x1ea)]?this[_0x4639ac(0x1ea)]({'footnote':_0x3de6f6,'container':this[_0x4639ac(0x1c5)],'digits':String(this[_0x4639ac(0x1d8)][_0x4639ac(0x1db)])[_0x4639ac(0x1db)],'value':_0x2b7492+0x1}):String(_0x2b7492+0x1),_0x3de6f6[_0x4639ac(0x1d7)][_0x4639ac(0x215)](_0x4639ac(0x1d1))!=_0x57c510&&(_0x506906[_0x4639ac(0x1f4)](_0x4639ac(0x1d1),_0x57c510,_0x3de6f6[_0x4639ac(0x1d7)]),!0x0);}[_0x5964fb(0x1f6)](_0x18ae92){const _0x57de31=_0x5964fb;if(!this[_0x57de31(0x1c5)]||this[_0x57de31(0x1d8)][_0x57de31(0x1db)]<0x2)return!0x1;if(function(_0x59b959,_0x7cfe88){const _0x48f874=_0x57de31;if(_0x59b959[_0x48f874(0x1db)]!==_0x7cfe88[_0x48f874(0x1db)])return!0x1;for(let _0xa23e45=0x0;_0xa23e45<_0x59b959[_0x48f874(0x1db)];_0xa23e45++)if(_0x59b959[_0xa23e45]!==_0x7cfe88[_0xa23e45])return!0x1;return!0x0;}(this[_0x57de31(0x1d8)][_0x57de31(0x1c9)](_0x3af83e=>_0x3af83e['id']),Array[_0x57de31(0x1e5)](this[_0x57de31(0x1c5)][_0x57de31(0x219)]())[_0x57de31(0x1c9)](_0x1c9e15=>_0x1c9e15[_0x57de31(0x215)](_0x57de31(0x213)))))return!0x1;let _0x415e1d=!0x1;for(let _0x294460=0x0;_0x294460<this[_0x57de31(0x1d8)][_0x57de31(0x1db)];_0x294460++){const _0x4040fb=this[_0x57de31(0x1d8)][_0x294460],_0x1c253e=_0x18ae92[_0x57de31(0x202)](_0x4040fb[_0x57de31(0x224)]),_0x12a324=_0x18ae92[_0x57de31(0x1d3)](this[_0x57de31(0x1c5)],_0x294460);_0x1c253e[_0x57de31(0x1e3)](_0x12a324)||(_0x18ae92[_0x57de31(0x208)](_0x18ae92[_0x57de31(0x223)](_0x4040fb[_0x57de31(0x224)]),_0x12a324),_0x415e1d=!0x0);}return _0x415e1d;}[_0x5964fb(0x1c4)](_0x50d1db){const _0x5b0b9b=_0x5964fb;if(!this[_0x5b0b9b(0x1d8)][_0x5b0b9b(0x1db)])return!0x1;const {model:_0x44af50}=this[_0x5b0b9b(0x1f7)];let _0x468ecf=!0x1;for(let _0x59e85d=0x0;_0x59e85d<this[_0x5b0b9b(0x1d8)][_0x5b0b9b(0x1db)]-0x1;_0x59e85d++){const _0x3e67c1=this[_0x5b0b9b(0x1d8)][_0x59e85d],_0x6f61c4=this[_0x5b0b9b(0x1d8)][_0x59e85d+0x1],_0x1ef689=_0x44af50[_0x5b0b9b(0x202)](_0x3e67c1[_0x5b0b9b(0x1d7)]),_0x2e5d15=_0x44af50[_0x5b0b9b(0x202)](_0x6f61c4[_0x5b0b9b(0x1d7)]);_0x5b0b9b(0x1ff)===_0x1ef689[_0x5b0b9b(0x1fe)](_0x2e5d15)&&(this[_0x5b0b9b(0x21a)](_0x50d1db,_0x3e67c1[_0x5b0b9b(0x1d7)]),_0x59e85d=-0x1,_0x468ecf=!0x0);}return _0x468ecf;}}function _0x225d(){const _0x412bad=['_updateFootnoteRefCounter','35QDXruL','parent','high','getChanges','add','_handleFootnoteReferencesChanges','footnotesDefinitions','findIndex','footnoteId','end','getAttribute','low','$graveyard','before','getChildren','_handleMovedFootnoteReference','push','has','listenTo','paragraph','isPremiumPlugin','differ','model','4896810BuTONK','createRangeOn','definition','reset','256612VqErwu','singleton','childCount','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','getRootNames','8LfViiX','registerPostFixer','map','set','_handleFootnotesDefinitionsObjectChanges','43116516rAtLZr','setFootnoteFormatter','_handleInsertedFootnoteReference','_footnoteRefsTracker','FootnotesTracker','footnoteCounter','init','createPositionAt','get','remove','filter','reference','_footnotes','getFootnote','config','length','_footnoteDefsTracker','insert','isOfficialPlugin','min','pluginName','some','_handleRemoveFootnoteReferenceById','isEqual','indexOf','from','find','createRangeIn','_handleFootnotesDefinitionsObjectSync','668235gwddYT','_footnoteFormatter','createElement','splice','append','getFootnotesDefinitionsObjectElement','_insertEmptyFootnotesDefinitionsContainer','footnoteDefinition','rootName','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','setAttribute','_updateFootnotesCounters','_sortFootnoteDefinitions','editor','root','unshift','getFootnotes','document','enqueueChange','footnoteInlineContent','compareWith','after','getFootnotesFormatter','footnoteRef','createPositionBefore','8402024LGILhX','869394brJBKN','footnotes.multiBlock','663633TcTRYd','_footnoteDefsContainerTracker','move','change:data'];_0x225d=function(){return _0x412bad;};return _0x225d();}function _0x3505(_0x2fffa0,_0x511ae2){const _0x225dfd=_0x225d();return _0x3505=function(_0x35054b,_0x48774f){_0x35054b=_0x35054b-0x1c4;let _0x2f68db=_0x225dfd[_0x35054b];return _0x2f68db;},_0x3505(_0x2fffa0,_0x511ae2);}function _(_0x120539,_0x150c48,_0x579cb5){const _0x172325=_0x5964fb;if(_0x579cb5[_0x172325(0x228)])return!0x1;const _0x2e863c=_0x150c48?_0x172325(0x21e):_0x172325(0x1fd);return _0x120539[_0x172325(0x1dd)](_0x120539[_0x172325(0x1eb)](_0x2e863c),_0x579cb5),!0x0;}function I(_0x5e508b,_0x1fc3c7,_0x454504){const _0x7e3fa0=_0x5964fb;if(0x0===_0x1fc3c7[_0x7e3fa0(0x1db)])return 0x0;const _0x1fa99f=_0x5e508b[_0x7e3fa0(0x202)](_0x454504);for(let _0x24fa2d=0x0;_0x24fa2d<_0x1fc3c7[_0x7e3fa0(0x1db)];_0x24fa2d++){const _0xa90d3d=_0x1fc3c7[_0x24fa2d],_0x39c6f2=_0x5e508b[_0x7e3fa0(0x202)](_0xa90d3d[_0x7e3fa0(0x1d7)]);if(_0x7e3fa0(0x218)===_0x1fa99f[_0x7e3fa0(0x1fe)](_0x39c6f2))return _0x24fa2d;}const _0x3cfcca=_0x454504[_0x7e3fa0(0x1f8)];let _0x1cc81b=-0x1;for(let _0x1801eb=_0x1fc3c7[_0x7e3fa0(0x1db)]-0x1;_0x1801eb>=0x0;_0x1801eb--)if(_0x1fc3c7[_0x1801eb][_0x7e3fa0(0x1d7)][_0x7e3fa0(0x1f8)]===_0x3cfcca){_0x1cc81b=_0x1801eb;break;}if(-0x1!==_0x1cc81b)return _0x1cc81b+0x1;const _0x3877fe=_0x5e508b[_0x7e3fa0(0x1fb)][_0x7e3fa0(0x1c6)](),_0x12a102=_0x3877fe[_0x7e3fa0(0x1e4)](_0x3cfcca[_0x7e3fa0(0x1f1)]),_0x4b7810=_0x3877fe[_0x12a102+0x1];if(_0x4b7810){for(let _0x27815e=0x0;_0x27815e<_0x1fc3c7[_0x7e3fa0(0x1db)];_0x27815e++)if(_0x1fc3c7[_0x27815e][_0x7e3fa0(0x1d7)][_0x7e3fa0(0x1f8)][_0x7e3fa0(0x1f1)]===_0x4b7810)return _0x27815e;}return _0x1fc3c7[_0x7e3fa0(0x1db)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5ba3f9,MenuBarMenuListItemButtonView as _0x3315cb}from'ckeditor5/src/ui.js';import{Plugin as _0x5214b4}from'ckeditor5/src/core.js';import{IconFootnote as _0x58c30d}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5214b4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2caadd}=this,{componentFactory:_0x5628d5}=_0x2caadd['ui'];_0x5628d5['add']('insertFootnote',x(_0x2caadd,_0x5ba3f9)),_0x5628d5['add']('menuBar:insertFootnote',x(_0x2caadd,_0x3315cb)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb32721=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x316292;for(const _0x4b3ee4 in _0xb32721){const _0x1e7f74=_0x4b3ee4,_0x2bd409=_0xb32721[_0x1e7f74];if('footnotesLicenseKeyValid'==_0x2bd409||'footnotesLicenseKeyInvalid'==_0x2bd409||'footnotesLicenseKeyExpired'==_0x2bd409||'footnotesLicenseKeyDomainLimit'==_0x2bd409||'footnotesLicenseKeyNotAllowed'==_0x2bd409||'footnotesLicenseKeyEvaluationLimit'==_0x2bd409||'footnotesLicenseKeyTrialLimit'==_0x2bd409||'footnotesLicenseKeyUsageLimit'==_0x2bd409){delete _0xb32721[_0x1e7f74],_0x316292=_0x2bd409,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x316292&&_0xb32721['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x316292&&_0xb32721['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x316292&&_0xb32721['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x316292&&_0xb32721['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x316292&&_0xb32721['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x316292&&_0xb32721['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x316292&&_0xb32721['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x415d31,_0x464785){const _0x15e3e8=_0x415d31['commands']['get']('insertFootnote');return _0x42fa31=>{const {t:t}=_0x42fa31,_0x54514c=new _0x464785(_0x42fa31),_0x298853=_0x54514c instanceof _0x3315cb;return _0x54514c['bind']('isEnabled')['to'](_0x15e3e8,'isEnabled'),_0x54514c['set']({'label':t(_0x298853?'Footnote':'Insert\x20footnote'),'icon':_0x58c30d,'tooltip':!0x0}),_0x54514c['on']('execute',()=>{_0x15e3e8['execute'](),_0x415d31['editing']['view']['focus']();}),_0x54514c;};}
23
+ import{ButtonView as _0x30c48e,MenuBarMenuListItemButtonView as _0x3a10bc}from'ckeditor5/src/ui.js';import{Plugin as _0x1e1eaa}from'ckeditor5/src/core.js';import{IconFootnote as _0x4afbe2}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1e1eaa{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13798c}=this,{componentFactory:_0x4a0697}=_0x13798c['ui'];_0x4a0697['add']('insertFootnote',x(_0x13798c,_0x30c48e)),_0x4a0697['add']('menuBar:insertFootnote',x(_0x13798c,_0x3a10bc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a79a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d9866;for(const _0x1e3f97 in _0x2a79a9){const _0x39ab3b=_0x1e3f97,_0x5a0e4f=_0x2a79a9[_0x39ab3b];if('footnotesLicenseKeyValid'==_0x5a0e4f||'footnotesLicenseKeyInvalid'==_0x5a0e4f||'footnotesLicenseKeyExpired'==_0x5a0e4f||'footnotesLicenseKeyDomainLimit'==_0x5a0e4f||'footnotesLicenseKeyNotAllowed'==_0x5a0e4f||'footnotesLicenseKeyEvaluationLimit'==_0x5a0e4f||'footnotesLicenseKeyTrialLimit'==_0x5a0e4f||'footnotesLicenseKeyUsageLimit'==_0x5a0e4f){delete _0x2a79a9[_0x39ab3b],_0x1d9866=_0x5a0e4f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1d9866&&_0x2a79a9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1d9866&&_0x2a79a9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1d9866&&_0x2a79a9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2f5481,_0x42e090){const _0x15224e=_0x2f5481['commands']['get']('insertFootnote');return _0x2ce3b1=>{const {t:t}=_0x2ce3b1,_0x12e169=new _0x42e090(_0x2ce3b1),_0x1a3f92=_0x12e169 instanceof _0x3a10bc;return _0x12e169['bind']('isEnabled')['to'](_0x15224e,'isEnabled'),_0x12e169['set']({'label':t(_0x1a3f92?'Footnote':'Insert\x20footnote'),'icon':_0x4afbe2,'tooltip':!0x0}),_0x12e169['on']('execute',()=>{_0x15224e['execute'](),_0x2f5481['editing']['view']['focus']();}),_0x12e169;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x313a03,_0x2b7c68){var _0x5803f4=_0x1663,_0x557950=_0x313a03();while(!![]){try{var _0x32a439=-parseInt(_0x5803f4(0x13e))/0x1*(parseInt(_0x5803f4(0x13b))/0x2)+-parseInt(_0x5803f4(0x13a))/0x3*(-parseInt(_0x5803f4(0x143))/0x4)+-parseInt(_0x5803f4(0x13f))/0x5*(parseInt(_0x5803f4(0x141))/0x6)+parseInt(_0x5803f4(0x142))/0x7*(parseInt(_0x5803f4(0x140))/0x8)+parseInt(_0x5803f4(0x139))/0x9*(-parseInt(_0x5803f4(0x144))/0xa)+-parseInt(_0x5803f4(0x13d))/0xb*(-parseInt(_0x5803f4(0x13c))/0xc)+parseInt(_0x5803f4(0x145))/0xd;if(_0x32a439===_0x2b7c68)break;else _0x557950['push'](_0x557950['shift']());}catch(_0x530660){_0x557950['push'](_0x557950['shift']());}}}(_0x2a27,0xc6833));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x2a27(){var _0x1cf5f0=['13jrnhDX','45PcVWLT','233032oIviLG','817356uJIlyW','77WagIxT','3134336FdqwCu','1240cMdECw','17860492cEzCHI','55017JrCPpc','3ZyCLOn','107890rsSyzK','12246612NTEeIC','11wEmVSA'];_0x2a27=function(){return _0x1cf5f0;};return _0x2a27();}function _0x1663(_0x7132bc,_0x6c58b6){var _0x2a2792=_0x2a27();return _0x1663=function(_0x166388,_0x1f6f6a){_0x166388=_0x166388-0x139;var _0x40733e=_0x2a2792[_0x166388];return _0x40733e;},_0x1663(_0x7132bc,_0x6c58b6);}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x288c34,_0x352630){var _0x840a78=_0x4884,_0x1b671f=_0x288c34();while(!![]){try{var _0xa47b51=parseInt(_0x840a78(0x166))/0x1*(-parseInt(_0x840a78(0x169))/0x2)+parseInt(_0x840a78(0x16b))/0x3*(parseInt(_0x840a78(0x167))/0x4)+parseInt(_0x840a78(0x168))/0x5*(-parseInt(_0x840a78(0x163))/0x6)+-parseInt(_0x840a78(0x164))/0x7+-parseInt(_0x840a78(0x161))/0x8+-parseInt(_0x840a78(0x165))/0x9+-parseInt(_0x840a78(0x162))/0xa*(-parseInt(_0x840a78(0x16a))/0xb);if(_0xa47b51===_0x352630)break;else _0x1b671f['push'](_0x1b671f['shift']());}catch(_0x2eb16f){_0x1b671f['push'](_0x1b671f['shift']());}}}(_0x2ecf,0x829bc));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0x2ecf(){var _0xcfebb3=['6720826xMocfs','1868022arfLHj','1Aqxhdx','916ytpWSR','10NIFbFX','1525134qQRWOD','11HdDbNP','2931JvzDtA','7827112UmLBCc','37172810wRswSO','1492230fcPZVs'];_0x2ecf=function(){return _0xcfebb3;};return _0x2ecf();}function _0x4884(_0x35e75c,_0x501d1a){var _0x2ecfb6=_0x2ecf();return _0x4884=function(_0x488499,_0x45d6dc){_0x488499=_0x488499-0x161;var _0x52e1c1=_0x2ecfb6[_0x488499];return _0x52e1c1;},_0x4884(_0x35e75c,_0x501d1a);}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2988(_0x25634a,_0x33beca){const _0x3e2116=_0x3e21();return _0x2988=function(_0x298899,_0x4ea9c4){_0x298899=_0x298899-0x1e4;let _0x1089e2=_0x3e2116[_0x298899];return _0x1089e2;},_0x2988(_0x25634a,_0x33beca);}const _0xd36551=_0x2988;(function(_0x1ec5fb,_0x3c4e0c){const _0x239421=_0x2988,_0x4a020b=_0x1ec5fb();while(!![]){try{const _0x4e3f78=-parseInt(_0x239421(0x202))/0x1+parseInt(_0x239421(0x20f))/0x2+parseInt(_0x239421(0x1f6))/0x3+-parseInt(_0x239421(0x1f7))/0x4*(-parseInt(_0x239421(0x1ff))/0x5)+-parseInt(_0x239421(0x1f5))/0x6*(-parseInt(_0x239421(0x1f8))/0x7)+parseInt(_0x239421(0x1ef))/0x8+parseInt(_0x239421(0x201))/0x9*(-parseInt(_0x239421(0x205))/0xa);if(_0x4e3f78===_0x3c4e0c)break;else _0x4a020b['push'](_0x4a020b['shift']());}catch(_0x2f2982){_0x4a020b['push'](_0x4a020b['shift']());}}}(_0x3e21,0x59df2));function _0x3e21(){const _0x292c8c=['_elementName','values','push','has','getChanges','createRangeOn','getElementKey','flat','name','430232WTmFwV','_model','from','clear','root','get','type','element','position','getItems','add','slice','446056AhniJE','length','$graveyard','rootName','remove','nodeAfter','6FaQISf','1587504NZeWHk','696LZIOyQ','1835869GsWjXO','elementName','insert','_getElementKey','delete','attributes','_trackedElements','10265NVrhms','set','9NPnMtr','197749LZpjmA','$text','reset','8536670LIzsbA'];_0x3e21=function(){return _0x292c8c;};return _0x3e21();}export class ModelElementTracker{[_0xd36551(0x1e4)];[_0xd36551(0x206)];[_0xd36551(0x1fb)];[_0xd36551(0x1fe)]=new Map();constructor(_0x26e366,_0x1b9d84){const _0x15bdd3=_0xd36551;this[_0x15bdd3(0x1e4)]=_0x26e366,this[_0x15bdd3(0x206)]=_0x1b9d84[_0x15bdd3(0x1f9)],this[_0x15bdd3(0x1fb)]=_0x1b9d84[_0x15bdd3(0x20c)];}[_0xd36551(0x204)](){const _0x311cb2=_0xd36551;this[_0x311cb2(0x1fe)][_0x311cb2(0x1e6)]();}[_0xd36551(0x20a)](_0x125947){const _0x2325fc=_0xd36551,_0x31dc62=new Set(),_0x260062=new Map();for(const _0x6c49ae of _0x125947){if(_0x2325fc(0x1fa)===_0x6c49ae[_0x2325fc(0x1e9)]&&_0x2325fc(0x203)!==_0x6c49ae[_0x2325fc(0x20e)]&&_0x6c49ae[_0x2325fc(0x1eb)][_0x2325fc(0x1f4)]){const _0x18fcf8=this[_0x2325fc(0x1e4)][_0x2325fc(0x20b)](_0x6c49ae[_0x2325fc(0x1eb)][_0x2325fc(0x1f4)]);for(const _0x1157f4 of _0x18fcf8[_0x2325fc(0x1ec)]()){if(!_0x1157f4['is'](_0x2325fc(0x1ea),this[_0x2325fc(0x206)]))continue;const _0x49f81=this[_0x2325fc(0x1fb)](_0x1157f4);_0x260062[_0x2325fc(0x209)](_0x49f81)||_0x260062[_0x2325fc(0x200)](_0x49f81,[]),_0x260062[_0x2325fc(0x1e8)](_0x49f81)[_0x2325fc(0x208)](_0x1157f4);}}if(_0x2325fc(0x1f3)===_0x6c49ae[_0x2325fc(0x1e9)]&&_0x6c49ae[_0x2325fc(0x20e)]===this[_0x2325fc(0x206)]){const _0x363d7f=this[_0x2325fc(0x1fb)]({'getAttribute':_0x561229=>_0x6c49ae[_0x2325fc(0x1fd)][_0x2325fc(0x1e8)](_0x561229)});_0x31dc62[_0x2325fc(0x1ed)](_0x363d7f);}}for(const [_0x183215,_0x2abbd5]of this[_0x2325fc(0x1fe)])_0x2325fc(0x1f1)===_0x2abbd5[_0x2325fc(0x1e7)][_0x2325fc(0x1f2)]&&_0x31dc62[_0x2325fc(0x1ed)](_0x183215);for(const _0x5d9111 of _0x31dc62)this[_0x2325fc(0x1fe)][_0x2325fc(0x1fc)](_0x5d9111);for(const [_0x5b1025,_0x28d2c0]of _0x260062)this[_0x2325fc(0x1fe)][_0x2325fc(0x200)](_0x5b1025,_0x28d2c0[_0x28d2c0[_0x2325fc(0x1f0)]-0x1]);const _0x631b7a=new Set();for(const [_0x30af76,_0x2587ad]of _0x260062)_0x31dc62[_0x2325fc(0x209)](_0x30af76)&&(_0x631b7a[_0x2325fc(0x1ed)](_0x2587ad[0x0]),_0x2587ad[_0x2325fc(0x1f0)]>0x1?_0x260062[_0x2325fc(0x200)](_0x30af76,_0x2587ad[_0x2325fc(0x1ee)](0x1)):_0x260062[_0x2325fc(0x1fc)](_0x30af76),_0x31dc62[_0x2325fc(0x1fc)](_0x30af76));return{'removed':Array[_0x2325fc(0x1e5)](_0x31dc62),'inserted':Array[_0x2325fc(0x1e5)](_0x260062[_0x2325fc(0x207)]())[_0x2325fc(0x20d)](),'moved':Array[_0x2325fc(0x1e5)](_0x631b7a)};}}
23
+ function _0x4ffd(){const _0x3fb191=['slice','position','$text','createRangeOn','4KeNqeS','1644237bGbxvX','136835dzzCTf','76770ISARHK','delete','_elementName','has','set','add','_trackedElements','86VNvBzn','$graveyard','rootName','from','flat','_model','elementName','values','root','837910rzOMfB','16FYIrDV','push','_getElementKey','nodeAfter','638890ZYqqxo','remove','getElementKey','insert','clear','127005hQrMxF','length','get','name','element','reset','8973omYMSw','getItems','attributes','type','getChanges'];_0x4ffd=function(){return _0x3fb191;};return _0x4ffd();}function _0x362b(_0x13f976,_0xa01640){const _0x4ffdb6=_0x4ffd();return _0x362b=function(_0x362b8f,_0x2803ee){_0x362b8f=_0x362b8f-0x1f3;let _0x3f7ebc=_0x4ffdb6[_0x362b8f];return _0x3f7ebc;},_0x362b(_0x13f976,_0xa01640);}const _0x739809=_0x362b;(function(_0x305721,_0x4da166){const _0x41b101=_0x362b,_0x3cc08c=_0x305721();while(!![]){try{const _0x447f62=parseInt(_0x41b101(0x216))/0x1+parseInt(_0x41b101(0x203))/0x2*(parseInt(_0x41b101(0x21c))/0x3)+parseInt(_0x41b101(0x1f9))/0x4*(-parseInt(_0x41b101(0x1fb))/0x5)+-parseInt(_0x41b101(0x1fc))/0x6+-parseInt(_0x41b101(0x211))/0x7*(parseInt(_0x41b101(0x20d))/0x8)+parseInt(_0x41b101(0x1fa))/0x9+-parseInt(_0x41b101(0x20c))/0xa;if(_0x447f62===_0x4da166)break;else _0x3cc08c['push'](_0x3cc08c['shift']());}catch(_0x1a7dec){_0x3cc08c['push'](_0x3cc08c['shift']());}}}(_0x4ffd,0x202ea));export class ModelElementTracker{[_0x739809(0x208)];[_0x739809(0x1fe)];[_0x739809(0x20f)];[_0x739809(0x202)]=new Map();constructor(_0x3fae7e,_0x3db26c){const _0x44d7fe=_0x739809;this[_0x44d7fe(0x208)]=_0x3fae7e,this[_0x44d7fe(0x1fe)]=_0x3db26c[_0x44d7fe(0x209)],this[_0x44d7fe(0x20f)]=_0x3db26c[_0x44d7fe(0x213)];}[_0x739809(0x21b)](){const _0x4bc7e8=_0x739809;this[_0x4bc7e8(0x202)][_0x4bc7e8(0x215)]();}[_0x739809(0x1f4)](_0x34d193){const _0x25d2a6=_0x739809,_0x2c8e3e=new Set(),_0x376b3f=new Map();for(const _0x12c5c7 of _0x34d193){if(_0x25d2a6(0x214)===_0x12c5c7[_0x25d2a6(0x1f3)]&&_0x25d2a6(0x1f7)!==_0x12c5c7[_0x25d2a6(0x219)]&&_0x12c5c7[_0x25d2a6(0x1f6)][_0x25d2a6(0x210)]){const _0x74bc30=this[_0x25d2a6(0x208)][_0x25d2a6(0x1f8)](_0x12c5c7[_0x25d2a6(0x1f6)][_0x25d2a6(0x210)]);for(const _0x4fb506 of _0x74bc30[_0x25d2a6(0x21d)]()){if(!_0x4fb506['is'](_0x25d2a6(0x21a),this[_0x25d2a6(0x1fe)]))continue;const _0x168dac=this[_0x25d2a6(0x20f)](_0x4fb506);_0x376b3f[_0x25d2a6(0x1ff)](_0x168dac)||_0x376b3f[_0x25d2a6(0x200)](_0x168dac,[]),_0x376b3f[_0x25d2a6(0x218)](_0x168dac)[_0x25d2a6(0x20e)](_0x4fb506);}}if(_0x25d2a6(0x212)===_0x12c5c7[_0x25d2a6(0x1f3)]&&_0x12c5c7[_0x25d2a6(0x219)]===this[_0x25d2a6(0x1fe)]){const _0xe1821a=this[_0x25d2a6(0x20f)]({'getAttribute':_0x458362=>_0x12c5c7[_0x25d2a6(0x21e)][_0x25d2a6(0x218)](_0x458362)});_0x2c8e3e[_0x25d2a6(0x201)](_0xe1821a);}}for(const [_0x368d8f,_0x560fbc]of this[_0x25d2a6(0x202)])_0x25d2a6(0x204)===_0x560fbc[_0x25d2a6(0x20b)][_0x25d2a6(0x205)]&&_0x2c8e3e[_0x25d2a6(0x201)](_0x368d8f);for(const _0x8b8178 of _0x2c8e3e)this[_0x25d2a6(0x202)][_0x25d2a6(0x1fd)](_0x8b8178);for(const [_0x8196bd,_0x25ea98]of _0x376b3f)this[_0x25d2a6(0x202)][_0x25d2a6(0x200)](_0x8196bd,_0x25ea98[_0x25ea98[_0x25d2a6(0x217)]-0x1]);const _0x4bc642=new Set();for(const [_0x395fe9,_0x573b3e]of _0x376b3f)_0x2c8e3e[_0x25d2a6(0x1ff)](_0x395fe9)&&(_0x4bc642[_0x25d2a6(0x201)](_0x573b3e[0x0]),_0x573b3e[_0x25d2a6(0x217)]>0x1?_0x376b3f[_0x25d2a6(0x200)](_0x395fe9,_0x573b3e[_0x25d2a6(0x1f5)](0x1)):_0x376b3f[_0x25d2a6(0x1fd)](_0x395fe9),_0x2c8e3e[_0x25d2a6(0x1fd)](_0x395fe9));return{'removed':Array[_0x25d2a6(0x206)](_0x2c8e3e),'inserted':Array[_0x25d2a6(0x206)](_0x376b3f[_0x25d2a6(0x20a)]())[_0x25d2a6(0x207)](),'moved':Array[_0x25d2a6(0x206)](_0x4bc642)};}}