@ckeditor/ckeditor5-footnotes 0.0.0-nightly-next-20251210.0 → 0.0.0-nightly-next-20251211.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 _0x4bdc1d}from'ckeditor5/src/core.js';import{isWidget as _0x463bf2,toWidget as _0x6c659a,toWidgetEditable as _0x12e567}from'ckeditor5/src/widget.js';import{uid as _0x49e535}from'ckeditor5/src/utils.js';import{PointerObserver as _0x74eecd,ClickObserver as _0x3ded8f}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x290725}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x14c807}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4bdc1d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x290725];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x467917}=this;_0x467917['config']['define']('footnotes.multiBlock',!0x0),_0x467917['commands']['add']('insertFootnote',new _0x14c807(_0x467917)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2b7888){const _0x284b71=_0x1f9c9a([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]),_0x97a572=0x47a28506,_0x26592b=0x47a5fe86^_0x97a572,_0x1e5d52=window[_0x1f9c9a([0x44,0x61,0x74,0x65])][_0x1f9c9a([0x6e,0x6f,0x77])](),_0x43cc80=_0x2b7888[_0x1f9c9a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x592fd2=new window[(_0x1f9c9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x574743=>{_0x43cc80[_0x1f9c9a([0x6f,0x6e,0x63,0x65])](_0x1f9c9a([0x72,0x65,0x61,0x64,0x79]),_0x574743);}),_0x4769ad={[_0x1f9c9a([0x6b,0x74,0x79])]:_0x1f9c9a([0x45,0x43]),[_0x1f9c9a([0x75,0x73,0x65])]:_0x1f9c9a([0x73,0x69,0x67]),[_0x1f9c9a([0x63,0x72,0x76])]:_0x1f9c9a([0x50,0x2d,0x32,0x35,0x36]),[_0x1f9c9a([0x78])]:_0x1f9c9a([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]),[_0x1f9c9a([0x79])]:_0x1f9c9a([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]),[_0x1f9c9a([0x61,0x6c,0x67])]:_0x1f9c9a([0x45,0x53,0x32,0x35,0x36])},_0x323b29=_0x43cc80[_0x1f9c9a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f9c9a([0x67,0x65,0x74])](_0x1f9c9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2bc71c(){let _0x543838,_0x154306=null,_0x54d2eb=null;try{if(_0x323b29==_0x1f9c9a([0x47,0x50,0x4c]))return _0x1f9c9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x543838=_0x5d7b49(),!_0x543838)return _0x1f9c9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x543838[_0x1f9c9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x54d2eb=_0x1dad8d(_0x543838[_0x1f9c9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x543838[_0x1f9c9a([0x6a,0x74,0x69])])),await _0x5c1171()?_0x425470()?_0x4a9602()?_0x1f9c9a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6978a6()?(_0x543838[_0x1f9c9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f9c9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x154306=_0x25fad5(_0x1f9c9a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x543838[_0x1f9c9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f9c9a([0x74,0x72,0x69,0x61,0x6c])&&(_0x154306=_0x25fad5(_0x1f9c9a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4297ab()):_0x1f9c9a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f9c9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f9c9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f9c9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a9602(){const _0x50a329=[_0x1f9c9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f9c9a([0x74,0x72,0x69,0x61,0x6c])][_0x1f9c9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x543838[_0x1f9c9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e5d52/0x3e8:0xe10*_0x26592b;return _0x543838[_0x1f9c9a([0x65,0x78,0x70])]<_0x50a329;}function _0x425470(){const _0x149703=_0x543838[_0x1f9c9a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x149703&&(!!_0x149703[_0x1f9c9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9c9a([0x2a]))||!!_0x149703[_0x1f9c9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9c9a([0x46,0x4f,0x4f])));}function _0x6978a6(){const _0x42ab14=_0x543838[_0x1f9c9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42ab14||0x0==_0x42ab14[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x376dbf}=new URL(window[_0x1f9c9a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42ab14[_0x1f9c9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x376dbf))return!0x0;const _0xe9431e=_0x376dbf[_0x1f9c9a([0x73,0x70,0x6c,0x69,0x74])](_0x1f9c9a([0x2e]));return _0x42ab14[_0x1f9c9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x973c9c=>_0x973c9c[_0x1f9c9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f9c9a([0x2a])))[_0x1f9c9a([0x6d,0x61,0x70])](_0x459343=>_0x459343[_0x1f9c9a([0x73,0x70,0x6c,0x69,0x74])](_0x1f9c9a([0x2e])))[_0x1f9c9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x133303=>_0x133303[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe9431e[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f9c9a([0x6d,0x61,0x70])](_0x1c3369=>Array(_0xe9431e[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c3369[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f9c9a([0x66,0x69,0x6c,0x6c])](_0x1c3369[0x0]===_0x1f9c9a([0x2a])?_0x1f9c9a([0x2a]):'')[_0x1f9c9a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c3369))[_0x1f9c9a([0x73,0x6f,0x6d,0x65])](_0x28cca0=>_0xe9431e[_0x1f9c9a([0x65,0x76,0x65,0x72,0x79])]((_0xb4c536,_0x1630cb)=>_0x28cca0[_0x1630cb]===_0xb4c536||_0x28cca0[_0x1630cb]===_0x1f9c9a([0x2a])));}function _0x4297ab(){return _0x154306&&_0x54d2eb?new window[(_0x1f9c9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x146543,_0x19b1aa)=>{_0x154306[_0x1f9c9a([0x74,0x68,0x65,0x6e])](_0x146543,_0x19b1aa),_0x54d2eb[_0x1f9c9a([0x74,0x68,0x65,0x6e])](_0x4cd612=>{_0x4cd612!=_0x1f9c9a([0x56,0x61,0x6c,0x69,0x64])&&_0x146543(_0x4cd612);},_0x19b1aa);}):_0x154306||_0x54d2eb||_0x1f9c9a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dad8d(_0x266a6a,_0x2ac841){return new window[(_0x1f9c9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c728=>{if(_0x1c9983())return _0x20c728(_0x1f9c9a([0x56,0x61,0x6c,0x69,0x64]));_0x1446d0(),_0x43cc80[_0x1f9c9a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f9c9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a1a26=!0x1;const _0x559591=_0x49e535();function _0x5c721b(_0x222830){return!!_0x222830&&(typeof _0x222830===_0x1f9c9a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x222830===_0x1f9c9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x222830[_0x1f9c9a([0x74,0x68,0x65,0x6e])]===_0x1f9c9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x222830[_0x1f9c9a([0x63,0x61,0x74,0x63,0x68])]===_0x1f9c9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x397a25(_0x3861bb){_0x2522d8(_0x3861bb)[_0x1f9c9a([0x74,0x68,0x65,0x6e])](_0x7bda8e=>{if(!_0x7bda8e||_0x7bda8e[_0x1f9c9a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f9c9a([0x6f,0x6b]))return _0x1f9c9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d9fbb(_0x2ef73d(_0x559591+_0x2ac841))!=_0x7bda8e[_0x1f9c9a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f9c9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f9c9a([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f9c9a([0x74,0x68,0x65,0x6e])](_0x4d4e99=>(_0x38cfe9(),_0x4d4e99),()=>{const _0x491294=_0x2ea308();return null==_0x491294?(_0x38cfe9(),_0x1f9c9a([0x56,0x61,0x6c,0x69,0x64])):_0x1f9c9a(_0x1e5d52-_0x491294>(0x63ae0106^_0x97a572)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f9c9a([0x74,0x68,0x65,0x6e])](_0x20c728)[_0x1f9c9a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20c728(_0x1f9c9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52dfc2=0x47946b86^_0x97a572;function _0x38cfe9(){const _0x2a136c=_0x1f9c9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d9fbb(_0x2ef73d(_0x266a6a)),_0x34fb44=_0x3aaad9(_0x5d9fbb(window[_0x1f9c9a([0x4d,0x61,0x74,0x68])][_0x1f9c9a([0x63,0x65,0x69,0x6c])](_0x1e5d52/_0x52dfc2)));window[_0x1f9c9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f9c9a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a136c,_0x34fb44);}function _0x2ea308(){const _0x1b70be=_0x1f9c9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d9fbb(_0x2ef73d(_0x266a6a)),_0x237c13=window[_0x1f9c9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f9c9a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b70be);return _0x237c13?window[_0x1f9c9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3aaad9(_0x237c13),0x10)*_0x52dfc2:null;}function _0x2522d8(_0x36a13f){return new window[(_0x1f9c9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8d84cc,_0x4bc2c8)=>{_0x36a13f[_0x1f9c9a([0x74,0x68,0x65,0x6e])](_0x8d84cc,_0x4bc2c8),window[_0x1f9c9a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bc2c8,0x47a351c6^_0x97a572);});}}_0x43cc80[_0x1f9c9a([0x6f,0x6e])](_0x1f9c9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa4e7a1,_0x30dc73)=>{if(_0x30dc73[0x0]!=_0x266a6a)return _0x20c728(_0x1f9c9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x30dc73[0x1]={..._0x30dc73[0x1],[_0x1f9c9a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x559591};},{[_0x1f9c9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f9c9a([0x68,0x69,0x67,0x68])}),_0x43cc80[_0x1f9c9a([0x6f,0x6e])](_0x1f9c9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x75fcbd=>{_0x5c721b(_0x75fcbd[_0x1f9c9a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a1a26=!0x0,_0x397a25(_0x75fcbd[_0x1f9c9a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f9c9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f9c9a([0x6c,0x6f,0x77])}),_0x592fd2[_0x1f9c9a([0x74,0x68,0x65,0x6e])](()=>{_0x1a1a26||_0x20c728(_0x1f9c9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1c9983(){return _0x43cc80[_0x1f9c9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f9c9a([0x76,0x69,0x65,0x77])][_0x1f9c9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f9c9a([0x61,0x75,0x74,0x6f]);}function _0x1446d0(){_0x43cc80[_0x1f9c9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f9c9a([0x76,0x69,0x65,0x77])][_0x1f9c9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f9c9a([0x61,0x75,0x74,0x6f]);}}function _0x25fad5(_0x5e2fc9){const _0x2d9110=[new window[(_0x1f9c9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53dfdf=>setTimeout(_0x53dfdf,0x47abbbca^_0x97a572)),_0x592fd2[_0x1f9c9a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f9c9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x513007=>{let _0x2aa438=0x0;_0x43cc80[_0x1f9c9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9c9a([0x6f,0x6e])](_0x1f9c9a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb66b13,_0x4ab870)=>{_0x4ab870[0x0][_0x1f9c9a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2aa438++,_0x2aa438==(0x47a284fe^_0x97a572)&&(_0x513007(),_0xb66b13[_0x1f9c9a([0x6f,0x66,0x66])]());});}))];return window[_0x1f9c9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f9c9a([0x72,0x61,0x63,0x65])](_0x2d9110)[_0x1f9c9a([0x74,0x68,0x65,0x6e])](()=>_0x5e2fc9);}async function _0x3a8e59(){await _0x592fd2,_0x43cc80[_0x1f9c9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9c9a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d532e,_0x43cc80[_0x1f9c9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f9c9a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d532e,_0x43cc80[_0x1f9c9a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f9c9a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3369a5(_0x3134b3){const _0x59c4d4=_0x1c4def();_0x43cc80[_0x59c4d4]=_0x1f9c9a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3134b3,_0x3134b3!=_0x1f9c9a([0x56,0x61,0x6c,0x69,0x64])&&_0x3a8e59();}function _0x1c4def(){const _0x4a4956=window[_0x1f9c9a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f9c9a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f9c9a([0x6e,0x6f,0x77])]())[_0x1f9c9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f9c9a([0x2e]),'');let _0x13e617=_0x1f9c9a([0x75]);for(let _0x444413=0x0;_0x444413<_0x4a4956[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x444413+=0x2){let _0x1f8631=window[_0x1f9c9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a4956[_0x1f9c9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x444413,_0x444413+0x2));_0x1f8631>=_0x284b71[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1f8631-=_0x284b71[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x13e617+=_0x284b71[_0x1f8631];}return _0x13e617;}function _0x5d7b49(){const _0x4f2d4b=_0x323b29[_0x1f9c9a([0x73,0x70,0x6c,0x69,0x74])](_0x1f9c9a([0x2e]));if(0x3!=_0x4f2d4b[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35b0fa(_0x4f2d4b[0x1]);function _0x35b0fa(_0x9a4249){const _0x3da185=_0x1c1462(_0x9a4249);return _0x3da185&&_0xbed856()?_0x3da185:null;function _0xbed856(){const _0x3ae3b3=_0x3da185[_0x1f9c9a([0x6a,0x74,0x69])],_0x4bc1b1=window[_0x1f9c9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ae3b3[_0x1f9c9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae3b3[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b5f38={..._0x3da185,[_0x1f9c9a([0x6a,0x74,0x69])]:_0x3ae3b3[_0x1f9c9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ae3b3[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b5f38[_0x1f9c9a([0x76,0x63])],_0x2ef73d(_0x2b5f38)==_0x4bc1b1;}}}async function _0x5c1171(){let _0x57f27d=!0x0;try{const _0x1d74d=_0x323b29[_0x1f9c9a([0x73,0x70,0x6c,0x69,0x74])](_0x1f9c9a([0x2e])),[_0x3e6691,_0x67140c,_0x4bc9aa]=_0x1d74d;return _0x392c9e(_0x3e6691),await _0xbaf58a(_0x3e6691,_0x67140c,_0x4bc9aa),_0x57f27d;}catch{return!0x1;}function _0x392c9e(_0x540371){const _0x468c04=_0x1c1462(_0x540371);_0x468c04&&_0x468c04[_0x1f9c9a([0x61,0x6c,0x67])]==_0x1f9c9a([0x45,0x53,0x32,0x35,0x36])||(_0x57f27d=!0x1);}async function _0xbaf58a(_0x26868d,_0x411221,_0xc6dec2){const _0x1c6656=window[_0x1f9c9a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f9c9a([0x66,0x72,0x6f,0x6d])](_0x3eb26a(_0xc6dec2),_0x45c419=>_0x45c419[_0x1f9c9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xe124bd=new window[(_0x1f9c9a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f9c9a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x26868d+_0x1f9c9a([0x2e])+_0x411221),_0x448fef=window[_0x1f9c9a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f9c9a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x448fef)return;const _0x1a599a=await _0x448fef[_0x1f9c9a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f9c9a([0x6a,0x77,0x6b]),_0x4769ad,{[_0x1f9c9a([0x6e,0x61,0x6d,0x65])]:_0x1f9c9a([0x45,0x43,0x44,0x53,0x41]),[_0x1f9c9a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f9c9a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f9c9a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x448fef[_0x1f9c9a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f9c9a([0x6e,0x61,0x6d,0x65])]:_0x1f9c9a([0x45,0x43,0x44,0x53,0x41]),[_0x1f9c9a([0x68,0x61,0x73,0x68])]:{[_0x1f9c9a([0x6e,0x61,0x6d,0x65])]:_0x1f9c9a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a599a,_0x1c6656,_0xe124bd)||(_0x57f27d=!0x1);}}function _0x1c1462(_0x453c3b){return _0x453c3b[_0x1f9c9a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f9c9a([0x65,0x79]))?JSON[_0x1f9c9a([0x70,0x61,0x72,0x73,0x65])](_0x3eb26a(_0x453c3b)):null;}function _0x3eb26a(_0x941196){return window[_0x1f9c9a([0x61,0x74,0x6f,0x62])](_0x941196[_0x1f9c9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f9c9a([0x2b]))[_0x1f9c9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f9c9a([0x2f])));}function _0x2ef73d(_0x313be3){let _0x5483a5=0x1505;function _0x16d5ea(_0x521b2b){for(let _0x5a5fb7=0x0;_0x5a5fb7<_0x521b2b[_0x1f9c9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a5fb7++){const _0x1b16b5=_0x521b2b[_0x1f9c9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a5fb7);_0x5483a5=(_0x5483a5<<0x5)+_0x5483a5+_0x1b16b5,_0x5483a5&=_0x5483a5;}}function _0x36a590(_0x23d3cb){Array[_0x1f9c9a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23d3cb)?_0x23d3cb[_0x1f9c9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a590):_0x23d3cb&&typeof _0x23d3cb==_0x1f9c9a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f9c9a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23d3cb)[_0x1f9c9a([0x73,0x6f,0x72,0x74])]()[_0x1f9c9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40c5a3,_0xf62f7c])=>{_0x16d5ea(_0x40c5a3),_0x36a590(_0xf62f7c);}):_0x16d5ea(window[_0x1f9c9a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23d3cb));}return _0x36a590(_0x313be3),_0x5483a5>>>0x0;}function _0x5d9fbb(_0x1b5916){return _0x1b5916[_0x1f9c9a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f9c9a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f9c9a([0x30]));}function _0x3aaad9(_0x131ebc){return _0x131ebc[_0x1f9c9a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f9c9a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f9c9a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d532e(){}function _0x1f9c9a(_0x5c7f3a){return _0x5c7f3a['map'](_0x2cdf99=>String['fromCharCode'](_0x2cdf99))['join']('');}_0x3369a5(await _0x2bc71c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x46de54){const {plugins:_0x1ac747,editing:_0x5ae069,model:_0x358fb5}=this['editor'],_0x287618=_0x1ac747['get'](_0x290725)['getFootnote'](_0x46de54);return!!_0x287618&&(_0x358fb5['change'](_0x2ac137=>{_0x2ac137['setSelection'](_0x2ac137['createPositionAt'](_0x287618['definition'],'end'));}),_0x5ae069['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5af045){const {plugins:_0x26aba6,editing:_0x378fa6,model:_0x3e2f93}=this['editor'],_0x2a100f=_0x26aba6['get'](_0x290725)['getFootnote'](_0x5af045);return!!_0x2a100f&&(_0x3e2f93['change'](_0x2ed2dc=>{_0x2ed2dc['setSelection'](_0x2a100f['reference'],'on');}),_0x378fa6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2fbdea}=this['editor']['model'],_0x528e83=this['editor']['config']['get']('footnotes.multiBlock');_0x2fbdea['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2fbdea['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2fbdea['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x528e83?_0x2fbdea['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2fbdea['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2fbdea['addChildCheck'](_0x420d90=>{for(const _0x22667a of _0x420d90)if('footnoteDefinition'===_0x22667a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x24ce06}=this,{conversion:_0x18e600,editing:_0xb34d2e}=_0x24ce06,{t:t}=_0x24ce06['locale'];_0x18e600['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x6fbb68,{writer:_0x2c4dee,consumable:_0x3af7a0})=>{const _0x2d054f=_0x6fbb68['getChild'](0x0);if(!_0x2d054f||!_0x2d054f['is']('element','a'))return null;const _0x169e31=_0x2d054f['getAttribute']('href')||'';if(!_0x169e31['startsWith']('#'))return null;const _0x3f6078=_0x169e31['replace'](/^#/,'');if(!_0x3f6078)return null;_0x3af7a0['consume'](_0x2d054f,{'name':!0x0,'attributes':['href']});for(const {item:_0x15d5d4}of _0xb34d2e['view']['createRangeIn'](_0x2d054f))_0x15d5d4['is']('$textProxy')?_0x3af7a0['consume'](_0x15d5d4['textNode'],{'name':!0x0}):_0x15d5d4['is']('element')&&_0x3af7a0['consume'](_0x15d5d4,{'name':!0x0});return _0x2c4dee['createElement']('footnoteRef',{'footnoteId':_0x3f6078});}}),_0x18e600['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x170daa,{writer:_0x8e210d})=>D(_0x170daa,_0x8e210d)}),_0x18e600['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x46e1c2,{writer:_0x35efcf})=>{const _0x4243eb=_0x46e1c2['getAttribute']('footnoteCounter');return _0x6c659a(D(_0x46e1c2,_0x35efcf),_0x35efcf,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4243eb)});}});}['_defineDefinitionsConverters'](){const {editor:_0xdb5982}=this,{t:t}=_0xdb5982['locale'],{conversion:_0x28328e}=_0xdb5982;_0x28328e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x28328e['for']('upcast')['add'](_0x1f7098=>{_0x1f7098['on']('element:ol',(_0x305d75,_0x314dca,_0x66d1b)=>{const _0x2adf4d=_0x314dca['viewItem'];if(!_0x2adf4d['hasClass']('footnotes-list')||!_0x314dca['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x66d1b['consumable']['consume'](_0x2adf4d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x53da25,modelCursor:_0x4eb44d}=_0x66d1b['convertChildren'](_0x314dca['viewItem'],_0x314dca['modelCursor']);_0x314dca['modelRange']=_0x53da25,_0x314dca['modelCursor']=_0x4eb44d;}),_0x1f7098['on']('element:hr',(_0x212b25,_0x277c6f,_0x34930f)=>{const _0x464dea=_0x277c6f['viewItem'];_0x464dea['hasClass']('footnotes-divider')&&_0x277c6f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x34930f['consumable']['consume'](_0x464dea,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x28328e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xb87ed0,{writer:_0x5ac0e3})=>v(_0x5ac0e3)}),_0x28328e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e2dee,{writer:_0x361a2f})=>{const _0x3e3d31=v(_0x361a2f,{'data-footnotes-list-label':t('Footnotes')}),_0x5f2eac=_0x6c659a(_0x3e3d31,_0x361a2f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x361a2f['setCustomProperty']('footnotesDefinitions',!0x0,_0x5f2eac),_0x5f2eac;}});}['_defineDefinitionConverters'](){const {editor:_0x5c6429}=this,{conversion:_0x443789,locale:_0x31090f}=_0x5c6429,_0x48d80e=_0x5c6429['config']['get']('footnotes.multiBlock');_0x443789['for']('upcast')['add'](_0x44a357=>{_0x44a357['on']('element:li',(_0x2e5e06,_0x1f151d,_0xc30ea8)=>{const _0x45176f=_0x1f151d['viewItem'];if(!_0x45176f['hasClass']('footnote-definition')||!_0x45176f['getAttribute']('id'))return;const _0x5e8213=_0x45176f['parent'];if(!_0x5e8213['is']('element','ol')||!_0x5e8213['hasClass']('footnotes-list'))return;if(!_0xc30ea8['consumable']['test'](_0x45176f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x52db38=_0xc30ea8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x45176f['getAttribute']('id')});if(!_0xc30ea8['safeInsert'](_0x52db38,_0x1f151d['modelCursor']))return;_0xc30ea8['consumable']['consume'](_0x45176f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x46dd00=Array['from'](_0x45176f['getChildren']())['find'](_0x127aa8=>_0x127aa8['is']('element')&&_0x127aa8['hasClass']('footnote-content'));for(const _0x1b60f1 of _0x45176f['getChildren']())_0x1b60f1['is']('element')&&(_0xc30ea8['consumable']['consume'](_0x1b60f1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0xc30ea8['consumable']['consume'](_0x1b60f1,{'name':!0x0,'classes':'footnote-content'}));if(_0x46dd00){if(_0x48d80e)_0xc30ea8['convertChildren'](_0x46dd00,_0x52db38);else{const _0x5e9bcb=_0xc30ea8['writer']['createElement']('footnoteInlineContent');_0xc30ea8['writer']['insert'](_0x5e9bcb,_0x52db38),_0xc30ea8['convertChildren'](_0x46dd00,_0x5e9bcb);}}_0xc30ea8['updateConversionResult'](_0x52db38,_0x1f151d);});}),_0x443789['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x20f5a3,{writer:_0x10f9ab})=>b(_0x20f5a3,_0x10f9ab,_0x31090f,{'dataPipeline':!0x0})}),_0x443789['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xb795e4,{writer:_0x357043})=>b(_0xb795e4,_0x357043,_0x31090f)});}['_defineBogusParagraphConverters'](){const {editor:_0x4031a5}=this,{conversion:_0x1c6704}=_0x4031a5;_0x4031a5['config']['get']('footnotes.multiBlock')?(_0x1c6704['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1c6704['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4031a5['model']['document'],'change:data',()=>{!function(_0x3742aa,_0x4dcaeb){const _0x310e5b=_0x3742aa['document']['differ'],_0x5ebb23=new Set();for(const _0x902ef of _0x310e5b['getChanges']()){const _0x3d5230='attribute'==_0x902ef['type']?_0x902ef['range']['start']['parent']:_0x902ef['position']['parent'];_0x3d5230['is']('element','footnoteDefinition')&&_0x5ebb23['add'](_0x3d5230);}for(const _0x2c925f of _0x5ebb23['values']()){const _0x12caaf=Array['from'](_0x2c925f['getChildren']())['filter'](_0x53d875=>g(_0x53d875,_0x4dcaeb['mapper']));for(const _0x19cf25 of _0x12caaf)_0x4dcaeb['reconvertItem'](_0x19cf25);}}(_0x4031a5['model'],_0x4031a5['editing']);})):(_0x1c6704['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1c6704['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2e7518,{writer:_0x10a57a})=>{const _0x965de6=_0x10a57a['createContainerElement']('span');return _0x10a57a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x965de6),_0x965de6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3f88d2}=this,{editing:_0x3bd10e,t:t}=_0x3f88d2,_0x2711dc=_0x3f88d2['model']['document']['selection'];_0x3f88d2['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3f88d2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3bd10e['view']['document'],'enter',(_0x4b438a,_0x148612)=>{const _0x59025e=function(_0x477a8d){const _0x225836=_0x477a8d['getSelectedElement']();if(_0x225836?.['is']('element','footnoteRef'))return _0x225836;return null;}(_0x2711dc);if(_0x59025e){const _0x5f4f2a=_0x59025e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5f4f2a),_0x148612['preventDefault'](),_0x4b438a['stop']();}},{'context':_0x463bf2});}['_defineClickHandlers'](){const {editor:_0xf3c033}=this,{editing:_0x1aba03}=_0xf3c033;_0xf3c033['editing']['view']['addObserver'](_0x74eecd),_0xf3c033['editing']['view']['addObserver'](_0x3ded8f);let _0x3936f5=!0x1;this['listenTo'](_0x1aba03['view']['document'],'pointerdown',(_0x144e74,_0x69129)=>{const {target:_0x2f70ac}=_0x69129,_0x4a0150=_0x1aba03['view']['document']['selection'];_0x3936f5=!!(_0x2f70ac?.['is']('element','a')&&_0x2f70ac['parent']?.['is']('element','sup')&&_0x2f70ac['parent']['hasClass']('footnote'))&&_0x4a0150['getSelectedElement']()===_0x2f70ac['parent'];},{'priority':'high'}),this['listenTo'](_0x1aba03['view']['document'],'click',(_0x2286be,_0x15e44b)=>{const {target:_0x59d861}=_0x15e44b;if(!_0x59d861?.['is']('element','a'))return;if(_0x59d861['parent']?.['is']('element','sup')&&_0x59d861['parent']['hasClass']('footnote')&&!_0x3936f5)return void _0x15e44b['preventDefault']();let _0x4b45a4=_0x59d861['getAttribute']('href');if(!_0x4b45a4?.['startsWith']('#'))return;_0x4b45a4=_0x4b45a4['slice'](0x1);let _0x3c4650=!0x1;(_0x4b45a4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4b45a4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4b45a4))&&(_0x3c4650=!0x0),_0x3c4650&&(_0x15e44b['preventDefault'](),_0x2286be['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4fcc81}={}){return(_0x2cd950,{writer:_0x308ab4})=>{if(!p(_0x2cd950))return null;if(!_0x4fcc81)return _0x308ab4['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x45b7df=_0x308ab4['createContainerElement']('p');return _0x308ab4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x45b7df),_0x45b7df;};}function p(_0x4f6a94){const {parent:_0x4f9aed}=_0x4f6a94;if(!_0x4f9aed?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4f9aed['childCount'])return!0x1;for(const _0xa32fb8 of _0x4f6a94['getAttributeKeys']())if(!_0xa32fb8['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xa32fb8)return!0x1;return!0x0;}function g(_0x4d3355,_0x3394b2){if(!_0x4d3355['is']('element','paragraph'))return!0x1;const _0x3921cb=_0x3394b2['toViewElement'](_0x4d3355);return!!_0x3921cb&&p(_0x4d3355)!==_0x3921cb['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x210af4){return _0x463bf2(_0x210af4)&&_0x210af4['is']('containerElement')&&!!_0x210af4['getCustomProperty']('footnotesDefinitions');}function v(_0x5a8d1b,_0x5aaee8={}){const _0x117bcf=_0x5a8d1b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xd5c2f7=_0x5a8d1b['createContainerElement']('ol',{'class':'footnotes-list'},_0x5a8d1b['createSlot']());return _0x5a8d1b['createContainerElement']('div',{'class':'footnotes',..._0x5aaee8},[_0x117bcf,_0xd5c2f7]);}function D(_0x189dc1,_0x3e1343){const _0x33c838=_0x189dc1['getAttribute']('footnoteId'),_0x256ac7=_0x189dc1['getAttribute']('footnoteCounter'),_0x3a00a4=_0x3e1343['createUIElement']('a',{'href':'#'+_0x33c838},function(_0x30a68a){const _0x23f31c=this['toDomElement'](_0x30a68a);return _0x23f31c['textContent']=_0x256ac7,_0x23f31c;}),_0x17d0f7=_0x3e1343['createContainerElement']('sup',{'id':'ref-'+_0x33c838,'class':'footnote'},[_0x3a00a4]);return _0x17d0f7['getFillerOffset']=()=>null,_0x17d0f7;}function b(_0x2606fb,_0x1942a3,_0x2bb4c3,{dataPipeline:_0x5bbb25}={}){const {t:t}=_0x2bb4c3,_0x398969=_0x2606fb['getAttribute']('footnoteId'),_0x1b5b5b=_0x1942a3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x398969},function(_0x5477b0){const _0x1d1d01=this['toDomElement'](_0x5477b0);return _0x1d1d01['innerText']='^',_0x1d1d01;}),_0x36d4ab=_0x5bbb25?_0x1942a3['createContainerElement']('div',{'class':'footnote-content'}):_0x12e567(_0x1942a3['createEditableElement']('div',{'class':'footnote-content'}),_0x1942a3,{'label':t('Footnote\x20content.')});return _0x1942a3['insert'](_0x1942a3['createPositionAt'](_0x36d4ab,0x0),_0x1942a3['createSlot']()),_0x1942a3['createContainerElement']('li',{'class':'footnote-definition','id':_0x398969},[_0x1b5b5b,_0x36d4ab]);}
|
|
23
|
+
import{Plugin as _0x596a64}from'ckeditor5/src/core.js';import{isWidget as _0xa7c87e,toWidget as _0x55e1b4,toWidgetEditable as _0x2b2c0f}from'ckeditor5/src/widget.js';import{uid as _0x11bb9a}from'ckeditor5/src/utils.js';import{PointerObserver as _0x50e7c1,ClickObserver as _0x3b6623}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x467ef8}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x28c79a}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x596a64{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x467ef8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5e3756}=this;_0x5e3756['config']['define']('footnotes.multiBlock',!0x0),_0x5e3756['commands']['add']('insertFootnote',new _0x28c79a(_0x5e3756)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1c18c3){const _0x227868=_0x13d3dd([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]),_0x350630=0x47a28506,_0x245e80=0x47a5fe9e^_0x350630,_0x44bc08=window[_0x13d3dd([0x44,0x61,0x74,0x65])][_0x13d3dd([0x6e,0x6f,0x77])](),_0x4fa43f=_0x1c18c3[_0x13d3dd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e31c1=new window[(_0x13d3dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d580c=>{_0x4fa43f[_0x13d3dd([0x6f,0x6e,0x63,0x65])](_0x13d3dd([0x72,0x65,0x61,0x64,0x79]),_0x1d580c);}),_0x21c16d={[_0x13d3dd([0x6b,0x74,0x79])]:_0x13d3dd([0x45,0x43]),[_0x13d3dd([0x75,0x73,0x65])]:_0x13d3dd([0x73,0x69,0x67]),[_0x13d3dd([0x63,0x72,0x76])]:_0x13d3dd([0x50,0x2d,0x32,0x35,0x36]),[_0x13d3dd([0x78])]:_0x13d3dd([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]),[_0x13d3dd([0x79])]:_0x13d3dd([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]),[_0x13d3dd([0x61,0x6c,0x67])]:_0x13d3dd([0x45,0x53,0x32,0x35,0x36])},_0x1d1cd5=_0x4fa43f[_0x13d3dd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13d3dd([0x67,0x65,0x74])](_0x13d3dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5bd62d(){let _0x4b6f11,_0x47b874=null,_0x15ff23=null;try{if(_0x1d1cd5==_0x13d3dd([0x47,0x50,0x4c]))return _0x13d3dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b6f11=_0x2b16ed(),!_0x4b6f11)return _0x13d3dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b6f11[_0x13d3dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x15ff23=_0x47faf9(_0x4b6f11[_0x13d3dd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b6f11[_0x13d3dd([0x6a,0x74,0x69])])),await _0x553450()?_0x1d401a()?_0x38e4e6()?_0x13d3dd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5114c4()?(_0x4b6f11[_0x13d3dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13d3dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47b874=_0x473bde(_0x13d3dd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4b6f11[_0x13d3dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13d3dd([0x74,0x72,0x69,0x61,0x6c])&&(_0x47b874=_0x473bde(_0x13d3dd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x222dd5()):_0x13d3dd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13d3dd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13d3dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13d3dd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38e4e6(){const _0x50266d=[_0x13d3dd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13d3dd([0x74,0x72,0x69,0x61,0x6c])][_0x13d3dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b6f11[_0x13d3dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x44bc08/0x3e8:0xe10*_0x245e80;return _0x4b6f11[_0x13d3dd([0x65,0x78,0x70])]<_0x50266d;}function _0x1d401a(){const _0x5edb4e=_0x4b6f11[_0x13d3dd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5edb4e&&(!!_0x5edb4e[_0x13d3dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d3dd([0x2a]))||!!_0x5edb4e[_0x13d3dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d3dd([0x46,0x4f,0x4f])));}function _0x5114c4(){const _0x3beffd=_0x4b6f11[_0x13d3dd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3beffd||0x0==_0x3beffd[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43d784}=new URL(window[_0x13d3dd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3beffd[_0x13d3dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43d784))return!0x0;const _0x393ef9=_0x43d784[_0x13d3dd([0x73,0x70,0x6c,0x69,0x74])](_0x13d3dd([0x2e]));return _0x3beffd[_0x13d3dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x95f496=>_0x95f496[_0x13d3dd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13d3dd([0x2a])))[_0x13d3dd([0x6d,0x61,0x70])](_0x313a07=>_0x313a07[_0x13d3dd([0x73,0x70,0x6c,0x69,0x74])](_0x13d3dd([0x2e])))[_0x13d3dd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5c7a05=>_0x5c7a05[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x393ef9[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d3dd([0x6d,0x61,0x70])](_0x70c53d=>Array(_0x393ef9[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x70c53d[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13d3dd([0x66,0x69,0x6c,0x6c])](_0x70c53d[0x0]===_0x13d3dd([0x2a])?_0x13d3dd([0x2a]):'')[_0x13d3dd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x70c53d))[_0x13d3dd([0x73,0x6f,0x6d,0x65])](_0x29bb5=>_0x393ef9[_0x13d3dd([0x65,0x76,0x65,0x72,0x79])]((_0x3cbd45,_0x579432)=>_0x29bb5[_0x579432]===_0x3cbd45||_0x29bb5[_0x579432]===_0x13d3dd([0x2a])));}function _0x222dd5(){return _0x47b874&&_0x15ff23?new window[(_0x13d3dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52bea9,_0x32c97b)=>{_0x47b874[_0x13d3dd([0x74,0x68,0x65,0x6e])](_0x52bea9,_0x32c97b),_0x15ff23[_0x13d3dd([0x74,0x68,0x65,0x6e])](_0x2e637a=>{_0x2e637a!=_0x13d3dd([0x56,0x61,0x6c,0x69,0x64])&&_0x52bea9(_0x2e637a);},_0x32c97b);}):_0x47b874||_0x15ff23||_0x13d3dd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47faf9(_0x52e835,_0x3c0dfb){return new window[(_0x13d3dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c0b6b=>{if(_0x485423())return _0x2c0b6b(_0x13d3dd([0x56,0x61,0x6c,0x69,0x64]));_0x1442dc(),_0x4fa43f[_0x13d3dd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13d3dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50bc0e=!0x1;const _0x8bcba0=_0x11bb9a();function _0x458534(_0x44248d){return!!_0x44248d&&(typeof _0x44248d===_0x13d3dd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44248d===_0x13d3dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44248d[_0x13d3dd([0x74,0x68,0x65,0x6e])]===_0x13d3dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44248d[_0x13d3dd([0x63,0x61,0x74,0x63,0x68])]===_0x13d3dd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xf6bdc2(_0x5c07f2){_0x51bb13(_0x5c07f2)[_0x13d3dd([0x74,0x68,0x65,0x6e])](_0x456eb0=>{if(!_0x456eb0||_0x456eb0[_0x13d3dd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13d3dd([0x6f,0x6b]))return _0x13d3dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x351dd7(_0x534f2f(_0x8bcba0+_0x3c0dfb))!=_0x456eb0[_0x13d3dd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13d3dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13d3dd([0x56,0x61,0x6c,0x69,0x64]);})[_0x13d3dd([0x74,0x68,0x65,0x6e])](_0x2d4f25=>(_0x11397d(),_0x2d4f25),()=>{const _0xa3ce51=_0x50592e();return null==_0xa3ce51?(_0x11397d(),_0x13d3dd([0x56,0x61,0x6c,0x69,0x64])):_0x13d3dd(_0x44bc08-_0xa3ce51>(0x63ae0106^_0x350630)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13d3dd([0x74,0x68,0x65,0x6e])](_0x2c0b6b)[_0x13d3dd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c0b6b(_0x13d3dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x314c0e=0x47946b86^_0x350630;function _0x11397d(){const _0x339be6=_0x13d3dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x351dd7(_0x534f2f(_0x52e835)),_0x1658c2=_0x3268d5(_0x351dd7(window[_0x13d3dd([0x4d,0x61,0x74,0x68])][_0x13d3dd([0x63,0x65,0x69,0x6c])](_0x44bc08/_0x314c0e)));window[_0x13d3dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d3dd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x339be6,_0x1658c2);}function _0x50592e(){const _0xde3bc5=_0x13d3dd([0x6c,0x6c,0x63,0x74,0x2d])+_0x351dd7(_0x534f2f(_0x52e835)),_0x3e4814=window[_0x13d3dd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13d3dd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xde3bc5);return _0x3e4814?window[_0x13d3dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3268d5(_0x3e4814),0x10)*_0x314c0e:null;}function _0x51bb13(_0x276c8d){return new window[(_0x13d3dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e44fc,_0x5cf210)=>{_0x276c8d[_0x13d3dd([0x74,0x68,0x65,0x6e])](_0x4e44fc,_0x5cf210),window[_0x13d3dd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cf210,0x47a351c6^_0x350630);});}}_0x4fa43f[_0x13d3dd([0x6f,0x6e])](_0x13d3dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x106efa,_0x860fd9)=>{if(_0x860fd9[0x0]!=_0x52e835)return _0x2c0b6b(_0x13d3dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x860fd9[0x1]={..._0x860fd9[0x1],[_0x13d3dd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8bcba0};},{[_0x13d3dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d3dd([0x68,0x69,0x67,0x68])}),_0x4fa43f[_0x13d3dd([0x6f,0x6e])](_0x13d3dd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x50ec78=>{_0x458534(_0x50ec78[_0x13d3dd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50bc0e=!0x0,_0xf6bdc2(_0x50ec78[_0x13d3dd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13d3dd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13d3dd([0x6c,0x6f,0x77])}),_0x2e31c1[_0x13d3dd([0x74,0x68,0x65,0x6e])](()=>{_0x50bc0e||_0x2c0b6b(_0x13d3dd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x485423(){return _0x4fa43f[_0x13d3dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d3dd([0x76,0x69,0x65,0x77])][_0x13d3dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13d3dd([0x61,0x75,0x74,0x6f]);}function _0x1442dc(){_0x4fa43f[_0x13d3dd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13d3dd([0x76,0x69,0x65,0x77])][_0x13d3dd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13d3dd([0x61,0x75,0x74,0x6f]);}}function _0x473bde(_0x25bcbc){const _0x2fa462=[new window[(_0x13d3dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27624=>setTimeout(_0x27624,0x47abbbca^_0x350630)),_0x2e31c1[_0x13d3dd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13d3dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2613f0=>{let _0x1b35a2=0x0;_0x4fa43f[_0x13d3dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d3dd([0x6f,0x6e])](_0x13d3dd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17d513,_0xd0c71d)=>{_0xd0c71d[0x0][_0x13d3dd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1b35a2++,_0x1b35a2==(0x47a284fe^_0x350630)&&(_0x2613f0(),_0x17d513[_0x13d3dd([0x6f,0x66,0x66])]());});}))];return window[_0x13d3dd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13d3dd([0x72,0x61,0x63,0x65])](_0x2fa462)[_0x13d3dd([0x74,0x68,0x65,0x6e])](()=>_0x25bcbc);}async function _0x4dedb1(){await _0x2e31c1,_0x4fa43f[_0x13d3dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d3dd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1c8aad,_0x4fa43f[_0x13d3dd([0x6d,0x6f,0x64,0x65,0x6c])][_0x13d3dd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1c8aad,_0x4fa43f[_0x13d3dd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13d3dd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d8c56(_0x57c176){const _0x5926f1=_0x314972();_0x4fa43f[_0x5926f1]=_0x13d3dd([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57c176,_0x57c176!=_0x13d3dd([0x56,0x61,0x6c,0x69,0x64])&&_0x4dedb1();}function _0x314972(){const _0x2fa113=window[_0x13d3dd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13d3dd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13d3dd([0x6e,0x6f,0x77])]())[_0x13d3dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13d3dd([0x2e]),'');let _0x27df93=_0x13d3dd([0x75]);for(let _0x555686=0x0;_0x555686<_0x2fa113[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x555686+=0x2){let _0x5aca31=window[_0x13d3dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fa113[_0x13d3dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x555686,_0x555686+0x2));_0x5aca31>=_0x227868[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5aca31-=_0x227868[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27df93+=_0x227868[_0x5aca31];}return _0x27df93;}function _0x2b16ed(){const _0x4baddb=_0x1d1cd5[_0x13d3dd([0x73,0x70,0x6c,0x69,0x74])](_0x13d3dd([0x2e]));if(0x3!=_0x4baddb[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4096a5(_0x4baddb[0x1]);function _0x4096a5(_0x1e53ea){const _0x282dbf=_0x1c6fb4(_0x1e53ea);return _0x282dbf&&_0x5a067c()?_0x282dbf:null;function _0x5a067c(){const _0x4deee3=_0x282dbf[_0x13d3dd([0x6a,0x74,0x69])],_0x5669d5=window[_0x13d3dd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4deee3[_0x13d3dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4deee3[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f12ae={..._0x282dbf,[_0x13d3dd([0x6a,0x74,0x69])]:_0x4deee3[_0x13d3dd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4deee3[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f12ae[_0x13d3dd([0x76,0x63])],_0x534f2f(_0x2f12ae)==_0x5669d5;}}}async function _0x553450(){let _0x50802f=!0x0;try{const _0x20e82b=_0x1d1cd5[_0x13d3dd([0x73,0x70,0x6c,0x69,0x74])](_0x13d3dd([0x2e])),[_0x3eda31,_0x451f62,_0x546304]=_0x20e82b;return _0x36cd53(_0x3eda31),await _0x322587(_0x3eda31,_0x451f62,_0x546304),_0x50802f;}catch{return!0x1;}function _0x36cd53(_0x42df9f){const _0x270b05=_0x1c6fb4(_0x42df9f);_0x270b05&&_0x270b05[_0x13d3dd([0x61,0x6c,0x67])]==_0x13d3dd([0x45,0x53,0x32,0x35,0x36])||(_0x50802f=!0x1);}async function _0x322587(_0x497c36,_0x2064b7,_0x329d75){const _0x1f9b2e=window[_0x13d3dd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13d3dd([0x66,0x72,0x6f,0x6d])](_0x312be0(_0x329d75),_0x2f6588=>_0x2f6588[_0x13d3dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4211d7=new window[(_0x13d3dd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13d3dd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x497c36+_0x13d3dd([0x2e])+_0x2064b7),_0x1c3661=window[_0x13d3dd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13d3dd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c3661)return;const _0x4b207a=await _0x1c3661[_0x13d3dd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13d3dd([0x6a,0x77,0x6b]),_0x21c16d,{[_0x13d3dd([0x6e,0x61,0x6d,0x65])]:_0x13d3dd([0x45,0x43,0x44,0x53,0x41]),[_0x13d3dd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13d3dd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13d3dd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c3661[_0x13d3dd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13d3dd([0x6e,0x61,0x6d,0x65])]:_0x13d3dd([0x45,0x43,0x44,0x53,0x41]),[_0x13d3dd([0x68,0x61,0x73,0x68])]:{[_0x13d3dd([0x6e,0x61,0x6d,0x65])]:_0x13d3dd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b207a,_0x1f9b2e,_0x4211d7)||(_0x50802f=!0x1);}}function _0x1c6fb4(_0x410083){return _0x410083[_0x13d3dd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13d3dd([0x65,0x79]))?JSON[_0x13d3dd([0x70,0x61,0x72,0x73,0x65])](_0x312be0(_0x410083)):null;}function _0x312be0(_0x3856c0){return window[_0x13d3dd([0x61,0x74,0x6f,0x62])](_0x3856c0[_0x13d3dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13d3dd([0x2b]))[_0x13d3dd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13d3dd([0x2f])));}function _0x534f2f(_0x34598c){let _0x32a56a=0x1505;function _0x411900(_0x311b61){for(let _0xae5f31=0x0;_0xae5f31<_0x311b61[_0x13d3dd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xae5f31++){const _0x3f1632=_0x311b61[_0x13d3dd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xae5f31);_0x32a56a=(_0x32a56a<<0x5)+_0x32a56a+_0x3f1632,_0x32a56a&=_0x32a56a;}}function _0x101bbd(_0xdc5069){Array[_0x13d3dd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xdc5069)?_0xdc5069[_0x13d3dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x101bbd):_0xdc5069&&typeof _0xdc5069==_0x13d3dd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13d3dd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xdc5069)[_0x13d3dd([0x73,0x6f,0x72,0x74])]()[_0x13d3dd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cdcd8,_0x61f487])=>{_0x411900(_0x3cdcd8),_0x101bbd(_0x61f487);}):_0x411900(window[_0x13d3dd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xdc5069));}return _0x101bbd(_0x34598c),_0x32a56a>>>0x0;}function _0x351dd7(_0x21bdb7){return _0x21bdb7[_0x13d3dd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13d3dd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13d3dd([0x30]));}function _0x3268d5(_0x20de76){return _0x20de76[_0x13d3dd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13d3dd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13d3dd([0x6a,0x6f,0x69,0x6e])]('');}function _0x1c8aad(){}function _0x13d3dd(_0x25c2cf){return _0x25c2cf['map'](_0x115b89=>String['fromCharCode'](_0x115b89))['join']('');}_0x2d8c56(await _0x5bd62d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4e73bd){const {plugins:_0x3cd6d6,editing:_0x46068e,model:_0x42e3ec}=this['editor'],_0xfc499e=_0x3cd6d6['get'](_0x467ef8)['getFootnote'](_0x4e73bd);return!!_0xfc499e&&(_0x42e3ec['change'](_0x2df5f3=>{_0x2df5f3['setSelection'](_0x2df5f3['createPositionAt'](_0xfc499e['definition'],'end'));}),_0x46068e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x24013d){const {plugins:_0x45dbb8,editing:_0x531117,model:_0x6fd88}=this['editor'],_0xfd7874=_0x45dbb8['get'](_0x467ef8)['getFootnote'](_0x24013d);return!!_0xfd7874&&(_0x6fd88['change'](_0x532fac=>{_0x532fac['setSelection'](_0xfd7874['reference'],'on');}),_0x531117['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4a6d0c}=this['editor']['model'],_0x3dd947=this['editor']['config']['get']('footnotes.multiBlock');_0x4a6d0c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4a6d0c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4a6d0c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3dd947?_0x4a6d0c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4a6d0c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4a6d0c['addChildCheck'](_0xa149bc=>{for(const _0x1bc2a1 of _0xa149bc)if('footnoteDefinition'===_0x1bc2a1['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x6fca91}=this,{conversion:_0x2a1b6a,editing:_0x20e8c6}=_0x6fca91,{t:t}=_0x6fca91['locale'];_0x2a1b6a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5af7e1,{writer:_0x576dfb,consumable:_0x3d451b})=>{const _0x504a26=_0x5af7e1['getChild'](0x0);if(!_0x504a26||!_0x504a26['is']('element','a'))return null;const _0x5fd443=_0x504a26['getAttribute']('href')||'';if(!_0x5fd443['startsWith']('#'))return null;const _0x25b082=_0x5fd443['replace'](/^#/,'');if(!_0x25b082)return null;_0x3d451b['consume'](_0x504a26,{'name':!0x0,'attributes':['href']});for(const {item:_0x4b3416}of _0x20e8c6['view']['createRangeIn'](_0x504a26))_0x4b3416['is']('$textProxy')?_0x3d451b['consume'](_0x4b3416['textNode'],{'name':!0x0}):_0x4b3416['is']('element')&&_0x3d451b['consume'](_0x4b3416,{'name':!0x0});return _0x576dfb['createElement']('footnoteRef',{'footnoteId':_0x25b082});}}),_0x2a1b6a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cceac,{writer:_0x2fb781})=>D(_0x1cceac,_0x2fb781)}),_0x2a1b6a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2875dc,{writer:_0x412d10})=>{const _0x24e4f0=_0x2875dc['getAttribute']('footnoteCounter');return _0x55e1b4(D(_0x2875dc,_0x412d10),_0x412d10,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x24e4f0)});}});}['_defineDefinitionsConverters'](){const {editor:_0xf26699}=this,{t:t}=_0xf26699['locale'],{conversion:_0x2bc098}=_0xf26699;_0x2bc098['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2bc098['for']('upcast')['add'](_0x2bf3b3=>{_0x2bf3b3['on']('element:ol',(_0x459441,_0x3bf6ff,_0x3a61ae)=>{const _0x2e7b93=_0x3bf6ff['viewItem'];if(!_0x2e7b93['hasClass']('footnotes-list')||!_0x3bf6ff['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3a61ae['consumable']['consume'](_0x2e7b93,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x43d078,modelCursor:_0x389b2a}=_0x3a61ae['convertChildren'](_0x3bf6ff['viewItem'],_0x3bf6ff['modelCursor']);_0x3bf6ff['modelRange']=_0x43d078,_0x3bf6ff['modelCursor']=_0x389b2a;}),_0x2bf3b3['on']('element:hr',(_0x23e1a4,_0x3068c3,_0x12871a)=>{const _0x1e185e=_0x3068c3['viewItem'];_0x1e185e['hasClass']('footnotes-divider')&&_0x3068c3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x12871a['consumable']['consume'](_0x1e185e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2bc098['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x255cc5,{writer:_0x49e4a2})=>v(_0x49e4a2)}),_0x2bc098['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x71d8b4,{writer:_0x46c697})=>{const _0x6abdb1=v(_0x46c697,{'data-footnotes-list-label':t('Footnotes')}),_0x345827=_0x55e1b4(_0x6abdb1,_0x46c697,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x46c697['setCustomProperty']('footnotesDefinitions',!0x0,_0x345827),_0x345827;}});}['_defineDefinitionConverters'](){const {editor:_0x41090c}=this,{conversion:_0xde8031,locale:_0x50f2a0}=_0x41090c,_0xebfe73=_0x41090c['config']['get']('footnotes.multiBlock');_0xde8031['for']('upcast')['add'](_0x57b1dc=>{_0x57b1dc['on']('element:li',(_0x1785d1,_0x4a40a3,_0x8af3ad)=>{const _0x32a59c=_0x4a40a3['viewItem'];if(!_0x32a59c['hasClass']('footnote-definition')||!_0x32a59c['getAttribute']('id'))return;const _0x6c78b8=_0x32a59c['parent'];if(!_0x6c78b8['is']('element','ol')||!_0x6c78b8['hasClass']('footnotes-list'))return;if(!_0x8af3ad['consumable']['test'](_0x32a59c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5b7919=_0x8af3ad['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x32a59c['getAttribute']('id')});if(!_0x8af3ad['safeInsert'](_0x5b7919,_0x4a40a3['modelCursor']))return;_0x8af3ad['consumable']['consume'](_0x32a59c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3a6cd7=Array['from'](_0x32a59c['getChildren']())['find'](_0x501621=>_0x501621['is']('element')&&_0x501621['hasClass']('footnote-content'));for(const _0x3b92bc of _0x32a59c['getChildren']())_0x3b92bc['is']('element')&&(_0x8af3ad['consumable']['consume'](_0x3b92bc,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x8af3ad['consumable']['consume'](_0x3b92bc,{'name':!0x0,'classes':'footnote-content'}));if(_0x3a6cd7){if(_0xebfe73)_0x8af3ad['convertChildren'](_0x3a6cd7,_0x5b7919);else{const _0x182ab4=_0x8af3ad['writer']['createElement']('footnoteInlineContent');_0x8af3ad['writer']['insert'](_0x182ab4,_0x5b7919),_0x8af3ad['convertChildren'](_0x3a6cd7,_0x182ab4);}}_0x8af3ad['updateConversionResult'](_0x5b7919,_0x4a40a3);});}),_0xde8031['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x26db55,{writer:_0x23ed01})=>b(_0x26db55,_0x23ed01,_0x50f2a0,{'dataPipeline':!0x0})}),_0xde8031['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2bb69d,{writer:_0x239ff4})=>b(_0x2bb69d,_0x239ff4,_0x50f2a0)});}['_defineBogusParagraphConverters'](){const {editor:_0x6c4d13}=this,{conversion:_0x4f85b7}=_0x6c4d13;_0x6c4d13['config']['get']('footnotes.multiBlock')?(_0x4f85b7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4f85b7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x6c4d13['model']['document'],'change:data',()=>{!function(_0x266886,_0x43a37d){const _0x43723b=_0x266886['document']['differ'],_0x1f1a1f=new Set();for(const _0x4e4e06 of _0x43723b['getChanges']()){const _0x3073c6='attribute'==_0x4e4e06['type']?_0x4e4e06['range']['start']['parent']:_0x4e4e06['position']['parent'];_0x3073c6['is']('element','footnoteDefinition')&&_0x1f1a1f['add'](_0x3073c6);}for(const _0x4feb00 of _0x1f1a1f['values']()){const _0x4a5402=Array['from'](_0x4feb00['getChildren']())['filter'](_0x20bd9f=>g(_0x20bd9f,_0x43a37d['mapper']));for(const _0x161b11 of _0x4a5402)_0x43a37d['reconvertItem'](_0x161b11);}}(_0x6c4d13['model'],_0x6c4d13['editing']);})):(_0x4f85b7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4f85b7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x24ba52,{writer:_0x4f3772})=>{const _0x15df38=_0x4f3772['createContainerElement']('span');return _0x4f3772['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x15df38),_0x15df38;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2c7d8f}=this,{editing:_0x2e5488,t:t}=_0x2c7d8f,_0x564b65=_0x2c7d8f['model']['document']['selection'];_0x2c7d8f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2c7d8f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2e5488['view']['document'],'enter',(_0x1a4fa9,_0x4131d8)=>{const _0x5d0110=function(_0x25dfb1){const _0x43c147=_0x25dfb1['getSelectedElement']();if(_0x43c147?.['is']('element','footnoteRef'))return _0x43c147;return null;}(_0x564b65);if(_0x5d0110){const _0x21bd8a=_0x5d0110['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x21bd8a),_0x4131d8['preventDefault'](),_0x1a4fa9['stop']();}},{'context':_0xa7c87e});}['_defineClickHandlers'](){const {editor:_0x2ad50d}=this,{editing:_0x4360ea}=_0x2ad50d;_0x2ad50d['editing']['view']['addObserver'](_0x50e7c1),_0x2ad50d['editing']['view']['addObserver'](_0x3b6623);let _0x374731=!0x1;this['listenTo'](_0x4360ea['view']['document'],'pointerdown',(_0x4067e1,_0x1079f0)=>{const {target:_0x5a9b53}=_0x1079f0,_0x148630=_0x4360ea['view']['document']['selection'];_0x374731=!!(_0x5a9b53?.['is']('element','a')&&_0x5a9b53['parent']?.['is']('element','sup')&&_0x5a9b53['parent']['hasClass']('footnote'))&&_0x148630['getSelectedElement']()===_0x5a9b53['parent'];},{'priority':'high'}),this['listenTo'](_0x4360ea['view']['document'],'click',(_0x243719,_0x1fc006)=>{const {target:_0x525b82}=_0x1fc006;if(!_0x525b82?.['is']('element','a'))return;if(_0x525b82['parent']?.['is']('element','sup')&&_0x525b82['parent']['hasClass']('footnote')&&!_0x374731)return void _0x1fc006['preventDefault']();let _0x4dcc04=_0x525b82['getAttribute']('href');if(!_0x4dcc04?.['startsWith']('#'))return;_0x4dcc04=_0x4dcc04['slice'](0x1);let _0x3e8468=!0x1;(_0x4dcc04['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4dcc04['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4dcc04))&&(_0x3e8468=!0x0),_0x3e8468&&(_0x1fc006['preventDefault'](),_0x243719['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5133b7}={}){return(_0x18048b,{writer:_0x3a43af})=>{if(!p(_0x18048b))return null;if(!_0x5133b7)return _0x3a43af['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x302028=_0x3a43af['createContainerElement']('p');return _0x3a43af['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x302028),_0x302028;};}function p(_0xbd455c){const {parent:_0x3d0eeb}=_0xbd455c;if(!_0x3d0eeb?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3d0eeb['childCount'])return!0x1;for(const _0x206223 of _0xbd455c['getAttributeKeys']())if(!_0x206223['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x206223)return!0x1;return!0x0;}function g(_0x4878c9,_0x32dd8a){if(!_0x4878c9['is']('element','paragraph'))return!0x1;const _0x315ba9=_0x32dd8a['toViewElement'](_0x4878c9);return!!_0x315ba9&&p(_0x4878c9)!==_0x315ba9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x20bd32){return _0xa7c87e(_0x20bd32)&&_0x20bd32['is']('containerElement')&&!!_0x20bd32['getCustomProperty']('footnotesDefinitions');}function v(_0x5ad8ac,_0x3b212f={}){const _0x7384ed=_0x5ad8ac['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x506b2e=_0x5ad8ac['createContainerElement']('ol',{'class':'footnotes-list'},_0x5ad8ac['createSlot']());return _0x5ad8ac['createContainerElement']('div',{'class':'footnotes',..._0x3b212f},[_0x7384ed,_0x506b2e]);}function D(_0x47787a,_0x3fa97a){const _0x38db40=_0x47787a['getAttribute']('footnoteId'),_0x8c6609=_0x47787a['getAttribute']('footnoteCounter'),_0x25f508=_0x3fa97a['createUIElement']('a',{'href':'#'+_0x38db40},function(_0x36d239){const _0x4b5c34=this['toDomElement'](_0x36d239);return _0x4b5c34['textContent']=_0x8c6609,_0x4b5c34;}),_0x463e38=_0x3fa97a['createContainerElement']('sup',{'id':'ref-'+_0x38db40,'class':'footnote'},[_0x25f508]);return _0x463e38['getFillerOffset']=()=>null,_0x463e38;}function b(_0x1f209b,_0x107449,_0x2d0831,{dataPipeline:_0x37c867}={}){const {t:t}=_0x2d0831,_0x3ac4dd=_0x1f209b['getAttribute']('footnoteId'),_0x850884=_0x107449['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3ac4dd},function(_0xae3535){const _0x3c3a40=this['toDomElement'](_0xae3535);return _0x3c3a40['innerText']='^',_0x3c3a40;}),_0x52a0b7=_0x37c867?_0x107449['createContainerElement']('div',{'class':'footnote-content'}):_0x2b2c0f(_0x107449['createEditableElement']('div',{'class':'footnote-content'}),_0x107449,{'label':t('Footnote\x20content.')});return _0x107449['insert'](_0x107449['createPositionAt'](_0x52a0b7,0x0),_0x107449['createSlot']()),_0x107449['createContainerElement']('li',{'class':'footnote-definition','id':_0x3ac4dd},[_0x850884,_0x52a0b7]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x37f79b=_0x1c3b;function _0x1c3b(_0x215786,_0x148d38){const _0x3917ed=_0x3917();return _0x1c3b=function(_0x1c3bb3,_0xe027b5){_0x1c3bb3=_0x1c3bb3-0xaf;let _0x15aedc=_0x3917ed[_0x1c3bb3];return _0x15aedc;},_0x1c3b(_0x215786,_0x148d38);}(function(_0x15be31,_0x5bea12){const _0x50585b=_0x1c3b,_0x1b2d37=_0x15be31();while(!![]){try{const _0x2828d8=-parseInt(_0x50585b(0xb1))/0x1+-parseInt(_0x50585b(0xba))/0x2+parseInt(_0x50585b(0xc3))/0x3*(parseInt(_0x50585b(0xc1))/0x4)+parseInt(_0x50585b(0xbe))/0x5+parseInt(_0x50585b(0xb7))/0x6+-parseInt(_0x50585b(0xb3))/0x7+parseInt(_0x50585b(0xb8))/0x8*(parseInt(_0x50585b(0xb2))/0x9);if(_0x2828d8===_0x5bea12)break;else _0x1b2d37['push'](_0x1b2d37['shift']());}catch(_0x206c56){_0x1b2d37['push'](_0x1b2d37['shift']());}}}(_0x3917,0x5e08f));import{Command as _0x35c33f}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x51692d}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x35c33f{[_0x37f79b(0xaf)](){const _0x3713d5=_0x37f79b,{editor:_0x1db05c}=this,_0x1079d7=_0x1db05c[_0x3713d5(0xb5)][_0x3713d5(0xc0)](_0x51692d)[_0x3713d5(0xc5)]();this[_0x3713d5(0xb9)]=!!_0x1079d7,this[_0x3713d5(0xb6)]=_0x1079d7?.[_0x3713d5(0xbd)](_0x3713d5(0xb4))??null;}[_0x37f79b(0xbc)]({value:_0x16ab73}){const _0x28100b=_0x37f79b,{editor:_0x1c6588}=this,_0x1f2f4d=_0x1c6588[_0x28100b(0xb5)][_0x28100b(0xc0)](_0x51692d),_0x2cc183=_0x1f2f4d[_0x28100b(0xc5)]();_0x2cc183&&Number[_0x28100b(0xbf)](_0x16ab73)&&_0x1c6588[_0x28100b(0xb0)][_0x28100b(0xc2)](_0x219db7=>{const _0x34e8c7=_0x28100b;_0x219db7[_0x34e8c7(0xc4)](_0x34e8c7(0xb4),_0x16ab73,_0x2cc183),_0x1f2f4d[_0x34e8c7(0xbb)](_0x219db7);});}}function _0x3917(){const _0x3a17cf=['change','3wCygcK','setAttribute','getFootnotesDefinitionsObjectElement','refresh','model','427118HmJWbB','120114uENOXC','4472174jEEgld','footnotesListStart','plugins','value','4604706MCKNyt','304thfvDg','isEnabled','1238916gegsMq','_updateFootnotesCounters','execute','getAttribute','1725805XUFLVX','isInteger','get','1803460AzsbvO'];_0x3917=function(){return _0x3a17cf;};return _0x3917();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xee5f9b=_0xe8ae;(function(_0x4505dd,_0x44ac58){const _0x217b98=_0xe8ae,_0x4e5618=_0x4505dd();while(!![]){try{const _0x30df43=parseInt(_0x217b98(0x174))/0x1+parseInt(_0x217b98(0x179))/0x2+parseInt(_0x217b98(0x17c))/0x3+parseInt(_0x217b98(0x180))/0x4*(-parseInt(_0x217b98(0x171))/0x5)+parseInt(_0x217b98(0x181))/0x6*(parseInt(_0x217b98(0x17d))/0x7)+-parseInt(_0x217b98(0x172))/0x8+parseInt(_0x217b98(0x183))/0x9*(-parseInt(_0x217b98(0x184))/0xa);if(_0x30df43===_0x44ac58)break;else _0x4e5618['push'](_0x4e5618['shift']());}catch(_0x394db2){_0x4e5618['push'](_0x4e5618['shift']());}}}(_0x12ee,0xd90d7));function _0xe8ae(_0x11d9d7,_0x32f282){const _0x12ee57=_0x12ee();return _0xe8ae=function(_0xe8ae80,_0x391bb4){_0xe8ae80=_0xe8ae80-0x16d;let _0x998f11=_0x12ee57[_0xe8ae80];return _0x998f11;},_0xe8ae(_0x11d9d7,_0x32f282);}import{Command as _0x4c11d1}from'ckeditor5/src/core.js';function _0x12ee(){const _0x443adf=['_updateFootnotesCounters','52PFptuR','54rMFexM','change','45459wyjOTN','710sHbYGY','getAttribute','refresh','value','get','153635wvXjgO','12215520KrvFTW','model','946653SsPaCY','includes','execute','isEnabled','getFootnotesDefinitionsObjectElement','1854264NZAEsw','setAttribute','footnotesListStyle','3175332TiJFXk','188090VCiTOH','plugins'];_0x12ee=function(){return _0x443adf;};return _0x12ee();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x7bb55c}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x8bf2ea}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4c11d1{[_0xee5f9b(0x16e)](){const _0x2bc4a3=_0xee5f9b,{editor:_0x107f47}=this,_0xaca469=_0x107f47[_0x2bc4a3(0x17e)][_0x2bc4a3(0x170)](_0x8bf2ea)[_0x2bc4a3(0x178)]();this[_0x2bc4a3(0x177)]=!!_0xaca469,this[_0x2bc4a3(0x16f)]=_0xaca469?.[_0x2bc4a3(0x16d)](_0x2bc4a3(0x17b))??null;}[_0xee5f9b(0x176)]({value:_0x47dc8e}){const _0x681e0=_0xee5f9b,{editor:_0x40f1a4}=this,_0x128f18=_0x40f1a4[_0x681e0(0x17e)][_0x681e0(0x170)](_0x8bf2ea),_0x296729=_0x128f18[_0x681e0(0x178)]();_0x296729&&_0x7bb55c[_0x681e0(0x175)](_0x47dc8e)&&_0x40f1a4[_0x681e0(0x173)][_0x681e0(0x182)](_0x261dbd=>{const _0x576124=_0x681e0;_0x261dbd[_0x576124(0x17a)](_0x576124(0x17b),_0x47dc8e,_0x296729),_0x128f18[_0x576124(0x17f)](_0x261dbd);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x559e(_0x869cc4,_0x4a964a){const _0xc28e47=_0xc28e();return _0x559e=function(_0x559e7c,_0x3466f7){_0x559e7c=_0x559e7c-0x136;let _0x1d5b91=_0xc28e47[_0x559e7c];return _0x1d5b91;},_0x559e(_0x869cc4,_0x4a964a);}const _0x1e2a9c=_0x559e;(function(_0x842a0e,_0x545c82){const _0x536352=_0x559e,_0xc5c0b8=_0x842a0e();while(!![]){try{const _0x5cda84=-parseInt(_0x536352(0x145))/0x1+-parseInt(_0x536352(0x13d))/0x2+parseInt(_0x536352(0x141))/0x3*(parseInt(_0x536352(0x13f))/0x4)+parseInt(_0x536352(0x13b))/0x5*(parseInt(_0x536352(0x148))/0x6)+-parseInt(_0x536352(0x13e))/0x7*(parseInt(_0x536352(0x149))/0x8)+-parseInt(_0x536352(0x140))/0x9*(parseInt(_0x536352(0x13c))/0xa)+-parseInt(_0x536352(0x138))/0xb*(-parseInt(_0x536352(0x13a))/0xc);if(_0x5cda84===_0x545c82)break;else _0xc5c0b8['push'](_0xc5c0b8['shift']());}catch(_0x144414){_0xc5c0b8['push'](_0xc5c0b8['shift']());}}}(_0xc28e,0xba411));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x1e2a9c(0x146),_0x1e2a9c(0x142),_0x1e2a9c(0x139),_0x1e2a9c(0x144),_0x1e2a9c(0x137),_0x1e2a9c(0x143),_0x1e2a9c(0x136),_0x1e2a9c(0x147)];function _0xc28e(){const _0x52aa77=['decimal-leading-zero','upper-alpha','upper-latin','847339iujLDH','decimal','upper-roman','2851698uNncDn','8KpJvgN','lower-roman','lower-alpha','67001HMkFXn','lower-latin','5364pJDVoi','5chAabm','3920vDCnGi','2798350ROrfsh','4508875xNIDoV','75832wlbAPW','17397SptiNQ','192COWmtO'];_0xc28e=function(){return _0x52aa77;};return _0xc28e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x241f(){const _0x238896=['position','footnotes.footnotesProperties.defaultStartIndex','padStart','item','extend','14994JhqSja','parent','element:ol','footnotesStart','_defineConverters','writer','setStyle','upcast','isPremiumPlugin','nodeAfter','removeStyle','11qMgymW','insert','getItems','mapper','6gBJwQp','floor','_formatFootnoteListValue','add','attribute:footnotesListStyle:footnotesDefinitions','_defineFormatter','footnotes.footnotesProperties.defaultListStyle','footnotes-list','modelCursor','list-style-type','find','391024nhKlno','_getDefaultListStyle','isOfficialPlugin','from','define','downcast','toViewElement','type','get','14993980huOwdk','registerPostFixer','$text','getChildren','setAttribute','isNaN','hasClass','footnotesListStart','lower-latin','hasAttribute','attribute:footnotesListStart:footnotesDefinitions','createRangeOn','viewItem','commands','checkAttribute','parseInt','upper-alpha','_updateFootnotesCounters','894172WaDBBx','requires','start','decimal','88963kkefoe','toLowerCase','_definePostfixer','footnotesDefinitions','decimal-leading-zero','footnotesListStyle','document','for','config','getChanges','lower-alpha','consume','max','1115rtiAck','224unGufA','element','model','init','lower-roman','getStyle','name','getAttribute','footnotesStyle','schema','editor','removeAttribute','pluginName','differ','plugins','toUpperCase','setFootnoteFormatter','10158984MUfmxP','_getDefaultStartIndex','_defineSchema','FootnotesPropertiesEditing','consumable','upper-roman','upper-latin','20488ffQQfz','fromCharCode'];_0x241f=function(){return _0x238896;};return _0x241f();}const _0x5ea811=_0x3879;(function(_0x2c19b3,_0x15175f){const _0x4004db=_0x3879,_0x3c0f8b=_0x2c19b3();while(!![]){try{const _0x10d531=parseInt(_0x4004db(0x149))/0x1+-parseInt(_0x4004db(0x145))/0x2*(parseInt(_0x4004db(0x185))/0x3)+-parseInt(_0x4004db(0x16f))/0x4*(parseInt(_0x4004db(0x156))/0x5)+-parseInt(_0x4004db(0x176))/0x6*(parseInt(_0x4004db(0x157))/0x7)+parseInt(_0x4004db(0x190))/0x8+parseInt(_0x4004db(0x168))/0x9+parseInt(_0x4004db(0x133))/0xa*(parseInt(_0x4004db(0x181))/0xb);if(_0x10d531===_0x15175f)break;else _0x3c0f8b['push'](_0x3c0f8b['shift']());}catch(_0x2df92b){_0x3c0f8b['push'](_0x3c0f8b['shift']());}}}(_0x241f,0x9e9c5));import{Plugin as _0x2764cb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x9995f3}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x31e60f}from'./commands/footnotesstartcommand.js';function _0x3879(_0x4cf601,_0x54dd41){const _0x241f1d=_0x241f();return _0x3879=function(_0x387957,_0x279a79){_0x387957=_0x387957-0x12e;let _0x526a95=_0x241f1d[_0x387957];return _0x526a95;},_0x3879(_0x4cf601,_0x54dd41);}import{FootnotesTracker as _0x8205c6}from'../footnotestracker.js';import{FootnotesEditing as _0x3a9cfb}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x2764cb{static get[_0x5ea811(0x163)](){const _0x3e84bb=_0x5ea811;return _0x3e84bb(0x16b);}static get[_0x5ea811(0x146)](){return[_0x3a9cfb,_0x8205c6];}static get[_0x5ea811(0x192)](){return!0x0;}static get[_0x5ea811(0x17e)](){return!0x0;}[_0x5ea811(0x15a)](){const _0x472ad6=_0x5ea811,{editor:_0x27c3e9}=this;_0x27c3e9[_0x472ad6(0x151)][_0x472ad6(0x12e)](_0x472ad6(0x18b),_0x472ad6(0x148)),_0x27c3e9[_0x472ad6(0x151)][_0x472ad6(0x12e)](_0x472ad6(0x172),0x1),_0x27c3e9[_0x472ad6(0x140)][_0x472ad6(0x188)](_0x472ad6(0x15f),new _0x9995f3(_0x27c3e9)),_0x27c3e9[_0x472ad6(0x140)][_0x472ad6(0x188)](_0x472ad6(0x179),new _0x31e60f(_0x27c3e9)),this[_0x472ad6(0x16a)](),this[_0x472ad6(0x17a)](),this[_0x472ad6(0x18a)](),this[_0x472ad6(0x14b)]();}[_0x5ea811(0x16a)](){const _0x4052e8=_0x5ea811,{editor:_0x3b412f}=this,{schema:_0x30bb86}=_0x3b412f[_0x4052e8(0x159)];_0x30bb86[_0x4052e8(0x175)](_0x4052e8(0x14c),{'allowAttributes':[_0x4052e8(0x14e),_0x4052e8(0x13a)]});}[_0x5ea811(0x17a)](){const _0x50e30c=_0x5ea811,{editor:_0x44337b}=this,{conversion:_0x2a728e,model:_0x4b259c}=_0x44337b,{schema:_0x2ee130}=_0x4b259c;_0x2a728e[_0x50e30c(0x150)](_0x50e30c(0x17d))[_0x50e30c(0x188)](_0x3af904=>{const _0x1af336=_0x50e30c;_0x3af904['on'](_0x1af336(0x178),(_0x40218e,_0x4e2005,_0x5e0819)=>{const _0x551ca0=_0x1af336,_0x221e58=_0x4e2005[_0x551ca0(0x13f)],_0x322a09=_0x4e2005[_0x551ca0(0x18d)]?.[_0x551ca0(0x177)];_0x221e58[_0x551ca0(0x139)](_0x551ca0(0x18c))&&_0x322a09?.['is'](_0x551ca0(0x158),_0x551ca0(0x14c))&&(function(_0x217431,_0x51d3f9,_0x156a74,_0x135416){const _0x729c01=_0x551ca0;if(!_0x135416[_0x729c01(0x141)](_0x51d3f9,_0x729c01(0x13a)))return;let _0x47c762=0x1;const _0x197b1a=_0x156a74[_0x729c01(0x16c)][_0x729c01(0x154)](_0x217431,{'attributes':_0x729c01(0x147)});if(_0x197b1a){const _0x3f451d=Number[_0x729c01(0x142)](_0x217431[_0x729c01(0x15e)](_0x729c01(0x147)),0xa);Number[_0x729c01(0x138)](_0x3f451d)||(_0x47c762=_0x3f451d);}!_0x197b1a&&_0x51d3f9[_0x729c01(0x13c)](_0x729c01(0x13a))||_0x156a74[_0x729c01(0x17b)][_0x729c01(0x137)](_0x729c01(0x13a),_0x47c762,_0x51d3f9);}(_0x221e58,_0x322a09,_0x5e0819,_0x2ee130),function(_0x3d7173,_0x5acf99,_0x5e435b,_0x463fcd){const _0x20fefb=_0x551ca0;if(!_0x463fcd[_0x20fefb(0x141)](_0x5acf99,_0x20fefb(0x14e)))return;let _0xf868a7=_0x20fefb(0x148),_0x2e3869=!0x1;if(_0x5e435b[_0x20fefb(0x16c)][_0x20fefb(0x154)](_0x3d7173,{'attributes':_0x20fefb(0x131)})){const _0x3f04a3={0x1:_0x20fefb(0x148),'a':_0x20fefb(0x153),'A':_0x20fefb(0x143),'i':_0x20fefb(0x15b),'I':_0x20fefb(0x16d)}[_0x3d7173[_0x20fefb(0x15e)](_0x20fefb(0x131))];_0x3f04a3&&(_0xf868a7=_0x3f04a3),_0x2e3869=!0x0;}_0x5e435b[_0x20fefb(0x16c)][_0x20fefb(0x154)](_0x3d7173,{'styles':_0x20fefb(0x18e)})&&(_0xf868a7=function(_0x12dd5f){const _0x39745c=_0x20fefb;switch(_0x12dd5f){case _0x39745c(0x153):return _0x39745c(0x13b);case _0x39745c(0x143):return _0x39745c(0x16e);default:return _0x12dd5f;}}(_0x3d7173[_0x20fefb(0x15c)](_0x20fefb(0x18e))),_0x2e3869=!0x0),!_0x2e3869&&_0x5acf99[_0x20fefb(0x13c)](_0x20fefb(0x14e))||_0x5e435b[_0x20fefb(0x17b)][_0x20fefb(0x137)](_0x20fefb(0x14e),_0xf868a7,_0x5acf99);}(_0x221e58,_0x322a09,_0x5e0819,_0x2ee130));});}),_0x2a728e[_0x50e30c(0x150)](_0x50e30c(0x12f))[_0x50e30c(0x188)](_0x512953=>{const _0x4139b6=_0x50e30c;_0x512953['on'](_0x4139b6(0x13d),(_0x83de39,_0x4ff598,_0x3324e6)=>{const _0x2699c7=_0x4139b6;if(!_0x3324e6[_0x2699c7(0x16c)][_0x2699c7(0x154)](_0x4ff598[_0x2699c7(0x174)],_0x83de39[_0x2699c7(0x15d)]))return;const _0x501216=M(_0x4ff598[_0x2699c7(0x174)],_0x3324e6[_0x2699c7(0x184)]),{attributeNewValue:_0x1da4ce}=_0x4ff598;null==_0x1da4ce||0x1===_0x1da4ce?_0x3324e6[_0x2699c7(0x17b)][_0x2699c7(0x162)](_0x2699c7(0x147),_0x501216):_0x3324e6[_0x2699c7(0x17b)][_0x2699c7(0x137)](_0x2699c7(0x147),String(_0x1da4ce),_0x501216);}),_0x512953['on'](_0x4139b6(0x189),(_0x1ea7d9,_0x19dba9,_0x2a3f16)=>{const _0x55b5cc=_0x4139b6;if(!_0x2a3f16[_0x55b5cc(0x16c)][_0x55b5cc(0x154)](_0x19dba9[_0x55b5cc(0x174)],_0x1ea7d9[_0x55b5cc(0x15d)]))return;const _0x2f9fa1=M(_0x19dba9[_0x55b5cc(0x174)],_0x2a3f16[_0x55b5cc(0x184)]),{attributeNewValue:_0x23ca38}=_0x19dba9;_0x23ca38&&_0x55b5cc(0x148)!==_0x23ca38?_0x2a3f16[_0x55b5cc(0x17b)][_0x55b5cc(0x17c)](_0x55b5cc(0x18e),_0x23ca38,_0x2f9fa1):_0x2a3f16[_0x55b5cc(0x17b)][_0x55b5cc(0x180)](_0x55b5cc(0x18e),_0x2f9fa1);});});}[_0x5ea811(0x14b)](){const _0x424077=_0x5ea811,{editor:_0x5e13b4}=this,{model:_0x3c0670}=_0x5e13b4,_0x1780b7=_0x5e13b4[_0x424077(0x165)][_0x424077(0x132)](_0x8205c6),_0x186e1e=this[_0x424077(0x191)](),_0x4de721=this[_0x424077(0x169)]();_0x3c0670[_0x424077(0x14f)][_0x424077(0x134)](_0x3b690a=>{const _0xb595bd=_0x424077,_0x2ec10e=_0x3c0670[_0xb595bd(0x14f)][_0xb595bd(0x164)][_0xb595bd(0x152)]();let _0x5ea65f=!0x1;for(const _0x1c5dca of _0x2ec10e){if(_0xb595bd(0x182)!==_0x1c5dca[_0xb595bd(0x131)]||_0xb595bd(0x135)===_0x1c5dca[_0xb595bd(0x15d)])continue;const _0x21f122=_0x3c0670[_0xb595bd(0x13e)](_0x1c5dca[_0xb595bd(0x171)][_0xb595bd(0x17f)]);for(const _0x5d6909 of _0x21f122[_0xb595bd(0x183)]())_0x5d6909['is'](_0xb595bd(0x158),_0xb595bd(0x14c))&&(!_0x5d6909[_0xb595bd(0x13c)](_0xb595bd(0x13a))&&_0x3c0670[_0xb595bd(0x160)][_0xb595bd(0x141)](_0x5d6909,_0xb595bd(0x13a))&&(_0x3b690a[_0xb595bd(0x137)](_0xb595bd(0x13a),_0x4de721,_0x5d6909),_0x5ea65f=!0x0),!_0x5d6909[_0xb595bd(0x13c)](_0xb595bd(0x14e))&&_0x3c0670[_0xb595bd(0x160)][_0xb595bd(0x141)](_0x5d6909,_0xb595bd(0x14e))&&(_0x3b690a[_0xb595bd(0x137)](_0xb595bd(0x14e),_0x186e1e,_0x5d6909),_0x5ea65f=!0x0));}return _0x5ea65f&&_0x1780b7[_0xb595bd(0x144)](_0x3b690a),_0x5ea65f;});}[_0x5ea811(0x18a)](){const _0x3826af=_0x5ea811,{editor:_0x520cc9}=this;_0x520cc9[_0x3826af(0x165)][_0x3826af(0x132)](_0x8205c6)[_0x3826af(0x167)](_0x5962ba=>this[_0x3826af(0x187)](_0x5962ba));}[_0x5ea811(0x191)](){const _0x1ec73b=_0x5ea811;return this[_0x1ec73b(0x161)][_0x1ec73b(0x151)][_0x1ec73b(0x132)](_0x1ec73b(0x18b));}[_0x5ea811(0x169)](){const _0xb0b0fa=_0x5ea811;return this[_0xb0b0fa(0x161)][_0xb0b0fa(0x151)][_0xb0b0fa(0x132)](_0xb0b0fa(0x172));}[_0x5ea811(0x187)]({container:_0x3ea49d,value:_0x29626b,digits:_0xdd4ff9}){const _0x43499b=_0x5ea811,_0xfb7b4=_0x3ea49d[_0x43499b(0x15e)](_0x43499b(0x14e)),_0x2cec03=_0x3ea49d[_0x43499b(0x15e)](_0x43499b(0x13a)),_0x174d73=Math[_0x43499b(0x186)](_0x29626b)+(_0x2cec03??0x1)-0x1;switch(_0xfb7b4){case _0x43499b(0x14d):return function(_0x38591d,_0x527289){const _0x19427e=_0x43499b;return String(_0x38591d)[_0x19427e(0x173)](_0x527289,'0');}(_0x174d73,Math[_0x43499b(0x155)](0x2,_0xdd4ff9));case _0x43499b(0x153):case _0x43499b(0x13b):return N(_0x174d73,!0x1);case _0x43499b(0x143):case _0x43499b(0x16e):return N(_0x174d73,!0x0);case _0x43499b(0x15b):return X(_0x174d73,!0x1);case _0x43499b(0x16d):return X(_0x174d73,!0x0);default:return String(_0x174d73);}}}function M(_0x26c9b5,_0x2284ad){const _0x500ee4=_0x5ea811,_0x4727d2=_0x2284ad[_0x500ee4(0x130)](_0x26c9b5);return Array[_0x500ee4(0x193)](_0x4727d2[_0x500ee4(0x136)]())[_0x500ee4(0x18f)](_0x365873=>_0x365873['is'](_0x500ee4(0x158),'ol')&&_0x365873[_0x500ee4(0x139)](_0x500ee4(0x18c)));}function N(_0xb2cc29,_0x185fa6){const _0x5dd111=_0x5ea811;let _0x2ed711='',_0x379e98=_0xb2cc29;for(;_0x379e98>0x0;){const _0x273378=(_0x379e98-0x1)%0x1a;_0x2ed711=String[_0x5dd111(0x170)](0x61+_0x273378)+_0x2ed711,_0x379e98=Math[_0x5dd111(0x186)]((_0x379e98-0x1)/0x1a);}return _0x185fa6?_0x2ed711[_0x5dd111(0x166)]():_0x2ed711;}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(_0x1415af,_0x10981c){const _0x4cd4bf=_0x5ea811;let _0x368726='',_0x3b01fe=_0x1415af;for(const {value:_0x14dc48,numeral:_0xf6571c}of V)for(;_0x3b01fe>=_0x14dc48;)_0x368726+=_0xf6571c,_0x3b01fe-=_0x14dc48;return _0x10981c?_0x368726:_0x368726[_0x4cd4bf(0x14a)]();}
|
|
23
|
+
const _0x44b1ef=_0xb383;(function(_0x3cd88d,_0x3f292f){const _0x439c7b=_0xb383,_0x3e9ce5=_0x3cd88d();while(!![]){try{const _0x340418=parseInt(_0x439c7b(0x1b7))/0x1+parseInt(_0x439c7b(0x1d5))/0x2*(-parseInt(_0x439c7b(0x1c6))/0x3)+-parseInt(_0x439c7b(0x1a0))/0x4*(parseInt(_0x439c7b(0x1ec))/0x5)+parseInt(_0x439c7b(0x1f2))/0x6+parseInt(_0x439c7b(0x1ed))/0x7*(-parseInt(_0x439c7b(0x1eb))/0x8)+parseInt(_0x439c7b(0x1b0))/0x9*(-parseInt(_0x439c7b(0x1b1))/0xa)+parseInt(_0x439c7b(0x1a4))/0xb;if(_0x340418===_0x3f292f)break;else _0x3e9ce5['push'](_0x3e9ce5['shift']());}catch(_0x494ecf){_0x3e9ce5['push'](_0x3e9ce5['shift']());}}}(_0x4e50,0xbfe64));import{Plugin as _0x4ca7d3}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x288014}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x5708a8}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x6c45aa}from'../footnotestracker.js';import{FootnotesEditing as _0x50a390}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4ca7d3{static get[_0x44b1ef(0x1d2)](){const _0xdd0f15=_0x44b1ef;return _0xdd0f15(0x1c2);}static get[_0x44b1ef(0x1b6)](){return[_0x50a390,_0x6c45aa];}static get[_0x44b1ef(0x193)](){return!0x0;}static get[_0x44b1ef(0x1a6)](){return!0x0;}[_0x44b1ef(0x1d0)](){const _0x5d0a0c=_0x44b1ef,{editor:_0x216874}=this;_0x216874[_0x5d0a0c(0x1e9)][_0x5d0a0c(0x1b2)](_0x5d0a0c(0x1b4),_0x5d0a0c(0x1ef)),_0x216874[_0x5d0a0c(0x1e9)][_0x5d0a0c(0x1b2)](_0x5d0a0c(0x1e8),0x1),_0x216874[_0x5d0a0c(0x1ad)][_0x5d0a0c(0x1a2)](_0x5d0a0c(0x1e3),new _0x288014(_0x216874)),_0x216874[_0x5d0a0c(0x1ad)][_0x5d0a0c(0x1a2)](_0x5d0a0c(0x1bd),new _0x5708a8(_0x216874)),this[_0x5d0a0c(0x1c1)](),this[_0x5d0a0c(0x197)](),this[_0x5d0a0c(0x19b)](),this[_0x5d0a0c(0x19d)]();}[_0x44b1ef(0x1c1)](){const _0x4ef6d0=_0x44b1ef,{editor:_0x7c2fa7}=this,{schema:_0x39344c}=_0x7c2fa7[_0x4ef6d0(0x1c0)];_0x39344c[_0x4ef6d0(0x19e)](_0x4ef6d0(0x1f0),{'allowAttributes':[_0x4ef6d0(0x1a5),_0x4ef6d0(0x1da)]});}[_0x44b1ef(0x197)](){const _0x456a0e=_0x44b1ef,{editor:_0x505e0e}=this,{conversion:_0x1fac7f,model:_0x1233be}=_0x505e0e,{schema:_0x258e73}=_0x1233be;_0x1fac7f[_0x456a0e(0x190)](_0x456a0e(0x1e1))[_0x456a0e(0x1a2)](_0x56f837=>{const _0x5b28ac=_0x456a0e;_0x56f837['on'](_0x5b28ac(0x1bc),(_0x328ed9,_0x165ac2,_0x2e4354)=>{const _0x353aeb=_0x5b28ac,_0x4e0950=_0x165ac2[_0x353aeb(0x196)],_0x50d7f7=_0x165ac2[_0x353aeb(0x1b8)]?.[_0x353aeb(0x1c5)];_0x4e0950[_0x353aeb(0x1a7)](_0x353aeb(0x1e5))&&_0x50d7f7?.['is'](_0x353aeb(0x1f1),_0x353aeb(0x1f0))&&(function(_0x5a13ad,_0x38dc51,_0x2f7108,_0x19ad5c){const _0xbc21ad=_0x353aeb;if(!_0x19ad5c[_0xbc21ad(0x1ca)](_0x38dc51,_0xbc21ad(0x1da)))return;let _0x456aa0=0x1;const _0x1204d1=_0x2f7108[_0xbc21ad(0x1e2)][_0xbc21ad(0x1ee)](_0x5a13ad,{'attributes':_0xbc21ad(0x1ce)});if(_0x1204d1){const _0x57a29c=Number[_0xbc21ad(0x192)](_0x5a13ad[_0xbc21ad(0x1cd)](_0xbc21ad(0x1ce)),0xa);Number[_0xbc21ad(0x1a9)](_0x57a29c)||(_0x456aa0=_0x57a29c);}!_0x1204d1&&_0x38dc51[_0xbc21ad(0x1ba)](_0xbc21ad(0x1da))||_0x2f7108[_0xbc21ad(0x1aa)][_0xbc21ad(0x1e0)](_0xbc21ad(0x1da),_0x456aa0,_0x38dc51);}(_0x4e0950,_0x50d7f7,_0x2e4354,_0x258e73),function(_0x30b776,_0xb1fdfc,_0x2caef2,_0x222adb){const _0x454116=_0x353aeb;if(!_0x222adb[_0x454116(0x1ca)](_0xb1fdfc,_0x454116(0x1a5)))return;let _0x2e5c52=_0x454116(0x1ef),_0xa5c62f=!0x1;if(_0x2caef2[_0x454116(0x1e2)][_0x454116(0x1ee)](_0x30b776,{'attributes':_0x454116(0x1af)})){const _0x43025e={0x1:_0x454116(0x1ef),'a':_0x454116(0x1c8),'A':_0x454116(0x1ea),'i':_0x454116(0x1dd),'I':_0x454116(0x1d1)}[_0x30b776[_0x454116(0x1cd)](_0x454116(0x1af))];_0x43025e&&(_0x2e5c52=_0x43025e),_0xa5c62f=!0x0;}_0x2caef2[_0x454116(0x1e2)][_0x454116(0x1ee)](_0x30b776,{'styles':_0x454116(0x1d8)})&&(_0x2e5c52=function(_0xcec3fb){const _0x188d59=_0x454116;switch(_0xcec3fb){case _0x188d59(0x1c8):return _0x188d59(0x1d7);case _0x188d59(0x1ea):return _0x188d59(0x1a1);default:return _0xcec3fb;}}(_0x30b776[_0x454116(0x1b3)](_0x454116(0x1d8))),_0xa5c62f=!0x0),!_0xa5c62f&&_0xb1fdfc[_0x454116(0x1ba)](_0x454116(0x1a5))||_0x2caef2[_0x454116(0x1aa)][_0x454116(0x1e0)](_0x454116(0x1a5),_0x2e5c52,_0xb1fdfc);}(_0x4e0950,_0x50d7f7,_0x2e4354,_0x258e73));});}),_0x1fac7f[_0x456a0e(0x190)](_0x456a0e(0x1dc))[_0x456a0e(0x1a2)](_0x203c4a=>{const _0x1603c7=_0x456a0e;_0x203c4a['on'](_0x1603c7(0x1f5),(_0x5d7800,_0x3fd2ca,_0x53680b)=>{const _0x4d5760=_0x1603c7;if(!_0x53680b[_0x4d5760(0x1e2)][_0x4d5760(0x1ee)](_0x3fd2ca[_0x4d5760(0x1e6)],_0x5d7800[_0x4d5760(0x1f4)]))return;const _0x10f272=M(_0x3fd2ca[_0x4d5760(0x1e6)],_0x53680b[_0x4d5760(0x195)]),{attributeNewValue:_0xa4d2df}=_0x3fd2ca;null==_0xa4d2df||0x1===_0xa4d2df?_0x53680b[_0x4d5760(0x1aa)][_0x4d5760(0x199)](_0x4d5760(0x1ce),_0x10f272):_0x53680b[_0x4d5760(0x1aa)][_0x4d5760(0x1e0)](_0x4d5760(0x1ce),String(_0xa4d2df),_0x10f272);}),_0x203c4a['on'](_0x1603c7(0x1ae),(_0x50df74,_0x1d8cce,_0x14f09d)=>{const _0x2bef36=_0x1603c7;if(!_0x14f09d[_0x2bef36(0x1e2)][_0x2bef36(0x1ee)](_0x1d8cce[_0x2bef36(0x1e6)],_0x50df74[_0x2bef36(0x1f4)]))return;const _0x19e194=M(_0x1d8cce[_0x2bef36(0x1e6)],_0x14f09d[_0x2bef36(0x195)]),{attributeNewValue:_0x408edf}=_0x1d8cce;_0x408edf&&_0x2bef36(0x1ef)!==_0x408edf?_0x14f09d[_0x2bef36(0x1aa)][_0x2bef36(0x1e4)](_0x2bef36(0x1d8),_0x408edf,_0x19e194):_0x14f09d[_0x2bef36(0x1aa)][_0x2bef36(0x194)](_0x2bef36(0x1d8),_0x19e194);});});}[_0x44b1ef(0x19d)](){const _0x16fcc0=_0x44b1ef,{editor:_0xfaa904}=this,{model:_0xcb3710}=_0xfaa904,_0x2d92bc=_0xfaa904[_0x16fcc0(0x1d6)][_0x16fcc0(0x198)](_0x6c45aa),_0x43135c=this[_0x16fcc0(0x19a)](),_0x837a95=this[_0x16fcc0(0x1db)]();_0xcb3710[_0x16fcc0(0x1bf)][_0x16fcc0(0x1b9)](_0x1c1435=>{const _0x1e9881=_0x16fcc0,_0x3639c3=_0xcb3710[_0x1e9881(0x1bf)][_0x1e9881(0x1d4)][_0x1e9881(0x1de)]();let _0x5653b9=!0x1;for(const _0x9a51f7 of _0x3639c3){if(_0x1e9881(0x1c9)!==_0x9a51f7[_0x1e9881(0x1af)]||_0x1e9881(0x1c3)===_0x9a51f7[_0x1e9881(0x1f4)])continue;const _0x26641f=_0xcb3710[_0x1e9881(0x1be)](_0x9a51f7[_0x1e9881(0x1f3)][_0x1e9881(0x1df)]);for(const _0x278ed6 of _0x26641f[_0x1e9881(0x1a3)]())_0x278ed6['is'](_0x1e9881(0x1f1),_0x1e9881(0x1f0))&&(!_0x278ed6[_0x1e9881(0x1ba)](_0x1e9881(0x1da))&&_0xcb3710[_0x1e9881(0x1a8)][_0x1e9881(0x1ca)](_0x278ed6,_0x1e9881(0x1da))&&(_0x1c1435[_0x1e9881(0x1e0)](_0x1e9881(0x1da),_0x837a95,_0x278ed6),_0x5653b9=!0x0),!_0x278ed6[_0x1e9881(0x1ba)](_0x1e9881(0x1a5))&&_0xcb3710[_0x1e9881(0x1a8)][_0x1e9881(0x1ca)](_0x278ed6,_0x1e9881(0x1a5))&&(_0x1c1435[_0x1e9881(0x1e0)](_0x1e9881(0x1a5),_0x43135c,_0x278ed6),_0x5653b9=!0x0));}return _0x5653b9&&_0x2d92bc[_0x1e9881(0x1cf)](_0x1c1435),_0x5653b9;});}[_0x44b1ef(0x19b)](){const _0x1af742=_0x44b1ef,{editor:_0x2cbb7e}=this;_0x2cbb7e[_0x1af742(0x1d6)][_0x1af742(0x198)](_0x6c45aa)[_0x1af742(0x1ac)](_0x409443=>this[_0x1af742(0x1c4)](_0x409443));}[_0x44b1ef(0x19a)](){const _0x261cb6=_0x44b1ef;return this[_0x261cb6(0x1cc)][_0x261cb6(0x1e9)][_0x261cb6(0x198)](_0x261cb6(0x1b4));}[_0x44b1ef(0x1db)](){const _0x449661=_0x44b1ef;return this[_0x449661(0x1cc)][_0x449661(0x1e9)][_0x449661(0x198)](_0x449661(0x1e8));}[_0x44b1ef(0x1c4)]({container:_0x32b099,value:_0x24df9d,digits:_0x599c3c}){const _0x11eada=_0x44b1ef,_0x5f3a64=_0x32b099[_0x11eada(0x1cd)](_0x11eada(0x1a5)),_0x1efcd6=_0x32b099[_0x11eada(0x1cd)](_0x11eada(0x1da)),_0x36abec=Math[_0x11eada(0x191)](_0x24df9d)+(_0x1efcd6??0x1)-0x1;switch(_0x5f3a64){case _0x11eada(0x1ab):return function(_0x4c8164,_0x4f1534){const _0x3cf6e3=_0x11eada;return String(_0x4c8164)[_0x3cf6e3(0x1d9)](_0x4f1534,'0');}(_0x36abec,Math[_0x11eada(0x1cb)](0x2,_0x599c3c));case _0x11eada(0x1c8):case _0x11eada(0x1d7):return N(_0x36abec,!0x1);case _0x11eada(0x1ea):case _0x11eada(0x1a1):return N(_0x36abec,!0x0);case _0x11eada(0x1dd):return X(_0x36abec,!0x1);case _0x11eada(0x1d1):return X(_0x36abec,!0x0);default:return String(_0x36abec);}}}function _0x4e50(){const _0x56fcba=['footnotes-list','item','from','footnotes.footnotesProperties.defaultStartIndex','config','upper-alpha','1880688RJBLGs','24860fKdwoJ','35gRQlAf','consume','decimal','footnotesDefinitions','element','5510052aipXSf','position','name','attribute:footnotesListStart:footnotesDefinitions','for','floor','parseInt','isOfficialPlugin','removeStyle','mapper','viewItem','_defineConverters','get','removeAttribute','_getDefaultListStyle','_defineFormatter','fromCharCode','_definePostfixer','extend','getChildren','152jiAnRn','upper-latin','add','getItems','17487360ssdzwi','footnotesListStyle','isPremiumPlugin','hasClass','schema','isNaN','writer','decimal-leading-zero','setFootnoteFormatter','commands','attribute:footnotesListStyle:footnotesDefinitions','type','9znlzui','3773930CPAAsy','define','getStyle','footnotes.footnotesProperties.defaultListStyle','find','requires','728927enKRIT','modelCursor','registerPostFixer','hasAttribute','toLowerCase','element:ol','footnotesStart','createRangeOn','document','model','_defineSchema','FootnotesPropertiesEditing','$text','_formatFootnoteListValue','parent','212775mPDVNc','toUpperCase','lower-alpha','insert','checkAttribute','max','editor','getAttribute','start','_updateFootnotesCounters','init','upper-roman','pluginName','toViewElement','differ','20spFbEH','plugins','lower-latin','list-style-type','padStart','footnotesListStart','_getDefaultStartIndex','downcast','lower-roman','getChanges','nodeAfter','setAttribute','upcast','consumable','footnotesStyle','setStyle'];_0x4e50=function(){return _0x56fcba;};return _0x4e50();}function _0xb383(_0xac07c,_0x32946a){const _0x4e5035=_0x4e50();return _0xb383=function(_0xb383b3,_0x4b41e8){_0xb383b3=_0xb383b3-0x190;let _0x5a9058=_0x4e5035[_0xb383b3];return _0x5a9058;},_0xb383(_0xac07c,_0x32946a);}function M(_0x12ee30,_0x2288fe){const _0x2fd398=_0x44b1ef,_0x2d876b=_0x2288fe[_0x2fd398(0x1d3)](_0x12ee30);return Array[_0x2fd398(0x1e7)](_0x2d876b[_0x2fd398(0x19f)]())[_0x2fd398(0x1b5)](_0x238418=>_0x238418['is'](_0x2fd398(0x1f1),'ol')&&_0x238418[_0x2fd398(0x1a7)](_0x2fd398(0x1e5)));}function N(_0x1373aa,_0x2b9a0b){const _0x928d15=_0x44b1ef;let _0x377acb='',_0x5507ae=_0x1373aa;for(;_0x5507ae>0x0;){const _0x334664=(_0x5507ae-0x1)%0x1a;_0x377acb=String[_0x928d15(0x19c)](0x61+_0x334664)+_0x377acb,_0x5507ae=Math[_0x928d15(0x191)]((_0x5507ae-0x1)/0x1a);}return _0x2b9a0b?_0x377acb[_0x928d15(0x1c7)]():_0x377acb;}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(_0x150df1,_0x3f0965){const _0x11f16d=_0x44b1ef;let _0x177732='',_0x1628ca=_0x150df1;for(const {value:_0x53756b,numeral:_0x1d9e73}of V)for(;_0x1628ca>=_0x53756b;)_0x177732+=_0x1d9e73,_0x1628ca-=_0x53756b;return _0x3f0965?_0x177732:_0x177732[_0x11f16d(0x1bb)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x3da7fa,ButtonView as _0xace3ad,ContextualBalloon as _0x239b6a,createDropdown as _0x5f22ac}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4489ca}from'ckeditor5/src/widget.js';import{Plugin as _0x45a0de}from'ckeditor5/src/core.js';import{IconFootnote as _0x1530d7,IconListStyleDecimal as _0x574690,IconListStyleDecimalLeadingZero as _0x4fafe3,IconListStyleLowerLatin as _0x20d5d8,IconListStyleLowerRoman as _0x2bd29c,IconListStyleUpperLatin as _0x39ff27,IconListStyleUpperRoman as _0x405947}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3892b1}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x32d867}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x45a0de{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x239b6a,_0x4489ca];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56f1b7}=this,{componentFactory:_0x5decce}=_0x56f1b7['ui'];_0x56f1b7['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5decce['add']('footnotesStyle',function(_0x36842e){return _0x158026=>{const {t:t}=_0x158026,_0xe98458=_0x36842e['commands']['get']('footnotesStyle'),_0x234e2d=_0x5f22ac(_0x158026),{buttonView:_0x132a2e}=_0x234e2d;return _0x234e2d['class']='ck-footnotes-styles-dropdown',_0x234e2d['bind']('isEnabled')['to'](_0xe98458,'isEnabled'),_0x132a2e['set']({'label':t('Footnotes\x20style'),'icon':_0x1530d7,'tooltip':!0x0}),_0x234e2d['once']('change:isOpen',()=>{const _0x91add4=function({editor:_0xd1ee2,dropdownView:_0x2a35ab}){const {t:t}=_0xd1ee2['locale'],_0x5438cf=t('Footnotes\x20definitions\x20styles'),_0x2d6105=function(_0x4edcc1){const t=_0x4edcc1['locale']['t'],_0xa00557=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x574690},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4fafe3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2bd29c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x405947},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x20d5d8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x39ff27}];return _0xa00557['map'](function(_0x4b54be){const _0x2af4ed=_0x4b54be['locale'];return({label:_0x3b793f,icon:_0x4143f3,tooltip:_0xf09f9b,style:_0x2146aa})=>{const _0x3507ef=_0x4b54be['commands']['get']('footnotesStyle'),_0x117e58=new _0xace3ad(_0x2af4ed);return _0x117e58['set']({'label':_0x3b793f,'icon':_0x4143f3,'tooltip':_0xf09f9b}),_0x117e58['bind']('isOn')['to'](_0x3507ef,'value',_0x34d161=>_0x34d161===_0x2146aa),_0x117e58['bind']('isEnabled')['to'](_0x3507ef,'isEnabled'),_0x117e58['on']('execute',()=>{_0x4b54be['execute']('footnotesStyle',{'value':_0x2146aa}),_0x4b54be['editing']['view']['focus']();}),_0x117e58;};}(_0x4edcc1));}(_0xd1ee2),_0x339744=new _0x3892b1(_0xd1ee2['locale'],{'styleGridAriaLabel':_0x5438cf,'styleButtonViews':_0x2d6105}),_0x457dd4=_0xd1ee2['commands']['get']('footnotesStart');return _0x339744['startIndexFieldView']['bind']('isEnabled')['to'](_0x457dd4),_0x339744['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x457dd4),_0x339744['on']('footnotesListStart',(_0x11339c,_0x2c96b3)=>{_0xd1ee2['execute']('footnotesStart',{'value':_0x2c96b3['startIndex']});}),_0x339744['delegate']('execute')['to'](_0x2a35ab),_0x339744;}({'editor':_0x36842e,'dropdownView':_0x234e2d});_0x234e2d['panelView']['children']['add'](_0x91add4);}),_0x234e2d;};}(_0x56f1b7));}['afterInit'](){const {editor:_0x41c110}=this,{t:t}=_0x41c110['locale'],_0x1256c5=_0x41c110['plugins']['get'](_0x4489ca),{defaultPositions:_0x270976}=_0x3da7fa;_0x1256c5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x41c110['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x555114=>{let _0x511153=_0x555114['getFirstPosition']()?.['parent'];return _0x511153?.['is']('$text')&&(_0x511153=_0x511153['parent']),_0x511153?.['is']('element')?_0x511153['findAncestor'](_0x32d867):null;},'positions':[_0x270976['southArrowNorth'],_0x270976['southArrowNorthMiddleWest'],_0x270976['southArrowNorthMiddleEast'],_0x270976['southArrowNorthWest'],_0x270976['southArrowNorthEast'],_0x270976['northArrowSouth'],_0x270976['northArrowSouthMiddleWest'],_0x270976['northArrowSouthMiddleEast'],_0x270976['northArrowSouthWest'],_0x270976['northArrowSouthEast'],_0x270976['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x289d48,View as _0x43bf4d,ViewCollection as _0x311b00,FocusCycler as _0x2a4b6d,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 _0x43bf4d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x311b00();['focusCycler'];constructor(_0x2b9992,{styleButtonViews:_0x1b69b3,styleGridAriaLabel:_0x26fcc5}){super(_0x2b9992),(this['focusCycler']=new _0x2a4b6d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1b69b3,_0x26fcc5),[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 _0x5ccce0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5ccce0['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 _0x3c4d2c=_0x1a8455=>_0x1a8455['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3c4d2c),this['keystrokes']['set']('arrowleft',_0x3c4d2c),this['keystrokes']['set']('arrowup',_0x3c4d2c),this['keystrokes']['set']('arrowdown',_0x3c4d2c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x550ea9,_0x348041){const _0x4d581e=new _0x43bf4d(this['locale']);return _0x4d581e['children']=_0x4d581e['createCollection'](),_0x4d581e['children']['addMany'](_0x550ea9),_0x4d581e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x348041,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4d581e['children']}),_0x4d581e['children']['delegate']('execute')['to'](this),_0x4d581e['focus']=function(){for(const _0xf69be9 of this['children'])if(_0xf69be9 instanceof _0x289d48&&_0xf69be9['isOn'])return void _0xf69be9['focus']();this['children']['first']['focus']();},_0x4d581e['focusTracker']=new ot(),_0x4d581e['keystrokes']=new rt(),_0x4d581e['render'](),_0x4d581e['keystrokes']['listenTo'](_0x4d581e['element']),this['children']['add'](_0x4d581e),_0x4d581e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x367200=this['_createStartIndexPropertyView'](),_0x5c65e3=[_0x367200],_0x51e438=new st(this['locale'],_0x5c65e3);return _0x51e438['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x51e438['buttonView']['bind']('isEnabled')['toMany'](_0x5c65e3,'isEnabled',(..._0x49567b)=>_0x49567b['some'](_0x5424bc=>_0x5424bc)),_0x51e438['buttonView']['on']('change:isEnabled',(_0x3a1a70,_0x55ef0d,_0x2e7448)=>{_0x2e7448||(_0x51e438['isCollapsed']=!0x0);}),this['children']['add'](_0x51e438),[_0x367200,_0x51e438];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x52068e=new it(this['locale'],et);return _0x52068e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x52068e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x52068e['fieldView']['on']('input',()=>{const _0x21d14d=_0x52068e['fieldView']['element'],_0x327d35=_0x21d14d['valueAsNumber'];Number['isNaN'](_0x327d35)?_0x52068e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x21d14d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x327d35}):_0x52068e['errorText']=t(_0x327d35<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x52068e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5c98(){var _0x5397e9=['isOfficialPlugin','FootnotesProperties','210618SqzfDj','isPremiumPlugin','1016020pJuSCw','requires','pluginName','45vOmXfK','3017332oeePcJ','1822600XboNeE','109431iQjFLi','544nAOAYI','2159820rIMbqK','337842YalACC'];_0x5c98=function(){return _0x5397e9;};return _0x5c98();}var _0x18033f=_0x3d1d;(function(_0x1927a9,_0x53c016){var _0x125475=_0x3d1d,_0xef9540=_0x1927a9();while(!![]){try{var _0x510daf=parseInt(_0x125475(0x161))/0x1+-parseInt(_0x125475(0x158))/0x2+-parseInt(_0x125475(0x15b))/0x3+-parseInt(_0x125475(0x157))/0x4+-parseInt(_0x125475(0x164))/0x5*(-parseInt(_0x125475(0x15c))/0x6)+parseInt(_0x125475(0x159))/0x7+parseInt(_0x125475(0x15a))/0x8*(parseInt(_0x125475(0x15f))/0x9);if(_0x510daf===_0x53c016)break;else _0xef9540['push'](_0xef9540['shift']());}catch(_0x2361a8){_0xef9540['push'](_0xef9540['shift']());}}}(_0x5c98,0xb5af3));import{Plugin as _0x5af9f0}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x56062e}from'./footnotesproperties/footnotespropertiesediting.js';function _0x3d1d(_0x1d287a,_0x24f1ca){var _0x5c9849=_0x5c98();return _0x3d1d=function(_0x3d1df3,_0x3f2ba1){_0x3d1df3=_0x3d1df3-0x157;var _0x42d21e=_0x5c9849[_0x3d1df3];return _0x42d21e;},_0x3d1d(_0x1d287a,_0x24f1ca);}import{FootnotesPropertiesUI as _0x4e8425}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5af9f0{static get[_0x18033f(0x163)](){var _0x592b7d=_0x18033f;return _0x592b7d(0x15e);}static get[_0x18033f(0x162)](){return[_0x56062e,_0x4e8425];}static get[_0x18033f(0x15d)](){return!0x0;}static get[_0x18033f(0x160)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4e2c6e=_0x1e82;(function(_0x2d8506,_0x51fb48){const _0x4b5dbe=_0x1e82,_0x210d57=_0x2d8506();while(!![]){try{const _0x4e2ead=parseInt(_0x4b5dbe(0x12e))/0x1*(parseInt(_0x4b5dbe(0x15e))/0x2)+parseInt(_0x4b5dbe(0x122))/0x3+-parseInt(_0x4b5dbe(0x146))/0x4+parseInt(_0x4b5dbe(0x147))/0x5*(-parseInt(_0x4b5dbe(0x13a))/0x6)+parseInt(_0x4b5dbe(0x105))/0x7*(parseInt(_0x4b5dbe(0x14a))/0x8)+-parseInt(_0x4b5dbe(0x119))/0x9*(parseInt(_0x4b5dbe(0x115))/0xa)+parseInt(_0x4b5dbe(0x11b))/0xb;if(_0x4e2ead===_0x51fb48)break;else _0x210d57['push'](_0x210d57['shift']());}catch(_0x52f7b6){_0x210d57['push'](_0x210d57['shift']());}}}(_0x5c9b,0xd1118));function _0x1e82(_0x215409,_0x41e6fc){const _0x5c9bde=_0x5c9b();return _0x1e82=function(_0x1e820f,_0x1c2786){_0x1e820f=_0x1e820f-0xff;let _0x40bb22=_0x5c9bde[_0x1e820f];return _0x40bb22;},_0x1e82(_0x215409,_0x41e6fc);}import{Plugin as _0x11674b}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x51bd29}from'./modelelementtracker.js';export class FootnotesTracker extends _0x11674b{[_0x4e2c6e(0x13b)]=[];[_0x4e2c6e(0x100)]=null;[_0x4e2c6e(0x141)]=null;[_0x4e2c6e(0x149)];[_0x4e2c6e(0x161)];[_0x4e2c6e(0x127)];static get[_0x4e2c6e(0x156)](){const _0x1a657c=_0x4e2c6e;return _0x1a657c(0x144);}static get[_0x4e2c6e(0x126)](){return!0x0;}static get[_0x4e2c6e(0x107)](){return!0x0;}constructor(_0x445fca){const _0x316c65=_0x4e2c6e;super(_0x445fca),this[_0x316c65(0x149)]=new _0x51bd29(this[_0x316c65(0x120)][_0x316c65(0x15d)],{'elementName':_0x316c65(0x109),'getElementKey':()=>_0x316c65(0x142)}),this[_0x316c65(0x161)]=new _0x51bd29(this[_0x316c65(0x120)][_0x316c65(0x15d)],{'elementName':_0x316c65(0x128),'getElementKey':_0x3c3f07=>_0x3c3f07[_0x316c65(0x12d)](_0x316c65(0x13e))}),this[_0x316c65(0x127)]=new _0x51bd29(this[_0x316c65(0x120)][_0x316c65(0x15d)],{'elementName':_0x316c65(0x11e),'getElementKey':_0xa15035=>_0xa15035[_0x316c65(0x12d)](_0x316c65(0x13e))});}[_0x4e2c6e(0x129)](){const _0x22fecb=_0x4e2c6e,{editor:_0x48bf3e}=this,{model:_0x3bbdd5,data:_0x51523a}=_0x48bf3e;_0x3bbdd5[_0x22fecb(0x145)][_0x22fecb(0x14c)](_0x2d8a89=>{const _0x255f78=_0x22fecb,_0x3dcf1c=_0x3bbdd5[_0x255f78(0x145)][_0x255f78(0x154)][_0x255f78(0x113)]();let _0x5acfd0=!0x1;return this[_0x255f78(0x162)](_0x2d8a89,_0x3dcf1c)&&(_0x5acfd0=!0x0),this[_0x255f78(0x157)](_0x2d8a89,_0x3dcf1c)&&(_0x5acfd0=!0x0),this[_0x255f78(0x158)](_0x2d8a89,_0x3dcf1c)&&(_0x5acfd0=!0x0),this[_0x255f78(0x163)](_0x2d8a89)&&(_0x5acfd0=!0x0),this[_0x255f78(0x10a)](_0x2d8a89)&&(_0x5acfd0=!0x0),this[_0x255f78(0x15a)](_0x2d8a89)&&(_0x5acfd0=!0x0),_0x5acfd0;}),this[_0x22fecb(0x12c)](_0x3bbdd5[_0x22fecb(0x145)],_0x22fecb(0x10b),()=>{const _0x465094=_0x22fecb;_0x3bbdd5[_0x465094(0x135)]({'isUndoable':!0x1},_0x5e917d=>{const _0x35e706=_0x465094;this[_0x35e706(0x11f)](_0x5e917d);});},{'priority':_0x22fecb(0x164)}),this[_0x22fecb(0x12c)](_0x51523a,_0x22fecb(0x131),()=>{const _0x4cd5d6=_0x22fecb;this[_0x4cd5d6(0x13b)]=[],this[_0x4cd5d6(0x149)][_0x4cd5d6(0x110)](),this[_0x4cd5d6(0x161)][_0x4cd5d6(0x110)](),this[_0x4cd5d6(0x127)][_0x4cd5d6(0x110)]();},{'priority':_0x22fecb(0x15c)});}[_0x4e2c6e(0x103)](){const _0x37ad31=_0x4e2c6e;return this[_0x37ad31(0x100)];}[_0x4e2c6e(0x10e)](_0xeeae77){const _0x4b7f05=_0x4e2c6e;return this[_0x4b7f05(0x13b)][_0x4b7f05(0x124)](_0x21a451=>_0x21a451['id']===_0xeeae77)||null;}[_0x4e2c6e(0x125)](){const _0x22c495=_0x4e2c6e;return Array[_0x22c495(0x117)](this[_0x22c495(0x13b)]);}[_0x4e2c6e(0x116)](){const _0xab9eb5=_0x4e2c6e;return this[_0xab9eb5(0x141)];}[_0x4e2c6e(0x153)](_0x38bf67){const _0x4bebe6=_0x4e2c6e;this[_0x4bebe6(0x141)]=_0x38bf67;}[_0x4e2c6e(0x159)](_0x2637c8,_0x4f438b=0x0){const _0x3fd1a8=_0x4e2c6e;let _0x4aeae7=!0x1;for(let _0x5435b7=_0x4f438b;_0x5435b7<this[_0x3fd1a8(0x13b)][_0x3fd1a8(0x14b)];_0x5435b7++)this[_0x3fd1a8(0x102)](_0x2637c8,_0x5435b7)&&(_0x4aeae7=!0x0);return _0x4aeae7;}[_0x4e2c6e(0x14f)](_0x6eb46a,_0x4371b7){const _0x1c18d4=_0x4e2c6e,_0x1063ce=_0x6eb46a[_0x1c18d4(0x132)](_0x1c18d4(0x109),{});return _0x6eb46a[_0x1c18d4(0x134)](_0x1063ce,_0x4371b7),this[_0x1c18d4(0x100)]=_0x1063ce,_0x1063ce;}[_0x4e2c6e(0x11f)](_0x114e87){const _0xaacb7f=_0x4e2c6e;if(!this[_0xaacb7f(0x13b)][_0xaacb7f(0x14b)]||this[_0xaacb7f(0x100)])return;const _0x466819=this[_0xaacb7f(0x13b)][0x0][_0xaacb7f(0x13d)][_0xaacb7f(0x151)],_0x33bd0a=this[_0xaacb7f(0x14f)](_0x114e87,_0x466819);for(const _0x4cd31e of this[_0xaacb7f(0x13b)])_0x4cd31e[_0xaacb7f(0x139)][_0xaacb7f(0x136)]||_0x114e87[_0xaacb7f(0x148)](_0x4cd31e[_0xaacb7f(0x139)],_0x33bd0a,_0xaacb7f(0x111));this[_0xaacb7f(0x159)](_0x114e87);}[_0x4e2c6e(0x162)](_0x38e7ce,_0x15452b){const _0x5940e9=_0x4e2c6e;let _0x39a179=!0x1;const {inserted:_0x41c62b,removed:_0x229bea,moved:_0xdb1365}=this[_0x5940e9(0x149)][_0x5940e9(0x113)](_0x15452b);if(_0xdb1365[_0x5940e9(0x14b)]&&(this[_0x5940e9(0x100)]=_0xdb1365[0x0]),_0x41c62b[_0x5940e9(0x14b)]){if(_0x41c62b[_0x5940e9(0x14b)]>0x1||this[_0x5940e9(0x100)]&&_0x41c62b[_0x5940e9(0x106)](_0x2930cc=>_0x2930cc!==this[_0x5940e9(0x100)])){const _0x54e80d=_0x38e7ce[_0x5940e9(0x132)](_0x5940e9(0x109),{}),_0x1685ff=[];this[_0x5940e9(0x100)]&&_0x1685ff[_0x5940e9(0x11d)](this[_0x5940e9(0x100)]),_0x1685ff[_0x5940e9(0x11d)](..._0x41c62b),_0x38e7ce[_0x5940e9(0x148)](_0x54e80d,_0x1685ff[0x0],_0x5940e9(0x11c));for(const _0x1bb1c5 of _0x1685ff)_0x38e7ce[_0x5940e9(0x104)](_0x38e7ce[_0x5940e9(0x152)](_0x1bb1c5),_0x38e7ce[_0x5940e9(0x14d)](_0x54e80d,_0x5940e9(0x111))),_0x38e7ce[_0x5940e9(0x123)](_0x1bb1c5);this[_0x5940e9(0x100)]=_0x54e80d,this[_0x5940e9(0x159)](_0x38e7ce),_0x39a179=!0x0;}else this[_0x5940e9(0x100)]=_0x41c62b[0x0];}if(_0x229bea[_0x5940e9(0x14b)]&&_0x5940e9(0x118)===this[_0x5940e9(0x100)]?.[_0x5940e9(0x151)][_0x5940e9(0x130)]){for(const _0x26871c of this[_0x5940e9(0x13b)])_0x38e7ce[_0x5940e9(0x123)](_0x26871c[_0x5940e9(0x13d)]),_0x39a179=!0x0;this[_0x5940e9(0x13b)]=[],this[_0x5940e9(0x100)]=null;}return _0x39a179;}[_0x4e2c6e(0x157)](_0xdcd62d,_0x285d08){const _0x433c00=_0x4e2c6e;let _0x260548=!0x1;const _0x597657=this[_0x433c00(0x120)][_0x433c00(0x112)][_0x433c00(0x10f)](_0x433c00(0x143)),{inserted:_0x207e21,moved:_0x416aed}=this[_0x433c00(0x127)][_0x433c00(0x113)](_0x285d08);for(const _0x420d5b of[..._0x416aed,..._0x207e21]){const _0x46510e=_0x420d5b[_0x433c00(0x12d)](_0x433c00(0x13e)),_0x1a6af3=this[_0x433c00(0x10e)](_0x46510e);_0x1a6af3&&(_0x1a6af3[_0x433c00(0x139)]=_0x420d5b),_(_0xdcd62d,_0x597657,_0x420d5b)&&(_0x260548=!0x0);}return _0x260548;}[_0x4e2c6e(0x158)](_0x4e39f1,_0x60407b){const _0x167db3=_0x4e2c6e;let _0x40b075=!0x1;const {removed:_0x3e80c2,inserted:_0x590f71,moved:_0x2e1190}=this[_0x167db3(0x161)][_0x167db3(0x113)](_0x60407b);for(const _0x462b2b of _0x3e80c2)this[_0x167db3(0x15f)](_0x4e39f1,_0x462b2b)&&(_0x40b075=!0x0);for(const _0x1df92a of _0x590f71)this[_0x167db3(0x13c)](_0x4e39f1,_0x1df92a)&&(_0x40b075=!0x0);for(const _0x5936e9 of _0x2e1190)this[_0x167db3(0x137)](_0x4e39f1,_0x5936e9)&&(_0x40b075=!0x0);return _0x40b075;}[_0x4e2c6e(0x10a)](_0x15906f){const _0x43a430=_0x4e2c6e;if(!this[_0x43a430(0x100)])return!0x1;let _0x3203c2=!0x1;if(this[_0x43a430(0x100)][_0x43a430(0x15b)]!==this[_0x43a430(0x13b)][_0x43a430(0x14b)]){const _0x29303c=[];for(const _0x212037 of this[_0x43a430(0x100)][_0x43a430(0xff)]()){const _0x472af3=_0x212037[_0x43a430(0x12d)](_0x43a430(0x13e));this[_0x43a430(0x10e)](_0x472af3)||(_0x29303c[_0x43a430(0x101)](_0x212037),_0x3203c2=!0x0);}for(const _0xd96fc5 of _0x29303c)_0x15906f[_0x43a430(0x123)](_0xd96fc5);}const _0x5912e2=new Set(),_0x300021=[];for(const _0x5738e1 of this[_0x43a430(0x100)][_0x43a430(0xff)]()){const _0x3099ca=_0x5738e1[_0x43a430(0x12d)](_0x43a430(0x13e));_0x5912e2[_0x43a430(0x12a)](_0x3099ca)?(_0x300021[_0x43a430(0x101)](_0x5738e1),_0x3203c2=!0x0):_0x5912e2[_0x43a430(0x160)](_0x3099ca);}for(const _0x26bc7d of _0x300021)_0x15906f[_0x43a430(0x123)](_0x26bc7d);return this[_0x43a430(0x100)][_0x43a430(0x15b)]||(_0x15906f[_0x43a430(0x123)](this[_0x43a430(0x100)]),this[_0x43a430(0x100)]=null,_0x3203c2=!0x0),_0x3203c2;}[_0x4e2c6e(0x13c)](_0x25bdc2,_0x3bc866){const _0x5ecb40=_0x4e2c6e;if(this[_0x5ecb40(0x13b)][_0x5ecb40(0x124)](_0x36a636=>_0x36a636[_0x5ecb40(0x13d)]===_0x3bc866))return!0x1;let _0x333ec5=!0x1;const _0x21194b=_0x3bc866[_0x5ecb40(0x12d)](_0x5ecb40(0x13e)),_0x3c396c=this[_0x5ecb40(0x13b)][_0x5ecb40(0x121)](_0x2a43b4=>_0x2a43b4['id']===_0x21194b);-0x1!==_0x3c396c&&(_0x25bdc2[_0x5ecb40(0x123)](this[_0x5ecb40(0x13b)][_0x3c396c][_0x5ecb40(0x13d)]),this[_0x5ecb40(0x13b)][_0x5ecb40(0x10d)](_0x3c396c,0x1),_0x333ec5=!0x0);let _0x45a3be=this[_0x5ecb40(0x100)]?function(_0x4935c1,_0x3d615e){const _0x4b8a7e=_0x5ecb40;for(const _0x1868e1 of _0x4935c1[_0x4b8a7e(0xff)]())if(_0x1868e1[_0x4b8a7e(0x12d)](_0x4b8a7e(0x13e))===_0x3d615e)return _0x1868e1;return null;}(this[_0x5ecb40(0x100)],_0x21194b):null;_0x45a3be||(_0x45a3be=_0x25bdc2[_0x5ecb40(0x132)](_0x5ecb40(0x11e),{'footnoteId':_0x21194b}),this[_0x5ecb40(0x100)]&&(_0x25bdc2[_0x5ecb40(0x148)](_0x45a3be,this[_0x5ecb40(0x100)],_0x5ecb40(0x111)),_0x333ec5=!0x0));const _0x700dbe={'id':_0x21194b,'reference':_0x3bc866,'definition':_0x45a3be},_0x34112a=I(this[_0x5ecb40(0x120)][_0x5ecb40(0x15d)],this[_0x5ecb40(0x13b)],_0x3bc866);this[_0x5ecb40(0x13b)][_0x5ecb40(0x10d)](_0x34112a,0x0,_0x700dbe);let _0x3acae5=_0x34112a;return-0x1!==_0x3c396c&&(_0x3acae5=Math[_0x5ecb40(0x11a)](_0x34112a,_0x3c396c)),this[_0x5ecb40(0x159)](_0x25bdc2,_0x3acae5)&&(_0x333ec5=!0x0),_0x333ec5;}[_0x4e2c6e(0x15f)](_0x770b45,_0x40fbdb){const _0x38b6d3=_0x4e2c6e,_0x399ba5=this[_0x38b6d3(0x13b)][_0x38b6d3(0x121)](_0x58961c=>_0x58961c['id']===_0x40fbdb);if(-0x1===_0x399ba5)return!0x1;let _0x16b358=!0x1;const _0x3be94a=this[_0x38b6d3(0x13b)][_0x399ba5];return _0x38b6d3(0x118)!==_0x3be94a[_0x38b6d3(0x139)][_0x38b6d3(0x151)][_0x38b6d3(0x130)]&&(_0x770b45[_0x38b6d3(0x123)](_0x3be94a[_0x38b6d3(0x139)]),_0x16b358=!0x0),this[_0x38b6d3(0x13b)][_0x38b6d3(0x10d)](_0x399ba5,0x1),this[_0x38b6d3(0x159)](_0x770b45,_0x399ba5)&&(_0x16b358=!0x0),_0x16b358;}[_0x4e2c6e(0x137)](_0x73d056,_0x3c51d8){const _0x5a1d70=_0x4e2c6e,_0x289623=_0x3c51d8[_0x5a1d70(0x12d)](_0x5a1d70(0x13e)),_0x717c7a=this[_0x5a1d70(0x13b)][_0x5a1d70(0x121)](_0x115728=>_0x115728['id']===_0x289623),_0x11e160=this[_0x5a1d70(0x13b)][_0x717c7a];let _0xb42370=!0x1;_0x11e160[_0x5a1d70(0x13d)]=_0x3c51d8,this[_0x5a1d70(0x13b)][_0x5a1d70(0x10d)](_0x717c7a,0x1);const _0x9ff6f8=I(this[_0x5a1d70(0x120)][_0x5a1d70(0x15d)],this[_0x5a1d70(0x13b)],_0x3c51d8);return this[_0x5a1d70(0x13b)][_0x5a1d70(0x10d)](_0x9ff6f8,0x0,_0x11e160),this[_0x5a1d70(0x159)](_0x73d056,Math[_0x5a1d70(0x11a)](_0x717c7a,_0x9ff6f8))&&(_0xb42370=!0x0),_0xb42370;}[_0x4e2c6e(0x102)](_0x4096db,_0x33c9b4){const _0x3a8561=_0x4e2c6e;if(!this[_0x3a8561(0x100)])return!0x1;const _0x466f74=this[_0x3a8561(0x13b)][_0x33c9b4];let _0x46824c;return _0x46824c=this[_0x3a8561(0x141)]?this[_0x3a8561(0x141)]({'footnote':_0x466f74,'container':this[_0x3a8561(0x100)],'digits':String(this[_0x3a8561(0x13b)][_0x3a8561(0x14b)])[_0x3a8561(0x14b)],'value':_0x33c9b4+0x1}):String(_0x33c9b4+0x1),_0x466f74[_0x3a8561(0x13d)][_0x3a8561(0x12d)](_0x3a8561(0x155))!=_0x46824c&&(_0x4096db[_0x3a8561(0x133)](_0x3a8561(0x155),_0x46824c,_0x466f74[_0x3a8561(0x13d)]),!0x0);}[_0x4e2c6e(0x15a)](_0x306a81){const _0xddf4fe=_0x4e2c6e;if(!this[_0xddf4fe(0x100)]||this[_0xddf4fe(0x13b)][_0xddf4fe(0x14b)]<0x2)return!0x1;if(function(_0x5d4714,_0x459717){const _0x16a622=_0xddf4fe;if(_0x5d4714[_0x16a622(0x14b)]!==_0x459717[_0x16a622(0x14b)])return!0x1;for(let _0xc1bf9e=0x0;_0xc1bf9e<_0x5d4714[_0x16a622(0x14b)];_0xc1bf9e++)if(_0x5d4714[_0xc1bf9e]!==_0x459717[_0xc1bf9e])return!0x1;return!0x0;}(this[_0xddf4fe(0x13b)][_0xddf4fe(0x10c)](_0x4ca976=>_0x4ca976['id']),Array[_0xddf4fe(0x117)](this[_0xddf4fe(0x100)][_0xddf4fe(0xff)]())[_0xddf4fe(0x10c)](_0x5e2f56=>_0x5e2f56[_0xddf4fe(0x12d)](_0xddf4fe(0x13e)))))return!0x1;let _0x24c8af=!0x1;for(let _0x3d2dd9=0x0;_0x3d2dd9<this[_0xddf4fe(0x13b)][_0xddf4fe(0x14b)];_0x3d2dd9++){const _0x215d12=this[_0xddf4fe(0x13b)][_0x3d2dd9],_0x1c7c7a=_0x306a81[_0xddf4fe(0x14e)](_0x215d12[_0xddf4fe(0x139)]),_0x3070d5=_0x306a81[_0xddf4fe(0x14d)](this[_0xddf4fe(0x100)],_0x3d2dd9);_0x1c7c7a[_0xddf4fe(0x108)](_0x3070d5)||(_0x306a81[_0xddf4fe(0x104)](_0x306a81[_0xddf4fe(0x12b)](_0x215d12[_0xddf4fe(0x139)]),_0x3070d5),_0x24c8af=!0x0);}return _0x24c8af;}[_0x4e2c6e(0x163)](_0x506295){const _0x1efe97=_0x4e2c6e;if(!this[_0x1efe97(0x13b)][_0x1efe97(0x14b)])return!0x1;const {model:_0x3e55d2}=this[_0x1efe97(0x120)];let _0x83f1e3=!0x1;for(let _0x153457=0x0;_0x153457<this[_0x1efe97(0x13b)][_0x1efe97(0x14b)]-0x1;_0x153457++){const _0x349bf1=this[_0x1efe97(0x13b)][_0x153457],_0x2f7685=this[_0x1efe97(0x13b)][_0x153457+0x1],_0x4d1255=_0x3e55d2[_0x1efe97(0x14e)](_0x349bf1[_0x1efe97(0x13d)]),_0x462383=_0x3e55d2[_0x1efe97(0x14e)](_0x2f7685[_0x1efe97(0x13d)]);_0x1efe97(0x140)===_0x4d1255[_0x1efe97(0x12f)](_0x462383)&&(this[_0x1efe97(0x137)](_0x506295,_0x349bf1[_0x1efe97(0x13d)]),_0x153457=-0x1,_0x83f1e3=!0x0);}return _0x83f1e3;}}function _(_0x232fcc,_0x29f551,_0x5b81cf){const _0x160ca3=_0x4e2c6e;if(_0x5b81cf[_0x160ca3(0x15b)])return!0x1;const _0x16496a=_0x29f551?_0x160ca3(0x13f):_0x160ca3(0x114);return _0x232fcc[_0x160ca3(0x148)](_0x232fcc[_0x160ca3(0x132)](_0x16496a),_0x5b81cf),!0x0;}function _0x5c9b(){const _0x4a2403=['_ensureFootnotesReferencesHaveProperOrder','low','getChildren','_footnotesDefinitions','unshift','_updateFootnoteRefCounter','getFootnotesDefinitionsObjectElement','move','8875720UsCVwx','some','isPremiumPlugin','isEqual','footnotesDefinitions','_handleFootnotesDefinitionsObjectSync','change:data','map','splice','getFootnote','get','reset','end','config','getChanges','footnoteInlineContent','12755850MtmGqr','getFootnotesFormatter','from','$graveyard','9UKZqYh','min','10606013UlUqLc','before','push','footnoteDefinition','_ensureFootnotesDefinitionsContainerExists','editor','findIndex','5026761GktKwP','remove','find','getFootnotes','isOfficialPlugin','_footnoteDefsTracker','footnoteRef','init','has','createRangeOn','listenTo','getAttribute','3413cTdzPj','compareWith','rootName','set','createElement','setAttribute','append','enqueueChange','parent','_handleMovedFootnoteReference','getRootNames','definition','6VkZHRL','_footnotes','_handleInsertedFootnoteReference','reference','footnoteId','paragraph','after','_footnoteFormatter','singleton','footnotes.multiBlock','FootnotesTracker','document','4006348cHnKyd','4297695VgueSJ','insert','_footnoteDefsContainerTracker','8meEuhT','length','registerPostFixer','createPositionAt','createPositionBefore','_insertEmptyFootnotesDefinitionsContainer','indexOf','root','createRangeIn','setFootnoteFormatter','differ','footnoteCounter','pluginName','_handleFootnoteDefinitionsChanges','_handleFootnoteReferencesChanges','_updateFootnotesCounters','_sortFootnoteDefinitions','childCount','high','model','50KwUOdh','_handleRemoveFootnoteReferenceById','add','_footnoteRefsTracker','_handleFootnotesDefinitionsObjectChanges'];_0x5c9b=function(){return _0x4a2403;};return _0x5c9b();}function I(_0x4896cc,_0x3de19b,_0x6ab6d6){const _0x4c163c=_0x4e2c6e;if(0x0===_0x3de19b[_0x4c163c(0x14b)])return 0x0;const _0x546d4d=_0x4896cc[_0x4c163c(0x14e)](_0x6ab6d6);for(let _0x16ed74=0x0;_0x16ed74<_0x3de19b[_0x4c163c(0x14b)];_0x16ed74++){const _0x10837b=_0x3de19b[_0x16ed74],_0x5205a5=_0x4896cc[_0x4c163c(0x14e)](_0x10837b[_0x4c163c(0x13d)]);if(_0x4c163c(0x11c)===_0x546d4d[_0x4c163c(0x12f)](_0x5205a5))return _0x16ed74;}const _0x31b9b0=_0x6ab6d6[_0x4c163c(0x151)];let _0x1204bb=-0x1;for(let _0x5acb4c=_0x3de19b[_0x4c163c(0x14b)]-0x1;_0x5acb4c>=0x0;_0x5acb4c--)if(_0x3de19b[_0x5acb4c][_0x4c163c(0x13d)][_0x4c163c(0x151)]===_0x31b9b0){_0x1204bb=_0x5acb4c;break;}if(-0x1!==_0x1204bb)return _0x1204bb+0x1;const _0x15daf2=_0x4896cc[_0x4c163c(0x145)][_0x4c163c(0x138)](),_0x5badb4=_0x15daf2[_0x4c163c(0x150)](_0x31b9b0[_0x4c163c(0x130)]),_0x27102e=_0x15daf2[_0x5badb4+0x1];if(_0x27102e){for(let _0x21004e=0x0;_0x21004e<_0x3de19b[_0x4c163c(0x14b)];_0x21004e++)if(_0x3de19b[_0x21004e][_0x4c163c(0x13d)][_0x4c163c(0x151)][_0x4c163c(0x130)]===_0x27102e)return _0x21004e;}return _0x3de19b[_0x4c163c(0x14b)];}
|
|
23
|
+
const _0x2dba79=_0x71ac;(function(_0x4739a7,_0xb532b){const _0x2cb739=_0x71ac,_0x187225=_0x4739a7();while(!![]){try{const _0x315b27=parseInt(_0x2cb739(0xc7))/0x1*(parseInt(_0x2cb739(0xef))/0x2)+parseInt(_0x2cb739(0xa3))/0x3+parseInt(_0x2cb739(0x97))/0x4*(parseInt(_0x2cb739(0x94))/0x5)+parseInt(_0x2cb739(0xdd))/0x6*(-parseInt(_0x2cb739(0xc0))/0x7)+parseInt(_0x2cb739(0xbe))/0x8+parseInt(_0x2cb739(0xa5))/0x9*(parseInt(_0x2cb739(0x93))/0xa)+-parseInt(_0x2cb739(0xf4))/0xb;if(_0x315b27===_0xb532b)break;else _0x187225['push'](_0x187225['shift']());}catch(_0x4f1607){_0x187225['push'](_0x187225['shift']());}}}(_0x3a07,0x43319));import{Plugin as _0x1bb33c}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x41d399}from'./modelelementtracker.js';function _0x71ac(_0x388695,_0x17cd10){const _0x3a0752=_0x3a07();return _0x71ac=function(_0x71aca7,_0x57045b){_0x71aca7=_0x71aca7-0x92;let _0x3936c4=_0x3a0752[_0x71aca7];return _0x3936c4;},_0x71ac(_0x388695,_0x17cd10);}export class FootnotesTracker extends _0x1bb33c{[_0x2dba79(0x9b)]=[];[_0x2dba79(0xf1)]=null;[_0x2dba79(0xa1)]=null;[_0x2dba79(0xae)];[_0x2dba79(0xa0)];[_0x2dba79(0xe9)];static get[_0x2dba79(0xa6)](){const _0x1733e3=_0x2dba79;return _0x1733e3(0x9d);}static get[_0x2dba79(0xe7)](){return!0x0;}static get[_0x2dba79(0xbd)](){return!0x0;}constructor(_0x101803){const _0x36f511=_0x2dba79;super(_0x101803),this[_0x36f511(0xae)]=new _0x41d399(this[_0x36f511(0xb9)][_0x36f511(0xcf)],{'elementName':_0x36f511(0xd3),'getElementKey':()=>_0x36f511(0x92)}),this[_0x36f511(0xa0)]=new _0x41d399(this[_0x36f511(0xb9)][_0x36f511(0xcf)],{'elementName':_0x36f511(0xf2),'getElementKey':_0x306fdf=>_0x306fdf[_0x36f511(0xa8)](_0x36f511(0xc3))}),this[_0x36f511(0xe9)]=new _0x41d399(this[_0x36f511(0xb9)][_0x36f511(0xcf)],{'elementName':_0x36f511(0xbb),'getElementKey':_0x406426=>_0x406426[_0x36f511(0xa8)](_0x36f511(0xc3))});}[_0x2dba79(0xeb)](){const _0x1ff892=_0x2dba79,{editor:_0x12abcd}=this,{model:_0x245f13,data:_0x548c15}=_0x12abcd;_0x245f13[_0x1ff892(0xca)][_0x1ff892(0xdc)](_0x39b59f=>{const _0x57cc8b=_0x1ff892,_0xd4d612=_0x245f13[_0x57cc8b(0xca)][_0x57cc8b(0xe0)][_0x57cc8b(0xba)]();let _0x1d6f86=!0x1;return this[_0x57cc8b(0xe5)](_0x39b59f,_0xd4d612)&&(_0x1d6f86=!0x0),this[_0x57cc8b(0xed)](_0x39b59f,_0xd4d612)&&(_0x1d6f86=!0x0),this[_0x57cc8b(0xf3)](_0x39b59f,_0xd4d612)&&(_0x1d6f86=!0x0),this[_0x57cc8b(0x96)](_0x39b59f)&&(_0x1d6f86=!0x0),this[_0x57cc8b(0x98)](_0x39b59f)&&(_0x1d6f86=!0x0),this[_0x57cc8b(0xcb)](_0x39b59f)&&(_0x1d6f86=!0x0),_0x1d6f86;}),this[_0x1ff892(0xd0)](_0x245f13[_0x1ff892(0xca)],_0x1ff892(0xc8),()=>{const _0x39536=_0x1ff892;_0x245f13[_0x39536(0xc2)]({'isUndoable':!0x1},_0x2c3b4d=>{const _0x73eae9=_0x39536;this[_0x73eae9(0xd6)](_0x2c3b4d);});},{'priority':_0x1ff892(0x9c)}),this[_0x1ff892(0xd0)](_0x548c15,_0x1ff892(0xac),()=>{const _0x22fdc3=_0x1ff892;this[_0x22fdc3(0x9b)]=[],this[_0x22fdc3(0xae)][_0x22fdc3(0xe1)](),this[_0x22fdc3(0xa0)][_0x22fdc3(0xe1)](),this[_0x22fdc3(0xe9)][_0x22fdc3(0xe1)]();},{'priority':_0x1ff892(0xd8)});}[_0x2dba79(0xa2)](){const _0x5e87ea=_0x2dba79;return this[_0x5e87ea(0xf1)];}[_0x2dba79(0x9e)](_0x241f44){const _0x1a078a=_0x2dba79;return this[_0x1a078a(0x9b)][_0x1a078a(0xe2)](_0x13a319=>_0x13a319['id']===_0x241f44)||null;}[_0x2dba79(0xa7)](){const _0xdca349=_0x2dba79;return Array[_0xdca349(0xd4)](this[_0xdca349(0x9b)]);}[_0x2dba79(0xd7)](){const _0x161f24=_0x2dba79;return this[_0x161f24(0xa1)];}[_0x2dba79(0xd2)](_0xe79aa3){const _0x3812c9=_0x2dba79;this[_0x3812c9(0xa1)]=_0xe79aa3;}[_0x2dba79(0xec)](_0x118a07,_0x45924f=0x0){const _0x1c6826=_0x2dba79;let _0x165b9c=!0x1;for(let _0x3c0e96=_0x45924f;_0x3c0e96<this[_0x1c6826(0x9b)][_0x1c6826(0xc6)];_0x3c0e96++)this[_0x1c6826(0xc1)](_0x118a07,_0x3c0e96)&&(_0x165b9c=!0x0);return _0x165b9c;}[_0x2dba79(0x9f)](_0x377788,_0x47776f){const _0x267799=_0x2dba79,_0x511a5b=_0x377788[_0x267799(0xb3)](_0x267799(0xd3),{});return _0x377788[_0x267799(0xb7)](_0x511a5b,_0x47776f),this[_0x267799(0xf1)]=_0x511a5b,_0x511a5b;}[_0x2dba79(0xd6)](_0x21c2ff){const _0x4eadb0=_0x2dba79;if(!this[_0x4eadb0(0x9b)][_0x4eadb0(0xc6)]||this[_0x4eadb0(0xf1)])return;const _0x143de3=this[_0x4eadb0(0x9b)][0x0][_0x4eadb0(0xaa)][_0x4eadb0(0xdb)],_0x154553=this[_0x4eadb0(0x9f)](_0x21c2ff,_0x143de3);for(const _0x4935af of this[_0x4eadb0(0x9b)])_0x4935af[_0x4eadb0(0xb6)][_0x4eadb0(0xb5)]||_0x21c2ff[_0x4eadb0(0xaf)](_0x4935af[_0x4eadb0(0xb6)],_0x154553,_0x4eadb0(0x99));this[_0x4eadb0(0xec)](_0x21c2ff);}[_0x2dba79(0xe5)](_0x30ed6b,_0x3e8a0f){const _0x2b2e4b=_0x2dba79;let _0x5b25a2=!0x1;const {inserted:_0x1451fb,removed:_0x18bbf1,moved:_0xbac762}=this[_0x2b2e4b(0xae)][_0x2b2e4b(0xba)](_0x3e8a0f);if(_0xbac762[_0x2b2e4b(0xc6)]&&(this[_0x2b2e4b(0xf1)]=_0xbac762[0x0]),_0x1451fb[_0x2b2e4b(0xc6)]){if(_0x1451fb[_0x2b2e4b(0xc6)]>0x1||this[_0x2b2e4b(0xf1)]&&_0x1451fb[_0x2b2e4b(0xa9)](_0x236c99=>_0x236c99!==this[_0x2b2e4b(0xf1)])){const _0x5e4422=_0x30ed6b[_0x2b2e4b(0xb3)](_0x2b2e4b(0xd3),{}),_0x1e9c84=[];this[_0x2b2e4b(0xf1)]&&_0x1e9c84[_0x2b2e4b(0xde)](this[_0x2b2e4b(0xf1)]),_0x1e9c84[_0x2b2e4b(0xde)](..._0x1451fb),_0x30ed6b[_0x2b2e4b(0xaf)](_0x5e4422,_0x1e9c84[0x0],_0x2b2e4b(0xcc));for(const _0x39c41f of _0x1e9c84)_0x30ed6b[_0x2b2e4b(0xe8)](_0x30ed6b[_0x2b2e4b(0xb0)](_0x39c41f),_0x30ed6b[_0x2b2e4b(0xb2)](_0x5e4422,_0x2b2e4b(0x99))),_0x30ed6b[_0x2b2e4b(0x95)](_0x39c41f);this[_0x2b2e4b(0xf1)]=_0x5e4422,this[_0x2b2e4b(0xec)](_0x30ed6b),_0x5b25a2=!0x0;}else this[_0x2b2e4b(0xf1)]=_0x1451fb[0x0];}if(_0x18bbf1[_0x2b2e4b(0xc6)]&&_0x2b2e4b(0xc9)===this[_0x2b2e4b(0xf1)]?.[_0x2b2e4b(0xdb)][_0x2b2e4b(0xd5)]){for(const _0x2b5448 of this[_0x2b2e4b(0x9b)])_0x30ed6b[_0x2b2e4b(0x95)](_0x2b5448[_0x2b2e4b(0xaa)]),_0x5b25a2=!0x0;this[_0x2b2e4b(0x9b)]=[],this[_0x2b2e4b(0xf1)]=null;}return _0x5b25a2;}[_0x2dba79(0xed)](_0x5e4a4b,_0x13bb80){const _0x5d0dbd=_0x2dba79;let _0x4b21a4=!0x1;const _0x1570cd=this[_0x5d0dbd(0xb9)][_0x5d0dbd(0xee)][_0x5d0dbd(0xa4)](_0x5d0dbd(0xf7)),{inserted:_0xa95de5,moved:_0x317b21}=this[_0x5d0dbd(0xe9)][_0x5d0dbd(0xba)](_0x13bb80);for(const _0x4af04e of[..._0x317b21,..._0xa95de5]){const _0x21cb57=_0x4af04e[_0x5d0dbd(0xa8)](_0x5d0dbd(0xc3)),_0x15c64e=this[_0x5d0dbd(0x9e)](_0x21cb57);_0x15c64e&&(_0x15c64e[_0x5d0dbd(0xb6)]=_0x4af04e),_(_0x5e4a4b,_0x1570cd,_0x4af04e)&&(_0x4b21a4=!0x0);}return _0x4b21a4;}[_0x2dba79(0xf3)](_0x358b0c,_0x41ae4b){const _0x54dc25=_0x2dba79;let _0x5821c1=!0x1;const {removed:_0x2d4f79,inserted:_0x414d20,moved:_0x45c776}=this[_0x54dc25(0xa0)][_0x54dc25(0xba)](_0x41ae4b);for(const _0x4e7b73 of _0x2d4f79)this[_0x54dc25(0xd1)](_0x358b0c,_0x4e7b73)&&(_0x5821c1=!0x0);for(const _0x17667c of _0x414d20)this[_0x54dc25(0xdf)](_0x358b0c,_0x17667c)&&(_0x5821c1=!0x0);for(const _0x3fc831 of _0x45c776)this[_0x54dc25(0xda)](_0x358b0c,_0x3fc831)&&(_0x5821c1=!0x0);return _0x5821c1;}[_0x2dba79(0x98)](_0x5e7753){const _0x451b2f=_0x2dba79;if(!this[_0x451b2f(0xf1)])return!0x1;let _0x2bc1ae=!0x1;if(this[_0x451b2f(0xf1)][_0x451b2f(0xbf)]!==this[_0x451b2f(0x9b)][_0x451b2f(0xc6)]){const _0x59708d=[];for(const _0xc02349 of this[_0x451b2f(0xf1)][_0x451b2f(0xe6)]()){const _0x9d3123=_0xc02349[_0x451b2f(0xa8)](_0x451b2f(0xc3));this[_0x451b2f(0x9e)](_0x9d3123)||(_0x59708d[_0x451b2f(0x9a)](_0xc02349),_0x2bc1ae=!0x0);}for(const _0xe77dbc of _0x59708d)_0x5e7753[_0x451b2f(0x95)](_0xe77dbc);}const _0x2c23c7=new Set(),_0x4e47db=[];for(const _0x1e5862 of this[_0x451b2f(0xf1)][_0x451b2f(0xe6)]()){const _0x15c16e=_0x1e5862[_0x451b2f(0xa8)](_0x451b2f(0xc3));_0x2c23c7[_0x451b2f(0xb4)](_0x15c16e)?(_0x4e47db[_0x451b2f(0x9a)](_0x1e5862),_0x2bc1ae=!0x0):_0x2c23c7[_0x451b2f(0xbc)](_0x15c16e);}for(const _0xf40d49 of _0x4e47db)_0x5e7753[_0x451b2f(0x95)](_0xf40d49);return this[_0x451b2f(0xf1)][_0x451b2f(0xbf)]||(_0x5e7753[_0x451b2f(0x95)](this[_0x451b2f(0xf1)]),this[_0x451b2f(0xf1)]=null,_0x2bc1ae=!0x0),_0x2bc1ae;}[_0x2dba79(0xdf)](_0x5e03da,_0x5e78e0){const _0xbaa08a=_0x2dba79;if(this[_0xbaa08a(0x9b)][_0xbaa08a(0xe2)](_0x5d4e82=>_0x5d4e82[_0xbaa08a(0xaa)]===_0x5e78e0))return!0x1;let _0x1d356e=!0x1;const _0x276119=_0x5e78e0[_0xbaa08a(0xa8)](_0xbaa08a(0xc3)),_0xe554e=this[_0xbaa08a(0x9b)][_0xbaa08a(0xd9)](_0x3e1181=>_0x3e1181['id']===_0x276119);-0x1!==_0xe554e&&(_0x5e03da[_0xbaa08a(0x95)](this[_0xbaa08a(0x9b)][_0xe554e][_0xbaa08a(0xaa)]),this[_0xbaa08a(0x9b)][_0xbaa08a(0xb8)](_0xe554e,0x1),_0x1d356e=!0x0);let _0x1e4371=this[_0xbaa08a(0xf1)]?function(_0x16c3c8,_0x4078ee){const _0x9cb5a3=_0xbaa08a;for(const _0x42331e of _0x16c3c8[_0x9cb5a3(0xe6)]())if(_0x42331e[_0x9cb5a3(0xa8)](_0x9cb5a3(0xc3))===_0x4078ee)return _0x42331e;return null;}(this[_0xbaa08a(0xf1)],_0x276119):null;_0x1e4371||(_0x1e4371=_0x5e03da[_0xbaa08a(0xb3)](_0xbaa08a(0xbb),{'footnoteId':_0x276119}),this[_0xbaa08a(0xf1)]&&(_0x5e03da[_0xbaa08a(0xaf)](_0x1e4371,this[_0xbaa08a(0xf1)],_0xbaa08a(0x99)),_0x1d356e=!0x0));const _0x3657cf={'id':_0x276119,'reference':_0x5e78e0,'definition':_0x1e4371},_0x50fdd2=I(this[_0xbaa08a(0xb9)][_0xbaa08a(0xcf)],this[_0xbaa08a(0x9b)],_0x5e78e0);this[_0xbaa08a(0x9b)][_0xbaa08a(0xb8)](_0x50fdd2,0x0,_0x3657cf);let _0x422525=_0x50fdd2;return-0x1!==_0xe554e&&(_0x422525=Math[_0xbaa08a(0xea)](_0x50fdd2,_0xe554e)),this[_0xbaa08a(0xec)](_0x5e03da,_0x422525)&&(_0x1d356e=!0x0),_0x1d356e;}[_0x2dba79(0xd1)](_0x147076,_0x17b9cd){const _0x29a168=_0x2dba79,_0x10845c=this[_0x29a168(0x9b)][_0x29a168(0xd9)](_0x463489=>_0x463489['id']===_0x17b9cd);if(-0x1===_0x10845c)return!0x1;let _0x16f040=!0x1;const _0x2cc68b=this[_0x29a168(0x9b)][_0x10845c];return _0x29a168(0xc9)!==_0x2cc68b[_0x29a168(0xb6)][_0x29a168(0xdb)][_0x29a168(0xd5)]&&(_0x147076[_0x29a168(0x95)](_0x2cc68b[_0x29a168(0xb6)]),_0x16f040=!0x0),this[_0x29a168(0x9b)][_0x29a168(0xb8)](_0x10845c,0x1),this[_0x29a168(0xec)](_0x147076,_0x10845c)&&(_0x16f040=!0x0),_0x16f040;}[_0x2dba79(0xda)](_0x5c0e67,_0x12fdeb){const _0x4c46e3=_0x2dba79,_0x6dc6c0=_0x12fdeb[_0x4c46e3(0xa8)](_0x4c46e3(0xc3)),_0x4d6f87=this[_0x4c46e3(0x9b)][_0x4c46e3(0xd9)](_0x4aab60=>_0x4aab60['id']===_0x6dc6c0),_0xbc8154=this[_0x4c46e3(0x9b)][_0x4d6f87];let _0x1f95ae=!0x1;_0xbc8154[_0x4c46e3(0xaa)]=_0x12fdeb,this[_0x4c46e3(0x9b)][_0x4c46e3(0xb8)](_0x4d6f87,0x1);const _0x16db7f=I(this[_0x4c46e3(0xb9)][_0x4c46e3(0xcf)],this[_0x4c46e3(0x9b)],_0x12fdeb);return this[_0x4c46e3(0x9b)][_0x4c46e3(0xb8)](_0x16db7f,0x0,_0xbc8154),this[_0x4c46e3(0xec)](_0x5c0e67,Math[_0x4c46e3(0xea)](_0x4d6f87,_0x16db7f))&&(_0x1f95ae=!0x0),_0x1f95ae;}[_0x2dba79(0xc1)](_0x11efae,_0x4d0d5a){const _0x1055c2=_0x2dba79;if(!this[_0x1055c2(0xf1)])return!0x1;const _0x57a947=this[_0x1055c2(0x9b)][_0x4d0d5a];let _0x56d108;return _0x56d108=this[_0x1055c2(0xa1)]?this[_0x1055c2(0xa1)]({'footnote':_0x57a947,'container':this[_0x1055c2(0xf1)],'digits':String(this[_0x1055c2(0x9b)][_0x1055c2(0xc6)])[_0x1055c2(0xc6)],'value':_0x4d0d5a+0x1}):String(_0x4d0d5a+0x1),_0x57a947[_0x1055c2(0xaa)][_0x1055c2(0xa8)](_0x1055c2(0xf5))!=_0x56d108&&(_0x11efae[_0x1055c2(0xab)](_0x1055c2(0xf5),_0x56d108,_0x57a947[_0x1055c2(0xaa)]),!0x0);}[_0x2dba79(0xcb)](_0x5f5173){const _0x41e31f=_0x2dba79;if(!this[_0x41e31f(0xf1)]||this[_0x41e31f(0x9b)][_0x41e31f(0xc6)]<0x2)return!0x1;if(function(_0x418e56,_0x26591f){const _0x38274e=_0x41e31f;if(_0x418e56[_0x38274e(0xc6)]!==_0x26591f[_0x38274e(0xc6)])return!0x1;for(let _0x24296d=0x0;_0x24296d<_0x418e56[_0x38274e(0xc6)];_0x24296d++)if(_0x418e56[_0x24296d]!==_0x26591f[_0x24296d])return!0x1;return!0x0;}(this[_0x41e31f(0x9b)][_0x41e31f(0xb1)](_0x5d6c89=>_0x5d6c89['id']),Array[_0x41e31f(0xd4)](this[_0x41e31f(0xf1)][_0x41e31f(0xe6)]())[_0x41e31f(0xb1)](_0x3222af=>_0x3222af[_0x41e31f(0xa8)](_0x41e31f(0xc3)))))return!0x1;let _0x16b4fc=!0x1;for(let _0xb5a087=0x0;_0xb5a087<this[_0x41e31f(0x9b)][_0x41e31f(0xc6)];_0xb5a087++){const _0x4be846=this[_0x41e31f(0x9b)][_0xb5a087],_0x27fd09=_0x5f5173[_0x41e31f(0xf0)](_0x4be846[_0x41e31f(0xb6)]),_0x3bc41e=_0x5f5173[_0x41e31f(0xb2)](this[_0x41e31f(0xf1)],_0xb5a087);_0x27fd09[_0x41e31f(0xf6)](_0x3bc41e)||(_0x5f5173[_0x41e31f(0xe8)](_0x5f5173[_0x41e31f(0xe3)](_0x4be846[_0x41e31f(0xb6)]),_0x3bc41e),_0x16b4fc=!0x0);}return _0x16b4fc;}[_0x2dba79(0x96)](_0x2791ed){const _0xe00e6d=_0x2dba79;if(!this[_0xe00e6d(0x9b)][_0xe00e6d(0xc6)])return!0x1;const {model:_0x2cdda6}=this[_0xe00e6d(0xb9)];let _0x599f21=!0x1;for(let _0x9070ec=0x0;_0x9070ec<this[_0xe00e6d(0x9b)][_0xe00e6d(0xc6)]-0x1;_0x9070ec++){const _0x2f1350=this[_0xe00e6d(0x9b)][_0x9070ec],_0x65fbce=this[_0xe00e6d(0x9b)][_0x9070ec+0x1],_0x255b14=_0x2cdda6[_0xe00e6d(0xf0)](_0x2f1350[_0xe00e6d(0xaa)]),_0x41afd2=_0x2cdda6[_0xe00e6d(0xf0)](_0x65fbce[_0xe00e6d(0xaa)]);_0xe00e6d(0xce)===_0x255b14[_0xe00e6d(0xe4)](_0x41afd2)&&(this[_0xe00e6d(0xda)](_0x2791ed,_0x2f1350[_0xe00e6d(0xaa)]),_0x9070ec=-0x1,_0x599f21=!0x0);}return _0x599f21;}}function _0x3a07(){const _0x402b90=['14twTtZJ','createPositionBefore','_footnotesDefinitions','footnoteRef','_handleFootnoteReferencesChanges','16097092KysFan','footnoteCounter','isEqual','footnotes.multiBlock','singleton','20MWigXC','2154935vvHtvy','remove','_ensureFootnotesReferencesHaveProperOrder','4aQfFRA','_handleFootnotesDefinitionsObjectSync','end','unshift','_footnotes','low','FootnotesTracker','getFootnote','_insertEmptyFootnotesDefinitionsContainer','_footnoteRefsTracker','_footnoteFormatter','getFootnotesDefinitionsObjectElement','946047GZFLfV','get','1688373pHtiWE','pluginName','getFootnotes','getAttribute','some','reference','setAttribute','set','paragraph','_footnoteDefsContainerTracker','insert','createRangeIn','map','createPositionAt','createElement','has','parent','definition','append','splice','editor','getChanges','footnoteDefinition','add','isPremiumPlugin','2529528cfFjQt','childCount','690641zRWozT','_updateFootnoteRefCounter','enqueueChange','footnoteId','getRootNames','indexOf','length','57077uEAtkd','change:data','$graveyard','document','_sortFootnoteDefinitions','before','footnoteInlineContent','after','model','listenTo','_handleRemoveFootnoteReferenceById','setFootnoteFormatter','footnotesDefinitions','from','rootName','_ensureFootnotesDefinitionsContainerExists','getFootnotesFormatter','high','findIndex','_handleMovedFootnoteReference','root','registerPostFixer','6rikobx','push','_handleInsertedFootnoteReference','differ','reset','find','createRangeOn','compareWith','_handleFootnotesDefinitionsObjectChanges','getChildren','isOfficialPlugin','move','_footnoteDefsTracker','min','init','_updateFootnotesCounters','_handleFootnoteDefinitionsChanges','config'];_0x3a07=function(){return _0x402b90;};return _0x3a07();}function _(_0x5752a8,_0x1c1656,_0x473c14){const _0x28d067=_0x2dba79;if(_0x473c14[_0x28d067(0xbf)])return!0x1;const _0x5adb91=_0x1c1656?_0x28d067(0xad):_0x28d067(0xcd);return _0x5752a8[_0x28d067(0xaf)](_0x5752a8[_0x28d067(0xb3)](_0x5adb91),_0x473c14),!0x0;}function I(_0x494357,_0x48cfbe,_0x40ee60){const _0x1768eb=_0x2dba79;if(0x0===_0x48cfbe[_0x1768eb(0xc6)])return 0x0;const _0x146d19=_0x494357[_0x1768eb(0xf0)](_0x40ee60);for(let _0x4931b1=0x0;_0x4931b1<_0x48cfbe[_0x1768eb(0xc6)];_0x4931b1++){const _0x17b011=_0x48cfbe[_0x4931b1],_0x6f446f=_0x494357[_0x1768eb(0xf0)](_0x17b011[_0x1768eb(0xaa)]);if(_0x1768eb(0xcc)===_0x146d19[_0x1768eb(0xe4)](_0x6f446f))return _0x4931b1;}const _0x1fbc7c=_0x40ee60[_0x1768eb(0xdb)];let _0x420a39=-0x1;for(let _0x1843da=_0x48cfbe[_0x1768eb(0xc6)]-0x1;_0x1843da>=0x0;_0x1843da--)if(_0x48cfbe[_0x1843da][_0x1768eb(0xaa)][_0x1768eb(0xdb)]===_0x1fbc7c){_0x420a39=_0x1843da;break;}if(-0x1!==_0x420a39)return _0x420a39+0x1;const _0x2f55cd=_0x494357[_0x1768eb(0xca)][_0x1768eb(0xc4)](),_0x1816c9=_0x2f55cd[_0x1768eb(0xc5)](_0x1fbc7c[_0x1768eb(0xd5)]),_0x23d375=_0x2f55cd[_0x1816c9+0x1];if(_0x23d375){for(let _0x595a5b=0x0;_0x595a5b<_0x48cfbe[_0x1768eb(0xc6)];_0x595a5b++)if(_0x48cfbe[_0x595a5b][_0x1768eb(0xaa)][_0x1768eb(0xdb)][_0x1768eb(0xd5)]===_0x23d375)return _0x595a5b;}return _0x48cfbe[_0x1768eb(0xc6)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x1c32bc,MenuBarMenuListItemButtonView as _0x31a76d}from'ckeditor5/src/ui.js';import{Plugin as _0x27bb90}from'ckeditor5/src/core.js';import{IconFootnote as _0x2dccac}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x27bb90{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b4fff}=this,{componentFactory:_0x3c0048}=_0x3b4fff['ui'];_0x3c0048['add']('insertFootnote',x(_0x3b4fff,_0x1c32bc)),_0x3c0048['add']('menuBar:insertFootnote',x(_0x3b4fff,_0x31a76d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x528bae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1911d3;for(const _0x8bd498 in _0x528bae){const _0x32faea=_0x8bd498,_0x5609c8=_0x528bae[_0x32faea];if('footnotesLicenseKeyValid'==_0x5609c8||'footnotesLicenseKeyInvalid'==_0x5609c8||'footnotesLicenseKeyExpired'==_0x5609c8||'footnotesLicenseKeyDomainLimit'==_0x5609c8||'footnotesLicenseKeyNotAllowed'==_0x5609c8||'footnotesLicenseKeyEvaluationLimit'==_0x5609c8||'footnotesLicenseKeyTrialLimit'==_0x5609c8||'footnotesLicenseKeyUsageLimit'==_0x5609c8){delete _0x528bae[_0x32faea],_0x1911d3=_0x5609c8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1911d3&&_0x528bae['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1911d3&&_0x528bae['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1911d3&&_0x528bae['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1911d3&&_0x528bae['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1911d3&&_0x528bae['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1911d3&&_0x528bae['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1911d3&&_0x528bae['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5bac58,_0x34f513){const _0x5c8751=_0x5bac58['commands']['get']('insertFootnote');return _0x350f24=>{const {t:t}=_0x350f24,_0x21f09e=new _0x34f513(_0x350f24),_0x2779cf=_0x21f09e instanceof _0x31a76d;return _0x21f09e['bind']('isEnabled')['to'](_0x5c8751,'isEnabled'),_0x21f09e['set']({'label':t(_0x2779cf?'Footnote':'Insert\x20footnote'),'icon':_0x2dccac,'tooltip':!0x0}),_0x21f09e['on']('execute',()=>{_0x5c8751['execute'](),_0x5bac58['editing']['view']['focus']();}),_0x21f09e;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xa5837f,_0x51ceda){var _0x58d98f=_0x324f,_0x36ded9=_0xa5837f();while(!![]){try{var _0xb11999=-parseInt(_0x58d98f(0x95))/0x1+-parseInt(_0x58d98f(0x99))/0x2*(-parseInt(_0x58d98f(0x98))/0x3)+parseInt(_0x58d98f(0x93))/0x4*(parseInt(_0x58d98f(0x90))/0x5)+parseInt(_0x58d98f(0x94))/0x6*(-parseInt(_0x58d98f(0x91))/0x7)+parseInt(_0x58d98f(0x8f))/0x8+parseInt(_0x58d98f(0x96))/0x9+-parseInt(_0x58d98f(0x97))/0xa*(parseInt(_0x58d98f(0x92))/0xb);if(_0xb11999===_0x51ceda)break;else _0x36ded9['push'](_0x36ded9['shift']());}catch(_0x2ecc72){_0x36ded9['push'](_0x36ded9['shift']());}}}(_0x5786,0x33d9b));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x324f(_0x1fb888,_0x3481e1){var _0x578624=_0x5786();return _0x324f=function(_0x324f63,_0x2acb27){_0x324f63=_0x324f63-0x8f;var _0x340a52=_0x578624[_0x324f63];return _0x340a52;},_0x324f(_0x1fb888,_0x3481e1);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x5786(){var _0x559889=['20ajPWya','9owjkrQ','134564LbKTCl','299456YjwVDX','5KpkUia','595MRxjpe','611545rOflAS','595692dbUHAp','414pAuMna','411587vOzrSs','3175380eKdzAb'];_0x5786=function(){return _0x559889;};return _0x5786();}export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x448b22=_0x1e52;function _0x4862(){const _0x3613a0=['position','slice','_elementName','createRangeOn','remove','107100iEsYZI','delete','flat','_model','from','values','set','755646zVPWNb','has','type','clear','reset','elementName','$text','getChanges','add','attributes','length','insert','89654HOeQFL','6lXWver','5FJpTyQ','$graveyard','element','_getElementKey','5SiojFl','name','1990624UdWMCZ','_trackedElements','77828UrhviN','getElementKey','push','getItems','4471910XaEoKO','rootName','nodeAfter','get','root','105966gOkOtX'];_0x4862=function(){return _0x3613a0;};return _0x4862();}(function(_0x38513a,_0x5f03e0){const _0x261edc=_0x1e52,_0x19b9aa=_0x38513a();while(!![]){try{const _0x46afac=parseInt(_0x261edc(0x171))/0x1*(parseInt(_0x261edc(0x16b))/0x2)+-parseInt(_0x261edc(0x16c))/0x3*(-parseInt(_0x261edc(0x175))/0x4)+-parseInt(_0x261edc(0x16d))/0x5*(-parseInt(_0x261edc(0x15f))/0x6)+parseInt(_0x261edc(0x17e))/0x7+parseInt(_0x261edc(0x173))/0x8+parseInt(_0x261edc(0x158))/0x9+-parseInt(_0x261edc(0x179))/0xa;if(_0x46afac===_0x5f03e0)break;else _0x19b9aa['push'](_0x19b9aa['shift']());}catch(_0x17ff43){_0x19b9aa['push'](_0x19b9aa['shift']());}}}(_0x4862,0x35241));function _0x1e52(_0x394340,_0x344320){const _0x48624e=_0x4862();return _0x1e52=function(_0x1e52fc,_0x4ff86f){_0x1e52fc=_0x1e52fc-0x154;let _0x48f4f6=_0x48624e[_0x1e52fc];return _0x48f4f6;},_0x1e52(_0x394340,_0x344320);}export class ModelElementTracker{[_0x448b22(0x15b)];[_0x448b22(0x155)];[_0x448b22(0x170)];[_0x448b22(0x174)]=new Map();constructor(_0x2139ca,_0x5e06e2){const _0x5e049e=_0x448b22;this[_0x5e049e(0x15b)]=_0x2139ca,this[_0x5e049e(0x155)]=_0x5e06e2[_0x5e049e(0x164)],this[_0x5e049e(0x170)]=_0x5e06e2[_0x5e049e(0x176)];}[_0x448b22(0x163)](){const _0x2a6794=_0x448b22;this[_0x2a6794(0x174)][_0x2a6794(0x162)]();}[_0x448b22(0x166)](_0xd6217c){const _0x36dffd=_0x448b22,_0x3ce21d=new Set(),_0x28c31b=new Map();for(const _0x1f549e of _0xd6217c){if(_0x36dffd(0x16a)===_0x1f549e[_0x36dffd(0x161)]&&_0x36dffd(0x165)!==_0x1f549e[_0x36dffd(0x172)]&&_0x1f549e[_0x36dffd(0x17f)][_0x36dffd(0x17b)]){const _0x1e2a59=this[_0x36dffd(0x15b)][_0x36dffd(0x156)](_0x1f549e[_0x36dffd(0x17f)][_0x36dffd(0x17b)]);for(const _0x231088 of _0x1e2a59[_0x36dffd(0x178)]()){if(!_0x231088['is'](_0x36dffd(0x16f),this[_0x36dffd(0x155)]))continue;const _0x5d3fea=this[_0x36dffd(0x170)](_0x231088);_0x28c31b[_0x36dffd(0x160)](_0x5d3fea)||_0x28c31b[_0x36dffd(0x15e)](_0x5d3fea,[]),_0x28c31b[_0x36dffd(0x17c)](_0x5d3fea)[_0x36dffd(0x177)](_0x231088);}}if(_0x36dffd(0x157)===_0x1f549e[_0x36dffd(0x161)]&&_0x1f549e[_0x36dffd(0x172)]===this[_0x36dffd(0x155)]){const _0x25d767=this[_0x36dffd(0x170)]({'getAttribute':_0x41724c=>_0x1f549e[_0x36dffd(0x168)][_0x36dffd(0x17c)](_0x41724c)});_0x3ce21d[_0x36dffd(0x167)](_0x25d767);}}for(const [_0x231f07,_0x44af1c]of this[_0x36dffd(0x174)])_0x36dffd(0x16e)===_0x44af1c[_0x36dffd(0x17d)][_0x36dffd(0x17a)]&&_0x3ce21d[_0x36dffd(0x167)](_0x231f07);for(const _0x276ea0 of _0x3ce21d)this[_0x36dffd(0x174)][_0x36dffd(0x159)](_0x276ea0);for(const [_0x22df76,_0x24fecd]of _0x28c31b)this[_0x36dffd(0x174)][_0x36dffd(0x15e)](_0x22df76,_0x24fecd[_0x24fecd[_0x36dffd(0x169)]-0x1]);const _0x27b7df=new Set();for(const [_0x2a953d,_0x1095d9]of _0x28c31b)_0x3ce21d[_0x36dffd(0x160)](_0x2a953d)&&(_0x27b7df[_0x36dffd(0x167)](_0x1095d9[0x0]),_0x1095d9[_0x36dffd(0x169)]>0x1?_0x28c31b[_0x36dffd(0x15e)](_0x2a953d,_0x1095d9[_0x36dffd(0x154)](0x1)):_0x28c31b[_0x36dffd(0x159)](_0x2a953d),_0x3ce21d[_0x36dffd(0x159)](_0x2a953d));return{'removed':Array[_0x36dffd(0x15c)](_0x3ce21d),'inserted':Array[_0x36dffd(0x15c)](_0x28c31b[_0x36dffd(0x15d)]())[_0x36dffd(0x15a)](),'moved':Array[_0x36dffd(0x15c)](_0x27b7df)};}}
|