@ckeditor/ckeditor5-footnotes 47.4.0 → 47.5.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +10 -10
- 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 _0x2ed68a}from'ckeditor5/src/core.js';import{isWidget as _0xdadc05,toWidget as _0x3e8240,toWidgetEditable as _0x3ecac3}from'ckeditor5/src/widget.js';import{uid as _0x748a2c}from'ckeditor5/src/utils.js';import{PointerObserver as _0xdb65b8,ClickObserver as _0x5bcff3}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x570d5d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x51098b}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x2ed68a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x570d5d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa3a55}=this;_0xa3a55['config']['define']('footnotes.multiBlock',!0x0),_0xa3a55['commands']['add']('insertFootnote',new _0x51098b(_0xa3a55)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x50d15c){const _0x1e1225=_0x11098f([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]),_0x350c6d=0x47a28506,_0x5a8199=0x47a5fbce^_0x350c6d,_0x95aebd=window[_0x11098f([0x44,0x61,0x74,0x65])][_0x11098f([0x6e,0x6f,0x77])](),_0x29e97a=_0x50d15c[_0x11098f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fc575=new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x175b43=>{_0x29e97a[_0x11098f([0x6f,0x6e,0x63,0x65])](_0x11098f([0x72,0x65,0x61,0x64,0x79]),_0x175b43);}),_0x482ee2={[_0x11098f([0x6b,0x74,0x79])]:_0x11098f([0x45,0x43]),[_0x11098f([0x75,0x73,0x65])]:_0x11098f([0x73,0x69,0x67]),[_0x11098f([0x63,0x72,0x76])]:_0x11098f([0x50,0x2d,0x32,0x35,0x36]),[_0x11098f([0x78])]:_0x11098f([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]),[_0x11098f([0x79])]:_0x11098f([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]),[_0x11098f([0x61,0x6c,0x67])]:_0x11098f([0x45,0x53,0x32,0x35,0x36])},_0x4648db=_0x29e97a[_0x11098f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11098f([0x67,0x65,0x74])](_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xcbc8c5(){let _0x2fedad,_0x4e5fcf=null,_0x1c9277=null;try{if(_0x4648db==_0x11098f([0x47,0x50,0x4c]))return _0x11098f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fedad=_0x24242b(),!_0x2fedad)return _0x11098f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fedad[_0x11098f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c9277=_0x4097a4(_0x2fedad[_0x11098f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fedad[_0x11098f([0x6a,0x74,0x69])])),await _0x6201e5()?_0x195df3()?_0x59e1df()?_0x11098f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22b8a5()?(_0x2fedad[_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11098f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e5fcf=_0x43fa81(_0x11098f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ad388()):_0x11098f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11098f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11098f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11098f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59e1df(){const _0x19d61a=[_0x11098f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11098f([0x74,0x72,0x69,0x61,0x6c])][_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fedad[_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x95aebd/0x3e8:0xe10*_0x5a8199;return _0x2fedad[_0x11098f([0x65,0x78,0x70])]<_0x19d61a;}function _0x195df3(){const _0x134ccb=_0x2fedad[_0x11098f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x134ccb&&(!!_0x134ccb[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11098f([0x2a]))||!!_0x134ccb[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11098f([0x46,0x4f,0x4f])));}function _0x22b8a5(){const _0x5b64a2=_0x2fedad[_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b64a2||0x0==_0x5b64a2[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58c263}=new URL(window[_0x11098f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b64a2[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c263))return!0x0;const _0x3c7a1d=_0x58c263[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e]));return _0x5b64a2[_0x11098f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2df5ba=>_0x2df5ba[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11098f([0x2a])))[_0x11098f([0x6d,0x61,0x70])](_0x2e1a85=>_0x2e1a85[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e])))[_0x11098f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x366049=>_0x366049[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c7a1d[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11098f([0x6d,0x61,0x70])](_0x2b214c=>Array(_0x3c7a1d[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b214c[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11098f([0x66,0x69,0x6c,0x6c])](_0x2b214c[0x0]===_0x11098f([0x2a])?_0x11098f([0x2a]):'')[_0x11098f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b214c))[_0x11098f([0x73,0x6f,0x6d,0x65])](_0x31297d=>_0x3c7a1d[_0x11098f([0x65,0x76,0x65,0x72,0x79])]((_0x1a5bf1,_0xdfe746)=>_0x31297d[_0xdfe746]===_0x1a5bf1||_0x31297d[_0xdfe746]===_0x11098f([0x2a])));}function _0x3ad388(){return _0x4e5fcf&&_0x1c9277?new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48a3b1,_0x2c9054)=>{_0x4e5fcf[_0x11098f([0x74,0x68,0x65,0x6e])](_0x48a3b1,_0x2c9054),_0x1c9277[_0x11098f([0x74,0x68,0x65,0x6e])](_0x2a3740=>{_0x2a3740!=_0x11098f([0x56,0x61,0x6c,0x69,0x64])&&_0x48a3b1(_0x2a3740);},_0x2c9054);}):_0x4e5fcf||_0x1c9277||_0x11098f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4097a4(_0x36de96,_0x54767d){return new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x387c84=>{if(_0x18fd7e())return _0x387c84(_0x11098f([0x56,0x61,0x6c,0x69,0x64]));_0x3583c8(),_0x29e97a[_0x11098f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11098f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13a24c=!0x1;const _0x271292=_0x748a2c();function _0x598266(_0x41bc81){return!!_0x41bc81&&(typeof _0x41bc81===_0x11098f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41bc81===_0x11098f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41bc81[_0x11098f([0x74,0x68,0x65,0x6e])]===_0x11098f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41bc81[_0x11098f([0x63,0x61,0x74,0x63,0x68])]===_0x11098f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2257e2(_0x422fe1){_0x1c9c7c(_0x422fe1)[_0x11098f([0x74,0x68,0x65,0x6e])](_0x316a8c=>{if(!_0x316a8c||_0x316a8c[_0x11098f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11098f([0x6f,0x6b]))return _0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x469b01(_0x2337ca(_0x271292+_0x54767d))!=_0x316a8c[_0x11098f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11098f([0x56,0x61,0x6c,0x69,0x64]);})[_0x11098f([0x74,0x68,0x65,0x6e])](_0x3673f8=>(_0x31c313(),_0x3673f8),()=>{const _0x2092da=_0x3a633a();return null==_0x2092da?(_0x31c313(),_0x11098f([0x56,0x61,0x6c,0x69,0x64])):_0x11098f(_0x95aebd-_0x2092da>(0x63ae0106^_0x350c6d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11098f([0x74,0x68,0x65,0x6e])](_0x387c84)[_0x11098f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x387c84(_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54de88=0x47946b86^_0x350c6d;function _0x31c313(){const _0x1dce9b=_0x11098f([0x6c,0x6c,0x63,0x74,0x2d])+_0x469b01(_0x2337ca(_0x36de96)),_0x581702=_0x2c1f36(_0x469b01(window[_0x11098f([0x4d,0x61,0x74,0x68])][_0x11098f([0x63,0x65,0x69,0x6c])](_0x95aebd/_0x54de88)));window[_0x11098f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11098f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dce9b,_0x581702);}function _0x3a633a(){const _0x44fba2=_0x11098f([0x6c,0x6c,0x63,0x74,0x2d])+_0x469b01(_0x2337ca(_0x36de96)),_0x13765c=window[_0x11098f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11098f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44fba2);return _0x13765c?window[_0x11098f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c1f36(_0x13765c),0x10)*_0x54de88:null;}function _0x1c9c7c(_0x2cbe1d){return new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5687f4,_0x53a1e3)=>{_0x2cbe1d[_0x11098f([0x74,0x68,0x65,0x6e])](_0x5687f4,_0x53a1e3),window[_0x11098f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53a1e3,0x47a351c6^_0x350c6d);});}}_0x29e97a[_0x11098f([0x6f,0x6e])](_0x11098f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52eece,_0x3eb4f0)=>{if(_0x3eb4f0[0x0]!=_0x36de96)return _0x387c84(_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3eb4f0[0x1]={..._0x3eb4f0[0x1],[_0x11098f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x271292};},{[_0x11098f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11098f([0x68,0x69,0x67,0x68])}),_0x29e97a[_0x11098f([0x6f,0x6e])](_0x11098f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3112cc=>{_0x598266(_0x3112cc[_0x11098f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13a24c=!0x0,_0x2257e2(_0x3112cc[_0x11098f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11098f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11098f([0x6c,0x6f,0x77])}),_0x3fc575[_0x11098f([0x74,0x68,0x65,0x6e])](()=>{_0x13a24c||_0x387c84(_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18fd7e(){return _0x29e97a[_0x11098f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11098f([0x76,0x69,0x65,0x77])][_0x11098f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11098f([0x61,0x75,0x74,0x6f]);}function _0x3583c8(){_0x29e97a[_0x11098f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11098f([0x76,0x69,0x65,0x77])][_0x11098f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11098f([0x61,0x75,0x74,0x6f]);}}function _0x43fa81(_0x53455a){const _0x49bc41=[new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2563e1=>setTimeout(_0x2563e1,0x47abbbca^_0x350c6d)),_0x3fc575[_0x11098f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x470b63=>{let _0x4f9e00=0x0;_0x29e97a[_0x11098f([0x6d,0x6f,0x64,0x65,0x6c])][_0x11098f([0x6f,0x6e])](_0x11098f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c1e93,_0x51ff96)=>{_0x51ff96[0x0][_0x11098f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f9e00++,_0x4f9e00==(0x47a280ee^_0x350c6d)&&(_0x470b63(),_0x3c1e93[_0x11098f([0x6f,0x66,0x66])]());});}))];return window[_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11098f([0x72,0x61,0x63,0x65])](_0x49bc41)[_0x11098f([0x74,0x68,0x65,0x6e])](()=>_0x53455a);}async function _0x236f41(){await _0x3fc575,_0x29e97a[_0x11098f([0x6d,0x6f,0x64,0x65,0x6c])][_0x11098f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1960f6,_0x29e97a[_0x11098f([0x6d,0x6f,0x64,0x65,0x6c])][_0x11098f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1960f6,_0x29e97a[_0x11098f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11098f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fd4a3(_0x302ea3){const _0x4358b7=_0x156aef();_0x29e97a[_0x4358b7]=_0x11098f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x302ea3,_0x302ea3!=_0x11098f([0x56,0x61,0x6c,0x69,0x64])&&_0x236f41();}function _0x156aef(){const _0x53a785=window[_0x11098f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11098f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11098f([0x6e,0x6f,0x77])]())[_0x11098f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11098f([0x2e]),'');let _0x4edceb=_0x11098f([0x75]);for(let _0x191a93=0x0;_0x191a93<_0x53a785[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x191a93+=0x2){let _0x1550e6=window[_0x11098f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53a785[_0x11098f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x191a93,_0x191a93+0x2));_0x1550e6>=_0x1e1225[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1550e6-=_0x1e1225[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4edceb+=_0x1e1225[_0x1550e6];}return _0x4edceb;}function _0x24242b(){const _0x55f935=_0x4648db[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e]));if(0x3!=_0x55f935[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4aedae(_0x55f935[0x1]);function _0x4aedae(_0x4fe4dc){const _0x3401c5=_0x3fec02(_0x4fe4dc);return _0x3401c5&&_0x3d460e()?_0x3401c5:null;function _0x3d460e(){const _0x33de38=_0x3401c5[_0x11098f([0x6a,0x74,0x69])],_0x545a46=window[_0x11098f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33de38[_0x11098f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33de38[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48e490={..._0x3401c5,[_0x11098f([0x6a,0x74,0x69])]:_0x33de38[_0x11098f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33de38[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48e490[_0x11098f([0x76,0x63])],_0x2337ca(_0x48e490)==_0x545a46;}}}async function _0x6201e5(){let _0x17dfd2=!0x0;try{const _0x4898c1=_0x4648db[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e])),[_0x558987,_0x3df8b5,_0x164b3b]=_0x4898c1;return _0x26eb33(_0x558987),await _0x346b43(_0x558987,_0x3df8b5,_0x164b3b),_0x17dfd2;}catch{return!0x1;}function _0x26eb33(_0x44f061){const _0x236377=_0x3fec02(_0x44f061);_0x236377&&_0x236377[_0x11098f([0x61,0x6c,0x67])]==_0x11098f([0x45,0x53,0x32,0x35,0x36])||(_0x17dfd2=!0x1);}async function _0x346b43(_0x5b55a3,_0x87f80b,_0x38d897){const _0x34c8c0=window[_0x11098f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11098f([0x66,0x72,0x6f,0x6d])](_0x1fa8d2(_0x38d897),_0x26f8ee=>_0x26f8ee[_0x11098f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x82e3fa=new window[(_0x11098f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11098f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b55a3+_0x11098f([0x2e])+_0x87f80b),_0x986ce1=window[_0x11098f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11098f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x986ce1)return;const _0x14664a=await _0x986ce1[_0x11098f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11098f([0x6a,0x77,0x6b]),_0x482ee2,{[_0x11098f([0x6e,0x61,0x6d,0x65])]:_0x11098f([0x45,0x43,0x44,0x53,0x41]),[_0x11098f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11098f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11098f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x986ce1[_0x11098f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11098f([0x6e,0x61,0x6d,0x65])]:_0x11098f([0x45,0x43,0x44,0x53,0x41]),[_0x11098f([0x68,0x61,0x73,0x68])]:{[_0x11098f([0x6e,0x61,0x6d,0x65])]:_0x11098f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14664a,_0x34c8c0,_0x82e3fa)||(_0x17dfd2=!0x1);}}function _0x3fec02(_0x5eaaa0){return _0x5eaaa0[_0x11098f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11098f([0x65,0x79]))?JSON[_0x11098f([0x70,0x61,0x72,0x73,0x65])](_0x1fa8d2(_0x5eaaa0)):null;}function _0x1fa8d2(_0x27a990){return window[_0x11098f([0x61,0x74,0x6f,0x62])](_0x27a990[_0x11098f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11098f([0x2b]))[_0x11098f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11098f([0x2f])));}function _0x2337ca(_0x1aa2d0){let _0x53a0ba=0x1505;function _0x2f9c5f(_0x1b731c){for(let _0x8c921e=0x0;_0x8c921e<_0x1b731c[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8c921e++){const _0x4bc3e2=_0x1b731c[_0x11098f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8c921e);_0x53a0ba=(_0x53a0ba<<0x5)+_0x53a0ba+_0x4bc3e2,_0x53a0ba&=_0x53a0ba;}}function _0x3b0bdd(_0x23a993){Array[_0x11098f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23a993)?_0x23a993[_0x11098f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b0bdd):_0x23a993&&typeof _0x23a993==_0x11098f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11098f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23a993)[_0x11098f([0x73,0x6f,0x72,0x74])]()[_0x11098f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x146e51,_0x2fe637])=>{_0x2f9c5f(_0x146e51),_0x3b0bdd(_0x2fe637);}):_0x2f9c5f(window[_0x11098f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23a993));}return _0x3b0bdd(_0x1aa2d0),_0x53a0ba>>>0x0;}function _0x469b01(_0x2488d2){return _0x2488d2[_0x11098f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11098f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11098f([0x30]));}function _0x2c1f36(_0x5b7aa6){return _0x5b7aa6[_0x11098f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11098f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11098f([0x6a,0x6f,0x69,0x6e])]('');}function _0x1960f6(){}function _0x11098f(_0x50e821){return _0x50e821['map'](_0x1c3f2e=>String['fromCharCode'](_0x1c3f2e))['join']('');}_0x4fd4a3(await _0xcbc8c5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10f201){const {plugins:_0x476838,editing:_0x305d61,model:_0x4026cc}=this['editor'],_0x37ad68=_0x476838['get'](_0x570d5d)['getFootnote'](_0x10f201);return!!_0x37ad68&&(_0x4026cc['change'](_0x5a08c7=>{_0x5a08c7['setSelection'](_0x5a08c7['createPositionAt'](_0x37ad68['definition'],'end'));}),_0x305d61['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5525fc){const {plugins:_0x4ef959,editing:_0x159bf0,model:_0x5afe6c}=this['editor'],_0x1835cd=_0x4ef959['get'](_0x570d5d)['getFootnote'](_0x5525fc);return!!_0x1835cd&&(_0x5afe6c['change'](_0x2fb833=>{_0x2fb833['setSelection'](_0x1835cd['reference'],'on');}),_0x159bf0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x33189f}=this['editor']['model'],_0x33566f=this['editor']['config']['get']('footnotes.multiBlock');_0x33189f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x33189f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x33189f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x33566f?_0x33189f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x33189f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x33189f['addChildCheck'](_0x4f1bf1=>{for(const _0x30df87 of _0x4f1bf1)if('footnoteDefinition'===_0x30df87['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x596481}=this,{conversion:_0x3ca7d8,editing:_0x511dcd}=_0x596481,{t:t}=_0x596481['locale'];_0x3ca7d8['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x78afe5,{writer:_0x59b1af,consumable:_0x4b25dc})=>{const _0x22adcc=_0x78afe5['getChild'](0x0);if(!_0x22adcc||!_0x22adcc['is']('element','a'))return null;const _0xc03631=_0x22adcc['getAttribute']('href')||'';if(!_0xc03631['startsWith']('#'))return null;const _0x1daea6=_0xc03631['replace'](/^#/,'');if(!_0x1daea6)return null;_0x4b25dc['consume'](_0x22adcc,{'name':!0x0,'attributes':['href']});for(const {item:_0x134ea2}of _0x511dcd['view']['createRangeIn'](_0x22adcc))_0x134ea2['is']('$textProxy')?_0x4b25dc['consume'](_0x134ea2['textNode'],{'name':!0x0}):_0x134ea2['is']('element')&&_0x4b25dc['consume'](_0x134ea2,{'name':!0x0});return _0x59b1af['createElement']('footnoteRef',{'footnoteId':_0x1daea6});}}),_0x3ca7d8['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4f3a69,{writer:_0x2d5b29})=>b(_0x4f3a69,_0x2d5b29)}),_0x3ca7d8['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x211396,{writer:_0x493e14})=>{const _0x588c35=_0x211396['getAttribute']('footnoteCounter');return _0x3e8240(b(_0x211396,_0x493e14),_0x493e14,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x588c35)});}});}['_defineDefinitionsConverters'](){const {editor:_0x9a76e2}=this,{t:t}=_0x9a76e2['locale'],{conversion:_0xc196f1}=_0x9a76e2;_0xc196f1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xc196f1['for']('upcast')['add'](_0x2976a8=>{_0x2976a8['on']('element:ol',(_0xf950af,_0x376aa0,_0x206285)=>{const _0x353880=_0x376aa0['viewItem'];if(!_0x353880['hasClass']('footnotes-list')||!_0x376aa0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x206285['consumable']['consume'](_0x353880,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4d57bf,modelCursor:_0x51185f}=_0x206285['convertChildren'](_0x376aa0['viewItem'],_0x376aa0['modelCursor']);_0x376aa0['modelRange']=_0x4d57bf,_0x376aa0['modelCursor']=_0x51185f;}),_0x2976a8['on']('element:hr',(_0x4d6035,_0x487902,_0x42da11)=>{const _0x31828f=_0x487902['viewItem'];_0x31828f['hasClass']('footnotes-divider')&&_0x487902['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x42da11['consumable']['consume'](_0x31828f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xc196f1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2c28d4,{writer:_0x402758})=>D(_0x402758)}),_0xc196f1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38cb46,{writer:_0x3af6bc})=>{const _0x5b799a=D(_0x3af6bc,{'data-footnotes-list-label':t('Footnotes')}),_0x50ba1b=_0x3e8240(_0x5b799a,_0x3af6bc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3af6bc['setCustomProperty']('footnotesDefinitions',!0x0,_0x50ba1b),_0x50ba1b;}});}['_defineDefinitionConverters'](){const {editor:_0x117368}=this,{conversion:_0x37513f,locale:_0x37c0ee}=_0x117368,_0xe8697a=_0x117368['config']['get']('footnotes.multiBlock');_0x37513f['for']('upcast')['add'](_0x3f0fd9=>{_0x3f0fd9['on']('element:li',(_0x27d144,_0x1f5bff,_0x5b47f6)=>{const _0x2c06bd=_0x1f5bff['viewItem'];if(!_0x2c06bd['hasClass']('footnote-definition')||!_0x2c06bd['getAttribute']('id'))return;const _0x55d755=_0x2c06bd['parent'];if(!_0x55d755['is']('element','ol')||!_0x55d755['hasClass']('footnotes-list'))return;if(!_0x5b47f6['consumable']['test'](_0x2c06bd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5c9afe=_0x5b47f6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2c06bd['getAttribute']('id')});if(!_0x5b47f6['safeInsert'](_0x5c9afe,_0x1f5bff['modelCursor']))return;_0x5b47f6['consumable']['consume'](_0x2c06bd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2d2949=Array['from'](_0x2c06bd['getChildren']())['find'](_0x591776=>_0x591776['is']('element')&&_0x591776['hasClass']('footnote-content'));for(const _0xa31f87 of _0x2c06bd['getChildren']())_0xa31f87['is']('element')&&(_0x5b47f6['consumable']['consume'](_0xa31f87,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5b47f6['consumable']['consume'](_0xa31f87,{'name':!0x0,'classes':'footnote-content'}));if(_0x2d2949){if(_0xe8697a)_0x5b47f6['convertChildren'](_0x2d2949,_0x5c9afe);else{const _0x52f507=_0x5b47f6['writer']['createElement']('footnoteInlineContent');_0x5b47f6['writer']['insert'](_0x52f507,_0x5c9afe),_0x5b47f6['convertChildren'](_0x2d2949,_0x52f507);}}_0x5b47f6['updateConversionResult'](_0x5c9afe,_0x1f5bff);});}),_0x37513f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c7282,{writer:_0x3e3e13})=>y(_0x1c7282,_0x3e3e13,_0x37c0ee,{'dataPipeline':!0x0})}),_0x37513f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x23f80d,{writer:_0x18fe39})=>y(_0x23f80d,_0x18fe39,_0x37c0ee)});}['_defineBogusParagraphConverters'](){const {editor:_0x35bc9e}=this,{conversion:_0x50acfa}=_0x35bc9e;_0x35bc9e['config']['get']('footnotes.multiBlock')?(_0x50acfa['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x50acfa['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35bc9e['model']['document'],'change:data',()=>{!function(_0xb509ac,_0x2fdc54){const _0x51cf8f=_0xb509ac['document']['differ'],_0x392c68=new Set();for(const _0x339c86 of _0x51cf8f['getChanges']()){const _0x36a184='attribute'==_0x339c86['type']?_0x339c86['range']['start']['parent']:_0x339c86['position']['parent'];_0x36a184['is']('element','footnoteDefinition')&&_0x392c68['add'](_0x36a184);}for(const _0x58305a of _0x392c68['values']()){const _0x2613b=Array['from'](_0x58305a['getChildren']())['filter'](_0x559d1=>v(_0x559d1,_0x2fdc54['mapper']));for(const _0x461943 of _0x2613b)_0x2fdc54['reconvertItem'](_0x461943);}}(_0x35bc9e['model'],_0x35bc9e['editing']);})):(_0x50acfa['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x50acfa['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x6b444d,{writer:_0x223c03})=>{const _0xa9b844=_0x223c03['createContainerElement']('span');return _0x223c03['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xa9b844),_0xa9b844;}}));}['_defineKeyboardHandlers'](){const {editor:_0x181537}=this,{editing:_0x2ccb0c,t:t}=_0x181537,_0x758fc2=_0x181537['model']['document']['selection'];_0x181537['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x181537['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2ccb0c['view']['document'],'enter',(_0x441b7d,_0x5450a3)=>{const _0x1b858f=function(_0x2985b2){const _0x528f3f=_0x2985b2['getSelectedElement']();if(_0x528f3f?.['is']('element','footnoteRef'))return _0x528f3f;return null;}(_0x758fc2);if(_0x1b858f){const _0x4bfaf1=_0x1b858f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4bfaf1),_0x5450a3['preventDefault'](),_0x441b7d['stop']();}},{'context':_0xdadc05});}['_defineClickHandlers'](){const {editor:_0x1c1d4e}=this,{editing:_0x32c836}=_0x1c1d4e;_0x1c1d4e['editing']['view']['addObserver'](_0xdb65b8),_0x1c1d4e['editing']['view']['addObserver'](_0x5bcff3);let _0x49878e=!0x1;this['listenTo'](_0x32c836['view']['document'],'pointerdown',(_0x55ff9e,_0x1a6143)=>{const {target:_0x427785}=_0x1a6143,_0x185e67=_0x32c836['view']['document']['selection'];_0x49878e=!!(_0x427785?.['is']('element','a')&&_0x427785['parent']?.['is']('element','sup')&&_0x427785['parent']['hasClass']('footnote'))&&_0x185e67['getSelectedElement']()===_0x427785['parent'];},{'priority':'high'}),this['listenTo'](_0x32c836['view']['document'],'click',(_0x25e580,_0x22e5f3)=>{const {target:_0x9d7d1b}=_0x22e5f3;if(!_0x9d7d1b?.['is']('element','a'))return;if(_0x9d7d1b['parent']?.['is']('element','sup')&&_0x9d7d1b['parent']['hasClass']('footnote')&&!_0x49878e)return void _0x22e5f3['preventDefault']();let _0x8d9251=_0x9d7d1b['getAttribute']('href');if(!_0x8d9251?.['startsWith']('#'))return;_0x8d9251=_0x8d9251['slice'](0x1);let _0x5194b3=!0x1;(_0x8d9251['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x8d9251['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x8d9251))&&(_0x5194b3=!0x0),_0x5194b3&&(_0x22e5f3['preventDefault'](),_0x25e580['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x4c9c84}={}){return(_0x4d78a6,{writer:_0x19cc6f})=>{if(!g(_0x4d78a6))return null;if(!_0x4c9c84)return _0x19cc6f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x36c7d4=_0x19cc6f['createContainerElement']('p');return _0x19cc6f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x36c7d4),_0x36c7d4;};}function g(_0x5a26ae){const {parent:_0x41870d}=_0x5a26ae;if(!_0x41870d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x41870d['childCount'])return!0x1;for(const _0x317f79 of _0x5a26ae['getAttributeKeys']())if(!_0x317f79['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x317f79)return!0x1;return!0x0;}function v(_0x3449f7,_0x286b38){if(!_0x3449f7['is']('element','paragraph'))return!0x1;const _0x4cf671=_0x286b38['toViewElement'](_0x3449f7);return!!_0x4cf671&&g(_0x3449f7)!==_0x4cf671['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x30aea7){return _0xdadc05(_0x30aea7)&&_0x30aea7['is']('containerElement')&&!!_0x30aea7['getCustomProperty']('footnotesDefinitions');}function D(_0x3abcce,_0x58bad1={}){const _0xba6dbf=_0x3abcce['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xf4899f=_0x3abcce['createContainerElement']('ol',{'class':'footnotes-list'},_0x3abcce['createSlot']());return _0x3abcce['createContainerElement']('div',{'class':'footnotes',..._0x58bad1},[_0xba6dbf,_0xf4899f]);}function b(_0x59a5dc,_0x234967){const _0x583298=_0x59a5dc['getAttribute']('footnoteId'),_0x30d721=_0x59a5dc['getAttribute']('footnoteCounter'),_0x222f61=_0x234967['createUIElement']('a',{'href':'#'+_0x583298},function(_0x3c4cb4){const _0x312b22=this['toDomElement'](_0x3c4cb4);return _0x312b22['textContent']=_0x30d721,_0x312b22;}),_0x3fd560=_0x234967['createContainerElement']('sup',{'id':'ref-'+_0x583298,'class':'footnote'},[_0x222f61]);return _0x3fd560['getFillerOffset']=()=>null,_0x3fd560;}function y(_0x1cd0b5,_0x5e65be,_0x5e6a65,{dataPipeline:_0x387fd1}={}){const {t:t}=_0x5e6a65,_0x29ac4c=_0x1cd0b5['getAttribute']('footnoteId'),_0x3a0379=_0x5e65be['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x29ac4c},function(_0x2cd07b){const _0xfa8cc2=this['toDomElement'](_0x2cd07b);return _0xfa8cc2['innerText']='^',_0xfa8cc2;}),_0x18e511=_0x387fd1?_0x5e65be['createContainerElement']('div',{'class':'footnote-content'}):_0x3ecac3(_0x5e65be['createEditableElement']('div',{'class':'footnote-content'}),_0x5e65be,{'label':t('Footnote\x20content.')});return _0x5e65be['insert'](_0x5e65be['createPositionAt'](_0x18e511,0x0),_0x5e65be['createSlot']()),_0x5e65be['createContainerElement']('li',{'class':'footnote-definition','id':_0x29ac4c},[_0x3a0379,_0x18e511]);}
|
|
23
|
+
import{Plugin as _0x75d960}from'ckeditor5/src/core.js';import{isWidget as _0x519126,toWidget as _0x55d868,toWidgetEditable as _0x3dd9c5}from'ckeditor5/src/widget.js';import{uid as _0x4c2a7c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x1245ac,ClickObserver as _0x8bc9e4}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1e8123}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x18f84b}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x75d960{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1e8123];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28323b}=this;_0x28323b['config']['define']('footnotes.multiBlock',!0x0),_0x28323b['commands']['add']('insertFootnote',new _0x18f84b(_0x28323b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x53e310){const _0x2f6837=_0x430c9e([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]),_0x1b8366=0x47a28506,_0x1c7b3c=0x47a505de^_0x1b8366,_0x34833a=window[_0x430c9e([0x44,0x61,0x74,0x65])][_0x430c9e([0x6e,0x6f,0x77])](),_0x5f0fe9=_0x53e310[_0x430c9e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1acfac=new window[(_0x430c9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xabb9ac=>{_0x5f0fe9[_0x430c9e([0x6f,0x6e,0x63,0x65])](_0x430c9e([0x72,0x65,0x61,0x64,0x79]),_0xabb9ac);}),_0x5e54b8={[_0x430c9e([0x6b,0x74,0x79])]:_0x430c9e([0x45,0x43]),[_0x430c9e([0x75,0x73,0x65])]:_0x430c9e([0x73,0x69,0x67]),[_0x430c9e([0x63,0x72,0x76])]:_0x430c9e([0x50,0x2d,0x32,0x35,0x36]),[_0x430c9e([0x78])]:_0x430c9e([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]),[_0x430c9e([0x79])]:_0x430c9e([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]),[_0x430c9e([0x61,0x6c,0x67])]:_0x430c9e([0x45,0x53,0x32,0x35,0x36])},_0x50d865=_0x5f0fe9[_0x430c9e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x430c9e([0x67,0x65,0x74])](_0x430c9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f01c2(){let _0x4fca90,_0x19e5be=null,_0x3d8986=null;try{if(_0x50d865==_0x430c9e([0x47,0x50,0x4c]))return _0x430c9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4fca90=_0x3e67a9(),!_0x4fca90)return _0x430c9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4fca90[_0x430c9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3d8986=_0x38db73(_0x4fca90[_0x430c9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4fca90[_0x430c9e([0x6a,0x74,0x69])])),await _0x2fea66()?_0x3a543b()?_0x2bce73()?_0x430c9e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xace585()?(_0x4fca90[_0x430c9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x430c9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x19e5be=_0x454fa9(_0x430c9e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ed113()):_0x430c9e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x430c9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x430c9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x430c9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2bce73(){const _0x2752a2=[_0x430c9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x430c9e([0x74,0x72,0x69,0x61,0x6c])][_0x430c9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fca90[_0x430c9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34833a/0x3e8:0xe10*_0x1c7b3c;return _0x4fca90[_0x430c9e([0x65,0x78,0x70])]<_0x2752a2;}function _0x3a543b(){const _0x30b519=_0x4fca90[_0x430c9e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30b519&&(!!_0x30b519[_0x430c9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430c9e([0x2a]))||!!_0x30b519[_0x430c9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430c9e([0x46,0x4f,0x4f])));}function _0xace585(){const _0xa19b32=_0x4fca90[_0x430c9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa19b32||0x0==_0xa19b32[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x550968}=new URL(window[_0x430c9e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa19b32[_0x430c9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x550968))return!0x0;const _0x2e4356=_0x550968[_0x430c9e([0x73,0x70,0x6c,0x69,0x74])](_0x430c9e([0x2e]));return _0xa19b32[_0x430c9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd17792=>_0xd17792[_0x430c9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430c9e([0x2a])))[_0x430c9e([0x6d,0x61,0x70])](_0x45c3d1=>_0x45c3d1[_0x430c9e([0x73,0x70,0x6c,0x69,0x74])](_0x430c9e([0x2e])))[_0x430c9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b3419=>_0x2b3419[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e4356[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x430c9e([0x6d,0x61,0x70])](_0x184e27=>Array(_0x2e4356[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x184e27[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x430c9e([0x66,0x69,0x6c,0x6c])](_0x184e27[0x0]===_0x430c9e([0x2a])?_0x430c9e([0x2a]):'')[_0x430c9e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x184e27))[_0x430c9e([0x73,0x6f,0x6d,0x65])](_0x57d1de=>_0x2e4356[_0x430c9e([0x65,0x76,0x65,0x72,0x79])]((_0x15e363,_0x41642d)=>_0x57d1de[_0x41642d]===_0x15e363||_0x57d1de[_0x41642d]===_0x430c9e([0x2a])));}function _0x4ed113(){return _0x19e5be&&_0x3d8986?new window[(_0x430c9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x245acb,_0x542ca7)=>{_0x19e5be[_0x430c9e([0x74,0x68,0x65,0x6e])](_0x245acb,_0x542ca7),_0x3d8986[_0x430c9e([0x74,0x68,0x65,0x6e])](_0x2e7d41=>{_0x2e7d41!=_0x430c9e([0x56,0x61,0x6c,0x69,0x64])&&_0x245acb(_0x2e7d41);},_0x542ca7);}):_0x19e5be||_0x3d8986||_0x430c9e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38db73(_0x42cacd,_0x239db6){return new window[(_0x430c9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb77141=>{if(_0x13cb03())return _0xb77141(_0x430c9e([0x56,0x61,0x6c,0x69,0x64]));_0x486287(),_0x5f0fe9[_0x430c9e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x430c9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x381163=!0x1;const _0x41e30=_0x4c2a7c();function _0x475d85(_0x43cafa){return!!_0x43cafa&&(typeof _0x43cafa===_0x430c9e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43cafa===_0x430c9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43cafa[_0x430c9e([0x74,0x68,0x65,0x6e])]===_0x430c9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43cafa[_0x430c9e([0x63,0x61,0x74,0x63,0x68])]===_0x430c9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x585ef9(_0x2b8328){_0x3463e1(_0x2b8328)[_0x430c9e([0x74,0x68,0x65,0x6e])](_0x18e40e=>{if(!_0x18e40e||_0x18e40e[_0x430c9e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x430c9e([0x6f,0x6b]))return _0x430c9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10401a(_0x3794af(_0x41e30+_0x239db6))!=_0x18e40e[_0x430c9e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x430c9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x430c9e([0x56,0x61,0x6c,0x69,0x64]);})[_0x430c9e([0x74,0x68,0x65,0x6e])](_0x41fafb=>(_0x392924(),_0x41fafb),()=>{const _0x4cd73e=_0x1da86f();return null==_0x4cd73e?(_0x392924(),_0x430c9e([0x56,0x61,0x6c,0x69,0x64])):_0x430c9e(_0x34833a-_0x4cd73e>(0x63ae0106^_0x1b8366)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x430c9e([0x74,0x68,0x65,0x6e])](_0xb77141)[_0x430c9e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb77141(_0x430c9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdfad=0x47946b86^_0x1b8366;function _0x392924(){const _0x33d5b3=_0x430c9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x10401a(_0x3794af(_0x42cacd)),_0x3a710b=_0x45a5e2(_0x10401a(window[_0x430c9e([0x4d,0x61,0x74,0x68])][_0x430c9e([0x63,0x65,0x69,0x6c])](_0x34833a/_0xdfad)));window[_0x430c9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x430c9e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33d5b3,_0x3a710b);}function _0x1da86f(){const _0x1bc07a=_0x430c9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x10401a(_0x3794af(_0x42cacd)),_0xf4575c=window[_0x430c9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x430c9e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bc07a);return _0xf4575c?window[_0x430c9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45a5e2(_0xf4575c),0x10)*_0xdfad:null;}function _0x3463e1(_0xf226f7){return new window[(_0x430c9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x493d99,_0x318463)=>{_0xf226f7[_0x430c9e([0x74,0x68,0x65,0x6e])](_0x493d99,_0x318463),window[_0x430c9e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x318463,0x47a351c6^_0x1b8366);});}}_0x5f0fe9[_0x430c9e([0x6f,0x6e])](_0x430c9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20f3fd,_0x5f5708)=>{if(_0x5f5708[0x0]!=_0x42cacd)return _0xb77141(_0x430c9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5f5708[0x1]={..._0x5f5708[0x1],[_0x430c9e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x41e30};},{[_0x430c9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x430c9e([0x68,0x69,0x67,0x68])}),_0x5f0fe9[_0x430c9e([0x6f,0x6e])](_0x430c9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb700d2=>{_0x475d85(_0xb700d2[_0x430c9e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x381163=!0x0,_0x585ef9(_0xb700d2[_0x430c9e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x430c9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x430c9e([0x6c,0x6f,0x77])}),_0x1acfac[_0x430c9e([0x74,0x68,0x65,0x6e])](()=>{_0x381163||_0xb77141(_0x430c9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x13cb03(){return _0x5f0fe9[_0x430c9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x430c9e([0x76,0x69,0x65,0x77])][_0x430c9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x430c9e([0x61,0x75,0x74,0x6f]);}function _0x486287(){_0x5f0fe9[_0x430c9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x430c9e([0x76,0x69,0x65,0x77])][_0x430c9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x430c9e([0x61,0x75,0x74,0x6f]);}}function _0x454fa9(_0x420f41){const _0x2babce=[new window[(_0x430c9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe6b18c=>setTimeout(_0xe6b18c,0x47abbbca^_0x1b8366)),_0x1acfac[_0x430c9e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x430c9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31addd=>{let _0x33c9e5=0x0;_0x5f0fe9[_0x430c9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x430c9e([0x6f,0x6e])](_0x430c9e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f70b4,_0x54da69)=>{_0x54da69[0x0][_0x430c9e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33c9e5++,_0x33c9e5==(0x47a280ee^_0x1b8366)&&(_0x31addd(),_0x4f70b4[_0x430c9e([0x6f,0x66,0x66])]());});}))];return window[_0x430c9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x430c9e([0x72,0x61,0x63,0x65])](_0x2babce)[_0x430c9e([0x74,0x68,0x65,0x6e])](()=>_0x420f41);}async function _0x22d4c6(){await _0x1acfac,_0x5f0fe9[_0x430c9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x430c9e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x149b91,_0x5f0fe9[_0x430c9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x430c9e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x149b91,_0x5f0fe9[_0x430c9e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x430c9e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c6329(_0x4f0369){const _0x309631=_0x45b74d();_0x5f0fe9[_0x309631]=_0x430c9e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f0369,_0x4f0369!=_0x430c9e([0x56,0x61,0x6c,0x69,0x64])&&_0x22d4c6();}function _0x45b74d(){const _0x44a1a6=window[_0x430c9e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x430c9e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x430c9e([0x6e,0x6f,0x77])]())[_0x430c9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x430c9e([0x2e]),'');let _0x6d36ff=_0x430c9e([0x75]);for(let _0x263344=0x0;_0x263344<_0x44a1a6[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x263344+=0x2){let _0x5c4db7=window[_0x430c9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44a1a6[_0x430c9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x263344,_0x263344+0x2));_0x5c4db7>=_0x2f6837[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c4db7-=_0x2f6837[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6d36ff+=_0x2f6837[_0x5c4db7];}return _0x6d36ff;}function _0x3e67a9(){const _0x918010=_0x50d865[_0x430c9e([0x73,0x70,0x6c,0x69,0x74])](_0x430c9e([0x2e]));if(0x3!=_0x918010[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x75d642(_0x918010[0x1]);function _0x75d642(_0x8772c0){const _0x23624b=_0x14b29d(_0x8772c0);return _0x23624b&&_0x54e397()?_0x23624b:null;function _0x54e397(){const _0x18bdca=_0x23624b[_0x430c9e([0x6a,0x74,0x69])],_0x4da07c=window[_0x430c9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18bdca[_0x430c9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18bdca[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x169151={..._0x23624b,[_0x430c9e([0x6a,0x74,0x69])]:_0x18bdca[_0x430c9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x18bdca[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x169151[_0x430c9e([0x76,0x63])],_0x3794af(_0x169151)==_0x4da07c;}}}async function _0x2fea66(){let _0x1495c7=!0x0;try{const _0x4782bf=_0x50d865[_0x430c9e([0x73,0x70,0x6c,0x69,0x74])](_0x430c9e([0x2e])),[_0x21c335,_0x1fe53c,_0x4ff2b0]=_0x4782bf;return _0x126e36(_0x21c335),await _0x1fc177(_0x21c335,_0x1fe53c,_0x4ff2b0),_0x1495c7;}catch{return!0x1;}function _0x126e36(_0x5a14d6){const _0x38d7c9=_0x14b29d(_0x5a14d6);_0x38d7c9&&_0x38d7c9[_0x430c9e([0x61,0x6c,0x67])]==_0x430c9e([0x45,0x53,0x32,0x35,0x36])||(_0x1495c7=!0x1);}async function _0x1fc177(_0x2754a0,_0x3889cd,_0x774cd6){const _0x5678be=window[_0x430c9e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x430c9e([0x66,0x72,0x6f,0x6d])](_0x265559(_0x774cd6),_0x472d72=>_0x472d72[_0x430c9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ca335=new window[(_0x430c9e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x430c9e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2754a0+_0x430c9e([0x2e])+_0x3889cd),_0x5d596f=window[_0x430c9e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x430c9e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d596f)return;const _0x4e3d11=await _0x5d596f[_0x430c9e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x430c9e([0x6a,0x77,0x6b]),_0x5e54b8,{[_0x430c9e([0x6e,0x61,0x6d,0x65])]:_0x430c9e([0x45,0x43,0x44,0x53,0x41]),[_0x430c9e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x430c9e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x430c9e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d596f[_0x430c9e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x430c9e([0x6e,0x61,0x6d,0x65])]:_0x430c9e([0x45,0x43,0x44,0x53,0x41]),[_0x430c9e([0x68,0x61,0x73,0x68])]:{[_0x430c9e([0x6e,0x61,0x6d,0x65])]:_0x430c9e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e3d11,_0x5678be,_0x5ca335)||(_0x1495c7=!0x1);}}function _0x14b29d(_0x36dcf7){return _0x36dcf7[_0x430c9e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x430c9e([0x65,0x79]))?JSON[_0x430c9e([0x70,0x61,0x72,0x73,0x65])](_0x265559(_0x36dcf7)):null;}function _0x265559(_0x36af23){return window[_0x430c9e([0x61,0x74,0x6f,0x62])](_0x36af23[_0x430c9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x430c9e([0x2b]))[_0x430c9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x430c9e([0x2f])));}function _0x3794af(_0xcc8e06){let _0x1e3c97=0x1505;function _0x7e651e(_0x482b47){for(let _0x1d8ec0=0x0;_0x1d8ec0<_0x482b47[_0x430c9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d8ec0++){const _0x329d77=_0x482b47[_0x430c9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d8ec0);_0x1e3c97=(_0x1e3c97<<0x5)+_0x1e3c97+_0x329d77,_0x1e3c97&=_0x1e3c97;}}function _0x264ae9(_0x22d772){Array[_0x430c9e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x22d772)?_0x22d772[_0x430c9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x264ae9):_0x22d772&&typeof _0x22d772==_0x430c9e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x430c9e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x22d772)[_0x430c9e([0x73,0x6f,0x72,0x74])]()[_0x430c9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a39d9,_0x3c2d97])=>{_0x7e651e(_0x5a39d9),_0x264ae9(_0x3c2d97);}):_0x7e651e(window[_0x430c9e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x22d772));}return _0x264ae9(_0xcc8e06),_0x1e3c97>>>0x0;}function _0x10401a(_0x3094be){return _0x3094be[_0x430c9e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x430c9e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x430c9e([0x30]));}function _0x45a5e2(_0x1d6d67){return _0x1d6d67[_0x430c9e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x430c9e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x430c9e([0x6a,0x6f,0x69,0x6e])]('');}function _0x149b91(){}function _0x430c9e(_0x5c9339){return _0x5c9339['map'](_0x193717=>String['fromCharCode'](_0x193717))['join']('');}_0x3c6329(await _0x1f01c2());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2a5c1c){const {plugins:_0x5896ca,editing:_0x44a6d2,model:_0x1b7153}=this['editor'],_0x243746=_0x5896ca['get'](_0x1e8123)['getFootnote'](_0x2a5c1c);return!!_0x243746&&(_0x1b7153['change'](_0x1f89bf=>{_0x1f89bf['setSelection'](_0x1f89bf['createPositionAt'](_0x243746['definition'],'end'));}),_0x44a6d2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x254a4d){const {plugins:_0x5294e9,editing:_0x1723cf,model:_0x141257}=this['editor'],_0x465afc=_0x5294e9['get'](_0x1e8123)['getFootnote'](_0x254a4d);return!!_0x465afc&&(_0x141257['change'](_0x30b622=>{_0x30b622['setSelection'](_0x465afc['reference'],'on');}),_0x1723cf['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x554829}=this['editor']['model'],_0x346d54=this['editor']['config']['get']('footnotes.multiBlock');_0x554829['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x554829['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x554829['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x346d54?_0x554829['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x554829['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x554829['addChildCheck'](_0x502f8a=>{for(const _0x345363 of _0x502f8a)if('footnoteDefinition'===_0x345363['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x117984}=this,{conversion:_0x13a66f,editing:_0x225de6}=_0x117984,{t:t}=_0x117984['locale'];_0x13a66f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x22ae84,{writer:_0x5d65e0,consumable:_0xbf9d8d})=>{const _0x1c5617=_0x22ae84['getChild'](0x0);if(!_0x1c5617||!_0x1c5617['is']('element','a'))return null;const _0x85115b=_0x1c5617['getAttribute']('href')||'';if(!_0x85115b['startsWith']('#'))return null;const _0x2ad1fe=_0x85115b['replace'](/^#/,'');if(!_0x2ad1fe)return null;_0xbf9d8d['consume'](_0x1c5617,{'name':!0x0,'attributes':['href']});for(const {item:_0x1b5f33}of _0x225de6['view']['createRangeIn'](_0x1c5617))_0x1b5f33['is']('$textProxy')?_0xbf9d8d['consume'](_0x1b5f33['textNode'],{'name':!0x0}):_0x1b5f33['is']('element')&&_0xbf9d8d['consume'](_0x1b5f33,{'name':!0x0});return _0x5d65e0['createElement']('footnoteRef',{'footnoteId':_0x2ad1fe});}}),_0x13a66f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x129a12,{writer:_0x22e3ba})=>b(_0x129a12,_0x22e3ba)}),_0x13a66f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1e9e7e,{writer:_0x5bdf1b})=>{const _0x3a67a9=_0x1e9e7e['getAttribute']('footnoteCounter');return _0x55d868(b(_0x1e9e7e,_0x5bdf1b),_0x5bdf1b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3a67a9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x398d3b}=this,{t:t}=_0x398d3b['locale'],{conversion:_0x1cb58c}=_0x398d3b;_0x1cb58c['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1cb58c['for']('upcast')['add'](_0x3756e5=>{_0x3756e5['on']('element:ol',(_0x2a8c4e,_0x2a424b,_0x3585aa)=>{const _0x4963ef=_0x2a424b['viewItem'];if(!_0x4963ef['hasClass']('footnotes-list')||!_0x2a424b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3585aa['consumable']['consume'](_0x4963ef,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x24c2ce,modelCursor:_0x46c49a}=_0x3585aa['convertChildren'](_0x2a424b['viewItem'],_0x2a424b['modelCursor']);_0x2a424b['modelRange']=_0x24c2ce,_0x2a424b['modelCursor']=_0x46c49a;}),_0x3756e5['on']('element:hr',(_0x52692a,_0x2e97d4,_0x4a5cdc)=>{const _0x515f7f=_0x2e97d4['viewItem'];_0x515f7f['hasClass']('footnotes-divider')&&_0x2e97d4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4a5cdc['consumable']['consume'](_0x515f7f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1cb58c['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xd4f2b1,{writer:_0x4a82b9})=>D(_0x4a82b9)}),_0x1cb58c['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2bc0c6,{writer:_0x1b940d})=>{const _0x9d95b2=D(_0x1b940d,{'data-footnotes-list-label':t('Footnotes')}),_0x37e110=_0x55d868(_0x9d95b2,_0x1b940d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1b940d['setCustomProperty']('footnotesDefinitions',!0x0,_0x37e110),_0x37e110;}});}['_defineDefinitionConverters'](){const {editor:_0x217511}=this,{conversion:_0x42396e,locale:_0x11af4b}=_0x217511,_0x344478=_0x217511['config']['get']('footnotes.multiBlock');_0x42396e['for']('upcast')['add'](_0x8b4068=>{_0x8b4068['on']('element:li',(_0x48e8af,_0x52f404,_0xd2590b)=>{const _0x37ad4e=_0x52f404['viewItem'];if(!_0x37ad4e['hasClass']('footnote-definition')||!_0x37ad4e['getAttribute']('id'))return;const _0x48a291=_0x37ad4e['parent'];if(!_0x48a291['is']('element','ol')||!_0x48a291['hasClass']('footnotes-list'))return;if(!_0xd2590b['consumable']['test'](_0x37ad4e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x11fa1b=_0xd2590b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x37ad4e['getAttribute']('id')});if(!_0xd2590b['safeInsert'](_0x11fa1b,_0x52f404['modelCursor']))return;_0xd2590b['consumable']['consume'](_0x37ad4e,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5d5e0c=Array['from'](_0x37ad4e['getChildren']())['find'](_0xf22874=>_0xf22874['is']('element')&&_0xf22874['hasClass']('footnote-content'));for(const _0x375e10 of _0x37ad4e['getChildren']())_0x375e10['is']('element')&&(_0xd2590b['consumable']['consume'](_0x375e10,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xd2590b['consumable']['consume'](_0x375e10,{'name':!0x0,'classes':'footnote-content'}));if(_0x5d5e0c){if(_0x344478)_0xd2590b['convertChildren'](_0x5d5e0c,_0x11fa1b);else{const _0x757414=_0xd2590b['writer']['createElement']('footnoteInlineContent');_0xd2590b['writer']['insert'](_0x757414,_0x11fa1b),_0xd2590b['convertChildren'](_0x5d5e0c,_0x757414);}}_0xd2590b['updateConversionResult'](_0x11fa1b,_0x52f404);});}),_0x42396e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c3d99,{writer:_0x2733b2})=>y(_0x3c3d99,_0x2733b2,_0x11af4b,{'dataPipeline':!0x0})}),_0x42396e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2bdf0c,{writer:_0x183660})=>y(_0x2bdf0c,_0x183660,_0x11af4b)});}['_defineBogusParagraphConverters'](){const {editor:_0x22bf3b}=this,{conversion:_0x4455c4}=_0x22bf3b;_0x22bf3b['config']['get']('footnotes.multiBlock')?(_0x4455c4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x4455c4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x22bf3b['model']['document'],'change:data',()=>{!function(_0x38cb9b,_0x5a4f11){const _0x2b992d=_0x38cb9b['document']['differ'],_0x4e31a1=new Set();for(const _0x46aad5 of _0x2b992d['getChanges']()){const _0x56f7f5='attribute'==_0x46aad5['type']?_0x46aad5['range']['start']['parent']:_0x46aad5['position']['parent'];_0x56f7f5['is']('element','footnoteDefinition')&&_0x4e31a1['add'](_0x56f7f5);}for(const _0x5b6c7f of _0x4e31a1['values']()){const _0x3204ce=Array['from'](_0x5b6c7f['getChildren']())['filter'](_0x376338=>v(_0x376338,_0x5a4f11['mapper']));for(const _0xfc045 of _0x3204ce)_0x5a4f11['reconvertItem'](_0xfc045);}}(_0x22bf3b['model'],_0x22bf3b['editing']);})):(_0x4455c4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x4455c4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x6c87b2,{writer:_0x1bfc74})=>{const _0x350f67=_0x1bfc74['createContainerElement']('span');return _0x1bfc74['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x350f67),_0x350f67;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5ecf67}=this,{editing:_0x498311,t:t}=_0x5ecf67,_0x3601f1=_0x5ecf67['model']['document']['selection'];_0x5ecf67['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5ecf67['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x498311['view']['document'],'enter',(_0x59dfbe,_0x2cc60d)=>{const _0x57ef96=function(_0x3d5b5a){const _0x298b74=_0x3d5b5a['getSelectedElement']();if(_0x298b74?.['is']('element','footnoteRef'))return _0x298b74;return null;}(_0x3601f1);if(_0x57ef96){const _0x1bfcf7=_0x57ef96['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1bfcf7),_0x2cc60d['preventDefault'](),_0x59dfbe['stop']();}},{'context':_0x519126});}['_defineClickHandlers'](){const {editor:_0x41d3a2}=this,{editing:_0x36da1b}=_0x41d3a2;_0x41d3a2['editing']['view']['addObserver'](_0x1245ac),_0x41d3a2['editing']['view']['addObserver'](_0x8bc9e4);let _0x280560=!0x1;this['listenTo'](_0x36da1b['view']['document'],'pointerdown',(_0x1f0fcb,_0x28376f)=>{const {target:_0x5d70ef}=_0x28376f,_0x49cb84=_0x36da1b['view']['document']['selection'];_0x280560=!!(_0x5d70ef?.['is']('element','a')&&_0x5d70ef['parent']?.['is']('element','sup')&&_0x5d70ef['parent']['hasClass']('footnote'))&&_0x49cb84['getSelectedElement']()===_0x5d70ef['parent'];},{'priority':'high'}),this['listenTo'](_0x36da1b['view']['document'],'click',(_0x44cbd9,_0x445f2b)=>{const {target:_0x216e48}=_0x445f2b;if(!_0x216e48?.['is']('element','a'))return;if(_0x216e48['parent']?.['is']('element','sup')&&_0x216e48['parent']['hasClass']('footnote')&&!_0x280560)return void _0x445f2b['preventDefault']();let _0x204394=_0x216e48['getAttribute']('href');if(!_0x204394?.['startsWith']('#'))return;_0x204394=_0x204394['slice'](0x1);let _0x4f178d=!0x1;(_0x204394['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x204394['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x204394))&&(_0x4f178d=!0x0),_0x4f178d&&(_0x445f2b['preventDefault'](),_0x44cbd9['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xd5bd9f}={}){return(_0x5d34bf,{writer:_0x353aac})=>{if(!g(_0x5d34bf))return null;if(!_0xd5bd9f)return _0x353aac['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x51723e=_0x353aac['createContainerElement']('p');return _0x353aac['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x51723e),_0x51723e;};}function g(_0x212afd){const {parent:_0x199d80}=_0x212afd;if(!_0x199d80?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x199d80['childCount'])return!0x1;for(const _0x3d6344 of _0x212afd['getAttributeKeys']())if(!_0x3d6344['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3d6344)return!0x1;return!0x0;}function v(_0x56be9e,_0x19bf59){if(!_0x56be9e['is']('element','paragraph'))return!0x1;const _0x258a68=_0x19bf59['toViewElement'](_0x56be9e);return!!_0x258a68&&g(_0x56be9e)!==_0x258a68['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x31f2d3){return _0x519126(_0x31f2d3)&&_0x31f2d3['is']('containerElement')&&!!_0x31f2d3['getCustomProperty']('footnotesDefinitions');}function D(_0x175a81,_0x520ed0={}){const _0x34c185=_0x175a81['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x90552c=_0x175a81['createContainerElement']('ol',{'class':'footnotes-list'},_0x175a81['createSlot']());return _0x175a81['createContainerElement']('div',{'class':'footnotes',..._0x520ed0},[_0x34c185,_0x90552c]);}function b(_0x457fd9,_0x48fdb2){const _0x13a98b=_0x457fd9['getAttribute']('footnoteId'),_0x6faf6a=_0x457fd9['getAttribute']('footnoteCounter'),_0x188dae=_0x48fdb2['createUIElement']('a',{'href':'#'+_0x13a98b},function(_0x42f127){const _0x71fa3=this['toDomElement'](_0x42f127);return _0x71fa3['textContent']=_0x6faf6a,_0x71fa3;}),_0x24ade1=_0x48fdb2['createContainerElement']('sup',{'id':'ref-'+_0x13a98b,'class':'footnote'},[_0x188dae]);return _0x24ade1['getFillerOffset']=()=>null,_0x24ade1;}function y(_0x30b1ea,_0x1b987a,_0x1d983f,{dataPipeline:_0x105011}={}){const {t:t}=_0x1d983f,_0x5cdc61=_0x30b1ea['getAttribute']('footnoteId'),_0xb05e2e=_0x1b987a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5cdc61},function(_0x215dd3){const _0x402fad=this['toDomElement'](_0x215dd3);return _0x402fad['innerText']='^',_0x402fad;}),_0x3d6357=_0x105011?_0x1b987a['createContainerElement']('div',{'class':'footnote-content'}):_0x3dd9c5(_0x1b987a['createEditableElement']('div',{'class':'footnote-content'}),_0x1b987a,{'label':t('Footnote\x20content.')});return _0x1b987a['insert'](_0x1b987a['createPositionAt'](_0x3d6357,0x0),_0x1b987a['createSlot']()),_0x1b987a['createContainerElement']('li',{'class':'footnote-definition','id':_0x5cdc61},[_0xb05e2e,_0x3d6357]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5631(){const _0xc92184=['324wSzuNE','getFootnotesDefinitionsObjectElement','model','1046243FWglEq','isInteger','_updateFootnotesCounters','setAttribute','476931xVTDpN','1974NsKziO','16tXVRPr','isEnabled','plugins','401896fXdXXq','1808010UGrdaY','getAttribute','902900aAgpYo','value','511045zpFCah','execute','footnotesListStart','refresh','get','change','20BvFQzm','30BwrxNl'];_0x5631=function(){return _0xc92184;};return _0x5631();}const _0x5ee5cf=_0x37fd;(function(_0x9da810,_0x111477){const _0x2a74b1=_0x37fd,_0x12d01a=_0x9da810();while(!![]){try{const _0x26a051=parseInt(_0x2a74b1(0xed))/0x1+parseInt(_0x2a74b1(0xe4))/0x2*(parseInt(_0x2a74b1(0xdc))/0x3)+parseInt(_0x2a74b1(0xe8))/0x4+-parseInt(_0x2a74b1(0xeb))/0x5+parseInt(_0x2a74b1(0xdb))/0x6*(parseInt(_0x2a74b1(0xe3))/0x7)+parseInt(_0x2a74b1(0xe5))/0x8*(-parseInt(_0x2a74b1(0xe9))/0x9)+parseInt(_0x2a74b1(0xda))/0xa*(-parseInt(_0x2a74b1(0xdf))/0xb);if(_0x26a051===_0x111477)break;else _0x12d01a['push'](_0x12d01a['shift']());}catch(_0x2589e2){_0x12d01a['push'](_0x12d01a['shift']());}}}(_0x5631,0x45df2));function _0x37fd(_0x50299e,_0x1ff981){const _0x563191=_0x5631();return _0x37fd=function(_0x37fd89,_0x24859b){_0x37fd89=_0x37fd89-0xda;let _0xc02357=_0x563191[_0x37fd89];return _0xc02357;},_0x37fd(_0x50299e,_0x1ff981);}import{Command as _0x4605f6}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x271efa}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4605f6{[_0x5ee5cf(0xf0)](){const _0x1ba21b=_0x5ee5cf,{editor:_0x2be97e}=this,_0x16d1b2=_0x2be97e[_0x1ba21b(0xe7)][_0x1ba21b(0xf1)](_0x271efa)[_0x1ba21b(0xdd)]();this[_0x1ba21b(0xe6)]=!!_0x16d1b2,this[_0x1ba21b(0xec)]=_0x16d1b2?.[_0x1ba21b(0xea)](_0x1ba21b(0xef))??null;}[_0x5ee5cf(0xee)]({value:_0x1216ce}){const _0x15b122=_0x5ee5cf,{editor:_0x44b2df}=this,_0x337939=_0x44b2df[_0x15b122(0xe7)][_0x15b122(0xf1)](_0x271efa),_0x44f71a=_0x337939[_0x15b122(0xdd)]();_0x44f71a&&Number[_0x15b122(0xe0)](_0x1216ce)&&_0x44b2df[_0x15b122(0xde)][_0x15b122(0xf2)](_0x679b4c=>{const _0x5d5e0c=_0x15b122;_0x679b4c[_0x5d5e0c(0xe2)](_0x5d5e0c(0xef),_0x1216ce,_0x44f71a),_0x337939[_0x5d5e0c(0xe1)](_0x679b4c);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x125ed3=_0x6686;(function(_0x2111c8,_0x4771a9){const _0x5bd29c=_0x6686,_0x505345=_0x2111c8();while(!![]){try{const _0x5849e1=-parseInt(_0x5bd29c(0x1a0))/0x1+-parseInt(_0x5bd29c(0x1a4))/0x2+parseInt(_0x5bd29c(0x1af))/0x3+parseInt(_0x5bd29c(0x19d))/0x4+parseInt(_0x5bd29c(0x19e))/0x5*(-parseInt(_0x5bd29c(0x19a))/0x6)+parseInt(_0x5bd29c(0x1a5))/0x7+-parseInt(_0x5bd29c(0x1a9))/0x8;if(_0x5849e1===_0x4771a9)break;else _0x505345['push'](_0x505345['shift']());}catch(_0x4d6a04){_0x505345['push'](_0x505345['shift']());}}}(_0x45ad,0x5a576));import{Command as _0x2f107a}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x527590}from'../footnotespropertiesconfig.js';function _0x45ad(){const _0x250437=['change','68894JkxVTL','2943864babbdA','isEnabled','_updateFootnotesCounters','get','5127160fVUJDp','getFootnotesDefinitionsObjectElement','value','getAttribute','footnotesListStyle','plugins','1988775yuUYDv','6heXVDT','model','setAttribute','2379176Hmkjug','1017885IYapku','includes','429314QWgQmA','refresh','execute'];_0x45ad=function(){return _0x250437;};return _0x45ad();}import{FootnotesTracker as _0x465a9a}from'../../footnotestracker.js';function _0x6686(_0x45fccb,_0x5c0b58){const _0x45ad3d=_0x45ad();return _0x6686=function(_0x66862a,_0x4a6f81){_0x66862a=_0x66862a-0x19a;let _0x350cbf=_0x45ad3d[_0x66862a];return _0x350cbf;},_0x6686(_0x45fccb,_0x5c0b58);}export class FootnotesStyleCommand extends _0x2f107a{[_0x125ed3(0x1a1)](){const _0x1adc41=_0x125ed3,{editor:_0x150966}=this,_0x300448=_0x150966[_0x1adc41(0x1ae)][_0x1adc41(0x1a8)](_0x465a9a)[_0x1adc41(0x1aa)]();this[_0x1adc41(0x1a6)]=!!_0x300448,this[_0x1adc41(0x1ab)]=_0x300448?.[_0x1adc41(0x1ac)](_0x1adc41(0x1ad))??null;}[_0x125ed3(0x1a2)]({value:_0x3534d8}){const _0x444a46=_0x125ed3,{editor:_0x3aebc4}=this,_0x18b5a1=_0x3aebc4[_0x444a46(0x1ae)][_0x444a46(0x1a8)](_0x465a9a),_0x1c32d3=_0x18b5a1[_0x444a46(0x1aa)]();_0x1c32d3&&_0x527590[_0x444a46(0x19f)](_0x3534d8)&&_0x3aebc4[_0x444a46(0x19b)][_0x444a46(0x1a3)](_0x3f19b8=>{const _0x2e111f=_0x444a46;_0x3f19b8[_0x2e111f(0x19c)](_0x2e111f(0x1ad),_0x3534d8,_0x1c32d3),_0x18b5a1[_0x2e111f(0x1a7)](_0x3f19b8);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xad6e33=_0x5945;(function(_0x18b864,_0x537378){const _0x4c849b=_0x5945,_0xdff5e0=_0x18b864();while(!![]){try{const _0x157156=-parseInt(_0x4c849b(0x12c))/0x1*(-parseInt(_0x4c849b(0x126))/0x2)+parseInt(_0x4c849b(0x128))/0x3*(-parseInt(_0x4c849b(0x124))/0x4)+-parseInt(_0x4c849b(0x11f))/0x5+-parseInt(_0x4c849b(0x11e))/0x6*(-parseInt(_0x4c849b(0x120))/0x7)+-parseInt(_0x4c849b(0x12b))/0x8*(-parseInt(_0x4c849b(0x11c))/0x9)+-parseInt(_0x4c849b(0x129))/0xa*(parseInt(_0x4c849b(0x12a))/0xb)+parseInt(_0x4c849b(0x11d))/0xc;if(_0x157156===_0x537378)break;else _0xdff5e0['push'](_0xdff5e0['shift']());}catch(_0x12e432){_0xdff5e0['push'](_0xdff5e0['shift']());}}}(_0x5430,0xa917f));export const FOOTNOTES_DEFINITIONS_STYLES=[_0xad6e33(0x121),_0xad6e33(0x125),_0xad6e33(0x11b),_0xad6e33(0x123),_0xad6e33(0x127),_0xad6e33(0x12d),_0xad6e33(0x11a),_0xad6e33(0x122)];function _0x5945(_0x237f71,_0x35a1d4){const _0x543027=_0x5430();return _0x5945=function(_0x594551,_0x5d9fe1){_0x594551=_0x594551-0x11a;let _0x2f5811=_0x543027[_0x594551];return _0x2f5811;},_0x5945(_0x237f71,_0x35a1d4);}function _0x5430(){const _0x18bfc3=['3119303EYzImG','159592umOvcW','5939TnjuFk','upper-alpha','lower-roman','lower-latin','252vPLwKl','23078388mrsHFd','1767168TCodmi','4872800XBridl','21SuunOZ','decimal','upper-roman','upper-latin','1492QiqSVM','decimal-leading-zero','226IvtPJe','lower-alpha','9933ctaYwn','40HnbJOc'];_0x5430=function(){return _0x18bfc3;};return _0x5430();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbfb6dc=_0x4b39;(function(_0xce5699,_0xb59de2){const _0x4eed3b=_0x4b39,_0xea3c07=_0xce5699();while(!![]){try{const _0x2a852f=parseInt(_0x4eed3b(0xd7))/0x1*(-parseInt(_0x4eed3b(0x86))/0x2)+parseInt(_0x4eed3b(0x9a))/0x3*(parseInt(_0x4eed3b(0x8c))/0x4)+-parseInt(_0x4eed3b(0x8e))/0x5*(parseInt(_0x4eed3b(0x7d))/0x6)+parseInt(_0x4eed3b(0xb8))/0x7+parseInt(_0x4eed3b(0x94))/0x8*(parseInt(_0x4eed3b(0xa7))/0x9)+-parseInt(_0x4eed3b(0x9f))/0xa+parseInt(_0x4eed3b(0xcb))/0xb*(parseInt(_0x4eed3b(0xca))/0xc);if(_0x2a852f===_0xb59de2)break;else _0xea3c07['push'](_0xea3c07['shift']());}catch(_0xa93cc0){_0xea3c07['push'](_0xea3c07['shift']());}}}(_0x5b32,0xef93b));import{Plugin as _0x307304}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x424b41}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x20b4d9}from'./commands/footnotesstartcommand.js';function _0x4b39(_0x765394,_0x118ed8){const _0x5b3288=_0x5b32();return _0x4b39=function(_0x4b39ba,_0x17706a){_0x4b39ba=_0x4b39ba-0x78;let _0x5bd7b5=_0x5b3288[_0x4b39ba];return _0x5bd7b5;},_0x4b39(_0x765394,_0x118ed8);}import{FootnotesTracker as _0x362386}from'../footnotestracker.js';import{FootnotesEditing as _0x317dba}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x307304{static get[_0xbfb6dc(0xc5)](){const _0x23acde=_0xbfb6dc;return _0x23acde(0xa2);}static get[_0xbfb6dc(0xc1)](){return[_0x317dba,_0x362386];}static get[_0xbfb6dc(0x9b)](){return!0x0;}static get[_0xbfb6dc(0xb6)](){return!0x0;}[_0xbfb6dc(0xd6)](){const _0x26151f=_0xbfb6dc,{editor:_0x29719f}=this;_0x29719f[_0x26151f(0xa8)][_0x26151f(0xb2)](_0x26151f(0xc2),_0x26151f(0xc6)),_0x29719f[_0x26151f(0xa8)][_0x26151f(0xb2)](_0x26151f(0xc3),0x1),_0x29719f[_0x26151f(0x7c)][_0x26151f(0x87)](_0x26151f(0x89),new _0x424b41(_0x29719f)),_0x29719f[_0x26151f(0x7c)][_0x26151f(0x87)](_0x26151f(0xa6),new _0x20b4d9(_0x29719f)),this[_0x26151f(0x7e)](),this[_0x26151f(0xb5)](),this[_0x26151f(0x99)](),this[_0x26151f(0xdc)]();}[_0xbfb6dc(0x7e)](){const _0x427cd8=_0xbfb6dc,{editor:_0x111faa}=this,{schema:_0x2cab00}=_0x111faa[_0x427cd8(0xd8)];_0x2cab00[_0x427cd8(0x7b)](_0x427cd8(0x95),{'allowAttributes':[_0x427cd8(0xc4),_0x427cd8(0x90)]});}[_0xbfb6dc(0xb5)](){const _0x5798b1=_0xbfb6dc,{editor:_0xd3ed61}=this,{conversion:_0x2bc7e6,model:_0x11e4b0}=_0xd3ed61,{schema:_0x33c75f}=_0x11e4b0;_0x2bc7e6[_0x5798b1(0xa0)](_0x5798b1(0xbf))[_0x5798b1(0x87)](_0x932acd=>{const _0x23719d=_0x5798b1;_0x932acd['on'](_0x23719d(0xbc),(_0x1d31c0,_0x3aab12,_0x1aeda0)=>{const _0x18c3db=_0x23719d,_0x495b76=_0x3aab12[_0x18c3db(0x8f)],_0x138a4a=_0x3aab12[_0x18c3db(0xbd)]?.[_0x18c3db(0x93)];_0x495b76[_0x18c3db(0x8b)](_0x18c3db(0xc0))&&_0x138a4a?.['is'](_0x18c3db(0xa3),_0x18c3db(0x95))&&(function(_0x24de0d,_0x20db9c,_0x595185,_0x503bcc){const _0xf9ed73=_0x18c3db;if(!_0x503bcc[_0xf9ed73(0xcd)](_0x20db9c,_0xf9ed73(0x90)))return;let _0x4e4bb4=0x1;const _0x17ca80=_0x595185[_0xf9ed73(0xa5)][_0xf9ed73(0x92)](_0x24de0d,{'attributes':_0xf9ed73(0xd2)});if(_0x17ca80){const _0x3ff0cf=Number[_0xf9ed73(0xdb)](_0x24de0d[_0xf9ed73(0xaa)](_0xf9ed73(0xd2)),0xa);Number[_0xf9ed73(0xbb)](_0x3ff0cf)||(_0x4e4bb4=_0x3ff0cf);}!_0x17ca80&&_0x20db9c[_0xf9ed73(0xcf)](_0xf9ed73(0x90))||_0x595185[_0xf9ed73(0xab)][_0xf9ed73(0xcc)](_0xf9ed73(0x90),_0x4e4bb4,_0x20db9c);}(_0x495b76,_0x138a4a,_0x1aeda0,_0x33c75f),function(_0x82b4f4,_0x552516,_0x3dbc9e,_0x44d6cb){const _0x45d7d4=_0x18c3db;if(!_0x44d6cb[_0x45d7d4(0xcd)](_0x552516,_0x45d7d4(0xc4)))return;let _0x4c4425=_0x45d7d4(0xc6),_0x3cee42=!0x1;if(_0x3dbc9e[_0x45d7d4(0xa5)][_0x45d7d4(0x92)](_0x82b4f4,{'attributes':_0x45d7d4(0xce)})){const _0x1052c6={0x1:_0x45d7d4(0xc6),'a':_0x45d7d4(0x82),'A':_0x45d7d4(0x9e),'i':_0x45d7d4(0xd1),'I':_0x45d7d4(0xd4)}[_0x82b4f4[_0x45d7d4(0xaa)](_0x45d7d4(0xce))];_0x1052c6&&(_0x4c4425=_0x1052c6),_0x3cee42=!0x0;}_0x3dbc9e[_0x45d7d4(0xa5)][_0x45d7d4(0x92)](_0x82b4f4,{'styles':_0x45d7d4(0xa4)})&&(_0x4c4425=function(_0x29a221){const _0x4cbc3d=_0x45d7d4;switch(_0x29a221){case _0x4cbc3d(0x82):return _0x4cbc3d(0xae);case _0x4cbc3d(0x9e):return _0x4cbc3d(0xb4);default:return _0x29a221;}}(_0x82b4f4[_0x45d7d4(0xd3)](_0x45d7d4(0xa4))),_0x3cee42=!0x0),!_0x3cee42&&_0x552516[_0x45d7d4(0xcf)](_0x45d7d4(0xc4))||_0x3dbc9e[_0x45d7d4(0xab)][_0x45d7d4(0xcc)](_0x45d7d4(0xc4),_0x4c4425,_0x552516);}(_0x495b76,_0x138a4a,_0x1aeda0,_0x33c75f));});}),_0x2bc7e6[_0x5798b1(0xa0)](_0x5798b1(0x91))[_0x5798b1(0x87)](_0x16f783=>{const _0x309730=_0x5798b1;_0x16f783['on'](_0x309730(0x9d),(_0xc1899d,_0x34847b,_0x3bd73d)=>{const _0x13c5b8=_0x309730;if(!_0x3bd73d[_0x13c5b8(0xa5)][_0x13c5b8(0x92)](_0x34847b[_0x13c5b8(0x84)],_0xc1899d[_0x13c5b8(0xdd)]))return;const _0x4d2519=M(_0x34847b[_0x13c5b8(0x84)],_0x3bd73d[_0x13c5b8(0xb9)]),{attributeNewValue:_0x3332f7}=_0x34847b;null==_0x3332f7||0x1===_0x3332f7?_0x3bd73d[_0x13c5b8(0xab)][_0x13c5b8(0xaf)](_0x13c5b8(0xd2),_0x4d2519):_0x3bd73d[_0x13c5b8(0xab)][_0x13c5b8(0xcc)](_0x13c5b8(0xd2),String(_0x3332f7),_0x4d2519);}),_0x16f783['on'](_0x309730(0x78),(_0x21db54,_0x3cbfde,_0x559974)=>{const _0x1d57a6=_0x309730;if(!_0x559974[_0x1d57a6(0xa5)][_0x1d57a6(0x92)](_0x3cbfde[_0x1d57a6(0x84)],_0x21db54[_0x1d57a6(0xdd)]))return;const _0x6c5df1=M(_0x3cbfde[_0x1d57a6(0x84)],_0x559974[_0x1d57a6(0xb9)]),{attributeNewValue:_0x2844d2}=_0x3cbfde;_0x2844d2&&_0x1d57a6(0xc6)!==_0x2844d2?_0x559974[_0x1d57a6(0xab)][_0x1d57a6(0xd0)](_0x1d57a6(0xa4),_0x2844d2,_0x6c5df1):_0x559974[_0x1d57a6(0xab)][_0x1d57a6(0xd9)](_0x1d57a6(0xa4),_0x6c5df1);});});}[_0xbfb6dc(0xdc)](){const _0x2243ff=_0xbfb6dc,{editor:_0x46966b}=this,{model:_0x3b4a6a}=_0x46966b,_0x50d917=_0x46966b[_0x2243ff(0xb7)][_0x2243ff(0xbe)](_0x362386),_0xb437b8=this[_0x2243ff(0x81)](),_0xe4c547=this[_0x2243ff(0x8a)]();_0x3b4a6a[_0x2243ff(0x80)][_0x2243ff(0xda)](_0x3312c5=>{const _0x543c85=_0x2243ff,_0x168354=_0x3b4a6a[_0x543c85(0x80)][_0x543c85(0xd5)][_0x543c85(0x85)]();let _0xf5647e=!0x1;for(const _0x3d41aa of _0x168354){if(_0x543c85(0xc8)!==_0x3d41aa[_0x543c85(0xce)]||_0x543c85(0x8d)===_0x3d41aa[_0x543c85(0xdd)])continue;const _0x41a105=_0x3b4a6a[_0x543c85(0xb3)](_0x3d41aa[_0x543c85(0x96)][_0x543c85(0x98)]);for(const _0xeb19cd of _0x41a105[_0x543c85(0xc9)]())_0xeb19cd['is'](_0x543c85(0xa3),_0x543c85(0x95))&&(!_0xeb19cd[_0x543c85(0xcf)](_0x543c85(0x90))&&_0x3b4a6a[_0x543c85(0x97)][_0x543c85(0xcd)](_0xeb19cd,_0x543c85(0x90))&&(_0x3312c5[_0x543c85(0xcc)](_0x543c85(0x90),_0xe4c547,_0xeb19cd),_0xf5647e=!0x0),!_0xeb19cd[_0x543c85(0xcf)](_0x543c85(0xc4))&&_0x3b4a6a[_0x543c85(0x97)][_0x543c85(0xcd)](_0xeb19cd,_0x543c85(0xc4))&&(_0x3312c5[_0x543c85(0xcc)](_0x543c85(0xc4),_0xb437b8,_0xeb19cd),_0xf5647e=!0x0));}return _0xf5647e&&_0x50d917[_0x543c85(0xad)](_0x3312c5),_0xf5647e;});}[_0xbfb6dc(0x99)](){const _0x59fc3c=_0xbfb6dc,{editor:_0x10b1d9}=this;_0x10b1d9[_0x59fc3c(0xb7)][_0x59fc3c(0xbe)](_0x362386)[_0x59fc3c(0xc7)](_0x32fae5=>this[_0x59fc3c(0x9c)](_0x32fae5));}[_0xbfb6dc(0x81)](){const _0x35918f=_0xbfb6dc;return this[_0x35918f(0xde)][_0x35918f(0xa8)][_0x35918f(0xbe)](_0x35918f(0xc2));}[_0xbfb6dc(0x8a)](){const _0x1a9e26=_0xbfb6dc;return this[_0x1a9e26(0xde)][_0x1a9e26(0xa8)][_0x1a9e26(0xbe)](_0x1a9e26(0xc3));}[_0xbfb6dc(0x9c)]({container:_0x5b164f,value:_0x3739c7,digits:_0x333ab7}){const _0x169d1a=_0xbfb6dc,_0x2d78e0=_0x5b164f[_0x169d1a(0xaa)](_0x169d1a(0xc4)),_0x17b1a1=_0x5b164f[_0x169d1a(0xaa)](_0x169d1a(0x90)),_0x5a5d7a=Math[_0x169d1a(0x83)](_0x3739c7)+(_0x17b1a1??0x1)-0x1;switch(_0x2d78e0){case _0x169d1a(0xb0):return function(_0x570bf9,_0x2e9845){const _0x3b1f19=_0x169d1a;return String(_0x570bf9)[_0x3b1f19(0x88)](_0x2e9845,'0');}(_0x5a5d7a,Math[_0x169d1a(0xb1)](0x2,_0x333ab7));case _0x169d1a(0x82):case _0x169d1a(0xae):return N(_0x5a5d7a,!0x1);case _0x169d1a(0x9e):case _0x169d1a(0xb4):return N(_0x5a5d7a,!0x0);case _0x169d1a(0xd1):return X(_0x5a5d7a,!0x1);case _0x169d1a(0xd4):return X(_0x5a5d7a,!0x0);default:return String(_0x5a5d7a);}}}function M(_0x58fd5e,_0x1b51dd){const _0x4b1a6f=_0xbfb6dc,_0x36d9ac=_0x1b51dd[_0x4b1a6f(0xba)](_0x58fd5e);return Array[_0x4b1a6f(0x7f)](_0x36d9ac[_0x4b1a6f(0xa9)]())[_0x4b1a6f(0x7a)](_0x21369c=>_0x21369c['is'](_0x4b1a6f(0xa3),'ol')&&_0x21369c[_0x4b1a6f(0x8b)](_0x4b1a6f(0xc0)));}function N(_0x4f77e7,_0x3d4a39){const _0x535a94=_0xbfb6dc;let _0x412f80='',_0x5d48a8=_0x4f77e7;for(;_0x5d48a8>0x0;){const _0x5320ef=(_0x5d48a8-0x1)%0x1a;_0x412f80=String[_0x535a94(0xac)](0x61+_0x5320ef)+_0x412f80,_0x5d48a8=Math[_0x535a94(0x83)]((_0x5d48a8-0x1)/0x1a);}return _0x3d4a39?_0x412f80[_0x535a94(0xa1)]():_0x412f80;}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 _0x5b32(){const _0x26c2db=['removeStyle','registerPostFixer','parseInt','_definePostfixer','name','editor','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','find','extend','commands','2388yBnGvr','_defineSchema','from','document','_getDefaultListStyle','lower-alpha','floor','item','getChanges','46lQpDuw','add','padStart','footnotesStyle','_getDefaultStartIndex','hasClass','28AuUOMK','$text','5275QiJPst','viewItem','footnotesListStart','downcast','consume','parent','6936izkgpz','footnotesDefinitions','position','schema','nodeAfter','_defineFormatter','394737oJXSlv','isOfficialPlugin','_formatFootnoteListValue','attribute:footnotesListStart:footnotesDefinitions','upper-alpha','15785370LhZugj','for','toUpperCase','FootnotesPropertiesEditing','element','list-style-type','consumable','footnotesStart','18918pTuweR','config','getChildren','getAttribute','writer','fromCharCode','_updateFootnotesCounters','lower-latin','removeAttribute','decimal-leading-zero','max','define','createRangeOn','upper-latin','_defineConverters','isPremiumPlugin','plugins','5410307kWSpHs','mapper','toViewElement','isNaN','element:ol','modelCursor','get','upcast','footnotes-list','requires','footnotes.footnotesProperties.defaultListStyle','footnotes.footnotesProperties.defaultStartIndex','footnotesListStyle','pluginName','decimal','setFootnoteFormatter','insert','getItems','906420piIsfQ','187eCPGjd','setAttribute','checkAttribute','type','hasAttribute','setStyle','lower-roman','start','getStyle','upper-roman','differ','init','79163UnMWwV','model'];_0x5b32=function(){return _0x26c2db;};return _0x5b32();}function X(_0x362814,_0x192df3){const _0x1c658b=_0xbfb6dc;let _0xdd0f11='',_0x4a7176=_0x362814;for(const {value:_0x1b4339,numeral:_0x56141e}of V)for(;_0x4a7176>=_0x1b4339;)_0xdd0f11+=_0x56141e,_0x4a7176-=_0x1b4339;return _0x192df3?_0xdd0f11:_0xdd0f11[_0x1c658b(0x79)]();}
|
|
23
|
+
const _0x511ee9=_0x3a8e;function _0x1957(){const _0x128618=['footnotesListStyle','getChanges','footnotesStart','_definePostfixer','5861298HmUyhn','isNaN','lower-latin','336249dIGCDq','getItems','max','FootnotesPropertiesEditing','editor','lower-alpha','3acipoc','1377530stgcBF','5834bgRnes','$text','_formatFootnoteListValue','footnotes-list','upper-roman','get','item','parseInt','lower-roman','commands','from','for','modelCursor','footnotesDefinitions','footnotesListStart','112KllDXZ','plugins','schema','name','nodeAfter','model','attribute:footnotesListStart:footnotesDefinitions','_defineFormatter','getAttribute','1479364ekLnIu','_defineSchema','element','type','mapper','getChildren','getStyle','insert','floor','_getDefaultStartIndex','requires','decimal','padStart','pluginName','_defineConverters','footnotesStyle','setFootnoteFormatter','_getDefaultListStyle','379oBaTeb','decimal-leading-zero','toLowerCase','hasAttribute','init','consume','upcast','setStyle','element:ol','1755280MkketU','registerPostFixer','toUpperCase','checkAttribute','viewItem','upper-alpha','start','consumable','toViewElement','4290350NrrSQr','document','differ','list-style-type','_updateFootnotesCounters','removeAttribute','setAttribute','fromCharCode','add','createRangeOn','downcast','removeStyle','parent','extend','isPremiumPlugin','footnotes.footnotesProperties.defaultListStyle','config','define','hasClass','isOfficialPlugin','find','position','upper-latin','writer','attribute:footnotesListStyle:footnotesDefinitions','7dhQZHL','footnotes.footnotesProperties.defaultStartIndex'];_0x1957=function(){return _0x128618;};return _0x1957();}(function(_0x32a707,_0x13a598){const _0x124ebc=_0x3a8e,_0x46d2b5=_0x32a707();while(!![]){try{const _0x2a5109=parseInt(_0x124ebc(0xb1))/0x1*(-parseInt(_0x124ebc(0xed))/0x2)+parseInt(_0x124ebc(0xeb))/0x3*(parseInt(_0x124ebc(0x105))/0x4)+parseInt(_0x124ebc(0xba))/0x5+parseInt(_0x124ebc(0xe2))/0x6*(parseInt(_0x124ebc(0xdc))/0x7)+parseInt(_0x124ebc(0xfc))/0x8*(-parseInt(_0x124ebc(0xe5))/0x9)+parseInt(_0x124ebc(0xc3))/0xa+parseInt(_0x124ebc(0xec))/0xb;if(_0x2a5109===_0x13a598)break;else _0x46d2b5['push'](_0x46d2b5['shift']());}catch(_0x16fd89){_0x46d2b5['push'](_0x46d2b5['shift']());}}}(_0x1957,0x98358));import{Plugin as _0xa52a19}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x402d51}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x21260d}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4a9cb4}from'../footnotestracker.js';function _0x3a8e(_0x317cd1,_0x1a667d){const _0x1957b5=_0x1957();return _0x3a8e=function(_0x3a8eb1,_0x4eb959){_0x3a8eb1=_0x3a8eb1-0xa4;let _0x4517ad=_0x1957b5[_0x3a8eb1];return _0x4517ad;},_0x3a8e(_0x317cd1,_0x1a667d);}import{FootnotesEditing as _0x4026b6}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xa52a19{static get[_0x511ee9(0xac)](){const _0x2d556f=_0x511ee9;return _0x2d556f(0xe8);}static get[_0x511ee9(0xa9)](){return[_0x4026b6,_0x4a9cb4];}static get[_0x511ee9(0xd6)](){return!0x0;}static get[_0x511ee9(0xd1)](){return!0x0;}[_0x511ee9(0xb5)](){const _0x512e1a=_0x511ee9,{editor:_0x26ab0c}=this;_0x26ab0c[_0x512e1a(0xd3)][_0x512e1a(0xd4)](_0x512e1a(0xd2),_0x512e1a(0xaa)),_0x26ab0c[_0x512e1a(0xd3)][_0x512e1a(0xd4)](_0x512e1a(0xdd),0x1),_0x26ab0c[_0x512e1a(0xf6)][_0x512e1a(0xcb)](_0x512e1a(0xae),new _0x402d51(_0x26ab0c)),_0x26ab0c[_0x512e1a(0xf6)][_0x512e1a(0xcb)](_0x512e1a(0xe0),new _0x21260d(_0x26ab0c)),this[_0x512e1a(0x106)](),this[_0x512e1a(0xad)](),this[_0x512e1a(0x103)](),this[_0x512e1a(0xe1)]();}[_0x511ee9(0x106)](){const _0x21d6ed=_0x511ee9,{editor:_0x5bb1ec}=this,{schema:_0xdda585}=_0x5bb1ec[_0x21d6ed(0x101)];_0xdda585[_0x21d6ed(0xd0)](_0x21d6ed(0xfa),{'allowAttributes':[_0x21d6ed(0xde),_0x21d6ed(0xfb)]});}[_0x511ee9(0xad)](){const _0x2b3d01=_0x511ee9,{editor:_0x8ae447}=this,{conversion:_0x156926,model:_0x11a043}=_0x8ae447,{schema:_0x3593cc}=_0x11a043;_0x156926[_0x2b3d01(0xf8)](_0x2b3d01(0xb7))[_0x2b3d01(0xcb)](_0x300738=>{const _0x49f165=_0x2b3d01;_0x300738['on'](_0x49f165(0xb9),(_0x4a02e8,_0x557208,_0x97b89e)=>{const _0x45d91d=_0x49f165,_0x4e2127=_0x557208[_0x45d91d(0xbe)],_0x57632f=_0x557208[_0x45d91d(0xf9)]?.[_0x45d91d(0xcf)];_0x4e2127[_0x45d91d(0xd5)](_0x45d91d(0xf0))&&_0x57632f?.['is'](_0x45d91d(0x107),_0x45d91d(0xfa))&&(function(_0x1f405f,_0x114d77,_0x5cad9c,_0x27e870){const _0x45268e=_0x45d91d;if(!_0x27e870[_0x45268e(0xbd)](_0x114d77,_0x45268e(0xfb)))return;let _0x744d2=0x1;const _0x108cad=_0x5cad9c[_0x45268e(0xc1)][_0x45268e(0xb6)](_0x1f405f,{'attributes':_0x45268e(0xc0)});if(_0x108cad){const _0x3527f6=Number[_0x45268e(0xf4)](_0x1f405f[_0x45268e(0x104)](_0x45268e(0xc0)),0xa);Number[_0x45268e(0xe3)](_0x3527f6)||(_0x744d2=_0x3527f6);}!_0x108cad&&_0x114d77[_0x45268e(0xb4)](_0x45268e(0xfb))||_0x5cad9c[_0x45268e(0xda)][_0x45268e(0xc9)](_0x45268e(0xfb),_0x744d2,_0x114d77);}(_0x4e2127,_0x57632f,_0x97b89e,_0x3593cc),function(_0x3340dc,_0x45dd59,_0x13a226,_0x551c4b){const _0x4fe2ed=_0x45d91d;if(!_0x551c4b[_0x4fe2ed(0xbd)](_0x45dd59,_0x4fe2ed(0xde)))return;let _0x4962fb=_0x4fe2ed(0xaa),_0x1a633e=!0x1;if(_0x13a226[_0x4fe2ed(0xc1)][_0x4fe2ed(0xb6)](_0x3340dc,{'attributes':_0x4fe2ed(0x108)})){const _0x19ee89={0x1:_0x4fe2ed(0xaa),'a':_0x4fe2ed(0xea),'A':_0x4fe2ed(0xbf),'i':_0x4fe2ed(0xf5),'I':_0x4fe2ed(0xf1)}[_0x3340dc[_0x4fe2ed(0x104)](_0x4fe2ed(0x108))];_0x19ee89&&(_0x4962fb=_0x19ee89),_0x1a633e=!0x0;}_0x13a226[_0x4fe2ed(0xc1)][_0x4fe2ed(0xb6)](_0x3340dc,{'styles':_0x4fe2ed(0xc6)})&&(_0x4962fb=function(_0x44dfb9){const _0x414668=_0x4fe2ed;switch(_0x44dfb9){case _0x414668(0xea):return _0x414668(0xe4);case _0x414668(0xbf):return _0x414668(0xd9);default:return _0x44dfb9;}}(_0x3340dc[_0x4fe2ed(0xa5)](_0x4fe2ed(0xc6))),_0x1a633e=!0x0),!_0x1a633e&&_0x45dd59[_0x4fe2ed(0xb4)](_0x4fe2ed(0xde))||_0x13a226[_0x4fe2ed(0xda)][_0x4fe2ed(0xc9)](_0x4fe2ed(0xde),_0x4962fb,_0x45dd59);}(_0x4e2127,_0x57632f,_0x97b89e,_0x3593cc));});}),_0x156926[_0x2b3d01(0xf8)](_0x2b3d01(0xcd))[_0x2b3d01(0xcb)](_0xf586cd=>{const _0x3b1c86=_0x2b3d01;_0xf586cd['on'](_0x3b1c86(0x102),(_0x5ce6d7,_0x10b50f,_0x154cb0)=>{const _0x359250=_0x3b1c86;if(!_0x154cb0[_0x359250(0xc1)][_0x359250(0xb6)](_0x10b50f[_0x359250(0xf3)],_0x5ce6d7[_0x359250(0xff)]))return;const _0x14be0f=M(_0x10b50f[_0x359250(0xf3)],_0x154cb0[_0x359250(0x109)]),{attributeNewValue:_0x382334}=_0x10b50f;null==_0x382334||0x1===_0x382334?_0x154cb0[_0x359250(0xda)][_0x359250(0xc8)](_0x359250(0xc0),_0x14be0f):_0x154cb0[_0x359250(0xda)][_0x359250(0xc9)](_0x359250(0xc0),String(_0x382334),_0x14be0f);}),_0xf586cd['on'](_0x3b1c86(0xdb),(_0x45bc97,_0x1de5b0,_0x18bfcd)=>{const _0x5c676d=_0x3b1c86;if(!_0x18bfcd[_0x5c676d(0xc1)][_0x5c676d(0xb6)](_0x1de5b0[_0x5c676d(0xf3)],_0x45bc97[_0x5c676d(0xff)]))return;const _0x1ec79c=M(_0x1de5b0[_0x5c676d(0xf3)],_0x18bfcd[_0x5c676d(0x109)]),{attributeNewValue:_0x2d6d1e}=_0x1de5b0;_0x2d6d1e&&_0x5c676d(0xaa)!==_0x2d6d1e?_0x18bfcd[_0x5c676d(0xda)][_0x5c676d(0xb8)](_0x5c676d(0xc6),_0x2d6d1e,_0x1ec79c):_0x18bfcd[_0x5c676d(0xda)][_0x5c676d(0xce)](_0x5c676d(0xc6),_0x1ec79c);});});}[_0x511ee9(0xe1)](){const _0x4c5ce6=_0x511ee9,{editor:_0x4c4171}=this,{model:_0x5662d1}=_0x4c4171,_0x4e0744=_0x4c4171[_0x4c5ce6(0xfd)][_0x4c5ce6(0xf2)](_0x4a9cb4),_0x1150e7=this[_0x4c5ce6(0xb0)](),_0x35c7ed=this[_0x4c5ce6(0xa8)]();_0x5662d1[_0x4c5ce6(0xc4)][_0x4c5ce6(0xbb)](_0x3bfc09=>{const _0x160b65=_0x4c5ce6,_0x3744cb=_0x5662d1[_0x160b65(0xc4)][_0x160b65(0xc5)][_0x160b65(0xdf)]();let _0x165590=!0x1;for(const _0x257e19 of _0x3744cb){if(_0x160b65(0xa6)!==_0x257e19[_0x160b65(0x108)]||_0x160b65(0xee)===_0x257e19[_0x160b65(0xff)])continue;const _0x17d1b3=_0x5662d1[_0x160b65(0xcc)](_0x257e19[_0x160b65(0xd8)][_0x160b65(0x100)]);for(const _0x290149 of _0x17d1b3[_0x160b65(0xe6)]())_0x290149['is'](_0x160b65(0x107),_0x160b65(0xfa))&&(!_0x290149[_0x160b65(0xb4)](_0x160b65(0xfb))&&_0x5662d1[_0x160b65(0xfe)][_0x160b65(0xbd)](_0x290149,_0x160b65(0xfb))&&(_0x3bfc09[_0x160b65(0xc9)](_0x160b65(0xfb),_0x35c7ed,_0x290149),_0x165590=!0x0),!_0x290149[_0x160b65(0xb4)](_0x160b65(0xde))&&_0x5662d1[_0x160b65(0xfe)][_0x160b65(0xbd)](_0x290149,_0x160b65(0xde))&&(_0x3bfc09[_0x160b65(0xc9)](_0x160b65(0xde),_0x1150e7,_0x290149),_0x165590=!0x0));}return _0x165590&&_0x4e0744[_0x160b65(0xc7)](_0x3bfc09),_0x165590;});}[_0x511ee9(0x103)](){const _0x31e3d9=_0x511ee9,{editor:_0x829a0}=this;_0x829a0[_0x31e3d9(0xfd)][_0x31e3d9(0xf2)](_0x4a9cb4)[_0x31e3d9(0xaf)](_0x15c838=>this[_0x31e3d9(0xef)](_0x15c838));}[_0x511ee9(0xb0)](){const _0x156f67=_0x511ee9;return this[_0x156f67(0xe9)][_0x156f67(0xd3)][_0x156f67(0xf2)](_0x156f67(0xd2));}[_0x511ee9(0xa8)](){const _0x59a748=_0x511ee9;return this[_0x59a748(0xe9)][_0x59a748(0xd3)][_0x59a748(0xf2)](_0x59a748(0xdd));}[_0x511ee9(0xef)]({container:_0x86d511,value:_0x213b1b,digits:_0x24db4b}){const _0x478914=_0x511ee9,_0x29abac=_0x86d511[_0x478914(0x104)](_0x478914(0xde)),_0x472ac2=_0x86d511[_0x478914(0x104)](_0x478914(0xfb)),_0x427c5f=Math[_0x478914(0xa7)](_0x213b1b)+(_0x472ac2??0x1)-0x1;switch(_0x29abac){case _0x478914(0xb2):return function(_0x562766,_0x1fd5d9){const _0xa67fe0=_0x478914;return String(_0x562766)[_0xa67fe0(0xab)](_0x1fd5d9,'0');}(_0x427c5f,Math[_0x478914(0xe7)](0x2,_0x24db4b));case _0x478914(0xea):case _0x478914(0xe4):return N(_0x427c5f,!0x1);case _0x478914(0xbf):case _0x478914(0xd9):return N(_0x427c5f,!0x0);case _0x478914(0xf5):return X(_0x427c5f,!0x1);case _0x478914(0xf1):return X(_0x427c5f,!0x0);default:return String(_0x427c5f);}}}function M(_0x9f4f6d,_0x427dc9){const _0x568482=_0x511ee9,_0x4597f0=_0x427dc9[_0x568482(0xc2)](_0x9f4f6d);return Array[_0x568482(0xf7)](_0x4597f0[_0x568482(0xa4)]())[_0x568482(0xd7)](_0x20ebe0=>_0x20ebe0['is'](_0x568482(0x107),'ol')&&_0x20ebe0[_0x568482(0xd5)](_0x568482(0xf0)));}function N(_0x3d6220,_0x368205){const _0x1ede18=_0x511ee9;let _0xd16d47='',_0x4f021e=_0x3d6220;for(;_0x4f021e>0x0;){const _0x784abe=(_0x4f021e-0x1)%0x1a;_0xd16d47=String[_0x1ede18(0xca)](0x61+_0x784abe)+_0xd16d47,_0x4f021e=Math[_0x1ede18(0xa7)]((_0x4f021e-0x1)/0x1a);}return _0x368205?_0xd16d47[_0x1ede18(0xbc)]():_0xd16d47;}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(_0x375e04,_0x40d0d8){const _0x28143a=_0x511ee9;let _0x7a5e28='',_0x496de8=_0x375e04;for(const {value:_0x20d828,numeral:_0x5e90fe}of V)for(;_0x496de8>=_0x20d828;)_0x7a5e28+=_0x5e90fe,_0x496de8-=_0x20d828;return _0x40d0d8?_0x7a5e28:_0x7a5e28[_0x28143a(0xb3)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x38c7d8,ButtonView as _0x584d21,ContextualBalloon as _0x55e2b7,createDropdown as _0x5b580d}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x55a6d1}from'ckeditor5/src/widget.js';import{Plugin as _0x3c4d7e}from'ckeditor5/src/core.js';import{IconFootnote as _0xcc6afb,IconListStyleDecimal as _0x547fc9,IconListStyleDecimalLeadingZero as _0x3bee31,IconListStyleLowerLatin as _0x290a00,IconListStyleLowerRoman as _0x1b5acc,IconListStyleUpperLatin as _0xfde2eb,IconListStyleUpperRoman as _0x4d44b4}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x1f58d1}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x460c72}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3c4d7e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x55e2b7,_0x55a6d1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2cc252}=this,{componentFactory:_0x56cda7}=_0x2cc252['ui'];_0x2cc252['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x56cda7['add']('footnotesStyle',function(_0x369b47){return _0x4727fc=>{const {t:t}=_0x4727fc,_0x2f357d=_0x369b47['commands']['get']('footnotesStyle'),_0x5db282=_0x5b580d(_0x4727fc),{buttonView:_0x220e50}=_0x5db282;return _0x5db282['class']='ck-footnotes-styles-dropdown',_0x5db282['bind']('isEnabled')['to'](_0x2f357d,'isEnabled'),_0x220e50['set']({'label':t('Footnotes\x20style'),'icon':_0xcc6afb,'tooltip':!0x0}),_0x5db282['once']('change:isOpen',()=>{const _0x2a7f03=function({editor:_0x17581d,dropdownView:_0x329536}){const {t:t}=_0x17581d['locale'],_0x2a0cdf=t('Footnotes\x20definitions\x20styles'),_0x3ddc30=function(_0x19b2df){const t=_0x19b2df['locale']['t'],_0x2ab921=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x547fc9},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3bee31},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1b5acc},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4d44b4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x290a00},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xfde2eb}];return _0x2ab921['map'](function(_0x480a86){const _0x2739d6=_0x480a86['locale'];return({label:_0x31ce96,icon:_0x269265,tooltip:_0x447ce9,style:_0x2bf27a})=>{const _0xeca3b3=_0x480a86['commands']['get']('footnotesStyle'),_0x4f4347=new _0x584d21(_0x2739d6);return _0x4f4347['set']({'label':_0x31ce96,'icon':_0x269265,'tooltip':_0x447ce9}),_0x4f4347['bind']('isOn')['to'](_0xeca3b3,'value',_0x1189a8=>_0x1189a8===_0x2bf27a),_0x4f4347['bind']('isEnabled')['to'](_0xeca3b3,'isEnabled'),_0x4f4347['on']('execute',()=>{_0x480a86['execute']('footnotesStyle',{'value':_0x2bf27a}),_0x480a86['editing']['view']['focus']();}),_0x4f4347;};}(_0x19b2df));}(_0x17581d),_0x515aea=new _0x1f58d1(_0x17581d['locale'],{'styleGridAriaLabel':_0x2a0cdf,'styleButtonViews':_0x3ddc30}),_0xa7b35a=_0x17581d['commands']['get']('footnotesStart');return _0x515aea['startIndexFieldView']['bind']('isEnabled')['to'](_0xa7b35a),_0x515aea['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xa7b35a),_0x515aea['on']('footnotesListStart',(_0x273812,_0x2584bd)=>{_0x17581d['execute']('footnotesStart',{'value':_0x2584bd['startIndex']});}),_0x515aea['delegate']('execute')['to'](_0x329536),_0x515aea;}({'editor':_0x369b47,'dropdownView':_0x5db282});_0x5db282['panelView']['children']['add'](_0x2a7f03);}),_0x5db282;};}(_0x2cc252));}['afterInit'](){const {editor:_0x11a3e0}=this,{t:t}=_0x11a3e0['locale'],_0x1bc3de=_0x11a3e0['plugins']['get'](_0x55a6d1),{defaultPositions:_0x1aa205}=_0x38c7d8;_0x1bc3de['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x11a3e0['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x382123=>{let _0xbb2bac=_0x382123['getFirstPosition']()?.['parent'];return _0xbb2bac?.['is']('$text')&&(_0xbb2bac=_0xbb2bac['parent']),_0xbb2bac?.['is']('element')?_0xbb2bac['findAncestor'](_0x460c72):null;},'positions':[_0x1aa205['southArrowNorth'],_0x1aa205['southArrowNorthMiddleWest'],_0x1aa205['southArrowNorthMiddleEast'],_0x1aa205['southArrowNorthWest'],_0x1aa205['southArrowNorthEast'],_0x1aa205['northArrowSouth'],_0x1aa205['northArrowSouthMiddleWest'],_0x1aa205['northArrowSouthMiddleEast'],_0x1aa205['northArrowSouthWest'],_0x1aa205['northArrowSouthEast'],_0x1aa205['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x11b7c3,View as _0x3589cb,ViewCollection as _0x20cd75,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 _0x3589cb{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x20cd75();['focusCycler'];constructor(_0x5eb608,{styleButtonViews:_0x36a597,styleGridAriaLabel:_0x358d08}){super(_0x5eb608),(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'](_0x36a597,_0x358d08),[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 _0x225ce8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x225ce8['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 _0x530128=_0x2489df=>_0x2489df['stopPropagation']();this['keystrokes']['set']('arrowright',_0x530128),this['keystrokes']['set']('arrowleft',_0x530128),this['keystrokes']['set']('arrowup',_0x530128),this['keystrokes']['set']('arrowdown',_0x530128);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1e2389,_0x374a24){const _0x57d53e=new _0x3589cb(this['locale']);return _0x57d53e['children']=_0x57d53e['createCollection'](),_0x57d53e['children']['addMany'](_0x1e2389),_0x57d53e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x374a24,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x57d53e['children']}),_0x57d53e['children']['delegate']('execute')['to'](this),_0x57d53e['focus']=function(){for(const _0x13f7b2 of this['children'])if(_0x13f7b2 instanceof _0x11b7c3&&_0x13f7b2['isOn'])return void _0x13f7b2['focus']();this['children']['first']['focus']();},_0x57d53e['focusTracker']=new rt(),_0x57d53e['keystrokes']=new nt(),_0x57d53e['render'](),_0x57d53e['keystrokes']['listenTo'](_0x57d53e['element']),this['children']['add'](_0x57d53e),_0x57d53e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x408d5f=this['_createStartIndexPropertyView'](),_0x4c5fb7=[_0x408d5f],_0x2d4a4c=new it(this['locale'],_0x4c5fb7);return _0x2d4a4c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2d4a4c['buttonView']['bind']('isEnabled')['toMany'](_0x4c5fb7,'isEnabled',(..._0x3cf7d8)=>_0x3cf7d8['some'](_0xb4e8cf=>_0xb4e8cf)),_0x2d4a4c['buttonView']['on']('change:isEnabled',(_0x17127a,_0x26312e,_0x160505)=>{_0x160505||(_0x2d4a4c['isCollapsed']=!0x0);}),this['children']['add'](_0x2d4a4c),[_0x408d5f,_0x2d4a4c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2d4e90=new et(this['locale'],ot);return _0x2d4e90['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2d4e90['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2d4e90['fieldView']['on']('input',()=>{const _0x4e228d=_0x2d4e90['fieldView']['element'],_0x36df77=_0x4e228d['valueAsNumber'];Number['isNaN'](_0x36df77)?_0x2d4e90['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4e228d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x36df77}):_0x2d4e90['errorText']=t(_0x36df77<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2d4e90;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4c3f(_0x37afac,_0x903edd){var _0x13adb7=_0x13ad();return _0x4c3f=function(_0x4c3fae,_0x350de2){_0x4c3fae=_0x4c3fae-0x17e;var _0x2715de=_0x13adb7[_0x4c3fae];return _0x2715de;},_0x4c3f(_0x37afac,_0x903edd);}function _0x13ad(){var _0x31c433=['isPremiumPlugin','requires','1wAVaGm','17468165MznLwW','8435168BBTVjk','10181059pjLcLj','isOfficialPlugin','13235598oSvaRv','10wqsgOY','20SMfXOo','222155PpcGVi','FootnotesProperties','pluginName','409236oQWZlE','6ZnfJka','236982TdnJCZ'];_0x13ad=function(){return _0x31c433;};return _0x13ad();}var _0x374083=_0x4c3f;(function(_0x155e0d,_0x162e40){var _0x4daad7=_0x4c3f,_0x5baf0a=_0x155e0d();while(!![]){try{var _0x36b9aa=parseInt(_0x4daad7(0x181))/0x1*(parseInt(_0x4daad7(0x18c))/0x2)+parseInt(_0x4daad7(0x17e))/0x3*(parseInt(_0x4daad7(0x188))/0x4)+-parseInt(_0x4daad7(0x189))/0x5+parseInt(_0x4daad7(0x18d))/0x6*(parseInt(_0x4daad7(0x184))/0x7)+-parseInt(_0x4daad7(0x183))/0x8+-parseInt(_0x4daad7(0x186))/0x9*(-parseInt(_0x4daad7(0x187))/0xa)+-parseInt(_0x4daad7(0x182))/0xb;if(_0x36b9aa===_0x162e40)break;else _0x5baf0a['push'](_0x5baf0a['shift']());}catch(_0x3a1346){_0x5baf0a['push'](_0x5baf0a['shift']());}}}(_0x13ad,0xcc8ad));import{Plugin as _0x419097}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x23398e}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x29a8cb}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x419097{static get[_0x374083(0x18b)](){var _0x55d739=_0x374083;return _0x55d739(0x18a);}static get[_0x374083(0x180)](){return[_0x23398e,_0x29a8cb];}static get[_0x374083(0x185)](){return!0x0;}static get[_0x374083(0x17f)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x518ee5=_0x7096;(function(_0xc9f2d3,_0x5fef91){const _0x3126c4=_0x7096,_0x4989ec=_0xc9f2d3();while(!![]){try{const _0x5ad991=-parseInt(_0x3126c4(0x8f))/0x1*(parseInt(_0x3126c4(0x90))/0x2)+parseInt(_0x3126c4(0xac))/0x3+-parseInt(_0x3126c4(0x98))/0x4+parseInt(_0x3126c4(0xc5))/0x5+parseInt(_0x3126c4(0xb2))/0x6+parseInt(_0x3126c4(0x72))/0x7+-parseInt(_0x3126c4(0xb3))/0x8*(parseInt(_0x3126c4(0xa3))/0x9);if(_0x5ad991===_0x5fef91)break;else _0x4989ec['push'](_0x4989ec['shift']());}catch(_0x230bb9){_0x4989ec['push'](_0x4989ec['shift']());}}}(_0x5589,0xe9f7d));import{Plugin as _0x28b3a3}from'ckeditor5/src/core.js';function _0x7096(_0xa5c612,_0x58d342){const _0x5589e6=_0x5589();return _0x7096=function(_0x7096df,_0x1b56fe){_0x7096df=_0x7096df-0x6b;let _0xc93d93=_0x5589e6[_0x7096df];return _0xc93d93;},_0x7096(_0xa5c612,_0x58d342);}import{ModelElementTracker as _0x515a22}from'./modelelementtracker.js';export class FootnotesTracker extends _0x28b3a3{[_0x518ee5(0x7a)]=[];[_0x518ee5(0x6e)]=null;[_0x518ee5(0xc2)]=null;[_0x518ee5(0x87)];[_0x518ee5(0x7c)];[_0x518ee5(0x6b)];static get[_0x518ee5(0xb9)](){const _0x55ba20=_0x518ee5;return _0x55ba20(0x9c);}static get[_0x518ee5(0xa5)](){return!0x0;}static get[_0x518ee5(0x8d)](){return!0x0;}constructor(_0x9748c3){const _0x5b3653=_0x518ee5;super(_0x9748c3),this[_0x5b3653(0x87)]=new _0x515a22(this[_0x5b3653(0xc9)][_0x5b3653(0x75)],{'elementName':_0x5b3653(0xbf),'getElementKey':()=>_0x5b3653(0x8a)}),this[_0x5b3653(0x7c)]=new _0x515a22(this[_0x5b3653(0xc9)][_0x5b3653(0x75)],{'elementName':_0x5b3653(0xa7),'getElementKey':_0x587752=>_0x587752[_0x5b3653(0xbd)](_0x5b3653(0x91))}),this[_0x5b3653(0x6b)]=new _0x515a22(this[_0x5b3653(0xc9)][_0x5b3653(0x75)],{'elementName':_0x5b3653(0x83),'getElementKey':_0x476eaf=>_0x476eaf[_0x5b3653(0xbd)](_0x5b3653(0x91))});}[_0x518ee5(0x99)](){const _0x451eea=_0x518ee5,{editor:_0x347562}=this,{model:_0x13cb05,data:_0x21b510}=_0x347562;_0x13cb05[_0x451eea(0xcc)][_0x451eea(0x6d)](_0xdf5348=>{const _0x436554=_0x451eea,_0x59875f=_0x13cb05[_0x436554(0xcc)][_0x436554(0x7d)][_0x436554(0xc6)]();let _0x5a503b=!0x1;return this[_0x436554(0x8e)](_0xdf5348,_0x59875f)&&(_0x5a503b=!0x0),this[_0x436554(0xce)](_0xdf5348,_0x59875f)&&(_0x5a503b=!0x0),this[_0x436554(0x85)](_0xdf5348,_0x59875f)&&(_0x5a503b=!0x0),this[_0x436554(0x88)](_0xdf5348)&&(_0x5a503b=!0x0),this[_0x436554(0xae)](_0xdf5348)&&(_0x5a503b=!0x0),this[_0x436554(0x9f)](_0xdf5348)&&(_0x5a503b=!0x0),_0x5a503b;}),this[_0x451eea(0xab)](_0x13cb05[_0x451eea(0xcc)],_0x451eea(0xa4),()=>{const _0x33c2fc=_0x451eea;_0x13cb05[_0x33c2fc(0x7b)]({'isUndoable':!0x1},_0x285598=>{const _0x22e293=_0x33c2fc;this[_0x22e293(0xc7)](_0x285598);});},{'priority':_0x451eea(0xc8)}),this[_0x451eea(0xab)](_0x21b510,_0x451eea(0x77),()=>{const _0x373952=_0x451eea;this[_0x373952(0x7a)]=[],this[_0x373952(0x87)][_0x373952(0x92)](),this[_0x373952(0x7c)][_0x373952(0x92)](),this[_0x373952(0x6b)][_0x373952(0x92)]();},{'priority':_0x451eea(0x81)});}[_0x518ee5(0x76)](){const _0x31744d=_0x518ee5;return this[_0x31744d(0x6e)];}[_0x518ee5(0x9e)](_0x22a0ba){const _0x11a24f=_0x518ee5;return this[_0x11a24f(0x7a)][_0x11a24f(0xcb)](_0xcd6dec=>_0xcd6dec['id']===_0x22a0ba)||null;}[_0x518ee5(0x96)](){const _0x4017dc=_0x518ee5;return Array[_0x4017dc(0xbb)](this[_0x4017dc(0x7a)]);}[_0x518ee5(0x73)](){const _0xb79df5=_0x518ee5;return this[_0xb79df5(0xc2)];}[_0x518ee5(0xc0)](_0x53185f){const _0x2e7245=_0x518ee5;this[_0x2e7245(0xc2)]=_0x53185f;}[_0x518ee5(0xb7)](_0x1c8d0b,_0x49488c=0x0){const _0x13eb3c=_0x518ee5;let _0x1c3f52=!0x1;for(let _0x4269be=_0x49488c;_0x4269be<this[_0x13eb3c(0x7a)][_0x13eb3c(0xad)];_0x4269be++)this[_0x13eb3c(0xbc)](_0x1c8d0b,_0x4269be)&&(_0x1c3f52=!0x0);return _0x1c3f52;}[_0x518ee5(0x82)](_0x18aa6e,_0x2ce194){const _0x57a9f9=_0x518ee5,_0x2fdac4=_0x18aa6e[_0x57a9f9(0xb0)](_0x57a9f9(0xbf),{});return _0x18aa6e[_0x57a9f9(0x84)](_0x2fdac4,_0x2ce194),this[_0x57a9f9(0x6e)]=_0x2fdac4,_0x2fdac4;}[_0x518ee5(0xc7)](_0x17468e){const _0x765e68=_0x518ee5;if(!this[_0x765e68(0x7a)][_0x765e68(0xad)]||this[_0x765e68(0x6e)])return;const _0x5c038d=this[_0x765e68(0x7a)][0x0][_0x765e68(0xa9)][_0x765e68(0x7f)],_0x38bb67=this[_0x765e68(0x82)](_0x17468e,_0x5c038d);for(const _0x363fb4 of this[_0x765e68(0x7a)])_0x363fb4[_0x765e68(0xaf)][_0x765e68(0xc3)]||_0x17468e[_0x765e68(0x94)](_0x363fb4[_0x765e68(0xaf)],_0x38bb67,_0x765e68(0xa2));this[_0x765e68(0xb7)](_0x17468e);}[_0x518ee5(0x8e)](_0x10c057,_0x504b7e){const _0x1ae5fe=_0x518ee5;let _0x2dd8cb=!0x1;const {inserted:_0x2eed80,removed:_0x1748b4,moved:_0x1b0f35}=this[_0x1ae5fe(0x87)][_0x1ae5fe(0xc6)](_0x504b7e);if(_0x1b0f35[_0x1ae5fe(0xad)]&&(this[_0x1ae5fe(0x6e)]=_0x1b0f35[0x0]),_0x2eed80[_0x1ae5fe(0xad)]){if(_0x2eed80[_0x1ae5fe(0xad)]>0x1||this[_0x1ae5fe(0x6e)]&&_0x2eed80[_0x1ae5fe(0x97)](_0x39043d=>_0x39043d!==this[_0x1ae5fe(0x6e)])){const _0x4b0777=_0x10c057[_0x1ae5fe(0xb0)](_0x1ae5fe(0xbf),{}),_0x3a623a=[];this[_0x1ae5fe(0x6e)]&&_0x3a623a[_0x1ae5fe(0xb8)](this[_0x1ae5fe(0x6e)]),_0x3a623a[_0x1ae5fe(0xb8)](..._0x2eed80),_0x10c057[_0x1ae5fe(0x94)](_0x4b0777,_0x3a623a[0x0],_0x1ae5fe(0xb6));for(const _0x57aadb of _0x3a623a)_0x10c057[_0x1ae5fe(0x9b)](_0x10c057[_0x1ae5fe(0xa0)](_0x57aadb),_0x10c057[_0x1ae5fe(0x89)](_0x4b0777,_0x1ae5fe(0xa2))),_0x10c057[_0x1ae5fe(0xaa)](_0x57aadb);this[_0x1ae5fe(0x6e)]=_0x4b0777,this[_0x1ae5fe(0xb7)](_0x10c057),_0x2dd8cb=!0x0;}else this[_0x1ae5fe(0x6e)]=_0x2eed80[0x0];}if(_0x1748b4[_0x1ae5fe(0xad)]&&_0x1ae5fe(0xc1)===this[_0x1ae5fe(0x6e)]?.[_0x1ae5fe(0x7f)][_0x1ae5fe(0xbe)]){for(const _0x3bdfa0 of this[_0x1ae5fe(0x7a)])_0x10c057[_0x1ae5fe(0xaa)](_0x3bdfa0[_0x1ae5fe(0xa9)]),_0x2dd8cb=!0x0;this[_0x1ae5fe(0x7a)]=[],this[_0x1ae5fe(0x6e)]=null;}return _0x2dd8cb;}[_0x518ee5(0xce)](_0x556342,_0x44ae0f){const _0x30f176=_0x518ee5;let _0x2b879c=!0x1;const _0x5a5820=this[_0x30f176(0xc9)][_0x30f176(0x93)][_0x30f176(0x70)](_0x30f176(0xa1)),{inserted:_0x48f335,moved:_0x208abe}=this[_0x30f176(0x6b)][_0x30f176(0xc6)](_0x44ae0f);for(const _0x501d3d of[..._0x208abe,..._0x48f335]){const _0x257983=_0x501d3d[_0x30f176(0xbd)](_0x30f176(0x91)),_0x2a9854=this[_0x30f176(0x9e)](_0x257983);_0x2a9854&&(_0x2a9854[_0x30f176(0xaf)]=_0x501d3d),_(_0x556342,_0x5a5820,_0x501d3d)&&(_0x2b879c=!0x0);}return _0x2b879c;}[_0x518ee5(0x85)](_0x912005,_0x2f63dd){const _0x84ae4a=_0x518ee5;let _0x59daa4=!0x1;const {removed:_0x3f35ac,inserted:_0x2c01a5,moved:_0x478daa}=this[_0x84ae4a(0x7c)][_0x84ae4a(0xc6)](_0x2f63dd);for(const _0x53e107 of _0x3f35ac)this[_0x84ae4a(0x95)](_0x912005,_0x53e107)&&(_0x59daa4=!0x0);for(const _0x44fe19 of _0x2c01a5)this[_0x84ae4a(0x9a)](_0x912005,_0x44fe19)&&(_0x59daa4=!0x0);for(const _0x402b4a of _0x478daa)this[_0x84ae4a(0x7e)](_0x912005,_0x402b4a)&&(_0x59daa4=!0x0);return _0x59daa4;}[_0x518ee5(0xae)](_0x3b3fab){const _0x12bd6d=_0x518ee5;if(!this[_0x12bd6d(0x6e)])return!0x1;let _0x300ac0=!0x1;if(this[_0x12bd6d(0x6e)][_0x12bd6d(0x71)]!==this[_0x12bd6d(0x7a)][_0x12bd6d(0xad)]){const _0x13c3aa=[];for(const _0x34d976 of this[_0x12bd6d(0x6e)][_0x12bd6d(0x6f)]()){const _0x20a923=_0x34d976[_0x12bd6d(0xbd)](_0x12bd6d(0x91));this[_0x12bd6d(0x9e)](_0x20a923)||(_0x13c3aa[_0x12bd6d(0xc4)](_0x34d976),_0x300ac0=!0x0);}for(const _0x37b55a of _0x13c3aa)_0x3b3fab[_0x12bd6d(0xaa)](_0x37b55a);}const _0x208d21=new Set(),_0x167fca=[];for(const _0x43e60b of this[_0x12bd6d(0x6e)][_0x12bd6d(0x6f)]()){const _0xc61832=_0x43e60b[_0x12bd6d(0xbd)](_0x12bd6d(0x91));_0x208d21[_0x12bd6d(0x80)](_0xc61832)?(_0x167fca[_0x12bd6d(0xc4)](_0x43e60b),_0x300ac0=!0x0):_0x208d21[_0x12bd6d(0x74)](_0xc61832);}for(const _0x226f21 of _0x167fca)_0x3b3fab[_0x12bd6d(0xaa)](_0x226f21);return this[_0x12bd6d(0x6e)][_0x12bd6d(0x71)]||(_0x3b3fab[_0x12bd6d(0xaa)](this[_0x12bd6d(0x6e)]),this[_0x12bd6d(0x6e)]=null,_0x300ac0=!0x0),_0x300ac0;}[_0x518ee5(0x9a)](_0x4f60d5,_0x3148b2){const _0x27a9e1=_0x518ee5;if(this[_0x27a9e1(0x7a)][_0x27a9e1(0xcb)](_0x36afd9=>_0x36afd9[_0x27a9e1(0xa9)]===_0x3148b2))return!0x1;let _0x180a25=!0x1;const _0x130356=_0x3148b2[_0x27a9e1(0xbd)](_0x27a9e1(0x91)),_0x2bcf10=this[_0x27a9e1(0x7a)][_0x27a9e1(0xca)](_0x392449=>_0x392449['id']===_0x130356);-0x1!==_0x2bcf10&&(_0x4f60d5[_0x27a9e1(0xaa)](this[_0x27a9e1(0x7a)][_0x2bcf10][_0x27a9e1(0xa9)]),this[_0x27a9e1(0x7a)][_0x27a9e1(0xb5)](_0x2bcf10,0x1),_0x180a25=!0x0);let _0x24ee33=this[_0x27a9e1(0x6e)]?function(_0x3aae06,_0xbfdb36){const _0xd02ba9=_0x27a9e1;for(const _0xb70409 of _0x3aae06[_0xd02ba9(0x6f)]())if(_0xb70409[_0xd02ba9(0xbd)](_0xd02ba9(0x91))===_0xbfdb36)return _0xb70409;return null;}(this[_0x27a9e1(0x6e)],_0x130356):null;_0x24ee33||(_0x24ee33=_0x4f60d5[_0x27a9e1(0xb0)](_0x27a9e1(0x83),{'footnoteId':_0x130356}),this[_0x27a9e1(0x6e)]&&(_0x4f60d5[_0x27a9e1(0x94)](_0x24ee33,this[_0x27a9e1(0x6e)],_0x27a9e1(0xa2)),_0x180a25=!0x0));const _0x366b2e={'id':_0x130356,'reference':_0x3148b2,'definition':_0x24ee33},_0x1a4845=I(this[_0x27a9e1(0xc9)][_0x27a9e1(0x75)],this[_0x27a9e1(0x7a)],_0x3148b2);this[_0x27a9e1(0x7a)][_0x27a9e1(0xb5)](_0x1a4845,0x0,_0x366b2e);let _0xdf1dec=_0x1a4845;return-0x1!==_0x2bcf10&&(_0xdf1dec=Math[_0x27a9e1(0xb1)](_0x1a4845,_0x2bcf10)),this[_0x27a9e1(0xb7)](_0x4f60d5,_0xdf1dec)&&(_0x180a25=!0x0),_0x180a25;}[_0x518ee5(0x95)](_0x5a322a,_0x208e33){const _0x599ff7=_0x518ee5,_0x41f450=this[_0x599ff7(0x7a)][_0x599ff7(0xca)](_0x566e42=>_0x566e42['id']===_0x208e33);if(-0x1===_0x41f450)return!0x1;let _0x5c191d=!0x1;const _0x23a883=this[_0x599ff7(0x7a)][_0x41f450];return _0x599ff7(0xc1)!==_0x23a883[_0x599ff7(0xaf)][_0x599ff7(0x7f)][_0x599ff7(0xbe)]&&(_0x5a322a[_0x599ff7(0xaa)](_0x23a883[_0x599ff7(0xaf)]),_0x5c191d=!0x0),this[_0x599ff7(0x7a)][_0x599ff7(0xb5)](_0x41f450,0x1),this[_0x599ff7(0xb7)](_0x5a322a,_0x41f450)&&(_0x5c191d=!0x0),_0x5c191d;}[_0x518ee5(0x7e)](_0xaa1933,_0x2ce51a){const _0x368e96=_0x518ee5,_0x3e01a5=_0x2ce51a[_0x368e96(0xbd)](_0x368e96(0x91)),_0x4912ed=this[_0x368e96(0x7a)][_0x368e96(0xca)](_0x2fc8f1=>_0x2fc8f1['id']===_0x3e01a5),_0x5db305=this[_0x368e96(0x7a)][_0x4912ed];let _0x2db276=!0x1;_0x5db305[_0x368e96(0xa9)]=_0x2ce51a,this[_0x368e96(0x7a)][_0x368e96(0xb5)](_0x4912ed,0x1);const _0x3a3981=I(this[_0x368e96(0xc9)][_0x368e96(0x75)],this[_0x368e96(0x7a)],_0x2ce51a);return this[_0x368e96(0x7a)][_0x368e96(0xb5)](_0x3a3981,0x0,_0x5db305),this[_0x368e96(0xb7)](_0xaa1933,Math[_0x368e96(0xb1)](_0x4912ed,_0x3a3981))&&(_0x2db276=!0x0),_0x2db276;}[_0x518ee5(0xbc)](_0x36bd3a,_0x242ccc){const _0x3dd544=_0x518ee5;if(!this[_0x3dd544(0x6e)])return!0x1;const _0x2b24a8=this[_0x3dd544(0x7a)][_0x242ccc];let _0x13f5dc;return _0x13f5dc=this[_0x3dd544(0xc2)]?this[_0x3dd544(0xc2)]({'footnote':_0x2b24a8,'container':this[_0x3dd544(0x6e)],'digits':String(this[_0x3dd544(0x7a)][_0x3dd544(0xad)])[_0x3dd544(0xad)],'value':_0x242ccc+0x1}):String(_0x242ccc+0x1),_0x2b24a8[_0x3dd544(0xa9)][_0x3dd544(0xbd)](_0x3dd544(0xba))!=_0x13f5dc&&(_0x36bd3a[_0x3dd544(0x78)](_0x3dd544(0xba),_0x13f5dc,_0x2b24a8[_0x3dd544(0xa9)]),!0x0);}[_0x518ee5(0x9f)](_0x111121){const _0x54a921=_0x518ee5;if(!this[_0x54a921(0x6e)]||this[_0x54a921(0x7a)][_0x54a921(0xad)]<0x2)return!0x1;if(function(_0x31da72,_0xf653f7){const _0x4422dc=_0x54a921;if(_0x31da72[_0x4422dc(0xad)]!==_0xf653f7[_0x4422dc(0xad)])return!0x1;for(let _0x57f403=0x0;_0x57f403<_0x31da72[_0x4422dc(0xad)];_0x57f403++)if(_0x31da72[_0x57f403]!==_0xf653f7[_0x57f403])return!0x1;return!0x0;}(this[_0x54a921(0x7a)][_0x54a921(0x6c)](_0x229202=>_0x229202['id']),Array[_0x54a921(0xbb)](this[_0x54a921(0x6e)][_0x54a921(0x6f)]())[_0x54a921(0x6c)](_0x7c4307=>_0x7c4307[_0x54a921(0xbd)](_0x54a921(0x91)))))return!0x1;let _0x4fd7fc=!0x1;for(let _0x197c06=0x0;_0x197c06<this[_0x54a921(0x7a)][_0x54a921(0xad)];_0x197c06++){const _0x107361=this[_0x54a921(0x7a)][_0x197c06],_0x1bdd68=_0x111121[_0x54a921(0x86)](_0x107361[_0x54a921(0xaf)]),_0x25337f=_0x111121[_0x54a921(0x89)](this[_0x54a921(0x6e)],_0x197c06);_0x1bdd68[_0x54a921(0xa8)](_0x25337f)||(_0x111121[_0x54a921(0x9b)](_0x111121[_0x54a921(0x8c)](_0x107361[_0x54a921(0xaf)]),_0x25337f),_0x4fd7fc=!0x0);}return _0x4fd7fc;}[_0x518ee5(0x88)](_0x1c2000){const _0x2aaa87=_0x518ee5;if(!this[_0x2aaa87(0x7a)][_0x2aaa87(0xad)])return!0x1;const {model:_0xb60fb8}=this[_0x2aaa87(0xc9)];let _0x3ce6f0=!0x1;for(let _0x4d0ae5=0x0;_0x4d0ae5<this[_0x2aaa87(0x7a)][_0x2aaa87(0xad)]-0x1;_0x4d0ae5++){const _0x11e572=this[_0x2aaa87(0x7a)][_0x4d0ae5],_0x18a88f=this[_0x2aaa87(0x7a)][_0x4d0ae5+0x1],_0xebb288=_0xb60fb8[_0x2aaa87(0x86)](_0x11e572[_0x2aaa87(0xa9)]),_0x11535e=_0xb60fb8[_0x2aaa87(0x86)](_0x18a88f[_0x2aaa87(0xa9)]);_0x2aaa87(0xcd)===_0xebb288[_0x2aaa87(0xb4)](_0x11535e)&&(this[_0x2aaa87(0x7e)](_0x1c2000,_0x11e572[_0x2aaa87(0xa9)]),_0x4d0ae5=-0x1,_0x3ce6f0=!0x0);}return _0x3ce6f0;}}function _(_0x5dc1f1,_0x266724,_0x2c6a52){const _0x2957dd=_0x518ee5;if(_0x2c6a52[_0x2957dd(0x71)])return!0x1;const _0x2cd7c2=_0x266724?_0x2957dd(0x8b):_0x2957dd(0x79);return _0x5dc1f1[_0x2957dd(0x94)](_0x5dc1f1[_0x2957dd(0xb0)](_0x2cd7c2),_0x2c6a52),!0x0;}function I(_0x24039a,_0x118de7,_0x422bdd){const _0x43addc=_0x518ee5;if(0x0===_0x118de7[_0x43addc(0xad)])return 0x0;const _0x432c0f=_0x24039a[_0x43addc(0x86)](_0x422bdd);for(let _0x72061b=0x0;_0x72061b<_0x118de7[_0x43addc(0xad)];_0x72061b++){const _0x31fee0=_0x118de7[_0x72061b],_0x29cab2=_0x24039a[_0x43addc(0x86)](_0x31fee0[_0x43addc(0xa9)]);if(_0x43addc(0xb6)===_0x432c0f[_0x43addc(0xb4)](_0x29cab2))return _0x72061b;}const _0x236fca=_0x422bdd[_0x43addc(0x7f)];let _0x562dc4=-0x1;for(let _0x473eb1=_0x118de7[_0x43addc(0xad)]-0x1;_0x473eb1>=0x0;_0x473eb1--)if(_0x118de7[_0x473eb1][_0x43addc(0xa9)][_0x43addc(0x7f)]===_0x236fca){_0x562dc4=_0x473eb1;break;}if(-0x1!==_0x562dc4)return _0x562dc4+0x1;const _0x576bfa=_0x24039a[_0x43addc(0xcc)][_0x43addc(0xa6)](),_0x3b0b0b=_0x576bfa[_0x43addc(0x9d)](_0x236fca[_0x43addc(0xbe)]),_0x3e3854=_0x576bfa[_0x3b0b0b+0x1];if(_0x3e3854){for(let _0x3ebae6=0x0;_0x3ebae6<_0x118de7[_0x43addc(0xad)];_0x3ebae6++)if(_0x118de7[_0x3ebae6][_0x43addc(0xa9)][_0x43addc(0x7f)][_0x43addc(0xbe)]===_0x3e3854)return _0x3ebae6;}return _0x118de7[_0x43addc(0xad)];}function _0x5589(){const _0x33de00=['min','3410316liksdd','11401224LLAmgw','compareWith','splice','before','_updateFootnotesCounters','push','pluginName','footnoteCounter','from','_updateFootnoteRefCounter','getAttribute','rootName','footnotesDefinitions','setFootnoteFormatter','$graveyard','_footnoteFormatter','parent','unshift','5103665QFqXuN','getChanges','_ensureFootnotesDefinitionsContainerExists','low','editor','findIndex','find','document','after','_handleFootnoteDefinitionsChanges','_footnoteDefsTracker','map','registerPostFixer','_footnotesDefinitions','getChildren','get','childCount','6851838JUfYwH','getFootnotesFormatter','add','model','getFootnotesDefinitionsObjectElement','set','setAttribute','footnoteInlineContent','_footnotes','enqueueChange','_footnoteRefsTracker','differ','_handleMovedFootnoteReference','root','has','high','_insertEmptyFootnotesDefinitionsContainer','footnoteDefinition','append','_handleFootnoteReferencesChanges','createPositionBefore','_footnoteDefsContainerTracker','_ensureFootnotesReferencesHaveProperOrder','createPositionAt','singleton','paragraph','createRangeOn','isPremiumPlugin','_handleFootnotesDefinitionsObjectChanges','1zJaSqP','727930jayqtD','footnoteId','reset','config','insert','_handleRemoveFootnoteReferenceById','getFootnotes','some','595876XJPuvE','init','_handleInsertedFootnoteReference','move','FootnotesTracker','indexOf','getFootnote','_sortFootnoteDefinitions','createRangeIn','footnotes.multiBlock','end','9iKEoVQ','change:data','isOfficialPlugin','getRootNames','footnoteRef','isEqual','reference','remove','listenTo','985401PUPURx','length','_handleFootnotesDefinitionsObjectSync','definition','createElement'];_0x5589=function(){return _0x33de00;};return _0x5589();}
|
|
23
|
+
const _0x1f785b=_0x1323;(function(_0x536ce0,_0x5f50c2){const _0x3f5436=_0x1323,_0xe6e1b=_0x536ce0();while(!![]){try{const _0x27d531=-parseInt(_0x3f5436(0x22f))/0x1*(-parseInt(_0x3f5436(0x23a))/0x2)+-parseInt(_0x3f5436(0x212))/0x3+-parseInt(_0x3f5436(0x1e3))/0x4*(parseInt(_0x3f5436(0x1e9))/0x5)+-parseInt(_0x3f5436(0x215))/0x6+-parseInt(_0x3f5436(0x21d))/0x7+parseInt(_0x3f5436(0x218))/0x8+-parseInt(_0x3f5436(0x201))/0x9*(-parseInt(_0x3f5436(0x239))/0xa);if(_0x27d531===_0x5f50c2)break;else _0xe6e1b['push'](_0xe6e1b['shift']());}catch(_0x1ee8a2){_0xe6e1b['push'](_0xe6e1b['shift']());}}}(_0x4fdf,0x7a18f));import{Plugin as _0x543dbd}from'ckeditor5/src/core.js';function _0x1323(_0x5b2d7c,_0x15dfcf){const _0x4fdf04=_0x4fdf();return _0x1323=function(_0x132303,_0x1b0181){_0x132303=_0x132303-0x1e1;let _0x295f0f=_0x4fdf04[_0x132303];return _0x295f0f;},_0x1323(_0x5b2d7c,_0x15dfcf);}import{ModelElementTracker as _0x24ab0e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x543dbd{[_0x1f785b(0x1e4)]=[];[_0x1f785b(0x1ea)]=null;[_0x1f785b(0x222)]=null;[_0x1f785b(0x226)];[_0x1f785b(0x22a)];[_0x1f785b(0x1e7)];static get[_0x1f785b(0x1fa)](){const _0x502138=_0x1f785b;return _0x502138(0x216);}static get[_0x1f785b(0x1f8)](){return!0x0;}static get[_0x1f785b(0x1e2)](){return!0x0;}constructor(_0x233e46){const _0x1c3a83=_0x1f785b;super(_0x233e46),this[_0x1c3a83(0x226)]=new _0x24ab0e(this[_0x1c3a83(0x200)][_0x1c3a83(0x21a)],{'elementName':_0x1c3a83(0x23d),'getElementKey':()=>_0x1c3a83(0x213)}),this[_0x1c3a83(0x22a)]=new _0x24ab0e(this[_0x1c3a83(0x200)][_0x1c3a83(0x21a)],{'elementName':_0x1c3a83(0x1fd),'getElementKey':_0x361839=>_0x361839[_0x1c3a83(0x244)](_0x1c3a83(0x1ec))}),this[_0x1c3a83(0x1e7)]=new _0x24ab0e(this[_0x1c3a83(0x200)][_0x1c3a83(0x21a)],{'elementName':_0x1c3a83(0x217),'getElementKey':_0x55d9c7=>_0x55d9c7[_0x1c3a83(0x244)](_0x1c3a83(0x1ec))});}[_0x1f785b(0x21f)](){const _0xbcdf37=_0x1f785b,{editor:_0x37de42}=this,{model:_0xe86c22,data:_0x89526a}=_0x37de42;_0xe86c22[_0xbcdf37(0x203)][_0xbcdf37(0x209)](_0x3fc635=>{const _0x238eac=_0xbcdf37,_0x543c17=_0xe86c22[_0x238eac(0x203)][_0x238eac(0x233)][_0x238eac(0x1fe)]();let _0x56aaa6=!0x1;return this[_0x238eac(0x23b)](_0x3fc635,_0x543c17)&&(_0x56aaa6=!0x0),this[_0x238eac(0x204)](_0x3fc635,_0x543c17)&&(_0x56aaa6=!0x0),this[_0x238eac(0x225)](_0x3fc635,_0x543c17)&&(_0x56aaa6=!0x0),this[_0x238eac(0x20a)](_0x3fc635)&&(_0x56aaa6=!0x0),this[_0x238eac(0x1fb)](_0x3fc635)&&(_0x56aaa6=!0x0),this[_0x238eac(0x223)](_0x3fc635)&&(_0x56aaa6=!0x0),_0x56aaa6;}),this[_0xbcdf37(0x219)](_0xe86c22[_0xbcdf37(0x203)],_0xbcdf37(0x1f3),()=>{const _0x2c031e=_0xbcdf37;_0xe86c22[_0x2c031e(0x1f1)]({'isUndoable':!0x1},_0x2ed734=>{const _0x3207ea=_0x2c031e;this[_0x3207ea(0x22c)](_0x2ed734);});},{'priority':_0xbcdf37(0x22e)}),this[_0xbcdf37(0x219)](_0x89526a,_0xbcdf37(0x1ee),()=>{const _0x5efd17=_0xbcdf37;this[_0x5efd17(0x1e4)]=[],this[_0x5efd17(0x226)][_0x5efd17(0x228)](),this[_0x5efd17(0x22a)][_0x5efd17(0x228)](),this[_0x5efd17(0x1e7)][_0x5efd17(0x228)]();},{'priority':_0xbcdf37(0x20f)});}[_0x1f785b(0x205)](){const _0x2da6cb=_0x1f785b;return this[_0x2da6cb(0x1ea)];}[_0x1f785b(0x1e8)](_0x13312){const _0x548877=_0x1f785b;return this[_0x548877(0x1e4)][_0x548877(0x22d)](_0x37174c=>_0x37174c['id']===_0x13312)||null;}[_0x1f785b(0x1f4)](){const _0x4b2134=_0x1f785b;return Array[_0x4b2134(0x235)](this[_0x4b2134(0x1e4)]);}[_0x1f785b(0x206)](){const _0x2a05b7=_0x1f785b;return this[_0x2a05b7(0x222)];}[_0x1f785b(0x240)](_0x550b41){const _0x171e14=_0x1f785b;this[_0x171e14(0x222)]=_0x550b41;}[_0x1f785b(0x241)](_0x321f2c,_0x3bf114=0x0){const _0xcc9fd3=_0x1f785b;let _0x182321=!0x1;for(let _0x5939b4=_0x3bf114;_0x5939b4<this[_0xcc9fd3(0x1e4)][_0xcc9fd3(0x1e1)];_0x5939b4++)this[_0xcc9fd3(0x214)](_0x321f2c,_0x5939b4)&&(_0x182321=!0x0);return _0x182321;}[_0x1f785b(0x21b)](_0x5af627,_0x586673){const _0x2f7643=_0x1f785b,_0x361a1c=_0x5af627[_0x2f7643(0x236)](_0x2f7643(0x23d),{});return _0x5af627[_0x2f7643(0x227)](_0x361a1c,_0x586673),this[_0x2f7643(0x1ea)]=_0x361a1c,_0x361a1c;}[_0x1f785b(0x22c)](_0x3e0e47){const _0x575d6a=_0x1f785b;if(!this[_0x575d6a(0x1e4)][_0x575d6a(0x1e1)]||this[_0x575d6a(0x1ea)])return;const _0x51a38f=this[_0x575d6a(0x1e4)][0x0][_0x575d6a(0x229)][_0x575d6a(0x1e6)],_0x1daf55=this[_0x575d6a(0x21b)](_0x3e0e47,_0x51a38f);for(const _0x33c185 of this[_0x575d6a(0x1e4)])_0x33c185[_0x575d6a(0x1f7)][_0x575d6a(0x220)]||_0x3e0e47[_0x575d6a(0x1ff)](_0x33c185[_0x575d6a(0x1f7)],_0x1daf55,_0x575d6a(0x1f9));this[_0x575d6a(0x241)](_0x3e0e47);}[_0x1f785b(0x23b)](_0x260107,_0x5eb492){const _0x2c62dd=_0x1f785b;let _0x22e99e=!0x1;const {inserted:_0x2f1b1c,removed:_0x27503c,moved:_0x143794}=this[_0x2c62dd(0x226)][_0x2c62dd(0x1fe)](_0x5eb492);if(_0x143794[_0x2c62dd(0x1e1)]&&(this[_0x2c62dd(0x1ea)]=_0x143794[0x0]),_0x2f1b1c[_0x2c62dd(0x1e1)]){if(_0x2f1b1c[_0x2c62dd(0x1e1)]>0x1||this[_0x2c62dd(0x1ea)]&&_0x2f1b1c[_0x2c62dd(0x1fc)](_0x2ec6ab=>_0x2ec6ab!==this[_0x2c62dd(0x1ea)])){const _0x585244=_0x260107[_0x2c62dd(0x236)](_0x2c62dd(0x23d),{}),_0x199924=[];this[_0x2c62dd(0x1ea)]&&_0x199924[_0x2c62dd(0x231)](this[_0x2c62dd(0x1ea)]),_0x199924[_0x2c62dd(0x231)](..._0x2f1b1c),_0x260107[_0x2c62dd(0x1ff)](_0x585244,_0x199924[0x0],_0x2c62dd(0x230));for(const _0x273de1 of _0x199924)_0x260107[_0x2c62dd(0x208)](_0x260107[_0x2c62dd(0x1ed)](_0x273de1),_0x260107[_0x2c62dd(0x21e)](_0x585244,_0x2c62dd(0x1f9))),_0x260107[_0x2c62dd(0x23e)](_0x273de1);this[_0x2c62dd(0x1ea)]=_0x585244,this[_0x2c62dd(0x241)](_0x260107),_0x22e99e=!0x0;}else this[_0x2c62dd(0x1ea)]=_0x2f1b1c[0x0];}if(_0x27503c[_0x2c62dd(0x1e1)]&&_0x2c62dd(0x22b)===this[_0x2c62dd(0x1ea)]?.[_0x2c62dd(0x1e6)][_0x2c62dd(0x207)]){for(const _0x5a0b04 of this[_0x2c62dd(0x1e4)])_0x260107[_0x2c62dd(0x23e)](_0x5a0b04[_0x2c62dd(0x229)]),_0x22e99e=!0x0;this[_0x2c62dd(0x1e4)]=[],this[_0x2c62dd(0x1ea)]=null;}return _0x22e99e;}[_0x1f785b(0x204)](_0x5a0756,_0x351e02){const _0x5d016c=_0x1f785b;let _0x13defd=!0x1;const _0x1a5177=this[_0x5d016c(0x200)][_0x5d016c(0x1f6)][_0x5d016c(0x211)](_0x5d016c(0x1f5)),{inserted:_0x3ed3a2,moved:_0x1eb6dd}=this[_0x5d016c(0x1e7)][_0x5d016c(0x1fe)](_0x351e02);for(const _0xc9f43e of[..._0x1eb6dd,..._0x3ed3a2]){const _0x283d15=_0xc9f43e[_0x5d016c(0x244)](_0x5d016c(0x1ec)),_0x3615b4=this[_0x5d016c(0x1e8)](_0x283d15);_0x3615b4&&(_0x3615b4[_0x5d016c(0x1f7)]=_0xc9f43e),_(_0x5a0756,_0x1a5177,_0xc9f43e)&&(_0x13defd=!0x0);}return _0x13defd;}[_0x1f785b(0x225)](_0x497c0b,_0x35afa2){const _0x3588ad=_0x1f785b;let _0x2b9dc9=!0x1;const {removed:_0x49cd99,inserted:_0x2fb449,moved:_0x3d0976}=this[_0x3588ad(0x22a)][_0x3588ad(0x1fe)](_0x35afa2);for(const _0x1b94e2 of _0x49cd99)this[_0x3588ad(0x245)](_0x497c0b,_0x1b94e2)&&(_0x2b9dc9=!0x0);for(const _0x97020b of _0x2fb449)this[_0x3588ad(0x237)](_0x497c0b,_0x97020b)&&(_0x2b9dc9=!0x0);for(const _0x2bdd6f of _0x3d0976)this[_0x3588ad(0x242)](_0x497c0b,_0x2bdd6f)&&(_0x2b9dc9=!0x0);return _0x2b9dc9;}[_0x1f785b(0x1fb)](_0x146bb8){const _0x378746=_0x1f785b;if(!this[_0x378746(0x1ea)])return!0x1;let _0x138fe9=!0x1;if(this[_0x378746(0x1ea)][_0x378746(0x243)]!==this[_0x378746(0x1e4)][_0x378746(0x1e1)]){const _0x534959=[];for(const _0x2409e7 of this[_0x378746(0x1ea)][_0x378746(0x20e)]()){const _0xb80731=_0x2409e7[_0x378746(0x244)](_0x378746(0x1ec));this[_0x378746(0x1e8)](_0xb80731)||(_0x534959[_0x378746(0x210)](_0x2409e7),_0x138fe9=!0x0);}for(const _0x2e3d46 of _0x534959)_0x146bb8[_0x378746(0x23e)](_0x2e3d46);}const _0x5693c4=new Set(),_0xe9ef47=[];for(const _0x498602 of this[_0x378746(0x1ea)][_0x378746(0x20e)]()){const _0x210e1c=_0x498602[_0x378746(0x244)](_0x378746(0x1ec));_0x5693c4[_0x378746(0x23c)](_0x210e1c)?(_0xe9ef47[_0x378746(0x210)](_0x498602),_0x138fe9=!0x0):_0x5693c4[_0x378746(0x1f0)](_0x210e1c);}for(const _0xcb9f88 of _0xe9ef47)_0x146bb8[_0x378746(0x23e)](_0xcb9f88);return this[_0x378746(0x1ea)][_0x378746(0x243)]||(_0x146bb8[_0x378746(0x23e)](this[_0x378746(0x1ea)]),this[_0x378746(0x1ea)]=null,_0x138fe9=!0x0),_0x138fe9;}[_0x1f785b(0x237)](_0x2faa4e,_0x1ae99d){const _0x4aaffa=_0x1f785b;if(this[_0x4aaffa(0x1e4)][_0x4aaffa(0x22d)](_0xad532c=>_0xad532c[_0x4aaffa(0x229)]===_0x1ae99d))return!0x1;let _0x5527a6=!0x1;const _0x2e4a89=_0x1ae99d[_0x4aaffa(0x244)](_0x4aaffa(0x1ec)),_0x53febe=this[_0x4aaffa(0x1e4)][_0x4aaffa(0x21c)](_0x1d29a8=>_0x1d29a8['id']===_0x2e4a89);-0x1!==_0x53febe&&(_0x2faa4e[_0x4aaffa(0x23e)](this[_0x4aaffa(0x1e4)][_0x53febe][_0x4aaffa(0x229)]),this[_0x4aaffa(0x1e4)][_0x4aaffa(0x224)](_0x53febe,0x1),_0x5527a6=!0x0);let _0xca4c6a=this[_0x4aaffa(0x1ea)]?function(_0x30d4cb,_0x34c570){const _0x4f4f65=_0x4aaffa;for(const _0xae6bd6 of _0x30d4cb[_0x4f4f65(0x20e)]())if(_0xae6bd6[_0x4f4f65(0x244)](_0x4f4f65(0x1ec))===_0x34c570)return _0xae6bd6;return null;}(this[_0x4aaffa(0x1ea)],_0x2e4a89):null;_0xca4c6a||(_0xca4c6a=_0x2faa4e[_0x4aaffa(0x236)](_0x4aaffa(0x217),{'footnoteId':_0x2e4a89}),this[_0x4aaffa(0x1ea)]&&(_0x2faa4e[_0x4aaffa(0x1ff)](_0xca4c6a,this[_0x4aaffa(0x1ea)],_0x4aaffa(0x1f9)),_0x5527a6=!0x0));const _0x2c88e8={'id':_0x2e4a89,'reference':_0x1ae99d,'definition':_0xca4c6a},_0x2aab5e=I(this[_0x4aaffa(0x200)][_0x4aaffa(0x21a)],this[_0x4aaffa(0x1e4)],_0x1ae99d);this[_0x4aaffa(0x1e4)][_0x4aaffa(0x224)](_0x2aab5e,0x0,_0x2c88e8);let _0x218bc6=_0x2aab5e;return-0x1!==_0x53febe&&(_0x218bc6=Math[_0x4aaffa(0x234)](_0x2aab5e,_0x53febe)),this[_0x4aaffa(0x241)](_0x2faa4e,_0x218bc6)&&(_0x5527a6=!0x0),_0x5527a6;}[_0x1f785b(0x245)](_0x5e0d49,_0x3499d3){const _0x2c7472=_0x1f785b,_0x535d6f=this[_0x2c7472(0x1e4)][_0x2c7472(0x21c)](_0x2d2eb8=>_0x2d2eb8['id']===_0x3499d3);if(-0x1===_0x535d6f)return!0x1;let _0x2bae9e=!0x1;const _0x4f5b0a=this[_0x2c7472(0x1e4)][_0x535d6f];return _0x2c7472(0x22b)!==_0x4f5b0a[_0x2c7472(0x1f7)][_0x2c7472(0x1e6)][_0x2c7472(0x207)]&&(_0x5e0d49[_0x2c7472(0x23e)](_0x4f5b0a[_0x2c7472(0x1f7)]),_0x2bae9e=!0x0),this[_0x2c7472(0x1e4)][_0x2c7472(0x224)](_0x535d6f,0x1),this[_0x2c7472(0x241)](_0x5e0d49,_0x535d6f)&&(_0x2bae9e=!0x0),_0x2bae9e;}[_0x1f785b(0x242)](_0x235099,_0x491b93){const _0x35a77e=_0x1f785b,_0x192a2b=_0x491b93[_0x35a77e(0x244)](_0x35a77e(0x1ec)),_0x1d84f4=this[_0x35a77e(0x1e4)][_0x35a77e(0x21c)](_0xd6fc64=>_0xd6fc64['id']===_0x192a2b),_0x498c05=this[_0x35a77e(0x1e4)][_0x1d84f4];let _0x2a4589=!0x1;_0x498c05[_0x35a77e(0x229)]=_0x491b93,this[_0x35a77e(0x1e4)][_0x35a77e(0x224)](_0x1d84f4,0x1);const _0x14ef69=I(this[_0x35a77e(0x200)][_0x35a77e(0x21a)],this[_0x35a77e(0x1e4)],_0x491b93);return this[_0x35a77e(0x1e4)][_0x35a77e(0x224)](_0x14ef69,0x0,_0x498c05),this[_0x35a77e(0x241)](_0x235099,Math[_0x35a77e(0x234)](_0x1d84f4,_0x14ef69))&&(_0x2a4589=!0x0),_0x2a4589;}[_0x1f785b(0x214)](_0x30877e,_0x462c39){const _0x28e38f=_0x1f785b;if(!this[_0x28e38f(0x1ea)])return!0x1;const _0x37fa76=this[_0x28e38f(0x1e4)][_0x462c39];let _0x45fe6b;return _0x45fe6b=this[_0x28e38f(0x222)]?this[_0x28e38f(0x222)]({'footnote':_0x37fa76,'container':this[_0x28e38f(0x1ea)],'digits':String(this[_0x28e38f(0x1e4)][_0x28e38f(0x1e1)])[_0x28e38f(0x1e1)],'value':_0x462c39+0x1}):String(_0x462c39+0x1),_0x37fa76[_0x28e38f(0x229)][_0x28e38f(0x244)](_0x28e38f(0x1eb))!=_0x45fe6b&&(_0x30877e[_0x28e38f(0x1f2)](_0x28e38f(0x1eb),_0x45fe6b,_0x37fa76[_0x28e38f(0x229)]),!0x0);}[_0x1f785b(0x223)](_0x15ce23){const _0x3fd61c=_0x1f785b;if(!this[_0x3fd61c(0x1ea)]||this[_0x3fd61c(0x1e4)][_0x3fd61c(0x1e1)]<0x2)return!0x1;if(function(_0x4abcb9,_0x19cbad){const _0x2cb159=_0x3fd61c;if(_0x4abcb9[_0x2cb159(0x1e1)]!==_0x19cbad[_0x2cb159(0x1e1)])return!0x1;for(let _0x45cdd6=0x0;_0x45cdd6<_0x4abcb9[_0x2cb159(0x1e1)];_0x45cdd6++)if(_0x4abcb9[_0x45cdd6]!==_0x19cbad[_0x45cdd6])return!0x1;return!0x0;}(this[_0x3fd61c(0x1e4)][_0x3fd61c(0x238)](_0xed88cf=>_0xed88cf['id']),Array[_0x3fd61c(0x235)](this[_0x3fd61c(0x1ea)][_0x3fd61c(0x20e)]())[_0x3fd61c(0x238)](_0x84fbfc=>_0x84fbfc[_0x3fd61c(0x244)](_0x3fd61c(0x1ec)))))return!0x1;let _0x25b165=!0x1;for(let _0x539a21=0x0;_0x539a21<this[_0x3fd61c(0x1e4)][_0x3fd61c(0x1e1)];_0x539a21++){const _0x3a0986=this[_0x3fd61c(0x1e4)][_0x539a21],_0xd63c7d=_0x15ce23[_0x3fd61c(0x20b)](_0x3a0986[_0x3fd61c(0x1f7)]),_0x1f3729=_0x15ce23[_0x3fd61c(0x21e)](this[_0x3fd61c(0x1ea)],_0x539a21);_0xd63c7d[_0x3fd61c(0x23f)](_0x1f3729)||(_0x15ce23[_0x3fd61c(0x208)](_0x15ce23[_0x3fd61c(0x20d)](_0x3a0986[_0x3fd61c(0x1f7)]),_0x1f3729),_0x25b165=!0x0);}return _0x25b165;}[_0x1f785b(0x20a)](_0x513e99){const _0x42ccf9=_0x1f785b;if(!this[_0x42ccf9(0x1e4)][_0x42ccf9(0x1e1)])return!0x1;const {model:_0x528a88}=this[_0x42ccf9(0x200)];let _0x40b6e0=!0x1;for(let _0x2d20a2=0x0;_0x2d20a2<this[_0x42ccf9(0x1e4)][_0x42ccf9(0x1e1)]-0x1;_0x2d20a2++){const _0x14b039=this[_0x42ccf9(0x1e4)][_0x2d20a2],_0x53ca09=this[_0x42ccf9(0x1e4)][_0x2d20a2+0x1],_0x74a858=_0x528a88[_0x42ccf9(0x20b)](_0x14b039[_0x42ccf9(0x229)]),_0x33940c=_0x528a88[_0x42ccf9(0x20b)](_0x53ca09[_0x42ccf9(0x229)]);_0x42ccf9(0x1ef)===_0x74a858[_0x42ccf9(0x221)](_0x33940c)&&(this[_0x42ccf9(0x242)](_0x513e99,_0x14b039[_0x42ccf9(0x229)]),_0x2d20a2=-0x1,_0x40b6e0=!0x0);}return _0x40b6e0;}}function _(_0x282a14,_0x4272fc,_0x3ed227){const _0x48282b=_0x1f785b;if(_0x3ed227[_0x48282b(0x243)])return!0x1;const _0x2154e6=_0x4272fc?_0x48282b(0x202):_0x48282b(0x232);return _0x282a14[_0x48282b(0x1ff)](_0x282a14[_0x48282b(0x236)](_0x2154e6),_0x3ed227),!0x0;}function _0x4fdf(){const _0x4501d0=['_handleRemoveFootnoteReferenceById','length','isPremiumPlugin','355736hIlLNv','_footnotes','indexOf','root','_footnoteDefsTracker','getFootnote','5HeAnTa','_footnotesDefinitions','footnoteCounter','footnoteId','createRangeIn','set','after','add','enqueueChange','setAttribute','change:data','getFootnotes','footnotes.multiBlock','config','definition','isOfficialPlugin','end','pluginName','_handleFootnotesDefinitionsObjectSync','some','footnoteRef','getChanges','insert','editor','279CdyEhm','paragraph','document','_handleFootnoteDefinitionsChanges','getFootnotesDefinitionsObjectElement','getFootnotesFormatter','rootName','move','registerPostFixer','_ensureFootnotesReferencesHaveProperOrder','createPositionBefore','getRootNames','createRangeOn','getChildren','high','unshift','get','1020567cyhXMW','singleton','_updateFootnoteRefCounter','5645178ijGwpB','FootnotesTracker','footnoteDefinition','5973472XqjLBB','listenTo','model','_insertEmptyFootnotesDefinitionsContainer','findIndex','2448376SVDacs','createPositionAt','init','parent','compareWith','_footnoteFormatter','_sortFootnoteDefinitions','splice','_handleFootnoteReferencesChanges','_footnoteDefsContainerTracker','append','reset','reference','_footnoteRefsTracker','$graveyard','_ensureFootnotesDefinitionsContainerExists','find','low','1cIBEoG','before','push','footnoteInlineContent','differ','min','from','createElement','_handleInsertedFootnoteReference','map','424070srpzao','317128ePonZC','_handleFootnotesDefinitionsObjectChanges','has','footnotesDefinitions','remove','isEqual','setFootnoteFormatter','_updateFootnotesCounters','_handleMovedFootnoteReference','childCount','getAttribute'];_0x4fdf=function(){return _0x4501d0;};return _0x4fdf();}function I(_0x41754a,_0xdbd816,_0x550814){const _0x36ea5c=_0x1f785b;if(0x0===_0xdbd816[_0x36ea5c(0x1e1)])return 0x0;const _0xa3b18a=_0x41754a[_0x36ea5c(0x20b)](_0x550814);for(let _0x43337f=0x0;_0x43337f<_0xdbd816[_0x36ea5c(0x1e1)];_0x43337f++){const _0x1589a0=_0xdbd816[_0x43337f],_0x35b3f5=_0x41754a[_0x36ea5c(0x20b)](_0x1589a0[_0x36ea5c(0x229)]);if(_0x36ea5c(0x230)===_0xa3b18a[_0x36ea5c(0x221)](_0x35b3f5))return _0x43337f;}const _0x2f6f5c=_0x550814[_0x36ea5c(0x1e6)];let _0x226dc8=-0x1;for(let _0x48b94d=_0xdbd816[_0x36ea5c(0x1e1)]-0x1;_0x48b94d>=0x0;_0x48b94d--)if(_0xdbd816[_0x48b94d][_0x36ea5c(0x229)][_0x36ea5c(0x1e6)]===_0x2f6f5c){_0x226dc8=_0x48b94d;break;}if(-0x1!==_0x226dc8)return _0x226dc8+0x1;const _0x32e2f7=_0x41754a[_0x36ea5c(0x203)][_0x36ea5c(0x20c)](),_0x52f5b5=_0x32e2f7[_0x36ea5c(0x1e5)](_0x2f6f5c[_0x36ea5c(0x207)]),_0x2e22e9=_0x32e2f7[_0x52f5b5+0x1];if(_0x2e22e9){for(let _0x1c2e9a=0x0;_0x1c2e9a<_0xdbd816[_0x36ea5c(0x1e1)];_0x1c2e9a++)if(_0xdbd816[_0x1c2e9a][_0x36ea5c(0x229)][_0x36ea5c(0x1e6)][_0x36ea5c(0x207)]===_0x2e22e9)return _0x1c2e9a;}return _0xdbd816[_0x36ea5c(0x1e1)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x53df31,MenuBarMenuListItemButtonView as _0x5693c0}from'ckeditor5/src/ui.js';import{Plugin as _0x5a8db5}from'ckeditor5/src/core.js';import{IconFootnote as _0x4c38e8}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5a8db5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c3c3f}=this,{componentFactory:_0x58ff2b}=_0x5c3c3f['ui'];_0x58ff2b['add']('insertFootnote',E(_0x5c3c3f,_0x53df31)),_0x58ff2b['add']('menuBar:insertFootnote',E(_0x5c3c3f,_0x5693c0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xaa2e85=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x186d46;for(const _0x3f983d in _0xaa2e85){const _0x15ed11=_0x3f983d,_0x486679=_0xaa2e85[_0x15ed11];if('footnotesLicenseKeyValid'==_0x486679||'footnotesLicenseKeyInvalid'==_0x486679||'footnotesLicenseKeyExpired'==_0x486679||'footnotesLicenseKeyDomainLimit'==_0x486679||'footnotesLicenseKeyNotAllowed'==_0x486679||'footnotesLicenseKeyEvaluationLimit'==_0x486679||'footnotesLicenseKeyUsageLimit'==_0x486679){delete _0xaa2e85[_0x15ed11],_0x186d46=_0x486679,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x186d46&&_0xaa2e85['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x186d46&&_0xaa2e85['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x186d46&&_0xaa2e85['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x186d46&&_0xaa2e85['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x186d46&&_0xaa2e85['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x186d46&&_0xaa2e85['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x129199,_0x5bb836){const _0x46e2b4=_0x129199['commands']['get']('insertFootnote');return _0x390bd6=>{const {t:t}=_0x390bd6,_0x48286d=new _0x5bb836(_0x390bd6),_0x3c7dbe=_0x48286d instanceof _0x5693c0;return _0x48286d['bind']('isEnabled')['to'](_0x46e2b4,'isEnabled'),_0x48286d['set']({'label':t(_0x3c7dbe?'Footnote':'Insert\x20footnote'),'icon':_0x4c38e8,'tooltip':!0x0}),_0x48286d['on']('execute',()=>{_0x46e2b4['execute'](),_0x129199['editing']['view']['focus']();}),_0x48286d;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1aa7f2,_0x56b2e2){var _0x431f15=_0x37cf,_0x4e3f71=_0x1aa7f2();while(!![]){try{var _0xd89bd4=parseInt(_0x431f15(0x1ea))/0x1+-parseInt(_0x431f15(0x1f1))/0x2+-parseInt(_0x431f15(0x1f0))/0x3+parseInt(_0x431f15(0x1eb))/0x4*(-parseInt(_0x431f15(0x1f2))/0x5)+parseInt(_0x431f15(0x1ed))/0x6+parseInt(_0x431f15(0x1ee))/0x7*(-parseInt(_0x431f15(0x1ef))/0x8)+parseInt(_0x431f15(0x1ec))/0x9;if(_0xd89bd4===_0x56b2e2)break;else _0x4e3f71['push'](_0x4e3f71['shift']());}catch(_0x53eb18){_0x4e3f71['push'](_0x4e3f71['shift']());}}}(_0x31c6,0x3201e));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x31c6(){var _0xcd7cef=['520932yTqsEB','35660LsdJDn','255261LgEblq','148qLEoHx','7621209ZQhrjr','565608FUQUbx','735455faVdpa','16EluvKi','771060jdKJNP'];_0x31c6=function(){return _0xcd7cef;};return _0x31c6();}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x37cf(_0x1bd24f,_0x4013da){var _0x31c6e6=_0x31c6();return _0x37cf=function(_0x37cf7e,_0x2f894a){_0x37cf7e=_0x37cf7e-0x1ea;var _0xdfa8e5=_0x31c6e6[_0x37cf7e];return _0xdfa8e5;},_0x37cf(_0x1bd24f,_0x4013da);}export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf5575c=_0x4ba0;function _0x4ba0(_0x8cce31,_0x4b5f76){const _0x4e5859=_0x4e58();return _0x4ba0=function(_0x4ba027,_0x12662f){_0x4ba027=_0x4ba027-0xef;let _0x3500c6=_0x4e5859[_0x4ba027];return _0x3500c6;},_0x4ba0(_0x8cce31,_0x4b5f76);}function _0x4e58(){const _0x2f4fb2=['448912YtfcjA','values','2809255vuleQg','getElementKey','name','delete','647742zVsRKs','flat','add','reset','createRangeOn','remove','position','56048lVCyWc','length','$text','set','element','12xLHxNU','16376152LlZpjV','clear','$graveyard','root','push','insert','881366oskSkQ','getItems','504590LFQGNd','elementName','35TpOPMh','rootName','type','_getElementKey','_elementName','getChanges','1ZLJMYV','from','has','_model','slice','nodeAfter','get','9vUqrtL','_trackedElements','attributes','477inEEWW','187PSajid'];_0x4e58=function(){return _0x2f4fb2;};return _0x4e58();}(function(_0x2d3e89,_0x2a3586){const _0x40e463=_0x4ba0,_0x42f082=_0x2d3e89();while(!![]){try{const _0x28fba5=-parseInt(_0x40e463(0xfe))/0x1*(-parseInt(_0x40e463(0xf4))/0x2)+parseInt(_0x40e463(0x105))/0x3*(-parseInt(_0x40e463(0x10a))/0x4)+parseInt(_0x40e463(0x10c))/0x5+-parseInt(_0x40e463(0x110))/0x6*(-parseInt(_0x40e463(0xf8))/0x7)+-parseInt(_0x40e463(0x117))/0x8*(parseInt(_0x40e463(0x108))/0x9)+parseInt(_0x40e463(0xf6))/0xa*(parseInt(_0x40e463(0x109))/0xb)+parseInt(_0x40e463(0x11c))/0xc*(-parseInt(_0x40e463(0x11d))/0xd);if(_0x28fba5===_0x2a3586)break;else _0x42f082['push'](_0x42f082['shift']());}catch(_0x12ee3b){_0x42f082['push'](_0x42f082['shift']());}}}(_0x4e58,0x69920));export class ModelElementTracker{[_0xf5575c(0x101)];[_0xf5575c(0xfc)];[_0xf5575c(0xfb)];[_0xf5575c(0x106)]=new Map();constructor(_0x4c55d4,_0x5bf581){const _0x138d87=_0xf5575c;this[_0x138d87(0x101)]=_0x4c55d4,this[_0x138d87(0xfc)]=_0x5bf581[_0x138d87(0xf7)],this[_0x138d87(0xfb)]=_0x5bf581[_0x138d87(0x10d)];}[_0xf5575c(0x113)](){const _0x174384=_0xf5575c;this[_0x174384(0x106)][_0x174384(0xef)]();}[_0xf5575c(0xfd)](_0x3ee2f7){const _0x2816b9=_0xf5575c,_0x1bfb5b=new Set(),_0xd7341d=new Map();for(const _0x577594 of _0x3ee2f7){if(_0x2816b9(0xf3)===_0x577594[_0x2816b9(0xfa)]&&_0x2816b9(0x119)!==_0x577594[_0x2816b9(0x10e)]&&_0x577594[_0x2816b9(0x116)][_0x2816b9(0x103)]){const _0x14219b=this[_0x2816b9(0x101)][_0x2816b9(0x114)](_0x577594[_0x2816b9(0x116)][_0x2816b9(0x103)]);for(const _0x44ab00 of _0x14219b[_0x2816b9(0xf5)]()){if(!_0x44ab00['is'](_0x2816b9(0x11b),this[_0x2816b9(0xfc)]))continue;const _0x2f7d7b=this[_0x2816b9(0xfb)](_0x44ab00);_0xd7341d[_0x2816b9(0x100)](_0x2f7d7b)||_0xd7341d[_0x2816b9(0x11a)](_0x2f7d7b,[]),_0xd7341d[_0x2816b9(0x104)](_0x2f7d7b)[_0x2816b9(0xf2)](_0x44ab00);}}if(_0x2816b9(0x115)===_0x577594[_0x2816b9(0xfa)]&&_0x577594[_0x2816b9(0x10e)]===this[_0x2816b9(0xfc)]){const _0x87cfd0=this[_0x2816b9(0xfb)]({'getAttribute':_0x22685f=>_0x577594[_0x2816b9(0x107)][_0x2816b9(0x104)](_0x22685f)});_0x1bfb5b[_0x2816b9(0x112)](_0x87cfd0);}}for(const [_0x3ad537,_0x239083]of this[_0x2816b9(0x106)])_0x2816b9(0xf0)===_0x239083[_0x2816b9(0xf1)][_0x2816b9(0xf9)]&&_0x1bfb5b[_0x2816b9(0x112)](_0x3ad537);for(const _0x2cbb12 of _0x1bfb5b)this[_0x2816b9(0x106)][_0x2816b9(0x10f)](_0x2cbb12);for(const [_0x525826,_0x16b9ab]of _0xd7341d)this[_0x2816b9(0x106)][_0x2816b9(0x11a)](_0x525826,_0x16b9ab[_0x16b9ab[_0x2816b9(0x118)]-0x1]);const _0x21a351=new Set();for(const [_0x5993ef,_0x24f515]of _0xd7341d)_0x1bfb5b[_0x2816b9(0x100)](_0x5993ef)&&(_0x21a351[_0x2816b9(0x112)](_0x24f515[0x0]),_0x24f515[_0x2816b9(0x118)]>0x1?_0xd7341d[_0x2816b9(0x11a)](_0x5993ef,_0x24f515[_0x2816b9(0x102)](0x1)):_0xd7341d[_0x2816b9(0x10f)](_0x5993ef),_0x1bfb5b[_0x2816b9(0x10f)](_0x5993ef));return{'removed':Array[_0x2816b9(0xff)](_0x1bfb5b),'inserted':Array[_0x2816b9(0xff)](_0xd7341d[_0x2816b9(0x10b)]())[_0x2816b9(0x111)](),'moved':Array[_0x2816b9(0xff)](_0x21a351)};}}
|