@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251028.0 → 0.0.0-nightly-20251030.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 _0xb1947e}from'ckeditor5/src/core.js';import{isWidget as _0x11f49d,toWidget as _0x397288,toWidgetEditable as _0x572246}from'ckeditor5/src/widget.js';import{uid as _0x393ee6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x419972,ClickObserver as _0x263000}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1d03da}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x23bb79}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xb1947e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1d03da];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2353c7}=this;_0x2353c7['config']['define']('footnotes.multiBlock',!0x0),_0x2353c7['commands']['add']('insertFootnote',new _0x23bb79(_0x2353c7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4a4ae7){const _0x3e4137=_0x4f50a7([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]),_0x38be54=0x47a28506,_0x11898a=0x47a5f27e^_0x38be54,_0x1f29e8=window[_0x4f50a7([0x44,0x61,0x74,0x65])][_0x4f50a7([0x6e,0x6f,0x77])](),_0x5aa9e4=_0x4a4ae7[_0x4f50a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4de196=new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46ba8d=>{_0x5aa9e4[_0x4f50a7([0x6f,0x6e,0x63,0x65])](_0x4f50a7([0x72,0x65,0x61,0x64,0x79]),_0x46ba8d);}),_0x575b1e={[_0x4f50a7([0x6b,0x74,0x79])]:_0x4f50a7([0x45,0x43]),[_0x4f50a7([0x75,0x73,0x65])]:_0x4f50a7([0x73,0x69,0x67]),[_0x4f50a7([0x63,0x72,0x76])]:_0x4f50a7([0x50,0x2d,0x32,0x35,0x36]),[_0x4f50a7([0x78])]:_0x4f50a7([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]),[_0x4f50a7([0x79])]:_0x4f50a7([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]),[_0x4f50a7([0x61,0x6c,0x67])]:_0x4f50a7([0x45,0x53,0x32,0x35,0x36])},_0x45a79d=_0x5aa9e4[_0x4f50a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f50a7([0x67,0x65,0x74])](_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x499e99(){let _0x23339c,_0x57e9ab=null,_0x427d92=null;try{if(_0x45a79d==_0x4f50a7([0x47,0x50,0x4c]))return _0x4f50a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23339c=_0x911977(),!_0x23339c)return _0x4f50a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23339c[_0x4f50a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x427d92=_0x16a89d(_0x23339c[_0x4f50a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23339c[_0x4f50a7([0x6a,0x74,0x69])])),await _0x47cee3()?_0x309722()?_0x3d0c53()?_0x4f50a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c1c41()?(_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f50a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57e9ab=_0x2466a1(_0x4f50a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f50a7([0x74,0x72,0x69,0x61,0x6c])&&(_0x57e9ab=_0x2466a1(_0x4f50a7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ce74d()):_0x4f50a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f50a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f50a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f50a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d0c53(){const _0x50ce79=[_0x4f50a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f50a7([0x74,0x72,0x69,0x61,0x6c])][_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f29e8/0x3e8:0xe10*_0x11898a;return _0x23339c[_0x4f50a7([0x65,0x78,0x70])]<_0x50ce79;}function _0x309722(){const _0x418f2d=_0x23339c[_0x4f50a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x418f2d&&(!!_0x418f2d[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f50a7([0x2a]))||!!_0x418f2d[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f50a7([0x46,0x4f,0x4f])));}function _0x2c1c41(){const _0x503fb0=_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x503fb0||0x0==_0x503fb0[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43b169}=new URL(window[_0x4f50a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x503fb0[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b169))return!0x0;const _0x52cc29=_0x43b169[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e]));return _0x503fb0[_0x4f50a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x240ff2=>_0x240ff2[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f50a7([0x2a])))[_0x4f50a7([0x6d,0x61,0x70])](_0x2cb2c7=>_0x2cb2c7[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e])))[_0x4f50a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a90d4=>_0x3a90d4[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52cc29[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f50a7([0x6d,0x61,0x70])](_0x47609c=>Array(_0x52cc29[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47609c[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f50a7([0x66,0x69,0x6c,0x6c])](_0x47609c[0x0]===_0x4f50a7([0x2a])?_0x4f50a7([0x2a]):'')[_0x4f50a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47609c))[_0x4f50a7([0x73,0x6f,0x6d,0x65])](_0x43586c=>_0x52cc29[_0x4f50a7([0x65,0x76,0x65,0x72,0x79])]((_0x544374,_0x3ad348)=>_0x43586c[_0x3ad348]===_0x544374||_0x43586c[_0x3ad348]===_0x4f50a7([0x2a])));}function _0x1ce74d(){return _0x57e9ab&&_0x427d92?new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4df67e,_0x492310)=>{_0x57e9ab[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x4df67e,_0x492310),_0x427d92[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x367fec=>{_0x367fec!=_0x4f50a7([0x56,0x61,0x6c,0x69,0x64])&&_0x4df67e(_0x367fec);},_0x492310);}):_0x57e9ab||_0x427d92||_0x4f50a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16a89d(_0x1fd1c7,_0x173fa7){return new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c070c=>{if(_0x519de2())return _0x3c070c(_0x4f50a7([0x56,0x61,0x6c,0x69,0x64]));_0x311b4e(),_0x5aa9e4[_0x4f50a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f50a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b2b35=!0x1;const _0x3eec3f=_0x393ee6();function _0x3ccb88(_0x4d10e2){return!!_0x4d10e2&&(typeof _0x4d10e2===_0x4f50a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d10e2===_0x4f50a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d10e2[_0x4f50a7([0x74,0x68,0x65,0x6e])]===_0x4f50a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d10e2[_0x4f50a7([0x63,0x61,0x74,0x63,0x68])]===_0x4f50a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x315d74(_0x1fee6b){_0x3b1d26(_0x1fee6b)[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x413b83=>{if(!_0x413b83||_0x413b83[_0x4f50a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f50a7([0x6f,0x6b]))return _0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ccf92(_0x27bdab(_0x3eec3f+_0x173fa7))!=_0x413b83[_0x4f50a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f50a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x10f34b=>(_0x442ed3(),_0x10f34b),()=>{const _0xeba2de=_0x34a992();return null==_0xeba2de?(_0x442ed3(),_0x4f50a7([0x56,0x61,0x6c,0x69,0x64])):_0x4f50a7(_0x1f29e8-_0xeba2de>(0x63ae0106^_0x38be54)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x3c070c)[_0x4f50a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c070c(_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11f551=0x47946b86^_0x38be54;function _0x442ed3(){const _0x4e2697=_0x4f50a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ccf92(_0x27bdab(_0x1fd1c7)),_0x31e6cb=_0xcecd76(_0x2ccf92(window[_0x4f50a7([0x4d,0x61,0x74,0x68])][_0x4f50a7([0x63,0x65,0x69,0x6c])](_0x1f29e8/_0x11f551)));window[_0x4f50a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f50a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e2697,_0x31e6cb);}function _0x34a992(){const _0x3297e1=_0x4f50a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ccf92(_0x27bdab(_0x1fd1c7)),_0x547914=window[_0x4f50a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f50a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3297e1);return _0x547914?window[_0x4f50a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcecd76(_0x547914),0x10)*_0x11f551:null;}function _0x3b1d26(_0x207a2b){return new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34c5ae,_0x418faa)=>{_0x207a2b[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x34c5ae,_0x418faa),window[_0x4f50a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x418faa,0x47a351c6^_0x38be54);});}}_0x5aa9e4[_0x4f50a7([0x6f,0x6e])](_0x4f50a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13799e,_0x1c704d)=>{if(_0x1c704d[0x0]!=_0x1fd1c7)return _0x3c070c(_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c704d[0x1]={..._0x1c704d[0x1],[_0x4f50a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3eec3f};},{[_0x4f50a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f50a7([0x68,0x69,0x67,0x68])}),_0x5aa9e4[_0x4f50a7([0x6f,0x6e])](_0x4f50a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x333c5f=>{_0x3ccb88(_0x333c5f[_0x4f50a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b2b35=!0x0,_0x315d74(_0x333c5f[_0x4f50a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f50a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f50a7([0x6c,0x6f,0x77])}),_0x4de196[_0x4f50a7([0x74,0x68,0x65,0x6e])](()=>{_0x4b2b35||_0x3c070c(_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x519de2(){return _0x5aa9e4[_0x4f50a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f50a7([0x76,0x69,0x65,0x77])][_0x4f50a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f50a7([0x61,0x75,0x74,0x6f]);}function _0x311b4e(){_0x5aa9e4[_0x4f50a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f50a7([0x76,0x69,0x65,0x77])][_0x4f50a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f50a7([0x61,0x75,0x74,0x6f]);}}function _0x2466a1(_0x5ddf14){const _0x32cc41=[new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2ab0=>setTimeout(_0x1d2ab0,0x47abbbca^_0x38be54)),_0x4de196[_0x4f50a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ffb62=>{let _0x511b8d=0x0;_0x5aa9e4[_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f50a7([0x6f,0x6e])](_0x4f50a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54c9f4,_0x2f5781)=>{_0x2f5781[0x0][_0x4f50a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x511b8d++,_0x511b8d==(0x47a284fe^_0x38be54)&&(_0x1ffb62(),_0x54c9f4[_0x4f50a7([0x6f,0x66,0x66])]());});}))];return window[_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f50a7([0x72,0x61,0x63,0x65])](_0x32cc41)[_0x4f50a7([0x74,0x68,0x65,0x6e])](()=>_0x5ddf14);}async function _0x45d13a(){await _0x4de196,_0x5aa9e4[_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f50a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12b541,_0x5aa9e4[_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f50a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12b541,_0x5aa9e4[_0x4f50a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33fbfa(_0x265cbd){const _0x289fba=_0x1dde58();_0x5aa9e4[_0x289fba]=_0x4f50a7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x265cbd,_0x265cbd!=_0x4f50a7([0x56,0x61,0x6c,0x69,0x64])&&_0x45d13a();}function _0x1dde58(){const _0x5f4268=window[_0x4f50a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f50a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f50a7([0x6e,0x6f,0x77])]())[_0x4f50a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f50a7([0x2e]),'');let _0x614624=_0x4f50a7([0x75]);for(let _0x494404=0x0;_0x494404<_0x5f4268[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x494404+=0x2){let _0x2c5b18=window[_0x4f50a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f4268[_0x4f50a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x494404,_0x494404+0x2));_0x2c5b18>=_0x3e4137[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c5b18-=_0x3e4137[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x614624+=_0x3e4137[_0x2c5b18];}return _0x614624;}function _0x911977(){const _0x349774=_0x45a79d[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e]));if(0x3!=_0x349774[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c591d(_0x349774[0x1]);function _0x1c591d(_0x3d7981){const _0x3c1369=_0x42b35e(_0x3d7981);return _0x3c1369&&_0xe9683d()?_0x3c1369:null;function _0xe9683d(){const _0x5a5b90=_0x3c1369[_0x4f50a7([0x6a,0x74,0x69])],_0x2fb43c=window[_0x4f50a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5b90[_0x4f50a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a5b90[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34b271={..._0x3c1369,[_0x4f50a7([0x6a,0x74,0x69])]:_0x5a5b90[_0x4f50a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a5b90[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34b271[_0x4f50a7([0x76,0x63])],_0x27bdab(_0x34b271)==_0x2fb43c;}}}async function _0x47cee3(){let _0x1edf36=!0x0;try{const _0x1b838e=_0x45a79d[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e])),[_0x4cea6a,_0xa3eb81,_0x508147]=_0x1b838e;return _0x110586(_0x4cea6a),await _0x5db337(_0x4cea6a,_0xa3eb81,_0x508147),_0x1edf36;}catch{return!0x1;}function _0x110586(_0x4dc9b3){const _0x5d8925=_0x42b35e(_0x4dc9b3);_0x5d8925&&_0x5d8925[_0x4f50a7([0x61,0x6c,0x67])]==_0x4f50a7([0x45,0x53,0x32,0x35,0x36])||(_0x1edf36=!0x1);}async function _0x5db337(_0x1e454a,_0x6dd7ba,_0xeb3eb5){const _0x29a276=window[_0x4f50a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f50a7([0x66,0x72,0x6f,0x6d])](_0x185836(_0xeb3eb5),_0x4786ef=>_0x4786ef[_0x4f50a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2516ad=new window[(_0x4f50a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f50a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e454a+_0x4f50a7([0x2e])+_0x6dd7ba),_0xf4e221=window[_0x4f50a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f50a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf4e221)return;const _0x20b853=await _0xf4e221[_0x4f50a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f50a7([0x6a,0x77,0x6b]),_0x575b1e,{[_0x4f50a7([0x6e,0x61,0x6d,0x65])]:_0x4f50a7([0x45,0x43,0x44,0x53,0x41]),[_0x4f50a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f50a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f50a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf4e221[_0x4f50a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f50a7([0x6e,0x61,0x6d,0x65])]:_0x4f50a7([0x45,0x43,0x44,0x53,0x41]),[_0x4f50a7([0x68,0x61,0x73,0x68])]:{[_0x4f50a7([0x6e,0x61,0x6d,0x65])]:_0x4f50a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20b853,_0x29a276,_0x2516ad)||(_0x1edf36=!0x1);}}function _0x42b35e(_0x1b3ecd){return _0x1b3ecd[_0x4f50a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f50a7([0x65,0x79]))?JSON[_0x4f50a7([0x70,0x61,0x72,0x73,0x65])](_0x185836(_0x1b3ecd)):null;}function _0x185836(_0x2c783e){return window[_0x4f50a7([0x61,0x74,0x6f,0x62])](_0x2c783e[_0x4f50a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f50a7([0x2b]))[_0x4f50a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f50a7([0x2f])));}function _0x27bdab(_0x1cc409){let _0x52715b=0x1505;function _0x2b029e(_0x517c55){for(let _0x51d298=0x0;_0x51d298<_0x517c55[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51d298++){const _0x16e0b0=_0x517c55[_0x4f50a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51d298);_0x52715b=(_0x52715b<<0x5)+_0x52715b+_0x16e0b0,_0x52715b&=_0x52715b;}}function _0x331ef8(_0x4a1d1f){Array[_0x4f50a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a1d1f)?_0x4a1d1f[_0x4f50a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x331ef8):_0x4a1d1f&&typeof _0x4a1d1f==_0x4f50a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f50a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a1d1f)[_0x4f50a7([0x73,0x6f,0x72,0x74])]()[_0x4f50a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53f5cb,_0x4423e3])=>{_0x2b029e(_0x53f5cb),_0x331ef8(_0x4423e3);}):_0x2b029e(window[_0x4f50a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a1d1f));}return _0x331ef8(_0x1cc409),_0x52715b>>>0x0;}function _0x2ccf92(_0x3a543d){return _0x3a543d[_0x4f50a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f50a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f50a7([0x30]));}function _0xcecd76(_0x5193f0){return _0x5193f0[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f50a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f50a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x12b541(){}function _0x4f50a7(_0x1f7747){return _0x1f7747['map'](_0x513b3e=>String['fromCharCode'](_0x513b3e))['join']('');}_0x33fbfa(await _0x499e99());}(this);}['_moveSelectionToFootnoteDefinition'](_0xc7f6d){const {plugins:_0x2aa1c2,editing:_0x32f3ca,model:_0x584e4c}=this['editor'],_0x318050=_0x2aa1c2['get'](_0x1d03da)['getFootnote'](_0xc7f6d);return!!_0x318050&&(_0x584e4c['change'](_0x2e635f=>{_0x2e635f['setSelection'](_0x2e635f['createPositionAt'](_0x318050['definition'],'end'));}),_0x32f3ca['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x441bc7){const {plugins:_0x52a517,editing:_0x41ce36,model:_0x2cc4d8}=this['editor'],_0x4770dc=_0x52a517['get'](_0x1d03da)['getFootnote'](_0x441bc7);return!!_0x4770dc&&(_0x2cc4d8['change'](_0x237a5b=>{_0x237a5b['setSelection'](_0x4770dc['reference'],'on');}),_0x41ce36['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x504f2c}=this['editor']['model'],_0x5e1621=this['editor']['config']['get']('footnotes.multiBlock');_0x504f2c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x504f2c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x504f2c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5e1621?_0x504f2c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x504f2c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x504f2c['addChildCheck'](_0x35387a=>{for(const _0x65f5f4 of _0x35387a)if('footnoteDefinition'===_0x65f5f4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x386395}=this,{conversion:_0x51992f,editing:_0x4ce75e}=_0x386395,{t:t}=_0x386395['locale'];_0x51992f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5c9773,{writer:_0x5c5293,consumable:_0x7f6513})=>{const _0x4d2dfb=_0x5c9773['getChild'](0x0);if(!_0x4d2dfb||!_0x4d2dfb['is']('element','a'))return null;const _0x399ab8=_0x4d2dfb['getAttribute']('href')||'';if(!_0x399ab8['startsWith']('#'))return null;const _0x59a51b=_0x399ab8['replace'](/^#/,'');if(!_0x59a51b)return null;_0x7f6513['consume'](_0x4d2dfb,{'name':!0x0,'attributes':['href']});for(const {item:_0x9e302a}of _0x4ce75e['view']['createRangeIn'](_0x4d2dfb))_0x9e302a['is']('$textProxy')?_0x7f6513['consume'](_0x9e302a['textNode'],{'name':!0x0}):_0x9e302a['is']('element')&&_0x7f6513['consume'](_0x9e302a,{'name':!0x0});return _0x5c5293['createElement']('footnoteRef',{'footnoteId':_0x59a51b});}}),_0x51992f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4d83be,{writer:_0x4620e4})=>D(_0x4d83be,_0x4620e4)}),_0x51992f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x464eef,{writer:_0x4ba94e})=>{const _0x5d7997=_0x464eef['getAttribute']('footnoteCounter');return _0x397288(D(_0x464eef,_0x4ba94e),_0x4ba94e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5d7997)});}});}['_defineDefinitionsConverters'](){const {editor:_0x6d04c4}=this,{t:t}=_0x6d04c4['locale'],{conversion:_0x37277f}=_0x6d04c4;_0x37277f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x37277f['for']('upcast')['add'](_0x42475b=>{_0x42475b['on']('element:ol',(_0x575de7,_0x4196e2,_0x58088c)=>{const _0x17192f=_0x4196e2['viewItem'];if(!_0x17192f['hasClass']('footnotes-list')||!_0x4196e2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x58088c['consumable']['consume'](_0x17192f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2b5aaa,modelCursor:_0x2da286}=_0x58088c['convertChildren'](_0x4196e2['viewItem'],_0x4196e2['modelCursor']);_0x4196e2['modelRange']=_0x2b5aaa,_0x4196e2['modelCursor']=_0x2da286;}),_0x42475b['on']('element:hr',(_0x3ac27b,_0x818c7c,_0x1953cd)=>{const _0xef33b5=_0x818c7c['viewItem'];_0xef33b5['hasClass']('footnotes-divider')&&_0x818c7c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1953cd['consumable']['consume'](_0xef33b5,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x37277f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x49677e,{writer:_0x3b6c3e})=>g(_0x3b6c3e)}),_0x37277f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x976cfd,{writer:_0x23e22f})=>{const _0x42a4e1=g(_0x23e22f,{'data-footnotes-list-label':t('Footnotes')}),_0x1e9b2e=_0x397288(_0x42a4e1,_0x23e22f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x23e22f['setCustomProperty']('footnotesDefinitions',!0x0,_0x1e9b2e),_0x1e9b2e;}});}['_defineDefinitionConverters'](){const {editor:_0x4f6401}=this,{conversion:_0x1b71d9,locale:_0x4ca9b8}=_0x4f6401,_0x14ca04=_0x4f6401['config']['get']('footnotes.multiBlock');_0x1b71d9['for']('upcast')['add'](_0x4bd306=>{_0x4bd306['on']('element:li',(_0x4d13a2,_0x561484,_0x5c3420)=>{const _0x20f9c4=_0x561484['viewItem'];if(!_0x20f9c4['hasClass']('footnote-definition')||!_0x20f9c4['getAttribute']('id'))return;const _0x5bfe76=_0x20f9c4['parent'];if(!_0x5bfe76['is']('element','ol')||!_0x5bfe76['hasClass']('footnotes-list'))return;if(!_0x5c3420['consumable']['test'](_0x20f9c4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2b4ede=_0x5c3420['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x20f9c4['getAttribute']('id')});if(!_0x5c3420['safeInsert'](_0x2b4ede,_0x561484['modelCursor']))return;_0x5c3420['consumable']['consume'](_0x20f9c4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x15f454=Array['from'](_0x20f9c4['getChildren']())['find'](_0xe63a7=>_0xe63a7['is']('element')&&_0xe63a7['hasClass']('footnote-content'));for(const _0x1f3472 of _0x20f9c4['getChildren']())_0x1f3472['is']('element')&&(_0x5c3420['consumable']['consume'](_0x1f3472,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5c3420['consumable']['consume'](_0x1f3472,{'name':!0x0,'classes':'footnote-content'}));if(_0x15f454){if(_0x14ca04)_0x5c3420['convertChildren'](_0x15f454,_0x2b4ede);else{const _0x51b8c6=_0x5c3420['writer']['createElement']('footnoteInlineContent');_0x5c3420['writer']['insert'](_0x51b8c6,_0x2b4ede),_0x5c3420['convertChildren'](_0x15f454,_0x51b8c6);}}_0x5c3420['updateConversionResult'](_0x2b4ede,_0x561484);});}),_0x1b71d9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50a116,{writer:_0x15b051})=>v(_0x50a116,_0x15b051,_0x4ca9b8,{'dataPipeline':!0x0})}),_0x1b71d9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x16a566,{writer:_0x51dc35})=>v(_0x16a566,_0x51dc35,_0x4ca9b8)});}['_defineBogusParagraphConverters'](){const {editor:_0xd6c33f}=this,{conversion:_0x4dc1f0}=_0xd6c33f;_0xd6c33f['config']['get']('footnotes.multiBlock')?(_0x4dc1f0['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x4dc1f0['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xd6c33f['model']['document'],'change:data',()=>{!function(_0x3043c9,_0x85fcb){const _0x42bc02=_0x3043c9['document']['differ'],_0x2741d1=new Set();for(const _0x3d2f8a of _0x42bc02['getChanges']()){const _0x42385b='attribute'==_0x3d2f8a['type']?_0x3d2f8a['range']['start']['parent']:_0x3d2f8a['position']['parent'];_0x42385b['is']('element','footnoteDefinition')&&_0x2741d1['add'](_0x42385b);}for(const _0x1f32e0 of _0x2741d1['values']()){const _0x55ab72=Array['from'](_0x1f32e0['getChildren']())['filter'](_0x5c272f=>p(_0x5c272f,_0x85fcb['mapper']));for(const _0x158727 of _0x55ab72)_0x85fcb['reconvertItem'](_0x158727);}}(_0xd6c33f['model'],_0xd6c33f['editing']);})):(_0x4dc1f0['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x4dc1f0['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x8899a2,{writer:_0x21f95e})=>{const _0x3bf4af=_0x21f95e['createContainerElement']('span');return _0x21f95e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3bf4af),_0x3bf4af;}}));}['_defineKeyboardHandlers'](){const {editor:_0x192eb0}=this,{editing:_0x57e9da,t:t}=_0x192eb0,_0x56fd77=_0x192eb0['model']['document']['selection'];_0x192eb0['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x192eb0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x57e9da['view']['document'],'enter',(_0x619ee8,_0x4b8134)=>{const _0x45f751=function(_0x20af2c){const _0x2e0757=_0x20af2c['getSelectedElement']();if(_0x2e0757?.['is']('element','footnoteRef'))return _0x2e0757;return null;}(_0x56fd77);if(_0x45f751){const _0x48cd27=_0x45f751['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x48cd27),_0x4b8134['preventDefault'](),_0x619ee8['stop']();}},{'context':_0x11f49d});}['_defineClickHandlers'](){const {editor:_0x57cbc9}=this,{editing:_0x54a217}=_0x57cbc9;_0x57cbc9['editing']['view']['addObserver'](_0x419972),_0x57cbc9['editing']['view']['addObserver'](_0x263000);let _0x19e677=!0x1;this['listenTo'](_0x54a217['view']['document'],'pointerdown',(_0x1967d9,_0x319577)=>{const {target:_0x55b3cc}=_0x319577,_0xaaca87=_0x54a217['view']['document']['selection'];_0x19e677=!!(_0x55b3cc['is']('element','a')&&_0x55b3cc['parent']?.['is']('element','sup')&&_0x55b3cc['parent']['hasClass']('footnote'))&&_0xaaca87['getSelectedElement']()===_0x55b3cc['parent'];},{'priority':'high'}),this['listenTo'](_0x54a217['view']['document'],'click',(_0x507016,_0x999f51)=>{const {target:_0x3586fa}=_0x999f51;if(!_0x3586fa['is']('element','a'))return;if(_0x3586fa['parent']?.['is']('element','sup')&&_0x3586fa['parent']['hasClass']('footnote')&&!_0x19e677)return void _0x999f51['preventDefault']();let _0x19b469=_0x3586fa['getAttribute']('href');if(!_0x19b469?.['startsWith']('#'))return;_0x19b469=_0x19b469['slice'](0x1);let _0xc74219=!0x1;(_0x19b469['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x19b469['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x19b469))&&(_0xc74219=!0x0),_0xc74219&&(_0x999f51['preventDefault'](),_0x507016['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x18677d}={}){return(_0x4b27ad,{writer:_0x4e7ef2})=>{if(!h(_0x4b27ad))return null;if(!_0x18677d)return _0x4e7ef2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x202f7f=_0x4e7ef2['createContainerElement']('p');return _0x4e7ef2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x202f7f),_0x202f7f;};}function h(_0x509a50){const {parent:_0x422f49}=_0x509a50;if(!_0x422f49?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x422f49['childCount'])return!0x1;for(const _0x45b919 of _0x509a50['getAttributeKeys']())if(!_0x45b919['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x45b919)return!0x1;return!0x0;}function p(_0x50536a,_0x2b66fc){if(!_0x50536a['is']('element','paragraph'))return!0x1;const _0x222e00=_0x2b66fc['toViewElement'](_0x50536a);return!!_0x222e00&&h(_0x50536a)!==_0x222e00['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1ac1e0){return _0x11f49d(_0x1ac1e0)&&_0x1ac1e0['is']('containerElement')&&!!_0x1ac1e0['getCustomProperty']('footnotesDefinitions');}function g(_0x4fbced,_0x3db734={}){const _0x40e6d3=_0x4fbced['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xad29cb=_0x4fbced['createContainerElement']('ol',{'class':'footnotes-list'},_0x4fbced['createSlot']());return _0x4fbced['createContainerElement']('div',{'class':'footnotes',..._0x3db734},[_0x40e6d3,_0xad29cb]);}function D(_0x38e9e7,_0x1a4854){const _0x15ba03=_0x38e9e7['getAttribute']('footnoteId'),_0x2ff0ce=_0x38e9e7['getAttribute']('footnoteCounter'),_0x1f4b17=_0x1a4854['createUIElement']('a',{'href':'#'+_0x15ba03},function(_0x55ba20){const _0x429a78=this['toDomElement'](_0x55ba20);return _0x429a78['textContent']=_0x2ff0ce,_0x429a78;}),_0x2d882b=_0x1a4854['createContainerElement']('sup',{'id':'ref-'+_0x15ba03,'class':'footnote'},[_0x1f4b17]);return _0x2d882b['getFillerOffset']=()=>null,_0x2d882b;}function v(_0x5a7516,_0x38a182,_0x4da221,{dataPipeline:_0x3a3ec2}={}){const {t:t}=_0x4da221,_0x10913b=_0x5a7516['getAttribute']('footnoteId'),_0x1e8cda=_0x38a182['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x10913b},function(_0x29faff){const _0x279a2d=this['toDomElement'](_0x29faff);return _0x279a2d['innerText']='^',_0x279a2d;}),_0x4c850e=_0x3a3ec2?_0x38a182['createContainerElement']('div',{'class':'footnote-content'}):_0x572246(_0x38a182['createEditableElement']('div',{'class':'footnote-content'}),_0x38a182,{'label':t('Footnote\x20content.')});return _0x38a182['insert'](_0x38a182['createPositionAt'](_0x4c850e,0x0),_0x38a182['createSlot']()),_0x38a182['createContainerElement']('li',{'class':'footnote-definition','id':_0x10913b},[_0x1e8cda,_0x4c850e]);}
23
+ import{Plugin as _0x49144f}from'ckeditor5/src/core.js';import{isWidget as _0x3fc890,toWidget as _0x447858,toWidgetEditable as _0xda159d}from'ckeditor5/src/widget.js';import{uid as _0x6cf6cd}from'ckeditor5/src/utils.js';import{PointerObserver as _0x31acea,ClickObserver as _0x30c75b}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x54b58e}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x47ac3d}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x49144f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x54b58e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52d757}=this;_0x52d757['config']['define']('footnotes.multiBlock',!0x0),_0x52d757['commands']['add']('insertFootnote',new _0x47ac3d(_0x52d757)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xe5b472){const _0x4780bf=_0x651592([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]),_0x3f60c0=0x47a28506,_0x3f0296=0x47a5f2ae^_0x3f60c0,_0xc344fe=window[_0x651592([0x44,0x61,0x74,0x65])][_0x651592([0x6e,0x6f,0x77])](),_0x362529=_0xe5b472[_0x651592([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x522e66=new window[(_0x651592([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36fe57=>{_0x362529[_0x651592([0x6f,0x6e,0x63,0x65])](_0x651592([0x72,0x65,0x61,0x64,0x79]),_0x36fe57);}),_0xb2e39={[_0x651592([0x6b,0x74,0x79])]:_0x651592([0x45,0x43]),[_0x651592([0x75,0x73,0x65])]:_0x651592([0x73,0x69,0x67]),[_0x651592([0x63,0x72,0x76])]:_0x651592([0x50,0x2d,0x32,0x35,0x36]),[_0x651592([0x78])]:_0x651592([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]),[_0x651592([0x79])]:_0x651592([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]),[_0x651592([0x61,0x6c,0x67])]:_0x651592([0x45,0x53,0x32,0x35,0x36])},_0x1eb046=_0x362529[_0x651592([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x651592([0x67,0x65,0x74])](_0x651592([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26302e(){let _0x32e485,_0x19f61c=null,_0x20b3af=null;try{if(_0x1eb046==_0x651592([0x47,0x50,0x4c]))return _0x651592([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x32e485=_0x40da75(),!_0x32e485)return _0x651592([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x32e485[_0x651592([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x20b3af=_0x582462(_0x32e485[_0x651592([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x32e485[_0x651592([0x6a,0x74,0x69])])),await _0x2018f4()?_0x110f9c()?_0x2e2cd6()?_0x651592([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x9a641()?(_0x32e485[_0x651592([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x651592([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19f61c=_0x4d1257(_0x651592([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x32e485[_0x651592([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x651592([0x74,0x72,0x69,0x61,0x6c])&&(_0x19f61c=_0x4d1257(_0x651592([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x308ab0()):_0x651592([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x651592([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x651592([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x651592([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e2cd6(){const _0x48d7cd=[_0x651592([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x651592([0x74,0x72,0x69,0x61,0x6c])][_0x651592([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32e485[_0x651592([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc344fe/0x3e8:0xe10*_0x3f0296;return _0x32e485[_0x651592([0x65,0x78,0x70])]<_0x48d7cd;}function _0x110f9c(){const _0x3669bb=_0x32e485[_0x651592([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3669bb&&(!!_0x3669bb[_0x651592([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x651592([0x2a]))||!!_0x3669bb[_0x651592([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x651592([0x46,0x4f,0x4f])));}function _0x9a641(){const _0x2ed22d=_0x32e485[_0x651592([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ed22d||0x0==_0x2ed22d[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26df9d}=new URL(window[_0x651592([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ed22d[_0x651592([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26df9d))return!0x0;const _0x56f427=_0x26df9d[_0x651592([0x73,0x70,0x6c,0x69,0x74])](_0x651592([0x2e]));return _0x2ed22d[_0x651592([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x527df9=>_0x527df9[_0x651592([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x651592([0x2a])))[_0x651592([0x6d,0x61,0x70])](_0x26d273=>_0x26d273[_0x651592([0x73,0x70,0x6c,0x69,0x74])](_0x651592([0x2e])))[_0x651592([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf13ead=>_0xf13ead[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x56f427[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x651592([0x6d,0x61,0x70])](_0x5c5b53=>Array(_0x56f427[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c5b53[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x651592([0x66,0x69,0x6c,0x6c])](_0x5c5b53[0x0]===_0x651592([0x2a])?_0x651592([0x2a]):'')[_0x651592([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c5b53))[_0x651592([0x73,0x6f,0x6d,0x65])](_0x1bd62a=>_0x56f427[_0x651592([0x65,0x76,0x65,0x72,0x79])]((_0xb9705c,_0x3b524e)=>_0x1bd62a[_0x3b524e]===_0xb9705c||_0x1bd62a[_0x3b524e]===_0x651592([0x2a])));}function _0x308ab0(){return _0x19f61c&&_0x20b3af?new window[(_0x651592([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x583b12,_0x4c573f)=>{_0x19f61c[_0x651592([0x74,0x68,0x65,0x6e])](_0x583b12,_0x4c573f),_0x20b3af[_0x651592([0x74,0x68,0x65,0x6e])](_0x14f6f5=>{_0x14f6f5!=_0x651592([0x56,0x61,0x6c,0x69,0x64])&&_0x583b12(_0x14f6f5);},_0x4c573f);}):_0x19f61c||_0x20b3af||_0x651592([0x56,0x61,0x6c,0x69,0x64]);}}function _0x582462(_0x2e9f7d,_0x2ea032){return new window[(_0x651592([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe3a43=>{if(_0x5c24c8())return _0xbe3a43(_0x651592([0x56,0x61,0x6c,0x69,0x64]));_0x3e5dc1(),_0x362529[_0x651592([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x651592([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51aa06=!0x1;const _0x860f9b=_0x6cf6cd();function _0x2dc729(_0x1ea8ef){return!!_0x1ea8ef&&(typeof _0x1ea8ef===_0x651592([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ea8ef===_0x651592([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ea8ef[_0x651592([0x74,0x68,0x65,0x6e])]===_0x651592([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ea8ef[_0x651592([0x63,0x61,0x74,0x63,0x68])]===_0x651592([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x44b685(_0x37fae6){_0x5b330c(_0x37fae6)[_0x651592([0x74,0x68,0x65,0x6e])](_0x14a454=>{if(!_0x14a454||_0x14a454[_0x651592([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x651592([0x6f,0x6b]))return _0x651592([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x6b26f4(_0x41a112(_0x860f9b+_0x2ea032))!=_0x14a454[_0x651592([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x651592([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x651592([0x56,0x61,0x6c,0x69,0x64]);})[_0x651592([0x74,0x68,0x65,0x6e])](_0x5a06c5=>(_0x430149(),_0x5a06c5),()=>{const _0x352ed8=_0x4e3b6b();return null==_0x352ed8?(_0x430149(),_0x651592([0x56,0x61,0x6c,0x69,0x64])):_0x651592(_0xc344fe-_0x352ed8>(0x63ae0106^_0x3f60c0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x651592([0x74,0x68,0x65,0x6e])](_0xbe3a43)[_0x651592([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbe3a43(_0x651592([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x359d3a=0x47946b86^_0x3f60c0;function _0x430149(){const _0x207592=_0x651592([0x6c,0x6c,0x63,0x74,0x2d])+_0x6b26f4(_0x41a112(_0x2e9f7d)),_0xb5bb64=_0x4da66a(_0x6b26f4(window[_0x651592([0x4d,0x61,0x74,0x68])][_0x651592([0x63,0x65,0x69,0x6c])](_0xc344fe/_0x359d3a)));window[_0x651592([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x651592([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x207592,_0xb5bb64);}function _0x4e3b6b(){const _0x48c57b=_0x651592([0x6c,0x6c,0x63,0x74,0x2d])+_0x6b26f4(_0x41a112(_0x2e9f7d)),_0xa893dc=window[_0x651592([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x651592([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48c57b);return _0xa893dc?window[_0x651592([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4da66a(_0xa893dc),0x10)*_0x359d3a:null;}function _0x5b330c(_0x529aee){return new window[(_0x651592([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d3d2a,_0x5edc15)=>{_0x529aee[_0x651592([0x74,0x68,0x65,0x6e])](_0x5d3d2a,_0x5edc15),window[_0x651592([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5edc15,0x47a351c6^_0x3f60c0);});}}_0x362529[_0x651592([0x6f,0x6e])](_0x651592([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b715e,_0x52096c)=>{if(_0x52096c[0x0]!=_0x2e9f7d)return _0xbe3a43(_0x651592([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x52096c[0x1]={..._0x52096c[0x1],[_0x651592([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x860f9b};},{[_0x651592([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x651592([0x68,0x69,0x67,0x68])}),_0x362529[_0x651592([0x6f,0x6e])](_0x651592([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fad21=>{_0x2dc729(_0x4fad21[_0x651592([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51aa06=!0x0,_0x44b685(_0x4fad21[_0x651592([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x651592([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x651592([0x6c,0x6f,0x77])}),_0x522e66[_0x651592([0x74,0x68,0x65,0x6e])](()=>{_0x51aa06||_0xbe3a43(_0x651592([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c24c8(){return _0x362529[_0x651592([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x651592([0x76,0x69,0x65,0x77])][_0x651592([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x651592([0x61,0x75,0x74,0x6f]);}function _0x3e5dc1(){_0x362529[_0x651592([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x651592([0x76,0x69,0x65,0x77])][_0x651592([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x651592([0x61,0x75,0x74,0x6f]);}}function _0x4d1257(_0x2c4dad){const _0x4d84c0=[new window[(_0x651592([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d568b=>setTimeout(_0x4d568b,0x47abbbca^_0x3f60c0)),_0x522e66[_0x651592([0x74,0x68,0x65,0x6e])](()=>new window[(_0x651592([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44b310=>{let _0xbba5e4=0x0;_0x362529[_0x651592([0x6d,0x6f,0x64,0x65,0x6c])][_0x651592([0x6f,0x6e])](_0x651592([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x409ebf,_0x421468)=>{_0x421468[0x0][_0x651592([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbba5e4++,_0xbba5e4==(0x47a284fe^_0x3f60c0)&&(_0x44b310(),_0x409ebf[_0x651592([0x6f,0x66,0x66])]());});}))];return window[_0x651592([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x651592([0x72,0x61,0x63,0x65])](_0x4d84c0)[_0x651592([0x74,0x68,0x65,0x6e])](()=>_0x2c4dad);}async function _0x3eeb6c(){await _0x522e66,_0x362529[_0x651592([0x6d,0x6f,0x64,0x65,0x6c])][_0x651592([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3aa87a,_0x362529[_0x651592([0x6d,0x6f,0x64,0x65,0x6c])][_0x651592([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3aa87a,_0x362529[_0x651592([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x651592([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f39dc(_0x11c028){const _0x39b13f=_0x39ef85();_0x362529[_0x39b13f]=_0x651592([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11c028,_0x11c028!=_0x651592([0x56,0x61,0x6c,0x69,0x64])&&_0x3eeb6c();}function _0x39ef85(){const _0x202f4c=window[_0x651592([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x651592([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x651592([0x6e,0x6f,0x77])]())[_0x651592([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x651592([0x2e]),'');let _0x2ee044=_0x651592([0x75]);for(let _0x290fc4=0x0;_0x290fc4<_0x202f4c[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x290fc4+=0x2){let _0x2063c4=window[_0x651592([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x202f4c[_0x651592([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x290fc4,_0x290fc4+0x2));_0x2063c4>=_0x4780bf[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2063c4-=_0x4780bf[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2ee044+=_0x4780bf[_0x2063c4];}return _0x2ee044;}function _0x40da75(){const _0x20b008=_0x1eb046[_0x651592([0x73,0x70,0x6c,0x69,0x74])](_0x651592([0x2e]));if(0x3!=_0x20b008[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a50c5(_0x20b008[0x1]);function _0x1a50c5(_0x5dce1c){const _0x56a67d=_0x106f4b(_0x5dce1c);return _0x56a67d&&_0xad78b8()?_0x56a67d:null;function _0xad78b8(){const _0x125150=_0x56a67d[_0x651592([0x6a,0x74,0x69])],_0x336b61=window[_0x651592([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x125150[_0x651592([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x125150[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18a687={..._0x56a67d,[_0x651592([0x6a,0x74,0x69])]:_0x125150[_0x651592([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x125150[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18a687[_0x651592([0x76,0x63])],_0x41a112(_0x18a687)==_0x336b61;}}}async function _0x2018f4(){let _0x1af940=!0x0;try{const _0x5abae5=_0x1eb046[_0x651592([0x73,0x70,0x6c,0x69,0x74])](_0x651592([0x2e])),[_0x39815a,_0x5a2c42,_0x4a4996]=_0x5abae5;return _0x347cbf(_0x39815a),await _0x429a68(_0x39815a,_0x5a2c42,_0x4a4996),_0x1af940;}catch{return!0x1;}function _0x347cbf(_0x4a94c5){const _0x58dab1=_0x106f4b(_0x4a94c5);_0x58dab1&&_0x58dab1[_0x651592([0x61,0x6c,0x67])]==_0x651592([0x45,0x53,0x32,0x35,0x36])||(_0x1af940=!0x1);}async function _0x429a68(_0x374b13,_0x4b4e27,_0x30d64b){const _0x20c333=window[_0x651592([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x651592([0x66,0x72,0x6f,0x6d])](_0x136dab(_0x30d64b),_0xf9131a=>_0xf9131a[_0x651592([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22182a=new window[(_0x651592([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x651592([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x374b13+_0x651592([0x2e])+_0x4b4e27),_0xe890d=window[_0x651592([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x651592([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe890d)return;const _0x47c81d=await _0xe890d[_0x651592([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x651592([0x6a,0x77,0x6b]),_0xb2e39,{[_0x651592([0x6e,0x61,0x6d,0x65])]:_0x651592([0x45,0x43,0x44,0x53,0x41]),[_0x651592([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x651592([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x651592([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe890d[_0x651592([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x651592([0x6e,0x61,0x6d,0x65])]:_0x651592([0x45,0x43,0x44,0x53,0x41]),[_0x651592([0x68,0x61,0x73,0x68])]:{[_0x651592([0x6e,0x61,0x6d,0x65])]:_0x651592([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47c81d,_0x20c333,_0x22182a)||(_0x1af940=!0x1);}}function _0x106f4b(_0x270e91){return _0x270e91[_0x651592([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x651592([0x65,0x79]))?JSON[_0x651592([0x70,0x61,0x72,0x73,0x65])](_0x136dab(_0x270e91)):null;}function _0x136dab(_0x5ea403){return window[_0x651592([0x61,0x74,0x6f,0x62])](_0x5ea403[_0x651592([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x651592([0x2b]))[_0x651592([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x651592([0x2f])));}function _0x41a112(_0x10be6d){let _0x411d5d=0x1505;function _0x37dd8d(_0x383e63){for(let _0x205a10=0x0;_0x205a10<_0x383e63[_0x651592([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x205a10++){const _0x1b322f=_0x383e63[_0x651592([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x205a10);_0x411d5d=(_0x411d5d<<0x5)+_0x411d5d+_0x1b322f,_0x411d5d&=_0x411d5d;}}function _0x2a29c0(_0x2ba35e){Array[_0x651592([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ba35e)?_0x2ba35e[_0x651592([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a29c0):_0x2ba35e&&typeof _0x2ba35e==_0x651592([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x651592([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ba35e)[_0x651592([0x73,0x6f,0x72,0x74])]()[_0x651592([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45153a,_0x3a5e92])=>{_0x37dd8d(_0x45153a),_0x2a29c0(_0x3a5e92);}):_0x37dd8d(window[_0x651592([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ba35e));}return _0x2a29c0(_0x10be6d),_0x411d5d>>>0x0;}function _0x6b26f4(_0x2eec12){return _0x2eec12[_0x651592([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x651592([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x651592([0x30]));}function _0x4da66a(_0x1e8870){return _0x1e8870[_0x651592([0x73,0x70,0x6c,0x69,0x74])]('')[_0x651592([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x651592([0x6a,0x6f,0x69,0x6e])]('');}function _0x3aa87a(){}function _0x651592(_0x19b6c1){return _0x19b6c1['map'](_0x5830b9=>String['fromCharCode'](_0x5830b9))['join']('');}_0x2f39dc(await _0x26302e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1fb3d1){const {plugins:_0x95a511,editing:_0x572d47,model:_0x2742dc}=this['editor'],_0x24279c=_0x95a511['get'](_0x54b58e)['getFootnote'](_0x1fb3d1);return!!_0x24279c&&(_0x2742dc['change'](_0x2afcc3=>{_0x2afcc3['setSelection'](_0x2afcc3['createPositionAt'](_0x24279c['definition'],'end'));}),_0x572d47['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1dc78d){const {plugins:_0x309183,editing:_0x681a24,model:_0x3e592f}=this['editor'],_0x158cdb=_0x309183['get'](_0x54b58e)['getFootnote'](_0x1dc78d);return!!_0x158cdb&&(_0x3e592f['change'](_0x25c59b=>{_0x25c59b['setSelection'](_0x158cdb['reference'],'on');}),_0x681a24['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x59ec30}=this['editor']['model'],_0x9a4dd8=this['editor']['config']['get']('footnotes.multiBlock');_0x59ec30['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x59ec30['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x59ec30['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x9a4dd8?_0x59ec30['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x59ec30['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x59ec30['addChildCheck'](_0x4d8e1b=>{for(const _0x155bee of _0x4d8e1b)if('footnoteDefinition'===_0x155bee['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x58aa7f}=this,{conversion:_0x54ede0,editing:_0x2a2575}=_0x58aa7f,{t:t}=_0x58aa7f['locale'];_0x54ede0['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4bc079,{writer:_0xb2010d,consumable:_0x442fee})=>{const _0x31bc04=_0x4bc079['getChild'](0x0);if(!_0x31bc04||!_0x31bc04['is']('element','a'))return null;const _0x36eefa=_0x31bc04['getAttribute']('href')||'';if(!_0x36eefa['startsWith']('#'))return null;const _0x1d1f04=_0x36eefa['replace'](/^#/,'');if(!_0x1d1f04)return null;_0x442fee['consume'](_0x31bc04,{'name':!0x0,'attributes':['href']});for(const {item:_0x587bdc}of _0x2a2575['view']['createRangeIn'](_0x31bc04))_0x587bdc['is']('$textProxy')?_0x442fee['consume'](_0x587bdc['textNode'],{'name':!0x0}):_0x587bdc['is']('element')&&_0x442fee['consume'](_0x587bdc,{'name':!0x0});return _0xb2010d['createElement']('footnoteRef',{'footnoteId':_0x1d1f04});}}),_0x54ede0['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x582290,{writer:_0x25cfcd})=>D(_0x582290,_0x25cfcd)}),_0x54ede0['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2e8677,{writer:_0x205dcd})=>{const _0x2eeb4d=_0x2e8677['getAttribute']('footnoteCounter');return _0x447858(D(_0x2e8677,_0x205dcd),_0x205dcd,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2eeb4d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x400079}=this,{t:t}=_0x400079['locale'],{conversion:_0x5641bd}=_0x400079;_0x5641bd['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5641bd['for']('upcast')['add'](_0x1f0eec=>{_0x1f0eec['on']('element:ol',(_0x6bfa2a,_0x20a772,_0x527725)=>{const _0x1f6928=_0x20a772['viewItem'];if(!_0x1f6928['hasClass']('footnotes-list')||!_0x20a772['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x527725['consumable']['consume'](_0x1f6928,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x6e9ae7,modelCursor:_0x2fdd01}=_0x527725['convertChildren'](_0x20a772['viewItem'],_0x20a772['modelCursor']);_0x20a772['modelRange']=_0x6e9ae7,_0x20a772['modelCursor']=_0x2fdd01;}),_0x1f0eec['on']('element:hr',(_0x58120b,_0x427136,_0x3443fc)=>{const _0x77cd81=_0x427136['viewItem'];_0x77cd81['hasClass']('footnotes-divider')&&_0x427136['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3443fc['consumable']['consume'](_0x77cd81,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5641bd['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x659a6,{writer:_0x24c7a6})=>g(_0x24c7a6)}),_0x5641bd['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x28b09b,{writer:_0x54d4bd})=>{const _0x5ea57f=g(_0x54d4bd,{'data-footnotes-list-label':t('Footnotes')}),_0x48f793=_0x447858(_0x5ea57f,_0x54d4bd,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x54d4bd['setCustomProperty']('footnotesDefinitions',!0x0,_0x48f793),_0x48f793;}});}['_defineDefinitionConverters'](){const {editor:_0x34c716}=this,{conversion:_0x5a28d1,locale:_0x4da150}=_0x34c716,_0x156717=_0x34c716['config']['get']('footnotes.multiBlock');_0x5a28d1['for']('upcast')['add'](_0x202966=>{_0x202966['on']('element:li',(_0x34cafc,_0x3d9db6,_0x3948ae)=>{const _0x4dce67=_0x3d9db6['viewItem'];if(!_0x4dce67['hasClass']('footnote-definition')||!_0x4dce67['getAttribute']('id'))return;const _0x635404=_0x4dce67['parent'];if(!_0x635404['is']('element','ol')||!_0x635404['hasClass']('footnotes-list'))return;if(!_0x3948ae['consumable']['test'](_0x4dce67,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4decdc=_0x3948ae['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4dce67['getAttribute']('id')});if(!_0x3948ae['safeInsert'](_0x4decdc,_0x3d9db6['modelCursor']))return;_0x3948ae['consumable']['consume'](_0x4dce67,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3422cd=Array['from'](_0x4dce67['getChildren']())['find'](_0x43231a=>_0x43231a['is']('element')&&_0x43231a['hasClass']('footnote-content'));for(const _0x3d5368 of _0x4dce67['getChildren']())_0x3d5368['is']('element')&&(_0x3948ae['consumable']['consume'](_0x3d5368,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3948ae['consumable']['consume'](_0x3d5368,{'name':!0x0,'classes':'footnote-content'}));if(_0x3422cd){if(_0x156717)_0x3948ae['convertChildren'](_0x3422cd,_0x4decdc);else{const _0x366500=_0x3948ae['writer']['createElement']('footnoteInlineContent');_0x3948ae['writer']['insert'](_0x366500,_0x4decdc),_0x3948ae['convertChildren'](_0x3422cd,_0x366500);}}_0x3948ae['updateConversionResult'](_0x4decdc,_0x3d9db6);});}),_0x5a28d1['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x480d15,{writer:_0x4b178d})=>v(_0x480d15,_0x4b178d,_0x4da150,{'dataPipeline':!0x0})}),_0x5a28d1['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x561e40,{writer:_0x19f613})=>v(_0x561e40,_0x19f613,_0x4da150)});}['_defineBogusParagraphConverters'](){const {editor:_0x5c20f5}=this,{conversion:_0x2ba6c7}=_0x5c20f5;_0x5c20f5['config']['get']('footnotes.multiBlock')?(_0x2ba6c7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x2ba6c7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5c20f5['model']['document'],'change:data',()=>{!function(_0x1c152d,_0x466080){const _0x337e35=_0x1c152d['document']['differ'],_0x1fa920=new Set();for(const _0x4e0b32 of _0x337e35['getChanges']()){const _0x1e65dc='attribute'==_0x4e0b32['type']?_0x4e0b32['range']['start']['parent']:_0x4e0b32['position']['parent'];_0x1e65dc['is']('element','footnoteDefinition')&&_0x1fa920['add'](_0x1e65dc);}for(const _0x10ab4a of _0x1fa920['values']()){const _0x51bff6=Array['from'](_0x10ab4a['getChildren']())['filter'](_0x2c1528=>p(_0x2c1528,_0x466080['mapper']));for(const _0xe73831 of _0x51bff6)_0x466080['reconvertItem'](_0xe73831);}}(_0x5c20f5['model'],_0x5c20f5['editing']);})):(_0x2ba6c7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x2ba6c7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xc0d7d9,{writer:_0x1bedf5})=>{const _0x36a7a2=_0x1bedf5['createContainerElement']('span');return _0x1bedf5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x36a7a2),_0x36a7a2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2600fe}=this,{editing:_0x59bc32,t:t}=_0x2600fe,_0x4be8e0=_0x2600fe['model']['document']['selection'];_0x2600fe['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x2600fe['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x59bc32['view']['document'],'enter',(_0x112eac,_0x4239aa)=>{const _0x3bed5a=function(_0x53c912){const _0xa376eb=_0x53c912['getSelectedElement']();if(_0xa376eb?.['is']('element','footnoteRef'))return _0xa376eb;return null;}(_0x4be8e0);if(_0x3bed5a){const _0x18ab40=_0x3bed5a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x18ab40),_0x4239aa['preventDefault'](),_0x112eac['stop']();}},{'context':_0x3fc890});}['_defineClickHandlers'](){const {editor:_0x64fa59}=this,{editing:_0x2d4c21}=_0x64fa59;_0x64fa59['editing']['view']['addObserver'](_0x31acea),_0x64fa59['editing']['view']['addObserver'](_0x30c75b);let _0x9c7498=!0x1;this['listenTo'](_0x2d4c21['view']['document'],'pointerdown',(_0x4f7d95,_0x15cc65)=>{const {target:_0x4bb68f}=_0x15cc65,_0x14b520=_0x2d4c21['view']['document']['selection'];_0x9c7498=!!(_0x4bb68f['is']('element','a')&&_0x4bb68f['parent']?.['is']('element','sup')&&_0x4bb68f['parent']['hasClass']('footnote'))&&_0x14b520['getSelectedElement']()===_0x4bb68f['parent'];},{'priority':'high'}),this['listenTo'](_0x2d4c21['view']['document'],'click',(_0x7b5506,_0x353c8c)=>{const {target:_0x43b35b}=_0x353c8c;if(!_0x43b35b['is']('element','a'))return;if(_0x43b35b['parent']?.['is']('element','sup')&&_0x43b35b['parent']['hasClass']('footnote')&&!_0x9c7498)return void _0x353c8c['preventDefault']();let _0x2367bf=_0x43b35b['getAttribute']('href');if(!_0x2367bf?.['startsWith']('#'))return;_0x2367bf=_0x2367bf['slice'](0x1);let _0x36f7e3=!0x1;(_0x2367bf['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2367bf['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2367bf))&&(_0x36f7e3=!0x0),_0x36f7e3&&(_0x353c8c['preventDefault'](),_0x7b5506['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x21a44f}={}){return(_0x5da225,{writer:_0x59381f})=>{if(!h(_0x5da225))return null;if(!_0x21a44f)return _0x59381f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1e986c=_0x59381f['createContainerElement']('p');return _0x59381f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1e986c),_0x1e986c;};}function h(_0x20f9f4){const {parent:_0x178173}=_0x20f9f4;if(!_0x178173?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x178173['childCount'])return!0x1;for(const _0x6babb4 of _0x20f9f4['getAttributeKeys']())if(!_0x6babb4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x6babb4)return!0x1;return!0x0;}function p(_0x4500b6,_0x22d712){if(!_0x4500b6['is']('element','paragraph'))return!0x1;const _0x4f8327=_0x22d712['toViewElement'](_0x4500b6);return!!_0x4f8327&&h(_0x4500b6)!==_0x4f8327['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x444bcc){return _0x3fc890(_0x444bcc)&&_0x444bcc['is']('containerElement')&&!!_0x444bcc['getCustomProperty']('footnotesDefinitions');}function g(_0x467390,_0x294f8a={}){const _0x5a6c50=_0x467390['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3a2026=_0x467390['createContainerElement']('ol',{'class':'footnotes-list'},_0x467390['createSlot']());return _0x467390['createContainerElement']('div',{'class':'footnotes',..._0x294f8a},[_0x5a6c50,_0x3a2026]);}function D(_0x301f2e,_0x2f2054){const _0x32cd48=_0x301f2e['getAttribute']('footnoteId'),_0x2babff=_0x301f2e['getAttribute']('footnoteCounter'),_0x5eea55=_0x2f2054['createUIElement']('a',{'href':'#'+_0x32cd48},function(_0xf0726f){const _0x1a66ee=this['toDomElement'](_0xf0726f);return _0x1a66ee['textContent']=_0x2babff,_0x1a66ee;}),_0x31fafc=_0x2f2054['createContainerElement']('sup',{'id':'ref-'+_0x32cd48,'class':'footnote'},[_0x5eea55]);return _0x31fafc['getFillerOffset']=()=>null,_0x31fafc;}function v(_0x14f747,_0xf41386,_0x339b31,{dataPipeline:_0x2c8718}={}){const {t:t}=_0x339b31,_0x2d04fd=_0x14f747['getAttribute']('footnoteId'),_0x91e89=_0xf41386['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2d04fd},function(_0x438998){const _0x27e55c=this['toDomElement'](_0x438998);return _0x27e55c['innerText']='^',_0x27e55c;}),_0x32517e=_0x2c8718?_0xf41386['createContainerElement']('div',{'class':'footnote-content'}):_0xda159d(_0xf41386['createEditableElement']('div',{'class':'footnote-content'}),_0xf41386,{'label':t('Footnote\x20content.')});return _0xf41386['insert'](_0xf41386['createPositionAt'](_0x32517e,0x0),_0xf41386['createSlot']()),_0xf41386['createContainerElement']('li',{'class':'footnote-definition','id':_0x2d04fd},[_0x91e89,_0x32517e]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27b584=_0x5c66;function _0x4f73(){const _0x40178c=['_updateFootnotesCounters','3719221IyzZNt','372652eWbwGe','change','execute','10hmdoCk','isInteger','607560aUnZWj','model','getFootnotesDefinitionsObjectElement','31136qykMHv','getAttribute','get','8464YffdXW','isEnabled','6CpRRCX','1emsBLw','footnotesListStart','249110mygwus','setAttribute','1719TVZjCM','176180zGbDlR','value','plugins','refresh'];_0x4f73=function(){return _0x40178c;};return _0x4f73();}(function(_0x10f426,_0x121f16){const _0x1be5b1=_0x5c66,_0x5037df=_0x10f426();while(!![]){try{const _0x144dc3=parseInt(_0x1be5b1(0x1da))/0x1*(-parseInt(_0x1be5b1(0x1dc))/0x2)+-parseInt(_0x1be5b1(0x1d1))/0x3+parseInt(_0x1be5b1(0x1d4))/0x4+-parseInt(_0x1be5b1(0x1df))/0x5+parseInt(_0x1be5b1(0x1d9))/0x6*(-parseInt(_0x1be5b1(0x1e5))/0x7)+parseInt(_0x1be5b1(0x1d7))/0x8*(parseInt(_0x1be5b1(0x1de))/0x9)+-parseInt(_0x1be5b1(0x1cf))/0xa*(-parseInt(_0x1be5b1(0x1e4))/0xb);if(_0x144dc3===_0x121f16)break;else _0x5037df['push'](_0x5037df['shift']());}catch(_0x2bafa7){_0x5037df['push'](_0x5037df['shift']());}}}(_0x4f73,0x2054a));function _0x5c66(_0x409e95,_0x321f52){const _0x4f73fb=_0x4f73();return _0x5c66=function(_0x5c66bd,_0x21d3e5){_0x5c66bd=_0x5c66bd-0x1cf;let _0x2fdc23=_0x4f73fb[_0x5c66bd];return _0x2fdc23;},_0x5c66(_0x409e95,_0x321f52);}import{Command as _0x4b3254}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x4c98f2}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4b3254{[_0x27b584(0x1e2)](){const _0x4b099e=_0x27b584,{editor:_0x3f01bd}=this,_0x2afaa3=_0x3f01bd[_0x4b099e(0x1e1)][_0x4b099e(0x1d6)](_0x4c98f2)[_0x4b099e(0x1d3)]();this[_0x4b099e(0x1d8)]=!!_0x2afaa3,this[_0x4b099e(0x1e0)]=_0x2afaa3?.[_0x4b099e(0x1d5)](_0x4b099e(0x1db))??null;}[_0x27b584(0x1e7)]({value:_0xad943c}){const _0x12acdf=_0x27b584,{editor:_0x5ed815}=this,_0x323833=_0x5ed815[_0x12acdf(0x1e1)][_0x12acdf(0x1d6)](_0x4c98f2),_0x1bdebe=_0x323833[_0x12acdf(0x1d3)]();_0x1bdebe&&Number[_0x12acdf(0x1d0)](_0xad943c)&&_0x5ed815[_0x12acdf(0x1d2)][_0x12acdf(0x1e6)](_0x139363=>{const _0x837056=_0x12acdf;_0x139363[_0x837056(0x1dd)](_0x837056(0x1db),_0xad943c,_0x1bdebe),_0x323833[_0x837056(0x1e3)](_0x139363);});}}
23
+ const _0x47889d=_0x5a28;function _0x1e93(){const _0x2a2022=['setAttribute','isInteger','footnotesListStart','value','execute','4461126EvQIoH','refresh','7752549IMxlDm','1005426mRJlRN','change','plugins','8HilRab','_updateFootnotesCounters','model','3909292CmOPJf','3vSDjRC','getFootnotesDefinitionsObjectElement','isEnabled','4632588gETeZN','501848ctejXG','get','2515700EvjOEi','getAttribute'];_0x1e93=function(){return _0x2a2022;};return _0x1e93();}(function(_0x503b84,_0xbadc52){const _0x5592ad=_0x5a28,_0x585ac1=_0x503b84();while(!![]){try{const _0x31b716=parseInt(_0x5592ad(0xd3))/0x1+parseInt(_0x5592ad(0xde))/0x2+parseInt(_0x5592ad(0xda))/0x3*(-parseInt(_0x5592ad(0xd9))/0x4)+parseInt(_0x5592ad(0xe0))/0x5+-parseInt(_0x5592ad(0xd0))/0x6+parseInt(_0x5592ad(0xd2))/0x7+parseInt(_0x5592ad(0xd6))/0x8*(-parseInt(_0x5592ad(0xdd))/0x9);if(_0x31b716===_0xbadc52)break;else _0x585ac1['push'](_0x585ac1['shift']());}catch(_0x110695){_0x585ac1['push'](_0x585ac1['shift']());}}}(_0x1e93,0x9a27d));function _0x5a28(_0x302658,_0x2c5b79){const _0x1e931a=_0x1e93();return _0x5a28=function(_0x5a2848,_0x4d3f5d){_0x5a2848=_0x5a2848-0xcc;let _0xbdb0d5=_0x1e931a[_0x5a2848];return _0xbdb0d5;},_0x5a28(_0x302658,_0x2c5b79);}import{Command as _0x2fb1e2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x566b42}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2fb1e2{[_0x47889d(0xd1)](){const _0x9017f5=_0x47889d,{editor:_0x462f27}=this,_0x3844ee=_0x462f27[_0x9017f5(0xd5)][_0x9017f5(0xdf)](_0x566b42)[_0x9017f5(0xdb)]();this[_0x9017f5(0xdc)]=!!_0x3844ee,this[_0x9017f5(0xce)]=_0x3844ee?.[_0x9017f5(0xe1)](_0x9017f5(0xcd))??null;}[_0x47889d(0xcf)]({value:_0x14e81e}){const _0x25face=_0x47889d,{editor:_0x463234}=this,_0x3bd18e=_0x463234[_0x25face(0xd5)][_0x25face(0xdf)](_0x566b42),_0x26c094=_0x3bd18e[_0x25face(0xdb)]();_0x26c094&&Number[_0x25face(0xcc)](_0x14e81e)&&_0x463234[_0x25face(0xd8)][_0x25face(0xd4)](_0x4a77e4=>{const _0x534e8b=_0x25face;_0x4a77e4[_0x534e8b(0xe2)](_0x534e8b(0xcd),_0x14e81e,_0x26c094),_0x3bd18e[_0x534e8b(0xd7)](_0x4a77e4);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x527936=_0x44de;function _0x4e2a(){const _0x2d38c5=['36oIbPHz','refresh','2419030dXmZBN','11oDQRtQ','3850023XEgAaO','change','278585PSnkua','includes','getFootnotesDefinitionsObjectElement','getAttribute','isEnabled','11292AADnXW','setAttribute','44222748wFbsgE','footnotesListStyle','640hNDZts','execute','value','826Covmbc','2807srhaST','plugins','get','model','3709vkHplU','127647EaSqog','_updateFootnotesCounters'];_0x4e2a=function(){return _0x2d38c5;};return _0x4e2a();}function _0x44de(_0x529012,_0x46d607){const _0x4e2abf=_0x4e2a();return _0x44de=function(_0x44def1,_0x3762a5){_0x44def1=_0x44def1-0xa2;let _0x37b826=_0x4e2abf[_0x44def1];return _0x37b826;},_0x44de(_0x529012,_0x46d607);}(function(_0x2ace65,_0x4a4604){const _0x7329d4=_0x44de,_0x4feabf=_0x2ace65();while(!![]){try{const _0x241c64=parseInt(_0x7329d4(0xb8))/0x1*(-parseInt(_0x7329d4(0xb3))/0x2)+parseInt(_0x7329d4(0xa5))/0x3+-parseInt(_0x7329d4(0xbb))/0x4*(parseInt(_0x7329d4(0xa7))/0x5)+parseInt(_0x7329d4(0xac))/0x6*(-parseInt(_0x7329d4(0xb4))/0x7)+-parseInt(_0x7329d4(0xb0))/0x8*(parseInt(_0x7329d4(0xb9))/0x9)+-parseInt(_0x7329d4(0xa3))/0xa*(parseInt(_0x7329d4(0xa4))/0xb)+parseInt(_0x7329d4(0xae))/0xc;if(_0x241c64===_0x4a4604)break;else _0x4feabf['push'](_0x4feabf['shift']());}catch(_0x4a2f67){_0x4feabf['push'](_0x4feabf['shift']());}}}(_0x4e2a,0xc44eb));import{Command as _0x4b2ce1}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x544755}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x15a899}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4b2ce1{[_0x527936(0xa2)](){const _0x342af4=_0x527936,{editor:_0x323c3e}=this,_0x37ece2=_0x323c3e[_0x342af4(0xb5)][_0x342af4(0xb6)](_0x15a899)[_0x342af4(0xa9)]();this[_0x342af4(0xab)]=!!_0x37ece2,this[_0x342af4(0xb2)]=_0x37ece2?.[_0x342af4(0xaa)](_0x342af4(0xaf))??null;}[_0x527936(0xb1)]({value:_0x42658a}){const _0x530bc7=_0x527936,{editor:_0xfade40}=this,_0x2b44fd=_0xfade40[_0x530bc7(0xb5)][_0x530bc7(0xb6)](_0x15a899),_0x53117f=_0x2b44fd[_0x530bc7(0xa9)]();_0x53117f&&_0x544755[_0x530bc7(0xa8)](_0x42658a)&&_0xfade40[_0x530bc7(0xb7)][_0x530bc7(0xa6)](_0x502ea3=>{const _0x2e34bc=_0x530bc7;_0x502ea3[_0x2e34bc(0xad)](_0x2e34bc(0xaf),_0x42658a,_0x53117f),_0x2b44fd[_0x2e34bc(0xba)](_0x502ea3);});}}
23
+ const _0x40d41d=_0x2f1a;(function(_0x173b96,_0x116528){const _0x38dfd4=_0x2f1a,_0x514d88=_0x173b96();while(!![]){try{const _0x5b0bc7=parseInt(_0x38dfd4(0x152))/0x1*(parseInt(_0x38dfd4(0x13c))/0x2)+parseInt(_0x38dfd4(0x146))/0x3*(-parseInt(_0x38dfd4(0x147))/0x4)+-parseInt(_0x38dfd4(0x150))/0x5*(-parseInt(_0x38dfd4(0x153))/0x6)+-parseInt(_0x38dfd4(0x143))/0x7+parseInt(_0x38dfd4(0x148))/0x8*(-parseInt(_0x38dfd4(0x142))/0x9)+-parseInt(_0x38dfd4(0x13a))/0xa*(-parseInt(_0x38dfd4(0x151))/0xb)+parseInt(_0x38dfd4(0x145))/0xc;if(_0x5b0bc7===_0x116528)break;else _0x514d88['push'](_0x514d88['shift']());}catch(_0x52c05e){_0x514d88['push'](_0x514d88['shift']());}}}(_0xa57b,0x18df2));function _0xa57b(){const _0x4a2075=['170fhmQvn','146498JsoVOi','2431bneZRo','8820TkdIOG','50tJhWsK','footnotesListStyle','166YcbRwb','getFootnotesDefinitionsObjectElement','change','value','includes','refresh','189VPmqUj','1049951vVBOYD','setAttribute','2377992SpYQKL','36rrsyml','34664ccoguF','61200OXqDzp','isEnabled','_updateFootnotesCounters','model','execute','getAttribute','get','plugins'];_0xa57b=function(){return _0x4a2075;};return _0xa57b();}import{Command as _0x5a36f0}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x24f2b9}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x479ca8}from'../../footnotestracker.js';function _0x2f1a(_0x1aaf4f,_0x348057){const _0xa57b5e=_0xa57b();return _0x2f1a=function(_0x2f1ab6,_0x3ac585){_0x2f1ab6=_0x2f1ab6-0x13a;let _0x159bee=_0xa57b5e[_0x2f1ab6];return _0x159bee;},_0x2f1a(_0x1aaf4f,_0x348057);}export class FootnotesStyleCommand extends _0x5a36f0{[_0x40d41d(0x141)](){const _0x5eb7c1=_0x40d41d,{editor:_0x5e8067}=this,_0x276eb9=_0x5e8067[_0x5eb7c1(0x14f)][_0x5eb7c1(0x14e)](_0x479ca8)[_0x5eb7c1(0x13d)]();this[_0x5eb7c1(0x149)]=!!_0x276eb9,this[_0x5eb7c1(0x13f)]=_0x276eb9?.[_0x5eb7c1(0x14d)](_0x5eb7c1(0x13b))??null;}[_0x40d41d(0x14c)]({value:_0xbb7632}){const _0x26a719=_0x40d41d,{editor:_0x4220c4}=this,_0x5cdb10=_0x4220c4[_0x26a719(0x14f)][_0x26a719(0x14e)](_0x479ca8),_0x161d68=_0x5cdb10[_0x26a719(0x13d)]();_0x161d68&&_0x24f2b9[_0x26a719(0x140)](_0xbb7632)&&_0x4220c4[_0x26a719(0x14b)][_0x26a719(0x13e)](_0x36a245=>{const _0x5816ee=_0x26a719;_0x36a245[_0x5816ee(0x144)](_0x5816ee(0x13b),_0xbb7632,_0x161d68),_0x5cdb10[_0x5816ee(0x14a)](_0x36a245);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x35af(_0x5e0f84,_0x2e1b84){const _0x5062b4=_0x5062();return _0x35af=function(_0x35afd0,_0x48e133){_0x35afd0=_0x35afd0-0x1c6;let _0x1a6ae3=_0x5062b4[_0x35afd0];return _0x1a6ae3;},_0x35af(_0x5e0f84,_0x2e1b84);}function _0x5062(){const _0x2fc966=['upper-latin','lower-latin','1473328YUoolD','decimal-leading-zero','6UPCedA','upper-alpha','1717524hOSemF','upper-roman','944840NGDxKU','lower-alpha','decimal','134974gNiPig','2696716KFuYyU','lower-roman','3726RlgXNb','406392IwXScd','52080vxmxat'];_0x5062=function(){return _0x2fc966;};return _0x5062();}const _0x54749c=_0x35af;(function(_0x28c0ee,_0x41b36e){const _0x48f960=_0x35af,_0x3822e4=_0x28c0ee();while(!![]){try{const _0x29e1f8=parseInt(_0x48f960(0x1d0))/0x1+parseInt(_0x48f960(0x1d4))/0x2+parseInt(_0x48f960(0x1d2))/0x3*(parseInt(_0x48f960(0x1c9))/0x4)+-parseInt(_0x48f960(0x1d6))/0x5+parseInt(_0x48f960(0x1cc))/0x6+-parseInt(_0x48f960(0x1c8))/0x7+-parseInt(_0x48f960(0x1cd))/0x8*(parseInt(_0x48f960(0x1cb))/0x9);if(_0x29e1f8===_0x41b36e)break;else _0x3822e4['push'](_0x3822e4['shift']());}catch(_0x6c74dc){_0x3822e4['push'](_0x3822e4['shift']());}}}(_0x5062,0xce3f6));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x54749c(0x1c7),_0x54749c(0x1d1),_0x54749c(0x1cf),_0x54749c(0x1ce),_0x54749c(0x1c6),_0x54749c(0x1d3),_0x54749c(0x1ca),_0x54749c(0x1d5)];
23
+ const _0x1cf26c=_0x14f1;function _0x417b(){const _0x48b735=['1890DTSZXq','decimal-leading-zero','1738530nzKKxQ','2MLlHNl','upper-alpha','14hOofTj','1416177OxCeZb','lower-alpha','lower-roman','lower-latin','upper-roman','1860NJkYPU','11099EktUzf','364440NqIxnR','1072038XJLNec','84127MjhOne','decimal','1320ExzTTU','upper-latin'];_0x417b=function(){return _0x48b735;};return _0x417b();}function _0x14f1(_0x54bad8,_0xfc0bd){const _0x417b8e=_0x417b();return _0x14f1=function(_0x14f16c,_0x449062){_0x14f16c=_0x14f16c-0x1bd;let _0x4cf623=_0x417b8e[_0x14f16c];return _0x4cf623;},_0x14f1(_0x54bad8,_0xfc0bd);}(function(_0x3f42b7,_0x53c70b){const _0x3dd86f=_0x14f1,_0x230853=_0x3f42b7();while(!![]){try{const _0x1dafec=-parseInt(_0x3dd86f(0x1c7))/0x1*(-parseInt(_0x3dd86f(0x1ce))/0x2)+parseInt(_0x3dd86f(0x1c6))/0x3+parseInt(_0x3dd86f(0x1c9))/0x4*(parseInt(_0x3dd86f(0x1cb))/0x5)+-parseInt(_0x3dd86f(0x1cd))/0x6+-parseInt(_0x3dd86f(0x1bd))/0x7*(parseInt(_0x3dd86f(0x1c5))/0x8)+-parseInt(_0x3dd86f(0x1be))/0x9+parseInt(_0x3dd86f(0x1c3))/0xa*(parseInt(_0x3dd86f(0x1c4))/0xb);if(_0x1dafec===_0x53c70b)break;else _0x230853['push'](_0x230853['shift']());}catch(_0x2a92c1){_0x230853['push'](_0x230853['shift']());}}}(_0x417b,0x34a75));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x1cf26c(0x1c8),_0x1cf26c(0x1cc),_0x1cf26c(0x1c1),_0x1cf26c(0x1ca),_0x1cf26c(0x1bf),_0x1cf26c(0x1cf),_0x1cf26c(0x1c0),_0x1cf26c(0x1c2)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x452d7e=_0x37a6;(function(_0xac65ba,_0x3a3889){const _0x5ba21e=_0x37a6,_0x4f015d=_0xac65ba();while(!![]){try{const _0x244c7e=parseInt(_0x5ba21e(0x17e))/0x1*(parseInt(_0x5ba21e(0x1ab))/0x2)+parseInt(_0x5ba21e(0x1a1))/0x3*(-parseInt(_0x5ba21e(0x1cd))/0x4)+-parseInt(_0x5ba21e(0x1d8))/0x5+parseInt(_0x5ba21e(0x17b))/0x6+-parseInt(_0x5ba21e(0x1ce))/0x7*(parseInt(_0x5ba21e(0x17d))/0x8)+-parseInt(_0x5ba21e(0x18f))/0x9+parseInt(_0x5ba21e(0x1cb))/0xa;if(_0x244c7e===_0x3a3889)break;else _0x4f015d['push'](_0x4f015d['shift']());}catch(_0x378efe){_0x4f015d['push'](_0x4f015d['shift']());}}}(_0x4e86,0xe0067));import{Plugin as _0x40d1bd}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x82b6a1}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x18900f}from'./commands/footnotesstartcommand.js';function _0x37a6(_0x524b50,_0x5c5f26){const _0x4e86ae=_0x4e86();return _0x37a6=function(_0x37a634,_0x552e2a){_0x37a634=_0x37a634-0x177;let _0x5b516c=_0x4e86ae[_0x37a634];return _0x5b516c;},_0x37a6(_0x524b50,_0x5c5f26);}import{FootnotesTracker as _0x4e67a0}from'../footnotestracker.js';import{FootnotesEditing as _0x59d6a9}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x40d1bd{static get[_0x452d7e(0x194)](){const _0x5d03aa=_0x452d7e;return _0x5d03aa(0x1b9);}static get[_0x452d7e(0x1a6)](){return[_0x59d6a9,_0x4e67a0];}static get[_0x452d7e(0x1da)](){return!0x0;}static get[_0x452d7e(0x1a5)](){return!0x0;}[_0x452d7e(0x1bb)](){const _0x16ec67=_0x452d7e,{editor:_0x7f7327}=this;_0x7f7327[_0x16ec67(0x17a)][_0x16ec67(0x1ba)](_0x16ec67(0x1c6),_0x16ec67(0x1d7)),_0x7f7327[_0x16ec67(0x17a)][_0x16ec67(0x1ba)](_0x16ec67(0x185),0x1),_0x7f7327[_0x16ec67(0x189)][_0x16ec67(0x182)](_0x16ec67(0x1d2),new _0x82b6a1(_0x7f7327)),_0x7f7327[_0x16ec67(0x189)][_0x16ec67(0x182)](_0x16ec67(0x1d1),new _0x18900f(_0x7f7327)),this[_0x16ec67(0x1d9)](),this[_0x16ec67(0x183)](),this[_0x16ec67(0x1be)](),this[_0x16ec67(0x1ad)]();}[_0x452d7e(0x1d9)](){const _0xf5b070=_0x452d7e,{editor:_0x224185}=this,{schema:_0x5d06a2}=_0x224185[_0xf5b070(0x1b3)];_0x5d06a2[_0xf5b070(0x1d0)](_0xf5b070(0x1bf),{'allowAttributes':[_0xf5b070(0x1bd),_0xf5b070(0x1a2)]});}[_0x452d7e(0x183)](){const _0x3c5369=_0x452d7e,{editor:_0x464639}=this,{conversion:_0x5b5e1c,model:_0x9ff372}=_0x464639,{schema:_0x202c4f}=_0x9ff372;_0x5b5e1c[_0x3c5369(0x1d4)](_0x3c5369(0x199))[_0x3c5369(0x182)](_0x18d6f8=>{const _0x5046b7=_0x3c5369;_0x18d6f8['on'](_0x5046b7(0x1b7),(_0x4c5cca,_0x4773e1,_0x275bc4)=>{const _0x5c2c96=_0x5046b7,_0x1e88ec=_0x4773e1[_0x5c2c96(0x1a7)],_0x380d1f=_0x4773e1[_0x5c2c96(0x19a)]?.[_0x5c2c96(0x1a3)];_0x1e88ec[_0x5c2c96(0x18e)](_0x5c2c96(0x1b5))&&_0x380d1f?.['is'](_0x5c2c96(0x195),_0x5c2c96(0x1bf))&&(function(_0x2f9649,_0x2465f5,_0x1d11f3,_0x388168){const _0x179f6d=_0x5c2c96;if(!_0x388168[_0x179f6d(0x180)](_0x2465f5,_0x179f6d(0x1a2)))return;let _0x4e8b47=0x1;const _0x4f0560=_0x1d11f3[_0x179f6d(0x1c5)][_0x179f6d(0x188)](_0x2f9649,{'attributes':_0x179f6d(0x1c9)});if(_0x4f0560){const _0xf716f1=Number[_0x179f6d(0x1bc)](_0x2f9649[_0x179f6d(0x178)](_0x179f6d(0x1c9)),0xa);Number[_0x179f6d(0x1c0)](_0xf716f1)||(_0x4e8b47=_0xf716f1);}!_0x4f0560&&_0x2465f5[_0x179f6d(0x1c3)](_0x179f6d(0x1a2))||_0x1d11f3[_0x179f6d(0x192)][_0x179f6d(0x1a4)](_0x179f6d(0x1a2),_0x4e8b47,_0x2465f5);}(_0x1e88ec,_0x380d1f,_0x275bc4,_0x202c4f),function(_0x500fc3,_0x62fdf4,_0x960048,_0x24cf1c){const _0x5e9a04=_0x5c2c96;if(!_0x24cf1c[_0x5e9a04(0x180)](_0x62fdf4,_0x5e9a04(0x1bd)))return;let _0x2dffdd=_0x5e9a04(0x1d7),_0x41a254=!0x1;if(_0x960048[_0x5e9a04(0x1c5)][_0x5e9a04(0x188)](_0x500fc3,{'attributes':_0x5e9a04(0x181)})){const _0x2c110d={0x1:_0x5e9a04(0x1d7),'a':_0x5e9a04(0x18d),'A':_0x5e9a04(0x184),'i':_0x5e9a04(0x1ca),'I':_0x5e9a04(0x1c2)}[_0x500fc3[_0x5e9a04(0x178)](_0x5e9a04(0x181))];_0x2c110d&&(_0x2dffdd=_0x2c110d),_0x41a254=!0x0;}_0x960048[_0x5e9a04(0x1c5)][_0x5e9a04(0x188)](_0x500fc3,{'styles':_0x5e9a04(0x18b)})&&(_0x2dffdd=_0x500fc3[_0x5e9a04(0x1d5)](_0x5e9a04(0x18b)),_0x41a254=!0x0),!_0x41a254&&_0x62fdf4[_0x5e9a04(0x1c3)](_0x5e9a04(0x1bd))||_0x960048[_0x5e9a04(0x192)][_0x5e9a04(0x1a4)](_0x5e9a04(0x1bd),_0x2dffdd,_0x62fdf4);}(_0x1e88ec,_0x380d1f,_0x275bc4,_0x202c4f));});}),_0x5b5e1c[_0x3c5369(0x1d4)](_0x3c5369(0x19f))[_0x3c5369(0x182)](_0x3ad31d=>{const _0x5b9cc1=_0x3c5369;_0x3ad31d['on'](_0x5b9cc1(0x19b),(_0x1e8d58,_0x186fd7,_0x4cc2ae)=>{const _0x203081=_0x5b9cc1;if(!_0x4cc2ae[_0x203081(0x1c5)][_0x203081(0x188)](_0x186fd7[_0x203081(0x190)],_0x1e8d58[_0x203081(0x1c1)]))return;const _0xed8150=C(_0x186fd7[_0x203081(0x190)],_0x4cc2ae[_0x203081(0x193)]),{attributeNewValue:_0x29b2ce}=_0x186fd7;null==_0x29b2ce||0x1===_0x29b2ce?_0x4cc2ae[_0x203081(0x192)][_0x203081(0x17c)](_0x203081(0x1c9),_0xed8150):_0x4cc2ae[_0x203081(0x192)][_0x203081(0x1a4)](_0x203081(0x1c9),String(_0x29b2ce),_0xed8150);}),_0x3ad31d['on'](_0x5b9cc1(0x1a9),(_0x55264e,_0x59d504,_0x3739ed)=>{const _0xa05c02=_0x5b9cc1;if(!_0x3739ed[_0xa05c02(0x1c5)][_0xa05c02(0x188)](_0x59d504[_0xa05c02(0x190)],_0x55264e[_0xa05c02(0x1c1)]))return;const _0x1f941f=C(_0x59d504[_0xa05c02(0x190)],_0x3739ed[_0xa05c02(0x193)]),{attributeNewValue:_0x28ff98}=_0x59d504;_0x28ff98&&_0xa05c02(0x1d7)!==_0x28ff98?_0x3739ed[_0xa05c02(0x192)][_0xa05c02(0x18c)](_0xa05c02(0x18b),_0x28ff98,_0x1f941f):_0x3739ed[_0xa05c02(0x192)][_0xa05c02(0x187)](_0xa05c02(0x18b),_0x1f941f);});});}[_0x452d7e(0x1ad)](){const _0x21f3ef=_0x452d7e,{editor:_0x3e52dc}=this,{model:_0x48b7b3}=_0x3e52dc,_0x2b6657=_0x3e52dc[_0x21f3ef(0x1a8)][_0x21f3ef(0x1c8)](_0x4e67a0),_0x5a2ac6=this[_0x21f3ef(0x1b4)](),_0x5563a2=this[_0x21f3ef(0x1b1)]();_0x48b7b3[_0x21f3ef(0x1d3)][_0x21f3ef(0x1b6)](_0x5eed7f=>{const _0xc1aafe=_0x21f3ef,_0x191a37=_0x48b7b3[_0xc1aafe(0x1d3)][_0xc1aafe(0x19e)][_0xc1aafe(0x186)]();let _0x3e1033=!0x1;for(const _0x548aa5 of _0x191a37){if(_0xc1aafe(0x1af)!==_0x548aa5[_0xc1aafe(0x181)]||_0xc1aafe(0x1c4)===_0x548aa5[_0xc1aafe(0x1c1)])continue;const _0x1bde04=_0x48b7b3[_0xc1aafe(0x179)](_0x548aa5[_0xc1aafe(0x177)][_0xc1aafe(0x1b0)]);for(const _0x1ccc9a of _0x1bde04[_0xc1aafe(0x1b8)]())_0x1ccc9a['is'](_0xc1aafe(0x195),_0xc1aafe(0x1bf))&&(!_0x1ccc9a[_0xc1aafe(0x1c3)](_0xc1aafe(0x1a2))&&_0x48b7b3[_0xc1aafe(0x1aa)][_0xc1aafe(0x180)](_0x1ccc9a,_0xc1aafe(0x1a2))&&(_0x5eed7f[_0xc1aafe(0x1a4)](_0xc1aafe(0x1a2),_0x5563a2,_0x1ccc9a),_0x3e1033=!0x0),!_0x1ccc9a[_0xc1aafe(0x1c3)](_0xc1aafe(0x1bd))&&_0x48b7b3[_0xc1aafe(0x1aa)][_0xc1aafe(0x180)](_0x1ccc9a,_0xc1aafe(0x1bd))&&(_0x5eed7f[_0xc1aafe(0x1a4)](_0xc1aafe(0x1bd),_0x5a2ac6,_0x1ccc9a),_0x3e1033=!0x0));}return _0x3e1033&&_0x2b6657[_0xc1aafe(0x1c7)](_0x5eed7f),_0x3e1033;});}[_0x452d7e(0x1be)](){const _0xb1bc24=_0x452d7e,{editor:_0x2659a3}=this;_0x2659a3[_0xb1bc24(0x1a8)][_0xb1bc24(0x1c8)](_0x4e67a0)[_0xb1bc24(0x19c)](_0x13bfde=>this[_0xb1bc24(0x1b2)](_0x13bfde));}[_0x452d7e(0x1b4)](){const _0x4dca6c=_0x452d7e;return this[_0x4dca6c(0x19d)][_0x4dca6c(0x17a)][_0x4dca6c(0x1c8)](_0x4dca6c(0x1c6));}[_0x452d7e(0x1b1)](){const _0x4b6483=_0x452d7e;return this[_0x4b6483(0x19d)][_0x4b6483(0x17a)][_0x4b6483(0x1c8)](_0x4b6483(0x185));}[_0x452d7e(0x1b2)]({container:_0x587870,value:_0x3cf08f,digits:_0x2871fa}){const _0x186164=_0x452d7e,_0x406ee9=_0x587870[_0x186164(0x178)](_0x186164(0x1bd)),_0x3a9bb7=_0x587870[_0x186164(0x178)](_0x186164(0x1a2)),_0x3409c2=Math[_0x186164(0x17f)](_0x3cf08f)+(_0x3a9bb7??0x1)-0x1;switch(_0x406ee9){case _0x186164(0x1a0):return function(_0x59fd11,_0x8930d3){const _0x187ced=_0x186164;return String(_0x59fd11)[_0x187ced(0x1cc)](_0x8930d3,'0');}(_0x3409c2,Math[_0x186164(0x1ae)](0x2,_0x2871fa));case _0x186164(0x18d):case _0x186164(0x191):return M(_0x3409c2,!0x1);case _0x186164(0x184):case _0x186164(0x1cf):return M(_0x3409c2,!0x0);case _0x186164(0x1ca):return V(_0x3409c2,!0x1);case _0x186164(0x1c2):return V(_0x3409c2,!0x0);default:return String(_0x3409c2);}}}function C(_0x3d5a58,_0x2d0e62){const _0xa07fdf=_0x452d7e,_0x40440b=_0x2d0e62[_0xa07fdf(0x198)](_0x3d5a58);return Array[_0xa07fdf(0x196)](_0x40440b[_0xa07fdf(0x1ac)]())[_0xa07fdf(0x1d6)](_0x210a85=>_0x210a85['is'](_0xa07fdf(0x195),'ol')&&_0x210a85[_0xa07fdf(0x18e)](_0xa07fdf(0x1b5)));}function _0x4e86(){const _0xbeb524=['FootnotesPropertiesEditing','define','init','parseInt','footnotesListStyle','_defineFormatter','footnotesDefinitions','isNaN','name','upper-roman','hasAttribute','$text','consumable','footnotes.footnotesProperties.defaultListStyle','_updateFootnotesCounters','get','start','lower-roman','20755010HJmTqC','padStart','732cEGypo','63LhVMsA','upper-latin','extend','footnotesStart','footnotesStyle','document','for','getStyle','find','decimal','4107800zTRBpk','_defineSchema','isOfficialPlugin','toUpperCase','position','getAttribute','createRangeOn','config','10949658qyxAVI','removeAttribute','862232uhDnrr','18887OrtPVo','floor','checkAttribute','type','add','_defineConverters','upper-alpha','footnotes.footnotesProperties.defaultStartIndex','getChanges','removeStyle','consume','commands','fromCharCode','list-style-type','setStyle','lower-alpha','hasClass','13783275jRaxkF','item','lower-latin','writer','mapper','pluginName','element','from','toLowerCase','toViewElement','upcast','modelCursor','attribute:footnotesListStart:footnotesDefinitions','setFootnoteFormatter','editor','differ','downcast','decimal-leading-zero','21360jRbUyg','footnotesListStart','parent','setAttribute','isPremiumPlugin','requires','viewItem','plugins','attribute:footnotesListStyle:footnotesDefinitions','schema','174nwLBnT','getChildren','_definePostfixer','max','insert','nodeAfter','_getDefaultStartIndex','_formatFootnoteListValue','model','_getDefaultListStyle','footnotes-list','registerPostFixer','element:ol','getItems'];_0x4e86=function(){return _0xbeb524;};return _0x4e86();}function M(_0x32b7fe,_0x4a7ca4){const _0x5de371=_0x452d7e;let _0x970b2a='',_0x9fad9c=_0x32b7fe;for(;_0x9fad9c>0x0;){const _0x378d23=(_0x9fad9c-0x1)%0x1a;_0x970b2a=String[_0x5de371(0x18a)](0x61+_0x378d23)+_0x970b2a,_0x9fad9c=Math[_0x5de371(0x17f)]((_0x9fad9c-0x1)/0x1a);}return _0x4a7ca4?_0x970b2a[_0x5de371(0x1db)]():_0x970b2a;}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(_0x24b554,_0x221628){const _0x44ed99=_0x452d7e;let _0x4d2759='',_0x66c83c=_0x24b554;for(const {value:_0x1a1701,numeral:_0x1952b5}of N)for(;_0x66c83c>=_0x1a1701;)_0x4d2759+=_0x1952b5,_0x66c83c-=_0x1a1701;return _0x221628?_0x4d2759:_0x4d2759[_0x44ed99(0x197)]();}
23
+ const _0x5a9b04=_0x232e;(function(_0x17ce93,_0x59efbc){const _0x2f61bd=_0x232e,_0x4349cd=_0x17ce93();while(!![]){try{const _0x4776b3=-parseInt(_0x2f61bd(0x1d1))/0x1*(-parseInt(_0x2f61bd(0x1c1))/0x2)+-parseInt(_0x2f61bd(0x1f3))/0x3*(parseInt(_0x2f61bd(0x1ce))/0x4)+parseInt(_0x2f61bd(0x20f))/0x5+parseInt(_0x2f61bd(0x1f2))/0x6*(-parseInt(_0x2f61bd(0x1ec))/0x7)+-parseInt(_0x2f61bd(0x1bc))/0x8+-parseInt(_0x2f61bd(0x20a))/0x9+parseInt(_0x2f61bd(0x1f5))/0xa;if(_0x4776b3===_0x59efbc)break;else _0x4349cd['push'](_0x4349cd['shift']());}catch(_0x2be517){_0x4349cd['push'](_0x4349cd['shift']());}}}(_0x182d,0xafecc));import{Plugin as _0x46cae4}from'ckeditor5/src/core.js';function _0x182d(){const _0x1f7359=['11651553KfoQma','attribute:footnotesListStart:footnotesDefinitions','hasClass','footnotesListStyle','add','6895365iiURTP','from','document','init','floor','footnotes.footnotesProperties.defaultListStyle','item','differ','createRangeOn','getChanges','removeStyle','_updateFootnotesCounters','decimal-leading-zero','decimal','writer','pluginName','_getDefaultListStyle','parseInt','3070152LgReQK','_defineFormatter','footnotesDefinitions','footnotes.footnotesProperties.defaultStartIndex','upcast','709026XDnVJO','type','footnotesStart','setAttribute','nodeAfter','insert','max','schema','consume','toUpperCase','find','getItems','commands','4576420BoHZcb','footnotes-list','_getDefaultStartIndex','2LvPBTq','isNaN','lower-latin','for','plugins','toViewElement','lower-alpha','getChildren','editor','name','$text','_formatFootnoteListValue','define','config','setStyle','_definePostfixer','position','hasAttribute','list-style-type','footnotesListStart','lower-roman','_defineSchema','_defineConverters','upper-roman','mapper','getStyle','checkAttribute','4501fwEoyF','isOfficialPlugin','element:ol','upper-latin','parent','padStart','11292rjFVzP','3Ofaayj','viewItem','26651060TzEIPU','toLowerCase','downcast','FootnotesPropertiesEditing','getAttribute','removeAttribute','requires','registerPostFixer','setFootnoteFormatter','start','isPremiumPlugin','attribute:footnotesListStyle:footnotesDefinitions','model','consumable','get','footnotesStyle','upper-alpha','extend','fromCharCode','element','modelCursor'];_0x182d=function(){return _0x1f7359;};return _0x182d();}import{FootnotesStyleCommand as _0x4066ff}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x225dcf}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4d6f7d}from'../footnotestracker.js';import{FootnotesEditing as _0x417eb7}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x46cae4{static get[_0x5a9b04(0x1b9)](){const _0x3c0b1a=_0x5a9b04;return _0x3c0b1a(0x1f8);}static get[_0x5a9b04(0x1fb)](){return[_0x417eb7,_0x4d6f7d];}static get[_0x5a9b04(0x1ed)](){return!0x0;}static get[_0x5a9b04(0x1ff)](){return!0x0;}[_0x5a9b04(0x1ad)](){const _0x48673c=_0x5a9b04,{editor:_0x5d362d}=this;_0x5d362d[_0x48673c(0x1de)][_0x48673c(0x1dd)](_0x48673c(0x1af),_0x48673c(0x1b7)),_0x5d362d[_0x48673c(0x1de)][_0x48673c(0x1dd)](_0x48673c(0x1bf),0x1),_0x5d362d[_0x48673c(0x1cd)][_0x48673c(0x20e)](_0x48673c(0x204),new _0x4066ff(_0x5d362d)),_0x5d362d[_0x48673c(0x1cd)][_0x48673c(0x20e)](_0x48673c(0x1c3),new _0x225dcf(_0x5d362d)),this[_0x48673c(0x1e6)](),this[_0x48673c(0x1e7)](),this[_0x48673c(0x1bd)](),this[_0x48673c(0x1e0)]();}[_0x5a9b04(0x1e6)](){const _0x20a0a7=_0x5a9b04,{editor:_0x232da5}=this,{schema:_0xad58a9}=_0x232da5[_0x20a0a7(0x201)];_0xad58a9[_0x20a0a7(0x206)](_0x20a0a7(0x1be),{'allowAttributes':[_0x20a0a7(0x20d),_0x20a0a7(0x1e4)]});}[_0x5a9b04(0x1e7)](){const _0x5ef4b7=_0x5a9b04,{editor:_0x53ae49}=this,{conversion:_0x4c508b,model:_0x227fc8}=_0x53ae49,{schema:_0x3d3a97}=_0x227fc8;_0x4c508b[_0x5ef4b7(0x1d4)](_0x5ef4b7(0x1c0))[_0x5ef4b7(0x20e)](_0x4cc3b4=>{const _0x39c618=_0x5ef4b7;_0x4cc3b4['on'](_0x39c618(0x1ee),(_0x46adf5,_0x5685bb,_0x378de8)=>{const _0xd0ef6c=_0x39c618,_0x3a2a97=_0x5685bb[_0xd0ef6c(0x1f4)],_0x408d8e=_0x5685bb[_0xd0ef6c(0x209)]?.[_0xd0ef6c(0x1f0)];_0x3a2a97[_0xd0ef6c(0x20c)](_0xd0ef6c(0x1cf))&&_0x408d8e?.['is'](_0xd0ef6c(0x208),_0xd0ef6c(0x1be))&&(function(_0x5533e6,_0x223701,_0x55fce3,_0x4ec33e){const _0x134dca=_0xd0ef6c;if(!_0x4ec33e[_0x134dca(0x1eb)](_0x223701,_0x134dca(0x1e4)))return;let _0xf294f=0x1;const _0x406d34=_0x55fce3[_0x134dca(0x202)][_0x134dca(0x1c9)](_0x5533e6,{'attributes':_0x134dca(0x1fe)});if(_0x406d34){const _0x37c2a1=Number[_0x134dca(0x1bb)](_0x5533e6[_0x134dca(0x1f9)](_0x134dca(0x1fe)),0xa);Number[_0x134dca(0x1d2)](_0x37c2a1)||(_0xf294f=_0x37c2a1);}!_0x406d34&&_0x223701[_0x134dca(0x1e2)](_0x134dca(0x1e4))||_0x55fce3[_0x134dca(0x1b8)][_0x134dca(0x1c4)](_0x134dca(0x1e4),_0xf294f,_0x223701);}(_0x3a2a97,_0x408d8e,_0x378de8,_0x3d3a97),function(_0x495b23,_0x25538a,_0x4b5909,_0x2c4628){const _0x3e6864=_0xd0ef6c;if(!_0x2c4628[_0x3e6864(0x1eb)](_0x25538a,_0x3e6864(0x20d)))return;let _0x1b112a=_0x3e6864(0x1b7),_0x5d55bf=!0x1;if(_0x4b5909[_0x3e6864(0x202)][_0x3e6864(0x1c9)](_0x495b23,{'attributes':_0x3e6864(0x1c2)})){const _0x55d17e={0x1:_0x3e6864(0x1b7),'a':_0x3e6864(0x1d7),'A':_0x3e6864(0x205),'i':_0x3e6864(0x1e5),'I':_0x3e6864(0x1e8)}[_0x495b23[_0x3e6864(0x1f9)](_0x3e6864(0x1c2))];_0x55d17e&&(_0x1b112a=_0x55d17e),_0x5d55bf=!0x0;}_0x4b5909[_0x3e6864(0x202)][_0x3e6864(0x1c9)](_0x495b23,{'styles':_0x3e6864(0x1e3)})&&(_0x1b112a=_0x495b23[_0x3e6864(0x1ea)](_0x3e6864(0x1e3)),_0x5d55bf=!0x0),!_0x5d55bf&&_0x25538a[_0x3e6864(0x1e2)](_0x3e6864(0x20d))||_0x4b5909[_0x3e6864(0x1b8)][_0x3e6864(0x1c4)](_0x3e6864(0x20d),_0x1b112a,_0x25538a);}(_0x3a2a97,_0x408d8e,_0x378de8,_0x3d3a97));});}),_0x4c508b[_0x5ef4b7(0x1d4)](_0x5ef4b7(0x1f7))[_0x5ef4b7(0x20e)](_0x2aff6a=>{const _0x542b85=_0x5ef4b7;_0x2aff6a['on'](_0x542b85(0x20b),(_0x142510,_0x49537b,_0x52ae45)=>{const _0x290eda=_0x542b85;if(!_0x52ae45[_0x290eda(0x202)][_0x290eda(0x1c9)](_0x49537b[_0x290eda(0x1b0)],_0x142510[_0x290eda(0x1da)]))return;const _0x46f7d9=C(_0x49537b[_0x290eda(0x1b0)],_0x52ae45[_0x290eda(0x1e9)]),{attributeNewValue:_0x1b8e5b}=_0x49537b;null==_0x1b8e5b||0x1===_0x1b8e5b?_0x52ae45[_0x290eda(0x1b8)][_0x290eda(0x1fa)](_0x290eda(0x1fe),_0x46f7d9):_0x52ae45[_0x290eda(0x1b8)][_0x290eda(0x1c4)](_0x290eda(0x1fe),String(_0x1b8e5b),_0x46f7d9);}),_0x2aff6a['on'](_0x542b85(0x200),(_0x51f4bb,_0x1f64d7,_0x21b003)=>{const _0x33f793=_0x542b85;if(!_0x21b003[_0x33f793(0x202)][_0x33f793(0x1c9)](_0x1f64d7[_0x33f793(0x1b0)],_0x51f4bb[_0x33f793(0x1da)]))return;const _0x48f0ce=C(_0x1f64d7[_0x33f793(0x1b0)],_0x21b003[_0x33f793(0x1e9)]),{attributeNewValue:_0x1e354d}=_0x1f64d7;_0x1e354d&&_0x33f793(0x1b7)!==_0x1e354d?_0x21b003[_0x33f793(0x1b8)][_0x33f793(0x1df)](_0x33f793(0x1e3),_0x1e354d,_0x48f0ce):_0x21b003[_0x33f793(0x1b8)][_0x33f793(0x1b4)](_0x33f793(0x1e3),_0x48f0ce);});});}[_0x5a9b04(0x1e0)](){const _0x520e5c=_0x5a9b04,{editor:_0x320150}=this,{model:_0x477d16}=_0x320150,_0x1cce70=_0x320150[_0x520e5c(0x1d5)][_0x520e5c(0x203)](_0x4d6f7d),_0x36ce35=this[_0x520e5c(0x1ba)](),_0x50d3eb=this[_0x520e5c(0x1d0)]();_0x477d16[_0x520e5c(0x1ac)][_0x520e5c(0x1fc)](_0x1c9e33=>{const _0x58106c=_0x520e5c,_0x36bdbd=_0x477d16[_0x58106c(0x1ac)][_0x58106c(0x1b1)][_0x58106c(0x1b3)]();let _0x51d531=!0x1;for(const _0xbe8a37 of _0x36bdbd){if(_0x58106c(0x1c6)!==_0xbe8a37[_0x58106c(0x1c2)]||_0x58106c(0x1db)===_0xbe8a37[_0x58106c(0x1da)])continue;const _0x422b50=_0x477d16[_0x58106c(0x1b2)](_0xbe8a37[_0x58106c(0x1e1)][_0x58106c(0x1c5)]);for(const _0x5d6a65 of _0x422b50[_0x58106c(0x1cc)]())_0x5d6a65['is'](_0x58106c(0x208),_0x58106c(0x1be))&&(!_0x5d6a65[_0x58106c(0x1e2)](_0x58106c(0x1e4))&&_0x477d16[_0x58106c(0x1c8)][_0x58106c(0x1eb)](_0x5d6a65,_0x58106c(0x1e4))&&(_0x1c9e33[_0x58106c(0x1c4)](_0x58106c(0x1e4),_0x50d3eb,_0x5d6a65),_0x51d531=!0x0),!_0x5d6a65[_0x58106c(0x1e2)](_0x58106c(0x20d))&&_0x477d16[_0x58106c(0x1c8)][_0x58106c(0x1eb)](_0x5d6a65,_0x58106c(0x20d))&&(_0x1c9e33[_0x58106c(0x1c4)](_0x58106c(0x20d),_0x36ce35,_0x5d6a65),_0x51d531=!0x0));}return _0x51d531&&_0x1cce70[_0x58106c(0x1b5)](_0x1c9e33),_0x51d531;});}[_0x5a9b04(0x1bd)](){const _0x1eec32=_0x5a9b04,{editor:_0x5b72cd}=this;_0x5b72cd[_0x1eec32(0x1d5)][_0x1eec32(0x203)](_0x4d6f7d)[_0x1eec32(0x1fd)](_0x2985a5=>this[_0x1eec32(0x1dc)](_0x2985a5));}[_0x5a9b04(0x1ba)](){const _0x20a147=_0x5a9b04;return this[_0x20a147(0x1d9)][_0x20a147(0x1de)][_0x20a147(0x203)](_0x20a147(0x1af));}[_0x5a9b04(0x1d0)](){const _0x337343=_0x5a9b04;return this[_0x337343(0x1d9)][_0x337343(0x1de)][_0x337343(0x203)](_0x337343(0x1bf));}[_0x5a9b04(0x1dc)]({container:_0x4f056e,value:_0x56e29f,digits:_0x2787e8}){const _0x1f7c80=_0x5a9b04,_0x10365f=_0x4f056e[_0x1f7c80(0x1f9)](_0x1f7c80(0x20d)),_0x3452a7=_0x4f056e[_0x1f7c80(0x1f9)](_0x1f7c80(0x1e4)),_0x31112b=Math[_0x1f7c80(0x1ae)](_0x56e29f)+(_0x3452a7??0x1)-0x1;switch(_0x10365f){case _0x1f7c80(0x1b6):return function(_0xc69fd4,_0x2bac07){const _0x57d3b1=_0x1f7c80;return String(_0xc69fd4)[_0x57d3b1(0x1f1)](_0x2bac07,'0');}(_0x31112b,Math[_0x1f7c80(0x1c7)](0x2,_0x2787e8));case _0x1f7c80(0x1d7):case _0x1f7c80(0x1d3):return M(_0x31112b,!0x1);case _0x1f7c80(0x205):case _0x1f7c80(0x1ef):return M(_0x31112b,!0x0);case _0x1f7c80(0x1e5):return V(_0x31112b,!0x1);case _0x1f7c80(0x1e8):return V(_0x31112b,!0x0);default:return String(_0x31112b);}}}function C(_0x5f5875,_0x5e2187){const _0x5206eb=_0x5a9b04,_0x4ed135=_0x5e2187[_0x5206eb(0x1d6)](_0x5f5875);return Array[_0x5206eb(0x1ab)](_0x4ed135[_0x5206eb(0x1d8)]())[_0x5206eb(0x1cb)](_0x162266=>_0x162266['is'](_0x5206eb(0x208),'ol')&&_0x162266[_0x5206eb(0x20c)](_0x5206eb(0x1cf)));}function M(_0x43d96c,_0x665fb4){const _0x31f8c5=_0x5a9b04;let _0x2ea298='',_0x3a8f72=_0x43d96c;for(;_0x3a8f72>0x0;){const _0x29d5d6=(_0x3a8f72-0x1)%0x1a;_0x2ea298=String[_0x31f8c5(0x207)](0x61+_0x29d5d6)+_0x2ea298,_0x3a8f72=Math[_0x31f8c5(0x1ae)]((_0x3a8f72-0x1)/0x1a);}return _0x665fb4?_0x2ea298[_0x31f8c5(0x1ca)]():_0x2ea298;}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 _0x232e(_0x33f215,_0x3bf8b9){const _0x182ddc=_0x182d();return _0x232e=function(_0x232e9f,_0x4a6682){_0x232e9f=_0x232e9f-0x1ab;let _0x25ed73=_0x182ddc[_0x232e9f];return _0x25ed73;},_0x232e(_0x33f215,_0x3bf8b9);}function V(_0x1d898b,_0x9f870f){const _0x405da6=_0x5a9b04;let _0x35b46a='',_0x3ddcd5=_0x1d898b;for(const {value:_0x28e707,numeral:_0x331118}of N)for(;_0x3ddcd5>=_0x28e707;)_0x35b46a+=_0x331118,_0x3ddcd5-=_0x28e707;return _0x9f870f?_0x35b46a:_0x35b46a[_0x405da6(0x1f6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x434187,ButtonView as _0x48f674,ContextualBalloon as _0x5184b8,createDropdown as _0x2f6df2}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2f3017}from'ckeditor5/src/widget.js';import{Plugin as _0xbb4325}from'ckeditor5/src/core.js';import{IconFootnote as _0x18c48f,IconListStyleDecimal as _0x1dc34f,IconListStyleDecimalLeadingZero as _0x50ccfd,IconListStyleLowerLatin as _0x18be42,IconListStyleLowerRoman as _0x67939f,IconListStyleUpperLatin as _0x27a9ef,IconListStyleUpperRoman as _0x3fd652}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x257700}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x13b2b0}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xbb4325{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5184b8,_0x2f3017];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5aae92}=this,{componentFactory:_0xd94161}=_0x5aae92['ui'];_0x5aae92['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xd94161['add']('footnotesStyle',function(_0x4ef039){return _0x2cfb63=>{const {t:t}=_0x2cfb63,_0x4cb28d=_0x4ef039['commands']['get']('footnotesStyle'),_0x41951d=_0x2f6df2(_0x2cfb63),{buttonView:_0x293f22}=_0x41951d;return _0x41951d['class']='ck-footnotes-styles-dropdown',_0x41951d['bind']('isEnabled')['to'](_0x4cb28d,'isEnabled'),_0x293f22['set']({'label':t('Footnotes\x20style'),'icon':_0x18c48f,'tooltip':!0x0}),_0x41951d['once']('change:isOpen',()=>{const _0x15118c=function({editor:_0x1b520c,dropdownView:_0x1b2193}){const {t:t}=_0x1b520c['locale'],_0x5ef2ee=t('Footnotes\x20definitions\x20styles'),_0x2d3f11=function(_0x34746e){const t=_0x34746e['locale']['t'],_0x14e1ec=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1dc34f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x50ccfd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x67939f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3fd652},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x18be42},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x27a9ef}];return _0x14e1ec['map'](function(_0x2e32ea){const _0x3d77cc=_0x2e32ea['locale'];return({label:_0x8dd6d8,icon:_0x3e9329,tooltip:_0x3f1f66,style:_0x5317a6})=>{const _0xdcf642=_0x2e32ea['commands']['get']('footnotesStyle'),_0x19ee1a=new _0x48f674(_0x3d77cc);return _0x19ee1a['set']({'label':_0x8dd6d8,'icon':_0x3e9329,'tooltip':_0x3f1f66}),_0x19ee1a['bind']('isOn')['to'](_0xdcf642,'value',_0x40dbe3=>_0x40dbe3===_0x5317a6),_0x19ee1a['bind']('isEnabled')['to'](_0xdcf642,'isEnabled'),_0x19ee1a['on']('execute',()=>{_0x2e32ea['execute']('footnotesStyle',{'value':_0x5317a6}),_0x2e32ea['editing']['view']['focus']();}),_0x19ee1a;};}(_0x34746e));}(_0x1b520c),_0x54ae0e=new _0x257700(_0x1b520c['locale'],{'styleGridAriaLabel':_0x5ef2ee,'styleButtonViews':_0x2d3f11});return _0x54ae0e['delegate']('execute')['to'](_0x1b2193),_0x54ae0e['on']('footnotesListStart',(_0x208269,_0x4dfb57)=>{_0x1b520c['execute']('footnotesStart',{'value':_0x4dfb57['startIndex']});}),_0x54ae0e;}({'editor':_0x4ef039,'dropdownView':_0x41951d});_0x41951d['panelView']['children']['add'](_0x15118c);}),_0x41951d;};}(_0x5aae92));}['afterInit'](){const {editor:_0x32ca89}=this,{t:t}=_0x32ca89['locale'],_0x5329a8=_0x32ca89['plugins']['get'](_0x2f3017),{defaultPositions:_0x4c4ef1}=_0x434187;_0x5329a8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x32ca89['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x336301=>{let _0xf5eab8=_0x336301['getFirstPosition']()?.['parent'];return _0xf5eab8?.['is']('$text')&&(_0xf5eab8=_0xf5eab8['parent']),_0xf5eab8?.['is']('element')?_0xf5eab8['findAncestor'](_0x13b2b0):null;},'positions':[_0x4c4ef1['southArrowNorth'],_0x4c4ef1['southArrowNorthMiddleWest'],_0x4c4ef1['southArrowNorthMiddleEast'],_0x4c4ef1['southArrowNorthWest'],_0x4c4ef1['southArrowNorthEast'],_0x4c4ef1['northArrowSouth'],_0x4c4ef1['northArrowSouthMiddleWest'],_0x4c4ef1['northArrowSouthMiddleEast'],_0x4c4ef1['northArrowSouthWest'],_0x4c4ef1['northArrowSouthEast'],_0x4c4ef1['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x6315da,ButtonView as _0x1bca05,ContextualBalloon as _0x1c0198,createDropdown as _0x104df4}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0xe2d940}from'ckeditor5/src/widget.js';import{Plugin as _0x1f8ebc}from'ckeditor5/src/core.js';import{IconFootnote as _0x120e8e,IconListStyleDecimal as _0x37c163,IconListStyleDecimalLeadingZero as _0x5b4313,IconListStyleLowerLatin as _0x473fcb,IconListStyleLowerRoman as _0x16551d,IconListStyleUpperLatin as _0x391a45,IconListStyleUpperRoman as _0x49ca0e}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4d7cff}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3b05b6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1f8ebc{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1c0198,_0xe2d940];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x737766}=this,{componentFactory:_0x41f4b5}=_0x737766['ui'];_0x737766['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x41f4b5['add']('footnotesStyle',function(_0x140c51){return _0x3a842e=>{const {t:t}=_0x3a842e,_0x4af390=_0x140c51['commands']['get']('footnotesStyle'),_0x1f57b6=_0x104df4(_0x3a842e),{buttonView:_0x3d7c10}=_0x1f57b6;return _0x1f57b6['class']='ck-footnotes-styles-dropdown',_0x1f57b6['bind']('isEnabled')['to'](_0x4af390,'isEnabled'),_0x3d7c10['set']({'label':t('Footnotes\x20style'),'icon':_0x120e8e,'tooltip':!0x0}),_0x1f57b6['once']('change:isOpen',()=>{const _0x25d6b7=function({editor:_0x1dee43,dropdownView:_0x31bec1}){const {t:t}=_0x1dee43['locale'],_0x4f4b38=t('Footnotes\x20definitions\x20styles'),_0x444be7=function(_0x37c7b1){const t=_0x37c7b1['locale']['t'],_0xc13cf2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x37c163},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5b4313},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x16551d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x49ca0e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x473fcb},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x391a45}];return _0xc13cf2['map'](function(_0x5b7490){const _0x3b742b=_0x5b7490['locale'];return({label:_0x20ecef,icon:_0x3ae766,tooltip:_0x31d5a3,style:_0x313276})=>{const _0x2b3367=_0x5b7490['commands']['get']('footnotesStyle'),_0x1c149c=new _0x1bca05(_0x3b742b);return _0x1c149c['set']({'label':_0x20ecef,'icon':_0x3ae766,'tooltip':_0x31d5a3}),_0x1c149c['bind']('isOn')['to'](_0x2b3367,'value',_0x4037b1=>_0x4037b1===_0x313276),_0x1c149c['bind']('isEnabled')['to'](_0x2b3367,'isEnabled'),_0x1c149c['on']('execute',()=>{_0x5b7490['execute']('footnotesStyle',{'value':_0x313276}),_0x5b7490['editing']['view']['focus']();}),_0x1c149c;};}(_0x37c7b1));}(_0x1dee43),_0x10343d=new _0x4d7cff(_0x1dee43['locale'],{'styleGridAriaLabel':_0x4f4b38,'styleButtonViews':_0x444be7});return _0x10343d['delegate']('execute')['to'](_0x31bec1),_0x10343d['on']('footnotesListStart',(_0x325dd3,_0x54183f)=>{_0x1dee43['execute']('footnotesStart',{'value':_0x54183f['startIndex']});}),_0x10343d;}({'editor':_0x140c51,'dropdownView':_0x1f57b6});_0x1f57b6['panelView']['children']['add'](_0x25d6b7);}),_0x1f57b6;};}(_0x737766));}['afterInit'](){const {editor:_0x1d46cc}=this,{t:t}=_0x1d46cc['locale'],_0x484015=_0x1d46cc['plugins']['get'](_0xe2d940),{defaultPositions:_0x193792}=_0x6315da;_0x484015['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1d46cc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x38bba9=>{let _0x30e11c=_0x38bba9['getFirstPosition']()?.['parent'];return _0x30e11c?.['is']('$text')&&(_0x30e11c=_0x30e11c['parent']),_0x30e11c?.['is']('element')?_0x30e11c['findAncestor'](_0x3b05b6):null;},'positions':[_0x193792['southArrowNorth'],_0x193792['southArrowNorthMiddleWest'],_0x193792['southArrowNorthMiddleEast'],_0x193792['southArrowNorthWest'],_0x193792['southArrowNorthEast'],_0x193792['northArrowSouth'],_0x193792['northArrowSouthMiddleWest'],_0x193792['northArrowSouthMiddleEast'],_0x193792['northArrowSouthWest'],_0x193792['northArrowSouthEast'],_0x193792['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x250263,View as _0x593653,ViewCollection as _0x54c822,FocusCycler as _0x1524b3,addKeyboardHandlingForGrid as _0x1fe1a2,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 _0x593653{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x54c822();['focusCycler'];constructor(_0x373822,{styleButtonViews:_0x4acdc7,styleGridAriaLabel:_0x3e34a8}){super(_0x373822),(this['focusCycler']=new _0x1524b3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4acdc7,_0x3e34a8),[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 _0x4c3792 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4c3792['element']);_0x1fe1a2({'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 _0x2538bb=_0x467403=>_0x467403['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2538bb),this['keystrokes']['set']('arrowleft',_0x2538bb),this['keystrokes']['set']('arrowup',_0x2538bb),this['keystrokes']['set']('arrowdown',_0x2538bb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5eb542,_0x18b288){const _0x1b3486=new _0x593653(this['locale']);return _0x1b3486['children']=_0x1b3486['createCollection'](),_0x1b3486['children']['addMany'](_0x5eb542),_0x1b3486['setTemplate']({'tag':'div','attributes':{'aria-label':_0x18b288,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1b3486['children']}),_0x1b3486['children']['delegate']('execute')['to'](this),_0x1b3486['focus']=function(){for(const _0x3115d2 of this['children'])if(_0x3115d2 instanceof _0x250263&&_0x3115d2['isOn'])return void _0x3115d2['focus']();this['children']['first']['focus']();},_0x1b3486['focusTracker']=new et(),_0x1b3486['keystrokes']=new ot(),_0x1b3486['render'](),_0x1b3486['keystrokes']['listenTo'](_0x1b3486['element']),this['children']['add'](_0x1b3486),_0x1b3486;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x518a7f=this['_createStartIndexPropertyView'](),_0x45fb05=[_0x518a7f],_0x4e0aeb=new tt(this['locale'],_0x45fb05);return _0x4e0aeb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4e0aeb['buttonView']['bind']('isEnabled')['toMany'](_0x45fb05,'isEnabled',(..._0x4d75ba)=>_0x4d75ba['some'](_0x476d4d=>_0x476d4d)),_0x4e0aeb['buttonView']['on']('change:isEnabled',(_0x421ed8,_0xa8b4c4,_0x47e506)=>{_0x47e506||(_0x4e0aeb['isCollapsed']=!0x0);}),this['children']['add'](_0x4e0aeb),[_0x518a7f,_0x4e0aeb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5a51f8=new st(this['locale'],it);return _0x5a51f8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5a51f8['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5a51f8['fieldView']['on']('input',()=>{const _0x4c2ae0=_0x5a51f8['fieldView']['element'],_0x31e89d=_0x4c2ae0['valueAsNumber'];Number['isNaN'](_0x31e89d)?_0x5a51f8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4c2ae0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x31e89d}):_0x5a51f8['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5a51f8;}}
23
+ import{ButtonView as _0x493e97,View as _0x24ab97,ViewCollection as _0x42a45e,FocusCycler as _0xf1bbab,addKeyboardHandlingForGrid as _0x2f56c4,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 _0x24ab97{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x42a45e();['focusCycler'];constructor(_0x3a297b,{styleButtonViews:_0x88a005,styleGridAriaLabel:_0x5224cc}){super(_0x3a297b),(this['focusCycler']=new _0xf1bbab({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x88a005,_0x5224cc),[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 _0x10b629 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x10b629['element']);_0x2f56c4({'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 _0x11f00c=_0x59e2ce=>_0x59e2ce['stopPropagation']();this['keystrokes']['set']('arrowright',_0x11f00c),this['keystrokes']['set']('arrowleft',_0x11f00c),this['keystrokes']['set']('arrowup',_0x11f00c),this['keystrokes']['set']('arrowdown',_0x11f00c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13bfc8,_0x3579e8){const _0x204a03=new _0x24ab97(this['locale']);return _0x204a03['children']=_0x204a03['createCollection'](),_0x204a03['children']['addMany'](_0x13bfc8),_0x204a03['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3579e8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x204a03['children']}),_0x204a03['children']['delegate']('execute')['to'](this),_0x204a03['focus']=function(){for(const _0x49968e of this['children'])if(_0x49968e instanceof _0x493e97&&_0x49968e['isOn'])return void _0x49968e['focus']();this['children']['first']['focus']();},_0x204a03['focusTracker']=new et(),_0x204a03['keystrokes']=new ot(),_0x204a03['render'](),_0x204a03['keystrokes']['listenTo'](_0x204a03['element']),this['children']['add'](_0x204a03),_0x204a03;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x406863=this['_createStartIndexPropertyView'](),_0x462e16=[_0x406863],_0x4350a2=new tt(this['locale'],_0x462e16);return _0x4350a2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4350a2['buttonView']['bind']('isEnabled')['toMany'](_0x462e16,'isEnabled',(..._0x2aa19a)=>_0x2aa19a['some'](_0x38931e=>_0x38931e)),_0x4350a2['buttonView']['on']('change:isEnabled',(_0x1fa5e2,_0x477443,_0x59d1a9)=>{_0x59d1a9||(_0x4350a2['isCollapsed']=!0x0);}),this['children']['add'](_0x4350a2),[_0x406863,_0x4350a2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x13162a=new st(this['locale'],it);return _0x13162a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x13162a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x13162a['fieldView']['on']('input',()=>{const _0x2f4da4=_0x13162a['fieldView']['element'],_0x14e24e=_0x2f4da4['valueAsNumber'];Number['isNaN'](_0x14e24e)?_0x13162a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2f4da4['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x14e24e}):_0x13162a['errorText']=t(_0x14e24e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x13162a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x520c(){var _0x57b0c2=['FootnotesProperties','49866McSufx','50859MLZpup','252175yGMEGA','isOfficialPlugin','pluginName','5043CzcrUD','92059XfZaCb','548OhdwaT','30280ouDPoq','isPremiumPlugin','296QZbsAX','3099440oGjuvR','requires','245HbetjW','4AajMFc'];_0x520c=function(){return _0x57b0c2;};return _0x520c();}var _0x4d0ab0=_0x6267;(function(_0x4f5215,_0x5eb00c){var _0x43bb24=_0x6267,_0x1c919f=_0x4f5215();while(!![]){try{var _0x544c24=parseInt(_0x43bb24(0xe9))/0x1*(parseInt(_0x43bb24(0xe1))/0x2)+-parseInt(_0x43bb24(0xe8))/0x3*(-parseInt(_0x43bb24(0xea))/0x4)+parseInt(_0x43bb24(0xeb))/0x5+-parseInt(_0x43bb24(0xe3))/0x6*(parseInt(_0x43bb24(0xf0))/0x7)+-parseInt(_0x43bb24(0xed))/0x8*(parseInt(_0x43bb24(0xe4))/0x9)+parseInt(_0x43bb24(0xee))/0xa+-parseInt(_0x43bb24(0xe5))/0xb;if(_0x544c24===_0x5eb00c)break;else _0x1c919f['push'](_0x1c919f['shift']());}catch(_0x139bba){_0x1c919f['push'](_0x1c919f['shift']());}}}(_0x520c,0x32a9e));function _0x6267(_0x3a19a1,_0x1fe849){var _0x520c74=_0x520c();return _0x6267=function(_0x626720,_0xbb6b57){_0x626720=_0x626720-0xe1;var _0x5a517a=_0x520c74[_0x626720];return _0x5a517a;},_0x6267(_0x3a19a1,_0x1fe849);}import{Plugin as _0xb136da}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x47bd4a}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3ea8e5}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xb136da{static get[_0x4d0ab0(0xe7)](){var _0x5531b6=_0x4d0ab0;return _0x5531b6(0xe2);}static get[_0x4d0ab0(0xef)](){return[_0x47bd4a,_0x3ea8e5];}static get[_0x4d0ab0(0xe6)](){return!0x0;}static get[_0x4d0ab0(0xec)](){return!0x0;}}
23
+ function _0x5ac2(){var _0x26e4b8=['1670978HPGuLs','4273445RkCMWf','requires','400337YBwvFV','2731127hlnBTq','isPremiumPlugin','isOfficialPlugin','pluginName','6172812maJEKC','11709224lRJxDS','542208CEAKgP','8WAaJSi','FootnotesProperties'];_0x5ac2=function(){return _0x26e4b8;};return _0x5ac2();}var _0x444bbd=_0x3532;(function(_0x57ce6a,_0x462488){var _0x3d28e3=_0x3532,_0x9dd74f=_0x57ce6a();while(!![]){try{var _0x38548e=-parseInt(_0x3d28e3(0x1a1))/0x1+-parseInt(_0x3d28e3(0x19e))/0x2+-parseInt(_0x3d28e3(0x1a8))/0x3*(-parseInt(_0x3d28e3(0x1a9))/0x4)+parseInt(_0x3d28e3(0x19f))/0x5+-parseInt(_0x3d28e3(0x1a6))/0x6+parseInt(_0x3d28e3(0x1a2))/0x7+parseInt(_0x3d28e3(0x1a7))/0x8;if(_0x38548e===_0x462488)break;else _0x9dd74f['push'](_0x9dd74f['shift']());}catch(_0x438a63){_0x9dd74f['push'](_0x9dd74f['shift']());}}}(_0x5ac2,0xc49e3));import{Plugin as _0x1a915f}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x14cc2a}from'./footnotesproperties/footnotespropertiesediting.js';function _0x3532(_0x4644a2,_0x5be833){var _0x5ac208=_0x5ac2();return _0x3532=function(_0x353258,_0x31db2a){_0x353258=_0x353258-0x19e;var _0x4c57fe=_0x5ac208[_0x353258];return _0x4c57fe;},_0x3532(_0x4644a2,_0x5be833);}import{FootnotesPropertiesUI as _0x3734a8}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1a915f{static get[_0x444bbd(0x1a5)](){var _0x35f3ba=_0x444bbd;return _0x35f3ba(0x1aa);}static get[_0x444bbd(0x1a0)](){return[_0x14cc2a,_0x3734a8];}static get[_0x444bbd(0x1a4)](){return!0x0;}static get[_0x444bbd(0x1a3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x591aff=_0x38b2;(function(_0x13dfd7,_0x2df56b){const _0x4f5592=_0x38b2,_0x31d07d=_0x13dfd7();while(!![]){try{const _0x29fdfd=-parseInt(_0x4f5592(0x1a7))/0x1+parseInt(_0x4f5592(0x1b2))/0x2*(-parseInt(_0x4f5592(0x1a8))/0x3)+-parseInt(_0x4f5592(0x1b7))/0x4*(-parseInt(_0x4f5592(0x1ec))/0x5)+parseInt(_0x4f5592(0x198))/0x6+-parseInt(_0x4f5592(0x1a6))/0x7*(-parseInt(_0x4f5592(0x1a9))/0x8)+-parseInt(_0x4f5592(0x1f4))/0x9*(parseInt(_0x4f5592(0x1bc))/0xa)+-parseInt(_0x4f5592(0x1c9))/0xb;if(_0x29fdfd===_0x2df56b)break;else _0x31d07d['push'](_0x31d07d['shift']());}catch(_0x7b0370){_0x31d07d['push'](_0x31d07d['shift']());}}}(_0x5f35,0xd23ab));import{Plugin as _0x12d4be}from'ckeditor5/src/core.js';function _0x38b2(_0x1f9189,_0x26df77){const _0x5f356e=_0x5f35();return _0x38b2=function(_0x38b298,_0xd795d7){_0x38b298=_0x38b298-0x197;let _0x508be4=_0x5f356e[_0x38b298];return _0x508be4;},_0x38b2(_0x1f9189,_0x26df77);}import{ModelElementTracker as _0x38e46d}from'./modelelementtracker.js';function _0x5f35(){const _0x40ae7e=['getChildren','footnoteDefinition','init','_ensureFootnotesDefinitionsContainerExists','insert','getChanges','_handleRemoveFootnoteReferenceById','low','reset','set','has','pluginName','getFootnote','move','compareWith','findIndex','createPositionAt','get','find','config','getFootnotesDefinitionsObjectElement','footnoteInlineContent','root','createPositionBefore','_updateFootnotesCounters','end','getRootNames','setFootnoteFormatter','_footnoteRefsTracker','createElement','editor','_updateFootnoteRefCounter','_handleFootnoteDefinitionsChanges','childCount','5slMLdV','rootName','splice','footnoteCounter','getAttribute','_handleMovedFootnoteReference','append','map','27CmUreR','indexOf','getFootnotesFormatter','add','some','min','isEqual','_footnotesDefinitions','before','from','6392976gqdpqr','push','unshift','_insertEmptyFootnotesDefinitionsContainer','parent','_footnotes','footnotes.multiBlock','high','setAttribute','_footnoteDefsTracker','FootnotesTracker','footnoteId','getFootnotes','document','7BZEfXu','806465TuCjBc','3hXWYyE','9338432qMYPBu','isPremiumPlugin','_footnoteFormatter','enqueueChange','definition','remove','change:data','paragraph','_handleFootnoteReferencesChanges','2439182vJwDDP','length','singleton','createRangeIn','registerPostFixer','3913940GYvkip','_sortFootnoteDefinitions','$graveyard','isOfficialPlugin','reference','263870WuCCFJ','differ','_handleFootnotesDefinitionsObjectChanges','after','_handleFootnotesDefinitionsObjectSync','_ensureFootnotesReferencesHaveProperOrder','model','_footnoteDefsContainerTracker','footnoteRef','footnotesDefinitions','_handleInsertedFootnoteReference','createRangeOn','listenTo','2694659LPiLZL'];_0x5f35=function(){return _0x40ae7e;};return _0x5f35();}export class FootnotesTracker extends _0x12d4be{[_0x591aff(0x19d)]=[];[_0x591aff(0x1fb)]=null;[_0x591aff(0x1ab)]=null;[_0x591aff(0x1c3)];[_0x591aff(0x1e6)];[_0x591aff(0x1a1)];static get[_0x591aff(0x1d5)](){const _0x1424a7=_0x591aff;return _0x1424a7(0x1a2);}static get[_0x591aff(0x1ba)](){return!0x0;}static get[_0x591aff(0x1aa)](){return!0x0;}constructor(_0x187b75){const _0x11bc0c=_0x591aff;super(_0x187b75),this[_0x11bc0c(0x1c3)]=new _0x38e46d(this[_0x11bc0c(0x1e8)][_0x11bc0c(0x1c2)],{'elementName':_0x11bc0c(0x1c5),'getElementKey':()=>_0x11bc0c(0x1b4)}),this[_0x11bc0c(0x1e6)]=new _0x38e46d(this[_0x11bc0c(0x1e8)][_0x11bc0c(0x1c2)],{'elementName':_0x11bc0c(0x1c4),'getElementKey':_0x5a249c=>_0x5a249c[_0x11bc0c(0x1f0)](_0x11bc0c(0x1a3))}),this[_0x11bc0c(0x1a1)]=new _0x38e46d(this[_0x11bc0c(0x1e8)][_0x11bc0c(0x1c2)],{'elementName':_0x11bc0c(0x1cb),'getElementKey':_0x3f8b09=>_0x3f8b09[_0x11bc0c(0x1f0)](_0x11bc0c(0x1a3))});}[_0x591aff(0x1cc)](){const _0x37741b=_0x591aff,{editor:_0x2ad222}=this,{model:_0x573152,data:_0x267fc1}=_0x2ad222;_0x573152[_0x37741b(0x1a5)][_0x37741b(0x1b6)](_0x1e65ba=>{const _0x1eb02a=_0x37741b,_0x58b8c9=_0x573152[_0x1eb02a(0x1a5)][_0x1eb02a(0x1bd)][_0x1eb02a(0x1cf)]();let _0x473d08=!0x1;return this[_0x1eb02a(0x1be)](_0x1e65ba,_0x58b8c9)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1ea)](_0x1e65ba,_0x58b8c9)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1b1)](_0x1e65ba,_0x58b8c9)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1c1)](_0x1e65ba)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1c0)](_0x1e65ba)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1b8)](_0x1e65ba)&&(_0x473d08=!0x0),_0x473d08;}),this[_0x37741b(0x1c8)](_0x573152[_0x37741b(0x1a5)],_0x37741b(0x1af),()=>{const _0x4ef135=_0x37741b;_0x573152[_0x4ef135(0x1ac)]({'isUndoable':!0x1},_0x4785ff=>{const _0x3fc965=_0x4ef135;this[_0x3fc965(0x1cd)](_0x4785ff);});},{'priority':_0x37741b(0x1d1)}),this[_0x37741b(0x1c8)](_0x267fc1,_0x37741b(0x1d3),()=>{const _0x2a504b=_0x37741b;this[_0x2a504b(0x19d)]=[],this[_0x2a504b(0x1c3)][_0x2a504b(0x1d2)](),this[_0x2a504b(0x1e6)][_0x2a504b(0x1d2)](),this[_0x2a504b(0x1a1)][_0x2a504b(0x1d2)]();},{'priority':_0x37741b(0x19f)});}[_0x591aff(0x1de)](){const _0x26929a=_0x591aff;return this[_0x26929a(0x1fb)];}[_0x591aff(0x1d6)](_0x3de7dd){const _0xdfb3c4=_0x591aff;return this[_0xdfb3c4(0x19d)][_0xdfb3c4(0x1dc)](_0x47f034=>_0x47f034['id']===_0x3de7dd)||null;}[_0x591aff(0x1a4)](){const _0x3f92a8=_0x591aff;return Array[_0x3f92a8(0x197)](this[_0x3f92a8(0x19d)]);}[_0x591aff(0x1f6)](){const _0x5999a8=_0x591aff;return this[_0x5999a8(0x1ab)];}[_0x591aff(0x1e5)](_0x2418f0){const _0x233541=_0x591aff;this[_0x233541(0x1ab)]=_0x2418f0;}[_0x591aff(0x1e2)](_0x2dbd06,_0x3f629a=0x0){const _0x1cc470=_0x591aff;let _0xe35cc4=!0x1;for(let _0xfdf221=_0x3f629a;_0xfdf221<this[_0x1cc470(0x19d)][_0x1cc470(0x1b3)];_0xfdf221++)this[_0x1cc470(0x1e9)](_0x2dbd06,_0xfdf221)&&(_0xe35cc4=!0x0);return _0xe35cc4;}[_0x591aff(0x19b)](_0x1376fe,_0x5a4265){const _0x1065ac=_0x591aff,_0x40dbe8=_0x1376fe[_0x1065ac(0x1e7)](_0x1065ac(0x1c5),{});return _0x1376fe[_0x1065ac(0x1f2)](_0x40dbe8,_0x5a4265),this[_0x1065ac(0x1fb)]=_0x40dbe8,_0x40dbe8;}[_0x591aff(0x1cd)](_0x564ab3){const _0x1640ba=_0x591aff;if(!this[_0x1640ba(0x19d)][_0x1640ba(0x1b3)]||this[_0x1640ba(0x1fb)])return;const _0x410c64=this[_0x1640ba(0x19d)][0x0][_0x1640ba(0x1bb)][_0x1640ba(0x1e0)],_0x53137a=this[_0x1640ba(0x19b)](_0x564ab3,_0x410c64);for(const _0x191492 of this[_0x1640ba(0x19d)])_0x191492[_0x1640ba(0x1ad)][_0x1640ba(0x19c)]||_0x564ab3[_0x1640ba(0x1ce)](_0x191492[_0x1640ba(0x1ad)],_0x53137a,_0x1640ba(0x1e3));this[_0x1640ba(0x1e2)](_0x564ab3);}[_0x591aff(0x1be)](_0xd8a327,_0x2ad4dc){const _0x547d54=_0x591aff;let _0x1ebe72=!0x1;const {inserted:_0x54dbdf,removed:_0x3be78c,moved:_0x1ef24c}=this[_0x547d54(0x1c3)][_0x547d54(0x1cf)](_0x2ad4dc);if(_0x1ef24c[_0x547d54(0x1b3)]&&(this[_0x547d54(0x1fb)]=_0x1ef24c[0x0]),_0x54dbdf[_0x547d54(0x1b3)]){if(_0x54dbdf[_0x547d54(0x1b3)]>0x1||this[_0x547d54(0x1fb)]&&_0x54dbdf[_0x547d54(0x1f8)](_0x2f4933=>_0x2f4933!==this[_0x547d54(0x1fb)])){const _0x20774b=_0xd8a327[_0x547d54(0x1e7)](_0x547d54(0x1c5),{}),_0x2bb4d1=[];this[_0x547d54(0x1fb)]&&_0x2bb4d1[_0x547d54(0x199)](this[_0x547d54(0x1fb)]),_0x2bb4d1[_0x547d54(0x199)](..._0x54dbdf),_0xd8a327[_0x547d54(0x1ce)](_0x20774b,_0x2bb4d1[0x0],_0x547d54(0x1fc));for(const _0x275c72 of _0x2bb4d1)_0xd8a327[_0x547d54(0x1d7)](_0xd8a327[_0x547d54(0x1b5)](_0x275c72),_0xd8a327[_0x547d54(0x1da)](_0x20774b,_0x547d54(0x1e3))),_0xd8a327[_0x547d54(0x1ae)](_0x275c72);this[_0x547d54(0x1fb)]=_0x20774b,this[_0x547d54(0x1e2)](_0xd8a327),_0x1ebe72=!0x0;}else this[_0x547d54(0x1fb)]=_0x54dbdf[0x0];}if(_0x3be78c[_0x547d54(0x1b3)]&&_0x547d54(0x1b9)===this[_0x547d54(0x1fb)]?.[_0x547d54(0x1e0)][_0x547d54(0x1ed)]){for(const _0x4fc97a of this[_0x547d54(0x19d)])_0xd8a327[_0x547d54(0x1ae)](_0x4fc97a[_0x547d54(0x1bb)]),_0x1ebe72=!0x0;this[_0x547d54(0x19d)]=[],this[_0x547d54(0x1fb)]=null;}return _0x1ebe72;}[_0x591aff(0x1ea)](_0x21de7d,_0x3016b9){const _0x1cc12a=_0x591aff;let _0x11d79c=!0x1;const _0x1fb188=this[_0x1cc12a(0x1e8)][_0x1cc12a(0x1dd)][_0x1cc12a(0x1db)](_0x1cc12a(0x19e)),{inserted:_0x1365f1,moved:_0x2242e3}=this[_0x1cc12a(0x1a1)][_0x1cc12a(0x1cf)](_0x3016b9);for(const _0x4fd6db of[..._0x2242e3,..._0x1365f1]){const _0x42bbab=_0x4fd6db[_0x1cc12a(0x1f0)](_0x1cc12a(0x1a3)),_0x4f0673=this[_0x1cc12a(0x1d6)](_0x42bbab);_0x4f0673&&(_0x4f0673[_0x1cc12a(0x1ad)]=_0x4fd6db),_(_0x21de7d,_0x1fb188,_0x4fd6db)&&(_0x11d79c=!0x0);}return _0x11d79c;}[_0x591aff(0x1b1)](_0x3a324d,_0x3b1c2c){const _0x235faf=_0x591aff;let _0x239862=!0x1;const {removed:_0x557e0c,inserted:_0x8780db,moved:_0x4db93e}=this[_0x235faf(0x1e6)][_0x235faf(0x1cf)](_0x3b1c2c);for(const _0x3880c8 of _0x557e0c)this[_0x235faf(0x1d0)](_0x3a324d,_0x3880c8)&&(_0x239862=!0x0);for(const _0x2e4335 of _0x8780db)this[_0x235faf(0x1c6)](_0x3a324d,_0x2e4335)&&(_0x239862=!0x0);for(const _0x338d7a of _0x4db93e)this[_0x235faf(0x1f1)](_0x3a324d,_0x338d7a)&&(_0x239862=!0x0);return _0x239862;}[_0x591aff(0x1c0)](_0xfcfeb){const _0xfc8fc=_0x591aff;if(!this[_0xfc8fc(0x1fb)])return!0x1;let _0xcbe734=!0x1;if(this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1eb)]!==this[_0xfc8fc(0x19d)][_0xfc8fc(0x1b3)]){const _0x17b26b=[];for(const _0x25539b of this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1ca)]()){const _0x4dde2c=_0x25539b[_0xfc8fc(0x1f0)](_0xfc8fc(0x1a3));this[_0xfc8fc(0x1d6)](_0x4dde2c)||(_0x17b26b[_0xfc8fc(0x19a)](_0x25539b),_0xcbe734=!0x0);}for(const _0x40ed3e of _0x17b26b)_0xfcfeb[_0xfc8fc(0x1ae)](_0x40ed3e);}const _0x1da5ff=new Set(),_0x2b985d=[];for(const _0x28fe63 of this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1ca)]()){const _0x1f5979=_0x28fe63[_0xfc8fc(0x1f0)](_0xfc8fc(0x1a3));_0x1da5ff[_0xfc8fc(0x1d4)](_0x1f5979)?(_0x2b985d[_0xfc8fc(0x19a)](_0x28fe63),_0xcbe734=!0x0):_0x1da5ff[_0xfc8fc(0x1f7)](_0x1f5979);}for(const _0x3ec1d3 of _0x2b985d)_0xfcfeb[_0xfc8fc(0x1ae)](_0x3ec1d3);return this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1eb)]||(_0xfcfeb[_0xfc8fc(0x1ae)](this[_0xfc8fc(0x1fb)]),this[_0xfc8fc(0x1fb)]=null,_0xcbe734=!0x0),_0xcbe734;}[_0x591aff(0x1c6)](_0x35fc91,_0x3523fe){const _0xc761d5=_0x591aff;if(this[_0xc761d5(0x19d)][_0xc761d5(0x1dc)](_0x3ffe24=>_0x3ffe24[_0xc761d5(0x1bb)]===_0x3523fe))return!0x1;let _0x2a5f8a=!0x1;const _0x4fb923=_0x3523fe[_0xc761d5(0x1f0)](_0xc761d5(0x1a3)),_0x4ec90f=this[_0xc761d5(0x19d)][_0xc761d5(0x1d9)](_0x457917=>_0x457917['id']===_0x4fb923);-0x1!==_0x4ec90f&&(_0x35fc91[_0xc761d5(0x1ae)](this[_0xc761d5(0x19d)][_0x4ec90f][_0xc761d5(0x1bb)]),this[_0xc761d5(0x19d)][_0xc761d5(0x1ee)](_0x4ec90f,0x1),_0x2a5f8a=!0x0);let _0x2837f5=this[_0xc761d5(0x1fb)]?function(_0x2d8b5f,_0x423d43){const _0x145c04=_0xc761d5;for(const _0x59bb8e of _0x2d8b5f[_0x145c04(0x1ca)]())if(_0x59bb8e[_0x145c04(0x1f0)](_0x145c04(0x1a3))===_0x423d43)return _0x59bb8e;return null;}(this[_0xc761d5(0x1fb)],_0x4fb923):null;_0x2837f5||(_0x2837f5=_0x35fc91[_0xc761d5(0x1e7)](_0xc761d5(0x1cb),{'footnoteId':_0x4fb923}),this[_0xc761d5(0x1fb)]&&(_0x35fc91[_0xc761d5(0x1ce)](_0x2837f5,this[_0xc761d5(0x1fb)],_0xc761d5(0x1e3)),_0x2a5f8a=!0x0));const _0x478080={'id':_0x4fb923,'reference':_0x3523fe,'definition':_0x2837f5},_0x53d140=I(this[_0xc761d5(0x1e8)][_0xc761d5(0x1c2)],this[_0xc761d5(0x19d)],_0x3523fe);this[_0xc761d5(0x19d)][_0xc761d5(0x1ee)](_0x53d140,0x0,_0x478080);let _0x19e16c=_0x53d140;return-0x1!==_0x4ec90f&&(_0x19e16c=Math[_0xc761d5(0x1f9)](_0x53d140,_0x4ec90f)),this[_0xc761d5(0x1e2)](_0x35fc91,_0x19e16c)&&(_0x2a5f8a=!0x0),_0x2a5f8a;}[_0x591aff(0x1d0)](_0x49a96b,_0x252ed8){const _0x55a973=_0x591aff,_0xf4c332=this[_0x55a973(0x19d)][_0x55a973(0x1d9)](_0x5ba4a3=>_0x5ba4a3['id']===_0x252ed8);if(-0x1===_0xf4c332)return!0x1;let _0x327ea1=!0x1;const _0x550394=this[_0x55a973(0x19d)][_0xf4c332];return _0x55a973(0x1b9)!==_0x550394[_0x55a973(0x1ad)][_0x55a973(0x1e0)][_0x55a973(0x1ed)]&&(_0x49a96b[_0x55a973(0x1ae)](_0x550394[_0x55a973(0x1ad)]),_0x327ea1=!0x0),this[_0x55a973(0x19d)][_0x55a973(0x1ee)](_0xf4c332,0x1),this[_0x55a973(0x1e2)](_0x49a96b,_0xf4c332)&&(_0x327ea1=!0x0),_0x327ea1;}[_0x591aff(0x1f1)](_0x473f3c,_0x2677f1){const _0x22076a=_0x591aff,_0x5eb1c2=_0x2677f1[_0x22076a(0x1f0)](_0x22076a(0x1a3)),_0x1dc884=this[_0x22076a(0x19d)][_0x22076a(0x1d9)](_0x5a14bb=>_0x5a14bb['id']===_0x5eb1c2),_0x461d59=this[_0x22076a(0x19d)][_0x1dc884];let _0x47927a=!0x1;_0x461d59[_0x22076a(0x1bb)]=_0x2677f1,this[_0x22076a(0x19d)][_0x22076a(0x1ee)](_0x1dc884,0x1);const _0x862378=I(this[_0x22076a(0x1e8)][_0x22076a(0x1c2)],this[_0x22076a(0x19d)],_0x2677f1);return this[_0x22076a(0x19d)][_0x22076a(0x1ee)](_0x862378,0x0,_0x461d59),this[_0x22076a(0x1e2)](_0x473f3c,Math[_0x22076a(0x1f9)](_0x1dc884,_0x862378))&&(_0x47927a=!0x0),_0x47927a;}[_0x591aff(0x1e9)](_0x157b53,_0x58423b){const _0x334a6f=_0x591aff;if(!this[_0x334a6f(0x1fb)])return!0x1;const _0x205469=this[_0x334a6f(0x19d)][_0x58423b];let _0x272e62;return _0x272e62=this[_0x334a6f(0x1ab)]?this[_0x334a6f(0x1ab)]({'footnote':_0x205469,'container':this[_0x334a6f(0x1fb)],'digits':String(this[_0x334a6f(0x19d)][_0x334a6f(0x1b3)])[_0x334a6f(0x1b3)],'value':_0x58423b+0x1}):String(_0x58423b+0x1),_0x205469[_0x334a6f(0x1bb)][_0x334a6f(0x1f0)](_0x334a6f(0x1ef))!=_0x272e62&&(_0x157b53[_0x334a6f(0x1a0)](_0x334a6f(0x1ef),_0x272e62,_0x205469[_0x334a6f(0x1bb)]),!0x0);}[_0x591aff(0x1b8)](_0x3139da){const _0x36e2bc=_0x591aff;if(!this[_0x36e2bc(0x1fb)]||this[_0x36e2bc(0x19d)][_0x36e2bc(0x1b3)]<0x2)return!0x1;if(function(_0xbaa705,_0x1c615f){const _0x554acb=_0x36e2bc;if(_0xbaa705[_0x554acb(0x1b3)]!==_0x1c615f[_0x554acb(0x1b3)])return!0x1;for(let _0x5f3c32=0x0;_0x5f3c32<_0xbaa705[_0x554acb(0x1b3)];_0x5f3c32++)if(_0xbaa705[_0x5f3c32]!==_0x1c615f[_0x5f3c32])return!0x1;return!0x0;}(this[_0x36e2bc(0x19d)][_0x36e2bc(0x1f3)](_0x310e71=>_0x310e71['id']),Array[_0x36e2bc(0x197)](this[_0x36e2bc(0x1fb)][_0x36e2bc(0x1ca)]())[_0x36e2bc(0x1f3)](_0x37ee8c=>_0x37ee8c[_0x36e2bc(0x1f0)](_0x36e2bc(0x1a3)))))return!0x1;let _0x1d1121=!0x1;for(let _0x14536b=0x0;_0x14536b<this[_0x36e2bc(0x19d)][_0x36e2bc(0x1b3)];_0x14536b++){const _0x3d88d7=this[_0x36e2bc(0x19d)][_0x14536b],_0x41b39e=_0x3139da[_0x36e2bc(0x1e1)](_0x3d88d7[_0x36e2bc(0x1ad)]),_0xde0128=_0x3139da[_0x36e2bc(0x1da)](this[_0x36e2bc(0x1fb)],_0x14536b);_0x41b39e[_0x36e2bc(0x1fa)](_0xde0128)||(_0x3139da[_0x36e2bc(0x1d7)](_0x3139da[_0x36e2bc(0x1c7)](_0x3d88d7[_0x36e2bc(0x1ad)]),_0xde0128),_0x1d1121=!0x0);}return _0x1d1121;}[_0x591aff(0x1c1)](_0x283c79){const _0x5c37d2=_0x591aff;if(!this[_0x5c37d2(0x19d)][_0x5c37d2(0x1b3)])return!0x1;const {model:_0x16e6b4}=this[_0x5c37d2(0x1e8)];let _0x4b2acd=!0x1;for(let _0x9f5957=0x0;_0x9f5957<this[_0x5c37d2(0x19d)][_0x5c37d2(0x1b3)]-0x1;_0x9f5957++){const _0x29785a=this[_0x5c37d2(0x19d)][_0x9f5957],_0x4aea74=this[_0x5c37d2(0x19d)][_0x9f5957+0x1],_0x2ad7bd=_0x16e6b4[_0x5c37d2(0x1e1)](_0x29785a[_0x5c37d2(0x1bb)]),_0x25ffd1=_0x16e6b4[_0x5c37d2(0x1e1)](_0x4aea74[_0x5c37d2(0x1bb)]);_0x5c37d2(0x1bf)===_0x2ad7bd[_0x5c37d2(0x1d8)](_0x25ffd1)&&(this[_0x5c37d2(0x1f1)](_0x283c79,_0x29785a[_0x5c37d2(0x1bb)]),_0x9f5957=-0x1,_0x4b2acd=!0x0);}return _0x4b2acd;}}function _(_0x3cfa8c,_0x23ed11,_0x180111){const _0x272cf0=_0x591aff;if(_0x180111[_0x272cf0(0x1eb)])return!0x1;const _0x4fe6b0=_0x23ed11?_0x272cf0(0x1b0):_0x272cf0(0x1df);return _0x3cfa8c[_0x272cf0(0x1ce)](_0x3cfa8c[_0x272cf0(0x1e7)](_0x4fe6b0),_0x180111),!0x0;}function I(_0x3f6cdc,_0x5e78d7,_0x589f0c){const _0x236bf0=_0x591aff;if(0x0===_0x5e78d7[_0x236bf0(0x1b3)])return 0x0;const _0x4ca2c5=_0x3f6cdc[_0x236bf0(0x1e1)](_0x589f0c);for(let _0x5990a0=0x0;_0x5990a0<_0x5e78d7[_0x236bf0(0x1b3)];_0x5990a0++){const _0xebc371=_0x5e78d7[_0x5990a0],_0x35339f=_0x3f6cdc[_0x236bf0(0x1e1)](_0xebc371[_0x236bf0(0x1bb)]);if(_0x236bf0(0x1fc)===_0x4ca2c5[_0x236bf0(0x1d8)](_0x35339f))return _0x5990a0;}const _0x47facd=_0x589f0c[_0x236bf0(0x1e0)];let _0x51d3c3=-0x1;for(let _0x283000=_0x5e78d7[_0x236bf0(0x1b3)]-0x1;_0x283000>=0x0;_0x283000--)if(_0x5e78d7[_0x283000][_0x236bf0(0x1bb)][_0x236bf0(0x1e0)]===_0x47facd){_0x51d3c3=_0x283000;break;}if(-0x1!==_0x51d3c3)return _0x51d3c3+0x1;const _0xfe6a8b=_0x3f6cdc[_0x236bf0(0x1a5)][_0x236bf0(0x1e4)](),_0x268351=_0xfe6a8b[_0x236bf0(0x1f5)](_0x47facd[_0x236bf0(0x1ed)]),_0x8ae384=_0xfe6a8b[_0x268351+0x1];if(_0x8ae384){for(let _0x39ea93=0x0;_0x39ea93<_0x5e78d7[_0x236bf0(0x1b3)];_0x39ea93++)if(_0x5e78d7[_0x39ea93][_0x236bf0(0x1bb)][_0x236bf0(0x1e0)][_0x236bf0(0x1ed)]===_0x8ae384)return _0x39ea93;}return _0x5e78d7[_0x236bf0(0x1b3)];}
23
+ const _0x4efbbc=_0x130d;(function(_0x360e4d,_0x121246){const _0x1f4610=_0x130d,_0x6eaa08=_0x360e4d();while(!![]){try{const _0x38674f=parseInt(_0x1f4610(0x201))/0x1*(-parseInt(_0x1f4610(0x1ca))/0x2)+parseInt(_0x1f4610(0x1b7))/0x3+parseInt(_0x1f4610(0x1e8))/0x4*(-parseInt(_0x1f4610(0x1fe))/0x5)+parseInt(_0x1f4610(0x1d4))/0x6*(parseInt(_0x1f4610(0x1bf))/0x7)+parseInt(_0x1f4610(0x1db))/0x8+parseInt(_0x1f4610(0x1e4))/0x9*(-parseInt(_0x1f4610(0x1ac))/0xa)+-parseInt(_0x1f4610(0x19e))/0xb*(-parseInt(_0x1f4610(0x1dd))/0xc);if(_0x38674f===_0x121246)break;else _0x6eaa08['push'](_0x6eaa08['shift']());}catch(_0x134769){_0x6eaa08['push'](_0x6eaa08['shift']());}}}(_0x9659,0x316c8));function _0x9659(){const _0xb48cfc=['_footnotes','footnoteId','$graveyard','_footnoteRefsTracker','createRangeIn','min','push','createElement','234iqUkOn','get','listenTo','_footnoteDefsContainerTracker','_insertEmptyFootnotesDefinitionsContainer','_ensureFootnotesReferencesHaveProperOrder','_handleMovedFootnoteReference','300480WssQWH','FootnotesTracker','180weXaEz','change:data','high','after','_handleFootnoteReferencesChanges','_ensureFootnotesDefinitionsContainerExists','_handleInsertedFootnoteReference','9UhdHPY','setAttribute','add','getChanges','1064geMKxt','getChildren','some','editor','_updateFootnotesCounters','singleton','differ','append','end','init','createPositionBefore','reference','parent','_footnotesDefinitions','definition','footnoteRef','getFootnotesDefinitionsObjectElement','childCount','getFootnotesFormatter','isOfficialPlugin','footnoteDefinition','map','440FXKqto','splice','indexOf','115601TxYBic','move','getFootnotes','pluginName','22297XYizjc','compareWith','createRangeOn','unshift','getFootnote','_footnoteFormatter','enqueueChange','paragraph','_sortFootnoteDefinitions','setFootnoteFormatter','isPremiumPlugin','from','footnoteCounter','has','1073110mgkLUF','_handleFootnotesDefinitionsObjectChanges','config','find','_handleFootnoteDefinitionsChanges','document','createPositionAt','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectSync','set','getRootNames','819231RQNhmS','isEqual','rootName','findIndex','root','footnoteInlineContent','registerPostFixer','length','19334yaxvvx','before','model','insert','_handleRemoveFootnoteReferenceById','reset','footnotes.multiBlock','low','remove','getAttribute','_footnoteDefsTracker','2PNTqeV','footnotesDefinitions'];_0x9659=function(){return _0xb48cfc;};return _0x9659();}import{Plugin as _0x1b4bd3}from'ckeditor5/src/core.js';function _0x130d(_0xe327d4,_0x577290){const _0x9659df=_0x9659();return _0x130d=function(_0x130d69,_0x2e2124){_0x130d69=_0x130d69-0x19c;let _0x1d977a=_0x9659df[_0x130d69];return _0x1d977a;},_0x130d(_0xe327d4,_0x577290);}import{ModelElementTracker as _0x5805e2}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1b4bd3{[_0x4efbbc(0x1cc)]=[];[_0x4efbbc(0x1f5)]=null;[_0x4efbbc(0x1a3)]=null;[_0x4efbbc(0x1d7)];[_0x4efbbc(0x1cf)];[_0x4efbbc(0x1c9)];static get[_0x4efbbc(0x19d)](){const _0x295dfa=_0x4efbbc;return _0x295dfa(0x1dc);}static get[_0x4efbbc(0x1fb)](){return!0x0;}static get[_0x4efbbc(0x1a8)](){return!0x0;}constructor(_0x5ac5f7){const _0x118bd5=_0x4efbbc;super(_0x5ac5f7),this[_0x118bd5(0x1d7)]=new _0x5805e2(this[_0x118bd5(0x1eb)][_0x118bd5(0x1c1)],{'elementName':_0x118bd5(0x1cb),'getElementKey':()=>_0x118bd5(0x1ed)}),this[_0x118bd5(0x1cf)]=new _0x5805e2(this[_0x118bd5(0x1eb)][_0x118bd5(0x1c1)],{'elementName':_0x118bd5(0x1f7),'getElementKey':_0x2fd074=>_0x2fd074[_0x118bd5(0x1c8)](_0x118bd5(0x1cd))}),this[_0x118bd5(0x1c9)]=new _0x5805e2(this[_0x118bd5(0x1eb)][_0x118bd5(0x1c1)],{'elementName':_0x118bd5(0x1fc),'getElementKey':_0xe532dc=>_0xe532dc[_0x118bd5(0x1c8)](_0x118bd5(0x1cd))});}[_0x4efbbc(0x1f1)](){const _0x42e2b8=_0x4efbbc,{editor:_0x496964}=this,{model:_0x5c8303,data:_0x30cf09}=_0x496964;_0x5c8303[_0x42e2b8(0x1b1)][_0x42e2b8(0x1bd)](_0x58c8a2=>{const _0x465c72=_0x42e2b8,_0x278e8d=_0x5c8303[_0x465c72(0x1b1)][_0x465c72(0x1ee)][_0x465c72(0x1e7)]();let _0x4bd572=!0x1;return this[_0x465c72(0x1ad)](_0x58c8a2,_0x278e8d)&&(_0x4bd572=!0x0),this[_0x465c72(0x1b0)](_0x58c8a2,_0x278e8d)&&(_0x4bd572=!0x0),this[_0x465c72(0x1e1)](_0x58c8a2,_0x278e8d)&&(_0x4bd572=!0x0),this[_0x465c72(0x1d9)](_0x58c8a2)&&(_0x4bd572=!0x0),this[_0x465c72(0x1b4)](_0x58c8a2)&&(_0x4bd572=!0x0),this[_0x465c72(0x1a6)](_0x58c8a2)&&(_0x4bd572=!0x0),_0x4bd572;}),this[_0x42e2b8(0x1d6)](_0x5c8303[_0x42e2b8(0x1b1)],_0x42e2b8(0x1de),()=>{const _0x3eab30=_0x42e2b8;_0x5c8303[_0x3eab30(0x1a4)]({'isUndoable':!0x1},_0x30835e=>{const _0x59d711=_0x3eab30;this[_0x59d711(0x1e2)](_0x30835e);});},{'priority':_0x42e2b8(0x1c6)}),this[_0x42e2b8(0x1d6)](_0x30cf09,_0x42e2b8(0x1b5),()=>{const _0x14d5c1=_0x42e2b8;this[_0x14d5c1(0x1cc)]=[],this[_0x14d5c1(0x1d7)][_0x14d5c1(0x1c4)](),this[_0x14d5c1(0x1cf)][_0x14d5c1(0x1c4)](),this[_0x14d5c1(0x1c9)][_0x14d5c1(0x1c4)]();},{'priority':_0x42e2b8(0x1df)});}[_0x4efbbc(0x1f8)](){const _0x582cdc=_0x4efbbc;return this[_0x582cdc(0x1f5)];}[_0x4efbbc(0x1a2)](_0x40eb18){const _0x40fc6c=_0x4efbbc;return this[_0x40fc6c(0x1cc)][_0x40fc6c(0x1af)](_0x584dd4=>_0x584dd4['id']===_0x40eb18)||null;}[_0x4efbbc(0x19c)](){const _0x390baa=_0x4efbbc;return Array[_0x390baa(0x1a9)](this[_0x390baa(0x1cc)]);}[_0x4efbbc(0x1fa)](){const _0x2833ca=_0x4efbbc;return this[_0x2833ca(0x1a3)];}[_0x4efbbc(0x1a7)](_0x22c312){const _0x2be774=_0x4efbbc;this[_0x2be774(0x1a3)]=_0x22c312;}[_0x4efbbc(0x1ec)](_0x53e804,_0xd14b55=0x0){const _0x5e9e71=_0x4efbbc;let _0x3855c9=!0x1;for(let _0x426f1b=_0xd14b55;_0x426f1b<this[_0x5e9e71(0x1cc)][_0x5e9e71(0x1be)];_0x426f1b++)this[_0x5e9e71(0x1b3)](_0x53e804,_0x426f1b)&&(_0x3855c9=!0x0);return _0x3855c9;}[_0x4efbbc(0x1d8)](_0x46b620,_0x5531cc){const _0x4e3689=_0x4efbbc,_0x32dc35=_0x46b620[_0x4e3689(0x1d3)](_0x4e3689(0x1cb),{});return _0x46b620[_0x4e3689(0x1ef)](_0x32dc35,_0x5531cc),this[_0x4e3689(0x1f5)]=_0x32dc35,_0x32dc35;}[_0x4efbbc(0x1e2)](_0x59f65d){const _0x3afe46=_0x4efbbc;if(!this[_0x3afe46(0x1cc)][_0x3afe46(0x1be)]||this[_0x3afe46(0x1f5)])return;const _0x105e2e=this[_0x3afe46(0x1cc)][0x0][_0x3afe46(0x1f3)][_0x3afe46(0x1bb)],_0x26dcc7=this[_0x3afe46(0x1d8)](_0x59f65d,_0x105e2e);for(const _0x2b7cf1 of this[_0x3afe46(0x1cc)])_0x2b7cf1[_0x3afe46(0x1f6)][_0x3afe46(0x1f4)]||_0x59f65d[_0x3afe46(0x1c2)](_0x2b7cf1[_0x3afe46(0x1f6)],_0x26dcc7,_0x3afe46(0x1f0));this[_0x3afe46(0x1ec)](_0x59f65d);}[_0x4efbbc(0x1ad)](_0x1ce15a,_0x87edcf){const _0x117f1a=_0x4efbbc;let _0x26b709=!0x1;const {inserted:_0x235a07,removed:_0x4b44bc,moved:_0x3de304}=this[_0x117f1a(0x1d7)][_0x117f1a(0x1e7)](_0x87edcf);if(_0x3de304[_0x117f1a(0x1be)]&&(this[_0x117f1a(0x1f5)]=_0x3de304[0x0]),_0x235a07[_0x117f1a(0x1be)]){if(_0x235a07[_0x117f1a(0x1be)]>0x1||this[_0x117f1a(0x1f5)]&&_0x235a07[_0x117f1a(0x1ea)](_0xbb6ebf=>_0xbb6ebf!==this[_0x117f1a(0x1f5)])){const _0x4d943d=_0x1ce15a[_0x117f1a(0x1d3)](_0x117f1a(0x1cb),{}),_0x140623=[];this[_0x117f1a(0x1f5)]&&_0x140623[_0x117f1a(0x1d2)](this[_0x117f1a(0x1f5)]),_0x140623[_0x117f1a(0x1d2)](..._0x235a07),_0x1ce15a[_0x117f1a(0x1c2)](_0x4d943d,_0x140623[0x0],_0x117f1a(0x1c0));for(const _0x3a24f4 of _0x140623)_0x1ce15a[_0x117f1a(0x202)](_0x1ce15a[_0x117f1a(0x1d0)](_0x3a24f4),_0x1ce15a[_0x117f1a(0x1b2)](_0x4d943d,_0x117f1a(0x1f0))),_0x1ce15a[_0x117f1a(0x1c7)](_0x3a24f4);this[_0x117f1a(0x1f5)]=_0x4d943d,this[_0x117f1a(0x1ec)](_0x1ce15a),_0x26b709=!0x0;}else this[_0x117f1a(0x1f5)]=_0x235a07[0x0];}if(_0x4b44bc[_0x117f1a(0x1be)]&&_0x117f1a(0x1ce)===this[_0x117f1a(0x1f5)]?.[_0x117f1a(0x1bb)][_0x117f1a(0x1b9)]){for(const _0x1a3d2f of this[_0x117f1a(0x1cc)])_0x1ce15a[_0x117f1a(0x1c7)](_0x1a3d2f[_0x117f1a(0x1f3)]),_0x26b709=!0x0;this[_0x117f1a(0x1cc)]=[],this[_0x117f1a(0x1f5)]=null;}return _0x26b709;}[_0x4efbbc(0x1b0)](_0xebe0ec,_0x30bb77){const _0x474a4d=_0x4efbbc;let _0x1e26fd=!0x1;const _0x290d95=this[_0x474a4d(0x1eb)][_0x474a4d(0x1ae)][_0x474a4d(0x1d5)](_0x474a4d(0x1c5)),{inserted:_0xaac948,moved:_0x4cffad}=this[_0x474a4d(0x1c9)][_0x474a4d(0x1e7)](_0x30bb77);for(const _0x59eaca of[..._0x4cffad,..._0xaac948]){const _0x3f78de=_0x59eaca[_0x474a4d(0x1c8)](_0x474a4d(0x1cd)),_0x4f83d3=this[_0x474a4d(0x1a2)](_0x3f78de);_0x4f83d3&&(_0x4f83d3[_0x474a4d(0x1f6)]=_0x59eaca),_(_0xebe0ec,_0x290d95,_0x59eaca)&&(_0x1e26fd=!0x0);}return _0x1e26fd;}[_0x4efbbc(0x1e1)](_0x156d36,_0xcb7363){const _0x180f01=_0x4efbbc;let _0x26f9c6=!0x1;const {removed:_0x2bc768,inserted:_0x48f242,moved:_0x3e03b6}=this[_0x180f01(0x1cf)][_0x180f01(0x1e7)](_0xcb7363);for(const _0x4825e4 of _0x2bc768)this[_0x180f01(0x1c3)](_0x156d36,_0x4825e4)&&(_0x26f9c6=!0x0);for(const _0x4c36f7 of _0x48f242)this[_0x180f01(0x1e3)](_0x156d36,_0x4c36f7)&&(_0x26f9c6=!0x0);for(const _0x3be0ac of _0x3e03b6)this[_0x180f01(0x1da)](_0x156d36,_0x3be0ac)&&(_0x26f9c6=!0x0);return _0x26f9c6;}[_0x4efbbc(0x1b4)](_0x429e8b){const _0x47ee3f=_0x4efbbc;if(!this[_0x47ee3f(0x1f5)])return!0x1;let _0x2df657=!0x1;if(this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1f9)]!==this[_0x47ee3f(0x1cc)][_0x47ee3f(0x1be)]){const _0x1acbf3=[];for(const _0x9e80b6 of this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1e9)]()){const _0x626d56=_0x9e80b6[_0x47ee3f(0x1c8)](_0x47ee3f(0x1cd));this[_0x47ee3f(0x1a2)](_0x626d56)||(_0x1acbf3[_0x47ee3f(0x1a1)](_0x9e80b6),_0x2df657=!0x0);}for(const _0x81531a of _0x1acbf3)_0x429e8b[_0x47ee3f(0x1c7)](_0x81531a);}const _0x14e05d=new Set(),_0x244f8a=[];for(const _0x5e7953 of this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1e9)]()){const _0x317113=_0x5e7953[_0x47ee3f(0x1c8)](_0x47ee3f(0x1cd));_0x14e05d[_0x47ee3f(0x1ab)](_0x317113)?(_0x244f8a[_0x47ee3f(0x1a1)](_0x5e7953),_0x2df657=!0x0):_0x14e05d[_0x47ee3f(0x1e6)](_0x317113);}for(const _0xb49acb of _0x244f8a)_0x429e8b[_0x47ee3f(0x1c7)](_0xb49acb);return this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1f9)]||(_0x429e8b[_0x47ee3f(0x1c7)](this[_0x47ee3f(0x1f5)]),this[_0x47ee3f(0x1f5)]=null,_0x2df657=!0x0),_0x2df657;}[_0x4efbbc(0x1e3)](_0x31735c,_0x55d833){const _0x323c71=_0x4efbbc;if(this[_0x323c71(0x1cc)][_0x323c71(0x1af)](_0x4a5e81=>_0x4a5e81[_0x323c71(0x1f3)]===_0x55d833))return!0x1;let _0x25c1fa=!0x1;const _0x3aea0a=_0x55d833[_0x323c71(0x1c8)](_0x323c71(0x1cd)),_0x352d6b=this[_0x323c71(0x1cc)][_0x323c71(0x1ba)](_0x396651=>_0x396651['id']===_0x3aea0a);-0x1!==_0x352d6b&&(_0x31735c[_0x323c71(0x1c7)](this[_0x323c71(0x1cc)][_0x352d6b][_0x323c71(0x1f3)]),this[_0x323c71(0x1cc)][_0x323c71(0x1ff)](_0x352d6b,0x1),_0x25c1fa=!0x0);let _0x1c83e6=this[_0x323c71(0x1f5)]?function(_0x1cb90f,_0x86c161){const _0xead029=_0x323c71;for(const _0x1171fb of _0x1cb90f[_0xead029(0x1e9)]())if(_0x1171fb[_0xead029(0x1c8)](_0xead029(0x1cd))===_0x86c161)return _0x1171fb;return null;}(this[_0x323c71(0x1f5)],_0x3aea0a):null;_0x1c83e6||(_0x1c83e6=_0x31735c[_0x323c71(0x1d3)](_0x323c71(0x1fc),{'footnoteId':_0x3aea0a}),this[_0x323c71(0x1f5)]&&(_0x31735c[_0x323c71(0x1c2)](_0x1c83e6,this[_0x323c71(0x1f5)],_0x323c71(0x1f0)),_0x25c1fa=!0x0));const _0x3ec6a4={'id':_0x3aea0a,'reference':_0x55d833,'definition':_0x1c83e6},_0x58fbe5=I(this[_0x323c71(0x1eb)][_0x323c71(0x1c1)],this[_0x323c71(0x1cc)],_0x55d833);this[_0x323c71(0x1cc)][_0x323c71(0x1ff)](_0x58fbe5,0x0,_0x3ec6a4);let _0x1f54d8=_0x58fbe5;return-0x1!==_0x352d6b&&(_0x1f54d8=Math[_0x323c71(0x1d1)](_0x58fbe5,_0x352d6b)),this[_0x323c71(0x1ec)](_0x31735c,_0x1f54d8)&&(_0x25c1fa=!0x0),_0x25c1fa;}[_0x4efbbc(0x1c3)](_0x30ad90,_0x27bea4){const _0x758a07=_0x4efbbc,_0x3696ca=this[_0x758a07(0x1cc)][_0x758a07(0x1ba)](_0x4c5386=>_0x4c5386['id']===_0x27bea4);if(-0x1===_0x3696ca)return!0x1;let _0x53441c=!0x1;const _0x38e418=this[_0x758a07(0x1cc)][_0x3696ca];return _0x758a07(0x1ce)!==_0x38e418[_0x758a07(0x1f6)][_0x758a07(0x1bb)][_0x758a07(0x1b9)]&&(_0x30ad90[_0x758a07(0x1c7)](_0x38e418[_0x758a07(0x1f6)]),_0x53441c=!0x0),this[_0x758a07(0x1cc)][_0x758a07(0x1ff)](_0x3696ca,0x1),this[_0x758a07(0x1ec)](_0x30ad90,_0x3696ca)&&(_0x53441c=!0x0),_0x53441c;}[_0x4efbbc(0x1da)](_0x353f61,_0x172b8b){const _0x431dce=_0x4efbbc,_0x4b45b6=_0x172b8b[_0x431dce(0x1c8)](_0x431dce(0x1cd)),_0x360949=this[_0x431dce(0x1cc)][_0x431dce(0x1ba)](_0xdb6ac4=>_0xdb6ac4['id']===_0x4b45b6),_0x2cd39c=this[_0x431dce(0x1cc)][_0x360949];let _0x251bb1=!0x1;_0x2cd39c[_0x431dce(0x1f3)]=_0x172b8b,this[_0x431dce(0x1cc)][_0x431dce(0x1ff)](_0x360949,0x1);const _0x1b4cd1=I(this[_0x431dce(0x1eb)][_0x431dce(0x1c1)],this[_0x431dce(0x1cc)],_0x172b8b);return this[_0x431dce(0x1cc)][_0x431dce(0x1ff)](_0x1b4cd1,0x0,_0x2cd39c),this[_0x431dce(0x1ec)](_0x353f61,Math[_0x431dce(0x1d1)](_0x360949,_0x1b4cd1))&&(_0x251bb1=!0x0),_0x251bb1;}[_0x4efbbc(0x1b3)](_0x550755,_0x28a140){const _0x5a78e2=_0x4efbbc;if(!this[_0x5a78e2(0x1f5)])return!0x1;const _0x623b73=this[_0x5a78e2(0x1cc)][_0x28a140];let _0x6d004d;return _0x6d004d=this[_0x5a78e2(0x1a3)]?this[_0x5a78e2(0x1a3)]({'footnote':_0x623b73,'container':this[_0x5a78e2(0x1f5)],'digits':String(this[_0x5a78e2(0x1cc)][_0x5a78e2(0x1be)])[_0x5a78e2(0x1be)],'value':_0x28a140+0x1}):String(_0x28a140+0x1),_0x623b73[_0x5a78e2(0x1f3)][_0x5a78e2(0x1c8)](_0x5a78e2(0x1aa))!=_0x6d004d&&(_0x550755[_0x5a78e2(0x1e5)](_0x5a78e2(0x1aa),_0x6d004d,_0x623b73[_0x5a78e2(0x1f3)]),!0x0);}[_0x4efbbc(0x1a6)](_0x23e8f7){const _0x50302a=_0x4efbbc;if(!this[_0x50302a(0x1f5)]||this[_0x50302a(0x1cc)][_0x50302a(0x1be)]<0x2)return!0x1;if(function(_0x2f940d,_0x2877b0){const _0x2bfe6a=_0x50302a;if(_0x2f940d[_0x2bfe6a(0x1be)]!==_0x2877b0[_0x2bfe6a(0x1be)])return!0x1;for(let _0x2cc818=0x0;_0x2cc818<_0x2f940d[_0x2bfe6a(0x1be)];_0x2cc818++)if(_0x2f940d[_0x2cc818]!==_0x2877b0[_0x2cc818])return!0x1;return!0x0;}(this[_0x50302a(0x1cc)][_0x50302a(0x1fd)](_0x484e6d=>_0x484e6d['id']),Array[_0x50302a(0x1a9)](this[_0x50302a(0x1f5)][_0x50302a(0x1e9)]())[_0x50302a(0x1fd)](_0x16a946=>_0x16a946[_0x50302a(0x1c8)](_0x50302a(0x1cd)))))return!0x1;let _0x474df7=!0x1;for(let _0x390727=0x0;_0x390727<this[_0x50302a(0x1cc)][_0x50302a(0x1be)];_0x390727++){const _0xa0e5fa=this[_0x50302a(0x1cc)][_0x390727],_0x58a240=_0x23e8f7[_0x50302a(0x1f2)](_0xa0e5fa[_0x50302a(0x1f6)]),_0x12b7b1=_0x23e8f7[_0x50302a(0x1b2)](this[_0x50302a(0x1f5)],_0x390727);_0x58a240[_0x50302a(0x1b8)](_0x12b7b1)||(_0x23e8f7[_0x50302a(0x202)](_0x23e8f7[_0x50302a(0x1a0)](_0xa0e5fa[_0x50302a(0x1f6)]),_0x12b7b1),_0x474df7=!0x0);}return _0x474df7;}[_0x4efbbc(0x1d9)](_0x5b43bd){const _0x35aeeb=_0x4efbbc;if(!this[_0x35aeeb(0x1cc)][_0x35aeeb(0x1be)])return!0x1;const {model:_0x2bd7fd}=this[_0x35aeeb(0x1eb)];let _0x45fd7f=!0x1;for(let _0x85eeda=0x0;_0x85eeda<this[_0x35aeeb(0x1cc)][_0x35aeeb(0x1be)]-0x1;_0x85eeda++){const _0x12cf09=this[_0x35aeeb(0x1cc)][_0x85eeda],_0x2c4e61=this[_0x35aeeb(0x1cc)][_0x85eeda+0x1],_0x56887b=_0x2bd7fd[_0x35aeeb(0x1f2)](_0x12cf09[_0x35aeeb(0x1f3)]),_0x5f5575=_0x2bd7fd[_0x35aeeb(0x1f2)](_0x2c4e61[_0x35aeeb(0x1f3)]);_0x35aeeb(0x1e0)===_0x56887b[_0x35aeeb(0x19f)](_0x5f5575)&&(this[_0x35aeeb(0x1da)](_0x5b43bd,_0x12cf09[_0x35aeeb(0x1f3)]),_0x85eeda=-0x1,_0x45fd7f=!0x0);}return _0x45fd7f;}}function _(_0x2c084e,_0x32b4ad,_0x41f15c){const _0x37bd3f=_0x4efbbc;if(_0x41f15c[_0x37bd3f(0x1f9)])return!0x1;const _0x3e766d=_0x32b4ad?_0x37bd3f(0x1a5):_0x37bd3f(0x1bc);return _0x2c084e[_0x37bd3f(0x1c2)](_0x2c084e[_0x37bd3f(0x1d3)](_0x3e766d),_0x41f15c),!0x0;}function I(_0x54b66b,_0x225f5a,_0x6d9d7b){const _0x4196aa=_0x4efbbc;if(0x0===_0x225f5a[_0x4196aa(0x1be)])return 0x0;const _0x4ccb43=_0x54b66b[_0x4196aa(0x1f2)](_0x6d9d7b);for(let _0x4b1b54=0x0;_0x4b1b54<_0x225f5a[_0x4196aa(0x1be)];_0x4b1b54++){const _0x4e6a4b=_0x225f5a[_0x4b1b54],_0xfac101=_0x54b66b[_0x4196aa(0x1f2)](_0x4e6a4b[_0x4196aa(0x1f3)]);if(_0x4196aa(0x1c0)===_0x4ccb43[_0x4196aa(0x19f)](_0xfac101))return _0x4b1b54;}const _0x131937=_0x6d9d7b[_0x4196aa(0x1bb)];let _0x404f92=-0x1;for(let _0x9d4fae=_0x225f5a[_0x4196aa(0x1be)]-0x1;_0x9d4fae>=0x0;_0x9d4fae--)if(_0x225f5a[_0x9d4fae][_0x4196aa(0x1f3)][_0x4196aa(0x1bb)]===_0x131937){_0x404f92=_0x9d4fae;break;}if(-0x1!==_0x404f92)return _0x404f92+0x1;const _0x309c4a=_0x54b66b[_0x4196aa(0x1b1)][_0x4196aa(0x1b6)](),_0x22223b=_0x309c4a[_0x4196aa(0x200)](_0x131937[_0x4196aa(0x1b9)]),_0xfc1453=_0x309c4a[_0x22223b+0x1];if(_0xfc1453){for(let _0x4a6dc7=0x0;_0x4a6dc7<_0x225f5a[_0x4196aa(0x1be)];_0x4a6dc7++)if(_0x225f5a[_0x4a6dc7][_0x4196aa(0x1f3)][_0x4196aa(0x1bb)][_0x4196aa(0x1b9)]===_0xfc1453)return _0x4a6dc7;}return _0x225f5a[_0x4196aa(0x1be)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4d5b29,MenuBarMenuListItemButtonView as _0x5e90a6}from'ckeditor5/src/ui.js';import{Plugin as _0x398880}from'ckeditor5/src/core.js';import{IconFootnote as _0xaf4861}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x398880{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4741fd}=this,{componentFactory:_0x15eb22}=_0x4741fd['ui'];_0x15eb22['add']('insertFootnote',x(_0x4741fd,_0x4d5b29)),_0x15eb22['add']('menuBar:insertFootnote',x(_0x4741fd,_0x5e90a6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49dd02=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1de12b;for(const _0x4d23c8 in _0x49dd02){const _0xf4e7c1=_0x4d23c8,_0x95c782=_0x49dd02[_0xf4e7c1];if('footnotesLicenseKeyValid'==_0x95c782||'footnotesLicenseKeyInvalid'==_0x95c782||'footnotesLicenseKeyExpired'==_0x95c782||'footnotesLicenseKeyDomainLimit'==_0x95c782||'footnotesLicenseKeyNotAllowed'==_0x95c782||'footnotesLicenseKeyEvaluationLimit'==_0x95c782||'footnotesLicenseKeyTrialLimit'==_0x95c782||'footnotesLicenseKeyUsageLimit'==_0x95c782){delete _0x49dd02[_0xf4e7c1],_0x1de12b=_0x95c782,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1de12b&&_0x49dd02['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1de12b&&_0x49dd02['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1de12b&&_0x49dd02['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x51a6dc,_0x77c1aa){const _0x162970=_0x51a6dc['commands']['get']('insertFootnote');return _0x14129d=>{const {t:t}=_0x14129d,_0x3c42ba=new _0x77c1aa(_0x14129d),_0x337dc7=_0x3c42ba instanceof _0x5e90a6;return _0x3c42ba['bind']('isEnabled')['to'](_0x162970,'isEnabled'),_0x3c42ba['set']({'label':t(_0x337dc7?'Footnote':'Insert\x20footnote'),'icon':_0xaf4861,'tooltip':!0x0}),_0x3c42ba['on']('execute',()=>{_0x162970['execute'](),_0x51a6dc['editing']['view']['focus']();}),_0x3c42ba;};}
23
+ import{ButtonView as _0x3fd52b,MenuBarMenuListItemButtonView as _0x4d808a}from'ckeditor5/src/ui.js';import{Plugin as _0x3514b9}from'ckeditor5/src/core.js';import{IconFootnote as _0x2b28b0}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3514b9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e8692}=this,{componentFactory:_0x503636}=_0x4e8692['ui'];_0x503636['add']('insertFootnote',x(_0x4e8692,_0x3fd52b)),_0x503636['add']('menuBar:insertFootnote',x(_0x4e8692,_0x4d808a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x10d8bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ad818;for(const _0x1e7331 in _0x10d8bb){const _0x3f2240=_0x1e7331,_0x3958aa=_0x10d8bb[_0x3f2240];if('footnotesLicenseKeyValid'==_0x3958aa||'footnotesLicenseKeyInvalid'==_0x3958aa||'footnotesLicenseKeyExpired'==_0x3958aa||'footnotesLicenseKeyDomainLimit'==_0x3958aa||'footnotesLicenseKeyNotAllowed'==_0x3958aa||'footnotesLicenseKeyEvaluationLimit'==_0x3958aa||'footnotesLicenseKeyTrialLimit'==_0x3958aa||'footnotesLicenseKeyUsageLimit'==_0x3958aa){delete _0x10d8bb[_0x3f2240],_0x2ad818=_0x3958aa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2ad818&&_0x10d8bb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2ad818&&_0x10d8bb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2ad818&&_0x10d8bb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x51b2fb,_0x39c2db){const _0x59cb3f=_0x51b2fb['commands']['get']('insertFootnote');return _0x19cdda=>{const {t:t}=_0x19cdda,_0x1aca74=new _0x39c2db(_0x19cdda),_0x188c5a=_0x1aca74 instanceof _0x4d808a;return _0x1aca74['bind']('isEnabled')['to'](_0x59cb3f,'isEnabled'),_0x1aca74['set']({'label':t(_0x188c5a?'Footnote':'Insert\x20footnote'),'icon':_0x2b28b0,'tooltip':!0x0}),_0x1aca74['on']('execute',()=>{_0x59cb3f['execute'](),_0x51b2fb['editing']['view']['focus']();}),_0x1aca74;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e87(_0x152086,_0x3fbe85){var _0x36c336=_0x36c3();return _0x2e87=function(_0x2e87fd,_0x33b336){_0x2e87fd=_0x2e87fd-0x1dc;var _0x3e3440=_0x36c336[_0x2e87fd];return _0x3e3440;},_0x2e87(_0x152086,_0x3fbe85);}(function(_0x4d09d8,_0x1a9e02){var _0x5749e8=_0x2e87,_0x580b75=_0x4d09d8();while(!![]){try{var _0x37aa70=-parseInt(_0x5749e8(0x1de))/0x1+parseInt(_0x5749e8(0x1e6))/0x2*(parseInt(_0x5749e8(0x1e4))/0x3)+-parseInt(_0x5749e8(0x1e0))/0x4+parseInt(_0x5749e8(0x1e2))/0x5*(-parseInt(_0x5749e8(0x1e5))/0x6)+parseInt(_0x5749e8(0x1dc))/0x7+parseInt(_0x5749e8(0x1e1))/0x8*(-parseInt(_0x5749e8(0x1df))/0x9)+parseInt(_0x5749e8(0x1dd))/0xa*(parseInt(_0x5749e8(0x1e3))/0xb);if(_0x37aa70===_0x1a9e02)break;else _0x580b75['push'](_0x580b75['shift']());}catch(_0x23cd3b){_0x580b75['push'](_0x580b75['shift']());}}}(_0x36c3,0x46921));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';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';function _0x36c3(){var _0x5bfce2=['3215xTCari','438790pXVYKZ','57345fmbWCx','3720jGeMii','50XavgFp','633703pxbTXJ','340sVgeNP','413256RJAiQm','18tEfvyh','1788604SkgRgw','1506160kBzjDi'];_0x36c3=function(){return _0x5bfce2;};return _0x36c3();}export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x5a7057,_0x310108){var _0x349da3=_0x47ac,_0x409d9c=_0x5a7057();while(!![]){try{var _0x4ec237=-parseInt(_0x349da3(0xb7))/0x1+parseInt(_0x349da3(0xb5))/0x2*(parseInt(_0x349da3(0xb9))/0x3)+parseInt(_0x349da3(0xb6))/0x4+parseInt(_0x349da3(0xb8))/0x5*(parseInt(_0x349da3(0xb1))/0x6)+parseInt(_0x349da3(0xb4))/0x7+-parseInt(_0x349da3(0xb3))/0x8+-parseInt(_0x349da3(0xb2))/0x9;if(_0x4ec237===_0x310108)break;else _0x409d9c['push'](_0x409d9c['shift']());}catch(_0xce7f29){_0x409d9c['push'](_0x409d9c['shift']());}}}(_0x1356,0x96024));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x1356(){var _0x765138=['5353686NRXYkG','2257320wwricK','6399953lLsymu','1023170wTjYFP','1287676gwswyx','433496uswulw','5UEoVfZ','3nJULTb','1063008bQlWzd'];_0x1356=function(){return _0x765138;};return _0x1356();}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x47ac(_0x18ca25,_0x454709){var _0x1356f1=_0x1356();return _0x47ac=function(_0x47acd7,_0x18ddf6){_0x47acd7=_0x47acd7-0xb1;var _0x2cad03=_0x1356f1[_0x47acd7];return _0x2cad03;},_0x47ac(_0x18ca25,_0x454709);}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
- const _0x10c0a1=_0x143d;(function(_0x390aa1,_0x4be141){const _0x4553f0=_0x143d,_0x295fce=_0x390aa1();while(!![]){try{const _0x38fbf2=-parseInt(_0x4553f0(0x13a))/0x1+-parseInt(_0x4553f0(0x133))/0x2+-parseInt(_0x4553f0(0x14c))/0x3*(parseInt(_0x4553f0(0x143))/0x4)+-parseInt(_0x4553f0(0x12a))/0x5+-parseInt(_0x4553f0(0x140))/0x6*(-parseInt(_0x4553f0(0x132))/0x7)+-parseInt(_0x4553f0(0x14a))/0x8+parseInt(_0x4553f0(0x151))/0x9*(parseInt(_0x4553f0(0x136))/0xa);if(_0x38fbf2===_0x4be141)break;else _0x295fce['push'](_0x295fce['shift']());}catch(_0x55c068){_0x295fce['push'](_0x295fce['shift']());}}}(_0x32dc,0xbcc13));function _0x143d(_0x2b97cb,_0x4ab793){const _0x32dcea=_0x32dc();return _0x143d=function(_0x143da9,_0x5e3808){_0x143da9=_0x143da9-0x126;let _0x498801=_0x32dcea[_0x143da9];return _0x498801;},_0x143d(_0x2b97cb,_0x4ab793);}export class ModelElementTracker{[_0x10c0a1(0x13c)];[_0x10c0a1(0x131)];[_0x10c0a1(0x12e)];[_0x10c0a1(0x135)]=new Map();constructor(_0x208ce4,_0x58825d){const _0x2b8588=_0x10c0a1;this[_0x2b8588(0x13c)]=_0x208ce4,this[_0x2b8588(0x131)]=_0x58825d[_0x2b8588(0x13d)],this[_0x2b8588(0x12e)]=_0x58825d[_0x2b8588(0x146)];}[_0x10c0a1(0x130)](){const _0x1b0d21=_0x10c0a1;this[_0x1b0d21(0x135)][_0x1b0d21(0x148)]();}[_0x10c0a1(0x137)](_0x1aecf3){const _0x5482ff=_0x10c0a1,_0x48a1df=new Set(),_0x3d804c=new Map();for(const _0x5c42fd of _0x1aecf3){if(_0x5482ff(0x142)===_0x5c42fd[_0x5482ff(0x126)]&&_0x5482ff(0x149)!==_0x5c42fd[_0x5482ff(0x12d)]&&_0x5c42fd[_0x5482ff(0x141)][_0x5482ff(0x150)]){const _0x273717=this[_0x5482ff(0x13c)][_0x5482ff(0x134)](_0x5c42fd[_0x5482ff(0x141)][_0x5482ff(0x150)]);for(const _0x17b0ca of _0x273717[_0x5482ff(0x127)]()){if(!_0x17b0ca['is'](_0x5482ff(0x129),this[_0x5482ff(0x131)]))continue;const _0x30d511=this[_0x5482ff(0x12e)](_0x17b0ca);_0x3d804c[_0x5482ff(0x14b)](_0x30d511)||_0x3d804c[_0x5482ff(0x138)](_0x30d511,[]),_0x3d804c[_0x5482ff(0x12b)](_0x30d511)[_0x5482ff(0x14d)](_0x17b0ca);}}if(_0x5482ff(0x144)===_0x5c42fd[_0x5482ff(0x126)]&&_0x5c42fd[_0x5482ff(0x12d)]===this[_0x5482ff(0x131)]){const _0x28776f=this[_0x5482ff(0x12e)]({'getAttribute':_0x425374=>_0x5c42fd[_0x5482ff(0x139)][_0x5482ff(0x12b)](_0x425374)});_0x48a1df[_0x5482ff(0x13f)](_0x28776f);}}for(const [_0x29571b,_0x21f439]of this[_0x5482ff(0x135)])_0x5482ff(0x13b)===_0x21f439[_0x5482ff(0x12f)][_0x5482ff(0x147)]&&_0x48a1df[_0x5482ff(0x13f)](_0x29571b);for(const _0x1d347d of _0x48a1df)this[_0x5482ff(0x135)][_0x5482ff(0x14f)](_0x1d347d);for(const [_0x233e32,_0x1f9ca7]of _0x3d804c)this[_0x5482ff(0x135)][_0x5482ff(0x138)](_0x233e32,_0x1f9ca7[_0x1f9ca7[_0x5482ff(0x14e)]-0x1]);const _0x36250f=new Set();for(const [_0x5ea0c2,_0x3ab8bf]of _0x3d804c)_0x48a1df[_0x5482ff(0x14b)](_0x5ea0c2)&&(_0x36250f[_0x5482ff(0x13f)](_0x3ab8bf[0x0]),_0x3ab8bf[_0x5482ff(0x14e)]>0x1?_0x3d804c[_0x5482ff(0x138)](_0x5ea0c2,_0x3ab8bf[_0x5482ff(0x13e)](0x1)):_0x3d804c[_0x5482ff(0x14f)](_0x5ea0c2),_0x48a1df[_0x5482ff(0x14f)](_0x5ea0c2));return{'removed':Array[_0x5482ff(0x145)](_0x48a1df),'inserted':Array[_0x5482ff(0x145)](_0x3d804c[_0x5482ff(0x12c)]())[_0x5482ff(0x128)](),'moved':Array[_0x5482ff(0x145)](_0x36250f)};}}function _0x32dc(){const _0x30e5e0=['flat','element','2191040vqTzNH','get','values','name','_getElementKey','root','reset','_elementName','10232278CPDTyR','1491428OCnGKI','createRangeOn','_trackedElements','190060LQuTKM','getChanges','set','attributes','1342255aesCdB','$graveyard','_model','elementName','slice','add','6GqNEqo','position','insert','600672fskERg','remove','from','getElementKey','rootName','clear','$text','8790096HaVgLt','has','15mXoaMy','push','length','delete','nodeAfter','1746pwZGQc','type','getItems'];_0x32dc=function(){return _0x30e5e0;};return _0x32dc();}
23
+ function _0x37cd(_0x381d0d,_0x39f3e6){const _0x2cdcfa=_0x2cdc();return _0x37cd=function(_0x37cdb0,_0x5d789b){_0x37cdb0=_0x37cdb0-0x18a;let _0x5a7c81=_0x2cdcfa[_0x37cdb0];return _0x5a7c81;},_0x37cd(_0x381d0d,_0x39f3e6);}function _0x2cdc(){const _0x49e23c=['elementName','237095WkrMhk','_trackedElements','20EhaJFa','_getElementKey','reset','408KuCnhI','values','rootName','getItems','remove','createRangeOn','type','insert','_model','element','name','from','211444kaeEsW','clear','position','get','10554710SuWLeT','_elementName','flat','$text','slice','getChanges','29786460llRUYe','$graveyard','15auiESh','69202ILhsnc','set','add','18pLOwZv','nodeAfter','attributes','length','328002pUXgsK','root','getElementKey','has','delete','4897600rMZLTE','push'];_0x2cdc=function(){return _0x49e23c;};return _0x2cdc();}const _0x41cb64=_0x37cd;(function(_0xbf7a45,_0x1b7f7d){const _0x1d822d=_0x37cd,_0x22ab40=_0xbf7a45();while(!![]){try{const _0x5c39a3=parseInt(_0x1d822d(0x199))/0x1+-parseInt(_0x1d822d(0x1b2))/0x2*(parseInt(_0x1d822d(0x191))/0x3)+-parseInt(_0x1d822d(0x1a3))/0x4*(parseInt(_0x1d822d(0x1a1))/0x5)+-parseInt(_0x1d822d(0x1a6))/0x6*(-parseInt(_0x1d822d(0x192))/0x7)+parseInt(_0x1d822d(0x19e))/0x8*(-parseInt(_0x1d822d(0x195))/0x9)+-parseInt(_0x1d822d(0x1b6))/0xa+parseInt(_0x1d822d(0x18f))/0xb;if(_0x5c39a3===_0x1b7f7d)break;else _0x22ab40['push'](_0x22ab40['shift']());}catch(_0x245d72){_0x22ab40['push'](_0x22ab40['shift']());}}}(_0x2cdc,0xa1c06));export class ModelElementTracker{[_0x41cb64(0x1ae)];[_0x41cb64(0x18a)];[_0x41cb64(0x1a4)];[_0x41cb64(0x1a2)]=new Map();constructor(_0x51aa13,_0x370d25){const _0x274d8a=_0x41cb64;this[_0x274d8a(0x1ae)]=_0x51aa13,this[_0x274d8a(0x18a)]=_0x370d25[_0x274d8a(0x1a0)],this[_0x274d8a(0x1a4)]=_0x370d25[_0x274d8a(0x19b)];}[_0x41cb64(0x1a5)](){const _0x3aa015=_0x41cb64;this[_0x3aa015(0x1a2)][_0x3aa015(0x1b3)]();}[_0x41cb64(0x18e)](_0x1d8406){const _0x5d8d84=_0x41cb64,_0x46b261=new Set(),_0x40225b=new Map();for(const _0x322aa3 of _0x1d8406){if(_0x5d8d84(0x1ad)===_0x322aa3[_0x5d8d84(0x1ac)]&&_0x5d8d84(0x18c)!==_0x322aa3[_0x5d8d84(0x1b0)]&&_0x322aa3[_0x5d8d84(0x1b4)][_0x5d8d84(0x196)]){const _0x34e094=this[_0x5d8d84(0x1ae)][_0x5d8d84(0x1ab)](_0x322aa3[_0x5d8d84(0x1b4)][_0x5d8d84(0x196)]);for(const _0x38a175 of _0x34e094[_0x5d8d84(0x1a9)]()){if(!_0x38a175['is'](_0x5d8d84(0x1af),this[_0x5d8d84(0x18a)]))continue;const _0x4f0bff=this[_0x5d8d84(0x1a4)](_0x38a175);_0x40225b[_0x5d8d84(0x19c)](_0x4f0bff)||_0x40225b[_0x5d8d84(0x193)](_0x4f0bff,[]),_0x40225b[_0x5d8d84(0x1b5)](_0x4f0bff)[_0x5d8d84(0x19f)](_0x38a175);}}if(_0x5d8d84(0x1aa)===_0x322aa3[_0x5d8d84(0x1ac)]&&_0x322aa3[_0x5d8d84(0x1b0)]===this[_0x5d8d84(0x18a)]){const _0x51c238=this[_0x5d8d84(0x1a4)]({'getAttribute':_0x3e20da=>_0x322aa3[_0x5d8d84(0x197)][_0x5d8d84(0x1b5)](_0x3e20da)});_0x46b261[_0x5d8d84(0x194)](_0x51c238);}}for(const [_0x13618e,_0x3c4a74]of this[_0x5d8d84(0x1a2)])_0x5d8d84(0x190)===_0x3c4a74[_0x5d8d84(0x19a)][_0x5d8d84(0x1a8)]&&_0x46b261[_0x5d8d84(0x194)](_0x13618e);for(const _0x43c4c1 of _0x46b261)this[_0x5d8d84(0x1a2)][_0x5d8d84(0x19d)](_0x43c4c1);for(const [_0x458d72,_0x137f71]of _0x40225b)this[_0x5d8d84(0x1a2)][_0x5d8d84(0x193)](_0x458d72,_0x137f71[_0x137f71[_0x5d8d84(0x198)]-0x1]);const _0x4275b8=new Set();for(const [_0xb1d6a9,_0x1482f8]of _0x40225b)_0x46b261[_0x5d8d84(0x19c)](_0xb1d6a9)&&(_0x4275b8[_0x5d8d84(0x194)](_0x1482f8[0x0]),_0x1482f8[_0x5d8d84(0x198)]>0x1?_0x40225b[_0x5d8d84(0x193)](_0xb1d6a9,_0x1482f8[_0x5d8d84(0x18d)](0x1)):_0x40225b[_0x5d8d84(0x19d)](_0xb1d6a9),_0x46b261[_0x5d8d84(0x19d)](_0xb1d6a9));return{'removed':Array[_0x5d8d84(0x1b1)](_0x46b261),'inserted':Array[_0x5d8d84(0x1b1)](_0x40225b[_0x5d8d84(0x1a7)]())[_0x5d8d84(0x18b)](),'moved':Array[_0x5d8d84(0x1b1)](_0x4275b8)};}}