@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251021.0 → 0.0.0-nightly-20251023.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 _0x341696}from'ckeditor5/src/core.js';import{isWidget as _0x59ee61,toWidget as _0x19bf78,toWidgetEditable as _0xd3d701}from'ckeditor5/src/widget.js';import{uid as _0x61221e}from'ckeditor5/src/utils.js';import{PointerObserver as _0x20b6c7,ClickObserver as _0x16fd45}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0xaf45c0}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1d7b78}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x341696{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0xaf45c0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd43403}=this;_0xd43403['config']['define']('footnotes.multiBlock',!0x0),_0xd43403['commands']['add']('insertFootnote',new _0x1d7b78(_0xd43403)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4d786c){const _0x4183ff=_0x1d95c9([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]),_0x48d631=0x47a28506,_0x9f48c0=0x47a5f3d6^_0x48d631,_0x21590c=window[_0x1d95c9([0x44,0x61,0x74,0x65])][_0x1d95c9([0x6e,0x6f,0x77])](),_0x22523c=_0x4d786c[_0x1d95c9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10f277=new window[(_0x1d95c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x65207a=>{_0x22523c[_0x1d95c9([0x6f,0x6e,0x63,0x65])](_0x1d95c9([0x72,0x65,0x61,0x64,0x79]),_0x65207a);}),_0x2f769e={[_0x1d95c9([0x6b,0x74,0x79])]:_0x1d95c9([0x45,0x43]),[_0x1d95c9([0x75,0x73,0x65])]:_0x1d95c9([0x73,0x69,0x67]),[_0x1d95c9([0x63,0x72,0x76])]:_0x1d95c9([0x50,0x2d,0x32,0x35,0x36]),[_0x1d95c9([0x78])]:_0x1d95c9([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]),[_0x1d95c9([0x79])]:_0x1d95c9([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]),[_0x1d95c9([0x61,0x6c,0x67])]:_0x1d95c9([0x45,0x53,0x32,0x35,0x36])},_0x192346=_0x22523c[_0x1d95c9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d95c9([0x67,0x65,0x74])](_0x1d95c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xe02d80(){let _0x458258,_0x3d5d08=null,_0x5d57e2=null;try{if(_0x192346==_0x1d95c9([0x47,0x50,0x4c]))return _0x1d95c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x458258=_0x34807b(),!_0x458258)return _0x1d95c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x458258[_0x1d95c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d57e2=_0x5b49f0(_0x458258[_0x1d95c9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x458258[_0x1d95c9([0x6a,0x74,0x69])])),await _0xf89cd9()?_0x365f8f()?_0x2ce1f1()?_0x1d95c9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cd9ff()?(_0x458258[_0x1d95c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d95c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d5d08=_0x403c69(_0x1d95c9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x458258[_0x1d95c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d95c9([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d5d08=_0x403c69(_0x1d95c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e7647()):_0x1d95c9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d95c9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d95c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d95c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2ce1f1(){const _0x71bbf0=[_0x1d95c9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d95c9([0x74,0x72,0x69,0x61,0x6c])][_0x1d95c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x458258[_0x1d95c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x21590c/0x3e8:0xe10*_0x9f48c0;return _0x458258[_0x1d95c9([0x65,0x78,0x70])]<_0x71bbf0;}function _0x365f8f(){const _0x751560=_0x458258[_0x1d95c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x751560&&(!!_0x751560[_0x1d95c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d95c9([0x2a]))||!!_0x751560[_0x1d95c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d95c9([0x46,0x4f,0x4f])));}function _0x4cd9ff(){const _0x4220d3=_0x458258[_0x1d95c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4220d3||0x0==_0x4220d3[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d149f}=new URL(window[_0x1d95c9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4220d3[_0x1d95c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d149f))return!0x0;const _0x5d2966=_0x2d149f[_0x1d95c9([0x73,0x70,0x6c,0x69,0x74])](_0x1d95c9([0x2e]));return _0x4220d3[_0x1d95c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17d3ed=>_0x17d3ed[_0x1d95c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d95c9([0x2a])))[_0x1d95c9([0x6d,0x61,0x70])](_0x5d8cf4=>_0x5d8cf4[_0x1d95c9([0x73,0x70,0x6c,0x69,0x74])](_0x1d95c9([0x2e])))[_0x1d95c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cb588=>_0x5cb588[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5d2966[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d95c9([0x6d,0x61,0x70])](_0x20b398=>Array(_0x5d2966[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x20b398[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d95c9([0x66,0x69,0x6c,0x6c])](_0x20b398[0x0]===_0x1d95c9([0x2a])?_0x1d95c9([0x2a]):'')[_0x1d95c9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x20b398))[_0x1d95c9([0x73,0x6f,0x6d,0x65])](_0xbb1c85=>_0x5d2966[_0x1d95c9([0x65,0x76,0x65,0x72,0x79])]((_0xa578a3,_0x273f47)=>_0xbb1c85[_0x273f47]===_0xa578a3||_0xbb1c85[_0x273f47]===_0x1d95c9([0x2a])));}function _0x1e7647(){return _0x3d5d08&&_0x5d57e2?new window[(_0x1d95c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d3bb0,_0x9849f7)=>{_0x3d5d08[_0x1d95c9([0x74,0x68,0x65,0x6e])](_0x2d3bb0,_0x9849f7),_0x5d57e2[_0x1d95c9([0x74,0x68,0x65,0x6e])](_0x4713b0=>{_0x4713b0!=_0x1d95c9([0x56,0x61,0x6c,0x69,0x64])&&_0x2d3bb0(_0x4713b0);},_0x9849f7);}):_0x3d5d08||_0x5d57e2||_0x1d95c9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b49f0(_0x56e0d0,_0x30c26b){return new window[(_0x1d95c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ec5a5=>{if(_0x3c3d34())return _0x4ec5a5(_0x1d95c9([0x56,0x61,0x6c,0x69,0x64]));_0x58fc1(),_0x22523c[_0x1d95c9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d95c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5eb10c=!0x1;const _0x526336=_0x61221e();function _0x2ab942(_0x57ecf8){return!!_0x57ecf8&&(typeof _0x57ecf8===_0x1d95c9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57ecf8===_0x1d95c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57ecf8[_0x1d95c9([0x74,0x68,0x65,0x6e])]===_0x1d95c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57ecf8[_0x1d95c9([0x63,0x61,0x74,0x63,0x68])]===_0x1d95c9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d87e0(_0x3f061b){_0x40c4ad(_0x3f061b)[_0x1d95c9([0x74,0x68,0x65,0x6e])](_0x5e6999=>{if(!_0x5e6999||_0x5e6999[_0x1d95c9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d95c9([0x6f,0x6b]))return _0x1d95c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x275a8d(_0x5957da(_0x526336+_0x30c26b))!=_0x5e6999[_0x1d95c9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d95c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d95c9([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d95c9([0x74,0x68,0x65,0x6e])](_0x5bc66e=>(_0x364490(),_0x5bc66e),()=>{const _0xcdce8=_0x3a9212();return null==_0xcdce8?(_0x364490(),_0x1d95c9([0x56,0x61,0x6c,0x69,0x64])):_0x1d95c9(_0x21590c-_0xcdce8>(0x63ae0106^_0x48d631)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d95c9([0x74,0x68,0x65,0x6e])](_0x4ec5a5)[_0x1d95c9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ec5a5(_0x1d95c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x65507c=0x47946b86^_0x48d631;function _0x364490(){const _0x25fc36=_0x1d95c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x275a8d(_0x5957da(_0x56e0d0)),_0x294b48=_0x44b82f(_0x275a8d(window[_0x1d95c9([0x4d,0x61,0x74,0x68])][_0x1d95c9([0x63,0x65,0x69,0x6c])](_0x21590c/_0x65507c)));window[_0x1d95c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d95c9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25fc36,_0x294b48);}function _0x3a9212(){const _0x43353e=_0x1d95c9([0x6c,0x6c,0x63,0x74,0x2d])+_0x275a8d(_0x5957da(_0x56e0d0)),_0x444d4a=window[_0x1d95c9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d95c9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43353e);return _0x444d4a?window[_0x1d95c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44b82f(_0x444d4a),0x10)*_0x65507c:null;}function _0x40c4ad(_0x460e00){return new window[(_0x1d95c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5908f6,_0x2c6301)=>{_0x460e00[_0x1d95c9([0x74,0x68,0x65,0x6e])](_0x5908f6,_0x2c6301),window[_0x1d95c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c6301,0x47a351c6^_0x48d631);});}}_0x22523c[_0x1d95c9([0x6f,0x6e])](_0x1d95c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x84fd0d,_0x49787f)=>{if(_0x49787f[0x0]!=_0x56e0d0)return _0x4ec5a5(_0x1d95c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49787f[0x1]={..._0x49787f[0x1],[_0x1d95c9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x526336};},{[_0x1d95c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d95c9([0x68,0x69,0x67,0x68])}),_0x22523c[_0x1d95c9([0x6f,0x6e])](_0x1d95c9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c8542=>{_0x2ab942(_0x1c8542[_0x1d95c9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5eb10c=!0x0,_0x1d87e0(_0x1c8542[_0x1d95c9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d95c9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d95c9([0x6c,0x6f,0x77])}),_0x10f277[_0x1d95c9([0x74,0x68,0x65,0x6e])](()=>{_0x5eb10c||_0x4ec5a5(_0x1d95c9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c3d34(){return _0x22523c[_0x1d95c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d95c9([0x76,0x69,0x65,0x77])][_0x1d95c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d95c9([0x61,0x75,0x74,0x6f]);}function _0x58fc1(){_0x22523c[_0x1d95c9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d95c9([0x76,0x69,0x65,0x77])][_0x1d95c9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d95c9([0x61,0x75,0x74,0x6f]);}}function _0x403c69(_0xbe2682){const _0x4094dd=[new window[(_0x1d95c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb28f7e=>setTimeout(_0xb28f7e,0x47abbbca^_0x48d631)),_0x10f277[_0x1d95c9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d95c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a3191=>{let _0x2b4789=0x0;_0x22523c[_0x1d95c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d95c9([0x6f,0x6e])](_0x1d95c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc0c96b,_0x4ebcec)=>{_0x4ebcec[0x0][_0x1d95c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b4789++,_0x2b4789==(0x47a284fe^_0x48d631)&&(_0x4a3191(),_0xc0c96b[_0x1d95c9([0x6f,0x66,0x66])]());});}))];return window[_0x1d95c9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d95c9([0x72,0x61,0x63,0x65])](_0x4094dd)[_0x1d95c9([0x74,0x68,0x65,0x6e])](()=>_0xbe2682);}async function _0x284817(){await _0x10f277,_0x22523c[_0x1d95c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d95c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0a13,_0x22523c[_0x1d95c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d95c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5f0a13,_0x22523c[_0x1d95c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d95c9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fad28(_0x53a7a8){const _0x551832=_0x20b20a();_0x22523c[_0x551832]=_0x1d95c9([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53a7a8,_0x53a7a8!=_0x1d95c9([0x56,0x61,0x6c,0x69,0x64])&&_0x284817();}function _0x20b20a(){const _0x1a58a1=window[_0x1d95c9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d95c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d95c9([0x6e,0x6f,0x77])]())[_0x1d95c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d95c9([0x2e]),'');let _0x18a406=_0x1d95c9([0x75]);for(let _0x239bde=0x0;_0x239bde<_0x1a58a1[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x239bde+=0x2){let _0x315f4a=window[_0x1d95c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a58a1[_0x1d95c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x239bde,_0x239bde+0x2));_0x315f4a>=_0x4183ff[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x315f4a-=_0x4183ff[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18a406+=_0x4183ff[_0x315f4a];}return _0x18a406;}function _0x34807b(){const _0xafcd73=_0x192346[_0x1d95c9([0x73,0x70,0x6c,0x69,0x74])](_0x1d95c9([0x2e]));if(0x3!=_0xafcd73[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13f3c5(_0xafcd73[0x1]);function _0x13f3c5(_0xe7d3e6){const _0x1bd855=_0xe06e85(_0xe7d3e6);return _0x1bd855&&_0x9f1252()?_0x1bd855:null;function _0x9f1252(){const _0x41f70e=_0x1bd855[_0x1d95c9([0x6a,0x74,0x69])],_0x2c6d05=window[_0x1d95c9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41f70e[_0x1d95c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41f70e[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54d11c={..._0x1bd855,[_0x1d95c9([0x6a,0x74,0x69])]:_0x41f70e[_0x1d95c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41f70e[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54d11c[_0x1d95c9([0x76,0x63])],_0x5957da(_0x54d11c)==_0x2c6d05;}}}async function _0xf89cd9(){let _0x5b2681=!0x0;try{const _0x341574=_0x192346[_0x1d95c9([0x73,0x70,0x6c,0x69,0x74])](_0x1d95c9([0x2e])),[_0x173e72,_0x12c715,_0x5a3f6b]=_0x341574;return _0x5dd9bb(_0x173e72),await _0x453a4b(_0x173e72,_0x12c715,_0x5a3f6b),_0x5b2681;}catch{return!0x1;}function _0x5dd9bb(_0x1c63f8){const _0x30150e=_0xe06e85(_0x1c63f8);_0x30150e&&_0x30150e[_0x1d95c9([0x61,0x6c,0x67])]==_0x1d95c9([0x45,0x53,0x32,0x35,0x36])||(_0x5b2681=!0x1);}async function _0x453a4b(_0x403d50,_0x1d524b,_0x895902){const _0x325d5a=window[_0x1d95c9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d95c9([0x66,0x72,0x6f,0x6d])](_0x13d9ba(_0x895902),_0x5866f0=>_0x5866f0[_0x1d95c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x9acfe0=new window[(_0x1d95c9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d95c9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x403d50+_0x1d95c9([0x2e])+_0x1d524b),_0xae6408=window[_0x1d95c9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d95c9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xae6408)return;const _0xb4be3a=await _0xae6408[_0x1d95c9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d95c9([0x6a,0x77,0x6b]),_0x2f769e,{[_0x1d95c9([0x6e,0x61,0x6d,0x65])]:_0x1d95c9([0x45,0x43,0x44,0x53,0x41]),[_0x1d95c9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d95c9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d95c9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xae6408[_0x1d95c9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d95c9([0x6e,0x61,0x6d,0x65])]:_0x1d95c9([0x45,0x43,0x44,0x53,0x41]),[_0x1d95c9([0x68,0x61,0x73,0x68])]:{[_0x1d95c9([0x6e,0x61,0x6d,0x65])]:_0x1d95c9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xb4be3a,_0x325d5a,_0x9acfe0)||(_0x5b2681=!0x1);}}function _0xe06e85(_0x1c6a02){return _0x1c6a02[_0x1d95c9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d95c9([0x65,0x79]))?JSON[_0x1d95c9([0x70,0x61,0x72,0x73,0x65])](_0x13d9ba(_0x1c6a02)):null;}function _0x13d9ba(_0x519492){return window[_0x1d95c9([0x61,0x74,0x6f,0x62])](_0x519492[_0x1d95c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d95c9([0x2b]))[_0x1d95c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d95c9([0x2f])));}function _0x5957da(_0x4f05aa){let _0x431fb4=0x1505;function _0x30b98e(_0x4c389d){for(let _0x243cd3=0x0;_0x243cd3<_0x4c389d[_0x1d95c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x243cd3++){const _0x34b5a8=_0x4c389d[_0x1d95c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x243cd3);_0x431fb4=(_0x431fb4<<0x5)+_0x431fb4+_0x34b5a8,_0x431fb4&=_0x431fb4;}}function _0x5bbe59(_0x3fc22c){Array[_0x1d95c9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3fc22c)?_0x3fc22c[_0x1d95c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bbe59):_0x3fc22c&&typeof _0x3fc22c==_0x1d95c9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d95c9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3fc22c)[_0x1d95c9([0x73,0x6f,0x72,0x74])]()[_0x1d95c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37b1e2,_0x1177a6])=>{_0x30b98e(_0x37b1e2),_0x5bbe59(_0x1177a6);}):_0x30b98e(window[_0x1d95c9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3fc22c));}return _0x5bbe59(_0x4f05aa),_0x431fb4>>>0x0;}function _0x275a8d(_0x5bd7b2){return _0x5bd7b2[_0x1d95c9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d95c9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d95c9([0x30]));}function _0x44b82f(_0x4155d4){return _0x4155d4[_0x1d95c9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d95c9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d95c9([0x6a,0x6f,0x69,0x6e])]('');}function _0x5f0a13(){}function _0x1d95c9(_0x1f6f8b){return _0x1f6f8b['map'](_0x1d2260=>String['fromCharCode'](_0x1d2260))['join']('');}_0x1fad28(await _0xe02d80());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5530b0){const {plugins:_0x531501,editing:_0x43747b,model:_0x307f70}=this['editor'],_0x4a5163=_0x531501['get'](_0xaf45c0)['getFootnote'](_0x5530b0);return!!_0x4a5163&&(_0x307f70['change'](_0x485d94=>{_0x485d94['setSelection'](_0x485d94['createPositionAt'](_0x4a5163['definition'],'end'));}),_0x43747b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x51f7f4){const {plugins:_0x36fa1a,editing:_0x219ac6,model:_0x19df44}=this['editor'],_0x8dfc0a=_0x36fa1a['get'](_0xaf45c0)['getFootnote'](_0x51f7f4);return!!_0x8dfc0a&&(_0x19df44['change'](_0x2e1edd=>{_0x2e1edd['setSelection'](_0x8dfc0a['reference'],'on');}),_0x219ac6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x34389b}=this['editor']['model'],_0x463414=this['editor']['config']['get']('footnotes.multiBlock');_0x34389b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x34389b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x34389b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x463414?_0x34389b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x34389b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x34389b['addChildCheck'](_0x410b99=>{for(const _0x554313 of _0x410b99)if('footnoteDefinition'===_0x554313['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1df739}=this,{conversion:_0x30aab9,editing:_0x4a59c0}=_0x1df739,{t:t}=_0x1df739['locale'];_0x30aab9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x40ad27,{writer:_0xb505e5,consumable:_0x410c34})=>{const _0x36da81=_0x40ad27['getChild'](0x0);if(!_0x36da81||!_0x36da81['is']('element','a'))return null;const _0x1a71b3=_0x36da81['getAttribute']('href')||'';if(!_0x1a71b3['startsWith']('#'))return null;const _0xdb223e=_0x1a71b3['replace'](/^#/,'');if(!_0xdb223e)return null;_0x410c34['consume'](_0x36da81,{'name':!0x0,'attributes':['href']});for(const {item:_0x5a7d47}of _0x4a59c0['view']['createRangeIn'](_0x36da81))_0x5a7d47['is']('$textProxy')?_0x410c34['consume'](_0x5a7d47['textNode'],{'name':!0x0}):_0x5a7d47['is']('element')&&_0x410c34['consume'](_0x5a7d47,{'name':!0x0});return _0xb505e5['createElement']('footnoteRef',{'footnoteId':_0xdb223e});}}),_0x30aab9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b3b37,{writer:_0x15d349})=>g(_0x4b3b37,_0x15d349)}),_0x30aab9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1b40d7,{writer:_0x41030c})=>{const _0x511b6e=_0x1b40d7['getAttribute']('footnoteCounter');return _0x19bf78(g(_0x1b40d7,_0x41030c),_0x41030c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x511b6e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4d479d}=this,{t:t}=_0x4d479d['locale'],{conversion:_0x4372ae}=_0x4d479d;_0x4372ae['for']('upcast')['elementToElement']({'view':{'name':'ol','classes':['footnotes']},'model':'footnotesDefinitions','converterPriority':'high'}),_0x4372ae['for']('dataDowncast')['elementToElement']({'model':'footnotesDefinitions','view':{'name':'ol','classes':['footnotes']}}),_0x4372ae['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2deb52,{writer:_0x5dfdb4})=>{const _0x574061=_0x5dfdb4['createContainerElement']('div',{'class':'footnotes-wrapper','data-footnotes-list-label':t('Footnotes')},_0x5dfdb4['createContainerElement']('ol',{'class':'footnotes'},_0x5dfdb4['createSlot']())),_0x4b7e12=_0x19bf78(_0x574061,_0x5dfdb4,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5dfdb4['setCustomProperty']('footnotesDefinitions',!0x0,_0x4b7e12),_0x4b7e12;}});}['_defineDefinitionConverters'](){const {editor:_0x250976}=this,{conversion:_0x310930,locale:_0x2e5331}=_0x250976,_0x38ab6c=_0x250976['config']['get']('footnotes.multiBlock');_0x310930['for']('upcast')['add'](_0x43af2a=>{_0x43af2a['on']('element:li',(_0x22831d,_0x15261f,_0x4f4b9d)=>{const _0x52c249=_0x15261f['viewItem'];if(!_0x52c249['hasClass']('footnote-definition')||!_0x52c249['getAttribute']('id'))return;const _0x5ea6ba=_0x52c249['parent'];if(!_0x5ea6ba['is']('element','ol')||!_0x5ea6ba['hasClass']('footnotes'))return;if(!_0x4f4b9d['consumable']['test'](_0x52c249,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5ee497=_0x4f4b9d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x52c249['getAttribute']('id')});if(!_0x4f4b9d['safeInsert'](_0x5ee497,_0x15261f['modelCursor']))return;_0x4f4b9d['consumable']['consume'](_0x52c249,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x59cbe1=Array['from'](_0x52c249['getChildren']())['find'](_0x3b7a9c=>_0x3b7a9c['is']('element')&&_0x3b7a9c['hasClass']('footnote-content'));for(const _0x2704c5 of _0x52c249['getChildren']())_0x2704c5['is']('element')&&(_0x4f4b9d['consumable']['consume'](_0x2704c5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4f4b9d['consumable']['consume'](_0x2704c5,{'name':!0x0,'classes':'footnote-content'}));if(_0x59cbe1){if(_0x38ab6c)_0x4f4b9d['convertChildren'](_0x59cbe1,_0x5ee497);else{const _0x2a9a25=_0x4f4b9d['writer']['createElement']('footnoteInlineContent');_0x4f4b9d['writer']['insert'](_0x2a9a25,_0x5ee497),_0x4f4b9d['convertChildren'](_0x59cbe1,_0x2a9a25);}}_0x4f4b9d['updateConversionResult'](_0x5ee497,_0x15261f);});}),_0x310930['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1bc8eb,{writer:_0x2e18c8})=>D(_0x1bc8eb,_0x2e18c8,_0x2e5331,{'dataPipeline':!0x0})}),_0x310930['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5cc1be,{writer:_0x80f882})=>D(_0x5cc1be,_0x80f882,_0x2e5331)});}['_defineBogusParagraphConverters'](){const {editor:_0x4afc26}=this,{conversion:_0x496de8}=_0x4afc26;_0x4afc26['config']['get']('footnotes.multiBlock')?(_0x496de8['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x496de8['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4afc26['model']['document'],'change:data',()=>{!function(_0x236932,_0x4077af){const _0x434548=_0x236932['document']['differ'],_0x3bc6cb=new Set();for(const _0x218bfb of _0x434548['getChanges']()){const _0x3320f3='attribute'==_0x218bfb['type']?_0x218bfb['range']['start']['parent']:_0x218bfb['position']['parent'];_0x3320f3['is']('element','footnoteDefinition')&&_0x3bc6cb['add'](_0x3320f3);}for(const _0x5cb00e of _0x3bc6cb['values']()){const _0x5bf00f=Array['from'](_0x5cb00e['getChildren']())['filter'](_0x5cee8a=>p(_0x5cee8a,_0x4077af['mapper']));for(const _0x37b4dd of _0x5bf00f)_0x4077af['reconvertItem'](_0x37b4dd);}}(_0x4afc26['model'],_0x4afc26['editing']);})):(_0x496de8['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x496de8['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x206873,{writer:_0xb24d76})=>{const _0x54a922=_0xb24d76['createContainerElement']('span');return _0xb24d76['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x54a922),_0x54a922;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1db55e}=this,{editing:_0x85d9d2,t:t}=_0x1db55e,_0x537671=_0x1db55e['model']['document']['selection'];_0x1db55e['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x1db55e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0x85d9d2['view']['document'],'enter',(_0x5e630b,_0x1cc578)=>{const _0x422d94=function(_0x527d2a){const _0x434632=_0x527d2a['getSelectedElement']();if(_0x434632?.['is']('element','footnoteRef'))return _0x434632;return null;}(_0x537671);if(_0x422d94){const _0x5ea4e6=_0x422d94['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5ea4e6),_0x1cc578['preventDefault'](),_0x5e630b['stop']();}},{'context':_0x59ee61});}['_defineClickHandlers'](){const {editor:_0x894b90}=this,{editing:_0x4f2aaa}=_0x894b90;_0x894b90['editing']['view']['addObserver'](_0x20b6c7),_0x894b90['editing']['view']['addObserver'](_0x16fd45);let _0x2e2e81=!0x1;this['listenTo'](_0x4f2aaa['view']['document'],'pointerdown',(_0x17d5c1,_0x38bf5d)=>{const {target:_0x89a0f}=_0x38bf5d,_0x191df1=_0x4f2aaa['view']['document']['selection'];_0x2e2e81=!(!_0x89a0f['is']('element','sup')||!_0x89a0f['hasClass']('footnote'))&&_0x191df1['getSelectedElement']()===_0x89a0f;},{'priority':'high'}),this['listenTo'](_0x4f2aaa['view']['document'],'click',(_0x5c060d,_0x46ef5e)=>{const {target:_0x1643ee}=_0x46ef5e,_0x2acd59=_0x1643ee['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x2acd59['slice'](0x1)),_0x5c060d['stop'](),_0x46ef5e['preventDefault']();},{'priority':'high','context':_0x2ce77a=>_0x2ce77a['is']('element','sup')&&_0x2ce77a['hasClass']('footnote')&&_0x2e2e81}),this['listenTo'](_0x4f2aaa['view']['document'],'click',(_0xd22ae9,_0x2e6e2a)=>{const {target:_0x567ccb}=_0x2e6e2a;if(!_0x567ccb['is']('element','a'))return;let _0x1cbebc=_0x567ccb['getAttribute']('href');if(!_0x1cbebc?.['startsWith']('#'))return;_0x1cbebc=_0x1cbebc['slice'](0x1);let _0x486b76=!0x1;(_0x1cbebc['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1cbebc['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1cbebc))&&(_0x486b76=!0x0),_0x486b76&&(_0x2e6e2a['preventDefault'](),_0xd22ae9['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x520ab0}={}){return(_0xa41be2,{writer:_0x310ba6})=>{if(!h(_0xa41be2))return null;if(!_0x520ab0)return _0x310ba6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x338bd5=_0x310ba6['createContainerElement']('p');return _0x310ba6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x338bd5),_0x338bd5;};}function h(_0x1654eb){const {parent:_0x176679}=_0x1654eb;if(!_0x176679?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x176679['childCount'])return!0x1;for(const _0x5351a6 of _0x1654eb['getAttributeKeys']())if(!_0x5351a6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5351a6)return!0x1;return!0x0;}function p(_0x4c5621,_0x40a388){if(!_0x4c5621['is']('element','paragraph'))return!0x1;const _0x28d008=_0x40a388['toViewElement'](_0x4c5621);return!!_0x28d008&&h(_0x4c5621)!==_0x28d008['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4bd5e3){return _0x59ee61(_0x4bd5e3)&&_0x4bd5e3['is']('containerElement')&&!!_0x4bd5e3['getCustomProperty']('footnotesDefinitions');}function g(_0x120ce1,_0x3ad316){const _0x206907=_0x120ce1['getAttribute']('footnoteId'),_0x2a125c=_0x120ce1['getAttribute']('footnoteCounter'),_0x500f24=_0x3ad316['createUIElement']('a',{'id':'ref-'+_0x206907,'href':'#'+_0x206907},function(_0xe30ecb){const _0x190306=this['toDomElement'](_0xe30ecb);return _0x190306['textContent']=_0x2a125c,_0x190306;}),_0x2ee38d=_0x3ad316['createContainerElement']('sup',{'class':'footnote'},[_0x500f24]);return _0x2ee38d['getFillerOffset']=()=>null,_0x2ee38d;}function D(_0x2bd31c,_0xd92c1a,_0x3a91cf,{dataPipeline:_0x578bc7}={}){const {t:t}=_0x3a91cf,_0x580583=_0x2bd31c['getAttribute']('footnoteId'),_0x421840=_0xd92c1a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x580583},function(_0x4ee2a8){const _0x23c5c9=this['toDomElement'](_0x4ee2a8);return _0x23c5c9['innerText']='^',_0x23c5c9;}),_0x39cd34=_0x578bc7?_0xd92c1a['createContainerElement']('div',{'class':'footnote-content'}):_0xd3d701(_0xd92c1a['createEditableElement']('div',{'class':'footnote-content'}),_0xd92c1a,{'label':t('Footnote\x20content.')});return _0xd92c1a['insert'](_0xd92c1a['createPositionAt'](_0x39cd34,0x0),_0xd92c1a['createSlot']()),_0xd92c1a['createContainerElement']('li',{'class':'footnote-definition','id':_0x580583},[_0x421840,_0x39cd34]);}
23
+ import{Plugin as _0xfc055d}from'ckeditor5/src/core.js';import{isWidget as _0xb3f1ad,toWidget as _0x3c7c04,toWidgetEditable as _0x3f6794}from'ckeditor5/src/widget.js';import{uid as _0x358357}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4dd17f,ClickObserver as _0xd238bf}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2af9fd}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5aae72}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xfc055d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2af9fd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5886fb}=this;_0x5886fb['config']['define']('footnotes.multiBlock',!0x0),_0x5886fb['commands']['add']('insertFootnote',new _0x5aae72(_0x5886fb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x653202){const _0x179662=_0x3cf7de([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]),_0x259d68=0x47a28506,_0x5e82f1=0x47a5f206^_0x259d68,_0x4815ae=window[_0x3cf7de([0x44,0x61,0x74,0x65])][_0x3cf7de([0x6e,0x6f,0x77])](),_0x1b3d7b=_0x653202[_0x3cf7de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41afef=new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x93b016=>{_0x1b3d7b[_0x3cf7de([0x6f,0x6e,0x63,0x65])](_0x3cf7de([0x72,0x65,0x61,0x64,0x79]),_0x93b016);}),_0x44fe14={[_0x3cf7de([0x6b,0x74,0x79])]:_0x3cf7de([0x45,0x43]),[_0x3cf7de([0x75,0x73,0x65])]:_0x3cf7de([0x73,0x69,0x67]),[_0x3cf7de([0x63,0x72,0x76])]:_0x3cf7de([0x50,0x2d,0x32,0x35,0x36]),[_0x3cf7de([0x78])]:_0x3cf7de([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]),[_0x3cf7de([0x79])]:_0x3cf7de([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]),[_0x3cf7de([0x61,0x6c,0x67])]:_0x3cf7de([0x45,0x53,0x32,0x35,0x36])},_0x11f0bd=_0x1b3d7b[_0x3cf7de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3cf7de([0x67,0x65,0x74])](_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a78a6(){let _0x1a7fad,_0x1b7d46=null,_0x23dd0a=null;try{if(_0x11f0bd==_0x3cf7de([0x47,0x50,0x4c]))return _0x3cf7de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a7fad=_0x474f8d(),!_0x1a7fad)return _0x3cf7de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a7fad[_0x3cf7de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23dd0a=_0x3e34c0(_0x1a7fad[_0x3cf7de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a7fad[_0x3cf7de([0x6a,0x74,0x69])])),await _0x24b16c()?_0xd8727d()?_0x3bfefe()?_0x3cf7de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20a3d9()?(_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cf7de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b7d46=_0x15df5d(_0x3cf7de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cf7de([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b7d46=_0x15df5d(_0x3cf7de([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5bd2de()):_0x3cf7de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3cf7de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3cf7de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3cf7de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bfefe(){const _0x570428=[_0x3cf7de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3cf7de([0x74,0x72,0x69,0x61,0x6c])][_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4815ae/0x3e8:0xe10*_0x5e82f1;return _0x1a7fad[_0x3cf7de([0x65,0x78,0x70])]<_0x570428;}function _0xd8727d(){const _0x459d5c=_0x1a7fad[_0x3cf7de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x459d5c&&(!!_0x459d5c[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf7de([0x2a]))||!!_0x459d5c[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf7de([0x46,0x4f,0x4f])));}function _0x20a3d9(){const _0x535f01=_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x535f01||0x0==_0x535f01[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c6120}=new URL(window[_0x3cf7de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x535f01[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c6120))return!0x0;const _0x4f566d=_0x4c6120[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e]));return _0x535f01[_0x3cf7de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12a88e=>_0x12a88e[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf7de([0x2a])))[_0x3cf7de([0x6d,0x61,0x70])](_0x402238=>_0x402238[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e])))[_0x3cf7de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x205c2b=>_0x205c2b[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f566d[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cf7de([0x6d,0x61,0x70])](_0x59429c=>Array(_0x4f566d[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59429c[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cf7de([0x66,0x69,0x6c,0x6c])](_0x59429c[0x0]===_0x3cf7de([0x2a])?_0x3cf7de([0x2a]):'')[_0x3cf7de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59429c))[_0x3cf7de([0x73,0x6f,0x6d,0x65])](_0x2ddf21=>_0x4f566d[_0x3cf7de([0x65,0x76,0x65,0x72,0x79])]((_0x4e6c2e,_0x147256)=>_0x2ddf21[_0x147256]===_0x4e6c2e||_0x2ddf21[_0x147256]===_0x3cf7de([0x2a])));}function _0x5bd2de(){return _0x1b7d46&&_0x23dd0a?new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24d712,_0x2a0b45)=>{_0x1b7d46[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x24d712,_0x2a0b45),_0x23dd0a[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x348fc5=>{_0x348fc5!=_0x3cf7de([0x56,0x61,0x6c,0x69,0x64])&&_0x24d712(_0x348fc5);},_0x2a0b45);}):_0x1b7d46||_0x23dd0a||_0x3cf7de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e34c0(_0x129e4e,_0x3bdef6){return new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x82adc7=>{if(_0x5bf83f())return _0x82adc7(_0x3cf7de([0x56,0x61,0x6c,0x69,0x64]));_0x559789(),_0x1b3d7b[_0x3cf7de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3cf7de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fa1ba=!0x1;const _0x542c04=_0x358357();function _0x42ef9b(_0x29b5b4){return!!_0x29b5b4&&(typeof _0x29b5b4===_0x3cf7de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29b5b4===_0x3cf7de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29b5b4[_0x3cf7de([0x74,0x68,0x65,0x6e])]===_0x3cf7de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29b5b4[_0x3cf7de([0x63,0x61,0x74,0x63,0x68])]===_0x3cf7de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x460226(_0xad8bff){_0x2bc0ea(_0xad8bff)[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x340c53=>{if(!_0x340c53||_0x340c53[_0x3cf7de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3cf7de([0x6f,0x6b]))return _0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c9a16(_0x397815(_0x542c04+_0x3bdef6))!=_0x340c53[_0x3cf7de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3cf7de([0x56,0x61,0x6c,0x69,0x64]);})[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x53dea3=>(_0x15eabf(),_0x53dea3),()=>{const _0x22b0d8=_0x29d89d();return null==_0x22b0d8?(_0x15eabf(),_0x3cf7de([0x56,0x61,0x6c,0x69,0x64])):_0x3cf7de(_0x4815ae-_0x22b0d8>(0x63ae0106^_0x259d68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x82adc7)[_0x3cf7de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x82adc7(_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c83a2=0x47946b86^_0x259d68;function _0x15eabf(){const _0x567b2b=_0x3cf7de([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c9a16(_0x397815(_0x129e4e)),_0x29b0ec=_0x93061(_0x3c9a16(window[_0x3cf7de([0x4d,0x61,0x74,0x68])][_0x3cf7de([0x63,0x65,0x69,0x6c])](_0x4815ae/_0x5c83a2)));window[_0x3cf7de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cf7de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x567b2b,_0x29b0ec);}function _0x29d89d(){const _0x14bb84=_0x3cf7de([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c9a16(_0x397815(_0x129e4e)),_0x6b9259=window[_0x3cf7de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cf7de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14bb84);return _0x6b9259?window[_0x3cf7de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x93061(_0x6b9259),0x10)*_0x5c83a2:null;}function _0x2bc0ea(_0x4dffa7){return new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xef0c29,_0x363bba)=>{_0x4dffa7[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0xef0c29,_0x363bba),window[_0x3cf7de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x363bba,0x47a351c6^_0x259d68);});}}_0x1b3d7b[_0x3cf7de([0x6f,0x6e])](_0x3cf7de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd65c,_0x2eae1c)=>{if(_0x2eae1c[0x0]!=_0x129e4e)return _0x82adc7(_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2eae1c[0x1]={..._0x2eae1c[0x1],[_0x3cf7de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x542c04};},{[_0x3cf7de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cf7de([0x68,0x69,0x67,0x68])}),_0x1b3d7b[_0x3cf7de([0x6f,0x6e])](_0x3cf7de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30d646=>{_0x42ef9b(_0x30d646[_0x3cf7de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fa1ba=!0x0,_0x460226(_0x30d646[_0x3cf7de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3cf7de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cf7de([0x6c,0x6f,0x77])}),_0x41afef[_0x3cf7de([0x74,0x68,0x65,0x6e])](()=>{_0x2fa1ba||_0x82adc7(_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bf83f(){return _0x1b3d7b[_0x3cf7de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cf7de([0x76,0x69,0x65,0x77])][_0x3cf7de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3cf7de([0x61,0x75,0x74,0x6f]);}function _0x559789(){_0x1b3d7b[_0x3cf7de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cf7de([0x76,0x69,0x65,0x77])][_0x3cf7de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3cf7de([0x61,0x75,0x74,0x6f]);}}function _0x15df5d(_0x2153b9){const _0x2a4990=[new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3094ca=>setTimeout(_0x3094ca,0x47abbbca^_0x259d68)),_0x41afef[_0x3cf7de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfb8031=>{let _0x2b2d7c=0x0;_0x1b3d7b[_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cf7de([0x6f,0x6e])](_0x3cf7de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bfb1f,_0x17219e)=>{_0x17219e[0x0][_0x3cf7de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b2d7c++,_0x2b2d7c==(0x47a284fe^_0x259d68)&&(_0xfb8031(),_0x1bfb1f[_0x3cf7de([0x6f,0x66,0x66])]());});}))];return window[_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3cf7de([0x72,0x61,0x63,0x65])](_0x2a4990)[_0x3cf7de([0x74,0x68,0x65,0x6e])](()=>_0x2153b9);}async function _0x163472(){await _0x41afef,_0x1b3d7b[_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cf7de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50dc29,_0x1b3d7b[_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cf7de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50dc29,_0x1b3d7b[_0x3cf7de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1cc8bc(_0x52ceb9){const _0x493c1c=_0x2c9bd8();_0x1b3d7b[_0x493c1c]=_0x3cf7de([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52ceb9,_0x52ceb9!=_0x3cf7de([0x56,0x61,0x6c,0x69,0x64])&&_0x163472();}function _0x2c9bd8(){const _0x5ef438=window[_0x3cf7de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3cf7de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cf7de([0x6e,0x6f,0x77])]())[_0x3cf7de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cf7de([0x2e]),'');let _0x4d9649=_0x3cf7de([0x75]);for(let _0x16bdf1=0x0;_0x16bdf1<_0x5ef438[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16bdf1+=0x2){let _0x17d071=window[_0x3cf7de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ef438[_0x3cf7de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16bdf1,_0x16bdf1+0x2));_0x17d071>=_0x179662[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17d071-=_0x179662[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d9649+=_0x179662[_0x17d071];}return _0x4d9649;}function _0x474f8d(){const _0x14a861=_0x11f0bd[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e]));if(0x3!=_0x14a861[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x123a33(_0x14a861[0x1]);function _0x123a33(_0x34de3f){const _0x15390e=_0x141edf(_0x34de3f);return _0x15390e&&_0x3c719b()?_0x15390e:null;function _0x3c719b(){const _0x241de3=_0x15390e[_0x3cf7de([0x6a,0x74,0x69])],_0x333c17=window[_0x3cf7de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x241de3[_0x3cf7de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x241de3[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2916dd={..._0x15390e,[_0x3cf7de([0x6a,0x74,0x69])]:_0x241de3[_0x3cf7de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x241de3[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2916dd[_0x3cf7de([0x76,0x63])],_0x397815(_0x2916dd)==_0x333c17;}}}async function _0x24b16c(){let _0x25e660=!0x0;try{const _0x3c53a2=_0x11f0bd[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e])),[_0x5d83de,_0x33815b,_0x444754]=_0x3c53a2;return _0xbb7e17(_0x5d83de),await _0x4f39b1(_0x5d83de,_0x33815b,_0x444754),_0x25e660;}catch{return!0x1;}function _0xbb7e17(_0x2b1292){const _0x3dd72f=_0x141edf(_0x2b1292);_0x3dd72f&&_0x3dd72f[_0x3cf7de([0x61,0x6c,0x67])]==_0x3cf7de([0x45,0x53,0x32,0x35,0x36])||(_0x25e660=!0x1);}async function _0x4f39b1(_0x12040d,_0x925a22,_0x1d6c3a){const _0x577887=window[_0x3cf7de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3cf7de([0x66,0x72,0x6f,0x6d])](_0x2a07d0(_0x1d6c3a),_0x2d4392=>_0x2d4392[_0x3cf7de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x400457=new window[(_0x3cf7de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3cf7de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12040d+_0x3cf7de([0x2e])+_0x925a22),_0x2b2d55=window[_0x3cf7de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3cf7de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b2d55)return;const _0x3e1e6c=await _0x2b2d55[_0x3cf7de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3cf7de([0x6a,0x77,0x6b]),_0x44fe14,{[_0x3cf7de([0x6e,0x61,0x6d,0x65])]:_0x3cf7de([0x45,0x43,0x44,0x53,0x41]),[_0x3cf7de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3cf7de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3cf7de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b2d55[_0x3cf7de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3cf7de([0x6e,0x61,0x6d,0x65])]:_0x3cf7de([0x45,0x43,0x44,0x53,0x41]),[_0x3cf7de([0x68,0x61,0x73,0x68])]:{[_0x3cf7de([0x6e,0x61,0x6d,0x65])]:_0x3cf7de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e1e6c,_0x577887,_0x400457)||(_0x25e660=!0x1);}}function _0x141edf(_0x48d83c){return _0x48d83c[_0x3cf7de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3cf7de([0x65,0x79]))?JSON[_0x3cf7de([0x70,0x61,0x72,0x73,0x65])](_0x2a07d0(_0x48d83c)):null;}function _0x2a07d0(_0x353812){return window[_0x3cf7de([0x61,0x74,0x6f,0x62])](_0x353812[_0x3cf7de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3cf7de([0x2b]))[_0x3cf7de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3cf7de([0x2f])));}function _0x397815(_0x51fdf1){let _0x2f1371=0x1505;function _0x16fc04(_0x4841bb){for(let _0xd9f1f5=0x0;_0xd9f1f5<_0x4841bb[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd9f1f5++){const _0x591ff0=_0x4841bb[_0x3cf7de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd9f1f5);_0x2f1371=(_0x2f1371<<0x5)+_0x2f1371+_0x591ff0,_0x2f1371&=_0x2f1371;}}function _0x49b977(_0x1cc40a){Array[_0x3cf7de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cc40a)?_0x1cc40a[_0x3cf7de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49b977):_0x1cc40a&&typeof _0x1cc40a==_0x3cf7de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3cf7de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cc40a)[_0x3cf7de([0x73,0x6f,0x72,0x74])]()[_0x3cf7de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a356f,_0x5c95a7])=>{_0x16fc04(_0x5a356f),_0x49b977(_0x5c95a7);}):_0x16fc04(window[_0x3cf7de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cc40a));}return _0x49b977(_0x51fdf1),_0x2f1371>>>0x0;}function _0x3c9a16(_0x24e215){return _0x24e215[_0x3cf7de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3cf7de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3cf7de([0x30]));}function _0x93061(_0x1c963a){return _0x1c963a[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3cf7de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3cf7de([0x6a,0x6f,0x69,0x6e])]('');}function _0x50dc29(){}function _0x3cf7de(_0x5847f0){return _0x5847f0['map'](_0x2348fc=>String['fromCharCode'](_0x2348fc))['join']('');}_0x1cc8bc(await _0x2a78a6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x26ace9){const {plugins:_0x285440,editing:_0x54815a,model:_0x338bbe}=this['editor'],_0x8414e5=_0x285440['get'](_0x2af9fd)['getFootnote'](_0x26ace9);return!!_0x8414e5&&(_0x338bbe['change'](_0x2a45bd=>{_0x2a45bd['setSelection'](_0x2a45bd['createPositionAt'](_0x8414e5['definition'],'end'));}),_0x54815a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x11082c){const {plugins:_0x5d57b0,editing:_0x357038,model:_0x26d817}=this['editor'],_0x27fc57=_0x5d57b0['get'](_0x2af9fd)['getFootnote'](_0x11082c);return!!_0x27fc57&&(_0x26d817['change'](_0xa73a23=>{_0xa73a23['setSelection'](_0x27fc57['reference'],'on');}),_0x357038['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4ff96b}=this['editor']['model'],_0x7fa0c4=this['editor']['config']['get']('footnotes.multiBlock');_0x4ff96b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4ff96b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4ff96b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x7fa0c4?_0x4ff96b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4ff96b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4ff96b['addChildCheck'](_0x193559=>{for(const _0x52ace6 of _0x193559)if('footnoteDefinition'===_0x52ace6['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x12b9c9}=this,{conversion:_0x4281a0,editing:_0x5bfc46}=_0x12b9c9,{t:t}=_0x12b9c9['locale'];_0x4281a0['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x287f9c,{writer:_0x1989c0,consumable:_0x55b457})=>{const _0x56bc53=_0x287f9c['getChild'](0x0);if(!_0x56bc53||!_0x56bc53['is']('element','a'))return null;const _0x2895ad=_0x56bc53['getAttribute']('href')||'';if(!_0x2895ad['startsWith']('#'))return null;const _0x214fbd=_0x2895ad['replace'](/^#/,'');if(!_0x214fbd)return null;_0x55b457['consume'](_0x56bc53,{'name':!0x0,'attributes':['href']});for(const {item:_0x32125f}of _0x5bfc46['view']['createRangeIn'](_0x56bc53))_0x32125f['is']('$textProxy')?_0x55b457['consume'](_0x32125f['textNode'],{'name':!0x0}):_0x32125f['is']('element')&&_0x55b457['consume'](_0x32125f,{'name':!0x0});return _0x1989c0['createElement']('footnoteRef',{'footnoteId':_0x214fbd});}}),_0x4281a0['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x398116,{writer:_0x77d08c})=>D(_0x398116,_0x77d08c)}),_0x4281a0['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2e423c,{writer:_0x550900})=>{const _0x131bf0=_0x2e423c['getAttribute']('footnoteCounter');return _0x3c7c04(D(_0x2e423c,_0x550900),_0x550900,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x131bf0)});}});}['_defineDefinitionsConverters'](){const {editor:_0x59f926}=this,{t:t}=_0x59f926['locale'],{conversion:_0x20fe5a}=_0x59f926;_0x20fe5a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x20fe5a['for']('upcast')['add'](_0x594fbf=>{_0x594fbf['on']('element:ol',(_0x282711,_0x37620b,_0x5116ac)=>{const _0x144cc3=_0x37620b['viewItem'];_0x144cc3['hasClass']('footnotes-list')&&_0x37620b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5116ac['consumable']['consume'](_0x144cc3,{'classes':'footnotes-list'});}),_0x594fbf['on']('element:hr',(_0x4dde21,_0x4021e3,_0x3e93b0)=>{const _0x3fb524=_0x4021e3['viewItem'];_0x3fb524['hasClass']('footnotes-divider')&&_0x4021e3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e93b0['consumable']['consume'](_0x3fb524,{'classes':'footnotes-divider'});});}),_0x20fe5a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x36fa66,{writer:_0x473937})=>g(_0x473937)}),_0x20fe5a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50a843,{writer:_0x22fffc})=>{const _0x17aecb=g(_0x22fffc,{'data-footnotes-list-label':t('Footnotes')}),_0x59c7d9=_0x3c7c04(_0x17aecb,_0x22fffc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x22fffc['setCustomProperty']('footnotesDefinitions',!0x0,_0x59c7d9),_0x59c7d9;}});}['_defineDefinitionConverters'](){const {editor:_0x250787}=this,{conversion:_0x3b6ab7,locale:_0x1afbfa}=_0x250787,_0x238ab8=_0x250787['config']['get']('footnotes.multiBlock');_0x3b6ab7['for']('upcast')['add'](_0x4b31c4=>{_0x4b31c4['on']('element:li',(_0x24dc0,_0x3aa8be,_0x520521)=>{const _0x3caa15=_0x3aa8be['viewItem'];if(!_0x3caa15['hasClass']('footnote-definition')||!_0x3caa15['getAttribute']('id'))return;const _0x5a9fce=_0x3caa15['parent'];if(!_0x5a9fce['is']('element','ol')||!_0x5a9fce['hasClass']('footnotes-list'))return;if(!_0x520521['consumable']['test'](_0x3caa15,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1796ba=_0x520521['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3caa15['getAttribute']('id')});if(!_0x520521['safeInsert'](_0x1796ba,_0x3aa8be['modelCursor']))return;_0x520521['consumable']['consume'](_0x3caa15,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1f3176=Array['from'](_0x3caa15['getChildren']())['find'](_0x2382b1=>_0x2382b1['is']('element')&&_0x2382b1['hasClass']('footnote-content'));for(const _0xd075e1 of _0x3caa15['getChildren']())_0xd075e1['is']('element')&&(_0x520521['consumable']['consume'](_0xd075e1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x520521['consumable']['consume'](_0xd075e1,{'name':!0x0,'classes':'footnote-content'}));if(_0x1f3176){if(_0x238ab8)_0x520521['convertChildren'](_0x1f3176,_0x1796ba);else{const _0xa64021=_0x520521['writer']['createElement']('footnoteInlineContent');_0x520521['writer']['insert'](_0xa64021,_0x1796ba),_0x520521['convertChildren'](_0x1f3176,_0xa64021);}}_0x520521['updateConversionResult'](_0x1796ba,_0x3aa8be);});}),_0x3b6ab7['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x21cc48,{writer:_0x1e80e5})=>v(_0x21cc48,_0x1e80e5,_0x1afbfa,{'dataPipeline':!0x0})}),_0x3b6ab7['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4dbc14,{writer:_0x4a0aaf})=>v(_0x4dbc14,_0x4a0aaf,_0x1afbfa)});}['_defineBogusParagraphConverters'](){const {editor:_0x26bc71}=this,{conversion:_0x2877c4}=_0x26bc71;_0x26bc71['config']['get']('footnotes.multiBlock')?(_0x2877c4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x2877c4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x26bc71['model']['document'],'change:data',()=>{!function(_0x34a045,_0x52a822){const _0x251788=_0x34a045['document']['differ'],_0x1959be=new Set();for(const _0xac698d of _0x251788['getChanges']()){const _0x107d74='attribute'==_0xac698d['type']?_0xac698d['range']['start']['parent']:_0xac698d['position']['parent'];_0x107d74['is']('element','footnoteDefinition')&&_0x1959be['add'](_0x107d74);}for(const _0xad6b90 of _0x1959be['values']()){const _0x1df3e2=Array['from'](_0xad6b90['getChildren']())['filter'](_0x133068=>p(_0x133068,_0x52a822['mapper']));for(const _0x50bda4 of _0x1df3e2)_0x52a822['reconvertItem'](_0x50bda4);}}(_0x26bc71['model'],_0x26bc71['editing']);})):(_0x2877c4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x2877c4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xa8f4ff,{writer:_0x316f8b})=>{const _0x3cd850=_0x316f8b['createContainerElement']('span');return _0x316f8b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3cd850),_0x3cd850;}}));}['_defineKeyboardHandlers'](){const {editor:_0x420cbe}=this,{editing:_0xaf09c4,t:t}=_0x420cbe,_0x9e2dfe=_0x420cbe['model']['document']['selection'];_0x420cbe['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x420cbe['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0xaf09c4['view']['document'],'enter',(_0x1dca8b,_0x7d3385)=>{const _0x35492f=function(_0x17d717){const _0x47e8a8=_0x17d717['getSelectedElement']();if(_0x47e8a8?.['is']('element','footnoteRef'))return _0x47e8a8;return null;}(_0x9e2dfe);if(_0x35492f){const _0x5237ac=_0x35492f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5237ac),_0x7d3385['preventDefault'](),_0x1dca8b['stop']();}},{'context':_0xb3f1ad});}['_defineClickHandlers'](){const {editor:_0x3dc9ad}=this,{editing:_0x5baa75}=_0x3dc9ad;_0x3dc9ad['editing']['view']['addObserver'](_0x4dd17f),_0x3dc9ad['editing']['view']['addObserver'](_0xd238bf);let _0x336e12=!0x1;this['listenTo'](_0x5baa75['view']['document'],'pointerdown',(_0xd2b42,_0x41e0da)=>{const {target:_0x4eef3b}=_0x41e0da,_0x1b8d41=_0x5baa75['view']['document']['selection'];_0x336e12=!(!_0x4eef3b['is']('element','sup')||!_0x4eef3b['hasClass']('footnote'))&&_0x1b8d41['getSelectedElement']()===_0x4eef3b;},{'priority':'high'}),this['listenTo'](_0x5baa75['view']['document'],'click',(_0x272d53,_0x3803d0)=>{const {target:_0xe1bff8}=_0x3803d0,_0x488ffc=_0xe1bff8['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x488ffc['slice'](0x1)),_0x272d53['stop'](),_0x3803d0['preventDefault']();},{'priority':'high','context':_0x37f00a=>_0x37f00a['is']('element','sup')&&_0x37f00a['hasClass']('footnote')&&_0x336e12}),this['listenTo'](_0x5baa75['view']['document'],'click',(_0xc56054,_0x5dfe30)=>{const {target:_0x1c1667}=_0x5dfe30;if(!_0x1c1667['is']('element','a'))return;let _0x4cda49=_0x1c1667['getAttribute']('href');if(!_0x4cda49?.['startsWith']('#'))return;_0x4cda49=_0x4cda49['slice'](0x1);let _0x778aee=!0x1;(_0x4cda49['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4cda49['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4cda49))&&(_0x778aee=!0x0),_0x778aee&&(_0x5dfe30['preventDefault'](),_0xc56054['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x319c30}={}){return(_0x290b27,{writer:_0x4ffaea})=>{if(!h(_0x290b27))return null;if(!_0x319c30)return _0x4ffaea['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1347ce=_0x4ffaea['createContainerElement']('p');return _0x4ffaea['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1347ce),_0x1347ce;};}function h(_0x286b1e){const {parent:_0x4cc210}=_0x286b1e;if(!_0x4cc210?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4cc210['childCount'])return!0x1;for(const _0x176431 of _0x286b1e['getAttributeKeys']())if(!_0x176431['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x176431)return!0x1;return!0x0;}function p(_0x1de326,_0x47ae1a){if(!_0x1de326['is']('element','paragraph'))return!0x1;const _0x586fa4=_0x47ae1a['toViewElement'](_0x1de326);return!!_0x586fa4&&h(_0x1de326)!==_0x586fa4['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2a8138){return _0xb3f1ad(_0x2a8138)&&_0x2a8138['is']('containerElement')&&!!_0x2a8138['getCustomProperty']('footnotesDefinitions');}function g(_0x1c5db4,_0x50664e={}){const _0x598817=_0x1c5db4['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3465cb=_0x1c5db4['createContainerElement']('ol',{'class':'footnotes-list'},_0x1c5db4['createSlot']());return _0x1c5db4['createContainerElement']('div',{'class':'footnotes',..._0x50664e},[_0x598817,_0x3465cb]);}function D(_0x44d425,_0x3b078a){const _0x51d489=_0x44d425['getAttribute']('footnoteId'),_0x2afe56=_0x44d425['getAttribute']('footnoteCounter'),_0x3ccfd4=_0x3b078a['createUIElement']('a',{'href':'#'+_0x51d489},function(_0x2e8db2){const _0x5874cc=this['toDomElement'](_0x2e8db2);return _0x5874cc['textContent']=_0x2afe56,_0x5874cc;}),_0x3b479e=_0x3b078a['createContainerElement']('sup',{'id':'ref-'+_0x51d489,'class':'footnote'},[_0x3ccfd4]);return _0x3b479e['getFillerOffset']=()=>null,_0x3b479e;}function v(_0x187550,_0x5b9daa,_0x42cd10,{dataPipeline:_0x28dbf0}={}){const {t:t}=_0x42cd10,_0x43add0=_0x187550['getAttribute']('footnoteId'),_0x5ccf0d=_0x5b9daa['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x43add0},function(_0x39bf2d){const _0x393a33=this['toDomElement'](_0x39bf2d);return _0x393a33['innerText']='^',_0x393a33;}),_0x29d570=_0x28dbf0?_0x5b9daa['createContainerElement']('div',{'class':'footnote-content'}):_0x3f6794(_0x5b9daa['createEditableElement']('div',{'class':'footnote-content'}),_0x5b9daa,{'label':t('Footnote\x20content.')});return _0x5b9daa['insert'](_0x5b9daa['createPositionAt'](_0x29d570,0x0),_0x5b9daa['createSlot']()),_0x5b9daa['createContainerElement']('li',{'class':'footnote-definition','id':_0x43add0},[_0x5ccf0d,_0x29d570]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5794(){const _0x3faaf7=['plugins','value','223442FBCJAL','4WQEuKr','get','isEnabled','footnotesListStart','250jKoAzh','getAttribute','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','1446RcMJEU','setAttribute','10376694bLPWBY','2146308iZcxhd','refresh','model','32081010hbhdDS','change','8ExlBZz','26738NGTBGC','execute','isInteger','3849734tQwSHd'];_0x5794=function(){return _0x3faaf7;};return _0x5794();}const _0xaebcc=_0x17d7;(function(_0x5de732,_0x545d4a){const _0x20b813=_0x17d7,_0x28432d=_0x5de732();while(!![]){try{const _0x26bbce=-parseInt(_0x20b813(0x117))/0x1+-parseInt(_0x20b813(0x11d))/0x2+-parseInt(_0x20b813(0x129))/0x3*(parseInt(_0x20b813(0x11e))/0x4)+-parseInt(_0x20b813(0x122))/0x5*(parseInt(_0x20b813(0x126))/0x6)+-parseInt(_0x20b813(0x11a))/0x7+-parseInt(_0x20b813(0x116))/0x8*(parseInt(_0x20b813(0x128))/0x9)+parseInt(_0x20b813(0x12c))/0xa;if(_0x26bbce===_0x545d4a)break;else _0x28432d['push'](_0x28432d['shift']());}catch(_0x598723){_0x28432d['push'](_0x28432d['shift']());}}}(_0x5794,0x9c0fc));function _0x17d7(_0x5799fc,_0x64ca22){const _0x579470=_0x5794();return _0x17d7=function(_0x17d747,_0x337e35){_0x17d747=_0x17d747-0x115;let _0x58d3d0=_0x579470[_0x17d747];return _0x58d3d0;},_0x17d7(_0x5799fc,_0x64ca22);}import{Command as _0x18382a}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x6e611e}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x18382a{[_0xaebcc(0x12a)](){const _0x161888=_0xaebcc,{editor:_0x5d1bd3}=this,_0x442d3e=_0x5d1bd3[_0x161888(0x11b)][_0x161888(0x11f)](_0x6e611e)[_0x161888(0x124)]();this[_0x161888(0x120)]=!!_0x442d3e,this[_0x161888(0x11c)]=_0x442d3e?.[_0x161888(0x123)](_0x161888(0x121))??null;}[_0xaebcc(0x118)]({value:_0x22d249}){const _0x4aa60c=_0xaebcc,{editor:_0x202f47}=this,_0x4d5f8e=_0x202f47[_0x4aa60c(0x11b)][_0x4aa60c(0x11f)](_0x6e611e),_0x2b7682=_0x4d5f8e[_0x4aa60c(0x124)]();_0x2b7682&&Number[_0x4aa60c(0x119)](_0x22d249)&&_0x202f47[_0x4aa60c(0x12b)][_0x4aa60c(0x115)](_0x21eaa9=>{const _0x3eedff=_0x4aa60c;_0x21eaa9[_0x3eedff(0x127)](_0x3eedff(0x121),_0x22d249,_0x2b7682),_0x4d5f8e[_0x3eedff(0x125)](_0x21eaa9);});}}
23
+ const _0x2aca88=_0x1df1;(function(_0x88e624,_0x1423af){const _0x5ec0a=_0x1df1,_0x28a536=_0x88e624();while(!![]){try{const _0xc23e67=parseInt(_0x5ec0a(0x162))/0x1+parseInt(_0x5ec0a(0x171))/0x2+parseInt(_0x5ec0a(0x164))/0x3+parseInt(_0x5ec0a(0x167))/0x4*(-parseInt(_0x5ec0a(0x163))/0x5)+-parseInt(_0x5ec0a(0x161))/0x6+-parseInt(_0x5ec0a(0x16c))/0x7+-parseInt(_0x5ec0a(0x173))/0x8;if(_0xc23e67===_0x1423af)break;else _0x28a536['push'](_0x28a536['shift']());}catch(_0x34d142){_0x28a536['push'](_0x28a536['shift']());}}}(_0x34fa,0x33ea4));import{Command as _0x4703b9}from'ckeditor5/src/core.js';function _0x34fa(){const _0x49fff5=['isInteger','get','plugins','512478kaFehp','360909LouZXT','8650aKAqng','878901dnSqrr','getAttribute','refresh','604LsMMuw','model','footnotesListStart','value','_updateFootnotesCounters','1368360IFQmlz','isEnabled','getFootnotesDefinitionsObjectElement','setAttribute','execute','844116VNgnPX','change','2569336DwMFXA'];_0x34fa=function(){return _0x49fff5;};return _0x34fa();}import{FootnotesTracker as _0xb35087}from'../../footnotestracker.js';function _0x1df1(_0x397f9c,_0x73a14d){const _0x34fae0=_0x34fa();return _0x1df1=function(_0x1df1ae,_0x44fee9){_0x1df1ae=_0x1df1ae-0x15e;let _0x4be8f0=_0x34fae0[_0x1df1ae];return _0x4be8f0;},_0x1df1(_0x397f9c,_0x73a14d);}export class FootnotesStartCommand extends _0x4703b9{[_0x2aca88(0x166)](){const _0x386141=_0x2aca88,{editor:_0x3d31db}=this,_0x4933b6=_0x3d31db[_0x386141(0x160)][_0x386141(0x15f)](_0xb35087)[_0x386141(0x16e)]();this[_0x386141(0x16d)]=!!_0x4933b6,this[_0x386141(0x16a)]=_0x4933b6?.[_0x386141(0x165)](_0x386141(0x169))??null;}[_0x2aca88(0x170)]({value:_0x48a6e6}){const _0x2289b7=_0x2aca88,{editor:_0x14053c}=this,_0x310c11=_0x14053c[_0x2289b7(0x160)][_0x2289b7(0x15f)](_0xb35087),_0x57e07b=_0x310c11[_0x2289b7(0x16e)]();_0x57e07b&&Number[_0x2289b7(0x15e)](_0x48a6e6)&&_0x14053c[_0x2289b7(0x168)][_0x2289b7(0x172)](_0xec48a1=>{const _0x5891cb=_0x2289b7;_0xec48a1[_0x5891cb(0x16f)](_0x5891cb(0x169),_0x48a6e6,_0x57e07b),_0x310c11[_0x5891cb(0x16b)](_0xec48a1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bf6ed=_0x15d0;(function(_0x22e0de,_0x1b07b9){const _0x620495=_0x15d0,_0x4ecc2e=_0x22e0de();while(!![]){try{const _0x21ba59=parseInt(_0x620495(0x170))/0x1*(-parseInt(_0x620495(0x172))/0x2)+-parseInt(_0x620495(0x175))/0x3+parseInt(_0x620495(0x17a))/0x4+-parseInt(_0x620495(0x16c))/0x5+-parseInt(_0x620495(0x16b))/0x6*(parseInt(_0x620495(0x16a))/0x7)+parseInt(_0x620495(0x17f))/0x8*(parseInt(_0x620495(0x168))/0x9)+parseInt(_0x620495(0x17c))/0xa;if(_0x21ba59===_0x1b07b9)break;else _0x4ecc2e['push'](_0x4ecc2e['shift']());}catch(_0x5a2aa9){_0x4ecc2e['push'](_0x4ecc2e['shift']());}}}(_0x692a,0x67b4a));import{Command as _0x9b63d2}from'ckeditor5/src/core.js';function _0x15d0(_0x3c5f12,_0x15e300){const _0x692a3e=_0x692a();return _0x15d0=function(_0x15d0f6,_0x5c0eab){_0x15d0f6=_0x15d0f6-0x168;let _0x2c1760=_0x692a3e[_0x15d0f6];return _0x2c1760;},_0x15d0(_0x3c5f12,_0x15e300);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x5037e4}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1857e6}from'../../footnotestracker.js';function _0x692a(){const _0x384939=['footnotesListStyle','refresh','167472paBGDW','getAttribute','17017390DmvZwn','change','isEnabled','8FytIAH','1569222xVeSSn','model','269745VFAQcO','108prScCX','1220215ZQtrec','get','plugins','includes','11134rzpsBT','getFootnotesDefinitionsObjectElement','76qLooTY','_updateFootnotesCounters','execute','397266KHFfII','value','setAttribute'];_0x692a=function(){return _0x384939;};return _0x692a();}export class FootnotesStyleCommand extends _0x9b63d2{[_0x2bf6ed(0x179)](){const _0x53904d=_0x2bf6ed,{editor:_0xd3aaac}=this,_0x4d4116=_0xd3aaac[_0x53904d(0x16e)][_0x53904d(0x16d)](_0x1857e6)[_0x53904d(0x171)]();this[_0x53904d(0x17e)]=!!_0x4d4116,this[_0x53904d(0x176)]=_0x4d4116?.[_0x53904d(0x17b)](_0x53904d(0x178))??null;}[_0x2bf6ed(0x174)]({value:_0x58ba67}){const _0x535154=_0x2bf6ed,{editor:_0x49d843}=this,_0xfdbe0c=_0x49d843[_0x535154(0x16e)][_0x535154(0x16d)](_0x1857e6),_0x4c9c34=_0xfdbe0c[_0x535154(0x171)]();_0x4c9c34&&_0x5037e4[_0x535154(0x16f)](_0x58ba67)&&_0x49d843[_0x535154(0x169)][_0x535154(0x17d)](_0xdef784=>{const _0xca20c0=_0x535154;_0xdef784[_0xca20c0(0x177)](_0xca20c0(0x178),_0x58ba67,_0x4c9c34),_0xfdbe0c[_0xca20c0(0x173)](_0xdef784);});}}
23
+ function _0x2c75(){const _0x18b67c=['footnotesListStyle','getFootnotesDefinitionsObjectElement','setAttribute','7GvSpkL','refresh','2IBDDFh','execute','isEnabled','get','change','6994302RXktzL','getAttribute','plugins','includes','model','value','4310037FLAOLX','3592488MlPlAE','1063212kYKoiv','68fdJYAh','11963682FqkQiq','4370HyGGDn','84194Qlljpn','107395MlPCgW','_updateFootnotesCounters'];_0x2c75=function(){return _0x18b67c;};return _0x2c75();}const _0x1f649b=_0x2278;(function(_0x46a159,_0x2e29f8){const _0x43e12d=_0x2278,_0x115d56=_0x46a159();while(!![]){try{const _0x25e985=parseInt(_0x43e12d(0xf3))/0x1+-parseInt(_0x43e12d(0xe6))/0x2*(-parseInt(_0x43e12d(0xf1))/0x3)+parseInt(_0x43e12d(0xf4))/0x4*(-parseInt(_0x43e12d(0xf8))/0x5)+parseInt(_0x43e12d(0xeb))/0x6+parseInt(_0x43e12d(0xe4))/0x7*(-parseInt(_0x43e12d(0xf2))/0x8)+parseInt(_0x43e12d(0xf5))/0x9+-parseInt(_0x43e12d(0xf6))/0xa*(parseInt(_0x43e12d(0xf7))/0xb);if(_0x25e985===_0x2e29f8)break;else _0x115d56['push'](_0x115d56['shift']());}catch(_0xa79b86){_0x115d56['push'](_0x115d56['shift']());}}}(_0x2c75,0xcc140));import{Command as _0xd0589d}from'ckeditor5/src/core.js';function _0x2278(_0xf93039,_0x333917){const _0x2c7573=_0x2c75();return _0x2278=function(_0x227859,_0x34adcf){_0x227859=_0x227859-0xe0;let _0x1b3a93=_0x2c7573[_0x227859];return _0x1b3a93;},_0x2278(_0xf93039,_0x333917);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x4e80a6}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4bf97a}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xd0589d{[_0x1f649b(0xe5)](){const _0x2dec6a=_0x1f649b,{editor:_0x5dd2f6}=this,_0x1573b8=_0x5dd2f6[_0x2dec6a(0xed)][_0x2dec6a(0xe9)](_0x4bf97a)[_0x2dec6a(0xe2)]();this[_0x2dec6a(0xe8)]=!!_0x1573b8,this[_0x2dec6a(0xf0)]=_0x1573b8?.[_0x2dec6a(0xec)](_0x2dec6a(0xe1))??null;}[_0x1f649b(0xe7)]({value:_0x787d59}){const _0x223ab0=_0x1f649b,{editor:_0x576478}=this,_0x5cd74e=_0x576478[_0x223ab0(0xed)][_0x223ab0(0xe9)](_0x4bf97a),_0x59828a=_0x5cd74e[_0x223ab0(0xe2)]();_0x59828a&&_0x4e80a6[_0x223ab0(0xee)](_0x787d59)&&_0x576478[_0x223ab0(0xef)][_0x223ab0(0xea)](_0x5a7710=>{const _0x2e6af6=_0x223ab0;_0x5a7710[_0x2e6af6(0xe3)](_0x2e6af6(0xe1),_0x787d59,_0x59828a),_0x5cd74e[_0x2e6af6(0xe0)](_0x5a7710);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x190307=_0xc059;(function(_0x1c72f5,_0x5dfb36){const _0x369cc0=_0xc059,_0x282a0b=_0x1c72f5();while(!![]){try{const _0x66860a=parseInt(_0x369cc0(0x105))/0x1*(parseInt(_0x369cc0(0x110))/0x2)+-parseInt(_0x369cc0(0x10e))/0x3+-parseInt(_0x369cc0(0x10d))/0x4+parseInt(_0x369cc0(0x10a))/0x5*(-parseInt(_0x369cc0(0x107))/0x6)+parseInt(_0x369cc0(0x109))/0x7+-parseInt(_0x369cc0(0x10b))/0x8*(-parseInt(_0x369cc0(0x114))/0x9)+parseInt(_0x369cc0(0x104))/0xa;if(_0x66860a===_0x5dfb36)break;else _0x282a0b['push'](_0x282a0b['shift']());}catch(_0x2a097f){_0x282a0b['push'](_0x282a0b['shift']());}}}(_0x4604,0x4b9d5));function _0xc059(_0x52ff60,_0x44589f){const _0x4604e2=_0x4604();return _0xc059=function(_0xc0597d,_0xdaf807){_0xc0597d=_0xc0597d-0x104;let _0x591cb5=_0x4604e2[_0xc0597d];return _0x591cb5;},_0xc059(_0x52ff60,_0x44589f);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x190307(0x10f),_0x190307(0x113),_0x190307(0x10c),_0x190307(0x108),_0x190307(0x112),_0x190307(0x111),_0x190307(0x106),_0x190307(0x115)];function _0x4604(){const _0x3f6753=['lower-alpha','decimal-leading-zero','9pEyuQs','upper-roman','12190660DUjOQp','27264vZKqrd','lower-roman','408840xPbtSG','upper-latin','943173hBqtFB','40uqhlFA','2217304gMwiSN','lower-latin','1805372qLipAq','1383324MibXbV','decimal','10YxZoub','upper-alpha'];_0x4604=function(){return _0x3f6753;};return _0x4604();}
23
+ function _0x3c51(){const _0xc98fc0=['upper-alpha','upper-roman','decimal-leading-zero','4086369LxjgHS','lower-latin','upper-latin','lower-roman','4953576vhYukj','373882nYzTXH','36GmaLuh','lower-alpha','551055jdcGIG','84FnMind','decimal','681370NfddLM','381948whGNjb','24996VzpsnO','9hZGBQT','517uviGQb'];_0x3c51=function(){return _0xc98fc0;};return _0x3c51();}const _0x4ea26d=_0x2d58;function _0x2d58(_0x484173,_0x201458){const _0x3c5162=_0x3c51();return _0x2d58=function(_0x2d58d1,_0x32043e){_0x2d58d1=_0x2d58d1-0x188;let _0x21e3d0=_0x3c5162[_0x2d58d1];return _0x21e3d0;},_0x2d58(_0x484173,_0x201458);}(function(_0x3a761f,_0x39d442){const _0x209455=_0x2d58,_0x135cf6=_0x3a761f();while(!![]){try{const _0x5aa5c3=parseInt(_0x209455(0x192))/0x1+parseInt(_0x209455(0x18a))/0x2+parseInt(_0x209455(0x198))/0x3+-parseInt(_0x209455(0x18b))/0x4*(-parseInt(_0x209455(0x18d))/0x5)+parseInt(_0x209455(0x191))/0x6*(parseInt(_0x209455(0x18e))/0x7)+parseInt(_0x209455(0x189))/0x8*(parseInt(_0x209455(0x193))/0x9)+parseInt(_0x209455(0x190))/0xa*(-parseInt(_0x209455(0x194))/0xb);if(_0x5aa5c3===_0x39d442)break;else _0x135cf6['push'](_0x135cf6['shift']());}catch(_0x41064a){_0x135cf6['push'](_0x135cf6['shift']());}}}(_0x3c51,0xb6475));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4ea26d(0x18f),_0x4ea26d(0x197),_0x4ea26d(0x199),_0x4ea26d(0x19a),_0x4ea26d(0x18c),_0x4ea26d(0x195),_0x4ea26d(0x188),_0x4ea26d(0x196)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x145094=_0x24c6;(function(_0x1ef76c,_0x45ebb1){const _0x2335d8=_0x24c6,_0x2061bd=_0x1ef76c();while(!![]){try{const _0x214d59=-parseInt(_0x2335d8(0x137))/0x1*(parseInt(_0x2335d8(0x168))/0x2)+-parseInt(_0x2335d8(0x14b))/0x3+-parseInt(_0x2335d8(0x11b))/0x4+-parseInt(_0x2335d8(0x124))/0x5*(-parseInt(_0x2335d8(0x11d))/0x6)+parseInt(_0x2335d8(0x156))/0x7+-parseInt(_0x2335d8(0x15c))/0x8*(-parseInt(_0x2335d8(0x12c))/0x9)+-parseInt(_0x2335d8(0x120))/0xa;if(_0x214d59===_0x45ebb1)break;else _0x2061bd['push'](_0x2061bd['shift']());}catch(_0x35ded8){_0x2061bd['push'](_0x2061bd['shift']());}}}(_0x3ccc,0xd9f6d));function _0x24c6(_0x2400d5,_0x180666){const _0x3ccc00=_0x3ccc();return _0x24c6=function(_0x24c63b,_0x1a77da){_0x24c63b=_0x24c63b-0x11a;let _0x2d12ab=_0x3ccc00[_0x24c63b];return _0x2d12ab;},_0x24c6(_0x2400d5,_0x180666);}import{Plugin as _0x3d247d}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x407a69}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x2799cb}from'./commands/footnotesstartcommand.js';function _0x3ccc(){const _0x403bac=['config','footnotes.footnotesProperties.defaultListStyle','647935hFktOn','toUpperCase','start','_formatFootnoteListValue','editingDowncast','_definePostfixer','registerPostFixer','_defineFormatter','9uwsgbH','for','pluginName','upper-alpha','consumable','name','_getDefaultListStyle','commands','style','requires','attributeNewValue','274KwEobu','modelRange','attribute:footnotesListStyle:footnotesDefinitions','floor','getItems','toLowerCase','model','_updateFootnotesCounters','getAttribute','isOfficialPlugin','footnotesListStart','insert','fromCharCode','item','upper-roman','low','setStyle','extend','list-style-type','getStyle','2738478zUWojP','attributeToAttribute','footnotesDefinitions','decimal-leading-zero','createRangeOn','padStart','define','attribute:footnotesListStart:footnotesDefinitions','nodeAfter','_defineSchema','mapper','1120567kajDse','decimal','footnotesListStyle','lower-latin','isPremiumPlugin','FootnotesPropertiesEditing','11312984uazcqu','lower-alpha','position','footnotes.footnotesProperties.defaultStartIndex','_defineConverters','upper-latin','hasAttribute','footnotesStyle','lower-roman','document','max','consume','726DtfxmO','toViewElement','editor','getChildren','plugins','checkAttribute','footnotesStart','writer','from','element','isNaN','$text','setAttribute','init','getChanges','element:ol','dataDowncast','upcast','removeAttribute','setFootnoteFormatter','removeStyle','parseInt','find','_getDefaultStartIndex','1802128FtruCo','differ','78YMkfsg','type','add','9032340fnmAPS','get'];_0x3ccc=function(){return _0x403bac;};return _0x3ccc();}import{FootnotesTracker as _0x34a661}from'../footnotestracker.js';import{FootnotesEditing as _0x409384}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x3d247d{static get[_0x145094(0x12e)](){const _0x1ca060=_0x145094;return _0x1ca060(0x15b);}static get[_0x145094(0x135)](){return[_0x409384,_0x34a661];}static get[_0x145094(0x140)](){return!0x0;}static get[_0x145094(0x15a)](){return!0x0;}[_0x145094(0x175)](){const _0x1a1777=_0x145094,{editor:_0x4848a1}=this;_0x4848a1[_0x1a1777(0x122)][_0x1a1777(0x151)](_0x1a1777(0x123),_0x1a1777(0x157)),_0x4848a1[_0x1a1777(0x122)][_0x1a1777(0x151)](_0x1a1777(0x15f),0x1),_0x4848a1[_0x1a1777(0x133)][_0x1a1777(0x11f)](_0x1a1777(0x163),new _0x407a69(_0x4848a1)),_0x4848a1[_0x1a1777(0x133)][_0x1a1777(0x11f)](_0x1a1777(0x16e),new _0x2799cb(_0x4848a1)),this[_0x1a1777(0x154)](),this[_0x1a1777(0x160)](),this[_0x1a1777(0x12b)](),this[_0x1a1777(0x129)]();}[_0x145094(0x154)](){const _0x224f5e=_0x145094,{editor:_0x135b5e}=this,{schema:_0x5f1dac}=_0x135b5e[_0x224f5e(0x13d)];_0x5f1dac[_0x224f5e(0x148)](_0x224f5e(0x14d),{'allowAttributes':[_0x224f5e(0x158),_0x224f5e(0x141)]});}[_0x145094(0x160)](){const _0x337db8=_0x145094,{editor:_0x403392}=this,{conversion:_0x1a8011,model:_0x4b882b}=_0x403392,{schema:_0x183d81}=_0x4b882b;_0x1a8011[_0x337db8(0x12d)](_0x337db8(0x179))[_0x337db8(0x14c)]({'view':{'name':'ol','styles':{'list-style-type':/.+/}},'model':{'key':_0x337db8(0x158),'value':_0x2ce6aa=>_0x2ce6aa[_0x337db8(0x14a)](_0x337db8(0x149))}}),_0x1a8011[_0x337db8(0x12d)](_0x337db8(0x179))[_0x337db8(0x14c)]({'view':{'name':'ol','attributes':{'start':/.+/}},'model':{'key':_0x337db8(0x141),'value':_0x42cabc=>{const _0x3531fe=_0x337db8,_0x5f4b89=_0x42cabc[_0x3531fe(0x13f)](_0x3531fe(0x126)),_0x5eb1d1=Number[_0x3531fe(0x17d)](_0x5f4b89,0xa);return Number[_0x3531fe(0x172)](_0x5eb1d1)?null:_0x5eb1d1;}}}),_0x1a8011[_0x337db8(0x12d)](_0x337db8(0x179))[_0x337db8(0x14c)]({'view':{'name':'ol','attributes':{'type':/.+/}},'model':{'key':_0x337db8(0x158),'value':_0x191adc=>({0x1:_0x337db8(0x157),'a':_0x337db8(0x15d),'A':_0x337db8(0x12f),'i':_0x337db8(0x164),'I':_0x337db8(0x145)}[_0x191adc[_0x337db8(0x13f)](_0x337db8(0x11e))])}}),_0x1a8011[_0x337db8(0x12d)](_0x337db8(0x179))[_0x337db8(0x11f)](_0x5dcb3a=>{const _0x1c9d69=_0x337db8;_0x5dcb3a['on'](_0x1c9d69(0x177),(_0x57ef2f,_0x5c6072,_0x46ae72)=>{const _0x4972f3=_0x1c9d69,_0x21349e=_0x5c6072[_0x4972f3(0x138)]?.[_0x4972f3(0x126)][_0x4972f3(0x153)];_0x21349e?.['is'](_0x4972f3(0x171),_0x4972f3(0x14d))&&(!_0x21349e[_0x4972f3(0x162)](_0x4972f3(0x158))&&_0x183d81[_0x4972f3(0x16d)](_0x21349e,_0x4972f3(0x158))&&_0x46ae72[_0x4972f3(0x16f)][_0x4972f3(0x174)](_0x4972f3(0x158),_0x4972f3(0x157),_0x21349e),!_0x21349e[_0x4972f3(0x162)](_0x4972f3(0x141))&&_0x183d81[_0x4972f3(0x16d)](_0x21349e,_0x4972f3(0x141))&&_0x46ae72[_0x4972f3(0x16f)][_0x4972f3(0x174)](_0x4972f3(0x141),0x1,_0x21349e));},{'priority':_0x1c9d69(0x146)});}),_0x1a8011[_0x337db8(0x12d)](_0x337db8(0x178))[_0x337db8(0x14c)]({'model':{'name':_0x337db8(0x14d),'key':_0x337db8(0x141)},'view':_0x1d1e35=>0x1===_0x1d1e35?null:{'key':_0x337db8(0x126),'value':String(_0x1d1e35)}}),_0x1a8011[_0x337db8(0x12d)](_0x337db8(0x178))[_0x337db8(0x14c)]({'model':{'name':_0x337db8(0x14d),'key':_0x337db8(0x158)},'view':_0x36d40a=>_0x337db8(0x157)===_0x36d40a?null:{'key':_0x337db8(0x134),'value':{'list-style-type':_0x36d40a}}}),_0x1a8011[_0x337db8(0x12d)](_0x337db8(0x128))[_0x337db8(0x11f)](_0x3e9e04=>{const _0x1282d6=_0x337db8;_0x3e9e04['on'](_0x1282d6(0x152),(_0x3d0d8a,_0x12d93e,_0xf1d388)=>{const _0x3a7382=_0x1282d6;if(!_0xf1d388[_0x3a7382(0x130)][_0x3a7382(0x167)](_0x12d93e[_0x3a7382(0x144)],_0x3d0d8a[_0x3a7382(0x131)]))return;const _0x1c234a=b(_0x12d93e[_0x3a7382(0x144)],_0xf1d388[_0x3a7382(0x155)]);null===_0x12d93e[_0x3a7382(0x136)]||void 0x0===_0x12d93e[_0x3a7382(0x136)]||0x1===_0x12d93e[_0x3a7382(0x136)]?_0xf1d388[_0x3a7382(0x16f)][_0x3a7382(0x17a)](_0x3a7382(0x126),_0x1c234a):_0xf1d388[_0x3a7382(0x16f)][_0x3a7382(0x174)](_0x3a7382(0x126),String(_0x12d93e[_0x3a7382(0x136)]),_0x1c234a);}),_0x3e9e04['on'](_0x1282d6(0x139),(_0x5bc316,_0x5bee0d,_0x3bd190)=>{const _0x30ad37=_0x1282d6;if(!_0x3bd190[_0x30ad37(0x130)][_0x30ad37(0x167)](_0x5bee0d[_0x30ad37(0x144)],_0x5bc316[_0x30ad37(0x131)]))return;const _0x3398c9=b(_0x5bee0d[_0x30ad37(0x144)],_0x3bd190[_0x30ad37(0x155)]);_0x5bee0d[_0x30ad37(0x136)]&&_0x30ad37(0x157)!==_0x5bee0d[_0x30ad37(0x136)]?_0x3bd190[_0x30ad37(0x16f)][_0x30ad37(0x147)](_0x30ad37(0x149),_0x5bee0d[_0x30ad37(0x136)],_0x3398c9):_0x3bd190[_0x30ad37(0x16f)][_0x30ad37(0x17c)](_0x30ad37(0x149),_0x3398c9);});});}[_0x145094(0x129)](){const _0x121589=_0x145094,{editor:_0x4dd07b}=this,{model:_0x298ba6}=_0x4dd07b,_0x36ecba=_0x4dd07b[_0x121589(0x16c)][_0x121589(0x121)](_0x34a661),_0x5bdfa9=this[_0x121589(0x132)](),_0x469b48=this[_0x121589(0x11a)]();_0x298ba6[_0x121589(0x165)][_0x121589(0x12a)](_0x10cb33=>{const _0x4a07f9=_0x121589,_0x375f95=_0x298ba6[_0x4a07f9(0x165)][_0x4a07f9(0x11c)][_0x4a07f9(0x176)]();let _0x167285=!0x1;for(const _0x3236cd of _0x375f95){if(_0x4a07f9(0x142)!==_0x3236cd[_0x4a07f9(0x11e)]||_0x4a07f9(0x173)===_0x3236cd[_0x4a07f9(0x131)])continue;const _0x554e33=_0x298ba6[_0x4a07f9(0x14f)](_0x3236cd[_0x4a07f9(0x15e)][_0x4a07f9(0x153)]);for(const _0x2c2cbc of _0x554e33[_0x4a07f9(0x13b)]())_0x2c2cbc['is'](_0x4a07f9(0x171),_0x4a07f9(0x14d))&&(_0x2c2cbc[_0x4a07f9(0x162)](_0x4a07f9(0x141))||(_0x10cb33[_0x4a07f9(0x174)](_0x4a07f9(0x141),_0x469b48,_0x2c2cbc),_0x167285=!0x0),_0x2c2cbc[_0x4a07f9(0x162)](_0x4a07f9(0x158))||(_0x10cb33[_0x4a07f9(0x174)](_0x4a07f9(0x158),_0x5bdfa9,_0x2c2cbc),_0x167285=!0x0));}return _0x167285&&_0x36ecba[_0x4a07f9(0x13e)](_0x10cb33),_0x167285;});}[_0x145094(0x12b)](){const _0x303d10=_0x145094,{editor:_0x561aae}=this;_0x561aae[_0x303d10(0x16c)][_0x303d10(0x121)](_0x34a661)[_0x303d10(0x17b)](_0x3d8cfb=>this[_0x303d10(0x127)](_0x3d8cfb));}[_0x145094(0x132)](){const _0x246cfe=_0x145094;return this[_0x246cfe(0x16a)][_0x246cfe(0x122)][_0x246cfe(0x121)](_0x246cfe(0x123));}[_0x145094(0x11a)](){const _0x4de266=_0x145094;return this[_0x4de266(0x16a)][_0x4de266(0x122)][_0x4de266(0x121)](_0x4de266(0x15f));}[_0x145094(0x127)]({container:_0xd48bfe,value:_0x58b645,digits:_0x56d9b2}){const _0x1b45b6=_0x145094,_0x5ac34e=_0xd48bfe[_0x1b45b6(0x13f)](_0x1b45b6(0x158)),_0x2b6503=_0xd48bfe[_0x1b45b6(0x13f)](_0x1b45b6(0x141)),_0x3d5a71=Math[_0x1b45b6(0x13a)](_0x58b645)+(_0x2b6503-0x1);switch(_0x5ac34e){case _0x1b45b6(0x157):default:return String(_0x3d5a71);case _0x1b45b6(0x14e):return function(_0x7c891f,_0x516998){const _0x4b7ddc=_0x1b45b6;return String(_0x7c891f)[_0x4b7ddc(0x150)](_0x516998,'0');}(_0x3d5a71,Math[_0x1b45b6(0x166)](0x2,_0x56d9b2));case _0x1b45b6(0x15d):case _0x1b45b6(0x159):return x(_0x3d5a71,!0x1);case _0x1b45b6(0x12f):case _0x1b45b6(0x161):return x(_0x3d5a71,!0x0);case _0x1b45b6(0x164):return M(_0x3d5a71,!0x1);case _0x1b45b6(0x145):return M(_0x3d5a71,!0x0);}}}function b(_0x33c032,_0x1c7f7a){const _0x2c2968=_0x145094,_0xd0b837=_0x1c7f7a[_0x2c2968(0x169)](_0x33c032);return Array[_0x2c2968(0x170)](_0xd0b837[_0x2c2968(0x16b)]())[_0x2c2968(0x17e)](_0x1a0811=>_0x1a0811['is'](_0x2c2968(0x171),'ol'));}function x(_0x56a9f1,_0x2870a7){const _0x49e01c=_0x145094;let _0x1e5f1f='',_0x54c47a=_0x56a9f1;for(;_0x54c47a>0x0;){const _0x237c04=(_0x54c47a-0x1)%0x1a;_0x1e5f1f=String[_0x49e01c(0x143)](0x61+_0x237c04)+_0x1e5f1f,_0x54c47a=Math[_0x49e01c(0x13a)]((_0x54c47a-0x1)/0x1a);}return _0x2870a7?_0x1e5f1f[_0x49e01c(0x125)]():_0x1e5f1f;}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(_0x334cad,_0x2ad240){const _0x2f851e=_0x145094;let _0x507b54='',_0x2d7623=_0x334cad;for(const {value:_0x49b989,numeral:_0x4818cd}of C)for(;_0x2d7623>=_0x49b989;)_0x507b54+=_0x4818cd,_0x2d7623-=_0x49b989;return _0x2ad240?_0x507b54:_0x507b54[_0x2f851e(0x13c)]();}
23
+ const _0x497349=_0x1aed;function _0x157d(){const _0x46a340=['model','footnotes-list','nodeAfter','attribute:footnotesListStyle:footnotesDefinitions','getAttribute','toLowerCase','6729520TuFWTT','consumable','position','_defineSchema','decimal','document','getChildren','padStart','upcast','decimal-leading-zero','name','item','$text','writer','for','isPremiumPlugin','requires','max','floor','_getDefaultStartIndex','_defineFormatter','upper-alpha','start','21QYBZYj','find','FootnotesPropertiesEditing','element','init','attribute:footnotesListStart:footnotesDefinitions','590rhvngL','modelCursor','setAttribute','hasStyle','footnotes.footnotesProperties.defaultListStyle','parent','schema','differ','registerPostFixer','parseInt','type','commands','footnotes.footnotesProperties.defaultStartIndex','get','mapper','getItems','removeStyle','81zeYKzD','getStyle','viewItem','removeAttribute','upper-roman','98vcTVcE','_updateFootnotesCounters','hasAttribute','footnotesDefinitions','isNaN','getChanges','2330jZElbi','toUpperCase','15629570YAyMHu','toViewElement','createRangeOn','define','isOfficialPlugin','lower-roman','2791fQcTwn','footnotesStyle','setStyle','setFootnoteFormatter','266460NlFDDK','element:ol','add','_definePostfixer','footnotesStart','pluginName','fromCharCode','_getDefaultListStyle','checkAttribute','lower-latin','9977504TJrUux','consume','editor','upper-latin','hasClass','from','plugins','_defineConverters','_formatFootnoteListValue','lower-alpha','downcast','footnotesListStart','insert','455368zeiIJY','list-style-type','config','footnotesListStyle','extend'];_0x157d=function(){return _0x46a340;};return _0x157d();}(function(_0x25eb8,_0x4caa4c){const _0x4ebef7=_0x1aed,_0x5a2561=_0x25eb8();while(!![]){try{const _0x5187dc=-parseInt(_0x4ebef7(0x1f8))/0x1*(-parseInt(_0x4ebef7(0x23b))/0x2)+parseInt(_0x4ebef7(0x235))/0x3*(parseInt(_0x4ebef7(0x213))/0x4)+-parseInt(_0x4ebef7(0x21e))/0x5+parseInt(_0x4ebef7(0x1fc))/0x6*(parseInt(_0x4ebef7(0x1ea))/0x7)+parseInt(_0x4ebef7(0x206))/0x8+parseInt(_0x4ebef7(0x1e5))/0x9*(parseInt(_0x4ebef7(0x1f0))/0xa)+-parseInt(_0x4ebef7(0x1f2))/0xb;if(_0x5187dc===_0x4caa4c)break;else _0x5a2561['push'](_0x5a2561['shift']());}catch(_0x13e489){_0x5a2561['push'](_0x5a2561['shift']());}}}(_0x157d,0xb0e0a));import{Plugin as _0x14fe57}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2d196d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x259fb5}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x23b585}from'../footnotestracker.js';import{FootnotesEditing as _0x20a800}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x14fe57{static get[_0x497349(0x201)](){const _0x4088f6=_0x497349;return _0x4088f6(0x237);}static get[_0x497349(0x22e)](){return[_0x20a800,_0x23b585];}static get[_0x497349(0x1f6)](){return!0x0;}static get[_0x497349(0x22d)](){return!0x0;}[_0x497349(0x239)](){const _0x32a9f1=_0x497349,{editor:_0x1b7db2}=this;_0x1b7db2[_0x32a9f1(0x215)][_0x32a9f1(0x1f5)](_0x32a9f1(0x23f),_0x32a9f1(0x222)),_0x1b7db2[_0x32a9f1(0x215)][_0x32a9f1(0x1f5)](_0x32a9f1(0x247),0x1),_0x1b7db2[_0x32a9f1(0x246)][_0x32a9f1(0x1fe)](_0x32a9f1(0x1f9),new _0x2d196d(_0x1b7db2)),_0x1b7db2[_0x32a9f1(0x246)][_0x32a9f1(0x1fe)](_0x32a9f1(0x200),new _0x259fb5(_0x1b7db2)),this[_0x32a9f1(0x221)](),this[_0x32a9f1(0x20d)](),this[_0x32a9f1(0x232)](),this[_0x32a9f1(0x1ff)]();}[_0x497349(0x221)](){const _0x4de2b8=_0x497349,{editor:_0x26a39a}=this,{schema:_0x2e26be}=_0x26a39a[_0x4de2b8(0x218)];_0x2e26be[_0x4de2b8(0x217)](_0x4de2b8(0x1ed),{'allowAttributes':[_0x4de2b8(0x216),_0x4de2b8(0x211)]});}[_0x497349(0x20d)](){const _0x178312=_0x497349,{editor:_0x24ec95}=this,{conversion:_0x5196fc,model:_0x302a41}=_0x24ec95,{schema:_0x3365c4}=_0x302a41;_0x5196fc[_0x178312(0x22c)](_0x178312(0x226))[_0x178312(0x1fe)](_0x3e814e=>{const _0x195e70=_0x178312;_0x3e814e['on'](_0x195e70(0x1fd),(_0x29526a,_0x2d7074,_0x3ed6e0)=>{const _0x5291a0=_0x195e70,_0x193ba0=_0x2d7074[_0x5291a0(0x1e7)],_0x16b19f=_0x2d7074[_0x5291a0(0x23c)]?.[_0x5291a0(0x240)];_0x193ba0[_0x5291a0(0x20a)](_0x5291a0(0x219))&&_0x16b19f?.['is'](_0x5291a0(0x238),_0x5291a0(0x1ed))&&(function(_0x172b63,_0x15add1,_0x4580ac,_0x5c3fb2){const _0x1a7f02=_0x5291a0;if(!_0x5c3fb2[_0x1a7f02(0x204)](_0x15add1,_0x1a7f02(0x211)))return;let _0x1ed762=0x1;if(_0x172b63[_0x1a7f02(0x1ec)](_0x1a7f02(0x234))){const _0x470538=Number[_0x1a7f02(0x244)](_0x172b63[_0x1a7f02(0x21c)](_0x1a7f02(0x234)),0xa);Number[_0x1a7f02(0x1ee)](_0x470538)||(_0x1ed762=_0x470538),_0x4580ac[_0x1a7f02(0x21f)][_0x1a7f02(0x207)](_0x172b63,{'attributes':_0x1a7f02(0x234)});}_0x4580ac[_0x1a7f02(0x22b)][_0x1a7f02(0x23d)](_0x1a7f02(0x211),_0x1ed762,_0x15add1);}(_0x193ba0,_0x16b19f,_0x3ed6e0,_0x3365c4),function(_0x3e21dd,_0x2e4746,_0x239d0d,_0x157de1){const _0x37f6e6=_0x5291a0;if(!_0x157de1[_0x37f6e6(0x204)](_0x2e4746,_0x37f6e6(0x216)))return;let _0x419fd3=_0x37f6e6(0x222);if(_0x3e21dd[_0x37f6e6(0x1ec)](_0x37f6e6(0x245))){const _0x4ec0df={0x1:_0x37f6e6(0x222),'a':_0x37f6e6(0x20f),'A':_0x37f6e6(0x233),'i':_0x37f6e6(0x1f7),'I':_0x37f6e6(0x1e9)}[_0x3e21dd[_0x37f6e6(0x21c)](_0x37f6e6(0x245))];_0x4ec0df&&(_0x419fd3=_0x4ec0df),_0x239d0d[_0x37f6e6(0x21f)][_0x37f6e6(0x207)](_0x3e21dd,{'attributes':_0x37f6e6(0x245)});}_0x3e21dd[_0x37f6e6(0x23e)](_0x37f6e6(0x214))&&(_0x419fd3=_0x3e21dd[_0x37f6e6(0x1e6)](_0x37f6e6(0x214)),_0x239d0d[_0x37f6e6(0x21f)][_0x37f6e6(0x207)](_0x3e21dd,{'styles':_0x37f6e6(0x214)})),_0x239d0d[_0x37f6e6(0x22b)][_0x37f6e6(0x23d)](_0x37f6e6(0x216),_0x419fd3,_0x2e4746);}(_0x193ba0,_0x16b19f,_0x3ed6e0,_0x3365c4));});}),_0x5196fc[_0x178312(0x22c)](_0x178312(0x210))[_0x178312(0x1fe)](_0x573336=>{const _0x523172=_0x178312;_0x573336['on'](_0x523172(0x23a),(_0x1f71fb,_0x3fc8aa,_0x48c3bb)=>{const _0xfdd64e=_0x523172;if(!_0x48c3bb[_0xfdd64e(0x21f)][_0xfdd64e(0x207)](_0x3fc8aa[_0xfdd64e(0x229)],_0x1f71fb[_0xfdd64e(0x228)]))return;const _0x8733ec=C(_0x3fc8aa[_0xfdd64e(0x229)],_0x48c3bb[_0xfdd64e(0x1e2)]),{attributeNewValue:_0x3a2a95}=_0x3fc8aa;null==_0x3a2a95||0x1===_0x3a2a95?_0x48c3bb[_0xfdd64e(0x22b)][_0xfdd64e(0x1e8)](_0xfdd64e(0x234),_0x8733ec):_0x48c3bb[_0xfdd64e(0x22b)][_0xfdd64e(0x23d)](_0xfdd64e(0x234),String(_0x3a2a95),_0x8733ec);}),_0x573336['on'](_0x523172(0x21b),(_0x1bf89a,_0x56876a,_0x1c2b12)=>{const _0x4ad0cf=_0x523172;if(!_0x1c2b12[_0x4ad0cf(0x21f)][_0x4ad0cf(0x207)](_0x56876a[_0x4ad0cf(0x229)],_0x1bf89a[_0x4ad0cf(0x228)]))return;const _0x5981a2=C(_0x56876a[_0x4ad0cf(0x229)],_0x1c2b12[_0x4ad0cf(0x1e2)]),{attributeNewValue:_0x2f8591}=_0x56876a;_0x2f8591&&_0x4ad0cf(0x222)!==_0x2f8591?_0x1c2b12[_0x4ad0cf(0x22b)][_0x4ad0cf(0x1fa)](_0x4ad0cf(0x214),_0x2f8591,_0x5981a2):_0x1c2b12[_0x4ad0cf(0x22b)][_0x4ad0cf(0x1e4)](_0x4ad0cf(0x214),_0x5981a2);});});}[_0x497349(0x1ff)](){const _0x3fa867=_0x497349,{editor:_0x4087ca}=this,{model:_0x1bcc15}=_0x4087ca,_0x20dbc6=_0x4087ca[_0x3fa867(0x20c)][_0x3fa867(0x1e1)](_0x23b585),_0x13f7e1=this[_0x3fa867(0x203)](),_0x56f6a7=this[_0x3fa867(0x231)]();_0x1bcc15[_0x3fa867(0x223)][_0x3fa867(0x243)](_0x2a669d=>{const _0x299f35=_0x3fa867,_0x45d270=_0x1bcc15[_0x299f35(0x223)][_0x299f35(0x242)][_0x299f35(0x1ef)]();let _0x45a6dc=!0x1;for(const _0x56f835 of _0x45d270){if(_0x299f35(0x212)!==_0x56f835[_0x299f35(0x245)]||_0x299f35(0x22a)===_0x56f835[_0x299f35(0x228)])continue;const _0x3c2239=_0x1bcc15[_0x299f35(0x1f4)](_0x56f835[_0x299f35(0x220)][_0x299f35(0x21a)]);for(const _0x8fa7a6 of _0x3c2239[_0x299f35(0x1e3)]())_0x8fa7a6['is'](_0x299f35(0x238),_0x299f35(0x1ed))&&(!_0x8fa7a6[_0x299f35(0x1ec)](_0x299f35(0x211))&&_0x1bcc15[_0x299f35(0x241)][_0x299f35(0x204)](_0x8fa7a6,_0x299f35(0x211))&&(_0x2a669d[_0x299f35(0x23d)](_0x299f35(0x211),_0x56f6a7,_0x8fa7a6),_0x45a6dc=!0x0),!_0x8fa7a6[_0x299f35(0x1ec)](_0x299f35(0x216))&&_0x1bcc15[_0x299f35(0x241)][_0x299f35(0x204)](_0x8fa7a6,_0x299f35(0x216))&&(_0x2a669d[_0x299f35(0x23d)](_0x299f35(0x216),_0x13f7e1,_0x8fa7a6),_0x45a6dc=!0x0));}return _0x45a6dc&&_0x20dbc6[_0x299f35(0x1eb)](_0x2a669d),_0x45a6dc;});}[_0x497349(0x232)](){const _0x1afe9c=_0x497349,{editor:_0x42a50e}=this;_0x42a50e[_0x1afe9c(0x20c)][_0x1afe9c(0x1e1)](_0x23b585)[_0x1afe9c(0x1fb)](_0x27ad89=>this[_0x1afe9c(0x20e)](_0x27ad89));}[_0x497349(0x203)](){const _0x39b91f=_0x497349;return this[_0x39b91f(0x208)][_0x39b91f(0x215)][_0x39b91f(0x1e1)](_0x39b91f(0x23f));}[_0x497349(0x231)](){const _0x501426=_0x497349;return this[_0x501426(0x208)][_0x501426(0x215)][_0x501426(0x1e1)](_0x501426(0x247));}[_0x497349(0x20e)]({container:_0x4e4ac8,value:_0x529935,digits:_0x3fa1d2}){const _0xad0279=_0x497349,_0x204990=_0x4e4ac8[_0xad0279(0x21c)](_0xad0279(0x216)),_0x501477=_0x4e4ac8[_0xad0279(0x21c)](_0xad0279(0x211)),_0x276586=Math[_0xad0279(0x230)](_0x529935)+(_0x501477??0x1)-0x1;switch(_0x204990){case _0xad0279(0x227):return function(_0x2ea0bb,_0xa6e60c){const _0x210b9d=_0xad0279;return String(_0x2ea0bb)[_0x210b9d(0x225)](_0xa6e60c,'0');}(_0x276586,Math[_0xad0279(0x22f)](0x2,_0x3fa1d2));case _0xad0279(0x20f):case _0xad0279(0x205):return M(_0x276586,!0x1);case _0xad0279(0x233):case _0xad0279(0x209):return M(_0x276586,!0x0);case _0xad0279(0x1f7):return V(_0x276586,!0x1);case _0xad0279(0x1e9):return V(_0x276586,!0x0);default:return String(_0x276586);}}}function C(_0x2d3b78,_0x47264b){const _0x14d022=_0x497349,_0x34e00f=_0x47264b[_0x14d022(0x1f3)](_0x2d3b78);return Array[_0x14d022(0x20b)](_0x34e00f[_0x14d022(0x224)]())[_0x14d022(0x236)](_0x26e669=>_0x26e669['is'](_0x14d022(0x238),'ol')&&_0x26e669[_0x14d022(0x20a)](_0x14d022(0x219)));}function M(_0x2d23d5,_0x4c60ee){const _0x3885ea=_0x497349;let _0x2ca15d='',_0x231c76=_0x2d23d5;for(;_0x231c76>0x0;){const _0x42df98=(_0x231c76-0x1)%0x1a;_0x2ca15d=String[_0x3885ea(0x202)](0x61+_0x42df98)+_0x2ca15d,_0x231c76=Math[_0x3885ea(0x230)]((_0x231c76-0x1)/0x1a);}return _0x4c60ee?_0x2ca15d[_0x3885ea(0x1f1)]():_0x2ca15d;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x1aed(_0x4d24d1,_0x251aed){const _0x157d1b=_0x157d();return _0x1aed=function(_0x1aed8a,_0x3cc3d9){_0x1aed8a=_0x1aed8a-0x1e1;let _0x4f536e=_0x157d1b[_0x1aed8a];return _0x4f536e;},_0x1aed(_0x4d24d1,_0x251aed);}function V(_0xfe4ca6,_0x47ffc6){const _0x3388da=_0x497349;let _0x15e19f='',_0x25b911=_0xfe4ca6;for(const {value:_0xe3b1c3,numeral:_0x411f35}of N)for(;_0x25b911>=_0xe3b1c3;)_0x15e19f+=_0x411f35,_0x25b911-=_0xe3b1c3;return _0x47ffc6?_0x15e19f:_0x15e19f[_0x3388da(0x21d)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x2cdc72,ButtonView as _0x59b106,ContextualBalloon as _0x47872e,createDropdown as _0x585b69}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x31ce52}from'ckeditor5/src/widget.js';import{Plugin as _0x280650}from'ckeditor5/src/core.js';import{IconFootnote as _0x3ed399,IconListStyleDecimal as _0x325313,IconListStyleDecimalLeadingZero as _0x3d9809,IconListStyleLowerLatin as _0x3632ee,IconListStyleLowerRoman as _0x405ae3,IconListStyleUpperLatin as _0x3b0b00,IconListStyleUpperRoman as _0x30492d}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4e1982}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3cae56}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x280650{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x47872e,_0x31ce52];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x379856}=this,{componentFactory:_0x2faf0a}=_0x379856['ui'];_0x379856['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2faf0a['add']('footnotesStyle',function(_0x172e85){return _0x26c205=>{const {t:t}=_0x26c205,_0x363fae=_0x172e85['commands']['get']('footnotesStyle'),_0x5a9880=_0x585b69(_0x26c205),{buttonView:_0x3e1423}=_0x5a9880;return _0x5a9880['class']='ck-footnotes-styles-dropdown',_0x5a9880['bind']('isEnabled')['to'](_0x363fae,'isEnabled'),_0x3e1423['set']({'label':t('Footnotes\x20style'),'icon':_0x3ed399,'tooltip':!0x0}),_0x5a9880['once']('change:isOpen',()=>{const _0x1f9db7=function({editor:_0x42a9e0,dropdownView:_0x16f201}){const {t:t}=_0x42a9e0['locale'],_0x1f00e2=t('Footnotes\x20definitions\x20styles'),_0x544ffe=function(_0x7c3b2c){const t=_0x7c3b2c['locale']['t'],_0x409c90=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x325313},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3d9809},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x405ae3},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x30492d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3632ee},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3b0b00}];return _0x409c90['map'](function(_0xc274ac){const _0x3f549a=_0xc274ac['locale'];return({label:_0x318fbc,icon:_0x13337f,tooltip:_0x3e782b,style:_0x9536f3})=>{const _0x4112fb=_0xc274ac['commands']['get']('footnotesStyle'),_0x576177=new _0x59b106(_0x3f549a);return _0x576177['set']({'label':_0x318fbc,'icon':_0x13337f,'tooltip':_0x3e782b}),_0x576177['bind']('isOn')['to'](_0x4112fb,'value',_0xa0acd5=>_0xa0acd5===_0x9536f3),_0x576177['bind']('isEnabled')['to'](_0x4112fb,'isEnabled'),_0x576177['on']('execute',()=>{_0xc274ac['execute']('footnotesStyle',{'value':_0x9536f3}),_0xc274ac['editing']['view']['focus']();}),_0x576177;};}(_0x7c3b2c));}(_0x42a9e0),_0x30415b=new _0x4e1982(_0x42a9e0['locale'],{'styleGridAriaLabel':_0x1f00e2,'styleButtonViews':_0x544ffe});return _0x30415b['delegate']('execute')['to'](_0x16f201),_0x30415b['on']('footnotesListStart',(_0x11a3f5,_0x4ae3e1)=>{_0x42a9e0['execute']('footnotesStart',{'value':_0x4ae3e1['startIndex']});}),_0x30415b;}({'editor':_0x172e85,'dropdownView':_0x5a9880});_0x5a9880['panelView']['children']['add'](_0x1f9db7);}),_0x5a9880;};}(_0x379856));}['afterInit'](){const {editor:_0x160243}=this,{t:t}=_0x160243['locale'],_0x1f2e38=_0x160243['plugins']['get'](_0x31ce52),{defaultPositions:_0x3ca3ee}=_0x2cdc72;_0x1f2e38['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x160243['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x6ea7a6=>{let _0x14751a=_0x6ea7a6['getFirstPosition']()?.['parent'];return _0x14751a?.['is']('$text')&&(_0x14751a=_0x14751a['parent']),_0x14751a?.['is']('element')?_0x14751a['findAncestor'](_0x3cae56):null;},'positions':[_0x3ca3ee['southArrowNorth'],_0x3ca3ee['southArrowNorthMiddleWest'],_0x3ca3ee['southArrowNorthMiddleEast'],_0x3ca3ee['southArrowNorthWest'],_0x3ca3ee['southArrowNorthEast'],_0x3ca3ee['northArrowSouth'],_0x3ca3ee['northArrowSouthMiddleWest'],_0x3ca3ee['northArrowSouthMiddleEast'],_0x3ca3ee['northArrowSouthWest'],_0x3ca3ee['northArrowSouthEast'],_0x3ca3ee['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x23aef2,ButtonView as _0x543d26,ContextualBalloon as _0x205c9d,createDropdown as _0x2b0a5c}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2c8e1a}from'ckeditor5/src/widget.js';import{Plugin as _0x3c4711}from'ckeditor5/src/core.js';import{IconFootnote as _0x67a245,IconListStyleDecimal as _0x50cde0,IconListStyleDecimalLeadingZero as _0x4d9b91,IconListStyleLowerLatin as _0x5c2c66,IconListStyleLowerRoman as _0x4c6fee,IconListStyleUpperLatin as _0x4a93ec,IconListStyleUpperRoman as _0x5bbc38}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x15c192}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3e5995}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3c4711{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x205c9d,_0x2c8e1a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5050ca}=this,{componentFactory:_0x74072f}=_0x5050ca['ui'];_0x5050ca['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x74072f['add']('footnotesStyle',function(_0x122cc6){return _0x38be18=>{const {t:t}=_0x38be18,_0x20284d=_0x122cc6['commands']['get']('footnotesStyle'),_0x7bc205=_0x2b0a5c(_0x38be18),{buttonView:_0x1537a}=_0x7bc205;return _0x7bc205['class']='ck-footnotes-styles-dropdown',_0x7bc205['bind']('isEnabled')['to'](_0x20284d,'isEnabled'),_0x1537a['set']({'label':t('Footnotes\x20style'),'icon':_0x67a245,'tooltip':!0x0}),_0x7bc205['once']('change:isOpen',()=>{const _0x85965e=function({editor:_0x15025c,dropdownView:_0x3df180}){const {t:t}=_0x15025c['locale'],_0x2ce563=t('Footnotes\x20definitions\x20styles'),_0x3e924f=function(_0x11cb9f){const t=_0x11cb9f['locale']['t'],_0x36c999=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x50cde0},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d9b91},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4c6fee},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5bbc38},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5c2c66},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4a93ec}];return _0x36c999['map'](function(_0x2a272f){const _0x4cefe4=_0x2a272f['locale'];return({label:_0x4a9390,icon:_0x3cf9e4,tooltip:_0x44a5be,style:_0x4712d2})=>{const _0x2354cf=_0x2a272f['commands']['get']('footnotesStyle'),_0x1e84e8=new _0x543d26(_0x4cefe4);return _0x1e84e8['set']({'label':_0x4a9390,'icon':_0x3cf9e4,'tooltip':_0x44a5be}),_0x1e84e8['bind']('isOn')['to'](_0x2354cf,'value',_0x15276a=>_0x15276a===_0x4712d2),_0x1e84e8['bind']('isEnabled')['to'](_0x2354cf,'isEnabled'),_0x1e84e8['on']('execute',()=>{_0x2a272f['execute']('footnotesStyle',{'value':_0x4712d2}),_0x2a272f['editing']['view']['focus']();}),_0x1e84e8;};}(_0x11cb9f));}(_0x15025c),_0x24db55=new _0x15c192(_0x15025c['locale'],{'styleGridAriaLabel':_0x2ce563,'styleButtonViews':_0x3e924f});return _0x24db55['delegate']('execute')['to'](_0x3df180),_0x24db55['on']('footnotesListStart',(_0xd5b2a8,_0x1f9ad7)=>{_0x15025c['execute']('footnotesStart',{'value':_0x1f9ad7['startIndex']});}),_0x24db55;}({'editor':_0x122cc6,'dropdownView':_0x7bc205});_0x7bc205['panelView']['children']['add'](_0x85965e);}),_0x7bc205;};}(_0x5050ca));}['afterInit'](){const {editor:_0x14ac57}=this,{t:t}=_0x14ac57['locale'],_0x4dcf7a=_0x14ac57['plugins']['get'](_0x2c8e1a),{defaultPositions:_0x5b8cfb}=_0x23aef2;_0x4dcf7a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x14ac57['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2d978b=>{let _0x2fa625=_0x2d978b['getFirstPosition']()?.['parent'];return _0x2fa625?.['is']('$text')&&(_0x2fa625=_0x2fa625['parent']),_0x2fa625?.['is']('element')?_0x2fa625['findAncestor'](_0x3e5995):null;},'positions':[_0x5b8cfb['southArrowNorth'],_0x5b8cfb['southArrowNorthMiddleWest'],_0x5b8cfb['southArrowNorthMiddleEast'],_0x5b8cfb['southArrowNorthWest'],_0x5b8cfb['southArrowNorthEast'],_0x5b8cfb['northArrowSouth'],_0x5b8cfb['northArrowSouthMiddleWest'],_0x5b8cfb['northArrowSouthMiddleEast'],_0x5b8cfb['northArrowSouthWest'],_0x5b8cfb['northArrowSouthEast'],_0x5b8cfb['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1fc53d,View as _0x54fe9c,ViewCollection as _0x432879,FocusCycler as _0x45108f,addKeyboardHandlingForGrid as _0x43442f,CollapsibleView as _0x1477bd,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 _0x54fe9c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x432879();['focusCycler'];constructor(_0x239d0c,{styleButtonViews:_0xc2aa4c,styleGridAriaLabel:_0x49c3c6}){super(_0x239d0c),(this['focusCycler']=new _0x45108f({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xc2aa4c,_0x49c3c6),[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 _0x282f2a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x282f2a['element']);_0x43442f({'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 _0x1d8f4e=_0x828bb9=>_0x828bb9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1d8f4e),this['keystrokes']['set']('arrowleft',_0x1d8f4e),this['keystrokes']['set']('arrowup',_0x1d8f4e),this['keystrokes']['set']('arrowdown',_0x1d8f4e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1373ea,_0x13c437){const _0x390c06=new _0x54fe9c(this['locale']);return _0x390c06['children']=_0x390c06['createCollection'](),_0x390c06['children']['addMany'](_0x1373ea),_0x390c06['setTemplate']({'tag':'div','attributes':{'aria-label':_0x13c437,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x390c06['children']}),_0x390c06['children']['delegate']('execute')['to'](this),_0x390c06['focus']=function(){for(const _0x7210d6 of this['children'])if(_0x7210d6 instanceof _0x1fc53d&&_0x7210d6['isOn'])return void _0x7210d6['focus']();this['children']['first']['focus']();},_0x390c06['focusTracker']=new it(),_0x390c06['keystrokes']=new et(),_0x390c06['render'](),_0x390c06['keystrokes']['listenTo'](_0x390c06['element']),this['children']['add'](_0x390c06),_0x390c06;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x940708=this['_createStartIndexPropertyView'](),_0x603272=[_0x940708],_0x176ad5=new _0x1477bd(this['locale'],_0x603272);return _0x176ad5['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x176ad5['buttonView']['bind']('isEnabled')['toMany'](_0x603272,'isEnabled',(..._0x51bf52)=>_0x51bf52['some'](_0x387698=>_0x387698)),_0x176ad5['buttonView']['on']('change:isEnabled',(_0x5e7c84,_0x489ba7,_0x384461)=>{_0x384461||(_0x176ad5['isCollapsed']=!0x0);}),this['children']['add'](_0x176ad5),[_0x940708,_0x176ad5];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x16ab2b=new tt(this['locale'],st);return _0x16ab2b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x16ab2b['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x16ab2b['fieldView']['on']('input',()=>{const _0x29af0c=_0x16ab2b['fieldView']['element'],_0x51fbc7=_0x29af0c['valueAsNumber'];Number['isNaN'](_0x51fbc7)?_0x16ab2b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x29af0c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x51fbc7}):_0x16ab2b['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x16ab2b;}}
23
+ import{ButtonView as _0x210f31,View as _0x311b81,ViewCollection as _0x5b6766,FocusCycler as _0x3e1290,addKeyboardHandlingForGrid as _0x2d6fdf,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x311b81{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x5b6766();['focusCycler'];constructor(_0x16fa33,{styleButtonViews:_0x4dbce6,styleGridAriaLabel:_0x2db169}){super(_0x16fa33),(this['focusCycler']=new _0x3e1290({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4dbce6,_0x2db169),[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 _0x22290a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x22290a['element']);_0x2d6fdf({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x276ea9=_0x1e3cb1=>_0x1e3cb1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x276ea9),this['keystrokes']['set']('arrowleft',_0x276ea9),this['keystrokes']['set']('arrowup',_0x276ea9),this['keystrokes']['set']('arrowdown',_0x276ea9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x105729,_0x1fe4e1){const _0x4ff0d9=new _0x311b81(this['locale']);return _0x4ff0d9['children']=_0x4ff0d9['createCollection'](),_0x4ff0d9['children']['addMany'](_0x105729),_0x4ff0d9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1fe4e1,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4ff0d9['children']}),_0x4ff0d9['children']['delegate']('execute')['to'](this),_0x4ff0d9['focus']=function(){for(const _0x52e295 of this['children'])if(_0x52e295 instanceof _0x210f31&&_0x52e295['isOn'])return void _0x52e295['focus']();this['children']['first']['focus']();},_0x4ff0d9['focusTracker']=new et(),_0x4ff0d9['keystrokes']=new ot(),_0x4ff0d9['render'](),_0x4ff0d9['keystrokes']['listenTo'](_0x4ff0d9['element']),this['children']['add'](_0x4ff0d9),_0x4ff0d9;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x994f26=this['_createStartIndexPropertyView'](),_0x68bc8c=[_0x994f26],_0x3852ca=new tt(this['locale'],_0x68bc8c);return _0x3852ca['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3852ca['buttonView']['bind']('isEnabled')['toMany'](_0x68bc8c,'isEnabled',(..._0x445463)=>_0x445463['some'](_0x397301=>_0x397301)),_0x3852ca['buttonView']['on']('change:isEnabled',(_0x3a5b73,_0x378cc9,_0x5d85de)=>{_0x5d85de||(_0x3852ca['isCollapsed']=!0x0);}),this['children']['add'](_0x3852ca),[_0x994f26,_0x3852ca];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x37ad25=new st(this['locale'],it);return _0x37ad25['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x37ad25['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x37ad25['fieldView']['on']('input',()=>{const _0x6efaea=_0x37ad25['fieldView']['element'],_0x194ed8=_0x6efaea['valueAsNumber'];Number['isNaN'](_0x194ed8)?_0x37ad25['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x6efaea['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x194ed8}):_0x37ad25['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x37ad25;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1517(_0x32b56a,_0x4197b4){var _0x380d8b=_0x380d();return _0x1517=function(_0x151745,_0x3f92eb){_0x151745=_0x151745-0xad;var _0x2c099e=_0x380d8b[_0x151745];return _0x2c099e;},_0x1517(_0x32b56a,_0x4197b4);}function _0x380d(){var _0x13a9b9=['403251xryoUk','10877657hBJATP','isPremiumPlugin','20chXESF','isOfficialPlugin','28036107iDyifQ','890oddnZc','requires','388692ufWaNg','pluginName','6012foJZtg','11344kLxivr','FootnotesProperties','685nYzcOk','44MfwwOb','2185670kpFrfS'];_0x380d=function(){return _0x13a9b9;};return _0x380d();}var _0x1d85e5=_0x1517;(function(_0x2ed380,_0x36d0d7){var _0x3a90c7=_0x1517,_0x309af5=_0x2ed380();while(!![]){try{var _0x2f485a=-parseInt(_0x3a90c7(0xb4))/0x1*(parseInt(_0x3a90c7(0xad))/0x2)+-parseInt(_0x3a90c7(0xb7))/0x3*(parseInt(_0x3a90c7(0xb5))/0x4)+parseInt(_0x3a90c7(0xba))/0x5*(-parseInt(_0x3a90c7(0xaf))/0x6)+parseInt(_0x3a90c7(0xb8))/0x7+parseInt(_0x3a90c7(0xb2))/0x8*(-parseInt(_0x3a90c7(0xb1))/0x9)+-parseInt(_0x3a90c7(0xb6))/0xa+parseInt(_0x3a90c7(0xbc))/0xb;if(_0x2f485a===_0x36d0d7)break;else _0x309af5['push'](_0x309af5['shift']());}catch(_0xe9feca){_0x309af5['push'](_0x309af5['shift']());}}}(_0x380d,0xda595));import{Plugin as _0x1b411b}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x5820d1}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x228663}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1b411b{static get[_0x1d85e5(0xb0)](){var _0x47cd0c=_0x1d85e5;return _0x47cd0c(0xb3);}static get[_0x1d85e5(0xae)](){return[_0x5820d1,_0x228663];}static get[_0x1d85e5(0xbb)](){return!0x0;}static get[_0x1d85e5(0xb9)](){return!0x0;}}
23
+ function _0x281d(){var _0x5595a2=['2917809XRoGWH','609885poTjnU','3234344uYoeYx','isOfficialPlugin','FootnotesProperties','76ZTuXyB','6NOdIqx','1PjhcJY','578473eHSoOs','requires','pluginName','12327yYYZli','11hYhdFu','isPremiumPlugin','735638nKBeub','7049990uJNAHB'];_0x281d=function(){return _0x5595a2;};return _0x281d();}var _0x41a20b=_0x428b;(function(_0x5153c6,_0x59040e){var _0x23bf0a=_0x428b,_0x30e583=_0x5153c6();while(!![]){try{var _0x53f92a=parseInt(_0x23bf0a(0x1bd))/0x1*(-parseInt(_0x23bf0a(0x1b4))/0x2)+-parseInt(_0x23bf0a(0x1c1))/0x3*(parseInt(_0x23bf0a(0x1bb))/0x4)+parseInt(_0x23bf0a(0x1b7))/0x5+parseInt(_0x23bf0a(0x1bc))/0x6*(-parseInt(_0x23bf0a(0x1be))/0x7)+-parseInt(_0x23bf0a(0x1b8))/0x8+parseInt(_0x23bf0a(0x1b6))/0x9+parseInt(_0x23bf0a(0x1b5))/0xa*(parseInt(_0x23bf0a(0x1b2))/0xb);if(_0x53f92a===_0x59040e)break;else _0x30e583['push'](_0x30e583['shift']());}catch(_0x26cc2f){_0x30e583['push'](_0x30e583['shift']());}}}(_0x281d,0x354f3));import{Plugin as _0x542d6e}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x279700}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x5bed37}from'./footnotesproperties/footnotespropertiesui.js';function _0x428b(_0x398f63,_0x1e0504){var _0x281d3e=_0x281d();return _0x428b=function(_0x428b8c,_0x57cc34){_0x428b8c=_0x428b8c-0x1b2;var _0x2a5d9b=_0x281d3e[_0x428b8c];return _0x2a5d9b;},_0x428b(_0x398f63,_0x1e0504);}export class FootnotesProperties extends _0x542d6e{static get[_0x41a20b(0x1c0)](){var _0x47cbc1=_0x41a20b;return _0x47cbc1(0x1ba);}static get[_0x41a20b(0x1bf)](){return[_0x279700,_0x5bed37];}static get[_0x41a20b(0x1b9)](){return!0x0;}static get[_0x41a20b(0x1b3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x26b9(){const _0x3e2e6=['set','has','reset','13012mNoIBF','_footnotesDefinitions','move','filter','differ','_sortFootnoteDefinitions','isOfficialPlugin','isEqual','map','document','add','push','definition','registerPostFixer','_ensureFootnotesReferencesHaveProperOrder','createRangeIn','654600tNHQsz','588rUSEFY','getChanges','$graveyard','getRootNames','144aLSHUM','reference','model','splice','_footnoteFormatter','min','createRangeOn','_footnotes','159ADvvFD','footnoteDefinition','FootnotesTracker','_footnoteRefsTracker','footnoteInlineContent','pluginName','enqueueChange','350077qTmrdc','footnotes.multiBlock','after','editor','createPositionAt','getChildren','createPositionBefore','end','rootName','childCount','footnoteCounter','72807NPPGoq','setAttribute','getFootnotesFormatter','change:data','indexOf','low','from','remove','isPremiumPlugin','before','_handleFootnoteDefinitionsChanges','18mPCItM','createElement','73348Szimwn','parent','append','_handleFootnotesDefinitionsObjectChanges','length','footnotesDefinitions','getFootnotes','getFootnote','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','listenTo','some','footnoteId','unshift','24puAGun','_ensureFootnotesDefinitionsContainerExists','_updateFootnoteRefCounter','config','findIndex','_handleInsertedFootnoteReference','953815PwlAzJ','10JpijQX','setFootnoteFormatter','_updateFootnotesCounters','root','compareWith','_footnoteDefsTracker','155510pSevtr','footnoteRef','_footnoteDefsContainerTracker','112IdstGq','_handleRemoveFootnoteReferenceById','high','paragraph','_handleFootnoteReferencesChanges','singleton','find','get','init','insert','_handleMovedFootnoteReference','getAttribute','getFootnotesDefinitionsObjectElement'];_0x26b9=function(){return _0x3e2e6;};return _0x26b9();}const _0x318102=_0x3c8d;(function(_0x14845d,_0x25d61b){const _0x222ef2=_0x3c8d,_0x4ba233=_0x14845d();while(!![]){try{const _0x436abd=-parseInt(_0x222ef2(0x1c0))/0x1*(parseInt(_0x222ef2(0x1ba))/0x2)+-parseInt(_0x222ef2(0x186))/0x3*(parseInt(_0x222ef2(0x169))/0x4)+parseInt(_0x222ef2(0x1b9))/0x5*(parseInt(_0x222ef2(0x1b3))/0x6)+-parseInt(_0x222ef2(0x198))/0x7*(-parseInt(_0x222ef2(0x17e))/0x8)+-parseInt(_0x222ef2(0x1a3))/0x9*(parseInt(_0x222ef2(0x179))/0xa)+-parseInt(_0x222ef2(0x1a5))/0xb*(-parseInt(_0x222ef2(0x17a))/0xc)+-parseInt(_0x222ef2(0x18d))/0xd*(-parseInt(_0x222ef2(0x1c3))/0xe);if(_0x436abd===_0x25d61b)break;else _0x4ba233['push'](_0x4ba233['shift']());}catch(_0x250e08){_0x4ba233['push'](_0x4ba233['shift']());}}}(_0x26b9,0x647a3));import{Plugin as _0x27c20d}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xdcff85}from'./modelelementtracker.js';export class FootnotesTracker extends _0x27c20d{[_0x318102(0x185)]=[];[_0x318102(0x16a)]=null;[_0x318102(0x182)]=null;[_0x318102(0x1c2)];[_0x318102(0x189)];[_0x318102(0x1bf)];static get[_0x318102(0x18b)](){const _0x1a4f7b=_0x318102;return _0x1a4f7b(0x188);}static get[_0x318102(0x16f)](){return!0x0;}static get[_0x318102(0x1a0)](){return!0x0;}constructor(_0x499a87){const _0x584739=_0x318102;super(_0x499a87),this[_0x584739(0x1c2)]=new _0xdcff85(this[_0x584739(0x190)][_0x584739(0x180)],{'elementName':_0x584739(0x1aa),'getElementKey':()=>_0x584739(0x15e)}),this[_0x584739(0x189)]=new _0xdcff85(this[_0x584739(0x190)][_0x584739(0x180)],{'elementName':_0x584739(0x1c1),'getElementKey':_0x2d9080=>_0x2d9080[_0x584739(0x164)](_0x584739(0x1b1))}),this[_0x584739(0x1bf)]=new _0xdcff85(this[_0x584739(0x190)][_0x584739(0x180)],{'elementName':_0x584739(0x187),'getElementKey':_0x126d49=>_0x126d49[_0x584739(0x164)](_0x584739(0x1b1))});}[_0x318102(0x161)](){const _0x1b2e53=_0x318102,{editor:_0x3735d1}=this,{model:_0x3b9452,data:_0x53a7d5}=_0x3735d1;_0x3b9452[_0x1b2e53(0x172)][_0x1b2e53(0x176)](_0xe8b795=>{const _0x3e9e24=_0x1b2e53,_0x26bec0=_0x3b9452[_0x3e9e24(0x172)][_0x3e9e24(0x16d)][_0x3e9e24(0x17b)]();let _0xdfcd99=!0x1;return this[_0x3e9e24(0x1a8)](_0xe8b795,_0x26bec0)&&(_0xdfcd99=!0x0),this[_0x3e9e24(0x1a2)](_0xe8b795,_0x26bec0)&&(_0xdfcd99=!0x0),this[_0x3e9e24(0x15d)](_0xe8b795,_0x26bec0)&&(_0xdfcd99=!0x0),this[_0x3e9e24(0x177)](_0xe8b795)&&(_0xdfcd99=!0x0),this[_0x3e9e24(0x1ad)](_0xe8b795)&&(_0xdfcd99=!0x0),this[_0x3e9e24(0x16e)](_0xe8b795)&&(_0xdfcd99=!0x0),_0xdfcd99;}),this[_0x1b2e53(0x1af)](_0x3b9452[_0x1b2e53(0x172)],_0x1b2e53(0x19b),()=>{const _0x45456c=_0x1b2e53;_0x3b9452[_0x45456c(0x18c)]({'isUndoable':!0x1},_0x1f1722=>{const _0xc0996e=_0x45456c;this[_0xc0996e(0x1b4)](_0x1f1722);});},{'priority':_0x1b2e53(0x19d)}),this[_0x1b2e53(0x1af)](_0x53a7d5,_0x1b2e53(0x166),()=>{const _0x529cc8=_0x1b2e53;this[_0x529cc8(0x185)]=[],this[_0x529cc8(0x1c2)][_0x529cc8(0x168)](),this[_0x529cc8(0x189)][_0x529cc8(0x168)](),this[_0x529cc8(0x1bf)][_0x529cc8(0x168)]();},{'priority':_0x1b2e53(0x1c5)});}[_0x318102(0x165)](){const _0x5ca803=_0x318102;return this[_0x5ca803(0x16a)];}[_0x318102(0x1ac)](_0x3dfe72){const _0x560054=_0x318102;return this[_0x560054(0x185)][_0x560054(0x15f)](_0xf21ab9=>_0xf21ab9['id']===_0x3dfe72)||null;}[_0x318102(0x1ab)](){const _0x1fdc3e=_0x318102;return Array[_0x1fdc3e(0x19e)](this[_0x1fdc3e(0x185)]);}[_0x318102(0x19a)](){const _0x4d0179=_0x318102;return this[_0x4d0179(0x182)];}[_0x318102(0x1bb)](_0x55c838){const _0x3bb711=_0x318102;this[_0x3bb711(0x182)]=_0x55c838;}[_0x318102(0x1bc)](_0x231380,_0x75cba=0x0){const _0x28c0d2=_0x318102;let _0x2c28d1=!0x1;for(let _0x5bf0a5=_0x75cba;_0x5bf0a5<this[_0x28c0d2(0x185)][_0x28c0d2(0x1a9)];_0x5bf0a5++)this[_0x28c0d2(0x1b5)](_0x231380,_0x5bf0a5)&&(_0x2c28d1=!0x0);return _0x2c28d1;}[_0x318102(0x1ae)](_0x3f9ca7,_0x204f43){const _0x1aa9ce=_0x318102,_0x38978a=_0x3f9ca7[_0x1aa9ce(0x1a4)](_0x1aa9ce(0x1aa),{});return _0x3f9ca7[_0x1aa9ce(0x1a7)](_0x38978a,_0x204f43),this[_0x1aa9ce(0x16a)]=_0x38978a,_0x38978a;}[_0x318102(0x1b4)](_0x522678){const _0x1ea60c=_0x318102;if(!this[_0x1ea60c(0x185)][_0x1ea60c(0x1a9)]||this[_0x1ea60c(0x16a)])return;const _0x4606ea=this[_0x1ea60c(0x185)][0x0][_0x1ea60c(0x17f)][_0x1ea60c(0x1bd)],_0x37b4f0=this[_0x1ea60c(0x1ae)](_0x522678,_0x4606ea);for(const _0x5c6d6e of this[_0x1ea60c(0x185)])_0x5c6d6e[_0x1ea60c(0x175)][_0x1ea60c(0x1a6)]||_0x522678[_0x1ea60c(0x162)](_0x5c6d6e[_0x1ea60c(0x175)],_0x37b4f0,_0x1ea60c(0x194));this[_0x1ea60c(0x1bc)](_0x522678);}[_0x318102(0x1a8)](_0xb86fde,_0x152c67){const _0x2af711=_0x318102;let _0x3c0a7c=!0x1;const {inserted:_0x407c02,removed:_0x2866fb,moved:_0x1319a8}=this[_0x2af711(0x1c2)][_0x2af711(0x17b)](_0x152c67);if(_0x1319a8[_0x2af711(0x1a9)]&&(this[_0x2af711(0x16a)]=_0x1319a8[0x0]),_0x407c02[_0x2af711(0x1a9)]){if(_0x407c02[_0x2af711(0x1a9)]>0x1||this[_0x2af711(0x16a)]&&_0x407c02[_0x2af711(0x1b0)](_0x3c06f0=>_0x3c06f0!==this[_0x2af711(0x16a)])){const _0x33db8a=_0xb86fde[_0x2af711(0x1a4)](_0x2af711(0x1aa),{}),_0x22e8bc=[];this[_0x2af711(0x16a)]&&_0x22e8bc[_0x2af711(0x174)](this[_0x2af711(0x16a)]),_0x22e8bc[_0x2af711(0x174)](..._0x407c02),_0xb86fde[_0x2af711(0x162)](_0x33db8a,_0x22e8bc[0x0],_0x2af711(0x1a1));for(const _0x294ef2 of _0x22e8bc)_0xb86fde[_0x2af711(0x16b)](_0xb86fde[_0x2af711(0x178)](_0x294ef2),_0xb86fde[_0x2af711(0x191)](_0x33db8a,_0x2af711(0x194))),_0xb86fde[_0x2af711(0x19f)](_0x294ef2);this[_0x2af711(0x16a)]=_0x33db8a,this[_0x2af711(0x1bc)](_0xb86fde),_0x3c0a7c=!0x0;}else this[_0x2af711(0x16a)]=_0x407c02[0x0];}if(_0x2866fb[_0x2af711(0x1a9)]&&_0x2af711(0x17c)===this[_0x2af711(0x16a)]?.[_0x2af711(0x1bd)][_0x2af711(0x195)]){for(const _0x481f62 of this[_0x2af711(0x185)])_0xb86fde[_0x2af711(0x19f)](_0x481f62[_0x2af711(0x17f)]),_0x3c0a7c=!0x0;this[_0x2af711(0x185)]=[],this[_0x2af711(0x16a)]=null;}return _0x3c0a7c;}[_0x318102(0x1a2)](_0x303d95,_0x1bea47){const _0x408632=_0x318102;let _0x26b683=!0x1;const _0x5abc49=this[_0x408632(0x190)][_0x408632(0x1b6)][_0x408632(0x160)](_0x408632(0x18e)),{inserted:_0xf512a2,moved:_0x30bbae}=this[_0x408632(0x1bf)][_0x408632(0x17b)](_0x1bea47);for(const _0x41c453 of[..._0x30bbae,..._0xf512a2]){const _0x1f8855=_0x41c453[_0x408632(0x164)](_0x408632(0x1b1)),_0x3b53cd=this[_0x408632(0x1ac)](_0x1f8855);_0x3b53cd&&(_0x3b53cd[_0x408632(0x175)]=_0x41c453),_(_0x303d95,_0x5abc49,_0x41c453)&&(_0x26b683=!0x0);}return _0x26b683;}[_0x318102(0x15d)](_0x46cf39,_0x2ca19d){const _0x35bb54=_0x318102;let _0x27d76b=!0x1;const {removed:_0x121f67,inserted:_0x391cea,moved:_0x4f839d}=this[_0x35bb54(0x189)][_0x35bb54(0x17b)](_0x2ca19d);for(const _0x497f4e of _0x121f67)this[_0x35bb54(0x1c4)](_0x46cf39,_0x497f4e)&&(_0x27d76b=!0x0);for(const _0x162408 of _0x391cea)this[_0x35bb54(0x1b8)](_0x46cf39,_0x162408)&&(_0x27d76b=!0x0);for(const _0x192f4f of _0x4f839d)this[_0x35bb54(0x163)](_0x46cf39,_0x192f4f)&&(_0x27d76b=!0x0);return _0x27d76b;}[_0x318102(0x1ad)](_0x37a3fe){const _0x3cf805=_0x318102;if(!this[_0x3cf805(0x16a)])return!0x1;let _0x43544f=!0x1;if(this[_0x3cf805(0x16a)][_0x3cf805(0x196)]!==this[_0x3cf805(0x185)][_0x3cf805(0x1a9)]){const _0x4efe10=[];for(const _0xd950f5 of this[_0x3cf805(0x16a)][_0x3cf805(0x192)]()){const _0x36f957=_0xd950f5[_0x3cf805(0x164)](_0x3cf805(0x1b1));this[_0x3cf805(0x1ac)](_0x36f957)||(_0x4efe10[_0x3cf805(0x1b2)](_0xd950f5),_0x43544f=!0x0);}for(const _0x39d98a of _0x4efe10)_0x37a3fe[_0x3cf805(0x19f)](_0x39d98a);}const _0x4a6db4=new Set(),_0x43b704=[];for(const _0x1c1deb of this[_0x3cf805(0x16a)][_0x3cf805(0x192)]()){const _0x44be91=_0x1c1deb[_0x3cf805(0x164)](_0x3cf805(0x1b1));_0x4a6db4[_0x3cf805(0x167)](_0x44be91)?(_0x43b704[_0x3cf805(0x1b2)](_0x1c1deb),_0x43544f=!0x0):_0x4a6db4[_0x3cf805(0x173)](_0x44be91);}for(const _0x2e20fb of _0x43b704)_0x37a3fe[_0x3cf805(0x19f)](_0x2e20fb);return this[_0x3cf805(0x16a)][_0x3cf805(0x196)]||(_0x37a3fe[_0x3cf805(0x19f)](this[_0x3cf805(0x16a)]),this[_0x3cf805(0x16a)]=null,_0x43544f=!0x0),_0x43544f;}[_0x318102(0x1b8)](_0x14118f,_0x1c0d37){const _0x5ef717=_0x318102;if(this[_0x5ef717(0x185)][_0x5ef717(0x15f)](_0x4011d3=>_0x4011d3[_0x5ef717(0x17f)]===_0x1c0d37))return!0x1;let _0x176c2b=!0x1;const _0x287504=_0x1c0d37[_0x5ef717(0x164)](_0x5ef717(0x1b1)),_0x37f1b0=this[_0x5ef717(0x1ac)](_0x287504);_0x37f1b0&&(_0x14118f[_0x5ef717(0x19f)](_0x37f1b0[_0x5ef717(0x17f)]),this[_0x5ef717(0x185)]=this[_0x5ef717(0x185)][_0x5ef717(0x16c)](_0x4f450a=>_0x4f450a['id']!==_0x287504),_0x176c2b=!0x0);let _0x2cefbb=this[_0x5ef717(0x16a)]?function(_0x57e1be,_0x33158d){const _0x56c8dc=_0x5ef717;for(const _0x280f5f of _0x57e1be[_0x56c8dc(0x192)]())if(_0x280f5f[_0x56c8dc(0x164)](_0x56c8dc(0x1b1))===_0x33158d)return _0x280f5f;return null;}(this[_0x5ef717(0x16a)],_0x287504):null;_0x2cefbb||(_0x2cefbb=_0x14118f[_0x5ef717(0x1a4)](_0x5ef717(0x187),{'footnoteId':_0x287504}),this[_0x5ef717(0x16a)]&&(_0x14118f[_0x5ef717(0x162)](_0x2cefbb,this[_0x5ef717(0x16a)],_0x5ef717(0x194)),_0x176c2b=!0x0));const _0x4a853d={'id':_0x287504,'reference':_0x1c0d37,'definition':_0x2cefbb},_0x7c6ce5=I(this[_0x5ef717(0x190)][_0x5ef717(0x180)],this[_0x5ef717(0x185)],_0x1c0d37);return this[_0x5ef717(0x185)][_0x5ef717(0x181)](_0x7c6ce5,0x0,_0x4a853d),this[_0x5ef717(0x1bc)](_0x14118f,_0x7c6ce5)&&(_0x176c2b=!0x0),_0x176c2b;}[_0x318102(0x1c4)](_0x3e25b3,_0x489afb){const _0x38891b=_0x318102,_0xfcd36d=this[_0x38891b(0x185)][_0x38891b(0x1b7)](_0x582bcc=>_0x582bcc['id']===_0x489afb);if(-0x1===_0xfcd36d)return!0x1;let _0x29adb3=!0x1;const _0x3f2251=this[_0x38891b(0x185)][_0xfcd36d];return _0x38891b(0x17c)!==_0x3f2251[_0x38891b(0x175)][_0x38891b(0x1bd)][_0x38891b(0x195)]&&(_0x3e25b3[_0x38891b(0x19f)](_0x3f2251[_0x38891b(0x175)]),_0x29adb3=!0x0),this[_0x38891b(0x185)][_0x38891b(0x181)](_0xfcd36d,0x1),this[_0x38891b(0x1bc)](_0x3e25b3,_0xfcd36d)&&(_0x29adb3=!0x0),_0x29adb3;}[_0x318102(0x163)](_0x4d73c1,_0x5af4fb){const _0xbb4969=_0x318102,_0x2b0431=_0x5af4fb[_0xbb4969(0x164)](_0xbb4969(0x1b1)),_0x5e810e=this[_0xbb4969(0x185)][_0xbb4969(0x1b7)](_0x59eeed=>_0x59eeed['id']===_0x2b0431),_0x4c3b6b=this[_0xbb4969(0x185)][_0x5e810e];let _0x324f56=!0x1;_0x4c3b6b[_0xbb4969(0x17f)]=_0x5af4fb,this[_0xbb4969(0x185)][_0xbb4969(0x181)](_0x5e810e,0x1);const _0x52b5d6=I(this[_0xbb4969(0x190)][_0xbb4969(0x180)],this[_0xbb4969(0x185)],_0x5af4fb);return this[_0xbb4969(0x185)][_0xbb4969(0x181)](_0x52b5d6,0x0,_0x4c3b6b),this[_0xbb4969(0x1bc)](_0x4d73c1,Math[_0xbb4969(0x183)](_0x5e810e,_0x52b5d6))&&(_0x324f56=!0x0),_0x324f56;}[_0x318102(0x1b5)](_0x1ccaf3,_0x8cfe40){const _0x38f17c=_0x318102;if(!this[_0x38f17c(0x16a)])return!0x1;const _0x3fd042=this[_0x38f17c(0x185)][_0x8cfe40];let _0x2b88c3;return _0x2b88c3=this[_0x38f17c(0x182)]?this[_0x38f17c(0x182)]({'footnote':_0x3fd042,'container':this[_0x38f17c(0x16a)],'digits':String(this[_0x38f17c(0x185)][_0x38f17c(0x1a9)])[_0x38f17c(0x1a9)],'value':_0x8cfe40+0x1}):String(_0x8cfe40+0x1),_0x3fd042[_0x38f17c(0x17f)][_0x38f17c(0x164)](_0x38f17c(0x197))!=_0x2b88c3&&(_0x1ccaf3[_0x38f17c(0x199)](_0x38f17c(0x197),_0x2b88c3,_0x3fd042[_0x38f17c(0x17f)]),!0x0);}[_0x318102(0x16e)](_0x47ca1b){const _0x2049fd=_0x318102;if(!this[_0x2049fd(0x16a)]||this[_0x2049fd(0x185)][_0x2049fd(0x1a9)]<0x2)return!0x1;if(function(_0x473537,_0x38769f){const _0x7beb0b=_0x2049fd;if(_0x473537[_0x7beb0b(0x1a9)]!==_0x38769f[_0x7beb0b(0x1a9)])return!0x1;for(let _0x2afe1d=0x0;_0x2afe1d<_0x473537[_0x7beb0b(0x1a9)];_0x2afe1d++)if(_0x473537[_0x2afe1d]!==_0x38769f[_0x2afe1d])return!0x1;return!0x0;}(this[_0x2049fd(0x185)][_0x2049fd(0x171)](_0x45f673=>_0x45f673['id']),Array[_0x2049fd(0x19e)](this[_0x2049fd(0x16a)][_0x2049fd(0x192)]())[_0x2049fd(0x171)](_0x69f61c=>_0x69f61c[_0x2049fd(0x164)](_0x2049fd(0x1b1)))))return!0x1;let _0x1332a5=!0x1;for(let _0x166b21=0x0;_0x166b21<this[_0x2049fd(0x185)][_0x2049fd(0x1a9)];_0x166b21++){const _0x439ff5=this[_0x2049fd(0x185)][_0x166b21],_0x3542a7=_0x47ca1b[_0x2049fd(0x193)](_0x439ff5[_0x2049fd(0x175)]),_0x227156=_0x47ca1b[_0x2049fd(0x191)](this[_0x2049fd(0x16a)],_0x166b21);_0x3542a7[_0x2049fd(0x170)](_0x227156)||(_0x47ca1b[_0x2049fd(0x16b)](_0x47ca1b[_0x2049fd(0x184)](_0x439ff5[_0x2049fd(0x175)]),_0x227156),_0x1332a5=!0x0);}return _0x1332a5;}[_0x318102(0x177)](_0x65586a){const _0x447508=_0x318102;if(!this[_0x447508(0x185)][_0x447508(0x1a9)])return!0x1;const {model:_0x545d92}=this[_0x447508(0x190)];let _0x560261=!0x1;for(let _0x5345af=0x0;_0x5345af<this[_0x447508(0x185)][_0x447508(0x1a9)]-0x1;_0x5345af++){const _0x19a204=this[_0x447508(0x185)][_0x5345af],_0x5393a6=this[_0x447508(0x185)][_0x5345af+0x1],_0x13b90a=_0x545d92[_0x447508(0x193)](_0x19a204[_0x447508(0x17f)]),_0xd725cb=_0x545d92[_0x447508(0x193)](_0x5393a6[_0x447508(0x17f)]);_0x447508(0x18f)===_0x13b90a[_0x447508(0x1be)](_0xd725cb)&&(this[_0x447508(0x163)](_0x65586a,_0x19a204[_0x447508(0x17f)]),_0x5345af=-0x1,_0x560261=!0x0);}return _0x560261;}}function _(_0x42d242,_0x56839a,_0x101d30){const _0x3a8ffa=_0x318102;if(_0x101d30[_0x3a8ffa(0x196)])return!0x1;const _0x222665=_0x56839a?_0x3a8ffa(0x1c6):_0x3a8ffa(0x18a);return _0x42d242[_0x3a8ffa(0x162)](_0x42d242[_0x3a8ffa(0x1a4)](_0x222665),_0x101d30),!0x0;}function _0x3c8d(_0x28f00c,_0x329fdf){const _0x26b9b9=_0x26b9();return _0x3c8d=function(_0x3c8d41,_0x299e69){_0x3c8d41=_0x3c8d41-0x15d;let _0x261802=_0x26b9b9[_0x3c8d41];return _0x261802;},_0x3c8d(_0x28f00c,_0x329fdf);}function I(_0x252bc3,_0x547a30,_0x514f68){const _0x568932=_0x318102;if(0x0===_0x547a30[_0x568932(0x1a9)])return 0x0;const _0x503e8d=_0x252bc3[_0x568932(0x193)](_0x514f68);for(let _0x31cfcb=0x0;_0x31cfcb<_0x547a30[_0x568932(0x1a9)];_0x31cfcb++){const _0x241007=_0x547a30[_0x31cfcb],_0x101082=_0x252bc3[_0x568932(0x193)](_0x241007[_0x568932(0x17f)]);if(_0x568932(0x1a1)===_0x503e8d[_0x568932(0x1be)](_0x101082))return _0x31cfcb;}const _0x5c6265=_0x514f68[_0x568932(0x1bd)];let _0x19c2ef=-0x1;for(let _0x5a530a=_0x547a30[_0x568932(0x1a9)]-0x1;_0x5a530a>=0x0;_0x5a530a--)if(_0x547a30[_0x5a530a][_0x568932(0x17f)][_0x568932(0x1bd)]===_0x5c6265){_0x19c2ef=_0x5a530a;break;}if(-0x1!==_0x19c2ef)return _0x19c2ef+0x1;const _0x2a5686=_0x252bc3[_0x568932(0x172)][_0x568932(0x17d)](),_0x5a55a0=_0x2a5686[_0x568932(0x19c)](_0x5c6265[_0x568932(0x195)]),_0x129e88=_0x2a5686[_0x5a55a0+0x1];if(_0x129e88){for(let _0x17cb6d=0x0;_0x17cb6d<_0x547a30[_0x568932(0x1a9)];_0x17cb6d++)if(_0x547a30[_0x17cb6d][_0x568932(0x17f)][_0x568932(0x1bd)][_0x568932(0x195)]===_0x129e88)return _0x17cb6d;}return _0x547a30[_0x568932(0x1a9)];}
23
+ const _0x12b569=_0xc4e2;(function(_0x168ebf,_0x18b7d6){const _0x13adab=_0xc4e2,_0x43d004=_0x168ebf();while(!![]){try{const _0x4f1879=parseInt(_0x13adab(0x1bf))/0x1+parseInt(_0x13adab(0x1f0))/0x2*(parseInt(_0x13adab(0x1c4))/0x3)+-parseInt(_0x13adab(0x205))/0x4*(-parseInt(_0x13adab(0x1d0))/0x5)+parseInt(_0x13adab(0x20b))/0x6+parseInt(_0x13adab(0x1e7))/0x7+parseInt(_0x13adab(0x215))/0x8*(parseInt(_0x13adab(0x1c6))/0x9)+-parseInt(_0x13adab(0x1e9))/0xa;if(_0x4f1879===_0x18b7d6)break;else _0x43d004['push'](_0x43d004['shift']());}catch(_0x1d863c){_0x43d004['push'](_0x43d004['shift']());}}}(_0x5c53,0x504c9));import{Plugin as _0x2fb4a6}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x392041}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2fb4a6{[_0x12b569(0x1b7)]=[];[_0x12b569(0x1d6)]=null;[_0x12b569(0x1e3)]=null;[_0x12b569(0x1df)];[_0x12b569(0x1fa)];[_0x12b569(0x1bc)];static get[_0x12b569(0x1e5)](){const _0x5a8354=_0x12b569;return _0x5a8354(0x1c8);}static get[_0x12b569(0x1d4)](){return!0x0;}static get[_0x12b569(0x1b3)](){return!0x0;}constructor(_0x1e79e5){const _0x4cac6a=_0x12b569;super(_0x1e79e5),this[_0x4cac6a(0x1df)]=new _0x392041(this[_0x4cac6a(0x1f5)][_0x4cac6a(0x209)],{'elementName':_0x4cac6a(0x1ca),'getElementKey':()=>_0x4cac6a(0x207)}),this[_0x4cac6a(0x1fa)]=new _0x392041(this[_0x4cac6a(0x1f5)][_0x4cac6a(0x209)],{'elementName':_0x4cac6a(0x1e8),'getElementKey':_0x46f258=>_0x46f258[_0x4cac6a(0x20e)](_0x4cac6a(0x217))}),this[_0x4cac6a(0x1bc)]=new _0x392041(this[_0x4cac6a(0x1f5)][_0x4cac6a(0x209)],{'elementName':_0x4cac6a(0x202),'getElementKey':_0x725fad=>_0x725fad[_0x4cac6a(0x20e)](_0x4cac6a(0x217))});}[_0x12b569(0x1e6)](){const _0xd3bb27=_0x12b569,{editor:_0x56aef8}=this,{model:_0x5ed0fd,data:_0x1c6404}=_0x56aef8;_0x5ed0fd[_0xd3bb27(0x1b8)][_0xd3bb27(0x1f8)](_0x235cf6=>{const _0x3fba82=_0xd3bb27,_0x452a06=_0x5ed0fd[_0x3fba82(0x1b8)][_0x3fba82(0x20f)][_0x3fba82(0x203)]();let _0x8b17de=!0x1;return this[_0x3fba82(0x1ee)](_0x235cf6,_0x452a06)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1c7)](_0x235cf6,_0x452a06)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1d3)](_0x235cf6,_0x452a06)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1e1)](_0x235cf6)&&(_0x8b17de=!0x0),this[_0x3fba82(0x200)](_0x235cf6)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1cf)](_0x235cf6)&&(_0x8b17de=!0x0),_0x8b17de;}),this[_0xd3bb27(0x1ce)](_0x5ed0fd[_0xd3bb27(0x1b8)],_0xd3bb27(0x1d8),()=>{const _0x5b7de9=_0xd3bb27;_0x5ed0fd[_0x5b7de9(0x214)]({'isUndoable':!0x1},_0x3e54c9=>{const _0x2229df=_0x5b7de9;this[_0x2229df(0x1c5)](_0x3e54c9);});},{'priority':_0xd3bb27(0x1e4)}),this[_0xd3bb27(0x1ce)](_0x1c6404,_0xd3bb27(0x1f2),()=>{const _0x2b9cc6=_0xd3bb27;this[_0x2b9cc6(0x1b7)]=[],this[_0x2b9cc6(0x1df)][_0x2b9cc6(0x1d9)](),this[_0x2b9cc6(0x1fa)][_0x2b9cc6(0x1d9)](),this[_0x2b9cc6(0x1bc)][_0x2b9cc6(0x1d9)]();},{'priority':_0xd3bb27(0x210)});}[_0x12b569(0x213)](){const _0x3b263a=_0x12b569;return this[_0x3b263a(0x1d6)];}[_0x12b569(0x1cc)](_0x4e842d){const _0x430162=_0x12b569;return this[_0x430162(0x1b7)][_0x430162(0x1ed)](_0x103260=>_0x103260['id']===_0x4e842d)||null;}[_0x12b569(0x201)](){const _0x4fa25d=_0x12b569;return Array[_0x4fa25d(0x1f7)](this[_0x4fa25d(0x1b7)]);}[_0x12b569(0x20a)](){const _0x55778f=_0x12b569;return this[_0x55778f(0x1e3)];}[_0x12b569(0x1bb)](_0x574243){const _0x5c05ef=_0x12b569;this[_0x5c05ef(0x1e3)]=_0x574243;}[_0x12b569(0x1dc)](_0x159512,_0x18ab0c=0x0){const _0x3393f1=_0x12b569;let _0x33bebf=!0x1;for(let _0x3b093f=_0x18ab0c;_0x3b093f<this[_0x3393f1(0x1b7)][_0x3393f1(0x1c0)];_0x3b093f++)this[_0x3393f1(0x218)](_0x159512,_0x3b093f)&&(_0x33bebf=!0x0);return _0x33bebf;}[_0x12b569(0x1b6)](_0x58cdd5,_0xecce48){const _0x4f3a3e=_0x12b569,_0xc9a07e=_0x58cdd5[_0x4f3a3e(0x1b5)](_0x4f3a3e(0x1ca),{});return _0x58cdd5[_0x4f3a3e(0x1f3)](_0xc9a07e,_0xecce48),this[_0x4f3a3e(0x1d6)]=_0xc9a07e,_0xc9a07e;}[_0x12b569(0x1c5)](_0x3a0556){const _0xafabc9=_0x12b569;if(!this[_0xafabc9(0x1b7)][_0xafabc9(0x1c0)]||this[_0xafabc9(0x1d6)])return;const _0x58bbbb=this[_0xafabc9(0x1b7)][0x0][_0xafabc9(0x208)][_0xafabc9(0x1cb)],_0x2aabc4=this[_0xafabc9(0x1b6)](_0x3a0556,_0x58bbbb);for(const _0x393909 of this[_0xafabc9(0x1b7)])_0x393909[_0xafabc9(0x216)][_0xafabc9(0x1ec)]||_0x3a0556[_0xafabc9(0x1d5)](_0x393909[_0xafabc9(0x216)],_0x2aabc4,_0xafabc9(0x1c3));this[_0xafabc9(0x1dc)](_0x3a0556);}[_0x12b569(0x1ee)](_0x146032,_0x14d92d){const _0x4552a8=_0x12b569;let _0x3206c9=!0x1;const {inserted:_0x123518,removed:_0x20775f,moved:_0x5db5ea}=this[_0x4552a8(0x1df)][_0x4552a8(0x203)](_0x14d92d);if(_0x5db5ea[_0x4552a8(0x1c0)]&&(this[_0x4552a8(0x1d6)]=_0x5db5ea[0x0]),_0x123518[_0x4552a8(0x1c0)]){if(_0x123518[_0x4552a8(0x1c0)]>0x1||this[_0x4552a8(0x1d6)]&&_0x123518[_0x4552a8(0x1cd)](_0xbb1c6d=>_0xbb1c6d!==this[_0x4552a8(0x1d6)])){const _0x388a75=_0x146032[_0x4552a8(0x1b5)](_0x4552a8(0x1ca),{}),_0x13aa5b=[];this[_0x4552a8(0x1d6)]&&_0x13aa5b[_0x4552a8(0x1be)](this[_0x4552a8(0x1d6)]),_0x13aa5b[_0x4552a8(0x1be)](..._0x123518),_0x146032[_0x4552a8(0x1d5)](_0x388a75,_0x13aa5b[0x0],_0x4552a8(0x204));for(const _0x22f763 of _0x13aa5b)_0x146032[_0x4552a8(0x1bd)](_0x146032[_0x4552a8(0x206)](_0x22f763),_0x146032[_0x4552a8(0x1c2)](_0x388a75,_0x4552a8(0x1c3))),_0x146032[_0x4552a8(0x1de)](_0x22f763);this[_0x4552a8(0x1d6)]=_0x388a75,this[_0x4552a8(0x1dc)](_0x146032),_0x3206c9=!0x0;}else this[_0x4552a8(0x1d6)]=_0x123518[0x0];}if(_0x20775f[_0x4552a8(0x1c0)]&&_0x4552a8(0x1f9)===this[_0x4552a8(0x1d6)]?.[_0x4552a8(0x1cb)][_0x4552a8(0x1dd)]){for(const _0x2c078e of this[_0x4552a8(0x1b7)])_0x146032[_0x4552a8(0x1de)](_0x2c078e[_0x4552a8(0x208)]),_0x3206c9=!0x0;this[_0x4552a8(0x1b7)]=[],this[_0x4552a8(0x1d6)]=null;}return _0x3206c9;}[_0x12b569(0x1c7)](_0x533eb7,_0x22b562){const _0xd1af60=_0x12b569;let _0x387c27=!0x1;const _0x33e1cb=this[_0xd1af60(0x1f5)][_0xd1af60(0x1ba)][_0xd1af60(0x20c)](_0xd1af60(0x1d7)),{inserted:_0x465487,moved:_0x35d616}=this[_0xd1af60(0x1bc)][_0xd1af60(0x203)](_0x22b562);for(const _0x28c913 of[..._0x35d616,..._0x465487]){const _0x33a877=_0x28c913[_0xd1af60(0x20e)](_0xd1af60(0x217)),_0x4917d3=this[_0xd1af60(0x1cc)](_0x33a877);_0x4917d3&&(_0x4917d3[_0xd1af60(0x216)]=_0x28c913),_(_0x533eb7,_0x33e1cb,_0x28c913)&&(_0x387c27=!0x0);}return _0x387c27;}[_0x12b569(0x1d3)](_0x4ea158,_0x5ee140){const _0x3c23b1=_0x12b569;let _0x200c38=!0x1;const {removed:_0x2734e3,inserted:_0x5a813e,moved:_0x2b2eab}=this[_0x3c23b1(0x1fa)][_0x3c23b1(0x203)](_0x5ee140);for(const _0x47ab43 of _0x2734e3)this[_0x3c23b1(0x1ea)](_0x4ea158,_0x47ab43)&&(_0x200c38=!0x0);for(const _0x15c6ab of _0x5a813e)this[_0x3c23b1(0x1c1)](_0x4ea158,_0x15c6ab)&&(_0x200c38=!0x0);for(const _0x1ea14c of _0x2b2eab)this[_0x3c23b1(0x1b9)](_0x4ea158,_0x1ea14c)&&(_0x200c38=!0x0);return _0x200c38;}[_0x12b569(0x200)](_0x5aa06c){const _0x1de0fa=_0x12b569;if(!this[_0x1de0fa(0x1d6)])return!0x1;let _0x3dcb64=!0x1;if(this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1f4)]!==this[_0x1de0fa(0x1b7)][_0x1de0fa(0x1c0)]){const _0x5e7416=[];for(const _0x5bc0b8 of this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1e2)]()){const _0x4e9501=_0x5bc0b8[_0x1de0fa(0x20e)](_0x1de0fa(0x217));this[_0x1de0fa(0x1cc)](_0x4e9501)||(_0x5e7416[_0x1de0fa(0x1f1)](_0x5bc0b8),_0x3dcb64=!0x0);}for(const _0x492c04 of _0x5e7416)_0x5aa06c[_0x1de0fa(0x1de)](_0x492c04);}const _0x2e4154=new Set(),_0x2c5dfb=[];for(const _0x32a41a of this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1e2)]()){const _0x7b4a29=_0x32a41a[_0x1de0fa(0x20e)](_0x1de0fa(0x217));_0x2e4154[_0x1de0fa(0x1ef)](_0x7b4a29)?(_0x2c5dfb[_0x1de0fa(0x1f1)](_0x32a41a),_0x3dcb64=!0x0):_0x2e4154[_0x1de0fa(0x1da)](_0x7b4a29);}for(const _0x37c917 of _0x2c5dfb)_0x5aa06c[_0x1de0fa(0x1de)](_0x37c917);return this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1f4)]||(_0x5aa06c[_0x1de0fa(0x1de)](this[_0x1de0fa(0x1d6)]),this[_0x1de0fa(0x1d6)]=null,_0x3dcb64=!0x0),_0x3dcb64;}[_0x12b569(0x1c1)](_0xd6c351,_0xc57b5c){const _0x1e154e=_0x12b569;if(this[_0x1e154e(0x1b7)][_0x1e154e(0x1ed)](_0x336b00=>_0x336b00[_0x1e154e(0x208)]===_0xc57b5c))return!0x1;let _0x2f565c=!0x1;const _0x3e17f1=_0xc57b5c[_0x1e154e(0x20e)](_0x1e154e(0x217)),_0x473317=this[_0x1e154e(0x1cc)](_0x3e17f1);_0x473317&&(_0xd6c351[_0x1e154e(0x1de)](_0x473317[_0x1e154e(0x208)]),this[_0x1e154e(0x1b7)]=this[_0x1e154e(0x1b7)][_0x1e154e(0x1eb)](_0x2d43ec=>_0x2d43ec['id']!==_0x3e17f1),_0x2f565c=!0x0);let _0x47f33a=this[_0x1e154e(0x1d6)]?function(_0x4d3910,_0x305bbf){const _0x54086f=_0x1e154e;for(const _0x34e905 of _0x4d3910[_0x54086f(0x1e2)]())if(_0x34e905[_0x54086f(0x20e)](_0x54086f(0x217))===_0x305bbf)return _0x34e905;return null;}(this[_0x1e154e(0x1d6)],_0x3e17f1):null;_0x47f33a||(_0x47f33a=_0xd6c351[_0x1e154e(0x1b5)](_0x1e154e(0x202),{'footnoteId':_0x3e17f1}),this[_0x1e154e(0x1d6)]&&(_0xd6c351[_0x1e154e(0x1d5)](_0x47f33a,this[_0x1e154e(0x1d6)],_0x1e154e(0x1c3)),_0x2f565c=!0x0));const _0x3c719a={'id':_0x3e17f1,'reference':_0xc57b5c,'definition':_0x47f33a},_0x16fbe9=I(this[_0x1e154e(0x1f5)][_0x1e154e(0x209)],this[_0x1e154e(0x1b7)],_0xc57b5c);return this[_0x1e154e(0x1b7)][_0x1e154e(0x211)](_0x16fbe9,0x0,_0x3c719a),this[_0x1e154e(0x1dc)](_0xd6c351,_0x16fbe9)&&(_0x2f565c=!0x0),_0x2f565c;}[_0x12b569(0x1ea)](_0x53de96,_0x3052a2){const _0x1b5da9=_0x12b569,_0x57c3b3=this[_0x1b5da9(0x1b7)][_0x1b5da9(0x1fc)](_0x3a6dd1=>_0x3a6dd1['id']===_0x3052a2);if(-0x1===_0x57c3b3)return!0x1;let _0x5d9405=!0x1;const _0x35bd52=this[_0x1b5da9(0x1b7)][_0x57c3b3];return _0x1b5da9(0x1f9)!==_0x35bd52[_0x1b5da9(0x216)][_0x1b5da9(0x1cb)][_0x1b5da9(0x1dd)]&&(_0x53de96[_0x1b5da9(0x1de)](_0x35bd52[_0x1b5da9(0x216)]),_0x5d9405=!0x0),this[_0x1b5da9(0x1b7)][_0x1b5da9(0x211)](_0x57c3b3,0x1),this[_0x1b5da9(0x1dc)](_0x53de96,_0x57c3b3)&&(_0x5d9405=!0x0),_0x5d9405;}[_0x12b569(0x1b9)](_0x1d5c57,_0x18a3b6){const _0x5eaea8=_0x12b569,_0x2095ca=_0x18a3b6[_0x5eaea8(0x20e)](_0x5eaea8(0x217)),_0x311edf=this[_0x5eaea8(0x1b7)][_0x5eaea8(0x1fc)](_0x4b555f=>_0x4b555f['id']===_0x2095ca),_0x11c11b=this[_0x5eaea8(0x1b7)][_0x311edf];let _0x3c2135=!0x1;_0x11c11b[_0x5eaea8(0x208)]=_0x18a3b6,this[_0x5eaea8(0x1b7)][_0x5eaea8(0x211)](_0x311edf,0x1);const _0x1f946b=I(this[_0x5eaea8(0x1f5)][_0x5eaea8(0x209)],this[_0x5eaea8(0x1b7)],_0x18a3b6);return this[_0x5eaea8(0x1b7)][_0x5eaea8(0x211)](_0x1f946b,0x0,_0x11c11b),this[_0x5eaea8(0x1dc)](_0x1d5c57,Math[_0x5eaea8(0x1c9)](_0x311edf,_0x1f946b))&&(_0x3c2135=!0x0),_0x3c2135;}[_0x12b569(0x218)](_0x1a8d7a,_0x190b5f){const _0x2841ce=_0x12b569;if(!this[_0x2841ce(0x1d6)])return!0x1;const _0x46df67=this[_0x2841ce(0x1b7)][_0x190b5f];let _0x410421;return _0x410421=this[_0x2841ce(0x1e3)]?this[_0x2841ce(0x1e3)]({'footnote':_0x46df67,'container':this[_0x2841ce(0x1d6)],'digits':String(this[_0x2841ce(0x1b7)][_0x2841ce(0x1c0)])[_0x2841ce(0x1c0)],'value':_0x190b5f+0x1}):String(_0x190b5f+0x1),_0x46df67[_0x2841ce(0x208)][_0x2841ce(0x20e)](_0x2841ce(0x1fd))!=_0x410421&&(_0x1a8d7a[_0x2841ce(0x1db)](_0x2841ce(0x1fd),_0x410421,_0x46df67[_0x2841ce(0x208)]),!0x0);}[_0x12b569(0x1cf)](_0x57c24c){const _0x30abaa=_0x12b569;if(!this[_0x30abaa(0x1d6)]||this[_0x30abaa(0x1b7)][_0x30abaa(0x1c0)]<0x2)return!0x1;if(function(_0x5b4787,_0x23206f){const _0x3d474b=_0x30abaa;if(_0x5b4787[_0x3d474b(0x1c0)]!==_0x23206f[_0x3d474b(0x1c0)])return!0x1;for(let _0x18c62e=0x0;_0x18c62e<_0x5b4787[_0x3d474b(0x1c0)];_0x18c62e++)if(_0x5b4787[_0x18c62e]!==_0x23206f[_0x18c62e])return!0x1;return!0x0;}(this[_0x30abaa(0x1b7)][_0x30abaa(0x1d1)](_0x314aac=>_0x314aac['id']),Array[_0x30abaa(0x1f7)](this[_0x30abaa(0x1d6)][_0x30abaa(0x1e2)]())[_0x30abaa(0x1d1)](_0x107eb4=>_0x107eb4[_0x30abaa(0x20e)](_0x30abaa(0x217)))))return!0x1;let _0x314480=!0x1;for(let _0x2ec57f=0x0;_0x2ec57f<this[_0x30abaa(0x1b7)][_0x30abaa(0x1c0)];_0x2ec57f++){const _0x4786cc=this[_0x30abaa(0x1b7)][_0x2ec57f],_0x4736b7=_0x57c24c[_0x30abaa(0x1ff)](_0x4786cc[_0x30abaa(0x216)]),_0x16ed0e=_0x57c24c[_0x30abaa(0x1c2)](this[_0x30abaa(0x1d6)],_0x2ec57f);_0x4736b7[_0x30abaa(0x212)](_0x16ed0e)||(_0x57c24c[_0x30abaa(0x1bd)](_0x57c24c[_0x30abaa(0x20d)](_0x4786cc[_0x30abaa(0x216)]),_0x16ed0e),_0x314480=!0x0);}return _0x314480;}[_0x12b569(0x1e1)](_0x47a0e9){const _0x2af11b=_0x12b569;if(!this[_0x2af11b(0x1b7)][_0x2af11b(0x1c0)])return!0x1;const {model:_0x360e85}=this[_0x2af11b(0x1f5)];let _0x3096bd=!0x1;for(let _0x56387e=0x0;_0x56387e<this[_0x2af11b(0x1b7)][_0x2af11b(0x1c0)]-0x1;_0x56387e++){const _0x58c4a7=this[_0x2af11b(0x1b7)][_0x56387e],_0x43bd6e=this[_0x2af11b(0x1b7)][_0x56387e+0x1],_0x2946cb=_0x360e85[_0x2af11b(0x1ff)](_0x58c4a7[_0x2af11b(0x208)]),_0x3c61d2=_0x360e85[_0x2af11b(0x1ff)](_0x43bd6e[_0x2af11b(0x208)]);_0x2af11b(0x1d2)===_0x2946cb[_0x2af11b(0x1e0)](_0x3c61d2)&&(this[_0x2af11b(0x1b9)](_0x47a0e9,_0x58c4a7[_0x2af11b(0x208)]),_0x56387e=-0x1,_0x3096bd=!0x0);}return _0x3096bd;}}function _0xc4e2(_0x54143d,_0x53fca5){const _0x5c5303=_0x5c53();return _0xc4e2=function(_0xc4e218,_0x2fad8f){_0xc4e218=_0xc4e218-0x1b3;let _0x4f197d=_0x5c5303[_0xc4e218];return _0x4f197d;},_0xc4e2(_0x54143d,_0x53fca5);}function _(_0x129109,_0x1138fc,_0x527517){const _0x26fcda=_0x12b569;if(_0x527517[_0x26fcda(0x1f4)])return!0x1;const _0x1ab8d7=_0x1138fc?_0x26fcda(0x1fb):_0x26fcda(0x1b4);return _0x129109[_0x26fcda(0x1d5)](_0x129109[_0x26fcda(0x1b5)](_0x1ab8d7),_0x527517),!0x0;}function _0x5c53(){const _0x50e0ea=['listenTo','_sortFootnoteDefinitions','10Wjbccb','map','after','_handleFootnoteReferencesChanges','isOfficialPlugin','insert','_footnotesDefinitions','footnotes.multiBlock','change:data','reset','add','setAttribute','_updateFootnotesCounters','rootName','remove','_footnoteDefsContainerTracker','compareWith','_ensureFootnotesReferencesHaveProperOrder','getChildren','_footnoteFormatter','low','pluginName','init','2526580Hrlwvm','footnoteRef','17535430jLSivr','_handleRemoveFootnoteReferenceById','filter','parent','find','_handleFootnotesDefinitionsObjectChanges','has','1660JGsmNR','unshift','set','append','childCount','editor','getRootNames','from','registerPostFixer','$graveyard','_footnoteRefsTracker','paragraph','findIndex','footnoteCounter','indexOf','createPositionBefore','_handleFootnotesDefinitionsObjectSync','getFootnotes','footnoteDefinition','getChanges','before','927188LJVrHL','createRangeIn','singleton','reference','model','getFootnotesFormatter','858528fkiEFs','get','createRangeOn','getAttribute','differ','high','splice','isEqual','getFootnotesDefinitionsObjectElement','enqueueChange','984QkoOLM','definition','footnoteId','_updateFootnoteRefCounter','isPremiumPlugin','footnoteInlineContent','createElement','_insertEmptyFootnotesDefinitionsContainer','_footnotes','document','_handleMovedFootnoteReference','config','setFootnoteFormatter','_footnoteDefsTracker','move','push','578443MTPyNB','length','_handleInsertedFootnoteReference','createPositionAt','end','978cRxWuj','_ensureFootnotesDefinitionsContainerExists','19449LTOStj','_handleFootnoteDefinitionsChanges','FootnotesTracker','min','footnotesDefinitions','root','getFootnote','some'];_0x5c53=function(){return _0x50e0ea;};return _0x5c53();}function I(_0x198a1e,_0x9fa9f4,_0x4627bc){const _0x11b3d4=_0x12b569;if(0x0===_0x9fa9f4[_0x11b3d4(0x1c0)])return 0x0;const _0x43192b=_0x198a1e[_0x11b3d4(0x1ff)](_0x4627bc);for(let _0x46e984=0x0;_0x46e984<_0x9fa9f4[_0x11b3d4(0x1c0)];_0x46e984++){const _0x8a9cfc=_0x9fa9f4[_0x46e984],_0x5ce23b=_0x198a1e[_0x11b3d4(0x1ff)](_0x8a9cfc[_0x11b3d4(0x208)]);if(_0x11b3d4(0x204)===_0x43192b[_0x11b3d4(0x1e0)](_0x5ce23b))return _0x46e984;}const _0x41d8bf=_0x4627bc[_0x11b3d4(0x1cb)];let _0xc80c=-0x1;for(let _0x3cba80=_0x9fa9f4[_0x11b3d4(0x1c0)]-0x1;_0x3cba80>=0x0;_0x3cba80--)if(_0x9fa9f4[_0x3cba80][_0x11b3d4(0x208)][_0x11b3d4(0x1cb)]===_0x41d8bf){_0xc80c=_0x3cba80;break;}if(-0x1!==_0xc80c)return _0xc80c+0x1;const _0x13faa2=_0x198a1e[_0x11b3d4(0x1b8)][_0x11b3d4(0x1f6)](),_0x114c5a=_0x13faa2[_0x11b3d4(0x1fe)](_0x41d8bf[_0x11b3d4(0x1dd)]),_0x3525a2=_0x13faa2[_0x114c5a+0x1];if(_0x3525a2){for(let _0x5b66e9=0x0;_0x5b66e9<_0x9fa9f4[_0x11b3d4(0x1c0)];_0x5b66e9++)if(_0x9fa9f4[_0x5b66e9][_0x11b3d4(0x208)][_0x11b3d4(0x1cb)][_0x11b3d4(0x1dd)]===_0x3525a2)return _0x5b66e9;}return _0x9fa9f4[_0x11b3d4(0x1c0)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x73c6df,MenuBarMenuListItemButtonView as _0x3e4e18}from'ckeditor5/src/ui.js';import{Plugin as _0x4cbc6f}from'ckeditor5/src/core.js';import{IconFootnote as _0x3e51f0}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x4cbc6f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4569c0}=this,{componentFactory:_0x35daf6}=_0x4569c0['ui'];_0x35daf6['add']('insertFootnote',v(_0x4569c0,_0x73c6df)),_0x35daf6['add']('menuBar:insertFootnote',v(_0x4569c0,_0x3e4e18)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2ffdac=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4cbd6b;for(const _0x4a311a in _0x2ffdac){const _0x507d08=_0x4a311a,_0xa776ec=_0x2ffdac[_0x507d08];if('footnotesLicenseKeyValid'==_0xa776ec||'footnotesLicenseKeyInvalid'==_0xa776ec||'footnotesLicenseKeyExpired'==_0xa776ec||'footnotesLicenseKeyDomainLimit'==_0xa776ec||'footnotesLicenseKeyNotAllowed'==_0xa776ec||'footnotesLicenseKeyEvaluationLimit'==_0xa776ec||'footnotesLicenseKeyTrialLimit'==_0xa776ec||'footnotesLicenseKeyUsageLimit'==_0xa776ec){delete _0x2ffdac[_0x507d08],_0x4cbd6b=_0xa776ec,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4cbd6b&&_0x2ffdac['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4cbd6b&&_0x2ffdac['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4cbd6b&&_0x2ffdac['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4cbd6b&&_0x2ffdac['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4cbd6b&&_0x2ffdac['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4cbd6b&&_0x2ffdac['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4cbd6b&&_0x2ffdac['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function v(_0x3826d0,_0x570a5c){const _0x5457c8=_0x3826d0['commands']['get']('insertFootnote');return _0x7eeea5=>{const {t:t}=_0x7eeea5,_0x1f50a6=new _0x570a5c(_0x7eeea5),_0x174fd2=_0x1f50a6 instanceof _0x3e4e18;return _0x1f50a6['bind']('isEnabled')['to'](_0x5457c8,'isEnabled'),_0x1f50a6['set']({'label':t(_0x174fd2?'Footnote':'Insert\x20footnote'),'icon':_0x3e51f0,'tooltip':!0x0}),_0x1f50a6['on']('execute',()=>{_0x5457c8['execute'](),_0x3826d0['editing']['view']['focus']();}),_0x1f50a6;};}
23
+ import{ButtonView as _0x5d2341,MenuBarMenuListItemButtonView as _0x2da1e0}from'ckeditor5/src/ui.js';import{Plugin as _0x59a356}from'ckeditor5/src/core.js';import{IconFootnote as _0x284945}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x59a356{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x21edab}=this,{componentFactory:_0x15d5ae}=_0x21edab['ui'];_0x15d5ae['add']('insertFootnote',x(_0x21edab,_0x5d2341)),_0x15d5ae['add']('menuBar:insertFootnote',x(_0x21edab,_0x2da1e0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xad439c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e7891;for(const _0x163fa1 in _0xad439c){const _0xfcbdeb=_0x163fa1,_0x2b28c4=_0xad439c[_0xfcbdeb];if('footnotesLicenseKeyValid'==_0x2b28c4||'footnotesLicenseKeyInvalid'==_0x2b28c4||'footnotesLicenseKeyExpired'==_0x2b28c4||'footnotesLicenseKeyDomainLimit'==_0x2b28c4||'footnotesLicenseKeyNotAllowed'==_0x2b28c4||'footnotesLicenseKeyEvaluationLimit'==_0x2b28c4||'footnotesLicenseKeyTrialLimit'==_0x2b28c4||'footnotesLicenseKeyUsageLimit'==_0x2b28c4){delete _0xad439c[_0xfcbdeb],_0x3e7891=_0x2b28c4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3e7891&&_0xad439c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3e7891&&_0xad439c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3e7891&&_0xad439c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3e7891&&_0xad439c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3e7891&&_0xad439c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3e7891&&_0xad439c['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3e7891&&_0xad439c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3ea417,_0x5f2264){const _0x2f3b34=_0x3ea417['commands']['get']('insertFootnote');return _0x49fde1=>{const {t:t}=_0x49fde1,_0x24fe71=new _0x5f2264(_0x49fde1),_0x3cd501=_0x24fe71 instanceof _0x2da1e0;return _0x24fe71['bind']('isEnabled')['to'](_0x2f3b34,'isEnabled'),_0x24fe71['set']({'label':t(_0x3cd501?'Footnote':'Insert\x20footnote'),'icon':_0x284945,'tooltip':!0x0}),_0x24fe71['on']('execute',()=>{_0x2f3b34['execute'](),_0x3ea417['editing']['view']['focus']();}),_0x24fe71;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1ca423,_0x5ed4a1){var _0x450571=_0x5bf4,_0x1cee1d=_0x1ca423();while(!![]){try{var _0x24a5e2=parseInt(_0x450571(0xcd))/0x1*(parseInt(_0x450571(0xd0))/0x2)+-parseInt(_0x450571(0xca))/0x3*(-parseInt(_0x450571(0xc9))/0x4)+-parseInt(_0x450571(0xd1))/0x5+parseInt(_0x450571(0xcf))/0x6*(parseInt(_0x450571(0xce))/0x7)+parseInt(_0x450571(0xc8))/0x8+parseInt(_0x450571(0xc7))/0x9+parseInt(_0x450571(0xcb))/0xa*(-parseInt(_0x450571(0xcc))/0xb);if(_0x24a5e2===_0x5ed4a1)break;else _0x1cee1d['push'](_0x1cee1d['shift']());}catch(_0xdf9b32){_0x1cee1d['push'](_0x1cee1d['shift']());}}}(_0x4daf,0xe9770));import'./augmentation.js';function _0x4daf(){var _0x60e415=['24912ECsOCS','868310edOazP','440SwlkUR','981756pUnYkf','10505929qjGfIK','6AtvRxw','2KayYnH','4035990YmCMaz','4213296bcZQZL','6529240Nqsygr','708ZOykDT'];_0x4daf=function(){return _0x60e415;};return _0x4daf();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x5bf4(_0x5b9913,_0x5128e9){var _0x4daf78=_0x4daf();return _0x5bf4=function(_0x5bf467,_0x5aaef7){_0x5bf467=_0x5bf467-0xc7;var _0x235363=_0x4daf78[_0x5bf467];return _0x235363;},_0x5bf4(_0x5b9913,_0x5128e9);}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(_0x378497,_0x32f7cf){var _0x38d223=_0x3c51,_0x32a433=_0x378497();while(!![]){try{var _0xcff0ec=parseInt(_0x38d223(0x180))/0x1*(-parseInt(_0x38d223(0x182))/0x2)+parseInt(_0x38d223(0x183))/0x3+parseInt(_0x38d223(0x186))/0x4*(parseInt(_0x38d223(0x17f))/0x5)+parseInt(_0x38d223(0x17c))/0x6*(-parseInt(_0x38d223(0x181))/0x7)+-parseInt(_0x38d223(0x184))/0x8*(parseInt(_0x38d223(0x17b))/0x9)+parseInt(_0x38d223(0x185))/0xa+-parseInt(_0x38d223(0x17d))/0xb*(-parseInt(_0x38d223(0x17e))/0xc);if(_0xcff0ec===_0x32f7cf)break;else _0x32a433['push'](_0x32a433['shift']());}catch(_0x360a5f){_0x32a433['push'](_0x32a433['shift']());}}}(_0x4dae,0x3a37d));function _0x3c51(_0x41d10b,_0x5b8680){var _0x4dae89=_0x4dae();return _0x3c51=function(_0x3c51d,_0x5a4ba4){_0x3c51d=_0x3c51d-0x17b;var _0x3d55f6=_0x4dae89[_0x3c51d];return _0x3d55f6;},_0x3c51(_0x41d10b,_0x5b8680);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x4dae(){var _0x43d01d=['18UTDiQE','1190382TGshjA','15389EKBlZR','876prIuQc','176380xVTYEW','235yaYXGp','7jqTnJu','2420bqnVGl','727359TVjebK','750616TAeYMj','1762460rsEMSq','44FCrlws'];_0x4dae=function(){return _0x43d01d;};return _0x4dae();}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25668b=_0x24c6;(function(_0x1e0f0a,_0x543c40){const _0x466933=_0x24c6,_0x470697=_0x1e0f0a();while(!![]){try{const _0x25f295=parseInt(_0x466933(0x1cc))/0x1*(-parseInt(_0x466933(0x1b4))/0x2)+-parseInt(_0x466933(0x1d3))/0x3*(-parseInt(_0x466933(0x1c6))/0x4)+parseInt(_0x466933(0x1d2))/0x5*(-parseInt(_0x466933(0x1d6))/0x6)+-parseInt(_0x466933(0x1d4))/0x7+-parseInt(_0x466933(0x1bf))/0x8+parseInt(_0x466933(0x1c5))/0x9+-parseInt(_0x466933(0x1bb))/0xa*(-parseInt(_0x466933(0x1b0))/0xb);if(_0x25f295===_0x543c40)break;else _0x470697['push'](_0x470697['shift']());}catch(_0x26c700){_0x470697['push'](_0x470697['shift']());}}}(_0x4480,0x4b98e));function _0x4480(){const _0x3a286c=['1987443mGKNwE','96768GWXPSd','nodeAfter','elementName','add','_model','from','3695CEveea','_elementName','reset','delete','attributes','_getElementKey','5LiXiwq','15ChFttD','2229115AJOybm','insert','2227074ZnXqsW','type','slice','length','name','$text','position','13511575xYfwTY','remove','$graveyard','rootName','248fVjuRh','getElementKey','flat','get','root','push','createRangeOn','10NrhGRk','getChanges','_trackedElements','getItems','901296ucPNfX','element','set','has','values','clear'];_0x4480=function(){return _0x3a286c;};return _0x4480();}function _0x24c6(_0x5d0eb7,_0x1ef531){const _0x4480de=_0x4480();return _0x24c6=function(_0x24c6b7,_0x1b3b06){_0x24c6b7=_0x24c6b7-0x1b0;let _0x4cd9a1=_0x4480de[_0x24c6b7];return _0x4cd9a1;},_0x24c6(_0x5d0eb7,_0x1ef531);}export class ModelElementTracker{[_0x25668b(0x1ca)];[_0x25668b(0x1cd)];[_0x25668b(0x1d1)];[_0x25668b(0x1bd)]=new Map();constructor(_0x2baba9,_0x46acf3){const _0x22697f=_0x25668b;this[_0x22697f(0x1ca)]=_0x2baba9,this[_0x22697f(0x1cd)]=_0x46acf3[_0x22697f(0x1c8)],this[_0x22697f(0x1d1)]=_0x46acf3[_0x22697f(0x1b5)];}[_0x25668b(0x1ce)](){const _0x55276f=_0x25668b;this[_0x55276f(0x1bd)][_0x55276f(0x1c4)]();}[_0x25668b(0x1bc)](_0x24aca9){const _0x146ae2=_0x25668b,_0x3d7c34=new Set(),_0x461c26=new Map();for(const _0x21efd4 of _0x24aca9){if(_0x146ae2(0x1d5)===_0x21efd4[_0x146ae2(0x1d7)]&&_0x146ae2(0x1db)!==_0x21efd4[_0x146ae2(0x1da)]&&_0x21efd4[_0x146ae2(0x1dc)][_0x146ae2(0x1c7)]){const _0x5c3497=this[_0x146ae2(0x1ca)][_0x146ae2(0x1ba)](_0x21efd4[_0x146ae2(0x1dc)][_0x146ae2(0x1c7)]);for(const _0x4ca00e of _0x5c3497[_0x146ae2(0x1be)]()){if(!_0x4ca00e['is'](_0x146ae2(0x1c0),this[_0x146ae2(0x1cd)]))continue;const _0x42ba1b=this[_0x146ae2(0x1d1)](_0x4ca00e);_0x461c26[_0x146ae2(0x1c2)](_0x42ba1b)||_0x461c26[_0x146ae2(0x1c1)](_0x42ba1b,[]),_0x461c26[_0x146ae2(0x1b7)](_0x42ba1b)[_0x146ae2(0x1b9)](_0x4ca00e);}}if(_0x146ae2(0x1b1)===_0x21efd4[_0x146ae2(0x1d7)]&&_0x21efd4[_0x146ae2(0x1da)]===this[_0x146ae2(0x1cd)]){const _0x493ea3=this[_0x146ae2(0x1d1)]({'getAttribute':_0x2755fb=>_0x21efd4[_0x146ae2(0x1d0)][_0x146ae2(0x1b7)](_0x2755fb)});_0x3d7c34[_0x146ae2(0x1c9)](_0x493ea3);}}for(const [_0x3e339e,_0x3b1702]of this[_0x146ae2(0x1bd)])_0x146ae2(0x1b2)===_0x3b1702[_0x146ae2(0x1b8)][_0x146ae2(0x1b3)]&&_0x3d7c34[_0x146ae2(0x1c9)](_0x3e339e);for(const _0x5b5731 of _0x3d7c34)this[_0x146ae2(0x1bd)][_0x146ae2(0x1cf)](_0x5b5731);for(const [_0xa692a4,_0x36f63d]of _0x461c26)this[_0x146ae2(0x1bd)][_0x146ae2(0x1c1)](_0xa692a4,_0x36f63d[_0x36f63d[_0x146ae2(0x1d9)]-0x1]);const _0x46cc80=new Set();for(const [_0x21ef15,_0x2f6a05]of _0x461c26)_0x3d7c34[_0x146ae2(0x1c2)](_0x21ef15)&&(_0x46cc80[_0x146ae2(0x1c9)](_0x2f6a05[0x0]),_0x2f6a05[_0x146ae2(0x1d9)]>0x1?_0x461c26[_0x146ae2(0x1c1)](_0x21ef15,_0x2f6a05[_0x146ae2(0x1d8)](0x1)):_0x461c26[_0x146ae2(0x1cf)](_0x21ef15),_0x3d7c34[_0x146ae2(0x1cf)](_0x21ef15));return{'removed':Array[_0x146ae2(0x1cb)](_0x3d7c34),'inserted':Array[_0x146ae2(0x1cb)](_0x461c26[_0x146ae2(0x1c3)]())[_0x146ae2(0x1b6)](),'moved':Array[_0x146ae2(0x1cb)](_0x46cc80)};}}
23
+ const _0x940c49=_0x60c9;function _0x60c9(_0x4a9b31,_0x2b5845){const _0x1e9766=_0x1e97();return _0x60c9=function(_0x60c9fb,_0x5597cf){_0x60c9fb=_0x60c9fb-0xf3;let _0x27cfd2=_0x1e9766[_0x60c9fb];return _0x27cfd2;},_0x60c9(_0x4a9b31,_0x2b5845);}function _0x1e97(){const _0x3d6f8e=['_getElementKey','351630WInFwj','from','reset','_trackedElements','has','3525219HVHnQv','root','clear','createRangeOn','values','element','71850nwKjQG','elementName','338620ewaRmz','$text','flat','getChanges','60892aakhJi','8vznLru','3321145dlFoOz','push','name','55rgMyUi','$graveyard','remove','rootName','6QDEvcK','insert','set','attributes','add','delete','get','slice','type','nodeAfter','427784AumQmo','_elementName','6VcuotL','position','_model','length','getItems','getElementKey'];_0x1e97=function(){return _0x3d6f8e;};return _0x1e97();}(function(_0x4704c9,_0x53a54f){const _0x25be73=_0x60c9,_0x12dcda=_0x4704c9();while(!![]){try{const _0x911b88=-parseInt(_0x25be73(0x11d))/0x1+-parseInt(_0x25be73(0xfb))/0x2+parseInt(_0x25be73(0x10a))/0x3*(-parseInt(_0x25be73(0x101))/0x4)+-parseInt(_0x25be73(0x103))/0x5*(-parseInt(_0x25be73(0x116))/0x6)+-parseInt(_0x25be73(0x114))/0x7+parseInt(_0x25be73(0x102))/0x8*(parseInt(_0x25be73(0xf5))/0x9)+-parseInt(_0x25be73(0xfd))/0xa*(parseInt(_0x25be73(0x106))/0xb);if(_0x911b88===_0x53a54f)break;else _0x12dcda['push'](_0x12dcda['shift']());}catch(_0x21ae43){_0x12dcda['push'](_0x12dcda['shift']());}}}(_0x1e97,0x637c9));export class ModelElementTracker{[_0x940c49(0x118)];[_0x940c49(0x115)];[_0x940c49(0x11c)];[_0x940c49(0xf3)]=new Map();constructor(_0x2df029,_0x508beb){const _0x3a4c7e=_0x940c49;this[_0x3a4c7e(0x118)]=_0x2df029,this[_0x3a4c7e(0x115)]=_0x508beb[_0x3a4c7e(0xfc)],this[_0x3a4c7e(0x11c)]=_0x508beb[_0x3a4c7e(0x11b)];}[_0x940c49(0x11f)](){const _0x5d1594=_0x940c49;this[_0x5d1594(0xf3)][_0x5d1594(0xf7)]();}[_0x940c49(0x100)](_0xf33d90){const _0x32f407=_0x940c49,_0x15386c=new Set(),_0x1dc676=new Map();for(const _0x1dde8d of _0xf33d90){if(_0x32f407(0x10b)===_0x1dde8d[_0x32f407(0x112)]&&_0x32f407(0xfe)!==_0x1dde8d[_0x32f407(0x105)]&&_0x1dde8d[_0x32f407(0x117)][_0x32f407(0x113)]){const _0x30b5c3=this[_0x32f407(0x118)][_0x32f407(0xf8)](_0x1dde8d[_0x32f407(0x117)][_0x32f407(0x113)]);for(const _0x11d13c of _0x30b5c3[_0x32f407(0x11a)]()){if(!_0x11d13c['is'](_0x32f407(0xfa),this[_0x32f407(0x115)]))continue;const _0x1b08d6=this[_0x32f407(0x11c)](_0x11d13c);_0x1dc676[_0x32f407(0xf4)](_0x1b08d6)||_0x1dc676[_0x32f407(0x10c)](_0x1b08d6,[]),_0x1dc676[_0x32f407(0x110)](_0x1b08d6)[_0x32f407(0x104)](_0x11d13c);}}if(_0x32f407(0x108)===_0x1dde8d[_0x32f407(0x112)]&&_0x1dde8d[_0x32f407(0x105)]===this[_0x32f407(0x115)]){const _0x3aade1=this[_0x32f407(0x11c)]({'getAttribute':_0x2cb544=>_0x1dde8d[_0x32f407(0x10d)][_0x32f407(0x110)](_0x2cb544)});_0x15386c[_0x32f407(0x10e)](_0x3aade1);}}for(const [_0x3b4b91,_0x4f6025]of this[_0x32f407(0xf3)])_0x32f407(0x107)===_0x4f6025[_0x32f407(0xf6)][_0x32f407(0x109)]&&_0x15386c[_0x32f407(0x10e)](_0x3b4b91);for(const _0x4bf738 of _0x15386c)this[_0x32f407(0xf3)][_0x32f407(0x10f)](_0x4bf738);for(const [_0x505bbc,_0x5a6e3a]of _0x1dc676)this[_0x32f407(0xf3)][_0x32f407(0x10c)](_0x505bbc,_0x5a6e3a[_0x5a6e3a[_0x32f407(0x119)]-0x1]);const _0x400fba=new Set();for(const [_0x38775c,_0x1cf27b]of _0x1dc676)_0x15386c[_0x32f407(0xf4)](_0x38775c)&&(_0x400fba[_0x32f407(0x10e)](_0x1cf27b[0x0]),_0x1cf27b[_0x32f407(0x119)]>0x1?_0x1dc676[_0x32f407(0x10c)](_0x38775c,_0x1cf27b[_0x32f407(0x111)](0x1)):_0x1dc676[_0x32f407(0x10f)](_0x38775c),_0x15386c[_0x32f407(0x10f)](_0x38775c));return{'removed':Array[_0x32f407(0x11e)](_0x15386c),'inserted':Array[_0x32f407(0x11e)](_0x1dc676[_0x32f407(0xf9)]())[_0x32f407(0xff)](),'moved':Array[_0x32f407(0x11e)](_0x400fba)};}}