@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251217.0 → 0.0.0-nightly-next-20251217.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/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.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 _0x45188e}from'ckeditor5/src/core.js';import{isWidget as _0x1584e5,toWidget as _0xbb7b,toWidgetEditable as _0x5b1148}from'ckeditor5/src/widget.js';import{uid as _0x432d86}from'ckeditor5/src/utils.js';import{PointerObserver as _0xdd4942,ClickObserver as _0x1b3d36}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x131dd8}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x8009e2}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x45188e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x131dd8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5eb9bd}=this;_0x5eb9bd['config']['define']('footnotes.multiBlock',!0x0),_0x5eb9bd['commands']['add']('insertFootnote',new _0x8009e2(_0x5eb9bd)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x141370){const _0x29384b=_0x45a558([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]),_0x404c18=0x47a28506,_0x15f63e=0x47a5f92e^_0x404c18,_0xc8230=window[_0x45a558([0x44,0x61,0x74,0x65])][_0x45a558([0x6e,0x6f,0x77])](),_0x4599d6=_0x141370[_0x45a558([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28fb44=new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e510=>{_0x4599d6[_0x45a558([0x6f,0x6e,0x63,0x65])](_0x45a558([0x72,0x65,0x61,0x64,0x79]),_0x51e510);}),_0x30f343={[_0x45a558([0x6b,0x74,0x79])]:_0x45a558([0x45,0x43]),[_0x45a558([0x75,0x73,0x65])]:_0x45a558([0x73,0x69,0x67]),[_0x45a558([0x63,0x72,0x76])]:_0x45a558([0x50,0x2d,0x32,0x35,0x36]),[_0x45a558([0x78])]:_0x45a558([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]),[_0x45a558([0x79])]:_0x45a558([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]),[_0x45a558([0x61,0x6c,0x67])]:_0x45a558([0x45,0x53,0x32,0x35,0x36])},_0x5b942b=_0x4599d6[_0x45a558([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45a558([0x67,0x65,0x74])](_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4639ef(){let _0x127415,_0x11d5d6=null,_0x1d9de9=null;try{if(_0x5b942b==_0x45a558([0x47,0x50,0x4c]))return _0x45a558([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x127415=_0x7f63d1(),!_0x127415)return _0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x127415[_0x45a558([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d9de9=_0x2b4508(_0x127415[_0x45a558([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x127415[_0x45a558([0x6a,0x74,0x69])])),await _0x177735()?_0x146a45()?_0x393cf8()?_0x45a558([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1682e6()?(_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45a558([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11d5d6=_0x131821(_0x45a558([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45a558([0x74,0x72,0x69,0x61,0x6c])&&(_0x11d5d6=_0x131821(_0x45a558([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c9ece()):_0x45a558([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45a558([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x393cf8(){const _0x57afc9=[_0x45a558([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45a558([0x74,0x72,0x69,0x61,0x6c])][_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc8230/0x3e8:0xe10*_0x15f63e;return _0x127415[_0x45a558([0x65,0x78,0x70])]<_0x57afc9;}function _0x146a45(){const _0x2b5c4f=_0x127415[_0x45a558([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b5c4f&&(!!_0x2b5c4f[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x2a]))||!!_0x2b5c4f[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x46,0x4f,0x4f])));}function _0x1682e6(){const _0x52128b=_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x52128b||0x0==_0x52128b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d840f}=new URL(window[_0x45a558([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x52128b[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d840f))return!0x0;const _0x2b0932=_0x1d840f[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e]));return _0x52128b[_0x45a558([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aded4=>_0x2aded4[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x2a])))[_0x45a558([0x6d,0x61,0x70])](_0x31e309=>_0x31e309[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e])))[_0x45a558([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x126223=>_0x126223[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b0932[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a558([0x6d,0x61,0x70])](_0x5979dc=>Array(_0x2b0932[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5979dc[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a558([0x66,0x69,0x6c,0x6c])](_0x5979dc[0x0]===_0x45a558([0x2a])?_0x45a558([0x2a]):'')[_0x45a558([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5979dc))[_0x45a558([0x73,0x6f,0x6d,0x65])](_0x4a5677=>_0x2b0932[_0x45a558([0x65,0x76,0x65,0x72,0x79])]((_0x28e4fb,_0x5220dd)=>_0x4a5677[_0x5220dd]===_0x28e4fb||_0x4a5677[_0x5220dd]===_0x45a558([0x2a])));}function _0x2c9ece(){return _0x11d5d6&&_0x1d9de9?new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25c929,_0x2c92e2)=>{_0x11d5d6[_0x45a558([0x74,0x68,0x65,0x6e])](_0x25c929,_0x2c92e2),_0x1d9de9[_0x45a558([0x74,0x68,0x65,0x6e])](_0x254122=>{_0x254122!=_0x45a558([0x56,0x61,0x6c,0x69,0x64])&&_0x25c929(_0x254122);},_0x2c92e2);}):_0x11d5d6||_0x1d9de9||_0x45a558([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b4508(_0x3f6176,_0x275a95){return new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xffd810=>{if(_0x5062c1())return _0xffd810(_0x45a558([0x56,0x61,0x6c,0x69,0x64]));_0x41d5c9(),_0x4599d6[_0x45a558([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2073da=!0x1;const _0xcb3411=_0x432d86();function _0x36b00d(_0x1e71c9){return!!_0x1e71c9&&(typeof _0x1e71c9===_0x45a558([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e71c9===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e71c9[_0x45a558([0x74,0x68,0x65,0x6e])]===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e71c9[_0x45a558([0x63,0x61,0x74,0x63,0x68])]===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36b95c(_0x32f7af){_0x541564(_0x32f7af)[_0x45a558([0x74,0x68,0x65,0x6e])](_0x1e8413=>{if(!_0x1e8413||_0x1e8413[_0x45a558([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45a558([0x6f,0x6b]))return _0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x392b61(_0x1208c6(_0xcb3411+_0x275a95))!=_0x1e8413[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45a558([0x56,0x61,0x6c,0x69,0x64]);})[_0x45a558([0x74,0x68,0x65,0x6e])](_0xd5756=>(_0x158344(),_0xd5756),()=>{const _0x367810=_0x495fe7();return null==_0x367810?(_0x158344(),_0x45a558([0x56,0x61,0x6c,0x69,0x64])):_0x45a558(_0xc8230-_0x367810>(0x63ae0106^_0x404c18)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45a558([0x74,0x68,0x65,0x6e])](_0xffd810)[_0x45a558([0x63,0x61,0x74,0x63,0x68])](()=>{_0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59eb6e=0x47946b86^_0x404c18;function _0x158344(){const _0x1063a1=_0x45a558([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b61(_0x1208c6(_0x3f6176)),_0x480d9e=_0x1692bf(_0x392b61(window[_0x45a558([0x4d,0x61,0x74,0x68])][_0x45a558([0x63,0x65,0x69,0x6c])](_0xc8230/_0x59eb6e)));window[_0x45a558([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a558([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1063a1,_0x480d9e);}function _0x495fe7(){const _0x4c67d7=_0x45a558([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b61(_0x1208c6(_0x3f6176)),_0x275c4b=window[_0x45a558([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a558([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c67d7);return _0x275c4b?window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1692bf(_0x275c4b),0x10)*_0x59eb6e:null;}function _0x541564(_0x1ceaa5){return new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e79db,_0x577513)=>{_0x1ceaa5[_0x45a558([0x74,0x68,0x65,0x6e])](_0x2e79db,_0x577513),window[_0x45a558([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x577513,0x47a351c6^_0x404c18);});}}_0x4599d6[_0x45a558([0x6f,0x6e])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x91ebb0,_0x31246f)=>{if(_0x31246f[0x0]!=_0x3f6176)return _0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31246f[0x1]={..._0x31246f[0x1],[_0x45a558([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcb3411};},{[_0x45a558([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a558([0x68,0x69,0x67,0x68])}),_0x4599d6[_0x45a558([0x6f,0x6e])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bd047=>{_0x36b00d(_0x3bd047[_0x45a558([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2073da=!0x0,_0x36b95c(_0x3bd047[_0x45a558([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45a558([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a558([0x6c,0x6f,0x77])}),_0x28fb44[_0x45a558([0x74,0x68,0x65,0x6e])](()=>{_0x2073da||_0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5062c1(){return _0x4599d6[_0x45a558([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a558([0x76,0x69,0x65,0x77])][_0x45a558([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45a558([0x61,0x75,0x74,0x6f]);}function _0x41d5c9(){_0x4599d6[_0x45a558([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a558([0x76,0x69,0x65,0x77])][_0x45a558([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45a558([0x61,0x75,0x74,0x6f]);}}function _0x131821(_0x42f639){const _0x1a5b8d=[new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7704=>setTimeout(_0x4b7704,0x47abbbca^_0x404c18)),_0x28fb44[_0x45a558([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17088d=>{let _0x40264d=0x0;_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x6f,0x6e])](_0x45a558([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x190ea9,_0x377307)=>{_0x377307[0x0][_0x45a558([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40264d++,_0x40264d==(0x47a284fe^_0x404c18)&&(_0x17088d(),_0x190ea9[_0x45a558([0x6f,0x66,0x66])]());});}))];return window[_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45a558([0x72,0x61,0x63,0x65])](_0x1a5b8d)[_0x45a558([0x74,0x68,0x65,0x6e])](()=>_0x42f639);}async function _0x99e313(){await _0x28fb44,_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x134b7e,_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x134b7e,_0x4599d6[_0x45a558([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45a558([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb0ed9b(_0x461ce3){const _0x56d6f7=_0x597fc7();_0x4599d6[_0x56d6f7]=_0x45a558([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x461ce3,_0x461ce3!=_0x45a558([0x56,0x61,0x6c,0x69,0x64])&&_0x99e313();}function _0x597fc7(){const _0x26c957=window[_0x45a558([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45a558([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45a558([0x6e,0x6f,0x77])]())[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45a558([0x2e]),'');let _0xd5867b=_0x45a558([0x75]);for(let _0x4310b5=0x0;_0x4310b5<_0x26c957[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4310b5+=0x2){let _0x1d59dc=window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26c957[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4310b5,_0x4310b5+0x2));_0x1d59dc>=_0x29384b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d59dc-=_0x29384b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd5867b+=_0x29384b[_0x1d59dc];}return _0xd5867b;}function _0x7f63d1(){const _0x5e9a35=_0x5b942b[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e]));if(0x3!=_0x5e9a35[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x498ad4(_0x5e9a35[0x1]);function _0x498ad4(_0x20a0c5){const _0x149505=_0x438df4(_0x20a0c5);return _0x149505&&_0x4aa2f8()?_0x149505:null;function _0x4aa2f8(){const _0x1096c0=_0x149505[_0x45a558([0x6a,0x74,0x69])],_0x32dbf1=window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1096c0[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1096c0[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x383ea4={..._0x149505,[_0x45a558([0x6a,0x74,0x69])]:_0x1096c0[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1096c0[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x383ea4[_0x45a558([0x76,0x63])],_0x1208c6(_0x383ea4)==_0x32dbf1;}}}async function _0x177735(){let _0x47f608=!0x0;try{const _0xa2a35d=_0x5b942b[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e])),[_0x4310d4,_0x41766d,_0x3f195f]=_0xa2a35d;return _0x4726b7(_0x4310d4),await _0x250b5e(_0x4310d4,_0x41766d,_0x3f195f),_0x47f608;}catch{return!0x1;}function _0x4726b7(_0x3aecac){const _0x3e48de=_0x438df4(_0x3aecac);_0x3e48de&&_0x3e48de[_0x45a558([0x61,0x6c,0x67])]==_0x45a558([0x45,0x53,0x32,0x35,0x36])||(_0x47f608=!0x1);}async function _0x250b5e(_0x41e511,_0x609283,_0x61be47){const _0x1c130f=window[_0x45a558([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45a558([0x66,0x72,0x6f,0x6d])](_0x38c79e(_0x61be47),_0x3c78c7=>_0x3c78c7[_0x45a558([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43728d=new window[(_0x45a558([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45a558([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41e511+_0x45a558([0x2e])+_0x609283),_0x2aafcb=window[_0x45a558([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45a558([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2aafcb)return;const _0x52a654=await _0x2aafcb[_0x45a558([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45a558([0x6a,0x77,0x6b]),_0x30f343,{[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x45,0x43,0x44,0x53,0x41]),[_0x45a558([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45a558([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2aafcb[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x45,0x43,0x44,0x53,0x41]),[_0x45a558([0x68,0x61,0x73,0x68])]:{[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52a654,_0x1c130f,_0x43728d)||(_0x47f608=!0x1);}}function _0x438df4(_0x437219){return _0x437219[_0x45a558([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45a558([0x65,0x79]))?JSON[_0x45a558([0x70,0x61,0x72,0x73,0x65])](_0x38c79e(_0x437219)):null;}function _0x38c79e(_0x159ba3){return window[_0x45a558([0x61,0x74,0x6f,0x62])](_0x159ba3[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45a558([0x2b]))[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45a558([0x2f])));}function _0x1208c6(_0x4422cb){let _0xac705c=0x1505;function _0x3ff5d0(_0x45efb4){for(let _0x5388ce=0x0;_0x5388ce<_0x45efb4[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5388ce++){const _0x2920f7=_0x45efb4[_0x45a558([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5388ce);_0xac705c=(_0xac705c<<0x5)+_0xac705c+_0x2920f7,_0xac705c&=_0xac705c;}}function _0x220d04(_0x191c2a){Array[_0x45a558([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x191c2a)?_0x191c2a[_0x45a558([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x220d04):_0x191c2a&&typeof _0x191c2a==_0x45a558([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45a558([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x191c2a)[_0x45a558([0x73,0x6f,0x72,0x74])]()[_0x45a558([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30b113,_0x4597f1])=>{_0x3ff5d0(_0x30b113),_0x220d04(_0x4597f1);}):_0x3ff5d0(window[_0x45a558([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x191c2a));}return _0x220d04(_0x4422cb),_0xac705c>>>0x0;}function _0x392b61(_0x172db9){return _0x172db9[_0x45a558([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45a558([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45a558([0x30]));}function _0x1692bf(_0x366fd0){return _0x366fd0[_0x45a558([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45a558([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45a558([0x6a,0x6f,0x69,0x6e])]('');}function _0x134b7e(){}function _0x45a558(_0xdd7b83){return _0xdd7b83['map'](_0x1c2dab=>String['fromCharCode'](_0x1c2dab))['join']('');}_0xb0ed9b(await _0x4639ef());}(this);}['_moveSelectionToFootnoteDefinition'](_0x514d48){const {plugins:_0x294d5d,editing:_0x5b6aa5,model:_0x3b1d83}=this['editor'],_0x429276=_0x294d5d['get'](_0x131dd8)['getFootnote'](_0x514d48);return!!_0x429276&&(_0x3b1d83['change'](_0x1aadb9=>{_0x1aadb9['setSelection'](_0x1aadb9['createPositionAt'](_0x429276['definition'],'end'));}),_0x5b6aa5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xd1c567){const {plugins:_0x17de9b,editing:_0xb124a8,model:_0x41434a}=this['editor'],_0x3868e9=_0x17de9b['get'](_0x131dd8)['getFootnote'](_0xd1c567);return!!_0x3868e9&&(_0x41434a['change'](_0x4c5635=>{_0x4c5635['setSelection'](_0x3868e9['reference'],'on');}),_0xb124a8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x41ea62}=this['editor']['model'],_0x2f7388=this['editor']['config']['get']('footnotes.multiBlock');_0x41ea62['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x41ea62['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x41ea62['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2f7388?_0x41ea62['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x41ea62['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x41ea62['addChildCheck'](_0x34255d=>{for(const _0xb1d750 of _0x34255d)if('footnoteDefinition'===_0xb1d750['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x59b28b}=this,{conversion:_0x20f65d,editing:_0x34fd97}=_0x59b28b,{t:t}=_0x59b28b['locale'];_0x20f65d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x257910,{writer:_0x2fdc44,consumable:_0x391238})=>{const _0x1f5dfa=_0x257910['getChild'](0x0);if(!_0x1f5dfa||!_0x1f5dfa['is']('element','a'))return null;const _0x3894c3=_0x1f5dfa['getAttribute']('href')||'';if(!_0x3894c3['startsWith']('#'))return null;const _0xbbf3e=_0x3894c3['replace'](/^#/,'');if(!_0xbbf3e)return null;_0x391238['consume'](_0x1f5dfa,{'name':!0x0,'attributes':['href']});for(const {item:_0x4d6ad2}of _0x34fd97['view']['createRangeIn'](_0x1f5dfa))_0x4d6ad2['is']('$textProxy')?_0x391238['consume'](_0x4d6ad2['textNode'],{'name':!0x0}):_0x4d6ad2['is']('element')&&_0x391238['consume'](_0x4d6ad2,{'name':!0x0});return _0x2fdc44['createElement']('footnoteRef',{'footnoteId':_0xbbf3e});}}),_0x20f65d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2bfe56,{writer:_0x3c02ea})=>D(_0x2bfe56,_0x3c02ea)}),_0x20f65d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x25946b,{writer:_0x5b969e})=>{const _0xede677=_0x25946b['getAttribute']('footnoteCounter');return _0xbb7b(D(_0x25946b,_0x5b969e),_0x5b969e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xede677)});}});}['_defineDefinitionsConverters'](){const {editor:_0x6d301c}=this,{t:t}=_0x6d301c['locale'],{conversion:_0x1e7c1a}=_0x6d301c;_0x1e7c1a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e7c1a['for']('upcast')['add'](_0x21169b=>{_0x21169b['on']('element:ol',(_0x4a9796,_0x1c91bd,_0x3e8dd7)=>{const _0x4d9011=_0x1c91bd['viewItem'];if(!_0x4d9011['hasClass']('footnotes-list')||!_0x1c91bd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3e8dd7['consumable']['consume'](_0x4d9011,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3b705f,modelCursor:_0x3a07a5}=_0x3e8dd7['convertChildren'](_0x1c91bd['viewItem'],_0x1c91bd['modelCursor']);_0x1c91bd['modelRange']=_0x3b705f,_0x1c91bd['modelCursor']=_0x3a07a5;}),_0x21169b['on']('element:hr',(_0x45d480,_0x5d8071,_0x2782f6)=>{const _0x288187=_0x5d8071['viewItem'];_0x288187['hasClass']('footnotes-divider')&&_0x5d8071['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2782f6['consumable']['consume'](_0x288187,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e7c1a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x6d7994,{writer:_0x166550})=>v(_0x166550)}),_0x1e7c1a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38e4d2,{writer:_0x1947a7})=>{const _0x58cbbb=v(_0x1947a7,{'data-footnotes-list-label':t('Footnotes')}),_0x3eceed=_0xbb7b(_0x58cbbb,_0x1947a7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1947a7['setCustomProperty']('footnotesDefinitions',!0x0,_0x3eceed),_0x3eceed;}});}['_defineDefinitionConverters'](){const {editor:_0x253b2b}=this,{conversion:_0x24e820,locale:_0x3ffb62}=_0x253b2b,_0x3c7583=_0x253b2b['config']['get']('footnotes.multiBlock');_0x24e820['for']('upcast')['add'](_0x1b9a70=>{_0x1b9a70['on']('element:li',(_0x404ed1,_0x3443a7,_0x327fbb)=>{const _0x45740a=_0x3443a7['viewItem'];if(!_0x45740a['hasClass']('footnote-definition')||!_0x45740a['getAttribute']('id'))return;const _0x197f66=_0x45740a['parent'];if(!_0x197f66['is']('element','ol')||!_0x197f66['hasClass']('footnotes-list'))return;if(!_0x327fbb['consumable']['test'](_0x45740a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2365f4=_0x327fbb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x45740a['getAttribute']('id')});if(!_0x327fbb['safeInsert'](_0x2365f4,_0x3443a7['modelCursor']))return;_0x327fbb['consumable']['consume'](_0x45740a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x12fae6=Array['from'](_0x45740a['getChildren']())['find'](_0x2a2fae=>_0x2a2fae['is']('element')&&_0x2a2fae['hasClass']('footnote-content'));for(const _0x58d745 of _0x45740a['getChildren']())_0x58d745['is']('element')&&(_0x327fbb['consumable']['consume'](_0x58d745,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x327fbb['consumable']['consume'](_0x58d745,{'name':!0x0,'classes':'footnote-content'}));if(_0x12fae6){if(_0x3c7583)_0x327fbb['convertChildren'](_0x12fae6,_0x2365f4);else{const _0x53ecce=_0x327fbb['writer']['createElement']('footnoteInlineContent');_0x327fbb['writer']['insert'](_0x53ecce,_0x2365f4),_0x327fbb['convertChildren'](_0x12fae6,_0x53ecce);}}_0x327fbb['updateConversionResult'](_0x2365f4,_0x3443a7);});}),_0x24e820['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d940f,{writer:_0x586a26})=>b(_0x2d940f,_0x586a26,_0x3ffb62,{'dataPipeline':!0x0})}),_0x24e820['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x225d98,{writer:_0x462904})=>b(_0x225d98,_0x462904,_0x3ffb62)});}['_defineBogusParagraphConverters'](){const {editor:_0x2d1984}=this,{conversion:_0x4fcc4f}=_0x2d1984;_0x2d1984['config']['get']('footnotes.multiBlock')?(_0x4fcc4f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4fcc4f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2d1984['model']['document'],'change:data',()=>{!function(_0x1146f2,_0x5c44af){const _0x2d1f8c=_0x1146f2['document']['differ'],_0x1539fc=new Set();for(const _0x54e929 of _0x2d1f8c['getChanges']()){const _0x29ecac='attribute'==_0x54e929['type']?_0x54e929['range']['start']['parent']:_0x54e929['position']['parent'];_0x29ecac['is']('element','footnoteDefinition')&&_0x1539fc['add'](_0x29ecac);}for(const _0x470da4 of _0x1539fc['values']()){const _0x1e59e5=Array['from'](_0x470da4['getChildren']())['filter'](_0x57a617=>g(_0x57a617,_0x5c44af['mapper']));for(const _0x13fe96 of _0x1e59e5)_0x5c44af['reconvertItem'](_0x13fe96);}}(_0x2d1984['model'],_0x2d1984['editing']);})):(_0x4fcc4f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4fcc4f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5989db,{writer:_0x1e16bd})=>{const _0x310d74=_0x1e16bd['createContainerElement']('span');return _0x1e16bd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x310d74),_0x310d74;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3e00ea}=this,{editing:_0x169d1e,t:t}=_0x3e00ea,_0x2df9d7=_0x3e00ea['model']['document']['selection'];_0x3e00ea['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3e00ea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x169d1e['view']['document'],'enter',(_0xe9c214,_0x342e5d)=>{const _0x2d3681=function(_0x21dcec){const _0x202bf2=_0x21dcec['getSelectedElement']();if(_0x202bf2?.['is']('element','footnoteRef'))return _0x202bf2;return null;}(_0x2df9d7);if(_0x2d3681){const _0x24fe92=_0x2d3681['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x24fe92),_0x342e5d['preventDefault'](),_0xe9c214['stop']();}},{'context':_0x1584e5});}['_defineClickHandlers'](){const {editor:_0xa4e70b}=this,{editing:_0x78c9d1}=_0xa4e70b;_0xa4e70b['editing']['view']['addObserver'](_0xdd4942),_0xa4e70b['editing']['view']['addObserver'](_0x1b3d36);let _0x20398a=!0x1;this['listenTo'](_0x78c9d1['view']['document'],'pointerdown',(_0x41f261,_0x450f44)=>{const {target:_0x4a16e4}=_0x450f44,_0x40a68c=_0x78c9d1['view']['document']['selection'];_0x20398a=!!(_0x4a16e4?.['is']('element','a')&&_0x4a16e4['parent']?.['is']('element','sup')&&_0x4a16e4['parent']['hasClass']('footnote'))&&_0x40a68c['getSelectedElement']()===_0x4a16e4['parent'];},{'priority':'high'}),this['listenTo'](_0x78c9d1['view']['document'],'click',(_0x1a3c22,_0x30a7ef)=>{const {target:_0x38b6fb}=_0x30a7ef;if(!_0x38b6fb?.['is']('element','a'))return;if(_0x38b6fb['parent']?.['is']('element','sup')&&_0x38b6fb['parent']['hasClass']('footnote')&&!_0x20398a)return void _0x30a7ef['preventDefault']();let _0x5bf084=_0x38b6fb['getAttribute']('href');if(!_0x5bf084?.['startsWith']('#'))return;_0x5bf084=_0x5bf084['slice'](0x1);let _0x17e904=!0x1;(_0x5bf084['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5bf084['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5bf084))&&(_0x17e904=!0x0),_0x17e904&&(_0x30a7ef['preventDefault'](),_0x1a3c22['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xe7d800}={}){return(_0x5103c9,{writer:_0x4d2f94})=>{if(!p(_0x5103c9))return null;if(!_0xe7d800)return _0x4d2f94['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x587ff4=_0x4d2f94['createContainerElement']('p');return _0x4d2f94['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x587ff4),_0x587ff4;};}function p(_0x1dd390){const {parent:_0x329d20}=_0x1dd390;if(!_0x329d20?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x329d20['childCount'])return!0x1;for(const _0x1899bb of _0x1dd390['getAttributeKeys']())if(!_0x1899bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1899bb)return!0x1;return!0x0;}function g(_0x3a1a7e,_0x4eb388){if(!_0x3a1a7e['is']('element','paragraph'))return!0x1;const _0x572095=_0x4eb388['toViewElement'](_0x3a1a7e);return!!_0x572095&&p(_0x3a1a7e)!==_0x572095['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x341b9c){return _0x1584e5(_0x341b9c)&&_0x341b9c['is']('containerElement')&&!!_0x341b9c['getCustomProperty']('footnotesDefinitions');}function v(_0x4c458f,_0x12610b={}){const _0x23bba6=_0x4c458f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x11df36=_0x4c458f['createContainerElement']('ol',{'class':'footnotes-list'},_0x4c458f['createSlot']());return _0x4c458f['createContainerElement']('div',{'class':'footnotes',..._0x12610b},[_0x23bba6,_0x11df36]);}function D(_0x10c8cd,_0x182894){const _0x59819a=_0x10c8cd['getAttribute']('footnoteId'),_0x306e77=_0x10c8cd['getAttribute']('footnoteCounter'),_0x1d70f6=_0x182894['createUIElement']('a',{'href':'#'+_0x59819a},function(_0x3fe945){const _0x2a1fba=this['toDomElement'](_0x3fe945);return _0x2a1fba['textContent']=_0x306e77,_0x2a1fba;}),_0x4035eb=_0x182894['createContainerElement']('sup',{'id':'ref-'+_0x59819a,'class':'footnote'},[_0x1d70f6]);return _0x4035eb['getFillerOffset']=()=>null,_0x4035eb;}function b(_0x37ceb4,_0x5c5e14,_0x5ad746,{dataPipeline:_0x40498d}={}){const {t:t}=_0x5ad746,_0x81f756=_0x37ceb4['getAttribute']('footnoteId'),_0x333610=_0x5c5e14['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x81f756},function(_0x2f2563){const _0x5db2c4=this['toDomElement'](_0x2f2563);return _0x5db2c4['innerText']='^',_0x5db2c4;}),_0x40a7cf=_0x40498d?_0x5c5e14['createContainerElement']('div',{'class':'footnote-content'}):_0x5b1148(_0x5c5e14['createEditableElement']('div',{'class':'footnote-content'}),_0x5c5e14,{'label':t('Footnote\x20content.')});return _0x5c5e14['insert'](_0x5c5e14['createPositionAt'](_0x40a7cf,0x0),_0x5c5e14['createSlot']()),_0x5c5e14['createContainerElement']('li',{'class':'footnote-definition','id':_0x81f756},[_0x333610,_0x40a7cf]);}
|
|
23
|
+
import{Plugin as _0x7ae1f8}from'ckeditor5/src/core.js';import{isWidget as _0x1d1a5c,toWidget as _0x21fd0a,toWidgetEditable as _0x202532}from'ckeditor5/src/widget.js';import{uid as _0x393333}from'ckeditor5/src/utils.js';import{PointerObserver as _0x440c0e,ClickObserver as _0x231ca5}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x39f242}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x58aac4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x7ae1f8{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x39f242];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ff9a7}=this;_0x2ff9a7['config']['define']('footnotes.multiBlock',!0x0),_0x2ff9a7['commands']['add']('insertFootnote',new _0x58aac4(_0x2ff9a7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2bdf80){const _0x2d81c7=_0x29dfd3([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]),_0x3f45ca=0x47a28506,_0x474826=0x47a5f92e^_0x3f45ca,_0x38aeef=window[_0x29dfd3([0x44,0x61,0x74,0x65])][_0x29dfd3([0x6e,0x6f,0x77])](),_0x5a7714=_0x2bdf80[_0x29dfd3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19b2ef=new window[(_0x29dfd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d073a=>{_0x5a7714[_0x29dfd3([0x6f,0x6e,0x63,0x65])](_0x29dfd3([0x72,0x65,0x61,0x64,0x79]),_0x1d073a);}),_0x3ad0c1={[_0x29dfd3([0x6b,0x74,0x79])]:_0x29dfd3([0x45,0x43]),[_0x29dfd3([0x75,0x73,0x65])]:_0x29dfd3([0x73,0x69,0x67]),[_0x29dfd3([0x63,0x72,0x76])]:_0x29dfd3([0x50,0x2d,0x32,0x35,0x36]),[_0x29dfd3([0x78])]:_0x29dfd3([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]),[_0x29dfd3([0x79])]:_0x29dfd3([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]),[_0x29dfd3([0x61,0x6c,0x67])]:_0x29dfd3([0x45,0x53,0x32,0x35,0x36])},_0x2492cc=_0x5a7714[_0x29dfd3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x29dfd3([0x67,0x65,0x74])](_0x29dfd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5286b8(){let _0x5affc7,_0x3eaaaf=null,_0x5a7ff0=null;try{if(_0x2492cc==_0x29dfd3([0x47,0x50,0x4c]))return _0x29dfd3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5affc7=_0x12f79f(),!_0x5affc7)return _0x29dfd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5affc7[_0x29dfd3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a7ff0=_0x1e60be(_0x5affc7[_0x29dfd3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5affc7[_0x29dfd3([0x6a,0x74,0x69])])),await _0x3137eb()?_0x5b79fa()?_0x38650e()?_0x29dfd3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x102b0b()?(_0x5affc7[_0x29dfd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29dfd3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3eaaaf=_0x2c1dd8(_0x29dfd3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5affc7[_0x29dfd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x29dfd3([0x74,0x72,0x69,0x61,0x6c])&&(_0x3eaaaf=_0x2c1dd8(_0x29dfd3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x867422()):_0x29dfd3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x29dfd3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x29dfd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x29dfd3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38650e(){const _0x34e146=[_0x29dfd3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x29dfd3([0x74,0x72,0x69,0x61,0x6c])][_0x29dfd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5affc7[_0x29dfd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x38aeef/0x3e8:0xe10*_0x474826;return _0x5affc7[_0x29dfd3([0x65,0x78,0x70])]<_0x34e146;}function _0x5b79fa(){const _0x2cb13e=_0x5affc7[_0x29dfd3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2cb13e&&(!!_0x2cb13e[_0x29dfd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29dfd3([0x2a]))||!!_0x2cb13e[_0x29dfd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29dfd3([0x46,0x4f,0x4f])));}function _0x102b0b(){const _0x275bdd=_0x5affc7[_0x29dfd3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x275bdd||0x0==_0x275bdd[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x19d551}=new URL(window[_0x29dfd3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x275bdd[_0x29dfd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x19d551))return!0x0;const _0x4439b1=_0x19d551[_0x29dfd3([0x73,0x70,0x6c,0x69,0x74])](_0x29dfd3([0x2e]));return _0x275bdd[_0x29dfd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a3994=>_0x3a3994[_0x29dfd3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29dfd3([0x2a])))[_0x29dfd3([0x6d,0x61,0x70])](_0x3f7497=>_0x3f7497[_0x29dfd3([0x73,0x70,0x6c,0x69,0x74])](_0x29dfd3([0x2e])))[_0x29dfd3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29dcec=>_0x29dcec[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4439b1[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29dfd3([0x6d,0x61,0x70])](_0x321d63=>Array(_0x4439b1[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x321d63[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x29dfd3([0x66,0x69,0x6c,0x6c])](_0x321d63[0x0]===_0x29dfd3([0x2a])?_0x29dfd3([0x2a]):'')[_0x29dfd3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x321d63))[_0x29dfd3([0x73,0x6f,0x6d,0x65])](_0x41c4d7=>_0x4439b1[_0x29dfd3([0x65,0x76,0x65,0x72,0x79])]((_0x2b9ff1,_0x58ed39)=>_0x41c4d7[_0x58ed39]===_0x2b9ff1||_0x41c4d7[_0x58ed39]===_0x29dfd3([0x2a])));}function _0x867422(){return _0x3eaaaf&&_0x5a7ff0?new window[(_0x29dfd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1650b1,_0x2dd2a6)=>{_0x3eaaaf[_0x29dfd3([0x74,0x68,0x65,0x6e])](_0x1650b1,_0x2dd2a6),_0x5a7ff0[_0x29dfd3([0x74,0x68,0x65,0x6e])](_0x1ad829=>{_0x1ad829!=_0x29dfd3([0x56,0x61,0x6c,0x69,0x64])&&_0x1650b1(_0x1ad829);},_0x2dd2a6);}):_0x3eaaaf||_0x5a7ff0||_0x29dfd3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e60be(_0x58a488,_0x1a80d3){return new window[(_0x29dfd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a39c3=>{if(_0xfdd35d())return _0x4a39c3(_0x29dfd3([0x56,0x61,0x6c,0x69,0x64]));_0x321a8f(),_0x5a7714[_0x29dfd3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x29dfd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fcba9=!0x1;const _0x4a0bba=_0x393333();function _0x276ad7(_0x2b12a3){return!!_0x2b12a3&&(typeof _0x2b12a3===_0x29dfd3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2b12a3===_0x29dfd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2b12a3[_0x29dfd3([0x74,0x68,0x65,0x6e])]===_0x29dfd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2b12a3[_0x29dfd3([0x63,0x61,0x74,0x63,0x68])]===_0x29dfd3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d55b4(_0x55e9b8){_0x4a26dd(_0x55e9b8)[_0x29dfd3([0x74,0x68,0x65,0x6e])](_0x50b736=>{if(!_0x50b736||_0x50b736[_0x29dfd3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x29dfd3([0x6f,0x6b]))return _0x29dfd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49586f(_0x3339ff(_0x4a0bba+_0x1a80d3))!=_0x50b736[_0x29dfd3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x29dfd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x29dfd3([0x56,0x61,0x6c,0x69,0x64]);})[_0x29dfd3([0x74,0x68,0x65,0x6e])](_0x20925c=>(_0x3c038d(),_0x20925c),()=>{const _0x37af3c=_0x2135aa();return null==_0x37af3c?(_0x3c038d(),_0x29dfd3([0x56,0x61,0x6c,0x69,0x64])):_0x29dfd3(_0x38aeef-_0x37af3c>(0x63ae0106^_0x3f45ca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x29dfd3([0x74,0x68,0x65,0x6e])](_0x4a39c3)[_0x29dfd3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a39c3(_0x29dfd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b1034=0x47946b86^_0x3f45ca;function _0x3c038d(){const _0x329ea1=_0x29dfd3([0x6c,0x6c,0x63,0x74,0x2d])+_0x49586f(_0x3339ff(_0x58a488)),_0x2cc0d0=_0x47d9a7(_0x49586f(window[_0x29dfd3([0x4d,0x61,0x74,0x68])][_0x29dfd3([0x63,0x65,0x69,0x6c])](_0x38aeef/_0x1b1034)));window[_0x29dfd3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29dfd3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x329ea1,_0x2cc0d0);}function _0x2135aa(){const _0x4b04c9=_0x29dfd3([0x6c,0x6c,0x63,0x74,0x2d])+_0x49586f(_0x3339ff(_0x58a488)),_0x2b7a89=window[_0x29dfd3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x29dfd3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b04c9);return _0x2b7a89?window[_0x29dfd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47d9a7(_0x2b7a89),0x10)*_0x1b1034:null;}function _0x4a26dd(_0x175f85){return new window[(_0x29dfd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x511de0,_0x7999ab)=>{_0x175f85[_0x29dfd3([0x74,0x68,0x65,0x6e])](_0x511de0,_0x7999ab),window[_0x29dfd3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x7999ab,0x47a351c6^_0x3f45ca);});}}_0x5a7714[_0x29dfd3([0x6f,0x6e])](_0x29dfd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47d785,_0x2b1fab)=>{if(_0x2b1fab[0x0]!=_0x58a488)return _0x4a39c3(_0x29dfd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b1fab[0x1]={..._0x2b1fab[0x1],[_0x29dfd3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a0bba};},{[_0x29dfd3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29dfd3([0x68,0x69,0x67,0x68])}),_0x5a7714[_0x29dfd3([0x6f,0x6e])](_0x29dfd3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x404adb=>{_0x276ad7(_0x404adb[_0x29dfd3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fcba9=!0x0,_0x3d55b4(_0x404adb[_0x29dfd3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x29dfd3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x29dfd3([0x6c,0x6f,0x77])}),_0x19b2ef[_0x29dfd3([0x74,0x68,0x65,0x6e])](()=>{_0x2fcba9||_0x4a39c3(_0x29dfd3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfdd35d(){return _0x5a7714[_0x29dfd3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29dfd3([0x76,0x69,0x65,0x77])][_0x29dfd3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x29dfd3([0x61,0x75,0x74,0x6f]);}function _0x321a8f(){_0x5a7714[_0x29dfd3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x29dfd3([0x76,0x69,0x65,0x77])][_0x29dfd3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x29dfd3([0x61,0x75,0x74,0x6f]);}}function _0x2c1dd8(_0x22739e){const _0x2e14e0=[new window[(_0x29dfd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34d4e3=>setTimeout(_0x34d4e3,0x47abbbca^_0x3f45ca)),_0x19b2ef[_0x29dfd3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x29dfd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc2d5a2=>{let _0x4fbaa7=0x0;_0x5a7714[_0x29dfd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x29dfd3([0x6f,0x6e])](_0x29dfd3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e2b4f,_0x45d6ae)=>{_0x45d6ae[0x0][_0x29dfd3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fbaa7++,_0x4fbaa7==(0x47a284fe^_0x3f45ca)&&(_0xc2d5a2(),_0x5e2b4f[_0x29dfd3([0x6f,0x66,0x66])]());});}))];return window[_0x29dfd3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x29dfd3([0x72,0x61,0x63,0x65])](_0x2e14e0)[_0x29dfd3([0x74,0x68,0x65,0x6e])](()=>_0x22739e);}async function _0x42a625(){await _0x19b2ef,_0x5a7714[_0x29dfd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x29dfd3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5b399c,_0x5a7714[_0x29dfd3([0x6d,0x6f,0x64,0x65,0x6c])][_0x29dfd3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5b399c,_0x5a7714[_0x29dfd3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29dfd3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d3a47(_0x4c8a26){const _0x267a8f=_0x4596da();_0x5a7714[_0x267a8f]=_0x29dfd3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c8a26,_0x4c8a26!=_0x29dfd3([0x56,0x61,0x6c,0x69,0x64])&&_0x42a625();}function _0x4596da(){const _0x1cd307=window[_0x29dfd3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x29dfd3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29dfd3([0x6e,0x6f,0x77])]())[_0x29dfd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29dfd3([0x2e]),'');let _0x43dd28=_0x29dfd3([0x75]);for(let _0x4a36af=0x0;_0x4a36af<_0x1cd307[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a36af+=0x2){let _0x5e8334=window[_0x29dfd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cd307[_0x29dfd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a36af,_0x4a36af+0x2));_0x5e8334>=_0x2d81c7[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e8334-=_0x2d81c7[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x43dd28+=_0x2d81c7[_0x5e8334];}return _0x43dd28;}function _0x12f79f(){const _0x25b14f=_0x2492cc[_0x29dfd3([0x73,0x70,0x6c,0x69,0x74])](_0x29dfd3([0x2e]));if(0x3!=_0x25b14f[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1bd579(_0x25b14f[0x1]);function _0x1bd579(_0x358aab){const _0x428304=_0x2d5080(_0x358aab);return _0x428304&&_0x5ba5f9()?_0x428304:null;function _0x5ba5f9(){const _0x38c676=_0x428304[_0x29dfd3([0x6a,0x74,0x69])],_0x2faa24=window[_0x29dfd3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38c676[_0x29dfd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38c676[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30c722={..._0x428304,[_0x29dfd3([0x6a,0x74,0x69])]:_0x38c676[_0x29dfd3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38c676[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30c722[_0x29dfd3([0x76,0x63])],_0x3339ff(_0x30c722)==_0x2faa24;}}}async function _0x3137eb(){let _0x15a8c5=!0x0;try{const _0x3a3495=_0x2492cc[_0x29dfd3([0x73,0x70,0x6c,0x69,0x74])](_0x29dfd3([0x2e])),[_0x559ceb,_0x23a27f,_0x5b7e57]=_0x3a3495;return _0x5e4d52(_0x559ceb),await _0x3f00ab(_0x559ceb,_0x23a27f,_0x5b7e57),_0x15a8c5;}catch{return!0x1;}function _0x5e4d52(_0x36de4d){const _0x58e94d=_0x2d5080(_0x36de4d);_0x58e94d&&_0x58e94d[_0x29dfd3([0x61,0x6c,0x67])]==_0x29dfd3([0x45,0x53,0x32,0x35,0x36])||(_0x15a8c5=!0x1);}async function _0x3f00ab(_0x36bf5b,_0x2d537d,_0x22ef54){const _0x487c19=window[_0x29dfd3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x29dfd3([0x66,0x72,0x6f,0x6d])](_0x4c95a7(_0x22ef54),_0x53cee9=>_0x53cee9[_0x29dfd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xeeac47=new window[(_0x29dfd3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x29dfd3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x36bf5b+_0x29dfd3([0x2e])+_0x2d537d),_0x1dd8d2=window[_0x29dfd3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x29dfd3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1dd8d2)return;const _0x284305=await _0x1dd8d2[_0x29dfd3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x29dfd3([0x6a,0x77,0x6b]),_0x3ad0c1,{[_0x29dfd3([0x6e,0x61,0x6d,0x65])]:_0x29dfd3([0x45,0x43,0x44,0x53,0x41]),[_0x29dfd3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x29dfd3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x29dfd3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1dd8d2[_0x29dfd3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x29dfd3([0x6e,0x61,0x6d,0x65])]:_0x29dfd3([0x45,0x43,0x44,0x53,0x41]),[_0x29dfd3([0x68,0x61,0x73,0x68])]:{[_0x29dfd3([0x6e,0x61,0x6d,0x65])]:_0x29dfd3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x284305,_0x487c19,_0xeeac47)||(_0x15a8c5=!0x1);}}function _0x2d5080(_0x430bab){return _0x430bab[_0x29dfd3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x29dfd3([0x65,0x79]))?JSON[_0x29dfd3([0x70,0x61,0x72,0x73,0x65])](_0x4c95a7(_0x430bab)):null;}function _0x4c95a7(_0x32ee5b){return window[_0x29dfd3([0x61,0x74,0x6f,0x62])](_0x32ee5b[_0x29dfd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x29dfd3([0x2b]))[_0x29dfd3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x29dfd3([0x2f])));}function _0x3339ff(_0x6bde93){let _0x566e61=0x1505;function _0x5ec6b2(_0x57df4b){for(let _0x5428c8=0x0;_0x5428c8<_0x57df4b[_0x29dfd3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5428c8++){const _0x3f17f6=_0x57df4b[_0x29dfd3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5428c8);_0x566e61=(_0x566e61<<0x5)+_0x566e61+_0x3f17f6,_0x566e61&=_0x566e61;}}function _0x100839(_0x1db34c){Array[_0x29dfd3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1db34c)?_0x1db34c[_0x29dfd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x100839):_0x1db34c&&typeof _0x1db34c==_0x29dfd3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x29dfd3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1db34c)[_0x29dfd3([0x73,0x6f,0x72,0x74])]()[_0x29dfd3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2890a2,_0x561fd9])=>{_0x5ec6b2(_0x2890a2),_0x100839(_0x561fd9);}):_0x5ec6b2(window[_0x29dfd3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1db34c));}return _0x100839(_0x6bde93),_0x566e61>>>0x0;}function _0x49586f(_0x528490){return _0x528490[_0x29dfd3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x29dfd3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x29dfd3([0x30]));}function _0x47d9a7(_0x282c27){return _0x282c27[_0x29dfd3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x29dfd3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x29dfd3([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b399c(){}function _0x29dfd3(_0x4ec107){return _0x4ec107['map'](_0x28f02e=>String['fromCharCode'](_0x28f02e))['join']('');}_0x3d3a47(await _0x5286b8());}(this);}['_moveSelectionToFootnoteDefinition'](_0x567e8f){const {plugins:_0x4bb236,editing:_0x39c0fb,model:_0x4a5cba}=this['editor'],_0x29cf2e=_0x4bb236['get'](_0x39f242)['getFootnote'](_0x567e8f);return!!_0x29cf2e&&(_0x4a5cba['change'](_0x3baf62=>{_0x3baf62['setSelection'](_0x3baf62['createPositionAt'](_0x29cf2e['definition'],'end'));}),_0x39c0fb['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5572e4){const {plugins:_0x54ef6c,editing:_0x47b3ab,model:_0xf9faeb}=this['editor'],_0x3924b4=_0x54ef6c['get'](_0x39f242)['getFootnote'](_0x5572e4);return!!_0x3924b4&&(_0xf9faeb['change'](_0x41e14d=>{_0x41e14d['setSelection'](_0x3924b4['reference'],'on');}),_0x47b3ab['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1ba3de}=this['editor']['model'],_0x1913c7=this['editor']['config']['get']('footnotes.multiBlock');_0x1ba3de['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1ba3de['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1ba3de['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1913c7?_0x1ba3de['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1ba3de['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1ba3de['addChildCheck'](_0x4ed152=>{for(const _0x34cc9a of _0x4ed152)if('footnoteDefinition'===_0x34cc9a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4dbb7c}=this,{conversion:_0x23af4e,editing:_0x4fbf5c}=_0x4dbb7c,{t:t}=_0x4dbb7c['locale'];_0x23af4e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xfd6982,{writer:_0x4ee6d5,consumable:_0x1e22af})=>{const _0x38d37a=_0xfd6982['getChild'](0x0);if(!_0x38d37a||!_0x38d37a['is']('element','a'))return null;const _0x5cc4df=_0x38d37a['getAttribute']('href')||'';if(!_0x5cc4df['startsWith']('#'))return null;const _0x3187ec=_0x5cc4df['replace'](/^#/,'');if(!_0x3187ec)return null;_0x1e22af['consume'](_0x38d37a,{'name':!0x0,'attributes':['href']});for(const {item:_0x2048aa}of _0x4fbf5c['view']['createRangeIn'](_0x38d37a))_0x2048aa['is']('$textProxy')?_0x1e22af['consume'](_0x2048aa['textNode'],{'name':!0x0}):_0x2048aa['is']('element')&&_0x1e22af['consume'](_0x2048aa,{'name':!0x0});return _0x4ee6d5['createElement']('footnoteRef',{'footnoteId':_0x3187ec});}}),_0x23af4e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x521f4a,{writer:_0x2058d6})=>D(_0x521f4a,_0x2058d6)}),_0x23af4e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x523456,{writer:_0x4308df})=>{const _0x3c6949=_0x523456['getAttribute']('footnoteCounter');return _0x21fd0a(D(_0x523456,_0x4308df),_0x4308df,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3c6949)});}});}['_defineDefinitionsConverters'](){const {editor:_0x530a28}=this,{t:t}=_0x530a28['locale'],{conversion:_0x556cc2}=_0x530a28;_0x556cc2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x556cc2['for']('upcast')['add'](_0x17d030=>{_0x17d030['on']('element:ol',(_0x20d087,_0x138745,_0x27a0a3)=>{const _0xd36fac=_0x138745['viewItem'];if(!_0xd36fac['hasClass']('footnotes-list')||!_0x138745['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x27a0a3['consumable']['consume'](_0xd36fac,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x15dbd8,modelCursor:_0x347a28}=_0x27a0a3['convertChildren'](_0x138745['viewItem'],_0x138745['modelCursor']);_0x138745['modelRange']=_0x15dbd8,_0x138745['modelCursor']=_0x347a28;}),_0x17d030['on']('element:hr',(_0x5d819c,_0x203758,_0x4149d3)=>{const _0x21cb05=_0x203758['viewItem'];_0x21cb05['hasClass']('footnotes-divider')&&_0x203758['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4149d3['consumable']['consume'](_0x21cb05,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x556cc2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x308fd3,{writer:_0x1c92db})=>v(_0x1c92db)}),_0x556cc2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1058b5,{writer:_0x1806cc})=>{const _0x3fd260=v(_0x1806cc,{'data-footnotes-list-label':t('Footnotes')}),_0x4d5a5b=_0x21fd0a(_0x3fd260,_0x1806cc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1806cc['setCustomProperty']('footnotesDefinitions',!0x0,_0x4d5a5b),_0x4d5a5b;}});}['_defineDefinitionConverters'](){const {editor:_0x4106b3}=this,{conversion:_0x5d6647,locale:_0x5cb66f}=_0x4106b3,_0x3dd203=_0x4106b3['config']['get']('footnotes.multiBlock');_0x5d6647['for']('upcast')['add'](_0x8f9532=>{_0x8f9532['on']('element:li',(_0x4130d1,_0x598dbc,_0xa7579e)=>{const _0x45ba8f=_0x598dbc['viewItem'];if(!_0x45ba8f['hasClass']('footnote-definition')||!_0x45ba8f['getAttribute']('id'))return;const _0xa78fc=_0x45ba8f['parent'];if(!_0xa78fc['is']('element','ol')||!_0xa78fc['hasClass']('footnotes-list'))return;if(!_0xa7579e['consumable']['test'](_0x45ba8f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1b2dba=_0xa7579e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x45ba8f['getAttribute']('id')});if(!_0xa7579e['safeInsert'](_0x1b2dba,_0x598dbc['modelCursor']))return;_0xa7579e['consumable']['consume'](_0x45ba8f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5c5b34=Array['from'](_0x45ba8f['getChildren']())['find'](_0x52da2a=>_0x52da2a['is']('element')&&_0x52da2a['hasClass']('footnote-content'));for(const _0x6074d8 of _0x45ba8f['getChildren']())_0x6074d8['is']('element')&&(_0xa7579e['consumable']['consume'](_0x6074d8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xa7579e['consumable']['consume'](_0x6074d8,{'name':!0x0,'classes':'footnote-content'}));if(_0x5c5b34){if(_0x3dd203)_0xa7579e['convertChildren'](_0x5c5b34,_0x1b2dba);else{const _0x543ff1=_0xa7579e['writer']['createElement']('footnoteInlineContent');_0xa7579e['writer']['insert'](_0x543ff1,_0x1b2dba),_0xa7579e['convertChildren'](_0x5c5b34,_0x543ff1);}}_0xa7579e['updateConversionResult'](_0x1b2dba,_0x598dbc);});}),_0x5d6647['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4de9e9,{writer:_0x2efc6b})=>b(_0x4de9e9,_0x2efc6b,_0x5cb66f,{'dataPipeline':!0x0})}),_0x5d6647['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x247f23,{writer:_0x8b1c57})=>b(_0x247f23,_0x8b1c57,_0x5cb66f)});}['_defineBogusParagraphConverters'](){const {editor:_0x355279}=this,{conversion:_0x1f7ab2}=_0x355279;_0x355279['config']['get']('footnotes.multiBlock')?(_0x1f7ab2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1f7ab2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x355279['model']['document'],'change:data',()=>{!function(_0x206885,_0x409fcb){const _0x5f43b5=_0x206885['document']['differ'],_0x16c4c5=new Set();for(const _0x57c704 of _0x5f43b5['getChanges']()){const _0x45694e='attribute'==_0x57c704['type']?_0x57c704['range']['start']['parent']:_0x57c704['position']['parent'];_0x45694e['is']('element','footnoteDefinition')&&_0x16c4c5['add'](_0x45694e);}for(const _0x463a41 of _0x16c4c5['values']()){const _0x36dfb8=Array['from'](_0x463a41['getChildren']())['filter'](_0x1ca2ac=>g(_0x1ca2ac,_0x409fcb['mapper']));for(const _0x1f5208 of _0x36dfb8)_0x409fcb['reconvertItem'](_0x1f5208);}}(_0x355279['model'],_0x355279['editing']);})):(_0x1f7ab2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1f7ab2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x24bee0,{writer:_0x2fb72d})=>{const _0x35089a=_0x2fb72d['createContainerElement']('span');return _0x2fb72d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x35089a),_0x35089a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x113569}=this,{editing:_0x2bfde1,t:t}=_0x113569,_0x4bfb4f=_0x113569['model']['document']['selection'];_0x113569['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x113569['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2bfde1['view']['document'],'enter',(_0x43cb23,_0x409f03)=>{const _0x250616=function(_0x42fe2a){const _0x11b479=_0x42fe2a['getSelectedElement']();if(_0x11b479?.['is']('element','footnoteRef'))return _0x11b479;return null;}(_0x4bfb4f);if(_0x250616){const _0x55c58b=_0x250616['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x55c58b),_0x409f03['preventDefault'](),_0x43cb23['stop']();}},{'context':_0x1d1a5c});}['_defineClickHandlers'](){const {editor:_0x427862}=this,{editing:_0x54a65d}=_0x427862;_0x427862['editing']['view']['addObserver'](_0x440c0e),_0x427862['editing']['view']['addObserver'](_0x231ca5);let _0x1101b6=!0x1;this['listenTo'](_0x54a65d['view']['document'],'pointerdown',(_0x565b8d,_0x31831a)=>{const {target:_0x390898}=_0x31831a,_0x2b7e15=_0x54a65d['view']['document']['selection'];_0x1101b6=!!(_0x390898?.['is']('element','a')&&_0x390898['parent']?.['is']('element','sup')&&_0x390898['parent']['hasClass']('footnote'))&&_0x2b7e15['getSelectedElement']()===_0x390898['parent'];},{'priority':'high'}),this['listenTo'](_0x54a65d['view']['document'],'click',(_0x110e17,_0x23c208)=>{const {target:_0x43ac31}=_0x23c208;if(!_0x43ac31?.['is']('element','a'))return;if(_0x43ac31['parent']?.['is']('element','sup')&&_0x43ac31['parent']['hasClass']('footnote')&&!_0x1101b6)return void _0x23c208['preventDefault']();let _0x528cb8=_0x43ac31['getAttribute']('href');if(!_0x528cb8?.['startsWith']('#'))return;_0x528cb8=_0x528cb8['slice'](0x1);let _0x3c240a=!0x1;(_0x528cb8['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x528cb8['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x528cb8))&&(_0x3c240a=!0x0),_0x3c240a&&(_0x23c208['preventDefault'](),_0x110e17['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x410954}={}){return(_0x22a907,{writer:_0x3fef0d})=>{if(!p(_0x22a907))return null;if(!_0x410954)return _0x3fef0d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4121d0=_0x3fef0d['createContainerElement']('p');return _0x3fef0d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4121d0),_0x4121d0;};}function p(_0x469aa3){const {parent:_0x9baf43}=_0x469aa3;if(!_0x9baf43?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x9baf43['childCount'])return!0x1;for(const _0xf01146 of _0x469aa3['getAttributeKeys']())if(!_0xf01146['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xf01146)return!0x1;return!0x0;}function g(_0x186969,_0x24c862){if(!_0x186969['is']('element','paragraph'))return!0x1;const _0x2aca1b=_0x24c862['toViewElement'](_0x186969);return!!_0x2aca1b&&p(_0x186969)!==_0x2aca1b['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4bb920){return _0x1d1a5c(_0x4bb920)&&_0x4bb920['is']('containerElement')&&!!_0x4bb920['getCustomProperty']('footnotesDefinitions');}function v(_0x43e4e0,_0x573592={}){const _0x432f6b=_0x43e4e0['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x25b53d=_0x43e4e0['createContainerElement']('ol',{'class':'footnotes-list'},_0x43e4e0['createSlot']());return _0x43e4e0['createContainerElement']('div',{'class':'footnotes',..._0x573592},[_0x432f6b,_0x25b53d]);}function D(_0x484809,_0x465674){const _0x46a6c6=_0x484809['getAttribute']('footnoteId'),_0x20b6ea=_0x484809['getAttribute']('footnoteCounter'),_0x144c04=_0x465674['createUIElement']('a',{'href':'#'+_0x46a6c6},function(_0x1fd184){const _0x295ef4=this['toDomElement'](_0x1fd184);return _0x295ef4['textContent']=_0x20b6ea,_0x295ef4;}),_0x3e4f97=_0x465674['createContainerElement']('sup',{'id':'ref-'+_0x46a6c6,'class':'footnote'},[_0x144c04]);return _0x3e4f97['getFillerOffset']=()=>null,_0x3e4f97;}function b(_0x3e2332,_0x235399,_0x875d7,{dataPipeline:_0x42e163}={}){const {t:t}=_0x875d7,_0x16d4fa=_0x3e2332['getAttribute']('footnoteId'),_0xdce97a=_0x235399['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x16d4fa},function(_0xfd32fc){const _0x256b8f=this['toDomElement'](_0xfd32fc);return _0x256b8f['innerText']='^',_0x256b8f;}),_0x390297=_0x42e163?_0x235399['createContainerElement']('div',{'class':'footnote-content'}):_0x202532(_0x235399['createEditableElement']('div',{'class':'footnote-content'}),_0x235399,{'label':t('Footnote\x20content.')});return _0x235399['insert'](_0x235399['createPositionAt'](_0x390297,0x0),_0x235399['createSlot']()),_0x235399['createContainerElement']('li',{'class':'footnote-definition','id':_0x16d4fa},[_0xdce97a,_0x390297]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x45e5ad=_0x278f;(function(_0x557d6d,_0x378d1b){const _0x18456e=_0x278f,_0x2e6577=_0x557d6d();while(!![]){try{const _0x28c529=-parseInt(_0x18456e(0x163))/0x1*(parseInt(_0x18456e(0x15f))/0x2)+-parseInt(_0x18456e(0x15e))/0x3+parseInt(_0x18456e(0x164))/0x4*(parseInt(_0x18456e(0x152))/0x5)+parseInt(_0x18456e(0x15a))/0x6*(parseInt(_0x18456e(0x160))/0x7)+-parseInt(_0x18456e(0x14d))/0x8*(-parseInt(_0x18456e(0x150))/0x9)+parseInt(_0x18456e(0x14e))/0xa*(parseInt(_0x18456e(0x14f))/0xb)+parseInt(_0x18456e(0x154))/0xc*(-parseInt(_0x18456e(0x14c))/0xd);if(_0x28c529===_0x378d1b)break;else _0x2e6577['push'](_0x2e6577['shift']());}catch(_0x52ea8a){_0x2e6577['push'](_0x2e6577['shift']());}}}(_0xadc9,0x991e7));function _0xadc9(){const _0x534902=['1992624wjEhpp','plugins','refresh','value','footnotesListStart','isEnabled','9864LCqryI','getFootnotesDefinitionsObjectElement','change','setAttribute','2363097IdsHjd','26jSwppy','4361tmYXnZ','_updateFootnotesCounters','getAttribute','12251DHFEzy','20LTuSRC','isInteger','model','91gpYTcI','3818488BEqiaJ','10vGRgmL','6285818XkZEtD','9ExsoXz','execute','663540XPpwMa','get'];_0xadc9=function(){return _0x534902;};return _0xadc9();}function _0x278f(_0x4c4db0,_0x4fb3de){const _0xadc977=_0xadc9();return _0x278f=function(_0x278f89,_0x481a6e){_0x278f89=_0x278f89-0x14b;let _0x5355ee=_0xadc977[_0x278f89];return _0x5355ee;},_0x278f(_0x4c4db0,_0x4fb3de);}import{Command as _0x289871}from'ckeditor5/src/core.js';import{FootnotesTracker as _0xa38bf1}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x289871{[_0x45e5ad(0x156)](){const _0x22f90a=_0x45e5ad,{editor:_0x45f5d1}=this,_0xd54625=_0x45f5d1[_0x22f90a(0x155)][_0x22f90a(0x153)](_0xa38bf1)[_0x22f90a(0x15b)]();this[_0x22f90a(0x159)]=!!_0xd54625,this[_0x22f90a(0x157)]=_0xd54625?.[_0x22f90a(0x162)](_0x22f90a(0x158))??null;}[_0x45e5ad(0x151)]({value:_0x58acad}){const _0x9821d5=_0x45e5ad,{editor:_0x4ef19f}=this,_0x1cc256=_0x4ef19f[_0x9821d5(0x155)][_0x9821d5(0x153)](_0xa38bf1),_0x589943=_0x1cc256[_0x9821d5(0x15b)]();_0x589943&&Number[_0x9821d5(0x165)](_0x58acad)&&_0x4ef19f[_0x9821d5(0x14b)][_0x9821d5(0x15c)](_0x6b861b=>{const _0x4f011b=_0x9821d5;_0x6b861b[_0x4f011b(0x15d)](_0x4f011b(0x158),_0x58acad,_0x589943),_0x1cc256[_0x4f011b(0x161)](_0x6b861b);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x213522=_0x1d72;(function(_0x2df0c9,_0x34be19){const _0x260b5d=_0x1d72,_0x412c13=_0x2df0c9();while(!![]){try{const _0x3c3c47=-parseInt(_0x260b5d(0x103))/0x1*(-parseInt(_0x260b5d(0xf2))/0x2)+parseInt(_0x260b5d(0xff))/0x3+parseInt(_0x260b5d(0xfc))/0x4+-parseInt(_0x260b5d(0xfe))/0x5+parseInt(_0x260b5d(0x101))/0x6*(parseInt(_0x260b5d(0xf9))/0x7)+-parseInt(_0x260b5d(0x102))/0x8+-parseInt(_0x260b5d(0xfa))/0x9;if(_0x3c3c47===_0x34be19)break;else _0x412c13['push'](_0x412c13['shift']());}catch(_0x3439c9){_0x412c13['push'](_0x412c13['shift']());}}}(_0x2256,0x9a950));function _0x1d72(_0xd3ebc3,_0x39f8aa){const _0x225628=_0x2256();return _0x1d72=function(_0x1d72be,_0x5a006c){_0x1d72be=_0x1d72be-0xee;let _0x408096=_0x225628[_0x1d72be];return _0x408096;},_0x1d72(_0xd3ebc3,_0x39f8aa);}import{Command as _0x53511c}from'ckeditor5/src/core.js';function _0x2256(){const _0x57ff6d=['get','refresh','524972GwWFFp','14197779uyOhtm','change','2183236xUwevM','value','3465910pmZLEv','3505071wbmZIF','model','6BPOOqf','188312IdmWsZ','103478imeMCj','getFootnotesDefinitionsObjectElement','execute','includes','plugins','footnotesListStyle','22nURosR','_updateFootnotesCounters','getAttribute','isEnabled','setAttribute'];_0x2256=function(){return _0x57ff6d;};return _0x2256();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x11a7fc}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x3b3fbe}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x53511c{[_0x213522(0xf8)](){const _0x562255=_0x213522,{editor:_0x23db0b}=this,_0x2a0ce3=_0x23db0b[_0x562255(0xf0)][_0x562255(0xf7)](_0x3b3fbe)[_0x562255(0x104)]();this[_0x562255(0xf5)]=!!_0x2a0ce3,this[_0x562255(0xfd)]=_0x2a0ce3?.[_0x562255(0xf4)](_0x562255(0xf1))??null;}[_0x213522(0xee)]({value:_0x3c0072}){const _0x424867=_0x213522,{editor:_0xec2a52}=this,_0x4a9a51=_0xec2a52[_0x424867(0xf0)][_0x424867(0xf7)](_0x3b3fbe),_0x5a9e7a=_0x4a9a51[_0x424867(0x104)]();_0x5a9e7a&&_0x11a7fc[_0x424867(0xef)](_0x3c0072)&&_0xec2a52[_0x424867(0x100)][_0x424867(0xfb)](_0x4b5029=>{const _0x4779c1=_0x424867;_0x4b5029[_0x4779c1(0xf6)](_0x4779c1(0xf1),_0x3c0072,_0x5a9e7a),_0x4a9a51[_0x4779c1(0xf3)](_0x4b5029);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2259fb=_0x3c91;function _0x3c91(_0x15b374,_0x52e316){const _0x2f5c18=_0x2f5c();return _0x3c91=function(_0x3c91b9,_0x4070a9){_0x3c91b9=_0x3c91b9-0xbd;let _0x3ba3c5=_0x2f5c18[_0x3c91b9];return _0x3ba3c5;},_0x3c91(_0x15b374,_0x52e316);}(function(_0x22d4b4,_0x4315bc){const _0x2a84ad=_0x3c91,_0x1add66=_0x22d4b4();while(!![]){try{const _0xec7acf=parseInt(_0x2a84ad(0xcb))/0x1+parseInt(_0x2a84ad(0xc8))/0x2+-parseInt(_0x2a84ad(0xbf))/0x3*(-parseInt(_0x2a84ad(0xc0))/0x4)+-parseInt(_0x2a84ad(0xc6))/0x5+parseInt(_0x2a84ad(0xbe))/0x6+parseInt(_0x2a84ad(0xcd))/0x7+parseInt(_0x2a84ad(0xc3))/0x8*(-parseInt(_0x2a84ad(0xc4))/0x9);if(_0xec7acf===_0x4315bc)break;else _0x1add66['push'](_0x1add66['shift']());}catch(_0x54a4ad){_0x1add66['push'](_0x1add66['shift']());}}}(_0x2f5c,0x8c28a));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2259fb(0xbd),_0x2259fb(0xc5),_0x2259fb(0xc2),_0x2259fb(0xc9),_0x2259fb(0xc7),_0x2259fb(0xca),_0x2259fb(0xc1),_0x2259fb(0xcc)];function _0x2f5c(){const _0x34ca9d=['lower-alpha','78660lTzFcD','upper-latin','upper-alpha','1137926Kknzkq','upper-roman','3738735AgkVmh','decimal','4226538elDnzv','3GxvpRs','1167736BbjVSF','lower-roman','lower-latin','323368hunbwO','288VTzIhE','decimal-leading-zero','4200780HoofkX'];_0x2f5c=function(){return _0x34ca9d;};return _0x2f5c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4a0e94=_0x95cc;(function(_0x412b11,_0x44b65c){const _0x1cc6b4=_0x95cc,_0x5c90da=_0x412b11();while(!![]){try{const _0x3d4f78=parseInt(_0x1cc6b4(0x17f))/0x1*(-parseInt(_0x1cc6b4(0x157))/0x2)+-parseInt(_0x1cc6b4(0x169))/0x3+parseInt(_0x1cc6b4(0x16a))/0x4+parseInt(_0x1cc6b4(0x13a))/0x5*(-parseInt(_0x1cc6b4(0x142))/0x6)+parseInt(_0x1cc6b4(0x189))/0x7+parseInt(_0x1cc6b4(0x162))/0x8+-parseInt(_0x1cc6b4(0x15f))/0x9;if(_0x3d4f78===_0x44b65c)break;else _0x5c90da['push'](_0x5c90da['shift']());}catch(_0x240159){_0x5c90da['push'](_0x5c90da['shift']());}}}(_0x2ced,0xd241b));import{Plugin as _0xcb15cc}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x143d70}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x238e1a}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5093c7}from'../footnotestracker.js';function _0x2ced(){const _0x52d002=['registerPostFixer','name','4020YldAlW','start','padStart','schema','footnotes-list','getItems','_getDefaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','5286kalbHP','viewItem','upper-latin','for','decimal-leading-zero','element','removeAttribute','document','consumable','lower-alpha','hasAttribute','footnotesStyle','mapper','setFootnoteFormatter','footnotesListStyle','_defineConverters','floor','footnotesStart','setStyle','toViewElement','lower-roman','12398dAELkw','_defineFormatter','add','getStyle','getAttribute','setAttribute','pluginName','max','6498729XpDbdA','init','getChildren','12964584jhnYny','type','element:ol','toLowerCase','upper-roman','position','requires','831369bnLREn','2916640AiVVpJ','upcast','get','find','writer','createRangeOn','_formatFootnoteListValue','config','_defineSchema','differ','$text','commands','footnotes.footnotesProperties.defaultStartIndex','hasClass','footnotesListStart','isNaN','item','attribute:footnotesListStyle:footnotesDefinitions','toUpperCase','insert','parent','40hQVJWw','_updateFootnotesCounters','modelCursor','isPremiumPlugin','FootnotesPropertiesEditing','isOfficialPlugin','extend','fromCharCode','_definePostfixer','lower-latin','3268762RDKHem','define','plugins','nodeAfter','footnotesDefinitions','model','upper-alpha','_getDefaultListStyle','footnotes.footnotesProperties.defaultListStyle','list-style-type','decimal','editor','getChanges','removeStyle','parseInt','checkAttribute','consume','from','downcast'];_0x2ced=function(){return _0x52d002;};return _0x2ced();}import{FootnotesEditing as _0x234908}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xcb15cc{static get[_0x4a0e94(0x15d)](){const _0x1d1799=_0x4a0e94;return _0x1d1799(0x183);}static get[_0x4a0e94(0x168)](){return[_0x234908,_0x5093c7];}static get[_0x4a0e94(0x184)](){return!0x0;}static get[_0x4a0e94(0x182)](){return!0x0;}[_0x4a0e94(0x160)](){const _0xe937b=_0x4a0e94,{editor:_0x16d269}=this;_0x16d269[_0xe937b(0x171)][_0xe937b(0x18a)](_0xe937b(0x12d),_0xe937b(0x12f)),_0x16d269[_0xe937b(0x171)][_0xe937b(0x18a)](_0xe937b(0x176),0x1),_0x16d269[_0xe937b(0x175)][_0xe937b(0x159)](_0xe937b(0x14d),new _0x143d70(_0x16d269)),_0x16d269[_0xe937b(0x175)][_0xe937b(0x159)](_0xe937b(0x153),new _0x238e1a(_0x16d269)),this[_0xe937b(0x172)](),this[_0xe937b(0x151)](),this[_0xe937b(0x158)](),this[_0xe937b(0x187)]();}[_0x4a0e94(0x172)](){const _0x5116e5=_0x4a0e94,{editor:_0xe30595}=this,{schema:_0x8bad88}=_0xe30595[_0x5116e5(0x18e)];_0x8bad88[_0x5116e5(0x185)](_0x5116e5(0x18d),{'allowAttributes':[_0x5116e5(0x150),_0x5116e5(0x178)]});}[_0x4a0e94(0x151)](){const _0xb803d4=_0x4a0e94,{editor:_0x425215}=this,{conversion:_0x4d7346,model:_0x2e4d1d}=_0x425215,{schema:_0x20341f}=_0x2e4d1d;_0x4d7346[_0xb803d4(0x145)](_0xb803d4(0x16b))[_0xb803d4(0x159)](_0x1cfe9f=>{const _0x36cc87=_0xb803d4;_0x1cfe9f['on'](_0x36cc87(0x164),(_0x5eb2d9,_0x22af7b,_0x5ec815)=>{const _0x24a4b2=_0x36cc87,_0x2f3e70=_0x22af7b[_0x24a4b2(0x143)],_0x276c3f=_0x22af7b[_0x24a4b2(0x181)]?.[_0x24a4b2(0x17e)];_0x2f3e70[_0x24a4b2(0x177)](_0x24a4b2(0x13e))&&_0x276c3f?.['is'](_0x24a4b2(0x147),_0x24a4b2(0x18d))&&(function(_0x29550b,_0x46b1b0,_0x4b6afc,_0x5805da){const _0x351e34=_0x24a4b2;if(!_0x5805da[_0x351e34(0x134)](_0x46b1b0,_0x351e34(0x178)))return;let _0x54c481=0x1;const _0x1f1d9b=_0x4b6afc[_0x351e34(0x14a)][_0x351e34(0x135)](_0x29550b,{'attributes':_0x351e34(0x13b)});if(_0x1f1d9b){const _0x197204=Number[_0x351e34(0x133)](_0x29550b[_0x351e34(0x15b)](_0x351e34(0x13b)),0xa);Number[_0x351e34(0x179)](_0x197204)||(_0x54c481=_0x197204);}!_0x1f1d9b&&_0x46b1b0[_0x351e34(0x14c)](_0x351e34(0x178))||_0x4b6afc[_0x351e34(0x16e)][_0x351e34(0x15c)](_0x351e34(0x178),_0x54c481,_0x46b1b0);}(_0x2f3e70,_0x276c3f,_0x5ec815,_0x20341f),function(_0x5da673,_0x3a7f32,_0x467477,_0x2cfb9e){const _0x118e59=_0x24a4b2;if(!_0x2cfb9e[_0x118e59(0x134)](_0x3a7f32,_0x118e59(0x150)))return;let _0x422cb2=_0x118e59(0x12f),_0x29de40=!0x1;if(_0x467477[_0x118e59(0x14a)][_0x118e59(0x135)](_0x5da673,{'attributes':_0x118e59(0x163)})){const _0x1e73fb={0x1:_0x118e59(0x12f),'a':_0x118e59(0x14b),'A':_0x118e59(0x18f),'i':_0x118e59(0x156),'I':_0x118e59(0x166)}[_0x5da673[_0x118e59(0x15b)](_0x118e59(0x163))];_0x1e73fb&&(_0x422cb2=_0x1e73fb),_0x29de40=!0x0;}_0x467477[_0x118e59(0x14a)][_0x118e59(0x135)](_0x5da673,{'styles':_0x118e59(0x12e)})&&(_0x422cb2=function(_0x414d0d){const _0x1e09a6=_0x118e59;switch(_0x414d0d){case _0x1e09a6(0x14b):return _0x1e09a6(0x188);case _0x1e09a6(0x18f):return _0x1e09a6(0x144);default:return _0x414d0d;}}(_0x5da673[_0x118e59(0x15a)](_0x118e59(0x12e))),_0x29de40=!0x0),!_0x29de40&&_0x3a7f32[_0x118e59(0x14c)](_0x118e59(0x150))||_0x467477[_0x118e59(0x16e)][_0x118e59(0x15c)](_0x118e59(0x150),_0x422cb2,_0x3a7f32);}(_0x2f3e70,_0x276c3f,_0x5ec815,_0x20341f));});}),_0x4d7346[_0xb803d4(0x145)](_0xb803d4(0x137))[_0xb803d4(0x159)](_0x4f1492=>{const _0x38c8c2=_0xb803d4;_0x4f1492['on'](_0x38c8c2(0x141),(_0x123ec9,_0x503cb9,_0xa4daec)=>{const _0x28b201=_0x38c8c2;if(!_0xa4daec[_0x28b201(0x14a)][_0x28b201(0x135)](_0x503cb9[_0x28b201(0x17a)],_0x123ec9[_0x28b201(0x139)]))return;const _0xf2b69e=M(_0x503cb9[_0x28b201(0x17a)],_0xa4daec[_0x28b201(0x14e)]),{attributeNewValue:_0x561aee}=_0x503cb9;null==_0x561aee||0x1===_0x561aee?_0xa4daec[_0x28b201(0x16e)][_0x28b201(0x148)](_0x28b201(0x13b),_0xf2b69e):_0xa4daec[_0x28b201(0x16e)][_0x28b201(0x15c)](_0x28b201(0x13b),String(_0x561aee),_0xf2b69e);}),_0x4f1492['on'](_0x38c8c2(0x17b),(_0x2fa00,_0x58ee84,_0x3b6aaa)=>{const _0x2ba95c=_0x38c8c2;if(!_0x3b6aaa[_0x2ba95c(0x14a)][_0x2ba95c(0x135)](_0x58ee84[_0x2ba95c(0x17a)],_0x2fa00[_0x2ba95c(0x139)]))return;const _0x1bbb90=M(_0x58ee84[_0x2ba95c(0x17a)],_0x3b6aaa[_0x2ba95c(0x14e)]),{attributeNewValue:_0x4b25cb}=_0x58ee84;_0x4b25cb&&_0x2ba95c(0x12f)!==_0x4b25cb?_0x3b6aaa[_0x2ba95c(0x16e)][_0x2ba95c(0x154)](_0x2ba95c(0x12e),_0x4b25cb,_0x1bbb90):_0x3b6aaa[_0x2ba95c(0x16e)][_0x2ba95c(0x132)](_0x2ba95c(0x12e),_0x1bbb90);});});}[_0x4a0e94(0x187)](){const _0x3f2abc=_0x4a0e94,{editor:_0x4d1fba}=this,{model:_0xdd415d}=_0x4d1fba,_0x187671=_0x4d1fba[_0x3f2abc(0x18b)][_0x3f2abc(0x16c)](_0x5093c7),_0x4747c4=this[_0x3f2abc(0x12c)](),_0x7cf0a1=this[_0x3f2abc(0x140)]();_0xdd415d[_0x3f2abc(0x149)][_0x3f2abc(0x138)](_0x5d7f3b=>{const _0x4517d9=_0x3f2abc,_0xd30187=_0xdd415d[_0x4517d9(0x149)][_0x4517d9(0x173)][_0x4517d9(0x131)]();let _0x59e545=!0x1;for(const _0x36d874 of _0xd30187){if(_0x4517d9(0x17d)!==_0x36d874[_0x4517d9(0x163)]||_0x4517d9(0x174)===_0x36d874[_0x4517d9(0x139)])continue;const _0x253f15=_0xdd415d[_0x4517d9(0x16f)](_0x36d874[_0x4517d9(0x167)][_0x4517d9(0x18c)]);for(const _0x1f0b39 of _0x253f15[_0x4517d9(0x13f)]())_0x1f0b39['is'](_0x4517d9(0x147),_0x4517d9(0x18d))&&(!_0x1f0b39[_0x4517d9(0x14c)](_0x4517d9(0x178))&&_0xdd415d[_0x4517d9(0x13d)][_0x4517d9(0x134)](_0x1f0b39,_0x4517d9(0x178))&&(_0x5d7f3b[_0x4517d9(0x15c)](_0x4517d9(0x178),_0x7cf0a1,_0x1f0b39),_0x59e545=!0x0),!_0x1f0b39[_0x4517d9(0x14c)](_0x4517d9(0x150))&&_0xdd415d[_0x4517d9(0x13d)][_0x4517d9(0x134)](_0x1f0b39,_0x4517d9(0x150))&&(_0x5d7f3b[_0x4517d9(0x15c)](_0x4517d9(0x150),_0x4747c4,_0x1f0b39),_0x59e545=!0x0));}return _0x59e545&&_0x187671[_0x4517d9(0x180)](_0x5d7f3b),_0x59e545;});}[_0x4a0e94(0x158)](){const _0x10445d=_0x4a0e94,{editor:_0xfa2045}=this;_0xfa2045[_0x10445d(0x18b)][_0x10445d(0x16c)](_0x5093c7)[_0x10445d(0x14f)](_0x1e4d8e=>this[_0x10445d(0x170)](_0x1e4d8e));}[_0x4a0e94(0x12c)](){const _0xc9db28=_0x4a0e94;return this[_0xc9db28(0x130)][_0xc9db28(0x171)][_0xc9db28(0x16c)](_0xc9db28(0x12d));}[_0x4a0e94(0x140)](){const _0x345817=_0x4a0e94;return this[_0x345817(0x130)][_0x345817(0x171)][_0x345817(0x16c)](_0x345817(0x176));}[_0x4a0e94(0x170)]({container:_0x5a0750,value:_0x4ae242,digits:_0x336d10}){const _0x2ce809=_0x4a0e94,_0x1e0658=_0x5a0750[_0x2ce809(0x15b)](_0x2ce809(0x150)),_0x3b74e9=_0x5a0750[_0x2ce809(0x15b)](_0x2ce809(0x178)),_0x49d0c7=Math[_0x2ce809(0x152)](_0x4ae242)+(_0x3b74e9??0x1)-0x1;switch(_0x1e0658){case _0x2ce809(0x146):return function(_0x4b49b7,_0x85c8a6){const _0x3fa476=_0x2ce809;return String(_0x4b49b7)[_0x3fa476(0x13c)](_0x85c8a6,'0');}(_0x49d0c7,Math[_0x2ce809(0x15e)](0x2,_0x336d10));case _0x2ce809(0x14b):case _0x2ce809(0x188):return N(_0x49d0c7,!0x1);case _0x2ce809(0x18f):case _0x2ce809(0x144):return N(_0x49d0c7,!0x0);case _0x2ce809(0x156):return X(_0x49d0c7,!0x1);case _0x2ce809(0x166):return X(_0x49d0c7,!0x0);default:return String(_0x49d0c7);}}}function M(_0x2985f4,_0x3928da){const _0xb74634=_0x4a0e94,_0x4663c3=_0x3928da[_0xb74634(0x155)](_0x2985f4);return Array[_0xb74634(0x136)](_0x4663c3[_0xb74634(0x161)]())[_0xb74634(0x16d)](_0x50e4a5=>_0x50e4a5['is'](_0xb74634(0x147),'ol')&&_0x50e4a5[_0xb74634(0x177)](_0xb74634(0x13e)));}function N(_0x2f1acf,_0x46b8fc){const _0x124e55=_0x4a0e94;let _0x54847d='',_0x181a39=_0x2f1acf;for(;_0x181a39>0x0;){const _0x3fdb74=(_0x181a39-0x1)%0x1a;_0x54847d=String[_0x124e55(0x186)](0x61+_0x3fdb74)+_0x54847d,_0x181a39=Math[_0x124e55(0x152)]((_0x181a39-0x1)/0x1a);}return _0x46b8fc?_0x54847d[_0x124e55(0x17c)]():_0x54847d;}function _0x95cc(_0x51853f,_0xe0105b){const _0x2ced09=_0x2ced();return _0x95cc=function(_0x95cc6c,_0xfe0af1){_0x95cc6c=_0x95cc6c-0x12c;let _0x130f44=_0x2ced09[_0x95cc6c];return _0x130f44;},_0x95cc(_0x51853f,_0xe0105b);}const V=[{'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 X(_0xaa2dd8,_0x5d9f8c){const _0x3f3800=_0x4a0e94;let _0xeab7cb='',_0x379ee5=_0xaa2dd8;for(const {value:_0x6aba76,numeral:_0x172298}of V)for(;_0x379ee5>=_0x6aba76;)_0xeab7cb+=_0x172298,_0x379ee5-=_0x6aba76;return _0x5d9f8c?_0xeab7cb:_0xeab7cb[_0x3f3800(0x165)]();}
|
|
23
|
+
const _0x2ebb08=_0x5848;(function(_0x15f106,_0xf8dce8){const _0x5054c7=_0x5848,_0x88ef88=_0x15f106();while(!![]){try{const _0x4b7ed3=parseInt(_0x5054c7(0x1ed))/0x1+-parseInt(_0x5054c7(0x1f5))/0x2*(parseInt(_0x5054c7(0x1f3))/0x3)+parseInt(_0x5054c7(0x236))/0x4+-parseInt(_0x5054c7(0x215))/0x5+parseInt(_0x5054c7(0x22d))/0x6+-parseInt(_0x5054c7(0x1d4))/0x7+parseInt(_0x5054c7(0x1f9))/0x8*(parseInt(_0x5054c7(0x1d6))/0x9);if(_0x4b7ed3===_0xf8dce8)break;else _0x88ef88['push'](_0x88ef88['shift']());}catch(_0x1f3032){_0x88ef88['push'](_0x88ef88['shift']());}}}(_0x40ef,0x8bce2));import{Plugin as _0x15653a}from'ckeditor5/src/core.js';function _0x5848(_0x3be13d,_0x58664f){const _0x40ef1a=_0x40ef();return _0x5848=function(_0x584842,_0x285b3c){_0x584842=_0x584842-0x1d4;let _0x4f69be=_0x40ef1a[_0x584842];return _0x4f69be;},_0x5848(_0x3be13d,_0x58664f);}import{FootnotesStyleCommand as _0x10671d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x7625f3}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0xc16c86}from'../footnotestracker.js';import{FootnotesEditing as _0x2f3fa1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x15653a{static get[_0x2ebb08(0x1df)](){const _0x403140=_0x2ebb08;return _0x403140(0x235);}static get[_0x2ebb08(0x1e7)](){return[_0x2f3fa1,_0xc16c86];}static get[_0x2ebb08(0x1f7)](){return!0x0;}static get[_0x2ebb08(0x222)](){return!0x0;}[_0x2ebb08(0x1ee)](){const _0x5c1641=_0x2ebb08,{editor:_0x3e9770}=this;_0x3e9770[_0x5c1641(0x219)][_0x5c1641(0x204)](_0x5c1641(0x1e1),_0x5c1641(0x1ef)),_0x3e9770[_0x5c1641(0x219)][_0x5c1641(0x204)](_0x5c1641(0x1fc),0x1),_0x3e9770[_0x5c1641(0x22f)][_0x5c1641(0x20b)](_0x5c1641(0x230),new _0x10671d(_0x3e9770)),_0x3e9770[_0x5c1641(0x22f)][_0x5c1641(0x20b)](_0x5c1641(0x1e3),new _0x7625f3(_0x3e9770)),this[_0x5c1641(0x1e0)](),this[_0x5c1641(0x20a)](),this[_0x5c1641(0x21c)](),this[_0x5c1641(0x234)]();}[_0x2ebb08(0x1e0)](){const _0x48c66f=_0x2ebb08,{editor:_0x4f6d}=this,{schema:_0x3bf4be}=_0x4f6d[_0x48c66f(0x1e5)];_0x3bf4be[_0x48c66f(0x1db)](_0x48c66f(0x1f2),{'allowAttributes':[_0x48c66f(0x1eb),_0x48c66f(0x1d9)]});}[_0x2ebb08(0x20a)](){const _0x2e41da=_0x2ebb08,{editor:_0x36c4c7}=this,{conversion:_0x455d7f,model:_0x10d3b5}=_0x36c4c7,{schema:_0x29d56c}=_0x10d3b5;_0x455d7f[_0x2e41da(0x1ec)](_0x2e41da(0x1e8))[_0x2e41da(0x20b)](_0x13ea35=>{const _0x22eebd=_0x2e41da;_0x13ea35['on'](_0x22eebd(0x201),(_0x16126b,_0x503962,_0x144379)=>{const _0x329299=_0x22eebd,_0x56c3e2=_0x503962[_0x329299(0x1fb)],_0x7559e1=_0x503962[_0x329299(0x1f8)]?.[_0x329299(0x226)];_0x56c3e2[_0x329299(0x221)](_0x329299(0x1e4))&&_0x7559e1?.['is'](_0x329299(0x211),_0x329299(0x1f2))&&(function(_0x57a162,_0x36f13c,_0x4028db,_0x4fa5de){const _0x49de4f=_0x329299;if(!_0x4fa5de[_0x49de4f(0x1f1)](_0x36f13c,_0x49de4f(0x1d9)))return;let _0x37d145=0x1;const _0x6f7c7f=_0x4028db[_0x49de4f(0x22b)][_0x49de4f(0x22c)](_0x57a162,{'attributes':_0x49de4f(0x206)});if(_0x6f7c7f){const _0x48d240=Number[_0x49de4f(0x229)](_0x57a162[_0x49de4f(0x1f0)](_0x49de4f(0x206)),0xa);Number[_0x49de4f(0x217)](_0x48d240)||(_0x37d145=_0x48d240);}!_0x6f7c7f&&_0x36f13c[_0x49de4f(0x21b)](_0x49de4f(0x1d9))||_0x4028db[_0x49de4f(0x231)][_0x49de4f(0x210)](_0x49de4f(0x1d9),_0x37d145,_0x36f13c);}(_0x56c3e2,_0x7559e1,_0x144379,_0x29d56c),function(_0x5c66bc,_0x656ca0,_0x45d265,_0x341fe8){const _0x1b7c1c=_0x329299;if(!_0x341fe8[_0x1b7c1c(0x1f1)](_0x656ca0,_0x1b7c1c(0x1eb)))return;let _0x3cc09c=_0x1b7c1c(0x1ef),_0x96294b=!0x1;if(_0x45d265[_0x1b7c1c(0x22b)][_0x1b7c1c(0x22c)](_0x5c66bc,{'attributes':_0x1b7c1c(0x21f)})){const _0x451bd4={0x1:_0x1b7c1c(0x1ef),'a':_0x1b7c1c(0x1d8),'A':_0x1b7c1c(0x1dc),'i':_0x1b7c1c(0x1e9),'I':_0x1b7c1c(0x1fe)}[_0x5c66bc[_0x1b7c1c(0x1f0)](_0x1b7c1c(0x21f))];_0x451bd4&&(_0x3cc09c=_0x451bd4),_0x96294b=!0x0;}_0x45d265[_0x1b7c1c(0x22b)][_0x1b7c1c(0x22c)](_0x5c66bc,{'styles':_0x1b7c1c(0x218)})&&(_0x3cc09c=function(_0x418cd1){const _0x909010=_0x1b7c1c;switch(_0x418cd1){case _0x909010(0x1d8):return _0x909010(0x1d7);case _0x909010(0x1dc):return _0x909010(0x1f6);default:return _0x418cd1;}}(_0x5c66bc[_0x1b7c1c(0x20f)](_0x1b7c1c(0x218))),_0x96294b=!0x0),!_0x96294b&&_0x656ca0[_0x1b7c1c(0x21b)](_0x1b7c1c(0x1eb))||_0x45d265[_0x1b7c1c(0x231)][_0x1b7c1c(0x210)](_0x1b7c1c(0x1eb),_0x3cc09c,_0x656ca0);}(_0x56c3e2,_0x7559e1,_0x144379,_0x29d56c));});}),_0x455d7f[_0x2e41da(0x1ec)](_0x2e41da(0x1d5))[_0x2e41da(0x20b)](_0x298e01=>{const _0x525f21=_0x2e41da;_0x298e01['on'](_0x525f21(0x207),(_0x192b07,_0x555013,_0x5cfd89)=>{const _0xf552e9=_0x525f21;if(!_0x5cfd89[_0xf552e9(0x22b)][_0xf552e9(0x22c)](_0x555013[_0xf552e9(0x213)],_0x192b07[_0xf552e9(0x21a)]))return;const _0x31f001=M(_0x555013[_0xf552e9(0x213)],_0x5cfd89[_0xf552e9(0x208)]),{attributeNewValue:_0x57344f}=_0x555013;null==_0x57344f||0x1===_0x57344f?_0x5cfd89[_0xf552e9(0x231)][_0xf552e9(0x1dd)](_0xf552e9(0x206),_0x31f001):_0x5cfd89[_0xf552e9(0x231)][_0xf552e9(0x210)](_0xf552e9(0x206),String(_0x57344f),_0x31f001);}),_0x298e01['on'](_0x525f21(0x20c),(_0x3b7696,_0x188dd6,_0x28fba0)=>{const _0x5432ec=_0x525f21;if(!_0x28fba0[_0x5432ec(0x22b)][_0x5432ec(0x22c)](_0x188dd6[_0x5432ec(0x213)],_0x3b7696[_0x5432ec(0x21a)]))return;const _0x27329d=M(_0x188dd6[_0x5432ec(0x213)],_0x28fba0[_0x5432ec(0x208)]),{attributeNewValue:_0x128c55}=_0x188dd6;_0x128c55&&_0x5432ec(0x1ef)!==_0x128c55?_0x28fba0[_0x5432ec(0x231)][_0x5432ec(0x21e)](_0x5432ec(0x218),_0x128c55,_0x27329d):_0x28fba0[_0x5432ec(0x231)][_0x5432ec(0x1fa)](_0x5432ec(0x218),_0x27329d);});});}[_0x2ebb08(0x234)](){const _0x485454=_0x2ebb08,{editor:_0x1f808b}=this,{model:_0x1b738e}=_0x1f808b,_0x587f65=_0x1f808b[_0x485454(0x20d)][_0x485454(0x203)](_0xc16c86),_0x50e19f=this[_0x485454(0x1fd)](),_0xdad741=this[_0x485454(0x209)]();_0x1b738e[_0x485454(0x227)][_0x485454(0x216)](_0x45dbf9=>{const _0x2845fd=_0x485454,_0x537d9=_0x1b738e[_0x2845fd(0x227)][_0x2845fd(0x20e)][_0x2845fd(0x1ea)]();let _0xe75d9a=!0x1;for(const _0x23ebb2 of _0x537d9){if(_0x2845fd(0x232)!==_0x23ebb2[_0x2845fd(0x21f)]||_0x2845fd(0x233)===_0x23ebb2[_0x2845fd(0x21a)])continue;const _0x1d8c21=_0x1b738e[_0x2845fd(0x1e6)](_0x23ebb2[_0x2845fd(0x200)][_0x2845fd(0x212)]);for(const _0x478de5 of _0x1d8c21[_0x2845fd(0x205)]())_0x478de5['is'](_0x2845fd(0x211),_0x2845fd(0x1f2))&&(!_0x478de5[_0x2845fd(0x21b)](_0x2845fd(0x1d9))&&_0x1b738e[_0x2845fd(0x214)][_0x2845fd(0x1f1)](_0x478de5,_0x2845fd(0x1d9))&&(_0x45dbf9[_0x2845fd(0x210)](_0x2845fd(0x1d9),_0xdad741,_0x478de5),_0xe75d9a=!0x0),!_0x478de5[_0x2845fd(0x21b)](_0x2845fd(0x1eb))&&_0x1b738e[_0x2845fd(0x214)][_0x2845fd(0x1f1)](_0x478de5,_0x2845fd(0x1eb))&&(_0x45dbf9[_0x2845fd(0x210)](_0x2845fd(0x1eb),_0x50e19f,_0x478de5),_0xe75d9a=!0x0));}return _0xe75d9a&&_0x587f65[_0x2845fd(0x1f4)](_0x45dbf9),_0xe75d9a;});}[_0x2ebb08(0x21c)](){const _0x4242cd=_0x2ebb08,{editor:_0x1c8fea}=this;_0x1c8fea[_0x4242cd(0x20d)][_0x4242cd(0x203)](_0xc16c86)[_0x4242cd(0x1ff)](_0x339d6d=>this[_0x4242cd(0x21d)](_0x339d6d));}[_0x2ebb08(0x1fd)](){const _0x3d01f1=_0x2ebb08;return this[_0x3d01f1(0x223)][_0x3d01f1(0x219)][_0x3d01f1(0x203)](_0x3d01f1(0x1e1));}[_0x2ebb08(0x209)](){const _0xa39a4c=_0x2ebb08;return this[_0xa39a4c(0x223)][_0xa39a4c(0x219)][_0xa39a4c(0x203)](_0xa39a4c(0x1fc));}[_0x2ebb08(0x21d)]({container:_0xb91af4,value:_0x53087c,digits:_0x44879f}){const _0x1e6963=_0x2ebb08,_0x538fbe=_0xb91af4[_0x1e6963(0x1f0)](_0x1e6963(0x1eb)),_0x28cc46=_0xb91af4[_0x1e6963(0x1f0)](_0x1e6963(0x1d9)),_0x174520=Math[_0x1e6963(0x237)](_0x53087c)+(_0x28cc46??0x1)-0x1;switch(_0x538fbe){case _0x1e6963(0x22e):return function(_0xc82231,_0x3e96ea){const _0xcc8e0a=_0x1e6963;return String(_0xc82231)[_0xcc8e0a(0x1de)](_0x3e96ea,'0');}(_0x174520,Math[_0x1e6963(0x220)](0x2,_0x44879f));case _0x1e6963(0x1d8):case _0x1e6963(0x1d7):return N(_0x174520,!0x1);case _0x1e6963(0x1dc):case _0x1e6963(0x1f6):return N(_0x174520,!0x0);case _0x1e6963(0x1e9):return X(_0x174520,!0x1);case _0x1e6963(0x1fe):return X(_0x174520,!0x0);default:return String(_0x174520);}}}function _0x40ef(){const _0x40f7aa=['registerPostFixer','isNaN','list-style-type','config','name','hasAttribute','_defineFormatter','_formatFootnoteListValue','setStyle','type','max','hasClass','isPremiumPlugin','editor','toUpperCase','getChildren','parent','document','fromCharCode','parseInt','find','consumable','consume','2019474cIIkbM','decimal-leading-zero','commands','footnotesStyle','writer','insert','$text','_definePostfixer','FootnotesPropertiesEditing','2800280QZdTBz','floor','5274122lZtXmJ','downcast','9JzghBG','lower-latin','lower-alpha','footnotesListStart','toLowerCase','extend','upper-alpha','removeAttribute','padStart','pluginName','_defineSchema','footnotes.footnotesProperties.defaultListStyle','toViewElement','footnotesStart','footnotes-list','model','createRangeOn','requires','upcast','lower-roman','getChanges','footnotesListStyle','for','134929PGMWZf','init','decimal','getAttribute','checkAttribute','footnotesDefinitions','1584333GtxhVw','_updateFootnotesCounters','2nwbPDI','upper-latin','isOfficialPlugin','modelCursor','12179200MDZQKu','removeStyle','viewItem','footnotes.footnotesProperties.defaultStartIndex','_getDefaultListStyle','upper-roman','setFootnoteFormatter','position','element:ol','from','get','define','getItems','start','attribute:footnotesListStart:footnotesDefinitions','mapper','_getDefaultStartIndex','_defineConverters','add','attribute:footnotesListStyle:footnotesDefinitions','plugins','differ','getStyle','setAttribute','element','nodeAfter','item','schema','4198895LcZrSj'];_0x40ef=function(){return _0x40f7aa;};return _0x40ef();}function M(_0x766c9b,_0x1f253f){const _0x237c5b=_0x2ebb08,_0x4abf44=_0x1f253f[_0x237c5b(0x1e2)](_0x766c9b);return Array[_0x237c5b(0x202)](_0x4abf44[_0x237c5b(0x225)]())[_0x237c5b(0x22a)](_0x484dc4=>_0x484dc4['is'](_0x237c5b(0x211),'ol')&&_0x484dc4[_0x237c5b(0x221)](_0x237c5b(0x1e4)));}function N(_0x2bf9d1,_0x1d05cd){const _0x30aa2e=_0x2ebb08;let _0x4bd6d3='',_0x4fcef6=_0x2bf9d1;for(;_0x4fcef6>0x0;){const _0x4cda14=(_0x4fcef6-0x1)%0x1a;_0x4bd6d3=String[_0x30aa2e(0x228)](0x61+_0x4cda14)+_0x4bd6d3,_0x4fcef6=Math[_0x30aa2e(0x237)]((_0x4fcef6-0x1)/0x1a);}return _0x1d05cd?_0x4bd6d3[_0x30aa2e(0x224)]():_0x4bd6d3;}const V=[{'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 X(_0x53b65d,_0x1f1812){const _0x3c86c1=_0x2ebb08;let _0x42b55b='',_0x3f831a=_0x53b65d;for(const {value:_0x1025f8,numeral:_0x1d7b45}of V)for(;_0x3f831a>=_0x1025f8;)_0x42b55b+=_0x1d7b45,_0x3f831a-=_0x1025f8;return _0x1f1812?_0x42b55b:_0x42b55b[_0x3c86c1(0x1da)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x38fe40,ButtonView as _0x3b815f,ContextualBalloon as _0x42ad31,createDropdown as _0x30e5e8}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x17455a}from'ckeditor5/src/widget.js';import{Plugin as _0x257ae6}from'ckeditor5/src/core.js';import{IconFootnote as _0x1f1ffb,IconListStyleDecimal as _0x410824,IconListStyleDecimalLeadingZero as _0x25ef2b,IconListStyleLowerLatin as _0x467a90,IconListStyleLowerRoman as _0xa0d391,IconListStyleUpperLatin as _0x30b48d,IconListStyleUpperRoman as _0x37d5c1}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2e3c7d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x323ad2}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x257ae6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x42ad31,_0x17455a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x305aa6}=this,{componentFactory:_0xd60d5b}=_0x305aa6['ui'];_0x305aa6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xd60d5b['add']('footnotesStyle',function(_0x405aa1){return _0x5c27c4=>{const {t:t}=_0x5c27c4,_0x2d57af=_0x405aa1['commands']['get']('footnotesStyle'),_0x38256c=_0x30e5e8(_0x5c27c4),{buttonView:_0x10547d}=_0x38256c;return _0x38256c['class']='ck-footnotes-styles-dropdown',_0x38256c['bind']('isEnabled')['to'](_0x2d57af,'isEnabled'),_0x10547d['set']({'label':t('Footnotes\x20style'),'icon':_0x1f1ffb,'tooltip':!0x0}),_0x38256c['once']('change:isOpen',()=>{const _0xbd7e52=function({editor:_0x496c42,dropdownView:_0x1d0166}){const {t:t}=_0x496c42['locale'],_0x503be0=t('Footnotes\x20definitions\x20styles'),_0x4f6f44=function(_0x24cd3f){const t=_0x24cd3f['locale']['t'],_0x39c436=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x410824},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x25ef2b},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xa0d391},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x37d5c1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x467a90},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x30b48d}];return _0x39c436['map'](function(_0x1d9fa8){const _0x297956=_0x1d9fa8['locale'];return({label:_0x2a8e8f,icon:_0x11ef38,tooltip:_0x5e5ece,style:_0x5f7a14})=>{const _0x4eedd2=_0x1d9fa8['commands']['get']('footnotesStyle'),_0x1adc92=new _0x3b815f(_0x297956);return _0x1adc92['set']({'label':_0x2a8e8f,'icon':_0x11ef38,'tooltip':_0x5e5ece}),_0x1adc92['bind']('isOn')['to'](_0x4eedd2,'value',_0x21275a=>_0x21275a===_0x5f7a14),_0x1adc92['bind']('isEnabled')['to'](_0x4eedd2,'isEnabled'),_0x1adc92['on']('execute',()=>{_0x1d9fa8['execute']('footnotesStyle',{'value':_0x5f7a14}),_0x1d9fa8['editing']['view']['focus']();}),_0x1adc92;};}(_0x24cd3f));}(_0x496c42),_0x2a2889=new _0x2e3c7d(_0x496c42['locale'],{'styleGridAriaLabel':_0x503be0,'styleButtonViews':_0x4f6f44}),_0xb37a02=_0x496c42['commands']['get']('footnotesStart');return _0x2a2889['startIndexFieldView']['bind']('isEnabled')['to'](_0xb37a02),_0x2a2889['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xb37a02),_0x2a2889['on']('footnotesListStart',(_0x388a5e,_0x59b93d)=>{_0x496c42['execute']('footnotesStart',{'value':_0x59b93d['startIndex']});}),_0x2a2889['delegate']('execute')['to'](_0x1d0166),_0x2a2889;}({'editor':_0x405aa1,'dropdownView':_0x38256c});_0x38256c['panelView']['children']['add'](_0xbd7e52);}),_0x38256c;};}(_0x305aa6));}['afterInit'](){const {editor:_0x23d465}=this,{t:t}=_0x23d465['locale'],_0x2dd9fd=_0x23d465['plugins']['get'](_0x17455a),{defaultPositions:_0x3dbeba}=_0x38fe40;_0x2dd9fd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x23d465['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x33d6fe=>{let _0x6593e6=_0x33d6fe['getFirstPosition']()?.['parent'];return _0x6593e6?.['is']('$text')&&(_0x6593e6=_0x6593e6['parent']),_0x6593e6?.['is']('element')?_0x6593e6['findAncestor'](_0x323ad2):null;},'positions':[_0x3dbeba['southArrowNorth'],_0x3dbeba['southArrowNorthMiddleWest'],_0x3dbeba['southArrowNorthMiddleEast'],_0x3dbeba['southArrowNorthWest'],_0x3dbeba['southArrowNorthEast'],_0x3dbeba['northArrowSouth'],_0x3dbeba['northArrowSouthMiddleWest'],_0x3dbeba['northArrowSouthMiddleEast'],_0x3dbeba['northArrowSouthWest'],_0x3dbeba['northArrowSouthEast'],_0x3dbeba['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x579f7b,View as _0x31b880,ViewCollection as _0x24aed5,FocusCycler as _0x56eb2f,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x31b880{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x24aed5();['focusCycler'];constructor(_0x3811a7,{styleButtonViews:_0x3710ac,styleGridAriaLabel:_0x540930}){super(_0x3811a7),(this['focusCycler']=new _0x56eb2f({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3710ac,_0x540930),[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 _0x43433c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x43433c['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x113fb3=_0x36020b=>_0x36020b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x113fb3),this['keystrokes']['set']('arrowleft',_0x113fb3),this['keystrokes']['set']('arrowup',_0x113fb3),this['keystrokes']['set']('arrowdown',_0x113fb3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5a0560,_0x409ba5){const _0x2e957a=new _0x31b880(this['locale']);return _0x2e957a['children']=_0x2e957a['createCollection'](),_0x2e957a['children']['addMany'](_0x5a0560),_0x2e957a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x409ba5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2e957a['children']}),_0x2e957a['children']['delegate']('execute')['to'](this),_0x2e957a['focus']=function(){for(const _0x2a49dd of this['children'])if(_0x2a49dd instanceof _0x579f7b&&_0x2a49dd['isOn'])return void _0x2a49dd['focus']();this['children']['first']['focus']();},_0x2e957a['focusTracker']=new ot(),_0x2e957a['keystrokes']=new rt(),_0x2e957a['render'](),_0x2e957a['keystrokes']['listenTo'](_0x2e957a['element']),this['children']['add'](_0x2e957a),_0x2e957a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x386ab1=this['_createStartIndexPropertyView'](),_0x3a329a=[_0x386ab1],_0x156d9c=new st(this['locale'],_0x3a329a);return _0x156d9c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x156d9c['buttonView']['bind']('isEnabled')['toMany'](_0x3a329a,'isEnabled',(..._0x4ac940)=>_0x4ac940['some'](_0xeff40b=>_0xeff40b)),_0x156d9c['buttonView']['on']('change:isEnabled',(_0x5764bb,_0xd0b80f,_0x3272d7)=>{_0x3272d7||(_0x156d9c['isCollapsed']=!0x0);}),this['children']['add'](_0x156d9c),[_0x386ab1,_0x156d9c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4831ce=new it(this['locale'],et);return _0x4831ce['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4831ce['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4831ce['fieldView']['on']('input',()=>{const _0x1d826d=_0x4831ce['fieldView']['element'],_0x31c9c3=_0x1d826d['valueAsNumber'];Number['isNaN'](_0x31c9c3)?_0x4831ce['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1d826d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x31c9c3}):_0x4831ce['errorText']=t(_0x31c9c3<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4831ce;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x46ae6f=_0x4bd8;(function(_0x3ea6a4,_0x1a03a){var _0x4eeacf=_0x4bd8,_0x39cc13=_0x3ea6a4();while(!![]){try{var _0x52a402=parseInt(_0x4eeacf(0x6b))/0x1+parseInt(_0x4eeacf(0x69))/0x2+-parseInt(_0x4eeacf(0x75))/0x3*(-parseInt(_0x4eeacf(0x72))/0x4)+parseInt(_0x4eeacf(0x71))/0x5*(parseInt(_0x4eeacf(0x73))/0x6)+parseInt(_0x4eeacf(0x6d))/0x7*(-parseInt(_0x4eeacf(0x6f))/0x8)+parseInt(_0x4eeacf(0x74))/0x9+-parseInt(_0x4eeacf(0x68))/0xa;if(_0x52a402===_0x1a03a)break;else _0x39cc13['push'](_0x39cc13['shift']());}catch(_0x4a4b18){_0x39cc13['push'](_0x39cc13['shift']());}}}(_0x2d36,0x7032f));import{Plugin as _0x38bf45}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x176f7d}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x540a1c}from'./footnotesproperties/footnotespropertiesui.js';function _0x4bd8(_0x7950ad,_0x497119){var _0x2d36be=_0x2d36();return _0x4bd8=function(_0x4bd88a,_0x5cb8a0){_0x4bd88a=_0x4bd88a-0x67;var _0x3bd266=_0x2d36be[_0x4bd88a];return _0x3bd266;},_0x4bd8(_0x7950ad,_0x497119);}export class FootnotesProperties extends _0x38bf45{static get[_0x46ae6f(0x67)](){var _0x338706=_0x46ae6f;return _0x338706(0x6c);}static get[_0x46ae6f(0x6a)](){return[_0x176f7d,_0x540a1c];}static get[_0x46ae6f(0x70)](){return!0x0;}static get[_0x46ae6f(0x6e)](){return!0x0;}}function _0x2d36(){var _0x447adc=['FootnotesProperties','168RKiQCx','isPremiumPlugin','215984GxeERg','isOfficialPlugin','4575VhtsDI','284XQzdUY','4848wDmyir','4943673DExaXa','31047vlxbqy','pluginName','14733060xEgxmo','933562OxXTWf','requires','90648yuFZlV'];_0x2d36=function(){return _0x447adc;};return _0x2d36();}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x127bfe=_0x29c6;(function(_0x2b7f43,_0x31fb61){const _0x570d06=_0x29c6,_0x47d99c=_0x2b7f43();while(!![]){try{const _0x5b5620=parseInt(_0x570d06(0xf1))/0x1+-parseInt(_0x570d06(0xef))/0x2*(-parseInt(_0x570d06(0x107))/0x3)+-parseInt(_0x570d06(0x128))/0x4+-parseInt(_0x570d06(0xdf))/0x5*(parseInt(_0x570d06(0xd1))/0x6)+-parseInt(_0x570d06(0x10a))/0x7*(parseInt(_0x570d06(0xe5))/0x8)+-parseInt(_0x570d06(0xfb))/0x9*(parseInt(_0x570d06(0xde))/0xa)+parseInt(_0x570d06(0x11c))/0xb;if(_0x5b5620===_0x31fb61)break;else _0x47d99c['push'](_0x47d99c['shift']());}catch(_0x2c937b){_0x47d99c['push'](_0x47d99c['shift']());}}}(_0x44a2,0x8e175));function _0x29c6(_0x34da9b,_0x36c346){const _0x44a294=_0x44a2();return _0x29c6=function(_0x29c66e,_0x539b5f){_0x29c66e=_0x29c66e-0xca;let _0x181c4c=_0x44a294[_0x29c66e];return _0x181c4c;},_0x29c6(_0x34da9b,_0x36c346);}function _0x44a2(){const _0x432a1e=['document','unshift','map','compareWith','set','move','createRangeOn','_footnoteRefsTracker','6565473kpJmdh','enqueueChange','remove','pluginName','after','_footnotesDefinitions','definition','_handleFootnotesDefinitionsObjectChanges','_footnotes','_handleRemoveFootnoteReferenceById','change:data','createPositionBefore','42IRbjFA','_handleFootnotesDefinitionsObjectSync','isPremiumPlugin','224zlWlwX','footnoteId','find','setFootnoteFormatter','getFootnote','paragraph','$graveyard','_insertEmptyFootnotesDefinitionsContainer','getFootnotesFormatter','listenTo','parent','isEqual','_handleFootnoteDefinitionsChanges','getAttribute','_footnoteDefsTracker','min','low','_ensureFootnotesDefinitionsContainerExists','9503703zvpQCA','insert','getRootNames','reset','_updateFootnotesCounters','createElement','registerPostFixer','some','_handleMovedFootnoteReference','footnoteRef','singleton','editor','1158112pKlheD','_footnoteFormatter','config','footnoteInlineContent','footnoteDefinition','splice','length','getChanges','getFootnotes','_footnoteDefsContainerTracker','isOfficialPlugin','_handleFootnoteReferencesChanges','createRangeIn','push','createPositionAt','12spXyUu','footnoteCounter','getChildren','from','before','differ','_handleInsertedFootnoteReference','indexOf','setAttribute','FootnotesTracker','init','get','_updateFootnoteRefCounter','10cQVUNT','497885PXtskZ','footnotes.multiBlock','high','has','end','footnotesDefinitions','136272VDhQMg','_sortFootnoteDefinitions','add','model','_ensureFootnotesReferencesHaveProperOrder','append','childCount','reference','rootName','getFootnotesDefinitionsObjectElement','140188zQDcMI','root','499983axEJwM','findIndex'];_0x44a2=function(){return _0x432a1e;};return _0x44a2();}import{Plugin as _0x193722}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x52a234}from'./modelelementtracker.js';export class FootnotesTracker extends _0x193722{[_0x127bfe(0x103)]=[];[_0x127bfe(0x100)]=null;[_0x127bfe(0x129)]=null;[_0x127bfe(0xcb)];[_0x127bfe(0xfa)];[_0x127bfe(0x118)];static get[_0x127bfe(0xfe)](){const _0x349c36=_0x127bfe;return _0x349c36(0xda);}static get[_0x127bfe(0xcc)](){return!0x0;}static get[_0x127bfe(0x109)](){return!0x0;}constructor(_0x2f53c6){const _0x55abd2=_0x127bfe;super(_0x2f53c6),this[_0x55abd2(0xcb)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0xe4),'getElementKey':()=>_0x55abd2(0x126)}),this[_0x55abd2(0xfa)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0x125),'getElementKey':_0x8cc3e9=>_0x8cc3e9[_0x55abd2(0x117)](_0x55abd2(0x10b))}),this[_0x55abd2(0x118)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0x12c),'getElementKey':_0x1d5025=>_0x1d5025[_0x55abd2(0x117)](_0x55abd2(0x10b))});}[_0x127bfe(0xdb)](){const _0x25440a=_0x127bfe,{editor:_0x443056}=this,{model:_0x46cf4f,data:_0x4c27a0}=_0x443056;_0x46cf4f[_0x25440a(0xf3)][_0x25440a(0x122)](_0x91d5cb=>{const _0xaa5b56=_0x25440a,_0x44c4b0=_0x46cf4f[_0xaa5b56(0xf3)][_0xaa5b56(0xd6)][_0xaa5b56(0x12f)]();let _0x488486=!0x1;return this[_0xaa5b56(0x102)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0x116)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0xcd)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0xe9)](_0x91d5cb)&&(_0x488486=!0x0),this[_0xaa5b56(0x108)](_0x91d5cb)&&(_0x488486=!0x0),this[_0xaa5b56(0xe6)](_0x91d5cb)&&(_0x488486=!0x0),_0x488486;}),this[_0x25440a(0x113)](_0x46cf4f[_0x25440a(0xf3)],_0x25440a(0x105),()=>{const _0x2e4a4e=_0x25440a;_0x46cf4f[_0x2e4a4e(0xfc)]({'isUndoable':!0x1},_0xf790f2=>{const _0x330e9d=_0x2e4a4e;this[_0x330e9d(0x11b)](_0xf790f2);});},{'priority':_0x25440a(0x11a)}),this[_0x25440a(0x113)](_0x4c27a0,_0x25440a(0xf7),()=>{const _0x4eecf5=_0x25440a;this[_0x4eecf5(0x103)]=[],this[_0x4eecf5(0xcb)][_0x4eecf5(0x11f)](),this[_0x4eecf5(0xfa)][_0x4eecf5(0x11f)](),this[_0x4eecf5(0x118)][_0x4eecf5(0x11f)]();},{'priority':_0x25440a(0xe1)});}[_0x127bfe(0xee)](){const _0xdbed58=_0x127bfe;return this[_0xdbed58(0x100)];}[_0x127bfe(0x10e)](_0x25c391){const _0x46b571=_0x127bfe;return this[_0x46b571(0x103)][_0x46b571(0x10c)](_0x258161=>_0x258161['id']===_0x25c391)||null;}[_0x127bfe(0xca)](){const _0x1ae264=_0x127bfe;return Array[_0x1ae264(0xd4)](this[_0x1ae264(0x103)]);}[_0x127bfe(0x112)](){const _0x2a3867=_0x127bfe;return this[_0x2a3867(0x129)];}[_0x127bfe(0x10d)](_0xbdc89e){const _0x41d8b6=_0x127bfe;this[_0x41d8b6(0x129)]=_0xbdc89e;}[_0x127bfe(0x120)](_0x2e24c7,_0x31b857=0x0){const _0x24a16c=_0x127bfe;let _0x3e5457=!0x1;for(let _0x1a351c=_0x31b857;_0x1a351c<this[_0x24a16c(0x103)][_0x24a16c(0x12e)];_0x1a351c++)this[_0x24a16c(0xdd)](_0x2e24c7,_0x1a351c)&&(_0x3e5457=!0x0);return _0x3e5457;}[_0x127bfe(0x111)](_0x51814c,_0xeb58f){const _0x5d833a=_0x127bfe,_0x57155c=_0x51814c[_0x5d833a(0x121)](_0x5d833a(0xe4),{});return _0x51814c[_0x5d833a(0xea)](_0x57155c,_0xeb58f),this[_0x5d833a(0x100)]=_0x57155c,_0x57155c;}[_0x127bfe(0x11b)](_0x2805d6){const _0x32d858=_0x127bfe;if(!this[_0x32d858(0x103)][_0x32d858(0x12e)]||this[_0x32d858(0x100)])return;const _0x328a02=this[_0x32d858(0x103)][0x0][_0x32d858(0xec)][_0x32d858(0xf0)],_0x2486fd=this[_0x32d858(0x111)](_0x2805d6,_0x328a02);for(const _0xc40e48 of this[_0x32d858(0x103)])_0xc40e48[_0x32d858(0x101)][_0x32d858(0x114)]||_0x2805d6[_0x32d858(0x11d)](_0xc40e48[_0x32d858(0x101)],_0x2486fd,_0x32d858(0xe3));this[_0x32d858(0x120)](_0x2805d6);}[_0x127bfe(0x102)](_0x5e25f5,_0x125925){const _0x5ab2e0=_0x127bfe;let _0xc37130=!0x1;const {inserted:_0x108d1d,removed:_0x5a7b57,moved:_0x518beb}=this[_0x5ab2e0(0xcb)][_0x5ab2e0(0x12f)](_0x125925);if(_0x518beb[_0x5ab2e0(0x12e)]&&(this[_0x5ab2e0(0x100)]=_0x518beb[0x0]),_0x108d1d[_0x5ab2e0(0x12e)]){if(_0x108d1d[_0x5ab2e0(0x12e)]>0x1||this[_0x5ab2e0(0x100)]&&_0x108d1d[_0x5ab2e0(0x123)](_0xe1279b=>_0xe1279b!==this[_0x5ab2e0(0x100)])){const _0x40aedc=_0x5e25f5[_0x5ab2e0(0x121)](_0x5ab2e0(0xe4),{}),_0x5a1515=[];this[_0x5ab2e0(0x100)]&&_0x5a1515[_0x5ab2e0(0xcf)](this[_0x5ab2e0(0x100)]),_0x5a1515[_0x5ab2e0(0xcf)](..._0x108d1d),_0x5e25f5[_0x5ab2e0(0x11d)](_0x40aedc,_0x5a1515[0x0],_0x5ab2e0(0xd5));for(const _0x21702e of _0x5a1515)_0x5e25f5[_0x5ab2e0(0xf8)](_0x5e25f5[_0x5ab2e0(0xce)](_0x21702e),_0x5e25f5[_0x5ab2e0(0xd0)](_0x40aedc,_0x5ab2e0(0xe3))),_0x5e25f5[_0x5ab2e0(0xfd)](_0x21702e);this[_0x5ab2e0(0x100)]=_0x40aedc,this[_0x5ab2e0(0x120)](_0x5e25f5),_0xc37130=!0x0;}else this[_0x5ab2e0(0x100)]=_0x108d1d[0x0];}if(_0x5a7b57[_0x5ab2e0(0x12e)]&&_0x5ab2e0(0x110)===this[_0x5ab2e0(0x100)]?.[_0x5ab2e0(0xf0)][_0x5ab2e0(0xed)]){for(const _0x156f61 of this[_0x5ab2e0(0x103)])_0x5e25f5[_0x5ab2e0(0xfd)](_0x156f61[_0x5ab2e0(0xec)]),_0xc37130=!0x0;this[_0x5ab2e0(0x103)]=[],this[_0x5ab2e0(0x100)]=null;}return _0xc37130;}[_0x127bfe(0x116)](_0x768e50,_0x1a086a){const _0xfaa18f=_0x127bfe;let _0x3751e1=!0x1;const _0x51356a=this[_0xfaa18f(0x127)][_0xfaa18f(0x12a)][_0xfaa18f(0xdc)](_0xfaa18f(0xe0)),{inserted:_0x40fc51,moved:_0x40c111}=this[_0xfaa18f(0x118)][_0xfaa18f(0x12f)](_0x1a086a);for(const _0x3d406d of[..._0x40c111,..._0x40fc51]){const _0x52d383=_0x3d406d[_0xfaa18f(0x117)](_0xfaa18f(0x10b)),_0x1144f4=this[_0xfaa18f(0x10e)](_0x52d383);_0x1144f4&&(_0x1144f4[_0xfaa18f(0x101)]=_0x3d406d),_(_0x768e50,_0x51356a,_0x3d406d)&&(_0x3751e1=!0x0);}return _0x3751e1;}[_0x127bfe(0xcd)](_0x1968d8,_0x257f50){const _0x136f07=_0x127bfe;let _0x467f15=!0x1;const {removed:_0x3673f8,inserted:_0x4b0b46,moved:_0x46ebd0}=this[_0x136f07(0xfa)][_0x136f07(0x12f)](_0x257f50);for(const _0xae887a of _0x3673f8)this[_0x136f07(0x104)](_0x1968d8,_0xae887a)&&(_0x467f15=!0x0);for(const _0x28b20b of _0x4b0b46)this[_0x136f07(0xd7)](_0x1968d8,_0x28b20b)&&(_0x467f15=!0x0);for(const _0x21b622 of _0x46ebd0)this[_0x136f07(0x124)](_0x1968d8,_0x21b622)&&(_0x467f15=!0x0);return _0x467f15;}[_0x127bfe(0x108)](_0x2e0028){const _0x52a1d4=_0x127bfe;if(!this[_0x52a1d4(0x100)])return!0x1;let _0x38a04b=!0x1;if(this[_0x52a1d4(0x100)][_0x52a1d4(0xeb)]!==this[_0x52a1d4(0x103)][_0x52a1d4(0x12e)]){const _0x2fdd71=[];for(const _0x54e5d0 of this[_0x52a1d4(0x100)][_0x52a1d4(0xd3)]()){const _0x520fbc=_0x54e5d0[_0x52a1d4(0x117)](_0x52a1d4(0x10b));this[_0x52a1d4(0x10e)](_0x520fbc)||(_0x2fdd71[_0x52a1d4(0xf4)](_0x54e5d0),_0x38a04b=!0x0);}for(const _0x561e00 of _0x2fdd71)_0x2e0028[_0x52a1d4(0xfd)](_0x561e00);}const _0x349862=new Set(),_0x514e1e=[];for(const _0x45edcd of this[_0x52a1d4(0x100)][_0x52a1d4(0xd3)]()){const _0x566ff6=_0x45edcd[_0x52a1d4(0x117)](_0x52a1d4(0x10b));_0x349862[_0x52a1d4(0xe2)](_0x566ff6)?(_0x514e1e[_0x52a1d4(0xf4)](_0x45edcd),_0x38a04b=!0x0):_0x349862[_0x52a1d4(0xe7)](_0x566ff6);}for(const _0xe7ba80 of _0x514e1e)_0x2e0028[_0x52a1d4(0xfd)](_0xe7ba80);return this[_0x52a1d4(0x100)][_0x52a1d4(0xeb)]||(_0x2e0028[_0x52a1d4(0xfd)](this[_0x52a1d4(0x100)]),this[_0x52a1d4(0x100)]=null,_0x38a04b=!0x0),_0x38a04b;}[_0x127bfe(0xd7)](_0x1e860e,_0x4ea1df){const _0x150c0d=_0x127bfe;if(this[_0x150c0d(0x103)][_0x150c0d(0x10c)](_0x43c4b7=>_0x43c4b7[_0x150c0d(0xec)]===_0x4ea1df))return!0x1;let _0x3ef6c7=!0x1;const _0x44072d=_0x4ea1df[_0x150c0d(0x117)](_0x150c0d(0x10b)),_0x45a994=this[_0x150c0d(0x103)][_0x150c0d(0xf2)](_0x413fdf=>_0x413fdf['id']===_0x44072d);-0x1!==_0x45a994&&(_0x1e860e[_0x150c0d(0xfd)](this[_0x150c0d(0x103)][_0x45a994][_0x150c0d(0xec)]),this[_0x150c0d(0x103)][_0x150c0d(0x12d)](_0x45a994,0x1),_0x3ef6c7=!0x0);let _0x48a534=this[_0x150c0d(0x100)]?function(_0x19b81f,_0x3d0dff){const _0x5138c7=_0x150c0d;for(const _0x53269e of _0x19b81f[_0x5138c7(0xd3)]())if(_0x53269e[_0x5138c7(0x117)](_0x5138c7(0x10b))===_0x3d0dff)return _0x53269e;return null;}(this[_0x150c0d(0x100)],_0x44072d):null;_0x48a534||(_0x48a534=_0x1e860e[_0x150c0d(0x121)](_0x150c0d(0x12c),{'footnoteId':_0x44072d}),this[_0x150c0d(0x100)]&&(_0x1e860e[_0x150c0d(0x11d)](_0x48a534,this[_0x150c0d(0x100)],_0x150c0d(0xe3)),_0x3ef6c7=!0x0));const _0x3ba5ce={'id':_0x44072d,'reference':_0x4ea1df,'definition':_0x48a534},_0x53c4f9=I(this[_0x150c0d(0x127)][_0x150c0d(0xe8)],this[_0x150c0d(0x103)],_0x4ea1df);this[_0x150c0d(0x103)][_0x150c0d(0x12d)](_0x53c4f9,0x0,_0x3ba5ce);let _0x3bf466=_0x53c4f9;return-0x1!==_0x45a994&&(_0x3bf466=Math[_0x150c0d(0x119)](_0x53c4f9,_0x45a994)),this[_0x150c0d(0x120)](_0x1e860e,_0x3bf466)&&(_0x3ef6c7=!0x0),_0x3ef6c7;}[_0x127bfe(0x104)](_0x31594b,_0x374c75){const _0xe3be4f=_0x127bfe,_0x56a65a=this[_0xe3be4f(0x103)][_0xe3be4f(0xf2)](_0x2e1e4c=>_0x2e1e4c['id']===_0x374c75);if(-0x1===_0x56a65a)return!0x1;let _0x26a35a=!0x1;const _0x485d5d=this[_0xe3be4f(0x103)][_0x56a65a];return _0xe3be4f(0x110)!==_0x485d5d[_0xe3be4f(0x101)][_0xe3be4f(0xf0)][_0xe3be4f(0xed)]&&(_0x31594b[_0xe3be4f(0xfd)](_0x485d5d[_0xe3be4f(0x101)]),_0x26a35a=!0x0),this[_0xe3be4f(0x103)][_0xe3be4f(0x12d)](_0x56a65a,0x1),this[_0xe3be4f(0x120)](_0x31594b,_0x56a65a)&&(_0x26a35a=!0x0),_0x26a35a;}[_0x127bfe(0x124)](_0x3462aa,_0x5781db){const _0xfb600a=_0x127bfe,_0x3e179b=_0x5781db[_0xfb600a(0x117)](_0xfb600a(0x10b)),_0x3b8470=this[_0xfb600a(0x103)][_0xfb600a(0xf2)](_0x503295=>_0x503295['id']===_0x3e179b),_0x5ab071=this[_0xfb600a(0x103)][_0x3b8470];let _0x29d29a=!0x1;_0x5ab071[_0xfb600a(0xec)]=_0x5781db,this[_0xfb600a(0x103)][_0xfb600a(0x12d)](_0x3b8470,0x1);const _0x3f5bb8=I(this[_0xfb600a(0x127)][_0xfb600a(0xe8)],this[_0xfb600a(0x103)],_0x5781db);return this[_0xfb600a(0x103)][_0xfb600a(0x12d)](_0x3f5bb8,0x0,_0x5ab071),this[_0xfb600a(0x120)](_0x3462aa,Math[_0xfb600a(0x119)](_0x3b8470,_0x3f5bb8))&&(_0x29d29a=!0x0),_0x29d29a;}[_0x127bfe(0xdd)](_0x4337be,_0x11b1cd){const _0x4c895b=_0x127bfe;if(!this[_0x4c895b(0x100)])return!0x1;const _0x2b6f03=this[_0x4c895b(0x103)][_0x11b1cd];let _0x5da184;return _0x5da184=this[_0x4c895b(0x129)]?this[_0x4c895b(0x129)]({'footnote':_0x2b6f03,'container':this[_0x4c895b(0x100)],'digits':String(this[_0x4c895b(0x103)][_0x4c895b(0x12e)])[_0x4c895b(0x12e)],'value':_0x11b1cd+0x1}):String(_0x11b1cd+0x1),_0x2b6f03[_0x4c895b(0xec)][_0x4c895b(0x117)](_0x4c895b(0xd2))!=_0x5da184&&(_0x4337be[_0x4c895b(0xd9)](_0x4c895b(0xd2),_0x5da184,_0x2b6f03[_0x4c895b(0xec)]),!0x0);}[_0x127bfe(0xe6)](_0x5946fd){const _0x207d0f=_0x127bfe;if(!this[_0x207d0f(0x100)]||this[_0x207d0f(0x103)][_0x207d0f(0x12e)]<0x2)return!0x1;if(function(_0x1152ea,_0x43490a){const _0x5a7b45=_0x207d0f;if(_0x1152ea[_0x5a7b45(0x12e)]!==_0x43490a[_0x5a7b45(0x12e)])return!0x1;for(let _0x37a037=0x0;_0x37a037<_0x1152ea[_0x5a7b45(0x12e)];_0x37a037++)if(_0x1152ea[_0x37a037]!==_0x43490a[_0x37a037])return!0x1;return!0x0;}(this[_0x207d0f(0x103)][_0x207d0f(0xf5)](_0x206646=>_0x206646['id']),Array[_0x207d0f(0xd4)](this[_0x207d0f(0x100)][_0x207d0f(0xd3)]())[_0x207d0f(0xf5)](_0x2cb759=>_0x2cb759[_0x207d0f(0x117)](_0x207d0f(0x10b)))))return!0x1;let _0x5e8fb1=!0x1;for(let _0x1a9213=0x0;_0x1a9213<this[_0x207d0f(0x103)][_0x207d0f(0x12e)];_0x1a9213++){const _0x56c6ee=this[_0x207d0f(0x103)][_0x1a9213],_0x67b01a=_0x5946fd[_0x207d0f(0x106)](_0x56c6ee[_0x207d0f(0x101)]),_0xfac195=_0x5946fd[_0x207d0f(0xd0)](this[_0x207d0f(0x100)],_0x1a9213);_0x67b01a[_0x207d0f(0x115)](_0xfac195)||(_0x5946fd[_0x207d0f(0xf8)](_0x5946fd[_0x207d0f(0xf9)](_0x56c6ee[_0x207d0f(0x101)]),_0xfac195),_0x5e8fb1=!0x0);}return _0x5e8fb1;}[_0x127bfe(0xe9)](_0x52525){const _0x57c194=_0x127bfe;if(!this[_0x57c194(0x103)][_0x57c194(0x12e)])return!0x1;const {model:_0x4fc709}=this[_0x57c194(0x127)];let _0x7b3fef=!0x1;for(let _0x545460=0x0;_0x545460<this[_0x57c194(0x103)][_0x57c194(0x12e)]-0x1;_0x545460++){const _0x820092=this[_0x57c194(0x103)][_0x545460],_0x1e1e1e=this[_0x57c194(0x103)][_0x545460+0x1],_0x1e408c=_0x4fc709[_0x57c194(0x106)](_0x820092[_0x57c194(0xec)]),_0x1b5040=_0x4fc709[_0x57c194(0x106)](_0x1e1e1e[_0x57c194(0xec)]);_0x57c194(0xff)===_0x1e408c[_0x57c194(0xf6)](_0x1b5040)&&(this[_0x57c194(0x124)](_0x52525,_0x820092[_0x57c194(0xec)]),_0x545460=-0x1,_0x7b3fef=!0x0);}return _0x7b3fef;}}function _(_0x14db7e,_0x326bf5,_0x5c3698){const _0x388a61=_0x127bfe;if(_0x5c3698[_0x388a61(0xeb)])return!0x1;const _0x51c7ab=_0x326bf5?_0x388a61(0x10f):_0x388a61(0x12b);return _0x14db7e[_0x388a61(0x11d)](_0x14db7e[_0x388a61(0x121)](_0x51c7ab),_0x5c3698),!0x0;}function I(_0x5e7b92,_0x2c859a,_0x261fb6){const _0x1c9fb1=_0x127bfe;if(0x0===_0x2c859a[_0x1c9fb1(0x12e)])return 0x0;const _0x5bc849=_0x5e7b92[_0x1c9fb1(0x106)](_0x261fb6);for(let _0x308386=0x0;_0x308386<_0x2c859a[_0x1c9fb1(0x12e)];_0x308386++){const _0x15964b=_0x2c859a[_0x308386],_0x3dd3c4=_0x5e7b92[_0x1c9fb1(0x106)](_0x15964b[_0x1c9fb1(0xec)]);if(_0x1c9fb1(0xd5)===_0x5bc849[_0x1c9fb1(0xf6)](_0x3dd3c4))return _0x308386;}const _0x5a1dde=_0x261fb6[_0x1c9fb1(0xf0)];let _0x54266e=-0x1;for(let _0x1dc8d2=_0x2c859a[_0x1c9fb1(0x12e)]-0x1;_0x1dc8d2>=0x0;_0x1dc8d2--)if(_0x2c859a[_0x1dc8d2][_0x1c9fb1(0xec)][_0x1c9fb1(0xf0)]===_0x5a1dde){_0x54266e=_0x1dc8d2;break;}if(-0x1!==_0x54266e)return _0x54266e+0x1;const _0xa34560=_0x5e7b92[_0x1c9fb1(0xf3)][_0x1c9fb1(0x11e)](),_0x3590b4=_0xa34560[_0x1c9fb1(0xd8)](_0x5a1dde[_0x1c9fb1(0xed)]),_0x19bf3a=_0xa34560[_0x3590b4+0x1];if(_0x19bf3a){for(let _0x2de4b2=0x0;_0x2de4b2<_0x2c859a[_0x1c9fb1(0x12e)];_0x2de4b2++)if(_0x2c859a[_0x2de4b2][_0x1c9fb1(0xec)][_0x1c9fb1(0xf0)][_0x1c9fb1(0xed)]===_0x19bf3a)return _0x2de4b2;}return _0x2c859a[_0x1c9fb1(0x12e)];}
|
|
23
|
+
function _0x3d58(_0x2b3ca2,_0x29fa07){const _0x17e23a=_0x17e2();return _0x3d58=function(_0x3d5884,_0x444163){_0x3d5884=_0x3d5884-0x153;let _0x5136df=_0x17e23a[_0x3d5884];return _0x5136df;},_0x3d58(_0x2b3ca2,_0x29fa07);}const _0x3db3df=_0x3d58;function _0x17e2(){const _0x4660fd=['_footnoteDefsTracker','definition','footnoteRef','add','8TIOaDq','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','footnoteId','setAttribute','reference','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','has','getChanges','set','compareWith','parent','footnotesDefinitions','before','footnoteCounter','move','getChildren','singleton','model','getFootnotesDefinitionsObjectElement','after','push','high','getFootnotes','11464SlreoC','_footnotes','_sortFootnoteDefinitions','document','$graveyard','2270073GBgXFN','listenTo','rootName','getFootnote','createPositionAt','find','editor','enqueueChange','isOfficialPlugin','reset','get','1770DYdHfZ','change:data','_handleFootnoteReferencesChanges','insert','remove','root','_updateFootnotesCounters','splice','registerPostFixer','findIndex','3085068eENmct','_ensureFootnotesDefinitionsContainerExists','footnoteInlineContent','append','unshift','footnoteDefinition','pluginName','indexOf','_footnoteDefsContainerTracker','config','low','createPositionBefore','some','_updateFootnoteRefCounter','paragraph','min','isEqual','isPremiumPlugin','createRangeIn','length','_footnoteFormatter','setFootnoteFormatter','from','getRootNames','43838rlRmVd','71598wTgjGI','5670yzNeKq','_handleMovedFootnoteReference','getFootnotesFormatter','1195388wuDlaK','_handleFootnotesDefinitionsObjectChanges','init','getAttribute','footnotes.multiBlock','_handleInsertedFootnoteReference','differ','_handleRemoveFootnoteReferenceById','createRangeOn','childCount','_handleFootnoteDefinitionsChanges','475wwMjzT','26576UGIIUR','createElement','FootnotesTracker','end','map','_footnoteRefsTracker'];_0x17e2=function(){return _0x4660fd;};return _0x17e2();}(function(_0x38a6a6,_0x2dd5db){const _0x5185ef=_0x3d58,_0x3f2440=_0x38a6a6();while(!![]){try{const _0x29e108=parseInt(_0x5185ef(0x1b6))/0x1*(parseInt(_0x5185ef(0x19b))/0x2)+parseInt(_0x5185ef(0x16e))/0x3+parseInt(_0x5185ef(0x1a0))/0x4+parseInt(_0x5185ef(0x1ab))/0x5*(parseInt(_0x5185ef(0x19c))/0x6)+-parseInt(_0x5185ef(0x183))/0x7+parseInt(_0x5185ef(0x169))/0x8*(-parseInt(_0x5185ef(0x19d))/0x9)+parseInt(_0x5185ef(0x179))/0xa*(-parseInt(_0x5185ef(0x1ac))/0xb);if(_0x29e108===_0x2dd5db)break;else _0x3f2440['push'](_0x3f2440['shift']());}catch(_0x28e8d){_0x3f2440['push'](_0x3f2440['shift']());}}}(_0x17e2,0x90de3));import{Plugin as _0x4d6ff3}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x3cf25e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4d6ff3{[_0x3db3df(0x16a)]=[];[_0x3db3df(0x157)]=null;[_0x3db3df(0x197)]=null;[_0x3db3df(0x18b)];[_0x3db3df(0x1b1)];[_0x3db3df(0x1b2)];static get[_0x3db3df(0x189)](){const _0x57d255=_0x3db3df;return _0x57d255(0x1ae);}static get[_0x3db3df(0x176)](){return!0x0;}static get[_0x3db3df(0x194)](){return!0x0;}constructor(_0x2ff7a6){const _0xb0436d=_0x3db3df;super(_0x2ff7a6),this[_0xb0436d(0x18b)]=new _0x3cf25e(this[_0xb0436d(0x174)][_0xb0436d(0x163)],{'elementName':_0xb0436d(0x15d),'getElementKey':()=>_0xb0436d(0x162)}),this[_0xb0436d(0x1b1)]=new _0x3cf25e(this[_0xb0436d(0x174)][_0xb0436d(0x163)],{'elementName':_0xb0436d(0x1b4),'getElementKey':_0x42fe75=>_0x42fe75[_0xb0436d(0x1a3)](_0xb0436d(0x153))}),this[_0xb0436d(0x1b2)]=new _0x3cf25e(this[_0xb0436d(0x174)][_0xb0436d(0x163)],{'elementName':_0xb0436d(0x188),'getElementKey':_0x4543da=>_0x4543da[_0xb0436d(0x1a3)](_0xb0436d(0x153))});}[_0x3db3df(0x1a2)](){const _0x587c88=_0x3db3df,{editor:_0x589719}=this,{model:_0x2d6d97,data:_0x407181}=_0x589719;_0x2d6d97[_0x587c88(0x16c)][_0x587c88(0x181)](_0x29fea6=>{const _0x4a878f=_0x587c88,_0x5a555e=_0x2d6d97[_0x4a878f(0x16c)][_0x4a878f(0x1a6)][_0x4a878f(0x159)]();let _0x53e612=!0x1;return this[_0x4a878f(0x1a1)](_0x29fea6,_0x5a555e)&&(_0x53e612=!0x0),this[_0x4a878f(0x1aa)](_0x29fea6,_0x5a555e)&&(_0x53e612=!0x0),this[_0x4a878f(0x17b)](_0x29fea6,_0x5a555e)&&(_0x53e612=!0x0),this[_0x4a878f(0x156)](_0x29fea6)&&(_0x53e612=!0x0),this[_0x4a878f(0x1b7)](_0x29fea6)&&(_0x53e612=!0x0),this[_0x4a878f(0x16b)](_0x29fea6)&&(_0x53e612=!0x0),_0x53e612;}),this[_0x587c88(0x16f)](_0x2d6d97[_0x587c88(0x16c)],_0x587c88(0x17a),()=>{const _0x56fc65=_0x587c88;_0x2d6d97[_0x56fc65(0x175)]({'isUndoable':!0x1},_0x35acca=>{const _0x28314a=_0x56fc65;this[_0x28314a(0x184)](_0x35acca);});},{'priority':_0x587c88(0x18d)}),this[_0x587c88(0x16f)](_0x407181,_0x587c88(0x15a),()=>{const _0x589288=_0x587c88;this[_0x589288(0x16a)]=[],this[_0x589288(0x18b)][_0x589288(0x177)](),this[_0x589288(0x1b1)][_0x589288(0x177)](),this[_0x589288(0x1b2)][_0x589288(0x177)]();},{'priority':_0x587c88(0x167)});}[_0x3db3df(0x164)](){const _0x5ed195=_0x3db3df;return this[_0x5ed195(0x157)];}[_0x3db3df(0x171)](_0x5944c4){const _0x3ada44=_0x3db3df;return this[_0x3ada44(0x16a)][_0x3ada44(0x173)](_0x55af5e=>_0x55af5e['id']===_0x5944c4)||null;}[_0x3db3df(0x168)](){const _0x53967f=_0x3db3df;return Array[_0x53967f(0x199)](this[_0x53967f(0x16a)]);}[_0x3db3df(0x19f)](){const _0x2f73b5=_0x3db3df;return this[_0x2f73b5(0x197)];}[_0x3db3df(0x198)](_0x21f246){const _0x122f0c=_0x3db3df;this[_0x122f0c(0x197)]=_0x21f246;}[_0x3db3df(0x17f)](_0x1f302e,_0x4f308c=0x0){const _0x5addc4=_0x3db3df;let _0x23ad8e=!0x1;for(let _0x356e13=_0x4f308c;_0x356e13<this[_0x5addc4(0x16a)][_0x5addc4(0x196)];_0x356e13++)this[_0x5addc4(0x190)](_0x1f302e,_0x356e13)&&(_0x23ad8e=!0x0);return _0x23ad8e;}[_0x3db3df(0x1b8)](_0x41f6f5,_0x3324ff){const _0x54ee36=_0x3db3df,_0xe63b36=_0x41f6f5[_0x54ee36(0x1ad)](_0x54ee36(0x15d),{});return _0x41f6f5[_0x54ee36(0x186)](_0xe63b36,_0x3324ff),this[_0x54ee36(0x157)]=_0xe63b36,_0xe63b36;}[_0x3db3df(0x184)](_0x3aa77f){const _0x583719=_0x3db3df;if(!this[_0x583719(0x16a)][_0x583719(0x196)]||this[_0x583719(0x157)])return;const _0x477282=this[_0x583719(0x16a)][0x0][_0x583719(0x155)][_0x583719(0x17e)],_0x5db94b=this[_0x583719(0x1b8)](_0x3aa77f,_0x477282);for(const _0x471478 of this[_0x583719(0x16a)])_0x471478[_0x583719(0x1b3)][_0x583719(0x15c)]||_0x3aa77f[_0x583719(0x17c)](_0x471478[_0x583719(0x1b3)],_0x5db94b,_0x583719(0x1af));this[_0x583719(0x17f)](_0x3aa77f);}[_0x3db3df(0x1a1)](_0x5be8ef,_0x50325b){const _0x141036=_0x3db3df;let _0x608e72=!0x1;const {inserted:_0x3fced7,removed:_0x1185dd,moved:_0x2c89ee}=this[_0x141036(0x18b)][_0x141036(0x159)](_0x50325b);if(_0x2c89ee[_0x141036(0x196)]&&(this[_0x141036(0x157)]=_0x2c89ee[0x0]),_0x3fced7[_0x141036(0x196)]){if(_0x3fced7[_0x141036(0x196)]>0x1||this[_0x141036(0x157)]&&_0x3fced7[_0x141036(0x18f)](_0x33e0c4=>_0x33e0c4!==this[_0x141036(0x157)])){const _0x201382=_0x5be8ef[_0x141036(0x1ad)](_0x141036(0x15d),{}),_0x13fd49=[];this[_0x141036(0x157)]&&_0x13fd49[_0x141036(0x166)](this[_0x141036(0x157)]),_0x13fd49[_0x141036(0x166)](..._0x3fced7),_0x5be8ef[_0x141036(0x17c)](_0x201382,_0x13fd49[0x0],_0x141036(0x15e));for(const _0x317ac8 of _0x13fd49)_0x5be8ef[_0x141036(0x160)](_0x5be8ef[_0x141036(0x195)](_0x317ac8),_0x5be8ef[_0x141036(0x172)](_0x201382,_0x141036(0x1af))),_0x5be8ef[_0x141036(0x17d)](_0x317ac8);this[_0x141036(0x157)]=_0x201382,this[_0x141036(0x17f)](_0x5be8ef),_0x608e72=!0x0;}else this[_0x141036(0x157)]=_0x3fced7[0x0];}if(_0x1185dd[_0x141036(0x196)]&&_0x141036(0x16d)===this[_0x141036(0x157)]?.[_0x141036(0x17e)][_0x141036(0x170)]){for(const _0x2fa025 of this[_0x141036(0x16a)])_0x5be8ef[_0x141036(0x17d)](_0x2fa025[_0x141036(0x155)]),_0x608e72=!0x0;this[_0x141036(0x16a)]=[],this[_0x141036(0x157)]=null;}return _0x608e72;}[_0x3db3df(0x1aa)](_0x7454dd,_0x48c44a){const _0x3ddc68=_0x3db3df;let _0x30991f=!0x1;const _0x27896d=this[_0x3ddc68(0x174)][_0x3ddc68(0x18c)][_0x3ddc68(0x178)](_0x3ddc68(0x1a4)),{inserted:_0x5e427a,moved:_0x1c745c}=this[_0x3ddc68(0x1b2)][_0x3ddc68(0x159)](_0x48c44a);for(const _0x5808a8 of[..._0x1c745c,..._0x5e427a]){const _0x1f4df4=_0x5808a8[_0x3ddc68(0x1a3)](_0x3ddc68(0x153)),_0xd69955=this[_0x3ddc68(0x171)](_0x1f4df4);_0xd69955&&(_0xd69955[_0x3ddc68(0x1b3)]=_0x5808a8),_(_0x7454dd,_0x27896d,_0x5808a8)&&(_0x30991f=!0x0);}return _0x30991f;}[_0x3db3df(0x17b)](_0x1b1664,_0x425d67){const _0x1fafbf=_0x3db3df;let _0xc5740e=!0x1;const {removed:_0x1dfa22,inserted:_0x1d19cd,moved:_0x5d4da0}=this[_0x1fafbf(0x1b1)][_0x1fafbf(0x159)](_0x425d67);for(const _0x4164c1 of _0x1dfa22)this[_0x1fafbf(0x1a7)](_0x1b1664,_0x4164c1)&&(_0xc5740e=!0x0);for(const _0x2a0ad4 of _0x1d19cd)this[_0x1fafbf(0x1a5)](_0x1b1664,_0x2a0ad4)&&(_0xc5740e=!0x0);for(const _0x1d2e0d of _0x5d4da0)this[_0x1fafbf(0x19e)](_0x1b1664,_0x1d2e0d)&&(_0xc5740e=!0x0);return _0xc5740e;}[_0x3db3df(0x1b7)](_0x56d291){const _0x2d9f95=_0x3db3df;if(!this[_0x2d9f95(0x157)])return!0x1;let _0x32fd37=!0x1;if(this[_0x2d9f95(0x157)][_0x2d9f95(0x1a9)]!==this[_0x2d9f95(0x16a)][_0x2d9f95(0x196)]){const _0x1a1423=[];for(const _0x3a7357 of this[_0x2d9f95(0x157)][_0x2d9f95(0x161)]()){const _0x395618=_0x3a7357[_0x2d9f95(0x1a3)](_0x2d9f95(0x153));this[_0x2d9f95(0x171)](_0x395618)||(_0x1a1423[_0x2d9f95(0x187)](_0x3a7357),_0x32fd37=!0x0);}for(const _0x2b0156 of _0x1a1423)_0x56d291[_0x2d9f95(0x17d)](_0x2b0156);}const _0x2a97ec=new Set(),_0x1175a3=[];for(const _0x177fb3 of this[_0x2d9f95(0x157)][_0x2d9f95(0x161)]()){const _0x131e04=_0x177fb3[_0x2d9f95(0x1a3)](_0x2d9f95(0x153));_0x2a97ec[_0x2d9f95(0x158)](_0x131e04)?(_0x1175a3[_0x2d9f95(0x187)](_0x177fb3),_0x32fd37=!0x0):_0x2a97ec[_0x2d9f95(0x1b5)](_0x131e04);}for(const _0x3cee1c of _0x1175a3)_0x56d291[_0x2d9f95(0x17d)](_0x3cee1c);return this[_0x2d9f95(0x157)][_0x2d9f95(0x1a9)]||(_0x56d291[_0x2d9f95(0x17d)](this[_0x2d9f95(0x157)]),this[_0x2d9f95(0x157)]=null,_0x32fd37=!0x0),_0x32fd37;}[_0x3db3df(0x1a5)](_0x43d554,_0x3f9685){const _0x1137d8=_0x3db3df;if(this[_0x1137d8(0x16a)][_0x1137d8(0x173)](_0x3414b3=>_0x3414b3[_0x1137d8(0x155)]===_0x3f9685))return!0x1;let _0xffd45f=!0x1;const _0x11b833=_0x3f9685[_0x1137d8(0x1a3)](_0x1137d8(0x153)),_0x3028de=this[_0x1137d8(0x16a)][_0x1137d8(0x182)](_0x8b4528=>_0x8b4528['id']===_0x11b833);-0x1!==_0x3028de&&(_0x43d554[_0x1137d8(0x17d)](this[_0x1137d8(0x16a)][_0x3028de][_0x1137d8(0x155)]),this[_0x1137d8(0x16a)][_0x1137d8(0x180)](_0x3028de,0x1),_0xffd45f=!0x0);let _0x41d6b7=this[_0x1137d8(0x157)]?function(_0x366d72,_0x5357bb){const _0x2e7464=_0x1137d8;for(const _0x5b0565 of _0x366d72[_0x2e7464(0x161)]())if(_0x5b0565[_0x2e7464(0x1a3)](_0x2e7464(0x153))===_0x5357bb)return _0x5b0565;return null;}(this[_0x1137d8(0x157)],_0x11b833):null;_0x41d6b7||(_0x41d6b7=_0x43d554[_0x1137d8(0x1ad)](_0x1137d8(0x188),{'footnoteId':_0x11b833}),this[_0x1137d8(0x157)]&&(_0x43d554[_0x1137d8(0x17c)](_0x41d6b7,this[_0x1137d8(0x157)],_0x1137d8(0x1af)),_0xffd45f=!0x0));const _0x34ec4b={'id':_0x11b833,'reference':_0x3f9685,'definition':_0x41d6b7},_0x4a631b=I(this[_0x1137d8(0x174)][_0x1137d8(0x163)],this[_0x1137d8(0x16a)],_0x3f9685);this[_0x1137d8(0x16a)][_0x1137d8(0x180)](_0x4a631b,0x0,_0x34ec4b);let _0x1bd7c6=_0x4a631b;return-0x1!==_0x3028de&&(_0x1bd7c6=Math[_0x1137d8(0x192)](_0x4a631b,_0x3028de)),this[_0x1137d8(0x17f)](_0x43d554,_0x1bd7c6)&&(_0xffd45f=!0x0),_0xffd45f;}[_0x3db3df(0x1a7)](_0x40ad57,_0x30a61f){const _0x487371=_0x3db3df,_0x2e70f6=this[_0x487371(0x16a)][_0x487371(0x182)](_0x32c25e=>_0x32c25e['id']===_0x30a61f);if(-0x1===_0x2e70f6)return!0x1;let _0x1b5d81=!0x1;const _0x3bca1a=this[_0x487371(0x16a)][_0x2e70f6];return _0x487371(0x16d)!==_0x3bca1a[_0x487371(0x1b3)][_0x487371(0x17e)][_0x487371(0x170)]&&(_0x40ad57[_0x487371(0x17d)](_0x3bca1a[_0x487371(0x1b3)]),_0x1b5d81=!0x0),this[_0x487371(0x16a)][_0x487371(0x180)](_0x2e70f6,0x1),this[_0x487371(0x17f)](_0x40ad57,_0x2e70f6)&&(_0x1b5d81=!0x0),_0x1b5d81;}[_0x3db3df(0x19e)](_0x5fa5d5,_0x138a9b){const _0x2dd35e=_0x3db3df,_0x9279af=_0x138a9b[_0x2dd35e(0x1a3)](_0x2dd35e(0x153)),_0x3828c7=this[_0x2dd35e(0x16a)][_0x2dd35e(0x182)](_0x4c8ef5=>_0x4c8ef5['id']===_0x9279af),_0x4bb191=this[_0x2dd35e(0x16a)][_0x3828c7];let _0x9ceac5=!0x1;_0x4bb191[_0x2dd35e(0x155)]=_0x138a9b,this[_0x2dd35e(0x16a)][_0x2dd35e(0x180)](_0x3828c7,0x1);const _0x5ee51e=I(this[_0x2dd35e(0x174)][_0x2dd35e(0x163)],this[_0x2dd35e(0x16a)],_0x138a9b);return this[_0x2dd35e(0x16a)][_0x2dd35e(0x180)](_0x5ee51e,0x0,_0x4bb191),this[_0x2dd35e(0x17f)](_0x5fa5d5,Math[_0x2dd35e(0x192)](_0x3828c7,_0x5ee51e))&&(_0x9ceac5=!0x0),_0x9ceac5;}[_0x3db3df(0x190)](_0x10674f,_0x61a5f2){const _0x8dd79=_0x3db3df;if(!this[_0x8dd79(0x157)])return!0x1;const _0x566dbb=this[_0x8dd79(0x16a)][_0x61a5f2];let _0x3f520c;return _0x3f520c=this[_0x8dd79(0x197)]?this[_0x8dd79(0x197)]({'footnote':_0x566dbb,'container':this[_0x8dd79(0x157)],'digits':String(this[_0x8dd79(0x16a)][_0x8dd79(0x196)])[_0x8dd79(0x196)],'value':_0x61a5f2+0x1}):String(_0x61a5f2+0x1),_0x566dbb[_0x8dd79(0x155)][_0x8dd79(0x1a3)](_0x8dd79(0x15f))!=_0x3f520c&&(_0x10674f[_0x8dd79(0x154)](_0x8dd79(0x15f),_0x3f520c,_0x566dbb[_0x8dd79(0x155)]),!0x0);}[_0x3db3df(0x16b)](_0x524382){const _0x116099=_0x3db3df;if(!this[_0x116099(0x157)]||this[_0x116099(0x16a)][_0x116099(0x196)]<0x2)return!0x1;if(function(_0x447a44,_0x231293){const _0x1f7ad3=_0x116099;if(_0x447a44[_0x1f7ad3(0x196)]!==_0x231293[_0x1f7ad3(0x196)])return!0x1;for(let _0x75cd34=0x0;_0x75cd34<_0x447a44[_0x1f7ad3(0x196)];_0x75cd34++)if(_0x447a44[_0x75cd34]!==_0x231293[_0x75cd34])return!0x1;return!0x0;}(this[_0x116099(0x16a)][_0x116099(0x1b0)](_0x47c8ea=>_0x47c8ea['id']),Array[_0x116099(0x199)](this[_0x116099(0x157)][_0x116099(0x161)]())[_0x116099(0x1b0)](_0x553e5d=>_0x553e5d[_0x116099(0x1a3)](_0x116099(0x153)))))return!0x1;let _0x48d608=!0x1;for(let _0x39b045=0x0;_0x39b045<this[_0x116099(0x16a)][_0x116099(0x196)];_0x39b045++){const _0x42f5d6=this[_0x116099(0x16a)][_0x39b045],_0x273b91=_0x524382[_0x116099(0x18e)](_0x42f5d6[_0x116099(0x1b3)]),_0x56b290=_0x524382[_0x116099(0x172)](this[_0x116099(0x157)],_0x39b045);_0x273b91[_0x116099(0x193)](_0x56b290)||(_0x524382[_0x116099(0x160)](_0x524382[_0x116099(0x1a8)](_0x42f5d6[_0x116099(0x1b3)]),_0x56b290),_0x48d608=!0x0);}return _0x48d608;}[_0x3db3df(0x156)](_0x4c11e6){const _0x33c7d5=_0x3db3df;if(!this[_0x33c7d5(0x16a)][_0x33c7d5(0x196)])return!0x1;const {model:_0x2e6acb}=this[_0x33c7d5(0x174)];let _0x256ade=!0x1;for(let _0x127314=0x0;_0x127314<this[_0x33c7d5(0x16a)][_0x33c7d5(0x196)]-0x1;_0x127314++){const _0x54d45f=this[_0x33c7d5(0x16a)][_0x127314],_0x4d703d=this[_0x33c7d5(0x16a)][_0x127314+0x1],_0x278f98=_0x2e6acb[_0x33c7d5(0x18e)](_0x54d45f[_0x33c7d5(0x155)]),_0x248ede=_0x2e6acb[_0x33c7d5(0x18e)](_0x4d703d[_0x33c7d5(0x155)]);_0x33c7d5(0x165)===_0x278f98[_0x33c7d5(0x15b)](_0x248ede)&&(this[_0x33c7d5(0x19e)](_0x4c11e6,_0x54d45f[_0x33c7d5(0x155)]),_0x127314=-0x1,_0x256ade=!0x0);}return _0x256ade;}}function _(_0x1c56c0,_0x2c8f90,_0x3c610b){const _0x4fa53a=_0x3db3df;if(_0x3c610b[_0x4fa53a(0x1a9)])return!0x1;const _0x5d7c2e=_0x2c8f90?_0x4fa53a(0x191):_0x4fa53a(0x185);return _0x1c56c0[_0x4fa53a(0x17c)](_0x1c56c0[_0x4fa53a(0x1ad)](_0x5d7c2e),_0x3c610b),!0x0;}function I(_0x504d08,_0x57ffe1,_0x9588b2){const _0xab3538=_0x3db3df;if(0x0===_0x57ffe1[_0xab3538(0x196)])return 0x0;const _0x2c7998=_0x504d08[_0xab3538(0x18e)](_0x9588b2);for(let _0x51279e=0x0;_0x51279e<_0x57ffe1[_0xab3538(0x196)];_0x51279e++){const _0x47c233=_0x57ffe1[_0x51279e],_0x29bf1d=_0x504d08[_0xab3538(0x18e)](_0x47c233[_0xab3538(0x155)]);if(_0xab3538(0x15e)===_0x2c7998[_0xab3538(0x15b)](_0x29bf1d))return _0x51279e;}const _0x3ef8eb=_0x9588b2[_0xab3538(0x17e)];let _0x16b696=-0x1;for(let _0x41e576=_0x57ffe1[_0xab3538(0x196)]-0x1;_0x41e576>=0x0;_0x41e576--)if(_0x57ffe1[_0x41e576][_0xab3538(0x155)][_0xab3538(0x17e)]===_0x3ef8eb){_0x16b696=_0x41e576;break;}if(-0x1!==_0x16b696)return _0x16b696+0x1;const _0x424833=_0x504d08[_0xab3538(0x16c)][_0xab3538(0x19a)](),_0x49445c=_0x424833[_0xab3538(0x18a)](_0x3ef8eb[_0xab3538(0x170)]),_0x4cca7e=_0x424833[_0x49445c+0x1];if(_0x4cca7e){for(let _0x52f04a=0x0;_0x52f04a<_0x57ffe1[_0xab3538(0x196)];_0x52f04a++)if(_0x57ffe1[_0x52f04a][_0xab3538(0x155)][_0xab3538(0x17e)][_0xab3538(0x170)]===_0x4cca7e)return _0x52f04a;}return _0x57ffe1[_0xab3538(0x196)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4d6c31,MenuBarMenuListItemButtonView as _0x15c7a9}from'ckeditor5/src/ui.js';import{Plugin as _0x1a406b}from'ckeditor5/src/core.js';import{IconFootnote as _0x1798f4}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1a406b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xba4cea}=this,{componentFactory:_0x932280}=_0xba4cea['ui'];_0x932280['add']('insertFootnote',x(_0xba4cea,_0x4d6c31)),_0x932280['add']('menuBar:insertFootnote',x(_0xba4cea,_0x15c7a9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5a54f0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5a42ea;for(const _0x3176ea in _0x5a54f0){const _0x11d170=_0x3176ea,_0x542efb=_0x5a54f0[_0x11d170];if('footnotesLicenseKeyValid'==_0x542efb||'footnotesLicenseKeyInvalid'==_0x542efb||'footnotesLicenseKeyExpired'==_0x542efb||'footnotesLicenseKeyDomainLimit'==_0x542efb||'footnotesLicenseKeyNotAllowed'==_0x542efb||'footnotesLicenseKeyEvaluationLimit'==_0x542efb||'footnotesLicenseKeyTrialLimit'==_0x542efb||'footnotesLicenseKeyUsageLimit'==_0x542efb){delete _0x5a54f0[_0x11d170],_0x5a42ea=_0x542efb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5a42ea&&_0x5a54f0['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5a42ea&&_0x5a54f0['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5a42ea&&_0x5a54f0['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5a42ea&&_0x5a54f0['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5a42ea&&_0x5a54f0['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5a42ea&&_0x5a54f0['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5a42ea&&_0x5a54f0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4768f1,_0x488b97){const _0x252f1d=_0x4768f1['commands']['get']('insertFootnote');return _0x562f7f=>{const {t:t}=_0x562f7f,_0x5bfd12=new _0x488b97(_0x562f7f),_0x5453b8=_0x5bfd12 instanceof _0x15c7a9;return _0x5bfd12['bind']('isEnabled')['to'](_0x252f1d,'isEnabled'),_0x5bfd12['set']({'label':t(_0x5453b8?'Footnote':'Insert\x20footnote'),'icon':_0x1798f4,'tooltip':!0x0}),_0x5bfd12['on']('execute',()=>{_0x252f1d['execute'](),_0x4768f1['editing']['view']['focus']();}),_0x5bfd12;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5594(){var _0x9623a6=['972zlaCwO','527787UZNzkp','132494tIjavd','345023OekXgA','1053afbgXb','10bLmdsi','23459FQuqUV','46590GwDvGG','80KQVczb','75760HXBHPK'];_0x5594=function(){return _0x9623a6;};return _0x5594();}(function(_0x57b861,_0x37d092){var _0x37a9fd=_0x3d07,_0x15c9b6=_0x57b861();while(!![]){try{var _0x3638b8=-parseInt(_0x37a9fd(0x197))/0x1+parseInt(_0x37a9fd(0x193))/0x2+parseInt(_0x37a9fd(0x195))/0x3*(parseInt(_0x37a9fd(0x191))/0x4)+parseInt(_0x37a9fd(0x18f))/0x5*(-parseInt(_0x37a9fd(0x18e))/0x6)+parseInt(_0x37a9fd(0x194))/0x7+-parseInt(_0x37a9fd(0x190))/0x8+parseInt(_0x37a9fd(0x192))/0x9*(parseInt(_0x37a9fd(0x196))/0xa);if(_0x3638b8===_0x37d092)break;else _0x15c9b6['push'](_0x15c9b6['shift']());}catch(_0x1a2171){_0x15c9b6['push'](_0x15c9b6['shift']());}}}(_0x5594,0x18f9f));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 _0x3d07(_0x2a5eab,_0x45d6a0){var _0x55941c=_0x5594();return _0x3d07=function(_0x3d073b,_0x2cf28c){_0x3d073b=_0x3d073b-0x18e;var _0x4820ee=_0x55941c[_0x3d073b];return _0x4820ee;},_0x3d07(_0x2a5eab,_0x45d6a0);}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 _0x340350=_0x31db;function _0x31db(_0x7abbfe,_0x221b73){const _0x2c5745=_0x2c57();return _0x31db=function(_0x31db10,_0x3ba68a){_0x31db10=_0x31db10-0x80;let _0x241248=_0x2c5745[_0x31db10];return _0x241248;},_0x31db(_0x7abbfe,_0x221b73);}function _0x2c57(){const _0x5b5478=['nodeAfter','attributes','remove','elementName','6975MpwHKi','name','getItems','push','getChanges','values','_getElementKey','length','getElementKey','root','type','714696fzTohL','createRangeOn','_model','delete','get','252MNRnoM','clear','$text','add','position','5868331vNygOG','rootName','slice','element','insert','1251618vqqlFq','280964sKlivg','3280050RsCBRo','has','set','4811875PsEQAK','_trackedElements','reset','_elementName','from','99RTLHRz','$graveyard','flat'];_0x2c57=function(){return _0x5b5478;};return _0x2c57();}(function(_0x135fef,_0x1c6266){const _0x53f9a2=_0x31db,_0x1b696c=_0x135fef();while(!![]){try{const _0x507cb1=parseInt(_0x53f9a2(0x9b))/0x1+parseInt(_0x53f9a2(0x9a))/0x2+-parseInt(_0x53f9a2(0x80))/0x3*(-parseInt(_0x53f9a2(0x90))/0x4)+-parseInt(_0x53f9a2(0x9f))/0x5+parseInt(_0x53f9a2(0x9c))/0x6+parseInt(_0x53f9a2(0x95))/0x7+parseInt(_0x53f9a2(0x8b))/0x8*(-parseInt(_0x53f9a2(0xa4))/0x9);if(_0x507cb1===_0x1c6266)break;else _0x1b696c['push'](_0x1b696c['shift']());}catch(_0x148b91){_0x1b696c['push'](_0x1b696c['shift']());}}}(_0x2c57,0x78676));export class ModelElementTracker{[_0x340350(0x8d)];[_0x340350(0xa2)];[_0x340350(0x86)];[_0x340350(0xa0)]=new Map();constructor(_0x4e60ff,_0x493b45){const _0x11be64=_0x340350;this[_0x11be64(0x8d)]=_0x4e60ff,this[_0x11be64(0xa2)]=_0x493b45[_0x11be64(0xaa)],this[_0x11be64(0x86)]=_0x493b45[_0x11be64(0x88)];}[_0x340350(0xa1)](){const _0xfd5b8a=_0x340350;this[_0xfd5b8a(0xa0)][_0xfd5b8a(0x91)]();}[_0x340350(0x84)](_0x39e3e0){const _0x3cf148=_0x340350,_0x1481a0=new Set(),_0x352610=new Map();for(const _0x10bd8c of _0x39e3e0){if(_0x3cf148(0x99)===_0x10bd8c[_0x3cf148(0x8a)]&&_0x3cf148(0x92)!==_0x10bd8c[_0x3cf148(0x81)]&&_0x10bd8c[_0x3cf148(0x94)][_0x3cf148(0xa7)]){const _0x32644b=this[_0x3cf148(0x8d)][_0x3cf148(0x8c)](_0x10bd8c[_0x3cf148(0x94)][_0x3cf148(0xa7)]);for(const _0x1d2193 of _0x32644b[_0x3cf148(0x82)]()){if(!_0x1d2193['is'](_0x3cf148(0x98),this[_0x3cf148(0xa2)]))continue;const _0x38845e=this[_0x3cf148(0x86)](_0x1d2193);_0x352610[_0x3cf148(0x9d)](_0x38845e)||_0x352610[_0x3cf148(0x9e)](_0x38845e,[]),_0x352610[_0x3cf148(0x8f)](_0x38845e)[_0x3cf148(0x83)](_0x1d2193);}}if(_0x3cf148(0xa9)===_0x10bd8c[_0x3cf148(0x8a)]&&_0x10bd8c[_0x3cf148(0x81)]===this[_0x3cf148(0xa2)]){const _0x2d9545=this[_0x3cf148(0x86)]({'getAttribute':_0x4d5df6=>_0x10bd8c[_0x3cf148(0xa8)][_0x3cf148(0x8f)](_0x4d5df6)});_0x1481a0[_0x3cf148(0x93)](_0x2d9545);}}for(const [_0x1c9018,_0x1b4fec]of this[_0x3cf148(0xa0)])_0x3cf148(0xa5)===_0x1b4fec[_0x3cf148(0x89)][_0x3cf148(0x96)]&&_0x1481a0[_0x3cf148(0x93)](_0x1c9018);for(const _0x5978b0 of _0x1481a0)this[_0x3cf148(0xa0)][_0x3cf148(0x8e)](_0x5978b0);for(const [_0x16ef2d,_0x4e64ab]of _0x352610)this[_0x3cf148(0xa0)][_0x3cf148(0x9e)](_0x16ef2d,_0x4e64ab[_0x4e64ab[_0x3cf148(0x87)]-0x1]);const _0x2701bb=new Set();for(const [_0x4a023c,_0x21a47e]of _0x352610)_0x1481a0[_0x3cf148(0x9d)](_0x4a023c)&&(_0x2701bb[_0x3cf148(0x93)](_0x21a47e[0x0]),_0x21a47e[_0x3cf148(0x87)]>0x1?_0x352610[_0x3cf148(0x9e)](_0x4a023c,_0x21a47e[_0x3cf148(0x97)](0x1)):_0x352610[_0x3cf148(0x8e)](_0x4a023c),_0x1481a0[_0x3cf148(0x8e)](_0x4a023c));return{'removed':Array[_0x3cf148(0xa3)](_0x1481a0),'inserted':Array[_0x3cf148(0xa3)](_0x352610[_0x3cf148(0x85)]())[_0x3cf148(0xa6)](),'moved':Array[_0x3cf148(0xa3)](_0x2701bb)};}}
|