@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251104.0 → 0.0.0-nightly-20251105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xfa9777}from'ckeditor5/src/core.js';import{isWidget as _0x5e6b60,toWidget as _0xaea5c9,toWidgetEditable as _0x2c5e10}from'ckeditor5/src/widget.js';import{uid as _0x42e057}from'ckeditor5/src/utils.js';import{PointerObserver as _0xe4f03d,ClickObserver as _0x52e289}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1ef26f}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5ad3c0}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xfa9777{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1ef26f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33c556}=this;_0x33c556['config']['define']('footnotes.multiBlock',!0x0),_0x33c556['commands']['add']('insertFootnote',new _0x5ad3c0(_0x33c556)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2d675b){const _0x1ee73d=_0x226b48([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]),_0x22a2f2=0x47a28506,_0x4e74ce=0x47a5fd26^_0x22a2f2,_0x51967f=window[_0x226b48([0x44,0x61,0x74,0x65])][_0x226b48([0x6e,0x6f,0x77])](),_0x4bf303=_0x2d675b[_0x226b48([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57ef1d=new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29f894=>{_0x4bf303[_0x226b48([0x6f,0x6e,0x63,0x65])](_0x226b48([0x72,0x65,0x61,0x64,0x79]),_0x29f894);}),_0x14c9fc={[_0x226b48([0x6b,0x74,0x79])]:_0x226b48([0x45,0x43]),[_0x226b48([0x75,0x73,0x65])]:_0x226b48([0x73,0x69,0x67]),[_0x226b48([0x63,0x72,0x76])]:_0x226b48([0x50,0x2d,0x32,0x35,0x36]),[_0x226b48([0x78])]:_0x226b48([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]),[_0x226b48([0x79])]:_0x226b48([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]),[_0x226b48([0x61,0x6c,0x67])]:_0x226b48([0x45,0x53,0x32,0x35,0x36])},_0x4f10c0=_0x4bf303[_0x226b48([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x226b48([0x67,0x65,0x74])](_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cebb0(){let _0x4a3602,_0x313167=null,_0x29ed8c=null;try{if(_0x4f10c0==_0x226b48([0x47,0x50,0x4c]))return _0x226b48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a3602=_0x1633eb(),!_0x4a3602)return _0x226b48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a3602[_0x226b48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29ed8c=_0x59bb6d(_0x4a3602[_0x226b48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a3602[_0x226b48([0x6a,0x74,0x69])])),await _0x41470e()?_0x40fd80()?_0x1edc42()?_0x226b48([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30f61a()?(_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226b48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x313167=_0x573876(_0x226b48([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226b48([0x74,0x72,0x69,0x61,0x6c])&&(_0x313167=_0x573876(_0x226b48([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dd7c8()):_0x226b48([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x226b48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x226b48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x226b48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1edc42(){const _0x1b4855=[_0x226b48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x226b48([0x74,0x72,0x69,0x61,0x6c])][_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51967f/0x3e8:0xe10*_0x4e74ce;return _0x4a3602[_0x226b48([0x65,0x78,0x70])]<_0x1b4855;}function _0x40fd80(){const _0x1bbdf5=_0x4a3602[_0x226b48([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1bbdf5&&(!!_0x1bbdf5[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226b48([0x2a]))||!!_0x1bbdf5[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226b48([0x46,0x4f,0x4f])));}function _0x30f61a(){const _0x483017=_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x483017||0x0==_0x483017[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39708d}=new URL(window[_0x226b48([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x483017[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39708d))return!0x0;const _0x29a73c=_0x39708d[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e]));return _0x483017[_0x226b48([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ddac2=>_0x5ddac2[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226b48([0x2a])))[_0x226b48([0x6d,0x61,0x70])](_0x3af1b5=>_0x3af1b5[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e])))[_0x226b48([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1510ec=>_0x1510ec[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29a73c[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226b48([0x6d,0x61,0x70])](_0x3c640f=>Array(_0x29a73c[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c640f[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226b48([0x66,0x69,0x6c,0x6c])](_0x3c640f[0x0]===_0x226b48([0x2a])?_0x226b48([0x2a]):'')[_0x226b48([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c640f))[_0x226b48([0x73,0x6f,0x6d,0x65])](_0x3cd926=>_0x29a73c[_0x226b48([0x65,0x76,0x65,0x72,0x79])]((_0x370433,_0x4db73e)=>_0x3cd926[_0x4db73e]===_0x370433||_0x3cd926[_0x4db73e]===_0x226b48([0x2a])));}function _0x1dd7c8(){return _0x313167&&_0x29ed8c?new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31c632,_0x8222ed)=>{_0x313167[_0x226b48([0x74,0x68,0x65,0x6e])](_0x31c632,_0x8222ed),_0x29ed8c[_0x226b48([0x74,0x68,0x65,0x6e])](_0x2c6661=>{_0x2c6661!=_0x226b48([0x56,0x61,0x6c,0x69,0x64])&&_0x31c632(_0x2c6661);},_0x8222ed);}):_0x313167||_0x29ed8c||_0x226b48([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59bb6d(_0x202464,_0x28072d){return new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366781=>{if(_0x1683ed())return _0x366781(_0x226b48([0x56,0x61,0x6c,0x69,0x64]));_0x1b5411(),_0x4bf303[_0x226b48([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x226b48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x639300=!0x1;const _0x230222=_0x42e057();function _0x2986fd(_0x1def94){return!!_0x1def94&&(typeof _0x1def94===_0x226b48([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1def94===_0x226b48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1def94[_0x226b48([0x74,0x68,0x65,0x6e])]===_0x226b48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1def94[_0x226b48([0x63,0x61,0x74,0x63,0x68])]===_0x226b48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18db29(_0x55df7e){_0x14b0c8(_0x55df7e)[_0x226b48([0x74,0x68,0x65,0x6e])](_0x4f0489=>{if(!_0x4f0489||_0x4f0489[_0x226b48([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x226b48([0x6f,0x6b]))return _0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e650e(_0x36a085(_0x230222+_0x28072d))!=_0x4f0489[_0x226b48([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x226b48([0x56,0x61,0x6c,0x69,0x64]);})[_0x226b48([0x74,0x68,0x65,0x6e])](_0x21558=>(_0x3fe5a6(),_0x21558),()=>{const _0x2aa4fc=_0x127aa1();return null==_0x2aa4fc?(_0x3fe5a6(),_0x226b48([0x56,0x61,0x6c,0x69,0x64])):_0x226b48(_0x51967f-_0x2aa4fc>(0x63ae0106^_0x22a2f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x226b48([0x74,0x68,0x65,0x6e])](_0x366781)[_0x226b48([0x63,0x61,0x74,0x63,0x68])](()=>{_0x366781(_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e3ff1=0x47946b86^_0x22a2f2;function _0x3fe5a6(){const _0x21721e=_0x226b48([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e650e(_0x36a085(_0x202464)),_0x3bee1a=_0x1f8314(_0x4e650e(window[_0x226b48([0x4d,0x61,0x74,0x68])][_0x226b48([0x63,0x65,0x69,0x6c])](_0x51967f/_0x2e3ff1)));window[_0x226b48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226b48([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21721e,_0x3bee1a);}function _0x127aa1(){const _0x530d2a=_0x226b48([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e650e(_0x36a085(_0x202464)),_0x558e92=window[_0x226b48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226b48([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x530d2a);return _0x558e92?window[_0x226b48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f8314(_0x558e92),0x10)*_0x2e3ff1:null;}function _0x14b0c8(_0x5bf854){return new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ae598,_0x124361)=>{_0x5bf854[_0x226b48([0x74,0x68,0x65,0x6e])](_0x4ae598,_0x124361),window[_0x226b48([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x124361,0x47a351c6^_0x22a2f2);});}}_0x4bf303[_0x226b48([0x6f,0x6e])](_0x226b48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20618c,_0x2fed7e)=>{if(_0x2fed7e[0x0]!=_0x202464)return _0x366781(_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2fed7e[0x1]={..._0x2fed7e[0x1],[_0x226b48([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x230222};},{[_0x226b48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226b48([0x68,0x69,0x67,0x68])}),_0x4bf303[_0x226b48([0x6f,0x6e])](_0x226b48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38d623=>{_0x2986fd(_0x38d623[_0x226b48([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x639300=!0x0,_0x18db29(_0x38d623[_0x226b48([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x226b48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226b48([0x6c,0x6f,0x77])}),_0x57ef1d[_0x226b48([0x74,0x68,0x65,0x6e])](()=>{_0x639300||_0x366781(_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1683ed(){return _0x4bf303[_0x226b48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226b48([0x76,0x69,0x65,0x77])][_0x226b48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x226b48([0x61,0x75,0x74,0x6f]);}function _0x1b5411(){_0x4bf303[_0x226b48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226b48([0x76,0x69,0x65,0x77])][_0x226b48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x226b48([0x61,0x75,0x74,0x6f]);}}function _0x573876(_0x5f33c2){const _0x311842=[new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba869f=>setTimeout(_0xba869f,0x47abbbca^_0x22a2f2)),_0x57ef1d[_0x226b48([0x74,0x68,0x65,0x6e])](()=>new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x173f5e=>{let _0x47acf2=0x0;_0x4bf303[_0x226b48([0x6d,0x6f,0x64,0x65,0x6c])][_0x226b48([0x6f,0x6e])](_0x226b48([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x585e9a,_0x3d3c34)=>{_0x3d3c34[0x0][_0x226b48([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47acf2++,_0x47acf2==(0x47a284fe^_0x22a2f2)&&(_0x173f5e(),_0x585e9a[_0x226b48([0x6f,0x66,0x66])]());});}))];return window[_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x226b48([0x72,0x61,0x63,0x65])](_0x311842)[_0x226b48([0x74,0x68,0x65,0x6e])](()=>_0x5f33c2);}async function _0x585bcd(){await _0x57ef1d,_0x4bf303[_0x226b48([0x6d,0x6f,0x64,0x65,0x6c])][_0x226b48([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52b556,_0x4bf303[_0x226b48([0x6d,0x6f,0x64,0x65,0x6c])][_0x226b48([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52b556,_0x4bf303[_0x226b48([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x226b48([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23be11(_0x4a125b){const _0x588f95=_0x26d0a2();_0x4bf303[_0x588f95]=_0x226b48([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a125b,_0x4a125b!=_0x226b48([0x56,0x61,0x6c,0x69,0x64])&&_0x585bcd();}function _0x26d0a2(){const _0x25c72a=window[_0x226b48([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x226b48([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x226b48([0x6e,0x6f,0x77])]())[_0x226b48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x226b48([0x2e]),'');let _0x21a4e8=_0x226b48([0x75]);for(let _0x2e6f3e=0x0;_0x2e6f3e<_0x25c72a[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e6f3e+=0x2){let _0x172507=window[_0x226b48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25c72a[_0x226b48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e6f3e,_0x2e6f3e+0x2));_0x172507>=_0x1ee73d[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x172507-=_0x1ee73d[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21a4e8+=_0x1ee73d[_0x172507];}return _0x21a4e8;}function _0x1633eb(){const _0x5b3160=_0x4f10c0[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e]));if(0x3!=_0x5b3160[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c1d0c(_0x5b3160[0x1]);function _0x2c1d0c(_0x1ad88d){const _0x1bece0=_0x5f5d93(_0x1ad88d);return _0x1bece0&&_0x1f8f9a()?_0x1bece0:null;function _0x1f8f9a(){const _0x25f585=_0x1bece0[_0x226b48([0x6a,0x74,0x69])],_0x587cdd=window[_0x226b48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25f585[_0x226b48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25f585[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ad11c={..._0x1bece0,[_0x226b48([0x6a,0x74,0x69])]:_0x25f585[_0x226b48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25f585[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ad11c[_0x226b48([0x76,0x63])],_0x36a085(_0x4ad11c)==_0x587cdd;}}}async function _0x41470e(){let _0x39767b=!0x0;try{const _0x3e67d3=_0x4f10c0[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e])),[_0x942ca,_0x13f477,_0x582692]=_0x3e67d3;return _0x479e4a(_0x942ca),await _0x2d44fa(_0x942ca,_0x13f477,_0x582692),_0x39767b;}catch{return!0x1;}function _0x479e4a(_0x167d9f){const _0x112d28=_0x5f5d93(_0x167d9f);_0x112d28&&_0x112d28[_0x226b48([0x61,0x6c,0x67])]==_0x226b48([0x45,0x53,0x32,0x35,0x36])||(_0x39767b=!0x1);}async function _0x2d44fa(_0x3fd342,_0x2fe272,_0x14cc15){const _0x4b1f0f=window[_0x226b48([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x226b48([0x66,0x72,0x6f,0x6d])](_0x3e357f(_0x14cc15),_0x610a0e=>_0x610a0e[_0x226b48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16feeb=new window[(_0x226b48([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x226b48([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fd342+_0x226b48([0x2e])+_0x2fe272),_0x52af49=window[_0x226b48([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x226b48([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52af49)return;const _0x20fd38=await _0x52af49[_0x226b48([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x226b48([0x6a,0x77,0x6b]),_0x14c9fc,{[_0x226b48([0x6e,0x61,0x6d,0x65])]:_0x226b48([0x45,0x43,0x44,0x53,0x41]),[_0x226b48([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x226b48([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x226b48([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52af49[_0x226b48([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x226b48([0x6e,0x61,0x6d,0x65])]:_0x226b48([0x45,0x43,0x44,0x53,0x41]),[_0x226b48([0x68,0x61,0x73,0x68])]:{[_0x226b48([0x6e,0x61,0x6d,0x65])]:_0x226b48([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20fd38,_0x4b1f0f,_0x16feeb)||(_0x39767b=!0x1);}}function _0x5f5d93(_0x174ce8){return _0x174ce8[_0x226b48([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x226b48([0x65,0x79]))?JSON[_0x226b48([0x70,0x61,0x72,0x73,0x65])](_0x3e357f(_0x174ce8)):null;}function _0x3e357f(_0x3b66e6){return window[_0x226b48([0x61,0x74,0x6f,0x62])](_0x3b66e6[_0x226b48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x226b48([0x2b]))[_0x226b48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x226b48([0x2f])));}function _0x36a085(_0x380769){let _0x588486=0x1505;function _0x192d96(_0x51910d){for(let _0x56acbd=0x0;_0x56acbd<_0x51910d[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56acbd++){const _0x285f3e=_0x51910d[_0x226b48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56acbd);_0x588486=(_0x588486<<0x5)+_0x588486+_0x285f3e,_0x588486&=_0x588486;}}function _0x353206(_0x47e8ec){Array[_0x226b48([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47e8ec)?_0x47e8ec[_0x226b48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x353206):_0x47e8ec&&typeof _0x47e8ec==_0x226b48([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x226b48([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47e8ec)[_0x226b48([0x73,0x6f,0x72,0x74])]()[_0x226b48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ee7f9,_0x44b118])=>{_0x192d96(_0x5ee7f9),_0x353206(_0x44b118);}):_0x192d96(window[_0x226b48([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47e8ec));}return _0x353206(_0x380769),_0x588486>>>0x0;}function _0x4e650e(_0x15f42c){return _0x15f42c[_0x226b48([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x226b48([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x226b48([0x30]));}function _0x1f8314(_0x4a5c5d){return _0x4a5c5d[_0x226b48([0x73,0x70,0x6c,0x69,0x74])]('')[_0x226b48([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x226b48([0x6a,0x6f,0x69,0x6e])]('');}function _0x52b556(){}function _0x226b48(_0x517f5e){return _0x517f5e['map'](_0x3babd6=>String['fromCharCode'](_0x3babd6))['join']('');}_0x23be11(await _0x1cebb0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x33437c){const {plugins:_0xfcac70,editing:_0x29c0c5,model:_0x5c8b77}=this['editor'],_0x502d82=_0xfcac70['get'](_0x1ef26f)['getFootnote'](_0x33437c);return!!_0x502d82&&(_0x5c8b77['change'](_0x2afa62=>{_0x2afa62['setSelection'](_0x2afa62['createPositionAt'](_0x502d82['definition'],'end'));}),_0x29c0c5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x599a3b){const {plugins:_0x25d561,editing:_0x2f2432,model:_0x56e361}=this['editor'],_0x1b3032=_0x25d561['get'](_0x1ef26f)['getFootnote'](_0x599a3b);return!!_0x1b3032&&(_0x56e361['change'](_0x5a7506=>{_0x5a7506['setSelection'](_0x1b3032['reference'],'on');}),_0x2f2432['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1607af}=this['editor']['model'],_0x269cc6=this['editor']['config']['get']('footnotes.multiBlock');_0x1607af['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1607af['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1607af['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x269cc6?_0x1607af['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1607af['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1607af['addChildCheck'](_0x3e9ace=>{for(const _0x5ace40 of _0x3e9ace)if('footnoteDefinition'===_0x5ace40['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2929ce}=this,{conversion:_0x34706e,editing:_0x5cec5d}=_0x2929ce,{t:t}=_0x2929ce['locale'];_0x34706e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x21d475,{writer:_0x37bc6d,consumable:_0x3fb77d})=>{const _0x58e614=_0x21d475['getChild'](0x0);if(!_0x58e614||!_0x58e614['is']('element','a'))return null;const _0x541c75=_0x58e614['getAttribute']('href')||'';if(!_0x541c75['startsWith']('#'))return null;const _0x570aac=_0x541c75['replace'](/^#/,'');if(!_0x570aac)return null;_0x3fb77d['consume'](_0x58e614,{'name':!0x0,'attributes':['href']});for(const {item:_0x1f3f3f}of _0x5cec5d['view']['createRangeIn'](_0x58e614))_0x1f3f3f['is']('$textProxy')?_0x3fb77d['consume'](_0x1f3f3f['textNode'],{'name':!0x0}):_0x1f3f3f['is']('element')&&_0x3fb77d['consume'](_0x1f3f3f,{'name':!0x0});return _0x37bc6d['createElement']('footnoteRef',{'footnoteId':_0x570aac});}}),_0x34706e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1213b2,{writer:_0x1ba3ba})=>D(_0x1213b2,_0x1ba3ba)}),_0x34706e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9af69b,{writer:_0xf0348f})=>{const _0x23f52e=_0x9af69b['getAttribute']('footnoteCounter');return _0xaea5c9(D(_0x9af69b,_0xf0348f),_0xf0348f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x23f52e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x382467}=this,{t:t}=_0x382467['locale'],{conversion:_0x30330f}=_0x382467;_0x30330f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x30330f['for']('upcast')['add'](_0x51f8e8=>{_0x51f8e8['on']('element:ol',(_0x27ef88,_0x1db206,_0x160073)=>{const _0x555c55=_0x1db206['viewItem'];if(!_0x555c55['hasClass']('footnotes-list')||!_0x1db206['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x160073['consumable']['consume'](_0x555c55,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x137a08,modelCursor:_0x1bcf81}=_0x160073['convertChildren'](_0x1db206['viewItem'],_0x1db206['modelCursor']);_0x1db206['modelRange']=_0x137a08,_0x1db206['modelCursor']=_0x1bcf81;}),_0x51f8e8['on']('element:hr',(_0x437795,_0x3ffec1,_0x27db0c)=>{const _0x19095c=_0x3ffec1['viewItem'];_0x19095c['hasClass']('footnotes-divider')&&_0x3ffec1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x27db0c['consumable']['consume'](_0x19095c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x30330f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xdcdd19,{writer:_0x2d825f})=>g(_0x2d825f)}),_0x30330f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x568958,{writer:_0x587b11})=>{const _0x161c24=g(_0x587b11,{'data-footnotes-list-label':t('Footnotes')}),_0x44ac6c=_0xaea5c9(_0x161c24,_0x587b11,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x587b11['setCustomProperty']('footnotesDefinitions',!0x0,_0x44ac6c),_0x44ac6c;}});}['_defineDefinitionConverters'](){const {editor:_0x597460}=this,{conversion:_0xc7a3b3,locale:_0x50e888}=_0x597460,_0x3379bb=_0x597460['config']['get']('footnotes.multiBlock');_0xc7a3b3['for']('upcast')['add'](_0x34c102=>{_0x34c102['on']('element:li',(_0x2a6e69,_0x3f9475,_0x3351a7)=>{const _0x3bd5af=_0x3f9475['viewItem'];if(!_0x3bd5af['hasClass']('footnote-definition')||!_0x3bd5af['getAttribute']('id'))return;const _0x4be28f=_0x3bd5af['parent'];if(!_0x4be28f['is']('element','ol')||!_0x4be28f['hasClass']('footnotes-list'))return;if(!_0x3351a7['consumable']['test'](_0x3bd5af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x30fb11=_0x3351a7['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3bd5af['getAttribute']('id')});if(!_0x3351a7['safeInsert'](_0x30fb11,_0x3f9475['modelCursor']))return;_0x3351a7['consumable']['consume'](_0x3bd5af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x57cce1=Array['from'](_0x3bd5af['getChildren']())['find'](_0x1ba101=>_0x1ba101['is']('element')&&_0x1ba101['hasClass']('footnote-content'));for(const _0x418a46 of _0x3bd5af['getChildren']())_0x418a46['is']('element')&&(_0x3351a7['consumable']['consume'](_0x418a46,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3351a7['consumable']['consume'](_0x418a46,{'name':!0x0,'classes':'footnote-content'}));if(_0x57cce1){if(_0x3379bb)_0x3351a7['convertChildren'](_0x57cce1,_0x30fb11);else{const _0x3db143=_0x3351a7['writer']['createElement']('footnoteInlineContent');_0x3351a7['writer']['insert'](_0x3db143,_0x30fb11),_0x3351a7['convertChildren'](_0x57cce1,_0x3db143);}}_0x3351a7['updateConversionResult'](_0x30fb11,_0x3f9475);});}),_0xc7a3b3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xeb470a,{writer:_0x2f7c22})=>v(_0xeb470a,_0x2f7c22,_0x50e888,{'dataPipeline':!0x0})}),_0xc7a3b3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x448761,{writer:_0x4d8969})=>v(_0x448761,_0x4d8969,_0x50e888)});}['_defineBogusParagraphConverters'](){const {editor:_0x9367b4}=this,{conversion:_0x12bf31}=_0x9367b4;_0x9367b4['config']['get']('footnotes.multiBlock')?(_0x12bf31['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x12bf31['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x9367b4['model']['document'],'change:data',()=>{!function(_0x38c0ce,_0x450602){const _0x1b5814=_0x38c0ce['document']['differ'],_0xbc8cc3=new Set();for(const _0x545710 of _0x1b5814['getChanges']()){const _0x158fb9='attribute'==_0x545710['type']?_0x545710['range']['start']['parent']:_0x545710['position']['parent'];_0x158fb9['is']('element','footnoteDefinition')&&_0xbc8cc3['add'](_0x158fb9);}for(const _0x22151e of _0xbc8cc3['values']()){const _0x2a1278=Array['from'](_0x22151e['getChildren']())['filter'](_0x493afe=>p(_0x493afe,_0x450602['mapper']));for(const _0x3e0299 of _0x2a1278)_0x450602['reconvertItem'](_0x3e0299);}}(_0x9367b4['model'],_0x9367b4['editing']);})):(_0x12bf31['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x12bf31['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x47ba2d,{writer:_0x55e49c})=>{const _0xfc5845=_0x55e49c['createContainerElement']('span');return _0x55e49c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xfc5845),_0xfc5845;}}));}['_defineKeyboardHandlers'](){const {editor:_0x43d3ed}=this,{editing:_0x330890,t:t}=_0x43d3ed,_0x152e92=_0x43d3ed['model']['document']['selection'];_0x43d3ed['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x43d3ed['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x330890['view']['document'],'enter',(_0x76290c,_0xd87ad5)=>{const _0x3effe6=function(_0x4f022b){const _0x367253=_0x4f022b['getSelectedElement']();if(_0x367253?.['is']('element','footnoteRef'))return _0x367253;return null;}(_0x152e92);if(_0x3effe6){const _0xd6c33b=_0x3effe6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xd6c33b),_0xd87ad5['preventDefault'](),_0x76290c['stop']();}},{'context':_0x5e6b60});}['_defineClickHandlers'](){const {editor:_0x4009e7}=this,{editing:_0x2c097a}=_0x4009e7;_0x4009e7['editing']['view']['addObserver'](_0xe4f03d),_0x4009e7['editing']['view']['addObserver'](_0x52e289);let _0x3ee11c=!0x1;this['listenTo'](_0x2c097a['view']['document'],'pointerdown',(_0x48a56a,_0x226298)=>{const {target:_0x26e343}=_0x226298,_0x4cc3e2=_0x2c097a['view']['document']['selection'];_0x3ee11c=!!(_0x26e343['is']('element','a')&&_0x26e343['parent']?.['is']('element','sup')&&_0x26e343['parent']['hasClass']('footnote'))&&_0x4cc3e2['getSelectedElement']()===_0x26e343['parent'];},{'priority':'high'}),this['listenTo'](_0x2c097a['view']['document'],'click',(_0x228513,_0x3151ab)=>{const {target:_0x1fbe71}=_0x3151ab;if(!_0x1fbe71['is']('element','a'))return;if(_0x1fbe71['parent']?.['is']('element','sup')&&_0x1fbe71['parent']['hasClass']('footnote')&&!_0x3ee11c)return void _0x3151ab['preventDefault']();let _0x2af00c=_0x1fbe71['getAttribute']('href');if(!_0x2af00c?.['startsWith']('#'))return;_0x2af00c=_0x2af00c['slice'](0x1);let _0x413e77=!0x1;(_0x2af00c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2af00c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2af00c))&&(_0x413e77=!0x0),_0x413e77&&(_0x3151ab['preventDefault'](),_0x228513['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x2bde54}={}){return(_0x1da994,{writer:_0x390315})=>{if(!h(_0x1da994))return null;if(!_0x2bde54)return _0x390315['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c645f=_0x390315['createContainerElement']('p');return _0x390315['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c645f),_0x4c645f;};}function h(_0x3131fa){const {parent:_0x22def2}=_0x3131fa;if(!_0x22def2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22def2['childCount'])return!0x1;for(const _0x51ac25 of _0x3131fa['getAttributeKeys']())if(!_0x51ac25['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x51ac25)return!0x1;return!0x0;}function p(_0x48fa59,_0x364a5e){if(!_0x48fa59['is']('element','paragraph'))return!0x1;const _0x4d153b=_0x364a5e['toViewElement'](_0x48fa59);return!!_0x4d153b&&h(_0x48fa59)!==_0x4d153b['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xac8dd2){return _0x5e6b60(_0xac8dd2)&&_0xac8dd2['is']('containerElement')&&!!_0xac8dd2['getCustomProperty']('footnotesDefinitions');}function g(_0x2481fa,_0x309b7c={}){const _0x1912c2=_0x2481fa['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x190b25=_0x2481fa['createContainerElement']('ol',{'class':'footnotes-list'},_0x2481fa['createSlot']());return _0x2481fa['createContainerElement']('div',{'class':'footnotes',..._0x309b7c},[_0x1912c2,_0x190b25]);}function D(_0x348f8e,_0x3ac7de){const _0x3baafc=_0x348f8e['getAttribute']('footnoteId'),_0xd616b9=_0x348f8e['getAttribute']('footnoteCounter'),_0x24f593=_0x3ac7de['createUIElement']('a',{'href':'#'+_0x3baafc},function(_0x12dc45){const _0x3cc7fb=this['toDomElement'](_0x12dc45);return _0x3cc7fb['textContent']=_0xd616b9,_0x3cc7fb;}),_0x4a70a8=_0x3ac7de['createContainerElement']('sup',{'id':'ref-'+_0x3baafc,'class':'footnote'},[_0x24f593]);return _0x4a70a8['getFillerOffset']=()=>null,_0x4a70a8;}function v(_0x151d62,_0x56729a,_0x26d4d7,{dataPipeline:_0x15a86f}={}){const {t:t}=_0x26d4d7,_0x4d7967=_0x151d62['getAttribute']('footnoteId'),_0x54b004=_0x56729a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4d7967},function(_0x48f42b){const _0x5accc4=this['toDomElement'](_0x48f42b);return _0x5accc4['innerText']='^',_0x5accc4;}),_0x37195b=_0x15a86f?_0x56729a['createContainerElement']('div',{'class':'footnote-content'}):_0x2c5e10(_0x56729a['createEditableElement']('div',{'class':'footnote-content'}),_0x56729a,{'label':t('Footnote\x20content.')});return _0x56729a['insert'](_0x56729a['createPositionAt'](_0x37195b,0x0),_0x56729a['createSlot']()),_0x56729a['createContainerElement']('li',{'class':'footnote-definition','id':_0x4d7967},[_0x54b004,_0x37195b]);}
|
|
23
|
+
import{Plugin as _0x150c4b}from'ckeditor5/src/core.js';import{isWidget as _0x36934c,toWidget as _0x1a7e18,toWidgetEditable as _0x237808}from'ckeditor5/src/widget.js';import{uid as _0x442019}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3d7413,ClickObserver as _0x3d6845}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x39a344}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1c3e95}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x150c4b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x39a344];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x312c76}=this;_0x312c76['config']['define']('footnotes.multiBlock',!0x0),_0x312c76['commands']['add']('insertFootnote',new _0x1c3e95(_0x312c76)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2a572b){const _0x44d2a5=_0x326c1e([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]),_0x4025dd=0x47a28506,_0x314122=0x47a5fd3e^_0x4025dd,_0x3a9ac1=window[_0x326c1e([0x44,0x61,0x74,0x65])][_0x326c1e([0x6e,0x6f,0x77])](),_0x14a871=_0x2a572b[_0x326c1e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37befc=new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158f73=>{_0x14a871[_0x326c1e([0x6f,0x6e,0x63,0x65])](_0x326c1e([0x72,0x65,0x61,0x64,0x79]),_0x158f73);}),_0x4aa1ba={[_0x326c1e([0x6b,0x74,0x79])]:_0x326c1e([0x45,0x43]),[_0x326c1e([0x75,0x73,0x65])]:_0x326c1e([0x73,0x69,0x67]),[_0x326c1e([0x63,0x72,0x76])]:_0x326c1e([0x50,0x2d,0x32,0x35,0x36]),[_0x326c1e([0x78])]:_0x326c1e([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]),[_0x326c1e([0x79])]:_0x326c1e([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]),[_0x326c1e([0x61,0x6c,0x67])]:_0x326c1e([0x45,0x53,0x32,0x35,0x36])},_0x1f6634=_0x14a871[_0x326c1e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x326c1e([0x67,0x65,0x74])](_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2019ab(){let _0x378a53,_0x58c1c2=null,_0x525eb5=null;try{if(_0x1f6634==_0x326c1e([0x47,0x50,0x4c]))return _0x326c1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x378a53=_0x20e82e(),!_0x378a53)return _0x326c1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x378a53[_0x326c1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x525eb5=_0x575881(_0x378a53[_0x326c1e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x378a53[_0x326c1e([0x6a,0x74,0x69])])),await _0x5b7a06()?_0x4df718()?_0x2522f9()?_0x326c1e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2141b2()?(_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326c1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x58c1c2=_0x3bb5a4(_0x326c1e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326c1e([0x74,0x72,0x69,0x61,0x6c])&&(_0x58c1c2=_0x3bb5a4(_0x326c1e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x45ac12()):_0x326c1e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x326c1e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x326c1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x326c1e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2522f9(){const _0x287ab6=[_0x326c1e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x326c1e([0x74,0x72,0x69,0x61,0x6c])][_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a9ac1/0x3e8:0xe10*_0x314122;return _0x378a53[_0x326c1e([0x65,0x78,0x70])]<_0x287ab6;}function _0x4df718(){const _0x2854f9=_0x378a53[_0x326c1e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2854f9&&(!!_0x2854f9[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c1e([0x2a]))||!!_0x2854f9[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c1e([0x46,0x4f,0x4f])));}function _0x2141b2(){const _0x4016eb=_0x378a53[_0x326c1e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4016eb||0x0==_0x4016eb[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc80227}=new URL(window[_0x326c1e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4016eb[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc80227))return!0x0;const _0x58012b=_0xc80227[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e]));return _0x4016eb[_0x326c1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a0205=>_0x3a0205[_0x326c1e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326c1e([0x2a])))[_0x326c1e([0x6d,0x61,0x70])](_0x386694=>_0x386694[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e])))[_0x326c1e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x562223=>_0x562223[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58012b[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326c1e([0x6d,0x61,0x70])](_0x4c1d21=>Array(_0x58012b[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4c1d21[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326c1e([0x66,0x69,0x6c,0x6c])](_0x4c1d21[0x0]===_0x326c1e([0x2a])?_0x326c1e([0x2a]):'')[_0x326c1e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4c1d21))[_0x326c1e([0x73,0x6f,0x6d,0x65])](_0x6b1b9b=>_0x58012b[_0x326c1e([0x65,0x76,0x65,0x72,0x79])]((_0x321f4d,_0x2ba9d6)=>_0x6b1b9b[_0x2ba9d6]===_0x321f4d||_0x6b1b9b[_0x2ba9d6]===_0x326c1e([0x2a])));}function _0x45ac12(){return _0x58c1c2&&_0x525eb5?new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d86c5,_0x1023a1)=>{_0x58c1c2[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x2d86c5,_0x1023a1),_0x525eb5[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x10d431=>{_0x10d431!=_0x326c1e([0x56,0x61,0x6c,0x69,0x64])&&_0x2d86c5(_0x10d431);},_0x1023a1);}):_0x58c1c2||_0x525eb5||_0x326c1e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x575881(_0x5abfc2,_0x211a69){return new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b81fc=>{if(_0x1cadec())return _0x3b81fc(_0x326c1e([0x56,0x61,0x6c,0x69,0x64]));_0x439ce0(),_0x14a871[_0x326c1e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x326c1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44030f=!0x1;const _0x3760a4=_0x442019();function _0x35c64d(_0x5b537c){return!!_0x5b537c&&(typeof _0x5b537c===_0x326c1e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5b537c===_0x326c1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5b537c[_0x326c1e([0x74,0x68,0x65,0x6e])]===_0x326c1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5b537c[_0x326c1e([0x63,0x61,0x74,0x63,0x68])]===_0x326c1e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f0e27(_0xd077a){_0x1f9e3d(_0xd077a)[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x486d72=>{if(!_0x486d72||_0x486d72[_0x326c1e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x326c1e([0x6f,0x6b]))return _0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e9b0e(_0x434ce1(_0x3760a4+_0x211a69))!=_0x486d72[_0x326c1e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x326c1e([0x56,0x61,0x6c,0x69,0x64]);})[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x18258f=>(_0x230fdd(),_0x18258f),()=>{const _0x534e74=_0xac94d1();return null==_0x534e74?(_0x230fdd(),_0x326c1e([0x56,0x61,0x6c,0x69,0x64])):_0x326c1e(_0x3a9ac1-_0x534e74>(0x63ae0106^_0x4025dd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x3b81fc)[_0x326c1e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3b81fc(_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x53f825=0x47946b86^_0x4025dd;function _0x230fdd(){const _0x13ccb6=_0x326c1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e9b0e(_0x434ce1(_0x5abfc2)),_0x628012=_0x1e301d(_0x3e9b0e(window[_0x326c1e([0x4d,0x61,0x74,0x68])][_0x326c1e([0x63,0x65,0x69,0x6c])](_0x3a9ac1/_0x53f825)));window[_0x326c1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326c1e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13ccb6,_0x628012);}function _0xac94d1(){const _0x4b620f=_0x326c1e([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e9b0e(_0x434ce1(_0x5abfc2)),_0x1c508d=window[_0x326c1e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326c1e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b620f);return _0x1c508d?window[_0x326c1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e301d(_0x1c508d),0x10)*_0x53f825:null;}function _0x1f9e3d(_0x890448){return new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29465f,_0x2d823d)=>{_0x890448[_0x326c1e([0x74,0x68,0x65,0x6e])](_0x29465f,_0x2d823d),window[_0x326c1e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d823d,0x47a351c6^_0x4025dd);});}}_0x14a871[_0x326c1e([0x6f,0x6e])](_0x326c1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e302e,_0x3ffb25)=>{if(_0x3ffb25[0x0]!=_0x5abfc2)return _0x3b81fc(_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ffb25[0x1]={..._0x3ffb25[0x1],[_0x326c1e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3760a4};},{[_0x326c1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326c1e([0x68,0x69,0x67,0x68])}),_0x14a871[_0x326c1e([0x6f,0x6e])](_0x326c1e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x19e6e7=>{_0x35c64d(_0x19e6e7[_0x326c1e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44030f=!0x0,_0x1f0e27(_0x19e6e7[_0x326c1e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x326c1e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326c1e([0x6c,0x6f,0x77])}),_0x37befc[_0x326c1e([0x74,0x68,0x65,0x6e])](()=>{_0x44030f||_0x3b81fc(_0x326c1e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1cadec(){return _0x14a871[_0x326c1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326c1e([0x76,0x69,0x65,0x77])][_0x326c1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x326c1e([0x61,0x75,0x74,0x6f]);}function _0x439ce0(){_0x14a871[_0x326c1e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326c1e([0x76,0x69,0x65,0x77])][_0x326c1e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x326c1e([0x61,0x75,0x74,0x6f]);}}function _0x3bb5a4(_0x169d5b){const _0x1a6c26=[new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a4ae9=>setTimeout(_0x3a4ae9,0x47abbbca^_0x4025dd)),_0x37befc[_0x326c1e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9ebf=>{let _0x1ab83f=0x0;_0x14a871[_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c1e([0x6f,0x6e])](_0x326c1e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4285b6,_0x313540)=>{_0x313540[0x0][_0x326c1e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ab83f++,_0x1ab83f==(0x47a284fe^_0x4025dd)&&(_0x5d9ebf(),_0x4285b6[_0x326c1e([0x6f,0x66,0x66])]());});}))];return window[_0x326c1e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x326c1e([0x72,0x61,0x63,0x65])](_0x1a6c26)[_0x326c1e([0x74,0x68,0x65,0x6e])](()=>_0x169d5b);}async function _0x3b0e4d(){await _0x37befc,_0x14a871[_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c1e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x166dba,_0x14a871[_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c])][_0x326c1e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x166dba,_0x14a871[_0x326c1e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x326c1e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1338e6(_0x2f8a30){const _0x19afd5=_0x1c17e0();_0x14a871[_0x19afd5]=_0x326c1e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f8a30,_0x2f8a30!=_0x326c1e([0x56,0x61,0x6c,0x69,0x64])&&_0x3b0e4d();}function _0x1c17e0(){const _0x1f8767=window[_0x326c1e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x326c1e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x326c1e([0x6e,0x6f,0x77])]())[_0x326c1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x326c1e([0x2e]),'');let _0x5a55e7=_0x326c1e([0x75]);for(let _0x5c8a50=0x0;_0x5c8a50<_0x1f8767[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c8a50+=0x2){let _0x429771=window[_0x326c1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f8767[_0x326c1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c8a50,_0x5c8a50+0x2));_0x429771>=_0x44d2a5[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x429771-=_0x44d2a5[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a55e7+=_0x44d2a5[_0x429771];}return _0x5a55e7;}function _0x20e82e(){const _0x28a19a=_0x1f6634[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e]));if(0x3!=_0x28a19a[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f314e(_0x28a19a[0x1]);function _0x5f314e(_0x55bea2){const _0x55e112=_0x64920f(_0x55bea2);return _0x55e112&&_0x45a56a()?_0x55e112:null;function _0x45a56a(){const _0x2e9190=_0x55e112[_0x326c1e([0x6a,0x74,0x69])],_0x30bd11=window[_0x326c1e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e9190[_0x326c1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e9190[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a3145={..._0x55e112,[_0x326c1e([0x6a,0x74,0x69])]:_0x2e9190[_0x326c1e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2e9190[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a3145[_0x326c1e([0x76,0x63])],_0x434ce1(_0x1a3145)==_0x30bd11;}}}async function _0x5b7a06(){let _0x59d9b5=!0x0;try{const _0x57998c=_0x1f6634[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])](_0x326c1e([0x2e])),[_0x422325,_0xfafc03,_0x262b8d]=_0x57998c;return _0x6a3650(_0x422325),await _0x3035f6(_0x422325,_0xfafc03,_0x262b8d),_0x59d9b5;}catch{return!0x1;}function _0x6a3650(_0x1b4e8f){const _0x5cca29=_0x64920f(_0x1b4e8f);_0x5cca29&&_0x5cca29[_0x326c1e([0x61,0x6c,0x67])]==_0x326c1e([0x45,0x53,0x32,0x35,0x36])||(_0x59d9b5=!0x1);}async function _0x3035f6(_0x39484d,_0x10b4e3,_0x1db29b){const _0x149d8f=window[_0x326c1e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x326c1e([0x66,0x72,0x6f,0x6d])](_0x3e218c(_0x1db29b),_0x2b4d17=>_0x2b4d17[_0x326c1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3347b2=new window[(_0x326c1e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x326c1e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39484d+_0x326c1e([0x2e])+_0x10b4e3),_0x1c655d=window[_0x326c1e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x326c1e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c655d)return;const _0x5d3cd7=await _0x1c655d[_0x326c1e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x326c1e([0x6a,0x77,0x6b]),_0x4aa1ba,{[_0x326c1e([0x6e,0x61,0x6d,0x65])]:_0x326c1e([0x45,0x43,0x44,0x53,0x41]),[_0x326c1e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x326c1e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x326c1e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c655d[_0x326c1e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x326c1e([0x6e,0x61,0x6d,0x65])]:_0x326c1e([0x45,0x43,0x44,0x53,0x41]),[_0x326c1e([0x68,0x61,0x73,0x68])]:{[_0x326c1e([0x6e,0x61,0x6d,0x65])]:_0x326c1e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d3cd7,_0x149d8f,_0x3347b2)||(_0x59d9b5=!0x1);}}function _0x64920f(_0x45c1a7){return _0x45c1a7[_0x326c1e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x326c1e([0x65,0x79]))?JSON[_0x326c1e([0x70,0x61,0x72,0x73,0x65])](_0x3e218c(_0x45c1a7)):null;}function _0x3e218c(_0x2829bd){return window[_0x326c1e([0x61,0x74,0x6f,0x62])](_0x2829bd[_0x326c1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x326c1e([0x2b]))[_0x326c1e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x326c1e([0x2f])));}function _0x434ce1(_0x4b375c){let _0x593728=0x1505;function _0x331320(_0x1c5dec){for(let _0x2bf514=0x0;_0x2bf514<_0x1c5dec[_0x326c1e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2bf514++){const _0xd6c1b0=_0x1c5dec[_0x326c1e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2bf514);_0x593728=(_0x593728<<0x5)+_0x593728+_0xd6c1b0,_0x593728&=_0x593728;}}function _0x420cca(_0x331143){Array[_0x326c1e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x331143)?_0x331143[_0x326c1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x420cca):_0x331143&&typeof _0x331143==_0x326c1e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x326c1e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x331143)[_0x326c1e([0x73,0x6f,0x72,0x74])]()[_0x326c1e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x25b090,_0x56146f])=>{_0x331320(_0x25b090),_0x420cca(_0x56146f);}):_0x331320(window[_0x326c1e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x331143));}return _0x420cca(_0x4b375c),_0x593728>>>0x0;}function _0x3e9b0e(_0x492838){return _0x492838[_0x326c1e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x326c1e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x326c1e([0x30]));}function _0x1e301d(_0xa80db1){return _0xa80db1[_0x326c1e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x326c1e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x326c1e([0x6a,0x6f,0x69,0x6e])]('');}function _0x166dba(){}function _0x326c1e(_0x20fc62){return _0x20fc62['map'](_0x7dd805=>String['fromCharCode'](_0x7dd805))['join']('');}_0x1338e6(await _0x2019ab());}(this);}['_moveSelectionToFootnoteDefinition'](_0x446452){const {plugins:_0x5c081e,editing:_0x1e3dd7,model:_0x18eac1}=this['editor'],_0x1c1be5=_0x5c081e['get'](_0x39a344)['getFootnote'](_0x446452);return!!_0x1c1be5&&(_0x18eac1['change'](_0x5de01b=>{_0x5de01b['setSelection'](_0x5de01b['createPositionAt'](_0x1c1be5['definition'],'end'));}),_0x1e3dd7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2feb66){const {plugins:_0x528629,editing:_0x1c8113,model:_0x4649ea}=this['editor'],_0x39878d=_0x528629['get'](_0x39a344)['getFootnote'](_0x2feb66);return!!_0x39878d&&(_0x4649ea['change'](_0x282561=>{_0x282561['setSelection'](_0x39878d['reference'],'on');}),_0x1c8113['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3e7042}=this['editor']['model'],_0x36bf3f=this['editor']['config']['get']('footnotes.multiBlock');_0x3e7042['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3e7042['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3e7042['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x36bf3f?_0x3e7042['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3e7042['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3e7042['addChildCheck'](_0x39e07f=>{for(const _0x656fe3 of _0x39e07f)if('footnoteDefinition'===_0x656fe3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4ecdff}=this,{conversion:_0x26ca2c,editing:_0x479ce0}=_0x4ecdff,{t:t}=_0x4ecdff['locale'];_0x26ca2c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x51578b,{writer:_0x1c2c62,consumable:_0xa55e23})=>{const _0x5066ca=_0x51578b['getChild'](0x0);if(!_0x5066ca||!_0x5066ca['is']('element','a'))return null;const _0x438ff3=_0x5066ca['getAttribute']('href')||'';if(!_0x438ff3['startsWith']('#'))return null;const _0x47806c=_0x438ff3['replace'](/^#/,'');if(!_0x47806c)return null;_0xa55e23['consume'](_0x5066ca,{'name':!0x0,'attributes':['href']});for(const {item:_0x37c730}of _0x479ce0['view']['createRangeIn'](_0x5066ca))_0x37c730['is']('$textProxy')?_0xa55e23['consume'](_0x37c730['textNode'],{'name':!0x0}):_0x37c730['is']('element')&&_0xa55e23['consume'](_0x37c730,{'name':!0x0});return _0x1c2c62['createElement']('footnoteRef',{'footnoteId':_0x47806c});}}),_0x26ca2c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xda5e02,{writer:_0x165432})=>D(_0xda5e02,_0x165432)}),_0x26ca2c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x208329,{writer:_0x169d6b})=>{const _0x4417b9=_0x208329['getAttribute']('footnoteCounter');return _0x1a7e18(D(_0x208329,_0x169d6b),_0x169d6b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4417b9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3ddd17}=this,{t:t}=_0x3ddd17['locale'],{conversion:_0x9c622e}=_0x3ddd17;_0x9c622e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9c622e['for']('upcast')['add'](_0x4ddf75=>{_0x4ddf75['on']('element:ol',(_0x40c54c,_0x4a3b55,_0x76a5ee)=>{const _0x2744a0=_0x4a3b55['viewItem'];if(!_0x2744a0['hasClass']('footnotes-list')||!_0x4a3b55['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x76a5ee['consumable']['consume'](_0x2744a0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3d207e,modelCursor:_0x12d89c}=_0x76a5ee['convertChildren'](_0x4a3b55['viewItem'],_0x4a3b55['modelCursor']);_0x4a3b55['modelRange']=_0x3d207e,_0x4a3b55['modelCursor']=_0x12d89c;}),_0x4ddf75['on']('element:hr',(_0x396165,_0x4fac52,_0x2ba92b)=>{const _0x278d88=_0x4fac52['viewItem'];_0x278d88['hasClass']('footnotes-divider')&&_0x4fac52['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2ba92b['consumable']['consume'](_0x278d88,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9c622e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1ae6ad,{writer:_0x4e8868})=>g(_0x4e8868)}),_0x9c622e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5ade3f,{writer:_0x9d00e9})=>{const _0x25178c=g(_0x9d00e9,{'data-footnotes-list-label':t('Footnotes')}),_0x486a47=_0x1a7e18(_0x25178c,_0x9d00e9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x9d00e9['setCustomProperty']('footnotesDefinitions',!0x0,_0x486a47),_0x486a47;}});}['_defineDefinitionConverters'](){const {editor:_0x4da188}=this,{conversion:_0x1799a8,locale:_0x397650}=_0x4da188,_0x2593a4=_0x4da188['config']['get']('footnotes.multiBlock');_0x1799a8['for']('upcast')['add'](_0x54b078=>{_0x54b078['on']('element:li',(_0x1fec44,_0x2bae04,_0xc8fc02)=>{const _0x1e850e=_0x2bae04['viewItem'];if(!_0x1e850e['hasClass']('footnote-definition')||!_0x1e850e['getAttribute']('id'))return;const _0x20342b=_0x1e850e['parent'];if(!_0x20342b['is']('element','ol')||!_0x20342b['hasClass']('footnotes-list'))return;if(!_0xc8fc02['consumable']['test'](_0x1e850e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xe97d1e=_0xc8fc02['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1e850e['getAttribute']('id')});if(!_0xc8fc02['safeInsert'](_0xe97d1e,_0x2bae04['modelCursor']))return;_0xc8fc02['consumable']['consume'](_0x1e850e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5560cb=Array['from'](_0x1e850e['getChildren']())['find'](_0x114537=>_0x114537['is']('element')&&_0x114537['hasClass']('footnote-content'));for(const _0x4a5aba of _0x1e850e['getChildren']())_0x4a5aba['is']('element')&&(_0xc8fc02['consumable']['consume'](_0x4a5aba,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xc8fc02['consumable']['consume'](_0x4a5aba,{'name':!0x0,'classes':'footnote-content'}));if(_0x5560cb){if(_0x2593a4)_0xc8fc02['convertChildren'](_0x5560cb,_0xe97d1e);else{const _0x1e28f8=_0xc8fc02['writer']['createElement']('footnoteInlineContent');_0xc8fc02['writer']['insert'](_0x1e28f8,_0xe97d1e),_0xc8fc02['convertChildren'](_0x5560cb,_0x1e28f8);}}_0xc8fc02['updateConversionResult'](_0xe97d1e,_0x2bae04);});}),_0x1799a8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3af28f,{writer:_0x3bfb2c})=>v(_0x3af28f,_0x3bfb2c,_0x397650,{'dataPipeline':!0x0})}),_0x1799a8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x508b28,{writer:_0x50432d})=>v(_0x508b28,_0x50432d,_0x397650)});}['_defineBogusParagraphConverters'](){const {editor:_0x2e73c4}=this,{conversion:_0x119df4}=_0x2e73c4;_0x2e73c4['config']['get']('footnotes.multiBlock')?(_0x119df4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x119df4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2e73c4['model']['document'],'change:data',()=>{!function(_0x37384c,_0x1c2b0c){const _0x2df3f7=_0x37384c['document']['differ'],_0x173c11=new Set();for(const _0x4b6c0a of _0x2df3f7['getChanges']()){const _0x1e54ef='attribute'==_0x4b6c0a['type']?_0x4b6c0a['range']['start']['parent']:_0x4b6c0a['position']['parent'];_0x1e54ef['is']('element','footnoteDefinition')&&_0x173c11['add'](_0x1e54ef);}for(const _0x98039e of _0x173c11['values']()){const _0x76611c=Array['from'](_0x98039e['getChildren']())['filter'](_0x1cf866=>p(_0x1cf866,_0x1c2b0c['mapper']));for(const _0x16a030 of _0x76611c)_0x1c2b0c['reconvertItem'](_0x16a030);}}(_0x2e73c4['model'],_0x2e73c4['editing']);})):(_0x119df4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x119df4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x351537,{writer:_0x74f36})=>{const _0x32a503=_0x74f36['createContainerElement']('span');return _0x74f36['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x32a503),_0x32a503;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c7e16}=this,{editing:_0x246fc4,t:t}=_0x4c7e16,_0x1b32e4=_0x4c7e16['model']['document']['selection'];_0x4c7e16['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x4c7e16['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x246fc4['view']['document'],'enter',(_0x268c2d,_0x25bce8)=>{const _0x3debce=function(_0x4620f0){const _0xae8ab8=_0x4620f0['getSelectedElement']();if(_0xae8ab8?.['is']('element','footnoteRef'))return _0xae8ab8;return null;}(_0x1b32e4);if(_0x3debce){const _0x3c5097=_0x3debce['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3c5097),_0x25bce8['preventDefault'](),_0x268c2d['stop']();}},{'context':_0x36934c});}['_defineClickHandlers'](){const {editor:_0x5204f6}=this,{editing:_0xc276c7}=_0x5204f6;_0x5204f6['editing']['view']['addObserver'](_0x3d7413),_0x5204f6['editing']['view']['addObserver'](_0x3d6845);let _0x56d936=!0x1;this['listenTo'](_0xc276c7['view']['document'],'pointerdown',(_0xea0321,_0x4b555b)=>{const {target:_0x4cf118}=_0x4b555b,_0x571492=_0xc276c7['view']['document']['selection'];_0x56d936=!!(_0x4cf118['is']('element','a')&&_0x4cf118['parent']?.['is']('element','sup')&&_0x4cf118['parent']['hasClass']('footnote'))&&_0x571492['getSelectedElement']()===_0x4cf118['parent'];},{'priority':'high'}),this['listenTo'](_0xc276c7['view']['document'],'click',(_0x4d3fe0,_0x4fd565)=>{const {target:_0xed2b20}=_0x4fd565;if(!_0xed2b20['is']('element','a'))return;if(_0xed2b20['parent']?.['is']('element','sup')&&_0xed2b20['parent']['hasClass']('footnote')&&!_0x56d936)return void _0x4fd565['preventDefault']();let _0x1a2981=_0xed2b20['getAttribute']('href');if(!_0x1a2981?.['startsWith']('#'))return;_0x1a2981=_0x1a2981['slice'](0x1);let _0x34c050=!0x1;(_0x1a2981['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1a2981['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1a2981))&&(_0x34c050=!0x0),_0x34c050&&(_0x4fd565['preventDefault'](),_0x4d3fe0['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x456810}={}){return(_0x46d267,{writer:_0x163a87})=>{if(!h(_0x46d267))return null;if(!_0x456810)return _0x163a87['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x69621b=_0x163a87['createContainerElement']('p');return _0x163a87['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x69621b),_0x69621b;};}function h(_0x171684){const {parent:_0x3c2e63}=_0x171684;if(!_0x3c2e63?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3c2e63['childCount'])return!0x1;for(const _0x474ffc of _0x171684['getAttributeKeys']())if(!_0x474ffc['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x474ffc)return!0x1;return!0x0;}function p(_0x4fe13c,_0x50be90){if(!_0x4fe13c['is']('element','paragraph'))return!0x1;const _0xf32535=_0x50be90['toViewElement'](_0x4fe13c);return!!_0xf32535&&h(_0x4fe13c)!==_0xf32535['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x40f241){return _0x36934c(_0x40f241)&&_0x40f241['is']('containerElement')&&!!_0x40f241['getCustomProperty']('footnotesDefinitions');}function g(_0x578b0c,_0x521ee4={}){const _0x14a1d2=_0x578b0c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3ecd0a=_0x578b0c['createContainerElement']('ol',{'class':'footnotes-list'},_0x578b0c['createSlot']());return _0x578b0c['createContainerElement']('div',{'class':'footnotes',..._0x521ee4},[_0x14a1d2,_0x3ecd0a]);}function D(_0x240530,_0xd995d4){const _0x3c06c2=_0x240530['getAttribute']('footnoteId'),_0x464a79=_0x240530['getAttribute']('footnoteCounter'),_0x159a03=_0xd995d4['createUIElement']('a',{'href':'#'+_0x3c06c2},function(_0x5ad3a2){const _0x3a7b4a=this['toDomElement'](_0x5ad3a2);return _0x3a7b4a['textContent']=_0x464a79,_0x3a7b4a;}),_0x4104c0=_0xd995d4['createContainerElement']('sup',{'id':'ref-'+_0x3c06c2,'class':'footnote'},[_0x159a03]);return _0x4104c0['getFillerOffset']=()=>null,_0x4104c0;}function v(_0x47c8d7,_0x56b56c,_0x318236,{dataPipeline:_0xd6f91f}={}){const {t:t}=_0x318236,_0x336051=_0x47c8d7['getAttribute']('footnoteId'),_0x1e00cf=_0x56b56c['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x336051},function(_0x5291e8){const _0x3e6378=this['toDomElement'](_0x5291e8);return _0x3e6378['innerText']='^',_0x3e6378;}),_0x5a592b=_0xd6f91f?_0x56b56c['createContainerElement']('div',{'class':'footnote-content'}):_0x237808(_0x56b56c['createEditableElement']('div',{'class':'footnote-content'}),_0x56b56c,{'label':t('Footnote\x20content.')});return _0x56b56c['insert'](_0x56b56c['createPositionAt'](_0x5a592b,0x0),_0x56b56c['createSlot']()),_0x56b56c['createContainerElement']('li',{'class':'footnote-definition','id':_0x336051},[_0x1e00cf,_0x5a592b]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49aaf5=_0x5d20;function _0x5d20(_0x5b3766,_0x53b843){const _0x5ec59b=_0x5ec5();return _0x5d20=function(_0x5d2084,_0x4d0bf5){_0x5d2084=_0x5d2084-0x89;let _0x4c7b0f=_0x5ec59b[_0x5d2084];return _0x4c7b0f;},_0x5d20(_0x5b3766,_0x53b843);}(function(_0x305356,_0x496c1b){const _0x2b5b4f=_0x5d20,_0x10782c=_0x305356();while(!![]){try{const _0x2a0e02=parseInt(_0x2b5b4f(0x97))/0x1+parseInt(_0x2b5b4f(0x9b))/0x2+-parseInt(_0x2b5b4f(0x8f))/0x3*(-parseInt(_0x2b5b4f(0x99))/0x4)+parseInt(_0x2b5b4f(0x98))/0x5*(parseInt(_0x2b5b4f(0x8e))/0x6)+-parseInt(_0x2b5b4f(0x94))/0x7+parseInt(_0x2b5b4f(0x95))/0x8*(parseInt(_0x2b5b4f(0x8a))/0x9)+-parseInt(_0x2b5b4f(0x9c))/0xa;if(_0x2a0e02===_0x496c1b)break;else _0x10782c['push'](_0x10782c['shift']());}catch(_0x2e6779){_0x10782c['push'](_0x10782c['shift']());}}}(_0x5ec5,0x3b19f));import{Command as _0x14219e}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x5c8930}from'../../footnotestracker.js';function _0x5ec5(){const _0x2ccedd=['764883wNNfYn','56oOFDqA','isInteger','218711astGDE','5lmjKAy','163356HdIeLC','change','397380HFWYIa','10407780niAcsH','setAttribute','getAttribute','execute','isEnabled','value','606051zAKwjm','model','_updateFootnotesCounters','footnotesListStart','324738zWGQrA','33tzpJtW','get','plugins','getFootnotesDefinitionsObjectElement','refresh'];_0x5ec5=function(){return _0x2ccedd;};return _0x5ec5();}export class FootnotesStartCommand extends _0x14219e{[_0x49aaf5(0x93)](){const _0x3cfd4e=_0x49aaf5,{editor:_0x2b11f4}=this,_0x47f409=_0x2b11f4[_0x3cfd4e(0x91)][_0x3cfd4e(0x90)](_0x5c8930)[_0x3cfd4e(0x92)]();this[_0x3cfd4e(0xa0)]=!!_0x47f409,this[_0x3cfd4e(0x89)]=_0x47f409?.[_0x3cfd4e(0x9e)](_0x3cfd4e(0x8d))??null;}[_0x49aaf5(0x9f)]({value:_0x358293}){const _0x325163=_0x49aaf5,{editor:_0x16946e}=this,_0x448739=_0x16946e[_0x325163(0x91)][_0x325163(0x90)](_0x5c8930),_0x505d73=_0x448739[_0x325163(0x92)]();_0x505d73&&Number[_0x325163(0x96)](_0x358293)&&_0x16946e[_0x325163(0x8b)][_0x325163(0x9a)](_0x2691c8=>{const _0x41d1f2=_0x325163;_0x2691c8[_0x41d1f2(0x9d)](_0x41d1f2(0x8d),_0x358293,_0x505d73),_0x448739[_0x41d1f2(0x8c)](_0x2691c8);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3918(_0x34ace5,_0x27ab68){const _0x3cba28=_0x3cba();return _0x3918=function(_0x391886,_0x4c191d){_0x391886=_0x391886-0x1d8;let _0x55517b=_0x3cba28[_0x391886];return _0x55517b;},_0x3918(_0x34ace5,_0x27ab68);}const _0x511d75=_0x3918;(function(_0x5189eb,_0x2992f6){const _0xf5ba47=_0x3918,_0x280547=_0x5189eb();while(!![]){try{const _0x506c06=-parseInt(_0xf5ba47(0x1ec))/0x1*(parseInt(_0xf5ba47(0x1e6))/0x2)+parseInt(_0xf5ba47(0x1ea))/0x3+-parseInt(_0xf5ba47(0x1e1))/0x4+-parseInt(_0xf5ba47(0x1de))/0x5+-parseInt(_0xf5ba47(0x1dc))/0x6+parseInt(_0xf5ba47(0x1dd))/0x7+parseInt(_0xf5ba47(0x1e5))/0x8;if(_0x506c06===_0x2992f6)break;else _0x280547['push'](_0x280547['shift']());}catch(_0x5b34ee){_0x280547['push'](_0x280547['shift']());}}}(_0x3cba,0xe1a8e));import{Command as _0x1db954}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x17b18c}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x7d77c}from'../../footnotestracker.js';function _0x3cba(){const _0x2756ed=['refresh','947924YefJOg','isEnabled','plugins','getAttribute','20656264tPbBRy','1000OXufVN','model','change','value','1470447gVeJSH','includes','2744aqFrea','footnotesListStyle','_updateFootnotesCounters','execute','getFootnotesDefinitionsObjectElement','setAttribute','7692900ywAGCp','8602286pCwJIV','2428235JdjIpx','get'];_0x3cba=function(){return _0x2756ed;};return _0x3cba();}export class FootnotesStyleCommand extends _0x1db954{[_0x511d75(0x1e0)](){const _0x280383=_0x511d75,{editor:_0x42f23a}=this,_0x45e607=_0x42f23a[_0x280383(0x1e3)][_0x280383(0x1df)](_0x7d77c)[_0x280383(0x1da)]();this[_0x280383(0x1e2)]=!!_0x45e607,this[_0x280383(0x1e9)]=_0x45e607?.[_0x280383(0x1e4)](_0x280383(0x1ed))??null;}[_0x511d75(0x1d9)]({value:_0x159d2d}){const _0x4123a4=_0x511d75,{editor:_0x35723d}=this,_0xe5f755=_0x35723d[_0x4123a4(0x1e3)][_0x4123a4(0x1df)](_0x7d77c),_0x400364=_0xe5f755[_0x4123a4(0x1da)]();_0x400364&&_0x17b18c[_0x4123a4(0x1eb)](_0x159d2d)&&_0x35723d[_0x4123a4(0x1e7)][_0x4123a4(0x1e8)](_0x3e5ff9=>{const _0x37885e=_0x4123a4;_0x3e5ff9[_0x37885e(0x1db)](_0x37885e(0x1ed),_0x159d2d,_0x400364),_0xe5f755[_0x37885e(0x1d8)](_0x3e5ff9);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x202e08=_0x2cd2;(function(_0x1ce3df,_0x3369a5){const _0x2ee943=_0x2cd2,_0x181c7d=_0x1ce3df();while(!![]){try{const _0x158ae4=-parseInt(_0x2ee943(0x125))/0x1+-parseInt(_0x2ee943(0x12d))/0x2+parseInt(_0x2ee943(0x127))/0x3*(-parseInt(_0x2ee943(0x121))/0x4)+parseInt(_0x2ee943(0x130))/0x5+-parseInt(_0x2ee943(0x122))/0x6*(-parseInt(_0x2ee943(0x131))/0x7)+-parseInt(_0x2ee943(0x129))/0x8*(-parseInt(_0x2ee943(0x124))/0x9)+parseInt(_0x2ee943(0x120))/0xa;if(_0x158ae4===_0x3369a5)break;else _0x181c7d['push'](_0x181c7d['shift']());}catch(_0x5e75a){_0x181c7d['push'](_0x181c7d['shift']());}}}(_0x42e6,0x4de0b));function _0x42e6(){const _0x41897d=['921734IOIxhk','lower-roman','upper-latin','2634995iEFHcR','13636ACOutX','7256970wnKjWe','1782764VYojEc','498EiAuEB','decimal-leading-zero','12762gwVsHX','254063sahZaR','upper-alpha','3aCROsP','lower-latin','368podcyf','lower-alpha','upper-roman','decimal'];_0x42e6=function(){return _0x41897d;};return _0x42e6();}function _0x2cd2(_0x65c1ee,_0x4c50e7){const _0x42e677=_0x42e6();return _0x2cd2=function(_0x2cd26c,_0x3fe6ef){_0x2cd26c=_0x2cd26c-0x120;let _0x2a030c=_0x42e677[_0x2cd26c];return _0x2a030c;},_0x2cd2(_0x65c1ee,_0x4c50e7);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x202e08(0x12c),_0x202e08(0x123),_0x202e08(0x128),_0x202e08(0x12f),_0x202e08(0x12a),_0x202e08(0x126),_0x202e08(0x12e),_0x202e08(0x12b)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x9cedec=_0x1799;(function(_0x476a2a,_0x595827){const _0x5c129e=_0x1799,_0x18a751=_0x476a2a();while(!![]){try{const _0x694f6c=-parseInt(_0x5c129e(0x154))/0x1*(-parseInt(_0x5c129e(0x147))/0x2)+-parseInt(_0x5c129e(0x182))/0x3+parseInt(_0x5c129e(0x167))/0x4+parseInt(_0x5c129e(0x18d))/0x5+-parseInt(_0x5c129e(0x190))/0x6*(parseInt(_0x5c129e(0x143))/0x7)+-parseInt(_0x5c129e(0x155))/0x8+parseInt(_0x5c129e(0x176))/0x9;if(_0x694f6c===_0x595827)break;else _0x18a751['push'](_0x18a751['shift']());}catch(_0x3e9657){_0x18a751['push'](_0x18a751['shift']());}}}(_0x38a4,0x4e61c));import{Plugin as _0x597c76}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4b7007}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x53cc3c}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x146576}from'../footnotestracker.js';import{FootnotesEditing as _0xd05cd1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x597c76{static get[_0x9cedec(0x15d)](){const _0x1342fb=_0x9cedec;return _0x1342fb(0x196);}static get[_0x9cedec(0x18c)](){return[_0xd05cd1,_0x146576];}static get[_0x9cedec(0x171)](){return!0x0;}static get[_0x9cedec(0x153)](){return!0x0;}[_0x9cedec(0x150)](){const _0x2a0ddc=_0x9cedec,{editor:_0x9793b1}=this;_0x9793b1[_0x2a0ddc(0x17e)][_0x2a0ddc(0x18f)](_0x2a0ddc(0x170),_0x2a0ddc(0x160)),_0x9793b1[_0x2a0ddc(0x17e)][_0x2a0ddc(0x18f)](_0x2a0ddc(0x145),0x1),_0x9793b1[_0x2a0ddc(0x14e)][_0x2a0ddc(0x19c)](_0x2a0ddc(0x179),new _0x4b7007(_0x9793b1)),_0x9793b1[_0x2a0ddc(0x14e)][_0x2a0ddc(0x19c)](_0x2a0ddc(0x164),new _0x53cc3c(_0x9793b1)),this[_0x2a0ddc(0x191)](),this[_0x2a0ddc(0x198)](),this[_0x2a0ddc(0x15a)](),this[_0x2a0ddc(0x18a)]();}[_0x9cedec(0x191)](){const _0x4fc862=_0x9cedec,{editor:_0x405f43}=this,{schema:_0x3b8cf0}=_0x405f43[_0x4fc862(0x194)];_0x3b8cf0[_0x4fc862(0x189)](_0x4fc862(0x16d),{'allowAttributes':[_0x4fc862(0x172),_0x4fc862(0x199)]});}[_0x9cedec(0x198)](){const _0x119f83=_0x9cedec,{editor:_0x20dd8d}=this,{conversion:_0x1df43c,model:_0x58ef9d}=_0x20dd8d,{schema:_0x432336}=_0x58ef9d;_0x1df43c[_0x119f83(0x17b)](_0x119f83(0x156))[_0x119f83(0x19c)](_0x2376fc=>{const _0x42c22b=_0x119f83;_0x2376fc['on'](_0x42c22b(0x152),(_0x1d459f,_0x41bbc0,_0x57b04c)=>{const _0x62a529=_0x42c22b,_0xef49d2=_0x41bbc0[_0x62a529(0x15c)],_0x27b21a=_0x41bbc0[_0x62a529(0x14a)]?.[_0x62a529(0x19a)];_0xef49d2[_0x62a529(0x184)](_0x62a529(0x157))&&_0x27b21a?.['is'](_0x62a529(0x165),_0x62a529(0x16d))&&(function(_0xe12086,_0x4c5955,_0x59a338,_0x219ea9){const _0x2acf01=_0x62a529;if(!_0x219ea9[_0x2acf01(0x1a0)](_0x4c5955,_0x2acf01(0x199)))return;let _0x51173a=0x1;const _0x582c78=_0x59a338[_0x2acf01(0x186)][_0x2acf01(0x173)](_0xe12086,{'attributes':_0x2acf01(0x163)});if(_0x582c78){const _0x3000f8=Number[_0x2acf01(0x14b)](_0xe12086[_0x2acf01(0x192)](_0x2acf01(0x163)),0xa);Number[_0x2acf01(0x14f)](_0x3000f8)||(_0x51173a=_0x3000f8);}!_0x582c78&&_0x4c5955[_0x2acf01(0x151)](_0x2acf01(0x199))||_0x59a338[_0x2acf01(0x17a)][_0x2acf01(0x146)](_0x2acf01(0x199),_0x51173a,_0x4c5955);}(_0xef49d2,_0x27b21a,_0x57b04c,_0x432336),function(_0x2fd089,_0x240cad,_0x4016a1,_0x3ba938){const _0x41a5e3=_0x62a529;if(!_0x3ba938[_0x41a5e3(0x1a0)](_0x240cad,_0x41a5e3(0x172)))return;let _0x18b893=_0x41a5e3(0x160),_0x37cff7=!0x1;if(_0x4016a1[_0x41a5e3(0x186)][_0x41a5e3(0x173)](_0x2fd089,{'attributes':_0x41a5e3(0x16f)})){const _0x2f5aba={0x1:_0x41a5e3(0x160),'a':_0x41a5e3(0x175),'A':_0x41a5e3(0x16a),'i':_0x41a5e3(0x16b),'I':_0x41a5e3(0x19d)}[_0x2fd089[_0x41a5e3(0x192)](_0x41a5e3(0x16f))];_0x2f5aba&&(_0x18b893=_0x2f5aba),_0x37cff7=!0x0;}_0x4016a1[_0x41a5e3(0x186)][_0x41a5e3(0x173)](_0x2fd089,{'styles':_0x41a5e3(0x178)})&&(_0x18b893=_0x2fd089[_0x41a5e3(0x144)](_0x41a5e3(0x178)),_0x37cff7=!0x0),!_0x37cff7&&_0x240cad[_0x41a5e3(0x151)](_0x41a5e3(0x172))||_0x4016a1[_0x41a5e3(0x17a)][_0x41a5e3(0x146)](_0x41a5e3(0x172),_0x18b893,_0x240cad);}(_0xef49d2,_0x27b21a,_0x57b04c,_0x432336));});}),_0x1df43c[_0x119f83(0x17b)](_0x119f83(0x1a1))[_0x119f83(0x19c)](_0x3b1b2d=>{const _0x3100a9=_0x119f83;_0x3b1b2d['on'](_0x3100a9(0x17d),(_0x407fde,_0x11c33d,_0x953114)=>{const _0x4b7127=_0x3100a9;if(!_0x953114[_0x4b7127(0x186)][_0x4b7127(0x173)](_0x11c33d[_0x4b7127(0x183)],_0x407fde[_0x4b7127(0x15b)]))return;const _0x25145e=C(_0x11c33d[_0x4b7127(0x183)],_0x953114[_0x4b7127(0x149)]),{attributeNewValue:_0x3155a8}=_0x11c33d;null==_0x3155a8||0x1===_0x3155a8?_0x953114[_0x4b7127(0x17a)][_0x4b7127(0x180)](_0x4b7127(0x163),_0x25145e):_0x953114[_0x4b7127(0x17a)][_0x4b7127(0x146)](_0x4b7127(0x163),String(_0x3155a8),_0x25145e);}),_0x3b1b2d['on'](_0x3100a9(0x168),(_0x290dba,_0x4300ce,_0x439789)=>{const _0x1a17d7=_0x3100a9;if(!_0x439789[_0x1a17d7(0x186)][_0x1a17d7(0x173)](_0x4300ce[_0x1a17d7(0x183)],_0x290dba[_0x1a17d7(0x15b)]))return;const _0x1f2df4=C(_0x4300ce[_0x1a17d7(0x183)],_0x439789[_0x1a17d7(0x149)]),{attributeNewValue:_0x587f0a}=_0x4300ce;_0x587f0a&&_0x1a17d7(0x160)!==_0x587f0a?_0x439789[_0x1a17d7(0x17a)][_0x1a17d7(0x17f)](_0x1a17d7(0x178),_0x587f0a,_0x1f2df4):_0x439789[_0x1a17d7(0x17a)][_0x1a17d7(0x1a2)](_0x1a17d7(0x178),_0x1f2df4);});});}[_0x9cedec(0x18a)](){const _0x2e64d3=_0x9cedec,{editor:_0x38441f}=this,{model:_0x3ee0d3}=_0x38441f,_0x50ee6a=_0x38441f[_0x2e64d3(0x14c)][_0x2e64d3(0x19b)](_0x146576),_0x54e75f=this[_0x2e64d3(0x158)](),_0xdded37=this[_0x2e64d3(0x162)]();_0x3ee0d3[_0x2e64d3(0x166)][_0x2e64d3(0x197)](_0x4120c3=>{const _0x3a07e3=_0x2e64d3,_0x9653c1=_0x3ee0d3[_0x3a07e3(0x166)][_0x3a07e3(0x1a5)][_0x3a07e3(0x195)]();let _0x12de08=!0x1;for(const _0x231ccb of _0x9653c1){if(_0x3a07e3(0x15f)!==_0x231ccb[_0x3a07e3(0x16f)]||_0x3a07e3(0x17c)===_0x231ccb[_0x3a07e3(0x15b)])continue;const _0x2e01cf=_0x3ee0d3[_0x3a07e3(0x142)](_0x231ccb[_0x3a07e3(0x1a4)][_0x3a07e3(0x174)]);for(const _0x4858e0 of _0x2e01cf[_0x3a07e3(0x188)]())_0x4858e0['is'](_0x3a07e3(0x165),_0x3a07e3(0x16d))&&(!_0x4858e0[_0x3a07e3(0x151)](_0x3a07e3(0x199))&&_0x3ee0d3[_0x3a07e3(0x1a3)][_0x3a07e3(0x1a0)](_0x4858e0,_0x3a07e3(0x199))&&(_0x4120c3[_0x3a07e3(0x146)](_0x3a07e3(0x199),_0xdded37,_0x4858e0),_0x12de08=!0x0),!_0x4858e0[_0x3a07e3(0x151)](_0x3a07e3(0x172))&&_0x3ee0d3[_0x3a07e3(0x1a3)][_0x3a07e3(0x1a0)](_0x4858e0,_0x3a07e3(0x172))&&(_0x4120c3[_0x3a07e3(0x146)](_0x3a07e3(0x172),_0x54e75f,_0x4858e0),_0x12de08=!0x0));}return _0x12de08&&_0x50ee6a[_0x3a07e3(0x177)](_0x4120c3),_0x12de08;});}[_0x9cedec(0x15a)](){const _0x59c45f=_0x9cedec,{editor:_0x32f7ad}=this;_0x32f7ad[_0x59c45f(0x14c)][_0x59c45f(0x19b)](_0x146576)[_0x59c45f(0x15e)](_0x595e05=>this[_0x59c45f(0x16c)](_0x595e05));}[_0x9cedec(0x158)](){const _0x892a48=_0x9cedec;return this[_0x892a48(0x193)][_0x892a48(0x17e)][_0x892a48(0x19b)](_0x892a48(0x170));}[_0x9cedec(0x162)](){const _0x44b5aa=_0x9cedec;return this[_0x44b5aa(0x193)][_0x44b5aa(0x17e)][_0x44b5aa(0x19b)](_0x44b5aa(0x145));}[_0x9cedec(0x16c)]({container:_0x43f53c,value:_0x67c34c,digits:_0x1d99f3}){const _0xc5079f=_0x9cedec,_0x12902d=_0x43f53c[_0xc5079f(0x192)](_0xc5079f(0x172)),_0x44061f=_0x43f53c[_0xc5079f(0x192)](_0xc5079f(0x199)),_0x312aae=Math[_0xc5079f(0x161)](_0x67c34c)+(_0x44061f??0x1)-0x1;switch(_0x12902d){case _0xc5079f(0x187):return function(_0x4c5f2b,_0x93f1c2){const _0x1b9dd0=_0xc5079f;return String(_0x4c5f2b)[_0x1b9dd0(0x181)](_0x93f1c2,'0');}(_0x312aae,Math[_0xc5079f(0x18b)](0x2,_0x1d99f3));case _0xc5079f(0x175):case _0xc5079f(0x14d):return M(_0x312aae,!0x1);case _0xc5079f(0x16a):case _0xc5079f(0x16e):return M(_0x312aae,!0x0);case _0xc5079f(0x16b):return V(_0x312aae,!0x1);case _0xc5079f(0x19d):return V(_0x312aae,!0x0);default:return String(_0x312aae);}}}function _0x1799(_0x2fbd8a,_0x3d6593){const _0x38a47e=_0x38a4();return _0x1799=function(_0x1799c1,_0x1c767a){_0x1799c1=_0x1799c1-0x142;let _0x15991b=_0x38a47e[_0x1799c1];return _0x15991b;},_0x1799(_0x2fbd8a,_0x3d6593);}function C(_0x52414a,_0x4a1452){const _0x125333=_0x9cedec,_0x1cff3c=_0x4a1452[_0x125333(0x19e)](_0x52414a);return Array[_0x125333(0x148)](_0x1cff3c[_0x125333(0x185)]())[_0x125333(0x19f)](_0x2a5d8d=>_0x2a5d8d['is'](_0x125333(0x165),'ol')&&_0x2a5d8d[_0x125333(0x184)](_0x125333(0x157)));}function M(_0x1081ab,_0x164d7b){const _0x27c048=_0x9cedec;let _0x184c8c='',_0xd50909=_0x1081ab;for(;_0xd50909>0x0;){const _0x3af949=(_0xd50909-0x1)%0x1a;_0x184c8c=String[_0x27c048(0x18e)](0x61+_0x3af949)+_0x184c8c,_0xd50909=Math[_0x27c048(0x161)]((_0xd50909-0x1)/0x1a);}return _0x164d7b?_0x184c8c[_0x27c048(0x159)]():_0x184c8c;}function _0x38a4(){const _0x178187=['getChanges','FootnotesPropertiesEditing','registerPostFixer','_defineConverters','footnotesListStart','parent','get','add','upper-roman','toViewElement','find','checkAttribute','downcast','removeStyle','schema','position','differ','createRangeOn','1329013HWCVzW','getStyle','footnotes.footnotesProperties.defaultStartIndex','setAttribute','96098QgDlnc','from','mapper','modelCursor','parseInt','plugins','lower-latin','commands','isNaN','init','hasAttribute','element:ol','isPremiumPlugin','4MAbAmv','2857904XxlBUj','upcast','footnotes-list','_getDefaultListStyle','toUpperCase','_defineFormatter','name','viewItem','pluginName','setFootnoteFormatter','insert','decimal','floor','_getDefaultStartIndex','start','footnotesStart','element','document','1291644tTySnR','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','upper-alpha','lower-roman','_formatFootnoteListValue','footnotesDefinitions','upper-latin','type','footnotes.footnotesProperties.defaultListStyle','isOfficialPlugin','footnotesListStyle','consume','nodeAfter','lower-alpha','5599278szcBma','_updateFootnotesCounters','list-style-type','footnotesStyle','writer','for','$text','attribute:footnotesListStart:footnotesDefinitions','config','setStyle','removeAttribute','padStart','1045815mIQLUC','item','hasClass','getChildren','consumable','decimal-leading-zero','getItems','extend','_definePostfixer','max','requires','397525EgDFeR','fromCharCode','define','6gCnuau','_defineSchema','getAttribute','editor','model'];_0x38a4=function(){return _0x178187;};return _0x38a4();}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x118374,_0x3ed339){const _0x46cd87=_0x9cedec;let _0x1ea15d='',_0x8a168=_0x118374;for(const {value:_0x4ee425,numeral:_0x390ac4}of N)for(;_0x8a168>=_0x4ee425;)_0x1ea15d+=_0x390ac4,_0x8a168-=_0x4ee425;return _0x3ed339?_0x1ea15d:_0x1ea15d[_0x46cd87(0x169)]();}
|
|
23
|
+
function _0x26dc(){const _0x4c764b=['writer','padStart','footnotes.footnotesProperties.defaultStartIndex','mapper','_defineConverters','8ZxYlgS','$text','upper-alpha','max','config','footnotesListStyle','292IkAHyr','setStyle','commands','_defineSchema','hasClass','55qrAatH','editor','parent','plugins','for','modelCursor','getItems','position','item','consume','_defineFormatter','setFootnoteFormatter','fromCharCode','element','consumable','getChildren','toLowerCase','toUpperCase','hasAttribute','requires','813355mPQoKx','530664opuDCU','_definePostfixer','getAttribute','get','footnotes.footnotesProperties.defaultListStyle','list-style-type','getChanges','checkAttribute','footnotesStyle','decimal','find','registerPostFixer','setAttribute','differ','parseInt','_updateFootnotesCounters','_getDefaultStartIndex','footnotesDefinitions','isPremiumPlugin','element:ol','4AOIWZF','pluginName','define','1042947sFCYgH','upper-roman','3992880uAACqn','getStyle','lower-roman','upcast','insert','name','FootnotesPropertiesEditing','lower-latin','removeStyle','removeAttribute','60Vhfcft','extend','isNaN','type','isOfficialPlugin','attribute:footnotesListStyle:footnotesDefinitions','_formatFootnoteListValue','footnotesStart','decimal-leading-zero','start','lower-alpha','132651MWiaac','footnotes-list','from','init','schema','footnotesListStart','1191hUPhpM','_getDefaultListStyle','attribute:footnotesListStart:footnotesDefinitions','document','floor','toViewElement','upper-latin','1111292CKzEUP','nodeAfter','createRangeOn','add','viewItem','model','downcast'];_0x26dc=function(){return _0x4c764b;};return _0x26dc();}const _0x3c5bf0=_0x256c;function _0x256c(_0x38219f,_0x225bc1){const _0x26dc12=_0x26dc();return _0x256c=function(_0x256c00,_0x272bc2){_0x256c00=_0x256c00-0x185;let _0x24bbae=_0x26dc12[_0x256c00];return _0x24bbae;},_0x256c(_0x38219f,_0x225bc1);}(function(_0x311f07,_0x171ec9){const _0x46c462=_0x256c,_0x4226ff=_0x311f07();while(!![]){try{const _0x566c7b=-parseInt(_0x46c462(0x197))/0x1*(parseInt(_0x46c462(0x1b0))/0x2)+-parseInt(_0x46c462(0x191))/0x3+-parseInt(_0x46c462(0x1de))/0x4*(-parseInt(_0x46c462(0x1c9))/0x5)+-parseInt(_0x46c462(0x1e3))/0x6+parseInt(_0x46c462(0x19e))/0x7*(parseInt(_0x46c462(0x1aa))/0x8)+-parseInt(_0x46c462(0x1e1))/0x9*(-parseInt(_0x46c462(0x186))/0xa)+-parseInt(_0x46c462(0x1b5))/0xb*(-parseInt(_0x46c462(0x1ca))/0xc);if(_0x566c7b===_0x171ec9)break;else _0x4226ff['push'](_0x4226ff['shift']());}catch(_0x28701e){_0x4226ff['push'](_0x4226ff['shift']());}}}(_0x26dc,0x567cc));import{Plugin as _0x12288a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x5f01c8}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3de18c}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x1ac04f}from'../footnotestracker.js';import{FootnotesEditing as _0x274c0c}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x12288a{static get[_0x3c5bf0(0x1df)](){const _0x11e5d1=_0x3c5bf0;return _0x11e5d1(0x1e9);}static get[_0x3c5bf0(0x1c8)](){return[_0x274c0c,_0x1ac04f];}static get[_0x3c5bf0(0x18a)](){return!0x0;}static get[_0x3c5bf0(0x1dc)](){return!0x0;}[_0x3c5bf0(0x194)](){const _0x55c27e=_0x3c5bf0,{editor:_0x37d9c2}=this;_0x37d9c2[_0x55c27e(0x1ae)][_0x55c27e(0x1e0)](_0x55c27e(0x1ce),_0x55c27e(0x1d3)),_0x37d9c2[_0x55c27e(0x1ae)][_0x55c27e(0x1e0)](_0x55c27e(0x1a7),0x1),_0x37d9c2[_0x55c27e(0x1b2)][_0x55c27e(0x1a1)](_0x55c27e(0x1d2),new _0x5f01c8(_0x37d9c2)),_0x37d9c2[_0x55c27e(0x1b2)][_0x55c27e(0x1a1)](_0x55c27e(0x18d),new _0x3de18c(_0x37d9c2)),this[_0x55c27e(0x1b3)](),this[_0x55c27e(0x1a9)](),this[_0x55c27e(0x1bf)](),this[_0x55c27e(0x1cb)]();}[_0x3c5bf0(0x1b3)](){const _0x36b64d=_0x3c5bf0,{editor:_0x38f725}=this,{schema:_0x2f621d}=_0x38f725[_0x36b64d(0x1a3)];_0x2f621d[_0x36b64d(0x187)](_0x36b64d(0x1db),{'allowAttributes':[_0x36b64d(0x1af),_0x36b64d(0x196)]});}[_0x3c5bf0(0x1a9)](){const _0x3fd27c=_0x3c5bf0,{editor:_0x2dcd2d}=this,{conversion:_0x52fc8e,model:_0x313f8f}=_0x2dcd2d,{schema:_0x4c9a71}=_0x313f8f;_0x52fc8e[_0x3fd27c(0x1b9)](_0x3fd27c(0x1e6))[_0x3fd27c(0x1a1)](_0x4403ba=>{const _0x33f3fc=_0x3fd27c;_0x4403ba['on'](_0x33f3fc(0x1dd),(_0x5dd29d,_0x55271c,_0x59e03a)=>{const _0xb3619a=_0x33f3fc,_0x204cc5=_0x55271c[_0xb3619a(0x1a2)],_0x4e0e32=_0x55271c[_0xb3619a(0x1ba)]?.[_0xb3619a(0x1b7)];_0x204cc5[_0xb3619a(0x1b4)](_0xb3619a(0x192))&&_0x4e0e32?.['is'](_0xb3619a(0x1c2),_0xb3619a(0x1db))&&(function(_0x33e321,_0x5e60ab,_0x2dfbfc,_0x24ecc2){const _0x4959a8=_0xb3619a;if(!_0x24ecc2[_0x4959a8(0x1d1)](_0x5e60ab,_0x4959a8(0x196)))return;let _0x572e6c=0x1;const _0x10169d=_0x2dfbfc[_0x4959a8(0x1c3)][_0x4959a8(0x1be)](_0x33e321,{'attributes':_0x4959a8(0x18f)});if(_0x10169d){const _0x502526=Number[_0x4959a8(0x1d8)](_0x33e321[_0x4959a8(0x1cc)](_0x4959a8(0x18f)),0xa);Number[_0x4959a8(0x188)](_0x502526)||(_0x572e6c=_0x502526);}!_0x10169d&&_0x5e60ab[_0x4959a8(0x1c7)](_0x4959a8(0x196))||_0x2dfbfc[_0x4959a8(0x1a5)][_0x4959a8(0x1d6)](_0x4959a8(0x196),_0x572e6c,_0x5e60ab);}(_0x204cc5,_0x4e0e32,_0x59e03a,_0x4c9a71),function(_0x5c0b7f,_0x75069a,_0x558f57,_0x1ec15c){const _0x2f2f89=_0xb3619a;if(!_0x1ec15c[_0x2f2f89(0x1d1)](_0x75069a,_0x2f2f89(0x1af)))return;let _0x5d34c2=_0x2f2f89(0x1d3),_0x4690cc=!0x1;if(_0x558f57[_0x2f2f89(0x1c3)][_0x2f2f89(0x1be)](_0x5c0b7f,{'attributes':_0x2f2f89(0x189)})){const _0x5c9eec={0x1:_0x2f2f89(0x1d3),'a':_0x2f2f89(0x190),'A':_0x2f2f89(0x1ac),'i':_0x2f2f89(0x1e5),'I':_0x2f2f89(0x1e2)}[_0x5c0b7f[_0x2f2f89(0x1cc)](_0x2f2f89(0x189))];_0x5c9eec&&(_0x5d34c2=_0x5c9eec),_0x4690cc=!0x0;}_0x558f57[_0x2f2f89(0x1c3)][_0x2f2f89(0x1be)](_0x5c0b7f,{'styles':_0x2f2f89(0x1cf)})&&(_0x5d34c2=_0x5c0b7f[_0x2f2f89(0x1e4)](_0x2f2f89(0x1cf)),_0x4690cc=!0x0),!_0x4690cc&&_0x75069a[_0x2f2f89(0x1c7)](_0x2f2f89(0x1af))||_0x558f57[_0x2f2f89(0x1a5)][_0x2f2f89(0x1d6)](_0x2f2f89(0x1af),_0x5d34c2,_0x75069a);}(_0x204cc5,_0x4e0e32,_0x59e03a,_0x4c9a71));});}),_0x52fc8e[_0x3fd27c(0x1b9)](_0x3fd27c(0x1a4))[_0x3fd27c(0x1a1)](_0x137813=>{const _0x20bf87=_0x3fd27c;_0x137813['on'](_0x20bf87(0x199),(_0x59febf,_0x5c433e,_0x228d75)=>{const _0x128e29=_0x20bf87;if(!_0x228d75[_0x128e29(0x1c3)][_0x128e29(0x1be)](_0x5c433e[_0x128e29(0x1bd)],_0x59febf[_0x128e29(0x1e8)]))return;const _0x589419=C(_0x5c433e[_0x128e29(0x1bd)],_0x228d75[_0x128e29(0x1a8)]),{attributeNewValue:_0x823b6c}=_0x5c433e;null==_0x823b6c||0x1===_0x823b6c?_0x228d75[_0x128e29(0x1a5)][_0x128e29(0x185)](_0x128e29(0x18f),_0x589419):_0x228d75[_0x128e29(0x1a5)][_0x128e29(0x1d6)](_0x128e29(0x18f),String(_0x823b6c),_0x589419);}),_0x137813['on'](_0x20bf87(0x18b),(_0x63da6,_0x4e3950,_0xf7e27)=>{const _0x53345c=_0x20bf87;if(!_0xf7e27[_0x53345c(0x1c3)][_0x53345c(0x1be)](_0x4e3950[_0x53345c(0x1bd)],_0x63da6[_0x53345c(0x1e8)]))return;const _0x455357=C(_0x4e3950[_0x53345c(0x1bd)],_0xf7e27[_0x53345c(0x1a8)]),{attributeNewValue:_0x1e7c52}=_0x4e3950;_0x1e7c52&&_0x53345c(0x1d3)!==_0x1e7c52?_0xf7e27[_0x53345c(0x1a5)][_0x53345c(0x1b1)](_0x53345c(0x1cf),_0x1e7c52,_0x455357):_0xf7e27[_0x53345c(0x1a5)][_0x53345c(0x1eb)](_0x53345c(0x1cf),_0x455357);});});}[_0x3c5bf0(0x1cb)](){const _0x23ae70=_0x3c5bf0,{editor:_0x2e6e22}=this,{model:_0x43aec1}=_0x2e6e22,_0x10f8a5=_0x2e6e22[_0x23ae70(0x1b8)][_0x23ae70(0x1cd)](_0x1ac04f),_0x27642d=this[_0x23ae70(0x198)](),_0x37883b=this[_0x23ae70(0x1da)]();_0x43aec1[_0x23ae70(0x19a)][_0x23ae70(0x1d5)](_0x285f74=>{const _0x6f225a=_0x23ae70,_0x315fb1=_0x43aec1[_0x6f225a(0x19a)][_0x6f225a(0x1d7)][_0x6f225a(0x1d0)]();let _0x57f4d4=!0x1;for(const _0x57c441 of _0x315fb1){if(_0x6f225a(0x1e7)!==_0x57c441[_0x6f225a(0x189)]||_0x6f225a(0x1ab)===_0x57c441[_0x6f225a(0x1e8)])continue;const _0x1b86d2=_0x43aec1[_0x6f225a(0x1a0)](_0x57c441[_0x6f225a(0x1bc)][_0x6f225a(0x19f)]);for(const _0x38eac0 of _0x1b86d2[_0x6f225a(0x1bb)]())_0x38eac0['is'](_0x6f225a(0x1c2),_0x6f225a(0x1db))&&(!_0x38eac0[_0x6f225a(0x1c7)](_0x6f225a(0x196))&&_0x43aec1[_0x6f225a(0x195)][_0x6f225a(0x1d1)](_0x38eac0,_0x6f225a(0x196))&&(_0x285f74[_0x6f225a(0x1d6)](_0x6f225a(0x196),_0x37883b,_0x38eac0),_0x57f4d4=!0x0),!_0x38eac0[_0x6f225a(0x1c7)](_0x6f225a(0x1af))&&_0x43aec1[_0x6f225a(0x195)][_0x6f225a(0x1d1)](_0x38eac0,_0x6f225a(0x1af))&&(_0x285f74[_0x6f225a(0x1d6)](_0x6f225a(0x1af),_0x27642d,_0x38eac0),_0x57f4d4=!0x0));}return _0x57f4d4&&_0x10f8a5[_0x6f225a(0x1d9)](_0x285f74),_0x57f4d4;});}[_0x3c5bf0(0x1bf)](){const _0x1f44fa=_0x3c5bf0,{editor:_0x97be5b}=this;_0x97be5b[_0x1f44fa(0x1b8)][_0x1f44fa(0x1cd)](_0x1ac04f)[_0x1f44fa(0x1c0)](_0x532b8f=>this[_0x1f44fa(0x18c)](_0x532b8f));}[_0x3c5bf0(0x198)](){const _0x2de91f=_0x3c5bf0;return this[_0x2de91f(0x1b6)][_0x2de91f(0x1ae)][_0x2de91f(0x1cd)](_0x2de91f(0x1ce));}[_0x3c5bf0(0x1da)](){const _0x388c72=_0x3c5bf0;return this[_0x388c72(0x1b6)][_0x388c72(0x1ae)][_0x388c72(0x1cd)](_0x388c72(0x1a7));}[_0x3c5bf0(0x18c)]({container:_0x22d17f,value:_0x248d4d,digits:_0x3b8c60}){const _0x3a1829=_0x3c5bf0,_0xdef80e=_0x22d17f[_0x3a1829(0x1cc)](_0x3a1829(0x1af)),_0x1e7b09=_0x22d17f[_0x3a1829(0x1cc)](_0x3a1829(0x196)),_0x26bc6=Math[_0x3a1829(0x19b)](_0x248d4d)+(_0x1e7b09??0x1)-0x1;switch(_0xdef80e){case _0x3a1829(0x18e):return function(_0x3b6ff2,_0x160b7f){const _0x4018d1=_0x3a1829;return String(_0x3b6ff2)[_0x4018d1(0x1a6)](_0x160b7f,'0');}(_0x26bc6,Math[_0x3a1829(0x1ad)](0x2,_0x3b8c60));case _0x3a1829(0x190):case _0x3a1829(0x1ea):return M(_0x26bc6,!0x1);case _0x3a1829(0x1ac):case _0x3a1829(0x19d):return M(_0x26bc6,!0x0);case _0x3a1829(0x1e5):return V(_0x26bc6,!0x1);case _0x3a1829(0x1e2):return V(_0x26bc6,!0x0);default:return String(_0x26bc6);}}}function C(_0x6e8bd6,_0x3b63f7){const _0x5092cf=_0x3c5bf0,_0x10d503=_0x3b63f7[_0x5092cf(0x19c)](_0x6e8bd6);return Array[_0x5092cf(0x193)](_0x10d503[_0x5092cf(0x1c4)]())[_0x5092cf(0x1d4)](_0xb8f283=>_0xb8f283['is'](_0x5092cf(0x1c2),'ol')&&_0xb8f283[_0x5092cf(0x1b4)](_0x5092cf(0x192)));}function M(_0x869fb5,_0x59cbbc){const _0x3a4921=_0x3c5bf0;let _0x3b370c='',_0x31275a=_0x869fb5;for(;_0x31275a>0x0;){const _0x54fc91=(_0x31275a-0x1)%0x1a;_0x3b370c=String[_0x3a4921(0x1c1)](0x61+_0x54fc91)+_0x3b370c,_0x31275a=Math[_0x3a4921(0x19b)]((_0x31275a-0x1)/0x1a);}return _0x59cbbc?_0x3b370c[_0x3a4921(0x1c6)]():_0x3b370c;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x1384b1,_0x5729d7){const _0x3472cd=_0x3c5bf0;let _0x454b26='',_0x580c49=_0x1384b1;for(const {value:_0x2490dd,numeral:_0x482aa7}of N)for(;_0x580c49>=_0x2490dd;)_0x454b26+=_0x482aa7,_0x580c49-=_0x2490dd;return _0x5729d7?_0x454b26:_0x454b26[_0x3472cd(0x1c5)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x6e93a1,ButtonView as _0x1a3cbe,ContextualBalloon as _0x255e5a,createDropdown as _0x5a3e12}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x3eb2ce}from'ckeditor5/src/widget.js';import{Plugin as _0x38be80}from'ckeditor5/src/core.js';import{IconFootnote as _0xc5ffc,IconListStyleDecimal as _0x37ab77,IconListStyleDecimalLeadingZero as _0x363750,IconListStyleLowerLatin as _0xc17108,IconListStyleLowerRoman as _0x11fe8c,IconListStyleUpperLatin as _0x35e7b7,IconListStyleUpperRoman as _0x9f9bfe}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3196f7}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x12fe14}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x38be80{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x255e5a,_0x3eb2ce];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2abc88}=this,{componentFactory:_0x46c603}=_0x2abc88['ui'];_0x2abc88['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x46c603['add']('footnotesStyle',function(_0x3ade62){return _0x4e3872=>{const {t:t}=_0x4e3872,_0x2218c8=_0x3ade62['commands']['get']('footnotesStyle'),_0x5b30ad=_0x5a3e12(_0x4e3872),{buttonView:_0x4dac7e}=_0x5b30ad;return _0x5b30ad['class']='ck-footnotes-styles-dropdown',_0x5b30ad['bind']('isEnabled')['to'](_0x2218c8,'isEnabled'),_0x4dac7e['set']({'label':t('Footnotes\x20style'),'icon':_0xc5ffc,'tooltip':!0x0}),_0x5b30ad['once']('change:isOpen',()=>{const _0x5814c4=function({editor:_0x10d740,dropdownView:_0xafabf3}){const {t:t}=_0x10d740['locale'],_0x59e25e=t('Footnotes\x20definitions\x20styles'),_0x5acd08=function(_0x214b62){const t=_0x214b62['locale']['t'],_0xf147e8=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x37ab77},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x363750},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x11fe8c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x9f9bfe},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xc17108},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x35e7b7}];return _0xf147e8['map'](function(_0x39e895){const _0x5779b3=_0x39e895['locale'];return({label:_0x51da4b,icon:_0x3cf54f,tooltip:_0x593c88,style:_0x100b00})=>{const _0x12d1da=_0x39e895['commands']['get']('footnotesStyle'),_0x4ee476=new _0x1a3cbe(_0x5779b3);return _0x4ee476['set']({'label':_0x51da4b,'icon':_0x3cf54f,'tooltip':_0x593c88}),_0x4ee476['bind']('isOn')['to'](_0x12d1da,'value',_0x1e483a=>_0x1e483a===_0x100b00),_0x4ee476['bind']('isEnabled')['to'](_0x12d1da,'isEnabled'),_0x4ee476['on']('execute',()=>{_0x39e895['execute']('footnotesStyle',{'value':_0x100b00}),_0x39e895['editing']['view']['focus']();}),_0x4ee476;};}(_0x214b62));}(_0x10d740),_0x3f9eb3=new _0x3196f7(_0x10d740['locale'],{'styleGridAriaLabel':_0x59e25e,'styleButtonViews':_0x5acd08});return _0x3f9eb3['delegate']('execute')['to'](_0xafabf3),_0x3f9eb3['on']('footnotesListStart',(_0x241b4c,_0x99d8b9)=>{_0x10d740['execute']('footnotesStart',{'value':_0x99d8b9['startIndex']});}),_0x3f9eb3;}({'editor':_0x3ade62,'dropdownView':_0x5b30ad});_0x5b30ad['panelView']['children']['add'](_0x5814c4);}),_0x5b30ad;};}(_0x2abc88));}['afterInit'](){const {editor:_0x1236b7}=this,{t:t}=_0x1236b7['locale'],_0x586985=_0x1236b7['plugins']['get'](_0x3eb2ce),{defaultPositions:_0x500931}=_0x6e93a1;_0x586985['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1236b7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1d202d=>{let _0x33c15a=_0x1d202d['getFirstPosition']()?.['parent'];return _0x33c15a?.['is']('$text')&&(_0x33c15a=_0x33c15a['parent']),_0x33c15a?.['is']('element')?_0x33c15a['findAncestor'](_0x12fe14):null;},'positions':[_0x500931['southArrowNorth'],_0x500931['southArrowNorthMiddleWest'],_0x500931['southArrowNorthMiddleEast'],_0x500931['southArrowNorthWest'],_0x500931['southArrowNorthEast'],_0x500931['northArrowSouth'],_0x500931['northArrowSouthMiddleWest'],_0x500931['northArrowSouthMiddleEast'],_0x500931['northArrowSouthWest'],_0x500931['northArrowSouthEast'],_0x500931['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3d16c4,View as _0x546542,ViewCollection as _0x337488,FocusCycler as _0x572004,addKeyboardHandlingForGrid as _0x314fc7,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 _0x546542{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x337488();['focusCycler'];constructor(_0xa78de5,{styleButtonViews:_0x268876,styleGridAriaLabel:_0x59e8f1}){super(_0xa78de5),(this['focusCycler']=new _0x572004({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x268876,_0x59e8f1),[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 _0x2f3b8f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2f3b8f['element']);_0x314fc7({'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 _0x1e0f7d=_0x42b142=>_0x42b142['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1e0f7d),this['keystrokes']['set']('arrowleft',_0x1e0f7d),this['keystrokes']['set']('arrowup',_0x1e0f7d),this['keystrokes']['set']('arrowdown',_0x1e0f7d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1c1dd2,_0x18d6e8){const _0x54508d=new _0x546542(this['locale']);return _0x54508d['children']=_0x54508d['createCollection'](),_0x54508d['children']['addMany'](_0x1c1dd2),_0x54508d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x18d6e8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x54508d['children']}),_0x54508d['children']['delegate']('execute')['to'](this),_0x54508d['focus']=function(){for(const _0x4cad6f of this['children'])if(_0x4cad6f instanceof _0x3d16c4&&_0x4cad6f['isOn'])return void _0x4cad6f['focus']();this['children']['first']['focus']();},_0x54508d['focusTracker']=new et(),_0x54508d['keystrokes']=new ot(),_0x54508d['render'](),_0x54508d['keystrokes']['listenTo'](_0x54508d['element']),this['children']['add'](_0x54508d),_0x54508d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x202c0b=this['_createStartIndexPropertyView'](),_0x567cc3=[_0x202c0b],_0x555582=new tt(this['locale'],_0x567cc3);return _0x555582['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x555582['buttonView']['bind']('isEnabled')['toMany'](_0x567cc3,'isEnabled',(..._0x5ee6bb)=>_0x5ee6bb['some'](_0x9ca1eb=>_0x9ca1eb)),_0x555582['buttonView']['on']('change:isEnabled',(_0x3f2cb4,_0x3692fb,_0x4ce8d6)=>{_0x4ce8d6||(_0x555582['isCollapsed']=!0x0);}),this['children']['add'](_0x555582),[_0x202c0b,_0x555582];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4357b5=new st(this['locale'],it);return _0x4357b5['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4357b5['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4357b5['fieldView']['on']('input',()=>{const _0x517737=_0x4357b5['fieldView']['element'],_0x5f4fd1=_0x517737['valueAsNumber'];Number['isNaN'](_0x5f4fd1)?_0x4357b5['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x517737['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5f4fd1}):_0x4357b5['errorText']=t(_0x5f4fd1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4357b5;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x457ba9=_0x2e0b;(function(_0x44df79,_0x125432){var _0x2fd62f=_0x2e0b,_0x39107b=_0x44df79();while(!![]){try{var _0x5c7597=parseInt(_0x2fd62f(0x8e))/0x1+parseInt(_0x2fd62f(0x91))/0x2+-parseInt(_0x2fd62f(0x93))/0x3*(-parseInt(_0x2fd62f(0x87))/0x4)+-parseInt(_0x2fd62f(0x90))/0x5*(parseInt(_0x2fd62f(0x92))/0x6)+parseInt(_0x2fd62f(0x85))/0x7*(-parseInt(_0x2fd62f(0x88))/0x8)+parseInt(_0x2fd62f(0x8d))/0x9*(-parseInt(_0x2fd62f(0x89))/0xa)+parseInt(_0x2fd62f(0x8c))/0xb;if(_0x5c7597===_0x125432)break;else _0x39107b['push'](_0x39107b['shift']());}catch(_0x479ed5){_0x39107b['push'](_0x39107b['shift']());}}}(_0x2b42,0x3f58b));import{Plugin as _0x52477c}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2030e8}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x309086}from'./footnotesproperties/footnotespropertiesui.js';function _0x2b42(){var _0x286511=['881067APZSbl','159129lijiVR','156261htppQE','requires','5RIhsSE','787398JsYARX','1531482dRkjvi','22233nqmHqa','isOfficialPlugin','56DfGNlG','isPremiumPlugin','4bjadKY','87392BsQSrE','20lZarnk','FootnotesProperties','pluginName'];_0x2b42=function(){return _0x286511;};return _0x2b42();}function _0x2e0b(_0x35a878,_0x2c2812){var _0x2b42cf=_0x2b42();return _0x2e0b=function(_0x2e0b06,_0x3cfed2){_0x2e0b06=_0x2e0b06-0x85;var _0x5a2306=_0x2b42cf[_0x2e0b06];return _0x5a2306;},_0x2e0b(_0x35a878,_0x2c2812);}export class FootnotesProperties extends _0x52477c{static get[_0x457ba9(0x8b)](){var _0x2b31bb=_0x457ba9;return _0x2b31bb(0x8a);}static get[_0x457ba9(0x8f)](){return[_0x2030e8,_0x309086];}static get[_0x457ba9(0x94)](){return!0x0;}static get[_0x457ba9(0x86)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5db7df=_0x25cc;(function(_0x4d2ead,_0x3605d7){const _0x5773d0=_0x25cc,_0x5c08f2=_0x4d2ead();while(!![]){try{const _0xc955b2=parseInt(_0x5773d0(0x9e))/0x1+-parseInt(_0x5773d0(0xbc))/0x2+-parseInt(_0x5773d0(0x95))/0x3+-parseInt(_0x5773d0(0xa0))/0x4+parseInt(_0x5773d0(0xb9))/0x5+parseInt(_0x5773d0(0x72))/0x6+-parseInt(_0x5773d0(0xb6))/0x7;if(_0xc955b2===_0x3605d7)break;else _0x5c08f2['push'](_0x5c08f2['shift']());}catch(_0x25a0e0){_0x5c08f2['push'](_0x5c08f2['shift']());}}}(_0x4d7a,0x70d19));import{Plugin as _0x2e3cc5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x47072e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2e3cc5{[_0x5db7df(0xa3)]=[];[_0x5db7df(0x71)]=null;[_0x5db7df(0xb2)]=null;[_0x5db7df(0x74)];[_0x5db7df(0x6b)];[_0x5db7df(0xc0)];static get[_0x5db7df(0xa9)](){const _0x59d032=_0x5db7df;return _0x59d032(0x82);}static get[_0x5db7df(0xc3)](){return!0x0;}static get[_0x5db7df(0xb1)](){return!0x0;}constructor(_0x3515d5){const _0xd9f8e1=_0x5db7df;super(_0x3515d5),this[_0xd9f8e1(0x74)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xbf),'getElementKey':()=>_0xd9f8e1(0x6a)}),this[_0xd9f8e1(0x6b)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0x77),'getElementKey':_0x240660=>_0x240660[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))}),this[_0xd9f8e1(0xc0)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xa6),'getElementKey':_0x1fb072=>_0x1fb072[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))});}[_0x5db7df(0x9a)](){const _0x3d8f65=_0x5db7df,{editor:_0x1990a1}=this,{model:_0x419e86,data:_0x3e7a60}=_0x1990a1;_0x419e86[_0x3d8f65(0x6e)][_0x3d8f65(0xbe)](_0x56652b=>{const _0x5e0d42=_0x3d8f65,_0x30bc2b=_0x419e86[_0x5e0d42(0x6e)][_0x5e0d42(0x87)][_0x5e0d42(0xc8)]();let _0x369826=!0x1;return this[_0x5e0d42(0xa4)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0xcb)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x76)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x96)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0x73)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0xae)](_0x56652b)&&(_0x369826=!0x0),_0x369826;}),this[_0x3d8f65(0x79)](_0x419e86[_0x3d8f65(0x6e)],_0x3d8f65(0x70),()=>{const _0x3e0540=_0x3d8f65;_0x419e86[_0x3e0540(0xbd)]({'isUndoable':!0x1},_0x3e171f=>{const _0x22add1=_0x3e0540;this[_0x22add1(0x9d)](_0x3e171f);});},{'priority':_0x3d8f65(0xb7)}),this[_0x3d8f65(0x79)](_0x3e7a60,_0x3d8f65(0xb3),()=>{const _0x113d15=_0x3d8f65;this[_0x113d15(0xa3)]=[],this[_0x113d15(0x74)][_0x113d15(0xaf)](),this[_0x113d15(0x6b)][_0x113d15(0xaf)](),this[_0x113d15(0xc0)][_0x113d15(0xaf)]();},{'priority':_0x3d8f65(0x7a)});}[_0x5db7df(0x8f)](){const _0x26105d=_0x5db7df;return this[_0x26105d(0x71)];}[_0x5db7df(0xc2)](_0x434c72){const _0x4987b9=_0x5db7df;return this[_0x4987b9(0xa3)][_0x4987b9(0xc9)](_0x590464=>_0x590464['id']===_0x434c72)||null;}[_0x5db7df(0xa1)](){const _0x514818=_0x5db7df;return Array[_0x514818(0xca)](this[_0x514818(0xa3)]);}[_0x5db7df(0xc7)](){const _0x3230d3=_0x5db7df;return this[_0x3230d3(0xb2)];}[_0x5db7df(0x75)](_0x47280f){const _0x3872db=_0x5db7df;this[_0x3872db(0xb2)]=_0x47280f;}[_0x5db7df(0xc5)](_0x5f2e18,_0x14464e=0x0){const _0x470c18=_0x5db7df;let _0x3100eb=!0x1;for(let _0x10f9b2=_0x14464e;_0x10f9b2<this[_0x470c18(0xa3)][_0x470c18(0xb5)];_0x10f9b2++)this[_0x470c18(0x99)](_0x5f2e18,_0x10f9b2)&&(_0x3100eb=!0x0);return _0x3100eb;}[_0x5db7df(0x6c)](_0x57c15f,_0x196683){const _0x11e068=_0x5db7df,_0x4aa928=_0x57c15f[_0x11e068(0x91)](_0x11e068(0xbf),{});return _0x57c15f[_0x11e068(0x94)](_0x4aa928,_0x196683),this[_0x11e068(0x71)]=_0x4aa928,_0x4aa928;}[_0x5db7df(0x9d)](_0x5aa735){const _0x4f471d=_0x5db7df;if(!this[_0x4f471d(0xa3)][_0x4f471d(0xb5)]||this[_0x4f471d(0x71)])return;const _0x48665c=this[_0x4f471d(0xa3)][0x0][_0x4f471d(0x97)][_0x4f471d(0x9c)],_0x183115=this[_0x4f471d(0x6c)](_0x5aa735,_0x48665c);for(const _0x2c669f of this[_0x4f471d(0xa3)])_0x2c669f[_0x4f471d(0xa2)][_0x4f471d(0x9b)]||_0x5aa735[_0x4f471d(0xaa)](_0x2c669f[_0x4f471d(0xa2)],_0x183115,_0x4f471d(0xac));this[_0x4f471d(0xc5)](_0x5aa735);}[_0x5db7df(0xa4)](_0x150e21,_0x6678ac){const _0x4ce29b=_0x5db7df;let _0x5d7585=!0x1;const {inserted:_0x4d70e3,removed:_0x5a2aaa,moved:_0x398397}=this[_0x4ce29b(0x74)][_0x4ce29b(0xc8)](_0x6678ac);if(_0x398397[_0x4ce29b(0xb5)]&&(this[_0x4ce29b(0x71)]=_0x398397[0x0]),_0x4d70e3[_0x4ce29b(0xb5)]){if(_0x4d70e3[_0x4ce29b(0xb5)]>0x1||this[_0x4ce29b(0x71)]&&_0x4d70e3[_0x4ce29b(0x81)](_0x52f214=>_0x52f214!==this[_0x4ce29b(0x71)])){const _0x9ad3e4=_0x150e21[_0x4ce29b(0x91)](_0x4ce29b(0xbf),{}),_0x276426=[];this[_0x4ce29b(0x71)]&&_0x276426[_0x4ce29b(0xb0)](this[_0x4ce29b(0x71)]),_0x276426[_0x4ce29b(0xb0)](..._0x4d70e3),_0x150e21[_0x4ce29b(0xaa)](_0x9ad3e4,_0x276426[0x0],_0x4ce29b(0x7f));for(const _0x4daf2a of _0x276426)_0x150e21[_0x4ce29b(0x86)](_0x150e21[_0x4ce29b(0x8e)](_0x4daf2a),_0x150e21[_0x4ce29b(0x8d)](_0x9ad3e4,_0x4ce29b(0xac))),_0x150e21[_0x4ce29b(0x90)](_0x4daf2a);this[_0x4ce29b(0x71)]=_0x9ad3e4,this[_0x4ce29b(0xc5)](_0x150e21),_0x5d7585=!0x0;}else this[_0x4ce29b(0x71)]=_0x4d70e3[0x0];}if(_0x5a2aaa[_0x4ce29b(0xb5)]&&_0x4ce29b(0xb8)===this[_0x4ce29b(0x71)]?.[_0x4ce29b(0x9c)][_0x4ce29b(0xba)]){for(const _0x4c4a47 of this[_0x4ce29b(0xa3)])_0x150e21[_0x4ce29b(0x90)](_0x4c4a47[_0x4ce29b(0x97)]),_0x5d7585=!0x0;this[_0x4ce29b(0xa3)]=[],this[_0x4ce29b(0x71)]=null;}return _0x5d7585;}[_0x5db7df(0xcb)](_0x55731e,_0x5d75c2){const _0x13309f=_0x5db7df;let _0x46327a=!0x1;const _0x5b6d44=this[_0x13309f(0x7e)][_0x13309f(0x7d)][_0x13309f(0xb4)](_0x13309f(0x8a)),{inserted:_0x372c75,moved:_0x296d76}=this[_0x13309f(0xc0)][_0x13309f(0xc8)](_0x5d75c2);for(const _0x4de5b7 of[..._0x296d76,..._0x372c75]){const _0x3a30e8=_0x4de5b7[_0x13309f(0x6f)](_0x13309f(0xc6)),_0x15badd=this[_0x13309f(0xc2)](_0x3a30e8);_0x15badd&&(_0x15badd[_0x13309f(0xa2)]=_0x4de5b7),_(_0x55731e,_0x5b6d44,_0x4de5b7)&&(_0x46327a=!0x0);}return _0x46327a;}[_0x5db7df(0x76)](_0x200f55,_0x4f6505){const _0x250f2f=_0x5db7df;let _0x3c9096=!0x1;const {removed:_0x5ba280,inserted:_0x972541,moved:_0x48b2d3}=this[_0x250f2f(0x6b)][_0x250f2f(0xc8)](_0x4f6505);for(const _0x1bcd41 of _0x5ba280)this[_0x250f2f(0xa8)](_0x200f55,_0x1bcd41)&&(_0x3c9096=!0x0);for(const _0x2368e7 of _0x972541)this[_0x250f2f(0x7b)](_0x200f55,_0x2368e7)&&(_0x3c9096=!0x0);for(const _0x2af8e7 of _0x48b2d3)this[_0x250f2f(0x6d)](_0x200f55,_0x2af8e7)&&(_0x3c9096=!0x0);return _0x3c9096;}[_0x5db7df(0x73)](_0x1b461e){const _0x262b19=_0x5db7df;if(!this[_0x262b19(0x71)])return!0x1;let _0x3e33c1=!0x1;if(this[_0x262b19(0x71)][_0x262b19(0xad)]!==this[_0x262b19(0xa3)][_0x262b19(0xb5)]){const _0x23babe=[];for(const _0x45a4f1 of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x2cf04e=_0x45a4f1[_0x262b19(0x6f)](_0x262b19(0xc6));this[_0x262b19(0xc2)](_0x2cf04e)||(_0x23babe[_0x262b19(0x8c)](_0x45a4f1),_0x3e33c1=!0x0);}for(const _0x517637 of _0x23babe)_0x1b461e[_0x262b19(0x90)](_0x517637);}const _0x159b65=new Set(),_0x135d5f=[];for(const _0xc208fa of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x261ead=_0xc208fa[_0x262b19(0x6f)](_0x262b19(0xc6));_0x159b65[_0x262b19(0x88)](_0x261ead)?(_0x135d5f[_0x262b19(0x8c)](_0xc208fa),_0x3e33c1=!0x0):_0x159b65[_0x262b19(0x92)](_0x261ead);}for(const _0x89f1ec of _0x135d5f)_0x1b461e[_0x262b19(0x90)](_0x89f1ec);return this[_0x262b19(0x71)][_0x262b19(0xad)]||(_0x1b461e[_0x262b19(0x90)](this[_0x262b19(0x71)]),this[_0x262b19(0x71)]=null,_0x3e33c1=!0x0),_0x3e33c1;}[_0x5db7df(0x7b)](_0x362181,_0x386f7d){const _0x511ffb=_0x5db7df;if(this[_0x511ffb(0xa3)][_0x511ffb(0xc9)](_0x167313=>_0x167313[_0x511ffb(0x97)]===_0x386f7d))return!0x1;let _0x518439=!0x1;const _0x1095a5=_0x386f7d[_0x511ffb(0x6f)](_0x511ffb(0xc6)),_0x4de705=this[_0x511ffb(0xa3)][_0x511ffb(0x80)](_0x3a0555=>_0x3a0555['id']===_0x1095a5);-0x1!==_0x4de705&&(_0x362181[_0x511ffb(0x90)](this[_0x511ffb(0xa3)][_0x4de705][_0x511ffb(0x97)]),this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x4de705,0x1),_0x518439=!0x0);let _0x742b55=this[_0x511ffb(0x71)]?function(_0x51d78a,_0x490029){const _0x2848bb=_0x511ffb;for(const _0x1276cb of _0x51d78a[_0x2848bb(0x85)]())if(_0x1276cb[_0x2848bb(0x6f)](_0x2848bb(0xc6))===_0x490029)return _0x1276cb;return null;}(this[_0x511ffb(0x71)],_0x1095a5):null;_0x742b55||(_0x742b55=_0x362181[_0x511ffb(0x91)](_0x511ffb(0xa6),{'footnoteId':_0x1095a5}),this[_0x511ffb(0x71)]&&(_0x362181[_0x511ffb(0xaa)](_0x742b55,this[_0x511ffb(0x71)],_0x511ffb(0xac)),_0x518439=!0x0));const _0x456249={'id':_0x1095a5,'reference':_0x386f7d,'definition':_0x742b55},_0x3d9121=I(this[_0x511ffb(0x7e)][_0x511ffb(0xc4)],this[_0x511ffb(0xa3)],_0x386f7d);this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x3d9121,0x0,_0x456249);let _0x584999=_0x3d9121;return-0x1!==_0x4de705&&(_0x584999=Math[_0x511ffb(0x89)](_0x3d9121,_0x4de705)),this[_0x511ffb(0xc5)](_0x362181,_0x584999)&&(_0x518439=!0x0),_0x518439;}[_0x5db7df(0xa8)](_0x364ba6,_0x297d1e){const _0x4f7600=_0x5db7df,_0x12a18f=this[_0x4f7600(0xa3)][_0x4f7600(0x80)](_0x30f252=>_0x30f252['id']===_0x297d1e);if(-0x1===_0x12a18f)return!0x1;let _0x53a221=!0x1;const _0x6d7042=this[_0x4f7600(0xa3)][_0x12a18f];return _0x4f7600(0xb8)!==_0x6d7042[_0x4f7600(0xa2)][_0x4f7600(0x9c)][_0x4f7600(0xba)]&&(_0x364ba6[_0x4f7600(0x90)](_0x6d7042[_0x4f7600(0xa2)]),_0x53a221=!0x0),this[_0x4f7600(0xa3)][_0x4f7600(0xc1)](_0x12a18f,0x1),this[_0x4f7600(0xc5)](_0x364ba6,_0x12a18f)&&(_0x53a221=!0x0),_0x53a221;}[_0x5db7df(0x6d)](_0x177ad3,_0x1b059d){const _0x567244=_0x5db7df,_0x36b608=_0x1b059d[_0x567244(0x6f)](_0x567244(0xc6)),_0x4917d1=this[_0x567244(0xa3)][_0x567244(0x80)](_0xbecd17=>_0xbecd17['id']===_0x36b608),_0x411236=this[_0x567244(0xa3)][_0x4917d1];let _0x3202a5=!0x1;_0x411236[_0x567244(0x97)]=_0x1b059d,this[_0x567244(0xa3)][_0x567244(0xc1)](_0x4917d1,0x1);const _0x43b435=I(this[_0x567244(0x7e)][_0x567244(0xc4)],this[_0x567244(0xa3)],_0x1b059d);return this[_0x567244(0xa3)][_0x567244(0xc1)](_0x43b435,0x0,_0x411236),this[_0x567244(0xc5)](_0x177ad3,Math[_0x567244(0x89)](_0x4917d1,_0x43b435))&&(_0x3202a5=!0x0),_0x3202a5;}[_0x5db7df(0x99)](_0x35d1d2,_0x4e0b89){const _0x5a71fb=_0x5db7df;if(!this[_0x5a71fb(0x71)])return!0x1;const _0x58e2ac=this[_0x5a71fb(0xa3)][_0x4e0b89];let _0x4201c3;return _0x4201c3=this[_0x5a71fb(0xb2)]?this[_0x5a71fb(0xb2)]({'footnote':_0x58e2ac,'container':this[_0x5a71fb(0x71)],'digits':String(this[_0x5a71fb(0xa3)][_0x5a71fb(0xb5)])[_0x5a71fb(0xb5)],'value':_0x4e0b89+0x1}):String(_0x4e0b89+0x1),_0x58e2ac[_0x5a71fb(0x97)][_0x5a71fb(0x6f)](_0x5a71fb(0x8b))!=_0x4201c3&&(_0x35d1d2[_0x5a71fb(0xbb)](_0x5a71fb(0x8b),_0x4201c3,_0x58e2ac[_0x5a71fb(0x97)]),!0x0);}[_0x5db7df(0xae)](_0x166ffc){const _0x4f7f3a=_0x5db7df;if(!this[_0x4f7f3a(0x71)]||this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)]<0x2)return!0x1;if(function(_0x42db99,_0x3dfd7b){const _0x405105=_0x4f7f3a;if(_0x42db99[_0x405105(0xb5)]!==_0x3dfd7b[_0x405105(0xb5)])return!0x1;for(let _0x4ef21a=0x0;_0x4ef21a<_0x42db99[_0x405105(0xb5)];_0x4ef21a++)if(_0x42db99[_0x4ef21a]!==_0x3dfd7b[_0x4ef21a])return!0x1;return!0x0;}(this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xa5)](_0x12db7b=>_0x12db7b['id']),Array[_0x4f7f3a(0xca)](this[_0x4f7f3a(0x71)][_0x4f7f3a(0x85)]())[_0x4f7f3a(0xa5)](_0x28c7c4=>_0x28c7c4[_0x4f7f3a(0x6f)](_0x4f7f3a(0xc6)))))return!0x1;let _0x2f1ba0=!0x1;for(let _0x4d8be1=0x0;_0x4d8be1<this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)];_0x4d8be1++){const _0x1ba26a=this[_0x4f7f3a(0xa3)][_0x4d8be1],_0x52dec8=_0x166ffc[_0x4f7f3a(0x7c)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4=_0x166ffc[_0x4f7f3a(0x8d)](this[_0x4f7f3a(0x71)],_0x4d8be1);_0x52dec8[_0x4f7f3a(0x83)](_0x5c0fd4)||(_0x166ffc[_0x4f7f3a(0x86)](_0x166ffc[_0x4f7f3a(0xab)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4),_0x2f1ba0=!0x0);}return _0x2f1ba0;}[_0x5db7df(0x96)](_0x3f1dcc){const _0x23d095=_0x5db7df;if(!this[_0x23d095(0xa3)][_0x23d095(0xb5)])return!0x1;const {model:_0x115add}=this[_0x23d095(0x7e)];let _0x3e6efa=!0x1;for(let _0x54ceb4=0x0;_0x54ceb4<this[_0x23d095(0xa3)][_0x23d095(0xb5)]-0x1;_0x54ceb4++){const _0x2ede01=this[_0x23d095(0xa3)][_0x54ceb4],_0x1c339b=this[_0x23d095(0xa3)][_0x54ceb4+0x1],_0x516388=_0x115add[_0x23d095(0x7c)](_0x2ede01[_0x23d095(0x97)]),_0x85ef77=_0x115add[_0x23d095(0x7c)](_0x1c339b[_0x23d095(0x97)]);_0x23d095(0x93)===_0x516388[_0x23d095(0x98)](_0x85ef77)&&(this[_0x23d095(0x6d)](_0x3f1dcc,_0x2ede01[_0x23d095(0x97)]),_0x54ceb4=-0x1,_0x3e6efa=!0x0);}return _0x3e6efa;}}function _(_0x5ad4e2,_0x33ace2,_0x4495bb){const _0x23e46a=_0x5db7df;if(_0x4495bb[_0x23e46a(0xad)])return!0x1;const _0x17836b=_0x33ace2?_0x23e46a(0x78):_0x23e46a(0x9f);return _0x5ad4e2[_0x23e46a(0xaa)](_0x5ad4e2[_0x23e46a(0x91)](_0x17836b),_0x4495bb),!0x0;}function _0x4d7a(){const _0x56d83f=['unshift','createPositionAt','createRangeIn','getFootnotesDefinitionsObjectElement','remove','createElement','add','after','append','1174626LQONlI','_ensureFootnotesReferencesHaveProperOrder','reference','compareWith','_updateFootnoteRefCounter','init','parent','root','_ensureFootnotesDefinitionsContainerExists','719512LIWKSP','footnoteInlineContent','1006680FyuhoJ','getFootnotes','definition','_footnotes','_handleFootnotesDefinitionsObjectChanges','map','footnoteDefinition','indexOf','_handleRemoveFootnoteReferenceById','pluginName','insert','createRangeOn','end','childCount','_sortFootnoteDefinitions','reset','push','isPremiumPlugin','_footnoteFormatter','set','get','length','2421027lTSRYG','low','$graveyard','1178995QGGrNj','rootName','setAttribute','725790vwOoum','enqueueChange','registerPostFixer','footnotesDefinitions','_footnoteDefsTracker','splice','getFootnote','isOfficialPlugin','model','_updateFootnotesCounters','footnoteId','getFootnotesFormatter','getChanges','find','from','_handleFootnoteDefinitionsChanges','singleton','_footnoteRefsTracker','_insertEmptyFootnotesDefinitionsContainer','_handleMovedFootnoteReference','document','getAttribute','change:data','_footnotesDefinitions','5152572RcJadk','_handleFootnotesDefinitionsObjectSync','_footnoteDefsContainerTracker','setFootnoteFormatter','_handleFootnoteReferencesChanges','footnoteRef','paragraph','listenTo','high','_handleInsertedFootnoteReference','createPositionBefore','config','editor','before','findIndex','some','FootnotesTracker','isEqual','getRootNames','getChildren','move','differ','has','min','footnotes.multiBlock','footnoteCounter'];_0x4d7a=function(){return _0x56d83f;};return _0x4d7a();}function _0x25cc(_0x2aff1a,_0x1fb0f0){const _0x4d7a9b=_0x4d7a();return _0x25cc=function(_0x25cc25,_0x1ba94e){_0x25cc25=_0x25cc25-0x6a;let _0x22bd7e=_0x4d7a9b[_0x25cc25];return _0x22bd7e;},_0x25cc(_0x2aff1a,_0x1fb0f0);}function I(_0xf01f10,_0x3f1eab,_0x63af74){const _0x573d14=_0x5db7df;if(0x0===_0x3f1eab[_0x573d14(0xb5)])return 0x0;const _0x3f9712=_0xf01f10[_0x573d14(0x7c)](_0x63af74);for(let _0x1c025f=0x0;_0x1c025f<_0x3f1eab[_0x573d14(0xb5)];_0x1c025f++){const _0x51513a=_0x3f1eab[_0x1c025f],_0x1da0ef=_0xf01f10[_0x573d14(0x7c)](_0x51513a[_0x573d14(0x97)]);if(_0x573d14(0x7f)===_0x3f9712[_0x573d14(0x98)](_0x1da0ef))return _0x1c025f;}const _0x2ce4ec=_0x63af74[_0x573d14(0x9c)];let _0x285ae1=-0x1;for(let _0x46d058=_0x3f1eab[_0x573d14(0xb5)]-0x1;_0x46d058>=0x0;_0x46d058--)if(_0x3f1eab[_0x46d058][_0x573d14(0x97)][_0x573d14(0x9c)]===_0x2ce4ec){_0x285ae1=_0x46d058;break;}if(-0x1!==_0x285ae1)return _0x285ae1+0x1;const _0xcecd3=_0xf01f10[_0x573d14(0x6e)][_0x573d14(0x84)](),_0x1389b3=_0xcecd3[_0x573d14(0xa7)](_0x2ce4ec[_0x573d14(0xba)]),_0x516dcb=_0xcecd3[_0x1389b3+0x1];if(_0x516dcb){for(let _0x2712b1=0x0;_0x2712b1<_0x3f1eab[_0x573d14(0xb5)];_0x2712b1++)if(_0x3f1eab[_0x2712b1][_0x573d14(0x97)][_0x573d14(0x9c)][_0x573d14(0xba)]===_0x516dcb)return _0x2712b1;}return _0x3f1eab[_0x573d14(0xb5)];}
|
|
23
|
+
const _0x2c5c44=_0xe431;(function(_0x4b4167,_0x5e6fdc){const _0x2caca4=_0xe431,_0xa5ea59=_0x4b4167();while(!![]){try{const _0x543519=parseInt(_0x2caca4(0x243))/0x1*(parseInt(_0x2caca4(0x247))/0x2)+-parseInt(_0x2caca4(0x254))/0x3*(parseInt(_0x2caca4(0x229))/0x4)+parseInt(_0x2caca4(0x20f))/0x5+parseInt(_0x2caca4(0x23c))/0x6*(-parseInt(_0x2caca4(0x223))/0x7)+parseInt(_0x2caca4(0x220))/0x8+parseInt(_0x2caca4(0x21e))/0x9+-parseInt(_0x2caca4(0x23a))/0xa*(-parseInt(_0x2caca4(0x22a))/0xb);if(_0x543519===_0x5e6fdc)break;else _0xa5ea59['push'](_0xa5ea59['shift']());}catch(_0x3814c0){_0xa5ea59['push'](_0xa5ea59['shift']());}}}(_0x2f07,0x6d4b4));import{Plugin as _0x2a0192}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x87bba4}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2a0192{[_0x2c5c44(0x20a)]=[];[_0x2c5c44(0x24f)]=null;[_0x2c5c44(0x201)]=null;[_0x2c5c44(0x233)];[_0x2c5c44(0x22b)];[_0x2c5c44(0x24c)];static get[_0x2c5c44(0x218)](){const _0xaef489=_0x2c5c44;return _0xaef489(0x226);}static get[_0x2c5c44(0x203)](){return!0x0;}static get[_0x2c5c44(0x211)](){return!0x0;}constructor(_0xd9cd45){const _0x4a7130=_0x2c5c44;super(_0xd9cd45),this[_0x4a7130(0x233)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x200),'getElementKey':()=>_0x4a7130(0x206)}),this[_0x4a7130(0x22b)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x240),'getElementKey':_0x3b1862=>_0x3b1862[_0x4a7130(0x1f6)](_0x4a7130(0x236))}),this[_0x4a7130(0x24c)]=new _0x87bba4(this[_0x4a7130(0x23f)][_0x4a7130(0x238)],{'elementName':_0x4a7130(0x22c),'getElementKey':_0x2da968=>_0x2da968[_0x4a7130(0x1f6)](_0x4a7130(0x236))});}[_0x2c5c44(0x216)](){const _0x229e11=_0x2c5c44,{editor:_0xf991db}=this,{model:_0x241521,data:_0x5cc788}=_0xf991db;_0x241521[_0x229e11(0x209)][_0x229e11(0x244)](_0x403736=>{const _0x22b098=_0x229e11,_0x2c8277=_0x241521[_0x22b098(0x209)][_0x22b098(0x24b)][_0x22b098(0x252)]();let _0x408ec5=!0x1;return this[_0x22b098(0x246)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x239)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x250)](_0x403736,_0x2c8277)&&(_0x408ec5=!0x0),this[_0x22b098(0x210)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x1f2)](_0x403736)&&(_0x408ec5=!0x0),this[_0x22b098(0x224)](_0x403736)&&(_0x408ec5=!0x0),_0x408ec5;}),this[_0x229e11(0x1fa)](_0x241521[_0x229e11(0x209)],_0x229e11(0x22e),()=>{const _0x46313b=_0x229e11;_0x241521[_0x46313b(0x251)]({'isUndoable':!0x1},_0x449d43=>{const _0x27eab4=_0x46313b;this[_0x27eab4(0x234)](_0x449d43);});},{'priority':_0x229e11(0x24a)}),this[_0x229e11(0x1fa)](_0x5cc788,_0x229e11(0x245),()=>{const _0x570413=_0x229e11;this[_0x570413(0x20a)]=[],this[_0x570413(0x233)][_0x570413(0x21c)](),this[_0x570413(0x22b)][_0x570413(0x21c)](),this[_0x570413(0x24c)][_0x570413(0x21c)]();},{'priority':_0x229e11(0x213)});}[_0x2c5c44(0x221)](){const _0x278e00=_0x2c5c44;return this[_0x278e00(0x24f)];}[_0x2c5c44(0x1f9)](_0x749436){const _0x16d76f=_0x2c5c44;return this[_0x16d76f(0x20a)][_0x16d76f(0x202)](_0x4ce049=>_0x4ce049['id']===_0x749436)||null;}[_0x2c5c44(0x205)](){const _0x3a6221=_0x2c5c44;return Array[_0x3a6221(0x21f)](this[_0x3a6221(0x20a)]);}[_0x2c5c44(0x21a)](){const _0x1e38fd=_0x2c5c44;return this[_0x1e38fd(0x201)];}[_0x2c5c44(0x237)](_0x4b4221){const _0x1fba41=_0x2c5c44;this[_0x1fba41(0x201)]=_0x4b4221;}[_0x2c5c44(0x1fc)](_0x1a2f66,_0x1413e1=0x0){const _0x4ac969=_0x2c5c44;let _0x2408a0=!0x1;for(let _0x37749b=_0x1413e1;_0x37749b<this[_0x4ac969(0x20a)][_0x4ac969(0x217)];_0x37749b++)this[_0x4ac969(0x1fe)](_0x1a2f66,_0x37749b)&&(_0x2408a0=!0x0);return _0x2408a0;}[_0x2c5c44(0x20d)](_0x2ea287,_0x3ee368){const _0x2034dc=_0x2c5c44,_0x4764c6=_0x2ea287[_0x2034dc(0x21d)](_0x2034dc(0x200),{});return _0x2ea287[_0x2034dc(0x214)](_0x4764c6,_0x3ee368),this[_0x2034dc(0x24f)]=_0x4764c6,_0x4764c6;}[_0x2c5c44(0x234)](_0x508644){const _0x3d975b=_0x2c5c44;if(!this[_0x3d975b(0x20a)][_0x3d975b(0x217)]||this[_0x3d975b(0x24f)])return;const _0xb281ff=this[_0x3d975b(0x20a)][0x0][_0x3d975b(0x227)][_0x3d975b(0x1ff)],_0x16cbb6=this[_0x3d975b(0x20d)](_0x508644,_0xb281ff);for(const _0x5d1f6 of this[_0x3d975b(0x20a)])_0x5d1f6[_0x3d975b(0x20e)][_0x3d975b(0x1f0)]||_0x508644[_0x3d975b(0x1fd)](_0x5d1f6[_0x3d975b(0x20e)],_0x16cbb6,_0x3d975b(0x253));this[_0x3d975b(0x1fc)](_0x508644);}[_0x2c5c44(0x246)](_0x5527f7,_0x114279){const _0x1472b3=_0x2c5c44;let _0x46ed10=!0x1;const {inserted:_0x5639f4,removed:_0x1f522b,moved:_0x5bf7f9}=this[_0x1472b3(0x233)][_0x1472b3(0x252)](_0x114279);if(_0x5bf7f9[_0x1472b3(0x217)]&&(this[_0x1472b3(0x24f)]=_0x5bf7f9[0x0]),_0x5639f4[_0x1472b3(0x217)]){if(_0x5639f4[_0x1472b3(0x217)]>0x1||this[_0x1472b3(0x24f)]&&_0x5639f4[_0x1472b3(0x255)](_0xe78977=>_0xe78977!==this[_0x1472b3(0x24f)])){const _0x484b0e=_0x5527f7[_0x1472b3(0x21d)](_0x1472b3(0x200),{}),_0x33a825=[];this[_0x1472b3(0x24f)]&&_0x33a825[_0x1472b3(0x242)](this[_0x1472b3(0x24f)]),_0x33a825[_0x1472b3(0x242)](..._0x5639f4),_0x5527f7[_0x1472b3(0x1fd)](_0x484b0e,_0x33a825[0x0],_0x1472b3(0x235));for(const _0x40773f of _0x33a825)_0x5527f7[_0x1472b3(0x232)](_0x5527f7[_0x1472b3(0x1f8)](_0x40773f),_0x5527f7[_0x1472b3(0x23e)](_0x484b0e,_0x1472b3(0x253))),_0x5527f7[_0x1472b3(0x21b)](_0x40773f);this[_0x1472b3(0x24f)]=_0x484b0e,this[_0x1472b3(0x1fc)](_0x5527f7),_0x46ed10=!0x0;}else this[_0x1472b3(0x24f)]=_0x5639f4[0x0];}if(_0x1f522b[_0x1472b3(0x217)]&&_0x1472b3(0x1f5)===this[_0x1472b3(0x24f)]?.[_0x1472b3(0x1ff)][_0x1472b3(0x23d)]){for(const _0x48f383 of this[_0x1472b3(0x20a)])_0x5527f7[_0x1472b3(0x21b)](_0x48f383[_0x1472b3(0x227)]),_0x46ed10=!0x0;this[_0x1472b3(0x20a)]=[],this[_0x1472b3(0x24f)]=null;}return _0x46ed10;}[_0x2c5c44(0x239)](_0x2912b7,_0x24e039){const _0x1a7d48=_0x2c5c44;let _0x36c6c2=!0x1;const _0x53823c=this[_0x1a7d48(0x23f)][_0x1a7d48(0x204)][_0x1a7d48(0x230)](_0x1a7d48(0x24e)),{inserted:_0x488eff,moved:_0xc9ca6f}=this[_0x1a7d48(0x24c)][_0x1a7d48(0x252)](_0x24e039);for(const _0x4b745e of[..._0xc9ca6f,..._0x488eff]){const _0x3097b1=_0x4b745e[_0x1a7d48(0x1f6)](_0x1a7d48(0x236)),_0x517580=this[_0x1a7d48(0x1f9)](_0x3097b1);_0x517580&&(_0x517580[_0x1a7d48(0x20e)]=_0x4b745e),_(_0x2912b7,_0x53823c,_0x4b745e)&&(_0x36c6c2=!0x0);}return _0x36c6c2;}[_0x2c5c44(0x250)](_0x428a95,_0x4e1378){const _0x350333=_0x2c5c44;let _0x1753f3=!0x1;const {removed:_0x173682,inserted:_0x532dc8,moved:_0x46e567}=this[_0x350333(0x22b)][_0x350333(0x252)](_0x4e1378);for(const _0x447a00 of _0x173682)this[_0x350333(0x212)](_0x428a95,_0x447a00)&&(_0x1753f3=!0x0);for(const _0x358ee3 of _0x532dc8)this[_0x350333(0x231)](_0x428a95,_0x358ee3)&&(_0x1753f3=!0x0);for(const _0x4f56ba of _0x46e567)this[_0x350333(0x1fb)](_0x428a95,_0x4f56ba)&&(_0x1753f3=!0x0);return _0x1753f3;}[_0x2c5c44(0x1f2)](_0x1d9d04){const _0x1da206=_0x2c5c44;if(!this[_0x1da206(0x24f)])return!0x1;let _0x1b62d2=!0x1;if(this[_0x1da206(0x24f)][_0x1da206(0x207)]!==this[_0x1da206(0x20a)][_0x1da206(0x217)]){const _0xe332ca=[];for(const _0x5b74c8 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x3fbbe2=_0x5b74c8[_0x1da206(0x1f6)](_0x1da206(0x236));this[_0x1da206(0x1f9)](_0x3fbbe2)||(_0xe332ca[_0x1da206(0x1f1)](_0x5b74c8),_0x1b62d2=!0x0);}for(const _0x126c67 of _0xe332ca)_0x1d9d04[_0x1da206(0x21b)](_0x126c67);}const _0x44691f=new Set(),_0x567820=[];for(const _0x234cc1 of this[_0x1da206(0x24f)][_0x1da206(0x225)]()){const _0x148025=_0x234cc1[_0x1da206(0x1f6)](_0x1da206(0x236));_0x44691f[_0x1da206(0x228)](_0x148025)?(_0x567820[_0x1da206(0x1f1)](_0x234cc1),_0x1b62d2=!0x0):_0x44691f[_0x1da206(0x22d)](_0x148025);}for(const _0x5174e6 of _0x567820)_0x1d9d04[_0x1da206(0x21b)](_0x5174e6);return this[_0x1da206(0x24f)][_0x1da206(0x207)]||(_0x1d9d04[_0x1da206(0x21b)](this[_0x1da206(0x24f)]),this[_0x1da206(0x24f)]=null,_0x1b62d2=!0x0),_0x1b62d2;}[_0x2c5c44(0x231)](_0x3708b7,_0x32b8e8){const _0x1ca41f=_0x2c5c44;if(this[_0x1ca41f(0x20a)][_0x1ca41f(0x202)](_0x417cf2=>_0x417cf2[_0x1ca41f(0x227)]===_0x32b8e8))return!0x1;let _0x4ddc1f=!0x1;const _0x127e74=_0x32b8e8[_0x1ca41f(0x1f6)](_0x1ca41f(0x236)),_0x21acd5=this[_0x1ca41f(0x20a)][_0x1ca41f(0x249)](_0x5613d5=>_0x5613d5['id']===_0x127e74);-0x1!==_0x21acd5&&(_0x3708b7[_0x1ca41f(0x21b)](this[_0x1ca41f(0x20a)][_0x21acd5][_0x1ca41f(0x227)]),this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x21acd5,0x1),_0x4ddc1f=!0x0);let _0x2c49b7=this[_0x1ca41f(0x24f)]?function(_0x1b1981,_0x487f97){const _0x5748bb=_0x1ca41f;for(const _0x3f0723 of _0x1b1981[_0x5748bb(0x225)]())if(_0x3f0723[_0x5748bb(0x1f6)](_0x5748bb(0x236))===_0x487f97)return _0x3f0723;return null;}(this[_0x1ca41f(0x24f)],_0x127e74):null;_0x2c49b7||(_0x2c49b7=_0x3708b7[_0x1ca41f(0x21d)](_0x1ca41f(0x22c),{'footnoteId':_0x127e74}),this[_0x1ca41f(0x24f)]&&(_0x3708b7[_0x1ca41f(0x1fd)](_0x2c49b7,this[_0x1ca41f(0x24f)],_0x1ca41f(0x253)),_0x4ddc1f=!0x0));const _0x137b18={'id':_0x127e74,'reference':_0x32b8e8,'definition':_0x2c49b7},_0x17a5bc=I(this[_0x1ca41f(0x23f)][_0x1ca41f(0x238)],this[_0x1ca41f(0x20a)],_0x32b8e8);this[_0x1ca41f(0x20a)][_0x1ca41f(0x222)](_0x17a5bc,0x0,_0x137b18);let _0x390901=_0x17a5bc;return-0x1!==_0x21acd5&&(_0x390901=Math[_0x1ca41f(0x1f3)](_0x17a5bc,_0x21acd5)),this[_0x1ca41f(0x1fc)](_0x3708b7,_0x390901)&&(_0x4ddc1f=!0x0),_0x4ddc1f;}[_0x2c5c44(0x212)](_0x391c14,_0x5cb452){const _0x85240f=_0x2c5c44,_0x4219f3=this[_0x85240f(0x20a)][_0x85240f(0x249)](_0x1b7e88=>_0x1b7e88['id']===_0x5cb452);if(-0x1===_0x4219f3)return!0x1;let _0x145741=!0x1;const _0x357e8b=this[_0x85240f(0x20a)][_0x4219f3];return _0x85240f(0x1f5)!==_0x357e8b[_0x85240f(0x20e)][_0x85240f(0x1ff)][_0x85240f(0x23d)]&&(_0x391c14[_0x85240f(0x21b)](_0x357e8b[_0x85240f(0x20e)]),_0x145741=!0x0),this[_0x85240f(0x20a)][_0x85240f(0x222)](_0x4219f3,0x1),this[_0x85240f(0x1fc)](_0x391c14,_0x4219f3)&&(_0x145741=!0x0),_0x145741;}[_0x2c5c44(0x1fb)](_0x403130,_0x4e4d07){const _0x522171=_0x2c5c44,_0x1e240d=_0x4e4d07[_0x522171(0x1f6)](_0x522171(0x236)),_0x1fee47=this[_0x522171(0x20a)][_0x522171(0x249)](_0x4efdaf=>_0x4efdaf['id']===_0x1e240d),_0x4cb921=this[_0x522171(0x20a)][_0x1fee47];let _0x5d696e=!0x1;_0x4cb921[_0x522171(0x227)]=_0x4e4d07,this[_0x522171(0x20a)][_0x522171(0x222)](_0x1fee47,0x1);const _0x1c5aea=I(this[_0x522171(0x23f)][_0x522171(0x238)],this[_0x522171(0x20a)],_0x4e4d07);return this[_0x522171(0x20a)][_0x522171(0x222)](_0x1c5aea,0x0,_0x4cb921),this[_0x522171(0x1fc)](_0x403130,Math[_0x522171(0x1f3)](_0x1fee47,_0x1c5aea))&&(_0x5d696e=!0x0),_0x5d696e;}[_0x2c5c44(0x1fe)](_0x2d2cb5,_0x570c5d){const _0x271f57=_0x2c5c44;if(!this[_0x271f57(0x24f)])return!0x1;const _0xf254df=this[_0x271f57(0x20a)][_0x570c5d];let _0x2850fb;return _0x2850fb=this[_0x271f57(0x201)]?this[_0x271f57(0x201)]({'footnote':_0xf254df,'container':this[_0x271f57(0x24f)],'digits':String(this[_0x271f57(0x20a)][_0x271f57(0x217)])[_0x271f57(0x217)],'value':_0x570c5d+0x1}):String(_0x570c5d+0x1),_0xf254df[_0x271f57(0x227)][_0x271f57(0x1f6)](_0x271f57(0x219))!=_0x2850fb&&(_0x2d2cb5[_0x271f57(0x248)](_0x271f57(0x219),_0x2850fb,_0xf254df[_0x271f57(0x227)]),!0x0);}[_0x2c5c44(0x224)](_0xeab594){const _0x4a8e9e=_0x2c5c44;if(!this[_0x4a8e9e(0x24f)]||this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)]<0x2)return!0x1;if(function(_0x1d828d,_0x5f1317){const _0x114743=_0x4a8e9e;if(_0x1d828d[_0x114743(0x217)]!==_0x5f1317[_0x114743(0x217)])return!0x1;for(let _0x172f7f=0x0;_0x172f7f<_0x1d828d[_0x114743(0x217)];_0x172f7f++)if(_0x1d828d[_0x172f7f]!==_0x5f1317[_0x172f7f])return!0x1;return!0x0;}(this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x22f)](_0x48de35=>_0x48de35['id']),Array[_0x4a8e9e(0x21f)](this[_0x4a8e9e(0x24f)][_0x4a8e9e(0x225)]())[_0x4a8e9e(0x22f)](_0x463f1a=>_0x463f1a[_0x4a8e9e(0x1f6)](_0x4a8e9e(0x236)))))return!0x1;let _0x268ccb=!0x1;for(let _0x4326d7=0x0;_0x4326d7<this[_0x4a8e9e(0x20a)][_0x4a8e9e(0x217)];_0x4326d7++){const _0x10f154=this[_0x4a8e9e(0x20a)][_0x4326d7],_0x395abb=_0xeab594[_0x4a8e9e(0x24d)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e=_0xeab594[_0x4a8e9e(0x23e)](this[_0x4a8e9e(0x24f)],_0x4326d7);_0x395abb[_0x4a8e9e(0x1f7)](_0x66156e)||(_0xeab594[_0x4a8e9e(0x232)](_0xeab594[_0x4a8e9e(0x20b)](_0x10f154[_0x4a8e9e(0x20e)]),_0x66156e),_0x268ccb=!0x0);}return _0x268ccb;}[_0x2c5c44(0x210)](_0x201180){const _0x27a7bb=_0x2c5c44;if(!this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)])return!0x1;const {model:_0x3823de}=this[_0x27a7bb(0x23f)];let _0x527be1=!0x1;for(let _0x19558b=0x0;_0x19558b<this[_0x27a7bb(0x20a)][_0x27a7bb(0x217)]-0x1;_0x19558b++){const _0x291957=this[_0x27a7bb(0x20a)][_0x19558b],_0x284e31=this[_0x27a7bb(0x20a)][_0x19558b+0x1],_0x32b0bf=_0x3823de[_0x27a7bb(0x24d)](_0x291957[_0x27a7bb(0x227)]),_0x529517=_0x3823de[_0x27a7bb(0x24d)](_0x284e31[_0x27a7bb(0x227)]);_0x27a7bb(0x241)===_0x32b0bf[_0x27a7bb(0x215)](_0x529517)&&(this[_0x27a7bb(0x1fb)](_0x201180,_0x291957[_0x27a7bb(0x227)]),_0x19558b=-0x1,_0x527be1=!0x0);}return _0x527be1;}}function _0xe431(_0x50182a,_0x2328f4){const _0x2f07e1=_0x2f07();return _0xe431=function(_0xe43132,_0x310c59){_0xe43132=_0xe43132-0x1f0;let _0x13ea2e=_0x2f07e1[_0xe43132];return _0x13ea2e;},_0xe431(_0x50182a,_0x2328f4);}function _(_0x355ba6,_0x5d3d8f,_0x1f89bf){const _0x13b100=_0x2c5c44;if(_0x1f89bf[_0x13b100(0x207)])return!0x1;const _0x5efcfc=_0x5d3d8f?_0x13b100(0x23b):_0x13b100(0x208);return _0x355ba6[_0x13b100(0x1fd)](_0x355ba6[_0x13b100(0x21d)](_0x5efcfc),_0x1f89bf),!0x0;}function _0x2f07(){const _0xeb9dbf=['_footnoteRefsTracker','footnoteDefinition','add','change:data','map','get','_handleInsertedFootnoteReference','move','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','before','footnoteId','setFootnoteFormatter','model','_handleFootnoteDefinitionsChanges','120vNUqrf','paragraph','1657938OXQngP','rootName','createPositionAt','editor','footnoteRef','after','push','191vrJAUB','registerPostFixer','set','_handleFootnotesDefinitionsObjectChanges','1362yAlwWr','setAttribute','findIndex','low','differ','_footnoteDefsTracker','createPositionBefore','footnotes.multiBlock','_footnotesDefinitions','_handleFootnoteReferencesChanges','enqueueChange','getChanges','end','3fHcAst','some','parent','unshift','_handleFootnotesDefinitionsObjectSync','min','indexOf','$graveyard','getAttribute','isEqual','createRangeIn','getFootnote','listenTo','_handleMovedFootnoteReference','_updateFootnotesCounters','insert','_updateFootnoteRefCounter','root','footnotesDefinitions','_footnoteFormatter','find','isOfficialPlugin','config','getFootnotes','singleton','childCount','footnoteInlineContent','document','_footnotes','createRangeOn','getRootNames','_insertEmptyFootnotesDefinitionsContainer','definition','2365710LOlBey','_ensureFootnotesReferencesHaveProperOrder','isPremiumPlugin','_handleRemoveFootnoteReferenceById','high','append','compareWith','init','length','pluginName','footnoteCounter','getFootnotesFormatter','remove','reset','createElement','3064473LlgkXB','from','377904OlvGYb','getFootnotesDefinitionsObjectElement','splice','7XlrHrw','_sortFootnoteDefinitions','getChildren','FootnotesTracker','reference','has','3087236oDIDAT','462781dUYecC'];_0x2f07=function(){return _0xeb9dbf;};return _0x2f07();}function I(_0x201f74,_0x1099f3,_0x252bb1){const _0x3339e1=_0x2c5c44;if(0x0===_0x1099f3[_0x3339e1(0x217)])return 0x0;const _0x15a2a9=_0x201f74[_0x3339e1(0x24d)](_0x252bb1);for(let _0xa47f3a=0x0;_0xa47f3a<_0x1099f3[_0x3339e1(0x217)];_0xa47f3a++){const _0x5aad15=_0x1099f3[_0xa47f3a],_0x2452f3=_0x201f74[_0x3339e1(0x24d)](_0x5aad15[_0x3339e1(0x227)]);if(_0x3339e1(0x235)===_0x15a2a9[_0x3339e1(0x215)](_0x2452f3))return _0xa47f3a;}const _0x362621=_0x252bb1[_0x3339e1(0x1ff)];let _0x59ca83=-0x1;for(let _0x5d34d6=_0x1099f3[_0x3339e1(0x217)]-0x1;_0x5d34d6>=0x0;_0x5d34d6--)if(_0x1099f3[_0x5d34d6][_0x3339e1(0x227)][_0x3339e1(0x1ff)]===_0x362621){_0x59ca83=_0x5d34d6;break;}if(-0x1!==_0x59ca83)return _0x59ca83+0x1;const _0x3b8fd0=_0x201f74[_0x3339e1(0x209)][_0x3339e1(0x20c)](),_0x238a98=_0x3b8fd0[_0x3339e1(0x1f4)](_0x362621[_0x3339e1(0x23d)]),_0x32c9d3=_0x3b8fd0[_0x238a98+0x1];if(_0x32c9d3){for(let _0x495e34=0x0;_0x495e34<_0x1099f3[_0x3339e1(0x217)];_0x495e34++)if(_0x1099f3[_0x495e34][_0x3339e1(0x227)][_0x3339e1(0x1ff)][_0x3339e1(0x23d)]===_0x32c9d3)return _0x495e34;}return _0x1099f3[_0x3339e1(0x217)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x552799,MenuBarMenuListItemButtonView as _0x29b8a6}from'ckeditor5/src/ui.js';import{Plugin as _0x58f75f}from'ckeditor5/src/core.js';import{IconFootnote as _0x1e0b5a}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x58f75f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x385317}=this,{componentFactory:_0x285f87}=_0x385317['ui'];_0x285f87['add']('insertFootnote',x(_0x385317,_0x552799)),_0x285f87['add']('menuBar:insertFootnote',x(_0x385317,_0x29b8a6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x313974=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c97a1;for(const _0x57c4d5 in _0x313974){const _0x7e7114=_0x57c4d5,_0x368a34=_0x313974[_0x7e7114];if('footnotesLicenseKeyValid'==_0x368a34||'footnotesLicenseKeyInvalid'==_0x368a34||'footnotesLicenseKeyExpired'==_0x368a34||'footnotesLicenseKeyDomainLimit'==_0x368a34||'footnotesLicenseKeyNotAllowed'==_0x368a34||'footnotesLicenseKeyEvaluationLimit'==_0x368a34||'footnotesLicenseKeyTrialLimit'==_0x368a34||'footnotesLicenseKeyUsageLimit'==_0x368a34){delete _0x313974[_0x7e7114],_0x4c97a1=_0x368a34,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4c97a1&&_0x313974['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4c97a1&&_0x313974['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4c97a1&&_0x313974['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4c97a1&&_0x313974['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x57f8be,_0x795c26){const _0x1da3c1=_0x57f8be['commands']['get']('insertFootnote');return _0x193be8=>{const {t:t}=_0x193be8,_0x542516=new _0x795c26(_0x193be8),_0x198b95=_0x542516 instanceof _0x29b8a6;return _0x542516['bind']('isEnabled')['to'](_0x1da3c1,'isEnabled'),_0x542516['set']({'label':t(_0x198b95?'Footnote':'Insert\x20footnote'),'icon':_0x1e0b5a,'tooltip':!0x0}),_0x542516['on']('execute',()=>{_0x1da3c1['execute'](),_0x57f8be['editing']['view']['focus']();}),_0x542516;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44c2bc,_0x1f704d){var _0x4b03fb=_0xe234,_0x49136a=_0x44c2bc();while(!![]){try{var _0x16f48f=parseInt(_0x4b03fb(0x108))/0x1*(-parseInt(_0x4b03fb(0x106))/0x2)+-parseInt(_0x4b03fb(0x104))/0x3*(parseInt(_0x4b03fb(0x10a))/0x4)+parseInt(_0x4b03fb(0x103))/0x5+-parseInt(_0x4b03fb(0x102))/0x6+parseInt(_0x4b03fb(0x107))/0x7*(-parseInt(_0x4b03fb(0x109))/0x8)+parseInt(_0x4b03fb(0x105))/0x9+parseInt(_0x4b03fb(0x10b))/0xa;if(_0x16f48f===_0x1f704d)break;else _0x49136a['push'](_0x49136a['shift']());}catch(_0x34b99c){_0x49136a['push'](_0x49136a['shift']());}}}(_0x5b2a,0xf2a3f));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0xe234(_0x48be14,_0x2d40e4){var _0x5b2a02=_0x5b2a();return _0xe234=function(_0xe234bc,_0x465ca9){_0xe234bc=_0xe234bc-0x102;var _0x3db23a=_0x5b2a02[_0xe234bc];return _0x3db23a;},_0xe234(_0x48be14,_0x2d40e4);}function _0x5b2a(){var _0x3fe3ee=['31102850rovYjf','2012376ScaywD','2917715YUMTBI','1184433ximNTc','6616377kdbTxv','382AbvWst','581pIIsgt','4157SKQkfc','70024jQinIb','16fQtXza'];_0x5b2a=function(){return _0x3fe3ee;};return _0x5b2a();}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x406683=_0x2e6f;function _0x2e6f(_0x35f708,_0x5df8cb){const _0xbcf734=_0xbcf7();return _0x2e6f=function(_0x2e6fd6,_0x3d7cb2){_0x2e6fd6=_0x2e6fd6-0x179;let _0x4cd143=_0xbcf734[_0x2e6fd6];return _0x4cd143;},_0x2e6f(_0x35f708,_0x5df8cb);}function _0xbcf7(){const _0x4541ad=['clear','getItems','type','2247534OhfkOz','19699960QWJXaS','_model','getChanges','$text','attributes','remove','1755264GosFpu','flat','elementName','set','slice','length','$graveyard','name','add','nodeAfter','getElementKey','values','has','142198jEVkpp','_getElementKey','element','rootName','_elementName','position','insert','get','2636112PgscAc','reset','from','delete','10YViCyS','push','createRangeOn','root','4872408rXLAei','_trackedElements','1250130rQDpkm'];_0xbcf7=function(){return _0x4541ad;};return _0xbcf7();}(function(_0xee407b,_0x51f635){const _0x4c81a0=_0x2e6f,_0xd46eaf=_0xee407b();while(!![]){try{const _0x3592c4=parseInt(_0x4c81a0(0x18d))/0x1+parseInt(_0x4c81a0(0x180))/0x2+-parseInt(_0x4c81a0(0x179))/0x3+-parseInt(_0x4c81a0(0x19d))/0x4+-parseInt(_0x4c81a0(0x199))/0x5*(parseInt(_0x4c81a0(0x195))/0x6)+parseInt(_0x4c81a0(0x19f))/0x7+parseInt(_0x4c81a0(0x17a))/0x8;if(_0x3592c4===_0x51f635)break;else _0xd46eaf['push'](_0xd46eaf['shift']());}catch(_0x2a8cba){_0xd46eaf['push'](_0xd46eaf['shift']());}}}(_0xbcf7,0xc6f53));export class ModelElementTracker{[_0x406683(0x17b)];[_0x406683(0x191)];[_0x406683(0x18e)];[_0x406683(0x19e)]=new Map();constructor(_0x3d7346,_0x298433){const _0x13ca23=_0x406683;this[_0x13ca23(0x17b)]=_0x3d7346,this[_0x13ca23(0x191)]=_0x298433[_0x13ca23(0x182)],this[_0x13ca23(0x18e)]=_0x298433[_0x13ca23(0x18a)];}[_0x406683(0x196)](){const _0x22522a=_0x406683;this[_0x22522a(0x19e)][_0x22522a(0x1a0)]();}[_0x406683(0x17c)](_0x37e935){const _0x5600db=_0x406683,_0x122452=new Set(),_0x4c5bc7=new Map();for(const _0x3b80cb of _0x37e935){if(_0x5600db(0x193)===_0x3b80cb[_0x5600db(0x1a2)]&&_0x5600db(0x17d)!==_0x3b80cb[_0x5600db(0x187)]&&_0x3b80cb[_0x5600db(0x192)][_0x5600db(0x189)]){const _0x4e03af=this[_0x5600db(0x17b)][_0x5600db(0x19b)](_0x3b80cb[_0x5600db(0x192)][_0x5600db(0x189)]);for(const _0x43dd83 of _0x4e03af[_0x5600db(0x1a1)]()){if(!_0x43dd83['is'](_0x5600db(0x18f),this[_0x5600db(0x191)]))continue;const _0x5b3aa9=this[_0x5600db(0x18e)](_0x43dd83);_0x4c5bc7[_0x5600db(0x18c)](_0x5b3aa9)||_0x4c5bc7[_0x5600db(0x183)](_0x5b3aa9,[]),_0x4c5bc7[_0x5600db(0x194)](_0x5b3aa9)[_0x5600db(0x19a)](_0x43dd83);}}if(_0x5600db(0x17f)===_0x3b80cb[_0x5600db(0x1a2)]&&_0x3b80cb[_0x5600db(0x187)]===this[_0x5600db(0x191)]){const _0x428a10=this[_0x5600db(0x18e)]({'getAttribute':_0x143198=>_0x3b80cb[_0x5600db(0x17e)][_0x5600db(0x194)](_0x143198)});_0x122452[_0x5600db(0x188)](_0x428a10);}}for(const [_0x1e9106,_0xcfe1a5]of this[_0x5600db(0x19e)])_0x5600db(0x186)===_0xcfe1a5[_0x5600db(0x19c)][_0x5600db(0x190)]&&_0x122452[_0x5600db(0x188)](_0x1e9106);for(const _0x2336c7 of _0x122452)this[_0x5600db(0x19e)][_0x5600db(0x198)](_0x2336c7);for(const [_0xbf6610,_0x534bef]of _0x4c5bc7)this[_0x5600db(0x19e)][_0x5600db(0x183)](_0xbf6610,_0x534bef[_0x534bef[_0x5600db(0x185)]-0x1]);const _0x19aac6=new Set();for(const [_0x2f53ae,_0x40eba3]of _0x4c5bc7)_0x122452[_0x5600db(0x18c)](_0x2f53ae)&&(_0x19aac6[_0x5600db(0x188)](_0x40eba3[0x0]),_0x40eba3[_0x5600db(0x185)]>0x1?_0x4c5bc7[_0x5600db(0x183)](_0x2f53ae,_0x40eba3[_0x5600db(0x184)](0x1)):_0x4c5bc7[_0x5600db(0x198)](_0x2f53ae),_0x122452[_0x5600db(0x198)](_0x2f53ae));return{'removed':Array[_0x5600db(0x197)](_0x122452),'inserted':Array[_0x5600db(0x197)](_0x4c5bc7[_0x5600db(0x18b)]())[_0x5600db(0x181)](),'moved':Array[_0x5600db(0x197)](_0x19aac6)};}}
|