@ckeditor/ckeditor5-footnotes 47.2.0 → 47.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +3 -3
- 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 _0x3dc7c5}from'ckeditor5/src/core.js';import{isWidget as _0x3b57e8,toWidget as _0x4db1ed,toWidgetEditable as _0x4d6706}from'ckeditor5/src/widget.js';import{uid as _0x180e25}from'ckeditor5/src/utils.js';import{PointerObserver as _0x206bf5,ClickObserver as _0x3ca212}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2d908d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2b93c1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3dc7c5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2d908d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b26af}=this;_0x1b26af['config']['define']('footnotes.multiBlock',!0x0),_0x1b26af['commands']['add']('insertFootnote',new _0x2b93c1(_0x1b26af)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x42bd88){const _0x4c1253=_0x3e34b1([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]),_0x296124=0x47a28506,_0x2cc3ae=0x47a5fd3e^_0x296124,_0x11c436=window[_0x3e34b1([0x44,0x61,0x74,0x65])][_0x3e34b1([0x6e,0x6f,0x77])](),_0x5c6173=_0x42bd88[_0x3e34b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3138e7=new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ffbf3=>{_0x5c6173[_0x3e34b1([0x6f,0x6e,0x63,0x65])](_0x3e34b1([0x72,0x65,0x61,0x64,0x79]),_0x1ffbf3);}),_0x42a7f0={[_0x3e34b1([0x6b,0x74,0x79])]:_0x3e34b1([0x45,0x43]),[_0x3e34b1([0x75,0x73,0x65])]:_0x3e34b1([0x73,0x69,0x67]),[_0x3e34b1([0x63,0x72,0x76])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36]),[_0x3e34b1([0x78])]:_0x3e34b1([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]),[_0x3e34b1([0x79])]:_0x3e34b1([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]),[_0x3e34b1([0x61,0x6c,0x67])]:_0x3e34b1([0x45,0x53,0x32,0x35,0x36])},_0x533ba7=_0x5c6173[_0x3e34b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e34b1([0x67,0x65,0x74])](_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3110dc(){let _0x2a85f1,_0x2c85ba=null,_0x4da3fa=null;try{if(_0x533ba7==_0x3e34b1([0x47,0x50,0x4c]))return _0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a85f1=_0x121fc8(),!_0x2a85f1)return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4da3fa=_0x1f676b(_0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a85f1[_0x3e34b1([0x6a,0x74,0x69])])),await _0x43e91f()?_0x445838()?_0x1aebf7()?_0x3e34b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4230e6()?(_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21f02a()):_0x3e34b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aebf7(){const _0x2e2ba7=[_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])][_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11c436/0x3e8:0xe10*_0x2cc3ae;return _0x2a85f1[_0x3e34b1([0x65,0x78,0x70])]<_0x2e2ba7;}function _0x445838(){const _0x4457fd=_0x2a85f1[_0x3e34b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4457fd&&(!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a]))||!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x46,0x4f,0x4f])));}function _0x4230e6(){const _0x31f70f=_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31f70f||0x0==_0x31f70f[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6550dc}=new URL(window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31f70f[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6550dc))return!0x0;const _0x465623=_0x6550dc[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));return _0x31f70f[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cc063=>_0x4cc063[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a])))[_0x3e34b1([0x6d,0x61,0x70])](_0x2e3706=>_0x2e3706[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])))[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490d13=>_0x490d13[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x6d,0x61,0x70])](_0x526630=>Array(_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x526630[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x66,0x69,0x6c,0x6c])](_0x526630[0x0]===_0x3e34b1([0x2a])?_0x3e34b1([0x2a]):'')[_0x3e34b1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x526630))[_0x3e34b1([0x73,0x6f,0x6d,0x65])](_0x4deab0=>_0x465623[_0x3e34b1([0x65,0x76,0x65,0x72,0x79])]((_0x3091bb,_0x35f20b)=>_0x4deab0[_0x35f20b]===_0x3091bb||_0x4deab0[_0x35f20b]===_0x3e34b1([0x2a])));}function _0x21f02a(){return _0x2c85ba&&_0x4da3fa?new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xab9a49,_0x1ea2fb)=>{_0x2c85ba[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0xab9a49,_0x1ea2fb),_0x4da3fa[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x4eee7d=>{_0x4eee7d!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0xab9a49(_0x4eee7d);},_0x1ea2fb);}):_0x2c85ba||_0x4da3fa||_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f676b(_0x26e2d1,_0x3a4ec1){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x805e49=>{if(_0x420b53())return _0x805e49(_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]));_0x158aea(),_0x5c6173[_0x3e34b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x196068=!0x1;const _0x2106fd=_0x180e25();function _0x182873(_0x1b11fe){return!!_0x1b11fe&&(typeof _0x1b11fe===_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b11fe===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b11fe[_0x3e34b1([0x74,0x68,0x65,0x6e])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b11fe[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17b625(_0x4f3c5f){_0x45902e(_0x4f3c5f)[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x814130=>{if(!_0x814130||_0x814130[_0x3e34b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e34b1([0x6f,0x6b]))return _0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b7d98(_0x15db04(_0x2106fd+_0x3a4ec1))!=_0x814130[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x2b108d=>(_0x879fbe(),_0x2b108d),()=>{const _0x44381b=_0xe07003();return null==_0x44381b?(_0x879fbe(),_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])):_0x3e34b1(_0x11c436-_0x44381b>(0x63ae0106^_0x296124)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x805e49)[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9d5b33=0x47946b86^_0x296124;function _0x879fbe(){const _0x335076=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x29e335=_0x3a2c47(_0x3b7d98(window[_0x3e34b1([0x4d,0x61,0x74,0x68])][_0x3e34b1([0x63,0x65,0x69,0x6c])](_0x11c436/_0x9d5b33)));window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335076,_0x29e335);}function _0xe07003(){const _0x55c3b8=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x3036a3=window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55c3b8);return _0x3036a3?window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a2c47(_0x3036a3),0x10)*_0x9d5b33:null;}function _0x45902e(_0x1974a3){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302006,_0x245a57)=>{_0x1974a3[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x302006,_0x245a57),window[_0x3e34b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x245a57,0x47a351c6^_0x296124);});}}_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ba4d8,_0x21eacb)=>{if(_0x21eacb[0x0]!=_0x26e2d1)return _0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21eacb[0x1]={..._0x21eacb[0x1],[_0x3e34b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2106fd};},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x68,0x69,0x67,0x68])}),_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e21ad=>{_0x182873(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x196068=!0x0,_0x17b625(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x6c,0x6f,0x77])}),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>{_0x196068||_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x420b53(){return _0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e34b1([0x61,0x75,0x74,0x6f]);}function _0x158aea(){_0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e34b1([0x61,0x75,0x74,0x6f]);}}function _0x3dc91a(_0x30e4de){const _0x5460ee=[new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x395d54=>setTimeout(_0x395d54,0x47abbbca^_0x296124)),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eaa61=>{let _0x18236e=0x0;_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x554ce3,_0x48cf04)=>{_0x48cf04[0x0][_0x3e34b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18236e++,_0x18236e==(0x47a284fe^_0x296124)&&(_0x3eaa61(),_0x554ce3[_0x3e34b1([0x6f,0x66,0x66])]());});}))];return window[_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e34b1([0x72,0x61,0x63,0x65])](_0x5460ee)[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>_0x30e4de);}async function _0x96105e(){await _0x3138e7,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d5cb6(_0x5889c6){const _0x4bdfd9=_0x11f8d4();_0x5c6173[_0x4bdfd9]=_0x3e34b1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5889c6,_0x5889c6!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0x96105e();}function _0x11f8d4(){const _0x9d4030=window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e34b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e34b1([0x6e,0x6f,0x77])]())[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e34b1([0x2e]),'');let _0x388fb3=_0x3e34b1([0x75]);for(let _0x158523=0x0;_0x158523<_0x9d4030[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x158523+=0x2){let _0x288142=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9d4030[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x158523,_0x158523+0x2));_0x288142>=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x288142-=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x388fb3+=_0x4c1253[_0x288142];}return _0x388fb3;}function _0x121fc8(){const _0x2bb1ae=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));if(0x3!=_0x2bb1ae[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ba51f(_0x2bb1ae[0x1]);function _0x4ba51f(_0x3738ba){const _0x31bbe3=_0x448284(_0x3738ba);return _0x31bbe3&&_0xdbff72()?_0x31bbe3:null;function _0xdbff72(){const _0x151dd4=_0x31bbe3[_0x3e34b1([0x6a,0x74,0x69])],_0x314447=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x229aa9={..._0x31bbe3,[_0x3e34b1([0x6a,0x74,0x69])]:_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x229aa9[_0x3e34b1([0x76,0x63])],_0x15db04(_0x229aa9)==_0x314447;}}}async function _0x43e91f(){let _0x68aec1=!0x0;try{const _0x19e8f9=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])),[_0x3996a4,_0x46dde7,_0x379276]=_0x19e8f9;return _0x1bbc77(_0x3996a4),await _0x2883e8(_0x3996a4,_0x46dde7,_0x379276),_0x68aec1;}catch{return!0x1;}function _0x1bbc77(_0x58a816){const _0x4a2411=_0x448284(_0x58a816);_0x4a2411&&_0x4a2411[_0x3e34b1([0x61,0x6c,0x67])]==_0x3e34b1([0x45,0x53,0x32,0x35,0x36])||(_0x68aec1=!0x1);}async function _0x2883e8(_0x512bfe,_0x34c5f1,_0x5a6050){const _0x18c7f9=window[_0x3e34b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e34b1([0x66,0x72,0x6f,0x6d])](_0x4cc155(_0x5a6050),_0x43055c=>_0x43055c[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1092d7=new window[(_0x3e34b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e34b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x512bfe+_0x3e34b1([0x2e])+_0x34c5f1),_0x4d698e=window[_0x3e34b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e34b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d698e)return;const _0x40510e=await _0x4d698e[_0x3e34b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e34b1([0x6a,0x77,0x6b]),_0x42a7f0,{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d698e[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x68,0x61,0x73,0x68])]:{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40510e,_0x18c7f9,_0x1092d7)||(_0x68aec1=!0x1);}}function _0x448284(_0x3ffbb4){return _0x3ffbb4[_0x3e34b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e34b1([0x65,0x79]))?JSON[_0x3e34b1([0x70,0x61,0x72,0x73,0x65])](_0x4cc155(_0x3ffbb4)):null;}function _0x4cc155(_0x42e870){return window[_0x3e34b1([0x61,0x74,0x6f,0x62])](_0x42e870[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e34b1([0x2b]))[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e34b1([0x2f])));}function _0x15db04(_0x396f09){let _0x2d6a18=0x1505;function _0x34323c(_0x58b29b){for(let _0x220fea=0x0;_0x220fea<_0x58b29b[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x220fea++){const _0x3726b0=_0x58b29b[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x220fea);_0x2d6a18=(_0x2d6a18<<0x5)+_0x2d6a18+_0x3726b0,_0x2d6a18&=_0x2d6a18;}}function _0x54a97f(_0x3d3917){Array[_0x3e34b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d3917)?_0x3d3917[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54a97f):_0x3d3917&&typeof _0x3d3917==_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e34b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d3917)[_0x3e34b1([0x73,0x6f,0x72,0x74])]()[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20a3f4,_0xdff58b])=>{_0x34323c(_0x20a3f4),_0x54a97f(_0xdff58b);}):_0x34323c(window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d3917));}return _0x54a97f(_0x396f09),_0x2d6a18>>>0x0;}function _0x3b7d98(_0x72abf4){return _0x72abf4[_0x3e34b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e34b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e34b1([0x30]));}function _0x3a2c47(_0x32f9a3){return _0x32f9a3[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e34b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e34b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fe0d4(){}function _0x3e34b1(_0x383405){return _0x383405['map'](_0x11684b=>String['fromCharCode'](_0x11684b))['join']('');}_0x5d5cb6(await _0x3110dc());}(this);}['_moveSelectionToFootnoteDefinition'](_0x8f4d29){const {plugins:_0x559f03,editing:_0x49390e,model:_0x30750b}=this['editor'],_0x5b975e=_0x559f03['get'](_0x2d908d)['getFootnote'](_0x8f4d29);return!!_0x5b975e&&(_0x30750b['change'](_0x232446=>{_0x232446['setSelection'](_0x232446['createPositionAt'](_0x5b975e['definition'],'end'));}),_0x49390e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5d41ed){const {plugins:_0x5687e6,editing:_0xc669cf,model:_0x16b111}=this['editor'],_0x42e12a=_0x5687e6['get'](_0x2d908d)['getFootnote'](_0x5d41ed);return!!_0x42e12a&&(_0x16b111['change'](_0x54a3cc=>{_0x54a3cc['setSelection'](_0x42e12a['reference'],'on');}),_0xc669cf['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x50ba46}=this['editor']['model'],_0x5e8796=this['editor']['config']['get']('footnotes.multiBlock');_0x50ba46['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x50ba46['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x50ba46['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5e8796?_0x50ba46['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x50ba46['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x50ba46['addChildCheck'](_0xa84ddf=>{for(const _0x590ab7 of _0xa84ddf)if('footnoteDefinition'===_0x590ab7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x48a3ba}=this,{conversion:_0x47a732,editing:_0x27f395}=_0x48a3ba,{t:t}=_0x48a3ba['locale'];_0x47a732['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1bb9c4,{writer:_0x15741a,consumable:_0x1c5a8f})=>{const _0x1fa18c=_0x1bb9c4['getChild'](0x0);if(!_0x1fa18c||!_0x1fa18c['is']('element','a'))return null;const _0x452f16=_0x1fa18c['getAttribute']('href')||'';if(!_0x452f16['startsWith']('#'))return null;const _0x24947f=_0x452f16['replace'](/^#/,'');if(!_0x24947f)return null;_0x1c5a8f['consume'](_0x1fa18c,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ece33}of _0x27f395['view']['createRangeIn'](_0x1fa18c))_0x1ece33['is']('$textProxy')?_0x1c5a8f['consume'](_0x1ece33['textNode'],{'name':!0x0}):_0x1ece33['is']('element')&&_0x1c5a8f['consume'](_0x1ece33,{'name':!0x0});return _0x15741a['createElement']('footnoteRef',{'footnoteId':_0x24947f});}}),_0x47a732['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x34d2fd,{writer:_0x5dda3c})=>D(_0x34d2fd,_0x5dda3c)}),_0x47a732['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a407e,{writer:_0x372e11})=>{const _0x4331a7=_0x3a407e['getAttribute']('footnoteCounter');return _0x4db1ed(D(_0x3a407e,_0x372e11),_0x372e11,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4331a7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2042f0}=this,{t:t}=_0x2042f0['locale'],{conversion:_0xf47508}=_0x2042f0;_0xf47508['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xf47508['for']('upcast')['add'](_0x271c0d=>{_0x271c0d['on']('element:ol',(_0x50c55e,_0x4792d3,_0x1fe296)=>{const _0x12448c=_0x4792d3['viewItem'];if(!_0x12448c['hasClass']('footnotes-list')||!_0x4792d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1fe296['consumable']['consume'](_0x12448c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x397167,modelCursor:_0x43ecac}=_0x1fe296['convertChildren'](_0x4792d3['viewItem'],_0x4792d3['modelCursor']);_0x4792d3['modelRange']=_0x397167,_0x4792d3['modelCursor']=_0x43ecac;}),_0x271c0d['on']('element:hr',(_0x1ab0bb,_0x2dbea9,_0x4ff903)=>{const _0x57f1e7=_0x2dbea9['viewItem'];_0x57f1e7['hasClass']('footnotes-divider')&&_0x2dbea9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4ff903['consumable']['consume'](_0x57f1e7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xf47508['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x41bc13,{writer:_0x554773})=>v(_0x554773)}),_0xf47508['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1aebb9,{writer:_0x545435})=>{const _0x3594ed=v(_0x545435,{'data-footnotes-list-label':t('Footnotes')}),_0x377267=_0x4db1ed(_0x3594ed,_0x545435,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x545435['setCustomProperty']('footnotesDefinitions',!0x0,_0x377267),_0x377267;}});}['_defineDefinitionConverters'](){const {editor:_0x305032}=this,{conversion:_0x3c798e,locale:_0x15ce2c}=_0x305032,_0x362031=_0x305032['config']['get']('footnotes.multiBlock');_0x3c798e['for']('upcast')['add'](_0x422399=>{_0x422399['on']('element:li',(_0x569d7d,_0x365a6e,_0x3dc0d6)=>{const _0x191aa4=_0x365a6e['viewItem'];if(!_0x191aa4['hasClass']('footnote-definition')||!_0x191aa4['getAttribute']('id'))return;const _0x221d78=_0x191aa4['parent'];if(!_0x221d78['is']('element','ol')||!_0x221d78['hasClass']('footnotes-list'))return;if(!_0x3dc0d6['consumable']['test'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x34c2e5=_0x3dc0d6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x191aa4['getAttribute']('id')});if(!_0x3dc0d6['safeInsert'](_0x34c2e5,_0x365a6e['modelCursor']))return;_0x3dc0d6['consumable']['consume'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x43b9c3=Array['from'](_0x191aa4['getChildren']())['find'](_0x52832d=>_0x52832d['is']('element')&&_0x52832d['hasClass']('footnote-content'));for(const _0x3b501b of _0x191aa4['getChildren']())_0x3b501b['is']('element')&&(_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-content'}));if(_0x43b9c3){if(_0x362031)_0x3dc0d6['convertChildren'](_0x43b9c3,_0x34c2e5);else{const _0x3607f4=_0x3dc0d6['writer']['createElement']('footnoteInlineContent');_0x3dc0d6['writer']['insert'](_0x3607f4,_0x34c2e5),_0x3dc0d6['convertChildren'](_0x43b9c3,_0x3607f4);}}_0x3dc0d6['updateConversionResult'](_0x34c2e5,_0x365a6e);});}),_0x3c798e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10534f,{writer:_0x5e2a89})=>b(_0x10534f,_0x5e2a89,_0x15ce2c,{'dataPipeline':!0x0})}),_0x3c798e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2f6369,{writer:_0x20ee3f})=>b(_0x2f6369,_0x20ee3f,_0x15ce2c)});}['_defineBogusParagraphConverters'](){const {editor:_0x4588ff}=this,{conversion:_0x2c7788}=_0x4588ff;_0x4588ff['config']['get']('footnotes.multiBlock')?(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4588ff['model']['document'],'change:data',()=>{!function(_0x4ffdd1,_0x2e983c){const _0x5032cf=_0x4ffdd1['document']['differ'],_0x8fe948=new Set();for(const _0x11811b of _0x5032cf['getChanges']()){const _0xbe7a98='attribute'==_0x11811b['type']?_0x11811b['range']['start']['parent']:_0x11811b['position']['parent'];_0xbe7a98['is']('element','footnoteDefinition')&&_0x8fe948['add'](_0xbe7a98);}for(const _0x593ecb of _0x8fe948['values']()){const _0x581a67=Array['from'](_0x593ecb['getChildren']())['filter'](_0x39be31=>g(_0x39be31,_0x2e983c['mapper']));for(const _0x11740d of _0x581a67)_0x2e983c['reconvertItem'](_0x11740d);}}(_0x4588ff['model'],_0x4588ff['editing']);})):(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3aea08,{writer:_0xf58cf5})=>{const _0x2afe55=_0xf58cf5['createContainerElement']('span');return _0xf58cf5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2afe55),_0x2afe55;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c0b84}=this,{editing:_0x12061e,t:t}=_0x4c0b84,_0x35196a=_0x4c0b84['model']['document']['selection'];_0x4c0b84['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4c0b84['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12061e['view']['document'],'enter',(_0x5760c0,_0x4df3e1)=>{const _0x403ca0=function(_0x1c6545){const _0x33669a=_0x1c6545['getSelectedElement']();if(_0x33669a?.['is']('element','footnoteRef'))return _0x33669a;return null;}(_0x35196a);if(_0x403ca0){const _0x1c5a4f=_0x403ca0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c5a4f),_0x4df3e1['preventDefault'](),_0x5760c0['stop']();}},{'context':_0x3b57e8});}['_defineClickHandlers'](){const {editor:_0x334ecb}=this,{editing:_0x2c37eb}=_0x334ecb;_0x334ecb['editing']['view']['addObserver'](_0x206bf5),_0x334ecb['editing']['view']['addObserver'](_0x3ca212);let _0x292dc0=!0x1;this['listenTo'](_0x2c37eb['view']['document'],'pointerdown',(_0x5df794,_0x2b6ee3)=>{const {target:_0x36d6b0}=_0x2b6ee3,_0x31a64c=_0x2c37eb['view']['document']['selection'];_0x292dc0=!!(_0x36d6b0?.['is']('element','a')&&_0x36d6b0['parent']?.['is']('element','sup')&&_0x36d6b0['parent']['hasClass']('footnote'))&&_0x31a64c['getSelectedElement']()===_0x36d6b0['parent'];},{'priority':'high'}),this['listenTo'](_0x2c37eb['view']['document'],'click',(_0x9f6a1b,_0x3d76ee)=>{const {target:_0x352512}=_0x3d76ee;if(!_0x352512?.['is']('element','a'))return;if(_0x352512['parent']?.['is']('element','sup')&&_0x352512['parent']['hasClass']('footnote')&&!_0x292dc0)return void _0x3d76ee['preventDefault']();let _0x4c2978=_0x352512['getAttribute']('href');if(!_0x4c2978?.['startsWith']('#'))return;_0x4c2978=_0x4c2978['slice'](0x1);let _0x10566a=!0x1;(_0x4c2978['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4c2978['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4c2978))&&(_0x10566a=!0x0),_0x10566a&&(_0x3d76ee['preventDefault'](),_0x9f6a1b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x35a761}={}){return(_0x567b7f,{writer:_0x4aef80})=>{if(!p(_0x567b7f))return null;if(!_0x35a761)return _0x4aef80['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xcf35ad=_0x4aef80['createContainerElement']('p');return _0x4aef80['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcf35ad),_0xcf35ad;};}function p(_0x4e85ca){const {parent:_0x500fc3}=_0x4e85ca;if(!_0x500fc3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x500fc3['childCount'])return!0x1;for(const _0x332fbc of _0x4e85ca['getAttributeKeys']())if(!_0x332fbc['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x332fbc)return!0x1;return!0x0;}function g(_0x1e7694,_0x118fcb){if(!_0x1e7694['is']('element','paragraph'))return!0x1;const _0x4ea2d9=_0x118fcb['toViewElement'](_0x1e7694);return!!_0x4ea2d9&&p(_0x1e7694)!==_0x4ea2d9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5c19e9){return _0x3b57e8(_0x5c19e9)&&_0x5c19e9['is']('containerElement')&&!!_0x5c19e9['getCustomProperty']('footnotesDefinitions');}function v(_0x53d124,_0x93dc45={}){const _0x3c14c3=_0x53d124['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x40cba2=_0x53d124['createContainerElement']('ol',{'class':'footnotes-list'},_0x53d124['createSlot']());return _0x53d124['createContainerElement']('div',{'class':'footnotes',..._0x93dc45},[_0x3c14c3,_0x40cba2]);}function D(_0x584012,_0x4ef27d){const _0x2914c8=_0x584012['getAttribute']('footnoteId'),_0xd0e8e6=_0x584012['getAttribute']('footnoteCounter'),_0x53b466=_0x4ef27d['createUIElement']('a',{'href':'#'+_0x2914c8},function(_0x56b1d7){const _0x27edcb=this['toDomElement'](_0x56b1d7);return _0x27edcb['textContent']=_0xd0e8e6,_0x27edcb;}),_0x17e173=_0x4ef27d['createContainerElement']('sup',{'id':'ref-'+_0x2914c8,'class':'footnote'},[_0x53b466]);return _0x17e173['getFillerOffset']=()=>null,_0x17e173;}function b(_0x2a78e2,_0xa72b44,_0x397f1d,{dataPipeline:_0x47814e}={}){const {t:t}=_0x397f1d,_0x2840b0=_0x2a78e2['getAttribute']('footnoteId'),_0x9e1038=_0xa72b44['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2840b0},function(_0x5af3f2){const _0x5aa2f6=this['toDomElement'](_0x5af3f2);return _0x5aa2f6['innerText']='^',_0x5aa2f6;}),_0xf391f4=_0x47814e?_0xa72b44['createContainerElement']('div',{'class':'footnote-content'}):_0x4d6706(_0xa72b44['createEditableElement']('div',{'class':'footnote-content'}),_0xa72b44,{'label':t('Footnote\x20content.')});return _0xa72b44['insert'](_0xa72b44['createPositionAt'](_0xf391f4,0x0),_0xa72b44['createSlot']()),_0xa72b44['createContainerElement']('li',{'class':'footnote-definition','id':_0x2840b0},[_0x9e1038,_0xf391f4]);}
|
|
23
|
+
import{Plugin as _0x8572a9}from'ckeditor5/src/core.js';import{isWidget as _0x59a34c,toWidget as _0x45445f,toWidgetEditable as _0x357d76}from'ckeditor5/src/widget.js';import{uid as _0x31f20c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x592a32,ClickObserver as _0x59771c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1a4ea5}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3754a4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x8572a9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1a4ea5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1982be}=this;_0x1982be['config']['define']('footnotes.multiBlock',!0x0),_0x1982be['commands']['add']('insertFootnote',new _0x3754a4(_0x1982be)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x443fae){const _0x277865=_0xb6ab2f([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]),_0x417202=0x47a28506,_0x55f485=0x47a5ff36^_0x417202,_0x2fcf5b=window[_0xb6ab2f([0x44,0x61,0x74,0x65])][_0xb6ab2f([0x6e,0x6f,0x77])](),_0x4d2433=_0x443fae[_0xb6ab2f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe966b9=new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22e3d2=>{_0x4d2433[_0xb6ab2f([0x6f,0x6e,0x63,0x65])](_0xb6ab2f([0x72,0x65,0x61,0x64,0x79]),_0x22e3d2);}),_0x1905e7={[_0xb6ab2f([0x6b,0x74,0x79])]:_0xb6ab2f([0x45,0x43]),[_0xb6ab2f([0x75,0x73,0x65])]:_0xb6ab2f([0x73,0x69,0x67]),[_0xb6ab2f([0x63,0x72,0x76])]:_0xb6ab2f([0x50,0x2d,0x32,0x35,0x36]),[_0xb6ab2f([0x78])]:_0xb6ab2f([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]),[_0xb6ab2f([0x79])]:_0xb6ab2f([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]),[_0xb6ab2f([0x61,0x6c,0x67])]:_0xb6ab2f([0x45,0x53,0x32,0x35,0x36])},_0x3ab3ac=_0x4d2433[_0xb6ab2f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb6ab2f([0x67,0x65,0x74])](_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2856b6(){let _0x127546,_0x5b2504=null,_0x37c68d=null;try{if(_0x3ab3ac==_0xb6ab2f([0x47,0x50,0x4c]))return _0xb6ab2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x127546=_0x951365(),!_0x127546)return _0xb6ab2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x127546[_0xb6ab2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x37c68d=_0x4c9c42(_0x127546[_0xb6ab2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x127546[_0xb6ab2f([0x6a,0x74,0x69])])),await _0x132255()?_0x298c80()?_0x448293()?_0xb6ab2f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x590c1a()?(_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6ab2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b2504=_0xf0268d(_0xb6ab2f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6ab2f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b2504=_0xf0268d(_0xb6ab2f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50fc7d()):_0xb6ab2f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb6ab2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb6ab2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb6ab2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x448293(){const _0x12b6b0=[_0xb6ab2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb6ab2f([0x74,0x72,0x69,0x61,0x6c])][_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fcf5b/0x3e8:0xe10*_0x55f485;return _0x127546[_0xb6ab2f([0x65,0x78,0x70])]<_0x12b6b0;}function _0x298c80(){const _0x2b5b7e=_0x127546[_0xb6ab2f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b5b7e&&(!!_0x2b5b7e[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6ab2f([0x2a]))||!!_0x2b5b7e[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6ab2f([0x46,0x4f,0x4f])));}function _0x590c1a(){const _0x3f4020=_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f4020||0x0==_0x3f4020[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x541fba}=new URL(window[_0xb6ab2f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f4020[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x541fba))return!0x0;const _0x15e523=_0x541fba[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e]));return _0x3f4020[_0xb6ab2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32ba5f=>_0x32ba5f[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6ab2f([0x2a])))[_0xb6ab2f([0x6d,0x61,0x70])](_0x1aafb8=>_0x1aafb8[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e])))[_0xb6ab2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b71ec=>_0x2b71ec[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x15e523[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb6ab2f([0x6d,0x61,0x70])](_0x8fd809=>Array(_0x15e523[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8fd809[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb6ab2f([0x66,0x69,0x6c,0x6c])](_0x8fd809[0x0]===_0xb6ab2f([0x2a])?_0xb6ab2f([0x2a]):'')[_0xb6ab2f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8fd809))[_0xb6ab2f([0x73,0x6f,0x6d,0x65])](_0x13e527=>_0x15e523[_0xb6ab2f([0x65,0x76,0x65,0x72,0x79])]((_0x53330a,_0x518998)=>_0x13e527[_0x518998]===_0x53330a||_0x13e527[_0x518998]===_0xb6ab2f([0x2a])));}function _0x50fc7d(){return _0x5b2504&&_0x37c68d?new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x388650,_0x2f4b81)=>{_0x5b2504[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x388650,_0x2f4b81),_0x37c68d[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x2bc338=>{_0x2bc338!=_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64])&&_0x388650(_0x2bc338);},_0x2f4b81);}):_0x5b2504||_0x37c68d||_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c9c42(_0x41aa81,_0x5b7ae4){return new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x72948e=>{if(_0x1bfb7e())return _0x72948e(_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64]));_0x29e015(),_0x4d2433[_0xb6ab2f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb6ab2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2425a1=!0x1;const _0x568b6a=_0x31f20c();function _0x41fc63(_0x1aff4f){return!!_0x1aff4f&&(typeof _0x1aff4f===_0xb6ab2f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1aff4f===_0xb6ab2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1aff4f[_0xb6ab2f([0x74,0x68,0x65,0x6e])]===_0xb6ab2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1aff4f[_0xb6ab2f([0x63,0x61,0x74,0x63,0x68])]===_0xb6ab2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46e36c(_0x4f5c76){_0x5314f4(_0x4f5c76)[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x14d28e=>{if(!_0x14d28e||_0x14d28e[_0xb6ab2f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb6ab2f([0x6f,0x6b]))return _0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x334226(_0x1c252c(_0x568b6a+_0x5b7ae4))!=_0x14d28e[_0xb6ab2f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64]);})[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x59f978=>(_0x40a538(),_0x59f978),()=>{const _0x2f8c53=_0x3775f5();return null==_0x2f8c53?(_0x40a538(),_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64])):_0xb6ab2f(_0x2fcf5b-_0x2f8c53>(0x63ae0106^_0x417202)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x72948e)[_0xb6ab2f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x72948e(_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e25b0=0x47946b86^_0x417202;function _0x40a538(){const _0x5dbb03=_0xb6ab2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x334226(_0x1c252c(_0x41aa81)),_0x95f3c2=_0x803bf5(_0x334226(window[_0xb6ab2f([0x4d,0x61,0x74,0x68])][_0xb6ab2f([0x63,0x65,0x69,0x6c])](_0x2fcf5b/_0x3e25b0)));window[_0xb6ab2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6ab2f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dbb03,_0x95f3c2);}function _0x3775f5(){const _0x1bc7b8=_0xb6ab2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x334226(_0x1c252c(_0x41aa81)),_0x396872=window[_0xb6ab2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6ab2f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bc7b8);return _0x396872?window[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x803bf5(_0x396872),0x10)*_0x3e25b0:null;}function _0x5314f4(_0x125a2f){return new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd87939,_0x30c3a2)=>{_0x125a2f[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0xd87939,_0x30c3a2),window[_0xb6ab2f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30c3a2,0x47a351c6^_0x417202);});}}_0x4d2433[_0xb6ab2f([0x6f,0x6e])](_0xb6ab2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x65749a,_0x1b8605)=>{if(_0x1b8605[0x0]!=_0x41aa81)return _0x72948e(_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b8605[0x1]={..._0x1b8605[0x1],[_0xb6ab2f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x568b6a};},{[_0xb6ab2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6ab2f([0x68,0x69,0x67,0x68])}),_0x4d2433[_0xb6ab2f([0x6f,0x6e])](_0xb6ab2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38cae9=>{_0x41fc63(_0x38cae9[_0xb6ab2f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2425a1=!0x0,_0x46e36c(_0x38cae9[_0xb6ab2f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb6ab2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6ab2f([0x6c,0x6f,0x77])}),_0xe966b9[_0xb6ab2f([0x74,0x68,0x65,0x6e])](()=>{_0x2425a1||_0x72948e(_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bfb7e(){return _0x4d2433[_0xb6ab2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6ab2f([0x76,0x69,0x65,0x77])][_0xb6ab2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb6ab2f([0x61,0x75,0x74,0x6f]);}function _0x29e015(){_0x4d2433[_0xb6ab2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6ab2f([0x76,0x69,0x65,0x77])][_0xb6ab2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb6ab2f([0x61,0x75,0x74,0x6f]);}}function _0xf0268d(_0x8b7495){const _0x2f19b9=[new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb796e2=>setTimeout(_0xb796e2,0x47abbbca^_0x417202)),_0xe966b9[_0xb6ab2f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23752e=>{let _0x43aa0d=0x0;_0x4d2433[_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6ab2f([0x6f,0x6e])](_0xb6ab2f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ef49f,_0x7a39ed)=>{_0x7a39ed[0x0][_0xb6ab2f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43aa0d++,_0x43aa0d==(0x47a284fe^_0x417202)&&(_0x23752e(),_0x2ef49f[_0xb6ab2f([0x6f,0x66,0x66])]());});}))];return window[_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb6ab2f([0x72,0x61,0x63,0x65])](_0x2f19b9)[_0xb6ab2f([0x74,0x68,0x65,0x6e])](()=>_0x8b7495);}async function _0x3660ae(){await _0xe966b9,_0x4d2433[_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6ab2f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1550f3,_0x4d2433[_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6ab2f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1550f3,_0x4d2433[_0xb6ab2f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x129e56(_0x5d5bda){const _0x41b361=_0x21816a();_0x4d2433[_0x41b361]=_0xb6ab2f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d5bda,_0x5d5bda!=_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64])&&_0x3660ae();}function _0x21816a(){const _0x51bc0e=window[_0xb6ab2f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb6ab2f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb6ab2f([0x6e,0x6f,0x77])]())[_0xb6ab2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb6ab2f([0x2e]),'');let _0x3eb835=_0xb6ab2f([0x75]);for(let _0x1cb5f8=0x0;_0x1cb5f8<_0x51bc0e[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cb5f8+=0x2){let _0x22c765=window[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51bc0e[_0xb6ab2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cb5f8,_0x1cb5f8+0x2));_0x22c765>=_0x277865[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22c765-=_0x277865[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3eb835+=_0x277865[_0x22c765];}return _0x3eb835;}function _0x951365(){const _0x2f2f31=_0x3ab3ac[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e]));if(0x3!=_0x2f2f31[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x257dcc(_0x2f2f31[0x1]);function _0x257dcc(_0x371308){const _0x23ab21=_0x2e7bbf(_0x371308);return _0x23ab21&&_0x780c43()?_0x23ab21:null;function _0x780c43(){const _0x3037b4=_0x23ab21[_0xb6ab2f([0x6a,0x74,0x69])],_0x4ea88e=window[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3037b4[_0xb6ab2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3037b4[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58f919={..._0x23ab21,[_0xb6ab2f([0x6a,0x74,0x69])]:_0x3037b4[_0xb6ab2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3037b4[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58f919[_0xb6ab2f([0x76,0x63])],_0x1c252c(_0x58f919)==_0x4ea88e;}}}async function _0x132255(){let _0x4ac1fc=!0x0;try{const _0x538617=_0x3ab3ac[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e])),[_0x1f4d5b,_0x31e885,_0x400c2f]=_0x538617;return _0x2cdf6f(_0x1f4d5b),await _0x2ee328(_0x1f4d5b,_0x31e885,_0x400c2f),_0x4ac1fc;}catch{return!0x1;}function _0x2cdf6f(_0x452635){const _0x3e8ebe=_0x2e7bbf(_0x452635);_0x3e8ebe&&_0x3e8ebe[_0xb6ab2f([0x61,0x6c,0x67])]==_0xb6ab2f([0x45,0x53,0x32,0x35,0x36])||(_0x4ac1fc=!0x1);}async function _0x2ee328(_0x46ef3b,_0x24ab4d,_0x4ff9a4){const _0x3571a8=window[_0xb6ab2f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb6ab2f([0x66,0x72,0x6f,0x6d])](_0x4bee19(_0x4ff9a4),_0x328384=>_0x328384[_0xb6ab2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1defbb=new window[(_0xb6ab2f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb6ab2f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46ef3b+_0xb6ab2f([0x2e])+_0x24ab4d),_0x2f1694=window[_0xb6ab2f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb6ab2f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f1694)return;const _0xa774=await _0x2f1694[_0xb6ab2f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb6ab2f([0x6a,0x77,0x6b]),_0x1905e7,{[_0xb6ab2f([0x6e,0x61,0x6d,0x65])]:_0xb6ab2f([0x45,0x43,0x44,0x53,0x41]),[_0xb6ab2f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb6ab2f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb6ab2f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f1694[_0xb6ab2f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb6ab2f([0x6e,0x61,0x6d,0x65])]:_0xb6ab2f([0x45,0x43,0x44,0x53,0x41]),[_0xb6ab2f([0x68,0x61,0x73,0x68])]:{[_0xb6ab2f([0x6e,0x61,0x6d,0x65])]:_0xb6ab2f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa774,_0x3571a8,_0x1defbb)||(_0x4ac1fc=!0x1);}}function _0x2e7bbf(_0x35bf02){return _0x35bf02[_0xb6ab2f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb6ab2f([0x65,0x79]))?JSON[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65])](_0x4bee19(_0x35bf02)):null;}function _0x4bee19(_0xdc3584){return window[_0xb6ab2f([0x61,0x74,0x6f,0x62])](_0xdc3584[_0xb6ab2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb6ab2f([0x2b]))[_0xb6ab2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb6ab2f([0x2f])));}function _0x1c252c(_0x151986){let _0x4c7646=0x1505;function _0x7001c9(_0x44521f){for(let _0x1fa00c=0x0;_0x1fa00c<_0x44521f[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fa00c++){const _0x3bbcb6=_0x44521f[_0xb6ab2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1fa00c);_0x4c7646=(_0x4c7646<<0x5)+_0x4c7646+_0x3bbcb6,_0x4c7646&=_0x4c7646;}}function _0x1d39ea(_0x598543){Array[_0xb6ab2f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x598543)?_0x598543[_0xb6ab2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d39ea):_0x598543&&typeof _0x598543==_0xb6ab2f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb6ab2f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x598543)[_0xb6ab2f([0x73,0x6f,0x72,0x74])]()[_0xb6ab2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1028d4,_0x4b3d28])=>{_0x7001c9(_0x1028d4),_0x1d39ea(_0x4b3d28);}):_0x7001c9(window[_0xb6ab2f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x598543));}return _0x1d39ea(_0x151986),_0x4c7646>>>0x0;}function _0x334226(_0xbfd73a){return _0xbfd73a[_0xb6ab2f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb6ab2f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb6ab2f([0x30]));}function _0x803bf5(_0x2cbd33){return _0x2cbd33[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb6ab2f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb6ab2f([0x6a,0x6f,0x69,0x6e])]('');}function _0x1550f3(){}function _0xb6ab2f(_0x57367c){return _0x57367c['map'](_0x4f5063=>String['fromCharCode'](_0x4f5063))['join']('');}_0x129e56(await _0x2856b6());}(this);}['_moveSelectionToFootnoteDefinition'](_0xc31e1c){const {plugins:_0x56216d,editing:_0x268fe6,model:_0x598714}=this['editor'],_0x1103dc=_0x56216d['get'](_0x1a4ea5)['getFootnote'](_0xc31e1c);return!!_0x1103dc&&(_0x598714['change'](_0x4a9c89=>{_0x4a9c89['setSelection'](_0x4a9c89['createPositionAt'](_0x1103dc['definition'],'end'));}),_0x268fe6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2d98d0){const {plugins:_0x59e6b4,editing:_0x2498fc,model:_0x1a7d5c}=this['editor'],_0x50ce12=_0x59e6b4['get'](_0x1a4ea5)['getFootnote'](_0x2d98d0);return!!_0x50ce12&&(_0x1a7d5c['change'](_0x1d81ac=>{_0x1d81ac['setSelection'](_0x50ce12['reference'],'on');}),_0x2498fc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32fc94}=this['editor']['model'],_0x4a9a43=this['editor']['config']['get']('footnotes.multiBlock');_0x32fc94['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32fc94['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32fc94['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4a9a43?_0x32fc94['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32fc94['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32fc94['addChildCheck'](_0x23124e=>{for(const _0x431d81 of _0x23124e)if('footnoteDefinition'===_0x431d81['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x9391d1}=this,{conversion:_0x3835ec,editing:_0xa2dee5}=_0x9391d1,{t:t}=_0x9391d1['locale'];_0x3835ec['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3c1b94,{writer:_0x456051,consumable:_0x442e46})=>{const _0x418ce6=_0x3c1b94['getChild'](0x0);if(!_0x418ce6||!_0x418ce6['is']('element','a'))return null;const _0x17fc81=_0x418ce6['getAttribute']('href')||'';if(!_0x17fc81['startsWith']('#'))return null;const _0x4d1c19=_0x17fc81['replace'](/^#/,'');if(!_0x4d1c19)return null;_0x442e46['consume'](_0x418ce6,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ab087}of _0xa2dee5['view']['createRangeIn'](_0x418ce6))_0x1ab087['is']('$textProxy')?_0x442e46['consume'](_0x1ab087['textNode'],{'name':!0x0}):_0x1ab087['is']('element')&&_0x442e46['consume'](_0x1ab087,{'name':!0x0});return _0x456051['createElement']('footnoteRef',{'footnoteId':_0x4d1c19});}}),_0x3835ec['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b087c,{writer:_0x49632b})=>D(_0x5b087c,_0x49632b)}),_0x3835ec['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x212966,{writer:_0x2989d9})=>{const _0x2a2549=_0x212966['getAttribute']('footnoteCounter');return _0x45445f(D(_0x212966,_0x2989d9),_0x2989d9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2a2549)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1c9152}=this,{t:t}=_0x1c9152['locale'],{conversion:_0x217300}=_0x1c9152;_0x217300['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x217300['for']('upcast')['add'](_0x1dfb1a=>{_0x1dfb1a['on']('element:ol',(_0x5b0ac0,_0x18ee1c,_0x3af315)=>{const _0x5efa02=_0x18ee1c['viewItem'];if(!_0x5efa02['hasClass']('footnotes-list')||!_0x18ee1c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3af315['consumable']['consume'](_0x5efa02,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x11626d,modelCursor:_0x288b25}=_0x3af315['convertChildren'](_0x18ee1c['viewItem'],_0x18ee1c['modelCursor']);_0x18ee1c['modelRange']=_0x11626d,_0x18ee1c['modelCursor']=_0x288b25;}),_0x1dfb1a['on']('element:hr',(_0x52c618,_0x1c685d,_0x41fb72)=>{const _0x10beb6=_0x1c685d['viewItem'];_0x10beb6['hasClass']('footnotes-divider')&&_0x1c685d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x41fb72['consumable']['consume'](_0x10beb6,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x217300['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24f685,{writer:_0x959c18})=>v(_0x959c18)}),_0x217300['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1fad25,{writer:_0x463ec2})=>{const _0x24f47d=v(_0x463ec2,{'data-footnotes-list-label':t('Footnotes')}),_0x5237a4=_0x45445f(_0x24f47d,_0x463ec2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x463ec2['setCustomProperty']('footnotesDefinitions',!0x0,_0x5237a4),_0x5237a4;}});}['_defineDefinitionConverters'](){const {editor:_0x51e67b}=this,{conversion:_0x7e8b78,locale:_0x39d276}=_0x51e67b,_0x4e282a=_0x51e67b['config']['get']('footnotes.multiBlock');_0x7e8b78['for']('upcast')['add'](_0x3448cc=>{_0x3448cc['on']('element:li',(_0x5e0e39,_0x135f15,_0x1a4616)=>{const _0x4e2eb4=_0x135f15['viewItem'];if(!_0x4e2eb4['hasClass']('footnote-definition')||!_0x4e2eb4['getAttribute']('id'))return;const _0x3155af=_0x4e2eb4['parent'];if(!_0x3155af['is']('element','ol')||!_0x3155af['hasClass']('footnotes-list'))return;if(!_0x1a4616['consumable']['test'](_0x4e2eb4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3c8b78=_0x1a4616['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4e2eb4['getAttribute']('id')});if(!_0x1a4616['safeInsert'](_0x3c8b78,_0x135f15['modelCursor']))return;_0x1a4616['consumable']['consume'](_0x4e2eb4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x28ca0f=Array['from'](_0x4e2eb4['getChildren']())['find'](_0x13ee0b=>_0x13ee0b['is']('element')&&_0x13ee0b['hasClass']('footnote-content'));for(const _0x4dbcf0 of _0x4e2eb4['getChildren']())_0x4dbcf0['is']('element')&&(_0x1a4616['consumable']['consume'](_0x4dbcf0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1a4616['consumable']['consume'](_0x4dbcf0,{'name':!0x0,'classes':'footnote-content'}));if(_0x28ca0f){if(_0x4e282a)_0x1a4616['convertChildren'](_0x28ca0f,_0x3c8b78);else{const _0x1ff6f6=_0x1a4616['writer']['createElement']('footnoteInlineContent');_0x1a4616['writer']['insert'](_0x1ff6f6,_0x3c8b78),_0x1a4616['convertChildren'](_0x28ca0f,_0x1ff6f6);}}_0x1a4616['updateConversionResult'](_0x3c8b78,_0x135f15);});}),_0x7e8b78['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4f53fb,{writer:_0x1345aa})=>b(_0x4f53fb,_0x1345aa,_0x39d276,{'dataPipeline':!0x0})}),_0x7e8b78['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3041bb,{writer:_0x1cd7f1})=>b(_0x3041bb,_0x1cd7f1,_0x39d276)});}['_defineBogusParagraphConverters'](){const {editor:_0x62fa73}=this,{conversion:_0x4a1fde}=_0x62fa73;_0x62fa73['config']['get']('footnotes.multiBlock')?(_0x4a1fde['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4a1fde['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x62fa73['model']['document'],'change:data',()=>{!function(_0x5c37f8,_0x5b1fb7){const _0xeb4067=_0x5c37f8['document']['differ'],_0x343baa=new Set();for(const _0x32f2f0 of _0xeb4067['getChanges']()){const _0x474ef8='attribute'==_0x32f2f0['type']?_0x32f2f0['range']['start']['parent']:_0x32f2f0['position']['parent'];_0x474ef8['is']('element','footnoteDefinition')&&_0x343baa['add'](_0x474ef8);}for(const _0x4e45ff of _0x343baa['values']()){const _0xfc6e30=Array['from'](_0x4e45ff['getChildren']())['filter'](_0x3e9845=>g(_0x3e9845,_0x5b1fb7['mapper']));for(const _0x23caeb of _0xfc6e30)_0x5b1fb7['reconvertItem'](_0x23caeb);}}(_0x62fa73['model'],_0x62fa73['editing']);})):(_0x4a1fde['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4a1fde['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2d788e,{writer:_0x17ef42})=>{const _0x4d9175=_0x17ef42['createContainerElement']('span');return _0x17ef42['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4d9175),_0x4d9175;}}));}['_defineKeyboardHandlers'](){const {editor:_0x13fb81}=this,{editing:_0x5d1ed2,t:t}=_0x13fb81,_0x70c0dd=_0x13fb81['model']['document']['selection'];_0x13fb81['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x13fb81['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d1ed2['view']['document'],'enter',(_0xcd1f78,_0xbb0a20)=>{const _0x4fd5d5=function(_0x1206b7){const _0x8f8d5a=_0x1206b7['getSelectedElement']();if(_0x8f8d5a?.['is']('element','footnoteRef'))return _0x8f8d5a;return null;}(_0x70c0dd);if(_0x4fd5d5){const _0x5584a6=_0x4fd5d5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5584a6),_0xbb0a20['preventDefault'](),_0xcd1f78['stop']();}},{'context':_0x59a34c});}['_defineClickHandlers'](){const {editor:_0x5d36bb}=this,{editing:_0x25248c}=_0x5d36bb;_0x5d36bb['editing']['view']['addObserver'](_0x592a32),_0x5d36bb['editing']['view']['addObserver'](_0x59771c);let _0x2483e1=!0x1;this['listenTo'](_0x25248c['view']['document'],'pointerdown',(_0x136f16,_0x29be29)=>{const {target:_0x152a72}=_0x29be29,_0x5014be=_0x25248c['view']['document']['selection'];_0x2483e1=!!(_0x152a72?.['is']('element','a')&&_0x152a72['parent']?.['is']('element','sup')&&_0x152a72['parent']['hasClass']('footnote'))&&_0x5014be['getSelectedElement']()===_0x152a72['parent'];},{'priority':'high'}),this['listenTo'](_0x25248c['view']['document'],'click',(_0x3935a3,_0x493b54)=>{const {target:_0x45ccd0}=_0x493b54;if(!_0x45ccd0?.['is']('element','a'))return;if(_0x45ccd0['parent']?.['is']('element','sup')&&_0x45ccd0['parent']['hasClass']('footnote')&&!_0x2483e1)return void _0x493b54['preventDefault']();let _0x53354c=_0x45ccd0['getAttribute']('href');if(!_0x53354c?.['startsWith']('#'))return;_0x53354c=_0x53354c['slice'](0x1);let _0x37c0e1=!0x1;(_0x53354c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x53354c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x53354c))&&(_0x37c0e1=!0x0),_0x37c0e1&&(_0x493b54['preventDefault'](),_0x3935a3['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x38acf2}={}){return(_0x13c065,{writer:_0x48c797})=>{if(!p(_0x13c065))return null;if(!_0x38acf2)return _0x48c797['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x102f9f=_0x48c797['createContainerElement']('p');return _0x48c797['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x102f9f),_0x102f9f;};}function p(_0x484b70){const {parent:_0x4e8141}=_0x484b70;if(!_0x4e8141?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4e8141['childCount'])return!0x1;for(const _0x188045 of _0x484b70['getAttributeKeys']())if(!_0x188045['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x188045)return!0x1;return!0x0;}function g(_0x33798d,_0x4be6a2){if(!_0x33798d['is']('element','paragraph'))return!0x1;const _0xe8066f=_0x4be6a2['toViewElement'](_0x33798d);return!!_0xe8066f&&p(_0x33798d)!==_0xe8066f['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x26510d){return _0x59a34c(_0x26510d)&&_0x26510d['is']('containerElement')&&!!_0x26510d['getCustomProperty']('footnotesDefinitions');}function v(_0x113b5d,_0x40d717={}){const _0x5a78f8=_0x113b5d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x264845=_0x113b5d['createContainerElement']('ol',{'class':'footnotes-list'},_0x113b5d['createSlot']());return _0x113b5d['createContainerElement']('div',{'class':'footnotes',..._0x40d717},[_0x5a78f8,_0x264845]);}function D(_0x8a8a9f,_0x23ab0b){const _0x3898c8=_0x8a8a9f['getAttribute']('footnoteId'),_0x35705e=_0x8a8a9f['getAttribute']('footnoteCounter'),_0x4f293b=_0x23ab0b['createUIElement']('a',{'href':'#'+_0x3898c8},function(_0x571dae){const _0x391507=this['toDomElement'](_0x571dae);return _0x391507['textContent']=_0x35705e,_0x391507;}),_0x591fe4=_0x23ab0b['createContainerElement']('sup',{'id':'ref-'+_0x3898c8,'class':'footnote'},[_0x4f293b]);return _0x591fe4['getFillerOffset']=()=>null,_0x591fe4;}function b(_0x293247,_0x51174e,_0x17e565,{dataPipeline:_0x48bf4e}={}){const {t:t}=_0x17e565,_0xb1e301=_0x293247['getAttribute']('footnoteId'),_0x974b01=_0x51174e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xb1e301},function(_0x4e4da2){const _0x2e9638=this['toDomElement'](_0x4e4da2);return _0x2e9638['innerText']='^',_0x2e9638;}),_0x54c346=_0x48bf4e?_0x51174e['createContainerElement']('div',{'class':'footnote-content'}):_0x357d76(_0x51174e['createEditableElement']('div',{'class':'footnote-content'}),_0x51174e,{'label':t('Footnote\x20content.')});return _0x51174e['insert'](_0x51174e['createPositionAt'](_0x54c346,0x0),_0x51174e['createSlot']()),_0x51174e['createContainerElement']('li',{'class':'footnote-definition','id':_0xb1e301},[_0x974b01,_0x54c346]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x89bd(_0x14641a,_0x11b006){const _0x28edd9=_0x28ed();return _0x89bd=function(_0x89bdcf,_0x2bd960){_0x89bdcf=_0x89bdcf-0x1dd;let _0x22a321=_0x28edd9[_0x89bdcf];return _0x22a321;},_0x89bd(_0x14641a,_0x11b006);}const _0x330803=_0x89bd;(function(_0x360212,_0x1031ab){const _0x23587d=_0x89bd,_0x43e1ef=_0x360212();while(!![]){try{const _0x113b9b=parseInt(_0x23587d(0x1f1))/0x1+parseInt(_0x23587d(0x1ed))/0x2+-parseInt(_0x23587d(0x1e2))/0x3+parseInt(_0x23587d(0x1f0))/0x4*(-parseInt(_0x23587d(0x1dd))/0x5)+parseInt(_0x23587d(0x1e3))/0x6+parseInt(_0x23587d(0x1de))/0x7+-parseInt(_0x23587d(0x1f2))/0x8;if(_0x113b9b===_0x1031ab)break;else _0x43e1ef['push'](_0x43e1ef['shift']());}catch(_0x44d2bc){_0x43e1ef['push'](_0x43e1ef['shift']());}}}(_0x28ed,0xd469e));import{Command as _0x519c52}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x1322a6}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x519c52{[_0x330803(0x1df)](){const _0x55f926=_0x330803,{editor:_0x14629e}=this,_0x517bb5=_0x14629e[_0x55f926(0x1ee)][_0x55f926(0x1e7)](_0x1322a6)[_0x55f926(0x1e0)]();this[_0x55f926(0x1e6)]=!!_0x517bb5,this[_0x55f926(0x1ea)]=_0x517bb5?.[_0x55f926(0x1ef)](_0x55f926(0x1e1))??null;}[_0x330803(0x1eb)]({value:_0xb9c4d5}){const _0x5b6ae6=_0x330803,{editor:_0x9a55ee}=this,_0x5f380b=_0x9a55ee[_0x5b6ae6(0x1ee)][_0x5b6ae6(0x1e7)](_0x1322a6),_0x246797=_0x5f380b[_0x5b6ae6(0x1e0)]();_0x246797&&Number[_0x5b6ae6(0x1e4)](_0xb9c4d5)&&_0x9a55ee[_0x5b6ae6(0x1ec)][_0x5b6ae6(0x1e5)](_0x1f491d=>{const _0x5b0b61=_0x5b6ae6;_0x1f491d[_0x5b0b61(0x1e8)](_0x5b0b61(0x1e1),_0xb9c4d5,_0x246797),_0x5f380b[_0x5b0b61(0x1e9)](_0x1f491d);});}}function _0x28ed(){const _0x16b5f7=['getFootnotesDefinitionsObjectElement','footnotesListStart','1859823LtzIyb','1024998mUMgsv','isInteger','change','isEnabled','get','setAttribute','_updateFootnotesCounters','value','execute','model','1080058jkxLwj','plugins','getAttribute','4kgmGXo','610779PLRDsA','4358208zBNHId','2518170FNNesL','8517292jHAXNo','refresh'];_0x28ed=function(){return _0x16b5f7;};return _0x28ed();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a16d3=_0x280b;(function(_0x2e10e0,_0x5528bf){const _0x3c7555=_0x280b,_0x3ce404=_0x2e10e0();while(!![]){try{const _0x3cd5db=parseInt(_0x3c7555(0xcc))/0x1*(-parseInt(_0x3c7555(0xc5))/0x2)+-parseInt(_0x3c7555(0xc3))/0x3*(-parseInt(_0x3c7555(0xb9))/0x4)+-parseInt(_0x3c7555(0xc8))/0x5+-parseInt(_0x3c7555(0xbb))/0x6+-parseInt(_0x3c7555(0xbc))/0x7+-parseInt(_0x3c7555(0xb5))/0x8*(-parseInt(_0x3c7555(0xb6))/0x9)+-parseInt(_0x3c7555(0xc6))/0xa*(-parseInt(_0x3c7555(0xb8))/0xb);if(_0x3cd5db===_0x5528bf)break;else _0x3ce404['push'](_0x3ce404['shift']());}catch(_0x1c3387){_0x3ce404['push'](_0x3ce404['shift']());}}}(_0x2c83,0xbaff5));import{Command as _0x30e1e3}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x4d651d}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1be578}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x30e1e3{[_0x5a16d3(0xc0)](){const _0x528dc2=_0x5a16d3,{editor:_0x19dd3d}=this,_0x34261a=_0x19dd3d[_0x528dc2(0xb7)][_0x528dc2(0xc7)](_0x1be578)[_0x528dc2(0xba)]();this[_0x528dc2(0xca)]=!!_0x34261a,this[_0x528dc2(0xc2)]=_0x34261a?.[_0x528dc2(0xbf)](_0x528dc2(0xcd))??null;}[_0x5a16d3(0xbe)]({value:_0x5e637a}){const _0x27559a=_0x5a16d3,{editor:_0x4b4bc0}=this,_0x459c7b=_0x4b4bc0[_0x27559a(0xb7)][_0x27559a(0xc7)](_0x1be578),_0x416364=_0x459c7b[_0x27559a(0xba)]();_0x416364&&_0x4d651d[_0x27559a(0xc1)](_0x5e637a)&&_0x4b4bc0[_0x27559a(0xc4)][_0x27559a(0xcb)](_0x16cd8b=>{const _0x31d00c=_0x27559a;_0x16cd8b[_0x31d00c(0xc9)](_0x31d00c(0xcd),_0x5e637a,_0x416364),_0x459c7b[_0x31d00c(0xbd)](_0x16cd8b);});}}function _0x280b(_0x48a951,_0xa5c3ad){const _0x2c8333=_0x2c83();return _0x280b=function(_0x280b88,_0x5a58c5){_0x280b88=_0x280b88-0xb5;let _0x5e0d9d=_0x2c8333[_0x280b88];return _0x5e0d9d;},_0x280b(_0x48a951,_0xa5c3ad);}function _0x2c83(){const _0x390327=['plugins','80157yZupsv','12036SYaURU','getFootnotesDefinitionsObjectElement','6036360lkORpN','7406889SjOLMJ','_updateFootnotesCounters','execute','getAttribute','refresh','includes','value','1128XJxkig','model','2qTeqBq','3510Jyotud','get','4090075guBZzw','setAttribute','isEnabled','change','595112EeFCIq','footnotesListStyle','4433072MEEVCY','9aopUBK'];_0x2c83=function(){return _0x390327;};return _0x2c83();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x389930=_0x18bf;function _0x18bf(_0x4d207f,_0x1e40c1){const _0x1ef648=_0x1ef6();return _0x18bf=function(_0x18bf34,_0x3a8177){_0x18bf34=_0x18bf34-0x163;let _0x19775f=_0x1ef648[_0x18bf34];return _0x19775f;},_0x18bf(_0x4d207f,_0x1e40c1);}function _0x1ef6(){const _0x3d588c=['lower-latin','decimal-leading-zero','upper-latin','7451136wbGjQZ','lower-roman','49567752TRZtlR','801539wnEQxA','4008616tasOEl','decimal','5123418fmFfZz','14235stkLAw','1160044KTElUk','lower-alpha','upper-alpha','upper-roman','2148mYyXCd','21MTaeKa'];_0x1ef6=function(){return _0x3d588c;};return _0x1ef6();}(function(_0x2a365e,_0x45c77d){const _0x3617cb=_0x18bf,_0xeb63f9=_0x2a365e();while(!![]){try{const _0x482091=parseInt(_0x3617cb(0x170))/0x1+parseInt(_0x3617cb(0x164))/0x2+-parseInt(_0x3617cb(0x173))/0x3+parseInt(_0x3617cb(0x168))/0x4*(-parseInt(_0x3617cb(0x163))/0x5)+-parseInt(_0x3617cb(0x16d))/0x6+parseInt(_0x3617cb(0x169))/0x7*(-parseInt(_0x3617cb(0x171))/0x8)+parseInt(_0x3617cb(0x16f))/0x9;if(_0x482091===_0x45c77d)break;else _0xeb63f9['push'](_0xeb63f9['shift']());}catch(_0x1c12f5){_0xeb63f9['push'](_0xeb63f9['shift']());}}}(_0x1ef6,0xdd85d));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x389930(0x172),_0x389930(0x16b),_0x389930(0x16a),_0x389930(0x16c),_0x389930(0x165),_0x389930(0x166),_0x389930(0x16e),_0x389930(0x167)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x58faee=_0x2bfc;(function(_0x5331a3,_0x4bfa31){const _0x186460=_0x2bfc,_0x489bcd=_0x5331a3();while(!![]){try{const _0x1b2ae2=parseInt(_0x186460(0x152))/0x1*(parseInt(_0x186460(0x147))/0x2)+parseInt(_0x186460(0x154))/0x3+-parseInt(_0x186460(0x131))/0x4+parseInt(_0x186460(0x141))/0x5*(parseInt(_0x186460(0x14a))/0x6)+parseInt(_0x186460(0x11d))/0x7+-parseInt(_0x186460(0x106))/0x8*(parseInt(_0x186460(0x11b))/0x9)+-parseInt(_0x186460(0x123))/0xa*(parseInt(_0x186460(0x12d))/0xb);if(_0x1b2ae2===_0x4bfa31)break;else _0x489bcd['push'](_0x489bcd['shift']());}catch(_0x2e5503){_0x489bcd['push'](_0x489bcd['shift']());}}}(_0x432d,0xde3e6));import{Plugin as _0x35f17a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x106a04}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x179367}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4e8966}from'../footnotestracker.js';function _0x2bfc(_0x420b37,_0x14ffb8){const _0x432da3=_0x432d();return _0x2bfc=function(_0x2bfcdb,_0x5e0e2e){_0x2bfcdb=_0x2bfcdb-0x102;let _0x276065=_0x432da3[_0x2bfcdb];return _0x276065;},_0x2bfc(_0x420b37,_0x14ffb8);}import{FootnotesEditing as _0x49dc1e}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x35f17a{static get[_0x58faee(0x12f)](){const _0x5bddd6=_0x58faee;return _0x5bddd6(0x127);}static get[_0x58faee(0x13d)](){return[_0x49dc1e,_0x4e8966];}static get[_0x58faee(0x10b)](){return!0x0;}static get[_0x58faee(0x164)](){return!0x0;}[_0x58faee(0x119)](){const _0x4c7240=_0x58faee,{editor:_0x51bb25}=this;_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x144),_0x4c7240(0x137)),_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x163),0x1),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x145),new _0x106a04(_0x51bb25)),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x133),new _0x179367(_0x51bb25)),this[_0x4c7240(0x15c)](),this[_0x4c7240(0x138)](),this[_0x4c7240(0x13b)](),this[_0x4c7240(0x109)]();}[_0x58faee(0x15c)](){const _0x2440f6=_0x58faee,{editor:_0x24622e}=this,{schema:_0x4bed1a}=_0x24622e[_0x2440f6(0x14e)];_0x4bed1a[_0x2440f6(0x12a)](_0x2440f6(0x14b),{'allowAttributes':[_0x2440f6(0x15b),_0x2440f6(0x157)]});}[_0x58faee(0x138)](){const _0x3ae02e=_0x58faee,{editor:_0x26eac6}=this,{conversion:_0x381915,model:_0x180df2}=_0x26eac6,{schema:_0x742c13}=_0x180df2;_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x10e))[_0x3ae02e(0x153)](_0x50b32a=>{const _0x50a3ec=_0x3ae02e;_0x50b32a['on'](_0x50a3ec(0x15e),(_0x191a97,_0xcc9ced,_0x5b7ab8)=>{const _0x5299f8=_0x50a3ec,_0x4d4cb4=_0xcc9ced[_0x5299f8(0x14c)],_0x240f35=_0xcc9ced[_0x5299f8(0x15a)]?.[_0x5299f8(0x112)];_0x4d4cb4[_0x5299f8(0x121)](_0x5299f8(0x14d))&&_0x240f35?.['is'](_0x5299f8(0x110),_0x5299f8(0x14b))&&(function(_0x4a3d30,_0x5179b8,_0x1661ef,_0x4b8c36){const _0x2ce451=_0x5299f8;if(!_0x4b8c36[_0x2ce451(0x11c)](_0x5179b8,_0x2ce451(0x157)))return;let _0x927b53=0x1;const _0x15aa53=_0x1661ef[_0x2ce451(0x11f)][_0x2ce451(0x13c)](_0x4a3d30,{'attributes':_0x2ce451(0x12c)});if(_0x15aa53){const _0x49d818=Number[_0x2ce451(0x143)](_0x4a3d30[_0x2ce451(0x11a)](_0x2ce451(0x12c)),0xa);Number[_0x2ce451(0x120)](_0x49d818)||(_0x927b53=_0x49d818);}!_0x15aa53&&_0x5179b8[_0x2ce451(0x124)](_0x2ce451(0x157))||_0x1661ef[_0x2ce451(0x111)][_0x2ce451(0x130)](_0x2ce451(0x157),_0x927b53,_0x5179b8);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13),function(_0x42ec80,_0x212567,_0x4724c0,_0x166ebf){const _0x2d0696=_0x5299f8;if(!_0x166ebf[_0x2d0696(0x11c)](_0x212567,_0x2d0696(0x15b)))return;let _0x4b997a=_0x2d0696(0x137),_0x35ae24=!0x1;if(_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'attributes':_0x2d0696(0x161)})){const _0x35e1b5={0x1:_0x2d0696(0x137),'a':_0x2d0696(0x114),'A':_0x2d0696(0x14f),'i':_0x2d0696(0x12e),'I':_0x2d0696(0x13e)}[_0x42ec80[_0x2d0696(0x11a)](_0x2d0696(0x161))];_0x35e1b5&&(_0x4b997a=_0x35e1b5),_0x35ae24=!0x0;}_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'styles':_0x2d0696(0x151)})&&(_0x4b997a=_0x42ec80[_0x2d0696(0x108)](_0x2d0696(0x151)),_0x35ae24=!0x0),!_0x35ae24&&_0x212567[_0x2d0696(0x124)](_0x2d0696(0x15b))||_0x4724c0[_0x2d0696(0x111)][_0x2d0696(0x130)](_0x2d0696(0x15b),_0x4b997a,_0x212567);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13));});}),_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x129))[_0x3ae02e(0x153)](_0x478865=>{const _0xaefb6b=_0x3ae02e;_0x478865['on'](_0xaefb6b(0x117),(_0x578a83,_0x447584,_0xb71d9e)=>{const _0x4fa827=_0xaefb6b;if(!_0xb71d9e[_0x4fa827(0x11f)][_0x4fa827(0x13c)](_0x447584[_0x4fa827(0x160)],_0x578a83[_0x4fa827(0x115)]))return;const _0x18c6a1=M(_0x447584[_0x4fa827(0x160)],_0xb71d9e[_0x4fa827(0x104)]),{attributeNewValue:_0x4812f3}=_0x447584;null==_0x4812f3||0x1===_0x4812f3?_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x142)](_0x4fa827(0x12c),_0x18c6a1):_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x130)](_0x4fa827(0x12c),String(_0x4812f3),_0x18c6a1);}),_0x478865['on'](_0xaefb6b(0x134),(_0x49a92a,_0x106618,_0x5291e1)=>{const _0x1cfd09=_0xaefb6b;if(!_0x5291e1[_0x1cfd09(0x11f)][_0x1cfd09(0x13c)](_0x106618[_0x1cfd09(0x160)],_0x49a92a[_0x1cfd09(0x115)]))return;const _0x7c8d4=M(_0x106618[_0x1cfd09(0x160)],_0x5291e1[_0x1cfd09(0x104)]),{attributeNewValue:_0x9bb25}=_0x106618;_0x9bb25&&_0x1cfd09(0x137)!==_0x9bb25?_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x10f)](_0x1cfd09(0x151),_0x9bb25,_0x7c8d4):_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x118)](_0x1cfd09(0x151),_0x7c8d4);});});}[_0x58faee(0x109)](){const _0x117d70=_0x58faee,{editor:_0x34dc84}=this,{model:_0x170452}=_0x34dc84,_0x69a2fc=_0x34dc84[_0x117d70(0x155)][_0x117d70(0x10c)](_0x4e8966),_0x361d38=this[_0x117d70(0x166)](),_0x53562e=this[_0x117d70(0x139)]();_0x170452[_0x117d70(0x150)][_0x117d70(0x140)](_0x2b915e=>{const _0x4a4727=_0x117d70,_0x27c0df=_0x170452[_0x4a4727(0x150)][_0x4a4727(0x102)][_0x4a4727(0x116)]();let _0xc9dad5=!0x1;for(const _0x3337d1 of _0x27c0df){if(_0x4a4727(0x105)!==_0x3337d1[_0x4a4727(0x161)]||_0x4a4727(0x15f)===_0x3337d1[_0x4a4727(0x115)])continue;const _0x21b3a5=_0x170452[_0x4a4727(0x156)](_0x3337d1[_0x4a4727(0x146)][_0x4a4727(0x159)]);for(const _0x309a5f of _0x21b3a5[_0x4a4727(0x126)]())_0x309a5f['is'](_0x4a4727(0x110),_0x4a4727(0x14b))&&(!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x157))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x157))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x157),_0x53562e,_0x309a5f),_0xc9dad5=!0x0),!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x15b))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x15b))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x15b),_0x361d38,_0x309a5f),_0xc9dad5=!0x0));}return _0xc9dad5&&_0x69a2fc[_0x4a4727(0x10a)](_0x2b915e),_0xc9dad5;});}[_0x58faee(0x13b)](){const _0x4c9c6c=_0x58faee,{editor:_0x19c212}=this;_0x19c212[_0x4c9c6c(0x155)][_0x4c9c6c(0x10c)](_0x4e8966)[_0x4c9c6c(0x11e)](_0x51654c=>this[_0x4c9c6c(0x167)](_0x51654c));}[_0x58faee(0x166)](){const _0x29e918=_0x58faee;return this[_0x29e918(0x162)][_0x29e918(0x107)][_0x29e918(0x10c)](_0x29e918(0x144));}[_0x58faee(0x139)](){const _0x4888df=_0x58faee;return this[_0x4888df(0x162)][_0x4888df(0x107)][_0x4888df(0x10c)](_0x4888df(0x163));}[_0x58faee(0x167)]({container:_0x454450,value:_0x1c3dbc,digits:_0x4b2dc7}){const _0x4cd538=_0x58faee,_0x3b0ab3=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x15b)),_0x3ec109=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x157)),_0x53ab38=Math[_0x4cd538(0x128)](_0x1c3dbc)+(_0x3ec109??0x1)-0x1;switch(_0x3b0ab3){case _0x4cd538(0x12b):return function(_0x3aab68,_0x202e2b){const _0x26b171=_0x4cd538;return String(_0x3aab68)[_0x26b171(0x122)](_0x202e2b,'0');}(_0x53ab38,Math[_0x4cd538(0x135)](0x2,_0x4b2dc7));case _0x4cd538(0x114):case _0x4cd538(0x10d):return N(_0x53ab38,!0x1);case _0x4cd538(0x14f):case _0x4cd538(0x13a):return N(_0x53ab38,!0x0);case _0x4cd538(0x12e):return X(_0x53ab38,!0x1);case _0x4cd538(0x13e):return X(_0x53ab38,!0x0);default:return String(_0x53ab38);}}}function M(_0x1e2ca4,_0x4870ef){const _0xe9efd1=_0x58faee,_0x4c0ba4=_0x4870ef[_0xe9efd1(0x103)](_0x1e2ca4);return Array[_0xe9efd1(0x148)](_0x4c0ba4[_0xe9efd1(0x113)]())[_0xe9efd1(0x136)](_0x5b22a3=>_0x5b22a3['is'](_0xe9efd1(0x110),'ol')&&_0x5b22a3[_0xe9efd1(0x121)](_0xe9efd1(0x14d)));}function N(_0x4a307e,_0x57e301){const _0x211eef=_0x58faee;let _0xc9e8ac='',_0x49e072=_0x4a307e;for(;_0x49e072>0x0;){const _0x231c49=(_0x49e072-0x1)%0x1a;_0xc9e8ac=String[_0x211eef(0x125)](0x61+_0x231c49)+_0xc9e8ac,_0x49e072=Math[_0x211eef(0x128)]((_0x49e072-0x1)/0x1a);}return _0x57e301?_0xc9e8ac[_0x211eef(0x132)]():_0xc9e8ac;}function _0x432d(){const _0x218107=['hasAttribute','fromCharCode','getItems','FootnotesPropertiesEditing','floor','downcast','extend','decimal-leading-zero','start','99XiWawQ','lower-roman','pluginName','setAttribute','5988404XxCjlg','toUpperCase','footnotesStart','attribute:footnotesListStyle:footnotesDefinitions','max','find','decimal','_defineConverters','_getDefaultStartIndex','upper-latin','_defineFormatter','consume','requires','upper-roman','define','registerPostFixer','3921850ELxVkl','removeAttribute','parseInt','footnotes.footnotesProperties.defaultListStyle','footnotesStyle','position','382meYAlP','from','schema','6CZMATH','footnotesDefinitions','viewItem','footnotes-list','model','upper-alpha','document','list-style-type','6658puvCCa','add','4775808iRpFxE','plugins','createRangeOn','footnotesListStart','for','nodeAfter','modelCursor','footnotesListStyle','_defineSchema','commands','element:ol','$text','item','type','editor','footnotes.footnotesProperties.defaultStartIndex','isPremiumPlugin','toLowerCase','_getDefaultListStyle','_formatFootnoteListValue','differ','toViewElement','mapper','insert','11128jZRcBJ','config','getStyle','_definePostfixer','_updateFootnotesCounters','isOfficialPlugin','get','lower-latin','upcast','setStyle','element','writer','parent','getChildren','lower-alpha','name','getChanges','attribute:footnotesListStart:footnotesDefinitions','removeStyle','init','getAttribute','171yUzhQM','checkAttribute','340963ZJwaCs','setFootnoteFormatter','consumable','isNaN','hasClass','padStart','1403170ZbZRxJ'];_0x432d=function(){return _0x218107;};return _0x432d();}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(_0x290e03,_0x2bf331){const _0x9951b9=_0x58faee;let _0x41968c='',_0x301cdf=_0x290e03;for(const {value:_0x30b00f,numeral:_0x38f015}of V)for(;_0x301cdf>=_0x30b00f;)_0x41968c+=_0x38f015,_0x301cdf-=_0x30b00f;return _0x2bf331?_0x41968c:_0x41968c[_0x9951b9(0x165)]();}
|
|
23
|
+
function _0x4ad0(){const _0x44b8b2=['getAttribute','differ','1191602YDtuWJ','document','getItems','upper-latin','name','_defineFormatter','decimal-leading-zero','mapper','parent','_getDefaultListStyle','getChildren','_updateFootnotesCounters','6563412CynPof','schema','upper-roman','getStyle','6329853ADGSJL','insert','_definePostfixer','toUpperCase','1KxPVLw','4aaqdPp','decimal','isNaN','pluginName','upper-alpha','36645IAqJgE','getChanges','attribute:footnotesListStart:footnotesDefinitions','removeAttribute','init','822aYCQUA','consume','_getDefaultStartIndex','list-style-type','downcast','$text','isOfficialPlugin','checkAttribute','1305063CHgRDi','FootnotesPropertiesEditing','toViewElement','registerPostFixer','for','position','from','add','model','modelCursor','footnotesListStyle','footnotesStyle','removeStyle','commands','footnotesStart','44LmNUoL','lower-roman','start','attribute:footnotesListStyle:footnotesDefinitions','hasClass','padStart','nodeAfter','footnotesListStart','get','footnotes.footnotesProperties.defaultStartIndex','floor','setAttribute','_defineConverters','item','footnotesDefinitions','consumable','setStyle','setFootnoteFormatter','find','231180imyDWf','extend','upcast','plugins','type','toLowerCase','isPremiumPlugin','viewItem','651uNKbOL','define','_defineSchema','editor','footnotes.footnotesProperties.defaultListStyle','config','max','lower-alpha','_formatFootnoteListValue','lower-latin','footnotes-list','element','element:ol','51248YvdMMI','writer','createRangeOn','parseInt','hasAttribute','requires','fromCharCode'];_0x4ad0=function(){return _0x44b8b2;};return _0x4ad0();}function _0x375e(_0x2ca41e,_0x1f7dce){const _0x4ad07b=_0x4ad0();return _0x375e=function(_0x375e65,_0x39cd3c){_0x375e65=_0x375e65-0x186;let _0x4064a5=_0x4ad07b[_0x375e65];return _0x4064a5;},_0x375e(_0x2ca41e,_0x1f7dce);}const _0x1467e1=_0x375e;(function(_0x44ec69,_0x158d1c){const _0x1cfbb2=_0x375e,_0x493622=_0x44ec69();while(!![]){try{const _0x54990d=parseInt(_0x1cfbb2(0x1ca))/0x1*(-parseInt(_0x1cfbb2(0x1b6))/0x2)+parseInt(_0x1cfbb2(0x1dd))/0x3*(parseInt(_0x1cfbb2(0x1cb))/0x4)+-parseInt(_0x1cfbb2(0x1d0))/0x5*(parseInt(_0x1cfbb2(0x1d5))/0x6)+parseInt(_0x1cfbb2(0x1a0))/0x7*(parseInt(_0x1cfbb2(0x1ad))/0x8)+parseInt(_0x1cfbb2(0x1c6))/0x9+-parseInt(_0x1cfbb2(0x198))/0xa*(parseInt(_0x1cfbb2(0x1ec))/0xb)+parseInt(_0x1cfbb2(0x1c2))/0xc;if(_0x54990d===_0x158d1c)break;else _0x493622['push'](_0x493622['shift']());}catch(_0x599bda){_0x493622['push'](_0x493622['shift']());}}}(_0x4ad0,0x8fb9d));import{Plugin as _0x415c9b}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3f0003}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x4df650}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0xf99a7f}from'../footnotestracker.js';import{FootnotesEditing as _0x32938a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x415c9b{static get[_0x1467e1(0x1ce)](){const _0x4af2dd=_0x1467e1;return _0x4af2dd(0x1de);}static get[_0x1467e1(0x1b2)](){return[_0x32938a,_0xf99a7f];}static get[_0x1467e1(0x1db)](){return!0x0;}static get[_0x1467e1(0x19e)](){return!0x0;}[_0x1467e1(0x1d4)](){const _0x433ec8=_0x1467e1,{editor:_0x106a1f}=this;_0x106a1f[_0x433ec8(0x1a5)][_0x433ec8(0x1a1)](_0x433ec8(0x1a4),_0x433ec8(0x1cc)),_0x106a1f[_0x433ec8(0x1a5)][_0x433ec8(0x1a1)](_0x433ec8(0x18e),0x1),_0x106a1f[_0x433ec8(0x1ea)][_0x433ec8(0x1e4)](_0x433ec8(0x1e8),new _0x3f0003(_0x106a1f)),_0x106a1f[_0x433ec8(0x1ea)][_0x433ec8(0x1e4)](_0x433ec8(0x1eb),new _0x4df650(_0x106a1f)),this[_0x433ec8(0x1a2)](),this[_0x433ec8(0x191)](),this[_0x433ec8(0x1bb)](),this[_0x433ec8(0x1c8)]();}[_0x1467e1(0x1a2)](){const _0x221b83=_0x1467e1,{editor:_0x1af80b}=this,{schema:_0x2787f4}=_0x1af80b[_0x221b83(0x1e5)];_0x2787f4[_0x221b83(0x199)](_0x221b83(0x193),{'allowAttributes':[_0x221b83(0x1e7),_0x221b83(0x18c)]});}[_0x1467e1(0x191)](){const _0x4fec22=_0x1467e1,{editor:_0x3d5619}=this,{conversion:_0x1656f6,model:_0x3da2bf}=_0x3d5619,{schema:_0x420d4b}=_0x3da2bf;_0x1656f6[_0x4fec22(0x1e1)](_0x4fec22(0x19a))[_0x4fec22(0x1e4)](_0x483710=>{const _0x403df5=_0x4fec22;_0x483710['on'](_0x403df5(0x1ac),(_0x446d5d,_0x3065c5,_0x1296d8)=>{const _0xfbf513=_0x403df5,_0x4fd639=_0x3065c5[_0xfbf513(0x19f)],_0x2a4da5=_0x3065c5[_0xfbf513(0x1e6)]?.[_0xfbf513(0x1be)];_0x4fd639[_0xfbf513(0x189)](_0xfbf513(0x1aa))&&_0x2a4da5?.['is'](_0xfbf513(0x1ab),_0xfbf513(0x193))&&(function(_0x4830d8,_0x240907,_0x1e3891,_0x416e4f){const _0x2ac966=_0xfbf513;if(!_0x416e4f[_0x2ac966(0x1dc)](_0x240907,_0x2ac966(0x18c)))return;let _0x1a6f90=0x1;const _0x289bf1=_0x1e3891[_0x2ac966(0x194)][_0x2ac966(0x1d6)](_0x4830d8,{'attributes':_0x2ac966(0x187)});if(_0x289bf1){const _0x3e0be3=Number[_0x2ac966(0x1b0)](_0x4830d8[_0x2ac966(0x1b4)](_0x2ac966(0x187)),0xa);Number[_0x2ac966(0x1cd)](_0x3e0be3)||(_0x1a6f90=_0x3e0be3);}!_0x289bf1&&_0x240907[_0x2ac966(0x1b1)](_0x2ac966(0x18c))||_0x1e3891[_0x2ac966(0x1ae)][_0x2ac966(0x190)](_0x2ac966(0x18c),_0x1a6f90,_0x240907);}(_0x4fd639,_0x2a4da5,_0x1296d8,_0x420d4b),function(_0x73c3b4,_0x5df6d6,_0x3041be,_0x7e6f0){const _0x1128ca=_0xfbf513;if(!_0x7e6f0[_0x1128ca(0x1dc)](_0x5df6d6,_0x1128ca(0x1e7)))return;let _0x1194bd=_0x1128ca(0x1cc),_0x3510f5=!0x1;if(_0x3041be[_0x1128ca(0x194)][_0x1128ca(0x1d6)](_0x73c3b4,{'attributes':_0x1128ca(0x19c)})){const _0x186d90={0x1:_0x1128ca(0x1cc),'a':_0x1128ca(0x1a7),'A':_0x1128ca(0x1cf),'i':_0x1128ca(0x186),'I':_0x1128ca(0x1c4)}[_0x73c3b4[_0x1128ca(0x1b4)](_0x1128ca(0x19c))];_0x186d90&&(_0x1194bd=_0x186d90),_0x3510f5=!0x0;}_0x3041be[_0x1128ca(0x194)][_0x1128ca(0x1d6)](_0x73c3b4,{'styles':_0x1128ca(0x1d8)})&&(_0x1194bd=_0x73c3b4[_0x1128ca(0x1c5)](_0x1128ca(0x1d8)),_0x3510f5=!0x0),!_0x3510f5&&_0x5df6d6[_0x1128ca(0x1b1)](_0x1128ca(0x1e7))||_0x3041be[_0x1128ca(0x1ae)][_0x1128ca(0x190)](_0x1128ca(0x1e7),_0x1194bd,_0x5df6d6);}(_0x4fd639,_0x2a4da5,_0x1296d8,_0x420d4b));});}),_0x1656f6[_0x4fec22(0x1e1)](_0x4fec22(0x1d9))[_0x4fec22(0x1e4)](_0x4bff17=>{const _0x2fc12d=_0x4fec22;_0x4bff17['on'](_0x2fc12d(0x1d2),(_0x51766b,_0x735b58,_0x33d53b)=>{const _0x3bcda7=_0x2fc12d;if(!_0x33d53b[_0x3bcda7(0x194)][_0x3bcda7(0x1d6)](_0x735b58[_0x3bcda7(0x192)],_0x51766b[_0x3bcda7(0x1ba)]))return;const _0x2ee6ca=M(_0x735b58[_0x3bcda7(0x192)],_0x33d53b[_0x3bcda7(0x1bd)]),{attributeNewValue:_0x32b6a0}=_0x735b58;null==_0x32b6a0||0x1===_0x32b6a0?_0x33d53b[_0x3bcda7(0x1ae)][_0x3bcda7(0x1d3)](_0x3bcda7(0x187),_0x2ee6ca):_0x33d53b[_0x3bcda7(0x1ae)][_0x3bcda7(0x190)](_0x3bcda7(0x187),String(_0x32b6a0),_0x2ee6ca);}),_0x4bff17['on'](_0x2fc12d(0x188),(_0x48f812,_0x2790f3,_0x5347cc)=>{const _0x17a2a8=_0x2fc12d;if(!_0x5347cc[_0x17a2a8(0x194)][_0x17a2a8(0x1d6)](_0x2790f3[_0x17a2a8(0x192)],_0x48f812[_0x17a2a8(0x1ba)]))return;const _0x46df59=M(_0x2790f3[_0x17a2a8(0x192)],_0x5347cc[_0x17a2a8(0x1bd)]),{attributeNewValue:_0x3c8306}=_0x2790f3;_0x3c8306&&_0x17a2a8(0x1cc)!==_0x3c8306?_0x5347cc[_0x17a2a8(0x1ae)][_0x17a2a8(0x195)](_0x17a2a8(0x1d8),_0x3c8306,_0x46df59):_0x5347cc[_0x17a2a8(0x1ae)][_0x17a2a8(0x1e9)](_0x17a2a8(0x1d8),_0x46df59);});});}[_0x1467e1(0x1c8)](){const _0x189465=_0x1467e1,{editor:_0x15e110}=this,{model:_0x511e01}=_0x15e110,_0x193c9c=_0x15e110[_0x189465(0x19b)][_0x189465(0x18d)](_0xf99a7f),_0x54c0d5=this[_0x189465(0x1bf)](),_0x57ce3d=this[_0x189465(0x1d7)]();_0x511e01[_0x189465(0x1b7)][_0x189465(0x1e0)](_0x25559e=>{const _0x1c3bd5=_0x189465,_0xf84111=_0x511e01[_0x1c3bd5(0x1b7)][_0x1c3bd5(0x1b5)][_0x1c3bd5(0x1d1)]();let _0xa29d53=!0x1;for(const _0x307ef1 of _0xf84111){if(_0x1c3bd5(0x1c7)!==_0x307ef1[_0x1c3bd5(0x19c)]||_0x1c3bd5(0x1da)===_0x307ef1[_0x1c3bd5(0x1ba)])continue;const _0x53db88=_0x511e01[_0x1c3bd5(0x1af)](_0x307ef1[_0x1c3bd5(0x1e2)][_0x1c3bd5(0x18b)]);for(const _0x448512 of _0x53db88[_0x1c3bd5(0x1b8)]())_0x448512['is'](_0x1c3bd5(0x1ab),_0x1c3bd5(0x193))&&(!_0x448512[_0x1c3bd5(0x1b1)](_0x1c3bd5(0x18c))&&_0x511e01[_0x1c3bd5(0x1c3)][_0x1c3bd5(0x1dc)](_0x448512,_0x1c3bd5(0x18c))&&(_0x25559e[_0x1c3bd5(0x190)](_0x1c3bd5(0x18c),_0x57ce3d,_0x448512),_0xa29d53=!0x0),!_0x448512[_0x1c3bd5(0x1b1)](_0x1c3bd5(0x1e7))&&_0x511e01[_0x1c3bd5(0x1c3)][_0x1c3bd5(0x1dc)](_0x448512,_0x1c3bd5(0x1e7))&&(_0x25559e[_0x1c3bd5(0x190)](_0x1c3bd5(0x1e7),_0x54c0d5,_0x448512),_0xa29d53=!0x0));}return _0xa29d53&&_0x193c9c[_0x1c3bd5(0x1c1)](_0x25559e),_0xa29d53;});}[_0x1467e1(0x1bb)](){const _0x10ba71=_0x1467e1,{editor:_0x3c0b66}=this;_0x3c0b66[_0x10ba71(0x19b)][_0x10ba71(0x18d)](_0xf99a7f)[_0x10ba71(0x196)](_0x19ee4c=>this[_0x10ba71(0x1a8)](_0x19ee4c));}[_0x1467e1(0x1bf)](){const _0x2d157d=_0x1467e1;return this[_0x2d157d(0x1a3)][_0x2d157d(0x1a5)][_0x2d157d(0x18d)](_0x2d157d(0x1a4));}[_0x1467e1(0x1d7)](){const _0x2cfc61=_0x1467e1;return this[_0x2cfc61(0x1a3)][_0x2cfc61(0x1a5)][_0x2cfc61(0x18d)](_0x2cfc61(0x18e));}[_0x1467e1(0x1a8)]({container:_0x5d9c09,value:_0x732a39,digits:_0x535f46}){const _0x12ae45=_0x1467e1,_0x51fdf5=_0x5d9c09[_0x12ae45(0x1b4)](_0x12ae45(0x1e7)),_0x254220=_0x5d9c09[_0x12ae45(0x1b4)](_0x12ae45(0x18c)),_0xbbe716=Math[_0x12ae45(0x18f)](_0x732a39)+(_0x254220??0x1)-0x1;switch(_0x51fdf5){case _0x12ae45(0x1bc):return function(_0x181fa6,_0x2d957d){const _0x3dd693=_0x12ae45;return String(_0x181fa6)[_0x3dd693(0x18a)](_0x2d957d,'0');}(_0xbbe716,Math[_0x12ae45(0x1a6)](0x2,_0x535f46));case _0x12ae45(0x1a7):case _0x12ae45(0x1a9):return N(_0xbbe716,!0x1);case _0x12ae45(0x1cf):case _0x12ae45(0x1b9):return N(_0xbbe716,!0x0);case _0x12ae45(0x186):return X(_0xbbe716,!0x1);case _0x12ae45(0x1c4):return X(_0xbbe716,!0x0);default:return String(_0xbbe716);}}}function M(_0x5d9451,_0x5a5eab){const _0x2623fd=_0x1467e1,_0x2f1daf=_0x5a5eab[_0x2623fd(0x1df)](_0x5d9451);return Array[_0x2623fd(0x1e3)](_0x2f1daf[_0x2623fd(0x1c0)]())[_0x2623fd(0x197)](_0xd5bcc7=>_0xd5bcc7['is'](_0x2623fd(0x1ab),'ol')&&_0xd5bcc7[_0x2623fd(0x189)](_0x2623fd(0x1aa)));}function N(_0x495178,_0x2d96a6){const _0x322c1f=_0x1467e1;let _0x44a1a6='',_0xef03b=_0x495178;for(;_0xef03b>0x0;){const _0x5d9573=(_0xef03b-0x1)%0x1a;_0x44a1a6=String[_0x322c1f(0x1b3)](0x61+_0x5d9573)+_0x44a1a6,_0xef03b=Math[_0x322c1f(0x18f)]((_0xef03b-0x1)/0x1a);}return _0x2d96a6?_0x44a1a6[_0x322c1f(0x1c9)]():_0x44a1a6;}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(_0x4dd889,_0x43d8a4){const _0x13d932=_0x1467e1;let _0x3ae327='',_0xbf06bd=_0x4dd889;for(const {value:_0x463fbe,numeral:_0x45b0a9}of V)for(;_0xbf06bd>=_0x463fbe;)_0x3ae327+=_0x45b0a9,_0xbf06bd-=_0x463fbe;return _0x43d8a4?_0x3ae327:_0x3ae327[_0x13d932(0x19d)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x8196bf,ButtonView as _0x36963f,ContextualBalloon as _0x285307,createDropdown as _0x5125f6}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2b906d}from'ckeditor5/src/widget.js';import{Plugin as _0x1ca67f}from'ckeditor5/src/core.js';import{IconFootnote as _0x215c2e,IconListStyleDecimal as _0x3caee7,IconListStyleDecimalLeadingZero as _0x519d4a,IconListStyleLowerLatin as _0x274450,IconListStyleLowerRoman as _0x43bf7a,IconListStyleUpperLatin as _0x25256d,IconListStyleUpperRoman as _0x3fc32a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x42ebf7}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x45cae7}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1ca67f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x285307,_0x2b906d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b3fc6}=this,{componentFactory:_0x419738}=_0x2b3fc6['ui'];_0x2b3fc6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x419738['add']('footnotesStyle',function(_0x1fcf42){return _0x504f51=>{const {t:t}=_0x504f51,_0x17b4ad=_0x1fcf42['commands']['get']('footnotesStyle'),_0x49fed1=_0x5125f6(_0x504f51),{buttonView:_0x156c97}=_0x49fed1;return _0x49fed1['class']='ck-footnotes-styles-dropdown',_0x49fed1['bind']('isEnabled')['to'](_0x17b4ad,'isEnabled'),_0x156c97['set']({'label':t('Footnotes\x20style'),'icon':_0x215c2e,'tooltip':!0x0}),_0x49fed1['once']('change:isOpen',()=>{const _0xab3cee=function({editor:_0x182e84,dropdownView:_0x19b785}){const {t:t}=_0x182e84['locale'],_0x3d7838=t('Footnotes\x20definitions\x20styles'),_0x191178=function(_0x1e1e6e){const t=_0x1e1e6e['locale']['t'],_0x50a1fb=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3caee7},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x519d4a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x43bf7a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3fc32a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x274450},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x25256d}];return _0x50a1fb['map'](function(_0x5f0ef2){const _0x22f81a=_0x5f0ef2['locale'];return({label:_0xeb3281,icon:_0x411226,tooltip:_0x4021f4,style:_0x64f17})=>{const _0x21c004=_0x5f0ef2['commands']['get']('footnotesStyle'),_0x1e79fa=new _0x36963f(_0x22f81a);return _0x1e79fa['set']({'label':_0xeb3281,'icon':_0x411226,'tooltip':_0x4021f4}),_0x1e79fa['bind']('isOn')['to'](_0x21c004,'value',_0x4eddb9=>_0x4eddb9===_0x64f17),_0x1e79fa['bind']('isEnabled')['to'](_0x21c004,'isEnabled'),_0x1e79fa['on']('execute',()=>{_0x5f0ef2['execute']('footnotesStyle',{'value':_0x64f17}),_0x5f0ef2['editing']['view']['focus']();}),_0x1e79fa;};}(_0x1e1e6e));}(_0x182e84),_0x2d390f=new _0x42ebf7(_0x182e84['locale'],{'styleGridAriaLabel':_0x3d7838,'styleButtonViews':_0x191178});return _0x2d390f['delegate']('execute')['to'](_0x19b785),_0x2d390f['on']('footnotesListStart',(_0x29cc2c,_0x4c6fd6)=>{_0x182e84['execute']('footnotesStart',{'value':_0x4c6fd6['startIndex']});}),_0x2d390f;}({'editor':_0x1fcf42,'dropdownView':_0x49fed1});_0x49fed1['panelView']['children']['add'](_0xab3cee);}),_0x49fed1;};}(_0x2b3fc6));}['afterInit'](){const {editor:_0x119879}=this,{t:t}=_0x119879['locale'],_0x409b62=_0x119879['plugins']['get'](_0x2b906d),{defaultPositions:_0x29f44e}=_0x8196bf;_0x409b62['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x119879['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x25cc8f=>{let _0xac2ba2=_0x25cc8f['getFirstPosition']()?.['parent'];return _0xac2ba2?.['is']('$text')&&(_0xac2ba2=_0xac2ba2['parent']),_0xac2ba2?.['is']('element')?_0xac2ba2['findAncestor'](_0x45cae7):null;},'positions':[_0x29f44e['southArrowNorth'],_0x29f44e['southArrowNorthMiddleWest'],_0x29f44e['southArrowNorthMiddleEast'],_0x29f44e['southArrowNorthWest'],_0x29f44e['southArrowNorthEast'],_0x29f44e['northArrowSouth'],_0x29f44e['northArrowSouthMiddleWest'],_0x29f44e['northArrowSouthMiddleEast'],_0x29f44e['northArrowSouthWest'],_0x29f44e['northArrowSouthEast'],_0x29f44e['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x131793,View as _0x3afe42,ViewCollection as _0x35614b,FocusCycler as _0x5ca867,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 _0x3afe42{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x35614b();['focusCycler'];constructor(_0x5cb6bd,{styleButtonViews:_0x2f6fa9,styleGridAriaLabel:_0x25d934}){super(_0x5cb6bd),(this['focusCycler']=new _0x5ca867({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2f6fa9,_0x25d934),[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 _0x587d40 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x587d40['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 _0x467f10=_0x438440=>_0x438440['stopPropagation']();this['keystrokes']['set']('arrowright',_0x467f10),this['keystrokes']['set']('arrowleft',_0x467f10),this['keystrokes']['set']('arrowup',_0x467f10),this['keystrokes']['set']('arrowdown',_0x467f10);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x353eef,_0x90eddb){const _0x4ed6ce=new _0x3afe42(this['locale']);return _0x4ed6ce['children']=_0x4ed6ce['createCollection'](),_0x4ed6ce['children']['addMany'](_0x353eef),_0x4ed6ce['setTemplate']({'tag':'div','attributes':{'aria-label':_0x90eddb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4ed6ce['children']}),_0x4ed6ce['children']['delegate']('execute')['to'](this),_0x4ed6ce['focus']=function(){for(const _0x7b82f8 of this['children'])if(_0x7b82f8 instanceof _0x131793&&_0x7b82f8['isOn'])return void _0x7b82f8['focus']();this['children']['first']['focus']();},_0x4ed6ce['focusTracker']=new ot(),_0x4ed6ce['keystrokes']=new rt(),_0x4ed6ce['render'](),_0x4ed6ce['keystrokes']['listenTo'](_0x4ed6ce['element']),this['children']['add'](_0x4ed6ce),_0x4ed6ce;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x487c97=this['_createStartIndexPropertyView'](),_0x8afcf8=[_0x487c97],_0x26a5e8=new st(this['locale'],_0x8afcf8);return _0x26a5e8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x26a5e8['buttonView']['bind']('isEnabled')['toMany'](_0x8afcf8,'isEnabled',(..._0x158198)=>_0x158198['some'](_0x3fadaa=>_0x3fadaa)),_0x26a5e8['buttonView']['on']('change:isEnabled',(_0x457099,_0x341257,_0x273126)=>{_0x273126||(_0x26a5e8['isCollapsed']=!0x0);}),this['children']['add'](_0x26a5e8),[_0x487c97,_0x26a5e8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4d5310=new it(this['locale'],et);return _0x4d5310['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4d5310['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4d5310['fieldView']['on']('input',()=>{const _0x1194bd=_0x4d5310['fieldView']['element'],_0x407a69=_0x1194bd['valueAsNumber'];Number['isNaN'](_0x407a69)?_0x4d5310['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1194bd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x407a69}):_0x4d5310['errorText']=t(_0x407a69<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4d5310;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x5507e6=_0x5ac2;function _0x5ac2(_0x38af4d,_0x4b85dd){var _0x58f03c=_0x58f0();return _0x5ac2=function(_0x5ac216,_0x42a531){_0x5ac216=_0x5ac216-0x142;var _0xc42c40=_0x58f03c[_0x5ac216];return _0xc42c40;},_0x5ac2(_0x38af4d,_0x4b85dd);}(function(_0x5dd47d,_0x320abf){var _0x6197dd=_0x5ac2,_0x8bde67=_0x5dd47d();while(!![]){try{var _0x51753c=parseInt(_0x6197dd(0x143))/0x1+-parseInt(_0x6197dd(0x146))/0x2+-parseInt(_0x6197dd(0x148))/0x3+-parseInt(_0x6197dd(0x14c))/0x4*(parseInt(_0x6197dd(0x149))/0x5)+parseInt(_0x6197dd(0x147))/0x6+-parseInt(_0x6197dd(0x14d))/0x7+parseInt(_0x6197dd(0x14f))/0x8*(parseInt(_0x6197dd(0x14b))/0x9);if(_0x51753c===_0x320abf)break;else _0x8bde67['push'](_0x8bde67['shift']());}catch(_0x1e925f){_0x8bde67['push'](_0x8bde67['shift']());}}}(_0x58f0,0xb77b1));import{Plugin as _0x234cb8}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x546be1}from'./footnotesproperties/footnotespropertiesediting.js';function _0x58f0(){var _0x1aaf99=['1384698CMdWBh','2079516iihAxH','5VSyNuJ','isPremiumPlugin','22278447dGpOBv','801428oXPNsq','5413968HKRqiz','pluginName','8ZKgObS','isOfficialPlugin','558138HyZLqa','requires','FootnotesProperties','1691628krjBAr'];_0x58f0=function(){return _0x1aaf99;};return _0x58f0();}import{FootnotesPropertiesUI as _0x182467}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x234cb8{static get[_0x5507e6(0x14e)](){var _0x4b5118=_0x5507e6;return _0x4b5118(0x145);}static get[_0x5507e6(0x144)](){return[_0x546be1,_0x182467];}static get[_0x5507e6(0x142)](){return!0x0;}static get[_0x5507e6(0x14a)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3e47ae=_0x3441;(function(_0x16dcf2,_0xc84746){const _0x3508c9=_0x3441,_0x36be68=_0x16dcf2();while(!![]){try{const _0x402d48=parseInt(_0x3508c9(0xf3))/0x1+parseInt(_0x3508c9(0xec))/0x2*(-parseInt(_0x3508c9(0x109))/0x3)+parseInt(_0x3508c9(0x111))/0x4+-parseInt(_0x3508c9(0xf5))/0x5+parseInt(_0x3508c9(0x121))/0x6+parseInt(_0x3508c9(0x119))/0x7+-parseInt(_0x3508c9(0xde))/0x8;if(_0x402d48===_0xc84746)break;else _0x36be68['push'](_0x36be68['shift']());}catch(_0x40d375){_0x36be68['push'](_0x36be68['shift']());}}}(_0x188b,0xd5720));function _0x3441(_0x326f10,_0x5abfb0){const _0x188bab=_0x188b();return _0x3441=function(_0x3441a3,_0x5a5422){_0x3441a3=_0x3441a3-0xcb;let _0x32457c=_0x188bab[_0x3441a3];return _0x32457c;},_0x3441(_0x326f10,_0x5abfb0);}import{Plugin as _0x14a252}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x14179f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x14a252{[_0x3e47ae(0xd1)]=[];[_0x3e47ae(0xef)]=null;[_0x3e47ae(0x11a)]=null;[_0x3e47ae(0xe4)];[_0x3e47ae(0x108)];[_0x3e47ae(0xff)];static get[_0x3e47ae(0x11f)](){const _0x2ded39=_0x3e47ae;return _0x2ded39(0xe5);}static get[_0x3e47ae(0xdd)](){return!0x0;}static get[_0x3e47ae(0xdf)](){return!0x0;}constructor(_0x3545cb){const _0x19d5c4=_0x3e47ae;super(_0x3545cb),this[_0x19d5c4(0xe4)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x10b),'getElementKey':()=>_0x19d5c4(0xed)}),this[_0x19d5c4(0x108)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x127),'getElementKey':_0x5fa4c8=>_0x5fa4c8[_0x19d5c4(0x112)](_0x19d5c4(0x106))}),this[_0x19d5c4(0xff)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0xee),'getElementKey':_0x59812e=>_0x59812e[_0x19d5c4(0x112)](_0x19d5c4(0x106))});}[_0x3e47ae(0xcb)](){const _0x447c2e=_0x3e47ae,{editor:_0xe178a0}=this,{model:_0x1a720d,data:_0x56eb37}=_0xe178a0;_0x1a720d[_0x447c2e(0xd4)][_0x447c2e(0x126)](_0x502291=>{const _0x37adba=_0x447c2e,_0x43ce2c=_0x1a720d[_0x37adba(0xd4)][_0x37adba(0xd9)][_0x37adba(0x11b)]();let _0x4a8384=!0x1;return this[_0x37adba(0xf4)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x12a)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x10e)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x102)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0xf2)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0x110)](_0x502291)&&(_0x4a8384=!0x0),_0x4a8384;}),this[_0x447c2e(0x100)](_0x1a720d[_0x447c2e(0xd4)],_0x447c2e(0xfb),()=>{const _0x3a79c1=_0x447c2e;_0x1a720d[_0x3a79c1(0x113)]({'isUndoable':!0x1},_0x2f49bc=>{const _0x4b4871=_0x3a79c1;this[_0x4b4871(0xe6)](_0x2f49bc);});},{'priority':_0x447c2e(0x12b)}),this[_0x447c2e(0x100)](_0x56eb37,_0x447c2e(0x115),()=>{const _0xa92f73=_0x447c2e;this[_0xa92f73(0xd1)]=[],this[_0xa92f73(0xe4)][_0xa92f73(0xdc)](),this[_0xa92f73(0x108)][_0xa92f73(0xdc)](),this[_0xa92f73(0xff)][_0xa92f73(0xdc)]();},{'priority':_0x447c2e(0xfc)});}[_0x3e47ae(0xe2)](){const _0xda1161=_0x3e47ae;return this[_0xda1161(0xef)];}[_0x3e47ae(0x101)](_0x526ab2){const _0x13e186=_0x3e47ae;return this[_0x13e186(0xd1)][_0x13e186(0x123)](_0x2c13ed=>_0x2c13ed['id']===_0x526ab2)||null;}[_0x3e47ae(0xe0)](){const _0x245e3c=_0x3e47ae;return Array[_0x245e3c(0x125)](this[_0x245e3c(0xd1)]);}[_0x3e47ae(0x120)](){const _0x2132b2=_0x3e47ae;return this[_0x2132b2(0x11a)];}[_0x3e47ae(0xd3)](_0x5743a6){const _0xc41c0=_0x3e47ae;this[_0xc41c0(0x11a)]=_0x5743a6;}[_0x3e47ae(0x10f)](_0x4beb4f,_0x1f209a=0x0){const _0x50f456=_0x3e47ae;let _0x27333e=!0x1;for(let _0x340b20=_0x1f209a;_0x340b20<this[_0x50f456(0xd1)][_0x50f456(0xf6)];_0x340b20++)this[_0x50f456(0x114)](_0x4beb4f,_0x340b20)&&(_0x27333e=!0x0);return _0x27333e;}[_0x3e47ae(0x116)](_0x2b867b,_0x46b6de){const _0x7bc15a=_0x3e47ae,_0x3913ab=_0x2b867b[_0x7bc15a(0xcc)](_0x7bc15a(0x10b),{});return _0x2b867b[_0x7bc15a(0xf0)](_0x3913ab,_0x46b6de),this[_0x7bc15a(0xef)]=_0x3913ab,_0x3913ab;}[_0x3e47ae(0xe6)](_0x1391ac){const _0x2b424f=_0x3e47ae;if(!this[_0x2b424f(0xd1)][_0x2b424f(0xf6)]||this[_0x2b424f(0xef)])return;const _0x67fdf0=this[_0x2b424f(0xd1)][0x0][_0x2b424f(0x117)][_0x2b424f(0xcf)],_0x36b1e9=this[_0x2b424f(0x116)](_0x1391ac,_0x67fdf0);for(const _0x325af9 of this[_0x2b424f(0xd1)])_0x325af9[_0x2b424f(0x118)][_0x2b424f(0xdb)]||_0x1391ac[_0x2b424f(0x11e)](_0x325af9[_0x2b424f(0x118)],_0x36b1e9,_0x2b424f(0x11d));this[_0x2b424f(0x10f)](_0x1391ac);}[_0x3e47ae(0xf4)](_0x413221,_0x3808ca){const _0x8a9f9d=_0x3e47ae;let _0x20f8bd=!0x1;const {inserted:_0x238ac6,removed:_0xc1c29,moved:_0x5aea18}=this[_0x8a9f9d(0xe4)][_0x8a9f9d(0x11b)](_0x3808ca);if(_0x5aea18[_0x8a9f9d(0xf6)]&&(this[_0x8a9f9d(0xef)]=_0x5aea18[0x0]),_0x238ac6[_0x8a9f9d(0xf6)]){if(_0x238ac6[_0x8a9f9d(0xf6)]>0x1||this[_0x8a9f9d(0xef)]&&_0x238ac6[_0x8a9f9d(0xea)](_0x5cb4ee=>_0x5cb4ee!==this[_0x8a9f9d(0xef)])){const _0x1c95c6=_0x413221[_0x8a9f9d(0xcc)](_0x8a9f9d(0x10b),{}),_0x5ed378=[];this[_0x8a9f9d(0xef)]&&_0x5ed378[_0x8a9f9d(0x103)](this[_0x8a9f9d(0xef)]),_0x5ed378[_0x8a9f9d(0x103)](..._0x238ac6),_0x413221[_0x8a9f9d(0x11e)](_0x1c95c6,_0x5ed378[0x0],_0x8a9f9d(0xcd));for(const _0x12d8bd of _0x5ed378)_0x413221[_0x8a9f9d(0xd5)](_0x413221[_0x8a9f9d(0x10c)](_0x12d8bd),_0x413221[_0x8a9f9d(0xd0)](_0x1c95c6,_0x8a9f9d(0x11d))),_0x413221[_0x8a9f9d(0xd6)](_0x12d8bd);this[_0x8a9f9d(0xef)]=_0x1c95c6,this[_0x8a9f9d(0x10f)](_0x413221),_0x20f8bd=!0x0;}else this[_0x8a9f9d(0xef)]=_0x238ac6[0x0];}if(_0xc1c29[_0x8a9f9d(0xf6)]&&_0x8a9f9d(0x105)===this[_0x8a9f9d(0xef)]?.[_0x8a9f9d(0xcf)][_0x8a9f9d(0xfe)]){for(const _0x20507d of this[_0x8a9f9d(0xd1)])_0x413221[_0x8a9f9d(0xd6)](_0x20507d[_0x8a9f9d(0x117)]),_0x20f8bd=!0x0;this[_0x8a9f9d(0xd1)]=[],this[_0x8a9f9d(0xef)]=null;}return _0x20f8bd;}[_0x3e47ae(0x12a)](_0x1c9aab,_0x2a2056){const _0x376d3b=_0x3e47ae;let _0x268bd3=!0x1;const _0x59d72e=this[_0x376d3b(0xf7)][_0x376d3b(0x11c)][_0x376d3b(0xeb)](_0x376d3b(0xfd)),{inserted:_0xa23ae4,moved:_0x3f79e9}=this[_0x376d3b(0xff)][_0x376d3b(0x11b)](_0x2a2056);for(const _0x1fd511 of[..._0x3f79e9,..._0xa23ae4]){const _0xe70387=_0x1fd511[_0x376d3b(0x112)](_0x376d3b(0x106)),_0x2bec24=this[_0x376d3b(0x101)](_0xe70387);_0x2bec24&&(_0x2bec24[_0x376d3b(0x118)]=_0x1fd511),_(_0x1c9aab,_0x59d72e,_0x1fd511)&&(_0x268bd3=!0x0);}return _0x268bd3;}[_0x3e47ae(0x10e)](_0x3eb816,_0x40d2ea){const _0x3b9e91=_0x3e47ae;let _0x334638=!0x1;const {removed:_0x305155,inserted:_0x24d038,moved:_0x15b90f}=this[_0x3b9e91(0x108)][_0x3b9e91(0x11b)](_0x40d2ea);for(const _0x1e3d62 of _0x305155)this[_0x3b9e91(0xd2)](_0x3eb816,_0x1e3d62)&&(_0x334638=!0x0);for(const _0x325eb0 of _0x24d038)this[_0x3b9e91(0xda)](_0x3eb816,_0x325eb0)&&(_0x334638=!0x0);for(const _0x2f4bcc of _0x15b90f)this[_0x3b9e91(0xe1)](_0x3eb816,_0x2f4bcc)&&(_0x334638=!0x0);return _0x334638;}[_0x3e47ae(0xf2)](_0x186183){const _0x4c6aef=_0x3e47ae;if(!this[_0x4c6aef(0xef)])return!0x1;let _0x202e7f=!0x1;if(this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]!==this[_0x4c6aef(0xd1)][_0x4c6aef(0xf6)]){const _0x3eb26a=[];for(const _0x25c892 of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x330f8d=_0x25c892[_0x4c6aef(0x112)](_0x4c6aef(0x106));this[_0x4c6aef(0x101)](_0x330f8d)||(_0x3eb26a[_0x4c6aef(0x10d)](_0x25c892),_0x202e7f=!0x0);}for(const _0x45bbdc of _0x3eb26a)_0x186183[_0x4c6aef(0xd6)](_0x45bbdc);}const _0x3cc4ab=new Set(),_0x53345e=[];for(const _0x5ee9be of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x3612a4=_0x5ee9be[_0x4c6aef(0x112)](_0x4c6aef(0x106));_0x3cc4ab[_0x4c6aef(0x10a)](_0x3612a4)?(_0x53345e[_0x4c6aef(0x10d)](_0x5ee9be),_0x202e7f=!0x0):_0x3cc4ab[_0x4c6aef(0x129)](_0x3612a4);}for(const _0x167f7f of _0x53345e)_0x186183[_0x4c6aef(0xd6)](_0x167f7f);return this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]||(_0x186183[_0x4c6aef(0xd6)](this[_0x4c6aef(0xef)]),this[_0x4c6aef(0xef)]=null,_0x202e7f=!0x0),_0x202e7f;}[_0x3e47ae(0xda)](_0x3a7e31,_0x54a24a){const _0x219e77=_0x3e47ae;if(this[_0x219e77(0xd1)][_0x219e77(0x123)](_0x317bf4=>_0x317bf4[_0x219e77(0x117)]===_0x54a24a))return!0x1;let _0x2ab592=!0x1;const _0x385f93=_0x54a24a[_0x219e77(0x112)](_0x219e77(0x106)),_0x51f111=this[_0x219e77(0xd1)][_0x219e77(0x12c)](_0x90e30d=>_0x90e30d['id']===_0x385f93);-0x1!==_0x51f111&&(_0x3a7e31[_0x219e77(0xd6)](this[_0x219e77(0xd1)][_0x51f111][_0x219e77(0x117)]),this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x51f111,0x1),_0x2ab592=!0x0);let _0x3762c9=this[_0x219e77(0xef)]?function(_0x3a427f,_0x7343af){const _0x21b9c5=_0x219e77;for(const _0x5b4e8e of _0x3a427f[_0x21b9c5(0xfa)]())if(_0x5b4e8e[_0x21b9c5(0x112)](_0x21b9c5(0x106))===_0x7343af)return _0x5b4e8e;return null;}(this[_0x219e77(0xef)],_0x385f93):null;_0x3762c9||(_0x3762c9=_0x3a7e31[_0x219e77(0xcc)](_0x219e77(0xee),{'footnoteId':_0x385f93}),this[_0x219e77(0xef)]&&(_0x3a7e31[_0x219e77(0x11e)](_0x3762c9,this[_0x219e77(0xef)],_0x219e77(0x11d)),_0x2ab592=!0x0));const _0x89b8ef={'id':_0x385f93,'reference':_0x54a24a,'definition':_0x3762c9},_0x32f203=I(this[_0x219e77(0xf7)][_0x219e77(0xd7)],this[_0x219e77(0xd1)],_0x54a24a);this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x32f203,0x0,_0x89b8ef);let _0x5f54f3=_0x32f203;return-0x1!==_0x51f111&&(_0x5f54f3=Math[_0x219e77(0xd8)](_0x32f203,_0x51f111)),this[_0x219e77(0x10f)](_0x3a7e31,_0x5f54f3)&&(_0x2ab592=!0x0),_0x2ab592;}[_0x3e47ae(0xd2)](_0xb5a88,_0x1046ed){const _0x976bec=_0x3e47ae,_0x17557e=this[_0x976bec(0xd1)][_0x976bec(0x12c)](_0x5d7a5f=>_0x5d7a5f['id']===_0x1046ed);if(-0x1===_0x17557e)return!0x1;let _0xd6c0f2=!0x1;const _0x3aca14=this[_0x976bec(0xd1)][_0x17557e];return _0x976bec(0x105)!==_0x3aca14[_0x976bec(0x118)][_0x976bec(0xcf)][_0x976bec(0xfe)]&&(_0xb5a88[_0x976bec(0xd6)](_0x3aca14[_0x976bec(0x118)]),_0xd6c0f2=!0x0),this[_0x976bec(0xd1)][_0x976bec(0x107)](_0x17557e,0x1),this[_0x976bec(0x10f)](_0xb5a88,_0x17557e)&&(_0xd6c0f2=!0x0),_0xd6c0f2;}[_0x3e47ae(0xe1)](_0x59127e,_0x2ddcc1){const _0x122dcc=_0x3e47ae,_0x23fe84=_0x2ddcc1[_0x122dcc(0x112)](_0x122dcc(0x106)),_0x2c7e8e=this[_0x122dcc(0xd1)][_0x122dcc(0x12c)](_0x3bb9a5=>_0x3bb9a5['id']===_0x23fe84),_0x320369=this[_0x122dcc(0xd1)][_0x2c7e8e];let _0x11573c=!0x1;_0x320369[_0x122dcc(0x117)]=_0x2ddcc1,this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x2c7e8e,0x1);const _0x57db4d=I(this[_0x122dcc(0xf7)][_0x122dcc(0xd7)],this[_0x122dcc(0xd1)],_0x2ddcc1);return this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x57db4d,0x0,_0x320369),this[_0x122dcc(0x10f)](_0x59127e,Math[_0x122dcc(0xd8)](_0x2c7e8e,_0x57db4d))&&(_0x11573c=!0x0),_0x11573c;}[_0x3e47ae(0x114)](_0x3f4aa7,_0x47394f){const _0x29eda5=_0x3e47ae;if(!this[_0x29eda5(0xef)])return!0x1;const _0x24a810=this[_0x29eda5(0xd1)][_0x47394f];let _0x190197;return _0x190197=this[_0x29eda5(0x11a)]?this[_0x29eda5(0x11a)]({'footnote':_0x24a810,'container':this[_0x29eda5(0xef)],'digits':String(this[_0x29eda5(0xd1)][_0x29eda5(0xf6)])[_0x29eda5(0xf6)],'value':_0x47394f+0x1}):String(_0x47394f+0x1),_0x24a810[_0x29eda5(0x117)][_0x29eda5(0x112)](_0x29eda5(0xf8))!=_0x190197&&(_0x3f4aa7[_0x29eda5(0xf1)](_0x29eda5(0xf8),_0x190197,_0x24a810[_0x29eda5(0x117)]),!0x0);}[_0x3e47ae(0x110)](_0x21a454){const _0x2b9f82=_0x3e47ae;if(!this[_0x2b9f82(0xef)]||this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)]<0x2)return!0x1;if(function(_0x1bf0d0,_0x43aa09){const _0x166938=_0x2b9f82;if(_0x1bf0d0[_0x166938(0xf6)]!==_0x43aa09[_0x166938(0xf6)])return!0x1;for(let _0x14d6ec=0x0;_0x14d6ec<_0x1bf0d0[_0x166938(0xf6)];_0x14d6ec++)if(_0x1bf0d0[_0x14d6ec]!==_0x43aa09[_0x14d6ec])return!0x1;return!0x0;}(this[_0x2b9f82(0xd1)][_0x2b9f82(0xe9)](_0x6e2e65=>_0x6e2e65['id']),Array[_0x2b9f82(0x125)](this[_0x2b9f82(0xef)][_0x2b9f82(0xfa)]())[_0x2b9f82(0xe9)](_0x5ade8d=>_0x5ade8d[_0x2b9f82(0x112)](_0x2b9f82(0x106)))))return!0x1;let _0x39c6c1=!0x1;for(let _0x4f1c9f=0x0;_0x4f1c9f<this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)];_0x4f1c9f++){const _0x36ed45=this[_0x2b9f82(0xd1)][_0x4f1c9f],_0x54e10d=_0x21a454[_0x2b9f82(0x124)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f=_0x21a454[_0x2b9f82(0xd0)](this[_0x2b9f82(0xef)],_0x4f1c9f);_0x54e10d[_0x2b9f82(0xe3)](_0x13d21f)||(_0x21a454[_0x2b9f82(0xd5)](_0x21a454[_0x2b9f82(0x104)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f),_0x39c6c1=!0x0);}return _0x39c6c1;}[_0x3e47ae(0x102)](_0x337ccc){const _0x37ffda=_0x3e47ae;if(!this[_0x37ffda(0xd1)][_0x37ffda(0xf6)])return!0x1;const {model:_0x4375c5}=this[_0x37ffda(0xf7)];let _0x55a352=!0x1;for(let _0x1112ee=0x0;_0x1112ee<this[_0x37ffda(0xd1)][_0x37ffda(0xf6)]-0x1;_0x1112ee++){const _0x2498ef=this[_0x37ffda(0xd1)][_0x1112ee],_0x23862c=this[_0x37ffda(0xd1)][_0x1112ee+0x1],_0x4cb39b=_0x4375c5[_0x37ffda(0x124)](_0x2498ef[_0x37ffda(0x117)]),_0x10ff2d=_0x4375c5[_0x37ffda(0x124)](_0x23862c[_0x37ffda(0x117)]);_0x37ffda(0xce)===_0x4cb39b[_0x37ffda(0x122)](_0x10ff2d)&&(this[_0x37ffda(0xe1)](_0x337ccc,_0x2498ef[_0x37ffda(0x117)]),_0x1112ee=-0x1,_0x55a352=!0x0);}return _0x55a352;}}function _(_0x43f783,_0x4b4c6a,_0x57a7ed){const _0x3bf79a=_0x3e47ae;if(_0x57a7ed[_0x3bf79a(0x128)])return!0x1;const _0x1acca8=_0x4b4c6a?_0x3bf79a(0xe8):_0x3bf79a(0xe7);return _0x43f783[_0x3bf79a(0x11e)](_0x43f783[_0x3bf79a(0xcc)](_0x1acca8),_0x57a7ed),!0x0;}function I(_0x618915,_0x5dcc54,_0x5756c9){const _0x3d5376=_0x3e47ae;if(0x0===_0x5dcc54[_0x3d5376(0xf6)])return 0x0;const _0xfd6736=_0x618915[_0x3d5376(0x124)](_0x5756c9);for(let _0x3966f7=0x0;_0x3966f7<_0x5dcc54[_0x3d5376(0xf6)];_0x3966f7++){const _0x45fe4c=_0x5dcc54[_0x3966f7],_0x47b945=_0x618915[_0x3d5376(0x124)](_0x45fe4c[_0x3d5376(0x117)]);if(_0x3d5376(0xcd)===_0xfd6736[_0x3d5376(0x122)](_0x47b945))return _0x3966f7;}const _0x4eca1c=_0x5756c9[_0x3d5376(0xcf)];let _0x15f5b1=-0x1;for(let _0x1bfe50=_0x5dcc54[_0x3d5376(0xf6)]-0x1;_0x1bfe50>=0x0;_0x1bfe50--)if(_0x5dcc54[_0x1bfe50][_0x3d5376(0x117)][_0x3d5376(0xcf)]===_0x4eca1c){_0x15f5b1=_0x1bfe50;break;}if(-0x1!==_0x15f5b1)return _0x15f5b1+0x1;const _0x12a095=_0x618915[_0x3d5376(0xd4)][_0x3d5376(0xf9)](),_0x1e6a91=_0x12a095[_0x3d5376(0x12d)](_0x4eca1c[_0x3d5376(0xfe)]),_0x611c4f=_0x12a095[_0x1e6a91+0x1];if(_0x611c4f){for(let _0x31b4ff=0x0;_0x31b4ff<_0x5dcc54[_0x3d5376(0xf6)];_0x31b4ff++)if(_0x5dcc54[_0x31b4ff][_0x3d5376(0x117)][_0x3d5376(0xcf)][_0x3d5376(0xfe)]===_0x611c4f)return _0x31b4ff;}return _0x5dcc54[_0x3d5376(0xf6)];}function _0x188b(){const _0x22bdf1=['_footnoteDefsContainerTracker','FootnotesTracker','_ensureFootnotesDefinitionsContainerExists','footnoteInlineContent','paragraph','map','some','get','2819038XqSqFP','singleton','footnoteDefinition','_footnotesDefinitions','append','setAttribute','_handleFootnotesDefinitionsObjectSync','1134632kxWqLR','_handleFootnotesDefinitionsObjectChanges','1054135TDoGKK','length','editor','footnoteCounter','getRootNames','getChildren','change:data','high','footnotes.multiBlock','rootName','_footnoteDefsTracker','listenTo','getFootnote','_ensureFootnotesReferencesHaveProperOrder','push','createRangeOn','$graveyard','footnoteId','splice','_footnoteRefsTracker','3PzrpfH','has','footnotesDefinitions','createRangeIn','unshift','_handleFootnoteReferencesChanges','_updateFootnotesCounters','_sortFootnoteDefinitions','5503484niKwlA','getAttribute','enqueueChange','_updateFootnoteRefCounter','set','_insertEmptyFootnotesDefinitionsContainer','reference','definition','11986212QUxlGR','_footnoteFormatter','getChanges','config','end','insert','pluginName','getFootnotesFormatter','4134534TtVTVd','compareWith','find','createPositionBefore','from','registerPostFixer','footnoteRef','childCount','add','_handleFootnoteDefinitionsChanges','low','findIndex','indexOf','init','createElement','before','after','root','createPositionAt','_footnotes','_handleRemoveFootnoteReferenceById','setFootnoteFormatter','document','move','remove','model','min','differ','_handleInsertedFootnoteReference','parent','reset','isOfficialPlugin','19338320RHLoWD','isPremiumPlugin','getFootnotes','_handleMovedFootnoteReference','getFootnotesDefinitionsObjectElement','isEqual'];_0x188b=function(){return _0x22bdf1;};return _0x188b();}
|
|
23
|
+
function _0x1694(){const _0x2526d0=['append','getFootnotes','195731jPVQVy','footnoteCounter','getFootnotesDefinitionsObjectElement','getFootnote','high','_ensureFootnotesDefinitionsContainerExists','enqueueChange','document','_handleFootnotesDefinitionsObjectSync','_handleRemoveFootnoteReferenceById','model','_ensureFootnotesReferencesHaveProperOrder','_sortFootnoteDefinitions','singleton','before','isOfficialPlugin','root','min','_handleFootnoteDefinitionsChanges','reset','remove','after','getFootnotesFormatter','init','_handleInsertedFootnoteReference','findIndex','compareWith','_insertEmptyFootnotesDefinitionsContainer','has','2424lHqCIs','FootnotesTracker','some','getChildren','splice','listenTo','find','differ','createPositionAt','footnotesDefinitions','createPositionBefore','config','_footnoteDefsContainerTracker','move','_updateFootnotesCounters','_footnotes','_footnotesDefinitions','change:data','createRangeOn','map','end','153FRGKHJ','_updateFootnoteRefCounter','reference','createElement','132785Kfdvyg','412110iaWHeM','footnoteRef','_handleFootnotesDefinitionsObjectChanges','isPremiumPlugin','_footnoteFormatter','get','_footnoteDefsTracker','from','isEqual','_handleMovedFootnoteReference','getAttribute','paragraph','setFootnoteFormatter','push','unshift','pluginName','footnoteDefinition','childCount','750864zfuecM','footnotes.multiBlock','_footnoteRefsTracker','footnoteId','insert','add','set','getRootNames','parent','getChanges','$graveyard','indexOf','_handleFootnoteReferencesChanges','rootName','641895oSTwCb','48sLjqXM','329JQfxjA','low','425970WyzAMu','footnoteInlineContent','editor','length','definition','registerPostFixer','setAttribute','createRangeIn'];_0x1694=function(){return _0x2526d0;};return _0x1694();}const _0x42f411=_0x5a17;(function(_0x43217f,_0x18456c){const _0x5e7e4a=_0x5a17,_0x1b3b55=_0x43217f();while(!![]){try{const _0x5562a9=-parseInt(_0x5e7e4a(0xc9))/0x1+-parseInt(_0x5e7e4a(0x9b))/0x2+parseInt(_0x5e7e4a(0xbb))/0x3+-parseInt(_0x5e7e4a(0xad))/0x4+parseInt(_0x5e7e4a(0x9a))/0x5*(-parseInt(_0x5e7e4a(0xbc))/0x6)+parseInt(_0x5e7e4a(0xbd))/0x7*(-parseInt(_0x5e7e4a(0x81))/0x8)+parseInt(_0x5e7e4a(0x96))/0x9*(parseInt(_0x5e7e4a(0xbf))/0xa);if(_0x5562a9===_0x18456c)break;else _0x1b3b55['push'](_0x1b3b55['shift']());}catch(_0xcc743c){_0x1b3b55['push'](_0x1b3b55['shift']());}}}(_0x1694,0x1dc3b));function _0x5a17(_0x1967f7,_0x533426){const _0x1694e8=_0x1694();return _0x5a17=function(_0x5a17c0,_0x3a3913){_0x5a17c0=_0x5a17c0-0x6c;let _0x58cd42=_0x1694e8[_0x5a17c0];return _0x58cd42;},_0x5a17(_0x1967f7,_0x533426);}import{Plugin as _0x523f25}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1b4db8}from'./modelelementtracker.js';export class FootnotesTracker extends _0x523f25{[_0x42f411(0x90)]=[];[_0x42f411(0x91)]=null;[_0x42f411(0x9f)]=null;[_0x42f411(0x8d)];[_0x42f411(0xaf)];[_0x42f411(0xa1)];static get[_0x42f411(0xaa)](){const _0x50839c=_0x42f411;return _0x50839c(0x82);}static get[_0x42f411(0x73)](){return!0x0;}static get[_0x42f411(0x9e)](){return!0x0;}constructor(_0x45afe9){const _0x457333=_0x42f411;super(_0x45afe9),this[_0x457333(0x8d)]=new _0x1b4db8(this[_0x457333(0xc1)][_0x457333(0x6e)],{'elementName':_0x457333(0x8a),'getElementKey':()=>_0x457333(0x71)}),this[_0x457333(0xaf)]=new _0x1b4db8(this[_0x457333(0xc1)][_0x457333(0x6e)],{'elementName':_0x457333(0x9c),'getElementKey':_0xacf941=>_0xacf941[_0x457333(0xa5)](_0x457333(0xb0))}),this[_0x457333(0xa1)]=new _0x1b4db8(this[_0x457333(0xc1)][_0x457333(0x6e)],{'elementName':_0x457333(0xab),'getElementKey':_0x32fe9e=>_0x32fe9e[_0x457333(0xa5)](_0x457333(0xb0))});}[_0x42f411(0x7b)](){const _0x2b3917=_0x42f411,{editor:_0x52519b}=this,{model:_0x414c05,data:_0x55be11}=_0x52519b;_0x414c05[_0x2b3917(0xd0)][_0x2b3917(0xc4)](_0x25a2b9=>{const _0x45f31d=_0x2b3917,_0x23d953=_0x414c05[_0x45f31d(0xd0)][_0x45f31d(0x88)][_0x45f31d(0xb6)]();let _0x594aeb=!0x1;return this[_0x45f31d(0x9d)](_0x25a2b9,_0x23d953)&&(_0x594aeb=!0x0),this[_0x45f31d(0x76)](_0x25a2b9,_0x23d953)&&(_0x594aeb=!0x0),this[_0x45f31d(0xb9)](_0x25a2b9,_0x23d953)&&(_0x594aeb=!0x0),this[_0x45f31d(0x6f)](_0x25a2b9)&&(_0x594aeb=!0x0),this[_0x45f31d(0x6c)](_0x25a2b9)&&(_0x594aeb=!0x0),this[_0x45f31d(0x70)](_0x25a2b9)&&(_0x594aeb=!0x0),_0x594aeb;}),this[_0x2b3917(0x86)](_0x414c05[_0x2b3917(0xd0)],_0x2b3917(0x92),()=>{const _0x498aea=_0x2b3917;_0x414c05[_0x498aea(0xcf)]({'isUndoable':!0x1},_0x3e6ae2=>{const _0x347cfa=_0x498aea;this[_0x347cfa(0xce)](_0x3e6ae2);});},{'priority':_0x2b3917(0xbe)}),this[_0x2b3917(0x86)](_0x55be11,_0x2b3917(0xb3),()=>{const _0x22952f=_0x2b3917;this[_0x22952f(0x90)]=[],this[_0x22952f(0x8d)][_0x22952f(0x77)](),this[_0x22952f(0xaf)][_0x22952f(0x77)](),this[_0x22952f(0xa1)][_0x22952f(0x77)]();},{'priority':_0x2b3917(0xcd)});}[_0x42f411(0xcb)](){const _0x4a818d=_0x42f411;return this[_0x4a818d(0x91)];}[_0x42f411(0xcc)](_0x405d25){const _0x5b3d96=_0x42f411;return this[_0x5b3d96(0x90)][_0x5b3d96(0x87)](_0x45665a=>_0x45665a['id']===_0x405d25)||null;}[_0x42f411(0xc8)](){const _0x52658c=_0x42f411;return Array[_0x52658c(0xa2)](this[_0x52658c(0x90)]);}[_0x42f411(0x7a)](){const _0x156b04=_0x42f411;return this[_0x156b04(0x9f)];}[_0x42f411(0xa7)](_0x1f9c08){const _0x574794=_0x42f411;this[_0x574794(0x9f)]=_0x1f9c08;}[_0x42f411(0x8f)](_0x53bdc2,_0x2d8dfd=0x0){const _0x43eb9a=_0x42f411;let _0x48d62a=!0x1;for(let _0x3e41a4=_0x2d8dfd;_0x3e41a4<this[_0x43eb9a(0x90)][_0x43eb9a(0xc2)];_0x3e41a4++)this[_0x43eb9a(0x97)](_0x53bdc2,_0x3e41a4)&&(_0x48d62a=!0x0);return _0x48d62a;}[_0x42f411(0x7f)](_0x1c9e60,_0x12a622){const _0x193131=_0x42f411,_0x11419a=_0x1c9e60[_0x193131(0x99)](_0x193131(0x8a),{});return _0x1c9e60[_0x193131(0xc7)](_0x11419a,_0x12a622),this[_0x193131(0x91)]=_0x11419a,_0x11419a;}[_0x42f411(0xce)](_0x56ed9d){const _0x51355b=_0x42f411;if(!this[_0x51355b(0x90)][_0x51355b(0xc2)]||this[_0x51355b(0x91)])return;const _0x14da45=this[_0x51355b(0x90)][0x0][_0x51355b(0x98)][_0x51355b(0x74)],_0x24b674=this[_0x51355b(0x7f)](_0x56ed9d,_0x14da45);for(const _0x3aad89 of this[_0x51355b(0x90)])_0x3aad89[_0x51355b(0xc3)][_0x51355b(0xb5)]||_0x56ed9d[_0x51355b(0xb1)](_0x3aad89[_0x51355b(0xc3)],_0x24b674,_0x51355b(0x95));this[_0x51355b(0x8f)](_0x56ed9d);}[_0x42f411(0x9d)](_0x457345,_0x5d299a){const _0x14f2e4=_0x42f411;let _0x3890e5=!0x1;const {inserted:_0x45a1ae,removed:_0x313713,moved:_0x37db8e}=this[_0x14f2e4(0x8d)][_0x14f2e4(0xb6)](_0x5d299a);if(_0x37db8e[_0x14f2e4(0xc2)]&&(this[_0x14f2e4(0x91)]=_0x37db8e[0x0]),_0x45a1ae[_0x14f2e4(0xc2)]){if(_0x45a1ae[_0x14f2e4(0xc2)]>0x1||this[_0x14f2e4(0x91)]&&_0x45a1ae[_0x14f2e4(0x83)](_0x56de34=>_0x56de34!==this[_0x14f2e4(0x91)])){const _0x226d7d=_0x457345[_0x14f2e4(0x99)](_0x14f2e4(0x8a),{}),_0x46c1fb=[];this[_0x14f2e4(0x91)]&&_0x46c1fb[_0x14f2e4(0xa8)](this[_0x14f2e4(0x91)]),_0x46c1fb[_0x14f2e4(0xa8)](..._0x45a1ae),_0x457345[_0x14f2e4(0xb1)](_0x226d7d,_0x46c1fb[0x0],_0x14f2e4(0x72));for(const _0x2a9bdb of _0x46c1fb)_0x457345[_0x14f2e4(0x8e)](_0x457345[_0x14f2e4(0xc6)](_0x2a9bdb),_0x457345[_0x14f2e4(0x89)](_0x226d7d,_0x14f2e4(0x95))),_0x457345[_0x14f2e4(0x78)](_0x2a9bdb);this[_0x14f2e4(0x91)]=_0x226d7d,this[_0x14f2e4(0x8f)](_0x457345),_0x3890e5=!0x0;}else this[_0x14f2e4(0x91)]=_0x45a1ae[0x0];}if(_0x313713[_0x14f2e4(0xc2)]&&_0x14f2e4(0xb7)===this[_0x14f2e4(0x91)]?.[_0x14f2e4(0x74)][_0x14f2e4(0xba)]){for(const _0xe93e74 of this[_0x14f2e4(0x90)])_0x457345[_0x14f2e4(0x78)](_0xe93e74[_0x14f2e4(0x98)]),_0x3890e5=!0x0;this[_0x14f2e4(0x90)]=[],this[_0x14f2e4(0x91)]=null;}return _0x3890e5;}[_0x42f411(0x76)](_0x558bac,_0x3f6cff){const _0x192d43=_0x42f411;let _0x435383=!0x1;const _0x13a47d=this[_0x192d43(0xc1)][_0x192d43(0x8c)][_0x192d43(0xa0)](_0x192d43(0xae)),{inserted:_0x288e81,moved:_0x7985e}=this[_0x192d43(0xa1)][_0x192d43(0xb6)](_0x3f6cff);for(const _0x3aa24d of[..._0x7985e,..._0x288e81]){const _0x483684=_0x3aa24d[_0x192d43(0xa5)](_0x192d43(0xb0)),_0x3b9e06=this[_0x192d43(0xcc)](_0x483684);_0x3b9e06&&(_0x3b9e06[_0x192d43(0xc3)]=_0x3aa24d),_(_0x558bac,_0x13a47d,_0x3aa24d)&&(_0x435383=!0x0);}return _0x435383;}[_0x42f411(0xb9)](_0xe4fda8,_0x424529){const _0x2f7433=_0x42f411;let _0x1c8ece=!0x1;const {removed:_0x50fde8,inserted:_0x42371b,moved:_0x1ee81f}=this[_0x2f7433(0xaf)][_0x2f7433(0xb6)](_0x424529);for(const _0x4ffb8f of _0x50fde8)this[_0x2f7433(0x6d)](_0xe4fda8,_0x4ffb8f)&&(_0x1c8ece=!0x0);for(const _0x14aab5 of _0x42371b)this[_0x2f7433(0x7c)](_0xe4fda8,_0x14aab5)&&(_0x1c8ece=!0x0);for(const _0xe44418 of _0x1ee81f)this[_0x2f7433(0xa4)](_0xe4fda8,_0xe44418)&&(_0x1c8ece=!0x0);return _0x1c8ece;}[_0x42f411(0x6c)](_0x5b85c1){const _0x2be19c=_0x42f411;if(!this[_0x2be19c(0x91)])return!0x1;let _0x55ddca=!0x1;if(this[_0x2be19c(0x91)][_0x2be19c(0xac)]!==this[_0x2be19c(0x90)][_0x2be19c(0xc2)]){const _0x5918f1=[];for(const _0x59390f of this[_0x2be19c(0x91)][_0x2be19c(0x84)]()){const _0x2bb437=_0x59390f[_0x2be19c(0xa5)](_0x2be19c(0xb0));this[_0x2be19c(0xcc)](_0x2bb437)||(_0x5918f1[_0x2be19c(0xa9)](_0x59390f),_0x55ddca=!0x0);}for(const _0x5ec681 of _0x5918f1)_0x5b85c1[_0x2be19c(0x78)](_0x5ec681);}const _0x29bee4=new Set(),_0x3e5439=[];for(const _0x3ab961 of this[_0x2be19c(0x91)][_0x2be19c(0x84)]()){const _0x2a93e2=_0x3ab961[_0x2be19c(0xa5)](_0x2be19c(0xb0));_0x29bee4[_0x2be19c(0x80)](_0x2a93e2)?(_0x3e5439[_0x2be19c(0xa9)](_0x3ab961),_0x55ddca=!0x0):_0x29bee4[_0x2be19c(0xb2)](_0x2a93e2);}for(const _0x59ff0e of _0x3e5439)_0x5b85c1[_0x2be19c(0x78)](_0x59ff0e);return this[_0x2be19c(0x91)][_0x2be19c(0xac)]||(_0x5b85c1[_0x2be19c(0x78)](this[_0x2be19c(0x91)]),this[_0x2be19c(0x91)]=null,_0x55ddca=!0x0),_0x55ddca;}[_0x42f411(0x7c)](_0x57ec93,_0x22a08d){const _0x2306d6=_0x42f411;if(this[_0x2306d6(0x90)][_0x2306d6(0x87)](_0x106971=>_0x106971[_0x2306d6(0x98)]===_0x22a08d))return!0x1;let _0x568b9b=!0x1;const _0x3771af=_0x22a08d[_0x2306d6(0xa5)](_0x2306d6(0xb0)),_0x521569=this[_0x2306d6(0x90)][_0x2306d6(0x7d)](_0x2910e4=>_0x2910e4['id']===_0x3771af);-0x1!==_0x521569&&(_0x57ec93[_0x2306d6(0x78)](this[_0x2306d6(0x90)][_0x521569][_0x2306d6(0x98)]),this[_0x2306d6(0x90)][_0x2306d6(0x85)](_0x521569,0x1),_0x568b9b=!0x0);let _0x299175=this[_0x2306d6(0x91)]?function(_0x1346af,_0xb5623e){const _0x5d6ce0=_0x2306d6;for(const _0x30dc9f of _0x1346af[_0x5d6ce0(0x84)]())if(_0x30dc9f[_0x5d6ce0(0xa5)](_0x5d6ce0(0xb0))===_0xb5623e)return _0x30dc9f;return null;}(this[_0x2306d6(0x91)],_0x3771af):null;_0x299175||(_0x299175=_0x57ec93[_0x2306d6(0x99)](_0x2306d6(0xab),{'footnoteId':_0x3771af}),this[_0x2306d6(0x91)]&&(_0x57ec93[_0x2306d6(0xb1)](_0x299175,this[_0x2306d6(0x91)],_0x2306d6(0x95)),_0x568b9b=!0x0));const _0x7d8388={'id':_0x3771af,'reference':_0x22a08d,'definition':_0x299175},_0x41bf3f=I(this[_0x2306d6(0xc1)][_0x2306d6(0x6e)],this[_0x2306d6(0x90)],_0x22a08d);this[_0x2306d6(0x90)][_0x2306d6(0x85)](_0x41bf3f,0x0,_0x7d8388);let _0x187cd6=_0x41bf3f;return-0x1!==_0x521569&&(_0x187cd6=Math[_0x2306d6(0x75)](_0x41bf3f,_0x521569)),this[_0x2306d6(0x8f)](_0x57ec93,_0x187cd6)&&(_0x568b9b=!0x0),_0x568b9b;}[_0x42f411(0x6d)](_0x4d9e54,_0x576e9a){const _0x5b93ad=_0x42f411,_0xb13d87=this[_0x5b93ad(0x90)][_0x5b93ad(0x7d)](_0x2c1646=>_0x2c1646['id']===_0x576e9a);if(-0x1===_0xb13d87)return!0x1;let _0x38936e=!0x1;const _0x5d9784=this[_0x5b93ad(0x90)][_0xb13d87];return _0x5b93ad(0xb7)!==_0x5d9784[_0x5b93ad(0xc3)][_0x5b93ad(0x74)][_0x5b93ad(0xba)]&&(_0x4d9e54[_0x5b93ad(0x78)](_0x5d9784[_0x5b93ad(0xc3)]),_0x38936e=!0x0),this[_0x5b93ad(0x90)][_0x5b93ad(0x85)](_0xb13d87,0x1),this[_0x5b93ad(0x8f)](_0x4d9e54,_0xb13d87)&&(_0x38936e=!0x0),_0x38936e;}[_0x42f411(0xa4)](_0x48c1fc,_0x44bb80){const _0x4bf0b7=_0x42f411,_0x4eec6a=_0x44bb80[_0x4bf0b7(0xa5)](_0x4bf0b7(0xb0)),_0x5d9069=this[_0x4bf0b7(0x90)][_0x4bf0b7(0x7d)](_0x3a4f37=>_0x3a4f37['id']===_0x4eec6a),_0x4d3034=this[_0x4bf0b7(0x90)][_0x5d9069];let _0x2d67fc=!0x1;_0x4d3034[_0x4bf0b7(0x98)]=_0x44bb80,this[_0x4bf0b7(0x90)][_0x4bf0b7(0x85)](_0x5d9069,0x1);const _0x7ade22=I(this[_0x4bf0b7(0xc1)][_0x4bf0b7(0x6e)],this[_0x4bf0b7(0x90)],_0x44bb80);return this[_0x4bf0b7(0x90)][_0x4bf0b7(0x85)](_0x7ade22,0x0,_0x4d3034),this[_0x4bf0b7(0x8f)](_0x48c1fc,Math[_0x4bf0b7(0x75)](_0x5d9069,_0x7ade22))&&(_0x2d67fc=!0x0),_0x2d67fc;}[_0x42f411(0x97)](_0x21c9f2,_0x5529e6){const _0x339151=_0x42f411;if(!this[_0x339151(0x91)])return!0x1;const _0x388425=this[_0x339151(0x90)][_0x5529e6];let _0xab62b2;return _0xab62b2=this[_0x339151(0x9f)]?this[_0x339151(0x9f)]({'footnote':_0x388425,'container':this[_0x339151(0x91)],'digits':String(this[_0x339151(0x90)][_0x339151(0xc2)])[_0x339151(0xc2)],'value':_0x5529e6+0x1}):String(_0x5529e6+0x1),_0x388425[_0x339151(0x98)][_0x339151(0xa5)](_0x339151(0xca))!=_0xab62b2&&(_0x21c9f2[_0x339151(0xc5)](_0x339151(0xca),_0xab62b2,_0x388425[_0x339151(0x98)]),!0x0);}[_0x42f411(0x70)](_0x4f5fd4){const _0x685973=_0x42f411;if(!this[_0x685973(0x91)]||this[_0x685973(0x90)][_0x685973(0xc2)]<0x2)return!0x1;if(function(_0x36df9c,_0x36f41a){const _0x662540=_0x685973;if(_0x36df9c[_0x662540(0xc2)]!==_0x36f41a[_0x662540(0xc2)])return!0x1;for(let _0x31e279=0x0;_0x31e279<_0x36df9c[_0x662540(0xc2)];_0x31e279++)if(_0x36df9c[_0x31e279]!==_0x36f41a[_0x31e279])return!0x1;return!0x0;}(this[_0x685973(0x90)][_0x685973(0x94)](_0x938e46=>_0x938e46['id']),Array[_0x685973(0xa2)](this[_0x685973(0x91)][_0x685973(0x84)]())[_0x685973(0x94)](_0x1e1f7f=>_0x1e1f7f[_0x685973(0xa5)](_0x685973(0xb0)))))return!0x1;let _0x1ccff5=!0x1;for(let _0x1eb856=0x0;_0x1eb856<this[_0x685973(0x90)][_0x685973(0xc2)];_0x1eb856++){const _0x363032=this[_0x685973(0x90)][_0x1eb856],_0x545e67=_0x4f5fd4[_0x685973(0x8b)](_0x363032[_0x685973(0xc3)]),_0x56e3d1=_0x4f5fd4[_0x685973(0x89)](this[_0x685973(0x91)],_0x1eb856);_0x545e67[_0x685973(0xa3)](_0x56e3d1)||(_0x4f5fd4[_0x685973(0x8e)](_0x4f5fd4[_0x685973(0x93)](_0x363032[_0x685973(0xc3)]),_0x56e3d1),_0x1ccff5=!0x0);}return _0x1ccff5;}[_0x42f411(0x6f)](_0x248cd5){const _0xab2f4e=_0x42f411;if(!this[_0xab2f4e(0x90)][_0xab2f4e(0xc2)])return!0x1;const {model:_0x2d779c}=this[_0xab2f4e(0xc1)];let _0x18b712=!0x1;for(let _0x273e90=0x0;_0x273e90<this[_0xab2f4e(0x90)][_0xab2f4e(0xc2)]-0x1;_0x273e90++){const _0x3e72b4=this[_0xab2f4e(0x90)][_0x273e90],_0x257ad0=this[_0xab2f4e(0x90)][_0x273e90+0x1],_0x2be6b5=_0x2d779c[_0xab2f4e(0x8b)](_0x3e72b4[_0xab2f4e(0x98)]),_0x3be37c=_0x2d779c[_0xab2f4e(0x8b)](_0x257ad0[_0xab2f4e(0x98)]);_0xab2f4e(0x79)===_0x2be6b5[_0xab2f4e(0x7e)](_0x3be37c)&&(this[_0xab2f4e(0xa4)](_0x248cd5,_0x3e72b4[_0xab2f4e(0x98)]),_0x273e90=-0x1,_0x18b712=!0x0);}return _0x18b712;}}function _(_0x7d6ed1,_0x15beea,_0x49e46b){const _0x344b5d=_0x42f411;if(_0x49e46b[_0x344b5d(0xac)])return!0x1;const _0x4da1e7=_0x15beea?_0x344b5d(0xa6):_0x344b5d(0xc0);return _0x7d6ed1[_0x344b5d(0xb1)](_0x7d6ed1[_0x344b5d(0x99)](_0x4da1e7),_0x49e46b),!0x0;}function I(_0x4878f1,_0x4ba21f,_0x477e2b){const _0x22e663=_0x42f411;if(0x0===_0x4ba21f[_0x22e663(0xc2)])return 0x0;const _0xb6b538=_0x4878f1[_0x22e663(0x8b)](_0x477e2b);for(let _0xe89ba6=0x0;_0xe89ba6<_0x4ba21f[_0x22e663(0xc2)];_0xe89ba6++){const _0x578d7f=_0x4ba21f[_0xe89ba6],_0x2501dd=_0x4878f1[_0x22e663(0x8b)](_0x578d7f[_0x22e663(0x98)]);if(_0x22e663(0x72)===_0xb6b538[_0x22e663(0x7e)](_0x2501dd))return _0xe89ba6;}const _0x25def6=_0x477e2b[_0x22e663(0x74)];let _0x280b52=-0x1;for(let _0xd5bcd1=_0x4ba21f[_0x22e663(0xc2)]-0x1;_0xd5bcd1>=0x0;_0xd5bcd1--)if(_0x4ba21f[_0xd5bcd1][_0x22e663(0x98)][_0x22e663(0x74)]===_0x25def6){_0x280b52=_0xd5bcd1;break;}if(-0x1!==_0x280b52)return _0x280b52+0x1;const _0x2f70af=_0x4878f1[_0x22e663(0xd0)][_0x22e663(0xb4)](),_0x18822e=_0x2f70af[_0x22e663(0xb8)](_0x25def6[_0x22e663(0xba)]),_0x5d8dd0=_0x2f70af[_0x18822e+0x1];if(_0x5d8dd0){for(let _0x28701e=0x0;_0x28701e<_0x4ba21f[_0x22e663(0xc2)];_0x28701e++)if(_0x4ba21f[_0x28701e][_0x22e663(0x98)][_0x22e663(0x74)][_0x22e663(0xba)]===_0x5d8dd0)return _0x28701e;}return _0x4ba21f[_0x22e663(0xc2)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x59e458,MenuBarMenuListItemButtonView as _0x44a726}from'ckeditor5/src/ui.js';import{Plugin as _0x48d682}from'ckeditor5/src/core.js';import{IconFootnote as _0x4bcca3}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x48d682{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1ca99b}=this,{componentFactory:_0x42b017}=_0x1ca99b['ui'];_0x42b017['add']('insertFootnote',x(_0x1ca99b,_0x59e458)),_0x42b017['add']('menuBar:insertFootnote',x(_0x1ca99b,_0x44a726)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f5ab3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1bc382;for(const _0x566167 in _0x3f5ab3){const _0x868fec=_0x566167,_0xb4e75a=_0x3f5ab3[_0x868fec];if('footnotesLicenseKeyValid'==_0xb4e75a||'footnotesLicenseKeyInvalid'==_0xb4e75a||'footnotesLicenseKeyExpired'==_0xb4e75a||'footnotesLicenseKeyDomainLimit'==_0xb4e75a||'footnotesLicenseKeyNotAllowed'==_0xb4e75a||'footnotesLicenseKeyEvaluationLimit'==_0xb4e75a||'footnotesLicenseKeyTrialLimit'==_0xb4e75a||'footnotesLicenseKeyUsageLimit'==_0xb4e75a){delete _0x3f5ab3[_0x868fec],_0x1bc382=_0xb4e75a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2d0d17,_0xbe240e){const _0x159e3b=_0x2d0d17['commands']['get']('insertFootnote');return _0x263b9c=>{const {t:t}=_0x263b9c,_0x67c18d=new _0xbe240e(_0x263b9c),_0x5049ed=_0x67c18d instanceof _0x44a726;return _0x67c18d['bind']('isEnabled')['to'](_0x159e3b,'isEnabled'),_0x67c18d['set']({'label':t(_0x5049ed?'Footnote':'Insert\x20footnote'),'icon':_0x4bcca3,'tooltip':!0x0}),_0x67c18d['on']('execute',()=>{_0x159e3b['execute'](),_0x2d0d17['editing']['view']['focus']();}),_0x67c18d;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x46d17b,_0x2bbe90){var _0x59e0a6=_0x99f7,_0x56e6b7=_0x46d17b();while(!![]){try{var _0x1ee991=parseInt(_0x59e0a6(0xf8))/0x1*(parseInt(_0x59e0a6(0xf7))/0x2)+parseInt(_0x59e0a6(0xf6))/0x3+-parseInt(_0x59e0a6(0xf1))/0x4*(-parseInt(_0x59e0a6(0xf9))/0x5)+-parseInt(_0x59e0a6(0xf2))/0x6+-parseInt(_0x59e0a6(0xef))/0x7*(-parseInt(_0x59e0a6(0xf0))/0x8)+parseInt(_0x59e0a6(0xf4))/0x9*(parseInt(_0x59e0a6(0xf3))/0xa)+-parseInt(_0x59e0a6(0xf5))/0xb;if(_0x1ee991===_0x2bbe90)break;else _0x56e6b7['push'](_0x56e6b7['shift']());}catch(_0x3ecd7b){_0x56e6b7['push'](_0x56e6b7['shift']());}}}(_0x12ce,0x31624));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x99f7(_0x5df070,_0x177ffa){var _0x12ceee=_0x12ce();return _0x99f7=function(_0x99f786,_0x446291){_0x99f786=_0x99f786-0xef;var _0x271928=_0x12ceee[_0x99f786];return _0x271928;},_0x99f7(_0x5df070,_0x177ffa);}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x12ce(){var _0x1951df=['1096929iVpULI','6prmMLu','8503sQTVJm','904955erZxkX','126BGWrFy','108656kvLBHG','4QNhpca','200682puVXHT','436950rvKXVv','36kwRTCy','8312436XVmDAX'];_0x12ce=function(){return _0x1951df;};return _0x12ce();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b1946=_0x2a30;(function(_0x3458e6,_0x51a497){const _0x2ba836=_0x2a30,_0x21c359=_0x3458e6();while(!![]){try{const _0x4a5080=-parseInt(_0x2ba836(0x172))/0x1*(-parseInt(_0x2ba836(0x16b))/0x2)+parseInt(_0x2ba836(0x173))/0x3*(-parseInt(_0x2ba836(0x166))/0x4)+-parseInt(_0x2ba836(0x164))/0x5+parseInt(_0x2ba836(0x17c))/0x6*(-parseInt(_0x2ba836(0x163))/0x7)+-parseInt(_0x2ba836(0x17e))/0x8+parseInt(_0x2ba836(0x17f))/0x9+parseInt(_0x2ba836(0x177))/0xa;if(_0x4a5080===_0x51a497)break;else _0x21c359['push'](_0x21c359['shift']());}catch(_0x1ba5a6){_0x21c359['push'](_0x21c359['shift']());}}}(_0x3a7b,0x57380));export class ModelElementTracker{[_0x2b1946(0x17d)];[_0x2b1946(0x169)];[_0x2b1946(0x165)];[_0x2b1946(0x16f)]=new Map();constructor(_0x3ffa0e,_0x1a4b89){const _0x3af4a8=_0x2b1946;this[_0x3af4a8(0x17d)]=_0x3ffa0e,this[_0x3af4a8(0x169)]=_0x1a4b89[_0x3af4a8(0x16a)],this[_0x3af4a8(0x165)]=_0x1a4b89[_0x3af4a8(0x17b)];}[_0x2b1946(0x15b)](){const _0x38abb1=_0x2b1946;this[_0x38abb1(0x16f)][_0x38abb1(0x180)]();}[_0x2b1946(0x17a)](_0xd34c41){const _0xe494c1=_0x2b1946,_0x190f61=new Set(),_0x46f7ac=new Map();for(const _0x4df7dd of _0xd34c41){if(_0xe494c1(0x183)===_0x4df7dd[_0xe494c1(0x178)]&&_0xe494c1(0x162)!==_0x4df7dd[_0xe494c1(0x179)]&&_0x4df7dd[_0xe494c1(0x15a)][_0xe494c1(0x160)]){const _0x156bed=this[_0xe494c1(0x17d)][_0xe494c1(0x15d)](_0x4df7dd[_0xe494c1(0x15a)][_0xe494c1(0x160)]);for(const _0x378b79 of _0x156bed[_0xe494c1(0x16c)]()){if(!_0x378b79['is'](_0xe494c1(0x16d),this[_0xe494c1(0x169)]))continue;const _0x33e68c=this[_0xe494c1(0x165)](_0x378b79);_0x46f7ac[_0xe494c1(0x181)](_0x33e68c)||_0x46f7ac[_0xe494c1(0x185)](_0x33e68c,[]),_0x46f7ac[_0xe494c1(0x168)](_0x33e68c)[_0xe494c1(0x171)](_0x378b79);}}if(_0xe494c1(0x170)===_0x4df7dd[_0xe494c1(0x178)]&&_0x4df7dd[_0xe494c1(0x179)]===this[_0xe494c1(0x169)]){const _0x3db20b=this[_0xe494c1(0x165)]({'getAttribute':_0x2dc1eb=>_0x4df7dd[_0xe494c1(0x15f)][_0xe494c1(0x168)](_0x2dc1eb)});_0x190f61[_0xe494c1(0x167)](_0x3db20b);}}for(const [_0x14e001,_0x333973]of this[_0xe494c1(0x16f)])_0xe494c1(0x174)===_0x333973[_0xe494c1(0x182)][_0xe494c1(0x16e)]&&_0x190f61[_0xe494c1(0x167)](_0x14e001);for(const _0x3da6f6 of _0x190f61)this[_0xe494c1(0x16f)][_0xe494c1(0x161)](_0x3da6f6);for(const [_0x4bda69,_0x3c5fc5]of _0x46f7ac)this[_0xe494c1(0x16f)][_0xe494c1(0x185)](_0x4bda69,_0x3c5fc5[_0x3c5fc5[_0xe494c1(0x15e)]-0x1]);const _0x3b8025=new Set();for(const [_0x10f5de,_0x37dff9]of _0x46f7ac)_0x190f61[_0xe494c1(0x181)](_0x10f5de)&&(_0x3b8025[_0xe494c1(0x167)](_0x37dff9[0x0]),_0x37dff9[_0xe494c1(0x15e)]>0x1?_0x46f7ac[_0xe494c1(0x185)](_0x10f5de,_0x37dff9[_0xe494c1(0x184)](0x1)):_0x46f7ac[_0xe494c1(0x161)](_0x10f5de),_0x190f61[_0xe494c1(0x161)](_0x10f5de));return{'removed':Array[_0xe494c1(0x175)](_0x190f61),'inserted':Array[_0xe494c1(0x175)](_0x46f7ac[_0xe494c1(0x15c)]())[_0xe494c1(0x176)](),'moved':Array[_0xe494c1(0x175)](_0x3b8025)};}}function _0x2a30(_0x472b0c,_0x4ea624){const _0x3a7b3d=_0x3a7b();return _0x2a30=function(_0x2a30e3,_0x6d2072){_0x2a30e3=_0x2a30e3-0x15a;let _0x3b6b0c=_0x3a7b3d[_0x2a30e3];return _0x3b6b0c;},_0x2a30(_0x472b0c,_0x4ea624);}function _0x3a7b(){const _0x18463e=['type','name','getChanges','getElementKey','244296cyVIQL','_model','3878832IencIy','1785024XmoGCE','clear','has','root','insert','slice','set','position','reset','values','createRangeOn','length','attributes','nodeAfter','delete','$text','91xqWrvJ','2995015cYimqZ','_getElementKey','540fRQoFJ','add','get','_elementName','elementName','2gkaFNU','getItems','element','rootName','_trackedElements','remove','push','76808WyicSp','1446xfYZlQ','$graveyard','from','flat','17603390ppoMtJ'];_0x3a7b=function(){return _0x18463e;};return _0x3a7b();}
|