@ckeditor/ckeditor5-footnotes 47.2.0-alpha.0 → 47.2.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index-content.css +0 -12
- package/dist/index.css +6 -12
- 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/theme/footnotes.css +6 -16
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0xd8fe3d}from'ckeditor5/src/core.js';import{isWidget as _0x1ff360,toWidget as _0x57dd10,toWidgetEditable as _0x577c2d}from'ckeditor5/src/widget.js';import{uid as _0x558bd0}from'ckeditor5/src/utils.js';import{PointerObserver as _0x145a9f,ClickObserver as _0x55933d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x55fa84}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1b1194}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xd8fe3d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x55fa84];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa906cb}=this;_0xa906cb['config']['define']('footnotes.multiBlock',!0x0),_0xa906cb['commands']['add']('insertFootnote',new _0x1b1194(_0xa906cb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x35985c){const _0x1ca078=_0x4e9fc3([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]),_0x1f9f05=0x47a28506,_0x2c19ea=0x47a5f296^_0x1f9f05,_0x347673=window[_0x4e9fc3([0x44,0x61,0x74,0x65])][_0x4e9fc3([0x6e,0x6f,0x77])](),_0x524aa3=_0x35985c[_0x4e9fc3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22a3e8=new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423670=>{_0x524aa3[_0x4e9fc3([0x6f,0x6e,0x63,0x65])](_0x4e9fc3([0x72,0x65,0x61,0x64,0x79]),_0x423670);}),_0xbb204={[_0x4e9fc3([0x6b,0x74,0x79])]:_0x4e9fc3([0x45,0x43]),[_0x4e9fc3([0x75,0x73,0x65])]:_0x4e9fc3([0x73,0x69,0x67]),[_0x4e9fc3([0x63,0x72,0x76])]:_0x4e9fc3([0x50,0x2d,0x32,0x35,0x36]),[_0x4e9fc3([0x78])]:_0x4e9fc3([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]),[_0x4e9fc3([0x79])]:_0x4e9fc3([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]),[_0x4e9fc3([0x61,0x6c,0x67])]:_0x4e9fc3([0x45,0x53,0x32,0x35,0x36])},_0x28ac54=_0x524aa3[_0x4e9fc3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e9fc3([0x67,0x65,0x74])](_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13947d(){let _0x1f1ccb,_0x3043a6=null,_0x59e66b=null;try{if(_0x28ac54==_0x4e9fc3([0x47,0x50,0x4c]))return _0x4e9fc3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f1ccb=_0x305c80(),!_0x1f1ccb)return _0x4e9fc3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f1ccb[_0x4e9fc3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59e66b=_0x428198(_0x1f1ccb[_0x4e9fc3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f1ccb[_0x4e9fc3([0x6a,0x74,0x69])])),await _0x29e93d()?_0x572316()?_0x53ee6f()?_0x4e9fc3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1aabe3()?(_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e9fc3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3043a6=_0x486125(_0x4e9fc3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e9fc3([0x74,0x72,0x69,0x61,0x6c])&&(_0x3043a6=_0x486125(_0x4e9fc3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c9baa()):_0x4e9fc3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e9fc3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e9fc3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e9fc3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53ee6f(){const _0x573d4c=[_0x4e9fc3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e9fc3([0x74,0x72,0x69,0x61,0x6c])][_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x347673/0x3e8:0xe10*_0x2c19ea;return _0x1f1ccb[_0x4e9fc3([0x65,0x78,0x70])]<_0x573d4c;}function _0x572316(){const _0x46ee75=_0x1f1ccb[_0x4e9fc3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46ee75&&(!!_0x46ee75[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9fc3([0x2a]))||!!_0x46ee75[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9fc3([0x46,0x4f,0x4f])));}function _0x1aabe3(){const _0x29b079=_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29b079||0x0==_0x29b079[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c3b82}=new URL(window[_0x4e9fc3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x29b079[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c3b82))return!0x0;const _0x539889=_0x3c3b82[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e]));return _0x29b079[_0x4e9fc3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x272d1f=>_0x272d1f[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9fc3([0x2a])))[_0x4e9fc3([0x6d,0x61,0x70])](_0x545155=>_0x545155[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e])))[_0x4e9fc3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ea200=>_0x2ea200[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x539889[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e9fc3([0x6d,0x61,0x70])](_0x15944f=>Array(_0x539889[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15944f[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e9fc3([0x66,0x69,0x6c,0x6c])](_0x15944f[0x0]===_0x4e9fc3([0x2a])?_0x4e9fc3([0x2a]):'')[_0x4e9fc3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15944f))[_0x4e9fc3([0x73,0x6f,0x6d,0x65])](_0x59a524=>_0x539889[_0x4e9fc3([0x65,0x76,0x65,0x72,0x79])]((_0x2b1cc0,_0x102b78)=>_0x59a524[_0x102b78]===_0x2b1cc0||_0x59a524[_0x102b78]===_0x4e9fc3([0x2a])));}function _0x4c9baa(){return _0x3043a6&&_0x59e66b?new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x82d37c,_0x116984)=>{_0x3043a6[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x82d37c,_0x116984),_0x59e66b[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x42ac7b=>{_0x42ac7b!=_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64])&&_0x82d37c(_0x42ac7b);},_0x116984);}):_0x3043a6||_0x59e66b||_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x428198(_0x3b7783,_0x5c98fe){return new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f332a=>{if(_0x380aba())return _0x2f332a(_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64]));_0x57832b(),_0x524aa3[_0x4e9fc3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e9fc3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x327818=!0x1;const _0x52f395=_0x558bd0();function _0x388a6c(_0x249863){return!!_0x249863&&(typeof _0x249863===_0x4e9fc3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x249863===_0x4e9fc3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x249863[_0x4e9fc3([0x74,0x68,0x65,0x6e])]===_0x4e9fc3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x249863[_0x4e9fc3([0x63,0x61,0x74,0x63,0x68])]===_0x4e9fc3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f18ef(_0x1bb15f){_0x49241b(_0x1bb15f)[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x26a9b2=>{if(!_0x26a9b2||_0x26a9b2[_0x4e9fc3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e9fc3([0x6f,0x6b]))return _0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e84d8(_0x2ec424(_0x52f395+_0x5c98fe))!=_0x26a9b2[_0x4e9fc3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x2c2b75=>(_0x14432f(),_0x2c2b75),()=>{const _0x549288=_0xc3f1fa();return null==_0x549288?(_0x14432f(),_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64])):_0x4e9fc3(_0x347673-_0x549288>(0x63ae0106^_0x1f9f05)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x2f332a)[_0x4e9fc3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f332a(_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x512ab2=0x47946b86^_0x1f9f05;function _0x14432f(){const _0xc91767=_0x4e9fc3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e84d8(_0x2ec424(_0x3b7783)),_0x56ab5d=_0x391506(_0x5e84d8(window[_0x4e9fc3([0x4d,0x61,0x74,0x68])][_0x4e9fc3([0x63,0x65,0x69,0x6c])](_0x347673/_0x512ab2)));window[_0x4e9fc3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e9fc3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc91767,_0x56ab5d);}function _0xc3f1fa(){const _0x443a83=_0x4e9fc3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e84d8(_0x2ec424(_0x3b7783)),_0x4bbe06=window[_0x4e9fc3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e9fc3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x443a83);return _0x4bbe06?window[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391506(_0x4bbe06),0x10)*_0x512ab2:null;}function _0x49241b(_0x28371c){return new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f93a8,_0x354c5e)=>{_0x28371c[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x3f93a8,_0x354c5e),window[_0x4e9fc3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x354c5e,0x47a351c6^_0x1f9f05);});}}_0x524aa3[_0x4e9fc3([0x6f,0x6e])](_0x4e9fc3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28d4c,_0x40066e)=>{if(_0x40066e[0x0]!=_0x3b7783)return _0x2f332a(_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40066e[0x1]={..._0x40066e[0x1],[_0x4e9fc3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52f395};},{[_0x4e9fc3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e9fc3([0x68,0x69,0x67,0x68])}),_0x524aa3[_0x4e9fc3([0x6f,0x6e])](_0x4e9fc3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cb740=>{_0x388a6c(_0x2cb740[_0x4e9fc3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x327818=!0x0,_0x1f18ef(_0x2cb740[_0x4e9fc3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e9fc3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e9fc3([0x6c,0x6f,0x77])}),_0x22a3e8[_0x4e9fc3([0x74,0x68,0x65,0x6e])](()=>{_0x327818||_0x2f332a(_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x380aba(){return _0x524aa3[_0x4e9fc3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e9fc3([0x76,0x69,0x65,0x77])][_0x4e9fc3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e9fc3([0x61,0x75,0x74,0x6f]);}function _0x57832b(){_0x524aa3[_0x4e9fc3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e9fc3([0x76,0x69,0x65,0x77])][_0x4e9fc3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e9fc3([0x61,0x75,0x74,0x6f]);}}function _0x486125(_0x4cd67d){const _0x2960be=[new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c535=>setTimeout(_0x20c535,0x47abbbca^_0x1f9f05)),_0x22a3e8[_0x4e9fc3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x314241=>{let _0x31bafe=0x0;_0x524aa3[_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e9fc3([0x6f,0x6e])](_0x4e9fc3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c4302,_0x4f6af8)=>{_0x4f6af8[0x0][_0x4e9fc3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31bafe++,_0x31bafe==(0x47a284fe^_0x1f9f05)&&(_0x314241(),_0x1c4302[_0x4e9fc3([0x6f,0x66,0x66])]());});}))];return window[_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e9fc3([0x72,0x61,0x63,0x65])](_0x2960be)[_0x4e9fc3([0x74,0x68,0x65,0x6e])](()=>_0x4cd67d);}async function _0x2e9cf5(){await _0x22a3e8,_0x524aa3[_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e9fc3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x60b4ef,_0x524aa3[_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e9fc3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x60b4ef,_0x524aa3[_0x4e9fc3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b478b(_0x11cb13){const _0x1e1b9a=_0xa69aec();_0x524aa3[_0x1e1b9a]=_0x4e9fc3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11cb13,_0x11cb13!=_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64])&&_0x2e9cf5();}function _0xa69aec(){const _0xfa08a8=window[_0x4e9fc3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e9fc3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e9fc3([0x6e,0x6f,0x77])]())[_0x4e9fc3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e9fc3([0x2e]),'');let _0x308efe=_0x4e9fc3([0x75]);for(let _0x5332ca=0x0;_0x5332ca<_0xfa08a8[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5332ca+=0x2){let _0x356cbc=window[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa08a8[_0x4e9fc3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5332ca,_0x5332ca+0x2));_0x356cbc>=_0x1ca078[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x356cbc-=_0x1ca078[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x308efe+=_0x1ca078[_0x356cbc];}return _0x308efe;}function _0x305c80(){const _0x5f1288=_0x28ac54[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e]));if(0x3!=_0x5f1288[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4edcc4(_0x5f1288[0x1]);function _0x4edcc4(_0x102d0a){const _0x363812=_0xb8f3d8(_0x102d0a);return _0x363812&&_0x129f12()?_0x363812:null;function _0x129f12(){const _0x3f57e0=_0x363812[_0x4e9fc3([0x6a,0x74,0x69])],_0x3c1ed2=window[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f57e0[_0x4e9fc3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f57e0[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x342c53={..._0x363812,[_0x4e9fc3([0x6a,0x74,0x69])]:_0x3f57e0[_0x4e9fc3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f57e0[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x342c53[_0x4e9fc3([0x76,0x63])],_0x2ec424(_0x342c53)==_0x3c1ed2;}}}async function _0x29e93d(){let _0x1b707c=!0x0;try{const _0x3377e6=_0x28ac54[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e])),[_0x5d16df,_0x3f600a,_0x22bae2]=_0x3377e6;return _0x49cf31(_0x5d16df),await _0x3e1d7a(_0x5d16df,_0x3f600a,_0x22bae2),_0x1b707c;}catch{return!0x1;}function _0x49cf31(_0x3a6b5b){const _0x15b1b5=_0xb8f3d8(_0x3a6b5b);_0x15b1b5&&_0x15b1b5[_0x4e9fc3([0x61,0x6c,0x67])]==_0x4e9fc3([0x45,0x53,0x32,0x35,0x36])||(_0x1b707c=!0x1);}async function _0x3e1d7a(_0x8fe207,_0x14ab37,_0x4c1533){const _0x298f74=window[_0x4e9fc3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e9fc3([0x66,0x72,0x6f,0x6d])](_0x3bc43a(_0x4c1533),_0x380df3=>_0x380df3[_0x4e9fc3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39980e=new window[(_0x4e9fc3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e9fc3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8fe207+_0x4e9fc3([0x2e])+_0x14ab37),_0x3e3f0a=window[_0x4e9fc3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e9fc3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e3f0a)return;const _0x4a00c6=await _0x3e3f0a[_0x4e9fc3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e9fc3([0x6a,0x77,0x6b]),_0xbb204,{[_0x4e9fc3([0x6e,0x61,0x6d,0x65])]:_0x4e9fc3([0x45,0x43,0x44,0x53,0x41]),[_0x4e9fc3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e9fc3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e9fc3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e3f0a[_0x4e9fc3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e9fc3([0x6e,0x61,0x6d,0x65])]:_0x4e9fc3([0x45,0x43,0x44,0x53,0x41]),[_0x4e9fc3([0x68,0x61,0x73,0x68])]:{[_0x4e9fc3([0x6e,0x61,0x6d,0x65])]:_0x4e9fc3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a00c6,_0x298f74,_0x39980e)||(_0x1b707c=!0x1);}}function _0xb8f3d8(_0x241d4c){return _0x241d4c[_0x4e9fc3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e9fc3([0x65,0x79]))?JSON[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65])](_0x3bc43a(_0x241d4c)):null;}function _0x3bc43a(_0x28d3ab){return window[_0x4e9fc3([0x61,0x74,0x6f,0x62])](_0x28d3ab[_0x4e9fc3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e9fc3([0x2b]))[_0x4e9fc3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e9fc3([0x2f])));}function _0x2ec424(_0x541c17){let _0x25a299=0x1505;function _0x10dd42(_0x10920d){for(let _0x2271e0=0x0;_0x2271e0<_0x10920d[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2271e0++){const _0x136e61=_0x10920d[_0x4e9fc3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2271e0);_0x25a299=(_0x25a299<<0x5)+_0x25a299+_0x136e61,_0x25a299&=_0x25a299;}}function _0x4ae8bc(_0x3c45ee){Array[_0x4e9fc3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c45ee)?_0x3c45ee[_0x4e9fc3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ae8bc):_0x3c45ee&&typeof _0x3c45ee==_0x4e9fc3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e9fc3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c45ee)[_0x4e9fc3([0x73,0x6f,0x72,0x74])]()[_0x4e9fc3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3681f4,_0x574544])=>{_0x10dd42(_0x3681f4),_0x4ae8bc(_0x574544);}):_0x10dd42(window[_0x4e9fc3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c45ee));}return _0x4ae8bc(_0x541c17),_0x25a299>>>0x0;}function _0x5e84d8(_0x2ad360){return _0x2ad360[_0x4e9fc3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e9fc3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e9fc3([0x30]));}function _0x391506(_0x5172a9){return _0x5172a9[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e9fc3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e9fc3([0x6a,0x6f,0x69,0x6e])]('');}function _0x60b4ef(){}function _0x4e9fc3(_0xccfc1e){return _0xccfc1e['map'](_0x1f8e4f=>String['fromCharCode'](_0x1f8e4f))['join']('');}_0x1b478b(await _0x13947d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x24bc4f){const {plugins:_0x4a8257,editing:_0x4edc29,model:_0x484e85}=this['editor'],_0x5a02fa=_0x4a8257['get'](_0x55fa84)['getFootnote'](_0x24bc4f);return!!_0x5a02fa&&(_0x484e85['change'](_0x2edf80=>{_0x2edf80['setSelection'](_0x2edf80['createPositionAt'](_0x5a02fa['definition'],'end'));}),_0x4edc29['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x38c384){const {plugins:_0x42f259,editing:_0x1ab62c,model:_0x20a456}=this['editor'],_0x2e2ee4=_0x42f259['get'](_0x55fa84)['getFootnote'](_0x38c384);return!!_0x2e2ee4&&(_0x20a456['change'](_0x57062a=>{_0x57062a['setSelection'](_0x2e2ee4['reference'],'on');}),_0x1ab62c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x20faea}=this['editor']['model'],_0x4ca024=this['editor']['config']['get']('footnotes.multiBlock');_0x20faea['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x20faea['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x20faea['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4ca024?_0x20faea['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x20faea['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x20faea['addChildCheck'](_0x5e858b=>{for(const _0xd0e881 of _0x5e858b)if('footnoteDefinition'===_0xd0e881['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x36907e}=this,{conversion:_0x2fa2fe,editing:_0x599918}=_0x36907e,{t:t}=_0x36907e['locale'];_0x2fa2fe['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5ce4e0,{writer:_0x4754a4,consumable:_0x4287cf})=>{const _0x43963c=_0x5ce4e0['getChild'](0x0);if(!_0x43963c||!_0x43963c['is']('element','a'))return null;const _0x2c88e6=_0x43963c['getAttribute']('href')||'';if(!_0x2c88e6['startsWith']('#'))return null;const _0x3916b0=_0x2c88e6['replace'](/^#/,'');if(!_0x3916b0)return null;_0x4287cf['consume'](_0x43963c,{'name':!0x0,'attributes':['href']});for(const {item:_0x2526a0}of _0x599918['view']['createRangeIn'](_0x43963c))_0x2526a0['is']('$textProxy')?_0x4287cf['consume'](_0x2526a0['textNode'],{'name':!0x0}):_0x2526a0['is']('element')&&_0x4287cf['consume'](_0x2526a0,{'name':!0x0});return _0x4754a4['createElement']('footnoteRef',{'footnoteId':_0x3916b0});}}),_0x2fa2fe['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c18ac,{writer:_0x9a992a})=>D(_0x2c18ac,_0x9a992a)}),_0x2fa2fe['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x211d76,{writer:_0x2610c8})=>{const _0x5055d6=_0x211d76['getAttribute']('footnoteCounter');return _0x57dd10(D(_0x211d76,_0x2610c8),_0x2610c8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5055d6)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3572dd}=this,{t:t}=_0x3572dd['locale'],{conversion:_0x204147}=_0x3572dd;_0x204147['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x204147['for']('upcast')['add'](_0x4e9b3f=>{_0x4e9b3f['on']('element:ol',(_0x301322,_0x1d8678,_0x38d872)=>{const _0x25121a=_0x1d8678['viewItem'];if(!_0x25121a['hasClass']('footnotes-list')||!_0x1d8678['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x38d872['consumable']['consume'](_0x25121a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14ba17,modelCursor:_0x5a195d}=_0x38d872['convertChildren'](_0x1d8678['viewItem'],_0x1d8678['modelCursor']);_0x1d8678['modelRange']=_0x14ba17,_0x1d8678['modelCursor']=_0x5a195d;}),_0x4e9b3f['on']('element:hr',(_0x5d5413,_0xd45df4,_0x4fc820)=>{const _0x779563=_0xd45df4['viewItem'];_0x779563['hasClass']('footnotes-divider')&&_0xd45df4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4fc820['consumable']['consume'](_0x779563,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x204147['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3846d0,{writer:_0x274ac8})=>g(_0x274ac8)}),_0x204147['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x537e4a,{writer:_0x5e786e})=>{const _0x59ae36=g(_0x5e786e,{'data-footnotes-list-label':t('Footnotes')}),_0x13ae6c=_0x57dd10(_0x59ae36,_0x5e786e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5e786e['setCustomProperty']('footnotesDefinitions',!0x0,_0x13ae6c),_0x13ae6c;}});}['_defineDefinitionConverters'](){const {editor:_0x49b2ba}=this,{conversion:_0x3b684b,locale:_0x2fb789}=_0x49b2ba,_0x45c36f=_0x49b2ba['config']['get']('footnotes.multiBlock');_0x3b684b['for']('upcast')['add'](_0x3917f2=>{_0x3917f2['on']('element:li',(_0x20e409,_0x2e5af6,_0x158ed0)=>{const _0x506906=_0x2e5af6['viewItem'];if(!_0x506906['hasClass']('footnote-definition')||!_0x506906['getAttribute']('id'))return;const _0x1f39f0=_0x506906['parent'];if(!_0x1f39f0['is']('element','ol')||!_0x1f39f0['hasClass']('footnotes-list'))return;if(!_0x158ed0['consumable']['test'](_0x506906,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x6ce5b8=_0x158ed0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x506906['getAttribute']('id')});if(!_0x158ed0['safeInsert'](_0x6ce5b8,_0x2e5af6['modelCursor']))return;_0x158ed0['consumable']['consume'](_0x506906,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4a5b9f=Array['from'](_0x506906['getChildren']())['find'](_0x5a724d=>_0x5a724d['is']('element')&&_0x5a724d['hasClass']('footnote-content'));for(const _0x103c85 of _0x506906['getChildren']())_0x103c85['is']('element')&&(_0x158ed0['consumable']['consume'](_0x103c85,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x158ed0['consumable']['consume'](_0x103c85,{'name':!0x0,'classes':'footnote-content'}));if(_0x4a5b9f){if(_0x45c36f)_0x158ed0['convertChildren'](_0x4a5b9f,_0x6ce5b8);else{const _0x5b1ba7=_0x158ed0['writer']['createElement']('footnoteInlineContent');_0x158ed0['writer']['insert'](_0x5b1ba7,_0x6ce5b8),_0x158ed0['convertChildren'](_0x4a5b9f,_0x5b1ba7);}}_0x158ed0['updateConversionResult'](_0x6ce5b8,_0x2e5af6);});}),_0x3b684b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3df0a2,{writer:_0x56bf8e})=>v(_0x3df0a2,_0x56bf8e,_0x2fb789,{'dataPipeline':!0x0})}),_0x3b684b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x448961,{writer:_0xcb85e1})=>v(_0x448961,_0xcb85e1,_0x2fb789)});}['_defineBogusParagraphConverters'](){const {editor:_0x58e86f}=this,{conversion:_0x4364f3}=_0x58e86f;_0x58e86f['config']['get']('footnotes.multiBlock')?(_0x4364f3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x4364f3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x58e86f['model']['document'],'change:data',()=>{!function(_0x5d8447,_0x11bebe){const _0x330aa7=_0x5d8447['document']['differ'],_0x37036d=new Set();for(const _0x2c5f70 of _0x330aa7['getChanges']()){const _0x53a31f='attribute'==_0x2c5f70['type']?_0x2c5f70['range']['start']['parent']:_0x2c5f70['position']['parent'];_0x53a31f['is']('element','footnoteDefinition')&&_0x37036d['add'](_0x53a31f);}for(const _0x3fde82 of _0x37036d['values']()){const _0x501a15=Array['from'](_0x3fde82['getChildren']())['filter'](_0x5dfa30=>p(_0x5dfa30,_0x11bebe['mapper']));for(const _0x3d857d of _0x501a15)_0x11bebe['reconvertItem'](_0x3d857d);}}(_0x58e86f['model'],_0x58e86f['editing']);})):(_0x4364f3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x4364f3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2f151e,{writer:_0x43b10e})=>{const _0x10d86b=_0x43b10e['createContainerElement']('span');return _0x43b10e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x10d86b),_0x10d86b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3705ba}=this,{editing:_0x5a8e7d,t:t}=_0x3705ba,_0x5f8532=_0x3705ba['model']['document']['selection'];_0x3705ba['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x3705ba['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x5a8e7d['view']['document'],'enter',(_0x4792ac,_0x522156)=>{const _0x87e8a5=function(_0x40cabc){const _0x55db04=_0x40cabc['getSelectedElement']();if(_0x55db04?.['is']('element','footnoteRef'))return _0x55db04;return null;}(_0x5f8532);if(_0x87e8a5){const _0x51fa86=_0x87e8a5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x51fa86),_0x522156['preventDefault'](),_0x4792ac['stop']();}},{'context':_0x1ff360});}['_defineClickHandlers'](){const {editor:_0x5ce270}=this,{editing:_0x54ef19}=_0x5ce270;_0x5ce270['editing']['view']['addObserver'](_0x145a9f),_0x5ce270['editing']['view']['addObserver'](_0x55933d);let _0x1c8468=!0x1;this['listenTo'](_0x54ef19['view']['document'],'pointerdown',(_0x5ec171,_0x4dff27)=>{const {target:_0x33549c}=_0x4dff27,_0x5afa56=_0x54ef19['view']['document']['selection'];_0x1c8468=!!(_0x33549c['is']('element','a')&&_0x33549c['parent']?.['is']('element','sup')&&_0x33549c['parent']['hasClass']('footnote'))&&_0x5afa56['getSelectedElement']()===_0x33549c['parent'];},{'priority':'high'}),this['listenTo'](_0x54ef19['view']['document'],'click',(_0x5b6d0e,_0x18d5de)=>{const {target:_0x1d50f3}=_0x18d5de;if(!_0x1d50f3['is']('element','a'))return;if(_0x1d50f3['parent']?.['is']('element','sup')&&_0x1d50f3['parent']['hasClass']('footnote')&&!_0x1c8468)return void _0x18d5de['preventDefault']();let _0x1c4726=_0x1d50f3['getAttribute']('href');if(!_0x1c4726?.['startsWith']('#'))return;_0x1c4726=_0x1c4726['slice'](0x1);let _0x16ba40=!0x1;(_0x1c4726['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1c4726['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1c4726))&&(_0x16ba40=!0x0),_0x16ba40&&(_0x18d5de['preventDefault'](),_0x5b6d0e['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x582a69}={}){return(_0x49354d,{writer:_0x44b66b})=>{if(!h(_0x49354d))return null;if(!_0x582a69)return _0x44b66b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x206133=_0x44b66b['createContainerElement']('p');return _0x44b66b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x206133),_0x206133;};}function h(_0x219aa4){const {parent:_0x8ac236}=_0x219aa4;if(!_0x8ac236?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x8ac236['childCount'])return!0x1;for(const _0x2609aa of _0x219aa4['getAttributeKeys']())if(!_0x2609aa['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2609aa)return!0x1;return!0x0;}function p(_0x2978d9,_0x308392){if(!_0x2978d9['is']('element','paragraph'))return!0x1;const _0x2b4027=_0x308392['toViewElement'](_0x2978d9);return!!_0x2b4027&&h(_0x2978d9)!==_0x2b4027['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x579eec){return _0x1ff360(_0x579eec)&&_0x579eec['is']('containerElement')&&!!_0x579eec['getCustomProperty']('footnotesDefinitions');}function g(_0x29a7ba,_0x4c9f4f={}){const _0x458b16=_0x29a7ba['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x454458=_0x29a7ba['createContainerElement']('ol',{'class':'footnotes-list'},_0x29a7ba['createSlot']());return _0x29a7ba['createContainerElement']('div',{'class':'footnotes',..._0x4c9f4f},[_0x458b16,_0x454458]);}function D(_0xe06194,_0x51ecee){const _0x3adb8e=_0xe06194['getAttribute']('footnoteId'),_0x402d06=_0xe06194['getAttribute']('footnoteCounter'),_0x205755=_0x51ecee['createUIElement']('a',{'href':'#'+_0x3adb8e},function(_0x37449c){const _0x1bc883=this['toDomElement'](_0x37449c);return _0x1bc883['textContent']=_0x402d06,_0x1bc883;}),_0x85b6e5=_0x51ecee['createContainerElement']('sup',{'id':'ref-'+_0x3adb8e,'class':'footnote'},[_0x205755]);return _0x85b6e5['getFillerOffset']=()=>null,_0x85b6e5;}function v(_0x3932f5,_0x8531ac,_0x16afbc,{dataPipeline:_0x5160ea}={}){const {t:t}=_0x16afbc,_0x3168d0=_0x3932f5['getAttribute']('footnoteId'),_0x8dd033=_0x8531ac['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3168d0},function(_0x1704ef){const _0x5b53a6=this['toDomElement'](_0x1704ef);return _0x5b53a6['innerText']='^',_0x5b53a6;}),_0x54d185=_0x5160ea?_0x8531ac['createContainerElement']('div',{'class':'footnote-content'}):_0x577c2d(_0x8531ac['createEditableElement']('div',{'class':'footnote-content'}),_0x8531ac,{'label':t('Footnote\x20content.')});return _0x8531ac['insert'](_0x8531ac['createPositionAt'](_0x54d185,0x0),_0x8531ac['createSlot']()),_0x8531ac['createContainerElement']('li',{'class':'footnote-definition','id':_0x3168d0},[_0x8dd033,_0x54d185]);}
|
|
23
|
+
import{Plugin as _0x20f558}from'ckeditor5/src/core.js';import{isWidget as _0x4978b4,toWidget as _0x3f3af4,toWidgetEditable as _0x339a86}from'ckeditor5/src/widget.js';import{uid as _0x51acc6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4d2d26,ClickObserver as _0x20fa02}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x59062f}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x54c20c}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x20f558{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x59062f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4167dc}=this;_0x4167dc['config']['define']('footnotes.multiBlock',!0x0),_0x4167dc['commands']['add']('insertFootnote',new _0x54c20c(_0x4167dc)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3009d8){const _0x510c57=_0x248b64([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]),_0x365795=0x47a28506,_0x5148b6=0x47a5f2ae^_0x365795,_0x3368e6=window[_0x248b64([0x44,0x61,0x74,0x65])][_0x248b64([0x6e,0x6f,0x77])](),_0x5bfd03=_0x3009d8[_0x248b64([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22b829=new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8ce8=>{_0x5bfd03[_0x248b64([0x6f,0x6e,0x63,0x65])](_0x248b64([0x72,0x65,0x61,0x64,0x79]),_0x3c8ce8);}),_0x529d6f={[_0x248b64([0x6b,0x74,0x79])]:_0x248b64([0x45,0x43]),[_0x248b64([0x75,0x73,0x65])]:_0x248b64([0x73,0x69,0x67]),[_0x248b64([0x63,0x72,0x76])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36]),[_0x248b64([0x78])]:_0x248b64([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]),[_0x248b64([0x79])]:_0x248b64([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]),[_0x248b64([0x61,0x6c,0x67])]:_0x248b64([0x45,0x53,0x32,0x35,0x36])},_0x2cf225=_0x5bfd03[_0x248b64([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x248b64([0x67,0x65,0x74])](_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf38669(){let _0x8dcd89,_0x1e1106=null,_0x306bd1=null;try{if(_0x2cf225==_0x248b64([0x47,0x50,0x4c]))return _0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8dcd89=_0x456468(),!_0x8dcd89)return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x306bd1=_0x35d749(_0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8dcd89[_0x248b64([0x6a,0x74,0x69])])),await _0x513bd9()?_0x2e9829()?_0xca383b()?_0x248b64([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbb120()?(_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6a8fef()):_0x248b64([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xca383b(){const _0x389c6a=[_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x248b64([0x74,0x72,0x69,0x61,0x6c])][_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3368e6/0x3e8:0xe10*_0x5148b6;return _0x8dcd89[_0x248b64([0x65,0x78,0x70])]<_0x389c6a;}function _0x2e9829(){const _0x46cace=_0x8dcd89[_0x248b64([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46cace&&(!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a]))||!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x46,0x4f,0x4f])));}function _0xbb120(){const _0x59498e=_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59498e||0x0==_0x59498e[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39c79a}=new URL(window[_0x248b64([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59498e[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39c79a))return!0x0;const _0x1054d9=_0x39c79a[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));return _0x59498e[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a5d43=>_0x3a5d43[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a])))[_0x248b64([0x6d,0x61,0x70])](_0x3447f8=>_0x3447f8[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])))[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa151c2=>_0xa151c2[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x6d,0x61,0x70])](_0x2057e9=>Array(_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2057e9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x66,0x69,0x6c,0x6c])](_0x2057e9[0x0]===_0x248b64([0x2a])?_0x248b64([0x2a]):'')[_0x248b64([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2057e9))[_0x248b64([0x73,0x6f,0x6d,0x65])](_0x2b78d0=>_0x1054d9[_0x248b64([0x65,0x76,0x65,0x72,0x79])]((_0x381e44,_0x3b2728)=>_0x2b78d0[_0x3b2728]===_0x381e44||_0x2b78d0[_0x3b2728]===_0x248b64([0x2a])));}function _0x6a8fef(){return _0x1e1106&&_0x306bd1?new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d8f7e,_0x4cd5b5)=>{_0x1e1106[_0x248b64([0x74,0x68,0x65,0x6e])](_0x4d8f7e,_0x4cd5b5),_0x306bd1[_0x248b64([0x74,0x68,0x65,0x6e])](_0x6c4419=>{_0x6c4419!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x4d8f7e(_0x6c4419);},_0x4cd5b5);}):_0x1e1106||_0x306bd1||_0x248b64([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35d749(_0x3c5d87,_0x4a8d1e){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11e5e5=>{if(_0x21f368())return _0x11e5e5(_0x248b64([0x56,0x61,0x6c,0x69,0x64]));_0xa620ce(),_0x5bfd03[_0x248b64([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x597020=!0x1;const _0x1e649e=_0x51acc6();function _0x52f4b6(_0x282979){return!!_0x282979&&(typeof _0x282979===_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x282979===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x282979[_0x248b64([0x74,0x68,0x65,0x6e])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x282979[_0x248b64([0x63,0x61,0x74,0x63,0x68])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ee392(_0x1681a4){_0xaf4acc(_0x1681a4)[_0x248b64([0x74,0x68,0x65,0x6e])](_0x43db51=>{if(!_0x43db51||_0x43db51[_0x248b64([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x248b64([0x6f,0x6b]))return _0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21582c(_0x44236f(_0x1e649e+_0x4a8d1e))!=_0x43db51[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x19ac4b=>(_0xb0be17(),_0x19ac4b),()=>{const _0x8c1971=_0x15eda3();return null==_0x8c1971?(_0xb0be17(),_0x248b64([0x56,0x61,0x6c,0x69,0x64])):_0x248b64(_0x3368e6-_0x8c1971>(0x63ae0106^_0x365795)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x11e5e5)[_0x248b64([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dfc2f=0x47946b86^_0x365795;function _0xb0be17(){const _0x23f71e=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x2c74df=_0x191f16(_0x21582c(window[_0x248b64([0x4d,0x61,0x74,0x68])][_0x248b64([0x63,0x65,0x69,0x6c])](_0x3368e6/_0x5dfc2f)));window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f71e,_0x2c74df);}function _0x15eda3(){const _0x144812=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x3d2c65=window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144812);return _0x3d2c65?window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x191f16(_0x3d2c65),0x10)*_0x5dfc2f:null;}function _0xaf4acc(_0x4f2b26){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434077,_0x5ebf34)=>{_0x4f2b26[_0x248b64([0x74,0x68,0x65,0x6e])](_0x434077,_0x5ebf34),window[_0x248b64([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ebf34,0x47a351c6^_0x365795);});}}_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49a4cd,_0x33eb40)=>{if(_0x33eb40[0x0]!=_0x3c5d87)return _0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33eb40[0x1]={..._0x33eb40[0x1],[_0x248b64([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e649e};},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x68,0x69,0x67,0x68])}),_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5069cb=>{_0x52f4b6(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x597020=!0x0,_0x1ee392(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x6c,0x6f,0x77])}),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>{_0x597020||_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21f368(){return _0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x248b64([0x61,0x75,0x74,0x6f]);}function _0xa620ce(){_0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x248b64([0x61,0x75,0x74,0x6f]);}}function _0xe8fdba(_0x1d3f38){const _0xf361a6=[new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55d373=>setTimeout(_0x55d373,0x47abbbca^_0x365795)),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfb8e=>{let _0x4b8d94=0x0;_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x6f,0x6e])](_0x248b64([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x199027,_0x182182)=>{_0x182182[0x0][_0x248b64([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8d94++,_0x4b8d94==(0x47a284fe^_0x365795)&&(_0x4cfb8e(),_0x199027[_0x248b64([0x6f,0x66,0x66])]());});}))];return window[_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x248b64([0x72,0x61,0x63,0x65])](_0xf361a6)[_0x248b64([0x74,0x68,0x65,0x6e])](()=>_0x1d3f38);}async function _0x1b3d3f(){await _0x22b829,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x248b64([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2328f6(_0x53610e){const _0x1f5388=_0x54504f();_0x5bfd03[_0x1f5388]=_0x248b64([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53610e,_0x53610e!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3d3f();}function _0x54504f(){const _0x4f69f8=window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x248b64([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x248b64([0x6e,0x6f,0x77])]())[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x248b64([0x2e]),'');let _0x4ec13d=_0x248b64([0x75]);for(let _0x1b619b=0x0;_0x1b619b<_0x4f69f8[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b619b+=0x2){let _0x416fcf=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f69f8[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b619b,_0x1b619b+0x2));_0x416fcf>=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x416fcf-=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ec13d+=_0x510c57[_0x416fcf];}return _0x4ec13d;}function _0x456468(){const _0x19de27=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));if(0x3!=_0x19de27[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x522839(_0x19de27[0x1]);function _0x522839(_0x2c18b7){const _0x4fe004=_0x32fb97(_0x2c18b7);return _0x4fe004&&_0x1208b2()?_0x4fe004:null;function _0x1208b2(){const _0x2b57f0=_0x4fe004[_0x248b64([0x6a,0x74,0x69])],_0x930732=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e2ab1={..._0x4fe004,[_0x248b64([0x6a,0x74,0x69])]:_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e2ab1[_0x248b64([0x76,0x63])],_0x44236f(_0x3e2ab1)==_0x930732;}}}async function _0x513bd9(){let _0x5a7fa4=!0x0;try{const _0x553f11=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])),[_0x26a034,_0x2f9c6c,_0x1cf780]=_0x553f11;return _0x3f9b9e(_0x26a034),await _0xdddb5b(_0x26a034,_0x2f9c6c,_0x1cf780),_0x5a7fa4;}catch{return!0x1;}function _0x3f9b9e(_0x270bba){const _0x4276be=_0x32fb97(_0x270bba);_0x4276be&&_0x4276be[_0x248b64([0x61,0x6c,0x67])]==_0x248b64([0x45,0x53,0x32,0x35,0x36])||(_0x5a7fa4=!0x1);}async function _0xdddb5b(_0x14baf1,_0x2a4ca9,_0x42cd0f){const _0x2d8098=window[_0x248b64([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x248b64([0x66,0x72,0x6f,0x6d])](_0x5b2aaa(_0x42cd0f),_0xcf4778=>_0xcf4778[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b67b1=new window[(_0x248b64([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x248b64([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x14baf1+_0x248b64([0x2e])+_0x2a4ca9),_0x4b8e7b=window[_0x248b64([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x248b64([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b8e7b)return;const _0x3b9463=await _0x4b8e7b[_0x248b64([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x248b64([0x6a,0x77,0x6b]),_0x529d6f,{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b8e7b[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x68,0x61,0x73,0x68])]:{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b9463,_0x2d8098,_0x3b67b1)||(_0x5a7fa4=!0x1);}}function _0x32fb97(_0x2cd5b3){return _0x2cd5b3[_0x248b64([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x248b64([0x65,0x79]))?JSON[_0x248b64([0x70,0x61,0x72,0x73,0x65])](_0x5b2aaa(_0x2cd5b3)):null;}function _0x5b2aaa(_0x13b6e1){return window[_0x248b64([0x61,0x74,0x6f,0x62])](_0x13b6e1[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x248b64([0x2b]))[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x248b64([0x2f])));}function _0x44236f(_0x4eb1bb){let _0x526943=0x1505;function _0x2244bc(_0x4d64e4){for(let _0x3355b2=0x0;_0x3355b2<_0x4d64e4[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3355b2++){const _0x36fc9d=_0x4d64e4[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3355b2);_0x526943=(_0x526943<<0x5)+_0x526943+_0x36fc9d,_0x526943&=_0x526943;}}function _0x4f9f23(_0x4221a0){Array[_0x248b64([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4221a0)?_0x4221a0[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f9f23):_0x4221a0&&typeof _0x4221a0==_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x248b64([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4221a0)[_0x248b64([0x73,0x6f,0x72,0x74])]()[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x544cbc,_0x280bc4])=>{_0x2244bc(_0x544cbc),_0x4f9f23(_0x280bc4);}):_0x2244bc(window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4221a0));}return _0x4f9f23(_0x4eb1bb),_0x526943>>>0x0;}function _0x21582c(_0x5d6306){return _0x5d6306[_0x248b64([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x248b64([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x248b64([0x30]));}function _0x191f16(_0x5f14dc){return _0x5f14dc[_0x248b64([0x73,0x70,0x6c,0x69,0x74])]('')[_0x248b64([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x248b64([0x6a,0x6f,0x69,0x6e])]('');}function _0x5acc2a(){}function _0x248b64(_0x3f7bd3){return _0x3f7bd3['map'](_0x518f97=>String['fromCharCode'](_0x518f97))['join']('');}_0x2328f6(await _0xf38669());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2c99cd){const {plugins:_0x36af9a,editing:_0x1b80fd,model:_0x300406}=this['editor'],_0x132666=_0x36af9a['get'](_0x59062f)['getFootnote'](_0x2c99cd);return!!_0x132666&&(_0x300406['change'](_0x2ae3ac=>{_0x2ae3ac['setSelection'](_0x2ae3ac['createPositionAt'](_0x132666['definition'],'end'));}),_0x1b80fd['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x453afb){const {plugins:_0x20e54c,editing:_0x2cdf9c,model:_0x29aca6}=this['editor'],_0x15664a=_0x20e54c['get'](_0x59062f)['getFootnote'](_0x453afb);return!!_0x15664a&&(_0x29aca6['change'](_0x280536=>{_0x280536['setSelection'](_0x15664a['reference'],'on');}),_0x2cdf9c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2e2fa0}=this['editor']['model'],_0x5f5972=this['editor']['config']['get']('footnotes.multiBlock');_0x2e2fa0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2e2fa0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2e2fa0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5f5972?_0x2e2fa0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2e2fa0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2e2fa0['addChildCheck'](_0xe5f8d0=>{for(const _0x52ada3 of _0xe5f8d0)if('footnoteDefinition'===_0x52ada3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x594f4e}=this,{conversion:_0x17dab3,editing:_0x3ed9e1}=_0x594f4e,{t:t}=_0x594f4e['locale'];_0x17dab3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x67a261,{writer:_0x234011,consumable:_0x34f598})=>{const _0x243a86=_0x67a261['getChild'](0x0);if(!_0x243a86||!_0x243a86['is']('element','a'))return null;const _0x6debbd=_0x243a86['getAttribute']('href')||'';if(!_0x6debbd['startsWith']('#'))return null;const _0x5bebd1=_0x6debbd['replace'](/^#/,'');if(!_0x5bebd1)return null;_0x34f598['consume'](_0x243a86,{'name':!0x0,'attributes':['href']});for(const {item:_0x57f26a}of _0x3ed9e1['view']['createRangeIn'](_0x243a86))_0x57f26a['is']('$textProxy')?_0x34f598['consume'](_0x57f26a['textNode'],{'name':!0x0}):_0x57f26a['is']('element')&&_0x34f598['consume'](_0x57f26a,{'name':!0x0});return _0x234011['createElement']('footnoteRef',{'footnoteId':_0x5bebd1});}}),_0x17dab3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ad513,{writer:_0xff4fbc})=>D(_0x2ad513,_0xff4fbc)}),_0x17dab3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cf88a,{writer:_0x3408f5})=>{const _0x49b2c1=_0x1cf88a['getAttribute']('footnoteCounter');return _0x3f3af4(D(_0x1cf88a,_0x3408f5),_0x3408f5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x49b2c1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1a1278}=this,{t:t}=_0x1a1278['locale'],{conversion:_0x25768b}=_0x1a1278;_0x25768b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x25768b['for']('upcast')['add'](_0x34c83a=>{_0x34c83a['on']('element:ol',(_0x353791,_0x5ea231,_0x1d544c)=>{const _0x2097d3=_0x5ea231['viewItem'];if(!_0x2097d3['hasClass']('footnotes-list')||!_0x5ea231['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1d544c['consumable']['consume'](_0x2097d3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x530caf,modelCursor:_0xdeb16e}=_0x1d544c['convertChildren'](_0x5ea231['viewItem'],_0x5ea231['modelCursor']);_0x5ea231['modelRange']=_0x530caf,_0x5ea231['modelCursor']=_0xdeb16e;}),_0x34c83a['on']('element:hr',(_0x22b7ee,_0x40a750,_0x2f5ecc)=>{const _0x58a113=_0x40a750['viewItem'];_0x58a113['hasClass']('footnotes-divider')&&_0x40a750['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2f5ecc['consumable']['consume'](_0x58a113,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x25768b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1950aa,{writer:_0x409c66})=>g(_0x409c66)}),_0x25768b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b30a0,{writer:_0x53caac})=>{const _0x49c0a7=g(_0x53caac,{'data-footnotes-list-label':t('Footnotes')}),_0x6a2461=_0x3f3af4(_0x49c0a7,_0x53caac,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x53caac['setCustomProperty']('footnotesDefinitions',!0x0,_0x6a2461),_0x6a2461;}});}['_defineDefinitionConverters'](){const {editor:_0x32fffd}=this,{conversion:_0x23f86a,locale:_0x3aa511}=_0x32fffd,_0x25a09c=_0x32fffd['config']['get']('footnotes.multiBlock');_0x23f86a['for']('upcast')['add'](_0x9eb515=>{_0x9eb515['on']('element:li',(_0x3ab560,_0x2716e2,_0x3de5b2)=>{const _0x55e436=_0x2716e2['viewItem'];if(!_0x55e436['hasClass']('footnote-definition')||!_0x55e436['getAttribute']('id'))return;const _0x119855=_0x55e436['parent'];if(!_0x119855['is']('element','ol')||!_0x119855['hasClass']('footnotes-list'))return;if(!_0x3de5b2['consumable']['test'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4dc4ae=_0x3de5b2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x55e436['getAttribute']('id')});if(!_0x3de5b2['safeInsert'](_0x4dc4ae,_0x2716e2['modelCursor']))return;_0x3de5b2['consumable']['consume'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x42f9d3=Array['from'](_0x55e436['getChildren']())['find'](_0x41ee2b=>_0x41ee2b['is']('element')&&_0x41ee2b['hasClass']('footnote-content'));for(const _0x3f914 of _0x55e436['getChildren']())_0x3f914['is']('element')&&(_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-content'}));if(_0x42f9d3){if(_0x25a09c)_0x3de5b2['convertChildren'](_0x42f9d3,_0x4dc4ae);else{const _0x1416f7=_0x3de5b2['writer']['createElement']('footnoteInlineContent');_0x3de5b2['writer']['insert'](_0x1416f7,_0x4dc4ae),_0x3de5b2['convertChildren'](_0x42f9d3,_0x1416f7);}}_0x3de5b2['updateConversionResult'](_0x4dc4ae,_0x2716e2);});}),_0x23f86a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3f967e,{writer:_0x4e35a0})=>v(_0x3f967e,_0x4e35a0,_0x3aa511,{'dataPipeline':!0x0})}),_0x23f86a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47d135,{writer:_0x565f1f})=>v(_0x47d135,_0x565f1f,_0x3aa511)});}['_defineBogusParagraphConverters'](){const {editor:_0x40bf53}=this,{conversion:_0x309ad4}=_0x40bf53;_0x40bf53['config']['get']('footnotes.multiBlock')?(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x40bf53['model']['document'],'change:data',()=>{!function(_0x5a1e25,_0x42f4cc){const _0x3f6e20=_0x5a1e25['document']['differ'],_0x14da39=new Set();for(const _0x10f90b of _0x3f6e20['getChanges']()){const _0x15e1f2='attribute'==_0x10f90b['type']?_0x10f90b['range']['start']['parent']:_0x10f90b['position']['parent'];_0x15e1f2['is']('element','footnoteDefinition')&&_0x14da39['add'](_0x15e1f2);}for(const _0x558dd7 of _0x14da39['values']()){const _0x25bddb=Array['from'](_0x558dd7['getChildren']())['filter'](_0xfcddc1=>p(_0xfcddc1,_0x42f4cc['mapper']));for(const _0x1885d3 of _0x25bddb)_0x42f4cc['reconvertItem'](_0x1885d3);}}(_0x40bf53['model'],_0x40bf53['editing']);})):(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1df9aa,{writer:_0x1aa958})=>{const _0x11fba5=_0x1aa958['createContainerElement']('span');return _0x1aa958['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11fba5),_0x11fba5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x442eea}=this,{editing:_0x1431b3,t:t}=_0x442eea,_0x46cd49=_0x442eea['model']['document']['selection'];_0x442eea['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x442eea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x1431b3['view']['document'],'enter',(_0x1a38d1,_0x321d4a)=>{const _0x4a54a8=function(_0x40b66a){const _0x50ff4a=_0x40b66a['getSelectedElement']();if(_0x50ff4a?.['is']('element','footnoteRef'))return _0x50ff4a;return null;}(_0x46cd49);if(_0x4a54a8){const _0x51d805=_0x4a54a8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x51d805),_0x321d4a['preventDefault'](),_0x1a38d1['stop']();}},{'context':_0x4978b4});}['_defineClickHandlers'](){const {editor:_0x134554}=this,{editing:_0x544f04}=_0x134554;_0x134554['editing']['view']['addObserver'](_0x4d2d26),_0x134554['editing']['view']['addObserver'](_0x20fa02);let _0x499200=!0x1;this['listenTo'](_0x544f04['view']['document'],'pointerdown',(_0x21f1ab,_0x4263c1)=>{const {target:_0x27a780}=_0x4263c1,_0x1d1582=_0x544f04['view']['document']['selection'];_0x499200=!!(_0x27a780?.['is']('element','a')&&_0x27a780['parent']?.['is']('element','sup')&&_0x27a780['parent']['hasClass']('footnote'))&&_0x1d1582['getSelectedElement']()===_0x27a780['parent'];},{'priority':'high'}),this['listenTo'](_0x544f04['view']['document'],'click',(_0x12cdc2,_0x12e9c0)=>{const {target:_0x439fdf}=_0x12e9c0;if(!_0x439fdf?.['is']('element','a'))return;if(_0x439fdf['parent']?.['is']('element','sup')&&_0x439fdf['parent']['hasClass']('footnote')&&!_0x499200)return void _0x12e9c0['preventDefault']();let _0x4da44a=_0x439fdf['getAttribute']('href');if(!_0x4da44a?.['startsWith']('#'))return;_0x4da44a=_0x4da44a['slice'](0x1);let _0x1031f3=!0x1;(_0x4da44a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4da44a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4da44a))&&(_0x1031f3=!0x0),_0x1031f3&&(_0x12e9c0['preventDefault'](),_0x12cdc2['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x10481d}={}){return(_0xe1ea31,{writer:_0x5df483})=>{if(!h(_0xe1ea31))return null;if(!_0x10481d)return _0x5df483['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3e3ebd=_0x5df483['createContainerElement']('p');return _0x5df483['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3e3ebd),_0x3e3ebd;};}function h(_0x35f87d){const {parent:_0x541730}=_0x35f87d;if(!_0x541730?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x541730['childCount'])return!0x1;for(const _0xe8b6fe of _0x35f87d['getAttributeKeys']())if(!_0xe8b6fe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xe8b6fe)return!0x1;return!0x0;}function p(_0x342a5c,_0x21bf53){if(!_0x342a5c['is']('element','paragraph'))return!0x1;const _0x17cfd5=_0x21bf53['toViewElement'](_0x342a5c);return!!_0x17cfd5&&h(_0x342a5c)!==_0x17cfd5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4108be){return _0x4978b4(_0x4108be)&&_0x4108be['is']('containerElement')&&!!_0x4108be['getCustomProperty']('footnotesDefinitions');}function g(_0x920a7f,_0x243e48={}){const _0x58db56=_0x920a7f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x28cb98=_0x920a7f['createContainerElement']('ol',{'class':'footnotes-list'},_0x920a7f['createSlot']());return _0x920a7f['createContainerElement']('div',{'class':'footnotes',..._0x243e48},[_0x58db56,_0x28cb98]);}function D(_0x3d8746,_0x45749d){const _0x217e28=_0x3d8746['getAttribute']('footnoteId'),_0x423dfb=_0x3d8746['getAttribute']('footnoteCounter'),_0x46a218=_0x45749d['createUIElement']('a',{'href':'#'+_0x217e28},function(_0x1ef17f){const _0x2dd4a9=this['toDomElement'](_0x1ef17f);return _0x2dd4a9['textContent']=_0x423dfb,_0x2dd4a9;}),_0x3f1613=_0x45749d['createContainerElement']('sup',{'id':'ref-'+_0x217e28,'class':'footnote'},[_0x46a218]);return _0x3f1613['getFillerOffset']=()=>null,_0x3f1613;}function v(_0x2ec78d,_0x1409a5,_0x2b935b,{dataPipeline:_0x157c5a}={}){const {t:t}=_0x2b935b,_0x45333d=_0x2ec78d['getAttribute']('footnoteId'),_0x301284=_0x1409a5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x45333d},function(_0x356061){const _0x43b380=this['toDomElement'](_0x356061);return _0x43b380['innerText']='^',_0x43b380;}),_0x37694=_0x157c5a?_0x1409a5['createContainerElement']('div',{'class':'footnote-content'}):_0x339a86(_0x1409a5['createEditableElement']('div',{'class':'footnote-content'}),_0x1409a5,{'label':t('Footnote\x20content.')});return _0x1409a5['insert'](_0x1409a5['createPositionAt'](_0x37694,0x0),_0x1409a5['createSlot']()),_0x1409a5['createContainerElement']('li',{'class':'footnote-definition','id':_0x45333d},[_0x301284,_0x37694]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10ee53=_0x3fb1;(function(_0x44872f,_0x22b514){const _0x4384ea=_0x3fb1,_0x110ab0=_0x44872f();while(!![]){try{const _0x5108dd=-parseInt(_0x4384ea(0x94))/0x1*(parseInt(_0x4384ea(0xa3))/0x2)+-parseInt(_0x4384ea(0x9c))/0x3+-parseInt(_0x4384ea(0xa0))/0x4*(parseInt(_0x4384ea(0xa6))/0x5)+-parseInt(_0x4384ea(0xa5))/0x6*(-parseInt(_0x4384ea(0x92))/0x7)+parseInt(_0x4384ea(0x96))/0x8*(parseInt(_0x4384ea(0xa2))/0x9)+-parseInt(_0x4384ea(0xa1))/0xa+parseInt(_0x4384ea(0x9f))/0xb;if(_0x5108dd===_0x22b514)break;else _0x110ab0['push'](_0x110ab0['shift']());}catch(_0x2f4886){_0x110ab0['push'](_0x110ab0['shift']());}}}(_0x1f38,0x9db27));import{Command as _0x38008d}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2fb449}from'../../footnotestracker.js';function _0x1f38(){const _0x206d99=['footnotesListStart','change','24672YRuMyD','plugins','_updateFootnotesCounters','12746052lJNeIP','95436wikHUz','3830100ngLVWA','503001MyxZlZ','4fGPOZO','get','6CYzWQX','145lnHPhs','value','setAttribute','model','execute','5090911WxIATm','isEnabled','106411zpqOyT','isInteger','8MXGFnb','refresh','getAttribute','getFootnotesDefinitionsObjectElement'];_0x1f38=function(){return _0x206d99;};return _0x1f38();}function _0x3fb1(_0x3c0070,_0x4f5481){const _0x1f3850=_0x1f38();return _0x3fb1=function(_0x3fb169,_0x3920e1){_0x3fb169=_0x3fb169-0x92;let _0xbdc414=_0x1f3850[_0x3fb169];return _0xbdc414;},_0x3fb1(_0x3c0070,_0x4f5481);}export class FootnotesStartCommand extends _0x38008d{[_0x10ee53(0x97)](){const _0x4f54f5=_0x10ee53,{editor:_0x52ad3d}=this,_0x5a7e1a=_0x52ad3d[_0x4f54f5(0x9d)][_0x4f54f5(0xa4)](_0x2fb449)[_0x4f54f5(0x99)]();this[_0x4f54f5(0x93)]=!!_0x5a7e1a,this[_0x4f54f5(0xa7)]=_0x5a7e1a?.[_0x4f54f5(0x98)](_0x4f54f5(0x9a))??null;}[_0x10ee53(0xaa)]({value:_0x2df1bd}){const _0x19523a=_0x10ee53,{editor:_0x5742ce}=this,_0x37a41e=_0x5742ce[_0x19523a(0x9d)][_0x19523a(0xa4)](_0x2fb449),_0x5868c5=_0x37a41e[_0x19523a(0x99)]();_0x5868c5&&Number[_0x19523a(0x95)](_0x2df1bd)&&_0x5742ce[_0x19523a(0xa9)][_0x19523a(0x9b)](_0x11e502=>{const _0x4fc2e6=_0x19523a;_0x11e502[_0x4fc2e6(0xa8)](_0x4fc2e6(0x9a),_0x2df1bd,_0x5868c5),_0x37a41e[_0x4fc2e6(0x9e)](_0x11e502);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x59c62c=_0x4234;(function(_0x3448e3,_0x17c6f9){const _0x225cb1=_0x4234,_0x481f7e=_0x3448e3();while(!![]){try{const _0x3c5c6a=-parseInt(_0x225cb1(0xc9))/0x1+-parseInt(_0x225cb1(0xc1))/0x2+parseInt(_0x225cb1(0xc3))/0x3*(-parseInt(_0x225cb1(0xbd))/0x4)+parseInt(_0x225cb1(0xbb))/0x5*(parseInt(_0x225cb1(0xbf))/0x6)+-parseInt(_0x225cb1(0xcc))/0x7*(parseInt(_0x225cb1(0xc2))/0x8)+-parseInt(_0x225cb1(0xca))/0x9+parseInt(_0x225cb1(0xba))/0xa;if(_0x3c5c6a===_0x17c6f9)break;else _0x481f7e['push'](_0x481f7e['shift']());}catch(_0x40a7aa){_0x481f7e['push'](_0x481f7e['shift']());}}}(_0x45c2,0xb2bfd));function _0x45c2(){const _0x31c454=['getAttribute','35187530Kgixjg','125suRZLx','_updateFootnotesCounters','2272684KavEBt','value','133500rfSxfD','model','494044dmIUzv','161728LSPXdx','3gMFIXw','includes','isEnabled','getFootnotesDefinitionsObjectElement','plugins','change','988916GvqeYr','8572257duTfyr','footnotesListStyle','203xlTBle','get','refresh','setAttribute','execute'];_0x45c2=function(){return _0x31c454;};return _0x45c2();}function _0x4234(_0x1bf0d5,_0x548e9d){const _0x45c2ae=_0x45c2();return _0x4234=function(_0x4234e2,_0x289c4f){_0x4234e2=_0x4234e2-0xb6;let _0x43c677=_0x45c2ae[_0x4234e2];return _0x43c677;},_0x4234(_0x1bf0d5,_0x548e9d);}import{Command as _0xdca16f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5ed10e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x261cde}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xdca16f{[_0x59c62c(0xb6)](){const _0x31060e=_0x59c62c,{editor:_0x387969}=this,_0x400023=_0x387969[_0x31060e(0xc7)][_0x31060e(0xcd)](_0x261cde)[_0x31060e(0xc6)]();this[_0x31060e(0xc5)]=!!_0x400023,this[_0x31060e(0xbe)]=_0x400023?.[_0x31060e(0xb9)](_0x31060e(0xcb))??null;}[_0x59c62c(0xb8)]({value:_0x68b0b2}){const _0x11dfad=_0x59c62c,{editor:_0x261c31}=this,_0x153ef5=_0x261c31[_0x11dfad(0xc7)][_0x11dfad(0xcd)](_0x261cde),_0x202d5c=_0x153ef5[_0x11dfad(0xc6)]();_0x202d5c&&_0x5ed10e[_0x11dfad(0xc4)](_0x68b0b2)&&_0x261c31[_0x11dfad(0xc0)][_0x11dfad(0xc8)](_0x3381eb=>{const _0x2e2e8c=_0x11dfad;_0x3381eb[_0x2e2e8c(0xb7)](_0x2e2e8c(0xcb),_0x68b0b2,_0x202d5c),_0x153ef5[_0x2e2e8c(0xbc)](_0x3381eb);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x12c531=_0x6bec;function _0x5b5c(){const _0x149c65=['10XkCBrH','decimal-leading-zero','lower-latin','upper-roman','644350lZxasJ','817048sYJjCq','5164093tCqNOc','6294uuofDJ','5100375njxjBq','55932eMJkMp','2iZLyml','upper-latin','15XTRLaD','8JmrNBj','lower-roman','3300QQrQaS','2719206ajiXsC','upper-alpha','decimal','lower-alpha','8203mhzjKt'];_0x5b5c=function(){return _0x149c65;};return _0x5b5c();}function _0x6bec(_0x37772f,_0x411275){const _0x5b5cd5=_0x5b5c();return _0x6bec=function(_0x6bec38,_0x4a9e10){_0x6bec38=_0x6bec38-0x115;let _0xfd1559=_0x5b5cd5[_0x6bec38];return _0xfd1559;},_0x6bec(_0x37772f,_0x411275);}(function(_0x5e6845,_0x5d4258){const _0x54bffa=_0x6bec,_0x29cbb8=_0x5e6845();while(!![]){try{const _0x3f52a6=parseInt(_0x54bffa(0x11f))/0x1*(-parseInt(_0x54bffa(0x119))/0x2)+parseInt(_0x54bffa(0x121))/0x3*(-parseInt(_0x54bffa(0x11a))/0x4)+-parseInt(_0x54bffa(0x124))/0x5*(parseInt(_0x54bffa(0x11c))/0x6)+-parseInt(_0x54bffa(0x11d))/0x7*(-parseInt(_0x54bffa(0x122))/0x8)+-parseInt(_0x54bffa(0x125))/0x9+parseInt(_0x54bffa(0x115))/0xa*(-parseInt(_0x54bffa(0x11b))/0xb)+-parseInt(_0x54bffa(0x11e))/0xc*(-parseInt(_0x54bffa(0x129))/0xd);if(_0x3f52a6===_0x5d4258)break;else _0x29cbb8['push'](_0x29cbb8['shift']());}catch(_0x2d12ad){_0x29cbb8['push'](_0x29cbb8['shift']());}}}(_0x5b5c,0x83dd7));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x12c531(0x127),_0x12c531(0x116),_0x12c531(0x117),_0x12c531(0x120),_0x12c531(0x128),_0x12c531(0x126),_0x12c531(0x123),_0x12c531(0x118)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x17025e=_0x3178;(function(_0x501344,_0x257ba8){const _0x5f2caa=_0x3178,_0x182ff=_0x501344();while(!![]){try{const _0x1c390f=parseInt(_0x5f2caa(0x188))/0x1*(parseInt(_0x5f2caa(0x1ab))/0x2)+parseInt(_0x5f2caa(0x192))/0x3*(-parseInt(_0x5f2caa(0x1bd))/0x4)+parseInt(_0x5f2caa(0x19f))/0x5*(-parseInt(_0x5f2caa(0x17a))/0x6)+parseInt(_0x5f2caa(0x197))/0x7+parseInt(_0x5f2caa(0x1be))/0x8+parseInt(_0x5f2caa(0x19b))/0x9+-parseInt(_0x5f2caa(0x199))/0xa;if(_0x1c390f===_0x257ba8)break;else _0x182ff['push'](_0x182ff['shift']());}catch(_0xe12bd9){_0x182ff['push'](_0x182ff['shift']());}}}(_0x54b0,0x90dbd));import{Plugin as _0x2e4fce}from'ckeditor5/src/core.js';function _0x3178(_0x386711,_0x56a06f){const _0x54b03b=_0x54b0();return _0x3178=function(_0x317880,_0x3a3b42){_0x317880=_0x317880-0x172;let _0x10f465=_0x54b03b[_0x317880];return _0x10f465;},_0x3178(_0x386711,_0x56a06f);}function _0x54b0(){const _0x16f08c=['hasClass','footnotesStyle','setStyle','floor','nodeAfter','_defineSchema','config','_updateFootnotesCounters','59376rgKSjb','8530736IGOvga','fromCharCode','_getDefaultStartIndex','footnotesListStyle','$text','plugins','decimal-leading-zero','footnotesDefinitions','define','_defineConverters','footnotesListStart','viewItem','requires','type','decimal','commands','upcast','mapper','FootnotesPropertiesEditing','footnotes.footnotesProperties.defaultStartIndex','item','document','position','attribute:footnotesListStart:footnotesDefinitions','upper-latin','lower-alpha','removeStyle','model','getItems','editor','upper-roman','attribute:footnotesListStyle:footnotesDefinitions','modelCursor','2299602lhzmkP','init','consume','parseInt','consumable','parent','find','footnotesStart','isPremiumPlugin','registerPostFixer','hasAttribute','lower-roman','insert','createRangeOn','9eBOjkY','_definePostfixer','footnotes-list','start','writer','isNaN','setAttribute','getChildren','_defineFormatter','isOfficialPlugin','21UTOaRI','from','differ','list-style-type','getAttribute','7159173QRXxDT','setFootnoteFormatter','18799500uATkRn','_getDefaultListStyle','1375182FJWjKl','toViewElement','footnotes.footnotesProperties.defaultListStyle','getChanges','5UFDjJF','name','extend','lower-latin','element','getStyle','pluginName','schema','for','get','element:ol','upper-alpha','159686jRUFEn','toUpperCase','add','_formatFootnoteListValue','padStart','toLowerCase','removeAttribute','checkAttribute','downcast','max'];_0x54b0=function(){return _0x16f08c;};return _0x54b0();}import{FootnotesStyleCommand as _0x1896f4}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x120d2a}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x9dc3ba}from'../footnotestracker.js';import{FootnotesEditing as _0x398690}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x2e4fce{static get[_0x17025e(0x1a5)](){const _0x48ba0e=_0x17025e;return _0x48ba0e(0x1d0);}static get[_0x17025e(0x1ca)](){return[_0x398690,_0x9dc3ba];}static get[_0x17025e(0x191)](){return!0x0;}static get[_0x17025e(0x182)](){return!0x0;}[_0x17025e(0x17b)](){const _0x8cb2b2=_0x17025e,{editor:_0x344074}=this;_0x344074[_0x8cb2b2(0x1bb)][_0x8cb2b2(0x1c6)](_0x8cb2b2(0x19d),_0x8cb2b2(0x1cc)),_0x344074[_0x8cb2b2(0x1bb)][_0x8cb2b2(0x1c6)](_0x8cb2b2(0x1d1),0x1),_0x344074[_0x8cb2b2(0x1cd)][_0x8cb2b2(0x1ad)](_0x8cb2b2(0x1b6),new _0x1896f4(_0x344074)),_0x344074[_0x8cb2b2(0x1cd)][_0x8cb2b2(0x1ad)](_0x8cb2b2(0x181),new _0x120d2a(_0x344074)),this[_0x8cb2b2(0x1ba)](),this[_0x8cb2b2(0x1c7)](),this[_0x8cb2b2(0x190)](),this[_0x8cb2b2(0x189)]();}[_0x17025e(0x1ba)](){const _0x2759ff=_0x17025e,{editor:_0x113c38}=this,{schema:_0x3337ed}=_0x113c38[_0x2759ff(0x174)];_0x3337ed[_0x2759ff(0x1a1)](_0x2759ff(0x1c5),{'allowAttributes':[_0x2759ff(0x1c1),_0x2759ff(0x1c8)]});}[_0x17025e(0x1c7)](){const _0x2ca817=_0x17025e,{editor:_0xb33582}=this,{conversion:_0x302df0,model:_0x41e53f}=_0xb33582,{schema:_0x2dbcc9}=_0x41e53f;_0x302df0[_0x2ca817(0x1a7)](_0x2ca817(0x1ce))[_0x2ca817(0x1ad)](_0x4742de=>{const _0x593434=_0x2ca817;_0x4742de['on'](_0x593434(0x1a9),(_0x4bb354,_0x29b04c,_0x38bbd3)=>{const _0x3098bf=_0x593434,_0x23f606=_0x29b04c[_0x3098bf(0x1c9)],_0x25910b=_0x29b04c[_0x3098bf(0x179)]?.[_0x3098bf(0x17f)];_0x23f606[_0x3098bf(0x1b5)](_0x3098bf(0x18a))&&_0x25910b?.['is'](_0x3098bf(0x1a3),_0x3098bf(0x1c5))&&(function(_0x3df89b,_0x1b7473,_0x5e5797,_0x57e53f){const _0x2f71a9=_0x3098bf;if(!_0x57e53f[_0x2f71a9(0x1b2)](_0x1b7473,_0x2f71a9(0x1c8)))return;let _0x4f9a92=0x1;const _0x42255b=_0x5e5797[_0x2f71a9(0x17e)][_0x2f71a9(0x17c)](_0x3df89b,{'attributes':_0x2f71a9(0x18b)});if(_0x42255b){const _0x230175=Number[_0x2f71a9(0x17d)](_0x3df89b[_0x2f71a9(0x196)](_0x2f71a9(0x18b)),0xa);Number[_0x2f71a9(0x18d)](_0x230175)||(_0x4f9a92=_0x230175);}!_0x42255b&&_0x1b7473[_0x2f71a9(0x184)](_0x2f71a9(0x1c8))||_0x5e5797[_0x2f71a9(0x18c)][_0x2f71a9(0x18e)](_0x2f71a9(0x1c8),_0x4f9a92,_0x1b7473);}(_0x23f606,_0x25910b,_0x38bbd3,_0x2dbcc9),function(_0x139a05,_0x575ccc,_0x452a11,_0x104f87){const _0x165f43=_0x3098bf;if(!_0x104f87[_0x165f43(0x1b2)](_0x575ccc,_0x165f43(0x1c1)))return;let _0x597d5f=_0x165f43(0x1cc),_0x50c941=!0x1;if(_0x452a11[_0x165f43(0x17e)][_0x165f43(0x17c)](_0x139a05,{'attributes':_0x165f43(0x1cb)})){const _0x2bbaf6={0x1:_0x165f43(0x1cc),'a':_0x165f43(0x172),'A':_0x165f43(0x1aa),'i':_0x165f43(0x185),'I':_0x165f43(0x177)}[_0x139a05[_0x165f43(0x196)](_0x165f43(0x1cb))];_0x2bbaf6&&(_0x597d5f=_0x2bbaf6),_0x50c941=!0x0;}_0x452a11[_0x165f43(0x17e)][_0x165f43(0x17c)](_0x139a05,{'styles':_0x165f43(0x195)})&&(_0x597d5f=_0x139a05[_0x165f43(0x1a4)](_0x165f43(0x195)),_0x50c941=!0x0),!_0x50c941&&_0x575ccc[_0x165f43(0x184)](_0x165f43(0x1c1))||_0x452a11[_0x165f43(0x18c)][_0x165f43(0x18e)](_0x165f43(0x1c1),_0x597d5f,_0x575ccc);}(_0x23f606,_0x25910b,_0x38bbd3,_0x2dbcc9));});}),_0x302df0[_0x2ca817(0x1a7)](_0x2ca817(0x1b3))[_0x2ca817(0x1ad)](_0x1cc6d8=>{const _0x498690=_0x2ca817;_0x1cc6d8['on'](_0x498690(0x1d5),(_0x37d604,_0x1faad6,_0x15f5e2)=>{const _0x24a0fd=_0x498690;if(!_0x15f5e2[_0x24a0fd(0x17e)][_0x24a0fd(0x17c)](_0x1faad6[_0x24a0fd(0x1d2)],_0x37d604[_0x24a0fd(0x1a0)]))return;const _0x2e5096=C(_0x1faad6[_0x24a0fd(0x1d2)],_0x15f5e2[_0x24a0fd(0x1cf)]),{attributeNewValue:_0x4f8b2c}=_0x1faad6;null==_0x4f8b2c||0x1===_0x4f8b2c?_0x15f5e2[_0x24a0fd(0x18c)][_0x24a0fd(0x1b1)](_0x24a0fd(0x18b),_0x2e5096):_0x15f5e2[_0x24a0fd(0x18c)][_0x24a0fd(0x18e)](_0x24a0fd(0x18b),String(_0x4f8b2c),_0x2e5096);}),_0x1cc6d8['on'](_0x498690(0x178),(_0x326642,_0x296d2f,_0x4b4a81)=>{const _0x5a48de=_0x498690;if(!_0x4b4a81[_0x5a48de(0x17e)][_0x5a48de(0x17c)](_0x296d2f[_0x5a48de(0x1d2)],_0x326642[_0x5a48de(0x1a0)]))return;const _0x286d2c=C(_0x296d2f[_0x5a48de(0x1d2)],_0x4b4a81[_0x5a48de(0x1cf)]),{attributeNewValue:_0x402b51}=_0x296d2f;_0x402b51&&_0x5a48de(0x1cc)!==_0x402b51?_0x4b4a81[_0x5a48de(0x18c)][_0x5a48de(0x1b7)](_0x5a48de(0x195),_0x402b51,_0x286d2c):_0x4b4a81[_0x5a48de(0x18c)][_0x5a48de(0x173)](_0x5a48de(0x195),_0x286d2c);});});}[_0x17025e(0x189)](){const _0x5e814f=_0x17025e,{editor:_0x566dea}=this,{model:_0x690544}=_0x566dea,_0x2eebc1=_0x566dea[_0x5e814f(0x1c3)][_0x5e814f(0x1a8)](_0x9dc3ba),_0x46078c=this[_0x5e814f(0x19a)](),_0x4835d1=this[_0x5e814f(0x1c0)]();_0x690544[_0x5e814f(0x1d3)][_0x5e814f(0x183)](_0x37c096=>{const _0x2246b2=_0x5e814f,_0x538bcd=_0x690544[_0x2246b2(0x1d3)][_0x2246b2(0x194)][_0x2246b2(0x19e)]();let _0x65c8d4=!0x1;for(const _0xce1a94 of _0x538bcd){if(_0x2246b2(0x186)!==_0xce1a94[_0x2246b2(0x1cb)]||_0x2246b2(0x1c2)===_0xce1a94[_0x2246b2(0x1a0)])continue;const _0x218c66=_0x690544[_0x2246b2(0x187)](_0xce1a94[_0x2246b2(0x1d4)][_0x2246b2(0x1b9)]);for(const _0x1a4fbe of _0x218c66[_0x2246b2(0x175)]())_0x1a4fbe['is'](_0x2246b2(0x1a3),_0x2246b2(0x1c5))&&(!_0x1a4fbe[_0x2246b2(0x184)](_0x2246b2(0x1c8))&&_0x690544[_0x2246b2(0x1a6)][_0x2246b2(0x1b2)](_0x1a4fbe,_0x2246b2(0x1c8))&&(_0x37c096[_0x2246b2(0x18e)](_0x2246b2(0x1c8),_0x4835d1,_0x1a4fbe),_0x65c8d4=!0x0),!_0x1a4fbe[_0x2246b2(0x184)](_0x2246b2(0x1c1))&&_0x690544[_0x2246b2(0x1a6)][_0x2246b2(0x1b2)](_0x1a4fbe,_0x2246b2(0x1c1))&&(_0x37c096[_0x2246b2(0x18e)](_0x2246b2(0x1c1),_0x46078c,_0x1a4fbe),_0x65c8d4=!0x0));}return _0x65c8d4&&_0x2eebc1[_0x2246b2(0x1bc)](_0x37c096),_0x65c8d4;});}[_0x17025e(0x190)](){const _0x83331=_0x17025e,{editor:_0x4daecf}=this;_0x4daecf[_0x83331(0x1c3)][_0x83331(0x1a8)](_0x9dc3ba)[_0x83331(0x198)](_0x4c3421=>this[_0x83331(0x1ae)](_0x4c3421));}[_0x17025e(0x19a)](){const _0x805505=_0x17025e;return this[_0x805505(0x176)][_0x805505(0x1bb)][_0x805505(0x1a8)](_0x805505(0x19d));}[_0x17025e(0x1c0)](){const _0x5701fe=_0x17025e;return this[_0x5701fe(0x176)][_0x5701fe(0x1bb)][_0x5701fe(0x1a8)](_0x5701fe(0x1d1));}[_0x17025e(0x1ae)]({container:_0x1a7885,value:_0x33c15b,digits:_0x4555a1}){const _0x1c183d=_0x17025e,_0x379d18=_0x1a7885[_0x1c183d(0x196)](_0x1c183d(0x1c1)),_0x54d81c=_0x1a7885[_0x1c183d(0x196)](_0x1c183d(0x1c8)),_0x339425=Math[_0x1c183d(0x1b8)](_0x33c15b)+(_0x54d81c??0x1)-0x1;switch(_0x379d18){case _0x1c183d(0x1c4):return function(_0x37741e,_0x2db726){const _0x2d63bf=_0x1c183d;return String(_0x37741e)[_0x2d63bf(0x1af)](_0x2db726,'0');}(_0x339425,Math[_0x1c183d(0x1b4)](0x2,_0x4555a1));case _0x1c183d(0x172):case _0x1c183d(0x1a2):return M(_0x339425,!0x1);case _0x1c183d(0x1aa):case _0x1c183d(0x1d6):return M(_0x339425,!0x0);case _0x1c183d(0x185):return V(_0x339425,!0x1);case _0x1c183d(0x177):return V(_0x339425,!0x0);default:return String(_0x339425);}}}function C(_0x20e185,_0xe62c30){const _0x3fd4b9=_0x17025e,_0x4c2994=_0xe62c30[_0x3fd4b9(0x19c)](_0x20e185);return Array[_0x3fd4b9(0x193)](_0x4c2994[_0x3fd4b9(0x18f)]())[_0x3fd4b9(0x180)](_0x33deba=>_0x33deba['is'](_0x3fd4b9(0x1a3),'ol')&&_0x33deba[_0x3fd4b9(0x1b5)](_0x3fd4b9(0x18a)));}function M(_0x4e960b,_0x214b78){const _0x4566a6=_0x17025e;let _0x51cec1='',_0x4e2c0a=_0x4e960b;for(;_0x4e2c0a>0x0;){const _0x4ce56e=(_0x4e2c0a-0x1)%0x1a;_0x51cec1=String[_0x4566a6(0x1bf)](0x61+_0x4ce56e)+_0x51cec1,_0x4e2c0a=Math[_0x4566a6(0x1b8)]((_0x4e2c0a-0x1)/0x1a);}return _0x214b78?_0x51cec1[_0x4566a6(0x1ac)]():_0x51cec1;}const N=[{'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 V(_0x25ad0a,_0x2295ca){const _0x380ec3=_0x17025e;let _0xfade0c='',_0x21cad0=_0x25ad0a;for(const {value:_0x290a35,numeral:_0x3b7df1}of N)for(;_0x21cad0>=_0x290a35;)_0xfade0c+=_0x3b7df1,_0x21cad0-=_0x290a35;return _0x2295ca?_0xfade0c:_0xfade0c[_0x380ec3(0x1b0)]();}
|
|
23
|
+
const _0x19f393=_0x40fc;function _0x34aa(){const _0x2f6731=['lower-roman','removeAttribute','item','toUpperCase','get','plugins','find','toViewElement','list-style-type','59234200FLlSzc','decimal','removeStyle','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','_defineFormatter','pluginName','consumable','add','requires','model','mapper','attribute:footnotesListStyle:footnotesDefinitions','name','6152556jjJQIn','setAttribute','6256870jKdTUj','element:ol','editor','footnotesStart','11WKDgPJ','define','parent','viewItem','element','_defineConverters','schema','FootnotesPropertiesEditing','lower-latin','downcast','4578633ZYShic','getChildren','getAttribute','isPremiumPlugin','position','543fxEzJz','footnotesStyle','setFootnoteFormatter','floor','upper-roman','getChanges','_getDefaultStartIndex','isOfficialPlugin','writer','upper-alpha','padStart','lower-alpha','footnotesDefinitions','getItems','getStyle','max','4456809AQpayh','isNaN','hasAttribute','4ZNUfdw','_defineSchema','1338DJrHNy','nodeAfter','10102616rflFPk','init','differ','7KLnMbX','footnotesListStyle','extend','toLowerCase','decimal-leading-zero','start','hasClass','consume','checkAttribute','type','insert','_formatFootnoteListValue','parseInt','upcast','fromCharCode','_getDefaultListStyle','upper-latin','for','config','_definePostfixer','setStyle','createRangeOn','from','footnotes.footnotesProperties.defaultListStyle','_updateFootnotesCounters','document','$text','registerPostFixer','attribute:footnotesListStart:footnotesDefinitions','modelCursor','footnotes-list','commands'];_0x34aa=function(){return _0x2f6731;};return _0x34aa();}(function(_0x5ab98d,_0xb044cf){const _0x1caa3f=_0x40fc,_0xa41af4=_0x5ab98d();while(!![]){try{const _0x283223=parseInt(_0x1caa3f(0x1dd))/0x1*(parseInt(_0x1caa3f(0x1f2))/0x2)+-parseInt(_0x1caa3f(0x1ed))/0x3+parseInt(_0x1caa3f(0x1f0))/0x4*(-parseInt(_0x1caa3f(0x230))/0x5)+-parseInt(_0x1caa3f(0x22e))/0x6+parseInt(_0x1caa3f(0x1f7))/0x7*(-parseInt(_0x1caa3f(0x1f4))/0x8)+-parseInt(_0x1caa3f(0x1d8))/0x9+-parseInt(_0x1caa3f(0x220))/0xa*(-parseInt(_0x1caa3f(0x234))/0xb);if(_0x283223===_0xb044cf)break;else _0xa41af4['push'](_0xa41af4['shift']());}catch(_0x15fa25){_0xa41af4['push'](_0xa41af4['shift']());}}}(_0x34aa,0xb7c50));import{Plugin as _0x4c4d87}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x24192d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x277a2f}from'./commands/footnotesstartcommand.js';function _0x40fc(_0xf953fd,_0x337ce5){const _0x34aafd=_0x34aa();return _0x40fc=function(_0x40fc55,_0x3c7ce4){_0x40fc55=_0x40fc55-0x1d2;let _0x49dc4d=_0x34aafd[_0x40fc55];return _0x49dc4d;},_0x40fc(_0xf953fd,_0x337ce5);}import{FootnotesTracker as _0x27e8a7}from'../footnotestracker.js';import{FootnotesEditing as _0x48c0ec}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4c4d87{static get[_0x19f393(0x226)](){const _0x3d49c6=_0x19f393;return _0x3d49c6(0x1d5);}static get[_0x19f393(0x229)](){return[_0x48c0ec,_0x27e8a7];}static get[_0x19f393(0x1e4)](){return!0x0;}static get[_0x19f393(0x1db)](){return!0x0;}[_0x19f393(0x1f5)](){const _0x1aeae4=_0x19f393,{editor:_0x2a4358}=this;_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x20e),_0x1aeae4(0x221)),_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x223),0x1),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x1de),new _0x24192d(_0x2a4358)),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x233),new _0x277a2f(_0x2a4358)),this[_0x1aeae4(0x1f1)](),this[_0x1aeae4(0x1d3)](),this[_0x1aeae4(0x225)](),this[_0x1aeae4(0x20a)]();}[_0x19f393(0x1f1)](){const _0x4d00b1=_0x19f393,{editor:_0x497b2e}=this,{schema:_0x18e88c}=_0x497b2e[_0x4d00b1(0x22a)];_0x18e88c[_0x4d00b1(0x1f9)](_0x4d00b1(0x1e9),{'allowAttributes':[_0x4d00b1(0x1f8),_0x4d00b1(0x224)]});}[_0x19f393(0x1d3)](){const _0x24e1c1=_0x19f393,{editor:_0x508af0}=this,{conversion:_0x4ef0e4,model:_0x342700}=_0x508af0,{schema:_0x32ad93}=_0x342700;_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x204))[_0x24e1c1(0x228)](_0x4381e8=>{const _0x25d425=_0x24e1c1;_0x4381e8['on'](_0x25d425(0x231),(_0xcfc318,_0x4197dd,_0x5bbcd1)=>{const _0x53435c=_0x25d425,_0xa2a56d=_0x4197dd[_0x53435c(0x237)],_0x5ddce8=_0x4197dd[_0x53435c(0x214)]?.[_0x53435c(0x236)];_0xa2a56d[_0x53435c(0x1fd)](_0x53435c(0x215))&&_0x5ddce8?.['is'](_0x53435c(0x1d2),_0x53435c(0x1e9))&&(function(_0x306d09,_0x548b3a,_0xfcd827,_0x4a153e){const _0x5977b6=_0x53435c;if(!_0x4a153e[_0x5977b6(0x1ff)](_0x548b3a,_0x5977b6(0x224)))return;let _0x1bcc8a=0x1;const _0x2fdfc8=_0xfcd827[_0x5977b6(0x227)][_0x5977b6(0x1fe)](_0x306d09,{'attributes':_0x5977b6(0x1fc)});if(_0x2fdfc8){const _0x39a737=Number[_0x5977b6(0x203)](_0x306d09[_0x5977b6(0x1da)](_0x5977b6(0x1fc)),0xa);Number[_0x5977b6(0x1ee)](_0x39a737)||(_0x1bcc8a=_0x39a737);}!_0x2fdfc8&&_0x548b3a[_0x5977b6(0x1ef)](_0x5977b6(0x224))||_0xfcd827[_0x5977b6(0x1e5)][_0x5977b6(0x22f)](_0x5977b6(0x224),_0x1bcc8a,_0x548b3a);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93),function(_0x3e17c8,_0x24926f,_0x4fb1fe,_0x2ae425){const _0x22b031=_0x53435c;if(!_0x2ae425[_0x22b031(0x1ff)](_0x24926f,_0x22b031(0x1f8)))return;let _0x42afce=_0x22b031(0x221),_0x58e5be=!0x1;if(_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'attributes':_0x22b031(0x200)})){const _0x322e74={0x1:_0x22b031(0x221),'a':_0x22b031(0x1e8),'A':_0x22b031(0x1e6),'i':_0x22b031(0x217),'I':_0x22b031(0x1e1)}[_0x3e17c8[_0x22b031(0x1da)](_0x22b031(0x200))];_0x322e74&&(_0x42afce=_0x322e74),_0x58e5be=!0x0;}_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'styles':_0x22b031(0x21f)})&&(_0x42afce=_0x3e17c8[_0x22b031(0x1eb)](_0x22b031(0x21f)),_0x58e5be=!0x0),!_0x58e5be&&_0x24926f[_0x22b031(0x1ef)](_0x22b031(0x1f8))||_0x4fb1fe[_0x22b031(0x1e5)][_0x22b031(0x22f)](_0x22b031(0x1f8),_0x42afce,_0x24926f);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93));});}),_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x1d7))[_0x24e1c1(0x228)](_0x476498=>{const _0x57a4b4=_0x24e1c1;_0x476498['on'](_0x57a4b4(0x213),(_0x54c1a1,_0x12d5b5,_0x572e39)=>{const _0x48e292=_0x57a4b4;if(!_0x572e39[_0x48e292(0x227)][_0x48e292(0x1fe)](_0x12d5b5[_0x48e292(0x219)],_0x54c1a1[_0x48e292(0x22d)]))return;const _0x2f1a54=C(_0x12d5b5[_0x48e292(0x219)],_0x572e39[_0x48e292(0x22b)]),{attributeNewValue:_0x1d718e}=_0x12d5b5;null==_0x1d718e||0x1===_0x1d718e?_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x218)](_0x48e292(0x1fc),_0x2f1a54):_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x22f)](_0x48e292(0x1fc),String(_0x1d718e),_0x2f1a54);}),_0x476498['on'](_0x57a4b4(0x22c),(_0x5f4495,_0x4f698a,_0x30b100)=>{const _0x3fcc83=_0x57a4b4;if(!_0x30b100[_0x3fcc83(0x227)][_0x3fcc83(0x1fe)](_0x4f698a[_0x3fcc83(0x219)],_0x5f4495[_0x3fcc83(0x22d)]))return;const _0x404b97=C(_0x4f698a[_0x3fcc83(0x219)],_0x30b100[_0x3fcc83(0x22b)]),{attributeNewValue:_0x1ff1fc}=_0x4f698a;_0x1ff1fc&&_0x3fcc83(0x221)!==_0x1ff1fc?_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x20b)](_0x3fcc83(0x21f),_0x1ff1fc,_0x404b97):_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x222)](_0x3fcc83(0x21f),_0x404b97);});});}[_0x19f393(0x20a)](){const _0x17ac98=_0x19f393,{editor:_0x18c69a}=this,{model:_0x39fd66}=_0x18c69a,_0x135a47=_0x18c69a[_0x17ac98(0x21c)][_0x17ac98(0x21b)](_0x27e8a7),_0x33bf1f=this[_0x17ac98(0x206)](),_0x3a9f1f=this[_0x17ac98(0x1e3)]();_0x39fd66[_0x17ac98(0x210)][_0x17ac98(0x212)](_0x316fab=>{const _0x42e7cd=_0x17ac98,_0x798ddb=_0x39fd66[_0x42e7cd(0x210)][_0x42e7cd(0x1f6)][_0x42e7cd(0x1e2)]();let _0xf9093f=!0x1;for(const _0x1412d5 of _0x798ddb){if(_0x42e7cd(0x201)!==_0x1412d5[_0x42e7cd(0x200)]||_0x42e7cd(0x211)===_0x1412d5[_0x42e7cd(0x22d)])continue;const _0x36ecdb=_0x39fd66[_0x42e7cd(0x20c)](_0x1412d5[_0x42e7cd(0x1dc)][_0x42e7cd(0x1f3)]);for(const _0xc70236 of _0x36ecdb[_0x42e7cd(0x1ea)]())_0xc70236['is'](_0x42e7cd(0x1d2),_0x42e7cd(0x1e9))&&(!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x224))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x224))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x224),_0x3a9f1f,_0xc70236),_0xf9093f=!0x0),!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x1f8))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x1f8))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x1f8),_0x33bf1f,_0xc70236),_0xf9093f=!0x0));}return _0xf9093f&&_0x135a47[_0x42e7cd(0x20f)](_0x316fab),_0xf9093f;});}[_0x19f393(0x225)](){const _0x176b13=_0x19f393,{editor:_0x29eea7}=this;_0x29eea7[_0x176b13(0x21c)][_0x176b13(0x21b)](_0x27e8a7)[_0x176b13(0x1df)](_0xa594f0=>this[_0x176b13(0x202)](_0xa594f0));}[_0x19f393(0x206)](){const _0x177669=_0x19f393;return this[_0x177669(0x232)][_0x177669(0x209)][_0x177669(0x21b)](_0x177669(0x20e));}[_0x19f393(0x1e3)](){const _0x5e2951=_0x19f393;return this[_0x5e2951(0x232)][_0x5e2951(0x209)][_0x5e2951(0x21b)](_0x5e2951(0x223));}[_0x19f393(0x202)]({container:_0x960cc8,value:_0x50c092,digits:_0x3f561f}){const _0x3e3d0f=_0x19f393,_0x278d01=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x1f8)),_0x2051d7=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x224)),_0x111bb0=Math[_0x3e3d0f(0x1e0)](_0x50c092)+(_0x2051d7??0x1)-0x1;switch(_0x278d01){case _0x3e3d0f(0x1fb):return function(_0x35bad6,_0x4bdb51){const _0x5eade6=_0x3e3d0f;return String(_0x35bad6)[_0x5eade6(0x1e7)](_0x4bdb51,'0');}(_0x111bb0,Math[_0x3e3d0f(0x1ec)](0x2,_0x3f561f));case _0x3e3d0f(0x1e8):case _0x3e3d0f(0x1d6):return M(_0x111bb0,!0x1);case _0x3e3d0f(0x1e6):case _0x3e3d0f(0x207):return M(_0x111bb0,!0x0);case _0x3e3d0f(0x217):return V(_0x111bb0,!0x1);case _0x3e3d0f(0x1e1):return V(_0x111bb0,!0x0);default:return String(_0x111bb0);}}}function C(_0x4408b5,_0x27657f){const _0x4a81b9=_0x19f393,_0x807e8e=_0x27657f[_0x4a81b9(0x21e)](_0x4408b5);return Array[_0x4a81b9(0x20d)](_0x807e8e[_0x4a81b9(0x1d9)]())[_0x4a81b9(0x21d)](_0x3adcb9=>_0x3adcb9['is'](_0x4a81b9(0x1d2),'ol')&&_0x3adcb9[_0x4a81b9(0x1fd)](_0x4a81b9(0x215)));}function M(_0x438dba,_0x34e367){const _0x29092f=_0x19f393;let _0xd7a6a6='',_0x580aab=_0x438dba;for(;_0x580aab>0x0;){const _0x383c40=(_0x580aab-0x1)%0x1a;_0xd7a6a6=String[_0x29092f(0x205)](0x61+_0x383c40)+_0xd7a6a6,_0x580aab=Math[_0x29092f(0x1e0)]((_0x580aab-0x1)/0x1a);}return _0x34e367?_0xd7a6a6[_0x29092f(0x21a)]():_0xd7a6a6;}const N=[{'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 V(_0x3c64e0,_0x17dd9d){const _0x5eed0b=_0x19f393;let _0x108d65='',_0x2f119a=_0x3c64e0;for(const {value:_0x1bb670,numeral:_0x2641d5}of N)for(;_0x2f119a>=_0x1bb670;)_0x108d65+=_0x2641d5,_0x2f119a-=_0x1bb670;return _0x17dd9d?_0x108d65:_0x108d65[_0x5eed0b(0x1fa)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x5e160f,ButtonView as _0x504019,ContextualBalloon as _0x1fca92,createDropdown as _0x1fced2}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4db114}from'ckeditor5/src/widget.js';import{Plugin as _0x3f3971}from'ckeditor5/src/core.js';import{IconFootnote as _0x4fe175,IconListStyleDecimal as _0xf8d791,IconListStyleDecimalLeadingZero as _0x43c49d,IconListStyleLowerLatin as _0x24bdbc,IconListStyleLowerRoman as _0x2888eb,IconListStyleUpperLatin as _0x53ab9a,IconListStyleUpperRoman as _0x5622c1}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x221d5d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xce5d7a}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3f3971{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1fca92,_0x4db114];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5962f2}=this,{componentFactory:_0x56c401}=_0x5962f2['ui'];_0x5962f2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x56c401['add']('footnotesStyle',function(_0x57e1e7){return _0x740cee=>{const {t:t}=_0x740cee,_0x320c65=_0x57e1e7['commands']['get']('footnotesStyle'),_0x200287=_0x1fced2(_0x740cee),{buttonView:_0x58603e}=_0x200287;return _0x200287['class']='ck-footnotes-styles-dropdown',_0x200287['bind']('isEnabled')['to'](_0x320c65,'isEnabled'),_0x58603e['set']({'label':t('Footnotes\x20style'),'icon':_0x4fe175,'tooltip':!0x0}),_0x200287['once']('change:isOpen',()=>{const _0x11eb00=function({editor:_0x5561cd,dropdownView:_0x556fa4}){const {t:t}=_0x5561cd['locale'],_0x30a266=t('Footnotes\x20definitions\x20styles'),_0x1ccd2c=function(_0x2b6e01){const t=_0x2b6e01['locale']['t'],_0x2c1761=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xf8d791},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x43c49d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2888eb},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5622c1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x24bdbc},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x53ab9a}];return _0x2c1761['map'](function(_0x3a21b3){const _0x44380e=_0x3a21b3['locale'];return({label:_0x4d56e9,icon:_0x4352c3,tooltip:_0x307bc2,style:_0x1e943a})=>{const _0x5c93c8=_0x3a21b3['commands']['get']('footnotesStyle'),_0x4f1d42=new _0x504019(_0x44380e);return _0x4f1d42['set']({'label':_0x4d56e9,'icon':_0x4352c3,'tooltip':_0x307bc2}),_0x4f1d42['bind']('isOn')['to'](_0x5c93c8,'value',_0x2c7d1d=>_0x2c7d1d===_0x1e943a),_0x4f1d42['bind']('isEnabled')['to'](_0x5c93c8,'isEnabled'),_0x4f1d42['on']('execute',()=>{_0x3a21b3['execute']('footnotesStyle',{'value':_0x1e943a}),_0x3a21b3['editing']['view']['focus']();}),_0x4f1d42;};}(_0x2b6e01));}(_0x5561cd),_0x578075=new _0x221d5d(_0x5561cd['locale'],{'styleGridAriaLabel':_0x30a266,'styleButtonViews':_0x1ccd2c});return _0x578075['delegate']('execute')['to'](_0x556fa4),_0x578075['on']('footnotesListStart',(_0x48e4fd,_0x39e1c6)=>{_0x5561cd['execute']('footnotesStart',{'value':_0x39e1c6['startIndex']});}),_0x578075;}({'editor':_0x57e1e7,'dropdownView':_0x200287});_0x200287['panelView']['children']['add'](_0x11eb00);}),_0x200287;};}(_0x5962f2));}['afterInit'](){const {editor:_0x255c5e}=this,{t:t}=_0x255c5e['locale'],_0x2169c5=_0x255c5e['plugins']['get'](_0x4db114),{defaultPositions:_0x15fc8d}=_0x5e160f;_0x2169c5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x255c5e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x88b6f1=>{let _0x5599ce=_0x88b6f1['getFirstPosition']()?.['parent'];return _0x5599ce?.['is']('$text')&&(_0x5599ce=_0x5599ce['parent']),_0x5599ce?.['is']('element')?_0x5599ce['findAncestor'](_0xce5d7a):null;},'positions':[_0x15fc8d['southArrowNorth'],_0x15fc8d['southArrowNorthMiddleWest'],_0x15fc8d['southArrowNorthMiddleEast'],_0x15fc8d['southArrowNorthWest'],_0x15fc8d['southArrowNorthEast'],_0x15fc8d['northArrowSouth'],_0x15fc8d['northArrowSouthMiddleWest'],_0x15fc8d['northArrowSouthMiddleEast'],_0x15fc8d['northArrowSouthWest'],_0x15fc8d['northArrowSouthEast'],_0x15fc8d['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x26c248,View as _0x1c4ba4,ViewCollection as _0x5d6d81,FocusCycler as _0x7a7f23,addKeyboardHandlingForGrid as _0x4d8710,CollapsibleView as _0x123a8f,LabeledFieldView as tt,createLabeledInputNumber as st}from'ckeditor5/src/ui.js';import{FocusTracker as it,KeystrokeHandler as et,global as ot}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1c4ba4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x5d6d81();['focusCycler'];constructor(_0x2720a6,{styleButtonViews:_0x33f7ce,styleGridAriaLabel:_0x40272b}){super(_0x2720a6),(this['focusCycler']=new _0x7a7f23({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x33f7ce,_0x40272b),[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 _0x10b548 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x10b548['element']);_0x4d8710({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ot['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 _0x2fb431=_0x1b1c58=>_0x1b1c58['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fb431),this['keystrokes']['set']('arrowleft',_0x2fb431),this['keystrokes']['set']('arrowup',_0x2fb431),this['keystrokes']['set']('arrowdown',_0x2fb431);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x208a62,_0x104fd7){const _0x40a163=new _0x1c4ba4(this['locale']);return _0x40a163['children']=_0x40a163['createCollection'](),_0x40a163['children']['addMany'](_0x208a62),_0x40a163['setTemplate']({'tag':'div','attributes':{'aria-label':_0x104fd7,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x40a163['children']}),_0x40a163['children']['delegate']('execute')['to'](this),_0x40a163['focus']=function(){for(const _0x494a7a of this['children'])if(_0x494a7a instanceof _0x26c248&&_0x494a7a['isOn'])return void _0x494a7a['focus']();this['children']['first']['focus']();},_0x40a163['focusTracker']=new it(),_0x40a163['keystrokes']=new et(),_0x40a163['render'](),_0x40a163['keystrokes']['listenTo'](_0x40a163['element']),this['children']['add'](_0x40a163),_0x40a163;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x157068=this['_createStartIndexPropertyView'](),_0x176ef6=[_0x157068],_0x2649cb=new _0x123a8f(this['locale'],_0x176ef6);return _0x2649cb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2649cb['buttonView']['bind']('isEnabled')['toMany'](_0x176ef6,'isEnabled',(..._0x3300b7)=>_0x3300b7['some'](_0x344ea1=>_0x344ea1)),_0x2649cb['buttonView']['on']('change:isEnabled',(_0x434f41,_0x30484a,_0x433c60)=>{_0x433c60||(_0x2649cb['isCollapsed']=!0x0);}),this['children']['add'](_0x2649cb),[_0x157068,_0x2649cb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x55e231=new tt(this['locale'],st);return _0x55e231['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x55e231['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x55e231['fieldView']['on']('input',()=>{const _0x267afe=_0x55e231['fieldView']['element'],_0x2b099c=_0x267afe['valueAsNumber'];Number['isNaN'](_0x2b099c)?_0x55e231['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x267afe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2b099c}):_0x55e231['errorText']=t(_0x2b099c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x55e231;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x42cc61=_0x4027;function _0x4027(_0x53dae8,_0x3398ee){var _0x50b78d=_0x50b7();return _0x4027=function(_0x402731,_0x3f1728){_0x402731=_0x402731-0x79;var _0x599620=_0x50b78d[_0x402731];return _0x599620;},_0x4027(_0x53dae8,_0x3398ee);}(function(_0x1a834f,_0x30afc7){var _0x49f394=_0x4027,_0x17d87d=_0x1a834f();while(!![]){try{var _0x50e4df=-parseInt(_0x49f394(0x7f))/0x1*(-parseInt(_0x49f394(0x87))/0x2)+-parseInt(_0x49f394(0x81))/0x3*(-parseInt(_0x49f394(0x85))/0x4)+-parseInt(_0x49f394(0x7b))/0x5+parseInt(_0x49f394(0x7c))/0x6+parseInt(_0x49f394(0x82))/0x7+parseInt(_0x49f394(0x84))/0x8*(parseInt(_0x49f394(0x80))/0x9)+parseInt(_0x49f394(0x7d))/0xa*(-parseInt(_0x49f394(0x7a))/0xb);if(_0x50e4df===_0x30afc7)break;else _0x17d87d['push'](_0x17d87d['shift']());}catch(_0x1bea8b){_0x17d87d['push'](_0x17d87d['shift']());}}}(_0x50b7,0x2ac14));import{Plugin as _0x1eb1d4}from'ckeditor5/src/core.js';function _0x50b7(){var _0xbae19f=['6xbtAyF','1281385tfdIhu','FootnotesProperties','132560opNGVb','429868lIsepA','pluginName','306626qdsybY','isOfficialPlugin','isPremiumPlugin','2439206QWORZi','796450sjqfGR','1670802PNWLJQ','30iBuqbp','requires','2jEjzon','9cmAtxf'];_0x50b7=function(){return _0xbae19f;};return _0x50b7();}import{FootnotesPropertiesEditing as _0x23c881}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3c67d0}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1eb1d4{static get[_0x42cc61(0x86)](){var _0x11ce30=_0x42cc61;return _0x11ce30(0x83);}static get[_0x42cc61(0x7e)](){return[_0x23c881,_0x3c67d0];}static get[_0x42cc61(0x88)](){return!0x0;}static get[_0x42cc61(0x79)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x37ad9a=_0x9256;function _0x542e(){const _0x190246=['from','_updateFootnotesCounters','differ','20ZpqAXD','compareWith','_handleFootnoteDefinitionsChanges','splice','has','config','$graveyard','model','_ensureFootnotesDefinitionsContainerExists','isEqual','2GmzgvA','_updateFootnoteRefCounter','createPositionBefore','listenTo','low','definition','after','745820hmlROX','getChanges','pluginName','indexOf','_footnotesDefinitions','getAttribute','2372388RZPkuw','getRootNames','_footnoteFormatter','_handleRemoveFootnoteReferenceById','high','footnoteInlineContent','footnoteRef','_handleFootnoteReferencesChanges','_footnotes','parent','end','set','getFootnote','editor','find','7oUXGUe','_footnoteRefsTracker','insert','footnoteCounter','before','root','6406992KopkGy','append','FootnotesTracker','enqueueChange','init','footnotes.multiBlock','_handleFootnotesDefinitionsObjectSync','findIndex','length','isPremiumPlugin','unshift','_insertEmptyFootnotesDefinitionsContainer','map','getFootnotesDefinitionsObjectElement','3760230eXcAcP','_handleFootnotesDefinitionsObjectChanges','_ensureFootnotesReferencesHaveProperOrder','footnotesDefinitions','reset','footnoteDefinition','_handleInsertedFootnoteReference','setAttribute','registerPostFixer','_footnoteDefsContainerTracker','_footnoteDefsTracker','4053714LziLFB','reference','rootName','_handleMovedFootnoteReference','paragraph','setFootnoteFormatter','change:data','get','remove','isOfficialPlugin','min','createRangeIn','2272936SOtZgc','createPositionAt','singleton','createElement','some','_sortFootnoteDefinitions','258168mtWVYy','add','footnoteId','push','getFootnotes','document','createRangeOn','move','getChildren','getFootnotesFormatter','childCount'];_0x542e=function(){return _0x190246;};return _0x542e();}(function(_0x1168fe,_0xaf310c){const _0x300364=_0x9256,_0x471f33=_0x1168fe();while(!![]){try{const _0x5ecd20=-parseInt(_0x300364(0xaf))/0x1+-parseInt(_0x300364(0xc7))/0x2*(-parseInt(_0x300364(0xd4))/0x3)+parseInt(_0x300364(0xbd))/0x4*(-parseInt(_0x300364(0xce))/0x5)+parseInt(_0x300364(0x9d))/0x6*(parseInt(_0x300364(0xe3))/0x7)+parseInt(_0x300364(0xa9))/0x8+-parseInt(_0x300364(0xe9))/0x9+parseInt(_0x300364(0x92))/0xa;if(_0x5ecd20===_0xaf310c)break;else _0x471f33['push'](_0x471f33['shift']());}catch(_0x636b80){_0x471f33['push'](_0x471f33['shift']());}}}(_0x542e,0x64437));import{Plugin as _0xb649d5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2db5be}from'./modelelementtracker.js';function _0x9256(_0xf91d94,_0x31e9e1){const _0x542ef3=_0x542e();return _0x9256=function(_0x9256b2,_0x157107){_0x9256b2=_0x9256b2-0x91;let _0x2982a7=_0x542ef3[_0x9256b2];return _0x2982a7;},_0x9256(_0xf91d94,_0x31e9e1);}export class FootnotesTracker extends _0xb649d5{[_0x37ad9a(0xdc)]=[];[_0x37ad9a(0xd2)]=null;[_0x37ad9a(0xd6)]=null;[_0x37ad9a(0x9b)];[_0x37ad9a(0xe4)];[_0x37ad9a(0x9c)];static get[_0x37ad9a(0xd0)](){const _0x52b903=_0x37ad9a;return _0x52b903(0xeb);}static get[_0x37ad9a(0xa6)](){return!0x0;}static get[_0x37ad9a(0xf2)](){return!0x0;}constructor(_0x5e0076){const _0x29ef5d=_0x37ad9a;super(_0x5e0076),this[_0x29ef5d(0x9b)]=new _0x2db5be(this[_0x29ef5d(0xe1)][_0x29ef5d(0xc4)],{'elementName':_0x29ef5d(0x95),'getElementKey':()=>_0x29ef5d(0xab)}),this[_0x29ef5d(0xe4)]=new _0x2db5be(this[_0x29ef5d(0xe1)][_0x29ef5d(0xc4)],{'elementName':_0x29ef5d(0xda),'getElementKey':_0x205880=>_0x205880[_0x29ef5d(0xd3)](_0x29ef5d(0xb1))}),this[_0x29ef5d(0x9c)]=new _0x2db5be(this[_0x29ef5d(0xe1)][_0x29ef5d(0xc4)],{'elementName':_0x29ef5d(0x97),'getElementKey':_0xf0d822=>_0xf0d822[_0x29ef5d(0xd3)](_0x29ef5d(0xb1))});}[_0x37ad9a(0xed)](){const _0x543135=_0x37ad9a,{editor:_0x322c85}=this,{model:_0x480fd4,data:_0x4a36e4}=_0x322c85;_0x480fd4[_0x543135(0xb4)][_0x543135(0x9a)](_0x1a212e=>{const _0x2c0237=_0x543135,_0x45c7d6=_0x480fd4[_0x2c0237(0xb4)][_0x2c0237(0xbc)][_0x2c0237(0xcf)]();let _0xd02abf=!0x1;return this[_0x2c0237(0x93)](_0x1a212e,_0x45c7d6)&&(_0xd02abf=!0x0),this[_0x2c0237(0xbf)](_0x1a212e,_0x45c7d6)&&(_0xd02abf=!0x0),this[_0x2c0237(0xdb)](_0x1a212e,_0x45c7d6)&&(_0xd02abf=!0x0),this[_0x2c0237(0x94)](_0x1a212e)&&(_0xd02abf=!0x0),this[_0x2c0237(0xef)](_0x1a212e)&&(_0xd02abf=!0x0),this[_0x2c0237(0xae)](_0x1a212e)&&(_0xd02abf=!0x0),_0xd02abf;}),this[_0x543135(0xca)](_0x480fd4[_0x543135(0xb4)],_0x543135(0xa3),()=>{const _0x2f78e6=_0x543135;_0x480fd4[_0x2f78e6(0xec)]({'isUndoable':!0x1},_0x366035=>{const _0x39e90e=_0x2f78e6;this[_0x39e90e(0xc5)](_0x366035);});},{'priority':_0x543135(0xcb)}),this[_0x543135(0xca)](_0x4a36e4,_0x543135(0xdf),()=>{const _0x2e7e2f=_0x543135;this[_0x2e7e2f(0xdc)]=[],this[_0x2e7e2f(0x9b)][_0x2e7e2f(0x96)](),this[_0x2e7e2f(0xe4)][_0x2e7e2f(0x96)](),this[_0x2e7e2f(0x9c)][_0x2e7e2f(0x96)]();},{'priority':_0x543135(0xd8)});}[_0x37ad9a(0x91)](){const _0x2b1af7=_0x37ad9a;return this[_0x2b1af7(0xd2)];}[_0x37ad9a(0xe0)](_0x4c50cc){const _0x123041=_0x37ad9a;return this[_0x123041(0xdc)][_0x123041(0xe2)](_0x52f201=>_0x52f201['id']===_0x4c50cc)||null;}[_0x37ad9a(0xb3)](){const _0x6ea099=_0x37ad9a;return Array[_0x6ea099(0xba)](this[_0x6ea099(0xdc)]);}[_0x37ad9a(0xb8)](){const _0x8e96ac=_0x37ad9a;return this[_0x8e96ac(0xd6)];}[_0x37ad9a(0xa2)](_0x44dd37){const _0x3b895e=_0x37ad9a;this[_0x3b895e(0xd6)]=_0x44dd37;}[_0x37ad9a(0xbb)](_0x2e663e,_0x5e7e7d=0x0){const _0x662c83=_0x37ad9a;let _0x80f50c=!0x1;for(let _0xdd55d3=_0x5e7e7d;_0xdd55d3<this[_0x662c83(0xdc)][_0x662c83(0xf1)];_0xdd55d3++)this[_0x662c83(0xc8)](_0x2e663e,_0xdd55d3)&&(_0x80f50c=!0x0);return _0x80f50c;}[_0x37ad9a(0xf4)](_0x348a94,_0x3936f2){const _0x2d2502=_0x37ad9a,_0x8e8364=_0x348a94[_0x2d2502(0xac)](_0x2d2502(0x95),{});return _0x348a94[_0x2d2502(0xea)](_0x8e8364,_0x3936f2),this[_0x2d2502(0xd2)]=_0x8e8364,_0x8e8364;}[_0x37ad9a(0xc5)](_0x43372f){const _0x1e0677=_0x37ad9a;if(!this[_0x1e0677(0xdc)][_0x1e0677(0xf1)]||this[_0x1e0677(0xd2)])return;const _0x112b25=this[_0x1e0677(0xdc)][0x0][_0x1e0677(0x9e)][_0x1e0677(0xe8)],_0x2a90be=this[_0x1e0677(0xf4)](_0x43372f,_0x112b25);for(const _0x4421b0 of this[_0x1e0677(0xdc)])_0x4421b0[_0x1e0677(0xcc)][_0x1e0677(0xdd)]||_0x43372f[_0x1e0677(0xe5)](_0x4421b0[_0x1e0677(0xcc)],_0x2a90be,_0x1e0677(0xde));this[_0x1e0677(0xbb)](_0x43372f);}[_0x37ad9a(0x93)](_0x35da51,_0x3634a4){const _0x4a6164=_0x37ad9a;let _0x407513=!0x1;const {inserted:_0x325ebe,removed:_0x6f2dc,moved:_0x26de8e}=this[_0x4a6164(0x9b)][_0x4a6164(0xcf)](_0x3634a4);if(_0x26de8e[_0x4a6164(0xf1)]&&(this[_0x4a6164(0xd2)]=_0x26de8e[0x0]),_0x325ebe[_0x4a6164(0xf1)]){if(_0x325ebe[_0x4a6164(0xf1)]>0x1||this[_0x4a6164(0xd2)]&&_0x325ebe[_0x4a6164(0xad)](_0x173a90=>_0x173a90!==this[_0x4a6164(0xd2)])){const _0x46af4d=_0x35da51[_0x4a6164(0xac)](_0x4a6164(0x95),{}),_0x3876d9=[];this[_0x4a6164(0xd2)]&&_0x3876d9[_0x4a6164(0xb2)](this[_0x4a6164(0xd2)]),_0x3876d9[_0x4a6164(0xb2)](..._0x325ebe),_0x35da51[_0x4a6164(0xe5)](_0x46af4d,_0x3876d9[0x0],_0x4a6164(0xe7));for(const _0xa2702b of _0x3876d9)_0x35da51[_0x4a6164(0xb6)](_0x35da51[_0x4a6164(0xa8)](_0xa2702b),_0x35da51[_0x4a6164(0xaa)](_0x46af4d,_0x4a6164(0xde))),_0x35da51[_0x4a6164(0xa5)](_0xa2702b);this[_0x4a6164(0xd2)]=_0x46af4d,this[_0x4a6164(0xbb)](_0x35da51),_0x407513=!0x0;}else this[_0x4a6164(0xd2)]=_0x325ebe[0x0];}if(_0x6f2dc[_0x4a6164(0xf1)]&&_0x4a6164(0xc3)===this[_0x4a6164(0xd2)]?.[_0x4a6164(0xe8)][_0x4a6164(0x9f)]){for(const _0x3c0dca of this[_0x4a6164(0xdc)])_0x35da51[_0x4a6164(0xa5)](_0x3c0dca[_0x4a6164(0x9e)]),_0x407513=!0x0;this[_0x4a6164(0xdc)]=[],this[_0x4a6164(0xd2)]=null;}return _0x407513;}[_0x37ad9a(0xbf)](_0x40658a,_0x38ec8c){const _0x3cae10=_0x37ad9a;let _0x521635=!0x1;const _0x53bc89=this[_0x3cae10(0xe1)][_0x3cae10(0xc2)][_0x3cae10(0xa4)](_0x3cae10(0xee)),{inserted:_0x29240d,moved:_0x13f4fe}=this[_0x3cae10(0x9c)][_0x3cae10(0xcf)](_0x38ec8c);for(const _0x4c1e47 of[..._0x13f4fe,..._0x29240d]){const _0x1cd82e=_0x4c1e47[_0x3cae10(0xd3)](_0x3cae10(0xb1)),_0x1cf09f=this[_0x3cae10(0xe0)](_0x1cd82e);_0x1cf09f&&(_0x1cf09f[_0x3cae10(0xcc)]=_0x4c1e47),_(_0x40658a,_0x53bc89,_0x4c1e47)&&(_0x521635=!0x0);}return _0x521635;}[_0x37ad9a(0xdb)](_0x38e3ea,_0x5ea1c9){const _0x5b015c=_0x37ad9a;let _0x549d9c=!0x1;const {removed:_0x58fc00,inserted:_0x5cc137,moved:_0x303783}=this[_0x5b015c(0xe4)][_0x5b015c(0xcf)](_0x5ea1c9);for(const _0x3f9499 of _0x58fc00)this[_0x5b015c(0xd7)](_0x38e3ea,_0x3f9499)&&(_0x549d9c=!0x0);for(const _0x42e26b of _0x5cc137)this[_0x5b015c(0x98)](_0x38e3ea,_0x42e26b)&&(_0x549d9c=!0x0);for(const _0x4d607d of _0x303783)this[_0x5b015c(0xa0)](_0x38e3ea,_0x4d607d)&&(_0x549d9c=!0x0);return _0x549d9c;}[_0x37ad9a(0xef)](_0x2c6b1f){const _0x4983d1=_0x37ad9a;if(!this[_0x4983d1(0xd2)])return!0x1;let _0x5b48be=!0x1;if(this[_0x4983d1(0xd2)][_0x4983d1(0xb9)]!==this[_0x4983d1(0xdc)][_0x4983d1(0xf1)]){const _0x4b34c8=[];for(const _0x2808f6 of this[_0x4983d1(0xd2)][_0x4983d1(0xb7)]()){const _0x427396=_0x2808f6[_0x4983d1(0xd3)](_0x4983d1(0xb1));this[_0x4983d1(0xe0)](_0x427396)||(_0x4b34c8[_0x4983d1(0xf3)](_0x2808f6),_0x5b48be=!0x0);}for(const _0x26d0d8 of _0x4b34c8)_0x2c6b1f[_0x4983d1(0xa5)](_0x26d0d8);}const _0x4b3d99=new Set(),_0x2cd780=[];for(const _0x35857b of this[_0x4983d1(0xd2)][_0x4983d1(0xb7)]()){const _0x250b18=_0x35857b[_0x4983d1(0xd3)](_0x4983d1(0xb1));_0x4b3d99[_0x4983d1(0xc1)](_0x250b18)?(_0x2cd780[_0x4983d1(0xf3)](_0x35857b),_0x5b48be=!0x0):_0x4b3d99[_0x4983d1(0xb0)](_0x250b18);}for(const _0x5b326d of _0x2cd780)_0x2c6b1f[_0x4983d1(0xa5)](_0x5b326d);return this[_0x4983d1(0xd2)][_0x4983d1(0xb9)]||(_0x2c6b1f[_0x4983d1(0xa5)](this[_0x4983d1(0xd2)]),this[_0x4983d1(0xd2)]=null,_0x5b48be=!0x0),_0x5b48be;}[_0x37ad9a(0x98)](_0x1b50b1,_0x2394e7){const _0xdb0fe4=_0x37ad9a;if(this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xe2)](_0x3a6748=>_0x3a6748[_0xdb0fe4(0x9e)]===_0x2394e7))return!0x1;let _0x136da9=!0x1;const _0x59637f=_0x2394e7[_0xdb0fe4(0xd3)](_0xdb0fe4(0xb1)),_0x5e00fd=this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xf0)](_0x2454f1=>_0x2454f1['id']===_0x59637f);-0x1!==_0x5e00fd&&(_0x1b50b1[_0xdb0fe4(0xa5)](this[_0xdb0fe4(0xdc)][_0x5e00fd][_0xdb0fe4(0x9e)]),this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xc0)](_0x5e00fd,0x1),_0x136da9=!0x0);let _0xa4ca14=this[_0xdb0fe4(0xd2)]?function(_0x326970,_0x3c9745){const _0x402912=_0xdb0fe4;for(const _0x6dc66d of _0x326970[_0x402912(0xb7)]())if(_0x6dc66d[_0x402912(0xd3)](_0x402912(0xb1))===_0x3c9745)return _0x6dc66d;return null;}(this[_0xdb0fe4(0xd2)],_0x59637f):null;_0xa4ca14||(_0xa4ca14=_0x1b50b1[_0xdb0fe4(0xac)](_0xdb0fe4(0x97),{'footnoteId':_0x59637f}),this[_0xdb0fe4(0xd2)]&&(_0x1b50b1[_0xdb0fe4(0xe5)](_0xa4ca14,this[_0xdb0fe4(0xd2)],_0xdb0fe4(0xde)),_0x136da9=!0x0));const _0x357db1={'id':_0x59637f,'reference':_0x2394e7,'definition':_0xa4ca14},_0x354766=I(this[_0xdb0fe4(0xe1)][_0xdb0fe4(0xc4)],this[_0xdb0fe4(0xdc)],_0x2394e7);this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xc0)](_0x354766,0x0,_0x357db1);let _0x3bf1f9=_0x354766;return-0x1!==_0x5e00fd&&(_0x3bf1f9=Math[_0xdb0fe4(0xa7)](_0x354766,_0x5e00fd)),this[_0xdb0fe4(0xbb)](_0x1b50b1,_0x3bf1f9)&&(_0x136da9=!0x0),_0x136da9;}[_0x37ad9a(0xd7)](_0x17d4e1,_0x57f965){const _0xf2979b=_0x37ad9a,_0x10358b=this[_0xf2979b(0xdc)][_0xf2979b(0xf0)](_0x4c82e6=>_0x4c82e6['id']===_0x57f965);if(-0x1===_0x10358b)return!0x1;let _0x546066=!0x1;const _0x58d9a6=this[_0xf2979b(0xdc)][_0x10358b];return _0xf2979b(0xc3)!==_0x58d9a6[_0xf2979b(0xcc)][_0xf2979b(0xe8)][_0xf2979b(0x9f)]&&(_0x17d4e1[_0xf2979b(0xa5)](_0x58d9a6[_0xf2979b(0xcc)]),_0x546066=!0x0),this[_0xf2979b(0xdc)][_0xf2979b(0xc0)](_0x10358b,0x1),this[_0xf2979b(0xbb)](_0x17d4e1,_0x10358b)&&(_0x546066=!0x0),_0x546066;}[_0x37ad9a(0xa0)](_0x3967bb,_0x361f11){const _0x4ce731=_0x37ad9a,_0x4d5f9d=_0x361f11[_0x4ce731(0xd3)](_0x4ce731(0xb1)),_0x4f3e4d=this[_0x4ce731(0xdc)][_0x4ce731(0xf0)](_0x4b8104=>_0x4b8104['id']===_0x4d5f9d),_0x3e3216=this[_0x4ce731(0xdc)][_0x4f3e4d];let _0x22ad09=!0x1;_0x3e3216[_0x4ce731(0x9e)]=_0x361f11,this[_0x4ce731(0xdc)][_0x4ce731(0xc0)](_0x4f3e4d,0x1);const _0x5b1893=I(this[_0x4ce731(0xe1)][_0x4ce731(0xc4)],this[_0x4ce731(0xdc)],_0x361f11);return this[_0x4ce731(0xdc)][_0x4ce731(0xc0)](_0x5b1893,0x0,_0x3e3216),this[_0x4ce731(0xbb)](_0x3967bb,Math[_0x4ce731(0xa7)](_0x4f3e4d,_0x5b1893))&&(_0x22ad09=!0x0),_0x22ad09;}[_0x37ad9a(0xc8)](_0x230e24,_0x14050d){const _0x4bdc59=_0x37ad9a;if(!this[_0x4bdc59(0xd2)])return!0x1;const _0x945661=this[_0x4bdc59(0xdc)][_0x14050d];let _0x393a5d;return _0x393a5d=this[_0x4bdc59(0xd6)]?this[_0x4bdc59(0xd6)]({'footnote':_0x945661,'container':this[_0x4bdc59(0xd2)],'digits':String(this[_0x4bdc59(0xdc)][_0x4bdc59(0xf1)])[_0x4bdc59(0xf1)],'value':_0x14050d+0x1}):String(_0x14050d+0x1),_0x945661[_0x4bdc59(0x9e)][_0x4bdc59(0xd3)](_0x4bdc59(0xe6))!=_0x393a5d&&(_0x230e24[_0x4bdc59(0x99)](_0x4bdc59(0xe6),_0x393a5d,_0x945661[_0x4bdc59(0x9e)]),!0x0);}[_0x37ad9a(0xae)](_0x5303f9){const _0x1d8e10=_0x37ad9a;if(!this[_0x1d8e10(0xd2)]||this[_0x1d8e10(0xdc)][_0x1d8e10(0xf1)]<0x2)return!0x1;if(function(_0x3907e3,_0x4987d0){const _0x119193=_0x1d8e10;if(_0x3907e3[_0x119193(0xf1)]!==_0x4987d0[_0x119193(0xf1)])return!0x1;for(let _0x2e84d2=0x0;_0x2e84d2<_0x3907e3[_0x119193(0xf1)];_0x2e84d2++)if(_0x3907e3[_0x2e84d2]!==_0x4987d0[_0x2e84d2])return!0x1;return!0x0;}(this[_0x1d8e10(0xdc)][_0x1d8e10(0xf5)](_0x54c13b=>_0x54c13b['id']),Array[_0x1d8e10(0xba)](this[_0x1d8e10(0xd2)][_0x1d8e10(0xb7)]())[_0x1d8e10(0xf5)](_0x538e3a=>_0x538e3a[_0x1d8e10(0xd3)](_0x1d8e10(0xb1)))))return!0x1;let _0x2894fe=!0x1;for(let _0x22348b=0x0;_0x22348b<this[_0x1d8e10(0xdc)][_0x1d8e10(0xf1)];_0x22348b++){const _0xd475a8=this[_0x1d8e10(0xdc)][_0x22348b],_0x58123f=_0x5303f9[_0x1d8e10(0xc9)](_0xd475a8[_0x1d8e10(0xcc)]),_0x2c6780=_0x5303f9[_0x1d8e10(0xaa)](this[_0x1d8e10(0xd2)],_0x22348b);_0x58123f[_0x1d8e10(0xc6)](_0x2c6780)||(_0x5303f9[_0x1d8e10(0xb6)](_0x5303f9[_0x1d8e10(0xb5)](_0xd475a8[_0x1d8e10(0xcc)]),_0x2c6780),_0x2894fe=!0x0);}return _0x2894fe;}[_0x37ad9a(0x94)](_0x4eb253){const _0x38ccb5=_0x37ad9a;if(!this[_0x38ccb5(0xdc)][_0x38ccb5(0xf1)])return!0x1;const {model:_0x4b8634}=this[_0x38ccb5(0xe1)];let _0x103314=!0x1;for(let _0x27b3bf=0x0;_0x27b3bf<this[_0x38ccb5(0xdc)][_0x38ccb5(0xf1)]-0x1;_0x27b3bf++){const _0x5e4392=this[_0x38ccb5(0xdc)][_0x27b3bf],_0x17183c=this[_0x38ccb5(0xdc)][_0x27b3bf+0x1],_0x541dd3=_0x4b8634[_0x38ccb5(0xc9)](_0x5e4392[_0x38ccb5(0x9e)]),_0x4cee88=_0x4b8634[_0x38ccb5(0xc9)](_0x17183c[_0x38ccb5(0x9e)]);_0x38ccb5(0xcd)===_0x541dd3[_0x38ccb5(0xbe)](_0x4cee88)&&(this[_0x38ccb5(0xa0)](_0x4eb253,_0x5e4392[_0x38ccb5(0x9e)]),_0x27b3bf=-0x1,_0x103314=!0x0);}return _0x103314;}}function _(_0x4e5aee,_0x1cb61c,_0x36d45f){const _0x6e0078=_0x37ad9a;if(_0x36d45f[_0x6e0078(0xb9)])return!0x1;const _0x190d3a=_0x1cb61c?_0x6e0078(0xa1):_0x6e0078(0xd9);return _0x4e5aee[_0x6e0078(0xe5)](_0x4e5aee[_0x6e0078(0xac)](_0x190d3a),_0x36d45f),!0x0;}function I(_0x2dbfcb,_0x5adbad,_0x3e5612){const _0x153374=_0x37ad9a;if(0x0===_0x5adbad[_0x153374(0xf1)])return 0x0;const _0x22e2cd=_0x2dbfcb[_0x153374(0xc9)](_0x3e5612);for(let _0x2ccfeb=0x0;_0x2ccfeb<_0x5adbad[_0x153374(0xf1)];_0x2ccfeb++){const _0x2b96f0=_0x5adbad[_0x2ccfeb],_0x3187b6=_0x2dbfcb[_0x153374(0xc9)](_0x2b96f0[_0x153374(0x9e)]);if(_0x153374(0xe7)===_0x22e2cd[_0x153374(0xbe)](_0x3187b6))return _0x2ccfeb;}const _0x45325d=_0x3e5612[_0x153374(0xe8)];let _0x14e622=-0x1;for(let _0x432a25=_0x5adbad[_0x153374(0xf1)]-0x1;_0x432a25>=0x0;_0x432a25--)if(_0x5adbad[_0x432a25][_0x153374(0x9e)][_0x153374(0xe8)]===_0x45325d){_0x14e622=_0x432a25;break;}if(-0x1!==_0x14e622)return _0x14e622+0x1;const _0x59e892=_0x2dbfcb[_0x153374(0xb4)][_0x153374(0xd5)](),_0x14370b=_0x59e892[_0x153374(0xd1)](_0x45325d[_0x153374(0x9f)]),_0x467c08=_0x59e892[_0x14370b+0x1];if(_0x467c08){for(let _0x1e485a=0x0;_0x1e485a<_0x5adbad[_0x153374(0xf1)];_0x1e485a++)if(_0x5adbad[_0x1e485a][_0x153374(0x9e)][_0x153374(0xe8)][_0x153374(0x9f)]===_0x467c08)return _0x1e485a;}return _0x5adbad[_0x153374(0xf1)];}
|
|
23
|
+
const _0x264e09=_0x54c2;(function(_0x583d51,_0x4cb8a4){const _0x23ea0d=_0x54c2,_0x245f65=_0x583d51();while(!![]){try{const _0x372840=parseInt(_0x23ea0d(0x187))/0x1+parseInt(_0x23ea0d(0x16e))/0x2+-parseInt(_0x23ea0d(0x16c))/0x3*(-parseInt(_0x23ea0d(0x162))/0x4)+-parseInt(_0x23ea0d(0x196))/0x5*(parseInt(_0x23ea0d(0x13d))/0x6)+-parseInt(_0x23ea0d(0x157))/0x7*(parseInt(_0x23ea0d(0x19e))/0x8)+parseInt(_0x23ea0d(0x13f))/0x9*(parseInt(_0x23ea0d(0x18e))/0xa)+-parseInt(_0x23ea0d(0x185))/0xb;if(_0x372840===_0x4cb8a4)break;else _0x245f65['push'](_0x245f65['shift']());}catch(_0x1291bb){_0x245f65['push'](_0x245f65['shift']());}}}(_0x5f34,0xa40a9));import{Plugin as _0x29462a}from'ckeditor5/src/core.js';function _0x5f34(){const _0x29d031=['footnotesDefinitions','_handleFootnoteReferencesChanges','_updateFootnotesCounters','move','_handleFootnotesDefinitionsObjectSync','10GKlxZx','length','reset','_ensureFootnotesDefinitionsContainerExists','enqueueChange','from','pluginName','after','321176wkzKYB','isOfficialPlugin','_handleRemoveFootnoteReferenceById','getFootnote','createRangeOn','2056908qkqYaE','_handleFootnotesDefinitionsObjectChanges','12002229YruRbw','definition','init','createElement','getFootnotes','parent','add','_footnoteRefsTracker','_footnotes','footnoteId','_updateFootnoteRefCounter','document','getFootnotesDefinitionsObjectElement','_footnoteDefsTracker','_insertEmptyFootnotesDefinitionsContainer','footnoteRef','before','has','unshift','getChildren','end','footnotes.multiBlock','splice','setAttribute','161hJAKFO','_footnoteDefsContainerTracker','footnoteInlineContent','indexOf','getFootnotesFormatter','getChanges','$graveyard','push','editor','setFootnoteFormatter','_footnoteFormatter','1823572rphjKU','footnoteCounter','listenTo','append','createPositionBefore','map','insert','differ','config','rootName','3BmuXEU','findIndex','1660868CpIIJV','root','some','min','paragraph','remove','isPremiumPlugin','getRootNames','getAttribute','find','childCount','_footnotesDefinitions','get','_sortFootnoteDefinitions','low','FootnotesTracker','_handleMovedFootnoteReference','_handleFootnoteDefinitionsChanges','isEqual','registerPostFixer','change:data','_ensureFootnotesReferencesHaveProperOrder','createRangeIn','17521878BLRGXu','model','1253920GMscTh','high','createPositionAt','set','compareWith','footnoteDefinition','_handleInsertedFootnoteReference','10ZFZvNR','reference','singleton'];_0x5f34=function(){return _0x29d031;};return _0x5f34();}import{ModelElementTracker as _0x9b9285}from'./modelelementtracker.js';export class FootnotesTracker extends _0x29462a{[_0x264e09(0x147)]=[];[_0x264e09(0x179)]=null;[_0x264e09(0x161)]=null;[_0x264e09(0x158)];[_0x264e09(0x146)];[_0x264e09(0x14c)];static get[_0x264e09(0x19c)](){const _0x3fab5a=_0x264e09;return _0x3fab5a(0x17d);}static get[_0x264e09(0x19f)](){return!0x0;}static get[_0x264e09(0x174)](){return!0x0;}constructor(_0x42a23b){const _0x15d6f1=_0x264e09;super(_0x42a23b),this[_0x15d6f1(0x158)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x191),'getElementKey':()=>_0x15d6f1(0x190)}),this[_0x15d6f1(0x146)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x14e),'getElementKey':_0x2c576e=>_0x2c576e[_0x15d6f1(0x176)](_0x15d6f1(0x148))}),this[_0x15d6f1(0x14c)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x18c),'getElementKey':_0x48980f=>_0x48980f[_0x15d6f1(0x176)](_0x15d6f1(0x148))});}[_0x264e09(0x141)](){const _0x2722bc=_0x264e09,{editor:_0x5cb12b}=this,{model:_0xb7de37,data:_0x225372}=_0x5cb12b;_0xb7de37[_0x2722bc(0x14a)][_0x2722bc(0x181)](_0x9cc25f=>{const _0x5429a5=_0x2722bc,_0x357545=_0xb7de37[_0x5429a5(0x14a)][_0x5429a5(0x169)][_0x5429a5(0x15c)]();let _0x2814a3=!0x1;return this[_0x5429a5(0x13e)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x17f)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x192)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x183)](_0x9cc25f)&&(_0x2814a3=!0x0),this[_0x5429a5(0x195)](_0x9cc25f)&&(_0x2814a3=!0x0),this[_0x5429a5(0x17b)](_0x9cc25f)&&(_0x2814a3=!0x0),_0x2814a3;}),this[_0x2722bc(0x164)](_0xb7de37[_0x2722bc(0x14a)],_0x2722bc(0x182),()=>{const _0x3dfc25=_0x2722bc;_0xb7de37[_0x3dfc25(0x19a)]({'isUndoable':!0x1},_0x480f46=>{const _0x24562b=_0x3dfc25;this[_0x24562b(0x199)](_0x480f46);});},{'priority':_0x2722bc(0x17c)}),this[_0x2722bc(0x164)](_0x225372,_0x2722bc(0x18a),()=>{const _0x519705=_0x2722bc;this[_0x519705(0x147)]=[],this[_0x519705(0x158)][_0x519705(0x198)](),this[_0x519705(0x146)][_0x519705(0x198)](),this[_0x519705(0x14c)][_0x519705(0x198)]();},{'priority':_0x2722bc(0x188)});}[_0x264e09(0x14b)](){const _0x700feb=_0x264e09;return this[_0x700feb(0x179)];}[_0x264e09(0x1a1)](_0x53a943){const _0x2d6743=_0x264e09;return this[_0x2d6743(0x147)][_0x2d6743(0x177)](_0x1cdb01=>_0x1cdb01['id']===_0x53a943)||null;}[_0x264e09(0x143)](){const _0x42bd58=_0x264e09;return Array[_0x42bd58(0x19b)](this[_0x42bd58(0x147)]);}[_0x264e09(0x15b)](){const _0x46cb37=_0x264e09;return this[_0x46cb37(0x161)];}[_0x264e09(0x160)](_0x5e54bd){const _0x5f42a3=_0x264e09;this[_0x5f42a3(0x161)]=_0x5e54bd;}[_0x264e09(0x193)](_0x490e23,_0x3f862f=0x0){const _0x114e3a=_0x264e09;let _0xdaad2f=!0x1;for(let _0x589fb0=_0x3f862f;_0x589fb0<this[_0x114e3a(0x147)][_0x114e3a(0x197)];_0x589fb0++)this[_0x114e3a(0x149)](_0x490e23,_0x589fb0)&&(_0xdaad2f=!0x0);return _0xdaad2f;}[_0x264e09(0x14d)](_0x435b38,_0x7ced49){const _0x7bc0d1=_0x264e09,_0x29529f=_0x435b38[_0x7bc0d1(0x142)](_0x7bc0d1(0x191),{});return _0x435b38[_0x7bc0d1(0x165)](_0x29529f,_0x7ced49),this[_0x7bc0d1(0x179)]=_0x29529f,_0x29529f;}[_0x264e09(0x199)](_0x5963db){const _0x276322=_0x264e09;if(!this[_0x276322(0x147)][_0x276322(0x197)]||this[_0x276322(0x179)])return;const _0x4699ee=this[_0x276322(0x147)][0x0][_0x276322(0x18f)][_0x276322(0x16f)],_0x468914=this[_0x276322(0x14d)](_0x5963db,_0x4699ee);for(const _0x3ac4db of this[_0x276322(0x147)])_0x3ac4db[_0x276322(0x140)][_0x276322(0x144)]||_0x5963db[_0x276322(0x168)](_0x3ac4db[_0x276322(0x140)],_0x468914,_0x276322(0x153));this[_0x276322(0x193)](_0x5963db);}[_0x264e09(0x13e)](_0x3d3137,_0x41ad52){const _0x2dca7b=_0x264e09;let _0x35295b=!0x1;const {inserted:_0x287edc,removed:_0xce9748,moved:_0x4a4d5d}=this[_0x2dca7b(0x158)][_0x2dca7b(0x15c)](_0x41ad52);if(_0x4a4d5d[_0x2dca7b(0x197)]&&(this[_0x2dca7b(0x179)]=_0x4a4d5d[0x0]),_0x287edc[_0x2dca7b(0x197)]){if(_0x287edc[_0x2dca7b(0x197)]>0x1||this[_0x2dca7b(0x179)]&&_0x287edc[_0x2dca7b(0x170)](_0x539c4c=>_0x539c4c!==this[_0x2dca7b(0x179)])){const _0x6f7dd3=_0x3d3137[_0x2dca7b(0x142)](_0x2dca7b(0x191),{}),_0x190994=[];this[_0x2dca7b(0x179)]&&_0x190994[_0x2dca7b(0x15e)](this[_0x2dca7b(0x179)]),_0x190994[_0x2dca7b(0x15e)](..._0x287edc),_0x3d3137[_0x2dca7b(0x168)](_0x6f7dd3,_0x190994[0x0],_0x2dca7b(0x14f));for(const _0x1809a1 of _0x190994)_0x3d3137[_0x2dca7b(0x194)](_0x3d3137[_0x2dca7b(0x184)](_0x1809a1),_0x3d3137[_0x2dca7b(0x189)](_0x6f7dd3,_0x2dca7b(0x153))),_0x3d3137[_0x2dca7b(0x173)](_0x1809a1);this[_0x2dca7b(0x179)]=_0x6f7dd3,this[_0x2dca7b(0x193)](_0x3d3137),_0x35295b=!0x0;}else this[_0x2dca7b(0x179)]=_0x287edc[0x0];}if(_0xce9748[_0x2dca7b(0x197)]&&_0x2dca7b(0x15d)===this[_0x2dca7b(0x179)]?.[_0x2dca7b(0x16f)][_0x2dca7b(0x16b)]){for(const _0x1336af of this[_0x2dca7b(0x147)])_0x3d3137[_0x2dca7b(0x173)](_0x1336af[_0x2dca7b(0x18f)]),_0x35295b=!0x0;this[_0x2dca7b(0x147)]=[],this[_0x2dca7b(0x179)]=null;}return _0x35295b;}[_0x264e09(0x17f)](_0x2eeafa,_0x70c608){const _0x4441aa=_0x264e09;let _0xb65b5b=!0x1;const _0x50ae33=this[_0x4441aa(0x15f)][_0x4441aa(0x16a)][_0x4441aa(0x17a)](_0x4441aa(0x154)),{inserted:_0x2129d2,moved:_0x59b77c}=this[_0x4441aa(0x14c)][_0x4441aa(0x15c)](_0x70c608);for(const _0x4642fc of[..._0x59b77c,..._0x2129d2]){const _0x412e10=_0x4642fc[_0x4441aa(0x176)](_0x4441aa(0x148)),_0x1b6866=this[_0x4441aa(0x1a1)](_0x412e10);_0x1b6866&&(_0x1b6866[_0x4441aa(0x140)]=_0x4642fc),_(_0x2eeafa,_0x50ae33,_0x4642fc)&&(_0xb65b5b=!0x0);}return _0xb65b5b;}[_0x264e09(0x192)](_0x53791d,_0x1a6a07){const _0x100fd5=_0x264e09;let _0x340483=!0x1;const {removed:_0x410aa6,inserted:_0x3ca1c0,moved:_0x20d429}=this[_0x100fd5(0x146)][_0x100fd5(0x15c)](_0x1a6a07);for(const _0x34caff of _0x410aa6)this[_0x100fd5(0x1a0)](_0x53791d,_0x34caff)&&(_0x340483=!0x0);for(const _0x3a7981 of _0x3ca1c0)this[_0x100fd5(0x18d)](_0x53791d,_0x3a7981)&&(_0x340483=!0x0);for(const _0x2780bf of _0x20d429)this[_0x100fd5(0x17e)](_0x53791d,_0x2780bf)&&(_0x340483=!0x0);return _0x340483;}[_0x264e09(0x195)](_0x51f693){const _0x2d560a=_0x264e09;if(!this[_0x2d560a(0x179)])return!0x1;let _0x4890fa=!0x1;if(this[_0x2d560a(0x179)][_0x2d560a(0x178)]!==this[_0x2d560a(0x147)][_0x2d560a(0x197)]){const _0x16d377=[];for(const _0x37b8a7 of this[_0x2d560a(0x179)][_0x2d560a(0x152)]()){const _0x28bd15=_0x37b8a7[_0x2d560a(0x176)](_0x2d560a(0x148));this[_0x2d560a(0x1a1)](_0x28bd15)||(_0x16d377[_0x2d560a(0x151)](_0x37b8a7),_0x4890fa=!0x0);}for(const _0x2181ae of _0x16d377)_0x51f693[_0x2d560a(0x173)](_0x2181ae);}const _0x4c5852=new Set(),_0x40dc13=[];for(const _0x575b1a of this[_0x2d560a(0x179)][_0x2d560a(0x152)]()){const _0x9983ba=_0x575b1a[_0x2d560a(0x176)](_0x2d560a(0x148));_0x4c5852[_0x2d560a(0x150)](_0x9983ba)?(_0x40dc13[_0x2d560a(0x151)](_0x575b1a),_0x4890fa=!0x0):_0x4c5852[_0x2d560a(0x145)](_0x9983ba);}for(const _0x8d139a of _0x40dc13)_0x51f693[_0x2d560a(0x173)](_0x8d139a);return this[_0x2d560a(0x179)][_0x2d560a(0x178)]||(_0x51f693[_0x2d560a(0x173)](this[_0x2d560a(0x179)]),this[_0x2d560a(0x179)]=null,_0x4890fa=!0x0),_0x4890fa;}[_0x264e09(0x18d)](_0xa55583,_0x54fe37){const _0x39c3e1=_0x264e09;if(this[_0x39c3e1(0x147)][_0x39c3e1(0x177)](_0x581b9c=>_0x581b9c[_0x39c3e1(0x18f)]===_0x54fe37))return!0x1;let _0x184605=!0x1;const _0x42ac25=_0x54fe37[_0x39c3e1(0x176)](_0x39c3e1(0x148)),_0xc12529=this[_0x39c3e1(0x147)][_0x39c3e1(0x16d)](_0x394979=>_0x394979['id']===_0x42ac25);-0x1!==_0xc12529&&(_0xa55583[_0x39c3e1(0x173)](this[_0x39c3e1(0x147)][_0xc12529][_0x39c3e1(0x18f)]),this[_0x39c3e1(0x147)][_0x39c3e1(0x155)](_0xc12529,0x1),_0x184605=!0x0);let _0x1406bf=this[_0x39c3e1(0x179)]?function(_0x1c04de,_0x1d9095){const _0x2294ef=_0x39c3e1;for(const _0x5172c1 of _0x1c04de[_0x2294ef(0x152)]())if(_0x5172c1[_0x2294ef(0x176)](_0x2294ef(0x148))===_0x1d9095)return _0x5172c1;return null;}(this[_0x39c3e1(0x179)],_0x42ac25):null;_0x1406bf||(_0x1406bf=_0xa55583[_0x39c3e1(0x142)](_0x39c3e1(0x18c),{'footnoteId':_0x42ac25}),this[_0x39c3e1(0x179)]&&(_0xa55583[_0x39c3e1(0x168)](_0x1406bf,this[_0x39c3e1(0x179)],_0x39c3e1(0x153)),_0x184605=!0x0));const _0x59fba0={'id':_0x42ac25,'reference':_0x54fe37,'definition':_0x1406bf},_0x555390=I(this[_0x39c3e1(0x15f)][_0x39c3e1(0x186)],this[_0x39c3e1(0x147)],_0x54fe37);this[_0x39c3e1(0x147)][_0x39c3e1(0x155)](_0x555390,0x0,_0x59fba0);let _0x41782c=_0x555390;return-0x1!==_0xc12529&&(_0x41782c=Math[_0x39c3e1(0x171)](_0x555390,_0xc12529)),this[_0x39c3e1(0x193)](_0xa55583,_0x41782c)&&(_0x184605=!0x0),_0x184605;}[_0x264e09(0x1a0)](_0x5d92dc,_0x81ca94){const _0x28265a=_0x264e09,_0x4c2491=this[_0x28265a(0x147)][_0x28265a(0x16d)](_0x2146c2=>_0x2146c2['id']===_0x81ca94);if(-0x1===_0x4c2491)return!0x1;let _0x48a559=!0x1;const _0x2cb88e=this[_0x28265a(0x147)][_0x4c2491];return _0x28265a(0x15d)!==_0x2cb88e[_0x28265a(0x140)][_0x28265a(0x16f)][_0x28265a(0x16b)]&&(_0x5d92dc[_0x28265a(0x173)](_0x2cb88e[_0x28265a(0x140)]),_0x48a559=!0x0),this[_0x28265a(0x147)][_0x28265a(0x155)](_0x4c2491,0x1),this[_0x28265a(0x193)](_0x5d92dc,_0x4c2491)&&(_0x48a559=!0x0),_0x48a559;}[_0x264e09(0x17e)](_0x5ea9a0,_0x5a4085){const _0x28d3ca=_0x264e09,_0x1ae6d6=_0x5a4085[_0x28d3ca(0x176)](_0x28d3ca(0x148)),_0x45f295=this[_0x28d3ca(0x147)][_0x28d3ca(0x16d)](_0xc585a8=>_0xc585a8['id']===_0x1ae6d6),_0x51c5f6=this[_0x28d3ca(0x147)][_0x45f295];let _0x218188=!0x1;_0x51c5f6[_0x28d3ca(0x18f)]=_0x5a4085,this[_0x28d3ca(0x147)][_0x28d3ca(0x155)](_0x45f295,0x1);const _0x4232fd=I(this[_0x28d3ca(0x15f)][_0x28d3ca(0x186)],this[_0x28d3ca(0x147)],_0x5a4085);return this[_0x28d3ca(0x147)][_0x28d3ca(0x155)](_0x4232fd,0x0,_0x51c5f6),this[_0x28d3ca(0x193)](_0x5ea9a0,Math[_0x28d3ca(0x171)](_0x45f295,_0x4232fd))&&(_0x218188=!0x0),_0x218188;}[_0x264e09(0x149)](_0x33b0d5,_0x5d06a8){const _0x3cd1d5=_0x264e09;if(!this[_0x3cd1d5(0x179)])return!0x1;const _0x3df80d=this[_0x3cd1d5(0x147)][_0x5d06a8];let _0x6c1311;return _0x6c1311=this[_0x3cd1d5(0x161)]?this[_0x3cd1d5(0x161)]({'footnote':_0x3df80d,'container':this[_0x3cd1d5(0x179)],'digits':String(this[_0x3cd1d5(0x147)][_0x3cd1d5(0x197)])[_0x3cd1d5(0x197)],'value':_0x5d06a8+0x1}):String(_0x5d06a8+0x1),_0x3df80d[_0x3cd1d5(0x18f)][_0x3cd1d5(0x176)](_0x3cd1d5(0x163))!=_0x6c1311&&(_0x33b0d5[_0x3cd1d5(0x156)](_0x3cd1d5(0x163),_0x6c1311,_0x3df80d[_0x3cd1d5(0x18f)]),!0x0);}[_0x264e09(0x17b)](_0x51afe6){const _0x1ad807=_0x264e09;if(!this[_0x1ad807(0x179)]||this[_0x1ad807(0x147)][_0x1ad807(0x197)]<0x2)return!0x1;if(function(_0x2f211b,_0x5b6066){const _0x51f82e=_0x1ad807;if(_0x2f211b[_0x51f82e(0x197)]!==_0x5b6066[_0x51f82e(0x197)])return!0x1;for(let _0x14a3b1=0x0;_0x14a3b1<_0x2f211b[_0x51f82e(0x197)];_0x14a3b1++)if(_0x2f211b[_0x14a3b1]!==_0x5b6066[_0x14a3b1])return!0x1;return!0x0;}(this[_0x1ad807(0x147)][_0x1ad807(0x167)](_0x20cd96=>_0x20cd96['id']),Array[_0x1ad807(0x19b)](this[_0x1ad807(0x179)][_0x1ad807(0x152)]())[_0x1ad807(0x167)](_0x2c6ebb=>_0x2c6ebb[_0x1ad807(0x176)](_0x1ad807(0x148)))))return!0x1;let _0x38ae9b=!0x1;for(let _0x50cf13=0x0;_0x50cf13<this[_0x1ad807(0x147)][_0x1ad807(0x197)];_0x50cf13++){const _0x3da9fd=this[_0x1ad807(0x147)][_0x50cf13],_0x32c14c=_0x51afe6[_0x1ad807(0x166)](_0x3da9fd[_0x1ad807(0x140)]),_0x2057a8=_0x51afe6[_0x1ad807(0x189)](this[_0x1ad807(0x179)],_0x50cf13);_0x32c14c[_0x1ad807(0x180)](_0x2057a8)||(_0x51afe6[_0x1ad807(0x194)](_0x51afe6[_0x1ad807(0x1a2)](_0x3da9fd[_0x1ad807(0x140)]),_0x2057a8),_0x38ae9b=!0x0);}return _0x38ae9b;}[_0x264e09(0x183)](_0x387ca6){const _0x116ba2=_0x264e09;if(!this[_0x116ba2(0x147)][_0x116ba2(0x197)])return!0x1;const {model:_0x1c869b}=this[_0x116ba2(0x15f)];let _0x4542f7=!0x1;for(let _0x368231=0x0;_0x368231<this[_0x116ba2(0x147)][_0x116ba2(0x197)]-0x1;_0x368231++){const _0x4cf80f=this[_0x116ba2(0x147)][_0x368231],_0x29edff=this[_0x116ba2(0x147)][_0x368231+0x1],_0x487441=_0x1c869b[_0x116ba2(0x166)](_0x4cf80f[_0x116ba2(0x18f)]),_0x364dda=_0x1c869b[_0x116ba2(0x166)](_0x29edff[_0x116ba2(0x18f)]);_0x116ba2(0x19d)===_0x487441[_0x116ba2(0x18b)](_0x364dda)&&(this[_0x116ba2(0x17e)](_0x387ca6,_0x4cf80f[_0x116ba2(0x18f)]),_0x368231=-0x1,_0x4542f7=!0x0);}return _0x4542f7;}}function _(_0x22844f,_0x2f2a83,_0x170f72){const _0x23f4c5=_0x264e09;if(_0x170f72[_0x23f4c5(0x178)])return!0x1;const _0x5ac7e0=_0x2f2a83?_0x23f4c5(0x172):_0x23f4c5(0x159);return _0x22844f[_0x23f4c5(0x168)](_0x22844f[_0x23f4c5(0x142)](_0x5ac7e0),_0x170f72),!0x0;}function _0x54c2(_0x189b6f,_0x5f2d16){const _0x5f3401=_0x5f34();return _0x54c2=function(_0x54c250,_0x4836be){_0x54c250=_0x54c250-0x13d;let _0x40c01e=_0x5f3401[_0x54c250];return _0x40c01e;},_0x54c2(_0x189b6f,_0x5f2d16);}function I(_0x538f68,_0xb348ac,_0xefdcac){const _0x27fc2f=_0x264e09;if(0x0===_0xb348ac[_0x27fc2f(0x197)])return 0x0;const _0x52fc85=_0x538f68[_0x27fc2f(0x166)](_0xefdcac);for(let _0x1a3198=0x0;_0x1a3198<_0xb348ac[_0x27fc2f(0x197)];_0x1a3198++){const _0xde41ed=_0xb348ac[_0x1a3198],_0x4a134a=_0x538f68[_0x27fc2f(0x166)](_0xde41ed[_0x27fc2f(0x18f)]);if(_0x27fc2f(0x14f)===_0x52fc85[_0x27fc2f(0x18b)](_0x4a134a))return _0x1a3198;}const _0x6cb1a3=_0xefdcac[_0x27fc2f(0x16f)];let _0x580035=-0x1;for(let _0x226fe8=_0xb348ac[_0x27fc2f(0x197)]-0x1;_0x226fe8>=0x0;_0x226fe8--)if(_0xb348ac[_0x226fe8][_0x27fc2f(0x18f)][_0x27fc2f(0x16f)]===_0x6cb1a3){_0x580035=_0x226fe8;break;}if(-0x1!==_0x580035)return _0x580035+0x1;const _0x2c3ea4=_0x538f68[_0x27fc2f(0x14a)][_0x27fc2f(0x175)](),_0x214518=_0x2c3ea4[_0x27fc2f(0x15a)](_0x6cb1a3[_0x27fc2f(0x16b)]),_0x5c515e=_0x2c3ea4[_0x214518+0x1];if(_0x5c515e){for(let _0x42b358=0x0;_0x42b358<_0xb348ac[_0x27fc2f(0x197)];_0x42b358++)if(_0xb348ac[_0x42b358][_0x27fc2f(0x18f)][_0x27fc2f(0x16f)][_0x27fc2f(0x16b)]===_0x5c515e)return _0x42b358;}return _0xb348ac[_0x27fc2f(0x197)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x178fcb,MenuBarMenuListItemButtonView as _0x485406}from'ckeditor5/src/ui.js';import{Plugin as _0x1ff98b}from'ckeditor5/src/core.js';import{IconFootnote as _0x2f93a8}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1ff98b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d49e8}=this,{componentFactory:_0x5d0dd5}=_0x4d49e8['ui'];_0x5d0dd5['add']('insertFootnote',x(_0x4d49e8,_0x178fcb)),_0x5d0dd5['add']('menuBar:insertFootnote',x(_0x4d49e8,_0x485406)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x237c7e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x291c39;for(const _0x4b4c72 in _0x237c7e){const _0x36e478=_0x4b4c72,_0x5bbce2=_0x237c7e[_0x36e478];if('footnotesLicenseKeyValid'==_0x5bbce2||'footnotesLicenseKeyInvalid'==_0x5bbce2||'footnotesLicenseKeyExpired'==_0x5bbce2||'footnotesLicenseKeyDomainLimit'==_0x5bbce2||'footnotesLicenseKeyNotAllowed'==_0x5bbce2||'footnotesLicenseKeyEvaluationLimit'==_0x5bbce2||'footnotesLicenseKeyTrialLimit'==_0x5bbce2||'footnotesLicenseKeyUsageLimit'==_0x5bbce2){delete _0x237c7e[_0x36e478],_0x291c39=_0x5bbce2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x291c39&&_0x237c7e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x291c39&&_0x237c7e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x291c39&&_0x237c7e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3df21b,_0x3b0bd9){const _0x6ee07a=_0x3df21b['commands']['get']('insertFootnote');return _0x1fc140=>{const {t:t}=_0x1fc140,_0x2e6e3f=new _0x3b0bd9(_0x1fc140),_0x554b2c=_0x2e6e3f instanceof _0x485406;return _0x2e6e3f['bind']('isEnabled')['to'](_0x6ee07a,'isEnabled'),_0x2e6e3f['set']({'label':t(_0x554b2c?'Footnote':'Insert\x20footnote'),'icon':_0x2f93a8,'tooltip':!0x0}),_0x2e6e3f['on']('execute',()=>{_0x6ee07a['execute'](),_0x3df21b['editing']['view']['focus']();}),_0x2e6e3f;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x40b7(){var _0x4d7f43=['30908Bahtru','4821492owaWzV','140hLVpDg','1873208MxcSmk','18wfiGGV','49iQrldE','44256FJKxoQ','3GJpGcr','3856130Gowfku','4EDJWmF','251277pgKSYk','923604BoQweU'];_0x40b7=function(){return _0x4d7f43;};return _0x40b7();}(function(_0x242c1f,_0x3d1c0c){var _0x4f7d0b=_0x7557,_0x147c5e=_0x242c1f();while(!![]){try{var _0x2c7885=parseInt(_0x4f7d0b(0x91))/0x1+parseInt(_0x4f7d0b(0x93))/0x2*(-parseInt(_0x4f7d0b(0x9a))/0x3)+-parseInt(_0x4f7d0b(0x90))/0x4*(parseInt(_0x4f7d0b(0x9b))/0x5)+-parseInt(_0x4f7d0b(0x99))/0x6*(parseInt(_0x4f7d0b(0x98))/0x7)+parseInt(_0x4f7d0b(0x96))/0x8*(parseInt(_0x4f7d0b(0x97))/0x9)+-parseInt(_0x4f7d0b(0x95))/0xa*(-parseInt(_0x4f7d0b(0x92))/0xb)+-parseInt(_0x4f7d0b(0x94))/0xc;if(_0x2c7885===_0x3d1c0c)break;else _0x147c5e['push'](_0x147c5e['shift']());}catch(_0x5adcd4){_0x147c5e['push'](_0x147c5e['shift']());}}}(_0x40b7,0x9fe7c));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x7557(_0x11e995,_0x63b84f){var _0x40b7f3=_0x40b7();return _0x7557=function(_0x7557dc,_0xf9bfff){_0x7557dc=_0x7557dc-0x90;var _0x2e6701=_0x40b7f3[_0x7557dc];return _0x2e6701;},_0x7557(_0x11e995,_0x63b84f);}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2c8147=_0x9aef;(function(_0x4f218b,_0x4dd5bf){const _0x5c0849=_0x9aef,_0x22c838=_0x4f218b();while(!![]){try{const _0x41bd48=-parseInt(_0x5c0849(0x9c))/0x1+parseInt(_0x5c0849(0x9b))/0x2+parseInt(_0x5c0849(0x8b))/0x3*(-parseInt(_0x5c0849(0x74))/0x4)+parseInt(_0x5c0849(0x77))/0x5*(parseInt(_0x5c0849(0x85))/0x6)+-parseInt(_0x5c0849(0x90))/0x7*(-parseInt(_0x5c0849(0x7b))/0x8)+-parseInt(_0x5c0849(0x93))/0x9*(-parseInt(_0x5c0849(0x8e))/0xa)+-parseInt(_0x5c0849(0x91))/0xb*(parseInt(_0x5c0849(0x79))/0xc);if(_0x41bd48===_0x4dd5bf)break;else _0x22c838['push'](_0x22c838['shift']());}catch(_0x59b850){_0x22c838['push'](_0x22c838['shift']());}}}(_0x2893,0xe106e));function _0x9aef(_0x3578a9,_0x5c65eb){const _0x28934f=_0x2893();return _0x9aef=function(_0x9aef07,_0x37da5d){_0x9aef07=_0x9aef07-0x71;let _0x458412=_0x28934f[_0x9aef07];return _0x458412;},_0x9aef(_0x3578a9,_0x5c65eb);}function _0x2893(){const _0x53b3b8=['nodeAfter','4880095RZvpAQ','set','444120MEXxEh','getChanges','128648TciJRg','from','position','clear','getElementKey','rootName','element','push','slice','has','6TgHQMf','_trackedElements','length','insert','reset','values','438dzzlil','_model','attributes','270PFnAec','$text','693IrJxwr','627GEUycS','_elementName','608211ctIXLG','type','remove','getItems','name','get','add','delete','1968430kUqYDo','1288420aBgCvJ','$graveyard','root','createRangeOn','_getElementKey','elementName','28964gnfdPX','flat'];_0x2893=function(){return _0x53b3b8;};return _0x2893();}export class ModelElementTracker{[_0x2c8147(0x8c)];[_0x2c8147(0x92)];[_0x2c8147(0x72)];[_0x2c8147(0x86)]=new Map();constructor(_0x4fd5ec,_0x116350){const _0x121cd5=_0x2c8147;this[_0x121cd5(0x8c)]=_0x4fd5ec,this[_0x121cd5(0x92)]=_0x116350[_0x121cd5(0x73)],this[_0x121cd5(0x72)]=_0x116350[_0x121cd5(0x7f)];}[_0x2c8147(0x89)](){const _0x284b1b=_0x2c8147;this[_0x284b1b(0x86)][_0x284b1b(0x7e)]();}[_0x2c8147(0x7a)](_0x233d87){const _0x1e3e89=_0x2c8147,_0x51cc14=new Set(),_0x4ffc65=new Map();for(const _0x539289 of _0x233d87){if(_0x1e3e89(0x88)===_0x539289[_0x1e3e89(0x94)]&&_0x1e3e89(0x8f)!==_0x539289[_0x1e3e89(0x97)]&&_0x539289[_0x1e3e89(0x7d)][_0x1e3e89(0x76)]){const _0x13fbbb=this[_0x1e3e89(0x8c)][_0x1e3e89(0x71)](_0x539289[_0x1e3e89(0x7d)][_0x1e3e89(0x76)]);for(const _0xada7bc of _0x13fbbb[_0x1e3e89(0x96)]()){if(!_0xada7bc['is'](_0x1e3e89(0x81),this[_0x1e3e89(0x92)]))continue;const _0x1f365c=this[_0x1e3e89(0x72)](_0xada7bc);_0x4ffc65[_0x1e3e89(0x84)](_0x1f365c)||_0x4ffc65[_0x1e3e89(0x78)](_0x1f365c,[]),_0x4ffc65[_0x1e3e89(0x98)](_0x1f365c)[_0x1e3e89(0x82)](_0xada7bc);}}if(_0x1e3e89(0x95)===_0x539289[_0x1e3e89(0x94)]&&_0x539289[_0x1e3e89(0x97)]===this[_0x1e3e89(0x92)]){const _0x5460e7=this[_0x1e3e89(0x72)]({'getAttribute':_0x51bc1f=>_0x539289[_0x1e3e89(0x8d)][_0x1e3e89(0x98)](_0x51bc1f)});_0x51cc14[_0x1e3e89(0x99)](_0x5460e7);}}for(const [_0x52328f,_0x440c16]of this[_0x1e3e89(0x86)])_0x1e3e89(0x9d)===_0x440c16[_0x1e3e89(0x9e)][_0x1e3e89(0x80)]&&_0x51cc14[_0x1e3e89(0x99)](_0x52328f);for(const _0x50e040 of _0x51cc14)this[_0x1e3e89(0x86)][_0x1e3e89(0x9a)](_0x50e040);for(const [_0x525dbb,_0x2073ca]of _0x4ffc65)this[_0x1e3e89(0x86)][_0x1e3e89(0x78)](_0x525dbb,_0x2073ca[_0x2073ca[_0x1e3e89(0x87)]-0x1]);const _0x18cecd=new Set();for(const [_0x325b2f,_0x3b6e79]of _0x4ffc65)_0x51cc14[_0x1e3e89(0x84)](_0x325b2f)&&(_0x18cecd[_0x1e3e89(0x99)](_0x3b6e79[0x0]),_0x3b6e79[_0x1e3e89(0x87)]>0x1?_0x4ffc65[_0x1e3e89(0x78)](_0x325b2f,_0x3b6e79[_0x1e3e89(0x83)](0x1)):_0x4ffc65[_0x1e3e89(0x9a)](_0x325b2f),_0x51cc14[_0x1e3e89(0x9a)](_0x325b2f));return{'removed':Array[_0x1e3e89(0x7c)](_0x51cc14),'inserted':Array[_0x1e3e89(0x7c)](_0x4ffc65[_0x1e3e89(0x8a)]())[_0x1e3e89(0x75)](),'moved':Array[_0x1e3e89(0x7c)](_0x18cecd)};}}
|