@ckeditor/ckeditor5-footnotes 47.5.0-alpha.8 → 47.6.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 _0x48ca3c}from'ckeditor5/src/core.js';import{isWidget as _0x42fb98,toWidget as _0x357b5b,toWidgetEditable as _0x236159}from'ckeditor5/src/widget.js';import{uid as _0xed74ee}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4fc515,ClickObserver as _0x2e3767}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x512f6d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4b33e4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x48ca3c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x512f6d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4db752}=this;_0x4db752['config']['define']('footnotes.multiBlock',!0x0),_0x4db752['commands']['add']('insertFootnote',new _0x4b33e4(_0x4db752)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4f0d81){const _0x228414=_0x30e675([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]),_0x37ffbc=0x47a28506,_0x5e935e=0x47a5046e^_0x37ffbc,_0x45cfc7=window[_0x30e675([0x44,0x61,0x74,0x65])][_0x30e675([0x6e,0x6f,0x77])](),_0x2f2520=_0x4f0d81[_0x30e675([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e9f86=new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2aaa=>{_0x2f2520[_0x30e675([0x6f,0x6e,0x63,0x65])](_0x30e675([0x72,0x65,0x61,0x64,0x79]),_0x1d2aaa);}),_0x4c2c10={[_0x30e675([0x6b,0x74,0x79])]:_0x30e675([0x45,0x43]),[_0x30e675([0x75,0x73,0x65])]:_0x30e675([0x73,0x69,0x67]),[_0x30e675([0x63,0x72,0x76])]:_0x30e675([0x50,0x2d,0x32,0x35,0x36]),[_0x30e675([0x78])]:_0x30e675([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]),[_0x30e675([0x79])]:_0x30e675([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]),[_0x30e675([0x61,0x6c,0x67])]:_0x30e675([0x45,0x53,0x32,0x35,0x36])},_0xa3b9d1=_0x2f2520[_0x30e675([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30e675([0x67,0x65,0x74])](_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18d5b9(){let _0x592103,_0x37e87c=null,_0x4dfc2a=null;try{if(_0xa3b9d1==_0x30e675([0x47,0x50,0x4c]))return _0x30e675([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x592103=_0x39f844(),!_0x592103)return _0x30e675([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x592103[_0x30e675([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dfc2a=_0x4bf9a4(_0x592103[_0x30e675([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x592103[_0x30e675([0x6a,0x74,0x69])])),await _0x57c7f7()?_0x582f4e()?_0x1a9855()?_0x30e675([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x61604a()?(_0x592103[_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30e675([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37e87c=_0x207f18(_0x30e675([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x559b7a()):_0x30e675([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30e675([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30e675([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x30e675([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a9855(){const _0x3477c7=[_0x30e675([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30e675([0x74,0x72,0x69,0x61,0x6c])][_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x592103[_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45cfc7/0x3e8:0xe10*_0x5e935e;return _0x592103[_0x30e675([0x65,0x78,0x70])]<_0x3477c7;}function _0x582f4e(){const _0xd511f=_0x592103[_0x30e675([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd511f&&(!!_0xd511f[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e675([0x2a]))||!!_0xd511f[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e675([0x46,0x4f,0x4f])));}function _0x61604a(){const _0x1641e6=_0x592103[_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1641e6||0x0==_0x1641e6[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f692d}=new URL(window[_0x30e675([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1641e6[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f692d))return!0x0;const _0x3570f2=_0x1f692d[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e]));return _0x1641e6[_0x30e675([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a5ad8=>_0x1a5ad8[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e675([0x2a])))[_0x30e675([0x6d,0x61,0x70])](_0x2985b6=>_0x2985b6[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e])))[_0x30e675([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2413b8=>_0x2413b8[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3570f2[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30e675([0x6d,0x61,0x70])](_0x2da80c=>Array(_0x3570f2[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2da80c[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30e675([0x66,0x69,0x6c,0x6c])](_0x2da80c[0x0]===_0x30e675([0x2a])?_0x30e675([0x2a]):'')[_0x30e675([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2da80c))[_0x30e675([0x73,0x6f,0x6d,0x65])](_0x4e51bc=>_0x3570f2[_0x30e675([0x65,0x76,0x65,0x72,0x79])]((_0x3312e0,_0x1f204d)=>_0x4e51bc[_0x1f204d]===_0x3312e0||_0x4e51bc[_0x1f204d]===_0x30e675([0x2a])));}function _0x559b7a(){return _0x37e87c&&_0x4dfc2a?new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20be86,_0x95408b)=>{_0x37e87c[_0x30e675([0x74,0x68,0x65,0x6e])](_0x20be86,_0x95408b),_0x4dfc2a[_0x30e675([0x74,0x68,0x65,0x6e])](_0x269911=>{_0x269911!=_0x30e675([0x56,0x61,0x6c,0x69,0x64])&&_0x20be86(_0x269911);},_0x95408b);}):_0x37e87c||_0x4dfc2a||_0x30e675([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4bf9a4(_0x2bfb55,_0x2bf534){return new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x585ef=>{if(_0x3d29f9())return _0x585ef(_0x30e675([0x56,0x61,0x6c,0x69,0x64]));_0x34a209(),_0x2f2520[_0x30e675([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30e675([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x210f51=!0x1;const _0x1593b3=_0xed74ee();function _0x502445(_0x4f03cf){return!!_0x4f03cf&&(typeof _0x4f03cf===_0x30e675([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f03cf===_0x30e675([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f03cf[_0x30e675([0x74,0x68,0x65,0x6e])]===_0x30e675([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f03cf[_0x30e675([0x63,0x61,0x74,0x63,0x68])]===_0x30e675([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x327100(_0x292fd5){_0x45e292(_0x292fd5)[_0x30e675([0x74,0x68,0x65,0x6e])](_0x2c8183=>{if(!_0x2c8183||_0x2c8183[_0x30e675([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30e675([0x6f,0x6b]))return _0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x188e5b(_0x31f1b7(_0x1593b3+_0x2bf534))!=_0x2c8183[_0x30e675([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30e675([0x56,0x61,0x6c,0x69,0x64]);})[_0x30e675([0x74,0x68,0x65,0x6e])](_0x353102=>(_0x4dd5df(),_0x353102),()=>{const _0x317454=_0x11cf6a();return null==_0x317454?(_0x4dd5df(),_0x30e675([0x56,0x61,0x6c,0x69,0x64])):_0x30e675(_0x45cfc7-_0x317454>(0x63ae0106^_0x37ffbc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30e675([0x74,0x68,0x65,0x6e])](_0x585ef)[_0x30e675([0x63,0x61,0x74,0x63,0x68])](()=>{_0x585ef(_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x533336=0x47946b86^_0x37ffbc;function _0x4dd5df(){const _0x17ad6f=_0x30e675([0x6c,0x6c,0x63,0x74,0x2d])+_0x188e5b(_0x31f1b7(_0x2bfb55)),_0x3a886e=_0x53ae4c(_0x188e5b(window[_0x30e675([0x4d,0x61,0x74,0x68])][_0x30e675([0x63,0x65,0x69,0x6c])](_0x45cfc7/_0x533336)));window[_0x30e675([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30e675([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17ad6f,_0x3a886e);}function _0x11cf6a(){const _0x235b42=_0x30e675([0x6c,0x6c,0x63,0x74,0x2d])+_0x188e5b(_0x31f1b7(_0x2bfb55)),_0xeb83fc=window[_0x30e675([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30e675([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x235b42);return _0xeb83fc?window[_0x30e675([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53ae4c(_0xeb83fc),0x10)*_0x533336:null;}function _0x45e292(_0x160b4c){return new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a47ee,_0x2af672)=>{_0x160b4c[_0x30e675([0x74,0x68,0x65,0x6e])](_0x1a47ee,_0x2af672),window[_0x30e675([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2af672,0x47a351c6^_0x37ffbc);});}}_0x2f2520[_0x30e675([0x6f,0x6e])](_0x30e675([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x413f54,_0x5bda6f)=>{if(_0x5bda6f[0x0]!=_0x2bfb55)return _0x585ef(_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bda6f[0x1]={..._0x5bda6f[0x1],[_0x30e675([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1593b3};},{[_0x30e675([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30e675([0x68,0x69,0x67,0x68])}),_0x2f2520[_0x30e675([0x6f,0x6e])](_0x30e675([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23b083=>{_0x502445(_0x23b083[_0x30e675([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x210f51=!0x0,_0x327100(_0x23b083[_0x30e675([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30e675([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30e675([0x6c,0x6f,0x77])}),_0x2e9f86[_0x30e675([0x74,0x68,0x65,0x6e])](()=>{_0x210f51||_0x585ef(_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d29f9(){return _0x2f2520[_0x30e675([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30e675([0x76,0x69,0x65,0x77])][_0x30e675([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30e675([0x61,0x75,0x74,0x6f]);}function _0x34a209(){_0x2f2520[_0x30e675([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30e675([0x76,0x69,0x65,0x77])][_0x30e675([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30e675([0x61,0x75,0x74,0x6f]);}}function _0x207f18(_0x4fd3f5){const _0x8634ed=[new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d18dd=>setTimeout(_0x3d18dd,0x47abbbca^_0x37ffbc)),_0x2e9f86[_0x30e675([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fa922=>{let _0x375eea=0x0;_0x2f2520[_0x30e675([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e675([0x6f,0x6e])](_0x30e675([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x411d99,_0x2264de)=>{_0x2264de[0x0][_0x30e675([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x375eea++,_0x375eea==(0x47a280ee^_0x37ffbc)&&(_0x2fa922(),_0x411d99[_0x30e675([0x6f,0x66,0x66])]());});}))];return window[_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30e675([0x72,0x61,0x63,0x65])](_0x8634ed)[_0x30e675([0x74,0x68,0x65,0x6e])](()=>_0x4fd3f5);}async function _0x442557(){await _0x2e9f86,_0x2f2520[_0x30e675([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e675([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29087b,_0x2f2520[_0x30e675([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e675([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29087b,_0x2f2520[_0x30e675([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30e675([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x306490(_0x4dd7e5){const _0x5b6088=_0x5c3edd();_0x2f2520[_0x5b6088]=_0x30e675([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dd7e5,_0x4dd7e5!=_0x30e675([0x56,0x61,0x6c,0x69,0x64])&&_0x442557();}function _0x5c3edd(){const _0x218a0f=window[_0x30e675([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30e675([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30e675([0x6e,0x6f,0x77])]())[_0x30e675([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30e675([0x2e]),'');let _0x428719=_0x30e675([0x75]);for(let _0xdcd0=0x0;_0xdcd0<_0x218a0f[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdcd0+=0x2){let _0x121bdf=window[_0x30e675([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x218a0f[_0x30e675([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdcd0,_0xdcd0+0x2));_0x121bdf>=_0x228414[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x121bdf-=_0x228414[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x428719+=_0x228414[_0x121bdf];}return _0x428719;}function _0x39f844(){const _0xb2a18b=_0xa3b9d1[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e]));if(0x3!=_0xb2a18b[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1546c3(_0xb2a18b[0x1]);function _0x1546c3(_0x4cdcb8){const _0x5e100f=_0x28234f(_0x4cdcb8);return _0x5e100f&&_0x15b4b7()?_0x5e100f:null;function _0x15b4b7(){const _0x1e8119=_0x5e100f[_0x30e675([0x6a,0x74,0x69])],_0x39b212=window[_0x30e675([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e8119[_0x30e675([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e8119[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x146f20={..._0x5e100f,[_0x30e675([0x6a,0x74,0x69])]:_0x1e8119[_0x30e675([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e8119[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x146f20[_0x30e675([0x76,0x63])],_0x31f1b7(_0x146f20)==_0x39b212;}}}async function _0x57c7f7(){let _0xcdbc67=!0x0;try{const _0x5b5170=_0xa3b9d1[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e])),[_0x23f567,_0x293607,_0x4c7e6f]=_0x5b5170;return _0x3d86b7(_0x23f567),await _0x411461(_0x23f567,_0x293607,_0x4c7e6f),_0xcdbc67;}catch{return!0x1;}function _0x3d86b7(_0x2643a9){const _0x2886e2=_0x28234f(_0x2643a9);_0x2886e2&&_0x2886e2[_0x30e675([0x61,0x6c,0x67])]==_0x30e675([0x45,0x53,0x32,0x35,0x36])||(_0xcdbc67=!0x1);}async function _0x411461(_0x19b81d,_0x51537a,_0x39d84d){const _0x205461=window[_0x30e675([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30e675([0x66,0x72,0x6f,0x6d])](_0x470853(_0x39d84d),_0x3efca7=>_0x3efca7[_0x30e675([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e2a94=new window[(_0x30e675([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30e675([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19b81d+_0x30e675([0x2e])+_0x51537a),_0x299072=window[_0x30e675([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30e675([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x299072)return;const _0xbe1622=await _0x299072[_0x30e675([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30e675([0x6a,0x77,0x6b]),_0x4c2c10,{[_0x30e675([0x6e,0x61,0x6d,0x65])]:_0x30e675([0x45,0x43,0x44,0x53,0x41]),[_0x30e675([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30e675([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30e675([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x299072[_0x30e675([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30e675([0x6e,0x61,0x6d,0x65])]:_0x30e675([0x45,0x43,0x44,0x53,0x41]),[_0x30e675([0x68,0x61,0x73,0x68])]:{[_0x30e675([0x6e,0x61,0x6d,0x65])]:_0x30e675([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbe1622,_0x205461,_0x4e2a94)||(_0xcdbc67=!0x1);}}function _0x28234f(_0x4b41d1){return _0x4b41d1[_0x30e675([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30e675([0x65,0x79]))?JSON[_0x30e675([0x70,0x61,0x72,0x73,0x65])](_0x470853(_0x4b41d1)):null;}function _0x470853(_0x13912b){return window[_0x30e675([0x61,0x74,0x6f,0x62])](_0x13912b[_0x30e675([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30e675([0x2b]))[_0x30e675([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30e675([0x2f])));}function _0x31f1b7(_0x568612){let _0x3066a9=0x1505;function _0x5087f6(_0x54b356){for(let _0x36e112=0x0;_0x36e112<_0x54b356[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36e112++){const _0x224266=_0x54b356[_0x30e675([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36e112);_0x3066a9=(_0x3066a9<<0x5)+_0x3066a9+_0x224266,_0x3066a9&=_0x3066a9;}}function _0x211171(_0x4840c0){Array[_0x30e675([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4840c0)?_0x4840c0[_0x30e675([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x211171):_0x4840c0&&typeof _0x4840c0==_0x30e675([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30e675([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4840c0)[_0x30e675([0x73,0x6f,0x72,0x74])]()[_0x30e675([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24dd0d,_0x5651fc])=>{_0x5087f6(_0x24dd0d),_0x211171(_0x5651fc);}):_0x5087f6(window[_0x30e675([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4840c0));}return _0x211171(_0x568612),_0x3066a9>>>0x0;}function _0x188e5b(_0x1e335d){return _0x1e335d[_0x30e675([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30e675([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30e675([0x30]));}function _0x53ae4c(_0x5a3892){return _0x5a3892[_0x30e675([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30e675([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30e675([0x6a,0x6f,0x69,0x6e])]('');}function _0x29087b(){}function _0x30e675(_0x800759){return _0x800759['map'](_0x26e80c=>String['fromCharCode'](_0x26e80c))['join']('');}_0x306490(await _0x18d5b9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x461bc9){const {plugins:_0x447b26,editing:_0x287105,model:_0x1de657}=this['editor'],_0x1e6ee0=_0x447b26['get'](_0x512f6d)['getFootnote'](_0x461bc9);return!!_0x1e6ee0&&(_0x1de657['change'](_0x40d9b1=>{_0x40d9b1['setSelection'](_0x40d9b1['createPositionAt'](_0x1e6ee0['definition'],'end'));}),_0x287105['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x551cfd){const {plugins:_0x55d05d,editing:_0x3c04a4,model:_0x17947d}=this['editor'],_0x41b4c6=_0x55d05d['get'](_0x512f6d)['getFootnote'](_0x551cfd);return!!_0x41b4c6&&(_0x17947d['change'](_0x26bfd2=>{_0x26bfd2['setSelection'](_0x41b4c6['reference'],'on');}),_0x3c04a4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2d8859}=this['editor']['model'],_0x52d814=this['editor']['config']['get']('footnotes.multiBlock');_0x2d8859['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2d8859['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2d8859['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x52d814?_0x2d8859['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2d8859['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2d8859['addChildCheck'](_0x486cb1=>{for(const _0x32c326 of _0x486cb1)if('footnoteDefinition'===_0x32c326['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x384b7e}=this,{conversion:_0x51bce5,editing:_0xcc66a7}=_0x384b7e,{t:t}=_0x384b7e['locale'];_0x51bce5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1956da,{writer:_0x13bda5,consumable:_0x589f96})=>{const _0x2a3297=_0x1956da['getChild'](0x0);if(!_0x2a3297||!_0x2a3297['is']('element','a'))return null;const _0x42684a=_0x2a3297['getAttribute']('href')||'';if(!_0x42684a['startsWith']('#'))return null;const _0x3c6f95=_0x42684a['replace'](/^#/,'');if(!_0x3c6f95)return null;_0x589f96['consume'](_0x2a3297,{'name':!0x0,'attributes':['href']});for(const {item:_0x5b653d}of _0xcc66a7['view']['createRangeIn'](_0x2a3297))_0x5b653d['is']('$textProxy')?_0x589f96['consume'](_0x5b653d['textNode'],{'name':!0x0}):_0x5b653d['is']('element')&&_0x589f96['consume'](_0x5b653d,{'name':!0x0});return _0x13bda5['createElement']('footnoteRef',{'footnoteId':_0x3c6f95});}}),_0x51bce5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xbb1801,{writer:_0x1ac274})=>b(_0xbb1801,_0x1ac274)}),_0x51bce5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x558ef6,{writer:_0xf0237b})=>{const _0x35ccd2=_0x558ef6['getAttribute']('footnoteCounter');return _0x357b5b(b(_0x558ef6,_0xf0237b),_0xf0237b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x35ccd2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5ec968}=this,{t:t}=_0x5ec968['locale'],{conversion:_0x46637e}=_0x5ec968;_0x46637e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x46637e['for']('upcast')['add'](_0x2aebfb=>{_0x2aebfb['on']('element:ol',(_0x2be3b4,_0x46427a,_0x2d3e5f)=>{const _0x15ecd4=_0x46427a['viewItem'];if(!_0x15ecd4['hasClass']('footnotes-list')||!_0x46427a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2d3e5f['consumable']['consume'](_0x15ecd4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x26131c,modelCursor:_0x36ca25}=_0x2d3e5f['convertChildren'](_0x46427a['viewItem'],_0x46427a['modelCursor']);_0x46427a['modelRange']=_0x26131c,_0x46427a['modelCursor']=_0x36ca25;}),_0x2aebfb['on']('element:hr',(_0x258933,_0x371f76,_0x51d13b)=>{const _0x28988a=_0x371f76['viewItem'];_0x28988a['hasClass']('footnotes-divider')&&_0x371f76['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x51d13b['consumable']['consume'](_0x28988a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x46637e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1ddedf,{writer:_0x432e31})=>D(_0x432e31)}),_0x46637e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe2fb15,{writer:_0xbbf983})=>{const _0x94b9d3=D(_0xbbf983,{'data-footnotes-list-label':t('Footnotes')}),_0x575658=_0x357b5b(_0x94b9d3,_0xbbf983,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xbbf983['setCustomProperty']('footnotesDefinitions',!0x0,_0x575658),_0x575658;}});}['_defineDefinitionConverters'](){const {editor:_0x5ed921}=this,{conversion:_0x5235ac,locale:_0x1b871e}=_0x5ed921,_0x29f529=_0x5ed921['config']['get']('footnotes.multiBlock');_0x5235ac['for']('upcast')['add'](_0x152d00=>{_0x152d00['on']('element:li',(_0x431799,_0x3f815a,_0x486fa0)=>{const _0x54ad81=_0x3f815a['viewItem'];if(!_0x54ad81['hasClass']('footnote-definition')||!_0x54ad81['getAttribute']('id'))return;const _0x531270=_0x54ad81['parent'];if(!_0x531270['is']('element','ol')||!_0x531270['hasClass']('footnotes-list'))return;if(!_0x486fa0['consumable']['test'](_0x54ad81,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x14767a=_0x486fa0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x54ad81['getAttribute']('id')});if(!_0x486fa0['safeInsert'](_0x14767a,_0x3f815a['modelCursor']))return;_0x486fa0['consumable']['consume'](_0x54ad81,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3c9d59=Array['from'](_0x54ad81['getChildren']())['find'](_0x26fb24=>_0x26fb24['is']('element')&&_0x26fb24['hasClass']('footnote-content'));for(const _0xe5f0e0 of _0x54ad81['getChildren']())_0xe5f0e0['is']('element')&&(_0x486fa0['consumable']['consume'](_0xe5f0e0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x486fa0['consumable']['consume'](_0xe5f0e0,{'name':!0x0,'classes':'footnote-content'}));if(_0x3c9d59){if(_0x29f529)_0x486fa0['convertChildren'](_0x3c9d59,_0x14767a);else{const _0x3c5d12=_0x486fa0['writer']['createElement']('footnoteInlineContent');_0x486fa0['writer']['insert'](_0x3c5d12,_0x14767a),_0x486fa0['convertChildren'](_0x3c9d59,_0x3c5d12);}}_0x486fa0['updateConversionResult'](_0x14767a,_0x3f815a);});}),_0x5235ac['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xc5c242,{writer:_0x568f09})=>y(_0xc5c242,_0x568f09,_0x1b871e,{'dataPipeline':!0x0})}),_0x5235ac['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1be77a,{writer:_0x1ba43d})=>y(_0x1be77a,_0x1ba43d,_0x1b871e)});}['_defineBogusParagraphConverters'](){const {editor:_0x4a4908}=this,{conversion:_0x1caafb}=_0x4a4908;_0x4a4908['config']['get']('footnotes.multiBlock')?(_0x1caafb['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1caafb['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4a4908['model']['document'],'change:data',()=>{!function(_0x202578,_0x1ac68d){const _0x557085=_0x202578['document']['differ'],_0x155d98=new Set();for(const _0x9d6f3c of _0x557085['getChanges']()){const _0x40822c='attribute'==_0x9d6f3c['type']?_0x9d6f3c['range']['start']['parent']:_0x9d6f3c['position']['parent'];_0x40822c['is']('element','footnoteDefinition')&&_0x155d98['add'](_0x40822c);}for(const _0x1f8cc5 of _0x155d98['values']()){const _0x1c1c5b=Array['from'](_0x1f8cc5['getChildren']())['filter'](_0x1f4382=>v(_0x1f4382,_0x1ac68d['mapper']));for(const _0x4adca7 of _0x1c1c5b)_0x1ac68d['reconvertItem'](_0x4adca7);}}(_0x4a4908['model'],_0x4a4908['editing']);})):(_0x1caafb['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1caafb['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x590d01,{writer:_0x2ce287})=>{const _0x216bc5=_0x2ce287['createContainerElement']('span');return _0x2ce287['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x216bc5),_0x216bc5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2a1a15}=this,{editing:_0x459bc4,t:t}=_0x2a1a15,_0x3b91ce=_0x2a1a15['model']['document']['selection'];_0x2a1a15['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2a1a15['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x459bc4['view']['document'],'enter',(_0x70d1ae,_0x440561)=>{const _0x3f559b=function(_0xd72685){const _0x48264e=_0xd72685['getSelectedElement']();if(_0x48264e?.['is']('element','footnoteRef'))return _0x48264e;return null;}(_0x3b91ce);if(_0x3f559b){const _0x494a71=_0x3f559b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x494a71),_0x440561['preventDefault'](),_0x70d1ae['stop']();}},{'context':_0x42fb98});}['_defineClickHandlers'](){const {editor:_0xafb09a}=this,{editing:_0x4199cc}=_0xafb09a;_0xafb09a['editing']['view']['addObserver'](_0x4fc515),_0xafb09a['editing']['view']['addObserver'](_0x2e3767);let _0x14feb2=!0x1;this['listenTo'](_0x4199cc['view']['document'],'pointerdown',(_0x4d12ed,_0x2a3635)=>{const {target:_0x4189f2}=_0x2a3635,_0x47d16d=_0x4199cc['view']['document']['selection'];_0x14feb2=!!(_0x4189f2?.['is']('element','a')&&_0x4189f2['parent']?.['is']('element','sup')&&_0x4189f2['parent']['hasClass']('footnote'))&&_0x47d16d['getSelectedElement']()===_0x4189f2['parent'];},{'priority':'high'}),this['listenTo'](_0x4199cc['view']['document'],'click',(_0x350dd0,_0x45dc82)=>{const {target:_0x258e03}=_0x45dc82;if(!_0x258e03?.['is']('element','a'))return;if(_0x258e03['parent']?.['is']('element','sup')&&_0x258e03['parent']['hasClass']('footnote')&&!_0x14feb2)return void _0x45dc82['preventDefault']();let _0x49457f=_0x258e03['getAttribute']('href');if(!_0x49457f?.['startsWith']('#'))return;_0x49457f=_0x49457f['slice'](0x1);let _0x150904=!0x1;(_0x49457f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x49457f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x49457f))&&(_0x150904=!0x0),_0x150904&&(_0x45dc82['preventDefault'](),_0x350dd0['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x12692d}={}){return(_0xb8671e,{writer:_0x5e3e10})=>{if(!g(_0xb8671e))return null;if(!_0x12692d)return _0x5e3e10['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x434fad=_0x5e3e10['createContainerElement']('p');return _0x5e3e10['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x434fad),_0x434fad;};}function g(_0x16e27c){const {parent:_0x526c62}=_0x16e27c;if(!_0x526c62?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x526c62['childCount'])return!0x1;for(const _0x199c28 of _0x16e27c['getAttributeKeys']())if(!_0x199c28['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x199c28)return!0x1;return!0x0;}function v(_0x5b2369,_0x51054e){if(!_0x5b2369['is']('element','paragraph'))return!0x1;const _0x3f05c7=_0x51054e['toViewElement'](_0x5b2369);return!!_0x3f05c7&&g(_0x5b2369)!==_0x3f05c7['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5d5124){return _0x42fb98(_0x5d5124)&&_0x5d5124['is']('containerElement')&&!!_0x5d5124['getCustomProperty']('footnotesDefinitions');}function D(_0x4a979a,_0x21d445={}){const _0x311ecd=_0x4a979a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x39c4f2=_0x4a979a['createContainerElement']('ol',{'class':'footnotes-list'},_0x4a979a['createSlot']());return _0x4a979a['createContainerElement']('div',{'class':'footnotes',..._0x21d445},[_0x311ecd,_0x39c4f2]);}function b(_0x55aa3f,_0x424ed9){const _0x441dfd=_0x55aa3f['getAttribute']('footnoteId'),_0x4f4aee=_0x55aa3f['getAttribute']('footnoteCounter'),_0x15023f=_0x424ed9['createUIElement']('a',{'href':'#'+_0x441dfd},function(_0x82833){const _0x2962ff=this['toDomElement'](_0x82833);return _0x2962ff['textContent']=_0x4f4aee,_0x2962ff;}),_0x109c0f=_0x424ed9['createContainerElement']('sup',{'id':'ref-'+_0x441dfd,'class':'footnote'},[_0x15023f]);return _0x109c0f['getFillerOffset']=()=>null,_0x109c0f;}function y(_0x389a0a,_0x5dd535,_0x109fc0,{dataPipeline:_0x4173a9}={}){const {t:t}=_0x109fc0,_0x23a780=_0x389a0a['getAttribute']('footnoteId'),_0x2e6642=_0x5dd535['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x23a780},function(_0x37074a){const _0xbcedf9=this['toDomElement'](_0x37074a);return _0xbcedf9['innerText']='^',_0xbcedf9;}),_0x47591f=_0x4173a9?_0x5dd535['createContainerElement']('div',{'class':'footnote-content'}):_0x236159(_0x5dd535['createEditableElement']('div',{'class':'footnote-content'}),_0x5dd535,{'label':t('Footnote\x20content.')});return _0x5dd535['insert'](_0x5dd535['createPositionAt'](_0x47591f,0x0),_0x5dd535['createSlot']()),_0x5dd535['createContainerElement']('li',{'class':'footnote-definition','id':_0x23a780},[_0x2e6642,_0x47591f]);}
|
|
23
|
+
import{Plugin as _0x3fbfc0}from'ckeditor5/src/core.js';import{isWidget as _0x2b3bd5,toWidget as _0x3dda52,toWidgetEditable as _0x2c036f}from'ckeditor5/src/widget.js';import{uid as _0xf6c479}from'ckeditor5/src/utils.js';import{PointerObserver as _0x207a7c,ClickObserver as _0x170f8a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x153a50}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x251a1a}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3fbfc0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x153a50];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32ad0d}=this;_0x32ad0d['config']['define']('footnotes.multiBlock',!0x0),_0x32ad0d['commands']['add']('insertFootnote',new _0x251a1a(_0x32ad0d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x16ddf1){const _0x438499=_0x2125df([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]),_0x2f5ac9=0x47a28506,_0x2e3d73=0x47a507be^_0x2f5ac9,_0x17e80a=window[_0x2125df([0x44,0x61,0x74,0x65])][_0x2125df([0x6e,0x6f,0x77])](),_0x48d746=_0x16ddf1[_0x2125df([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44a646=new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4efb60=>{_0x48d746[_0x2125df([0x6f,0x6e,0x63,0x65])](_0x2125df([0x72,0x65,0x61,0x64,0x79]),_0x4efb60);}),_0x1dc980={[_0x2125df([0x6b,0x74,0x79])]:_0x2125df([0x45,0x43]),[_0x2125df([0x75,0x73,0x65])]:_0x2125df([0x73,0x69,0x67]),[_0x2125df([0x63,0x72,0x76])]:_0x2125df([0x50,0x2d,0x32,0x35,0x36]),[_0x2125df([0x78])]:_0x2125df([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]),[_0x2125df([0x79])]:_0x2125df([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]),[_0x2125df([0x61,0x6c,0x67])]:_0x2125df([0x45,0x53,0x32,0x35,0x36])},_0x2ecbe9=_0x48d746[_0x2125df([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2125df([0x67,0x65,0x74])](_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d752c(){let _0x2da452,_0x32a6e=null,_0x2525e7=null;try{if(_0x2ecbe9==_0x2125df([0x47,0x50,0x4c]))return _0x2125df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2da452=_0x36a54a(),!_0x2da452)return _0x2125df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2da452[_0x2125df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2525e7=_0x515088(_0x2da452[_0x2125df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2da452[_0x2125df([0x6a,0x74,0x69])])),await _0x26a5e1()?_0x26d5be()?_0x2404ed()?_0x2125df([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cbdec()?(_0x2da452[_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2125df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32a6e=_0x5c91c9(_0x2125df([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12e4c1()):_0x2125df([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2125df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2125df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2125df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2404ed(){const _0x4d9402=[_0x2125df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2125df([0x74,0x72,0x69,0x61,0x6c])][_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2da452[_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17e80a/0x3e8:0xe10*_0x2e3d73;return _0x2da452[_0x2125df([0x65,0x78,0x70])]<_0x4d9402;}function _0x26d5be(){const _0x2c0941=_0x2da452[_0x2125df([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c0941&&(!!_0x2c0941[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2125df([0x2a]))||!!_0x2c0941[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2125df([0x46,0x4f,0x4f])));}function _0x4cbdec(){const _0x339202=_0x2da452[_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x339202||0x0==_0x339202[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x289e05}=new URL(window[_0x2125df([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x339202[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289e05))return!0x0;const _0x459965=_0x289e05[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e]));return _0x339202[_0x2125df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a1851=>_0x4a1851[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2125df([0x2a])))[_0x2125df([0x6d,0x61,0x70])](_0x22f1a7=>_0x22f1a7[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e])))[_0x2125df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x362149=>_0x362149[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x459965[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2125df([0x6d,0x61,0x70])](_0x34c1b4=>Array(_0x459965[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34c1b4[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2125df([0x66,0x69,0x6c,0x6c])](_0x34c1b4[0x0]===_0x2125df([0x2a])?_0x2125df([0x2a]):'')[_0x2125df([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34c1b4))[_0x2125df([0x73,0x6f,0x6d,0x65])](_0x13db57=>_0x459965[_0x2125df([0x65,0x76,0x65,0x72,0x79])]((_0x48f365,_0x1d5ddc)=>_0x13db57[_0x1d5ddc]===_0x48f365||_0x13db57[_0x1d5ddc]===_0x2125df([0x2a])));}function _0x12e4c1(){return _0x32a6e&&_0x2525e7?new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x542f53,_0x27b089)=>{_0x32a6e[_0x2125df([0x74,0x68,0x65,0x6e])](_0x542f53,_0x27b089),_0x2525e7[_0x2125df([0x74,0x68,0x65,0x6e])](_0x363b5b=>{_0x363b5b!=_0x2125df([0x56,0x61,0x6c,0x69,0x64])&&_0x542f53(_0x363b5b);},_0x27b089);}):_0x32a6e||_0x2525e7||_0x2125df([0x56,0x61,0x6c,0x69,0x64]);}}function _0x515088(_0x1a78eb,_0x1a1372){return new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b3acc=>{if(_0x4dc665())return _0x1b3acc(_0x2125df([0x56,0x61,0x6c,0x69,0x64]));_0x57a70b(),_0x48d746[_0x2125df([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2125df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e6a42=!0x1;const _0x2db9a9=_0xf6c479();function _0x40362e(_0x1471b8){return!!_0x1471b8&&(typeof _0x1471b8===_0x2125df([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1471b8===_0x2125df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1471b8[_0x2125df([0x74,0x68,0x65,0x6e])]===_0x2125df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1471b8[_0x2125df([0x63,0x61,0x74,0x63,0x68])]===_0x2125df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f8a54(_0x3ff668){_0x4713d8(_0x3ff668)[_0x2125df([0x74,0x68,0x65,0x6e])](_0x4bbae5=>{if(!_0x4bbae5||_0x4bbae5[_0x2125df([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2125df([0x6f,0x6b]))return _0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b32c9(_0x57843d(_0x2db9a9+_0x1a1372))!=_0x4bbae5[_0x2125df([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2125df([0x56,0x61,0x6c,0x69,0x64]);})[_0x2125df([0x74,0x68,0x65,0x6e])](_0x522ef7=>(_0x2d21f3(),_0x522ef7),()=>{const _0x361da8=_0x307b7e();return null==_0x361da8?(_0x2d21f3(),_0x2125df([0x56,0x61,0x6c,0x69,0x64])):_0x2125df(_0x17e80a-_0x361da8>(0x63ae0106^_0x2f5ac9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2125df([0x74,0x68,0x65,0x6e])](_0x1b3acc)[_0x2125df([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b3acc(_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b7a9f=0x47946b86^_0x2f5ac9;function _0x2d21f3(){const _0x189c9d=_0x2125df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b32c9(_0x57843d(_0x1a78eb)),_0x4c9e98=_0xbf35f2(_0x3b32c9(window[_0x2125df([0x4d,0x61,0x74,0x68])][_0x2125df([0x63,0x65,0x69,0x6c])](_0x17e80a/_0x2b7a9f)));window[_0x2125df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2125df([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x189c9d,_0x4c9e98);}function _0x307b7e(){const _0x2dc42a=_0x2125df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b32c9(_0x57843d(_0x1a78eb)),_0x842668=window[_0x2125df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2125df([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dc42a);return _0x842668?window[_0x2125df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbf35f2(_0x842668),0x10)*_0x2b7a9f:null;}function _0x4713d8(_0x5ed671){return new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x337a4f,_0x384de4)=>{_0x5ed671[_0x2125df([0x74,0x68,0x65,0x6e])](_0x337a4f,_0x384de4),window[_0x2125df([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x384de4,0x47a351c6^_0x2f5ac9);});}}_0x48d746[_0x2125df([0x6f,0x6e])](_0x2125df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51d858,_0x38b950)=>{if(_0x38b950[0x0]!=_0x1a78eb)return _0x1b3acc(_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38b950[0x1]={..._0x38b950[0x1],[_0x2125df([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2db9a9};},{[_0x2125df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2125df([0x68,0x69,0x67,0x68])}),_0x48d746[_0x2125df([0x6f,0x6e])](_0x2125df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d846a=>{_0x40362e(_0x3d846a[_0x2125df([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e6a42=!0x0,_0x3f8a54(_0x3d846a[_0x2125df([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2125df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2125df([0x6c,0x6f,0x77])}),_0x44a646[_0x2125df([0x74,0x68,0x65,0x6e])](()=>{_0x4e6a42||_0x1b3acc(_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dc665(){return _0x48d746[_0x2125df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2125df([0x76,0x69,0x65,0x77])][_0x2125df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2125df([0x61,0x75,0x74,0x6f]);}function _0x57a70b(){_0x48d746[_0x2125df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2125df([0x76,0x69,0x65,0x77])][_0x2125df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2125df([0x61,0x75,0x74,0x6f]);}}function _0x5c91c9(_0xf0333f){const _0x40974f=[new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf1a760=>setTimeout(_0xf1a760,0x47abbbca^_0x2f5ac9)),_0x44a646[_0x2125df([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c484=>{let _0x54921f=0x0;_0x48d746[_0x2125df([0x6d,0x6f,0x64,0x65,0x6c])][_0x2125df([0x6f,0x6e])](_0x2125df([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x98fe7e,_0x28098e)=>{_0x28098e[0x0][_0x2125df([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54921f++,_0x54921f==(0x47a280ee^_0x2f5ac9)&&(_0x39c484(),_0x98fe7e[_0x2125df([0x6f,0x66,0x66])]());});}))];return window[_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2125df([0x72,0x61,0x63,0x65])](_0x40974f)[_0x2125df([0x74,0x68,0x65,0x6e])](()=>_0xf0333f);}async function _0x5c89ec(){await _0x44a646,_0x48d746[_0x2125df([0x6d,0x6f,0x64,0x65,0x6c])][_0x2125df([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x440a20,_0x48d746[_0x2125df([0x6d,0x6f,0x64,0x65,0x6c])][_0x2125df([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x440a20,_0x48d746[_0x2125df([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2125df([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b3fab(_0x25c54a){const _0x591874=_0x36f257();_0x48d746[_0x591874]=_0x2125df([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25c54a,_0x25c54a!=_0x2125df([0x56,0x61,0x6c,0x69,0x64])&&_0x5c89ec();}function _0x36f257(){const _0x494d10=window[_0x2125df([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2125df([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2125df([0x6e,0x6f,0x77])]())[_0x2125df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2125df([0x2e]),'');let _0x42053a=_0x2125df([0x75]);for(let _0xb736d2=0x0;_0xb736d2<_0x494d10[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb736d2+=0x2){let _0x8f1c26=window[_0x2125df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x494d10[_0x2125df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb736d2,_0xb736d2+0x2));_0x8f1c26>=_0x438499[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8f1c26-=_0x438499[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42053a+=_0x438499[_0x8f1c26];}return _0x42053a;}function _0x36a54a(){const _0x593291=_0x2ecbe9[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e]));if(0x3!=_0x593291[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x768ca7(_0x593291[0x1]);function _0x768ca7(_0x59ec4a){const _0x16e0ac=_0x43089f(_0x59ec4a);return _0x16e0ac&&_0x5425a5()?_0x16e0ac:null;function _0x5425a5(){const _0x555221=_0x16e0ac[_0x2125df([0x6a,0x74,0x69])],_0x55ca64=window[_0x2125df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555221[_0x2125df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x555221[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x266fce={..._0x16e0ac,[_0x2125df([0x6a,0x74,0x69])]:_0x555221[_0x2125df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x555221[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x266fce[_0x2125df([0x76,0x63])],_0x57843d(_0x266fce)==_0x55ca64;}}}async function _0x26a5e1(){let _0x2ade9d=!0x0;try{const _0x2b0a8d=_0x2ecbe9[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e])),[_0x162a4f,_0x52de95,_0x4f3873]=_0x2b0a8d;return _0x12cca6(_0x162a4f),await _0x2b25a4(_0x162a4f,_0x52de95,_0x4f3873),_0x2ade9d;}catch{return!0x1;}function _0x12cca6(_0xa3ffb8){const _0x2ac7d6=_0x43089f(_0xa3ffb8);_0x2ac7d6&&_0x2ac7d6[_0x2125df([0x61,0x6c,0x67])]==_0x2125df([0x45,0x53,0x32,0x35,0x36])||(_0x2ade9d=!0x1);}async function _0x2b25a4(_0x5cfea3,_0x123b0a,_0x28bcbb){const _0x22e96a=window[_0x2125df([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2125df([0x66,0x72,0x6f,0x6d])](_0x3575a9(_0x28bcbb),_0x1789de=>_0x1789de[_0x2125df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3dac3a=new window[(_0x2125df([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2125df([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cfea3+_0x2125df([0x2e])+_0x123b0a),_0x5cd3f5=window[_0x2125df([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2125df([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cd3f5)return;const _0x288118=await _0x5cd3f5[_0x2125df([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2125df([0x6a,0x77,0x6b]),_0x1dc980,{[_0x2125df([0x6e,0x61,0x6d,0x65])]:_0x2125df([0x45,0x43,0x44,0x53,0x41]),[_0x2125df([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2125df([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2125df([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cd3f5[_0x2125df([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2125df([0x6e,0x61,0x6d,0x65])]:_0x2125df([0x45,0x43,0x44,0x53,0x41]),[_0x2125df([0x68,0x61,0x73,0x68])]:{[_0x2125df([0x6e,0x61,0x6d,0x65])]:_0x2125df([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x288118,_0x22e96a,_0x3dac3a)||(_0x2ade9d=!0x1);}}function _0x43089f(_0x19c3ec){return _0x19c3ec[_0x2125df([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2125df([0x65,0x79]))?JSON[_0x2125df([0x70,0x61,0x72,0x73,0x65])](_0x3575a9(_0x19c3ec)):null;}function _0x3575a9(_0x4fcc48){return window[_0x2125df([0x61,0x74,0x6f,0x62])](_0x4fcc48[_0x2125df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2125df([0x2b]))[_0x2125df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2125df([0x2f])));}function _0x57843d(_0x25fdb8){let _0x538bad=0x1505;function _0x13399e(_0x256729){for(let _0x395fdf=0x0;_0x395fdf<_0x256729[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395fdf++){const _0x486d99=_0x256729[_0x2125df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x395fdf);_0x538bad=(_0x538bad<<0x5)+_0x538bad+_0x486d99,_0x538bad&=_0x538bad;}}function _0x262757(_0x256c3a){Array[_0x2125df([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x256c3a)?_0x256c3a[_0x2125df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x262757):_0x256c3a&&typeof _0x256c3a==_0x2125df([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2125df([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x256c3a)[_0x2125df([0x73,0x6f,0x72,0x74])]()[_0x2125df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44668b,_0x1a4bc5])=>{_0x13399e(_0x44668b),_0x262757(_0x1a4bc5);}):_0x13399e(window[_0x2125df([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x256c3a));}return _0x262757(_0x25fdb8),_0x538bad>>>0x0;}function _0x3b32c9(_0x4a271f){return _0x4a271f[_0x2125df([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2125df([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2125df([0x30]));}function _0xbf35f2(_0x57b15a){return _0x57b15a[_0x2125df([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2125df([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2125df([0x6a,0x6f,0x69,0x6e])]('');}function _0x440a20(){}function _0x2125df(_0x33ee47){return _0x33ee47['map'](_0x41d964=>String['fromCharCode'](_0x41d964))['join']('');}_0x5b3fab(await _0x1d752c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1067df){const {plugins:_0xa9c384,editing:_0x40dc7e,model:_0x1c92cd}=this['editor'],_0xd85b1=_0xa9c384['get'](_0x153a50)['getFootnote'](_0x1067df);return!!_0xd85b1&&(_0x1c92cd['change'](_0x214ad9=>{_0x214ad9['setSelection'](_0x214ad9['createPositionAt'](_0xd85b1['definition'],'end'));}),_0x40dc7e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5517ee){const {plugins:_0x30b92e,editing:_0x84a551,model:_0xca0940}=this['editor'],_0x5fc136=_0x30b92e['get'](_0x153a50)['getFootnote'](_0x5517ee);return!!_0x5fc136&&(_0xca0940['change'](_0x4334e6=>{_0x4334e6['setSelection'](_0x5fc136['reference'],'on');}),_0x84a551['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x38bfa8}=this['editor']['model'],_0x56998e=this['editor']['config']['get']('footnotes.multiBlock');_0x38bfa8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x38bfa8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x38bfa8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x56998e?_0x38bfa8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x38bfa8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x38bfa8['addChildCheck'](_0x577625=>{for(const _0x18995c of _0x577625)if('footnoteDefinition'===_0x18995c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4ccd3c}=this,{conversion:_0x32f18b,editing:_0x10093c}=_0x4ccd3c,{t:t}=_0x4ccd3c['locale'];_0x32f18b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x392ffd,{writer:_0x45e846,consumable:_0x185ac4})=>{const _0x57f929=_0x392ffd['getChild'](0x0);if(!_0x57f929||!_0x57f929['is']('element','a'))return null;const _0x12d7b1=_0x57f929['getAttribute']('href')||'';if(!_0x12d7b1['startsWith']('#'))return null;const _0x260a74=_0x12d7b1['replace'](/^#/,'');if(!_0x260a74)return null;_0x185ac4['consume'](_0x57f929,{'name':!0x0,'attributes':['href']});for(const {item:_0x191c3a}of _0x10093c['view']['createRangeIn'](_0x57f929))_0x191c3a['is']('$textProxy')?_0x185ac4['consume'](_0x191c3a['textNode'],{'name':!0x0}):_0x191c3a['is']('element')&&_0x185ac4['consume'](_0x191c3a,{'name':!0x0});return _0x45e846['createElement']('footnoteRef',{'footnoteId':_0x260a74});}}),_0x32f18b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5231f1,{writer:_0x296830})=>b(_0x5231f1,_0x296830)}),_0x32f18b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5c6b2f,{writer:_0x1bd661})=>{const _0x4845b1=_0x5c6b2f['getAttribute']('footnoteCounter');return _0x3dda52(b(_0x5c6b2f,_0x1bd661),_0x1bd661,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4845b1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x594fbd}=this,{t:t}=_0x594fbd['locale'],{conversion:_0x376f2e}=_0x594fbd;_0x376f2e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x376f2e['for']('upcast')['add'](_0x182442=>{_0x182442['on']('element:ol',(_0x13afa3,_0x4175a5,_0xa8ec79)=>{const _0x5721d0=_0x4175a5['viewItem'];if(!_0x5721d0['hasClass']('footnotes-list')||!_0x4175a5['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xa8ec79['consumable']['consume'](_0x5721d0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3792c3,modelCursor:_0x205e43}=_0xa8ec79['convertChildren'](_0x4175a5['viewItem'],_0x4175a5['modelCursor']);_0x4175a5['modelRange']=_0x3792c3,_0x4175a5['modelCursor']=_0x205e43;}),_0x182442['on']('element:hr',(_0x544864,_0x53f1c8,_0x5cdf38)=>{const _0x4c3a4b=_0x53f1c8['viewItem'];_0x4c3a4b['hasClass']('footnotes-divider')&&_0x53f1c8['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5cdf38['consumable']['consume'](_0x4c3a4b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x376f2e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2ef9ad,{writer:_0x3e5db2})=>D(_0x3e5db2)}),_0x376f2e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24d0d5,{writer:_0x2a7308})=>{const _0x572b66=D(_0x2a7308,{'data-footnotes-list-label':t('Footnotes')}),_0x504660=_0x3dda52(_0x572b66,_0x2a7308,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2a7308['setCustomProperty']('footnotesDefinitions',!0x0,_0x504660),_0x504660;}});}['_defineDefinitionConverters'](){const {editor:_0x19a531}=this,{conversion:_0x5d2584,locale:_0x53e293}=_0x19a531,_0x490d2d=_0x19a531['config']['get']('footnotes.multiBlock');_0x5d2584['for']('upcast')['add'](_0x2aaa96=>{_0x2aaa96['on']('element:li',(_0x455e2d,_0x9664db,_0x84a4d)=>{const _0x162c88=_0x9664db['viewItem'];if(!_0x162c88['hasClass']('footnote-definition')||!_0x162c88['getAttribute']('id'))return;const _0x49be9a=_0x162c88['parent'];if(!_0x49be9a['is']('element','ol')||!_0x49be9a['hasClass']('footnotes-list'))return;if(!_0x84a4d['consumable']['test'](_0x162c88,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xb7060a=_0x84a4d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x162c88['getAttribute']('id')});if(!_0x84a4d['safeInsert'](_0xb7060a,_0x9664db['modelCursor']))return;_0x84a4d['consumable']['consume'](_0x162c88,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x52755f=Array['from'](_0x162c88['getChildren']())['find'](_0x416475=>_0x416475['is']('element')&&_0x416475['hasClass']('footnote-content'));for(const _0x5ad34b of _0x162c88['getChildren']())_0x5ad34b['is']('element')&&(_0x84a4d['consumable']['consume'](_0x5ad34b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x84a4d['consumable']['consume'](_0x5ad34b,{'name':!0x0,'classes':'footnote-content'}));if(_0x52755f){if(_0x490d2d)_0x84a4d['convertChildren'](_0x52755f,_0xb7060a);else{const _0x101432=_0x84a4d['writer']['createElement']('footnoteInlineContent');_0x84a4d['writer']['insert'](_0x101432,_0xb7060a),_0x84a4d['convertChildren'](_0x52755f,_0x101432);}}_0x84a4d['updateConversionResult'](_0xb7060a,_0x9664db);});}),_0x5d2584['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3f41dd,{writer:_0x200866})=>y(_0x3f41dd,_0x200866,_0x53e293,{'dataPipeline':!0x0})}),_0x5d2584['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c1422,{writer:_0x1393b0})=>y(_0x3c1422,_0x1393b0,_0x53e293)});}['_defineBogusParagraphConverters'](){const {editor:_0x3c286a}=this,{conversion:_0x3e9725}=_0x3c286a;_0x3c286a['config']['get']('footnotes.multiBlock')?(_0x3e9725['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3e9725['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3c286a['model']['document'],'change:data',()=>{!function(_0x3e7637,_0x1801c8){const _0xa0701=_0x3e7637['document']['differ'],_0x37bb25=new Set();for(const _0x4ad33c of _0xa0701['getChanges']()){const _0x1d56e5='attribute'==_0x4ad33c['type']?_0x4ad33c['range']['start']['parent']:_0x4ad33c['position']['parent'];_0x1d56e5['is']('element','footnoteDefinition')&&_0x37bb25['add'](_0x1d56e5);}for(const _0x59853e of _0x37bb25['values']()){const _0x46469c=Array['from'](_0x59853e['getChildren']())['filter'](_0x115507=>v(_0x115507,_0x1801c8['mapper']));for(const _0x3f6799 of _0x46469c)_0x1801c8['reconvertItem'](_0x3f6799);}}(_0x3c286a['model'],_0x3c286a['editing']);})):(_0x3e9725['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3e9725['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x46a718,{writer:_0x3bb676})=>{const _0x1c6f90=_0x3bb676['createContainerElement']('span');return _0x3bb676['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1c6f90),_0x1c6f90;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2ee8a6}=this,{editing:_0x52f302,t:t}=_0x2ee8a6,_0x2eb4f4=_0x2ee8a6['model']['document']['selection'];_0x2ee8a6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2ee8a6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x52f302['view']['document'],'enter',(_0x551f69,_0xacc9ad)=>{const _0x3186ba=function(_0x1a3d26){const _0x2ecb29=_0x1a3d26['getSelectedElement']();if(_0x2ecb29?.['is']('element','footnoteRef'))return _0x2ecb29;return null;}(_0x2eb4f4);if(_0x3186ba){const _0x2e2c67=_0x3186ba['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2e2c67),_0xacc9ad['preventDefault'](),_0x551f69['stop']();}},{'context':_0x2b3bd5});}['_defineClickHandlers'](){const {editor:_0x5bc6a3}=this,{editing:_0x5ea3e0}=_0x5bc6a3;_0x5bc6a3['editing']['view']['addObserver'](_0x207a7c),_0x5bc6a3['editing']['view']['addObserver'](_0x170f8a);let _0x1291d4=!0x1;this['listenTo'](_0x5ea3e0['view']['document'],'pointerdown',(_0xaf001f,_0x1bcec1)=>{const {target:_0x2512a9}=_0x1bcec1,_0x520eac=_0x5ea3e0['view']['document']['selection'];_0x1291d4=!!(_0x2512a9?.['is']('element','a')&&_0x2512a9['parent']?.['is']('element','sup')&&_0x2512a9['parent']['hasClass']('footnote'))&&_0x520eac['getSelectedElement']()===_0x2512a9['parent'];},{'priority':'high'}),this['listenTo'](_0x5ea3e0['view']['document'],'click',(_0x149ca6,_0x512228)=>{const {target:_0x4fd947}=_0x512228;if(!_0x4fd947?.['is']('element','a'))return;if(_0x4fd947['parent']?.['is']('element','sup')&&_0x4fd947['parent']['hasClass']('footnote')&&!_0x1291d4)return void _0x512228['preventDefault']();let _0x26eb2f=_0x4fd947['getAttribute']('href');if(!_0x26eb2f?.['startsWith']('#'))return;_0x26eb2f=_0x26eb2f['slice'](0x1);let _0x25528a=!0x1;(_0x26eb2f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x26eb2f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x26eb2f))&&(_0x25528a=!0x0),_0x25528a&&(_0x512228['preventDefault'](),_0x149ca6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x298a4b}={}){return(_0x43575e,{writer:_0x39d2bc})=>{if(!g(_0x43575e))return null;if(!_0x298a4b)return _0x39d2bc['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1bf452=_0x39d2bc['createContainerElement']('p');return _0x39d2bc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1bf452),_0x1bf452;};}function g(_0x4283eb){const {parent:_0x3aca5d}=_0x4283eb;if(!_0x3aca5d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3aca5d['childCount'])return!0x1;for(const _0x591444 of _0x4283eb['getAttributeKeys']())if(!_0x591444['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x591444)return!0x1;return!0x0;}function v(_0x29a349,_0x42a26a){if(!_0x29a349['is']('element','paragraph'))return!0x1;const _0x2ee994=_0x42a26a['toViewElement'](_0x29a349);return!!_0x2ee994&&g(_0x29a349)!==_0x2ee994['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1d8c26){return _0x2b3bd5(_0x1d8c26)&&_0x1d8c26['is']('containerElement')&&!!_0x1d8c26['getCustomProperty']('footnotesDefinitions');}function D(_0x58fb91,_0x690c6b={}){const _0x3d1aaf=_0x58fb91['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x120b17=_0x58fb91['createContainerElement']('ol',{'class':'footnotes-list'},_0x58fb91['createSlot']());return _0x58fb91['createContainerElement']('div',{'class':'footnotes',..._0x690c6b},[_0x3d1aaf,_0x120b17]);}function b(_0x1c700a,_0x3cc76f){const _0x18730d=_0x1c700a['getAttribute']('footnoteId'),_0x5d6f07=_0x1c700a['getAttribute']('footnoteCounter'),_0x274cc5=_0x3cc76f['createUIElement']('a',{'href':'#'+_0x18730d},function(_0x299203){const _0x17a448=this['toDomElement'](_0x299203);return _0x17a448['textContent']=_0x5d6f07,_0x17a448;}),_0x25c640=_0x3cc76f['createContainerElement']('sup',{'id':'ref-'+_0x18730d,'class':'footnote'},[_0x274cc5]);return _0x25c640['getFillerOffset']=()=>null,_0x25c640;}function y(_0x4a116c,_0x195e2f,_0x202b5b,{dataPipeline:_0x54b83f}={}){const {t:t}=_0x202b5b,_0x4a7bcd=_0x4a116c['getAttribute']('footnoteId'),_0x34fffe=_0x195e2f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a7bcd},function(_0x422fdd){const _0x45d48e=this['toDomElement'](_0x422fdd);return _0x45d48e['innerText']='^',_0x45d48e;}),_0x44bdb3=_0x54b83f?_0x195e2f['createContainerElement']('div',{'class':'footnote-content'}):_0x2c036f(_0x195e2f['createEditableElement']('div',{'class':'footnote-content'}),_0x195e2f,{'label':t('Footnote\x20content.')});return _0x195e2f['insert'](_0x195e2f['createPositionAt'](_0x44bdb3,0x0),_0x195e2f['createSlot']()),_0x195e2f['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a7bcd},[_0x34fffe,_0x44bdb3]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4326(_0x20338b,_0x3a4ef5){const _0x1b499e=_0x1b49();return _0x4326=function(_0x432630,_0x4ad4a7){_0x432630=_0x432630-0x1e3;let _0x4f8305=_0x1b499e[_0x432630];return _0x4f8305;},_0x4326(_0x20338b,_0x3a4ef5);}const _0x436303=_0x4326;function _0x1b49(){const _0x38716c=['getAttribute','get','isEnabled','6619248PtCuvp','84203aAFNDm','1570253cGPUfn','refresh','248716rznSFW','plugins','78nBkodV','3433990RaluHw','footnotesListStart','isInteger','340pvsKAC','execute','872rxnubB','change','44qGPgRe','_updateFootnotesCounters','2TqkddT','value','model','setAttribute','7735548pkVNAL','getFootnotesDefinitionsObjectElement','310932tWErZq'];_0x1b49=function(){return _0x38716c;};return _0x1b49();}(function(_0x248c69,_0x5b485b){const _0xfc0e12=_0x4326,_0x4a44f9=_0x248c69();while(!![]){try{const _0x46cc9e=parseInt(_0xfc0e12(0x1f0))/0x1*(parseInt(_0xfc0e12(0x1e4))/0x2)+-parseInt(_0xfc0e12(0x1f4))/0x3*(-parseInt(_0xfc0e12(0x1f2))/0x4)+-parseInt(_0xfc0e12(0x1f5))/0x5+parseInt(_0xfc0e12(0x1ee))/0x6+parseInt(_0xfc0e12(0x1ef))/0x7*(-parseInt(_0xfc0e12(0x1fa))/0x8)+-parseInt(_0xfc0e12(0x1ea))/0x9*(-parseInt(_0xfc0e12(0x1f8))/0xa)+-parseInt(_0xfc0e12(0x1fc))/0xb*(parseInt(_0xfc0e12(0x1e8))/0xc);if(_0x46cc9e===_0x5b485b)break;else _0x4a44f9['push'](_0x4a44f9['shift']());}catch(_0x15059a){_0x4a44f9['push'](_0x4a44f9['shift']());}}}(_0x1b49,0xd8dd0));import{Command as _0x3cf904}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2862e8}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x3cf904{[_0x436303(0x1f1)](){const _0x351704=_0x436303,{editor:_0x12f385}=this,_0x581dc4=_0x12f385[_0x351704(0x1f3)][_0x351704(0x1ec)](_0x2862e8)[_0x351704(0x1e9)]();this[_0x351704(0x1ed)]=!!_0x581dc4,this[_0x351704(0x1e5)]=_0x581dc4?.[_0x351704(0x1eb)](_0x351704(0x1f6))??null;}[_0x436303(0x1f9)]({value:_0x438a02}){const _0x29e8bb=_0x436303,{editor:_0x27cae8}=this,_0x517068=_0x27cae8[_0x29e8bb(0x1f3)][_0x29e8bb(0x1ec)](_0x2862e8),_0x6f7104=_0x517068[_0x29e8bb(0x1e9)]();_0x6f7104&&Number[_0x29e8bb(0x1f7)](_0x438a02)&&_0x27cae8[_0x29e8bb(0x1e6)][_0x29e8bb(0x1fb)](_0x7d0bc2=>{const _0x1a33ac=_0x29e8bb;_0x7d0bc2[_0x1a33ac(0x1e7)](_0x1a33ac(0x1f6),_0x438a02,_0x6f7104),_0x517068[_0x1a33ac(0x1e3)](_0x7d0bc2);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1bdd17=_0x5de3;(function(_0x869d10,_0x2106ae){const _0x4b2034=_0x5de3,_0x513a45=_0x869d10();while(!![]){try{const _0x3b429c=-parseInt(_0x4b2034(0x160))/0x1*(parseInt(_0x4b2034(0x15c))/0x2)+-parseInt(_0x4b2034(0x15b))/0x3+parseInt(_0x4b2034(0x14f))/0x4*(parseInt(_0x4b2034(0x157))/0x5)+parseInt(_0x4b2034(0x153))/0x6+parseInt(_0x4b2034(0x14a))/0x7+parseInt(_0x4b2034(0x14d))/0x8+-parseInt(_0x4b2034(0x15d))/0x9;if(_0x3b429c===_0x2106ae)break;else _0x513a45['push'](_0x513a45['shift']());}catch(_0x745588){_0x513a45['push'](_0x513a45['shift']());}}}(_0x3119,0x1b7d6));import{Command as _0xe2005c}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x22b0e6}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4d620d}from'../../footnotestracker.js';function _0x5de3(_0x47d491,_0x2c5f36){const _0x3119ad=_0x3119();return _0x5de3=function(_0x5de307,_0x45727a){_0x5de307=_0x5de307-0x14a;let _0x38b615=_0x3119ad[_0x5de307];return _0x38b615;},_0x5de3(_0x47d491,_0x2c5f36);}export class FootnotesStyleCommand extends _0xe2005c{[_0x1bdd17(0x151)](){const _0x45ce4f=_0x1bdd17,{editor:_0x30556e}=this,_0x4ac52a=_0x30556e[_0x45ce4f(0x15e)][_0x45ce4f(0x14c)](_0x4d620d)[_0x45ce4f(0x155)]();this[_0x45ce4f(0x158)]=!!_0x4ac52a,this[_0x45ce4f(0x156)]=_0x4ac52a?.[_0x45ce4f(0x14e)](_0x45ce4f(0x15a))??null;}[_0x1bdd17(0x159)]({value:_0x3ec34c}){const _0x4950e1=_0x1bdd17,{editor:_0x2af917}=this,_0x157759=_0x2af917[_0x4950e1(0x15e)][_0x4950e1(0x14c)](_0x4d620d),_0x4f8fb6=_0x157759[_0x4950e1(0x155)]();_0x4f8fb6&&_0x22b0e6[_0x4950e1(0x154)](_0x3ec34c)&&_0x2af917[_0x4950e1(0x152)][_0x4950e1(0x150)](_0x242979=>{const _0x309632=_0x4950e1;_0x242979[_0x309632(0x15f)](_0x309632(0x15a),_0x3ec34c,_0x4f8fb6),_0x157759[_0x309632(0x14b)](_0x242979);});}}function _0x3119(){const _0x2ba53d=['_updateFootnotesCounters','get','1029216xgscMG','getAttribute','8eywYOV','change','refresh','model','348414zMPWhR','includes','getFootnotesDefinitionsObjectElement','value','441590uobflA','isEnabled','execute','footnotesListStyle','397254lfMEUt','69698jGoQcA','966861BRHIuk','plugins','setAttribute','6rpbjQv','1387274GSwrZj'];_0x3119=function(){return _0x2ba53d;};return _0x3119();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xc699(_0x1da7b7,_0x276fc9){const _0x2499b4=_0x2499();return _0xc699=function(_0xc699e4,_0x2ccbd2){_0xc699e4=_0xc699e4-0x172;let _0x5b7300=_0x2499b4[_0xc699e4];return _0x5b7300;},_0xc699(_0x1da7b7,_0x276fc9);}const _0x5c6244=_0xc699;(function(_0x471664,_0x464b7b){const _0x52eb7c=_0xc699,_0x2e82ca=_0x471664();while(!![]){try{const _0x1b521c=parseInt(_0x52eb7c(0x178))/0x1*(parseInt(_0x52eb7c(0x174))/0x2)+parseInt(_0x52eb7c(0x183))/0x3*(-parseInt(_0x52eb7c(0x17f))/0x4)+parseInt(_0x52eb7c(0x17a))/0x5*(parseInt(_0x52eb7c(0x172))/0x6)+-parseInt(_0x52eb7c(0x173))/0x7+parseInt(_0x52eb7c(0x17d))/0x8+-parseInt(_0x52eb7c(0x176))/0x9+-parseInt(_0x52eb7c(0x180))/0xa;if(_0x1b521c===_0x464b7b)break;else _0x2e82ca['push'](_0x2e82ca['shift']());}catch(_0x29dbcf){_0x2e82ca['push'](_0x2e82ca['shift']());}}}(_0x2499,0xc8250));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5c6244(0x177),_0x5c6244(0x182),_0x5c6244(0x17b),_0x5c6244(0x175),_0x5c6244(0x17e),_0x5c6244(0x179),_0x5c6244(0x181),_0x5c6244(0x17c)];function _0x2499(){const _0x1685bf=['upper-latin','1239597YeVDTD','decimal','4162kuRfnF','upper-alpha','955BSkzyk','lower-latin','upper-roman','2878112pIfRvA','lower-alpha','68248XVunxU','768680KahuBQ','lower-roman','decimal-leading-zero','156VWLGVR','36342MZQFEN','5730634wmhJJL','588huxPPm'];_0x2499=function(){return _0x1685bf;};return _0x2499();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x40a3(){const _0x32b72a=['downcast','328349WJgUnQ','createRangeOn','item','element:ol','toLowerCase','checkAttribute','parent','extend','upper-roman','insert','decimal','footnotesListStart','modelCursor','consumable','add','7550715tmEtXO','694337EwDKbi','plugins','lower-latin','8786050KrEgNA','getChanges','decimal-leading-zero','16xLfaDj','attribute:footnotesListStyle:footnotesDefinitions','upper-latin','96219ePunUi','footnotesStyle','schema','type','_updateFootnotesCounters','writer','attribute:footnotesListStart:footnotesDefinitions','from','get','upcast','footnotes.footnotesProperties.defaultListStyle','element','isPremiumPlugin','hasAttribute','toViewElement','_defineFormatter','footnotesDefinitions','document','fromCharCode','define','_getDefaultStartIndex','lower-roman','FootnotesPropertiesEditing','hasClass','footnotes-list','config','toUpperCase','getStyle','_defineSchema','removeStyle','36UbcIjc','setStyle','footnotesStart','1472206ErdZfI','for','parseInt','position','nodeAfter','max','$text','commands','setFootnoteFormatter','footnotesListStyle','_definePostfixer','81hVAYQt','differ','init','removeAttribute','lower-alpha','21992iYwIDl','floor','editor','registerPostFixer','start','getChildren','_defineConverters','setAttribute','getAttribute','viewItem','isOfficialPlugin','padStart','model','consume','footnotes.footnotesProperties.defaultStartIndex','requires','mapper','find','_getDefaultListStyle','upper-alpha','pluginName','isNaN','getItems','list-style-type','name','_formatFootnoteListValue'];_0x40a3=function(){return _0x32b72a;};return _0x40a3();}const _0x3a506f=_0x4475;(function(_0x39896f,_0x43064a){const _0x44d37e=_0x4475,_0x2d3991=_0x39896f();while(!![]){try{const _0xf75b07=-parseInt(_0x44d37e(0xc2))/0x1+-parseInt(_0x44d37e(0xfc))/0x2+-parseInt(_0x44d37e(0xdb))/0x3*(-parseInt(_0x44d37e(0xd8))/0x4)+parseInt(_0x44d37e(0xd1))/0x5+-parseInt(_0x44d37e(0xf9))/0x6*(parseInt(_0x44d37e(0xd2))/0x7)+parseInt(_0x44d37e(0x10c))/0x8*(parseInt(_0x44d37e(0x107))/0x9)+parseInt(_0x44d37e(0xd5))/0xa;if(_0xf75b07===_0x43064a)break;else _0x2d3991['push'](_0x2d3991['shift']());}catch(_0x3b909e){_0x2d3991['push'](_0x2d3991['shift']());}}}(_0x40a3,0xd7607));import{Plugin as _0xf213c4}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x259508}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x53629e}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x26d87d}from'../footnotestracker.js';import{FootnotesEditing as _0x72f143}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xf213c4{static get[_0x3a506f(0xbb)](){const _0x969703=_0x3a506f;return _0x969703(0xf1);}static get[_0x3a506f(0xb6)](){return[_0x72f143,_0x26d87d];}static get[_0x3a506f(0xb1)](){return!0x0;}static get[_0x3a506f(0xe7)](){return!0x0;}[_0x3a506f(0x109)](){const _0x2a7061=_0x3a506f,{editor:_0x5bf5f3}=this;_0x5bf5f3[_0x2a7061(0xf4)][_0x2a7061(0xee)](_0x2a7061(0xe5),_0x2a7061(0xcc)),_0x5bf5f3[_0x2a7061(0xf4)][_0x2a7061(0xee)](_0x2a7061(0xb5),0x1),_0x5bf5f3[_0x2a7061(0x103)][_0x2a7061(0xd0)](_0x2a7061(0xdc),new _0x259508(_0x5bf5f3)),_0x5bf5f3[_0x2a7061(0x103)][_0x2a7061(0xd0)](_0x2a7061(0xfb),new _0x53629e(_0x5bf5f3)),this[_0x2a7061(0xf7)](),this[_0x2a7061(0x112)](),this[_0x2a7061(0xea)](),this[_0x2a7061(0x106)]();}[_0x3a506f(0xf7)](){const _0x3b02f8=_0x3a506f,{editor:_0x36c9f6}=this,{schema:_0xb9fa5}=_0x36c9f6[_0x3b02f8(0xb3)];_0xb9fa5[_0x3b02f8(0xc9)](_0x3b02f8(0xeb),{'allowAttributes':[_0x3b02f8(0x105),_0x3b02f8(0xcd)]});}[_0x3a506f(0x112)](){const _0x1623c0=_0x3a506f,{editor:_0x5a92a8}=this,{conversion:_0x7ebdc,model:_0x47ee7d}=_0x5a92a8,{schema:_0x43aaaa}=_0x47ee7d;_0x7ebdc[_0x1623c0(0xfd)](_0x1623c0(0xe4))[_0x1623c0(0xd0)](_0x211b40=>{const _0x562a11=_0x1623c0;_0x211b40['on'](_0x562a11(0xc5),(_0x144a56,_0x16f7c1,_0x2f52c2)=>{const _0xea844=_0x562a11,_0x4decc3=_0x16f7c1[_0xea844(0xb0)],_0x392a49=_0x16f7c1[_0xea844(0xce)]?.[_0xea844(0xc8)];_0x4decc3[_0xea844(0xf2)](_0xea844(0xf3))&&_0x392a49?.['is'](_0xea844(0xe6),_0xea844(0xeb))&&(function(_0x34b483,_0x2302b2,_0x147459,_0xf2177e){const _0x45c2e1=_0xea844;if(!_0xf2177e[_0x45c2e1(0xc7)](_0x2302b2,_0x45c2e1(0xcd)))return;let _0x25580d=0x1;const _0x76fd04=_0x147459[_0x45c2e1(0xcf)][_0x45c2e1(0xb4)](_0x34b483,{'attributes':_0x45c2e1(0x110)});if(_0x76fd04){const _0x4de58c=Number[_0x45c2e1(0xfe)](_0x34b483[_0x45c2e1(0xaf)](_0x45c2e1(0x110)),0xa);Number[_0x45c2e1(0xbc)](_0x4de58c)||(_0x25580d=_0x4de58c);}!_0x76fd04&&_0x2302b2[_0x45c2e1(0xe8)](_0x45c2e1(0xcd))||_0x147459[_0x45c2e1(0xe0)][_0x45c2e1(0x113)](_0x45c2e1(0xcd),_0x25580d,_0x2302b2);}(_0x4decc3,_0x392a49,_0x2f52c2,_0x43aaaa),function(_0x53c0c7,_0x30add2,_0x18b54a,_0x1c8c75){const _0x5970b4=_0xea844;if(!_0x1c8c75[_0x5970b4(0xc7)](_0x30add2,_0x5970b4(0x105)))return;let _0x2ed006=_0x5970b4(0xcc),_0x21b638=!0x1;if(_0x18b54a[_0x5970b4(0xcf)][_0x5970b4(0xb4)](_0x53c0c7,{'attributes':_0x5970b4(0xde)})){const _0x13e223={0x1:_0x5970b4(0xcc),'a':_0x5970b4(0x10b),'A':_0x5970b4(0xba),'i':_0x5970b4(0xf0),'I':_0x5970b4(0xca)}[_0x53c0c7[_0x5970b4(0xaf)](_0x5970b4(0xde))];_0x13e223&&(_0x2ed006=_0x13e223),_0x21b638=!0x0;}_0x18b54a[_0x5970b4(0xcf)][_0x5970b4(0xb4)](_0x53c0c7,{'styles':_0x5970b4(0xbe)})&&(_0x2ed006=function(_0x524fb8){const _0x40c035=_0x5970b4;switch(_0x524fb8){case _0x40c035(0x10b):return _0x40c035(0xd4);case _0x40c035(0xba):return _0x40c035(0xda);default:return _0x524fb8;}}(_0x53c0c7[_0x5970b4(0xf6)](_0x5970b4(0xbe))),_0x21b638=!0x0),!_0x21b638&&_0x30add2[_0x5970b4(0xe8)](_0x5970b4(0x105))||_0x18b54a[_0x5970b4(0xe0)][_0x5970b4(0x113)](_0x5970b4(0x105),_0x2ed006,_0x30add2);}(_0x4decc3,_0x392a49,_0x2f52c2,_0x43aaaa));});}),_0x7ebdc[_0x1623c0(0xfd)](_0x1623c0(0xc1))[_0x1623c0(0xd0)](_0x5e121e=>{const _0xfa93d=_0x1623c0;_0x5e121e['on'](_0xfa93d(0xe1),(_0x189fff,_0xc2e2ba,_0x542908)=>{const _0x1cc64a=_0xfa93d;if(!_0x542908[_0x1cc64a(0xcf)][_0x1cc64a(0xb4)](_0xc2e2ba[_0x1cc64a(0xc4)],_0x189fff[_0x1cc64a(0xbf)]))return;const _0x55319b=M(_0xc2e2ba[_0x1cc64a(0xc4)],_0x542908[_0x1cc64a(0xb7)]),{attributeNewValue:_0x33d676}=_0xc2e2ba;null==_0x33d676||0x1===_0x33d676?_0x542908[_0x1cc64a(0xe0)][_0x1cc64a(0x10a)](_0x1cc64a(0x110),_0x55319b):_0x542908[_0x1cc64a(0xe0)][_0x1cc64a(0x113)](_0x1cc64a(0x110),String(_0x33d676),_0x55319b);}),_0x5e121e['on'](_0xfa93d(0xd9),(_0x11fe95,_0x29032a,_0x14f9ec)=>{const _0x5d355c=_0xfa93d;if(!_0x14f9ec[_0x5d355c(0xcf)][_0x5d355c(0xb4)](_0x29032a[_0x5d355c(0xc4)],_0x11fe95[_0x5d355c(0xbf)]))return;const _0x237e60=M(_0x29032a[_0x5d355c(0xc4)],_0x14f9ec[_0x5d355c(0xb7)]),{attributeNewValue:_0x261e85}=_0x29032a;_0x261e85&&_0x5d355c(0xcc)!==_0x261e85?_0x14f9ec[_0x5d355c(0xe0)][_0x5d355c(0xfa)](_0x5d355c(0xbe),_0x261e85,_0x237e60):_0x14f9ec[_0x5d355c(0xe0)][_0x5d355c(0xf8)](_0x5d355c(0xbe),_0x237e60);});});}[_0x3a506f(0x106)](){const _0x20a545=_0x3a506f,{editor:_0x3e9707}=this,{model:_0x31c194}=_0x3e9707,_0x3af14f=_0x3e9707[_0x20a545(0xd3)][_0x20a545(0xe3)](_0x26d87d),_0x2b0a83=this[_0x20a545(0xb9)](),_0x4b8a26=this[_0x20a545(0xef)]();_0x31c194[_0x20a545(0xec)][_0x20a545(0x10f)](_0x55dafd=>{const _0x369d0b=_0x20a545,_0x29e2b9=_0x31c194[_0x369d0b(0xec)][_0x369d0b(0x108)][_0x369d0b(0xd6)]();let _0x17bc96=!0x1;for(const _0x22e303 of _0x29e2b9){if(_0x369d0b(0xcb)!==_0x22e303[_0x369d0b(0xde)]||_0x369d0b(0x102)===_0x22e303[_0x369d0b(0xbf)])continue;const _0x2a9eac=_0x31c194[_0x369d0b(0xc3)](_0x22e303[_0x369d0b(0xff)][_0x369d0b(0x100)]);for(const _0x12caca of _0x2a9eac[_0x369d0b(0xbd)]())_0x12caca['is'](_0x369d0b(0xe6),_0x369d0b(0xeb))&&(!_0x12caca[_0x369d0b(0xe8)](_0x369d0b(0xcd))&&_0x31c194[_0x369d0b(0xdd)][_0x369d0b(0xc7)](_0x12caca,_0x369d0b(0xcd))&&(_0x55dafd[_0x369d0b(0x113)](_0x369d0b(0xcd),_0x4b8a26,_0x12caca),_0x17bc96=!0x0),!_0x12caca[_0x369d0b(0xe8)](_0x369d0b(0x105))&&_0x31c194[_0x369d0b(0xdd)][_0x369d0b(0xc7)](_0x12caca,_0x369d0b(0x105))&&(_0x55dafd[_0x369d0b(0x113)](_0x369d0b(0x105),_0x2b0a83,_0x12caca),_0x17bc96=!0x0));}return _0x17bc96&&_0x3af14f[_0x369d0b(0xdf)](_0x55dafd),_0x17bc96;});}[_0x3a506f(0xea)](){const _0xa75ef5=_0x3a506f,{editor:_0x4507b8}=this;_0x4507b8[_0xa75ef5(0xd3)][_0xa75ef5(0xe3)](_0x26d87d)[_0xa75ef5(0x104)](_0x4841b3=>this[_0xa75ef5(0xc0)](_0x4841b3));}[_0x3a506f(0xb9)](){const _0x1e0971=_0x3a506f;return this[_0x1e0971(0x10e)][_0x1e0971(0xf4)][_0x1e0971(0xe3)](_0x1e0971(0xe5));}[_0x3a506f(0xef)](){const _0x2403e2=_0x3a506f;return this[_0x2403e2(0x10e)][_0x2403e2(0xf4)][_0x2403e2(0xe3)](_0x2403e2(0xb5));}[_0x3a506f(0xc0)]({container:_0x68e5e0,value:_0x1dfcd7,digits:_0x57ceaf}){const _0x42dd56=_0x3a506f,_0x53b959=_0x68e5e0[_0x42dd56(0xaf)](_0x42dd56(0x105)),_0x1f97c9=_0x68e5e0[_0x42dd56(0xaf)](_0x42dd56(0xcd)),_0x438c95=Math[_0x42dd56(0x10d)](_0x1dfcd7)+(_0x1f97c9??0x1)-0x1;switch(_0x53b959){case _0x42dd56(0xd7):return function(_0x86a2d8,_0x5953c6){const _0x3f7d3d=_0x42dd56;return String(_0x86a2d8)[_0x3f7d3d(0xb2)](_0x5953c6,'0');}(_0x438c95,Math[_0x42dd56(0x101)](0x2,_0x57ceaf));case _0x42dd56(0x10b):case _0x42dd56(0xd4):return N(_0x438c95,!0x1);case _0x42dd56(0xba):case _0x42dd56(0xda):return N(_0x438c95,!0x0);case _0x42dd56(0xf0):return X(_0x438c95,!0x1);case _0x42dd56(0xca):return X(_0x438c95,!0x0);default:return String(_0x438c95);}}}function M(_0x1fde04,_0x2bfd7c){const _0x2a2f69=_0x3a506f,_0x533f83=_0x2bfd7c[_0x2a2f69(0xe9)](_0x1fde04);return Array[_0x2a2f69(0xe2)](_0x533f83[_0x2a2f69(0x111)]())[_0x2a2f69(0xb8)](_0x12e059=>_0x12e059['is'](_0x2a2f69(0xe6),'ol')&&_0x12e059[_0x2a2f69(0xf2)](_0x2a2f69(0xf3)));}function _0x4475(_0xf03d25,_0x3c562b){const _0x40a31f=_0x40a3();return _0x4475=function(_0x44752d,_0x554746){_0x44752d=_0x44752d-0xaf;let _0x500adc=_0x40a31f[_0x44752d];return _0x500adc;},_0x4475(_0xf03d25,_0x3c562b);}function N(_0x234f2a,_0x288f2b){const _0x2da686=_0x3a506f;let _0x5e4d9c='',_0x5e882e=_0x234f2a;for(;_0x5e882e>0x0;){const _0x178e0a=(_0x5e882e-0x1)%0x1a;_0x5e4d9c=String[_0x2da686(0xed)](0x61+_0x178e0a)+_0x5e4d9c,_0x5e882e=Math[_0x2da686(0x10d)]((_0x5e882e-0x1)/0x1a);}return _0x288f2b?_0x5e4d9c[_0x2da686(0xf5)]():_0x5e4d9c;}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(_0x3d6a65,_0x3e80a0){const _0x2d5273=_0x3a506f;let _0x546108='',_0x44ed0f=_0x3d6a65;for(const {value:_0x5198cf,numeral:_0x9dcc49}of V)for(;_0x44ed0f>=_0x5198cf;)_0x546108+=_0x9dcc49,_0x44ed0f-=_0x5198cf;return _0x3e80a0?_0x546108:_0x546108[_0x2d5273(0xc6)]();}
|
|
23
|
+
const _0x248a1=_0x4769;(function(_0x4e442b,_0x54e107){const _0x282aea=_0x4769,_0x2878d1=_0x4e442b();while(!![]){try{const _0x2be37f=parseInt(_0x282aea(0x135))/0x1+-parseInt(_0x282aea(0x145))/0x2*(parseInt(_0x282aea(0x166))/0x3)+parseInt(_0x282aea(0x122))/0x4*(parseInt(_0x282aea(0x156))/0x5)+parseInt(_0x282aea(0x158))/0x6+parseInt(_0x282aea(0x171))/0x7*(-parseInt(_0x282aea(0x11c))/0x8)+parseInt(_0x282aea(0x116))/0x9*(-parseInt(_0x282aea(0x124))/0xa)+parseInt(_0x282aea(0x160))/0xb*(parseInt(_0x282aea(0x137))/0xc);if(_0x2be37f===_0x54e107)break;else _0x2878d1['push'](_0x2878d1['shift']());}catch(_0x2764b7){_0x2878d1['push'](_0x2878d1['shift']());}}}(_0x4a62,0xd16dc));import{Plugin as _0x1992dc}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3aa9d0}from'./commands/footnotesstylecommand.js';function _0x4a62(){const _0x41b2f0=['_getDefaultListStyle','position','item','FootnotesPropertiesEditing','2732545OYXoYC','$text','7991880ZKghMR','requires','_defineConverters','getItems','removeAttribute','toLowerCase','consumable','decimal-leading-zero','11LWmtDY','commands','differ','nodeAfter','footnotes-list','footnotes.footnotesProperties.defaultListStyle','249PAQNsr','element','_definePostfixer','isPremiumPlugin','getAttribute','upper-alpha','_updateFootnotesCounters','lower-alpha','_formatFootnoteListValue','upcast','max','7CXDCgx','getChildren','removeStyle','createRangeOn','type','padStart','footnotesListStyle','_defineSchema','model','add','fromCharCode','element:ol','837693kllIwj','_defineFormatter','isNaN','_getDefaultStartIndex','registerPostFixer','floor','13544312rrYLjV','isOfficialPlugin','setFootnoteFormatter','hasClass','footnotesStyle','from','8sXMgzq','for','50GpLiwP','define','upper-latin','attribute:footnotesListStyle:footnotesDefinitions','extend','getChanges','get','consume','editor','toViewElement','init','schema','toUpperCase','footnotes.footnotesProperties.defaultStartIndex','config','downcast','mapper','528366MKGBTc','footnotesDefinitions','19930548IOxlAt','plugins','insert','getStyle','start','lower-latin','viewItem','document','upper-roman','attribute:footnotesListStart:footnotesDefinitions','footnotesStart','parent','setAttribute','setStyle','38506YfjRhI','footnotesListStart','hasAttribute','writer','name','decimal','lower-roman','pluginName','list-style-type','parseInt','checkAttribute','modelCursor','find'];_0x4a62=function(){return _0x41b2f0;};return _0x4a62();}import{FootnotesStartCommand as _0xc81902}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x270c84}from'../footnotestracker.js';import{FootnotesEditing as _0x5c7a70}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1992dc{static get[_0x248a1(0x14c)](){const _0x2d979c=_0x248a1;return _0x2d979c(0x155);}static get[_0x248a1(0x159)](){return[_0x5c7a70,_0x270c84];}static get[_0x248a1(0x11d)](){return!0x0;}static get[_0x248a1(0x169)](){return!0x0;}[_0x248a1(0x12e)](){const _0x36c6c6=_0x248a1,{editor:_0x2ab409}=this;_0x2ab409[_0x36c6c6(0x132)][_0x36c6c6(0x125)](_0x36c6c6(0x165),_0x36c6c6(0x14a)),_0x2ab409[_0x36c6c6(0x132)][_0x36c6c6(0x125)](_0x36c6c6(0x131),0x1),_0x2ab409[_0x36c6c6(0x161)][_0x36c6c6(0x113)](_0x36c6c6(0x120),new _0x3aa9d0(_0x2ab409)),_0x2ab409[_0x36c6c6(0x161)][_0x36c6c6(0x113)](_0x36c6c6(0x141),new _0xc81902(_0x2ab409)),this[_0x36c6c6(0x178)](),this[_0x36c6c6(0x15a)](),this[_0x36c6c6(0x117)](),this[_0x36c6c6(0x168)]();}[_0x248a1(0x178)](){const _0x5c0db1=_0x248a1,{editor:_0x1a2e24}=this,{schema:_0x4c1e56}=_0x1a2e24[_0x5c0db1(0x112)];_0x4c1e56[_0x5c0db1(0x128)](_0x5c0db1(0x136),{'allowAttributes':[_0x5c0db1(0x177),_0x5c0db1(0x146)]});}[_0x248a1(0x15a)](){const _0x50f895=_0x248a1,{editor:_0x51351e}=this,{conversion:_0x24e4f6,model:_0x17dcd5}=_0x51351e,{schema:_0x4a686d}=_0x17dcd5;_0x24e4f6[_0x50f895(0x123)](_0x50f895(0x16f))[_0x50f895(0x113)](_0x382790=>{const _0x51b19d=_0x50f895;_0x382790['on'](_0x51b19d(0x115),(_0xc174b9,_0x2ee9fe,_0x2a4792)=>{const _0x332eef=_0x51b19d,_0x4762c0=_0x2ee9fe[_0x332eef(0x13d)],_0x4778bd=_0x2ee9fe[_0x332eef(0x150)]?.[_0x332eef(0x142)];_0x4762c0[_0x332eef(0x11f)](_0x332eef(0x164))&&_0x4778bd?.['is'](_0x332eef(0x167),_0x332eef(0x136))&&(function(_0x4344e8,_0x8fed6b,_0x39499d,_0x3a723c){const _0x2c564f=_0x332eef;if(!_0x3a723c[_0x2c564f(0x14f)](_0x8fed6b,_0x2c564f(0x146)))return;let _0x5a7c49=0x1;const _0xd6efb9=_0x39499d[_0x2c564f(0x15e)][_0x2c564f(0x12b)](_0x4344e8,{'attributes':_0x2c564f(0x13b)});if(_0xd6efb9){const _0x5b58ce=Number[_0x2c564f(0x14e)](_0x4344e8[_0x2c564f(0x16a)](_0x2c564f(0x13b)),0xa);Number[_0x2c564f(0x118)](_0x5b58ce)||(_0x5a7c49=_0x5b58ce);}!_0xd6efb9&&_0x8fed6b[_0x2c564f(0x147)](_0x2c564f(0x146))||_0x39499d[_0x2c564f(0x148)][_0x2c564f(0x143)](_0x2c564f(0x146),_0x5a7c49,_0x8fed6b);}(_0x4762c0,_0x4778bd,_0x2a4792,_0x4a686d),function(_0x4798a4,_0x2d2564,_0x382ba5,_0x18124e){const _0xe561c3=_0x332eef;if(!_0x18124e[_0xe561c3(0x14f)](_0x2d2564,_0xe561c3(0x177)))return;let _0x14dd50=_0xe561c3(0x14a),_0x44028e=!0x1;if(_0x382ba5[_0xe561c3(0x15e)][_0xe561c3(0x12b)](_0x4798a4,{'attributes':_0xe561c3(0x175)})){const _0x56f12c={0x1:_0xe561c3(0x14a),'a':_0xe561c3(0x16d),'A':_0xe561c3(0x16b),'i':_0xe561c3(0x14b),'I':_0xe561c3(0x13f)}[_0x4798a4[_0xe561c3(0x16a)](_0xe561c3(0x175))];_0x56f12c&&(_0x14dd50=_0x56f12c),_0x44028e=!0x0;}_0x382ba5[_0xe561c3(0x15e)][_0xe561c3(0x12b)](_0x4798a4,{'styles':_0xe561c3(0x14d)})&&(_0x14dd50=function(_0x159839){const _0x4ce783=_0xe561c3;switch(_0x159839){case _0x4ce783(0x16d):return _0x4ce783(0x13c);case _0x4ce783(0x16b):return _0x4ce783(0x126);default:return _0x159839;}}(_0x4798a4[_0xe561c3(0x13a)](_0xe561c3(0x14d))),_0x44028e=!0x0),!_0x44028e&&_0x2d2564[_0xe561c3(0x147)](_0xe561c3(0x177))||_0x382ba5[_0xe561c3(0x148)][_0xe561c3(0x143)](_0xe561c3(0x177),_0x14dd50,_0x2d2564);}(_0x4762c0,_0x4778bd,_0x2a4792,_0x4a686d));});}),_0x24e4f6[_0x50f895(0x123)](_0x50f895(0x133))[_0x50f895(0x113)](_0x48afb2=>{const _0x4185c2=_0x50f895;_0x48afb2['on'](_0x4185c2(0x140),(_0x4bb2f3,_0x402abc,_0x4e743a)=>{const _0x3f7dd9=_0x4185c2;if(!_0x4e743a[_0x3f7dd9(0x15e)][_0x3f7dd9(0x12b)](_0x402abc[_0x3f7dd9(0x154)],_0x4bb2f3[_0x3f7dd9(0x149)]))return;const _0xca707a=M(_0x402abc[_0x3f7dd9(0x154)],_0x4e743a[_0x3f7dd9(0x134)]),{attributeNewValue:_0x19ff47}=_0x402abc;null==_0x19ff47||0x1===_0x19ff47?_0x4e743a[_0x3f7dd9(0x148)][_0x3f7dd9(0x15c)](_0x3f7dd9(0x13b),_0xca707a):_0x4e743a[_0x3f7dd9(0x148)][_0x3f7dd9(0x143)](_0x3f7dd9(0x13b),String(_0x19ff47),_0xca707a);}),_0x48afb2['on'](_0x4185c2(0x127),(_0x30c732,_0x4aa3cf,_0x18c7cd)=>{const _0x3e2fea=_0x4185c2;if(!_0x18c7cd[_0x3e2fea(0x15e)][_0x3e2fea(0x12b)](_0x4aa3cf[_0x3e2fea(0x154)],_0x30c732[_0x3e2fea(0x149)]))return;const _0x5a8658=M(_0x4aa3cf[_0x3e2fea(0x154)],_0x18c7cd[_0x3e2fea(0x134)]),{attributeNewValue:_0x30d46d}=_0x4aa3cf;_0x30d46d&&_0x3e2fea(0x14a)!==_0x30d46d?_0x18c7cd[_0x3e2fea(0x148)][_0x3e2fea(0x144)](_0x3e2fea(0x14d),_0x30d46d,_0x5a8658):_0x18c7cd[_0x3e2fea(0x148)][_0x3e2fea(0x173)](_0x3e2fea(0x14d),_0x5a8658);});});}[_0x248a1(0x168)](){const _0x57002f=_0x248a1,{editor:_0x16d847}=this,{model:_0x243c9c}=_0x16d847,_0x473a90=_0x16d847[_0x57002f(0x138)][_0x57002f(0x12a)](_0x270c84),_0x219902=this[_0x57002f(0x152)](),_0x2455a5=this[_0x57002f(0x119)]();_0x243c9c[_0x57002f(0x13e)][_0x57002f(0x11a)](_0x3855bb=>{const _0x200c45=_0x57002f,_0x12aedc=_0x243c9c[_0x200c45(0x13e)][_0x200c45(0x162)][_0x200c45(0x129)]();let _0x49de3f=!0x1;for(const _0x1054fa of _0x12aedc){if(_0x200c45(0x139)!==_0x1054fa[_0x200c45(0x175)]||_0x200c45(0x157)===_0x1054fa[_0x200c45(0x149)])continue;const _0x117571=_0x243c9c[_0x200c45(0x174)](_0x1054fa[_0x200c45(0x153)][_0x200c45(0x163)]);for(const _0x1a7521 of _0x117571[_0x200c45(0x15b)]())_0x1a7521['is'](_0x200c45(0x167),_0x200c45(0x136))&&(!_0x1a7521[_0x200c45(0x147)](_0x200c45(0x146))&&_0x243c9c[_0x200c45(0x12f)][_0x200c45(0x14f)](_0x1a7521,_0x200c45(0x146))&&(_0x3855bb[_0x200c45(0x143)](_0x200c45(0x146),_0x2455a5,_0x1a7521),_0x49de3f=!0x0),!_0x1a7521[_0x200c45(0x147)](_0x200c45(0x177))&&_0x243c9c[_0x200c45(0x12f)][_0x200c45(0x14f)](_0x1a7521,_0x200c45(0x177))&&(_0x3855bb[_0x200c45(0x143)](_0x200c45(0x177),_0x219902,_0x1a7521),_0x49de3f=!0x0));}return _0x49de3f&&_0x473a90[_0x200c45(0x16c)](_0x3855bb),_0x49de3f;});}[_0x248a1(0x117)](){const _0x50b992=_0x248a1,{editor:_0x47a061}=this;_0x47a061[_0x50b992(0x138)][_0x50b992(0x12a)](_0x270c84)[_0x50b992(0x11e)](_0x4e0c7d=>this[_0x50b992(0x16e)](_0x4e0c7d));}[_0x248a1(0x152)](){const _0xd99b90=_0x248a1;return this[_0xd99b90(0x12c)][_0xd99b90(0x132)][_0xd99b90(0x12a)](_0xd99b90(0x165));}[_0x248a1(0x119)](){const _0x2e1ebb=_0x248a1;return this[_0x2e1ebb(0x12c)][_0x2e1ebb(0x132)][_0x2e1ebb(0x12a)](_0x2e1ebb(0x131));}[_0x248a1(0x16e)]({container:_0x178680,value:_0x4956dd,digits:_0x5c8dd4}){const _0x59f046=_0x248a1,_0x3295d4=_0x178680[_0x59f046(0x16a)](_0x59f046(0x177)),_0x14275c=_0x178680[_0x59f046(0x16a)](_0x59f046(0x146)),_0x4e2ac2=Math[_0x59f046(0x11b)](_0x4956dd)+(_0x14275c??0x1)-0x1;switch(_0x3295d4){case _0x59f046(0x15f):return function(_0x1af2c7,_0x5abd0b){const _0x5d0bcf=_0x59f046;return String(_0x1af2c7)[_0x5d0bcf(0x176)](_0x5abd0b,'0');}(_0x4e2ac2,Math[_0x59f046(0x170)](0x2,_0x5c8dd4));case _0x59f046(0x16d):case _0x59f046(0x13c):return N(_0x4e2ac2,!0x1);case _0x59f046(0x16b):case _0x59f046(0x126):return N(_0x4e2ac2,!0x0);case _0x59f046(0x14b):return X(_0x4e2ac2,!0x1);case _0x59f046(0x13f):return X(_0x4e2ac2,!0x0);default:return String(_0x4e2ac2);}}}function M(_0x561171,_0x19d311){const _0xeea2c9=_0x248a1,_0x364cc1=_0x19d311[_0xeea2c9(0x12d)](_0x561171);return Array[_0xeea2c9(0x121)](_0x364cc1[_0xeea2c9(0x172)]())[_0xeea2c9(0x151)](_0x10efde=>_0x10efde['is'](_0xeea2c9(0x167),'ol')&&_0x10efde[_0xeea2c9(0x11f)](_0xeea2c9(0x164)));}function N(_0x4add4c,_0x3d50e7){const _0x30b7b6=_0x248a1;let _0x45ff50='',_0x573065=_0x4add4c;for(;_0x573065>0x0;){const _0x5ac0b3=(_0x573065-0x1)%0x1a;_0x45ff50=String[_0x30b7b6(0x114)](0x61+_0x5ac0b3)+_0x45ff50,_0x573065=Math[_0x30b7b6(0x11b)]((_0x573065-0x1)/0x1a);}return _0x3d50e7?_0x45ff50[_0x30b7b6(0x130)]():_0x45ff50;}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 _0x4769(_0x2710d3,_0x918410){const _0x4a626=_0x4a62();return _0x4769=function(_0x476985,_0x109355){_0x476985=_0x476985-0x112;let _0x5d5fca=_0x4a626[_0x476985];return _0x5d5fca;},_0x4769(_0x2710d3,_0x918410);}function X(_0x2941af,_0x3decf7){const _0x5be0b7=_0x248a1;let _0x46f9b4='',_0x16ce95=_0x2941af;for(const {value:_0x47ccdc,numeral:_0x4fde3e}of V)for(;_0x16ce95>=_0x47ccdc;)_0x46f9b4+=_0x4fde3e,_0x16ce95-=_0x47ccdc;return _0x3decf7?_0x46f9b4:_0x46f9b4[_0x5be0b7(0x15d)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x1e553f,ButtonView as _0x58e96d,ContextualBalloon as _0x421877,createDropdown as _0x3ac29c}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2f553b}from'ckeditor5/src/widget.js';import{Plugin as _0x570320}from'ckeditor5/src/core.js';import{IconFootnote as _0x4445b9,IconListStyleDecimal as _0x402387,IconListStyleDecimalLeadingZero as _0x18f3d3,IconListStyleLowerLatin as _0x4386e0,IconListStyleLowerRoman as _0x1768da,IconListStyleUpperLatin as _0x19f52a,IconListStyleUpperRoman as _0x1a4e43}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5280ae}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x14c35f}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x570320{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x421877,_0x2f553b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x445abf}=this,{componentFactory:_0x119937}=_0x445abf['ui'];_0x445abf['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x119937['add']('footnotesStyle',function(_0x1b347c){return _0x40b9b3=>{const {t:t}=_0x40b9b3,_0x28ad9a=_0x1b347c['commands']['get']('footnotesStyle'),_0x4b495e=_0x3ac29c(_0x40b9b3),{buttonView:_0x870c74}=_0x4b495e;return _0x4b495e['class']='ck-footnotes-styles-dropdown',_0x4b495e['bind']('isEnabled')['to'](_0x28ad9a,'isEnabled'),_0x870c74['set']({'label':t('Footnotes\x20style'),'icon':_0x4445b9,'tooltip':!0x0}),_0x4b495e['once']('change:isOpen',()=>{const _0x32495b=function({editor:_0xd2df64,dropdownView:_0x2c3e1e}){const {t:t}=_0xd2df64['locale'],_0x5d6b51=t('Footnotes\x20definitions\x20styles'),_0x51c5e6=function(_0x43b9fb){const t=_0x43b9fb['locale']['t'],_0x231869=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x402387},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x18f3d3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1768da},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1a4e43},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4386e0},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x19f52a}];return _0x231869['map'](function(_0x39ed89){const _0x231ae7=_0x39ed89['locale'];return({label:_0x2cd8b6,icon:_0x1c223d,tooltip:_0x25603a,style:_0x3271e2})=>{const _0xd904f6=_0x39ed89['commands']['get']('footnotesStyle'),_0x261334=new _0x58e96d(_0x231ae7);return _0x261334['set']({'label':_0x2cd8b6,'icon':_0x1c223d,'tooltip':_0x25603a}),_0x261334['bind']('isOn')['to'](_0xd904f6,'value',_0x16d37b=>_0x16d37b===_0x3271e2),_0x261334['bind']('isEnabled')['to'](_0xd904f6,'isEnabled'),_0x261334['on']('execute',()=>{_0x39ed89['execute']('footnotesStyle',{'value':_0x3271e2}),_0x39ed89['editing']['view']['focus']();}),_0x261334;};}(_0x43b9fb));}(_0xd2df64),_0x5ccfc3=new _0x5280ae(_0xd2df64['locale'],{'styleGridAriaLabel':_0x5d6b51,'styleButtonViews':_0x51c5e6}),_0x4f3d94=_0xd2df64['commands']['get']('footnotesStart');return _0x5ccfc3['startIndexFieldView']['bind']('isEnabled')['to'](_0x4f3d94),_0x5ccfc3['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4f3d94),_0x5ccfc3['on']('footnotesListStart',(_0x1509e3,_0x28f13f)=>{_0xd2df64['execute']('footnotesStart',{'value':_0x28f13f['startIndex']});}),_0x5ccfc3['delegate']('execute')['to'](_0x2c3e1e),_0x5ccfc3;}({'editor':_0x1b347c,'dropdownView':_0x4b495e});_0x4b495e['panelView']['children']['add'](_0x32495b);}),_0x4b495e;};}(_0x445abf));}['afterInit'](){const {editor:_0x1d4cea}=this,{t:t}=_0x1d4cea['locale'],_0x5e5752=_0x1d4cea['plugins']['get'](_0x2f553b),{defaultPositions:_0x472d7e}=_0x1e553f;_0x5e5752['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1d4cea['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1f2714=>{let _0xb3fcc9=_0x1f2714['getFirstPosition']()?.['parent'];return _0xb3fcc9?.['is']('$text')&&(_0xb3fcc9=_0xb3fcc9['parent']),_0xb3fcc9?.['is']('element')?_0xb3fcc9['findAncestor'](_0x14c35f):null;},'positions':[_0x472d7e['southArrowNorth'],_0x472d7e['southArrowNorthMiddleWest'],_0x472d7e['southArrowNorthMiddleEast'],_0x472d7e['southArrowNorthWest'],_0x472d7e['southArrowNorthEast'],_0x472d7e['northArrowSouth'],_0x472d7e['northArrowSouthMiddleWest'],_0x472d7e['northArrowSouthMiddleEast'],_0x472d7e['northArrowSouthWest'],_0x472d7e['northArrowSouthEast'],_0x472d7e['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x54e060,View as _0x51e1ea,ViewCollection as _0x18ce7b,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x51e1ea{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x18ce7b();['focusCycler'];constructor(_0x3ef8c3,{styleButtonViews:_0x276445,styleGridAriaLabel:_0x527021}){super(_0x3ef8c3),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x276445,_0x527021),[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 _0x3f5c11 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3f5c11['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x5f98d6=_0x43ebc1=>_0x43ebc1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5f98d6),this['keystrokes']['set']('arrowleft',_0x5f98d6),this['keystrokes']['set']('arrowup',_0x5f98d6),this['keystrokes']['set']('arrowdown',_0x5f98d6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x46d0b5,_0x446534){const _0x61d0d9=new _0x51e1ea(this['locale']);return _0x61d0d9['children']=_0x61d0d9['createCollection'](),_0x61d0d9['children']['addMany'](_0x46d0b5),_0x61d0d9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x446534,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x61d0d9['children']}),_0x61d0d9['children']['delegate']('execute')['to'](this),_0x61d0d9['focus']=function(){for(const _0x430542 of this['children'])if(_0x430542 instanceof _0x54e060&&_0x430542['isOn'])return void _0x430542['focus']();this['children']['first']['focus']();},_0x61d0d9['focusTracker']=new rt(),_0x61d0d9['keystrokes']=new nt(),_0x61d0d9['render'](),_0x61d0d9['keystrokes']['listenTo'](_0x61d0d9['element']),this['children']['add'](_0x61d0d9),_0x61d0d9;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x410019=this['_createStartIndexPropertyView'](),_0xf4ce96=[_0x410019],_0x1d7255=new it(this['locale'],_0xf4ce96);return _0x1d7255['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1d7255['buttonView']['bind']('isEnabled')['toMany'](_0xf4ce96,'isEnabled',(..._0x503333)=>_0x503333['some'](_0x576001=>_0x576001)),_0x1d7255['buttonView']['on']('change:isEnabled',(_0x5d7fda,_0x273c82,_0x5eda95)=>{_0x5eda95||(_0x1d7255['isCollapsed']=!0x0);}),this['children']['add'](_0x1d7255),[_0x410019,_0x1d7255];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x208fff=new et(this['locale'],ot);return _0x208fff['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x208fff['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x208fff['fieldView']['on']('input',()=>{const _0x4d2022=_0x208fff['fieldView']['element'],_0x3a32e5=_0x4d2022['valueAsNumber'];Number['isNaN'](_0x3a32e5)?_0x208fff['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4d2022['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3a32e5}):_0x208fff['errorText']=t(_0x3a32e5<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x208fff;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5ca1f1=_0x42c7;function _0x4c21(){var _0x5be180=['5261772BfNaxG','FootnotesProperties','48wbQtct','75812JhozSA','129KYcJBP','pluginName','10FzqpMy','9599777KxBLjt','10551564koIdCf','6124310uEpTuT','isPremiumPlugin','requires','isOfficialPlugin','1294209yQxTfR','555348tyEIfG','1uVOyzH'];_0x4c21=function(){return _0x5be180;};return _0x4c21();}(function(_0x54513f,_0x523c16){var _0x361389=_0x42c7,_0x36190b=_0x54513f();while(!![]){try{var _0x2ce393=-parseInt(_0x361389(0xf5))/0x1*(-parseInt(_0x361389(0xf4))/0x2)+-parseInt(_0x361389(0xfa))/0x3*(parseInt(_0x361389(0xf9))/0x4)+parseInt(_0x361389(0xef))/0x5+parseInt(_0x361389(0xf6))/0x6+-parseInt(_0x361389(0xf3))/0x7*(-parseInt(_0x361389(0xf8))/0x8)+parseInt(_0x361389(0xee))/0x9*(-parseInt(_0x361389(0xec))/0xa)+-parseInt(_0x361389(0xed))/0xb;if(_0x2ce393===_0x523c16)break;else _0x36190b['push'](_0x36190b['shift']());}catch(_0x30e9c3){_0x36190b['push'](_0x36190b['shift']());}}}(_0x4c21,0x99802));function _0x42c7(_0x2471ef,_0x514a5b){var _0x4c21ae=_0x4c21();return _0x42c7=function(_0x42c7b4,_0x34583b){_0x42c7b4=_0x42c7b4-0xec;var _0x35864a=_0x4c21ae[_0x42c7b4];return _0x35864a;},_0x42c7(_0x2471ef,_0x514a5b);}import{Plugin as _0xa76937}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x17970b}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x54fe75}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xa76937{static get[_0x5ca1f1(0xfb)](){var _0x5ee4cf=_0x5ca1f1;return _0x5ee4cf(0xf7);}static get[_0x5ca1f1(0xf1)](){return[_0x17970b,_0x54fe75];}static get[_0x5ca1f1(0xf2)](){return!0x0;}static get[_0x5ca1f1(0xf0)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4799c4=_0x57b9;(function(_0x18e0c0,_0x34d522){const _0x3bd996=_0x57b9,_0x3dee54=_0x18e0c0();while(!![]){try{const _0x3f5e52=-parseInt(_0x3bd996(0x186))/0x1+parseInt(_0x3bd996(0x1aa))/0x2*(-parseInt(_0x3bd996(0x18a))/0x3)+-parseInt(_0x3bd996(0x16a))/0x4+-parseInt(_0x3bd996(0x198))/0x5+-parseInt(_0x3bd996(0x1b3))/0x6+parseInt(_0x3bd996(0x1c2))/0x7*(parseInt(_0x3bd996(0x1a9))/0x8)+-parseInt(_0x3bd996(0x1b8))/0x9*(-parseInt(_0x3bd996(0x1a5))/0xa);if(_0x3f5e52===_0x34d522)break;else _0x3dee54['push'](_0x3dee54['shift']());}catch(_0x47bab7){_0x3dee54['push'](_0x3dee54['shift']());}}}(_0x9744,0x2eef4));import{Plugin as _0x423b29}from'ckeditor5/src/core.js';function _0x57b9(_0x5553cd,_0x158f88){const _0x974469=_0x9744();return _0x57b9=function(_0x57b936,_0x52ec00){_0x57b936=_0x57b936-0x161;let _0x5d35e1=_0x974469[_0x57b936];return _0x5d35e1;},_0x57b9(_0x5553cd,_0x158f88);}import{ModelElementTracker as _0x1fc4cc}from'./modelelementtracker.js';function _0x9744(){const _0x561d35=['before','18yPBtso','createPositionAt','setAttribute','setFootnoteFormatter','low','footnoteCounter','compareWith','createRangeIn','createRangeOn','pluginName','2191pVPfYX','init','_footnoteDefsContainerTracker','_footnotes','high','has','push','rootName','_insertEmptyFootnotesDefinitionsContainer','getFootnotesDefinitionsObjectElement','_handleInsertedFootnoteReference','length','editor','51352yqpoCW','_footnotesDefinitions','some','getFootnote','min','isOfficialPlugin','get','_ensureFootnotesDefinitionsContainerExists','getAttribute','_footnoteDefsTracker','set','footnoteDefinition','_handleFootnotesDefinitionsObjectSync','_handleMovedFootnoteReference','getFootnotes','config','find','insert','findIndex','model','_handleFootnoteReferencesChanges','createElement','map','getFootnotesFormatter','document','change:data','reset','$graveyard','316564cKccQD','isPremiumPlugin','_handleFootnoteDefinitionsChanges','footnoteRef','83235XzVvdv','getChildren','getChanges','singleton','_handleRemoveFootnoteReferenceById','differ','_updateFootnoteRefCounter','enqueueChange','add','move','FootnotesTracker','paragraph','_footnoteFormatter','root','619060GOusut','indexOf','reference','_sortFootnoteDefinitions','footnoteId','from','parent','footnotes.multiBlock','registerPostFixer','listenTo','_handleFootnotesDefinitionsObjectChanges','append','footnotesDefinitions','3479110EDqIJX','footnoteInlineContent','createPositionBefore','_footnoteRefsTracker','8984CKsgYR','18gnbhln','after','remove','childCount','splice','unshift','_updateFootnotesCounters','isEqual','end','912948eJxMQO','getRootNames','definition','_ensureFootnotesReferencesHaveProperOrder'];_0x9744=function(){return _0x561d35;};return _0x9744();}export class FootnotesTracker extends _0x423b29{[_0x4799c4(0x1c5)]=[];[_0x4799c4(0x16b)]=null;[_0x4799c4(0x196)]=null;[_0x4799c4(0x1c4)];[_0x4799c4(0x1a8)];[_0x4799c4(0x173)];static get[_0x4799c4(0x1c1)](){const _0x17c181=_0x4799c4;return _0x17c181(0x194);}static get[_0x4799c4(0x16f)](){return!0x0;}static get[_0x4799c4(0x187)](){return!0x0;}constructor(_0x4a0f42){const _0xb89847=_0x4799c4;super(_0x4a0f42),this[_0xb89847(0x1c4)]=new _0x1fc4cc(this[_0xb89847(0x169)][_0xb89847(0x17d)],{'elementName':_0xb89847(0x1a4),'getElementKey':()=>_0xb89847(0x18d)}),this[_0xb89847(0x1a8)]=new _0x1fc4cc(this[_0xb89847(0x169)][_0xb89847(0x17d)],{'elementName':_0xb89847(0x189),'getElementKey':_0x353cb2=>_0x353cb2[_0xb89847(0x172)](_0xb89847(0x19c))}),this[_0xb89847(0x173)]=new _0x1fc4cc(this[_0xb89847(0x169)][_0xb89847(0x17d)],{'elementName':_0xb89847(0x175),'getElementKey':_0x1d5994=>_0x1d5994[_0xb89847(0x172)](_0xb89847(0x19c))});}[_0x4799c4(0x1c3)](){const _0x553bab=_0x4799c4,{editor:_0x4563fd}=this,{model:_0xaa7da3,data:_0xd6b64f}=_0x4563fd;_0xaa7da3[_0x553bab(0x182)][_0x553bab(0x1a0)](_0x4fc60e=>{const _0x1ab562=_0x553bab,_0x5b9bf5=_0xaa7da3[_0x1ab562(0x182)][_0x1ab562(0x18f)][_0x1ab562(0x18c)]();let _0x5d12ba=!0x1;return this[_0x1ab562(0x1a2)](_0x4fc60e,_0x5b9bf5)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x188)](_0x4fc60e,_0x5b9bf5)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x17e)](_0x4fc60e,_0x5b9bf5)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x1b6)](_0x4fc60e)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x176)](_0x4fc60e)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x19b)](_0x4fc60e)&&(_0x5d12ba=!0x0),_0x5d12ba;}),this[_0x553bab(0x1a1)](_0xaa7da3[_0x553bab(0x182)],_0x553bab(0x183),()=>{const _0x1396bf=_0x553bab;_0xaa7da3[_0x1396bf(0x191)]({'isUndoable':!0x1},_0x3411e9=>{const _0x209f2b=_0x1396bf;this[_0x209f2b(0x171)](_0x3411e9);});},{'priority':_0x553bab(0x1bc)}),this[_0x553bab(0x1a1)](_0xd6b64f,_0x553bab(0x174),()=>{const _0x37ccd0=_0x553bab;this[_0x37ccd0(0x1c5)]=[],this[_0x37ccd0(0x1c4)][_0x37ccd0(0x184)](),this[_0x37ccd0(0x1a8)][_0x37ccd0(0x184)](),this[_0x37ccd0(0x173)][_0x37ccd0(0x184)]();},{'priority':_0x553bab(0x161)});}[_0x4799c4(0x166)](){const _0xa77c0c=_0x4799c4;return this[_0xa77c0c(0x16b)];}[_0x4799c4(0x16d)](_0x2d0b6f){const _0x5b541f=_0x4799c4;return this[_0x5b541f(0x1c5)][_0x5b541f(0x17a)](_0x56c97e=>_0x56c97e['id']===_0x2d0b6f)||null;}[_0x4799c4(0x178)](){const _0x54a27d=_0x4799c4;return Array[_0x54a27d(0x19d)](this[_0x54a27d(0x1c5)]);}[_0x4799c4(0x181)](){const _0x4a9185=_0x4799c4;return this[_0x4a9185(0x196)];}[_0x4799c4(0x1bb)](_0x4eadc8){const _0x3ee1f8=_0x4799c4;this[_0x3ee1f8(0x196)]=_0x4eadc8;}[_0x4799c4(0x1b0)](_0x45773b,_0xf1e024=0x0){const _0x4dd7ca=_0x4799c4;let _0x34a275=!0x1;for(let _0x25479d=_0xf1e024;_0x25479d<this[_0x4dd7ca(0x1c5)][_0x4dd7ca(0x168)];_0x25479d++)this[_0x4dd7ca(0x190)](_0x45773b,_0x25479d)&&(_0x34a275=!0x0);return _0x34a275;}[_0x4799c4(0x165)](_0x4ad3ae,_0x4f167f){const _0xa61518=_0x4799c4,_0xd7f00e=_0x4ad3ae[_0xa61518(0x17f)](_0xa61518(0x1a4),{});return _0x4ad3ae[_0xa61518(0x1a3)](_0xd7f00e,_0x4f167f),this[_0xa61518(0x16b)]=_0xd7f00e,_0xd7f00e;}[_0x4799c4(0x171)](_0x104a03){const _0x3710c3=_0x4799c4;if(!this[_0x3710c3(0x1c5)][_0x3710c3(0x168)]||this[_0x3710c3(0x16b)])return;const _0xdaa0a3=this[_0x3710c3(0x1c5)][0x0][_0x3710c3(0x19a)][_0x3710c3(0x197)],_0x560a60=this[_0x3710c3(0x165)](_0x104a03,_0xdaa0a3);for(const _0x4d40be of this[_0x3710c3(0x1c5)])_0x4d40be[_0x3710c3(0x1b5)][_0x3710c3(0x19e)]||_0x104a03[_0x3710c3(0x17b)](_0x4d40be[_0x3710c3(0x1b5)],_0x560a60,_0x3710c3(0x1b2));this[_0x3710c3(0x1b0)](_0x104a03);}[_0x4799c4(0x1a2)](_0x2069d3,_0x9c2de){const _0x4626bb=_0x4799c4;let _0x31d056=!0x1;const {inserted:_0x5060a4,removed:_0x42202f,moved:_0x167bd4}=this[_0x4626bb(0x1c4)][_0x4626bb(0x18c)](_0x9c2de);if(_0x167bd4[_0x4626bb(0x168)]&&(this[_0x4626bb(0x16b)]=_0x167bd4[0x0]),_0x5060a4[_0x4626bb(0x168)]){if(_0x5060a4[_0x4626bb(0x168)]>0x1||this[_0x4626bb(0x16b)]&&_0x5060a4[_0x4626bb(0x16c)](_0x118c8b=>_0x118c8b!==this[_0x4626bb(0x16b)])){const _0x74549b=_0x2069d3[_0x4626bb(0x17f)](_0x4626bb(0x1a4),{}),_0x1d484b=[];this[_0x4626bb(0x16b)]&&_0x1d484b[_0x4626bb(0x163)](this[_0x4626bb(0x16b)]),_0x1d484b[_0x4626bb(0x163)](..._0x5060a4),_0x2069d3[_0x4626bb(0x17b)](_0x74549b,_0x1d484b[0x0],_0x4626bb(0x1b7));for(const _0x48ce8d of _0x1d484b)_0x2069d3[_0x4626bb(0x193)](_0x2069d3[_0x4626bb(0x1bf)](_0x48ce8d),_0x2069d3[_0x4626bb(0x1b9)](_0x74549b,_0x4626bb(0x1b2))),_0x2069d3[_0x4626bb(0x1ac)](_0x48ce8d);this[_0x4626bb(0x16b)]=_0x74549b,this[_0x4626bb(0x1b0)](_0x2069d3),_0x31d056=!0x0;}else this[_0x4626bb(0x16b)]=_0x5060a4[0x0];}if(_0x42202f[_0x4626bb(0x168)]&&_0x4626bb(0x185)===this[_0x4626bb(0x16b)]?.[_0x4626bb(0x197)][_0x4626bb(0x164)]){for(const _0x508be5 of this[_0x4626bb(0x1c5)])_0x2069d3[_0x4626bb(0x1ac)](_0x508be5[_0x4626bb(0x19a)]),_0x31d056=!0x0;this[_0x4626bb(0x1c5)]=[],this[_0x4626bb(0x16b)]=null;}return _0x31d056;}[_0x4799c4(0x188)](_0x116da2,_0x54b859){const _0x3d434d=_0x4799c4;let _0x27e342=!0x1;const _0x778561=this[_0x3d434d(0x169)][_0x3d434d(0x179)][_0x3d434d(0x170)](_0x3d434d(0x19f)),{inserted:_0xaeaf56,moved:_0x5b814d}=this[_0x3d434d(0x173)][_0x3d434d(0x18c)](_0x54b859);for(const _0x47ba6c of[..._0x5b814d,..._0xaeaf56]){const _0x2e9ae6=_0x47ba6c[_0x3d434d(0x172)](_0x3d434d(0x19c)),_0xf16553=this[_0x3d434d(0x16d)](_0x2e9ae6);_0xf16553&&(_0xf16553[_0x3d434d(0x1b5)]=_0x47ba6c),_(_0x116da2,_0x778561,_0x47ba6c)&&(_0x27e342=!0x0);}return _0x27e342;}[_0x4799c4(0x17e)](_0x1ca4d0,_0x38bab5){const _0x4a0bc7=_0x4799c4;let _0x44d847=!0x1;const {removed:_0x96128,inserted:_0x56dcb2,moved:_0x171725}=this[_0x4a0bc7(0x1a8)][_0x4a0bc7(0x18c)](_0x38bab5);for(const _0x3e2154 of _0x96128)this[_0x4a0bc7(0x18e)](_0x1ca4d0,_0x3e2154)&&(_0x44d847=!0x0);for(const _0x35632f of _0x56dcb2)this[_0x4a0bc7(0x167)](_0x1ca4d0,_0x35632f)&&(_0x44d847=!0x0);for(const _0xf0f289 of _0x171725)this[_0x4a0bc7(0x177)](_0x1ca4d0,_0xf0f289)&&(_0x44d847=!0x0);return _0x44d847;}[_0x4799c4(0x176)](_0x5c2c55){const _0x1ac858=_0x4799c4;if(!this[_0x1ac858(0x16b)])return!0x1;let _0x51ed95=!0x1;if(this[_0x1ac858(0x16b)][_0x1ac858(0x1ad)]!==this[_0x1ac858(0x1c5)][_0x1ac858(0x168)]){const _0x24104e=[];for(const _0x20c88e of this[_0x1ac858(0x16b)][_0x1ac858(0x18b)]()){const _0x424ade=_0x20c88e[_0x1ac858(0x172)](_0x1ac858(0x19c));this[_0x1ac858(0x16d)](_0x424ade)||(_0x24104e[_0x1ac858(0x1af)](_0x20c88e),_0x51ed95=!0x0);}for(const _0x41d92d of _0x24104e)_0x5c2c55[_0x1ac858(0x1ac)](_0x41d92d);}const _0x3d3de6=new Set(),_0x80608f=[];for(const _0x44cecc of this[_0x1ac858(0x16b)][_0x1ac858(0x18b)]()){const _0x565271=_0x44cecc[_0x1ac858(0x172)](_0x1ac858(0x19c));_0x3d3de6[_0x1ac858(0x162)](_0x565271)?(_0x80608f[_0x1ac858(0x1af)](_0x44cecc),_0x51ed95=!0x0):_0x3d3de6[_0x1ac858(0x192)](_0x565271);}for(const _0x5e57fe of _0x80608f)_0x5c2c55[_0x1ac858(0x1ac)](_0x5e57fe);return this[_0x1ac858(0x16b)][_0x1ac858(0x1ad)]||(_0x5c2c55[_0x1ac858(0x1ac)](this[_0x1ac858(0x16b)]),this[_0x1ac858(0x16b)]=null,_0x51ed95=!0x0),_0x51ed95;}[_0x4799c4(0x167)](_0x3da428,_0x19bde1){const _0x449dbf=_0x4799c4;if(this[_0x449dbf(0x1c5)][_0x449dbf(0x17a)](_0x342059=>_0x342059[_0x449dbf(0x19a)]===_0x19bde1))return!0x1;let _0x2dbda8=!0x1;const _0x5e4de0=_0x19bde1[_0x449dbf(0x172)](_0x449dbf(0x19c)),_0x1d40e1=this[_0x449dbf(0x1c5)][_0x449dbf(0x17c)](_0x55738c=>_0x55738c['id']===_0x5e4de0);-0x1!==_0x1d40e1&&(_0x3da428[_0x449dbf(0x1ac)](this[_0x449dbf(0x1c5)][_0x1d40e1][_0x449dbf(0x19a)]),this[_0x449dbf(0x1c5)][_0x449dbf(0x1ae)](_0x1d40e1,0x1),_0x2dbda8=!0x0);let _0x443189=this[_0x449dbf(0x16b)]?function(_0x148295,_0x12cc86){const _0x3f8223=_0x449dbf;for(const _0x7532a5 of _0x148295[_0x3f8223(0x18b)]())if(_0x7532a5[_0x3f8223(0x172)](_0x3f8223(0x19c))===_0x12cc86)return _0x7532a5;return null;}(this[_0x449dbf(0x16b)],_0x5e4de0):null;_0x443189||(_0x443189=_0x3da428[_0x449dbf(0x17f)](_0x449dbf(0x175),{'footnoteId':_0x5e4de0}),this[_0x449dbf(0x16b)]&&(_0x3da428[_0x449dbf(0x17b)](_0x443189,this[_0x449dbf(0x16b)],_0x449dbf(0x1b2)),_0x2dbda8=!0x0));const _0x58e080={'id':_0x5e4de0,'reference':_0x19bde1,'definition':_0x443189},_0x330acd=I(this[_0x449dbf(0x169)][_0x449dbf(0x17d)],this[_0x449dbf(0x1c5)],_0x19bde1);this[_0x449dbf(0x1c5)][_0x449dbf(0x1ae)](_0x330acd,0x0,_0x58e080);let _0x3e5014=_0x330acd;return-0x1!==_0x1d40e1&&(_0x3e5014=Math[_0x449dbf(0x16e)](_0x330acd,_0x1d40e1)),this[_0x449dbf(0x1b0)](_0x3da428,_0x3e5014)&&(_0x2dbda8=!0x0),_0x2dbda8;}[_0x4799c4(0x18e)](_0x5e1fae,_0x1f3842){const _0x347569=_0x4799c4,_0x1c2287=this[_0x347569(0x1c5)][_0x347569(0x17c)](_0x3818fb=>_0x3818fb['id']===_0x1f3842);if(-0x1===_0x1c2287)return!0x1;let _0x4016b1=!0x1;const _0x34fdc5=this[_0x347569(0x1c5)][_0x1c2287];return _0x347569(0x185)!==_0x34fdc5[_0x347569(0x1b5)][_0x347569(0x197)][_0x347569(0x164)]&&(_0x5e1fae[_0x347569(0x1ac)](_0x34fdc5[_0x347569(0x1b5)]),_0x4016b1=!0x0),this[_0x347569(0x1c5)][_0x347569(0x1ae)](_0x1c2287,0x1),this[_0x347569(0x1b0)](_0x5e1fae,_0x1c2287)&&(_0x4016b1=!0x0),_0x4016b1;}[_0x4799c4(0x177)](_0xe509e2,_0x3af4f8){const _0x2e855f=_0x4799c4,_0xf5c0f3=_0x3af4f8[_0x2e855f(0x172)](_0x2e855f(0x19c)),_0x5c9354=this[_0x2e855f(0x1c5)][_0x2e855f(0x17c)](_0x2e6f53=>_0x2e6f53['id']===_0xf5c0f3),_0x25c61c=this[_0x2e855f(0x1c5)][_0x5c9354];let _0x4c1314=!0x1;_0x25c61c[_0x2e855f(0x19a)]=_0x3af4f8,this[_0x2e855f(0x1c5)][_0x2e855f(0x1ae)](_0x5c9354,0x1);const _0x2b7382=I(this[_0x2e855f(0x169)][_0x2e855f(0x17d)],this[_0x2e855f(0x1c5)],_0x3af4f8);return this[_0x2e855f(0x1c5)][_0x2e855f(0x1ae)](_0x2b7382,0x0,_0x25c61c),this[_0x2e855f(0x1b0)](_0xe509e2,Math[_0x2e855f(0x16e)](_0x5c9354,_0x2b7382))&&(_0x4c1314=!0x0),_0x4c1314;}[_0x4799c4(0x190)](_0x4aff51,_0x46f863){const _0x134850=_0x4799c4;if(!this[_0x134850(0x16b)])return!0x1;const _0x127cab=this[_0x134850(0x1c5)][_0x46f863];let _0x5d6431;return _0x5d6431=this[_0x134850(0x196)]?this[_0x134850(0x196)]({'footnote':_0x127cab,'container':this[_0x134850(0x16b)],'digits':String(this[_0x134850(0x1c5)][_0x134850(0x168)])[_0x134850(0x168)],'value':_0x46f863+0x1}):String(_0x46f863+0x1),_0x127cab[_0x134850(0x19a)][_0x134850(0x172)](_0x134850(0x1bd))!=_0x5d6431&&(_0x4aff51[_0x134850(0x1ba)](_0x134850(0x1bd),_0x5d6431,_0x127cab[_0x134850(0x19a)]),!0x0);}[_0x4799c4(0x19b)](_0x3b0642){const _0x2a011b=_0x4799c4;if(!this[_0x2a011b(0x16b)]||this[_0x2a011b(0x1c5)][_0x2a011b(0x168)]<0x2)return!0x1;if(function(_0x572b1b,_0x10a896){const _0x5c4e04=_0x2a011b;if(_0x572b1b[_0x5c4e04(0x168)]!==_0x10a896[_0x5c4e04(0x168)])return!0x1;for(let _0x5c58f5=0x0;_0x5c58f5<_0x572b1b[_0x5c4e04(0x168)];_0x5c58f5++)if(_0x572b1b[_0x5c58f5]!==_0x10a896[_0x5c58f5])return!0x1;return!0x0;}(this[_0x2a011b(0x1c5)][_0x2a011b(0x180)](_0x41237b=>_0x41237b['id']),Array[_0x2a011b(0x19d)](this[_0x2a011b(0x16b)][_0x2a011b(0x18b)]())[_0x2a011b(0x180)](_0xa11916=>_0xa11916[_0x2a011b(0x172)](_0x2a011b(0x19c)))))return!0x1;let _0x5e5ec9=!0x1;for(let _0x58dc7a=0x0;_0x58dc7a<this[_0x2a011b(0x1c5)][_0x2a011b(0x168)];_0x58dc7a++){const _0x359354=this[_0x2a011b(0x1c5)][_0x58dc7a],_0x1c26ee=_0x3b0642[_0x2a011b(0x1a7)](_0x359354[_0x2a011b(0x1b5)]),_0x538060=_0x3b0642[_0x2a011b(0x1b9)](this[_0x2a011b(0x16b)],_0x58dc7a);_0x1c26ee[_0x2a011b(0x1b1)](_0x538060)||(_0x3b0642[_0x2a011b(0x193)](_0x3b0642[_0x2a011b(0x1c0)](_0x359354[_0x2a011b(0x1b5)]),_0x538060),_0x5e5ec9=!0x0);}return _0x5e5ec9;}[_0x4799c4(0x1b6)](_0x19a6ac){const _0x425eeb=_0x4799c4;if(!this[_0x425eeb(0x1c5)][_0x425eeb(0x168)])return!0x1;const {model:_0x5ab3a7}=this[_0x425eeb(0x169)];let _0x4e0a7e=!0x1;for(let _0x47c52a=0x0;_0x47c52a<this[_0x425eeb(0x1c5)][_0x425eeb(0x168)]-0x1;_0x47c52a++){const _0x41933b=this[_0x425eeb(0x1c5)][_0x47c52a],_0x1a90eb=this[_0x425eeb(0x1c5)][_0x47c52a+0x1],_0x2428d3=_0x5ab3a7[_0x425eeb(0x1a7)](_0x41933b[_0x425eeb(0x19a)]),_0x5d8171=_0x5ab3a7[_0x425eeb(0x1a7)](_0x1a90eb[_0x425eeb(0x19a)]);_0x425eeb(0x1ab)===_0x2428d3[_0x425eeb(0x1be)](_0x5d8171)&&(this[_0x425eeb(0x177)](_0x19a6ac,_0x41933b[_0x425eeb(0x19a)]),_0x47c52a=-0x1,_0x4e0a7e=!0x0);}return _0x4e0a7e;}}function _(_0x4f4261,_0x1be6bc,_0x1dc22e){const _0x27de04=_0x4799c4;if(_0x1dc22e[_0x27de04(0x1ad)])return!0x1;const _0x1ce02f=_0x1be6bc?_0x27de04(0x195):_0x27de04(0x1a6);return _0x4f4261[_0x27de04(0x17b)](_0x4f4261[_0x27de04(0x17f)](_0x1ce02f),_0x1dc22e),!0x0;}function I(_0x3993cc,_0x4d6063,_0x1b4f08){const _0x619b14=_0x4799c4;if(0x0===_0x4d6063[_0x619b14(0x168)])return 0x0;const _0x5796df=_0x3993cc[_0x619b14(0x1a7)](_0x1b4f08);for(let _0x33c4d6=0x0;_0x33c4d6<_0x4d6063[_0x619b14(0x168)];_0x33c4d6++){const _0x42f103=_0x4d6063[_0x33c4d6],_0x564bd2=_0x3993cc[_0x619b14(0x1a7)](_0x42f103[_0x619b14(0x19a)]);if(_0x619b14(0x1b7)===_0x5796df[_0x619b14(0x1be)](_0x564bd2))return _0x33c4d6;}const _0x566853=_0x1b4f08[_0x619b14(0x197)];let _0xe9bc92=-0x1;for(let _0x17a9d1=_0x4d6063[_0x619b14(0x168)]-0x1;_0x17a9d1>=0x0;_0x17a9d1--)if(_0x4d6063[_0x17a9d1][_0x619b14(0x19a)][_0x619b14(0x197)]===_0x566853){_0xe9bc92=_0x17a9d1;break;}if(-0x1!==_0xe9bc92)return _0xe9bc92+0x1;const _0x439256=_0x3993cc[_0x619b14(0x182)][_0x619b14(0x1b4)](),_0x4b1b70=_0x439256[_0x619b14(0x199)](_0x566853[_0x619b14(0x164)]),_0x1e2001=_0x439256[_0x4b1b70+0x1];if(_0x1e2001){for(let _0x2a5a37=0x0;_0x2a5a37<_0x4d6063[_0x619b14(0x168)];_0x2a5a37++)if(_0x4d6063[_0x2a5a37][_0x619b14(0x19a)][_0x619b14(0x197)][_0x619b14(0x164)]===_0x1e2001)return _0x2a5a37;}return _0x4d6063[_0x619b14(0x168)];}
|
|
23
|
+
function _0x5223(){const _0x6c601c=['_updateFootnotesCounters','root','createRangeOn','definition','unshift','splice','isEqual','childCount','pluginName','end','indexOf','footnotes.multiBlock','FootnotesTracker','rootName','change:data','isPremiumPlugin','_updateFootnoteRefCounter','getAttribute','editor','config','isOfficialPlugin','setAttribute','some','find','133119RUZfDJ','createPositionBefore','171141pxJIcQ','_handleFootnotesDefinitionsObjectChanges','before','parent','_footnotes','findIndex','427225oRCSqT','set','after','add','_handleFootnoteDefinitionsChanges','listenTo','4YLPFqs','_handleInsertedFootnoteReference','registerPostFixer','4207379Ryxpss','append','334629kTjUmr','document','high','model','footnotesDefinitions','_handleFootnotesDefinitionsObjectSync','low','footnoteId','setFootnoteFormatter','getFootnotesDefinitionsObjectElement','4uRpcED','_footnoteDefsTracker','footnoteCounter','getChildren','reset','move','getFootnote','8TxzvDh','_insertEmptyFootnotesDefinitionsContainer','push','min','10UYLKlB','getRootNames','map','get','footnoteRef','_handleFootnoteReferencesChanges','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','footnoteDefinition','_handleRemoveFootnoteReferenceById','_footnoteRefsTracker','remove','singleton','reference','$graveyard','_footnoteDefsContainerTracker','_sortFootnoteDefinitions','insert','has','createPositionAt','from','getFootnotes','_footnoteFormatter','110312tUgBXh','paragraph','compareWith','createRangeIn','getFootnotesFormatter','footnoteInlineContent','length','_handleMovedFootnoteReference','init','_ensureFootnotesDefinitionsContainerExists','enqueueChange','createElement','getChanges','912714qDYFdp','differ'];_0x5223=function(){return _0x6c601c;};return _0x5223();}function _0x2712(_0x1eae39,_0x135dd7){const _0x522381=_0x5223();return _0x2712=function(_0x271233,_0x59f533){_0x271233=_0x271233-0x13c;let _0x3dce8f=_0x522381[_0x271233];return _0x3dce8f;},_0x2712(_0x1eae39,_0x135dd7);}const _0x597d15=_0x2712;(function(_0x348205,_0x162f80){const _0x238d12=_0x2712,_0x320264=_0x348205();while(!![]){try{const _0x646e06=parseInt(_0x238d12(0x192))/0x1*(parseInt(_0x238d12(0x14e))/0x2)+parseInt(_0x238d12(0x177))/0x3*(parseInt(_0x238d12(0x183))/0x4)+parseInt(_0x238d12(0x17d))/0x5+parseInt(_0x238d12(0x15b))/0x6+parseInt(_0x238d12(0x175))/0x7*(parseInt(_0x238d12(0x199))/0x8)+parseInt(_0x238d12(0x188))/0x9*(-parseInt(_0x238d12(0x19d))/0xa)+-parseInt(_0x238d12(0x186))/0xb;if(_0x646e06===_0x162f80)break;else _0x320264['push'](_0x320264['shift']());}catch(_0x5c64cb){_0x320264['push'](_0x320264['shift']());}}}(_0x5223,0x1bf96));import{Plugin as _0x48a776}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x29162a}from'./modelelementtracker.js';export class FootnotesTracker extends _0x48a776{[_0x597d15(0x17b)]=[];[_0x597d15(0x13e)]=null;[_0x597d15(0x14d)]=null;[_0x597d15(0x146)];[_0x597d15(0x141)];[_0x597d15(0x193)];static get[_0x597d15(0x165)](){const _0x1148f7=_0x597d15;return _0x1148f7(0x169);}static get[_0x597d15(0x171)](){return!0x0;}static get[_0x597d15(0x16c)](){return!0x0;}constructor(_0x3aa28f){const _0x2ff751=_0x597d15;super(_0x3aa28f),this[_0x2ff751(0x146)]=new _0x29162a(this[_0x2ff751(0x16f)][_0x2ff751(0x18b)],{'elementName':_0x2ff751(0x18c),'getElementKey':()=>_0x2ff751(0x143)}),this[_0x2ff751(0x141)]=new _0x29162a(this[_0x2ff751(0x16f)][_0x2ff751(0x18b)],{'elementName':_0x2ff751(0x1a1),'getElementKey':_0x58689b=>_0x58689b[_0x2ff751(0x16e)](_0x2ff751(0x18f))}),this[_0x2ff751(0x193)]=new _0x29162a(this[_0x2ff751(0x16f)][_0x2ff751(0x18b)],{'elementName':_0x2ff751(0x13f),'getElementKey':_0x1a1451=>_0x1a1451[_0x2ff751(0x16e)](_0x2ff751(0x18f))});}[_0x597d15(0x156)](){const _0x4b961e=_0x597d15,{editor:_0x2ef299}=this,{model:_0x4ac2ef,data:_0x15e58a}=_0x2ef299;_0x4ac2ef[_0x4b961e(0x189)][_0x4b961e(0x185)](_0x2bbc72=>{const _0x100afe=_0x4b961e,_0x41a501=_0x4ac2ef[_0x100afe(0x189)][_0x100afe(0x15c)][_0x100afe(0x15a)]();let _0x3ae616=!0x1;return this[_0x100afe(0x178)](_0x2bbc72,_0x41a501)&&(_0x3ae616=!0x0),this[_0x100afe(0x181)](_0x2bbc72,_0x41a501)&&(_0x3ae616=!0x0),this[_0x100afe(0x13c)](_0x2bbc72,_0x41a501)&&(_0x3ae616=!0x0),this[_0x100afe(0x13d)](_0x2bbc72)&&(_0x3ae616=!0x0),this[_0x100afe(0x18d)](_0x2bbc72)&&(_0x3ae616=!0x0),this[_0x100afe(0x147)](_0x2bbc72)&&(_0x3ae616=!0x0),_0x3ae616;}),this[_0x4b961e(0x182)](_0x4ac2ef[_0x4b961e(0x189)],_0x4b961e(0x16b),()=>{const _0x11c653=_0x4b961e;_0x4ac2ef[_0x11c653(0x158)]({'isUndoable':!0x1},_0x5614fa=>{const _0x224055=_0x11c653;this[_0x224055(0x157)](_0x5614fa);});},{'priority':_0x4b961e(0x18e)}),this[_0x4b961e(0x182)](_0x15e58a,_0x4b961e(0x17e),()=>{const _0x505742=_0x4b961e;this[_0x505742(0x17b)]=[],this[_0x505742(0x146)][_0x505742(0x196)](),this[_0x505742(0x141)][_0x505742(0x196)](),this[_0x505742(0x193)][_0x505742(0x196)]();},{'priority':_0x4b961e(0x18a)});}[_0x597d15(0x191)](){const _0x268388=_0x597d15;return this[_0x268388(0x13e)];}[_0x597d15(0x198)](_0x9559b1){const _0x27e158=_0x597d15;return this[_0x27e158(0x17b)][_0x27e158(0x174)](_0x50c9f0=>_0x50c9f0['id']===_0x9559b1)||null;}[_0x597d15(0x14c)](){const _0x52f477=_0x597d15;return Array[_0x52f477(0x14b)](this[_0x52f477(0x17b)]);}[_0x597d15(0x152)](){const _0x586068=_0x597d15;return this[_0x586068(0x14d)];}[_0x597d15(0x190)](_0x2c180b){const _0x69284b=_0x597d15;this[_0x69284b(0x14d)]=_0x2c180b;}[_0x597d15(0x15d)](_0x46229c,_0x49da7e=0x0){const _0x316f1b=_0x597d15;let _0x4d7070=!0x1;for(let _0x6609af=_0x49da7e;_0x6609af<this[_0x316f1b(0x17b)][_0x316f1b(0x154)];_0x6609af++)this[_0x316f1b(0x16d)](_0x46229c,_0x6609af)&&(_0x4d7070=!0x0);return _0x4d7070;}[_0x597d15(0x19a)](_0x28c7d0,_0x142467){const _0x3d73c7=_0x597d15,_0x4d3dda=_0x28c7d0[_0x3d73c7(0x159)](_0x3d73c7(0x18c),{});return _0x28c7d0[_0x3d73c7(0x187)](_0x4d3dda,_0x142467),this[_0x3d73c7(0x13e)]=_0x4d3dda,_0x4d3dda;}[_0x597d15(0x157)](_0x3f6d62){const _0x498fec=_0x597d15;if(!this[_0x498fec(0x17b)][_0x498fec(0x154)]||this[_0x498fec(0x13e)])return;const _0x34d312=this[_0x498fec(0x17b)][0x0][_0x498fec(0x144)][_0x498fec(0x15e)],_0x336591=this[_0x498fec(0x19a)](_0x3f6d62,_0x34d312);for(const _0xfe1fb4 of this[_0x498fec(0x17b)])_0xfe1fb4[_0x498fec(0x160)][_0x498fec(0x17a)]||_0x3f6d62[_0x498fec(0x148)](_0xfe1fb4[_0x498fec(0x160)],_0x336591,_0x498fec(0x166));this[_0x498fec(0x15d)](_0x3f6d62);}[_0x597d15(0x178)](_0xd9d4bf,_0x1ca2a8){const _0x35ecdc=_0x597d15;let _0x2c0b81=!0x1;const {inserted:_0x148575,removed:_0x106c1c,moved:_0x44208a}=this[_0x35ecdc(0x146)][_0x35ecdc(0x15a)](_0x1ca2a8);if(_0x44208a[_0x35ecdc(0x154)]&&(this[_0x35ecdc(0x13e)]=_0x44208a[0x0]),_0x148575[_0x35ecdc(0x154)]){if(_0x148575[_0x35ecdc(0x154)]>0x1||this[_0x35ecdc(0x13e)]&&_0x148575[_0x35ecdc(0x173)](_0x5162e5=>_0x5162e5!==this[_0x35ecdc(0x13e)])){const _0x36d71d=_0xd9d4bf[_0x35ecdc(0x159)](_0x35ecdc(0x18c),{}),_0xe1941b=[];this[_0x35ecdc(0x13e)]&&_0xe1941b[_0x35ecdc(0x19b)](this[_0x35ecdc(0x13e)]),_0xe1941b[_0x35ecdc(0x19b)](..._0x148575),_0xd9d4bf[_0x35ecdc(0x148)](_0x36d71d,_0xe1941b[0x0],_0x35ecdc(0x179));for(const _0x346b11 of _0xe1941b)_0xd9d4bf[_0x35ecdc(0x197)](_0xd9d4bf[_0x35ecdc(0x151)](_0x346b11),_0xd9d4bf[_0x35ecdc(0x14a)](_0x36d71d,_0x35ecdc(0x166))),_0xd9d4bf[_0x35ecdc(0x142)](_0x346b11);this[_0x35ecdc(0x13e)]=_0x36d71d,this[_0x35ecdc(0x15d)](_0xd9d4bf),_0x2c0b81=!0x0;}else this[_0x35ecdc(0x13e)]=_0x148575[0x0];}if(_0x106c1c[_0x35ecdc(0x154)]&&_0x35ecdc(0x145)===this[_0x35ecdc(0x13e)]?.[_0x35ecdc(0x15e)][_0x35ecdc(0x16a)]){for(const _0x62d3b2 of this[_0x35ecdc(0x17b)])_0xd9d4bf[_0x35ecdc(0x142)](_0x62d3b2[_0x35ecdc(0x144)]),_0x2c0b81=!0x0;this[_0x35ecdc(0x17b)]=[],this[_0x35ecdc(0x13e)]=null;}return _0x2c0b81;}[_0x597d15(0x181)](_0x2b59c4,_0x1c195b){const _0x42769f=_0x597d15;let _0x18cb20=!0x1;const _0x3c77bb=this[_0x42769f(0x16f)][_0x42769f(0x170)][_0x42769f(0x1a0)](_0x42769f(0x168)),{inserted:_0x5bd45e,moved:_0x35b783}=this[_0x42769f(0x193)][_0x42769f(0x15a)](_0x1c195b);for(const _0x1ed230 of[..._0x35b783,..._0x5bd45e]){const _0x1be4da=_0x1ed230[_0x42769f(0x16e)](_0x42769f(0x18f)),_0x146891=this[_0x42769f(0x198)](_0x1be4da);_0x146891&&(_0x146891[_0x42769f(0x160)]=_0x1ed230),_(_0x2b59c4,_0x3c77bb,_0x1ed230)&&(_0x18cb20=!0x0);}return _0x18cb20;}[_0x597d15(0x13c)](_0xbcff22,_0x33ec6e){const _0x53a455=_0x597d15;let _0x3e8e4d=!0x1;const {removed:_0x5590c1,inserted:_0x361f8c,moved:_0x3b7e47}=this[_0x53a455(0x141)][_0x53a455(0x15a)](_0x33ec6e);for(const _0xa71a15 of _0x5590c1)this[_0x53a455(0x140)](_0xbcff22,_0xa71a15)&&(_0x3e8e4d=!0x0);for(const _0x25e9fd of _0x361f8c)this[_0x53a455(0x184)](_0xbcff22,_0x25e9fd)&&(_0x3e8e4d=!0x0);for(const _0x846258 of _0x3b7e47)this[_0x53a455(0x155)](_0xbcff22,_0x846258)&&(_0x3e8e4d=!0x0);return _0x3e8e4d;}[_0x597d15(0x18d)](_0x3abac1){const _0x17613a=_0x597d15;if(!this[_0x17613a(0x13e)])return!0x1;let _0x3430c9=!0x1;if(this[_0x17613a(0x13e)][_0x17613a(0x164)]!==this[_0x17613a(0x17b)][_0x17613a(0x154)]){const _0x32f4e=[];for(const _0x48666f of this[_0x17613a(0x13e)][_0x17613a(0x195)]()){const _0x527801=_0x48666f[_0x17613a(0x16e)](_0x17613a(0x18f));this[_0x17613a(0x198)](_0x527801)||(_0x32f4e[_0x17613a(0x161)](_0x48666f),_0x3430c9=!0x0);}for(const _0x5bbe5a of _0x32f4e)_0x3abac1[_0x17613a(0x142)](_0x5bbe5a);}const _0x5e43d5=new Set(),_0x5365de=[];for(const _0x1494d5 of this[_0x17613a(0x13e)][_0x17613a(0x195)]()){const _0x5e60a5=_0x1494d5[_0x17613a(0x16e)](_0x17613a(0x18f));_0x5e43d5[_0x17613a(0x149)](_0x5e60a5)?(_0x5365de[_0x17613a(0x161)](_0x1494d5),_0x3430c9=!0x0):_0x5e43d5[_0x17613a(0x180)](_0x5e60a5);}for(const _0x14ba58 of _0x5365de)_0x3abac1[_0x17613a(0x142)](_0x14ba58);return this[_0x17613a(0x13e)][_0x17613a(0x164)]||(_0x3abac1[_0x17613a(0x142)](this[_0x17613a(0x13e)]),this[_0x17613a(0x13e)]=null,_0x3430c9=!0x0),_0x3430c9;}[_0x597d15(0x184)](_0x59f807,_0x31cdd7){const _0x365f3e=_0x597d15;if(this[_0x365f3e(0x17b)][_0x365f3e(0x174)](_0x3e0139=>_0x3e0139[_0x365f3e(0x144)]===_0x31cdd7))return!0x1;let _0x5c70d7=!0x1;const _0x1a0304=_0x31cdd7[_0x365f3e(0x16e)](_0x365f3e(0x18f)),_0x293d24=this[_0x365f3e(0x17b)][_0x365f3e(0x17c)](_0x8aacd7=>_0x8aacd7['id']===_0x1a0304);-0x1!==_0x293d24&&(_0x59f807[_0x365f3e(0x142)](this[_0x365f3e(0x17b)][_0x293d24][_0x365f3e(0x144)]),this[_0x365f3e(0x17b)][_0x365f3e(0x162)](_0x293d24,0x1),_0x5c70d7=!0x0);let _0x3fe470=this[_0x365f3e(0x13e)]?function(_0x2e6efb,_0xa34c8a){const _0x3d461b=_0x365f3e;for(const _0x333bd2 of _0x2e6efb[_0x3d461b(0x195)]())if(_0x333bd2[_0x3d461b(0x16e)](_0x3d461b(0x18f))===_0xa34c8a)return _0x333bd2;return null;}(this[_0x365f3e(0x13e)],_0x1a0304):null;_0x3fe470||(_0x3fe470=_0x59f807[_0x365f3e(0x159)](_0x365f3e(0x13f),{'footnoteId':_0x1a0304}),this[_0x365f3e(0x13e)]&&(_0x59f807[_0x365f3e(0x148)](_0x3fe470,this[_0x365f3e(0x13e)],_0x365f3e(0x166)),_0x5c70d7=!0x0));const _0xe3532f={'id':_0x1a0304,'reference':_0x31cdd7,'definition':_0x3fe470},_0x3e8877=I(this[_0x365f3e(0x16f)][_0x365f3e(0x18b)],this[_0x365f3e(0x17b)],_0x31cdd7);this[_0x365f3e(0x17b)][_0x365f3e(0x162)](_0x3e8877,0x0,_0xe3532f);let _0x494311=_0x3e8877;return-0x1!==_0x293d24&&(_0x494311=Math[_0x365f3e(0x19c)](_0x3e8877,_0x293d24)),this[_0x365f3e(0x15d)](_0x59f807,_0x494311)&&(_0x5c70d7=!0x0),_0x5c70d7;}[_0x597d15(0x140)](_0xf0eb76,_0x1c47d5){const _0x3db561=_0x597d15,_0x16d838=this[_0x3db561(0x17b)][_0x3db561(0x17c)](_0x551359=>_0x551359['id']===_0x1c47d5);if(-0x1===_0x16d838)return!0x1;let _0x46c1f7=!0x1;const _0x51ee92=this[_0x3db561(0x17b)][_0x16d838];return _0x3db561(0x145)!==_0x51ee92[_0x3db561(0x160)][_0x3db561(0x15e)][_0x3db561(0x16a)]&&(_0xf0eb76[_0x3db561(0x142)](_0x51ee92[_0x3db561(0x160)]),_0x46c1f7=!0x0),this[_0x3db561(0x17b)][_0x3db561(0x162)](_0x16d838,0x1),this[_0x3db561(0x15d)](_0xf0eb76,_0x16d838)&&(_0x46c1f7=!0x0),_0x46c1f7;}[_0x597d15(0x155)](_0x1a3f5e,_0xa4f7e0){const _0x86e031=_0x597d15,_0x47541c=_0xa4f7e0[_0x86e031(0x16e)](_0x86e031(0x18f)),_0x1c47ac=this[_0x86e031(0x17b)][_0x86e031(0x17c)](_0x467a59=>_0x467a59['id']===_0x47541c),_0x444cb3=this[_0x86e031(0x17b)][_0x1c47ac];let _0x5c46dd=!0x1;_0x444cb3[_0x86e031(0x144)]=_0xa4f7e0,this[_0x86e031(0x17b)][_0x86e031(0x162)](_0x1c47ac,0x1);const _0x4bcf32=I(this[_0x86e031(0x16f)][_0x86e031(0x18b)],this[_0x86e031(0x17b)],_0xa4f7e0);return this[_0x86e031(0x17b)][_0x86e031(0x162)](_0x4bcf32,0x0,_0x444cb3),this[_0x86e031(0x15d)](_0x1a3f5e,Math[_0x86e031(0x19c)](_0x1c47ac,_0x4bcf32))&&(_0x5c46dd=!0x0),_0x5c46dd;}[_0x597d15(0x16d)](_0x462678,_0x4fd95b){const _0x31b197=_0x597d15;if(!this[_0x31b197(0x13e)])return!0x1;const _0x56f336=this[_0x31b197(0x17b)][_0x4fd95b];let _0x5d79e5;return _0x5d79e5=this[_0x31b197(0x14d)]?this[_0x31b197(0x14d)]({'footnote':_0x56f336,'container':this[_0x31b197(0x13e)],'digits':String(this[_0x31b197(0x17b)][_0x31b197(0x154)])[_0x31b197(0x154)],'value':_0x4fd95b+0x1}):String(_0x4fd95b+0x1),_0x56f336[_0x31b197(0x144)][_0x31b197(0x16e)](_0x31b197(0x194))!=_0x5d79e5&&(_0x462678[_0x31b197(0x172)](_0x31b197(0x194),_0x5d79e5,_0x56f336[_0x31b197(0x144)]),!0x0);}[_0x597d15(0x147)](_0x40f1c6){const _0x3eb80d=_0x597d15;if(!this[_0x3eb80d(0x13e)]||this[_0x3eb80d(0x17b)][_0x3eb80d(0x154)]<0x2)return!0x1;if(function(_0x544614,_0x54f872){const _0x142ab8=_0x3eb80d;if(_0x544614[_0x142ab8(0x154)]!==_0x54f872[_0x142ab8(0x154)])return!0x1;for(let _0x1cd6ef=0x0;_0x1cd6ef<_0x544614[_0x142ab8(0x154)];_0x1cd6ef++)if(_0x544614[_0x1cd6ef]!==_0x54f872[_0x1cd6ef])return!0x1;return!0x0;}(this[_0x3eb80d(0x17b)][_0x3eb80d(0x19f)](_0x20f681=>_0x20f681['id']),Array[_0x3eb80d(0x14b)](this[_0x3eb80d(0x13e)][_0x3eb80d(0x195)]())[_0x3eb80d(0x19f)](_0x9b98fb=>_0x9b98fb[_0x3eb80d(0x16e)](_0x3eb80d(0x18f)))))return!0x1;let _0x44ce7b=!0x1;for(let _0x415138=0x0;_0x415138<this[_0x3eb80d(0x17b)][_0x3eb80d(0x154)];_0x415138++){const _0x3fb03c=this[_0x3eb80d(0x17b)][_0x415138],_0x48ba7d=_0x40f1c6[_0x3eb80d(0x176)](_0x3fb03c[_0x3eb80d(0x160)]),_0xb1c21f=_0x40f1c6[_0x3eb80d(0x14a)](this[_0x3eb80d(0x13e)],_0x415138);_0x48ba7d[_0x3eb80d(0x163)](_0xb1c21f)||(_0x40f1c6[_0x3eb80d(0x197)](_0x40f1c6[_0x3eb80d(0x15f)](_0x3fb03c[_0x3eb80d(0x160)]),_0xb1c21f),_0x44ce7b=!0x0);}return _0x44ce7b;}[_0x597d15(0x13d)](_0xb47338){const _0x4e5a40=_0x597d15;if(!this[_0x4e5a40(0x17b)][_0x4e5a40(0x154)])return!0x1;const {model:_0x550c79}=this[_0x4e5a40(0x16f)];let _0x4efc06=!0x1;for(let _0x5edc33=0x0;_0x5edc33<this[_0x4e5a40(0x17b)][_0x4e5a40(0x154)]-0x1;_0x5edc33++){const _0x21be02=this[_0x4e5a40(0x17b)][_0x5edc33],_0x5a29b0=this[_0x4e5a40(0x17b)][_0x5edc33+0x1],_0x10879e=_0x550c79[_0x4e5a40(0x176)](_0x21be02[_0x4e5a40(0x144)]),_0x23d07e=_0x550c79[_0x4e5a40(0x176)](_0x5a29b0[_0x4e5a40(0x144)]);_0x4e5a40(0x17f)===_0x10879e[_0x4e5a40(0x150)](_0x23d07e)&&(this[_0x4e5a40(0x155)](_0xb47338,_0x21be02[_0x4e5a40(0x144)]),_0x5edc33=-0x1,_0x4efc06=!0x0);}return _0x4efc06;}}function _(_0x3de1ec,_0x1bf9db,_0x1eea40){const _0x28229e=_0x597d15;if(_0x1eea40[_0x28229e(0x164)])return!0x1;const _0x203071=_0x1bf9db?_0x28229e(0x14f):_0x28229e(0x153);return _0x3de1ec[_0x28229e(0x148)](_0x3de1ec[_0x28229e(0x159)](_0x203071),_0x1eea40),!0x0;}function I(_0x29e1b8,_0x45bef4,_0x5a8c81){const _0x44ab09=_0x597d15;if(0x0===_0x45bef4[_0x44ab09(0x154)])return 0x0;const _0x1f51cc=_0x29e1b8[_0x44ab09(0x176)](_0x5a8c81);for(let _0x2d6e21=0x0;_0x2d6e21<_0x45bef4[_0x44ab09(0x154)];_0x2d6e21++){const _0x8e72c0=_0x45bef4[_0x2d6e21],_0x11053=_0x29e1b8[_0x44ab09(0x176)](_0x8e72c0[_0x44ab09(0x144)]);if(_0x44ab09(0x179)===_0x1f51cc[_0x44ab09(0x150)](_0x11053))return _0x2d6e21;}const _0x218b22=_0x5a8c81[_0x44ab09(0x15e)];let _0x481870=-0x1;for(let _0xd9e23b=_0x45bef4[_0x44ab09(0x154)]-0x1;_0xd9e23b>=0x0;_0xd9e23b--)if(_0x45bef4[_0xd9e23b][_0x44ab09(0x144)][_0x44ab09(0x15e)]===_0x218b22){_0x481870=_0xd9e23b;break;}if(-0x1!==_0x481870)return _0x481870+0x1;const _0x10ef5c=_0x29e1b8[_0x44ab09(0x189)][_0x44ab09(0x19e)](),_0xaeb2bc=_0x10ef5c[_0x44ab09(0x167)](_0x218b22[_0x44ab09(0x16a)]),_0x1cc2bf=_0x10ef5c[_0xaeb2bc+0x1];if(_0x1cc2bf){for(let _0x43c2b6=0x0;_0x43c2b6<_0x45bef4[_0x44ab09(0x154)];_0x43c2b6++)if(_0x45bef4[_0x43c2b6][_0x44ab09(0x144)][_0x44ab09(0x15e)][_0x44ab09(0x16a)]===_0x1cc2bf)return _0x43c2b6;}return _0x45bef4[_0x44ab09(0x154)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0xe9d6ea,MenuBarMenuListItemButtonView as _0x8fc3ea}from'ckeditor5/src/ui.js';import{Plugin as _0x1e0ab1}from'ckeditor5/src/core.js';import{IconFootnote as _0x2cd6d5}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1e0ab1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2202dc}=this,{componentFactory:_0x3adcd5}=_0x2202dc['ui'];_0x3adcd5['add']('insertFootnote',E(_0x2202dc,_0xe9d6ea)),_0x3adcd5['add']('menuBar:insertFootnote',E(_0x2202dc,_0x8fc3ea)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x21c6e1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc6be56;for(const _0x30eba2 in _0x21c6e1){const _0x444cf6=_0x30eba2,_0x43e86c=_0x21c6e1[_0x444cf6];if('footnotesLicenseKeyValid'==_0x43e86c||'footnotesLicenseKeyInvalid'==_0x43e86c||'footnotesLicenseKeyExpired'==_0x43e86c||'footnotesLicenseKeyDomainLimit'==_0x43e86c||'footnotesLicenseKeyNotAllowed'==_0x43e86c||'footnotesLicenseKeyEvaluationLimit'==_0x43e86c||'footnotesLicenseKeyUsageLimit'==_0x43e86c){delete _0x21c6e1[_0x444cf6],_0xc6be56=_0x43e86c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xc6be56&&_0x21c6e1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xc6be56&&_0x21c6e1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xc6be56&&_0x21c6e1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xc6be56&&_0x21c6e1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xc6be56&&_0x21c6e1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xc6be56&&_0x21c6e1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0xa520ae,_0x4ea4a5){const _0x1c3ff4=_0xa520ae['commands']['get']('insertFootnote');return _0x53ec41=>{const {t:t}=_0x53ec41,_0x46b797=new _0x4ea4a5(_0x53ec41),_0x4ea27d=_0x46b797 instanceof _0x8fc3ea;return _0x46b797['bind']('isEnabled')['to'](_0x1c3ff4,'isEnabled'),_0x46b797['set']({'label':t(_0x4ea27d?'Footnote':'Insert\x20footnote'),'icon':_0x2cd6d5,'tooltip':!0x0}),_0x46b797['on']('execute',()=>{_0x1c3ff4['execute'](),_0xa520ae['editing']['view']['focus']();}),_0x46b797;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2cb184,_0x33a081){var _0x4b62b6=_0x4783,_0x1e1e5c=_0x2cb184();while(!![]){try{var _0x234043=-parseInt(_0x4b62b6(0x7c))/0x1*(-parseInt(_0x4b62b6(0x73))/0x2)+parseInt(_0x4b62b6(0x77))/0x3*(-parseInt(_0x4b62b6(0x78))/0x4)+parseInt(_0x4b62b6(0x7b))/0x5*(-parseInt(_0x4b62b6(0x76))/0x6)+-parseInt(_0x4b62b6(0x79))/0x7+-parseInt(_0x4b62b6(0x7d))/0x8+parseInt(_0x4b62b6(0x7a))/0x9+parseInt(_0x4b62b6(0x75))/0xa*(parseInt(_0x4b62b6(0x74))/0xb);if(_0x234043===_0x33a081)break;else _0x1e1e5c['push'](_0x1e1e5c['shift']());}catch(_0x2db458){_0x1e1e5c['push'](_0x1e1e5c['shift']());}}}(_0x455d,0x20e11));function _0x4783(_0x2020b4,_0x2d6ee4){var _0x455d9c=_0x455d();return _0x4783=function(_0x4783d3,_0xb4f8e1){_0x4783d3=_0x4783d3-0x73;var _0x2d9d09=_0x455d9c[_0x4783d3];return _0x2d9d09;},_0x4783(_0x2020b4,_0x2d6ee4);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0x455d(){var _0x4c7359=['16pCmuYb','1523984qccDqq','890JIkAMP','11KrOXic','6579730OHQNSU','6mNMLcu','222027LxVvvj','12jHNnAv','552622HsfEPV','299466EuExSQ','361115WGqSqn'];_0x455d=function(){return _0x4c7359;};return _0x455d();}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x346c2b=_0x16ff;function _0x16ff(_0x35cd70,_0x20b83b){const _0x29171e=_0x2917();return _0x16ff=function(_0x16ff2e,_0x34f63f){_0x16ff2e=_0x16ff2e-0x15d;let _0x2f6881=_0x29171e[_0x16ff2e];return _0x2f6881;},_0x16ff(_0x35cd70,_0x20b83b);}function _0x2917(){const _0x557b40=['type','clear','add','has','createRangeOn','$graveyard','getChanges','name','elementName','push','root','flat','position','_trackedElements','reset','nodeAfter','rootName','_model','attributes','691074PviFpU','11636wMOOUy','2411496kJrLzD','$text','get','28bPWecS','from','110SSknGL','_elementName','2248731krVloT','delete','_getElementKey','getElementKey','16BCpDwp','slice','remove','set','11632kGkIqF','getItems','length','1660AOhmvU','element','insert','96MRUxvv','154286rcJoWK','values','21876672TJsGEp'];_0x2917=function(){return _0x557b40;};return _0x2917();}(function(_0x1ed1b3,_0x89d5dd){const _0x5595d9=_0x16ff,_0x34d138=_0x1ed1b3();while(!![]){try{const _0x4b86db=-parseInt(_0x5595d9(0x187))/0x1*(-parseInt(_0x5595d9(0x16f))/0x2)+-parseInt(_0x5595d9(0x186))/0x3+-parseInt(_0x5595d9(0x169))/0x4*(-parseInt(_0x5595d9(0x16c))/0x5)+-parseInt(_0x5595d9(0x188))/0x6*(parseInt(_0x5595d9(0x15d))/0x7)+-parseInt(_0x5595d9(0x165))/0x8*(parseInt(_0x5595d9(0x161))/0x9)+-parseInt(_0x5595d9(0x15f))/0xa*(parseInt(_0x5595d9(0x170))/0xb)+parseInt(_0x5595d9(0x172))/0xc;if(_0x4b86db===_0x89d5dd)break;else _0x34d138['push'](_0x34d138['shift']());}catch(_0x6d09b8){_0x34d138['push'](_0x34d138['shift']());}}}(_0x2917,0xd0be6));export class ModelElementTracker{[_0x346c2b(0x184)];[_0x346c2b(0x160)];[_0x346c2b(0x163)];[_0x346c2b(0x180)]=new Map();constructor(_0x21ebe0,_0x2fbd59){const _0x3002ce=_0x346c2b;this[_0x3002ce(0x184)]=_0x21ebe0,this[_0x3002ce(0x160)]=_0x2fbd59[_0x3002ce(0x17b)],this[_0x3002ce(0x163)]=_0x2fbd59[_0x3002ce(0x164)];}[_0x346c2b(0x181)](){const _0x1a1d37=_0x346c2b;this[_0x1a1d37(0x180)][_0x1a1d37(0x174)]();}[_0x346c2b(0x179)](_0xc4e8be){const _0xc8434=_0x346c2b,_0x24a84a=new Set(),_0xbbb73b=new Map();for(const _0x5525f4 of _0xc4e8be){if(_0xc8434(0x16e)===_0x5525f4[_0xc8434(0x173)]&&_0xc8434(0x189)!==_0x5525f4[_0xc8434(0x17a)]&&_0x5525f4[_0xc8434(0x17f)][_0xc8434(0x182)]){const _0x6f7c45=this[_0xc8434(0x184)][_0xc8434(0x177)](_0x5525f4[_0xc8434(0x17f)][_0xc8434(0x182)]);for(const _0x61eab1 of _0x6f7c45[_0xc8434(0x16a)]()){if(!_0x61eab1['is'](_0xc8434(0x16d),this[_0xc8434(0x160)]))continue;const _0x5b1ade=this[_0xc8434(0x163)](_0x61eab1);_0xbbb73b[_0xc8434(0x176)](_0x5b1ade)||_0xbbb73b[_0xc8434(0x168)](_0x5b1ade,[]),_0xbbb73b[_0xc8434(0x18a)](_0x5b1ade)[_0xc8434(0x17c)](_0x61eab1);}}if(_0xc8434(0x167)===_0x5525f4[_0xc8434(0x173)]&&_0x5525f4[_0xc8434(0x17a)]===this[_0xc8434(0x160)]){const _0x8decd9=this[_0xc8434(0x163)]({'getAttribute':_0x3c2d28=>_0x5525f4[_0xc8434(0x185)][_0xc8434(0x18a)](_0x3c2d28)});_0x24a84a[_0xc8434(0x175)](_0x8decd9);}}for(const [_0x2bc2a8,_0x521db7]of this[_0xc8434(0x180)])_0xc8434(0x178)===_0x521db7[_0xc8434(0x17d)][_0xc8434(0x183)]&&_0x24a84a[_0xc8434(0x175)](_0x2bc2a8);for(const _0x511404 of _0x24a84a)this[_0xc8434(0x180)][_0xc8434(0x162)](_0x511404);for(const [_0x4732d6,_0xea9652]of _0xbbb73b)this[_0xc8434(0x180)][_0xc8434(0x168)](_0x4732d6,_0xea9652[_0xea9652[_0xc8434(0x16b)]-0x1]);const _0x41ee4a=new Set();for(const [_0x2657e1,_0x42992e]of _0xbbb73b)_0x24a84a[_0xc8434(0x176)](_0x2657e1)&&(_0x41ee4a[_0xc8434(0x175)](_0x42992e[0x0]),_0x42992e[_0xc8434(0x16b)]>0x1?_0xbbb73b[_0xc8434(0x168)](_0x2657e1,_0x42992e[_0xc8434(0x166)](0x1)):_0xbbb73b[_0xc8434(0x162)](_0x2657e1),_0x24a84a[_0xc8434(0x162)](_0x2657e1));return{'removed':Array[_0xc8434(0x15e)](_0x24a84a),'inserted':Array[_0xc8434(0x15e)](_0xbbb73b[_0xc8434(0x171)]())[_0xc8434(0x17e)](),'moved':Array[_0xc8434(0x15e)](_0x41ee4a)};}}
|