@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251125.0 → 0.0.0-nightly-20251125.1
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 _0x484eb5}from'ckeditor5/src/core.js';import{isWidget as _0x20de30,toWidget as _0x4566f3,toWidgetEditable as _0x4cc01c}from'ckeditor5/src/widget.js';import{uid as _0x2647ed}from'ckeditor5/src/utils.js';import{PointerObserver as _0x218105,ClickObserver as _0x4dd6fb}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x19729b}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3306be}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x484eb5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x19729b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36f7ab}=this;_0x36f7ab['config']['define']('footnotes.multiBlock',!0x0),_0x36f7ab['commands']['add']('insertFootnote',new _0x3306be(_0x36f7ab)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd6d977){const _0xdb27f9=_0x3d9ee8([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]),_0x353741=0x47a28506,_0x47371f=0x47a5ff1e^_0x353741,_0x6cb575=window[_0x3d9ee8([0x44,0x61,0x74,0x65])][_0x3d9ee8([0x6e,0x6f,0x77])](),_0x3c761a=_0xd6d977[_0x3d9ee8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5617f3=new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x515803=>{_0x3c761a[_0x3d9ee8([0x6f,0x6e,0x63,0x65])](_0x3d9ee8([0x72,0x65,0x61,0x64,0x79]),_0x515803);}),_0x324df8={[_0x3d9ee8([0x6b,0x74,0x79])]:_0x3d9ee8([0x45,0x43]),[_0x3d9ee8([0x75,0x73,0x65])]:_0x3d9ee8([0x73,0x69,0x67]),[_0x3d9ee8([0x63,0x72,0x76])]:_0x3d9ee8([0x50,0x2d,0x32,0x35,0x36]),[_0x3d9ee8([0x78])]:_0x3d9ee8([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]),[_0x3d9ee8([0x79])]:_0x3d9ee8([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]),[_0x3d9ee8([0x61,0x6c,0x67])]:_0x3d9ee8([0x45,0x53,0x32,0x35,0x36])},_0xe8c7a5=_0x3c761a[_0x3d9ee8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d9ee8([0x67,0x65,0x74])](_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e273e(){let _0x3a124c,_0x5b3d31=null,_0x1c4b0f=null;try{if(_0xe8c7a5==_0x3d9ee8([0x47,0x50,0x4c]))return _0x3d9ee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a124c=_0x22c26a(),!_0x3a124c)return _0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a124c[_0x3d9ee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c4b0f=_0x226481(_0x3a124c[_0x3d9ee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a124c[_0x3d9ee8([0x6a,0x74,0x69])])),await _0x17cc2d()?_0x1f2a72()?_0x5c47d6()?_0x3d9ee8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a975c()?(_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d9ee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b3d31=_0x459ecf(_0x3d9ee8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d9ee8([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b3d31=_0x459ecf(_0x3d9ee8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18419f()):_0x3d9ee8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9ee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c47d6(){const _0x39faba=[_0x3d9ee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d9ee8([0x74,0x72,0x69,0x61,0x6c])][_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6cb575/0x3e8:0xe10*_0x47371f;return _0x3a124c[_0x3d9ee8([0x65,0x78,0x70])]<_0x39faba;}function _0x1f2a72(){const _0x2a8f1c=_0x3a124c[_0x3d9ee8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a8f1c&&(!!_0x2a8f1c[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x2a]))||!!_0x2a8f1c[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x46,0x4f,0x4f])));}function _0x2a975c(){const _0x4ce533=_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ce533||0x0==_0x4ce533[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41e2da}=new URL(window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ce533[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e2da))return!0x0;const _0xdae893=_0x41e2da[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e]));return _0x4ce533[_0x3d9ee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b6917=>_0x4b6917[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x2a])))[_0x3d9ee8([0x6d,0x61,0x70])](_0x175f02=>_0x175f02[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e])))[_0x3d9ee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xafaba7=>_0xafaba7[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdae893[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9ee8([0x6d,0x61,0x70])](_0x58e965=>Array(_0xdae893[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e965[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9ee8([0x66,0x69,0x6c,0x6c])](_0x58e965[0x0]===_0x3d9ee8([0x2a])?_0x3d9ee8([0x2a]):'')[_0x3d9ee8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e965))[_0x3d9ee8([0x73,0x6f,0x6d,0x65])](_0x32085b=>_0xdae893[_0x3d9ee8([0x65,0x76,0x65,0x72,0x79])]((_0x1aa352,_0x59196f)=>_0x32085b[_0x59196f]===_0x1aa352||_0x32085b[_0x59196f]===_0x3d9ee8([0x2a])));}function _0x18419f(){return _0x5b3d31&&_0x1c4b0f?new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x351a85,_0x164637)=>{_0x5b3d31[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x351a85,_0x164637),_0x1c4b0f[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x546942=>{_0x546942!=_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])&&_0x351a85(_0x546942);},_0x164637);}):_0x5b3d31||_0x1c4b0f||_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x226481(_0x5aa82e,_0xaa8117){return new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x545ad9=>{if(_0x5f24a6())return _0x545ad9(_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]));_0x23b421(),_0x3c761a[_0x3d9ee8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35640d=!0x1;const _0x2d9f86=_0x2647ed();function _0x7c8633(_0x4599c0){return!!_0x4599c0&&(typeof _0x4599c0===_0x3d9ee8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4599c0===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4599c0[_0x3d9ee8([0x74,0x68,0x65,0x6e])]===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4599c0[_0x3d9ee8([0x63,0x61,0x74,0x63,0x68])]===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1232c8(_0x34f686){_0x33ea9f(_0x34f686)[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x3b66d0=>{if(!_0x3b66d0||_0x3b66d0[_0x3d9ee8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d9ee8([0x6f,0x6b]))return _0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x131bc3(_0x58b386(_0x2d9f86+_0xaa8117))!=_0x3b66d0[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x25cc6e=>(_0x18a4c4(),_0x25cc6e),()=>{const _0xfa738=_0x2cdd7f();return null==_0xfa738?(_0x18a4c4(),_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])):_0x3d9ee8(_0x6cb575-_0xfa738>(0x63ae0106^_0x353741)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x545ad9)[_0x3d9ee8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x367d56=0x47946b86^_0x353741;function _0x18a4c4(){const _0x46b390=_0x3d9ee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131bc3(_0x58b386(_0x5aa82e)),_0x1453da=_0x115611(_0x131bc3(window[_0x3d9ee8([0x4d,0x61,0x74,0x68])][_0x3d9ee8([0x63,0x65,0x69,0x6c])](_0x6cb575/_0x367d56)));window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9ee8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46b390,_0x1453da);}function _0x2cdd7f(){const _0x43c0de=_0x3d9ee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131bc3(_0x58b386(_0x5aa82e)),_0x38226d=window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9ee8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43c0de);return _0x38226d?window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x115611(_0x38226d),0x10)*_0x367d56:null;}function _0x33ea9f(_0x3ab17f){return new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c1a35,_0x29218b)=>{_0x3ab17f[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x3c1a35,_0x29218b),window[_0x3d9ee8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29218b,0x47a351c6^_0x353741);});}}_0x3c761a[_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x438b21,_0x14ede9)=>{if(_0x14ede9[0x0]!=_0x5aa82e)return _0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14ede9[0x1]={..._0x14ede9[0x1],[_0x3d9ee8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d9f86};},{[_0x3d9ee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9ee8([0x68,0x69,0x67,0x68])}),_0x3c761a[_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1eb631=>{_0x7c8633(_0x1eb631[_0x3d9ee8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35640d=!0x0,_0x1232c8(_0x1eb631[_0x3d9ee8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d9ee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9ee8([0x6c,0x6f,0x77])}),_0x5617f3[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>{_0x35640d||_0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f24a6(){return _0x3c761a[_0x3d9ee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9ee8([0x76,0x69,0x65,0x77])][_0x3d9ee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d9ee8([0x61,0x75,0x74,0x6f]);}function _0x23b421(){_0x3c761a[_0x3d9ee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9ee8([0x76,0x69,0x65,0x77])][_0x3d9ee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d9ee8([0x61,0x75,0x74,0x6f]);}}function _0x459ecf(_0x4988be){const _0x186548=[new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37e24e=>setTimeout(_0x37e24e,0x47abbbca^_0x353741)),_0x5617f3[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183796=>{let _0x10e478=0x0;_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x107d67,_0x4715ad)=>{_0x4715ad[0x0][_0x3d9ee8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10e478++,_0x10e478==(0x47a284fe^_0x353741)&&(_0x183796(),_0x107d67[_0x3d9ee8([0x6f,0x66,0x66])]());});}))];return window[_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d9ee8([0x72,0x61,0x63,0x65])](_0x186548)[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>_0x4988be);}async function _0xb9bb87(){await _0x5617f3,_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f39cf,_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f39cf,_0x3c761a[_0x3d9ee8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd98e20(_0x158913){const _0x4b4808=_0xc72abf();_0x3c761a[_0x4b4808]=_0x3d9ee8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x158913,_0x158913!=_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])&&_0xb9bb87();}function _0xc72abf(){const _0x1556b3=window[_0x3d9ee8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d9ee8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d9ee8([0x6e,0x6f,0x77])]())[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d9ee8([0x2e]),'');let _0x4786b5=_0x3d9ee8([0x75]);for(let _0x54409b=0x0;_0x54409b<_0x1556b3[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54409b+=0x2){let _0x158b06=window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1556b3[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54409b,_0x54409b+0x2));_0x158b06>=_0xdb27f9[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x158b06-=_0xdb27f9[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4786b5+=_0xdb27f9[_0x158b06];}return _0x4786b5;}function _0x22c26a(){const _0x13a2bc=_0xe8c7a5[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e]));if(0x3!=_0x13a2bc[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4275d6(_0x13a2bc[0x1]);function _0x4275d6(_0x43363c){const _0x3dbf68=_0x2b92f6(_0x43363c);return _0x3dbf68&&_0xa38b61()?_0x3dbf68:null;function _0xa38b61(){const _0x1ac7fd=_0x3dbf68[_0x3d9ee8([0x6a,0x74,0x69])],_0x11aba9=window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ac7fd[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ac7fd[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a6c0c={..._0x3dbf68,[_0x3d9ee8([0x6a,0x74,0x69])]:_0x1ac7fd[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ac7fd[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a6c0c[_0x3d9ee8([0x76,0x63])],_0x58b386(_0x1a6c0c)==_0x11aba9;}}}async function _0x17cc2d(){let _0x5611c9=!0x0;try{const _0x29fa6d=_0xe8c7a5[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e])),[_0x486062,_0x139c06,_0x12faf2]=_0x29fa6d;return _0x39094c(_0x486062),await _0x3c7322(_0x486062,_0x139c06,_0x12faf2),_0x5611c9;}catch{return!0x1;}function _0x39094c(_0x3093bd){const _0x5a91ca=_0x2b92f6(_0x3093bd);_0x5a91ca&&_0x5a91ca[_0x3d9ee8([0x61,0x6c,0x67])]==_0x3d9ee8([0x45,0x53,0x32,0x35,0x36])||(_0x5611c9=!0x1);}async function _0x3c7322(_0x5d762c,_0x1371a7,_0x13e981){const _0x7d3303=window[_0x3d9ee8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d9ee8([0x66,0x72,0x6f,0x6d])](_0x519115(_0x13e981),_0xeb87dd=>_0xeb87dd[_0x3d9ee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5bd8c3=new window[(_0x3d9ee8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d9ee8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d762c+_0x3d9ee8([0x2e])+_0x1371a7),_0x47b61c=window[_0x3d9ee8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d9ee8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47b61c)return;const _0x5950fc=await _0x47b61c[_0x3d9ee8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d9ee8([0x6a,0x77,0x6b]),_0x324df8,{[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9ee8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d9ee8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47b61c[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9ee8([0x68,0x61,0x73,0x68])]:{[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5950fc,_0x7d3303,_0x5bd8c3)||(_0x5611c9=!0x1);}}function _0x2b92f6(_0x2070a3){return _0x2070a3[_0x3d9ee8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d9ee8([0x65,0x79]))?JSON[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65])](_0x519115(_0x2070a3)):null;}function _0x519115(_0x400cbb){return window[_0x3d9ee8([0x61,0x74,0x6f,0x62])](_0x400cbb[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d9ee8([0x2b]))[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d9ee8([0x2f])));}function _0x58b386(_0x42704b){let _0xccd9e1=0x1505;function _0x552200(_0x57a989){for(let _0x38c8da=0x0;_0x38c8da<_0x57a989[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38c8da++){const _0xa881aa=_0x57a989[_0x3d9ee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38c8da);_0xccd9e1=(_0xccd9e1<<0x5)+_0xccd9e1+_0xa881aa,_0xccd9e1&=_0xccd9e1;}}function _0x4ca5d6(_0x5c7d4b){Array[_0x3d9ee8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c7d4b)?_0x5c7d4b[_0x3d9ee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ca5d6):_0x5c7d4b&&typeof _0x5c7d4b==_0x3d9ee8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d9ee8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c7d4b)[_0x3d9ee8([0x73,0x6f,0x72,0x74])]()[_0x3d9ee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x246c98,_0x38c564])=>{_0x552200(_0x246c98),_0x4ca5d6(_0x38c564);}):_0x552200(window[_0x3d9ee8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c7d4b));}return _0x4ca5d6(_0x42704b),_0xccd9e1>>>0x0;}function _0x131bc3(_0xf5021d){return _0xf5021d[_0x3d9ee8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d9ee8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d9ee8([0x30]));}function _0x115611(_0x4706a3){return _0x4706a3[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d9ee8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d9ee8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f39cf(){}function _0x3d9ee8(_0xedaf12){return _0xedaf12['map'](_0x2c9cd7=>String['fromCharCode'](_0x2c9cd7))['join']('');}_0xd98e20(await _0x4e273e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3b87ad){const {plugins:_0x5308e8,editing:_0x1731d2,model:_0x3a9dc7}=this['editor'],_0xe5451e=_0x5308e8['get'](_0x19729b)['getFootnote'](_0x3b87ad);return!!_0xe5451e&&(_0x3a9dc7['change'](_0x5bcb5f=>{_0x5bcb5f['setSelection'](_0x5bcb5f['createPositionAt'](_0xe5451e['definition'],'end'));}),_0x1731d2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4c9f12){const {plugins:_0xa4abb7,editing:_0x54cd0b,model:_0xcf7792}=this['editor'],_0x32fa9e=_0xa4abb7['get'](_0x19729b)['getFootnote'](_0x4c9f12);return!!_0x32fa9e&&(_0xcf7792['change'](_0x4d9d4a=>{_0x4d9d4a['setSelection'](_0x32fa9e['reference'],'on');}),_0x54cd0b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xd9a740}=this['editor']['model'],_0x65ffac=this['editor']['config']['get']('footnotes.multiBlock');_0xd9a740['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xd9a740['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xd9a740['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x65ffac?_0xd9a740['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xd9a740['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xd9a740['addChildCheck'](_0x14161d=>{for(const _0x33ceec of _0x14161d)if('footnoteDefinition'===_0x33ceec['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3c2ec3}=this,{conversion:_0x2c3aa9,editing:_0x169b69}=_0x3c2ec3,{t:t}=_0x3c2ec3['locale'];_0x2c3aa9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xbec4bb,{writer:_0x17c880,consumable:_0x56e882})=>{const _0x3217a1=_0xbec4bb['getChild'](0x0);if(!_0x3217a1||!_0x3217a1['is']('element','a'))return null;const _0x3b1dd2=_0x3217a1['getAttribute']('href')||'';if(!_0x3b1dd2['startsWith']('#'))return null;const _0x4d9c1a=_0x3b1dd2['replace'](/^#/,'');if(!_0x4d9c1a)return null;_0x56e882['consume'](_0x3217a1,{'name':!0x0,'attributes':['href']});for(const {item:_0x4350cc}of _0x169b69['view']['createRangeIn'](_0x3217a1))_0x4350cc['is']('$textProxy')?_0x56e882['consume'](_0x4350cc['textNode'],{'name':!0x0}):_0x4350cc['is']('element')&&_0x56e882['consume'](_0x4350cc,{'name':!0x0});return _0x17c880['createElement']('footnoteRef',{'footnoteId':_0x4d9c1a});}}),_0x2c3aa9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x7eddd7,{writer:_0x306c1d})=>D(_0x7eddd7,_0x306c1d)}),_0x2c3aa9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5c5e02,{writer:_0x92d1e0})=>{const _0x45a119=_0x5c5e02['getAttribute']('footnoteCounter');return _0x4566f3(D(_0x5c5e02,_0x92d1e0),_0x92d1e0,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x45a119)});}});}['_defineDefinitionsConverters'](){const {editor:_0x104186}=this,{t:t}=_0x104186['locale'],{conversion:_0x5cb3cb}=_0x104186;_0x5cb3cb['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5cb3cb['for']('upcast')['add'](_0x4de910=>{_0x4de910['on']('element:ol',(_0x5739e7,_0x3e3f23,_0x1513e6)=>{const _0x2a02f0=_0x3e3f23['viewItem'];if(!_0x2a02f0['hasClass']('footnotes-list')||!_0x3e3f23['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1513e6['consumable']['consume'](_0x2a02f0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xefb3de,modelCursor:_0x5d6af4}=_0x1513e6['convertChildren'](_0x3e3f23['viewItem'],_0x3e3f23['modelCursor']);_0x3e3f23['modelRange']=_0xefb3de,_0x3e3f23['modelCursor']=_0x5d6af4;}),_0x4de910['on']('element:hr',(_0x41ca62,_0x4d788c,_0x86f515)=>{const _0x3c9d56=_0x4d788c['viewItem'];_0x3c9d56['hasClass']('footnotes-divider')&&_0x4d788c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x86f515['consumable']['consume'](_0x3c9d56,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5cb3cb['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11902f,{writer:_0x46a332})=>v(_0x46a332)}),_0x5cb3cb['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x176a33,{writer:_0x11c35a})=>{const _0x1153d=v(_0x11c35a,{'data-footnotes-list-label':t('Footnotes')}),_0x36f001=_0x4566f3(_0x1153d,_0x11c35a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x11c35a['setCustomProperty']('footnotesDefinitions',!0x0,_0x36f001),_0x36f001;}});}['_defineDefinitionConverters'](){const {editor:_0x42c2db}=this,{conversion:_0x18fe54,locale:_0x326285}=_0x42c2db,_0x31b4d2=_0x42c2db['config']['get']('footnotes.multiBlock');_0x18fe54['for']('upcast')['add'](_0x5d0007=>{_0x5d0007['on']('element:li',(_0x2e6f2a,_0x561b29,_0x2abef4)=>{const _0xa94f96=_0x561b29['viewItem'];if(!_0xa94f96['hasClass']('footnote-definition')||!_0xa94f96['getAttribute']('id'))return;const _0x4bdc90=_0xa94f96['parent'];if(!_0x4bdc90['is']('element','ol')||!_0x4bdc90['hasClass']('footnotes-list'))return;if(!_0x2abef4['consumable']['test'](_0xa94f96,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x65d437=_0x2abef4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xa94f96['getAttribute']('id')});if(!_0x2abef4['safeInsert'](_0x65d437,_0x561b29['modelCursor']))return;_0x2abef4['consumable']['consume'](_0xa94f96,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x6c88bf=Array['from'](_0xa94f96['getChildren']())['find'](_0x301946=>_0x301946['is']('element')&&_0x301946['hasClass']('footnote-content'));for(const _0x4dbfc1 of _0xa94f96['getChildren']())_0x4dbfc1['is']('element')&&(_0x2abef4['consumable']['consume'](_0x4dbfc1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2abef4['consumable']['consume'](_0x4dbfc1,{'name':!0x0,'classes':'footnote-content'}));if(_0x6c88bf){if(_0x31b4d2)_0x2abef4['convertChildren'](_0x6c88bf,_0x65d437);else{const _0x8169a3=_0x2abef4['writer']['createElement']('footnoteInlineContent');_0x2abef4['writer']['insert'](_0x8169a3,_0x65d437),_0x2abef4['convertChildren'](_0x6c88bf,_0x8169a3);}}_0x2abef4['updateConversionResult'](_0x65d437,_0x561b29);});}),_0x18fe54['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c828e,{writer:_0x1ea9b7})=>b(_0x1c828e,_0x1ea9b7,_0x326285,{'dataPipeline':!0x0})}),_0x18fe54['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x383cef,{writer:_0x168ba4})=>b(_0x383cef,_0x168ba4,_0x326285)});}['_defineBogusParagraphConverters'](){const {editor:_0x19e210}=this,{conversion:_0x55d5b5}=_0x19e210;_0x19e210['config']['get']('footnotes.multiBlock')?(_0x55d5b5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x55d5b5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19e210['model']['document'],'change:data',()=>{!function(_0x50c013,_0x23d4d5){const _0x2835c7=_0x50c013['document']['differ'],_0xe07176=new Set();for(const _0x5247fe of _0x2835c7['getChanges']()){const _0x4731cc='attribute'==_0x5247fe['type']?_0x5247fe['range']['start']['parent']:_0x5247fe['position']['parent'];_0x4731cc['is']('element','footnoteDefinition')&&_0xe07176['add'](_0x4731cc);}for(const _0x4cef89 of _0xe07176['values']()){const _0x2500ba=Array['from'](_0x4cef89['getChildren']())['filter'](_0x127fb9=>g(_0x127fb9,_0x23d4d5['mapper']));for(const _0x1aeb1d of _0x2500ba)_0x23d4d5['reconvertItem'](_0x1aeb1d);}}(_0x19e210['model'],_0x19e210['editing']);})):(_0x55d5b5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x55d5b5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5476e9,{writer:_0x138199})=>{const _0x44a606=_0x138199['createContainerElement']('span');return _0x138199['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x44a606),_0x44a606;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2b0d3c}=this,{editing:_0x9bbcf4,t:t}=_0x2b0d3c,_0x1a8117=_0x2b0d3c['model']['document']['selection'];_0x2b0d3c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2b0d3c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x9bbcf4['view']['document'],'enter',(_0x1b86da,_0x304493)=>{const _0x59b74f=function(_0x184e0a){const _0xbb6c5b=_0x184e0a['getSelectedElement']();if(_0xbb6c5b?.['is']('element','footnoteRef'))return _0xbb6c5b;return null;}(_0x1a8117);if(_0x59b74f){const _0x470c8f=_0x59b74f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x470c8f),_0x304493['preventDefault'](),_0x1b86da['stop']();}},{'context':_0x20de30});}['_defineClickHandlers'](){const {editor:_0xb404b5}=this,{editing:_0x260a2d}=_0xb404b5;_0xb404b5['editing']['view']['addObserver'](_0x218105),_0xb404b5['editing']['view']['addObserver'](_0x4dd6fb);let _0x5dfb6b=!0x1;this['listenTo'](_0x260a2d['view']['document'],'pointerdown',(_0x3b2f10,_0x47944f)=>{const {target:_0x58e18e}=_0x47944f,_0x174e89=_0x260a2d['view']['document']['selection'];_0x5dfb6b=!!(_0x58e18e?.['is']('element','a')&&_0x58e18e['parent']?.['is']('element','sup')&&_0x58e18e['parent']['hasClass']('footnote'))&&_0x174e89['getSelectedElement']()===_0x58e18e['parent'];},{'priority':'high'}),this['listenTo'](_0x260a2d['view']['document'],'click',(_0x1b5a8f,_0x1ef84e)=>{const {target:_0x50d48a}=_0x1ef84e;if(!_0x50d48a?.['is']('element','a'))return;if(_0x50d48a['parent']?.['is']('element','sup')&&_0x50d48a['parent']['hasClass']('footnote')&&!_0x5dfb6b)return void _0x1ef84e['preventDefault']();let _0x242998=_0x50d48a['getAttribute']('href');if(!_0x242998?.['startsWith']('#'))return;_0x242998=_0x242998['slice'](0x1);let _0x590fed=!0x1;(_0x242998['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x242998['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x242998))&&(_0x590fed=!0x0),_0x590fed&&(_0x1ef84e['preventDefault'](),_0x1b5a8f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4bda77}={}){return(_0x2c5a36,{writer:_0xb08112})=>{if(!p(_0x2c5a36))return null;if(!_0x4bda77)return _0xb08112['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x38b886=_0xb08112['createContainerElement']('p');return _0xb08112['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x38b886),_0x38b886;};}function p(_0x5c117d){const {parent:_0x22a302}=_0x5c117d;if(!_0x22a302?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22a302['childCount'])return!0x1;for(const _0x3b2ea3 of _0x5c117d['getAttributeKeys']())if(!_0x3b2ea3['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3b2ea3)return!0x1;return!0x0;}function g(_0x502373,_0x9c1fe2){if(!_0x502373['is']('element','paragraph'))return!0x1;const _0x5f1b5c=_0x9c1fe2['toViewElement'](_0x502373);return!!_0x5f1b5c&&p(_0x502373)!==_0x5f1b5c['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x68aa19){return _0x20de30(_0x68aa19)&&_0x68aa19['is']('containerElement')&&!!_0x68aa19['getCustomProperty']('footnotesDefinitions');}function v(_0x2e8b09,_0x435a49={}){const _0x244f88=_0x2e8b09['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xbfde40=_0x2e8b09['createContainerElement']('ol',{'class':'footnotes-list'},_0x2e8b09['createSlot']());return _0x2e8b09['createContainerElement']('div',{'class':'footnotes',..._0x435a49},[_0x244f88,_0xbfde40]);}function D(_0x49f8c1,_0x36c020){const _0x178ba5=_0x49f8c1['getAttribute']('footnoteId'),_0x2533c3=_0x49f8c1['getAttribute']('footnoteCounter'),_0x553745=_0x36c020['createUIElement']('a',{'href':'#'+_0x178ba5},function(_0x5a346e){const _0x1b076b=this['toDomElement'](_0x5a346e);return _0x1b076b['textContent']=_0x2533c3,_0x1b076b;}),_0x30c2bd=_0x36c020['createContainerElement']('sup',{'id':'ref-'+_0x178ba5,'class':'footnote'},[_0x553745]);return _0x30c2bd['getFillerOffset']=()=>null,_0x30c2bd;}function b(_0x50fa77,_0x583e2f,_0x1e917a,{dataPipeline:_0xc060a7}={}){const {t:t}=_0x1e917a,_0x58ca74=_0x50fa77['getAttribute']('footnoteId'),_0x2b8eda=_0x583e2f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x58ca74},function(_0x3b851f){const _0x4abf4c=this['toDomElement'](_0x3b851f);return _0x4abf4c['innerText']='^',_0x4abf4c;}),_0x411a9=_0xc060a7?_0x583e2f['createContainerElement']('div',{'class':'footnote-content'}):_0x4cc01c(_0x583e2f['createEditableElement']('div',{'class':'footnote-content'}),_0x583e2f,{'label':t('Footnote\x20content.')});return _0x583e2f['insert'](_0x583e2f['createPositionAt'](_0x411a9,0x0),_0x583e2f['createSlot']()),_0x583e2f['createContainerElement']('li',{'class':'footnote-definition','id':_0x58ca74},[_0x2b8eda,_0x411a9]);}
|
|
23
|
+
import{Plugin as _0x4ece7a}from'ckeditor5/src/core.js';import{isWidget as _0x24016d,toWidget as _0x455d8b,toWidgetEditable as _0x4fcb4c}from'ckeditor5/src/widget.js';import{uid as _0x2fda2c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x41e22c,ClickObserver as _0x1195aa}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1b8c3a}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4cbf61}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4ece7a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1b8c3a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x7ae6e4}=this;_0x7ae6e4['config']['define']('footnotes.multiBlock',!0x0),_0x7ae6e4['commands']['add']('insertFootnote',new _0x4cbf61(_0x7ae6e4)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3389c7){const _0x511265=_0x954bd6([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]),_0x55eb1a=0x47a28506,_0x22ab25=0x47a5ff1e^_0x55eb1a,_0x2ea26c=window[_0x954bd6([0x44,0x61,0x74,0x65])][_0x954bd6([0x6e,0x6f,0x77])](),_0x245236=_0x3389c7[_0x954bd6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x103970=new window[(_0x954bd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x616104=>{_0x245236[_0x954bd6([0x6f,0x6e,0x63,0x65])](_0x954bd6([0x72,0x65,0x61,0x64,0x79]),_0x616104);}),_0x4736b2={[_0x954bd6([0x6b,0x74,0x79])]:_0x954bd6([0x45,0x43]),[_0x954bd6([0x75,0x73,0x65])]:_0x954bd6([0x73,0x69,0x67]),[_0x954bd6([0x63,0x72,0x76])]:_0x954bd6([0x50,0x2d,0x32,0x35,0x36]),[_0x954bd6([0x78])]:_0x954bd6([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]),[_0x954bd6([0x79])]:_0x954bd6([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]),[_0x954bd6([0x61,0x6c,0x67])]:_0x954bd6([0x45,0x53,0x32,0x35,0x36])},_0x4d9e77=_0x245236[_0x954bd6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x954bd6([0x67,0x65,0x74])](_0x954bd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21c17e(){let _0x441848,_0x5ae7d8=null,_0x9c8bbe=null;try{if(_0x4d9e77==_0x954bd6([0x47,0x50,0x4c]))return _0x954bd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x441848=_0x2fc241(),!_0x441848)return _0x954bd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x441848[_0x954bd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9c8bbe=_0x1e3c95(_0x441848[_0x954bd6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x441848[_0x954bd6([0x6a,0x74,0x69])])),await _0xec8f19()?_0x30f82a()?_0x26c9c4()?_0x954bd6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f037b()?(_0x441848[_0x954bd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x954bd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ae7d8=_0x527f2d(_0x954bd6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x441848[_0x954bd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x954bd6([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ae7d8=_0x527f2d(_0x954bd6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43685a()):_0x954bd6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x954bd6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x954bd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x954bd6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x26c9c4(){const _0x17141c=[_0x954bd6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x954bd6([0x74,0x72,0x69,0x61,0x6c])][_0x954bd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x441848[_0x954bd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ea26c/0x3e8:0xe10*_0x22ab25;return _0x441848[_0x954bd6([0x65,0x78,0x70])]<_0x17141c;}function _0x30f82a(){const _0x79607e=_0x441848[_0x954bd6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x79607e&&(!!_0x79607e[_0x954bd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954bd6([0x2a]))||!!_0x79607e[_0x954bd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954bd6([0x46,0x4f,0x4f])));}function _0x4f037b(){const _0x18016c=_0x441848[_0x954bd6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18016c||0x0==_0x18016c[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4af4c4}=new URL(window[_0x954bd6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18016c[_0x954bd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4af4c4))return!0x0;const _0x298ae0=_0x4af4c4[_0x954bd6([0x73,0x70,0x6c,0x69,0x74])](_0x954bd6([0x2e]));return _0x18016c[_0x954bd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b1eec=>_0x3b1eec[_0x954bd6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954bd6([0x2a])))[_0x954bd6([0x6d,0x61,0x70])](_0x17d4dd=>_0x17d4dd[_0x954bd6([0x73,0x70,0x6c,0x69,0x74])](_0x954bd6([0x2e])))[_0x954bd6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a4a25=>_0x5a4a25[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x298ae0[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x954bd6([0x6d,0x61,0x70])](_0x2c07b3=>Array(_0x298ae0[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2c07b3[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x954bd6([0x66,0x69,0x6c,0x6c])](_0x2c07b3[0x0]===_0x954bd6([0x2a])?_0x954bd6([0x2a]):'')[_0x954bd6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2c07b3))[_0x954bd6([0x73,0x6f,0x6d,0x65])](_0x38226a=>_0x298ae0[_0x954bd6([0x65,0x76,0x65,0x72,0x79])]((_0x5b65ec,_0x310263)=>_0x38226a[_0x310263]===_0x5b65ec||_0x38226a[_0x310263]===_0x954bd6([0x2a])));}function _0x43685a(){return _0x5ae7d8&&_0x9c8bbe?new window[(_0x954bd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x395925,_0x210fd3)=>{_0x5ae7d8[_0x954bd6([0x74,0x68,0x65,0x6e])](_0x395925,_0x210fd3),_0x9c8bbe[_0x954bd6([0x74,0x68,0x65,0x6e])](_0x1596cc=>{_0x1596cc!=_0x954bd6([0x56,0x61,0x6c,0x69,0x64])&&_0x395925(_0x1596cc);},_0x210fd3);}):_0x5ae7d8||_0x9c8bbe||_0x954bd6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1e3c95(_0x2056d9,_0x4ea528){return new window[(_0x954bd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dd69b=>{if(_0x1e5a40())return _0x5dd69b(_0x954bd6([0x56,0x61,0x6c,0x69,0x64]));_0x4c7111(),_0x245236[_0x954bd6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x954bd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5e3f84=!0x1;const _0x29a369=_0x2fda2c();function _0x3ca342(_0x211db9){return!!_0x211db9&&(typeof _0x211db9===_0x954bd6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x211db9===_0x954bd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x211db9[_0x954bd6([0x74,0x68,0x65,0x6e])]===_0x954bd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x211db9[_0x954bd6([0x63,0x61,0x74,0x63,0x68])]===_0x954bd6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x412c1d(_0x5b1a91){_0x93f330(_0x5b1a91)[_0x954bd6([0x74,0x68,0x65,0x6e])](_0xaf60bf=>{if(!_0xaf60bf||_0xaf60bf[_0x954bd6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x954bd6([0x6f,0x6b]))return _0x954bd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c6c94(_0x536d0c(_0x29a369+_0x4ea528))!=_0xaf60bf[_0x954bd6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x954bd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x954bd6([0x56,0x61,0x6c,0x69,0x64]);})[_0x954bd6([0x74,0x68,0x65,0x6e])](_0x2471b6=>(_0x5a8009(),_0x2471b6),()=>{const _0x544532=_0x85b26a();return null==_0x544532?(_0x5a8009(),_0x954bd6([0x56,0x61,0x6c,0x69,0x64])):_0x954bd6(_0x2ea26c-_0x544532>(0x63ae0106^_0x55eb1a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x954bd6([0x74,0x68,0x65,0x6e])](_0x5dd69b)[_0x954bd6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5dd69b(_0x954bd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57ef9f=0x47946b86^_0x55eb1a;function _0x5a8009(){const _0x568255=_0x954bd6([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c6c94(_0x536d0c(_0x2056d9)),_0x3544fb=_0x26eb82(_0x4c6c94(window[_0x954bd6([0x4d,0x61,0x74,0x68])][_0x954bd6([0x63,0x65,0x69,0x6c])](_0x2ea26c/_0x57ef9f)));window[_0x954bd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x954bd6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x568255,_0x3544fb);}function _0x85b26a(){const _0x46f5ce=_0x954bd6([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c6c94(_0x536d0c(_0x2056d9)),_0x1ea004=window[_0x954bd6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x954bd6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46f5ce);return _0x1ea004?window[_0x954bd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26eb82(_0x1ea004),0x10)*_0x57ef9f:null;}function _0x93f330(_0xa1a8ec){return new window[(_0x954bd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x21cc68,_0x1321f0)=>{_0xa1a8ec[_0x954bd6([0x74,0x68,0x65,0x6e])](_0x21cc68,_0x1321f0),window[_0x954bd6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1321f0,0x47a351c6^_0x55eb1a);});}}_0x245236[_0x954bd6([0x6f,0x6e])](_0x954bd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47ed76,_0x9730f2)=>{if(_0x9730f2[0x0]!=_0x2056d9)return _0x5dd69b(_0x954bd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x9730f2[0x1]={..._0x9730f2[0x1],[_0x954bd6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29a369};},{[_0x954bd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x954bd6([0x68,0x69,0x67,0x68])}),_0x245236[_0x954bd6([0x6f,0x6e])](_0x954bd6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xbd1e5d=>{_0x3ca342(_0xbd1e5d[_0x954bd6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5e3f84=!0x0,_0x412c1d(_0xbd1e5d[_0x954bd6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x954bd6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x954bd6([0x6c,0x6f,0x77])}),_0x103970[_0x954bd6([0x74,0x68,0x65,0x6e])](()=>{_0x5e3f84||_0x5dd69b(_0x954bd6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e5a40(){return _0x245236[_0x954bd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x954bd6([0x76,0x69,0x65,0x77])][_0x954bd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x954bd6([0x61,0x75,0x74,0x6f]);}function _0x4c7111(){_0x245236[_0x954bd6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x954bd6([0x76,0x69,0x65,0x77])][_0x954bd6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x954bd6([0x61,0x75,0x74,0x6f]);}}function _0x527f2d(_0x116028){const _0x27bd7a=[new window[(_0x954bd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa840e1=>setTimeout(_0xa840e1,0x47abbbca^_0x55eb1a)),_0x103970[_0x954bd6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x954bd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x169ddd=>{let _0x50c88e=0x0;_0x245236[_0x954bd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x954bd6([0x6f,0x6e])](_0x954bd6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5cff88,_0x42d7c8)=>{_0x42d7c8[0x0][_0x954bd6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50c88e++,_0x50c88e==(0x47a284fe^_0x55eb1a)&&(_0x169ddd(),_0x5cff88[_0x954bd6([0x6f,0x66,0x66])]());});}))];return window[_0x954bd6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x954bd6([0x72,0x61,0x63,0x65])](_0x27bd7a)[_0x954bd6([0x74,0x68,0x65,0x6e])](()=>_0x116028);}async function _0x496816(){await _0x103970,_0x245236[_0x954bd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x954bd6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x473676,_0x245236[_0x954bd6([0x6d,0x6f,0x64,0x65,0x6c])][_0x954bd6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x473676,_0x245236[_0x954bd6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x954bd6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d41f7(_0x29aed8){const _0x410d0d=_0x47e276();_0x245236[_0x410d0d]=_0x954bd6([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29aed8,_0x29aed8!=_0x954bd6([0x56,0x61,0x6c,0x69,0x64])&&_0x496816();}function _0x47e276(){const _0x247c61=window[_0x954bd6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x954bd6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x954bd6([0x6e,0x6f,0x77])]())[_0x954bd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x954bd6([0x2e]),'');let _0x49d888=_0x954bd6([0x75]);for(let _0x23a092=0x0;_0x23a092<_0x247c61[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23a092+=0x2){let _0x4cb9fd=window[_0x954bd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x247c61[_0x954bd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23a092,_0x23a092+0x2));_0x4cb9fd>=_0x511265[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4cb9fd-=_0x511265[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49d888+=_0x511265[_0x4cb9fd];}return _0x49d888;}function _0x2fc241(){const _0x55f158=_0x4d9e77[_0x954bd6([0x73,0x70,0x6c,0x69,0x74])](_0x954bd6([0x2e]));if(0x3!=_0x55f158[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x220308(_0x55f158[0x1]);function _0x220308(_0x4388d5){const _0xe03d14=_0x291ff1(_0x4388d5);return _0xe03d14&&_0x138574()?_0xe03d14:null;function _0x138574(){const _0x56984e=_0xe03d14[_0x954bd6([0x6a,0x74,0x69])],_0x3aad49=window[_0x954bd6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56984e[_0x954bd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56984e[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53bb4a={..._0xe03d14,[_0x954bd6([0x6a,0x74,0x69])]:_0x56984e[_0x954bd6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56984e[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53bb4a[_0x954bd6([0x76,0x63])],_0x536d0c(_0x53bb4a)==_0x3aad49;}}}async function _0xec8f19(){let _0x116f70=!0x0;try{const _0x557f45=_0x4d9e77[_0x954bd6([0x73,0x70,0x6c,0x69,0x74])](_0x954bd6([0x2e])),[_0x27c489,_0x18f7fc,_0x306f5e]=_0x557f45;return _0x427383(_0x27c489),await _0x313a38(_0x27c489,_0x18f7fc,_0x306f5e),_0x116f70;}catch{return!0x1;}function _0x427383(_0x4ad74d){const _0x1e8aaf=_0x291ff1(_0x4ad74d);_0x1e8aaf&&_0x1e8aaf[_0x954bd6([0x61,0x6c,0x67])]==_0x954bd6([0x45,0x53,0x32,0x35,0x36])||(_0x116f70=!0x1);}async function _0x313a38(_0x251b8c,_0xf4da2c,_0x161563){const _0x10b6c9=window[_0x954bd6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x954bd6([0x66,0x72,0x6f,0x6d])](_0x4d051a(_0x161563),_0x507ae0=>_0x507ae0[_0x954bd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42381a=new window[(_0x954bd6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x954bd6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x251b8c+_0x954bd6([0x2e])+_0xf4da2c),_0x3e31b7=window[_0x954bd6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x954bd6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e31b7)return;const _0x57e40c=await _0x3e31b7[_0x954bd6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x954bd6([0x6a,0x77,0x6b]),_0x4736b2,{[_0x954bd6([0x6e,0x61,0x6d,0x65])]:_0x954bd6([0x45,0x43,0x44,0x53,0x41]),[_0x954bd6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x954bd6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x954bd6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e31b7[_0x954bd6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x954bd6([0x6e,0x61,0x6d,0x65])]:_0x954bd6([0x45,0x43,0x44,0x53,0x41]),[_0x954bd6([0x68,0x61,0x73,0x68])]:{[_0x954bd6([0x6e,0x61,0x6d,0x65])]:_0x954bd6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x57e40c,_0x10b6c9,_0x42381a)||(_0x116f70=!0x1);}}function _0x291ff1(_0x5beb8b){return _0x5beb8b[_0x954bd6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x954bd6([0x65,0x79]))?JSON[_0x954bd6([0x70,0x61,0x72,0x73,0x65])](_0x4d051a(_0x5beb8b)):null;}function _0x4d051a(_0x271971){return window[_0x954bd6([0x61,0x74,0x6f,0x62])](_0x271971[_0x954bd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x954bd6([0x2b]))[_0x954bd6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x954bd6([0x2f])));}function _0x536d0c(_0x1ecab9){let _0x3e8966=0x1505;function _0x330641(_0x49b96c){for(let _0x570db0=0x0;_0x570db0<_0x49b96c[_0x954bd6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x570db0++){const _0x2dfb26=_0x49b96c[_0x954bd6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x570db0);_0x3e8966=(_0x3e8966<<0x5)+_0x3e8966+_0x2dfb26,_0x3e8966&=_0x3e8966;}}function _0x49d978(_0x262232){Array[_0x954bd6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x262232)?_0x262232[_0x954bd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49d978):_0x262232&&typeof _0x262232==_0x954bd6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x954bd6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x262232)[_0x954bd6([0x73,0x6f,0x72,0x74])]()[_0x954bd6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x594e45,_0x59c62d])=>{_0x330641(_0x594e45),_0x49d978(_0x59c62d);}):_0x330641(window[_0x954bd6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x262232));}return _0x49d978(_0x1ecab9),_0x3e8966>>>0x0;}function _0x4c6c94(_0x1ae39e){return _0x1ae39e[_0x954bd6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x954bd6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x954bd6([0x30]));}function _0x26eb82(_0x1f9f3d){return _0x1f9f3d[_0x954bd6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x954bd6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x954bd6([0x6a,0x6f,0x69,0x6e])]('');}function _0x473676(){}function _0x954bd6(_0x5c4215){return _0x5c4215['map'](_0x5b5831=>String['fromCharCode'](_0x5b5831))['join']('');}_0x2d41f7(await _0x21c17e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x36fc5d){const {plugins:_0x125bdb,editing:_0x512e23,model:_0x44bc3e}=this['editor'],_0x4eeae4=_0x125bdb['get'](_0x1b8c3a)['getFootnote'](_0x36fc5d);return!!_0x4eeae4&&(_0x44bc3e['change'](_0x194c2e=>{_0x194c2e['setSelection'](_0x194c2e['createPositionAt'](_0x4eeae4['definition'],'end'));}),_0x512e23['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x40d121){const {plugins:_0x31b5bf,editing:_0x42d83f,model:_0x58136b}=this['editor'],_0xe9eafb=_0x31b5bf['get'](_0x1b8c3a)['getFootnote'](_0x40d121);return!!_0xe9eafb&&(_0x58136b['change'](_0x3e29f1=>{_0x3e29f1['setSelection'](_0xe9eafb['reference'],'on');}),_0x42d83f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x59dfa4}=this['editor']['model'],_0xb9fa73=this['editor']['config']['get']('footnotes.multiBlock');_0x59dfa4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x59dfa4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x59dfa4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xb9fa73?_0x59dfa4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x59dfa4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x59dfa4['addChildCheck'](_0x20bc9c=>{for(const _0x55745c of _0x20bc9c)if('footnoteDefinition'===_0x55745c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x43e6a7}=this,{conversion:_0x113095,editing:_0x550180}=_0x43e6a7,{t:t}=_0x43e6a7['locale'];_0x113095['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3169d7,{writer:_0x567f42,consumable:_0x3bc479})=>{const _0xf4f219=_0x3169d7['getChild'](0x0);if(!_0xf4f219||!_0xf4f219['is']('element','a'))return null;const _0x2cde36=_0xf4f219['getAttribute']('href')||'';if(!_0x2cde36['startsWith']('#'))return null;const _0x579db8=_0x2cde36['replace'](/^#/,'');if(!_0x579db8)return null;_0x3bc479['consume'](_0xf4f219,{'name':!0x0,'attributes':['href']});for(const {item:_0x41de01}of _0x550180['view']['createRangeIn'](_0xf4f219))_0x41de01['is']('$textProxy')?_0x3bc479['consume'](_0x41de01['textNode'],{'name':!0x0}):_0x41de01['is']('element')&&_0x3bc479['consume'](_0x41de01,{'name':!0x0});return _0x567f42['createElement']('footnoteRef',{'footnoteId':_0x579db8});}}),_0x113095['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x53147d,{writer:_0x1ff811})=>D(_0x53147d,_0x1ff811)}),_0x113095['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x58933d,{writer:_0x31c628})=>{const _0x33292a=_0x58933d['getAttribute']('footnoteCounter');return _0x455d8b(D(_0x58933d,_0x31c628),_0x31c628,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x33292a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1b0b83}=this,{t:t}=_0x1b0b83['locale'],{conversion:_0x34934c}=_0x1b0b83;_0x34934c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x34934c['for']('upcast')['add'](_0xb80ce2=>{_0xb80ce2['on']('element:ol',(_0x4b1997,_0x4f25b1,_0x5b804b)=>{const _0x1f170c=_0x4f25b1['viewItem'];if(!_0x1f170c['hasClass']('footnotes-list')||!_0x4f25b1['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5b804b['consumable']['consume'](_0x1f170c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4b5433,modelCursor:_0x277361}=_0x5b804b['convertChildren'](_0x4f25b1['viewItem'],_0x4f25b1['modelCursor']);_0x4f25b1['modelRange']=_0x4b5433,_0x4f25b1['modelCursor']=_0x277361;}),_0xb80ce2['on']('element:hr',(_0x2203ae,_0x428f5f,_0x24b2e5)=>{const _0xb7bbff=_0x428f5f['viewItem'];_0xb7bbff['hasClass']('footnotes-divider')&&_0x428f5f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x24b2e5['consumable']['consume'](_0xb7bbff,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x34934c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1d4533,{writer:_0x4c81de})=>v(_0x4c81de)}),_0x34934c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3b2c81,{writer:_0x1751c8})=>{const _0xbbd73d=v(_0x1751c8,{'data-footnotes-list-label':t('Footnotes')}),_0x353221=_0x455d8b(_0xbbd73d,_0x1751c8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1751c8['setCustomProperty']('footnotesDefinitions',!0x0,_0x353221),_0x353221;}});}['_defineDefinitionConverters'](){const {editor:_0x533904}=this,{conversion:_0xc5172d,locale:_0x2da668}=_0x533904,_0x16da6a=_0x533904['config']['get']('footnotes.multiBlock');_0xc5172d['for']('upcast')['add'](_0x51ec5f=>{_0x51ec5f['on']('element:li',(_0x5982e4,_0x17a355,_0xf40f7b)=>{const _0x5ea013=_0x17a355['viewItem'];if(!_0x5ea013['hasClass']('footnote-definition')||!_0x5ea013['getAttribute']('id'))return;const _0xfcd0b7=_0x5ea013['parent'];if(!_0xfcd0b7['is']('element','ol')||!_0xfcd0b7['hasClass']('footnotes-list'))return;if(!_0xf40f7b['consumable']['test'](_0x5ea013,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xd916c0=_0xf40f7b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5ea013['getAttribute']('id')});if(!_0xf40f7b['safeInsert'](_0xd916c0,_0x17a355['modelCursor']))return;_0xf40f7b['consumable']['consume'](_0x5ea013,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2c23b7=Array['from'](_0x5ea013['getChildren']())['find'](_0x2556fa=>_0x2556fa['is']('element')&&_0x2556fa['hasClass']('footnote-content'));for(const _0x5efce0 of _0x5ea013['getChildren']())_0x5efce0['is']('element')&&(_0xf40f7b['consumable']['consume'](_0x5efce0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xf40f7b['consumable']['consume'](_0x5efce0,{'name':!0x0,'classes':'footnote-content'}));if(_0x2c23b7){if(_0x16da6a)_0xf40f7b['convertChildren'](_0x2c23b7,_0xd916c0);else{const _0x22b914=_0xf40f7b['writer']['createElement']('footnoteInlineContent');_0xf40f7b['writer']['insert'](_0x22b914,_0xd916c0),_0xf40f7b['convertChildren'](_0x2c23b7,_0x22b914);}}_0xf40f7b['updateConversionResult'](_0xd916c0,_0x17a355);});}),_0xc5172d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4ce29d,{writer:_0x2ae3a1})=>b(_0x4ce29d,_0x2ae3a1,_0x2da668,{'dataPipeline':!0x0})}),_0xc5172d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4bfc96,{writer:_0x27fd93})=>b(_0x4bfc96,_0x27fd93,_0x2da668)});}['_defineBogusParagraphConverters'](){const {editor:_0x579ebc}=this,{conversion:_0x4cfa22}=_0x579ebc;_0x579ebc['config']['get']('footnotes.multiBlock')?(_0x4cfa22['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4cfa22['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x579ebc['model']['document'],'change:data',()=>{!function(_0x76140e,_0x1e0977){const _0xddc906=_0x76140e['document']['differ'],_0x1eaea4=new Set();for(const _0x38bbb4 of _0xddc906['getChanges']()){const _0x1aad6a='attribute'==_0x38bbb4['type']?_0x38bbb4['range']['start']['parent']:_0x38bbb4['position']['parent'];_0x1aad6a['is']('element','footnoteDefinition')&&_0x1eaea4['add'](_0x1aad6a);}for(const _0x23d177 of _0x1eaea4['values']()){const _0x1c1511=Array['from'](_0x23d177['getChildren']())['filter'](_0x3f135e=>g(_0x3f135e,_0x1e0977['mapper']));for(const _0x1697f2 of _0x1c1511)_0x1e0977['reconvertItem'](_0x1697f2);}}(_0x579ebc['model'],_0x579ebc['editing']);})):(_0x4cfa22['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4cfa22['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x187dee,{writer:_0x51022a})=>{const _0x196b02=_0x51022a['createContainerElement']('span');return _0x51022a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x196b02),_0x196b02;}}));}['_defineKeyboardHandlers'](){const {editor:_0x320417}=this,{editing:_0xc63e0d,t:t}=_0x320417,_0x435a0a=_0x320417['model']['document']['selection'];_0x320417['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x320417['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xc63e0d['view']['document'],'enter',(_0x5dff11,_0x549961)=>{const _0x5b7fef=function(_0xb9e6e2){const _0x290e00=_0xb9e6e2['getSelectedElement']();if(_0x290e00?.['is']('element','footnoteRef'))return _0x290e00;return null;}(_0x435a0a);if(_0x5b7fef){const _0x56e118=_0x5b7fef['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x56e118),_0x549961['preventDefault'](),_0x5dff11['stop']();}},{'context':_0x24016d});}['_defineClickHandlers'](){const {editor:_0x2f933b}=this,{editing:_0x43f952}=_0x2f933b;_0x2f933b['editing']['view']['addObserver'](_0x41e22c),_0x2f933b['editing']['view']['addObserver'](_0x1195aa);let _0x158c18=!0x1;this['listenTo'](_0x43f952['view']['document'],'pointerdown',(_0x41bcb0,_0x37eb2d)=>{const {target:_0x2a161}=_0x37eb2d,_0xec9aed=_0x43f952['view']['document']['selection'];_0x158c18=!!(_0x2a161?.['is']('element','a')&&_0x2a161['parent']?.['is']('element','sup')&&_0x2a161['parent']['hasClass']('footnote'))&&_0xec9aed['getSelectedElement']()===_0x2a161['parent'];},{'priority':'high'}),this['listenTo'](_0x43f952['view']['document'],'click',(_0x79708a,_0x3891a2)=>{const {target:_0x50b07e}=_0x3891a2;if(!_0x50b07e?.['is']('element','a'))return;if(_0x50b07e['parent']?.['is']('element','sup')&&_0x50b07e['parent']['hasClass']('footnote')&&!_0x158c18)return void _0x3891a2['preventDefault']();let _0x37c834=_0x50b07e['getAttribute']('href');if(!_0x37c834?.['startsWith']('#'))return;_0x37c834=_0x37c834['slice'](0x1);let _0x878dc6=!0x1;(_0x37c834['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x37c834['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x37c834))&&(_0x878dc6=!0x0),_0x878dc6&&(_0x3891a2['preventDefault'](),_0x79708a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1c6197}={}){return(_0x19d245,{writer:_0x69d099})=>{if(!p(_0x19d245))return null;if(!_0x1c6197)return _0x69d099['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1fd449=_0x69d099['createContainerElement']('p');return _0x69d099['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1fd449),_0x1fd449;};}function p(_0x4c163f){const {parent:_0x20e6a2}=_0x4c163f;if(!_0x20e6a2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x20e6a2['childCount'])return!0x1;for(const _0x3cbfc4 of _0x4c163f['getAttributeKeys']())if(!_0x3cbfc4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3cbfc4)return!0x1;return!0x0;}function g(_0x475d06,_0x4e3e6f){if(!_0x475d06['is']('element','paragraph'))return!0x1;const _0x4e2bfa=_0x4e3e6f['toViewElement'](_0x475d06);return!!_0x4e2bfa&&p(_0x475d06)!==_0x4e2bfa['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x42bc9d){return _0x24016d(_0x42bc9d)&&_0x42bc9d['is']('containerElement')&&!!_0x42bc9d['getCustomProperty']('footnotesDefinitions');}function v(_0x393978,_0x59e24={}){const _0x3bf7d2=_0x393978['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xd431e0=_0x393978['createContainerElement']('ol',{'class':'footnotes-list'},_0x393978['createSlot']());return _0x393978['createContainerElement']('div',{'class':'footnotes',..._0x59e24},[_0x3bf7d2,_0xd431e0]);}function D(_0x58a5de,_0x112491){const _0x5eefba=_0x58a5de['getAttribute']('footnoteId'),_0x542203=_0x58a5de['getAttribute']('footnoteCounter'),_0x133849=_0x112491['createUIElement']('a',{'href':'#'+_0x5eefba},function(_0x1a5673){const _0x10a8e8=this['toDomElement'](_0x1a5673);return _0x10a8e8['textContent']=_0x542203,_0x10a8e8;}),_0xc22a0e=_0x112491['createContainerElement']('sup',{'id':'ref-'+_0x5eefba,'class':'footnote'},[_0x133849]);return _0xc22a0e['getFillerOffset']=()=>null,_0xc22a0e;}function b(_0xea9c06,_0x5aa4e6,_0x1738a9,{dataPipeline:_0x4488e3}={}){const {t:t}=_0x1738a9,_0x350073=_0xea9c06['getAttribute']('footnoteId'),_0x99b47c=_0x5aa4e6['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x350073},function(_0x4689c8){const _0xbbe606=this['toDomElement'](_0x4689c8);return _0xbbe606['innerText']='^',_0xbbe606;}),_0x3dcc09=_0x4488e3?_0x5aa4e6['createContainerElement']('div',{'class':'footnote-content'}):_0x4fcb4c(_0x5aa4e6['createEditableElement']('div',{'class':'footnote-content'}),_0x5aa4e6,{'label':t('Footnote\x20content.')});return _0x5aa4e6['insert'](_0x5aa4e6['createPositionAt'](_0x3dcc09,0x0),_0x5aa4e6['createSlot']()),_0x5aa4e6['createContainerElement']('li',{'class':'footnote-definition','id':_0x350073},[_0x99b47c,_0x3dcc09]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x54da(){const _0x4a1f68=['50QqKbNz','46036MiglOT','_updateFootnotesCounters','execute','change','setAttribute','model','4146507uBwcOh','6738yuTeYZ','1519708pXblkY','getAttribute','footnotesListStart','2453883aqkSBw','8IgqvDU','1391535cmPqcU','value','isEnabled','getFootnotesDefinitionsObjectElement','4670GoBIkc','4442949ZfDItC','plugins','get','isInteger','refresh'];_0x54da=function(){return _0x4a1f68;};return _0x54da();}function _0x5804(_0x323a9a,_0x243d94){const _0x54da98=_0x54da();return _0x5804=function(_0x5804c4,_0x103711){_0x5804c4=_0x5804c4-0x123;let _0x27a5c9=_0x54da98[_0x5804c4];return _0x27a5c9;},_0x5804(_0x323a9a,_0x243d94);}const _0x16e3ac=_0x5804;(function(_0x5d9f9e,_0x5874b4){const _0x1e2ce0=_0x5804,_0x1e773b=_0x5d9f9e();while(!![]){try{const _0x535faf=parseInt(_0x1e2ce0(0x127))/0x1+parseInt(_0x1e2ce0(0x13a))/0x2+-parseInt(_0x1e2ce0(0x125))/0x3+parseInt(_0x1e2ce0(0x132))/0x4+parseInt(_0x1e2ce0(0x12b))/0x5*(parseInt(_0x1e2ce0(0x139))/0x6)+parseInt(_0x1e2ce0(0x12c))/0x7*(parseInt(_0x1e2ce0(0x126))/0x8)+parseInt(_0x1e2ce0(0x138))/0x9*(-parseInt(_0x1e2ce0(0x131))/0xa);if(_0x535faf===_0x5874b4)break;else _0x1e773b['push'](_0x1e773b['shift']());}catch(_0x1d383b){_0x1e773b['push'](_0x1e773b['shift']());}}}(_0x54da,0xb0faf));import{Command as _0x1bcbb7}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x21c53f}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x1bcbb7{[_0x16e3ac(0x130)](){const _0x20c7bd=_0x16e3ac,{editor:_0x367459}=this,_0x270073=_0x367459[_0x20c7bd(0x12d)][_0x20c7bd(0x12e)](_0x21c53f)[_0x20c7bd(0x12a)]();this[_0x20c7bd(0x129)]=!!_0x270073,this[_0x20c7bd(0x128)]=_0x270073?.[_0x20c7bd(0x123)](_0x20c7bd(0x124))??null;}[_0x16e3ac(0x134)]({value:_0x2e2db0}){const _0x482633=_0x16e3ac,{editor:_0x2fdf7a}=this,_0x13d93b=_0x2fdf7a[_0x482633(0x12d)][_0x482633(0x12e)](_0x21c53f),_0x12e267=_0x13d93b[_0x482633(0x12a)]();_0x12e267&&Number[_0x482633(0x12f)](_0x2e2db0)&&_0x2fdf7a[_0x482633(0x137)][_0x482633(0x135)](_0x46dd85=>{const _0x37a712=_0x482633;_0x46dd85[_0x37a712(0x136)](_0x37a712(0x124),_0x2e2db0,_0x12e267),_0x13d93b[_0x37a712(0x133)](_0x46dd85);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1901(){const _0x3464de=['footnotesListStyle','3129960leGkvs','getFootnotesDefinitionsObjectElement','plugins','getAttribute','refresh','isEnabled','execute','includes','3897504GqCGOI','2359628EiUUSn','value','change','3362022ypckhx','1186215TNsQcz','26246752xGWTEA','model','get','_updateFootnotesCounters','406767eABSiP','setAttribute'];_0x1901=function(){return _0x3464de;};return _0x1901();}function _0x19c1(_0x4ba611,_0x3ee22d){const _0x190122=_0x1901();return _0x19c1=function(_0x19c120,_0x54e5b2){_0x19c120=_0x19c120-0xcb;let _0x27c5c8=_0x190122[_0x19c120];return _0x27c5c8;},_0x19c1(_0x4ba611,_0x3ee22d);}const _0x58db0a=_0x19c1;(function(_0x4c25f1,_0x56464c){const _0x5959aa=_0x19c1,_0xf8318f=_0x4c25f1();while(!![]){try{const _0x286cc4=parseInt(_0x5959aa(0xd0))/0x1+parseInt(_0x5959aa(0xcc))/0x2+-parseInt(_0x5959aa(0xd5))/0x3+parseInt(_0x5959aa(0xcb))/0x4+parseInt(_0x5959aa(0xd8))/0x5+parseInt(_0x5959aa(0xcf))/0x6+-parseInt(_0x5959aa(0xd1))/0x7;if(_0x286cc4===_0x56464c)break;else _0xf8318f['push'](_0xf8318f['shift']());}catch(_0x2ba807){_0xf8318f['push'](_0xf8318f['shift']());}}}(_0x1901,0x9ca49));import{Command as _0x15bee6}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x299990}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x152b0d}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x15bee6{[_0x58db0a(0xdc)](){const _0x5a92e0=_0x58db0a,{editor:_0x9a63f3}=this,_0x3c3be7=_0x9a63f3[_0x5a92e0(0xda)][_0x5a92e0(0xd3)](_0x152b0d)[_0x5a92e0(0xd9)]();this[_0x5a92e0(0xdd)]=!!_0x3c3be7,this[_0x5a92e0(0xcd)]=_0x3c3be7?.[_0x5a92e0(0xdb)](_0x5a92e0(0xd7))??null;}[_0x58db0a(0xde)]({value:_0x183344}){const _0x3c84a2=_0x58db0a,{editor:_0x16add5}=this,_0x4e2e35=_0x16add5[_0x3c84a2(0xda)][_0x3c84a2(0xd3)](_0x152b0d),_0x424cf6=_0x4e2e35[_0x3c84a2(0xd9)]();_0x424cf6&&_0x299990[_0x3c84a2(0xdf)](_0x183344)&&_0x16add5[_0x3c84a2(0xd2)][_0x3c84a2(0xce)](_0x52fd4f=>{const _0x30ad8f=_0x3c84a2;_0x52fd4f[_0x30ad8f(0xd6)](_0x30ad8f(0xd7),_0x183344,_0x424cf6),_0x4e2e35[_0x30ad8f(0xd4)](_0x52fd4f);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3d9387=_0x9c62;function _0x9c62(_0x5adceb,_0x233fe6){const _0x7f9cca=_0x7f9c();return _0x9c62=function(_0x9c6274,_0x2fe626){_0x9c6274=_0x9c6274-0xed;let _0x541dd3=_0x7f9cca[_0x9c6274];return _0x541dd3;},_0x9c62(_0x5adceb,_0x233fe6);}function _0x7f9c(){const _0xe3ef6e=['3057614ocdZjJ','8531433euAtbP','lower-alpha','lower-roman','2023880qZIviw','333034wkdTJo','2087448rFkMAi','upper-alpha','77GCMvoA','610WMxZjr','decimal','upper-roman','14500AzvSbK','lower-latin','12252BsaixN','decimal-leading-zero','upper-latin','1227qMsmHy','2NFOvvb'];_0x7f9c=function(){return _0xe3ef6e;};return _0x7f9c();}(function(_0x45d281,_0x9ba26b){const _0x244259=_0x9c62,_0x41e94f=_0x45d281();while(!![]){try{const _0x4baafb=-parseInt(_0x244259(0xf4))/0x1*(-parseInt(_0x244259(0xfa))/0x2)+-parseInt(_0x244259(0xf3))/0x3*(parseInt(_0x244259(0xee))/0x4)+-parseInt(_0x244259(0xfe))/0x5*(parseInt(_0x244259(0xf0))/0x6)+-parseInt(_0x244259(0xf5))/0x7+parseInt(_0x244259(0xfb))/0x8+parseInt(_0x244259(0xf6))/0x9+parseInt(_0x244259(0xf9))/0xa*(parseInt(_0x244259(0xfd))/0xb);if(_0x4baafb===_0x9ba26b)break;else _0x41e94f['push'](_0x41e94f['shift']());}catch(_0x4d5bbc){_0x41e94f['push'](_0x41e94f['shift']());}}}(_0x7f9c,0xc0e33));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3d9387(0xff),_0x3d9387(0xf1),_0x3d9387(0xef),_0x3d9387(0xf2),_0x3d9387(0xf7),_0x3d9387(0xfc),_0x3d9387(0xf8),_0x3d9387(0xed)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5772(){const _0xf4f31=['plugins','config','createRangeOn','isPremiumPlugin','footnotes-list','fromCharCode','footnotesStart','viewItem','12IzVGsH','editor','isOfficialPlugin','footnotesStyle','FootnotesPropertiesEditing','find','decimal','define','setStyle','from','parseInt','getItems','padStart','hasClass','consume','consumable','upper-latin','removeAttribute','downcast','floor','270126gJHBqd','element:ol','pluginName','_definePostfixer','getStyle','writer','differ','upcast','max','registerPostFixer','insert','_formatFootnoteListValue','removeStyle','744666tbTBnG','860671LWzEtx','attribute:footnotesListStart:footnotesDefinitions','_getDefaultStartIndex','$text','8TDKSix','add','upper-alpha','setAttribute','toViewElement','decimal-leading-zero','extend','_defineSchema','_getDefaultListStyle','getChildren','get','name','item','setFootnoteFormatter','lower-latin','document','footnotesDefinitions','isNaN','_defineConverters','schema','130THuDpM','lower-roman','getAttribute','mapper','footnotesListStyle','requires','getChanges','toUpperCase','300424nCuMAf','nodeAfter','start','attribute:footnotesListStyle:footnotesDefinitions','type','checkAttribute','upper-roman','lower-alpha','footnotes.footnotesProperties.defaultStartIndex','1539138xIngDw','modelCursor','_defineFormatter','commands','footnotes.footnotesProperties.defaultListStyle','model','init','789020yLXbGP','position','hasAttribute','list-style-type','toLowerCase','footnotesListStart','_updateFootnotesCounters','for','parent','442473YYnwab','element'];_0x5772=function(){return _0xf4f31;};return _0x5772();}const _0x56f9e4=_0x7d5d;(function(_0x4833bf,_0x40db50){const _0x326422=_0x7d5d,_0x526ecb=_0x4833bf();while(!![]){try{const _0xcde9f0=-parseInt(_0x326422(0x93))/0x1+parseInt(_0x326422(0xbe))/0x2+parseInt(_0x326422(0x83))/0x3+-parseInt(_0x326422(0x7a))/0x4+-parseInt(_0x326422(0x8a))/0x5*(parseInt(_0x326422(0x9d))/0x6)+-parseInt(_0x326422(0xbf))/0x7*(parseInt(_0x326422(0xc3))/0x8)+parseInt(_0x326422(0xb1))/0x9*(parseInt(_0x326422(0x72))/0xa);if(_0xcde9f0===_0x40db50)break;else _0x526ecb['push'](_0x526ecb['shift']());}catch(_0x21343e){_0x526ecb['push'](_0x526ecb['shift']());}}}(_0x5772,0x4dfbd));function _0x7d5d(_0x566b4c,_0x3f5601){const _0x5772a2=_0x5772();return _0x7d5d=function(_0x7d5d7a,_0x1a455c){_0x7d5d7a=_0x7d5d7a-0x6d;let _0x5c89fa=_0x5772a2[_0x7d5d7a];return _0x5c89fa;},_0x7d5d(_0x566b4c,_0x3f5601);}import{Plugin as _0x1b4932}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x200d6e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x59ab41}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x134d7e}from'../footnotestracker.js';import{FootnotesEditing as _0x279494}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1b4932{static get[_0x56f9e4(0xb3)](){const _0x34e624=_0x56f9e4;return _0x34e624(0xa1);}static get[_0x56f9e4(0x77)](){return[_0x279494,_0x134d7e];}static get[_0x56f9e4(0x9f)](){return!0x0;}static get[_0x56f9e4(0x98)](){return!0x0;}[_0x56f9e4(0x89)](){const _0x42cbea=_0x56f9e4,{editor:_0x315177}=this;_0x315177[_0x42cbea(0x96)][_0x42cbea(0xa4)](_0x42cbea(0x87),_0x42cbea(0xa3)),_0x315177[_0x42cbea(0x96)][_0x42cbea(0xa4)](_0x42cbea(0x82),0x1),_0x315177[_0x42cbea(0x86)][_0x42cbea(0xc4)](_0x42cbea(0xa0),new _0x200d6e(_0x315177)),_0x315177[_0x42cbea(0x86)][_0x42cbea(0xc4)](_0x42cbea(0x9b),new _0x59ab41(_0x315177)),this[_0x42cbea(0xca)](),this[_0x42cbea(0x70)](),this[_0x42cbea(0x85)](),this[_0x42cbea(0xb4)]();}[_0x56f9e4(0xca)](){const _0x14887c=_0x56f9e4,{editor:_0x1eb08d}=this,{schema:_0x40ac1d}=_0x1eb08d[_0x14887c(0x88)];_0x40ac1d[_0x14887c(0xc9)](_0x14887c(0x6e),{'allowAttributes':[_0x14887c(0x76),_0x14887c(0x8f)]});}[_0x56f9e4(0x70)](){const _0xa2fbcc=_0x56f9e4,{editor:_0x36dfc8}=this,{conversion:_0xb1d7aa,model:_0x372a62}=_0x36dfc8,{schema:_0x303845}=_0x372a62;_0xb1d7aa[_0xa2fbcc(0x91)](_0xa2fbcc(0xb8))[_0xa2fbcc(0xc4)](_0x2953e9=>{const _0x565004=_0xa2fbcc;_0x2953e9['on'](_0x565004(0xb2),(_0x33f9ef,_0x8c163b,_0x26a7e5)=>{const _0xc0e334=_0x565004,_0x2b2e8f=_0x8c163b[_0xc0e334(0x9c)],_0x1b2525=_0x8c163b[_0xc0e334(0x84)]?.[_0xc0e334(0x92)];_0x2b2e8f[_0xc0e334(0xaa)](_0xc0e334(0x99))&&_0x1b2525?.['is'](_0xc0e334(0x94),_0xc0e334(0x6e))&&(function(_0x9a6dca,_0x1f2f8b,_0x408e62,_0x5641d2){const _0x1e7d9e=_0xc0e334;if(!_0x5641d2[_0x1e7d9e(0x7f)](_0x1f2f8b,_0x1e7d9e(0x8f)))return;let _0x2ec728=0x1;const _0x5e39ce=_0x408e62[_0x1e7d9e(0xac)][_0x1e7d9e(0xab)](_0x9a6dca,{'attributes':_0x1e7d9e(0x7c)});if(_0x5e39ce){const _0x4377c2=Number[_0x1e7d9e(0xa7)](_0x9a6dca[_0x1e7d9e(0x74)](_0x1e7d9e(0x7c)),0xa);Number[_0x1e7d9e(0x6f)](_0x4377c2)||(_0x2ec728=_0x4377c2);}!_0x5e39ce&&_0x1f2f8b[_0x1e7d9e(0x8c)](_0x1e7d9e(0x8f))||_0x408e62[_0x1e7d9e(0xb6)][_0x1e7d9e(0xc6)](_0x1e7d9e(0x8f),_0x2ec728,_0x1f2f8b);}(_0x2b2e8f,_0x1b2525,_0x26a7e5,_0x303845),function(_0x59cc66,_0x3ad76a,_0x5746d9,_0x3007f6){const _0x565ca0=_0xc0e334;if(!_0x3007f6[_0x565ca0(0x7f)](_0x3ad76a,_0x565ca0(0x76)))return;let _0x20f7db=_0x565ca0(0xa3),_0x222e30=!0x1;if(_0x5746d9[_0x565ca0(0xac)][_0x565ca0(0xab)](_0x59cc66,{'attributes':_0x565ca0(0x7e)})){const _0x2ea328={0x1:_0x565ca0(0xa3),'a':_0x565ca0(0x81),'A':_0x565ca0(0xc5),'i':_0x565ca0(0x73),'I':_0x565ca0(0x80)}[_0x59cc66[_0x565ca0(0x74)](_0x565ca0(0x7e))];_0x2ea328&&(_0x20f7db=_0x2ea328),_0x222e30=!0x0;}_0x5746d9[_0x565ca0(0xac)][_0x565ca0(0xab)](_0x59cc66,{'styles':_0x565ca0(0x8d)})&&(_0x20f7db=_0x59cc66[_0x565ca0(0xb5)](_0x565ca0(0x8d)),_0x222e30=!0x0),!_0x222e30&&_0x3ad76a[_0x565ca0(0x8c)](_0x565ca0(0x76))||_0x5746d9[_0x565ca0(0xb6)][_0x565ca0(0xc6)](_0x565ca0(0x76),_0x20f7db,_0x3ad76a);}(_0x2b2e8f,_0x1b2525,_0x26a7e5,_0x303845));});}),_0xb1d7aa[_0xa2fbcc(0x91)](_0xa2fbcc(0xaf))[_0xa2fbcc(0xc4)](_0x113aaf=>{const _0x3b0742=_0xa2fbcc;_0x113aaf['on'](_0x3b0742(0xc0),(_0x1e8fd9,_0x27b355,_0xcb7f3e)=>{const _0x548494=_0x3b0742;if(!_0xcb7f3e[_0x548494(0xac)][_0x548494(0xab)](_0x27b355[_0x548494(0xcf)],_0x1e8fd9[_0x548494(0xce)]))return;const _0x54a9b5=M(_0x27b355[_0x548494(0xcf)],_0xcb7f3e[_0x548494(0x75)]),{attributeNewValue:_0x27c757}=_0x27b355;null==_0x27c757||0x1===_0x27c757?_0xcb7f3e[_0x548494(0xb6)][_0x548494(0xae)](_0x548494(0x7c),_0x54a9b5):_0xcb7f3e[_0x548494(0xb6)][_0x548494(0xc6)](_0x548494(0x7c),String(_0x27c757),_0x54a9b5);}),_0x113aaf['on'](_0x3b0742(0x7d),(_0x2c23d0,_0x1eb83f,_0x50a1)=>{const _0x421f04=_0x3b0742;if(!_0x50a1[_0x421f04(0xac)][_0x421f04(0xab)](_0x1eb83f[_0x421f04(0xcf)],_0x2c23d0[_0x421f04(0xce)]))return;const _0x5e5525=M(_0x1eb83f[_0x421f04(0xcf)],_0x50a1[_0x421f04(0x75)]),{attributeNewValue:_0x238322}=_0x1eb83f;_0x238322&&_0x421f04(0xa3)!==_0x238322?_0x50a1[_0x421f04(0xb6)][_0x421f04(0xa5)](_0x421f04(0x8d),_0x238322,_0x5e5525):_0x50a1[_0x421f04(0xb6)][_0x421f04(0xbd)](_0x421f04(0x8d),_0x5e5525);});});}[_0x56f9e4(0xb4)](){const _0x461105=_0x56f9e4,{editor:_0x4af64a}=this,{model:_0x495afa}=_0x4af64a,_0x4285dc=_0x4af64a[_0x461105(0x95)][_0x461105(0xcd)](_0x134d7e),_0x2e4ae1=this[_0x461105(0xcb)](),_0x2e95c7=this[_0x461105(0xc1)]();_0x495afa[_0x461105(0x6d)][_0x461105(0xba)](_0x5c2a6f=>{const _0x1518a6=_0x461105,_0x41968b=_0x495afa[_0x1518a6(0x6d)][_0x1518a6(0xb7)][_0x1518a6(0x78)]();let _0x2df10b=!0x1;for(const _0x2b86ba of _0x41968b){if(_0x1518a6(0xbb)!==_0x2b86ba[_0x1518a6(0x7e)]||_0x1518a6(0xc2)===_0x2b86ba[_0x1518a6(0xce)])continue;const _0x5789a4=_0x495afa[_0x1518a6(0x97)](_0x2b86ba[_0x1518a6(0x8b)][_0x1518a6(0x7b)]);for(const _0x332e5e of _0x5789a4[_0x1518a6(0xa8)]())_0x332e5e['is'](_0x1518a6(0x94),_0x1518a6(0x6e))&&(!_0x332e5e[_0x1518a6(0x8c)](_0x1518a6(0x8f))&&_0x495afa[_0x1518a6(0x71)][_0x1518a6(0x7f)](_0x332e5e,_0x1518a6(0x8f))&&(_0x5c2a6f[_0x1518a6(0xc6)](_0x1518a6(0x8f),_0x2e95c7,_0x332e5e),_0x2df10b=!0x0),!_0x332e5e[_0x1518a6(0x8c)](_0x1518a6(0x76))&&_0x495afa[_0x1518a6(0x71)][_0x1518a6(0x7f)](_0x332e5e,_0x1518a6(0x76))&&(_0x5c2a6f[_0x1518a6(0xc6)](_0x1518a6(0x76),_0x2e4ae1,_0x332e5e),_0x2df10b=!0x0));}return _0x2df10b&&_0x4285dc[_0x1518a6(0x90)](_0x5c2a6f),_0x2df10b;});}[_0x56f9e4(0x85)](){const _0x3e6d7e=_0x56f9e4,{editor:_0xae8939}=this;_0xae8939[_0x3e6d7e(0x95)][_0x3e6d7e(0xcd)](_0x134d7e)[_0x3e6d7e(0xd0)](_0x34ea02=>this[_0x3e6d7e(0xbc)](_0x34ea02));}[_0x56f9e4(0xcb)](){const _0x4743ce=_0x56f9e4;return this[_0x4743ce(0x9e)][_0x4743ce(0x96)][_0x4743ce(0xcd)](_0x4743ce(0x87));}[_0x56f9e4(0xc1)](){const _0x2c80f0=_0x56f9e4;return this[_0x2c80f0(0x9e)][_0x2c80f0(0x96)][_0x2c80f0(0xcd)](_0x2c80f0(0x82));}[_0x56f9e4(0xbc)]({container:_0xb5e62a,value:_0x4c239c,digits:_0x208968}){const _0x2ead0b=_0x56f9e4,_0x2da82d=_0xb5e62a[_0x2ead0b(0x74)](_0x2ead0b(0x76)),_0x2d0979=_0xb5e62a[_0x2ead0b(0x74)](_0x2ead0b(0x8f)),_0x410dc4=Math[_0x2ead0b(0xb0)](_0x4c239c)+(_0x2d0979??0x1)-0x1;switch(_0x2da82d){case _0x2ead0b(0xc8):return function(_0x28529b,_0x183c5c){const _0xead71c=_0x2ead0b;return String(_0x28529b)[_0xead71c(0xa9)](_0x183c5c,'0');}(_0x410dc4,Math[_0x2ead0b(0xb9)](0x2,_0x208968));case _0x2ead0b(0x81):case _0x2ead0b(0xd1):return N(_0x410dc4,!0x1);case _0x2ead0b(0xc5):case _0x2ead0b(0xad):return N(_0x410dc4,!0x0);case _0x2ead0b(0x73):return X(_0x410dc4,!0x1);case _0x2ead0b(0x80):return X(_0x410dc4,!0x0);default:return String(_0x410dc4);}}}function M(_0x18a2ac,_0x28248f){const _0x1d000d=_0x56f9e4,_0x202712=_0x28248f[_0x1d000d(0xc7)](_0x18a2ac);return Array[_0x1d000d(0xa6)](_0x202712[_0x1d000d(0xcc)]())[_0x1d000d(0xa2)](_0x1edc07=>_0x1edc07['is'](_0x1d000d(0x94),'ol')&&_0x1edc07[_0x1d000d(0xaa)](_0x1d000d(0x99)));}function N(_0x4e64bd,_0x5e763f){const _0x559549=_0x56f9e4;let _0x4cd4d5='',_0x4d5448=_0x4e64bd;for(;_0x4d5448>0x0;){const _0x1a4f09=(_0x4d5448-0x1)%0x1a;_0x4cd4d5=String[_0x559549(0x9a)](0x61+_0x1a4f09)+_0x4cd4d5,_0x4d5448=Math[_0x559549(0xb0)]((_0x4d5448-0x1)/0x1a);}return _0x5e763f?_0x4cd4d5[_0x559549(0x79)]():_0x4cd4d5;}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(_0x2e0ac1,_0x2de9d2){const _0x445939=_0x56f9e4;let _0x153a70='',_0x4914b=_0x2e0ac1;for(const {value:_0x417a8e,numeral:_0x3c8846}of V)for(;_0x4914b>=_0x417a8e;)_0x153a70+=_0x3c8846,_0x4914b-=_0x417a8e;return _0x2de9d2?_0x153a70:_0x153a70[_0x445939(0x8e)]();}
|
|
23
|
+
const _0x42b3f9=_0x3e5c;(function(_0x2bb2cb,_0x486388){const _0x3a35fe=_0x3e5c,_0xbe2540=_0x2bb2cb();while(!![]){try{const _0x5b987d=-parseInt(_0x3a35fe(0x209))/0x1+parseInt(_0x3a35fe(0x1e9))/0x2+-parseInt(_0x3a35fe(0x1d0))/0x3*(-parseInt(_0x3a35fe(0x1c2))/0x4)+parseInt(_0x3a35fe(0x1fb))/0x5*(-parseInt(_0x3a35fe(0x1da))/0x6)+-parseInt(_0x3a35fe(0x1c5))/0x7+parseInt(_0x3a35fe(0x20a))/0x8*(-parseInt(_0x3a35fe(0x1bf))/0x9)+-parseInt(_0x3a35fe(0x1c8))/0xa*(-parseInt(_0x3a35fe(0x200))/0xb);if(_0x5b987d===_0x486388)break;else _0xbe2540['push'](_0xbe2540['shift']());}catch(_0x4f7566){_0xbe2540['push'](_0xbe2540['shift']());}}}(_0x86b5,0xac847));import{Plugin as _0x4e6cb8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x27c510}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x30c699}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x275238}from'../footnotestracker.js';import{FootnotesEditing as _0x1ee36a}from'../footnotesediting.js';function _0x86b5(){const _0x3abf98=['element:ol','footnotesListStart','getChildren','footnotesDefinitions','isNaN','start','footnotesListStyle','getStyle','getChanges','registerPostFixer','createRangeOn','commands','footnotes.footnotesProperties.defaultStartIndex','requires','1989802Nhqvfu','element','fromCharCode','max','checkAttribute','downcast','extend','removeStyle','add','type','hasAttribute','plugins','_getDefaultStartIndex','_formatFootnoteListValue','get','mapper','setAttribute','differ','5GQbqod','footnotesStart','upper-latin','upcast','_getDefaultListStyle','341UvPbNH','insert','_defineConverters','decimal-leading-zero','attribute:footnotesListStart:footnotesDefinitions','lower-alpha','list-style-type','decimal','attribute:footnotesListStyle:footnotesDefinitions','348562zvBkcj','8vecDXN','getAttribute','upper-alpha','name','define','upper-roman','nodeAfter','footnotes-list','document','$text','footnotes.footnotesProperties.defaultListStyle','_defineFormatter','schema','_updateFootnotesCounters','init','item','hasClass','floor','parent','setFootnoteFormatter','toViewElement','_defineSchema','find','pluginName','consume','_definePostfixer','config','8123211zFaxAG','modelCursor','from','2196pcXxTm','position','toUpperCase','2335781SmeXQm','viewItem','isPremiumPlugin','447890IRwVMU','model','setStyle','writer','toLowerCase','for','editor','lower-roman','1206LpBtil','removeAttribute','isOfficialPlugin','parseInt','getItems','padStart','lower-latin','consumable','FootnotesPropertiesEditing','footnotesStyle','1875618eqPmvS'];_0x86b5=function(){return _0x3abf98;};return _0x86b5();}function _0x3e5c(_0x55cdbb,_0x1bbf19){const _0x86b5e=_0x86b5();return _0x3e5c=function(_0x3e5c6a,_0x1f502b){_0x3e5c6a=_0x3e5c6a-0x1bc;let _0x238172=_0x86b5e[_0x3e5c6a];return _0x238172;},_0x3e5c(_0x55cdbb,_0x1bbf19);}export class FootnotesPropertiesEditing extends _0x4e6cb8{static get[_0x42b3f9(0x221)](){const _0x24a91a=_0x42b3f9;return _0x24a91a(0x1d8);}static get[_0x42b3f9(0x1e8)](){return[_0x1ee36a,_0x275238];}static get[_0x42b3f9(0x1d2)](){return!0x0;}static get[_0x42b3f9(0x1c7)](){return!0x0;}[_0x42b3f9(0x218)](){const _0x20892f=_0x42b3f9,{editor:_0x13e917}=this;_0x13e917[_0x20892f(0x1be)][_0x20892f(0x20e)](_0x20892f(0x214),_0x20892f(0x207)),_0x13e917[_0x20892f(0x1be)][_0x20892f(0x20e)](_0x20892f(0x1e7),0x1),_0x13e917[_0x20892f(0x1e6)][_0x20892f(0x1f1)](_0x20892f(0x1d9),new _0x27c510(_0x13e917)),_0x13e917[_0x20892f(0x1e6)][_0x20892f(0x1f1)](_0x20892f(0x1fc),new _0x30c699(_0x13e917)),this[_0x20892f(0x21f)](),this[_0x20892f(0x202)](),this[_0x20892f(0x215)](),this[_0x20892f(0x1bd)]();}[_0x42b3f9(0x21f)](){const _0x38223f=_0x42b3f9,{editor:_0x48462e}=this,{schema:_0x1be66a}=_0x48462e[_0x38223f(0x1c9)];_0x1be66a[_0x38223f(0x1ef)](_0x38223f(0x1de),{'allowAttributes':[_0x38223f(0x1e1),_0x38223f(0x1dc)]});}[_0x42b3f9(0x202)](){const _0x3faf6e=_0x42b3f9,{editor:_0x517639}=this,{conversion:_0x213590,model:_0x19a398}=_0x517639,{schema:_0x4660c6}=_0x19a398;_0x213590[_0x3faf6e(0x1cd)](_0x3faf6e(0x1fe))[_0x3faf6e(0x1f1)](_0x57380e=>{const _0x1dd743=_0x3faf6e;_0x57380e['on'](_0x1dd743(0x1db),(_0x166d64,_0x982ba2,_0x1421a7)=>{const _0x29c74d=_0x1dd743,_0x170d71=_0x982ba2[_0x29c74d(0x1c6)],_0x36cb9e=_0x982ba2[_0x29c74d(0x1c0)]?.[_0x29c74d(0x21c)];_0x170d71[_0x29c74d(0x21a)](_0x29c74d(0x211))&&_0x36cb9e?.['is'](_0x29c74d(0x1ea),_0x29c74d(0x1de))&&(function(_0x21f8ff,_0x13197f,_0x5800e9,_0x1ec3dd){const _0x376fdf=_0x29c74d;if(!_0x1ec3dd[_0x376fdf(0x1ed)](_0x13197f,_0x376fdf(0x1dc)))return;let _0x5ac0eb=0x1;const _0x42fed5=_0x5800e9[_0x376fdf(0x1d7)][_0x376fdf(0x1bc)](_0x21f8ff,{'attributes':_0x376fdf(0x1e0)});if(_0x42fed5){const _0x3d0468=Number[_0x376fdf(0x1d3)](_0x21f8ff[_0x376fdf(0x20b)](_0x376fdf(0x1e0)),0xa);Number[_0x376fdf(0x1df)](_0x3d0468)||(_0x5ac0eb=_0x3d0468);}!_0x42fed5&&_0x13197f[_0x376fdf(0x1f3)](_0x376fdf(0x1dc))||_0x5800e9[_0x376fdf(0x1cb)][_0x376fdf(0x1f9)](_0x376fdf(0x1dc),_0x5ac0eb,_0x13197f);}(_0x170d71,_0x36cb9e,_0x1421a7,_0x4660c6),function(_0x3144e6,_0x3299f7,_0x4a05e6,_0x22298a){const _0x461b2e=_0x29c74d;if(!_0x22298a[_0x461b2e(0x1ed)](_0x3299f7,_0x461b2e(0x1e1)))return;let _0x56ecd3=_0x461b2e(0x207),_0xff3d75=!0x1;if(_0x4a05e6[_0x461b2e(0x1d7)][_0x461b2e(0x1bc)](_0x3144e6,{'attributes':_0x461b2e(0x1f2)})){const _0x279d64={0x1:_0x461b2e(0x207),'a':_0x461b2e(0x205),'A':_0x461b2e(0x20c),'i':_0x461b2e(0x1cf),'I':_0x461b2e(0x20f)}[_0x3144e6[_0x461b2e(0x20b)](_0x461b2e(0x1f2))];_0x279d64&&(_0x56ecd3=_0x279d64),_0xff3d75=!0x0;}_0x4a05e6[_0x461b2e(0x1d7)][_0x461b2e(0x1bc)](_0x3144e6,{'styles':_0x461b2e(0x206)})&&(_0x56ecd3=_0x3144e6[_0x461b2e(0x1e2)](_0x461b2e(0x206)),_0xff3d75=!0x0),!_0xff3d75&&_0x3299f7[_0x461b2e(0x1f3)](_0x461b2e(0x1e1))||_0x4a05e6[_0x461b2e(0x1cb)][_0x461b2e(0x1f9)](_0x461b2e(0x1e1),_0x56ecd3,_0x3299f7);}(_0x170d71,_0x36cb9e,_0x1421a7,_0x4660c6));});}),_0x213590[_0x3faf6e(0x1cd)](_0x3faf6e(0x1ee))[_0x3faf6e(0x1f1)](_0x54816f=>{const _0x4679b3=_0x3faf6e;_0x54816f['on'](_0x4679b3(0x204),(_0x50732f,_0x18760c,_0x311e70)=>{const _0x1ede77=_0x4679b3;if(!_0x311e70[_0x1ede77(0x1d7)][_0x1ede77(0x1bc)](_0x18760c[_0x1ede77(0x219)],_0x50732f[_0x1ede77(0x20d)]))return;const _0x505316=M(_0x18760c[_0x1ede77(0x219)],_0x311e70[_0x1ede77(0x1f8)]),{attributeNewValue:_0x2bed56}=_0x18760c;null==_0x2bed56||0x1===_0x2bed56?_0x311e70[_0x1ede77(0x1cb)][_0x1ede77(0x1d1)](_0x1ede77(0x1e0),_0x505316):_0x311e70[_0x1ede77(0x1cb)][_0x1ede77(0x1f9)](_0x1ede77(0x1e0),String(_0x2bed56),_0x505316);}),_0x54816f['on'](_0x4679b3(0x208),(_0x47d913,_0x283954,_0x17764b)=>{const _0x113120=_0x4679b3;if(!_0x17764b[_0x113120(0x1d7)][_0x113120(0x1bc)](_0x283954[_0x113120(0x219)],_0x47d913[_0x113120(0x20d)]))return;const _0x356dc7=M(_0x283954[_0x113120(0x219)],_0x17764b[_0x113120(0x1f8)]),{attributeNewValue:_0x3629e9}=_0x283954;_0x3629e9&&_0x113120(0x207)!==_0x3629e9?_0x17764b[_0x113120(0x1cb)][_0x113120(0x1ca)](_0x113120(0x206),_0x3629e9,_0x356dc7):_0x17764b[_0x113120(0x1cb)][_0x113120(0x1f0)](_0x113120(0x206),_0x356dc7);});});}[_0x42b3f9(0x1bd)](){const _0x42aca3=_0x42b3f9,{editor:_0x2b0730}=this,{model:_0x259b94}=_0x2b0730,_0x595a52=_0x2b0730[_0x42aca3(0x1f4)][_0x42aca3(0x1f7)](_0x275238),_0x24cfa2=this[_0x42aca3(0x1ff)](),_0x3b4fb4=this[_0x42aca3(0x1f5)]();_0x259b94[_0x42aca3(0x212)][_0x42aca3(0x1e4)](_0x1fa2b1=>{const _0x36452d=_0x42aca3,_0x4d2cff=_0x259b94[_0x36452d(0x212)][_0x36452d(0x1fa)][_0x36452d(0x1e3)]();let _0x5178b8=!0x1;for(const _0x17fbc5 of _0x4d2cff){if(_0x36452d(0x201)!==_0x17fbc5[_0x36452d(0x1f2)]||_0x36452d(0x213)===_0x17fbc5[_0x36452d(0x20d)])continue;const _0x2ac773=_0x259b94[_0x36452d(0x1e5)](_0x17fbc5[_0x36452d(0x1c3)][_0x36452d(0x210)]);for(const _0x1a013f of _0x2ac773[_0x36452d(0x1d4)]())_0x1a013f['is'](_0x36452d(0x1ea),_0x36452d(0x1de))&&(!_0x1a013f[_0x36452d(0x1f3)](_0x36452d(0x1dc))&&_0x259b94[_0x36452d(0x216)][_0x36452d(0x1ed)](_0x1a013f,_0x36452d(0x1dc))&&(_0x1fa2b1[_0x36452d(0x1f9)](_0x36452d(0x1dc),_0x3b4fb4,_0x1a013f),_0x5178b8=!0x0),!_0x1a013f[_0x36452d(0x1f3)](_0x36452d(0x1e1))&&_0x259b94[_0x36452d(0x216)][_0x36452d(0x1ed)](_0x1a013f,_0x36452d(0x1e1))&&(_0x1fa2b1[_0x36452d(0x1f9)](_0x36452d(0x1e1),_0x24cfa2,_0x1a013f),_0x5178b8=!0x0));}return _0x5178b8&&_0x595a52[_0x36452d(0x217)](_0x1fa2b1),_0x5178b8;});}[_0x42b3f9(0x215)](){const _0x4960f6=_0x42b3f9,{editor:_0x5bb63c}=this;_0x5bb63c[_0x4960f6(0x1f4)][_0x4960f6(0x1f7)](_0x275238)[_0x4960f6(0x21d)](_0x1652fd=>this[_0x4960f6(0x1f6)](_0x1652fd));}[_0x42b3f9(0x1ff)](){const _0x439d18=_0x42b3f9;return this[_0x439d18(0x1ce)][_0x439d18(0x1be)][_0x439d18(0x1f7)](_0x439d18(0x214));}[_0x42b3f9(0x1f5)](){const _0x3fbfba=_0x42b3f9;return this[_0x3fbfba(0x1ce)][_0x3fbfba(0x1be)][_0x3fbfba(0x1f7)](_0x3fbfba(0x1e7));}[_0x42b3f9(0x1f6)]({container:_0x55f6bb,value:_0x15b078,digits:_0x4ba9b0}){const _0x16afb4=_0x42b3f9,_0xda028a=_0x55f6bb[_0x16afb4(0x20b)](_0x16afb4(0x1e1)),_0xc3b3d7=_0x55f6bb[_0x16afb4(0x20b)](_0x16afb4(0x1dc)),_0x17ad39=Math[_0x16afb4(0x21b)](_0x15b078)+(_0xc3b3d7??0x1)-0x1;switch(_0xda028a){case _0x16afb4(0x203):return function(_0x3d2f9c,_0x311b0c){const _0x4a3d32=_0x16afb4;return String(_0x3d2f9c)[_0x4a3d32(0x1d5)](_0x311b0c,'0');}(_0x17ad39,Math[_0x16afb4(0x1ec)](0x2,_0x4ba9b0));case _0x16afb4(0x205):case _0x16afb4(0x1d6):return N(_0x17ad39,!0x1);case _0x16afb4(0x20c):case _0x16afb4(0x1fd):return N(_0x17ad39,!0x0);case _0x16afb4(0x1cf):return X(_0x17ad39,!0x1);case _0x16afb4(0x20f):return X(_0x17ad39,!0x0);default:return String(_0x17ad39);}}}function M(_0x47dc47,_0x5adb4c){const _0x33ea92=_0x42b3f9,_0x3d564b=_0x5adb4c[_0x33ea92(0x21e)](_0x47dc47);return Array[_0x33ea92(0x1c1)](_0x3d564b[_0x33ea92(0x1dd)]())[_0x33ea92(0x220)](_0x5204a4=>_0x5204a4['is'](_0x33ea92(0x1ea),'ol')&&_0x5204a4[_0x33ea92(0x21a)](_0x33ea92(0x211)));}function N(_0x5bab63,_0x19c231){const _0x2e3076=_0x42b3f9;let _0x48f7b7='',_0x58480d=_0x5bab63;for(;_0x58480d>0x0;){const _0x222403=(_0x58480d-0x1)%0x1a;_0x48f7b7=String[_0x2e3076(0x1eb)](0x61+_0x222403)+_0x48f7b7,_0x58480d=Math[_0x2e3076(0x21b)]((_0x58480d-0x1)/0x1a);}return _0x19c231?_0x48f7b7[_0x2e3076(0x1c4)]():_0x48f7b7;}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(_0x25b522,_0x406b71){const _0x1c3c2d=_0x42b3f9;let _0x4beea3='',_0x4a1f3d=_0x25b522;for(const {value:_0x3407a0,numeral:_0x47a175}of V)for(;_0x4a1f3d>=_0x3407a0;)_0x4beea3+=_0x47a175,_0x4a1f3d-=_0x3407a0;return _0x406b71?_0x4beea3:_0x4beea3[_0x1c3c2d(0x1cc)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x4bb4af,ButtonView as _0x27554e,ContextualBalloon as _0x5d6f00,createDropdown as _0x5ca456}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x189b09}from'ckeditor5/src/widget.js';import{Plugin as _0x1aed9b}from'ckeditor5/src/core.js';import{IconFootnote as _0x48ad86,IconListStyleDecimal as _0x1c908d,IconListStyleDecimalLeadingZero as _0x12ae55,IconListStyleLowerLatin as _0x18a3c6,IconListStyleLowerRoman as _0x1fb642,IconListStyleUpperLatin as _0x58e29a,IconListStyleUpperRoman as _0xd11724}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0xda012c}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x79eaf7}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1aed9b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5d6f00,_0x189b09];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x49078d}=this,{componentFactory:_0x32966d}=_0x49078d['ui'];_0x49078d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x32966d['add']('footnotesStyle',function(_0x4cac0b){return _0x3539a9=>{const {t:t}=_0x3539a9,_0xc17403=_0x4cac0b['commands']['get']('footnotesStyle'),_0x5b7f66=_0x5ca456(_0x3539a9),{buttonView:_0xf35d7e}=_0x5b7f66;return _0x5b7f66['class']='ck-footnotes-styles-dropdown',_0x5b7f66['bind']('isEnabled')['to'](_0xc17403,'isEnabled'),_0xf35d7e['set']({'label':t('Footnotes\x20style'),'icon':_0x48ad86,'tooltip':!0x0}),_0x5b7f66['once']('change:isOpen',()=>{const _0x26ddb4=function({editor:_0x214783,dropdownView:_0x1a09f1}){const {t:t}=_0x214783['locale'],_0x8997c=t('Footnotes\x20definitions\x20styles'),_0x3c5cc2=function(_0x57e602){const t=_0x57e602['locale']['t'],_0x375e0f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1c908d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x12ae55},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1fb642},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xd11724},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x18a3c6},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x58e29a}];return _0x375e0f['map'](function(_0x46c306){const _0x1b4873=_0x46c306['locale'];return({label:_0x57ed2c,icon:_0x3adced,tooltip:_0x170a34,style:_0x41d330})=>{const _0x1ea1ef=_0x46c306['commands']['get']('footnotesStyle'),_0x5b113a=new _0x27554e(_0x1b4873);return _0x5b113a['set']({'label':_0x57ed2c,'icon':_0x3adced,'tooltip':_0x170a34}),_0x5b113a['bind']('isOn')['to'](_0x1ea1ef,'value',_0x90bcd0=>_0x90bcd0===_0x41d330),_0x5b113a['bind']('isEnabled')['to'](_0x1ea1ef,'isEnabled'),_0x5b113a['on']('execute',()=>{_0x46c306['execute']('footnotesStyle',{'value':_0x41d330}),_0x46c306['editing']['view']['focus']();}),_0x5b113a;};}(_0x57e602));}(_0x214783),_0x2109b9=new _0xda012c(_0x214783['locale'],{'styleGridAriaLabel':_0x8997c,'styleButtonViews':_0x3c5cc2});return _0x2109b9['delegate']('execute')['to'](_0x1a09f1),_0x2109b9['on']('footnotesListStart',(_0x357a37,_0x180910)=>{_0x214783['execute']('footnotesStart',{'value':_0x180910['startIndex']});}),_0x2109b9;}({'editor':_0x4cac0b,'dropdownView':_0x5b7f66});_0x5b7f66['panelView']['children']['add'](_0x26ddb4);}),_0x5b7f66;};}(_0x49078d));}['afterInit'](){const {editor:_0x25d3a5}=this,{t:t}=_0x25d3a5['locale'],_0x36ee29=_0x25d3a5['plugins']['get'](_0x189b09),{defaultPositions:_0x540448}=_0x4bb4af;_0x36ee29['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x25d3a5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4ccdb1=>{let _0x26d275=_0x4ccdb1['getFirstPosition']()?.['parent'];return _0x26d275?.['is']('$text')&&(_0x26d275=_0x26d275['parent']),_0x26d275?.['is']('element')?_0x26d275['findAncestor'](_0x79eaf7):null;},'positions':[_0x540448['southArrowNorth'],_0x540448['southArrowNorthMiddleWest'],_0x540448['southArrowNorthMiddleEast'],_0x540448['southArrowNorthWest'],_0x540448['southArrowNorthEast'],_0x540448['northArrowSouth'],_0x540448['northArrowSouthMiddleWest'],_0x540448['northArrowSouthMiddleEast'],_0x540448['northArrowSouthWest'],_0x540448['northArrowSouthEast'],_0x540448['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2f2992,View as _0x37e736,ViewCollection as _0x139918,FocusCycler as _0x2a3cb0,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 _0x37e736{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x139918();['focusCycler'];constructor(_0x3552c3,{styleButtonViews:_0x361379,styleGridAriaLabel:_0x2f8882}){super(_0x3552c3),(this['focusCycler']=new _0x2a3cb0({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x361379,_0x2f8882),[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 _0x1e9214 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1e9214['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 _0x1238e0=_0x330ee6=>_0x330ee6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1238e0),this['keystrokes']['set']('arrowleft',_0x1238e0),this['keystrokes']['set']('arrowup',_0x1238e0),this['keystrokes']['set']('arrowdown',_0x1238e0);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xb66349,_0x10ef61){const _0xc8177f=new _0x37e736(this['locale']);return _0xc8177f['children']=_0xc8177f['createCollection'](),_0xc8177f['children']['addMany'](_0xb66349),_0xc8177f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x10ef61,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xc8177f['children']}),_0xc8177f['children']['delegate']('execute')['to'](this),_0xc8177f['focus']=function(){for(const _0x562db1 of this['children'])if(_0x562db1 instanceof _0x2f2992&&_0x562db1['isOn'])return void _0x562db1['focus']();this['children']['first']['focus']();},_0xc8177f['focusTracker']=new ot(),_0xc8177f['keystrokes']=new rt(),_0xc8177f['render'](),_0xc8177f['keystrokes']['listenTo'](_0xc8177f['element']),this['children']['add'](_0xc8177f),_0xc8177f;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x60f43f=this['_createStartIndexPropertyView'](),_0x15ee05=[_0x60f43f],_0x7353b=new st(this['locale'],_0x15ee05);return _0x7353b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x7353b['buttonView']['bind']('isEnabled')['toMany'](_0x15ee05,'isEnabled',(..._0x18db98)=>_0x18db98['some'](_0x1b6d48=>_0x1b6d48)),_0x7353b['buttonView']['on']('change:isEnabled',(_0x24c235,_0xdc2b14,_0x811816)=>{_0x811816||(_0x7353b['isCollapsed']=!0x0);}),this['children']['add'](_0x7353b),[_0x60f43f,_0x7353b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2fdcdb=new it(this['locale'],et);return _0x2fdcdb['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2fdcdb['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2fdcdb['fieldView']['on']('input',()=>{const _0x21837c=_0x2fdcdb['fieldView']['element'],_0x2382ae=_0x21837c['valueAsNumber'];Number['isNaN'](_0x2382ae)?_0x2fdcdb['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x21837c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2382ae}):_0x2fdcdb['errorText']=t(_0x2382ae<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2fdcdb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x35c6e5=_0x4b75;(function(_0x57f960,_0x2dad5c){var _0x1e04d6=_0x4b75,_0x19c9fe=_0x57f960();while(!![]){try{var _0x2f1c26=-parseInt(_0x1e04d6(0xb2))/0x1+parseInt(_0x1e04d6(0xab))/0x2+-parseInt(_0x1e04d6(0xac))/0x3*(-parseInt(_0x1e04d6(0xb4))/0x4)+parseInt(_0x1e04d6(0xb1))/0x5*(parseInt(_0x1e04d6(0xb0))/0x6)+-parseInt(_0x1e04d6(0xb7))/0x7+parseInt(_0x1e04d6(0xae))/0x8*(parseInt(_0x1e04d6(0xb5))/0x9)+-parseInt(_0x1e04d6(0xaa))/0xa;if(_0x2f1c26===_0x2dad5c)break;else _0x19c9fe['push'](_0x19c9fe['shift']());}catch(_0x33a6f1){_0x19c9fe['push'](_0x19c9fe['shift']());}}}(_0x7780,0xacbc2));function _0x7780(){var _0x22a792=['isOfficialPlugin','9196HcWEAv','8100sHBGbM','requires','5320574PKtzRJ','isPremiumPlugin','8453540irlsmC','2438824gIATJZ','615ojFzIg','pluginName','10288yHoUBN','FootnotesProperties','181788AlTqbZ','25OScTtp','686639rkmQDx'];_0x7780=function(){return _0x22a792;};return _0x7780();}import{Plugin as _0x41c738}from'ckeditor5/src/core.js';function _0x4b75(_0x2bf4f7,_0x3a839c){var _0x778061=_0x7780();return _0x4b75=function(_0x4b756f,_0x3931f3){_0x4b756f=_0x4b756f-0xaa;var _0x2faa44=_0x778061[_0x4b756f];return _0x2faa44;},_0x4b75(_0x2bf4f7,_0x3a839c);}import{FootnotesPropertiesEditing as _0x8acdfb}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x1a7d93}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x41c738{static get[_0x35c6e5(0xad)](){var _0x3df1bc=_0x35c6e5;return _0x3df1bc(0xaf);}static get[_0x35c6e5(0xb6)](){return[_0x8acdfb,_0x1a7d93];}static get[_0x35c6e5(0xb3)](){return!0x0;}static get[_0x35c6e5(0xb8)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d1882=_0x14de;(function(_0x3d2919,_0x125f8e){const _0x5abd9a=_0x14de,_0x47ab1c=_0x3d2919();while(!![]){try{const _0x522a80=parseInt(_0x5abd9a(0x191))/0x1*(parseInt(_0x5abd9a(0x183))/0x2)+-parseInt(_0x5abd9a(0x1c3))/0x3+parseInt(_0x5abd9a(0x19b))/0x4*(-parseInt(_0x5abd9a(0x182))/0x5)+parseInt(_0x5abd9a(0x1c4))/0x6*(-parseInt(_0x5abd9a(0x1b1))/0x7)+parseInt(_0x5abd9a(0x1bc))/0x8+-parseInt(_0x5abd9a(0x1d1))/0x9*(-parseInt(_0x5abd9a(0x1a5))/0xa)+-parseInt(_0x5abd9a(0x1a0))/0xb;if(_0x522a80===_0x125f8e)break;else _0x47ab1c['push'](_0x47ab1c['shift']());}catch(_0x3441c2){_0x47ab1c['push'](_0x47ab1c['shift']());}}}(_0x3867,0x6e867));function _0x14de(_0x157473,_0x43564c){const _0x3867fc=_0x3867();return _0x14de=function(_0x14de21,_0x5b4697){_0x14de21=_0x14de21-0x16f;let _0x19c831=_0x3867fc[_0x14de21];return _0x19c831;},_0x14de(_0x157473,_0x43564c);}import{Plugin as _0x4d0ddb}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1d5a0b}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4d0ddb{[_0x3d1882(0x195)]=[];[_0x3d1882(0x170)]=null;[_0x3d1882(0x180)]=null;[_0x3d1882(0x176)];[_0x3d1882(0x185)];[_0x3d1882(0x1a4)];static get[_0x3d1882(0x188)](){const _0x5474ef=_0x3d1882;return _0x5474ef(0x186);}static get[_0x3d1882(0x193)](){return!0x0;}static get[_0x3d1882(0x1cf)](){return!0x0;}constructor(_0x122781){const _0x2cb3ff=_0x3d1882;super(_0x122781),this[_0x2cb3ff(0x176)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1a7),'getElementKey':()=>_0x2cb3ff(0x179)}),this[_0x2cb3ff(0x185)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1c5),'getElementKey':_0x1af50d=>_0x1af50d[_0x2cb3ff(0x172)](_0x2cb3ff(0x1c9))}),this[_0x2cb3ff(0x1a4)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1bf),'getElementKey':_0x138845=>_0x138845[_0x2cb3ff(0x172)](_0x2cb3ff(0x1c9))});}[_0x3d1882(0x1b3)](){const _0x56f880=_0x3d1882,{editor:_0x13252a}=this,{model:_0xce54c2,data:_0x77bd8}=_0x13252a;_0xce54c2[_0x56f880(0x194)][_0x56f880(0x17e)](_0xbdb0ca=>{const _0x72c82e=_0x56f880,_0x5d1cbe=_0xce54c2[_0x72c82e(0x194)][_0x72c82e(0x181)][_0x72c82e(0x1a6)]();let _0x5800ad=!0x1;return this[_0x72c82e(0x1ad)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x184)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x18a)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x1c6)](_0xbdb0ca)&&(_0x5800ad=!0x0),this[_0x72c82e(0x18d)](_0xbdb0ca)&&(_0x5800ad=!0x0),this[_0x72c82e(0x171)](_0xbdb0ca)&&(_0x5800ad=!0x0),_0x5800ad;}),this[_0x56f880(0x1aa)](_0xce54c2[_0x56f880(0x194)],_0x56f880(0x175),()=>{const _0x7adcca=_0x56f880;_0xce54c2[_0x7adcca(0x19f)]({'isUndoable':!0x1},_0xb06617=>{const _0x22dac0=_0x7adcca;this[_0x22dac0(0x1d4)](_0xb06617);});},{'priority':_0x56f880(0x19c)}),this[_0x56f880(0x1aa)](_0x77bd8,_0x56f880(0x197),()=>{const _0x53a3da=_0x56f880;this[_0x53a3da(0x195)]=[],this[_0x53a3da(0x176)][_0x53a3da(0x177)](),this[_0x53a3da(0x185)][_0x53a3da(0x177)](),this[_0x53a3da(0x1a4)][_0x53a3da(0x177)]();},{'priority':_0x56f880(0x1a9)});}[_0x3d1882(0x1a1)](){const _0xd3df8c=_0x3d1882;return this[_0xd3df8c(0x170)];}[_0x3d1882(0x199)](_0x337df0){const _0x52b150=_0x3d1882;return this[_0x52b150(0x195)][_0x52b150(0x1c7)](_0x597ff2=>_0x597ff2['id']===_0x337df0)||null;}[_0x3d1882(0x1ca)](){const _0x44aa20=_0x3d1882;return Array[_0x44aa20(0x1b0)](this[_0x44aa20(0x195)]);}[_0x3d1882(0x173)](){const _0xd6832d=_0x3d1882;return this[_0xd6832d(0x180)];}[_0x3d1882(0x198)](_0x54c6be){const _0x522f4a=_0x3d1882;this[_0x522f4a(0x180)]=_0x54c6be;}[_0x3d1882(0x196)](_0x3c207a,_0xe7a39e=0x0){const _0x3e65d1=_0x3d1882;let _0x58a086=!0x1;for(let _0x2c1c25=_0xe7a39e;_0x2c1c25<this[_0x3e65d1(0x195)][_0x3e65d1(0x1c0)];_0x2c1c25++)this[_0x3e65d1(0x17d)](_0x3c207a,_0x2c1c25)&&(_0x58a086=!0x0);return _0x58a086;}[_0x3d1882(0x1cc)](_0x37afa6,_0x27e559){const _0x358d30=_0x3d1882,_0x2ddd36=_0x37afa6[_0x358d30(0x189)](_0x358d30(0x1a7),{});return _0x37afa6[_0x358d30(0x18b)](_0x2ddd36,_0x27e559),this[_0x358d30(0x170)]=_0x2ddd36,_0x2ddd36;}[_0x3d1882(0x1d4)](_0x231412){const _0x28b2b8=_0x3d1882;if(!this[_0x28b2b8(0x195)][_0x28b2b8(0x1c0)]||this[_0x28b2b8(0x170)])return;const _0xe94eb9=this[_0x28b2b8(0x195)][0x0][_0x28b2b8(0x17b)][_0x28b2b8(0x17a)],_0x1279b9=this[_0x28b2b8(0x1cc)](_0x231412,_0xe94eb9);for(const _0x2f69a1 of this[_0x28b2b8(0x195)])_0x2f69a1[_0x28b2b8(0x1b9)][_0x28b2b8(0x18f)]||_0x231412[_0x28b2b8(0x1cb)](_0x2f69a1[_0x28b2b8(0x1b9)],_0x1279b9,_0x28b2b8(0x18c));this[_0x28b2b8(0x196)](_0x231412);}[_0x3d1882(0x1ad)](_0x39631a,_0x75e50f){const _0x549dfc=_0x3d1882;let _0x1d42d6=!0x1;const {inserted:_0x1c6209,removed:_0x5cc781,moved:_0x599c10}=this[_0x549dfc(0x176)][_0x549dfc(0x1a6)](_0x75e50f);if(_0x599c10[_0x549dfc(0x1c0)]&&(this[_0x549dfc(0x170)]=_0x599c10[0x0]),_0x1c6209[_0x549dfc(0x1c0)]){if(_0x1c6209[_0x549dfc(0x1c0)]>0x1||this[_0x549dfc(0x170)]&&_0x1c6209[_0x549dfc(0x1a2)](_0x174c31=>_0x174c31!==this[_0x549dfc(0x170)])){const _0x19beb5=_0x39631a[_0x549dfc(0x189)](_0x549dfc(0x1a7),{}),_0x505f1a=[];this[_0x549dfc(0x170)]&&_0x505f1a[_0x549dfc(0x1ab)](this[_0x549dfc(0x170)]),_0x505f1a[_0x549dfc(0x1ab)](..._0x1c6209),_0x39631a[_0x549dfc(0x1cb)](_0x19beb5,_0x505f1a[0x0],_0x549dfc(0x16f));for(const _0x2a50ee of _0x505f1a)_0x39631a[_0x549dfc(0x1b5)](_0x39631a[_0x549dfc(0x1af)](_0x2a50ee),_0x39631a[_0x549dfc(0x19e)](_0x19beb5,_0x549dfc(0x18c))),_0x39631a[_0x549dfc(0x1ae)](_0x2a50ee);this[_0x549dfc(0x170)]=_0x19beb5,this[_0x549dfc(0x196)](_0x39631a),_0x1d42d6=!0x0;}else this[_0x549dfc(0x170)]=_0x1c6209[0x0];}if(_0x5cc781[_0x549dfc(0x1c0)]&&_0x549dfc(0x1ac)===this[_0x549dfc(0x170)]?.[_0x549dfc(0x17a)][_0x549dfc(0x1b2)]){for(const _0x212955 of this[_0x549dfc(0x195)])_0x39631a[_0x549dfc(0x1ae)](_0x212955[_0x549dfc(0x17b)]),_0x1d42d6=!0x0;this[_0x549dfc(0x195)]=[],this[_0x549dfc(0x170)]=null;}return _0x1d42d6;}[_0x3d1882(0x184)](_0x3fd99d,_0xcc8148){const _0x408386=_0x3d1882;let _0x2b4042=!0x1;const _0xac5e09=this[_0x408386(0x1c8)][_0x408386(0x19a)][_0x408386(0x1c1)](_0x408386(0x1ce)),{inserted:_0x25d1a8,moved:_0x2f471e}=this[_0x408386(0x1a4)][_0x408386(0x1a6)](_0xcc8148);for(const _0x4afa01 of[..._0x2f471e,..._0x25d1a8]){const _0x392faa=_0x4afa01[_0x408386(0x172)](_0x408386(0x1c9)),_0x1fd172=this[_0x408386(0x199)](_0x392faa);_0x1fd172&&(_0x1fd172[_0x408386(0x1b9)]=_0x4afa01),_(_0x3fd99d,_0xac5e09,_0x4afa01)&&(_0x2b4042=!0x0);}return _0x2b4042;}[_0x3d1882(0x18a)](_0x14c8a1,_0x1602f6){const _0x36c2f9=_0x3d1882;let _0x25ef6a=!0x1;const {removed:_0x1f2f48,inserted:_0xbb15ca,moved:_0x51d16a}=this[_0x36c2f9(0x185)][_0x36c2f9(0x1a6)](_0x1602f6);for(const _0x3e9177 of _0x1f2f48)this[_0x36c2f9(0x1d2)](_0x14c8a1,_0x3e9177)&&(_0x25ef6a=!0x0);for(const _0x2feac1 of _0xbb15ca)this[_0x36c2f9(0x1a8)](_0x14c8a1,_0x2feac1)&&(_0x25ef6a=!0x0);for(const _0x51964f of _0x51d16a)this[_0x36c2f9(0x19d)](_0x14c8a1,_0x51964f)&&(_0x25ef6a=!0x0);return _0x25ef6a;}[_0x3d1882(0x18d)](_0x4cfbb5){const _0x196814=_0x3d1882;if(!this[_0x196814(0x170)])return!0x1;let _0x497948=!0x1;if(this[_0x196814(0x170)][_0x196814(0x192)]!==this[_0x196814(0x195)][_0x196814(0x1c0)]){const _0x2eacd7=[];for(const _0x1f3ac0 of this[_0x196814(0x170)][_0x196814(0x1d0)]()){const _0x41c8ca=_0x1f3ac0[_0x196814(0x172)](_0x196814(0x1c9));this[_0x196814(0x199)](_0x41c8ca)||(_0x2eacd7[_0x196814(0x1cd)](_0x1f3ac0),_0x497948=!0x0);}for(const _0x4bc675 of _0x2eacd7)_0x4cfbb5[_0x196814(0x1ae)](_0x4bc675);}const _0x17dcab=new Set(),_0x4e8b97=[];for(const _0x107826 of this[_0x196814(0x170)][_0x196814(0x1d0)]()){const _0x2b74b5=_0x107826[_0x196814(0x172)](_0x196814(0x1c9));_0x17dcab[_0x196814(0x1ba)](_0x2b74b5)?(_0x4e8b97[_0x196814(0x1cd)](_0x107826),_0x497948=!0x0):_0x17dcab[_0x196814(0x1b7)](_0x2b74b5);}for(const _0x4b0079 of _0x4e8b97)_0x4cfbb5[_0x196814(0x1ae)](_0x4b0079);return this[_0x196814(0x170)][_0x196814(0x192)]||(_0x4cfbb5[_0x196814(0x1ae)](this[_0x196814(0x170)]),this[_0x196814(0x170)]=null,_0x497948=!0x0),_0x497948;}[_0x3d1882(0x1a8)](_0x3f64f7,_0x1c2929){const _0x21bd92=_0x3d1882;if(this[_0x21bd92(0x195)][_0x21bd92(0x1c7)](_0x295650=>_0x295650[_0x21bd92(0x17b)]===_0x1c2929))return!0x1;let _0x4f71fc=!0x1;const _0x316a37=_0x1c2929[_0x21bd92(0x172)](_0x21bd92(0x1c9)),_0x489621=this[_0x21bd92(0x195)][_0x21bd92(0x1bb)](_0x4e94d5=>_0x4e94d5['id']===_0x316a37);-0x1!==_0x489621&&(_0x3f64f7[_0x21bd92(0x1ae)](this[_0x21bd92(0x195)][_0x489621][_0x21bd92(0x17b)]),this[_0x21bd92(0x195)][_0x21bd92(0x1a3)](_0x489621,0x1),_0x4f71fc=!0x0);let _0x33590e=this[_0x21bd92(0x170)]?function(_0x322677,_0x2ad13f){const _0x6b2ef4=_0x21bd92;for(const _0x27ee3a of _0x322677[_0x6b2ef4(0x1d0)]())if(_0x27ee3a[_0x6b2ef4(0x172)](_0x6b2ef4(0x1c9))===_0x2ad13f)return _0x27ee3a;return null;}(this[_0x21bd92(0x170)],_0x316a37):null;_0x33590e||(_0x33590e=_0x3f64f7[_0x21bd92(0x189)](_0x21bd92(0x1bf),{'footnoteId':_0x316a37}),this[_0x21bd92(0x170)]&&(_0x3f64f7[_0x21bd92(0x1cb)](_0x33590e,this[_0x21bd92(0x170)],_0x21bd92(0x18c)),_0x4f71fc=!0x0));const _0x41c2f5={'id':_0x316a37,'reference':_0x1c2929,'definition':_0x33590e},_0x27c173=I(this[_0x21bd92(0x1c8)][_0x21bd92(0x178)],this[_0x21bd92(0x195)],_0x1c2929);this[_0x21bd92(0x195)][_0x21bd92(0x1a3)](_0x27c173,0x0,_0x41c2f5);let _0x280b8a=_0x27c173;return-0x1!==_0x489621&&(_0x280b8a=Math[_0x21bd92(0x1b8)](_0x27c173,_0x489621)),this[_0x21bd92(0x196)](_0x3f64f7,_0x280b8a)&&(_0x4f71fc=!0x0),_0x4f71fc;}[_0x3d1882(0x1d2)](_0x49b2df,_0x44b5f6){const _0x1a0726=_0x3d1882,_0x17212d=this[_0x1a0726(0x195)][_0x1a0726(0x1bb)](_0x5e7956=>_0x5e7956['id']===_0x44b5f6);if(-0x1===_0x17212d)return!0x1;let _0x58546b=!0x1;const _0x1e240a=this[_0x1a0726(0x195)][_0x17212d];return _0x1a0726(0x1ac)!==_0x1e240a[_0x1a0726(0x1b9)][_0x1a0726(0x17a)][_0x1a0726(0x1b2)]&&(_0x49b2df[_0x1a0726(0x1ae)](_0x1e240a[_0x1a0726(0x1b9)]),_0x58546b=!0x0),this[_0x1a0726(0x195)][_0x1a0726(0x1a3)](_0x17212d,0x1),this[_0x1a0726(0x196)](_0x49b2df,_0x17212d)&&(_0x58546b=!0x0),_0x58546b;}[_0x3d1882(0x19d)](_0x11c2e7,_0x33a5ca){const _0x23f6d1=_0x3d1882,_0x3b8fa4=_0x33a5ca[_0x23f6d1(0x172)](_0x23f6d1(0x1c9)),_0x5809c5=this[_0x23f6d1(0x195)][_0x23f6d1(0x1bb)](_0x164b22=>_0x164b22['id']===_0x3b8fa4),_0x238486=this[_0x23f6d1(0x195)][_0x5809c5];let _0xa89a03=!0x1;_0x238486[_0x23f6d1(0x17b)]=_0x33a5ca,this[_0x23f6d1(0x195)][_0x23f6d1(0x1a3)](_0x5809c5,0x1);const _0x1516bc=I(this[_0x23f6d1(0x1c8)][_0x23f6d1(0x178)],this[_0x23f6d1(0x195)],_0x33a5ca);return this[_0x23f6d1(0x195)][_0x23f6d1(0x1a3)](_0x1516bc,0x0,_0x238486),this[_0x23f6d1(0x196)](_0x11c2e7,Math[_0x23f6d1(0x1b8)](_0x5809c5,_0x1516bc))&&(_0xa89a03=!0x0),_0xa89a03;}[_0x3d1882(0x17d)](_0x2c2d44,_0x448330){const _0x1b7278=_0x3d1882;if(!this[_0x1b7278(0x170)])return!0x1;const _0x15e2e7=this[_0x1b7278(0x195)][_0x448330];let _0x46afd4;return _0x46afd4=this[_0x1b7278(0x180)]?this[_0x1b7278(0x180)]({'footnote':_0x15e2e7,'container':this[_0x1b7278(0x170)],'digits':String(this[_0x1b7278(0x195)][_0x1b7278(0x1c0)])[_0x1b7278(0x1c0)],'value':_0x448330+0x1}):String(_0x448330+0x1),_0x15e2e7[_0x1b7278(0x17b)][_0x1b7278(0x172)](_0x1b7278(0x1b4))!=_0x46afd4&&(_0x2c2d44[_0x1b7278(0x17f)](_0x1b7278(0x1b4),_0x46afd4,_0x15e2e7[_0x1b7278(0x17b)]),!0x0);}[_0x3d1882(0x171)](_0x224161){const _0x292604=_0x3d1882;if(!this[_0x292604(0x170)]||this[_0x292604(0x195)][_0x292604(0x1c0)]<0x2)return!0x1;if(function(_0x9f73e7,_0x1f2260){const _0x24ab9b=_0x292604;if(_0x9f73e7[_0x24ab9b(0x1c0)]!==_0x1f2260[_0x24ab9b(0x1c0)])return!0x1;for(let _0x50021e=0x0;_0x50021e<_0x9f73e7[_0x24ab9b(0x1c0)];_0x50021e++)if(_0x9f73e7[_0x50021e]!==_0x1f2260[_0x50021e])return!0x1;return!0x0;}(this[_0x292604(0x195)][_0x292604(0x1bd)](_0x41411a=>_0x41411a['id']),Array[_0x292604(0x1b0)](this[_0x292604(0x170)][_0x292604(0x1d0)]())[_0x292604(0x1bd)](_0x1542d8=>_0x1542d8[_0x292604(0x172)](_0x292604(0x1c9)))))return!0x1;let _0x25889e=!0x1;for(let _0x43ed6d=0x0;_0x43ed6d<this[_0x292604(0x195)][_0x292604(0x1c0)];_0x43ed6d++){const _0x3db6a5=this[_0x292604(0x195)][_0x43ed6d],_0x1b9768=_0x224161[_0x292604(0x1b6)](_0x3db6a5[_0x292604(0x1b9)]),_0x20a42=_0x224161[_0x292604(0x19e)](this[_0x292604(0x170)],_0x43ed6d);_0x1b9768[_0x292604(0x18e)](_0x20a42)||(_0x224161[_0x292604(0x1b5)](_0x224161[_0x292604(0x187)](_0x3db6a5[_0x292604(0x1b9)]),_0x20a42),_0x25889e=!0x0);}return _0x25889e;}[_0x3d1882(0x1c6)](_0xc4c17e){const _0x477adf=_0x3d1882;if(!this[_0x477adf(0x195)][_0x477adf(0x1c0)])return!0x1;const {model:_0x23fdd0}=this[_0x477adf(0x1c8)];let _0x58aa43=!0x1;for(let _0x2e2d4a=0x0;_0x2e2d4a<this[_0x477adf(0x195)][_0x477adf(0x1c0)]-0x1;_0x2e2d4a++){const _0x2d9eea=this[_0x477adf(0x195)][_0x2e2d4a],_0x3d431b=this[_0x477adf(0x195)][_0x2e2d4a+0x1],_0x304aed=_0x23fdd0[_0x477adf(0x1b6)](_0x2d9eea[_0x477adf(0x17b)]),_0x2fe170=_0x23fdd0[_0x477adf(0x1b6)](_0x3d431b[_0x477adf(0x17b)]);_0x477adf(0x1c2)===_0x304aed[_0x477adf(0x174)](_0x2fe170)&&(this[_0x477adf(0x19d)](_0xc4c17e,_0x2d9eea[_0x477adf(0x17b)]),_0x2e2d4a=-0x1,_0x58aa43=!0x0);}return _0x58aa43;}}function _(_0x34e5ca,_0x37f76e,_0x193634){const _0x4339c9=_0x3d1882;if(_0x193634[_0x4339c9(0x192)])return!0x1;const _0x4ecea7=_0x37f76e?_0x4339c9(0x1d3):_0x4339c9(0x1be);return _0x34e5ca[_0x4339c9(0x1cb)](_0x34e5ca[_0x4339c9(0x189)](_0x4ecea7),_0x193634),!0x0;}function I(_0x5c417c,_0x15c7c1,_0x29513a){const _0xab981a=_0x3d1882;if(0x0===_0x15c7c1[_0xab981a(0x1c0)])return 0x0;const _0x1e5596=_0x5c417c[_0xab981a(0x1b6)](_0x29513a);for(let _0x26f47c=0x0;_0x26f47c<_0x15c7c1[_0xab981a(0x1c0)];_0x26f47c++){const _0x4e421c=_0x15c7c1[_0x26f47c],_0x3c10f8=_0x5c417c[_0xab981a(0x1b6)](_0x4e421c[_0xab981a(0x17b)]);if(_0xab981a(0x16f)===_0x1e5596[_0xab981a(0x174)](_0x3c10f8))return _0x26f47c;}const _0x42aac1=_0x29513a[_0xab981a(0x17a)];let _0x36b229=-0x1;for(let _0x269be7=_0x15c7c1[_0xab981a(0x1c0)]-0x1;_0x269be7>=0x0;_0x269be7--)if(_0x15c7c1[_0x269be7][_0xab981a(0x17b)][_0xab981a(0x17a)]===_0x42aac1){_0x36b229=_0x269be7;break;}if(-0x1!==_0x36b229)return _0x36b229+0x1;const _0x42bb8c=_0x5c417c[_0xab981a(0x194)][_0xab981a(0x17c)](),_0x1bcee3=_0x42bb8c[_0xab981a(0x190)](_0x42aac1[_0xab981a(0x1b2)]),_0x304e52=_0x42bb8c[_0x1bcee3+0x1];if(_0x304e52){for(let _0x1cb34e=0x0;_0x1cb34e<_0x15c7c1[_0xab981a(0x1c0)];_0x1cb34e++)if(_0x15c7c1[_0x1cb34e][_0xab981a(0x17b)][_0xab981a(0x17a)][_0xab981a(0x1b2)]===_0x304e52)return _0x1cb34e;}return _0x15c7c1[_0xab981a(0x1c0)];}function _0x3867(){const _0x4ca3cb=['childCount','isOfficialPlugin','document','_footnotes','_updateFootnotesCounters','set','setFootnoteFormatter','getFootnote','config','6224luknnR','low','_handleMovedFootnoteReference','createPositionAt','enqueueChange','362230ZAXlQE','getFootnotesDefinitionsObjectElement','some','splice','_footnoteDefsTracker','10YcWWqb','getChanges','footnotesDefinitions','_handleInsertedFootnoteReference','high','listenTo','push','$graveyard','_handleFootnotesDefinitionsObjectChanges','remove','createRangeIn','from','260575PkYLUh','rootName','init','footnoteCounter','move','createPositionBefore','add','min','definition','has','findIndex','4596768hAMoZE','map','footnoteInlineContent','footnoteDefinition','length','get','after','919758FLUtpt','36VSqXHt','footnoteRef','_ensureFootnotesReferencesHaveProperOrder','find','editor','footnoteId','getFootnotes','insert','_insertEmptyFootnotesDefinitionsContainer','unshift','footnotes.multiBlock','isPremiumPlugin','getChildren','6145020UpKWZc','_handleRemoveFootnoteReferenceById','paragraph','_ensureFootnotesDefinitionsContainerExists','before','_footnotesDefinitions','_sortFootnoteDefinitions','getAttribute','getFootnotesFormatter','compareWith','change:data','_footnoteDefsContainerTracker','reset','model','singleton','root','reference','getRootNames','_updateFootnoteRefCounter','registerPostFixer','setAttribute','_footnoteFormatter','differ','1200uYHJLr','263282fjWrQB','_handleFootnoteDefinitionsChanges','_footnoteRefsTracker','FootnotesTracker','createRangeOn','pluginName','createElement','_handleFootnoteReferencesChanges','append','end','_handleFootnotesDefinitionsObjectSync','isEqual','parent','indexOf','1kwnpFD'];_0x3867=function(){return _0x4ca3cb;};return _0x3867();}
|
|
23
|
+
function _0x2995(_0x3e0edd,_0x5c3a5d){const _0x588dcf=_0x588d();return _0x2995=function(_0x299566,_0x59100c){_0x299566=_0x299566-0x168;let _0x2bf45c=_0x588dcf[_0x299566];return _0x2bf45c;},_0x2995(_0x3e0edd,_0x5c3a5d);}const _0x58ed39=_0x2995;(function(_0x30875f,_0xaf0472){const _0x431911=_0x2995,_0x27d76d=_0x30875f();while(!![]){try{const _0x1428a8=-parseInt(_0x431911(0x1b4))/0x1*(parseInt(_0x431911(0x1c8))/0x2)+-parseInt(_0x431911(0x1ad))/0x3+-parseInt(_0x431911(0x1c6))/0x4+-parseInt(_0x431911(0x18a))/0x5+parseInt(_0x431911(0x1be))/0x6*(parseInt(_0x431911(0x1b2))/0x7)+parseInt(_0x431911(0x181))/0x8+parseInt(_0x431911(0x1c2))/0x9;if(_0x1428a8===_0xaf0472)break;else _0x27d76d['push'](_0x27d76d['shift']());}catch(_0x15aabd){_0x27d76d['push'](_0x27d76d['shift']());}}}(_0x588d,0xbc8e9));function _0x588d(){const _0x2f313b=['121395nesmpK','_handleRemoveFootnoteReferenceById','set','after','model','231oGUPFv','_handleInsertedFootnoteReference','185775dztzKv','FootnotesTracker','getFootnote','$graveyard','map','_footnotesDefinitions','low','rootName','config','_insertEmptyFootnotesDefinitionsContainer','194262FsFIht','getChildren','find','append','10774314OUaAtW','root','has','getRootNames','3947516BdHYPI','move','2LyeQhO','push','setFootnoteFormatter','change:data','_updateFootnoteRefCounter','footnotes.multiBlock','from','some','isEqual','insert','get','editor','unshift','add','_handleMovedFootnoteReference','createRangeOn','getFootnotesDefinitionsObjectElement','childCount','setAttribute','isPremiumPlugin','definition','_footnoteDefsTracker','createRangeIn','_ensureFootnotesDefinitionsContainerExists','registerPostFixer','document','end','_footnoteDefsContainerTracker','enqueueChange','3439264oYJSEC','createPositionBefore','compareWith','createElement','min','footnoteDefinition','_footnoteFormatter','getFootnotes','isOfficialPlugin','3550235qgyCay','before','high','footnoteInlineContent','reference','paragraph','findIndex','createPositionAt','_handleFootnoteDefinitionsChanges','_handleFootnoteReferencesChanges','reset','splice','_sortFootnoteDefinitions','_handleFootnotesDefinitionsObjectChanges','indexOf','parent','pluginName','getChanges','_footnoteRefsTracker','footnoteId','footnoteRef','footnoteCounter','_ensureFootnotesReferencesHaveProperOrder','_footnotes','listenTo','init','remove','_handleFootnotesDefinitionsObjectSync','footnotesDefinitions','getFootnotesFormatter','_updateFootnotesCounters','getAttribute','differ','length','singleton'];_0x588d=function(){return _0x2f313b;};return _0x588d();}import{Plugin as _0x42e62a}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5e9196}from'./modelelementtracker.js';export class FootnotesTracker extends _0x42e62a{[_0x58ed39(0x1a1)]=[];[_0x58ed39(0x1b9)]=null;[_0x58ed39(0x187)]=null;[_0x58ed39(0x17f)];[_0x58ed39(0x19c)];[_0x58ed39(0x179)];static get[_0x58ed39(0x19a)](){const _0x5a3e46=_0x58ed39;return _0x5a3e46(0x1b5);}static get[_0x58ed39(0x189)](){return!0x0;}static get[_0x58ed39(0x177)](){return!0x0;}constructor(_0x1fb5ee){const _0x5934ed=_0x58ed39;super(_0x1fb5ee),this[_0x5934ed(0x17f)]=new _0x5e9196(this[_0x5934ed(0x16f)][_0x5934ed(0x1b1)],{'elementName':_0x5934ed(0x1a6),'getElementKey':()=>_0x5934ed(0x1ac)}),this[_0x5934ed(0x19c)]=new _0x5e9196(this[_0x5934ed(0x16f)][_0x5934ed(0x1b1)],{'elementName':_0x5934ed(0x19e),'getElementKey':_0x1fbd61=>_0x1fbd61[_0x5934ed(0x1a9)](_0x5934ed(0x19d))}),this[_0x5934ed(0x179)]=new _0x5e9196(this[_0x5934ed(0x16f)][_0x5934ed(0x1b1)],{'elementName':_0x5934ed(0x186),'getElementKey':_0x3b559b=>_0x3b559b[_0x5934ed(0x1a9)](_0x5934ed(0x19d))});}[_0x58ed39(0x1a3)](){const _0x1e53c1=_0x58ed39,{editor:_0xa8c00e}=this,{model:_0xcdfcde,data:_0x14b49a}=_0xa8c00e;_0xcdfcde[_0x1e53c1(0x17d)][_0x1e53c1(0x17c)](_0x298d57=>{const _0x5dc60f=_0x1e53c1,_0x28cd96=_0xcdfcde[_0x5dc60f(0x17d)][_0x5dc60f(0x1aa)][_0x5dc60f(0x19b)]();let _0x155f36=!0x1;return this[_0x5dc60f(0x197)](_0x298d57,_0x28cd96)&&(_0x155f36=!0x0),this[_0x5dc60f(0x192)](_0x298d57,_0x28cd96)&&(_0x155f36=!0x0),this[_0x5dc60f(0x193)](_0x298d57,_0x28cd96)&&(_0x155f36=!0x0),this[_0x5dc60f(0x1a0)](_0x298d57)&&(_0x155f36=!0x0),this[_0x5dc60f(0x1a5)](_0x298d57)&&(_0x155f36=!0x0),this[_0x5dc60f(0x196)](_0x298d57)&&(_0x155f36=!0x0),_0x155f36;}),this[_0x1e53c1(0x1a2)](_0xcdfcde[_0x1e53c1(0x17d)],_0x1e53c1(0x1cb),()=>{const _0x3b1ff6=_0x1e53c1;_0xcdfcde[_0x3b1ff6(0x180)]({'isUndoable':!0x1},_0x444817=>{const _0x414441=_0x3b1ff6;this[_0x414441(0x17b)](_0x444817);});},{'priority':_0x1e53c1(0x1ba)}),this[_0x1e53c1(0x1a2)](_0x14b49a,_0x1e53c1(0x1af),()=>{const _0x20d8f6=_0x1e53c1;this[_0x20d8f6(0x1a1)]=[],this[_0x20d8f6(0x17f)][_0x20d8f6(0x194)](),this[_0x20d8f6(0x19c)][_0x20d8f6(0x194)](),this[_0x20d8f6(0x179)][_0x20d8f6(0x194)]();},{'priority':_0x1e53c1(0x18c)});}[_0x58ed39(0x174)](){const _0x4bcee5=_0x58ed39;return this[_0x4bcee5(0x1b9)];}[_0x58ed39(0x1b6)](_0x3f69ef){const _0x381c67=_0x58ed39;return this[_0x381c67(0x1a1)][_0x381c67(0x1c0)](_0xdf3f6a=>_0xdf3f6a['id']===_0x3f69ef)||null;}[_0x58ed39(0x188)](){const _0x81ce14=_0x58ed39;return Array[_0x81ce14(0x16a)](this[_0x81ce14(0x1a1)]);}[_0x58ed39(0x1a7)](){const _0x2c1d38=_0x58ed39;return this[_0x2c1d38(0x187)];}[_0x58ed39(0x1ca)](_0x4bc44d){const _0x336084=_0x58ed39;this[_0x336084(0x187)]=_0x4bc44d;}[_0x58ed39(0x1a8)](_0x3b76a0,_0x494d21=0x0){const _0x2b975f=_0x58ed39;let _0x8154bc=!0x1;for(let _0x29cd82=_0x494d21;_0x29cd82<this[_0x2b975f(0x1a1)][_0x2b975f(0x1ab)];_0x29cd82++)this[_0x2b975f(0x168)](_0x3b76a0,_0x29cd82)&&(_0x8154bc=!0x0);return _0x8154bc;}[_0x58ed39(0x1bd)](_0x381087,_0x2fec0a){const _0x5d7aa1=_0x58ed39,_0x18d394=_0x381087[_0x5d7aa1(0x184)](_0x5d7aa1(0x1a6),{});return _0x381087[_0x5d7aa1(0x1c1)](_0x18d394,_0x2fec0a),this[_0x5d7aa1(0x1b9)]=_0x18d394,_0x18d394;}[_0x58ed39(0x17b)](_0x17530e){const _0x4b6f34=_0x58ed39;if(!this[_0x4b6f34(0x1a1)][_0x4b6f34(0x1ab)]||this[_0x4b6f34(0x1b9)])return;const _0x40a180=this[_0x4b6f34(0x1a1)][0x0][_0x4b6f34(0x18e)][_0x4b6f34(0x1c3)],_0x416586=this[_0x4b6f34(0x1bd)](_0x17530e,_0x40a180);for(const _0x5e52e3 of this[_0x4b6f34(0x1a1)])_0x5e52e3[_0x4b6f34(0x178)][_0x4b6f34(0x199)]||_0x17530e[_0x4b6f34(0x16d)](_0x5e52e3[_0x4b6f34(0x178)],_0x416586,_0x4b6f34(0x17e));this[_0x4b6f34(0x1a8)](_0x17530e);}[_0x58ed39(0x197)](_0x52624d,_0x34074e){const _0x24561a=_0x58ed39;let _0x203633=!0x1;const {inserted:_0x571b7b,removed:_0x567fe8,moved:_0x1c6253}=this[_0x24561a(0x17f)][_0x24561a(0x19b)](_0x34074e);if(_0x1c6253[_0x24561a(0x1ab)]&&(this[_0x24561a(0x1b9)]=_0x1c6253[0x0]),_0x571b7b[_0x24561a(0x1ab)]){if(_0x571b7b[_0x24561a(0x1ab)]>0x1||this[_0x24561a(0x1b9)]&&_0x571b7b[_0x24561a(0x16b)](_0x3f5b78=>_0x3f5b78!==this[_0x24561a(0x1b9)])){const _0x364aab=_0x52624d[_0x24561a(0x184)](_0x24561a(0x1a6),{}),_0x4eee1f=[];this[_0x24561a(0x1b9)]&&_0x4eee1f[_0x24561a(0x1c9)](this[_0x24561a(0x1b9)]),_0x4eee1f[_0x24561a(0x1c9)](..._0x571b7b),_0x52624d[_0x24561a(0x16d)](_0x364aab,_0x4eee1f[0x0],_0x24561a(0x18b));for(const _0x33841d of _0x4eee1f)_0x52624d[_0x24561a(0x1c7)](_0x52624d[_0x24561a(0x17a)](_0x33841d),_0x52624d[_0x24561a(0x191)](_0x364aab,_0x24561a(0x17e))),_0x52624d[_0x24561a(0x1a4)](_0x33841d);this[_0x24561a(0x1b9)]=_0x364aab,this[_0x24561a(0x1a8)](_0x52624d),_0x203633=!0x0;}else this[_0x24561a(0x1b9)]=_0x571b7b[0x0];}if(_0x567fe8[_0x24561a(0x1ab)]&&_0x24561a(0x1b7)===this[_0x24561a(0x1b9)]?.[_0x24561a(0x1c3)][_0x24561a(0x1bb)]){for(const _0x567ed6 of this[_0x24561a(0x1a1)])_0x52624d[_0x24561a(0x1a4)](_0x567ed6[_0x24561a(0x18e)]),_0x203633=!0x0;this[_0x24561a(0x1a1)]=[],this[_0x24561a(0x1b9)]=null;}return _0x203633;}[_0x58ed39(0x192)](_0x263831,_0x397c37){const _0x1e98d0=_0x58ed39;let _0x3e4f0c=!0x1;const _0x95e3a3=this[_0x1e98d0(0x16f)][_0x1e98d0(0x1bc)][_0x1e98d0(0x16e)](_0x1e98d0(0x169)),{inserted:_0x956b6a,moved:_0x150286}=this[_0x1e98d0(0x179)][_0x1e98d0(0x19b)](_0x397c37);for(const _0x36598a of[..._0x150286,..._0x956b6a]){const _0x3543f1=_0x36598a[_0x1e98d0(0x1a9)](_0x1e98d0(0x19d)),_0x1c9984=this[_0x1e98d0(0x1b6)](_0x3543f1);_0x1c9984&&(_0x1c9984[_0x1e98d0(0x178)]=_0x36598a),_(_0x263831,_0x95e3a3,_0x36598a)&&(_0x3e4f0c=!0x0);}return _0x3e4f0c;}[_0x58ed39(0x193)](_0x58ae87,_0x18c1c7){const _0x4e52e1=_0x58ed39;let _0x34e2d4=!0x1;const {removed:_0x5914a5,inserted:_0x53a836,moved:_0x63a9d8}=this[_0x4e52e1(0x19c)][_0x4e52e1(0x19b)](_0x18c1c7);for(const _0x2b12dc of _0x5914a5)this[_0x4e52e1(0x1ae)](_0x58ae87,_0x2b12dc)&&(_0x34e2d4=!0x0);for(const _0x39942d of _0x53a836)this[_0x4e52e1(0x1b3)](_0x58ae87,_0x39942d)&&(_0x34e2d4=!0x0);for(const _0x251310 of _0x63a9d8)this[_0x4e52e1(0x172)](_0x58ae87,_0x251310)&&(_0x34e2d4=!0x0);return _0x34e2d4;}[_0x58ed39(0x1a5)](_0x5b9f1a){const _0x4b1eb4=_0x58ed39;if(!this[_0x4b1eb4(0x1b9)])return!0x1;let _0x52acdd=!0x1;if(this[_0x4b1eb4(0x1b9)][_0x4b1eb4(0x175)]!==this[_0x4b1eb4(0x1a1)][_0x4b1eb4(0x1ab)]){const _0x8fd0c7=[];for(const _0x5a34d5 of this[_0x4b1eb4(0x1b9)][_0x4b1eb4(0x1bf)]()){const _0x401594=_0x5a34d5[_0x4b1eb4(0x1a9)](_0x4b1eb4(0x19d));this[_0x4b1eb4(0x1b6)](_0x401594)||(_0x8fd0c7[_0x4b1eb4(0x170)](_0x5a34d5),_0x52acdd=!0x0);}for(const _0x153d3c of _0x8fd0c7)_0x5b9f1a[_0x4b1eb4(0x1a4)](_0x153d3c);}const _0x236eda=new Set(),_0x36852f=[];for(const _0x35e0f8 of this[_0x4b1eb4(0x1b9)][_0x4b1eb4(0x1bf)]()){const _0x98215f=_0x35e0f8[_0x4b1eb4(0x1a9)](_0x4b1eb4(0x19d));_0x236eda[_0x4b1eb4(0x1c4)](_0x98215f)?(_0x36852f[_0x4b1eb4(0x170)](_0x35e0f8),_0x52acdd=!0x0):_0x236eda[_0x4b1eb4(0x171)](_0x98215f);}for(const _0x5cbdb6 of _0x36852f)_0x5b9f1a[_0x4b1eb4(0x1a4)](_0x5cbdb6);return this[_0x4b1eb4(0x1b9)][_0x4b1eb4(0x175)]||(_0x5b9f1a[_0x4b1eb4(0x1a4)](this[_0x4b1eb4(0x1b9)]),this[_0x4b1eb4(0x1b9)]=null,_0x52acdd=!0x0),_0x52acdd;}[_0x58ed39(0x1b3)](_0x323598,_0x4a365d){const _0x186108=_0x58ed39;if(this[_0x186108(0x1a1)][_0x186108(0x1c0)](_0xa54740=>_0xa54740[_0x186108(0x18e)]===_0x4a365d))return!0x1;let _0x4a5c8d=!0x1;const _0x55fd45=_0x4a365d[_0x186108(0x1a9)](_0x186108(0x19d)),_0x4f60d8=this[_0x186108(0x1a1)][_0x186108(0x190)](_0x3a0c5a=>_0x3a0c5a['id']===_0x55fd45);-0x1!==_0x4f60d8&&(_0x323598[_0x186108(0x1a4)](this[_0x186108(0x1a1)][_0x4f60d8][_0x186108(0x18e)]),this[_0x186108(0x1a1)][_0x186108(0x195)](_0x4f60d8,0x1),_0x4a5c8d=!0x0);let _0x5e2d92=this[_0x186108(0x1b9)]?function(_0x34cf38,_0x53f5c9){const _0x2c2f64=_0x186108;for(const _0x142388 of _0x34cf38[_0x2c2f64(0x1bf)]())if(_0x142388[_0x2c2f64(0x1a9)](_0x2c2f64(0x19d))===_0x53f5c9)return _0x142388;return null;}(this[_0x186108(0x1b9)],_0x55fd45):null;_0x5e2d92||(_0x5e2d92=_0x323598[_0x186108(0x184)](_0x186108(0x186),{'footnoteId':_0x55fd45}),this[_0x186108(0x1b9)]&&(_0x323598[_0x186108(0x16d)](_0x5e2d92,this[_0x186108(0x1b9)],_0x186108(0x17e)),_0x4a5c8d=!0x0));const _0x329356={'id':_0x55fd45,'reference':_0x4a365d,'definition':_0x5e2d92},_0x2ead18=I(this[_0x186108(0x16f)][_0x186108(0x1b1)],this[_0x186108(0x1a1)],_0x4a365d);this[_0x186108(0x1a1)][_0x186108(0x195)](_0x2ead18,0x0,_0x329356);let _0x2e8801=_0x2ead18;return-0x1!==_0x4f60d8&&(_0x2e8801=Math[_0x186108(0x185)](_0x2ead18,_0x4f60d8)),this[_0x186108(0x1a8)](_0x323598,_0x2e8801)&&(_0x4a5c8d=!0x0),_0x4a5c8d;}[_0x58ed39(0x1ae)](_0x12380f,_0x1ad847){const _0x1e4772=_0x58ed39,_0x5ed7af=this[_0x1e4772(0x1a1)][_0x1e4772(0x190)](_0x3a51d8=>_0x3a51d8['id']===_0x1ad847);if(-0x1===_0x5ed7af)return!0x1;let _0x1f88a9=!0x1;const _0x2d5b8e=this[_0x1e4772(0x1a1)][_0x5ed7af];return _0x1e4772(0x1b7)!==_0x2d5b8e[_0x1e4772(0x178)][_0x1e4772(0x1c3)][_0x1e4772(0x1bb)]&&(_0x12380f[_0x1e4772(0x1a4)](_0x2d5b8e[_0x1e4772(0x178)]),_0x1f88a9=!0x0),this[_0x1e4772(0x1a1)][_0x1e4772(0x195)](_0x5ed7af,0x1),this[_0x1e4772(0x1a8)](_0x12380f,_0x5ed7af)&&(_0x1f88a9=!0x0),_0x1f88a9;}[_0x58ed39(0x172)](_0xc75189,_0x1d9b9b){const _0x2a2a6d=_0x58ed39,_0x5a18f9=_0x1d9b9b[_0x2a2a6d(0x1a9)](_0x2a2a6d(0x19d)),_0x1f13f8=this[_0x2a2a6d(0x1a1)][_0x2a2a6d(0x190)](_0x4f0ae9=>_0x4f0ae9['id']===_0x5a18f9),_0x302e5d=this[_0x2a2a6d(0x1a1)][_0x1f13f8];let _0x3d2b8d=!0x1;_0x302e5d[_0x2a2a6d(0x18e)]=_0x1d9b9b,this[_0x2a2a6d(0x1a1)][_0x2a2a6d(0x195)](_0x1f13f8,0x1);const _0xc4cd87=I(this[_0x2a2a6d(0x16f)][_0x2a2a6d(0x1b1)],this[_0x2a2a6d(0x1a1)],_0x1d9b9b);return this[_0x2a2a6d(0x1a1)][_0x2a2a6d(0x195)](_0xc4cd87,0x0,_0x302e5d),this[_0x2a2a6d(0x1a8)](_0xc75189,Math[_0x2a2a6d(0x185)](_0x1f13f8,_0xc4cd87))&&(_0x3d2b8d=!0x0),_0x3d2b8d;}[_0x58ed39(0x168)](_0x2a9522,_0xde03e0){const _0x1935c1=_0x58ed39;if(!this[_0x1935c1(0x1b9)])return!0x1;const _0x581b0=this[_0x1935c1(0x1a1)][_0xde03e0];let _0x3936e3;return _0x3936e3=this[_0x1935c1(0x187)]?this[_0x1935c1(0x187)]({'footnote':_0x581b0,'container':this[_0x1935c1(0x1b9)],'digits':String(this[_0x1935c1(0x1a1)][_0x1935c1(0x1ab)])[_0x1935c1(0x1ab)],'value':_0xde03e0+0x1}):String(_0xde03e0+0x1),_0x581b0[_0x1935c1(0x18e)][_0x1935c1(0x1a9)](_0x1935c1(0x19f))!=_0x3936e3&&(_0x2a9522[_0x1935c1(0x176)](_0x1935c1(0x19f),_0x3936e3,_0x581b0[_0x1935c1(0x18e)]),!0x0);}[_0x58ed39(0x196)](_0x367a06){const _0x514df3=_0x58ed39;if(!this[_0x514df3(0x1b9)]||this[_0x514df3(0x1a1)][_0x514df3(0x1ab)]<0x2)return!0x1;if(function(_0xc8cc1e,_0x30cf75){const _0x5ed097=_0x514df3;if(_0xc8cc1e[_0x5ed097(0x1ab)]!==_0x30cf75[_0x5ed097(0x1ab)])return!0x1;for(let _0x16dfdf=0x0;_0x16dfdf<_0xc8cc1e[_0x5ed097(0x1ab)];_0x16dfdf++)if(_0xc8cc1e[_0x16dfdf]!==_0x30cf75[_0x16dfdf])return!0x1;return!0x0;}(this[_0x514df3(0x1a1)][_0x514df3(0x1b8)](_0x5f451f=>_0x5f451f['id']),Array[_0x514df3(0x16a)](this[_0x514df3(0x1b9)][_0x514df3(0x1bf)]())[_0x514df3(0x1b8)](_0x2a40c8=>_0x2a40c8[_0x514df3(0x1a9)](_0x514df3(0x19d)))))return!0x1;let _0x3ffd58=!0x1;for(let _0x43517d=0x0;_0x43517d<this[_0x514df3(0x1a1)][_0x514df3(0x1ab)];_0x43517d++){const _0xa4007e=this[_0x514df3(0x1a1)][_0x43517d],_0x8c2aa7=_0x367a06[_0x514df3(0x182)](_0xa4007e[_0x514df3(0x178)]),_0x5682c1=_0x367a06[_0x514df3(0x191)](this[_0x514df3(0x1b9)],_0x43517d);_0x8c2aa7[_0x514df3(0x16c)](_0x5682c1)||(_0x367a06[_0x514df3(0x1c7)](_0x367a06[_0x514df3(0x173)](_0xa4007e[_0x514df3(0x178)]),_0x5682c1),_0x3ffd58=!0x0);}return _0x3ffd58;}[_0x58ed39(0x1a0)](_0x11cbc9){const _0x96e01a=_0x58ed39;if(!this[_0x96e01a(0x1a1)][_0x96e01a(0x1ab)])return!0x1;const {model:_0x54cd05}=this[_0x96e01a(0x16f)];let _0x4ae5f0=!0x1;for(let _0x2405a1=0x0;_0x2405a1<this[_0x96e01a(0x1a1)][_0x96e01a(0x1ab)]-0x1;_0x2405a1++){const _0x156866=this[_0x96e01a(0x1a1)][_0x2405a1],_0x5cb7d8=this[_0x96e01a(0x1a1)][_0x2405a1+0x1],_0x12bf79=_0x54cd05[_0x96e01a(0x182)](_0x156866[_0x96e01a(0x18e)]),_0x1d528e=_0x54cd05[_0x96e01a(0x182)](_0x5cb7d8[_0x96e01a(0x18e)]);_0x96e01a(0x1b0)===_0x12bf79[_0x96e01a(0x183)](_0x1d528e)&&(this[_0x96e01a(0x172)](_0x11cbc9,_0x156866[_0x96e01a(0x18e)]),_0x2405a1=-0x1,_0x4ae5f0=!0x0);}return _0x4ae5f0;}}function _(_0x575e71,_0x4838d1,_0x4676f9){const _0x361b92=_0x58ed39;if(_0x4676f9[_0x361b92(0x175)])return!0x1;const _0x5edc45=_0x4838d1?_0x361b92(0x18f):_0x361b92(0x18d);return _0x575e71[_0x361b92(0x16d)](_0x575e71[_0x361b92(0x184)](_0x5edc45),_0x4676f9),!0x0;}function I(_0x54ef73,_0xbc55a3,_0x340adc){const _0x5e369f=_0x58ed39;if(0x0===_0xbc55a3[_0x5e369f(0x1ab)])return 0x0;const _0x30d221=_0x54ef73[_0x5e369f(0x182)](_0x340adc);for(let _0x281840=0x0;_0x281840<_0xbc55a3[_0x5e369f(0x1ab)];_0x281840++){const _0x33f44e=_0xbc55a3[_0x281840],_0x582690=_0x54ef73[_0x5e369f(0x182)](_0x33f44e[_0x5e369f(0x18e)]);if(_0x5e369f(0x18b)===_0x30d221[_0x5e369f(0x183)](_0x582690))return _0x281840;}const _0x20f89c=_0x340adc[_0x5e369f(0x1c3)];let _0x3c5bb2=-0x1;for(let _0x17cde1=_0xbc55a3[_0x5e369f(0x1ab)]-0x1;_0x17cde1>=0x0;_0x17cde1--)if(_0xbc55a3[_0x17cde1][_0x5e369f(0x18e)][_0x5e369f(0x1c3)]===_0x20f89c){_0x3c5bb2=_0x17cde1;break;}if(-0x1!==_0x3c5bb2)return _0x3c5bb2+0x1;const _0x5362d3=_0x54ef73[_0x5e369f(0x17d)][_0x5e369f(0x1c5)](),_0x47cbc6=_0x5362d3[_0x5e369f(0x198)](_0x20f89c[_0x5e369f(0x1bb)]),_0x19caec=_0x5362d3[_0x47cbc6+0x1];if(_0x19caec){for(let _0x479703=0x0;_0x479703<_0xbc55a3[_0x5e369f(0x1ab)];_0x479703++)if(_0xbc55a3[_0x479703][_0x5e369f(0x18e)][_0x5e369f(0x1c3)][_0x5e369f(0x1bb)]===_0x19caec)return _0x479703;}return _0xbc55a3[_0x5e369f(0x1ab)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x5ee166,MenuBarMenuListItemButtonView as _0x20b66d}from'ckeditor5/src/ui.js';import{Plugin as _0x2044e3}from'ckeditor5/src/core.js';import{IconFootnote as _0x4843be}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2044e3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c50a6}=this,{componentFactory:_0xf7b138}=_0x4c50a6['ui'];_0xf7b138['add']('insertFootnote',x(_0x4c50a6,_0x5ee166)),_0xf7b138['add']('menuBar:insertFootnote',x(_0x4c50a6,_0x20b66d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d6bbf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x55bb2f;for(const _0x58c7e7 in _0x2d6bbf){const _0x479efd=_0x58c7e7,_0x3c67cb=_0x2d6bbf[_0x479efd];if('footnotesLicenseKeyValid'==_0x3c67cb||'footnotesLicenseKeyInvalid'==_0x3c67cb||'footnotesLicenseKeyExpired'==_0x3c67cb||'footnotesLicenseKeyDomainLimit'==_0x3c67cb||'footnotesLicenseKeyNotAllowed'==_0x3c67cb||'footnotesLicenseKeyEvaluationLimit'==_0x3c67cb||'footnotesLicenseKeyTrialLimit'==_0x3c67cb||'footnotesLicenseKeyUsageLimit'==_0x3c67cb){delete _0x2d6bbf[_0x479efd],_0x55bb2f=_0x3c67cb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x55bb2f&&_0x2d6bbf['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x55bb2f&&_0x2d6bbf['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x55bb2f&&_0x2d6bbf['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x55bb2f&&_0x2d6bbf['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x55bb2f&&_0x2d6bbf['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x55bb2f&&_0x2d6bbf['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x55bb2f&&_0x2d6bbf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2c7760,_0x245d9c){const _0x1931a8=_0x2c7760['commands']['get']('insertFootnote');return _0x525864=>{const {t:t}=_0x525864,_0x393c79=new _0x245d9c(_0x525864),_0xeaed64=_0x393c79 instanceof _0x20b66d;return _0x393c79['bind']('isEnabled')['to'](_0x1931a8,'isEnabled'),_0x393c79['set']({'label':t(_0xeaed64?'Footnote':'Insert\x20footnote'),'icon':_0x4843be,'tooltip':!0x0}),_0x393c79['on']('execute',()=>{_0x1931a8['execute'](),_0x2c7760['editing']['view']['focus']();}),_0x393c79;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x44e68e,_0x5b04f2){var _0x50cf21=_0x14c5,_0x10860f=_0x44e68e();while(!![]){try{var _0x3791d1=-parseInt(_0x50cf21(0xaf))/0x1*(parseInt(_0x50cf21(0xb2))/0x2)+parseInt(_0x50cf21(0xb3))/0x3+parseInt(_0x50cf21(0xad))/0x4+parseInt(_0x50cf21(0xb5))/0x5+-parseInt(_0x50cf21(0xb0))/0x6+-parseInt(_0x50cf21(0xb4))/0x7*(-parseInt(_0x50cf21(0xae))/0x8)+-parseInt(_0x50cf21(0xb1))/0x9;if(_0x3791d1===_0x5b04f2)break;else _0x10860f['push'](_0x10860f['shift']());}catch(_0xff730f){_0x10860f['push'](_0x10860f['shift']());}}}(_0x55f6,0xe046b));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x14c5(_0x2e378d,_0x33a163){var _0x55f681=_0x55f6();return _0x14c5=function(_0x14c56b,_0x498c22){_0x14c56b=_0x14c56b-0xad;var _0x546cc2=_0x55f681[_0x14c56b];return _0x546cc2;},_0x14c5(_0x2e378d,_0x33a163);}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0x55f6(){var _0x23e4fc=['2972151GbLqjX','4DfIQTZ','4294194Csikxf','4818604HkCLct','121125YmKYSc','4056576MPYjGp','8ACXYCN','50918LwZCAA','10844574ocmCMl'];_0x55f6=function(){return _0x23e4fc;};return _0x55f6();}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
|
+
function _0x54a6(_0x502f66,_0x4458f5){const _0x3544e7=_0x3544();return _0x54a6=function(_0x54a6e2,_0x41d828){_0x54a6e2=_0x54a6e2-0x17c;let _0x401bda=_0x3544e7[_0x54a6e2];return _0x401bda;},_0x54a6(_0x502f66,_0x4458f5);}const _0x49c419=_0x54a6;(function(_0x2cab61,_0x3e87b7){const _0x324ebb=_0x54a6,_0x2cc47e=_0x2cab61();while(!![]){try{const _0x1d033b=parseInt(_0x324ebb(0x182))/0x1*(parseInt(_0x324ebb(0x19f))/0x2)+-parseInt(_0x324ebb(0x190))/0x3*(-parseInt(_0x324ebb(0x1a3))/0x4)+parseInt(_0x324ebb(0x19c))/0x5*(-parseInt(_0x324ebb(0x198))/0x6)+-parseInt(_0x324ebb(0x17e))/0x7*(-parseInt(_0x324ebb(0x188))/0x8)+parseInt(_0x324ebb(0x18f))/0x9+parseInt(_0x324ebb(0x18b))/0xa+-parseInt(_0x324ebb(0x181))/0xb*(parseInt(_0x324ebb(0x189))/0xc);if(_0x1d033b===_0x3e87b7)break;else _0x2cc47e['push'](_0x2cc47e['shift']());}catch(_0x3a84ea){_0x2cc47e['push'](_0x2cc47e['shift']());}}}(_0x3544,0x69fe9));export class ModelElementTracker{[_0x49c419(0x1a9)];[_0x49c419(0x18c)];[_0x49c419(0x1a8)];[_0x49c419(0x19b)]=new Map();constructor(_0x5626d7,_0x2c6bcd){const _0x12d8ef=_0x49c419;this[_0x12d8ef(0x1a9)]=_0x5626d7,this[_0x12d8ef(0x18c)]=_0x2c6bcd[_0x12d8ef(0x1a5)],this[_0x12d8ef(0x1a8)]=_0x2c6bcd[_0x12d8ef(0x185)];}[_0x49c419(0x18e)](){const _0xbfc1ed=_0x49c419;this[_0xbfc1ed(0x19b)][_0xbfc1ed(0x193)]();}[_0x49c419(0x199)](_0x4b3627){const _0x1092af=_0x49c419,_0x32dc3d=new Set(),_0x31cba5=new Map();for(const _0x24e47c of _0x4b3627){if(_0x1092af(0x18a)===_0x24e47c[_0x1092af(0x1a2)]&&_0x1092af(0x1a4)!==_0x24e47c[_0x1092af(0x17c)]&&_0x24e47c[_0x1092af(0x180)][_0x1092af(0x19e)]){const _0x53073b=this[_0x1092af(0x1a9)][_0x1092af(0x187)](_0x24e47c[_0x1092af(0x180)][_0x1092af(0x19e)]);for(const _0x477b00 of _0x53073b[_0x1092af(0x196)]()){if(!_0x477b00['is'](_0x1092af(0x186),this[_0x1092af(0x18c)]))continue;const _0x4d808b=this[_0x1092af(0x1a8)](_0x477b00);_0x31cba5[_0x1092af(0x19a)](_0x4d808b)||_0x31cba5[_0x1092af(0x184)](_0x4d808b,[]),_0x31cba5[_0x1092af(0x197)](_0x4d808b)[_0x1092af(0x1a1)](_0x477b00);}}if(_0x1092af(0x194)===_0x24e47c[_0x1092af(0x1a2)]&&_0x24e47c[_0x1092af(0x17c)]===this[_0x1092af(0x18c)]){const _0x4dc966=this[_0x1092af(0x1a8)]({'getAttribute':_0x4059ca=>_0x24e47c[_0x1092af(0x1a6)][_0x1092af(0x197)](_0x4059ca)});_0x32dc3d[_0x1092af(0x191)](_0x4dc966);}}for(const [_0x2c1d0c,_0x460ff0]of this[_0x1092af(0x19b)])_0x1092af(0x17d)===_0x460ff0[_0x1092af(0x18d)][_0x1092af(0x195)]&&_0x32dc3d[_0x1092af(0x191)](_0x2c1d0c);for(const _0x4e3d78 of _0x32dc3d)this[_0x1092af(0x19b)][_0x1092af(0x1a0)](_0x4e3d78);for(const [_0x351d90,_0x53fe91]of _0x31cba5)this[_0x1092af(0x19b)][_0x1092af(0x184)](_0x351d90,_0x53fe91[_0x53fe91[_0x1092af(0x1a7)]-0x1]);const _0x28bfb3=new Set();for(const [_0x507fff,_0x3fed86]of _0x31cba5)_0x32dc3d[_0x1092af(0x19a)](_0x507fff)&&(_0x28bfb3[_0x1092af(0x191)](_0x3fed86[0x0]),_0x3fed86[_0x1092af(0x1a7)]>0x1?_0x31cba5[_0x1092af(0x184)](_0x507fff,_0x3fed86[_0x1092af(0x192)](0x1)):_0x31cba5[_0x1092af(0x1a0)](_0x507fff),_0x32dc3d[_0x1092af(0x1a0)](_0x507fff));return{'removed':Array[_0x1092af(0x183)](_0x32dc3d),'inserted':Array[_0x1092af(0x183)](_0x31cba5[_0x1092af(0x17f)]())[_0x1092af(0x19d)](),'moved':Array[_0x1092af(0x183)](_0x28bfb3)};}}function _0x3544(){const _0x1f2e29=['name','$graveyard','7707twJoqT','values','position','187JhDERf','20PQoEyV','from','set','getElementKey','element','createRangeOn','632XRUQku','1094928hvmZDC','insert','3623280EYBhFn','_elementName','root','reset','7715052Xkrmxc','34929FfGgrn','add','slice','clear','remove','rootName','getItems','get','3822toKOdv','getChanges','has','_trackedElements','4555HvRQDO','flat','nodeAfter','43242WlGCvu','delete','push','type','284PadUAi','$text','elementName','attributes','length','_getElementKey','_model'];_0x3544=function(){return _0x1f2e29;};return _0x3544();}
|