@ckeditor/ckeditor5-footnotes 47.6.2-alpha.0 → 47.6.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x4b571a}from'ckeditor5/src/core.js';import{isWidget as _0x3011e7,toWidget as _0x552e17,toWidgetEditable as _0x2829e1}from'ckeditor5/src/widget.js';import{uid as _0x24054a}from'ckeditor5/src/utils.js';import{PointerObserver as _0x419de8,ClickObserver as _0x5bd886}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x35a9c9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x50fca1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4b571a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x35a9c9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x24ca46}=this;_0x24ca46['config']['define']('footnotes.multiBlock',!0x0),_0x24ca46['commands']['add']('insertFootnote',new _0x50fca1(_0x24ca46)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4577f6){const _0x194e8a=_0xa3e445([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]),_0x4c52b5=0x47a28506,_0xe275c9=0x47a50396^_0x4c52b5,_0x427d69=window[_0xa3e445([0x44,0x61,0x74,0x65])][_0xa3e445([0x6e,0x6f,0x77])](),_0x45a9e4=_0x4577f6[_0xa3e445([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15d9a2=new window[(_0xa3e445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c9aa5=>{_0x45a9e4[_0xa3e445([0x6f,0x6e,0x63,0x65])](_0xa3e445([0x72,0x65,0x61,0x64,0x79]),_0x5c9aa5);}),_0x1f38e7={[_0xa3e445([0x6b,0x74,0x79])]:_0xa3e445([0x45,0x43]),[_0xa3e445([0x75,0x73,0x65])]:_0xa3e445([0x73,0x69,0x67]),[_0xa3e445([0x63,0x72,0x76])]:_0xa3e445([0x50,0x2d,0x32,0x35,0x36]),[_0xa3e445([0x78])]:_0xa3e445([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]),[_0xa3e445([0x79])]:_0xa3e445([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]),[_0xa3e445([0x61,0x6c,0x67])]:_0xa3e445([0x45,0x53,0x32,0x35,0x36])},_0x4c1c1a=_0x45a9e4[_0xa3e445([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa3e445([0x67,0x65,0x74])](_0xa3e445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e51da(){let _0x5f51f3,_0x1f78cf=null,_0x12ded7=null;try{if(_0x4c1c1a==_0xa3e445([0x47,0x50,0x4c]))return _0xa3e445([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f51f3=_0x3719a3(),!_0x5f51f3)return _0xa3e445([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f51f3[_0xa3e445([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12ded7=_0x3b2ebe(_0x5f51f3[_0xa3e445([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f51f3[_0xa3e445([0x6a,0x74,0x69])])),await _0x520bd6()?_0x4ad093()?_0x4d3ee4()?_0xa3e445([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x18b51f()?(_0x5f51f3[_0xa3e445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa3e445([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f78cf=_0x1ca831(_0xa3e445([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23f1e2()):_0xa3e445([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa3e445([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa3e445([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa3e445([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d3ee4(){const _0x1ca6e3=[_0xa3e445([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa3e445([0x74,0x72,0x69,0x61,0x6c])][_0xa3e445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f51f3[_0xa3e445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x427d69/0x3e8:0xe10*_0xe275c9;return _0x5f51f3[_0xa3e445([0x65,0x78,0x70])]<_0x1ca6e3;}function _0x4ad093(){const _0x5ab1c6=_0x5f51f3[_0xa3e445([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ab1c6&&(!!_0x5ab1c6[_0xa3e445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa3e445([0x2a]))||!!_0x5ab1c6[_0xa3e445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa3e445([0x46,0x4f,0x4f])));}function _0x18b51f(){const _0x43b87c=_0x5f51f3[_0xa3e445([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43b87c||0x0==_0x43b87c[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x194b20}=new URL(window[_0xa3e445([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x43b87c[_0xa3e445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x194b20))return!0x0;const _0x1db5f1=_0x194b20[_0xa3e445([0x73,0x70,0x6c,0x69,0x74])](_0xa3e445([0x2e]));return _0x43b87c[_0xa3e445([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f0d15=>_0x4f0d15[_0xa3e445([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa3e445([0x2a])))[_0xa3e445([0x6d,0x61,0x70])](_0x3276e4=>_0x3276e4[_0xa3e445([0x73,0x70,0x6c,0x69,0x74])](_0xa3e445([0x2e])))[_0xa3e445([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11ce7b=>_0x11ce7b[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1db5f1[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa3e445([0x6d,0x61,0x70])](_0x219e66=>Array(_0x1db5f1[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x219e66[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa3e445([0x66,0x69,0x6c,0x6c])](_0x219e66[0x0]===_0xa3e445([0x2a])?_0xa3e445([0x2a]):'')[_0xa3e445([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x219e66))[_0xa3e445([0x73,0x6f,0x6d,0x65])](_0x34f7ea=>_0x1db5f1[_0xa3e445([0x65,0x76,0x65,0x72,0x79])]((_0x1489d5,_0x2e6206)=>_0x34f7ea[_0x2e6206]===_0x1489d5||_0x34f7ea[_0x2e6206]===_0xa3e445([0x2a])));}function _0x23f1e2(){return _0x1f78cf&&_0x12ded7?new window[(_0xa3e445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9ddbf1,_0x292847)=>{_0x1f78cf[_0xa3e445([0x74,0x68,0x65,0x6e])](_0x9ddbf1,_0x292847),_0x12ded7[_0xa3e445([0x74,0x68,0x65,0x6e])](_0xc5fa76=>{_0xc5fa76!=_0xa3e445([0x56,0x61,0x6c,0x69,0x64])&&_0x9ddbf1(_0xc5fa76);},_0x292847);}):_0x1f78cf||_0x12ded7||_0xa3e445([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b2ebe(_0x1c347f,_0x16adb0){return new window[(_0xa3e445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369640=>{if(_0x4eee43())return _0x369640(_0xa3e445([0x56,0x61,0x6c,0x69,0x64]));_0x570781(),_0x45a9e4[_0xa3e445([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa3e445([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26475e=!0x1;const _0x44a28e=_0x24054a();function _0x20b1e7(_0x2c5346){return!!_0x2c5346&&(typeof _0x2c5346===_0xa3e445([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c5346===_0xa3e445([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c5346[_0xa3e445([0x74,0x68,0x65,0x6e])]===_0xa3e445([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c5346[_0xa3e445([0x63,0x61,0x74,0x63,0x68])]===_0xa3e445([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2c0c80(_0x161ee1){_0x4e5f34(_0x161ee1)[_0xa3e445([0x74,0x68,0x65,0x6e])](_0x37d4ac=>{if(!_0x37d4ac||_0x37d4ac[_0xa3e445([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa3e445([0x6f,0x6b]))return _0xa3e445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x517545(_0x3dc1b7(_0x44a28e+_0x16adb0))!=_0x37d4ac[_0xa3e445([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa3e445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa3e445([0x56,0x61,0x6c,0x69,0x64]);})[_0xa3e445([0x74,0x68,0x65,0x6e])](_0x98224b=>(_0x2897a7(),_0x98224b),()=>{const _0x24a075=_0x77fded();return null==_0x24a075?(_0x2897a7(),_0xa3e445([0x56,0x61,0x6c,0x69,0x64])):_0xa3e445(_0x427d69-_0x24a075>(0x63ae0106^_0x4c52b5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa3e445([0x74,0x68,0x65,0x6e])](_0x369640)[_0xa3e445([0x63,0x61,0x74,0x63,0x68])](()=>{_0x369640(_0xa3e445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x40f755=0x47946b86^_0x4c52b5;function _0x2897a7(){const _0x28da5a=_0xa3e445([0x6c,0x6c,0x63,0x74,0x2d])+_0x517545(_0x3dc1b7(_0x1c347f)),_0x271837=_0x196224(_0x517545(window[_0xa3e445([0x4d,0x61,0x74,0x68])][_0xa3e445([0x63,0x65,0x69,0x6c])](_0x427d69/_0x40f755)));window[_0xa3e445([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa3e445([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28da5a,_0x271837);}function _0x77fded(){const _0x415d38=_0xa3e445([0x6c,0x6c,0x63,0x74,0x2d])+_0x517545(_0x3dc1b7(_0x1c347f)),_0x55f084=window[_0xa3e445([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa3e445([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x415d38);return _0x55f084?window[_0xa3e445([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x196224(_0x55f084),0x10)*_0x40f755:null;}function _0x4e5f34(_0x3962d5){return new window[(_0xa3e445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55ee78,_0x5c29dc)=>{_0x3962d5[_0xa3e445([0x74,0x68,0x65,0x6e])](_0x55ee78,_0x5c29dc),window[_0xa3e445([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c29dc,0x47a351c6^_0x4c52b5);});}}_0x45a9e4[_0xa3e445([0x6f,0x6e])](_0xa3e445([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19d90e,_0x35adc5)=>{if(_0x35adc5[0x0]!=_0x1c347f)return _0x369640(_0xa3e445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35adc5[0x1]={..._0x35adc5[0x1],[_0xa3e445([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44a28e};},{[_0xa3e445([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa3e445([0x68,0x69,0x67,0x68])}),_0x45a9e4[_0xa3e445([0x6f,0x6e])](_0xa3e445([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58f607=>{_0x20b1e7(_0x58f607[_0xa3e445([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26475e=!0x0,_0x2c0c80(_0x58f607[_0xa3e445([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa3e445([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa3e445([0x6c,0x6f,0x77])}),_0x15d9a2[_0xa3e445([0x74,0x68,0x65,0x6e])](()=>{_0x26475e||_0x369640(_0xa3e445([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4eee43(){return _0x45a9e4[_0xa3e445([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa3e445([0x76,0x69,0x65,0x77])][_0xa3e445([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa3e445([0x61,0x75,0x74,0x6f]);}function _0x570781(){_0x45a9e4[_0xa3e445([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa3e445([0x76,0x69,0x65,0x77])][_0xa3e445([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa3e445([0x61,0x75,0x74,0x6f]);}}function _0x1ca831(_0x2b8b22){const _0x26f85c=[new window[(_0xa3e445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d3516=>setTimeout(_0x3d3516,0x47abbbca^_0x4c52b5)),_0x15d9a2[_0xa3e445([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa3e445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c9b3b=>{let _0x431ce1=0x0;_0x45a9e4[_0xa3e445([0x6d,0x6f,0x64,0x65,0x6c])][_0xa3e445([0x6f,0x6e])](_0xa3e445([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b5a9f,_0x48b708)=>{_0x48b708[0x0][_0xa3e445([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x431ce1++,_0x431ce1==(0x47a280ee^_0x4c52b5)&&(_0x4c9b3b(),_0x2b5a9f[_0xa3e445([0x6f,0x66,0x66])]());});}))];return window[_0xa3e445([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa3e445([0x72,0x61,0x63,0x65])](_0x26f85c)[_0xa3e445([0x74,0x68,0x65,0x6e])](()=>_0x2b8b22);}async function _0x1f2b60(){await _0x15d9a2,_0x45a9e4[_0xa3e445([0x6d,0x6f,0x64,0x65,0x6c])][_0xa3e445([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e5295,_0x45a9e4[_0xa3e445([0x6d,0x6f,0x64,0x65,0x6c])][_0xa3e445([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e5295,_0x45a9e4[_0xa3e445([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa3e445([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3d36e9(_0x1bc94e){const _0x3334b4=_0x56bd85();_0x45a9e4[_0x3334b4]=_0xa3e445([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bc94e,_0x1bc94e!=_0xa3e445([0x56,0x61,0x6c,0x69,0x64])&&_0x1f2b60();}function _0x56bd85(){const _0x3bd88f=window[_0xa3e445([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa3e445([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa3e445([0x6e,0x6f,0x77])]())[_0xa3e445([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa3e445([0x2e]),'');let _0x2e143e=_0xa3e445([0x75]);for(let _0x4716d6=0x0;_0x4716d6<_0x3bd88f[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4716d6+=0x2){let _0x4efbb9=window[_0xa3e445([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3bd88f[_0xa3e445([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4716d6,_0x4716d6+0x2));_0x4efbb9>=_0x194e8a[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4efbb9-=_0x194e8a[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e143e+=_0x194e8a[_0x4efbb9];}return _0x2e143e;}function _0x3719a3(){const _0x2a1d12=_0x4c1c1a[_0xa3e445([0x73,0x70,0x6c,0x69,0x74])](_0xa3e445([0x2e]));if(0x3!=_0x2a1d12[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x121f60(_0x2a1d12[0x1]);function _0x121f60(_0x1d610f){const _0x2eed3d=_0x39a918(_0x1d610f);return _0x2eed3d&&_0x58cfa0()?_0x2eed3d:null;function _0x58cfa0(){const _0x32810d=_0x2eed3d[_0xa3e445([0x6a,0x74,0x69])],_0x146e46=window[_0xa3e445([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32810d[_0xa3e445([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32810d[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x458c19={..._0x2eed3d,[_0xa3e445([0x6a,0x74,0x69])]:_0x32810d[_0xa3e445([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x32810d[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x458c19[_0xa3e445([0x76,0x63])],_0x3dc1b7(_0x458c19)==_0x146e46;}}}async function _0x520bd6(){let _0x5f2dde=!0x0;try{const _0x12fcb2=_0x4c1c1a[_0xa3e445([0x73,0x70,0x6c,0x69,0x74])](_0xa3e445([0x2e])),[_0x4d9683,_0x5865fd,_0x1ba68f]=_0x12fcb2;return _0x2f52f4(_0x4d9683),await _0x285987(_0x4d9683,_0x5865fd,_0x1ba68f),_0x5f2dde;}catch{return!0x1;}function _0x2f52f4(_0x18f175){const _0x45d18a=_0x39a918(_0x18f175);_0x45d18a&&_0x45d18a[_0xa3e445([0x61,0x6c,0x67])]==_0xa3e445([0x45,0x53,0x32,0x35,0x36])||(_0x5f2dde=!0x1);}async function _0x285987(_0xf3dfa6,_0x1e87d9,_0x5a16e2){const _0x4a5ffe=window[_0xa3e445([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa3e445([0x66,0x72,0x6f,0x6d])](_0x3c1bbc(_0x5a16e2),_0x4378de=>_0x4378de[_0xa3e445([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x458087=new window[(_0xa3e445([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa3e445([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xf3dfa6+_0xa3e445([0x2e])+_0x1e87d9),_0x376590=window[_0xa3e445([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa3e445([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x376590)return;const _0x2f8b60=await _0x376590[_0xa3e445([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa3e445([0x6a,0x77,0x6b]),_0x1f38e7,{[_0xa3e445([0x6e,0x61,0x6d,0x65])]:_0xa3e445([0x45,0x43,0x44,0x53,0x41]),[_0xa3e445([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa3e445([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa3e445([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x376590[_0xa3e445([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa3e445([0x6e,0x61,0x6d,0x65])]:_0xa3e445([0x45,0x43,0x44,0x53,0x41]),[_0xa3e445([0x68,0x61,0x73,0x68])]:{[_0xa3e445([0x6e,0x61,0x6d,0x65])]:_0xa3e445([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f8b60,_0x4a5ffe,_0x458087)||(_0x5f2dde=!0x1);}}function _0x39a918(_0x34c785){return _0x34c785[_0xa3e445([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa3e445([0x65,0x79]))?JSON[_0xa3e445([0x70,0x61,0x72,0x73,0x65])](_0x3c1bbc(_0x34c785)):null;}function _0x3c1bbc(_0x3d6a21){return window[_0xa3e445([0x61,0x74,0x6f,0x62])](_0x3d6a21[_0xa3e445([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa3e445([0x2b]))[_0xa3e445([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa3e445([0x2f])));}function _0x3dc1b7(_0x5a9eef){let _0x8b8628=0x1505;function _0x31a159(_0x2c70f4){for(let _0x5518d2=0x0;_0x5518d2<_0x2c70f4[_0xa3e445([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5518d2++){const _0x21b473=_0x2c70f4[_0xa3e445([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5518d2);_0x8b8628=(_0x8b8628<<0x5)+_0x8b8628+_0x21b473,_0x8b8628&=_0x8b8628;}}function _0x5bae6c(_0x2d4f90){Array[_0xa3e445([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d4f90)?_0x2d4f90[_0xa3e445([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5bae6c):_0x2d4f90&&typeof _0x2d4f90==_0xa3e445([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa3e445([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d4f90)[_0xa3e445([0x73,0x6f,0x72,0x74])]()[_0xa3e445([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x19370d,_0x2094f9])=>{_0x31a159(_0x19370d),_0x5bae6c(_0x2094f9);}):_0x31a159(window[_0xa3e445([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d4f90));}return _0x5bae6c(_0x5a9eef),_0x8b8628>>>0x0;}function _0x517545(_0x312a61){return _0x312a61[_0xa3e445([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa3e445([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa3e445([0x30]));}function _0x196224(_0x580683){return _0x580683[_0xa3e445([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa3e445([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa3e445([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e5295(){}function _0xa3e445(_0x392d7f){return _0x392d7f['map'](_0x70c5ad=>String['fromCharCode'](_0x70c5ad))['join']('');}_0x3d36e9(await _0x4e51da());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3e3831){const {plugins:_0x3782bd,editing:_0xd71b58,model:_0x3c49dd}=this['editor'],_0x4dba82=_0x3782bd['get'](_0x35a9c9)['getFootnote'](_0x3e3831);return!!_0x4dba82&&(_0x3c49dd['change'](_0x411412=>{_0x411412['setSelection'](_0x411412['createPositionAt'](_0x4dba82['definition'],'end'));}),_0xd71b58['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x31eaa5){const {plugins:_0xcf7bd,editing:_0x14fcfe,model:_0x2c49bf}=this['editor'],_0x5b8191=_0xcf7bd['get'](_0x35a9c9)['getFootnote'](_0x31eaa5);return!!_0x5b8191&&(_0x2c49bf['change'](_0x217296=>{_0x217296['setSelection'](_0x5b8191['reference'],'on');}),_0x14fcfe['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2cd474}=this['editor']['model'],_0x34d898=this['editor']['config']['get']('footnotes.multiBlock');_0x2cd474['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2cd474['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2cd474['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x34d898?_0x2cd474['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2cd474['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2cd474['addChildCheck'](_0x5488e3=>{for(const _0x382c44 of _0x5488e3)if('footnoteDefinition'===_0x382c44['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x24c5fd}=this,{conversion:_0x54b41d,editing:_0x405f7a}=_0x24c5fd,{t:t}=_0x24c5fd['locale'];_0x54b41d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2c944a,{writer:_0x38e387,consumable:_0x36d88d})=>{const _0x26c9eb=_0x2c944a['getChild'](0x0);if(!_0x26c9eb||!_0x26c9eb['is']('element','a'))return null;const _0x5ca2fb=_0x26c9eb['getAttribute']('href')||'';if(!_0x5ca2fb['startsWith']('#'))return null;const _0x2f6ce2=_0x5ca2fb['replace'](/^#/,'');if(!_0x2f6ce2)return null;_0x36d88d['consume'](_0x26c9eb,{'name':!0x0,'attributes':['href']});for(const {item:_0x31a252}of _0x405f7a['view']['createRangeIn'](_0x26c9eb))_0x31a252['is']('$textProxy')?_0x36d88d['consume'](_0x31a252['textNode'],{'name':!0x0}):_0x31a252['is']('element')&&_0x36d88d['consume'](_0x31a252,{'name':!0x0});return _0x38e387['createElement']('footnoteRef',{'footnoteId':_0x2f6ce2});}}),_0x54b41d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4a8395,{writer:_0x3ab5fa})=>b(_0x4a8395,_0x3ab5fa)}),_0x54b41d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x542b32,{writer:_0x547356})=>{const _0x2b8dcd=_0x542b32['getAttribute']('footnoteCounter');return _0x552e17(b(_0x542b32,_0x547356),_0x547356,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2b8dcd)});}});}['_defineDefinitionsConverters'](){const {editor:_0x27d241}=this,{t:t}=_0x27d241['locale'],{conversion:_0x508a1b}=_0x27d241;_0x508a1b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x508a1b['for']('upcast')['add'](_0x5c0597=>{_0x5c0597['on']('element:ol',(_0x4e0c52,_0x3b7ec5,_0x1f7de4)=>{const _0xffe13e=_0x3b7ec5['viewItem'];if(!_0xffe13e['hasClass']('footnotes-list')||!_0x3b7ec5['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1f7de4['consumable']['consume'](_0xffe13e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x117e73,modelCursor:_0xf90cb}=_0x1f7de4['convertChildren'](_0x3b7ec5['viewItem'],_0x3b7ec5['modelCursor']);_0x3b7ec5['modelRange']=_0x117e73,_0x3b7ec5['modelCursor']=_0xf90cb;}),_0x5c0597['on']('element:hr',(_0x56df5d,_0x347216,_0x588276)=>{const _0x235984=_0x347216['viewItem'];_0x235984['hasClass']('footnotes-divider')&&_0x347216['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x588276['consumable']['consume'](_0x235984,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x508a1b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5af48e,{writer:_0xf55c31})=>D(_0xf55c31)}),_0x508a1b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3e5f55,{writer:_0x58ae2c})=>{const _0x12c8bb=D(_0x58ae2c,{'data-footnotes-list-label':t('Footnotes')}),_0x28a544=_0x552e17(_0x12c8bb,_0x58ae2c,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x58ae2c['setCustomProperty']('footnotesDefinitions',!0x0,_0x28a544),_0x28a544;}});}['_defineDefinitionConverters'](){const {editor:_0x2d2883}=this,{conversion:_0x1d3bda,locale:_0x17f6f8}=_0x2d2883,_0x42560d=_0x2d2883['config']['get']('footnotes.multiBlock');_0x1d3bda['for']('upcast')['add'](_0xc972e=>{_0xc972e['on']('element:li',(_0x386911,_0x2b5148,_0x331e1a)=>{const _0x442fc9=_0x2b5148['viewItem'];if(!_0x442fc9['hasClass']('footnote-definition')||!_0x442fc9['getAttribute']('id'))return;const _0x2cc0af=_0x442fc9['parent'];if(!_0x2cc0af['is']('element','ol')||!_0x2cc0af['hasClass']('footnotes-list'))return;if(!_0x331e1a['consumable']['test'](_0x442fc9,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3619c3=_0x331e1a['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x442fc9['getAttribute']('id')});if(!_0x331e1a['safeInsert'](_0x3619c3,_0x2b5148['modelCursor']))return;_0x331e1a['consumable']['consume'](_0x442fc9,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x264c62=Array['from'](_0x442fc9['getChildren']())['find'](_0x48c217=>_0x48c217['is']('element')&&_0x48c217['hasClass']('footnote-content'));for(const _0x125d75 of _0x442fc9['getChildren']())_0x125d75['is']('element')&&(_0x331e1a['consumable']['consume'](_0x125d75,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x331e1a['consumable']['consume'](_0x125d75,{'name':!0x0,'classes':'footnote-content'}));if(_0x264c62){if(_0x42560d)_0x331e1a['convertChildren'](_0x264c62,_0x3619c3);else{const _0x40883e=_0x331e1a['writer']['createElement']('footnoteInlineContent');_0x331e1a['writer']['insert'](_0x40883e,_0x3619c3),_0x331e1a['convertChildren'](_0x264c62,_0x40883e);}}_0x331e1a['updateConversionResult'](_0x3619c3,_0x2b5148);});}),_0x1d3bda['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2e83ad,{writer:_0x4c7ef7})=>y(_0x2e83ad,_0x4c7ef7,_0x17f6f8,{'dataPipeline':!0x0})}),_0x1d3bda['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5220c1,{writer:_0x577522})=>y(_0x5220c1,_0x577522,_0x17f6f8)});}['_defineBogusParagraphConverters'](){const {editor:_0x3f4668}=this,{conversion:_0x28c427}=_0x3f4668;_0x3f4668['config']['get']('footnotes.multiBlock')?(_0x28c427['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x28c427['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3f4668['model']['document'],'change:data',()=>{!function(_0xed2323,_0x4cc9fc){const _0x4949da=_0xed2323['document']['differ'],_0x19b295=new Set();for(const _0x5d0ae7 of _0x4949da['getChanges']()){const _0x17171d='attribute'==_0x5d0ae7['type']?_0x5d0ae7['range']['start']['parent']:_0x5d0ae7['position']['parent'];_0x17171d['is']('element','footnoteDefinition')&&_0x19b295['add'](_0x17171d);}for(const _0x4b44f1 of _0x19b295['values']()){const _0x11d4f7=Array['from'](_0x4b44f1['getChildren']())['filter'](_0x53009d=>v(_0x53009d,_0x4cc9fc['mapper']));for(const _0x32afe5 of _0x11d4f7)_0x4cc9fc['reconvertItem'](_0x32afe5);}}(_0x3f4668['model'],_0x3f4668['editing']);})):(_0x28c427['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x28c427['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5145b9,{writer:_0x1691b9})=>{const _0x936d62=_0x1691b9['createContainerElement']('span');return _0x1691b9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x936d62),_0x936d62;}}));}['_defineKeyboardHandlers'](){const {editor:_0x33ef8b}=this,{editing:_0x44c107,t:t}=_0x33ef8b,_0x2c3058=_0x33ef8b['model']['document']['selection'];_0x33ef8b['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x33ef8b['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x44c107['view']['document'],'enter',(_0x74a7f2,_0x401294)=>{const _0x4a7bac=function(_0x1476d6){const _0x1387ee=_0x1476d6['getSelectedElement']();if(_0x1387ee?.['is']('element','footnoteRef'))return _0x1387ee;return null;}(_0x2c3058);if(_0x4a7bac){const _0x151b47=_0x4a7bac['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x151b47),_0x401294['preventDefault'](),_0x74a7f2['stop']();}},{'context':_0x3011e7});}['_defineClickHandlers'](){const {editor:_0x161604}=this,{editing:_0x137724}=_0x161604;_0x161604['editing']['view']['addObserver'](_0x419de8),_0x161604['editing']['view']['addObserver'](_0x5bd886);let _0x35a4e7=!0x1;this['listenTo'](_0x137724['view']['document'],'pointerdown',(_0x2c34f2,_0x5bb56b)=>{const {target:_0x5728e0}=_0x5bb56b,_0x4d20bd=_0x137724['view']['document']['selection'];_0x35a4e7=!!(_0x5728e0?.['is']('element','a')&&_0x5728e0['parent']?.['is']('element','sup')&&_0x5728e0['parent']['hasClass']('footnote'))&&_0x4d20bd['getSelectedElement']()===_0x5728e0['parent'];},{'priority':'high'}),this['listenTo'](_0x137724['view']['document'],'click',(_0xc089e9,_0x3784e9)=>{const {target:_0x632b92}=_0x3784e9;if(!_0x632b92?.['is']('element','a'))return;if(_0x632b92['parent']?.['is']('element','sup')&&_0x632b92['parent']['hasClass']('footnote')&&!_0x35a4e7)return void _0x3784e9['preventDefault']();let _0x3d80ef=_0x632b92['getAttribute']('href');if(!_0x3d80ef?.['startsWith']('#'))return;_0x3d80ef=_0x3d80ef['slice'](0x1);let _0x225f57=!0x1;(_0x3d80ef['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3d80ef['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3d80ef))&&(_0x225f57=!0x0),_0x225f57&&(_0x3784e9['preventDefault'](),_0xc089e9['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x11ff0e}={}){return(_0x200834,{writer:_0x414529})=>{if(!g(_0x200834))return null;if(!_0x11ff0e)return _0x414529['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x384408=_0x414529['createContainerElement']('p');return _0x414529['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x384408),_0x384408;};}function g(_0x3a4012){const {parent:_0x413769}=_0x3a4012;if(!_0x413769?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x413769['childCount'])return!0x1;for(const _0x33d487 of _0x3a4012['getAttributeKeys']())if(!_0x33d487['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x33d487)return!0x1;return!0x0;}function v(_0x566625,_0x39280a){if(!_0x566625['is']('element','paragraph'))return!0x1;const _0x5bf4e7=_0x39280a['toViewElement'](_0x566625);return!!_0x5bf4e7&&g(_0x566625)!==_0x5bf4e7['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x241c15){return _0x3011e7(_0x241c15)&&_0x241c15['is']('containerElement')&&!!_0x241c15['getCustomProperty']('footnotesDefinitions');}function D(_0x58fc37,_0x29f830={}){const _0x263ed8=_0x58fc37['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x494b8d=_0x58fc37['createContainerElement']('ol',{'class':'footnotes-list'},_0x58fc37['createSlot']());return _0x58fc37['createContainerElement']('div',{'class':'footnotes',..._0x29f830},[_0x263ed8,_0x494b8d]);}function b(_0x3febd8,_0xf08d3){const _0x14a725=_0x3febd8['getAttribute']('footnoteId'),_0x4e1cc8=_0x3febd8['getAttribute']('footnoteCounter'),_0x4c662c=_0xf08d3['createUIElement']('a',{'href':'#'+_0x14a725},function(_0x30d67a){const _0x53f369=this['toDomElement'](_0x30d67a);return _0x53f369['textContent']=_0x4e1cc8,_0x53f369;}),_0x1c6453=_0xf08d3['createContainerElement']('sup',{'id':'ref-'+_0x14a725,'class':'footnote'},[_0x4c662c]);return _0x1c6453['getFillerOffset']=()=>null,_0x1c6453;}function y(_0x282a36,_0xc602e,_0x37fa62,{dataPipeline:_0x41b183}={}){const {t:t}=_0x37fa62,_0x4c3ff7=_0x282a36['getAttribute']('footnoteId'),_0x794c3c=_0xc602e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4c3ff7},function(_0x54e60c){const _0x49653b=this['toDomElement'](_0x54e60c);return _0x49653b['innerText']='^',_0x49653b;}),_0x3aa508=_0x41b183?_0xc602e['createContainerElement']('div',{'class':'footnote-content'}):_0x2829e1(_0xc602e['createEditableElement']('div',{'class':'footnote-content'}),_0xc602e,{'label':t('Footnote\x20content.')});return _0xc602e['insert'](_0xc602e['createPositionAt'](_0x3aa508,0x0),_0xc602e['createSlot']()),_0xc602e['createContainerElement']('li',{'class':'footnote-definition','id':_0x4c3ff7},[_0x794c3c,_0x3aa508]);}
|
|
23
|
+
import{Plugin as _0x454380}from'ckeditor5/src/core.js';import{isWidget as _0x91ceb2,toWidget as _0x349d2f,toWidgetEditable as _0x5c12bd}from'ckeditor5/src/widget.js';import{uid as _0x16dcfa}from'ckeditor5/src/utils.js';import{PointerObserver as _0xf0aeef,ClickObserver as _0x30e9f9}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1070a9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xf436f9}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x454380{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1070a9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2dc55f}=this;_0x2dc55f['config']['define']('footnotes.multiBlock',!0x0),_0x2dc55f['commands']['add']('insertFootnote',new _0xf436f9(_0x2dc55f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x237146){const _0x20b5bf=_0x13424b([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]),_0x3c5456=0x47a28506,_0x6d08f7=0x47a503ae^_0x3c5456,_0x8ee31a=window[_0x13424b([0x44,0x61,0x74,0x65])][_0x13424b([0x6e,0x6f,0x77])](),_0x165ca1=_0x237146[_0x13424b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c9d3f=new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57ca80=>{_0x165ca1[_0x13424b([0x6f,0x6e,0x63,0x65])](_0x13424b([0x72,0x65,0x61,0x64,0x79]),_0x57ca80);}),_0x68fc93={[_0x13424b([0x6b,0x74,0x79])]:_0x13424b([0x45,0x43]),[_0x13424b([0x75,0x73,0x65])]:_0x13424b([0x73,0x69,0x67]),[_0x13424b([0x63,0x72,0x76])]:_0x13424b([0x50,0x2d,0x32,0x35,0x36]),[_0x13424b([0x78])]:_0x13424b([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]),[_0x13424b([0x79])]:_0x13424b([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]),[_0x13424b([0x61,0x6c,0x67])]:_0x13424b([0x45,0x53,0x32,0x35,0x36])},_0x27ab7f=_0x165ca1[_0x13424b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13424b([0x67,0x65,0x74])](_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x109df4(){let _0x55556f,_0x455bba=null,_0x5dfafa=null;try{if(_0x27ab7f==_0x13424b([0x47,0x50,0x4c]))return _0x13424b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55556f=_0x25ab05(),!_0x55556f)return _0x13424b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55556f[_0x13424b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dfafa=_0x4ade99(_0x55556f[_0x13424b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55556f[_0x13424b([0x6a,0x74,0x69])])),await _0x4b9464()?_0x4a60f2()?_0x138760()?_0x13424b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x416844()?(_0x55556f[_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13424b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x455bba=_0x21204f(_0x13424b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43285f()):_0x13424b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13424b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13424b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13424b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x138760(){const _0x47d9d4=[_0x13424b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13424b([0x74,0x72,0x69,0x61,0x6c])][_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55556f[_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8ee31a/0x3e8:0xe10*_0x6d08f7;return _0x55556f[_0x13424b([0x65,0x78,0x70])]<_0x47d9d4;}function _0x4a60f2(){const _0x5b7589=_0x55556f[_0x13424b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b7589&&(!!_0x5b7589[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424b([0x2a]))||!!_0x5b7589[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424b([0x46,0x4f,0x4f])));}function _0x416844(){const _0x5c064e=_0x55556f[_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c064e||0x0==_0x5c064e[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1224da}=new URL(window[_0x13424b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c064e[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1224da))return!0x0;const _0x1c7164=_0x1224da[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e]));return _0x5c064e[_0x13424b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x103957=>_0x103957[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424b([0x2a])))[_0x13424b([0x6d,0x61,0x70])](_0xbc305c=>_0xbc305c[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e])))[_0x13424b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24f0a3=>_0x24f0a3[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c7164[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13424b([0x6d,0x61,0x70])](_0x8baae1=>Array(_0x1c7164[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8baae1[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13424b([0x66,0x69,0x6c,0x6c])](_0x8baae1[0x0]===_0x13424b([0x2a])?_0x13424b([0x2a]):'')[_0x13424b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8baae1))[_0x13424b([0x73,0x6f,0x6d,0x65])](_0x14a278=>_0x1c7164[_0x13424b([0x65,0x76,0x65,0x72,0x79])]((_0x341100,_0x3a7276)=>_0x14a278[_0x3a7276]===_0x341100||_0x14a278[_0x3a7276]===_0x13424b([0x2a])));}function _0x43285f(){return _0x455bba&&_0x5dfafa?new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24d148,_0xffa24)=>{_0x455bba[_0x13424b([0x74,0x68,0x65,0x6e])](_0x24d148,_0xffa24),_0x5dfafa[_0x13424b([0x74,0x68,0x65,0x6e])](_0x473463=>{_0x473463!=_0x13424b([0x56,0x61,0x6c,0x69,0x64])&&_0x24d148(_0x473463);},_0xffa24);}):_0x455bba||_0x5dfafa||_0x13424b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ade99(_0x13fbc7,_0x169151){return new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd4983=>{if(_0x2b239a())return _0xd4983(_0x13424b([0x56,0x61,0x6c,0x69,0x64]));_0x1b368a(),_0x165ca1[_0x13424b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13424b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46bfc4=!0x1;const _0x2ed794=_0x16dcfa();function _0x184c46(_0x47ea6a){return!!_0x47ea6a&&(typeof _0x47ea6a===_0x13424b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47ea6a===_0x13424b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47ea6a[_0x13424b([0x74,0x68,0x65,0x6e])]===_0x13424b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47ea6a[_0x13424b([0x63,0x61,0x74,0x63,0x68])]===_0x13424b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbd7fba(_0xc5145){_0x4a4bd9(_0xc5145)[_0x13424b([0x74,0x68,0x65,0x6e])](_0x9aa0c2=>{if(!_0x9aa0c2||_0x9aa0c2[_0x13424b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13424b([0x6f,0x6b]))return _0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cd1b3(_0x1ee720(_0x2ed794+_0x169151))!=_0x9aa0c2[_0x13424b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13424b([0x56,0x61,0x6c,0x69,0x64]);})[_0x13424b([0x74,0x68,0x65,0x6e])](_0x48331c=>(_0x677eca(),_0x48331c),()=>{const _0xa7cedd=_0x338f46();return null==_0xa7cedd?(_0x677eca(),_0x13424b([0x56,0x61,0x6c,0x69,0x64])):_0x13424b(_0x8ee31a-_0xa7cedd>(0x63ae0106^_0x3c5456)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13424b([0x74,0x68,0x65,0x6e])](_0xd4983)[_0x13424b([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd4983(_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5102f6=0x47946b86^_0x3c5456;function _0x677eca(){const _0x401feb=_0x13424b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cd1b3(_0x1ee720(_0x13fbc7)),_0x2d57ee=_0x4b2b29(_0x5cd1b3(window[_0x13424b([0x4d,0x61,0x74,0x68])][_0x13424b([0x63,0x65,0x69,0x6c])](_0x8ee31a/_0x5102f6)));window[_0x13424b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13424b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x401feb,_0x2d57ee);}function _0x338f46(){const _0x59ab8a=_0x13424b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cd1b3(_0x1ee720(_0x13fbc7)),_0x3b0201=window[_0x13424b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13424b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59ab8a);return _0x3b0201?window[_0x13424b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b2b29(_0x3b0201),0x10)*_0x5102f6:null;}function _0x4a4bd9(_0x2ae880){return new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aa293,_0x462691)=>{_0x2ae880[_0x13424b([0x74,0x68,0x65,0x6e])](_0x4aa293,_0x462691),window[_0x13424b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x462691,0x47a351c6^_0x3c5456);});}}_0x165ca1[_0x13424b([0x6f,0x6e])](_0x13424b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x339aee,_0x49de14)=>{if(_0x49de14[0x0]!=_0x13fbc7)return _0xd4983(_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49de14[0x1]={..._0x49de14[0x1],[_0x13424b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ed794};},{[_0x13424b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13424b([0x68,0x69,0x67,0x68])}),_0x165ca1[_0x13424b([0x6f,0x6e])](_0x13424b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a900f=>{_0x184c46(_0x3a900f[_0x13424b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46bfc4=!0x0,_0xbd7fba(_0x3a900f[_0x13424b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13424b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13424b([0x6c,0x6f,0x77])}),_0x5c9d3f[_0x13424b([0x74,0x68,0x65,0x6e])](()=>{_0x46bfc4||_0xd4983(_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b239a(){return _0x165ca1[_0x13424b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13424b([0x76,0x69,0x65,0x77])][_0x13424b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13424b([0x61,0x75,0x74,0x6f]);}function _0x1b368a(){_0x165ca1[_0x13424b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13424b([0x76,0x69,0x65,0x77])][_0x13424b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13424b([0x61,0x75,0x74,0x6f]);}}function _0x21204f(_0x137c5c){const _0x2180f1=[new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe4098d=>setTimeout(_0xe4098d,0x47abbbca^_0x3c5456)),_0x5c9d3f[_0x13424b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd58bbb=>{let _0x472abb=0x0;_0x165ca1[_0x13424b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13424b([0x6f,0x6e])](_0x13424b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x122703,_0x12473d)=>{_0x12473d[0x0][_0x13424b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x472abb++,_0x472abb==(0x47a280ee^_0x3c5456)&&(_0xd58bbb(),_0x122703[_0x13424b([0x6f,0x66,0x66])]());});}))];return window[_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13424b([0x72,0x61,0x63,0x65])](_0x2180f1)[_0x13424b([0x74,0x68,0x65,0x6e])](()=>_0x137c5c);}async function _0x37e3ea(){await _0x5c9d3f,_0x165ca1[_0x13424b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13424b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2731bf,_0x165ca1[_0x13424b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13424b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2731bf,_0x165ca1[_0x13424b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13424b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4128a4(_0x792e5){const _0x25a996=_0x46a317();_0x165ca1[_0x25a996]=_0x13424b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x792e5,_0x792e5!=_0x13424b([0x56,0x61,0x6c,0x69,0x64])&&_0x37e3ea();}function _0x46a317(){const _0x4ca66e=window[_0x13424b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13424b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13424b([0x6e,0x6f,0x77])]())[_0x13424b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13424b([0x2e]),'');let _0xa7f06f=_0x13424b([0x75]);for(let _0x32591c=0x0;_0x32591c<_0x4ca66e[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32591c+=0x2){let _0x445ec8=window[_0x13424b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca66e[_0x13424b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32591c,_0x32591c+0x2));_0x445ec8>=_0x20b5bf[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x445ec8-=_0x20b5bf[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa7f06f+=_0x20b5bf[_0x445ec8];}return _0xa7f06f;}function _0x25ab05(){const _0x3666e2=_0x27ab7f[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e]));if(0x3!=_0x3666e2[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fb034(_0x3666e2[0x1]);function _0x1fb034(_0xb5af4c){const _0x500c0b=_0x16674c(_0xb5af4c);return _0x500c0b&&_0x1651dd()?_0x500c0b:null;function _0x1651dd(){const _0x3c0528=_0x500c0b[_0x13424b([0x6a,0x74,0x69])],_0x5e3be2=window[_0x13424b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0528[_0x13424b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c0528[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a33e2={..._0x500c0b,[_0x13424b([0x6a,0x74,0x69])]:_0x3c0528[_0x13424b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c0528[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a33e2[_0x13424b([0x76,0x63])],_0x1ee720(_0x4a33e2)==_0x5e3be2;}}}async function _0x4b9464(){let _0x1b444f=!0x0;try{const _0x187df6=_0x27ab7f[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e])),[_0x57f3de,_0x33ebcb,_0x157022]=_0x187df6;return _0x347d33(_0x57f3de),await _0x4beff2(_0x57f3de,_0x33ebcb,_0x157022),_0x1b444f;}catch{return!0x1;}function _0x347d33(_0x26e3ee){const _0x383536=_0x16674c(_0x26e3ee);_0x383536&&_0x383536[_0x13424b([0x61,0x6c,0x67])]==_0x13424b([0x45,0x53,0x32,0x35,0x36])||(_0x1b444f=!0x1);}async function _0x4beff2(_0x31a581,_0x2fc659,_0x36665d){const _0x40292c=window[_0x13424b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13424b([0x66,0x72,0x6f,0x6d])](_0x4fa5d1(_0x36665d),_0x406f9f=>_0x406f9f[_0x13424b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7a78e9=new window[(_0x13424b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13424b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31a581+_0x13424b([0x2e])+_0x2fc659),_0x2b55e1=window[_0x13424b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13424b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b55e1)return;const _0x124854=await _0x2b55e1[_0x13424b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13424b([0x6a,0x77,0x6b]),_0x68fc93,{[_0x13424b([0x6e,0x61,0x6d,0x65])]:_0x13424b([0x45,0x43,0x44,0x53,0x41]),[_0x13424b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13424b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13424b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b55e1[_0x13424b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13424b([0x6e,0x61,0x6d,0x65])]:_0x13424b([0x45,0x43,0x44,0x53,0x41]),[_0x13424b([0x68,0x61,0x73,0x68])]:{[_0x13424b([0x6e,0x61,0x6d,0x65])]:_0x13424b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x124854,_0x40292c,_0x7a78e9)||(_0x1b444f=!0x1);}}function _0x16674c(_0x38464f){return _0x38464f[_0x13424b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13424b([0x65,0x79]))?JSON[_0x13424b([0x70,0x61,0x72,0x73,0x65])](_0x4fa5d1(_0x38464f)):null;}function _0x4fa5d1(_0x3cd2a2){return window[_0x13424b([0x61,0x74,0x6f,0x62])](_0x3cd2a2[_0x13424b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13424b([0x2b]))[_0x13424b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13424b([0x2f])));}function _0x1ee720(_0x22cca7){let _0x14f917=0x1505;function _0x52e66a(_0x31063c){for(let _0x549955=0x0;_0x549955<_0x31063c[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x549955++){const _0x1708a1=_0x31063c[_0x13424b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x549955);_0x14f917=(_0x14f917<<0x5)+_0x14f917+_0x1708a1,_0x14f917&=_0x14f917;}}function _0x2da2d2(_0x8e78a7){Array[_0x13424b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8e78a7)?_0x8e78a7[_0x13424b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2da2d2):_0x8e78a7&&typeof _0x8e78a7==_0x13424b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13424b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8e78a7)[_0x13424b([0x73,0x6f,0x72,0x74])]()[_0x13424b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cac0e,_0x27c15d])=>{_0x52e66a(_0x1cac0e),_0x2da2d2(_0x27c15d);}):_0x52e66a(window[_0x13424b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8e78a7));}return _0x2da2d2(_0x22cca7),_0x14f917>>>0x0;}function _0x5cd1b3(_0x45f2d2){return _0x45f2d2[_0x13424b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13424b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13424b([0x30]));}function _0x4b2b29(_0x2f68ad){return _0x2f68ad[_0x13424b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13424b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13424b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2731bf(){}function _0x13424b(_0x115622){return _0x115622['map'](_0x225e52=>String['fromCharCode'](_0x225e52))['join']('');}_0x4128a4(await _0x109df4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10fdd6){const {plugins:_0xd4654d,editing:_0x558c05,model:_0x29cdca}=this['editor'],_0x2cbd00=_0xd4654d['get'](_0x1070a9)['getFootnote'](_0x10fdd6);return!!_0x2cbd00&&(_0x29cdca['change'](_0x308a52=>{_0x308a52['setSelection'](_0x308a52['createPositionAt'](_0x2cbd00['definition'],'end'));}),_0x558c05['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3b9fdd){const {plugins:_0xfc2da7,editing:_0x24bf14,model:_0x30095b}=this['editor'],_0x2a035c=_0xfc2da7['get'](_0x1070a9)['getFootnote'](_0x3b9fdd);return!!_0x2a035c&&(_0x30095b['change'](_0x5293bd=>{_0x5293bd['setSelection'](_0x2a035c['reference'],'on');}),_0x24bf14['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x21e550}=this['editor']['model'],_0x2c8b36=this['editor']['config']['get']('footnotes.multiBlock');_0x21e550['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x21e550['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x21e550['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2c8b36?_0x21e550['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x21e550['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x21e550['addChildCheck'](_0x2c73e9=>{for(const _0x13b7d4 of _0x2c73e9)if('footnoteDefinition'===_0x13b7d4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xf475fd}=this,{conversion:_0x46569f,editing:_0x251b9c}=_0xf475fd,{t:t}=_0xf475fd['locale'];_0x46569f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2307f0,{writer:_0x27bd47,consumable:_0x57de62})=>{const _0x463a2c=_0x2307f0['getChild'](0x0);if(!_0x463a2c||!_0x463a2c['is']('element','a'))return null;const _0x2bb919=_0x463a2c['getAttribute']('href')||'';if(!_0x2bb919['startsWith']('#'))return null;const _0x4da151=_0x2bb919['replace'](/^#/,'');if(!_0x4da151)return null;_0x57de62['consume'](_0x463a2c,{'name':!0x0,'attributes':['href']});for(const {item:_0x16647b}of _0x251b9c['view']['createRangeIn'](_0x463a2c))_0x16647b['is']('$textProxy')?_0x57de62['consume'](_0x16647b['textNode'],{'name':!0x0}):_0x16647b['is']('element')&&_0x57de62['consume'](_0x16647b,{'name':!0x0});return _0x27bd47['createElement']('footnoteRef',{'footnoteId':_0x4da151});}}),_0x46569f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48f5ef,{writer:_0x188fab})=>b(_0x48f5ef,_0x188fab)}),_0x46569f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x167c6b,{writer:_0x4e0b55})=>{const _0x47b7b8=_0x167c6b['getAttribute']('footnoteCounter');return _0x349d2f(b(_0x167c6b,_0x4e0b55),_0x4e0b55,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x47b7b8)});}});}['_defineDefinitionsConverters'](){const {editor:_0x55233f}=this,{t:t}=_0x55233f['locale'],{conversion:_0x1e4ffe}=_0x55233f;_0x1e4ffe['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e4ffe['for']('upcast')['add'](_0x47afbb=>{_0x47afbb['on']('element:ol',(_0x203d7b,_0x6f289d,_0x4b0fae)=>{const _0x52913c=_0x6f289d['viewItem'];if(!_0x52913c['hasClass']('footnotes-list')||!_0x6f289d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4b0fae['consumable']['consume'](_0x52913c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x463779,modelCursor:_0x3aa589}=_0x4b0fae['convertChildren'](_0x6f289d['viewItem'],_0x6f289d['modelCursor']);_0x6f289d['modelRange']=_0x463779,_0x6f289d['modelCursor']=_0x3aa589;}),_0x47afbb['on']('element:hr',(_0x3ef7c8,_0x14b531,_0x19fdb8)=>{const _0x5bd347=_0x14b531['viewItem'];_0x5bd347['hasClass']('footnotes-divider')&&_0x14b531['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x19fdb8['consumable']['consume'](_0x5bd347,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e4ffe['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d2278,{writer:_0x5b527a})=>D(_0x5b527a)}),_0x1e4ffe['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3da812,{writer:_0x2daa70})=>{const _0x10c2f9=D(_0x2daa70,{'data-footnotes-list-label':t('Footnotes')}),_0x5a1326=_0x349d2f(_0x10c2f9,_0x2daa70,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2daa70['setCustomProperty']('footnotesDefinitions',!0x0,_0x5a1326),_0x5a1326;}});}['_defineDefinitionConverters'](){const {editor:_0x207970}=this,{conversion:_0x5b245b,locale:_0x2e198c}=_0x207970,_0x9f5536=_0x207970['config']['get']('footnotes.multiBlock');_0x5b245b['for']('upcast')['add'](_0x2d1185=>{_0x2d1185['on']('element:li',(_0x1cfff1,_0x4ab237,_0x127be4)=>{const _0xbde6ae=_0x4ab237['viewItem'];if(!_0xbde6ae['hasClass']('footnote-definition')||!_0xbde6ae['getAttribute']('id'))return;const _0x1d8454=_0xbde6ae['parent'];if(!_0x1d8454['is']('element','ol')||!_0x1d8454['hasClass']('footnotes-list'))return;if(!_0x127be4['consumable']['test'](_0xbde6ae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x43f8bd=_0x127be4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xbde6ae['getAttribute']('id')});if(!_0x127be4['safeInsert'](_0x43f8bd,_0x4ab237['modelCursor']))return;_0x127be4['consumable']['consume'](_0xbde6ae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x145aa0=Array['from'](_0xbde6ae['getChildren']())['find'](_0x3a7334=>_0x3a7334['is']('element')&&_0x3a7334['hasClass']('footnote-content'));for(const _0x2111af of _0xbde6ae['getChildren']())_0x2111af['is']('element')&&(_0x127be4['consumable']['consume'](_0x2111af,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x127be4['consumable']['consume'](_0x2111af,{'name':!0x0,'classes':'footnote-content'}));if(_0x145aa0){if(_0x9f5536)_0x127be4['convertChildren'](_0x145aa0,_0x43f8bd);else{const _0x23f61c=_0x127be4['writer']['createElement']('footnoteInlineContent');_0x127be4['writer']['insert'](_0x23f61c,_0x43f8bd),_0x127be4['convertChildren'](_0x145aa0,_0x23f61c);}}_0x127be4['updateConversionResult'](_0x43f8bd,_0x4ab237);});}),_0x5b245b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47d545,{writer:_0x155d74})=>y(_0x47d545,_0x155d74,_0x2e198c,{'dataPipeline':!0x0})}),_0x5b245b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xacea65,{writer:_0x1eb26b})=>y(_0xacea65,_0x1eb26b,_0x2e198c)});}['_defineBogusParagraphConverters'](){const {editor:_0x36d991}=this,{conversion:_0xbdc3ec}=_0x36d991;_0x36d991['config']['get']('footnotes.multiBlock')?(_0xbdc3ec['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0xbdc3ec['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x36d991['model']['document'],'change:data',()=>{!function(_0x259335,_0x4db269){const _0x17133c=_0x259335['document']['differ'],_0x4f8751=new Set();for(const _0x3bda54 of _0x17133c['getChanges']()){const _0x514b12='attribute'==_0x3bda54['type']?_0x3bda54['range']['start']['parent']:_0x3bda54['position']['parent'];_0x514b12['is']('element','footnoteDefinition')&&_0x4f8751['add'](_0x514b12);}for(const _0x1e98b4 of _0x4f8751['values']()){const _0x4325cd=Array['from'](_0x1e98b4['getChildren']())['filter'](_0x5ba867=>v(_0x5ba867,_0x4db269['mapper']));for(const _0x3e2bde of _0x4325cd)_0x4db269['reconvertItem'](_0x3e2bde);}}(_0x36d991['model'],_0x36d991['editing']);})):(_0xbdc3ec['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0xbdc3ec['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x55b6c0,{writer:_0x5362e2})=>{const _0x5c0b12=_0x5362e2['createContainerElement']('span');return _0x5362e2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5c0b12),_0x5c0b12;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5359be}=this,{editing:_0x35fa9b,t:t}=_0x5359be,_0x17c1b3=_0x5359be['model']['document']['selection'];_0x5359be['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5359be['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x35fa9b['view']['document'],'enter',(_0x507503,_0x169e03)=>{const _0x45e7e5=function(_0x4370b0){const _0x1f28af=_0x4370b0['getSelectedElement']();if(_0x1f28af?.['is']('element','footnoteRef'))return _0x1f28af;return null;}(_0x17c1b3);if(_0x45e7e5){const _0x38a355=_0x45e7e5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x38a355),_0x169e03['preventDefault'](),_0x507503['stop']();}},{'context':_0x91ceb2});}['_defineClickHandlers'](){const {editor:_0x4923d2}=this,{editing:_0x437ec7}=_0x4923d2;_0x4923d2['editing']['view']['addObserver'](_0xf0aeef),_0x4923d2['editing']['view']['addObserver'](_0x30e9f9);let _0x5e6c4b=!0x1;this['listenTo'](_0x437ec7['view']['document'],'pointerdown',(_0x4caee8,_0x2cbe70)=>{const {target:_0x3defd2}=_0x2cbe70,_0x169182=_0x437ec7['view']['document']['selection'];_0x5e6c4b=!!(_0x3defd2?.['is']('element','a')&&_0x3defd2['parent']?.['is']('element','sup')&&_0x3defd2['parent']['hasClass']('footnote'))&&_0x169182['getSelectedElement']()===_0x3defd2['parent'];},{'priority':'high'}),this['listenTo'](_0x437ec7['view']['document'],'click',(_0x1ae0c,_0x21e97b)=>{const {target:_0x4958a6}=_0x21e97b;if(!_0x4958a6?.['is']('element','a'))return;if(_0x4958a6['parent']?.['is']('element','sup')&&_0x4958a6['parent']['hasClass']('footnote')&&!_0x5e6c4b)return void _0x21e97b['preventDefault']();let _0x1c4ef5=_0x4958a6['getAttribute']('href');if(!_0x1c4ef5?.['startsWith']('#'))return;_0x1c4ef5=_0x1c4ef5['slice'](0x1);let _0x1a6a44=!0x1;(_0x1c4ef5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1c4ef5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1c4ef5))&&(_0x1a6a44=!0x0),_0x1a6a44&&(_0x21e97b['preventDefault'](),_0x1ae0c['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2f902c}={}){return(_0x48f0da,{writer:_0x45872f})=>{if(!g(_0x48f0da))return null;if(!_0x2f902c)return _0x45872f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x50f328=_0x45872f['createContainerElement']('p');return _0x45872f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x50f328),_0x50f328;};}function g(_0x1e5647){const {parent:_0x14200d}=_0x1e5647;if(!_0x14200d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x14200d['childCount'])return!0x1;for(const _0x5e9381 of _0x1e5647['getAttributeKeys']())if(!_0x5e9381['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5e9381)return!0x1;return!0x0;}function v(_0x3cc353,_0x5f381f){if(!_0x3cc353['is']('element','paragraph'))return!0x1;const _0x29d2b5=_0x5f381f['toViewElement'](_0x3cc353);return!!_0x29d2b5&&g(_0x3cc353)!==_0x29d2b5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x40a7b3){return _0x91ceb2(_0x40a7b3)&&_0x40a7b3['is']('containerElement')&&!!_0x40a7b3['getCustomProperty']('footnotesDefinitions');}function D(_0x33d5d7,_0x37e2ba={}){const _0x862efe=_0x33d5d7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x434a55=_0x33d5d7['createContainerElement']('ol',{'class':'footnotes-list'},_0x33d5d7['createSlot']());return _0x33d5d7['createContainerElement']('div',{'class':'footnotes',..._0x37e2ba},[_0x862efe,_0x434a55]);}function b(_0x428392,_0x23481d){const _0x2c8d4a=_0x428392['getAttribute']('footnoteId'),_0xf07619=_0x428392['getAttribute']('footnoteCounter'),_0x4542f5=_0x23481d['createUIElement']('a',{'href':'#'+_0x2c8d4a},function(_0x481105){const _0x292431=this['toDomElement'](_0x481105);return _0x292431['textContent']=_0xf07619,_0x292431;}),_0x194c38=_0x23481d['createContainerElement']('sup',{'id':'ref-'+_0x2c8d4a,'class':'footnote'},[_0x4542f5]);return _0x194c38['getFillerOffset']=()=>null,_0x194c38;}function y(_0x545db9,_0x4612d0,_0x50a000,{dataPipeline:_0xb22bf5}={}){const {t:t}=_0x50a000,_0x1ddaa0=_0x545db9['getAttribute']('footnoteId'),_0x59ad4d=_0x4612d0['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1ddaa0},function(_0x835a34){const _0x3888ca=this['toDomElement'](_0x835a34);return _0x3888ca['innerText']='^',_0x3888ca;}),_0x46090f=_0xb22bf5?_0x4612d0['createContainerElement']('div',{'class':'footnote-content'}):_0x5c12bd(_0x4612d0['createEditableElement']('div',{'class':'footnote-content'}),_0x4612d0,{'label':t('Footnote\x20content.')});return _0x4612d0['insert'](_0x4612d0['createPositionAt'](_0x46090f,0x0),_0x4612d0['createSlot']()),_0x4612d0['createContainerElement']('li',{'class':'footnote-definition','id':_0x1ddaa0},[_0x59ad4d,_0x46090f]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x382be1=_0x295e;function _0x295e(_0xbabf96,_0x268e53){const _0x5dd81a=_0x5dd8();return _0x295e=function(_0x295e05,_0x2eeae2){_0x295e05=_0x295e05-0xd1;let _0x1f6959=_0x5dd81a[_0x295e05];return _0x1f6959;},_0x295e(_0xbabf96,_0x268e53);}(function(_0x2a5450,_0x4f1261){const _0x25a596=_0x295e,_0x216318=_0x2a5450();while(!![]){try{const _0xb3aa0c=parseInt(_0x25a596(0xe7))/0x1*(parseInt(_0x25a596(0xd2))/0x2)+-parseInt(_0x25a596(0xe2))/0x3*(parseInt(_0x25a596(0xe8))/0x4)+parseInt(_0x25a596(0xd5))/0x5+parseInt(_0x25a596(0xde))/0x6*(-parseInt(_0x25a596(0xe0))/0x7)+parseInt(_0x25a596(0xe1))/0x8*(-parseInt(_0x25a596(0xd8))/0x9)+-parseInt(_0x25a596(0xdb))/0xa*(-parseInt(_0x25a596(0xdc))/0xb)+parseInt(_0x25a596(0xdf))/0xc;if(_0xb3aa0c===_0x4f1261)break;else _0x216318['push'](_0x216318['shift']());}catch(_0x38e3ec){_0x216318['push'](_0x216318['shift']());}}}(_0x5dd8,0x51b61));function _0x5dd8(){const _0x57069a=['3343668DCLCCk','83461iQdXYl','1990672GpYCXI','3VQDuyq','footnotesListStart','isInteger','execute','value','47891PMxagu','1806392RpWDzj','get','getAttribute','change','10QyiBQS','model','setAttribute','2376830odaHqo','isEnabled','refresh','9tsiLDM','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','10hjLAGO','982883ZGaEat','plugins','24fHhAXV'];_0x5dd8=function(){return _0x57069a;};return _0x5dd8();}import{Command as _0x4648ca}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3ba035}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4648ca{[_0x382be1(0xd7)](){const _0x42a082=_0x382be1,{editor:_0x1dc2c0}=this,_0x5aa8ff=_0x1dc2c0[_0x42a082(0xdd)][_0x42a082(0xe9)](_0x3ba035)[_0x42a082(0xd9)]();this[_0x42a082(0xd6)]=!!_0x5aa8ff,this[_0x42a082(0xe6)]=_0x5aa8ff?.[_0x42a082(0xea)](_0x42a082(0xe3))??null;}[_0x382be1(0xe5)]({value:_0x246382}){const _0x725e81=_0x382be1,{editor:_0x9f980a}=this,_0x3dc137=_0x9f980a[_0x725e81(0xdd)][_0x725e81(0xe9)](_0x3ba035),_0x137ee9=_0x3dc137[_0x725e81(0xd9)]();_0x137ee9&&Number[_0x725e81(0xe4)](_0x246382)&&_0x9f980a[_0x725e81(0xd3)][_0x725e81(0xd1)](_0x4fae30=>{const _0x20bb3c=_0x725e81;_0x4fae30[_0x20bb3c(0xd4)](_0x20bb3c(0xe3),_0x246382,_0x137ee9),_0x3dc137[_0x20bb3c(0xda)](_0x4fae30);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1873(_0x9e4fb5,_0xe95cba){const _0x5b5914=_0x5b59();return _0x1873=function(_0x18732d,_0x2b69f7){_0x18732d=_0x18732d-0x1cd;let _0x4dc34e=_0x5b5914[_0x18732d];return _0x4dc34e;},_0x1873(_0x9e4fb5,_0xe95cba);}const _0x2368b7=_0x1873;(function(_0x44a796,_0x295500){const _0x5a3421=_0x1873,_0x2b004a=_0x44a796();while(!![]){try{const _0x56701b=parseInt(_0x5a3421(0x1dd))/0x1+-parseInt(_0x5a3421(0x1d5))/0x2+-parseInt(_0x5a3421(0x1cf))/0x3*(-parseInt(_0x5a3421(0x1e0))/0x4)+-parseInt(_0x5a3421(0x1d2))/0x5+-parseInt(_0x5a3421(0x1df))/0x6+parseInt(_0x5a3421(0x1d0))/0x7*(-parseInt(_0x5a3421(0x1ce))/0x8)+-parseInt(_0x5a3421(0x1cd))/0x9*(-parseInt(_0x5a3421(0x1dc))/0xa);if(_0x56701b===_0x295500)break;else _0x2b004a['push'](_0x2b004a['shift']());}catch(_0x6ed3bf){_0x2b004a['push'](_0x2b004a['shift']());}}}(_0x5b59,0x60c05));import{Command as _0x104cfa}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5ce9ac}from'../footnotespropertiesconfig.js';function _0x5b59(){const _0x47e96c=['348289GubIBH','execute','4403214xEYVoP','4VPsDwH','isEnabled','getAttribute','value','change','7011taPLFn','23032VBNCCo','59277NLoCpJ','1057wZLLuP','setAttribute','3010065wHORaf','getFootnotesDefinitionsObjectElement','plugins','1560826PFgFsc','footnotesListStyle','refresh','_updateFootnotesCounters','model','includes','get','33110noyUvA'];_0x5b59=function(){return _0x47e96c;};return _0x5b59();}import{FootnotesTracker as _0x47d65a}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x104cfa{[_0x2368b7(0x1d7)](){const _0xc40120=_0x2368b7,{editor:_0x52f453}=this,_0x98f628=_0x52f453[_0xc40120(0x1d4)][_0xc40120(0x1db)](_0x47d65a)[_0xc40120(0x1d3)]();this[_0xc40120(0x1e1)]=!!_0x98f628,this[_0xc40120(0x1e3)]=_0x98f628?.[_0xc40120(0x1e2)](_0xc40120(0x1d6))??null;}[_0x2368b7(0x1de)]({value:_0x115261}){const _0xeddc62=_0x2368b7,{editor:_0x2831bd}=this,_0x5d96d2=_0x2831bd[_0xeddc62(0x1d4)][_0xeddc62(0x1db)](_0x47d65a),_0x1bdbb4=_0x5d96d2[_0xeddc62(0x1d3)]();_0x1bdbb4&&_0x5ce9ac[_0xeddc62(0x1da)](_0x115261)&&_0x2831bd[_0xeddc62(0x1d9)][_0xeddc62(0x1e4)](_0x454b2f=>{const _0x3af340=_0xeddc62;_0x454b2f[_0x3af340(0x1d1)](_0x3af340(0x1d6),_0x115261,_0x1bdbb4),_0x5d96d2[_0x3af340(0x1d8)](_0x454b2f);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3116(_0x56a57c,_0x1ad9e3){const _0x4dd977=_0x4dd9();return _0x3116=function(_0x3116c1,_0x4fab0b){_0x3116c1=_0x3116c1-0x103;let _0xd00fac=_0x4dd977[_0x3116c1];return _0xd00fac;},_0x3116(_0x56a57c,_0x1ad9e3);}const _0xb0e3be=_0x3116;(function(_0x32d21e,_0xef04ed){const _0x20caad=_0x3116,_0x29e100=_0x32d21e();while(!![]){try{const _0x480f17=parseInt(_0x20caad(0x111))/0x1+parseInt(_0x20caad(0x10c))/0x2+-parseInt(_0x20caad(0x105))/0x3+-parseInt(_0x20caad(0x112))/0x4*(parseInt(_0x20caad(0x10f))/0x5)+-parseInt(_0x20caad(0x110))/0x6*(parseInt(_0x20caad(0x10e))/0x7)+parseInt(_0x20caad(0x107))/0x8*(parseInt(_0x20caad(0x114))/0x9)+-parseInt(_0x20caad(0x10a))/0xa;if(_0x480f17===_0xef04ed)break;else _0x29e100['push'](_0x29e100['shift']());}catch(_0x3418f0){_0x29e100['push'](_0x29e100['shift']());}}}(_0x4dd9,0x831c0));function _0x4dd9(){const _0x55f37b=['1526690NBafSU','upper-latin','252iWCrdi','20ereuhZ','32034eiBARs','568598fSoiBs','1045524EYssVi','lower-alpha','7805331mBpCgH','decimal','lower-roman','15960XjkeBj','lower-latin','8CTjzHQ','upper-roman','upper-alpha','4191300wTAgFT','decimal-leading-zero'];_0x4dd9=function(){return _0x55f37b;};return _0x4dd9();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0xb0e3be(0x103),_0xb0e3be(0x10b),_0xb0e3be(0x106),_0xb0e3be(0x10d),_0xb0e3be(0x113),_0xb0e3be(0x109),_0xb0e3be(0x104),_0xb0e3be(0x108)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x33697c=_0x4173;(function(_0x1d4f5b,_0x45ff92){const _0x36799f=_0x4173,_0x48f401=_0x1d4f5b();while(!![]){try{const _0x2352c3=-parseInt(_0x36799f(0x1cd))/0x1+parseInt(_0x36799f(0x194))/0x2*(-parseInt(_0x36799f(0x1db))/0x3)+-parseInt(_0x36799f(0x1ca))/0x4*(parseInt(_0x36799f(0x1c8))/0x5)+parseInt(_0x36799f(0x1ae))/0x6+-parseInt(_0x36799f(0x1ab))/0x7*(parseInt(_0x36799f(0x19c))/0x8)+parseInt(_0x36799f(0x1af))/0x9*(-parseInt(_0x36799f(0x1c0))/0xa)+parseInt(_0x36799f(0x1c5))/0xb*(parseInt(_0x36799f(0x198))/0xc);if(_0x2352c3===_0x45ff92)break;else _0x48f401['push'](_0x48f401['shift']());}catch(_0x1713f8){_0x48f401['push'](_0x48f401['shift']());}}}(_0x5a46,0xbd734));function _0x4173(_0x226329,_0x556875){const _0x5a463c=_0x5a46();return _0x4173=function(_0x417342,_0x139cf){_0x417342=_0x417342-0x180;let _0x382e1c=_0x5a463c[_0x417342];return _0x382e1c;},_0x4173(_0x226329,_0x556875);}import{Plugin as _0x21bd6b}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x39b34e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x1344e5}from'./commands/footnotesstartcommand.js';function _0x5a46(){const _0x479b3c=['upcast','pluginName','insert','2YbQIZo','init','removeAttribute','setAttribute','2126916Fdkevz','parseInt','footnotes.footnotesProperties.defaultListStyle','isNaN','120bvdYYs','hasClass','isOfficialPlugin','decimal','decimal-leading-zero','checkAttribute','getChildren','hasAttribute','footnotes-list','commands','fromCharCode','upper-roman','_getDefaultStartIndex','define','_defineSchema','44065QvmVlB','isPremiumPlugin','lower-latin','4981188DaeVGJ','9nEYvdL','nodeAfter','_getDefaultListStyle','document','_updateFootnotesCounters','_defineFormatter','createRangeOn','element','from','editor','name','toLowerCase','$text','element:ol','removeStyle','start','parent','14951770KsCteB','differ','consumable','getStyle','writer','209DFtymU','lower-alpha','toViewElement','3898540mqqBDu','plugins','4WPKGrb','registerPostFixer','footnotesStart','87814fNfpRi','upper-alpha','upper-latin','list-style-type','model','find','attribute:footnotesListStart:footnotesDefinitions','item','getChanges','_defineConverters','add','get','modelCursor','footnotesStyle','2894109PlcUik','getAttribute','mapper','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','for','getItems','type','downcast','toUpperCase','consume','schema','viewItem','padStart','_definePostfixer','extend','footnotesDefinitions','floor','lower-roman','config','setStyle','FootnotesPropertiesEditing','position','_formatFootnoteListValue','requires','max','setFootnoteFormatter','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStyle'];_0x5a46=function(){return _0x479b3c;};return _0x5a46();}import{FootnotesTracker as _0x2dca82}from'../footnotestracker.js';import{FootnotesEditing as _0x4e6222}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x21bd6b{static get[_0x33697c(0x192)](){const _0x199c69=_0x33697c;return _0x199c69(0x189);}static get[_0x33697c(0x18c)](){return[_0x4e6222,_0x2dca82];}static get[_0x33697c(0x19e)](){return!0x0;}static get[_0x33697c(0x1ac)](){return!0x0;}[_0x33697c(0x195)](){const _0x234c71=_0x33697c,{editor:_0x217636}=this;_0x217636[_0x234c71(0x187)][_0x234c71(0x1a9)](_0x234c71(0x19a),_0x234c71(0x19f)),_0x217636[_0x234c71(0x187)][_0x234c71(0x1a9)](_0x234c71(0x1de),0x1),_0x217636[_0x234c71(0x1a5)][_0x234c71(0x1d7)](_0x234c71(0x1da),new _0x39b34e(_0x217636)),_0x217636[_0x234c71(0x1a5)][_0x234c71(0x1d7)](_0x234c71(0x1cc),new _0x1344e5(_0x217636)),this[_0x234c71(0x1aa)](),this[_0x234c71(0x1d6)](),this[_0x234c71(0x1b4)](),this[_0x234c71(0x182)]();}[_0x33697c(0x1aa)](){const _0x169dbc=_0x33697c,{editor:_0x5470f6}=this,{schema:_0x4239f0}=_0x5470f6[_0x169dbc(0x1d1)];_0x4239f0[_0x169dbc(0x183)](_0x169dbc(0x184),{'allowAttributes':[_0x169dbc(0x190),_0x169dbc(0x1df)]});}[_0x33697c(0x1d6)](){const _0x25b370=_0x33697c,{editor:_0x5906e4}=this,{conversion:_0x25fde7,model:_0x787ef3}=_0x5906e4,{schema:_0x2e7391}=_0x787ef3;_0x25fde7[_0x25b370(0x1e0)](_0x25b370(0x191))[_0x25b370(0x1d7)](_0x235eaf=>{const _0x25f02e=_0x25b370;_0x235eaf['on'](_0x25f02e(0x1bc),(_0x54ca85,_0x497836,_0x33fef5)=>{const _0x103f89=_0x25f02e,_0x38904a=_0x497836[_0x103f89(0x180)],_0x288e6d=_0x497836[_0x103f89(0x1d9)]?.[_0x103f89(0x1bf)];_0x38904a[_0x103f89(0x19d)](_0x103f89(0x1a4))&&_0x288e6d?.['is'](_0x103f89(0x1b6),_0x103f89(0x184))&&(function(_0x3fa1b6,_0x331624,_0x51a910,_0x37a13f){const _0x3538af=_0x103f89;if(!_0x37a13f[_0x3538af(0x1a1)](_0x331624,_0x3538af(0x1df)))return;let _0x58547b=0x1;const _0x3dda13=_0x51a910[_0x3538af(0x1c2)][_0x3538af(0x1e5)](_0x3fa1b6,{'attributes':_0x3538af(0x1be)});if(_0x3dda13){const _0x57787b=Number[_0x3538af(0x199)](_0x3fa1b6[_0x3538af(0x1dc)](_0x3538af(0x1be)),0xa);Number[_0x3538af(0x19b)](_0x57787b)||(_0x58547b=_0x57787b);}!_0x3dda13&&_0x331624[_0x3538af(0x1a3)](_0x3538af(0x1df))||_0x51a910[_0x3538af(0x1c4)][_0x3538af(0x197)](_0x3538af(0x1df),_0x58547b,_0x331624);}(_0x38904a,_0x288e6d,_0x33fef5,_0x2e7391),function(_0x298d16,_0x4195e9,_0x534aa9,_0x112889){const _0x2fb417=_0x103f89;if(!_0x112889[_0x2fb417(0x1a1)](_0x4195e9,_0x2fb417(0x190)))return;let _0x4b1ad4=_0x2fb417(0x19f),_0x438bc2=!0x1;if(_0x534aa9[_0x2fb417(0x1c2)][_0x2fb417(0x1e5)](_0x298d16,{'attributes':_0x2fb417(0x1e2)})){const _0x426838={0x1:_0x2fb417(0x19f),'a':_0x2fb417(0x1c6),'A':_0x2fb417(0x1ce),'i':_0x2fb417(0x186),'I':_0x2fb417(0x1a7)}[_0x298d16[_0x2fb417(0x1dc)](_0x2fb417(0x1e2))];_0x426838&&(_0x4b1ad4=_0x426838),_0x438bc2=!0x0;}_0x534aa9[_0x2fb417(0x1c2)][_0x2fb417(0x1e5)](_0x298d16,{'styles':_0x2fb417(0x1d0)})&&(_0x4b1ad4=function(_0x26aaec){const _0xe1de24=_0x2fb417;switch(_0x26aaec){case _0xe1de24(0x1c6):return _0xe1de24(0x1ad);case _0xe1de24(0x1ce):return _0xe1de24(0x1cf);default:return _0x26aaec;}}(_0x298d16[_0x2fb417(0x1c3)](_0x2fb417(0x1d0))),_0x438bc2=!0x0),!_0x438bc2&&_0x4195e9[_0x2fb417(0x1a3)](_0x2fb417(0x190))||_0x534aa9[_0x2fb417(0x1c4)][_0x2fb417(0x197)](_0x2fb417(0x190),_0x4b1ad4,_0x4195e9);}(_0x38904a,_0x288e6d,_0x33fef5,_0x2e7391));});}),_0x25fde7[_0x25b370(0x1e0)](_0x25b370(0x1e3))[_0x25b370(0x1d7)](_0x32d261=>{const _0x446190=_0x25b370;_0x32d261['on'](_0x446190(0x1d3),(_0x24e87a,_0xe9a596,_0x2f9234)=>{const _0x32c949=_0x446190;if(!_0x2f9234[_0x32c949(0x1c2)][_0x32c949(0x1e5)](_0xe9a596[_0x32c949(0x1d4)],_0x24e87a[_0x32c949(0x1b9)]))return;const _0x5ab22a=M(_0xe9a596[_0x32c949(0x1d4)],_0x2f9234[_0x32c949(0x1dd)]),{attributeNewValue:_0x21a1b8}=_0xe9a596;null==_0x21a1b8||0x1===_0x21a1b8?_0x2f9234[_0x32c949(0x1c4)][_0x32c949(0x196)](_0x32c949(0x1be),_0x5ab22a):_0x2f9234[_0x32c949(0x1c4)][_0x32c949(0x197)](_0x32c949(0x1be),String(_0x21a1b8),_0x5ab22a);}),_0x32d261['on'](_0x446190(0x18f),(_0x367ed7,_0x1e55ab,_0x1bbb1a)=>{const _0x3f2fdd=_0x446190;if(!_0x1bbb1a[_0x3f2fdd(0x1c2)][_0x3f2fdd(0x1e5)](_0x1e55ab[_0x3f2fdd(0x1d4)],_0x367ed7[_0x3f2fdd(0x1b9)]))return;const _0x196fe4=M(_0x1e55ab[_0x3f2fdd(0x1d4)],_0x1bbb1a[_0x3f2fdd(0x1dd)]),{attributeNewValue:_0x5ef8ac}=_0x1e55ab;_0x5ef8ac&&_0x3f2fdd(0x19f)!==_0x5ef8ac?_0x1bbb1a[_0x3f2fdd(0x1c4)][_0x3f2fdd(0x188)](_0x3f2fdd(0x1d0),_0x5ef8ac,_0x196fe4):_0x1bbb1a[_0x3f2fdd(0x1c4)][_0x3f2fdd(0x1bd)](_0x3f2fdd(0x1d0),_0x196fe4);});});}[_0x33697c(0x182)](){const _0x2d3df7=_0x33697c,{editor:_0x2516dd}=this,{model:_0x13230b}=_0x2516dd,_0x3fbc24=_0x2516dd[_0x2d3df7(0x1c9)][_0x2d3df7(0x1d8)](_0x2dca82),_0x4f6bed=this[_0x2d3df7(0x1b1)](),_0x241a93=this[_0x2d3df7(0x1a8)]();_0x13230b[_0x2d3df7(0x1b2)][_0x2d3df7(0x1cb)](_0x4107b3=>{const _0xdeea59=_0x2d3df7,_0xb2a61b=_0x13230b[_0xdeea59(0x1b2)][_0xdeea59(0x1c1)][_0xdeea59(0x1d5)]();let _0x411b7a=!0x1;for(const _0x457bbc of _0xb2a61b){if(_0xdeea59(0x193)!==_0x457bbc[_0xdeea59(0x1e2)]||_0xdeea59(0x1bb)===_0x457bbc[_0xdeea59(0x1b9)])continue;const _0x498cb1=_0x13230b[_0xdeea59(0x1b5)](_0x457bbc[_0xdeea59(0x18a)][_0xdeea59(0x1b0)]);for(const _0x1afd18 of _0x498cb1[_0xdeea59(0x1e1)]())_0x1afd18['is'](_0xdeea59(0x1b6),_0xdeea59(0x184))&&(!_0x1afd18[_0xdeea59(0x1a3)](_0xdeea59(0x1df))&&_0x13230b[_0xdeea59(0x1e6)][_0xdeea59(0x1a1)](_0x1afd18,_0xdeea59(0x1df))&&(_0x4107b3[_0xdeea59(0x197)](_0xdeea59(0x1df),_0x241a93,_0x1afd18),_0x411b7a=!0x0),!_0x1afd18[_0xdeea59(0x1a3)](_0xdeea59(0x190))&&_0x13230b[_0xdeea59(0x1e6)][_0xdeea59(0x1a1)](_0x1afd18,_0xdeea59(0x190))&&(_0x4107b3[_0xdeea59(0x197)](_0xdeea59(0x190),_0x4f6bed,_0x1afd18),_0x411b7a=!0x0));}return _0x411b7a&&_0x3fbc24[_0xdeea59(0x1b3)](_0x4107b3),_0x411b7a;});}[_0x33697c(0x1b4)](){const _0x37f7db=_0x33697c,{editor:_0x536f2b}=this;_0x536f2b[_0x37f7db(0x1c9)][_0x37f7db(0x1d8)](_0x2dca82)[_0x37f7db(0x18e)](_0x13ffcb=>this[_0x37f7db(0x18b)](_0x13ffcb));}[_0x33697c(0x1b1)](){const _0x1764d4=_0x33697c;return this[_0x1764d4(0x1b8)][_0x1764d4(0x187)][_0x1764d4(0x1d8)](_0x1764d4(0x19a));}[_0x33697c(0x1a8)](){const _0x4637af=_0x33697c;return this[_0x4637af(0x1b8)][_0x4637af(0x187)][_0x4637af(0x1d8)](_0x4637af(0x1de));}[_0x33697c(0x18b)]({container:_0x47cf00,value:_0x396cbb,digits:_0x1015e4}){const _0x3a585f=_0x33697c,_0x126257=_0x47cf00[_0x3a585f(0x1dc)](_0x3a585f(0x190)),_0x438798=_0x47cf00[_0x3a585f(0x1dc)](_0x3a585f(0x1df)),_0x4b95f8=Math[_0x3a585f(0x185)](_0x396cbb)+(_0x438798??0x1)-0x1;switch(_0x126257){case _0x3a585f(0x1a0):return function(_0x48e7c1,_0x5ba175){const _0x4e2b0d=_0x3a585f;return String(_0x48e7c1)[_0x4e2b0d(0x181)](_0x5ba175,'0');}(_0x4b95f8,Math[_0x3a585f(0x18d)](0x2,_0x1015e4));case _0x3a585f(0x1c6):case _0x3a585f(0x1ad):return N(_0x4b95f8,!0x1);case _0x3a585f(0x1ce):case _0x3a585f(0x1cf):return N(_0x4b95f8,!0x0);case _0x3a585f(0x186):return X(_0x4b95f8,!0x1);case _0x3a585f(0x1a7):return X(_0x4b95f8,!0x0);default:return String(_0x4b95f8);}}}function M(_0x4e2ba1,_0x505625){const _0x4f5b86=_0x33697c,_0x37f130=_0x505625[_0x4f5b86(0x1c7)](_0x4e2ba1);return Array[_0x4f5b86(0x1b7)](_0x37f130[_0x4f5b86(0x1a2)]())[_0x4f5b86(0x1d2)](_0x364f41=>_0x364f41['is'](_0x4f5b86(0x1b6),'ol')&&_0x364f41[_0x4f5b86(0x19d)](_0x4f5b86(0x1a4)));}function N(_0x73fa39,_0x374416){const _0x2ac56=_0x33697c;let _0x52b93d='',_0x23b52f=_0x73fa39;for(;_0x23b52f>0x0;){const _0x12f5d0=(_0x23b52f-0x1)%0x1a;_0x52b93d=String[_0x2ac56(0x1a6)](0x61+_0x12f5d0)+_0x52b93d,_0x23b52f=Math[_0x2ac56(0x185)]((_0x23b52f-0x1)/0x1a);}return _0x374416?_0x52b93d[_0x2ac56(0x1e4)]():_0x52b93d;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x18241e,_0x30fee7){const _0x29e3ad=_0x33697c;let _0x3fbf61='',_0x499e08=_0x18241e;for(const {value:_0xd03a4c,numeral:_0x22b586}of V)for(;_0x499e08>=_0xd03a4c;)_0x3fbf61+=_0x22b586,_0x499e08-=_0xd03a4c;return _0x30fee7?_0x3fbf61:_0x3fbf61[_0x29e3ad(0x1ba)]();}
|
|
23
|
+
const _0x426f14=_0x2f08;function _0x2f08(_0x13ba1c,_0x5516c1){const _0x2a8f16=_0x2a8f();return _0x2f08=function(_0x2f085e,_0x24ca09){_0x2f085e=_0x2f085e-0x1e5;let _0x109e73=_0x2a8f16[_0x2f085e];return _0x109e73;},_0x2f08(_0x13ba1c,_0x5516c1);}(function(_0x35333f,_0xe18e39){const _0x59df3f=_0x2f08,_0x2b7cb3=_0x35333f();while(!![]){try{const _0x2636ec=-parseInt(_0x59df3f(0x1e9))/0x1*(-parseInt(_0x59df3f(0x217))/0x2)+parseInt(_0x59df3f(0x1fb))/0x3*(-parseInt(_0x59df3f(0x208))/0x4)+-parseInt(_0x59df3f(0x24a))/0x5+parseInt(_0x59df3f(0x200))/0x6*(-parseInt(_0x59df3f(0x20e))/0x7)+-parseInt(_0x59df3f(0x202))/0x8*(-parseInt(_0x59df3f(0x215))/0x9)+-parseInt(_0x59df3f(0x237))/0xa+parseInt(_0x59df3f(0x1fc))/0xb*(parseInt(_0x59df3f(0x22c))/0xc);if(_0x2636ec===_0xe18e39)break;else _0x2b7cb3['push'](_0x2b7cb3['shift']());}catch(_0x4079b6){_0x2b7cb3['push'](_0x2b7cb3['shift']());}}}(_0x2a8f,0xde9fc));import{Plugin as _0x18794a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2cf24a}from'./commands/footnotesstylecommand.js';function _0x2a8f(){const _0x6bf70c=['decimal','differ','toUpperCase','writer','removeAttribute','_defineSchema','document','upper-roman','floor','config','_defineFormatter','attribute:footnotesListStart:footnotesDefinitions','24RFWYjV','210683iQYuwz','removeStyle','from','footnotesDefinitions','90606twJgdq','getItems','3232632JAUdCb','element:ol','hasClass','commands','add','item','891832ALAGUB','modelCursor','find','padStart','_formatFootnoteListValue','hasAttribute','133dPFApf','plugins','downcast','createRangeOn','getAttribute','setFootnoteFormatter','list-style-type','9HXGXsM','isNaN','2482vXBRVq','$text','consumable','_updateFootnotesCounters','_getDefaultListStyle','for','isPremiumPlugin','element','footnotesListStart','init','footnotes.footnotesProperties.defaultStartIndex','upper-latin','max','toViewElement','pluginName','define','lower-alpha','isOfficialPlugin','schema','start','lower-latin','3204jtBKVC','requires','decimal-leading-zero','consume','footnotes.footnotesProperties.defaultListStyle','checkAttribute','setStyle','_getDefaultStartIndex','footnotesStyle','_defineConverters','FootnotesPropertiesEditing','14253620ijCgSg','footnotesStart','_definePostfixer','lower-roman','nodeAfter','get','footnotesListStyle','getStyle','upcast','name','extend','fromCharCode','parseInt','position','model','insert','registerPostFixer','getChildren','getChanges','6437900URgtPT','setAttribute','footnotes-list','parent','attribute:footnotesListStyle:footnotesDefinitions','mapper','143Acjqfa','toLowerCase','upper-alpha','viewItem','editor','type'];_0x2a8f=function(){return _0x6bf70c;};return _0x2a8f();}import{FootnotesStartCommand as _0x58be49}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x2a6866}from'../footnotestracker.js';import{FootnotesEditing as _0x3f54ec}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x18794a{static get[_0x426f14(0x225)](){const _0x10de28=_0x426f14;return _0x10de28(0x236);}static get[_0x426f14(0x22d)](){return[_0x3f54ec,_0x2a6866];}static get[_0x426f14(0x228)](){return!0x0;}static get[_0x426f14(0x21d)](){return!0x0;}[_0x426f14(0x220)](){const _0x136509=_0x426f14,{editor:_0x259edb}=this;_0x259edb[_0x136509(0x1f8)][_0x136509(0x226)](_0x136509(0x230),_0x136509(0x1ef)),_0x259edb[_0x136509(0x1f8)][_0x136509(0x226)](_0x136509(0x221),0x1),_0x259edb[_0x136509(0x205)][_0x136509(0x206)](_0x136509(0x234),new _0x2cf24a(_0x259edb)),_0x259edb[_0x136509(0x205)][_0x136509(0x206)](_0x136509(0x238),new _0x58be49(_0x259edb)),this[_0x136509(0x1f4)](),this[_0x136509(0x235)](),this[_0x136509(0x1f9)](),this[_0x136509(0x239)]();}[_0x426f14(0x1f4)](){const _0x17ac39=_0x426f14,{editor:_0x3caa79}=this,{schema:_0x3a23f6}=_0x3caa79[_0x17ac39(0x245)];_0x3a23f6[_0x17ac39(0x241)](_0x17ac39(0x1ff),{'allowAttributes':[_0x17ac39(0x23d),_0x17ac39(0x21f)]});}[_0x426f14(0x235)](){const _0x59033e=_0x426f14,{editor:_0x3d4db3}=this,{conversion:_0x4193ab,model:_0x268f07}=_0x3d4db3,{schema:_0x27aa10}=_0x268f07;_0x4193ab[_0x59033e(0x21c)](_0x59033e(0x23f))[_0x59033e(0x206)](_0x4ea104=>{const _0x14ce98=_0x59033e;_0x4ea104['on'](_0x14ce98(0x203),(_0x3d3571,_0x34348f,_0x33fbd9)=>{const _0x1f07e3=_0x14ce98,_0x38ce9e=_0x34348f[_0x1f07e3(0x1ec)],_0x38b070=_0x34348f[_0x1f07e3(0x209)]?.[_0x1f07e3(0x1e6)];_0x38ce9e[_0x1f07e3(0x204)](_0x1f07e3(0x1e5))&&_0x38b070?.['is'](_0x1f07e3(0x21e),_0x1f07e3(0x1ff))&&(function(_0x404f55,_0x33681e,_0x48b037,_0x537e2a){const _0x47db12=_0x1f07e3;if(!_0x537e2a[_0x47db12(0x231)](_0x33681e,_0x47db12(0x21f)))return;let _0x490840=0x1;const _0x2413f1=_0x48b037[_0x47db12(0x219)][_0x47db12(0x22f)](_0x404f55,{'attributes':_0x47db12(0x22a)});if(_0x2413f1){const _0x186404=Number[_0x47db12(0x243)](_0x404f55[_0x47db12(0x212)](_0x47db12(0x22a)),0xa);Number[_0x47db12(0x216)](_0x186404)||(_0x490840=_0x186404);}!_0x2413f1&&_0x33681e[_0x47db12(0x20d)](_0x47db12(0x21f))||_0x48b037[_0x47db12(0x1f2)][_0x47db12(0x24b)](_0x47db12(0x21f),_0x490840,_0x33681e);}(_0x38ce9e,_0x38b070,_0x33fbd9,_0x27aa10),function(_0x34588c,_0x44ea7e,_0x16a1fb,_0x3e6578){const _0xc9c177=_0x1f07e3;if(!_0x3e6578[_0xc9c177(0x231)](_0x44ea7e,_0xc9c177(0x23d)))return;let _0x388062=_0xc9c177(0x1ef),_0x3931d9=!0x1;if(_0x16a1fb[_0xc9c177(0x219)][_0xc9c177(0x22f)](_0x34588c,{'attributes':_0xc9c177(0x1ee)})){const _0x550ca0={0x1:_0xc9c177(0x1ef),'a':_0xc9c177(0x227),'A':_0xc9c177(0x1eb),'i':_0xc9c177(0x23a),'I':_0xc9c177(0x1f6)}[_0x34588c[_0xc9c177(0x212)](_0xc9c177(0x1ee))];_0x550ca0&&(_0x388062=_0x550ca0),_0x3931d9=!0x0;}_0x16a1fb[_0xc9c177(0x219)][_0xc9c177(0x22f)](_0x34588c,{'styles':_0xc9c177(0x214)})&&(_0x388062=function(_0x4b56ca){const _0x280248=_0xc9c177;switch(_0x4b56ca){case _0x280248(0x227):return _0x280248(0x22b);case _0x280248(0x1eb):return _0x280248(0x222);default:return _0x4b56ca;}}(_0x34588c[_0xc9c177(0x23e)](_0xc9c177(0x214))),_0x3931d9=!0x0),!_0x3931d9&&_0x44ea7e[_0xc9c177(0x20d)](_0xc9c177(0x23d))||_0x16a1fb[_0xc9c177(0x1f2)][_0xc9c177(0x24b)](_0xc9c177(0x23d),_0x388062,_0x44ea7e);}(_0x38ce9e,_0x38b070,_0x33fbd9,_0x27aa10));});}),_0x4193ab[_0x59033e(0x21c)](_0x59033e(0x210))[_0x59033e(0x206)](_0x346867=>{const _0x28c522=_0x59033e;_0x346867['on'](_0x28c522(0x1fa),(_0x2519e3,_0x529dfb,_0x20e622)=>{const _0x2d7bc6=_0x28c522;if(!_0x20e622[_0x2d7bc6(0x219)][_0x2d7bc6(0x22f)](_0x529dfb[_0x2d7bc6(0x207)],_0x2519e3[_0x2d7bc6(0x240)]))return;const _0x307e5f=M(_0x529dfb[_0x2d7bc6(0x207)],_0x20e622[_0x2d7bc6(0x1e8)]),{attributeNewValue:_0x3f96f0}=_0x529dfb;null==_0x3f96f0||0x1===_0x3f96f0?_0x20e622[_0x2d7bc6(0x1f2)][_0x2d7bc6(0x1f3)](_0x2d7bc6(0x22a),_0x307e5f):_0x20e622[_0x2d7bc6(0x1f2)][_0x2d7bc6(0x24b)](_0x2d7bc6(0x22a),String(_0x3f96f0),_0x307e5f);}),_0x346867['on'](_0x28c522(0x1e7),(_0x518085,_0x2a4f71,_0x1507a9)=>{const _0x3750ca=_0x28c522;if(!_0x1507a9[_0x3750ca(0x219)][_0x3750ca(0x22f)](_0x2a4f71[_0x3750ca(0x207)],_0x518085[_0x3750ca(0x240)]))return;const _0x609b16=M(_0x2a4f71[_0x3750ca(0x207)],_0x1507a9[_0x3750ca(0x1e8)]),{attributeNewValue:_0x143679}=_0x2a4f71;_0x143679&&_0x3750ca(0x1ef)!==_0x143679?_0x1507a9[_0x3750ca(0x1f2)][_0x3750ca(0x232)](_0x3750ca(0x214),_0x143679,_0x609b16):_0x1507a9[_0x3750ca(0x1f2)][_0x3750ca(0x1fd)](_0x3750ca(0x214),_0x609b16);});});}[_0x426f14(0x239)](){const _0x3e6655=_0x426f14,{editor:_0x260f28}=this,{model:_0x4ea11c}=_0x260f28,_0xef1906=_0x260f28[_0x3e6655(0x20f)][_0x3e6655(0x23c)](_0x2a6866),_0x561a8b=this[_0x3e6655(0x21b)](),_0x250b58=this[_0x3e6655(0x233)]();_0x4ea11c[_0x3e6655(0x1f5)][_0x3e6655(0x247)](_0x3cc52a=>{const _0x3039fb=_0x3e6655,_0x23a1e5=_0x4ea11c[_0x3039fb(0x1f5)][_0x3039fb(0x1f0)][_0x3039fb(0x249)]();let _0x27d1b5=!0x1;for(const _0x55e1cb of _0x23a1e5){if(_0x3039fb(0x246)!==_0x55e1cb[_0x3039fb(0x1ee)]||_0x3039fb(0x218)===_0x55e1cb[_0x3039fb(0x240)])continue;const _0x37b3e7=_0x4ea11c[_0x3039fb(0x211)](_0x55e1cb[_0x3039fb(0x244)][_0x3039fb(0x23b)]);for(const _0x27d048 of _0x37b3e7[_0x3039fb(0x201)]())_0x27d048['is'](_0x3039fb(0x21e),_0x3039fb(0x1ff))&&(!_0x27d048[_0x3039fb(0x20d)](_0x3039fb(0x21f))&&_0x4ea11c[_0x3039fb(0x229)][_0x3039fb(0x231)](_0x27d048,_0x3039fb(0x21f))&&(_0x3cc52a[_0x3039fb(0x24b)](_0x3039fb(0x21f),_0x250b58,_0x27d048),_0x27d1b5=!0x0),!_0x27d048[_0x3039fb(0x20d)](_0x3039fb(0x23d))&&_0x4ea11c[_0x3039fb(0x229)][_0x3039fb(0x231)](_0x27d048,_0x3039fb(0x23d))&&(_0x3cc52a[_0x3039fb(0x24b)](_0x3039fb(0x23d),_0x561a8b,_0x27d048),_0x27d1b5=!0x0));}return _0x27d1b5&&_0xef1906[_0x3039fb(0x21a)](_0x3cc52a),_0x27d1b5;});}[_0x426f14(0x1f9)](){const _0x4fd349=_0x426f14,{editor:_0x193c3d}=this;_0x193c3d[_0x4fd349(0x20f)][_0x4fd349(0x23c)](_0x2a6866)[_0x4fd349(0x213)](_0x383ad2=>this[_0x4fd349(0x20c)](_0x383ad2));}[_0x426f14(0x21b)](){const _0x1a957f=_0x426f14;return this[_0x1a957f(0x1ed)][_0x1a957f(0x1f8)][_0x1a957f(0x23c)](_0x1a957f(0x230));}[_0x426f14(0x233)](){const _0xbc819f=_0x426f14;return this[_0xbc819f(0x1ed)][_0xbc819f(0x1f8)][_0xbc819f(0x23c)](_0xbc819f(0x221));}[_0x426f14(0x20c)]({container:_0x5d4363,value:_0x462481,digits:_0x543834}){const _0x571701=_0x426f14,_0x29111e=_0x5d4363[_0x571701(0x212)](_0x571701(0x23d)),_0x185888=_0x5d4363[_0x571701(0x212)](_0x571701(0x21f)),_0x2f7885=Math[_0x571701(0x1f7)](_0x462481)+(_0x185888??0x1)-0x1;switch(_0x29111e){case _0x571701(0x22e):return function(_0x14c4bb,_0x42f801){const _0x270808=_0x571701;return String(_0x14c4bb)[_0x270808(0x20b)](_0x42f801,'0');}(_0x2f7885,Math[_0x571701(0x223)](0x2,_0x543834));case _0x571701(0x227):case _0x571701(0x22b):return N(_0x2f7885,!0x1);case _0x571701(0x1eb):case _0x571701(0x222):return N(_0x2f7885,!0x0);case _0x571701(0x23a):return X(_0x2f7885,!0x1);case _0x571701(0x1f6):return X(_0x2f7885,!0x0);default:return String(_0x2f7885);}}}function M(_0x4b29fa,_0x3acbaa){const _0x362fd6=_0x426f14,_0x673e10=_0x3acbaa[_0x362fd6(0x224)](_0x4b29fa);return Array[_0x362fd6(0x1fe)](_0x673e10[_0x362fd6(0x248)]())[_0x362fd6(0x20a)](_0x255b32=>_0x255b32['is'](_0x362fd6(0x21e),'ol')&&_0x255b32[_0x362fd6(0x204)](_0x362fd6(0x1e5)));}function N(_0x1fe155,_0x4462c0){const _0x363729=_0x426f14;let _0x47644f='',_0x455f8a=_0x1fe155;for(;_0x455f8a>0x0;){const _0x3ce5ac=(_0x455f8a-0x1)%0x1a;_0x47644f=String[_0x363729(0x242)](0x61+_0x3ce5ac)+_0x47644f,_0x455f8a=Math[_0x363729(0x1f7)]((_0x455f8a-0x1)/0x1a);}return _0x4462c0?_0x47644f[_0x363729(0x1f1)]():_0x47644f;}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(_0x2f2f98,_0x49f8c3){const _0x5af4a6=_0x426f14;let _0x28f88f='',_0x27ecdc=_0x2f2f98;for(const {value:_0x172c1a,numeral:_0x3de228}of V)for(;_0x27ecdc>=_0x172c1a;)_0x28f88f+=_0x3de228,_0x27ecdc-=_0x172c1a;return _0x49f8c3?_0x28f88f:_0x28f88f[_0x5af4a6(0x1ea)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x2d1c0f,ButtonView as _0x8588d9,ContextualBalloon as _0xc64363,createDropdown as _0x59d33b}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4f909b}from'ckeditor5/src/widget.js';import{Plugin as _0x12fa28}from'ckeditor5/src/core.js';import{IconFootnote as _0x3cf99b,IconListStyleDecimal as _0x2a4847,IconListStyleDecimalLeadingZero as _0x228388,IconListStyleLowerLatin as _0x7317ee,IconListStyleLowerRoman as _0x5c71f9,IconListStyleUpperLatin as _0x5c4978,IconListStyleUpperRoman as _0x21a831}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x19a6c4}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1e5f65}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x12fa28{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xc64363,_0x4f909b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x179aee}=this,{componentFactory:_0x3d7f15}=_0x179aee['ui'];_0x179aee['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3d7f15['add']('footnotesStyle',function(_0x1ea4fd){return _0x31ee2b=>{const {t:t}=_0x31ee2b,_0x53bf46=_0x1ea4fd['commands']['get']('footnotesStyle'),_0x280549=_0x59d33b(_0x31ee2b),{buttonView:_0x7b0422}=_0x280549;return _0x280549['class']='ck-footnotes-styles-dropdown',_0x280549['bind']('isEnabled')['to'](_0x53bf46,'isEnabled'),_0x7b0422['set']({'label':t('Footnotes\x20style'),'icon':_0x3cf99b,'tooltip':!0x0}),_0x280549['once']('change:isOpen',()=>{const _0x1aeb4a=function({editor:_0x3d7dcb,dropdownView:_0x487523}){const {t:t}=_0x3d7dcb['locale'],_0x19aec6=t('Footnotes\x20definitions\x20styles'),_0x57ddb8=function(_0x193948){const t=_0x193948['locale']['t'],_0x2ad39f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2a4847},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x228388},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5c71f9},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x21a831},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x7317ee},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5c4978}];return _0x2ad39f['map'](function(_0x4956a3){const _0x3303e1=_0x4956a3['locale'];return({label:_0x3e0bae,icon:_0x3d5061,tooltip:_0x512d4a,style:_0x7cd6f2})=>{const _0x8f90a=_0x4956a3['commands']['get']('footnotesStyle'),_0xd24a22=new _0x8588d9(_0x3303e1);return _0xd24a22['set']({'label':_0x3e0bae,'icon':_0x3d5061,'tooltip':_0x512d4a}),_0xd24a22['bind']('isOn')['to'](_0x8f90a,'value',_0x4c676b=>_0x4c676b===_0x7cd6f2),_0xd24a22['bind']('isEnabled')['to'](_0x8f90a,'isEnabled'),_0xd24a22['on']('execute',()=>{_0x4956a3['execute']('footnotesStyle',{'value':_0x7cd6f2}),_0x4956a3['editing']['view']['focus']();}),_0xd24a22;};}(_0x193948));}(_0x3d7dcb),_0x3b5d49=new _0x19a6c4(_0x3d7dcb['locale'],{'styleGridAriaLabel':_0x19aec6,'styleButtonViews':_0x57ddb8}),_0x6ac112=_0x3d7dcb['commands']['get']('footnotesStart');return _0x3b5d49['startIndexFieldView']['bind']('isEnabled')['to'](_0x6ac112),_0x3b5d49['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x6ac112),_0x3b5d49['on']('footnotesListStart',(_0x31b6ef,_0x445d9b)=>{_0x3d7dcb['execute']('footnotesStart',{'value':_0x445d9b['startIndex']});}),_0x3b5d49['delegate']('execute')['to'](_0x487523),_0x3b5d49;}({'editor':_0x1ea4fd,'dropdownView':_0x280549});_0x280549['panelView']['children']['add'](_0x1aeb4a);}),_0x280549;};}(_0x179aee));}['afterInit'](){const {editor:_0x1bdbc1}=this,{t:t}=_0x1bdbc1['locale'],_0x4bdf40=_0x1bdbc1['plugins']['get'](_0x4f909b),{defaultPositions:_0x1d6d1e}=_0x2d1c0f;_0x4bdf40['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1bdbc1['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x29a028=>{let _0x24597d=_0x29a028['getFirstPosition']()?.['parent'];return _0x24597d?.['is']('$text')&&(_0x24597d=_0x24597d['parent']),_0x24597d?.['is']('element')?_0x24597d['findAncestor'](_0x1e5f65):null;},'positions':[_0x1d6d1e['southArrowNorth'],_0x1d6d1e['southArrowNorthMiddleWest'],_0x1d6d1e['southArrowNorthMiddleEast'],_0x1d6d1e['southArrowNorthWest'],_0x1d6d1e['southArrowNorthEast'],_0x1d6d1e['northArrowSouth'],_0x1d6d1e['northArrowSouthMiddleWest'],_0x1d6d1e['northArrowSouthMiddleEast'],_0x1d6d1e['northArrowSouthWest'],_0x1d6d1e['northArrowSouthEast'],_0x1d6d1e['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2fad1a,View as _0x4105de,ViewCollection as _0x587119,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4105de{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x587119();['focusCycler'];constructor(_0x2fba44,{styleButtonViews:_0x5116ee,styleGridAriaLabel:_0x380118}){super(_0x2fba44),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5116ee,_0x380118),[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 _0xf1e062 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xf1e062['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x56f8cc=_0x4d2e69=>_0x4d2e69['stopPropagation']();this['keystrokes']['set']('arrowright',_0x56f8cc),this['keystrokes']['set']('arrowleft',_0x56f8cc),this['keystrokes']['set']('arrowup',_0x56f8cc),this['keystrokes']['set']('arrowdown',_0x56f8cc);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4b73b3,_0x30d723){const _0x23dfda=new _0x4105de(this['locale']);return _0x23dfda['children']=_0x23dfda['createCollection'](),_0x23dfda['children']['addMany'](_0x4b73b3),_0x23dfda['setTemplate']({'tag':'div','attributes':{'aria-label':_0x30d723,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x23dfda['children']}),_0x23dfda['children']['delegate']('execute')['to'](this),_0x23dfda['focus']=function(){for(const _0x4e1709 of this['children'])if(_0x4e1709 instanceof _0x2fad1a&&_0x4e1709['isOn'])return void _0x4e1709['focus']();this['children']['first']['focus']();},_0x23dfda['focusTracker']=new rt(),_0x23dfda['keystrokes']=new nt(),_0x23dfda['render'](),_0x23dfda['keystrokes']['listenTo'](_0x23dfda['element']),this['children']['add'](_0x23dfda),_0x23dfda;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x54f573=this['_createStartIndexPropertyView'](),_0x4055f5=[_0x54f573],_0x1ddf1d=new it(this['locale'],_0x4055f5);return _0x1ddf1d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1ddf1d['buttonView']['bind']('isEnabled')['toMany'](_0x4055f5,'isEnabled',(..._0x2e5f64)=>_0x2e5f64['some'](_0x33fddf=>_0x33fddf)),_0x1ddf1d['buttonView']['on']('change:isEnabled',(_0x223adf,_0x28ca52,_0xdced28)=>{_0xdced28||(_0x1ddf1d['isCollapsed']=!0x0);}),this['children']['add'](_0x1ddf1d),[_0x54f573,_0x1ddf1d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5bab3f=new et(this['locale'],ot);return _0x5bab3f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5bab3f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5bab3f['fieldView']['on']('input',()=>{const _0x1496de=_0x5bab3f['fieldView']['element'],_0x49b153=_0x1496de['valueAsNumber'];Number['isNaN'](_0x49b153)?_0x5bab3f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1496de['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x49b153}):_0x5bab3f['errorText']=t(_0x49b153<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5bab3f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x41c426=_0x40cc;function _0x40cc(_0x2413aa,_0x2f21bf){var _0x210d53=_0x210d();return _0x40cc=function(_0x40ccdf,_0x1f578e){_0x40ccdf=_0x40ccdf-0xe8;var _0x1577ef=_0x210d53[_0x40ccdf];return _0x1577ef;},_0x40cc(_0x2413aa,_0x2f21bf);}(function(_0x5e4e9a,_0x4fefa2){var _0x2784f4=_0x40cc,_0xb086b5=_0x5e4e9a();while(!![]){try{var _0x3aa245=parseInt(_0x2784f4(0xf4))/0x1+parseInt(_0x2784f4(0xf3))/0x2*(-parseInt(_0x2784f4(0xee))/0x3)+-parseInt(_0x2784f4(0xeb))/0x4+parseInt(_0x2784f4(0xf2))/0x5+parseInt(_0x2784f4(0xec))/0x6*(parseInt(_0x2784f4(0xe9))/0x7)+parseInt(_0x2784f4(0xe8))/0x8+-parseInt(_0x2784f4(0xf1))/0x9;if(_0x3aa245===_0x4fefa2)break;else _0xb086b5['push'](_0xb086b5['shift']());}catch(_0xb148b2){_0xb086b5['push'](_0xb086b5['shift']());}}}(_0x210d,0xb504d));import{Plugin as _0x22a61a}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0xfc00c3}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x1ddccd}from'./footnotesproperties/footnotespropertiesui.js';function _0x210d(){var _0x18fcd2=['isPremiumPlugin','3034431zLrPvE','2908445uSNflb','2VbauUP','302895tGeMhZ','FootnotesProperties','3666736LIBZIf','245238lkCMbN','pluginName','1051516cINxCG','168EEJMib','isOfficialPlugin','2947161zpBSgp','requires'];_0x210d=function(){return _0x18fcd2;};return _0x210d();}export class FootnotesProperties extends _0x22a61a{static get[_0x41c426(0xea)](){var _0x48ef79=_0x41c426;return _0x48ef79(0xf5);}static get[_0x41c426(0xef)](){return[_0xfc00c3,_0x1ddccd];}static get[_0x41c426(0xed)](){return!0x0;}static get[_0x41c426(0xf0)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x56f5b0=_0x5c22;function _0x2061(){const _0x439ba9=['_footnoteDefsTracker','end','_sortFootnoteDefinitions','getAttribute','registerPostFixer','getFootnotes','47021nAESuo','getRootNames','init','createPositionAt','push','footnoteId','375330QNUtfL','FootnotesTracker','_handleFootnotesDefinitionsObjectChanges','low','createRangeOn','getFootnotesFormatter','paragraph','length','getFootnotesDefinitionsObjectElement','definition','_footnotes','map','change:data','_handleFootnoteDefinitionsChanges','_handleRemoveFootnoteReferenceById','insert','parent','add','append','footnotesDefinitions','getChanges','setFootnoteFormatter','_updateFootnotesCounters','isPremiumPlugin','631694hRZrYB','pluginName','enqueueChange','405HxLBUf','120wPKkRH','unshift','createRangeIn','set','has','isOfficialPlugin','findIndex','document','_updateFootnoteRefCounter','differ','363eYiHUY','compareWith','listenTo','rootName','root','262047pWGYqn','_footnoteDefsContainerTracker','4bqtIoR','_ensureFootnotesDefinitionsContainerExists','23196MuoJDM','_ensureFootnotesReferencesHaveProperOrder','getChildren','remove','createPositionBefore','setAttribute','high','editor','singleton','indexOf','_footnoteRefsTracker','isEqual','24uqsyFB','reference','_handleFootnotesDefinitionsObjectSync','config','666CjKtSs','footnotes.multiBlock','1552149QuwOji','model','footnoteRef','getFootnote','footnoteDefinition','reset','footnoteCounter','$graveyard','_insertEmptyFootnotesDefinitionsContainer','min','before','get','splice','from','some','childCount','createElement','move','_footnoteFormatter','find','106232WrJEgw','_handleMovedFootnoteReference','_handleFootnoteReferencesChanges','_handleInsertedFootnoteReference','_footnotesDefinitions','after','footnoteInlineContent'];_0x2061=function(){return _0x439ba9;};return _0x2061();}(function(_0x16d7f8,_0x2815ca){const _0x1e4373=_0x5c22,_0x53fac4=_0x16d7f8();while(!![]){try{const _0x4e46c0=-parseInt(_0x1e4373(0x12b))/0x1*(-parseInt(_0x1e4373(0x12d))/0x2)+parseInt(_0x1e4373(0x141))/0x3+-parseInt(_0x1e4373(0x12f))/0x4*(parseInt(_0x1e4373(0x11b))/0x5)+parseInt(_0x1e4373(0x13b))/0x6*(parseInt(_0x1e4373(0x118))/0x7)+-parseInt(_0x1e4373(0x155))/0x8*(-parseInt(_0x1e4373(0x13f))/0x9)+parseInt(_0x1e4373(0x168))/0xa*(-parseInt(_0x1e4373(0x126))/0xb)+parseInt(_0x1e4373(0x11c))/0xc*(-parseInt(_0x1e4373(0x162))/0xd);if(_0x4e46c0===_0x2815ca)break;else _0x53fac4['push'](_0x53fac4['shift']());}catch(_0x10d9f8){_0x53fac4['push'](_0x53fac4['shift']());}}}(_0x2061,0x9c665));import{Plugin as _0x12ffdf}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2135c1}from'./modelelementtracker.js';function _0x5c22(_0x8136e4,_0x2ce7dc){const _0x2061b6=_0x2061();return _0x5c22=function(_0x5c22c0,_0x1097a3){_0x5c22c0=_0x5c22c0-0x10f;let _0x95677d=_0x2061b6[_0x5c22c0];return _0x95677d;},_0x5c22(_0x8136e4,_0x2ce7dc);}export class FootnotesTracker extends _0x12ffdf{[_0x56f5b0(0x172)]=[];[_0x56f5b0(0x159)]=null;[_0x56f5b0(0x153)]=null;[_0x56f5b0(0x12c)];[_0x56f5b0(0x139)];[_0x56f5b0(0x15c)];static get[_0x56f5b0(0x119)](){const _0x3bc377=_0x56f5b0;return _0x3bc377(0x169);}static get[_0x56f5b0(0x121)](){return!0x0;}static get[_0x56f5b0(0x117)](){return!0x0;}constructor(_0x1833b3){const _0x31e1b3=_0x56f5b0;super(_0x1833b3),this[_0x31e1b3(0x12c)]=new _0x2135c1(this[_0x31e1b3(0x136)][_0x31e1b3(0x142)],{'elementName':_0x31e1b3(0x113),'getElementKey':()=>_0x31e1b3(0x137)}),this[_0x31e1b3(0x139)]=new _0x2135c1(this[_0x31e1b3(0x136)][_0x31e1b3(0x142)],{'elementName':_0x31e1b3(0x143),'getElementKey':_0x452ad9=>_0x452ad9[_0x31e1b3(0x15f)](_0x31e1b3(0x167))}),this[_0x31e1b3(0x15c)]=new _0x2135c1(this[_0x31e1b3(0x136)][_0x31e1b3(0x142)],{'elementName':_0x31e1b3(0x145),'getElementKey':_0xff07fc=>_0xff07fc[_0x31e1b3(0x15f)](_0x31e1b3(0x167))});}[_0x56f5b0(0x164)](){const _0xf7be5d=_0x56f5b0,{editor:_0x3bb4af}=this,{model:_0x45b7b0,data:_0x629be6}=_0x3bb4af;_0x45b7b0[_0xf7be5d(0x123)][_0xf7be5d(0x160)](_0x2dd414=>{const _0x146cd7=_0xf7be5d,_0x3621db=_0x45b7b0[_0x146cd7(0x123)][_0x146cd7(0x125)][_0x146cd7(0x114)]();let _0x580cdc=!0x1;return this[_0x146cd7(0x16a)](_0x2dd414,_0x3621db)&&(_0x580cdc=!0x0),this[_0x146cd7(0x175)](_0x2dd414,_0x3621db)&&(_0x580cdc=!0x0),this[_0x146cd7(0x157)](_0x2dd414,_0x3621db)&&(_0x580cdc=!0x0),this[_0x146cd7(0x130)](_0x2dd414)&&(_0x580cdc=!0x0),this[_0x146cd7(0x13d)](_0x2dd414)&&(_0x580cdc=!0x0),this[_0x146cd7(0x15e)](_0x2dd414)&&(_0x580cdc=!0x0),_0x580cdc;}),this[_0xf7be5d(0x128)](_0x45b7b0[_0xf7be5d(0x123)],_0xf7be5d(0x174),()=>{const _0x5202af=_0xf7be5d;_0x45b7b0[_0x5202af(0x11a)]({'isUndoable':!0x1},_0x8b19ba=>{const _0x4575b2=_0x5202af;this[_0x4575b2(0x12e)](_0x8b19ba);});},{'priority':_0xf7be5d(0x16b)}),this[_0xf7be5d(0x128)](_0x629be6,_0xf7be5d(0x11f),()=>{const _0x13ce0a=_0xf7be5d;this[_0x13ce0a(0x172)]=[],this[_0x13ce0a(0x12c)][_0x13ce0a(0x146)](),this[_0x13ce0a(0x139)][_0x13ce0a(0x146)](),this[_0x13ce0a(0x15c)][_0x13ce0a(0x146)]();},{'priority':_0xf7be5d(0x135)});}[_0x56f5b0(0x170)](){const _0x289c24=_0x56f5b0;return this[_0x289c24(0x159)];}[_0x56f5b0(0x144)](_0x41552e){const _0x122c99=_0x56f5b0;return this[_0x122c99(0x172)][_0x122c99(0x154)](_0x505978=>_0x505978['id']===_0x41552e)||null;}[_0x56f5b0(0x161)](){const _0x403f90=_0x56f5b0;return Array[_0x403f90(0x14e)](this[_0x403f90(0x172)]);}[_0x56f5b0(0x16d)](){const _0xb2f70d=_0x56f5b0;return this[_0xb2f70d(0x153)];}[_0x56f5b0(0x115)](_0xf97d5a){const _0x6f55eb=_0x56f5b0;this[_0x6f55eb(0x153)]=_0xf97d5a;}[_0x56f5b0(0x116)](_0x5aad83,_0x2c2064=0x0){const _0x32cbe3=_0x56f5b0;let _0x177bc3=!0x1;for(let _0x3d89fa=_0x2c2064;_0x3d89fa<this[_0x32cbe3(0x172)][_0x32cbe3(0x16f)];_0x3d89fa++)this[_0x32cbe3(0x124)](_0x5aad83,_0x3d89fa)&&(_0x177bc3=!0x0);return _0x177bc3;}[_0x56f5b0(0x149)](_0x37b684,_0x10b6b8){const _0x440360=_0x56f5b0,_0x4d37d1=_0x37b684[_0x440360(0x151)](_0x440360(0x113),{});return _0x37b684[_0x440360(0x112)](_0x4d37d1,_0x10b6b8),this[_0x440360(0x159)]=_0x4d37d1,_0x4d37d1;}[_0x56f5b0(0x12e)](_0x511548){const _0x461934=_0x56f5b0;if(!this[_0x461934(0x172)][_0x461934(0x16f)]||this[_0x461934(0x159)])return;const _0x3b3e6c=this[_0x461934(0x172)][0x0][_0x461934(0x13c)][_0x461934(0x12a)],_0x3fdcbe=this[_0x461934(0x149)](_0x511548,_0x3b3e6c);for(const _0x36b58a of this[_0x461934(0x172)])_0x36b58a[_0x461934(0x171)][_0x461934(0x110)]||_0x511548[_0x461934(0x10f)](_0x36b58a[_0x461934(0x171)],_0x3fdcbe,_0x461934(0x15d));this[_0x461934(0x116)](_0x511548);}[_0x56f5b0(0x16a)](_0x1831ca,_0x4ca449){const _0x37b934=_0x56f5b0;let _0x1fa7ce=!0x1;const {inserted:_0x3cda32,removed:_0xf7da07,moved:_0x327258}=this[_0x37b934(0x12c)][_0x37b934(0x114)](_0x4ca449);if(_0x327258[_0x37b934(0x16f)]&&(this[_0x37b934(0x159)]=_0x327258[0x0]),_0x3cda32[_0x37b934(0x16f)]){if(_0x3cda32[_0x37b934(0x16f)]>0x1||this[_0x37b934(0x159)]&&_0x3cda32[_0x37b934(0x14f)](_0x371e8a=>_0x371e8a!==this[_0x37b934(0x159)])){const _0x272aea=_0x1831ca[_0x37b934(0x151)](_0x37b934(0x113),{}),_0x2b6040=[];this[_0x37b934(0x159)]&&_0x2b6040[_0x37b934(0x166)](this[_0x37b934(0x159)]),_0x2b6040[_0x37b934(0x166)](..._0x3cda32),_0x1831ca[_0x37b934(0x10f)](_0x272aea,_0x2b6040[0x0],_0x37b934(0x14b));for(const _0x1f1c95 of _0x2b6040)_0x1831ca[_0x37b934(0x152)](_0x1831ca[_0x37b934(0x11e)](_0x1f1c95),_0x1831ca[_0x37b934(0x165)](_0x272aea,_0x37b934(0x15d))),_0x1831ca[_0x37b934(0x132)](_0x1f1c95);this[_0x37b934(0x159)]=_0x272aea,this[_0x37b934(0x116)](_0x1831ca),_0x1fa7ce=!0x0;}else this[_0x37b934(0x159)]=_0x3cda32[0x0];}if(_0xf7da07[_0x37b934(0x16f)]&&_0x37b934(0x148)===this[_0x37b934(0x159)]?.[_0x37b934(0x12a)][_0x37b934(0x129)]){for(const _0x104db5 of this[_0x37b934(0x172)])_0x1831ca[_0x37b934(0x132)](_0x104db5[_0x37b934(0x13c)]),_0x1fa7ce=!0x0;this[_0x37b934(0x172)]=[],this[_0x37b934(0x159)]=null;}return _0x1fa7ce;}[_0x56f5b0(0x175)](_0x5de76a,_0x1ba16b){const _0x2e303a=_0x56f5b0;let _0x54eafd=!0x1;const _0x13d327=this[_0x2e303a(0x136)][_0x2e303a(0x13e)][_0x2e303a(0x14c)](_0x2e303a(0x140)),{inserted:_0x115851,moved:_0x2a561b}=this[_0x2e303a(0x15c)][_0x2e303a(0x114)](_0x1ba16b);for(const _0x4c2456 of[..._0x2a561b,..._0x115851]){const _0x2c2872=_0x4c2456[_0x2e303a(0x15f)](_0x2e303a(0x167)),_0x5433bf=this[_0x2e303a(0x144)](_0x2c2872);_0x5433bf&&(_0x5433bf[_0x2e303a(0x171)]=_0x4c2456),_(_0x5de76a,_0x13d327,_0x4c2456)&&(_0x54eafd=!0x0);}return _0x54eafd;}[_0x56f5b0(0x157)](_0x12a3b9,_0x3ed216){const _0x5429f7=_0x56f5b0;let _0x1f09e9=!0x1;const {removed:_0x34b0df,inserted:_0x39ca48,moved:_0x2f8425}=this[_0x5429f7(0x139)][_0x5429f7(0x114)](_0x3ed216);for(const _0x1313de of _0x34b0df)this[_0x5429f7(0x176)](_0x12a3b9,_0x1313de)&&(_0x1f09e9=!0x0);for(const _0x1e885b of _0x39ca48)this[_0x5429f7(0x158)](_0x12a3b9,_0x1e885b)&&(_0x1f09e9=!0x0);for(const _0x29f7b4 of _0x2f8425)this[_0x5429f7(0x156)](_0x12a3b9,_0x29f7b4)&&(_0x1f09e9=!0x0);return _0x1f09e9;}[_0x56f5b0(0x13d)](_0x2ab9bd){const _0x347e92=_0x56f5b0;if(!this[_0x347e92(0x159)])return!0x1;let _0xedb589=!0x1;if(this[_0x347e92(0x159)][_0x347e92(0x150)]!==this[_0x347e92(0x172)][_0x347e92(0x16f)]){const _0x3346f2=[];for(const _0x2bc35b of this[_0x347e92(0x159)][_0x347e92(0x131)]()){const _0x51ef47=_0x2bc35b[_0x347e92(0x15f)](_0x347e92(0x167));this[_0x347e92(0x144)](_0x51ef47)||(_0x3346f2[_0x347e92(0x11d)](_0x2bc35b),_0xedb589=!0x0);}for(const _0x1179b6 of _0x3346f2)_0x2ab9bd[_0x347e92(0x132)](_0x1179b6);}const _0x10e2f5=new Set(),_0x125e42=[];for(const _0x312e34 of this[_0x347e92(0x159)][_0x347e92(0x131)]()){const _0x12cc39=_0x312e34[_0x347e92(0x15f)](_0x347e92(0x167));_0x10e2f5[_0x347e92(0x120)](_0x12cc39)?(_0x125e42[_0x347e92(0x11d)](_0x312e34),_0xedb589=!0x0):_0x10e2f5[_0x347e92(0x111)](_0x12cc39);}for(const _0x1c870b of _0x125e42)_0x2ab9bd[_0x347e92(0x132)](_0x1c870b);return this[_0x347e92(0x159)][_0x347e92(0x150)]||(_0x2ab9bd[_0x347e92(0x132)](this[_0x347e92(0x159)]),this[_0x347e92(0x159)]=null,_0xedb589=!0x0),_0xedb589;}[_0x56f5b0(0x158)](_0x31706f,_0x1ea50b){const _0x4b8e30=_0x56f5b0;if(this[_0x4b8e30(0x172)][_0x4b8e30(0x154)](_0x370d35=>_0x370d35[_0x4b8e30(0x13c)]===_0x1ea50b))return!0x1;let _0x4ff49d=!0x1;const _0x39acd6=_0x1ea50b[_0x4b8e30(0x15f)](_0x4b8e30(0x167)),_0x492b7b=this[_0x4b8e30(0x172)][_0x4b8e30(0x122)](_0x4eec20=>_0x4eec20['id']===_0x39acd6);-0x1!==_0x492b7b&&(_0x31706f[_0x4b8e30(0x132)](this[_0x4b8e30(0x172)][_0x492b7b][_0x4b8e30(0x13c)]),this[_0x4b8e30(0x172)][_0x4b8e30(0x14d)](_0x492b7b,0x1),_0x4ff49d=!0x0);let _0x5dbef4=this[_0x4b8e30(0x159)]?function(_0x33b780,_0x2a12b6){const _0x30668e=_0x4b8e30;for(const _0x31c9f5 of _0x33b780[_0x30668e(0x131)]())if(_0x31c9f5[_0x30668e(0x15f)](_0x30668e(0x167))===_0x2a12b6)return _0x31c9f5;return null;}(this[_0x4b8e30(0x159)],_0x39acd6):null;_0x5dbef4||(_0x5dbef4=_0x31706f[_0x4b8e30(0x151)](_0x4b8e30(0x145),{'footnoteId':_0x39acd6}),this[_0x4b8e30(0x159)]&&(_0x31706f[_0x4b8e30(0x10f)](_0x5dbef4,this[_0x4b8e30(0x159)],_0x4b8e30(0x15d)),_0x4ff49d=!0x0));const _0x3fb4c8={'id':_0x39acd6,'reference':_0x1ea50b,'definition':_0x5dbef4},_0x4c9860=I(this[_0x4b8e30(0x136)][_0x4b8e30(0x142)],this[_0x4b8e30(0x172)],_0x1ea50b);this[_0x4b8e30(0x172)][_0x4b8e30(0x14d)](_0x4c9860,0x0,_0x3fb4c8);let _0xa191a5=_0x4c9860;return-0x1!==_0x492b7b&&(_0xa191a5=Math[_0x4b8e30(0x14a)](_0x4c9860,_0x492b7b)),this[_0x4b8e30(0x116)](_0x31706f,_0xa191a5)&&(_0x4ff49d=!0x0),_0x4ff49d;}[_0x56f5b0(0x176)](_0x587181,_0x52797f){const _0x311535=_0x56f5b0,_0x580c28=this[_0x311535(0x172)][_0x311535(0x122)](_0x462d6a=>_0x462d6a['id']===_0x52797f);if(-0x1===_0x580c28)return!0x1;let _0x4b4bae=!0x1;const _0x30119a=this[_0x311535(0x172)][_0x580c28];return _0x311535(0x148)!==_0x30119a[_0x311535(0x171)][_0x311535(0x12a)][_0x311535(0x129)]&&(_0x587181[_0x311535(0x132)](_0x30119a[_0x311535(0x171)]),_0x4b4bae=!0x0),this[_0x311535(0x172)][_0x311535(0x14d)](_0x580c28,0x1),this[_0x311535(0x116)](_0x587181,_0x580c28)&&(_0x4b4bae=!0x0),_0x4b4bae;}[_0x56f5b0(0x156)](_0x2704ea,_0x3fe22d){const _0x18511e=_0x56f5b0,_0xd5da=_0x3fe22d[_0x18511e(0x15f)](_0x18511e(0x167)),_0x15ff2a=this[_0x18511e(0x172)][_0x18511e(0x122)](_0x507271=>_0x507271['id']===_0xd5da),_0x69e1a7=this[_0x18511e(0x172)][_0x15ff2a];let _0x4ba4b5=!0x1;_0x69e1a7[_0x18511e(0x13c)]=_0x3fe22d,this[_0x18511e(0x172)][_0x18511e(0x14d)](_0x15ff2a,0x1);const _0xad5eef=I(this[_0x18511e(0x136)][_0x18511e(0x142)],this[_0x18511e(0x172)],_0x3fe22d);return this[_0x18511e(0x172)][_0x18511e(0x14d)](_0xad5eef,0x0,_0x69e1a7),this[_0x18511e(0x116)](_0x2704ea,Math[_0x18511e(0x14a)](_0x15ff2a,_0xad5eef))&&(_0x4ba4b5=!0x0),_0x4ba4b5;}[_0x56f5b0(0x124)](_0x404a1c,_0x300d0b){const _0x18c349=_0x56f5b0;if(!this[_0x18c349(0x159)])return!0x1;const _0x582c4a=this[_0x18c349(0x172)][_0x300d0b];let _0x3ab2ff;return _0x3ab2ff=this[_0x18c349(0x153)]?this[_0x18c349(0x153)]({'footnote':_0x582c4a,'container':this[_0x18c349(0x159)],'digits':String(this[_0x18c349(0x172)][_0x18c349(0x16f)])[_0x18c349(0x16f)],'value':_0x300d0b+0x1}):String(_0x300d0b+0x1),_0x582c4a[_0x18c349(0x13c)][_0x18c349(0x15f)](_0x18c349(0x147))!=_0x3ab2ff&&(_0x404a1c[_0x18c349(0x134)](_0x18c349(0x147),_0x3ab2ff,_0x582c4a[_0x18c349(0x13c)]),!0x0);}[_0x56f5b0(0x15e)](_0x423866){const _0x2f9b2e=_0x56f5b0;if(!this[_0x2f9b2e(0x159)]||this[_0x2f9b2e(0x172)][_0x2f9b2e(0x16f)]<0x2)return!0x1;if(function(_0x58b6f9,_0x10b1ed){const _0x1eb7f1=_0x2f9b2e;if(_0x58b6f9[_0x1eb7f1(0x16f)]!==_0x10b1ed[_0x1eb7f1(0x16f)])return!0x1;for(let _0x148835=0x0;_0x148835<_0x58b6f9[_0x1eb7f1(0x16f)];_0x148835++)if(_0x58b6f9[_0x148835]!==_0x10b1ed[_0x148835])return!0x1;return!0x0;}(this[_0x2f9b2e(0x172)][_0x2f9b2e(0x173)](_0x288dd4=>_0x288dd4['id']),Array[_0x2f9b2e(0x14e)](this[_0x2f9b2e(0x159)][_0x2f9b2e(0x131)]())[_0x2f9b2e(0x173)](_0x4a4a78=>_0x4a4a78[_0x2f9b2e(0x15f)](_0x2f9b2e(0x167)))))return!0x1;let _0x4a45c4=!0x1;for(let _0x161192=0x0;_0x161192<this[_0x2f9b2e(0x172)][_0x2f9b2e(0x16f)];_0x161192++){const _0xf9ec1e=this[_0x2f9b2e(0x172)][_0x161192],_0x5882e1=_0x423866[_0x2f9b2e(0x133)](_0xf9ec1e[_0x2f9b2e(0x171)]),_0x466e8e=_0x423866[_0x2f9b2e(0x165)](this[_0x2f9b2e(0x159)],_0x161192);_0x5882e1[_0x2f9b2e(0x13a)](_0x466e8e)||(_0x423866[_0x2f9b2e(0x152)](_0x423866[_0x2f9b2e(0x16c)](_0xf9ec1e[_0x2f9b2e(0x171)]),_0x466e8e),_0x4a45c4=!0x0);}return _0x4a45c4;}[_0x56f5b0(0x130)](_0x5712ad){const _0x2377a5=_0x56f5b0;if(!this[_0x2377a5(0x172)][_0x2377a5(0x16f)])return!0x1;const {model:_0x182c22}=this[_0x2377a5(0x136)];let _0x13bfef=!0x1;for(let _0x16fcd5=0x0;_0x16fcd5<this[_0x2377a5(0x172)][_0x2377a5(0x16f)]-0x1;_0x16fcd5++){const _0x3201ac=this[_0x2377a5(0x172)][_0x16fcd5],_0x1decee=this[_0x2377a5(0x172)][_0x16fcd5+0x1],_0x4266f2=_0x182c22[_0x2377a5(0x133)](_0x3201ac[_0x2377a5(0x13c)]),_0x5db289=_0x182c22[_0x2377a5(0x133)](_0x1decee[_0x2377a5(0x13c)]);_0x2377a5(0x15a)===_0x4266f2[_0x2377a5(0x127)](_0x5db289)&&(this[_0x2377a5(0x156)](_0x5712ad,_0x3201ac[_0x2377a5(0x13c)]),_0x16fcd5=-0x1,_0x13bfef=!0x0);}return _0x13bfef;}}function _(_0xedbc82,_0x14ab85,_0x317a4e){const _0x2831a0=_0x56f5b0;if(_0x317a4e[_0x2831a0(0x150)])return!0x1;const _0x137c5d=_0x14ab85?_0x2831a0(0x16e):_0x2831a0(0x15b);return _0xedbc82[_0x2831a0(0x10f)](_0xedbc82[_0x2831a0(0x151)](_0x137c5d),_0x317a4e),!0x0;}function I(_0x27a08c,_0x368ad7,_0x198695){const _0x4d7dfc=_0x56f5b0;if(0x0===_0x368ad7[_0x4d7dfc(0x16f)])return 0x0;const _0x46327b=_0x27a08c[_0x4d7dfc(0x133)](_0x198695);for(let _0x29edad=0x0;_0x29edad<_0x368ad7[_0x4d7dfc(0x16f)];_0x29edad++){const _0x14fb76=_0x368ad7[_0x29edad],_0x16dde3=_0x27a08c[_0x4d7dfc(0x133)](_0x14fb76[_0x4d7dfc(0x13c)]);if(_0x4d7dfc(0x14b)===_0x46327b[_0x4d7dfc(0x127)](_0x16dde3))return _0x29edad;}const _0x8c8745=_0x198695[_0x4d7dfc(0x12a)];let _0x376888=-0x1;for(let _0x1b4f99=_0x368ad7[_0x4d7dfc(0x16f)]-0x1;_0x1b4f99>=0x0;_0x1b4f99--)if(_0x368ad7[_0x1b4f99][_0x4d7dfc(0x13c)][_0x4d7dfc(0x12a)]===_0x8c8745){_0x376888=_0x1b4f99;break;}if(-0x1!==_0x376888)return _0x376888+0x1;const _0x3f055e=_0x27a08c[_0x4d7dfc(0x123)][_0x4d7dfc(0x163)](),_0x1cf0b7=_0x3f055e[_0x4d7dfc(0x138)](_0x8c8745[_0x4d7dfc(0x129)]),_0x637387=_0x3f055e[_0x1cf0b7+0x1];if(_0x637387){for(let _0x204f75=0x0;_0x204f75<_0x368ad7[_0x4d7dfc(0x16f)];_0x204f75++)if(_0x368ad7[_0x204f75][_0x4d7dfc(0x13c)][_0x4d7dfc(0x12a)][_0x4d7dfc(0x129)]===_0x637387)return _0x204f75;}return _0x368ad7[_0x4d7dfc(0x16f)];}
|
|
23
|
+
const _0x45e806=_0x3ee4;(function(_0x10139c,_0x3d6602){const _0x5e5bfa=_0x3ee4,_0x2a8d26=_0x10139c();while(!![]){try{const _0x3167db=-parseInt(_0x5e5bfa(0x15e))/0x1+-parseInt(_0x5e5bfa(0x120))/0x2*(-parseInt(_0x5e5bfa(0x11a))/0x3)+-parseInt(_0x5e5bfa(0x12b))/0x4+-parseInt(_0x5e5bfa(0x151))/0x5*(-parseInt(_0x5e5bfa(0x165))/0x6)+-parseInt(_0x5e5bfa(0x122))/0x7+parseInt(_0x5e5bfa(0x133))/0x8*(-parseInt(_0x5e5bfa(0x152))/0x9)+parseInt(_0x5e5bfa(0x11b))/0xa*(parseInt(_0x5e5bfa(0x161))/0xb);if(_0x3167db===_0x3d6602)break;else _0x2a8d26['push'](_0x2a8d26['shift']());}catch(_0x10a746){_0x2a8d26['push'](_0x2a8d26['shift']());}}}(_0x1e74,0x2e0e4));import{Plugin as _0x59fec4}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2e6d69}from'./modelelementtracker.js';export class FootnotesTracker extends _0x59fec4{[_0x45e806(0x12d)]=[];[_0x45e806(0x147)]=null;[_0x45e806(0x13d)]=null;[_0x45e806(0x16e)];[_0x45e806(0x176)];[_0x45e806(0x17b)];static get[_0x45e806(0x15c)](){const _0x5d6601=_0x45e806;return _0x5d6601(0x15a);}static get[_0x45e806(0x14a)](){return!0x0;}static get[_0x45e806(0x132)](){return!0x0;}constructor(_0x2d9e68){const _0x15ffbb=_0x45e806;super(_0x2d9e68),this[_0x15ffbb(0x16e)]=new _0x2e6d69(this[_0x15ffbb(0x14f)][_0x15ffbb(0x128)],{'elementName':_0x15ffbb(0x143),'getElementKey':()=>_0x15ffbb(0x137)}),this[_0x15ffbb(0x176)]=new _0x2e6d69(this[_0x15ffbb(0x14f)][_0x15ffbb(0x128)],{'elementName':_0x15ffbb(0x16f),'getElementKey':_0x2bc43c=>_0x2bc43c[_0x15ffbb(0x131)](_0x15ffbb(0x13f))}),this[_0x15ffbb(0x17b)]=new _0x2e6d69(this[_0x15ffbb(0x14f)][_0x15ffbb(0x128)],{'elementName':_0x15ffbb(0x127),'getElementKey':_0x4b0aca=>_0x4b0aca[_0x15ffbb(0x131)](_0x15ffbb(0x13f))});}[_0x45e806(0x11d)](){const _0x5862d7=_0x45e806,{editor:_0x486dfb}=this,{model:_0x36e481,data:_0x130ce7}=_0x486dfb;_0x36e481[_0x5862d7(0x17c)][_0x5862d7(0x13a)](_0x136c77=>{const _0x4263ef=_0x5862d7,_0x3c2172=_0x36e481[_0x4263ef(0x17c)][_0x4263ef(0x14c)][_0x4263ef(0x175)]();let _0x18bf3c=!0x1;return this[_0x4263ef(0x166)](_0x136c77,_0x3c2172)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x12c)](_0x136c77,_0x3c2172)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x155)](_0x136c77,_0x3c2172)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x16b)](_0x136c77)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x135)](_0x136c77)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x117)](_0x136c77)&&(_0x18bf3c=!0x0),_0x18bf3c;}),this[_0x5862d7(0x139)](_0x36e481[_0x5862d7(0x17c)],_0x5862d7(0x174),()=>{const _0x297c05=_0x5862d7;_0x36e481[_0x297c05(0x145)]({'isUndoable':!0x1},_0x1ba8b8=>{const _0x32c786=_0x297c05;this[_0x32c786(0x14d)](_0x1ba8b8);});},{'priority':_0x5862d7(0x138)}),this[_0x5862d7(0x139)](_0x130ce7,_0x5862d7(0x16c),()=>{const _0x20c59c=_0x5862d7;this[_0x20c59c(0x12d)]=[],this[_0x20c59c(0x16e)][_0x20c59c(0x164)](),this[_0x20c59c(0x176)][_0x20c59c(0x164)](),this[_0x20c59c(0x17b)][_0x20c59c(0x164)]();},{'priority':_0x5862d7(0x149)});}[_0x45e806(0x130)](){const _0x1b697a=_0x45e806;return this[_0x1b697a(0x147)];}[_0x45e806(0x14b)](_0x4418ad){const _0xe948c=_0x45e806;return this[_0xe948c(0x12d)][_0xe948c(0x172)](_0x372aea=>_0x372aea['id']===_0x4418ad)||null;}[_0x45e806(0x126)](){const _0x275e68=_0x45e806;return Array[_0x275e68(0x171)](this[_0x275e68(0x12d)]);}[_0x45e806(0x144)](){const _0x410018=_0x45e806;return this[_0x410018(0x13d)];}[_0x45e806(0x118)](_0x3254e5){const _0xffac01=_0x45e806;this[_0xffac01(0x13d)]=_0x3254e5;}[_0x45e806(0x162)](_0x9e36e,_0x17f043=0x0){const _0x4c8f28=_0x45e806;let _0x153704=!0x1;for(let _0x55c253=_0x17f043;_0x55c253<this[_0x4c8f28(0x12d)][_0x4c8f28(0x124)];_0x55c253++)this[_0x4c8f28(0x158)](_0x9e36e,_0x55c253)&&(_0x153704=!0x0);return _0x153704;}[_0x45e806(0x169)](_0x31a7f1,_0x5b3d69){const _0x94804=_0x45e806,_0x138b99=_0x31a7f1[_0x94804(0x163)](_0x94804(0x143),{});return _0x31a7f1[_0x94804(0x11f)](_0x138b99,_0x5b3d69),this[_0x94804(0x147)]=_0x138b99,_0x138b99;}[_0x45e806(0x14d)](_0x594e81){const _0xfc8e97=_0x45e806;if(!this[_0xfc8e97(0x12d)][_0xfc8e97(0x124)]||this[_0xfc8e97(0x147)])return;const _0x66378c=this[_0xfc8e97(0x12d)][0x0][_0xfc8e97(0x12a)][_0xfc8e97(0x16d)],_0x2e5021=this[_0xfc8e97(0x169)](_0x594e81,_0x66378c);for(const _0x495253 of this[_0xfc8e97(0x12d)])_0x495253[_0xfc8e97(0x170)][_0xfc8e97(0x11c)]||_0x594e81[_0xfc8e97(0x140)](_0x495253[_0xfc8e97(0x170)],_0x2e5021,_0xfc8e97(0x156));this[_0xfc8e97(0x162)](_0x594e81);}[_0x45e806(0x166)](_0x5b0ff4,_0x5d53cb){const _0x3c6123=_0x45e806;let _0x5a9887=!0x1;const {inserted:_0x460bb8,removed:_0x533aed,moved:_0xc9c32a}=this[_0x3c6123(0x16e)][_0x3c6123(0x175)](_0x5d53cb);if(_0xc9c32a[_0x3c6123(0x124)]&&(this[_0x3c6123(0x147)]=_0xc9c32a[0x0]),_0x460bb8[_0x3c6123(0x124)]){if(_0x460bb8[_0x3c6123(0x124)]>0x1||this[_0x3c6123(0x147)]&&_0x460bb8[_0x3c6123(0x12f)](_0x28614b=>_0x28614b!==this[_0x3c6123(0x147)])){const _0x31a198=_0x5b0ff4[_0x3c6123(0x163)](_0x3c6123(0x143),{}),_0x33e9d5=[];this[_0x3c6123(0x147)]&&_0x33e9d5[_0x3c6123(0x11e)](this[_0x3c6123(0x147)]),_0x33e9d5[_0x3c6123(0x11e)](..._0x460bb8),_0x5b0ff4[_0x3c6123(0x140)](_0x31a198,_0x33e9d5[0x0],_0x3c6123(0x157));for(const _0x1173e9 of _0x33e9d5)_0x5b0ff4[_0x3c6123(0x159)](_0x5b0ff4[_0x3c6123(0x167)](_0x1173e9),_0x5b0ff4[_0x3c6123(0x15b)](_0x31a198,_0x3c6123(0x156))),_0x5b0ff4[_0x3c6123(0x15f)](_0x1173e9);this[_0x3c6123(0x147)]=_0x31a198,this[_0x3c6123(0x162)](_0x5b0ff4),_0x5a9887=!0x0;}else this[_0x3c6123(0x147)]=_0x460bb8[0x0];}if(_0x533aed[_0x3c6123(0x124)]&&_0x3c6123(0x15d)===this[_0x3c6123(0x147)]?.[_0x3c6123(0x16d)][_0x3c6123(0x179)]){for(const _0x552018 of this[_0x3c6123(0x12d)])_0x5b0ff4[_0x3c6123(0x15f)](_0x552018[_0x3c6123(0x12a)]),_0x5a9887=!0x0;this[_0x3c6123(0x12d)]=[],this[_0x3c6123(0x147)]=null;}return _0x5a9887;}[_0x45e806(0x12c)](_0x2c6d54,_0x4516fe){const _0x211783=_0x45e806;let _0x22ebde=!0x1;const _0x3a1172=this[_0x211783(0x14f)][_0x211783(0x136)][_0x211783(0x148)](_0x211783(0x173)),{inserted:_0x146632,moved:_0x1ac0cf}=this[_0x211783(0x17b)][_0x211783(0x175)](_0x4516fe);for(const _0x267638 of[..._0x1ac0cf,..._0x146632]){const _0x577d09=_0x267638[_0x211783(0x131)](_0x211783(0x13f)),_0x4fbedb=this[_0x211783(0x14b)](_0x577d09);_0x4fbedb&&(_0x4fbedb[_0x211783(0x170)]=_0x267638),_(_0x2c6d54,_0x3a1172,_0x267638)&&(_0x22ebde=!0x0);}return _0x22ebde;}[_0x45e806(0x155)](_0x26d653,_0x14c804){const _0x1364eb=_0x45e806;let _0x2e6130=!0x1;const {removed:_0x4720c0,inserted:_0xeff366,moved:_0x39e379}=this[_0x1364eb(0x176)][_0x1364eb(0x175)](_0x14c804);for(const _0x5229fe of _0x4720c0)this[_0x1364eb(0x141)](_0x26d653,_0x5229fe)&&(_0x2e6130=!0x0);for(const _0x3dad00 of _0xeff366)this[_0x1364eb(0x16a)](_0x26d653,_0x3dad00)&&(_0x2e6130=!0x0);for(const _0x1a092e of _0x39e379)this[_0x1364eb(0x134)](_0x26d653,_0x1a092e)&&(_0x2e6130=!0x0);return _0x2e6130;}[_0x45e806(0x135)](_0xd8d95a){const _0x230c92=_0x45e806;if(!this[_0x230c92(0x147)])return!0x1;let _0x26669c=!0x1;if(this[_0x230c92(0x147)][_0x230c92(0x14e)]!==this[_0x230c92(0x12d)][_0x230c92(0x124)]){const _0x29bd6d=[];for(const _0x56c195 of this[_0x230c92(0x147)][_0x230c92(0x160)]()){const _0x49c94d=_0x56c195[_0x230c92(0x131)](_0x230c92(0x13f));this[_0x230c92(0x14b)](_0x49c94d)||(_0x29bd6d[_0x230c92(0x123)](_0x56c195),_0x26669c=!0x0);}for(const _0x41f4d6 of _0x29bd6d)_0xd8d95a[_0x230c92(0x15f)](_0x41f4d6);}const _0x576b87=new Set(),_0x26471c=[];for(const _0xb8d8ea of this[_0x230c92(0x147)][_0x230c92(0x160)]()){const _0x487d07=_0xb8d8ea[_0x230c92(0x131)](_0x230c92(0x13f));_0x576b87[_0x230c92(0x121)](_0x487d07)?(_0x26471c[_0x230c92(0x123)](_0xb8d8ea),_0x26669c=!0x0):_0x576b87[_0x230c92(0x17a)](_0x487d07);}for(const _0x4b5f53 of _0x26471c)_0xd8d95a[_0x230c92(0x15f)](_0x4b5f53);return this[_0x230c92(0x147)][_0x230c92(0x14e)]||(_0xd8d95a[_0x230c92(0x15f)](this[_0x230c92(0x147)]),this[_0x230c92(0x147)]=null,_0x26669c=!0x0),_0x26669c;}[_0x45e806(0x16a)](_0x387462,_0x2ce05e){const _0x404819=_0x45e806;if(this[_0x404819(0x12d)][_0x404819(0x172)](_0x4c1093=>_0x4c1093[_0x404819(0x12a)]===_0x2ce05e))return!0x1;let _0x53b791=!0x1;const _0x51deef=_0x2ce05e[_0x404819(0x131)](_0x404819(0x13f)),_0x59e5fb=this[_0x404819(0x12d)][_0x404819(0x13b)](_0x4ec688=>_0x4ec688['id']===_0x51deef);-0x1!==_0x59e5fb&&(_0x387462[_0x404819(0x15f)](this[_0x404819(0x12d)][_0x59e5fb][_0x404819(0x12a)]),this[_0x404819(0x12d)][_0x404819(0x146)](_0x59e5fb,0x1),_0x53b791=!0x0);let _0x52dc2f=this[_0x404819(0x147)]?function(_0x298d7b,_0x36d97c){const _0x192e38=_0x404819;for(const _0x1b0934 of _0x298d7b[_0x192e38(0x160)]())if(_0x1b0934[_0x192e38(0x131)](_0x192e38(0x13f))===_0x36d97c)return _0x1b0934;return null;}(this[_0x404819(0x147)],_0x51deef):null;_0x52dc2f||(_0x52dc2f=_0x387462[_0x404819(0x163)](_0x404819(0x127),{'footnoteId':_0x51deef}),this[_0x404819(0x147)]&&(_0x387462[_0x404819(0x140)](_0x52dc2f,this[_0x404819(0x147)],_0x404819(0x156)),_0x53b791=!0x0));const _0x158a06={'id':_0x51deef,'reference':_0x2ce05e,'definition':_0x52dc2f},_0x4232a4=I(this[_0x404819(0x14f)][_0x404819(0x128)],this[_0x404819(0x12d)],_0x2ce05e);this[_0x404819(0x12d)][_0x404819(0x146)](_0x4232a4,0x0,_0x158a06);let _0x4fa890=_0x4232a4;return-0x1!==_0x59e5fb&&(_0x4fa890=Math[_0x404819(0x154)](_0x4232a4,_0x59e5fb)),this[_0x404819(0x162)](_0x387462,_0x4fa890)&&(_0x53b791=!0x0),_0x53b791;}[_0x45e806(0x141)](_0x4854e5,_0x22e914){const _0x33cf4d=_0x45e806,_0x1a400c=this[_0x33cf4d(0x12d)][_0x33cf4d(0x13b)](_0x5694cf=>_0x5694cf['id']===_0x22e914);if(-0x1===_0x1a400c)return!0x1;let _0x2e4c16=!0x1;const _0x57a381=this[_0x33cf4d(0x12d)][_0x1a400c];return _0x33cf4d(0x15d)!==_0x57a381[_0x33cf4d(0x170)][_0x33cf4d(0x16d)][_0x33cf4d(0x179)]&&(_0x4854e5[_0x33cf4d(0x15f)](_0x57a381[_0x33cf4d(0x170)]),_0x2e4c16=!0x0),this[_0x33cf4d(0x12d)][_0x33cf4d(0x146)](_0x1a400c,0x1),this[_0x33cf4d(0x162)](_0x4854e5,_0x1a400c)&&(_0x2e4c16=!0x0),_0x2e4c16;}[_0x45e806(0x134)](_0x5ed14b,_0x4d8a4e){const _0x5d6f4a=_0x45e806,_0x452270=_0x4d8a4e[_0x5d6f4a(0x131)](_0x5d6f4a(0x13f)),_0x4225e7=this[_0x5d6f4a(0x12d)][_0x5d6f4a(0x13b)](_0x5dd674=>_0x5dd674['id']===_0x452270),_0x50b935=this[_0x5d6f4a(0x12d)][_0x4225e7];let _0x2f183c=!0x1;_0x50b935[_0x5d6f4a(0x12a)]=_0x4d8a4e,this[_0x5d6f4a(0x12d)][_0x5d6f4a(0x146)](_0x4225e7,0x1);const _0x185d75=I(this[_0x5d6f4a(0x14f)][_0x5d6f4a(0x128)],this[_0x5d6f4a(0x12d)],_0x4d8a4e);return this[_0x5d6f4a(0x12d)][_0x5d6f4a(0x146)](_0x185d75,0x0,_0x50b935),this[_0x5d6f4a(0x162)](_0x5ed14b,Math[_0x5d6f4a(0x154)](_0x4225e7,_0x185d75))&&(_0x2f183c=!0x0),_0x2f183c;}[_0x45e806(0x158)](_0x16f588,_0x38bfb2){const _0x4f68c5=_0x45e806;if(!this[_0x4f68c5(0x147)])return!0x1;const _0x4b3855=this[_0x4f68c5(0x12d)][_0x38bfb2];let _0x263609;return _0x263609=this[_0x4f68c5(0x13d)]?this[_0x4f68c5(0x13d)]({'footnote':_0x4b3855,'container':this[_0x4f68c5(0x147)],'digits':String(this[_0x4f68c5(0x12d)][_0x4f68c5(0x124)])[_0x4f68c5(0x124)],'value':_0x38bfb2+0x1}):String(_0x38bfb2+0x1),_0x4b3855[_0x4f68c5(0x12a)][_0x4f68c5(0x131)](_0x4f68c5(0x13c))!=_0x263609&&(_0x16f588[_0x4f68c5(0x178)](_0x4f68c5(0x13c),_0x263609,_0x4b3855[_0x4f68c5(0x12a)]),!0x0);}[_0x45e806(0x117)](_0x59aa54){const _0x2b8ae5=_0x45e806;if(!this[_0x2b8ae5(0x147)]||this[_0x2b8ae5(0x12d)][_0x2b8ae5(0x124)]<0x2)return!0x1;if(function(_0x92cb9a,_0x5122fc){const _0x434b7a=_0x2b8ae5;if(_0x92cb9a[_0x434b7a(0x124)]!==_0x5122fc[_0x434b7a(0x124)])return!0x1;for(let _0x3f15e1=0x0;_0x3f15e1<_0x92cb9a[_0x434b7a(0x124)];_0x3f15e1++)if(_0x92cb9a[_0x3f15e1]!==_0x5122fc[_0x3f15e1])return!0x1;return!0x0;}(this[_0x2b8ae5(0x12d)][_0x2b8ae5(0x119)](_0x4dacc0=>_0x4dacc0['id']),Array[_0x2b8ae5(0x171)](this[_0x2b8ae5(0x147)][_0x2b8ae5(0x160)]())[_0x2b8ae5(0x119)](_0x247c14=>_0x247c14[_0x2b8ae5(0x131)](_0x2b8ae5(0x13f)))))return!0x1;let _0x359be9=!0x1;for(let _0x40c104=0x0;_0x40c104<this[_0x2b8ae5(0x12d)][_0x2b8ae5(0x124)];_0x40c104++){const _0x1e5a11=this[_0x2b8ae5(0x12d)][_0x40c104],_0x4a741a=_0x59aa54[_0x2b8ae5(0x177)](_0x1e5a11[_0x2b8ae5(0x170)]),_0x296edd=_0x59aa54[_0x2b8ae5(0x15b)](this[_0x2b8ae5(0x147)],_0x40c104);_0x4a741a[_0x2b8ae5(0x142)](_0x296edd)||(_0x59aa54[_0x2b8ae5(0x159)](_0x59aa54[_0x2b8ae5(0x125)](_0x1e5a11[_0x2b8ae5(0x170)]),_0x296edd),_0x359be9=!0x0);}return _0x359be9;}[_0x45e806(0x16b)](_0x27bb99){const _0x50c40d=_0x45e806;if(!this[_0x50c40d(0x12d)][_0x50c40d(0x124)])return!0x1;const {model:_0x1432b4}=this[_0x50c40d(0x14f)];let _0x466ace=!0x1;for(let _0x21c330=0x0;_0x21c330<this[_0x50c40d(0x12d)][_0x50c40d(0x124)]-0x1;_0x21c330++){const _0x5ce2ab=this[_0x50c40d(0x12d)][_0x21c330],_0x4a833c=this[_0x50c40d(0x12d)][_0x21c330+0x1],_0x569782=_0x1432b4[_0x50c40d(0x177)](_0x5ce2ab[_0x50c40d(0x12a)]),_0x2fe479=_0x1432b4[_0x50c40d(0x177)](_0x4a833c[_0x50c40d(0x12a)]);_0x50c40d(0x12e)===_0x569782[_0x50c40d(0x150)](_0x2fe479)&&(this[_0x50c40d(0x134)](_0x27bb99,_0x5ce2ab[_0x50c40d(0x12a)]),_0x21c330=-0x1,_0x466ace=!0x0);}return _0x466ace;}}function _0x3ee4(_0x2e44c0,_0x2208d2){const _0x1e7481=_0x1e74();return _0x3ee4=function(_0x3ee479,_0x490877){_0x3ee479=_0x3ee479-0x117;let _0x59cfd7=_0x1e7481[_0x3ee479];return _0x59cfd7;},_0x3ee4(_0x2e44c0,_0x2208d2);}function _(_0x6b5713,_0xed0be3,_0x5603db){const _0x22d785=_0x45e806;if(_0x5603db[_0x22d785(0x14e)])return!0x1;const _0x1b7771=_0xed0be3?_0x22d785(0x168):_0x22d785(0x129);return _0x6b5713[_0x22d785(0x140)](_0x6b5713[_0x22d785(0x163)](_0x1b7771),_0x5603db),!0x0;}function _0x1e74(){const _0x2b948c=['6UnGQnv','_handleFootnotesDefinitionsObjectChanges','createRangeIn','paragraph','_insertEmptyFootnotesDefinitionsContainer','_handleInsertedFootnoteReference','_ensureFootnotesReferencesHaveProperOrder','set','root','_footnoteDefsContainerTracker','footnoteRef','definition','from','find','footnotes.multiBlock','change:data','getChanges','_footnoteRefsTracker','createPositionBefore','setAttribute','rootName','add','_footnoteDefsTracker','document','_sortFootnoteDefinitions','setFootnoteFormatter','map','75585hjYEcq','70CQiyUU','parent','init','push','append','16ffnBob','has','2382254dStBEY','unshift','length','createRangeOn','getFootnotes','footnoteDefinition','model','footnoteInlineContent','reference','446928VHQADk','_handleFootnoteDefinitionsChanges','_footnotes','after','some','getFootnotesDefinitionsObjectElement','getAttribute','isPremiumPlugin','8CeCEAb','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectSync','config','singleton','low','listenTo','registerPostFixer','findIndex','footnoteCounter','_footnoteFormatter','indexOf','footnoteId','insert','_handleRemoveFootnoteReferenceById','isEqual','footnotesDefinitions','getFootnotesFormatter','enqueueChange','splice','_footnotesDefinitions','get','high','isOfficialPlugin','getFootnote','differ','_ensureFootnotesDefinitionsContainerExists','childCount','editor','compareWith','606895DQWUDV','284067nvhfIN','getRootNames','min','_handleFootnoteReferencesChanges','end','before','_updateFootnoteRefCounter','move','FootnotesTracker','createPositionAt','pluginName','$graveyard','233771WFnkFE','remove','getChildren','916289qwJMFD','_updateFootnotesCounters','createElement','reset'];_0x1e74=function(){return _0x2b948c;};return _0x1e74();}function I(_0x279f80,_0x363ac7,_0x221c72){const _0x30ad04=_0x45e806;if(0x0===_0x363ac7[_0x30ad04(0x124)])return 0x0;const _0x38f507=_0x279f80[_0x30ad04(0x177)](_0x221c72);for(let _0x3193dd=0x0;_0x3193dd<_0x363ac7[_0x30ad04(0x124)];_0x3193dd++){const _0x5fc090=_0x363ac7[_0x3193dd],_0x332fee=_0x279f80[_0x30ad04(0x177)](_0x5fc090[_0x30ad04(0x12a)]);if(_0x30ad04(0x157)===_0x38f507[_0x30ad04(0x150)](_0x332fee))return _0x3193dd;}const _0x454d94=_0x221c72[_0x30ad04(0x16d)];let _0x1bb23e=-0x1;for(let _0x88ee08=_0x363ac7[_0x30ad04(0x124)]-0x1;_0x88ee08>=0x0;_0x88ee08--)if(_0x363ac7[_0x88ee08][_0x30ad04(0x12a)][_0x30ad04(0x16d)]===_0x454d94){_0x1bb23e=_0x88ee08;break;}if(-0x1!==_0x1bb23e)return _0x1bb23e+0x1;const _0x75f1f4=_0x279f80[_0x30ad04(0x17c)][_0x30ad04(0x153)](),_0x3142e5=_0x75f1f4[_0x30ad04(0x13e)](_0x454d94[_0x30ad04(0x179)]),_0x1ca49e=_0x75f1f4[_0x3142e5+0x1];if(_0x1ca49e){for(let _0x57d8a3=0x0;_0x57d8a3<_0x363ac7[_0x30ad04(0x124)];_0x57d8a3++)if(_0x363ac7[_0x57d8a3][_0x30ad04(0x12a)][_0x30ad04(0x16d)][_0x30ad04(0x179)]===_0x1ca49e)return _0x57d8a3;}return _0x363ac7[_0x30ad04(0x124)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x545065,MenuBarMenuListItemButtonView as _0x313ac4}from'ckeditor5/src/ui.js';import{Plugin as _0x576ab8}from'ckeditor5/src/core.js';import{IconFootnote as _0x25ec2a}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x576ab8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20eeb2}=this,{componentFactory:_0xf9cf6a}=_0x20eeb2['ui'];_0xf9cf6a['add']('insertFootnote',E(_0x20eeb2,_0x545065)),_0xf9cf6a['add']('menuBar:insertFootnote',E(_0x20eeb2,_0x313ac4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x373b40=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x576355;for(const _0x5e312f in _0x373b40){const _0x483622=_0x5e312f,_0xdd70d3=_0x373b40[_0x483622];if('footnotesLicenseKeyValid'==_0xdd70d3||'footnotesLicenseKeyInvalid'==_0xdd70d3||'footnotesLicenseKeyExpired'==_0xdd70d3||'footnotesLicenseKeyDomainLimit'==_0xdd70d3||'footnotesLicenseKeyNotAllowed'==_0xdd70d3||'footnotesLicenseKeyEvaluationLimit'==_0xdd70d3||'footnotesLicenseKeyUsageLimit'==_0xdd70d3){delete _0x373b40[_0x483622],_0x576355=_0xdd70d3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x576355&&_0x373b40['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x576355&&_0x373b40['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x576355&&_0x373b40['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x576355&&_0x373b40['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x576355&&_0x373b40['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x576355&&_0x373b40['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4bcbe9,_0x32d0e1){const _0x492fe5=_0x4bcbe9['commands']['get']('insertFootnote');return _0x11498e=>{const {t:t}=_0x11498e,_0x5963a2=new _0x32d0e1(_0x11498e),_0x4bcf4a=_0x5963a2 instanceof _0x313ac4;return _0x5963a2['bind']('isEnabled')['to'](_0x492fe5,'isEnabled'),_0x5963a2['set']({'label':t(_0x4bcf4a?'Footnote':'Insert\x20footnote'),'icon':_0x25ec2a,'tooltip':!0x0}),_0x5963a2['on']('execute',()=>{_0x492fe5['execute'](),_0x4bcbe9['editing']['view']['focus']();}),_0x5963a2;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2c130e,_0x5b47f9){var _0xacac82=_0x1fee,_0x15c453=_0x2c130e();while(!![]){try{var _0x3256a3=-parseInt(_0xacac82(0x14f))/0x1*(parseInt(_0xacac82(0x14c))/0x2)+-parseInt(_0xacac82(0x14a))/0x3+parseInt(_0xacac82(0x151))/0x4*(-parseInt(_0xacac82(0x148))/0x5)+parseInt(_0xacac82(0x14d))/0x6*(parseInt(_0xacac82(0x152))/0x7)+parseInt(_0xacac82(0x14b))/0x8+-parseInt(_0xacac82(0x149))/0x9*(-parseInt(_0xacac82(0x147))/0xa)+-parseInt(_0xacac82(0x14e))/0xb*(parseInt(_0xacac82(0x150))/0xc);if(_0x3256a3===_0x5b47f9)break;else _0x15c453['push'](_0x15c453['shift']());}catch(_0x8d062f){_0x15c453['push'](_0x15c453['shift']());}}}(_0x5a5e,0x5f1bc));import'./augmentation.js';function _0x5a5e(){var _0x297fc7=['12vpzvvX','92ckJDvl','20447lqdAYk','560CPtwsk','100205donFUD','72837bpNbyr','1344051kyQKYu','5385544yyynFT','63274cuFRnU','828cQXpQe','1844711LspSGq','2MSGXfC'];_0x5a5e=function(){return _0x297fc7;};return _0x5a5e();}export{Footnotes}from'./footnotes.js';function _0x1fee(_0x1243bb,_0x2f31d4){var _0x5a5eed=_0x5a5e();return _0x1fee=function(_0x1feef2,_0x4c22ad){_0x1feef2=_0x1feef2-0x147;var _0x40d153=_0x5a5eed[_0x1feef2];return _0x40d153;},_0x1fee(_0x1243bb,_0x2f31d4);}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';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 _0x5953bb=_0x1dfe;function _0x1dfe(_0x16f1da,_0x31343d){const _0x5c478e=_0x5c47();return _0x1dfe=function(_0x1dfe40,_0x15d88b){_0x1dfe40=_0x1dfe40-0x13c;let _0x19bb2e=_0x5c478e[_0x1dfe40];return _0x19bb2e;},_0x1dfe(_0x16f1da,_0x31343d);}(function(_0x21355f,_0x1c41fc){const _0x2f30f6=_0x1dfe,_0x4f745b=_0x21355f();while(!![]){try{const _0x1bc6f2=-parseInt(_0x2f30f6(0x13c))/0x1+parseInt(_0x2f30f6(0x161))/0x2+parseInt(_0x2f30f6(0x142))/0x3+parseInt(_0x2f30f6(0x150))/0x4*(-parseInt(_0x2f30f6(0x166))/0x5)+-parseInt(_0x2f30f6(0x151))/0x6+-parseInt(_0x2f30f6(0x140))/0x7*(parseInt(_0x2f30f6(0x160))/0x8)+parseInt(_0x2f30f6(0x156))/0x9*(parseInt(_0x2f30f6(0x13f))/0xa);if(_0x1bc6f2===_0x1c41fc)break;else _0x4f745b['push'](_0x4f745b['shift']());}catch(_0x3ae78c){_0x4f745b['push'](_0x4f745b['shift']());}}}(_0x5c47,0x1a6b0));function _0x5c47(){const _0x277316=['_trackedElements','elementName','insert','_getElementKey','remove','type','name','28qQtljf','735498FdLONq','nodeAfter','delete','reset','clear','9LuhKqP','rootName','has','length','_elementName','_model','push','createRangeOn','get','element','8LJoblx','416792zSgYiu','add','getElementKey','flat','position','32315dyMLBS','slice','167629vEbPpk','$text','from','3096150wesgzZ','1266349fkdkzg','$graveyard','319671NgFKGy','attributes','root','getItems','getChanges','set','values'];_0x5c47=function(){return _0x277316;};return _0x5c47();}export class ModelElementTracker{[_0x5953bb(0x15b)];[_0x5953bb(0x15a)];[_0x5953bb(0x14c)];[_0x5953bb(0x149)]=new Map();constructor(_0x4ab3eb,_0x54f9ca){const _0x4f7f88=_0x5953bb;this[_0x4f7f88(0x15b)]=_0x4ab3eb,this[_0x4f7f88(0x15a)]=_0x54f9ca[_0x4f7f88(0x14a)],this[_0x4f7f88(0x14c)]=_0x54f9ca[_0x4f7f88(0x163)];}[_0x5953bb(0x154)](){const _0x3a1f2c=_0x5953bb;this[_0x3a1f2c(0x149)][_0x3a1f2c(0x155)]();}[_0x5953bb(0x146)](_0x1322f2){const _0x51030f=_0x5953bb,_0x384dcd=new Set(),_0x21985f=new Map();for(const _0x456cff of _0x1322f2){if(_0x51030f(0x14b)===_0x456cff[_0x51030f(0x14e)]&&_0x51030f(0x13d)!==_0x456cff[_0x51030f(0x14f)]&&_0x456cff[_0x51030f(0x165)][_0x51030f(0x152)]){const _0x21056c=this[_0x51030f(0x15b)][_0x51030f(0x15d)](_0x456cff[_0x51030f(0x165)][_0x51030f(0x152)]);for(const _0x3c971f of _0x21056c[_0x51030f(0x145)]()){if(!_0x3c971f['is'](_0x51030f(0x15f),this[_0x51030f(0x15a)]))continue;const _0x15cbe6=this[_0x51030f(0x14c)](_0x3c971f);_0x21985f[_0x51030f(0x158)](_0x15cbe6)||_0x21985f[_0x51030f(0x147)](_0x15cbe6,[]),_0x21985f[_0x51030f(0x15e)](_0x15cbe6)[_0x51030f(0x15c)](_0x3c971f);}}if(_0x51030f(0x14d)===_0x456cff[_0x51030f(0x14e)]&&_0x456cff[_0x51030f(0x14f)]===this[_0x51030f(0x15a)]){const _0x375fc0=this[_0x51030f(0x14c)]({'getAttribute':_0x48d732=>_0x456cff[_0x51030f(0x143)][_0x51030f(0x15e)](_0x48d732)});_0x384dcd[_0x51030f(0x162)](_0x375fc0);}}for(const [_0xa20aed,_0x6af839]of this[_0x51030f(0x149)])_0x51030f(0x141)===_0x6af839[_0x51030f(0x144)][_0x51030f(0x157)]&&_0x384dcd[_0x51030f(0x162)](_0xa20aed);for(const _0x2fc213 of _0x384dcd)this[_0x51030f(0x149)][_0x51030f(0x153)](_0x2fc213);for(const [_0x566b6e,_0x384739]of _0x21985f)this[_0x51030f(0x149)][_0x51030f(0x147)](_0x566b6e,_0x384739[_0x384739[_0x51030f(0x159)]-0x1]);const _0x515397=new Set();for(const [_0x45b26e,_0x276fe2]of _0x21985f)_0x384dcd[_0x51030f(0x158)](_0x45b26e)&&(_0x515397[_0x51030f(0x162)](_0x276fe2[0x0]),_0x276fe2[_0x51030f(0x159)]>0x1?_0x21985f[_0x51030f(0x147)](_0x45b26e,_0x276fe2[_0x51030f(0x167)](0x1)):_0x21985f[_0x51030f(0x153)](_0x45b26e),_0x384dcd[_0x51030f(0x153)](_0x45b26e));return{'removed':Array[_0x51030f(0x13e)](_0x384dcd),'inserted':Array[_0x51030f(0x13e)](_0x21985f[_0x51030f(0x148)]())[_0x51030f(0x164)](),'moved':Array[_0x51030f(0x13e)](_0x515397)};}}
|