@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251015.0 → 0.0.0-nightly-20251016.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 _0x1ab5b0}from'ckeditor5/src/core.js';import{isWidget as _0x56867c,toWidget as _0x3c65d7,toWidgetEditable as _0x2c030b}from'ckeditor5/src/widget.js';import{uid as _0x25dfb2}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3b1ac0,ClickObserver as _0x2db507}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x583e44}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x37fddf}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1ab5b0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x583e44];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x27ca2f}=this;_0x27ca2f['config']['define']('footnotes.multiBlock',!0x0),_0x27ca2f['commands']['add']('insertFootnote',new _0x37fddf(_0x27ca2f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1583b8){const _0x59e15b=_0x3f5008([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]),_0xd6e7e8=0x47a28506,_0x5eaa00=0x47a5f346^_0xd6e7e8,_0xae72ad=window[_0x3f5008([0x44,0x61,0x74,0x65])][_0x3f5008([0x6e,0x6f,0x77])](),_0x3236d3=_0x1583b8[_0x3f5008([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1019b0=new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b663a=>{_0x3236d3[_0x3f5008([0x6f,0x6e,0x63,0x65])](_0x3f5008([0x72,0x65,0x61,0x64,0x79]),_0x2b663a);}),_0x48b480={[_0x3f5008([0x6b,0x74,0x79])]:_0x3f5008([0x45,0x43]),[_0x3f5008([0x75,0x73,0x65])]:_0x3f5008([0x73,0x69,0x67]),[_0x3f5008([0x63,0x72,0x76])]:_0x3f5008([0x50,0x2d,0x32,0x35,0x36]),[_0x3f5008([0x78])]:_0x3f5008([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]),[_0x3f5008([0x79])]:_0x3f5008([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]),[_0x3f5008([0x61,0x6c,0x67])]:_0x3f5008([0x45,0x53,0x32,0x35,0x36])},_0x4cb9bc=_0x3236d3[_0x3f5008([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f5008([0x67,0x65,0x74])](_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55aa9d(){let _0xa44f94,_0x3d567d=null,_0x3e6a7a=null;try{if(_0x4cb9bc==_0x3f5008([0x47,0x50,0x4c]))return _0x3f5008([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa44f94=_0x56a911(),!_0xa44f94)return _0x3f5008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa44f94[_0x3f5008([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e6a7a=_0x4e79eb(_0xa44f94[_0x3f5008([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa44f94[_0x3f5008([0x6a,0x74,0x69])])),await _0x87007c()?_0x34dfef()?_0x36ef26()?_0x3f5008([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2603c8()?(_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f5008([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d567d=_0x176a0c(_0x3f5008([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f5008([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d567d=_0x176a0c(_0x3f5008([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x68bbd3()):_0x3f5008([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f5008([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f5008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3f5008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x36ef26(){const _0x528065=[_0x3f5008([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f5008([0x74,0x72,0x69,0x61,0x6c])][_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xae72ad/0x3e8:0xe10*_0x5eaa00;return _0xa44f94[_0x3f5008([0x65,0x78,0x70])]<_0x528065;}function _0x34dfef(){const _0x402af4=_0xa44f94[_0x3f5008([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x402af4&&(!!_0x402af4[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5008([0x2a]))||!!_0x402af4[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5008([0x46,0x4f,0x4f])));}function _0x2603c8(){const _0x2f6993=_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f6993||0x0==_0x2f6993[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4bf294}=new URL(window[_0x3f5008([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2f6993[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bf294))return!0x0;const _0x5a53c3=_0x4bf294[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e]));return _0x2f6993[_0x3f5008([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x421b08=>_0x421b08[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5008([0x2a])))[_0x3f5008([0x6d,0x61,0x70])](_0x210d4e=>_0x210d4e[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e])))[_0x3f5008([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4df317=>_0x4df317[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a53c3[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f5008([0x6d,0x61,0x70])](_0x229305=>Array(_0x5a53c3[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x229305[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f5008([0x66,0x69,0x6c,0x6c])](_0x229305[0x0]===_0x3f5008([0x2a])?_0x3f5008([0x2a]):'')[_0x3f5008([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x229305))[_0x3f5008([0x73,0x6f,0x6d,0x65])](_0x23dbc2=>_0x5a53c3[_0x3f5008([0x65,0x76,0x65,0x72,0x79])]((_0x5708bc,_0x2c32a9)=>_0x23dbc2[_0x2c32a9]===_0x5708bc||_0x23dbc2[_0x2c32a9]===_0x3f5008([0x2a])));}function _0x68bbd3(){return _0x3d567d&&_0x3e6a7a?new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a6be4,_0x2bf179)=>{_0x3d567d[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x1a6be4,_0x2bf179),_0x3e6a7a[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x8f4b37=>{_0x8f4b37!=_0x3f5008([0x56,0x61,0x6c,0x69,0x64])&&_0x1a6be4(_0x8f4b37);},_0x2bf179);}):_0x3d567d||_0x3e6a7a||_0x3f5008([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e79eb(_0x2bef10,_0x282e05){return new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199727=>{if(_0x205d46())return _0x199727(_0x3f5008([0x56,0x61,0x6c,0x69,0x64]));_0x3cee23(),_0x3236d3[_0x3f5008([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f5008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50ac36=!0x1;const _0x461866=_0x25dfb2();function _0x19d609(_0x5d59b2){return!!_0x5d59b2&&(typeof _0x5d59b2===_0x3f5008([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d59b2===_0x3f5008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d59b2[_0x3f5008([0x74,0x68,0x65,0x6e])]===_0x3f5008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d59b2[_0x3f5008([0x63,0x61,0x74,0x63,0x68])]===_0x3f5008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4379c6(_0x141bc2){_0x2cffc4(_0x141bc2)[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x1d014f=>{if(!_0x1d014f||_0x1d014f[_0x3f5008([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f5008([0x6f,0x6b]))return _0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57251f(_0x2725e6(_0x461866+_0x282e05))!=_0x1d014f[_0x3f5008([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f5008([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x4aa59c=>(_0x2d7c11(),_0x4aa59c),()=>{const _0x4d6a8d=_0x11f37e();return null==_0x4d6a8d?(_0x2d7c11(),_0x3f5008([0x56,0x61,0x6c,0x69,0x64])):_0x3f5008(_0xae72ad-_0x4d6a8d>(0x63ae0106^_0xd6e7e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x199727)[_0x3f5008([0x63,0x61,0x74,0x63,0x68])](()=>{_0x199727(_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a38b0=0x47946b86^_0xd6e7e8;function _0x2d7c11(){const _0x55bc91=_0x3f5008([0x6c,0x6c,0x63,0x74,0x2d])+_0x57251f(_0x2725e6(_0x2bef10)),_0x337ea7=_0x434c77(_0x57251f(window[_0x3f5008([0x4d,0x61,0x74,0x68])][_0x3f5008([0x63,0x65,0x69,0x6c])](_0xae72ad/_0x4a38b0)));window[_0x3f5008([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f5008([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55bc91,_0x337ea7);}function _0x11f37e(){const _0x2603cc=_0x3f5008([0x6c,0x6c,0x63,0x74,0x2d])+_0x57251f(_0x2725e6(_0x2bef10)),_0x189d91=window[_0x3f5008([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f5008([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2603cc);return _0x189d91?window[_0x3f5008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x434c77(_0x189d91),0x10)*_0x4a38b0:null;}function _0x2cffc4(_0x38f311){return new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c6213,_0x2c8362)=>{_0x38f311[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x5c6213,_0x2c8362),window[_0x3f5008([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c8362,0x47a351c6^_0xd6e7e8);});}}_0x3236d3[_0x3f5008([0x6f,0x6e])](_0x3f5008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17a016,_0x119691)=>{if(_0x119691[0x0]!=_0x2bef10)return _0x199727(_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x119691[0x1]={..._0x119691[0x1],[_0x3f5008([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x461866};},{[_0x3f5008([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f5008([0x68,0x69,0x67,0x68])}),_0x3236d3[_0x3f5008([0x6f,0x6e])](_0x3f5008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9ab668=>{_0x19d609(_0x9ab668[_0x3f5008([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50ac36=!0x0,_0x4379c6(_0x9ab668[_0x3f5008([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f5008([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f5008([0x6c,0x6f,0x77])}),_0x1019b0[_0x3f5008([0x74,0x68,0x65,0x6e])](()=>{_0x50ac36||_0x199727(_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x205d46(){return _0x3236d3[_0x3f5008([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f5008([0x76,0x69,0x65,0x77])][_0x3f5008([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f5008([0x61,0x75,0x74,0x6f]);}function _0x3cee23(){_0x3236d3[_0x3f5008([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f5008([0x76,0x69,0x65,0x77])][_0x3f5008([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f5008([0x61,0x75,0x74,0x6f]);}}function _0x176a0c(_0x2f4022){const _0x2685db=[new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c2896=>setTimeout(_0x5c2896,0x47abbbca^_0xd6e7e8)),_0x1019b0[_0x3f5008([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36c76d=>{let _0x4ebdea=0x0;_0x3236d3[_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f5008([0x6f,0x6e])](_0x3f5008([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b7f10,_0x31c97f)=>{_0x31c97f[0x0][_0x3f5008([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ebdea++,_0x4ebdea==(0x47a284fe^_0xd6e7e8)&&(_0x36c76d(),_0x4b7f10[_0x3f5008([0x6f,0x66,0x66])]());});}))];return window[_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f5008([0x72,0x61,0x63,0x65])](_0x2685db)[_0x3f5008([0x74,0x68,0x65,0x6e])](()=>_0x2f4022);}async function _0x477154(){await _0x1019b0,_0x3236d3[_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f5008([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2157ea,_0x3236d3[_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f5008([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2157ea,_0x3236d3[_0x3f5008([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3084bf(_0x40feba){const _0x2802a8=_0x2d8885();_0x3236d3[_0x2802a8]=_0x3f5008([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40feba,_0x40feba!=_0x3f5008([0x56,0x61,0x6c,0x69,0x64])&&_0x477154();}function _0x2d8885(){const _0x14ed9e=window[_0x3f5008([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f5008([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f5008([0x6e,0x6f,0x77])]())[_0x3f5008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f5008([0x2e]),'');let _0x18e5e3=_0x3f5008([0x75]);for(let _0x364441=0x0;_0x364441<_0x14ed9e[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x364441+=0x2){let _0x178edf=window[_0x3f5008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14ed9e[_0x3f5008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364441,_0x364441+0x2));_0x178edf>=_0x59e15b[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x178edf-=_0x59e15b[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18e5e3+=_0x59e15b[_0x178edf];}return _0x18e5e3;}function _0x56a911(){const _0x428583=_0x4cb9bc[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e]));if(0x3!=_0x428583[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f996b(_0x428583[0x1]);function _0x2f996b(_0x24c39f){const _0x26abc2=_0x2c5a26(_0x24c39f);return _0x26abc2&&_0x19a650()?_0x26abc2:null;function _0x19a650(){const _0x726b24=_0x26abc2[_0x3f5008([0x6a,0x74,0x69])],_0x47c25a=window[_0x3f5008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x726b24[_0x3f5008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x726b24[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35f093={..._0x26abc2,[_0x3f5008([0x6a,0x74,0x69])]:_0x726b24[_0x3f5008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x726b24[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35f093[_0x3f5008([0x76,0x63])],_0x2725e6(_0x35f093)==_0x47c25a;}}}async function _0x87007c(){let _0x22b79e=!0x0;try{const _0x54b41e=_0x4cb9bc[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e])),[_0x4712ad,_0x166092,_0x1019e4]=_0x54b41e;return _0x15b6e1(_0x4712ad),await _0x131f00(_0x4712ad,_0x166092,_0x1019e4),_0x22b79e;}catch{return!0x1;}function _0x15b6e1(_0x4653cc){const _0x409af4=_0x2c5a26(_0x4653cc);_0x409af4&&_0x409af4[_0x3f5008([0x61,0x6c,0x67])]==_0x3f5008([0x45,0x53,0x32,0x35,0x36])||(_0x22b79e=!0x1);}async function _0x131f00(_0x8643e3,_0x2f446b,_0x408881){const _0x557e05=window[_0x3f5008([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f5008([0x66,0x72,0x6f,0x6d])](_0x40d299(_0x408881),_0x2fcf77=>_0x2fcf77[_0x3f5008([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25151d=new window[(_0x3f5008([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f5008([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8643e3+_0x3f5008([0x2e])+_0x2f446b),_0xfa5089=window[_0x3f5008([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f5008([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfa5089)return;const _0x591226=await _0xfa5089[_0x3f5008([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f5008([0x6a,0x77,0x6b]),_0x48b480,{[_0x3f5008([0x6e,0x61,0x6d,0x65])]:_0x3f5008([0x45,0x43,0x44,0x53,0x41]),[_0x3f5008([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f5008([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f5008([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfa5089[_0x3f5008([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f5008([0x6e,0x61,0x6d,0x65])]:_0x3f5008([0x45,0x43,0x44,0x53,0x41]),[_0x3f5008([0x68,0x61,0x73,0x68])]:{[_0x3f5008([0x6e,0x61,0x6d,0x65])]:_0x3f5008([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x591226,_0x557e05,_0x25151d)||(_0x22b79e=!0x1);}}function _0x2c5a26(_0x594c69){return _0x594c69[_0x3f5008([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f5008([0x65,0x79]))?JSON[_0x3f5008([0x70,0x61,0x72,0x73,0x65])](_0x40d299(_0x594c69)):null;}function _0x40d299(_0xccb3a6){return window[_0x3f5008([0x61,0x74,0x6f,0x62])](_0xccb3a6[_0x3f5008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f5008([0x2b]))[_0x3f5008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f5008([0x2f])));}function _0x2725e6(_0x1b233e){let _0x507d31=0x1505;function _0x2d1c79(_0x2503cc){for(let _0x1df340=0x0;_0x1df340<_0x2503cc[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1df340++){const _0x129c25=_0x2503cc[_0x3f5008([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1df340);_0x507d31=(_0x507d31<<0x5)+_0x507d31+_0x129c25,_0x507d31&=_0x507d31;}}function _0x112734(_0x13ca1b){Array[_0x3f5008([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13ca1b)?_0x13ca1b[_0x3f5008([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x112734):_0x13ca1b&&typeof _0x13ca1b==_0x3f5008([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f5008([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13ca1b)[_0x3f5008([0x73,0x6f,0x72,0x74])]()[_0x3f5008([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c2159,_0x2ff185])=>{_0x2d1c79(_0x2c2159),_0x112734(_0x2ff185);}):_0x2d1c79(window[_0x3f5008([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13ca1b));}return _0x112734(_0x1b233e),_0x507d31>>>0x0;}function _0x57251f(_0x106758){return _0x106758[_0x3f5008([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f5008([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f5008([0x30]));}function _0x434c77(_0x3382c3){return _0x3382c3[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f5008([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f5008([0x6a,0x6f,0x69,0x6e])]('');}function _0x2157ea(){}function _0x3f5008(_0x54dc6d){return _0x54dc6d['map'](_0x1f513a=>String['fromCharCode'](_0x1f513a))['join']('');}_0x3084bf(await _0x55aa9d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x27a15a){const {plugins:_0x1250ba,editing:_0x44a32d,model:_0x1cd987}=this['editor'],_0x5317a0=_0x1250ba['get'](_0x583e44)['getFootnote'](_0x27a15a);return!!_0x5317a0&&(_0x1cd987['change'](_0xf301fc=>{_0xf301fc['setSelection'](_0xf301fc['createPositionAt'](_0x5317a0['definition'],'end'));}),_0x44a32d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x39de4e){const {plugins:_0x1727ea,editing:_0x4dd4c3,model:_0x2a4a99}=this['editor'],_0x4b7ce7=_0x1727ea['get'](_0x583e44)['getFootnote'](_0x39de4e);return!!_0x4b7ce7&&(_0x2a4a99['change'](_0x5be815=>{_0x5be815['setSelection'](_0x4b7ce7['reference'],'on');}),_0x4dd4c3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x150fb8}=this['editor']['model'],_0x8f5c7d=this['editor']['config']['get']('footnotes.multiBlock');_0x150fb8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x150fb8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x150fb8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x8f5c7d?_0x150fb8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x150fb8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x150fb8['addChildCheck'](_0x324815=>{for(const _0x10723e of _0x324815)if('footnoteDefinition'===_0x10723e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x100030}=this,{conversion:_0x59dfdf,editing:_0x335a0d}=_0x100030,{t:t}=_0x100030['locale'];_0x59dfdf['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x204f81,{writer:_0x5ab672,consumable:_0x58abe4})=>{const _0x58120e=_0x204f81['getChild'](0x0);if(!_0x58120e||!_0x58120e['is']('element','a'))return null;const _0x3be92d=_0x58120e['getAttribute']('href')||'';if(!_0x3be92d['startsWith']('#'))return null;const _0x34b2ea=_0x3be92d['replace'](/^#/,'');if(!_0x34b2ea)return null;_0x58abe4['consume'](_0x58120e,{'name':!0x0,'attributes':['href']});for(const {item:_0x844458}of _0x335a0d['view']['createRangeIn'](_0x58120e))_0x844458['is']('$textProxy')?_0x58abe4['consume'](_0x844458['textNode'],{'name':!0x0}):_0x844458['is']('element')&&_0x58abe4['consume'](_0x844458,{'name':!0x0});return _0x5ab672['createElement']('footnoteRef',{'footnoteId':_0x34b2ea});}}),_0x59dfdf['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48f372,{writer:_0xe95fc1})=>g(_0x48f372,_0xe95fc1)}),_0x59dfdf['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5e7a9f,{writer:_0x8b4560})=>{const _0x407953=_0x5e7a9f['getAttribute']('footnoteCounter');return _0x3c65d7(g(_0x5e7a9f,_0x8b4560),_0x8b4560,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x407953)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1b09d0}=this,{t:t}=_0x1b09d0['locale'],{conversion:_0x1cd17a}=_0x1b09d0;_0x1cd17a['for']('upcast')['elementToElement']({'view':{'name':'ol','classes':['footnotes']},'model':'footnotesDefinitions','converterPriority':'high'}),_0x1cd17a['for']('dataDowncast')['elementToElement']({'model':'footnotesDefinitions','view':{'name':'ol','classes':['footnotes']}}),_0x1cd17a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x22d715,{writer:_0x126dc0})=>{const _0x4b9133=_0x126dc0['createContainerElement']('div',{'class':'footnotes-wrapper','data-footnotes-list-label':t('Footnotes')},_0x126dc0['createContainerElement']('ol',{'class':'footnotes'},_0x126dc0['createSlot']())),_0x1d183f=_0x3c65d7(_0x4b9133,_0x126dc0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x126dc0['setCustomProperty']('footnotesDefinitions',!0x0,_0x1d183f),_0x1d183f;}});}['_defineDefinitionConverters'](){const {editor:_0x421728}=this,{conversion:_0xdfc5c3,locale:_0x4f822b}=_0x421728,_0x34ffa4=_0x421728['config']['get']('footnotes.multiBlock');_0xdfc5c3['for']('upcast')['add'](_0x46b342=>{_0x46b342['on']('element:li',(_0x3d7c0d,_0x486b50,_0x4be137)=>{const _0x13113b=_0x486b50['viewItem'];if(!_0x13113b['hasClass']('footnote-definition')||!_0x13113b['getAttribute']('id'))return;const _0xa0027f=_0x13113b['parent'];if(!_0xa0027f['is']('element','ol')||!_0xa0027f['hasClass']('footnotes'))return;if(!_0x4be137['consumable']['test'](_0x13113b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4b83e5=_0x4be137['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x13113b['getAttribute']('id')});if(!_0x4be137['safeInsert'](_0x4b83e5,_0x486b50['modelCursor']))return;_0x4be137['consumable']['consume'](_0x13113b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2ebbe6=Array['from'](_0x13113b['getChildren']())['find'](_0xeb3181=>_0xeb3181['is']('element')&&_0xeb3181['hasClass']('footnote-content'));for(const _0x4f4c60 of _0x13113b['getChildren']())_0x4f4c60['is']('element')&&(_0x4be137['consumable']['consume'](_0x4f4c60,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4be137['consumable']['consume'](_0x4f4c60,{'name':!0x0,'classes':'footnote-content'}));if(_0x2ebbe6){if(_0x34ffa4)_0x4be137['convertChildren'](_0x2ebbe6,_0x4b83e5);else{const _0x48802a=_0x4be137['writer']['createElement']('footnoteInlineContent');_0x4be137['writer']['insert'](_0x48802a,_0x4b83e5),_0x4be137['convertChildren'](_0x2ebbe6,_0x48802a);}}_0x4be137['updateConversionResult'](_0x4b83e5,_0x486b50);});}),_0xdfc5c3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x52c566,{writer:_0x2a91c3})=>D(_0x52c566,_0x2a91c3,_0x4f822b,{'dataPipeline':!0x0})}),_0xdfc5c3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1463cd,{writer:_0x185f82})=>D(_0x1463cd,_0x185f82,_0x4f822b)});}['_defineBogusParagraphConverters'](){const {editor:_0x517d67}=this,{conversion:_0x201fd3}=_0x517d67;_0x517d67['config']['get']('footnotes.multiBlock')?(_0x201fd3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x201fd3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x517d67['model']['document'],'change:data',()=>{!function(_0x20b1e9,_0x451907){const _0x5b17c4=_0x20b1e9['document']['differ'],_0x1aaccd=new Set();for(const _0xe47e5f of _0x5b17c4['getChanges']()){const _0x42c00f='attribute'==_0xe47e5f['type']?_0xe47e5f['range']['start']['parent']:_0xe47e5f['position']['parent'];_0x42c00f['is']('element','footnoteDefinition')&&_0x1aaccd['add'](_0x42c00f);}for(const _0x11978e of _0x1aaccd['values']()){const _0x3835bd=Array['from'](_0x11978e['getChildren']())['filter'](_0x282d74=>p(_0x282d74,_0x451907['mapper']));for(const _0x5a003b of _0x3835bd)_0x451907['reconvertItem'](_0x5a003b);}}(_0x517d67['model'],_0x517d67['editing']);})):(_0x201fd3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x201fd3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x292e1f,{writer:_0x574ace})=>{const _0x5c3727=_0x574ace['createContainerElement']('span');return _0x574ace['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5c3727),_0x5c3727;}}));}['_defineKeyboardHandlers'](){const {editor:_0x506118}=this,{editing:_0x86ec19,t:t}=_0x506118,_0x2d7664=_0x506118['model']['document']['selection'];_0x506118['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x506118['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0x86ec19['view']['document'],'enter',(_0x260663,_0x1643df)=>{const _0x18c746=function(_0x5a8f24){const _0x5be56d=_0x5a8f24['getSelectedElement']();if(_0x5be56d?.['is']('element','footnoteRef'))return _0x5be56d;return null;}(_0x2d7664);if(_0x18c746){const _0x17a9cd=_0x18c746['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x17a9cd),_0x1643df['preventDefault'](),_0x260663['stop']();}},{'context':_0x56867c});}['_defineClickHandlers'](){const {editor:_0x2fe7e5}=this,{editing:_0x4de9dc}=_0x2fe7e5;_0x2fe7e5['editing']['view']['addObserver'](_0x3b1ac0),_0x2fe7e5['editing']['view']['addObserver'](_0x2db507);let _0x7b7b8=!0x1;this['listenTo'](_0x4de9dc['view']['document'],'pointerdown',(_0x3d73d6,_0x58889d)=>{const {target:_0x3ef870}=_0x58889d,_0x163297=_0x4de9dc['view']['document']['selection'];_0x7b7b8=!(!_0x3ef870['is']('element','sup')||!_0x3ef870['hasClass']('footnote'))&&_0x163297['getSelectedElement']()===_0x3ef870;},{'priority':'high'}),this['listenTo'](_0x4de9dc['view']['document'],'click',(_0xeae346,_0x5506e3)=>{const {target:_0x30f1a3}=_0x5506e3,_0x3bc55a=_0x30f1a3['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x3bc55a['slice'](0x1)),_0xeae346['stop'](),_0x5506e3['preventDefault']();},{'priority':'high','context':_0x43025c=>_0x43025c['is']('element','sup')&&_0x43025c['hasClass']('footnote')&&_0x7b7b8}),this['listenTo'](_0x4de9dc['view']['document'],'click',(_0x50f7ff,_0x5ddb39)=>{const {target:_0x1c86b7}=_0x5ddb39;if(!_0x1c86b7['is']('element','a'))return;let _0x26d7e1=_0x1c86b7['getAttribute']('href');if(!_0x26d7e1?.['startsWith']('#'))return;_0x26d7e1=_0x26d7e1['slice'](0x1);let _0x54c7db=!0x1;(_0x26d7e1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x26d7e1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x26d7e1))&&(_0x54c7db=!0x0),_0x54c7db&&(_0x5ddb39['preventDefault'](),_0x50f7ff['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x28f17e}={}){return(_0x572206,{writer:_0x304adb})=>{if(!h(_0x572206))return null;if(!_0x28f17e)return _0x304adb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xc10181=_0x304adb['createContainerElement']('p');return _0x304adb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xc10181),_0xc10181;};}function h(_0x4898d1){const {parent:_0x3e2a44}=_0x4898d1;if(!_0x3e2a44?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3e2a44['childCount'])return!0x1;for(const _0x1a1b37 of _0x4898d1['getAttributeKeys']())if(!_0x1a1b37['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1a1b37)return!0x1;return!0x0;}function p(_0x16b9a8,_0x58d42a){if(!_0x16b9a8['is']('element','paragraph'))return!0x1;const _0x1886d1=_0x58d42a['toViewElement'](_0x16b9a8);return!!_0x1886d1&&h(_0x16b9a8)!==_0x1886d1['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xd7bdf1){return _0x56867c(_0xd7bdf1)&&_0xd7bdf1['is']('containerElement')&&!!_0xd7bdf1['getCustomProperty']('footnotesDefinitions');}function g(_0x4b60b3,_0x33e0a2){const _0xf471b8=_0x4b60b3['getAttribute']('footnoteId'),_0x4c0849=_0x4b60b3['getAttribute']('footnoteCounter'),_0x366180=_0x33e0a2['createUIElement']('a',{'id':'ref-'+_0xf471b8,'href':'#'+_0xf471b8},function(_0x38869b){const _0x2eea87=this['toDomElement'](_0x38869b);return _0x2eea87['textContent']=_0x4c0849,_0x2eea87;}),_0x28e515=_0x33e0a2['createContainerElement']('sup',{'class':'footnote'},[_0x366180]);return _0x28e515['getFillerOffset']=()=>null,_0x28e515;}function D(_0x2d7c8a,_0xe010a7,_0x213210,{dataPipeline:_0x5b7df4}={}){const {t:t}=_0x213210,_0x1d350e=_0x2d7c8a['getAttribute']('footnoteId'),_0x441f65=_0xe010a7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d350e},function(_0x48f702){const _0x23789a=this['toDomElement'](_0x48f702);return _0x23789a['innerText']='^',_0x23789a;}),_0x19d4d6=_0x5b7df4?_0xe010a7['createContainerElement']('div',{'class':'footnote-content'}):_0x2c030b(_0xe010a7['createEditableElement']('div',{'class':'footnote-content'}),_0xe010a7,{'label':t('Footnote\x20content.')});return _0xe010a7['insert'](_0xe010a7['createPositionAt'](_0x19d4d6,0x0),_0xe010a7['createSlot']()),_0xe010a7['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d350e},[_0x441f65,_0x19d4d6]);}
23
+ import{Plugin as _0x58d380}from'ckeditor5/src/core.js';import{isWidget as _0x3c9a62,toWidget as _0x58098e,toWidgetEditable as _0x2203ef}from'ckeditor5/src/widget.js';import{uid as _0x2b68c6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x224898,ClickObserver as _0xc788f8}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x314a79}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x29dbba}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x58d380{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x314a79];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x191520}=this;_0x191520['config']['define']('footnotes.multiBlock',!0x0),_0x191520['commands']['add']('insertFootnote',new _0x29dbba(_0x191520)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x49395b){const _0x3d00d9=_0x355425([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]),_0x56d2c9=0x47a28506,_0x5eaf66=0x47a5f35e^_0x56d2c9,_0x5864e9=window[_0x355425([0x44,0x61,0x74,0x65])][_0x355425([0x6e,0x6f,0x77])](),_0x430fb6=_0x49395b[_0x355425([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x299d74=new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc3f519=>{_0x430fb6[_0x355425([0x6f,0x6e,0x63,0x65])](_0x355425([0x72,0x65,0x61,0x64,0x79]),_0xc3f519);}),_0xd82b64={[_0x355425([0x6b,0x74,0x79])]:_0x355425([0x45,0x43]),[_0x355425([0x75,0x73,0x65])]:_0x355425([0x73,0x69,0x67]),[_0x355425([0x63,0x72,0x76])]:_0x355425([0x50,0x2d,0x32,0x35,0x36]),[_0x355425([0x78])]:_0x355425([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]),[_0x355425([0x79])]:_0x355425([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]),[_0x355425([0x61,0x6c,0x67])]:_0x355425([0x45,0x53,0x32,0x35,0x36])},_0x5bddad=_0x430fb6[_0x355425([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x355425([0x67,0x65,0x74])](_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29980a(){let _0x1bf0f5,_0x5f37ec=null,_0x38bcc4=null;try{if(_0x5bddad==_0x355425([0x47,0x50,0x4c]))return _0x355425([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bf0f5=_0x101654(),!_0x1bf0f5)return _0x355425([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1bf0f5[_0x355425([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38bcc4=_0x2bcec0(_0x1bf0f5[_0x355425([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bf0f5[_0x355425([0x6a,0x74,0x69])])),await _0xd19e5e()?_0x4ddec6()?_0x1a1f01()?_0x355425([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b8f30()?(_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x355425([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f37ec=_0x283b02(_0x355425([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x355425([0x74,0x72,0x69,0x61,0x6c])&&(_0x5f37ec=_0x283b02(_0x355425([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12049f()):_0x355425([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x355425([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x355425([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x355425([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a1f01(){const _0xdb4b4a=[_0x355425([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x355425([0x74,0x72,0x69,0x61,0x6c])][_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5864e9/0x3e8:0xe10*_0x5eaf66;return _0x1bf0f5[_0x355425([0x65,0x78,0x70])]<_0xdb4b4a;}function _0x4ddec6(){const _0x234b00=_0x1bf0f5[_0x355425([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x234b00&&(!!_0x234b00[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355425([0x2a]))||!!_0x234b00[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355425([0x46,0x4f,0x4f])));}function _0x4b8f30(){const _0x502fd4=_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x502fd4||0x0==_0x502fd4[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f26c8}=new URL(window[_0x355425([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x502fd4[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f26c8))return!0x0;const _0x22988d=_0x3f26c8[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e]));return _0x502fd4[_0x355425([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2963db=>_0x2963db[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355425([0x2a])))[_0x355425([0x6d,0x61,0x70])](_0x417898=>_0x417898[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e])))[_0x355425([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcdd2de=>_0xcdd2de[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22988d[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355425([0x6d,0x61,0x70])](_0x1db0ee=>Array(_0x22988d[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1db0ee[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355425([0x66,0x69,0x6c,0x6c])](_0x1db0ee[0x0]===_0x355425([0x2a])?_0x355425([0x2a]):'')[_0x355425([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1db0ee))[_0x355425([0x73,0x6f,0x6d,0x65])](_0x47e472=>_0x22988d[_0x355425([0x65,0x76,0x65,0x72,0x79])]((_0x3d7f88,_0x3c140a)=>_0x47e472[_0x3c140a]===_0x3d7f88||_0x47e472[_0x3c140a]===_0x355425([0x2a])));}function _0x12049f(){return _0x5f37ec&&_0x38bcc4?new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x319222,_0x307282)=>{_0x5f37ec[_0x355425([0x74,0x68,0x65,0x6e])](_0x319222,_0x307282),_0x38bcc4[_0x355425([0x74,0x68,0x65,0x6e])](_0x3de43c=>{_0x3de43c!=_0x355425([0x56,0x61,0x6c,0x69,0x64])&&_0x319222(_0x3de43c);},_0x307282);}):_0x5f37ec||_0x38bcc4||_0x355425([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2bcec0(_0x144da4,_0x50d53){return new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4536cb=>{if(_0x194854())return _0x4536cb(_0x355425([0x56,0x61,0x6c,0x69,0x64]));_0x508051(),_0x430fb6[_0x355425([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x355425([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dd7f8=!0x1;const _0x46b6f4=_0x2b68c6();function _0x58e5b0(_0x236d10){return!!_0x236d10&&(typeof _0x236d10===_0x355425([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x236d10===_0x355425([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x236d10[_0x355425([0x74,0x68,0x65,0x6e])]===_0x355425([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x236d10[_0x355425([0x63,0x61,0x74,0x63,0x68])]===_0x355425([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c3bf8(_0x507118){_0x1d4f12(_0x507118)[_0x355425([0x74,0x68,0x65,0x6e])](_0xe30044=>{if(!_0xe30044||_0xe30044[_0x355425([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x355425([0x6f,0x6b]))return _0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d3371(_0x2abb47(_0x46b6f4+_0x50d53))!=_0xe30044[_0x355425([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x355425([0x56,0x61,0x6c,0x69,0x64]);})[_0x355425([0x74,0x68,0x65,0x6e])](_0x4b9683=>(_0x4cfd54(),_0x4b9683),()=>{const _0x130a82=_0x4b79e4();return null==_0x130a82?(_0x4cfd54(),_0x355425([0x56,0x61,0x6c,0x69,0x64])):_0x355425(_0x5864e9-_0x130a82>(0x63ae0106^_0x56d2c9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x355425([0x74,0x68,0x65,0x6e])](_0x4536cb)[_0x355425([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4536cb(_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd6d2a4=0x47946b86^_0x56d2c9;function _0x4cfd54(){const _0x3ef7db=_0x355425([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d3371(_0x2abb47(_0x144da4)),_0x2deaeb=_0x3b8bf6(_0x4d3371(window[_0x355425([0x4d,0x61,0x74,0x68])][_0x355425([0x63,0x65,0x69,0x6c])](_0x5864e9/_0xd6d2a4)));window[_0x355425([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355425([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ef7db,_0x2deaeb);}function _0x4b79e4(){const _0x19ced6=_0x355425([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d3371(_0x2abb47(_0x144da4)),_0x1c0ac2=window[_0x355425([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355425([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19ced6);return _0x1c0ac2?window[_0x355425([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b8bf6(_0x1c0ac2),0x10)*_0xd6d2a4:null;}function _0x1d4f12(_0x5d5edc){return new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d52c6,_0x112f86)=>{_0x5d5edc[_0x355425([0x74,0x68,0x65,0x6e])](_0x4d52c6,_0x112f86),window[_0x355425([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x112f86,0x47a351c6^_0x56d2c9);});}}_0x430fb6[_0x355425([0x6f,0x6e])](_0x355425([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a37e0,_0x31cb4e)=>{if(_0x31cb4e[0x0]!=_0x144da4)return _0x4536cb(_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31cb4e[0x1]={..._0x31cb4e[0x1],[_0x355425([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46b6f4};},{[_0x355425([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355425([0x68,0x69,0x67,0x68])}),_0x430fb6[_0x355425([0x6f,0x6e])](_0x355425([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56a5b9=>{_0x58e5b0(_0x56a5b9[_0x355425([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dd7f8=!0x0,_0x3c3bf8(_0x56a5b9[_0x355425([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x355425([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355425([0x6c,0x6f,0x77])}),_0x299d74[_0x355425([0x74,0x68,0x65,0x6e])](()=>{_0x3dd7f8||_0x4536cb(_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x194854(){return _0x430fb6[_0x355425([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355425([0x76,0x69,0x65,0x77])][_0x355425([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x355425([0x61,0x75,0x74,0x6f]);}function _0x508051(){_0x430fb6[_0x355425([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355425([0x76,0x69,0x65,0x77])][_0x355425([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x355425([0x61,0x75,0x74,0x6f]);}}function _0x283b02(_0x3e4cd1){const _0x4e4070=[new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4159dd=>setTimeout(_0x4159dd,0x47abbbca^_0x56d2c9)),_0x299d74[_0x355425([0x74,0x68,0x65,0x6e])](()=>new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24b711=>{let _0x25e90f=0x0;_0x430fb6[_0x355425([0x6d,0x6f,0x64,0x65,0x6c])][_0x355425([0x6f,0x6e])](_0x355425([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d6c19,_0x5883a2)=>{_0x5883a2[0x0][_0x355425([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25e90f++,_0x25e90f==(0x47a284fe^_0x56d2c9)&&(_0x24b711(),_0x5d6c19[_0x355425([0x6f,0x66,0x66])]());});}))];return window[_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x355425([0x72,0x61,0x63,0x65])](_0x4e4070)[_0x355425([0x74,0x68,0x65,0x6e])](()=>_0x3e4cd1);}async function _0x4328b0(){await _0x299d74,_0x430fb6[_0x355425([0x6d,0x6f,0x64,0x65,0x6c])][_0x355425([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28ed3c,_0x430fb6[_0x355425([0x6d,0x6f,0x64,0x65,0x6c])][_0x355425([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28ed3c,_0x430fb6[_0x355425([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x355425([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ad8e2(_0x3e3497){const _0x41cf08=_0x4c6e97();_0x430fb6[_0x41cf08]=_0x355425([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e3497,_0x3e3497!=_0x355425([0x56,0x61,0x6c,0x69,0x64])&&_0x4328b0();}function _0x4c6e97(){const _0x5896cc=window[_0x355425([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x355425([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x355425([0x6e,0x6f,0x77])]())[_0x355425([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x355425([0x2e]),'');let _0x390dad=_0x355425([0x75]);for(let _0x422d69=0x0;_0x422d69<_0x5896cc[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x422d69+=0x2){let _0x53b978=window[_0x355425([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5896cc[_0x355425([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x422d69,_0x422d69+0x2));_0x53b978>=_0x3d00d9[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53b978-=_0x3d00d9[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x390dad+=_0x3d00d9[_0x53b978];}return _0x390dad;}function _0x101654(){const _0x2aa7bd=_0x5bddad[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e]));if(0x3!=_0x2aa7bd[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33f37b(_0x2aa7bd[0x1]);function _0x33f37b(_0x3cd158){const _0x23c4aa=_0x24c44c(_0x3cd158);return _0x23c4aa&&_0x5e5c1d()?_0x23c4aa:null;function _0x5e5c1d(){const _0x48ca79=_0x23c4aa[_0x355425([0x6a,0x74,0x69])],_0x31561f=window[_0x355425([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48ca79[_0x355425([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48ca79[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35a1b3={..._0x23c4aa,[_0x355425([0x6a,0x74,0x69])]:_0x48ca79[_0x355425([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48ca79[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35a1b3[_0x355425([0x76,0x63])],_0x2abb47(_0x35a1b3)==_0x31561f;}}}async function _0xd19e5e(){let _0x33891b=!0x0;try{const _0x2e0d0a=_0x5bddad[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e])),[_0x2681d2,_0x16233b,_0x2ee8f0]=_0x2e0d0a;return _0x4aafa2(_0x2681d2),await _0x2e27af(_0x2681d2,_0x16233b,_0x2ee8f0),_0x33891b;}catch{return!0x1;}function _0x4aafa2(_0x3c6236){const _0x139ef5=_0x24c44c(_0x3c6236);_0x139ef5&&_0x139ef5[_0x355425([0x61,0x6c,0x67])]==_0x355425([0x45,0x53,0x32,0x35,0x36])||(_0x33891b=!0x1);}async function _0x2e27af(_0x193ce8,_0xc80115,_0x5237b8){const _0x3c8e7d=window[_0x355425([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x355425([0x66,0x72,0x6f,0x6d])](_0x204c99(_0x5237b8),_0x1506ac=>_0x1506ac[_0x355425([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3132f0=new window[(_0x355425([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x355425([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x193ce8+_0x355425([0x2e])+_0xc80115),_0x48e7cd=window[_0x355425([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x355425([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48e7cd)return;const _0x4e701d=await _0x48e7cd[_0x355425([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x355425([0x6a,0x77,0x6b]),_0xd82b64,{[_0x355425([0x6e,0x61,0x6d,0x65])]:_0x355425([0x45,0x43,0x44,0x53,0x41]),[_0x355425([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x355425([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x355425([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48e7cd[_0x355425([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x355425([0x6e,0x61,0x6d,0x65])]:_0x355425([0x45,0x43,0x44,0x53,0x41]),[_0x355425([0x68,0x61,0x73,0x68])]:{[_0x355425([0x6e,0x61,0x6d,0x65])]:_0x355425([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e701d,_0x3c8e7d,_0x3132f0)||(_0x33891b=!0x1);}}function _0x24c44c(_0x3a6f83){return _0x3a6f83[_0x355425([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x355425([0x65,0x79]))?JSON[_0x355425([0x70,0x61,0x72,0x73,0x65])](_0x204c99(_0x3a6f83)):null;}function _0x204c99(_0x4bb049){return window[_0x355425([0x61,0x74,0x6f,0x62])](_0x4bb049[_0x355425([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x355425([0x2b]))[_0x355425([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x355425([0x2f])));}function _0x2abb47(_0x37d0f9){let _0x56587c=0x1505;function _0x4a5c80(_0x2e7870){for(let _0x263f80=0x0;_0x263f80<_0x2e7870[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x263f80++){const _0xf51477=_0x2e7870[_0x355425([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x263f80);_0x56587c=(_0x56587c<<0x5)+_0x56587c+_0xf51477,_0x56587c&=_0x56587c;}}function _0x405e09(_0x5985ba){Array[_0x355425([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5985ba)?_0x5985ba[_0x355425([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x405e09):_0x5985ba&&typeof _0x5985ba==_0x355425([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x355425([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5985ba)[_0x355425([0x73,0x6f,0x72,0x74])]()[_0x355425([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe3d904,_0x8c9696])=>{_0x4a5c80(_0xe3d904),_0x405e09(_0x8c9696);}):_0x4a5c80(window[_0x355425([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5985ba));}return _0x405e09(_0x37d0f9),_0x56587c>>>0x0;}function _0x4d3371(_0x31769f){return _0x31769f[_0x355425([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x355425([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x355425([0x30]));}function _0x3b8bf6(_0x2ce61d){return _0x2ce61d[_0x355425([0x73,0x70,0x6c,0x69,0x74])]('')[_0x355425([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x355425([0x6a,0x6f,0x69,0x6e])]('');}function _0x28ed3c(){}function _0x355425(_0x4fc185){return _0x4fc185['map'](_0x22748c=>String['fromCharCode'](_0x22748c))['join']('');}_0x3ad8e2(await _0x29980a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x49db09){const {plugins:_0x2817d2,editing:_0x57d6be,model:_0x252606}=this['editor'],_0x4f3594=_0x2817d2['get'](_0x314a79)['getFootnote'](_0x49db09);return!!_0x4f3594&&(_0x252606['change'](_0x3a5af0=>{_0x3a5af0['setSelection'](_0x3a5af0['createPositionAt'](_0x4f3594['definition'],'end'));}),_0x57d6be['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4ab0da){const {plugins:_0x17af9,editing:_0x2dcfc9,model:_0x106093}=this['editor'],_0x4e100f=_0x17af9['get'](_0x314a79)['getFootnote'](_0x4ab0da);return!!_0x4e100f&&(_0x106093['change'](_0xe87c60=>{_0xe87c60['setSelection'](_0x4e100f['reference'],'on');}),_0x2dcfc9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x121f06}=this['editor']['model'],_0xc53101=this['editor']['config']['get']('footnotes.multiBlock');_0x121f06['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x121f06['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x121f06['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xc53101?_0x121f06['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x121f06['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x121f06['addChildCheck'](_0x1911a1=>{for(const _0x37a8d9 of _0x1911a1)if('footnoteDefinition'===_0x37a8d9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x34a1c6}=this,{conversion:_0x41c084,editing:_0x500f1c}=_0x34a1c6,{t:t}=_0x34a1c6['locale'];_0x41c084['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x228ee8,{writer:_0x34ed71,consumable:_0x5f4fce})=>{const _0x4b050d=_0x228ee8['getChild'](0x0);if(!_0x4b050d||!_0x4b050d['is']('element','a'))return null;const _0x3250b5=_0x4b050d['getAttribute']('href')||'';if(!_0x3250b5['startsWith']('#'))return null;const _0x469162=_0x3250b5['replace'](/^#/,'');if(!_0x469162)return null;_0x5f4fce['consume'](_0x4b050d,{'name':!0x0,'attributes':['href']});for(const {item:_0x2c2faf}of _0x500f1c['view']['createRangeIn'](_0x4b050d))_0x2c2faf['is']('$textProxy')?_0x5f4fce['consume'](_0x2c2faf['textNode'],{'name':!0x0}):_0x2c2faf['is']('element')&&_0x5f4fce['consume'](_0x2c2faf,{'name':!0x0});return _0x34ed71['createElement']('footnoteRef',{'footnoteId':_0x469162});}}),_0x41c084['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcb1d4,{writer:_0x4a9e8b})=>g(_0xcb1d4,_0x4a9e8b)}),_0x41c084['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xbdf89f,{writer:_0x5ed677})=>{const _0x17b4bb=_0xbdf89f['getAttribute']('footnoteCounter');return _0x58098e(g(_0xbdf89f,_0x5ed677),_0x5ed677,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x17b4bb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x149348}=this,{t:t}=_0x149348['locale'],{conversion:_0x224b91}=_0x149348;_0x224b91['for']('upcast')['elementToElement']({'view':{'name':'ol','classes':['footnotes']},'model':'footnotesDefinitions','converterPriority':'high'}),_0x224b91['for']('dataDowncast')['elementToElement']({'model':'footnotesDefinitions','view':{'name':'ol','classes':['footnotes']}}),_0x224b91['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x53545c,{writer:_0x53f447})=>{const _0xfbfc0d=_0x53f447['createContainerElement']('div',{'class':'footnotes-wrapper','data-footnotes-list-label':t('Footnotes')},_0x53f447['createContainerElement']('ol',{'class':'footnotes'},_0x53f447['createSlot']())),_0x411740=_0x58098e(_0xfbfc0d,_0x53f447,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x53f447['setCustomProperty']('footnotesDefinitions',!0x0,_0x411740),_0x411740;}});}['_defineDefinitionConverters'](){const {editor:_0x5ced4f}=this,{conversion:_0x1b6966,locale:_0x46b043}=_0x5ced4f,_0x704b74=_0x5ced4f['config']['get']('footnotes.multiBlock');_0x1b6966['for']('upcast')['add'](_0x125ada=>{_0x125ada['on']('element:li',(_0x25b6fe,_0x292ca7,_0x3bfaaa)=>{const _0x153051=_0x292ca7['viewItem'];if(!_0x153051['hasClass']('footnote-definition')||!_0x153051['getAttribute']('id'))return;const _0x4eee32=_0x153051['parent'];if(!_0x4eee32['is']('element','ol')||!_0x4eee32['hasClass']('footnotes'))return;if(!_0x3bfaaa['consumable']['test'](_0x153051,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2b6ef0=_0x3bfaaa['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x153051['getAttribute']('id')});if(!_0x3bfaaa['safeInsert'](_0x2b6ef0,_0x292ca7['modelCursor']))return;_0x3bfaaa['consumable']['consume'](_0x153051,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x452e34=Array['from'](_0x153051['getChildren']())['find'](_0x4ee22e=>_0x4ee22e['is']('element')&&_0x4ee22e['hasClass']('footnote-content'));for(const _0x30da2c of _0x153051['getChildren']())_0x30da2c['is']('element')&&(_0x3bfaaa['consumable']['consume'](_0x30da2c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3bfaaa['consumable']['consume'](_0x30da2c,{'name':!0x0,'classes':'footnote-content'}));if(_0x452e34){if(_0x704b74)_0x3bfaaa['convertChildren'](_0x452e34,_0x2b6ef0);else{const _0x5d058e=_0x3bfaaa['writer']['createElement']('footnoteInlineContent');_0x3bfaaa['writer']['insert'](_0x5d058e,_0x2b6ef0),_0x3bfaaa['convertChildren'](_0x452e34,_0x5d058e);}}_0x3bfaaa['updateConversionResult'](_0x2b6ef0,_0x292ca7);});}),_0x1b6966['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x51ec02,{writer:_0x454042})=>D(_0x51ec02,_0x454042,_0x46b043,{'dataPipeline':!0x0})}),_0x1b6966['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xa1dc57,{writer:_0x2d4036})=>D(_0xa1dc57,_0x2d4036,_0x46b043)});}['_defineBogusParagraphConverters'](){const {editor:_0x38da9d}=this,{conversion:_0x2ee263}=_0x38da9d;_0x38da9d['config']['get']('footnotes.multiBlock')?(_0x2ee263['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x2ee263['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x38da9d['model']['document'],'change:data',()=>{!function(_0x20dee2,_0x56d69f){const _0x45797d=_0x20dee2['document']['differ'],_0x157372=new Set();for(const _0x305895 of _0x45797d['getChanges']()){const _0x5d63f3='attribute'==_0x305895['type']?_0x305895['range']['start']['parent']:_0x305895['position']['parent'];_0x5d63f3['is']('element','footnoteDefinition')&&_0x157372['add'](_0x5d63f3);}for(const _0x3c0e1f of _0x157372['values']()){const _0x49ad26=Array['from'](_0x3c0e1f['getChildren']())['filter'](_0x135fb7=>p(_0x135fb7,_0x56d69f['mapper']));for(const _0x1843f0 of _0x49ad26)_0x56d69f['reconvertItem'](_0x1843f0);}}(_0x38da9d['model'],_0x38da9d['editing']);})):(_0x2ee263['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x2ee263['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x198f43,{writer:_0x271e5d})=>{const _0x560a25=_0x271e5d['createContainerElement']('span');return _0x271e5d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x560a25),_0x560a25;}}));}['_defineKeyboardHandlers'](){const {editor:_0x51225f}=this,{editing:_0x25fd21,t:t}=_0x51225f,_0x1399f4=_0x51225f['model']['document']['selection'];_0x51225f['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x51225f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0x25fd21['view']['document'],'enter',(_0xd50685,_0x5d0a61)=>{const _0x16ff40=function(_0x3e5251){const _0x2d5f89=_0x3e5251['getSelectedElement']();if(_0x2d5f89?.['is']('element','footnoteRef'))return _0x2d5f89;return null;}(_0x1399f4);if(_0x16ff40){const _0x188d34=_0x16ff40['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x188d34),_0x5d0a61['preventDefault'](),_0xd50685['stop']();}},{'context':_0x3c9a62});}['_defineClickHandlers'](){const {editor:_0x1edad4}=this,{editing:_0x4c404c}=_0x1edad4;_0x1edad4['editing']['view']['addObserver'](_0x224898),_0x1edad4['editing']['view']['addObserver'](_0xc788f8);let _0x25013c=!0x1;this['listenTo'](_0x4c404c['view']['document'],'pointerdown',(_0x4fe333,_0x50eac1)=>{const {target:_0x35d5f0}=_0x50eac1,_0x450ce4=_0x4c404c['view']['document']['selection'];_0x25013c=!(!_0x35d5f0['is']('element','sup')||!_0x35d5f0['hasClass']('footnote'))&&_0x450ce4['getSelectedElement']()===_0x35d5f0;},{'priority':'high'}),this['listenTo'](_0x4c404c['view']['document'],'click',(_0x566c6e,_0x5199cd)=>{const {target:_0x3a9116}=_0x5199cd,_0xfe007f=_0x3a9116['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0xfe007f['slice'](0x1)),_0x566c6e['stop'](),_0x5199cd['preventDefault']();},{'priority':'high','context':_0x4a3132=>_0x4a3132['is']('element','sup')&&_0x4a3132['hasClass']('footnote')&&_0x25013c}),this['listenTo'](_0x4c404c['view']['document'],'click',(_0x336f44,_0x373d95)=>{const {target:_0x5bd81c}=_0x373d95;if(!_0x5bd81c['is']('element','a'))return;let _0x579ad0=_0x5bd81c['getAttribute']('href');if(!_0x579ad0?.['startsWith']('#'))return;_0x579ad0=_0x579ad0['slice'](0x1);let _0x315302=!0x1;(_0x579ad0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x579ad0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x579ad0))&&(_0x315302=!0x0),_0x315302&&(_0x373d95['preventDefault'](),_0x336f44['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x1b8b15}={}){return(_0x9c5fd7,{writer:_0x162f69})=>{if(!h(_0x9c5fd7))return null;if(!_0x1b8b15)return _0x162f69['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x8eee75=_0x162f69['createContainerElement']('p');return _0x162f69['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x8eee75),_0x8eee75;};}function h(_0x5ade0c){const {parent:_0x157f17}=_0x5ade0c;if(!_0x157f17?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x157f17['childCount'])return!0x1;for(const _0x1fc06f of _0x5ade0c['getAttributeKeys']())if(!_0x1fc06f['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1fc06f)return!0x1;return!0x0;}function p(_0x3c83f2,_0x4777e3){if(!_0x3c83f2['is']('element','paragraph'))return!0x1;const _0x488d3e=_0x4777e3['toViewElement'](_0x3c83f2);return!!_0x488d3e&&h(_0x3c83f2)!==_0x488d3e['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x334b54){return _0x3c9a62(_0x334b54)&&_0x334b54['is']('containerElement')&&!!_0x334b54['getCustomProperty']('footnotesDefinitions');}function g(_0x38648f,_0x2e74db){const _0x2eba40=_0x38648f['getAttribute']('footnoteId'),_0x5e484b=_0x38648f['getAttribute']('footnoteCounter'),_0x4e6194=_0x2e74db['createUIElement']('a',{'id':'ref-'+_0x2eba40,'href':'#'+_0x2eba40},function(_0x459856){const _0x42075b=this['toDomElement'](_0x459856);return _0x42075b['textContent']=_0x5e484b,_0x42075b;}),_0x3e7ad2=_0x2e74db['createContainerElement']('sup',{'class':'footnote'},[_0x4e6194]);return _0x3e7ad2['getFillerOffset']=()=>null,_0x3e7ad2;}function D(_0x60293,_0x27810b,_0x126907,{dataPipeline:_0x36b31a}={}){const {t:t}=_0x126907,_0x3a579f=_0x60293['getAttribute']('footnoteId'),_0x273e8a=_0x27810b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3a579f},function(_0x498ee7){const _0x1689ad=this['toDomElement'](_0x498ee7);return _0x1689ad['innerText']='^',_0x1689ad;}),_0x43bc98=_0x36b31a?_0x27810b['createContainerElement']('div',{'class':'footnote-content'}):_0x2203ef(_0x27810b['createEditableElement']('div',{'class':'footnote-content'}),_0x27810b,{'label':t('Footnote\x20content.')});return _0x27810b['insert'](_0x27810b['createPositionAt'](_0x43bc98,0x0),_0x27810b['createSlot']()),_0x27810b['createContainerElement']('li',{'class':'footnote-definition','id':_0x3a579f},[_0x273e8a,_0x43bc98]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x458397=_0x1b81;(function(_0x538aae,_0x3fc186){const _0x82f3e4=_0x1b81,_0x164207=_0x538aae();while(!![]){try{const _0x551baf=parseInt(_0x82f3e4(0x1f2))/0x1*(parseInt(_0x82f3e4(0x1e6))/0x2)+parseInt(_0x82f3e4(0x1ea))/0x3+parseInt(_0x82f3e4(0x1e7))/0x4+parseInt(_0x82f3e4(0x1e9))/0x5+-parseInt(_0x82f3e4(0x1f0))/0x6+-parseInt(_0x82f3e4(0x1f1))/0x7+-parseInt(_0x82f3e4(0x1eb))/0x8;if(_0x551baf===_0x3fc186)break;else _0x164207['push'](_0x164207['shift']());}catch(_0x6ad9fe){_0x164207['push'](_0x164207['shift']());}}}(_0x40ef,0x9deb6));function _0x40ef(){const _0x37bcf4=['refresh','1088262coSZzh','8787044gFfMnT','1WVWfJx','plugins','footnotesListStart','_updateFootnotesCounters','isInteger','execute','value','change','get','getFootnotesDefinitionsObjectElement','1736354UdWOnx','3735672FGwOqa','getAttribute','2288145TCriZn','1416951YWNQxN','5188272fGnjxg','isEnabled','model','setAttribute'];_0x40ef=function(){return _0x37bcf4;};return _0x40ef();}function _0x1b81(_0x3fcd8e,_0x43896e){const _0x40efd2=_0x40ef();return _0x1b81=function(_0x1b81a2,_0x421b89){_0x1b81a2=_0x1b81a2-0x1e1;let _0x391426=_0x40efd2[_0x1b81a2];return _0x391426;},_0x1b81(_0x3fcd8e,_0x43896e);}import{Command as _0x33d897}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2077b5}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x33d897{[_0x458397(0x1ef)](){const _0x2e4245=_0x458397,{editor:_0x106c69}=this,_0x19d7c6=_0x106c69[_0x2e4245(0x1f3)][_0x2e4245(0x1e4)](_0x2077b5)[_0x2e4245(0x1e5)]();this[_0x2e4245(0x1ec)]=!!_0x19d7c6,this[_0x2e4245(0x1e2)]=_0x19d7c6?.[_0x2e4245(0x1e8)](_0x2e4245(0x1f4))??null;}[_0x458397(0x1e1)]({value:_0x3767eb}){const _0x3808a8=_0x458397,{editor:_0xff716c}=this,_0x53313b=_0xff716c[_0x3808a8(0x1f3)][_0x3808a8(0x1e4)](_0x2077b5),_0x18b413=_0x53313b[_0x3808a8(0x1e5)]();_0x18b413&&Number[_0x3808a8(0x1f6)](_0x3767eb)&&_0xff716c[_0x3808a8(0x1ed)][_0x3808a8(0x1e3)](_0x5a4fd8=>{const _0x702be9=_0x3808a8;_0x5a4fd8[_0x702be9(0x1ee)](_0x702be9(0x1f4),_0x3767eb,_0x18b413),_0x53313b[_0x702be9(0x1f5)](_0x5a4fd8);});}}
23
+ const _0x3b3da3=_0x5856;function _0x5856(_0x365311,_0x1b53a0){const _0x28a12d=_0x28a1();return _0x5856=function(_0x5856e2,_0x33d090){_0x5856e2=_0x5856e2-0x18d;let _0x8dba56=_0x28a12d[_0x5856e2];return _0x8dba56;},_0x5856(_0x365311,_0x1b53a0);}function _0x28a1(){const _0x1ab990=['get','36672vAZGUn','4852134OcmEIu','value','getAttribute','getFootnotesDefinitionsObjectElement','plugins','execute','185580LrIEKc','change','3492Aeoxfk','setAttribute','4560738SCkwKn','footnotesListStart','isInteger','_updateFootnotesCounters','5qvbOrX','refresh','573111tkACEM','649490OJbTUt','isEnabled','model','2768889EgWAnK'];_0x28a1=function(){return _0x1ab990;};return _0x28a1();}(function(_0xa4f643,_0x5cbf67){const _0x46ede8=_0x5856,_0x19a681=_0xa4f643();while(!![]){try{const _0x161e3f=-parseInt(_0x46ede8(0x199))/0x1+parseInt(_0x46ede8(0x19a))/0x2+-parseInt(_0x46ede8(0x19d))/0x3+parseInt(_0x46ede8(0x18f))/0x4*(parseInt(_0x46ede8(0x197))/0x5)+-parseInt(_0x46ede8(0x193))/0x6+parseInt(_0x46ede8(0x1a0))/0x7+parseInt(_0x46ede8(0x19f))/0x8*(parseInt(_0x46ede8(0x191))/0x9);if(_0x161e3f===_0x5cbf67)break;else _0x19a681['push'](_0x19a681['shift']());}catch(_0x47c00c){_0x19a681['push'](_0x19a681['shift']());}}}(_0x28a1,0x8f3c9));import{Command as _0x205ca3}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x23f7cb}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x205ca3{[_0x3b3da3(0x198)](){const _0x27982b=_0x3b3da3,{editor:_0x3acdc8}=this,_0x427d7a=_0x3acdc8[_0x27982b(0x18d)][_0x27982b(0x19e)](_0x23f7cb)[_0x27982b(0x1a3)]();this[_0x27982b(0x19b)]=!!_0x427d7a,this[_0x27982b(0x1a1)]=_0x427d7a?.[_0x27982b(0x1a2)](_0x27982b(0x194))??null;}[_0x3b3da3(0x18e)]({value:_0x575e13}){const _0x18b6cf=_0x3b3da3,{editor:_0x487b06}=this,_0x3d6067=_0x487b06[_0x18b6cf(0x18d)][_0x18b6cf(0x19e)](_0x23f7cb),_0x3fd919=_0x3d6067[_0x18b6cf(0x1a3)]();_0x3fd919&&Number[_0x18b6cf(0x195)](_0x575e13)&&_0x487b06[_0x18b6cf(0x19c)][_0x18b6cf(0x190)](_0x42a367=>{const _0x3d3213=_0x18b6cf;_0x42a367[_0x3d3213(0x192)](_0x3d3213(0x194),_0x575e13,_0x3fd919),_0x3d6067[_0x3d3213(0x196)](_0x42a367);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3863(_0xf3f6fa,_0x269170){const _0x9dd8fd=_0x9dd8();return _0x3863=function(_0x3863b1,_0x4fb324){_0x3863b1=_0x3863b1-0x163;let _0x147d78=_0x9dd8fd[_0x3863b1];return _0x147d78;},_0x3863(_0xf3f6fa,_0x269170);}function _0x9dd8(){const _0x1a5144=['model','2594059FLlRrf','189sVurRa','getFootnotesDefinitionsObjectElement','isEnabled','plugins','1265663BiQire','88UWtTDP','execute','5198YZZxCn','_updateFootnotesCounters','11508LdnjqQ','footnotesListStyle','2005AByOel','value','10Ujtbyk','54NWmQII','get','603325rSHYIn','includes','72558TawTPU','refresh','getAttribute','17372993BMSycc','change','setAttribute','228ogXtRo'];_0x9dd8=function(){return _0x1a5144;};return _0x9dd8();}const _0x1604e4=_0x3863;(function(_0x3b149b,_0x5234d4){const _0x4a2cc5=_0x3863,_0x44a0c7=_0x3b149b();while(!![]){try{const _0xa4cd4d=-parseInt(_0x4a2cc5(0x16e))/0x1+parseInt(_0x4a2cc5(0x165))/0x2*(-parseInt(_0x4a2cc5(0x179))/0x3)+parseInt(_0x4a2cc5(0x167))/0x4*(parseInt(_0x4a2cc5(0x169))/0x5)+parseInt(_0x4a2cc5(0x16c))/0x6*(-parseInt(_0x4a2cc5(0x17d))/0x7)+-parseInt(_0x4a2cc5(0x163))/0x8*(parseInt(_0x4a2cc5(0x170))/0x9)+-parseInt(_0x4a2cc5(0x16b))/0xa*(parseInt(_0x4a2cc5(0x173))/0xb)+parseInt(_0x4a2cc5(0x176))/0xc*(parseInt(_0x4a2cc5(0x178))/0xd);if(_0xa4cd4d===_0x5234d4)break;else _0x44a0c7['push'](_0x44a0c7['shift']());}catch(_0x31f42a){_0x44a0c7['push'](_0x44a0c7['shift']());}}}(_0x9dd8,0xd77ae));import{Command as _0xc0c2d5}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x465964}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x7170bb}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xc0c2d5{[_0x1604e4(0x171)](){const _0x37a890=_0x1604e4,{editor:_0x347498}=this,_0x194090=_0x347498[_0x37a890(0x17c)][_0x37a890(0x16d)](_0x7170bb)[_0x37a890(0x17a)]();this[_0x37a890(0x17b)]=!!_0x194090,this[_0x37a890(0x16a)]=_0x194090?.[_0x37a890(0x172)](_0x37a890(0x168))??null;}[_0x1604e4(0x164)]({value:_0x3a6214}){const _0x130f0a=_0x1604e4,{editor:_0xf1b4dd}=this,_0xab1230=_0xf1b4dd[_0x130f0a(0x17c)][_0x130f0a(0x16d)](_0x7170bb),_0x44dfc7=_0xab1230[_0x130f0a(0x17a)]();_0x44dfc7&&_0x465964[_0x130f0a(0x16f)](_0x3a6214)&&_0xf1b4dd[_0x130f0a(0x177)][_0x130f0a(0x174)](_0x368a90=>{const _0x4ef086=_0x130f0a;_0x368a90[_0x4ef086(0x175)](_0x4ef086(0x168),_0x3a6214,_0x44dfc7),_0xab1230[_0x4ef086(0x166)](_0x368a90);});}}
23
+ const _0x283953=_0x2e50;(function(_0x3b2909,_0x5c8967){const _0x5af05b=_0x2e50,_0x4a7f5d=_0x3b2909();while(!![]){try{const _0x1c0aa4=-parseInt(_0x5af05b(0x1ce))/0x1*(parseInt(_0x5af05b(0x1c5))/0x2)+-parseInt(_0x5af05b(0x1c1))/0x3*(parseInt(_0x5af05b(0x1c6))/0x4)+-parseInt(_0x5af05b(0x1c3))/0x5*(parseInt(_0x5af05b(0x1bd))/0x6)+-parseInt(_0x5af05b(0x1ca))/0x7+parseInt(_0x5af05b(0x1c0))/0x8*(-parseInt(_0x5af05b(0x1b8))/0x9)+-parseInt(_0x5af05b(0x1b9))/0xa*(parseInt(_0x5af05b(0x1c9))/0xb)+parseInt(_0x5af05b(0x1c2))/0xc;if(_0x1c0aa4===_0x5c8967)break;else _0x4a7f5d['push'](_0x4a7f5d['shift']());}catch(_0x22d126){_0x4a7f5d['push'](_0x4a7f5d['shift']());}}}(_0xc491,0x82975));import{Command as _0x12aa63}from'ckeditor5/src/core.js';function _0xc491(){const _0xed0406=['_updateFootnotesCounters','execute','get','1801518XHfzSP','getAttribute','change','1047176hTdQJZ','27ilXVFc','48674328PwtDAu','15gzTYyi','footnotesListStyle','29558hrmYFy','146144gOmoyl','refresh','isEnabled','5273466navpQD','5459216egwkdE','setAttribute','getFootnotesDefinitionsObjectElement','model','61jBiurn','plugins','value','includes','9oOMVyw','10bdIztJ'];_0xc491=function(){return _0xed0406;};return _0xc491();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x189964}from'../footnotespropertiesconfig.js';function _0x2e50(_0x4e3d72,_0x212825){const _0xc4917f=_0xc491();return _0x2e50=function(_0x2e507c,_0x43b18c){_0x2e507c=_0x2e507c-0x1b7;let _0x3c04d4=_0xc4917f[_0x2e507c];return _0x3c04d4;},_0x2e50(_0x4e3d72,_0x212825);}import{FootnotesTracker as _0x2dfdf9}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x12aa63{[_0x283953(0x1c7)](){const _0x5b8633=_0x283953,{editor:_0x50abf1}=this,_0x745cdc=_0x50abf1[_0x5b8633(0x1cf)][_0x5b8633(0x1bc)](_0x2dfdf9)[_0x5b8633(0x1cc)]();this[_0x5b8633(0x1c8)]=!!_0x745cdc,this[_0x5b8633(0x1d0)]=_0x745cdc?.[_0x5b8633(0x1be)](_0x5b8633(0x1c4))??null;}[_0x283953(0x1bb)]({value:_0x1197a0}){const _0x596c0e=_0x283953,{editor:_0x3aba82}=this,_0xcd65a=_0x3aba82[_0x596c0e(0x1cf)][_0x596c0e(0x1bc)](_0x2dfdf9),_0x51ec5b=_0xcd65a[_0x596c0e(0x1cc)]();_0x51ec5b&&_0x189964[_0x596c0e(0x1b7)](_0x1197a0)&&_0x3aba82[_0x596c0e(0x1cd)][_0x596c0e(0x1bf)](_0x25b03e=>{const _0x16c6ff=_0x596c0e;_0x25b03e[_0x16c6ff(0x1cb)](_0x16c6ff(0x1c4),_0x1197a0,_0x51ec5b),_0xcd65a[_0x16c6ff(0x1ba)](_0x25b03e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29d7(){const _0x34b4c4=['lower-alpha','decimal','decimal-leading-zero','upper-latin','upper-alpha','2043AYpdyY','2304835owidFU','4522536qMzgHr','9282749PkWJBj','6yLiklJ','1671483dcvzjV','upper-roman','54930sFkVHh','lower-latin','lower-roman','2109800cgkGgK','4Wqnnim','214135fZScCm'];_0x29d7=function(){return _0x34b4c4;};return _0x29d7();}function _0x2618(_0x1c86cc,_0x3c0078){const _0x29d7b6=_0x29d7();return _0x2618=function(_0x2618a5,_0x5db0cb){_0x2618a5=_0x2618a5-0x139;let _0x3d97c8=_0x29d7b6[_0x2618a5];return _0x3d97c8;},_0x2618(_0x1c86cc,_0x3c0078);}const _0x2e8006=_0x2618;(function(_0x4483a2,_0x4aabf1){const _0x6b0752=_0x2618,_0x595f00=_0x4483a2();while(!![]){try{const _0x2d970c=-parseInt(_0x6b0752(0x146))/0x1+-parseInt(_0x6b0752(0x144))/0x2+parseInt(_0x6b0752(0x13f))/0x3+parseInt(_0x6b0752(0x145))/0x4*(-parseInt(_0x6b0752(0x13b))/0x5)+-parseInt(_0x6b0752(0x13e))/0x6*(-parseInt(_0x6b0752(0x13d))/0x7)+-parseInt(_0x6b0752(0x13c))/0x8+parseInt(_0x6b0752(0x13a))/0x9*(parseInt(_0x6b0752(0x141))/0xa);if(_0x2d970c===_0x4aabf1)break;else _0x595f00['push'](_0x595f00['shift']());}catch(_0x4db936){_0x595f00['push'](_0x595f00['shift']());}}}(_0x29d7,0xcbd2c));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2e8006(0x148),_0x2e8006(0x149),_0x2e8006(0x142),_0x2e8006(0x14a),_0x2e8006(0x147),_0x2e8006(0x139),_0x2e8006(0x143),_0x2e8006(0x140)];
23
+ function _0x1825(){const _0x548a6f=['1295chViNF','23643SRacAm','decimal','decimal-leading-zero','179158exEEIg','3794703oDbwGR','upper-alpha','lower-alpha','258765IEDaea','upper-latin','upper-roman','10BtuWMB','584kBAPCf','2764PXrVDG','613902najLBT','lower-latin','lower-roman','3HZuUxt','12738Qangrh'];_0x1825=function(){return _0x548a6f;};return _0x1825();}function _0x486d(_0x4b63c9,_0x2907f9){const _0x1825ef=_0x1825();return _0x486d=function(_0x486db7,_0x5cf2f9){_0x486db7=_0x486db7-0x1a6;let _0x3b079a=_0x1825ef[_0x486db7];return _0x3b079a;},_0x486d(_0x4b63c9,_0x2907f9);}const _0x5cecd9=_0x486d;(function(_0x5dc6bd,_0x385fb5){const _0xb21173=_0x486d,_0xbfaf50=_0x5dc6bd();while(!![]){try{const _0x46295b=parseInt(_0xb21173(0x1ae))/0x1*(parseInt(_0xb21173(0x1af))/0x2)+parseInt(_0xb21173(0x1b8))/0x3+parseInt(_0xb21173(0x1aa))/0x4*(-parseInt(_0xb21173(0x1b0))/0x5)+parseInt(_0xb21173(0x1ab))/0x6+-parseInt(_0xb21173(0x1b4))/0x7+-parseInt(_0xb21173(0x1a9))/0x8*(parseInt(_0xb21173(0x1b1))/0x9)+parseInt(_0xb21173(0x1a8))/0xa*(parseInt(_0xb21173(0x1b5))/0xb);if(_0x46295b===_0x385fb5)break;else _0xbfaf50['push'](_0xbfaf50['shift']());}catch(_0x56f9f4){_0xbfaf50['push'](_0xbfaf50['shift']());}}}(_0x1825,0x2629e));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5cecd9(0x1b2),_0x5cecd9(0x1b3),_0x5cecd9(0x1ac),_0x5cecd9(0x1a6),_0x5cecd9(0x1b7),_0x5cecd9(0x1b6),_0x5cecd9(0x1ad),_0x5cecd9(0x1a7)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45b55b=_0x3539;(function(_0x13bff9,_0x27a37d){const _0x54274c=_0x3539,_0x54ec1f=_0x13bff9();while(!![]){try{const _0xdc0c35=-parseInt(_0x54274c(0x1a9))/0x1+-parseInt(_0x54274c(0x1a4))/0x2*(-parseInt(_0x54274c(0x183))/0x3)+parseInt(_0x54274c(0x1da))/0x4*(-parseInt(_0x54274c(0x1b8))/0x5)+parseInt(_0x54274c(0x1d2))/0x6*(-parseInt(_0x54274c(0x1e1))/0x7)+parseInt(_0x54274c(0x1d0))/0x8+parseInt(_0x54274c(0x197))/0x9*(parseInt(_0x54274c(0x19d))/0xa)+parseInt(_0x54274c(0x1c0))/0xb*(parseInt(_0x54274c(0x1ad))/0xc);if(_0xdc0c35===_0x27a37d)break;else _0x54ec1f['push'](_0x54ec1f['shift']());}catch(_0x4acb26){_0x54ec1f['push'](_0x54ec1f['shift']());}}}(_0x49ea,0x74f2c));import{Plugin as _0x18f536}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x37e4a5}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3c901b}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3ab7dd}from'../footnotestracker.js';function _0x3539(_0x1225a2,_0x3d8cac){const _0x49eaa9=_0x49ea();return _0x3539=function(_0x3539af,_0x4757e8){_0x3539af=_0x3539af-0x17d;let _0x3d0718=_0x49eaa9[_0x3539af];return _0x3d0718;},_0x3539(_0x1225a2,_0x3d8cac);}import{FootnotesEditing as _0x3c6e5a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x18f536{static get[_0x45b55b(0x1b6)](){const _0x26b182=_0x45b55b;return _0x26b182(0x1c6);}static get[_0x45b55b(0x1d4)](){return[_0x3c6e5a,_0x3ab7dd];}static get[_0x45b55b(0x1a8)](){return!0x0;}static get[_0x45b55b(0x1d8)](){return!0x0;}[_0x45b55b(0x1d6)](){const _0x459c68=_0x45b55b,{editor:_0x2b28ea}=this;_0x2b28ea[_0x459c68(0x1a7)][_0x459c68(0x1e2)](_0x459c68(0x19e),_0x459c68(0x19c)),_0x2b28ea[_0x459c68(0x1a7)][_0x459c68(0x1e2)](_0x459c68(0x1de),0x1),_0x2b28ea[_0x459c68(0x198)][_0x459c68(0x192)](_0x459c68(0x1b3),new _0x37e4a5(_0x2b28ea)),_0x2b28ea[_0x459c68(0x198)][_0x459c68(0x192)](_0x459c68(0x1cc),new _0x3c901b(_0x2b28ea)),this[_0x459c68(0x18e)](),this[_0x459c68(0x196)](),this[_0x459c68(0x193)](),this[_0x459c68(0x1b5)]();}[_0x45b55b(0x18e)](){const _0x5bca18=_0x45b55b,{editor:_0x4fc1c4}=this,{schema:_0xa7ab11}=_0x4fc1c4[_0x5bca18(0x1ab)];_0xa7ab11[_0x5bca18(0x1dd)](_0x5bca18(0x181),{'allowAttributes':[_0x5bca18(0x1d5),_0x5bca18(0x1ba)]});}[_0x45b55b(0x196)](){const _0xf5c6ab=_0x45b55b,{editor:_0x1f6a94}=this,{conversion:_0x7b869c,model:_0x3f9062}=_0x1f6a94,{schema:_0x741c32}=_0x3f9062;_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x18b)]({'view':{'name':'ol','styles':{'list-style-type':/.+/}},'model':{'key':_0xf5c6ab(0x1d5),'value':_0x18853e=>_0x18853e[_0xf5c6ab(0x187)](_0xf5c6ab(0x1b4))}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x18b)]({'view':{'name':'ol','attributes':{'start':/.+/}},'model':{'key':_0xf5c6ab(0x1ba),'value':_0x54ed5f=>{const _0x531a7d=_0xf5c6ab,_0x4123c3=_0x54ed5f[_0x531a7d(0x185)](_0x531a7d(0x18d)),_0x552b0f=Number[_0x531a7d(0x1d7)](_0x4123c3,0xa);return Number[_0x531a7d(0x182)](_0x552b0f)?null:_0x552b0f;}}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x18b)]({'view':{'name':'ol','attributes':{'type':/.+/}},'model':{'key':_0xf5c6ab(0x1d5),'value':_0x250166=>({0x1:_0xf5c6ab(0x19c),'a':_0xf5c6ab(0x19b),'A':_0xf5c6ab(0x190),'i':_0xf5c6ab(0x17e),'I':_0xf5c6ab(0x1d3)}[_0x250166[_0xf5c6ab(0x185)](_0xf5c6ab(0x1bb))])}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x192)](_0x784b6a=>{const _0x3d3671=_0xf5c6ab;_0x784b6a['on'](_0x3d3671(0x1c2),(_0x372dd8,_0x47e65a,_0x1281c2)=>{const _0x54da4a=_0x3d3671,_0x2313da=_0x47e65a[_0x54da4a(0x1bf)]?.[_0x54da4a(0x18d)][_0x54da4a(0x1cb)];_0x2313da?.['is'](_0x54da4a(0x1be),_0x54da4a(0x181))&&(!_0x2313da[_0x54da4a(0x1c1)](_0x54da4a(0x1d5))&&_0x741c32[_0x54da4a(0x1ae)](_0x2313da,_0x54da4a(0x1d5))&&_0x1281c2[_0x54da4a(0x1af)][_0x54da4a(0x191)](_0x54da4a(0x1d5),_0x54da4a(0x19c),_0x2313da),!_0x2313da[_0x54da4a(0x1c1)](_0x54da4a(0x1ba))&&_0x741c32[_0x54da4a(0x1ae)](_0x2313da,_0x54da4a(0x1ba))&&_0x1281c2[_0x54da4a(0x1af)][_0x54da4a(0x191)](_0x54da4a(0x1ba),0x1,_0x2313da));},{'priority':_0x3d3671(0x1ac)});}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x19a))[_0xf5c6ab(0x18b)]({'model':{'name':_0xf5c6ab(0x181),'key':_0xf5c6ab(0x1ba)},'view':_0x31561a=>0x1===_0x31561a?null:{'key':_0xf5c6ab(0x18d),'value':String(_0x31561a)}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x19a))[_0xf5c6ab(0x18b)]({'model':{'name':_0xf5c6ab(0x181),'key':_0xf5c6ab(0x1d5)},'view':_0x4f2003=>_0xf5c6ab(0x19c)===_0x4f2003?null:{'key':_0xf5c6ab(0x19f),'value':{'list-style-type':_0x4f2003}}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x180))[_0xf5c6ab(0x192)](_0x4ba432=>{const _0x2e2e12=_0xf5c6ab;_0x4ba432['on'](_0x2e2e12(0x17d),(_0x3239b1,_0x98df1d,_0x23df69)=>{const _0x23cdff=_0x2e2e12;if(!_0x23df69[_0x23cdff(0x18c)][_0x23cdff(0x188)](_0x98df1d[_0x23cdff(0x1c4)],_0x3239b1[_0x23cdff(0x1b2)]))return;const _0x2fd144=b(_0x98df1d[_0x23cdff(0x1c4)],_0x23df69[_0x23cdff(0x1c8)]);null===_0x98df1d[_0x23cdff(0x186)]||void 0x0===_0x98df1d[_0x23cdff(0x186)]||0x1===_0x98df1d[_0x23cdff(0x186)]?_0x23df69[_0x23cdff(0x1af)][_0x23cdff(0x1ca)](_0x23cdff(0x18d),_0x2fd144):_0x23df69[_0x23cdff(0x1af)][_0x23cdff(0x191)](_0x23cdff(0x18d),String(_0x98df1d[_0x23cdff(0x186)]),_0x2fd144);}),_0x4ba432['on'](_0x2e2e12(0x1aa),(_0x31a0f6,_0x5b872f,_0x5b0197)=>{const _0xb5af60=_0x2e2e12;if(!_0x5b0197[_0xb5af60(0x18c)][_0xb5af60(0x188)](_0x5b872f[_0xb5af60(0x1c4)],_0x31a0f6[_0xb5af60(0x1b2)]))return;const _0x2730fe=b(_0x5b872f[_0xb5af60(0x1c4)],_0x5b0197[_0xb5af60(0x1c8)]);_0x5b872f[_0xb5af60(0x186)]&&_0xb5af60(0x19c)!==_0x5b872f[_0xb5af60(0x186)]?_0x5b0197[_0xb5af60(0x1af)][_0xb5af60(0x199)](_0xb5af60(0x1b4),_0x5b872f[_0xb5af60(0x186)],_0x2730fe):_0x5b0197[_0xb5af60(0x1af)][_0xb5af60(0x18f)](_0xb5af60(0x1b4),_0x2730fe);});});}[_0x45b55b(0x1b5)](){const _0x5cd72b=_0x45b55b,{editor:_0x5c0293}=this,{model:_0x15173e}=_0x5c0293,_0x19e6bb=_0x5c0293[_0x5cd72b(0x1dc)][_0x5cd72b(0x184)](_0x3ab7dd),_0x142498=this[_0x5cd72b(0x1b9)](),_0x224a90=this[_0x5cd72b(0x1e3)]();_0x15173e[_0x5cd72b(0x1a5)][_0x5cd72b(0x1cf)](_0x5e6ec5=>{const _0x3db382=_0x5cd72b,_0x181d86=_0x15173e[_0x3db382(0x1a5)][_0x3db382(0x1c3)][_0x3db382(0x1e0)]();let _0x41e95b=!0x1;for(const _0x401d2e of _0x181d86){if(_0x3db382(0x189)!==_0x401d2e[_0x3db382(0x1bb)]||_0x3db382(0x1df)===_0x401d2e[_0x3db382(0x1b2)])continue;const _0x4b5603=_0x15173e[_0x3db382(0x1b7)](_0x401d2e[_0x3db382(0x1bc)][_0x3db382(0x1cb)]);for(const _0x206439 of _0x4b5603[_0x3db382(0x1bd)]())_0x206439['is'](_0x3db382(0x1be),_0x3db382(0x181))&&(_0x206439[_0x3db382(0x1c1)](_0x3db382(0x1ba))||(_0x5e6ec5[_0x3db382(0x191)](_0x3db382(0x1ba),_0x224a90,_0x206439),_0x41e95b=!0x0),_0x206439[_0x3db382(0x1c1)](_0x3db382(0x1d5))||(_0x5e6ec5[_0x3db382(0x191)](_0x3db382(0x1d5),_0x142498,_0x206439),_0x41e95b=!0x0));}return _0x41e95b&&_0x19e6bb[_0x3db382(0x195)](_0x5e6ec5),_0x41e95b;});}[_0x45b55b(0x193)](){const _0x6ad341=_0x45b55b,{editor:_0x3564b9}=this;_0x3564b9[_0x6ad341(0x1dc)][_0x6ad341(0x184)](_0x3ab7dd)[_0x6ad341(0x1cd)](_0x1ffb80=>this[_0x6ad341(0x1a2)](_0x1ffb80));}[_0x45b55b(0x1b9)](){const _0x1c2832=_0x45b55b;return this[_0x1c2832(0x1ce)][_0x1c2832(0x1a7)][_0x1c2832(0x184)](_0x1c2832(0x19e));}[_0x45b55b(0x1e3)](){const _0x548d10=_0x45b55b;return this[_0x548d10(0x1ce)][_0x548d10(0x1a7)][_0x548d10(0x184)](_0x548d10(0x1de));}[_0x45b55b(0x1a2)]({container:_0x5ad946,value:_0x44e8f4,digits:_0x3a9619}){const _0x598831=_0x45b55b,_0x54372c=_0x5ad946[_0x598831(0x185)](_0x598831(0x1d5)),_0x25a9ce=_0x5ad946[_0x598831(0x185)](_0x598831(0x1ba)),_0x52ec50=Math[_0x598831(0x1a1)](_0x44e8f4)+(_0x25a9ce-0x1);switch(_0x54372c){case _0x598831(0x19c):default:return String(_0x52ec50);case _0x598831(0x17f):return function(_0x5a25b3,_0x3ea825){const _0x524d97=_0x598831;return String(_0x5a25b3)[_0x524d97(0x1b0)](_0x3ea825,'0');}(_0x52ec50,Math[_0x598831(0x1c7)](0x2,_0x3a9619));case _0x598831(0x19b):case _0x598831(0x18a):return x(_0x52ec50,!0x1);case _0x598831(0x190):case _0x598831(0x1c9):return x(_0x52ec50,!0x0);case _0x598831(0x17e):return M(_0x52ec50,!0x1);case _0x598831(0x1d3):return M(_0x52ec50,!0x0);}}}function b(_0x41eaaa,_0x129f7a){const _0x33018c=_0x45b55b,_0x28c9ab=_0x129f7a[_0x33018c(0x1d1)](_0x41eaaa);return Array[_0x33018c(0x1a3)](_0x28c9ab[_0x33018c(0x194)]())[_0x33018c(0x1c5)](_0x53bf9b=>_0x53bf9b['is'](_0x33018c(0x1be),'ol'));}function x(_0x3ff127,_0x2984f1){const _0x4b6a26=_0x45b55b;let _0xd19e4c='',_0x417bfa=_0x3ff127;for(;_0x417bfa>0x0;){const _0x2a7787=(_0x417bfa-0x1)%0x1a;_0xd19e4c=String[_0x4b6a26(0x1b1)](0x61+_0x2a7787)+_0xd19e4c,_0x417bfa=Math[_0x4b6a26(0x1a1)]((_0x417bfa-0x1)/0x1a);}return _0x2984f1?_0xd19e4c[_0x4b6a26(0x1d9)]():_0xd19e4c;}const C=[{'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 M(_0x1ef171,_0x212fe1){const _0x552d82=_0x45b55b;let _0x1f6a27='',_0x2a80bf=_0x1ef171;for(const {value:_0x25ce62,numeral:_0x3ab6f0}of C)for(;_0x2a80bf>=_0x25ce62;)_0x1f6a27+=_0x3ab6f0,_0x2a80bf-=_0x25ce62;return _0x212fe1?_0x1f6a27:_0x1f6a27[_0x552d82(0x1a6)]();}function _0x49ea(){const _0x122728=['817118DtopjI','attribute:footnotesListStyle:footnotesDefinitions','model','low','12GGfFts','checkAttribute','writer','padStart','fromCharCode','name','footnotesStyle','list-style-type','_definePostfixer','pluginName','createRangeOn','26355oMHWpq','_getDefaultListStyle','footnotesListStart','type','position','getItems','element','modelRange','9142639GkCkbn','hasAttribute','element:ol','differ','item','find','FootnotesPropertiesEditing','max','mapper','upper-latin','removeAttribute','nodeAfter','footnotesStart','setFootnoteFormatter','editor','registerPostFixer','2042384nkPOVN','toViewElement','6jIusme','upper-roman','requires','footnotesListStyle','init','parseInt','isPremiumPlugin','toUpperCase','684tiGimO','upcast','plugins','extend','footnotes.footnotesProperties.defaultStartIndex','$text','getChanges','1154839ubuIYV','define','_getDefaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','lower-roman','decimal-leading-zero','editingDowncast','footnotesDefinitions','isNaN','1473icBEyI','get','getAttribute','attributeNewValue','getStyle','consume','insert','lower-latin','attributeToAttribute','consumable','start','_defineSchema','removeStyle','upper-alpha','setAttribute','add','_defineFormatter','getChildren','_updateFootnotesCounters','_defineConverters','117VRoFLS','commands','setStyle','dataDowncast','lower-alpha','decimal','254110qRquvK','footnotes.footnotesProperties.defaultListStyle','style','for','floor','_formatFootnoteListValue','from','3852xxdQmI','document','toLowerCase','config','isOfficialPlugin'];_0x49ea=function(){return _0x122728;};return _0x49ea();}
23
+ const _0x314942=_0x4685;(function(_0x2d8f96,_0x2ff43a){const _0x159ee8=_0x4685,_0x34b5cc=_0x2d8f96();while(!![]){try{const _0xf7a67a=parseInt(_0x159ee8(0x147))/0x1+-parseInt(_0x159ee8(0x1aa))/0x2+-parseInt(_0x159ee8(0x14a))/0x3*(parseInt(_0x159ee8(0x18d))/0x4)+-parseInt(_0x159ee8(0x195))/0x5*(-parseInt(_0x159ee8(0x16f))/0x6)+parseInt(_0x159ee8(0x18e))/0x7*(-parseInt(_0x159ee8(0x165))/0x8)+parseInt(_0x159ee8(0x16c))/0x9*(parseInt(_0x159ee8(0x167))/0xa)+parseInt(_0x159ee8(0x14b))/0xb;if(_0xf7a67a===_0x2ff43a)break;else _0x34b5cc['push'](_0x34b5cc['shift']());}catch(_0x3204dc){_0x34b5cc['push'](_0x34b5cc['shift']());}}}(_0x270e,0x6c7c5));function _0x270e(){const _0x338f47=['isPremiumPlugin','editor','_defineSchema','low','element','_getDefaultListStyle','start','differ','toUpperCase','fromCharCode','_getDefaultStartIndex','toViewElement','upper-roman','add','define','footnotesListStyle','getAttribute','814902fyprUC','extend','footnotes.footnotesProperties.defaultListStyle','194666XxVjtV','insert','item','339zOIMQW','9001058mfugWX','footnotes.footnotesProperties.defaultStartIndex','isOfficialPlugin','removeAttribute','getChildren','dataDowncast','upcast','createRangeOn','$text','FootnotesPropertiesEditing','attributeToAttribute','removeStyle','type','requires','consumable','hasAttribute','commands','find','style','nodeAfter','footnotesListStart','setAttribute','_defineConverters','attribute:footnotesListStyle:footnotesDefinitions','element:ol','getChanges','16SfWcBY','footnotesDefinitions','2354350CdQcZk','footnotesStart','footnotesStyle','from','upper-latin','27sPmyap','lower-roman','attribute:footnotesListStart:footnotesDefinitions','228QEETNc','floor','lower-alpha','getStyle','document','setStyle','config','decimal','decimal-leading-zero','_formatFootnoteListValue','isNaN','modelRange','setFootnoteFormatter','for','pluginName','max','init','_updateFootnotesCounters','writer','checkAttribute','parseInt','toLowerCase','plugins','mapper','upper-alpha','editingDowncast','registerPostFixer','model','padStart','list-style-type','29804jxxylD','129339JStxkF','consume','name','attributeNewValue','_defineFormatter','position','getItems','1510ThEigP','_definePostfixer','get','lower-latin'];_0x270e=function(){return _0x338f47;};return _0x270e();}import{Plugin as _0x1cc63c}from'ckeditor5/src/core.js';function _0x4685(_0x31750a,_0x15db7e){const _0x270e3a=_0x270e();return _0x4685=function(_0x4685ea,_0x6d5a57){_0x4685ea=_0x4685ea-0x146;let _0x1f3a6b=_0x270e3a[_0x4685ea];return _0x1f3a6b;},_0x4685(_0x31750a,_0x15db7e);}import{FootnotesStyleCommand as _0x5ab95e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3b227d}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5d7667}from'../footnotestracker.js';import{FootnotesEditing as _0xc66c59}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1cc63c{static get[_0x314942(0x17d)](){const _0x26518d=_0x314942;return _0x26518d(0x154);}static get[_0x314942(0x158)](){return[_0xc66c59,_0x5d7667];}static get[_0x314942(0x14d)](){return!0x0;}static get[_0x314942(0x199)](){return!0x0;}[_0x314942(0x17f)](){const _0xc99c6=_0x314942,{editor:_0x577b96}=this;_0x577b96[_0xc99c6(0x175)][_0xc99c6(0x1a7)](_0xc99c6(0x146),_0xc99c6(0x176)),_0x577b96[_0xc99c6(0x175)][_0xc99c6(0x1a7)](_0xc99c6(0x14c),0x1),_0x577b96[_0xc99c6(0x15b)][_0xc99c6(0x1a6)](_0xc99c6(0x169),new _0x5ab95e(_0x577b96)),_0x577b96[_0xc99c6(0x15b)][_0xc99c6(0x1a6)](_0xc99c6(0x168),new _0x3b227d(_0x577b96)),this[_0xc99c6(0x19b)](),this[_0xc99c6(0x161)](),this[_0xc99c6(0x192)](),this[_0xc99c6(0x196)]();}[_0x314942(0x19b)](){const _0x3491fa=_0x314942,{editor:_0x47815e}=this,{schema:_0x91e134}=_0x47815e[_0x3491fa(0x18a)];_0x91e134[_0x3491fa(0x1ab)](_0x3491fa(0x166),{'allowAttributes':[_0x3491fa(0x1a8),_0x3491fa(0x15f)]});}[_0x314942(0x161)](){const _0x4beb40=_0x314942,{editor:_0x5f3411}=this,{conversion:_0x5936a0,model:_0x41c860}=_0x5f3411,{schema:_0x4b3f21}=_0x41c860;_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x155)]({'view':{'name':'ol','styles':{'list-style-type':/.+/}},'model':{'key':_0x4beb40(0x1a8),'value':_0x4b8449=>_0x4b8449[_0x4beb40(0x172)](_0x4beb40(0x18c))}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x155)]({'view':{'name':'ol','attributes':{'start':/.+/}},'model':{'key':_0x4beb40(0x15f),'value':_0x2a05f3=>{const _0x1771d2=_0x4beb40,_0x51101b=_0x2a05f3[_0x1771d2(0x1a9)](_0x1771d2(0x19f)),_0x452537=Number[_0x1771d2(0x183)](_0x51101b,0xa);return Number[_0x1771d2(0x179)](_0x452537)?null:_0x452537;}}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x155)]({'view':{'name':'ol','attributes':{'type':/.+/}},'model':{'key':_0x4beb40(0x1a8),'value':_0x2f40d5=>({0x1:_0x4beb40(0x176),'a':_0x4beb40(0x171),'A':_0x4beb40(0x187),'i':_0x4beb40(0x16d),'I':_0x4beb40(0x1a5)}[_0x2f40d5[_0x4beb40(0x1a9)](_0x4beb40(0x157))])}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x1a6)](_0x349ca6=>{const _0x168065=_0x4beb40;_0x349ca6['on'](_0x168065(0x163),(_0x4edca9,_0x5a6047,_0x28a545)=>{const _0x4340d0=_0x168065,_0x69a0f4=_0x5a6047[_0x4340d0(0x17a)]?.[_0x4340d0(0x19f)][_0x4340d0(0x15e)];_0x69a0f4?.['is'](_0x4340d0(0x19d),_0x4340d0(0x166))&&(!_0x69a0f4[_0x4340d0(0x15a)](_0x4340d0(0x1a8))&&_0x4b3f21[_0x4340d0(0x182)](_0x69a0f4,_0x4340d0(0x1a8))&&_0x28a545[_0x4340d0(0x181)][_0x4340d0(0x160)](_0x4340d0(0x1a8),_0x4340d0(0x176),_0x69a0f4),!_0x69a0f4[_0x4340d0(0x15a)](_0x4340d0(0x15f))&&_0x4b3f21[_0x4340d0(0x182)](_0x69a0f4,_0x4340d0(0x15f))&&_0x28a545[_0x4340d0(0x181)][_0x4340d0(0x160)](_0x4340d0(0x15f),0x1,_0x69a0f4));},{'priority':_0x168065(0x19c)});}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x150))[_0x4beb40(0x155)]({'model':{'name':_0x4beb40(0x166),'key':_0x4beb40(0x15f)},'view':_0x14e97a=>0x1===_0x14e97a?null:{'key':_0x4beb40(0x19f),'value':String(_0x14e97a)}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x150))[_0x4beb40(0x155)]({'model':{'name':_0x4beb40(0x166),'key':_0x4beb40(0x1a8)},'view':_0x12165e=>_0x4beb40(0x176)===_0x12165e?null:{'key':_0x4beb40(0x15d),'value':{'list-style-type':_0x12165e}}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x188))[_0x4beb40(0x1a6)](_0x1134de=>{const _0x340a94=_0x4beb40;_0x1134de['on'](_0x340a94(0x16e),(_0x10a5c2,_0xf9c9cf,_0x34dd82)=>{const _0xf66238=_0x340a94;if(!_0x34dd82[_0xf66238(0x159)][_0xf66238(0x18f)](_0xf9c9cf[_0xf66238(0x149)],_0x10a5c2[_0xf66238(0x190)]))return;const _0x1f5e64=C(_0xf9c9cf[_0xf66238(0x149)],_0x34dd82[_0xf66238(0x186)]);null===_0xf9c9cf[_0xf66238(0x191)]||void 0x0===_0xf9c9cf[_0xf66238(0x191)]||0x1===_0xf9c9cf[_0xf66238(0x191)]?_0x34dd82[_0xf66238(0x181)][_0xf66238(0x14e)](_0xf66238(0x19f),_0x1f5e64):_0x34dd82[_0xf66238(0x181)][_0xf66238(0x160)](_0xf66238(0x19f),String(_0xf9c9cf[_0xf66238(0x191)]),_0x1f5e64);}),_0x1134de['on'](_0x340a94(0x162),(_0x1db7fa,_0x55cd57,_0x3037cf)=>{const _0x12429d=_0x340a94;if(!_0x3037cf[_0x12429d(0x159)][_0x12429d(0x18f)](_0x55cd57[_0x12429d(0x149)],_0x1db7fa[_0x12429d(0x190)]))return;const _0x1dd0fe=C(_0x55cd57[_0x12429d(0x149)],_0x3037cf[_0x12429d(0x186)]);_0x55cd57[_0x12429d(0x191)]&&_0x12429d(0x176)!==_0x55cd57[_0x12429d(0x191)]?_0x3037cf[_0x12429d(0x181)][_0x12429d(0x174)](_0x12429d(0x18c),_0x55cd57[_0x12429d(0x191)],_0x1dd0fe):_0x3037cf[_0x12429d(0x181)][_0x12429d(0x156)](_0x12429d(0x18c),_0x1dd0fe);});});}[_0x314942(0x196)](){const _0x2ff88f=_0x314942,{editor:_0x4c358e}=this,{model:_0x453bf6}=_0x4c358e,_0x2a923a=_0x4c358e[_0x2ff88f(0x185)][_0x2ff88f(0x197)](_0x5d7667),_0x211a08=this[_0x2ff88f(0x19e)](),_0x5f196b=this[_0x2ff88f(0x1a3)]();_0x453bf6[_0x2ff88f(0x173)][_0x2ff88f(0x189)](_0x43b8dd=>{const _0x3eeeca=_0x2ff88f,_0x47efd5=_0x453bf6[_0x3eeeca(0x173)][_0x3eeeca(0x1a0)][_0x3eeeca(0x164)]();let _0xa0ca42=!0x1;for(const _0x53cf87 of _0x47efd5){if(_0x3eeeca(0x148)!==_0x53cf87[_0x3eeeca(0x157)]||_0x3eeeca(0x153)===_0x53cf87[_0x3eeeca(0x190)])continue;const _0x39eaeb=_0x453bf6[_0x3eeeca(0x152)](_0x53cf87[_0x3eeeca(0x193)][_0x3eeeca(0x15e)]);for(const _0x48c667 of _0x39eaeb[_0x3eeeca(0x194)]())_0x48c667['is'](_0x3eeeca(0x19d),_0x3eeeca(0x166))&&(_0x48c667[_0x3eeeca(0x15a)](_0x3eeeca(0x15f))||(_0x43b8dd[_0x3eeeca(0x160)](_0x3eeeca(0x15f),_0x5f196b,_0x48c667),_0xa0ca42=!0x0),_0x48c667[_0x3eeeca(0x15a)](_0x3eeeca(0x1a8))||(_0x43b8dd[_0x3eeeca(0x160)](_0x3eeeca(0x1a8),_0x211a08,_0x48c667),_0xa0ca42=!0x0));}return _0xa0ca42&&_0x2a923a[_0x3eeeca(0x180)](_0x43b8dd),_0xa0ca42;});}[_0x314942(0x192)](){const _0x57aa14=_0x314942,{editor:_0xd98af7}=this;_0xd98af7[_0x57aa14(0x185)][_0x57aa14(0x197)](_0x5d7667)[_0x57aa14(0x17b)](_0x4f5bd8=>this[_0x57aa14(0x178)](_0x4f5bd8));}[_0x314942(0x19e)](){const _0x4eb91a=_0x314942;return this[_0x4eb91a(0x19a)][_0x4eb91a(0x175)][_0x4eb91a(0x197)](_0x4eb91a(0x146));}[_0x314942(0x1a3)](){const _0x1daae3=_0x314942;return this[_0x1daae3(0x19a)][_0x1daae3(0x175)][_0x1daae3(0x197)](_0x1daae3(0x14c));}[_0x314942(0x178)]({container:_0x1d2526,value:_0x37aa36,digits:_0xcf84c5}){const _0x1e9e1b=_0x314942,_0x5652e0=_0x1d2526[_0x1e9e1b(0x1a9)](_0x1e9e1b(0x1a8)),_0x45a275=_0x1d2526[_0x1e9e1b(0x1a9)](_0x1e9e1b(0x15f)),_0x543999=Math[_0x1e9e1b(0x170)](_0x37aa36)+(_0x45a275-0x1);switch(_0x5652e0){case _0x1e9e1b(0x176):default:return String(_0x543999);case _0x1e9e1b(0x177):return function(_0x21a7bc,_0x15d0be){const _0x3b0a75=_0x1e9e1b;return String(_0x21a7bc)[_0x3b0a75(0x18b)](_0x15d0be,'0');}(_0x543999,Math[_0x1e9e1b(0x17e)](0x2,_0xcf84c5));case _0x1e9e1b(0x171):case _0x1e9e1b(0x198):return M(_0x543999,!0x1);case _0x1e9e1b(0x187):case _0x1e9e1b(0x16b):return M(_0x543999,!0x0);case _0x1e9e1b(0x16d):return A(_0x543999,!0x1);case _0x1e9e1b(0x1a5):return A(_0x543999,!0x0);}}}function C(_0x104bc7,_0x25824c){const _0x310856=_0x314942,_0x4ade33=_0x25824c[_0x310856(0x1a4)](_0x104bc7);return Array[_0x310856(0x16a)](_0x4ade33[_0x310856(0x14f)]())[_0x310856(0x15c)](_0x15c1ae=>_0x15c1ae['is'](_0x310856(0x19d),'ol'));}function M(_0xaddd78,_0x5c6ee0){const _0x14d8cc=_0x314942;let _0x3c205e='',_0x553f21=_0xaddd78;for(;_0x553f21>0x0;){const _0x95c4c=(_0x553f21-0x1)%0x1a;_0x3c205e=String[_0x14d8cc(0x1a2)](0x61+_0x95c4c)+_0x3c205e,_0x553f21=Math[_0x14d8cc(0x170)]((_0x553f21-0x1)/0x1a);}return _0x5c6ee0?_0x3c205e[_0x14d8cc(0x1a1)]():_0x3c205e;}const X=[{'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 A(_0x5a7002,_0x163962){const _0x949e9a=_0x314942;let _0xc3c701='',_0x4b33ef=_0x5a7002;for(const {value:_0x429a18,numeral:_0x252c19}of X)for(;_0x4b33ef>=_0x429a18;)_0xc3c701+=_0x252c19,_0x4b33ef-=_0x429a18;return _0x163962?_0xc3c701:_0xc3c701[_0x949e9a(0x184)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x842d19,ButtonView as _0x14215b,ContextualBalloon as _0x1172c1,createDropdown as _0x56e212}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x239d22}from'ckeditor5/src/widget.js';import{Plugin as _0x1d2aa6}from'ckeditor5/src/core.js';import{IconFootnote as _0x753aa5,IconListStyleDecimal as _0x28a125,IconListStyleDecimalLeadingZero as _0x321eb6,IconListStyleLowerLatin as _0x249446,IconListStyleLowerRoman as _0x426652,IconListStyleUpperLatin as _0x59c1e6,IconListStyleUpperRoman as _0x407ffe}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x290ff7}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x572e96}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1d2aa6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1172c1,_0x239d22];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a1ea9}=this,{componentFactory:_0x2e5bd9}=_0x2a1ea9['ui'];_0x2a1ea9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2e5bd9['add']('footnotesStyle',function(_0x37742b){return _0x2746c0=>{const {t:t}=_0x2746c0,_0x27abbb=_0x37742b['commands']['get']('footnotesStyle'),_0x299beb=_0x56e212(_0x2746c0),{buttonView:_0x546fe0}=_0x299beb;return _0x299beb['class']='ck-footnotes-styles-dropdown',_0x299beb['bind']('isEnabled')['to'](_0x27abbb,'isEnabled'),_0x546fe0['set']({'label':t('Footnotes\x20style'),'icon':_0x753aa5,'tooltip':!0x0}),_0x299beb['once']('change:isOpen',()=>{const _0x31ae6e=function({editor:_0x5d3316,dropdownView:_0x2deab4}){const {t:t}=_0x5d3316['locale'],_0x3ef002=t('Footnotes\x20definitions\x20styles'),_0x2b8e4f=function(_0x49d30f){const t=_0x49d30f['locale']['t'],_0x43d99c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x28a125},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x321eb6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x426652},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x407ffe},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x249446},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x59c1e6}];return _0x43d99c['map'](function(_0x788ae4){const _0xa18a5a=_0x788ae4['locale'];return({label:_0x2a825e,icon:_0xb055a8,tooltip:_0x564676,style:_0x38940b})=>{const _0x4df49d=_0x788ae4['commands']['get']('footnotesStyle'),_0x23c3ea=new _0x14215b(_0xa18a5a);return _0x23c3ea['set']({'label':_0x2a825e,'icon':_0xb055a8,'tooltip':_0x564676}),_0x23c3ea['bind']('isOn')['to'](_0x4df49d,'value',_0x945c12=>_0x945c12===_0x38940b),_0x23c3ea['bind']('isEnabled')['to'](_0x4df49d,'isEnabled'),_0x23c3ea['on']('execute',()=>{_0x788ae4['execute']('footnotesStyle',{'value':_0x38940b}),_0x788ae4['editing']['view']['focus']();}),_0x23c3ea;};}(_0x49d30f));}(_0x5d3316),_0x14e777=new _0x290ff7(_0x5d3316['locale'],{'styleGridAriaLabel':_0x3ef002,'styleButtonViews':_0x2b8e4f});return _0x14e777['delegate']('execute')['to'](_0x2deab4),_0x14e777['on']('footnotesListStart',(_0xd35702,_0x2f09fc)=>{_0x5d3316['execute']('footnotesStart',{'value':_0x2f09fc['startIndex']});}),_0x14e777;}({'editor':_0x37742b,'dropdownView':_0x299beb});_0x299beb['panelView']['children']['add'](_0x31ae6e);}),_0x299beb;};}(_0x2a1ea9));}['afterInit'](){const {editor:_0x3e2630}=this,{t:t}=_0x3e2630['locale'],_0x3e886f=_0x3e2630['plugins']['get'](_0x239d22),{defaultPositions:_0x3dbaf7}=_0x842d19;_0x3e886f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3e2630['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3d3560=>{let _0xee6268=_0x3d3560['getFirstPosition']()?.['parent'];return _0xee6268?.['is']('$text')&&(_0xee6268=_0xee6268['parent']),_0xee6268?.['is']('element')?_0xee6268['findAncestor'](_0x572e96):null;},'positions':[_0x3dbaf7['southArrowNorth'],_0x3dbaf7['southArrowNorthMiddleWest'],_0x3dbaf7['southArrowNorthMiddleEast'],_0x3dbaf7['southArrowNorthWest'],_0x3dbaf7['southArrowNorthEast'],_0x3dbaf7['northArrowSouth'],_0x3dbaf7['northArrowSouthMiddleWest'],_0x3dbaf7['northArrowSouthMiddleEast'],_0x3dbaf7['northArrowSouthWest'],_0x3dbaf7['northArrowSouthEast'],_0x3dbaf7['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x51bb80,ButtonView as _0xad4135,ContextualBalloon as _0x40b4f8,createDropdown as _0x5b386a}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x3e27c9}from'ckeditor5/src/widget.js';import{Plugin as _0x1c642e}from'ckeditor5/src/core.js';import{IconFootnote as _0x5b0dad,IconListStyleDecimal as _0x72ca5e,IconListStyleDecimalLeadingZero as _0x4d7c70,IconListStyleLowerLatin as _0xecd272,IconListStyleLowerRoman as _0x4862c7,IconListStyleUpperLatin as _0x5ca49a,IconListStyleUpperRoman as _0x329960}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3905fb}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2f7b0b}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1c642e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x40b4f8,_0x3e27c9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x413c88}=this,{componentFactory:_0x57ab9a}=_0x413c88['ui'];_0x413c88['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x57ab9a['add']('footnotesStyle',function(_0xa62b36){return _0x26f489=>{const {t:t}=_0x26f489,_0x8e20be=_0xa62b36['commands']['get']('footnotesStyle'),_0x5e1356=_0x5b386a(_0x26f489),{buttonView:_0x184ddb}=_0x5e1356;return _0x5e1356['class']='ck-footnotes-styles-dropdown',_0x5e1356['bind']('isEnabled')['to'](_0x8e20be,'isEnabled'),_0x184ddb['set']({'label':t('Footnotes\x20style'),'icon':_0x5b0dad,'tooltip':!0x0}),_0x5e1356['once']('change:isOpen',()=>{const _0x2e8cea=function({editor:_0x423dcc,dropdownView:_0x5766eb}){const {t:t}=_0x423dcc['locale'],_0x3a0cd3=t('Footnotes\x20definitions\x20styles'),_0x55b981=function(_0x4711b6){const t=_0x4711b6['locale']['t'],_0x5c206f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x72ca5e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d7c70},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4862c7},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x329960},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xecd272},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5ca49a}];return _0x5c206f['map'](function(_0xd7ae22){const _0x385481=_0xd7ae22['locale'];return({label:_0x3e6221,icon:_0x18e738,tooltip:_0x4af965,style:_0x1add73})=>{const _0x560642=_0xd7ae22['commands']['get']('footnotesStyle'),_0x5933a3=new _0xad4135(_0x385481);return _0x5933a3['set']({'label':_0x3e6221,'icon':_0x18e738,'tooltip':_0x4af965}),_0x5933a3['bind']('isOn')['to'](_0x560642,'value',_0x387e02=>_0x387e02===_0x1add73),_0x5933a3['bind']('isEnabled')['to'](_0x560642,'isEnabled'),_0x5933a3['on']('execute',()=>{_0xd7ae22['execute']('footnotesStyle',{'value':_0x1add73}),_0xd7ae22['editing']['view']['focus']();}),_0x5933a3;};}(_0x4711b6));}(_0x423dcc),_0x1741c1=new _0x3905fb(_0x423dcc['locale'],{'styleGridAriaLabel':_0x3a0cd3,'styleButtonViews':_0x55b981});return _0x1741c1['delegate']('execute')['to'](_0x5766eb),_0x1741c1['on']('footnotesListStart',(_0x316bba,_0x389084)=>{_0x423dcc['execute']('footnotesStart',{'value':_0x389084['startIndex']});}),_0x1741c1;}({'editor':_0xa62b36,'dropdownView':_0x5e1356});_0x5e1356['panelView']['children']['add'](_0x2e8cea);}),_0x5e1356;};}(_0x413c88));}['afterInit'](){const {editor:_0x4152d9}=this,{t:t}=_0x4152d9['locale'],_0x568661=_0x4152d9['plugins']['get'](_0x3e27c9),{defaultPositions:_0x646e80}=_0x51bb80;_0x568661['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4152d9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x311087=>{let _0x163759=_0x311087['getFirstPosition']()?.['parent'];return _0x163759?.['is']('$text')&&(_0x163759=_0x163759['parent']),_0x163759?.['is']('element')?_0x163759['findAncestor'](_0x2f7b0b):null;},'positions':[_0x646e80['southArrowNorth'],_0x646e80['southArrowNorthMiddleWest'],_0x646e80['southArrowNorthMiddleEast'],_0x646e80['southArrowNorthWest'],_0x646e80['southArrowNorthEast'],_0x646e80['northArrowSouth'],_0x646e80['northArrowSouthMiddleWest'],_0x646e80['northArrowSouthMiddleEast'],_0x646e80['northArrowSouthWest'],_0x646e80['northArrowSouthEast'],_0x646e80['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1437e2,View as _0x148c69,ViewCollection as _0x43f94f,FocusCycler as _0x2909be,addKeyboardHandlingForGrid as _0x4f4f19,CollapsibleView as _0x338088,LabeledFieldView as tt,createLabeledInputNumber as st}from'ckeditor5/src/ui.js';import{FocusTracker as it,KeystrokeHandler as et,global as ot}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x148c69{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x43f94f();['focusCycler'];constructor(_0x1280fb,{styleButtonViews:_0x4d5fb1,styleGridAriaLabel:_0x120746}){super(_0x1280fb),(this['focusCycler']=new _0x2909be({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4d5fb1,_0x120746),[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 _0x21c013 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x21c013['element']);_0x4f4f19({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ot['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 _0x596723=_0xe927bd=>_0xe927bd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x596723),this['keystrokes']['set']('arrowleft',_0x596723),this['keystrokes']['set']('arrowup',_0x596723),this['keystrokes']['set']('arrowdown',_0x596723);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x44e81f,_0x1a32c3){const _0x29af2a=new _0x148c69(this['locale']);return _0x29af2a['children']=_0x29af2a['createCollection'](),_0x29af2a['children']['addMany'](_0x44e81f),_0x29af2a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1a32c3,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x29af2a['children']}),_0x29af2a['children']['delegate']('execute')['to'](this),_0x29af2a['focus']=function(){for(const _0x433393 of this['children'])if(_0x433393 instanceof _0x1437e2&&_0x433393['isOn'])return void _0x433393['focus']();this['children']['first']['focus']();},_0x29af2a['focusTracker']=new it(),_0x29af2a['keystrokes']=new et(),_0x29af2a['render'](),_0x29af2a['keystrokes']['listenTo'](_0x29af2a['element']),this['children']['add'](_0x29af2a),_0x29af2a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4e3b22=this['_createStartIndexPropertyView'](),_0x826006=[_0x4e3b22],_0x561c0a=new _0x338088(this['locale'],_0x826006);return _0x561c0a['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x561c0a['buttonView']['bind']('isEnabled')['toMany'](_0x826006,'isEnabled',(..._0x2b1706)=>_0x2b1706['some'](_0x1f2b94=>_0x1f2b94)),_0x561c0a['buttonView']['on']('change:isEnabled',(_0x69b132,_0x3f582c,_0x52efd5)=>{_0x52efd5||(_0x561c0a['isCollapsed']=!0x0);}),this['children']['add'](_0x561c0a),[_0x4e3b22,_0x561c0a];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4eb84f=new tt(this['locale'],st);return _0x4eb84f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4eb84f['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4eb84f['fieldView']['on']('input',()=>{const _0x35ad56=_0x4eb84f['fieldView']['element'],_0x12e61=_0x35ad56['valueAsNumber'];Number['isNaN'](_0x12e61)?_0x4eb84f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x35ad56['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x12e61}):_0x4eb84f['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x4eb84f;}}
23
+ import{ButtonView as _0x3b12f1,View as _0x23e150,ViewCollection as _0x54bff8,FocusCycler as _0x14e013,addKeyboardHandlingForGrid as _0x39b038,CollapsibleView as _0x506e7e,LabeledFieldView as _0x461423,createLabeledInputNumber as tt}from'ckeditor5/src/ui.js';import{FocusTracker as st,KeystrokeHandler as it,global as et}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x23e150{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new st();['keystrokes']=new it();['focusables']=new _0x54bff8();['focusCycler'];constructor(_0x1eb8fb,{styleButtonViews:_0x211bf4,styleGridAriaLabel:_0x3f6338}){super(_0x1eb8fb),(this['focusCycler']=new _0x14e013({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x211bf4,_0x3f6338),[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 _0x5cc1c6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5cc1c6['element']);_0x39b038({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>et['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 _0x436629=_0x1be072=>_0x1be072['stopPropagation']();this['keystrokes']['set']('arrowright',_0x436629),this['keystrokes']['set']('arrowleft',_0x436629),this['keystrokes']['set']('arrowup',_0x436629),this['keystrokes']['set']('arrowdown',_0x436629);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x67dd61,_0x472fed){const _0x2b800b=new _0x23e150(this['locale']);return _0x2b800b['children']=_0x2b800b['createCollection'](),_0x2b800b['children']['addMany'](_0x67dd61),_0x2b800b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x472fed,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2b800b['children']}),_0x2b800b['children']['delegate']('execute')['to'](this),_0x2b800b['focus']=function(){for(const _0x3060c8 of this['children'])if(_0x3060c8 instanceof _0x3b12f1&&_0x3060c8['isOn'])return void _0x3060c8['focus']();this['children']['first']['focus']();},_0x2b800b['focusTracker']=new st(),_0x2b800b['keystrokes']=new it(),_0x2b800b['render'](),_0x2b800b['keystrokes']['listenTo'](_0x2b800b['element']),this['children']['add'](_0x2b800b),_0x2b800b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1ebc4f=this['_createStartIndexPropertyView'](),_0x2cc6f7=[_0x1ebc4f],_0x2e33b6=new _0x506e7e(this['locale'],_0x2cc6f7);return _0x2e33b6['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2e33b6['buttonView']['bind']('isEnabled')['toMany'](_0x2cc6f7,'isEnabled',(..._0x3bc949)=>_0x3bc949['some'](_0x49d1e8=>_0x49d1e8)),_0x2e33b6['buttonView']['on']('change:isEnabled',(_0x34f2b4,_0x472776,_0x55127c)=>{_0x55127c||(_0x2e33b6['isCollapsed']=!0x0);}),this['children']['add'](_0x2e33b6),[_0x1ebc4f,_0x2e33b6];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3dd62a=new _0x461423(this['locale'],tt);return _0x3dd62a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3dd62a['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3dd62a['fieldView']['on']('input',()=>{const _0x4f7aae=_0x3dd62a['fieldView']['element'],_0x57316e=_0x4f7aae['valueAsNumber'];Number['isNaN'](_0x57316e)?_0x3dd62a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4f7aae['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x57316e}):_0x3dd62a['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x3dd62a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x41614e=_0x562c;(function(_0x39da96,_0x4e1789){var _0x230805=_0x562c,_0x216662=_0x39da96();while(!![]){try{var _0x54fd39=parseInt(_0x230805(0x69))/0x1*(-parseInt(_0x230805(0x6d))/0x2)+-parseInt(_0x230805(0x72))/0x3*(-parseInt(_0x230805(0x68))/0x4)+parseInt(_0x230805(0x73))/0x5*(parseInt(_0x230805(0x74))/0x6)+parseInt(_0x230805(0x71))/0x7*(parseInt(_0x230805(0x66))/0x8)+parseInt(_0x230805(0x6c))/0x9+-parseInt(_0x230805(0x76))/0xa*(parseInt(_0x230805(0x6b))/0xb)+parseInt(_0x230805(0x6e))/0xc*(-parseInt(_0x230805(0x70))/0xd);if(_0x54fd39===_0x4e1789)break;else _0x216662['push'](_0x216662['shift']());}catch(_0x157530){_0x216662['push'](_0x216662['shift']());}}}(_0x312f,0xf2efc));import{Plugin as _0x5c7a1c}from'ckeditor5/src/core.js';function _0x562c(_0x37b5ee,_0x14db13){var _0x312f16=_0x312f();return _0x562c=function(_0x562c99,_0x5963d9){_0x562c99=_0x562c99-0x66;var _0x2d261b=_0x312f16[_0x562c99];return _0x2d261b;},_0x562c(_0x37b5ee,_0x14db13);}import{FootnotesPropertiesEditing as _0xb5da26}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x583a67}from'./footnotesproperties/footnotespropertiesui.js';function _0x312f(){var _0x26a312=['7YHzTnX','15MUDUtW','515EQuuBq','57450LxnyIv','FootnotesProperties','30LIqPQs','isPremiumPlugin','3282424SjvXvu','requires','997108IFXXch','846613CViNXv','pluginName','3221636YKvymR','13614129XvyklD','2HIIpzQ','17223420OEkJfe','isOfficialPlugin','13DYAUvR'];_0x312f=function(){return _0x26a312;};return _0x312f();}export class FootnotesProperties extends _0x5c7a1c{static get[_0x41614e(0x6a)](){var _0x4bdbb5=_0x41614e;return _0x4bdbb5(0x75);}static get[_0x41614e(0x67)](){return[_0xb5da26,_0x583a67];}static get[_0x41614e(0x6f)](){return!0x0;}static get[_0x41614e(0x77)](){return!0x0;}}
23
+ function _0x6f24(_0xc502e3,_0x112b6f){var _0x4abbab=_0x4abb();return _0x6f24=function(_0x6f24ef,_0x5acb26){_0x6f24ef=_0x6f24ef-0x16f;var _0xc564ce=_0x4abbab[_0x6f24ef];return _0xc564ce;},_0x6f24(_0xc502e3,_0x112b6f);}function _0x4abb(){var _0x324e86=['requires','5569820bjtwAR','3209324auXnkc','12627312FjLDsA','4584440rOqJjO','21gnvBPb','isOfficialPlugin','isPremiumPlugin','478098geAGTg','FootnotesProperties','943237BOudks','3414645nYMebk','pluginName'];_0x4abb=function(){return _0x324e86;};return _0x4abb();}var _0x10ebe7=_0x6f24;(function(_0x13d3a5,_0xe3342e){var _0x10256e=_0x6f24,_0x39bff7=_0x13d3a5();while(!![]){try{var _0x18a7f4=-parseInt(_0x10256e(0x171))/0x1+parseInt(_0x10256e(0x176))/0x2+-parseInt(_0x10256e(0x172))/0x3+parseInt(_0x10256e(0x178))/0x4+-parseInt(_0x10256e(0x175))/0x5+-parseInt(_0x10256e(0x16f))/0x6*(parseInt(_0x10256e(0x179))/0x7)+parseInt(_0x10256e(0x177))/0x8;if(_0x18a7f4===_0xe3342e)break;else _0x39bff7['push'](_0x39bff7['shift']());}catch(_0x275625){_0x39bff7['push'](_0x39bff7['shift']());}}}(_0x4abb,0xda701));import{Plugin as _0x6a3d8f}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x334034}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3a64f9}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x6a3d8f{static get[_0x10ebe7(0x173)](){var _0x3c07ef=_0x10ebe7;return _0x3c07ef(0x170);}static get[_0x10ebe7(0x174)](){return[_0x334034,_0x3a64f9];}static get[_0x10ebe7(0x17a)](){return!0x0;}static get[_0x10ebe7(0x17b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd75a97=_0x5f4d;function _0x3078(){const _0x4ea700=['push','_insertEmptyFootnotesDefinitionsContainer','footnoteCounter','$graveyard','_ensureFootnotesDefinitionsContainerExists','has','footnoteRef','unshift','filter','some','splice','model','createPositionBefore','end','footnoteId','insert','rootName','_handleInsertedFootnoteReference','_footnotesDefinitions','remove','document','parent','createRangeIn','setAttribute','createRangeOn','getFootnotes','get','901686oCllJm','_handleFootnoteReferencesChanges','enqueueChange','from','FootnotesTracker','_handleRemoveFootnoteReferenceById','definition','findIndex','setFootnoteFormatter','_footnoteDefsTracker','registerPostFixer','add','footnotes.multiBlock','_handleFootnoteDefinitionsChanges','pluginName','move','paragraph','before','root','footnoteDefinition','getChanges','_sortFootnoteDefinitions','footnotesDefinitions','createPositionAt','_footnoteDefsContainerTracker','append','createElement','childCount','2TByqJX','listenTo','_handleMovedFootnoteReference','getFootnotesDefinitionsObjectElement','indexOf','3164511PGOOGv','_handleFootnotesDefinitionsObjectChanges','getFootnotesFormatter','_footnotes','find','_handleFootnotesDefinitionsObjectSync','getRootNames','1866040khECtm','singleton','low','_footnoteRefsTracker','1229020crtzJl','length','footnoteInlineContent','1539576tmBgrJ','getAttribute','reference','getChildren','init','1566690FQntLk','isEqual','config','min','differ','_updateFootnoteRefCounter','editor','change:data','after','_ensureFootnotesReferencesHaveProperOrder','compareWith','_footnoteFormatter','302069GPwNes','getFootnote','isOfficialPlugin','_updateFootnotesCounters','map','isPremiumPlugin'];_0x3078=function(){return _0x4ea700;};return _0x3078();}(function(_0x4ae2f5,_0x4d0cdc){const _0x2b0806=_0x5f4d,_0x25cd9a=_0x4ae2f5();while(!![]){try{const _0xae3748=parseInt(_0x2b0806(0x1e8))/0x1*(parseInt(_0x2b0806(0x1c4))/0x2)+-parseInt(_0x2b0806(0x1dc))/0x3+parseInt(_0x2b0806(0x1d7))/0x4+-parseInt(_0x2b0806(0x1d4))/0x5+parseInt(_0x2b0806(0x1a8))/0x6+parseInt(_0x2b0806(0x1c9))/0x7+-parseInt(_0x2b0806(0x1d0))/0x8;if(_0xae3748===_0x4d0cdc)break;else _0x25cd9a['push'](_0x25cd9a['shift']());}catch(_0x5aaa8e){_0x25cd9a['push'](_0x25cd9a['shift']());}}}(_0x3078,0x4651c));import{Plugin as _0x59bdf2}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x258d50}from'./modelelementtracker.js';export class FootnotesTracker extends _0x59bdf2{[_0xd75a97(0x1cc)]=[];[_0xd75a97(0x19f)]=null;[_0xd75a97(0x1e7)]=null;[_0xd75a97(0x1c0)];[_0xd75a97(0x1d3)];[_0xd75a97(0x1b1)];static get[_0xd75a97(0x1b6)](){const _0x155005=_0xd75a97;return _0x155005(0x1ac);}static get[_0xd75a97(0x1ea)](){return!0x0;}static get[_0xd75a97(0x1ed)](){return!0x0;}constructor(_0x531b20){const _0x42cba8=_0xd75a97;super(_0x531b20),this[_0x42cba8(0x1c0)]=new _0x258d50(this[_0x42cba8(0x1e2)][_0x42cba8(0x198)],{'elementName':_0x42cba8(0x1be),'getElementKey':()=>_0x42cba8(0x1d1)}),this[_0x42cba8(0x1d3)]=new _0x258d50(this[_0x42cba8(0x1e2)][_0x42cba8(0x198)],{'elementName':_0x42cba8(0x193),'getElementKey':_0x35f592=>_0x35f592[_0x42cba8(0x1d8)](_0x42cba8(0x19b))}),this[_0x42cba8(0x1b1)]=new _0x258d50(this[_0x42cba8(0x1e2)][_0x42cba8(0x198)],{'elementName':_0x42cba8(0x1bb),'getElementKey':_0x3bb181=>_0x3bb181[_0x42cba8(0x1d8)](_0x42cba8(0x19b))});}[_0xd75a97(0x1db)](){const _0xbaf4e=_0xd75a97,{editor:_0x7fba1f}=this,{model:_0x54a8b2}=_0x7fba1f;_0x54a8b2[_0xbaf4e(0x1a1)][_0xbaf4e(0x1b2)](_0x154d98=>{const _0x3762ce=_0xbaf4e,_0xfe89b7=_0x54a8b2[_0x3762ce(0x1a1)][_0x3762ce(0x1e0)][_0x3762ce(0x1bc)]();let _0x639d47=!0x1;return this[_0x3762ce(0x1ca)](_0x154d98,_0xfe89b7)&&(_0x639d47=!0x0),this[_0x3762ce(0x1b5)](_0x154d98,_0xfe89b7)&&(_0x639d47=!0x0),this[_0x3762ce(0x1a9)](_0x154d98,_0xfe89b7)&&(_0x639d47=!0x0),this[_0x3762ce(0x1e5)](_0x154d98)&&(_0x639d47=!0x0),this[_0x3762ce(0x1ce)](_0x154d98)&&(_0x639d47=!0x0),this[_0x3762ce(0x1bd)](_0x154d98)&&(_0x639d47=!0x0),_0x639d47;}),this[_0xbaf4e(0x1c5)](_0x54a8b2[_0xbaf4e(0x1a1)],_0xbaf4e(0x1e3),()=>{const _0x505c0d=_0xbaf4e;_0x54a8b2[_0x505c0d(0x1aa)]({'isUndoable':!0x1},_0xa9fff4=>{const _0x6d3709=_0x505c0d;this[_0x6d3709(0x191)](_0xa9fff4);});},{'priority':_0xbaf4e(0x1d2)});}[_0xd75a97(0x1c7)](){const _0x254f2f=_0xd75a97;return this[_0x254f2f(0x19f)];}[_0xd75a97(0x1e9)](_0x38c93a){const _0x1f7404=_0xd75a97;return this[_0x1f7404(0x1cc)][_0x1f7404(0x1cd)](_0xd451df=>_0xd451df['id']===_0x38c93a)||null;}[_0xd75a97(0x1a6)](){const _0x5d39a7=_0xd75a97;return Array[_0x5d39a7(0x1ab)](this[_0x5d39a7(0x1cc)]);}[_0xd75a97(0x1cb)](){const _0x5f1269=_0xd75a97;return this[_0x5f1269(0x1e7)];}[_0xd75a97(0x1b0)](_0x299d10){const _0x3384c8=_0xd75a97;this[_0x3384c8(0x1e7)]=_0x299d10;}[_0xd75a97(0x1eb)](_0x32ed81,_0x2bdbdc=0x0){const _0x35d1ab=_0xd75a97;let _0x210701=!0x1;for(let _0x3754cc=_0x2bdbdc;_0x3754cc<this[_0x35d1ab(0x1cc)][_0x35d1ab(0x1d5)];_0x3754cc++)this[_0x35d1ab(0x1e1)](_0x32ed81,_0x3754cc)&&(_0x210701=!0x0);return _0x210701;}[_0xd75a97(0x18e)](_0x46c1da,_0x47f9c2){const _0xda6f63=_0xd75a97,_0x58c992=_0x46c1da[_0xda6f63(0x1c2)](_0xda6f63(0x1be),{});return _0x46c1da[_0xda6f63(0x1c1)](_0x58c992,_0x47f9c2),this[_0xda6f63(0x19f)]=_0x58c992,_0x58c992;}[_0xd75a97(0x191)](_0x58da66){const _0x15b6f0=_0xd75a97;if(!this[_0x15b6f0(0x1cc)][_0x15b6f0(0x1d5)]||this[_0x15b6f0(0x19f)])return;const _0x49be7f=this[_0x15b6f0(0x1cc)][0x0][_0x15b6f0(0x1d9)][_0x15b6f0(0x1ba)],_0x1134e1=this[_0x15b6f0(0x18e)](_0x58da66,_0x49be7f);for(const _0x31d670 of this[_0x15b6f0(0x1cc)])_0x31d670[_0x15b6f0(0x1ae)][_0x15b6f0(0x1a2)]||_0x58da66[_0x15b6f0(0x19c)](_0x31d670[_0x15b6f0(0x1ae)],_0x1134e1,_0x15b6f0(0x19a));this[_0x15b6f0(0x1eb)](_0x58da66);}[_0xd75a97(0x1ca)](_0x1f63cf,_0x1722cc){const _0x4b3358=_0xd75a97;let _0x36c6e0=!0x1;const {inserted:_0x1ec428,removed:_0x58c5d5,moved:_0x243516}=this[_0x4b3358(0x1c0)][_0x4b3358(0x1bc)](_0x1722cc);if(_0x243516[_0x4b3358(0x1d5)]&&(this[_0x4b3358(0x19f)]=_0x243516[0x0]),_0x1ec428[_0x4b3358(0x1d5)]){if(_0x1ec428[_0x4b3358(0x1d5)]>0x1||this[_0x4b3358(0x19f)]&&_0x1ec428[_0x4b3358(0x196)](_0x2bf963=>_0x2bf963!==this[_0x4b3358(0x19f)])){const _0x56351d=_0x1f63cf[_0x4b3358(0x1c2)](_0x4b3358(0x1be),{}),_0x5c6407=[];this[_0x4b3358(0x19f)]&&_0x5c6407[_0x4b3358(0x18d)](this[_0x4b3358(0x19f)]),_0x5c6407[_0x4b3358(0x18d)](..._0x1ec428),_0x1f63cf[_0x4b3358(0x19c)](_0x56351d,_0x5c6407[0x0],_0x4b3358(0x1b9));for(const _0x4bd3d4 of _0x5c6407)_0x1f63cf[_0x4b3358(0x1b7)](_0x1f63cf[_0x4b3358(0x1a3)](_0x4bd3d4),_0x1f63cf[_0x4b3358(0x1bf)](_0x56351d,_0x4b3358(0x19a))),_0x1f63cf[_0x4b3358(0x1a0)](_0x4bd3d4);this[_0x4b3358(0x19f)]=_0x56351d,this[_0x4b3358(0x1eb)](_0x1f63cf),_0x36c6e0=!0x0;}else this[_0x4b3358(0x19f)]=_0x1ec428[0x0];}if(_0x58c5d5[_0x4b3358(0x1d5)]&&_0x4b3358(0x190)===this[_0x4b3358(0x19f)]?.[_0x4b3358(0x1ba)][_0x4b3358(0x19d)]){for(const _0x528ff3 of this[_0x4b3358(0x1cc)])_0x1f63cf[_0x4b3358(0x1a0)](_0x528ff3[_0x4b3358(0x1d9)]),_0x36c6e0=!0x0;this[_0x4b3358(0x1cc)]=[],this[_0x4b3358(0x19f)]=null;}return _0x36c6e0;}[_0xd75a97(0x1b5)](_0x2dbc53,_0xbefcd9){const _0x10cff9=_0xd75a97;let _0x2f64a0=!0x1;const _0x1c59f2=this[_0x10cff9(0x1e2)][_0x10cff9(0x1de)][_0x10cff9(0x1a7)](_0x10cff9(0x1b4)),{inserted:_0x8da60b,moved:_0x1934cf}=this[_0x10cff9(0x1b1)][_0x10cff9(0x1bc)](_0xbefcd9);for(const _0x10307a of[..._0x1934cf,..._0x8da60b]){const _0x10ac7e=_0x10307a[_0x10cff9(0x1d8)](_0x10cff9(0x19b)),_0x13d649=this[_0x10cff9(0x1e9)](_0x10ac7e);_0x13d649&&(_0x13d649[_0x10cff9(0x1ae)]=_0x10307a),_(_0x2dbc53,_0x1c59f2,_0x10307a)&&(_0x2f64a0=!0x0);}return _0x2f64a0;}[_0xd75a97(0x1a9)](_0x4f5c8a,_0x297565){const _0xf3cd95=_0xd75a97;let _0x1a5085=!0x1;const {removed:_0x522b3f,inserted:_0x58a5f1,moved:_0x541205}=this[_0xf3cd95(0x1d3)][_0xf3cd95(0x1bc)](_0x297565);for(const _0x4e5eb9 of _0x522b3f)this[_0xf3cd95(0x1ad)](_0x4f5c8a,_0x4e5eb9)&&(_0x1a5085=!0x0);for(const _0x2353e4 of _0x58a5f1)this[_0xf3cd95(0x19e)](_0x4f5c8a,_0x2353e4)&&(_0x1a5085=!0x0);for(const _0x4127ff of _0x541205)this[_0xf3cd95(0x1c6)](_0x4f5c8a,_0x4127ff)&&(_0x1a5085=!0x0);return _0x1a5085;}[_0xd75a97(0x1ce)](_0x4de8bc){const _0x12b91e=_0xd75a97;if(!this[_0x12b91e(0x19f)])return!0x1;let _0x303130=!0x1;if(this[_0x12b91e(0x19f)][_0x12b91e(0x1c3)]!==this[_0x12b91e(0x1cc)][_0x12b91e(0x1d5)]){const _0x2d156c=[];for(const _0x31c4d9 of this[_0x12b91e(0x19f)][_0x12b91e(0x1da)]()){const _0x3eb5fc=_0x31c4d9[_0x12b91e(0x1d8)](_0x12b91e(0x19b));this[_0x12b91e(0x1e9)](_0x3eb5fc)||(_0x2d156c[_0x12b91e(0x194)](_0x31c4d9),_0x303130=!0x0);}for(const _0x30b64d of _0x2d156c)_0x4de8bc[_0x12b91e(0x1a0)](_0x30b64d);}const _0xd26ee8=new Set(),_0x3a134d=[];for(const _0x503305 of this[_0x12b91e(0x19f)][_0x12b91e(0x1da)]()){const _0x55af4e=_0x503305[_0x12b91e(0x1d8)](_0x12b91e(0x19b));_0xd26ee8[_0x12b91e(0x192)](_0x55af4e)?(_0x3a134d[_0x12b91e(0x194)](_0x503305),_0x303130=!0x0):_0xd26ee8[_0x12b91e(0x1b3)](_0x55af4e);}for(const _0x572309 of _0x3a134d)_0x4de8bc[_0x12b91e(0x1a0)](_0x572309);return this[_0x12b91e(0x19f)][_0x12b91e(0x1c3)]||(_0x4de8bc[_0x12b91e(0x1a0)](this[_0x12b91e(0x19f)]),this[_0x12b91e(0x19f)]=null,_0x303130=!0x0),_0x303130;}[_0xd75a97(0x19e)](_0x8efb90,_0x494452){const _0x5eff92=_0xd75a97;if(this[_0x5eff92(0x1cc)][_0x5eff92(0x1cd)](_0x8579f1=>_0x8579f1[_0x5eff92(0x1d9)]===_0x494452))return!0x1;let _0x5641e0=!0x1;const _0x3b97f1=_0x494452[_0x5eff92(0x1d8)](_0x5eff92(0x19b)),_0x5b895c=this[_0x5eff92(0x1e9)](_0x3b97f1);_0x5b895c&&(_0x8efb90[_0x5eff92(0x1a0)](_0x5b895c[_0x5eff92(0x1d9)]),this[_0x5eff92(0x1cc)]=this[_0x5eff92(0x1cc)][_0x5eff92(0x195)](_0x42b9bb=>_0x42b9bb['id']!==_0x3b97f1),_0x5641e0=!0x0);let _0x398e0b=this[_0x5eff92(0x19f)]?function(_0x5f1fb2,_0x395a52){const _0x579680=_0x5eff92;for(const _0x45060f of _0x5f1fb2[_0x579680(0x1da)]())if(_0x45060f[_0x579680(0x1d8)](_0x579680(0x19b))===_0x395a52)return _0x45060f;return null;}(this[_0x5eff92(0x19f)],_0x3b97f1):null;_0x398e0b||(_0x398e0b=_0x8efb90[_0x5eff92(0x1c2)](_0x5eff92(0x1bb),{'footnoteId':_0x3b97f1}),this[_0x5eff92(0x19f)]&&(_0x8efb90[_0x5eff92(0x19c)](_0x398e0b,this[_0x5eff92(0x19f)],_0x5eff92(0x19a)),_0x5641e0=!0x0));const _0x56b3cb={'id':_0x3b97f1,'reference':_0x494452,'definition':_0x398e0b},_0xdb2baf=I(this[_0x5eff92(0x1e2)][_0x5eff92(0x198)],this[_0x5eff92(0x1cc)],_0x494452);return this[_0x5eff92(0x1cc)][_0x5eff92(0x197)](_0xdb2baf,0x0,_0x56b3cb),this[_0x5eff92(0x1eb)](_0x8efb90,_0xdb2baf)&&(_0x5641e0=!0x0),_0x5641e0;}[_0xd75a97(0x1ad)](_0x413a61,_0x17e0b1){const _0x326d17=_0xd75a97,_0x43b473=this[_0x326d17(0x1cc)][_0x326d17(0x1af)](_0xada931=>_0xada931['id']===_0x17e0b1);if(-0x1===_0x43b473)return!0x1;let _0x3ecbfd=!0x1;const _0x562367=this[_0x326d17(0x1cc)][_0x43b473];return _0x326d17(0x190)!==_0x562367[_0x326d17(0x1ae)][_0x326d17(0x1ba)][_0x326d17(0x19d)]&&(_0x413a61[_0x326d17(0x1a0)](_0x562367[_0x326d17(0x1ae)]),_0x3ecbfd=!0x0),this[_0x326d17(0x1cc)][_0x326d17(0x197)](_0x43b473,0x1),this[_0x326d17(0x1eb)](_0x413a61,_0x43b473)&&(_0x3ecbfd=!0x0),_0x3ecbfd;}[_0xd75a97(0x1c6)](_0x5d8c30,_0x547dfe){const _0x153f85=_0xd75a97,_0x818424=_0x547dfe[_0x153f85(0x1d8)](_0x153f85(0x19b)),_0x34c768=this[_0x153f85(0x1cc)][_0x153f85(0x1af)](_0x4666be=>_0x4666be['id']===_0x818424),_0x3a9014=this[_0x153f85(0x1cc)][_0x34c768];let _0xbbf175=!0x1;_0x3a9014[_0x153f85(0x1d9)]=_0x547dfe,this[_0x153f85(0x1cc)][_0x153f85(0x197)](_0x34c768,0x1);const _0x5b173a=I(this[_0x153f85(0x1e2)][_0x153f85(0x198)],this[_0x153f85(0x1cc)],_0x547dfe);return this[_0x153f85(0x1cc)][_0x153f85(0x197)](_0x5b173a,0x0,_0x3a9014),this[_0x153f85(0x1eb)](_0x5d8c30,Math[_0x153f85(0x1df)](_0x34c768,_0x5b173a))&&(_0xbbf175=!0x0),_0xbbf175;}[_0xd75a97(0x1e1)](_0x1fbd40,_0x2f5ac5){const _0x40d164=_0xd75a97;if(!this[_0x40d164(0x19f)])return!0x1;const _0x477c61=this[_0x40d164(0x1cc)][_0x2f5ac5];let _0x5f4271;return _0x5f4271=this[_0x40d164(0x1e7)]?this[_0x40d164(0x1e7)]({'footnote':_0x477c61,'container':this[_0x40d164(0x19f)],'digits':String(this[_0x40d164(0x1cc)][_0x40d164(0x1d5)])[_0x40d164(0x1d5)],'value':_0x2f5ac5+0x1}):String(_0x2f5ac5+0x1),_0x477c61[_0x40d164(0x1d9)][_0x40d164(0x1d8)](_0x40d164(0x18f))!=_0x5f4271&&(_0x1fbd40[_0x40d164(0x1a4)](_0x40d164(0x18f),_0x5f4271,_0x477c61[_0x40d164(0x1d9)]),!0x0);}[_0xd75a97(0x1bd)](_0x1459d4){const _0x16ee26=_0xd75a97;if(!this[_0x16ee26(0x19f)]||this[_0x16ee26(0x1cc)][_0x16ee26(0x1d5)]<0x2)return!0x1;if(function(_0x5d5074,_0x4b839b){const _0x42c0ad=_0x16ee26;if(_0x5d5074[_0x42c0ad(0x1d5)]!==_0x4b839b[_0x42c0ad(0x1d5)])return!0x1;for(let _0x4f9c37=0x0;_0x4f9c37<_0x5d5074[_0x42c0ad(0x1d5)];_0x4f9c37++)if(_0x5d5074[_0x4f9c37]!==_0x4b839b[_0x4f9c37])return!0x1;return!0x0;}(this[_0x16ee26(0x1cc)][_0x16ee26(0x1ec)](_0x15bc00=>_0x15bc00['id']),Array[_0x16ee26(0x1ab)](this[_0x16ee26(0x19f)][_0x16ee26(0x1da)]())[_0x16ee26(0x1ec)](_0x4cd36c=>_0x4cd36c[_0x16ee26(0x1d8)](_0x16ee26(0x19b)))))return!0x1;let _0x1b0a77=!0x1;for(let _0x34b56f=0x0;_0x34b56f<this[_0x16ee26(0x1cc)][_0x16ee26(0x1d5)];_0x34b56f++){const _0x4b23fc=this[_0x16ee26(0x1cc)][_0x34b56f],_0x56c333=_0x1459d4[_0x16ee26(0x199)](_0x4b23fc[_0x16ee26(0x1ae)]),_0x687c3c=_0x1459d4[_0x16ee26(0x1bf)](this[_0x16ee26(0x19f)],_0x34b56f);_0x56c333[_0x16ee26(0x1dd)](_0x687c3c)||(_0x1459d4[_0x16ee26(0x1b7)](_0x1459d4[_0x16ee26(0x1a5)](_0x4b23fc[_0x16ee26(0x1ae)]),_0x687c3c),_0x1b0a77=!0x0);}return _0x1b0a77;}[_0xd75a97(0x1e5)](_0x48acfd){const _0x53eb27=_0xd75a97;if(!this[_0x53eb27(0x1cc)][_0x53eb27(0x1d5)])return!0x1;const {model:_0x41657f}=this[_0x53eb27(0x1e2)];let _0x5ea9cf=!0x1;for(let _0x2e54c5=0x0;_0x2e54c5<this[_0x53eb27(0x1cc)][_0x53eb27(0x1d5)]-0x1;_0x2e54c5++){const _0x528aac=this[_0x53eb27(0x1cc)][_0x2e54c5],_0x475e11=this[_0x53eb27(0x1cc)][_0x2e54c5+0x1],_0x151208=_0x41657f[_0x53eb27(0x199)](_0x528aac[_0x53eb27(0x1d9)]),_0x3f208c=_0x41657f[_0x53eb27(0x199)](_0x475e11[_0x53eb27(0x1d9)]);_0x53eb27(0x1e4)===_0x151208[_0x53eb27(0x1e6)](_0x3f208c)&&(this[_0x53eb27(0x1c6)](_0x48acfd,_0x528aac[_0x53eb27(0x1d9)]),_0x2e54c5=-0x1,_0x5ea9cf=!0x0);}return _0x5ea9cf;}}function _(_0x439d13,_0x2b1b73,_0x3d9b22){const _0x472ac2=_0xd75a97;if(_0x3d9b22[_0x472ac2(0x1c3)])return!0x1;const _0x2cfc78=_0x2b1b73?_0x472ac2(0x1b8):_0x472ac2(0x1d6);return _0x439d13[_0x472ac2(0x19c)](_0x439d13[_0x472ac2(0x1c2)](_0x2cfc78),_0x3d9b22),!0x0;}function _0x5f4d(_0x2e0080,_0x5ce5d0){const _0x30789d=_0x3078();return _0x5f4d=function(_0x5f4da1,_0x5431cd){_0x5f4da1=_0x5f4da1-0x18d;let _0x3bb93a=_0x30789d[_0x5f4da1];return _0x3bb93a;},_0x5f4d(_0x2e0080,_0x5ce5d0);}function I(_0x6f1325,_0x46b2f9,_0x5d7588){const _0xa1c4eb=_0xd75a97;if(0x0===_0x46b2f9[_0xa1c4eb(0x1d5)])return 0x0;const _0x50854c=_0x6f1325[_0xa1c4eb(0x199)](_0x5d7588);for(let _0x51444f=0x0;_0x51444f<_0x46b2f9[_0xa1c4eb(0x1d5)];_0x51444f++){const _0x33293a=_0x46b2f9[_0x51444f],_0x11e366=_0x6f1325[_0xa1c4eb(0x199)](_0x33293a[_0xa1c4eb(0x1d9)]);if(_0xa1c4eb(0x1b9)===_0x50854c[_0xa1c4eb(0x1e6)](_0x11e366))return _0x51444f;}const _0x5ceb9a=_0x5d7588[_0xa1c4eb(0x1ba)];let _0x5b6906=-0x1;for(let _0x2937a7=_0x46b2f9[_0xa1c4eb(0x1d5)]-0x1;_0x2937a7>=0x0;_0x2937a7--)if(_0x46b2f9[_0x2937a7][_0xa1c4eb(0x1d9)][_0xa1c4eb(0x1ba)]===_0x5ceb9a){_0x5b6906=_0x2937a7;break;}if(-0x1!==_0x5b6906)return _0x5b6906+0x1;const _0x545c1c=_0x6f1325[_0xa1c4eb(0x1a1)][_0xa1c4eb(0x1cf)](),_0x4ef914=_0x545c1c[_0xa1c4eb(0x1c8)](_0x5ceb9a[_0xa1c4eb(0x19d)]),_0x43b743=_0x545c1c[_0x4ef914+0x1];if(_0x43b743){for(let _0x148924=0x0;_0x148924<_0x46b2f9[_0xa1c4eb(0x1d5)];_0x148924++)if(_0x46b2f9[_0x148924][_0xa1c4eb(0x1d9)][_0xa1c4eb(0x1ba)][_0xa1c4eb(0x19d)]===_0x43b743)return _0x148924;}return _0x46b2f9[_0xa1c4eb(0x1d5)];}
23
+ function _0x2924(_0x459cd1,_0x4205ca){const _0x149e00=_0x149e();return _0x2924=function(_0x29242b,_0x549854){_0x29242b=_0x29242b-0x67;let _0x1a56fa=_0x149e00[_0x29242b];return _0x1a56fa;},_0x2924(_0x459cd1,_0x4205ca);}const _0x2a0438=_0x2924;(function(_0x4ef276,_0x3d9c23){const _0x4e13ce=_0x2924,_0x111e56=_0x4ef276();while(!![]){try{const _0x15a778=parseInt(_0x4e13ce(0xac))/0x1*(parseInt(_0x4e13ce(0x68))/0x2)+-parseInt(_0x4e13ce(0x6d))/0x3*(parseInt(_0x4e13ce(0x78))/0x4)+-parseInt(_0x4e13ce(0xbd))/0x5*(parseInt(_0x4e13ce(0xb9))/0x6)+-parseInt(_0x4e13ce(0xb4))/0x7+parseInt(_0x4e13ce(0x90))/0x8*(-parseInt(_0x4e13ce(0xa2))/0x9)+parseInt(_0x4e13ce(0x85))/0xa+parseInt(_0x4e13ce(0xc0))/0xb*(parseInt(_0x4e13ce(0xbe))/0xc);if(_0x15a778===_0x3d9c23)break;else _0x111e56['push'](_0x111e56['shift']());}catch(_0x2b8e29){_0x111e56['push'](_0x111e56['shift']());}}}(_0x149e,0xb319e));import{Plugin as _0x1729e4}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x31185f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1729e4{[_0x2a0438(0xaf)]=[];[_0x2a0438(0x70)]=null;[_0x2a0438(0xa5)]=null;[_0x2a0438(0x6a)];[_0x2a0438(0xbc)];[_0x2a0438(0xbf)];static get[_0x2a0438(0xc1)](){const _0x464a19=_0x2a0438;return _0x464a19(0xa8);}static get[_0x2a0438(0x72)](){return!0x0;}static get[_0x2a0438(0x84)](){return!0x0;}constructor(_0x561779){const _0x4e7966=_0x2a0438;super(_0x561779),this[_0x4e7966(0x6a)]=new _0x31185f(this[_0x4e7966(0x89)][_0x4e7966(0x6f)],{'elementName':_0x4e7966(0x6c),'getElementKey':()=>_0x4e7966(0xc6)}),this[_0x4e7966(0xbc)]=new _0x31185f(this[_0x4e7966(0x89)][_0x4e7966(0x6f)],{'elementName':_0x4e7966(0x9d),'getElementKey':_0x599b8c=>_0x599b8c[_0x4e7966(0xc5)](_0x4e7966(0x8a))}),this[_0x4e7966(0xbf)]=new _0x31185f(this[_0x4e7966(0x89)][_0x4e7966(0x6f)],{'elementName':_0x4e7966(0xca),'getElementKey':_0x50d74b=>_0x50d74b[_0x4e7966(0xc5)](_0x4e7966(0x8a))});}[_0x2a0438(0x8d)](){const _0x2dd8f9=_0x2a0438,{editor:_0x5b1e17}=this,{model:_0x5b28e0}=_0x5b1e17;_0x5b28e0[_0x2dd8f9(0xa7)][_0x2dd8f9(0x97)](_0x1cd2ec=>{const _0x3e3494=_0x2dd8f9,_0x25dc6f=_0x5b28e0[_0x3e3494(0xa7)][_0x3e3494(0x91)][_0x3e3494(0xb8)]();let _0x6b4a06=!0x1;return this[_0x3e3494(0xb2)](_0x1cd2ec,_0x25dc6f)&&(_0x6b4a06=!0x0),this[_0x3e3494(0x77)](_0x1cd2ec,_0x25dc6f)&&(_0x6b4a06=!0x0),this[_0x3e3494(0x76)](_0x1cd2ec,_0x25dc6f)&&(_0x6b4a06=!0x0),this[_0x3e3494(0x67)](_0x1cd2ec)&&(_0x6b4a06=!0x0),this[_0x3e3494(0xba)](_0x1cd2ec)&&(_0x6b4a06=!0x0),this[_0x3e3494(0xb0)](_0x1cd2ec)&&(_0x6b4a06=!0x0),_0x6b4a06;}),this[_0x2dd8f9(0xb6)](_0x5b28e0[_0x2dd8f9(0xa7)],_0x2dd8f9(0x9f),()=>{const _0x1c7c78=_0x2dd8f9;_0x5b28e0[_0x1c7c78(0xa0)]({'isUndoable':!0x1},_0x28846e=>{const _0x25d466=_0x1c7c78;this[_0x25d466(0x9e)](_0x28846e);});},{'priority':_0x2dd8f9(0x87)});}[_0x2a0438(0x74)](){const _0x559daf=_0x2a0438;return this[_0x559daf(0x70)];}[_0x2a0438(0x7c)](_0x35fb2e){const _0x35e1d8=_0x2a0438;return this[_0x35e1d8(0xaf)][_0x35e1d8(0xab)](_0x356bc1=>_0x356bc1['id']===_0x35fb2e)||null;}[_0x2a0438(0x7b)](){const _0x12b449=_0x2a0438;return Array[_0x12b449(0x6e)](this[_0x12b449(0xaf)]);}[_0x2a0438(0x7d)](){const _0x289969=_0x2a0438;return this[_0x289969(0xa5)];}[_0x2a0438(0x75)](_0x54ff03){const _0x40c37c=_0x2a0438;this[_0x40c37c(0xa5)]=_0x54ff03;}[_0x2a0438(0x73)](_0x468b32,_0x155012=0x0){const _0x279753=_0x2a0438;let _0x53faf0=!0x1;for(let _0x550b6b=_0x155012;_0x550b6b<this[_0x279753(0xaf)][_0x279753(0x8e)];_0x550b6b++)this[_0x279753(0xad)](_0x468b32,_0x550b6b)&&(_0x53faf0=!0x0);return _0x53faf0;}[_0x2a0438(0x7e)](_0x5dded0,_0x261dbe){const _0x33854a=_0x2a0438,_0x5ea66e=_0x5dded0[_0x33854a(0x95)](_0x33854a(0x6c),{});return _0x5dded0[_0x33854a(0xc7)](_0x5ea66e,_0x261dbe),this[_0x33854a(0x70)]=_0x5ea66e,_0x5ea66e;}[_0x2a0438(0x9e)](_0x44b0c2){const _0x32ca01=_0x2a0438;if(!this[_0x32ca01(0xaf)][_0x32ca01(0x8e)]||this[_0x32ca01(0x70)])return;const _0x1e8180=this[_0x32ca01(0xaf)][0x0][_0x32ca01(0xbb)][_0x32ca01(0xc2)],_0x4f738b=this[_0x32ca01(0x7e)](_0x44b0c2,_0x1e8180);for(const _0x5e06fd of this[_0x32ca01(0xaf)])_0x5e06fd[_0x32ca01(0x86)][_0x32ca01(0xa1)]||_0x44b0c2[_0x32ca01(0xa6)](_0x5e06fd[_0x32ca01(0x86)],_0x4f738b,_0x32ca01(0x9c));this[_0x32ca01(0x73)](_0x44b0c2);}[_0x2a0438(0xb2)](_0x1eae17,_0x905ef9){const _0x5ea311=_0x2a0438;let _0x21b668=!0x1;const {inserted:_0xaec386,removed:_0x18d0fe,moved:_0xca4611}=this[_0x5ea311(0x6a)][_0x5ea311(0xb8)](_0x905ef9);if(_0xca4611[_0x5ea311(0x8e)]&&(this[_0x5ea311(0x70)]=_0xca4611[0x0]),_0xaec386[_0x5ea311(0x8e)]){if(_0xaec386[_0x5ea311(0x8e)]>0x1||this[_0x5ea311(0x70)]&&_0xaec386[_0x5ea311(0xc9)](_0x1c1fba=>_0x1c1fba!==this[_0x5ea311(0x70)])){const _0x5eb433=_0x1eae17[_0x5ea311(0x95)](_0x5ea311(0x6c),{}),_0x3ebdd0=[];this[_0x5ea311(0x70)]&&_0x3ebdd0[_0x5ea311(0x96)](this[_0x5ea311(0x70)]),_0x3ebdd0[_0x5ea311(0x96)](..._0xaec386),_0x1eae17[_0x5ea311(0xa6)](_0x5eb433,_0x3ebdd0[0x0],_0x5ea311(0xcb));for(const _0x4596bf of _0x3ebdd0)_0x1eae17[_0x5ea311(0x8f)](_0x1eae17[_0x5ea311(0x8c)](_0x4596bf),_0x1eae17[_0x5ea311(0x79)](_0x5eb433,_0x5ea311(0x9c))),_0x1eae17[_0x5ea311(0xb7)](_0x4596bf);this[_0x5ea311(0x70)]=_0x5eb433,this[_0x5ea311(0x73)](_0x1eae17),_0x21b668=!0x0;}else this[_0x5ea311(0x70)]=_0xaec386[0x0];}if(_0x18d0fe[_0x5ea311(0x8e)]&&_0x5ea311(0xb1)===this[_0x5ea311(0x70)]?.[_0x5ea311(0xc2)][_0x5ea311(0x7f)]){for(const _0x1f0018 of this[_0x5ea311(0xaf)])_0x1eae17[_0x5ea311(0xb7)](_0x1f0018[_0x5ea311(0xbb)]),_0x21b668=!0x0;this[_0x5ea311(0xaf)]=[],this[_0x5ea311(0x70)]=null;}return _0x21b668;}[_0x2a0438(0x77)](_0x19a624,_0x457c51){const _0x821ffb=_0x2a0438;let _0xb32f58=!0x1;const _0xa3439b=this[_0x821ffb(0x89)][_0x821ffb(0x6b)][_0x821ffb(0x80)](_0x821ffb(0x9a)),{inserted:_0x2ee4f3,moved:_0x2070c4}=this[_0x821ffb(0xbf)][_0x821ffb(0xb8)](_0x457c51);for(const _0x110737 of[..._0x2070c4,..._0x2ee4f3]){const _0x3b0460=_0x110737[_0x821ffb(0xc5)](_0x821ffb(0x8a)),_0x4f5e8e=this[_0x821ffb(0x7c)](_0x3b0460);_0x4f5e8e&&(_0x4f5e8e[_0x821ffb(0x86)]=_0x110737),_(_0x19a624,_0xa3439b,_0x110737)&&(_0xb32f58=!0x0);}return _0xb32f58;}[_0x2a0438(0x76)](_0x3c8d78,_0x3e14b3){const _0x165c24=_0x2a0438;let _0x4c8155=!0x1;const {removed:_0x3ee52e,inserted:_0x4f45b7,moved:_0x343810}=this[_0x165c24(0xbc)][_0x165c24(0xb8)](_0x3e14b3);for(const _0x3e8d26 of _0x3ee52e)this[_0x165c24(0xc3)](_0x3c8d78,_0x3e8d26)&&(_0x4c8155=!0x0);for(const _0x4eb4ec of _0x4f45b7)this[_0x165c24(0xa4)](_0x3c8d78,_0x4eb4ec)&&(_0x4c8155=!0x0);for(const _0x3fa69f of _0x343810)this[_0x165c24(0x7a)](_0x3c8d78,_0x3fa69f)&&(_0x4c8155=!0x0);return _0x4c8155;}[_0x2a0438(0xba)](_0x506846){const _0x482e2c=_0x2a0438;if(!this[_0x482e2c(0x70)])return!0x1;let _0x45caa5=!0x1;if(this[_0x482e2c(0x70)][_0x482e2c(0x8b)]!==this[_0x482e2c(0xaf)][_0x482e2c(0x8e)]){const _0x32f4c8=[];for(const _0x54823d of this[_0x482e2c(0x70)][_0x482e2c(0x9b)]()){const _0xb04651=_0x54823d[_0x482e2c(0xc5)](_0x482e2c(0x8a));this[_0x482e2c(0x7c)](_0xb04651)||(_0x32f4c8[_0x482e2c(0x93)](_0x54823d),_0x45caa5=!0x0);}for(const _0x2c23e2 of _0x32f4c8)_0x506846[_0x482e2c(0xb7)](_0x2c23e2);}const _0x436416=new Set(),_0x121ad9=[];for(const _0x1bc137 of this[_0x482e2c(0x70)][_0x482e2c(0x9b)]()){const _0x35919b=_0x1bc137[_0x482e2c(0xc5)](_0x482e2c(0x8a));_0x436416[_0x482e2c(0xb5)](_0x35919b)?(_0x121ad9[_0x482e2c(0x93)](_0x1bc137),_0x45caa5=!0x0):_0x436416[_0x482e2c(0xae)](_0x35919b);}for(const _0x2ff27a of _0x121ad9)_0x506846[_0x482e2c(0xb7)](_0x2ff27a);return this[_0x482e2c(0x70)][_0x482e2c(0x8b)]||(_0x506846[_0x482e2c(0xb7)](this[_0x482e2c(0x70)]),this[_0x482e2c(0x70)]=null,_0x45caa5=!0x0),_0x45caa5;}[_0x2a0438(0xa4)](_0x557420,_0x265abb){const _0x27e50e=_0x2a0438;if(this[_0x27e50e(0xaf)][_0x27e50e(0xab)](_0x5942ca=>_0x5942ca[_0x27e50e(0xbb)]===_0x265abb))return!0x1;let _0x4929fd=!0x1;const _0x3475ff=_0x265abb[_0x27e50e(0xc5)](_0x27e50e(0x8a)),_0x16187b=this[_0x27e50e(0x7c)](_0x3475ff);_0x16187b&&(_0x557420[_0x27e50e(0xb7)](_0x16187b[_0x27e50e(0xbb)]),this[_0x27e50e(0xaf)]=this[_0x27e50e(0xaf)][_0x27e50e(0x92)](_0x59a55a=>_0x59a55a['id']!==_0x3475ff),_0x4929fd=!0x0);let _0x25f6a9=this[_0x27e50e(0x70)]?function(_0x3d550c,_0x446f85){const _0x54cde7=_0x27e50e;for(const _0x577645 of _0x3d550c[_0x54cde7(0x9b)]())if(_0x577645[_0x54cde7(0xc5)](_0x54cde7(0x8a))===_0x446f85)return _0x577645;return null;}(this[_0x27e50e(0x70)],_0x3475ff):null;_0x25f6a9||(_0x25f6a9=_0x557420[_0x27e50e(0x95)](_0x27e50e(0xca),{'footnoteId':_0x3475ff}),this[_0x27e50e(0x70)]&&(_0x557420[_0x27e50e(0xa6)](_0x25f6a9,this[_0x27e50e(0x70)],_0x27e50e(0x9c)),_0x4929fd=!0x0));const _0x42286b={'id':_0x3475ff,'reference':_0x265abb,'definition':_0x25f6a9},_0x1a33b3=I(this[_0x27e50e(0x89)][_0x27e50e(0x6f)],this[_0x27e50e(0xaf)],_0x265abb);return this[_0x27e50e(0xaf)][_0x27e50e(0xaa)](_0x1a33b3,0x0,_0x42286b),this[_0x27e50e(0x73)](_0x557420,_0x1a33b3)&&(_0x4929fd=!0x0),_0x4929fd;}[_0x2a0438(0xc3)](_0x1f96b5,_0x29e890){const _0x2d412f=_0x2a0438,_0x1331bb=this[_0x2d412f(0xaf)][_0x2d412f(0x88)](_0x2f7e22=>_0x2f7e22['id']===_0x29e890);if(-0x1===_0x1331bb)return!0x1;let _0x12240f=!0x1;const _0x43d6a5=this[_0x2d412f(0xaf)][_0x1331bb];return _0x2d412f(0xb1)!==_0x43d6a5[_0x2d412f(0x86)][_0x2d412f(0xc2)][_0x2d412f(0x7f)]&&(_0x1f96b5[_0x2d412f(0xb7)](_0x43d6a5[_0x2d412f(0x86)]),_0x12240f=!0x0),this[_0x2d412f(0xaf)][_0x2d412f(0xaa)](_0x1331bb,0x1),this[_0x2d412f(0x73)](_0x1f96b5,_0x1331bb)&&(_0x12240f=!0x0),_0x12240f;}[_0x2a0438(0x7a)](_0x45440c,_0x6dd1d){const _0x1e1f8f=_0x2a0438,_0x3c6a21=_0x6dd1d[_0x1e1f8f(0xc5)](_0x1e1f8f(0x8a)),_0x1a5b91=this[_0x1e1f8f(0xaf)][_0x1e1f8f(0x88)](_0x548f45=>_0x548f45['id']===_0x3c6a21),_0x50ac5b=this[_0x1e1f8f(0xaf)][_0x1a5b91];let _0x4a9c01=!0x1;_0x50ac5b[_0x1e1f8f(0xbb)]=_0x6dd1d,this[_0x1e1f8f(0xaf)][_0x1e1f8f(0xaa)](_0x1a5b91,0x1);const _0x43f5f8=I(this[_0x1e1f8f(0x89)][_0x1e1f8f(0x6f)],this[_0x1e1f8f(0xaf)],_0x6dd1d);return this[_0x1e1f8f(0xaf)][_0x1e1f8f(0xaa)](_0x43f5f8,0x0,_0x50ac5b),this[_0x1e1f8f(0x73)](_0x45440c,Math[_0x1e1f8f(0x69)](_0x1a5b91,_0x43f5f8))&&(_0x4a9c01=!0x0),_0x4a9c01;}[_0x2a0438(0xad)](_0x1eb44f,_0x518f66){const _0x41a204=_0x2a0438;if(!this[_0x41a204(0x70)])return!0x1;const _0x796947=this[_0x41a204(0xaf)][_0x518f66];let _0x227f2a;return _0x227f2a=this[_0x41a204(0xa5)]?this[_0x41a204(0xa5)]({'footnote':_0x796947,'container':this[_0x41a204(0x70)],'digits':String(this[_0x41a204(0xaf)][_0x41a204(0x8e)])[_0x41a204(0x8e)],'value':_0x518f66+0x1}):String(_0x518f66+0x1),_0x796947[_0x41a204(0xbb)][_0x41a204(0xc5)](_0x41a204(0x81))!=_0x227f2a&&(_0x1eb44f[_0x41a204(0x83)](_0x41a204(0x81),_0x227f2a,_0x796947[_0x41a204(0xbb)]),!0x0);}[_0x2a0438(0xb0)](_0x480cc5){const _0x3d9b70=_0x2a0438;if(!this[_0x3d9b70(0x70)]||this[_0x3d9b70(0xaf)][_0x3d9b70(0x8e)]<0x2)return!0x1;if(function(_0x1b4042,_0x25bc8f){const _0x2f4850=_0x3d9b70;if(_0x1b4042[_0x2f4850(0x8e)]!==_0x25bc8f[_0x2f4850(0x8e)])return!0x1;for(let _0x2f1e4d=0x0;_0x2f1e4d<_0x1b4042[_0x2f4850(0x8e)];_0x2f1e4d++)if(_0x1b4042[_0x2f1e4d]!==_0x25bc8f[_0x2f1e4d])return!0x1;return!0x0;}(this[_0x3d9b70(0xaf)][_0x3d9b70(0xc4)](_0x2ad5b0=>_0x2ad5b0['id']),Array[_0x3d9b70(0x6e)](this[_0x3d9b70(0x70)][_0x3d9b70(0x9b)]())[_0x3d9b70(0xc4)](_0x235d3f=>_0x235d3f[_0x3d9b70(0xc5)](_0x3d9b70(0x8a)))))return!0x1;let _0x435012=!0x1;for(let _0x37f313=0x0;_0x37f313<this[_0x3d9b70(0xaf)][_0x3d9b70(0x8e)];_0x37f313++){const _0x38de67=this[_0x3d9b70(0xaf)][_0x37f313],_0x530b54=_0x480cc5[_0x3d9b70(0x99)](_0x38de67[_0x3d9b70(0x86)]),_0x49790a=_0x480cc5[_0x3d9b70(0x79)](this[_0x3d9b70(0x70)],_0x37f313);_0x530b54[_0x3d9b70(0x82)](_0x49790a)||(_0x480cc5[_0x3d9b70(0x8f)](_0x480cc5[_0x3d9b70(0x71)](_0x38de67[_0x3d9b70(0x86)]),_0x49790a),_0x435012=!0x0);}return _0x435012;}[_0x2a0438(0x67)](_0x1b67bb){const _0x48ea7d=_0x2a0438;if(!this[_0x48ea7d(0xaf)][_0x48ea7d(0x8e)])return!0x1;const {model:_0x52f343}=this[_0x48ea7d(0x89)];let _0x5aae37=!0x1;for(let _0x567fc4=0x0;_0x567fc4<this[_0x48ea7d(0xaf)][_0x48ea7d(0x8e)]-0x1;_0x567fc4++){const _0x46c8d8=this[_0x48ea7d(0xaf)][_0x567fc4],_0x204635=this[_0x48ea7d(0xaf)][_0x567fc4+0x1],_0x38fd44=_0x52f343[_0x48ea7d(0x99)](_0x46c8d8[_0x48ea7d(0xbb)]),_0x55657f=_0x52f343[_0x48ea7d(0x99)](_0x204635[_0x48ea7d(0xbb)]);_0x48ea7d(0xa3)===_0x38fd44[_0x48ea7d(0xc8)](_0x55657f)&&(this[_0x48ea7d(0x7a)](_0x1b67bb,_0x46c8d8[_0x48ea7d(0xbb)]),_0x567fc4=-0x1,_0x5aae37=!0x0);}return _0x5aae37;}}function _(_0x44fdd5,_0x243506,_0x834593){const _0x1c9b60=_0x2a0438;if(_0x834593[_0x1c9b60(0x8b)])return!0x1;const _0x30c086=_0x243506?_0x1c9b60(0x98):_0x1c9b60(0x94);return _0x44fdd5[_0x1c9b60(0xa6)](_0x44fdd5[_0x1c9b60(0x95)](_0x30c086),_0x834593),!0x0;}function _0x149e(){const _0x144de4=['unshift','footnoteInlineContent','createElement','push','registerPostFixer','paragraph','createPositionBefore','footnotes.multiBlock','getChildren','end','footnoteRef','_ensureFootnotesDefinitionsContainerExists','change:data','enqueueChange','parent','1415277EqFZSf','after','_handleInsertedFootnoteReference','_footnoteFormatter','insert','document','FootnotesTracker','indexOf','splice','find','57325gqRFSY','_updateFootnoteRefCounter','add','_footnotes','_sortFootnoteDefinitions','$graveyard','_handleFootnotesDefinitionsObjectChanges','getRootNames','9395561UBkQha','has','listenTo','remove','getChanges','6FpQWcs','_handleFootnotesDefinitionsObjectSync','reference','_footnoteRefsTracker','5657105uLkylt','12WCPLop','_footnoteDefsTracker','45097789SnWkJh','pluginName','root','_handleRemoveFootnoteReferenceById','map','getAttribute','singleton','append','compareWith','some','footnoteDefinition','before','_ensureFootnotesReferencesHaveProperOrder','10xoOvkC','min','_footnoteDefsContainerTracker','config','footnotesDefinitions','3YqRuVO','from','model','_footnotesDefinitions','createRangeOn','isOfficialPlugin','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','setFootnoteFormatter','_handleFootnoteReferencesChanges','_handleFootnoteDefinitionsChanges','4890712bnnJyv','createPositionAt','_handleMovedFootnoteReference','getFootnotes','getFootnote','getFootnotesFormatter','_insertEmptyFootnotesDefinitionsContainer','rootName','get','footnoteCounter','isEqual','setAttribute','isPremiumPlugin','13015200kMUDrl','definition','low','findIndex','editor','footnoteId','childCount','createRangeIn','init','length','move','64QRgHpu','differ','filter'];_0x149e=function(){return _0x144de4;};return _0x149e();}function I(_0x34ab34,_0x3f71dc,_0x5aef8a){const _0x3bfeaa=_0x2a0438;if(0x0===_0x3f71dc[_0x3bfeaa(0x8e)])return 0x0;const _0xcd5c6b=_0x34ab34[_0x3bfeaa(0x99)](_0x5aef8a);for(let _0x1bb739=0x0;_0x1bb739<_0x3f71dc[_0x3bfeaa(0x8e)];_0x1bb739++){const _0x46092f=_0x3f71dc[_0x1bb739],_0x2b1abe=_0x34ab34[_0x3bfeaa(0x99)](_0x46092f[_0x3bfeaa(0xbb)]);if(_0x3bfeaa(0xcb)===_0xcd5c6b[_0x3bfeaa(0xc8)](_0x2b1abe))return _0x1bb739;}const _0x5a4165=_0x5aef8a[_0x3bfeaa(0xc2)];let _0xb76d8e=-0x1;for(let _0x52cb54=_0x3f71dc[_0x3bfeaa(0x8e)]-0x1;_0x52cb54>=0x0;_0x52cb54--)if(_0x3f71dc[_0x52cb54][_0x3bfeaa(0xbb)][_0x3bfeaa(0xc2)]===_0x5a4165){_0xb76d8e=_0x52cb54;break;}if(-0x1!==_0xb76d8e)return _0xb76d8e+0x1;const _0xcee133=_0x34ab34[_0x3bfeaa(0xa7)][_0x3bfeaa(0xb3)](),_0x449ed4=_0xcee133[_0x3bfeaa(0xa9)](_0x5a4165[_0x3bfeaa(0x7f)]),_0xeb73b1=_0xcee133[_0x449ed4+0x1];if(_0xeb73b1){for(let _0x59b265=0x0;_0x59b265<_0x3f71dc[_0x3bfeaa(0x8e)];_0x59b265++)if(_0x3f71dc[_0x59b265][_0x3bfeaa(0xbb)][_0x3bfeaa(0xc2)][_0x3bfeaa(0x7f)]===_0xeb73b1)return _0x59b265;}return _0x3f71dc[_0x3bfeaa(0x8e)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3302b8,MenuBarMenuListItemButtonView as _0x473273}from'ckeditor5/src/ui.js';import{Plugin as _0x2793dd}from'ckeditor5/src/core.js';import{IconFootnote as _0x3c2cc3}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2793dd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x314ab7}=this,{componentFactory:_0x3b51b9}=_0x314ab7['ui'];_0x3b51b9['add']('insertFootnote',v(_0x314ab7,_0x3302b8)),_0x3b51b9['add']('menuBar:insertFootnote',v(_0x314ab7,_0x473273)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1bb122=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x283a31;for(const _0xa891c4 in _0x1bb122){const _0x16f548=_0xa891c4,_0x1b5cd4=_0x1bb122[_0x16f548];if('footnotesLicenseKeyValid'==_0x1b5cd4||'footnotesLicenseKeyInvalid'==_0x1b5cd4||'footnotesLicenseKeyExpired'==_0x1b5cd4||'footnotesLicenseKeyDomainLimit'==_0x1b5cd4||'footnotesLicenseKeyNotAllowed'==_0x1b5cd4||'footnotesLicenseKeyEvaluationLimit'==_0x1b5cd4||'footnotesLicenseKeyTrialLimit'==_0x1b5cd4||'footnotesLicenseKeyUsageLimit'==_0x1b5cd4){delete _0x1bb122[_0x16f548],_0x283a31=_0x1b5cd4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x283a31&&_0x1bb122['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x283a31&&_0x1bb122['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x283a31&&_0x1bb122['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x283a31&&_0x1bb122['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x283a31&&_0x1bb122['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x283a31&&_0x1bb122['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x283a31&&_0x1bb122['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function v(_0x218ed2,_0x4a9880){const _0x43ba9b=_0x218ed2['commands']['get']('insertFootnote');return _0x115fdf=>{const {t:t}=_0x115fdf,_0x109748=new _0x4a9880(_0x115fdf),_0x324007=_0x109748 instanceof _0x473273;return _0x109748['bind']('isEnabled')['to'](_0x43ba9b,'isEnabled'),_0x109748['set']({'label':t(_0x324007?'Footnote':'Insert\x20footnote'),'icon':_0x3c2cc3,'tooltip':!0x0}),_0x109748['on']('execute',()=>{_0x43ba9b['execute'](),_0x218ed2['editing']['view']['focus']();}),_0x109748;};}
23
+ import{ButtonView as _0x2557b7,MenuBarMenuListItemButtonView as _0x3eb056}from'ckeditor5/src/ui.js';import{Plugin as _0x44427c}from'ckeditor5/src/core.js';import{IconFootnote as _0xd71e05}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x44427c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25c161}=this,{componentFactory:_0x2cc04e}=_0x25c161['ui'];_0x2cc04e['add']('insertFootnote',v(_0x25c161,_0x2557b7)),_0x2cc04e['add']('menuBar:insertFootnote',v(_0x25c161,_0x3eb056)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x33eb7e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x443701;for(const _0x5e6ac7 in _0x33eb7e){const _0x136062=_0x5e6ac7,_0x5a71df=_0x33eb7e[_0x136062];if('footnotesLicenseKeyValid'==_0x5a71df||'footnotesLicenseKeyInvalid'==_0x5a71df||'footnotesLicenseKeyExpired'==_0x5a71df||'footnotesLicenseKeyDomainLimit'==_0x5a71df||'footnotesLicenseKeyNotAllowed'==_0x5a71df||'footnotesLicenseKeyEvaluationLimit'==_0x5a71df||'footnotesLicenseKeyTrialLimit'==_0x5a71df||'footnotesLicenseKeyUsageLimit'==_0x5a71df){delete _0x33eb7e[_0x136062],_0x443701=_0x5a71df,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x443701&&_0x33eb7e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x443701&&_0x33eb7e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x443701&&_0x33eb7e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function v(_0x66b4ea,_0x13d1f2){const _0x50f5c5=_0x66b4ea['commands']['get']('insertFootnote');return _0x2e22c5=>{const {t:t}=_0x2e22c5,_0x394617=new _0x13d1f2(_0x2e22c5),_0x183787=_0x394617 instanceof _0x3eb056;return _0x394617['bind']('isEnabled')['to'](_0x50f5c5,'isEnabled'),_0x394617['set']({'label':t(_0x183787?'Footnote':'Insert\x20footnote'),'icon':_0xd71e05,'tooltip':!0x0}),_0x394617['on']('execute',()=>{_0x50f5c5['execute'](),_0x66b4ea['editing']['view']['focus']();}),_0x394617;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5ee129,_0x12afce){var _0x4f6da0=_0x2693,_0x4528b9=_0x5ee129();while(!![]){try{var _0x58c7f5=-parseInt(_0x4f6da0(0x86))/0x1*(-parseInt(_0x4f6da0(0x87))/0x2)+parseInt(_0x4f6da0(0x85))/0x3*(parseInt(_0x4f6da0(0x8d))/0x4)+parseInt(_0x4f6da0(0x8c))/0x5*(parseInt(_0x4f6da0(0x8a))/0x6)+parseInt(_0x4f6da0(0x8f))/0x7+-parseInt(_0x4f6da0(0x88))/0x8*(parseInt(_0x4f6da0(0x8e))/0x9)+-parseInt(_0x4f6da0(0x90))/0xa+parseInt(_0x4f6da0(0x89))/0xb*(-parseInt(_0x4f6da0(0x8b))/0xc);if(_0x58c7f5===_0x12afce)break;else _0x4528b9['push'](_0x4528b9['shift']());}catch(_0xbe316d){_0x4528b9['push'](_0x4528b9['shift']());}}}(_0x3b53,0x9b292));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x2693(_0x331359,_0xf44baa){var _0x3b53a4=_0x3b53();return _0x2693=function(_0x2693fb,_0x447d4e){_0x2693fb=_0x2693fb-0x85;var _0x3f2d5e=_0x3b53a4[_0x2693fb];return _0x3f2d5e;},_0x2693(_0x331359,_0xf44baa);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x3b53(){var _0x22d5df=['4500EiSuwl','2057395uTrJWx','115124hxbkTM','18eRhhGK','5822257DWICGP','3517460ZyaKZh','9JKpCIi','4MPGBMd','579946zsaaym','3296056hTGmls','44033kLtgaN','18pTgqST'];_0x3b53=function(){return _0x22d5df;};return _0x3b53();}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';
23
+ function _0x570b(_0x184a15,_0x2ba9ae){var _0x5eeed1=_0x5eee();return _0x570b=function(_0x570b0e,_0x29b834){_0x570b0e=_0x570b0e-0x1f3;var _0x52059b=_0x5eeed1[_0x570b0e];return _0x52059b;},_0x570b(_0x184a15,_0x2ba9ae);}(function(_0x3e86d8,_0x437f76){var _0x46e4d2=_0x570b,_0x3f3ac6=_0x3e86d8();while(!![]){try{var _0x3c469f=parseInt(_0x46e4d2(0x1f4))/0x1+parseInt(_0x46e4d2(0x1fc))/0x2*(parseInt(_0x46e4d2(0x1f6))/0x3)+-parseInt(_0x46e4d2(0x1f3))/0x4*(parseInt(_0x46e4d2(0x1f9))/0x5)+-parseInt(_0x46e4d2(0x1f5))/0x6*(parseInt(_0x46e4d2(0x1fe))/0x7)+-parseInt(_0x46e4d2(0x1f7))/0x8+-parseInt(_0x46e4d2(0x1f8))/0x9*(-parseInt(_0x46e4d2(0x1fd))/0xa)+-parseInt(_0x46e4d2(0x1fa))/0xb*(-parseInt(_0x46e4d2(0x1fb))/0xc);if(_0x3c469f===_0x437f76)break;else _0x3f3ac6['push'](_0x3f3ac6['shift']());}catch(_0x47dea9){_0x3f3ac6['push'](_0x3f3ac6['shift']());}}}(_0x5eee,0x32632));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';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x5eee(){var _0x2d5634=['1502485NVHDEE','2414533BsGpiQ','12exreHZ','579754VTLExu','28790Quhqeu','5733IEpqhj','4HsJqsE','64626qAfPfJ','558XfsyDQ','3fGFvrE','1148344olTHji','477hTouyP'];_0x5eee=function(){return _0x2d5634;};return _0x5eee();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x796d(_0x13b4ba,_0x4121d7){const _0x44756f=_0x4475();return _0x796d=function(_0x796d11,_0x5850e3){_0x796d11=_0x796d11-0x17b;let _0x5820d6=_0x44756f[_0x796d11];return _0x5820d6;},_0x796d(_0x13b4ba,_0x4121d7);}const _0x23a228=_0x796d;(function(_0x433aab,_0x6f0ef1){const _0x4f19f5=_0x796d,_0x244332=_0x433aab();while(!![]){try{const _0x4cf767=parseInt(_0x4f19f5(0x198))/0x1*(parseInt(_0x4f19f5(0x199))/0x2)+parseInt(_0x4f19f5(0x19b))/0x3*(parseInt(_0x4f19f5(0x18e))/0x4)+-parseInt(_0x4f19f5(0x197))/0x5+parseInt(_0x4f19f5(0x190))/0x6*(-parseInt(_0x4f19f5(0x1a2))/0x7)+parseInt(_0x4f19f5(0x186))/0x8*(parseInt(_0x4f19f5(0x181))/0x9)+parseInt(_0x4f19f5(0x18c))/0xa+-parseInt(_0x4f19f5(0x185))/0xb*(parseInt(_0x4f19f5(0x17e))/0xc);if(_0x4cf767===_0x6f0ef1)break;else _0x244332['push'](_0x244332['shift']());}catch(_0x50a6d2){_0x244332['push'](_0x244332['shift']());}}}(_0x4475,0x72e1b));function _0x4475(){const _0x41bc8a=['36vrcYVZ','getChanges','remove','2064537bqyjrc','element','position','slice','1590897UMdSCi','32CzHjpx','push','name','set','root','rootName','2737700ylPQYG','get','12WrUjsN','_trackedElements','646446YzqAda','_elementName','attributes','nodeAfter','from','_model','flat','4677080uCdGlT','830825DdkXSw','2uauVVi','$graveyard','248649RBvbJt','elementName','_getElementKey','createRangeOn','type','values','length','28HPBIzd','$text','insert','getItems','add','has','getElementKey','delete'];_0x4475=function(){return _0x41bc8a;};return _0x4475();}export class ModelElementTracker{[_0x23a228(0x195)];[_0x23a228(0x191)];[_0x23a228(0x19d)];[_0x23a228(0x18f)]=new Map();constructor(_0x40ce30,_0x1703ca){const _0x274189=_0x23a228;this[_0x274189(0x195)]=_0x40ce30,this[_0x274189(0x191)]=_0x1703ca[_0x274189(0x19c)],this[_0x274189(0x19d)]=_0x1703ca[_0x274189(0x17c)];}[_0x23a228(0x17f)](_0x32a35d){const _0x5ea778=_0x23a228,_0x3da474=new Set(),_0x5a0754=new Map();for(const _0x1f49cc of _0x32a35d){if(_0x5ea778(0x1a4)===_0x1f49cc[_0x5ea778(0x19f)]&&_0x5ea778(0x1a3)!==_0x1f49cc[_0x5ea778(0x188)]&&_0x1f49cc[_0x5ea778(0x183)][_0x5ea778(0x193)]){const _0x9ad997=this[_0x5ea778(0x195)][_0x5ea778(0x19e)](_0x1f49cc[_0x5ea778(0x183)][_0x5ea778(0x193)]);for(const _0x3f3cd9 of _0x9ad997[_0x5ea778(0x1a5)]()){if(!_0x3f3cd9['is'](_0x5ea778(0x182),this[_0x5ea778(0x191)]))continue;const _0x16d2c8=this[_0x5ea778(0x19d)](_0x3f3cd9);_0x5a0754[_0x5ea778(0x17b)](_0x16d2c8)||_0x5a0754[_0x5ea778(0x189)](_0x16d2c8,[]),_0x5a0754[_0x5ea778(0x18d)](_0x16d2c8)[_0x5ea778(0x187)](_0x3f3cd9);}}if(_0x5ea778(0x180)===_0x1f49cc[_0x5ea778(0x19f)]&&_0x1f49cc[_0x5ea778(0x188)]===this[_0x5ea778(0x191)]){const _0x33a436=this[_0x5ea778(0x19d)]({'getAttribute':_0x2173fe=>_0x1f49cc[_0x5ea778(0x192)][_0x5ea778(0x18d)](_0x2173fe)});_0x3da474[_0x5ea778(0x1a6)](_0x33a436);}}for(const [_0x4e4e9b,_0x555b2d]of this[_0x5ea778(0x18f)])_0x5ea778(0x19a)===_0x555b2d[_0x5ea778(0x18a)][_0x5ea778(0x18b)]&&_0x3da474[_0x5ea778(0x1a6)](_0x4e4e9b);for(const _0x12cdf4 of _0x3da474)this[_0x5ea778(0x18f)][_0x5ea778(0x17d)](_0x12cdf4);for(const [_0x329db8,_0x343aa3]of _0x5a0754)this[_0x5ea778(0x18f)][_0x5ea778(0x189)](_0x329db8,_0x343aa3[_0x343aa3[_0x5ea778(0x1a1)]-0x1]);const _0x34ad59=new Set();for(const [_0x79fed0,_0x127523]of _0x5a0754)_0x3da474[_0x5ea778(0x17b)](_0x79fed0)&&(_0x34ad59[_0x5ea778(0x1a6)](_0x127523[0x0]),_0x127523[_0x5ea778(0x1a1)]>0x1?_0x5a0754[_0x5ea778(0x189)](_0x79fed0,_0x127523[_0x5ea778(0x184)](0x1)):_0x5a0754[_0x5ea778(0x17d)](_0x79fed0),_0x3da474[_0x5ea778(0x17d)](_0x79fed0));return{'removed':Array[_0x5ea778(0x194)](_0x3da474),'inserted':Array[_0x5ea778(0x194)](_0x5a0754[_0x5ea778(0x1a0)]())[_0x5ea778(0x196)](),'moved':Array[_0x5ea778(0x194)](_0x34ad59)};}}
23
+ function _0x2964(_0x3a7703,_0x268bee){const _0x63418e=_0x6341();return _0x2964=function(_0x296432,_0x3c4e94){_0x296432=_0x296432-0x1a3;let _0x51e7a2=_0x63418e[_0x296432];return _0x51e7a2;},_0x2964(_0x3a7703,_0x268bee);}const _0x39a3f0=_0x2964;(function(_0x6a6d04,_0x26cfbe){const _0x5c8f7a=_0x2964,_0x20815f=_0x6a6d04();while(!![]){try{const _0x4a1493=parseInt(_0x5c8f7a(0x1c6))/0x1+-parseInt(_0x5c8f7a(0x1bf))/0x2*(-parseInt(_0x5c8f7a(0x1ad))/0x3)+parseInt(_0x5c8f7a(0x1ba))/0x4+-parseInt(_0x5c8f7a(0x1b7))/0x5+parseInt(_0x5c8f7a(0x1c3))/0x6+parseInt(_0x5c8f7a(0x1a7))/0x7+-parseInt(_0x5c8f7a(0x1bd))/0x8;if(_0x4a1493===_0x26cfbe)break;else _0x20815f['push'](_0x20815f['shift']());}catch(_0x21a547){_0x20815f['push'](_0x20815f['shift']());}}}(_0x6341,0x999a4));function _0x6341(){const _0x161d11=['name','element','has','getChanges','_elementName','getElementKey','_model','4770095YFXyWN','insert','attributes','1803488RLPNpF','flat','$text','16075976upWgds','rootName','55202vrbmlI','root','get','remove','5838672vYEDxX','_trackedElements','values','956287orrZDh','type','add','push','length','from','position','_getElementKey','slice','565320ORKUgi','delete','elementName','set','$graveyard','nodeAfter','123GXzgrT','getItems','createRangeOn'];_0x6341=function(){return _0x161d11;};return _0x6341();}export class ModelElementTracker{[_0x39a3f0(0x1b6)];[_0x39a3f0(0x1b4)];[_0x39a3f0(0x1a5)];[_0x39a3f0(0x1c4)]=new Map();constructor(_0x1b1e35,_0x53fc52){const _0x4c72a9=_0x39a3f0;this[_0x4c72a9(0x1b6)]=_0x1b1e35,this[_0x4c72a9(0x1b4)]=_0x53fc52[_0x4c72a9(0x1a9)],this[_0x4c72a9(0x1a5)]=_0x53fc52[_0x4c72a9(0x1b5)];}[_0x39a3f0(0x1b3)](_0x39686b){const _0x1bec57=_0x39a3f0,_0x892d95=new Set(),_0x26856b=new Map();for(const _0x28bb6a of _0x39686b){if(_0x1bec57(0x1b8)===_0x28bb6a[_0x1bec57(0x1c7)]&&_0x1bec57(0x1bc)!==_0x28bb6a[_0x1bec57(0x1b0)]&&_0x28bb6a[_0x1bec57(0x1a4)][_0x1bec57(0x1ac)]){const _0x55004b=this[_0x1bec57(0x1b6)][_0x1bec57(0x1af)](_0x28bb6a[_0x1bec57(0x1a4)][_0x1bec57(0x1ac)]);for(const _0x1e61d9 of _0x55004b[_0x1bec57(0x1ae)]()){if(!_0x1e61d9['is'](_0x1bec57(0x1b1),this[_0x1bec57(0x1b4)]))continue;const _0x171ec0=this[_0x1bec57(0x1a5)](_0x1e61d9);_0x26856b[_0x1bec57(0x1b2)](_0x171ec0)||_0x26856b[_0x1bec57(0x1aa)](_0x171ec0,[]),_0x26856b[_0x1bec57(0x1c1)](_0x171ec0)[_0x1bec57(0x1c9)](_0x1e61d9);}}if(_0x1bec57(0x1c2)===_0x28bb6a[_0x1bec57(0x1c7)]&&_0x28bb6a[_0x1bec57(0x1b0)]===this[_0x1bec57(0x1b4)]){const _0x8a8bda=this[_0x1bec57(0x1a5)]({'getAttribute':_0x212574=>_0x28bb6a[_0x1bec57(0x1b9)][_0x1bec57(0x1c1)](_0x212574)});_0x892d95[_0x1bec57(0x1c8)](_0x8a8bda);}}for(const [_0x4633df,_0x3dcad6]of this[_0x1bec57(0x1c4)])_0x1bec57(0x1ab)===_0x3dcad6[_0x1bec57(0x1c0)][_0x1bec57(0x1be)]&&_0x892d95[_0x1bec57(0x1c8)](_0x4633df);for(const _0x2e9acf of _0x892d95)this[_0x1bec57(0x1c4)][_0x1bec57(0x1a8)](_0x2e9acf);for(const [_0x20f4ff,_0x4db793]of _0x26856b)this[_0x1bec57(0x1c4)][_0x1bec57(0x1aa)](_0x20f4ff,_0x4db793[_0x4db793[_0x1bec57(0x1ca)]-0x1]);const _0x6bcaf9=new Set();for(const [_0x382093,_0x1bbffc]of _0x26856b)_0x892d95[_0x1bec57(0x1b2)](_0x382093)&&(_0x6bcaf9[_0x1bec57(0x1c8)](_0x1bbffc[0x0]),_0x1bbffc[_0x1bec57(0x1ca)]>0x1?_0x26856b[_0x1bec57(0x1aa)](_0x382093,_0x1bbffc[_0x1bec57(0x1a6)](0x1)):_0x26856b[_0x1bec57(0x1a8)](_0x382093),_0x892d95[_0x1bec57(0x1a8)](_0x382093));return{'removed':Array[_0x1bec57(0x1a3)](_0x892d95),'inserted':Array[_0x1bec57(0x1a3)](_0x26856b[_0x1bec57(0x1c5)]())[_0x1bec57(0x1bb)](),'moved':Array[_0x1bec57(0x1a3)](_0x6bcaf9)};}}