@ckeditor/ckeditor5-footnotes 47.2.0-alpha.6 → 47.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x36502f}from'ckeditor5/src/core.js';import{isWidget as _0x128445,toWidget as _0x533e17,toWidgetEditable as _0xcc3664}from'ckeditor5/src/widget.js';import{uid as _0x26d446}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4571b5,ClickObserver as _0x2722f0}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x488683}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xa39933}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x36502f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x488683];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x46b62d}=this;_0x46b62d['config']['define']('footnotes.multiBlock',!0x0),_0x46b62d['commands']['add']('insertFootnote',new _0xa39933(_0x46b62d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x54b2d8){const _0x310cbe=_0x104e72([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]),_0x23b0ea=0x47a28506,_0x36a758=0x47a5fd26^_0x23b0ea,_0x29adb8=window[_0x104e72([0x44,0x61,0x74,0x65])][_0x104e72([0x6e,0x6f,0x77])](),_0x30ee02=_0x54b2d8[_0x104e72([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x448f2a=new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487046=>{_0x30ee02[_0x104e72([0x6f,0x6e,0x63,0x65])](_0x104e72([0x72,0x65,0x61,0x64,0x79]),_0x487046);}),_0x294145={[_0x104e72([0x6b,0x74,0x79])]:_0x104e72([0x45,0x43]),[_0x104e72([0x75,0x73,0x65])]:_0x104e72([0x73,0x69,0x67]),[_0x104e72([0x63,0x72,0x76])]:_0x104e72([0x50,0x2d,0x32,0x35,0x36]),[_0x104e72([0x78])]:_0x104e72([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]),[_0x104e72([0x79])]:_0x104e72([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]),[_0x104e72([0x61,0x6c,0x67])]:_0x104e72([0x45,0x53,0x32,0x35,0x36])},_0x14efe7=_0x30ee02[_0x104e72([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x104e72([0x67,0x65,0x74])](_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x547a42(){let _0x3d86ee,_0x196cea=null,_0x18a7a2=null;try{if(_0x14efe7==_0x104e72([0x47,0x50,0x4c]))return _0x104e72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d86ee=_0x2d8b14(),!_0x3d86ee)return _0x104e72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d86ee[_0x104e72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18a7a2=_0x83a43(_0x3d86ee[_0x104e72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d86ee[_0x104e72([0x6a,0x74,0x69])])),await _0x37d061()?_0x43faf4()?_0x7c86b1()?_0x104e72([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x269858()?(_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x104e72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x196cea=_0x3116fc(_0x104e72([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x104e72([0x74,0x72,0x69,0x61,0x6c])&&(_0x196cea=_0x3116fc(_0x104e72([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13ed7()):_0x104e72([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x104e72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x104e72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x104e72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7c86b1(){const _0x1fbe5e=[_0x104e72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x104e72([0x74,0x72,0x69,0x61,0x6c])][_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29adb8/0x3e8:0xe10*_0x36a758;return _0x3d86ee[_0x104e72([0x65,0x78,0x70])]<_0x1fbe5e;}function _0x43faf4(){const _0x268a42=_0x3d86ee[_0x104e72([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x268a42&&(!!_0x268a42[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e72([0x2a]))||!!_0x268a42[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e72([0x46,0x4f,0x4f])));}function _0x269858(){const _0x57d093=_0x3d86ee[_0x104e72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57d093||0x0==_0x57d093[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2ca7c5}=new URL(window[_0x104e72([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x57d093[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ca7c5))return!0x0;const _0x25162c=_0x2ca7c5[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e]));return _0x57d093[_0x104e72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5700d2=>_0x5700d2[_0x104e72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x104e72([0x2a])))[_0x104e72([0x6d,0x61,0x70])](_0x4f9eb1=>_0x4f9eb1[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e])))[_0x104e72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4650fc=>_0x4650fc[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25162c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104e72([0x6d,0x61,0x70])](_0x35a5b1=>Array(_0x25162c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35a5b1[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x104e72([0x66,0x69,0x6c,0x6c])](_0x35a5b1[0x0]===_0x104e72([0x2a])?_0x104e72([0x2a]):'')[_0x104e72([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35a5b1))[_0x104e72([0x73,0x6f,0x6d,0x65])](_0x54995c=>_0x25162c[_0x104e72([0x65,0x76,0x65,0x72,0x79])]((_0x4c9ac9,_0x537325)=>_0x54995c[_0x537325]===_0x4c9ac9||_0x54995c[_0x537325]===_0x104e72([0x2a])));}function _0x13ed7(){return _0x196cea&&_0x18a7a2?new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x490fbb,_0x42d6c1)=>{_0x196cea[_0x104e72([0x74,0x68,0x65,0x6e])](_0x490fbb,_0x42d6c1),_0x18a7a2[_0x104e72([0x74,0x68,0x65,0x6e])](_0x4ea8d1=>{_0x4ea8d1!=_0x104e72([0x56,0x61,0x6c,0x69,0x64])&&_0x490fbb(_0x4ea8d1);},_0x42d6c1);}):_0x196cea||_0x18a7a2||_0x104e72([0x56,0x61,0x6c,0x69,0x64]);}}function _0x83a43(_0x1b2a58,_0x54c628){return new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183fc7=>{if(_0x263dd6())return _0x183fc7(_0x104e72([0x56,0x61,0x6c,0x69,0x64]));_0x3e5165(),_0x30ee02[_0x104e72([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x104e72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c0e51=!0x1;const _0x5e8d25=_0x26d446();function _0x5152ec(_0x5e5a60){return!!_0x5e5a60&&(typeof _0x5e5a60===_0x104e72([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e5a60===_0x104e72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e5a60[_0x104e72([0x74,0x68,0x65,0x6e])]===_0x104e72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e5a60[_0x104e72([0x63,0x61,0x74,0x63,0x68])]===_0x104e72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7d54f4(_0x4fa690){_0x2f0a94(_0x4fa690)[_0x104e72([0x74,0x68,0x65,0x6e])](_0x440f87=>{if(!_0x440f87||_0x440f87[_0x104e72([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x104e72([0x6f,0x6b]))return _0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4ce211(_0x324c16(_0x5e8d25+_0x54c628))!=_0x440f87[_0x104e72([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x104e72([0x56,0x61,0x6c,0x69,0x64]);})[_0x104e72([0x74,0x68,0x65,0x6e])](_0x179bdd=>(_0x193624(),_0x179bdd),()=>{const _0x4fa4a2=_0x3edd72();return null==_0x4fa4a2?(_0x193624(),_0x104e72([0x56,0x61,0x6c,0x69,0x64])):_0x104e72(_0x29adb8-_0x4fa4a2>(0x63ae0106^_0x23b0ea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x104e72([0x74,0x68,0x65,0x6e])](_0x183fc7)[_0x104e72([0x63,0x61,0x74,0x63,0x68])](()=>{_0x183fc7(_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ae67e=0x47946b86^_0x23b0ea;function _0x193624(){const _0x57bce6=_0x104e72([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ce211(_0x324c16(_0x1b2a58)),_0x19257b=_0x3c744c(_0x4ce211(window[_0x104e72([0x4d,0x61,0x74,0x68])][_0x104e72([0x63,0x65,0x69,0x6c])](_0x29adb8/_0x2ae67e)));window[_0x104e72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104e72([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57bce6,_0x19257b);}function _0x3edd72(){const _0x3881c1=_0x104e72([0x6c,0x6c,0x63,0x74,0x2d])+_0x4ce211(_0x324c16(_0x1b2a58)),_0x1d8fce=window[_0x104e72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x104e72([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3881c1);return _0x1d8fce?window[_0x104e72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c744c(_0x1d8fce),0x10)*_0x2ae67e:null;}function _0x2f0a94(_0x6fd17e){return new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x257908,_0x315432)=>{_0x6fd17e[_0x104e72([0x74,0x68,0x65,0x6e])](_0x257908,_0x315432),window[_0x104e72([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x315432,0x47a351c6^_0x23b0ea);});}}_0x30ee02[_0x104e72([0x6f,0x6e])](_0x104e72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xda7ae1,_0x20ace2)=>{if(_0x20ace2[0x0]!=_0x1b2a58)return _0x183fc7(_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20ace2[0x1]={..._0x20ace2[0x1],[_0x104e72([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e8d25};},{[_0x104e72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104e72([0x68,0x69,0x67,0x68])}),_0x30ee02[_0x104e72([0x6f,0x6e])](_0x104e72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53507f=>{_0x5152ec(_0x53507f[_0x104e72([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c0e51=!0x0,_0x7d54f4(_0x53507f[_0x104e72([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x104e72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x104e72([0x6c,0x6f,0x77])}),_0x448f2a[_0x104e72([0x74,0x68,0x65,0x6e])](()=>{_0x4c0e51||_0x183fc7(_0x104e72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x263dd6(){return _0x30ee02[_0x104e72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104e72([0x76,0x69,0x65,0x77])][_0x104e72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x104e72([0x61,0x75,0x74,0x6f]);}function _0x3e5165(){_0x30ee02[_0x104e72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x104e72([0x76,0x69,0x65,0x77])][_0x104e72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x104e72([0x61,0x75,0x74,0x6f]);}}function _0x3116fc(_0x2b0345){const _0x4e511c=[new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x87abcd=>setTimeout(_0x87abcd,0x47abbbca^_0x23b0ea)),_0x448f2a[_0x104e72([0x74,0x68,0x65,0x6e])](()=>new window[(_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fd613=>{let _0x385c57=0x0;_0x30ee02[_0x104e72([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e72([0x6f,0x6e])](_0x104e72([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bb862,_0x209455)=>{_0x209455[0x0][_0x104e72([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x385c57++,_0x385c57==(0x47a284fe^_0x23b0ea)&&(_0x1fd613(),_0x2bb862[_0x104e72([0x6f,0x66,0x66])]());});}))];return window[_0x104e72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x104e72([0x72,0x61,0x63,0x65])](_0x4e511c)[_0x104e72([0x74,0x68,0x65,0x6e])](()=>_0x2b0345);}async function _0x43d0d9(){await _0x448f2a,_0x30ee02[_0x104e72([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e72([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3246b4,_0x30ee02[_0x104e72([0x6d,0x6f,0x64,0x65,0x6c])][_0x104e72([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3246b4,_0x30ee02[_0x104e72([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x104e72([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x458323(_0x11d7cc){const _0x32d38f=_0x27faf0();_0x30ee02[_0x32d38f]=_0x104e72([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11d7cc,_0x11d7cc!=_0x104e72([0x56,0x61,0x6c,0x69,0x64])&&_0x43d0d9();}function _0x27faf0(){const _0x75921e=window[_0x104e72([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x104e72([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x104e72([0x6e,0x6f,0x77])]())[_0x104e72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x104e72([0x2e]),'');let _0x3dcfd5=_0x104e72([0x75]);for(let _0x183dd9=0x0;_0x183dd9<_0x75921e[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x183dd9+=0x2){let _0x5b64d4=window[_0x104e72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x75921e[_0x104e72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x183dd9,_0x183dd9+0x2));_0x5b64d4>=_0x310cbe[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b64d4-=_0x310cbe[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3dcfd5+=_0x310cbe[_0x5b64d4];}return _0x3dcfd5;}function _0x2d8b14(){const _0x29437a=_0x14efe7[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e]));if(0x3!=_0x29437a[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b827c(_0x29437a[0x1]);function _0x1b827c(_0x5247fe){const _0x3e4ce1=_0x456d5f(_0x5247fe);return _0x3e4ce1&&_0x8f2aad()?_0x3e4ce1:null;function _0x8f2aad(){const _0xf8c70c=_0x3e4ce1[_0x104e72([0x6a,0x74,0x69])],_0x5b04e3=window[_0x104e72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8c70c[_0x104e72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf8c70c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6dd0b2={..._0x3e4ce1,[_0x104e72([0x6a,0x74,0x69])]:_0xf8c70c[_0x104e72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf8c70c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6dd0b2[_0x104e72([0x76,0x63])],_0x324c16(_0x6dd0b2)==_0x5b04e3;}}}async function _0x37d061(){let _0x54000a=!0x0;try{const _0x27dae0=_0x14efe7[_0x104e72([0x73,0x70,0x6c,0x69,0x74])](_0x104e72([0x2e])),[_0x38f191,_0x119a5c,_0x14119b]=_0x27dae0;return _0x529e13(_0x38f191),await _0xaaf817(_0x38f191,_0x119a5c,_0x14119b),_0x54000a;}catch{return!0x1;}function _0x529e13(_0x455054){const _0x51b704=_0x456d5f(_0x455054);_0x51b704&&_0x51b704[_0x104e72([0x61,0x6c,0x67])]==_0x104e72([0x45,0x53,0x32,0x35,0x36])||(_0x54000a=!0x1);}async function _0xaaf817(_0x5da90d,_0x373a1b,_0x2a8774){const _0x5bd6b3=window[_0x104e72([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x104e72([0x66,0x72,0x6f,0x6d])](_0x331079(_0x2a8774),_0x14800e=>_0x14800e[_0x104e72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x80439f=new window[(_0x104e72([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x104e72([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5da90d+_0x104e72([0x2e])+_0x373a1b),_0x173dc6=window[_0x104e72([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x104e72([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x173dc6)return;const _0x217a7a=await _0x173dc6[_0x104e72([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x104e72([0x6a,0x77,0x6b]),_0x294145,{[_0x104e72([0x6e,0x61,0x6d,0x65])]:_0x104e72([0x45,0x43,0x44,0x53,0x41]),[_0x104e72([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x104e72([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x104e72([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x173dc6[_0x104e72([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x104e72([0x6e,0x61,0x6d,0x65])]:_0x104e72([0x45,0x43,0x44,0x53,0x41]),[_0x104e72([0x68,0x61,0x73,0x68])]:{[_0x104e72([0x6e,0x61,0x6d,0x65])]:_0x104e72([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x217a7a,_0x5bd6b3,_0x80439f)||(_0x54000a=!0x1);}}function _0x456d5f(_0x2cb338){return _0x2cb338[_0x104e72([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x104e72([0x65,0x79]))?JSON[_0x104e72([0x70,0x61,0x72,0x73,0x65])](_0x331079(_0x2cb338)):null;}function _0x331079(_0x51bf68){return window[_0x104e72([0x61,0x74,0x6f,0x62])](_0x51bf68[_0x104e72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x104e72([0x2b]))[_0x104e72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x104e72([0x2f])));}function _0x324c16(_0xefa5a3){let _0x571d8f=0x1505;function _0x47870f(_0x3ad06c){for(let _0x6f78f9=0x0;_0x6f78f9<_0x3ad06c[_0x104e72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6f78f9++){const _0x15a393=_0x3ad06c[_0x104e72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6f78f9);_0x571d8f=(_0x571d8f<<0x5)+_0x571d8f+_0x15a393,_0x571d8f&=_0x571d8f;}}function _0x48a66e(_0x34791f){Array[_0x104e72([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34791f)?_0x34791f[_0x104e72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x48a66e):_0x34791f&&typeof _0x34791f==_0x104e72([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x104e72([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34791f)[_0x104e72([0x73,0x6f,0x72,0x74])]()[_0x104e72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x755039,_0x33f50b])=>{_0x47870f(_0x755039),_0x48a66e(_0x33f50b);}):_0x47870f(window[_0x104e72([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34791f));}return _0x48a66e(_0xefa5a3),_0x571d8f>>>0x0;}function _0x4ce211(_0x55cb03){return _0x55cb03[_0x104e72([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x104e72([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x104e72([0x30]));}function _0x3c744c(_0x2250f0){return _0x2250f0[_0x104e72([0x73,0x70,0x6c,0x69,0x74])]('')[_0x104e72([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x104e72([0x6a,0x6f,0x69,0x6e])]('');}function _0x3246b4(){}function _0x104e72(_0x402f6b){return _0x402f6b['map'](_0x537f12=>String['fromCharCode'](_0x537f12))['join']('');}_0x458323(await _0x547a42());}(this);}['_moveSelectionToFootnoteDefinition'](_0xec46a1){const {plugins:_0x2d2b8a,editing:_0x5e6763,model:_0x5122f6}=this['editor'],_0x2e5917=_0x2d2b8a['get'](_0x488683)['getFootnote'](_0xec46a1);return!!_0x2e5917&&(_0x5122f6['change'](_0x357d7b=>{_0x357d7b['setSelection'](_0x357d7b['createPositionAt'](_0x2e5917['definition'],'end'));}),_0x5e6763['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1b1dd6){const {plugins:_0xe77851,editing:_0x59fbcc,model:_0x255cf5}=this['editor'],_0x585a2b=_0xe77851['get'](_0x488683)['getFootnote'](_0x1b1dd6);return!!_0x585a2b&&(_0x255cf5['change'](_0x1371ab=>{_0x1371ab['setSelection'](_0x585a2b['reference'],'on');}),_0x59fbcc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x11989e}=this['editor']['model'],_0x151139=this['editor']['config']['get']('footnotes.multiBlock');_0x11989e['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x11989e['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x11989e['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x151139?_0x11989e['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x11989e['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x11989e['addChildCheck'](_0x156c71=>{for(const _0x55c9e7 of _0x156c71)if('footnoteDefinition'===_0x55c9e7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x35b62b}=this,{conversion:_0x43521e,editing:_0x1a6872}=_0x35b62b,{t:t}=_0x35b62b['locale'];_0x43521e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x10edfa,{writer:_0x4798c5,consumable:_0x235180})=>{const _0x19cce5=_0x10edfa['getChild'](0x0);if(!_0x19cce5||!_0x19cce5['is']('element','a'))return null;const _0x19bac4=_0x19cce5['getAttribute']('href')||'';if(!_0x19bac4['startsWith']('#'))return null;const _0x5b9ec6=_0x19bac4['replace'](/^#/,'');if(!_0x5b9ec6)return null;_0x235180['consume'](_0x19cce5,{'name':!0x0,'attributes':['href']});for(const {item:_0x544585}of _0x1a6872['view']['createRangeIn'](_0x19cce5))_0x544585['is']('$textProxy')?_0x235180['consume'](_0x544585['textNode'],{'name':!0x0}):_0x544585['is']('element')&&_0x235180['consume'](_0x544585,{'name':!0x0});return _0x4798c5['createElement']('footnoteRef',{'footnoteId':_0x5b9ec6});}}),_0x43521e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1637bc,{writer:_0x188d0f})=>D(_0x1637bc,_0x188d0f)}),_0x43521e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x196edf,{writer:_0x443430})=>{const _0x22289c=_0x196edf['getAttribute']('footnoteCounter');return _0x533e17(D(_0x196edf,_0x443430),_0x443430,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x22289c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2d09ac}=this,{t:t}=_0x2d09ac['locale'],{conversion:_0x4d8a81}=_0x2d09ac;_0x4d8a81['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4d8a81['for']('upcast')['add'](_0x5b2dc1=>{_0x5b2dc1['on']('element:ol',(_0x17e265,_0x2f1005,_0x4cc574)=>{const _0x3f342f=_0x2f1005['viewItem'];if(!_0x3f342f['hasClass']('footnotes-list')||!_0x2f1005['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4cc574['consumable']['consume'](_0x3f342f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3c2657,modelCursor:_0x5f2a90}=_0x4cc574['convertChildren'](_0x2f1005['viewItem'],_0x2f1005['modelCursor']);_0x2f1005['modelRange']=_0x3c2657,_0x2f1005['modelCursor']=_0x5f2a90;}),_0x5b2dc1['on']('element:hr',(_0xa7abf4,_0x390456,_0xba33ae)=>{const _0x33d023=_0x390456['viewItem'];_0x33d023['hasClass']('footnotes-divider')&&_0x390456['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xba33ae['consumable']['consume'](_0x33d023,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4d8a81['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2d5885,{writer:_0x5da7df})=>v(_0x5da7df)}),_0x4d8a81['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x46bd1b,{writer:_0x4acdb2})=>{const _0x42d4ef=v(_0x4acdb2,{'data-footnotes-list-label':t('Footnotes')}),_0x31209e=_0x533e17(_0x42d4ef,_0x4acdb2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4acdb2['setCustomProperty']('footnotesDefinitions',!0x0,_0x31209e),_0x31209e;}});}['_defineDefinitionConverters'](){const {editor:_0x3c65d7}=this,{conversion:_0x43f276,locale:_0x2f5bde}=_0x3c65d7,_0x2cbc22=_0x3c65d7['config']['get']('footnotes.multiBlock');_0x43f276['for']('upcast')['add'](_0x118600=>{_0x118600['on']('element:li',(_0x1fcfa5,_0x39492b,_0xfa0915)=>{const _0x4dc467=_0x39492b['viewItem'];if(!_0x4dc467['hasClass']('footnote-definition')||!_0x4dc467['getAttribute']('id'))return;const _0x375b1c=_0x4dc467['parent'];if(!_0x375b1c['is']('element','ol')||!_0x375b1c['hasClass']('footnotes-list'))return;if(!_0xfa0915['consumable']['test'](_0x4dc467,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d8371=_0xfa0915['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4dc467['getAttribute']('id')});if(!_0xfa0915['safeInsert'](_0x3d8371,_0x39492b['modelCursor']))return;_0xfa0915['consumable']['consume'](_0x4dc467,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4ddb80=Array['from'](_0x4dc467['getChildren']())['find'](_0x2eb10d=>_0x2eb10d['is']('element')&&_0x2eb10d['hasClass']('footnote-content'));for(const _0x116cc5 of _0x4dc467['getChildren']())_0x116cc5['is']('element')&&(_0xfa0915['consumable']['consume'](_0x116cc5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xfa0915['consumable']['consume'](_0x116cc5,{'name':!0x0,'classes':'footnote-content'}));if(_0x4ddb80){if(_0x2cbc22)_0xfa0915['convertChildren'](_0x4ddb80,_0x3d8371);else{const _0x1f658a=_0xfa0915['writer']['createElement']('footnoteInlineContent');_0xfa0915['writer']['insert'](_0x1f658a,_0x3d8371),_0xfa0915['convertChildren'](_0x4ddb80,_0x1f658a);}}_0xfa0915['updateConversionResult'](_0x3d8371,_0x39492b);});}),_0x43f276['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x483d5c,{writer:_0x4c1c92})=>b(_0x483d5c,_0x4c1c92,_0x2f5bde,{'dataPipeline':!0x0})}),_0x43f276['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x248003,{writer:_0x46526c})=>b(_0x248003,_0x46526c,_0x2f5bde)});}['_defineBogusParagraphConverters'](){const {editor:_0x21f636}=this,{conversion:_0x5adb8a}=_0x21f636;_0x21f636['config']['get']('footnotes.multiBlock')?(_0x5adb8a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5adb8a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x21f636['model']['document'],'change:data',()=>{!function(_0x16810a,_0x28b4f8){const _0x15eccb=_0x16810a['document']['differ'],_0x5dea4e=new Set();for(const _0x24ebce of _0x15eccb['getChanges']()){const _0x5c9053='attribute'==_0x24ebce['type']?_0x24ebce['range']['start']['parent']:_0x24ebce['position']['parent'];_0x5c9053['is']('element','footnoteDefinition')&&_0x5dea4e['add'](_0x5c9053);}for(const _0x21f38e of _0x5dea4e['values']()){const _0x1d8190=Array['from'](_0x21f38e['getChildren']())['filter'](_0x475f1e=>g(_0x475f1e,_0x28b4f8['mapper']));for(const _0x5d826f of _0x1d8190)_0x28b4f8['reconvertItem'](_0x5d826f);}}(_0x21f636['model'],_0x21f636['editing']);})):(_0x5adb8a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5adb8a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xc19182,{writer:_0x317d65})=>{const _0x5cef9a=_0x317d65['createContainerElement']('span');return _0x317d65['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5cef9a),_0x5cef9a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x180e53}=this,{editing:_0x331bad,t:t}=_0x180e53,_0x3b6a47=_0x180e53['model']['document']['selection'];_0x180e53['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x180e53['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x331bad['view']['document'],'enter',(_0x3dd827,_0x5dbc92)=>{const _0x4d7e9a=function(_0x588902){const _0x382e39=_0x588902['getSelectedElement']();if(_0x382e39?.['is']('element','footnoteRef'))return _0x382e39;return null;}(_0x3b6a47);if(_0x4d7e9a){const _0x20573f=_0x4d7e9a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x20573f),_0x5dbc92['preventDefault'](),_0x3dd827['stop']();}},{'context':_0x128445});}['_defineClickHandlers'](){const {editor:_0x444b78}=this,{editing:_0x113f3a}=_0x444b78;_0x444b78['editing']['view']['addObserver'](_0x4571b5),_0x444b78['editing']['view']['addObserver'](_0x2722f0);let _0x3f9bed=!0x1;this['listenTo'](_0x113f3a['view']['document'],'pointerdown',(_0x22e6b0,_0x365057)=>{const {target:_0x3b92b0}=_0x365057,_0x46498d=_0x113f3a['view']['document']['selection'];_0x3f9bed=!!(_0x3b92b0?.['is']('element','a')&&_0x3b92b0['parent']?.['is']('element','sup')&&_0x3b92b0['parent']['hasClass']('footnote'))&&_0x46498d['getSelectedElement']()===_0x3b92b0['parent'];},{'priority':'high'}),this['listenTo'](_0x113f3a['view']['document'],'click',(_0x4fc287,_0x34ecd0)=>{const {target:_0x5e770}=_0x34ecd0;if(!_0x5e770?.['is']('element','a'))return;if(_0x5e770['parent']?.['is']('element','sup')&&_0x5e770['parent']['hasClass']('footnote')&&!_0x3f9bed)return void _0x34ecd0['preventDefault']();let _0x42fe8c=_0x5e770['getAttribute']('href');if(!_0x42fe8c?.['startsWith']('#'))return;_0x42fe8c=_0x42fe8c['slice'](0x1);let _0x1aef4e=!0x1;(_0x42fe8c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x42fe8c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x42fe8c))&&(_0x1aef4e=!0x0),_0x1aef4e&&(_0x34ecd0['preventDefault'](),_0x4fc287['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x10635b}={}){return(_0x519aa3,{writer:_0x9efa46})=>{if(!p(_0x519aa3))return null;if(!_0x10635b)return _0x9efa46['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4dfdd1=_0x9efa46['createContainerElement']('p');return _0x9efa46['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4dfdd1),_0x4dfdd1;};}function p(_0x346a5b){const {parent:_0x184917}=_0x346a5b;if(!_0x184917?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x184917['childCount'])return!0x1;for(const _0x3a76ec of _0x346a5b['getAttributeKeys']())if(!_0x3a76ec['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3a76ec)return!0x1;return!0x0;}function g(_0x28124b,_0x56fcf1){if(!_0x28124b['is']('element','paragraph'))return!0x1;const _0x17c7dd=_0x56fcf1['toViewElement'](_0x28124b);return!!_0x17c7dd&&p(_0x28124b)!==_0x17c7dd['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x9113aa){return _0x128445(_0x9113aa)&&_0x9113aa['is']('containerElement')&&!!_0x9113aa['getCustomProperty']('footnotesDefinitions');}function v(_0x1ae90d,_0x530dcb={}){const _0x3ae962=_0x1ae90d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2c3f7d=_0x1ae90d['createContainerElement']('ol',{'class':'footnotes-list'},_0x1ae90d['createSlot']());return _0x1ae90d['createContainerElement']('div',{'class':'footnotes',..._0x530dcb},[_0x3ae962,_0x2c3f7d]);}function D(_0x23efe0,_0x466065){const _0x30db04=_0x23efe0['getAttribute']('footnoteId'),_0x213646=_0x23efe0['getAttribute']('footnoteCounter'),_0x4adaee=_0x466065['createUIElement']('a',{'href':'#'+_0x30db04},function(_0x49a377){const _0x1a560e=this['toDomElement'](_0x49a377);return _0x1a560e['textContent']=_0x213646,_0x1a560e;}),_0x726f0c=_0x466065['createContainerElement']('sup',{'id':'ref-'+_0x30db04,'class':'footnote'},[_0x4adaee]);return _0x726f0c['getFillerOffset']=()=>null,_0x726f0c;}function b(_0x328718,_0x5e170a,_0x1b8aa3,{dataPipeline:_0x3f4c61}={}){const {t:t}=_0x1b8aa3,_0x5a8808=_0x328718['getAttribute']('footnoteId'),_0x325bd3=_0x5e170a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5a8808},function(_0x5b7f52){const _0x2af2c9=this['toDomElement'](_0x5b7f52);return _0x2af2c9['innerText']='^',_0x2af2c9;}),_0x597c51=_0x3f4c61?_0x5e170a['createContainerElement']('div',{'class':'footnote-content'}):_0xcc3664(_0x5e170a['createEditableElement']('div',{'class':'footnote-content'}),_0x5e170a,{'label':t('Footnote\x20content.')});return _0x5e170a['insert'](_0x5e170a['createPositionAt'](_0x597c51,0x0),_0x5e170a['createSlot']()),_0x5e170a['createContainerElement']('li',{'class':'footnote-definition','id':_0x5a8808},[_0x325bd3,_0x597c51]);}
|
|
23
|
+
import{Plugin as _0x3dc7c5}from'ckeditor5/src/core.js';import{isWidget as _0x3b57e8,toWidget as _0x4db1ed,toWidgetEditable as _0x4d6706}from'ckeditor5/src/widget.js';import{uid as _0x180e25}from'ckeditor5/src/utils.js';import{PointerObserver as _0x206bf5,ClickObserver as _0x3ca212}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2d908d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2b93c1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3dc7c5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2d908d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b26af}=this;_0x1b26af['config']['define']('footnotes.multiBlock',!0x0),_0x1b26af['commands']['add']('insertFootnote',new _0x2b93c1(_0x1b26af)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x42bd88){const _0x4c1253=_0x3e34b1([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x296124=0x47a28506,_0x2cc3ae=0x47a5fd3e^_0x296124,_0x11c436=window[_0x3e34b1([0x44,0x61,0x74,0x65])][_0x3e34b1([0x6e,0x6f,0x77])](),_0x5c6173=_0x42bd88[_0x3e34b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3138e7=new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ffbf3=>{_0x5c6173[_0x3e34b1([0x6f,0x6e,0x63,0x65])](_0x3e34b1([0x72,0x65,0x61,0x64,0x79]),_0x1ffbf3);}),_0x42a7f0={[_0x3e34b1([0x6b,0x74,0x79])]:_0x3e34b1([0x45,0x43]),[_0x3e34b1([0x75,0x73,0x65])]:_0x3e34b1([0x73,0x69,0x67]),[_0x3e34b1([0x63,0x72,0x76])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36]),[_0x3e34b1([0x78])]:_0x3e34b1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3e34b1([0x79])]:_0x3e34b1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3e34b1([0x61,0x6c,0x67])]:_0x3e34b1([0x45,0x53,0x32,0x35,0x36])},_0x533ba7=_0x5c6173[_0x3e34b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e34b1([0x67,0x65,0x74])](_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3110dc(){let _0x2a85f1,_0x2c85ba=null,_0x4da3fa=null;try{if(_0x533ba7==_0x3e34b1([0x47,0x50,0x4c]))return _0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a85f1=_0x121fc8(),!_0x2a85f1)return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4da3fa=_0x1f676b(_0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a85f1[_0x3e34b1([0x6a,0x74,0x69])])),await _0x43e91f()?_0x445838()?_0x1aebf7()?_0x3e34b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4230e6()?(_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21f02a()):_0x3e34b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aebf7(){const _0x2e2ba7=[_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])][_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11c436/0x3e8:0xe10*_0x2cc3ae;return _0x2a85f1[_0x3e34b1([0x65,0x78,0x70])]<_0x2e2ba7;}function _0x445838(){const _0x4457fd=_0x2a85f1[_0x3e34b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4457fd&&(!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a]))||!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x46,0x4f,0x4f])));}function _0x4230e6(){const _0x31f70f=_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31f70f||0x0==_0x31f70f[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6550dc}=new URL(window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31f70f[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6550dc))return!0x0;const _0x465623=_0x6550dc[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));return _0x31f70f[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cc063=>_0x4cc063[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a])))[_0x3e34b1([0x6d,0x61,0x70])](_0x2e3706=>_0x2e3706[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])))[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490d13=>_0x490d13[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x6d,0x61,0x70])](_0x526630=>Array(_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x526630[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x66,0x69,0x6c,0x6c])](_0x526630[0x0]===_0x3e34b1([0x2a])?_0x3e34b1([0x2a]):'')[_0x3e34b1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x526630))[_0x3e34b1([0x73,0x6f,0x6d,0x65])](_0x4deab0=>_0x465623[_0x3e34b1([0x65,0x76,0x65,0x72,0x79])]((_0x3091bb,_0x35f20b)=>_0x4deab0[_0x35f20b]===_0x3091bb||_0x4deab0[_0x35f20b]===_0x3e34b1([0x2a])));}function _0x21f02a(){return _0x2c85ba&&_0x4da3fa?new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xab9a49,_0x1ea2fb)=>{_0x2c85ba[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0xab9a49,_0x1ea2fb),_0x4da3fa[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x4eee7d=>{_0x4eee7d!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0xab9a49(_0x4eee7d);},_0x1ea2fb);}):_0x2c85ba||_0x4da3fa||_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f676b(_0x26e2d1,_0x3a4ec1){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x805e49=>{if(_0x420b53())return _0x805e49(_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]));_0x158aea(),_0x5c6173[_0x3e34b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x196068=!0x1;const _0x2106fd=_0x180e25();function _0x182873(_0x1b11fe){return!!_0x1b11fe&&(typeof _0x1b11fe===_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b11fe===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b11fe[_0x3e34b1([0x74,0x68,0x65,0x6e])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b11fe[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17b625(_0x4f3c5f){_0x45902e(_0x4f3c5f)[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x814130=>{if(!_0x814130||_0x814130[_0x3e34b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e34b1([0x6f,0x6b]))return _0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b7d98(_0x15db04(_0x2106fd+_0x3a4ec1))!=_0x814130[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x2b108d=>(_0x879fbe(),_0x2b108d),()=>{const _0x44381b=_0xe07003();return null==_0x44381b?(_0x879fbe(),_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])):_0x3e34b1(_0x11c436-_0x44381b>(0x63ae0106^_0x296124)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x805e49)[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9d5b33=0x47946b86^_0x296124;function _0x879fbe(){const _0x335076=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x29e335=_0x3a2c47(_0x3b7d98(window[_0x3e34b1([0x4d,0x61,0x74,0x68])][_0x3e34b1([0x63,0x65,0x69,0x6c])](_0x11c436/_0x9d5b33)));window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335076,_0x29e335);}function _0xe07003(){const _0x55c3b8=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x3036a3=window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55c3b8);return _0x3036a3?window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a2c47(_0x3036a3),0x10)*_0x9d5b33:null;}function _0x45902e(_0x1974a3){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302006,_0x245a57)=>{_0x1974a3[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x302006,_0x245a57),window[_0x3e34b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x245a57,0x47a351c6^_0x296124);});}}_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ba4d8,_0x21eacb)=>{if(_0x21eacb[0x0]!=_0x26e2d1)return _0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21eacb[0x1]={..._0x21eacb[0x1],[_0x3e34b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2106fd};},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x68,0x69,0x67,0x68])}),_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e21ad=>{_0x182873(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x196068=!0x0,_0x17b625(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x6c,0x6f,0x77])}),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>{_0x196068||_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x420b53(){return _0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e34b1([0x61,0x75,0x74,0x6f]);}function _0x158aea(){_0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e34b1([0x61,0x75,0x74,0x6f]);}}function _0x3dc91a(_0x30e4de){const _0x5460ee=[new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x395d54=>setTimeout(_0x395d54,0x47abbbca^_0x296124)),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eaa61=>{let _0x18236e=0x0;_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x554ce3,_0x48cf04)=>{_0x48cf04[0x0][_0x3e34b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18236e++,_0x18236e==(0x47a284fe^_0x296124)&&(_0x3eaa61(),_0x554ce3[_0x3e34b1([0x6f,0x66,0x66])]());});}))];return window[_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e34b1([0x72,0x61,0x63,0x65])](_0x5460ee)[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>_0x30e4de);}async function _0x96105e(){await _0x3138e7,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d5cb6(_0x5889c6){const _0x4bdfd9=_0x11f8d4();_0x5c6173[_0x4bdfd9]=_0x3e34b1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5889c6,_0x5889c6!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0x96105e();}function _0x11f8d4(){const _0x9d4030=window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e34b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e34b1([0x6e,0x6f,0x77])]())[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e34b1([0x2e]),'');let _0x388fb3=_0x3e34b1([0x75]);for(let _0x158523=0x0;_0x158523<_0x9d4030[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x158523+=0x2){let _0x288142=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9d4030[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x158523,_0x158523+0x2));_0x288142>=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x288142-=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x388fb3+=_0x4c1253[_0x288142];}return _0x388fb3;}function _0x121fc8(){const _0x2bb1ae=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));if(0x3!=_0x2bb1ae[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ba51f(_0x2bb1ae[0x1]);function _0x4ba51f(_0x3738ba){const _0x31bbe3=_0x448284(_0x3738ba);return _0x31bbe3&&_0xdbff72()?_0x31bbe3:null;function _0xdbff72(){const _0x151dd4=_0x31bbe3[_0x3e34b1([0x6a,0x74,0x69])],_0x314447=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x229aa9={..._0x31bbe3,[_0x3e34b1([0x6a,0x74,0x69])]:_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x229aa9[_0x3e34b1([0x76,0x63])],_0x15db04(_0x229aa9)==_0x314447;}}}async function _0x43e91f(){let _0x68aec1=!0x0;try{const _0x19e8f9=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])),[_0x3996a4,_0x46dde7,_0x379276]=_0x19e8f9;return _0x1bbc77(_0x3996a4),await _0x2883e8(_0x3996a4,_0x46dde7,_0x379276),_0x68aec1;}catch{return!0x1;}function _0x1bbc77(_0x58a816){const _0x4a2411=_0x448284(_0x58a816);_0x4a2411&&_0x4a2411[_0x3e34b1([0x61,0x6c,0x67])]==_0x3e34b1([0x45,0x53,0x32,0x35,0x36])||(_0x68aec1=!0x1);}async function _0x2883e8(_0x512bfe,_0x34c5f1,_0x5a6050){const _0x18c7f9=window[_0x3e34b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e34b1([0x66,0x72,0x6f,0x6d])](_0x4cc155(_0x5a6050),_0x43055c=>_0x43055c[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1092d7=new window[(_0x3e34b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e34b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x512bfe+_0x3e34b1([0x2e])+_0x34c5f1),_0x4d698e=window[_0x3e34b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e34b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d698e)return;const _0x40510e=await _0x4d698e[_0x3e34b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e34b1([0x6a,0x77,0x6b]),_0x42a7f0,{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d698e[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x68,0x61,0x73,0x68])]:{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40510e,_0x18c7f9,_0x1092d7)||(_0x68aec1=!0x1);}}function _0x448284(_0x3ffbb4){return _0x3ffbb4[_0x3e34b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e34b1([0x65,0x79]))?JSON[_0x3e34b1([0x70,0x61,0x72,0x73,0x65])](_0x4cc155(_0x3ffbb4)):null;}function _0x4cc155(_0x42e870){return window[_0x3e34b1([0x61,0x74,0x6f,0x62])](_0x42e870[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e34b1([0x2b]))[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e34b1([0x2f])));}function _0x15db04(_0x396f09){let _0x2d6a18=0x1505;function _0x34323c(_0x58b29b){for(let _0x220fea=0x0;_0x220fea<_0x58b29b[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x220fea++){const _0x3726b0=_0x58b29b[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x220fea);_0x2d6a18=(_0x2d6a18<<0x5)+_0x2d6a18+_0x3726b0,_0x2d6a18&=_0x2d6a18;}}function _0x54a97f(_0x3d3917){Array[_0x3e34b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d3917)?_0x3d3917[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54a97f):_0x3d3917&&typeof _0x3d3917==_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e34b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d3917)[_0x3e34b1([0x73,0x6f,0x72,0x74])]()[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20a3f4,_0xdff58b])=>{_0x34323c(_0x20a3f4),_0x54a97f(_0xdff58b);}):_0x34323c(window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d3917));}return _0x54a97f(_0x396f09),_0x2d6a18>>>0x0;}function _0x3b7d98(_0x72abf4){return _0x72abf4[_0x3e34b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e34b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e34b1([0x30]));}function _0x3a2c47(_0x32f9a3){return _0x32f9a3[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e34b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e34b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fe0d4(){}function _0x3e34b1(_0x383405){return _0x383405['map'](_0x11684b=>String['fromCharCode'](_0x11684b))['join']('');}_0x5d5cb6(await _0x3110dc());}(this);}['_moveSelectionToFootnoteDefinition'](_0x8f4d29){const {plugins:_0x559f03,editing:_0x49390e,model:_0x30750b}=this['editor'],_0x5b975e=_0x559f03['get'](_0x2d908d)['getFootnote'](_0x8f4d29);return!!_0x5b975e&&(_0x30750b['change'](_0x232446=>{_0x232446['setSelection'](_0x232446['createPositionAt'](_0x5b975e['definition'],'end'));}),_0x49390e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5d41ed){const {plugins:_0x5687e6,editing:_0xc669cf,model:_0x16b111}=this['editor'],_0x42e12a=_0x5687e6['get'](_0x2d908d)['getFootnote'](_0x5d41ed);return!!_0x42e12a&&(_0x16b111['change'](_0x54a3cc=>{_0x54a3cc['setSelection'](_0x42e12a['reference'],'on');}),_0xc669cf['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x50ba46}=this['editor']['model'],_0x5e8796=this['editor']['config']['get']('footnotes.multiBlock');_0x50ba46['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x50ba46['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x50ba46['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5e8796?_0x50ba46['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x50ba46['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x50ba46['addChildCheck'](_0xa84ddf=>{for(const _0x590ab7 of _0xa84ddf)if('footnoteDefinition'===_0x590ab7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x48a3ba}=this,{conversion:_0x47a732,editing:_0x27f395}=_0x48a3ba,{t:t}=_0x48a3ba['locale'];_0x47a732['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1bb9c4,{writer:_0x15741a,consumable:_0x1c5a8f})=>{const _0x1fa18c=_0x1bb9c4['getChild'](0x0);if(!_0x1fa18c||!_0x1fa18c['is']('element','a'))return null;const _0x452f16=_0x1fa18c['getAttribute']('href')||'';if(!_0x452f16['startsWith']('#'))return null;const _0x24947f=_0x452f16['replace'](/^#/,'');if(!_0x24947f)return null;_0x1c5a8f['consume'](_0x1fa18c,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ece33}of _0x27f395['view']['createRangeIn'](_0x1fa18c))_0x1ece33['is']('$textProxy')?_0x1c5a8f['consume'](_0x1ece33['textNode'],{'name':!0x0}):_0x1ece33['is']('element')&&_0x1c5a8f['consume'](_0x1ece33,{'name':!0x0});return _0x15741a['createElement']('footnoteRef',{'footnoteId':_0x24947f});}}),_0x47a732['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x34d2fd,{writer:_0x5dda3c})=>D(_0x34d2fd,_0x5dda3c)}),_0x47a732['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a407e,{writer:_0x372e11})=>{const _0x4331a7=_0x3a407e['getAttribute']('footnoteCounter');return _0x4db1ed(D(_0x3a407e,_0x372e11),_0x372e11,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4331a7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2042f0}=this,{t:t}=_0x2042f0['locale'],{conversion:_0xf47508}=_0x2042f0;_0xf47508['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xf47508['for']('upcast')['add'](_0x271c0d=>{_0x271c0d['on']('element:ol',(_0x50c55e,_0x4792d3,_0x1fe296)=>{const _0x12448c=_0x4792d3['viewItem'];if(!_0x12448c['hasClass']('footnotes-list')||!_0x4792d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1fe296['consumable']['consume'](_0x12448c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x397167,modelCursor:_0x43ecac}=_0x1fe296['convertChildren'](_0x4792d3['viewItem'],_0x4792d3['modelCursor']);_0x4792d3['modelRange']=_0x397167,_0x4792d3['modelCursor']=_0x43ecac;}),_0x271c0d['on']('element:hr',(_0x1ab0bb,_0x2dbea9,_0x4ff903)=>{const _0x57f1e7=_0x2dbea9['viewItem'];_0x57f1e7['hasClass']('footnotes-divider')&&_0x2dbea9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4ff903['consumable']['consume'](_0x57f1e7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xf47508['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x41bc13,{writer:_0x554773})=>v(_0x554773)}),_0xf47508['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1aebb9,{writer:_0x545435})=>{const _0x3594ed=v(_0x545435,{'data-footnotes-list-label':t('Footnotes')}),_0x377267=_0x4db1ed(_0x3594ed,_0x545435,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x545435['setCustomProperty']('footnotesDefinitions',!0x0,_0x377267),_0x377267;}});}['_defineDefinitionConverters'](){const {editor:_0x305032}=this,{conversion:_0x3c798e,locale:_0x15ce2c}=_0x305032,_0x362031=_0x305032['config']['get']('footnotes.multiBlock');_0x3c798e['for']('upcast')['add'](_0x422399=>{_0x422399['on']('element:li',(_0x569d7d,_0x365a6e,_0x3dc0d6)=>{const _0x191aa4=_0x365a6e['viewItem'];if(!_0x191aa4['hasClass']('footnote-definition')||!_0x191aa4['getAttribute']('id'))return;const _0x221d78=_0x191aa4['parent'];if(!_0x221d78['is']('element','ol')||!_0x221d78['hasClass']('footnotes-list'))return;if(!_0x3dc0d6['consumable']['test'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x34c2e5=_0x3dc0d6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x191aa4['getAttribute']('id')});if(!_0x3dc0d6['safeInsert'](_0x34c2e5,_0x365a6e['modelCursor']))return;_0x3dc0d6['consumable']['consume'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x43b9c3=Array['from'](_0x191aa4['getChildren']())['find'](_0x52832d=>_0x52832d['is']('element')&&_0x52832d['hasClass']('footnote-content'));for(const _0x3b501b of _0x191aa4['getChildren']())_0x3b501b['is']('element')&&(_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-content'}));if(_0x43b9c3){if(_0x362031)_0x3dc0d6['convertChildren'](_0x43b9c3,_0x34c2e5);else{const _0x3607f4=_0x3dc0d6['writer']['createElement']('footnoteInlineContent');_0x3dc0d6['writer']['insert'](_0x3607f4,_0x34c2e5),_0x3dc0d6['convertChildren'](_0x43b9c3,_0x3607f4);}}_0x3dc0d6['updateConversionResult'](_0x34c2e5,_0x365a6e);});}),_0x3c798e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10534f,{writer:_0x5e2a89})=>b(_0x10534f,_0x5e2a89,_0x15ce2c,{'dataPipeline':!0x0})}),_0x3c798e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2f6369,{writer:_0x20ee3f})=>b(_0x2f6369,_0x20ee3f,_0x15ce2c)});}['_defineBogusParagraphConverters'](){const {editor:_0x4588ff}=this,{conversion:_0x2c7788}=_0x4588ff;_0x4588ff['config']['get']('footnotes.multiBlock')?(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4588ff['model']['document'],'change:data',()=>{!function(_0x4ffdd1,_0x2e983c){const _0x5032cf=_0x4ffdd1['document']['differ'],_0x8fe948=new Set();for(const _0x11811b of _0x5032cf['getChanges']()){const _0xbe7a98='attribute'==_0x11811b['type']?_0x11811b['range']['start']['parent']:_0x11811b['position']['parent'];_0xbe7a98['is']('element','footnoteDefinition')&&_0x8fe948['add'](_0xbe7a98);}for(const _0x593ecb of _0x8fe948['values']()){const _0x581a67=Array['from'](_0x593ecb['getChildren']())['filter'](_0x39be31=>g(_0x39be31,_0x2e983c['mapper']));for(const _0x11740d of _0x581a67)_0x2e983c['reconvertItem'](_0x11740d);}}(_0x4588ff['model'],_0x4588ff['editing']);})):(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3aea08,{writer:_0xf58cf5})=>{const _0x2afe55=_0xf58cf5['createContainerElement']('span');return _0xf58cf5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2afe55),_0x2afe55;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c0b84}=this,{editing:_0x12061e,t:t}=_0x4c0b84,_0x35196a=_0x4c0b84['model']['document']['selection'];_0x4c0b84['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4c0b84['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12061e['view']['document'],'enter',(_0x5760c0,_0x4df3e1)=>{const _0x403ca0=function(_0x1c6545){const _0x33669a=_0x1c6545['getSelectedElement']();if(_0x33669a?.['is']('element','footnoteRef'))return _0x33669a;return null;}(_0x35196a);if(_0x403ca0){const _0x1c5a4f=_0x403ca0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c5a4f),_0x4df3e1['preventDefault'](),_0x5760c0['stop']();}},{'context':_0x3b57e8});}['_defineClickHandlers'](){const {editor:_0x334ecb}=this,{editing:_0x2c37eb}=_0x334ecb;_0x334ecb['editing']['view']['addObserver'](_0x206bf5),_0x334ecb['editing']['view']['addObserver'](_0x3ca212);let _0x292dc0=!0x1;this['listenTo'](_0x2c37eb['view']['document'],'pointerdown',(_0x5df794,_0x2b6ee3)=>{const {target:_0x36d6b0}=_0x2b6ee3,_0x31a64c=_0x2c37eb['view']['document']['selection'];_0x292dc0=!!(_0x36d6b0?.['is']('element','a')&&_0x36d6b0['parent']?.['is']('element','sup')&&_0x36d6b0['parent']['hasClass']('footnote'))&&_0x31a64c['getSelectedElement']()===_0x36d6b0['parent'];},{'priority':'high'}),this['listenTo'](_0x2c37eb['view']['document'],'click',(_0x9f6a1b,_0x3d76ee)=>{const {target:_0x352512}=_0x3d76ee;if(!_0x352512?.['is']('element','a'))return;if(_0x352512['parent']?.['is']('element','sup')&&_0x352512['parent']['hasClass']('footnote')&&!_0x292dc0)return void _0x3d76ee['preventDefault']();let _0x4c2978=_0x352512['getAttribute']('href');if(!_0x4c2978?.['startsWith']('#'))return;_0x4c2978=_0x4c2978['slice'](0x1);let _0x10566a=!0x1;(_0x4c2978['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4c2978['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4c2978))&&(_0x10566a=!0x0),_0x10566a&&(_0x3d76ee['preventDefault'](),_0x9f6a1b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x35a761}={}){return(_0x567b7f,{writer:_0x4aef80})=>{if(!p(_0x567b7f))return null;if(!_0x35a761)return _0x4aef80['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xcf35ad=_0x4aef80['createContainerElement']('p');return _0x4aef80['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcf35ad),_0xcf35ad;};}function p(_0x4e85ca){const {parent:_0x500fc3}=_0x4e85ca;if(!_0x500fc3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x500fc3['childCount'])return!0x1;for(const _0x332fbc of _0x4e85ca['getAttributeKeys']())if(!_0x332fbc['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x332fbc)return!0x1;return!0x0;}function g(_0x1e7694,_0x118fcb){if(!_0x1e7694['is']('element','paragraph'))return!0x1;const _0x4ea2d9=_0x118fcb['toViewElement'](_0x1e7694);return!!_0x4ea2d9&&p(_0x1e7694)!==_0x4ea2d9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5c19e9){return _0x3b57e8(_0x5c19e9)&&_0x5c19e9['is']('containerElement')&&!!_0x5c19e9['getCustomProperty']('footnotesDefinitions');}function v(_0x53d124,_0x93dc45={}){const _0x3c14c3=_0x53d124['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x40cba2=_0x53d124['createContainerElement']('ol',{'class':'footnotes-list'},_0x53d124['createSlot']());return _0x53d124['createContainerElement']('div',{'class':'footnotes',..._0x93dc45},[_0x3c14c3,_0x40cba2]);}function D(_0x584012,_0x4ef27d){const _0x2914c8=_0x584012['getAttribute']('footnoteId'),_0xd0e8e6=_0x584012['getAttribute']('footnoteCounter'),_0x53b466=_0x4ef27d['createUIElement']('a',{'href':'#'+_0x2914c8},function(_0x56b1d7){const _0x27edcb=this['toDomElement'](_0x56b1d7);return _0x27edcb['textContent']=_0xd0e8e6,_0x27edcb;}),_0x17e173=_0x4ef27d['createContainerElement']('sup',{'id':'ref-'+_0x2914c8,'class':'footnote'},[_0x53b466]);return _0x17e173['getFillerOffset']=()=>null,_0x17e173;}function b(_0x2a78e2,_0xa72b44,_0x397f1d,{dataPipeline:_0x47814e}={}){const {t:t}=_0x397f1d,_0x2840b0=_0x2a78e2['getAttribute']('footnoteId'),_0x9e1038=_0xa72b44['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2840b0},function(_0x5af3f2){const _0x5aa2f6=this['toDomElement'](_0x5af3f2);return _0x5aa2f6['innerText']='^',_0x5aa2f6;}),_0xf391f4=_0x47814e?_0xa72b44['createContainerElement']('div',{'class':'footnote-content'}):_0x4d6706(_0xa72b44['createEditableElement']('div',{'class':'footnote-content'}),_0xa72b44,{'label':t('Footnote\x20content.')});return _0xa72b44['insert'](_0xa72b44['createPositionAt'](_0xf391f4,0x0),_0xa72b44['createSlot']()),_0xa72b44['createContainerElement']('li',{'class':'footnote-definition','id':_0x2840b0},[_0x9e1038,_0xf391f4]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33035a=_0x5c69;function _0x5c69(_0x296a89,_0x179433){const _0x2ad7d5=_0x2ad7();return _0x5c69=function(_0x5c693e,_0x5b135e){_0x5c693e=_0x5c693e-0x8a;let _0x55fa64=_0x2ad7d5[_0x5c693e];return _0x55fa64;},_0x5c69(_0x296a89,_0x179433);}(function(_0x7586b7,_0x5e22a7){const _0x418bfe=_0x5c69,_0x909984=_0x7586b7();while(!![]){try{const _0x25e9f1=-parseInt(_0x418bfe(0x8b))/0x1+parseInt(_0x418bfe(0x9c))/0x2*(parseInt(_0x418bfe(0x98))/0x3)+parseInt(_0x418bfe(0x9b))/0x4+parseInt(_0x418bfe(0x8d))/0x5*(parseInt(_0x418bfe(0x9f))/0x6)+parseInt(_0x418bfe(0x97))/0x7*(parseInt(_0x418bfe(0x8f))/0x8)+parseInt(_0x418bfe(0x8c))/0x9*(parseInt(_0x418bfe(0x91))/0xa)+-parseInt(_0x418bfe(0xa0))/0xb*(parseInt(_0x418bfe(0x95))/0xc);if(_0x25e9f1===_0x5e22a7)break;else _0x909984['push'](_0x909984['shift']());}catch(_0x1fe8f8){_0x909984['push'](_0x909984['shift']());}}}(_0x2ad7,0x3834b));import{Command as _0x5672d9}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x29c246}from'../../footnotestracker.js';function _0x2ad7(){const _0x1d3926=['124bNbaGn','getAttribute','plugins','7494qVSPkd','44AIlhyX','change','getFootnotesDefinitionsObjectElement','execute','isInteger','202516tjyIMf','6984DtYGvn','295HbPBCQ','footnotesListStart','55208fxHeaM','setAttribute','760iXuVrT','isEnabled','_updateFootnotesCounters','model','1161528gVHmms','value','7UMBLCO','12315syqjrv','refresh','get','1703332qtfShj'];_0x2ad7=function(){return _0x1d3926;};return _0x2ad7();}export class FootnotesStartCommand extends _0x5672d9{[_0x33035a(0x99)](){const _0x308db4=_0x33035a,{editor:_0xdee3f0}=this,_0x4934f6=_0xdee3f0[_0x308db4(0x9e)][_0x308db4(0x9a)](_0x29c246)[_0x308db4(0xa2)]();this[_0x308db4(0x92)]=!!_0x4934f6,this[_0x308db4(0x96)]=_0x4934f6?.[_0x308db4(0x9d)](_0x308db4(0x8e))??null;}[_0x33035a(0xa3)]({value:_0x2fb4f9}){const _0x5cfbf7=_0x33035a,{editor:_0x167669}=this,_0x444938=_0x167669[_0x5cfbf7(0x9e)][_0x5cfbf7(0x9a)](_0x29c246),_0x1cd99e=_0x444938[_0x5cfbf7(0xa2)]();_0x1cd99e&&Number[_0x5cfbf7(0x8a)](_0x2fb4f9)&&_0x167669[_0x5cfbf7(0x94)][_0x5cfbf7(0xa1)](_0x190c1e=>{const _0x464a8a=_0x5cfbf7;_0x190c1e[_0x464a8a(0x90)](_0x464a8a(0x8e),_0x2fb4f9,_0x1cd99e),_0x444938[_0x464a8a(0x93)](_0x190c1e);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a5ec5=_0x4b5f;function _0x4b5f(_0x2cfc78,_0xbad663){const _0x5bcb49=_0x5bcb();return _0x4b5f=function(_0x4b5f56,_0x5a774d){_0x4b5f56=_0x4b5f56-0x121;let _0x396077=_0x5bcb49[_0x4b5f56];return _0x396077;},_0x4b5f(_0x2cfc78,_0xbad663);}(function(_0x41105e,_0x45e6b7){const _0x19a25d=_0x4b5f,_0x225dd3=_0x41105e();while(!![]){try{const _0x38c70d=parseInt(_0x19a25d(0x12a))/0x1+-parseInt(_0x19a25d(0x134))/0x2+parseInt(_0x19a25d(0x12f))/0x3+-parseInt(_0x19a25d(0x133))/0x4+parseInt(_0x19a25d(0x12d))/0x5+parseInt(_0x19a25d(0x125))/0x6+-parseInt(_0x19a25d(0x132))/0x7;if(_0x38c70d===_0x45e6b7)break;else _0x225dd3['push'](_0x225dd3['shift']());}catch(_0x64f2ce){_0x225dd3['push'](_0x225dd3['shift']());}}}(_0x5bcb,0x61a67));import{Command as _0x4c10a0}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2d79a0}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4d8d78}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4c10a0{[_0x2a5ec5(0x121)](){const _0x35a60c=_0x2a5ec5,{editor:_0x20152c}=this,_0xeb48e1=_0x20152c[_0x35a60c(0x131)][_0x35a60c(0x12e)](_0x4d8d78)[_0x35a60c(0x124)]();this[_0x35a60c(0x129)]=!!_0xeb48e1,this[_0x35a60c(0x127)]=_0xeb48e1?.[_0x35a60c(0x126)](_0x35a60c(0x130))??null;}[_0x2a5ec5(0x122)]({value:_0x2aaf5e}){const _0x33fdae=_0x2a5ec5,{editor:_0x2858f4}=this,_0x2c6ee6=_0x2858f4[_0x33fdae(0x131)][_0x33fdae(0x12e)](_0x4d8d78),_0x59b126=_0x2c6ee6[_0x33fdae(0x124)]();_0x59b126&&_0x2d79a0[_0x33fdae(0x128)](_0x2aaf5e)&&_0x2858f4[_0x33fdae(0x12b)][_0x33fdae(0x123)](_0x50c9de=>{const _0x8ee501=_0x33fdae;_0x50c9de[_0x8ee501(0x12c)](_0x8ee501(0x130),_0x2aaf5e,_0x59b126),_0x2c6ee6[_0x8ee501(0x135)](_0x50c9de);});}}function _0x5bcb(){const _0x3adfac=['593707bRtXFz','model','setAttribute','2699300ebJLep','get','1857543tmHOwC','footnotesListStyle','plugins','4965317tQYRwC','1105272tWkydZ','1258014iogRFA','_updateFootnotesCounters','refresh','execute','change','getFootnotesDefinitionsObjectElement','1571298hQrCAe','getAttribute','value','includes','isEnabled'];_0x5bcb=function(){return _0x3adfac;};return _0x5bcb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58cf(){const _0x4b73d8=['decimal','lower-latin','331921HjcfAq','42NlJSHa','232236bGcdbo','6198400IPxqmG','9pOwHFl','upper-roman','upper-latin','lower-alpha','658056EfWbzg','upper-alpha','2091018CSEUsb','decimal-leading-zero','659024RAvDgC','12bYKIxN','696250qlfkmk','lower-roman'];_0x58cf=function(){return _0x4b73d8;};return _0x58cf();}const _0x49dfe2=_0x2b12;function _0x2b12(_0x17c086,_0x37a237){const _0x58cfef=_0x58cf();return _0x2b12=function(_0x2b124c,_0x370211){_0x2b124c=_0x2b124c-0xee;let _0x2a2783=_0x58cfef[_0x2b124c];return _0x2a2783;},_0x2b12(_0x17c086,_0x37a237);}(function(_0x5d42b1,_0x1f79f8){const _0x5a940b=_0x2b12,_0x14d068=_0x5d42b1();while(!![]){try{const _0x29e838=parseInt(_0x5a940b(0xf4))/0x1+parseInt(_0x5a940b(0xfc))/0x2+parseInt(_0x5a940b(0xef))/0x3*(parseInt(_0x5a940b(0xf6))/0x4)+parseInt(_0x5a940b(0xf0))/0x5+parseInt(_0x5a940b(0xfe))/0x6+-parseInt(_0x5a940b(0xf5))/0x7*(parseInt(_0x5a940b(0xee))/0x8)+parseInt(_0x5a940b(0xf8))/0x9*(-parseInt(_0x5a940b(0xf7))/0xa);if(_0x29e838===_0x1f79f8)break;else _0x14d068['push'](_0x14d068['shift']());}catch(_0x5568fa){_0x14d068['push'](_0x14d068['shift']());}}}(_0x58cf,0x4124e));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x49dfe2(0xf2),_0x49dfe2(0xff),_0x49dfe2(0xf3),_0x49dfe2(0xfa),_0x49dfe2(0xfb),_0x49dfe2(0xfd),_0x49dfe2(0xf1),_0x49dfe2(0xf9)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x374fea=_0x2ed8;function _0x2ed8(_0x5cb63f,_0x365cbe){const _0x38b03c=_0x38b0();return _0x2ed8=function(_0x2ed8f3,_0x21eb51){_0x2ed8f3=_0x2ed8f3-0xc0;let _0x1baa7d=_0x38b03c[_0x2ed8f3];return _0x1baa7d;},_0x2ed8(_0x5cb63f,_0x365cbe);}(function(_0x8bcfe5,_0x1b261a){const _0x2d5a5e=_0x2ed8,_0x591c78=_0x8bcfe5();while(!![]){try{const _0x4899fd=-parseInt(_0x2d5a5e(0xe2))/0x1*(parseInt(_0x2d5a5e(0xf2))/0x2)+parseInt(_0x2d5a5e(0xc7))/0x3*(-parseInt(_0x2d5a5e(0x10a))/0x4)+parseInt(_0x2d5a5e(0x101))/0x5+-parseInt(_0x2d5a5e(0xfe))/0x6+parseInt(_0x2d5a5e(0x124))/0x7*(-parseInt(_0x2d5a5e(0x11d))/0x8)+parseInt(_0x2d5a5e(0x10b))/0x9*(parseInt(_0x2d5a5e(0xc3))/0xa)+-parseInt(_0x2d5a5e(0x116))/0xb*(-parseInt(_0x2d5a5e(0xe9))/0xc);if(_0x4899fd===_0x1b261a)break;else _0x591c78['push'](_0x591c78['shift']());}catch(_0x445525){_0x591c78['push'](_0x591c78['shift']());}}}(_0x38b0,0xe801e));import{Plugin as _0x46db32}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x15e649}from'./commands/footnotesstylecommand.js';function _0x38b0(){const _0x1e3a22=['schema','consume','_defineFormatter','13629rtwSvE','lower-alpha','document','parent','upper-alpha','requires','writer','toUpperCase','hasAttribute','consumable','attribute:footnotesListStart:footnotesDefinitions','isPremiumPlugin','setStyle','position','removeAttribute','fromCharCode','extend','decimal-leading-zero','parseInt','upper-latin','setFootnoteFormatter','padStart','differ','_formatFootnoteListValue','toViewElement','footnotesDefinitions','upcast','4gwRbKH','config','element:ol','_definePostfixer','footnotesStart','getChanges','registerPostFixer','1163352bVXOgh','upper-roman','type','insert','_updateFootnotesCounters','find','get','max','name','55922WJpyNx','define','isNaN','mapper','model','viewItem','FootnotesPropertiesEditing','list-style-type','plugins','checkAttribute','lower-roman','commands','11298384OAPZch','getStyle','item','5016605TATdVQ','footnotesListStart','pluginName','setAttribute','modelCursor','start','$text','lower-latin','footnotes.footnotesProperties.defaultListStyle','1012oVcuyH','11748195pEojJV','from','getAttribute','getItems','for','hasClass','_getDefaultListStyle','element','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','_defineSchema','242jMMGDm','isOfficialPlugin','footnotes.footnotesProperties.defaultStartIndex','footnotesListStyle','footnotes-list','getChildren','_defineConverters','24ddwShs','nodeAfter','editor','decimal','createRangeOn','_getDefaultStartIndex','downcast','809431hklEUk','removeStyle','footnotesStyle','floor','add','init','10SFuUnV'];_0x38b0=function(){return _0x1e3a22;};return _0x38b0();}import{FootnotesStartCommand as _0x410052}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x18c45f}from'../footnotestracker.js';import{FootnotesEditing as _0x5857a8}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x46db32{static get[_0x374fea(0x103)](){const _0x2e7f81=_0x374fea;return _0x2e7f81(0xf8);}static get[_0x374fea(0xcc)](){return[_0x5857a8,_0x18c45f];}static get[_0x374fea(0x117)](){return!0x0;}static get[_0x374fea(0xd2)](){return!0x0;}[_0x374fea(0xc2)](){const _0x1958a4=_0x374fea,{editor:_0xcc9847}=this;_0xcc9847[_0x1958a4(0xe3)][_0x1958a4(0xf3)](_0x1958a4(0x109),_0x1958a4(0x120)),_0xcc9847[_0x1958a4(0xe3)][_0x1958a4(0xf3)](_0x1958a4(0x118),0x1),_0xcc9847[_0x1958a4(0xfd)][_0x1958a4(0xc1)](_0x1958a4(0x126),new _0x15e649(_0xcc9847)),_0xcc9847[_0x1958a4(0xfd)][_0x1958a4(0xc1)](_0x1958a4(0xe6),new _0x410052(_0xcc9847)),this[_0x1958a4(0x115)](),this[_0x1958a4(0x11c)](),this[_0x1958a4(0xc6)](),this[_0x1958a4(0xe5)]();}[_0x374fea(0x115)](){const _0x2ee66c=_0x374fea,{editor:_0x2b73c5}=this,{schema:_0x721825}=_0x2b73c5[_0x2ee66c(0xf6)];_0x721825[_0x2ee66c(0xd7)](_0x2ee66c(0xe0),{'allowAttributes':[_0x2ee66c(0x119),_0x2ee66c(0x102)]});}[_0x374fea(0x11c)](){const _0x56f868=_0x374fea,{editor:_0x562f7f}=this,{conversion:_0x290038,model:_0x44a307}=_0x562f7f,{schema:_0x5040b1}=_0x44a307;_0x290038[_0x56f868(0x10f)](_0x56f868(0xe1))[_0x56f868(0xc1)](_0x27a022=>{const _0x5ce486=_0x56f868;_0x27a022['on'](_0x5ce486(0xe4),(_0x1636ee,_0x5935b8,_0xeed0c9)=>{const _0x3c4595=_0x5ce486,_0x38b245=_0x5935b8[_0x3c4595(0xf7)],_0x24b4fa=_0x5935b8[_0x3c4595(0x105)]?.[_0x3c4595(0xca)];_0x38b245[_0x3c4595(0x110)](_0x3c4595(0x11a))&&_0x24b4fa?.['is'](_0x3c4595(0x112),_0x3c4595(0xe0))&&(function(_0x28465d,_0x51c7c5,_0x36f179,_0x4cc3cb){const _0x182faf=_0x3c4595;if(!_0x4cc3cb[_0x182faf(0xfb)](_0x51c7c5,_0x182faf(0x102)))return;let _0x227c0a=0x1;const _0x5f4c87=_0x36f179[_0x182faf(0xd0)][_0x182faf(0xc5)](_0x28465d,{'attributes':_0x182faf(0x106)});if(_0x5f4c87){const _0x6aa57e=Number[_0x182faf(0xd9)](_0x28465d[_0x182faf(0x10d)](_0x182faf(0x106)),0xa);Number[_0x182faf(0xf4)](_0x6aa57e)||(_0x227c0a=_0x6aa57e);}!_0x5f4c87&&_0x51c7c5[_0x182faf(0xcf)](_0x182faf(0x102))||_0x36f179[_0x182faf(0xcd)][_0x182faf(0x104)](_0x182faf(0x102),_0x227c0a,_0x51c7c5);}(_0x38b245,_0x24b4fa,_0xeed0c9,_0x5040b1),function(_0x39da88,_0xbee1f3,_0x2cc44b,_0x16fe73){const _0x523e7b=_0x3c4595;if(!_0x16fe73[_0x523e7b(0xfb)](_0xbee1f3,_0x523e7b(0x119)))return;let _0x3dddf2=_0x523e7b(0x120),_0x16f1df=!0x1;if(_0x2cc44b[_0x523e7b(0xd0)][_0x523e7b(0xc5)](_0x39da88,{'attributes':_0x523e7b(0xeb)})){const _0x5506ad={0x1:_0x523e7b(0x120),'a':_0x523e7b(0xc8),'A':_0x523e7b(0xcb),'i':_0x523e7b(0xfc),'I':_0x523e7b(0xea)}[_0x39da88[_0x523e7b(0x10d)](_0x523e7b(0xeb))];_0x5506ad&&(_0x3dddf2=_0x5506ad),_0x16f1df=!0x0;}_0x2cc44b[_0x523e7b(0xd0)][_0x523e7b(0xc5)](_0x39da88,{'styles':_0x523e7b(0xf9)})&&(_0x3dddf2=_0x39da88[_0x523e7b(0xff)](_0x523e7b(0xf9)),_0x16f1df=!0x0),!_0x16f1df&&_0xbee1f3[_0x523e7b(0xcf)](_0x523e7b(0x119))||_0x2cc44b[_0x523e7b(0xcd)][_0x523e7b(0x104)](_0x523e7b(0x119),_0x3dddf2,_0xbee1f3);}(_0x38b245,_0x24b4fa,_0xeed0c9,_0x5040b1));});}),_0x290038[_0x56f868(0x10f)](_0x56f868(0x123))[_0x56f868(0xc1)](_0x10de53=>{const _0x28cbc8=_0x56f868;_0x10de53['on'](_0x28cbc8(0xd1),(_0x4a6000,_0x4247b8,_0x2a8e37)=>{const _0x14237f=_0x28cbc8;if(!_0x2a8e37[_0x14237f(0xd0)][_0x14237f(0xc5)](_0x4247b8[_0x14237f(0x100)],_0x4a6000[_0x14237f(0xf1)]))return;const _0xfc0230=M(_0x4247b8[_0x14237f(0x100)],_0x2a8e37[_0x14237f(0xf5)]),{attributeNewValue:_0x2fdc8e}=_0x4247b8;null==_0x2fdc8e||0x1===_0x2fdc8e?_0x2a8e37[_0x14237f(0xcd)][_0x14237f(0xd5)](_0x14237f(0x106),_0xfc0230):_0x2a8e37[_0x14237f(0xcd)][_0x14237f(0x104)](_0x14237f(0x106),String(_0x2fdc8e),_0xfc0230);}),_0x10de53['on'](_0x28cbc8(0x113),(_0x3d02e9,_0x4c92b1,_0x9e1d19)=>{const _0x563c6d=_0x28cbc8;if(!_0x9e1d19[_0x563c6d(0xd0)][_0x563c6d(0xc5)](_0x4c92b1[_0x563c6d(0x100)],_0x3d02e9[_0x563c6d(0xf1)]))return;const _0x3e512b=M(_0x4c92b1[_0x563c6d(0x100)],_0x9e1d19[_0x563c6d(0xf5)]),{attributeNewValue:_0x36a045}=_0x4c92b1;_0x36a045&&_0x563c6d(0x120)!==_0x36a045?_0x9e1d19[_0x563c6d(0xcd)][_0x563c6d(0xd3)](_0x563c6d(0xf9),_0x36a045,_0x3e512b):_0x9e1d19[_0x563c6d(0xcd)][_0x563c6d(0x125)](_0x563c6d(0xf9),_0x3e512b);});});}[_0x374fea(0xe5)](){const _0x569229=_0x374fea,{editor:_0x16d0bc}=this,{model:_0x327232}=_0x16d0bc,_0x5cc5a8=_0x16d0bc[_0x569229(0xfa)][_0x569229(0xef)](_0x18c45f),_0x397441=this[_0x569229(0x111)](),_0x41634f=this[_0x569229(0x122)]();_0x327232[_0x569229(0xc9)][_0x569229(0xe8)](_0x5ecae2=>{const _0x2d1f7a=_0x569229,_0x5cbce4=_0x327232[_0x2d1f7a(0xc9)][_0x2d1f7a(0xdd)][_0x2d1f7a(0xe7)]();let _0x6d154c=!0x1;for(const _0x5c7450 of _0x5cbce4){if(_0x2d1f7a(0xec)!==_0x5c7450[_0x2d1f7a(0xeb)]||_0x2d1f7a(0x107)===_0x5c7450[_0x2d1f7a(0xf1)])continue;const _0x29cc89=_0x327232[_0x2d1f7a(0x121)](_0x5c7450[_0x2d1f7a(0xd4)][_0x2d1f7a(0x11e)]);for(const _0x53ce1e of _0x29cc89[_0x2d1f7a(0x10e)]())_0x53ce1e['is'](_0x2d1f7a(0x112),_0x2d1f7a(0xe0))&&(!_0x53ce1e[_0x2d1f7a(0xcf)](_0x2d1f7a(0x102))&&_0x327232[_0x2d1f7a(0xc4)][_0x2d1f7a(0xfb)](_0x53ce1e,_0x2d1f7a(0x102))&&(_0x5ecae2[_0x2d1f7a(0x104)](_0x2d1f7a(0x102),_0x41634f,_0x53ce1e),_0x6d154c=!0x0),!_0x53ce1e[_0x2d1f7a(0xcf)](_0x2d1f7a(0x119))&&_0x327232[_0x2d1f7a(0xc4)][_0x2d1f7a(0xfb)](_0x53ce1e,_0x2d1f7a(0x119))&&(_0x5ecae2[_0x2d1f7a(0x104)](_0x2d1f7a(0x119),_0x397441,_0x53ce1e),_0x6d154c=!0x0));}return _0x6d154c&&_0x5cc5a8[_0x2d1f7a(0xed)](_0x5ecae2),_0x6d154c;});}[_0x374fea(0xc6)](){const _0x471b11=_0x374fea,{editor:_0x2da2de}=this;_0x2da2de[_0x471b11(0xfa)][_0x471b11(0xef)](_0x18c45f)[_0x471b11(0xdb)](_0x28b42e=>this[_0x471b11(0xde)](_0x28b42e));}[_0x374fea(0x111)](){const _0x27199e=_0x374fea;return this[_0x27199e(0x11f)][_0x27199e(0xe3)][_0x27199e(0xef)](_0x27199e(0x109));}[_0x374fea(0x122)](){const _0x404f31=_0x374fea;return this[_0x404f31(0x11f)][_0x404f31(0xe3)][_0x404f31(0xef)](_0x404f31(0x118));}[_0x374fea(0xde)]({container:_0x6e6157,value:_0x54fc6e,digits:_0x4f964a}){const _0x345263=_0x374fea,_0x2421a3=_0x6e6157[_0x345263(0x10d)](_0x345263(0x119)),_0x47a3f9=_0x6e6157[_0x345263(0x10d)](_0x345263(0x102)),_0x4ba8f2=Math[_0x345263(0xc0)](_0x54fc6e)+(_0x47a3f9??0x1)-0x1;switch(_0x2421a3){case _0x345263(0xd8):return function(_0x32950c,_0x2785b2){const _0x199d52=_0x345263;return String(_0x32950c)[_0x199d52(0xdc)](_0x2785b2,'0');}(_0x4ba8f2,Math[_0x345263(0xf0)](0x2,_0x4f964a));case _0x345263(0xc8):case _0x345263(0x108):return N(_0x4ba8f2,!0x1);case _0x345263(0xcb):case _0x345263(0xda):return N(_0x4ba8f2,!0x0);case _0x345263(0xfc):return X(_0x4ba8f2,!0x1);case _0x345263(0xea):return X(_0x4ba8f2,!0x0);default:return String(_0x4ba8f2);}}}function M(_0x16a750,_0x2edcd9){const _0x26f67c=_0x374fea,_0x577d11=_0x2edcd9[_0x26f67c(0xdf)](_0x16a750);return Array[_0x26f67c(0x10c)](_0x577d11[_0x26f67c(0x11b)]())[_0x26f67c(0xee)](_0x16ad4b=>_0x16ad4b['is'](_0x26f67c(0x112),'ol')&&_0x16ad4b[_0x26f67c(0x110)](_0x26f67c(0x11a)));}function N(_0x3bdb9b,_0x2fa192){const _0x5b1776=_0x374fea;let _0x25a061='',_0x44103d=_0x3bdb9b;for(;_0x44103d>0x0;){const _0x2b8f8a=(_0x44103d-0x1)%0x1a;_0x25a061=String[_0x5b1776(0xd6)](0x61+_0x2b8f8a)+_0x25a061,_0x44103d=Math[_0x5b1776(0xc0)]((_0x44103d-0x1)/0x1a);}return _0x2fa192?_0x25a061[_0x5b1776(0xce)]():_0x25a061;}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(_0x3f5b85,_0x2752f1){const _0x3af1cb=_0x374fea;let _0x362813='',_0x50284b=_0x3f5b85;for(const {value:_0xc39ab0,numeral:_0x3cca24}of V)for(;_0x50284b>=_0xc39ab0;)_0x362813+=_0x3cca24,_0x50284b-=_0xc39ab0;return _0x2752f1?_0x362813:_0x362813[_0x3af1cb(0x114)]();}
|
|
23
|
+
const _0x58faee=_0x2bfc;(function(_0x5331a3,_0x4bfa31){const _0x186460=_0x2bfc,_0x489bcd=_0x5331a3();while(!![]){try{const _0x1b2ae2=parseInt(_0x186460(0x152))/0x1*(parseInt(_0x186460(0x147))/0x2)+parseInt(_0x186460(0x154))/0x3+-parseInt(_0x186460(0x131))/0x4+parseInt(_0x186460(0x141))/0x5*(parseInt(_0x186460(0x14a))/0x6)+parseInt(_0x186460(0x11d))/0x7+-parseInt(_0x186460(0x106))/0x8*(parseInt(_0x186460(0x11b))/0x9)+-parseInt(_0x186460(0x123))/0xa*(parseInt(_0x186460(0x12d))/0xb);if(_0x1b2ae2===_0x4bfa31)break;else _0x489bcd['push'](_0x489bcd['shift']());}catch(_0x2e5503){_0x489bcd['push'](_0x489bcd['shift']());}}}(_0x432d,0xde3e6));import{Plugin as _0x35f17a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x106a04}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x179367}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4e8966}from'../footnotestracker.js';function _0x2bfc(_0x420b37,_0x14ffb8){const _0x432da3=_0x432d();return _0x2bfc=function(_0x2bfcdb,_0x5e0e2e){_0x2bfcdb=_0x2bfcdb-0x102;let _0x276065=_0x432da3[_0x2bfcdb];return _0x276065;},_0x2bfc(_0x420b37,_0x14ffb8);}import{FootnotesEditing as _0x49dc1e}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x35f17a{static get[_0x58faee(0x12f)](){const _0x5bddd6=_0x58faee;return _0x5bddd6(0x127);}static get[_0x58faee(0x13d)](){return[_0x49dc1e,_0x4e8966];}static get[_0x58faee(0x10b)](){return!0x0;}static get[_0x58faee(0x164)](){return!0x0;}[_0x58faee(0x119)](){const _0x4c7240=_0x58faee,{editor:_0x51bb25}=this;_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x144),_0x4c7240(0x137)),_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x163),0x1),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x145),new _0x106a04(_0x51bb25)),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x133),new _0x179367(_0x51bb25)),this[_0x4c7240(0x15c)](),this[_0x4c7240(0x138)](),this[_0x4c7240(0x13b)](),this[_0x4c7240(0x109)]();}[_0x58faee(0x15c)](){const _0x2440f6=_0x58faee,{editor:_0x24622e}=this,{schema:_0x4bed1a}=_0x24622e[_0x2440f6(0x14e)];_0x4bed1a[_0x2440f6(0x12a)](_0x2440f6(0x14b),{'allowAttributes':[_0x2440f6(0x15b),_0x2440f6(0x157)]});}[_0x58faee(0x138)](){const _0x3ae02e=_0x58faee,{editor:_0x26eac6}=this,{conversion:_0x381915,model:_0x180df2}=_0x26eac6,{schema:_0x742c13}=_0x180df2;_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x10e))[_0x3ae02e(0x153)](_0x50b32a=>{const _0x50a3ec=_0x3ae02e;_0x50b32a['on'](_0x50a3ec(0x15e),(_0x191a97,_0xcc9ced,_0x5b7ab8)=>{const _0x5299f8=_0x50a3ec,_0x4d4cb4=_0xcc9ced[_0x5299f8(0x14c)],_0x240f35=_0xcc9ced[_0x5299f8(0x15a)]?.[_0x5299f8(0x112)];_0x4d4cb4[_0x5299f8(0x121)](_0x5299f8(0x14d))&&_0x240f35?.['is'](_0x5299f8(0x110),_0x5299f8(0x14b))&&(function(_0x4a3d30,_0x5179b8,_0x1661ef,_0x4b8c36){const _0x2ce451=_0x5299f8;if(!_0x4b8c36[_0x2ce451(0x11c)](_0x5179b8,_0x2ce451(0x157)))return;let _0x927b53=0x1;const _0x15aa53=_0x1661ef[_0x2ce451(0x11f)][_0x2ce451(0x13c)](_0x4a3d30,{'attributes':_0x2ce451(0x12c)});if(_0x15aa53){const _0x49d818=Number[_0x2ce451(0x143)](_0x4a3d30[_0x2ce451(0x11a)](_0x2ce451(0x12c)),0xa);Number[_0x2ce451(0x120)](_0x49d818)||(_0x927b53=_0x49d818);}!_0x15aa53&&_0x5179b8[_0x2ce451(0x124)](_0x2ce451(0x157))||_0x1661ef[_0x2ce451(0x111)][_0x2ce451(0x130)](_0x2ce451(0x157),_0x927b53,_0x5179b8);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13),function(_0x42ec80,_0x212567,_0x4724c0,_0x166ebf){const _0x2d0696=_0x5299f8;if(!_0x166ebf[_0x2d0696(0x11c)](_0x212567,_0x2d0696(0x15b)))return;let _0x4b997a=_0x2d0696(0x137),_0x35ae24=!0x1;if(_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'attributes':_0x2d0696(0x161)})){const _0x35e1b5={0x1:_0x2d0696(0x137),'a':_0x2d0696(0x114),'A':_0x2d0696(0x14f),'i':_0x2d0696(0x12e),'I':_0x2d0696(0x13e)}[_0x42ec80[_0x2d0696(0x11a)](_0x2d0696(0x161))];_0x35e1b5&&(_0x4b997a=_0x35e1b5),_0x35ae24=!0x0;}_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'styles':_0x2d0696(0x151)})&&(_0x4b997a=_0x42ec80[_0x2d0696(0x108)](_0x2d0696(0x151)),_0x35ae24=!0x0),!_0x35ae24&&_0x212567[_0x2d0696(0x124)](_0x2d0696(0x15b))||_0x4724c0[_0x2d0696(0x111)][_0x2d0696(0x130)](_0x2d0696(0x15b),_0x4b997a,_0x212567);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13));});}),_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x129))[_0x3ae02e(0x153)](_0x478865=>{const _0xaefb6b=_0x3ae02e;_0x478865['on'](_0xaefb6b(0x117),(_0x578a83,_0x447584,_0xb71d9e)=>{const _0x4fa827=_0xaefb6b;if(!_0xb71d9e[_0x4fa827(0x11f)][_0x4fa827(0x13c)](_0x447584[_0x4fa827(0x160)],_0x578a83[_0x4fa827(0x115)]))return;const _0x18c6a1=M(_0x447584[_0x4fa827(0x160)],_0xb71d9e[_0x4fa827(0x104)]),{attributeNewValue:_0x4812f3}=_0x447584;null==_0x4812f3||0x1===_0x4812f3?_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x142)](_0x4fa827(0x12c),_0x18c6a1):_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x130)](_0x4fa827(0x12c),String(_0x4812f3),_0x18c6a1);}),_0x478865['on'](_0xaefb6b(0x134),(_0x49a92a,_0x106618,_0x5291e1)=>{const _0x1cfd09=_0xaefb6b;if(!_0x5291e1[_0x1cfd09(0x11f)][_0x1cfd09(0x13c)](_0x106618[_0x1cfd09(0x160)],_0x49a92a[_0x1cfd09(0x115)]))return;const _0x7c8d4=M(_0x106618[_0x1cfd09(0x160)],_0x5291e1[_0x1cfd09(0x104)]),{attributeNewValue:_0x9bb25}=_0x106618;_0x9bb25&&_0x1cfd09(0x137)!==_0x9bb25?_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x10f)](_0x1cfd09(0x151),_0x9bb25,_0x7c8d4):_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x118)](_0x1cfd09(0x151),_0x7c8d4);});});}[_0x58faee(0x109)](){const _0x117d70=_0x58faee,{editor:_0x34dc84}=this,{model:_0x170452}=_0x34dc84,_0x69a2fc=_0x34dc84[_0x117d70(0x155)][_0x117d70(0x10c)](_0x4e8966),_0x361d38=this[_0x117d70(0x166)](),_0x53562e=this[_0x117d70(0x139)]();_0x170452[_0x117d70(0x150)][_0x117d70(0x140)](_0x2b915e=>{const _0x4a4727=_0x117d70,_0x27c0df=_0x170452[_0x4a4727(0x150)][_0x4a4727(0x102)][_0x4a4727(0x116)]();let _0xc9dad5=!0x1;for(const _0x3337d1 of _0x27c0df){if(_0x4a4727(0x105)!==_0x3337d1[_0x4a4727(0x161)]||_0x4a4727(0x15f)===_0x3337d1[_0x4a4727(0x115)])continue;const _0x21b3a5=_0x170452[_0x4a4727(0x156)](_0x3337d1[_0x4a4727(0x146)][_0x4a4727(0x159)]);for(const _0x309a5f of _0x21b3a5[_0x4a4727(0x126)]())_0x309a5f['is'](_0x4a4727(0x110),_0x4a4727(0x14b))&&(!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x157))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x157))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x157),_0x53562e,_0x309a5f),_0xc9dad5=!0x0),!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x15b))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x15b))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x15b),_0x361d38,_0x309a5f),_0xc9dad5=!0x0));}return _0xc9dad5&&_0x69a2fc[_0x4a4727(0x10a)](_0x2b915e),_0xc9dad5;});}[_0x58faee(0x13b)](){const _0x4c9c6c=_0x58faee,{editor:_0x19c212}=this;_0x19c212[_0x4c9c6c(0x155)][_0x4c9c6c(0x10c)](_0x4e8966)[_0x4c9c6c(0x11e)](_0x51654c=>this[_0x4c9c6c(0x167)](_0x51654c));}[_0x58faee(0x166)](){const _0x29e918=_0x58faee;return this[_0x29e918(0x162)][_0x29e918(0x107)][_0x29e918(0x10c)](_0x29e918(0x144));}[_0x58faee(0x139)](){const _0x4888df=_0x58faee;return this[_0x4888df(0x162)][_0x4888df(0x107)][_0x4888df(0x10c)](_0x4888df(0x163));}[_0x58faee(0x167)]({container:_0x454450,value:_0x1c3dbc,digits:_0x4b2dc7}){const _0x4cd538=_0x58faee,_0x3b0ab3=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x15b)),_0x3ec109=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x157)),_0x53ab38=Math[_0x4cd538(0x128)](_0x1c3dbc)+(_0x3ec109??0x1)-0x1;switch(_0x3b0ab3){case _0x4cd538(0x12b):return function(_0x3aab68,_0x202e2b){const _0x26b171=_0x4cd538;return String(_0x3aab68)[_0x26b171(0x122)](_0x202e2b,'0');}(_0x53ab38,Math[_0x4cd538(0x135)](0x2,_0x4b2dc7));case _0x4cd538(0x114):case _0x4cd538(0x10d):return N(_0x53ab38,!0x1);case _0x4cd538(0x14f):case _0x4cd538(0x13a):return N(_0x53ab38,!0x0);case _0x4cd538(0x12e):return X(_0x53ab38,!0x1);case _0x4cd538(0x13e):return X(_0x53ab38,!0x0);default:return String(_0x53ab38);}}}function M(_0x1e2ca4,_0x4870ef){const _0xe9efd1=_0x58faee,_0x4c0ba4=_0x4870ef[_0xe9efd1(0x103)](_0x1e2ca4);return Array[_0xe9efd1(0x148)](_0x4c0ba4[_0xe9efd1(0x113)]())[_0xe9efd1(0x136)](_0x5b22a3=>_0x5b22a3['is'](_0xe9efd1(0x110),'ol')&&_0x5b22a3[_0xe9efd1(0x121)](_0xe9efd1(0x14d)));}function N(_0x4a307e,_0x57e301){const _0x211eef=_0x58faee;let _0xc9e8ac='',_0x49e072=_0x4a307e;for(;_0x49e072>0x0;){const _0x231c49=(_0x49e072-0x1)%0x1a;_0xc9e8ac=String[_0x211eef(0x125)](0x61+_0x231c49)+_0xc9e8ac,_0x49e072=Math[_0x211eef(0x128)]((_0x49e072-0x1)/0x1a);}return _0x57e301?_0xc9e8ac[_0x211eef(0x132)]():_0xc9e8ac;}function _0x432d(){const _0x218107=['hasAttribute','fromCharCode','getItems','FootnotesPropertiesEditing','floor','downcast','extend','decimal-leading-zero','start','99XiWawQ','lower-roman','pluginName','setAttribute','5988404XxCjlg','toUpperCase','footnotesStart','attribute:footnotesListStyle:footnotesDefinitions','max','find','decimal','_defineConverters','_getDefaultStartIndex','upper-latin','_defineFormatter','consume','requires','upper-roman','define','registerPostFixer','3921850ELxVkl','removeAttribute','parseInt','footnotes.footnotesProperties.defaultListStyle','footnotesStyle','position','382meYAlP','from','schema','6CZMATH','footnotesDefinitions','viewItem','footnotes-list','model','upper-alpha','document','list-style-type','6658puvCCa','add','4775808iRpFxE','plugins','createRangeOn','footnotesListStart','for','nodeAfter','modelCursor','footnotesListStyle','_defineSchema','commands','element:ol','$text','item','type','editor','footnotes.footnotesProperties.defaultStartIndex','isPremiumPlugin','toLowerCase','_getDefaultListStyle','_formatFootnoteListValue','differ','toViewElement','mapper','insert','11128jZRcBJ','config','getStyle','_definePostfixer','_updateFootnotesCounters','isOfficialPlugin','get','lower-latin','upcast','setStyle','element','writer','parent','getChildren','lower-alpha','name','getChanges','attribute:footnotesListStart:footnotesDefinitions','removeStyle','init','getAttribute','171yUzhQM','checkAttribute','340963ZJwaCs','setFootnoteFormatter','consumable','isNaN','hasClass','padStart','1403170ZbZRxJ'];_0x432d=function(){return _0x218107;};return _0x432d();}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x290e03,_0x2bf331){const _0x9951b9=_0x58faee;let _0x41968c='',_0x301cdf=_0x290e03;for(const {value:_0x30b00f,numeral:_0x38f015}of V)for(;_0x301cdf>=_0x30b00f;)_0x41968c+=_0x38f015,_0x301cdf-=_0x30b00f;return _0x2bf331?_0x41968c:_0x41968c[_0x9951b9(0x165)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x1e495,ButtonView as _0x376085,ContextualBalloon as _0x1d25d6,createDropdown as _0x352896}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1d24c6}from'ckeditor5/src/widget.js';import{Plugin as _0x2168d9}from'ckeditor5/src/core.js';import{IconFootnote as _0x65352f,IconListStyleDecimal as _0x10ff2d,IconListStyleDecimalLeadingZero as _0x5eb170,IconListStyleLowerLatin as _0x12dd5f,IconListStyleLowerRoman as _0x3922fc,IconListStyleUpperLatin as _0x76849c,IconListStyleUpperRoman as _0x1ac3ac}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4b681f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2308d8}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2168d9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1d25d6,_0x1d24c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x530b9c}=this,{componentFactory:_0x47aee5}=_0x530b9c['ui'];_0x530b9c['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x47aee5['add']('footnotesStyle',function(_0x3d8ed5){return _0x4c57ec=>{const {t:t}=_0x4c57ec,_0x488694=_0x3d8ed5['commands']['get']('footnotesStyle'),_0x31a245=_0x352896(_0x4c57ec),{buttonView:_0x40de8b}=_0x31a245;return _0x31a245['class']='ck-footnotes-styles-dropdown',_0x31a245['bind']('isEnabled')['to'](_0x488694,'isEnabled'),_0x40de8b['set']({'label':t('Footnotes\x20style'),'icon':_0x65352f,'tooltip':!0x0}),_0x31a245['once']('change:isOpen',()=>{const _0x34951a=function({editor:_0x3c64e3,dropdownView:_0x9e2878}){const {t:t}=_0x3c64e3['locale'],_0x4932be=t('Footnotes\x20definitions\x20styles'),_0x2f1eec=function(_0x30fec7){const t=_0x30fec7['locale']['t'],_0x133e98=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x10ff2d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5eb170},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3922fc},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1ac3ac},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x12dd5f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x76849c}];return _0x133e98['map'](function(_0x4d37f5){const _0x29ee4d=_0x4d37f5['locale'];return({label:_0x28030a,icon:_0x300226,tooltip:_0x8ac7c3,style:_0x2f62a4})=>{const _0xf1b27a=_0x4d37f5['commands']['get']('footnotesStyle'),_0x5b0d72=new _0x376085(_0x29ee4d);return _0x5b0d72['set']({'label':_0x28030a,'icon':_0x300226,'tooltip':_0x8ac7c3}),_0x5b0d72['bind']('isOn')['to'](_0xf1b27a,'value',_0x4ab001=>_0x4ab001===_0x2f62a4),_0x5b0d72['bind']('isEnabled')['to'](_0xf1b27a,'isEnabled'),_0x5b0d72['on']('execute',()=>{_0x4d37f5['execute']('footnotesStyle',{'value':_0x2f62a4}),_0x4d37f5['editing']['view']['focus']();}),_0x5b0d72;};}(_0x30fec7));}(_0x3c64e3),_0x2c4d56=new _0x4b681f(_0x3c64e3['locale'],{'styleGridAriaLabel':_0x4932be,'styleButtonViews':_0x2f1eec});return _0x2c4d56['delegate']('execute')['to'](_0x9e2878),_0x2c4d56['on']('footnotesListStart',(_0x527539,_0x5b61c4)=>{_0x3c64e3['execute']('footnotesStart',{'value':_0x5b61c4['startIndex']});}),_0x2c4d56;}({'editor':_0x3d8ed5,'dropdownView':_0x31a245});_0x31a245['panelView']['children']['add'](_0x34951a);}),_0x31a245;};}(_0x530b9c));}['afterInit'](){const {editor:_0x5035ab}=this,{t:t}=_0x5035ab['locale'],_0x2876cc=_0x5035ab['plugins']['get'](_0x1d24c6),{defaultPositions:_0x5a14da}=_0x1e495;_0x2876cc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5035ab['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2fbc6c=>{let _0x67f4cf=_0x2fbc6c['getFirstPosition']()?.['parent'];return _0x67f4cf?.['is']('$text')&&(_0x67f4cf=_0x67f4cf['parent']),_0x67f4cf?.['is']('element')?_0x67f4cf['findAncestor'](_0x2308d8):null;},'positions':[_0x5a14da['southArrowNorth'],_0x5a14da['southArrowNorthMiddleWest'],_0x5a14da['southArrowNorthMiddleEast'],_0x5a14da['southArrowNorthWest'],_0x5a14da['southArrowNorthEast'],_0x5a14da['northArrowSouth'],_0x5a14da['northArrowSouthMiddleWest'],_0x5a14da['northArrowSouthMiddleEast'],_0x5a14da['northArrowSouthWest'],_0x5a14da['northArrowSouthEast'],_0x5a14da['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x140062,View as _0x4764d9,ViewCollection as _0x266833,FocusCycler as _0x420d39,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4764d9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x266833();['focusCycler'];constructor(_0x107b11,{styleButtonViews:_0x52e1e3,styleGridAriaLabel:_0x140e91}){super(_0x107b11),(this['focusCycler']=new _0x420d39({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x52e1e3,_0x140e91),[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 _0x5f1a5d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5f1a5d['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4bf2e9=_0x32a99c=>_0x32a99c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4bf2e9),this['keystrokes']['set']('arrowleft',_0x4bf2e9),this['keystrokes']['set']('arrowup',_0x4bf2e9),this['keystrokes']['set']('arrowdown',_0x4bf2e9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2f9171,_0x295949){const _0x515a70=new _0x4764d9(this['locale']);return _0x515a70['children']=_0x515a70['createCollection'](),_0x515a70['children']['addMany'](_0x2f9171),_0x515a70['setTemplate']({'tag':'div','attributes':{'aria-label':_0x295949,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x515a70['children']}),_0x515a70['children']['delegate']('execute')['to'](this),_0x515a70['focus']=function(){for(const _0x241d1f of this['children'])if(_0x241d1f instanceof _0x140062&&_0x241d1f['isOn'])return void _0x241d1f['focus']();this['children']['first']['focus']();},_0x515a70['focusTracker']=new ot(),_0x515a70['keystrokes']=new rt(),_0x515a70['render'](),_0x515a70['keystrokes']['listenTo'](_0x515a70['element']),this['children']['add'](_0x515a70),_0x515a70;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5be40b=this['_createStartIndexPropertyView'](),_0x5f5800=[_0x5be40b],_0x15c296=new st(this['locale'],_0x5f5800);return _0x15c296['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x15c296['buttonView']['bind']('isEnabled')['toMany'](_0x5f5800,'isEnabled',(..._0x24d0f8)=>_0x24d0f8['some'](_0x193116=>_0x193116)),_0x15c296['buttonView']['on']('change:isEnabled',(_0x5ca782,_0x57fbb2,_0x6b410d)=>{_0x6b410d||(_0x15c296['isCollapsed']=!0x0);}),this['children']['add'](_0x15c296),[_0x5be40b,_0x15c296];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x24adf3=new it(this['locale'],et);return _0x24adf3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x24adf3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x24adf3['fieldView']['on']('input',()=>{const _0x2e18fe=_0x24adf3['fieldView']['element'],_0x3747e3=_0x2e18fe['valueAsNumber'];Number['isNaN'](_0x3747e3)?_0x24adf3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2e18fe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3747e3}):_0x24adf3['errorText']=t(_0x3747e3<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x24adf3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5aa7(){var _0x292503=['226132QFmwNp','isPremiumPlugin','300qrIpLZ','requires','pluginName','FootnotesProperties','515005tWbvxP','289420fOibGo','16FzDSsn','8577AXtjTV','1035387pOcGsX','6zjCJtK','199423TpGIec','11QOakIK','5591310WmRRJn','isOfficialPlugin'];_0x5aa7=function(){return _0x292503;};return _0x5aa7();}var _0x189944=_0x25f6;(function(_0x49cbd8,_0x42384a){var _0xd9cff2=_0x25f6,_0x5a8aa2=_0x49cbd8();while(!![]){try{var _0x175e03=parseInt(_0xd9cff2(0x119))/0x1+-parseInt(_0xd9cff2(0x120))/0x2+parseInt(_0xd9cff2(0x122))/0x3*(-parseInt(_0xd9cff2(0x11b))/0x4)+-parseInt(_0xd9cff2(0x11f))/0x5*(parseInt(_0xd9cff2(0x124))/0x6)+parseInt(_0xd9cff2(0x125))/0x7+parseInt(_0xd9cff2(0x121))/0x8*(-parseInt(_0xd9cff2(0x123))/0x9)+-parseInt(_0xd9cff2(0x127))/0xa*(-parseInt(_0xd9cff2(0x126))/0xb);if(_0x175e03===_0x42384a)break;else _0x5a8aa2['push'](_0x5a8aa2['shift']());}catch(_0x1cbc6e){_0x5a8aa2['push'](_0x5a8aa2['shift']());}}}(_0x5aa7,0x1daba));import{Plugin as _0x5b613e}from'ckeditor5/src/core.js';function _0x25f6(_0x4a0828,_0x1b8498){var _0x5aa7d7=_0x5aa7();return _0x25f6=function(_0x25f69b,_0x41d404){_0x25f69b=_0x25f69b-0x119;var _0x1316e6=_0x5aa7d7[_0x25f69b];return _0x1316e6;},_0x25f6(_0x4a0828,_0x1b8498);}import{FootnotesPropertiesEditing as _0x113ea0}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3e7ebd}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5b613e{static get[_0x189944(0x11d)](){var _0x30d78c=_0x189944;return _0x30d78c(0x11e);}static get[_0x189944(0x11c)](){return[_0x113ea0,_0x3e7ebd];}static get[_0x189944(0x128)](){return!0x0;}static get[_0x189944(0x11a)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xdfde80=_0x3565;(function(_0x36f6e1,_0x5437a8){const _0x54dc2a=_0x3565,_0x29f65a=_0x36f6e1();while(!![]){try{const _0xe23c7b=-parseInt(_0x54dc2a(0x155))/0x1+parseInt(_0x54dc2a(0x167))/0x2+parseInt(_0x54dc2a(0x13d))/0x3+-parseInt(_0x54dc2a(0x16f))/0x4*(parseInt(_0x54dc2a(0x15c))/0x5)+-parseInt(_0x54dc2a(0x16e))/0x6*(-parseInt(_0x54dc2a(0x180))/0x7)+-parseInt(_0x54dc2a(0x132))/0x8*(parseInt(_0x54dc2a(0x152))/0x9)+-parseInt(_0x54dc2a(0x142))/0xa*(-parseInt(_0x54dc2a(0x16a))/0xb);if(_0xe23c7b===_0x5437a8)break;else _0x29f65a['push'](_0x29f65a['shift']());}catch(_0x4b16d3){_0x29f65a['push'](_0x29f65a['shift']());}}}(_0x4f84,0xb892d));import{Plugin as _0x53e9f6}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x31d531}from'./modelelementtracker.js';function _0x4f84(){const _0x2b125a=['enqueueChange','_handleMovedFootnoteReference','30dVkhZJ','508VgubSo','_insertEmptyFootnotesDefinitionsContainer','push','before','change:data','isEqual','document','_handleFootnoteDefinitionsChanges','_ensureFootnotesDefinitionsContainerExists','footnoteId','some','paragraph','get','getFootnotesFormatter','_footnoteDefsTracker','isOfficialPlugin','compareWith','2037966SkmtHY','reference','footnotesDefinitions','_footnoteFormatter','findIndex','min','_updateFootnoteRefCounter','isPremiumPlugin','getFootnotes','getChildren','_handleInsertedFootnoteReference','_handleRemoveFootnoteReferenceById','append','end','parent','_ensureFootnotesReferencesHaveProperOrder','footnoteInlineContent','getFootnotesDefinitionsObjectElement','low','_handleFootnoteReferencesChanges','createRangeIn','move','getFootnote','footnotes.multiBlock','320wdTJKd','splice','singleton','createElement','pluginName','model','$graveyard','init','_handleFootnotesDefinitionsObjectChanges','_footnotes','footnoteDefinition','395010UcFidh','reset','length','FootnotesTracker','rootName','4090LZkzRv','createPositionBefore','config','has','set','getChanges','definition','listenTo','getRootNames','insert','high','from','footnoteRef','after','_footnotesDefinitions','editor','122967WZvFIr','differ','setFootnoteFormatter','904548GjnpnI','createPositionAt','footnoteCounter','setAttribute','map','createRangeOn','_handleFootnotesDefinitionsObjectSync','54295GRmMhz','_updateFootnotesCounters','registerPostFixer','unshift','find','root','_sortFootnoteDefinitions','indexOf','add','remove','_footnoteDefsContainerTracker','585750OwShSJ','getAttribute','_footnoteRefsTracker','45881hBZpjo','childCount'];_0x4f84=function(){return _0x2b125a;};return _0x4f84();}export class FootnotesTracker extends _0x53e9f6{[_0xdfde80(0x13b)]=[];[_0xdfde80(0x150)]=null;[_0xdfde80(0x183)]=null;[_0xdfde80(0x166)];[_0xdfde80(0x169)];[_0xdfde80(0x17d)];static get[_0xdfde80(0x136)](){const _0x5151e7=_0xdfde80;return _0x5151e7(0x140);}static get[_0xdfde80(0x17e)](){return!0x0;}static get[_0xdfde80(0x187)](){return!0x0;}constructor(_0x2f5c49){const _0x209b31=_0xdfde80;super(_0x2f5c49),this[_0x209b31(0x166)]=new _0x31d531(this[_0x209b31(0x151)][_0x209b31(0x137)],{'elementName':_0x209b31(0x182),'getElementKey':()=>_0x209b31(0x134)}),this[_0x209b31(0x169)]=new _0x31d531(this[_0x209b31(0x151)][_0x209b31(0x137)],{'elementName':_0x209b31(0x14e),'getElementKey':_0x4da2b1=>_0x4da2b1[_0x209b31(0x168)](_0x209b31(0x178))}),this[_0x209b31(0x17d)]=new _0x31d531(this[_0x209b31(0x151)][_0x209b31(0x137)],{'elementName':_0x209b31(0x13c),'getElementKey':_0x3da212=>_0x3da212[_0x209b31(0x168)](_0x209b31(0x178))});}[_0xdfde80(0x139)](){const _0x5562cb=_0xdfde80,{editor:_0x5a5395}=this,{model:_0x21d8fb,data:_0x5cdf23}=_0x5a5395;_0x21d8fb[_0x5562cb(0x175)][_0x5562cb(0x15e)](_0x2e75d0=>{const _0x303f53=_0x5562cb,_0x189ab0=_0x21d8fb[_0x303f53(0x175)][_0x303f53(0x153)][_0x303f53(0x147)]();let _0x57629f=!0x1;return this[_0x303f53(0x13a)](_0x2e75d0,_0x189ab0)&&(_0x57629f=!0x0),this[_0x303f53(0x176)](_0x2e75d0,_0x189ab0)&&(_0x57629f=!0x0),this[_0x303f53(0x193)](_0x2e75d0,_0x189ab0)&&(_0x57629f=!0x0),this[_0x303f53(0x18f)](_0x2e75d0)&&(_0x57629f=!0x0),this[_0x303f53(0x15b)](_0x2e75d0)&&(_0x57629f=!0x0),this[_0x303f53(0x162)](_0x2e75d0)&&(_0x57629f=!0x0),_0x57629f;}),this[_0x5562cb(0x149)](_0x21d8fb[_0x5562cb(0x175)],_0x5562cb(0x173),()=>{const _0xab289d=_0x5562cb;_0x21d8fb[_0xab289d(0x16c)]({'isUndoable':!0x1},_0x5e8f04=>{const _0xbced16=_0xab289d;this[_0xbced16(0x177)](_0x5e8f04);});},{'priority':_0x5562cb(0x192)}),this[_0x5562cb(0x149)](_0x5cdf23,_0x5562cb(0x146),()=>{const _0x3219c6=_0x5562cb;this[_0x3219c6(0x13b)]=[],this[_0x3219c6(0x166)][_0x3219c6(0x13e)](),this[_0x3219c6(0x169)][_0x3219c6(0x13e)](),this[_0x3219c6(0x17d)][_0x3219c6(0x13e)]();},{'priority':_0x5562cb(0x14c)});}[_0xdfde80(0x191)](){const _0x2fcab8=_0xdfde80;return this[_0x2fcab8(0x150)];}[_0xdfde80(0x130)](_0x45b1c2){const _0x2447e5=_0xdfde80;return this[_0x2447e5(0x13b)][_0x2447e5(0x160)](_0x21af85=>_0x21af85['id']===_0x45b1c2)||null;}[_0xdfde80(0x188)](){const _0x445114=_0xdfde80;return Array[_0x445114(0x14d)](this[_0x445114(0x13b)]);}[_0xdfde80(0x17c)](){const _0x185b40=_0xdfde80;return this[_0x185b40(0x183)];}[_0xdfde80(0x154)](_0xb82a12){const _0x1f2d1e=_0xdfde80;this[_0x1f2d1e(0x183)]=_0xb82a12;}[_0xdfde80(0x15d)](_0x226f32,_0x194426=0x0){const _0x5e1925=_0xdfde80;let _0x3d0f88=!0x1;for(let _0x521411=_0x194426;_0x521411<this[_0x5e1925(0x13b)][_0x5e1925(0x13f)];_0x521411++)this[_0x5e1925(0x186)](_0x226f32,_0x521411)&&(_0x3d0f88=!0x0);return _0x3d0f88;}[_0xdfde80(0x170)](_0x547955,_0x2ccdda){const _0x29fa6b=_0xdfde80,_0x3842a0=_0x547955[_0x29fa6b(0x135)](_0x29fa6b(0x182),{});return _0x547955[_0x29fa6b(0x18c)](_0x3842a0,_0x2ccdda),this[_0x29fa6b(0x150)]=_0x3842a0,_0x3842a0;}[_0xdfde80(0x177)](_0x4406d0){const _0xeefd12=_0xdfde80;if(!this[_0xeefd12(0x13b)][_0xeefd12(0x13f)]||this[_0xeefd12(0x150)])return;const _0x56c43b=this[_0xeefd12(0x13b)][0x0][_0xeefd12(0x181)][_0xeefd12(0x161)],_0x2884e5=this[_0xeefd12(0x170)](_0x4406d0,_0x56c43b);for(const _0x2e5e6a of this[_0xeefd12(0x13b)])_0x2e5e6a[_0xeefd12(0x148)][_0xeefd12(0x18e)]||_0x4406d0[_0xeefd12(0x14b)](_0x2e5e6a[_0xeefd12(0x148)],_0x2884e5,_0xeefd12(0x18d));this[_0xeefd12(0x15d)](_0x4406d0);}[_0xdfde80(0x13a)](_0x5cf100,_0x1c61d1){const _0x292a5d=_0xdfde80;let _0x467e87=!0x1;const {inserted:_0x3049bd,removed:_0xbd1cc9,moved:_0x506179}=this[_0x292a5d(0x166)][_0x292a5d(0x147)](_0x1c61d1);if(_0x506179[_0x292a5d(0x13f)]&&(this[_0x292a5d(0x150)]=_0x506179[0x0]),_0x3049bd[_0x292a5d(0x13f)]){if(_0x3049bd[_0x292a5d(0x13f)]>0x1||this[_0x292a5d(0x150)]&&_0x3049bd[_0x292a5d(0x179)](_0x3e41a7=>_0x3e41a7!==this[_0x292a5d(0x150)])){const _0x5c8a80=_0x5cf100[_0x292a5d(0x135)](_0x292a5d(0x182),{}),_0xe4497b=[];this[_0x292a5d(0x150)]&&_0xe4497b[_0x292a5d(0x171)](this[_0x292a5d(0x150)]),_0xe4497b[_0x292a5d(0x171)](..._0x3049bd),_0x5cf100[_0x292a5d(0x14b)](_0x5c8a80,_0xe4497b[0x0],_0x292a5d(0x172));for(const _0x481090 of _0xe4497b)_0x5cf100[_0x292a5d(0x12f)](_0x5cf100[_0x292a5d(0x12e)](_0x481090),_0x5cf100[_0x292a5d(0x156)](_0x5c8a80,_0x292a5d(0x18d))),_0x5cf100[_0x292a5d(0x165)](_0x481090);this[_0x292a5d(0x150)]=_0x5c8a80,this[_0x292a5d(0x15d)](_0x5cf100),_0x467e87=!0x0;}else this[_0x292a5d(0x150)]=_0x3049bd[0x0];}if(_0xbd1cc9[_0x292a5d(0x13f)]&&_0x292a5d(0x138)===this[_0x292a5d(0x150)]?.[_0x292a5d(0x161)][_0x292a5d(0x141)]){for(const _0x321ce2 of this[_0x292a5d(0x13b)])_0x5cf100[_0x292a5d(0x165)](_0x321ce2[_0x292a5d(0x181)]),_0x467e87=!0x0;this[_0x292a5d(0x13b)]=[],this[_0x292a5d(0x150)]=null;}return _0x467e87;}[_0xdfde80(0x176)](_0x4d1042,_0x4f71a6){const _0x263891=_0xdfde80;let _0xa66d5f=!0x1;const _0x465ef2=this[_0x263891(0x151)][_0x263891(0x144)][_0x263891(0x17b)](_0x263891(0x131)),{inserted:_0xf2fd7,moved:_0x2608b5}=this[_0x263891(0x17d)][_0x263891(0x147)](_0x4f71a6);for(const _0x19bec1 of[..._0x2608b5,..._0xf2fd7]){const _0x2b37f8=_0x19bec1[_0x263891(0x168)](_0x263891(0x178)),_0x2528c9=this[_0x263891(0x130)](_0x2b37f8);_0x2528c9&&(_0x2528c9[_0x263891(0x148)]=_0x19bec1),_(_0x4d1042,_0x465ef2,_0x19bec1)&&(_0xa66d5f=!0x0);}return _0xa66d5f;}[_0xdfde80(0x193)](_0x143076,_0x2103ef){const _0x1d6a15=_0xdfde80;let _0x5106c7=!0x1;const {removed:_0x2b1676,inserted:_0x84a429,moved:_0x46d394}=this[_0x1d6a15(0x169)][_0x1d6a15(0x147)](_0x2103ef);for(const _0x2edae6 of _0x2b1676)this[_0x1d6a15(0x18b)](_0x143076,_0x2edae6)&&(_0x5106c7=!0x0);for(const _0x3874ee of _0x84a429)this[_0x1d6a15(0x18a)](_0x143076,_0x3874ee)&&(_0x5106c7=!0x0);for(const _0x1dbd5e of _0x46d394)this[_0x1d6a15(0x16d)](_0x143076,_0x1dbd5e)&&(_0x5106c7=!0x0);return _0x5106c7;}[_0xdfde80(0x15b)](_0x2e6744){const _0x23d704=_0xdfde80;if(!this[_0x23d704(0x150)])return!0x1;let _0x5cb92a=!0x1;if(this[_0x23d704(0x150)][_0x23d704(0x16b)]!==this[_0x23d704(0x13b)][_0x23d704(0x13f)]){const _0x546a7c=[];for(const _0xf95305 of this[_0x23d704(0x150)][_0x23d704(0x189)]()){const _0x5c4dec=_0xf95305[_0x23d704(0x168)](_0x23d704(0x178));this[_0x23d704(0x130)](_0x5c4dec)||(_0x546a7c[_0x23d704(0x15f)](_0xf95305),_0x5cb92a=!0x0);}for(const _0x2d006d of _0x546a7c)_0x2e6744[_0x23d704(0x165)](_0x2d006d);}const _0x5fd6b7=new Set(),_0x28f496=[];for(const _0x4e3c1a of this[_0x23d704(0x150)][_0x23d704(0x189)]()){const _0x8bf343=_0x4e3c1a[_0x23d704(0x168)](_0x23d704(0x178));_0x5fd6b7[_0x23d704(0x145)](_0x8bf343)?(_0x28f496[_0x23d704(0x15f)](_0x4e3c1a),_0x5cb92a=!0x0):_0x5fd6b7[_0x23d704(0x164)](_0x8bf343);}for(const _0x40c168 of _0x28f496)_0x2e6744[_0x23d704(0x165)](_0x40c168);return this[_0x23d704(0x150)][_0x23d704(0x16b)]||(_0x2e6744[_0x23d704(0x165)](this[_0x23d704(0x150)]),this[_0x23d704(0x150)]=null,_0x5cb92a=!0x0),_0x5cb92a;}[_0xdfde80(0x18a)](_0x4ed6b3,_0x15d13e){const _0x1af8f7=_0xdfde80;if(this[_0x1af8f7(0x13b)][_0x1af8f7(0x160)](_0x4babc9=>_0x4babc9[_0x1af8f7(0x181)]===_0x15d13e))return!0x1;let _0x3ea63b=!0x1;const _0x2c58c1=_0x15d13e[_0x1af8f7(0x168)](_0x1af8f7(0x178)),_0x5e715b=this[_0x1af8f7(0x13b)][_0x1af8f7(0x184)](_0x125973=>_0x125973['id']===_0x2c58c1);-0x1!==_0x5e715b&&(_0x4ed6b3[_0x1af8f7(0x165)](this[_0x1af8f7(0x13b)][_0x5e715b][_0x1af8f7(0x181)]),this[_0x1af8f7(0x13b)][_0x1af8f7(0x133)](_0x5e715b,0x1),_0x3ea63b=!0x0);let _0x371350=this[_0x1af8f7(0x150)]?function(_0x629035,_0x2aae7b){const _0x1a5a7f=_0x1af8f7;for(const _0x2e1af4 of _0x629035[_0x1a5a7f(0x189)]())if(_0x2e1af4[_0x1a5a7f(0x168)](_0x1a5a7f(0x178))===_0x2aae7b)return _0x2e1af4;return null;}(this[_0x1af8f7(0x150)],_0x2c58c1):null;_0x371350||(_0x371350=_0x4ed6b3[_0x1af8f7(0x135)](_0x1af8f7(0x13c),{'footnoteId':_0x2c58c1}),this[_0x1af8f7(0x150)]&&(_0x4ed6b3[_0x1af8f7(0x14b)](_0x371350,this[_0x1af8f7(0x150)],_0x1af8f7(0x18d)),_0x3ea63b=!0x0));const _0xe678ec={'id':_0x2c58c1,'reference':_0x15d13e,'definition':_0x371350},_0x46c4b0=I(this[_0x1af8f7(0x151)][_0x1af8f7(0x137)],this[_0x1af8f7(0x13b)],_0x15d13e);this[_0x1af8f7(0x13b)][_0x1af8f7(0x133)](_0x46c4b0,0x0,_0xe678ec);let _0x4b4b39=_0x46c4b0;return-0x1!==_0x5e715b&&(_0x4b4b39=Math[_0x1af8f7(0x185)](_0x46c4b0,_0x5e715b)),this[_0x1af8f7(0x15d)](_0x4ed6b3,_0x4b4b39)&&(_0x3ea63b=!0x0),_0x3ea63b;}[_0xdfde80(0x18b)](_0x474409,_0x10512b){const _0x190269=_0xdfde80,_0x3926b2=this[_0x190269(0x13b)][_0x190269(0x184)](_0x1adcae=>_0x1adcae['id']===_0x10512b);if(-0x1===_0x3926b2)return!0x1;let _0x10ddfb=!0x1;const _0x5ef3dc=this[_0x190269(0x13b)][_0x3926b2];return _0x190269(0x138)!==_0x5ef3dc[_0x190269(0x148)][_0x190269(0x161)][_0x190269(0x141)]&&(_0x474409[_0x190269(0x165)](_0x5ef3dc[_0x190269(0x148)]),_0x10ddfb=!0x0),this[_0x190269(0x13b)][_0x190269(0x133)](_0x3926b2,0x1),this[_0x190269(0x15d)](_0x474409,_0x3926b2)&&(_0x10ddfb=!0x0),_0x10ddfb;}[_0xdfde80(0x16d)](_0x5a7b2c,_0x417187){const _0x1f1804=_0xdfde80,_0x314d37=_0x417187[_0x1f1804(0x168)](_0x1f1804(0x178)),_0x33b1b8=this[_0x1f1804(0x13b)][_0x1f1804(0x184)](_0x47058e=>_0x47058e['id']===_0x314d37),_0x5ec0e7=this[_0x1f1804(0x13b)][_0x33b1b8];let _0x3bdae4=!0x1;_0x5ec0e7[_0x1f1804(0x181)]=_0x417187,this[_0x1f1804(0x13b)][_0x1f1804(0x133)](_0x33b1b8,0x1);const _0x449f4c=I(this[_0x1f1804(0x151)][_0x1f1804(0x137)],this[_0x1f1804(0x13b)],_0x417187);return this[_0x1f1804(0x13b)][_0x1f1804(0x133)](_0x449f4c,0x0,_0x5ec0e7),this[_0x1f1804(0x15d)](_0x5a7b2c,Math[_0x1f1804(0x185)](_0x33b1b8,_0x449f4c))&&(_0x3bdae4=!0x0),_0x3bdae4;}[_0xdfde80(0x186)](_0x3e496e,_0xef5a95){const _0x2c802e=_0xdfde80;if(!this[_0x2c802e(0x150)])return!0x1;const _0x291454=this[_0x2c802e(0x13b)][_0xef5a95];let _0x232f3a;return _0x232f3a=this[_0x2c802e(0x183)]?this[_0x2c802e(0x183)]({'footnote':_0x291454,'container':this[_0x2c802e(0x150)],'digits':String(this[_0x2c802e(0x13b)][_0x2c802e(0x13f)])[_0x2c802e(0x13f)],'value':_0xef5a95+0x1}):String(_0xef5a95+0x1),_0x291454[_0x2c802e(0x181)][_0x2c802e(0x168)](_0x2c802e(0x157))!=_0x232f3a&&(_0x3e496e[_0x2c802e(0x158)](_0x2c802e(0x157),_0x232f3a,_0x291454[_0x2c802e(0x181)]),!0x0);}[_0xdfde80(0x162)](_0x2f33bc){const _0x96743e=_0xdfde80;if(!this[_0x96743e(0x150)]||this[_0x96743e(0x13b)][_0x96743e(0x13f)]<0x2)return!0x1;if(function(_0x4b9f4f,_0x3bc403){const _0x483264=_0x96743e;if(_0x4b9f4f[_0x483264(0x13f)]!==_0x3bc403[_0x483264(0x13f)])return!0x1;for(let _0x56e5bd=0x0;_0x56e5bd<_0x4b9f4f[_0x483264(0x13f)];_0x56e5bd++)if(_0x4b9f4f[_0x56e5bd]!==_0x3bc403[_0x56e5bd])return!0x1;return!0x0;}(this[_0x96743e(0x13b)][_0x96743e(0x159)](_0xbc22ef=>_0xbc22ef['id']),Array[_0x96743e(0x14d)](this[_0x96743e(0x150)][_0x96743e(0x189)]())[_0x96743e(0x159)](_0x293db9=>_0x293db9[_0x96743e(0x168)](_0x96743e(0x178)))))return!0x1;let _0x48b6ca=!0x1;for(let _0x971615=0x0;_0x971615<this[_0x96743e(0x13b)][_0x96743e(0x13f)];_0x971615++){const _0x597681=this[_0x96743e(0x13b)][_0x971615],_0x220d35=_0x2f33bc[_0x96743e(0x143)](_0x597681[_0x96743e(0x148)]),_0x4cbfb4=_0x2f33bc[_0x96743e(0x156)](this[_0x96743e(0x150)],_0x971615);_0x220d35[_0x96743e(0x174)](_0x4cbfb4)||(_0x2f33bc[_0x96743e(0x12f)](_0x2f33bc[_0x96743e(0x15a)](_0x597681[_0x96743e(0x148)]),_0x4cbfb4),_0x48b6ca=!0x0);}return _0x48b6ca;}[_0xdfde80(0x18f)](_0x1a36e1){const _0x248683=_0xdfde80;if(!this[_0x248683(0x13b)][_0x248683(0x13f)])return!0x1;const {model:_0xe37307}=this[_0x248683(0x151)];let _0x5b05c1=!0x1;for(let _0x5ba016=0x0;_0x5ba016<this[_0x248683(0x13b)][_0x248683(0x13f)]-0x1;_0x5ba016++){const _0xe4bfc4=this[_0x248683(0x13b)][_0x5ba016],_0x5a0449=this[_0x248683(0x13b)][_0x5ba016+0x1],_0x44a35f=_0xe37307[_0x248683(0x143)](_0xe4bfc4[_0x248683(0x181)]),_0x301ee7=_0xe37307[_0x248683(0x143)](_0x5a0449[_0x248683(0x181)]);_0x248683(0x14f)===_0x44a35f[_0x248683(0x17f)](_0x301ee7)&&(this[_0x248683(0x16d)](_0x1a36e1,_0xe4bfc4[_0x248683(0x181)]),_0x5ba016=-0x1,_0x5b05c1=!0x0);}return _0x5b05c1;}}function _0x3565(_0x13bf21,_0xb2f1bd){const _0x4f84b7=_0x4f84();return _0x3565=function(_0x3565b2,_0x894932){_0x3565b2=_0x3565b2-0x12e;let _0x23a667=_0x4f84b7[_0x3565b2];return _0x23a667;},_0x3565(_0x13bf21,_0xb2f1bd);}function _(_0x1cb5b0,_0x16c733,_0x2dcfd8){const _0x931511=_0xdfde80;if(_0x2dcfd8[_0x931511(0x16b)])return!0x1;const _0x2a8b75=_0x16c733?_0x931511(0x17a):_0x931511(0x190);return _0x1cb5b0[_0x931511(0x14b)](_0x1cb5b0[_0x931511(0x135)](_0x2a8b75),_0x2dcfd8),!0x0;}function I(_0x3ab30,_0x2d5d70,_0x5efcef){const _0x5f59a4=_0xdfde80;if(0x0===_0x2d5d70[_0x5f59a4(0x13f)])return 0x0;const _0x8c9cf=_0x3ab30[_0x5f59a4(0x143)](_0x5efcef);for(let _0x4c84e5=0x0;_0x4c84e5<_0x2d5d70[_0x5f59a4(0x13f)];_0x4c84e5++){const _0x62d75=_0x2d5d70[_0x4c84e5],_0x295b32=_0x3ab30[_0x5f59a4(0x143)](_0x62d75[_0x5f59a4(0x181)]);if(_0x5f59a4(0x172)===_0x8c9cf[_0x5f59a4(0x17f)](_0x295b32))return _0x4c84e5;}const _0x13b26f=_0x5efcef[_0x5f59a4(0x161)];let _0x6a95ed=-0x1;for(let _0x4d4ab3=_0x2d5d70[_0x5f59a4(0x13f)]-0x1;_0x4d4ab3>=0x0;_0x4d4ab3--)if(_0x2d5d70[_0x4d4ab3][_0x5f59a4(0x181)][_0x5f59a4(0x161)]===_0x13b26f){_0x6a95ed=_0x4d4ab3;break;}if(-0x1!==_0x6a95ed)return _0x6a95ed+0x1;const _0x509d83=_0x3ab30[_0x5f59a4(0x175)][_0x5f59a4(0x14a)](),_0x9a64c=_0x509d83[_0x5f59a4(0x163)](_0x13b26f[_0x5f59a4(0x141)]),_0x42de3f=_0x509d83[_0x9a64c+0x1];if(_0x42de3f){for(let _0x55c9e9=0x0;_0x55c9e9<_0x2d5d70[_0x5f59a4(0x13f)];_0x55c9e9++)if(_0x2d5d70[_0x55c9e9][_0x5f59a4(0x181)][_0x5f59a4(0x161)][_0x5f59a4(0x141)]===_0x42de3f)return _0x55c9e9;}return _0x2d5d70[_0x5f59a4(0x13f)];}
|
|
23
|
+
const _0x3e47ae=_0x3441;(function(_0x16dcf2,_0xc84746){const _0x3508c9=_0x3441,_0x36be68=_0x16dcf2();while(!![]){try{const _0x402d48=parseInt(_0x3508c9(0xf3))/0x1+parseInt(_0x3508c9(0xec))/0x2*(-parseInt(_0x3508c9(0x109))/0x3)+parseInt(_0x3508c9(0x111))/0x4+-parseInt(_0x3508c9(0xf5))/0x5+parseInt(_0x3508c9(0x121))/0x6+parseInt(_0x3508c9(0x119))/0x7+-parseInt(_0x3508c9(0xde))/0x8;if(_0x402d48===_0xc84746)break;else _0x36be68['push'](_0x36be68['shift']());}catch(_0x40d375){_0x36be68['push'](_0x36be68['shift']());}}}(_0x188b,0xd5720));function _0x3441(_0x326f10,_0x5abfb0){const _0x188bab=_0x188b();return _0x3441=function(_0x3441a3,_0x5a5422){_0x3441a3=_0x3441a3-0xcb;let _0x32457c=_0x188bab[_0x3441a3];return _0x32457c;},_0x3441(_0x326f10,_0x5abfb0);}import{Plugin as _0x14a252}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x14179f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x14a252{[_0x3e47ae(0xd1)]=[];[_0x3e47ae(0xef)]=null;[_0x3e47ae(0x11a)]=null;[_0x3e47ae(0xe4)];[_0x3e47ae(0x108)];[_0x3e47ae(0xff)];static get[_0x3e47ae(0x11f)](){const _0x2ded39=_0x3e47ae;return _0x2ded39(0xe5);}static get[_0x3e47ae(0xdd)](){return!0x0;}static get[_0x3e47ae(0xdf)](){return!0x0;}constructor(_0x3545cb){const _0x19d5c4=_0x3e47ae;super(_0x3545cb),this[_0x19d5c4(0xe4)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x10b),'getElementKey':()=>_0x19d5c4(0xed)}),this[_0x19d5c4(0x108)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x127),'getElementKey':_0x5fa4c8=>_0x5fa4c8[_0x19d5c4(0x112)](_0x19d5c4(0x106))}),this[_0x19d5c4(0xff)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0xee),'getElementKey':_0x59812e=>_0x59812e[_0x19d5c4(0x112)](_0x19d5c4(0x106))});}[_0x3e47ae(0xcb)](){const _0x447c2e=_0x3e47ae,{editor:_0xe178a0}=this,{model:_0x1a720d,data:_0x56eb37}=_0xe178a0;_0x1a720d[_0x447c2e(0xd4)][_0x447c2e(0x126)](_0x502291=>{const _0x37adba=_0x447c2e,_0x43ce2c=_0x1a720d[_0x37adba(0xd4)][_0x37adba(0xd9)][_0x37adba(0x11b)]();let _0x4a8384=!0x1;return this[_0x37adba(0xf4)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x12a)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x10e)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x102)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0xf2)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0x110)](_0x502291)&&(_0x4a8384=!0x0),_0x4a8384;}),this[_0x447c2e(0x100)](_0x1a720d[_0x447c2e(0xd4)],_0x447c2e(0xfb),()=>{const _0x3a79c1=_0x447c2e;_0x1a720d[_0x3a79c1(0x113)]({'isUndoable':!0x1},_0x2f49bc=>{const _0x4b4871=_0x3a79c1;this[_0x4b4871(0xe6)](_0x2f49bc);});},{'priority':_0x447c2e(0x12b)}),this[_0x447c2e(0x100)](_0x56eb37,_0x447c2e(0x115),()=>{const _0xa92f73=_0x447c2e;this[_0xa92f73(0xd1)]=[],this[_0xa92f73(0xe4)][_0xa92f73(0xdc)](),this[_0xa92f73(0x108)][_0xa92f73(0xdc)](),this[_0xa92f73(0xff)][_0xa92f73(0xdc)]();},{'priority':_0x447c2e(0xfc)});}[_0x3e47ae(0xe2)](){const _0xda1161=_0x3e47ae;return this[_0xda1161(0xef)];}[_0x3e47ae(0x101)](_0x526ab2){const _0x13e186=_0x3e47ae;return this[_0x13e186(0xd1)][_0x13e186(0x123)](_0x2c13ed=>_0x2c13ed['id']===_0x526ab2)||null;}[_0x3e47ae(0xe0)](){const _0x245e3c=_0x3e47ae;return Array[_0x245e3c(0x125)](this[_0x245e3c(0xd1)]);}[_0x3e47ae(0x120)](){const _0x2132b2=_0x3e47ae;return this[_0x2132b2(0x11a)];}[_0x3e47ae(0xd3)](_0x5743a6){const _0xc41c0=_0x3e47ae;this[_0xc41c0(0x11a)]=_0x5743a6;}[_0x3e47ae(0x10f)](_0x4beb4f,_0x1f209a=0x0){const _0x50f456=_0x3e47ae;let _0x27333e=!0x1;for(let _0x340b20=_0x1f209a;_0x340b20<this[_0x50f456(0xd1)][_0x50f456(0xf6)];_0x340b20++)this[_0x50f456(0x114)](_0x4beb4f,_0x340b20)&&(_0x27333e=!0x0);return _0x27333e;}[_0x3e47ae(0x116)](_0x2b867b,_0x46b6de){const _0x7bc15a=_0x3e47ae,_0x3913ab=_0x2b867b[_0x7bc15a(0xcc)](_0x7bc15a(0x10b),{});return _0x2b867b[_0x7bc15a(0xf0)](_0x3913ab,_0x46b6de),this[_0x7bc15a(0xef)]=_0x3913ab,_0x3913ab;}[_0x3e47ae(0xe6)](_0x1391ac){const _0x2b424f=_0x3e47ae;if(!this[_0x2b424f(0xd1)][_0x2b424f(0xf6)]||this[_0x2b424f(0xef)])return;const _0x67fdf0=this[_0x2b424f(0xd1)][0x0][_0x2b424f(0x117)][_0x2b424f(0xcf)],_0x36b1e9=this[_0x2b424f(0x116)](_0x1391ac,_0x67fdf0);for(const _0x325af9 of this[_0x2b424f(0xd1)])_0x325af9[_0x2b424f(0x118)][_0x2b424f(0xdb)]||_0x1391ac[_0x2b424f(0x11e)](_0x325af9[_0x2b424f(0x118)],_0x36b1e9,_0x2b424f(0x11d));this[_0x2b424f(0x10f)](_0x1391ac);}[_0x3e47ae(0xf4)](_0x413221,_0x3808ca){const _0x8a9f9d=_0x3e47ae;let _0x20f8bd=!0x1;const {inserted:_0x238ac6,removed:_0xc1c29,moved:_0x5aea18}=this[_0x8a9f9d(0xe4)][_0x8a9f9d(0x11b)](_0x3808ca);if(_0x5aea18[_0x8a9f9d(0xf6)]&&(this[_0x8a9f9d(0xef)]=_0x5aea18[0x0]),_0x238ac6[_0x8a9f9d(0xf6)]){if(_0x238ac6[_0x8a9f9d(0xf6)]>0x1||this[_0x8a9f9d(0xef)]&&_0x238ac6[_0x8a9f9d(0xea)](_0x5cb4ee=>_0x5cb4ee!==this[_0x8a9f9d(0xef)])){const _0x1c95c6=_0x413221[_0x8a9f9d(0xcc)](_0x8a9f9d(0x10b),{}),_0x5ed378=[];this[_0x8a9f9d(0xef)]&&_0x5ed378[_0x8a9f9d(0x103)](this[_0x8a9f9d(0xef)]),_0x5ed378[_0x8a9f9d(0x103)](..._0x238ac6),_0x413221[_0x8a9f9d(0x11e)](_0x1c95c6,_0x5ed378[0x0],_0x8a9f9d(0xcd));for(const _0x12d8bd of _0x5ed378)_0x413221[_0x8a9f9d(0xd5)](_0x413221[_0x8a9f9d(0x10c)](_0x12d8bd),_0x413221[_0x8a9f9d(0xd0)](_0x1c95c6,_0x8a9f9d(0x11d))),_0x413221[_0x8a9f9d(0xd6)](_0x12d8bd);this[_0x8a9f9d(0xef)]=_0x1c95c6,this[_0x8a9f9d(0x10f)](_0x413221),_0x20f8bd=!0x0;}else this[_0x8a9f9d(0xef)]=_0x238ac6[0x0];}if(_0xc1c29[_0x8a9f9d(0xf6)]&&_0x8a9f9d(0x105)===this[_0x8a9f9d(0xef)]?.[_0x8a9f9d(0xcf)][_0x8a9f9d(0xfe)]){for(const _0x20507d of this[_0x8a9f9d(0xd1)])_0x413221[_0x8a9f9d(0xd6)](_0x20507d[_0x8a9f9d(0x117)]),_0x20f8bd=!0x0;this[_0x8a9f9d(0xd1)]=[],this[_0x8a9f9d(0xef)]=null;}return _0x20f8bd;}[_0x3e47ae(0x12a)](_0x1c9aab,_0x2a2056){const _0x376d3b=_0x3e47ae;let _0x268bd3=!0x1;const _0x59d72e=this[_0x376d3b(0xf7)][_0x376d3b(0x11c)][_0x376d3b(0xeb)](_0x376d3b(0xfd)),{inserted:_0xa23ae4,moved:_0x3f79e9}=this[_0x376d3b(0xff)][_0x376d3b(0x11b)](_0x2a2056);for(const _0x1fd511 of[..._0x3f79e9,..._0xa23ae4]){const _0xe70387=_0x1fd511[_0x376d3b(0x112)](_0x376d3b(0x106)),_0x2bec24=this[_0x376d3b(0x101)](_0xe70387);_0x2bec24&&(_0x2bec24[_0x376d3b(0x118)]=_0x1fd511),_(_0x1c9aab,_0x59d72e,_0x1fd511)&&(_0x268bd3=!0x0);}return _0x268bd3;}[_0x3e47ae(0x10e)](_0x3eb816,_0x40d2ea){const _0x3b9e91=_0x3e47ae;let _0x334638=!0x1;const {removed:_0x305155,inserted:_0x24d038,moved:_0x15b90f}=this[_0x3b9e91(0x108)][_0x3b9e91(0x11b)](_0x40d2ea);for(const _0x1e3d62 of _0x305155)this[_0x3b9e91(0xd2)](_0x3eb816,_0x1e3d62)&&(_0x334638=!0x0);for(const _0x325eb0 of _0x24d038)this[_0x3b9e91(0xda)](_0x3eb816,_0x325eb0)&&(_0x334638=!0x0);for(const _0x2f4bcc of _0x15b90f)this[_0x3b9e91(0xe1)](_0x3eb816,_0x2f4bcc)&&(_0x334638=!0x0);return _0x334638;}[_0x3e47ae(0xf2)](_0x186183){const _0x4c6aef=_0x3e47ae;if(!this[_0x4c6aef(0xef)])return!0x1;let _0x202e7f=!0x1;if(this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]!==this[_0x4c6aef(0xd1)][_0x4c6aef(0xf6)]){const _0x3eb26a=[];for(const _0x25c892 of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x330f8d=_0x25c892[_0x4c6aef(0x112)](_0x4c6aef(0x106));this[_0x4c6aef(0x101)](_0x330f8d)||(_0x3eb26a[_0x4c6aef(0x10d)](_0x25c892),_0x202e7f=!0x0);}for(const _0x45bbdc of _0x3eb26a)_0x186183[_0x4c6aef(0xd6)](_0x45bbdc);}const _0x3cc4ab=new Set(),_0x53345e=[];for(const _0x5ee9be of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x3612a4=_0x5ee9be[_0x4c6aef(0x112)](_0x4c6aef(0x106));_0x3cc4ab[_0x4c6aef(0x10a)](_0x3612a4)?(_0x53345e[_0x4c6aef(0x10d)](_0x5ee9be),_0x202e7f=!0x0):_0x3cc4ab[_0x4c6aef(0x129)](_0x3612a4);}for(const _0x167f7f of _0x53345e)_0x186183[_0x4c6aef(0xd6)](_0x167f7f);return this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]||(_0x186183[_0x4c6aef(0xd6)](this[_0x4c6aef(0xef)]),this[_0x4c6aef(0xef)]=null,_0x202e7f=!0x0),_0x202e7f;}[_0x3e47ae(0xda)](_0x3a7e31,_0x54a24a){const _0x219e77=_0x3e47ae;if(this[_0x219e77(0xd1)][_0x219e77(0x123)](_0x317bf4=>_0x317bf4[_0x219e77(0x117)]===_0x54a24a))return!0x1;let _0x2ab592=!0x1;const _0x385f93=_0x54a24a[_0x219e77(0x112)](_0x219e77(0x106)),_0x51f111=this[_0x219e77(0xd1)][_0x219e77(0x12c)](_0x90e30d=>_0x90e30d['id']===_0x385f93);-0x1!==_0x51f111&&(_0x3a7e31[_0x219e77(0xd6)](this[_0x219e77(0xd1)][_0x51f111][_0x219e77(0x117)]),this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x51f111,0x1),_0x2ab592=!0x0);let _0x3762c9=this[_0x219e77(0xef)]?function(_0x3a427f,_0x7343af){const _0x21b9c5=_0x219e77;for(const _0x5b4e8e of _0x3a427f[_0x21b9c5(0xfa)]())if(_0x5b4e8e[_0x21b9c5(0x112)](_0x21b9c5(0x106))===_0x7343af)return _0x5b4e8e;return null;}(this[_0x219e77(0xef)],_0x385f93):null;_0x3762c9||(_0x3762c9=_0x3a7e31[_0x219e77(0xcc)](_0x219e77(0xee),{'footnoteId':_0x385f93}),this[_0x219e77(0xef)]&&(_0x3a7e31[_0x219e77(0x11e)](_0x3762c9,this[_0x219e77(0xef)],_0x219e77(0x11d)),_0x2ab592=!0x0));const _0x89b8ef={'id':_0x385f93,'reference':_0x54a24a,'definition':_0x3762c9},_0x32f203=I(this[_0x219e77(0xf7)][_0x219e77(0xd7)],this[_0x219e77(0xd1)],_0x54a24a);this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x32f203,0x0,_0x89b8ef);let _0x5f54f3=_0x32f203;return-0x1!==_0x51f111&&(_0x5f54f3=Math[_0x219e77(0xd8)](_0x32f203,_0x51f111)),this[_0x219e77(0x10f)](_0x3a7e31,_0x5f54f3)&&(_0x2ab592=!0x0),_0x2ab592;}[_0x3e47ae(0xd2)](_0xb5a88,_0x1046ed){const _0x976bec=_0x3e47ae,_0x17557e=this[_0x976bec(0xd1)][_0x976bec(0x12c)](_0x5d7a5f=>_0x5d7a5f['id']===_0x1046ed);if(-0x1===_0x17557e)return!0x1;let _0xd6c0f2=!0x1;const _0x3aca14=this[_0x976bec(0xd1)][_0x17557e];return _0x976bec(0x105)!==_0x3aca14[_0x976bec(0x118)][_0x976bec(0xcf)][_0x976bec(0xfe)]&&(_0xb5a88[_0x976bec(0xd6)](_0x3aca14[_0x976bec(0x118)]),_0xd6c0f2=!0x0),this[_0x976bec(0xd1)][_0x976bec(0x107)](_0x17557e,0x1),this[_0x976bec(0x10f)](_0xb5a88,_0x17557e)&&(_0xd6c0f2=!0x0),_0xd6c0f2;}[_0x3e47ae(0xe1)](_0x59127e,_0x2ddcc1){const _0x122dcc=_0x3e47ae,_0x23fe84=_0x2ddcc1[_0x122dcc(0x112)](_0x122dcc(0x106)),_0x2c7e8e=this[_0x122dcc(0xd1)][_0x122dcc(0x12c)](_0x3bb9a5=>_0x3bb9a5['id']===_0x23fe84),_0x320369=this[_0x122dcc(0xd1)][_0x2c7e8e];let _0x11573c=!0x1;_0x320369[_0x122dcc(0x117)]=_0x2ddcc1,this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x2c7e8e,0x1);const _0x57db4d=I(this[_0x122dcc(0xf7)][_0x122dcc(0xd7)],this[_0x122dcc(0xd1)],_0x2ddcc1);return this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x57db4d,0x0,_0x320369),this[_0x122dcc(0x10f)](_0x59127e,Math[_0x122dcc(0xd8)](_0x2c7e8e,_0x57db4d))&&(_0x11573c=!0x0),_0x11573c;}[_0x3e47ae(0x114)](_0x3f4aa7,_0x47394f){const _0x29eda5=_0x3e47ae;if(!this[_0x29eda5(0xef)])return!0x1;const _0x24a810=this[_0x29eda5(0xd1)][_0x47394f];let _0x190197;return _0x190197=this[_0x29eda5(0x11a)]?this[_0x29eda5(0x11a)]({'footnote':_0x24a810,'container':this[_0x29eda5(0xef)],'digits':String(this[_0x29eda5(0xd1)][_0x29eda5(0xf6)])[_0x29eda5(0xf6)],'value':_0x47394f+0x1}):String(_0x47394f+0x1),_0x24a810[_0x29eda5(0x117)][_0x29eda5(0x112)](_0x29eda5(0xf8))!=_0x190197&&(_0x3f4aa7[_0x29eda5(0xf1)](_0x29eda5(0xf8),_0x190197,_0x24a810[_0x29eda5(0x117)]),!0x0);}[_0x3e47ae(0x110)](_0x21a454){const _0x2b9f82=_0x3e47ae;if(!this[_0x2b9f82(0xef)]||this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)]<0x2)return!0x1;if(function(_0x1bf0d0,_0x43aa09){const _0x166938=_0x2b9f82;if(_0x1bf0d0[_0x166938(0xf6)]!==_0x43aa09[_0x166938(0xf6)])return!0x1;for(let _0x14d6ec=0x0;_0x14d6ec<_0x1bf0d0[_0x166938(0xf6)];_0x14d6ec++)if(_0x1bf0d0[_0x14d6ec]!==_0x43aa09[_0x14d6ec])return!0x1;return!0x0;}(this[_0x2b9f82(0xd1)][_0x2b9f82(0xe9)](_0x6e2e65=>_0x6e2e65['id']),Array[_0x2b9f82(0x125)](this[_0x2b9f82(0xef)][_0x2b9f82(0xfa)]())[_0x2b9f82(0xe9)](_0x5ade8d=>_0x5ade8d[_0x2b9f82(0x112)](_0x2b9f82(0x106)))))return!0x1;let _0x39c6c1=!0x1;for(let _0x4f1c9f=0x0;_0x4f1c9f<this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)];_0x4f1c9f++){const _0x36ed45=this[_0x2b9f82(0xd1)][_0x4f1c9f],_0x54e10d=_0x21a454[_0x2b9f82(0x124)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f=_0x21a454[_0x2b9f82(0xd0)](this[_0x2b9f82(0xef)],_0x4f1c9f);_0x54e10d[_0x2b9f82(0xe3)](_0x13d21f)||(_0x21a454[_0x2b9f82(0xd5)](_0x21a454[_0x2b9f82(0x104)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f),_0x39c6c1=!0x0);}return _0x39c6c1;}[_0x3e47ae(0x102)](_0x337ccc){const _0x37ffda=_0x3e47ae;if(!this[_0x37ffda(0xd1)][_0x37ffda(0xf6)])return!0x1;const {model:_0x4375c5}=this[_0x37ffda(0xf7)];let _0x55a352=!0x1;for(let _0x1112ee=0x0;_0x1112ee<this[_0x37ffda(0xd1)][_0x37ffda(0xf6)]-0x1;_0x1112ee++){const _0x2498ef=this[_0x37ffda(0xd1)][_0x1112ee],_0x23862c=this[_0x37ffda(0xd1)][_0x1112ee+0x1],_0x4cb39b=_0x4375c5[_0x37ffda(0x124)](_0x2498ef[_0x37ffda(0x117)]),_0x10ff2d=_0x4375c5[_0x37ffda(0x124)](_0x23862c[_0x37ffda(0x117)]);_0x37ffda(0xce)===_0x4cb39b[_0x37ffda(0x122)](_0x10ff2d)&&(this[_0x37ffda(0xe1)](_0x337ccc,_0x2498ef[_0x37ffda(0x117)]),_0x1112ee=-0x1,_0x55a352=!0x0);}return _0x55a352;}}function _(_0x43f783,_0x4b4c6a,_0x57a7ed){const _0x3bf79a=_0x3e47ae;if(_0x57a7ed[_0x3bf79a(0x128)])return!0x1;const _0x1acca8=_0x4b4c6a?_0x3bf79a(0xe8):_0x3bf79a(0xe7);return _0x43f783[_0x3bf79a(0x11e)](_0x43f783[_0x3bf79a(0xcc)](_0x1acca8),_0x57a7ed),!0x0;}function I(_0x618915,_0x5dcc54,_0x5756c9){const _0x3d5376=_0x3e47ae;if(0x0===_0x5dcc54[_0x3d5376(0xf6)])return 0x0;const _0xfd6736=_0x618915[_0x3d5376(0x124)](_0x5756c9);for(let _0x3966f7=0x0;_0x3966f7<_0x5dcc54[_0x3d5376(0xf6)];_0x3966f7++){const _0x45fe4c=_0x5dcc54[_0x3966f7],_0x47b945=_0x618915[_0x3d5376(0x124)](_0x45fe4c[_0x3d5376(0x117)]);if(_0x3d5376(0xcd)===_0xfd6736[_0x3d5376(0x122)](_0x47b945))return _0x3966f7;}const _0x4eca1c=_0x5756c9[_0x3d5376(0xcf)];let _0x15f5b1=-0x1;for(let _0x1bfe50=_0x5dcc54[_0x3d5376(0xf6)]-0x1;_0x1bfe50>=0x0;_0x1bfe50--)if(_0x5dcc54[_0x1bfe50][_0x3d5376(0x117)][_0x3d5376(0xcf)]===_0x4eca1c){_0x15f5b1=_0x1bfe50;break;}if(-0x1!==_0x15f5b1)return _0x15f5b1+0x1;const _0x12a095=_0x618915[_0x3d5376(0xd4)][_0x3d5376(0xf9)](),_0x1e6a91=_0x12a095[_0x3d5376(0x12d)](_0x4eca1c[_0x3d5376(0xfe)]),_0x611c4f=_0x12a095[_0x1e6a91+0x1];if(_0x611c4f){for(let _0x31b4ff=0x0;_0x31b4ff<_0x5dcc54[_0x3d5376(0xf6)];_0x31b4ff++)if(_0x5dcc54[_0x31b4ff][_0x3d5376(0x117)][_0x3d5376(0xcf)][_0x3d5376(0xfe)]===_0x611c4f)return _0x31b4ff;}return _0x5dcc54[_0x3d5376(0xf6)];}function _0x188b(){const _0x22bdf1=['_footnoteDefsContainerTracker','FootnotesTracker','_ensureFootnotesDefinitionsContainerExists','footnoteInlineContent','paragraph','map','some','get','2819038XqSqFP','singleton','footnoteDefinition','_footnotesDefinitions','append','setAttribute','_handleFootnotesDefinitionsObjectSync','1134632kxWqLR','_handleFootnotesDefinitionsObjectChanges','1054135TDoGKK','length','editor','footnoteCounter','getRootNames','getChildren','change:data','high','footnotes.multiBlock','rootName','_footnoteDefsTracker','listenTo','getFootnote','_ensureFootnotesReferencesHaveProperOrder','push','createRangeOn','$graveyard','footnoteId','splice','_footnoteRefsTracker','3PzrpfH','has','footnotesDefinitions','createRangeIn','unshift','_handleFootnoteReferencesChanges','_updateFootnotesCounters','_sortFootnoteDefinitions','5503484niKwlA','getAttribute','enqueueChange','_updateFootnoteRefCounter','set','_insertEmptyFootnotesDefinitionsContainer','reference','definition','11986212QUxlGR','_footnoteFormatter','getChanges','config','end','insert','pluginName','getFootnotesFormatter','4134534TtVTVd','compareWith','find','createPositionBefore','from','registerPostFixer','footnoteRef','childCount','add','_handleFootnoteDefinitionsChanges','low','findIndex','indexOf','init','createElement','before','after','root','createPositionAt','_footnotes','_handleRemoveFootnoteReferenceById','setFootnoteFormatter','document','move','remove','model','min','differ','_handleInsertedFootnoteReference','parent','reset','isOfficialPlugin','19338320RHLoWD','isPremiumPlugin','getFootnotes','_handleMovedFootnoteReference','getFootnotesDefinitionsObjectElement','isEqual'];_0x188b=function(){return _0x22bdf1;};return _0x188b();}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x321d57,MenuBarMenuListItemButtonView as _0x39541a}from'ckeditor5/src/ui.js';import{Plugin as _0x5eb3fd}from'ckeditor5/src/core.js';import{IconFootnote as _0x5c1a95}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5eb3fd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x548978}=this,{componentFactory:_0x58e17d}=_0x548978['ui'];_0x58e17d['add']('insertFootnote',x(_0x548978,_0x321d57)),_0x58e17d['add']('menuBar:insertFootnote',x(_0x548978,_0x39541a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2204bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x100aa7;for(const _0x4b1a83 in _0x2204bd){const _0x4ebbfc=_0x4b1a83,_0x5da28e=_0x2204bd[_0x4ebbfc];if('footnotesLicenseKeyValid'==_0x5da28e||'footnotesLicenseKeyInvalid'==_0x5da28e||'footnotesLicenseKeyExpired'==_0x5da28e||'footnotesLicenseKeyDomainLimit'==_0x5da28e||'footnotesLicenseKeyNotAllowed'==_0x5da28e||'footnotesLicenseKeyEvaluationLimit'==_0x5da28e||'footnotesLicenseKeyTrialLimit'==_0x5da28e||'footnotesLicenseKeyUsageLimit'==_0x5da28e){delete _0x2204bd[_0x4ebbfc],_0x100aa7=_0x5da28e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x100aa7&&_0x2204bd['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x100aa7&&_0x2204bd['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x100aa7&&_0x2204bd['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xe1f56b,_0x411211){const _0x4657b5=_0xe1f56b['commands']['get']('insertFootnote');return _0x371e75=>{const {t:t}=_0x371e75,_0x2fdd19=new _0x411211(_0x371e75),_0x537fd8=_0x2fdd19 instanceof _0x39541a;return _0x2fdd19['bind']('isEnabled')['to'](_0x4657b5,'isEnabled'),_0x2fdd19['set']({'label':t(_0x537fd8?'Footnote':'Insert\x20footnote'),'icon':_0x5c1a95,'tooltip':!0x0}),_0x2fdd19['on']('execute',()=>{_0x4657b5['execute'](),_0xe1f56b['editing']['view']['focus']();}),_0x2fdd19;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc8ff9a,_0x13a69b){var _0x5a3a49=_0x1f35,_0xefc85e=_0xc8ff9a();while(!![]){try{var _0x49c342=-parseInt(_0x5a3a49(0x186))/0x1*(parseInt(_0x5a3a49(0x181))/0x2)+parseInt(_0x5a3a49(0x185))/0x3*(parseInt(_0x5a3a49(0x180))/0x4)+parseInt(_0x5a3a49(0x18a))/0x5+parseInt(_0x5a3a49(0x188))/0x6+-parseInt(_0x5a3a49(0x184))/0x7*(parseInt(_0x5a3a49(0x182))/0x8)+-parseInt(_0x5a3a49(0x189))/0x9+-parseInt(_0x5a3a49(0x183))/0xa*(-parseInt(_0x5a3a49(0x187))/0xb);if(_0x49c342===_0x13a69b)break;else _0xefc85e['push'](_0xefc85e['shift']());}catch(_0x2ff1f0){_0xefc85e['push'](_0xefc85e['shift']());}}}(_0x3a21,0x607ef));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x1f35(_0x21a551,_0x423937){var _0x3a21bf=_0x3a21();return _0x1f35=function(_0x1f354e,_0x7d9916){_0x1f354e=_0x1f354e-0x180;var _0x219061=_0x3a21bf[_0x1f354e];return _0x219061;},_0x1f35(_0x21a551,_0x423937);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';function _0x3a21(){var _0x5b755e=['1451385yKEhfC','172KwoWSl','70zBpxDZ','104jeQmSy','3563870QheuFq','352289DcnfzF','49614QNcnXN','6565sckXRW','22FoantE','1953246tPjbjP','6844077weRers'];_0x3a21=function(){return _0x5b755e;};return _0x3a21();}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 _0xb11196=_0x1099;(function(_0x54ae51,_0x520639){const _0x4d98b1=_0x1099,_0x258e5e=_0x54ae51();while(!![]){try{const _0x526b79=-parseInt(_0x4d98b1(0x1c4))/0x1+-parseInt(_0x4d98b1(0x1ce))/0x2+parseInt(_0x4d98b1(0x1c9))/0x3*(-parseInt(_0x4d98b1(0x1cb))/0x4)+-parseInt(_0x4d98b1(0x1d2))/0x5+parseInt(_0x4d98b1(0x1da))/0x6*(-parseInt(_0x4d98b1(0x1b9))/0x7)+parseInt(_0x4d98b1(0x1d7))/0x8*(-parseInt(_0x4d98b1(0x1d5))/0x9)+parseInt(_0x4d98b1(0x1be))/0xa;if(_0x526b79===_0x520639)break;else _0x258e5e['push'](_0x258e5e['shift']());}catch(_0x1eeab0){_0x258e5e['push'](_0x258e5e['shift']());}}}(_0x170a,0x8154f));function _0x1099(_0x460df7,_0x33bff6){const _0x170ae5=_0x170a();return _0x1099=function(_0x109978,_0x4c762f){_0x109978=_0x109978-0x1b7;let _0x14f25a=_0x170ae5[_0x109978];return _0x14f25a;},_0x1099(_0x460df7,_0x33bff6);}export class ModelElementTracker{[_0xb11196(0x1ca)];[_0xb11196(0x1dc)];[_0xb11196(0x1c7)];[_0xb11196(0x1bc)]=new Map();constructor(_0x5b5f5b,_0x1f8c8f){const _0x461b71=_0xb11196;this[_0x461b71(0x1ca)]=_0x5b5f5b,this[_0x461b71(0x1dc)]=_0x1f8c8f[_0x461b71(0x1c1)],this[_0x461b71(0x1c7)]=_0x1f8c8f[_0x461b71(0x1cf)];}[_0xb11196(0x1b7)](){const _0x383722=_0xb11196;this[_0x383722(0x1bc)][_0x383722(0x1bb)]();}[_0xb11196(0x1df)](_0x19c588){const _0x492390=_0xb11196,_0xbb18d8=new Set(),_0x3723b8=new Map();for(const _0x2853b4 of _0x19c588){if(_0x492390(0x1cc)===_0x2853b4[_0x492390(0x1cd)]&&_0x492390(0x1d1)!==_0x2853b4[_0x492390(0x1ba)]&&_0x2853b4[_0x492390(0x1d9)][_0x492390(0x1d4)]){const _0x2a9161=this[_0x492390(0x1ca)][_0x492390(0x1bf)](_0x2853b4[_0x492390(0x1d9)][_0x492390(0x1d4)]);for(const _0x34a408 of _0x2a9161[_0x492390(0x1d0)]()){if(!_0x34a408['is'](_0x492390(0x1bd),this[_0x492390(0x1dc)]))continue;const _0x411584=this[_0x492390(0x1c7)](_0x34a408);_0x3723b8[_0x492390(0x1e2)](_0x411584)||_0x3723b8[_0x492390(0x1dd)](_0x411584,[]),_0x3723b8[_0x492390(0x1c5)](_0x411584)[_0x492390(0x1d8)](_0x34a408);}}if(_0x492390(0x1d6)===_0x2853b4[_0x492390(0x1cd)]&&_0x2853b4[_0x492390(0x1ba)]===this[_0x492390(0x1dc)]){const _0x3ed96b=this[_0x492390(0x1c7)]({'getAttribute':_0x3262de=>_0x2853b4[_0x492390(0x1de)][_0x492390(0x1c5)](_0x3262de)});_0xbb18d8[_0x492390(0x1e1)](_0x3ed96b);}}for(const [_0x1ebe1a,_0x851226]of this[_0x492390(0x1bc)])_0x492390(0x1c0)===_0x851226[_0x492390(0x1c6)][_0x492390(0x1db)]&&_0xbb18d8[_0x492390(0x1e1)](_0x1ebe1a);for(const _0x303205 of _0xbb18d8)this[_0x492390(0x1bc)][_0x492390(0x1e0)](_0x303205);for(const [_0x146d0f,_0x27f763]of _0x3723b8)this[_0x492390(0x1bc)][_0x492390(0x1dd)](_0x146d0f,_0x27f763[_0x27f763[_0x492390(0x1c3)]-0x1]);const _0x482a9c=new Set();for(const [_0x1ccb6d,_0x5c6ba5]of _0x3723b8)_0xbb18d8[_0x492390(0x1e2)](_0x1ccb6d)&&(_0x482a9c[_0x492390(0x1e1)](_0x5c6ba5[0x0]),_0x5c6ba5[_0x492390(0x1c3)]>0x1?_0x3723b8[_0x492390(0x1dd)](_0x1ccb6d,_0x5c6ba5[_0x492390(0x1d3)](0x1)):_0x3723b8[_0x492390(0x1e0)](_0x1ccb6d),_0xbb18d8[_0x492390(0x1e0)](_0x1ccb6d));return{'removed':Array[_0x492390(0x1c2)](_0xbb18d8),'inserted':Array[_0x492390(0x1c2)](_0x3723b8[_0x492390(0x1c8)]())[_0x492390(0x1b8)](),'moved':Array[_0x492390(0x1c2)](_0x482a9c)};}}function _0x170a(){const _0x263ca4=['21021MKfzLj','name','clear','_trackedElements','element','31518570nmPFbx','createRangeOn','$graveyard','elementName','from','length','430387bbLGGj','get','root','_getElementKey','values','3xVOXli','_model','2643448sUEnsf','insert','type','458574mmbbXd','getElementKey','getItems','$text','4764135faTphN','slice','nodeAfter','14373IHJeEw','remove','1040Mtzcti','push','position','282UHxnFa','rootName','_elementName','set','attributes','getChanges','delete','add','has','reset','flat'];_0x170a=function(){return _0x263ca4;};return _0x170a();}
|