@ckeditor/ckeditor5-footnotes 47.6.1-alpha.0 → 47.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x542a5a}from'ckeditor5/src/core.js';import{isWidget as _0x30d5b2,toWidget as _0x1b1bd6,toWidgetEditable as _0x52eec8}from'ckeditor5/src/widget.js';import{uid as _0x472686}from'ckeditor5/src/utils.js';import{PointerObserver as _0xa9201f,ClickObserver as _0x3a373a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x4b563e}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x11c506}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x542a5a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x4b563e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56b09e}=this;_0x56b09e['config']['define']('footnotes.multiBlock',!0x0),_0x56b09e['commands']['add']('insertFootnote',new _0x11c506(_0x56b09e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x18766b){const _0x14575d=_0x2468f0([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]),_0x4c5546=0x47a28506,_0x4d4c84=0x47a506f6^_0x4c5546,_0x5e1b7a=window[_0x2468f0([0x44,0x61,0x74,0x65])][_0x2468f0([0x6e,0x6f,0x77])](),_0x5810a8=_0x18766b[_0x2468f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17515e=new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1478bf=>{_0x5810a8[_0x2468f0([0x6f,0x6e,0x63,0x65])](_0x2468f0([0x72,0x65,0x61,0x64,0x79]),_0x1478bf);}),_0x2869c1={[_0x2468f0([0x6b,0x74,0x79])]:_0x2468f0([0x45,0x43]),[_0x2468f0([0x75,0x73,0x65])]:_0x2468f0([0x73,0x69,0x67]),[_0x2468f0([0x63,0x72,0x76])]:_0x2468f0([0x50,0x2d,0x32,0x35,0x36]),[_0x2468f0([0x78])]:_0x2468f0([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]),[_0x2468f0([0x79])]:_0x2468f0([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]),[_0x2468f0([0x61,0x6c,0x67])]:_0x2468f0([0x45,0x53,0x32,0x35,0x36])},_0x59e3f8=_0x5810a8[_0x2468f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2468f0([0x67,0x65,0x74])](_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x122202(){let _0x252167,_0x456fe1=null,_0x2d192b=null;try{if(_0x59e3f8==_0x2468f0([0x47,0x50,0x4c]))return _0x2468f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x252167=_0x5f4a33(),!_0x252167)return _0x2468f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x252167[_0x2468f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d192b=_0x1774ef(_0x252167[_0x2468f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x252167[_0x2468f0([0x6a,0x74,0x69])])),await _0x445872()?_0x510919()?_0x3029a0()?_0x2468f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x301bd9()?(_0x252167[_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2468f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x456fe1=_0x3ffbde(_0x2468f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4981f0()):_0x2468f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2468f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2468f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2468f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3029a0(){const _0x11a304=[_0x2468f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2468f0([0x74,0x72,0x69,0x61,0x6c])][_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252167[_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e1b7a/0x3e8:0xe10*_0x4d4c84;return _0x252167[_0x2468f0([0x65,0x78,0x70])]<_0x11a304;}function _0x510919(){const _0x36c749=_0x252167[_0x2468f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x36c749&&(!!_0x36c749[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2468f0([0x2a]))||!!_0x36c749[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2468f0([0x46,0x4f,0x4f])));}function _0x301bd9(){const _0x58332a=_0x252167[_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58332a||0x0==_0x58332a[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d600d}=new URL(window[_0x2468f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58332a[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d600d))return!0x0;const _0x5269e5=_0x5d600d[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e]));return _0x58332a[_0x2468f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e9f6f=>_0x1e9f6f[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2468f0([0x2a])))[_0x2468f0([0x6d,0x61,0x70])](_0xfe70ea=>_0xfe70ea[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e])))[_0x2468f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1923b=>_0x1923b[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5269e5[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2468f0([0x6d,0x61,0x70])](_0x266526=>Array(_0x5269e5[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x266526[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2468f0([0x66,0x69,0x6c,0x6c])](_0x266526[0x0]===_0x2468f0([0x2a])?_0x2468f0([0x2a]):'')[_0x2468f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x266526))[_0x2468f0([0x73,0x6f,0x6d,0x65])](_0x358e8b=>_0x5269e5[_0x2468f0([0x65,0x76,0x65,0x72,0x79])]((_0x505f19,_0x436dff)=>_0x358e8b[_0x436dff]===_0x505f19||_0x358e8b[_0x436dff]===_0x2468f0([0x2a])));}function _0x4981f0(){return _0x456fe1&&_0x2d192b?new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57d89b,_0x1cc7bd)=>{_0x456fe1[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x57d89b,_0x1cc7bd),_0x2d192b[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x4e29eb=>{_0x4e29eb!=_0x2468f0([0x56,0x61,0x6c,0x69,0x64])&&_0x57d89b(_0x4e29eb);},_0x1cc7bd);}):_0x456fe1||_0x2d192b||_0x2468f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1774ef(_0x30e6be,_0x1bc830){return new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58cf9b=>{if(_0x145086())return _0x58cf9b(_0x2468f0([0x56,0x61,0x6c,0x69,0x64]));_0x3701fa(),_0x5810a8[_0x2468f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2468f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x446394=!0x1;const _0x256578=_0x472686();function _0x20f59a(_0x560054){return!!_0x560054&&(typeof _0x560054===_0x2468f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x560054===_0x2468f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x560054[_0x2468f0([0x74,0x68,0x65,0x6e])]===_0x2468f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x560054[_0x2468f0([0x63,0x61,0x74,0x63,0x68])]===_0x2468f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21f517(_0x3a9395){_0x51f490(_0x3a9395)[_0x2468f0([0x74,0x68,0x65,0x6e])](_0xd7c791=>{if(!_0xd7c791||_0xd7c791[_0x2468f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2468f0([0x6f,0x6b]))return _0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ae805(_0x17e9d0(_0x256578+_0x1bc830))!=_0xd7c791[_0x2468f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2468f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x4f1b2e=>(_0x5f5c8d(),_0x4f1b2e),()=>{const _0x454714=_0x247df5();return null==_0x454714?(_0x5f5c8d(),_0x2468f0([0x56,0x61,0x6c,0x69,0x64])):_0x2468f0(_0x5e1b7a-_0x454714>(0x63ae0106^_0x4c5546)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x58cf9b)[_0x2468f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58cf9b(_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x271ce1=0x47946b86^_0x4c5546;function _0x5f5c8d(){const _0x2d45de=_0x2468f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ae805(_0x17e9d0(_0x30e6be)),_0x1d8fad=_0x13be67(_0x2ae805(window[_0x2468f0([0x4d,0x61,0x74,0x68])][_0x2468f0([0x63,0x65,0x69,0x6c])](_0x5e1b7a/_0x271ce1)));window[_0x2468f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2468f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d45de,_0x1d8fad);}function _0x247df5(){const _0x596121=_0x2468f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ae805(_0x17e9d0(_0x30e6be)),_0x2f15ca=window[_0x2468f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2468f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x596121);return _0x2f15ca?window[_0x2468f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13be67(_0x2f15ca),0x10)*_0x271ce1:null;}function _0x51f490(_0x42fdf3){return new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f6a5c,_0x4ee677)=>{_0x42fdf3[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x3f6a5c,_0x4ee677),window[_0x2468f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ee677,0x47a351c6^_0x4c5546);});}}_0x5810a8[_0x2468f0([0x6f,0x6e])](_0x2468f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49d3b0,_0x76b7b2)=>{if(_0x76b7b2[0x0]!=_0x30e6be)return _0x58cf9b(_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x76b7b2[0x1]={..._0x76b7b2[0x1],[_0x2468f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x256578};},{[_0x2468f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2468f0([0x68,0x69,0x67,0x68])}),_0x5810a8[_0x2468f0([0x6f,0x6e])](_0x2468f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56dd06=>{_0x20f59a(_0x56dd06[_0x2468f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x446394=!0x0,_0x21f517(_0x56dd06[_0x2468f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2468f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2468f0([0x6c,0x6f,0x77])}),_0x17515e[_0x2468f0([0x74,0x68,0x65,0x6e])](()=>{_0x446394||_0x58cf9b(_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x145086(){return _0x5810a8[_0x2468f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2468f0([0x76,0x69,0x65,0x77])][_0x2468f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2468f0([0x61,0x75,0x74,0x6f]);}function _0x3701fa(){_0x5810a8[_0x2468f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2468f0([0x76,0x69,0x65,0x77])][_0x2468f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2468f0([0x61,0x75,0x74,0x6f]);}}function _0x3ffbde(_0x95b6e7){const _0x5b1d8f=[new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x582614=>setTimeout(_0x582614,0x47abbbca^_0x4c5546)),_0x17515e[_0x2468f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f837d=>{let _0x3200a4=0x0;_0x5810a8[_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2468f0([0x6f,0x6e])](_0x2468f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x320a91,_0x14207c)=>{_0x14207c[0x0][_0x2468f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3200a4++,_0x3200a4==(0x47a280ee^_0x4c5546)&&(_0x2f837d(),_0x320a91[_0x2468f0([0x6f,0x66,0x66])]());});}))];return window[_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2468f0([0x72,0x61,0x63,0x65])](_0x5b1d8f)[_0x2468f0([0x74,0x68,0x65,0x6e])](()=>_0x95b6e7);}async function _0x50fc9b(){await _0x17515e,_0x5810a8[_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2468f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x159719,_0x5810a8[_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2468f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x159719,_0x5810a8[_0x2468f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44cce4(_0xe8f325){const _0xa008d=_0x25b948();_0x5810a8[_0xa008d]=_0x2468f0([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe8f325,_0xe8f325!=_0x2468f0([0x56,0x61,0x6c,0x69,0x64])&&_0x50fc9b();}function _0x25b948(){const _0x2224fb=window[_0x2468f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2468f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2468f0([0x6e,0x6f,0x77])]())[_0x2468f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2468f0([0x2e]),'');let _0x569743=_0x2468f0([0x75]);for(let _0x549e3b=0x0;_0x549e3b<_0x2224fb[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x549e3b+=0x2){let _0x4c90cf=window[_0x2468f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2224fb[_0x2468f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x549e3b,_0x549e3b+0x2));_0x4c90cf>=_0x14575d[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c90cf-=_0x14575d[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x569743+=_0x14575d[_0x4c90cf];}return _0x569743;}function _0x5f4a33(){const _0x16a810=_0x59e3f8[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e]));if(0x3!=_0x16a810[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x139f62(_0x16a810[0x1]);function _0x139f62(_0x5decea){const _0x156eb2=_0x5cc80c(_0x5decea);return _0x156eb2&&_0x6ba776()?_0x156eb2:null;function _0x6ba776(){const _0x479c0c=_0x156eb2[_0x2468f0([0x6a,0x74,0x69])],_0x3ad2e0=window[_0x2468f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x479c0c[_0x2468f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479c0c[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54919f={..._0x156eb2,[_0x2468f0([0x6a,0x74,0x69])]:_0x479c0c[_0x2468f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x479c0c[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54919f[_0x2468f0([0x76,0x63])],_0x17e9d0(_0x54919f)==_0x3ad2e0;}}}async function _0x445872(){let _0x3dcf94=!0x0;try{const _0x39b338=_0x59e3f8[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e])),[_0x49855b,_0x11f743,_0x390bf7]=_0x39b338;return _0x142d34(_0x49855b),await _0x15425a(_0x49855b,_0x11f743,_0x390bf7),_0x3dcf94;}catch{return!0x1;}function _0x142d34(_0x5c2755){const _0x268c57=_0x5cc80c(_0x5c2755);_0x268c57&&_0x268c57[_0x2468f0([0x61,0x6c,0x67])]==_0x2468f0([0x45,0x53,0x32,0x35,0x36])||(_0x3dcf94=!0x1);}async function _0x15425a(_0x2ac697,_0x5624b4,_0x59682c){const _0x27018e=window[_0x2468f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2468f0([0x66,0x72,0x6f,0x6d])](_0xe9f7cb(_0x59682c),_0x2995af=>_0x2995af[_0x2468f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54df27=new window[(_0x2468f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2468f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ac697+_0x2468f0([0x2e])+_0x5624b4),_0x9e539c=window[_0x2468f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2468f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9e539c)return;const _0x11f2d7=await _0x9e539c[_0x2468f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2468f0([0x6a,0x77,0x6b]),_0x2869c1,{[_0x2468f0([0x6e,0x61,0x6d,0x65])]:_0x2468f0([0x45,0x43,0x44,0x53,0x41]),[_0x2468f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2468f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2468f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9e539c[_0x2468f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2468f0([0x6e,0x61,0x6d,0x65])]:_0x2468f0([0x45,0x43,0x44,0x53,0x41]),[_0x2468f0([0x68,0x61,0x73,0x68])]:{[_0x2468f0([0x6e,0x61,0x6d,0x65])]:_0x2468f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11f2d7,_0x27018e,_0x54df27)||(_0x3dcf94=!0x1);}}function _0x5cc80c(_0x422633){return _0x422633[_0x2468f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2468f0([0x65,0x79]))?JSON[_0x2468f0([0x70,0x61,0x72,0x73,0x65])](_0xe9f7cb(_0x422633)):null;}function _0xe9f7cb(_0x15ffcb){return window[_0x2468f0([0x61,0x74,0x6f,0x62])](_0x15ffcb[_0x2468f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2468f0([0x2b]))[_0x2468f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2468f0([0x2f])));}function _0x17e9d0(_0x5b793d){let _0x28fdbf=0x1505;function _0x31bc57(_0x40aa0c){for(let _0x9ace15=0x0;_0x9ace15<_0x40aa0c[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9ace15++){const _0x168e59=_0x40aa0c[_0x2468f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9ace15);_0x28fdbf=(_0x28fdbf<<0x5)+_0x28fdbf+_0x168e59,_0x28fdbf&=_0x28fdbf;}}function _0x2a2fea(_0x2d2307){Array[_0x2468f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d2307)?_0x2d2307[_0x2468f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a2fea):_0x2d2307&&typeof _0x2d2307==_0x2468f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2468f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d2307)[_0x2468f0([0x73,0x6f,0x72,0x74])]()[_0x2468f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f4dc4,_0xdfd7a2])=>{_0x31bc57(_0x2f4dc4),_0x2a2fea(_0xdfd7a2);}):_0x31bc57(window[_0x2468f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d2307));}return _0x2a2fea(_0x5b793d),_0x28fdbf>>>0x0;}function _0x2ae805(_0x5eee55){return _0x5eee55[_0x2468f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2468f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2468f0([0x30]));}function _0x13be67(_0x519e4f){return _0x519e4f[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2468f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2468f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x159719(){}function _0x2468f0(_0x2cd597){return _0x2cd597['map'](_0x268cb0=>String['fromCharCode'](_0x268cb0))['join']('');}_0x44cce4(await _0x122202());}(this);}['_moveSelectionToFootnoteDefinition'](_0x360fa0){const {plugins:_0x1531dd,editing:_0x599335,model:_0x3ca4d3}=this['editor'],_0x5e3ad1=_0x1531dd['get'](_0x4b563e)['getFootnote'](_0x360fa0);return!!_0x5e3ad1&&(_0x3ca4d3['change'](_0x131eaf=>{_0x131eaf['setSelection'](_0x131eaf['createPositionAt'](_0x5e3ad1['definition'],'end'));}),_0x599335['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x505dac){const {plugins:_0x4232d6,editing:_0x33e60f,model:_0x13fb55}=this['editor'],_0x108606=_0x4232d6['get'](_0x4b563e)['getFootnote'](_0x505dac);return!!_0x108606&&(_0x13fb55['change'](_0xd39fe6=>{_0xd39fe6['setSelection'](_0x108606['reference'],'on');}),_0x33e60f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x59727d}=this['editor']['model'],_0xf4c9aa=this['editor']['config']['get']('footnotes.multiBlock');_0x59727d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x59727d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x59727d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xf4c9aa?_0x59727d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x59727d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x59727d['addChildCheck'](_0x3adbf7=>{for(const _0x5bd058 of _0x3adbf7)if('footnoteDefinition'===_0x5bd058['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x271ebb}=this,{conversion:_0x21d20b,editing:_0x77e64b}=_0x271ebb,{t:t}=_0x271ebb['locale'];_0x21d20b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1c5913,{writer:_0x37a8ef,consumable:_0x2c5b17})=>{const _0x3293f2=_0x1c5913['getChild'](0x0);if(!_0x3293f2||!_0x3293f2['is']('element','a'))return null;const _0x39328b=_0x3293f2['getAttribute']('href')||'';if(!_0x39328b['startsWith']('#'))return null;const _0x3ea3d6=_0x39328b['replace'](/^#/,'');if(!_0x3ea3d6)return null;_0x2c5b17['consume'](_0x3293f2,{'name':!0x0,'attributes':['href']});for(const {item:_0x519074}of _0x77e64b['view']['createRangeIn'](_0x3293f2))_0x519074['is']('$textProxy')?_0x2c5b17['consume'](_0x519074['textNode'],{'name':!0x0}):_0x519074['is']('element')&&_0x2c5b17['consume'](_0x519074,{'name':!0x0});return _0x37a8ef['createElement']('footnoteRef',{'footnoteId':_0x3ea3d6});}}),_0x21d20b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cca33,{writer:_0x594ee4})=>b(_0x1cca33,_0x594ee4)}),_0x21d20b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xdbc74c,{writer:_0x437eea})=>{const _0x36af04=_0xdbc74c['getAttribute']('footnoteCounter');return _0x1b1bd6(b(_0xdbc74c,_0x437eea),_0x437eea,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x36af04)});}});}['_defineDefinitionsConverters'](){const {editor:_0x227b19}=this,{t:t}=_0x227b19['locale'],{conversion:_0x2a4e96}=_0x227b19;_0x2a4e96['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2a4e96['for']('upcast')['add'](_0x4f893f=>{_0x4f893f['on']('element:ol',(_0x18d800,_0x310a6d,_0x1821f7)=>{const _0x2a51cb=_0x310a6d['viewItem'];if(!_0x2a51cb['hasClass']('footnotes-list')||!_0x310a6d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1821f7['consumable']['consume'](_0x2a51cb,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x40ebdc,modelCursor:_0x2ccc62}=_0x1821f7['convertChildren'](_0x310a6d['viewItem'],_0x310a6d['modelCursor']);_0x310a6d['modelRange']=_0x40ebdc,_0x310a6d['modelCursor']=_0x2ccc62;}),_0x4f893f['on']('element:hr',(_0x53a099,_0x53e3e3,_0x559cd7)=>{const _0x5d779d=_0x53e3e3['viewItem'];_0x5d779d['hasClass']('footnotes-divider')&&_0x53e3e3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x559cd7['consumable']['consume'](_0x5d779d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2a4e96['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b7692,{writer:_0x2a9fb0})=>D(_0x2a9fb0)}),_0x2a4e96['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x44025b,{writer:_0x2a52be})=>{const _0x31bb20=D(_0x2a52be,{'data-footnotes-list-label':t('Footnotes')}),_0x4e195b=_0x1b1bd6(_0x31bb20,_0x2a52be,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2a52be['setCustomProperty']('footnotesDefinitions',!0x0,_0x4e195b),_0x4e195b;}});}['_defineDefinitionConverters'](){const {editor:_0x293dce}=this,{conversion:_0x443813,locale:_0x417067}=_0x293dce,_0x4317f3=_0x293dce['config']['get']('footnotes.multiBlock');_0x443813['for']('upcast')['add'](_0x45cb08=>{_0x45cb08['on']('element:li',(_0x5097be,_0x67b6f,_0x5146f2)=>{const _0x342527=_0x67b6f['viewItem'];if(!_0x342527['hasClass']('footnote-definition')||!_0x342527['getAttribute']('id'))return;const _0x1c05f4=_0x342527['parent'];if(!_0x1c05f4['is']('element','ol')||!_0x1c05f4['hasClass']('footnotes-list'))return;if(!_0x5146f2['consumable']['test'](_0x342527,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x520e46=_0x5146f2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x342527['getAttribute']('id')});if(!_0x5146f2['safeInsert'](_0x520e46,_0x67b6f['modelCursor']))return;_0x5146f2['consumable']['consume'](_0x342527,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x330fb4=Array['from'](_0x342527['getChildren']())['find'](_0x558fd6=>_0x558fd6['is']('element')&&_0x558fd6['hasClass']('footnote-content'));for(const _0x2c3b9c of _0x342527['getChildren']())_0x2c3b9c['is']('element')&&(_0x5146f2['consumable']['consume'](_0x2c3b9c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5146f2['consumable']['consume'](_0x2c3b9c,{'name':!0x0,'classes':'footnote-content'}));if(_0x330fb4){if(_0x4317f3)_0x5146f2['convertChildren'](_0x330fb4,_0x520e46);else{const _0x24efcb=_0x5146f2['writer']['createElement']('footnoteInlineContent');_0x5146f2['writer']['insert'](_0x24efcb,_0x520e46),_0x5146f2['convertChildren'](_0x330fb4,_0x24efcb);}}_0x5146f2['updateConversionResult'](_0x520e46,_0x67b6f);});}),_0x443813['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x151b52,{writer:_0x5606a5})=>y(_0x151b52,_0x5606a5,_0x417067,{'dataPipeline':!0x0})}),_0x443813['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1001e4,{writer:_0x5d99c1})=>y(_0x1001e4,_0x5d99c1,_0x417067)});}['_defineBogusParagraphConverters'](){const {editor:_0x423435}=this,{conversion:_0x41bc5b}=_0x423435;_0x423435['config']['get']('footnotes.multiBlock')?(_0x41bc5b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x41bc5b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x423435['model']['document'],'change:data',()=>{!function(_0x5902ea,_0x4babbe){const _0x4d8bcc=_0x5902ea['document']['differ'],_0x50ae6b=new Set();for(const _0x354f09 of _0x4d8bcc['getChanges']()){const _0x254c54='attribute'==_0x354f09['type']?_0x354f09['range']['start']['parent']:_0x354f09['position']['parent'];_0x254c54['is']('element','footnoteDefinition')&&_0x50ae6b['add'](_0x254c54);}for(const _0x48f189 of _0x50ae6b['values']()){const _0x4332ad=Array['from'](_0x48f189['getChildren']())['filter'](_0x45e443=>v(_0x45e443,_0x4babbe['mapper']));for(const _0x28c53c of _0x4332ad)_0x4babbe['reconvertItem'](_0x28c53c);}}(_0x423435['model'],_0x423435['editing']);})):(_0x41bc5b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x41bc5b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x595b40,{writer:_0x49369c})=>{const _0x5d8d26=_0x49369c['createContainerElement']('span');return _0x49369c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d8d26),_0x5d8d26;}}));}['_defineKeyboardHandlers'](){const {editor:_0x292d3d}=this,{editing:_0x12404a,t:t}=_0x292d3d,_0x31dd9f=_0x292d3d['model']['document']['selection'];_0x292d3d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x292d3d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12404a['view']['document'],'enter',(_0x53d4d9,_0x3bdb84)=>{const _0x13278d=function(_0xb07d0f){const _0x1ae96c=_0xb07d0f['getSelectedElement']();if(_0x1ae96c?.['is']('element','footnoteRef'))return _0x1ae96c;return null;}(_0x31dd9f);if(_0x13278d){const _0x279a23=_0x13278d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x279a23),_0x3bdb84['preventDefault'](),_0x53d4d9['stop']();}},{'context':_0x30d5b2});}['_defineClickHandlers'](){const {editor:_0x398240}=this,{editing:_0x3468ed}=_0x398240;_0x398240['editing']['view']['addObserver'](_0xa9201f),_0x398240['editing']['view']['addObserver'](_0x3a373a);let _0x2642fd=!0x1;this['listenTo'](_0x3468ed['view']['document'],'pointerdown',(_0x18d2a6,_0x325751)=>{const {target:_0xa6d7ef}=_0x325751,_0x1609eb=_0x3468ed['view']['document']['selection'];_0x2642fd=!!(_0xa6d7ef?.['is']('element','a')&&_0xa6d7ef['parent']?.['is']('element','sup')&&_0xa6d7ef['parent']['hasClass']('footnote'))&&_0x1609eb['getSelectedElement']()===_0xa6d7ef['parent'];},{'priority':'high'}),this['listenTo'](_0x3468ed['view']['document'],'click',(_0x6d485b,_0x4ccf9e)=>{const {target:_0x57369e}=_0x4ccf9e;if(!_0x57369e?.['is']('element','a'))return;if(_0x57369e['parent']?.['is']('element','sup')&&_0x57369e['parent']['hasClass']('footnote')&&!_0x2642fd)return void _0x4ccf9e['preventDefault']();let _0x44a625=_0x57369e['getAttribute']('href');if(!_0x44a625?.['startsWith']('#'))return;_0x44a625=_0x44a625['slice'](0x1);let _0x57fd92=!0x1;(_0x44a625['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x44a625['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x44a625))&&(_0x57fd92=!0x0),_0x57fd92&&(_0x4ccf9e['preventDefault'](),_0x6d485b['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3ebea3}={}){return(_0x3d51f4,{writer:_0x5a32c5})=>{if(!g(_0x3d51f4))return null;if(!_0x3ebea3)return _0x5a32c5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x161ae0=_0x5a32c5['createContainerElement']('p');return _0x5a32c5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x161ae0),_0x161ae0;};}function g(_0x5dc637){const {parent:_0x157d61}=_0x5dc637;if(!_0x157d61?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x157d61['childCount'])return!0x1;for(const _0x1fcfb4 of _0x5dc637['getAttributeKeys']())if(!_0x1fcfb4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1fcfb4)return!0x1;return!0x0;}function v(_0x53b6a1,_0x416027){if(!_0x53b6a1['is']('element','paragraph'))return!0x1;const _0x5dcea9=_0x416027['toViewElement'](_0x53b6a1);return!!_0x5dcea9&&g(_0x53b6a1)!==_0x5dcea9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x11076f){return _0x30d5b2(_0x11076f)&&_0x11076f['is']('containerElement')&&!!_0x11076f['getCustomProperty']('footnotesDefinitions');}function D(_0x195344,_0x29e11b={}){const _0x1ac994=_0x195344['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x18e657=_0x195344['createContainerElement']('ol',{'class':'footnotes-list'},_0x195344['createSlot']());return _0x195344['createContainerElement']('div',{'class':'footnotes',..._0x29e11b},[_0x1ac994,_0x18e657]);}function b(_0x145d94,_0x3f4a87){const _0x345828=_0x145d94['getAttribute']('footnoteId'),_0x35d80e=_0x145d94['getAttribute']('footnoteCounter'),_0x5d80f7=_0x3f4a87['createUIElement']('a',{'href':'#'+_0x345828},function(_0x2ddba4){const _0x214ac2=this['toDomElement'](_0x2ddba4);return _0x214ac2['textContent']=_0x35d80e,_0x214ac2;}),_0x451424=_0x3f4a87['createContainerElement']('sup',{'id':'ref-'+_0x345828,'class':'footnote'},[_0x5d80f7]);return _0x451424['getFillerOffset']=()=>null,_0x451424;}function y(_0x162572,_0x35e2a1,_0x4cd0b7,{dataPipeline:_0x22e4c3}={}){const {t:t}=_0x4cd0b7,_0x1e6fbc=_0x162572['getAttribute']('footnoteId'),_0x6ed8e1=_0x35e2a1['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1e6fbc},function(_0x124d7d){const _0x32d198=this['toDomElement'](_0x124d7d);return _0x32d198['innerText']='^',_0x32d198;}),_0x53c193=_0x22e4c3?_0x35e2a1['createContainerElement']('div',{'class':'footnote-content'}):_0x52eec8(_0x35e2a1['createEditableElement']('div',{'class':'footnote-content'}),_0x35e2a1,{'label':t('Footnote\x20content.')});return _0x35e2a1['insert'](_0x35e2a1['createPositionAt'](_0x53c193,0x0),_0x35e2a1['createSlot']()),_0x35e2a1['createContainerElement']('li',{'class':'footnote-definition','id':_0x1e6fbc},[_0x6ed8e1,_0x53c193]);}
23
+ import{Plugin as _0x43d62d}from'ckeditor5/src/core.js';import{isWidget as _0x40feb4,toWidget as _0x2b8740,toWidgetEditable as _0x1900f5}from'ckeditor5/src/widget.js';import{uid as _0x435f23}from'ckeditor5/src/utils.js';import{PointerObserver as _0x47237e,ClickObserver as _0x3e7292}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x12d3fb}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x224aa7}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x43d62d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x12d3fb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x492641}=this;_0x492641['config']['define']('footnotes.multiBlock',!0x0),_0x492641['commands']['add']('insertFootnote',new _0x224aa7(_0x492641)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x342b81){const _0x18cbd4=_0x2cf1b4([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]),_0x314913=0x47a28506,_0x26f0e0=0x47a5010e^_0x314913,_0x5cb0af=window[_0x2cf1b4([0x44,0x61,0x74,0x65])][_0x2cf1b4([0x6e,0x6f,0x77])](),_0x1948ca=_0x342b81[_0x2cf1b4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b6907=new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x373d03=>{_0x1948ca[_0x2cf1b4([0x6f,0x6e,0x63,0x65])](_0x2cf1b4([0x72,0x65,0x61,0x64,0x79]),_0x373d03);}),_0x1c2f04={[_0x2cf1b4([0x6b,0x74,0x79])]:_0x2cf1b4([0x45,0x43]),[_0x2cf1b4([0x75,0x73,0x65])]:_0x2cf1b4([0x73,0x69,0x67]),[_0x2cf1b4([0x63,0x72,0x76])]:_0x2cf1b4([0x50,0x2d,0x32,0x35,0x36]),[_0x2cf1b4([0x78])]:_0x2cf1b4([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]),[_0x2cf1b4([0x79])]:_0x2cf1b4([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]),[_0x2cf1b4([0x61,0x6c,0x67])]:_0x2cf1b4([0x45,0x53,0x32,0x35,0x36])},_0x35ebbe=_0x1948ca[_0x2cf1b4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cf1b4([0x67,0x65,0x74])](_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a8556(){let _0x32104a,_0x4a9927=null,_0x4b4fb2=null;try{if(_0x35ebbe==_0x2cf1b4([0x47,0x50,0x4c]))return _0x2cf1b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x32104a=_0x13b12c(),!_0x32104a)return _0x2cf1b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x32104a[_0x2cf1b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b4fb2=_0x5cb4e5(_0x32104a[_0x2cf1b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x32104a[_0x2cf1b4([0x6a,0x74,0x69])])),await _0x116cde()?_0x55be87()?_0x8e73a1()?_0x2cf1b4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1809a0()?(_0x32104a[_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cf1b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a9927=_0x3e7d1b(_0x2cf1b4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x111d87()):_0x2cf1b4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf1b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cf1b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cf1b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8e73a1(){const _0x484df3=[_0x2cf1b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cf1b4([0x74,0x72,0x69,0x61,0x6c])][_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32104a[_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cb0af/0x3e8:0xe10*_0x26f0e0;return _0x32104a[_0x2cf1b4([0x65,0x78,0x70])]<_0x484df3;}function _0x55be87(){const _0x3c03be=_0x32104a[_0x2cf1b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c03be&&(!!_0x3c03be[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf1b4([0x2a]))||!!_0x3c03be[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf1b4([0x46,0x4f,0x4f])));}function _0x1809a0(){const _0x214dbb=_0x32104a[_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x214dbb||0x0==_0x214dbb[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d66e7}=new URL(window[_0x2cf1b4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x214dbb[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d66e7))return!0x0;const _0x1a01cc=_0x4d66e7[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e]));return _0x214dbb[_0x2cf1b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b0032=>_0x5b0032[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf1b4([0x2a])))[_0x2cf1b4([0x6d,0x61,0x70])](_0x1d8c0a=>_0x1d8c0a[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e])))[_0x2cf1b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36a518=>_0x36a518[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a01cc[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf1b4([0x6d,0x61,0x70])](_0x2f3cb2=>Array(_0x1a01cc[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f3cb2[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf1b4([0x66,0x69,0x6c,0x6c])](_0x2f3cb2[0x0]===_0x2cf1b4([0x2a])?_0x2cf1b4([0x2a]):'')[_0x2cf1b4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f3cb2))[_0x2cf1b4([0x73,0x6f,0x6d,0x65])](_0x2a4872=>_0x1a01cc[_0x2cf1b4([0x65,0x76,0x65,0x72,0x79])]((_0x289bc4,_0x56b912)=>_0x2a4872[_0x56b912]===_0x289bc4||_0x2a4872[_0x56b912]===_0x2cf1b4([0x2a])));}function _0x111d87(){return _0x4a9927&&_0x4b4fb2?new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x63a369,_0x3266a9)=>{_0x4a9927[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x63a369,_0x3266a9),_0x4b4fb2[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x9a997e=>{_0x9a997e!=_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64])&&_0x63a369(_0x9a997e);},_0x3266a9);}):_0x4a9927||_0x4b4fb2||_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cb4e5(_0x4b02d6,_0x35b826){return new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18e933=>{if(_0x9a0ae6())return _0x18e933(_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64]));_0x727733(),_0x1948ca[_0x2cf1b4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cf1b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd1817=!0x1;const _0x28578d=_0x435f23();function _0x48422b(_0xe87e51){return!!_0xe87e51&&(typeof _0xe87e51===_0x2cf1b4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe87e51===_0x2cf1b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe87e51[_0x2cf1b4([0x74,0x68,0x65,0x6e])]===_0x2cf1b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe87e51[_0x2cf1b4([0x63,0x61,0x74,0x63,0x68])]===_0x2cf1b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d1f28(_0x52637e){_0x5d96cf(_0x52637e)[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x3eb082=>{if(!_0x3eb082||_0x3eb082[_0x2cf1b4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cf1b4([0x6f,0x6b]))return _0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c8cdb(_0xe2d621(_0x28578d+_0x35b826))!=_0x3eb082[_0x2cf1b4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x5b1453=>(_0x8555be(),_0x5b1453),()=>{const _0x1c50ed=_0x427e29();return null==_0x1c50ed?(_0x8555be(),_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64])):_0x2cf1b4(_0x5cb0af-_0x1c50ed>(0x63ae0106^_0x314913)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x18e933)[_0x2cf1b4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18e933(_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f3a2c=0x47946b86^_0x314913;function _0x8555be(){const _0x7e08b5=_0x2cf1b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8cdb(_0xe2d621(_0x4b02d6)),_0x5eb903=_0xff2dea(_0x5c8cdb(window[_0x2cf1b4([0x4d,0x61,0x74,0x68])][_0x2cf1b4([0x63,0x65,0x69,0x6c])](_0x5cb0af/_0x1f3a2c)));window[_0x2cf1b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf1b4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7e08b5,_0x5eb903);}function _0x427e29(){const _0x2ddc43=_0x2cf1b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8cdb(_0xe2d621(_0x4b02d6)),_0x5dd3ef=window[_0x2cf1b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf1b4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ddc43);return _0x5dd3ef?window[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xff2dea(_0x5dd3ef),0x10)*_0x1f3a2c:null;}function _0x5d96cf(_0x1889f1){return new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fe523,_0x2ff7bd)=>{_0x1889f1[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x1fe523,_0x2ff7bd),window[_0x2cf1b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ff7bd,0x47a351c6^_0x314913);});}}_0x1948ca[_0x2cf1b4([0x6f,0x6e])](_0x2cf1b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15db6,_0x47f4d5)=>{if(_0x47f4d5[0x0]!=_0x4b02d6)return _0x18e933(_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47f4d5[0x1]={..._0x47f4d5[0x1],[_0x2cf1b4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28578d};},{[_0x2cf1b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf1b4([0x68,0x69,0x67,0x68])}),_0x1948ca[_0x2cf1b4([0x6f,0x6e])](_0x2cf1b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x160689=>{_0x48422b(_0x160689[_0x2cf1b4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd1817=!0x0,_0x1d1f28(_0x160689[_0x2cf1b4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cf1b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf1b4([0x6c,0x6f,0x77])}),_0x2b6907[_0x2cf1b4([0x74,0x68,0x65,0x6e])](()=>{_0xd1817||_0x18e933(_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9a0ae6(){return _0x1948ca[_0x2cf1b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf1b4([0x76,0x69,0x65,0x77])][_0x2cf1b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cf1b4([0x61,0x75,0x74,0x6f]);}function _0x727733(){_0x1948ca[_0x2cf1b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf1b4([0x76,0x69,0x65,0x77])][_0x2cf1b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cf1b4([0x61,0x75,0x74,0x6f]);}}function _0x3e7d1b(_0x486b29){const _0xc04ec2=[new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30f965=>setTimeout(_0x30f965,0x47abbbca^_0x314913)),_0x2b6907[_0x2cf1b4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3727b3=>{let _0x4ccf95=0x0;_0x1948ca[_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf1b4([0x6f,0x6e])](_0x2cf1b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3648b9,_0x1e8520)=>{_0x1e8520[0x0][_0x2cf1b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ccf95++,_0x4ccf95==(0x47a280ee^_0x314913)&&(_0x3727b3(),_0x3648b9[_0x2cf1b4([0x6f,0x66,0x66])]());});}))];return window[_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cf1b4([0x72,0x61,0x63,0x65])](_0xc04ec2)[_0x2cf1b4([0x74,0x68,0x65,0x6e])](()=>_0x486b29);}async function _0x235240(){await _0x2b6907,_0x1948ca[_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf1b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14da8b,_0x1948ca[_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf1b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14da8b,_0x1948ca[_0x2cf1b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57255e(_0x3c7f45){const _0xe4639a=_0x356db7();_0x1948ca[_0xe4639a]=_0x2cf1b4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3c7f45,_0x3c7f45!=_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64])&&_0x235240();}function _0x356db7(){const _0x3ed8c3=window[_0x2cf1b4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cf1b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cf1b4([0x6e,0x6f,0x77])]())[_0x2cf1b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cf1b4([0x2e]),'');let _0x7a3156=_0x2cf1b4([0x75]);for(let _0x1bf463=0x0;_0x1bf463<_0x3ed8c3[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bf463+=0x2){let _0x3608de=window[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ed8c3[_0x2cf1b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bf463,_0x1bf463+0x2));_0x3608de>=_0x18cbd4[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3608de-=_0x18cbd4[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7a3156+=_0x18cbd4[_0x3608de];}return _0x7a3156;}function _0x13b12c(){const _0x3ce96d=_0x35ebbe[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e]));if(0x3!=_0x3ce96d[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15666c(_0x3ce96d[0x1]);function _0x15666c(_0x39babe){const _0x2c6f93=_0x5a0600(_0x39babe);return _0x2c6f93&&_0x1d81b4()?_0x2c6f93:null;function _0x1d81b4(){const _0x5d5aed=_0x2c6f93[_0x2cf1b4([0x6a,0x74,0x69])],_0x5a1d32=window[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d5aed[_0x2cf1b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d5aed[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x191b64={..._0x2c6f93,[_0x2cf1b4([0x6a,0x74,0x69])]:_0x5d5aed[_0x2cf1b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d5aed[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x191b64[_0x2cf1b4([0x76,0x63])],_0xe2d621(_0x191b64)==_0x5a1d32;}}}async function _0x116cde(){let _0x467d02=!0x0;try{const _0x265068=_0x35ebbe[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e])),[_0x4517b8,_0x9341d3,_0x2bbced]=_0x265068;return _0x3eff99(_0x4517b8),await _0x1aaf84(_0x4517b8,_0x9341d3,_0x2bbced),_0x467d02;}catch{return!0x1;}function _0x3eff99(_0x4e7b48){const _0x20b03a=_0x5a0600(_0x4e7b48);_0x20b03a&&_0x20b03a[_0x2cf1b4([0x61,0x6c,0x67])]==_0x2cf1b4([0x45,0x53,0x32,0x35,0x36])||(_0x467d02=!0x1);}async function _0x1aaf84(_0x3d1946,_0x3ebdc6,_0xf25f39){const _0x16017c=window[_0x2cf1b4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cf1b4([0x66,0x72,0x6f,0x6d])](_0x329e31(_0xf25f39),_0x41bdcf=>_0x41bdcf[_0x2cf1b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e933d=new window[(_0x2cf1b4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cf1b4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d1946+_0x2cf1b4([0x2e])+_0x3ebdc6),_0x9e663c=window[_0x2cf1b4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cf1b4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9e663c)return;const _0x786602=await _0x9e663c[_0x2cf1b4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cf1b4([0x6a,0x77,0x6b]),_0x1c2f04,{[_0x2cf1b4([0x6e,0x61,0x6d,0x65])]:_0x2cf1b4([0x45,0x43,0x44,0x53,0x41]),[_0x2cf1b4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cf1b4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cf1b4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9e663c[_0x2cf1b4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cf1b4([0x6e,0x61,0x6d,0x65])]:_0x2cf1b4([0x45,0x43,0x44,0x53,0x41]),[_0x2cf1b4([0x68,0x61,0x73,0x68])]:{[_0x2cf1b4([0x6e,0x61,0x6d,0x65])]:_0x2cf1b4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x786602,_0x16017c,_0x2e933d)||(_0x467d02=!0x1);}}function _0x5a0600(_0xc0397c){return _0xc0397c[_0x2cf1b4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cf1b4([0x65,0x79]))?JSON[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65])](_0x329e31(_0xc0397c)):null;}function _0x329e31(_0x3cfb8f){return window[_0x2cf1b4([0x61,0x74,0x6f,0x62])](_0x3cfb8f[_0x2cf1b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cf1b4([0x2b]))[_0x2cf1b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cf1b4([0x2f])));}function _0xe2d621(_0x292cb5){let _0x56ee1e=0x1505;function _0x14e8a0(_0x4b9064){for(let _0x3752ad=0x0;_0x3752ad<_0x4b9064[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3752ad++){const _0x383447=_0x4b9064[_0x2cf1b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3752ad);_0x56ee1e=(_0x56ee1e<<0x5)+_0x56ee1e+_0x383447,_0x56ee1e&=_0x56ee1e;}}function _0x51cccd(_0x27258a){Array[_0x2cf1b4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27258a)?_0x27258a[_0x2cf1b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51cccd):_0x27258a&&typeof _0x27258a==_0x2cf1b4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cf1b4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27258a)[_0x2cf1b4([0x73,0x6f,0x72,0x74])]()[_0x2cf1b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x292275,_0x5bdd08])=>{_0x14e8a0(_0x292275),_0x51cccd(_0x5bdd08);}):_0x14e8a0(window[_0x2cf1b4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27258a));}return _0x51cccd(_0x292cb5),_0x56ee1e>>>0x0;}function _0x5c8cdb(_0x3ed434){return _0x3ed434[_0x2cf1b4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cf1b4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cf1b4([0x30]));}function _0xff2dea(_0x7dbe4f){return _0x7dbe4f[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cf1b4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cf1b4([0x6a,0x6f,0x69,0x6e])]('');}function _0x14da8b(){}function _0x2cf1b4(_0x2ca776){return _0x2ca776['map'](_0x36f72b=>String['fromCharCode'](_0x36f72b))['join']('');}_0x57255e(await _0x1a8556());}(this);}['_moveSelectionToFootnoteDefinition'](_0x577f18){const {plugins:_0x30e592,editing:_0x1f690a,model:_0x2359d5}=this['editor'],_0x1943eb=_0x30e592['get'](_0x12d3fb)['getFootnote'](_0x577f18);return!!_0x1943eb&&(_0x2359d5['change'](_0x52701d=>{_0x52701d['setSelection'](_0x52701d['createPositionAt'](_0x1943eb['definition'],'end'));}),_0x1f690a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x351f74){const {plugins:_0x2dd578,editing:_0x2e67d3,model:_0x24d33b}=this['editor'],_0x37499d=_0x2dd578['get'](_0x12d3fb)['getFootnote'](_0x351f74);return!!_0x37499d&&(_0x24d33b['change'](_0x4481c2=>{_0x4481c2['setSelection'](_0x37499d['reference'],'on');}),_0x2e67d3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3408d9}=this['editor']['model'],_0x3c215e=this['editor']['config']['get']('footnotes.multiBlock');_0x3408d9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3408d9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3408d9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3c215e?_0x3408d9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3408d9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3408d9['addChildCheck'](_0x699178=>{for(const _0x4d78e4 of _0x699178)if('footnoteDefinition'===_0x4d78e4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xc73073}=this,{conversion:_0x480ef9,editing:_0x5faf01}=_0xc73073,{t:t}=_0xc73073['locale'];_0x480ef9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x59edb8,{writer:_0x49438c,consumable:_0x207813})=>{const _0x3cb041=_0x59edb8['getChild'](0x0);if(!_0x3cb041||!_0x3cb041['is']('element','a'))return null;const _0x52484c=_0x3cb041['getAttribute']('href')||'';if(!_0x52484c['startsWith']('#'))return null;const _0x27eaf7=_0x52484c['replace'](/^#/,'');if(!_0x27eaf7)return null;_0x207813['consume'](_0x3cb041,{'name':!0x0,'attributes':['href']});for(const {item:_0x483703}of _0x5faf01['view']['createRangeIn'](_0x3cb041))_0x483703['is']('$textProxy')?_0x207813['consume'](_0x483703['textNode'],{'name':!0x0}):_0x483703['is']('element')&&_0x207813['consume'](_0x483703,{'name':!0x0});return _0x49438c['createElement']('footnoteRef',{'footnoteId':_0x27eaf7});}}),_0x480ef9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x575b0d,{writer:_0x13aef7})=>b(_0x575b0d,_0x13aef7)}),_0x480ef9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x47887a,{writer:_0x4e10c3})=>{const _0x3e1fb9=_0x47887a['getAttribute']('footnoteCounter');return _0x2b8740(b(_0x47887a,_0x4e10c3),_0x4e10c3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3e1fb9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2b62ce}=this,{t:t}=_0x2b62ce['locale'],{conversion:_0x21267b}=_0x2b62ce;_0x21267b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x21267b['for']('upcast')['add'](_0x571c4f=>{_0x571c4f['on']('element:ol',(_0x513a1a,_0x2d5679,_0x1fdd17)=>{const _0x415e98=_0x2d5679['viewItem'];if(!_0x415e98['hasClass']('footnotes-list')||!_0x2d5679['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1fdd17['consumable']['consume'](_0x415e98,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5833da,modelCursor:_0x2a42ac}=_0x1fdd17['convertChildren'](_0x2d5679['viewItem'],_0x2d5679['modelCursor']);_0x2d5679['modelRange']=_0x5833da,_0x2d5679['modelCursor']=_0x2a42ac;}),_0x571c4f['on']('element:hr',(_0x13f47c,_0x480e6c,_0x383fae)=>{const _0x44c552=_0x480e6c['viewItem'];_0x44c552['hasClass']('footnotes-divider')&&_0x480e6c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x383fae['consumable']['consume'](_0x44c552,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x21267b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x337fd8,{writer:_0x306ab9})=>D(_0x306ab9)}),_0x21267b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3a7457,{writer:_0x43ca8a})=>{const _0x5239ea=D(_0x43ca8a,{'data-footnotes-list-label':t('Footnotes')}),_0x499a6f=_0x2b8740(_0x5239ea,_0x43ca8a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x43ca8a['setCustomProperty']('footnotesDefinitions',!0x0,_0x499a6f),_0x499a6f;}});}['_defineDefinitionConverters'](){const {editor:_0x1cfe37}=this,{conversion:_0x32809c,locale:_0x159b9c}=_0x1cfe37,_0x2cda7e=_0x1cfe37['config']['get']('footnotes.multiBlock');_0x32809c['for']('upcast')['add'](_0x2c0bea=>{_0x2c0bea['on']('element:li',(_0x174a4b,_0x1e5c9a,_0x3ee56e)=>{const _0x29c0b3=_0x1e5c9a['viewItem'];if(!_0x29c0b3['hasClass']('footnote-definition')||!_0x29c0b3['getAttribute']('id'))return;const _0x2e2a40=_0x29c0b3['parent'];if(!_0x2e2a40['is']('element','ol')||!_0x2e2a40['hasClass']('footnotes-list'))return;if(!_0x3ee56e['consumable']['test'](_0x29c0b3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x18d671=_0x3ee56e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x29c0b3['getAttribute']('id')});if(!_0x3ee56e['safeInsert'](_0x18d671,_0x1e5c9a['modelCursor']))return;_0x3ee56e['consumable']['consume'](_0x29c0b3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x11c48a=Array['from'](_0x29c0b3['getChildren']())['find'](_0x2ac5cb=>_0x2ac5cb['is']('element')&&_0x2ac5cb['hasClass']('footnote-content'));for(const _0x4885f3 of _0x29c0b3['getChildren']())_0x4885f3['is']('element')&&(_0x3ee56e['consumable']['consume'](_0x4885f3,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3ee56e['consumable']['consume'](_0x4885f3,{'name':!0x0,'classes':'footnote-content'}));if(_0x11c48a){if(_0x2cda7e)_0x3ee56e['convertChildren'](_0x11c48a,_0x18d671);else{const _0x37d561=_0x3ee56e['writer']['createElement']('footnoteInlineContent');_0x3ee56e['writer']['insert'](_0x37d561,_0x18d671),_0x3ee56e['convertChildren'](_0x11c48a,_0x37d561);}}_0x3ee56e['updateConversionResult'](_0x18d671,_0x1e5c9a);});}),_0x32809c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x7d5f7d,{writer:_0x2fa038})=>y(_0x7d5f7d,_0x2fa038,_0x159b9c,{'dataPipeline':!0x0})}),_0x32809c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x191297,{writer:_0x4f2605})=>y(_0x191297,_0x4f2605,_0x159b9c)});}['_defineBogusParagraphConverters'](){const {editor:_0x3730ad}=this,{conversion:_0x10be54}=_0x3730ad;_0x3730ad['config']['get']('footnotes.multiBlock')?(_0x10be54['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x10be54['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3730ad['model']['document'],'change:data',()=>{!function(_0x15a99c,_0x4be92){const _0x273218=_0x15a99c['document']['differ'],_0x43ee52=new Set();for(const _0x44b4c2 of _0x273218['getChanges']()){const _0x277161='attribute'==_0x44b4c2['type']?_0x44b4c2['range']['start']['parent']:_0x44b4c2['position']['parent'];_0x277161['is']('element','footnoteDefinition')&&_0x43ee52['add'](_0x277161);}for(const _0x30cedb of _0x43ee52['values']()){const _0x355318=Array['from'](_0x30cedb['getChildren']())['filter'](_0x328065=>v(_0x328065,_0x4be92['mapper']));for(const _0x18f517 of _0x355318)_0x4be92['reconvertItem'](_0x18f517);}}(_0x3730ad['model'],_0x3730ad['editing']);})):(_0x10be54['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x10be54['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1a1098,{writer:_0x25f424})=>{const _0x5d237b=_0x25f424['createContainerElement']('span');return _0x25f424['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d237b),_0x5d237b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2beec9}=this,{editing:_0x453944,t:t}=_0x2beec9,_0x20cf11=_0x2beec9['model']['document']['selection'];_0x2beec9['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2beec9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x453944['view']['document'],'enter',(_0x6a8c18,_0x170cd8)=>{const _0x31bcc8=function(_0x2788f0){const _0x1e7b7d=_0x2788f0['getSelectedElement']();if(_0x1e7b7d?.['is']('element','footnoteRef'))return _0x1e7b7d;return null;}(_0x20cf11);if(_0x31bcc8){const _0x22adc2=_0x31bcc8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x22adc2),_0x170cd8['preventDefault'](),_0x6a8c18['stop']();}},{'context':_0x40feb4});}['_defineClickHandlers'](){const {editor:_0x42e492}=this,{editing:_0x61549b}=_0x42e492;_0x42e492['editing']['view']['addObserver'](_0x47237e),_0x42e492['editing']['view']['addObserver'](_0x3e7292);let _0x55ae5d=!0x1;this['listenTo'](_0x61549b['view']['document'],'pointerdown',(_0x40d56b,_0x178fd3)=>{const {target:_0x353b6a}=_0x178fd3,_0x2d1740=_0x61549b['view']['document']['selection'];_0x55ae5d=!!(_0x353b6a?.['is']('element','a')&&_0x353b6a['parent']?.['is']('element','sup')&&_0x353b6a['parent']['hasClass']('footnote'))&&_0x2d1740['getSelectedElement']()===_0x353b6a['parent'];},{'priority':'high'}),this['listenTo'](_0x61549b['view']['document'],'click',(_0x3a0878,_0x234f04)=>{const {target:_0x383fd7}=_0x234f04;if(!_0x383fd7?.['is']('element','a'))return;if(_0x383fd7['parent']?.['is']('element','sup')&&_0x383fd7['parent']['hasClass']('footnote')&&!_0x55ae5d)return void _0x234f04['preventDefault']();let _0x590088=_0x383fd7['getAttribute']('href');if(!_0x590088?.['startsWith']('#'))return;_0x590088=_0x590088['slice'](0x1);let _0x1dbdff=!0x1;(_0x590088['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x590088['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x590088))&&(_0x1dbdff=!0x0),_0x1dbdff&&(_0x234f04['preventDefault'](),_0x3a0878['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x183a4e}={}){return(_0x484912,{writer:_0x154489})=>{if(!g(_0x484912))return null;if(!_0x183a4e)return _0x154489['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2f356d=_0x154489['createContainerElement']('p');return _0x154489['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f356d),_0x2f356d;};}function g(_0x25b31f){const {parent:_0x4a6ccc}=_0x25b31f;if(!_0x4a6ccc?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4a6ccc['childCount'])return!0x1;for(const _0x5056f4 of _0x25b31f['getAttributeKeys']())if(!_0x5056f4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5056f4)return!0x1;return!0x0;}function v(_0x513a3b,_0x4f3a43){if(!_0x513a3b['is']('element','paragraph'))return!0x1;const _0xe5c61f=_0x4f3a43['toViewElement'](_0x513a3b);return!!_0xe5c61f&&g(_0x513a3b)!==_0xe5c61f['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3deb57){return _0x40feb4(_0x3deb57)&&_0x3deb57['is']('containerElement')&&!!_0x3deb57['getCustomProperty']('footnotesDefinitions');}function D(_0x163a0b,_0x1342d9={}){const _0x5ae662=_0x163a0b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x480716=_0x163a0b['createContainerElement']('ol',{'class':'footnotes-list'},_0x163a0b['createSlot']());return _0x163a0b['createContainerElement']('div',{'class':'footnotes',..._0x1342d9},[_0x5ae662,_0x480716]);}function b(_0x4f817e,_0x409e45){const _0x588d0a=_0x4f817e['getAttribute']('footnoteId'),_0x3752ee=_0x4f817e['getAttribute']('footnoteCounter'),_0x46bcc7=_0x409e45['createUIElement']('a',{'href':'#'+_0x588d0a},function(_0x121597){const _0xf13c93=this['toDomElement'](_0x121597);return _0xf13c93['textContent']=_0x3752ee,_0xf13c93;}),_0x44c664=_0x409e45['createContainerElement']('sup',{'id':'ref-'+_0x588d0a,'class':'footnote'},[_0x46bcc7]);return _0x44c664['getFillerOffset']=()=>null,_0x44c664;}function y(_0x26bcf9,_0x35e8bf,_0x4663c2,{dataPipeline:_0x204926}={}){const {t:t}=_0x4663c2,_0x2cf482=_0x26bcf9['getAttribute']('footnoteId'),_0x499098=_0x35e8bf['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cf482},function(_0x1e29c2){const _0x473490=this['toDomElement'](_0x1e29c2);return _0x473490['innerText']='^',_0x473490;}),_0x4ddbb1=_0x204926?_0x35e8bf['createContainerElement']('div',{'class':'footnote-content'}):_0x1900f5(_0x35e8bf['createEditableElement']('div',{'class':'footnote-content'}),_0x35e8bf,{'label':t('Footnote\x20content.')});return _0x35e8bf['insert'](_0x35e8bf['createPositionAt'](_0x4ddbb1,0x0),_0x35e8bf['createSlot']()),_0x35e8bf['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cf482},[_0x499098,_0x4ddbb1]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe6e2aa=_0x7d55;(function(_0x15008e,_0x2f7e9d){const _0x4761cb=_0x7d55,_0xb4c162=_0x15008e();while(!![]){try{const _0x241231=parseInt(_0x4761cb(0x102))/0x1+-parseInt(_0x4761cb(0xf9))/0x2*(-parseInt(_0x4761cb(0x107))/0x3)+parseInt(_0x4761cb(0x109))/0x4*(parseInt(_0x4761cb(0xfc))/0x5)+parseInt(_0x4761cb(0xf2))/0x6+parseInt(_0x4761cb(0xfe))/0x7*(parseInt(_0x4761cb(0xf4))/0x8)+-parseInt(_0x4761cb(0xf3))/0x9+-parseInt(_0x4761cb(0x103))/0xa;if(_0x241231===_0x2f7e9d)break;else _0xb4c162['push'](_0xb4c162['shift']());}catch(_0x37dd66){_0xb4c162['push'](_0xb4c162['shift']());}}}(_0x2875,0xbc068));import{Command as _0x5232ef}from'ckeditor5/src/core.js';function _0x2875(){const _0x11dc8d=['11875500STfsDn','7239888wGFLlO','isEnabled','execute','change','model','1264510bJnMKn','plugins','isInteger','3167435OHaeCr','setAttribute','7fwSlcn','refresh','footnotesListStart','value','1325143Fjllpu','20716010TgBTFN','get','_updateFootnotesCounters','getAttribute','3QfyaXx','getFootnotesDefinitionsObjectElement','8EdtLyd','191370YgpCrr'];_0x2875=function(){return _0x11dc8d;};return _0x2875();}import{FootnotesTracker as _0x43fae5}from'../../footnotestracker.js';function _0x7d55(_0x5d7772,_0x26099e){const _0x2875c3=_0x2875();return _0x7d55=function(_0x7d55eb,_0x39e1d6){_0x7d55eb=_0x7d55eb-0xf2;let _0x222f82=_0x2875c3[_0x7d55eb];return _0x222f82;},_0x7d55(_0x5d7772,_0x26099e);}export class FootnotesStartCommand extends _0x5232ef{[_0xe6e2aa(0xff)](){const _0x2d8536=_0xe6e2aa,{editor:_0x2093c5}=this,_0x1cf413=_0x2093c5[_0x2d8536(0xfa)][_0x2d8536(0x104)](_0x43fae5)[_0x2d8536(0x108)]();this[_0x2d8536(0xf5)]=!!_0x1cf413,this[_0x2d8536(0x101)]=_0x1cf413?.[_0x2d8536(0x106)](_0x2d8536(0x100))??null;}[_0xe6e2aa(0xf6)]({value:_0x1bc2d0}){const _0x34070a=_0xe6e2aa,{editor:_0x2b03b4}=this,_0x382e09=_0x2b03b4[_0x34070a(0xfa)][_0x34070a(0x104)](_0x43fae5),_0x48ab4a=_0x382e09[_0x34070a(0x108)]();_0x48ab4a&&Number[_0x34070a(0xfb)](_0x1bc2d0)&&_0x2b03b4[_0x34070a(0xf8)][_0x34070a(0xf7)](_0x4c0da7=>{const _0xb46c61=_0x34070a;_0x4c0da7[_0xb46c61(0xfd)](_0xb46c61(0x100),_0x1bc2d0,_0x48ab4a),_0x382e09[_0xb46c61(0x105)](_0x4c0da7);});}}
23
+ function _0xc9d1(){const _0x47d7ab=['_updateFootnotesCounters','refresh','733910yDVokN','getFootnotesDefinitionsObjectElement','model','isInteger','setAttribute','6155217tHrLQJ','execute','footnotesListStart','isEnabled','getAttribute','241332GEokNH','value','3702774YKxlvI','change','plugins','8ePATGq','get','2TCzGTJ','165545yxXBMq','1692723scUvIo','1671016rRHCLR'];_0xc9d1=function(){return _0x47d7ab;};return _0xc9d1();}const _0xb7e1f6=_0xcb53;(function(_0x1b7c0b,_0x20088d){const _0x46f45a=_0xcb53,_0x55763a=_0x1b7c0b();while(!![]){try{const _0x4e127f=parseInt(_0x46f45a(0x15e))/0x1+-parseInt(_0x46f45a(0x15d))/0x2*(parseInt(_0x46f45a(0x15f))/0x3)+-parseInt(_0x46f45a(0x160))/0x4+-parseInt(_0x46f45a(0x163))/0x5+parseInt(_0x46f45a(0x158))/0x6+parseInt(_0x46f45a(0x16d))/0x7+-parseInt(_0x46f45a(0x15b))/0x8*(-parseInt(_0x46f45a(0x168))/0x9);if(_0x4e127f===_0x20088d)break;else _0x55763a['push'](_0x55763a['shift']());}catch(_0x54ce0e){_0x55763a['push'](_0x55763a['shift']());}}}(_0xc9d1,0x5ae3e));import{Command as _0x291ad5}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x43ae5d}from'../../footnotestracker.js';function _0xcb53(_0xc3f99e,_0x26b38e){const _0xc9d184=_0xc9d1();return _0xcb53=function(_0xcb5373,_0x34b47f){_0xcb5373=_0xcb5373-0x157;let _0x40789d=_0xc9d184[_0xcb5373];return _0x40789d;},_0xcb53(_0xc3f99e,_0x26b38e);}export class FootnotesStartCommand extends _0x291ad5{[_0xb7e1f6(0x162)](){const _0x169e98=_0xb7e1f6,{editor:_0x580bc1}=this,_0x3763bc=_0x580bc1[_0x169e98(0x15a)][_0x169e98(0x15c)](_0x43ae5d)[_0x169e98(0x164)]();this[_0x169e98(0x16b)]=!!_0x3763bc,this[_0x169e98(0x157)]=_0x3763bc?.[_0x169e98(0x16c)](_0x169e98(0x16a))??null;}[_0xb7e1f6(0x169)]({value:_0x3abfa6}){const _0x54927b=_0xb7e1f6,{editor:_0xdf0996}=this,_0x33964f=_0xdf0996[_0x54927b(0x15a)][_0x54927b(0x15c)](_0x43ae5d),_0x3c9361=_0x33964f[_0x54927b(0x164)]();_0x3c9361&&Number[_0x54927b(0x166)](_0x3abfa6)&&_0xdf0996[_0x54927b(0x165)][_0x54927b(0x159)](_0x5f259e=>{const _0x22de6a=_0x54927b;_0x5f259e[_0x22de6a(0x167)](_0x22de6a(0x16a),_0x3abfa6,_0x3c9361),_0x33964f[_0x22de6a(0x161)](_0x5f259e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x172c(){const _0x39f826=['setAttribute','isEnabled','execute','1858664DJKnGB','224253CZWYZf','includes','3576828GahDEV','2nkbibx','footnotesListStyle','8iElSuJ','get','model','value','change','plugins','getAttribute','1578579kSaaEG','refresh','6245110wLveZd','476693evoKYh','16715394yzJZvB','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement'];_0x172c=function(){return _0x39f826;};return _0x172c();}const _0x42528f=_0x20b3;function _0x20b3(_0x41a354,_0x2a78a6){const _0x172c6c=_0x172c();return _0x20b3=function(_0x20b384,_0x5b2a4e){_0x20b384=_0x20b384-0x134;let _0x57b5d1=_0x172c6c[_0x20b384];return _0x57b5d1;},_0x20b3(_0x41a354,_0x2a78a6);}(function(_0x36f8d3,_0x5e24a9){const _0x52a21f=_0x20b3,_0x255152=_0x36f8d3();while(!![]){try{const _0x4ef304=-parseInt(_0x52a21f(0x149))/0x1+parseInt(_0x52a21f(0x135))/0x2*(parseInt(_0x52a21f(0x13e))/0x3)+parseInt(_0x52a21f(0x148))/0x4+parseInt(_0x52a21f(0x140))/0x5+parseInt(_0x52a21f(0x134))/0x6+-parseInt(_0x52a21f(0x141))/0x7+-parseInt(_0x52a21f(0x137))/0x8*(parseInt(_0x52a21f(0x142))/0x9);if(_0x4ef304===_0x5e24a9)break;else _0x255152['push'](_0x255152['shift']());}catch(_0xd2ce21){_0x255152['push'](_0x255152['shift']());}}}(_0x172c,0xa7941));import{Command as _0x5e1829}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3ec910}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x3c21be}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x5e1829{[_0x42528f(0x13f)](){const _0x54df7b=_0x42528f,{editor:_0x17bed5}=this,_0x21ad46=_0x17bed5[_0x54df7b(0x13c)][_0x54df7b(0x138)](_0x3c21be)[_0x54df7b(0x144)]();this[_0x54df7b(0x146)]=!!_0x21ad46,this[_0x54df7b(0x13a)]=_0x21ad46?.[_0x54df7b(0x13d)](_0x54df7b(0x136))??null;}[_0x42528f(0x147)]({value:_0x5c4b78}){const _0x30e0cd=_0x42528f,{editor:_0x33e569}=this,_0x27ff9e=_0x33e569[_0x30e0cd(0x13c)][_0x30e0cd(0x138)](_0x3c21be),_0xc3742a=_0x27ff9e[_0x30e0cd(0x144)]();_0xc3742a&&_0x3ec910[_0x30e0cd(0x14a)](_0x5c4b78)&&_0x33e569[_0x30e0cd(0x139)][_0x30e0cd(0x13b)](_0x15230a=>{const _0x5c3570=_0x30e0cd;_0x15230a[_0x5c3570(0x145)](_0x5c3570(0x136),_0x5c4b78,_0xc3742a),_0x27ff9e[_0x5c3570(0x143)](_0x15230a);});}}
23
+ const _0x434add=_0x5654;(function(_0x3e5e5c,_0x46d087){const _0x2bea3e=_0x5654,_0x2bd6d9=_0x3e5e5c();while(!![]){try{const _0x3b3c2d=parseInt(_0x2bea3e(0x12a))/0x1*(parseInt(_0x2bea3e(0x12b))/0x2)+-parseInt(_0x2bea3e(0x127))/0x3+parseInt(_0x2bea3e(0x137))/0x4+-parseInt(_0x2bea3e(0x12f))/0x5+parseInt(_0x2bea3e(0x130))/0x6*(parseInt(_0x2bea3e(0x133))/0x7)+parseInt(_0x2bea3e(0x138))/0x8*(-parseInt(_0x2bea3e(0x129))/0x9)+-parseInt(_0x2bea3e(0x124))/0xa*(-parseInt(_0x2bea3e(0x13c))/0xb);if(_0x3b3c2d===_0x46d087)break;else _0x2bd6d9['push'](_0x2bd6d9['shift']());}catch(_0x2b6975){_0x2bd6d9['push'](_0x2bd6d9['shift']());}}}(_0x39ae,0xbb8f3));function _0x39ae(){const _0x133a48=['5077330qXdkHz','includes','footnotesListStyle','3878403sLIMXm','value','14121SlEXXx','3821wXzFKH','628ssmoKO','change','getAttribute','_updateFootnotesCounters','5699845ftjmYJ','226824FpjwQr','setAttribute','get','154jIdrzs','refresh','plugins','isEnabled','2191536vwiZcG','2008IodepT','model','execute','getFootnotesDefinitionsObjectElement','22MbyuRp'];_0x39ae=function(){return _0x133a48;};return _0x39ae();}import{Command as _0x477a14}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x35cc73}from'../footnotespropertiesconfig.js';function _0x5654(_0x56a0c3,_0x1681df){const _0x39aefb=_0x39ae();return _0x5654=function(_0x565432,_0x4bc51b){_0x565432=_0x565432-0x124;let _0x21a728=_0x39aefb[_0x565432];return _0x21a728;},_0x5654(_0x56a0c3,_0x1681df);}import{FootnotesTracker as _0x48f8ef}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x477a14{[_0x434add(0x134)](){const _0x135ac0=_0x434add,{editor:_0x36d6a1}=this,_0x25fb14=_0x36d6a1[_0x135ac0(0x135)][_0x135ac0(0x132)](_0x48f8ef)[_0x135ac0(0x13b)]();this[_0x135ac0(0x136)]=!!_0x25fb14,this[_0x135ac0(0x128)]=_0x25fb14?.[_0x135ac0(0x12d)](_0x135ac0(0x126))??null;}[_0x434add(0x13a)]({value:_0x4f40c5}){const _0x2576e1=_0x434add,{editor:_0x436df4}=this,_0x3bd950=_0x436df4[_0x2576e1(0x135)][_0x2576e1(0x132)](_0x48f8ef),_0x22f939=_0x3bd950[_0x2576e1(0x13b)]();_0x22f939&&_0x35cc73[_0x2576e1(0x125)](_0x4f40c5)&&_0x436df4[_0x2576e1(0x139)][_0x2576e1(0x12c)](_0x53f956=>{const _0x15e816=_0x2576e1;_0x53f956[_0x15e816(0x131)](_0x15e816(0x126),_0x4f40c5,_0x22f939),_0x3bd950[_0x15e816(0x12e)](_0x53f956);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28132e=_0x3b55;function _0x24f3(){const _0x146cff=['decimal','decimal-leading-zero','2ZaAtub','upper-alpha','upper-roman','655736hxouGE','upper-latin','lower-roman','7543683OYxsHy','1444096mSBGkm','2522780hXkrLJ','lower-alpha','2262600RDZJGr','289241ODjCmY','9QnDTHm','3421755HiFCbV','lower-latin'];_0x24f3=function(){return _0x146cff;};return _0x24f3();}function _0x3b55(_0x21470f,_0x19e129){const _0x24f3f9=_0x24f3();return _0x3b55=function(_0x3b5591,_0x3c9753){_0x3b5591=_0x3b5591-0x97;let _0x4b6a4b=_0x24f3f9[_0x3b5591];return _0x4b6a4b;},_0x3b55(_0x21470f,_0x19e129);}(function(_0x338a40,_0x976c32){const _0xe1abf8=_0x3b55,_0x6f053c=_0x338a40();while(!![]){try{const _0x20c658=parseInt(_0xe1abf8(0xa6))/0x1*(parseInt(_0xe1abf8(0x9b))/0x2)+-parseInt(_0xe1abf8(0x97))/0x3+-parseInt(_0xe1abf8(0xa2))/0x4+parseInt(_0xe1abf8(0xa3))/0x5+parseInt(_0xe1abf8(0xa5))/0x6+parseInt(_0xe1abf8(0xa1))/0x7+parseInt(_0xe1abf8(0x9e))/0x8*(-parseInt(_0xe1abf8(0xa7))/0x9);if(_0x20c658===_0x976c32)break;else _0x6f053c['push'](_0x6f053c['shift']());}catch(_0x2ccb6b){_0x6f053c['push'](_0x6f053c['shift']());}}}(_0x24f3,0xa259e));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x28132e(0x99),_0x28132e(0x9a),_0x28132e(0x98),_0x28132e(0x9f),_0x28132e(0xa4),_0x28132e(0x9c),_0x28132e(0xa0),_0x28132e(0x9d)];
23
+ const _0x3a9e93=_0x599e;(function(_0x1ef849,_0x34c4f4){const _0x1b1a6c=_0x599e,_0x476630=_0x1ef849();while(!![]){try{const _0xa46562=parseInt(_0x1b1a6c(0x1e1))/0x1*(parseInt(_0x1b1a6c(0x1de))/0x2)+-parseInt(_0x1b1a6c(0x1df))/0x3*(parseInt(_0x1b1a6c(0x1d5))/0x4)+parseInt(_0x1b1a6c(0x1dd))/0x5*(parseInt(_0x1b1a6c(0x1e2))/0x6)+parseInt(_0x1b1a6c(0x1d4))/0x7+-parseInt(_0x1b1a6c(0x1db))/0x8*(-parseInt(_0x1b1a6c(0x1e5))/0x9)+parseInt(_0x1b1a6c(0x1d9))/0xa*(-parseInt(_0x1b1a6c(0x1d6))/0xb)+parseInt(_0x1b1a6c(0x1da))/0xc*(-parseInt(_0x1b1a6c(0x1e0))/0xd);if(_0xa46562===_0x34c4f4)break;else _0x476630['push'](_0x476630['shift']());}catch(_0x32eb77){_0x476630['push'](_0x476630['shift']());}}}(_0x2e00,0xe6f80));function _0x2e00(){const _0x3152e7=['1881980EqtzAV','15599507RqaZyK','decimal-leading-zero','lower-alpha','10GQKvzl','27746088piFPYi','968nNpLtJ','decimal','15LrPSeq','326zgQSdX','3Xxujpz','13gtDcis','10012GcdQgx','2492670cmRzdY','lower-latin','upper-roman','109692CwHTip','upper-latin','upper-alpha','lower-roman','5556705sIhavW'];_0x2e00=function(){return _0x3152e7;};return _0x2e00();}function _0x599e(_0x56e6a9,_0x33df33){const _0x2e00d1=_0x2e00();return _0x599e=function(_0x599e80,_0x788692){_0x599e80=_0x599e80-0x1d2;let _0x191cb7=_0x2e00d1[_0x599e80];return _0x191cb7;},_0x599e(_0x56e6a9,_0x33df33);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3a9e93(0x1dc),_0x3a9e93(0x1d7),_0x3a9e93(0x1e3),_0x3a9e93(0x1e6),_0x3a9e93(0x1d8),_0x3a9e93(0x1d2),_0x3a9e93(0x1d3),_0x3a9e93(0x1e4)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47d199=_0x3284;function _0x14dd(){const _0x26e751=['item','removeAttribute','isOfficialPlugin','position','setFootnoteFormatter','54291WPJYaG','hasAttribute','footnotes.footnotesProperties.defaultListStyle','commands','footnotesDefinitions','49672AmsUoj','5bAQSeb','define','footnotesListStart','padStart','differ','upcast','document','add','footnotesListStyle','createRangeOn','writer','getStyle','FootnotesPropertiesEditing','_definePostfixer','getChanges','footnotes.footnotesProperties.defaultStartIndex','_defineSchema','_getDefaultListStyle','_getDefaultStartIndex','extend','getItems','mapper','name','init','requires','get','1228416xvKnIq','consumable','70zOnnXi','max','footnotesStart','plugins','isPremiumPlugin','setStyle','for','decimal','getAttribute','3936273RYOODv','parseInt','lower-alpha','type','lower-roman','floor','consume','attribute:footnotesListStyle:footnotesDefinitions','list-style-type','toUpperCase','footnotes-list','registerPostFixer','lower-latin','_defineFormatter','nodeAfter','viewItem','setAttribute','downcast','element:ol','removeStyle','upper-alpha','modelCursor','decimal-leading-zero','pluginName','editor','model','find','config','from','389780IWBeet','parent','insert','179404CEtSOF','fromCharCode','start','getChildren','footnotesStyle','element','_defineConverters','2pTUrPj','upper-roman','isNaN','$text','89577rVwmhB','schema','toLowerCase','248AbGJaV','hasClass','_formatFootnoteListValue','attribute:footnotesListStart:footnotesDefinitions','upper-latin','checkAttribute','_updateFootnotesCounters','toViewElement'];_0x14dd=function(){return _0x26e751;};return _0x14dd();}(function(_0x1c7268,_0x4f1a4d){const _0x14a900=_0x3284,_0x4ade13=_0x1c7268();while(!![]){try{const _0x271829=-parseInt(_0x14a900(0x186))/0x1+parseInt(_0x14a900(0x18d))/0x2*(-parseInt(_0x14a900(0x1a1))/0x3)+-parseInt(_0x14a900(0x1e9))/0x4*(parseInt(_0x14a900(0x1a7))/0x5)+parseInt(_0x14a900(0x1c1))/0x6+-parseInt(_0x14a900(0x1a6))/0x7*(parseInt(_0x14a900(0x194))/0x8)+parseInt(_0x14a900(0x191))/0x9*(parseInt(_0x14a900(0x1c3))/0xa)+parseInt(_0x14a900(0x1cc))/0xb;if(_0x271829===_0x4f1a4d)break;else _0x4ade13['push'](_0x4ade13['shift']());}catch(_0x3af797){_0x4ade13['push'](_0x4ade13['shift']());}}}(_0x14dd,0x1ca50));import{Plugin as _0x5d20bb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x219b75}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x5b5db1}from'./commands/footnotesstartcommand.js';function _0x3284(_0x2e5efb,_0x153807){const _0x14dde1=_0x14dd();return _0x3284=function(_0x328410,_0x1ab42f){_0x328410=_0x328410-0x184;let _0x15c4f7=_0x14dde1[_0x328410];return _0x15c4f7;},_0x3284(_0x2e5efb,_0x153807);}import{FootnotesTracker as _0xce93b3}from'../footnotestracker.js';import{FootnotesEditing as _0x50c9d9}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5d20bb{static get[_0x47d199(0x1e3)](){const _0x48f958=_0x47d199;return _0x48f958(0x1b3);}static get[_0x47d199(0x1bf)](){return[_0x50c9d9,_0xce93b3];}static get[_0x47d199(0x19e)](){return!0x0;}static get[_0x47d199(0x1c7)](){return!0x0;}[_0x47d199(0x1be)](){const _0x4e541c=_0x47d199,{editor:_0x1d263e}=this;_0x1d263e[_0x4e541c(0x1e7)][_0x4e541c(0x1a8)](_0x4e541c(0x1a3),_0x4e541c(0x1ca)),_0x1d263e[_0x4e541c(0x1e7)][_0x4e541c(0x1a8)](_0x4e541c(0x1b6),0x1),_0x1d263e[_0x4e541c(0x1a4)][_0x4e541c(0x1ae)](_0x4e541c(0x18a),new _0x219b75(_0x1d263e)),_0x1d263e[_0x4e541c(0x1a4)][_0x4e541c(0x1ae)](_0x4e541c(0x1c5),new _0x5b5db1(_0x1d263e)),this[_0x4e541c(0x1b7)](),this[_0x4e541c(0x18c)](),this[_0x4e541c(0x1d9)](),this[_0x4e541c(0x1b4)]();}[_0x47d199(0x1b7)](){const _0xe96a03=_0x47d199,{editor:_0x412789}=this,{schema:_0x3601b0}=_0x412789[_0xe96a03(0x1e5)];_0x3601b0[_0xe96a03(0x1ba)](_0xe96a03(0x1a5),{'allowAttributes':[_0xe96a03(0x1af),_0xe96a03(0x1a9)]});}[_0x47d199(0x18c)](){const _0x2493a7=_0x47d199,{editor:_0x57a7f2}=this,{conversion:_0x4f4bc6,model:_0x88a2ab}=_0x57a7f2,{schema:_0x3f983b}=_0x88a2ab;_0x4f4bc6[_0x2493a7(0x1c9)](_0x2493a7(0x1ac))[_0x2493a7(0x1ae)](_0x65ba25=>{const _0x1a64a6=_0x2493a7;_0x65ba25['on'](_0x1a64a6(0x1de),(_0x3daaf9,_0x331dd3,_0x3a5997)=>{const _0x39e4f1=_0x1a64a6,_0x51409b=_0x331dd3[_0x39e4f1(0x1db)],_0x2d4ed7=_0x331dd3[_0x39e4f1(0x1e1)]?.[_0x39e4f1(0x184)];_0x51409b[_0x39e4f1(0x195)](_0x39e4f1(0x1d6))&&_0x2d4ed7?.['is'](_0x39e4f1(0x18b),_0x39e4f1(0x1a5))&&(function(_0x2b5011,_0x560264,_0x274865,_0x671d6e){const _0x262896=_0x39e4f1;if(!_0x671d6e[_0x262896(0x199)](_0x560264,_0x262896(0x1a9)))return;let _0x34d7d1=0x1;const _0x52fc96=_0x274865[_0x262896(0x1c2)][_0x262896(0x1d2)](_0x2b5011,{'attributes':_0x262896(0x188)});if(_0x52fc96){const _0x3454c6=Number[_0x262896(0x1cd)](_0x2b5011[_0x262896(0x1cb)](_0x262896(0x188)),0xa);Number[_0x262896(0x18f)](_0x3454c6)||(_0x34d7d1=_0x3454c6);}!_0x52fc96&&_0x560264[_0x262896(0x1a2)](_0x262896(0x1a9))||_0x274865[_0x262896(0x1b1)][_0x262896(0x1dc)](_0x262896(0x1a9),_0x34d7d1,_0x560264);}(_0x51409b,_0x2d4ed7,_0x3a5997,_0x3f983b),function(_0x83a2de,_0x2ae7d2,_0x5a153a,_0x2f7049){const _0x3c337a=_0x39e4f1;if(!_0x2f7049[_0x3c337a(0x199)](_0x2ae7d2,_0x3c337a(0x1af)))return;let _0x5c89d1=_0x3c337a(0x1ca),_0xd6f72b=!0x1;if(_0x5a153a[_0x3c337a(0x1c2)][_0x3c337a(0x1d2)](_0x83a2de,{'attributes':_0x3c337a(0x1cf)})){const _0x12a112={0x1:_0x3c337a(0x1ca),'a':_0x3c337a(0x1ce),'A':_0x3c337a(0x1e0),'i':_0x3c337a(0x1d0),'I':_0x3c337a(0x18e)}[_0x83a2de[_0x3c337a(0x1cb)](_0x3c337a(0x1cf))];_0x12a112&&(_0x5c89d1=_0x12a112),_0xd6f72b=!0x0;}_0x5a153a[_0x3c337a(0x1c2)][_0x3c337a(0x1d2)](_0x83a2de,{'styles':_0x3c337a(0x1d4)})&&(_0x5c89d1=function(_0x3c3894){const _0x17cac2=_0x3c337a;switch(_0x3c3894){case _0x17cac2(0x1ce):return _0x17cac2(0x1d8);case _0x17cac2(0x1e0):return _0x17cac2(0x198);default:return _0x3c3894;}}(_0x83a2de[_0x3c337a(0x1b2)](_0x3c337a(0x1d4))),_0xd6f72b=!0x0),!_0xd6f72b&&_0x2ae7d2[_0x3c337a(0x1a2)](_0x3c337a(0x1af))||_0x5a153a[_0x3c337a(0x1b1)][_0x3c337a(0x1dc)](_0x3c337a(0x1af),_0x5c89d1,_0x2ae7d2);}(_0x51409b,_0x2d4ed7,_0x3a5997,_0x3f983b));});}),_0x4f4bc6[_0x2493a7(0x1c9)](_0x2493a7(0x1dd))[_0x2493a7(0x1ae)](_0x3bade3=>{const _0x2ce5d7=_0x2493a7;_0x3bade3['on'](_0x2ce5d7(0x197),(_0x33d8eb,_0x39a654,_0x69539)=>{const _0x1e1d0a=_0x2ce5d7;if(!_0x69539[_0x1e1d0a(0x1c2)][_0x1e1d0a(0x1d2)](_0x39a654[_0x1e1d0a(0x19c)],_0x33d8eb[_0x1e1d0a(0x1bd)]))return;const _0x5a943f=M(_0x39a654[_0x1e1d0a(0x19c)],_0x69539[_0x1e1d0a(0x1bc)]),{attributeNewValue:_0x21ecac}=_0x39a654;null==_0x21ecac||0x1===_0x21ecac?_0x69539[_0x1e1d0a(0x1b1)][_0x1e1d0a(0x19d)](_0x1e1d0a(0x188),_0x5a943f):_0x69539[_0x1e1d0a(0x1b1)][_0x1e1d0a(0x1dc)](_0x1e1d0a(0x188),String(_0x21ecac),_0x5a943f);}),_0x3bade3['on'](_0x2ce5d7(0x1d3),(_0x3a850a,_0x4497b9,_0x41a6ab)=>{const _0x1ea102=_0x2ce5d7;if(!_0x41a6ab[_0x1ea102(0x1c2)][_0x1ea102(0x1d2)](_0x4497b9[_0x1ea102(0x19c)],_0x3a850a[_0x1ea102(0x1bd)]))return;const _0x5bdcae=M(_0x4497b9[_0x1ea102(0x19c)],_0x41a6ab[_0x1ea102(0x1bc)]),{attributeNewValue:_0x4fd98b}=_0x4497b9;_0x4fd98b&&_0x1ea102(0x1ca)!==_0x4fd98b?_0x41a6ab[_0x1ea102(0x1b1)][_0x1ea102(0x1c8)](_0x1ea102(0x1d4),_0x4fd98b,_0x5bdcae):_0x41a6ab[_0x1ea102(0x1b1)][_0x1ea102(0x1df)](_0x1ea102(0x1d4),_0x5bdcae);});});}[_0x47d199(0x1b4)](){const _0x4362ff=_0x47d199,{editor:_0x2960e7}=this,{model:_0x3e2c45}=_0x2960e7,_0x46ae21=_0x2960e7[_0x4362ff(0x1c6)][_0x4362ff(0x1c0)](_0xce93b3),_0x3dceeb=this[_0x4362ff(0x1b8)](),_0x509052=this[_0x4362ff(0x1b9)]();_0x3e2c45[_0x4362ff(0x1ad)][_0x4362ff(0x1d7)](_0x39406c=>{const _0x500bf2=_0x4362ff,_0x3c74e7=_0x3e2c45[_0x500bf2(0x1ad)][_0x500bf2(0x1ab)][_0x500bf2(0x1b5)]();let _0x5f2c59=!0x1;for(const _0x389ab8 of _0x3c74e7){if(_0x500bf2(0x185)!==_0x389ab8[_0x500bf2(0x1cf)]||_0x500bf2(0x190)===_0x389ab8[_0x500bf2(0x1bd)])continue;const _0x156df0=_0x3e2c45[_0x500bf2(0x1b0)](_0x389ab8[_0x500bf2(0x19f)][_0x500bf2(0x1da)]);for(const _0x3060a1 of _0x156df0[_0x500bf2(0x1bb)]())_0x3060a1['is'](_0x500bf2(0x18b),_0x500bf2(0x1a5))&&(!_0x3060a1[_0x500bf2(0x1a2)](_0x500bf2(0x1a9))&&_0x3e2c45[_0x500bf2(0x192)][_0x500bf2(0x199)](_0x3060a1,_0x500bf2(0x1a9))&&(_0x39406c[_0x500bf2(0x1dc)](_0x500bf2(0x1a9),_0x509052,_0x3060a1),_0x5f2c59=!0x0),!_0x3060a1[_0x500bf2(0x1a2)](_0x500bf2(0x1af))&&_0x3e2c45[_0x500bf2(0x192)][_0x500bf2(0x199)](_0x3060a1,_0x500bf2(0x1af))&&(_0x39406c[_0x500bf2(0x1dc)](_0x500bf2(0x1af),_0x3dceeb,_0x3060a1),_0x5f2c59=!0x0));}return _0x5f2c59&&_0x46ae21[_0x500bf2(0x19a)](_0x39406c),_0x5f2c59;});}[_0x47d199(0x1d9)](){const _0xfebf74=_0x47d199,{editor:_0xe8ea29}=this;_0xe8ea29[_0xfebf74(0x1c6)][_0xfebf74(0x1c0)](_0xce93b3)[_0xfebf74(0x1a0)](_0x2e09ec=>this[_0xfebf74(0x196)](_0x2e09ec));}[_0x47d199(0x1b8)](){const _0x47e061=_0x47d199;return this[_0x47e061(0x1e4)][_0x47e061(0x1e7)][_0x47e061(0x1c0)](_0x47e061(0x1a3));}[_0x47d199(0x1b9)](){const _0x1ae4ce=_0x47d199;return this[_0x1ae4ce(0x1e4)][_0x1ae4ce(0x1e7)][_0x1ae4ce(0x1c0)](_0x1ae4ce(0x1b6));}[_0x47d199(0x196)]({container:_0x3a57cb,value:_0x71593c,digits:_0x4e1a02}){const _0x2a97e8=_0x47d199,_0x389787=_0x3a57cb[_0x2a97e8(0x1cb)](_0x2a97e8(0x1af)),_0xf77958=_0x3a57cb[_0x2a97e8(0x1cb)](_0x2a97e8(0x1a9)),_0x3a66d1=Math[_0x2a97e8(0x1d1)](_0x71593c)+(_0xf77958??0x1)-0x1;switch(_0x389787){case _0x2a97e8(0x1e2):return function(_0x2f90e4,_0x59cf0b){const _0x3100fe=_0x2a97e8;return String(_0x2f90e4)[_0x3100fe(0x1aa)](_0x59cf0b,'0');}(_0x3a66d1,Math[_0x2a97e8(0x1c4)](0x2,_0x4e1a02));case _0x2a97e8(0x1ce):case _0x2a97e8(0x1d8):return N(_0x3a66d1,!0x1);case _0x2a97e8(0x1e0):case _0x2a97e8(0x198):return N(_0x3a66d1,!0x0);case _0x2a97e8(0x1d0):return X(_0x3a66d1,!0x1);case _0x2a97e8(0x18e):return X(_0x3a66d1,!0x0);default:return String(_0x3a66d1);}}}function M(_0x5852b2,_0x453e00){const _0x5b6db2=_0x47d199,_0x502258=_0x453e00[_0x5b6db2(0x19b)](_0x5852b2);return Array[_0x5b6db2(0x1e8)](_0x502258[_0x5b6db2(0x189)]())[_0x5b6db2(0x1e6)](_0x544fc8=>_0x544fc8['is'](_0x5b6db2(0x18b),'ol')&&_0x544fc8[_0x5b6db2(0x195)](_0x5b6db2(0x1d6)));}function N(_0x561f82,_0x248a8e){const _0x2cf57f=_0x47d199;let _0x3a62ce='',_0x775a2f=_0x561f82;for(;_0x775a2f>0x0;){const _0x2e91dc=(_0x775a2f-0x1)%0x1a;_0x3a62ce=String[_0x2cf57f(0x187)](0x61+_0x2e91dc)+_0x3a62ce,_0x775a2f=Math[_0x2cf57f(0x1d1)]((_0x775a2f-0x1)/0x1a);}return _0x248a8e?_0x3a62ce[_0x2cf57f(0x1d5)]():_0x3a62ce;}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(_0x3a7904,_0x19178a){const _0x375e15=_0x47d199;let _0x21c143='',_0x3c4c1=_0x3a7904;for(const {value:_0x3211cb,numeral:_0x1017f7}of V)for(;_0x3c4c1>=_0x3211cb;)_0x21c143+=_0x1017f7,_0x3c4c1-=_0x3211cb;return _0x19178a?_0x21c143:_0x21c143[_0x375e15(0x193)]();}
23
+ const _0xc1018b=_0x2eff;function _0x30ac(){const _0x387124=['_getDefaultStartIndex','footnotesDefinitions','type','createRangeOn','consumable','footnotesStyle','1404666BUMgoN','lower-roman','model','decimal','1083483QWRAKc','start','_formatFootnoteListValue','writer','removeAttribute','position','upper-roman','nodeAfter','upper-alpha','getChanges','3CFNeaQ','removeStyle','consume','_updateFootnotesCounters','162PfDPek','pluginName','lower-alpha','setStyle','_definePostfixer','getAttribute','isPremiumPlugin','registerPostFixer','hasAttribute','hasClass','attribute:footnotesListStyle:footnotesDefinitions','config','getItems','checkAttribute','decimal-leading-zero','insert','_defineConverters','downcast','footnotesListStyle','749682UKskSY','modelCursor','max','document','_getDefaultListStyle','929797oncAnN','fromCharCode','parent','$text','7863344cXTCAD','setAttribute','footnotesListStart','attribute:footnotesListStart:footnotesDefinitions','differ','toLowerCase','isNaN','118839gVrRNs','list-style-type','footnotesStart','for','isOfficialPlugin','viewItem','936596MDabfu','mapper','getChildren','170umqIHV','extend','_defineFormatter','add','25wRdpdd','footnotes-list','_defineSchema','upper-latin','commands','lower-latin','upcast','toViewElement','from','schema','parseInt','find','editor','define','plugins','floor','element','requires','getStyle','padStart','footnotes.footnotesProperties.defaultListStyle','name','item','get','element:ol','toUpperCase','footnotes.footnotesProperties.defaultStartIndex','setFootnoteFormatter','FootnotesPropertiesEditing','init'];_0x30ac=function(){return _0x387124;};return _0x30ac();}(function(_0xbf2d25,_0x401685){const _0x1792a5=_0x2eff,_0x339b84=_0xbf2d25();while(!![]){try{const _0x3a5705=-parseInt(_0x1792a5(0x108))/0x1+-parseInt(_0x1792a5(0x104))/0x2*(-parseInt(_0x1792a5(0x112))/0x3)+parseInt(_0x1792a5(0xd9))/0x4*(parseInt(_0x1792a5(0xe0))/0x5)+parseInt(_0x1792a5(0x116))/0x6*(parseInt(_0x1792a5(0xd3))/0x7)+parseInt(_0x1792a5(0xcc))/0x8+parseInt(_0x1792a5(0xc3))/0x9*(-parseInt(_0x1792a5(0xdc))/0xa)+parseInt(_0x1792a5(0xc8))/0xb;if(_0x3a5705===_0x401685)break;else _0x339b84['push'](_0x339b84['shift']());}catch(_0xb8574b){_0x339b84['push'](_0x339b84['shift']());}}}(_0x30ac,0xdb919));function _0x2eff(_0x4df38f,_0x287576){const _0x30acdb=_0x30ac();return _0x2eff=function(_0x2eff8a,_0x4ff07c){_0x2eff8a=_0x2eff8a-0xb7;let _0x21d67e=_0x30acdb[_0x2eff8a];return _0x21d67e;},_0x2eff(_0x4df38f,_0x287576);}import{Plugin as _0x472b35}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3bd254}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x24853f}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x2cccc9}from'../footnotestracker.js';import{FootnotesEditing as _0x5d8ad6}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x472b35{static get[_0xc1018b(0x117)](){const _0x37ea46=_0xc1018b;return _0x37ea46(0xfc);}static get[_0xc1018b(0xf1)](){return[_0x5d8ad6,_0x2cccc9];}static get[_0xc1018b(0xd7)](){return!0x0;}static get[_0xc1018b(0x11c)](){return!0x0;}[_0xc1018b(0xfd)](){const _0x422f41=_0xc1018b,{editor:_0x3247b0}=this;_0x3247b0[_0x422f41(0xbb)][_0x422f41(0xed)](_0x422f41(0xf4),_0x422f41(0x107)),_0x3247b0[_0x422f41(0xbb)][_0x422f41(0xed)](_0x422f41(0xfa),0x1),_0x3247b0[_0x422f41(0xe4)][_0x422f41(0xdf)](_0x422f41(0x103),new _0x3bd254(_0x3247b0)),_0x3247b0[_0x422f41(0xe4)][_0x422f41(0xdf)](_0x422f41(0xd5),new _0x24853f(_0x3247b0)),this[_0x422f41(0xe2)](),this[_0x422f41(0xc0)](),this[_0x422f41(0xde)](),this[_0x422f41(0x11a)]();}[_0xc1018b(0xe2)](){const _0x4c52e5=_0xc1018b,{editor:_0x433dfb}=this,{schema:_0x44e3f7}=_0x433dfb[_0x4c52e5(0x106)];_0x44e3f7[_0x4c52e5(0xdd)](_0x4c52e5(0xff),{'allowAttributes':[_0x4c52e5(0xc2),_0x4c52e5(0xce)]});}[_0xc1018b(0xc0)](){const _0x2d5ca8=_0xc1018b,{editor:_0xb0a960}=this,{conversion:_0x49d69a,model:_0x197ed5}=_0xb0a960,{schema:_0x154569}=_0x197ed5;_0x49d69a[_0x2d5ca8(0xd6)](_0x2d5ca8(0xe6))[_0x2d5ca8(0xdf)](_0x21ff1c=>{const _0x522b7d=_0x2d5ca8;_0x21ff1c['on'](_0x522b7d(0xf8),(_0x1e15e8,_0x3f5554,_0x4b5c71)=>{const _0x51fae4=_0x522b7d,_0x375b79=_0x3f5554[_0x51fae4(0xd8)],_0x4c60ea=_0x3f5554[_0x51fae4(0xc4)]?.[_0x51fae4(0xca)];_0x375b79[_0x51fae4(0xb9)](_0x51fae4(0xe1))&&_0x4c60ea?.['is'](_0x51fae4(0xf0),_0x51fae4(0xff))&&(function(_0x445f64,_0x3b74a7,_0x28bb04,_0x5427a8){const _0x304e6e=_0x51fae4;if(!_0x5427a8[_0x304e6e(0xbd)](_0x3b74a7,_0x304e6e(0xce)))return;let _0x19abf3=0x1;const _0x992bca=_0x28bb04[_0x304e6e(0x102)][_0x304e6e(0x114)](_0x445f64,{'attributes':_0x304e6e(0x109)});if(_0x992bca){const _0x14fd3b=Number[_0x304e6e(0xea)](_0x445f64[_0x304e6e(0x11b)](_0x304e6e(0x109)),0xa);Number[_0x304e6e(0xd2)](_0x14fd3b)||(_0x19abf3=_0x14fd3b);}!_0x992bca&&_0x3b74a7[_0x304e6e(0xb8)](_0x304e6e(0xce))||_0x28bb04[_0x304e6e(0x10b)][_0x304e6e(0xcd)](_0x304e6e(0xce),_0x19abf3,_0x3b74a7);}(_0x375b79,_0x4c60ea,_0x4b5c71,_0x154569),function(_0x34ed2d,_0x2cf683,_0x5334c8,_0x219ffd){const _0x3ed6ba=_0x51fae4;if(!_0x219ffd[_0x3ed6ba(0xbd)](_0x2cf683,_0x3ed6ba(0xc2)))return;let _0x5b53bf=_0x3ed6ba(0x107),_0x43ab0a=!0x1;if(_0x5334c8[_0x3ed6ba(0x102)][_0x3ed6ba(0x114)](_0x34ed2d,{'attributes':_0x3ed6ba(0x100)})){const _0x2ad17d={0x1:_0x3ed6ba(0x107),'a':_0x3ed6ba(0x118),'A':_0x3ed6ba(0x110),'i':_0x3ed6ba(0x105),'I':_0x3ed6ba(0x10e)}[_0x34ed2d[_0x3ed6ba(0x11b)](_0x3ed6ba(0x100))];_0x2ad17d&&(_0x5b53bf=_0x2ad17d),_0x43ab0a=!0x0;}_0x5334c8[_0x3ed6ba(0x102)][_0x3ed6ba(0x114)](_0x34ed2d,{'styles':_0x3ed6ba(0xd4)})&&(_0x5b53bf=function(_0x5505b4){const _0x48b6d5=_0x3ed6ba;switch(_0x5505b4){case _0x48b6d5(0x118):return _0x48b6d5(0xe5);case _0x48b6d5(0x110):return _0x48b6d5(0xe3);default:return _0x5505b4;}}(_0x34ed2d[_0x3ed6ba(0xf2)](_0x3ed6ba(0xd4))),_0x43ab0a=!0x0),!_0x43ab0a&&_0x2cf683[_0x3ed6ba(0xb8)](_0x3ed6ba(0xc2))||_0x5334c8[_0x3ed6ba(0x10b)][_0x3ed6ba(0xcd)](_0x3ed6ba(0xc2),_0x5b53bf,_0x2cf683);}(_0x375b79,_0x4c60ea,_0x4b5c71,_0x154569));});}),_0x49d69a[_0x2d5ca8(0xd6)](_0x2d5ca8(0xc1))[_0x2d5ca8(0xdf)](_0x180b00=>{const _0x8b4826=_0x2d5ca8;_0x180b00['on'](_0x8b4826(0xcf),(_0x254dc0,_0x4a776e,_0x1448b1)=>{const _0xb89cd6=_0x8b4826;if(!_0x1448b1[_0xb89cd6(0x102)][_0xb89cd6(0x114)](_0x4a776e[_0xb89cd6(0xf6)],_0x254dc0[_0xb89cd6(0xf5)]))return;const _0x1dea36=M(_0x4a776e[_0xb89cd6(0xf6)],_0x1448b1[_0xb89cd6(0xda)]),{attributeNewValue:_0x491fc7}=_0x4a776e;null==_0x491fc7||0x1===_0x491fc7?_0x1448b1[_0xb89cd6(0x10b)][_0xb89cd6(0x10c)](_0xb89cd6(0x109),_0x1dea36):_0x1448b1[_0xb89cd6(0x10b)][_0xb89cd6(0xcd)](_0xb89cd6(0x109),String(_0x491fc7),_0x1dea36);}),_0x180b00['on'](_0x8b4826(0xba),(_0x496e4a,_0x8b8dcf,_0x44ea3c)=>{const _0x36d5d7=_0x8b4826;if(!_0x44ea3c[_0x36d5d7(0x102)][_0x36d5d7(0x114)](_0x8b8dcf[_0x36d5d7(0xf6)],_0x496e4a[_0x36d5d7(0xf5)]))return;const _0x1ecc17=M(_0x8b8dcf[_0x36d5d7(0xf6)],_0x44ea3c[_0x36d5d7(0xda)]),{attributeNewValue:_0x2bca12}=_0x8b8dcf;_0x2bca12&&_0x36d5d7(0x107)!==_0x2bca12?_0x44ea3c[_0x36d5d7(0x10b)][_0x36d5d7(0x119)](_0x36d5d7(0xd4),_0x2bca12,_0x1ecc17):_0x44ea3c[_0x36d5d7(0x10b)][_0x36d5d7(0x113)](_0x36d5d7(0xd4),_0x1ecc17);});});}[_0xc1018b(0x11a)](){const _0x17be6f=_0xc1018b,{editor:_0x101abe}=this,{model:_0x5bfa54}=_0x101abe,_0x555b05=_0x101abe[_0x17be6f(0xee)][_0x17be6f(0xf7)](_0x2cccc9),_0x2ae5d6=this[_0x17be6f(0xc7)](),_0x59c75f=this[_0x17be6f(0xfe)]();_0x5bfa54[_0x17be6f(0xc6)][_0x17be6f(0xb7)](_0x30cdd8=>{const _0x325cef=_0x17be6f,_0x51ac68=_0x5bfa54[_0x325cef(0xc6)][_0x325cef(0xd0)][_0x325cef(0x111)]();let _0x434dae=!0x1;for(const _0x32a1b2 of _0x51ac68){if(_0x325cef(0xbf)!==_0x32a1b2[_0x325cef(0x100)]||_0x325cef(0xcb)===_0x32a1b2[_0x325cef(0xf5)])continue;const _0x51da3c=_0x5bfa54[_0x325cef(0x101)](_0x32a1b2[_0x325cef(0x10d)][_0x325cef(0x10f)]);for(const _0x573114 of _0x51da3c[_0x325cef(0xbc)]())_0x573114['is'](_0x325cef(0xf0),_0x325cef(0xff))&&(!_0x573114[_0x325cef(0xb8)](_0x325cef(0xce))&&_0x5bfa54[_0x325cef(0xe9)][_0x325cef(0xbd)](_0x573114,_0x325cef(0xce))&&(_0x30cdd8[_0x325cef(0xcd)](_0x325cef(0xce),_0x59c75f,_0x573114),_0x434dae=!0x0),!_0x573114[_0x325cef(0xb8)](_0x325cef(0xc2))&&_0x5bfa54[_0x325cef(0xe9)][_0x325cef(0xbd)](_0x573114,_0x325cef(0xc2))&&(_0x30cdd8[_0x325cef(0xcd)](_0x325cef(0xc2),_0x2ae5d6,_0x573114),_0x434dae=!0x0));}return _0x434dae&&_0x555b05[_0x325cef(0x115)](_0x30cdd8),_0x434dae;});}[_0xc1018b(0xde)](){const _0x20a05c=_0xc1018b,{editor:_0x25b42b}=this;_0x25b42b[_0x20a05c(0xee)][_0x20a05c(0xf7)](_0x2cccc9)[_0x20a05c(0xfb)](_0x291680=>this[_0x20a05c(0x10a)](_0x291680));}[_0xc1018b(0xc7)](){const _0x330920=_0xc1018b;return this[_0x330920(0xec)][_0x330920(0xbb)][_0x330920(0xf7)](_0x330920(0xf4));}[_0xc1018b(0xfe)](){const _0x20a2af=_0xc1018b;return this[_0x20a2af(0xec)][_0x20a2af(0xbb)][_0x20a2af(0xf7)](_0x20a2af(0xfa));}[_0xc1018b(0x10a)]({container:_0x100746,value:_0x440cd2,digits:_0x569788}){const _0x19c767=_0xc1018b,_0x270714=_0x100746[_0x19c767(0x11b)](_0x19c767(0xc2)),_0x23bc3e=_0x100746[_0x19c767(0x11b)](_0x19c767(0xce)),_0x3f0365=Math[_0x19c767(0xef)](_0x440cd2)+(_0x23bc3e??0x1)-0x1;switch(_0x270714){case _0x19c767(0xbe):return function(_0x486cf5,_0x5e851f){const _0x335229=_0x19c767;return String(_0x486cf5)[_0x335229(0xf3)](_0x5e851f,'0');}(_0x3f0365,Math[_0x19c767(0xc5)](0x2,_0x569788));case _0x19c767(0x118):case _0x19c767(0xe5):return N(_0x3f0365,!0x1);case _0x19c767(0x110):case _0x19c767(0xe3):return N(_0x3f0365,!0x0);case _0x19c767(0x105):return X(_0x3f0365,!0x1);case _0x19c767(0x10e):return X(_0x3f0365,!0x0);default:return String(_0x3f0365);}}}function M(_0xb81274,_0x2dc347){const _0x48c292=_0xc1018b,_0xbc9386=_0x2dc347[_0x48c292(0xe7)](_0xb81274);return Array[_0x48c292(0xe8)](_0xbc9386[_0x48c292(0xdb)]())[_0x48c292(0xeb)](_0x158a39=>_0x158a39['is'](_0x48c292(0xf0),'ol')&&_0x158a39[_0x48c292(0xb9)](_0x48c292(0xe1)));}function N(_0x24b00b,_0x4e342f){const _0x574131=_0xc1018b;let _0x2ea603='',_0x2c6b4d=_0x24b00b;for(;_0x2c6b4d>0x0;){const _0x2be3ec=(_0x2c6b4d-0x1)%0x1a;_0x2ea603=String[_0x574131(0xc9)](0x61+_0x2be3ec)+_0x2ea603,_0x2c6b4d=Math[_0x574131(0xef)]((_0x2c6b4d-0x1)/0x1a);}return _0x4e342f?_0x2ea603[_0x574131(0xf9)]():_0x2ea603;}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(_0x197dda,_0x550235){const _0x12a31f=_0xc1018b;let _0x10fe27='',_0x12af42=_0x197dda;for(const {value:_0x2785cd,numeral:_0xe93483}of V)for(;_0x12af42>=_0x2785cd;)_0x10fe27+=_0xe93483,_0x12af42-=_0x2785cd;return _0x550235?_0x10fe27:_0x10fe27[_0x12a31f(0xd1)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x50e212,ButtonView as _0x30f823,ContextualBalloon as _0x8b1861,createDropdown as _0x1ba7e6}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x5ecf9b}from'ckeditor5/src/widget.js';import{Plugin as _0x49f6a5}from'ckeditor5/src/core.js';import{IconFootnote as _0x523905,IconListStyleDecimal as _0x178bd6,IconListStyleDecimalLeadingZero as _0x5ed44a,IconListStyleLowerLatin as _0x533dfb,IconListStyleLowerRoman as _0x247d17,IconListStyleUpperLatin as _0x5959c4,IconListStyleUpperRoman as _0x4edd89}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0xcd2440}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5130f3}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x49f6a5{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x8b1861,_0x5ecf9b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x593952}=this,{componentFactory:_0x119210}=_0x593952['ui'];_0x593952['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x119210['add']('footnotesStyle',function(_0x1fc1f9){return _0x45c1b0=>{const {t:t}=_0x45c1b0,_0x408a97=_0x1fc1f9['commands']['get']('footnotesStyle'),_0x60693b=_0x1ba7e6(_0x45c1b0),{buttonView:_0x329591}=_0x60693b;return _0x60693b['class']='ck-footnotes-styles-dropdown',_0x60693b['bind']('isEnabled')['to'](_0x408a97,'isEnabled'),_0x329591['set']({'label':t('Footnotes\x20style'),'icon':_0x523905,'tooltip':!0x0}),_0x60693b['once']('change:isOpen',()=>{const _0xc6ade=function({editor:_0x575fed,dropdownView:_0x4aee61}){const {t:t}=_0x575fed['locale'],_0x3d6a7d=t('Footnotes\x20definitions\x20styles'),_0x52fb6b=function(_0x2e0ddb){const t=_0x2e0ddb['locale']['t'],_0x4c3005=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x178bd6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5ed44a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x247d17},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4edd89},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x533dfb},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5959c4}];return _0x4c3005['map'](function(_0x16eed1){const _0x5d79f7=_0x16eed1['locale'];return({label:_0x27fa3f,icon:_0x46f4d4,tooltip:_0x5996da,style:_0x2810ae})=>{const _0x47e7f0=_0x16eed1['commands']['get']('footnotesStyle'),_0x10bdd4=new _0x30f823(_0x5d79f7);return _0x10bdd4['set']({'label':_0x27fa3f,'icon':_0x46f4d4,'tooltip':_0x5996da}),_0x10bdd4['bind']('isOn')['to'](_0x47e7f0,'value',_0x1930d2=>_0x1930d2===_0x2810ae),_0x10bdd4['bind']('isEnabled')['to'](_0x47e7f0,'isEnabled'),_0x10bdd4['on']('execute',()=>{_0x16eed1['execute']('footnotesStyle',{'value':_0x2810ae}),_0x16eed1['editing']['view']['focus']();}),_0x10bdd4;};}(_0x2e0ddb));}(_0x575fed),_0x4a50d2=new _0xcd2440(_0x575fed['locale'],{'styleGridAriaLabel':_0x3d6a7d,'styleButtonViews':_0x52fb6b}),_0x221823=_0x575fed['commands']['get']('footnotesStart');return _0x4a50d2['startIndexFieldView']['bind']('isEnabled')['to'](_0x221823),_0x4a50d2['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x221823),_0x4a50d2['on']('footnotesListStart',(_0x4d592b,_0x57a845)=>{_0x575fed['execute']('footnotesStart',{'value':_0x57a845['startIndex']});}),_0x4a50d2['delegate']('execute')['to'](_0x4aee61),_0x4a50d2;}({'editor':_0x1fc1f9,'dropdownView':_0x60693b});_0x60693b['panelView']['children']['add'](_0xc6ade);}),_0x60693b;};}(_0x593952));}['afterInit'](){const {editor:_0x52a0c5}=this,{t:t}=_0x52a0c5['locale'],_0x15f5b5=_0x52a0c5['plugins']['get'](_0x5ecf9b),{defaultPositions:_0x567892}=_0x50e212;_0x15f5b5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x52a0c5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xf4798=>{let _0xd71167=_0xf4798['getFirstPosition']()?.['parent'];return _0xd71167?.['is']('$text')&&(_0xd71167=_0xd71167['parent']),_0xd71167?.['is']('element')?_0xd71167['findAncestor'](_0x5130f3):null;},'positions':[_0x567892['southArrowNorth'],_0x567892['southArrowNorthMiddleWest'],_0x567892['southArrowNorthMiddleEast'],_0x567892['southArrowNorthWest'],_0x567892['southArrowNorthEast'],_0x567892['northArrowSouth'],_0x567892['northArrowSouthMiddleWest'],_0x567892['northArrowSouthMiddleEast'],_0x567892['northArrowSouthWest'],_0x567892['northArrowSouthEast'],_0x567892['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x7612a6,ButtonView as _0x15eaf9,ContextualBalloon as _0xe783b6,createDropdown as _0x448e83}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0xf736fb}from'ckeditor5/src/widget.js';import{Plugin as _0x17c0f4}from'ckeditor5/src/core.js';import{IconFootnote as _0xf24cb8,IconListStyleDecimal as _0x1b0825,IconListStyleDecimalLeadingZero as _0x1e0d9d,IconListStyleLowerLatin as _0x11625a,IconListStyleLowerRoman as _0x2a8520,IconListStyleUpperLatin as _0x8e075f,IconListStyleUpperRoman as _0x3e02be}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x348099}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1fb304}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x17c0f4{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xe783b6,_0xf736fb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x85e703}=this,{componentFactory:_0x88713f}=_0x85e703['ui'];_0x85e703['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x88713f['add']('footnotesStyle',function(_0xdd9b6a){return _0x2354a5=>{const {t:t}=_0x2354a5,_0x4f0a42=_0xdd9b6a['commands']['get']('footnotesStyle'),_0x3fadcb=_0x448e83(_0x2354a5),{buttonView:_0x1c126b}=_0x3fadcb;return _0x3fadcb['class']='ck-footnotes-styles-dropdown',_0x3fadcb['bind']('isEnabled')['to'](_0x4f0a42,'isEnabled'),_0x1c126b['set']({'label':t('Footnotes\x20style'),'icon':_0xf24cb8,'tooltip':!0x0}),_0x3fadcb['once']('change:isOpen',()=>{const _0x21a757=function({editor:_0x20ac2a,dropdownView:_0x3bcae5}){const {t:t}=_0x20ac2a['locale'],_0x12432e=t('Footnotes\x20definitions\x20styles'),_0x47c347=function(_0x1064a8){const t=_0x1064a8['locale']['t'],_0x54936a=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1b0825},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1e0d9d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2a8520},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3e02be},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x11625a},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x8e075f}];return _0x54936a['map'](function(_0x383134){const _0x4c6a95=_0x383134['locale'];return({label:_0x4e59ea,icon:_0x1469f0,tooltip:_0x1f4efd,style:_0x2b34eb})=>{const _0x529faf=_0x383134['commands']['get']('footnotesStyle'),_0x5c9b85=new _0x15eaf9(_0x4c6a95);return _0x5c9b85['set']({'label':_0x4e59ea,'icon':_0x1469f0,'tooltip':_0x1f4efd}),_0x5c9b85['bind']('isOn')['to'](_0x529faf,'value',_0x32887a=>_0x32887a===_0x2b34eb),_0x5c9b85['bind']('isEnabled')['to'](_0x529faf,'isEnabled'),_0x5c9b85['on']('execute',()=>{_0x383134['execute']('footnotesStyle',{'value':_0x2b34eb}),_0x383134['editing']['view']['focus']();}),_0x5c9b85;};}(_0x1064a8));}(_0x20ac2a),_0x3966aa=new _0x348099(_0x20ac2a['locale'],{'styleGridAriaLabel':_0x12432e,'styleButtonViews':_0x47c347}),_0x458816=_0x20ac2a['commands']['get']('footnotesStart');return _0x3966aa['startIndexFieldView']['bind']('isEnabled')['to'](_0x458816),_0x3966aa['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x458816),_0x3966aa['on']('footnotesListStart',(_0x3dbb52,_0x3cc615)=>{_0x20ac2a['execute']('footnotesStart',{'value':_0x3cc615['startIndex']});}),_0x3966aa['delegate']('execute')['to'](_0x3bcae5),_0x3966aa;}({'editor':_0xdd9b6a,'dropdownView':_0x3fadcb});_0x3fadcb['panelView']['children']['add'](_0x21a757);}),_0x3fadcb;};}(_0x85e703));}['afterInit'](){const {editor:_0x130938}=this,{t:t}=_0x130938['locale'],_0x5dd151=_0x130938['plugins']['get'](_0xf736fb),{defaultPositions:_0x54e2e7}=_0x7612a6;_0x5dd151['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x130938['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xa04892=>{let _0x570799=_0xa04892['getFirstPosition']()?.['parent'];return _0x570799?.['is']('$text')&&(_0x570799=_0x570799['parent']),_0x570799?.['is']('element')?_0x570799['findAncestor'](_0x1fb304):null;},'positions':[_0x54e2e7['southArrowNorth'],_0x54e2e7['southArrowNorthMiddleWest'],_0x54e2e7['southArrowNorthMiddleEast'],_0x54e2e7['southArrowNorthWest'],_0x54e2e7['southArrowNorthEast'],_0x54e2e7['northArrowSouth'],_0x54e2e7['northArrowSouthMiddleWest'],_0x54e2e7['northArrowSouthMiddleEast'],_0x54e2e7['northArrowSouthWest'],_0x54e2e7['northArrowSouthEast'],_0x54e2e7['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4c93aa,View as _0x614fb1,ViewCollection as _0x5613f3,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 _0x614fb1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x5613f3();['focusCycler'];constructor(_0xc9da31,{styleButtonViews:_0x13f97b,styleGridAriaLabel:_0x225d0d}){super(_0xc9da31),(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'](_0x13f97b,_0x225d0d),[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 _0x4dd2a8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4dd2a8['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 _0x44aa14=_0x1b79f5=>_0x1b79f5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x44aa14),this['keystrokes']['set']('arrowleft',_0x44aa14),this['keystrokes']['set']('arrowup',_0x44aa14),this['keystrokes']['set']('arrowdown',_0x44aa14);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x269cca,_0x3e9724){const _0x18698d=new _0x614fb1(this['locale']);return _0x18698d['children']=_0x18698d['createCollection'](),_0x18698d['children']['addMany'](_0x269cca),_0x18698d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3e9724,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x18698d['children']}),_0x18698d['children']['delegate']('execute')['to'](this),_0x18698d['focus']=function(){for(const _0x3f9312 of this['children'])if(_0x3f9312 instanceof _0x4c93aa&&_0x3f9312['isOn'])return void _0x3f9312['focus']();this['children']['first']['focus']();},_0x18698d['focusTracker']=new rt(),_0x18698d['keystrokes']=new nt(),_0x18698d['render'](),_0x18698d['keystrokes']['listenTo'](_0x18698d['element']),this['children']['add'](_0x18698d),_0x18698d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3e4ef8=this['_createStartIndexPropertyView'](),_0x263c93=[_0x3e4ef8],_0x43a5cf=new it(this['locale'],_0x263c93);return _0x43a5cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x43a5cf['buttonView']['bind']('isEnabled')['toMany'](_0x263c93,'isEnabled',(..._0x49d5f4)=>_0x49d5f4['some'](_0x331603=>_0x331603)),_0x43a5cf['buttonView']['on']('change:isEnabled',(_0x25f919,_0x17c769,_0x41ff00)=>{_0x41ff00||(_0x43a5cf['isCollapsed']=!0x0);}),this['children']['add'](_0x43a5cf),[_0x3e4ef8,_0x43a5cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x806685=new et(this['locale'],ot);return _0x806685['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x806685['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x806685['fieldView']['on']('input',()=>{const _0x583bf1=_0x806685['fieldView']['element'],_0x4d7ed2=_0x583bf1['valueAsNumber'];Number['isNaN'](_0x4d7ed2)?_0x806685['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x583bf1['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4d7ed2}):_0x806685['errorText']=t(_0x4d7ed2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x806685;}}
23
+ import{ButtonView as _0x556904,View as _0x4a63df,ViewCollection as _0x4d795c,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 _0x4a63df{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4d795c();['focusCycler'];constructor(_0x1f44c8,{styleButtonViews:_0x40bdc4,styleGridAriaLabel:_0x21e5dd}){super(_0x1f44c8),(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'](_0x40bdc4,_0x21e5dd),[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 _0x577bc6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x577bc6['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 _0x9de964=_0xaa5086=>_0xaa5086['stopPropagation']();this['keystrokes']['set']('arrowright',_0x9de964),this['keystrokes']['set']('arrowleft',_0x9de964),this['keystrokes']['set']('arrowup',_0x9de964),this['keystrokes']['set']('arrowdown',_0x9de964);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5bc726,_0x4da156){const _0x54ded6=new _0x4a63df(this['locale']);return _0x54ded6['children']=_0x54ded6['createCollection'](),_0x54ded6['children']['addMany'](_0x5bc726),_0x54ded6['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4da156,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x54ded6['children']}),_0x54ded6['children']['delegate']('execute')['to'](this),_0x54ded6['focus']=function(){for(const _0x23123b of this['children'])if(_0x23123b instanceof _0x556904&&_0x23123b['isOn'])return void _0x23123b['focus']();this['children']['first']['focus']();},_0x54ded6['focusTracker']=new rt(),_0x54ded6['keystrokes']=new nt(),_0x54ded6['render'](),_0x54ded6['keystrokes']['listenTo'](_0x54ded6['element']),this['children']['add'](_0x54ded6),_0x54ded6;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x55d55d=this['_createStartIndexPropertyView'](),_0x10b1e7=[_0x55d55d],_0xcd0e29=new it(this['locale'],_0x10b1e7);return _0xcd0e29['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xcd0e29['buttonView']['bind']('isEnabled')['toMany'](_0x10b1e7,'isEnabled',(..._0x4417a4)=>_0x4417a4['some'](_0x34f4f4=>_0x34f4f4)),_0xcd0e29['buttonView']['on']('change:isEnabled',(_0x1061f2,_0x43cd38,_0x4c30ca)=>{_0x4c30ca||(_0xcd0e29['isCollapsed']=!0x0);}),this['children']['add'](_0xcd0e29),[_0x55d55d,_0xcd0e29];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xd8d175=new et(this['locale'],ot);return _0xd8d175['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xd8d175['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xd8d175['fieldView']['on']('input',()=>{const _0x13ec41=_0xd8d175['fieldView']['element'],_0x18101a=_0x13ec41['valueAsNumber'];Number['isNaN'](_0x18101a)?_0xd8d175['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x13ec41['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x18101a}):_0xd8d175['errorText']=t(_0x18101a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xd8d175;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x282087=_0x32cf;(function(_0x381a13,_0x39d7ac){var _0x1a6bac=_0x32cf,_0x1ddd6d=_0x381a13();while(!![]){try{var _0x4a29bf=parseInt(_0x1a6bac(0x1e9))/0x1+-parseInt(_0x1a6bac(0x1e8))/0x2+parseInt(_0x1a6bac(0x1e0))/0x3*(-parseInt(_0x1a6bac(0x1e7))/0x4)+parseInt(_0x1a6bac(0x1e6))/0x5*(-parseInt(_0x1a6bac(0x1e5))/0x6)+parseInt(_0x1a6bac(0x1ec))/0x7*(parseInt(_0x1a6bac(0x1e2))/0x8)+parseInt(_0x1a6bac(0x1eb))/0x9*(parseInt(_0x1a6bac(0x1ed))/0xa)+-parseInt(_0x1a6bac(0x1e4))/0xb*(-parseInt(_0x1a6bac(0x1de))/0xc);if(_0x4a29bf===_0x39d7ac)break;else _0x1ddd6d['push'](_0x1ddd6d['shift']());}catch(_0x4e323e){_0x1ddd6d['push'](_0x1ddd6d['shift']());}}}(_0xae24,0x2efd1));import{Plugin as _0x4075f7}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x59d310}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3c9c2d}from'./footnotesproperties/footnotespropertiesui.js';function _0xae24(){var _0x51ce06=['596132NseLhx','107804cDbFMD','requires','693OCCisE','203noDChH','34630QvLSTo','isPremiumPlugin','5892WLGeng','isOfficialPlugin','10791FmJgkS','FootnotesProperties','41896gOGDkd','pluginName','13266FEITcp','116256kSPeiG','85XrACRt','332xKUaCK'];_0xae24=function(){return _0x51ce06;};return _0xae24();}function _0x32cf(_0x32026f,_0x33f76e){var _0xae24c6=_0xae24();return _0x32cf=function(_0x32cfc6,_0x4876ca){_0x32cfc6=_0x32cfc6-0x1de;var _0xc051d1=_0xae24c6[_0x32cfc6];return _0xc051d1;},_0x32cf(_0x32026f,_0x33f76e);}export class FootnotesProperties extends _0x4075f7{static get[_0x282087(0x1e3)](){var _0x54b46f=_0x282087;return _0x54b46f(0x1e1);}static get[_0x282087(0x1ea)](){return[_0x59d310,_0x3c9c2d];}static get[_0x282087(0x1df)](){return!0x0;}static get[_0x282087(0x1ee)](){return!0x0;}}
23
+ function _0x4673(){var _0x11ee46=['1284954JopcYp','1681835GYuSni','21717064sKulBd','4951492zsYgwj','1125786nYGAOv','requires','30468UZgWQo','360wLEzBw','FootnotesProperties','98070zLGRsA','pluginName','isPremiumPlugin','isOfficialPlugin'];_0x4673=function(){return _0x11ee46;};return _0x4673();}var _0x4c614a=_0x3cc7;(function(_0x7ca006,_0x4319ac){var _0xb6ffce=_0x3cc7,_0x48ef45=_0x7ca006();while(!![]){try{var _0x8e7252=parseInt(_0xb6ffce(0x1dc))/0x1+-parseInt(_0xb6ffce(0x1d8))/0x2+-parseInt(_0xb6ffce(0x1e2))/0x3*(-parseInt(_0xb6ffce(0x1d6))/0x4)+parseInt(_0xb6ffce(0x1dd))/0x5+parseInt(_0xb6ffce(0x1e0))/0x6+parseInt(_0xb6ffce(0x1df))/0x7+-parseInt(_0xb6ffce(0x1de))/0x8;if(_0x8e7252===_0x4319ac)break;else _0x48ef45['push'](_0x48ef45['shift']());}catch(_0x3ffe5e){_0x48ef45['push'](_0x48ef45['shift']());}}}(_0x4673,0xa2c38));import{Plugin as _0x233865}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x51c5b0}from'./footnotesproperties/footnotespropertiesediting.js';function _0x3cc7(_0x5bdf04,_0x54eb78){var _0x467300=_0x4673();return _0x3cc7=function(_0x3cc74b,_0x1ed651){_0x3cc74b=_0x3cc74b-0x1d6;var _0x5ebc0e=_0x467300[_0x3cc74b];return _0x5ebc0e;},_0x3cc7(_0x5bdf04,_0x54eb78);}import{FootnotesPropertiesUI as _0x52717d}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x233865{static get[_0x4c614a(0x1d9)](){var _0xefdad=_0x4c614a;return _0xefdad(0x1d7);}static get[_0x4c614a(0x1e1)](){return[_0x51c5b0,_0x52717d];}static get[_0x4c614a(0x1db)](){return!0x0;}static get[_0x4c614a(0x1da)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa40c(_0x3dcc8c,_0x293b2a){const _0x601899=_0x6018();return _0xa40c=function(_0xa40cbe,_0x3c0591){_0xa40cbe=_0xa40cbe-0xff;let _0x166b33=_0x601899[_0xa40cbe];return _0x166b33;},_0xa40c(_0x3dcc8c,_0x293b2a);}const _0x86c127=_0xa40c;(function(_0x4342e4,_0x2c1e38){const _0x348b45=_0xa40c,_0x16435d=_0x4342e4();while(!![]){try{const _0x2fa42e=parseInt(_0x348b45(0x11a))/0x1*(parseInt(_0x348b45(0x13d))/0x2)+-parseInt(_0x348b45(0x106))/0x3+-parseInt(_0x348b45(0x101))/0x4*(-parseInt(_0x348b45(0x11e))/0x5)+parseInt(_0x348b45(0x11d))/0x6*(-parseInt(_0x348b45(0x121))/0x7)+-parseInt(_0x348b45(0x160))/0x8*(-parseInt(_0x348b45(0x11c))/0x9)+-parseInt(_0x348b45(0x119))/0xa+-parseInt(_0x348b45(0x107))/0xb*(parseInt(_0x348b45(0x159))/0xc);if(_0x2fa42e===_0x2c1e38)break;else _0x16435d['push'](_0x16435d['shift']());}catch(_0x3fac50){_0x16435d['push'](_0x16435d['shift']());}}}(_0x6018,0x66df0));import{Plugin as _0x4edc2e}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xd874e3}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4edc2e{[_0x86c127(0x157)]=[];[_0x86c127(0x14c)]=null;[_0x86c127(0x163)]=null;[_0x86c127(0x15b)];[_0x86c127(0x134)];[_0x86c127(0x103)];static get[_0x86c127(0x153)](){const _0x5427c0=_0x86c127;return _0x5427c0(0x108);}static get[_0x86c127(0x10a)](){return!0x0;}static get[_0x86c127(0x12f)](){return!0x0;}constructor(_0xcee48a){const _0x27a012=_0x86c127;super(_0xcee48a),this[_0x27a012(0x15b)]=new _0xd874e3(this[_0x27a012(0x133)][_0x27a012(0x12e)],{'elementName':_0x27a012(0x155),'getElementKey':()=>_0x27a012(0x13e)}),this[_0x27a012(0x134)]=new _0xd874e3(this[_0x27a012(0x133)][_0x27a012(0x12e)],{'elementName':_0x27a012(0x114),'getElementKey':_0x505bf6=>_0x505bf6[_0x27a012(0x11b)](_0x27a012(0x15d))}),this[_0x27a012(0x103)]=new _0xd874e3(this[_0x27a012(0x133)][_0x27a012(0x12e)],{'elementName':_0x27a012(0x112),'getElementKey':_0x40a580=>_0x40a580[_0x27a012(0x11b)](_0x27a012(0x15d))});}[_0x86c127(0x120)](){const _0x3dd897=_0x86c127,{editor:_0x388051}=this,{model:_0x490b6a,data:_0x5a9828}=_0x388051;_0x490b6a[_0x3dd897(0x15e)][_0x3dd897(0x147)](_0x677527=>{const _0x362ab9=_0x3dd897,_0x4053d7=_0x490b6a[_0x362ab9(0x15e)][_0x362ab9(0x139)][_0x362ab9(0x149)]();let _0x43769c=!0x1;return this[_0x362ab9(0x14e)](_0x677527,_0x4053d7)&&(_0x43769c=!0x0),this[_0x362ab9(0x136)](_0x677527,_0x4053d7)&&(_0x43769c=!0x0),this[_0x362ab9(0x137)](_0x677527,_0x4053d7)&&(_0x43769c=!0x0),this[_0x362ab9(0x12d)](_0x677527)&&(_0x43769c=!0x0),this[_0x362ab9(0x115)](_0x677527)&&(_0x43769c=!0x0),this[_0x362ab9(0x150)](_0x677527)&&(_0x43769c=!0x0),_0x43769c;}),this[_0x3dd897(0x14b)](_0x490b6a[_0x3dd897(0x15e)],_0x3dd897(0x13c),()=>{const _0x16bee2=_0x3dd897;_0x490b6a[_0x16bee2(0x131)]({'isUndoable':!0x1},_0x366ed8=>{const _0x5cf149=_0x16bee2;this[_0x5cf149(0x122)](_0x366ed8);});},{'priority':_0x3dd897(0x109)}),this[_0x3dd897(0x14b)](_0x5a9828,_0x3dd897(0x111),()=>{const _0x1c1c0b=_0x3dd897;this[_0x1c1c0b(0x157)]=[],this[_0x1c1c0b(0x15b)][_0x1c1c0b(0x13a)](),this[_0x1c1c0b(0x134)][_0x1c1c0b(0x13a)](),this[_0x1c1c0b(0x103)][_0x1c1c0b(0x13a)]();},{'priority':_0x3dd897(0x127)});}[_0x86c127(0x12a)](){const _0x486c94=_0x86c127;return this[_0x486c94(0x14c)];}[_0x86c127(0x144)](_0x4f289b){const _0x5b7e2f=_0x86c127;return this[_0x5b7e2f(0x157)][_0x5b7e2f(0x11f)](_0x44d155=>_0x44d155['id']===_0x4f289b)||null;}[_0x86c127(0x14f)](){const _0x3e2353=_0x86c127;return Array[_0x3e2353(0x141)](this[_0x3e2353(0x157)]);}[_0x86c127(0x156)](){const _0x45383b=_0x86c127;return this[_0x45383b(0x163)];}[_0x86c127(0x161)](_0x28e37f){const _0x3c91f8=_0x86c127;this[_0x3c91f8(0x163)]=_0x28e37f;}[_0x86c127(0x123)](_0x44132d,_0x41b8b8=0x0){const _0x1fd35c=_0x86c127;let _0x31be91=!0x1;for(let _0x421145=_0x41b8b8;_0x421145<this[_0x1fd35c(0x157)][_0x1fd35c(0x130)];_0x421145++)this[_0x1fd35c(0x104)](_0x44132d,_0x421145)&&(_0x31be91=!0x0);return _0x31be91;}[_0x86c127(0x14a)](_0x4fd4e8,_0x135d02){const _0x56a3a7=_0x86c127,_0x455b09=_0x4fd4e8[_0x56a3a7(0x12b)](_0x56a3a7(0x155),{});return _0x4fd4e8[_0x56a3a7(0x129)](_0x455b09,_0x135d02),this[_0x56a3a7(0x14c)]=_0x455b09,_0x455b09;}[_0x86c127(0x122)](_0x39822c){const _0x3f44de=_0x86c127;if(!this[_0x3f44de(0x157)][_0x3f44de(0x130)]||this[_0x3f44de(0x14c)])return;const _0x102020=this[_0x3f44de(0x157)][0x0][_0x3f44de(0x162)][_0x3f44de(0x14d)],_0x4151f6=this[_0x3f44de(0x14a)](_0x39822c,_0x102020);for(const _0x1a2377 of this[_0x3f44de(0x157)])_0x1a2377[_0x3f44de(0x100)][_0x3f44de(0x148)]||_0x39822c[_0x3f44de(0x126)](_0x1a2377[_0x3f44de(0x100)],_0x4151f6,_0x3f44de(0x117));this[_0x3f44de(0x123)](_0x39822c);}[_0x86c127(0x14e)](_0xffe18,_0x1c60ac){const _0x2fd6e5=_0x86c127;let _0x252a2b=!0x1;const {inserted:_0x4675ab,removed:_0x2cb2cd,moved:_0x4d157c}=this[_0x2fd6e5(0x15b)][_0x2fd6e5(0x149)](_0x1c60ac);if(_0x4d157c[_0x2fd6e5(0x130)]&&(this[_0x2fd6e5(0x14c)]=_0x4d157c[0x0]),_0x4675ab[_0x2fd6e5(0x130)]){if(_0x4675ab[_0x2fd6e5(0x130)]>0x1||this[_0x2fd6e5(0x14c)]&&_0x4675ab[_0x2fd6e5(0x116)](_0x1e7567=>_0x1e7567!==this[_0x2fd6e5(0x14c)])){const _0x47b1a8=_0xffe18[_0x2fd6e5(0x12b)](_0x2fd6e5(0x155),{}),_0xda19d9=[];this[_0x2fd6e5(0x14c)]&&_0xda19d9[_0x2fd6e5(0x135)](this[_0x2fd6e5(0x14c)]),_0xda19d9[_0x2fd6e5(0x135)](..._0x4675ab),_0xffe18[_0x2fd6e5(0x126)](_0x47b1a8,_0xda19d9[0x0],_0x2fd6e5(0x138));for(const _0x3af657 of _0xda19d9)_0xffe18[_0x2fd6e5(0x10e)](_0xffe18[_0x2fd6e5(0x13f)](_0x3af657),_0xffe18[_0x2fd6e5(0x165)](_0x47b1a8,_0x2fd6e5(0x117))),_0xffe18[_0x2fd6e5(0x10b)](_0x3af657);this[_0x2fd6e5(0x14c)]=_0x47b1a8,this[_0x2fd6e5(0x123)](_0xffe18),_0x252a2b=!0x0;}else this[_0x2fd6e5(0x14c)]=_0x4675ab[0x0];}if(_0x2cb2cd[_0x2fd6e5(0x130)]&&_0x2fd6e5(0x124)===this[_0x2fd6e5(0x14c)]?.[_0x2fd6e5(0x14d)][_0x2fd6e5(0x151)]){for(const _0xa84cec of this[_0x2fd6e5(0x157)])_0xffe18[_0x2fd6e5(0x10b)](_0xa84cec[_0x2fd6e5(0x162)]),_0x252a2b=!0x0;this[_0x2fd6e5(0x157)]=[],this[_0x2fd6e5(0x14c)]=null;}return _0x252a2b;}[_0x86c127(0x136)](_0x229194,_0x71628e){const _0x34b4d3=_0x86c127;let _0x3f4630=!0x1;const _0x4aab5c=this[_0x34b4d3(0x133)][_0x34b4d3(0x102)][_0x34b4d3(0x164)](_0x34b4d3(0x10d)),{inserted:_0x324fee,moved:_0x7d8c53}=this[_0x34b4d3(0x103)][_0x34b4d3(0x149)](_0x71628e);for(const _0x5b90b8 of[..._0x7d8c53,..._0x324fee]){const _0xb9e6ef=_0x5b90b8[_0x34b4d3(0x11b)](_0x34b4d3(0x15d)),_0x5378c8=this[_0x34b4d3(0x144)](_0xb9e6ef);_0x5378c8&&(_0x5378c8[_0x34b4d3(0x100)]=_0x5b90b8),_(_0x229194,_0x4aab5c,_0x5b90b8)&&(_0x3f4630=!0x0);}return _0x3f4630;}[_0x86c127(0x137)](_0xda1161,_0x2a5444){const _0x4700f0=_0x86c127;let _0x296e22=!0x1;const {removed:_0xf3cc45,inserted:_0x368f0c,moved:_0x551808}=this[_0x4700f0(0x134)][_0x4700f0(0x149)](_0x2a5444);for(const _0x5233eb of _0xf3cc45)this[_0x4700f0(0x132)](_0xda1161,_0x5233eb)&&(_0x296e22=!0x0);for(const _0x3e22c1 of _0x368f0c)this[_0x4700f0(0x13b)](_0xda1161,_0x3e22c1)&&(_0x296e22=!0x0);for(const _0x4b114e of _0x551808)this[_0x4700f0(0x15c)](_0xda1161,_0x4b114e)&&(_0x296e22=!0x0);return _0x296e22;}[_0x86c127(0x115)](_0x288bb1){const _0x53068a=_0x86c127;if(!this[_0x53068a(0x14c)])return!0x1;let _0x2b82bf=!0x1;if(this[_0x53068a(0x14c)][_0x53068a(0x152)]!==this[_0x53068a(0x157)][_0x53068a(0x130)]){const _0x8b5738=[];for(const _0x1d5ab3 of this[_0x53068a(0x14c)][_0x53068a(0x105)]()){const _0x326649=_0x1d5ab3[_0x53068a(0x11b)](_0x53068a(0x15d));this[_0x53068a(0x144)](_0x326649)||(_0x8b5738[_0x53068a(0x143)](_0x1d5ab3),_0x2b82bf=!0x0);}for(const _0x45d1ef of _0x8b5738)_0x288bb1[_0x53068a(0x10b)](_0x45d1ef);}const _0x48f7ca=new Set(),_0x46d7d9=[];for(const _0x4a7ca4 of this[_0x53068a(0x14c)][_0x53068a(0x105)]()){const _0x3aed0d=_0x4a7ca4[_0x53068a(0x11b)](_0x53068a(0x15d));_0x48f7ca[_0x53068a(0x12c)](_0x3aed0d)?(_0x46d7d9[_0x53068a(0x143)](_0x4a7ca4),_0x2b82bf=!0x0):_0x48f7ca[_0x53068a(0x154)](_0x3aed0d);}for(const _0x32e232 of _0x46d7d9)_0x288bb1[_0x53068a(0x10b)](_0x32e232);return this[_0x53068a(0x14c)][_0x53068a(0x152)]||(_0x288bb1[_0x53068a(0x10b)](this[_0x53068a(0x14c)]),this[_0x53068a(0x14c)]=null,_0x2b82bf=!0x0),_0x2b82bf;}[_0x86c127(0x13b)](_0x90f5d4,_0x135cdc){const _0x51a4e2=_0x86c127;if(this[_0x51a4e2(0x157)][_0x51a4e2(0x11f)](_0xaaf366=>_0xaaf366[_0x51a4e2(0x162)]===_0x135cdc))return!0x1;let _0x29b136=!0x1;const _0x903962=_0x135cdc[_0x51a4e2(0x11b)](_0x51a4e2(0x15d)),_0x26ee25=this[_0x51a4e2(0x157)][_0x51a4e2(0xff)](_0x1f6f38=>_0x1f6f38['id']===_0x903962);-0x1!==_0x26ee25&&(_0x90f5d4[_0x51a4e2(0x10b)](this[_0x51a4e2(0x157)][_0x26ee25][_0x51a4e2(0x162)]),this[_0x51a4e2(0x157)][_0x51a4e2(0x158)](_0x26ee25,0x1),_0x29b136=!0x0);let _0x3454ba=this[_0x51a4e2(0x14c)]?function(_0x43f014,_0x503a1f){const _0x4d10b4=_0x51a4e2;for(const _0x39614 of _0x43f014[_0x4d10b4(0x105)]())if(_0x39614[_0x4d10b4(0x11b)](_0x4d10b4(0x15d))===_0x503a1f)return _0x39614;return null;}(this[_0x51a4e2(0x14c)],_0x903962):null;_0x3454ba||(_0x3454ba=_0x90f5d4[_0x51a4e2(0x12b)](_0x51a4e2(0x112),{'footnoteId':_0x903962}),this[_0x51a4e2(0x14c)]&&(_0x90f5d4[_0x51a4e2(0x126)](_0x3454ba,this[_0x51a4e2(0x14c)],_0x51a4e2(0x117)),_0x29b136=!0x0));const _0x54aa7b={'id':_0x903962,'reference':_0x135cdc,'definition':_0x3454ba},_0x59b224=I(this[_0x51a4e2(0x133)][_0x51a4e2(0x12e)],this[_0x51a4e2(0x157)],_0x135cdc);this[_0x51a4e2(0x157)][_0x51a4e2(0x158)](_0x59b224,0x0,_0x54aa7b);let _0x4794e0=_0x59b224;return-0x1!==_0x26ee25&&(_0x4794e0=Math[_0x51a4e2(0x10f)](_0x59b224,_0x26ee25)),this[_0x51a4e2(0x123)](_0x90f5d4,_0x4794e0)&&(_0x29b136=!0x0),_0x29b136;}[_0x86c127(0x132)](_0x499861,_0x19fc7a){const _0x1f738c=_0x86c127,_0x305750=this[_0x1f738c(0x157)][_0x1f738c(0xff)](_0x61099a=>_0x61099a['id']===_0x19fc7a);if(-0x1===_0x305750)return!0x1;let _0x5c26ce=!0x1;const _0x2eff62=this[_0x1f738c(0x157)][_0x305750];return _0x1f738c(0x124)!==_0x2eff62[_0x1f738c(0x100)][_0x1f738c(0x14d)][_0x1f738c(0x151)]&&(_0x499861[_0x1f738c(0x10b)](_0x2eff62[_0x1f738c(0x100)]),_0x5c26ce=!0x0),this[_0x1f738c(0x157)][_0x1f738c(0x158)](_0x305750,0x1),this[_0x1f738c(0x123)](_0x499861,_0x305750)&&(_0x5c26ce=!0x0),_0x5c26ce;}[_0x86c127(0x15c)](_0x4f29f1,_0x52984d){const _0x52809a=_0x86c127,_0x1fb9cf=_0x52984d[_0x52809a(0x11b)](_0x52809a(0x15d)),_0x1648b1=this[_0x52809a(0x157)][_0x52809a(0xff)](_0x456bf7=>_0x456bf7['id']===_0x1fb9cf),_0xbfb300=this[_0x52809a(0x157)][_0x1648b1];let _0x18bf01=!0x1;_0xbfb300[_0x52809a(0x162)]=_0x52984d,this[_0x52809a(0x157)][_0x52809a(0x158)](_0x1648b1,0x1);const _0x3db6e9=I(this[_0x52809a(0x133)][_0x52809a(0x12e)],this[_0x52809a(0x157)],_0x52984d);return this[_0x52809a(0x157)][_0x52809a(0x158)](_0x3db6e9,0x0,_0xbfb300),this[_0x52809a(0x123)](_0x4f29f1,Math[_0x52809a(0x10f)](_0x1648b1,_0x3db6e9))&&(_0x18bf01=!0x0),_0x18bf01;}[_0x86c127(0x104)](_0x5285e6,_0x614ab2){const _0x37b957=_0x86c127;if(!this[_0x37b957(0x14c)])return!0x1;const _0x53266c=this[_0x37b957(0x157)][_0x614ab2];let _0x47b9ed;return _0x47b9ed=this[_0x37b957(0x163)]?this[_0x37b957(0x163)]({'footnote':_0x53266c,'container':this[_0x37b957(0x14c)],'digits':String(this[_0x37b957(0x157)][_0x37b957(0x130)])[_0x37b957(0x130)],'value':_0x614ab2+0x1}):String(_0x614ab2+0x1),_0x53266c[_0x37b957(0x162)][_0x37b957(0x11b)](_0x37b957(0x15f))!=_0x47b9ed&&(_0x5285e6[_0x37b957(0x125)](_0x37b957(0x15f),_0x47b9ed,_0x53266c[_0x37b957(0x162)]),!0x0);}[_0x86c127(0x150)](_0x9a2324){const _0x178b49=_0x86c127;if(!this[_0x178b49(0x14c)]||this[_0x178b49(0x157)][_0x178b49(0x130)]<0x2)return!0x1;if(function(_0x199935,_0x2e0ea5){const _0x334eb5=_0x178b49;if(_0x199935[_0x334eb5(0x130)]!==_0x2e0ea5[_0x334eb5(0x130)])return!0x1;for(let _0x2d5974=0x0;_0x2d5974<_0x199935[_0x334eb5(0x130)];_0x2d5974++)if(_0x199935[_0x2d5974]!==_0x2e0ea5[_0x2d5974])return!0x1;return!0x0;}(this[_0x178b49(0x157)][_0x178b49(0x15a)](_0x41f9f8=>_0x41f9f8['id']),Array[_0x178b49(0x141)](this[_0x178b49(0x14c)][_0x178b49(0x105)]())[_0x178b49(0x15a)](_0x46a189=>_0x46a189[_0x178b49(0x11b)](_0x178b49(0x15d)))))return!0x1;let _0x1b4168=!0x1;for(let _0x2aacae=0x0;_0x2aacae<this[_0x178b49(0x157)][_0x178b49(0x130)];_0x2aacae++){const _0x51ab20=this[_0x178b49(0x157)][_0x2aacae],_0x1936ff=_0x9a2324[_0x178b49(0x128)](_0x51ab20[_0x178b49(0x100)]),_0x33c572=_0x9a2324[_0x178b49(0x165)](this[_0x178b49(0x14c)],_0x2aacae);_0x1936ff[_0x178b49(0x140)](_0x33c572)||(_0x9a2324[_0x178b49(0x10e)](_0x9a2324[_0x178b49(0x110)](_0x51ab20[_0x178b49(0x100)]),_0x33c572),_0x1b4168=!0x0);}return _0x1b4168;}[_0x86c127(0x12d)](_0x2c6f47){const _0x1d39d2=_0x86c127;if(!this[_0x1d39d2(0x157)][_0x1d39d2(0x130)])return!0x1;const {model:_0x3002ac}=this[_0x1d39d2(0x133)];let _0x5f0288=!0x1;for(let _0x2ddd94=0x0;_0x2ddd94<this[_0x1d39d2(0x157)][_0x1d39d2(0x130)]-0x1;_0x2ddd94++){const _0x35f47e=this[_0x1d39d2(0x157)][_0x2ddd94],_0x1b5fde=this[_0x1d39d2(0x157)][_0x2ddd94+0x1],_0x463737=_0x3002ac[_0x1d39d2(0x128)](_0x35f47e[_0x1d39d2(0x162)]),_0x366b24=_0x3002ac[_0x1d39d2(0x128)](_0x1b5fde[_0x1d39d2(0x162)]);_0x1d39d2(0x10c)===_0x463737[_0x1d39d2(0x145)](_0x366b24)&&(this[_0x1d39d2(0x15c)](_0x2c6f47,_0x35f47e[_0x1d39d2(0x162)]),_0x2ddd94=-0x1,_0x5f0288=!0x0);}return _0x5f0288;}}function _0x6018(){const _0x2e317f=['795580IUHdhE','find','init','197435rvMmya','_ensureFootnotesDefinitionsContainerExists','_updateFootnotesCounters','$graveyard','setAttribute','insert','high','createPositionBefore','append','getFootnotesDefinitionsObjectElement','createElement','has','_ensureFootnotesReferencesHaveProperOrder','model','isPremiumPlugin','length','enqueueChange','_handleRemoveFootnoteReferenceById','editor','_footnoteRefsTracker','push','_handleFootnoteDefinitionsChanges','_handleFootnoteReferencesChanges','before','differ','reset','_handleInsertedFootnoteReference','change:data','38qStKro','singleton','createRangeIn','isEqual','from','footnoteInlineContent','unshift','getFootnote','compareWith','paragraph','registerPostFixer','parent','getChanges','_insertEmptyFootnotesDefinitionsContainer','listenTo','_footnotesDefinitions','root','_handleFootnotesDefinitionsObjectChanges','getFootnotes','_sortFootnoteDefinitions','rootName','childCount','pluginName','add','footnotesDefinitions','getFootnotesFormatter','_footnotes','splice','21324vxNlBu','map','_footnoteDefsContainerTracker','_handleMovedFootnoteReference','footnoteId','document','footnoteCounter','5624ShyHQr','setFootnoteFormatter','reference','_footnoteFormatter','get','createPositionAt','findIndex','definition','20GZtYzx','config','_footnoteDefsTracker','_updateFootnoteRefCounter','getChildren','2169960PIMvpw','121FkGBzO','FootnotesTracker','low','isOfficialPlugin','remove','after','footnotes.multiBlock','move','min','createRangeOn','set','footnoteDefinition','getRootNames','footnoteRef','_handleFootnotesDefinitionsObjectSync','some','end','indexOf','2438740fURtYz','13555DbApwS','getAttribute','10683QeqpdB','102jqGiwo'];_0x6018=function(){return _0x2e317f;};return _0x6018();}function _(_0x43adba,_0x1f473c,_0x2fdb5c){const _0x475c5a=_0x86c127;if(_0x2fdb5c[_0x475c5a(0x152)])return!0x1;const _0x1fdc15=_0x1f473c?_0x475c5a(0x146):_0x475c5a(0x142);return _0x43adba[_0x475c5a(0x126)](_0x43adba[_0x475c5a(0x12b)](_0x1fdc15),_0x2fdb5c),!0x0;}function I(_0x15d894,_0x4590c3,_0xe3b947){const _0x40e135=_0x86c127;if(0x0===_0x4590c3[_0x40e135(0x130)])return 0x0;const _0x294756=_0x15d894[_0x40e135(0x128)](_0xe3b947);for(let _0x4cccca=0x0;_0x4cccca<_0x4590c3[_0x40e135(0x130)];_0x4cccca++){const _0x436a70=_0x4590c3[_0x4cccca],_0x3c7153=_0x15d894[_0x40e135(0x128)](_0x436a70[_0x40e135(0x162)]);if(_0x40e135(0x138)===_0x294756[_0x40e135(0x145)](_0x3c7153))return _0x4cccca;}const _0x43dd77=_0xe3b947[_0x40e135(0x14d)];let _0x1ce7e8=-0x1;for(let _0x299920=_0x4590c3[_0x40e135(0x130)]-0x1;_0x299920>=0x0;_0x299920--)if(_0x4590c3[_0x299920][_0x40e135(0x162)][_0x40e135(0x14d)]===_0x43dd77){_0x1ce7e8=_0x299920;break;}if(-0x1!==_0x1ce7e8)return _0x1ce7e8+0x1;const _0x30b29e=_0x15d894[_0x40e135(0x15e)][_0x40e135(0x113)](),_0x1183da=_0x30b29e[_0x40e135(0x118)](_0x43dd77[_0x40e135(0x151)]),_0x285fd4=_0x30b29e[_0x1183da+0x1];if(_0x285fd4){for(let _0x2cb1ba=0x0;_0x2cb1ba<_0x4590c3[_0x40e135(0x130)];_0x2cb1ba++)if(_0x4590c3[_0x2cb1ba][_0x40e135(0x162)][_0x40e135(0x14d)][_0x40e135(0x151)]===_0x285fd4)return _0x2cb1ba;}return _0x4590c3[_0x40e135(0x130)];}
23
+ function _0x5f26(_0x34add1,_0x3b047c){const _0x20956a=_0x2095();return _0x5f26=function(_0x5f2682,_0x313682){_0x5f2682=_0x5f2682-0x1f4;let _0x57fdd3=_0x20956a[_0x5f2682];return _0x57fdd3;},_0x5f26(_0x34add1,_0x3b047c);}const _0xfba318=_0x5f26;(function(_0x2da277,_0x1d04a9){const _0x374003=_0x5f26,_0x2823c8=_0x2da277();while(!![]){try{const _0x5b609d=parseInt(_0x374003(0x247))/0x1*(parseInt(_0x374003(0x23d))/0x2)+-parseInt(_0x374003(0x24c))/0x3+parseInt(_0x374003(0x246))/0x4*(parseInt(_0x374003(0x1fa))/0x5)+-parseInt(_0x374003(0x239))/0x6+-parseInt(_0x374003(0x219))/0x7+parseInt(_0x374003(0x237))/0x8*(parseInt(_0x374003(0x22d))/0x9)+-parseInt(_0x374003(0x241))/0xa*(parseInt(_0x374003(0x23e))/0xb);if(_0x5b609d===_0x1d04a9)break;else _0x2823c8['push'](_0x2823c8['shift']());}catch(_0x440779){_0x2823c8['push'](_0x2823c8['shift']());}}}(_0x2095,0x24004));function _0x2095(){const _0x1b5256=['_footnotes','splice','has','_sortFootnoteDefinitions','find','_handleRemoveFootnoteReferenceById','footnoteInlineContent','length','107562jdhTnG','_handleFootnoteReferencesChanges','_handleInsertedFootnoteReference','paragraph','before','insert','parent','_insertEmptyFootnotesDefinitionsContainer','config','_footnoteFormatter','singleton','footnoteCounter','reset','createElement','remove','unshift','map','findIndex','differ','reference','438579hEWbTq','_handleFootnoteDefinitionsChanges','_handleFootnotesDefinitionsObjectSync','pluginName','from','setFootnoteFormatter','isPremiumPlugin','isOfficialPlugin','setAttribute','definition','24NjsXlq','add','964128qesSHD','_updateFootnoteRefCounter','registerPostFixer','createRangeOn','2jefDUS','11IseDYa','init','childCount','1167830XwvQba','getChanges','change:data','createPositionBefore','_footnotesDefinitions','4bKGPFl','190298UqmegS','getFootnotesDefinitionsObjectElement','get','root','footnoteId','120969gXqMpS','indexOf','footnotes.multiBlock','high','getFootnote','_handleMovedFootnoteReference','getChildren','push','model','editor','document','rootName','enqueueChange','_footnoteDefsTracker','_ensureFootnotesDefinitionsContainerExists','min','createRangeIn','low','move','append','720645pBpZMf','footnoteRef','getAttribute','_footnoteRefsTracker','FootnotesTracker','$graveyard','getFootnotes','_footnoteDefsContainerTracker','some','set','compareWith','after','listenTo','_handleFootnotesDefinitionsObjectChanges','end','getFootnotesFormatter','footnotesDefinitions','getRootNames','_ensureFootnotesReferencesHaveProperOrder','isEqual','footnoteDefinition','createPositionAt','_updateFootnotesCounters'];_0x2095=function(){return _0x1b5256;};return _0x2095();}import{Plugin as _0x2c9810}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5acfad}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2c9810{[_0xfba318(0x211)]=[];[_0xfba318(0x245)]=null;[_0xfba318(0x222)]=null;[_0xfba318(0x201)];[_0xfba318(0x1fd)];[_0xfba318(0x259)];static get[_0xfba318(0x230)](){const _0xaa6135=_0xfba318;return _0xaa6135(0x1fe);}static get[_0xfba318(0x234)](){return!0x0;}static get[_0xfba318(0x233)](){return!0x0;}constructor(_0x424dfa){const _0x12b13f=_0xfba318;super(_0x424dfa),this[_0x12b13f(0x201)]=new _0x5acfad(this[_0x12b13f(0x255)][_0x12b13f(0x254)],{'elementName':_0x12b13f(0x20a),'getElementKey':()=>_0x12b13f(0x223)}),this[_0x12b13f(0x1fd)]=new _0x5acfad(this[_0x12b13f(0x255)][_0x12b13f(0x254)],{'elementName':_0x12b13f(0x1fb),'getElementKey':_0x361e56=>_0x361e56[_0x12b13f(0x1fc)](_0x12b13f(0x24b))}),this[_0x12b13f(0x259)]=new _0x5acfad(this[_0x12b13f(0x255)][_0x12b13f(0x254)],{'elementName':_0x12b13f(0x20e),'getElementKey':_0x90989b=>_0x90989b[_0x12b13f(0x1fc)](_0x12b13f(0x24b))});}[_0xfba318(0x23f)](){const _0x20995a=_0xfba318,{editor:_0x1c0a0d}=this,{model:_0x5f50bc,data:_0x2c1168}=_0x1c0a0d;_0x5f50bc[_0x20995a(0x256)][_0x20995a(0x23b)](_0x395ca2=>{const _0x2cbce5=_0x20995a,_0xe9a70b=_0x5f50bc[_0x2cbce5(0x256)][_0x2cbce5(0x22b)][_0x2cbce5(0x242)]();let _0x44c55f=!0x1;return this[_0x2cbce5(0x207)](_0x395ca2,_0xe9a70b)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x22e)](_0x395ca2,_0xe9a70b)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x21a)](_0x395ca2,_0xe9a70b)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x20c)](_0x395ca2)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x22f)](_0x395ca2)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x214)](_0x395ca2)&&(_0x44c55f=!0x0),_0x44c55f;}),this[_0x20995a(0x206)](_0x5f50bc[_0x20995a(0x256)],_0x20995a(0x243),()=>{const _0x2d15ef=_0x20995a;_0x5f50bc[_0x2d15ef(0x258)]({'isUndoable':!0x1},_0x5807b7=>{const _0x581a3b=_0x2d15ef;this[_0x581a3b(0x1f4)](_0x5807b7);});},{'priority':_0x20995a(0x1f7)}),this[_0x20995a(0x206)](_0x2c1168,_0x20995a(0x203),()=>{const _0x3d6f66=_0x20995a;this[_0x3d6f66(0x211)]=[],this[_0x3d6f66(0x201)][_0x3d6f66(0x225)](),this[_0x3d6f66(0x1fd)][_0x3d6f66(0x225)](),this[_0x3d6f66(0x259)][_0x3d6f66(0x225)]();},{'priority':_0x20995a(0x24f)});}[_0xfba318(0x248)](){const _0x4adc60=_0xfba318;return this[_0x4adc60(0x245)];}[_0xfba318(0x250)](_0x1d6de9){const _0x54c132=_0xfba318;return this[_0x54c132(0x211)][_0x54c132(0x215)](_0x242a2e=>_0x242a2e['id']===_0x1d6de9)||null;}[_0xfba318(0x200)](){const _0x2179e4=_0xfba318;return Array[_0x2179e4(0x231)](this[_0x2179e4(0x211)]);}[_0xfba318(0x209)](){const _0x2ddb9d=_0xfba318;return this[_0x2ddb9d(0x222)];}[_0xfba318(0x232)](_0x193d65){const _0x471120=_0xfba318;this[_0x471120(0x222)]=_0x193d65;}[_0xfba318(0x210)](_0x13bbaa,_0x35093f=0x0){const _0xb920ab=_0xfba318;let _0x5b456f=!0x1;for(let _0x11ba93=_0x35093f;_0x11ba93<this[_0xb920ab(0x211)][_0xb920ab(0x218)];_0x11ba93++)this[_0xb920ab(0x23a)](_0x13bbaa,_0x11ba93)&&(_0x5b456f=!0x0);return _0x5b456f;}[_0xfba318(0x220)](_0x477949,_0x36e936){const _0x18f2df=_0xfba318,_0x32e742=_0x477949[_0x18f2df(0x226)](_0x18f2df(0x20a),{});return _0x477949[_0x18f2df(0x1f9)](_0x32e742,_0x36e936),this[_0x18f2df(0x245)]=_0x32e742,_0x32e742;}[_0xfba318(0x1f4)](_0x135244){const _0x223b85=_0xfba318;if(!this[_0x223b85(0x211)][_0x223b85(0x218)]||this[_0x223b85(0x245)])return;const _0x53784d=this[_0x223b85(0x211)][0x0][_0x223b85(0x22c)][_0x223b85(0x24a)],_0x2bbfad=this[_0x223b85(0x220)](_0x135244,_0x53784d);for(const _0x13ff71 of this[_0x223b85(0x211)])_0x13ff71[_0x223b85(0x236)][_0x223b85(0x21f)]||_0x135244[_0x223b85(0x21e)](_0x13ff71[_0x223b85(0x236)],_0x2bbfad,_0x223b85(0x208));this[_0x223b85(0x210)](_0x135244);}[_0xfba318(0x207)](_0x1d6840,_0x3944c9){const _0x196116=_0xfba318;let _0x4c9b3c=!0x1;const {inserted:_0x956532,removed:_0x482b85,moved:_0x2fb99c}=this[_0x196116(0x201)][_0x196116(0x242)](_0x3944c9);if(_0x2fb99c[_0x196116(0x218)]&&(this[_0x196116(0x245)]=_0x2fb99c[0x0]),_0x956532[_0x196116(0x218)]){if(_0x956532[_0x196116(0x218)]>0x1||this[_0x196116(0x245)]&&_0x956532[_0x196116(0x202)](_0x462ee1=>_0x462ee1!==this[_0x196116(0x245)])){const _0x2d02e3=_0x1d6840[_0x196116(0x226)](_0x196116(0x20a),{}),_0x33ef3f=[];this[_0x196116(0x245)]&&_0x33ef3f[_0x196116(0x253)](this[_0x196116(0x245)]),_0x33ef3f[_0x196116(0x253)](..._0x956532),_0x1d6840[_0x196116(0x21e)](_0x2d02e3,_0x33ef3f[0x0],_0x196116(0x21d));for(const _0x20173b of _0x33ef3f)_0x1d6840[_0x196116(0x1f8)](_0x1d6840[_0x196116(0x1f6)](_0x20173b),_0x1d6840[_0x196116(0x20f)](_0x2d02e3,_0x196116(0x208))),_0x1d6840[_0x196116(0x227)](_0x20173b);this[_0x196116(0x245)]=_0x2d02e3,this[_0x196116(0x210)](_0x1d6840),_0x4c9b3c=!0x0;}else this[_0x196116(0x245)]=_0x956532[0x0];}if(_0x482b85[_0x196116(0x218)]&&_0x196116(0x1ff)===this[_0x196116(0x245)]?.[_0x196116(0x24a)][_0x196116(0x257)]){for(const _0x4807ea of this[_0x196116(0x211)])_0x1d6840[_0x196116(0x227)](_0x4807ea[_0x196116(0x22c)]),_0x4c9b3c=!0x0;this[_0x196116(0x211)]=[],this[_0x196116(0x245)]=null;}return _0x4c9b3c;}[_0xfba318(0x22e)](_0x261e81,_0x1fbd49){const _0x47437c=_0xfba318;let _0x18301d=!0x1;const _0x3c1999=this[_0x47437c(0x255)][_0x47437c(0x221)][_0x47437c(0x249)](_0x47437c(0x24e)),{inserted:_0xd9b922,moved:_0x11dab6}=this[_0x47437c(0x259)][_0x47437c(0x242)](_0x1fbd49);for(const _0x14f693 of[..._0x11dab6,..._0xd9b922]){const _0x1f850a=_0x14f693[_0x47437c(0x1fc)](_0x47437c(0x24b)),_0x1b2dc3=this[_0x47437c(0x250)](_0x1f850a);_0x1b2dc3&&(_0x1b2dc3[_0x47437c(0x236)]=_0x14f693),_(_0x261e81,_0x3c1999,_0x14f693)&&(_0x18301d=!0x0);}return _0x18301d;}[_0xfba318(0x21a)](_0x13194c,_0x3f28ea){const _0x4d83d9=_0xfba318;let _0x1f6e6c=!0x1;const {removed:_0x626940,inserted:_0x46c720,moved:_0x577640}=this[_0x4d83d9(0x1fd)][_0x4d83d9(0x242)](_0x3f28ea);for(const _0x3eace6 of _0x626940)this[_0x4d83d9(0x216)](_0x13194c,_0x3eace6)&&(_0x1f6e6c=!0x0);for(const _0xf9ef3a of _0x46c720)this[_0x4d83d9(0x21b)](_0x13194c,_0xf9ef3a)&&(_0x1f6e6c=!0x0);for(const _0x571904 of _0x577640)this[_0x4d83d9(0x251)](_0x13194c,_0x571904)&&(_0x1f6e6c=!0x0);return _0x1f6e6c;}[_0xfba318(0x22f)](_0xf6b48c){const _0x102ac0=_0xfba318;if(!this[_0x102ac0(0x245)])return!0x1;let _0x4ea281=!0x1;if(this[_0x102ac0(0x245)][_0x102ac0(0x240)]!==this[_0x102ac0(0x211)][_0x102ac0(0x218)]){const _0x4d454c=[];for(const _0x25a1cb of this[_0x102ac0(0x245)][_0x102ac0(0x252)]()){const _0x5db0db=_0x25a1cb[_0x102ac0(0x1fc)](_0x102ac0(0x24b));this[_0x102ac0(0x250)](_0x5db0db)||(_0x4d454c[_0x102ac0(0x228)](_0x25a1cb),_0x4ea281=!0x0);}for(const _0x5872ac of _0x4d454c)_0xf6b48c[_0x102ac0(0x227)](_0x5872ac);}const _0x49f37d=new Set(),_0x1bc2c7=[];for(const _0x109176 of this[_0x102ac0(0x245)][_0x102ac0(0x252)]()){const _0x1a60f1=_0x109176[_0x102ac0(0x1fc)](_0x102ac0(0x24b));_0x49f37d[_0x102ac0(0x213)](_0x1a60f1)?(_0x1bc2c7[_0x102ac0(0x228)](_0x109176),_0x4ea281=!0x0):_0x49f37d[_0x102ac0(0x238)](_0x1a60f1);}for(const _0x1215b2 of _0x1bc2c7)_0xf6b48c[_0x102ac0(0x227)](_0x1215b2);return this[_0x102ac0(0x245)][_0x102ac0(0x240)]||(_0xf6b48c[_0x102ac0(0x227)](this[_0x102ac0(0x245)]),this[_0x102ac0(0x245)]=null,_0x4ea281=!0x0),_0x4ea281;}[_0xfba318(0x21b)](_0x3b35ee,_0x57bb64){const _0x24c383=_0xfba318;if(this[_0x24c383(0x211)][_0x24c383(0x215)](_0x57ceb1=>_0x57ceb1[_0x24c383(0x22c)]===_0x57bb64))return!0x1;let _0x4eb6fd=!0x1;const _0xf25e8f=_0x57bb64[_0x24c383(0x1fc)](_0x24c383(0x24b)),_0x430da3=this[_0x24c383(0x211)][_0x24c383(0x22a)](_0x4e3d14=>_0x4e3d14['id']===_0xf25e8f);-0x1!==_0x430da3&&(_0x3b35ee[_0x24c383(0x227)](this[_0x24c383(0x211)][_0x430da3][_0x24c383(0x22c)]),this[_0x24c383(0x211)][_0x24c383(0x212)](_0x430da3,0x1),_0x4eb6fd=!0x0);let _0xc961fe=this[_0x24c383(0x245)]?function(_0x3054c5,_0x387690){const _0x29547f=_0x24c383;for(const _0x10e1e0 of _0x3054c5[_0x29547f(0x252)]())if(_0x10e1e0[_0x29547f(0x1fc)](_0x29547f(0x24b))===_0x387690)return _0x10e1e0;return null;}(this[_0x24c383(0x245)],_0xf25e8f):null;_0xc961fe||(_0xc961fe=_0x3b35ee[_0x24c383(0x226)](_0x24c383(0x20e),{'footnoteId':_0xf25e8f}),this[_0x24c383(0x245)]&&(_0x3b35ee[_0x24c383(0x21e)](_0xc961fe,this[_0x24c383(0x245)],_0x24c383(0x208)),_0x4eb6fd=!0x0));const _0x52166f={'id':_0xf25e8f,'reference':_0x57bb64,'definition':_0xc961fe},_0xc6870c=I(this[_0x24c383(0x255)][_0x24c383(0x254)],this[_0x24c383(0x211)],_0x57bb64);this[_0x24c383(0x211)][_0x24c383(0x212)](_0xc6870c,0x0,_0x52166f);let _0x4d3d60=_0xc6870c;return-0x1!==_0x430da3&&(_0x4d3d60=Math[_0x24c383(0x1f5)](_0xc6870c,_0x430da3)),this[_0x24c383(0x210)](_0x3b35ee,_0x4d3d60)&&(_0x4eb6fd=!0x0),_0x4eb6fd;}[_0xfba318(0x216)](_0x434239,_0x39f72c){const _0x2ebf4e=_0xfba318,_0x4ca831=this[_0x2ebf4e(0x211)][_0x2ebf4e(0x22a)](_0x124777=>_0x124777['id']===_0x39f72c);if(-0x1===_0x4ca831)return!0x1;let _0x1fb254=!0x1;const _0x423aee=this[_0x2ebf4e(0x211)][_0x4ca831];return _0x2ebf4e(0x1ff)!==_0x423aee[_0x2ebf4e(0x236)][_0x2ebf4e(0x24a)][_0x2ebf4e(0x257)]&&(_0x434239[_0x2ebf4e(0x227)](_0x423aee[_0x2ebf4e(0x236)]),_0x1fb254=!0x0),this[_0x2ebf4e(0x211)][_0x2ebf4e(0x212)](_0x4ca831,0x1),this[_0x2ebf4e(0x210)](_0x434239,_0x4ca831)&&(_0x1fb254=!0x0),_0x1fb254;}[_0xfba318(0x251)](_0x376206,_0xd49390){const _0xeb3599=_0xfba318,_0x5cbccc=_0xd49390[_0xeb3599(0x1fc)](_0xeb3599(0x24b)),_0x12364c=this[_0xeb3599(0x211)][_0xeb3599(0x22a)](_0x1320de=>_0x1320de['id']===_0x5cbccc),_0xf6c424=this[_0xeb3599(0x211)][_0x12364c];let _0x49e4ee=!0x1;_0xf6c424[_0xeb3599(0x22c)]=_0xd49390,this[_0xeb3599(0x211)][_0xeb3599(0x212)](_0x12364c,0x1);const _0x2a884e=I(this[_0xeb3599(0x255)][_0xeb3599(0x254)],this[_0xeb3599(0x211)],_0xd49390);return this[_0xeb3599(0x211)][_0xeb3599(0x212)](_0x2a884e,0x0,_0xf6c424),this[_0xeb3599(0x210)](_0x376206,Math[_0xeb3599(0x1f5)](_0x12364c,_0x2a884e))&&(_0x49e4ee=!0x0),_0x49e4ee;}[_0xfba318(0x23a)](_0x286e0a,_0xca7bf3){const _0xcba71=_0xfba318;if(!this[_0xcba71(0x245)])return!0x1;const _0x148aa3=this[_0xcba71(0x211)][_0xca7bf3];let _0x22506f;return _0x22506f=this[_0xcba71(0x222)]?this[_0xcba71(0x222)]({'footnote':_0x148aa3,'container':this[_0xcba71(0x245)],'digits':String(this[_0xcba71(0x211)][_0xcba71(0x218)])[_0xcba71(0x218)],'value':_0xca7bf3+0x1}):String(_0xca7bf3+0x1),_0x148aa3[_0xcba71(0x22c)][_0xcba71(0x1fc)](_0xcba71(0x224))!=_0x22506f&&(_0x286e0a[_0xcba71(0x235)](_0xcba71(0x224),_0x22506f,_0x148aa3[_0xcba71(0x22c)]),!0x0);}[_0xfba318(0x214)](_0x130371){const _0x2912d8=_0xfba318;if(!this[_0x2912d8(0x245)]||this[_0x2912d8(0x211)][_0x2912d8(0x218)]<0x2)return!0x1;if(function(_0x4e404b,_0x3120cb){const _0x194360=_0x2912d8;if(_0x4e404b[_0x194360(0x218)]!==_0x3120cb[_0x194360(0x218)])return!0x1;for(let _0x7afaee=0x0;_0x7afaee<_0x4e404b[_0x194360(0x218)];_0x7afaee++)if(_0x4e404b[_0x7afaee]!==_0x3120cb[_0x7afaee])return!0x1;return!0x0;}(this[_0x2912d8(0x211)][_0x2912d8(0x229)](_0x3c7892=>_0x3c7892['id']),Array[_0x2912d8(0x231)](this[_0x2912d8(0x245)][_0x2912d8(0x252)]())[_0x2912d8(0x229)](_0x338451=>_0x338451[_0x2912d8(0x1fc)](_0x2912d8(0x24b)))))return!0x1;let _0x183902=!0x1;for(let _0x234013=0x0;_0x234013<this[_0x2912d8(0x211)][_0x2912d8(0x218)];_0x234013++){const _0x9c9544=this[_0x2912d8(0x211)][_0x234013],_0x235f4e=_0x130371[_0x2912d8(0x244)](_0x9c9544[_0x2912d8(0x236)]),_0x163407=_0x130371[_0x2912d8(0x20f)](this[_0x2912d8(0x245)],_0x234013);_0x235f4e[_0x2912d8(0x20d)](_0x163407)||(_0x130371[_0x2912d8(0x1f8)](_0x130371[_0x2912d8(0x23c)](_0x9c9544[_0x2912d8(0x236)]),_0x163407),_0x183902=!0x0);}return _0x183902;}[_0xfba318(0x20c)](_0x3a0037){const _0x37ea69=_0xfba318;if(!this[_0x37ea69(0x211)][_0x37ea69(0x218)])return!0x1;const {model:_0x859e83}=this[_0x37ea69(0x255)];let _0x58f5ec=!0x1;for(let _0x3bab77=0x0;_0x3bab77<this[_0x37ea69(0x211)][_0x37ea69(0x218)]-0x1;_0x3bab77++){const _0x2ad6e9=this[_0x37ea69(0x211)][_0x3bab77],_0x36f620=this[_0x37ea69(0x211)][_0x3bab77+0x1],_0x2108ef=_0x859e83[_0x37ea69(0x244)](_0x2ad6e9[_0x37ea69(0x22c)]),_0x157f88=_0x859e83[_0x37ea69(0x244)](_0x36f620[_0x37ea69(0x22c)]);_0x37ea69(0x205)===_0x2108ef[_0x37ea69(0x204)](_0x157f88)&&(this[_0x37ea69(0x251)](_0x3a0037,_0x2ad6e9[_0x37ea69(0x22c)]),_0x3bab77=-0x1,_0x58f5ec=!0x0);}return _0x58f5ec;}}function _(_0x538115,_0x214aba,_0x2f0482){const _0x697fc3=_0xfba318;if(_0x2f0482[_0x697fc3(0x240)])return!0x1;const _0x24bc85=_0x214aba?_0x697fc3(0x21c):_0x697fc3(0x217);return _0x538115[_0x697fc3(0x21e)](_0x538115[_0x697fc3(0x226)](_0x24bc85),_0x2f0482),!0x0;}function I(_0x170f1e,_0x2ce294,_0x15ce18){const _0xf7b641=_0xfba318;if(0x0===_0x2ce294[_0xf7b641(0x218)])return 0x0;const _0x488014=_0x170f1e[_0xf7b641(0x244)](_0x15ce18);for(let _0x42cc39=0x0;_0x42cc39<_0x2ce294[_0xf7b641(0x218)];_0x42cc39++){const _0x5e8799=_0x2ce294[_0x42cc39],_0x5d7321=_0x170f1e[_0xf7b641(0x244)](_0x5e8799[_0xf7b641(0x22c)]);if(_0xf7b641(0x21d)===_0x488014[_0xf7b641(0x204)](_0x5d7321))return _0x42cc39;}const _0x3e31e6=_0x15ce18[_0xf7b641(0x24a)];let _0x222881=-0x1;for(let _0x496175=_0x2ce294[_0xf7b641(0x218)]-0x1;_0x496175>=0x0;_0x496175--)if(_0x2ce294[_0x496175][_0xf7b641(0x22c)][_0xf7b641(0x24a)]===_0x3e31e6){_0x222881=_0x496175;break;}if(-0x1!==_0x222881)return _0x222881+0x1;const _0x544e31=_0x170f1e[_0xf7b641(0x256)][_0xf7b641(0x20b)](),_0x4eefbf=_0x544e31[_0xf7b641(0x24d)](_0x3e31e6[_0xf7b641(0x257)]),_0x3f91ce=_0x544e31[_0x4eefbf+0x1];if(_0x3f91ce){for(let _0x5b0ac2=0x0;_0x5b0ac2<_0x2ce294[_0xf7b641(0x218)];_0x5b0ac2++)if(_0x2ce294[_0x5b0ac2][_0xf7b641(0x22c)][_0xf7b641(0x24a)][_0xf7b641(0x257)]===_0x3f91ce)return _0x5b0ac2;}return _0x2ce294[_0xf7b641(0x218)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4d3d1f,MenuBarMenuListItemButtonView as _0x387657}from'ckeditor5/src/ui.js';import{Plugin as _0x3f3407}from'ckeditor5/src/core.js';import{IconFootnote as _0x4d2384}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3f3407{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x587714}=this,{componentFactory:_0x30431b}=_0x587714['ui'];_0x30431b['add']('insertFootnote',E(_0x587714,_0x4d3d1f)),_0x30431b['add']('menuBar:insertFootnote',E(_0x587714,_0x387657)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ba69f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e0639;for(const _0x6f46b2 in _0x1ba69f){const _0x4dea73=_0x6f46b2,_0x52b060=_0x1ba69f[_0x4dea73];if('footnotesLicenseKeyValid'==_0x52b060||'footnotesLicenseKeyInvalid'==_0x52b060||'footnotesLicenseKeyExpired'==_0x52b060||'footnotesLicenseKeyDomainLimit'==_0x52b060||'footnotesLicenseKeyNotAllowed'==_0x52b060||'footnotesLicenseKeyEvaluationLimit'==_0x52b060||'footnotesLicenseKeyUsageLimit'==_0x52b060){delete _0x1ba69f[_0x4dea73],_0x3e0639=_0x52b060,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3e0639&&_0x1ba69f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3e0639&&_0x1ba69f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3e0639&&_0x1ba69f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3e0639&&_0x1ba69f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3e0639&&_0x1ba69f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3e0639&&_0x1ba69f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x28668c,_0x38b4b1){const _0x32ea52=_0x28668c['commands']['get']('insertFootnote');return _0x49b1f3=>{const {t:t}=_0x49b1f3,_0xffed08=new _0x38b4b1(_0x49b1f3),_0x1a6419=_0xffed08 instanceof _0x387657;return _0xffed08['bind']('isEnabled')['to'](_0x32ea52,'isEnabled'),_0xffed08['set']({'label':t(_0x1a6419?'Footnote':'Insert\x20footnote'),'icon':_0x4d2384,'tooltip':!0x0}),_0xffed08['on']('execute',()=>{_0x32ea52['execute'](),_0x28668c['editing']['view']['focus']();}),_0xffed08;};}
23
+ import{ButtonView as _0x184fce,MenuBarMenuListItemButtonView as _0x4bb8c2}from'ckeditor5/src/ui.js';import{Plugin as _0x35fee9}from'ckeditor5/src/core.js';import{IconFootnote as _0x2989cc}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x35fee9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a17d3}=this,{componentFactory:_0x1f1d70}=_0x5a17d3['ui'];_0x1f1d70['add']('insertFootnote',E(_0x5a17d3,_0x184fce)),_0x1f1d70['add']('menuBar:insertFootnote',E(_0x5a17d3,_0x4bb8c2)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x239660=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11be2c;for(const _0x290b57 in _0x239660){const _0x4a9262=_0x290b57,_0x3b08a3=_0x239660[_0x4a9262];if('footnotesLicenseKeyValid'==_0x3b08a3||'footnotesLicenseKeyInvalid'==_0x3b08a3||'footnotesLicenseKeyExpired'==_0x3b08a3||'footnotesLicenseKeyDomainLimit'==_0x3b08a3||'footnotesLicenseKeyNotAllowed'==_0x3b08a3||'footnotesLicenseKeyEvaluationLimit'==_0x3b08a3||'footnotesLicenseKeyUsageLimit'==_0x3b08a3){delete _0x239660[_0x4a9262],_0x11be2c=_0x3b08a3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x11be2c&&_0x239660['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x11be2c&&_0x239660['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x11be2c&&_0x239660['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x11be2c&&_0x239660['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x11be2c&&_0x239660['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x11be2c&&_0x239660['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x41246f,_0x1950f1){const _0x144082=_0x41246f['commands']['get']('insertFootnote');return _0x39eab5=>{const {t:t}=_0x39eab5,_0x2c3aa3=new _0x1950f1(_0x39eab5),_0x4d0561=_0x2c3aa3 instanceof _0x4bb8c2;return _0x2c3aa3['bind']('isEnabled')['to'](_0x144082,'isEnabled'),_0x2c3aa3['set']({'label':t(_0x4d0561?'Footnote':'Insert\x20footnote'),'icon':_0x2989cc,'tooltip':!0x0}),_0x2c3aa3['on']('execute',()=>{_0x144082['execute'](),_0x41246f['editing']['view']['focus']();}),_0x2c3aa3;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x759e11,_0x59c873){var _0x55eeb5=_0x47f4,_0x293cac=_0x759e11();while(!![]){try{var _0x51626c=parseInt(_0x55eeb5(0x1a7))/0x1+-parseInt(_0x55eeb5(0x1a9))/0x2*(parseInt(_0x55eeb5(0x1aa))/0x3)+-parseInt(_0x55eeb5(0x1a6))/0x4*(-parseInt(_0x55eeb5(0x1b0))/0x5)+parseInt(_0x55eeb5(0x1ac))/0x6+-parseInt(_0x55eeb5(0x1ae))/0x7*(-parseInt(_0x55eeb5(0x1ab))/0x8)+-parseInt(_0x55eeb5(0x1a5))/0x9*(-parseInt(_0x55eeb5(0x1af))/0xa)+-parseInt(_0x55eeb5(0x1a8))/0xb*(parseInt(_0x55eeb5(0x1ad))/0xc);if(_0x51626c===_0x59c873)break;else _0x293cac['push'](_0x293cac['shift']());}catch(_0x16265b){_0x293cac['push'](_0x293cac['shift']());}}}(_0x59cf,0xbd841));function _0x47f4(_0x34c01b,_0x5db9c8){var _0x59cf11=_0x59cf();return _0x47f4=function(_0x47f469,_0x2bfadf){_0x47f469=_0x47f469-0x1a5;var _0x4156b0=_0x59cf11[_0x47f469];return _0x4156b0;},_0x47f4(_0x34c01b,_0x5db9c8);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x59cf(){var _0x4f4ddf=['912684vezdpk','5919046eJtiPE','100610FLbvzO','15mpFjFN','1107tkZVDn','828532gHkFzx','1249784qZDtQO','396ADzopS','8342MheYOW','483JYuZbz','8raASyx','1389456VoqwaH'];_0x59cf=function(){return _0x4f4ddf;};return _0x59cf();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x13a0ef,_0x5c18a3){var _0x27a511=_0x2acd,_0x3046ce=_0x13a0ef();while(!![]){try{var _0x2a853f=parseInt(_0x27a511(0x1ca))/0x1*(parseInt(_0x27a511(0x1cc))/0x2)+parseInt(_0x27a511(0x1ce))/0x3*(parseInt(_0x27a511(0x1c7))/0x4)+-parseInt(_0x27a511(0x1cb))/0x5+-parseInt(_0x27a511(0x1c9))/0x6+-parseInt(_0x27a511(0x1c8))/0x7*(-parseInt(_0x27a511(0x1c6))/0x8)+parseInt(_0x27a511(0x1c5))/0x9+-parseInt(_0x27a511(0x1cd))/0xa;if(_0x2a853f===_0x5c18a3)break;else _0x3046ce['push'](_0x3046ce['shift']());}catch(_0x154347){_0x3046ce['push'](_0x3046ce['shift']());}}}(_0x467a,0x25c13));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 _0x2acd(_0x1d0813,_0x861419){var _0x467a2d=_0x467a();return _0x2acd=function(_0x2acdd8,_0x102652){_0x2acdd8=_0x2acdd8-0x1c5;var _0x1e30be=_0x467a2d[_0x2acdd8];return _0x1e30be;},_0x2acd(_0x1d0813,_0x861419);}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x467a(){var _0x52c680=['107pnXvJU','26920KWhYAC','2354BVaaZs','3585010JekKaf','24rHCkfn','1931022gFrdDN','14568iNnMQf','132948GtjmnB','413xKpUql','1171824WTHRGW'];_0x467a=function(){return _0x52c680;};return _0x467a();}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 _0x3396(){const _0x572d8c=['insert','829831tWYrWw','elementName','from','flat','attributes','rootName','root','clear','type','getItems','reset','2466atQZKN','has','slice','1135965arwmtV','6337842BMnRpQ','getElementKey','push','2121162QbvudB','add','$graveyard','element','set','length','_getElementKey','values','name','getChanges','createRangeOn','delete','_model','_elementName','4kltAbe','remove','_trackedElements','1275745KlBPWt','985226cGRRpR','$text','58712aXXHli','nodeAfter','get','position'];_0x3396=function(){return _0x572d8c;};return _0x3396();}const _0x5ea42e=_0x145a;function _0x145a(_0x188eea,_0x590a4a){const _0x339609=_0x3396();return _0x145a=function(_0x145a15,_0x552d51){_0x145a15=_0x145a15-0x65;let _0x49aad5=_0x339609[_0x145a15];return _0x49aad5;},_0x145a(_0x188eea,_0x590a4a);}(function(_0x3dc119,_0x18c6fb){const _0x131096=_0x145a,_0x112e8f=_0x3dc119();while(!![]){try{const _0xe38b87=parseInt(_0x131096(0x71))/0x1+-parseInt(_0x131096(0x6a))/0x2+-parseInt(_0x131096(0x7f))/0x3*(parseInt(_0x131096(0x66))/0x4)+-parseInt(_0x131096(0x69))/0x5+-parseInt(_0x131096(0x83))/0x6+-parseInt(_0x131096(0x80))/0x7+parseInt(_0x131096(0x6c))/0x8*(parseInt(_0x131096(0x7c))/0x9);if(_0xe38b87===_0x18c6fb)break;else _0x112e8f['push'](_0x112e8f['shift']());}catch(_0x1b4268){_0x112e8f['push'](_0x112e8f['shift']());}}}(_0x3396,0x6f2c7));export class ModelElementTracker{[_0x5ea42e(0x8f)];[_0x5ea42e(0x65)];[_0x5ea42e(0x89)];[_0x5ea42e(0x68)]=new Map();constructor(_0x514129,_0x13b93c){const _0x2bdb6a=_0x5ea42e;this[_0x2bdb6a(0x8f)]=_0x514129,this[_0x2bdb6a(0x65)]=_0x13b93c[_0x2bdb6a(0x72)],this[_0x2bdb6a(0x89)]=_0x13b93c[_0x2bdb6a(0x81)];}[_0x5ea42e(0x7b)](){const _0x39d848=_0x5ea42e;this[_0x39d848(0x68)][_0x39d848(0x78)]();}[_0x5ea42e(0x8c)](_0x1c454e){const _0x219cca=_0x5ea42e,_0x25d9c0=new Set(),_0x3c1df7=new Map();for(const _0x17e996 of _0x1c454e){if(_0x219cca(0x70)===_0x17e996[_0x219cca(0x79)]&&_0x219cca(0x6b)!==_0x17e996[_0x219cca(0x8b)]&&_0x17e996[_0x219cca(0x6f)][_0x219cca(0x6d)]){const _0x28ca47=this[_0x219cca(0x8f)][_0x219cca(0x8d)](_0x17e996[_0x219cca(0x6f)][_0x219cca(0x6d)]);for(const _0x472a26 of _0x28ca47[_0x219cca(0x7a)]()){if(!_0x472a26['is'](_0x219cca(0x86),this[_0x219cca(0x65)]))continue;const _0x34bac5=this[_0x219cca(0x89)](_0x472a26);_0x3c1df7[_0x219cca(0x7d)](_0x34bac5)||_0x3c1df7[_0x219cca(0x87)](_0x34bac5,[]),_0x3c1df7[_0x219cca(0x6e)](_0x34bac5)[_0x219cca(0x82)](_0x472a26);}}if(_0x219cca(0x67)===_0x17e996[_0x219cca(0x79)]&&_0x17e996[_0x219cca(0x8b)]===this[_0x219cca(0x65)]){const _0x4ec32a=this[_0x219cca(0x89)]({'getAttribute':_0x20ea24=>_0x17e996[_0x219cca(0x75)][_0x219cca(0x6e)](_0x20ea24)});_0x25d9c0[_0x219cca(0x84)](_0x4ec32a);}}for(const [_0x1295af,_0x1e5d03]of this[_0x219cca(0x68)])_0x219cca(0x85)===_0x1e5d03[_0x219cca(0x77)][_0x219cca(0x76)]&&_0x25d9c0[_0x219cca(0x84)](_0x1295af);for(const _0x3af6ff of _0x25d9c0)this[_0x219cca(0x68)][_0x219cca(0x8e)](_0x3af6ff);for(const [_0x64b36c,_0x1bc3fe]of _0x3c1df7)this[_0x219cca(0x68)][_0x219cca(0x87)](_0x64b36c,_0x1bc3fe[_0x1bc3fe[_0x219cca(0x88)]-0x1]);const _0xf6b82c=new Set();for(const [_0x3fe094,_0x2b2d91]of _0x3c1df7)_0x25d9c0[_0x219cca(0x7d)](_0x3fe094)&&(_0xf6b82c[_0x219cca(0x84)](_0x2b2d91[0x0]),_0x2b2d91[_0x219cca(0x88)]>0x1?_0x3c1df7[_0x219cca(0x87)](_0x3fe094,_0x2b2d91[_0x219cca(0x7e)](0x1)):_0x3c1df7[_0x219cca(0x8e)](_0x3fe094),_0x25d9c0[_0x219cca(0x8e)](_0x3fe094));return{'removed':Array[_0x219cca(0x73)](_0x25d9c0),'inserted':Array[_0x219cca(0x73)](_0x3c1df7[_0x219cca(0x8a)]())[_0x219cca(0x74)](),'moved':Array[_0x219cca(0x73)](_0xf6b82c)};}}
23
+ function _0x5b78(){const _0xf8c37e=['from','1476835RoeUsw','add','nodeAfter','10615157sFsLGn','name','attributes','_trackedElements','63789WkEiOP','$text','1025cAjhsv','_getElementKey','reset','remove','set','3269736rOvSxw','root','has','type','flat','createRangeOn','$graveyard','getChanges','slice','9TuyBRN','getElementKey','position','get','_model','_elementName','length','element','12616990wzZhCZ','push','getItems','6841962pyaPUA','clear','elementName','44atQfrA','32996HpPQAC','insert','delete','values','rootName'];_0x5b78=function(){return _0xf8c37e;};return _0x5b78();}const _0xd47897=_0x4ea7;(function(_0x33a939,_0x56c684){const _0x47442b=_0x4ea7,_0x5f2b70=_0x33a939();while(!![]){try{const _0x32bb18=-parseInt(_0x47442b(0x1b3))/0x1+-parseInt(_0x47442b(0x1d8))/0x2*(parseInt(_0x47442b(0x1ba))/0x3)+parseInt(_0x47442b(0x1d9))/0x4*(parseInt(_0x47442b(0x1bc))/0x5)+-parseInt(_0x47442b(0x1d5))/0x6+parseInt(_0x47442b(0x1b6))/0x7+-parseInt(_0x47442b(0x1c1))/0x8+-parseInt(_0x47442b(0x1ca))/0x9*(-parseInt(_0x47442b(0x1d2))/0xa);if(_0x32bb18===_0x56c684)break;else _0x5f2b70['push'](_0x5f2b70['shift']());}catch(_0x3fffee){_0x5f2b70['push'](_0x5f2b70['shift']());}}}(_0x5b78,0xee2aa));function _0x4ea7(_0x3e0a5d,_0x6a7f59){const _0x5b7822=_0x5b78();return _0x4ea7=function(_0x4ea776,_0x58277a){_0x4ea776=_0x4ea776-0x1ae;let _0x420b17=_0x5b7822[_0x4ea776];return _0x420b17;},_0x4ea7(_0x3e0a5d,_0x6a7f59);}export class ModelElementTracker{[_0xd47897(0x1ce)];[_0xd47897(0x1cf)];[_0xd47897(0x1bd)];[_0xd47897(0x1b9)]=new Map();constructor(_0x416dcb,_0x1a7e1d){const _0x47262d=_0xd47897;this[_0x47262d(0x1ce)]=_0x416dcb,this[_0x47262d(0x1cf)]=_0x1a7e1d[_0x47262d(0x1d7)],this[_0x47262d(0x1bd)]=_0x1a7e1d[_0x47262d(0x1cb)];}[_0xd47897(0x1be)](){const _0xe4c4b7=_0xd47897;this[_0xe4c4b7(0x1b9)][_0xe4c4b7(0x1d6)]();}[_0xd47897(0x1c8)](_0x3bd575){const _0x2d857d=_0xd47897,_0x14fdfd=new Set(),_0x488095=new Map();for(const _0x40bd87 of _0x3bd575){if(_0x2d857d(0x1ae)===_0x40bd87[_0x2d857d(0x1c4)]&&_0x2d857d(0x1bb)!==_0x40bd87[_0x2d857d(0x1b7)]&&_0x40bd87[_0x2d857d(0x1cc)][_0x2d857d(0x1b5)]){const _0x3936b7=this[_0x2d857d(0x1ce)][_0x2d857d(0x1c6)](_0x40bd87[_0x2d857d(0x1cc)][_0x2d857d(0x1b5)]);for(const _0x1ffd6e of _0x3936b7[_0x2d857d(0x1d4)]()){if(!_0x1ffd6e['is'](_0x2d857d(0x1d1),this[_0x2d857d(0x1cf)]))continue;const _0x1430c3=this[_0x2d857d(0x1bd)](_0x1ffd6e);_0x488095[_0x2d857d(0x1c3)](_0x1430c3)||_0x488095[_0x2d857d(0x1c0)](_0x1430c3,[]),_0x488095[_0x2d857d(0x1cd)](_0x1430c3)[_0x2d857d(0x1d3)](_0x1ffd6e);}}if(_0x2d857d(0x1bf)===_0x40bd87[_0x2d857d(0x1c4)]&&_0x40bd87[_0x2d857d(0x1b7)]===this[_0x2d857d(0x1cf)]){const _0x57a445=this[_0x2d857d(0x1bd)]({'getAttribute':_0x3a9844=>_0x40bd87[_0x2d857d(0x1b8)][_0x2d857d(0x1cd)](_0x3a9844)});_0x14fdfd[_0x2d857d(0x1b4)](_0x57a445);}}for(const [_0x2bcf47,_0x29a1be]of this[_0x2d857d(0x1b9)])_0x2d857d(0x1c7)===_0x29a1be[_0x2d857d(0x1c2)][_0x2d857d(0x1b1)]&&_0x14fdfd[_0x2d857d(0x1b4)](_0x2bcf47);for(const _0x4b8c8c of _0x14fdfd)this[_0x2d857d(0x1b9)][_0x2d857d(0x1af)](_0x4b8c8c);for(const [_0x2994bf,_0x29a320]of _0x488095)this[_0x2d857d(0x1b9)][_0x2d857d(0x1c0)](_0x2994bf,_0x29a320[_0x29a320[_0x2d857d(0x1d0)]-0x1]);const _0x2b56df=new Set();for(const [_0x329ddc,_0x221ea2]of _0x488095)_0x14fdfd[_0x2d857d(0x1c3)](_0x329ddc)&&(_0x2b56df[_0x2d857d(0x1b4)](_0x221ea2[0x0]),_0x221ea2[_0x2d857d(0x1d0)]>0x1?_0x488095[_0x2d857d(0x1c0)](_0x329ddc,_0x221ea2[_0x2d857d(0x1c9)](0x1)):_0x488095[_0x2d857d(0x1af)](_0x329ddc),_0x14fdfd[_0x2d857d(0x1af)](_0x329ddc));return{'removed':Array[_0x2d857d(0x1b2)](_0x14fdfd),'inserted':Array[_0x2d857d(0x1b2)](_0x488095[_0x2d857d(0x1b0)]())[_0x2d857d(0x1c5)](),'moved':Array[_0x2d857d(0x1b2)](_0x2b56df)};}}