@ckeditor/ckeditor5-footnotes 47.6.2 → 47.7.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x333537}from'ckeditor5/src/core.js';import{isWidget as _0x25e575,toWidget as _0x59f13c,toWidgetEditable as _0x35bdb1}from'ckeditor5/src/widget.js';import{uid as _0x279778}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4a5546,ClickObserver as _0x20172c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x27eadf}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3877d3}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x333537{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x27eadf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x21af96}=this;_0x21af96['config']['define']('footnotes.multiBlock',!0x0),_0x21af96['commands']['add']('insertFootnote',new _0x3877d3(_0x21af96)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x43c2ca){const _0x30cda3=_0x4072bb([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]),_0x12b3b4=0x47a28506,_0x5db55b=0x47a503ae^_0x12b3b4,_0x14b7c9=window[_0x4072bb([0x44,0x61,0x74,0x65])][_0x4072bb([0x6e,0x6f,0x77])](),_0x568c9b=_0x43c2ca[_0x4072bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c4f56=new window[(_0x4072bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x425ab3=>{_0x568c9b[_0x4072bb([0x6f,0x6e,0x63,0x65])](_0x4072bb([0x72,0x65,0x61,0x64,0x79]),_0x425ab3);}),_0x53fb71={[_0x4072bb([0x6b,0x74,0x79])]:_0x4072bb([0x45,0x43]),[_0x4072bb([0x75,0x73,0x65])]:_0x4072bb([0x73,0x69,0x67]),[_0x4072bb([0x63,0x72,0x76])]:_0x4072bb([0x50,0x2d,0x32,0x35,0x36]),[_0x4072bb([0x78])]:_0x4072bb([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]),[_0x4072bb([0x79])]:_0x4072bb([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]),[_0x4072bb([0x61,0x6c,0x67])]:_0x4072bb([0x45,0x53,0x32,0x35,0x36])},_0x152101=_0x568c9b[_0x4072bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4072bb([0x67,0x65,0x74])](_0x4072bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3f7fd8(){let _0x2dc33c,_0x39a639=null,_0x1f6823=null;try{if(_0x152101==_0x4072bb([0x47,0x50,0x4c]))return _0x4072bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2dc33c=_0x2ecbbb(),!_0x2dc33c)return _0x4072bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2dc33c[_0x4072bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f6823=_0x119c12(_0x2dc33c[_0x4072bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2dc33c[_0x4072bb([0x6a,0x74,0x69])])),await _0x198205()?_0x20f71d()?_0xb46327()?_0x4072bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x137cb2()?(_0x2dc33c[_0x4072bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4072bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39a639=_0x58547c(_0x4072bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36d2f4()):_0x4072bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4072bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4072bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4072bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xb46327(){const _0xfb7837=[_0x4072bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4072bb([0x74,0x72,0x69,0x61,0x6c])][_0x4072bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2dc33c[_0x4072bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14b7c9/0x3e8:0xe10*_0x5db55b;return _0x2dc33c[_0x4072bb([0x65,0x78,0x70])]<_0xfb7837;}function _0x20f71d(){const _0x219b97=_0x2dc33c[_0x4072bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x219b97&&(!!_0x219b97[_0x4072bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4072bb([0x2a]))||!!_0x219b97[_0x4072bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4072bb([0x46,0x4f,0x4f])));}function _0x137cb2(){const _0x4cb71c=_0x2dc33c[_0x4072bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4cb71c||0x0==_0x4cb71c[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2df715}=new URL(window[_0x4072bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4cb71c[_0x4072bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2df715))return!0x0;const _0x3ea142=_0x2df715[_0x4072bb([0x73,0x70,0x6c,0x69,0x74])](_0x4072bb([0x2e]));return _0x4cb71c[_0x4072bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2158b4=>_0x2158b4[_0x4072bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4072bb([0x2a])))[_0x4072bb([0x6d,0x61,0x70])](_0x44bbe=>_0x44bbe[_0x4072bb([0x73,0x70,0x6c,0x69,0x74])](_0x4072bb([0x2e])))[_0x4072bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d178b=>_0x4d178b[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ea142[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4072bb([0x6d,0x61,0x70])](_0x3070bd=>Array(_0x3ea142[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3070bd[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4072bb([0x66,0x69,0x6c,0x6c])](_0x3070bd[0x0]===_0x4072bb([0x2a])?_0x4072bb([0x2a]):'')[_0x4072bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3070bd))[_0x4072bb([0x73,0x6f,0x6d,0x65])](_0x3a0a1b=>_0x3ea142[_0x4072bb([0x65,0x76,0x65,0x72,0x79])]((_0x171a00,_0x48fc5b)=>_0x3a0a1b[_0x48fc5b]===_0x171a00||_0x3a0a1b[_0x48fc5b]===_0x4072bb([0x2a])));}function _0x36d2f4(){return _0x39a639&&_0x1f6823?new window[(_0x4072bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44c1b7,_0x15788f)=>{_0x39a639[_0x4072bb([0x74,0x68,0x65,0x6e])](_0x44c1b7,_0x15788f),_0x1f6823[_0x4072bb([0x74,0x68,0x65,0x6e])](_0x2ae789=>{_0x2ae789!=_0x4072bb([0x56,0x61,0x6c,0x69,0x64])&&_0x44c1b7(_0x2ae789);},_0x15788f);}):_0x39a639||_0x1f6823||_0x4072bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x119c12(_0x25887a,_0x18bf19){return new window[(_0x4072bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xace489=>{if(_0x2f2753())return _0xace489(_0x4072bb([0x56,0x61,0x6c,0x69,0x64]));_0x30d0ba(),_0x568c9b[_0x4072bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4072bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1629ea=!0x1;const _0x27f11c=_0x279778();function _0x193574(_0x57b929){return!!_0x57b929&&(typeof _0x57b929===_0x4072bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57b929===_0x4072bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57b929[_0x4072bb([0x74,0x68,0x65,0x6e])]===_0x4072bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57b929[_0x4072bb([0x63,0x61,0x74,0x63,0x68])]===_0x4072bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4d2114(_0x2fdf8e){_0x589af7(_0x2fdf8e)[_0x4072bb([0x74,0x68,0x65,0x6e])](_0x2c1dad=>{if(!_0x2c1dad||_0x2c1dad[_0x4072bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4072bb([0x6f,0x6b]))return _0x4072bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x9e34da(_0x51c362(_0x27f11c+_0x18bf19))!=_0x2c1dad[_0x4072bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4072bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4072bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x4072bb([0x74,0x68,0x65,0x6e])](_0x1fa69c=>(_0x5d3c10(),_0x1fa69c),()=>{const _0x437aaa=_0x7e6a14();return null==_0x437aaa?(_0x5d3c10(),_0x4072bb([0x56,0x61,0x6c,0x69,0x64])):_0x4072bb(_0x14b7c9-_0x437aaa>(0x63ae0106^_0x12b3b4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4072bb([0x74,0x68,0x65,0x6e])](_0xace489)[_0x4072bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0xace489(_0x4072bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2be423=0x47946b86^_0x12b3b4;function _0x5d3c10(){const _0x1f9c9b=_0x4072bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x9e34da(_0x51c362(_0x25887a)),_0x4cb1b7=_0x9f3b0e(_0x9e34da(window[_0x4072bb([0x4d,0x61,0x74,0x68])][_0x4072bb([0x63,0x65,0x69,0x6c])](_0x14b7c9/_0x2be423)));window[_0x4072bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4072bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f9c9b,_0x4cb1b7);}function _0x7e6a14(){const _0x828637=_0x4072bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x9e34da(_0x51c362(_0x25887a)),_0x34fc6b=window[_0x4072bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4072bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x828637);return _0x34fc6b?window[_0x4072bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9f3b0e(_0x34fc6b),0x10)*_0x2be423:null;}function _0x589af7(_0x353c1f){return new window[(_0x4072bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2edf2f,_0xcac8ff)=>{_0x353c1f[_0x4072bb([0x74,0x68,0x65,0x6e])](_0x2edf2f,_0xcac8ff),window[_0x4072bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xcac8ff,0x47a351c6^_0x12b3b4);});}}_0x568c9b[_0x4072bb([0x6f,0x6e])](_0x4072bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb8b7da,_0x15ad7d)=>{if(_0x15ad7d[0x0]!=_0x25887a)return _0xace489(_0x4072bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15ad7d[0x1]={..._0x15ad7d[0x1],[_0x4072bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27f11c};},{[_0x4072bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4072bb([0x68,0x69,0x67,0x68])}),_0x568c9b[_0x4072bb([0x6f,0x6e])](_0x4072bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x477c9b=>{_0x193574(_0x477c9b[_0x4072bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1629ea=!0x0,_0x4d2114(_0x477c9b[_0x4072bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4072bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4072bb([0x6c,0x6f,0x77])}),_0x5c4f56[_0x4072bb([0x74,0x68,0x65,0x6e])](()=>{_0x1629ea||_0xace489(_0x4072bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f2753(){return _0x568c9b[_0x4072bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4072bb([0x76,0x69,0x65,0x77])][_0x4072bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4072bb([0x61,0x75,0x74,0x6f]);}function _0x30d0ba(){_0x568c9b[_0x4072bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4072bb([0x76,0x69,0x65,0x77])][_0x4072bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4072bb([0x61,0x75,0x74,0x6f]);}}function _0x58547c(_0x9f835c){const _0x1e7694=[new window[(_0x4072bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44c9ee=>setTimeout(_0x44c9ee,0x47abbbca^_0x12b3b4)),_0x5c4f56[_0x4072bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4072bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x978931=>{let _0x211732=0x0;_0x568c9b[_0x4072bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4072bb([0x6f,0x6e])](_0x4072bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3fa0e0,_0x1212d1)=>{_0x1212d1[0x0][_0x4072bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x211732++,_0x211732==(0x47a280ee^_0x12b3b4)&&(_0x978931(),_0x3fa0e0[_0x4072bb([0x6f,0x66,0x66])]());});}))];return window[_0x4072bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4072bb([0x72,0x61,0x63,0x65])](_0x1e7694)[_0x4072bb([0x74,0x68,0x65,0x6e])](()=>_0x9f835c);}async function _0x203480(){await _0x5c4f56,_0x568c9b[_0x4072bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4072bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e618d,_0x568c9b[_0x4072bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x4072bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e618d,_0x568c9b[_0x4072bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4072bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x16ce1b(_0x4403fa){const _0x4fa9c1=_0x663ad7();_0x568c9b[_0x4fa9c1]=_0x4072bb([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4403fa,_0x4403fa!=_0x4072bb([0x56,0x61,0x6c,0x69,0x64])&&_0x203480();}function _0x663ad7(){const _0x8c1b88=window[_0x4072bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4072bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4072bb([0x6e,0x6f,0x77])]())[_0x4072bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4072bb([0x2e]),'');let _0x148177=_0x4072bb([0x75]);for(let _0x2732ac=0x0;_0x2732ac<_0x8c1b88[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2732ac+=0x2){let _0x2d93da=window[_0x4072bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x8c1b88[_0x4072bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2732ac,_0x2732ac+0x2));_0x2d93da>=_0x30cda3[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d93da-=_0x30cda3[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x148177+=_0x30cda3[_0x2d93da];}return _0x148177;}function _0x2ecbbb(){const _0x3062ca=_0x152101[_0x4072bb([0x73,0x70,0x6c,0x69,0x74])](_0x4072bb([0x2e]));if(0x3!=_0x3062ca[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x490cc6(_0x3062ca[0x1]);function _0x490cc6(_0x463809){const _0x2a0583=_0x21dabd(_0x463809);return _0x2a0583&&_0x222f05()?_0x2a0583:null;function _0x222f05(){const _0x28f8d0=_0x2a0583[_0x4072bb([0x6a,0x74,0x69])],_0x4bfdfb=window[_0x4072bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28f8d0[_0x4072bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28f8d0[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x19f865={..._0x2a0583,[_0x4072bb([0x6a,0x74,0x69])]:_0x28f8d0[_0x4072bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28f8d0[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x19f865[_0x4072bb([0x76,0x63])],_0x51c362(_0x19f865)==_0x4bfdfb;}}}async function _0x198205(){let _0x4bdcde=!0x0;try{const _0xf8c4e2=_0x152101[_0x4072bb([0x73,0x70,0x6c,0x69,0x74])](_0x4072bb([0x2e])),[_0x12674c,_0x180b01,_0x5d438c]=_0xf8c4e2;return _0x557e08(_0x12674c),await _0x702b79(_0x12674c,_0x180b01,_0x5d438c),_0x4bdcde;}catch{return!0x1;}function _0x557e08(_0x499a81){const _0x96e8ec=_0x21dabd(_0x499a81);_0x96e8ec&&_0x96e8ec[_0x4072bb([0x61,0x6c,0x67])]==_0x4072bb([0x45,0x53,0x32,0x35,0x36])||(_0x4bdcde=!0x1);}async function _0x702b79(_0x3a8ab3,_0x35fdec,_0x1aafee){const _0x543572=window[_0x4072bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4072bb([0x66,0x72,0x6f,0x6d])](_0x5c24ec(_0x1aafee),_0x229bc5=>_0x229bc5[_0x4072bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5675db=new window[(_0x4072bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4072bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a8ab3+_0x4072bb([0x2e])+_0x35fdec),_0x222b9e=window[_0x4072bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4072bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x222b9e)return;const _0x10bd9b=await _0x222b9e[_0x4072bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4072bb([0x6a,0x77,0x6b]),_0x53fb71,{[_0x4072bb([0x6e,0x61,0x6d,0x65])]:_0x4072bb([0x45,0x43,0x44,0x53,0x41]),[_0x4072bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4072bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4072bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x222b9e[_0x4072bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4072bb([0x6e,0x61,0x6d,0x65])]:_0x4072bb([0x45,0x43,0x44,0x53,0x41]),[_0x4072bb([0x68,0x61,0x73,0x68])]:{[_0x4072bb([0x6e,0x61,0x6d,0x65])]:_0x4072bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10bd9b,_0x543572,_0x5675db)||(_0x4bdcde=!0x1);}}function _0x21dabd(_0x387f90){return _0x387f90[_0x4072bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4072bb([0x65,0x79]))?JSON[_0x4072bb([0x70,0x61,0x72,0x73,0x65])](_0x5c24ec(_0x387f90)):null;}function _0x5c24ec(_0xe14978){return window[_0x4072bb([0x61,0x74,0x6f,0x62])](_0xe14978[_0x4072bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4072bb([0x2b]))[_0x4072bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4072bb([0x2f])));}function _0x51c362(_0x3813f9){let _0x3170a2=0x1505;function _0x4da25b(_0x18c997){for(let _0x51616c=0x0;_0x51616c<_0x18c997[_0x4072bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51616c++){const _0x4b4cf3=_0x18c997[_0x4072bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51616c);_0x3170a2=(_0x3170a2<<0x5)+_0x3170a2+_0x4b4cf3,_0x3170a2&=_0x3170a2;}}function _0xf15d42(_0x2028b7){Array[_0x4072bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2028b7)?_0x2028b7[_0x4072bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf15d42):_0x2028b7&&typeof _0x2028b7==_0x4072bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4072bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2028b7)[_0x4072bb([0x73,0x6f,0x72,0x74])]()[_0x4072bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x511000,_0x530d30])=>{_0x4da25b(_0x511000),_0xf15d42(_0x530d30);}):_0x4da25b(window[_0x4072bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2028b7));}return _0xf15d42(_0x3813f9),_0x3170a2>>>0x0;}function _0x9e34da(_0x19acbd){return _0x19acbd[_0x4072bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4072bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4072bb([0x30]));}function _0x9f3b0e(_0x4a199c){return _0x4a199c[_0x4072bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4072bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4072bb([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e618d(){}function _0x4072bb(_0x581d04){return _0x581d04['map'](_0x5cbc86=>String['fromCharCode'](_0x5cbc86))['join']('');}_0x16ce1b(await _0x3f7fd8());}(this);}['_moveSelectionToFootnoteDefinition'](_0x49036b){const {plugins:_0x262ff6,editing:_0x36a46b,model:_0x44bb47}=this['editor'],_0x3557d3=_0x262ff6['get'](_0x27eadf)['getFootnote'](_0x49036b);return!!_0x3557d3&&(_0x44bb47['change'](_0x1231f0=>{_0x1231f0['setSelection'](_0x1231f0['createPositionAt'](_0x3557d3['definition'],'end'));}),_0x36a46b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1ac149){const {plugins:_0x18212f,editing:_0x30afb5,model:_0x2fc179}=this['editor'],_0x2dc336=_0x18212f['get'](_0x27eadf)['getFootnote'](_0x1ac149);return!!_0x2dc336&&(_0x2fc179['change'](_0x469f88=>{_0x469f88['setSelection'](_0x2dc336['reference'],'on');}),_0x30afb5['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2b3a60}=this['editor']['model'],_0x2a9b5e=this['editor']['config']['get']('footnotes.multiBlock');_0x2b3a60['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2b3a60['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2b3a60['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2a9b5e?_0x2b3a60['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2b3a60['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2b3a60['addChildCheck'](_0xffe4aa=>{for(const _0x299bb4 of _0xffe4aa)if('footnoteDefinition'===_0x299bb4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x268298}=this,{conversion:_0x379b44,editing:_0x8de31a}=_0x268298,{t:t}=_0x268298['locale'];_0x379b44['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x14a2d6,{writer:_0x41afd9,consumable:_0x133f46})=>{const _0xc013d8=_0x14a2d6['getChild'](0x0);if(!_0xc013d8||!_0xc013d8['is']('element','a'))return null;const _0x57863e=_0xc013d8['getAttribute']('href')||'';if(!_0x57863e['startsWith']('#'))return null;const _0xb0abcf=_0x57863e['replace'](/^#/,'');if(!_0xb0abcf)return null;_0x133f46['consume'](_0xc013d8,{'name':!0x0,'attributes':['href']});for(const {item:_0x110d53}of _0x8de31a['view']['createRangeIn'](_0xc013d8))_0x110d53['is']('$textProxy')?_0x133f46['consume'](_0x110d53['textNode'],{'name':!0x0}):_0x110d53['is']('element')&&_0x133f46['consume'](_0x110d53,{'name':!0x0});return _0x41afd9['createElement']('footnoteRef',{'footnoteId':_0xb0abcf});}}),_0x379b44['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1d7a1d,{writer:_0xf68d5a})=>b(_0x1d7a1d,_0xf68d5a)}),_0x379b44['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x270488,{writer:_0x4aa6ac})=>{const _0x3afb98=_0x270488['getAttribute']('footnoteCounter');return _0x59f13c(b(_0x270488,_0x4aa6ac),_0x4aa6ac,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3afb98)});}});}['_defineDefinitionsConverters'](){const {editor:_0x58f535}=this,{t:t}=_0x58f535['locale'],{conversion:_0x3fd52a}=_0x58f535;_0x3fd52a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3fd52a['for']('upcast')['add'](_0x3d650f=>{_0x3d650f['on']('element:ol',(_0x3dc3cb,_0x1eaca9,_0x27bcb4)=>{const _0x474e93=_0x1eaca9['viewItem'];if(!_0x474e93['hasClass']('footnotes-list')||!_0x1eaca9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x27bcb4['consumable']['consume'](_0x474e93,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x161adc,modelCursor:_0x1535d2}=_0x27bcb4['convertChildren'](_0x1eaca9['viewItem'],_0x1eaca9['modelCursor']);_0x1eaca9['modelRange']=_0x161adc,_0x1eaca9['modelCursor']=_0x1535d2;}),_0x3d650f['on']('element:hr',(_0x18c3c6,_0x2cb842,_0x52c0b7)=>{const _0x3c85d0=_0x2cb842['viewItem'];_0x3c85d0['hasClass']('footnotes-divider')&&_0x2cb842['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x52c0b7['consumable']['consume'](_0x3c85d0,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3fd52a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x55282b,{writer:_0x3858aa})=>D(_0x3858aa)}),_0x3fd52a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x51f1de,{writer:_0x1f2db0})=>{const _0x452656=D(_0x1f2db0,{'data-footnotes-list-label':t('Footnotes')}),_0x355325=_0x59f13c(_0x452656,_0x1f2db0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1f2db0['setCustomProperty']('footnotesDefinitions',!0x0,_0x355325),_0x355325;}});}['_defineDefinitionConverters'](){const {editor:_0x5cbafa}=this,{conversion:_0x840956,locale:_0x4acac4}=_0x5cbafa,_0x52062b=_0x5cbafa['config']['get']('footnotes.multiBlock');_0x840956['for']('upcast')['add'](_0x2a058a=>{_0x2a058a['on']('element:li',(_0x19fc18,_0x3edf3e,_0x1f4836)=>{const _0x3d2129=_0x3edf3e['viewItem'];if(!_0x3d2129['hasClass']('footnote-definition')||!_0x3d2129['getAttribute']('id'))return;const _0x791384=_0x3d2129['parent'];if(!_0x791384['is']('element','ol')||!_0x791384['hasClass']('footnotes-list'))return;if(!_0x1f4836['consumable']['test'](_0x3d2129,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x406aac=_0x1f4836['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3d2129['getAttribute']('id')});if(!_0x1f4836['safeInsert'](_0x406aac,_0x3edf3e['modelCursor']))return;_0x1f4836['consumable']['consume'](_0x3d2129,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4941b5=Array['from'](_0x3d2129['getChildren']())['find'](_0x3f77bf=>_0x3f77bf['is']('element')&&_0x3f77bf['hasClass']('footnote-content'));for(const _0x357702 of _0x3d2129['getChildren']())_0x357702['is']('element')&&(_0x1f4836['consumable']['consume'](_0x357702,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1f4836['consumable']['consume'](_0x357702,{'name':!0x0,'classes':'footnote-content'}));if(_0x4941b5){if(_0x52062b)_0x1f4836['convertChildren'](_0x4941b5,_0x406aac);else{const _0x720e82=_0x1f4836['writer']['createElement']('footnoteInlineContent');_0x1f4836['writer']['insert'](_0x720e82,_0x406aac),_0x1f4836['convertChildren'](_0x4941b5,_0x720e82);}}_0x1f4836['updateConversionResult'](_0x406aac,_0x3edf3e);});}),_0x840956['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x436e65,{writer:_0x2c2c09})=>y(_0x436e65,_0x2c2c09,_0x4acac4,{'dataPipeline':!0x0})}),_0x840956['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x17cb92,{writer:_0x45f947})=>y(_0x17cb92,_0x45f947,_0x4acac4)});}['_defineBogusParagraphConverters'](){const {editor:_0x313a8f}=this,{conversion:_0x5f59ab}=_0x313a8f;_0x313a8f['config']['get']('footnotes.multiBlock')?(_0x5f59ab['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x5f59ab['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x313a8f['model']['document'],'change:data',()=>{!function(_0x46953c,_0x42443d){const _0x2a0537=_0x46953c['document']['differ'],_0x5df71e=new Set();for(const _0x5eac51 of _0x2a0537['getChanges']()){const _0x319eea='attribute'==_0x5eac51['type']?_0x5eac51['range']['start']['parent']:_0x5eac51['position']['parent'];_0x319eea['is']('element','footnoteDefinition')&&_0x5df71e['add'](_0x319eea);}for(const _0x1e074e of _0x5df71e['values']()){const _0x3a25bb=Array['from'](_0x1e074e['getChildren']())['filter'](_0xf26aed=>v(_0xf26aed,_0x42443d['mapper']));for(const _0x57a134 of _0x3a25bb)_0x42443d['reconvertItem'](_0x57a134);}}(_0x313a8f['model'],_0x313a8f['editing']);})):(_0x5f59ab['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x5f59ab['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3220cc,{writer:_0x3cbbc4})=>{const _0x5afcd7=_0x3cbbc4['createContainerElement']('span');return _0x3cbbc4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5afcd7),_0x5afcd7;}}));}['_defineKeyboardHandlers'](){const {editor:_0x224be5}=this,{editing:_0xf87e80,t:t}=_0x224be5,_0x5eb17d=_0x224be5['model']['document']['selection'];_0x224be5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x224be5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xf87e80['view']['document'],'enter',(_0x29b0b5,_0x3776b5)=>{const _0x5bb2ea=function(_0x26577d){const _0x5c1f93=_0x26577d['getSelectedElement']();if(_0x5c1f93?.['is']('element','footnoteRef'))return _0x5c1f93;return null;}(_0x5eb17d);if(_0x5bb2ea){const _0xbaa77e=_0x5bb2ea['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xbaa77e),_0x3776b5['preventDefault'](),_0x29b0b5['stop']();}},{'context':_0x25e575});}['_defineClickHandlers'](){const {editor:_0x4a29b7}=this,{editing:_0x4a7b6d}=_0x4a29b7;_0x4a29b7['editing']['view']['addObserver'](_0x4a5546),_0x4a29b7['editing']['view']['addObserver'](_0x20172c);let _0x406229=!0x1;this['listenTo'](_0x4a7b6d['view']['document'],'pointerdown',(_0x57b7e6,_0x225830)=>{const {target:_0xcfbfad}=_0x225830,_0x3c5845=_0x4a7b6d['view']['document']['selection'];_0x406229=!!(_0xcfbfad?.['is']('element','a')&&_0xcfbfad['parent']?.['is']('element','sup')&&_0xcfbfad['parent']['hasClass']('footnote'))&&_0x3c5845['getSelectedElement']()===_0xcfbfad['parent'];},{'priority':'high'}),this['listenTo'](_0x4a7b6d['view']['document'],'click',(_0x371aee,_0x158761)=>{const {target:_0x27ede9}=_0x158761;if(!_0x27ede9?.['is']('element','a'))return;if(_0x27ede9['parent']?.['is']('element','sup')&&_0x27ede9['parent']['hasClass']('footnote')&&!_0x406229)return void _0x158761['preventDefault']();let _0x6ff650=_0x27ede9['getAttribute']('href');if(!_0x6ff650?.['startsWith']('#'))return;_0x6ff650=_0x6ff650['slice'](0x1);let _0x547356=!0x1;(_0x6ff650['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x6ff650['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x6ff650))&&(_0x547356=!0x0),_0x547356&&(_0x158761['preventDefault'](),_0x371aee['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1a51af}={}){return(_0x48f830,{writer:_0x1205df})=>{if(!g(_0x48f830))return null;if(!_0x1a51af)return _0x1205df['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x277912=_0x1205df['createContainerElement']('p');return _0x1205df['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x277912),_0x277912;};}function g(_0x121e6e){const {parent:_0x35e083}=_0x121e6e;if(!_0x35e083?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x35e083['childCount'])return!0x1;for(const _0x4e96ec of _0x121e6e['getAttributeKeys']())if(!_0x4e96ec['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4e96ec)return!0x1;return!0x0;}function v(_0x4f0b85,_0x570131){if(!_0x4f0b85['is']('element','paragraph'))return!0x1;const _0x5d819d=_0x570131['toViewElement'](_0x4f0b85);return!!_0x5d819d&&g(_0x4f0b85)!==_0x5d819d['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x15c2e4){return _0x25e575(_0x15c2e4)&&_0x15c2e4['is']('containerElement')&&!!_0x15c2e4['getCustomProperty']('footnotesDefinitions');}function D(_0x58704f,_0x32a816={}){const _0x5b885d=_0x58704f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x389512=_0x58704f['createContainerElement']('ol',{'class':'footnotes-list'},_0x58704f['createSlot']());return _0x58704f['createContainerElement']('div',{'class':'footnotes',..._0x32a816},[_0x5b885d,_0x389512]);}function b(_0x1698f3,_0x1f0872){const _0x87cd63=_0x1698f3['getAttribute']('footnoteId'),_0x20ba9b=_0x1698f3['getAttribute']('footnoteCounter'),_0x14fb49=_0x1f0872['createUIElement']('a',{'href':'#'+_0x87cd63},function(_0x2f22af){const _0x153e6f=this['toDomElement'](_0x2f22af);return _0x153e6f['textContent']=_0x20ba9b,_0x153e6f;}),_0xab4e54=_0x1f0872['createContainerElement']('sup',{'id':'ref-'+_0x87cd63,'class':'footnote'},[_0x14fb49]);return _0xab4e54['getFillerOffset']=()=>null,_0xab4e54;}function y(_0x288684,_0x408b27,_0x88f317,{dataPipeline:_0x542d21}={}){const {t:t}=_0x88f317,_0xdcdfaf=_0x288684['getAttribute']('footnoteId'),_0x58a17d=_0x408b27['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xdcdfaf},function(_0x5e40d4){const _0x57d7ad=this['toDomElement'](_0x5e40d4);return _0x57d7ad['innerText']='^',_0x57d7ad;}),_0x5475ed=_0x542d21?_0x408b27['createContainerElement']('div',{'class':'footnote-content'}):_0x35bdb1(_0x408b27['createEditableElement']('div',{'class':'footnote-content'}),_0x408b27,{'label':t('Footnote\x20content.')});return _0x408b27['insert'](_0x408b27['createPositionAt'](_0x5475ed,0x0),_0x408b27['createSlot']()),_0x408b27['createContainerElement']('li',{'class':'footnote-definition','id':_0xdcdfaf},[_0x58a17d,_0x5475ed]);}
|
|
23
|
+
import{Plugin as _0x5b6852}from'ckeditor5/src/core.js';import{isWidget as _0x561c95,toWidget as _0x4d4b41,toWidgetEditable as _0xf07c40}from'ckeditor5/src/widget.js';import{uid as _0x55e9e4}from'ckeditor5/src/utils.js';import{PointerObserver as _0x54fede,ClickObserver as _0x2a7238}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x426dc2}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2edf45}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5b6852{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x426dc2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15996f}=this;_0x15996f['config']['define']('footnotes.multiBlock',!0x0),_0x15996f['commands']['add']('insertFootnote',new _0x2edf45(_0x15996f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x35317b){const _0xd3eb6b=_0x37a0ba([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]),_0x4e9e10=0x47a28506,_0x320e9f=0x47a50226^_0x4e9e10,_0x4063da=window[_0x37a0ba([0x44,0x61,0x74,0x65])][_0x37a0ba([0x6e,0x6f,0x77])](),_0x33bb16=_0x35317b[_0x37a0ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32052d=new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33c6ce=>{_0x33bb16[_0x37a0ba([0x6f,0x6e,0x63,0x65])](_0x37a0ba([0x72,0x65,0x61,0x64,0x79]),_0x33c6ce);}),_0x24c199={[_0x37a0ba([0x6b,0x74,0x79])]:_0x37a0ba([0x45,0x43]),[_0x37a0ba([0x75,0x73,0x65])]:_0x37a0ba([0x73,0x69,0x67]),[_0x37a0ba([0x63,0x72,0x76])]:_0x37a0ba([0x50,0x2d,0x32,0x35,0x36]),[_0x37a0ba([0x78])]:_0x37a0ba([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]),[_0x37a0ba([0x79])]:_0x37a0ba([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]),[_0x37a0ba([0x61,0x6c,0x67])]:_0x37a0ba([0x45,0x53,0x32,0x35,0x36])},_0xd7e8af=_0x33bb16[_0x37a0ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37a0ba([0x67,0x65,0x74])](_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4afa2e(){let _0x4b6169,_0x22fddd=null,_0x1bc7cb=null;try{if(_0xd7e8af==_0x37a0ba([0x47,0x50,0x4c]))return _0x37a0ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b6169=_0x4d3ea8(),!_0x4b6169)return _0x37a0ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b6169[_0x37a0ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bc7cb=_0x180800(_0x4b6169[_0x37a0ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b6169[_0x37a0ba([0x6a,0x74,0x69])])),await _0x32c459()?_0x288871()?_0x22a24b()?_0x37a0ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x531251()?(_0x4b6169[_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37a0ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22fddd=_0x1229fb(_0x37a0ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x246389()):_0x37a0ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37a0ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37a0ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x37a0ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22a24b(){const _0x2d7db9=[_0x37a0ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37a0ba([0x74,0x72,0x69,0x61,0x6c])][_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b6169[_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4063da/0x3e8:0xe10*_0x320e9f;return _0x4b6169[_0x37a0ba([0x65,0x78,0x70])]<_0x2d7db9;}function _0x288871(){const _0x429c33=_0x4b6169[_0x37a0ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x429c33&&(!!_0x429c33[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a0ba([0x2a]))||!!_0x429c33[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a0ba([0x46,0x4f,0x4f])));}function _0x531251(){const _0x480b53=_0x4b6169[_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x480b53||0x0==_0x480b53[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f4e2d}=new URL(window[_0x37a0ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x480b53[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f4e2d))return!0x0;const _0x57d459=_0x3f4e2d[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e]));return _0x480b53[_0x37a0ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3337bb=>_0x3337bb[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a0ba([0x2a])))[_0x37a0ba([0x6d,0x61,0x70])](_0x473580=>_0x473580[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e])))[_0x37a0ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fab3f=>_0x4fab3f[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57d459[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37a0ba([0x6d,0x61,0x70])](_0x2395e4=>Array(_0x57d459[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2395e4[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37a0ba([0x66,0x69,0x6c,0x6c])](_0x2395e4[0x0]===_0x37a0ba([0x2a])?_0x37a0ba([0x2a]):'')[_0x37a0ba([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2395e4))[_0x37a0ba([0x73,0x6f,0x6d,0x65])](_0x3ef52e=>_0x57d459[_0x37a0ba([0x65,0x76,0x65,0x72,0x79])]((_0xcc67f7,_0x5ef839)=>_0x3ef52e[_0x5ef839]===_0xcc67f7||_0x3ef52e[_0x5ef839]===_0x37a0ba([0x2a])));}function _0x246389(){return _0x22fddd&&_0x1bc7cb?new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x320bca,_0xc8a214)=>{_0x22fddd[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x320bca,_0xc8a214),_0x1bc7cb[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x114731=>{_0x114731!=_0x37a0ba([0x56,0x61,0x6c,0x69,0x64])&&_0x320bca(_0x114731);},_0xc8a214);}):_0x22fddd||_0x1bc7cb||_0x37a0ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x180800(_0x52eea4,_0x3dea85){return new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x847eb2=>{if(_0x31fecf())return _0x847eb2(_0x37a0ba([0x56,0x61,0x6c,0x69,0x64]));_0x1e70cb(),_0x33bb16[_0x37a0ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37a0ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ff728=!0x1;const _0x4eb61f=_0x55e9e4();function _0x1ebe1a(_0x4ac615){return!!_0x4ac615&&(typeof _0x4ac615===_0x37a0ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ac615===_0x37a0ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ac615[_0x37a0ba([0x74,0x68,0x65,0x6e])]===_0x37a0ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ac615[_0x37a0ba([0x63,0x61,0x74,0x63,0x68])]===_0x37a0ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13e87d(_0x1f658c){_0x436ff9(_0x1f658c)[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x3546e6=>{if(!_0x3546e6||_0x3546e6[_0x37a0ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37a0ba([0x6f,0x6b]))return _0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b31ed(_0x32de7c(_0x4eb61f+_0x3dea85))!=_0x3546e6[_0x37a0ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37a0ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x1e6858=>(_0x2abac9(),_0x1e6858),()=>{const _0x455d69=_0x1a692c();return null==_0x455d69?(_0x2abac9(),_0x37a0ba([0x56,0x61,0x6c,0x69,0x64])):_0x37a0ba(_0x4063da-_0x455d69>(0x63ae0106^_0x4e9e10)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x847eb2)[_0x37a0ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x847eb2(_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x293e85=0x47946b86^_0x4e9e10;function _0x2abac9(){const _0x4c76c2=_0x37a0ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b31ed(_0x32de7c(_0x52eea4)),_0x562d6e=_0x48efe(_0x3b31ed(window[_0x37a0ba([0x4d,0x61,0x74,0x68])][_0x37a0ba([0x63,0x65,0x69,0x6c])](_0x4063da/_0x293e85)));window[_0x37a0ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37a0ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c76c2,_0x562d6e);}function _0x1a692c(){const _0x208b4c=_0x37a0ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b31ed(_0x32de7c(_0x52eea4)),_0x28b5fd=window[_0x37a0ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37a0ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x208b4c);return _0x28b5fd?window[_0x37a0ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48efe(_0x28b5fd),0x10)*_0x293e85:null;}function _0x436ff9(_0x2b914e){return new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x525f47,_0x322758)=>{_0x2b914e[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x525f47,_0x322758),window[_0x37a0ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x322758,0x47a351c6^_0x4e9e10);});}}_0x33bb16[_0x37a0ba([0x6f,0x6e])](_0x37a0ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fa5e6,_0xd3dd80)=>{if(_0xd3dd80[0x0]!=_0x52eea4)return _0x847eb2(_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd3dd80[0x1]={..._0xd3dd80[0x1],[_0x37a0ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4eb61f};},{[_0x37a0ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37a0ba([0x68,0x69,0x67,0x68])}),_0x33bb16[_0x37a0ba([0x6f,0x6e])](_0x37a0ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1145bb=>{_0x1ebe1a(_0x1145bb[_0x37a0ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ff728=!0x0,_0x13e87d(_0x1145bb[_0x37a0ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37a0ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37a0ba([0x6c,0x6f,0x77])}),_0x32052d[_0x37a0ba([0x74,0x68,0x65,0x6e])](()=>{_0x1ff728||_0x847eb2(_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31fecf(){return _0x33bb16[_0x37a0ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37a0ba([0x76,0x69,0x65,0x77])][_0x37a0ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37a0ba([0x61,0x75,0x74,0x6f]);}function _0x1e70cb(){_0x33bb16[_0x37a0ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37a0ba([0x76,0x69,0x65,0x77])][_0x37a0ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37a0ba([0x61,0x75,0x74,0x6f]);}}function _0x1229fb(_0x58ca75){const _0x4a4f98=[new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12f598=>setTimeout(_0x12f598,0x47abbbca^_0x4e9e10)),_0x32052d[_0x37a0ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44acc3=>{let _0x203eea=0x0;_0x33bb16[_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x37a0ba([0x6f,0x6e])](_0x37a0ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26a5e5,_0x563936)=>{_0x563936[0x0][_0x37a0ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x203eea++,_0x203eea==(0x47a280ee^_0x4e9e10)&&(_0x44acc3(),_0x26a5e5[_0x37a0ba([0x6f,0x66,0x66])]());});}))];return window[_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37a0ba([0x72,0x61,0x63,0x65])](_0x4a4f98)[_0x37a0ba([0x74,0x68,0x65,0x6e])](()=>_0x58ca75);}async function _0xfa21ec(){await _0x32052d,_0x33bb16[_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x37a0ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16f812,_0x33bb16[_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x37a0ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16f812,_0x33bb16[_0x37a0ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xeadcdf(_0x468141){const _0x23bb06=_0x463272();_0x33bb16[_0x23bb06]=_0x37a0ba([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x468141,_0x468141!=_0x37a0ba([0x56,0x61,0x6c,0x69,0x64])&&_0xfa21ec();}function _0x463272(){const _0xf8c613=window[_0x37a0ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37a0ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37a0ba([0x6e,0x6f,0x77])]())[_0x37a0ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37a0ba([0x2e]),'');let _0x2495b9=_0x37a0ba([0x75]);for(let _0x133ede=0x0;_0x133ede<_0xf8c613[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x133ede+=0x2){let _0x57df5a=window[_0x37a0ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8c613[_0x37a0ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x133ede,_0x133ede+0x2));_0x57df5a>=_0xd3eb6b[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57df5a-=_0xd3eb6b[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2495b9+=_0xd3eb6b[_0x57df5a];}return _0x2495b9;}function _0x4d3ea8(){const _0x8f62e2=_0xd7e8af[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e]));if(0x3!=_0x8f62e2[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec0bf(_0x8f62e2[0x1]);function _0x4ec0bf(_0x597547){const _0x30f515=_0x3ea55a(_0x597547);return _0x30f515&&_0x5b217e()?_0x30f515:null;function _0x5b217e(){const _0x28a3bc=_0x30f515[_0x37a0ba([0x6a,0x74,0x69])],_0x336284=window[_0x37a0ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28a3bc[_0x37a0ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28a3bc[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6621ff={..._0x30f515,[_0x37a0ba([0x6a,0x74,0x69])]:_0x28a3bc[_0x37a0ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28a3bc[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6621ff[_0x37a0ba([0x76,0x63])],_0x32de7c(_0x6621ff)==_0x336284;}}}async function _0x32c459(){let _0x4fca66=!0x0;try{const _0x57d093=_0xd7e8af[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e])),[_0x460164,_0x4047ae,_0x1ecb83]=_0x57d093;return _0x2c5296(_0x460164),await _0x3a10ae(_0x460164,_0x4047ae,_0x1ecb83),_0x4fca66;}catch{return!0x1;}function _0x2c5296(_0x36d7c3){const _0x5a425f=_0x3ea55a(_0x36d7c3);_0x5a425f&&_0x5a425f[_0x37a0ba([0x61,0x6c,0x67])]==_0x37a0ba([0x45,0x53,0x32,0x35,0x36])||(_0x4fca66=!0x1);}async function _0x3a10ae(_0x1aef65,_0x27f598,_0x142f8e){const _0x1c9149=window[_0x37a0ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37a0ba([0x66,0x72,0x6f,0x6d])](_0x2703b9(_0x142f8e),_0x2ef533=>_0x2ef533[_0x37a0ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7a4680=new window[(_0x37a0ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37a0ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1aef65+_0x37a0ba([0x2e])+_0x27f598),_0x59e500=window[_0x37a0ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37a0ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59e500)return;const _0x557377=await _0x59e500[_0x37a0ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37a0ba([0x6a,0x77,0x6b]),_0x24c199,{[_0x37a0ba([0x6e,0x61,0x6d,0x65])]:_0x37a0ba([0x45,0x43,0x44,0x53,0x41]),[_0x37a0ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37a0ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37a0ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59e500[_0x37a0ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37a0ba([0x6e,0x61,0x6d,0x65])]:_0x37a0ba([0x45,0x43,0x44,0x53,0x41]),[_0x37a0ba([0x68,0x61,0x73,0x68])]:{[_0x37a0ba([0x6e,0x61,0x6d,0x65])]:_0x37a0ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x557377,_0x1c9149,_0x7a4680)||(_0x4fca66=!0x1);}}function _0x3ea55a(_0x1ec011){return _0x1ec011[_0x37a0ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37a0ba([0x65,0x79]))?JSON[_0x37a0ba([0x70,0x61,0x72,0x73,0x65])](_0x2703b9(_0x1ec011)):null;}function _0x2703b9(_0x390f0e){return window[_0x37a0ba([0x61,0x74,0x6f,0x62])](_0x390f0e[_0x37a0ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37a0ba([0x2b]))[_0x37a0ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37a0ba([0x2f])));}function _0x32de7c(_0x12bbe5){let _0x3115e7=0x1505;function _0x2bc7e2(_0x4293ce){for(let _0x175e63=0x0;_0x175e63<_0x4293ce[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x175e63++){const _0x4ea50e=_0x4293ce[_0x37a0ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x175e63);_0x3115e7=(_0x3115e7<<0x5)+_0x3115e7+_0x4ea50e,_0x3115e7&=_0x3115e7;}}function _0x91bbe8(_0x4e310e){Array[_0x37a0ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e310e)?_0x4e310e[_0x37a0ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x91bbe8):_0x4e310e&&typeof _0x4e310e==_0x37a0ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37a0ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e310e)[_0x37a0ba([0x73,0x6f,0x72,0x74])]()[_0x37a0ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37b971,_0x4a30c4])=>{_0x2bc7e2(_0x37b971),_0x91bbe8(_0x4a30c4);}):_0x2bc7e2(window[_0x37a0ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e310e));}return _0x91bbe8(_0x12bbe5),_0x3115e7>>>0x0;}function _0x3b31ed(_0x37b15f){return _0x37b15f[_0x37a0ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37a0ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37a0ba([0x30]));}function _0x48efe(_0x29f0f9){return _0x29f0f9[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37a0ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37a0ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x16f812(){}function _0x37a0ba(_0x335f71){return _0x335f71['map'](_0x19974a=>String['fromCharCode'](_0x19974a))['join']('');}_0xeadcdf(await _0x4afa2e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x508717){const {plugins:_0x277c3a,editing:_0x3430ac,model:_0x1684b9}=this['editor'],_0x2a3f11=_0x277c3a['get'](_0x426dc2)['getFootnote'](_0x508717);return!!_0x2a3f11&&(_0x1684b9['change'](_0x2e8a0f=>{_0x2e8a0f['setSelection'](_0x2e8a0f['createPositionAt'](_0x2a3f11['definition'],'end'));}),_0x3430ac['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x279b35){const {plugins:_0x584fd4,editing:_0x487c2d,model:_0xaa867b}=this['editor'],_0x1d398=_0x584fd4['get'](_0x426dc2)['getFootnote'](_0x279b35);return!!_0x1d398&&(_0xaa867b['change'](_0x4814fb=>{_0x4814fb['setSelection'](_0x1d398['reference'],'on');}),_0x487c2d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4e5bd0}=this['editor']['model'],_0x3163d7=this['editor']['config']['get']('footnotes.multiBlock');_0x4e5bd0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4e5bd0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4e5bd0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3163d7?_0x4e5bd0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4e5bd0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4e5bd0['addChildCheck'](_0x5c9550=>{for(const _0x26f8e1 of _0x5c9550)if('footnoteDefinition'===_0x26f8e1['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1e3af5}=this,{conversion:_0x2aa4b1,editing:_0x3cddec}=_0x1e3af5,{t:t}=_0x1e3af5['locale'];_0x2aa4b1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2fb0f2,{writer:_0x396605,consumable:_0x13bbb9})=>{const _0x2ed422=_0x2fb0f2['getChild'](0x0);if(!_0x2ed422||!_0x2ed422['is']('element','a'))return null;const _0x284199=_0x2ed422['getAttribute']('href')||'';if(!_0x284199['startsWith']('#'))return null;const _0x4d292b=_0x284199['replace'](/^#/,'');if(!_0x4d292b)return null;_0x13bbb9['consume'](_0x2ed422,{'name':!0x0,'attributes':['href']});for(const {item:_0x23970e}of _0x3cddec['view']['createRangeIn'](_0x2ed422))_0x23970e['is']('$textProxy')?_0x13bbb9['consume'](_0x23970e['textNode'],{'name':!0x0}):_0x23970e['is']('element')&&_0x13bbb9['consume'](_0x23970e,{'name':!0x0});return _0x396605['createElement']('footnoteRef',{'footnoteId':_0x4d292b});}}),_0x2aa4b1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1b5988,{writer:_0x5567b2})=>b(_0x1b5988,_0x5567b2)}),_0x2aa4b1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xa78e3e,{writer:_0x17bf07})=>{const _0x51a937=_0xa78e3e['getAttribute']('footnoteCounter');return _0x4d4b41(b(_0xa78e3e,_0x17bf07),_0x17bf07,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x51a937)});}});}['_defineDefinitionsConverters'](){const {editor:_0x38a6fe}=this,{t:t}=_0x38a6fe['locale'],{conversion:_0x1e63e7}=_0x38a6fe;_0x1e63e7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e63e7['for']('upcast')['add'](_0xdb29e5=>{_0xdb29e5['on']('element:ol',(_0x55e39a,_0x4ebc1d,_0xd1ab97)=>{const _0xe6050d=_0x4ebc1d['viewItem'];if(!_0xe6050d['hasClass']('footnotes-list')||!_0x4ebc1d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xd1ab97['consumable']['consume'](_0xe6050d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x357f2e,modelCursor:_0x1dd95c}=_0xd1ab97['convertChildren'](_0x4ebc1d['viewItem'],_0x4ebc1d['modelCursor']);_0x4ebc1d['modelRange']=_0x357f2e,_0x4ebc1d['modelCursor']=_0x1dd95c;}),_0xdb29e5['on']('element:hr',(_0x4ef132,_0x5f3aba,_0x1c91e7)=>{const _0x58b92c=_0x5f3aba['viewItem'];_0x58b92c['hasClass']('footnotes-divider')&&_0x5f3aba['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1c91e7['consumable']['consume'](_0x58b92c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e63e7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x446a15,{writer:_0x423166})=>D(_0x423166)}),_0x1e63e7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x34eb02,{writer:_0x5d3f67})=>{const _0x4d6afb=D(_0x5d3f67,{'data-footnotes-list-label':t('Footnotes')}),_0x249e73=_0x4d4b41(_0x4d6afb,_0x5d3f67,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5d3f67['setCustomProperty']('footnotesDefinitions',!0x0,_0x249e73),_0x249e73;}});}['_defineDefinitionConverters'](){const {editor:_0x2f10b5}=this,{conversion:_0x5ce85e,locale:_0x3e560b}=_0x2f10b5,_0x43e2dc=_0x2f10b5['config']['get']('footnotes.multiBlock');_0x5ce85e['for']('upcast')['add'](_0xf44b8d=>{_0xf44b8d['on']('element:li',(_0x438a58,_0x222e99,_0x582b28)=>{const _0x229500=_0x222e99['viewItem'];if(!_0x229500['hasClass']('footnote-definition')||!_0x229500['getAttribute']('id'))return;const _0x130fab=_0x229500['parent'];if(!_0x130fab['is']('element','ol')||!_0x130fab['hasClass']('footnotes-list'))return;if(!_0x582b28['consumable']['test'](_0x229500,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x334ab2=_0x582b28['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x229500['getAttribute']('id')});if(!_0x582b28['safeInsert'](_0x334ab2,_0x222e99['modelCursor']))return;_0x582b28['consumable']['consume'](_0x229500,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x34d0ae=Array['from'](_0x229500['getChildren']())['find'](_0x4b556e=>_0x4b556e['is']('element')&&_0x4b556e['hasClass']('footnote-content'));for(const _0x47ccdf of _0x229500['getChildren']())_0x47ccdf['is']('element')&&(_0x582b28['consumable']['consume'](_0x47ccdf,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x582b28['consumable']['consume'](_0x47ccdf,{'name':!0x0,'classes':'footnote-content'}));if(_0x34d0ae){if(_0x43e2dc)_0x582b28['convertChildren'](_0x34d0ae,_0x334ab2);else{const _0x33c67f=_0x582b28['writer']['createElement']('footnoteInlineContent');_0x582b28['writer']['insert'](_0x33c67f,_0x334ab2),_0x582b28['convertChildren'](_0x34d0ae,_0x33c67f);}}_0x582b28['updateConversionResult'](_0x334ab2,_0x222e99);});}),_0x5ce85e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c92da,{writer:_0x2c5a7f})=>y(_0x3c92da,_0x2c5a7f,_0x3e560b,{'dataPipeline':!0x0})}),_0x5ce85e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a9712,{writer:_0x35472f})=>y(_0x4a9712,_0x35472f,_0x3e560b)});}['_defineBogusParagraphConverters'](){const {editor:_0x41dc30}=this,{conversion:_0x3a2e3d}=_0x41dc30;_0x41dc30['config']['get']('footnotes.multiBlock')?(_0x3a2e3d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3a2e3d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x41dc30['model']['document'],'change:data',()=>{!function(_0x21e494,_0x4d9f3f){const _0x5423f2=_0x21e494['document']['differ'],_0x65a7d9=new Set();for(const _0x588add of _0x5423f2['getChanges']()){const _0x303b72='attribute'==_0x588add['type']?_0x588add['range']['start']['parent']:_0x588add['position']['parent'];_0x303b72['is']('element','footnoteDefinition')&&_0x65a7d9['add'](_0x303b72);}for(const _0x56b012 of _0x65a7d9['values']()){const _0x4a73e9=Array['from'](_0x56b012['getChildren']())['filter'](_0x1c4d55=>v(_0x1c4d55,_0x4d9f3f['mapper']));for(const _0x5ecae3 of _0x4a73e9)_0x4d9f3f['reconvertItem'](_0x5ecae3);}}(_0x41dc30['model'],_0x41dc30['editing']);})):(_0x3a2e3d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3a2e3d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x23fa98,{writer:_0x1b1d82})=>{const _0x1381b0=_0x1b1d82['createContainerElement']('span');return _0x1b1d82['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1381b0),_0x1381b0;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4ef225}=this,{editing:_0x8324c7,t:t}=_0x4ef225,_0x1e92d4=_0x4ef225['model']['document']['selection'];_0x4ef225['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4ef225['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x8324c7['view']['document'],'enter',(_0x26d382,_0x1d7fc7)=>{const _0x42a196=function(_0x2ca918){const _0x2ef6d0=_0x2ca918['getSelectedElement']();if(_0x2ef6d0?.['is']('element','footnoteRef'))return _0x2ef6d0;return null;}(_0x1e92d4);if(_0x42a196){const _0x2f7ec9=_0x42a196['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2f7ec9),_0x1d7fc7['preventDefault'](),_0x26d382['stop']();}},{'context':_0x561c95});}['_defineClickHandlers'](){const {editor:_0x1f5f68}=this,{editing:_0x12eaef}=_0x1f5f68;_0x1f5f68['editing']['view']['addObserver'](_0x54fede),_0x1f5f68['editing']['view']['addObserver'](_0x2a7238);let _0x59e87b=!0x1;this['listenTo'](_0x12eaef['view']['document'],'pointerdown',(_0x205093,_0x473656)=>{const {target:_0x92854f}=_0x473656,_0x281f40=_0x12eaef['view']['document']['selection'];_0x59e87b=!!(_0x92854f?.['is']('element','a')&&_0x92854f['parent']?.['is']('element','sup')&&_0x92854f['parent']['hasClass']('footnote'))&&_0x281f40['getSelectedElement']()===_0x92854f['parent'];},{'priority':'high'}),this['listenTo'](_0x12eaef['view']['document'],'click',(_0x3e5405,_0x13053e)=>{const {target:_0x2c7966}=_0x13053e;if(!_0x2c7966?.['is']('element','a'))return;if(_0x2c7966['parent']?.['is']('element','sup')&&_0x2c7966['parent']['hasClass']('footnote')&&!_0x59e87b)return void _0x13053e['preventDefault']();let _0x24211e=_0x2c7966['getAttribute']('href');if(!_0x24211e?.['startsWith']('#'))return;_0x24211e=_0x24211e['slice'](0x1);let _0x58b08d=!0x1;(_0x24211e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x24211e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x24211e))&&(_0x58b08d=!0x0),_0x58b08d&&(_0x13053e['preventDefault'](),_0x3e5405['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5a897a}={}){return(_0xfb1bf9,{writer:_0x45bee4})=>{if(!g(_0xfb1bf9))return null;if(!_0x5a897a)return _0x45bee4['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3521da=_0x45bee4['createContainerElement']('p');return _0x45bee4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3521da),_0x3521da;};}function g(_0x3c6a37){const {parent:_0x70a38e}=_0x3c6a37;if(!_0x70a38e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x70a38e['childCount'])return!0x1;for(const _0x5653e9 of _0x3c6a37['getAttributeKeys']())if(!_0x5653e9['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5653e9)return!0x1;return!0x0;}function v(_0xe1146f,_0x2f38ce){if(!_0xe1146f['is']('element','paragraph'))return!0x1;const _0x5dccaf=_0x2f38ce['toViewElement'](_0xe1146f);return!!_0x5dccaf&&g(_0xe1146f)!==_0x5dccaf['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2a327d){return _0x561c95(_0x2a327d)&&_0x2a327d['is']('containerElement')&&!!_0x2a327d['getCustomProperty']('footnotesDefinitions');}function D(_0x1559da,_0x5d1784={}){const _0x20f888=_0x1559da['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x593ae0=_0x1559da['createContainerElement']('ol',{'class':'footnotes-list'},_0x1559da['createSlot']());return _0x1559da['createContainerElement']('div',{'class':'footnotes',..._0x5d1784},[_0x20f888,_0x593ae0]);}function b(_0x464976,_0x495cac){const _0x6459d2=_0x464976['getAttribute']('footnoteId'),_0x45cd7c=_0x464976['getAttribute']('footnoteCounter'),_0x429867=_0x495cac['createUIElement']('a',{'href':'#'+_0x6459d2},function(_0x1c81a4){const _0x20dab1=this['toDomElement'](_0x1c81a4);return _0x20dab1['textContent']=_0x45cd7c,_0x20dab1;}),_0x15166d=_0x495cac['createContainerElement']('sup',{'id':'ref-'+_0x6459d2,'class':'footnote'},[_0x429867]);return _0x15166d['getFillerOffset']=()=>null,_0x15166d;}function y(_0x4af727,_0x3ed974,_0xffce70,{dataPipeline:_0x48d2b1}={}){const {t:t}=_0xffce70,_0x5508df=_0x4af727['getAttribute']('footnoteId'),_0x3cc667=_0x3ed974['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5508df},function(_0x429215){const _0x214421=this['toDomElement'](_0x429215);return _0x214421['innerText']='^',_0x214421;}),_0x12e40a=_0x48d2b1?_0x3ed974['createContainerElement']('div',{'class':'footnote-content'}):_0xf07c40(_0x3ed974['createEditableElement']('div',{'class':'footnote-content'}),_0x3ed974,{'label':t('Footnote\x20content.')});return _0x3ed974['insert'](_0x3ed974['createPositionAt'](_0x12e40a,0x0),_0x3ed974['createSlot']()),_0x3ed974['createContainerElement']('li',{'class':'footnote-definition','id':_0x5508df},[_0x3cc667,_0x12e40a]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x569845=_0x5691;(function(_0x19e627,_0x1e1df2){const _0x4358c4=_0x5691,_0x2f4b8f=_0x19e627();while(!![]){try{const _0x57ef61=-parseInt(_0x4358c4(0x1a9))/0x1*(-parseInt(_0x4358c4(0x1a3))/0x2)+-parseInt(_0x4358c4(0x1a4))/0x3*(-parseInt(_0x4358c4(0x1ab))/0x4)+-parseInt(_0x4358c4(0x1a2))/0x5+parseInt(_0x4358c4(0x1ad))/0x6*(-parseInt(_0x4358c4(0x1b1))/0x7)+parseInt(_0x4358c4(0x1aa))/0x8*(parseInt(_0x4358c4(0x1b3))/0x9)+-parseInt(_0x4358c4(0x1a0))/0xa*(-parseInt(_0x4358c4(0x1b0))/0xb)+-parseInt(_0x4358c4(0x1b2))/0xc*(parseInt(_0x4358c4(0x19e))/0xd);if(_0x57ef61===_0x1e1df2)break;else _0x2f4b8f['push'](_0x2f4b8f['shift']());}catch(_0x240e3e){_0x2f4b8f['push'](_0x2f4b8f['shift']());}}}(_0x3ed4,0xe60ef));import{Command as _0x3eccd2}from'ckeditor5/src/core.js';function _0x5691(_0x53df0c,_0x3700a6){const _0x3ed438=_0x3ed4();return _0x5691=function(_0x569161,_0x276777){_0x569161=_0x569161-0x19c;let _0x1f1313=_0x3ed438[_0x569161];return _0x1f1313;},_0x5691(_0x53df0c,_0x3700a6);}function _0x3ed4(){const _0x5f4240=['223116VjhCBz','110709fqjyyC','value','get','_updateFootnotesCounters','isInteger','execute','13rZJZSl','isEnabled','8450XvIlTl','change','2494865dwXTRM','4zJYEWW','11094dkEbTb','refresh','getFootnotesDefinitionsObjectElement','getAttribute','setAttribute','351929XoqXcX','88rSiMIc','1460aLHcDM','model','4938dYGZaX','plugins','footnotesListStart','7469UbrrEz','11081fcYRtl'];_0x3ed4=function(){return _0x5f4240;};return _0x3ed4();}import{FootnotesTracker as _0x212fdd}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x3eccd2{[_0x569845(0x1a5)](){const _0x58ca70=_0x569845,{editor:_0x5c079b}=this,_0x2dfaaf=_0x5c079b[_0x58ca70(0x1ae)][_0x58ca70(0x1b5)](_0x212fdd)[_0x58ca70(0x1a6)]();this[_0x58ca70(0x19f)]=!!_0x2dfaaf,this[_0x58ca70(0x1b4)]=_0x2dfaaf?.[_0x58ca70(0x1a7)](_0x58ca70(0x1af))??null;}[_0x569845(0x19d)]({value:_0x38fe8c}){const _0x4542f2=_0x569845,{editor:_0x295566}=this,_0x40a788=_0x295566[_0x4542f2(0x1ae)][_0x4542f2(0x1b5)](_0x212fdd),_0x1f2edb=_0x40a788[_0x4542f2(0x1a6)]();_0x1f2edb&&Number[_0x4542f2(0x19c)](_0x38fe8c)&&_0x295566[_0x4542f2(0x1ac)][_0x4542f2(0x1a1)](_0x25c741=>{const _0x33b5f4=_0x4542f2;_0x25c741[_0x33b5f4(0x1a8)](_0x33b5f4(0x1af),_0x38fe8c,_0x1f2edb),_0x40a788[_0x33b5f4(0x1b6)](_0x25c741);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x16e7d4=_0x44cc;(function(_0xee8eca,_0x25f9af){const _0x34aaef=_0x44cc,_0x317985=_0xee8eca();while(!![]){try{const _0x1a050a=-parseInt(_0x34aaef(0x110))/0x1+parseInt(_0x34aaef(0x117))/0x2+parseInt(_0x34aaef(0x104))/0x3+-parseInt(_0x34aaef(0x101))/0x4*(parseInt(_0x34aaef(0x111))/0x5)+parseInt(_0x34aaef(0x108))/0x6*(parseInt(_0x34aaef(0x10f))/0x7)+parseInt(_0x34aaef(0x113))/0x8+parseInt(_0x34aaef(0x10a))/0x9*(-parseInt(_0x34aaef(0x118))/0xa);if(_0x1a050a===_0x25f9af)break;else _0x317985['push'](_0x317985['shift']());}catch(_0x3c79b3){_0x317985['push'](_0x317985['shift']());}}}(_0x1184,0xc8be7));function _0x44cc(_0x5102c2,_0x3c3958){const _0x1184d9=_0x1184();return _0x44cc=function(_0x44cc35,_0x3a3c1f){_0x44cc35=_0x44cc35-0x101;let _0x33c1fc=_0x1184d9[_0x44cc35];return _0x33c1fc;},_0x44cc(_0x5102c2,_0x3c3958);}import{Command as _0x547d01}from'ckeditor5/src/core.js';function _0x1184(){const _0x34e97e=['1044842xYzhId','20wAGekK','11892KZiMfJ','get','includes','7893MNhSih','getAttribute','getFootnotesDefinitionsObjectElement','change','1234524zbVdhJ','_updateFootnotesCounters','6700266nKnucJ','execute','model','value','isEnabled','14gskuDE','56688xYXPJt','190NexUTo','plugins','12354376dJECks','footnotesListStyle','refresh','setAttribute'];_0x1184=function(){return _0x34e97e;};return _0x1184();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x435850}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0xa4a0e2}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x547d01{[_0x16e7d4(0x115)](){const _0x1fcf95=_0x16e7d4,{editor:_0x6fe11e}=this,_0x1845cd=_0x6fe11e[_0x1fcf95(0x112)][_0x1fcf95(0x102)](_0xa4a0e2)[_0x1fcf95(0x106)]();this[_0x1fcf95(0x10e)]=!!_0x1845cd,this[_0x1fcf95(0x10d)]=_0x1845cd?.[_0x1fcf95(0x105)](_0x1fcf95(0x114))??null;}[_0x16e7d4(0x10b)]({value:_0x1a7e6a}){const _0xc9e0c0=_0x16e7d4,{editor:_0xbea800}=this,_0x453a7e=_0xbea800[_0xc9e0c0(0x112)][_0xc9e0c0(0x102)](_0xa4a0e2),_0x1d99cd=_0x453a7e[_0xc9e0c0(0x106)]();_0x1d99cd&&_0x435850[_0xc9e0c0(0x103)](_0x1a7e6a)&&_0xbea800[_0xc9e0c0(0x10c)][_0xc9e0c0(0x107)](_0x2cfdd9=>{const _0x1533b3=_0xc9e0c0;_0x2cfdd9[_0x1533b3(0x116)](_0x1533b3(0x114),_0x1a7e6a,_0x1d99cd),_0x453a7e[_0x1533b3(0x109)](_0x2cfdd9);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x442f(_0x25408b,_0x45047d){const _0x46c78e=_0x46c7();return _0x442f=function(_0x442fb4,_0x337bf8){_0x442fb4=_0x442fb4-0x170;let _0x1362df=_0x46c78e[_0x442fb4];return _0x1362df;},_0x442f(_0x25408b,_0x45047d);}const _0x7ea409=_0x442f;(function(_0x5a9869,_0x4f028a){const _0x15c453=_0x442f,_0xa36fb2=_0x5a9869();while(!![]){try{const _0x107b54=parseInt(_0x15c453(0x17c))/0x1+-parseInt(_0x15c453(0x180))/0x2*(parseInt(_0x15c453(0x17b))/0x3)+parseInt(_0x15c453(0x172))/0x4*(parseInt(_0x15c453(0x182))/0x5)+parseInt(_0x15c453(0x17f))/0x6+-parseInt(_0x15c453(0x175))/0x7+-parseInt(_0x15c453(0x170))/0x8*(parseInt(_0x15c453(0x171))/0x9)+-parseInt(_0x15c453(0x17e))/0xa*(parseInt(_0x15c453(0x174))/0xb);if(_0x107b54===_0x4f028a)break;else _0xa36fb2['push'](_0xa36fb2['shift']());}catch(_0x2c176b){_0xa36fb2['push'](_0xa36fb2['shift']());}}}(_0x46c7,0x24061));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x7ea409(0x176),_0x7ea409(0x17a),_0x7ea409(0x179),_0x7ea409(0x181),_0x7ea409(0x173),_0x7ea409(0x178),_0x7ea409(0x17d),_0x7ea409(0x177)];function _0x46c7(){const _0x2fe23f=['upper-latin','1215275hBdTEf','2024GEdLcW','4869zKYMbX','4DBAmeL','lower-alpha','11afDMSy','323652hbtOAg','decimal','upper-roman','upper-alpha','lower-latin','decimal-leading-zero','3120WqcrWq','195612kTlMUd','lower-roman','1111050XJwCFC','99720rhdHSW','26eVKqsK'];_0x46c7=function(){return _0x2fe23f;};return _0x46c7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x33697c=_0x4173;(function(_0x1d4f5b,_0x45ff92){const _0x36799f=_0x4173,_0x48f401=_0x1d4f5b();while(!![]){try{const _0x2352c3=-parseInt(_0x36799f(0x1cd))/0x1+parseInt(_0x36799f(0x194))/0x2*(-parseInt(_0x36799f(0x1db))/0x3)+-parseInt(_0x36799f(0x1ca))/0x4*(parseInt(_0x36799f(0x1c8))/0x5)+parseInt(_0x36799f(0x1ae))/0x6+-parseInt(_0x36799f(0x1ab))/0x7*(parseInt(_0x36799f(0x19c))/0x8)+parseInt(_0x36799f(0x1af))/0x9*(-parseInt(_0x36799f(0x1c0))/0xa)+parseInt(_0x36799f(0x1c5))/0xb*(parseInt(_0x36799f(0x198))/0xc);if(_0x2352c3===_0x45ff92)break;else _0x48f401['push'](_0x48f401['shift']());}catch(_0x1713f8){_0x48f401['push'](_0x48f401['shift']());}}}(_0x5a46,0xbd734));function _0x4173(_0x226329,_0x556875){const _0x5a463c=_0x5a46();return _0x4173=function(_0x417342,_0x139cf){_0x417342=_0x417342-0x180;let _0x382e1c=_0x5a463c[_0x417342];return _0x382e1c;},_0x4173(_0x226329,_0x556875);}import{Plugin as _0x21bd6b}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x39b34e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x1344e5}from'./commands/footnotesstartcommand.js';function _0x5a46(){const _0x479b3c=['upcast','pluginName','insert','2YbQIZo','init','removeAttribute','setAttribute','2126916Fdkevz','parseInt','footnotes.footnotesProperties.defaultListStyle','isNaN','120bvdYYs','hasClass','isOfficialPlugin','decimal','decimal-leading-zero','checkAttribute','getChildren','hasAttribute','footnotes-list','commands','fromCharCode','upper-roman','_getDefaultStartIndex','define','_defineSchema','44065QvmVlB','isPremiumPlugin','lower-latin','4981188DaeVGJ','9nEYvdL','nodeAfter','_getDefaultListStyle','document','_updateFootnotesCounters','_defineFormatter','createRangeOn','element','from','editor','name','toLowerCase','$text','element:ol','removeStyle','start','parent','14951770KsCteB','differ','consumable','getStyle','writer','209DFtymU','lower-alpha','toViewElement','3898540mqqBDu','plugins','4WPKGrb','registerPostFixer','footnotesStart','87814fNfpRi','upper-alpha','upper-latin','list-style-type','model','find','attribute:footnotesListStart:footnotesDefinitions','item','getChanges','_defineConverters','add','get','modelCursor','footnotesStyle','2894109PlcUik','getAttribute','mapper','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','for','getItems','type','downcast','toUpperCase','consume','schema','viewItem','padStart','_definePostfixer','extend','footnotesDefinitions','floor','lower-roman','config','setStyle','FootnotesPropertiesEditing','position','_formatFootnoteListValue','requires','max','setFootnoteFormatter','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStyle'];_0x5a46=function(){return _0x479b3c;};return _0x5a46();}import{FootnotesTracker as _0x2dca82}from'../footnotestracker.js';import{FootnotesEditing as _0x4e6222}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x21bd6b{static get[_0x33697c(0x192)](){const _0x199c69=_0x33697c;return _0x199c69(0x189);}static get[_0x33697c(0x18c)](){return[_0x4e6222,_0x2dca82];}static get[_0x33697c(0x19e)](){return!0x0;}static get[_0x33697c(0x1ac)](){return!0x0;}[_0x33697c(0x195)](){const _0x234c71=_0x33697c,{editor:_0x217636}=this;_0x217636[_0x234c71(0x187)][_0x234c71(0x1a9)](_0x234c71(0x19a),_0x234c71(0x19f)),_0x217636[_0x234c71(0x187)][_0x234c71(0x1a9)](_0x234c71(0x1de),0x1),_0x217636[_0x234c71(0x1a5)][_0x234c71(0x1d7)](_0x234c71(0x1da),new _0x39b34e(_0x217636)),_0x217636[_0x234c71(0x1a5)][_0x234c71(0x1d7)](_0x234c71(0x1cc),new _0x1344e5(_0x217636)),this[_0x234c71(0x1aa)](),this[_0x234c71(0x1d6)](),this[_0x234c71(0x1b4)](),this[_0x234c71(0x182)]();}[_0x33697c(0x1aa)](){const _0x169dbc=_0x33697c,{editor:_0x5470f6}=this,{schema:_0x4239f0}=_0x5470f6[_0x169dbc(0x1d1)];_0x4239f0[_0x169dbc(0x183)](_0x169dbc(0x184),{'allowAttributes':[_0x169dbc(0x190),_0x169dbc(0x1df)]});}[_0x33697c(0x1d6)](){const _0x25b370=_0x33697c,{editor:_0x5906e4}=this,{conversion:_0x25fde7,model:_0x787ef3}=_0x5906e4,{schema:_0x2e7391}=_0x787ef3;_0x25fde7[_0x25b370(0x1e0)](_0x25b370(0x191))[_0x25b370(0x1d7)](_0x235eaf=>{const _0x25f02e=_0x25b370;_0x235eaf['on'](_0x25f02e(0x1bc),(_0x54ca85,_0x497836,_0x33fef5)=>{const _0x103f89=_0x25f02e,_0x38904a=_0x497836[_0x103f89(0x180)],_0x288e6d=_0x497836[_0x103f89(0x1d9)]?.[_0x103f89(0x1bf)];_0x38904a[_0x103f89(0x19d)](_0x103f89(0x1a4))&&_0x288e6d?.['is'](_0x103f89(0x1b6),_0x103f89(0x184))&&(function(_0x3fa1b6,_0x331624,_0x51a910,_0x37a13f){const _0x3538af=_0x103f89;if(!_0x37a13f[_0x3538af(0x1a1)](_0x331624,_0x3538af(0x1df)))return;let _0x58547b=0x1;const _0x3dda13=_0x51a910[_0x3538af(0x1c2)][_0x3538af(0x1e5)](_0x3fa1b6,{'attributes':_0x3538af(0x1be)});if(_0x3dda13){const _0x57787b=Number[_0x3538af(0x199)](_0x3fa1b6[_0x3538af(0x1dc)](_0x3538af(0x1be)),0xa);Number[_0x3538af(0x19b)](_0x57787b)||(_0x58547b=_0x57787b);}!_0x3dda13&&_0x331624[_0x3538af(0x1a3)](_0x3538af(0x1df))||_0x51a910[_0x3538af(0x1c4)][_0x3538af(0x197)](_0x3538af(0x1df),_0x58547b,_0x331624);}(_0x38904a,_0x288e6d,_0x33fef5,_0x2e7391),function(_0x298d16,_0x4195e9,_0x534aa9,_0x112889){const _0x2fb417=_0x103f89;if(!_0x112889[_0x2fb417(0x1a1)](_0x4195e9,_0x2fb417(0x190)))return;let _0x4b1ad4=_0x2fb417(0x19f),_0x438bc2=!0x1;if(_0x534aa9[_0x2fb417(0x1c2)][_0x2fb417(0x1e5)](_0x298d16,{'attributes':_0x2fb417(0x1e2)})){const _0x426838={0x1:_0x2fb417(0x19f),'a':_0x2fb417(0x1c6),'A':_0x2fb417(0x1ce),'i':_0x2fb417(0x186),'I':_0x2fb417(0x1a7)}[_0x298d16[_0x2fb417(0x1dc)](_0x2fb417(0x1e2))];_0x426838&&(_0x4b1ad4=_0x426838),_0x438bc2=!0x0;}_0x534aa9[_0x2fb417(0x1c2)][_0x2fb417(0x1e5)](_0x298d16,{'styles':_0x2fb417(0x1d0)})&&(_0x4b1ad4=function(_0x26aaec){const _0xe1de24=_0x2fb417;switch(_0x26aaec){case _0xe1de24(0x1c6):return _0xe1de24(0x1ad);case _0xe1de24(0x1ce):return _0xe1de24(0x1cf);default:return _0x26aaec;}}(_0x298d16[_0x2fb417(0x1c3)](_0x2fb417(0x1d0))),_0x438bc2=!0x0),!_0x438bc2&&_0x4195e9[_0x2fb417(0x1a3)](_0x2fb417(0x190))||_0x534aa9[_0x2fb417(0x1c4)][_0x2fb417(0x197)](_0x2fb417(0x190),_0x4b1ad4,_0x4195e9);}(_0x38904a,_0x288e6d,_0x33fef5,_0x2e7391));});}),_0x25fde7[_0x25b370(0x1e0)](_0x25b370(0x1e3))[_0x25b370(0x1d7)](_0x32d261=>{const _0x446190=_0x25b370;_0x32d261['on'](_0x446190(0x1d3),(_0x24e87a,_0xe9a596,_0x2f9234)=>{const _0x32c949=_0x446190;if(!_0x2f9234[_0x32c949(0x1c2)][_0x32c949(0x1e5)](_0xe9a596[_0x32c949(0x1d4)],_0x24e87a[_0x32c949(0x1b9)]))return;const _0x5ab22a=M(_0xe9a596[_0x32c949(0x1d4)],_0x2f9234[_0x32c949(0x1dd)]),{attributeNewValue:_0x21a1b8}=_0xe9a596;null==_0x21a1b8||0x1===_0x21a1b8?_0x2f9234[_0x32c949(0x1c4)][_0x32c949(0x196)](_0x32c949(0x1be),_0x5ab22a):_0x2f9234[_0x32c949(0x1c4)][_0x32c949(0x197)](_0x32c949(0x1be),String(_0x21a1b8),_0x5ab22a);}),_0x32d261['on'](_0x446190(0x18f),(_0x367ed7,_0x1e55ab,_0x1bbb1a)=>{const _0x3f2fdd=_0x446190;if(!_0x1bbb1a[_0x3f2fdd(0x1c2)][_0x3f2fdd(0x1e5)](_0x1e55ab[_0x3f2fdd(0x1d4)],_0x367ed7[_0x3f2fdd(0x1b9)]))return;const _0x196fe4=M(_0x1e55ab[_0x3f2fdd(0x1d4)],_0x1bbb1a[_0x3f2fdd(0x1dd)]),{attributeNewValue:_0x5ef8ac}=_0x1e55ab;_0x5ef8ac&&_0x3f2fdd(0x19f)!==_0x5ef8ac?_0x1bbb1a[_0x3f2fdd(0x1c4)][_0x3f2fdd(0x188)](_0x3f2fdd(0x1d0),_0x5ef8ac,_0x196fe4):_0x1bbb1a[_0x3f2fdd(0x1c4)][_0x3f2fdd(0x1bd)](_0x3f2fdd(0x1d0),_0x196fe4);});});}[_0x33697c(0x182)](){const _0x2d3df7=_0x33697c,{editor:_0x2516dd}=this,{model:_0x13230b}=_0x2516dd,_0x3fbc24=_0x2516dd[_0x2d3df7(0x1c9)][_0x2d3df7(0x1d8)](_0x2dca82),_0x4f6bed=this[_0x2d3df7(0x1b1)](),_0x241a93=this[_0x2d3df7(0x1a8)]();_0x13230b[_0x2d3df7(0x1b2)][_0x2d3df7(0x1cb)](_0x4107b3=>{const _0xdeea59=_0x2d3df7,_0xb2a61b=_0x13230b[_0xdeea59(0x1b2)][_0xdeea59(0x1c1)][_0xdeea59(0x1d5)]();let _0x411b7a=!0x1;for(const _0x457bbc of _0xb2a61b){if(_0xdeea59(0x193)!==_0x457bbc[_0xdeea59(0x1e2)]||_0xdeea59(0x1bb)===_0x457bbc[_0xdeea59(0x1b9)])continue;const _0x498cb1=_0x13230b[_0xdeea59(0x1b5)](_0x457bbc[_0xdeea59(0x18a)][_0xdeea59(0x1b0)]);for(const _0x1afd18 of _0x498cb1[_0xdeea59(0x1e1)]())_0x1afd18['is'](_0xdeea59(0x1b6),_0xdeea59(0x184))&&(!_0x1afd18[_0xdeea59(0x1a3)](_0xdeea59(0x1df))&&_0x13230b[_0xdeea59(0x1e6)][_0xdeea59(0x1a1)](_0x1afd18,_0xdeea59(0x1df))&&(_0x4107b3[_0xdeea59(0x197)](_0xdeea59(0x1df),_0x241a93,_0x1afd18),_0x411b7a=!0x0),!_0x1afd18[_0xdeea59(0x1a3)](_0xdeea59(0x190))&&_0x13230b[_0xdeea59(0x1e6)][_0xdeea59(0x1a1)](_0x1afd18,_0xdeea59(0x190))&&(_0x4107b3[_0xdeea59(0x197)](_0xdeea59(0x190),_0x4f6bed,_0x1afd18),_0x411b7a=!0x0));}return _0x411b7a&&_0x3fbc24[_0xdeea59(0x1b3)](_0x4107b3),_0x411b7a;});}[_0x33697c(0x1b4)](){const _0x37f7db=_0x33697c,{editor:_0x536f2b}=this;_0x536f2b[_0x37f7db(0x1c9)][_0x37f7db(0x1d8)](_0x2dca82)[_0x37f7db(0x18e)](_0x13ffcb=>this[_0x37f7db(0x18b)](_0x13ffcb));}[_0x33697c(0x1b1)](){const _0x1764d4=_0x33697c;return this[_0x1764d4(0x1b8)][_0x1764d4(0x187)][_0x1764d4(0x1d8)](_0x1764d4(0x19a));}[_0x33697c(0x1a8)](){const _0x4637af=_0x33697c;return this[_0x4637af(0x1b8)][_0x4637af(0x187)][_0x4637af(0x1d8)](_0x4637af(0x1de));}[_0x33697c(0x18b)]({container:_0x47cf00,value:_0x396cbb,digits:_0x1015e4}){const _0x3a585f=_0x33697c,_0x126257=_0x47cf00[_0x3a585f(0x1dc)](_0x3a585f(0x190)),_0x438798=_0x47cf00[_0x3a585f(0x1dc)](_0x3a585f(0x1df)),_0x4b95f8=Math[_0x3a585f(0x185)](_0x396cbb)+(_0x438798??0x1)-0x1;switch(_0x126257){case _0x3a585f(0x1a0):return function(_0x48e7c1,_0x5ba175){const _0x4e2b0d=_0x3a585f;return String(_0x48e7c1)[_0x4e2b0d(0x181)](_0x5ba175,'0');}(_0x4b95f8,Math[_0x3a585f(0x18d)](0x2,_0x1015e4));case _0x3a585f(0x1c6):case _0x3a585f(0x1ad):return N(_0x4b95f8,!0x1);case _0x3a585f(0x1ce):case _0x3a585f(0x1cf):return N(_0x4b95f8,!0x0);case _0x3a585f(0x186):return X(_0x4b95f8,!0x1);case _0x3a585f(0x1a7):return X(_0x4b95f8,!0x0);default:return String(_0x4b95f8);}}}function M(_0x4e2ba1,_0x505625){const _0x4f5b86=_0x33697c,_0x37f130=_0x505625[_0x4f5b86(0x1c7)](_0x4e2ba1);return Array[_0x4f5b86(0x1b7)](_0x37f130[_0x4f5b86(0x1a2)]())[_0x4f5b86(0x1d2)](_0x364f41=>_0x364f41['is'](_0x4f5b86(0x1b6),'ol')&&_0x364f41[_0x4f5b86(0x19d)](_0x4f5b86(0x1a4)));}function N(_0x73fa39,_0x374416){const _0x2ac56=_0x33697c;let _0x52b93d='',_0x23b52f=_0x73fa39;for(;_0x23b52f>0x0;){const _0x12f5d0=(_0x23b52f-0x1)%0x1a;_0x52b93d=String[_0x2ac56(0x1a6)](0x61+_0x12f5d0)+_0x52b93d,_0x23b52f=Math[_0x2ac56(0x185)]((_0x23b52f-0x1)/0x1a);}return _0x374416?_0x52b93d[_0x2ac56(0x1e4)]():_0x52b93d;}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(_0x18241e,_0x30fee7){const _0x29e3ad=_0x33697c;let _0x3fbf61='',_0x499e08=_0x18241e;for(const {value:_0xd03a4c,numeral:_0x22b586}of V)for(;_0x499e08>=_0xd03a4c;)_0x3fbf61+=_0x22b586,_0x499e08-=_0xd03a4c;return _0x30fee7?_0x3fbf61:_0x3fbf61[_0x29e3ad(0x1ba)]();}
|
|
23
|
+
const _0x203d73=_0x47a0;function _0x25d5(){const _0x3a698c=['init','decimal-leading-zero','checkAttribute','floor','name','footnotesListStart','getChildren','padStart','937000UbueuR','upcast','type','footnotesStart','upper-roman','max','document','writer','lower-latin','_updateFootnotesCounters','registerPostFixer','upper-alpha','_formatFootnoteListValue','footnotesListStyle','footnotesStyle','187zKYOnF','get','find','2325696oxYkKM','item','toViewElement','parent','position','mapper','plugins','hasAttribute','consume','FootnotesPropertiesEditing','90140BzAyGn','footnotes-list','model','decimal','isNaN','removeAttribute','viewItem','attribute:footnotesListStyle:footnotesDefinitions','element','downcast','getChanges','657979BVRLzc','_getDefaultListStyle','define','footnotes.footnotesProperties.defaultListStyle','35196ZOQrEQ','upper-latin','2EIKzxQ','4588854dfzMJE','consumable','insert','isOfficialPlugin','add','for','1843860KssBgt','setAttribute','getItems','fromCharCode','_defineConverters','hasClass','footnotesDefinitions','requires','27RqvVSU','schema','_definePostfixer','removeStyle','footnotes.footnotesProperties.defaultStartIndex','lower-alpha','editor','start','getStyle','list-style-type','parseInt','isPremiumPlugin','7uEqxvB','lower-roman','15WrdoCA','pluginName','config','setFootnoteFormatter','setStyle','extend','_defineFormatter','differ','attribute:footnotesListStart:footnotesDefinitions','$text','commands','from','createRangeOn','toLowerCase','nodeAfter','_getDefaultStartIndex','getAttribute','_defineSchema','toUpperCase','element:ol','modelCursor'];_0x25d5=function(){return _0x3a698c;};return _0x25d5();}(function(_0x20748c,_0x251fa4){const _0x4bfc00=_0x47a0,_0x579d19=_0x20748c();while(!![]){try{const _0x42c0ab=parseInt(_0x4bfc00(0x19d))/0x1*(parseInt(_0x4bfc00(0x1a3))/0x2)+-parseInt(_0x4bfc00(0x1c0))/0x3*(-parseInt(_0x4bfc00(0x192))/0x4)+-parseInt(_0x4bfc00(0x1aa))/0x5+-parseInt(_0x4bfc00(0x1a4))/0x6*(parseInt(_0x4bfc00(0x1be))/0x7)+parseInt(_0x4bfc00(0x188))/0x8*(parseInt(_0x4bfc00(0x1b2))/0x9)+parseInt(_0x4bfc00(0x176))/0xa+-parseInt(_0x4bfc00(0x185))/0xb*(-parseInt(_0x4bfc00(0x1a1))/0xc);if(_0x42c0ab===_0x251fa4)break;else _0x579d19['push'](_0x579d19['shift']());}catch(_0x5d8e95){_0x579d19['push'](_0x579d19['shift']());}}}(_0x25d5,0x9f5e2));function _0x47a0(_0x55037a,_0x3c991c){const _0x25d5e6=_0x25d5();return _0x47a0=function(_0x47a0c1,_0xe83439){_0x47a0c1=_0x47a0c1-0x15b;let _0x535908=_0x25d5e6[_0x47a0c1];return _0x535908;},_0x47a0(_0x55037a,_0x3c991c);}import{Plugin as _0x4c26c7}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x24a2c0}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3f5132}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x288295}from'../footnotestracker.js';import{FootnotesEditing as _0x37e186}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4c26c7{static get[_0x203d73(0x1c1)](){const _0x523b41=_0x203d73;return _0x523b41(0x191);}static get[_0x203d73(0x1b1)](){return[_0x37e186,_0x288295];}static get[_0x203d73(0x1a7)](){return!0x0;}static get[_0x203d73(0x1bd)](){return!0x0;}[_0x203d73(0x16e)](){const _0x333cfa=_0x203d73,{editor:_0x1f01d3}=this;_0x1f01d3[_0x333cfa(0x15b)][_0x333cfa(0x19f)](_0x333cfa(0x1a0),_0x333cfa(0x195)),_0x1f01d3[_0x333cfa(0x15b)][_0x333cfa(0x19f)](_0x333cfa(0x1b6),0x1),_0x1f01d3[_0x333cfa(0x163)][_0x333cfa(0x1a8)](_0x333cfa(0x184),new _0x24a2c0(_0x1f01d3)),_0x1f01d3[_0x333cfa(0x163)][_0x333cfa(0x1a8)](_0x333cfa(0x179),new _0x3f5132(_0x1f01d3)),this[_0x333cfa(0x16a)](),this[_0x333cfa(0x1ae)](),this[_0x333cfa(0x15f)](),this[_0x333cfa(0x1b4)]();}[_0x203d73(0x16a)](){const _0x3cdaa0=_0x203d73,{editor:_0x3d5e07}=this,{schema:_0x3408e0}=_0x3d5e07[_0x3cdaa0(0x194)];_0x3408e0[_0x3cdaa0(0x15e)](_0x3cdaa0(0x1b0),{'allowAttributes':[_0x3cdaa0(0x183),_0x3cdaa0(0x173)]});}[_0x203d73(0x1ae)](){const _0x2dbef3=_0x203d73,{editor:_0x1abc0d}=this,{conversion:_0x16cc68,model:_0x338679}=_0x1abc0d,{schema:_0x4dcb32}=_0x338679;_0x16cc68[_0x2dbef3(0x1a9)](_0x2dbef3(0x177))[_0x2dbef3(0x1a8)](_0x40aeab=>{const _0x2b55c7=_0x2dbef3;_0x40aeab['on'](_0x2b55c7(0x16c),(_0x539e52,_0x45d9ac,_0x89efe5)=>{const _0xd0b4a=_0x2b55c7,_0x2d666e=_0x45d9ac[_0xd0b4a(0x198)],_0x1a6872=_0x45d9ac[_0xd0b4a(0x16d)]?.[_0xd0b4a(0x18b)];_0x2d666e[_0xd0b4a(0x1af)](_0xd0b4a(0x193))&&_0x1a6872?.['is'](_0xd0b4a(0x19a),_0xd0b4a(0x1b0))&&(function(_0x2a4a15,_0x4bf855,_0x883a8f,_0x2753e8){const _0x3c79a4=_0xd0b4a;if(!_0x2753e8[_0x3c79a4(0x170)](_0x4bf855,_0x3c79a4(0x173)))return;let _0x3dd461=0x1;const _0x5e8e32=_0x883a8f[_0x3c79a4(0x1a5)][_0x3c79a4(0x190)](_0x2a4a15,{'attributes':_0x3c79a4(0x1b9)});if(_0x5e8e32){const _0x2a4fa8=Number[_0x3c79a4(0x1bc)](_0x2a4a15[_0x3c79a4(0x169)](_0x3c79a4(0x1b9)),0xa);Number[_0x3c79a4(0x196)](_0x2a4fa8)||(_0x3dd461=_0x2a4fa8);}!_0x5e8e32&&_0x4bf855[_0x3c79a4(0x18f)](_0x3c79a4(0x173))||_0x883a8f[_0x3c79a4(0x17d)][_0x3c79a4(0x1ab)](_0x3c79a4(0x173),_0x3dd461,_0x4bf855);}(_0x2d666e,_0x1a6872,_0x89efe5,_0x4dcb32),function(_0x58a60c,_0x98b86a,_0x206753,_0x4852cd){const _0x307775=_0xd0b4a;if(!_0x4852cd[_0x307775(0x170)](_0x98b86a,_0x307775(0x183)))return;let _0x4be1d8=_0x307775(0x195),_0x272609=!0x1;if(_0x206753[_0x307775(0x1a5)][_0x307775(0x190)](_0x58a60c,{'attributes':_0x307775(0x178)})){const _0x4f6cf4={0x1:_0x307775(0x195),'a':_0x307775(0x1b7),'A':_0x307775(0x181),'i':_0x307775(0x1bf),'I':_0x307775(0x17a)}[_0x58a60c[_0x307775(0x169)](_0x307775(0x178))];_0x4f6cf4&&(_0x4be1d8=_0x4f6cf4),_0x272609=!0x0;}_0x206753[_0x307775(0x1a5)][_0x307775(0x190)](_0x58a60c,{'styles':_0x307775(0x1bb)})&&(_0x4be1d8=function(_0x375e9d){const _0x9a7619=_0x307775;switch(_0x375e9d){case _0x9a7619(0x1b7):return _0x9a7619(0x17e);case _0x9a7619(0x181):return _0x9a7619(0x1a2);default:return _0x375e9d;}}(_0x58a60c[_0x307775(0x1ba)](_0x307775(0x1bb))),_0x272609=!0x0),!_0x272609&&_0x98b86a[_0x307775(0x18f)](_0x307775(0x183))||_0x206753[_0x307775(0x17d)][_0x307775(0x1ab)](_0x307775(0x183),_0x4be1d8,_0x98b86a);}(_0x2d666e,_0x1a6872,_0x89efe5,_0x4dcb32));});}),_0x16cc68[_0x2dbef3(0x1a9)](_0x2dbef3(0x19b))[_0x2dbef3(0x1a8)](_0x17272f=>{const _0x5ae670=_0x2dbef3;_0x17272f['on'](_0x5ae670(0x161),(_0x38d6d9,_0x8edc4f,_0x368f38)=>{const _0xfafd62=_0x5ae670;if(!_0x368f38[_0xfafd62(0x1a5)][_0xfafd62(0x190)](_0x8edc4f[_0xfafd62(0x189)],_0x38d6d9[_0xfafd62(0x172)]))return;const _0x57e8c7=M(_0x8edc4f[_0xfafd62(0x189)],_0x368f38[_0xfafd62(0x18d)]),{attributeNewValue:_0x86dc76}=_0x8edc4f;null==_0x86dc76||0x1===_0x86dc76?_0x368f38[_0xfafd62(0x17d)][_0xfafd62(0x197)](_0xfafd62(0x1b9),_0x57e8c7):_0x368f38[_0xfafd62(0x17d)][_0xfafd62(0x1ab)](_0xfafd62(0x1b9),String(_0x86dc76),_0x57e8c7);}),_0x17272f['on'](_0x5ae670(0x199),(_0x424bff,_0x1150fd,_0x158767)=>{const _0x3439e9=_0x5ae670;if(!_0x158767[_0x3439e9(0x1a5)][_0x3439e9(0x190)](_0x1150fd[_0x3439e9(0x189)],_0x424bff[_0x3439e9(0x172)]))return;const _0x4d571d=M(_0x1150fd[_0x3439e9(0x189)],_0x158767[_0x3439e9(0x18d)]),{attributeNewValue:_0x38f899}=_0x1150fd;_0x38f899&&_0x3439e9(0x195)!==_0x38f899?_0x158767[_0x3439e9(0x17d)][_0x3439e9(0x15d)](_0x3439e9(0x1bb),_0x38f899,_0x4d571d):_0x158767[_0x3439e9(0x17d)][_0x3439e9(0x1b5)](_0x3439e9(0x1bb),_0x4d571d);});});}[_0x203d73(0x1b4)](){const _0x1934c6=_0x203d73,{editor:_0x346ca6}=this,{model:_0x40580a}=_0x346ca6,_0x28b7ec=_0x346ca6[_0x1934c6(0x18e)][_0x1934c6(0x186)](_0x288295),_0x17ad8f=this[_0x1934c6(0x19e)](),_0x2eb69f=this[_0x1934c6(0x168)]();_0x40580a[_0x1934c6(0x17c)][_0x1934c6(0x180)](_0x3e107a=>{const _0x38a601=_0x1934c6,_0x4c1562=_0x40580a[_0x38a601(0x17c)][_0x38a601(0x160)][_0x38a601(0x19c)]();let _0x193524=!0x1;for(const _0x558677 of _0x4c1562){if(_0x38a601(0x1a6)!==_0x558677[_0x38a601(0x178)]||_0x38a601(0x162)===_0x558677[_0x38a601(0x172)])continue;const _0x146911=_0x40580a[_0x38a601(0x165)](_0x558677[_0x38a601(0x18c)][_0x38a601(0x167)]);for(const _0x7dcd48 of _0x146911[_0x38a601(0x1ac)]())_0x7dcd48['is'](_0x38a601(0x19a),_0x38a601(0x1b0))&&(!_0x7dcd48[_0x38a601(0x18f)](_0x38a601(0x173))&&_0x40580a[_0x38a601(0x1b3)][_0x38a601(0x170)](_0x7dcd48,_0x38a601(0x173))&&(_0x3e107a[_0x38a601(0x1ab)](_0x38a601(0x173),_0x2eb69f,_0x7dcd48),_0x193524=!0x0),!_0x7dcd48[_0x38a601(0x18f)](_0x38a601(0x183))&&_0x40580a[_0x38a601(0x1b3)][_0x38a601(0x170)](_0x7dcd48,_0x38a601(0x183))&&(_0x3e107a[_0x38a601(0x1ab)](_0x38a601(0x183),_0x17ad8f,_0x7dcd48),_0x193524=!0x0));}return _0x193524&&_0x28b7ec[_0x38a601(0x17f)](_0x3e107a),_0x193524;});}[_0x203d73(0x15f)](){const _0x50669e=_0x203d73,{editor:_0x4fd8b4}=this;_0x4fd8b4[_0x50669e(0x18e)][_0x50669e(0x186)](_0x288295)[_0x50669e(0x15c)](_0x448166=>this[_0x50669e(0x182)](_0x448166));}[_0x203d73(0x19e)](){const _0x5ed0d8=_0x203d73;return this[_0x5ed0d8(0x1b8)][_0x5ed0d8(0x15b)][_0x5ed0d8(0x186)](_0x5ed0d8(0x1a0));}[_0x203d73(0x168)](){const _0x2628e7=_0x203d73;return this[_0x2628e7(0x1b8)][_0x2628e7(0x15b)][_0x2628e7(0x186)](_0x2628e7(0x1b6));}[_0x203d73(0x182)]({container:_0x1f6251,value:_0x12cdf3,digits:_0x2b3f8f}){const _0x7a8de7=_0x203d73,_0x3b7741=_0x1f6251[_0x7a8de7(0x169)](_0x7a8de7(0x183)),_0x3566e1=_0x1f6251[_0x7a8de7(0x169)](_0x7a8de7(0x173)),_0x139b7d=Math[_0x7a8de7(0x171)](_0x12cdf3)+(_0x3566e1??0x1)-0x1;switch(_0x3b7741){case _0x7a8de7(0x16f):return function(_0x4cb9a2,_0x3d6882){const _0xc91028=_0x7a8de7;return String(_0x4cb9a2)[_0xc91028(0x175)](_0x3d6882,'0');}(_0x139b7d,Math[_0x7a8de7(0x17b)](0x2,_0x2b3f8f));case _0x7a8de7(0x1b7):case _0x7a8de7(0x17e):return N(_0x139b7d,!0x1);case _0x7a8de7(0x181):case _0x7a8de7(0x1a2):return N(_0x139b7d,!0x0);case _0x7a8de7(0x1bf):return X(_0x139b7d,!0x1);case _0x7a8de7(0x17a):return X(_0x139b7d,!0x0);default:return String(_0x139b7d);}}}function M(_0x4a9134,_0x2842ac){const _0x5c89be=_0x203d73,_0x38c8be=_0x2842ac[_0x5c89be(0x18a)](_0x4a9134);return Array[_0x5c89be(0x164)](_0x38c8be[_0x5c89be(0x174)]())[_0x5c89be(0x187)](_0x505641=>_0x505641['is'](_0x5c89be(0x19a),'ol')&&_0x505641[_0x5c89be(0x1af)](_0x5c89be(0x193)));}function N(_0x36264b,_0x4b79a1){const _0x16b2d9=_0x203d73;let _0x1cf60c='',_0xf18e3f=_0x36264b;for(;_0xf18e3f>0x0;){const _0x204877=(_0xf18e3f-0x1)%0x1a;_0x1cf60c=String[_0x16b2d9(0x1ad)](0x61+_0x204877)+_0x1cf60c,_0xf18e3f=Math[_0x16b2d9(0x171)]((_0xf18e3f-0x1)/0x1a);}return _0x4b79a1?_0x1cf60c[_0x16b2d9(0x16b)]():_0x1cf60c;}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(_0x94af39,_0x5168be){const _0x26c8f7=_0x203d73;let _0xc56b0e='',_0x248b16=_0x94af39;for(const {value:_0x5238eb,numeral:_0x4e2ee1}of V)for(;_0x248b16>=_0x5238eb;)_0xc56b0e+=_0x4e2ee1,_0x248b16-=_0x5238eb;return _0x5168be?_0xc56b0e:_0xc56b0e[_0x26c8f7(0x166)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x30d9f5,ButtonView as _0x2ebaee,ContextualBalloon as _0xa84412,createDropdown as _0x26976e}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x317a48}from'ckeditor5/src/widget.js';import{Plugin as _0x1ce5ab}from'ckeditor5/src/core.js';import{IconFootnote as _0xe49eb2,IconListStyleDecimal as _0x1c10bb,IconListStyleDecimalLeadingZero as _0x285168,IconListStyleLowerLatin as _0xb0660,IconListStyleLowerRoman as _0x2db3cf,IconListStyleUpperLatin as _0x1d3846,IconListStyleUpperRoman as _0x7b4886}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x50e13c}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5061fe}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1ce5ab{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xa84412,_0x317a48];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x528bf3}=this,{componentFactory:_0x30a62c}=_0x528bf3['ui'];_0x528bf3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x30a62c['add']('footnotesStyle',function(_0x5076d9){return _0x5107ca=>{const {t:t}=_0x5107ca,_0x226345=_0x5076d9['commands']['get']('footnotesStyle'),_0x3c23b0=_0x26976e(_0x5107ca),{buttonView:_0x28c346}=_0x3c23b0;return _0x3c23b0['class']='ck-footnotes-styles-dropdown',_0x3c23b0['bind']('isEnabled')['to'](_0x226345,'isEnabled'),_0x28c346['set']({'label':t('Footnotes\x20style'),'icon':_0xe49eb2,'tooltip':!0x0}),_0x3c23b0['once']('change:isOpen',()=>{const _0x45e1b6=function({editor:_0xeb5973,dropdownView:_0x1e8a11}){const {t:t}=_0xeb5973['locale'],_0x585a1b=t('Footnotes\x20definitions\x20styles'),_0x4024f0=function(_0x1749f4){const t=_0x1749f4['locale']['t'],_0x21718b=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1c10bb},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x285168},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2db3cf},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x7b4886},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xb0660},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1d3846}];return _0x21718b['map'](function(_0x57840f){const _0x2ae7b3=_0x57840f['locale'];return({label:_0x44d2fc,icon:_0xe4bb57,tooltip:_0x508d99,style:_0x4af8d3})=>{const _0x102f2c=_0x57840f['commands']['get']('footnotesStyle'),_0x43be36=new _0x2ebaee(_0x2ae7b3);return _0x43be36['set']({'label':_0x44d2fc,'icon':_0xe4bb57,'tooltip':_0x508d99}),_0x43be36['bind']('isOn')['to'](_0x102f2c,'value',_0x1d0333=>_0x1d0333===_0x4af8d3),_0x43be36['bind']('isEnabled')['to'](_0x102f2c,'isEnabled'),_0x43be36['on']('execute',()=>{_0x57840f['execute']('footnotesStyle',{'value':_0x4af8d3}),_0x57840f['editing']['view']['focus']();}),_0x43be36;};}(_0x1749f4));}(_0xeb5973),_0xe170af=new _0x50e13c(_0xeb5973['locale'],{'styleGridAriaLabel':_0x585a1b,'styleButtonViews':_0x4024f0}),_0x5bace5=_0xeb5973['commands']['get']('footnotesStart');return _0xe170af['startIndexFieldView']['bind']('isEnabled')['to'](_0x5bace5),_0xe170af['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5bace5),_0xe170af['on']('footnotesListStart',(_0x5938c8,_0x2010c1)=>{_0xeb5973['execute']('footnotesStart',{'value':_0x2010c1['startIndex']});}),_0xe170af['delegate']('execute')['to'](_0x1e8a11),_0xe170af;}({'editor':_0x5076d9,'dropdownView':_0x3c23b0});_0x3c23b0['panelView']['children']['add'](_0x45e1b6);}),_0x3c23b0;};}(_0x528bf3));}['afterInit'](){const {editor:_0x37270e}=this,{t:t}=_0x37270e['locale'],_0x462a1b=_0x37270e['plugins']['get'](_0x317a48),{defaultPositions:_0x6343b2}=_0x30d9f5;_0x462a1b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x37270e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x570ecf=>{let _0x585300=_0x570ecf['getFirstPosition']()?.['parent'];return _0x585300?.['is']('$text')&&(_0x585300=_0x585300['parent']),_0x585300?.['is']('element')?_0x585300['findAncestor'](_0x5061fe):null;},'positions':[_0x6343b2['southArrowNorth'],_0x6343b2['southArrowNorthMiddleWest'],_0x6343b2['southArrowNorthMiddleEast'],_0x6343b2['southArrowNorthWest'],_0x6343b2['southArrowNorthEast'],_0x6343b2['northArrowSouth'],_0x6343b2['northArrowSouthMiddleWest'],_0x6343b2['northArrowSouthMiddleEast'],_0x6343b2['northArrowSouthWest'],_0x6343b2['northArrowSouthEast'],_0x6343b2['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x54d8c9,View as _0x513543,ViewCollection as _0x193e83,FocusCycler as _0x14a801,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 _0x513543{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x193e83();['focusCycler'];constructor(_0x520e5b,{styleButtonViews:_0x25e884,styleGridAriaLabel:_0x1fbd25}){super(_0x520e5b),(this['focusCycler']=new _0x14a801({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x25e884,_0x1fbd25),[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 _0x2a70b0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2a70b0['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 _0x5d7670=_0x55c2c8=>_0x55c2c8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5d7670),this['keystrokes']['set']('arrowleft',_0x5d7670),this['keystrokes']['set']('arrowup',_0x5d7670),this['keystrokes']['set']('arrowdown',_0x5d7670);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5aa447,_0x1a80ba){const _0x3b41b5=new _0x513543(this['locale']);return _0x3b41b5['children']=_0x3b41b5['createCollection'](),_0x3b41b5['children']['addMany'](_0x5aa447),_0x3b41b5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1a80ba,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3b41b5['children']}),_0x3b41b5['children']['delegate']('execute')['to'](this),_0x3b41b5['focus']=function(){for(const _0x4aac50 of this['children'])if(_0x4aac50 instanceof _0x54d8c9&&_0x4aac50['isOn'])return void _0x4aac50['focus']();this['children']['first']['focus']();},_0x3b41b5['focusTracker']=new ot(),_0x3b41b5['keystrokes']=new rt(),_0x3b41b5['render'](),_0x3b41b5['keystrokes']['listenTo'](_0x3b41b5['element']),this['children']['add'](_0x3b41b5),_0x3b41b5;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1b77a4=this['_createStartIndexPropertyView'](),_0x435e77=[_0x1b77a4],_0x56cd09=new st(this['locale'],_0x435e77);return _0x56cd09['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x56cd09['buttonView']['bind']('isEnabled')['toMany'](_0x435e77,'isEnabled',(..._0x2a9196)=>_0x2a9196['some'](_0x47e668=>_0x47e668)),_0x56cd09['buttonView']['on']('change:isEnabled',(_0x58dafd,_0x48c1f8,_0x54ef07)=>{_0x54ef07||(_0x56cd09['isCollapsed']=!0x0);}),this['children']['add'](_0x56cd09),[_0x1b77a4,_0x56cd09];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x136113=new it(this['locale'],et);return _0x136113['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x136113['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x136113['fieldView']['on']('input',()=>{const _0x3176e9=_0x136113['fieldView']['element'],_0x4db658=_0x3176e9['valueAsNumber'];Number['isNaN'](_0x4db658)?_0x136113['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3176e9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4db658}):_0x136113['errorText']=t(_0x4db658<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x136113;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x361374=_0xe120;function _0xe120(_0x51b8ef,_0x8eeaa){var _0x39de64=_0x39de();return _0xe120=function(_0xe120ee,_0x3fe9b3){_0xe120ee=_0xe120ee-0x1a2;var _0x105c2d=_0x39de64[_0xe120ee];return _0x105c2d;},_0xe120(_0x51b8ef,_0x8eeaa);}(function(_0x21a044,_0x581a24){var _0x553c70=_0xe120,_0x162c87=_0x21a044();while(!![]){try{var _0x4923dd=-parseInt(_0x553c70(0x1a2))/0x1+-parseInt(_0x553c70(0x1a3))/0x2*(parseInt(_0x553c70(0x1a5))/0x3)+-parseInt(_0x553c70(0x1a4))/0x4+-parseInt(_0x553c70(0x1a9))/0x5+-parseInt(_0x553c70(0x1ac))/0x6*(-parseInt(_0x553c70(0x1ae))/0x7)+parseInt(_0x553c70(0x1af))/0x8+parseInt(_0x553c70(0x1ab))/0x9;if(_0x4923dd===_0x581a24)break;else _0x162c87['push'](_0x162c87['shift']());}catch(_0x4ada0e){_0x162c87['push'](_0x162c87['shift']());}}}(_0x39de,0xa5e67));function _0x39de(){var _0x462d05=['isPremiumPlugin','2378905rACMwy','requires','9712197yWQHeM','8146350hqblxa','pluginName','7UyFgNQ','10181904wnlGZQ','462766Zygeid','68QZWOiw','4032992vLKakb','95583BlKQDT','isOfficialPlugin','FootnotesProperties'];_0x39de=function(){return _0x462d05;};return _0x39de();}import{Plugin as _0x38ade4}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x22b334}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3341d4}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x38ade4{static get[_0x361374(0x1ad)](){var _0x520b67=_0x361374;return _0x520b67(0x1a7);}static get[_0x361374(0x1aa)](){return[_0x22b334,_0x3341d4];}static get[_0x361374(0x1a6)](){return!0x0;}static get[_0x361374(0x1a8)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x56f5b0=_0x5c22;function _0x2061(){const _0x439ba9=['_footnoteDefsTracker','end','_sortFootnoteDefinitions','getAttribute','registerPostFixer','getFootnotes','47021nAESuo','getRootNames','init','createPositionAt','push','footnoteId','375330QNUtfL','FootnotesTracker','_handleFootnotesDefinitionsObjectChanges','low','createRangeOn','getFootnotesFormatter','paragraph','length','getFootnotesDefinitionsObjectElement','definition','_footnotes','map','change:data','_handleFootnoteDefinitionsChanges','_handleRemoveFootnoteReferenceById','insert','parent','add','append','footnotesDefinitions','getChanges','setFootnoteFormatter','_updateFootnotesCounters','isPremiumPlugin','631694hRZrYB','pluginName','enqueueChange','405HxLBUf','120wPKkRH','unshift','createRangeIn','set','has','isOfficialPlugin','findIndex','document','_updateFootnoteRefCounter','differ','363eYiHUY','compareWith','listenTo','rootName','root','262047pWGYqn','_footnoteDefsContainerTracker','4bqtIoR','_ensureFootnotesDefinitionsContainerExists','23196MuoJDM','_ensureFootnotesReferencesHaveProperOrder','getChildren','remove','createPositionBefore','setAttribute','high','editor','singleton','indexOf','_footnoteRefsTracker','isEqual','24uqsyFB','reference','_handleFootnotesDefinitionsObjectSync','config','666CjKtSs','footnotes.multiBlock','1552149QuwOji','model','footnoteRef','getFootnote','footnoteDefinition','reset','footnoteCounter','$graveyard','_insertEmptyFootnotesDefinitionsContainer','min','before','get','splice','from','some','childCount','createElement','move','_footnoteFormatter','find','106232WrJEgw','_handleMovedFootnoteReference','_handleFootnoteReferencesChanges','_handleInsertedFootnoteReference','_footnotesDefinitions','after','footnoteInlineContent'];_0x2061=function(){return _0x439ba9;};return _0x2061();}(function(_0x16d7f8,_0x2815ca){const _0x1e4373=_0x5c22,_0x53fac4=_0x16d7f8();while(!![]){try{const _0x4e46c0=-parseInt(_0x1e4373(0x12b))/0x1*(-parseInt(_0x1e4373(0x12d))/0x2)+parseInt(_0x1e4373(0x141))/0x3+-parseInt(_0x1e4373(0x12f))/0x4*(parseInt(_0x1e4373(0x11b))/0x5)+parseInt(_0x1e4373(0x13b))/0x6*(parseInt(_0x1e4373(0x118))/0x7)+-parseInt(_0x1e4373(0x155))/0x8*(-parseInt(_0x1e4373(0x13f))/0x9)+parseInt(_0x1e4373(0x168))/0xa*(-parseInt(_0x1e4373(0x126))/0xb)+parseInt(_0x1e4373(0x11c))/0xc*(-parseInt(_0x1e4373(0x162))/0xd);if(_0x4e46c0===_0x2815ca)break;else _0x53fac4['push'](_0x53fac4['shift']());}catch(_0x10d9f8){_0x53fac4['push'](_0x53fac4['shift']());}}}(_0x2061,0x9c665));import{Plugin as _0x12ffdf}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2135c1}from'./modelelementtracker.js';function _0x5c22(_0x8136e4,_0x2ce7dc){const _0x2061b6=_0x2061();return _0x5c22=function(_0x5c22c0,_0x1097a3){_0x5c22c0=_0x5c22c0-0x10f;let _0x95677d=_0x2061b6[_0x5c22c0];return _0x95677d;},_0x5c22(_0x8136e4,_0x2ce7dc);}export class FootnotesTracker extends _0x12ffdf{[_0x56f5b0(0x172)]=[];[_0x56f5b0(0x159)]=null;[_0x56f5b0(0x153)]=null;[_0x56f5b0(0x12c)];[_0x56f5b0(0x139)];[_0x56f5b0(0x15c)];static get[_0x56f5b0(0x119)](){const _0x3bc377=_0x56f5b0;return _0x3bc377(0x169);}static get[_0x56f5b0(0x121)](){return!0x0;}static get[_0x56f5b0(0x117)](){return!0x0;}constructor(_0x1833b3){const _0x31e1b3=_0x56f5b0;super(_0x1833b3),this[_0x31e1b3(0x12c)]=new _0x2135c1(this[_0x31e1b3(0x136)][_0x31e1b3(0x142)],{'elementName':_0x31e1b3(0x113),'getElementKey':()=>_0x31e1b3(0x137)}),this[_0x31e1b3(0x139)]=new _0x2135c1(this[_0x31e1b3(0x136)][_0x31e1b3(0x142)],{'elementName':_0x31e1b3(0x143),'getElementKey':_0x452ad9=>_0x452ad9[_0x31e1b3(0x15f)](_0x31e1b3(0x167))}),this[_0x31e1b3(0x15c)]=new _0x2135c1(this[_0x31e1b3(0x136)][_0x31e1b3(0x142)],{'elementName':_0x31e1b3(0x145),'getElementKey':_0xff07fc=>_0xff07fc[_0x31e1b3(0x15f)](_0x31e1b3(0x167))});}[_0x56f5b0(0x164)](){const _0xf7be5d=_0x56f5b0,{editor:_0x3bb4af}=this,{model:_0x45b7b0,data:_0x629be6}=_0x3bb4af;_0x45b7b0[_0xf7be5d(0x123)][_0xf7be5d(0x160)](_0x2dd414=>{const _0x146cd7=_0xf7be5d,_0x3621db=_0x45b7b0[_0x146cd7(0x123)][_0x146cd7(0x125)][_0x146cd7(0x114)]();let _0x580cdc=!0x1;return this[_0x146cd7(0x16a)](_0x2dd414,_0x3621db)&&(_0x580cdc=!0x0),this[_0x146cd7(0x175)](_0x2dd414,_0x3621db)&&(_0x580cdc=!0x0),this[_0x146cd7(0x157)](_0x2dd414,_0x3621db)&&(_0x580cdc=!0x0),this[_0x146cd7(0x130)](_0x2dd414)&&(_0x580cdc=!0x0),this[_0x146cd7(0x13d)](_0x2dd414)&&(_0x580cdc=!0x0),this[_0x146cd7(0x15e)](_0x2dd414)&&(_0x580cdc=!0x0),_0x580cdc;}),this[_0xf7be5d(0x128)](_0x45b7b0[_0xf7be5d(0x123)],_0xf7be5d(0x174),()=>{const _0x5202af=_0xf7be5d;_0x45b7b0[_0x5202af(0x11a)]({'isUndoable':!0x1},_0x8b19ba=>{const _0x4575b2=_0x5202af;this[_0x4575b2(0x12e)](_0x8b19ba);});},{'priority':_0xf7be5d(0x16b)}),this[_0xf7be5d(0x128)](_0x629be6,_0xf7be5d(0x11f),()=>{const _0x13ce0a=_0xf7be5d;this[_0x13ce0a(0x172)]=[],this[_0x13ce0a(0x12c)][_0x13ce0a(0x146)](),this[_0x13ce0a(0x139)][_0x13ce0a(0x146)](),this[_0x13ce0a(0x15c)][_0x13ce0a(0x146)]();},{'priority':_0xf7be5d(0x135)});}[_0x56f5b0(0x170)](){const _0x289c24=_0x56f5b0;return this[_0x289c24(0x159)];}[_0x56f5b0(0x144)](_0x41552e){const _0x122c99=_0x56f5b0;return this[_0x122c99(0x172)][_0x122c99(0x154)](_0x505978=>_0x505978['id']===_0x41552e)||null;}[_0x56f5b0(0x161)](){const _0x403f90=_0x56f5b0;return Array[_0x403f90(0x14e)](this[_0x403f90(0x172)]);}[_0x56f5b0(0x16d)](){const _0xb2f70d=_0x56f5b0;return this[_0xb2f70d(0x153)];}[_0x56f5b0(0x115)](_0xf97d5a){const _0x6f55eb=_0x56f5b0;this[_0x6f55eb(0x153)]=_0xf97d5a;}[_0x56f5b0(0x116)](_0x5aad83,_0x2c2064=0x0){const _0x32cbe3=_0x56f5b0;let _0x177bc3=!0x1;for(let _0x3d89fa=_0x2c2064;_0x3d89fa<this[_0x32cbe3(0x172)][_0x32cbe3(0x16f)];_0x3d89fa++)this[_0x32cbe3(0x124)](_0x5aad83,_0x3d89fa)&&(_0x177bc3=!0x0);return _0x177bc3;}[_0x56f5b0(0x149)](_0x37b684,_0x10b6b8){const _0x440360=_0x56f5b0,_0x4d37d1=_0x37b684[_0x440360(0x151)](_0x440360(0x113),{});return _0x37b684[_0x440360(0x112)](_0x4d37d1,_0x10b6b8),this[_0x440360(0x159)]=_0x4d37d1,_0x4d37d1;}[_0x56f5b0(0x12e)](_0x511548){const _0x461934=_0x56f5b0;if(!this[_0x461934(0x172)][_0x461934(0x16f)]||this[_0x461934(0x159)])return;const _0x3b3e6c=this[_0x461934(0x172)][0x0][_0x461934(0x13c)][_0x461934(0x12a)],_0x3fdcbe=this[_0x461934(0x149)](_0x511548,_0x3b3e6c);for(const _0x36b58a of this[_0x461934(0x172)])_0x36b58a[_0x461934(0x171)][_0x461934(0x110)]||_0x511548[_0x461934(0x10f)](_0x36b58a[_0x461934(0x171)],_0x3fdcbe,_0x461934(0x15d));this[_0x461934(0x116)](_0x511548);}[_0x56f5b0(0x16a)](_0x1831ca,_0x4ca449){const _0x37b934=_0x56f5b0;let _0x1fa7ce=!0x1;const {inserted:_0x3cda32,removed:_0xf7da07,moved:_0x327258}=this[_0x37b934(0x12c)][_0x37b934(0x114)](_0x4ca449);if(_0x327258[_0x37b934(0x16f)]&&(this[_0x37b934(0x159)]=_0x327258[0x0]),_0x3cda32[_0x37b934(0x16f)]){if(_0x3cda32[_0x37b934(0x16f)]>0x1||this[_0x37b934(0x159)]&&_0x3cda32[_0x37b934(0x14f)](_0x371e8a=>_0x371e8a!==this[_0x37b934(0x159)])){const _0x272aea=_0x1831ca[_0x37b934(0x151)](_0x37b934(0x113),{}),_0x2b6040=[];this[_0x37b934(0x159)]&&_0x2b6040[_0x37b934(0x166)](this[_0x37b934(0x159)]),_0x2b6040[_0x37b934(0x166)](..._0x3cda32),_0x1831ca[_0x37b934(0x10f)](_0x272aea,_0x2b6040[0x0],_0x37b934(0x14b));for(const _0x1f1c95 of _0x2b6040)_0x1831ca[_0x37b934(0x152)](_0x1831ca[_0x37b934(0x11e)](_0x1f1c95),_0x1831ca[_0x37b934(0x165)](_0x272aea,_0x37b934(0x15d))),_0x1831ca[_0x37b934(0x132)](_0x1f1c95);this[_0x37b934(0x159)]=_0x272aea,this[_0x37b934(0x116)](_0x1831ca),_0x1fa7ce=!0x0;}else this[_0x37b934(0x159)]=_0x3cda32[0x0];}if(_0xf7da07[_0x37b934(0x16f)]&&_0x37b934(0x148)===this[_0x37b934(0x159)]?.[_0x37b934(0x12a)][_0x37b934(0x129)]){for(const _0x104db5 of this[_0x37b934(0x172)])_0x1831ca[_0x37b934(0x132)](_0x104db5[_0x37b934(0x13c)]),_0x1fa7ce=!0x0;this[_0x37b934(0x172)]=[],this[_0x37b934(0x159)]=null;}return _0x1fa7ce;}[_0x56f5b0(0x175)](_0x5de76a,_0x1ba16b){const _0x2e303a=_0x56f5b0;let _0x54eafd=!0x1;const _0x13d327=this[_0x2e303a(0x136)][_0x2e303a(0x13e)][_0x2e303a(0x14c)](_0x2e303a(0x140)),{inserted:_0x115851,moved:_0x2a561b}=this[_0x2e303a(0x15c)][_0x2e303a(0x114)](_0x1ba16b);for(const _0x4c2456 of[..._0x2a561b,..._0x115851]){const _0x2c2872=_0x4c2456[_0x2e303a(0x15f)](_0x2e303a(0x167)),_0x5433bf=this[_0x2e303a(0x144)](_0x2c2872);_0x5433bf&&(_0x5433bf[_0x2e303a(0x171)]=_0x4c2456),_(_0x5de76a,_0x13d327,_0x4c2456)&&(_0x54eafd=!0x0);}return _0x54eafd;}[_0x56f5b0(0x157)](_0x12a3b9,_0x3ed216){const _0x5429f7=_0x56f5b0;let _0x1f09e9=!0x1;const {removed:_0x34b0df,inserted:_0x39ca48,moved:_0x2f8425}=this[_0x5429f7(0x139)][_0x5429f7(0x114)](_0x3ed216);for(const _0x1313de of _0x34b0df)this[_0x5429f7(0x176)](_0x12a3b9,_0x1313de)&&(_0x1f09e9=!0x0);for(const _0x1e885b of _0x39ca48)this[_0x5429f7(0x158)](_0x12a3b9,_0x1e885b)&&(_0x1f09e9=!0x0);for(const _0x29f7b4 of _0x2f8425)this[_0x5429f7(0x156)](_0x12a3b9,_0x29f7b4)&&(_0x1f09e9=!0x0);return _0x1f09e9;}[_0x56f5b0(0x13d)](_0x2ab9bd){const _0x347e92=_0x56f5b0;if(!this[_0x347e92(0x159)])return!0x1;let _0xedb589=!0x1;if(this[_0x347e92(0x159)][_0x347e92(0x150)]!==this[_0x347e92(0x172)][_0x347e92(0x16f)]){const _0x3346f2=[];for(const _0x2bc35b of this[_0x347e92(0x159)][_0x347e92(0x131)]()){const _0x51ef47=_0x2bc35b[_0x347e92(0x15f)](_0x347e92(0x167));this[_0x347e92(0x144)](_0x51ef47)||(_0x3346f2[_0x347e92(0x11d)](_0x2bc35b),_0xedb589=!0x0);}for(const _0x1179b6 of _0x3346f2)_0x2ab9bd[_0x347e92(0x132)](_0x1179b6);}const _0x10e2f5=new Set(),_0x125e42=[];for(const _0x312e34 of this[_0x347e92(0x159)][_0x347e92(0x131)]()){const _0x12cc39=_0x312e34[_0x347e92(0x15f)](_0x347e92(0x167));_0x10e2f5[_0x347e92(0x120)](_0x12cc39)?(_0x125e42[_0x347e92(0x11d)](_0x312e34),_0xedb589=!0x0):_0x10e2f5[_0x347e92(0x111)](_0x12cc39);}for(const _0x1c870b of _0x125e42)_0x2ab9bd[_0x347e92(0x132)](_0x1c870b);return this[_0x347e92(0x159)][_0x347e92(0x150)]||(_0x2ab9bd[_0x347e92(0x132)](this[_0x347e92(0x159)]),this[_0x347e92(0x159)]=null,_0xedb589=!0x0),_0xedb589;}[_0x56f5b0(0x158)](_0x31706f,_0x1ea50b){const _0x4b8e30=_0x56f5b0;if(this[_0x4b8e30(0x172)][_0x4b8e30(0x154)](_0x370d35=>_0x370d35[_0x4b8e30(0x13c)]===_0x1ea50b))return!0x1;let _0x4ff49d=!0x1;const _0x39acd6=_0x1ea50b[_0x4b8e30(0x15f)](_0x4b8e30(0x167)),_0x492b7b=this[_0x4b8e30(0x172)][_0x4b8e30(0x122)](_0x4eec20=>_0x4eec20['id']===_0x39acd6);-0x1!==_0x492b7b&&(_0x31706f[_0x4b8e30(0x132)](this[_0x4b8e30(0x172)][_0x492b7b][_0x4b8e30(0x13c)]),this[_0x4b8e30(0x172)][_0x4b8e30(0x14d)](_0x492b7b,0x1),_0x4ff49d=!0x0);let _0x5dbef4=this[_0x4b8e30(0x159)]?function(_0x33b780,_0x2a12b6){const _0x30668e=_0x4b8e30;for(const _0x31c9f5 of _0x33b780[_0x30668e(0x131)]())if(_0x31c9f5[_0x30668e(0x15f)](_0x30668e(0x167))===_0x2a12b6)return _0x31c9f5;return null;}(this[_0x4b8e30(0x159)],_0x39acd6):null;_0x5dbef4||(_0x5dbef4=_0x31706f[_0x4b8e30(0x151)](_0x4b8e30(0x145),{'footnoteId':_0x39acd6}),this[_0x4b8e30(0x159)]&&(_0x31706f[_0x4b8e30(0x10f)](_0x5dbef4,this[_0x4b8e30(0x159)],_0x4b8e30(0x15d)),_0x4ff49d=!0x0));const _0x3fb4c8={'id':_0x39acd6,'reference':_0x1ea50b,'definition':_0x5dbef4},_0x4c9860=I(this[_0x4b8e30(0x136)][_0x4b8e30(0x142)],this[_0x4b8e30(0x172)],_0x1ea50b);this[_0x4b8e30(0x172)][_0x4b8e30(0x14d)](_0x4c9860,0x0,_0x3fb4c8);let _0xa191a5=_0x4c9860;return-0x1!==_0x492b7b&&(_0xa191a5=Math[_0x4b8e30(0x14a)](_0x4c9860,_0x492b7b)),this[_0x4b8e30(0x116)](_0x31706f,_0xa191a5)&&(_0x4ff49d=!0x0),_0x4ff49d;}[_0x56f5b0(0x176)](_0x587181,_0x52797f){const _0x311535=_0x56f5b0,_0x580c28=this[_0x311535(0x172)][_0x311535(0x122)](_0x462d6a=>_0x462d6a['id']===_0x52797f);if(-0x1===_0x580c28)return!0x1;let _0x4b4bae=!0x1;const _0x30119a=this[_0x311535(0x172)][_0x580c28];return _0x311535(0x148)!==_0x30119a[_0x311535(0x171)][_0x311535(0x12a)][_0x311535(0x129)]&&(_0x587181[_0x311535(0x132)](_0x30119a[_0x311535(0x171)]),_0x4b4bae=!0x0),this[_0x311535(0x172)][_0x311535(0x14d)](_0x580c28,0x1),this[_0x311535(0x116)](_0x587181,_0x580c28)&&(_0x4b4bae=!0x0),_0x4b4bae;}[_0x56f5b0(0x156)](_0x2704ea,_0x3fe22d){const _0x18511e=_0x56f5b0,_0xd5da=_0x3fe22d[_0x18511e(0x15f)](_0x18511e(0x167)),_0x15ff2a=this[_0x18511e(0x172)][_0x18511e(0x122)](_0x507271=>_0x507271['id']===_0xd5da),_0x69e1a7=this[_0x18511e(0x172)][_0x15ff2a];let _0x4ba4b5=!0x1;_0x69e1a7[_0x18511e(0x13c)]=_0x3fe22d,this[_0x18511e(0x172)][_0x18511e(0x14d)](_0x15ff2a,0x1);const _0xad5eef=I(this[_0x18511e(0x136)][_0x18511e(0x142)],this[_0x18511e(0x172)],_0x3fe22d);return this[_0x18511e(0x172)][_0x18511e(0x14d)](_0xad5eef,0x0,_0x69e1a7),this[_0x18511e(0x116)](_0x2704ea,Math[_0x18511e(0x14a)](_0x15ff2a,_0xad5eef))&&(_0x4ba4b5=!0x0),_0x4ba4b5;}[_0x56f5b0(0x124)](_0x404a1c,_0x300d0b){const _0x18c349=_0x56f5b0;if(!this[_0x18c349(0x159)])return!0x1;const _0x582c4a=this[_0x18c349(0x172)][_0x300d0b];let _0x3ab2ff;return _0x3ab2ff=this[_0x18c349(0x153)]?this[_0x18c349(0x153)]({'footnote':_0x582c4a,'container':this[_0x18c349(0x159)],'digits':String(this[_0x18c349(0x172)][_0x18c349(0x16f)])[_0x18c349(0x16f)],'value':_0x300d0b+0x1}):String(_0x300d0b+0x1),_0x582c4a[_0x18c349(0x13c)][_0x18c349(0x15f)](_0x18c349(0x147))!=_0x3ab2ff&&(_0x404a1c[_0x18c349(0x134)](_0x18c349(0x147),_0x3ab2ff,_0x582c4a[_0x18c349(0x13c)]),!0x0);}[_0x56f5b0(0x15e)](_0x423866){const _0x2f9b2e=_0x56f5b0;if(!this[_0x2f9b2e(0x159)]||this[_0x2f9b2e(0x172)][_0x2f9b2e(0x16f)]<0x2)return!0x1;if(function(_0x58b6f9,_0x10b1ed){const _0x1eb7f1=_0x2f9b2e;if(_0x58b6f9[_0x1eb7f1(0x16f)]!==_0x10b1ed[_0x1eb7f1(0x16f)])return!0x1;for(let _0x148835=0x0;_0x148835<_0x58b6f9[_0x1eb7f1(0x16f)];_0x148835++)if(_0x58b6f9[_0x148835]!==_0x10b1ed[_0x148835])return!0x1;return!0x0;}(this[_0x2f9b2e(0x172)][_0x2f9b2e(0x173)](_0x288dd4=>_0x288dd4['id']),Array[_0x2f9b2e(0x14e)](this[_0x2f9b2e(0x159)][_0x2f9b2e(0x131)]())[_0x2f9b2e(0x173)](_0x4a4a78=>_0x4a4a78[_0x2f9b2e(0x15f)](_0x2f9b2e(0x167)))))return!0x1;let _0x4a45c4=!0x1;for(let _0x161192=0x0;_0x161192<this[_0x2f9b2e(0x172)][_0x2f9b2e(0x16f)];_0x161192++){const _0xf9ec1e=this[_0x2f9b2e(0x172)][_0x161192],_0x5882e1=_0x423866[_0x2f9b2e(0x133)](_0xf9ec1e[_0x2f9b2e(0x171)]),_0x466e8e=_0x423866[_0x2f9b2e(0x165)](this[_0x2f9b2e(0x159)],_0x161192);_0x5882e1[_0x2f9b2e(0x13a)](_0x466e8e)||(_0x423866[_0x2f9b2e(0x152)](_0x423866[_0x2f9b2e(0x16c)](_0xf9ec1e[_0x2f9b2e(0x171)]),_0x466e8e),_0x4a45c4=!0x0);}return _0x4a45c4;}[_0x56f5b0(0x130)](_0x5712ad){const _0x2377a5=_0x56f5b0;if(!this[_0x2377a5(0x172)][_0x2377a5(0x16f)])return!0x1;const {model:_0x182c22}=this[_0x2377a5(0x136)];let _0x13bfef=!0x1;for(let _0x16fcd5=0x0;_0x16fcd5<this[_0x2377a5(0x172)][_0x2377a5(0x16f)]-0x1;_0x16fcd5++){const _0x3201ac=this[_0x2377a5(0x172)][_0x16fcd5],_0x1decee=this[_0x2377a5(0x172)][_0x16fcd5+0x1],_0x4266f2=_0x182c22[_0x2377a5(0x133)](_0x3201ac[_0x2377a5(0x13c)]),_0x5db289=_0x182c22[_0x2377a5(0x133)](_0x1decee[_0x2377a5(0x13c)]);_0x2377a5(0x15a)===_0x4266f2[_0x2377a5(0x127)](_0x5db289)&&(this[_0x2377a5(0x156)](_0x5712ad,_0x3201ac[_0x2377a5(0x13c)]),_0x16fcd5=-0x1,_0x13bfef=!0x0);}return _0x13bfef;}}function _(_0xedbc82,_0x14ab85,_0x317a4e){const _0x2831a0=_0x56f5b0;if(_0x317a4e[_0x2831a0(0x150)])return!0x1;const _0x137c5d=_0x14ab85?_0x2831a0(0x16e):_0x2831a0(0x15b);return _0xedbc82[_0x2831a0(0x10f)](_0xedbc82[_0x2831a0(0x151)](_0x137c5d),_0x317a4e),!0x0;}function I(_0x27a08c,_0x368ad7,_0x198695){const _0x4d7dfc=_0x56f5b0;if(0x0===_0x368ad7[_0x4d7dfc(0x16f)])return 0x0;const _0x46327b=_0x27a08c[_0x4d7dfc(0x133)](_0x198695);for(let _0x29edad=0x0;_0x29edad<_0x368ad7[_0x4d7dfc(0x16f)];_0x29edad++){const _0x14fb76=_0x368ad7[_0x29edad],_0x16dde3=_0x27a08c[_0x4d7dfc(0x133)](_0x14fb76[_0x4d7dfc(0x13c)]);if(_0x4d7dfc(0x14b)===_0x46327b[_0x4d7dfc(0x127)](_0x16dde3))return _0x29edad;}const _0x8c8745=_0x198695[_0x4d7dfc(0x12a)];let _0x376888=-0x1;for(let _0x1b4f99=_0x368ad7[_0x4d7dfc(0x16f)]-0x1;_0x1b4f99>=0x0;_0x1b4f99--)if(_0x368ad7[_0x1b4f99][_0x4d7dfc(0x13c)][_0x4d7dfc(0x12a)]===_0x8c8745){_0x376888=_0x1b4f99;break;}if(-0x1!==_0x376888)return _0x376888+0x1;const _0x3f055e=_0x27a08c[_0x4d7dfc(0x123)][_0x4d7dfc(0x163)](),_0x1cf0b7=_0x3f055e[_0x4d7dfc(0x138)](_0x8c8745[_0x4d7dfc(0x129)]),_0x637387=_0x3f055e[_0x1cf0b7+0x1];if(_0x637387){for(let _0x204f75=0x0;_0x204f75<_0x368ad7[_0x4d7dfc(0x16f)];_0x204f75++)if(_0x368ad7[_0x204f75][_0x4d7dfc(0x13c)][_0x4d7dfc(0x12a)][_0x4d7dfc(0x129)]===_0x637387)return _0x204f75;}return _0x368ad7[_0x4d7dfc(0x16f)];}
|
|
23
|
+
const _0x53b853=_0xd85b;(function(_0x15f91f,_0x4ae66c){const _0x1bc6a3=_0xd85b,_0x429fd2=_0x15f91f();while(!![]){try{const _0x47d97a=-parseInt(_0x1bc6a3(0x1cd))/0x1*(-parseInt(_0x1bc6a3(0x1cb))/0x2)+parseInt(_0x1bc6a3(0x1e5))/0x3*(parseInt(_0x1bc6a3(0x1c2))/0x4)+-parseInt(_0x1bc6a3(0x1dc))/0x5*(parseInt(_0x1bc6a3(0x1dd))/0x6)+parseInt(_0x1bc6a3(0x212))/0x7+parseInt(_0x1bc6a3(0x20d))/0x8+-parseInt(_0x1bc6a3(0x1b7))/0x9+-parseInt(_0x1bc6a3(0x1d4))/0xa;if(_0x47d97a===_0x4ae66c)break;else _0x429fd2['push'](_0x429fd2['shift']());}catch(_0x294337){_0x429fd2['push'](_0x429fd2['shift']());}}}(_0x4378,0x76b8e));import{Plugin as _0x5b9c22}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2b291c}from'./modelelementtracker.js';function _0x4378(){const _0x15a56e=['push','map','indexOf','length','remove','createRangeOn','footnoteCounter','min','registerPostFixer','3399312jeRWQi','_handleMovedFootnoteReference','end','createPositionBefore','footnoteId','5477612CvDSdg','_handleFootnotesDefinitionsObjectChanges','paragraph','_footnoteRefsTracker','_footnotesDefinitions','findIndex','has','change:data','compareWith','rootName','1579581xHfkrf','append','_ensureFootnotesReferencesHaveProperOrder','isPremiumPlugin','_updateFootnoteRefCounter','setFootnoteFormatter','get','getChanges','_footnoteDefsTracker','splice','getChildren','4kzbGxF','from','_footnotes','parent','footnotesDefinitions','footnoteInlineContent','getFootnotesFormatter','FootnotesTracker','definition','2cRcqOL','editor','140728SfzaZb','before','root','footnoteRef','find','childCount','createPositionAt','476710fMUVzo','singleton','init','model','getAttribute','some','reset','getRootNames','857525IoHtTn','30LyEAdw','footnoteDefinition','pluginName','document','_footnoteDefsContainerTracker','_footnoteFormatter','low','isEqual','656499SuARdI','_handleFootnoteReferencesChanges','$graveyard','footnotes.multiBlock','move','createRangeIn','setAttribute','listenTo','_sortFootnoteDefinitions','getFootnotes','differ','getFootnote','_updateFootnotesCounters','high','enqueueChange','_handleInsertedFootnoteReference','after','set','_handleRemoveFootnoteReferenceById','config','isOfficialPlugin','createElement','_handleFootnotesDefinitionsObjectSync','unshift','getFootnotesDefinitionsObjectElement','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','add','insert','_insertEmptyFootnotesDefinitionsContainer','reference'];_0x4378=function(){return _0x15a56e;};return _0x4378();}export class FootnotesTracker extends _0x5b9c22{[_0x53b853(0x1c4)]=[];[_0x53b853(0x216)]=null;[_0x53b853(0x1e2)]=null;[_0x53b853(0x1e1)];[_0x53b853(0x215)];[_0x53b853(0x1bf)];static get[_0x53b853(0x1df)](){const _0x23643c=_0x53b853;return _0x23643c(0x1c9);}static get[_0x53b853(0x1f9)](){return!0x0;}static get[_0x53b853(0x1ba)](){return!0x0;}constructor(_0x36ece1){const _0x3bfb12=_0x53b853;super(_0x36ece1),this[_0x3bfb12(0x1e1)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1c6),'getElementKey':()=>_0x3bfb12(0x1d5)}),this[_0x3bfb12(0x215)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1d0),'getElementKey':_0x1ff271=>_0x1ff271[_0x3bfb12(0x1d8)](_0x3bfb12(0x211))}),this[_0x3bfb12(0x1bf)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1de),'getElementKey':_0x2eedc0=>_0x2eedc0[_0x3bfb12(0x1d8)](_0x3bfb12(0x211))});}[_0x53b853(0x1d6)](){const _0x45eb62=_0x53b853,{editor:_0x27a485}=this,{model:_0x44515d,data:_0x21b968}=_0x27a485;_0x44515d[_0x45eb62(0x1e0)][_0x45eb62(0x20c)](_0x445211=>{const _0xf64281=_0x45eb62,_0x5b419c=_0x44515d[_0xf64281(0x1e0)][_0xf64281(0x1ef)][_0xf64281(0x1be)]();let _0x31630f=!0x1;return this[_0xf64281(0x213)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1ff)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1e6)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1b9)](_0x445211)&&(_0x31630f=!0x0),this[_0xf64281(0x1fb)](_0x445211)&&(_0x31630f=!0x0),this[_0xf64281(0x1ed)](_0x445211)&&(_0x31630f=!0x0),_0x31630f;}),this[_0x45eb62(0x1ec)](_0x44515d[_0x45eb62(0x1e0)],_0x45eb62(0x1b4),()=>{const _0x124759=_0x45eb62;_0x44515d[_0x124759(0x1f3)]({'isUndoable':!0x1},_0x510c1d=>{const _0x5e4039=_0x124759;this[_0x5e4039(0x1fe)](_0x510c1d);});},{'priority':_0x45eb62(0x1e3)}),this[_0x45eb62(0x1ec)](_0x21b968,_0x45eb62(0x1f6),()=>{const _0x6adc20=_0x45eb62;this[_0x6adc20(0x1c4)]=[],this[_0x6adc20(0x1e1)][_0x6adc20(0x1da)](),this[_0x6adc20(0x215)][_0x6adc20(0x1da)](),this[_0x6adc20(0x1bf)][_0x6adc20(0x1da)]();},{'priority':_0x45eb62(0x1f2)});}[_0x53b853(0x1fd)](){const _0x4d2f7c=_0x53b853;return this[_0x4d2f7c(0x216)];}[_0x53b853(0x1f0)](_0x1dfed6){const _0x57a163=_0x53b853;return this[_0x57a163(0x1c4)][_0x57a163(0x1d1)](_0x30832a=>_0x30832a['id']===_0x1dfed6)||null;}[_0x53b853(0x1ee)](){const _0x5401a3=_0x53b853;return Array[_0x5401a3(0x1c3)](this[_0x5401a3(0x1c4)]);}[_0x53b853(0x1c8)](){const _0x5e3b5b=_0x53b853;return this[_0x5e3b5b(0x1e2)];}[_0x53b853(0x1bc)](_0x5a406e){const _0x2a8303=_0x53b853;this[_0x2a8303(0x1e2)]=_0x5a406e;}[_0x53b853(0x1f1)](_0x3e19a1,_0x1e25bc=0x0){const _0x503432=_0x53b853;let _0x2ab993=!0x1;for(let _0x230ca5=_0x1e25bc;_0x230ca5<this[_0x503432(0x1c4)][_0x503432(0x207)];_0x230ca5++)this[_0x503432(0x1bb)](_0x3e19a1,_0x230ca5)&&(_0x2ab993=!0x0);return _0x2ab993;}[_0x53b853(0x202)](_0x27086d,_0x542884){const _0x5ee492=_0x53b853,_0x1fd15f=_0x27086d[_0x5ee492(0x1fa)](_0x5ee492(0x1c6),{});return _0x27086d[_0x5ee492(0x1b8)](_0x1fd15f,_0x542884),this[_0x5ee492(0x216)]=_0x1fd15f,_0x1fd15f;}[_0x53b853(0x1fe)](_0x2778ac){const _0x213714=_0x53b853;if(!this[_0x213714(0x1c4)][_0x213714(0x207)]||this[_0x213714(0x216)])return;const _0x95c9b7=this[_0x213714(0x1c4)][0x0][_0x213714(0x203)][_0x213714(0x1cf)],_0x39a24a=this[_0x213714(0x202)](_0x2778ac,_0x95c9b7);for(const _0x15d82c of this[_0x213714(0x1c4)])_0x15d82c[_0x213714(0x1ca)][_0x213714(0x1c5)]||_0x2778ac[_0x213714(0x201)](_0x15d82c[_0x213714(0x1ca)],_0x39a24a,_0x213714(0x20f));this[_0x213714(0x1f1)](_0x2778ac);}[_0x53b853(0x213)](_0x5595e8,_0x27a841){const _0x223ac3=_0x53b853;let _0x1cb242=!0x1;const {inserted:_0x49da1e,removed:_0x386b43,moved:_0x32dd30}=this[_0x223ac3(0x1e1)][_0x223ac3(0x1be)](_0x27a841);if(_0x32dd30[_0x223ac3(0x207)]&&(this[_0x223ac3(0x216)]=_0x32dd30[0x0]),_0x49da1e[_0x223ac3(0x207)]){if(_0x49da1e[_0x223ac3(0x207)]>0x1||this[_0x223ac3(0x216)]&&_0x49da1e[_0x223ac3(0x1d9)](_0x3498ae=>_0x3498ae!==this[_0x223ac3(0x216)])){const _0x20ed73=_0x5595e8[_0x223ac3(0x1fa)](_0x223ac3(0x1c6),{}),_0x33cb30=[];this[_0x223ac3(0x216)]&&_0x33cb30[_0x223ac3(0x204)](this[_0x223ac3(0x216)]),_0x33cb30[_0x223ac3(0x204)](..._0x49da1e),_0x5595e8[_0x223ac3(0x201)](_0x20ed73,_0x33cb30[0x0],_0x223ac3(0x1ce));for(const _0x39cc2c of _0x33cb30)_0x5595e8[_0x223ac3(0x1e9)](_0x5595e8[_0x223ac3(0x1ea)](_0x39cc2c),_0x5595e8[_0x223ac3(0x1d3)](_0x20ed73,_0x223ac3(0x20f))),_0x5595e8[_0x223ac3(0x208)](_0x39cc2c);this[_0x223ac3(0x216)]=_0x20ed73,this[_0x223ac3(0x1f1)](_0x5595e8),_0x1cb242=!0x0;}else this[_0x223ac3(0x216)]=_0x49da1e[0x0];}if(_0x386b43[_0x223ac3(0x207)]&&_0x223ac3(0x1e7)===this[_0x223ac3(0x216)]?.[_0x223ac3(0x1cf)][_0x223ac3(0x1b6)]){for(const _0x5a1610 of this[_0x223ac3(0x1c4)])_0x5595e8[_0x223ac3(0x208)](_0x5a1610[_0x223ac3(0x203)]),_0x1cb242=!0x0;this[_0x223ac3(0x1c4)]=[],this[_0x223ac3(0x216)]=null;}return _0x1cb242;}[_0x53b853(0x1ff)](_0x10e436,_0x4e42b5){const _0x421605=_0x53b853;let _0x56fa47=!0x1;const _0x3d1bdb=this[_0x421605(0x1cc)][_0x421605(0x1f8)][_0x421605(0x1bd)](_0x421605(0x1e8)),{inserted:_0x368722,moved:_0x51df4f}=this[_0x421605(0x1bf)][_0x421605(0x1be)](_0x4e42b5);for(const _0x268859 of[..._0x51df4f,..._0x368722]){const _0x332860=_0x268859[_0x421605(0x1d8)](_0x421605(0x211)),_0x399c68=this[_0x421605(0x1f0)](_0x332860);_0x399c68&&(_0x399c68[_0x421605(0x1ca)]=_0x268859),_(_0x10e436,_0x3d1bdb,_0x268859)&&(_0x56fa47=!0x0);}return _0x56fa47;}[_0x53b853(0x1e6)](_0x2dfe2a,_0x2667cc){const _0x337775=_0x53b853;let _0x569037=!0x1;const {removed:_0x1dfb0e,inserted:_0x2efed8,moved:_0x24f52c}=this[_0x337775(0x215)][_0x337775(0x1be)](_0x2667cc);for(const _0x386c4d of _0x1dfb0e)this[_0x337775(0x1f7)](_0x2dfe2a,_0x386c4d)&&(_0x569037=!0x0);for(const _0x188faf of _0x2efed8)this[_0x337775(0x1f4)](_0x2dfe2a,_0x188faf)&&(_0x569037=!0x0);for(const _0x709006 of _0x24f52c)this[_0x337775(0x20e)](_0x2dfe2a,_0x709006)&&(_0x569037=!0x0);return _0x569037;}[_0x53b853(0x1fb)](_0x13a078){const _0x2134d3=_0x53b853;if(!this[_0x2134d3(0x216)])return!0x1;let _0x166357=!0x1;if(this[_0x2134d3(0x216)][_0x2134d3(0x1d2)]!==this[_0x2134d3(0x1c4)][_0x2134d3(0x207)]){const _0x8251eb=[];for(const _0x2291fe of this[_0x2134d3(0x216)][_0x2134d3(0x1c1)]()){const _0x53efd3=_0x2291fe[_0x2134d3(0x1d8)](_0x2134d3(0x211));this[_0x2134d3(0x1f0)](_0x53efd3)||(_0x8251eb[_0x2134d3(0x1fc)](_0x2291fe),_0x166357=!0x0);}for(const _0x118441 of _0x8251eb)_0x13a078[_0x2134d3(0x208)](_0x118441);}const _0x3738d5=new Set(),_0x265741=[];for(const _0x3a162c of this[_0x2134d3(0x216)][_0x2134d3(0x1c1)]()){const _0xfffc32=_0x3a162c[_0x2134d3(0x1d8)](_0x2134d3(0x211));_0x3738d5[_0x2134d3(0x1b3)](_0xfffc32)?(_0x265741[_0x2134d3(0x1fc)](_0x3a162c),_0x166357=!0x0):_0x3738d5[_0x2134d3(0x200)](_0xfffc32);}for(const _0x5b8368 of _0x265741)_0x13a078[_0x2134d3(0x208)](_0x5b8368);return this[_0x2134d3(0x216)][_0x2134d3(0x1d2)]||(_0x13a078[_0x2134d3(0x208)](this[_0x2134d3(0x216)]),this[_0x2134d3(0x216)]=null,_0x166357=!0x0),_0x166357;}[_0x53b853(0x1f4)](_0x3541f2,_0x3dbafc){const _0x3cbd0f=_0x53b853;if(this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1d1)](_0x157419=>_0x157419[_0x3cbd0f(0x203)]===_0x3dbafc))return!0x1;let _0x3600bc=!0x1;const _0x377f7c=_0x3dbafc[_0x3cbd0f(0x1d8)](_0x3cbd0f(0x211)),_0x5aaeae=this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x217)](_0x58bac1=>_0x58bac1['id']===_0x377f7c);-0x1!==_0x5aaeae&&(_0x3541f2[_0x3cbd0f(0x208)](this[_0x3cbd0f(0x1c4)][_0x5aaeae][_0x3cbd0f(0x203)]),this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1c0)](_0x5aaeae,0x1),_0x3600bc=!0x0);let _0x5fabaa=this[_0x3cbd0f(0x216)]?function(_0x16cabc,_0x3aead6){const _0x2bb7bc=_0x3cbd0f;for(const _0x4576a2 of _0x16cabc[_0x2bb7bc(0x1c1)]())if(_0x4576a2[_0x2bb7bc(0x1d8)](_0x2bb7bc(0x211))===_0x3aead6)return _0x4576a2;return null;}(this[_0x3cbd0f(0x216)],_0x377f7c):null;_0x5fabaa||(_0x5fabaa=_0x3541f2[_0x3cbd0f(0x1fa)](_0x3cbd0f(0x1de),{'footnoteId':_0x377f7c}),this[_0x3cbd0f(0x216)]&&(_0x3541f2[_0x3cbd0f(0x201)](_0x5fabaa,this[_0x3cbd0f(0x216)],_0x3cbd0f(0x20f)),_0x3600bc=!0x0));const _0x16537c={'id':_0x377f7c,'reference':_0x3dbafc,'definition':_0x5fabaa},_0x37c0bc=I(this[_0x3cbd0f(0x1cc)][_0x3cbd0f(0x1d7)],this[_0x3cbd0f(0x1c4)],_0x3dbafc);this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1c0)](_0x37c0bc,0x0,_0x16537c);let _0x52b85b=_0x37c0bc;return-0x1!==_0x5aaeae&&(_0x52b85b=Math[_0x3cbd0f(0x20b)](_0x37c0bc,_0x5aaeae)),this[_0x3cbd0f(0x1f1)](_0x3541f2,_0x52b85b)&&(_0x3600bc=!0x0),_0x3600bc;}[_0x53b853(0x1f7)](_0x4d3f37,_0x4a0e4c){const _0x4b6c97=_0x53b853,_0x5aab84=this[_0x4b6c97(0x1c4)][_0x4b6c97(0x217)](_0xec3381=>_0xec3381['id']===_0x4a0e4c);if(-0x1===_0x5aab84)return!0x1;let _0x28abfd=!0x1;const _0x3598c3=this[_0x4b6c97(0x1c4)][_0x5aab84];return _0x4b6c97(0x1e7)!==_0x3598c3[_0x4b6c97(0x1ca)][_0x4b6c97(0x1cf)][_0x4b6c97(0x1b6)]&&(_0x4d3f37[_0x4b6c97(0x208)](_0x3598c3[_0x4b6c97(0x1ca)]),_0x28abfd=!0x0),this[_0x4b6c97(0x1c4)][_0x4b6c97(0x1c0)](_0x5aab84,0x1),this[_0x4b6c97(0x1f1)](_0x4d3f37,_0x5aab84)&&(_0x28abfd=!0x0),_0x28abfd;}[_0x53b853(0x20e)](_0x1089bb,_0x48fe43){const _0x4a3512=_0x53b853,_0x23fbe9=_0x48fe43[_0x4a3512(0x1d8)](_0x4a3512(0x211)),_0x26fd08=this[_0x4a3512(0x1c4)][_0x4a3512(0x217)](_0x50b3de=>_0x50b3de['id']===_0x23fbe9),_0x42baae=this[_0x4a3512(0x1c4)][_0x26fd08];let _0x4f7afa=!0x1;_0x42baae[_0x4a3512(0x203)]=_0x48fe43,this[_0x4a3512(0x1c4)][_0x4a3512(0x1c0)](_0x26fd08,0x1);const _0x512e42=I(this[_0x4a3512(0x1cc)][_0x4a3512(0x1d7)],this[_0x4a3512(0x1c4)],_0x48fe43);return this[_0x4a3512(0x1c4)][_0x4a3512(0x1c0)](_0x512e42,0x0,_0x42baae),this[_0x4a3512(0x1f1)](_0x1089bb,Math[_0x4a3512(0x20b)](_0x26fd08,_0x512e42))&&(_0x4f7afa=!0x0),_0x4f7afa;}[_0x53b853(0x1bb)](_0x353660,_0x10e26c){const _0x4ac341=_0x53b853;if(!this[_0x4ac341(0x216)])return!0x1;const _0x195e3a=this[_0x4ac341(0x1c4)][_0x10e26c];let _0x29d207;return _0x29d207=this[_0x4ac341(0x1e2)]?this[_0x4ac341(0x1e2)]({'footnote':_0x195e3a,'container':this[_0x4ac341(0x216)],'digits':String(this[_0x4ac341(0x1c4)][_0x4ac341(0x207)])[_0x4ac341(0x207)],'value':_0x10e26c+0x1}):String(_0x10e26c+0x1),_0x195e3a[_0x4ac341(0x203)][_0x4ac341(0x1d8)](_0x4ac341(0x20a))!=_0x29d207&&(_0x353660[_0x4ac341(0x1eb)](_0x4ac341(0x20a),_0x29d207,_0x195e3a[_0x4ac341(0x203)]),!0x0);}[_0x53b853(0x1ed)](_0x5a5823){const _0x1ccf60=_0x53b853;if(!this[_0x1ccf60(0x216)]||this[_0x1ccf60(0x1c4)][_0x1ccf60(0x207)]<0x2)return!0x1;if(function(_0x470557,_0x426da2){const _0x35296f=_0x1ccf60;if(_0x470557[_0x35296f(0x207)]!==_0x426da2[_0x35296f(0x207)])return!0x1;for(let _0x1c287b=0x0;_0x1c287b<_0x470557[_0x35296f(0x207)];_0x1c287b++)if(_0x470557[_0x1c287b]!==_0x426da2[_0x1c287b])return!0x1;return!0x0;}(this[_0x1ccf60(0x1c4)][_0x1ccf60(0x205)](_0x2e631a=>_0x2e631a['id']),Array[_0x1ccf60(0x1c3)](this[_0x1ccf60(0x216)][_0x1ccf60(0x1c1)]())[_0x1ccf60(0x205)](_0x7fcd16=>_0x7fcd16[_0x1ccf60(0x1d8)](_0x1ccf60(0x211)))))return!0x1;let _0x179e53=!0x1;for(let _0x22c355=0x0;_0x22c355<this[_0x1ccf60(0x1c4)][_0x1ccf60(0x207)];_0x22c355++){const _0x4bcb2a=this[_0x1ccf60(0x1c4)][_0x22c355],_0x520e28=_0x5a5823[_0x1ccf60(0x210)](_0x4bcb2a[_0x1ccf60(0x1ca)]),_0x472f98=_0x5a5823[_0x1ccf60(0x1d3)](this[_0x1ccf60(0x216)],_0x22c355);_0x520e28[_0x1ccf60(0x1e4)](_0x472f98)||(_0x5a5823[_0x1ccf60(0x1e9)](_0x5a5823[_0x1ccf60(0x209)](_0x4bcb2a[_0x1ccf60(0x1ca)]),_0x472f98),_0x179e53=!0x0);}return _0x179e53;}[_0x53b853(0x1b9)](_0x447f9a){const _0x45564d=_0x53b853;if(!this[_0x45564d(0x1c4)][_0x45564d(0x207)])return!0x1;const {model:_0x13724f}=this[_0x45564d(0x1cc)];let _0x14f252=!0x1;for(let _0x6a02bf=0x0;_0x6a02bf<this[_0x45564d(0x1c4)][_0x45564d(0x207)]-0x1;_0x6a02bf++){const _0xe2c13d=this[_0x45564d(0x1c4)][_0x6a02bf],_0x51a6c0=this[_0x45564d(0x1c4)][_0x6a02bf+0x1],_0x58829d=_0x13724f[_0x45564d(0x210)](_0xe2c13d[_0x45564d(0x203)]),_0x5957c1=_0x13724f[_0x45564d(0x210)](_0x51a6c0[_0x45564d(0x203)]);_0x45564d(0x1f5)===_0x58829d[_0x45564d(0x1b5)](_0x5957c1)&&(this[_0x45564d(0x20e)](_0x447f9a,_0xe2c13d[_0x45564d(0x203)]),_0x6a02bf=-0x1,_0x14f252=!0x0);}return _0x14f252;}}function _(_0x8fb3e,_0xf6a7d2,_0x3b9dd8){const _0xb378b7=_0x53b853;if(_0x3b9dd8[_0xb378b7(0x1d2)])return!0x1;const _0x6f261e=_0xf6a7d2?_0xb378b7(0x214):_0xb378b7(0x1c7);return _0x8fb3e[_0xb378b7(0x201)](_0x8fb3e[_0xb378b7(0x1fa)](_0x6f261e),_0x3b9dd8),!0x0;}function _0xd85b(_0x328a7f,_0x284f3b){const _0x437876=_0x4378();return _0xd85b=function(_0xd85b5,_0x209e8c){_0xd85b5=_0xd85b5-0x1b3;let _0x5563c6=_0x437876[_0xd85b5];return _0x5563c6;},_0xd85b(_0x328a7f,_0x284f3b);}function I(_0xe861a6,_0x300595,_0x30fb7d){const _0x2e8d98=_0x53b853;if(0x0===_0x300595[_0x2e8d98(0x207)])return 0x0;const _0x1d721b=_0xe861a6[_0x2e8d98(0x210)](_0x30fb7d);for(let _0x4739ce=0x0;_0x4739ce<_0x300595[_0x2e8d98(0x207)];_0x4739ce++){const _0xcc098e=_0x300595[_0x4739ce],_0x2a8749=_0xe861a6[_0x2e8d98(0x210)](_0xcc098e[_0x2e8d98(0x203)]);if(_0x2e8d98(0x1ce)===_0x1d721b[_0x2e8d98(0x1b5)](_0x2a8749))return _0x4739ce;}const _0x3cde58=_0x30fb7d[_0x2e8d98(0x1cf)];let _0x2526b9=-0x1;for(let _0x151b6b=_0x300595[_0x2e8d98(0x207)]-0x1;_0x151b6b>=0x0;_0x151b6b--)if(_0x300595[_0x151b6b][_0x2e8d98(0x203)][_0x2e8d98(0x1cf)]===_0x3cde58){_0x2526b9=_0x151b6b;break;}if(-0x1!==_0x2526b9)return _0x2526b9+0x1;const _0x20bc70=_0xe861a6[_0x2e8d98(0x1e0)][_0x2e8d98(0x1db)](),_0x5591ab=_0x20bc70[_0x2e8d98(0x206)](_0x3cde58[_0x2e8d98(0x1b6)]),_0x1193ab=_0x20bc70[_0x5591ab+0x1];if(_0x1193ab){for(let _0x3a48a1=0x0;_0x3a48a1<_0x300595[_0x2e8d98(0x207)];_0x3a48a1++)if(_0x300595[_0x3a48a1][_0x2e8d98(0x203)][_0x2e8d98(0x1cf)][_0x2e8d98(0x1b6)]===_0x1193ab)return _0x3a48a1;}return _0x300595[_0x2e8d98(0x207)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x1c5ab6,MenuBarMenuListItemButtonView as _0x596c19}from'ckeditor5/src/ui.js';import{Plugin as _0x286cb8}from'ckeditor5/src/core.js';import{IconFootnote as _0x5a71a2}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x286cb8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x10ea59}=this,{componentFactory:_0x992b92}=_0x10ea59['ui'];_0x992b92['add']('insertFootnote',E(_0x10ea59,_0x1c5ab6)),_0x992b92['add']('menuBar:insertFootnote',E(_0x10ea59,_0x596c19)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48579b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51f2c5;for(const _0x3d02cd in _0x48579b){const _0x1ca78e=_0x3d02cd,_0x56c7de=_0x48579b[_0x1ca78e];if('footnotesLicenseKeyValid'==_0x56c7de||'footnotesLicenseKeyInvalid'==_0x56c7de||'footnotesLicenseKeyExpired'==_0x56c7de||'footnotesLicenseKeyDomainLimit'==_0x56c7de||'footnotesLicenseKeyNotAllowed'==_0x56c7de||'footnotesLicenseKeyEvaluationLimit'==_0x56c7de||'footnotesLicenseKeyUsageLimit'==_0x56c7de){delete _0x48579b[_0x1ca78e],_0x51f2c5=_0x56c7de,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x51f2c5&&_0x48579b['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x51f2c5&&_0x48579b['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x51f2c5&&_0x48579b['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x51f2c5&&_0x48579b['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x51f2c5&&_0x48579b['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x51f2c5&&_0x48579b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x15f35c,_0x371a40){const _0x29c327=_0x15f35c['commands']['get']('insertFootnote');return _0x5a6889=>{const {t:t}=_0x5a6889,_0x96dd07=new _0x371a40(_0x5a6889),_0x834a65=_0x96dd07 instanceof _0x596c19;return _0x96dd07['bind']('isEnabled')['to'](_0x29c327,'isEnabled'),_0x96dd07['set']({'label':t(_0x834a65?'Footnote':'Insert\x20footnote'),'icon':_0x5a71a2,'tooltip':!0x0}),_0x96dd07['on']('execute',()=>{_0x29c327['execute'](),_0x15f35c['editing']['view']['focus']();}),_0x96dd07;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x6556a0,_0x22ffef){var _0x268a08=_0x2eae,_0x9ee83f=_0x6556a0();while(!![]){try{var _0x24b303=parseInt(_0x268a08(0x74))/0x1+-parseInt(_0x268a08(0x76))/0x2*(parseInt(_0x268a08(0x6e))/0x3)+parseInt(_0x268a08(0x73))/0x4+parseInt(_0x268a08(0x71))/0x5+-parseInt(_0x268a08(0x70))/0x6*(-parseInt(_0x268a08(0x72))/0x7)+-parseInt(_0x268a08(0x6d))/0x8+parseInt(_0x268a08(0x75))/0x9*(-parseInt(_0x268a08(0x6f))/0xa);if(_0x24b303===_0x22ffef)break;else _0x9ee83f['push'](_0x9ee83f['shift']());}catch(_0x55620e){_0x9ee83f['push'](_0x9ee83f['shift']());}}}(_0x1650,0xacda3));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x2eae(_0x13ff2a,_0x519275){var _0x165087=_0x1650();return _0x2eae=function(_0x2eaeff,_0x2a1f83){_0x2eaeff=_0x2eaeff-0x6d;var _0x100e71=_0x165087[_0x2eaeff];return _0x100e71;},_0x2eae(_0x13ff2a,_0x519275);}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';function _0x1650(){var _0x58ad01=['1170326yDlcao','3230000FcBjGt','3fICqZT','3337910fFkEue','474cKpOUY','1692245UJHFrb','59157dCPVjh','3637616EroADx','115225rjgxtI','9pPmGLs'];_0x1650=function(){return _0x58ad01;};return _0x1650();}export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x416517=_0x5075;function _0x3f83(){const _0x3e31c4=['660EOwqen','has','delete','getChanges','5QZwPLf','4515016ddKEwl','_trackedElements','elementName','getItems','root','attributes','push','7yDsuVO','2929008kzklIC','add','getElementKey','name','get','_model','type','insert','clear','element','flat','_elementName','$graveyard','1281104EOPAOI','createRangeOn','30MSKgtB','$text','5685054noDsdK','5958924mNiRnJ','set','_getElementKey','reset','2goBNMm','733205kKpBZx','slice','from','4478346nbyYZE','rootName','values','remove','position','nodeAfter','length'];_0x3f83=function(){return _0x3e31c4;};return _0x3f83();}function _0x5075(_0x48d446,_0x2454f6){const _0x3f8376=_0x3f83();return _0x5075=function(_0x5075ed,_0x85da84){_0x5075ed=_0x5075ed-0x112;let _0x411785=_0x3f8376[_0x5075ed];return _0x411785;},_0x5075(_0x48d446,_0x2454f6);}(function(_0x440a4b,_0x554d14){const _0x5a502f=_0x5075,_0x359d61=_0x440a4b();while(!![]){try{const _0x325d39=-parseInt(_0x5a502f(0x12e))/0x1+-parseInt(_0x5a502f(0x137))/0x2*(-parseInt(_0x5a502f(0x121))/0x3)+-parseInt(_0x5a502f(0x133))/0x4+-parseInt(_0x5a502f(0x118))/0x5*(-parseInt(_0x5a502f(0x132))/0x6)+-parseInt(_0x5a502f(0x120))/0x7*(parseInt(_0x5a502f(0x119))/0x8)+-parseInt(_0x5a502f(0x13b))/0x9*(parseInt(_0x5a502f(0x130))/0xa)+-parseInt(_0x5a502f(0x138))/0xb*(-parseInt(_0x5a502f(0x114))/0xc);if(_0x325d39===_0x554d14)break;else _0x359d61['push'](_0x359d61['shift']());}catch(_0x87b41d){_0x359d61['push'](_0x359d61['shift']());}}}(_0x3f83,0xba014));export class ModelElementTracker{[_0x416517(0x126)];[_0x416517(0x12c)];[_0x416517(0x135)];[_0x416517(0x11a)]=new Map();constructor(_0x55587d,_0x50c3b6){const _0x5841e9=_0x416517;this[_0x5841e9(0x126)]=_0x55587d,this[_0x5841e9(0x12c)]=_0x50c3b6[_0x5841e9(0x11b)],this[_0x5841e9(0x135)]=_0x50c3b6[_0x5841e9(0x123)];}[_0x416517(0x136)](){const _0x574f65=_0x416517;this[_0x574f65(0x11a)][_0x574f65(0x129)]();}[_0x416517(0x117)](_0x10e61c){const _0x5f31b6=_0x416517,_0x245d67=new Set(),_0x3fc87b=new Map();for(const _0x3c79d6 of _0x10e61c){if(_0x5f31b6(0x128)===_0x3c79d6[_0x5f31b6(0x127)]&&_0x5f31b6(0x131)!==_0x3c79d6[_0x5f31b6(0x124)]&&_0x3c79d6[_0x5f31b6(0x13f)][_0x5f31b6(0x112)]){const _0x156a65=this[_0x5f31b6(0x126)][_0x5f31b6(0x12f)](_0x3c79d6[_0x5f31b6(0x13f)][_0x5f31b6(0x112)]);for(const _0x4c7857 of _0x156a65[_0x5f31b6(0x11c)]()){if(!_0x4c7857['is'](_0x5f31b6(0x12a),this[_0x5f31b6(0x12c)]))continue;const _0x2fae80=this[_0x5f31b6(0x135)](_0x4c7857);_0x3fc87b[_0x5f31b6(0x115)](_0x2fae80)||_0x3fc87b[_0x5f31b6(0x134)](_0x2fae80,[]),_0x3fc87b[_0x5f31b6(0x125)](_0x2fae80)[_0x5f31b6(0x11f)](_0x4c7857);}}if(_0x5f31b6(0x13e)===_0x3c79d6[_0x5f31b6(0x127)]&&_0x3c79d6[_0x5f31b6(0x124)]===this[_0x5f31b6(0x12c)]){const _0x4707d3=this[_0x5f31b6(0x135)]({'getAttribute':_0x25171e=>_0x3c79d6[_0x5f31b6(0x11e)][_0x5f31b6(0x125)](_0x25171e)});_0x245d67[_0x5f31b6(0x122)](_0x4707d3);}}for(const [_0x3d6ecb,_0x38ee32]of this[_0x5f31b6(0x11a)])_0x5f31b6(0x12d)===_0x38ee32[_0x5f31b6(0x11d)][_0x5f31b6(0x13c)]&&_0x245d67[_0x5f31b6(0x122)](_0x3d6ecb);for(const _0x402d91 of _0x245d67)this[_0x5f31b6(0x11a)][_0x5f31b6(0x116)](_0x402d91);for(const [_0x33b3ba,_0x1175fb]of _0x3fc87b)this[_0x5f31b6(0x11a)][_0x5f31b6(0x134)](_0x33b3ba,_0x1175fb[_0x1175fb[_0x5f31b6(0x113)]-0x1]);const _0x3fa1=new Set();for(const [_0x5543e8,_0x3d771c]of _0x3fc87b)_0x245d67[_0x5f31b6(0x115)](_0x5543e8)&&(_0x3fa1[_0x5f31b6(0x122)](_0x3d771c[0x0]),_0x3d771c[_0x5f31b6(0x113)]>0x1?_0x3fc87b[_0x5f31b6(0x134)](_0x5543e8,_0x3d771c[_0x5f31b6(0x139)](0x1)):_0x3fc87b[_0x5f31b6(0x116)](_0x5543e8),_0x245d67[_0x5f31b6(0x116)](_0x5543e8));return{'removed':Array[_0x5f31b6(0x13a)](_0x245d67),'inserted':Array[_0x5f31b6(0x13a)](_0x3fc87b[_0x5f31b6(0x13d)]())[_0x5f31b6(0x12b)](),'moved':Array[_0x5f31b6(0x13a)](_0x3fa1)};}}
|