@ckeditor/ckeditor5-footnotes 47.5.0-alpha.4 → 47.5.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x510f63}from'ckeditor5/src/core.js';import{isWidget as _0x4eca2f,toWidget as _0x487142,toWidgetEditable as _0x1d6eb0}from'ckeditor5/src/widget.js';import{uid as _0xb2a8d8}from'ckeditor5/src/utils.js';import{PointerObserver as _0x2a6de7,ClickObserver as _0x1f1675}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x17d4f8}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x49a746}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x510f63{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x17d4f8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x91c47f}=this;_0x91c47f['config']['define']('footnotes.multiBlock',!0x0),_0x91c47f['commands']['add']('insertFootnote',new _0x49a746(_0x91c47f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x390dd9){const _0x390aaa=_0x8d114([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]),_0x50c421=0x47a28506,_0x3f36c4=0x47a50426^_0x50c421,_0x451070=window[_0x8d114([0x44,0x61,0x74,0x65])][_0x8d114([0x6e,0x6f,0x77])](),_0x1fb532=_0x390dd9[_0x8d114([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x87e0e6=new window[(_0x8d114([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a93e4=>{_0x1fb532[_0x8d114([0x6f,0x6e,0x63,0x65])](_0x8d114([0x72,0x65,0x61,0x64,0x79]),_0x1a93e4);}),_0x4303ef={[_0x8d114([0x6b,0x74,0x79])]:_0x8d114([0x45,0x43]),[_0x8d114([0x75,0x73,0x65])]:_0x8d114([0x73,0x69,0x67]),[_0x8d114([0x63,0x72,0x76])]:_0x8d114([0x50,0x2d,0x32,0x35,0x36]),[_0x8d114([0x78])]:_0x8d114([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]),[_0x8d114([0x79])]:_0x8d114([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]),[_0x8d114([0x61,0x6c,0x67])]:_0x8d114([0x45,0x53,0x32,0x35,0x36])},_0x5a8b31=_0x1fb532[_0x8d114([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x8d114([0x67,0x65,0x74])](_0x8d114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x858e62(){let _0x165485,_0x1135dc=null,_0x141214=null;try{if(_0x5a8b31==_0x8d114([0x47,0x50,0x4c]))return _0x8d114([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x165485=_0x356630(),!_0x165485)return _0x8d114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x165485[_0x8d114([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x141214=_0x3b5ad0(_0x165485[_0x8d114([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x165485[_0x8d114([0x6a,0x74,0x69])])),await _0x9d206()?_0x29a11d()?_0x2dfad2()?_0x8d114([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58432d()?(_0x165485[_0x8d114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x8d114([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1135dc=_0x65fb77(_0x8d114([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e92f2()):_0x8d114([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x8d114([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x8d114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x8d114([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2dfad2(){const _0x4be8d4=[_0x8d114([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x8d114([0x74,0x72,0x69,0x61,0x6c])][_0x8d114([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x165485[_0x8d114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x451070/0x3e8:0xe10*_0x3f36c4;return _0x165485[_0x8d114([0x65,0x78,0x70])]<_0x4be8d4;}function _0x29a11d(){const _0x5aa996=_0x165485[_0x8d114([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5aa996&&(!!_0x5aa996[_0x8d114([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d114([0x2a]))||!!_0x5aa996[_0x8d114([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d114([0x46,0x4f,0x4f])));}function _0x58432d(){const _0x1363a1=_0x165485[_0x8d114([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1363a1||0x0==_0x1363a1[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c9676}=new URL(window[_0x8d114([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1363a1[_0x8d114([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c9676))return!0x0;const _0x5339b4=_0x3c9676[_0x8d114([0x73,0x70,0x6c,0x69,0x74])](_0x8d114([0x2e]));return _0x1363a1[_0x8d114([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3aa5fb=>_0x3aa5fb[_0x8d114([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8d114([0x2a])))[_0x8d114([0x6d,0x61,0x70])](_0x388bd7=>_0x388bd7[_0x8d114([0x73,0x70,0x6c,0x69,0x74])](_0x8d114([0x2e])))[_0x8d114([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4aef64=>_0x4aef64[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5339b4[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8d114([0x6d,0x61,0x70])](_0x4f5256=>Array(_0x5339b4[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f5256[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x8d114([0x66,0x69,0x6c,0x6c])](_0x4f5256[0x0]===_0x8d114([0x2a])?_0x8d114([0x2a]):'')[_0x8d114([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f5256))[_0x8d114([0x73,0x6f,0x6d,0x65])](_0x2075d6=>_0x5339b4[_0x8d114([0x65,0x76,0x65,0x72,0x79])]((_0x30fc6e,_0x30c707)=>_0x2075d6[_0x30c707]===_0x30fc6e||_0x2075d6[_0x30c707]===_0x8d114([0x2a])));}function _0x3e92f2(){return _0x1135dc&&_0x141214?new window[(_0x8d114([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x487c85,_0x5a6223)=>{_0x1135dc[_0x8d114([0x74,0x68,0x65,0x6e])](_0x487c85,_0x5a6223),_0x141214[_0x8d114([0x74,0x68,0x65,0x6e])](_0x1f8e78=>{_0x1f8e78!=_0x8d114([0x56,0x61,0x6c,0x69,0x64])&&_0x487c85(_0x1f8e78);},_0x5a6223);}):_0x1135dc||_0x141214||_0x8d114([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b5ad0(_0x3a9373,_0xe42dd5){return new window[(_0x8d114([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d2ea5=>{if(_0x37c0a1())return _0x2d2ea5(_0x8d114([0x56,0x61,0x6c,0x69,0x64]));_0x49b687(),_0x1fb532[_0x8d114([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x8d114([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x539571=!0x1;const _0x1e6332=_0xb2a8d8();function _0x585cf8(_0x35319a){return!!_0x35319a&&(typeof _0x35319a===_0x8d114([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35319a===_0x8d114([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35319a[_0x8d114([0x74,0x68,0x65,0x6e])]===_0x8d114([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35319a[_0x8d114([0x63,0x61,0x74,0x63,0x68])]===_0x8d114([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1cb546(_0x54b9cf){_0x4b3694(_0x54b9cf)[_0x8d114([0x74,0x68,0x65,0x6e])](_0x217b68=>{if(!_0x217b68||_0x217b68[_0x8d114([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x8d114([0x6f,0x6b]))return _0x8d114([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xb05afb(_0x7a1244(_0x1e6332+_0xe42dd5))!=_0x217b68[_0x8d114([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x8d114([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x8d114([0x56,0x61,0x6c,0x69,0x64]);})[_0x8d114([0x74,0x68,0x65,0x6e])](_0x5194c4=>(_0x570aa2(),_0x5194c4),()=>{const _0xf137f0=_0x3341b3();return null==_0xf137f0?(_0x570aa2(),_0x8d114([0x56,0x61,0x6c,0x69,0x64])):_0x8d114(_0x451070-_0xf137f0>(0x63ae0106^_0x50c421)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x8d114([0x74,0x68,0x65,0x6e])](_0x2d2ea5)[_0x8d114([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d2ea5(_0x8d114([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd845f8=0x47946b86^_0x50c421;function _0x570aa2(){const _0x56f04b=_0x8d114([0x6c,0x6c,0x63,0x74,0x2d])+_0xb05afb(_0x7a1244(_0x3a9373)),_0x2bdcdf=_0x151d04(_0xb05afb(window[_0x8d114([0x4d,0x61,0x74,0x68])][_0x8d114([0x63,0x65,0x69,0x6c])](_0x451070/_0xd845f8)));window[_0x8d114([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8d114([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56f04b,_0x2bdcdf);}function _0x3341b3(){const _0x1f09e7=_0x8d114([0x6c,0x6c,0x63,0x74,0x2d])+_0xb05afb(_0x7a1244(_0x3a9373)),_0x1ac9a0=window[_0x8d114([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x8d114([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f09e7);return _0x1ac9a0?window[_0x8d114([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151d04(_0x1ac9a0),0x10)*_0xd845f8:null;}function _0x4b3694(_0x327cc9){return new window[(_0x8d114([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x145e81,_0x229369)=>{_0x327cc9[_0x8d114([0x74,0x68,0x65,0x6e])](_0x145e81,_0x229369),window[_0x8d114([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x229369,0x47a351c6^_0x50c421);});}}_0x1fb532[_0x8d114([0x6f,0x6e])](_0x8d114([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d5cd2,_0x4a2d42)=>{if(_0x4a2d42[0x0]!=_0x3a9373)return _0x2d2ea5(_0x8d114([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a2d42[0x1]={..._0x4a2d42[0x1],[_0x8d114([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e6332};},{[_0x8d114([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8d114([0x68,0x69,0x67,0x68])}),_0x1fb532[_0x8d114([0x6f,0x6e])](_0x8d114([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9e9ab7=>{_0x585cf8(_0x9e9ab7[_0x8d114([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x539571=!0x0,_0x1cb546(_0x9e9ab7[_0x8d114([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x8d114([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x8d114([0x6c,0x6f,0x77])}),_0x87e0e6[_0x8d114([0x74,0x68,0x65,0x6e])](()=>{_0x539571||_0x2d2ea5(_0x8d114([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x37c0a1(){return _0x1fb532[_0x8d114([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8d114([0x76,0x69,0x65,0x77])][_0x8d114([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x8d114([0x61,0x75,0x74,0x6f]);}function _0x49b687(){_0x1fb532[_0x8d114([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8d114([0x76,0x69,0x65,0x77])][_0x8d114([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8d114([0x61,0x75,0x74,0x6f]);}}function _0x65fb77(_0x43864b){const _0x3dcd88=[new window[(_0x8d114([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d19c5=>setTimeout(_0x1d19c5,0x47abbbca^_0x50c421)),_0x87e0e6[_0x8d114([0x74,0x68,0x65,0x6e])](()=>new window[(_0x8d114([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38ca08=>{let _0x3d8544=0x0;_0x1fb532[_0x8d114([0x6d,0x6f,0x64,0x65,0x6c])][_0x8d114([0x6f,0x6e])](_0x8d114([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40fe60,_0x2d0470)=>{_0x2d0470[0x0][_0x8d114([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d8544++,_0x3d8544==(0x47a280ee^_0x50c421)&&(_0x38ca08(),_0x40fe60[_0x8d114([0x6f,0x66,0x66])]());});}))];return window[_0x8d114([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8d114([0x72,0x61,0x63,0x65])](_0x3dcd88)[_0x8d114([0x74,0x68,0x65,0x6e])](()=>_0x43864b);}async function _0x5a4f50(){await _0x87e0e6,_0x1fb532[_0x8d114([0x6d,0x6f,0x64,0x65,0x6c])][_0x8d114([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13a827,_0x1fb532[_0x8d114([0x6d,0x6f,0x64,0x65,0x6c])][_0x8d114([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13a827,_0x1fb532[_0x8d114([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x8d114([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x515403(_0x370cb0){const _0x5aaa47=_0x1f2973();_0x1fb532[_0x5aaa47]=_0x8d114([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x370cb0,_0x370cb0!=_0x8d114([0x56,0x61,0x6c,0x69,0x64])&&_0x5a4f50();}function _0x1f2973(){const _0x47c198=window[_0x8d114([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x8d114([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x8d114([0x6e,0x6f,0x77])]())[_0x8d114([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x8d114([0x2e]),'');let _0x27126f=_0x8d114([0x75]);for(let _0xf3041f=0x0;_0xf3041f<_0x47c198[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf3041f+=0x2){let _0x2111c2=window[_0x8d114([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47c198[_0x8d114([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf3041f,_0xf3041f+0x2));_0x2111c2>=_0x390aaa[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2111c2-=_0x390aaa[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27126f+=_0x390aaa[_0x2111c2];}return _0x27126f;}function _0x356630(){const _0x117c45=_0x5a8b31[_0x8d114([0x73,0x70,0x6c,0x69,0x74])](_0x8d114([0x2e]));if(0x3!=_0x117c45[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x292b6b(_0x117c45[0x1]);function _0x292b6b(_0x29abc5){const _0x327232=_0x21e5f1(_0x29abc5);return _0x327232&&_0x4a64f4()?_0x327232:null;function _0x4a64f4(){const _0x427a19=_0x327232[_0x8d114([0x6a,0x74,0x69])],_0x33a90b=window[_0x8d114([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x427a19[_0x8d114([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x427a19[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5800c7={..._0x327232,[_0x8d114([0x6a,0x74,0x69])]:_0x427a19[_0x8d114([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x427a19[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5800c7[_0x8d114([0x76,0x63])],_0x7a1244(_0x5800c7)==_0x33a90b;}}}async function _0x9d206(){let _0x449b2d=!0x0;try{const _0x426bf3=_0x5a8b31[_0x8d114([0x73,0x70,0x6c,0x69,0x74])](_0x8d114([0x2e])),[_0x351e5e,_0x201c04,_0x5f44ac]=_0x426bf3;return _0x2bd83b(_0x351e5e),await _0xa9da8b(_0x351e5e,_0x201c04,_0x5f44ac),_0x449b2d;}catch{return!0x1;}function _0x2bd83b(_0xa928b){const _0x53cae6=_0x21e5f1(_0xa928b);_0x53cae6&&_0x53cae6[_0x8d114([0x61,0x6c,0x67])]==_0x8d114([0x45,0x53,0x32,0x35,0x36])||(_0x449b2d=!0x1);}async function _0xa9da8b(_0xd31b5d,_0x36d476,_0x392059){const _0x148465=window[_0x8d114([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x8d114([0x66,0x72,0x6f,0x6d])](_0x3eeb29(_0x392059),_0x3c5f5e=>_0x3c5f5e[_0x8d114([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x14f432=new window[(_0x8d114([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x8d114([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd31b5d+_0x8d114([0x2e])+_0x36d476),_0xe19a62=window[_0x8d114([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x8d114([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xe19a62)return;const _0x2af2ec=await _0xe19a62[_0x8d114([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x8d114([0x6a,0x77,0x6b]),_0x4303ef,{[_0x8d114([0x6e,0x61,0x6d,0x65])]:_0x8d114([0x45,0x43,0x44,0x53,0x41]),[_0x8d114([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x8d114([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x8d114([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xe19a62[_0x8d114([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x8d114([0x6e,0x61,0x6d,0x65])]:_0x8d114([0x45,0x43,0x44,0x53,0x41]),[_0x8d114([0x68,0x61,0x73,0x68])]:{[_0x8d114([0x6e,0x61,0x6d,0x65])]:_0x8d114([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2af2ec,_0x148465,_0x14f432)||(_0x449b2d=!0x1);}}function _0x21e5f1(_0x220bb7){return _0x220bb7[_0x8d114([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x8d114([0x65,0x79]))?JSON[_0x8d114([0x70,0x61,0x72,0x73,0x65])](_0x3eeb29(_0x220bb7)):null;}function _0x3eeb29(_0xe211c1){return window[_0x8d114([0x61,0x74,0x6f,0x62])](_0xe211c1[_0x8d114([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x8d114([0x2b]))[_0x8d114([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x8d114([0x2f])));}function _0x7a1244(_0x12d1c6){let _0x1cab52=0x1505;function _0x44d8c4(_0x81fd6e){for(let _0x14b864=0x0;_0x14b864<_0x81fd6e[_0x8d114([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14b864++){const _0x69c10e=_0x81fd6e[_0x8d114([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x14b864);_0x1cab52=(_0x1cab52<<0x5)+_0x1cab52+_0x69c10e,_0x1cab52&=_0x1cab52;}}function _0x1aa26b(_0x1c60e7){Array[_0x8d114([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1c60e7)?_0x1c60e7[_0x8d114([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1aa26b):_0x1c60e7&&typeof _0x1c60e7==_0x8d114([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x8d114([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1c60e7)[_0x8d114([0x73,0x6f,0x72,0x74])]()[_0x8d114([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x207fe5,_0x11684e])=>{_0x44d8c4(_0x207fe5),_0x1aa26b(_0x11684e);}):_0x44d8c4(window[_0x8d114([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1c60e7));}return _0x1aa26b(_0x12d1c6),_0x1cab52>>>0x0;}function _0xb05afb(_0x2cb11b){return _0x2cb11b[_0x8d114([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x8d114([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x8d114([0x30]));}function _0x151d04(_0x22a4fa){return _0x22a4fa[_0x8d114([0x73,0x70,0x6c,0x69,0x74])]('')[_0x8d114([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x8d114([0x6a,0x6f,0x69,0x6e])]('');}function _0x13a827(){}function _0x8d114(_0x2a2038){return _0x2a2038['map'](_0x3e9543=>String['fromCharCode'](_0x3e9543))['join']('');}_0x515403(await _0x858e62());}(this);}['_moveSelectionToFootnoteDefinition'](_0x320572){const {plugins:_0x28a444,editing:_0x2d71ce,model:_0x52b80c}=this['editor'],_0x3120a1=_0x28a444['get'](_0x17d4f8)['getFootnote'](_0x320572);return!!_0x3120a1&&(_0x52b80c['change'](_0x574b1c=>{_0x574b1c['setSelection'](_0x574b1c['createPositionAt'](_0x3120a1['definition'],'end'));}),_0x2d71ce['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x154e6d){const {plugins:_0x127f78,editing:_0x1f283c,model:_0x18d772}=this['editor'],_0x2e51cd=_0x127f78['get'](_0x17d4f8)['getFootnote'](_0x154e6d);return!!_0x2e51cd&&(_0x18d772['change'](_0x17290c=>{_0x17290c['setSelection'](_0x2e51cd['reference'],'on');}),_0x1f283c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x427a2a}=this['editor']['model'],_0x25bc7f=this['editor']['config']['get']('footnotes.multiBlock');_0x427a2a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x427a2a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x427a2a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x25bc7f?_0x427a2a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x427a2a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x427a2a['addChildCheck'](_0x1b82a3=>{for(const _0x35f983 of _0x1b82a3)if('footnoteDefinition'===_0x35f983['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2fd29b}=this,{conversion:_0x1fabfd,editing:_0x22b66e}=_0x2fd29b,{t:t}=_0x2fd29b['locale'];_0x1fabfd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x48f5bd,{writer:_0x6a59ed,consumable:_0xdbe2d2})=>{const _0x9286e0=_0x48f5bd['getChild'](0x0);if(!_0x9286e0||!_0x9286e0['is']('element','a'))return null;const _0x10a6d1=_0x9286e0['getAttribute']('href')||'';if(!_0x10a6d1['startsWith']('#'))return null;const _0x5c14cb=_0x10a6d1['replace'](/^#/,'');if(!_0x5c14cb)return null;_0xdbe2d2['consume'](_0x9286e0,{'name':!0x0,'attributes':['href']});for(const {item:_0x33dfe0}of _0x22b66e['view']['createRangeIn'](_0x9286e0))_0x33dfe0['is']('$textProxy')?_0xdbe2d2['consume'](_0x33dfe0['textNode'],{'name':!0x0}):_0x33dfe0['is']('element')&&_0xdbe2d2['consume'](_0x33dfe0,{'name':!0x0});return _0x6a59ed['createElement']('footnoteRef',{'footnoteId':_0x5c14cb});}}),_0x1fabfd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x31d6a4,{writer:_0x2b5910})=>b(_0x31d6a4,_0x2b5910)}),_0x1fabfd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x357f77,{writer:_0x183e78})=>{const _0x52cbb5=_0x357f77['getAttribute']('footnoteCounter');return _0x487142(b(_0x357f77,_0x183e78),_0x183e78,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x52cbb5)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3d0485}=this,{t:t}=_0x3d0485['locale'],{conversion:_0xcc107a}=_0x3d0485;_0xcc107a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xcc107a['for']('upcast')['add'](_0x252ced=>{_0x252ced['on']('element:ol',(_0x4a1b2a,_0x33a2c0,_0x5ca9c2)=>{const _0x461a40=_0x33a2c0['viewItem'];if(!_0x461a40['hasClass']('footnotes-list')||!_0x33a2c0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5ca9c2['consumable']['consume'](_0x461a40,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x37c4ac,modelCursor:_0x34ae43}=_0x5ca9c2['convertChildren'](_0x33a2c0['viewItem'],_0x33a2c0['modelCursor']);_0x33a2c0['modelRange']=_0x37c4ac,_0x33a2c0['modelCursor']=_0x34ae43;}),_0x252ced['on']('element:hr',(_0x5b5dcb,_0x5ce39f,_0x609422)=>{const _0x26be5d=_0x5ce39f['viewItem'];_0x26be5d['hasClass']('footnotes-divider')&&_0x5ce39f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x609422['consumable']['consume'](_0x26be5d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xcc107a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2cb31d,{writer:_0x46d3ab})=>D(_0x46d3ab)}),_0xcc107a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x508429,{writer:_0x202a9f})=>{const _0x2bbdd0=D(_0x202a9f,{'data-footnotes-list-label':t('Footnotes')}),_0x554523=_0x487142(_0x2bbdd0,_0x202a9f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x202a9f['setCustomProperty']('footnotesDefinitions',!0x0,_0x554523),_0x554523;}});}['_defineDefinitionConverters'](){const {editor:_0x4a6fe0}=this,{conversion:_0x7f67bf,locale:_0x31bcf2}=_0x4a6fe0,_0x7d35c7=_0x4a6fe0['config']['get']('footnotes.multiBlock');_0x7f67bf['for']('upcast')['add'](_0x50dff2=>{_0x50dff2['on']('element:li',(_0x15a39c,_0x372db6,_0x1e19ca)=>{const _0x522605=_0x372db6['viewItem'];if(!_0x522605['hasClass']('footnote-definition')||!_0x522605['getAttribute']('id'))return;const _0x51b7e8=_0x522605['parent'];if(!_0x51b7e8['is']('element','ol')||!_0x51b7e8['hasClass']('footnotes-list'))return;if(!_0x1e19ca['consumable']['test'](_0x522605,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x29e957=_0x1e19ca['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x522605['getAttribute']('id')});if(!_0x1e19ca['safeInsert'](_0x29e957,_0x372db6['modelCursor']))return;_0x1e19ca['consumable']['consume'](_0x522605,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x495d98=Array['from'](_0x522605['getChildren']())['find'](_0x2fa9f5=>_0x2fa9f5['is']('element')&&_0x2fa9f5['hasClass']('footnote-content'));for(const _0x5cdf92 of _0x522605['getChildren']())_0x5cdf92['is']('element')&&(_0x1e19ca['consumable']['consume'](_0x5cdf92,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1e19ca['consumable']['consume'](_0x5cdf92,{'name':!0x0,'classes':'footnote-content'}));if(_0x495d98){if(_0x7d35c7)_0x1e19ca['convertChildren'](_0x495d98,_0x29e957);else{const _0x509958=_0x1e19ca['writer']['createElement']('footnoteInlineContent');_0x1e19ca['writer']['insert'](_0x509958,_0x29e957),_0x1e19ca['convertChildren'](_0x495d98,_0x509958);}}_0x1e19ca['updateConversionResult'](_0x29e957,_0x372db6);});}),_0x7f67bf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47be9c,{writer:_0x2c38df})=>y(_0x47be9c,_0x2c38df,_0x31bcf2,{'dataPipeline':!0x0})}),_0x7f67bf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x46fa52,{writer:_0x3b2f71})=>y(_0x46fa52,_0x3b2f71,_0x31bcf2)});}['_defineBogusParagraphConverters'](){const {editor:_0x19b931}=this,{conversion:_0x1f4467}=_0x19b931;_0x19b931['config']['get']('footnotes.multiBlock')?(_0x1f4467['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1f4467['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19b931['model']['document'],'change:data',()=>{!function(_0x1f237c,_0x3e4267){const _0xe09630=_0x1f237c['document']['differ'],_0x59f5c6=new Set();for(const _0x5e347a of _0xe09630['getChanges']()){const _0x507f6f='attribute'==_0x5e347a['type']?_0x5e347a['range']['start']['parent']:_0x5e347a['position']['parent'];_0x507f6f['is']('element','footnoteDefinition')&&_0x59f5c6['add'](_0x507f6f);}for(const _0x82fdd6 of _0x59f5c6['values']()){const _0x59189e=Array['from'](_0x82fdd6['getChildren']())['filter'](_0x178fe5=>v(_0x178fe5,_0x3e4267['mapper']));for(const _0x2f6c23 of _0x59189e)_0x3e4267['reconvertItem'](_0x2f6c23);}}(_0x19b931['model'],_0x19b931['editing']);})):(_0x1f4467['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1f4467['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5d8256,{writer:_0x29a097})=>{const _0x3db06a=_0x29a097['createContainerElement']('span');return _0x29a097['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3db06a),_0x3db06a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x14ea7c}=this,{editing:_0x2e0110,t:t}=_0x14ea7c,_0x983c63=_0x14ea7c['model']['document']['selection'];_0x14ea7c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x14ea7c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2e0110['view']['document'],'enter',(_0x4e2d65,_0x520922)=>{const _0x1e7484=function(_0x282e07){const _0xeade64=_0x282e07['getSelectedElement']();if(_0xeade64?.['is']('element','footnoteRef'))return _0xeade64;return null;}(_0x983c63);if(_0x1e7484){const _0x44b37f=_0x1e7484['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x44b37f),_0x520922['preventDefault'](),_0x4e2d65['stop']();}},{'context':_0x4eca2f});}['_defineClickHandlers'](){const {editor:_0x3dae91}=this,{editing:_0x22efab}=_0x3dae91;_0x3dae91['editing']['view']['addObserver'](_0x2a6de7),_0x3dae91['editing']['view']['addObserver'](_0x1f1675);let _0x35da08=!0x1;this['listenTo'](_0x22efab['view']['document'],'pointerdown',(_0x4b16fb,_0x35bc0c)=>{const {target:_0x3f7902}=_0x35bc0c,_0x1acbd8=_0x22efab['view']['document']['selection'];_0x35da08=!!(_0x3f7902?.['is']('element','a')&&_0x3f7902['parent']?.['is']('element','sup')&&_0x3f7902['parent']['hasClass']('footnote'))&&_0x1acbd8['getSelectedElement']()===_0x3f7902['parent'];},{'priority':'high'}),this['listenTo'](_0x22efab['view']['document'],'click',(_0x5e8f43,_0x4cc201)=>{const {target:_0x16d236}=_0x4cc201;if(!_0x16d236?.['is']('element','a'))return;if(_0x16d236['parent']?.['is']('element','sup')&&_0x16d236['parent']['hasClass']('footnote')&&!_0x35da08)return void _0x4cc201['preventDefault']();let _0x2144c4=_0x16d236['getAttribute']('href');if(!_0x2144c4?.['startsWith']('#'))return;_0x2144c4=_0x2144c4['slice'](0x1);let _0x308b25=!0x1;(_0x2144c4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2144c4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2144c4))&&(_0x308b25=!0x0),_0x308b25&&(_0x4cc201['preventDefault'](),_0x5e8f43['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1aa7e6}={}){return(_0x4c200f,{writer:_0x45f3c9})=>{if(!g(_0x4c200f))return null;if(!_0x1aa7e6)return _0x45f3c9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4b45e5=_0x45f3c9['createContainerElement']('p');return _0x45f3c9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4b45e5),_0x4b45e5;};}function g(_0x185bba){const {parent:_0x5d7786}=_0x185bba;if(!_0x5d7786?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5d7786['childCount'])return!0x1;for(const _0x6cfe4d of _0x185bba['getAttributeKeys']())if(!_0x6cfe4d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x6cfe4d)return!0x1;return!0x0;}function v(_0x2f7775,_0x140e89){if(!_0x2f7775['is']('element','paragraph'))return!0x1;const _0x2b2caa=_0x140e89['toViewElement'](_0x2f7775);return!!_0x2b2caa&&g(_0x2f7775)!==_0x2b2caa['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x20b994){return _0x4eca2f(_0x20b994)&&_0x20b994['is']('containerElement')&&!!_0x20b994['getCustomProperty']('footnotesDefinitions');}function D(_0x30242e,_0x49ed1b={}){const _0x3a0208=_0x30242e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1876ab=_0x30242e['createContainerElement']('ol',{'class':'footnotes-list'},_0x30242e['createSlot']());return _0x30242e['createContainerElement']('div',{'class':'footnotes',..._0x49ed1b},[_0x3a0208,_0x1876ab]);}function b(_0x57e83b,_0xf9d3f7){const _0x8f4fb=_0x57e83b['getAttribute']('footnoteId'),_0x5a4e4a=_0x57e83b['getAttribute']('footnoteCounter'),_0x437b1e=_0xf9d3f7['createUIElement']('a',{'href':'#'+_0x8f4fb},function(_0x5d1bc4){const _0x401e10=this['toDomElement'](_0x5d1bc4);return _0x401e10['textContent']=_0x5a4e4a,_0x401e10;}),_0x217fdd=_0xf9d3f7['createContainerElement']('sup',{'id':'ref-'+_0x8f4fb,'class':'footnote'},[_0x437b1e]);return _0x217fdd['getFillerOffset']=()=>null,_0x217fdd;}function y(_0x370b90,_0x33a962,_0x2f0de5,{dataPipeline:_0x5ea8a6}={}){const {t:t}=_0x2f0de5,_0x1b1d5e=_0x370b90['getAttribute']('footnoteId'),_0x8ec6=_0x33a962['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1b1d5e},function(_0x3a9190){const _0x13380e=this['toDomElement'](_0x3a9190);return _0x13380e['innerText']='^',_0x13380e;}),_0x42bac5=_0x5ea8a6?_0x33a962['createContainerElement']('div',{'class':'footnote-content'}):_0x1d6eb0(_0x33a962['createEditableElement']('div',{'class':'footnote-content'}),_0x33a962,{'label':t('Footnote\x20content.')});return _0x33a962['insert'](_0x33a962['createPositionAt'](_0x42bac5,0x0),_0x33a962['createSlot']()),_0x33a962['createContainerElement']('li',{'class':'footnote-definition','id':_0x1b1d5e},[_0x8ec6,_0x42bac5]);}
|
|
23
|
+
import{Plugin as _0x5e412}from'ckeditor5/src/core.js';import{isWidget as _0x4c44d1,toWidget as _0x54a6a1,toWidgetEditable as _0x2d194a}from'ckeditor5/src/widget.js';import{uid as _0x28c2d6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x277f7a,ClickObserver as _0x45738c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x26bfa6}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x20fca5}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5e412{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x26bfa6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x141098}=this;_0x141098['config']['define']('footnotes.multiBlock',!0x0),_0x141098['commands']['add']('insertFootnote',new _0x20fca5(_0x141098)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x9ebd1c){const _0x25b922=_0x33fd39([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]),_0x41bc41=0x47a28506,_0x2d1378=0x47a5043e^_0x41bc41,_0x3c79fe=window[_0x33fd39([0x44,0x61,0x74,0x65])][_0x33fd39([0x6e,0x6f,0x77])](),_0x1829c0=_0x9ebd1c[_0x33fd39([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10bb9e=new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x133539=>{_0x1829c0[_0x33fd39([0x6f,0x6e,0x63,0x65])](_0x33fd39([0x72,0x65,0x61,0x64,0x79]),_0x133539);}),_0x2d6c3b={[_0x33fd39([0x6b,0x74,0x79])]:_0x33fd39([0x45,0x43]),[_0x33fd39([0x75,0x73,0x65])]:_0x33fd39([0x73,0x69,0x67]),[_0x33fd39([0x63,0x72,0x76])]:_0x33fd39([0x50,0x2d,0x32,0x35,0x36]),[_0x33fd39([0x78])]:_0x33fd39([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]),[_0x33fd39([0x79])]:_0x33fd39([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]),[_0x33fd39([0x61,0x6c,0x67])]:_0x33fd39([0x45,0x53,0x32,0x35,0x36])},_0x1dd515=_0x1829c0[_0x33fd39([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33fd39([0x67,0x65,0x74])](_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x527e10(){let _0x338c38,_0x31577c=null,_0x35adf1=null;try{if(_0x1dd515==_0x33fd39([0x47,0x50,0x4c]))return _0x33fd39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x338c38=_0x277d0f(),!_0x338c38)return _0x33fd39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x338c38[_0x33fd39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35adf1=_0x36422c(_0x338c38[_0x33fd39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x338c38[_0x33fd39([0x6a,0x74,0x69])])),await _0x2e8cf0()?_0x172be6()?_0x1c01ca()?_0x33fd39([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53fd45()?(_0x338c38[_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33fd39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31577c=_0x642759(_0x33fd39([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x581c48()):_0x33fd39([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33fd39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33fd39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33fd39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c01ca(){const _0x171dd9=[_0x33fd39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33fd39([0x74,0x72,0x69,0x61,0x6c])][_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338c38[_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c79fe/0x3e8:0xe10*_0x2d1378;return _0x338c38[_0x33fd39([0x65,0x78,0x70])]<_0x171dd9;}function _0x172be6(){const _0x3056fc=_0x338c38[_0x33fd39([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3056fc&&(!!_0x3056fc[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33fd39([0x2a]))||!!_0x3056fc[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33fd39([0x46,0x4f,0x4f])));}function _0x53fd45(){const _0x51f95d=_0x338c38[_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51f95d||0x0==_0x51f95d[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35b416}=new URL(window[_0x33fd39([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x51f95d[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b416))return!0x0;const _0x5e3f39=_0x35b416[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e]));return _0x51f95d[_0x33fd39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x226880=>_0x226880[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33fd39([0x2a])))[_0x33fd39([0x6d,0x61,0x70])](_0x27b1fe=>_0x27b1fe[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e])))[_0x33fd39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6ea89d=>_0x6ea89d[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e3f39[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33fd39([0x6d,0x61,0x70])](_0x520d98=>Array(_0x5e3f39[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x520d98[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33fd39([0x66,0x69,0x6c,0x6c])](_0x520d98[0x0]===_0x33fd39([0x2a])?_0x33fd39([0x2a]):'')[_0x33fd39([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x520d98))[_0x33fd39([0x73,0x6f,0x6d,0x65])](_0x4e1310=>_0x5e3f39[_0x33fd39([0x65,0x76,0x65,0x72,0x79])]((_0xd94146,_0x2df942)=>_0x4e1310[_0x2df942]===_0xd94146||_0x4e1310[_0x2df942]===_0x33fd39([0x2a])));}function _0x581c48(){return _0x31577c&&_0x35adf1?new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e55e0,_0x4dbce2)=>{_0x31577c[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x2e55e0,_0x4dbce2),_0x35adf1[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x926230=>{_0x926230!=_0x33fd39([0x56,0x61,0x6c,0x69,0x64])&&_0x2e55e0(_0x926230);},_0x4dbce2);}):_0x31577c||_0x35adf1||_0x33fd39([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36422c(_0x4b0443,_0x19bfc3){return new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7beb81=>{if(_0x170e4a())return _0x7beb81(_0x33fd39([0x56,0x61,0x6c,0x69,0x64]));_0x2b223a(),_0x1829c0[_0x33fd39([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33fd39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c8431=!0x1;const _0x21c2c7=_0x28c2d6();function _0x57e102(_0x34cb16){return!!_0x34cb16&&(typeof _0x34cb16===_0x33fd39([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34cb16===_0x33fd39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34cb16[_0x33fd39([0x74,0x68,0x65,0x6e])]===_0x33fd39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34cb16[_0x33fd39([0x63,0x61,0x74,0x63,0x68])]===_0x33fd39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27aae3(_0x4ff1b2){_0x159b9d(_0x4ff1b2)[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x1babb9=>{if(!_0x1babb9||_0x1babb9[_0x33fd39([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33fd39([0x6f,0x6b]))return _0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29b830(_0x40b252(_0x21c2c7+_0x19bfc3))!=_0x1babb9[_0x33fd39([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33fd39([0x56,0x61,0x6c,0x69,0x64]);})[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x417bbe=>(_0x5ad0c5(),_0x417bbe),()=>{const _0x1ad3e3=_0x43c30b();return null==_0x1ad3e3?(_0x5ad0c5(),_0x33fd39([0x56,0x61,0x6c,0x69,0x64])):_0x33fd39(_0x3c79fe-_0x1ad3e3>(0x63ae0106^_0x41bc41)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x7beb81)[_0x33fd39([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7beb81(_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28841f=0x47946b86^_0x41bc41;function _0x5ad0c5(){const _0x1e732a=_0x33fd39([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b830(_0x40b252(_0x4b0443)),_0x433bb8=_0x2cb8f1(_0x29b830(window[_0x33fd39([0x4d,0x61,0x74,0x68])][_0x33fd39([0x63,0x65,0x69,0x6c])](_0x3c79fe/_0x28841f)));window[_0x33fd39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33fd39([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e732a,_0x433bb8);}function _0x43c30b(){const _0x1164b3=_0x33fd39([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b830(_0x40b252(_0x4b0443)),_0x5ad922=window[_0x33fd39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33fd39([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1164b3);return _0x5ad922?window[_0x33fd39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb8f1(_0x5ad922),0x10)*_0x28841f:null;}function _0x159b9d(_0x3aa020){return new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38c71c,_0x4e4d09)=>{_0x3aa020[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x38c71c,_0x4e4d09),window[_0x33fd39([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e4d09,0x47a351c6^_0x41bc41);});}}_0x1829c0[_0x33fd39([0x6f,0x6e])](_0x33fd39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1272b3,_0x377fd6)=>{if(_0x377fd6[0x0]!=_0x4b0443)return _0x7beb81(_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x377fd6[0x1]={..._0x377fd6[0x1],[_0x33fd39([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21c2c7};},{[_0x33fd39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33fd39([0x68,0x69,0x67,0x68])}),_0x1829c0[_0x33fd39([0x6f,0x6e])](_0x33fd39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5da518=>{_0x57e102(_0x5da518[_0x33fd39([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c8431=!0x0,_0x27aae3(_0x5da518[_0x33fd39([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33fd39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33fd39([0x6c,0x6f,0x77])}),_0x10bb9e[_0x33fd39([0x74,0x68,0x65,0x6e])](()=>{_0x1c8431||_0x7beb81(_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x170e4a(){return _0x1829c0[_0x33fd39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33fd39([0x76,0x69,0x65,0x77])][_0x33fd39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33fd39([0x61,0x75,0x74,0x6f]);}function _0x2b223a(){_0x1829c0[_0x33fd39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33fd39([0x76,0x69,0x65,0x77])][_0x33fd39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33fd39([0x61,0x75,0x74,0x6f]);}}function _0x642759(_0x2859e3){const _0x446f70=[new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x202a7d=>setTimeout(_0x202a7d,0x47abbbca^_0x41bc41)),_0x10bb9e[_0x33fd39([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5de764=>{let _0x254247=0x0;_0x1829c0[_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c])][_0x33fd39([0x6f,0x6e])](_0x33fd39([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24602a,_0x43c804)=>{_0x43c804[0x0][_0x33fd39([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x254247++,_0x254247==(0x47a280ee^_0x41bc41)&&(_0x5de764(),_0x24602a[_0x33fd39([0x6f,0x66,0x66])]());});}))];return window[_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33fd39([0x72,0x61,0x63,0x65])](_0x446f70)[_0x33fd39([0x74,0x68,0x65,0x6e])](()=>_0x2859e3);}async function _0x10d792(){await _0x10bb9e,_0x1829c0[_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c])][_0x33fd39([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc62f41,_0x1829c0[_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c])][_0x33fd39([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc62f41,_0x1829c0[_0x33fd39([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10679f(_0xf1d6fc){const _0x229cda=_0x29c6d9();_0x1829c0[_0x229cda]=_0x33fd39([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf1d6fc,_0xf1d6fc!=_0x33fd39([0x56,0x61,0x6c,0x69,0x64])&&_0x10d792();}function _0x29c6d9(){const _0x3fabe9=window[_0x33fd39([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33fd39([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33fd39([0x6e,0x6f,0x77])]())[_0x33fd39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33fd39([0x2e]),'');let _0x2a8144=_0x33fd39([0x75]);for(let _0x1f0701=0x0;_0x1f0701<_0x3fabe9[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f0701+=0x2){let _0x19bcd5=window[_0x33fd39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fabe9[_0x33fd39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f0701,_0x1f0701+0x2));_0x19bcd5>=_0x25b922[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19bcd5-=_0x25b922[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a8144+=_0x25b922[_0x19bcd5];}return _0x2a8144;}function _0x277d0f(){const _0x34e7ec=_0x1dd515[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e]));if(0x3!=_0x34e7ec[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x560d67(_0x34e7ec[0x1]);function _0x560d67(_0x28e400){const _0x30cb5d=_0x41e753(_0x28e400);return _0x30cb5d&&_0x15a646()?_0x30cb5d:null;function _0x15a646(){const _0x4e6b32=_0x30cb5d[_0x33fd39([0x6a,0x74,0x69])],_0x2ac871=window[_0x33fd39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e6b32[_0x33fd39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e6b32[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e9414={..._0x30cb5d,[_0x33fd39([0x6a,0x74,0x69])]:_0x4e6b32[_0x33fd39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e6b32[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e9414[_0x33fd39([0x76,0x63])],_0x40b252(_0x4e9414)==_0x2ac871;}}}async function _0x2e8cf0(){let _0x31138c=!0x0;try{const _0xd05ddf=_0x1dd515[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e])),[_0x4aea61,_0x49808a,_0x83cd8a]=_0xd05ddf;return _0x535774(_0x4aea61),await _0x7a6ca7(_0x4aea61,_0x49808a,_0x83cd8a),_0x31138c;}catch{return!0x1;}function _0x535774(_0x1d033f){const _0x5a8a2b=_0x41e753(_0x1d033f);_0x5a8a2b&&_0x5a8a2b[_0x33fd39([0x61,0x6c,0x67])]==_0x33fd39([0x45,0x53,0x32,0x35,0x36])||(_0x31138c=!0x1);}async function _0x7a6ca7(_0x4f229a,_0x48d1d4,_0x5aac76){const _0x4c581e=window[_0x33fd39([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33fd39([0x66,0x72,0x6f,0x6d])](_0x4693fe(_0x5aac76),_0x23a4cf=>_0x23a4cf[_0x33fd39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2018a7=new window[(_0x33fd39([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33fd39([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f229a+_0x33fd39([0x2e])+_0x48d1d4),_0x131247=window[_0x33fd39([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33fd39([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x131247)return;const _0x704553=await _0x131247[_0x33fd39([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33fd39([0x6a,0x77,0x6b]),_0x2d6c3b,{[_0x33fd39([0x6e,0x61,0x6d,0x65])]:_0x33fd39([0x45,0x43,0x44,0x53,0x41]),[_0x33fd39([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33fd39([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33fd39([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x131247[_0x33fd39([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33fd39([0x6e,0x61,0x6d,0x65])]:_0x33fd39([0x45,0x43,0x44,0x53,0x41]),[_0x33fd39([0x68,0x61,0x73,0x68])]:{[_0x33fd39([0x6e,0x61,0x6d,0x65])]:_0x33fd39([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x704553,_0x4c581e,_0x2018a7)||(_0x31138c=!0x1);}}function _0x41e753(_0x18d699){return _0x18d699[_0x33fd39([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33fd39([0x65,0x79]))?JSON[_0x33fd39([0x70,0x61,0x72,0x73,0x65])](_0x4693fe(_0x18d699)):null;}function _0x4693fe(_0x5893af){return window[_0x33fd39([0x61,0x74,0x6f,0x62])](_0x5893af[_0x33fd39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33fd39([0x2b]))[_0x33fd39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33fd39([0x2f])));}function _0x40b252(_0x293b21){let _0x587861=0x1505;function _0xbf058b(_0x178519){for(let _0x7299e3=0x0;_0x7299e3<_0x178519[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7299e3++){const _0x25d9f9=_0x178519[_0x33fd39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7299e3);_0x587861=(_0x587861<<0x5)+_0x587861+_0x25d9f9,_0x587861&=_0x587861;}}function _0x25a5cb(_0x163f0a){Array[_0x33fd39([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x163f0a)?_0x163f0a[_0x33fd39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25a5cb):_0x163f0a&&typeof _0x163f0a==_0x33fd39([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33fd39([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x163f0a)[_0x33fd39([0x73,0x6f,0x72,0x74])]()[_0x33fd39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58db53,_0x5822a0])=>{_0xbf058b(_0x58db53),_0x25a5cb(_0x5822a0);}):_0xbf058b(window[_0x33fd39([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x163f0a));}return _0x25a5cb(_0x293b21),_0x587861>>>0x0;}function _0x29b830(_0xf14f9c){return _0xf14f9c[_0x33fd39([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33fd39([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33fd39([0x30]));}function _0x2cb8f1(_0x550cfa){return _0x550cfa[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33fd39([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33fd39([0x6a,0x6f,0x69,0x6e])]('');}function _0xc62f41(){}function _0x33fd39(_0xf902c3){return _0xf902c3['map'](_0x31776e=>String['fromCharCode'](_0x31776e))['join']('');}_0x10679f(await _0x527e10());}(this);}['_moveSelectionToFootnoteDefinition'](_0x14909c){const {plugins:_0x2d25a7,editing:_0x3e78ed,model:_0x20000a}=this['editor'],_0x97a7e4=_0x2d25a7['get'](_0x26bfa6)['getFootnote'](_0x14909c);return!!_0x97a7e4&&(_0x20000a['change'](_0x5345f0=>{_0x5345f0['setSelection'](_0x5345f0['createPositionAt'](_0x97a7e4['definition'],'end'));}),_0x3e78ed['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x7c1e43){const {plugins:_0x13de86,editing:_0x2fc2d2,model:_0x16d714}=this['editor'],_0xa2b7b2=_0x13de86['get'](_0x26bfa6)['getFootnote'](_0x7c1e43);return!!_0xa2b7b2&&(_0x16d714['change'](_0x5ab0be=>{_0x5ab0be['setSelection'](_0xa2b7b2['reference'],'on');}),_0x2fc2d2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x29afdc}=this['editor']['model'],_0x48a7ca=this['editor']['config']['get']('footnotes.multiBlock');_0x29afdc['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x29afdc['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x29afdc['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x48a7ca?_0x29afdc['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x29afdc['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x29afdc['addChildCheck'](_0x5e1836=>{for(const _0x2b2bc3 of _0x5e1836)if('footnoteDefinition'===_0x2b2bc3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5f0156}=this,{conversion:_0x715085,editing:_0x284894}=_0x5f0156,{t:t}=_0x5f0156['locale'];_0x715085['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x52b157,{writer:_0x1a719c,consumable:_0x1d1c96})=>{const _0x3c8323=_0x52b157['getChild'](0x0);if(!_0x3c8323||!_0x3c8323['is']('element','a'))return null;const _0xbd32aa=_0x3c8323['getAttribute']('href')||'';if(!_0xbd32aa['startsWith']('#'))return null;const _0x5daf12=_0xbd32aa['replace'](/^#/,'');if(!_0x5daf12)return null;_0x1d1c96['consume'](_0x3c8323,{'name':!0x0,'attributes':['href']});for(const {item:_0x2be457}of _0x284894['view']['createRangeIn'](_0x3c8323))_0x2be457['is']('$textProxy')?_0x1d1c96['consume'](_0x2be457['textNode'],{'name':!0x0}):_0x2be457['is']('element')&&_0x1d1c96['consume'](_0x2be457,{'name':!0x0});return _0x1a719c['createElement']('footnoteRef',{'footnoteId':_0x5daf12});}}),_0x715085['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e09a8,{writer:_0x3525f4})=>b(_0x3e09a8,_0x3525f4)}),_0x715085['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x33c1b1,{writer:_0x4173c9})=>{const _0x5f1fc4=_0x33c1b1['getAttribute']('footnoteCounter');return _0x54a6a1(b(_0x33c1b1,_0x4173c9),_0x4173c9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5f1fc4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c0dc8}=this,{t:t}=_0x5c0dc8['locale'],{conversion:_0x176378}=_0x5c0dc8;_0x176378['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x176378['for']('upcast')['add'](_0x5d64c1=>{_0x5d64c1['on']('element:ol',(_0x3e0e57,_0x3699d7,_0x49889e)=>{const _0x1bc611=_0x3699d7['viewItem'];if(!_0x1bc611['hasClass']('footnotes-list')||!_0x3699d7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x49889e['consumable']['consume'](_0x1bc611,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x50c6ce,modelCursor:_0x5938a5}=_0x49889e['convertChildren'](_0x3699d7['viewItem'],_0x3699d7['modelCursor']);_0x3699d7['modelRange']=_0x50c6ce,_0x3699d7['modelCursor']=_0x5938a5;}),_0x5d64c1['on']('element:hr',(_0x3126f1,_0xbbefbe,_0x3cff3f)=>{const _0x2c2dce=_0xbbefbe['viewItem'];_0x2c2dce['hasClass']('footnotes-divider')&&_0xbbefbe['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3cff3f['consumable']['consume'](_0x2c2dce,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x176378['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4e08e7,{writer:_0x405c64})=>D(_0x405c64)}),_0x176378['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4fc4e5,{writer:_0x5b552e})=>{const _0x48b1b9=D(_0x5b552e,{'data-footnotes-list-label':t('Footnotes')}),_0x21457e=_0x54a6a1(_0x48b1b9,_0x5b552e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5b552e['setCustomProperty']('footnotesDefinitions',!0x0,_0x21457e),_0x21457e;}});}['_defineDefinitionConverters'](){const {editor:_0x3cc634}=this,{conversion:_0x506690,locale:_0x33f4ad}=_0x3cc634,_0xefef5c=_0x3cc634['config']['get']('footnotes.multiBlock');_0x506690['for']('upcast')['add'](_0x58e1d9=>{_0x58e1d9['on']('element:li',(_0x4bcdde,_0x4e7c6d,_0x185243)=>{const _0x5c1597=_0x4e7c6d['viewItem'];if(!_0x5c1597['hasClass']('footnote-definition')||!_0x5c1597['getAttribute']('id'))return;const _0x12b647=_0x5c1597['parent'];if(!_0x12b647['is']('element','ol')||!_0x12b647['hasClass']('footnotes-list'))return;if(!_0x185243['consumable']['test'](_0x5c1597,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1d7918=_0x185243['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5c1597['getAttribute']('id')});if(!_0x185243['safeInsert'](_0x1d7918,_0x4e7c6d['modelCursor']))return;_0x185243['consumable']['consume'](_0x5c1597,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4f84b2=Array['from'](_0x5c1597['getChildren']())['find'](_0x5c7294=>_0x5c7294['is']('element')&&_0x5c7294['hasClass']('footnote-content'));for(const _0x1a8b94 of _0x5c1597['getChildren']())_0x1a8b94['is']('element')&&(_0x185243['consumable']['consume'](_0x1a8b94,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x185243['consumable']['consume'](_0x1a8b94,{'name':!0x0,'classes':'footnote-content'}));if(_0x4f84b2){if(_0xefef5c)_0x185243['convertChildren'](_0x4f84b2,_0x1d7918);else{const _0x43a267=_0x185243['writer']['createElement']('footnoteInlineContent');_0x185243['writer']['insert'](_0x43a267,_0x1d7918),_0x185243['convertChildren'](_0x4f84b2,_0x43a267);}}_0x185243['updateConversionResult'](_0x1d7918,_0x4e7c6d);});}),_0x506690['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x17c8bb,{writer:_0x5c837d})=>y(_0x17c8bb,_0x5c837d,_0x33f4ad,{'dataPipeline':!0x0})}),_0x506690['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xe23bd2,{writer:_0xe2517b})=>y(_0xe23bd2,_0xe2517b,_0x33f4ad)});}['_defineBogusParagraphConverters'](){const {editor:_0x42bbd4}=this,{conversion:_0x14d495}=_0x42bbd4;_0x42bbd4['config']['get']('footnotes.multiBlock')?(_0x14d495['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x14d495['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x42bbd4['model']['document'],'change:data',()=>{!function(_0x36e61d,_0x4895bf){const _0x426529=_0x36e61d['document']['differ'],_0x4da729=new Set();for(const _0x370937 of _0x426529['getChanges']()){const _0x39cca5='attribute'==_0x370937['type']?_0x370937['range']['start']['parent']:_0x370937['position']['parent'];_0x39cca5['is']('element','footnoteDefinition')&&_0x4da729['add'](_0x39cca5);}for(const _0x377819 of _0x4da729['values']()){const _0x2d8333=Array['from'](_0x377819['getChildren']())['filter'](_0x1b518e=>v(_0x1b518e,_0x4895bf['mapper']));for(const _0xe4e814 of _0x2d8333)_0x4895bf['reconvertItem'](_0xe4e814);}}(_0x42bbd4['model'],_0x42bbd4['editing']);})):(_0x14d495['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x14d495['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x22cc15,{writer:_0x48494b})=>{const _0x1234be=_0x48494b['createContainerElement']('span');return _0x48494b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1234be),_0x1234be;}}));}['_defineKeyboardHandlers'](){const {editor:_0x28b8bf}=this,{editing:_0x38bbfe,t:t}=_0x28b8bf,_0x290117=_0x28b8bf['model']['document']['selection'];_0x28b8bf['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x28b8bf['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x38bbfe['view']['document'],'enter',(_0x20a764,_0x742d9b)=>{const _0x13d57a=function(_0x2695f5){const _0x18dfc1=_0x2695f5['getSelectedElement']();if(_0x18dfc1?.['is']('element','footnoteRef'))return _0x18dfc1;return null;}(_0x290117);if(_0x13d57a){const _0x198754=_0x13d57a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x198754),_0x742d9b['preventDefault'](),_0x20a764['stop']();}},{'context':_0x4c44d1});}['_defineClickHandlers'](){const {editor:_0x1b74d6}=this,{editing:_0x3e3bb4}=_0x1b74d6;_0x1b74d6['editing']['view']['addObserver'](_0x277f7a),_0x1b74d6['editing']['view']['addObserver'](_0x45738c);let _0x1538ea=!0x1;this['listenTo'](_0x3e3bb4['view']['document'],'pointerdown',(_0x2f6112,_0x14e97e)=>{const {target:_0xcf4f02}=_0x14e97e,_0x44f7f4=_0x3e3bb4['view']['document']['selection'];_0x1538ea=!!(_0xcf4f02?.['is']('element','a')&&_0xcf4f02['parent']?.['is']('element','sup')&&_0xcf4f02['parent']['hasClass']('footnote'))&&_0x44f7f4['getSelectedElement']()===_0xcf4f02['parent'];},{'priority':'high'}),this['listenTo'](_0x3e3bb4['view']['document'],'click',(_0x48bab8,_0x4bbdd1)=>{const {target:_0x480895}=_0x4bbdd1;if(!_0x480895?.['is']('element','a'))return;if(_0x480895['parent']?.['is']('element','sup')&&_0x480895['parent']['hasClass']('footnote')&&!_0x1538ea)return void _0x4bbdd1['preventDefault']();let _0xcf55c1=_0x480895['getAttribute']('href');if(!_0xcf55c1?.['startsWith']('#'))return;_0xcf55c1=_0xcf55c1['slice'](0x1);let _0x219c89=!0x1;(_0xcf55c1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xcf55c1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xcf55c1))&&(_0x219c89=!0x0),_0x219c89&&(_0x4bbdd1['preventDefault'](),_0x48bab8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3ec0dc}={}){return(_0x12653c,{writer:_0x18c3a9})=>{if(!g(_0x12653c))return null;if(!_0x3ec0dc)return _0x18c3a9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x180b95=_0x18c3a9['createContainerElement']('p');return _0x18c3a9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x180b95),_0x180b95;};}function g(_0xda9c59){const {parent:_0x51f912}=_0xda9c59;if(!_0x51f912?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x51f912['childCount'])return!0x1;for(const _0x48bd1b of _0xda9c59['getAttributeKeys']())if(!_0x48bd1b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x48bd1b)return!0x1;return!0x0;}function v(_0x36fb34,_0x5d356f){if(!_0x36fb34['is']('element','paragraph'))return!0x1;const _0x15e0c6=_0x5d356f['toViewElement'](_0x36fb34);return!!_0x15e0c6&&g(_0x36fb34)!==_0x15e0c6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x400d9f){return _0x4c44d1(_0x400d9f)&&_0x400d9f['is']('containerElement')&&!!_0x400d9f['getCustomProperty']('footnotesDefinitions');}function D(_0x15d7e8,_0x2b514b={}){const _0x8f3086=_0x15d7e8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5948f6=_0x15d7e8['createContainerElement']('ol',{'class':'footnotes-list'},_0x15d7e8['createSlot']());return _0x15d7e8['createContainerElement']('div',{'class':'footnotes',..._0x2b514b},[_0x8f3086,_0x5948f6]);}function b(_0x1140f1,_0x4046d4){const _0x27e1b1=_0x1140f1['getAttribute']('footnoteId'),_0xf9277=_0x1140f1['getAttribute']('footnoteCounter'),_0x2905bd=_0x4046d4['createUIElement']('a',{'href':'#'+_0x27e1b1},function(_0xd18f75){const _0x2e83ce=this['toDomElement'](_0xd18f75);return _0x2e83ce['textContent']=_0xf9277,_0x2e83ce;}),_0x245b67=_0x4046d4['createContainerElement']('sup',{'id':'ref-'+_0x27e1b1,'class':'footnote'},[_0x2905bd]);return _0x245b67['getFillerOffset']=()=>null,_0x245b67;}function y(_0x1d646b,_0x2f60ba,_0x1c5fae,{dataPipeline:_0x276a43}={}){const {t:t}=_0x1c5fae,_0x2a6985=_0x1d646b['getAttribute']('footnoteId'),_0xca7a2a=_0x2f60ba['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2a6985},function(_0x1989fe){const _0x238229=this['toDomElement'](_0x1989fe);return _0x238229['innerText']='^',_0x238229;}),_0x1d7a11=_0x276a43?_0x2f60ba['createContainerElement']('div',{'class':'footnote-content'}):_0x2d194a(_0x2f60ba['createEditableElement']('div',{'class':'footnote-content'}),_0x2f60ba,{'label':t('Footnote\x20content.')});return _0x2f60ba['insert'](_0x2f60ba['createPositionAt'](_0x1d7a11,0x0),_0x2f60ba['createSlot']()),_0x2f60ba['createContainerElement']('li',{'class':'footnote-definition','id':_0x2a6985},[_0xca7a2a,_0x1d7a11]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2f664d=_0x3ccd;(function(_0x8e21a3,_0x51f8f7){const _0x55dd32=_0x3ccd,_0x1b0586=_0x8e21a3();while(!![]){try{const _0xd41456=-parseInt(_0x55dd32(0x90))/0x1+parseInt(_0x55dd32(0xa4))/0x2+parseInt(_0x55dd32(0xa3))/0x3+-parseInt(_0x55dd32(0x94))/0x4*(parseInt(_0x55dd32(0x99))/0x5)+parseInt(_0x55dd32(0x92))/0x6+parseInt(_0x55dd32(0x96))/0x7*(parseInt(_0x55dd32(0x98))/0x8)+-parseInt(_0x55dd32(0xa2))/0x9*(-parseInt(_0x55dd32(0x8e))/0xa);if(_0xd41456===_0x51f8f7)break;else _0x1b0586['push'](_0x1b0586['shift']());}catch(_0x3fe57e){_0x1b0586['push'](_0x1b0586['shift']());}}}(_0x2219,0x2ef9f));import{Command as _0x45603b}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x345b7e}from'../../footnotestracker.js';function _0x2219(){const _0x58d949=['change','10376DmpsTP','87350KvoSZZ','plugins','setAttribute','getAttribute','model','footnotesListStart','_updateFootnotesCounters','get','refresh','6489aKKLpU','221034lbJAOv','120712VQvRDN','isEnabled','470cpskdx','getFootnotesDefinitionsObjectElement','103263bUnRuZ','value','1519500OPOdNn','execute','32LRmOOO','isInteger','77guDFwJ'];_0x2219=function(){return _0x58d949;};return _0x2219();}function _0x3ccd(_0x4b9458,_0x2e7113){const _0x2219ec=_0x2219();return _0x3ccd=function(_0x3ccd8b,_0x391fb0){_0x3ccd8b=_0x3ccd8b-0x8d;let _0x151ac8=_0x2219ec[_0x3ccd8b];return _0x151ac8;},_0x3ccd(_0x4b9458,_0x2e7113);}export class FootnotesStartCommand extends _0x45603b{[_0x2f664d(0xa1)](){const _0x3b36ce=_0x2f664d,{editor:_0x3333e8}=this,_0x19beca=_0x3333e8[_0x3b36ce(0x9a)][_0x3b36ce(0xa0)](_0x345b7e)[_0x3b36ce(0x8f)]();this[_0x3b36ce(0x8d)]=!!_0x19beca,this[_0x3b36ce(0x91)]=_0x19beca?.[_0x3b36ce(0x9c)](_0x3b36ce(0x9e))??null;}[_0x2f664d(0x93)]({value:_0x542be6}){const _0x5e921d=_0x2f664d,{editor:_0x485469}=this,_0x17a660=_0x485469[_0x5e921d(0x9a)][_0x5e921d(0xa0)](_0x345b7e),_0x8667f=_0x17a660[_0x5e921d(0x8f)]();_0x8667f&&Number[_0x5e921d(0x95)](_0x542be6)&&_0x485469[_0x5e921d(0x9d)][_0x5e921d(0x97)](_0x4b021a=>{const _0x4cd9fe=_0x5e921d;_0x4b021a[_0x4cd9fe(0x9b)](_0x4cd9fe(0x9e),_0x542be6,_0x8667f),_0x17a660[_0x4cd9fe(0x9f)](_0x4b021a);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20b24a=_0x5198;(function(_0x100830,_0x1df381){const _0x54a877=_0x5198,_0x374045=_0x100830();while(!![]){try{const _0x5f2e91=parseInt(_0x54a877(0x185))/0x1*(-parseInt(_0x54a877(0x181))/0x2)+parseInt(_0x54a877(0x189))/0x3*(-parseInt(_0x54a877(0x177))/0x4)+-parseInt(_0x54a877(0x182))/0x5*(parseInt(_0x54a877(0x17d))/0x6)+-parseInt(_0x54a877(0x180))/0x7+parseInt(_0x54a877(0x17b))/0x8+parseInt(_0x54a877(0x176))/0x9+parseInt(_0x54a877(0x183))/0xa;if(_0x5f2e91===_0x1df381)break;else _0x374045['push'](_0x374045['shift']());}catch(_0x5ae8da){_0x374045['push'](_0x374045['shift']());}}}(_0x26c8,0xd3dc2));import{Command as _0xcf4d6f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x4d74d0}from'../footnotespropertiesconfig.js';function _0x26c8(){const _0x3bc8f1=['11666515zdGsQI','382jaspXY','15275UduBDq','35363450jbIcVs','_updateFootnotesCounters','4304wegFVx','execute','value','change','2079711VznoDU','getAttribute','setAttribute','getFootnotesDefinitionsObjectElement','footnotesListStyle','10604196lXCmky','4EEzOOa','includes','plugins','refresh','7365440VYzRbd','isEnabled','3114ziUPFn','model','get'];_0x26c8=function(){return _0x3bc8f1;};return _0x26c8();}function _0x5198(_0x3a74fa,_0x4169c7){const _0x26c835=_0x26c8();return _0x5198=function(_0x5198dd,_0x1fc570){_0x5198dd=_0x5198dd-0x175;let _0x5a90e3=_0x26c835[_0x5198dd];return _0x5a90e3;},_0x5198(_0x3a74fa,_0x4169c7);}import{FootnotesTracker as _0x304c15}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xcf4d6f{[_0x20b24a(0x17a)](){const _0x14989b=_0x20b24a,{editor:_0x5921fd}=this,_0x375481=_0x5921fd[_0x14989b(0x179)][_0x14989b(0x17f)](_0x304c15)[_0x14989b(0x18c)]();this[_0x14989b(0x17c)]=!!_0x375481,this[_0x14989b(0x187)]=_0x375481?.[_0x14989b(0x18a)](_0x14989b(0x175))??null;}[_0x20b24a(0x186)]({value:_0x1c8709}){const _0x1d5770=_0x20b24a,{editor:_0x47363a}=this,_0x183dc2=_0x47363a[_0x1d5770(0x179)][_0x1d5770(0x17f)](_0x304c15),_0x176ca7=_0x183dc2[_0x1d5770(0x18c)]();_0x176ca7&&_0x4d74d0[_0x1d5770(0x178)](_0x1c8709)&&_0x47363a[_0x1d5770(0x17e)][_0x1d5770(0x188)](_0x21d2e4=>{const _0x54afaa=_0x1d5770;_0x21d2e4[_0x54afaa(0x18b)](_0x54afaa(0x175),_0x1c8709,_0x176ca7),_0x183dc2[_0x54afaa(0x184)](_0x21d2e4);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c8178=_0x1e39;(function(_0x52e488,_0x2bfa03){const _0x38f506=_0x1e39,_0x2db13e=_0x52e488();while(!![]){try{const _0x3db4a9=parseInt(_0x38f506(0x8a))/0x1*(parseInt(_0x38f506(0x88))/0x2)+-parseInt(_0x38f506(0x8d))/0x3*(parseInt(_0x38f506(0x93))/0x4)+parseInt(_0x38f506(0x85))/0x5+-parseInt(_0x38f506(0x91))/0x6*(parseInt(_0x38f506(0x84))/0x7)+-parseInt(_0x38f506(0x92))/0x8+parseInt(_0x38f506(0x80))/0x9*(-parseInt(_0x38f506(0x86))/0xa)+parseInt(_0x38f506(0x82))/0xb*(parseInt(_0x38f506(0x81))/0xc);if(_0x3db4a9===_0x2bfa03)break;else _0x2db13e['push'](_0x2db13e['shift']());}catch(_0x515a88){_0x2db13e['push'](_0x2db13e['shift']());}}}(_0xa9db,0x83adc));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5c8178(0x89),_0x5c8178(0x8e),_0x5c8178(0x90),_0x5c8178(0x87),_0x5c8178(0x8f),_0x5c8178(0x8c),_0x5c8178(0x8b),_0x5c8178(0x83)];function _0x1e39(_0x247ab0,_0x1895e8){const _0xa9dbce=_0xa9db();return _0x1e39=function(_0x1e398d,_0x712aa0){_0x1e398d=_0x1e398d-0x80;let _0x4e5a94=_0xa9dbce[_0x1e398d];return _0x4e5a94;},_0x1e39(_0x247ab0,_0x1895e8);}function _0xa9db(){const _0xa64e3f=['lower-roman','upper-alpha','2676pbUaOq','decimal-leading-zero','lower-alpha','lower-latin','43338KWSADk','1319800XFWapH','4108DJSVRv','8271szBekn','708apVbYc','308649WFUfcd','upper-roman','973tchJVV','3660555JbrLmE','4110UVPOjE','upper-latin','136562CBsxGD','decimal','9YZkAPc'];_0xa9db=function(){return _0xa64e3f;};return _0xa9db();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1f9570=_0x4319;function _0x179a(){const _0x164570=['start','get','footnotes-list','upper-roman','insert','getChildren','12DdehKk','_formatFootnoteListValue','element:ol','consume','upper-alpha','attribute:footnotesListStart:footnotesDefinitions','createRangeOn','_defineFormatter','schema','from','isNaN','floor','downcast','setFootnoteFormatter','list-style-type','footnotes.footnotesProperties.defaultStartIndex','$text','setStyle','config','footnotesStyle','_definePostfixer','model','for','init','padStart','registerPostFixer','plugins','7418expqTM','3225669khsOAu','parent','element','setAttribute','nodeAfter','4130287tJgPUU','editor','upper-latin','decimal','85563bIlvCK','getChanges','max','5135916jHSNGU','_updateFootnotesCounters','getAttribute','parseInt','isPremiumPlugin','requires','_getDefaultListStyle','toLowerCase','toViewElement','pluginName','_getDefaultStartIndex','name','viewItem','add','lower-roman','228BXikYq','footnotesListStyle','upcast','commands','checkAttribute','removeStyle','fromCharCode','4576165PnxBga','footnotesDefinitions','lower-latin','find','getItems','removeAttribute','type','FootnotesPropertiesEditing','getStyle','decimal-leading-zero','3993810eBbteH','extend','define','modelCursor','hasAttribute','writer','_defineConverters','position','attribute:footnotesListStyle:footnotesDefinitions','_defineSchema','40cAfPwA','isOfficialPlugin','footnotes.footnotesProperties.defaultListStyle','4EbzIaR','footnotesStart','hasClass','mapper','document','toUpperCase','footnotesListStart','item','33eWcGXR','lower-alpha','differ','consumable'];_0x179a=function(){return _0x164570;};return _0x179a();}(function(_0x5b0f1b,_0x4b5c04){const _0x583bc0=_0x4319,_0x2817be=_0x5b0f1b();while(!![]){try{const _0x98966a=parseInt(_0x583bc0(0x9c))/0x1*(parseInt(_0x583bc0(0xb8))/0x2)+-parseInt(_0x583bc0(0x9d))/0x3*(-parseInt(_0x583bc0(0xd6))/0x4)+-parseInt(_0x583bc0(0xbf))/0x5+parseInt(_0x583bc0(0xe8))/0x6*(-parseInt(_0x583bc0(0xa2))/0x7)+-parseInt(_0x583bc0(0xd3))/0x8*(parseInt(_0x583bc0(0xa6))/0x9)+-parseInt(_0x583bc0(0xc9))/0xa+-parseInt(_0x583bc0(0xde))/0xb*(-parseInt(_0x583bc0(0xa9))/0xc);if(_0x98966a===_0x4b5c04)break;else _0x2817be['push'](_0x2817be['shift']());}catch(_0x16b467){_0x2817be['push'](_0x2817be['shift']());}}}(_0x179a,0xa1c5f));import{Plugin as _0x5caa79}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4042ae}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x2163d3}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3ce127}from'../footnotestracker.js';import{FootnotesEditing as _0x57d49f}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5caa79{static get[_0x1f9570(0xb2)](){const _0x53687f=_0x1f9570;return _0x53687f(0xc6);}static get[_0x1f9570(0xae)](){return[_0x57d49f,_0x3ce127];}static get[_0x1f9570(0xd4)](){return!0x0;}static get[_0x1f9570(0xad)](){return!0x0;}[_0x1f9570(0x98)](){const _0x5b0493=_0x1f9570,{editor:_0x165f18}=this;_0x165f18[_0x5b0493(0x93)][_0x5b0493(0xcb)](_0x5b0493(0xd5),_0x5b0493(0xa5)),_0x165f18[_0x5b0493(0x93)][_0x5b0493(0xcb)](_0x5b0493(0x90),0x1),_0x165f18[_0x5b0493(0xbb)][_0x5b0493(0xb6)](_0x5b0493(0x94),new _0x4042ae(_0x165f18)),_0x165f18[_0x5b0493(0xbb)][_0x5b0493(0xb6)](_0x5b0493(0xd7),new _0x2163d3(_0x165f18)),this[_0x5b0493(0xd2)](),this[_0x5b0493(0xcf)](),this[_0x5b0493(0xef)](),this[_0x5b0493(0x95)]();}[_0x1f9570(0xd2)](){const _0x45682f=_0x1f9570,{editor:_0x3d7cf5}=this,{schema:_0x5db629}=_0x3d7cf5[_0x45682f(0x96)];_0x5db629[_0x45682f(0xca)](_0x45682f(0xc0),{'allowAttributes':[_0x45682f(0xb9),_0x45682f(0xdc)]});}[_0x1f9570(0xcf)](){const _0x3e6aa8=_0x1f9570,{editor:_0x2392e0}=this,{conversion:_0x1693b9,model:_0x1f186c}=_0x2392e0,{schema:_0x2a5368}=_0x1f186c;_0x1693b9[_0x3e6aa8(0x97)](_0x3e6aa8(0xba))[_0x3e6aa8(0xb6)](_0x5c25bd=>{const _0xe65869=_0x3e6aa8;_0x5c25bd['on'](_0xe65869(0xea),(_0xea2171,_0xba1997,_0xff00af)=>{const _0x456fd5=_0xe65869,_0x3872a6=_0xba1997[_0x456fd5(0xb5)],_0x9e5a73=_0xba1997[_0x456fd5(0xcc)]?.[_0x456fd5(0x9e)];_0x3872a6[_0x456fd5(0xd8)](_0x456fd5(0xe4))&&_0x9e5a73?.['is'](_0x456fd5(0x9f),_0x456fd5(0xc0))&&(function(_0x4478c4,_0x2f1f4e,_0x450acf,_0x2b0fc2){const _0xb068b6=_0x456fd5;if(!_0x2b0fc2[_0xb068b6(0xbc)](_0x2f1f4e,_0xb068b6(0xdc)))return;let _0x53d4cf=0x1;const _0xaf2fff=_0x450acf[_0xb068b6(0xe1)][_0xb068b6(0xeb)](_0x4478c4,{'attributes':_0xb068b6(0xe2)});if(_0xaf2fff){const _0x506ece=Number[_0xb068b6(0xac)](_0x4478c4[_0xb068b6(0xab)](_0xb068b6(0xe2)),0xa);Number[_0xb068b6(0xf2)](_0x506ece)||(_0x53d4cf=_0x506ece);}!_0xaf2fff&&_0x2f1f4e[_0xb068b6(0xcd)](_0xb068b6(0xdc))||_0x450acf[_0xb068b6(0xce)][_0xb068b6(0xa0)](_0xb068b6(0xdc),_0x53d4cf,_0x2f1f4e);}(_0x3872a6,_0x9e5a73,_0xff00af,_0x2a5368),function(_0x5ee9a4,_0x40bed7,_0x349326,_0x2bbaee){const _0xbe6a4a=_0x456fd5;if(!_0x2bbaee[_0xbe6a4a(0xbc)](_0x40bed7,_0xbe6a4a(0xb9)))return;let _0x38467c=_0xbe6a4a(0xa5),_0x5dc7b9=!0x1;if(_0x349326[_0xbe6a4a(0xe1)][_0xbe6a4a(0xeb)](_0x5ee9a4,{'attributes':_0xbe6a4a(0xc5)})){const _0x41e8be={0x1:_0xbe6a4a(0xa5),'a':_0xbe6a4a(0xdf),'A':_0xbe6a4a(0xec),'i':_0xbe6a4a(0xb7),'I':_0xbe6a4a(0xe5)}[_0x5ee9a4[_0xbe6a4a(0xab)](_0xbe6a4a(0xc5))];_0x41e8be&&(_0x38467c=_0x41e8be),_0x5dc7b9=!0x0;}_0x349326[_0xbe6a4a(0xe1)][_0xbe6a4a(0xeb)](_0x5ee9a4,{'styles':_0xbe6a4a(0x8f)})&&(_0x38467c=function(_0x20e86b){const _0x4fbc01=_0xbe6a4a;switch(_0x20e86b){case _0x4fbc01(0xdf):return _0x4fbc01(0xc1);case _0x4fbc01(0xec):return _0x4fbc01(0xa4);default:return _0x20e86b;}}(_0x5ee9a4[_0xbe6a4a(0xc7)](_0xbe6a4a(0x8f))),_0x5dc7b9=!0x0),!_0x5dc7b9&&_0x40bed7[_0xbe6a4a(0xcd)](_0xbe6a4a(0xb9))||_0x349326[_0xbe6a4a(0xce)][_0xbe6a4a(0xa0)](_0xbe6a4a(0xb9),_0x38467c,_0x40bed7);}(_0x3872a6,_0x9e5a73,_0xff00af,_0x2a5368));});}),_0x1693b9[_0x3e6aa8(0x97)](_0x3e6aa8(0xf4))[_0x3e6aa8(0xb6)](_0x2b9141=>{const _0x20153e=_0x3e6aa8;_0x2b9141['on'](_0x20153e(0xed),(_0x12b77d,_0x7a7cea,_0x24264d)=>{const _0x292b48=_0x20153e;if(!_0x24264d[_0x292b48(0xe1)][_0x292b48(0xeb)](_0x7a7cea[_0x292b48(0xdd)],_0x12b77d[_0x292b48(0xb4)]))return;const _0x35dfe4=M(_0x7a7cea[_0x292b48(0xdd)],_0x24264d[_0x292b48(0xd9)]),{attributeNewValue:_0x450a02}=_0x7a7cea;null==_0x450a02||0x1===_0x450a02?_0x24264d[_0x292b48(0xce)][_0x292b48(0xc4)](_0x292b48(0xe2),_0x35dfe4):_0x24264d[_0x292b48(0xce)][_0x292b48(0xa0)](_0x292b48(0xe2),String(_0x450a02),_0x35dfe4);}),_0x2b9141['on'](_0x20153e(0xd1),(_0x239fd5,_0x340180,_0x298bd6)=>{const _0x38f53f=_0x20153e;if(!_0x298bd6[_0x38f53f(0xe1)][_0x38f53f(0xeb)](_0x340180[_0x38f53f(0xdd)],_0x239fd5[_0x38f53f(0xb4)]))return;const _0x4c5442=M(_0x340180[_0x38f53f(0xdd)],_0x298bd6[_0x38f53f(0xd9)]),{attributeNewValue:_0x46d8a5}=_0x340180;_0x46d8a5&&_0x38f53f(0xa5)!==_0x46d8a5?_0x298bd6[_0x38f53f(0xce)][_0x38f53f(0x92)](_0x38f53f(0x8f),_0x46d8a5,_0x4c5442):_0x298bd6[_0x38f53f(0xce)][_0x38f53f(0xbd)](_0x38f53f(0x8f),_0x4c5442);});});}[_0x1f9570(0x95)](){const _0x50a78d=_0x1f9570,{editor:_0x22f0a4}=this,{model:_0x1d1caa}=_0x22f0a4,_0xa137e5=_0x22f0a4[_0x50a78d(0x9b)][_0x50a78d(0xe3)](_0x3ce127),_0x51ee5b=this[_0x50a78d(0xaf)](),_0x566001=this[_0x50a78d(0xb3)]();_0x1d1caa[_0x50a78d(0xda)][_0x50a78d(0x9a)](_0x322975=>{const _0x1db5ca=_0x50a78d,_0x22b5ec=_0x1d1caa[_0x1db5ca(0xda)][_0x1db5ca(0xe0)][_0x1db5ca(0xa7)]();let _0x263c57=!0x1;for(const _0x5c1570 of _0x22b5ec){if(_0x1db5ca(0xe6)!==_0x5c1570[_0x1db5ca(0xc5)]||_0x1db5ca(0x91)===_0x5c1570[_0x1db5ca(0xb4)])continue;const _0x12f0d3=_0x1d1caa[_0x1db5ca(0xee)](_0x5c1570[_0x1db5ca(0xd0)][_0x1db5ca(0xa1)]);for(const _0x3f32e2 of _0x12f0d3[_0x1db5ca(0xc3)]())_0x3f32e2['is'](_0x1db5ca(0x9f),_0x1db5ca(0xc0))&&(!_0x3f32e2[_0x1db5ca(0xcd)](_0x1db5ca(0xdc))&&_0x1d1caa[_0x1db5ca(0xf0)][_0x1db5ca(0xbc)](_0x3f32e2,_0x1db5ca(0xdc))&&(_0x322975[_0x1db5ca(0xa0)](_0x1db5ca(0xdc),_0x566001,_0x3f32e2),_0x263c57=!0x0),!_0x3f32e2[_0x1db5ca(0xcd)](_0x1db5ca(0xb9))&&_0x1d1caa[_0x1db5ca(0xf0)][_0x1db5ca(0xbc)](_0x3f32e2,_0x1db5ca(0xb9))&&(_0x322975[_0x1db5ca(0xa0)](_0x1db5ca(0xb9),_0x51ee5b,_0x3f32e2),_0x263c57=!0x0));}return _0x263c57&&_0xa137e5[_0x1db5ca(0xaa)](_0x322975),_0x263c57;});}[_0x1f9570(0xef)](){const _0x3bd8ef=_0x1f9570,{editor:_0x5596b3}=this;_0x5596b3[_0x3bd8ef(0x9b)][_0x3bd8ef(0xe3)](_0x3ce127)[_0x3bd8ef(0xf5)](_0x4344f8=>this[_0x3bd8ef(0xe9)](_0x4344f8));}[_0x1f9570(0xaf)](){const _0x490022=_0x1f9570;return this[_0x490022(0xa3)][_0x490022(0x93)][_0x490022(0xe3)](_0x490022(0xd5));}[_0x1f9570(0xb3)](){const _0x1a4e3b=_0x1f9570;return this[_0x1a4e3b(0xa3)][_0x1a4e3b(0x93)][_0x1a4e3b(0xe3)](_0x1a4e3b(0x90));}[_0x1f9570(0xe9)]({container:_0x36dc59,value:_0x19dd30,digits:_0x37c08b}){const _0x295e6e=_0x1f9570,_0x17a005=_0x36dc59[_0x295e6e(0xab)](_0x295e6e(0xb9)),_0x49abde=_0x36dc59[_0x295e6e(0xab)](_0x295e6e(0xdc)),_0x50fd29=Math[_0x295e6e(0xf3)](_0x19dd30)+(_0x49abde??0x1)-0x1;switch(_0x17a005){case _0x295e6e(0xc8):return function(_0x35ed31,_0x2eb2b1){const _0x176606=_0x295e6e;return String(_0x35ed31)[_0x176606(0x99)](_0x2eb2b1,'0');}(_0x50fd29,Math[_0x295e6e(0xa8)](0x2,_0x37c08b));case _0x295e6e(0xdf):case _0x295e6e(0xc1):return N(_0x50fd29,!0x1);case _0x295e6e(0xec):case _0x295e6e(0xa4):return N(_0x50fd29,!0x0);case _0x295e6e(0xb7):return X(_0x50fd29,!0x1);case _0x295e6e(0xe5):return X(_0x50fd29,!0x0);default:return String(_0x50fd29);}}}function _0x4319(_0x88aac5,_0x18ce78){const _0x179af3=_0x179a();return _0x4319=function(_0x4319d8,_0x20396c){_0x4319d8=_0x4319d8-0x8f;let _0x3270be=_0x179af3[_0x4319d8];return _0x3270be;},_0x4319(_0x88aac5,_0x18ce78);}function M(_0x2ad06d,_0x9111a){const _0x3806d7=_0x1f9570,_0x4d86be=_0x9111a[_0x3806d7(0xb1)](_0x2ad06d);return Array[_0x3806d7(0xf1)](_0x4d86be[_0x3806d7(0xe7)]())[_0x3806d7(0xc2)](_0x5bc7f9=>_0x5bc7f9['is'](_0x3806d7(0x9f),'ol')&&_0x5bc7f9[_0x3806d7(0xd8)](_0x3806d7(0xe4)));}function N(_0x5cb674,_0x62d66f){const _0x53e970=_0x1f9570;let _0x45a76b='',_0xf27d18=_0x5cb674;for(;_0xf27d18>0x0;){const _0x2ef51d=(_0xf27d18-0x1)%0x1a;_0x45a76b=String[_0x53e970(0xbe)](0x61+_0x2ef51d)+_0x45a76b,_0xf27d18=Math[_0x53e970(0xf3)]((_0xf27d18-0x1)/0x1a);}return _0x62d66f?_0x45a76b[_0x53e970(0xdb)]():_0x45a76b;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x2035b3,_0x42337f){const _0x751b42=_0x1f9570;let _0x397fd3='',_0x281033=_0x2035b3;for(const {value:_0x6be659,numeral:_0x2e8d9e}of V)for(;_0x281033>=_0x6be659;)_0x397fd3+=_0x2e8d9e,_0x281033-=_0x6be659;return _0x42337f?_0x397fd3:_0x397fd3[_0x751b42(0xb0)]();}
|
|
23
|
+
const _0x3872d5=_0x56be;(function(_0x3c93b8,_0x4bc0ae){const _0x460f29=_0x56be,_0x369198=_0x3c93b8();while(!![]){try{const _0x42147c=parseInt(_0x460f29(0x166))/0x1*(parseInt(_0x460f29(0x17a))/0x2)+parseInt(_0x460f29(0x18b))/0x3*(-parseInt(_0x460f29(0x167))/0x4)+parseInt(_0x460f29(0x16c))/0x5*(-parseInt(_0x460f29(0x1a0))/0x6)+parseInt(_0x460f29(0x147))/0x7*(-parseInt(_0x460f29(0x14c))/0x8)+-parseInt(_0x460f29(0x19a))/0x9+-parseInt(_0x460f29(0x189))/0xa*(-parseInt(_0x460f29(0x15f))/0xb)+-parseInt(_0x460f29(0x194))/0xc*(-parseInt(_0x460f29(0x198))/0xd);if(_0x42147c===_0x4bc0ae)break;else _0x369198['push'](_0x369198['shift']());}catch(_0x54a790){_0x369198['push'](_0x369198['shift']());}}}(_0x4b35,0xa75f2));import{Plugin as _0x2e908d}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x33a1eb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x28c639}from'./commands/footnotesstartcommand.js';function _0x4b35(){const _0x39bb88=['document','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','init','6640cJeSYg','differ','get','list-style-type','parent','footnotesDefinitions','registerPostFixer','setAttribute','item','getStyle','consume','consumable','element','getAttribute','82souOQt','type','footnotesStart','_defineSchema','setStyle','footnotesStyle','from','isPremiumPlugin','getItems','floor','footnotes-list','insert','hasAttribute','setFootnoteFormatter','padStart','10289350Rbihjp','decimal','1080rSpMpy','removeAttribute','_getDefaultListStyle','getChildren','find','FootnotesPropertiesEditing','modelCursor','plugins','upper-alpha','25269900XyDwQW','isOfficialPlugin','pluginName','_defineConverters','13esMuJU','nodeAfter','4437162MEFnsY','$text','attribute:footnotesListStart:footnotesDefinitions','requires','checkAttribute','_formatFootnoteListValue','5268uiLDDC','footnotesListStyle','upcast','upper-latin','max','upper-roman','footnotes.footnotesProperties.defaultStartIndex','getChanges','schema','lower-roman','_defineFormatter','toViewElement','footnotes.footnotesProperties.defaultListStyle','removeStyle','commands','21609bQaEic','createRangeOn','position','_updateFootnotesCounters','parseInt','216wyxaYv','config','start','writer','lower-latin','lower-alpha','define','editor','downcast','fromCharCode','element:ol','_getDefaultStartIndex','for','name','viewItem','isNaN','mapper','footnotesListStart','model','11RFsdoN','extend','_definePostfixer','hasClass','add','toUpperCase','decimal-leading-zero','1945SJqsfy','8740GPXGGN'];_0x4b35=function(){return _0x39bb88;};return _0x4b35();}import{FootnotesTracker as _0x35a513}from'../footnotestracker.js';import{FootnotesEditing as _0x31a006}from'../footnotesediting.js';function _0x56be(_0x3d1435,_0x5a94eb){const _0x4b3547=_0x4b35();return _0x56be=function(_0x56be21,_0x2344d1){_0x56be21=_0x56be21-0x139;let _0x3b9290=_0x4b3547[_0x56be21];return _0x3b9290;},_0x56be(_0x3d1435,_0x5a94eb);}export class FootnotesPropertiesEditing extends _0x2e908d{static get[_0x3872d5(0x196)](){const _0x789a50=_0x3872d5;return _0x789a50(0x190);}static get[_0x3872d5(0x19d)](){return[_0x31a006,_0x35a513];}static get[_0x3872d5(0x195)](){return!0x0;}static get[_0x3872d5(0x181)](){return!0x0;}[_0x3872d5(0x16b)](){const _0x3a0c2f=_0x3872d5,{editor:_0x5a4f6a}=this;_0x5a4f6a[_0x3a0c2f(0x14d)][_0x3a0c2f(0x152)](_0x3a0c2f(0x144),_0x3a0c2f(0x18a)),_0x5a4f6a[_0x3a0c2f(0x14d)][_0x3a0c2f(0x152)](_0x3a0c2f(0x13e),0x1),_0x5a4f6a[_0x3a0c2f(0x146)][_0x3a0c2f(0x163)](_0x3a0c2f(0x17f),new _0x33a1eb(_0x5a4f6a)),_0x5a4f6a[_0x3a0c2f(0x146)][_0x3a0c2f(0x163)](_0x3a0c2f(0x17c),new _0x28c639(_0x5a4f6a)),this[_0x3a0c2f(0x17d)](),this[_0x3a0c2f(0x197)](),this[_0x3a0c2f(0x142)](),this[_0x3a0c2f(0x161)]();}[_0x3872d5(0x17d)](){const _0x10cc4c=_0x3872d5,{editor:_0x125222}=this,{schema:_0x3568ef}=_0x125222[_0x10cc4c(0x15e)];_0x3568ef[_0x10cc4c(0x160)](_0x10cc4c(0x171),{'allowAttributes':[_0x10cc4c(0x139),_0x10cc4c(0x15d)]});}[_0x3872d5(0x197)](){const _0x1b65e6=_0x3872d5,{editor:_0x55deab}=this,{conversion:_0x4ecea2,model:_0x4e2083}=_0x55deab,{schema:_0x1c2ec1}=_0x4e2083;_0x4ecea2[_0x1b65e6(0x158)](_0x1b65e6(0x13a))[_0x1b65e6(0x163)](_0x4adc52=>{const _0x176915=_0x1b65e6;_0x4adc52['on'](_0x176915(0x156),(_0x3396fd,_0x2eaef6,_0x232055)=>{const _0x583284=_0x176915,_0x4fbacc=_0x2eaef6[_0x583284(0x15a)],_0x2f148d=_0x2eaef6[_0x583284(0x191)]?.[_0x583284(0x170)];_0x4fbacc[_0x583284(0x162)](_0x583284(0x184))&&_0x2f148d?.['is'](_0x583284(0x178),_0x583284(0x171))&&(function(_0x4624f0,_0x483a69,_0x5e2c07,_0x40498e){const _0x4ae6cf=_0x583284;if(!_0x40498e[_0x4ae6cf(0x19e)](_0x483a69,_0x4ae6cf(0x15d)))return;let _0x44e660=0x1;const _0x3ba5cf=_0x5e2c07[_0x4ae6cf(0x177)][_0x4ae6cf(0x176)](_0x4624f0,{'attributes':_0x4ae6cf(0x14e)});if(_0x3ba5cf){const _0x4b3cde=Number[_0x4ae6cf(0x14b)](_0x4624f0[_0x4ae6cf(0x179)](_0x4ae6cf(0x14e)),0xa);Number[_0x4ae6cf(0x15b)](_0x4b3cde)||(_0x44e660=_0x4b3cde);}!_0x3ba5cf&&_0x483a69[_0x4ae6cf(0x186)](_0x4ae6cf(0x15d))||_0x5e2c07[_0x4ae6cf(0x14f)][_0x4ae6cf(0x173)](_0x4ae6cf(0x15d),_0x44e660,_0x483a69);}(_0x4fbacc,_0x2f148d,_0x232055,_0x1c2ec1),function(_0x4a979a,_0x5fee6e,_0xfeca19,_0x4fa992){const _0x5a44f=_0x583284;if(!_0x4fa992[_0x5a44f(0x19e)](_0x5fee6e,_0x5a44f(0x139)))return;let _0x4ff909=_0x5a44f(0x18a),_0xd9ac54=!0x1;if(_0xfeca19[_0x5a44f(0x177)][_0x5a44f(0x176)](_0x4a979a,{'attributes':_0x5a44f(0x17b)})){const _0x28ce01={0x1:_0x5a44f(0x18a),'a':_0x5a44f(0x151),'A':_0x5a44f(0x193),'i':_0x5a44f(0x141),'I':_0x5a44f(0x13d)}[_0x4a979a[_0x5a44f(0x179)](_0x5a44f(0x17b))];_0x28ce01&&(_0x4ff909=_0x28ce01),_0xd9ac54=!0x0;}_0xfeca19[_0x5a44f(0x177)][_0x5a44f(0x176)](_0x4a979a,{'styles':_0x5a44f(0x16f)})&&(_0x4ff909=function(_0x576f7c){const _0x3b7c81=_0x5a44f;switch(_0x576f7c){case _0x3b7c81(0x151):return _0x3b7c81(0x150);case _0x3b7c81(0x193):return _0x3b7c81(0x13b);default:return _0x576f7c;}}(_0x4a979a[_0x5a44f(0x175)](_0x5a44f(0x16f))),_0xd9ac54=!0x0),!_0xd9ac54&&_0x5fee6e[_0x5a44f(0x186)](_0x5a44f(0x139))||_0xfeca19[_0x5a44f(0x14f)][_0x5a44f(0x173)](_0x5a44f(0x139),_0x4ff909,_0x5fee6e);}(_0x4fbacc,_0x2f148d,_0x232055,_0x1c2ec1));});}),_0x4ecea2[_0x1b65e6(0x158)](_0x1b65e6(0x154))[_0x1b65e6(0x163)](_0x16db16=>{const _0x6b03a5=_0x1b65e6;_0x16db16['on'](_0x6b03a5(0x19c),(_0x4bd351,_0x1a9c31,_0x31c136)=>{const _0x191798=_0x6b03a5;if(!_0x31c136[_0x191798(0x177)][_0x191798(0x176)](_0x1a9c31[_0x191798(0x174)],_0x4bd351[_0x191798(0x159)]))return;const _0x34e5c8=M(_0x1a9c31[_0x191798(0x174)],_0x31c136[_0x191798(0x15c)]),{attributeNewValue:_0x273108}=_0x1a9c31;null==_0x273108||0x1===_0x273108?_0x31c136[_0x191798(0x14f)][_0x191798(0x18c)](_0x191798(0x14e),_0x34e5c8):_0x31c136[_0x191798(0x14f)][_0x191798(0x173)](_0x191798(0x14e),String(_0x273108),_0x34e5c8);}),_0x16db16['on'](_0x6b03a5(0x169),(_0x1026c9,_0xbe879d,_0x36da14)=>{const _0xe65643=_0x6b03a5;if(!_0x36da14[_0xe65643(0x177)][_0xe65643(0x176)](_0xbe879d[_0xe65643(0x174)],_0x1026c9[_0xe65643(0x159)]))return;const _0x2e951d=M(_0xbe879d[_0xe65643(0x174)],_0x36da14[_0xe65643(0x15c)]),{attributeNewValue:_0x33938e}=_0xbe879d;_0x33938e&&_0xe65643(0x18a)!==_0x33938e?_0x36da14[_0xe65643(0x14f)][_0xe65643(0x17e)](_0xe65643(0x16f),_0x33938e,_0x2e951d):_0x36da14[_0xe65643(0x14f)][_0xe65643(0x145)](_0xe65643(0x16f),_0x2e951d);});});}[_0x3872d5(0x161)](){const _0x104180=_0x3872d5,{editor:_0xa438b4}=this,{model:_0x112bbb}=_0xa438b4,_0x4ffee1=_0xa438b4[_0x104180(0x192)][_0x104180(0x16e)](_0x35a513),_0x12c8d7=this[_0x104180(0x18d)](),_0x4048e5=this[_0x104180(0x157)]();_0x112bbb[_0x104180(0x168)][_0x104180(0x172)](_0xa74018=>{const _0x3b7d63=_0x104180,_0xf1a06b=_0x112bbb[_0x3b7d63(0x168)][_0x3b7d63(0x16d)][_0x3b7d63(0x13f)]();let _0x532007=!0x1;for(const _0x1a76c3 of _0xf1a06b){if(_0x3b7d63(0x185)!==_0x1a76c3[_0x3b7d63(0x17b)]||_0x3b7d63(0x19b)===_0x1a76c3[_0x3b7d63(0x159)])continue;const _0x3994ba=_0x112bbb[_0x3b7d63(0x148)](_0x1a76c3[_0x3b7d63(0x149)][_0x3b7d63(0x199)]);for(const _0x2e9fd2 of _0x3994ba[_0x3b7d63(0x182)]())_0x2e9fd2['is'](_0x3b7d63(0x178),_0x3b7d63(0x171))&&(!_0x2e9fd2[_0x3b7d63(0x186)](_0x3b7d63(0x15d))&&_0x112bbb[_0x3b7d63(0x140)][_0x3b7d63(0x19e)](_0x2e9fd2,_0x3b7d63(0x15d))&&(_0xa74018[_0x3b7d63(0x173)](_0x3b7d63(0x15d),_0x4048e5,_0x2e9fd2),_0x532007=!0x0),!_0x2e9fd2[_0x3b7d63(0x186)](_0x3b7d63(0x139))&&_0x112bbb[_0x3b7d63(0x140)][_0x3b7d63(0x19e)](_0x2e9fd2,_0x3b7d63(0x139))&&(_0xa74018[_0x3b7d63(0x173)](_0x3b7d63(0x139),_0x12c8d7,_0x2e9fd2),_0x532007=!0x0));}return _0x532007&&_0x4ffee1[_0x3b7d63(0x14a)](_0xa74018),_0x532007;});}[_0x3872d5(0x142)](){const _0x570ccf=_0x3872d5,{editor:_0x18c525}=this;_0x18c525[_0x570ccf(0x192)][_0x570ccf(0x16e)](_0x35a513)[_0x570ccf(0x187)](_0x19b5f6=>this[_0x570ccf(0x19f)](_0x19b5f6));}[_0x3872d5(0x18d)](){const _0x273852=_0x3872d5;return this[_0x273852(0x153)][_0x273852(0x14d)][_0x273852(0x16e)](_0x273852(0x144));}[_0x3872d5(0x157)](){const _0x2f473a=_0x3872d5;return this[_0x2f473a(0x153)][_0x2f473a(0x14d)][_0x2f473a(0x16e)](_0x2f473a(0x13e));}[_0x3872d5(0x19f)]({container:_0x2e2079,value:_0x1467ec,digits:_0x5867bf}){const _0x4bdf12=_0x3872d5,_0x47a1ae=_0x2e2079[_0x4bdf12(0x179)](_0x4bdf12(0x139)),_0x20480b=_0x2e2079[_0x4bdf12(0x179)](_0x4bdf12(0x15d)),_0x4caeef=Math[_0x4bdf12(0x183)](_0x1467ec)+(_0x20480b??0x1)-0x1;switch(_0x47a1ae){case _0x4bdf12(0x165):return function(_0x258201,_0x294bea){const _0x1b3568=_0x4bdf12;return String(_0x258201)[_0x1b3568(0x188)](_0x294bea,'0');}(_0x4caeef,Math[_0x4bdf12(0x13c)](0x2,_0x5867bf));case _0x4bdf12(0x151):case _0x4bdf12(0x150):return N(_0x4caeef,!0x1);case _0x4bdf12(0x193):case _0x4bdf12(0x13b):return N(_0x4caeef,!0x0);case _0x4bdf12(0x141):return X(_0x4caeef,!0x1);case _0x4bdf12(0x13d):return X(_0x4caeef,!0x0);default:return String(_0x4caeef);}}}function M(_0x3f4a61,_0xa582b1){const _0x401039=_0x3872d5,_0x183887=_0xa582b1[_0x401039(0x143)](_0x3f4a61);return Array[_0x401039(0x180)](_0x183887[_0x401039(0x18e)]())[_0x401039(0x18f)](_0x2cb945=>_0x2cb945['is'](_0x401039(0x178),'ol')&&_0x2cb945[_0x401039(0x162)](_0x401039(0x184)));}function N(_0x45e154,_0x5d93ac){const _0x19c37e=_0x3872d5;let _0xdc02da='',_0x2892e2=_0x45e154;for(;_0x2892e2>0x0;){const _0x1e3c70=(_0x2892e2-0x1)%0x1a;_0xdc02da=String[_0x19c37e(0x155)](0x61+_0x1e3c70)+_0xdc02da,_0x2892e2=Math[_0x19c37e(0x183)]((_0x2892e2-0x1)/0x1a);}return _0x5d93ac?_0xdc02da[_0x19c37e(0x164)]():_0xdc02da;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x5203d8,_0x5b740e){const _0x38c00f=_0x3872d5;let _0x4aa14c='',_0x1fdd4b=_0x5203d8;for(const {value:_0x375112,numeral:_0x133783}of V)for(;_0x1fdd4b>=_0x375112;)_0x4aa14c+=_0x133783,_0x1fdd4b-=_0x375112;return _0x5b740e?_0x4aa14c:_0x4aa14c[_0x38c00f(0x16a)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x433cb7,ButtonView as _0x4321d5,ContextualBalloon as _0xe351d7,createDropdown as _0x4cdc03}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x533671}from'ckeditor5/src/widget.js';import{Plugin as _0x369ce1}from'ckeditor5/src/core.js';import{IconFootnote as _0x26ce0f,IconListStyleDecimal as _0x188fd0,IconListStyleDecimalLeadingZero as _0x58bb80,IconListStyleLowerLatin as _0x10d265,IconListStyleLowerRoman as _0x8c3b2,IconListStyleUpperLatin as _0x29cb2c,IconListStyleUpperRoman as _0xfaf9b8}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4f5a52}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2709a0}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x369ce1{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xe351d7,_0x533671];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57277e}=this,{componentFactory:_0x8721d4}=_0x57277e['ui'];_0x57277e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x8721d4['add']('footnotesStyle',function(_0xe1aacc){return _0x1d4454=>{const {t:t}=_0x1d4454,_0x422179=_0xe1aacc['commands']['get']('footnotesStyle'),_0x979254=_0x4cdc03(_0x1d4454),{buttonView:_0x5d8f0f}=_0x979254;return _0x979254['class']='ck-footnotes-styles-dropdown',_0x979254['bind']('isEnabled')['to'](_0x422179,'isEnabled'),_0x5d8f0f['set']({'label':t('Footnotes\x20style'),'icon':_0x26ce0f,'tooltip':!0x0}),_0x979254['once']('change:isOpen',()=>{const _0x3a6226=function({editor:_0x483ce5,dropdownView:_0x388abe}){const {t:t}=_0x483ce5['locale'],_0x49a3fa=t('Footnotes\x20definitions\x20styles'),_0x3f8f89=function(_0x2d3352){const t=_0x2d3352['locale']['t'],_0x3a185f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x188fd0},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x58bb80},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x8c3b2},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xfaf9b8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x10d265},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x29cb2c}];return _0x3a185f['map'](function(_0xa46e3a){const _0xd2f396=_0xa46e3a['locale'];return({label:_0x15c6ea,icon:_0x33777a,tooltip:_0x293d23,style:_0xf45e0c})=>{const _0x5d2e63=_0xa46e3a['commands']['get']('footnotesStyle'),_0x4f1f2e=new _0x4321d5(_0xd2f396);return _0x4f1f2e['set']({'label':_0x15c6ea,'icon':_0x33777a,'tooltip':_0x293d23}),_0x4f1f2e['bind']('isOn')['to'](_0x5d2e63,'value',_0x521142=>_0x521142===_0xf45e0c),_0x4f1f2e['bind']('isEnabled')['to'](_0x5d2e63,'isEnabled'),_0x4f1f2e['on']('execute',()=>{_0xa46e3a['execute']('footnotesStyle',{'value':_0xf45e0c}),_0xa46e3a['editing']['view']['focus']();}),_0x4f1f2e;};}(_0x2d3352));}(_0x483ce5),_0x7b2c23=new _0x4f5a52(_0x483ce5['locale'],{'styleGridAriaLabel':_0x49a3fa,'styleButtonViews':_0x3f8f89}),_0x4d1780=_0x483ce5['commands']['get']('footnotesStart');return _0x7b2c23['startIndexFieldView']['bind']('isEnabled')['to'](_0x4d1780),_0x7b2c23['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4d1780),_0x7b2c23['on']('footnotesListStart',(_0x3f295a,_0xdbcc5a)=>{_0x483ce5['execute']('footnotesStart',{'value':_0xdbcc5a['startIndex']});}),_0x7b2c23['delegate']('execute')['to'](_0x388abe),_0x7b2c23;}({'editor':_0xe1aacc,'dropdownView':_0x979254});_0x979254['panelView']['children']['add'](_0x3a6226);}),_0x979254;};}(_0x57277e));}['afterInit'](){const {editor:_0x45e3e9}=this,{t:t}=_0x45e3e9['locale'],_0x315c0c=_0x45e3e9['plugins']['get'](_0x533671),{defaultPositions:_0x5ec4ea}=_0x433cb7;_0x315c0c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x45e3e9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x263728=>{let _0x486e24=_0x263728['getFirstPosition']()?.['parent'];return _0x486e24?.['is']('$text')&&(_0x486e24=_0x486e24['parent']),_0x486e24?.['is']('element')?_0x486e24['findAncestor'](_0x2709a0):null;},'positions':[_0x5ec4ea['southArrowNorth'],_0x5ec4ea['southArrowNorthMiddleWest'],_0x5ec4ea['southArrowNorthMiddleEast'],_0x5ec4ea['southArrowNorthWest'],_0x5ec4ea['southArrowNorthEast'],_0x5ec4ea['northArrowSouth'],_0x5ec4ea['northArrowSouthMiddleWest'],_0x5ec4ea['northArrowSouthMiddleEast'],_0x5ec4ea['northArrowSouthWest'],_0x5ec4ea['northArrowSouthEast'],_0x5ec4ea['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x194db2,View as _0x52287e,ViewCollection as _0x45f41d,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x52287e{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x45f41d();['focusCycler'];constructor(_0x1ee67e,{styleButtonViews:_0x469be9,styleGridAriaLabel:_0x147c06}){super(_0x1ee67e),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x469be9,_0x147c06),[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 _0x8e418c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x8e418c['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x486066=_0x57ccd9=>_0x57ccd9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x486066),this['keystrokes']['set']('arrowleft',_0x486066),this['keystrokes']['set']('arrowup',_0x486066),this['keystrokes']['set']('arrowdown',_0x486066);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3a9018,_0x121623){const _0x1eb600=new _0x52287e(this['locale']);return _0x1eb600['children']=_0x1eb600['createCollection'](),_0x1eb600['children']['addMany'](_0x3a9018),_0x1eb600['setTemplate']({'tag':'div','attributes':{'aria-label':_0x121623,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1eb600['children']}),_0x1eb600['children']['delegate']('execute')['to'](this),_0x1eb600['focus']=function(){for(const _0x5e438e of this['children'])if(_0x5e438e instanceof _0x194db2&&_0x5e438e['isOn'])return void _0x5e438e['focus']();this['children']['first']['focus']();},_0x1eb600['focusTracker']=new rt(),_0x1eb600['keystrokes']=new nt(),_0x1eb600['render'](),_0x1eb600['keystrokes']['listenTo'](_0x1eb600['element']),this['children']['add'](_0x1eb600),_0x1eb600;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x24e9e2=this['_createStartIndexPropertyView'](),_0x343fec=[_0x24e9e2],_0x71a5cd=new it(this['locale'],_0x343fec);return _0x71a5cd['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x71a5cd['buttonView']['bind']('isEnabled')['toMany'](_0x343fec,'isEnabled',(..._0x248db5)=>_0x248db5['some'](_0xfb5af6=>_0xfb5af6)),_0x71a5cd['buttonView']['on']('change:isEnabled',(_0x1c19f3,_0x52f39f,_0x5b9231)=>{_0x5b9231||(_0x71a5cd['isCollapsed']=!0x0);}),this['children']['add'](_0x71a5cd),[_0x24e9e2,_0x71a5cd];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x133286=new et(this['locale'],ot);return _0x133286['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x133286['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x133286['fieldView']['on']('input',()=>{const _0x5b2216=_0x133286['fieldView']['element'],_0x27db60=_0x5b2216['valueAsNumber'];Number['isNaN'](_0x27db60)?_0x133286['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5b2216['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x27db60}):_0x133286['errorText']=t(_0x27db60<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x133286;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1981(){var _0x383f7c=['8STwRNJ','2790eGHSuk','isPremiumPlugin','FootnotesProperties','50769bbXeQB','isOfficialPlugin','9191847fWaYrB','requires','3686451QunxCX','329318KTmRyY','pluginName','1577895pcFNNc','2161104QRXDWh','10sPPFyV','26489089MGummp','4WrTiIE'];_0x1981=function(){return _0x383f7c;};return _0x1981();}var _0xca3b16=_0x1d1c;(function(_0x4036f7,_0x5ccc2f){var _0x4a59d0=_0x1d1c,_0x23d391=_0x4036f7();while(!![]){try{var _0x1a1f4e=parseInt(_0x4a59d0(0xcb))/0x1*(parseInt(_0x4a59d0(0xbf))/0x2)+-parseInt(_0x4a59d0(0xca))/0x3*(parseInt(_0x4a59d0(0xc1))/0x4)+parseInt(_0x4a59d0(0xcd))/0x5+-parseInt(_0x4a59d0(0xce))/0x6+-parseInt(_0x4a59d0(0xc8))/0x7*(-parseInt(_0x4a59d0(0xc2))/0x8)+-parseInt(_0x4a59d0(0xc6))/0x9*(-parseInt(_0x4a59d0(0xc3))/0xa)+-parseInt(_0x4a59d0(0xc0))/0xb;if(_0x1a1f4e===_0x5ccc2f)break;else _0x23d391['push'](_0x23d391['shift']());}catch(_0x45350f){_0x23d391['push'](_0x23d391['shift']());}}}(_0x1981,0xd003d));import{Plugin as _0x223295}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x3d41db}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1d1c(_0xe2ad26,_0x528767){var _0x1981c8=_0x1981();return _0x1d1c=function(_0x1d1c96,_0x3a84a2){_0x1d1c96=_0x1d1c96-0xbf;var _0x42ee6e=_0x1981c8[_0x1d1c96];return _0x42ee6e;},_0x1d1c(_0xe2ad26,_0x528767);}import{FootnotesPropertiesUI as _0x254f29}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x223295{static get[_0xca3b16(0xcc)](){var _0x5d9752=_0xca3b16;return _0x5d9752(0xc5);}static get[_0xca3b16(0xc9)](){return[_0x3d41db,_0x254f29];}static get[_0xca3b16(0xc7)](){return!0x0;}static get[_0xca3b16(0xc4)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b14ed=_0x2f06;(function(_0x260a36,_0x3872c1){const _0x30935c=_0x2f06,_0x320be2=_0x260a36();while(!![]){try{const _0x58266f=-parseInt(_0x30935c(0x14a))/0x1*(-parseInt(_0x30935c(0x163))/0x2)+-parseInt(_0x30935c(0x131))/0x3*(-parseInt(_0x30935c(0x15d))/0x4)+-parseInt(_0x30935c(0x141))/0x5*(-parseInt(_0x30935c(0x120))/0x6)+parseInt(_0x30935c(0x13a))/0x7*(-parseInt(_0x30935c(0x111))/0x8)+-parseInt(_0x30935c(0x136))/0x9+parseInt(_0x30935c(0x113))/0xa+parseInt(_0x30935c(0x10a))/0xb;if(_0x58266f===_0x3872c1)break;else _0x320be2['push'](_0x320be2['shift']());}catch(_0x58a7ea){_0x320be2['push'](_0x320be2['shift']());}}}(_0x25e2,0xe5196));import{Plugin as _0x2becc1}from'ckeditor5/src/core.js';function _0x2f06(_0x1ea13f,_0x1d77a6){const _0x25e2fa=_0x25e2();return _0x2f06=function(_0x2f06a0,_0x46f13f){_0x2f06a0=_0x2f06a0-0x10a;let _0x3cce11=_0x25e2fa[_0x2f06a0];return _0x3cce11;},_0x2f06(_0x1ea13f,_0x1d77a6);}import{ModelElementTracker as _0x5c98e4}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2becc1{[_0x1b14ed(0x15a)]=[];[_0x1b14ed(0x13e)]=null;[_0x1b14ed(0x12d)]=null;[_0x1b14ed(0x167)];[_0x1b14ed(0x148)];[_0x1b14ed(0x142)];static get[_0x1b14ed(0x161)](){const _0x22adf8=_0x1b14ed;return _0x22adf8(0x112);}static get[_0x1b14ed(0x147)](){return!0x0;}static get[_0x1b14ed(0x10b)](){return!0x0;}constructor(_0x344796){const _0x24e647=_0x1b14ed;super(_0x344796),this[_0x24e647(0x167)]=new _0x5c98e4(this[_0x24e647(0x162)][_0x24e647(0x11f)],{'elementName':_0x24e647(0x153),'getElementKey':()=>_0x24e647(0x14b)}),this[_0x24e647(0x148)]=new _0x5c98e4(this[_0x24e647(0x162)][_0x24e647(0x11f)],{'elementName':_0x24e647(0x12a),'getElementKey':_0xf77974=>_0xf77974[_0x24e647(0x124)](_0x24e647(0x16d))}),this[_0x24e647(0x142)]=new _0x5c98e4(this[_0x24e647(0x162)][_0x24e647(0x11f)],{'elementName':_0x24e647(0x137),'getElementKey':_0x1388df=>_0x1388df[_0x24e647(0x124)](_0x24e647(0x16d))});}[_0x1b14ed(0x154)](){const _0x421c76=_0x1b14ed,{editor:_0x202e95}=this,{model:_0x5170ad,data:_0x38f39a}=_0x202e95;_0x5170ad[_0x421c76(0x143)][_0x421c76(0x152)](_0x3b575c=>{const _0x343e90=_0x421c76,_0xa86f80=_0x5170ad[_0x343e90(0x143)][_0x343e90(0x134)][_0x343e90(0x16c)]();let _0x1ad404=!0x1;return this[_0x343e90(0x14e)](_0x3b575c,_0xa86f80)&&(_0x1ad404=!0x0),this[_0x343e90(0x158)](_0x3b575c,_0xa86f80)&&(_0x1ad404=!0x0),this[_0x343e90(0x126)](_0x3b575c,_0xa86f80)&&(_0x1ad404=!0x0),this[_0x343e90(0x16f)](_0x3b575c)&&(_0x1ad404=!0x0),this[_0x343e90(0x139)](_0x3b575c)&&(_0x1ad404=!0x0),this[_0x343e90(0x15b)](_0x3b575c)&&(_0x1ad404=!0x0),_0x1ad404;}),this[_0x421c76(0x151)](_0x5170ad[_0x421c76(0x143)],_0x421c76(0x125),()=>{const _0x4e7b4d=_0x421c76;_0x5170ad[_0x4e7b4d(0x16a)]({'isUndoable':!0x1},_0x332dfa=>{const _0x476af4=_0x4e7b4d;this[_0x476af4(0x16b)](_0x332dfa);});},{'priority':_0x421c76(0x13d)}),this[_0x421c76(0x151)](_0x38f39a,_0x421c76(0x160),()=>{const _0x51a071=_0x421c76;this[_0x51a071(0x15a)]=[],this[_0x51a071(0x167)][_0x51a071(0x127)](),this[_0x51a071(0x148)][_0x51a071(0x127)](),this[_0x51a071(0x142)][_0x51a071(0x127)]();},{'priority':_0x421c76(0x11d)});}[_0x1b14ed(0x145)](){const _0x1f0af=_0x1b14ed;return this[_0x1f0af(0x13e)];}[_0x1b14ed(0x13f)](_0x77bc6b){const _0x41b9a1=_0x1b14ed;return this[_0x41b9a1(0x15a)][_0x41b9a1(0x15c)](_0x814c69=>_0x814c69['id']===_0x77bc6b)||null;}[_0x1b14ed(0x130)](){const _0x5c327e=_0x1b14ed;return Array[_0x5c327e(0x12c)](this[_0x5c327e(0x15a)]);}[_0x1b14ed(0x11b)](){const _0x4f3b01=_0x1b14ed;return this[_0x4f3b01(0x12d)];}[_0x1b14ed(0x13b)](_0x9f8059){const _0xd40204=_0x1b14ed;this[_0xd40204(0x12d)]=_0x9f8059;}[_0x1b14ed(0x117)](_0x4f2170,_0x34e43c=0x0){const _0x27caea=_0x1b14ed;let _0x2ba6ea=!0x1;for(let _0xe19cc2=_0x34e43c;_0xe19cc2<this[_0x27caea(0x15a)][_0x27caea(0x10f)];_0xe19cc2++)this[_0x27caea(0x118)](_0x4f2170,_0xe19cc2)&&(_0x2ba6ea=!0x0);return _0x2ba6ea;}[_0x1b14ed(0x16e)](_0x49891e,_0x44fc22){const _0x82bf7a=_0x1b14ed,_0x5e8815=_0x49891e[_0x82bf7a(0x159)](_0x82bf7a(0x153),{});return _0x49891e[_0x82bf7a(0x169)](_0x5e8815,_0x44fc22),this[_0x82bf7a(0x13e)]=_0x5e8815,_0x5e8815;}[_0x1b14ed(0x16b)](_0x33b480){const _0x1dd5fc=_0x1b14ed;if(!this[_0x1dd5fc(0x15a)][_0x1dd5fc(0x10f)]||this[_0x1dd5fc(0x13e)])return;const _0x26084b=this[_0x1dd5fc(0x15a)][0x0][_0x1dd5fc(0x12b)][_0x1dd5fc(0x165)],_0x5201ea=this[_0x1dd5fc(0x16e)](_0x33b480,_0x26084b);for(const _0x959dbd of this[_0x1dd5fc(0x15a)])_0x959dbd[_0x1dd5fc(0x13c)][_0x1dd5fc(0x135)]||_0x33b480[_0x1dd5fc(0x146)](_0x959dbd[_0x1dd5fc(0x13c)],_0x5201ea,_0x1dd5fc(0x149));this[_0x1dd5fc(0x117)](_0x33b480);}[_0x1b14ed(0x14e)](_0x5950a2,_0x1d0dc0){const _0x421790=_0x1b14ed;let _0x334da7=!0x1;const {inserted:_0x1c5903,removed:_0x1df53e,moved:_0x3a84d8}=this[_0x421790(0x167)][_0x421790(0x16c)](_0x1d0dc0);if(_0x3a84d8[_0x421790(0x10f)]&&(this[_0x421790(0x13e)]=_0x3a84d8[0x0]),_0x1c5903[_0x421790(0x10f)]){if(_0x1c5903[_0x421790(0x10f)]>0x1||this[_0x421790(0x13e)]&&_0x1c5903[_0x421790(0x121)](_0xf26145=>_0xf26145!==this[_0x421790(0x13e)])){const _0x46c559=_0x5950a2[_0x421790(0x159)](_0x421790(0x153),{}),_0x3e1823=[];this[_0x421790(0x13e)]&&_0x3e1823[_0x421790(0x157)](this[_0x421790(0x13e)]),_0x3e1823[_0x421790(0x157)](..._0x1c5903),_0x5950a2[_0x421790(0x146)](_0x46c559,_0x3e1823[0x0],_0x421790(0x150));for(const _0x53a186 of _0x3e1823)_0x5950a2[_0x421790(0x114)](_0x5950a2[_0x421790(0x14d)](_0x53a186),_0x5950a2[_0x421790(0x11a)](_0x46c559,_0x421790(0x149))),_0x5950a2[_0x421790(0x156)](_0x53a186);this[_0x421790(0x13e)]=_0x46c559,this[_0x421790(0x117)](_0x5950a2),_0x334da7=!0x0;}else this[_0x421790(0x13e)]=_0x1c5903[0x0];}if(_0x1df53e[_0x421790(0x10f)]&&_0x421790(0x140)===this[_0x421790(0x13e)]?.[_0x421790(0x165)][_0x421790(0x10d)]){for(const _0x22ed26 of this[_0x421790(0x15a)])_0x5950a2[_0x421790(0x156)](_0x22ed26[_0x421790(0x12b)]),_0x334da7=!0x0;this[_0x421790(0x15a)]=[],this[_0x421790(0x13e)]=null;}return _0x334da7;}[_0x1b14ed(0x158)](_0xa01e9f,_0x310f38){const _0x4dd5e3=_0x1b14ed;let _0x2ec2ca=!0x1;const _0x4e1656=this[_0x4dd5e3(0x162)][_0x4dd5e3(0x15e)][_0x4dd5e3(0x138)](_0x4dd5e3(0x166)),{inserted:_0x10a65c,moved:_0x325b93}=this[_0x4dd5e3(0x142)][_0x4dd5e3(0x16c)](_0x310f38);for(const _0x185be9 of[..._0x325b93,..._0x10a65c]){const _0x251b27=_0x185be9[_0x4dd5e3(0x124)](_0x4dd5e3(0x16d)),_0x12f35e=this[_0x4dd5e3(0x13f)](_0x251b27);_0x12f35e&&(_0x12f35e[_0x4dd5e3(0x13c)]=_0x185be9),_(_0xa01e9f,_0x4e1656,_0x185be9)&&(_0x2ec2ca=!0x0);}return _0x2ec2ca;}[_0x1b14ed(0x126)](_0x3233a8,_0xcb5805){const _0x6a8450=_0x1b14ed;let _0x113ce3=!0x1;const {removed:_0x425a68,inserted:_0x29d0d3,moved:_0x57dea8}=this[_0x6a8450(0x148)][_0x6a8450(0x16c)](_0xcb5805);for(const _0x36b7a6 of _0x425a68)this[_0x6a8450(0x12e)](_0x3233a8,_0x36b7a6)&&(_0x113ce3=!0x0);for(const _0x32cd00 of _0x29d0d3)this[_0x6a8450(0x14c)](_0x3233a8,_0x32cd00)&&(_0x113ce3=!0x0);for(const _0x196e72 of _0x57dea8)this[_0x6a8450(0x12f)](_0x3233a8,_0x196e72)&&(_0x113ce3=!0x0);return _0x113ce3;}[_0x1b14ed(0x139)](_0x32121f){const _0x5aeef1=_0x1b14ed;if(!this[_0x5aeef1(0x13e)])return!0x1;let _0x39b2dc=!0x1;if(this[_0x5aeef1(0x13e)][_0x5aeef1(0x168)]!==this[_0x5aeef1(0x15a)][_0x5aeef1(0x10f)]){const _0x3449ec=[];for(const _0x3847ec of this[_0x5aeef1(0x13e)][_0x5aeef1(0x155)]()){const _0x1c985c=_0x3847ec[_0x5aeef1(0x124)](_0x5aeef1(0x16d));this[_0x5aeef1(0x13f)](_0x1c985c)||(_0x3449ec[_0x5aeef1(0x11e)](_0x3847ec),_0x39b2dc=!0x0);}for(const _0x56c83b of _0x3449ec)_0x32121f[_0x5aeef1(0x156)](_0x56c83b);}const _0x57a33b=new Set(),_0x391536=[];for(const _0x5b6288 of this[_0x5aeef1(0x13e)][_0x5aeef1(0x155)]()){const _0x4daf8b=_0x5b6288[_0x5aeef1(0x124)](_0x5aeef1(0x16d));_0x57a33b[_0x5aeef1(0x10e)](_0x4daf8b)?(_0x391536[_0x5aeef1(0x11e)](_0x5b6288),_0x39b2dc=!0x0):_0x57a33b[_0x5aeef1(0x164)](_0x4daf8b);}for(const _0x28dc1b of _0x391536)_0x32121f[_0x5aeef1(0x156)](_0x28dc1b);return this[_0x5aeef1(0x13e)][_0x5aeef1(0x168)]||(_0x32121f[_0x5aeef1(0x156)](this[_0x5aeef1(0x13e)]),this[_0x5aeef1(0x13e)]=null,_0x39b2dc=!0x0),_0x39b2dc;}[_0x1b14ed(0x14c)](_0x3754f6,_0x13f0fc){const _0x21bd5d=_0x1b14ed;if(this[_0x21bd5d(0x15a)][_0x21bd5d(0x15c)](_0x2a4701=>_0x2a4701[_0x21bd5d(0x12b)]===_0x13f0fc))return!0x1;let _0x1bd38a=!0x1;const _0x450514=_0x13f0fc[_0x21bd5d(0x124)](_0x21bd5d(0x16d)),_0x560f58=this[_0x21bd5d(0x15a)][_0x21bd5d(0x110)](_0x344718=>_0x344718['id']===_0x450514);-0x1!==_0x560f58&&(_0x3754f6[_0x21bd5d(0x156)](this[_0x21bd5d(0x15a)][_0x560f58][_0x21bd5d(0x12b)]),this[_0x21bd5d(0x15a)][_0x21bd5d(0x128)](_0x560f58,0x1),_0x1bd38a=!0x0);let _0x4963fa=this[_0x21bd5d(0x13e)]?function(_0x48e572,_0x408b06){const _0x543da8=_0x21bd5d;for(const _0x193b9f of _0x48e572[_0x543da8(0x155)]())if(_0x193b9f[_0x543da8(0x124)](_0x543da8(0x16d))===_0x408b06)return _0x193b9f;return null;}(this[_0x21bd5d(0x13e)],_0x450514):null;_0x4963fa||(_0x4963fa=_0x3754f6[_0x21bd5d(0x159)](_0x21bd5d(0x137),{'footnoteId':_0x450514}),this[_0x21bd5d(0x13e)]&&(_0x3754f6[_0x21bd5d(0x146)](_0x4963fa,this[_0x21bd5d(0x13e)],_0x21bd5d(0x149)),_0x1bd38a=!0x0));const _0x352df8={'id':_0x450514,'reference':_0x13f0fc,'definition':_0x4963fa},_0x3a0c08=I(this[_0x21bd5d(0x162)][_0x21bd5d(0x11f)],this[_0x21bd5d(0x15a)],_0x13f0fc);this[_0x21bd5d(0x15a)][_0x21bd5d(0x128)](_0x3a0c08,0x0,_0x352df8);let _0x59082d=_0x3a0c08;return-0x1!==_0x560f58&&(_0x59082d=Math[_0x21bd5d(0x15f)](_0x3a0c08,_0x560f58)),this[_0x21bd5d(0x117)](_0x3754f6,_0x59082d)&&(_0x1bd38a=!0x0),_0x1bd38a;}[_0x1b14ed(0x12e)](_0x78e29e,_0x9dddeb){const _0x1d01c2=_0x1b14ed,_0x1e3408=this[_0x1d01c2(0x15a)][_0x1d01c2(0x110)](_0x17ecf0=>_0x17ecf0['id']===_0x9dddeb);if(-0x1===_0x1e3408)return!0x1;let _0x408599=!0x1;const _0x4f9c61=this[_0x1d01c2(0x15a)][_0x1e3408];return _0x1d01c2(0x140)!==_0x4f9c61[_0x1d01c2(0x13c)][_0x1d01c2(0x165)][_0x1d01c2(0x10d)]&&(_0x78e29e[_0x1d01c2(0x156)](_0x4f9c61[_0x1d01c2(0x13c)]),_0x408599=!0x0),this[_0x1d01c2(0x15a)][_0x1d01c2(0x128)](_0x1e3408,0x1),this[_0x1d01c2(0x117)](_0x78e29e,_0x1e3408)&&(_0x408599=!0x0),_0x408599;}[_0x1b14ed(0x12f)](_0x13624a,_0x47658c){const _0x4991c8=_0x1b14ed,_0x84e6ff=_0x47658c[_0x4991c8(0x124)](_0x4991c8(0x16d)),_0xc6d366=this[_0x4991c8(0x15a)][_0x4991c8(0x110)](_0x3c3571=>_0x3c3571['id']===_0x84e6ff),_0x496387=this[_0x4991c8(0x15a)][_0xc6d366];let _0x340a7b=!0x1;_0x496387[_0x4991c8(0x12b)]=_0x47658c,this[_0x4991c8(0x15a)][_0x4991c8(0x128)](_0xc6d366,0x1);const _0x1c406a=I(this[_0x4991c8(0x162)][_0x4991c8(0x11f)],this[_0x4991c8(0x15a)],_0x47658c);return this[_0x4991c8(0x15a)][_0x4991c8(0x128)](_0x1c406a,0x0,_0x496387),this[_0x4991c8(0x117)](_0x13624a,Math[_0x4991c8(0x15f)](_0xc6d366,_0x1c406a))&&(_0x340a7b=!0x0),_0x340a7b;}[_0x1b14ed(0x118)](_0x2bfc9f,_0x51c602){const _0x5db2d3=_0x1b14ed;if(!this[_0x5db2d3(0x13e)])return!0x1;const _0x54e384=this[_0x5db2d3(0x15a)][_0x51c602];let _0x117357;return _0x117357=this[_0x5db2d3(0x12d)]?this[_0x5db2d3(0x12d)]({'footnote':_0x54e384,'container':this[_0x5db2d3(0x13e)],'digits':String(this[_0x5db2d3(0x15a)][_0x5db2d3(0x10f)])[_0x5db2d3(0x10f)],'value':_0x51c602+0x1}):String(_0x51c602+0x1),_0x54e384[_0x5db2d3(0x12b)][_0x5db2d3(0x124)](_0x5db2d3(0x129))!=_0x117357&&(_0x2bfc9f[_0x5db2d3(0x132)](_0x5db2d3(0x129),_0x117357,_0x54e384[_0x5db2d3(0x12b)]),!0x0);}[_0x1b14ed(0x15b)](_0x251f08){const _0x267cdd=_0x1b14ed;if(!this[_0x267cdd(0x13e)]||this[_0x267cdd(0x15a)][_0x267cdd(0x10f)]<0x2)return!0x1;if(function(_0x2e718c,_0x38252f){const _0x1b4074=_0x267cdd;if(_0x2e718c[_0x1b4074(0x10f)]!==_0x38252f[_0x1b4074(0x10f)])return!0x1;for(let _0x59e8f0=0x0;_0x59e8f0<_0x2e718c[_0x1b4074(0x10f)];_0x59e8f0++)if(_0x2e718c[_0x59e8f0]!==_0x38252f[_0x59e8f0])return!0x1;return!0x0;}(this[_0x267cdd(0x15a)][_0x267cdd(0x14f)](_0x25cf8d=>_0x25cf8d['id']),Array[_0x267cdd(0x12c)](this[_0x267cdd(0x13e)][_0x267cdd(0x155)]())[_0x267cdd(0x14f)](_0x278844=>_0x278844[_0x267cdd(0x124)](_0x267cdd(0x16d)))))return!0x1;let _0x3e4e6e=!0x1;for(let _0x218294=0x0;_0x218294<this[_0x267cdd(0x15a)][_0x267cdd(0x10f)];_0x218294++){const _0x2f0bbc=this[_0x267cdd(0x15a)][_0x218294],_0x51591e=_0x251f08[_0x267cdd(0x144)](_0x2f0bbc[_0x267cdd(0x13c)]),_0x8eacff=_0x251f08[_0x267cdd(0x11a)](this[_0x267cdd(0x13e)],_0x218294);_0x51591e[_0x267cdd(0x122)](_0x8eacff)||(_0x251f08[_0x267cdd(0x114)](_0x251f08[_0x267cdd(0x123)](_0x2f0bbc[_0x267cdd(0x13c)]),_0x8eacff),_0x3e4e6e=!0x0);}return _0x3e4e6e;}[_0x1b14ed(0x16f)](_0xdb1819){const _0x5a45b8=_0x1b14ed;if(!this[_0x5a45b8(0x15a)][_0x5a45b8(0x10f)])return!0x1;const {model:_0x4a4e38}=this[_0x5a45b8(0x162)];let _0x1218d0=!0x1;for(let _0x5bfb0a=0x0;_0x5bfb0a<this[_0x5a45b8(0x15a)][_0x5a45b8(0x10f)]-0x1;_0x5bfb0a++){const _0x1cdc71=this[_0x5a45b8(0x15a)][_0x5bfb0a],_0x70ee7e=this[_0x5a45b8(0x15a)][_0x5bfb0a+0x1],_0xe216b8=_0x4a4e38[_0x5a45b8(0x144)](_0x1cdc71[_0x5a45b8(0x12b)]),_0x337b83=_0x4a4e38[_0x5a45b8(0x144)](_0x70ee7e[_0x5a45b8(0x12b)]);_0x5a45b8(0x11c)===_0xe216b8[_0x5a45b8(0x10c)](_0x337b83)&&(this[_0x5a45b8(0x12f)](_0xdb1819,_0x1cdc71[_0x5a45b8(0x12b)]),_0x5bfb0a=-0x1,_0x1218d0=!0x0);}return _0x1218d0;}}function _(_0x42eef3,_0x2097dc,_0x5ee88d){const _0xa4d503=_0x1b14ed;if(_0x5ee88d[_0xa4d503(0x168)])return!0x1;const _0x1d66ef=_0x2097dc?_0xa4d503(0x119):_0xa4d503(0x133);return _0x42eef3[_0xa4d503(0x146)](_0x42eef3[_0xa4d503(0x159)](_0x1d66ef),_0x5ee88d),!0x0;}function _0x25e2(){const _0x40ea39=['footnotes.multiBlock','_footnoteDefsContainerTracker','childCount','append','enqueueChange','_ensureFootnotesDefinitionsContainerExists','getChanges','footnoteId','_insertEmptyFootnotesDefinitionsContainer','_ensureFootnotesReferencesHaveProperOrder','5098654gDUpEP','isPremiumPlugin','compareWith','rootName','has','length','findIndex','56FQDtwF','FootnotesTracker','3904940PNpzrd','move','getRootNames','indexOf','_updateFootnotesCounters','_updateFootnoteRefCounter','paragraph','createPositionAt','getFootnotesFormatter','after','high','unshift','model','6AYuhSV','some','isEqual','createRangeOn','getAttribute','change:data','_handleFootnoteReferencesChanges','reset','splice','footnoteCounter','footnoteRef','reference','from','_footnoteFormatter','_handleRemoveFootnoteReferenceById','_handleMovedFootnoteReference','getFootnotes','1250655AylzvG','setAttribute','footnoteInlineContent','differ','parent','4856841NhHSIl','footnoteDefinition','get','_handleFootnotesDefinitionsObjectSync','1754312JMYfel','setFootnoteFormatter','definition','low','_footnotesDefinitions','getFootnote','$graveyard','5090270xWNWzf','_footnoteDefsTracker','document','createPositionBefore','getFootnotesDefinitionsObjectElement','insert','isOfficialPlugin','_footnoteRefsTracker','end','7831ocLVpN','singleton','_handleInsertedFootnoteReference','createRangeIn','_handleFootnotesDefinitionsObjectChanges','map','before','listenTo','registerPostFixer','footnotesDefinitions','init','getChildren','remove','push','_handleFootnoteDefinitionsChanges','createElement','_footnotes','_sortFootnoteDefinitions','find','12ymrYFj','config','min','set','pluginName','editor','28DCnFFb','add','root'];_0x25e2=function(){return _0x40ea39;};return _0x25e2();}function I(_0x32667c,_0x5788e5,_0x2f00a0){const _0x20d719=_0x1b14ed;if(0x0===_0x5788e5[_0x20d719(0x10f)])return 0x0;const _0x10f8c2=_0x32667c[_0x20d719(0x144)](_0x2f00a0);for(let _0x2b8b17=0x0;_0x2b8b17<_0x5788e5[_0x20d719(0x10f)];_0x2b8b17++){const _0x18be7d=_0x5788e5[_0x2b8b17],_0x2d9f10=_0x32667c[_0x20d719(0x144)](_0x18be7d[_0x20d719(0x12b)]);if(_0x20d719(0x150)===_0x10f8c2[_0x20d719(0x10c)](_0x2d9f10))return _0x2b8b17;}const _0x4ddfa5=_0x2f00a0[_0x20d719(0x165)];let _0x36f143=-0x1;for(let _0x2ffd2b=_0x5788e5[_0x20d719(0x10f)]-0x1;_0x2ffd2b>=0x0;_0x2ffd2b--)if(_0x5788e5[_0x2ffd2b][_0x20d719(0x12b)][_0x20d719(0x165)]===_0x4ddfa5){_0x36f143=_0x2ffd2b;break;}if(-0x1!==_0x36f143)return _0x36f143+0x1;const _0x4171de=_0x32667c[_0x20d719(0x143)][_0x20d719(0x115)](),_0x4a56cc=_0x4171de[_0x20d719(0x116)](_0x4ddfa5[_0x20d719(0x10d)]),_0x2b5992=_0x4171de[_0x4a56cc+0x1];if(_0x2b5992){for(let _0x4d412f=0x0;_0x4d412f<_0x5788e5[_0x20d719(0x10f)];_0x4d412f++)if(_0x5788e5[_0x4d412f][_0x20d719(0x12b)][_0x20d719(0x165)][_0x20d719(0x10d)]===_0x2b5992)return _0x4d412f;}return _0x5788e5[_0x20d719(0x10f)];}
|
|
23
|
+
const _0x4c9570=_0x2e1b;(function(_0x16d780,_0x471928){const _0x4741cf=_0x2e1b,_0x2492b1=_0x16d780();while(!![]){try{const _0x1b7484=-parseInt(_0x4741cf(0x1fe))/0x1+-parseInt(_0x4741cf(0x1df))/0x2+parseInt(_0x4741cf(0x1a6))/0x3+-parseInt(_0x4741cf(0x1b2))/0x4+-parseInt(_0x4741cf(0x1a4))/0x5+-parseInt(_0x4741cf(0x1c7))/0x6*(parseInt(_0x4741cf(0x1c8))/0x7)+parseInt(_0x4741cf(0x1cf))/0x8;if(_0x1b7484===_0x471928)break;else _0x2492b1['push'](_0x2492b1['shift']());}catch(_0x40d89b){_0x2492b1['push'](_0x2492b1['shift']());}}}(_0x27eb,0x1a237));import{Plugin as _0x47f204}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4bba40}from'./modelelementtracker.js';export class FootnotesTracker extends _0x47f204{[_0x4c9570(0x1ee)]=[];[_0x4c9570(0x1c4)]=null;[_0x4c9570(0x1b9)]=null;[_0x4c9570(0x1b6)];[_0x4c9570(0x1ab)];[_0x4c9570(0x1a0)];static get[_0x4c9570(0x1e9)](){const _0x4be713=_0x4c9570;return _0x4be713(0x1c5);}static get[_0x4c9570(0x1b3)](){return!0x0;}static get[_0x4c9570(0x1ce)](){return!0x0;}constructor(_0x4d4897){const _0x3e8929=_0x4c9570;super(_0x4d4897),this[_0x3e8929(0x1b6)]=new _0x4bba40(this[_0x3e8929(0x1cd)][_0x3e8929(0x1e6)],{'elementName':_0x3e8929(0x1bf),'getElementKey':()=>_0x3e8929(0x1c3)}),this[_0x3e8929(0x1ab)]=new _0x4bba40(this[_0x3e8929(0x1cd)][_0x3e8929(0x1e6)],{'elementName':_0x3e8929(0x1a9),'getElementKey':_0x4db0e5=>_0x4db0e5[_0x3e8929(0x1d9)](_0x3e8929(0x1b4))}),this[_0x3e8929(0x1a0)]=new _0x4bba40(this[_0x3e8929(0x1cd)][_0x3e8929(0x1e6)],{'elementName':_0x3e8929(0x1c6),'getElementKey':_0x6059d1=>_0x6059d1[_0x3e8929(0x1d9)](_0x3e8929(0x1b4))});}[_0x4c9570(0x1d1)](){const _0x562b19=_0x4c9570,{editor:_0x5239c1}=this,{model:_0x1457af,data:_0x59a635}=_0x5239c1;_0x1457af[_0x562b19(0x1bc)][_0x562b19(0x1d2)](_0x5c2a00=>{const _0x5a3be7=_0x562b19,_0x3cde4d=_0x1457af[_0x5a3be7(0x1bc)][_0x5a3be7(0x1f4)][_0x5a3be7(0x1e2)]();let _0x905e05=!0x1;return this[_0x5a3be7(0x1ec)](_0x5c2a00,_0x3cde4d)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1d8)](_0x5c2a00,_0x3cde4d)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1c9)](_0x5c2a00,_0x3cde4d)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1a2)](_0x5c2a00)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1f3)](_0x5c2a00)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1de)](_0x5c2a00)&&(_0x905e05=!0x0),_0x905e05;}),this[_0x562b19(0x19f)](_0x1457af[_0x562b19(0x1bc)],_0x562b19(0x1f8),()=>{const _0x27b41d=_0x562b19;_0x1457af[_0x27b41d(0x1d5)]({'isUndoable':!0x1},_0x16813b=>{const _0x2a506a=_0x27b41d;this[_0x2a506a(0x1d7)](_0x16813b);});},{'priority':_0x562b19(0x1b7)}),this[_0x562b19(0x19f)](_0x59a635,_0x562b19(0x1ca),()=>{const _0x3dbc26=_0x562b19;this[_0x3dbc26(0x1ee)]=[],this[_0x3dbc26(0x1b6)][_0x3dbc26(0x1af)](),this[_0x3dbc26(0x1ab)][_0x3dbc26(0x1af)](),this[_0x3dbc26(0x1a0)][_0x3dbc26(0x1af)]();},{'priority':_0x562b19(0x1f0)});}[_0x4c9570(0x1a7)](){const _0x4b62ef=_0x4c9570;return this[_0x4b62ef(0x1c4)];}[_0x4c9570(0x1fb)](_0x3acf06){const _0x3cab30=_0x4c9570;return this[_0x3cab30(0x1ee)][_0x3cab30(0x1b8)](_0x49282f=>_0x49282f['id']===_0x3acf06)||null;}[_0x4c9570(0x1eb)](){const _0x14ce8f=_0x4c9570;return Array[_0x14ce8f(0x1a5)](this[_0x14ce8f(0x1ee)]);}[_0x4c9570(0x1b5)](){const _0x261720=_0x4c9570;return this[_0x261720(0x1b9)];}[_0x4c9570(0x1dc)](_0x7f9042){const _0x141205=_0x4c9570;this[_0x141205(0x1b9)]=_0x7f9042;}[_0x4c9570(0x1b0)](_0x28ff4c,_0x4c33c4=0x0){const _0x12fba7=_0x4c9570;let _0x41ce50=!0x1;for(let _0x3e22f8=_0x4c33c4;_0x3e22f8<this[_0x12fba7(0x1ee)][_0x12fba7(0x1cb)];_0x3e22f8++)this[_0x12fba7(0x1ea)](_0x28ff4c,_0x3e22f8)&&(_0x41ce50=!0x0);return _0x41ce50;}[_0x4c9570(0x1a3)](_0xd7eeac,_0x34b592){const _0x54aee6=_0x4c9570,_0x5b631f=_0xd7eeac[_0x54aee6(0x1da)](_0x54aee6(0x1bf),{});return _0xd7eeac[_0x54aee6(0x1e3)](_0x5b631f,_0x34b592),this[_0x54aee6(0x1c4)]=_0x5b631f,_0x5b631f;}[_0x4c9570(0x1d7)](_0x25ed60){const _0x3572a5=_0x4c9570;if(!this[_0x3572a5(0x1ee)][_0x3572a5(0x1cb)]||this[_0x3572a5(0x1c4)])return;const _0xea6cfb=this[_0x3572a5(0x1ee)][0x0][_0x3572a5(0x1d6)][_0x3572a5(0x1ac)],_0x18293a=this[_0x3572a5(0x1a3)](_0x25ed60,_0xea6cfb);for(const _0x526b32 of this[_0x3572a5(0x1ee)])_0x526b32[_0x3572a5(0x1be)][_0x3572a5(0x1ae)]||_0x25ed60[_0x3572a5(0x1f6)](_0x526b32[_0x3572a5(0x1be)],_0x18293a,_0x3572a5(0x1e0));this[_0x3572a5(0x1b0)](_0x25ed60);}[_0x4c9570(0x1ec)](_0x1a4481,_0x8c8774){const _0x4876f0=_0x4c9570;let _0x72db69=!0x1;const {inserted:_0x223d57,removed:_0x580e52,moved:_0x394d50}=this[_0x4876f0(0x1b6)][_0x4876f0(0x1e2)](_0x8c8774);if(_0x394d50[_0x4876f0(0x1cb)]&&(this[_0x4876f0(0x1c4)]=_0x394d50[0x0]),_0x223d57[_0x4876f0(0x1cb)]){if(_0x223d57[_0x4876f0(0x1cb)]>0x1||this[_0x4876f0(0x1c4)]&&_0x223d57[_0x4876f0(0x1a1)](_0x4b6ef3=>_0x4b6ef3!==this[_0x4876f0(0x1c4)])){const _0x561820=_0x1a4481[_0x4876f0(0x1da)](_0x4876f0(0x1bf),{}),_0x3e25fe=[];this[_0x4876f0(0x1c4)]&&_0x3e25fe[_0x4876f0(0x1fc)](this[_0x4876f0(0x1c4)]),_0x3e25fe[_0x4876f0(0x1fc)](..._0x223d57),_0x1a4481[_0x4876f0(0x1f6)](_0x561820,_0x3e25fe[0x0],_0x4876f0(0x1fd));for(const _0x18a1dc of _0x3e25fe)_0x1a4481[_0x4876f0(0x1f5)](_0x1a4481[_0x4876f0(0x1a8)](_0x18a1dc),_0x1a4481[_0x4876f0(0x1cc)](_0x561820,_0x4876f0(0x1e0))),_0x1a4481[_0x4876f0(0x1bd)](_0x18a1dc);this[_0x4876f0(0x1c4)]=_0x561820,this[_0x4876f0(0x1b0)](_0x1a4481),_0x72db69=!0x0;}else this[_0x4876f0(0x1c4)]=_0x223d57[0x0];}if(_0x580e52[_0x4876f0(0x1cb)]&&_0x4876f0(0x1ad)===this[_0x4876f0(0x1c4)]?.[_0x4876f0(0x1ac)][_0x4876f0(0x1e4)]){for(const _0x27c176 of this[_0x4876f0(0x1ee)])_0x1a4481[_0x4876f0(0x1bd)](_0x27c176[_0x4876f0(0x1d6)]),_0x72db69=!0x0;this[_0x4876f0(0x1ee)]=[],this[_0x4876f0(0x1c4)]=null;}return _0x72db69;}[_0x4c9570(0x1d8)](_0x4656c9,_0x4b568e){const _0x187f04=_0x4c9570;let _0x54af21=!0x1;const _0x3d7585=this[_0x187f04(0x1cd)][_0x187f04(0x1f7)][_0x187f04(0x1d4)](_0x187f04(0x1d0)),{inserted:_0x397fdb,moved:_0x451ff9}=this[_0x187f04(0x1a0)][_0x187f04(0x1e2)](_0x4b568e);for(const _0x6b69b3 of[..._0x451ff9,..._0x397fdb]){const _0x5bba91=_0x6b69b3[_0x187f04(0x1d9)](_0x187f04(0x1b4)),_0x65f33b=this[_0x187f04(0x1fb)](_0x5bba91);_0x65f33b&&(_0x65f33b[_0x187f04(0x1be)]=_0x6b69b3),_(_0x4656c9,_0x3d7585,_0x6b69b3)&&(_0x54af21=!0x0);}return _0x54af21;}[_0x4c9570(0x1c9)](_0x3e7c5d,_0x1cf85c){const _0x81822a=_0x4c9570;let _0x53ed8f=!0x1;const {removed:_0xa1d38e,inserted:_0x1690bf,moved:_0x19155a}=this[_0x81822a(0x1ab)][_0x81822a(0x1e2)](_0x1cf85c);for(const _0x4c3d53 of _0xa1d38e)this[_0x81822a(0x1c1)](_0x3e7c5d,_0x4c3d53)&&(_0x53ed8f=!0x0);for(const _0x3cf9ce of _0x1690bf)this[_0x81822a(0x1ef)](_0x3e7c5d,_0x3cf9ce)&&(_0x53ed8f=!0x0);for(const _0xf9e827 of _0x19155a)this[_0x81822a(0x1bb)](_0x3e7c5d,_0xf9e827)&&(_0x53ed8f=!0x0);return _0x53ed8f;}[_0x4c9570(0x1f3)](_0x544cca){const _0x3108ce=_0x4c9570;if(!this[_0x3108ce(0x1c4)])return!0x1;let _0x1ba41e=!0x1;if(this[_0x3108ce(0x1c4)][_0x3108ce(0x1f2)]!==this[_0x3108ce(0x1ee)][_0x3108ce(0x1cb)]){const _0x23f041=[];for(const _0x2ab928 of this[_0x3108ce(0x1c4)][_0x3108ce(0x1e8)]()){const _0x80fab1=_0x2ab928[_0x3108ce(0x1d9)](_0x3108ce(0x1b4));this[_0x3108ce(0x1fb)](_0x80fab1)||(_0x23f041[_0x3108ce(0x1e5)](_0x2ab928),_0x1ba41e=!0x0);}for(const _0x7bb717 of _0x23f041)_0x544cca[_0x3108ce(0x1bd)](_0x7bb717);}const _0x3fea8d=new Set(),_0x3f37ea=[];for(const _0x199d18 of this[_0x3108ce(0x1c4)][_0x3108ce(0x1e8)]()){const _0x2cd18c=_0x199d18[_0x3108ce(0x1d9)](_0x3108ce(0x1b4));_0x3fea8d[_0x3108ce(0x1e7)](_0x2cd18c)?(_0x3f37ea[_0x3108ce(0x1e5)](_0x199d18),_0x1ba41e=!0x0):_0x3fea8d[_0x3108ce(0x1dd)](_0x2cd18c);}for(const _0x57898d of _0x3f37ea)_0x544cca[_0x3108ce(0x1bd)](_0x57898d);return this[_0x3108ce(0x1c4)][_0x3108ce(0x1f2)]||(_0x544cca[_0x3108ce(0x1bd)](this[_0x3108ce(0x1c4)]),this[_0x3108ce(0x1c4)]=null,_0x1ba41e=!0x0),_0x1ba41e;}[_0x4c9570(0x1ef)](_0x14350a,_0x3dfeeb){const _0x375ac1=_0x4c9570;if(this[_0x375ac1(0x1ee)][_0x375ac1(0x1b8)](_0x38a0fb=>_0x38a0fb[_0x375ac1(0x1d6)]===_0x3dfeeb))return!0x1;let _0x3c1b11=!0x1;const _0x4da0ee=_0x3dfeeb[_0x375ac1(0x1d9)](_0x375ac1(0x1b4)),_0xa8ff21=this[_0x375ac1(0x1ee)][_0x375ac1(0x1ed)](_0x33df46=>_0x33df46['id']===_0x4da0ee);-0x1!==_0xa8ff21&&(_0x14350a[_0x375ac1(0x1bd)](this[_0x375ac1(0x1ee)][_0xa8ff21][_0x375ac1(0x1d6)]),this[_0x375ac1(0x1ee)][_0x375ac1(0x1ba)](_0xa8ff21,0x1),_0x3c1b11=!0x0);let _0x55c3cf=this[_0x375ac1(0x1c4)]?function(_0x3e37f8,_0x30f294){const _0x53fd9b=_0x375ac1;for(const _0x28a55b of _0x3e37f8[_0x53fd9b(0x1e8)]())if(_0x28a55b[_0x53fd9b(0x1d9)](_0x53fd9b(0x1b4))===_0x30f294)return _0x28a55b;return null;}(this[_0x375ac1(0x1c4)],_0x4da0ee):null;_0x55c3cf||(_0x55c3cf=_0x14350a[_0x375ac1(0x1da)](_0x375ac1(0x1c6),{'footnoteId':_0x4da0ee}),this[_0x375ac1(0x1c4)]&&(_0x14350a[_0x375ac1(0x1f6)](_0x55c3cf,this[_0x375ac1(0x1c4)],_0x375ac1(0x1e0)),_0x3c1b11=!0x0));const _0x4f18f7={'id':_0x4da0ee,'reference':_0x3dfeeb,'definition':_0x55c3cf},_0x1a9592=I(this[_0x375ac1(0x1cd)][_0x375ac1(0x1e6)],this[_0x375ac1(0x1ee)],_0x3dfeeb);this[_0x375ac1(0x1ee)][_0x375ac1(0x1ba)](_0x1a9592,0x0,_0x4f18f7);let _0x62414d=_0x1a9592;return-0x1!==_0xa8ff21&&(_0x62414d=Math[_0x375ac1(0x1f9)](_0x1a9592,_0xa8ff21)),this[_0x375ac1(0x1b0)](_0x14350a,_0x62414d)&&(_0x3c1b11=!0x0),_0x3c1b11;}[_0x4c9570(0x1c1)](_0x4d3212,_0x4995be){const _0x3bdb14=_0x4c9570,_0x55c368=this[_0x3bdb14(0x1ee)][_0x3bdb14(0x1ed)](_0x5d9e76=>_0x5d9e76['id']===_0x4995be);if(-0x1===_0x55c368)return!0x1;let _0x5a9899=!0x1;const _0x1e0aa0=this[_0x3bdb14(0x1ee)][_0x55c368];return _0x3bdb14(0x1ad)!==_0x1e0aa0[_0x3bdb14(0x1be)][_0x3bdb14(0x1ac)][_0x3bdb14(0x1e4)]&&(_0x4d3212[_0x3bdb14(0x1bd)](_0x1e0aa0[_0x3bdb14(0x1be)]),_0x5a9899=!0x0),this[_0x3bdb14(0x1ee)][_0x3bdb14(0x1ba)](_0x55c368,0x1),this[_0x3bdb14(0x1b0)](_0x4d3212,_0x55c368)&&(_0x5a9899=!0x0),_0x5a9899;}[_0x4c9570(0x1bb)](_0xced281,_0xafac71){const _0x19fdb8=_0x4c9570,_0xcf8f25=_0xafac71[_0x19fdb8(0x1d9)](_0x19fdb8(0x1b4)),_0x57daec=this[_0x19fdb8(0x1ee)][_0x19fdb8(0x1ed)](_0x59aeaf=>_0x59aeaf['id']===_0xcf8f25),_0x480e94=this[_0x19fdb8(0x1ee)][_0x57daec];let _0x17fec7=!0x1;_0x480e94[_0x19fdb8(0x1d6)]=_0xafac71,this[_0x19fdb8(0x1ee)][_0x19fdb8(0x1ba)](_0x57daec,0x1);const _0x380c5f=I(this[_0x19fdb8(0x1cd)][_0x19fdb8(0x1e6)],this[_0x19fdb8(0x1ee)],_0xafac71);return this[_0x19fdb8(0x1ee)][_0x19fdb8(0x1ba)](_0x380c5f,0x0,_0x480e94),this[_0x19fdb8(0x1b0)](_0xced281,Math[_0x19fdb8(0x1f9)](_0x57daec,_0x380c5f))&&(_0x17fec7=!0x0),_0x17fec7;}[_0x4c9570(0x1ea)](_0x3c8360,_0x2ae678){const _0x4a51a5=_0x4c9570;if(!this[_0x4a51a5(0x1c4)])return!0x1;const _0x28df17=this[_0x4a51a5(0x1ee)][_0x2ae678];let _0x335e3d;return _0x335e3d=this[_0x4a51a5(0x1b9)]?this[_0x4a51a5(0x1b9)]({'footnote':_0x28df17,'container':this[_0x4a51a5(0x1c4)],'digits':String(this[_0x4a51a5(0x1ee)][_0x4a51a5(0x1cb)])[_0x4a51a5(0x1cb)],'value':_0x2ae678+0x1}):String(_0x2ae678+0x1),_0x28df17[_0x4a51a5(0x1d6)][_0x4a51a5(0x1d9)](_0x4a51a5(0x1d3))!=_0x335e3d&&(_0x3c8360[_0x4a51a5(0x1fa)](_0x4a51a5(0x1d3),_0x335e3d,_0x28df17[_0x4a51a5(0x1d6)]),!0x0);}[_0x4c9570(0x1de)](_0x48bfe4){const _0x2af1bd=_0x4c9570;if(!this[_0x2af1bd(0x1c4)]||this[_0x2af1bd(0x1ee)][_0x2af1bd(0x1cb)]<0x2)return!0x1;if(function(_0x2a64f4,_0x38238e){const _0x7e8dbd=_0x2af1bd;if(_0x2a64f4[_0x7e8dbd(0x1cb)]!==_0x38238e[_0x7e8dbd(0x1cb)])return!0x1;for(let _0x26779e=0x0;_0x26779e<_0x2a64f4[_0x7e8dbd(0x1cb)];_0x26779e++)if(_0x2a64f4[_0x26779e]!==_0x38238e[_0x26779e])return!0x1;return!0x0;}(this[_0x2af1bd(0x1ee)][_0x2af1bd(0x1ff)](_0x4a7709=>_0x4a7709['id']),Array[_0x2af1bd(0x1a5)](this[_0x2af1bd(0x1c4)][_0x2af1bd(0x1e8)]())[_0x2af1bd(0x1ff)](_0x3ae5ff=>_0x3ae5ff[_0x2af1bd(0x1d9)](_0x2af1bd(0x1b4)))))return!0x1;let _0x3e0d55=!0x1;for(let _0x3cc375=0x0;_0x3cc375<this[_0x2af1bd(0x1ee)][_0x2af1bd(0x1cb)];_0x3cc375++){const _0x2c9715=this[_0x2af1bd(0x1ee)][_0x3cc375],_0x1a2e84=_0x48bfe4[_0x2af1bd(0x1e1)](_0x2c9715[_0x2af1bd(0x1be)]),_0x35dbc9=_0x48bfe4[_0x2af1bd(0x1cc)](this[_0x2af1bd(0x1c4)],_0x3cc375);_0x1a2e84[_0x2af1bd(0x1aa)](_0x35dbc9)||(_0x48bfe4[_0x2af1bd(0x1f5)](_0x48bfe4[_0x2af1bd(0x1db)](_0x2c9715[_0x2af1bd(0x1be)]),_0x35dbc9),_0x3e0d55=!0x0);}return _0x3e0d55;}[_0x4c9570(0x1a2)](_0x358aac){const _0x1d0831=_0x4c9570;if(!this[_0x1d0831(0x1ee)][_0x1d0831(0x1cb)])return!0x1;const {model:_0x597342}=this[_0x1d0831(0x1cd)];let _0x266757=!0x1;for(let _0x2ab148=0x0;_0x2ab148<this[_0x1d0831(0x1ee)][_0x1d0831(0x1cb)]-0x1;_0x2ab148++){const _0x471591=this[_0x1d0831(0x1ee)][_0x2ab148],_0x213971=this[_0x1d0831(0x1ee)][_0x2ab148+0x1],_0x85d37f=_0x597342[_0x1d0831(0x1e1)](_0x471591[_0x1d0831(0x1d6)]),_0x232ed0=_0x597342[_0x1d0831(0x1e1)](_0x213971[_0x1d0831(0x1d6)]);_0x1d0831(0x1f1)===_0x85d37f[_0x1d0831(0x1b1)](_0x232ed0)&&(this[_0x1d0831(0x1bb)](_0x358aac,_0x471591[_0x1d0831(0x1d6)]),_0x2ab148=-0x1,_0x266757=!0x0);}return _0x266757;}}function _0x2e1b(_0x30b61a,_0x4dca50){const _0x27ebc5=_0x27eb();return _0x2e1b=function(_0x2e1b32,_0x19b992){_0x2e1b32=_0x2e1b32-0x19d;let _0x17d28c=_0x27ebc5[_0x2e1b32];return _0x17d28c;},_0x2e1b(_0x30b61a,_0x4dca50);}function _0x27eb(){const _0x10a3a9=['getFootnote','push','before','33171gyqaLC','map','footnoteInlineContent','getRootNames','listenTo','_footnoteDefsTracker','some','_ensureFootnotesReferencesHaveProperOrder','_insertEmptyFootnotesDefinitionsContainer','1069295AMOgSY','from','285990XFKodX','getFootnotesDefinitionsObjectElement','createRangeIn','footnoteRef','isEqual','_footnoteRefsTracker','root','$graveyard','parent','reset','_updateFootnotesCounters','compareWith','617512QqOwvU','isOfficialPlugin','footnoteId','getFootnotesFormatter','_footnoteDefsContainerTracker','low','find','_footnoteFormatter','splice','_handleMovedFootnoteReference','document','remove','definition','footnotesDefinitions','paragraph','_handleRemoveFootnoteReferenceById','indexOf','singleton','_footnotesDefinitions','FootnotesTracker','footnoteDefinition','646698BAChkp','7cTzRsG','_handleFootnoteReferencesChanges','set','length','createPositionAt','editor','isPremiumPlugin','4647216obWBXW','footnotes.multiBlock','init','registerPostFixer','footnoteCounter','get','enqueueChange','reference','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','getAttribute','createElement','createRangeOn','setFootnoteFormatter','add','_sortFootnoteDefinitions','119956WIRjEt','end','createPositionBefore','getChanges','append','rootName','unshift','model','has','getChildren','pluginName','_updateFootnoteRefCounter','getFootnotes','_handleFootnotesDefinitionsObjectChanges','findIndex','_footnotes','_handleInsertedFootnoteReference','high','after','childCount','_handleFootnotesDefinitionsObjectSync','differ','move','insert','config','change:data','min','setAttribute'];_0x27eb=function(){return _0x10a3a9;};return _0x27eb();}function _(_0x41904d,_0x3bfd1b,_0x5cfb75){const _0xabb531=_0x4c9570;if(_0x5cfb75[_0xabb531(0x1f2)])return!0x1;const _0x409be0=_0x3bfd1b?_0xabb531(0x1c0):_0xabb531(0x19d);return _0x41904d[_0xabb531(0x1f6)](_0x41904d[_0xabb531(0x1da)](_0x409be0),_0x5cfb75),!0x0;}function I(_0x42a903,_0x393f6f,_0x442ba1){const _0x2104a0=_0x4c9570;if(0x0===_0x393f6f[_0x2104a0(0x1cb)])return 0x0;const _0x5b56db=_0x42a903[_0x2104a0(0x1e1)](_0x442ba1);for(let _0xcf43d6=0x0;_0xcf43d6<_0x393f6f[_0x2104a0(0x1cb)];_0xcf43d6++){const _0x3e53db=_0x393f6f[_0xcf43d6],_0x2d7386=_0x42a903[_0x2104a0(0x1e1)](_0x3e53db[_0x2104a0(0x1d6)]);if(_0x2104a0(0x1fd)===_0x5b56db[_0x2104a0(0x1b1)](_0x2d7386))return _0xcf43d6;}const _0x186bfb=_0x442ba1[_0x2104a0(0x1ac)];let _0x418785=-0x1;for(let _0x43150d=_0x393f6f[_0x2104a0(0x1cb)]-0x1;_0x43150d>=0x0;_0x43150d--)if(_0x393f6f[_0x43150d][_0x2104a0(0x1d6)][_0x2104a0(0x1ac)]===_0x186bfb){_0x418785=_0x43150d;break;}if(-0x1!==_0x418785)return _0x418785+0x1;const _0x2fb062=_0x42a903[_0x2104a0(0x1bc)][_0x2104a0(0x19e)](),_0x1abe27=_0x2fb062[_0x2104a0(0x1c2)](_0x186bfb[_0x2104a0(0x1e4)]),_0x4b94d8=_0x2fb062[_0x1abe27+0x1];if(_0x4b94d8){for(let _0x105a85=0x0;_0x105a85<_0x393f6f[_0x2104a0(0x1cb)];_0x105a85++)if(_0x393f6f[_0x105a85][_0x2104a0(0x1d6)][_0x2104a0(0x1ac)][_0x2104a0(0x1e4)]===_0x4b94d8)return _0x105a85;}return _0x393f6f[_0x2104a0(0x1cb)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4c70d5,MenuBarMenuListItemButtonView as _0x2b14b0}from'ckeditor5/src/ui.js';import{Plugin as _0x1b2d27}from'ckeditor5/src/core.js';import{IconFootnote as _0x275e77}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1b2d27{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcdec66}=this,{componentFactory:_0x3510ec}=_0xcdec66['ui'];_0x3510ec['add']('insertFootnote',E(_0xcdec66,_0x4c70d5)),_0x3510ec['add']('menuBar:insertFootnote',E(_0xcdec66,_0x2b14b0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x69c754=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x19454f;for(const _0x9d5c22 in _0x69c754){const _0x18fa14=_0x9d5c22,_0x129832=_0x69c754[_0x18fa14];if('footnotesLicenseKeyValid'==_0x129832||'footnotesLicenseKeyInvalid'==_0x129832||'footnotesLicenseKeyExpired'==_0x129832||'footnotesLicenseKeyDomainLimit'==_0x129832||'footnotesLicenseKeyNotAllowed'==_0x129832||'footnotesLicenseKeyEvaluationLimit'==_0x129832||'footnotesLicenseKeyUsageLimit'==_0x129832){delete _0x69c754[_0x18fa14],_0x19454f=_0x129832,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x19454f&&_0x69c754['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x19454f&&_0x69c754['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x19454f&&_0x69c754['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x19454f&&_0x69c754['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x19454f&&_0x69c754['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x19454f&&_0x69c754['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x18d4e0,_0xbce733){const _0x341b50=_0x18d4e0['commands']['get']('insertFootnote');return _0x283cb8=>{const {t:t}=_0x283cb8,_0x4e21ed=new _0xbce733(_0x283cb8),_0x30fef2=_0x4e21ed instanceof _0x2b14b0;return _0x4e21ed['bind']('isEnabled')['to'](_0x341b50,'isEnabled'),_0x4e21ed['set']({'label':t(_0x30fef2?'Footnote':'Insert\x20footnote'),'icon':_0x275e77,'tooltip':!0x0}),_0x4e21ed['on']('execute',()=>{_0x341b50['execute'](),_0x18d4e0['editing']['view']['focus']();}),_0x4e21ed;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3b1fb2,_0x5c083b){var _0x3cd911=_0x1936,_0x36e035=_0x3b1fb2();while(!![]){try{var _0x55a4c1=-parseInt(_0x3cd911(0xb7))/0x1*(-parseInt(_0x3cd911(0xbf))/0x2)+-parseInt(_0x3cd911(0xbc))/0x3*(parseInt(_0x3cd911(0xb8))/0x4)+parseInt(_0x3cd911(0xbe))/0x5+-parseInt(_0x3cd911(0xba))/0x6*(parseInt(_0x3cd911(0xc1))/0x7)+-parseInt(_0x3cd911(0xbb))/0x8*(-parseInt(_0x3cd911(0xbd))/0x9)+-parseInt(_0x3cd911(0xc0))/0xa+-parseInt(_0x3cd911(0xb9))/0xb;if(_0x55a4c1===_0x5c083b)break;else _0x36e035['push'](_0x36e035['shift']());}catch(_0x6b0212){_0x36e035['push'](_0x36e035['shift']());}}}(_0x4415,0xd9e77));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0x1936(_0x14a4a9,_0x1519bd){var _0x4415ad=_0x4415();return _0x1936=function(_0x193684,_0x206947){_0x193684=_0x193684-0xb7;var _0x5af1d0=_0x4415ad[_0x193684];return _0x5af1d0;},_0x1936(_0x14a4a9,_0x1519bd);}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x4415(){var _0x12ffe0=['6648990NEkoyi','424SAuhcO','3OMeMWP','260046ITglna','6477385gGtKVd','6ykutBu','2186990ifqESe','7edwgTS','586793Wedoqj','4623416NnCOWr','13331835BCJYlR'];_0x4415=function(){return _0x12ffe0;};return _0x4415();}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2c0d4e=_0x38ec;(function(_0x136653,_0x5091e6){const _0x113acb=_0x38ec,_0x5db9db=_0x136653();while(!![]){try{const _0xc9c128=parseInt(_0x113acb(0x89))/0x1*(parseInt(_0x113acb(0x7c))/0x2)+parseInt(_0x113acb(0x90))/0x3+parseInt(_0x113acb(0x8e))/0x4*(-parseInt(_0x113acb(0x6b))/0x5)+parseInt(_0x113acb(0x7f))/0x6+parseInt(_0x113acb(0x70))/0x7*(-parseInt(_0x113acb(0x68))/0x8)+-parseInt(_0x113acb(0x91))/0x9*(parseInt(_0x113acb(0x6e))/0xa)+parseInt(_0x113acb(0x8b))/0xb;if(_0xc9c128===_0x5091e6)break;else _0x5db9db['push'](_0x5db9db['shift']());}catch(_0x4a8155){_0x5db9db['push'](_0x5db9db['shift']());}}}(_0x7cac,0x4b875));function _0x7cac(){const _0x174d3b=['9KzZIja','$graveyard','rootName','length','70344sIvDap','insert','attributes','35WljHva','element','flat','3139930pyyBKU','push','483YsvomN','_getElementKey','elementName','set','reset','root','position','remove','nodeAfter','_elementName','from','type','98FAzOld','getItems','getChanges','734340NGUVtL','_model','add','createRangeOn','get','clear','getElementKey','slice','delete','values','9514mrGMkZ','has','4289307FRpDwO','$text','_trackedElements','174144GugLuZ','name','1668942DsiCEI'];_0x7cac=function(){return _0x174d3b;};return _0x7cac();}function _0x38ec(_0x56cc53,_0x3c1a82){const _0x7cac49=_0x7cac();return _0x38ec=function(_0x38ecd8,_0x39a70e){_0x38ecd8=_0x38ecd8-0x65;let _0x1c461d=_0x7cac49[_0x38ecd8];return _0x1c461d;},_0x38ec(_0x56cc53,_0x3c1a82);}export class ModelElementTracker{[_0x2c0d4e(0x80)];[_0x2c0d4e(0x79)];[_0x2c0d4e(0x71)];[_0x2c0d4e(0x8d)]=new Map();constructor(_0x4819d4,_0x546fb6){const _0x2720ec=_0x2c0d4e;this[_0x2720ec(0x80)]=_0x4819d4,this[_0x2720ec(0x79)]=_0x546fb6[_0x2720ec(0x72)],this[_0x2720ec(0x71)]=_0x546fb6[_0x2720ec(0x85)];}[_0x2c0d4e(0x74)](){const _0x2ebfe4=_0x2c0d4e;this[_0x2ebfe4(0x8d)][_0x2ebfe4(0x84)]();}[_0x2c0d4e(0x7e)](_0x5e1b08){const _0x3c038a=_0x2c0d4e,_0x491d57=new Set(),_0x57ac6f=new Map();for(const _0x230de6 of _0x5e1b08){if(_0x3c038a(0x69)===_0x230de6[_0x3c038a(0x7b)]&&_0x3c038a(0x8c)!==_0x230de6[_0x3c038a(0x8f)]&&_0x230de6[_0x3c038a(0x76)][_0x3c038a(0x78)]){const _0x34f9eb=this[_0x3c038a(0x80)][_0x3c038a(0x82)](_0x230de6[_0x3c038a(0x76)][_0x3c038a(0x78)]);for(const _0x23548d of _0x34f9eb[_0x3c038a(0x7d)]()){if(!_0x23548d['is'](_0x3c038a(0x6c),this[_0x3c038a(0x79)]))continue;const _0x15db0c=this[_0x3c038a(0x71)](_0x23548d);_0x57ac6f[_0x3c038a(0x8a)](_0x15db0c)||_0x57ac6f[_0x3c038a(0x73)](_0x15db0c,[]),_0x57ac6f[_0x3c038a(0x83)](_0x15db0c)[_0x3c038a(0x6f)](_0x23548d);}}if(_0x3c038a(0x77)===_0x230de6[_0x3c038a(0x7b)]&&_0x230de6[_0x3c038a(0x8f)]===this[_0x3c038a(0x79)]){const _0x2bf475=this[_0x3c038a(0x71)]({'getAttribute':_0x156ec8=>_0x230de6[_0x3c038a(0x6a)][_0x3c038a(0x83)](_0x156ec8)});_0x491d57[_0x3c038a(0x81)](_0x2bf475);}}for(const [_0x41f7ec,_0x56b4eb]of this[_0x3c038a(0x8d)])_0x3c038a(0x65)===_0x56b4eb[_0x3c038a(0x75)][_0x3c038a(0x66)]&&_0x491d57[_0x3c038a(0x81)](_0x41f7ec);for(const _0x4c6abe of _0x491d57)this[_0x3c038a(0x8d)][_0x3c038a(0x87)](_0x4c6abe);for(const [_0x234f5b,_0xff0bd9]of _0x57ac6f)this[_0x3c038a(0x8d)][_0x3c038a(0x73)](_0x234f5b,_0xff0bd9[_0xff0bd9[_0x3c038a(0x67)]-0x1]);const _0xdfd4c1=new Set();for(const [_0xbfce11,_0x289b36]of _0x57ac6f)_0x491d57[_0x3c038a(0x8a)](_0xbfce11)&&(_0xdfd4c1[_0x3c038a(0x81)](_0x289b36[0x0]),_0x289b36[_0x3c038a(0x67)]>0x1?_0x57ac6f[_0x3c038a(0x73)](_0xbfce11,_0x289b36[_0x3c038a(0x86)](0x1)):_0x57ac6f[_0x3c038a(0x87)](_0xbfce11),_0x491d57[_0x3c038a(0x87)](_0xbfce11));return{'removed':Array[_0x3c038a(0x7a)](_0x491d57),'inserted':Array[_0x3c038a(0x7a)](_0x57ac6f[_0x3c038a(0x88)]())[_0x3c038a(0x6d)](),'moved':Array[_0x3c038a(0x7a)](_0xdfd4c1)};}}
|