@ckeditor/ckeditor5-footnotes 47.2.0-alpha.1 → 47.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.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/lang/translations/ar.po +25 -25
- package/lang/translations/bg.po +25 -25
- package/lang/translations/bn.po +25 -25
- package/lang/translations/ca.po +25 -25
- package/lang/translations/cs.po +25 -25
- package/lang/translations/da.po +25 -25
- package/lang/translations/de.po +25 -25
- package/lang/translations/el.po +25 -25
- package/lang/translations/es.po +25 -25
- package/lang/translations/et.po +25 -25
- package/lang/translations/fi.po +25 -25
- package/lang/translations/fr.po +25 -25
- package/lang/translations/he.po +25 -25
- package/lang/translations/hi.po +25 -25
- package/lang/translations/hu.po +25 -25
- package/lang/translations/id.po +25 -25
- package/lang/translations/it.po +25 -25
- package/lang/translations/ja.po +25 -25
- package/lang/translations/ko.po +25 -25
- package/lang/translations/lt.po +25 -25
- package/lang/translations/lv.po +25 -25
- package/lang/translations/ms.po +25 -25
- package/lang/translations/nl.po +25 -25
- package/lang/translations/no.po +25 -25
- package/lang/translations/pl.po +25 -25
- package/lang/translations/pt-br.po +25 -25
- package/lang/translations/pt.po +25 -25
- package/lang/translations/ro.po +25 -25
- package/lang/translations/ru.po +25 -25
- package/lang/translations/sk.po +25 -25
- package/lang/translations/sr.po +25 -25
- package/lang/translations/sv.po +25 -25
- package/lang/translations/th.po +25 -25
- package/lang/translations/tr.po +25 -25
- package/lang/translations/uk.po +25 -25
- package/lang/translations/vi.po +25 -25
- package/lang/translations/zh-cn.po +25 -25
- package/lang/translations/zh.po +25 -25
- 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 _0x20f558}from'ckeditor5/src/core.js';import{isWidget as _0x4978b4,toWidget as _0x3f3af4,toWidgetEditable as _0x339a86}from'ckeditor5/src/widget.js';import{uid as _0x51acc6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4d2d26,ClickObserver as _0x20fa02}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x59062f}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x54c20c}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x20f558{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x59062f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4167dc}=this;_0x4167dc['config']['define']('footnotes.multiBlock',!0x0),_0x4167dc['commands']['add']('insertFootnote',new _0x54c20c(_0x4167dc)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3009d8){const _0x510c57=_0x248b64([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]),_0x365795=0x47a28506,_0x5148b6=0x47a5f2ae^_0x365795,_0x3368e6=window[_0x248b64([0x44,0x61,0x74,0x65])][_0x248b64([0x6e,0x6f,0x77])](),_0x5bfd03=_0x3009d8[_0x248b64([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22b829=new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8ce8=>{_0x5bfd03[_0x248b64([0x6f,0x6e,0x63,0x65])](_0x248b64([0x72,0x65,0x61,0x64,0x79]),_0x3c8ce8);}),_0x529d6f={[_0x248b64([0x6b,0x74,0x79])]:_0x248b64([0x45,0x43]),[_0x248b64([0x75,0x73,0x65])]:_0x248b64([0x73,0x69,0x67]),[_0x248b64([0x63,0x72,0x76])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36]),[_0x248b64([0x78])]:_0x248b64([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]),[_0x248b64([0x79])]:_0x248b64([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]),[_0x248b64([0x61,0x6c,0x67])]:_0x248b64([0x45,0x53,0x32,0x35,0x36])},_0x2cf225=_0x5bfd03[_0x248b64([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x248b64([0x67,0x65,0x74])](_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf38669(){let _0x8dcd89,_0x1e1106=null,_0x306bd1=null;try{if(_0x2cf225==_0x248b64([0x47,0x50,0x4c]))return _0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8dcd89=_0x456468(),!_0x8dcd89)return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x306bd1=_0x35d749(_0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8dcd89[_0x248b64([0x6a,0x74,0x69])])),await _0x513bd9()?_0x2e9829()?_0xca383b()?_0x248b64([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbb120()?(_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6a8fef()):_0x248b64([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xca383b(){const _0x389c6a=[_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x248b64([0x74,0x72,0x69,0x61,0x6c])][_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3368e6/0x3e8:0xe10*_0x5148b6;return _0x8dcd89[_0x248b64([0x65,0x78,0x70])]<_0x389c6a;}function _0x2e9829(){const _0x46cace=_0x8dcd89[_0x248b64([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46cace&&(!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a]))||!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x46,0x4f,0x4f])));}function _0xbb120(){const _0x59498e=_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59498e||0x0==_0x59498e[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39c79a}=new URL(window[_0x248b64([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59498e[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39c79a))return!0x0;const _0x1054d9=_0x39c79a[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));return _0x59498e[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a5d43=>_0x3a5d43[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a])))[_0x248b64([0x6d,0x61,0x70])](_0x3447f8=>_0x3447f8[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])))[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa151c2=>_0xa151c2[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x6d,0x61,0x70])](_0x2057e9=>Array(_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2057e9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x66,0x69,0x6c,0x6c])](_0x2057e9[0x0]===_0x248b64([0x2a])?_0x248b64([0x2a]):'')[_0x248b64([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2057e9))[_0x248b64([0x73,0x6f,0x6d,0x65])](_0x2b78d0=>_0x1054d9[_0x248b64([0x65,0x76,0x65,0x72,0x79])]((_0x381e44,_0x3b2728)=>_0x2b78d0[_0x3b2728]===_0x381e44||_0x2b78d0[_0x3b2728]===_0x248b64([0x2a])));}function _0x6a8fef(){return _0x1e1106&&_0x306bd1?new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d8f7e,_0x4cd5b5)=>{_0x1e1106[_0x248b64([0x74,0x68,0x65,0x6e])](_0x4d8f7e,_0x4cd5b5),_0x306bd1[_0x248b64([0x74,0x68,0x65,0x6e])](_0x6c4419=>{_0x6c4419!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x4d8f7e(_0x6c4419);},_0x4cd5b5);}):_0x1e1106||_0x306bd1||_0x248b64([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35d749(_0x3c5d87,_0x4a8d1e){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11e5e5=>{if(_0x21f368())return _0x11e5e5(_0x248b64([0x56,0x61,0x6c,0x69,0x64]));_0xa620ce(),_0x5bfd03[_0x248b64([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x597020=!0x1;const _0x1e649e=_0x51acc6();function _0x52f4b6(_0x282979){return!!_0x282979&&(typeof _0x282979===_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x282979===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x282979[_0x248b64([0x74,0x68,0x65,0x6e])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x282979[_0x248b64([0x63,0x61,0x74,0x63,0x68])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ee392(_0x1681a4){_0xaf4acc(_0x1681a4)[_0x248b64([0x74,0x68,0x65,0x6e])](_0x43db51=>{if(!_0x43db51||_0x43db51[_0x248b64([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x248b64([0x6f,0x6b]))return _0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21582c(_0x44236f(_0x1e649e+_0x4a8d1e))!=_0x43db51[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x19ac4b=>(_0xb0be17(),_0x19ac4b),()=>{const _0x8c1971=_0x15eda3();return null==_0x8c1971?(_0xb0be17(),_0x248b64([0x56,0x61,0x6c,0x69,0x64])):_0x248b64(_0x3368e6-_0x8c1971>(0x63ae0106^_0x365795)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x11e5e5)[_0x248b64([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dfc2f=0x47946b86^_0x365795;function _0xb0be17(){const _0x23f71e=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x2c74df=_0x191f16(_0x21582c(window[_0x248b64([0x4d,0x61,0x74,0x68])][_0x248b64([0x63,0x65,0x69,0x6c])](_0x3368e6/_0x5dfc2f)));window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f71e,_0x2c74df);}function _0x15eda3(){const _0x144812=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x3d2c65=window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144812);return _0x3d2c65?window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x191f16(_0x3d2c65),0x10)*_0x5dfc2f:null;}function _0xaf4acc(_0x4f2b26){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434077,_0x5ebf34)=>{_0x4f2b26[_0x248b64([0x74,0x68,0x65,0x6e])](_0x434077,_0x5ebf34),window[_0x248b64([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ebf34,0x47a351c6^_0x365795);});}}_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49a4cd,_0x33eb40)=>{if(_0x33eb40[0x0]!=_0x3c5d87)return _0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33eb40[0x1]={..._0x33eb40[0x1],[_0x248b64([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e649e};},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x68,0x69,0x67,0x68])}),_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5069cb=>{_0x52f4b6(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x597020=!0x0,_0x1ee392(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x6c,0x6f,0x77])}),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>{_0x597020||_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21f368(){return _0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x248b64([0x61,0x75,0x74,0x6f]);}function _0xa620ce(){_0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x248b64([0x61,0x75,0x74,0x6f]);}}function _0xe8fdba(_0x1d3f38){const _0xf361a6=[new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55d373=>setTimeout(_0x55d373,0x47abbbca^_0x365795)),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfb8e=>{let _0x4b8d94=0x0;_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x6f,0x6e])](_0x248b64([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x199027,_0x182182)=>{_0x182182[0x0][_0x248b64([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8d94++,_0x4b8d94==(0x47a284fe^_0x365795)&&(_0x4cfb8e(),_0x199027[_0x248b64([0x6f,0x66,0x66])]());});}))];return window[_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x248b64([0x72,0x61,0x63,0x65])](_0xf361a6)[_0x248b64([0x74,0x68,0x65,0x6e])](()=>_0x1d3f38);}async function _0x1b3d3f(){await _0x22b829,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x248b64([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2328f6(_0x53610e){const _0x1f5388=_0x54504f();_0x5bfd03[_0x1f5388]=_0x248b64([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53610e,_0x53610e!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3d3f();}function _0x54504f(){const _0x4f69f8=window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x248b64([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x248b64([0x6e,0x6f,0x77])]())[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x248b64([0x2e]),'');let _0x4ec13d=_0x248b64([0x75]);for(let _0x1b619b=0x0;_0x1b619b<_0x4f69f8[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b619b+=0x2){let _0x416fcf=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f69f8[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b619b,_0x1b619b+0x2));_0x416fcf>=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x416fcf-=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ec13d+=_0x510c57[_0x416fcf];}return _0x4ec13d;}function _0x456468(){const _0x19de27=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));if(0x3!=_0x19de27[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x522839(_0x19de27[0x1]);function _0x522839(_0x2c18b7){const _0x4fe004=_0x32fb97(_0x2c18b7);return _0x4fe004&&_0x1208b2()?_0x4fe004:null;function _0x1208b2(){const _0x2b57f0=_0x4fe004[_0x248b64([0x6a,0x74,0x69])],_0x930732=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e2ab1={..._0x4fe004,[_0x248b64([0x6a,0x74,0x69])]:_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e2ab1[_0x248b64([0x76,0x63])],_0x44236f(_0x3e2ab1)==_0x930732;}}}async function _0x513bd9(){let _0x5a7fa4=!0x0;try{const _0x553f11=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])),[_0x26a034,_0x2f9c6c,_0x1cf780]=_0x553f11;return _0x3f9b9e(_0x26a034),await _0xdddb5b(_0x26a034,_0x2f9c6c,_0x1cf780),_0x5a7fa4;}catch{return!0x1;}function _0x3f9b9e(_0x270bba){const _0x4276be=_0x32fb97(_0x270bba);_0x4276be&&_0x4276be[_0x248b64([0x61,0x6c,0x67])]==_0x248b64([0x45,0x53,0x32,0x35,0x36])||(_0x5a7fa4=!0x1);}async function _0xdddb5b(_0x14baf1,_0x2a4ca9,_0x42cd0f){const _0x2d8098=window[_0x248b64([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x248b64([0x66,0x72,0x6f,0x6d])](_0x5b2aaa(_0x42cd0f),_0xcf4778=>_0xcf4778[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b67b1=new window[(_0x248b64([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x248b64([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x14baf1+_0x248b64([0x2e])+_0x2a4ca9),_0x4b8e7b=window[_0x248b64([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x248b64([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b8e7b)return;const _0x3b9463=await _0x4b8e7b[_0x248b64([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x248b64([0x6a,0x77,0x6b]),_0x529d6f,{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b8e7b[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x68,0x61,0x73,0x68])]:{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b9463,_0x2d8098,_0x3b67b1)||(_0x5a7fa4=!0x1);}}function _0x32fb97(_0x2cd5b3){return _0x2cd5b3[_0x248b64([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x248b64([0x65,0x79]))?JSON[_0x248b64([0x70,0x61,0x72,0x73,0x65])](_0x5b2aaa(_0x2cd5b3)):null;}function _0x5b2aaa(_0x13b6e1){return window[_0x248b64([0x61,0x74,0x6f,0x62])](_0x13b6e1[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x248b64([0x2b]))[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x248b64([0x2f])));}function _0x44236f(_0x4eb1bb){let _0x526943=0x1505;function _0x2244bc(_0x4d64e4){for(let _0x3355b2=0x0;_0x3355b2<_0x4d64e4[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3355b2++){const _0x36fc9d=_0x4d64e4[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3355b2);_0x526943=(_0x526943<<0x5)+_0x526943+_0x36fc9d,_0x526943&=_0x526943;}}function _0x4f9f23(_0x4221a0){Array[_0x248b64([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4221a0)?_0x4221a0[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f9f23):_0x4221a0&&typeof _0x4221a0==_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x248b64([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4221a0)[_0x248b64([0x73,0x6f,0x72,0x74])]()[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x544cbc,_0x280bc4])=>{_0x2244bc(_0x544cbc),_0x4f9f23(_0x280bc4);}):_0x2244bc(window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4221a0));}return _0x4f9f23(_0x4eb1bb),_0x526943>>>0x0;}function _0x21582c(_0x5d6306){return _0x5d6306[_0x248b64([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x248b64([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x248b64([0x30]));}function _0x191f16(_0x5f14dc){return _0x5f14dc[_0x248b64([0x73,0x70,0x6c,0x69,0x74])]('')[_0x248b64([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x248b64([0x6a,0x6f,0x69,0x6e])]('');}function _0x5acc2a(){}function _0x248b64(_0x3f7bd3){return _0x3f7bd3['map'](_0x518f97=>String['fromCharCode'](_0x518f97))['join']('');}_0x2328f6(await _0xf38669());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2c99cd){const {plugins:_0x36af9a,editing:_0x1b80fd,model:_0x300406}=this['editor'],_0x132666=_0x36af9a['get'](_0x59062f)['getFootnote'](_0x2c99cd);return!!_0x132666&&(_0x300406['change'](_0x2ae3ac=>{_0x2ae3ac['setSelection'](_0x2ae3ac['createPositionAt'](_0x132666['definition'],'end'));}),_0x1b80fd['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x453afb){const {plugins:_0x20e54c,editing:_0x2cdf9c,model:_0x29aca6}=this['editor'],_0x15664a=_0x20e54c['get'](_0x59062f)['getFootnote'](_0x453afb);return!!_0x15664a&&(_0x29aca6['change'](_0x280536=>{_0x280536['setSelection'](_0x15664a['reference'],'on');}),_0x2cdf9c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2e2fa0}=this['editor']['model'],_0x5f5972=this['editor']['config']['get']('footnotes.multiBlock');_0x2e2fa0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2e2fa0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2e2fa0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5f5972?_0x2e2fa0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2e2fa0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2e2fa0['addChildCheck'](_0xe5f8d0=>{for(const _0x52ada3 of _0xe5f8d0)if('footnoteDefinition'===_0x52ada3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x594f4e}=this,{conversion:_0x17dab3,editing:_0x3ed9e1}=_0x594f4e,{t:t}=_0x594f4e['locale'];_0x17dab3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x67a261,{writer:_0x234011,consumable:_0x34f598})=>{const _0x243a86=_0x67a261['getChild'](0x0);if(!_0x243a86||!_0x243a86['is']('element','a'))return null;const _0x6debbd=_0x243a86['getAttribute']('href')||'';if(!_0x6debbd['startsWith']('#'))return null;const _0x5bebd1=_0x6debbd['replace'](/^#/,'');if(!_0x5bebd1)return null;_0x34f598['consume'](_0x243a86,{'name':!0x0,'attributes':['href']});for(const {item:_0x57f26a}of _0x3ed9e1['view']['createRangeIn'](_0x243a86))_0x57f26a['is']('$textProxy')?_0x34f598['consume'](_0x57f26a['textNode'],{'name':!0x0}):_0x57f26a['is']('element')&&_0x34f598['consume'](_0x57f26a,{'name':!0x0});return _0x234011['createElement']('footnoteRef',{'footnoteId':_0x5bebd1});}}),_0x17dab3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ad513,{writer:_0xff4fbc})=>D(_0x2ad513,_0xff4fbc)}),_0x17dab3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cf88a,{writer:_0x3408f5})=>{const _0x49b2c1=_0x1cf88a['getAttribute']('footnoteCounter');return _0x3f3af4(D(_0x1cf88a,_0x3408f5),_0x3408f5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x49b2c1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1a1278}=this,{t:t}=_0x1a1278['locale'],{conversion:_0x25768b}=_0x1a1278;_0x25768b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x25768b['for']('upcast')['add'](_0x34c83a=>{_0x34c83a['on']('element:ol',(_0x353791,_0x5ea231,_0x1d544c)=>{const _0x2097d3=_0x5ea231['viewItem'];if(!_0x2097d3['hasClass']('footnotes-list')||!_0x5ea231['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1d544c['consumable']['consume'](_0x2097d3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x530caf,modelCursor:_0xdeb16e}=_0x1d544c['convertChildren'](_0x5ea231['viewItem'],_0x5ea231['modelCursor']);_0x5ea231['modelRange']=_0x530caf,_0x5ea231['modelCursor']=_0xdeb16e;}),_0x34c83a['on']('element:hr',(_0x22b7ee,_0x40a750,_0x2f5ecc)=>{const _0x58a113=_0x40a750['viewItem'];_0x58a113['hasClass']('footnotes-divider')&&_0x40a750['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2f5ecc['consumable']['consume'](_0x58a113,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x25768b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1950aa,{writer:_0x409c66})=>g(_0x409c66)}),_0x25768b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b30a0,{writer:_0x53caac})=>{const _0x49c0a7=g(_0x53caac,{'data-footnotes-list-label':t('Footnotes')}),_0x6a2461=_0x3f3af4(_0x49c0a7,_0x53caac,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x53caac['setCustomProperty']('footnotesDefinitions',!0x0,_0x6a2461),_0x6a2461;}});}['_defineDefinitionConverters'](){const {editor:_0x32fffd}=this,{conversion:_0x23f86a,locale:_0x3aa511}=_0x32fffd,_0x25a09c=_0x32fffd['config']['get']('footnotes.multiBlock');_0x23f86a['for']('upcast')['add'](_0x9eb515=>{_0x9eb515['on']('element:li',(_0x3ab560,_0x2716e2,_0x3de5b2)=>{const _0x55e436=_0x2716e2['viewItem'];if(!_0x55e436['hasClass']('footnote-definition')||!_0x55e436['getAttribute']('id'))return;const _0x119855=_0x55e436['parent'];if(!_0x119855['is']('element','ol')||!_0x119855['hasClass']('footnotes-list'))return;if(!_0x3de5b2['consumable']['test'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4dc4ae=_0x3de5b2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x55e436['getAttribute']('id')});if(!_0x3de5b2['safeInsert'](_0x4dc4ae,_0x2716e2['modelCursor']))return;_0x3de5b2['consumable']['consume'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x42f9d3=Array['from'](_0x55e436['getChildren']())['find'](_0x41ee2b=>_0x41ee2b['is']('element')&&_0x41ee2b['hasClass']('footnote-content'));for(const _0x3f914 of _0x55e436['getChildren']())_0x3f914['is']('element')&&(_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-content'}));if(_0x42f9d3){if(_0x25a09c)_0x3de5b2['convertChildren'](_0x42f9d3,_0x4dc4ae);else{const _0x1416f7=_0x3de5b2['writer']['createElement']('footnoteInlineContent');_0x3de5b2['writer']['insert'](_0x1416f7,_0x4dc4ae),_0x3de5b2['convertChildren'](_0x42f9d3,_0x1416f7);}}_0x3de5b2['updateConversionResult'](_0x4dc4ae,_0x2716e2);});}),_0x23f86a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3f967e,{writer:_0x4e35a0})=>v(_0x3f967e,_0x4e35a0,_0x3aa511,{'dataPipeline':!0x0})}),_0x23f86a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47d135,{writer:_0x565f1f})=>v(_0x47d135,_0x565f1f,_0x3aa511)});}['_defineBogusParagraphConverters'](){const {editor:_0x40bf53}=this,{conversion:_0x309ad4}=_0x40bf53;_0x40bf53['config']['get']('footnotes.multiBlock')?(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x40bf53['model']['document'],'change:data',()=>{!function(_0x5a1e25,_0x42f4cc){const _0x3f6e20=_0x5a1e25['document']['differ'],_0x14da39=new Set();for(const _0x10f90b of _0x3f6e20['getChanges']()){const _0x15e1f2='attribute'==_0x10f90b['type']?_0x10f90b['range']['start']['parent']:_0x10f90b['position']['parent'];_0x15e1f2['is']('element','footnoteDefinition')&&_0x14da39['add'](_0x15e1f2);}for(const _0x558dd7 of _0x14da39['values']()){const _0x25bddb=Array['from'](_0x558dd7['getChildren']())['filter'](_0xfcddc1=>p(_0xfcddc1,_0x42f4cc['mapper']));for(const _0x1885d3 of _0x25bddb)_0x42f4cc['reconvertItem'](_0x1885d3);}}(_0x40bf53['model'],_0x40bf53['editing']);})):(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1df9aa,{writer:_0x1aa958})=>{const _0x11fba5=_0x1aa958['createContainerElement']('span');return _0x1aa958['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11fba5),_0x11fba5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x442eea}=this,{editing:_0x1431b3,t:t}=_0x442eea,_0x46cd49=_0x442eea['model']['document']['selection'];_0x442eea['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x442eea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x1431b3['view']['document'],'enter',(_0x1a38d1,_0x321d4a)=>{const _0x4a54a8=function(_0x40b66a){const _0x50ff4a=_0x40b66a['getSelectedElement']();if(_0x50ff4a?.['is']('element','footnoteRef'))return _0x50ff4a;return null;}(_0x46cd49);if(_0x4a54a8){const _0x51d805=_0x4a54a8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x51d805),_0x321d4a['preventDefault'](),_0x1a38d1['stop']();}},{'context':_0x4978b4});}['_defineClickHandlers'](){const {editor:_0x134554}=this,{editing:_0x544f04}=_0x134554;_0x134554['editing']['view']['addObserver'](_0x4d2d26),_0x134554['editing']['view']['addObserver'](_0x20fa02);let _0x499200=!0x1;this['listenTo'](_0x544f04['view']['document'],'pointerdown',(_0x21f1ab,_0x4263c1)=>{const {target:_0x27a780}=_0x4263c1,_0x1d1582=_0x544f04['view']['document']['selection'];_0x499200=!!(_0x27a780?.['is']('element','a')&&_0x27a780['parent']?.['is']('element','sup')&&_0x27a780['parent']['hasClass']('footnote'))&&_0x1d1582['getSelectedElement']()===_0x27a780['parent'];},{'priority':'high'}),this['listenTo'](_0x544f04['view']['document'],'click',(_0x12cdc2,_0x12e9c0)=>{const {target:_0x439fdf}=_0x12e9c0;if(!_0x439fdf?.['is']('element','a'))return;if(_0x439fdf['parent']?.['is']('element','sup')&&_0x439fdf['parent']['hasClass']('footnote')&&!_0x499200)return void _0x12e9c0['preventDefault']();let _0x4da44a=_0x439fdf['getAttribute']('href');if(!_0x4da44a?.['startsWith']('#'))return;_0x4da44a=_0x4da44a['slice'](0x1);let _0x1031f3=!0x1;(_0x4da44a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4da44a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4da44a))&&(_0x1031f3=!0x0),_0x1031f3&&(_0x12e9c0['preventDefault'](),_0x12cdc2['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x10481d}={}){return(_0xe1ea31,{writer:_0x5df483})=>{if(!h(_0xe1ea31))return null;if(!_0x10481d)return _0x5df483['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3e3ebd=_0x5df483['createContainerElement']('p');return _0x5df483['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3e3ebd),_0x3e3ebd;};}function h(_0x35f87d){const {parent:_0x541730}=_0x35f87d;if(!_0x541730?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x541730['childCount'])return!0x1;for(const _0xe8b6fe of _0x35f87d['getAttributeKeys']())if(!_0xe8b6fe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xe8b6fe)return!0x1;return!0x0;}function p(_0x342a5c,_0x21bf53){if(!_0x342a5c['is']('element','paragraph'))return!0x1;const _0x17cfd5=_0x21bf53['toViewElement'](_0x342a5c);return!!_0x17cfd5&&h(_0x342a5c)!==_0x17cfd5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4108be){return _0x4978b4(_0x4108be)&&_0x4108be['is']('containerElement')&&!!_0x4108be['getCustomProperty']('footnotesDefinitions');}function g(_0x920a7f,_0x243e48={}){const _0x58db56=_0x920a7f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x28cb98=_0x920a7f['createContainerElement']('ol',{'class':'footnotes-list'},_0x920a7f['createSlot']());return _0x920a7f['createContainerElement']('div',{'class':'footnotes',..._0x243e48},[_0x58db56,_0x28cb98]);}function D(_0x3d8746,_0x45749d){const _0x217e28=_0x3d8746['getAttribute']('footnoteId'),_0x423dfb=_0x3d8746['getAttribute']('footnoteCounter'),_0x46a218=_0x45749d['createUIElement']('a',{'href':'#'+_0x217e28},function(_0x1ef17f){const _0x2dd4a9=this['toDomElement'](_0x1ef17f);return _0x2dd4a9['textContent']=_0x423dfb,_0x2dd4a9;}),_0x3f1613=_0x45749d['createContainerElement']('sup',{'id':'ref-'+_0x217e28,'class':'footnote'},[_0x46a218]);return _0x3f1613['getFillerOffset']=()=>null,_0x3f1613;}function v(_0x2ec78d,_0x1409a5,_0x2b935b,{dataPipeline:_0x157c5a}={}){const {t:t}=_0x2b935b,_0x45333d=_0x2ec78d['getAttribute']('footnoteId'),_0x301284=_0x1409a5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x45333d},function(_0x356061){const _0x43b380=this['toDomElement'](_0x356061);return _0x43b380['innerText']='^',_0x43b380;}),_0x37694=_0x157c5a?_0x1409a5['createContainerElement']('div',{'class':'footnote-content'}):_0x339a86(_0x1409a5['createEditableElement']('div',{'class':'footnote-content'}),_0x1409a5,{'label':t('Footnote\x20content.')});return _0x1409a5['insert'](_0x1409a5['createPositionAt'](_0x37694,0x0),_0x1409a5['createSlot']()),_0x1409a5['createContainerElement']('li',{'class':'footnote-definition','id':_0x45333d},[_0x301284,_0x37694]);}
|
|
23
|
+
import{Plugin as _0x4ce6db}from'ckeditor5/src/core.js';import{isWidget as _0x34233c,toWidget as _0x122ab5,toWidgetEditable as _0x20bc47}from'ckeditor5/src/widget.js';import{uid as _0x37b42b}from'ckeditor5/src/utils.js';import{PointerObserver as _0x31f6aa,ClickObserver as _0x2800aa}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1d30f2}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x37ffc9}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4ce6db{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1d30f2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5f0efd}=this;_0x5f0efd['config']['define']('footnotes.multiBlock',!0x0),_0x5f0efd['commands']['add']('insertFootnote',new _0x37ffc9(_0x5f0efd)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x21ec02){const _0x4ecf05=_0x37fbc4([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]),_0x3a6fb8=0x47a28506,_0x22f279=0x47a5f2de^_0x3a6fb8,_0xcafe52=window[_0x37fbc4([0x44,0x61,0x74,0x65])][_0x37fbc4([0x6e,0x6f,0x77])](),_0x5d16f1=_0x21ec02[_0x37fbc4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x455157=new window[(_0x37fbc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x523d68=>{_0x5d16f1[_0x37fbc4([0x6f,0x6e,0x63,0x65])](_0x37fbc4([0x72,0x65,0x61,0x64,0x79]),_0x523d68);}),_0xf441b2={[_0x37fbc4([0x6b,0x74,0x79])]:_0x37fbc4([0x45,0x43]),[_0x37fbc4([0x75,0x73,0x65])]:_0x37fbc4([0x73,0x69,0x67]),[_0x37fbc4([0x63,0x72,0x76])]:_0x37fbc4([0x50,0x2d,0x32,0x35,0x36]),[_0x37fbc4([0x78])]:_0x37fbc4([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]),[_0x37fbc4([0x79])]:_0x37fbc4([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]),[_0x37fbc4([0x61,0x6c,0x67])]:_0x37fbc4([0x45,0x53,0x32,0x35,0x36])},_0x5a2323=_0x5d16f1[_0x37fbc4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37fbc4([0x67,0x65,0x74])](_0x37fbc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5494a1(){let _0x22d418,_0x57424d=null,_0x2ba7e6=null;try{if(_0x5a2323==_0x37fbc4([0x47,0x50,0x4c]))return _0x37fbc4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x22d418=_0x1fe955(),!_0x22d418)return _0x37fbc4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x22d418[_0x37fbc4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2ba7e6=_0x1248b6(_0x22d418[_0x37fbc4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x22d418[_0x37fbc4([0x6a,0x74,0x69])])),await _0x5c5c11()?_0x485695()?_0x347b1b()?_0x37fbc4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x526dc9()?(_0x22d418[_0x37fbc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37fbc4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57424d=_0xf696af(_0x37fbc4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x22d418[_0x37fbc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37fbc4([0x74,0x72,0x69,0x61,0x6c])&&(_0x57424d=_0xf696af(_0x37fbc4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x336536()):_0x37fbc4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37fbc4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37fbc4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x37fbc4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x347b1b(){const _0x10edae=[_0x37fbc4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37fbc4([0x74,0x72,0x69,0x61,0x6c])][_0x37fbc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22d418[_0x37fbc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xcafe52/0x3e8:0xe10*_0x22f279;return _0x22d418[_0x37fbc4([0x65,0x78,0x70])]<_0x10edae;}function _0x485695(){const _0x897789=_0x22d418[_0x37fbc4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x897789&&(!!_0x897789[_0x37fbc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37fbc4([0x2a]))||!!_0x897789[_0x37fbc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37fbc4([0x46,0x4f,0x4f])));}function _0x526dc9(){const _0x25ced6=_0x22d418[_0x37fbc4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25ced6||0x0==_0x25ced6[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x431ecb}=new URL(window[_0x37fbc4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x25ced6[_0x37fbc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431ecb))return!0x0;const _0x5b3440=_0x431ecb[_0x37fbc4([0x73,0x70,0x6c,0x69,0x74])](_0x37fbc4([0x2e]));return _0x25ced6[_0x37fbc4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51f5dd=>_0x51f5dd[_0x37fbc4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37fbc4([0x2a])))[_0x37fbc4([0x6d,0x61,0x70])](_0x14996b=>_0x14996b[_0x37fbc4([0x73,0x70,0x6c,0x69,0x74])](_0x37fbc4([0x2e])))[_0x37fbc4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bc735=>_0x1bc735[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b3440[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37fbc4([0x6d,0x61,0x70])](_0x50f6fe=>Array(_0x5b3440[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50f6fe[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37fbc4([0x66,0x69,0x6c,0x6c])](_0x50f6fe[0x0]===_0x37fbc4([0x2a])?_0x37fbc4([0x2a]):'')[_0x37fbc4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50f6fe))[_0x37fbc4([0x73,0x6f,0x6d,0x65])](_0x2ae578=>_0x5b3440[_0x37fbc4([0x65,0x76,0x65,0x72,0x79])]((_0x27839f,_0x3886f0)=>_0x2ae578[_0x3886f0]===_0x27839f||_0x2ae578[_0x3886f0]===_0x37fbc4([0x2a])));}function _0x336536(){return _0x57424d&&_0x2ba7e6?new window[(_0x37fbc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5654b3,_0x293cdf)=>{_0x57424d[_0x37fbc4([0x74,0x68,0x65,0x6e])](_0x5654b3,_0x293cdf),_0x2ba7e6[_0x37fbc4([0x74,0x68,0x65,0x6e])](_0x3a1608=>{_0x3a1608!=_0x37fbc4([0x56,0x61,0x6c,0x69,0x64])&&_0x5654b3(_0x3a1608);},_0x293cdf);}):_0x57424d||_0x2ba7e6||_0x37fbc4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1248b6(_0x5f56f9,_0x1e0800){return new window[(_0x37fbc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x410dd0=>{if(_0x34d8c7())return _0x410dd0(_0x37fbc4([0x56,0x61,0x6c,0x69,0x64]));_0x57d0e6(),_0x5d16f1[_0x37fbc4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37fbc4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3c910c=!0x1;const _0x27f3db=_0x37b42b();function _0x3a6ce7(_0x1cec22){return!!_0x1cec22&&(typeof _0x1cec22===_0x37fbc4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cec22===_0x37fbc4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cec22[_0x37fbc4([0x74,0x68,0x65,0x6e])]===_0x37fbc4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cec22[_0x37fbc4([0x63,0x61,0x74,0x63,0x68])]===_0x37fbc4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13781f(_0x2b2f31){_0x50f043(_0x2b2f31)[_0x37fbc4([0x74,0x68,0x65,0x6e])](_0x235c2e=>{if(!_0x235c2e||_0x235c2e[_0x37fbc4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37fbc4([0x6f,0x6b]))return _0x37fbc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x30d3d7(_0x2b1182(_0x27f3db+_0x1e0800))!=_0x235c2e[_0x37fbc4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37fbc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37fbc4([0x56,0x61,0x6c,0x69,0x64]);})[_0x37fbc4([0x74,0x68,0x65,0x6e])](_0x3d3c38=>(_0xe58cbf(),_0x3d3c38),()=>{const _0x2dd30f=_0x530e70();return null==_0x2dd30f?(_0xe58cbf(),_0x37fbc4([0x56,0x61,0x6c,0x69,0x64])):_0x37fbc4(_0xcafe52-_0x2dd30f>(0x63ae0106^_0x3a6fb8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37fbc4([0x74,0x68,0x65,0x6e])](_0x410dd0)[_0x37fbc4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x410dd0(_0x37fbc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1d1f07=0x47946b86^_0x3a6fb8;function _0xe58cbf(){const _0x340614=_0x37fbc4([0x6c,0x6c,0x63,0x74,0x2d])+_0x30d3d7(_0x2b1182(_0x5f56f9)),_0x4894a4=_0x146c72(_0x30d3d7(window[_0x37fbc4([0x4d,0x61,0x74,0x68])][_0x37fbc4([0x63,0x65,0x69,0x6c])](_0xcafe52/_0x1d1f07)));window[_0x37fbc4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37fbc4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x340614,_0x4894a4);}function _0x530e70(){const _0x3d363d=_0x37fbc4([0x6c,0x6c,0x63,0x74,0x2d])+_0x30d3d7(_0x2b1182(_0x5f56f9)),_0x5280aa=window[_0x37fbc4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37fbc4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d363d);return _0x5280aa?window[_0x37fbc4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x146c72(_0x5280aa),0x10)*_0x1d1f07:null;}function _0x50f043(_0x297e44){return new window[(_0x37fbc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7fdc4d,_0x127979)=>{_0x297e44[_0x37fbc4([0x74,0x68,0x65,0x6e])](_0x7fdc4d,_0x127979),window[_0x37fbc4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x127979,0x47a351c6^_0x3a6fb8);});}}_0x5d16f1[_0x37fbc4([0x6f,0x6e])](_0x37fbc4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ad1c9,_0x47a0e1)=>{if(_0x47a0e1[0x0]!=_0x5f56f9)return _0x410dd0(_0x37fbc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47a0e1[0x1]={..._0x47a0e1[0x1],[_0x37fbc4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27f3db};},{[_0x37fbc4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37fbc4([0x68,0x69,0x67,0x68])}),_0x5d16f1[_0x37fbc4([0x6f,0x6e])](_0x37fbc4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x402d95=>{_0x3a6ce7(_0x402d95[_0x37fbc4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3c910c=!0x0,_0x13781f(_0x402d95[_0x37fbc4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37fbc4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37fbc4([0x6c,0x6f,0x77])}),_0x455157[_0x37fbc4([0x74,0x68,0x65,0x6e])](()=>{_0x3c910c||_0x410dd0(_0x37fbc4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34d8c7(){return _0x5d16f1[_0x37fbc4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37fbc4([0x76,0x69,0x65,0x77])][_0x37fbc4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37fbc4([0x61,0x75,0x74,0x6f]);}function _0x57d0e6(){_0x5d16f1[_0x37fbc4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37fbc4([0x76,0x69,0x65,0x77])][_0x37fbc4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37fbc4([0x61,0x75,0x74,0x6f]);}}function _0xf696af(_0xe4be0d){const _0x35654c=[new window[(_0x37fbc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f48b0=>setTimeout(_0x2f48b0,0x47abbbca^_0x3a6fb8)),_0x455157[_0x37fbc4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37fbc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ab7a1=>{let _0x205436=0x0;_0x5d16f1[_0x37fbc4([0x6d,0x6f,0x64,0x65,0x6c])][_0x37fbc4([0x6f,0x6e])](_0x37fbc4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e7103,_0x5d2a66)=>{_0x5d2a66[0x0][_0x37fbc4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x205436++,_0x205436==(0x47a284fe^_0x3a6fb8)&&(_0x2ab7a1(),_0x4e7103[_0x37fbc4([0x6f,0x66,0x66])]());});}))];return window[_0x37fbc4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37fbc4([0x72,0x61,0x63,0x65])](_0x35654c)[_0x37fbc4([0x74,0x68,0x65,0x6e])](()=>_0xe4be0d);}async function _0x536275(){await _0x455157,_0x5d16f1[_0x37fbc4([0x6d,0x6f,0x64,0x65,0x6c])][_0x37fbc4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc52a2c,_0x5d16f1[_0x37fbc4([0x6d,0x6f,0x64,0x65,0x6c])][_0x37fbc4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc52a2c,_0x5d16f1[_0x37fbc4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37fbc4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x49a36d(_0x4a30ac){const _0xa1d406=_0xdc3639();_0x5d16f1[_0xa1d406]=_0x37fbc4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a30ac,_0x4a30ac!=_0x37fbc4([0x56,0x61,0x6c,0x69,0x64])&&_0x536275();}function _0xdc3639(){const _0x1480d0=window[_0x37fbc4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37fbc4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37fbc4([0x6e,0x6f,0x77])]())[_0x37fbc4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37fbc4([0x2e]),'');let _0x386778=_0x37fbc4([0x75]);for(let _0x6f719d=0x0;_0x6f719d<_0x1480d0[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6f719d+=0x2){let _0x43443b=window[_0x37fbc4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1480d0[_0x37fbc4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6f719d,_0x6f719d+0x2));_0x43443b>=_0x4ecf05[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43443b-=_0x4ecf05[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x386778+=_0x4ecf05[_0x43443b];}return _0x386778;}function _0x1fe955(){const _0x45ca83=_0x5a2323[_0x37fbc4([0x73,0x70,0x6c,0x69,0x74])](_0x37fbc4([0x2e]));if(0x3!=_0x45ca83[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x27dda3(_0x45ca83[0x1]);function _0x27dda3(_0x2f458c){const _0x58d308=_0x174f62(_0x2f458c);return _0x58d308&&_0x17474d()?_0x58d308:null;function _0x17474d(){const _0x5dfaa8=_0x58d308[_0x37fbc4([0x6a,0x74,0x69])],_0x15ba6a=window[_0x37fbc4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5dfaa8[_0x37fbc4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dfaa8[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x246630={..._0x58d308,[_0x37fbc4([0x6a,0x74,0x69])]:_0x5dfaa8[_0x37fbc4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5dfaa8[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x246630[_0x37fbc4([0x76,0x63])],_0x2b1182(_0x246630)==_0x15ba6a;}}}async function _0x5c5c11(){let _0x2de36a=!0x0;try{const _0x578c34=_0x5a2323[_0x37fbc4([0x73,0x70,0x6c,0x69,0x74])](_0x37fbc4([0x2e])),[_0x3b58d5,_0x4a72ce,_0x41fb6b]=_0x578c34;return _0xf7994d(_0x3b58d5),await _0x47a7a5(_0x3b58d5,_0x4a72ce,_0x41fb6b),_0x2de36a;}catch{return!0x1;}function _0xf7994d(_0x41c938){const _0x4ffe8c=_0x174f62(_0x41c938);_0x4ffe8c&&_0x4ffe8c[_0x37fbc4([0x61,0x6c,0x67])]==_0x37fbc4([0x45,0x53,0x32,0x35,0x36])||(_0x2de36a=!0x1);}async function _0x47a7a5(_0x3b0f0a,_0x434eb1,_0x33ff9f){const _0x9a1385=window[_0x37fbc4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37fbc4([0x66,0x72,0x6f,0x6d])](_0x3144e0(_0x33ff9f),_0x2dace8=>_0x2dace8[_0x37fbc4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x586d17=new window[(_0x37fbc4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37fbc4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b0f0a+_0x37fbc4([0x2e])+_0x434eb1),_0x426663=window[_0x37fbc4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37fbc4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x426663)return;const _0x46164d=await _0x426663[_0x37fbc4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37fbc4([0x6a,0x77,0x6b]),_0xf441b2,{[_0x37fbc4([0x6e,0x61,0x6d,0x65])]:_0x37fbc4([0x45,0x43,0x44,0x53,0x41]),[_0x37fbc4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37fbc4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37fbc4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x426663[_0x37fbc4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37fbc4([0x6e,0x61,0x6d,0x65])]:_0x37fbc4([0x45,0x43,0x44,0x53,0x41]),[_0x37fbc4([0x68,0x61,0x73,0x68])]:{[_0x37fbc4([0x6e,0x61,0x6d,0x65])]:_0x37fbc4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x46164d,_0x9a1385,_0x586d17)||(_0x2de36a=!0x1);}}function _0x174f62(_0x17349a){return _0x17349a[_0x37fbc4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37fbc4([0x65,0x79]))?JSON[_0x37fbc4([0x70,0x61,0x72,0x73,0x65])](_0x3144e0(_0x17349a)):null;}function _0x3144e0(_0x4bee2c){return window[_0x37fbc4([0x61,0x74,0x6f,0x62])](_0x4bee2c[_0x37fbc4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37fbc4([0x2b]))[_0x37fbc4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37fbc4([0x2f])));}function _0x2b1182(_0x31a668){let _0x29b8be=0x1505;function _0x33b44f(_0x5eaf98){for(let _0x3d9fdc=0x0;_0x3d9fdc<_0x5eaf98[_0x37fbc4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d9fdc++){const _0x16f60a=_0x5eaf98[_0x37fbc4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d9fdc);_0x29b8be=(_0x29b8be<<0x5)+_0x29b8be+_0x16f60a,_0x29b8be&=_0x29b8be;}}function _0x5461a1(_0x2ee729){Array[_0x37fbc4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ee729)?_0x2ee729[_0x37fbc4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5461a1):_0x2ee729&&typeof _0x2ee729==_0x37fbc4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37fbc4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ee729)[_0x37fbc4([0x73,0x6f,0x72,0x74])]()[_0x37fbc4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x200aa0,_0xebf15])=>{_0x33b44f(_0x200aa0),_0x5461a1(_0xebf15);}):_0x33b44f(window[_0x37fbc4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ee729));}return _0x5461a1(_0x31a668),_0x29b8be>>>0x0;}function _0x30d3d7(_0x552075){return _0x552075[_0x37fbc4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37fbc4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37fbc4([0x30]));}function _0x146c72(_0x50690f){return _0x50690f[_0x37fbc4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37fbc4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37fbc4([0x6a,0x6f,0x69,0x6e])]('');}function _0xc52a2c(){}function _0x37fbc4(_0x41b1f8){return _0x41b1f8['map'](_0xbf4668=>String['fromCharCode'](_0xbf4668))['join']('');}_0x49a36d(await _0x5494a1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x9eb8e5){const {plugins:_0x4be320,editing:_0x3cfdff,model:_0x49a5e1}=this['editor'],_0x485dbd=_0x4be320['get'](_0x1d30f2)['getFootnote'](_0x9eb8e5);return!!_0x485dbd&&(_0x49a5e1['change'](_0x2b40df=>{_0x2b40df['setSelection'](_0x2b40df['createPositionAt'](_0x485dbd['definition'],'end'));}),_0x3cfdff['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x29eca5){const {plugins:_0x338d94,editing:_0x3e3f5d,model:_0x524505}=this['editor'],_0xc08cf5=_0x338d94['get'](_0x1d30f2)['getFootnote'](_0x29eca5);return!!_0xc08cf5&&(_0x524505['change'](_0x493a4e=>{_0x493a4e['setSelection'](_0xc08cf5['reference'],'on');}),_0x3e3f5d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xf37a71}=this['editor']['model'],_0x42a634=this['editor']['config']['get']('footnotes.multiBlock');_0xf37a71['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xf37a71['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xf37a71['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x42a634?_0xf37a71['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xf37a71['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xf37a71['addChildCheck'](_0x1fe0bd=>{for(const _0x258c35 of _0x1fe0bd)if('footnoteDefinition'===_0x258c35['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x619f39}=this,{conversion:_0x57339a,editing:_0x48f1ad}=_0x619f39,{t:t}=_0x619f39['locale'];_0x57339a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x37ea26,{writer:_0x6b95bd,consumable:_0x51d698})=>{const _0x103122=_0x37ea26['getChild'](0x0);if(!_0x103122||!_0x103122['is']('element','a'))return null;const _0x160114=_0x103122['getAttribute']('href')||'';if(!_0x160114['startsWith']('#'))return null;const _0x2f9212=_0x160114['replace'](/^#/,'');if(!_0x2f9212)return null;_0x51d698['consume'](_0x103122,{'name':!0x0,'attributes':['href']});for(const {item:_0x57df9e}of _0x48f1ad['view']['createRangeIn'](_0x103122))_0x57df9e['is']('$textProxy')?_0x51d698['consume'](_0x57df9e['textNode'],{'name':!0x0}):_0x57df9e['is']('element')&&_0x51d698['consume'](_0x57df9e,{'name':!0x0});return _0x6b95bd['createElement']('footnoteRef',{'footnoteId':_0x2f9212});}}),_0x57339a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x123a46,{writer:_0x561675})=>D(_0x123a46,_0x561675)}),_0x57339a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x482e07,{writer:_0x108ee9})=>{const _0x2800f8=_0x482e07['getAttribute']('footnoteCounter');return _0x122ab5(D(_0x482e07,_0x108ee9),_0x108ee9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2800f8)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2a98d5}=this,{t:t}=_0x2a98d5['locale'],{conversion:_0x2c68ce}=_0x2a98d5;_0x2c68ce['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2c68ce['for']('upcast')['add'](_0x289b29=>{_0x289b29['on']('element:ol',(_0xa02021,_0x5cfb4f,_0x32814c)=>{const _0x28967d=_0x5cfb4f['viewItem'];if(!_0x28967d['hasClass']('footnotes-list')||!_0x5cfb4f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x32814c['consumable']['consume'](_0x28967d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2962d0,modelCursor:_0xf9a73c}=_0x32814c['convertChildren'](_0x5cfb4f['viewItem'],_0x5cfb4f['modelCursor']);_0x5cfb4f['modelRange']=_0x2962d0,_0x5cfb4f['modelCursor']=_0xf9a73c;}),_0x289b29['on']('element:hr',(_0x4c9f42,_0x1c0379,_0x1d3719)=>{const _0x1b1ce6=_0x1c0379['viewItem'];_0x1b1ce6['hasClass']('footnotes-divider')&&_0x1c0379['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1d3719['consumable']['consume'](_0x1b1ce6,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2c68ce['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5c7afc,{writer:_0xfe254e})=>v(_0xfe254e)}),_0x2c68ce['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x20ee95,{writer:_0x444245})=>{const _0x3260db=v(_0x444245,{'data-footnotes-list-label':t('Footnotes')}),_0x52a07b=_0x122ab5(_0x3260db,_0x444245,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x444245['setCustomProperty']('footnotesDefinitions',!0x0,_0x52a07b),_0x52a07b;}});}['_defineDefinitionConverters'](){const {editor:_0x4de27b}=this,{conversion:_0x1fcdd0,locale:_0x307730}=_0x4de27b,_0xa22ca8=_0x4de27b['config']['get']('footnotes.multiBlock');_0x1fcdd0['for']('upcast')['add'](_0x4d99bb=>{_0x4d99bb['on']('element:li',(_0x2389c8,_0x55594f,_0x284d3f)=>{const _0x25d423=_0x55594f['viewItem'];if(!_0x25d423['hasClass']('footnote-definition')||!_0x25d423['getAttribute']('id'))return;const _0x2e06ab=_0x25d423['parent'];if(!_0x2e06ab['is']('element','ol')||!_0x2e06ab['hasClass']('footnotes-list'))return;if(!_0x284d3f['consumable']['test'](_0x25d423,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x284c57=_0x284d3f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x25d423['getAttribute']('id')});if(!_0x284d3f['safeInsert'](_0x284c57,_0x55594f['modelCursor']))return;_0x284d3f['consumable']['consume'](_0x25d423,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1feb7c=Array['from'](_0x25d423['getChildren']())['find'](_0x37a0f0=>_0x37a0f0['is']('element')&&_0x37a0f0['hasClass']('footnote-content'));for(const _0x278d0d of _0x25d423['getChildren']())_0x278d0d['is']('element')&&(_0x284d3f['consumable']['consume'](_0x278d0d,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x284d3f['consumable']['consume'](_0x278d0d,{'name':!0x0,'classes':'footnote-content'}));if(_0x1feb7c){if(_0xa22ca8)_0x284d3f['convertChildren'](_0x1feb7c,_0x284c57);else{const _0x4ad027=_0x284d3f['writer']['createElement']('footnoteInlineContent');_0x284d3f['writer']['insert'](_0x4ad027,_0x284c57),_0x284d3f['convertChildren'](_0x1feb7c,_0x4ad027);}}_0x284d3f['updateConversionResult'](_0x284c57,_0x55594f);});}),_0x1fcdd0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x383963,{writer:_0x279222})=>b(_0x383963,_0x279222,_0x307730,{'dataPipeline':!0x0})}),_0x1fcdd0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18bc9b,{writer:_0x257f6a})=>b(_0x18bc9b,_0x257f6a,_0x307730)});}['_defineBogusParagraphConverters'](){const {editor:_0x51d335}=this,{conversion:_0x4732dc}=_0x51d335;_0x51d335['config']['get']('footnotes.multiBlock')?(_0x4732dc['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4732dc['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x51d335['model']['document'],'change:data',()=>{!function(_0x57133d,_0x5bd891){const _0x58e182=_0x57133d['document']['differ'],_0x2f14ea=new Set();for(const _0x44021e of _0x58e182['getChanges']()){const _0x5c8276='attribute'==_0x44021e['type']?_0x44021e['range']['start']['parent']:_0x44021e['position']['parent'];_0x5c8276['is']('element','footnoteDefinition')&&_0x2f14ea['add'](_0x5c8276);}for(const _0x519e97 of _0x2f14ea['values']()){const _0x1e6cd5=Array['from'](_0x519e97['getChildren']())['filter'](_0xaf8f20=>g(_0xaf8f20,_0x5bd891['mapper']));for(const _0x4e2b7b of _0x1e6cd5)_0x5bd891['reconvertItem'](_0x4e2b7b);}}(_0x51d335['model'],_0x51d335['editing']);})):(_0x4732dc['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4732dc['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5bc94c,{writer:_0x40416e})=>{const _0x2d92eb=_0x40416e['createContainerElement']('span');return _0x40416e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2d92eb),_0x2d92eb;}}));}['_defineKeyboardHandlers'](){const {editor:_0x17ce34}=this,{editing:_0x4928fb,t:t}=_0x17ce34,_0x298307=_0x17ce34['model']['document']['selection'];_0x17ce34['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x17ce34['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4928fb['view']['document'],'enter',(_0x51002e,_0x50ec4e)=>{const _0x5591a6=function(_0x3940a6){const _0x1b253b=_0x3940a6['getSelectedElement']();if(_0x1b253b?.['is']('element','footnoteRef'))return _0x1b253b;return null;}(_0x298307);if(_0x5591a6){const _0x59523c=_0x5591a6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x59523c),_0x50ec4e['preventDefault'](),_0x51002e['stop']();}},{'context':_0x34233c});}['_defineClickHandlers'](){const {editor:_0x309330}=this,{editing:_0x5b7328}=_0x309330;_0x309330['editing']['view']['addObserver'](_0x31f6aa),_0x309330['editing']['view']['addObserver'](_0x2800aa);let _0x54d58b=!0x1;this['listenTo'](_0x5b7328['view']['document'],'pointerdown',(_0x4bb22c,_0x164cdc)=>{const {target:_0x707025}=_0x164cdc,_0x1aeb6a=_0x5b7328['view']['document']['selection'];_0x54d58b=!!(_0x707025?.['is']('element','a')&&_0x707025['parent']?.['is']('element','sup')&&_0x707025['parent']['hasClass']('footnote'))&&_0x1aeb6a['getSelectedElement']()===_0x707025['parent'];},{'priority':'high'}),this['listenTo'](_0x5b7328['view']['document'],'click',(_0x309a8b,_0x1c6f38)=>{const {target:_0x1cc0d0}=_0x1c6f38;if(!_0x1cc0d0?.['is']('element','a'))return;if(_0x1cc0d0['parent']?.['is']('element','sup')&&_0x1cc0d0['parent']['hasClass']('footnote')&&!_0x54d58b)return void _0x1c6f38['preventDefault']();let _0x342c48=_0x1cc0d0['getAttribute']('href');if(!_0x342c48?.['startsWith']('#'))return;_0x342c48=_0x342c48['slice'](0x1);let _0x4857cb=!0x1;(_0x342c48['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x342c48['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x342c48))&&(_0x4857cb=!0x0),_0x4857cb&&(_0x1c6f38['preventDefault'](),_0x309a8b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x39e673}={}){return(_0x3e73bb,{writer:_0x234658})=>{if(!p(_0x3e73bb))return null;if(!_0x39e673)return _0x234658['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xe76364=_0x234658['createContainerElement']('p');return _0x234658['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xe76364),_0xe76364;};}function p(_0x91fe7b){const {parent:_0x20f9a2}=_0x91fe7b;if(!_0x20f9a2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x20f9a2['childCount'])return!0x1;for(const _0x10a17c of _0x91fe7b['getAttributeKeys']())if(!_0x10a17c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x10a17c)return!0x1;return!0x0;}function g(_0x1f90b3,_0x1d8e22){if(!_0x1f90b3['is']('element','paragraph'))return!0x1;const _0x141ab3=_0x1d8e22['toViewElement'](_0x1f90b3);return!!_0x141ab3&&p(_0x1f90b3)!==_0x141ab3['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x150ef5){return _0x34233c(_0x150ef5)&&_0x150ef5['is']('containerElement')&&!!_0x150ef5['getCustomProperty']('footnotesDefinitions');}function v(_0x14b343,_0x468575={}){const _0x495287=_0x14b343['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x701f02=_0x14b343['createContainerElement']('ol',{'class':'footnotes-list'},_0x14b343['createSlot']());return _0x14b343['createContainerElement']('div',{'class':'footnotes',..._0x468575},[_0x495287,_0x701f02]);}function D(_0x5787f6,_0x1e8c6c){const _0x4fc7ed=_0x5787f6['getAttribute']('footnoteId'),_0x3b6341=_0x5787f6['getAttribute']('footnoteCounter'),_0x941af5=_0x1e8c6c['createUIElement']('a',{'href':'#'+_0x4fc7ed},function(_0xd2eb44){const _0x5d9f1c=this['toDomElement'](_0xd2eb44);return _0x5d9f1c['textContent']=_0x3b6341,_0x5d9f1c;}),_0x3b9010=_0x1e8c6c['createContainerElement']('sup',{'id':'ref-'+_0x4fc7ed,'class':'footnote'},[_0x941af5]);return _0x3b9010['getFillerOffset']=()=>null,_0x3b9010;}function b(_0x3d4d50,_0x412707,_0x48e37e,{dataPipeline:_0x3d547c}={}){const {t:t}=_0x48e37e,_0x220db8=_0x3d4d50['getAttribute']('footnoteId'),_0x243344=_0x412707['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x220db8},function(_0x344cb6){const _0x27c203=this['toDomElement'](_0x344cb6);return _0x27c203['innerText']='^',_0x27c203;}),_0x1f8a5b=_0x3d547c?_0x412707['createContainerElement']('div',{'class':'footnote-content'}):_0x20bc47(_0x412707['createEditableElement']('div',{'class':'footnote-content'}),_0x412707,{'label':t('Footnote\x20content.')});return _0x412707['insert'](_0x412707['createPositionAt'](_0x1f8a5b,0x0),_0x412707['createSlot']()),_0x412707['createContainerElement']('li',{'class':'footnote-definition','id':_0x220db8},[_0x243344,_0x1f8a5b]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1cb9(_0x4587b2,_0x547e4f){const _0x1fee4c=_0x1fee();return _0x1cb9=function(_0x1cb92a,_0x51929c){_0x1cb92a=_0x1cb92a-0xc1;let _0x1e3d2f=_0x1fee4c[_0x1cb92a];return _0x1e3d2f;},_0x1cb9(_0x4587b2,_0x547e4f);}function _0x1fee(){const _0x133228=['6811469aOaPEI','362968YyqEgb','_updateFootnotesCounters','refresh','66TzYPsv','176804FzhABW','model','12969ipVPMX','footnotesListStart','1006853zBiBvc','4869210wmVoog','2dlXYNe','54xwmBWY','change','isInteger','get','plugins','getFootnotesDefinitionsObjectElement','6JpcYPj','39192zdymUm','execute','7229380fzaiEg','value','getAttribute','setAttribute','isEnabled'];_0x1fee=function(){return _0x133228;};return _0x1fee();}const _0x4bcdac=_0x1cb9;(function(_0xe859b6,_0x4ed675){const _0x1972dc=_0x1cb9,_0x3234e9=_0xe859b6();while(!![]){try{const _0xe195e8=-parseInt(_0x1972dc(0xc7))/0x1*(-parseInt(_0x1972dc(0xc9))/0x2)+parseInt(_0x1972dc(0xc2))/0x3*(-parseInt(_0x1972dc(0xc3))/0x4)+-parseInt(_0x1972dc(0xc8))/0x5+-parseInt(_0x1972dc(0xd0))/0x6*(parseInt(_0x1972dc(0xd8))/0x7)+-parseInt(_0x1972dc(0xd9))/0x8*(parseInt(_0x1972dc(0xca))/0x9)+-parseInt(_0x1972dc(0xd3))/0xa+parseInt(_0x1972dc(0xc5))/0xb*(parseInt(_0x1972dc(0xd1))/0xc);if(_0xe195e8===_0x4ed675)break;else _0x3234e9['push'](_0x3234e9['shift']());}catch(_0x140035){_0x3234e9['push'](_0x3234e9['shift']());}}}(_0x1fee,0xe637c));import{Command as _0x4c8ea2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x31be2a}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4c8ea2{[_0x4bcdac(0xc1)](){const _0xe98062=_0x4bcdac,{editor:_0x1563c7}=this,_0x4be41a=_0x1563c7[_0xe98062(0xce)][_0xe98062(0xcd)](_0x31be2a)[_0xe98062(0xcf)]();this[_0xe98062(0xd7)]=!!_0x4be41a,this[_0xe98062(0xd4)]=_0x4be41a?.[_0xe98062(0xd5)](_0xe98062(0xc6))??null;}[_0x4bcdac(0xd2)]({value:_0x4c4f0c}){const _0x2d79f1=_0x4bcdac,{editor:_0x56017}=this,_0x31c1df=_0x56017[_0x2d79f1(0xce)][_0x2d79f1(0xcd)](_0x31be2a),_0x394ff7=_0x31c1df[_0x2d79f1(0xcf)]();_0x394ff7&&Number[_0x2d79f1(0xcc)](_0x4c4f0c)&&_0x56017[_0x2d79f1(0xc4)][_0x2d79f1(0xcb)](_0xec1a5=>{const _0x17aa30=_0x2d79f1;_0xec1a5[_0x17aa30(0xd6)](_0x17aa30(0xc6),_0x4c4f0c,_0x394ff7),_0x31c1df[_0x17aa30(0xda)](_0xec1a5);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4aa7(){const _0x2ad7c6=['54pHptne','setAttribute','get','plugins','8265702otOdOc','getFootnotesDefinitionsObjectElement','execute','22909678XjzQAX','getAttribute','value','model','_updateFootnotesCounters','127356bQeJov','6695367vFWojD','9789qyezJu','1114368TiPWJp','refresh','1330177xXUQAT','isEnabled','footnotesListStyle','10LoKZUh','105OJQJxi','586yiHMrN','change','includes'];_0x4aa7=function(){return _0x2ad7c6;};return _0x4aa7();}function _0x1269(_0x338537,_0x57aa29){const _0x4aa723=_0x4aa7();return _0x1269=function(_0x126906,_0x1f6865){_0x126906=_0x126906-0x159;let _0x410817=_0x4aa723[_0x126906];return _0x410817;},_0x1269(_0x338537,_0x57aa29);}const _0x103e86=_0x1269;(function(_0x41eec1,_0x5597dc){const _0x382110=_0x1269,_0x3daa23=_0x41eec1();while(!![]){try{const _0x395f69=-parseInt(_0x382110(0x15f))/0x1+parseInt(_0x382110(0x164))/0x2*(-parseInt(_0x382110(0x15c))/0x3)+-parseInt(_0x382110(0x15a))/0x4*(-parseInt(_0x382110(0x163))/0x5)+-parseInt(_0x382110(0x16b))/0x6+parseInt(_0x382110(0x15b))/0x7+-parseInt(_0x382110(0x15d))/0x8*(-parseInt(_0x382110(0x167))/0x9)+parseInt(_0x382110(0x162))/0xa*(parseInt(_0x382110(0x16e))/0xb);if(_0x395f69===_0x5597dc)break;else _0x3daa23['push'](_0x3daa23['shift']());}catch(_0x27c4ee){_0x3daa23['push'](_0x3daa23['shift']());}}}(_0x4aa7,0xd6c69));import{Command as _0x18ac1b}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x715712}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4e22f8}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x18ac1b{[_0x103e86(0x15e)](){const _0x46ec85=_0x103e86,{editor:_0x576a58}=this,_0x1f356e=_0x576a58[_0x46ec85(0x16a)][_0x46ec85(0x169)](_0x4e22f8)[_0x46ec85(0x16c)]();this[_0x46ec85(0x160)]=!!_0x1f356e,this[_0x46ec85(0x170)]=_0x1f356e?.[_0x46ec85(0x16f)](_0x46ec85(0x161))??null;}[_0x103e86(0x16d)]({value:_0x2c951e}){const _0x4d734b=_0x103e86,{editor:_0x278f55}=this,_0x3660e5=_0x278f55[_0x4d734b(0x16a)][_0x4d734b(0x169)](_0x4e22f8),_0x40f76b=_0x3660e5[_0x4d734b(0x16c)]();_0x40f76b&&_0x715712[_0x4d734b(0x166)](_0x2c951e)&&_0x278f55[_0x4d734b(0x171)][_0x4d734b(0x165)](_0x499bc9=>{const _0x7ea622=_0x4d734b;_0x499bc9[_0x7ea622(0x168)](_0x7ea622(0x161),_0x2c951e,_0x40f76b),_0x3660e5[_0x7ea622(0x159)](_0x499bc9);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x48914a=_0x589d;(function(_0x48081c,_0x14d319){const _0x32d5e2=_0x589d,_0x3c1868=_0x48081c();while(!![]){try{const _0x3cd904=parseInt(_0x32d5e2(0xbb))/0x1*(-parseInt(_0x32d5e2(0xb8))/0x2)+-parseInt(_0x32d5e2(0xac))/0x3*(-parseInt(_0x32d5e2(0xad))/0x4)+parseInt(_0x32d5e2(0xba))/0x5+parseInt(_0x32d5e2(0xae))/0x6+parseInt(_0x32d5e2(0xb5))/0x7+parseInt(_0x32d5e2(0xab))/0x8+-parseInt(_0x32d5e2(0xb2))/0x9*(parseInt(_0x32d5e2(0xb9))/0xa);if(_0x3cd904===_0x14d319)break;else _0x3c1868['push'](_0x3c1868['shift']());}catch(_0x1c0346){_0x3c1868['push'](_0x3c1868['shift']());}}}(_0x5d65,0x33a65));function _0x589d(_0x29a4e3,_0x2ed849){const _0x5d653e=_0x5d65();return _0x589d=function(_0x589dcb,_0x189e21){_0x589dcb=_0x589dcb-0xab;let _0x3de433=_0x5d653e[_0x589dcb];return _0x3de433;},_0x589d(_0x29a4e3,_0x2ed849);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x48914a(0xb1),_0x48914a(0xb7),_0x48914a(0xb3),_0x48914a(0xbc),_0x48914a(0xb0),_0x48914a(0xaf),_0x48914a(0xb6),_0x48914a(0xb4)];function _0x5d65(){const _0x354f0e=['459292uPZcFr','1341732wKKIHr','upper-alpha','lower-alpha','decimal','9iUHuvX','lower-latin','upper-roman','2552795muEnCU','lower-roman','decimal-leading-zero','46kjWVUv','5849930rZOGih','1231810sLRVet','8980ogXYRZ','upper-latin','428784bdpNER','3UyMHIw'];_0x5d65=function(){return _0x354f0e;};return _0x5d65();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x19f393=_0x40fc;function _0x34aa(){const _0x2f6731=['lower-roman','removeAttribute','item','toUpperCase','get','plugins','find','toViewElement','list-style-type','59234200FLlSzc','decimal','removeStyle','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','_defineFormatter','pluginName','consumable','add','requires','model','mapper','attribute:footnotesListStyle:footnotesDefinitions','name','6152556jjJQIn','setAttribute','6256870jKdTUj','element:ol','editor','footnotesStart','11WKDgPJ','define','parent','viewItem','element','_defineConverters','schema','FootnotesPropertiesEditing','lower-latin','downcast','4578633ZYShic','getChildren','getAttribute','isPremiumPlugin','position','543fxEzJz','footnotesStyle','setFootnoteFormatter','floor','upper-roman','getChanges','_getDefaultStartIndex','isOfficialPlugin','writer','upper-alpha','padStart','lower-alpha','footnotesDefinitions','getItems','getStyle','max','4456809AQpayh','isNaN','hasAttribute','4ZNUfdw','_defineSchema','1338DJrHNy','nodeAfter','10102616rflFPk','init','differ','7KLnMbX','footnotesListStyle','extend','toLowerCase','decimal-leading-zero','start','hasClass','consume','checkAttribute','type','insert','_formatFootnoteListValue','parseInt','upcast','fromCharCode','_getDefaultListStyle','upper-latin','for','config','_definePostfixer','setStyle','createRangeOn','from','footnotes.footnotesProperties.defaultListStyle','_updateFootnotesCounters','document','$text','registerPostFixer','attribute:footnotesListStart:footnotesDefinitions','modelCursor','footnotes-list','commands'];_0x34aa=function(){return _0x2f6731;};return _0x34aa();}(function(_0x5ab98d,_0xb044cf){const _0x1caa3f=_0x40fc,_0xa41af4=_0x5ab98d();while(!![]){try{const _0x283223=parseInt(_0x1caa3f(0x1dd))/0x1*(parseInt(_0x1caa3f(0x1f2))/0x2)+-parseInt(_0x1caa3f(0x1ed))/0x3+parseInt(_0x1caa3f(0x1f0))/0x4*(-parseInt(_0x1caa3f(0x230))/0x5)+-parseInt(_0x1caa3f(0x22e))/0x6+parseInt(_0x1caa3f(0x1f7))/0x7*(-parseInt(_0x1caa3f(0x1f4))/0x8)+-parseInt(_0x1caa3f(0x1d8))/0x9+-parseInt(_0x1caa3f(0x220))/0xa*(-parseInt(_0x1caa3f(0x234))/0xb);if(_0x283223===_0xb044cf)break;else _0xa41af4['push'](_0xa41af4['shift']());}catch(_0x15fa25){_0xa41af4['push'](_0xa41af4['shift']());}}}(_0x34aa,0xb7c50));import{Plugin as _0x4c4d87}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x24192d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x277a2f}from'./commands/footnotesstartcommand.js';function _0x40fc(_0xf953fd,_0x337ce5){const _0x34aafd=_0x34aa();return _0x40fc=function(_0x40fc55,_0x3c7ce4){_0x40fc55=_0x40fc55-0x1d2;let _0x49dc4d=_0x34aafd[_0x40fc55];return _0x49dc4d;},_0x40fc(_0xf953fd,_0x337ce5);}import{FootnotesTracker as _0x27e8a7}from'../footnotestracker.js';import{FootnotesEditing as _0x48c0ec}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4c4d87{static get[_0x19f393(0x226)](){const _0x3d49c6=_0x19f393;return _0x3d49c6(0x1d5);}static get[_0x19f393(0x229)](){return[_0x48c0ec,_0x27e8a7];}static get[_0x19f393(0x1e4)](){return!0x0;}static get[_0x19f393(0x1db)](){return!0x0;}[_0x19f393(0x1f5)](){const _0x1aeae4=_0x19f393,{editor:_0x2a4358}=this;_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x20e),_0x1aeae4(0x221)),_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x223),0x1),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x1de),new _0x24192d(_0x2a4358)),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x233),new _0x277a2f(_0x2a4358)),this[_0x1aeae4(0x1f1)](),this[_0x1aeae4(0x1d3)](),this[_0x1aeae4(0x225)](),this[_0x1aeae4(0x20a)]();}[_0x19f393(0x1f1)](){const _0x4d00b1=_0x19f393,{editor:_0x497b2e}=this,{schema:_0x18e88c}=_0x497b2e[_0x4d00b1(0x22a)];_0x18e88c[_0x4d00b1(0x1f9)](_0x4d00b1(0x1e9),{'allowAttributes':[_0x4d00b1(0x1f8),_0x4d00b1(0x224)]});}[_0x19f393(0x1d3)](){const _0x24e1c1=_0x19f393,{editor:_0x508af0}=this,{conversion:_0x4ef0e4,model:_0x342700}=_0x508af0,{schema:_0x32ad93}=_0x342700;_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x204))[_0x24e1c1(0x228)](_0x4381e8=>{const _0x25d425=_0x24e1c1;_0x4381e8['on'](_0x25d425(0x231),(_0xcfc318,_0x4197dd,_0x5bbcd1)=>{const _0x53435c=_0x25d425,_0xa2a56d=_0x4197dd[_0x53435c(0x237)],_0x5ddce8=_0x4197dd[_0x53435c(0x214)]?.[_0x53435c(0x236)];_0xa2a56d[_0x53435c(0x1fd)](_0x53435c(0x215))&&_0x5ddce8?.['is'](_0x53435c(0x1d2),_0x53435c(0x1e9))&&(function(_0x306d09,_0x548b3a,_0xfcd827,_0x4a153e){const _0x5977b6=_0x53435c;if(!_0x4a153e[_0x5977b6(0x1ff)](_0x548b3a,_0x5977b6(0x224)))return;let _0x1bcc8a=0x1;const _0x2fdfc8=_0xfcd827[_0x5977b6(0x227)][_0x5977b6(0x1fe)](_0x306d09,{'attributes':_0x5977b6(0x1fc)});if(_0x2fdfc8){const _0x39a737=Number[_0x5977b6(0x203)](_0x306d09[_0x5977b6(0x1da)](_0x5977b6(0x1fc)),0xa);Number[_0x5977b6(0x1ee)](_0x39a737)||(_0x1bcc8a=_0x39a737);}!_0x2fdfc8&&_0x548b3a[_0x5977b6(0x1ef)](_0x5977b6(0x224))||_0xfcd827[_0x5977b6(0x1e5)][_0x5977b6(0x22f)](_0x5977b6(0x224),_0x1bcc8a,_0x548b3a);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93),function(_0x3e17c8,_0x24926f,_0x4fb1fe,_0x2ae425){const _0x22b031=_0x53435c;if(!_0x2ae425[_0x22b031(0x1ff)](_0x24926f,_0x22b031(0x1f8)))return;let _0x42afce=_0x22b031(0x221),_0x58e5be=!0x1;if(_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'attributes':_0x22b031(0x200)})){const _0x322e74={0x1:_0x22b031(0x221),'a':_0x22b031(0x1e8),'A':_0x22b031(0x1e6),'i':_0x22b031(0x217),'I':_0x22b031(0x1e1)}[_0x3e17c8[_0x22b031(0x1da)](_0x22b031(0x200))];_0x322e74&&(_0x42afce=_0x322e74),_0x58e5be=!0x0;}_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'styles':_0x22b031(0x21f)})&&(_0x42afce=_0x3e17c8[_0x22b031(0x1eb)](_0x22b031(0x21f)),_0x58e5be=!0x0),!_0x58e5be&&_0x24926f[_0x22b031(0x1ef)](_0x22b031(0x1f8))||_0x4fb1fe[_0x22b031(0x1e5)][_0x22b031(0x22f)](_0x22b031(0x1f8),_0x42afce,_0x24926f);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93));});}),_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x1d7))[_0x24e1c1(0x228)](_0x476498=>{const _0x57a4b4=_0x24e1c1;_0x476498['on'](_0x57a4b4(0x213),(_0x54c1a1,_0x12d5b5,_0x572e39)=>{const _0x48e292=_0x57a4b4;if(!_0x572e39[_0x48e292(0x227)][_0x48e292(0x1fe)](_0x12d5b5[_0x48e292(0x219)],_0x54c1a1[_0x48e292(0x22d)]))return;const _0x2f1a54=C(_0x12d5b5[_0x48e292(0x219)],_0x572e39[_0x48e292(0x22b)]),{attributeNewValue:_0x1d718e}=_0x12d5b5;null==_0x1d718e||0x1===_0x1d718e?_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x218)](_0x48e292(0x1fc),_0x2f1a54):_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x22f)](_0x48e292(0x1fc),String(_0x1d718e),_0x2f1a54);}),_0x476498['on'](_0x57a4b4(0x22c),(_0x5f4495,_0x4f698a,_0x30b100)=>{const _0x3fcc83=_0x57a4b4;if(!_0x30b100[_0x3fcc83(0x227)][_0x3fcc83(0x1fe)](_0x4f698a[_0x3fcc83(0x219)],_0x5f4495[_0x3fcc83(0x22d)]))return;const _0x404b97=C(_0x4f698a[_0x3fcc83(0x219)],_0x30b100[_0x3fcc83(0x22b)]),{attributeNewValue:_0x1ff1fc}=_0x4f698a;_0x1ff1fc&&_0x3fcc83(0x221)!==_0x1ff1fc?_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x20b)](_0x3fcc83(0x21f),_0x1ff1fc,_0x404b97):_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x222)](_0x3fcc83(0x21f),_0x404b97);});});}[_0x19f393(0x20a)](){const _0x17ac98=_0x19f393,{editor:_0x18c69a}=this,{model:_0x39fd66}=_0x18c69a,_0x135a47=_0x18c69a[_0x17ac98(0x21c)][_0x17ac98(0x21b)](_0x27e8a7),_0x33bf1f=this[_0x17ac98(0x206)](),_0x3a9f1f=this[_0x17ac98(0x1e3)]();_0x39fd66[_0x17ac98(0x210)][_0x17ac98(0x212)](_0x316fab=>{const _0x42e7cd=_0x17ac98,_0x798ddb=_0x39fd66[_0x42e7cd(0x210)][_0x42e7cd(0x1f6)][_0x42e7cd(0x1e2)]();let _0xf9093f=!0x1;for(const _0x1412d5 of _0x798ddb){if(_0x42e7cd(0x201)!==_0x1412d5[_0x42e7cd(0x200)]||_0x42e7cd(0x211)===_0x1412d5[_0x42e7cd(0x22d)])continue;const _0x36ecdb=_0x39fd66[_0x42e7cd(0x20c)](_0x1412d5[_0x42e7cd(0x1dc)][_0x42e7cd(0x1f3)]);for(const _0xc70236 of _0x36ecdb[_0x42e7cd(0x1ea)]())_0xc70236['is'](_0x42e7cd(0x1d2),_0x42e7cd(0x1e9))&&(!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x224))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x224))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x224),_0x3a9f1f,_0xc70236),_0xf9093f=!0x0),!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x1f8))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x1f8))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x1f8),_0x33bf1f,_0xc70236),_0xf9093f=!0x0));}return _0xf9093f&&_0x135a47[_0x42e7cd(0x20f)](_0x316fab),_0xf9093f;});}[_0x19f393(0x225)](){const _0x176b13=_0x19f393,{editor:_0x29eea7}=this;_0x29eea7[_0x176b13(0x21c)][_0x176b13(0x21b)](_0x27e8a7)[_0x176b13(0x1df)](_0xa594f0=>this[_0x176b13(0x202)](_0xa594f0));}[_0x19f393(0x206)](){const _0x177669=_0x19f393;return this[_0x177669(0x232)][_0x177669(0x209)][_0x177669(0x21b)](_0x177669(0x20e));}[_0x19f393(0x1e3)](){const _0x5e2951=_0x19f393;return this[_0x5e2951(0x232)][_0x5e2951(0x209)][_0x5e2951(0x21b)](_0x5e2951(0x223));}[_0x19f393(0x202)]({container:_0x960cc8,value:_0x50c092,digits:_0x3f561f}){const _0x3e3d0f=_0x19f393,_0x278d01=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x1f8)),_0x2051d7=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x224)),_0x111bb0=Math[_0x3e3d0f(0x1e0)](_0x50c092)+(_0x2051d7??0x1)-0x1;switch(_0x278d01){case _0x3e3d0f(0x1fb):return function(_0x35bad6,_0x4bdb51){const _0x5eade6=_0x3e3d0f;return String(_0x35bad6)[_0x5eade6(0x1e7)](_0x4bdb51,'0');}(_0x111bb0,Math[_0x3e3d0f(0x1ec)](0x2,_0x3f561f));case _0x3e3d0f(0x1e8):case _0x3e3d0f(0x1d6):return M(_0x111bb0,!0x1);case _0x3e3d0f(0x1e6):case _0x3e3d0f(0x207):return M(_0x111bb0,!0x0);case _0x3e3d0f(0x217):return V(_0x111bb0,!0x1);case _0x3e3d0f(0x1e1):return V(_0x111bb0,!0x0);default:return String(_0x111bb0);}}}function C(_0x4408b5,_0x27657f){const _0x4a81b9=_0x19f393,_0x807e8e=_0x27657f[_0x4a81b9(0x21e)](_0x4408b5);return Array[_0x4a81b9(0x20d)](_0x807e8e[_0x4a81b9(0x1d9)]())[_0x4a81b9(0x21d)](_0x3adcb9=>_0x3adcb9['is'](_0x4a81b9(0x1d2),'ol')&&_0x3adcb9[_0x4a81b9(0x1fd)](_0x4a81b9(0x215)));}function M(_0x438dba,_0x34e367){const _0x29092f=_0x19f393;let _0xd7a6a6='',_0x580aab=_0x438dba;for(;_0x580aab>0x0;){const _0x383c40=(_0x580aab-0x1)%0x1a;_0xd7a6a6=String[_0x29092f(0x205)](0x61+_0x383c40)+_0xd7a6a6,_0x580aab=Math[_0x29092f(0x1e0)]((_0x580aab-0x1)/0x1a);}return _0x34e367?_0xd7a6a6[_0x29092f(0x21a)]():_0xd7a6a6;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x3c64e0,_0x17dd9d){const _0x5eed0b=_0x19f393;let _0x108d65='',_0x2f119a=_0x3c64e0;for(const {value:_0x1bb670,numeral:_0x2641d5}of N)for(;_0x2f119a>=_0x1bb670;)_0x108d65+=_0x2641d5,_0x2f119a-=_0x1bb670;return _0x17dd9d?_0x108d65:_0x108d65[_0x5eed0b(0x1fa)]();}
|
|
23
|
+
const _0x5b2ce0=_0x477d;(function(_0x535551,_0x14d2e6){const _0x49b404=_0x477d,_0x522c0e=_0x535551();while(!![]){try{const _0xa5492=parseInt(_0x49b404(0xf9))/0x1+parseInt(_0x49b404(0xca))/0x2+-parseInt(_0x49b404(0x10b))/0x3+parseInt(_0x49b404(0xf5))/0x4+-parseInt(_0x49b404(0xe3))/0x5+-parseInt(_0x49b404(0x107))/0x6*(-parseInt(_0x49b404(0xc2))/0x7)+parseInt(_0x49b404(0x111))/0x8;if(_0xa5492===_0x14d2e6)break;else _0x522c0e['push'](_0x522c0e['shift']());}catch(_0x24c717){_0x522c0e['push'](_0x522c0e['shift']());}}}(_0x479c,0x40fda));function _0x479c(){const _0x578897=['document','padStart','plugins','964028YBIUEh','_defineFormatter','modelCursor','getItems','139982GMaAhz','decimal','floor','model','consumable','element','list-style-type','config','mapper','footnotes-list','_defineSchema','footnotesListStyle','_getDefaultListStyle','isNaN','8904CVtPUB','item','setAttribute','getChanges','972333jeMmlJ','attribute:footnotesListStyle:footnotesDefinitions','isOfficialPlugin','max','decimal-leading-zero','_getDefaultStartIndex','503208nPPPKx','hasClass','upper-latin','attribute:footnotesListStart:footnotesDefinitions','_definePostfixer','checkAttribute','init','writer','setStyle','getAttribute','isPremiumPlugin','upper-alpha','lower-alpha','hasAttribute','$text','_updateFootnotesCounters','lower-latin','for','name','requires','1246KNKWtK','_formatFootnoteListValue','differ','upper-roman','element:ol','downcast','footnotesDefinitions','pluginName','738180URPCyb','createRangeOn','removeStyle','define','registerPostFixer','toUpperCase','extend','toLowerCase','parseInt','setFootnoteFormatter','lower-roman','consume','add','footnotesStart','schema','commands','footnotesStyle','fromCharCode','start','toViewElement','editor','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','nodeAfter','from','2434095kuvFsm','type','_defineConverters','getStyle','get','find','upcast','removeAttribute','viewItem','parent','footnotes.footnotesProperties.defaultListStyle','position','insert','getChildren','FootnotesPropertiesEditing'];_0x479c=function(){return _0x578897;};return _0x479c();}import{Plugin as _0x5589e5}from'ckeditor5/src/core.js';function _0x477d(_0xb34dc0,_0x18b9ac){const _0x479c98=_0x479c();return _0x477d=function(_0x477ddb,_0x2eff1d){_0x477ddb=_0x477ddb-0xc0;let _0x29dec4=_0x479c98[_0x477ddb];return _0x29dec4;},_0x477d(_0xb34dc0,_0x18b9ac);}import{FootnotesStyleCommand as _0xcfb3bb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x375ec0}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x401a6c}from'../footnotestracker.js';import{FootnotesEditing as _0x5669b1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5589e5{static get[_0x5b2ce0(0xc9)](){const _0x5e7ba6=_0x5b2ce0;return _0x5e7ba6(0xf1);}static get[_0x5b2ce0(0xc1)](){return[_0x5669b1,_0x401a6c];}static get[_0x5b2ce0(0x10d)](){return!0x0;}static get[_0x5b2ce0(0x11b)](){return!0x0;}[_0x5b2ce0(0x117)](){const _0x264fca=_0x5b2ce0,{editor:_0x1d7fac}=this;_0x1d7fac[_0x264fca(0x100)][_0x264fca(0xcd)](_0x264fca(0xed),_0x264fca(0xfa)),_0x1d7fac[_0x264fca(0x100)][_0x264fca(0xcd)](_0x264fca(0xdf),0x1),_0x1d7fac[_0x264fca(0xd9)][_0x264fca(0xd6)](_0x264fca(0xda),new _0xcfb3bb(_0x1d7fac)),_0x1d7fac[_0x264fca(0xd9)][_0x264fca(0xd6)](_0x264fca(0xd7),new _0x375ec0(_0x1d7fac)),this[_0x264fca(0x103)](),this[_0x264fca(0xe5)](),this[_0x264fca(0xf6)](),this[_0x264fca(0x115)]();}[_0x5b2ce0(0x103)](){const _0x3674c8=_0x5b2ce0,{editor:_0x55903c}=this,{schema:_0x387546}=_0x55903c[_0x3674c8(0xfc)];_0x387546[_0x3674c8(0xd0)](_0x3674c8(0xc8),{'allowAttributes':[_0x3674c8(0x104),_0x3674c8(0xe0)]});}[_0x5b2ce0(0xe5)](){const _0x8fc7e4=_0x5b2ce0,{editor:_0x3c6802}=this,{conversion:_0x1abd19,model:_0x2e3c9d}=_0x3c6802,{schema:_0xb1baa1}=_0x2e3c9d;_0x1abd19[_0x8fc7e4(0x122)](_0x8fc7e4(0xe9))[_0x8fc7e4(0xd6)](_0x4788bb=>{const _0x60fe00=_0x8fc7e4;_0x4788bb['on'](_0x60fe00(0xc6),(_0x1bd20d,_0x34c4ad,_0x57c61a)=>{const _0x43c863=_0x60fe00,_0x399093=_0x34c4ad[_0x43c863(0xeb)],_0x140af0=_0x34c4ad[_0x43c863(0xf7)]?.[_0x43c863(0xec)];_0x399093[_0x43c863(0x112)](_0x43c863(0x102))&&_0x140af0?.['is'](_0x43c863(0xfe),_0x43c863(0xc8))&&(function(_0x541002,_0x329800,_0x4d269a,_0x11ab14){const _0x17bfa6=_0x43c863;if(!_0x11ab14[_0x17bfa6(0x116)](_0x329800,_0x17bfa6(0xe0)))return;let _0x4626e0=0x1;const _0x519703=_0x4d269a[_0x17bfa6(0xfd)][_0x17bfa6(0xd5)](_0x541002,{'attributes':_0x17bfa6(0xdc)});if(_0x519703){const _0x3d717a=Number[_0x17bfa6(0xd2)](_0x541002[_0x17bfa6(0x11a)](_0x17bfa6(0xdc)),0xa);Number[_0x17bfa6(0x106)](_0x3d717a)||(_0x4626e0=_0x3d717a);}!_0x519703&&_0x329800[_0x17bfa6(0x11e)](_0x17bfa6(0xe0))||_0x4d269a[_0x17bfa6(0x118)][_0x17bfa6(0x109)](_0x17bfa6(0xe0),_0x4626e0,_0x329800);}(_0x399093,_0x140af0,_0x57c61a,_0xb1baa1),function(_0x3bdfec,_0x224805,_0x9b9c83,_0x20041e){const _0x184eb6=_0x43c863;if(!_0x20041e[_0x184eb6(0x116)](_0x224805,_0x184eb6(0x104)))return;let _0x416887=_0x184eb6(0xfa),_0x51a03e=!0x1;if(_0x9b9c83[_0x184eb6(0xfd)][_0x184eb6(0xd5)](_0x3bdfec,{'attributes':_0x184eb6(0xe4)})){const _0x2713c1={0x1:_0x184eb6(0xfa),'a':_0x184eb6(0x11d),'A':_0x184eb6(0x11c),'i':_0x184eb6(0xd4),'I':_0x184eb6(0xc5)}[_0x3bdfec[_0x184eb6(0x11a)](_0x184eb6(0xe4))];_0x2713c1&&(_0x416887=_0x2713c1),_0x51a03e=!0x0;}_0x9b9c83[_0x184eb6(0xfd)][_0x184eb6(0xd5)](_0x3bdfec,{'styles':_0x184eb6(0xff)})&&(_0x416887=_0x3bdfec[_0x184eb6(0xe6)](_0x184eb6(0xff)),_0x51a03e=!0x0),!_0x51a03e&&_0x224805[_0x184eb6(0x11e)](_0x184eb6(0x104))||_0x9b9c83[_0x184eb6(0x118)][_0x184eb6(0x109)](_0x184eb6(0x104),_0x416887,_0x224805);}(_0x399093,_0x140af0,_0x57c61a,_0xb1baa1));});}),_0x1abd19[_0x8fc7e4(0x122)](_0x8fc7e4(0xc7))[_0x8fc7e4(0xd6)](_0x5d3f53=>{const _0x1d404f=_0x8fc7e4;_0x5d3f53['on'](_0x1d404f(0x114),(_0x378586,_0x5a03f3,_0x575411)=>{const _0x358bc6=_0x1d404f;if(!_0x575411[_0x358bc6(0xfd)][_0x358bc6(0xd5)](_0x5a03f3[_0x358bc6(0x108)],_0x378586[_0x358bc6(0xc0)]))return;const _0x5b84b7=M(_0x5a03f3[_0x358bc6(0x108)],_0x575411[_0x358bc6(0x101)]),{attributeNewValue:_0x10d48c}=_0x5a03f3;null==_0x10d48c||0x1===_0x10d48c?_0x575411[_0x358bc6(0x118)][_0x358bc6(0xea)](_0x358bc6(0xdc),_0x5b84b7):_0x575411[_0x358bc6(0x118)][_0x358bc6(0x109)](_0x358bc6(0xdc),String(_0x10d48c),_0x5b84b7);}),_0x5d3f53['on'](_0x1d404f(0x10c),(_0x210960,_0x1df619,_0x40a386)=>{const _0x4dc8a6=_0x1d404f;if(!_0x40a386[_0x4dc8a6(0xfd)][_0x4dc8a6(0xd5)](_0x1df619[_0x4dc8a6(0x108)],_0x210960[_0x4dc8a6(0xc0)]))return;const _0x487a75=M(_0x1df619[_0x4dc8a6(0x108)],_0x40a386[_0x4dc8a6(0x101)]),{attributeNewValue:_0x3b772a}=_0x1df619;_0x3b772a&&_0x4dc8a6(0xfa)!==_0x3b772a?_0x40a386[_0x4dc8a6(0x118)][_0x4dc8a6(0x119)](_0x4dc8a6(0xff),_0x3b772a,_0x487a75):_0x40a386[_0x4dc8a6(0x118)][_0x4dc8a6(0xcc)](_0x4dc8a6(0xff),_0x487a75);});});}[_0x5b2ce0(0x115)](){const _0x112c00=_0x5b2ce0,{editor:_0x15122a}=this,{model:_0x33e956}=_0x15122a,_0x2acca7=_0x15122a[_0x112c00(0xf4)][_0x112c00(0xe7)](_0x401a6c),_0x2e79f3=this[_0x112c00(0x105)](),_0x56fefb=this[_0x112c00(0x110)]();_0x33e956[_0x112c00(0xf2)][_0x112c00(0xce)](_0x5dc922=>{const _0x302f66=_0x112c00,_0x6344f9=_0x33e956[_0x302f66(0xf2)][_0x302f66(0xc4)][_0x302f66(0x10a)]();let _0x2e1090=!0x1;for(const _0x51f5a6 of _0x6344f9){if(_0x302f66(0xef)!==_0x51f5a6[_0x302f66(0xe4)]||_0x302f66(0x11f)===_0x51f5a6[_0x302f66(0xc0)])continue;const _0x3faca1=_0x33e956[_0x302f66(0xcb)](_0x51f5a6[_0x302f66(0xee)][_0x302f66(0xe1)]);for(const _0x16f9d5 of _0x3faca1[_0x302f66(0xf8)]())_0x16f9d5['is'](_0x302f66(0xfe),_0x302f66(0xc8))&&(!_0x16f9d5[_0x302f66(0x11e)](_0x302f66(0xe0))&&_0x33e956[_0x302f66(0xd8)][_0x302f66(0x116)](_0x16f9d5,_0x302f66(0xe0))&&(_0x5dc922[_0x302f66(0x109)](_0x302f66(0xe0),_0x56fefb,_0x16f9d5),_0x2e1090=!0x0),!_0x16f9d5[_0x302f66(0x11e)](_0x302f66(0x104))&&_0x33e956[_0x302f66(0xd8)][_0x302f66(0x116)](_0x16f9d5,_0x302f66(0x104))&&(_0x5dc922[_0x302f66(0x109)](_0x302f66(0x104),_0x2e79f3,_0x16f9d5),_0x2e1090=!0x0));}return _0x2e1090&&_0x2acca7[_0x302f66(0x120)](_0x5dc922),_0x2e1090;});}[_0x5b2ce0(0xf6)](){const _0x25d0d1=_0x5b2ce0,{editor:_0x3ecb1d}=this;_0x3ecb1d[_0x25d0d1(0xf4)][_0x25d0d1(0xe7)](_0x401a6c)[_0x25d0d1(0xd3)](_0x474183=>this[_0x25d0d1(0xc3)](_0x474183));}[_0x5b2ce0(0x105)](){const _0x55912d=_0x5b2ce0;return this[_0x55912d(0xde)][_0x55912d(0x100)][_0x55912d(0xe7)](_0x55912d(0xed));}[_0x5b2ce0(0x110)](){const _0x44e652=_0x5b2ce0;return this[_0x44e652(0xde)][_0x44e652(0x100)][_0x44e652(0xe7)](_0x44e652(0xdf));}[_0x5b2ce0(0xc3)]({container:_0x4b7ff7,value:_0x32fa27,digits:_0x1ef084}){const _0x44d193=_0x5b2ce0,_0x465fd4=_0x4b7ff7[_0x44d193(0x11a)](_0x44d193(0x104)),_0x6e9821=_0x4b7ff7[_0x44d193(0x11a)](_0x44d193(0xe0)),_0x259bde=Math[_0x44d193(0xfb)](_0x32fa27)+(_0x6e9821??0x1)-0x1;switch(_0x465fd4){case _0x44d193(0x10f):return function(_0x2e26cc,_0x31ae42){const _0x1db776=_0x44d193;return String(_0x2e26cc)[_0x1db776(0xf3)](_0x31ae42,'0');}(_0x259bde,Math[_0x44d193(0x10e)](0x2,_0x1ef084));case _0x44d193(0x11d):case _0x44d193(0x121):return N(_0x259bde,!0x1);case _0x44d193(0x11c):case _0x44d193(0x113):return N(_0x259bde,!0x0);case _0x44d193(0xd4):return X(_0x259bde,!0x1);case _0x44d193(0xc5):return X(_0x259bde,!0x0);default:return String(_0x259bde);}}}function M(_0xf49174,_0x11729f){const _0x206f2e=_0x5b2ce0,_0x3ec6dd=_0x11729f[_0x206f2e(0xdd)](_0xf49174);return Array[_0x206f2e(0xe2)](_0x3ec6dd[_0x206f2e(0xf0)]())[_0x206f2e(0xe8)](_0x2b7ebb=>_0x2b7ebb['is'](_0x206f2e(0xfe),'ol')&&_0x2b7ebb[_0x206f2e(0x112)](_0x206f2e(0x102)));}function N(_0x552067,_0x40b6e9){const _0x33a6e6=_0x5b2ce0;let _0x2052c5='',_0x1a0521=_0x552067;for(;_0x1a0521>0x0;){const _0x48a3f6=(_0x1a0521-0x1)%0x1a;_0x2052c5=String[_0x33a6e6(0xdb)](0x61+_0x48a3f6)+_0x2052c5,_0x1a0521=Math[_0x33a6e6(0xfb)]((_0x1a0521-0x1)/0x1a);}return _0x40b6e9?_0x2052c5[_0x33a6e6(0xcf)]():_0x2052c5;}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(_0x55e430,_0x11f09b){const _0x53e8ce=_0x5b2ce0;let _0x427bd6='',_0x396b7b=_0x55e430;for(const {value:_0x148784,numeral:_0x551dca}of V)for(;_0x396b7b>=_0x148784;)_0x427bd6+=_0x551dca,_0x396b7b-=_0x148784;return _0x11f09b?_0x427bd6:_0x427bd6[_0x53e8ce(0xd1)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x56c32d,ButtonView as _0x28c378,ContextualBalloon as _0x12d776,createDropdown as _0x3733f8}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x62cb19}from'ckeditor5/src/widget.js';import{Plugin as _0x2edbe1}from'ckeditor5/src/core.js';import{IconFootnote as _0x3b5103,IconListStyleDecimal as _0x5ea831,IconListStyleDecimalLeadingZero as _0x862e84,IconListStyleLowerLatin as _0x341a11,IconListStyleLowerRoman as _0x53f82c,IconListStyleUpperLatin as _0x435abc,IconListStyleUpperRoman as _0x1f03d1}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x547a66}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4ba592}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2edbe1{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x12d776,_0x62cb19];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5efc92}=this,{componentFactory:_0x10d82d}=_0x5efc92['ui'];_0x5efc92['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x10d82d['add']('footnotesStyle',function(_0x135d4b){return _0x4989b0=>{const {t:t}=_0x4989b0,_0x14e66c=_0x135d4b['commands']['get']('footnotesStyle'),_0xc7e5c=_0x3733f8(_0x4989b0),{buttonView:_0x2a86d4}=_0xc7e5c;return _0xc7e5c['class']='ck-footnotes-styles-dropdown',_0xc7e5c['bind']('isEnabled')['to'](_0x14e66c,'isEnabled'),_0x2a86d4['set']({'label':t('Footnotes\x20style'),'icon':_0x3b5103,'tooltip':!0x0}),_0xc7e5c['once']('change:isOpen',()=>{const _0x5e95d7=function({editor:_0x59c630,dropdownView:_0x3f461a}){const {t:t}=_0x59c630['locale'],_0x4bc73a=t('Footnotes\x20definitions\x20styles'),_0x1f4a0b=function(_0x37214b){const t=_0x37214b['locale']['t'],_0x2d0385=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5ea831},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x862e84},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x53f82c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1f03d1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x341a11},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x435abc}];return _0x2d0385['map'](function(_0x41b77c){const _0x22acaf=_0x41b77c['locale'];return({label:_0x138684,icon:_0x51ff9c,tooltip:_0x371563,style:_0x5e7540})=>{const _0x3294cc=_0x41b77c['commands']['get']('footnotesStyle'),_0x135012=new _0x28c378(_0x22acaf);return _0x135012['set']({'label':_0x138684,'icon':_0x51ff9c,'tooltip':_0x371563}),_0x135012['bind']('isOn')['to'](_0x3294cc,'value',_0x4ea841=>_0x4ea841===_0x5e7540),_0x135012['bind']('isEnabled')['to'](_0x3294cc,'isEnabled'),_0x135012['on']('execute',()=>{_0x41b77c['execute']('footnotesStyle',{'value':_0x5e7540}),_0x41b77c['editing']['view']['focus']();}),_0x135012;};}(_0x37214b));}(_0x59c630),_0x4d04c9=new _0x547a66(_0x59c630['locale'],{'styleGridAriaLabel':_0x4bc73a,'styleButtonViews':_0x1f4a0b});return _0x4d04c9['delegate']('execute')['to'](_0x3f461a),_0x4d04c9['on']('footnotesListStart',(_0x388d26,_0x5d1521)=>{_0x59c630['execute']('footnotesStart',{'value':_0x5d1521['startIndex']});}),_0x4d04c9;}({'editor':_0x135d4b,'dropdownView':_0xc7e5c});_0xc7e5c['panelView']['children']['add'](_0x5e95d7);}),_0xc7e5c;};}(_0x5efc92));}['afterInit'](){const {editor:_0xe4ea54}=this,{t:t}=_0xe4ea54['locale'],_0x3ff65a=_0xe4ea54['plugins']['get'](_0x62cb19),{defaultPositions:_0x27121c}=_0x56c32d;_0x3ff65a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xe4ea54['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x147bae=>{let _0x240b1b=_0x147bae['getFirstPosition']()?.['parent'];return _0x240b1b?.['is']('$text')&&(_0x240b1b=_0x240b1b['parent']),_0x240b1b?.['is']('element')?_0x240b1b['findAncestor'](_0x4ba592):null;},'positions':[_0x27121c['southArrowNorth'],_0x27121c['southArrowNorthMiddleWest'],_0x27121c['southArrowNorthMiddleEast'],_0x27121c['southArrowNorthWest'],_0x27121c['southArrowNorthEast'],_0x27121c['northArrowSouth'],_0x27121c['northArrowSouthMiddleWest'],_0x27121c['northArrowSouthMiddleEast'],_0x27121c['northArrowSouthWest'],_0x27121c['northArrowSouthEast'],_0x27121c['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x5b0db7,View as _0x322100,ViewCollection as _0x1d41d3,FocusCycler as _0x1a668b,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 _0x322100{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1d41d3();['focusCycler'];constructor(_0x57a86a,{styleButtonViews:_0x24781d,styleGridAriaLabel:_0x28dd88}){super(_0x57a86a),(this['focusCycler']=new _0x1a668b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x24781d,_0x28dd88),[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 _0x215c0e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x215c0e['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 _0x4bf6f3=_0x14a358=>_0x14a358['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4bf6f3),this['keystrokes']['set']('arrowleft',_0x4bf6f3),this['keystrokes']['set']('arrowup',_0x4bf6f3),this['keystrokes']['set']('arrowdown',_0x4bf6f3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4188a8,_0x23ce9e){const _0x5bd7de=new _0x322100(this['locale']);return _0x5bd7de['children']=_0x5bd7de['createCollection'](),_0x5bd7de['children']['addMany'](_0x4188a8),_0x5bd7de['setTemplate']({'tag':'div','attributes':{'aria-label':_0x23ce9e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5bd7de['children']}),_0x5bd7de['children']['delegate']('execute')['to'](this),_0x5bd7de['focus']=function(){for(const _0x3799c5 of this['children'])if(_0x3799c5 instanceof _0x5b0db7&&_0x3799c5['isOn'])return void _0x3799c5['focus']();this['children']['first']['focus']();},_0x5bd7de['focusTracker']=new ot(),_0x5bd7de['keystrokes']=new rt(),_0x5bd7de['render'](),_0x5bd7de['keystrokes']['listenTo'](_0x5bd7de['element']),this['children']['add'](_0x5bd7de),_0x5bd7de;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1245d1=this['_createStartIndexPropertyView'](),_0x1859d3=[_0x1245d1],_0x3f7b1b=new st(this['locale'],_0x1859d3);return _0x3f7b1b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3f7b1b['buttonView']['bind']('isEnabled')['toMany'](_0x1859d3,'isEnabled',(..._0x44b40d)=>_0x44b40d['some'](_0x2dc408=>_0x2dc408)),_0x3f7b1b['buttonView']['on']('change:isEnabled',(_0x5ae244,_0x7ce887,_0x499a92)=>{_0x499a92||(_0x3f7b1b['isCollapsed']=!0x0);}),this['children']['add'](_0x3f7b1b),[_0x1245d1,_0x3f7b1b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x9215ed=new it(this['locale'],et);return _0x9215ed['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x9215ed['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x9215ed['fieldView']['on']('input',()=>{const _0x16a4bd=_0x9215ed['fieldView']['element'],_0x7c717d=_0x16a4bd['valueAsNumber'];Number['isNaN'](_0x7c717d)?_0x9215ed['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x16a4bd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x7c717d}):_0x9215ed['errorText']=t(_0x7c717d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x9215ed;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x394696=_0x1b4d;(function(_0xa4ee83,_0x42ce15){var _0x1b7e16=_0x1b4d,_0xe466dc=_0xa4ee83();while(!![]){try{var _0x41a862=parseInt(_0x1b7e16(0x1bd))/0x1*(-parseInt(_0x1b7e16(0x1c5))/0x2)+parseInt(_0x1b7e16(0x1be))/0x3*(-parseInt(_0x1b7e16(0x1b5))/0x4)+parseInt(_0x1b7e16(0x1c4))/0x5*(-parseInt(_0x1b7e16(0x1b7))/0x6)+parseInt(_0x1b7e16(0x1b8))/0x7+parseInt(_0x1b7e16(0x1bc))/0x8*(parseInt(_0x1b7e16(0x1b6))/0x9)+parseInt(_0x1b7e16(0x1bf))/0xa*(-parseInt(_0x1b7e16(0x1c0))/0xb)+-parseInt(_0x1b7e16(0x1b4))/0xc*(-parseInt(_0x1b7e16(0x1c1))/0xd);if(_0x41a862===_0x42ce15)break;else _0xe466dc['push'](_0xe466dc['shift']());}catch(_0x405ad2){_0xe466dc['push'](_0xe466dc['shift']());}}}(_0x251f,0xe6278));function _0x251f(){var _0x462592=['4505501xAcBpy','pluginName','FootnotesProperties','isPremiumPlugin','24oGvWaV','5249flDJwG','14907hbiGkJ','13610PUkrYh','9559uUnxCv','78pJRscy','isOfficialPlugin','requires','806570NIgJWC','658RJxSzc','4705212lkCnTd','232TXmssO','5368653epPuMj','24hlMBUb'];_0x251f=function(){return _0x462592;};return _0x251f();}import{Plugin as _0x2c0f60}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x551998}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1b4d(_0x299b0c,_0x12153f){var _0x251fbe=_0x251f();return _0x1b4d=function(_0x1b4daf,_0x4d5f11){_0x1b4daf=_0x1b4daf-0x1b4;var _0x385601=_0x251fbe[_0x1b4daf];return _0x385601;},_0x1b4d(_0x299b0c,_0x12153f);}import{FootnotesPropertiesUI as _0x3e22ac}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2c0f60{static get[_0x394696(0x1b9)](){var _0x40887f=_0x394696;return _0x40887f(0x1ba);}static get[_0x394696(0x1c3)](){return[_0x551998,_0x3e22ac];}static get[_0x394696(0x1c2)](){return!0x0;}static get[_0x394696(0x1bb)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x264e09=_0x54c2;(function(_0x583d51,_0x4cb8a4){const _0x23ea0d=_0x54c2,_0x245f65=_0x583d51();while(!![]){try{const _0x372840=parseInt(_0x23ea0d(0x187))/0x1+parseInt(_0x23ea0d(0x16e))/0x2+-parseInt(_0x23ea0d(0x16c))/0x3*(-parseInt(_0x23ea0d(0x162))/0x4)+-parseInt(_0x23ea0d(0x196))/0x5*(parseInt(_0x23ea0d(0x13d))/0x6)+-parseInt(_0x23ea0d(0x157))/0x7*(parseInt(_0x23ea0d(0x19e))/0x8)+parseInt(_0x23ea0d(0x13f))/0x9*(parseInt(_0x23ea0d(0x18e))/0xa)+-parseInt(_0x23ea0d(0x185))/0xb;if(_0x372840===_0x4cb8a4)break;else _0x245f65['push'](_0x245f65['shift']());}catch(_0x1291bb){_0x245f65['push'](_0x245f65['shift']());}}}(_0x5f34,0xa40a9));import{Plugin as _0x29462a}from'ckeditor5/src/core.js';function _0x5f34(){const _0x29d031=['footnotesDefinitions','_handleFootnoteReferencesChanges','_updateFootnotesCounters','move','_handleFootnotesDefinitionsObjectSync','10GKlxZx','length','reset','_ensureFootnotesDefinitionsContainerExists','enqueueChange','from','pluginName','after','321176wkzKYB','isOfficialPlugin','_handleRemoveFootnoteReferenceById','getFootnote','createRangeOn','2056908qkqYaE','_handleFootnotesDefinitionsObjectChanges','12002229YruRbw','definition','init','createElement','getFootnotes','parent','add','_footnoteRefsTracker','_footnotes','footnoteId','_updateFootnoteRefCounter','document','getFootnotesDefinitionsObjectElement','_footnoteDefsTracker','_insertEmptyFootnotesDefinitionsContainer','footnoteRef','before','has','unshift','getChildren','end','footnotes.multiBlock','splice','setAttribute','161hJAKFO','_footnoteDefsContainerTracker','footnoteInlineContent','indexOf','getFootnotesFormatter','getChanges','$graveyard','push','editor','setFootnoteFormatter','_footnoteFormatter','1823572rphjKU','footnoteCounter','listenTo','append','createPositionBefore','map','insert','differ','config','rootName','3BmuXEU','findIndex','1660868CpIIJV','root','some','min','paragraph','remove','isPremiumPlugin','getRootNames','getAttribute','find','childCount','_footnotesDefinitions','get','_sortFootnoteDefinitions','low','FootnotesTracker','_handleMovedFootnoteReference','_handleFootnoteDefinitionsChanges','isEqual','registerPostFixer','change:data','_ensureFootnotesReferencesHaveProperOrder','createRangeIn','17521878BLRGXu','model','1253920GMscTh','high','createPositionAt','set','compareWith','footnoteDefinition','_handleInsertedFootnoteReference','10ZFZvNR','reference','singleton'];_0x5f34=function(){return _0x29d031;};return _0x5f34();}import{ModelElementTracker as _0x9b9285}from'./modelelementtracker.js';export class FootnotesTracker extends _0x29462a{[_0x264e09(0x147)]=[];[_0x264e09(0x179)]=null;[_0x264e09(0x161)]=null;[_0x264e09(0x158)];[_0x264e09(0x146)];[_0x264e09(0x14c)];static get[_0x264e09(0x19c)](){const _0x3fab5a=_0x264e09;return _0x3fab5a(0x17d);}static get[_0x264e09(0x19f)](){return!0x0;}static get[_0x264e09(0x174)](){return!0x0;}constructor(_0x42a23b){const _0x15d6f1=_0x264e09;super(_0x42a23b),this[_0x15d6f1(0x158)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x191),'getElementKey':()=>_0x15d6f1(0x190)}),this[_0x15d6f1(0x146)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x14e),'getElementKey':_0x2c576e=>_0x2c576e[_0x15d6f1(0x176)](_0x15d6f1(0x148))}),this[_0x15d6f1(0x14c)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x18c),'getElementKey':_0x48980f=>_0x48980f[_0x15d6f1(0x176)](_0x15d6f1(0x148))});}[_0x264e09(0x141)](){const _0x2722bc=_0x264e09,{editor:_0x5cb12b}=this,{model:_0xb7de37,data:_0x225372}=_0x5cb12b;_0xb7de37[_0x2722bc(0x14a)][_0x2722bc(0x181)](_0x9cc25f=>{const _0x5429a5=_0x2722bc,_0x357545=_0xb7de37[_0x5429a5(0x14a)][_0x5429a5(0x169)][_0x5429a5(0x15c)]();let _0x2814a3=!0x1;return this[_0x5429a5(0x13e)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x17f)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x192)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x183)](_0x9cc25f)&&(_0x2814a3=!0x0),this[_0x5429a5(0x195)](_0x9cc25f)&&(_0x2814a3=!0x0),this[_0x5429a5(0x17b)](_0x9cc25f)&&(_0x2814a3=!0x0),_0x2814a3;}),this[_0x2722bc(0x164)](_0xb7de37[_0x2722bc(0x14a)],_0x2722bc(0x182),()=>{const _0x3dfc25=_0x2722bc;_0xb7de37[_0x3dfc25(0x19a)]({'isUndoable':!0x1},_0x480f46=>{const _0x24562b=_0x3dfc25;this[_0x24562b(0x199)](_0x480f46);});},{'priority':_0x2722bc(0x17c)}),this[_0x2722bc(0x164)](_0x225372,_0x2722bc(0x18a),()=>{const _0x519705=_0x2722bc;this[_0x519705(0x147)]=[],this[_0x519705(0x158)][_0x519705(0x198)](),this[_0x519705(0x146)][_0x519705(0x198)](),this[_0x519705(0x14c)][_0x519705(0x198)]();},{'priority':_0x2722bc(0x188)});}[_0x264e09(0x14b)](){const _0x700feb=_0x264e09;return this[_0x700feb(0x179)];}[_0x264e09(0x1a1)](_0x53a943){const _0x2d6743=_0x264e09;return this[_0x2d6743(0x147)][_0x2d6743(0x177)](_0x1cdb01=>_0x1cdb01['id']===_0x53a943)||null;}[_0x264e09(0x143)](){const _0x42bd58=_0x264e09;return Array[_0x42bd58(0x19b)](this[_0x42bd58(0x147)]);}[_0x264e09(0x15b)](){const _0x46cb37=_0x264e09;return this[_0x46cb37(0x161)];}[_0x264e09(0x160)](_0x5e54bd){const _0x5f42a3=_0x264e09;this[_0x5f42a3(0x161)]=_0x5e54bd;}[_0x264e09(0x193)](_0x490e23,_0x3f862f=0x0){const _0x114e3a=_0x264e09;let _0xdaad2f=!0x1;for(let _0x589fb0=_0x3f862f;_0x589fb0<this[_0x114e3a(0x147)][_0x114e3a(0x197)];_0x589fb0++)this[_0x114e3a(0x149)](_0x490e23,_0x589fb0)&&(_0xdaad2f=!0x0);return _0xdaad2f;}[_0x264e09(0x14d)](_0x435b38,_0x7ced49){const _0x7bc0d1=_0x264e09,_0x29529f=_0x435b38[_0x7bc0d1(0x142)](_0x7bc0d1(0x191),{});return _0x435b38[_0x7bc0d1(0x165)](_0x29529f,_0x7ced49),this[_0x7bc0d1(0x179)]=_0x29529f,_0x29529f;}[_0x264e09(0x199)](_0x5963db){const _0x276322=_0x264e09;if(!this[_0x276322(0x147)][_0x276322(0x197)]||this[_0x276322(0x179)])return;const _0x4699ee=this[_0x276322(0x147)][0x0][_0x276322(0x18f)][_0x276322(0x16f)],_0x468914=this[_0x276322(0x14d)](_0x5963db,_0x4699ee);for(const _0x3ac4db of this[_0x276322(0x147)])_0x3ac4db[_0x276322(0x140)][_0x276322(0x144)]||_0x5963db[_0x276322(0x168)](_0x3ac4db[_0x276322(0x140)],_0x468914,_0x276322(0x153));this[_0x276322(0x193)](_0x5963db);}[_0x264e09(0x13e)](_0x3d3137,_0x41ad52){const _0x2dca7b=_0x264e09;let _0x35295b=!0x1;const {inserted:_0x287edc,removed:_0xce9748,moved:_0x4a4d5d}=this[_0x2dca7b(0x158)][_0x2dca7b(0x15c)](_0x41ad52);if(_0x4a4d5d[_0x2dca7b(0x197)]&&(this[_0x2dca7b(0x179)]=_0x4a4d5d[0x0]),_0x287edc[_0x2dca7b(0x197)]){if(_0x287edc[_0x2dca7b(0x197)]>0x1||this[_0x2dca7b(0x179)]&&_0x287edc[_0x2dca7b(0x170)](_0x539c4c=>_0x539c4c!==this[_0x2dca7b(0x179)])){const _0x6f7dd3=_0x3d3137[_0x2dca7b(0x142)](_0x2dca7b(0x191),{}),_0x190994=[];this[_0x2dca7b(0x179)]&&_0x190994[_0x2dca7b(0x15e)](this[_0x2dca7b(0x179)]),_0x190994[_0x2dca7b(0x15e)](..._0x287edc),_0x3d3137[_0x2dca7b(0x168)](_0x6f7dd3,_0x190994[0x0],_0x2dca7b(0x14f));for(const _0x1809a1 of _0x190994)_0x3d3137[_0x2dca7b(0x194)](_0x3d3137[_0x2dca7b(0x184)](_0x1809a1),_0x3d3137[_0x2dca7b(0x189)](_0x6f7dd3,_0x2dca7b(0x153))),_0x3d3137[_0x2dca7b(0x173)](_0x1809a1);this[_0x2dca7b(0x179)]=_0x6f7dd3,this[_0x2dca7b(0x193)](_0x3d3137),_0x35295b=!0x0;}else this[_0x2dca7b(0x179)]=_0x287edc[0x0];}if(_0xce9748[_0x2dca7b(0x197)]&&_0x2dca7b(0x15d)===this[_0x2dca7b(0x179)]?.[_0x2dca7b(0x16f)][_0x2dca7b(0x16b)]){for(const _0x1336af of this[_0x2dca7b(0x147)])_0x3d3137[_0x2dca7b(0x173)](_0x1336af[_0x2dca7b(0x18f)]),_0x35295b=!0x0;this[_0x2dca7b(0x147)]=[],this[_0x2dca7b(0x179)]=null;}return _0x35295b;}[_0x264e09(0x17f)](_0x2eeafa,_0x70c608){const _0x4441aa=_0x264e09;let _0xb65b5b=!0x1;const _0x50ae33=this[_0x4441aa(0x15f)][_0x4441aa(0x16a)][_0x4441aa(0x17a)](_0x4441aa(0x154)),{inserted:_0x2129d2,moved:_0x59b77c}=this[_0x4441aa(0x14c)][_0x4441aa(0x15c)](_0x70c608);for(const _0x4642fc of[..._0x59b77c,..._0x2129d2]){const _0x412e10=_0x4642fc[_0x4441aa(0x176)](_0x4441aa(0x148)),_0x1b6866=this[_0x4441aa(0x1a1)](_0x412e10);_0x1b6866&&(_0x1b6866[_0x4441aa(0x140)]=_0x4642fc),_(_0x2eeafa,_0x50ae33,_0x4642fc)&&(_0xb65b5b=!0x0);}return _0xb65b5b;}[_0x264e09(0x192)](_0x53791d,_0x1a6a07){const _0x100fd5=_0x264e09;let _0x340483=!0x1;const {removed:_0x410aa6,inserted:_0x3ca1c0,moved:_0x20d429}=this[_0x100fd5(0x146)][_0x100fd5(0x15c)](_0x1a6a07);for(const _0x34caff of _0x410aa6)this[_0x100fd5(0x1a0)](_0x53791d,_0x34caff)&&(_0x340483=!0x0);for(const _0x3a7981 of _0x3ca1c0)this[_0x100fd5(0x18d)](_0x53791d,_0x3a7981)&&(_0x340483=!0x0);for(const _0x2780bf of _0x20d429)this[_0x100fd5(0x17e)](_0x53791d,_0x2780bf)&&(_0x340483=!0x0);return _0x340483;}[_0x264e09(0x195)](_0x51f693){const _0x2d560a=_0x264e09;if(!this[_0x2d560a(0x179)])return!0x1;let _0x4890fa=!0x1;if(this[_0x2d560a(0x179)][_0x2d560a(0x178)]!==this[_0x2d560a(0x147)][_0x2d560a(0x197)]){const _0x16d377=[];for(const _0x37b8a7 of this[_0x2d560a(0x179)][_0x2d560a(0x152)]()){const _0x28bd15=_0x37b8a7[_0x2d560a(0x176)](_0x2d560a(0x148));this[_0x2d560a(0x1a1)](_0x28bd15)||(_0x16d377[_0x2d560a(0x151)](_0x37b8a7),_0x4890fa=!0x0);}for(const _0x2181ae of _0x16d377)_0x51f693[_0x2d560a(0x173)](_0x2181ae);}const _0x4c5852=new Set(),_0x40dc13=[];for(const _0x575b1a of this[_0x2d560a(0x179)][_0x2d560a(0x152)]()){const _0x9983ba=_0x575b1a[_0x2d560a(0x176)](_0x2d560a(0x148));_0x4c5852[_0x2d560a(0x150)](_0x9983ba)?(_0x40dc13[_0x2d560a(0x151)](_0x575b1a),_0x4890fa=!0x0):_0x4c5852[_0x2d560a(0x145)](_0x9983ba);}for(const _0x8d139a of _0x40dc13)_0x51f693[_0x2d560a(0x173)](_0x8d139a);return this[_0x2d560a(0x179)][_0x2d560a(0x178)]||(_0x51f693[_0x2d560a(0x173)](this[_0x2d560a(0x179)]),this[_0x2d560a(0x179)]=null,_0x4890fa=!0x0),_0x4890fa;}[_0x264e09(0x18d)](_0xa55583,_0x54fe37){const _0x39c3e1=_0x264e09;if(this[_0x39c3e1(0x147)][_0x39c3e1(0x177)](_0x581b9c=>_0x581b9c[_0x39c3e1(0x18f)]===_0x54fe37))return!0x1;let _0x184605=!0x1;const _0x42ac25=_0x54fe37[_0x39c3e1(0x176)](_0x39c3e1(0x148)),_0xc12529=this[_0x39c3e1(0x147)][_0x39c3e1(0x16d)](_0x394979=>_0x394979['id']===_0x42ac25);-0x1!==_0xc12529&&(_0xa55583[_0x39c3e1(0x173)](this[_0x39c3e1(0x147)][_0xc12529][_0x39c3e1(0x18f)]),this[_0x39c3e1(0x147)][_0x39c3e1(0x155)](_0xc12529,0x1),_0x184605=!0x0);let _0x1406bf=this[_0x39c3e1(0x179)]?function(_0x1c04de,_0x1d9095){const _0x2294ef=_0x39c3e1;for(const _0x5172c1 of _0x1c04de[_0x2294ef(0x152)]())if(_0x5172c1[_0x2294ef(0x176)](_0x2294ef(0x148))===_0x1d9095)return _0x5172c1;return null;}(this[_0x39c3e1(0x179)],_0x42ac25):null;_0x1406bf||(_0x1406bf=_0xa55583[_0x39c3e1(0x142)](_0x39c3e1(0x18c),{'footnoteId':_0x42ac25}),this[_0x39c3e1(0x179)]&&(_0xa55583[_0x39c3e1(0x168)](_0x1406bf,this[_0x39c3e1(0x179)],_0x39c3e1(0x153)),_0x184605=!0x0));const _0x59fba0={'id':_0x42ac25,'reference':_0x54fe37,'definition':_0x1406bf},_0x555390=I(this[_0x39c3e1(0x15f)][_0x39c3e1(0x186)],this[_0x39c3e1(0x147)],_0x54fe37);this[_0x39c3e1(0x147)][_0x39c3e1(0x155)](_0x555390,0x0,_0x59fba0);let _0x41782c=_0x555390;return-0x1!==_0xc12529&&(_0x41782c=Math[_0x39c3e1(0x171)](_0x555390,_0xc12529)),this[_0x39c3e1(0x193)](_0xa55583,_0x41782c)&&(_0x184605=!0x0),_0x184605;}[_0x264e09(0x1a0)](_0x5d92dc,_0x81ca94){const _0x28265a=_0x264e09,_0x4c2491=this[_0x28265a(0x147)][_0x28265a(0x16d)](_0x2146c2=>_0x2146c2['id']===_0x81ca94);if(-0x1===_0x4c2491)return!0x1;let _0x48a559=!0x1;const _0x2cb88e=this[_0x28265a(0x147)][_0x4c2491];return _0x28265a(0x15d)!==_0x2cb88e[_0x28265a(0x140)][_0x28265a(0x16f)][_0x28265a(0x16b)]&&(_0x5d92dc[_0x28265a(0x173)](_0x2cb88e[_0x28265a(0x140)]),_0x48a559=!0x0),this[_0x28265a(0x147)][_0x28265a(0x155)](_0x4c2491,0x1),this[_0x28265a(0x193)](_0x5d92dc,_0x4c2491)&&(_0x48a559=!0x0),_0x48a559;}[_0x264e09(0x17e)](_0x5ea9a0,_0x5a4085){const _0x28d3ca=_0x264e09,_0x1ae6d6=_0x5a4085[_0x28d3ca(0x176)](_0x28d3ca(0x148)),_0x45f295=this[_0x28d3ca(0x147)][_0x28d3ca(0x16d)](_0xc585a8=>_0xc585a8['id']===_0x1ae6d6),_0x51c5f6=this[_0x28d3ca(0x147)][_0x45f295];let _0x218188=!0x1;_0x51c5f6[_0x28d3ca(0x18f)]=_0x5a4085,this[_0x28d3ca(0x147)][_0x28d3ca(0x155)](_0x45f295,0x1);const _0x4232fd=I(this[_0x28d3ca(0x15f)][_0x28d3ca(0x186)],this[_0x28d3ca(0x147)],_0x5a4085);return this[_0x28d3ca(0x147)][_0x28d3ca(0x155)](_0x4232fd,0x0,_0x51c5f6),this[_0x28d3ca(0x193)](_0x5ea9a0,Math[_0x28d3ca(0x171)](_0x45f295,_0x4232fd))&&(_0x218188=!0x0),_0x218188;}[_0x264e09(0x149)](_0x33b0d5,_0x5d06a8){const _0x3cd1d5=_0x264e09;if(!this[_0x3cd1d5(0x179)])return!0x1;const _0x3df80d=this[_0x3cd1d5(0x147)][_0x5d06a8];let _0x6c1311;return _0x6c1311=this[_0x3cd1d5(0x161)]?this[_0x3cd1d5(0x161)]({'footnote':_0x3df80d,'container':this[_0x3cd1d5(0x179)],'digits':String(this[_0x3cd1d5(0x147)][_0x3cd1d5(0x197)])[_0x3cd1d5(0x197)],'value':_0x5d06a8+0x1}):String(_0x5d06a8+0x1),_0x3df80d[_0x3cd1d5(0x18f)][_0x3cd1d5(0x176)](_0x3cd1d5(0x163))!=_0x6c1311&&(_0x33b0d5[_0x3cd1d5(0x156)](_0x3cd1d5(0x163),_0x6c1311,_0x3df80d[_0x3cd1d5(0x18f)]),!0x0);}[_0x264e09(0x17b)](_0x51afe6){const _0x1ad807=_0x264e09;if(!this[_0x1ad807(0x179)]||this[_0x1ad807(0x147)][_0x1ad807(0x197)]<0x2)return!0x1;if(function(_0x2f211b,_0x5b6066){const _0x51f82e=_0x1ad807;if(_0x2f211b[_0x51f82e(0x197)]!==_0x5b6066[_0x51f82e(0x197)])return!0x1;for(let _0x14a3b1=0x0;_0x14a3b1<_0x2f211b[_0x51f82e(0x197)];_0x14a3b1++)if(_0x2f211b[_0x14a3b1]!==_0x5b6066[_0x14a3b1])return!0x1;return!0x0;}(this[_0x1ad807(0x147)][_0x1ad807(0x167)](_0x20cd96=>_0x20cd96['id']),Array[_0x1ad807(0x19b)](this[_0x1ad807(0x179)][_0x1ad807(0x152)]())[_0x1ad807(0x167)](_0x2c6ebb=>_0x2c6ebb[_0x1ad807(0x176)](_0x1ad807(0x148)))))return!0x1;let _0x38ae9b=!0x1;for(let _0x50cf13=0x0;_0x50cf13<this[_0x1ad807(0x147)][_0x1ad807(0x197)];_0x50cf13++){const _0x3da9fd=this[_0x1ad807(0x147)][_0x50cf13],_0x32c14c=_0x51afe6[_0x1ad807(0x166)](_0x3da9fd[_0x1ad807(0x140)]),_0x2057a8=_0x51afe6[_0x1ad807(0x189)](this[_0x1ad807(0x179)],_0x50cf13);_0x32c14c[_0x1ad807(0x180)](_0x2057a8)||(_0x51afe6[_0x1ad807(0x194)](_0x51afe6[_0x1ad807(0x1a2)](_0x3da9fd[_0x1ad807(0x140)]),_0x2057a8),_0x38ae9b=!0x0);}return _0x38ae9b;}[_0x264e09(0x183)](_0x387ca6){const _0x116ba2=_0x264e09;if(!this[_0x116ba2(0x147)][_0x116ba2(0x197)])return!0x1;const {model:_0x1c869b}=this[_0x116ba2(0x15f)];let _0x4542f7=!0x1;for(let _0x368231=0x0;_0x368231<this[_0x116ba2(0x147)][_0x116ba2(0x197)]-0x1;_0x368231++){const _0x4cf80f=this[_0x116ba2(0x147)][_0x368231],_0x29edff=this[_0x116ba2(0x147)][_0x368231+0x1],_0x487441=_0x1c869b[_0x116ba2(0x166)](_0x4cf80f[_0x116ba2(0x18f)]),_0x364dda=_0x1c869b[_0x116ba2(0x166)](_0x29edff[_0x116ba2(0x18f)]);_0x116ba2(0x19d)===_0x487441[_0x116ba2(0x18b)](_0x364dda)&&(this[_0x116ba2(0x17e)](_0x387ca6,_0x4cf80f[_0x116ba2(0x18f)]),_0x368231=-0x1,_0x4542f7=!0x0);}return _0x4542f7;}}function _(_0x22844f,_0x2f2a83,_0x170f72){const _0x23f4c5=_0x264e09;if(_0x170f72[_0x23f4c5(0x178)])return!0x1;const _0x5ac7e0=_0x2f2a83?_0x23f4c5(0x172):_0x23f4c5(0x159);return _0x22844f[_0x23f4c5(0x168)](_0x22844f[_0x23f4c5(0x142)](_0x5ac7e0),_0x170f72),!0x0;}function _0x54c2(_0x189b6f,_0x5f2d16){const _0x5f3401=_0x5f34();return _0x54c2=function(_0x54c250,_0x4836be){_0x54c250=_0x54c250-0x13d;let _0x40c01e=_0x5f3401[_0x54c250];return _0x40c01e;},_0x54c2(_0x189b6f,_0x5f2d16);}function I(_0x538f68,_0xb348ac,_0xefdcac){const _0x27fc2f=_0x264e09;if(0x0===_0xb348ac[_0x27fc2f(0x197)])return 0x0;const _0x52fc85=_0x538f68[_0x27fc2f(0x166)](_0xefdcac);for(let _0x1a3198=0x0;_0x1a3198<_0xb348ac[_0x27fc2f(0x197)];_0x1a3198++){const _0xde41ed=_0xb348ac[_0x1a3198],_0x4a134a=_0x538f68[_0x27fc2f(0x166)](_0xde41ed[_0x27fc2f(0x18f)]);if(_0x27fc2f(0x14f)===_0x52fc85[_0x27fc2f(0x18b)](_0x4a134a))return _0x1a3198;}const _0x6cb1a3=_0xefdcac[_0x27fc2f(0x16f)];let _0x580035=-0x1;for(let _0x226fe8=_0xb348ac[_0x27fc2f(0x197)]-0x1;_0x226fe8>=0x0;_0x226fe8--)if(_0xb348ac[_0x226fe8][_0x27fc2f(0x18f)][_0x27fc2f(0x16f)]===_0x6cb1a3){_0x580035=_0x226fe8;break;}if(-0x1!==_0x580035)return _0x580035+0x1;const _0x2c3ea4=_0x538f68[_0x27fc2f(0x14a)][_0x27fc2f(0x175)](),_0x214518=_0x2c3ea4[_0x27fc2f(0x15a)](_0x6cb1a3[_0x27fc2f(0x16b)]),_0x5c515e=_0x2c3ea4[_0x214518+0x1];if(_0x5c515e){for(let _0x42b358=0x0;_0x42b358<_0xb348ac[_0x27fc2f(0x197)];_0x42b358++)if(_0xb348ac[_0x42b358][_0x27fc2f(0x18f)][_0x27fc2f(0x16f)][_0x27fc2f(0x16b)]===_0x5c515e)return _0x42b358;}return _0xb348ac[_0x27fc2f(0x197)];}
|
|
23
|
+
const _0x324bc3=_0x2067;(function(_0x17e7be,_0x1e3ee6){const _0x4a26a=_0x2067,_0x4f75c5=_0x17e7be();while(!![]){try{const _0x86d996=-parseInt(_0x4a26a(0x183))/0x1+-parseInt(_0x4a26a(0x187))/0x2*(-parseInt(_0x4a26a(0x15f))/0x3)+parseInt(_0x4a26a(0x16a))/0x4*(-parseInt(_0x4a26a(0x177))/0x5)+-parseInt(_0x4a26a(0x16f))/0x6*(parseInt(_0x4a26a(0x195))/0x7)+-parseInt(_0x4a26a(0x198))/0x8+-parseInt(_0x4a26a(0x15b))/0x9*(-parseInt(_0x4a26a(0x175))/0xa)+parseInt(_0x4a26a(0x179))/0xb;if(_0x86d996===_0x1e3ee6)break;else _0x4f75c5['push'](_0x4f75c5['shift']());}catch(_0x1d9788){_0x4f75c5['push'](_0x4f75c5['shift']());}}}(_0x1064,0x79346));function _0x1064(){const _0x5e8fcd=['init','setFootnoteFormatter','remove','22YhaBOF','getFootnotesDefinitionsObjectElement','createElement','_ensureFootnotesReferencesHaveProperOrder','_updateFootnoteRefCounter','_sortFootnoteDefinitions','min','createRangeOn','_footnoteDefsContainerTracker','add','getChildren','indexOf','registerPostFixer','_handleFootnoteDefinitionsChanges','77xMDuhs','compareWith','enqueueChange','6502528HNVEFl','differ','rootName','from','_updateFootnotesCounters','move','footnoteCounter','footnoteId','_handleFootnotesDefinitionsObjectSync','high','$graveyard','low','footnotesDefinitions','pluginName','isOfficialPlugin','has','append','map','_handleFootnotesDefinitionsObjectChanges','childCount','_ensureFootnotesDefinitionsContainerExists','editor','footnoteRef','find','getAttribute','footnoteInlineContent','splice','definition','paragraph','parent','_handleMovedFootnoteReference','getChanges','unshift','listenTo','isPremiumPlugin','getFootnotesFormatter','length','singleton','setAttribute','model','_footnoteRefsTracker','99icGCil','_footnotes','FootnotesTracker','change:data','168495DMtoXo','_footnotesDefinitions','reset','_footnoteDefsTracker','isEqual','config','some','reference','document','push','_handleRemoveFootnoteReferenceById','4CtxCza','insert','getRootNames','createRangeIn','footnotes.multiBlock','197148VPUSYD','end','root','_footnoteFormatter','after','_handleFootnoteReferencesChanges','671170anbjdx','footnoteDefinition','1496265uvPwyt','findIndex','12221979VFBuNQ','createPositionAt','_handleInsertedFootnoteReference','before','set','getFootnote','get','_insertEmptyFootnotesDefinitionsContainer','createPositionBefore','getFootnotes','497230DeiNMB'];_0x1064=function(){return _0x5e8fcd;};return _0x1064();}function _0x2067(_0x2ad522,_0x5b9652){const _0x1064a3=_0x1064();return _0x2067=function(_0x206715,_0x284df0){_0x206715=_0x206715-0x159;let _0x674bdc=_0x1064a3[_0x206715];return _0x674bdc;},_0x2067(_0x2ad522,_0x5b9652);}import{Plugin as _0x1886f1}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4603e5}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1886f1{[_0x324bc3(0x15c)]=[];[_0x324bc3(0x160)]=null;[_0x324bc3(0x172)]=null;[_0x324bc3(0x18f)];[_0x324bc3(0x15a)];[_0x324bc3(0x162)];static get[_0x324bc3(0x1a5)](){const _0x5555be=_0x324bc3;return _0x5555be(0x15d);}static get[_0x324bc3(0x1a6)](){return!0x0;}static get[_0x324bc3(0x1ba)](){return!0x0;}constructor(_0x7b9d){const _0x4316eb=_0x324bc3;super(_0x7b9d),this[_0x4316eb(0x18f)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x1a4),'getElementKey':()=>_0x4316eb(0x1bd)}),this[_0x4316eb(0x15a)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x1ae),'getElementKey':_0x23f568=>_0x23f568[_0x4316eb(0x1b0)](_0x4316eb(0x19f))}),this[_0x4316eb(0x162)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x176),'getElementKey':_0x3e5952=>_0x3e5952[_0x4316eb(0x1b0)](_0x4316eb(0x19f))});}[_0x324bc3(0x184)](){const _0x44db05=_0x324bc3,{editor:_0x2de031}=this,{model:_0x38317d,data:_0x1520ad}=_0x2de031;_0x38317d[_0x44db05(0x167)][_0x44db05(0x193)](_0x2f63f4=>{const _0x3d7217=_0x44db05,_0x1043f1=_0x38317d[_0x3d7217(0x167)][_0x3d7217(0x199)][_0x3d7217(0x1b7)]();let _0x1f1e64=!0x1;return this[_0x3d7217(0x1aa)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x194)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x174)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x18a)](_0x2f63f4)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x1a0)](_0x2f63f4)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x18c)](_0x2f63f4)&&(_0x1f1e64=!0x0),_0x1f1e64;}),this[_0x44db05(0x1b9)](_0x38317d[_0x44db05(0x167)],_0x44db05(0x15e),()=>{const _0x38f2b7=_0x44db05;_0x38317d[_0x38f2b7(0x197)]({'isUndoable':!0x1},_0x420b9d=>{const _0x406e41=_0x38f2b7;this[_0x406e41(0x1ac)](_0x420b9d);});},{'priority':_0x44db05(0x1a3)}),this[_0x44db05(0x1b9)](_0x1520ad,_0x44db05(0x17d),()=>{const _0x3c969b=_0x44db05;this[_0x3c969b(0x15c)]=[],this[_0x3c969b(0x18f)][_0x3c969b(0x161)](),this[_0x3c969b(0x15a)][_0x3c969b(0x161)](),this[_0x3c969b(0x162)][_0x3c969b(0x161)]();},{'priority':_0x44db05(0x1a1)});}[_0x324bc3(0x188)](){const _0xc8c502=_0x324bc3;return this[_0xc8c502(0x160)];}[_0x324bc3(0x17e)](_0x595b44){const _0x4027ee=_0x324bc3;return this[_0x4027ee(0x15c)][_0x4027ee(0x1af)](_0x530a7e=>_0x530a7e['id']===_0x595b44)||null;}[_0x324bc3(0x182)](){const _0x62085f=_0x324bc3;return Array[_0x62085f(0x19b)](this[_0x62085f(0x15c)]);}[_0x324bc3(0x1bb)](){const _0x98a4f5=_0x324bc3;return this[_0x98a4f5(0x172)];}[_0x324bc3(0x185)](_0x1f21ea){const _0x18d474=_0x324bc3;this[_0x18d474(0x172)]=_0x1f21ea;}[_0x324bc3(0x19c)](_0x457091,_0x14e97b=0x0){const _0xae473f=_0x324bc3;let _0x442433=!0x1;for(let _0x11a6a6=_0x14e97b;_0x11a6a6<this[_0xae473f(0x15c)][_0xae473f(0x1bc)];_0x11a6a6++)this[_0xae473f(0x18b)](_0x457091,_0x11a6a6)&&(_0x442433=!0x0);return _0x442433;}[_0x324bc3(0x180)](_0x55fb13,_0x16cf48){const _0x309264=_0x324bc3,_0x162e18=_0x55fb13[_0x309264(0x189)](_0x309264(0x1a4),{});return _0x55fb13[_0x309264(0x1a8)](_0x162e18,_0x16cf48),this[_0x309264(0x160)]=_0x162e18,_0x162e18;}[_0x324bc3(0x1ac)](_0x52a06c){const _0x508118=_0x324bc3;if(!this[_0x508118(0x15c)][_0x508118(0x1bc)]||this[_0x508118(0x160)])return;const _0x393f0e=this[_0x508118(0x15c)][0x0][_0x508118(0x166)][_0x508118(0x171)],_0x185004=this[_0x508118(0x180)](_0x52a06c,_0x393f0e);for(const _0x1d79d3 of this[_0x508118(0x15c)])_0x1d79d3[_0x508118(0x1b3)][_0x508118(0x1b5)]||_0x52a06c[_0x508118(0x16b)](_0x1d79d3[_0x508118(0x1b3)],_0x185004,_0x508118(0x170));this[_0x508118(0x19c)](_0x52a06c);}[_0x324bc3(0x1aa)](_0x2e132e,_0x392775){const _0x3c3e1a=_0x324bc3;let _0x456c4a=!0x1;const {inserted:_0x58d992,removed:_0x512778,moved:_0x368610}=this[_0x3c3e1a(0x18f)][_0x3c3e1a(0x1b7)](_0x392775);if(_0x368610[_0x3c3e1a(0x1bc)]&&(this[_0x3c3e1a(0x160)]=_0x368610[0x0]),_0x58d992[_0x3c3e1a(0x1bc)]){if(_0x58d992[_0x3c3e1a(0x1bc)]>0x1||this[_0x3c3e1a(0x160)]&&_0x58d992[_0x3c3e1a(0x165)](_0x29ae73=>_0x29ae73!==this[_0x3c3e1a(0x160)])){const _0x263cc0=_0x2e132e[_0x3c3e1a(0x189)](_0x3c3e1a(0x1a4),{}),_0x50814e=[];this[_0x3c3e1a(0x160)]&&_0x50814e[_0x3c3e1a(0x168)](this[_0x3c3e1a(0x160)]),_0x50814e[_0x3c3e1a(0x168)](..._0x58d992),_0x2e132e[_0x3c3e1a(0x16b)](_0x263cc0,_0x50814e[0x0],_0x3c3e1a(0x17c));for(const _0x4f923d of _0x50814e)_0x2e132e[_0x3c3e1a(0x19d)](_0x2e132e[_0x3c3e1a(0x16d)](_0x4f923d),_0x2e132e[_0x3c3e1a(0x17a)](_0x263cc0,_0x3c3e1a(0x170))),_0x2e132e[_0x3c3e1a(0x186)](_0x4f923d);this[_0x3c3e1a(0x160)]=_0x263cc0,this[_0x3c3e1a(0x19c)](_0x2e132e),_0x456c4a=!0x0;}else this[_0x3c3e1a(0x160)]=_0x58d992[0x0];}if(_0x512778[_0x3c3e1a(0x1bc)]&&_0x3c3e1a(0x1a2)===this[_0x3c3e1a(0x160)]?.[_0x3c3e1a(0x171)][_0x3c3e1a(0x19a)]){for(const _0x5857c5 of this[_0x3c3e1a(0x15c)])_0x2e132e[_0x3c3e1a(0x186)](_0x5857c5[_0x3c3e1a(0x166)]),_0x456c4a=!0x0;this[_0x3c3e1a(0x15c)]=[],this[_0x3c3e1a(0x160)]=null;}return _0x456c4a;}[_0x324bc3(0x194)](_0xba83e1,_0x3bf294){const _0x150133=_0x324bc3;let _0xdc5817=!0x1;const _0x1db92d=this[_0x150133(0x1ad)][_0x150133(0x164)][_0x150133(0x17f)](_0x150133(0x16e)),{inserted:_0x18b35,moved:_0x203170}=this[_0x150133(0x162)][_0x150133(0x1b7)](_0x3bf294);for(const _0x33d3c8 of[..._0x203170,..._0x18b35]){const _0x47a359=_0x33d3c8[_0x150133(0x1b0)](_0x150133(0x19f)),_0xde7324=this[_0x150133(0x17e)](_0x47a359);_0xde7324&&(_0xde7324[_0x150133(0x1b3)]=_0x33d3c8),_(_0xba83e1,_0x1db92d,_0x33d3c8)&&(_0xdc5817=!0x0);}return _0xdc5817;}[_0x324bc3(0x174)](_0x429ea6,_0x3f8ded){const _0x4a1e91=_0x324bc3;let _0x3db971=!0x1;const {removed:_0x352b01,inserted:_0x3fc5df,moved:_0x14b54b}=this[_0x4a1e91(0x15a)][_0x4a1e91(0x1b7)](_0x3f8ded);for(const _0x2922bd of _0x352b01)this[_0x4a1e91(0x169)](_0x429ea6,_0x2922bd)&&(_0x3db971=!0x0);for(const _0x56d51c of _0x3fc5df)this[_0x4a1e91(0x17b)](_0x429ea6,_0x56d51c)&&(_0x3db971=!0x0);for(const _0x85bf75 of _0x14b54b)this[_0x4a1e91(0x1b6)](_0x429ea6,_0x85bf75)&&(_0x3db971=!0x0);return _0x3db971;}[_0x324bc3(0x1a0)](_0xa32d78){const _0x23de73=_0x324bc3;if(!this[_0x23de73(0x160)])return!0x1;let _0x26e413=!0x1;if(this[_0x23de73(0x160)][_0x23de73(0x1ab)]!==this[_0x23de73(0x15c)][_0x23de73(0x1bc)]){const _0x38ae26=[];for(const _0x3ccad3 of this[_0x23de73(0x160)][_0x23de73(0x191)]()){const _0x4bb14d=_0x3ccad3[_0x23de73(0x1b0)](_0x23de73(0x19f));this[_0x23de73(0x17e)](_0x4bb14d)||(_0x38ae26[_0x23de73(0x1b8)](_0x3ccad3),_0x26e413=!0x0);}for(const _0x3e07d6 of _0x38ae26)_0xa32d78[_0x23de73(0x186)](_0x3e07d6);}const _0x44eb95=new Set(),_0x4412d4=[];for(const _0x56c6be of this[_0x23de73(0x160)][_0x23de73(0x191)]()){const _0xaf1eb7=_0x56c6be[_0x23de73(0x1b0)](_0x23de73(0x19f));_0x44eb95[_0x23de73(0x1a7)](_0xaf1eb7)?(_0x4412d4[_0x23de73(0x1b8)](_0x56c6be),_0x26e413=!0x0):_0x44eb95[_0x23de73(0x190)](_0xaf1eb7);}for(const _0x3af4c6 of _0x4412d4)_0xa32d78[_0x23de73(0x186)](_0x3af4c6);return this[_0x23de73(0x160)][_0x23de73(0x1ab)]||(_0xa32d78[_0x23de73(0x186)](this[_0x23de73(0x160)]),this[_0x23de73(0x160)]=null,_0x26e413=!0x0),_0x26e413;}[_0x324bc3(0x17b)](_0x2c6e76,_0x1bf569){const _0xf48baa=_0x324bc3;if(this[_0xf48baa(0x15c)][_0xf48baa(0x1af)](_0x1676bf=>_0x1676bf[_0xf48baa(0x166)]===_0x1bf569))return!0x1;let _0x342231=!0x1;const _0x23f2d4=_0x1bf569[_0xf48baa(0x1b0)](_0xf48baa(0x19f)),_0x3ea465=this[_0xf48baa(0x15c)][_0xf48baa(0x178)](_0x3a9675=>_0x3a9675['id']===_0x23f2d4);-0x1!==_0x3ea465&&(_0x2c6e76[_0xf48baa(0x186)](this[_0xf48baa(0x15c)][_0x3ea465][_0xf48baa(0x166)]),this[_0xf48baa(0x15c)][_0xf48baa(0x1b2)](_0x3ea465,0x1),_0x342231=!0x0);let _0x14e8f6=this[_0xf48baa(0x160)]?function(_0x294233,_0x19b951){const _0x4138f1=_0xf48baa;for(const _0x17b4b5 of _0x294233[_0x4138f1(0x191)]())if(_0x17b4b5[_0x4138f1(0x1b0)](_0x4138f1(0x19f))===_0x19b951)return _0x17b4b5;return null;}(this[_0xf48baa(0x160)],_0x23f2d4):null;_0x14e8f6||(_0x14e8f6=_0x2c6e76[_0xf48baa(0x189)](_0xf48baa(0x176),{'footnoteId':_0x23f2d4}),this[_0xf48baa(0x160)]&&(_0x2c6e76[_0xf48baa(0x16b)](_0x14e8f6,this[_0xf48baa(0x160)],_0xf48baa(0x170)),_0x342231=!0x0));const _0x174634={'id':_0x23f2d4,'reference':_0x1bf569,'definition':_0x14e8f6},_0x5cad4a=I(this[_0xf48baa(0x1ad)][_0xf48baa(0x159)],this[_0xf48baa(0x15c)],_0x1bf569);this[_0xf48baa(0x15c)][_0xf48baa(0x1b2)](_0x5cad4a,0x0,_0x174634);let _0x1c248c=_0x5cad4a;return-0x1!==_0x3ea465&&(_0x1c248c=Math[_0xf48baa(0x18d)](_0x5cad4a,_0x3ea465)),this[_0xf48baa(0x19c)](_0x2c6e76,_0x1c248c)&&(_0x342231=!0x0),_0x342231;}[_0x324bc3(0x169)](_0x545c6c,_0x419c8c){const _0xefc9ff=_0x324bc3,_0x2bf1ed=this[_0xefc9ff(0x15c)][_0xefc9ff(0x178)](_0x3474e0=>_0x3474e0['id']===_0x419c8c);if(-0x1===_0x2bf1ed)return!0x1;let _0x32fd96=!0x1;const _0xc089f8=this[_0xefc9ff(0x15c)][_0x2bf1ed];return _0xefc9ff(0x1a2)!==_0xc089f8[_0xefc9ff(0x1b3)][_0xefc9ff(0x171)][_0xefc9ff(0x19a)]&&(_0x545c6c[_0xefc9ff(0x186)](_0xc089f8[_0xefc9ff(0x1b3)]),_0x32fd96=!0x0),this[_0xefc9ff(0x15c)][_0xefc9ff(0x1b2)](_0x2bf1ed,0x1),this[_0xefc9ff(0x19c)](_0x545c6c,_0x2bf1ed)&&(_0x32fd96=!0x0),_0x32fd96;}[_0x324bc3(0x1b6)](_0x306126,_0x30b2cd){const _0x2c1cd8=_0x324bc3,_0x339882=_0x30b2cd[_0x2c1cd8(0x1b0)](_0x2c1cd8(0x19f)),_0x36d7f9=this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x178)](_0x23fbe5=>_0x23fbe5['id']===_0x339882),_0x3764d4=this[_0x2c1cd8(0x15c)][_0x36d7f9];let _0x1cc749=!0x1;_0x3764d4[_0x2c1cd8(0x166)]=_0x30b2cd,this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x1b2)](_0x36d7f9,0x1);const _0x30f031=I(this[_0x2c1cd8(0x1ad)][_0x2c1cd8(0x159)],this[_0x2c1cd8(0x15c)],_0x30b2cd);return this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x1b2)](_0x30f031,0x0,_0x3764d4),this[_0x2c1cd8(0x19c)](_0x306126,Math[_0x2c1cd8(0x18d)](_0x36d7f9,_0x30f031))&&(_0x1cc749=!0x0),_0x1cc749;}[_0x324bc3(0x18b)](_0x51d191,_0x11652b){const _0x1b4537=_0x324bc3;if(!this[_0x1b4537(0x160)])return!0x1;const _0x5182c7=this[_0x1b4537(0x15c)][_0x11652b];let _0x3f84d2;return _0x3f84d2=this[_0x1b4537(0x172)]?this[_0x1b4537(0x172)]({'footnote':_0x5182c7,'container':this[_0x1b4537(0x160)],'digits':String(this[_0x1b4537(0x15c)][_0x1b4537(0x1bc)])[_0x1b4537(0x1bc)],'value':_0x11652b+0x1}):String(_0x11652b+0x1),_0x5182c7[_0x1b4537(0x166)][_0x1b4537(0x1b0)](_0x1b4537(0x19e))!=_0x3f84d2&&(_0x51d191[_0x1b4537(0x1be)](_0x1b4537(0x19e),_0x3f84d2,_0x5182c7[_0x1b4537(0x166)]),!0x0);}[_0x324bc3(0x18c)](_0x39bc73){const _0x331581=_0x324bc3;if(!this[_0x331581(0x160)]||this[_0x331581(0x15c)][_0x331581(0x1bc)]<0x2)return!0x1;if(function(_0x13aaab,_0xa32739){const _0x2ea33d=_0x331581;if(_0x13aaab[_0x2ea33d(0x1bc)]!==_0xa32739[_0x2ea33d(0x1bc)])return!0x1;for(let _0x555031=0x0;_0x555031<_0x13aaab[_0x2ea33d(0x1bc)];_0x555031++)if(_0x13aaab[_0x555031]!==_0xa32739[_0x555031])return!0x1;return!0x0;}(this[_0x331581(0x15c)][_0x331581(0x1a9)](_0x16c45=>_0x16c45['id']),Array[_0x331581(0x19b)](this[_0x331581(0x160)][_0x331581(0x191)]())[_0x331581(0x1a9)](_0x34f6d5=>_0x34f6d5[_0x331581(0x1b0)](_0x331581(0x19f)))))return!0x1;let _0x3b77ad=!0x1;for(let _0x378861=0x0;_0x378861<this[_0x331581(0x15c)][_0x331581(0x1bc)];_0x378861++){const _0xc05000=this[_0x331581(0x15c)][_0x378861],_0x27dd00=_0x39bc73[_0x331581(0x181)](_0xc05000[_0x331581(0x1b3)]),_0x55946f=_0x39bc73[_0x331581(0x17a)](this[_0x331581(0x160)],_0x378861);_0x27dd00[_0x331581(0x163)](_0x55946f)||(_0x39bc73[_0x331581(0x19d)](_0x39bc73[_0x331581(0x18e)](_0xc05000[_0x331581(0x1b3)]),_0x55946f),_0x3b77ad=!0x0);}return _0x3b77ad;}[_0x324bc3(0x18a)](_0x3f293f){const _0x1a7778=_0x324bc3;if(!this[_0x1a7778(0x15c)][_0x1a7778(0x1bc)])return!0x1;const {model:_0x19ccc2}=this[_0x1a7778(0x1ad)];let _0x1903de=!0x1;for(let _0x27b79f=0x0;_0x27b79f<this[_0x1a7778(0x15c)][_0x1a7778(0x1bc)]-0x1;_0x27b79f++){const _0x278dc6=this[_0x1a7778(0x15c)][_0x27b79f],_0x5f4d62=this[_0x1a7778(0x15c)][_0x27b79f+0x1],_0x340b43=_0x19ccc2[_0x1a7778(0x181)](_0x278dc6[_0x1a7778(0x166)]),_0x1322ba=_0x19ccc2[_0x1a7778(0x181)](_0x5f4d62[_0x1a7778(0x166)]);_0x1a7778(0x173)===_0x340b43[_0x1a7778(0x196)](_0x1322ba)&&(this[_0x1a7778(0x1b6)](_0x3f293f,_0x278dc6[_0x1a7778(0x166)]),_0x27b79f=-0x1,_0x1903de=!0x0);}return _0x1903de;}}function _(_0x2f53ab,_0x465c30,_0x5a5a37){const _0xde6dcf=_0x324bc3;if(_0x5a5a37[_0xde6dcf(0x1ab)])return!0x1;const _0x42b9b9=_0x465c30?_0xde6dcf(0x1b4):_0xde6dcf(0x1b1);return _0x2f53ab[_0xde6dcf(0x16b)](_0x2f53ab[_0xde6dcf(0x189)](_0x42b9b9),_0x5a5a37),!0x0;}function I(_0x4ecee2,_0x332214,_0x58d096){const _0x423176=_0x324bc3;if(0x0===_0x332214[_0x423176(0x1bc)])return 0x0;const _0x2b7e7b=_0x4ecee2[_0x423176(0x181)](_0x58d096);for(let _0x2b4bad=0x0;_0x2b4bad<_0x332214[_0x423176(0x1bc)];_0x2b4bad++){const _0x27a5af=_0x332214[_0x2b4bad],_0x40202a=_0x4ecee2[_0x423176(0x181)](_0x27a5af[_0x423176(0x166)]);if(_0x423176(0x17c)===_0x2b7e7b[_0x423176(0x196)](_0x40202a))return _0x2b4bad;}const _0xb9f673=_0x58d096[_0x423176(0x171)];let _0x2e38be=-0x1;for(let _0x117a58=_0x332214[_0x423176(0x1bc)]-0x1;_0x117a58>=0x0;_0x117a58--)if(_0x332214[_0x117a58][_0x423176(0x166)][_0x423176(0x171)]===_0xb9f673){_0x2e38be=_0x117a58;break;}if(-0x1!==_0x2e38be)return _0x2e38be+0x1;const _0x3ee90f=_0x4ecee2[_0x423176(0x167)][_0x423176(0x16c)](),_0xe6756c=_0x3ee90f[_0x423176(0x192)](_0xb9f673[_0x423176(0x19a)]),_0x74bf57=_0x3ee90f[_0xe6756c+0x1];if(_0x74bf57){for(let _0x1f7904=0x0;_0x1f7904<_0x332214[_0x423176(0x1bc)];_0x1f7904++)if(_0x332214[_0x1f7904][_0x423176(0x166)][_0x423176(0x171)][_0x423176(0x19a)]===_0x74bf57)return _0x1f7904;}return _0x332214[_0x423176(0x1bc)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2968d9,MenuBarMenuListItemButtonView as _0x28c102}from'ckeditor5/src/ui.js';import{Plugin as _0x351b89}from'ckeditor5/src/core.js';import{IconFootnote as _0x5e6786}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x351b89{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b53a0}=this,{componentFactory:_0xc62f98}=_0x5b53a0['ui'];_0xc62f98['add']('insertFootnote',x(_0x5b53a0,_0x2968d9)),_0xc62f98['add']('menuBar:insertFootnote',x(_0x5b53a0,_0x28c102)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3101d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x58b54f;for(const _0x1e78a9 in _0x3101d9){const _0x3cb530=_0x1e78a9,_0x43128f=_0x3101d9[_0x3cb530];if('footnotesLicenseKeyValid'==_0x43128f||'footnotesLicenseKeyInvalid'==_0x43128f||'footnotesLicenseKeyExpired'==_0x43128f||'footnotesLicenseKeyDomainLimit'==_0x43128f||'footnotesLicenseKeyNotAllowed'==_0x43128f||'footnotesLicenseKeyEvaluationLimit'==_0x43128f||'footnotesLicenseKeyTrialLimit'==_0x43128f||'footnotesLicenseKeyUsageLimit'==_0x43128f){delete _0x3101d9[_0x3cb530],_0x58b54f=_0x43128f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x58b54f&&_0x3101d9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x58b54f&&_0x3101d9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x58b54f&&_0x3101d9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x36f25c,_0x358267){const _0x57f448=_0x36f25c['commands']['get']('insertFootnote');return _0x203228=>{const {t:t}=_0x203228,_0x2c6fd9=new _0x358267(_0x203228),_0x21c5bb=_0x2c6fd9 instanceof _0x28c102;return _0x2c6fd9['bind']('isEnabled')['to'](_0x57f448,'isEnabled'),_0x2c6fd9['set']({'label':t(_0x21c5bb?'Footnote':'Insert\x20footnote'),'icon':_0x5e6786,'tooltip':!0x0}),_0x2c6fd9['on']('execute',()=>{_0x57f448['execute'](),_0x36f25c['editing']['view']['focus']();}),_0x2c6fd9;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4efd0f,_0x792b5b){var _0x54a0d7=_0x2b9c,_0x2a2ac6=_0x4efd0f();while(!![]){try{var _0x30a2a1=parseInt(_0x54a0d7(0x159))/0x1+-parseInt(_0x54a0d7(0x154))/0x2+parseInt(_0x54a0d7(0x150))/0x3+-parseInt(_0x54a0d7(0x157))/0x4*(parseInt(_0x54a0d7(0x152))/0x5)+parseInt(_0x54a0d7(0x155))/0x6*(-parseInt(_0x54a0d7(0x156))/0x7)+parseInt(_0x54a0d7(0x151))/0x8*(parseInt(_0x54a0d7(0x153))/0x9)+-parseInt(_0x54a0d7(0x158))/0xa;if(_0x30a2a1===_0x792b5b)break;else _0x2a2ac6['push'](_0x2a2ac6['shift']());}catch(_0x10212c){_0x2a2ac6['push'](_0x2a2ac6['shift']());}}}(_0x23c2,0x3147f));function _0x2b9c(_0x4b7811,_0x15df7c){var _0x23c207=_0x23c2();return _0x2b9c=function(_0x2b9cc0,_0x13ed14){_0x2b9cc0=_0x2b9cc0-0x150;var _0x449ca3=_0x23c207[_0x2b9cc0];return _0x449ca3;},_0x2b9c(_0x4b7811,_0x15df7c);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x23c2(){var _0x1d142a=['120086DkZXYI','5910FDsdWN','595MbMSCW','10944LWVUkf','2890890prFnOh','316312FHKLqq','985197UDaYVd','1889928jYvPri','450EQjCMZ','9ErvRHS'];_0x23c2=function(){return _0x1d142a;};return _0x23c2();}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1984(){const _0x53da42=['delete','createRangeOn','push','_model','clear','flat','2374920Duyiku','attributes','add','_getElementKey','nodeAfter','getChanges','1748817sStsfU','element','$graveyard','rootName','1Mxrevv','slice','9yeIroA','reset','type','from','position','set','getElementKey','710902bCyzqc','17305BtTzFL','values','_elementName','626260uvRIhI','4089127azncwM','4ZmCrYE','13090jtrVcx','$text','getItems','_trackedElements','name','insert','length','6JyQxjG','remove','has','4044eoVAtZ','root','elementName','get'];_0x1984=function(){return _0x53da42;};return _0x1984();}function _0x4ffe(_0x730d09,_0x24b100){const _0x1984c9=_0x1984();return _0x4ffe=function(_0x4ffed9,_0x437d60){_0x4ffed9=_0x4ffed9-0x10f;let _0x22d44e=_0x1984c9[_0x4ffed9];return _0x22d44e;},_0x4ffe(_0x730d09,_0x24b100);}const _0xec0fcb=_0x4ffe;(function(_0xacb238,_0x4aca11){const _0x1e1bcd=_0x4ffe,_0xd80fb8=_0xacb238();while(!![]){try{const _0x4d1bac=parseInt(_0x1e1bcd(0x131))/0x1*(parseInt(_0x1e1bcd(0x13a))/0x2)+-parseInt(_0x1e1bcd(0x12d))/0x3+parseInt(_0x1e1bcd(0x112))/0x4*(parseInt(_0x1e1bcd(0x13b))/0x5)+-parseInt(_0x1e1bcd(0x11a))/0x6*(-parseInt(_0x1e1bcd(0x111))/0x7)+-parseInt(_0x1e1bcd(0x127))/0x8*(-parseInt(_0x1e1bcd(0x133))/0x9)+parseInt(_0x1e1bcd(0x110))/0xa+parseInt(_0x1e1bcd(0x113))/0xb*(-parseInt(_0x1e1bcd(0x11d))/0xc);if(_0x4d1bac===_0x4aca11)break;else _0xd80fb8['push'](_0xd80fb8['shift']());}catch(_0x14b8aa){_0xd80fb8['push'](_0xd80fb8['shift']());}}}(_0x1984,0x4dc83));export class ModelElementTracker{[_0xec0fcb(0x124)];[_0xec0fcb(0x10f)];[_0xec0fcb(0x12a)];[_0xec0fcb(0x116)]=new Map();constructor(_0x1937da,_0x293e94){const _0x2babc3=_0xec0fcb;this[_0x2babc3(0x124)]=_0x1937da,this[_0x2babc3(0x10f)]=_0x293e94[_0x2babc3(0x11f)],this[_0x2babc3(0x12a)]=_0x293e94[_0x2babc3(0x139)];}[_0xec0fcb(0x134)](){const _0x10916d=_0xec0fcb;this[_0x10916d(0x116)][_0x10916d(0x125)]();}[_0xec0fcb(0x12c)](_0xbdced8){const _0x462c22=_0xec0fcb,_0x4dadb2=new Set(),_0x9da795=new Map();for(const _0x40cad8 of _0xbdced8){if(_0x462c22(0x118)===_0x40cad8[_0x462c22(0x135)]&&_0x462c22(0x114)!==_0x40cad8[_0x462c22(0x117)]&&_0x40cad8[_0x462c22(0x137)][_0x462c22(0x12b)]){const _0x2488b1=this[_0x462c22(0x124)][_0x462c22(0x122)](_0x40cad8[_0x462c22(0x137)][_0x462c22(0x12b)]);for(const _0x47b159 of _0x2488b1[_0x462c22(0x115)]()){if(!_0x47b159['is'](_0x462c22(0x12e),this[_0x462c22(0x10f)]))continue;const _0x4ef9c5=this[_0x462c22(0x12a)](_0x47b159);_0x9da795[_0x462c22(0x11c)](_0x4ef9c5)||_0x9da795[_0x462c22(0x138)](_0x4ef9c5,[]),_0x9da795[_0x462c22(0x120)](_0x4ef9c5)[_0x462c22(0x123)](_0x47b159);}}if(_0x462c22(0x11b)===_0x40cad8[_0x462c22(0x135)]&&_0x40cad8[_0x462c22(0x117)]===this[_0x462c22(0x10f)]){const _0x2c298c=this[_0x462c22(0x12a)]({'getAttribute':_0x5549d0=>_0x40cad8[_0x462c22(0x128)][_0x462c22(0x120)](_0x5549d0)});_0x4dadb2[_0x462c22(0x129)](_0x2c298c);}}for(const [_0x479f44,_0x24a04c]of this[_0x462c22(0x116)])_0x462c22(0x12f)===_0x24a04c[_0x462c22(0x11e)][_0x462c22(0x130)]&&_0x4dadb2[_0x462c22(0x129)](_0x479f44);for(const _0x207e23 of _0x4dadb2)this[_0x462c22(0x116)][_0x462c22(0x121)](_0x207e23);for(const [_0x4f3507,_0x4d581c]of _0x9da795)this[_0x462c22(0x116)][_0x462c22(0x138)](_0x4f3507,_0x4d581c[_0x4d581c[_0x462c22(0x119)]-0x1]);const _0x160bf4=new Set();for(const [_0x40840f,_0x1f9966]of _0x9da795)_0x4dadb2[_0x462c22(0x11c)](_0x40840f)&&(_0x160bf4[_0x462c22(0x129)](_0x1f9966[0x0]),_0x1f9966[_0x462c22(0x119)]>0x1?_0x9da795[_0x462c22(0x138)](_0x40840f,_0x1f9966[_0x462c22(0x132)](0x1)):_0x9da795[_0x462c22(0x121)](_0x40840f),_0x4dadb2[_0x462c22(0x121)](_0x40840f));return{'removed':Array[_0x462c22(0x136)](_0x4dadb2),'inserted':Array[_0x462c22(0x136)](_0x9da795[_0x462c22(0x13c)]())[_0x462c22(0x126)](),'moved':Array[_0x462c22(0x136)](_0x160bf4)};}}
|