@ckeditor/ckeditor5-footnotes 47.7.0-alpha.0 → 47.7.0-alpha.2
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 _0x58aed0}from'ckeditor5/src/core.js';import{isWidget as _0x268d8b,toWidget as _0x58fb8e,toWidgetEditable as _0x9fe8a8}from'ckeditor5/src/widget.js';import{uid as _0x2057c1}from'ckeditor5/src/utils.js';import{PointerObserver as _0x958e2e,ClickObserver as _0x511a3d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x59e7e6}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x7cd373}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x58aed0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x59e7e6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1288ca}=this;_0x1288ca['config']['define']('footnotes.multiBlock',!0x0),_0x1288ca['commands']['add']('insertFootnote',new _0x7cd373(_0x1288ca)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x426466){const _0x40fda9=_0x292e6f([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]),_0xd8fbd8=0x47a28506,_0x2d9c41=0x47a503ae^_0xd8fbd8,_0x528399=window[_0x292e6f([0x44,0x61,0x74,0x65])][_0x292e6f([0x6e,0x6f,0x77])](),_0x48c746=_0x426466[_0x292e6f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e909a=new window[(_0x292e6f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1beac8=>{_0x48c746[_0x292e6f([0x6f,0x6e,0x63,0x65])](_0x292e6f([0x72,0x65,0x61,0x64,0x79]),_0x1beac8);}),_0xf49fc2={[_0x292e6f([0x6b,0x74,0x79])]:_0x292e6f([0x45,0x43]),[_0x292e6f([0x75,0x73,0x65])]:_0x292e6f([0x73,0x69,0x67]),[_0x292e6f([0x63,0x72,0x76])]:_0x292e6f([0x50,0x2d,0x32,0x35,0x36]),[_0x292e6f([0x78])]:_0x292e6f([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]),[_0x292e6f([0x79])]:_0x292e6f([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]),[_0x292e6f([0x61,0x6c,0x67])]:_0x292e6f([0x45,0x53,0x32,0x35,0x36])},_0x38c221=_0x48c746[_0x292e6f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x292e6f([0x67,0x65,0x74])](_0x292e6f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1f6431(){let _0x4925cd,_0x5e5a81=null,_0xeb4d8=null;try{if(_0x38c221==_0x292e6f([0x47,0x50,0x4c]))return _0x292e6f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4925cd=_0x6fbaae(),!_0x4925cd)return _0x292e6f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4925cd[_0x292e6f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xeb4d8=_0x531d9e(_0x4925cd[_0x292e6f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4925cd[_0x292e6f([0x6a,0x74,0x69])])),await _0x426711()?_0x3d87d6()?_0x3cd489()?_0x292e6f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e2ded()?(_0x4925cd[_0x292e6f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x292e6f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e5a81=_0x17f70b(_0x292e6f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f8a4d()):_0x292e6f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x292e6f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x292e6f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x292e6f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3cd489(){const _0x46737b=[_0x292e6f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x292e6f([0x74,0x72,0x69,0x61,0x6c])][_0x292e6f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4925cd[_0x292e6f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x528399/0x3e8:0xe10*_0x2d9c41;return _0x4925cd[_0x292e6f([0x65,0x78,0x70])]<_0x46737b;}function _0x3d87d6(){const _0x14037f=_0x4925cd[_0x292e6f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14037f&&(!!_0x14037f[_0x292e6f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292e6f([0x2a]))||!!_0x14037f[_0x292e6f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292e6f([0x46,0x4f,0x4f])));}function _0x3e2ded(){const _0x2d9c28=_0x4925cd[_0x292e6f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d9c28||0x0==_0x2d9c28[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x45b140}=new URL(window[_0x292e6f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d9c28[_0x292e6f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45b140))return!0x0;const _0x291b23=_0x45b140[_0x292e6f([0x73,0x70,0x6c,0x69,0x74])](_0x292e6f([0x2e]));return _0x2d9c28[_0x292e6f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x240ceb=>_0x240ceb[_0x292e6f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x292e6f([0x2a])))[_0x292e6f([0x6d,0x61,0x70])](_0x322fa9=>_0x322fa9[_0x292e6f([0x73,0x70,0x6c,0x69,0x74])](_0x292e6f([0x2e])))[_0x292e6f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5633af=>_0x5633af[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x291b23[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x292e6f([0x6d,0x61,0x70])](_0x3f2b99=>Array(_0x291b23[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f2b99[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x292e6f([0x66,0x69,0x6c,0x6c])](_0x3f2b99[0x0]===_0x292e6f([0x2a])?_0x292e6f([0x2a]):'')[_0x292e6f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f2b99))[_0x292e6f([0x73,0x6f,0x6d,0x65])](_0x40a49a=>_0x291b23[_0x292e6f([0x65,0x76,0x65,0x72,0x79])]((_0x150f0a,_0x565c74)=>_0x40a49a[_0x565c74]===_0x150f0a||_0x40a49a[_0x565c74]===_0x292e6f([0x2a])));}function _0x2f8a4d(){return _0x5e5a81&&_0xeb4d8?new window[(_0x292e6f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39fc5a,_0x881e5f)=>{_0x5e5a81[_0x292e6f([0x74,0x68,0x65,0x6e])](_0x39fc5a,_0x881e5f),_0xeb4d8[_0x292e6f([0x74,0x68,0x65,0x6e])](_0x594cbe=>{_0x594cbe!=_0x292e6f([0x56,0x61,0x6c,0x69,0x64])&&_0x39fc5a(_0x594cbe);},_0x881e5f);}):_0x5e5a81||_0xeb4d8||_0x292e6f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x531d9e(_0x4ecff0,_0x19e954){return new window[(_0x292e6f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4900f2=>{if(_0x3995f7())return _0x4900f2(_0x292e6f([0x56,0x61,0x6c,0x69,0x64]));_0x359380(),_0x48c746[_0x292e6f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x292e6f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ec04b=!0x1;const _0x4a2dcc=_0x2057c1();function _0x247635(_0x115670){return!!_0x115670&&(typeof _0x115670===_0x292e6f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x115670===_0x292e6f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x115670[_0x292e6f([0x74,0x68,0x65,0x6e])]===_0x292e6f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x115670[_0x292e6f([0x63,0x61,0x74,0x63,0x68])]===_0x292e6f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31b993(_0x417002){_0x4b4127(_0x417002)[_0x292e6f([0x74,0x68,0x65,0x6e])](_0xdcf391=>{if(!_0xdcf391||_0xdcf391[_0x292e6f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x292e6f([0x6f,0x6b]))return _0x292e6f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b8ff1(_0x307144(_0x4a2dcc+_0x19e954))!=_0xdcf391[_0x292e6f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x292e6f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x292e6f([0x56,0x61,0x6c,0x69,0x64]);})[_0x292e6f([0x74,0x68,0x65,0x6e])](_0xc7fe03=>(_0x2f5a9e(),_0xc7fe03),()=>{const _0x2b8344=_0xdc162a();return null==_0x2b8344?(_0x2f5a9e(),_0x292e6f([0x56,0x61,0x6c,0x69,0x64])):_0x292e6f(_0x528399-_0x2b8344>(0x63ae0106^_0xd8fbd8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x292e6f([0x74,0x68,0x65,0x6e])](_0x4900f2)[_0x292e6f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4900f2(_0x292e6f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12cd42=0x47946b86^_0xd8fbd8;function _0x2f5a9e(){const _0x774e9=_0x292e6f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8ff1(_0x307144(_0x4ecff0)),_0x1151ef=_0x200514(_0x1b8ff1(window[_0x292e6f([0x4d,0x61,0x74,0x68])][_0x292e6f([0x63,0x65,0x69,0x6c])](_0x528399/_0x12cd42)));window[_0x292e6f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x292e6f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x774e9,_0x1151ef);}function _0xdc162a(){const _0x2c9688=_0x292e6f([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8ff1(_0x307144(_0x4ecff0)),_0x1d2ff8=window[_0x292e6f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x292e6f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c9688);return _0x1d2ff8?window[_0x292e6f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x200514(_0x1d2ff8),0x10)*_0x12cd42:null;}function _0x4b4127(_0x45b7da){return new window[(_0x292e6f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43d92e,_0x2d416c)=>{_0x45b7da[_0x292e6f([0x74,0x68,0x65,0x6e])](_0x43d92e,_0x2d416c),window[_0x292e6f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2d416c,0x47a351c6^_0xd8fbd8);});}}_0x48c746[_0x292e6f([0x6f,0x6e])](_0x292e6f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x18192d,_0x955d6b)=>{if(_0x955d6b[0x0]!=_0x4ecff0)return _0x4900f2(_0x292e6f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x955d6b[0x1]={..._0x955d6b[0x1],[_0x292e6f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4a2dcc};},{[_0x292e6f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x292e6f([0x68,0x69,0x67,0x68])}),_0x48c746[_0x292e6f([0x6f,0x6e])](_0x292e6f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37414a=>{_0x247635(_0x37414a[_0x292e6f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ec04b=!0x0,_0x31b993(_0x37414a[_0x292e6f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x292e6f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x292e6f([0x6c,0x6f,0x77])}),_0x3e909a[_0x292e6f([0x74,0x68,0x65,0x6e])](()=>{_0x4ec04b||_0x4900f2(_0x292e6f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3995f7(){return _0x48c746[_0x292e6f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x292e6f([0x76,0x69,0x65,0x77])][_0x292e6f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x292e6f([0x61,0x75,0x74,0x6f]);}function _0x359380(){_0x48c746[_0x292e6f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x292e6f([0x76,0x69,0x65,0x77])][_0x292e6f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x292e6f([0x61,0x75,0x74,0x6f]);}}function _0x17f70b(_0x4e9d19){const _0x20724d=[new window[(_0x292e6f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cfe4a=>setTimeout(_0x2cfe4a,0x47abbbca^_0xd8fbd8)),_0x3e909a[_0x292e6f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x292e6f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58e744=>{let _0x42e681=0x0;_0x48c746[_0x292e6f([0x6d,0x6f,0x64,0x65,0x6c])][_0x292e6f([0x6f,0x6e])](_0x292e6f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x486d72,_0xd3cfc8)=>{_0xd3cfc8[0x0][_0x292e6f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42e681++,_0x42e681==(0x47a280ee^_0xd8fbd8)&&(_0x58e744(),_0x486d72[_0x292e6f([0x6f,0x66,0x66])]());});}))];return window[_0x292e6f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x292e6f([0x72,0x61,0x63,0x65])](_0x20724d)[_0x292e6f([0x74,0x68,0x65,0x6e])](()=>_0x4e9d19);}async function _0x158d6f(){await _0x3e909a,_0x48c746[_0x292e6f([0x6d,0x6f,0x64,0x65,0x6c])][_0x292e6f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa0b747,_0x48c746[_0x292e6f([0x6d,0x6f,0x64,0x65,0x6c])][_0x292e6f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa0b747,_0x48c746[_0x292e6f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x292e6f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14040c(_0x34033d){const _0x53aa93=_0x335eac();_0x48c746[_0x53aa93]=_0x292e6f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34033d,_0x34033d!=_0x292e6f([0x56,0x61,0x6c,0x69,0x64])&&_0x158d6f();}function _0x335eac(){const _0x59c2b8=window[_0x292e6f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x292e6f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x292e6f([0x6e,0x6f,0x77])]())[_0x292e6f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x292e6f([0x2e]),'');let _0x4fbd7e=_0x292e6f([0x75]);for(let _0x30ab7c=0x0;_0x30ab7c<_0x59c2b8[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ab7c+=0x2){let _0x67eb57=window[_0x292e6f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c2b8[_0x292e6f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30ab7c,_0x30ab7c+0x2));_0x67eb57>=_0x40fda9[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x67eb57-=_0x40fda9[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fbd7e+=_0x40fda9[_0x67eb57];}return _0x4fbd7e;}function _0x6fbaae(){const _0x15275f=_0x38c221[_0x292e6f([0x73,0x70,0x6c,0x69,0x74])](_0x292e6f([0x2e]));if(0x3!=_0x15275f[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2b2a8c(_0x15275f[0x1]);function _0x2b2a8c(_0x27204f){const _0x126f1a=_0x3aa979(_0x27204f);return _0x126f1a&&_0x4eb494()?_0x126f1a:null;function _0x4eb494(){const _0x37ad3d=_0x126f1a[_0x292e6f([0x6a,0x74,0x69])],_0x4111c2=window[_0x292e6f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37ad3d[_0x292e6f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37ad3d[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4513ef={..._0x126f1a,[_0x292e6f([0x6a,0x74,0x69])]:_0x37ad3d[_0x292e6f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x37ad3d[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4513ef[_0x292e6f([0x76,0x63])],_0x307144(_0x4513ef)==_0x4111c2;}}}async function _0x426711(){let _0x44670c=!0x0;try{const _0x4ce1c5=_0x38c221[_0x292e6f([0x73,0x70,0x6c,0x69,0x74])](_0x292e6f([0x2e])),[_0x18b16b,_0x393853,_0x3aff5d]=_0x4ce1c5;return _0x3d1717(_0x18b16b),await _0x4cb9a1(_0x18b16b,_0x393853,_0x3aff5d),_0x44670c;}catch{return!0x1;}function _0x3d1717(_0x42b7b9){const _0x2cc5fc=_0x3aa979(_0x42b7b9);_0x2cc5fc&&_0x2cc5fc[_0x292e6f([0x61,0x6c,0x67])]==_0x292e6f([0x45,0x53,0x32,0x35,0x36])||(_0x44670c=!0x1);}async function _0x4cb9a1(_0x2b9567,_0x36d087,_0x18b577){const _0x45dd81=window[_0x292e6f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x292e6f([0x66,0x72,0x6f,0x6d])](_0xd4832b(_0x18b577),_0x467ab4=>_0x467ab4[_0x292e6f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x159f9d=new window[(_0x292e6f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x292e6f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b9567+_0x292e6f([0x2e])+_0x36d087),_0x37f5f3=window[_0x292e6f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x292e6f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37f5f3)return;const _0x11219f=await _0x37f5f3[_0x292e6f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x292e6f([0x6a,0x77,0x6b]),_0xf49fc2,{[_0x292e6f([0x6e,0x61,0x6d,0x65])]:_0x292e6f([0x45,0x43,0x44,0x53,0x41]),[_0x292e6f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x292e6f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x292e6f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37f5f3[_0x292e6f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x292e6f([0x6e,0x61,0x6d,0x65])]:_0x292e6f([0x45,0x43,0x44,0x53,0x41]),[_0x292e6f([0x68,0x61,0x73,0x68])]:{[_0x292e6f([0x6e,0x61,0x6d,0x65])]:_0x292e6f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11219f,_0x45dd81,_0x159f9d)||(_0x44670c=!0x1);}}function _0x3aa979(_0x2a5c7d){return _0x2a5c7d[_0x292e6f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x292e6f([0x65,0x79]))?JSON[_0x292e6f([0x70,0x61,0x72,0x73,0x65])](_0xd4832b(_0x2a5c7d)):null;}function _0xd4832b(_0x31cfec){return window[_0x292e6f([0x61,0x74,0x6f,0x62])](_0x31cfec[_0x292e6f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x292e6f([0x2b]))[_0x292e6f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x292e6f([0x2f])));}function _0x307144(_0x4605b1){let _0x50422e=0x1505;function _0x32ea8e(_0x439ac5){for(let _0x9a3864=0x0;_0x9a3864<_0x439ac5[_0x292e6f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9a3864++){const _0x1cbea3=_0x439ac5[_0x292e6f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9a3864);_0x50422e=(_0x50422e<<0x5)+_0x50422e+_0x1cbea3,_0x50422e&=_0x50422e;}}function _0x335af8(_0x4a4159){Array[_0x292e6f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a4159)?_0x4a4159[_0x292e6f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x335af8):_0x4a4159&&typeof _0x4a4159==_0x292e6f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x292e6f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a4159)[_0x292e6f([0x73,0x6f,0x72,0x74])]()[_0x292e6f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5c807e,_0x30f917])=>{_0x32ea8e(_0x5c807e),_0x335af8(_0x30f917);}):_0x32ea8e(window[_0x292e6f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a4159));}return _0x335af8(_0x4605b1),_0x50422e>>>0x0;}function _0x1b8ff1(_0x3dfd2b){return _0x3dfd2b[_0x292e6f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x292e6f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x292e6f([0x30]));}function _0x200514(_0x29e389){return _0x29e389[_0x292e6f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x292e6f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x292e6f([0x6a,0x6f,0x69,0x6e])]('');}function _0xa0b747(){}function _0x292e6f(_0x245d01){return _0x245d01['map'](_0x542a66=>String['fromCharCode'](_0x542a66))['join']('');}_0x14040c(await _0x1f6431());}(this);}['_moveSelectionToFootnoteDefinition'](_0x52dd99){const {plugins:_0x17e863,editing:_0x1a2f71,model:_0x1017a5}=this['editor'],_0x1bdb80=_0x17e863['get'](_0x59e7e6)['getFootnote'](_0x52dd99);return!!_0x1bdb80&&(_0x1017a5['change'](_0x2c1ea3=>{_0x2c1ea3['setSelection'](_0x2c1ea3['createPositionAt'](_0x1bdb80['definition'],'end'));}),_0x1a2f71['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x47582c){const {plugins:_0x2cea76,editing:_0x338b0a,model:_0x53f344}=this['editor'],_0x14eed9=_0x2cea76['get'](_0x59e7e6)['getFootnote'](_0x47582c);return!!_0x14eed9&&(_0x53f344['change'](_0x494d9c=>{_0x494d9c['setSelection'](_0x14eed9['reference'],'on');}),_0x338b0a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x46927c}=this['editor']['model'],_0x29ed27=this['editor']['config']['get']('footnotes.multiBlock');_0x46927c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x46927c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x46927c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x29ed27?_0x46927c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x46927c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x46927c['addChildCheck'](_0x354b17=>{for(const _0x1b2f53 of _0x354b17)if('footnoteDefinition'===_0x1b2f53['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3ee123}=this,{conversion:_0x5bf3c5,editing:_0x36fd6b}=_0x3ee123,{t:t}=_0x3ee123['locale'];_0x5bf3c5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x174e9b,{writer:_0x260a62,consumable:_0x75cd15})=>{const _0x8d2fe8=_0x174e9b['getChild'](0x0);if(!_0x8d2fe8||!_0x8d2fe8['is']('element','a'))return null;const _0x129dd1=_0x8d2fe8['getAttribute']('href')||'';if(!_0x129dd1['startsWith']('#'))return null;const _0x18c5e9=_0x129dd1['replace'](/^#/,'');if(!_0x18c5e9)return null;_0x75cd15['consume'](_0x8d2fe8,{'name':!0x0,'attributes':['href']});for(const {item:_0x5b0f16}of _0x36fd6b['view']['createRangeIn'](_0x8d2fe8))_0x5b0f16['is']('$textProxy')?_0x75cd15['consume'](_0x5b0f16['textNode'],{'name':!0x0}):_0x5b0f16['is']('element')&&_0x75cd15['consume'](_0x5b0f16,{'name':!0x0});return _0x260a62['createElement']('footnoteRef',{'footnoteId':_0x18c5e9});}}),_0x5bf3c5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48a5d5,{writer:_0x54c1b7})=>b(_0x48a5d5,_0x54c1b7)}),_0x5bf3c5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3aafcb,{writer:_0x219ff8})=>{const _0x21524a=_0x3aafcb['getAttribute']('footnoteCounter');return _0x58fb8e(b(_0x3aafcb,_0x219ff8),_0x219ff8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x21524a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3293ab}=this,{t:t}=_0x3293ab['locale'],{conversion:_0x541b89}=_0x3293ab;_0x541b89['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x541b89['for']('upcast')['add'](_0x37be8b=>{_0x37be8b['on']('element:ol',(_0x279d42,_0x341a31,_0x5d42fd)=>{const _0x42d2b9=_0x341a31['viewItem'];if(!_0x42d2b9['hasClass']('footnotes-list')||!_0x341a31['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5d42fd['consumable']['consume'](_0x42d2b9,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4d8d,modelCursor:_0x5451ba}=_0x5d42fd['convertChildren'](_0x341a31['viewItem'],_0x341a31['modelCursor']);_0x341a31['modelRange']=_0x4d8d,_0x341a31['modelCursor']=_0x5451ba;}),_0x37be8b['on']('element:hr',(_0x564643,_0x18b837,_0x38453a)=>{const _0x48fb0e=_0x18b837['viewItem'];_0x48fb0e['hasClass']('footnotes-divider')&&_0x18b837['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x38453a['consumable']['consume'](_0x48fb0e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x541b89['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xd7b664,{writer:_0x1d5aea})=>D(_0x1d5aea)}),_0x541b89['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5e23b2,{writer:_0x3d6371})=>{const _0x555415=D(_0x3d6371,{'data-footnotes-list-label':t('Footnotes')}),_0x5df604=_0x58fb8e(_0x555415,_0x3d6371,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3d6371['setCustomProperty']('footnotesDefinitions',!0x0,_0x5df604),_0x5df604;}});}['_defineDefinitionConverters'](){const {editor:_0x3032ed}=this,{conversion:_0x2dec7a,locale:_0x404e85}=_0x3032ed,_0x140af6=_0x3032ed['config']['get']('footnotes.multiBlock');_0x2dec7a['for']('upcast')['add'](_0xf35cd5=>{_0xf35cd5['on']('element:li',(_0x5f1021,_0x55b5b5,_0x3b8fcb)=>{const _0x47bbfa=_0x55b5b5['viewItem'];if(!_0x47bbfa['hasClass']('footnote-definition')||!_0x47bbfa['getAttribute']('id'))return;const _0x2a4cf5=_0x47bbfa['parent'];if(!_0x2a4cf5['is']('element','ol')||!_0x2a4cf5['hasClass']('footnotes-list'))return;if(!_0x3b8fcb['consumable']['test'](_0x47bbfa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4237e4=_0x3b8fcb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x47bbfa['getAttribute']('id')});if(!_0x3b8fcb['safeInsert'](_0x4237e4,_0x55b5b5['modelCursor']))return;_0x3b8fcb['consumable']['consume'](_0x47bbfa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5a38ac=Array['from'](_0x47bbfa['getChildren']())['find'](_0x43a213=>_0x43a213['is']('element')&&_0x43a213['hasClass']('footnote-content'));for(const _0xc52553 of _0x47bbfa['getChildren']())_0xc52553['is']('element')&&(_0x3b8fcb['consumable']['consume'](_0xc52553,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3b8fcb['consumable']['consume'](_0xc52553,{'name':!0x0,'classes':'footnote-content'}));if(_0x5a38ac){if(_0x140af6)_0x3b8fcb['convertChildren'](_0x5a38ac,_0x4237e4);else{const _0x3d35da=_0x3b8fcb['writer']['createElement']('footnoteInlineContent');_0x3b8fcb['writer']['insert'](_0x3d35da,_0x4237e4),_0x3b8fcb['convertChildren'](_0x5a38ac,_0x3d35da);}}_0x3b8fcb['updateConversionResult'](_0x4237e4,_0x55b5b5);});}),_0x2dec7a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3484fe,{writer:_0x32ba79})=>y(_0x3484fe,_0x32ba79,_0x404e85,{'dataPipeline':!0x0})}),_0x2dec7a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5bb070,{writer:_0xbf5bf0})=>y(_0x5bb070,_0xbf5bf0,_0x404e85)});}['_defineBogusParagraphConverters'](){const {editor:_0x4ee56e}=this,{conversion:_0x240c53}=_0x4ee56e;_0x4ee56e['config']['get']('footnotes.multiBlock')?(_0x240c53['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x240c53['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4ee56e['model']['document'],'change:data',()=>{!function(_0x4653f8,_0x57b992){const _0x1e91a3=_0x4653f8['document']['differ'],_0x1d1290=new Set();for(const _0x2e7b0d of _0x1e91a3['getChanges']()){const _0x5489c0='attribute'==_0x2e7b0d['type']?_0x2e7b0d['range']['start']['parent']:_0x2e7b0d['position']['parent'];_0x5489c0['is']('element','footnoteDefinition')&&_0x1d1290['add'](_0x5489c0);}for(const _0x349d9a of _0x1d1290['values']()){const _0x53fd9e=Array['from'](_0x349d9a['getChildren']())['filter'](_0x58685f=>v(_0x58685f,_0x57b992['mapper']));for(const _0x1cdda0 of _0x53fd9e)_0x57b992['reconvertItem'](_0x1cdda0);}}(_0x4ee56e['model'],_0x4ee56e['editing']);})):(_0x240c53['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x240c53['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x11f5bb,{writer:_0xfa2ccd})=>{const _0x2159d6=_0xfa2ccd['createContainerElement']('span');return _0xfa2ccd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2159d6),_0x2159d6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2f50d7}=this,{editing:_0x2f4824,t:t}=_0x2f50d7,_0x4edc46=_0x2f50d7['model']['document']['selection'];_0x2f50d7['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2f50d7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2f4824['view']['document'],'enter',(_0x2c57dc,_0x23bbad)=>{const _0x4af910=function(_0xfbf5c4){const _0x35a272=_0xfbf5c4['getSelectedElement']();if(_0x35a272?.['is']('element','footnoteRef'))return _0x35a272;return null;}(_0x4edc46);if(_0x4af910){const _0x4aca98=_0x4af910['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4aca98),_0x23bbad['preventDefault'](),_0x2c57dc['stop']();}},{'context':_0x268d8b});}['_defineClickHandlers'](){const {editor:_0x48c498}=this,{editing:_0xa78005}=_0x48c498;_0x48c498['editing']['view']['addObserver'](_0x958e2e),_0x48c498['editing']['view']['addObserver'](_0x511a3d);let _0x5de236=!0x1;this['listenTo'](_0xa78005['view']['document'],'pointerdown',(_0x1bdc4e,_0x7538fb)=>{const {target:_0x409e5c}=_0x7538fb,_0x137e2e=_0xa78005['view']['document']['selection'];_0x5de236=!!(_0x409e5c?.['is']('element','a')&&_0x409e5c['parent']?.['is']('element','sup')&&_0x409e5c['parent']['hasClass']('footnote'))&&_0x137e2e['getSelectedElement']()===_0x409e5c['parent'];},{'priority':'high'}),this['listenTo'](_0xa78005['view']['document'],'click',(_0x2dd2e6,_0x5c79a0)=>{const {target:_0x28750d}=_0x5c79a0;if(!_0x28750d?.['is']('element','a'))return;if(_0x28750d['parent']?.['is']('element','sup')&&_0x28750d['parent']['hasClass']('footnote')&&!_0x5de236)return void _0x5c79a0['preventDefault']();let _0x368249=_0x28750d['getAttribute']('href');if(!_0x368249?.['startsWith']('#'))return;_0x368249=_0x368249['slice'](0x1);let _0x1c6caa=!0x1;(_0x368249['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x368249['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x368249))&&(_0x1c6caa=!0x0),_0x1c6caa&&(_0x5c79a0['preventDefault'](),_0x2dd2e6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x295009}={}){return(_0x147976,{writer:_0x27059f})=>{if(!g(_0x147976))return null;if(!_0x295009)return _0x27059f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x362f51=_0x27059f['createContainerElement']('p');return _0x27059f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x362f51),_0x362f51;};}function g(_0x2e5769){const {parent:_0x14d71f}=_0x2e5769;if(!_0x14d71f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x14d71f['childCount'])return!0x1;for(const _0x3c1573 of _0x2e5769['getAttributeKeys']())if(!_0x3c1573['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3c1573)return!0x1;return!0x0;}function v(_0x2f8e12,_0x59935a){if(!_0x2f8e12['is']('element','paragraph'))return!0x1;const _0x48549b=_0x59935a['toViewElement'](_0x2f8e12);return!!_0x48549b&&g(_0x2f8e12)!==_0x48549b['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x463626){return _0x268d8b(_0x463626)&&_0x463626['is']('containerElement')&&!!_0x463626['getCustomProperty']('footnotesDefinitions');}function D(_0x36ea7b,_0x19744d={}){const _0x23cf52=_0x36ea7b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5d8fab=_0x36ea7b['createContainerElement']('ol',{'class':'footnotes-list'},_0x36ea7b['createSlot']());return _0x36ea7b['createContainerElement']('div',{'class':'footnotes',..._0x19744d},[_0x23cf52,_0x5d8fab]);}function b(_0x296034,_0x12e4d3){const _0x44dc57=_0x296034['getAttribute']('footnoteId'),_0x560365=_0x296034['getAttribute']('footnoteCounter'),_0x5c22bd=_0x12e4d3['createUIElement']('a',{'href':'#'+_0x44dc57},function(_0x1e8ec6){const _0x6d247c=this['toDomElement'](_0x1e8ec6);return _0x6d247c['textContent']=_0x560365,_0x6d247c;}),_0x28d3dc=_0x12e4d3['createContainerElement']('sup',{'id':'ref-'+_0x44dc57,'class':'footnote'},[_0x5c22bd]);return _0x28d3dc['getFillerOffset']=()=>null,_0x28d3dc;}function y(_0x29622b,_0x5218be,_0x427370,{dataPipeline:_0xb8ab05}={}){const {t:t}=_0x427370,_0x42e4a0=_0x29622b['getAttribute']('footnoteId'),_0xc72ff4=_0x5218be['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x42e4a0},function(_0x3a6070){const _0x2239b4=this['toDomElement'](_0x3a6070);return _0x2239b4['innerText']='^',_0x2239b4;}),_0x2b108a=_0xb8ab05?_0x5218be['createContainerElement']('div',{'class':'footnote-content'}):_0x9fe8a8(_0x5218be['createEditableElement']('div',{'class':'footnote-content'}),_0x5218be,{'label':t('Footnote\x20content.')});return _0x5218be['insert'](_0x5218be['createPositionAt'](_0x2b108a,0x0),_0x5218be['createSlot']()),_0x5218be['createContainerElement']('li',{'class':'footnote-definition','id':_0x42e4a0},[_0xc72ff4,_0x2b108a]);}
|
|
23
|
+
import{Plugin as _0xcad823}from'ckeditor5/src/core.js';import{isWidget as _0x546ae2,toWidget as _0x3860b8,toWidgetEditable as _0x3b8abf}from'ckeditor5/src/widget.js';import{uid as _0x28149e}from'ckeditor5/src/utils.js';import{PointerObserver as _0x16f1fa,ClickObserver as _0x3bbf3b}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1e4c32}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x18c967}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xcad823{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1e4c32];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1fb3e5}=this;_0x1fb3e5['config']['define']('footnotes.multiBlock',!0x0),_0x1fb3e5['commands']['add']('insertFootnote',new _0x18c967(_0x1fb3e5)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x176bbd){const _0x5e3fd3=_0x2603d5([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]),_0x42673b=0x47a28506,_0x25f7d9=0x47a50226^_0x42673b,_0x1cf91e=window[_0x2603d5([0x44,0x61,0x74,0x65])][_0x2603d5([0x6e,0x6f,0x77])](),_0x1640f8=_0x176bbd[_0x2603d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3d42d2=new window[(_0x2603d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ea5a2=>{_0x1640f8[_0x2603d5([0x6f,0x6e,0x63,0x65])](_0x2603d5([0x72,0x65,0x61,0x64,0x79]),_0x1ea5a2);}),_0x96086e={[_0x2603d5([0x6b,0x74,0x79])]:_0x2603d5([0x45,0x43]),[_0x2603d5([0x75,0x73,0x65])]:_0x2603d5([0x73,0x69,0x67]),[_0x2603d5([0x63,0x72,0x76])]:_0x2603d5([0x50,0x2d,0x32,0x35,0x36]),[_0x2603d5([0x78])]:_0x2603d5([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]),[_0x2603d5([0x79])]:_0x2603d5([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]),[_0x2603d5([0x61,0x6c,0x67])]:_0x2603d5([0x45,0x53,0x32,0x35,0x36])},_0x4036c1=_0x1640f8[_0x2603d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2603d5([0x67,0x65,0x74])](_0x2603d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xee5de1(){let _0x23b312,_0x4209d0=null,_0x11ce68=null;try{if(_0x4036c1==_0x2603d5([0x47,0x50,0x4c]))return _0x2603d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23b312=_0x155936(),!_0x23b312)return _0x2603d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23b312[_0x2603d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11ce68=_0x2de233(_0x23b312[_0x2603d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23b312[_0x2603d5([0x6a,0x74,0x69])])),await _0x49480a()?_0x1dccd7()?_0x4f1f58()?_0x2603d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6849d0()?(_0x23b312[_0x2603d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2603d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4209d0=_0x52b402(_0x2603d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1cc27e()):_0x2603d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2603d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2603d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2603d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f1f58(){const _0x460248=[_0x2603d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2603d5([0x74,0x72,0x69,0x61,0x6c])][_0x2603d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23b312[_0x2603d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1cf91e/0x3e8:0xe10*_0x25f7d9;return _0x23b312[_0x2603d5([0x65,0x78,0x70])]<_0x460248;}function _0x1dccd7(){const _0x1ae7a5=_0x23b312[_0x2603d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ae7a5&&(!!_0x1ae7a5[_0x2603d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2603d5([0x2a]))||!!_0x1ae7a5[_0x2603d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2603d5([0x46,0x4f,0x4f])));}function _0x6849d0(){const _0x213cd3=_0x23b312[_0x2603d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x213cd3||0x0==_0x213cd3[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c2873}=new URL(window[_0x2603d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x213cd3[_0x2603d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c2873))return!0x0;const _0x142583=_0x3c2873[_0x2603d5([0x73,0x70,0x6c,0x69,0x74])](_0x2603d5([0x2e]));return _0x213cd3[_0x2603d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5979fa=>_0x5979fa[_0x2603d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2603d5([0x2a])))[_0x2603d5([0x6d,0x61,0x70])](_0x45fb17=>_0x45fb17[_0x2603d5([0x73,0x70,0x6c,0x69,0x74])](_0x2603d5([0x2e])))[_0x2603d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c5137=>_0x3c5137[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x142583[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2603d5([0x6d,0x61,0x70])](_0x4451e2=>Array(_0x142583[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4451e2[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2603d5([0x66,0x69,0x6c,0x6c])](_0x4451e2[0x0]===_0x2603d5([0x2a])?_0x2603d5([0x2a]):'')[_0x2603d5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4451e2))[_0x2603d5([0x73,0x6f,0x6d,0x65])](_0x2f4188=>_0x142583[_0x2603d5([0x65,0x76,0x65,0x72,0x79])]((_0x3e3825,_0x4f8e7e)=>_0x2f4188[_0x4f8e7e]===_0x3e3825||_0x2f4188[_0x4f8e7e]===_0x2603d5([0x2a])));}function _0x1cc27e(){return _0x4209d0&&_0x11ce68?new window[(_0x2603d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e7bdd,_0x1db2cd)=>{_0x4209d0[_0x2603d5([0x74,0x68,0x65,0x6e])](_0x5e7bdd,_0x1db2cd),_0x11ce68[_0x2603d5([0x74,0x68,0x65,0x6e])](_0x27e11d=>{_0x27e11d!=_0x2603d5([0x56,0x61,0x6c,0x69,0x64])&&_0x5e7bdd(_0x27e11d);},_0x1db2cd);}):_0x4209d0||_0x11ce68||_0x2603d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2de233(_0x11c7fd,_0x21950d){return new window[(_0x2603d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbc30ab=>{if(_0x4798c3())return _0xbc30ab(_0x2603d5([0x56,0x61,0x6c,0x69,0x64]));_0x3c562b(),_0x1640f8[_0x2603d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2603d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x414fc1=!0x1;const _0x18d0d7=_0x28149e();function _0x1abdf6(_0x29721e){return!!_0x29721e&&(typeof _0x29721e===_0x2603d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29721e===_0x2603d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29721e[_0x2603d5([0x74,0x68,0x65,0x6e])]===_0x2603d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29721e[_0x2603d5([0x63,0x61,0x74,0x63,0x68])]===_0x2603d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34e574(_0x45ddd1){_0x43861f(_0x45ddd1)[_0x2603d5([0x74,0x68,0x65,0x6e])](_0x23931c=>{if(!_0x23931c||_0x23931c[_0x2603d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2603d5([0x6f,0x6b]))return _0x2603d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3aad18(_0x2bf5fa(_0x18d0d7+_0x21950d))!=_0x23931c[_0x2603d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2603d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2603d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x2603d5([0x74,0x68,0x65,0x6e])](_0xfc956f=>(_0x440d83(),_0xfc956f),()=>{const _0x37b672=_0x260c6b();return null==_0x37b672?(_0x440d83(),_0x2603d5([0x56,0x61,0x6c,0x69,0x64])):_0x2603d5(_0x1cf91e-_0x37b672>(0x63ae0106^_0x42673b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2603d5([0x74,0x68,0x65,0x6e])](_0xbc30ab)[_0x2603d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbc30ab(_0x2603d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x400cb4=0x47946b86^_0x42673b;function _0x440d83(){const _0x7cd57=_0x2603d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aad18(_0x2bf5fa(_0x11c7fd)),_0x591bb4=_0x26efe0(_0x3aad18(window[_0x2603d5([0x4d,0x61,0x74,0x68])][_0x2603d5([0x63,0x65,0x69,0x6c])](_0x1cf91e/_0x400cb4)));window[_0x2603d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2603d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7cd57,_0x591bb4);}function _0x260c6b(){const _0x2147f2=_0x2603d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x3aad18(_0x2bf5fa(_0x11c7fd)),_0x77e088=window[_0x2603d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2603d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2147f2);return _0x77e088?window[_0x2603d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26efe0(_0x77e088),0x10)*_0x400cb4:null;}function _0x43861f(_0x3083bd){return new window[(_0x2603d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xcbfc66,_0x17c59d)=>{_0x3083bd[_0x2603d5([0x74,0x68,0x65,0x6e])](_0xcbfc66,_0x17c59d),window[_0x2603d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x17c59d,0x47a351c6^_0x42673b);});}}_0x1640f8[_0x2603d5([0x6f,0x6e])](_0x2603d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55aa79,_0x20df5f)=>{if(_0x20df5f[0x0]!=_0x11c7fd)return _0xbc30ab(_0x2603d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x20df5f[0x1]={..._0x20df5f[0x1],[_0x2603d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x18d0d7};},{[_0x2603d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2603d5([0x68,0x69,0x67,0x68])}),_0x1640f8[_0x2603d5([0x6f,0x6e])](_0x2603d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x7bb0fd=>{_0x1abdf6(_0x7bb0fd[_0x2603d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x414fc1=!0x0,_0x34e574(_0x7bb0fd[_0x2603d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2603d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2603d5([0x6c,0x6f,0x77])}),_0x3d42d2[_0x2603d5([0x74,0x68,0x65,0x6e])](()=>{_0x414fc1||_0xbc30ab(_0x2603d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4798c3(){return _0x1640f8[_0x2603d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2603d5([0x76,0x69,0x65,0x77])][_0x2603d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2603d5([0x61,0x75,0x74,0x6f]);}function _0x3c562b(){_0x1640f8[_0x2603d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2603d5([0x76,0x69,0x65,0x77])][_0x2603d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2603d5([0x61,0x75,0x74,0x6f]);}}function _0x52b402(_0x488fa7){const _0x29f80f=[new window[(_0x2603d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154460=>setTimeout(_0x154460,0x47abbbca^_0x42673b)),_0x3d42d2[_0x2603d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2603d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c3b9d=>{let _0x2a7378=0x0;_0x1640f8[_0x2603d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2603d5([0x6f,0x6e])](_0x2603d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa1491b,_0x58b869)=>{_0x58b869[0x0][_0x2603d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a7378++,_0x2a7378==(0x47a280ee^_0x42673b)&&(_0x1c3b9d(),_0xa1491b[_0x2603d5([0x6f,0x66,0x66])]());});}))];return window[_0x2603d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2603d5([0x72,0x61,0x63,0x65])](_0x29f80f)[_0x2603d5([0x74,0x68,0x65,0x6e])](()=>_0x488fa7);}async function _0x50aeb8(){await _0x3d42d2,_0x1640f8[_0x2603d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2603d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7c1f,_0x1640f8[_0x2603d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x2603d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e7c1f,_0x1640f8[_0x2603d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2603d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15bd5c(_0x5d52fa){const _0x36a7a5=_0x4a433c();_0x1640f8[_0x36a7a5]=_0x2603d5([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d52fa,_0x5d52fa!=_0x2603d5([0x56,0x61,0x6c,0x69,0x64])&&_0x50aeb8();}function _0x4a433c(){const _0x3b3c93=window[_0x2603d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2603d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2603d5([0x6e,0x6f,0x77])]())[_0x2603d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2603d5([0x2e]),'');let _0x10d47b=_0x2603d5([0x75]);for(let _0x163cb0=0x0;_0x163cb0<_0x3b3c93[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x163cb0+=0x2){let _0x22d512=window[_0x2603d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b3c93[_0x2603d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x163cb0,_0x163cb0+0x2));_0x22d512>=_0x5e3fd3[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22d512-=_0x5e3fd3[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10d47b+=_0x5e3fd3[_0x22d512];}return _0x10d47b;}function _0x155936(){const _0x340625=_0x4036c1[_0x2603d5([0x73,0x70,0x6c,0x69,0x74])](_0x2603d5([0x2e]));if(0x3!=_0x340625[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f531f(_0x340625[0x1]);function _0x3f531f(_0x7f2a3b){const _0x42fda6=_0x1cf49b(_0x7f2a3b);return _0x42fda6&&_0x489f07()?_0x42fda6:null;function _0x489f07(){const _0x2702a4=_0x42fda6[_0x2603d5([0x6a,0x74,0x69])],_0xd809ae=window[_0x2603d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2702a4[_0x2603d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2702a4[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e55dc={..._0x42fda6,[_0x2603d5([0x6a,0x74,0x69])]:_0x2702a4[_0x2603d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2702a4[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e55dc[_0x2603d5([0x76,0x63])],_0x2bf5fa(_0x1e55dc)==_0xd809ae;}}}async function _0x49480a(){let _0x226ecf=!0x0;try{const _0x7da0b=_0x4036c1[_0x2603d5([0x73,0x70,0x6c,0x69,0x74])](_0x2603d5([0x2e])),[_0x130a58,_0x3d87b4,_0xcd4708]=_0x7da0b;return _0x839b27(_0x130a58),await _0x4a1323(_0x130a58,_0x3d87b4,_0xcd4708),_0x226ecf;}catch{return!0x1;}function _0x839b27(_0x272071){const _0xb13a54=_0x1cf49b(_0x272071);_0xb13a54&&_0xb13a54[_0x2603d5([0x61,0x6c,0x67])]==_0x2603d5([0x45,0x53,0x32,0x35,0x36])||(_0x226ecf=!0x1);}async function _0x4a1323(_0x1f4bde,_0x3129fe,_0x1a0a5a){const _0x3ce0fe=window[_0x2603d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2603d5([0x66,0x72,0x6f,0x6d])](_0x508e5a(_0x1a0a5a),_0x8a8b90=>_0x8a8b90[_0x2603d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x574d79=new window[(_0x2603d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2603d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f4bde+_0x2603d5([0x2e])+_0x3129fe),_0x192d72=window[_0x2603d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2603d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x192d72)return;const _0x4e87a8=await _0x192d72[_0x2603d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2603d5([0x6a,0x77,0x6b]),_0x96086e,{[_0x2603d5([0x6e,0x61,0x6d,0x65])]:_0x2603d5([0x45,0x43,0x44,0x53,0x41]),[_0x2603d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2603d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2603d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x192d72[_0x2603d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2603d5([0x6e,0x61,0x6d,0x65])]:_0x2603d5([0x45,0x43,0x44,0x53,0x41]),[_0x2603d5([0x68,0x61,0x73,0x68])]:{[_0x2603d5([0x6e,0x61,0x6d,0x65])]:_0x2603d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e87a8,_0x3ce0fe,_0x574d79)||(_0x226ecf=!0x1);}}function _0x1cf49b(_0x417a43){return _0x417a43[_0x2603d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2603d5([0x65,0x79]))?JSON[_0x2603d5([0x70,0x61,0x72,0x73,0x65])](_0x508e5a(_0x417a43)):null;}function _0x508e5a(_0x5ad365){return window[_0x2603d5([0x61,0x74,0x6f,0x62])](_0x5ad365[_0x2603d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2603d5([0x2b]))[_0x2603d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2603d5([0x2f])));}function _0x2bf5fa(_0x183358){let _0x2e139b=0x1505;function _0x16c47a(_0x24b2dc){for(let _0x35d24d=0x0;_0x35d24d<_0x24b2dc[_0x2603d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35d24d++){const _0x2c138c=_0x24b2dc[_0x2603d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35d24d);_0x2e139b=(_0x2e139b<<0x5)+_0x2e139b+_0x2c138c,_0x2e139b&=_0x2e139b;}}function _0x17f7ff(_0x227fd4){Array[_0x2603d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x227fd4)?_0x227fd4[_0x2603d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17f7ff):_0x227fd4&&typeof _0x227fd4==_0x2603d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2603d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x227fd4)[_0x2603d5([0x73,0x6f,0x72,0x74])]()[_0x2603d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2dc19f,_0x214ce0])=>{_0x16c47a(_0x2dc19f),_0x17f7ff(_0x214ce0);}):_0x16c47a(window[_0x2603d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x227fd4));}return _0x17f7ff(_0x183358),_0x2e139b>>>0x0;}function _0x3aad18(_0x35f977){return _0x35f977[_0x2603d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2603d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2603d5([0x30]));}function _0x26efe0(_0x25a8ba){return _0x25a8ba[_0x2603d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2603d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2603d5([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e7c1f(){}function _0x2603d5(_0x2385fb){return _0x2385fb['map'](_0x39d0fc=>String['fromCharCode'](_0x39d0fc))['join']('');}_0x15bd5c(await _0xee5de1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1a11b6){const {plugins:_0x483062,editing:_0x27b34b,model:_0x5dd791}=this['editor'],_0x5657d9=_0x483062['get'](_0x1e4c32)['getFootnote'](_0x1a11b6);return!!_0x5657d9&&(_0x5dd791['change'](_0x4cea00=>{_0x4cea00['setSelection'](_0x4cea00['createPositionAt'](_0x5657d9['definition'],'end'));}),_0x27b34b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4c242f){const {plugins:_0x104b65,editing:_0x32247a,model:_0xeb1b7}=this['editor'],_0x55fb99=_0x104b65['get'](_0x1e4c32)['getFootnote'](_0x4c242f);return!!_0x55fb99&&(_0xeb1b7['change'](_0x3da5d0=>{_0x3da5d0['setSelection'](_0x55fb99['reference'],'on');}),_0x32247a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2d0b4f}=this['editor']['model'],_0x5372f1=this['editor']['config']['get']('footnotes.multiBlock');_0x2d0b4f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2d0b4f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2d0b4f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5372f1?_0x2d0b4f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2d0b4f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2d0b4f['addChildCheck'](_0x52abcf=>{for(const _0x24812e of _0x52abcf)if('footnoteDefinition'===_0x24812e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xb2aab5}=this,{conversion:_0x2aeea4,editing:_0x1ea2cd}=_0xb2aab5,{t:t}=_0xb2aab5['locale'];_0x2aeea4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4997f7,{writer:_0x351e87,consumable:_0x11e985})=>{const _0x32918e=_0x4997f7['getChild'](0x0);if(!_0x32918e||!_0x32918e['is']('element','a'))return null;const _0x3cac18=_0x32918e['getAttribute']('href')||'';if(!_0x3cac18['startsWith']('#'))return null;const _0x93347=_0x3cac18['replace'](/^#/,'');if(!_0x93347)return null;_0x11e985['consume'](_0x32918e,{'name':!0x0,'attributes':['href']});for(const {item:_0x2a5804}of _0x1ea2cd['view']['createRangeIn'](_0x32918e))_0x2a5804['is']('$textProxy')?_0x11e985['consume'](_0x2a5804['textNode'],{'name':!0x0}):_0x2a5804['is']('element')&&_0x11e985['consume'](_0x2a5804,{'name':!0x0});return _0x351e87['createElement']('footnoteRef',{'footnoteId':_0x93347});}}),_0x2aeea4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x6b2ac0,{writer:_0xb6250c})=>b(_0x6b2ac0,_0xb6250c)}),_0x2aeea4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5ce96d,{writer:_0x12bb0a})=>{const _0x5d2866=_0x5ce96d['getAttribute']('footnoteCounter');return _0x3860b8(b(_0x5ce96d,_0x12bb0a),_0x12bb0a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5d2866)});}});}['_defineDefinitionsConverters'](){const {editor:_0x586287}=this,{t:t}=_0x586287['locale'],{conversion:_0x1260b7}=_0x586287;_0x1260b7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1260b7['for']('upcast')['add'](_0x351b01=>{_0x351b01['on']('element:ol',(_0x2a157f,_0x2911f0,_0x5213b9)=>{const _0x5ceef2=_0x2911f0['viewItem'];if(!_0x5ceef2['hasClass']('footnotes-list')||!_0x2911f0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5213b9['consumable']['consume'](_0x5ceef2,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x518bb6,modelCursor:_0x1f2163}=_0x5213b9['convertChildren'](_0x2911f0['viewItem'],_0x2911f0['modelCursor']);_0x2911f0['modelRange']=_0x518bb6,_0x2911f0['modelCursor']=_0x1f2163;}),_0x351b01['on']('element:hr',(_0x47be05,_0x857489,_0x250cea)=>{const _0xf70e3=_0x857489['viewItem'];_0xf70e3['hasClass']('footnotes-divider')&&_0x857489['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x250cea['consumable']['consume'](_0xf70e3,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1260b7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3a45b3,{writer:_0x790d16})=>D(_0x790d16)}),_0x1260b7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x84ade2,{writer:_0x1e2458})=>{const _0x3b27d0=D(_0x1e2458,{'data-footnotes-list-label':t('Footnotes')}),_0x497e12=_0x3860b8(_0x3b27d0,_0x1e2458,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1e2458['setCustomProperty']('footnotesDefinitions',!0x0,_0x497e12),_0x497e12;}});}['_defineDefinitionConverters'](){const {editor:_0x1a1edb}=this,{conversion:_0x4ac4dc,locale:_0x363391}=_0x1a1edb,_0x493828=_0x1a1edb['config']['get']('footnotes.multiBlock');_0x4ac4dc['for']('upcast')['add'](_0x36663b=>{_0x36663b['on']('element:li',(_0x11e24a,_0x494f2f,_0x4dfdd0)=>{const _0x2ce1dd=_0x494f2f['viewItem'];if(!_0x2ce1dd['hasClass']('footnote-definition')||!_0x2ce1dd['getAttribute']('id'))return;const _0x5863cd=_0x2ce1dd['parent'];if(!_0x5863cd['is']('element','ol')||!_0x5863cd['hasClass']('footnotes-list'))return;if(!_0x4dfdd0['consumable']['test'](_0x2ce1dd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2ef7a4=_0x4dfdd0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2ce1dd['getAttribute']('id')});if(!_0x4dfdd0['safeInsert'](_0x2ef7a4,_0x494f2f['modelCursor']))return;_0x4dfdd0['consumable']['consume'](_0x2ce1dd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3db203=Array['from'](_0x2ce1dd['getChildren']())['find'](_0x3f9de1=>_0x3f9de1['is']('element')&&_0x3f9de1['hasClass']('footnote-content'));for(const _0x347084 of _0x2ce1dd['getChildren']())_0x347084['is']('element')&&(_0x4dfdd0['consumable']['consume'](_0x347084,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4dfdd0['consumable']['consume'](_0x347084,{'name':!0x0,'classes':'footnote-content'}));if(_0x3db203){if(_0x493828)_0x4dfdd0['convertChildren'](_0x3db203,_0x2ef7a4);else{const _0x526319=_0x4dfdd0['writer']['createElement']('footnoteInlineContent');_0x4dfdd0['writer']['insert'](_0x526319,_0x2ef7a4),_0x4dfdd0['convertChildren'](_0x3db203,_0x526319);}}_0x4dfdd0['updateConversionResult'](_0x2ef7a4,_0x494f2f);});}),_0x4ac4dc['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4e4909,{writer:_0xbc122a})=>y(_0x4e4909,_0xbc122a,_0x363391,{'dataPipeline':!0x0})}),_0x4ac4dc['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x288b0a,{writer:_0xbed958})=>y(_0x288b0a,_0xbed958,_0x363391)});}['_defineBogusParagraphConverters'](){const {editor:_0x38e73b}=this,{conversion:_0x4ecc1f}=_0x38e73b;_0x38e73b['config']['get']('footnotes.multiBlock')?(_0x4ecc1f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x4ecc1f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x38e73b['model']['document'],'change:data',()=>{!function(_0x4c6d88,_0x6ac775){const _0xa22374=_0x4c6d88['document']['differ'],_0x4b80f5=new Set();for(const _0xfe6dd4 of _0xa22374['getChanges']()){const _0x597cc8='attribute'==_0xfe6dd4['type']?_0xfe6dd4['range']['start']['parent']:_0xfe6dd4['position']['parent'];_0x597cc8['is']('element','footnoteDefinition')&&_0x4b80f5['add'](_0x597cc8);}for(const _0x4d7da4 of _0x4b80f5['values']()){const _0x3535b9=Array['from'](_0x4d7da4['getChildren']())['filter'](_0x204fbe=>v(_0x204fbe,_0x6ac775['mapper']));for(const _0x4da187 of _0x3535b9)_0x6ac775['reconvertItem'](_0x4da187);}}(_0x38e73b['model'],_0x38e73b['editing']);})):(_0x4ecc1f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x4ecc1f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3b359d,{writer:_0x4c4895})=>{const _0xf1d7a9=_0x4c4895['createContainerElement']('span');return _0x4c4895['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xf1d7a9),_0xf1d7a9;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1b376f}=this,{editing:_0x5d98a2,t:t}=_0x1b376f,_0x3eac8d=_0x1b376f['model']['document']['selection'];_0x1b376f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1b376f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d98a2['view']['document'],'enter',(_0x164056,_0x15b4f2)=>{const _0x29d0a6=function(_0x2220c7){const _0x11aab4=_0x2220c7['getSelectedElement']();if(_0x11aab4?.['is']('element','footnoteRef'))return _0x11aab4;return null;}(_0x3eac8d);if(_0x29d0a6){const _0x47c207=_0x29d0a6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x47c207),_0x15b4f2['preventDefault'](),_0x164056['stop']();}},{'context':_0x546ae2});}['_defineClickHandlers'](){const {editor:_0x505542}=this,{editing:_0x30c707}=_0x505542;_0x505542['editing']['view']['addObserver'](_0x16f1fa),_0x505542['editing']['view']['addObserver'](_0x3bbf3b);let _0x31ae44=!0x1;this['listenTo'](_0x30c707['view']['document'],'pointerdown',(_0x4ce285,_0xb6f2a9)=>{const {target:_0x36586c}=_0xb6f2a9,_0x3d8005=_0x30c707['view']['document']['selection'];_0x31ae44=!!(_0x36586c?.['is']('element','a')&&_0x36586c['parent']?.['is']('element','sup')&&_0x36586c['parent']['hasClass']('footnote'))&&_0x3d8005['getSelectedElement']()===_0x36586c['parent'];},{'priority':'high'}),this['listenTo'](_0x30c707['view']['document'],'click',(_0x190ec4,_0x56fee9)=>{const {target:_0x2efe1f}=_0x56fee9;if(!_0x2efe1f?.['is']('element','a'))return;if(_0x2efe1f['parent']?.['is']('element','sup')&&_0x2efe1f['parent']['hasClass']('footnote')&&!_0x31ae44)return void _0x56fee9['preventDefault']();let _0x46570d=_0x2efe1f['getAttribute']('href');if(!_0x46570d?.['startsWith']('#'))return;_0x46570d=_0x46570d['slice'](0x1);let _0x482bad=!0x1;(_0x46570d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x46570d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x46570d))&&(_0x482bad=!0x0),_0x482bad&&(_0x56fee9['preventDefault'](),_0x190ec4['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5b9870}={}){return(_0x176cbf,{writer:_0x5f019e})=>{if(!g(_0x176cbf))return null;if(!_0x5b9870)return _0x5f019e['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2b2bd2=_0x5f019e['createContainerElement']('p');return _0x5f019e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2b2bd2),_0x2b2bd2;};}function g(_0xb2c9ce){const {parent:_0x17da0c}=_0xb2c9ce;if(!_0x17da0c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x17da0c['childCount'])return!0x1;for(const _0x18a691 of _0xb2c9ce['getAttributeKeys']())if(!_0x18a691['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x18a691)return!0x1;return!0x0;}function v(_0x19f80b,_0x3b6752){if(!_0x19f80b['is']('element','paragraph'))return!0x1;const _0x3da250=_0x3b6752['toViewElement'](_0x19f80b);return!!_0x3da250&&g(_0x19f80b)!==_0x3da250['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2ed59e){return _0x546ae2(_0x2ed59e)&&_0x2ed59e['is']('containerElement')&&!!_0x2ed59e['getCustomProperty']('footnotesDefinitions');}function D(_0xdf4cad,_0x32a18a={}){const _0x23ece2=_0xdf4cad['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x17a0b9=_0xdf4cad['createContainerElement']('ol',{'class':'footnotes-list'},_0xdf4cad['createSlot']());return _0xdf4cad['createContainerElement']('div',{'class':'footnotes',..._0x32a18a},[_0x23ece2,_0x17a0b9]);}function b(_0x16c52a,_0x4aa545){const _0x535200=_0x16c52a['getAttribute']('footnoteId'),_0x18de4f=_0x16c52a['getAttribute']('footnoteCounter'),_0x4fc2c0=_0x4aa545['createUIElement']('a',{'href':'#'+_0x535200},function(_0x449874){const _0x51d7c9=this['toDomElement'](_0x449874);return _0x51d7c9['textContent']=_0x18de4f,_0x51d7c9;}),_0x286dce=_0x4aa545['createContainerElement']('sup',{'id':'ref-'+_0x535200,'class':'footnote'},[_0x4fc2c0]);return _0x286dce['getFillerOffset']=()=>null,_0x286dce;}function y(_0xbfeb71,_0x111300,_0x47be8f,{dataPipeline:_0x31c679}={}){const {t:t}=_0x47be8f,_0x15a4af=_0xbfeb71['getAttribute']('footnoteId'),_0xceac30=_0x111300['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x15a4af},function(_0x5897ea){const _0x4e3882=this['toDomElement'](_0x5897ea);return _0x4e3882['innerText']='^',_0x4e3882;}),_0x2d8b84=_0x31c679?_0x111300['createContainerElement']('div',{'class':'footnote-content'}):_0x3b8abf(_0x111300['createEditableElement']('div',{'class':'footnote-content'}),_0x111300,{'label':t('Footnote\x20content.')});return _0x111300['insert'](_0x111300['createPositionAt'](_0x2d8b84,0x0),_0x111300['createSlot']()),_0x111300['createContainerElement']('li',{'class':'footnote-definition','id':_0x15a4af},[_0xceac30,_0x2d8b84]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x388f6d=_0x2ec4;(function(_0x2cd9b7,_0x278eac){const _0x4234df=_0x2ec4,_0x3eff98=_0x2cd9b7();while(!![]){try{const _0x539dc0=parseInt(_0x4234df(0xbb))/0x1*(-parseInt(_0x4234df(0xb0))/0x2)+parseInt(_0x4234df(0xbd))/0x3+-parseInt(_0x4234df(0xb2))/0x4*(parseInt(_0x4234df(0xb4))/0x5)+-parseInt(_0x4234df(0xb6))/0x6*(-parseInt(_0x4234df(0xba))/0x7)+-parseInt(_0x4234df(0xb8))/0x8+parseInt(_0x4234df(0xc2))/0x9+parseInt(_0x4234df(0xbc))/0xa*(-parseInt(_0x4234df(0xb9))/0xb);if(_0x539dc0===_0x278eac)break;else _0x3eff98['push'](_0x3eff98['shift']());}catch(_0x4c9765){_0x3eff98['push'](_0x3eff98['shift']());}}}(_0x3c9e,0xa5670));function _0x2ec4(_0x32a3e6,_0x40ea68){const _0x3c9ec6=_0x3c9e();return _0x2ec4=function(_0x2ec439,_0x5b9765){_0x2ec439=_0x2ec439-0xae;let _0x23dc3a=_0x3c9ec6[_0x2ec439];return _0x23dc3a;},_0x2ec4(_0x32a3e6,_0x40ea68);}function _0x3c9e(){const _0x1e45cb=['1QyHzLL','100GkhHPe','4002471cfGaMf','getFootnotesDefinitionsObjectElement','value','isEnabled','_updateFootnotesCounters','11138679EeNTcx','footnotesListStart','change','setAttribute','execute','plugins','model','1143394TIECrT','get','1428724PvLJwf','refresh','10lFldQN','getAttribute','5274ehmqBH','isInteger','1444000lBRRFD','597179MIyybc','917OKdNsG'];_0x3c9e=function(){return _0x1e45cb;};return _0x3c9e();}import{Command as _0x28cab2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x476852}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x28cab2{[_0x388f6d(0xb3)](){const _0x202822=_0x388f6d,{editor:_0x26a9b5}=this,_0x25e36a=_0x26a9b5[_0x202822(0xae)][_0x202822(0xb1)](_0x476852)[_0x202822(0xbe)]();this[_0x202822(0xc0)]=!!_0x25e36a,this[_0x202822(0xbf)]=_0x25e36a?.[_0x202822(0xb5)](_0x202822(0xc3))??null;}[_0x388f6d(0xc6)]({value:_0x32459b}){const _0x4aa1e1=_0x388f6d,{editor:_0x1388bd}=this,_0x2b7cb7=_0x1388bd[_0x4aa1e1(0xae)][_0x4aa1e1(0xb1)](_0x476852),_0x57002b=_0x2b7cb7[_0x4aa1e1(0xbe)]();_0x57002b&&Number[_0x4aa1e1(0xb7)](_0x32459b)&&_0x1388bd[_0x4aa1e1(0xaf)][_0x4aa1e1(0xc4)](_0x7ce0f5=>{const _0x4d9e0b=_0x4aa1e1;_0x7ce0f5[_0x4d9e0b(0xc5)](_0x4d9e0b(0xc3),_0x32459b,_0x57002b),_0x2b7cb7[_0x4d9e0b(0xc1)](_0x7ce0f5);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x18bafc=_0x5647;(function(_0x3986ba,_0x20fe75){const _0x53f553=_0x5647,_0x1a6e3b=_0x3986ba();while(!![]){try{const _0x128f54=parseInt(_0x53f553(0x74))/0x1+parseInt(_0x53f553(0x79))/0x2+-parseInt(_0x53f553(0x82))/0x3*(parseInt(_0x53f553(0x7f))/0x4)+-parseInt(_0x53f553(0x7e))/0x5*(-parseInt(_0x53f553(0x7a))/0x6)+-parseInt(_0x53f553(0x84))/0x7+-parseInt(_0x53f553(0x7c))/0x8+parseInt(_0x53f553(0x78))/0x9*(-parseInt(_0x53f553(0x80))/0xa);if(_0x128f54===_0x20fe75)break;else _0x1a6e3b['push'](_0x1a6e3b['shift']());}catch(_0x4910b3){_0x1a6e3b['push'](_0x1a6e3b['shift']());}}}(_0xef0a,0x87ae8));import{Command as _0x6fad57}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x405aad}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1f5ebd}from'../../footnotestracker.js';function _0x5647(_0x2fcd39,_0x61b77b){const _0xef0aa9=_0xef0a();return _0x5647=function(_0x5647bf,_0x66c77){_0x5647bf=_0x5647bf-0x70;let _0x395555=_0xef0aa9[_0x5647bf];return _0x395555;},_0x5647(_0x2fcd39,_0x61b77b);}export class FootnotesStyleCommand extends _0x6fad57{[_0x18bafc(0x71)](){const _0x583c02=_0x18bafc,{editor:_0x5b7d76}=this,_0x4e67a0=_0x5b7d76[_0x583c02(0x87)][_0x583c02(0x70)](_0x1f5ebd)[_0x583c02(0x75)]();this[_0x583c02(0x83)]=!!_0x4e67a0,this[_0x583c02(0x86)]=_0x4e67a0?.[_0x583c02(0x81)](_0x583c02(0x77))??null;}[_0x18bafc(0x85)]({value:_0x1e8063}){const _0x1756ad=_0x18bafc,{editor:_0x50aa6b}=this,_0x35bcce=_0x50aa6b[_0x1756ad(0x87)][_0x1756ad(0x70)](_0x1f5ebd),_0x1fe5c5=_0x35bcce[_0x1756ad(0x75)]();_0x1fe5c5&&_0x405aad[_0x1756ad(0x7d)](_0x1e8063)&&_0x50aa6b[_0x1756ad(0x7b)][_0x1756ad(0x72)](_0x375eff=>{const _0x160f2f=_0x1756ad;_0x375eff[_0x160f2f(0x73)](_0x160f2f(0x77),_0x1e8063,_0x1fe5c5),_0x35bcce[_0x160f2f(0x76)](_0x375eff);});}}function _0xef0a(){const _0x2ac800=['1851864BnXFaQ','execute','value','plugins','get','refresh','change','setAttribute','656248lMOFkd','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','footnotesListStyle','25101wxBmsV','881030QUALhP','4138734hsBWUO','model','1320712cpIxeW','includes','5jWDgUv','63124iTqsDB','100McknJg','getAttribute','147eBkJuT','isEnabled'];_0xef0a=function(){return _0x2ac800;};return _0xef0a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2cbb88=_0x468e;(function(_0x1675f6,_0x190445){const _0x4c9828=_0x468e,_0x398cc5=_0x1675f6();while(!![]){try{const _0x3073e9=-parseInt(_0x4c9828(0xc7))/0x1+parseInt(_0x4c9828(0xcc))/0x2+-parseInt(_0x4c9828(0xce))/0x3+parseInt(_0x4c9828(0xca))/0x4*(-parseInt(_0x4c9828(0xc5))/0x5)+-parseInt(_0x4c9828(0xcb))/0x6*(-parseInt(_0x4c9828(0xc3))/0x7)+-parseInt(_0x4c9828(0xbf))/0x8+parseInt(_0x4c9828(0xc4))/0x9;if(_0x3073e9===_0x190445)break;else _0x398cc5['push'](_0x398cc5['shift']());}catch(_0x32a73d){_0x398cc5['push'](_0x398cc5['shift']());}}}(_0x561e,0xb6eaa));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2cbb88(0xc1),_0x2cbb88(0xc8),_0x2cbb88(0xc2),_0x2cbb88(0xcd),_0x2cbb88(0xbe),_0x2cbb88(0xc9),_0x2cbb88(0xc0),_0x2cbb88(0xc6)];function _0x468e(_0x59eb88,_0x50d25d){const _0x561ece=_0x561e();return _0x468e=function(_0x468e33,_0x4ce903){_0x468e33=_0x468e33-0xbe;let _0xd93625=_0x561ece[_0x468e33];return _0xd93625;},_0x468e(_0x59eb88,_0x50d25d);}function _0x561e(){const _0x4bc5a3=['lower-roman','decimal','lower-latin','777WxxfYU','11093688clDTIS','87475oovfTj','upper-roman','429191FBqkXk','decimal-leading-zero','upper-alpha','8KYkjLe','50586NOUbFx','2903056SXDaJB','upper-latin','2798784EBpunD','lower-alpha','11789328uQvcuJ'];_0x561e=function(){return _0x4bc5a3;};return _0x561e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x203d73=_0x47a0;function _0x25d5(){const _0x3a698c=['init','decimal-leading-zero','checkAttribute','floor','name','footnotesListStart','getChildren','padStart','937000UbueuR','upcast','type','footnotesStart','upper-roman','max','document','writer','lower-latin','_updateFootnotesCounters','registerPostFixer','upper-alpha','_formatFootnoteListValue','footnotesListStyle','footnotesStyle','187zKYOnF','get','find','2325696oxYkKM','item','toViewElement','parent','position','mapper','plugins','hasAttribute','consume','FootnotesPropertiesEditing','90140BzAyGn','footnotes-list','model','decimal','isNaN','removeAttribute','viewItem','attribute:footnotesListStyle:footnotesDefinitions','element','downcast','getChanges','657979BVRLzc','_getDefaultListStyle','define','footnotes.footnotesProperties.defaultListStyle','35196ZOQrEQ','upper-latin','2EIKzxQ','4588854dfzMJE','consumable','insert','isOfficialPlugin','add','for','1843860KssBgt','setAttribute','getItems','fromCharCode','_defineConverters','hasClass','footnotesDefinitions','requires','27RqvVSU','schema','_definePostfixer','removeStyle','footnotes.footnotesProperties.defaultStartIndex','lower-alpha','editor','start','getStyle','list-style-type','parseInt','isPremiumPlugin','7uEqxvB','lower-roman','15WrdoCA','pluginName','config','setFootnoteFormatter','setStyle','extend','_defineFormatter','differ','attribute:footnotesListStart:footnotesDefinitions','$text','commands','from','createRangeOn','toLowerCase','nodeAfter','_getDefaultStartIndex','getAttribute','_defineSchema','toUpperCase','element:ol','modelCursor'];_0x25d5=function(){return _0x3a698c;};return _0x25d5();}(function(_0x20748c,_0x251fa4){const _0x4bfc00=_0x47a0,_0x579d19=_0x20748c();while(!![]){try{const _0x42c0ab=parseInt(_0x4bfc00(0x19d))/0x1*(parseInt(_0x4bfc00(0x1a3))/0x2)+-parseInt(_0x4bfc00(0x1c0))/0x3*(-parseInt(_0x4bfc00(0x192))/0x4)+-parseInt(_0x4bfc00(0x1aa))/0x5+-parseInt(_0x4bfc00(0x1a4))/0x6*(parseInt(_0x4bfc00(0x1be))/0x7)+parseInt(_0x4bfc00(0x188))/0x8*(parseInt(_0x4bfc00(0x1b2))/0x9)+parseInt(_0x4bfc00(0x176))/0xa+-parseInt(_0x4bfc00(0x185))/0xb*(-parseInt(_0x4bfc00(0x1a1))/0xc);if(_0x42c0ab===_0x251fa4)break;else _0x579d19['push'](_0x579d19['shift']());}catch(_0x5d8e95){_0x579d19['push'](_0x579d19['shift']());}}}(_0x25d5,0x9f5e2));function _0x47a0(_0x55037a,_0x3c991c){const _0x25d5e6=_0x25d5();return _0x47a0=function(_0x47a0c1,_0xe83439){_0x47a0c1=_0x47a0c1-0x15b;let _0x535908=_0x25d5e6[_0x47a0c1];return _0x535908;},_0x47a0(_0x55037a,_0x3c991c);}import{Plugin as _0x4c26c7}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x24a2c0}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3f5132}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x288295}from'../footnotestracker.js';import{FootnotesEditing as _0x37e186}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4c26c7{static get[_0x203d73(0x1c1)](){const _0x523b41=_0x203d73;return _0x523b41(0x191);}static get[_0x203d73(0x1b1)](){return[_0x37e186,_0x288295];}static get[_0x203d73(0x1a7)](){return!0x0;}static get[_0x203d73(0x1bd)](){return!0x0;}[_0x203d73(0x16e)](){const _0x333cfa=_0x203d73,{editor:_0x1f01d3}=this;_0x1f01d3[_0x333cfa(0x15b)][_0x333cfa(0x19f)](_0x333cfa(0x1a0),_0x333cfa(0x195)),_0x1f01d3[_0x333cfa(0x15b)][_0x333cfa(0x19f)](_0x333cfa(0x1b6),0x1),_0x1f01d3[_0x333cfa(0x163)][_0x333cfa(0x1a8)](_0x333cfa(0x184),new _0x24a2c0(_0x1f01d3)),_0x1f01d3[_0x333cfa(0x163)][_0x333cfa(0x1a8)](_0x333cfa(0x179),new _0x3f5132(_0x1f01d3)),this[_0x333cfa(0x16a)](),this[_0x333cfa(0x1ae)](),this[_0x333cfa(0x15f)](),this[_0x333cfa(0x1b4)]();}[_0x203d73(0x16a)](){const _0x3cdaa0=_0x203d73,{editor:_0x3d5e07}=this,{schema:_0x3408e0}=_0x3d5e07[_0x3cdaa0(0x194)];_0x3408e0[_0x3cdaa0(0x15e)](_0x3cdaa0(0x1b0),{'allowAttributes':[_0x3cdaa0(0x183),_0x3cdaa0(0x173)]});}[_0x203d73(0x1ae)](){const _0x2dbef3=_0x203d73,{editor:_0x1abc0d}=this,{conversion:_0x16cc68,model:_0x338679}=_0x1abc0d,{schema:_0x4dcb32}=_0x338679;_0x16cc68[_0x2dbef3(0x1a9)](_0x2dbef3(0x177))[_0x2dbef3(0x1a8)](_0x40aeab=>{const _0x2b55c7=_0x2dbef3;_0x40aeab['on'](_0x2b55c7(0x16c),(_0x539e52,_0x45d9ac,_0x89efe5)=>{const _0xd0b4a=_0x2b55c7,_0x2d666e=_0x45d9ac[_0xd0b4a(0x198)],_0x1a6872=_0x45d9ac[_0xd0b4a(0x16d)]?.[_0xd0b4a(0x18b)];_0x2d666e[_0xd0b4a(0x1af)](_0xd0b4a(0x193))&&_0x1a6872?.['is'](_0xd0b4a(0x19a),_0xd0b4a(0x1b0))&&(function(_0x2a4a15,_0x4bf855,_0x883a8f,_0x2753e8){const _0x3c79a4=_0xd0b4a;if(!_0x2753e8[_0x3c79a4(0x170)](_0x4bf855,_0x3c79a4(0x173)))return;let _0x3dd461=0x1;const _0x5e8e32=_0x883a8f[_0x3c79a4(0x1a5)][_0x3c79a4(0x190)](_0x2a4a15,{'attributes':_0x3c79a4(0x1b9)});if(_0x5e8e32){const _0x2a4fa8=Number[_0x3c79a4(0x1bc)](_0x2a4a15[_0x3c79a4(0x169)](_0x3c79a4(0x1b9)),0xa);Number[_0x3c79a4(0x196)](_0x2a4fa8)||(_0x3dd461=_0x2a4fa8);}!_0x5e8e32&&_0x4bf855[_0x3c79a4(0x18f)](_0x3c79a4(0x173))||_0x883a8f[_0x3c79a4(0x17d)][_0x3c79a4(0x1ab)](_0x3c79a4(0x173),_0x3dd461,_0x4bf855);}(_0x2d666e,_0x1a6872,_0x89efe5,_0x4dcb32),function(_0x58a60c,_0x98b86a,_0x206753,_0x4852cd){const _0x307775=_0xd0b4a;if(!_0x4852cd[_0x307775(0x170)](_0x98b86a,_0x307775(0x183)))return;let _0x4be1d8=_0x307775(0x195),_0x272609=!0x1;if(_0x206753[_0x307775(0x1a5)][_0x307775(0x190)](_0x58a60c,{'attributes':_0x307775(0x178)})){const _0x4f6cf4={0x1:_0x307775(0x195),'a':_0x307775(0x1b7),'A':_0x307775(0x181),'i':_0x307775(0x1bf),'I':_0x307775(0x17a)}[_0x58a60c[_0x307775(0x169)](_0x307775(0x178))];_0x4f6cf4&&(_0x4be1d8=_0x4f6cf4),_0x272609=!0x0;}_0x206753[_0x307775(0x1a5)][_0x307775(0x190)](_0x58a60c,{'styles':_0x307775(0x1bb)})&&(_0x4be1d8=function(_0x375e9d){const _0x9a7619=_0x307775;switch(_0x375e9d){case _0x9a7619(0x1b7):return _0x9a7619(0x17e);case _0x9a7619(0x181):return _0x9a7619(0x1a2);default:return _0x375e9d;}}(_0x58a60c[_0x307775(0x1ba)](_0x307775(0x1bb))),_0x272609=!0x0),!_0x272609&&_0x98b86a[_0x307775(0x18f)](_0x307775(0x183))||_0x206753[_0x307775(0x17d)][_0x307775(0x1ab)](_0x307775(0x183),_0x4be1d8,_0x98b86a);}(_0x2d666e,_0x1a6872,_0x89efe5,_0x4dcb32));});}),_0x16cc68[_0x2dbef3(0x1a9)](_0x2dbef3(0x19b))[_0x2dbef3(0x1a8)](_0x17272f=>{const _0x5ae670=_0x2dbef3;_0x17272f['on'](_0x5ae670(0x161),(_0x38d6d9,_0x8edc4f,_0x368f38)=>{const _0xfafd62=_0x5ae670;if(!_0x368f38[_0xfafd62(0x1a5)][_0xfafd62(0x190)](_0x8edc4f[_0xfafd62(0x189)],_0x38d6d9[_0xfafd62(0x172)]))return;const _0x57e8c7=M(_0x8edc4f[_0xfafd62(0x189)],_0x368f38[_0xfafd62(0x18d)]),{attributeNewValue:_0x86dc76}=_0x8edc4f;null==_0x86dc76||0x1===_0x86dc76?_0x368f38[_0xfafd62(0x17d)][_0xfafd62(0x197)](_0xfafd62(0x1b9),_0x57e8c7):_0x368f38[_0xfafd62(0x17d)][_0xfafd62(0x1ab)](_0xfafd62(0x1b9),String(_0x86dc76),_0x57e8c7);}),_0x17272f['on'](_0x5ae670(0x199),(_0x424bff,_0x1150fd,_0x158767)=>{const _0x3439e9=_0x5ae670;if(!_0x158767[_0x3439e9(0x1a5)][_0x3439e9(0x190)](_0x1150fd[_0x3439e9(0x189)],_0x424bff[_0x3439e9(0x172)]))return;const _0x4d571d=M(_0x1150fd[_0x3439e9(0x189)],_0x158767[_0x3439e9(0x18d)]),{attributeNewValue:_0x38f899}=_0x1150fd;_0x38f899&&_0x3439e9(0x195)!==_0x38f899?_0x158767[_0x3439e9(0x17d)][_0x3439e9(0x15d)](_0x3439e9(0x1bb),_0x38f899,_0x4d571d):_0x158767[_0x3439e9(0x17d)][_0x3439e9(0x1b5)](_0x3439e9(0x1bb),_0x4d571d);});});}[_0x203d73(0x1b4)](){const _0x1934c6=_0x203d73,{editor:_0x346ca6}=this,{model:_0x40580a}=_0x346ca6,_0x28b7ec=_0x346ca6[_0x1934c6(0x18e)][_0x1934c6(0x186)](_0x288295),_0x17ad8f=this[_0x1934c6(0x19e)](),_0x2eb69f=this[_0x1934c6(0x168)]();_0x40580a[_0x1934c6(0x17c)][_0x1934c6(0x180)](_0x3e107a=>{const _0x38a601=_0x1934c6,_0x4c1562=_0x40580a[_0x38a601(0x17c)][_0x38a601(0x160)][_0x38a601(0x19c)]();let _0x193524=!0x1;for(const _0x558677 of _0x4c1562){if(_0x38a601(0x1a6)!==_0x558677[_0x38a601(0x178)]||_0x38a601(0x162)===_0x558677[_0x38a601(0x172)])continue;const _0x146911=_0x40580a[_0x38a601(0x165)](_0x558677[_0x38a601(0x18c)][_0x38a601(0x167)]);for(const _0x7dcd48 of _0x146911[_0x38a601(0x1ac)]())_0x7dcd48['is'](_0x38a601(0x19a),_0x38a601(0x1b0))&&(!_0x7dcd48[_0x38a601(0x18f)](_0x38a601(0x173))&&_0x40580a[_0x38a601(0x1b3)][_0x38a601(0x170)](_0x7dcd48,_0x38a601(0x173))&&(_0x3e107a[_0x38a601(0x1ab)](_0x38a601(0x173),_0x2eb69f,_0x7dcd48),_0x193524=!0x0),!_0x7dcd48[_0x38a601(0x18f)](_0x38a601(0x183))&&_0x40580a[_0x38a601(0x1b3)][_0x38a601(0x170)](_0x7dcd48,_0x38a601(0x183))&&(_0x3e107a[_0x38a601(0x1ab)](_0x38a601(0x183),_0x17ad8f,_0x7dcd48),_0x193524=!0x0));}return _0x193524&&_0x28b7ec[_0x38a601(0x17f)](_0x3e107a),_0x193524;});}[_0x203d73(0x15f)](){const _0x50669e=_0x203d73,{editor:_0x4fd8b4}=this;_0x4fd8b4[_0x50669e(0x18e)][_0x50669e(0x186)](_0x288295)[_0x50669e(0x15c)](_0x448166=>this[_0x50669e(0x182)](_0x448166));}[_0x203d73(0x19e)](){const _0x5ed0d8=_0x203d73;return this[_0x5ed0d8(0x1b8)][_0x5ed0d8(0x15b)][_0x5ed0d8(0x186)](_0x5ed0d8(0x1a0));}[_0x203d73(0x168)](){const _0x2628e7=_0x203d73;return this[_0x2628e7(0x1b8)][_0x2628e7(0x15b)][_0x2628e7(0x186)](_0x2628e7(0x1b6));}[_0x203d73(0x182)]({container:_0x1f6251,value:_0x12cdf3,digits:_0x2b3f8f}){const _0x7a8de7=_0x203d73,_0x3b7741=_0x1f6251[_0x7a8de7(0x169)](_0x7a8de7(0x183)),_0x3566e1=_0x1f6251[_0x7a8de7(0x169)](_0x7a8de7(0x173)),_0x139b7d=Math[_0x7a8de7(0x171)](_0x12cdf3)+(_0x3566e1??0x1)-0x1;switch(_0x3b7741){case _0x7a8de7(0x16f):return function(_0x4cb9a2,_0x3d6882){const _0xc91028=_0x7a8de7;return String(_0x4cb9a2)[_0xc91028(0x175)](_0x3d6882,'0');}(_0x139b7d,Math[_0x7a8de7(0x17b)](0x2,_0x2b3f8f));case _0x7a8de7(0x1b7):case _0x7a8de7(0x17e):return N(_0x139b7d,!0x1);case _0x7a8de7(0x181):case _0x7a8de7(0x1a2):return N(_0x139b7d,!0x0);case _0x7a8de7(0x1bf):return X(_0x139b7d,!0x1);case _0x7a8de7(0x17a):return X(_0x139b7d,!0x0);default:return String(_0x139b7d);}}}function M(_0x4a9134,_0x2842ac){const _0x5c89be=_0x203d73,_0x38c8be=_0x2842ac[_0x5c89be(0x18a)](_0x4a9134);return Array[_0x5c89be(0x164)](_0x38c8be[_0x5c89be(0x174)]())[_0x5c89be(0x187)](_0x505641=>_0x505641['is'](_0x5c89be(0x19a),'ol')&&_0x505641[_0x5c89be(0x1af)](_0x5c89be(0x193)));}function N(_0x36264b,_0x4b79a1){const _0x16b2d9=_0x203d73;let _0x1cf60c='',_0xf18e3f=_0x36264b;for(;_0xf18e3f>0x0;){const _0x204877=(_0xf18e3f-0x1)%0x1a;_0x1cf60c=String[_0x16b2d9(0x1ad)](0x61+_0x204877)+_0x1cf60c,_0xf18e3f=Math[_0x16b2d9(0x171)]((_0xf18e3f-0x1)/0x1a);}return _0x4b79a1?_0x1cf60c[_0x16b2d9(0x16b)]():_0x1cf60c;}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(_0x94af39,_0x5168be){const _0x26c8f7=_0x203d73;let _0xc56b0e='',_0x248b16=_0x94af39;for(const {value:_0x5238eb,numeral:_0x4e2ee1}of V)for(;_0x248b16>=_0x5238eb;)_0xc56b0e+=_0x4e2ee1,_0x248b16-=_0x5238eb;return _0x5168be?_0xc56b0e:_0xc56b0e[_0x26c8f7(0x166)]();}
|
|
23
|
+
const _0x284e75=_0x5b73;(function(_0x5ebed4,_0x36c5b3){const _0x4f1298=_0x5b73,_0x4b739d=_0x5ebed4();while(!![]){try{const _0x5f5a73=-parseInt(_0x4f1298(0xaa))/0x1+parseInt(_0x4f1298(0xa7))/0x2*(-parseInt(_0x4f1298(0xd7))/0x3)+parseInt(_0x4f1298(0xdf))/0x4+parseInt(_0x4f1298(0xa3))/0x5*(parseInt(_0x4f1298(0xdc))/0x6)+parseInt(_0x4f1298(0xc4))/0x7*(parseInt(_0x4f1298(0xa5))/0x8)+parseInt(_0x4f1298(0x96))/0x9+parseInt(_0x4f1298(0x85))/0xa*(-parseInt(_0x4f1298(0xae))/0xb);if(_0x5f5a73===_0x36c5b3)break;else _0x4b739d['push'](_0x4b739d['shift']());}catch(_0x2105a3){_0x4b739d['push'](_0x4b739d['shift']());}}}(_0x2b5a,0xeb761));import{Plugin as _0x493ba8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x11eb53}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x258f75}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4dbe23}from'../footnotestracker.js';import{FootnotesEditing as _0x3284ad}from'../footnotesediting.js';function _0x2b5a(){const _0x4bc5e8=['schema','max','_getDefaultStartIndex','lower-alpha','9060858PSMWqu','insert','footnotesListStyle','type','consume','removeAttribute','decimal','from','consumable','_updateFootnotesCounters','attribute:footnotesListStart:footnotesDefinitions','element','isNaN','4765aDKQSu','for','645272zMOLWq','upcast','517130VYYswS','position','_formatFootnoteListValue','1208231vKxnOo','hasAttribute','removeStyle','isOfficialPlugin','2365FqtYXv','hasClass','getChanges','name','footnotes-list','upper-latin','toUpperCase','_definePostfixer','editor','getItems','pluginName','_defineFormatter','setAttribute','parent','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStart','getChildren','registerPostFixer','setFootnoteFormatter','item','footnotesStyle','find','154imSfJY','mapper','differ','$text','toLowerCase','downcast','isPremiumPlugin','lower-latin','footnotesDefinitions','modelCursor','viewItem','padStart','decimal-leading-zero','list-style-type','_getDefaultListStyle','getStyle','footnotes.footnotesProperties.defaultStartIndex','writer','define','18aaPPDj','add','get','plugins','_defineConverters','5286VBHAlV','init','fromCharCode','3528648RWxCub','nodeAfter','commands','footnotes.footnotesProperties.defaultListStyle','config','checkAttribute','parseInt','start','toViewElement','_defineSchema','upper-alpha','document','36230KpNHhD','upper-roman','getAttribute','createRangeOn','lower-roman','extend','requires','FootnotesPropertiesEditing','model','setStyle','footnotesStart','floor','element:ol'];_0x2b5a=function(){return _0x4bc5e8;};return _0x2b5a();}export class FootnotesPropertiesEditing extends _0x493ba8{static get[_0x284e75(0xb8)](){const _0x1450e8=_0x284e75;return _0x1450e8(0x8c);}static get[_0x284e75(0x8b)](){return[_0x3284ad,_0x4dbe23];}static get[_0x284e75(0xad)](){return!0x0;}static get[_0x284e75(0xca)](){return!0x0;}[_0x284e75(0xdd)](){const _0x20af76=_0x284e75,{editor:_0x2a6a9e}=this;_0x2a6a9e[_0x20af76(0xe3)][_0x20af76(0xd6)](_0x20af76(0xe2),_0x20af76(0x9c)),_0x2a6a9e[_0x20af76(0xe3)][_0x20af76(0xd6)](_0x20af76(0xd4),0x1),_0x2a6a9e[_0x20af76(0xe1)][_0x20af76(0xd8)](_0x20af76(0xc2),new _0x11eb53(_0x2a6a9e)),_0x2a6a9e[_0x20af76(0xe1)][_0x20af76(0xd8)](_0x20af76(0x8f),new _0x258f75(_0x2a6a9e)),this[_0x20af76(0x82)](),this[_0x20af76(0xdb)](),this[_0x20af76(0xb9)](),this[_0x20af76(0xb5)]();}[_0x284e75(0x82)](){const _0x3952eb=_0x284e75,{editor:_0x1aab82}=this,{schema:_0x4ded27}=_0x1aab82[_0x3952eb(0x8d)];_0x4ded27[_0x3952eb(0x8a)](_0x3952eb(0xcc),{'allowAttributes':[_0x3952eb(0x98),_0x3952eb(0xbd)]});}[_0x284e75(0xdb)](){const _0x491ef6=_0x284e75,{editor:_0x318888}=this,{conversion:_0x35e3d1,model:_0x8a32dd}=_0x318888,{schema:_0x35a4ff}=_0x8a32dd;_0x35e3d1[_0x491ef6(0xa4)](_0x491ef6(0xa6))[_0x491ef6(0xd8)](_0x2d4e02=>{const _0x34ad1c=_0x491ef6;_0x2d4e02['on'](_0x34ad1c(0x91),(_0x8594ff,_0x48cc2b,_0x4496c9)=>{const _0x1aeb2e=_0x34ad1c,_0x10c169=_0x48cc2b[_0x1aeb2e(0xce)],_0x4460db=_0x48cc2b[_0x1aeb2e(0xcd)]?.[_0x1aeb2e(0xbb)];_0x10c169[_0x1aeb2e(0xaf)](_0x1aeb2e(0xb2))&&_0x4460db?.['is'](_0x1aeb2e(0xa1),_0x1aeb2e(0xcc))&&(function(_0xaf9fc0,_0x16c1cc,_0x4a7142,_0x4da5f6){const _0x5ef3a6=_0x1aeb2e;if(!_0x4da5f6[_0x5ef3a6(0xe4)](_0x16c1cc,_0x5ef3a6(0xbd)))return;let _0x171e99=0x1;const _0x4e2153=_0x4a7142[_0x5ef3a6(0x9e)][_0x5ef3a6(0x9a)](_0xaf9fc0,{'attributes':_0x5ef3a6(0x80)});if(_0x4e2153){const _0x2590a6=Number[_0x5ef3a6(0xe5)](_0xaf9fc0[_0x5ef3a6(0x87)](_0x5ef3a6(0x80)),0xa);Number[_0x5ef3a6(0xa2)](_0x2590a6)||(_0x171e99=_0x2590a6);}!_0x4e2153&&_0x16c1cc[_0x5ef3a6(0xab)](_0x5ef3a6(0xbd))||_0x4a7142[_0x5ef3a6(0xd5)][_0x5ef3a6(0xba)](_0x5ef3a6(0xbd),_0x171e99,_0x16c1cc);}(_0x10c169,_0x4460db,_0x4496c9,_0x35a4ff),function(_0x18f494,_0x337220,_0x491dc6,_0x25fb4b){const _0x39d6b8=_0x1aeb2e;if(!_0x25fb4b[_0x39d6b8(0xe4)](_0x337220,_0x39d6b8(0x98)))return;let _0x173a74=_0x39d6b8(0x9c),_0xc196ca=!0x1;if(_0x491dc6[_0x39d6b8(0x9e)][_0x39d6b8(0x9a)](_0x18f494,{'attributes':_0x39d6b8(0x99)})){const _0x312720={0x1:_0x39d6b8(0x9c),'a':_0x39d6b8(0x95),'A':_0x39d6b8(0x83),'i':_0x39d6b8(0x89),'I':_0x39d6b8(0x86)}[_0x18f494[_0x39d6b8(0x87)](_0x39d6b8(0x99))];_0x312720&&(_0x173a74=_0x312720),_0xc196ca=!0x0;}_0x491dc6[_0x39d6b8(0x9e)][_0x39d6b8(0x9a)](_0x18f494,{'styles':_0x39d6b8(0xd1)})&&(_0x173a74=function(_0x4cd319){const _0x20daa7=_0x39d6b8;switch(_0x4cd319){case _0x20daa7(0x95):return _0x20daa7(0xcb);case _0x20daa7(0x83):return _0x20daa7(0xb3);default:return _0x4cd319;}}(_0x18f494[_0x39d6b8(0xd3)](_0x39d6b8(0xd1))),_0xc196ca=!0x0),!_0xc196ca&&_0x337220[_0x39d6b8(0xab)](_0x39d6b8(0x98))||_0x491dc6[_0x39d6b8(0xd5)][_0x39d6b8(0xba)](_0x39d6b8(0x98),_0x173a74,_0x337220);}(_0x10c169,_0x4460db,_0x4496c9,_0x35a4ff));});}),_0x35e3d1[_0x491ef6(0xa4)](_0x491ef6(0xc9))[_0x491ef6(0xd8)](_0x3bf4af=>{const _0xe2bf71=_0x491ef6;_0x3bf4af['on'](_0xe2bf71(0xa0),(_0x1a9d1e,_0x18e345,_0x544bad)=>{const _0x1c56b1=_0xe2bf71;if(!_0x544bad[_0x1c56b1(0x9e)][_0x1c56b1(0x9a)](_0x18e345[_0x1c56b1(0xc1)],_0x1a9d1e[_0x1c56b1(0xb1)]))return;const _0x2724ea=M(_0x18e345[_0x1c56b1(0xc1)],_0x544bad[_0x1c56b1(0xc5)]),{attributeNewValue:_0x489e79}=_0x18e345;null==_0x489e79||0x1===_0x489e79?_0x544bad[_0x1c56b1(0xd5)][_0x1c56b1(0x9b)](_0x1c56b1(0x80),_0x2724ea):_0x544bad[_0x1c56b1(0xd5)][_0x1c56b1(0xba)](_0x1c56b1(0x80),String(_0x489e79),_0x2724ea);}),_0x3bf4af['on'](_0xe2bf71(0xbc),(_0x579c69,_0x35acf7,_0x1f9045)=>{const _0x2da53f=_0xe2bf71;if(!_0x1f9045[_0x2da53f(0x9e)][_0x2da53f(0x9a)](_0x35acf7[_0x2da53f(0xc1)],_0x579c69[_0x2da53f(0xb1)]))return;const _0x4ac2b0=M(_0x35acf7[_0x2da53f(0xc1)],_0x1f9045[_0x2da53f(0xc5)]),{attributeNewValue:_0x31cb98}=_0x35acf7;_0x31cb98&&_0x2da53f(0x9c)!==_0x31cb98?_0x1f9045[_0x2da53f(0xd5)][_0x2da53f(0x8e)](_0x2da53f(0xd1),_0x31cb98,_0x4ac2b0):_0x1f9045[_0x2da53f(0xd5)][_0x2da53f(0xac)](_0x2da53f(0xd1),_0x4ac2b0);});});}[_0x284e75(0xb5)](){const _0x27b085=_0x284e75,{editor:_0x47e457}=this,{model:_0x40432e}=_0x47e457,_0x46e1c7=_0x47e457[_0x27b085(0xda)][_0x27b085(0xd9)](_0x4dbe23),_0x593027=this[_0x27b085(0xd2)](),_0x4cf3e6=this[_0x27b085(0x94)]();_0x40432e[_0x27b085(0x84)][_0x27b085(0xbf)](_0x4ae72d=>{const _0x599fee=_0x27b085,_0x128927=_0x40432e[_0x599fee(0x84)][_0x599fee(0xc6)][_0x599fee(0xb0)]();let _0x10b18e=!0x1;for(const _0xc3552a of _0x128927){if(_0x599fee(0x97)!==_0xc3552a[_0x599fee(0x99)]||_0x599fee(0xc7)===_0xc3552a[_0x599fee(0xb1)])continue;const _0x5cf67f=_0x40432e[_0x599fee(0x88)](_0xc3552a[_0x599fee(0xa8)][_0x599fee(0xe0)]);for(const _0x3cf7eb of _0x5cf67f[_0x599fee(0xb7)]())_0x3cf7eb['is'](_0x599fee(0xa1),_0x599fee(0xcc))&&(!_0x3cf7eb[_0x599fee(0xab)](_0x599fee(0xbd))&&_0x40432e[_0x599fee(0x92)][_0x599fee(0xe4)](_0x3cf7eb,_0x599fee(0xbd))&&(_0x4ae72d[_0x599fee(0xba)](_0x599fee(0xbd),_0x4cf3e6,_0x3cf7eb),_0x10b18e=!0x0),!_0x3cf7eb[_0x599fee(0xab)](_0x599fee(0x98))&&_0x40432e[_0x599fee(0x92)][_0x599fee(0xe4)](_0x3cf7eb,_0x599fee(0x98))&&(_0x4ae72d[_0x599fee(0xba)](_0x599fee(0x98),_0x593027,_0x3cf7eb),_0x10b18e=!0x0));}return _0x10b18e&&_0x46e1c7[_0x599fee(0x9f)](_0x4ae72d),_0x10b18e;});}[_0x284e75(0xb9)](){const _0x5e9daf=_0x284e75,{editor:_0x539ae5}=this;_0x539ae5[_0x5e9daf(0xda)][_0x5e9daf(0xd9)](_0x4dbe23)[_0x5e9daf(0xc0)](_0x2aa4e4=>this[_0x5e9daf(0xa9)](_0x2aa4e4));}[_0x284e75(0xd2)](){const _0x35bfd1=_0x284e75;return this[_0x35bfd1(0xb6)][_0x35bfd1(0xe3)][_0x35bfd1(0xd9)](_0x35bfd1(0xe2));}[_0x284e75(0x94)](){const _0x814b3e=_0x284e75;return this[_0x814b3e(0xb6)][_0x814b3e(0xe3)][_0x814b3e(0xd9)](_0x814b3e(0xd4));}[_0x284e75(0xa9)]({container:_0x39f3fc,value:_0x44ed35,digits:_0x57bc08}){const _0x463615=_0x284e75,_0x530168=_0x39f3fc[_0x463615(0x87)](_0x463615(0x98)),_0x11ebb4=_0x39f3fc[_0x463615(0x87)](_0x463615(0xbd)),_0x516033=Math[_0x463615(0x90)](_0x44ed35)+(_0x11ebb4??0x1)-0x1;switch(_0x530168){case _0x463615(0xd0):return function(_0x428449,_0xc2ddef){const _0x186fb2=_0x463615;return String(_0x428449)[_0x186fb2(0xcf)](_0xc2ddef,'0');}(_0x516033,Math[_0x463615(0x93)](0x2,_0x57bc08));case _0x463615(0x95):case _0x463615(0xcb):return N(_0x516033,!0x1);case _0x463615(0x83):case _0x463615(0xb3):return N(_0x516033,!0x0);case _0x463615(0x89):return X(_0x516033,!0x1);case _0x463615(0x86):return X(_0x516033,!0x0);default:return String(_0x516033);}}}function M(_0x29d08e,_0x4b192e){const _0x333e9e=_0x284e75,_0x1c5908=_0x4b192e[_0x333e9e(0x81)](_0x29d08e);return Array[_0x333e9e(0x9d)](_0x1c5908[_0x333e9e(0xbe)]())[_0x333e9e(0xc3)](_0xc3b4fb=>_0xc3b4fb['is'](_0x333e9e(0xa1),'ol')&&_0xc3b4fb[_0x333e9e(0xaf)](_0x333e9e(0xb2)));}function N(_0x35f8f2,_0x5e04f7){const _0x4820f9=_0x284e75;let _0x344d16='',_0x54d385=_0x35f8f2;for(;_0x54d385>0x0;){const _0x5b3c5e=(_0x54d385-0x1)%0x1a;_0x344d16=String[_0x4820f9(0xde)](0x61+_0x5b3c5e)+_0x344d16,_0x54d385=Math[_0x4820f9(0x90)]((_0x54d385-0x1)/0x1a);}return _0x5e04f7?_0x344d16[_0x4820f9(0xb4)]():_0x344d16;}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 _0x5b73(_0xc08785,_0x16194f){const _0x2b5a1f=_0x2b5a();return _0x5b73=function(_0x5b73a4,_0xbd85ce){_0x5b73a4=_0x5b73a4-0x80;let _0x401092=_0x2b5a1f[_0x5b73a4];return _0x401092;},_0x5b73(_0xc08785,_0x16194f);}function X(_0x7dfecc,_0x46cee6){const _0x27ca4f=_0x284e75;let _0x42a592='',_0x27bd51=_0x7dfecc;for(const {value:_0x2375b8,numeral:_0x246479}of V)for(;_0x27bd51>=_0x2375b8;)_0x42a592+=_0x246479,_0x27bd51-=_0x2375b8;return _0x46cee6?_0x42a592:_0x42a592[_0x27ca4f(0xc8)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x33d426,ButtonView as _0x284d05,ContextualBalloon as _0x442bf9,createDropdown as _0x3f3f7f}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x50cc3d}from'ckeditor5/src/widget.js';import{Plugin as _0x553e63}from'ckeditor5/src/core.js';import{IconFootnote as _0x372738,IconListStyleDecimal as _0x2909a6,IconListStyleDecimalLeadingZero as _0x29f4ec,IconListStyleLowerLatin as _0x16a258,IconListStyleLowerRoman as _0x538559,IconListStyleUpperLatin as _0xffadd2,IconListStyleUpperRoman as _0x1e2007}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2c2674}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3f8683}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x553e63{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x442bf9,_0x50cc3d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x522535}=this,{componentFactory:_0x1814d7}=_0x522535['ui'];_0x522535['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1814d7['add']('footnotesStyle',function(_0x1af9b3){return _0x387bbf=>{const {t:t}=_0x387bbf,_0x213527=_0x1af9b3['commands']['get']('footnotesStyle'),_0x4535c1=_0x3f3f7f(_0x387bbf),{buttonView:_0x4c060c}=_0x4535c1;return _0x4535c1['class']='ck-footnotes-styles-dropdown',_0x4535c1['bind']('isEnabled')['to'](_0x213527,'isEnabled'),_0x4c060c['set']({'label':t('Footnotes\x20style'),'icon':_0x372738,'tooltip':!0x0}),_0x4535c1['once']('change:isOpen',()=>{const _0x4f7906=function({editor:_0x11a812,dropdownView:_0x3e4372}){const {t:t}=_0x11a812['locale'],_0x11ec82=t('Footnotes\x20definitions\x20styles'),_0x3e7735=function(_0x5ea1b0){const t=_0x5ea1b0['locale']['t'],_0x2a8629=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2909a6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x29f4ec},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x538559},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1e2007},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x16a258},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xffadd2}];return _0x2a8629['map'](function(_0x31e916){const _0x412de6=_0x31e916['locale'];return({label:_0x8614cf,icon:_0x4f4631,tooltip:_0x4a55f9,style:_0xced2d3})=>{const _0x2136e3=_0x31e916['commands']['get']('footnotesStyle'),_0x3840e8=new _0x284d05(_0x412de6);return _0x3840e8['set']({'label':_0x8614cf,'icon':_0x4f4631,'tooltip':_0x4a55f9}),_0x3840e8['bind']('isOn')['to'](_0x2136e3,'value',_0x2d92ba=>_0x2d92ba===_0xced2d3),_0x3840e8['bind']('isEnabled')['to'](_0x2136e3,'isEnabled'),_0x3840e8['on']('execute',()=>{_0x31e916['execute']('footnotesStyle',{'value':_0xced2d3}),_0x31e916['editing']['view']['focus']();}),_0x3840e8;};}(_0x5ea1b0));}(_0x11a812),_0x5edc52=new _0x2c2674(_0x11a812['locale'],{'styleGridAriaLabel':_0x11ec82,'styleButtonViews':_0x3e7735}),_0x569999=_0x11a812['commands']['get']('footnotesStart');return _0x5edc52['startIndexFieldView']['bind']('isEnabled')['to'](_0x569999),_0x5edc52['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x569999),_0x5edc52['on']('footnotesListStart',(_0x434a24,_0x3e273c)=>{_0x11a812['execute']('footnotesStart',{'value':_0x3e273c['startIndex']});}),_0x5edc52['delegate']('execute')['to'](_0x3e4372),_0x5edc52;}({'editor':_0x1af9b3,'dropdownView':_0x4535c1});_0x4535c1['panelView']['children']['add'](_0x4f7906);}),_0x4535c1;};}(_0x522535));}['afterInit'](){const {editor:_0x2abf99}=this,{t:t}=_0x2abf99['locale'],_0x43d920=_0x2abf99['plugins']['get'](_0x50cc3d),{defaultPositions:_0x5c46f4}=_0x33d426;_0x43d920['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2abf99['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2fa4f9=>{let _0x2a803a=_0x2fa4f9['getFirstPosition']()?.['parent'];return _0x2a803a?.['is']('$text')&&(_0x2a803a=_0x2a803a['parent']),_0x2a803a?.['is']('element')?_0x2a803a['findAncestor'](_0x3f8683):null;},'positions':[_0x5c46f4['southArrowNorth'],_0x5c46f4['southArrowNorthMiddleWest'],_0x5c46f4['southArrowNorthMiddleEast'],_0x5c46f4['southArrowNorthWest'],_0x5c46f4['southArrowNorthEast'],_0x5c46f4['northArrowSouth'],_0x5c46f4['northArrowSouthMiddleWest'],_0x5c46f4['northArrowSouthMiddleEast'],_0x5c46f4['northArrowSouthWest'],_0x5c46f4['northArrowSouthEast'],_0x5c46f4['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x47c901,View as _0x4d93ac,ViewCollection as _0xad5693,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 _0x4d93ac{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0xad5693();['focusCycler'];constructor(_0x40260e,{styleButtonViews:_0x35ffb5,styleGridAriaLabel:_0x306f14}){super(_0x40260e),(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'](_0x35ffb5,_0x306f14),[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 _0xbe2365 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xbe2365['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 _0x3db3ae=_0x1f7dd0=>_0x1f7dd0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3db3ae),this['keystrokes']['set']('arrowleft',_0x3db3ae),this['keystrokes']['set']('arrowup',_0x3db3ae),this['keystrokes']['set']('arrowdown',_0x3db3ae);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x569228,_0x37c3f5){const _0x3e7485=new _0x4d93ac(this['locale']);return _0x3e7485['children']=_0x3e7485['createCollection'](),_0x3e7485['children']['addMany'](_0x569228),_0x3e7485['setTemplate']({'tag':'div','attributes':{'aria-label':_0x37c3f5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3e7485['children']}),_0x3e7485['children']['delegate']('execute')['to'](this),_0x3e7485['focus']=function(){for(const _0x14e887 of this['children'])if(_0x14e887 instanceof _0x47c901&&_0x14e887['isOn'])return void _0x14e887['focus']();this['children']['first']['focus']();},_0x3e7485['focusTracker']=new rt(),_0x3e7485['keystrokes']=new nt(),_0x3e7485['render'](),_0x3e7485['keystrokes']['listenTo'](_0x3e7485['element']),this['children']['add'](_0x3e7485),_0x3e7485;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3284c7=this['_createStartIndexPropertyView'](),_0x28c8e3=[_0x3284c7],_0x39144a=new it(this['locale'],_0x28c8e3);return _0x39144a['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x39144a['buttonView']['bind']('isEnabled')['toMany'](_0x28c8e3,'isEnabled',(..._0x39a58e)=>_0x39a58e['some'](_0x3444cf=>_0x3444cf)),_0x39144a['buttonView']['on']('change:isEnabled',(_0x3b93be,_0x3dbecc,_0x119f3f)=>{_0x119f3f||(_0x39144a['isCollapsed']=!0x0);}),this['children']['add'](_0x39144a),[_0x3284c7,_0x39144a];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x37ffd4=new et(this['locale'],ot);return _0x37ffd4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x37ffd4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x37ffd4['fieldView']['on']('input',()=>{const _0x2c73fe=_0x37ffd4['fieldView']['element'],_0x33874f=_0x2c73fe['valueAsNumber'];Number['isNaN'](_0x33874f)?_0x37ffd4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2c73fe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x33874f}):_0x37ffd4['errorText']=t(_0x33874f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x37ffd4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x24b897=_0x42dc;(function(_0x13665e,_0xe306b6){var _0x45c8be=_0x42dc,_0x3a94cb=_0x13665e();while(!![]){try{var _0x4276ab=-parseInt(_0x45c8be(0x19f))/0x1*(-parseInt(_0x45c8be(0x195))/0x2)+-parseInt(_0x45c8be(0x19d))/0x3+-parseInt(_0x45c8be(0x193))/0x4*(parseInt(_0x45c8be(0x196))/0x5)+-parseInt(_0x45c8be(0x194))/0x6*(parseInt(_0x45c8be(0x192))/0x7)+parseInt(_0x45c8be(0x1a0))/0x8*(-parseInt(_0x45c8be(0x198))/0x9)+-parseInt(_0x45c8be(0x19c))/0xa+parseInt(_0x45c8be(0x191))/0xb;if(_0x4276ab===_0xe306b6)break;else _0x3a94cb['push'](_0x3a94cb['shift']());}catch(_0x1c74e9){_0x3a94cb['push'](_0x3a94cb['shift']());}}}(_0x1352,0x4f6e4));import{Plugin as _0x5ab611}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x4d1a11}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0xc454bc}from'./footnotesproperties/footnotespropertiesui.js';function _0x42dc(_0x50fbe7,_0x592d66){var _0x135203=_0x1352();return _0x42dc=function(_0x42dc93,_0x5ec997){_0x42dc93=_0x42dc93-0x191;var _0x4636d6=_0x135203[_0x42dc93];return _0x4636d6;},_0x42dc(_0x50fbe7,_0x592d66);}function _0x1352(){var _0x486f01=['isPremiumPlugin','FootnotesProperties','2234810qDLvgg','615465vLQomt','pluginName','2641pFHdUd','605416WBSyyh','20645350kKmCkA','309365YnPdee','4dijsEH','42CscUfT','122aQeNGJ','2224315WqdKux','requires','63vtIqSZ','isOfficialPlugin'];_0x1352=function(){return _0x486f01;};return _0x1352();}export class FootnotesProperties extends _0x5ab611{static get[_0x24b897(0x19e)](){var _0x1d4a95=_0x24b897;return _0x1d4a95(0x19b);}static get[_0x24b897(0x197)](){return[_0x4d1a11,_0xc454bc];}static get[_0x24b897(0x199)](){return!0x0;}static get[_0x24b897(0x19a)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x53b853=_0xd85b;(function(_0x15f91f,_0x4ae66c){const _0x1bc6a3=_0xd85b,_0x429fd2=_0x15f91f();while(!![]){try{const _0x47d97a=-parseInt(_0x1bc6a3(0x1cd))/0x1*(-parseInt(_0x1bc6a3(0x1cb))/0x2)+parseInt(_0x1bc6a3(0x1e5))/0x3*(parseInt(_0x1bc6a3(0x1c2))/0x4)+-parseInt(_0x1bc6a3(0x1dc))/0x5*(parseInt(_0x1bc6a3(0x1dd))/0x6)+parseInt(_0x1bc6a3(0x212))/0x7+parseInt(_0x1bc6a3(0x20d))/0x8+-parseInt(_0x1bc6a3(0x1b7))/0x9+-parseInt(_0x1bc6a3(0x1d4))/0xa;if(_0x47d97a===_0x4ae66c)break;else _0x429fd2['push'](_0x429fd2['shift']());}catch(_0x294337){_0x429fd2['push'](_0x429fd2['shift']());}}}(_0x4378,0x76b8e));import{Plugin as _0x5b9c22}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2b291c}from'./modelelementtracker.js';function _0x4378(){const _0x15a56e=['push','map','indexOf','length','remove','createRangeOn','footnoteCounter','min','registerPostFixer','3399312jeRWQi','_handleMovedFootnoteReference','end','createPositionBefore','footnoteId','5477612CvDSdg','_handleFootnotesDefinitionsObjectChanges','paragraph','_footnoteRefsTracker','_footnotesDefinitions','findIndex','has','change:data','compareWith','rootName','1579581xHfkrf','append','_ensureFootnotesReferencesHaveProperOrder','isPremiumPlugin','_updateFootnoteRefCounter','setFootnoteFormatter','get','getChanges','_footnoteDefsTracker','splice','getChildren','4kzbGxF','from','_footnotes','parent','footnotesDefinitions','footnoteInlineContent','getFootnotesFormatter','FootnotesTracker','definition','2cRcqOL','editor','140728SfzaZb','before','root','footnoteRef','find','childCount','createPositionAt','476710fMUVzo','singleton','init','model','getAttribute','some','reset','getRootNames','857525IoHtTn','30LyEAdw','footnoteDefinition','pluginName','document','_footnoteDefsContainerTracker','_footnoteFormatter','low','isEqual','656499SuARdI','_handleFootnoteReferencesChanges','$graveyard','footnotes.multiBlock','move','createRangeIn','setAttribute','listenTo','_sortFootnoteDefinitions','getFootnotes','differ','getFootnote','_updateFootnotesCounters','high','enqueueChange','_handleInsertedFootnoteReference','after','set','_handleRemoveFootnoteReferenceById','config','isOfficialPlugin','createElement','_handleFootnotesDefinitionsObjectSync','unshift','getFootnotesDefinitionsObjectElement','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','add','insert','_insertEmptyFootnotesDefinitionsContainer','reference'];_0x4378=function(){return _0x15a56e;};return _0x4378();}export class FootnotesTracker extends _0x5b9c22{[_0x53b853(0x1c4)]=[];[_0x53b853(0x216)]=null;[_0x53b853(0x1e2)]=null;[_0x53b853(0x1e1)];[_0x53b853(0x215)];[_0x53b853(0x1bf)];static get[_0x53b853(0x1df)](){const _0x23643c=_0x53b853;return _0x23643c(0x1c9);}static get[_0x53b853(0x1f9)](){return!0x0;}static get[_0x53b853(0x1ba)](){return!0x0;}constructor(_0x36ece1){const _0x3bfb12=_0x53b853;super(_0x36ece1),this[_0x3bfb12(0x1e1)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1c6),'getElementKey':()=>_0x3bfb12(0x1d5)}),this[_0x3bfb12(0x215)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1d0),'getElementKey':_0x1ff271=>_0x1ff271[_0x3bfb12(0x1d8)](_0x3bfb12(0x211))}),this[_0x3bfb12(0x1bf)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1de),'getElementKey':_0x2eedc0=>_0x2eedc0[_0x3bfb12(0x1d8)](_0x3bfb12(0x211))});}[_0x53b853(0x1d6)](){const _0x45eb62=_0x53b853,{editor:_0x27a485}=this,{model:_0x44515d,data:_0x21b968}=_0x27a485;_0x44515d[_0x45eb62(0x1e0)][_0x45eb62(0x20c)](_0x445211=>{const _0xf64281=_0x45eb62,_0x5b419c=_0x44515d[_0xf64281(0x1e0)][_0xf64281(0x1ef)][_0xf64281(0x1be)]();let _0x31630f=!0x1;return this[_0xf64281(0x213)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1ff)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1e6)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1b9)](_0x445211)&&(_0x31630f=!0x0),this[_0xf64281(0x1fb)](_0x445211)&&(_0x31630f=!0x0),this[_0xf64281(0x1ed)](_0x445211)&&(_0x31630f=!0x0),_0x31630f;}),this[_0x45eb62(0x1ec)](_0x44515d[_0x45eb62(0x1e0)],_0x45eb62(0x1b4),()=>{const _0x124759=_0x45eb62;_0x44515d[_0x124759(0x1f3)]({'isUndoable':!0x1},_0x510c1d=>{const _0x5e4039=_0x124759;this[_0x5e4039(0x1fe)](_0x510c1d);});},{'priority':_0x45eb62(0x1e3)}),this[_0x45eb62(0x1ec)](_0x21b968,_0x45eb62(0x1f6),()=>{const _0x6adc20=_0x45eb62;this[_0x6adc20(0x1c4)]=[],this[_0x6adc20(0x1e1)][_0x6adc20(0x1da)](),this[_0x6adc20(0x215)][_0x6adc20(0x1da)](),this[_0x6adc20(0x1bf)][_0x6adc20(0x1da)]();},{'priority':_0x45eb62(0x1f2)});}[_0x53b853(0x1fd)](){const _0x4d2f7c=_0x53b853;return this[_0x4d2f7c(0x216)];}[_0x53b853(0x1f0)](_0x1dfed6){const _0x57a163=_0x53b853;return this[_0x57a163(0x1c4)][_0x57a163(0x1d1)](_0x30832a=>_0x30832a['id']===_0x1dfed6)||null;}[_0x53b853(0x1ee)](){const _0x5401a3=_0x53b853;return Array[_0x5401a3(0x1c3)](this[_0x5401a3(0x1c4)]);}[_0x53b853(0x1c8)](){const _0x5e3b5b=_0x53b853;return this[_0x5e3b5b(0x1e2)];}[_0x53b853(0x1bc)](_0x5a406e){const _0x2a8303=_0x53b853;this[_0x2a8303(0x1e2)]=_0x5a406e;}[_0x53b853(0x1f1)](_0x3e19a1,_0x1e25bc=0x0){const _0x503432=_0x53b853;let _0x2ab993=!0x1;for(let _0x230ca5=_0x1e25bc;_0x230ca5<this[_0x503432(0x1c4)][_0x503432(0x207)];_0x230ca5++)this[_0x503432(0x1bb)](_0x3e19a1,_0x230ca5)&&(_0x2ab993=!0x0);return _0x2ab993;}[_0x53b853(0x202)](_0x27086d,_0x542884){const _0x5ee492=_0x53b853,_0x1fd15f=_0x27086d[_0x5ee492(0x1fa)](_0x5ee492(0x1c6),{});return _0x27086d[_0x5ee492(0x1b8)](_0x1fd15f,_0x542884),this[_0x5ee492(0x216)]=_0x1fd15f,_0x1fd15f;}[_0x53b853(0x1fe)](_0x2778ac){const _0x213714=_0x53b853;if(!this[_0x213714(0x1c4)][_0x213714(0x207)]||this[_0x213714(0x216)])return;const _0x95c9b7=this[_0x213714(0x1c4)][0x0][_0x213714(0x203)][_0x213714(0x1cf)],_0x39a24a=this[_0x213714(0x202)](_0x2778ac,_0x95c9b7);for(const _0x15d82c of this[_0x213714(0x1c4)])_0x15d82c[_0x213714(0x1ca)][_0x213714(0x1c5)]||_0x2778ac[_0x213714(0x201)](_0x15d82c[_0x213714(0x1ca)],_0x39a24a,_0x213714(0x20f));this[_0x213714(0x1f1)](_0x2778ac);}[_0x53b853(0x213)](_0x5595e8,_0x27a841){const _0x223ac3=_0x53b853;let _0x1cb242=!0x1;const {inserted:_0x49da1e,removed:_0x386b43,moved:_0x32dd30}=this[_0x223ac3(0x1e1)][_0x223ac3(0x1be)](_0x27a841);if(_0x32dd30[_0x223ac3(0x207)]&&(this[_0x223ac3(0x216)]=_0x32dd30[0x0]),_0x49da1e[_0x223ac3(0x207)]){if(_0x49da1e[_0x223ac3(0x207)]>0x1||this[_0x223ac3(0x216)]&&_0x49da1e[_0x223ac3(0x1d9)](_0x3498ae=>_0x3498ae!==this[_0x223ac3(0x216)])){const _0x20ed73=_0x5595e8[_0x223ac3(0x1fa)](_0x223ac3(0x1c6),{}),_0x33cb30=[];this[_0x223ac3(0x216)]&&_0x33cb30[_0x223ac3(0x204)](this[_0x223ac3(0x216)]),_0x33cb30[_0x223ac3(0x204)](..._0x49da1e),_0x5595e8[_0x223ac3(0x201)](_0x20ed73,_0x33cb30[0x0],_0x223ac3(0x1ce));for(const _0x39cc2c of _0x33cb30)_0x5595e8[_0x223ac3(0x1e9)](_0x5595e8[_0x223ac3(0x1ea)](_0x39cc2c),_0x5595e8[_0x223ac3(0x1d3)](_0x20ed73,_0x223ac3(0x20f))),_0x5595e8[_0x223ac3(0x208)](_0x39cc2c);this[_0x223ac3(0x216)]=_0x20ed73,this[_0x223ac3(0x1f1)](_0x5595e8),_0x1cb242=!0x0;}else this[_0x223ac3(0x216)]=_0x49da1e[0x0];}if(_0x386b43[_0x223ac3(0x207)]&&_0x223ac3(0x1e7)===this[_0x223ac3(0x216)]?.[_0x223ac3(0x1cf)][_0x223ac3(0x1b6)]){for(const _0x5a1610 of this[_0x223ac3(0x1c4)])_0x5595e8[_0x223ac3(0x208)](_0x5a1610[_0x223ac3(0x203)]),_0x1cb242=!0x0;this[_0x223ac3(0x1c4)]=[],this[_0x223ac3(0x216)]=null;}return _0x1cb242;}[_0x53b853(0x1ff)](_0x10e436,_0x4e42b5){const _0x421605=_0x53b853;let _0x56fa47=!0x1;const _0x3d1bdb=this[_0x421605(0x1cc)][_0x421605(0x1f8)][_0x421605(0x1bd)](_0x421605(0x1e8)),{inserted:_0x368722,moved:_0x51df4f}=this[_0x421605(0x1bf)][_0x421605(0x1be)](_0x4e42b5);for(const _0x268859 of[..._0x51df4f,..._0x368722]){const _0x332860=_0x268859[_0x421605(0x1d8)](_0x421605(0x211)),_0x399c68=this[_0x421605(0x1f0)](_0x332860);_0x399c68&&(_0x399c68[_0x421605(0x1ca)]=_0x268859),_(_0x10e436,_0x3d1bdb,_0x268859)&&(_0x56fa47=!0x0);}return _0x56fa47;}[_0x53b853(0x1e6)](_0x2dfe2a,_0x2667cc){const _0x337775=_0x53b853;let _0x569037=!0x1;const {removed:_0x1dfb0e,inserted:_0x2efed8,moved:_0x24f52c}=this[_0x337775(0x215)][_0x337775(0x1be)](_0x2667cc);for(const _0x386c4d of _0x1dfb0e)this[_0x337775(0x1f7)](_0x2dfe2a,_0x386c4d)&&(_0x569037=!0x0);for(const _0x188faf of _0x2efed8)this[_0x337775(0x1f4)](_0x2dfe2a,_0x188faf)&&(_0x569037=!0x0);for(const _0x709006 of _0x24f52c)this[_0x337775(0x20e)](_0x2dfe2a,_0x709006)&&(_0x569037=!0x0);return _0x569037;}[_0x53b853(0x1fb)](_0x13a078){const _0x2134d3=_0x53b853;if(!this[_0x2134d3(0x216)])return!0x1;let _0x166357=!0x1;if(this[_0x2134d3(0x216)][_0x2134d3(0x1d2)]!==this[_0x2134d3(0x1c4)][_0x2134d3(0x207)]){const _0x8251eb=[];for(const _0x2291fe of this[_0x2134d3(0x216)][_0x2134d3(0x1c1)]()){const _0x53efd3=_0x2291fe[_0x2134d3(0x1d8)](_0x2134d3(0x211));this[_0x2134d3(0x1f0)](_0x53efd3)||(_0x8251eb[_0x2134d3(0x1fc)](_0x2291fe),_0x166357=!0x0);}for(const _0x118441 of _0x8251eb)_0x13a078[_0x2134d3(0x208)](_0x118441);}const _0x3738d5=new Set(),_0x265741=[];for(const _0x3a162c of this[_0x2134d3(0x216)][_0x2134d3(0x1c1)]()){const _0xfffc32=_0x3a162c[_0x2134d3(0x1d8)](_0x2134d3(0x211));_0x3738d5[_0x2134d3(0x1b3)](_0xfffc32)?(_0x265741[_0x2134d3(0x1fc)](_0x3a162c),_0x166357=!0x0):_0x3738d5[_0x2134d3(0x200)](_0xfffc32);}for(const _0x5b8368 of _0x265741)_0x13a078[_0x2134d3(0x208)](_0x5b8368);return this[_0x2134d3(0x216)][_0x2134d3(0x1d2)]||(_0x13a078[_0x2134d3(0x208)](this[_0x2134d3(0x216)]),this[_0x2134d3(0x216)]=null,_0x166357=!0x0),_0x166357;}[_0x53b853(0x1f4)](_0x3541f2,_0x3dbafc){const _0x3cbd0f=_0x53b853;if(this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1d1)](_0x157419=>_0x157419[_0x3cbd0f(0x203)]===_0x3dbafc))return!0x1;let _0x3600bc=!0x1;const _0x377f7c=_0x3dbafc[_0x3cbd0f(0x1d8)](_0x3cbd0f(0x211)),_0x5aaeae=this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x217)](_0x58bac1=>_0x58bac1['id']===_0x377f7c);-0x1!==_0x5aaeae&&(_0x3541f2[_0x3cbd0f(0x208)](this[_0x3cbd0f(0x1c4)][_0x5aaeae][_0x3cbd0f(0x203)]),this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1c0)](_0x5aaeae,0x1),_0x3600bc=!0x0);let _0x5fabaa=this[_0x3cbd0f(0x216)]?function(_0x16cabc,_0x3aead6){const _0x2bb7bc=_0x3cbd0f;for(const _0x4576a2 of _0x16cabc[_0x2bb7bc(0x1c1)]())if(_0x4576a2[_0x2bb7bc(0x1d8)](_0x2bb7bc(0x211))===_0x3aead6)return _0x4576a2;return null;}(this[_0x3cbd0f(0x216)],_0x377f7c):null;_0x5fabaa||(_0x5fabaa=_0x3541f2[_0x3cbd0f(0x1fa)](_0x3cbd0f(0x1de),{'footnoteId':_0x377f7c}),this[_0x3cbd0f(0x216)]&&(_0x3541f2[_0x3cbd0f(0x201)](_0x5fabaa,this[_0x3cbd0f(0x216)],_0x3cbd0f(0x20f)),_0x3600bc=!0x0));const _0x16537c={'id':_0x377f7c,'reference':_0x3dbafc,'definition':_0x5fabaa},_0x37c0bc=I(this[_0x3cbd0f(0x1cc)][_0x3cbd0f(0x1d7)],this[_0x3cbd0f(0x1c4)],_0x3dbafc);this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1c0)](_0x37c0bc,0x0,_0x16537c);let _0x52b85b=_0x37c0bc;return-0x1!==_0x5aaeae&&(_0x52b85b=Math[_0x3cbd0f(0x20b)](_0x37c0bc,_0x5aaeae)),this[_0x3cbd0f(0x1f1)](_0x3541f2,_0x52b85b)&&(_0x3600bc=!0x0),_0x3600bc;}[_0x53b853(0x1f7)](_0x4d3f37,_0x4a0e4c){const _0x4b6c97=_0x53b853,_0x5aab84=this[_0x4b6c97(0x1c4)][_0x4b6c97(0x217)](_0xec3381=>_0xec3381['id']===_0x4a0e4c);if(-0x1===_0x5aab84)return!0x1;let _0x28abfd=!0x1;const _0x3598c3=this[_0x4b6c97(0x1c4)][_0x5aab84];return _0x4b6c97(0x1e7)!==_0x3598c3[_0x4b6c97(0x1ca)][_0x4b6c97(0x1cf)][_0x4b6c97(0x1b6)]&&(_0x4d3f37[_0x4b6c97(0x208)](_0x3598c3[_0x4b6c97(0x1ca)]),_0x28abfd=!0x0),this[_0x4b6c97(0x1c4)][_0x4b6c97(0x1c0)](_0x5aab84,0x1),this[_0x4b6c97(0x1f1)](_0x4d3f37,_0x5aab84)&&(_0x28abfd=!0x0),_0x28abfd;}[_0x53b853(0x20e)](_0x1089bb,_0x48fe43){const _0x4a3512=_0x53b853,_0x23fbe9=_0x48fe43[_0x4a3512(0x1d8)](_0x4a3512(0x211)),_0x26fd08=this[_0x4a3512(0x1c4)][_0x4a3512(0x217)](_0x50b3de=>_0x50b3de['id']===_0x23fbe9),_0x42baae=this[_0x4a3512(0x1c4)][_0x26fd08];let _0x4f7afa=!0x1;_0x42baae[_0x4a3512(0x203)]=_0x48fe43,this[_0x4a3512(0x1c4)][_0x4a3512(0x1c0)](_0x26fd08,0x1);const _0x512e42=I(this[_0x4a3512(0x1cc)][_0x4a3512(0x1d7)],this[_0x4a3512(0x1c4)],_0x48fe43);return this[_0x4a3512(0x1c4)][_0x4a3512(0x1c0)](_0x512e42,0x0,_0x42baae),this[_0x4a3512(0x1f1)](_0x1089bb,Math[_0x4a3512(0x20b)](_0x26fd08,_0x512e42))&&(_0x4f7afa=!0x0),_0x4f7afa;}[_0x53b853(0x1bb)](_0x353660,_0x10e26c){const _0x4ac341=_0x53b853;if(!this[_0x4ac341(0x216)])return!0x1;const _0x195e3a=this[_0x4ac341(0x1c4)][_0x10e26c];let _0x29d207;return _0x29d207=this[_0x4ac341(0x1e2)]?this[_0x4ac341(0x1e2)]({'footnote':_0x195e3a,'container':this[_0x4ac341(0x216)],'digits':String(this[_0x4ac341(0x1c4)][_0x4ac341(0x207)])[_0x4ac341(0x207)],'value':_0x10e26c+0x1}):String(_0x10e26c+0x1),_0x195e3a[_0x4ac341(0x203)][_0x4ac341(0x1d8)](_0x4ac341(0x20a))!=_0x29d207&&(_0x353660[_0x4ac341(0x1eb)](_0x4ac341(0x20a),_0x29d207,_0x195e3a[_0x4ac341(0x203)]),!0x0);}[_0x53b853(0x1ed)](_0x5a5823){const _0x1ccf60=_0x53b853;if(!this[_0x1ccf60(0x216)]||this[_0x1ccf60(0x1c4)][_0x1ccf60(0x207)]<0x2)return!0x1;if(function(_0x470557,_0x426da2){const _0x35296f=_0x1ccf60;if(_0x470557[_0x35296f(0x207)]!==_0x426da2[_0x35296f(0x207)])return!0x1;for(let _0x1c287b=0x0;_0x1c287b<_0x470557[_0x35296f(0x207)];_0x1c287b++)if(_0x470557[_0x1c287b]!==_0x426da2[_0x1c287b])return!0x1;return!0x0;}(this[_0x1ccf60(0x1c4)][_0x1ccf60(0x205)](_0x2e631a=>_0x2e631a['id']),Array[_0x1ccf60(0x1c3)](this[_0x1ccf60(0x216)][_0x1ccf60(0x1c1)]())[_0x1ccf60(0x205)](_0x7fcd16=>_0x7fcd16[_0x1ccf60(0x1d8)](_0x1ccf60(0x211)))))return!0x1;let _0x179e53=!0x1;for(let _0x22c355=0x0;_0x22c355<this[_0x1ccf60(0x1c4)][_0x1ccf60(0x207)];_0x22c355++){const _0x4bcb2a=this[_0x1ccf60(0x1c4)][_0x22c355],_0x520e28=_0x5a5823[_0x1ccf60(0x210)](_0x4bcb2a[_0x1ccf60(0x1ca)]),_0x472f98=_0x5a5823[_0x1ccf60(0x1d3)](this[_0x1ccf60(0x216)],_0x22c355);_0x520e28[_0x1ccf60(0x1e4)](_0x472f98)||(_0x5a5823[_0x1ccf60(0x1e9)](_0x5a5823[_0x1ccf60(0x209)](_0x4bcb2a[_0x1ccf60(0x1ca)]),_0x472f98),_0x179e53=!0x0);}return _0x179e53;}[_0x53b853(0x1b9)](_0x447f9a){const _0x45564d=_0x53b853;if(!this[_0x45564d(0x1c4)][_0x45564d(0x207)])return!0x1;const {model:_0x13724f}=this[_0x45564d(0x1cc)];let _0x14f252=!0x1;for(let _0x6a02bf=0x0;_0x6a02bf<this[_0x45564d(0x1c4)][_0x45564d(0x207)]-0x1;_0x6a02bf++){const _0xe2c13d=this[_0x45564d(0x1c4)][_0x6a02bf],_0x51a6c0=this[_0x45564d(0x1c4)][_0x6a02bf+0x1],_0x58829d=_0x13724f[_0x45564d(0x210)](_0xe2c13d[_0x45564d(0x203)]),_0x5957c1=_0x13724f[_0x45564d(0x210)](_0x51a6c0[_0x45564d(0x203)]);_0x45564d(0x1f5)===_0x58829d[_0x45564d(0x1b5)](_0x5957c1)&&(this[_0x45564d(0x20e)](_0x447f9a,_0xe2c13d[_0x45564d(0x203)]),_0x6a02bf=-0x1,_0x14f252=!0x0);}return _0x14f252;}}function _(_0x8fb3e,_0xf6a7d2,_0x3b9dd8){const _0xb378b7=_0x53b853;if(_0x3b9dd8[_0xb378b7(0x1d2)])return!0x1;const _0x6f261e=_0xf6a7d2?_0xb378b7(0x214):_0xb378b7(0x1c7);return _0x8fb3e[_0xb378b7(0x201)](_0x8fb3e[_0xb378b7(0x1fa)](_0x6f261e),_0x3b9dd8),!0x0;}function _0xd85b(_0x328a7f,_0x284f3b){const _0x437876=_0x4378();return _0xd85b=function(_0xd85b5,_0x209e8c){_0xd85b5=_0xd85b5-0x1b3;let _0x5563c6=_0x437876[_0xd85b5];return _0x5563c6;},_0xd85b(_0x328a7f,_0x284f3b);}function I(_0xe861a6,_0x300595,_0x30fb7d){const _0x2e8d98=_0x53b853;if(0x0===_0x300595[_0x2e8d98(0x207)])return 0x0;const _0x1d721b=_0xe861a6[_0x2e8d98(0x210)](_0x30fb7d);for(let _0x4739ce=0x0;_0x4739ce<_0x300595[_0x2e8d98(0x207)];_0x4739ce++){const _0xcc098e=_0x300595[_0x4739ce],_0x2a8749=_0xe861a6[_0x2e8d98(0x210)](_0xcc098e[_0x2e8d98(0x203)]);if(_0x2e8d98(0x1ce)===_0x1d721b[_0x2e8d98(0x1b5)](_0x2a8749))return _0x4739ce;}const _0x3cde58=_0x30fb7d[_0x2e8d98(0x1cf)];let _0x2526b9=-0x1;for(let _0x151b6b=_0x300595[_0x2e8d98(0x207)]-0x1;_0x151b6b>=0x0;_0x151b6b--)if(_0x300595[_0x151b6b][_0x2e8d98(0x203)][_0x2e8d98(0x1cf)]===_0x3cde58){_0x2526b9=_0x151b6b;break;}if(-0x1!==_0x2526b9)return _0x2526b9+0x1;const _0x20bc70=_0xe861a6[_0x2e8d98(0x1e0)][_0x2e8d98(0x1db)](),_0x5591ab=_0x20bc70[_0x2e8d98(0x206)](_0x3cde58[_0x2e8d98(0x1b6)]),_0x1193ab=_0x20bc70[_0x5591ab+0x1];if(_0x1193ab){for(let _0x3a48a1=0x0;_0x3a48a1<_0x300595[_0x2e8d98(0x207)];_0x3a48a1++)if(_0x300595[_0x3a48a1][_0x2e8d98(0x203)][_0x2e8d98(0x1cf)][_0x2e8d98(0x1b6)]===_0x1193ab)return _0x3a48a1;}return _0x300595[_0x2e8d98(0x207)];}
|
|
23
|
+
const _0x353fe3=_0x9abd;(function(_0x483116,_0x34fb9a){const _0x2ec123=_0x9abd,_0x9b8534=_0x483116();while(!![]){try{const _0x4a6bf8=parseInt(_0x2ec123(0x110))/0x1*(-parseInt(_0x2ec123(0x144))/0x2)+-parseInt(_0x2ec123(0x12d))/0x3+-parseInt(_0x2ec123(0xee))/0x4*(parseInt(_0x2ec123(0x139))/0x5)+-parseInt(_0x2ec123(0x131))/0x6*(-parseInt(_0x2ec123(0x12c))/0x7)+parseInt(_0x2ec123(0x10b))/0x8*(parseInt(_0x2ec123(0x141))/0x9)+-parseInt(_0x2ec123(0x12f))/0xa+parseInt(_0x2ec123(0x130))/0xb*(parseInt(_0x2ec123(0x123))/0xc);if(_0x4a6bf8===_0x34fb9a)break;else _0x9b8534['push'](_0x9b8534['shift']());}catch(_0x378390){_0x9b8534['push'](_0x9b8534['shift']());}}}(_0x5595,0xc4e42));import{Plugin as _0x41baae}from'ckeditor5/src/core.js';function _0x9abd(_0x1c7bbd,_0x58f5f1){const _0x55950f=_0x5595();return _0x9abd=function(_0x9abda7,_0x1f16e8){_0x9abda7=_0x9abda7-0xed;let _0x535449=_0x55950f[_0x9abda7];return _0x535449;},_0x9abd(_0x1c7bbd,_0x58f5f1);}import{ModelElementTracker as _0x1b5d40}from'./modelelementtracker.js';function _0x5595(){const _0x3860c2=['$graveyard','12YjbISV','_handleInsertedFootnoteReference','createPositionBefore','_sortFootnoteDefinitions','length','childCount','listenTo','document','_footnoteFormatter','footnotesDefinitions','differ','_handleFootnotesDefinitionsObjectSync','createElement','_handleFootnotesDefinitionsObjectChanges','registerPostFixer','map','getRootNames','createRangeIn','_footnotes','createRangeOn','parent','isPremiumPlugin','isOfficialPlugin','splice','footnoteId','push','_handleMovedFootnoteReference','editor','get','280dQrmKc','some','footnoteCounter','config','footnoteInlineContent','1137494JMMTLl','getAttribute','getChanges','change:data','_updateFootnoteRefCounter','_updateFootnotesCounters','paragraph','_footnoteDefsTracker','setFootnoteFormatter','pluginName','definition','remove','_ensureFootnotesDefinitionsContainerExists','unshift','root','find','add','isEqual','createPositionAt','27396JGHtGP','has','low','reference','set','getFootnotesFormatter','_insertEmptyFootnotesDefinitionsContainer','reset','_footnoteDefsContainerTracker','28lOtgIs','4650162bGNpzT','findIndex','12692240ocfeBq','25190lcdmWE','317004GGiyan','setAttribute','_handleFootnoteReferencesChanges','model','compareWith','_handleFootnoteDefinitionsChanges','move','getFootnotesDefinitionsObjectElement','1910655HQynFS','_ensureFootnotesReferencesHaveProperOrder','footnotes.multiBlock','getFootnotes','getFootnote','_footnoteRefsTracker','singleton','after','120915QsPZXA','from','indexOf','2FqyKbN','before','append','_handleRemoveFootnoteReferenceById','_footnotesDefinitions','FootnotesTracker','getChildren','min','init','end','rootName','insert','high','enqueueChange','footnoteDefinition','footnoteRef'];_0x5595=function(){return _0x3860c2;};return _0x5595();}export class FootnotesTracker extends _0x41baae{[_0x353fe3(0x100)]=[];[_0x353fe3(0x148)]=null;[_0x353fe3(0xf6)]=null;[_0x353fe3(0x12b)];[_0x353fe3(0x13e)];[_0x353fe3(0x117)];static get[_0x353fe3(0x119)](){const _0x33a097=_0x353fe3;return _0x33a097(0x149);}static get[_0x353fe3(0x104)](){return!0x0;}static get[_0x353fe3(0x103)](){return!0x0;}constructor(_0x59887b){const _0x30ac3d=_0x353fe3;super(_0x59887b),this[_0x30ac3d(0x12b)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0xf7),'getElementKey':()=>_0x30ac3d(0x13f)}),this[_0x30ac3d(0x13e)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0x153),'getElementKey':_0x2b4bdc=>_0x2b4bdc[_0x30ac3d(0x111)](_0x30ac3d(0x106))}),this[_0x30ac3d(0x117)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0x152),'getElementKey':_0x558f5e=>_0x558f5e[_0x30ac3d(0x111)](_0x30ac3d(0x106))});}[_0x353fe3(0x14c)](){const _0x391d99=_0x353fe3,{editor:_0x3eea1c}=this,{model:_0x4a31e3,data:_0x5d5605}=_0x3eea1c;_0x4a31e3[_0x391d99(0xf5)][_0x391d99(0xfc)](_0x589823=>{const _0xf39372=_0x391d99,_0x58abe6=_0x4a31e3[_0xf39372(0xf5)][_0xf39372(0xf8)][_0xf39372(0x112)]();let _0x32416e=!0x1;return this[_0xf39372(0xfb)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x136)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x133)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x13a)](_0x589823)&&(_0x32416e=!0x0),this[_0xf39372(0xf9)](_0x589823)&&(_0x32416e=!0x0),this[_0xf39372(0xf1)](_0x589823)&&(_0x32416e=!0x0),_0x32416e;}),this[_0x391d99(0xf4)](_0x4a31e3[_0x391d99(0xf5)],_0x391d99(0x113),()=>{const _0x714b79=_0x391d99;_0x4a31e3[_0x714b79(0x151)]({'isUndoable':!0x1},_0x30737f=>{const _0x317209=_0x714b79;this[_0x317209(0x11c)](_0x30737f);});},{'priority':_0x391d99(0x125)}),this[_0x391d99(0xf4)](_0x5d5605,_0x391d99(0x127),()=>{const _0x4ddc33=_0x391d99;this[_0x4ddc33(0x100)]=[],this[_0x4ddc33(0x12b)][_0x4ddc33(0x12a)](),this[_0x4ddc33(0x13e)][_0x4ddc33(0x12a)](),this[_0x4ddc33(0x117)][_0x4ddc33(0x12a)]();},{'priority':_0x391d99(0x150)});}[_0x353fe3(0x138)](){const _0x39c2be=_0x353fe3;return this[_0x39c2be(0x148)];}[_0x353fe3(0x13d)](_0x2cb3c0){const _0x37f1b2=_0x353fe3;return this[_0x37f1b2(0x100)][_0x37f1b2(0x11f)](_0x3dcab9=>_0x3dcab9['id']===_0x2cb3c0)||null;}[_0x353fe3(0x13c)](){const _0xe55ae0=_0x353fe3;return Array[_0xe55ae0(0x142)](this[_0xe55ae0(0x100)]);}[_0x353fe3(0x128)](){const _0x1161d5=_0x353fe3;return this[_0x1161d5(0xf6)];}[_0x353fe3(0x118)](_0x3c743a){const _0x5d2255=_0x353fe3;this[_0x5d2255(0xf6)]=_0x3c743a;}[_0x353fe3(0x115)](_0x591962,_0x4b69f4=0x0){const _0x40f585=_0x353fe3;let _0x14e0dc=!0x1;for(let _0x1d872c=_0x4b69f4;_0x1d872c<this[_0x40f585(0x100)][_0x40f585(0xf2)];_0x1d872c++)this[_0x40f585(0x114)](_0x591962,_0x1d872c)&&(_0x14e0dc=!0x0);return _0x14e0dc;}[_0x353fe3(0x129)](_0x275d4b,_0x4a31c8){const _0x195fec=_0x353fe3,_0x50b9e5=_0x275d4b[_0x195fec(0xfa)](_0x195fec(0xf7),{});return _0x275d4b[_0x195fec(0x146)](_0x50b9e5,_0x4a31c8),this[_0x195fec(0x148)]=_0x50b9e5,_0x50b9e5;}[_0x353fe3(0x11c)](_0x191138){const _0x229509=_0x353fe3;if(!this[_0x229509(0x100)][_0x229509(0xf2)]||this[_0x229509(0x148)])return;const _0x572653=this[_0x229509(0x100)][0x0][_0x229509(0x126)][_0x229509(0x11e)],_0x93e864=this[_0x229509(0x129)](_0x191138,_0x572653);for(const _0x4d17d1 of this[_0x229509(0x100)])_0x4d17d1[_0x229509(0x11a)][_0x229509(0x102)]||_0x191138[_0x229509(0x14f)](_0x4d17d1[_0x229509(0x11a)],_0x93e864,_0x229509(0x14d));this[_0x229509(0x115)](_0x191138);}[_0x353fe3(0xfb)](_0x2e857c,_0x2d1fb1){const _0x18063c=_0x353fe3;let _0x32af06=!0x1;const {inserted:_0x5cab46,removed:_0x454b9f,moved:_0x427999}=this[_0x18063c(0x12b)][_0x18063c(0x112)](_0x2d1fb1);if(_0x427999[_0x18063c(0xf2)]&&(this[_0x18063c(0x148)]=_0x427999[0x0]),_0x5cab46[_0x18063c(0xf2)]){if(_0x5cab46[_0x18063c(0xf2)]>0x1||this[_0x18063c(0x148)]&&_0x5cab46[_0x18063c(0x10c)](_0x3aee62=>_0x3aee62!==this[_0x18063c(0x148)])){const _0x235709=_0x2e857c[_0x18063c(0xfa)](_0x18063c(0xf7),{}),_0x25e65c=[];this[_0x18063c(0x148)]&&_0x25e65c[_0x18063c(0x107)](this[_0x18063c(0x148)]),_0x25e65c[_0x18063c(0x107)](..._0x5cab46),_0x2e857c[_0x18063c(0x14f)](_0x235709,_0x25e65c[0x0],_0x18063c(0x145));for(const _0x1c6b47 of _0x25e65c)_0x2e857c[_0x18063c(0x137)](_0x2e857c[_0x18063c(0xff)](_0x1c6b47),_0x2e857c[_0x18063c(0x122)](_0x235709,_0x18063c(0x14d))),_0x2e857c[_0x18063c(0x11b)](_0x1c6b47);this[_0x18063c(0x148)]=_0x235709,this[_0x18063c(0x115)](_0x2e857c),_0x32af06=!0x0;}else this[_0x18063c(0x148)]=_0x5cab46[0x0];}if(_0x454b9f[_0x18063c(0xf2)]&&_0x18063c(0xed)===this[_0x18063c(0x148)]?.[_0x18063c(0x11e)][_0x18063c(0x14e)]){for(const _0x2e208c of this[_0x18063c(0x100)])_0x2e857c[_0x18063c(0x11b)](_0x2e208c[_0x18063c(0x126)]),_0x32af06=!0x0;this[_0x18063c(0x100)]=[],this[_0x18063c(0x148)]=null;}return _0x32af06;}[_0x353fe3(0x136)](_0x6faa0,_0x5b04ce){const _0x7b261c=_0x353fe3;let _0x244836=!0x1;const _0x102ec5=this[_0x7b261c(0x109)][_0x7b261c(0x10e)][_0x7b261c(0x10a)](_0x7b261c(0x13b)),{inserted:_0x8b2274,moved:_0x25279e}=this[_0x7b261c(0x117)][_0x7b261c(0x112)](_0x5b04ce);for(const _0xa2d7d0 of[..._0x25279e,..._0x8b2274]){const _0x5e6efb=_0xa2d7d0[_0x7b261c(0x111)](_0x7b261c(0x106)),_0x5c8071=this[_0x7b261c(0x13d)](_0x5e6efb);_0x5c8071&&(_0x5c8071[_0x7b261c(0x11a)]=_0xa2d7d0),_(_0x6faa0,_0x102ec5,_0xa2d7d0)&&(_0x244836=!0x0);}return _0x244836;}[_0x353fe3(0x133)](_0x1b0749,_0xc4652){const _0x138755=_0x353fe3;let _0x57720e=!0x1;const {removed:_0x60f7ba,inserted:_0x2735a8,moved:_0x3c65b4}=this[_0x138755(0x13e)][_0x138755(0x112)](_0xc4652);for(const _0x508162 of _0x60f7ba)this[_0x138755(0x147)](_0x1b0749,_0x508162)&&(_0x57720e=!0x0);for(const _0x3c5b1f of _0x2735a8)this[_0x138755(0xef)](_0x1b0749,_0x3c5b1f)&&(_0x57720e=!0x0);for(const _0x5e6842 of _0x3c65b4)this[_0x138755(0x108)](_0x1b0749,_0x5e6842)&&(_0x57720e=!0x0);return _0x57720e;}[_0x353fe3(0xf9)](_0x8e23fb){const _0x2c42af=_0x353fe3;if(!this[_0x2c42af(0x148)])return!0x1;let _0x4b3ec2=!0x1;if(this[_0x2c42af(0x148)][_0x2c42af(0xf3)]!==this[_0x2c42af(0x100)][_0x2c42af(0xf2)]){const _0x54bfa9=[];for(const _0x5b7c57 of this[_0x2c42af(0x148)][_0x2c42af(0x14a)]()){const _0x5d3be8=_0x5b7c57[_0x2c42af(0x111)](_0x2c42af(0x106));this[_0x2c42af(0x13d)](_0x5d3be8)||(_0x54bfa9[_0x2c42af(0x11d)](_0x5b7c57),_0x4b3ec2=!0x0);}for(const _0x210cae of _0x54bfa9)_0x8e23fb[_0x2c42af(0x11b)](_0x210cae);}const _0x1ad562=new Set(),_0x364d2a=[];for(const _0x59210f of this[_0x2c42af(0x148)][_0x2c42af(0x14a)]()){const _0x39aa31=_0x59210f[_0x2c42af(0x111)](_0x2c42af(0x106));_0x1ad562[_0x2c42af(0x124)](_0x39aa31)?(_0x364d2a[_0x2c42af(0x11d)](_0x59210f),_0x4b3ec2=!0x0):_0x1ad562[_0x2c42af(0x120)](_0x39aa31);}for(const _0xd2287c of _0x364d2a)_0x8e23fb[_0x2c42af(0x11b)](_0xd2287c);return this[_0x2c42af(0x148)][_0x2c42af(0xf3)]||(_0x8e23fb[_0x2c42af(0x11b)](this[_0x2c42af(0x148)]),this[_0x2c42af(0x148)]=null,_0x4b3ec2=!0x0),_0x4b3ec2;}[_0x353fe3(0xef)](_0x20293f,_0x143edd){const _0x2064c6=_0x353fe3;if(this[_0x2064c6(0x100)][_0x2064c6(0x11f)](_0x3d11b7=>_0x3d11b7[_0x2064c6(0x126)]===_0x143edd))return!0x1;let _0x5098ab=!0x1;const _0x35b5e0=_0x143edd[_0x2064c6(0x111)](_0x2064c6(0x106)),_0x293560=this[_0x2064c6(0x100)][_0x2064c6(0x12e)](_0x242a79=>_0x242a79['id']===_0x35b5e0);-0x1!==_0x293560&&(_0x20293f[_0x2064c6(0x11b)](this[_0x2064c6(0x100)][_0x293560][_0x2064c6(0x126)]),this[_0x2064c6(0x100)][_0x2064c6(0x105)](_0x293560,0x1),_0x5098ab=!0x0);let _0x5cf4ea=this[_0x2064c6(0x148)]?function(_0x474b08,_0x4387ee){const _0xca79cb=_0x2064c6;for(const _0x35daeb of _0x474b08[_0xca79cb(0x14a)]())if(_0x35daeb[_0xca79cb(0x111)](_0xca79cb(0x106))===_0x4387ee)return _0x35daeb;return null;}(this[_0x2064c6(0x148)],_0x35b5e0):null;_0x5cf4ea||(_0x5cf4ea=_0x20293f[_0x2064c6(0xfa)](_0x2064c6(0x152),{'footnoteId':_0x35b5e0}),this[_0x2064c6(0x148)]&&(_0x20293f[_0x2064c6(0x14f)](_0x5cf4ea,this[_0x2064c6(0x148)],_0x2064c6(0x14d)),_0x5098ab=!0x0));const _0x409be6={'id':_0x35b5e0,'reference':_0x143edd,'definition':_0x5cf4ea},_0x3e3b69=I(this[_0x2064c6(0x109)][_0x2064c6(0x134)],this[_0x2064c6(0x100)],_0x143edd);this[_0x2064c6(0x100)][_0x2064c6(0x105)](_0x3e3b69,0x0,_0x409be6);let _0x3f611c=_0x3e3b69;return-0x1!==_0x293560&&(_0x3f611c=Math[_0x2064c6(0x14b)](_0x3e3b69,_0x293560)),this[_0x2064c6(0x115)](_0x20293f,_0x3f611c)&&(_0x5098ab=!0x0),_0x5098ab;}[_0x353fe3(0x147)](_0x34e940,_0x513368){const _0x4a622e=_0x353fe3,_0x88cad7=this[_0x4a622e(0x100)][_0x4a622e(0x12e)](_0x607403=>_0x607403['id']===_0x513368);if(-0x1===_0x88cad7)return!0x1;let _0x4ad18b=!0x1;const _0x581672=this[_0x4a622e(0x100)][_0x88cad7];return _0x4a622e(0xed)!==_0x581672[_0x4a622e(0x11a)][_0x4a622e(0x11e)][_0x4a622e(0x14e)]&&(_0x34e940[_0x4a622e(0x11b)](_0x581672[_0x4a622e(0x11a)]),_0x4ad18b=!0x0),this[_0x4a622e(0x100)][_0x4a622e(0x105)](_0x88cad7,0x1),this[_0x4a622e(0x115)](_0x34e940,_0x88cad7)&&(_0x4ad18b=!0x0),_0x4ad18b;}[_0x353fe3(0x108)](_0x44b4b0,_0x56af59){const _0x1a6ee2=_0x353fe3,_0xa60e47=_0x56af59[_0x1a6ee2(0x111)](_0x1a6ee2(0x106)),_0x3fbef2=this[_0x1a6ee2(0x100)][_0x1a6ee2(0x12e)](_0x461a9e=>_0x461a9e['id']===_0xa60e47),_0x296545=this[_0x1a6ee2(0x100)][_0x3fbef2];let _0x5218d3=!0x1;_0x296545[_0x1a6ee2(0x126)]=_0x56af59,this[_0x1a6ee2(0x100)][_0x1a6ee2(0x105)](_0x3fbef2,0x1);const _0x51d157=I(this[_0x1a6ee2(0x109)][_0x1a6ee2(0x134)],this[_0x1a6ee2(0x100)],_0x56af59);return this[_0x1a6ee2(0x100)][_0x1a6ee2(0x105)](_0x51d157,0x0,_0x296545),this[_0x1a6ee2(0x115)](_0x44b4b0,Math[_0x1a6ee2(0x14b)](_0x3fbef2,_0x51d157))&&(_0x5218d3=!0x0),_0x5218d3;}[_0x353fe3(0x114)](_0x3dcd48,_0x594cbc){const _0x174eb3=_0x353fe3;if(!this[_0x174eb3(0x148)])return!0x1;const _0x1959ba=this[_0x174eb3(0x100)][_0x594cbc];let _0x551d2f;return _0x551d2f=this[_0x174eb3(0xf6)]?this[_0x174eb3(0xf6)]({'footnote':_0x1959ba,'container':this[_0x174eb3(0x148)],'digits':String(this[_0x174eb3(0x100)][_0x174eb3(0xf2)])[_0x174eb3(0xf2)],'value':_0x594cbc+0x1}):String(_0x594cbc+0x1),_0x1959ba[_0x174eb3(0x126)][_0x174eb3(0x111)](_0x174eb3(0x10d))!=_0x551d2f&&(_0x3dcd48[_0x174eb3(0x132)](_0x174eb3(0x10d),_0x551d2f,_0x1959ba[_0x174eb3(0x126)]),!0x0);}[_0x353fe3(0xf1)](_0x17de83){const _0x1d8661=_0x353fe3;if(!this[_0x1d8661(0x148)]||this[_0x1d8661(0x100)][_0x1d8661(0xf2)]<0x2)return!0x1;if(function(_0x4d1704,_0x36221a){const _0x1db06d=_0x1d8661;if(_0x4d1704[_0x1db06d(0xf2)]!==_0x36221a[_0x1db06d(0xf2)])return!0x1;for(let _0x4bbc80=0x0;_0x4bbc80<_0x4d1704[_0x1db06d(0xf2)];_0x4bbc80++)if(_0x4d1704[_0x4bbc80]!==_0x36221a[_0x4bbc80])return!0x1;return!0x0;}(this[_0x1d8661(0x100)][_0x1d8661(0xfd)](_0x1ff788=>_0x1ff788['id']),Array[_0x1d8661(0x142)](this[_0x1d8661(0x148)][_0x1d8661(0x14a)]())[_0x1d8661(0xfd)](_0x50a129=>_0x50a129[_0x1d8661(0x111)](_0x1d8661(0x106)))))return!0x1;let _0x535107=!0x1;for(let _0x2f5534=0x0;_0x2f5534<this[_0x1d8661(0x100)][_0x1d8661(0xf2)];_0x2f5534++){const _0x404837=this[_0x1d8661(0x100)][_0x2f5534],_0x56b1ee=_0x17de83[_0x1d8661(0xf0)](_0x404837[_0x1d8661(0x11a)]),_0x1d27fc=_0x17de83[_0x1d8661(0x122)](this[_0x1d8661(0x148)],_0x2f5534);_0x56b1ee[_0x1d8661(0x121)](_0x1d27fc)||(_0x17de83[_0x1d8661(0x137)](_0x17de83[_0x1d8661(0x101)](_0x404837[_0x1d8661(0x11a)]),_0x1d27fc),_0x535107=!0x0);}return _0x535107;}[_0x353fe3(0x13a)](_0x31e6b6){const _0x1ddd82=_0x353fe3;if(!this[_0x1ddd82(0x100)][_0x1ddd82(0xf2)])return!0x1;const {model:_0x471d22}=this[_0x1ddd82(0x109)];let _0x27f570=!0x1;for(let _0x512968=0x0;_0x512968<this[_0x1ddd82(0x100)][_0x1ddd82(0xf2)]-0x1;_0x512968++){const _0x4bb589=this[_0x1ddd82(0x100)][_0x512968],_0x1024aa=this[_0x1ddd82(0x100)][_0x512968+0x1],_0x4f01da=_0x471d22[_0x1ddd82(0xf0)](_0x4bb589[_0x1ddd82(0x126)]),_0x19ebd6=_0x471d22[_0x1ddd82(0xf0)](_0x1024aa[_0x1ddd82(0x126)]);_0x1ddd82(0x140)===_0x4f01da[_0x1ddd82(0x135)](_0x19ebd6)&&(this[_0x1ddd82(0x108)](_0x31e6b6,_0x4bb589[_0x1ddd82(0x126)]),_0x512968=-0x1,_0x27f570=!0x0);}return _0x27f570;}}function _(_0x5c8e16,_0x5e0c64,_0x587ff6){const _0x3c3d51=_0x353fe3;if(_0x587ff6[_0x3c3d51(0xf3)])return!0x1;const _0x2e5dd0=_0x5e0c64?_0x3c3d51(0x116):_0x3c3d51(0x10f);return _0x5c8e16[_0x3c3d51(0x14f)](_0x5c8e16[_0x3c3d51(0xfa)](_0x2e5dd0),_0x587ff6),!0x0;}function I(_0x31313e,_0x1e6ab8,_0x22e772){const _0x352d78=_0x353fe3;if(0x0===_0x1e6ab8[_0x352d78(0xf2)])return 0x0;const _0x5cf4cc=_0x31313e[_0x352d78(0xf0)](_0x22e772);for(let _0x28356e=0x0;_0x28356e<_0x1e6ab8[_0x352d78(0xf2)];_0x28356e++){const _0x33169a=_0x1e6ab8[_0x28356e],_0x21312f=_0x31313e[_0x352d78(0xf0)](_0x33169a[_0x352d78(0x126)]);if(_0x352d78(0x145)===_0x5cf4cc[_0x352d78(0x135)](_0x21312f))return _0x28356e;}const _0x1cda13=_0x22e772[_0x352d78(0x11e)];let _0x9fd6ea=-0x1;for(let _0x43fe12=_0x1e6ab8[_0x352d78(0xf2)]-0x1;_0x43fe12>=0x0;_0x43fe12--)if(_0x1e6ab8[_0x43fe12][_0x352d78(0x126)][_0x352d78(0x11e)]===_0x1cda13){_0x9fd6ea=_0x43fe12;break;}if(-0x1!==_0x9fd6ea)return _0x9fd6ea+0x1;const _0x14fb64=_0x31313e[_0x352d78(0xf5)][_0x352d78(0xfe)](),_0x2857fa=_0x14fb64[_0x352d78(0x143)](_0x1cda13[_0x352d78(0x14e)]),_0x403234=_0x14fb64[_0x2857fa+0x1];if(_0x403234){for(let _0x17ced4=0x0;_0x17ced4<_0x1e6ab8[_0x352d78(0xf2)];_0x17ced4++)if(_0x1e6ab8[_0x17ced4][_0x352d78(0x126)][_0x352d78(0x11e)][_0x352d78(0x14e)]===_0x403234)return _0x17ced4;}return _0x1e6ab8[_0x352d78(0xf2)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x215470,MenuBarMenuListItemButtonView as _0x18fc8f}from'ckeditor5/src/ui.js';import{Plugin as _0x59eeb7}from'ckeditor5/src/core.js';import{IconFootnote as _0x37692a}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x59eeb7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x10abbf}=this,{componentFactory:_0x315290}=_0x10abbf['ui'];_0x315290['add']('insertFootnote',E(_0x10abbf,_0x215470)),_0x315290['add']('menuBar:insertFootnote',E(_0x10abbf,_0x18fc8f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x270a9f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f40c9;for(const _0x5804a8 in _0x270a9f){const _0x237db3=_0x5804a8,_0x22f060=_0x270a9f[_0x237db3];if('footnotesLicenseKeyValid'==_0x22f060||'footnotesLicenseKeyInvalid'==_0x22f060||'footnotesLicenseKeyExpired'==_0x22f060||'footnotesLicenseKeyDomainLimit'==_0x22f060||'footnotesLicenseKeyNotAllowed'==_0x22f060||'footnotesLicenseKeyEvaluationLimit'==_0x22f060||'footnotesLicenseKeyUsageLimit'==_0x22f060){delete _0x270a9f[_0x237db3],_0x2f40c9=_0x22f060,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2f40c9&&_0x270a9f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2f40c9&&_0x270a9f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2f40c9&&_0x270a9f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x3bd8b5,_0x271185){const _0x4de83e=_0x3bd8b5['commands']['get']('insertFootnote');return _0x2910e2=>{const {t:t}=_0x2910e2,_0x310ce3=new _0x271185(_0x2910e2),_0x51880d=_0x310ce3 instanceof _0x18fc8f;return _0x310ce3['bind']('isEnabled')['to'](_0x4de83e,'isEnabled'),_0x310ce3['set']({'label':t(_0x51880d?'Footnote':'Insert\x20footnote'),'icon':_0x37692a,'tooltip':!0x0}),_0x310ce3['on']('execute',()=>{_0x4de83e['execute'](),_0x3bd8b5['editing']['view']['focus']();}),_0x310ce3;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x21ac23,_0xa933c6){var _0x3f236a=_0x1a53,_0x4a89a7=_0x21ac23();while(!![]){try{var _0x4593ae=parseInt(_0x3f236a(0xd3))/0x1+parseInt(_0x3f236a(0xd5))/0x2*(-parseInt(_0x3f236a(0xd6))/0x3)+parseInt(_0x3f236a(0xcf))/0x4+parseInt(_0x3f236a(0xd2))/0x5*(parseInt(_0x3f236a(0xd1))/0x6)+parseInt(_0x3f236a(0xd7))/0x7+-parseInt(_0x3f236a(0xce))/0x8+-parseInt(_0x3f236a(0xd0))/0x9*(parseInt(_0x3f236a(0xd4))/0xa);if(_0x4593ae===_0xa933c6)break;else _0x4a89a7['push'](_0x4a89a7['shift']());}catch(_0x87c01d){_0x4a89a7['push'](_0x4a89a7['shift']());}}}(_0x4144,0x2250b));function _0x1a53(_0x4b547f,_0x1d0480){var _0x414409=_0x4144();return _0x1a53=function(_0x1a53ce,_0x3cd020){_0x1a53ce=_0x1a53ce-0xce;var _0x88bc66=_0x414409[_0x1a53ce];return _0x88bc66;},_0x1a53(_0x4b547f,_0x1d0480);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';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';function _0x4144(){var _0x3e0473=['9mAjDIz','257390cjWWoy','408584NMNJlw','1069408hczqDY','2862dtFdwm','156078EFHSSl','30wQjYfG','279687vMqqIs','8620IRlPCp','182762sbzvRh'];_0x4144=function(){return _0x3e0473;};return _0x4144();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3ce6(_0x1f46bb,_0x3db07c){const _0x1270cc=_0x1270();return _0x3ce6=function(_0x3ce681,_0xbfb8a2){_0x3ce681=_0x3ce681-0xae;let _0x27a85e=_0x1270cc[_0x3ce681];return _0x27a85e;},_0x3ce6(_0x1f46bb,_0x3db07c);}const _0x43dd96=_0x3ce6;function _0x1270(){const _0x148142=['reset','root','1001979lTKmPW','_model','delete','_trackedElements','push','length','$text','265368Icbdwz','clear','4224SRXCTH','8VqUBzI','type','$graveyard','values','remove','getElementKey','_getElementKey','attributes','4MVIXbL','40DQAbAR','5050GzFJwq','217LPlWaS','6853hZjogN','_elementName','element','name','has','from','createRangeOn','slice','nodeAfter','3104VTQyeC','add','insert','getChanges','177720pagEak','get','rootName','elementName','set','position','3818844UUSSVH','getItems','flat'];_0x1270=function(){return _0x148142;};return _0x1270();}(function(_0x173876,_0x324f3b){const _0x3e4333=_0x3ce6,_0x241d49=_0x173876();while(!![]){try{const _0x587f92=parseInt(_0x3e4333(0xc1))/0x1*(parseInt(_0x3e4333(0xd6))/0x2)+parseInt(_0x3e4333(0xda))/0x3*(-parseInt(_0x3e4333(0xc9))/0x4)+-parseInt(_0x3e4333(0xca))/0x5*(-parseInt(_0x3e4333(0xbe))/0x6)+-parseInt(_0x3e4333(0xcc))/0x7*(-parseInt(_0x3e4333(0xc0))/0x8)+-parseInt(_0x3e4333(0xb7))/0x9+parseInt(_0x3e4333(0xcb))/0xa*(parseInt(_0x3e4333(0xcd))/0xb)+-parseInt(_0x3e4333(0xb2))/0xc;if(_0x587f92===_0x324f3b)break;else _0x241d49['push'](_0x241d49['shift']());}catch(_0x4ab67e){_0x241d49['push'](_0x241d49['shift']());}}}(_0x1270,0x32e1f));export class ModelElementTracker{[_0x43dd96(0xb8)];[_0x43dd96(0xce)];[_0x43dd96(0xc7)];[_0x43dd96(0xba)]=new Map();constructor(_0x18618d,_0x417679){const _0x2996be=_0x43dd96;this[_0x2996be(0xb8)]=_0x18618d,this[_0x2996be(0xce)]=_0x417679[_0x2996be(0xaf)],this[_0x2996be(0xc7)]=_0x417679[_0x2996be(0xc6)];}[_0x43dd96(0xb5)](){const _0x2bfb93=_0x43dd96;this[_0x2bfb93(0xba)][_0x2bfb93(0xbf)]();}[_0x43dd96(0xd9)](_0x128a9f){const _0x28e623=_0x43dd96,_0x52c120=new Set(),_0x1d54fc=new Map();for(const _0x44f289 of _0x128a9f){if(_0x28e623(0xd8)===_0x44f289[_0x28e623(0xc2)]&&_0x28e623(0xbd)!==_0x44f289[_0x28e623(0xd0)]&&_0x44f289[_0x28e623(0xb1)][_0x28e623(0xd5)]){const _0x3fa4ea=this[_0x28e623(0xb8)][_0x28e623(0xd3)](_0x44f289[_0x28e623(0xb1)][_0x28e623(0xd5)]);for(const _0x1a3967 of _0x3fa4ea[_0x28e623(0xb3)]()){if(!_0x1a3967['is'](_0x28e623(0xcf),this[_0x28e623(0xce)]))continue;const _0x3ce7f9=this[_0x28e623(0xc7)](_0x1a3967);_0x1d54fc[_0x28e623(0xd1)](_0x3ce7f9)||_0x1d54fc[_0x28e623(0xb0)](_0x3ce7f9,[]),_0x1d54fc[_0x28e623(0xdb)](_0x3ce7f9)[_0x28e623(0xbb)](_0x1a3967);}}if(_0x28e623(0xc5)===_0x44f289[_0x28e623(0xc2)]&&_0x44f289[_0x28e623(0xd0)]===this[_0x28e623(0xce)]){const _0x57ba38=this[_0x28e623(0xc7)]({'getAttribute':_0x3850c0=>_0x44f289[_0x28e623(0xc8)][_0x28e623(0xdb)](_0x3850c0)});_0x52c120[_0x28e623(0xd7)](_0x57ba38);}}for(const [_0x2edf8d,_0x417453]of this[_0x28e623(0xba)])_0x28e623(0xc3)===_0x417453[_0x28e623(0xb6)][_0x28e623(0xae)]&&_0x52c120[_0x28e623(0xd7)](_0x2edf8d);for(const _0x20191e of _0x52c120)this[_0x28e623(0xba)][_0x28e623(0xb9)](_0x20191e);for(const [_0x508e0c,_0x50f970]of _0x1d54fc)this[_0x28e623(0xba)][_0x28e623(0xb0)](_0x508e0c,_0x50f970[_0x50f970[_0x28e623(0xbc)]-0x1]);const _0xbd50a1=new Set();for(const [_0x17b19a,_0x5ef8c2]of _0x1d54fc)_0x52c120[_0x28e623(0xd1)](_0x17b19a)&&(_0xbd50a1[_0x28e623(0xd7)](_0x5ef8c2[0x0]),_0x5ef8c2[_0x28e623(0xbc)]>0x1?_0x1d54fc[_0x28e623(0xb0)](_0x17b19a,_0x5ef8c2[_0x28e623(0xd4)](0x1)):_0x1d54fc[_0x28e623(0xb9)](_0x17b19a),_0x52c120[_0x28e623(0xb9)](_0x17b19a));return{'removed':Array[_0x28e623(0xd2)](_0x52c120),'inserted':Array[_0x28e623(0xd2)](_0x1d54fc[_0x28e623(0xc4)]())[_0x28e623(0xb4)](),'moved':Array[_0x28e623(0xd2)](_0xbd50a1)};}}
|