@ckeditor/ckeditor5-footnotes 0.0.0-nightly-next-20251222.0 → 0.0.0-nightly-next-20251223.0

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 _0xf65079}from'ckeditor5/src/core.js';import{isWidget as _0x576776,toWidget as _0x485fbd,toWidgetEditable as _0xdd3326}from'ckeditor5/src/widget.js';import{uid as _0x5441dc}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5be418,ClickObserver as _0x5c0923}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2f79b9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xf74a6f}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xf65079{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2f79b9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d534d}=this;_0x4d534d['config']['define']('footnotes.multiBlock',!0x0),_0x4d534d['commands']['add']('insertFootnote',new _0xf74a6f(_0x4d534d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x47f56c){const _0x6c8ad4=_0x3e42f8([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]),_0x829d3a=0x47a28506,_0x1719ca=0x47a5f9a6^_0x829d3a,_0x2518de=window[_0x3e42f8([0x44,0x61,0x74,0x65])][_0x3e42f8([0x6e,0x6f,0x77])](),_0x4db12a=_0x47f56c[_0x3e42f8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54a7fc=new window[(_0x3e42f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24fbe0=>{_0x4db12a[_0x3e42f8([0x6f,0x6e,0x63,0x65])](_0x3e42f8([0x72,0x65,0x61,0x64,0x79]),_0x24fbe0);}),_0x54c4b8={[_0x3e42f8([0x6b,0x74,0x79])]:_0x3e42f8([0x45,0x43]),[_0x3e42f8([0x75,0x73,0x65])]:_0x3e42f8([0x73,0x69,0x67]),[_0x3e42f8([0x63,0x72,0x76])]:_0x3e42f8([0x50,0x2d,0x32,0x35,0x36]),[_0x3e42f8([0x78])]:_0x3e42f8([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]),[_0x3e42f8([0x79])]:_0x3e42f8([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]),[_0x3e42f8([0x61,0x6c,0x67])]:_0x3e42f8([0x45,0x53,0x32,0x35,0x36])},_0x5c7e55=_0x4db12a[_0x3e42f8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e42f8([0x67,0x65,0x74])](_0x3e42f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x284a5f(){let _0x346f6b,_0x5ef0af=null,_0x3a153b=null;try{if(_0x5c7e55==_0x3e42f8([0x47,0x50,0x4c]))return _0x3e42f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x346f6b=_0x1c0b9a(),!_0x346f6b)return _0x3e42f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x346f6b[_0x3e42f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3a153b=_0x3f153e(_0x346f6b[_0x3e42f8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x346f6b[_0x3e42f8([0x6a,0x74,0x69])])),await _0x2f3ad6()?_0x3259b9()?_0x2b989c()?_0x3e42f8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x555f74()?(_0x346f6b[_0x3e42f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e42f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ef0af=_0x1d6ce9(_0x3e42f8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x346f6b[_0x3e42f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e42f8([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ef0af=_0x1d6ce9(_0x3e42f8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x16efee()):_0x3e42f8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e42f8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e42f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e42f8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2b989c(){const _0x3ccc8e=[_0x3e42f8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e42f8([0x74,0x72,0x69,0x61,0x6c])][_0x3e42f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x346f6b[_0x3e42f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2518de/0x3e8:0xe10*_0x1719ca;return _0x346f6b[_0x3e42f8([0x65,0x78,0x70])]<_0x3ccc8e;}function _0x3259b9(){const _0x3b8f59=_0x346f6b[_0x3e42f8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b8f59&&(!!_0x3b8f59[_0x3e42f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e42f8([0x2a]))||!!_0x3b8f59[_0x3e42f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e42f8([0x46,0x4f,0x4f])));}function _0x555f74(){const _0x2424d5=_0x346f6b[_0x3e42f8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2424d5||0x0==_0x2424d5[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x9148a}=new URL(window[_0x3e42f8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2424d5[_0x3e42f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9148a))return!0x0;const _0x5430c2=_0x9148a[_0x3e42f8([0x73,0x70,0x6c,0x69,0x74])](_0x3e42f8([0x2e]));return _0x2424d5[_0x3e42f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x235ea1=>_0x235ea1[_0x3e42f8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e42f8([0x2a])))[_0x3e42f8([0x6d,0x61,0x70])](_0xb4f0ff=>_0xb4f0ff[_0x3e42f8([0x73,0x70,0x6c,0x69,0x74])](_0x3e42f8([0x2e])))[_0x3e42f8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fde87=>_0x2fde87[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5430c2[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e42f8([0x6d,0x61,0x70])](_0x14a092=>Array(_0x5430c2[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14a092[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e42f8([0x66,0x69,0x6c,0x6c])](_0x14a092[0x0]===_0x3e42f8([0x2a])?_0x3e42f8([0x2a]):'')[_0x3e42f8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14a092))[_0x3e42f8([0x73,0x6f,0x6d,0x65])](_0x54b59a=>_0x5430c2[_0x3e42f8([0x65,0x76,0x65,0x72,0x79])]((_0x3c66ee,_0x328f6a)=>_0x54b59a[_0x328f6a]===_0x3c66ee||_0x54b59a[_0x328f6a]===_0x3e42f8([0x2a])));}function _0x16efee(){return _0x5ef0af&&_0x3a153b?new window[(_0x3e42f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x471388,_0x5e8d1c)=>{_0x5ef0af[_0x3e42f8([0x74,0x68,0x65,0x6e])](_0x471388,_0x5e8d1c),_0x3a153b[_0x3e42f8([0x74,0x68,0x65,0x6e])](_0x473751=>{_0x473751!=_0x3e42f8([0x56,0x61,0x6c,0x69,0x64])&&_0x471388(_0x473751);},_0x5e8d1c);}):_0x5ef0af||_0x3a153b||_0x3e42f8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3f153e(_0x3168ae,_0x4b7b9e){return new window[(_0x3e42f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1322da=>{if(_0x215c28())return _0x1322da(_0x3e42f8([0x56,0x61,0x6c,0x69,0x64]));_0x50b025(),_0x4db12a[_0x3e42f8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e42f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x587d0d=!0x1;const _0x51fb75=_0x5441dc();function _0x333a24(_0x578219){return!!_0x578219&&(typeof _0x578219===_0x3e42f8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x578219===_0x3e42f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x578219[_0x3e42f8([0x74,0x68,0x65,0x6e])]===_0x3e42f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x578219[_0x3e42f8([0x63,0x61,0x74,0x63,0x68])]===_0x3e42f8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5bbfce(_0x541cac){_0x195f33(_0x541cac)[_0x3e42f8([0x74,0x68,0x65,0x6e])](_0x387ce2=>{if(!_0x387ce2||_0x387ce2[_0x3e42f8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e42f8([0x6f,0x6b]))return _0x3e42f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1376e6(_0x9eb0(_0x51fb75+_0x4b7b9e))!=_0x387ce2[_0x3e42f8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e42f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e42f8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e42f8([0x74,0x68,0x65,0x6e])](_0x515b35=>(_0x19aabb(),_0x515b35),()=>{const _0x660f71=_0x402423();return null==_0x660f71?(_0x19aabb(),_0x3e42f8([0x56,0x61,0x6c,0x69,0x64])):_0x3e42f8(_0x2518de-_0x660f71>(0x63ae0106^_0x829d3a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e42f8([0x74,0x68,0x65,0x6e])](_0x1322da)[_0x3e42f8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1322da(_0x3e42f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e6563=0x47946b86^_0x829d3a;function _0x19aabb(){const _0xb5efc2=_0x3e42f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1376e6(_0x9eb0(_0x3168ae)),_0x3d3554=_0x39ff4d(_0x1376e6(window[_0x3e42f8([0x4d,0x61,0x74,0x68])][_0x3e42f8([0x63,0x65,0x69,0x6c])](_0x2518de/_0x2e6563)));window[_0x3e42f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e42f8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb5efc2,_0x3d3554);}function _0x402423(){const _0x3025fa=_0x3e42f8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1376e6(_0x9eb0(_0x3168ae)),_0x4208cc=window[_0x3e42f8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e42f8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3025fa);return _0x4208cc?window[_0x3e42f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39ff4d(_0x4208cc),0x10)*_0x2e6563:null;}function _0x195f33(_0x455093){return new window[(_0x3e42f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b190c,_0x30358f)=>{_0x455093[_0x3e42f8([0x74,0x68,0x65,0x6e])](_0x2b190c,_0x30358f),window[_0x3e42f8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30358f,0x47a351c6^_0x829d3a);});}}_0x4db12a[_0x3e42f8([0x6f,0x6e])](_0x3e42f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c1258,_0x415bef)=>{if(_0x415bef[0x0]!=_0x3168ae)return _0x1322da(_0x3e42f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x415bef[0x1]={..._0x415bef[0x1],[_0x3e42f8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x51fb75};},{[_0x3e42f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e42f8([0x68,0x69,0x67,0x68])}),_0x4db12a[_0x3e42f8([0x6f,0x6e])](_0x3e42f8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x712918=>{_0x333a24(_0x712918[_0x3e42f8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x587d0d=!0x0,_0x5bbfce(_0x712918[_0x3e42f8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e42f8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e42f8([0x6c,0x6f,0x77])}),_0x54a7fc[_0x3e42f8([0x74,0x68,0x65,0x6e])](()=>{_0x587d0d||_0x1322da(_0x3e42f8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x215c28(){return _0x4db12a[_0x3e42f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e42f8([0x76,0x69,0x65,0x77])][_0x3e42f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e42f8([0x61,0x75,0x74,0x6f]);}function _0x50b025(){_0x4db12a[_0x3e42f8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e42f8([0x76,0x69,0x65,0x77])][_0x3e42f8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e42f8([0x61,0x75,0x74,0x6f]);}}function _0x1d6ce9(_0x36b99a){const _0x2579d2=[new window[(_0x3e42f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5385ee=>setTimeout(_0x5385ee,0x47abbbca^_0x829d3a)),_0x54a7fc[_0x3e42f8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e42f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4822dc=>{let _0x494a1f=0x0;_0x4db12a[_0x3e42f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e42f8([0x6f,0x6e])](_0x3e42f8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x541d9b,_0x444b2f)=>{_0x444b2f[0x0][_0x3e42f8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x494a1f++,_0x494a1f==(0x47a280ee^_0x829d3a)&&(_0x4822dc(),_0x541d9b[_0x3e42f8([0x6f,0x66,0x66])]());});}))];return window[_0x3e42f8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e42f8([0x72,0x61,0x63,0x65])](_0x2579d2)[_0x3e42f8([0x74,0x68,0x65,0x6e])](()=>_0x36b99a);}async function _0x53723c(){await _0x54a7fc,_0x4db12a[_0x3e42f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e42f8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x157f30,_0x4db12a[_0x3e42f8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e42f8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x157f30,_0x4db12a[_0x3e42f8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e42f8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x483262(_0xfda174){const _0x5754ad=_0x16ea25();_0x4db12a[_0x5754ad]=_0x3e42f8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xfda174,_0xfda174!=_0x3e42f8([0x56,0x61,0x6c,0x69,0x64])&&_0x53723c();}function _0x16ea25(){const _0x22fa14=window[_0x3e42f8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e42f8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e42f8([0x6e,0x6f,0x77])]())[_0x3e42f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e42f8([0x2e]),'');let _0x38eeef=_0x3e42f8([0x75]);for(let _0x42dd7e=0x0;_0x42dd7e<_0x22fa14[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42dd7e+=0x2){let _0x4285b2=window[_0x3e42f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22fa14[_0x3e42f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42dd7e,_0x42dd7e+0x2));_0x4285b2>=_0x6c8ad4[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4285b2-=_0x6c8ad4[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38eeef+=_0x6c8ad4[_0x4285b2];}return _0x38eeef;}function _0x1c0b9a(){const _0x41ce0b=_0x5c7e55[_0x3e42f8([0x73,0x70,0x6c,0x69,0x74])](_0x3e42f8([0x2e]));if(0x3!=_0x41ce0b[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2be5bf(_0x41ce0b[0x1]);function _0x2be5bf(_0x4b11ae){const _0x241c4a=_0x1b2289(_0x4b11ae);return _0x241c4a&&_0x51b837()?_0x241c4a:null;function _0x51b837(){const _0x31c3e8=_0x241c4a[_0x3e42f8([0x6a,0x74,0x69])],_0x4e5532=window[_0x3e42f8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31c3e8[_0x3e42f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31c3e8[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11c840={..._0x241c4a,[_0x3e42f8([0x6a,0x74,0x69])]:_0x31c3e8[_0x3e42f8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31c3e8[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11c840[_0x3e42f8([0x76,0x63])],_0x9eb0(_0x11c840)==_0x4e5532;}}}async function _0x2f3ad6(){let _0x438b98=!0x0;try{const _0x1708be=_0x5c7e55[_0x3e42f8([0x73,0x70,0x6c,0x69,0x74])](_0x3e42f8([0x2e])),[_0x586b3b,_0x4ae04f,_0x3e324e]=_0x1708be;return _0x5e66dd(_0x586b3b),await _0x87b673(_0x586b3b,_0x4ae04f,_0x3e324e),_0x438b98;}catch{return!0x1;}function _0x5e66dd(_0x15c2ad){const _0x42661d=_0x1b2289(_0x15c2ad);_0x42661d&&_0x42661d[_0x3e42f8([0x61,0x6c,0x67])]==_0x3e42f8([0x45,0x53,0x32,0x35,0x36])||(_0x438b98=!0x1);}async function _0x87b673(_0x426db9,_0x1b84d1,_0x3038b){const _0x109052=window[_0x3e42f8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e42f8([0x66,0x72,0x6f,0x6d])](_0x3d2538(_0x3038b),_0x5df4e3=>_0x5df4e3[_0x3e42f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x52c230=new window[(_0x3e42f8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e42f8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x426db9+_0x3e42f8([0x2e])+_0x1b84d1),_0x1a123f=window[_0x3e42f8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e42f8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a123f)return;const _0xd6be31=await _0x1a123f[_0x3e42f8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e42f8([0x6a,0x77,0x6b]),_0x54c4b8,{[_0x3e42f8([0x6e,0x61,0x6d,0x65])]:_0x3e42f8([0x45,0x43,0x44,0x53,0x41]),[_0x3e42f8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e42f8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e42f8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a123f[_0x3e42f8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e42f8([0x6e,0x61,0x6d,0x65])]:_0x3e42f8([0x45,0x43,0x44,0x53,0x41]),[_0x3e42f8([0x68,0x61,0x73,0x68])]:{[_0x3e42f8([0x6e,0x61,0x6d,0x65])]:_0x3e42f8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd6be31,_0x109052,_0x52c230)||(_0x438b98=!0x1);}}function _0x1b2289(_0x1ab412){return _0x1ab412[_0x3e42f8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e42f8([0x65,0x79]))?JSON[_0x3e42f8([0x70,0x61,0x72,0x73,0x65])](_0x3d2538(_0x1ab412)):null;}function _0x3d2538(_0x4dad58){return window[_0x3e42f8([0x61,0x74,0x6f,0x62])](_0x4dad58[_0x3e42f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e42f8([0x2b]))[_0x3e42f8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e42f8([0x2f])));}function _0x9eb0(_0x490e45){let _0x40097c=0x1505;function _0x37a7be(_0x200167){for(let _0x9742a1=0x0;_0x9742a1<_0x200167[_0x3e42f8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9742a1++){const _0x55b23e=_0x200167[_0x3e42f8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9742a1);_0x40097c=(_0x40097c<<0x5)+_0x40097c+_0x55b23e,_0x40097c&=_0x40097c;}}function _0xd48447(_0x7f8e19){Array[_0x3e42f8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7f8e19)?_0x7f8e19[_0x3e42f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd48447):_0x7f8e19&&typeof _0x7f8e19==_0x3e42f8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e42f8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7f8e19)[_0x3e42f8([0x73,0x6f,0x72,0x74])]()[_0x3e42f8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xec6b91,_0x2aadc5])=>{_0x37a7be(_0xec6b91),_0xd48447(_0x2aadc5);}):_0x37a7be(window[_0x3e42f8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7f8e19));}return _0xd48447(_0x490e45),_0x40097c>>>0x0;}function _0x1376e6(_0x22fb48){return _0x22fb48[_0x3e42f8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e42f8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e42f8([0x30]));}function _0x39ff4d(_0x2fb908){return _0x2fb908[_0x3e42f8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e42f8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e42f8([0x6a,0x6f,0x69,0x6e])]('');}function _0x157f30(){}function _0x3e42f8(_0x4d4d90){return _0x4d4d90['map'](_0x328b5e=>String['fromCharCode'](_0x328b5e))['join']('');}_0x483262(await _0x284a5f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1c72cd){const {plugins:_0x3694c6,editing:_0x395a64,model:_0x290e3b}=this['editor'],_0xc24792=_0x3694c6['get'](_0x2f79b9)['getFootnote'](_0x1c72cd);return!!_0xc24792&&(_0x290e3b['change'](_0x3901f3=>{_0x3901f3['setSelection'](_0x3901f3['createPositionAt'](_0xc24792['definition'],'end'));}),_0x395a64['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2c398b){const {plugins:_0x2857b2,editing:_0x4d95ba,model:_0x46a90c}=this['editor'],_0x2cc0ea=_0x2857b2['get'](_0x2f79b9)['getFootnote'](_0x2c398b);return!!_0x2cc0ea&&(_0x46a90c['change'](_0x11dd49=>{_0x11dd49['setSelection'](_0x2cc0ea['reference'],'on');}),_0x4d95ba['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x22971b}=this['editor']['model'],_0xb411bc=this['editor']['config']['get']('footnotes.multiBlock');_0x22971b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x22971b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x22971b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xb411bc?_0x22971b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x22971b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x22971b['addChildCheck'](_0x772a2a=>{for(const _0x390420 of _0x772a2a)if('footnoteDefinition'===_0x390420['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x30fbe0}=this,{conversion:_0x238254,editing:_0x1b9f58}=_0x30fbe0,{t:t}=_0x30fbe0['locale'];_0x238254['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x467edd,{writer:_0x46dae8,consumable:_0x399fbb})=>{const _0x1dda12=_0x467edd['getChild'](0x0);if(!_0x1dda12||!_0x1dda12['is']('element','a'))return null;const _0x1eda73=_0x1dda12['getAttribute']('href')||'';if(!_0x1eda73['startsWith']('#'))return null;const _0x3b7fcf=_0x1eda73['replace'](/^#/,'');if(!_0x3b7fcf)return null;_0x399fbb['consume'](_0x1dda12,{'name':!0x0,'attributes':['href']});for(const {item:_0x51bd1a}of _0x1b9f58['view']['createRangeIn'](_0x1dda12))_0x51bd1a['is']('$textProxy')?_0x399fbb['consume'](_0x51bd1a['textNode'],{'name':!0x0}):_0x51bd1a['is']('element')&&_0x399fbb['consume'](_0x51bd1a,{'name':!0x0});return _0x46dae8['createElement']('footnoteRef',{'footnoteId':_0x3b7fcf});}}),_0x238254['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5eeabd,{writer:_0x32643b})=>b(_0x5eeabd,_0x32643b)}),_0x238254['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x51517d,{writer:_0x2cadbc})=>{const _0xc0cce5=_0x51517d['getAttribute']('footnoteCounter');return _0x485fbd(b(_0x51517d,_0x2cadbc),_0x2cadbc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xc0cce5)});}});}['_defineDefinitionsConverters'](){const {editor:_0x271e4d}=this,{t:t}=_0x271e4d['locale'],{conversion:_0x102a40}=_0x271e4d;_0x102a40['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x102a40['for']('upcast')['add'](_0x50588a=>{_0x50588a['on']('element:ol',(_0x124c2d,_0x4310d8,_0x533f43)=>{const _0x51a40d=_0x4310d8['viewItem'];if(!_0x51a40d['hasClass']('footnotes-list')||!_0x4310d8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x533f43['consumable']['consume'](_0x51a40d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x30d60c,modelCursor:_0xf00174}=_0x533f43['convertChildren'](_0x4310d8['viewItem'],_0x4310d8['modelCursor']);_0x4310d8['modelRange']=_0x30d60c,_0x4310d8['modelCursor']=_0xf00174;}),_0x50588a['on']('element:hr',(_0x4afe1b,_0x3fe43c,_0x179b26)=>{const _0x115243=_0x3fe43c['viewItem'];_0x115243['hasClass']('footnotes-divider')&&_0x3fe43c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x179b26['consumable']['consume'](_0x115243,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x102a40['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x164473,{writer:_0x36ff90})=>D(_0x36ff90)}),_0x102a40['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x45a039,{writer:_0x2036b8})=>{const _0x42d3ba=D(_0x2036b8,{'data-footnotes-list-label':t('Footnotes')}),_0x442879=_0x485fbd(_0x42d3ba,_0x2036b8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2036b8['setCustomProperty']('footnotesDefinitions',!0x0,_0x442879),_0x442879;}});}['_defineDefinitionConverters'](){const {editor:_0x46360c}=this,{conversion:_0x1cca65,locale:_0x3ee92a}=_0x46360c,_0x40fded=_0x46360c['config']['get']('footnotes.multiBlock');_0x1cca65['for']('upcast')['add'](_0x3317cf=>{_0x3317cf['on']('element:li',(_0x599ec4,_0x2a1672,_0x5f06cc)=>{const _0x38dab3=_0x2a1672['viewItem'];if(!_0x38dab3['hasClass']('footnote-definition')||!_0x38dab3['getAttribute']('id'))return;const _0x189e95=_0x38dab3['parent'];if(!_0x189e95['is']('element','ol')||!_0x189e95['hasClass']('footnotes-list'))return;if(!_0x5f06cc['consumable']['test'](_0x38dab3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4b3dc2=_0x5f06cc['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x38dab3['getAttribute']('id')});if(!_0x5f06cc['safeInsert'](_0x4b3dc2,_0x2a1672['modelCursor']))return;_0x5f06cc['consumable']['consume'](_0x38dab3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x51b3cb=Array['from'](_0x38dab3['getChildren']())['find'](_0xba3ccf=>_0xba3ccf['is']('element')&&_0xba3ccf['hasClass']('footnote-content'));for(const _0x3b924f of _0x38dab3['getChildren']())_0x3b924f['is']('element')&&(_0x5f06cc['consumable']['consume'](_0x3b924f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5f06cc['consumable']['consume'](_0x3b924f,{'name':!0x0,'classes':'footnote-content'}));if(_0x51b3cb){if(_0x40fded)_0x5f06cc['convertChildren'](_0x51b3cb,_0x4b3dc2);else{const _0x47d640=_0x5f06cc['writer']['createElement']('footnoteInlineContent');_0x5f06cc['writer']['insert'](_0x47d640,_0x4b3dc2),_0x5f06cc['convertChildren'](_0x51b3cb,_0x47d640);}}_0x5f06cc['updateConversionResult'](_0x4b3dc2,_0x2a1672);});}),_0x1cca65['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x595b71,{writer:_0x34d943})=>y(_0x595b71,_0x34d943,_0x3ee92a,{'dataPipeline':!0x0})}),_0x1cca65['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x44be5c,{writer:_0x578e5f})=>y(_0x44be5c,_0x578e5f,_0x3ee92a)});}['_defineBogusParagraphConverters'](){const {editor:_0x32c5ba}=this,{conversion:_0x1e65b7}=_0x32c5ba;_0x32c5ba['config']['get']('footnotes.multiBlock')?(_0x1e65b7['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1e65b7['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x32c5ba['model']['document'],'change:data',()=>{!function(_0x424f03,_0x2090bd){const _0x35460c=_0x424f03['document']['differ'],_0x557e5c=new Set();for(const _0x21f6d9 of _0x35460c['getChanges']()){const _0x56b183='attribute'==_0x21f6d9['type']?_0x21f6d9['range']['start']['parent']:_0x21f6d9['position']['parent'];_0x56b183['is']('element','footnoteDefinition')&&_0x557e5c['add'](_0x56b183);}for(const _0x1dc451 of _0x557e5c['values']()){const _0x309272=Array['from'](_0x1dc451['getChildren']())['filter'](_0x412c53=>v(_0x412c53,_0x2090bd['mapper']));for(const _0xba3ec0 of _0x309272)_0x2090bd['reconvertItem'](_0xba3ec0);}}(_0x32c5ba['model'],_0x32c5ba['editing']);})):(_0x1e65b7['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1e65b7['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2925a2,{writer:_0x4b397a})=>{const _0x43e0b7=_0x4b397a['createContainerElement']('span');return _0x4b397a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x43e0b7),_0x43e0b7;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1880c0}=this,{editing:_0x2c4e1d,t:t}=_0x1880c0,_0x22e98d=_0x1880c0['model']['document']['selection'];_0x1880c0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1880c0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2c4e1d['view']['document'],'enter',(_0x491f8f,_0x228ce6)=>{const _0x262820=function(_0x326844){const _0xf1df5f=_0x326844['getSelectedElement']();if(_0xf1df5f?.['is']('element','footnoteRef'))return _0xf1df5f;return null;}(_0x22e98d);if(_0x262820){const _0x52edea=_0x262820['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x52edea),_0x228ce6['preventDefault'](),_0x491f8f['stop']();}},{'context':_0x576776});}['_defineClickHandlers'](){const {editor:_0x48eee3}=this,{editing:_0x461487}=_0x48eee3;_0x48eee3['editing']['view']['addObserver'](_0x5be418),_0x48eee3['editing']['view']['addObserver'](_0x5c0923);let _0xd8feab=!0x1;this['listenTo'](_0x461487['view']['document'],'pointerdown',(_0x261a59,_0x514846)=>{const {target:_0x57061b}=_0x514846,_0x539ac6=_0x461487['view']['document']['selection'];_0xd8feab=!!(_0x57061b?.['is']('element','a')&&_0x57061b['parent']?.['is']('element','sup')&&_0x57061b['parent']['hasClass']('footnote'))&&_0x539ac6['getSelectedElement']()===_0x57061b['parent'];},{'priority':'high'}),this['listenTo'](_0x461487['view']['document'],'click',(_0xd10ef8,_0x18396c)=>{const {target:_0x1c0539}=_0x18396c;if(!_0x1c0539?.['is']('element','a'))return;if(_0x1c0539['parent']?.['is']('element','sup')&&_0x1c0539['parent']['hasClass']('footnote')&&!_0xd8feab)return void _0x18396c['preventDefault']();let _0x4c77d2=_0x1c0539['getAttribute']('href');if(!_0x4c77d2?.['startsWith']('#'))return;_0x4c77d2=_0x4c77d2['slice'](0x1);let _0x31d38f=!0x1;(_0x4c77d2['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4c77d2['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4c77d2))&&(_0x31d38f=!0x0),_0x31d38f&&(_0x18396c['preventDefault'](),_0xd10ef8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5e7aea}={}){return(_0xcb1726,{writer:_0x490d2a})=>{if(!g(_0xcb1726))return null;if(!_0x5e7aea)return _0x490d2a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3667f4=_0x490d2a['createContainerElement']('p');return _0x490d2a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3667f4),_0x3667f4;};}function g(_0x2ee3fe){const {parent:_0x52385e}=_0x2ee3fe;if(!_0x52385e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x52385e['childCount'])return!0x1;for(const _0x521b73 of _0x2ee3fe['getAttributeKeys']())if(!_0x521b73['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x521b73)return!0x1;return!0x0;}function v(_0x4f0db7,_0x5abac6){if(!_0x4f0db7['is']('element','paragraph'))return!0x1;const _0x10f307=_0x5abac6['toViewElement'](_0x4f0db7);return!!_0x10f307&&g(_0x4f0db7)!==_0x10f307['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3d740a){return _0x576776(_0x3d740a)&&_0x3d740a['is']('containerElement')&&!!_0x3d740a['getCustomProperty']('footnotesDefinitions');}function D(_0x5c2918,_0x53f563={}){const _0xf419bb=_0x5c2918['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5b9463=_0x5c2918['createContainerElement']('ol',{'class':'footnotes-list'},_0x5c2918['createSlot']());return _0x5c2918['createContainerElement']('div',{'class':'footnotes',..._0x53f563},[_0xf419bb,_0x5b9463]);}function b(_0x538364,_0x2ebd3f){const _0x55c359=_0x538364['getAttribute']('footnoteId'),_0x21febe=_0x538364['getAttribute']('footnoteCounter'),_0x53831b=_0x2ebd3f['createUIElement']('a',{'href':'#'+_0x55c359},function(_0x9f6a34){const _0x59d06f=this['toDomElement'](_0x9f6a34);return _0x59d06f['textContent']=_0x21febe,_0x59d06f;}),_0x549a8a=_0x2ebd3f['createContainerElement']('sup',{'id':'ref-'+_0x55c359,'class':'footnote'},[_0x53831b]);return _0x549a8a['getFillerOffset']=()=>null,_0x549a8a;}function y(_0x52e001,_0x54bed3,_0x2d6645,{dataPipeline:_0x1dca7f}={}){const {t:t}=_0x2d6645,_0x2fc960=_0x52e001['getAttribute']('footnoteId'),_0x62365c=_0x54bed3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2fc960},function(_0x30e0e2){const _0x4e2060=this['toDomElement'](_0x30e0e2);return _0x4e2060['innerText']='^',_0x4e2060;}),_0xa46c8c=_0x1dca7f?_0x54bed3['createContainerElement']('div',{'class':'footnote-content'}):_0xdd3326(_0x54bed3['createEditableElement']('div',{'class':'footnote-content'}),_0x54bed3,{'label':t('Footnote\x20content.')});return _0x54bed3['insert'](_0x54bed3['createPositionAt'](_0xa46c8c,0x0),_0x54bed3['createSlot']()),_0x54bed3['createContainerElement']('li',{'class':'footnote-definition','id':_0x2fc960},[_0x62365c,_0xa46c8c]);}
23
+ import{Plugin as _0x2a0f48}from'ckeditor5/src/core.js';import{isWidget as _0x96e382,toWidget as _0x59b46d,toWidgetEditable as _0x20b9a8}from'ckeditor5/src/widget.js';import{uid as _0x18b89c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x53a94d,ClickObserver as _0x43c3f7}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x5210a7}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4eae2b}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x2a0f48{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x5210a7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17649a}=this;_0x17649a['config']['define']('footnotes.multiBlock',!0x0),_0x17649a['commands']['add']('insertFootnote',new _0x4eae2b(_0x17649a)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3a41d0){const _0x5628d5=_0x501431([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]),_0xc7c3ce=0x47a28506,_0x52fa42=0x47a5f9be^_0xc7c3ce,_0xb25ded=window[_0x501431([0x44,0x61,0x74,0x65])][_0x501431([0x6e,0x6f,0x77])](),_0x49be47=_0x3a41d0[_0x501431([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x9b6865=new window[(_0x501431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53f281=>{_0x49be47[_0x501431([0x6f,0x6e,0x63,0x65])](_0x501431([0x72,0x65,0x61,0x64,0x79]),_0x53f281);}),_0x49e920={[_0x501431([0x6b,0x74,0x79])]:_0x501431([0x45,0x43]),[_0x501431([0x75,0x73,0x65])]:_0x501431([0x73,0x69,0x67]),[_0x501431([0x63,0x72,0x76])]:_0x501431([0x50,0x2d,0x32,0x35,0x36]),[_0x501431([0x78])]:_0x501431([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]),[_0x501431([0x79])]:_0x501431([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]),[_0x501431([0x61,0x6c,0x67])]:_0x501431([0x45,0x53,0x32,0x35,0x36])},_0x445dd7=_0x49be47[_0x501431([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x501431([0x67,0x65,0x74])](_0x501431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xef2f19(){let _0x389c95,_0x205b05=null,_0x21d512=null;try{if(_0x445dd7==_0x501431([0x47,0x50,0x4c]))return _0x501431([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x389c95=_0x24e42b(),!_0x389c95)return _0x501431([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x389c95[_0x501431([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x21d512=_0x293963(_0x389c95[_0x501431([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x389c95[_0x501431([0x6a,0x74,0x69])])),await _0x1d3019()?_0x5ddd44()?_0x597c49()?_0x501431([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x24708b()?(_0x389c95[_0x501431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x501431([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x205b05=_0x133743(_0x501431([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x389c95[_0x501431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x501431([0x74,0x72,0x69,0x61,0x6c])&&(_0x205b05=_0x133743(_0x501431([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d1872()):_0x501431([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x501431([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x501431([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x501431([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x597c49(){const _0x32fee1=[_0x501431([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x501431([0x74,0x72,0x69,0x61,0x6c])][_0x501431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x389c95[_0x501431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb25ded/0x3e8:0xe10*_0x52fa42;return _0x389c95[_0x501431([0x65,0x78,0x70])]<_0x32fee1;}function _0x5ddd44(){const _0x132f3c=_0x389c95[_0x501431([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x132f3c&&(!!_0x132f3c[_0x501431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x501431([0x2a]))||!!_0x132f3c[_0x501431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x501431([0x46,0x4f,0x4f])));}function _0x24708b(){const _0x3653d1=_0x389c95[_0x501431([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3653d1||0x0==_0x3653d1[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b24b8}=new URL(window[_0x501431([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3653d1[_0x501431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b24b8))return!0x0;const _0x2b8577=_0x3b24b8[_0x501431([0x73,0x70,0x6c,0x69,0x74])](_0x501431([0x2e]));return _0x3653d1[_0x501431([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d6ec5=>_0x2d6ec5[_0x501431([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x501431([0x2a])))[_0x501431([0x6d,0x61,0x70])](_0x50b140=>_0x50b140[_0x501431([0x73,0x70,0x6c,0x69,0x74])](_0x501431([0x2e])))[_0x501431([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6e97a=>_0x6e97a[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b8577[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x501431([0x6d,0x61,0x70])](_0x1888af=>Array(_0x2b8577[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1888af[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x501431([0x66,0x69,0x6c,0x6c])](_0x1888af[0x0]===_0x501431([0x2a])?_0x501431([0x2a]):'')[_0x501431([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1888af))[_0x501431([0x73,0x6f,0x6d,0x65])](_0xf26b21=>_0x2b8577[_0x501431([0x65,0x76,0x65,0x72,0x79])]((_0x25b508,_0x2eec85)=>_0xf26b21[_0x2eec85]===_0x25b508||_0xf26b21[_0x2eec85]===_0x501431([0x2a])));}function _0x3d1872(){return _0x205b05&&_0x21d512?new window[(_0x501431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cb15d,_0x3c92fb)=>{_0x205b05[_0x501431([0x74,0x68,0x65,0x6e])](_0x2cb15d,_0x3c92fb),_0x21d512[_0x501431([0x74,0x68,0x65,0x6e])](_0x17e2ea=>{_0x17e2ea!=_0x501431([0x56,0x61,0x6c,0x69,0x64])&&_0x2cb15d(_0x17e2ea);},_0x3c92fb);}):_0x205b05||_0x21d512||_0x501431([0x56,0x61,0x6c,0x69,0x64]);}}function _0x293963(_0xfd2859,_0xeb9db5){return new window[(_0x501431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39e66e=>{if(_0xd5e37d())return _0x39e66e(_0x501431([0x56,0x61,0x6c,0x69,0x64]));_0x33265b(),_0x49be47[_0x501431([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x501431([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38069a=!0x1;const _0x127e7d=_0x18b89c();function _0x41bbc8(_0x225d45){return!!_0x225d45&&(typeof _0x225d45===_0x501431([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x225d45===_0x501431([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x225d45[_0x501431([0x74,0x68,0x65,0x6e])]===_0x501431([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x225d45[_0x501431([0x63,0x61,0x74,0x63,0x68])]===_0x501431([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3046c3(_0x21e8d4){_0x4cee44(_0x21e8d4)[_0x501431([0x74,0x68,0x65,0x6e])](_0x163bed=>{if(!_0x163bed||_0x163bed[_0x501431([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x501431([0x6f,0x6b]))return _0x501431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3bc683(_0x2cc8bb(_0x127e7d+_0xeb9db5))!=_0x163bed[_0x501431([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x501431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x501431([0x56,0x61,0x6c,0x69,0x64]);})[_0x501431([0x74,0x68,0x65,0x6e])](_0x2bc96f=>(_0x357a59(),_0x2bc96f),()=>{const _0x4778b2=_0x510486();return null==_0x4778b2?(_0x357a59(),_0x501431([0x56,0x61,0x6c,0x69,0x64])):_0x501431(_0xb25ded-_0x4778b2>(0x63ae0106^_0xc7c3ce)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x501431([0x74,0x68,0x65,0x6e])](_0x39e66e)[_0x501431([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39e66e(_0x501431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e3b57=0x47946b86^_0xc7c3ce;function _0x357a59(){const _0x3dd0f9=_0x501431([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bc683(_0x2cc8bb(_0xfd2859)),_0x16c55f=_0x1a82e4(_0x3bc683(window[_0x501431([0x4d,0x61,0x74,0x68])][_0x501431([0x63,0x65,0x69,0x6c])](_0xb25ded/_0x1e3b57)));window[_0x501431([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x501431([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dd0f9,_0x16c55f);}function _0x510486(){const _0x3c56c5=_0x501431([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bc683(_0x2cc8bb(_0xfd2859)),_0x2f6f8e=window[_0x501431([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x501431([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c56c5);return _0x2f6f8e?window[_0x501431([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a82e4(_0x2f6f8e),0x10)*_0x1e3b57:null;}function _0x4cee44(_0x291568){return new window[(_0x501431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x228770,_0x2aa55a)=>{_0x291568[_0x501431([0x74,0x68,0x65,0x6e])](_0x228770,_0x2aa55a),window[_0x501431([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2aa55a,0x47a351c6^_0xc7c3ce);});}}_0x49be47[_0x501431([0x6f,0x6e])](_0x501431([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2dd491,_0x518c78)=>{if(_0x518c78[0x0]!=_0xfd2859)return _0x39e66e(_0x501431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x518c78[0x1]={..._0x518c78[0x1],[_0x501431([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x127e7d};},{[_0x501431([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x501431([0x68,0x69,0x67,0x68])}),_0x49be47[_0x501431([0x6f,0x6e])](_0x501431([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4db82c=>{_0x41bbc8(_0x4db82c[_0x501431([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38069a=!0x0,_0x3046c3(_0x4db82c[_0x501431([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x501431([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x501431([0x6c,0x6f,0x77])}),_0x9b6865[_0x501431([0x74,0x68,0x65,0x6e])](()=>{_0x38069a||_0x39e66e(_0x501431([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd5e37d(){return _0x49be47[_0x501431([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x501431([0x76,0x69,0x65,0x77])][_0x501431([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x501431([0x61,0x75,0x74,0x6f]);}function _0x33265b(){_0x49be47[_0x501431([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x501431([0x76,0x69,0x65,0x77])][_0x501431([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x501431([0x61,0x75,0x74,0x6f]);}}function _0x133743(_0x395fe6){const _0x1dcf4d=[new window[(_0x501431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34fc58=>setTimeout(_0x34fc58,0x47abbbca^_0xc7c3ce)),_0x9b6865[_0x501431([0x74,0x68,0x65,0x6e])](()=>new window[(_0x501431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47e4d6=>{let _0x553fa1=0x0;_0x49be47[_0x501431([0x6d,0x6f,0x64,0x65,0x6c])][_0x501431([0x6f,0x6e])](_0x501431([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42c182,_0x4d25df)=>{_0x4d25df[0x0][_0x501431([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x553fa1++,_0x553fa1==(0x47a280ee^_0xc7c3ce)&&(_0x47e4d6(),_0x42c182[_0x501431([0x6f,0x66,0x66])]());});}))];return window[_0x501431([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x501431([0x72,0x61,0x63,0x65])](_0x1dcf4d)[_0x501431([0x74,0x68,0x65,0x6e])](()=>_0x395fe6);}async function _0x25314e(){await _0x9b6865,_0x49be47[_0x501431([0x6d,0x6f,0x64,0x65,0x6c])][_0x501431([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3e04d5,_0x49be47[_0x501431([0x6d,0x6f,0x64,0x65,0x6c])][_0x501431([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3e04d5,_0x49be47[_0x501431([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x501431([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x119c71(_0x5cdba2){const _0x43f0ba=_0x4dd14e();_0x49be47[_0x43f0ba]=_0x501431([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5cdba2,_0x5cdba2!=_0x501431([0x56,0x61,0x6c,0x69,0x64])&&_0x25314e();}function _0x4dd14e(){const _0x120b9f=window[_0x501431([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x501431([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x501431([0x6e,0x6f,0x77])]())[_0x501431([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x501431([0x2e]),'');let _0x368ee7=_0x501431([0x75]);for(let _0x4b237c=0x0;_0x4b237c<_0x120b9f[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b237c+=0x2){let _0x47a8ca=window[_0x501431([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x120b9f[_0x501431([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b237c,_0x4b237c+0x2));_0x47a8ca>=_0x5628d5[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x47a8ca-=_0x5628d5[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x368ee7+=_0x5628d5[_0x47a8ca];}return _0x368ee7;}function _0x24e42b(){const _0x46865a=_0x445dd7[_0x501431([0x73,0x70,0x6c,0x69,0x74])](_0x501431([0x2e]));if(0x3!=_0x46865a[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5ae7cf(_0x46865a[0x1]);function _0x5ae7cf(_0x2b6cdd){const _0x642a3b=_0x155a44(_0x2b6cdd);return _0x642a3b&&_0x3a6248()?_0x642a3b:null;function _0x3a6248(){const _0x112816=_0x642a3b[_0x501431([0x6a,0x74,0x69])],_0x13dd8d=window[_0x501431([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x112816[_0x501431([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x112816[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x157677={..._0x642a3b,[_0x501431([0x6a,0x74,0x69])]:_0x112816[_0x501431([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x112816[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x157677[_0x501431([0x76,0x63])],_0x2cc8bb(_0x157677)==_0x13dd8d;}}}async function _0x1d3019(){let _0x2d5606=!0x0;try{const _0x32247c=_0x445dd7[_0x501431([0x73,0x70,0x6c,0x69,0x74])](_0x501431([0x2e])),[_0x5d4068,_0x5e50a2,_0x160934]=_0x32247c;return _0x4eb5ef(_0x5d4068),await _0xd56291(_0x5d4068,_0x5e50a2,_0x160934),_0x2d5606;}catch{return!0x1;}function _0x4eb5ef(_0x410c16){const _0x18a9f9=_0x155a44(_0x410c16);_0x18a9f9&&_0x18a9f9[_0x501431([0x61,0x6c,0x67])]==_0x501431([0x45,0x53,0x32,0x35,0x36])||(_0x2d5606=!0x1);}async function _0xd56291(_0x1ad369,_0x32b2b7,_0xbda63d){const _0x2d3772=window[_0x501431([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x501431([0x66,0x72,0x6f,0x6d])](_0x38de56(_0xbda63d),_0x2238d2=>_0x2238d2[_0x501431([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xbdbbad=new window[(_0x501431([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x501431([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ad369+_0x501431([0x2e])+_0x32b2b7),_0x1909e0=window[_0x501431([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x501431([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1909e0)return;const _0x23eb8c=await _0x1909e0[_0x501431([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x501431([0x6a,0x77,0x6b]),_0x49e920,{[_0x501431([0x6e,0x61,0x6d,0x65])]:_0x501431([0x45,0x43,0x44,0x53,0x41]),[_0x501431([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x501431([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x501431([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1909e0[_0x501431([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x501431([0x6e,0x61,0x6d,0x65])]:_0x501431([0x45,0x43,0x44,0x53,0x41]),[_0x501431([0x68,0x61,0x73,0x68])]:{[_0x501431([0x6e,0x61,0x6d,0x65])]:_0x501431([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23eb8c,_0x2d3772,_0xbdbbad)||(_0x2d5606=!0x1);}}function _0x155a44(_0x5bf30d){return _0x5bf30d[_0x501431([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x501431([0x65,0x79]))?JSON[_0x501431([0x70,0x61,0x72,0x73,0x65])](_0x38de56(_0x5bf30d)):null;}function _0x38de56(_0xd5c42){return window[_0x501431([0x61,0x74,0x6f,0x62])](_0xd5c42[_0x501431([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x501431([0x2b]))[_0x501431([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x501431([0x2f])));}function _0x2cc8bb(_0x431fa6){let _0x2df111=0x1505;function _0x379ae9(_0x1b8a35){for(let _0x31ef8c=0x0;_0x31ef8c<_0x1b8a35[_0x501431([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x31ef8c++){const _0x2f4df7=_0x1b8a35[_0x501431([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x31ef8c);_0x2df111=(_0x2df111<<0x5)+_0x2df111+_0x2f4df7,_0x2df111&=_0x2df111;}}function _0x20e7de(_0x40e371){Array[_0x501431([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x40e371)?_0x40e371[_0x501431([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20e7de):_0x40e371&&typeof _0x40e371==_0x501431([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x501431([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x40e371)[_0x501431([0x73,0x6f,0x72,0x74])]()[_0x501431([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30e8dc,_0x44ab6d])=>{_0x379ae9(_0x30e8dc),_0x20e7de(_0x44ab6d);}):_0x379ae9(window[_0x501431([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x40e371));}return _0x20e7de(_0x431fa6),_0x2df111>>>0x0;}function _0x3bc683(_0x17f19b){return _0x17f19b[_0x501431([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x501431([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x501431([0x30]));}function _0x1a82e4(_0x36ec5f){return _0x36ec5f[_0x501431([0x73,0x70,0x6c,0x69,0x74])]('')[_0x501431([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x501431([0x6a,0x6f,0x69,0x6e])]('');}function _0x3e04d5(){}function _0x501431(_0x37b2a9){return _0x37b2a9['map'](_0x3393a8=>String['fromCharCode'](_0x3393a8))['join']('');}_0x119c71(await _0xef2f19());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2cbd2d){const {plugins:_0x28fa48,editing:_0x35f198,model:_0x5801b0}=this['editor'],_0x44b4f3=_0x28fa48['get'](_0x5210a7)['getFootnote'](_0x2cbd2d);return!!_0x44b4f3&&(_0x5801b0['change'](_0x379daf=>{_0x379daf['setSelection'](_0x379daf['createPositionAt'](_0x44b4f3['definition'],'end'));}),_0x35f198['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2ab113){const {plugins:_0x26fbff,editing:_0x519d1f,model:_0x487c15}=this['editor'],_0x170761=_0x26fbff['get'](_0x5210a7)['getFootnote'](_0x2ab113);return!!_0x170761&&(_0x487c15['change'](_0x11e775=>{_0x11e775['setSelection'](_0x170761['reference'],'on');}),_0x519d1f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5c6ce7}=this['editor']['model'],_0x19bf2f=this['editor']['config']['get']('footnotes.multiBlock');_0x5c6ce7['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5c6ce7['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5c6ce7['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x19bf2f?_0x5c6ce7['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5c6ce7['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5c6ce7['addChildCheck'](_0x367d24=>{for(const _0x41a0d2 of _0x367d24)if('footnoteDefinition'===_0x41a0d2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2b19eb}=this,{conversion:_0x506146,editing:_0x59a2f0}=_0x2b19eb,{t:t}=_0x2b19eb['locale'];_0x506146['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4782cf,{writer:_0x2b1459,consumable:_0x1d5108})=>{const _0x253404=_0x4782cf['getChild'](0x0);if(!_0x253404||!_0x253404['is']('element','a'))return null;const _0x355017=_0x253404['getAttribute']('href')||'';if(!_0x355017['startsWith']('#'))return null;const _0x510ed8=_0x355017['replace'](/^#/,'');if(!_0x510ed8)return null;_0x1d5108['consume'](_0x253404,{'name':!0x0,'attributes':['href']});for(const {item:_0x32caa2}of _0x59a2f0['view']['createRangeIn'](_0x253404))_0x32caa2['is']('$textProxy')?_0x1d5108['consume'](_0x32caa2['textNode'],{'name':!0x0}):_0x32caa2['is']('element')&&_0x1d5108['consume'](_0x32caa2,{'name':!0x0});return _0x2b1459['createElement']('footnoteRef',{'footnoteId':_0x510ed8});}}),_0x506146['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3678a2,{writer:_0xbace60})=>b(_0x3678a2,_0xbace60)}),_0x506146['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x550645,{writer:_0x1c42ee})=>{const _0x111d8a=_0x550645['getAttribute']('footnoteCounter');return _0x59b46d(b(_0x550645,_0x1c42ee),_0x1c42ee,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x111d8a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3a19b3}=this,{t:t}=_0x3a19b3['locale'],{conversion:_0x1739a4}=_0x3a19b3;_0x1739a4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1739a4['for']('upcast')['add'](_0x69be41=>{_0x69be41['on']('element:ol',(_0x4884c2,_0x5ae1e9,_0x48e0ae)=>{const _0x3c85dc=_0x5ae1e9['viewItem'];if(!_0x3c85dc['hasClass']('footnotes-list')||!_0x5ae1e9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x48e0ae['consumable']['consume'](_0x3c85dc,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x23184a,modelCursor:_0x3fe9be}=_0x48e0ae['convertChildren'](_0x5ae1e9['viewItem'],_0x5ae1e9['modelCursor']);_0x5ae1e9['modelRange']=_0x23184a,_0x5ae1e9['modelCursor']=_0x3fe9be;}),_0x69be41['on']('element:hr',(_0x3497ba,_0x47b209,_0x258a3a)=>{const _0x3f712b=_0x47b209['viewItem'];_0x3f712b['hasClass']('footnotes-divider')&&_0x47b209['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x258a3a['consumable']['consume'](_0x3f712b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1739a4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x251884,{writer:_0x1037b})=>D(_0x1037b)}),_0x1739a4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x20f148,{writer:_0x1e9e5a})=>{const _0x503ed0=D(_0x1e9e5a,{'data-footnotes-list-label':t('Footnotes')}),_0x3bbede=_0x59b46d(_0x503ed0,_0x1e9e5a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1e9e5a['setCustomProperty']('footnotesDefinitions',!0x0,_0x3bbede),_0x3bbede;}});}['_defineDefinitionConverters'](){const {editor:_0x28840e}=this,{conversion:_0x13310a,locale:_0x7f466a}=_0x28840e,_0x4877fd=_0x28840e['config']['get']('footnotes.multiBlock');_0x13310a['for']('upcast')['add'](_0x1271cd=>{_0x1271cd['on']('element:li',(_0x3b034f,_0x23f806,_0x5b0f63)=>{const _0x58aebc=_0x23f806['viewItem'];if(!_0x58aebc['hasClass']('footnote-definition')||!_0x58aebc['getAttribute']('id'))return;const _0x352905=_0x58aebc['parent'];if(!_0x352905['is']('element','ol')||!_0x352905['hasClass']('footnotes-list'))return;if(!_0x5b0f63['consumable']['test'](_0x58aebc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1aba7b=_0x5b0f63['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x58aebc['getAttribute']('id')});if(!_0x5b0f63['safeInsert'](_0x1aba7b,_0x23f806['modelCursor']))return;_0x5b0f63['consumable']['consume'](_0x58aebc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x56910c=Array['from'](_0x58aebc['getChildren']())['find'](_0x222e4e=>_0x222e4e['is']('element')&&_0x222e4e['hasClass']('footnote-content'));for(const _0x4e1b4b of _0x58aebc['getChildren']())_0x4e1b4b['is']('element')&&(_0x5b0f63['consumable']['consume'](_0x4e1b4b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5b0f63['consumable']['consume'](_0x4e1b4b,{'name':!0x0,'classes':'footnote-content'}));if(_0x56910c){if(_0x4877fd)_0x5b0f63['convertChildren'](_0x56910c,_0x1aba7b);else{const _0x11bb61=_0x5b0f63['writer']['createElement']('footnoteInlineContent');_0x5b0f63['writer']['insert'](_0x11bb61,_0x1aba7b),_0x5b0f63['convertChildren'](_0x56910c,_0x11bb61);}}_0x5b0f63['updateConversionResult'](_0x1aba7b,_0x23f806);});}),_0x13310a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x108fb2,{writer:_0x38dfa7})=>y(_0x108fb2,_0x38dfa7,_0x7f466a,{'dataPipeline':!0x0})}),_0x13310a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x174b58,{writer:_0x16cffa})=>y(_0x174b58,_0x16cffa,_0x7f466a)});}['_defineBogusParagraphConverters'](){const {editor:_0x5e6a06}=this,{conversion:_0x47bf91}=_0x5e6a06;_0x5e6a06['config']['get']('footnotes.multiBlock')?(_0x47bf91['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x47bf91['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5e6a06['model']['document'],'change:data',()=>{!function(_0x1fbb5c,_0x5eeba2){const _0x3ea550=_0x1fbb5c['document']['differ'],_0x4737dc=new Set();for(const _0x55f156 of _0x3ea550['getChanges']()){const _0x4efde6='attribute'==_0x55f156['type']?_0x55f156['range']['start']['parent']:_0x55f156['position']['parent'];_0x4efde6['is']('element','footnoteDefinition')&&_0x4737dc['add'](_0x4efde6);}for(const _0x8bcdb5 of _0x4737dc['values']()){const _0x4cb13a=Array['from'](_0x8bcdb5['getChildren']())['filter'](_0x39e01b=>v(_0x39e01b,_0x5eeba2['mapper']));for(const _0x4cdc43 of _0x4cb13a)_0x5eeba2['reconvertItem'](_0x4cdc43);}}(_0x5e6a06['model'],_0x5e6a06['editing']);})):(_0x47bf91['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x47bf91['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x196055,{writer:_0x26283a})=>{const _0x140d68=_0x26283a['createContainerElement']('span');return _0x26283a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x140d68),_0x140d68;}}));}['_defineKeyboardHandlers'](){const {editor:_0x284d3d}=this,{editing:_0x15d23e,t:t}=_0x284d3d,_0x3d34d9=_0x284d3d['model']['document']['selection'];_0x284d3d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x284d3d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x15d23e['view']['document'],'enter',(_0x5755a4,_0x4d6afb)=>{const _0x2b9d3d=function(_0x1dc94f){const _0x4da16b=_0x1dc94f['getSelectedElement']();if(_0x4da16b?.['is']('element','footnoteRef'))return _0x4da16b;return null;}(_0x3d34d9);if(_0x2b9d3d){const _0x3f12b6=_0x2b9d3d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3f12b6),_0x4d6afb['preventDefault'](),_0x5755a4['stop']();}},{'context':_0x96e382});}['_defineClickHandlers'](){const {editor:_0x17202e}=this,{editing:_0x53882c}=_0x17202e;_0x17202e['editing']['view']['addObserver'](_0x53a94d),_0x17202e['editing']['view']['addObserver'](_0x43c3f7);let _0x54addc=!0x1;this['listenTo'](_0x53882c['view']['document'],'pointerdown',(_0x25656a,_0x131d75)=>{const {target:_0xed5e04}=_0x131d75,_0x1e0eca=_0x53882c['view']['document']['selection'];_0x54addc=!!(_0xed5e04?.['is']('element','a')&&_0xed5e04['parent']?.['is']('element','sup')&&_0xed5e04['parent']['hasClass']('footnote'))&&_0x1e0eca['getSelectedElement']()===_0xed5e04['parent'];},{'priority':'high'}),this['listenTo'](_0x53882c['view']['document'],'click',(_0x122c93,_0x293370)=>{const {target:_0x491b53}=_0x293370;if(!_0x491b53?.['is']('element','a'))return;if(_0x491b53['parent']?.['is']('element','sup')&&_0x491b53['parent']['hasClass']('footnote')&&!_0x54addc)return void _0x293370['preventDefault']();let _0x1178c9=_0x491b53['getAttribute']('href');if(!_0x1178c9?.['startsWith']('#'))return;_0x1178c9=_0x1178c9['slice'](0x1);let _0x32c3c4=!0x1;(_0x1178c9['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1178c9['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1178c9))&&(_0x32c3c4=!0x0),_0x32c3c4&&(_0x293370['preventDefault'](),_0x122c93['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3188d2}={}){return(_0x1470f9,{writer:_0x287f72})=>{if(!g(_0x1470f9))return null;if(!_0x3188d2)return _0x287f72['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x26d0a2=_0x287f72['createContainerElement']('p');return _0x287f72['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x26d0a2),_0x26d0a2;};}function g(_0x8533db){const {parent:_0x398dd5}=_0x8533db;if(!_0x398dd5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x398dd5['childCount'])return!0x1;for(const _0x31b43b of _0x8533db['getAttributeKeys']())if(!_0x31b43b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x31b43b)return!0x1;return!0x0;}function v(_0x1b5b86,_0x573143){if(!_0x1b5b86['is']('element','paragraph'))return!0x1;const _0x275da0=_0x573143['toViewElement'](_0x1b5b86);return!!_0x275da0&&g(_0x1b5b86)!==_0x275da0['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x416f3e){return _0x96e382(_0x416f3e)&&_0x416f3e['is']('containerElement')&&!!_0x416f3e['getCustomProperty']('footnotesDefinitions');}function D(_0x525728,_0x341c90={}){const _0xa506a5=_0x525728['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x53f5fc=_0x525728['createContainerElement']('ol',{'class':'footnotes-list'},_0x525728['createSlot']());return _0x525728['createContainerElement']('div',{'class':'footnotes',..._0x341c90},[_0xa506a5,_0x53f5fc]);}function b(_0x1f43d7,_0x2035e4){const _0x278349=_0x1f43d7['getAttribute']('footnoteId'),_0x2d29d4=_0x1f43d7['getAttribute']('footnoteCounter'),_0x101f04=_0x2035e4['createUIElement']('a',{'href':'#'+_0x278349},function(_0x663740){const _0x1c99b2=this['toDomElement'](_0x663740);return _0x1c99b2['textContent']=_0x2d29d4,_0x1c99b2;}),_0x4c7ade=_0x2035e4['createContainerElement']('sup',{'id':'ref-'+_0x278349,'class':'footnote'},[_0x101f04]);return _0x4c7ade['getFillerOffset']=()=>null,_0x4c7ade;}function y(_0x546d21,_0x4485ca,_0x2d9f85,{dataPipeline:_0x1a9e56}={}){const {t:t}=_0x2d9f85,_0x19a528=_0x546d21['getAttribute']('footnoteId'),_0x4aa00a=_0x4485ca['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x19a528},function(_0x4f2167){const _0x1b4088=this['toDomElement'](_0x4f2167);return _0x1b4088['innerText']='^',_0x1b4088;}),_0x1e35b6=_0x1a9e56?_0x4485ca['createContainerElement']('div',{'class':'footnote-content'}):_0x20b9a8(_0x4485ca['createEditableElement']('div',{'class':'footnote-content'}),_0x4485ca,{'label':t('Footnote\x20content.')});return _0x4485ca['insert'](_0x4485ca['createPositionAt'](_0x1e35b6,0x0),_0x4485ca['createSlot']()),_0x4485ca['createContainerElement']('li',{'class':'footnote-definition','id':_0x19a528},[_0x4aa00a,_0x1e35b6]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xea85c7=_0x27e4;(function(_0x5c3697,_0x53bcb1){const _0xc0e7f5=_0x27e4,_0x27ffd7=_0x5c3697();while(!![]){try{const _0x5833a5=parseInt(_0xc0e7f5(0xdb))/0x1+parseInt(_0xc0e7f5(0xd6))/0x2+parseInt(_0xc0e7f5(0xce))/0x3+-parseInt(_0xc0e7f5(0xd0))/0x4*(parseInt(_0xc0e7f5(0xd7))/0x5)+-parseInt(_0xc0e7f5(0xde))/0x6*(parseInt(_0xc0e7f5(0xcd))/0x7)+parseInt(_0xc0e7f5(0xca))/0x8*(parseInt(_0xc0e7f5(0xd4))/0x9)+-parseInt(_0xc0e7f5(0xd9))/0xa;if(_0x5833a5===_0x53bcb1)break;else _0x27ffd7['push'](_0x27ffd7['shift']());}catch(_0x5cedd3){_0x27ffd7['push'](_0x27ffd7['shift']());}}}(_0x559e,0x24a6a));function _0x27e4(_0x143144,_0x1455b2){const _0x559e8f=_0x559e();return _0x27e4=function(_0x27e43e,_0x2346f2){_0x27e43e=_0x27e43e-0xc7;let _0x19ee59=_0x559e8f[_0x27e43e];return _0x19ee59;},_0x27e4(_0x143144,_0x1455b2);}import{Command as _0xbf3073}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3953bd}from'../../footnotestracker.js';function _0x559e(){const _0x435fa1=['getAttribute','value','56VehpEZ','refresh','plugins','33901aUKveW','276465jppDiv','_updateFootnotesCounters','4IBcvQO','getFootnotesDefinitionsObjectElement','isEnabled','footnotesListStart','348399YtBviA','setAttribute','433378ilOyju','1208705ZZJXrY','get','17230xgOHAX','isInteger','99502pelpLR','execute','change','354csMeJN','model'];_0x559e=function(){return _0x435fa1;};return _0x559e();}export class FootnotesStartCommand extends _0xbf3073{[_0xea85c7(0xcb)](){const _0x4b4955=_0xea85c7,{editor:_0x5b1f19}=this,_0x7fd348=_0x5b1f19[_0x4b4955(0xcc)][_0x4b4955(0xd8)](_0x3953bd)[_0x4b4955(0xd1)]();this[_0x4b4955(0xd2)]=!!_0x7fd348,this[_0x4b4955(0xc9)]=_0x7fd348?.[_0x4b4955(0xc8)](_0x4b4955(0xd3))??null;}[_0xea85c7(0xdc)]({value:_0x1b503b}){const _0x5d534c=_0xea85c7,{editor:_0x1cb27c}=this,_0x12188d=_0x1cb27c[_0x5d534c(0xcc)][_0x5d534c(0xd8)](_0x3953bd),_0x3b33de=_0x12188d[_0x5d534c(0xd1)]();_0x3b33de&&Number[_0x5d534c(0xda)](_0x1b503b)&&_0x1cb27c[_0x5d534c(0xc7)][_0x5d534c(0xdd)](_0x10f30b=>{const _0x153245=_0x5d534c;_0x10f30b[_0x153245(0xd5)](_0x153245(0xd3),_0x1b503b,_0x3b33de),_0x12188d[_0x153245(0xcf)](_0x10f30b);});}}
23
+ function _0x5cb5(_0x56f96e,_0x16979a){const _0x24107d=_0x2410();return _0x5cb5=function(_0x5cb5f1,_0x2d5078){_0x5cb5f1=_0x5cb5f1-0x14a;let _0x5a5e23=_0x24107d[_0x5cb5f1];return _0x5a5e23;},_0x5cb5(_0x56f96e,_0x16979a);}const _0xe1ff6b=_0x5cb5;function _0x2410(){const _0x13133a=['execute','1RNHxRn','16SdEECj','_updateFootnotesCounters','footnotesListStart','refresh','setAttribute','14178JzRXhJ','33AFaIls','change','217812YqgpYt','3543084btfgkh','plugins','isInteger','30100ysOICU','model','1617048eMJtZY','value','getAttribute','getFootnotesDefinitionsObjectElement','8nFEPoS','13030EBKPFq','get','13IVDaCf','190214IZphMI','isEnabled','535acrnZK'];_0x2410=function(){return _0x13133a;};return _0x2410();}(function(_0x3110a2,_0x15b462){const _0x424769=_0x5cb5,_0x54253d=_0x3110a2();while(!![]){try{const _0x523355=-parseInt(_0x424769(0x14a))/0x1*(parseInt(_0x424769(0x161))/0x2)+-parseInt(_0x424769(0x153))/0x3*(-parseInt(_0x424769(0x15d))/0x4)+parseInt(_0x424769(0x163))/0x5*(parseInt(_0x424769(0x150))/0x6)+-parseInt(_0x424769(0x157))/0x7+-parseInt(_0x424769(0x14b))/0x8*(-parseInt(_0x424769(0x159))/0x9)+parseInt(_0x424769(0x15e))/0xa*(-parseInt(_0x424769(0x151))/0xb)+-parseInt(_0x424769(0x154))/0xc*(parseInt(_0x424769(0x160))/0xd);if(_0x523355===_0x15b462)break;else _0x54253d['push'](_0x54253d['shift']());}catch(_0x54c247){_0x54253d['push'](_0x54253d['shift']());}}}(_0x2410,0x579a4));import{Command as _0x494eae}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x38a7d7}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x494eae{[_0xe1ff6b(0x14e)](){const _0x1bf825=_0xe1ff6b,{editor:_0x4a748e}=this,_0x5ac77d=_0x4a748e[_0x1bf825(0x155)][_0x1bf825(0x15f)](_0x38a7d7)[_0x1bf825(0x15c)]();this[_0x1bf825(0x162)]=!!_0x5ac77d,this[_0x1bf825(0x15a)]=_0x5ac77d?.[_0x1bf825(0x15b)](_0x1bf825(0x14d))??null;}[_0xe1ff6b(0x164)]({value:_0x4a04d6}){const _0x5911f6=_0xe1ff6b,{editor:_0x156501}=this,_0x51bede=_0x156501[_0x5911f6(0x155)][_0x5911f6(0x15f)](_0x38a7d7),_0x1b2944=_0x51bede[_0x5911f6(0x15c)]();_0x1b2944&&Number[_0x5911f6(0x156)](_0x4a04d6)&&_0x156501[_0x5911f6(0x158)][_0x5911f6(0x152)](_0x519298=>{const _0x48d9f7=_0x5911f6;_0x519298[_0x48d9f7(0x14f)](_0x48d9f7(0x14d),_0x4a04d6,_0x1b2944),_0x51bede[_0x48d9f7(0x14c)](_0x519298);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26dd6d=_0x125c;(function(_0x5e14b6,_0x3f208a){const _0x507941=_0x125c,_0x13f676=_0x5e14b6();while(!![]){try{const _0x4d1e96=parseInt(_0x507941(0x10f))/0x1*(parseInt(_0x507941(0x119))/0x2)+-parseInt(_0x507941(0x11d))/0x3+parseInt(_0x507941(0x10c))/0x4*(-parseInt(_0x507941(0x113))/0x5)+-parseInt(_0x507941(0x11e))/0x6+-parseInt(_0x507941(0x122))/0x7*(-parseInt(_0x507941(0x115))/0x8)+parseInt(_0x507941(0x117))/0x9+parseInt(_0x507941(0x118))/0xa;if(_0x4d1e96===_0x3f208a)break;else _0x13f676['push'](_0x13f676['shift']());}catch(_0x5900ef){_0x13f676['push'](_0x13f676['shift']());}}}(_0x16e8,0x491a1));function _0x125c(_0x578264,_0x397270){const _0x16e8c0=_0x16e8();return _0x125c=function(_0x125ce4,_0x12f6aa){_0x125ce4=_0x125ce4-0x10b;let _0x38732f=_0x16e8c0[_0x125ce4];return _0x38732f;},_0x125c(_0x578264,_0x397270);}import{Command as _0x595163}from'ckeditor5/src/core.js';function _0x16e8(){const _0x203e88=['51261TqCAEh','getFootnotesDefinitionsObjectElement','4fBnzbb','includes','_updateFootnotesCounters','1733eudsAV','refresh','change','plugins','421195rgkfFz','getAttribute','80aVwdfV','isEnabled','1135080dycJGF','8469350XKVzJS','358UlbUqw','execute','model','setAttribute','1154427zqwVET','3528114rqgdKs','footnotesListStyle','get','value'];_0x16e8=function(){return _0x203e88;};return _0x16e8();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x58a752}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x218d12}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x595163{[_0x26dd6d(0x110)](){const _0x40749e=_0x26dd6d,{editor:_0x5c7897}=this,_0x15ffa1=_0x5c7897[_0x40749e(0x112)][_0x40749e(0x120)](_0x218d12)[_0x40749e(0x10b)]();this[_0x40749e(0x116)]=!!_0x15ffa1,this[_0x40749e(0x121)]=_0x15ffa1?.[_0x40749e(0x114)](_0x40749e(0x11f))??null;}[_0x26dd6d(0x11a)]({value:_0x315bd9}){const _0xc2dd98=_0x26dd6d,{editor:_0xec4d32}=this,_0x1429cf=_0xec4d32[_0xc2dd98(0x112)][_0xc2dd98(0x120)](_0x218d12),_0x56a4e8=_0x1429cf[_0xc2dd98(0x10b)]();_0x56a4e8&&_0x58a752[_0xc2dd98(0x10d)](_0x315bd9)&&_0xec4d32[_0xc2dd98(0x11b)][_0xc2dd98(0x111)](_0x4aa0da=>{const _0x624313=_0xc2dd98;_0x4aa0da[_0x624313(0x11c)](_0x624313(0x11f),_0x315bd9,_0x56a4e8),_0x1429cf[_0x624313(0x10e)](_0x4aa0da);});}}
23
+ const _0x4d572f=_0x4acc;(function(_0x3fab17,_0x28b995){const _0x45bfad=_0x4acc,_0x4bd6d2=_0x3fab17();while(!![]){try{const _0x19d150=-parseInt(_0x45bfad(0x11f))/0x1+parseInt(_0x45bfad(0x122))/0x2+parseInt(_0x45bfad(0x125))/0x3+-parseInt(_0x45bfad(0x121))/0x4+-parseInt(_0x45bfad(0x126))/0x5+parseInt(_0x45bfad(0x117))/0x6*(-parseInt(_0x45bfad(0x123))/0x7)+parseInt(_0x45bfad(0x129))/0x8;if(_0x19d150===_0x28b995)break;else _0x4bd6d2['push'](_0x4bd6d2['shift']());}catch(_0xdd4de8){_0x4bd6d2['push'](_0x4bd6d2['shift']());}}}(_0x270b,0x3bedf));function _0x270b(){const _0x5e03e5=['31354RkFjvm','763371tzUMIx','plugins','890610TNHBQW','165425ZWqvqO','includes','get','2982200lcuBxB','refresh','getFootnotesDefinitionsObjectElement','value','6LsPZem','footnotesListStyle','change','setAttribute','model','isEnabled','_updateFootnotesCounters','getAttribute','46523cwJTbt','execute','1004760BXRHCr'];_0x270b=function(){return _0x5e03e5;};return _0x270b();}import{Command as _0xbc619d}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x145392}from'../footnotespropertiesconfig.js';function _0x4acc(_0x35bcef,_0x37af7a){const _0x270b57=_0x270b();return _0x4acc=function(_0x4acc96,_0x27c6de){_0x4acc96=_0x4acc96-0x114;let _0x544b45=_0x270b57[_0x4acc96];return _0x544b45;},_0x4acc(_0x35bcef,_0x37af7a);}import{FootnotesTracker as _0x4cb8aa}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xbc619d{[_0x4d572f(0x114)](){const _0x1ebf66=_0x4d572f,{editor:_0x3e7077}=this,_0x15d6c0=_0x3e7077[_0x1ebf66(0x124)][_0x1ebf66(0x128)](_0x4cb8aa)[_0x1ebf66(0x115)]();this[_0x1ebf66(0x11c)]=!!_0x15d6c0,this[_0x1ebf66(0x116)]=_0x15d6c0?.[_0x1ebf66(0x11e)](_0x1ebf66(0x118))??null;}[_0x4d572f(0x120)]({value:_0x469088}){const _0x373764=_0x4d572f,{editor:_0x501f3a}=this,_0x40689d=_0x501f3a[_0x373764(0x124)][_0x373764(0x128)](_0x4cb8aa),_0x27b044=_0x40689d[_0x373764(0x115)]();_0x27b044&&_0x145392[_0x373764(0x127)](_0x469088)&&_0x501f3a[_0x373764(0x11b)][_0x373764(0x119)](_0x52335a=>{const _0x417205=_0x373764;_0x52335a[_0x417205(0x11a)](_0x417205(0x118),_0x469088,_0x27b044),_0x40689d[_0x417205(0x11d)](_0x52335a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x27f7(){const _0x4406e8=['11xoNVrb','decimal-leading-zero','49mwJHza','upper-latin','101636EpSbbm','lower-alpha','lower-latin','decimal','335078MCIzDu','lower-roman','211494YsTyiP','upper-alpha','673146AGfBUq','2358WRfyXf','16312NWYPVH','upper-roman','8195290MMTbbZ','1136050ekQSOr','6MIbKBD'];_0x27f7=function(){return _0x4406e8;};return _0x27f7();}const _0x21eff5=_0x4a7b;function _0x4a7b(_0x55de57,_0x47a9f3){const _0x27f760=_0x27f7();return _0x4a7b=function(_0x4a7b7b,_0x1ac14a){_0x4a7b7b=_0x4a7b7b-0x9d;let _0x29042b=_0x27f760[_0x4a7b7b];return _0x29042b;},_0x4a7b(_0x55de57,_0x47a9f3);}(function(_0x979d5f,_0x20fd4e){const _0x4e0ec8=_0x4a7b,_0x4efaa7=_0x979d5f();while(!![]){try{const _0xf4f599=-parseInt(_0x4e0ec8(0xa1))/0x1+parseInt(_0x4e0ec8(0xa3))/0x2+-parseInt(_0x4e0ec8(0xab))/0x3*(parseInt(_0x4e0ec8(0x9d))/0x4)+parseInt(_0x4e0ec8(0xaa))/0x5+parseInt(_0x4e0ec8(0xa5))/0x6*(parseInt(_0x4e0ec8(0xae))/0x7)+-parseInt(_0x4e0ec8(0xa7))/0x8*(-parseInt(_0x4e0ec8(0xa6))/0x9)+-parseInt(_0x4e0ec8(0xa9))/0xa*(parseInt(_0x4e0ec8(0xac))/0xb);if(_0xf4f599===_0x20fd4e)break;else _0x4efaa7['push'](_0x4efaa7['shift']());}catch(_0x23f76c){_0x4efaa7['push'](_0x4efaa7['shift']());}}}(_0x27f7,0x6d26f));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x21eff5(0xa0),_0x21eff5(0xad),_0x21eff5(0x9f),_0x21eff5(0xaf),_0x21eff5(0x9e),_0x21eff5(0xa4),_0x21eff5(0xa2),_0x21eff5(0xa8)];
23
+ function _0x2a38(){const _0x19871e=['40700GzoUde','5942493MVbtdk','decimal-leading-zero','lower-roman','1947473gnbIUc','1050FAPvFX','upper-roman','13274EgeilK','lower-latin','upper-latin','decimal','60462AnBqRl','upper-alpha','30QgiJEp','lower-alpha','453GgzJZG','247bGoqzW','8806755wmaDLQ','14254296XVpcex'];_0x2a38=function(){return _0x19871e;};return _0x2a38();}const _0x1fcc3c=_0x367f;function _0x367f(_0xe86fa,_0x35c119){const _0x2a386b=_0x2a38();return _0x367f=function(_0x367f44,_0x2e8986){_0x367f44=_0x367f44-0x7a;let _0x2d2116=_0x2a386b[_0x367f44];return _0x2d2116;},_0x367f(_0xe86fa,_0x35c119);}(function(_0x355222,_0x27abb2){const _0xa7a810=_0x367f,_0x696120=_0x355222();while(!![]){try{const _0x10efed=parseInt(_0xa7a810(0x82))/0x1*(parseInt(_0xa7a810(0x8c))/0x2)+parseInt(_0xa7a810(0x81))/0x3*(-parseInt(_0xa7a810(0x85))/0x4)+parseInt(_0xa7a810(0x83))/0x5+parseInt(_0xa7a810(0x7d))/0x6*(-parseInt(_0xa7a810(0x8a))/0x7)+parseInt(_0xa7a810(0x84))/0x8+-parseInt(_0xa7a810(0x86))/0x9+parseInt(_0xa7a810(0x7f))/0xa*(-parseInt(_0xa7a810(0x89))/0xb);if(_0x10efed===_0x27abb2)break;else _0x696120['push'](_0x696120['shift']());}catch(_0x247d53){_0x696120['push'](_0x696120['shift']());}}}(_0x2a38,0xe63f8));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x1fcc3c(0x7c),_0x1fcc3c(0x87),_0x1fcc3c(0x7a),_0x1fcc3c(0x7b),_0x1fcc3c(0x80),_0x1fcc3c(0x7e),_0x1fcc3c(0x88),_0x1fcc3c(0x8b)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x212913=_0x5150;(function(_0x1da78c,_0x305835){const _0x1cb717=_0x5150,_0xb61b8e=_0x1da78c();while(!![]){try{const _0x372c32=-parseInt(_0x1cb717(0x1e1))/0x1*(parseInt(_0x1cb717(0x1d9))/0x2)+-parseInt(_0x1cb717(0x21d))/0x3*(parseInt(_0x1cb717(0x200))/0x4)+parseInt(_0x1cb717(0x233))/0x5*(-parseInt(_0x1cb717(0x218))/0x6)+parseInt(_0x1cb717(0x211))/0x7+parseInt(_0x1cb717(0x207))/0x8*(parseInt(_0x1cb717(0x20f))/0x9)+-parseInt(_0x1cb717(0x212))/0xa+-parseInt(_0x1cb717(0x1f9))/0xb*(-parseInt(_0x1cb717(0x1d3))/0xc);if(_0x372c32===_0x305835)break;else _0xb61b8e['push'](_0xb61b8e['shift']());}catch(_0x2a0812){_0xb61b8e['push'](_0xb61b8e['shift']());}}}(_0x5735,0x5ac65));function _0x5150(_0x520688,_0x58ecac){const _0x573524=_0x5735();return _0x5150=function(_0x515040,_0x1530f8){_0x515040=_0x515040-0x1ce;let _0x244afa=_0x573524[_0x515040];return _0x244afa;},_0x5150(_0x520688,_0x58ecac);}import{Plugin as _0x11971}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x610ad1}from'./commands/footnotesstylecommand.js';function _0x5735(){const _0xb7fa47=['footnotes.footnotesProperties.defaultStartIndex','getChanges','upper-alpha','element:ol','12fSPjuD','hasAttribute','getChildren','createRangeOn','setStyle','isNaN','38qAQytx','parent','extend','plugins','find','getItems','downcast','getStyle','26479WqXukL','insert','init','hasClass','_formatFootnoteListValue','removeStyle','footnotes-list','mapper','registerPostFixer','_defineSchema','setFootnoteFormatter','isPremiumPlugin','item','lower-alpha','document','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStart','for','writer','upper-latin','attribute:footnotesListStart:footnotesDefinitions','toViewElement','type','define','18216330ifoWSf','_getDefaultListStyle','footnotesStart','_updateFootnotesCounters','modelCursor','toLowerCase','decimal','16bZlRgh','consumable','removeAttribute','upcast','upper-roman','_defineFormatter','footnotes.footnotesProperties.defaultListStyle','161080zYOGtf','add','FootnotesPropertiesEditing','setAttribute','element','getAttribute','list-style-type','viewItem','63rUAnog','commands','652596jmtDGw','1840560cuRmwl','lower-roman','from','_getDefaultStartIndex','model','parseInt','2082mDHlSA','start','position','isOfficialPlugin','lower-latin','432141eUfzlu','padStart','requires','decimal-leading-zero','fromCharCode','floor','footnotesStyle','consume','editor','pluginName','config','schema','toUpperCase','get','footnotesListStyle','_defineConverters','differ','_definePostfixer','max','$text','checkAttribute','nodeAfter','3675dPMNEN','name','footnotesDefinitions'];_0x5735=function(){return _0xb7fa47;};return _0x5735();}import{FootnotesStartCommand as _0x8f188d}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x553c35}from'../footnotestracker.js';import{FootnotesEditing as _0x2bac41}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x11971{static get[_0x212913(0x226)](){const _0x2cb85d=_0x212913;return _0x2cb85d(0x209);}static get[_0x212913(0x21f)](){return[_0x2bac41,_0x553c35];}static get[_0x212913(0x21b)](){return!0x0;}static get[_0x212913(0x1ec)](){return!0x0;}[_0x212913(0x1e3)](){const _0x4cbee2=_0x212913,{editor:_0x4a83ed}=this;_0x4a83ed[_0x4cbee2(0x227)][_0x4cbee2(0x1f8)](_0x4cbee2(0x206),_0x4cbee2(0x1ff)),_0x4a83ed[_0x4cbee2(0x227)][_0x4cbee2(0x1f8)](_0x4cbee2(0x1cf),0x1),_0x4a83ed[_0x4cbee2(0x210)][_0x4cbee2(0x208)](_0x4cbee2(0x223),new _0x610ad1(_0x4a83ed)),_0x4a83ed[_0x4cbee2(0x210)][_0x4cbee2(0x208)](_0x4cbee2(0x1fb),new _0x8f188d(_0x4a83ed)),this[_0x4cbee2(0x1ea)](),this[_0x4cbee2(0x22c)](),this[_0x4cbee2(0x205)](),this[_0x4cbee2(0x22e)]();}[_0x212913(0x1ea)](){const _0x4eae3=_0x212913,{editor:_0x1a200a}=this,{schema:_0x10af0a}=_0x1a200a[_0x4eae3(0x216)];_0x10af0a[_0x4eae3(0x1db)](_0x4eae3(0x1ce),{'allowAttributes':[_0x4eae3(0x22b),_0x4eae3(0x1f1)]});}[_0x212913(0x22c)](){const _0x43463d=_0x212913,{editor:_0x215d0f}=this,{conversion:_0x47fd3e,model:_0x2d8320}=_0x215d0f,{schema:_0x512a2b}=_0x2d8320;_0x47fd3e[_0x43463d(0x1f2)](_0x43463d(0x203))[_0x43463d(0x208)](_0x226cb4=>{const _0x3918c6=_0x43463d;_0x226cb4['on'](_0x3918c6(0x1d2),(_0x455c1c,_0x31afc1,_0x4b76e2)=>{const _0x56d415=_0x3918c6,_0x170b8b=_0x31afc1[_0x56d415(0x20e)],_0xeee58d=_0x31afc1[_0x56d415(0x1fd)]?.[_0x56d415(0x1da)];_0x170b8b[_0x56d415(0x1e4)](_0x56d415(0x1e7))&&_0xeee58d?.['is'](_0x56d415(0x20b),_0x56d415(0x1ce))&&(function(_0x56b3ed,_0x4fd333,_0x2439a6,_0x3315db){const _0x1df80f=_0x56d415;if(!_0x3315db[_0x1df80f(0x231)](_0x4fd333,_0x1df80f(0x1f1)))return;let _0x4d8198=0x1;const _0x4827e9=_0x2439a6[_0x1df80f(0x201)][_0x1df80f(0x224)](_0x56b3ed,{'attributes':_0x1df80f(0x219)});if(_0x4827e9){const _0x17d6ca=Number[_0x1df80f(0x217)](_0x56b3ed[_0x1df80f(0x20c)](_0x1df80f(0x219)),0xa);Number[_0x1df80f(0x1d8)](_0x17d6ca)||(_0x4d8198=_0x17d6ca);}!_0x4827e9&&_0x4fd333[_0x1df80f(0x1d4)](_0x1df80f(0x1f1))||_0x2439a6[_0x1df80f(0x1f3)][_0x1df80f(0x20a)](_0x1df80f(0x1f1),_0x4d8198,_0x4fd333);}(_0x170b8b,_0xeee58d,_0x4b76e2,_0x512a2b),function(_0x407cd5,_0x194180,_0xe1dd14,_0x56a46d){const _0x1305e4=_0x56d415;if(!_0x56a46d[_0x1305e4(0x231)](_0x194180,_0x1305e4(0x22b)))return;let _0x42b36c=_0x1305e4(0x1ff),_0x5c4330=!0x1;if(_0xe1dd14[_0x1305e4(0x201)][_0x1305e4(0x224)](_0x407cd5,{'attributes':_0x1305e4(0x1f7)})){const _0x3bd89b={0x1:_0x1305e4(0x1ff),'a':_0x1305e4(0x1ee),'A':_0x1305e4(0x1d1),'i':_0x1305e4(0x213),'I':_0x1305e4(0x204)}[_0x407cd5[_0x1305e4(0x20c)](_0x1305e4(0x1f7))];_0x3bd89b&&(_0x42b36c=_0x3bd89b),_0x5c4330=!0x0;}_0xe1dd14[_0x1305e4(0x201)][_0x1305e4(0x224)](_0x407cd5,{'styles':_0x1305e4(0x20d)})&&(_0x42b36c=function(_0x550cfa){const _0x257d98=_0x1305e4;switch(_0x550cfa){case _0x257d98(0x1ee):return _0x257d98(0x21c);case _0x257d98(0x1d1):return _0x257d98(0x1f4);default:return _0x550cfa;}}(_0x407cd5[_0x1305e4(0x1e0)](_0x1305e4(0x20d))),_0x5c4330=!0x0),!_0x5c4330&&_0x194180[_0x1305e4(0x1d4)](_0x1305e4(0x22b))||_0xe1dd14[_0x1305e4(0x1f3)][_0x1305e4(0x20a)](_0x1305e4(0x22b),_0x42b36c,_0x194180);}(_0x170b8b,_0xeee58d,_0x4b76e2,_0x512a2b));});}),_0x47fd3e[_0x43463d(0x1f2)](_0x43463d(0x1df))[_0x43463d(0x208)](_0x394e15=>{const _0x356527=_0x43463d;_0x394e15['on'](_0x356527(0x1f5),(_0x61634f,_0x49f96e,_0x3d1c5c)=>{const _0x211b13=_0x356527;if(!_0x3d1c5c[_0x211b13(0x201)][_0x211b13(0x224)](_0x49f96e[_0x211b13(0x1ed)],_0x61634f[_0x211b13(0x234)]))return;const _0x47c5cb=M(_0x49f96e[_0x211b13(0x1ed)],_0x3d1c5c[_0x211b13(0x1e8)]),{attributeNewValue:_0x14f4a1}=_0x49f96e;null==_0x14f4a1||0x1===_0x14f4a1?_0x3d1c5c[_0x211b13(0x1f3)][_0x211b13(0x202)](_0x211b13(0x219),_0x47c5cb):_0x3d1c5c[_0x211b13(0x1f3)][_0x211b13(0x20a)](_0x211b13(0x219),String(_0x14f4a1),_0x47c5cb);}),_0x394e15['on'](_0x356527(0x1f0),(_0x5717fe,_0x53ab29,_0x1fe854)=>{const _0x373a34=_0x356527;if(!_0x1fe854[_0x373a34(0x201)][_0x373a34(0x224)](_0x53ab29[_0x373a34(0x1ed)],_0x5717fe[_0x373a34(0x234)]))return;const _0x25cbc5=M(_0x53ab29[_0x373a34(0x1ed)],_0x1fe854[_0x373a34(0x1e8)]),{attributeNewValue:_0x3f1d31}=_0x53ab29;_0x3f1d31&&_0x373a34(0x1ff)!==_0x3f1d31?_0x1fe854[_0x373a34(0x1f3)][_0x373a34(0x1d7)](_0x373a34(0x20d),_0x3f1d31,_0x25cbc5):_0x1fe854[_0x373a34(0x1f3)][_0x373a34(0x1e6)](_0x373a34(0x20d),_0x25cbc5);});});}[_0x212913(0x22e)](){const _0x15382c=_0x212913,{editor:_0x395cbf}=this,{model:_0x2bbbf8}=_0x395cbf,_0x21b3c6=_0x395cbf[_0x15382c(0x1dc)][_0x15382c(0x22a)](_0x553c35),_0x37e620=this[_0x15382c(0x1fa)](),_0x50ccc2=this[_0x15382c(0x215)]();_0x2bbbf8[_0x15382c(0x1ef)][_0x15382c(0x1e9)](_0x511a96=>{const _0x15d17f=_0x15382c,_0x1e7430=_0x2bbbf8[_0x15d17f(0x1ef)][_0x15d17f(0x22d)][_0x15d17f(0x1d0)]();let _0x2b52f1=!0x1;for(const _0xbba526 of _0x1e7430){if(_0x15d17f(0x1e2)!==_0xbba526[_0x15d17f(0x1f7)]||_0x15d17f(0x230)===_0xbba526[_0x15d17f(0x234)])continue;const _0x12dee0=_0x2bbbf8[_0x15d17f(0x1d6)](_0xbba526[_0x15d17f(0x21a)][_0x15d17f(0x232)]);for(const _0x83634d of _0x12dee0[_0x15d17f(0x1de)]())_0x83634d['is'](_0x15d17f(0x20b),_0x15d17f(0x1ce))&&(!_0x83634d[_0x15d17f(0x1d4)](_0x15d17f(0x1f1))&&_0x2bbbf8[_0x15d17f(0x228)][_0x15d17f(0x231)](_0x83634d,_0x15d17f(0x1f1))&&(_0x511a96[_0x15d17f(0x20a)](_0x15d17f(0x1f1),_0x50ccc2,_0x83634d),_0x2b52f1=!0x0),!_0x83634d[_0x15d17f(0x1d4)](_0x15d17f(0x22b))&&_0x2bbbf8[_0x15d17f(0x228)][_0x15d17f(0x231)](_0x83634d,_0x15d17f(0x22b))&&(_0x511a96[_0x15d17f(0x20a)](_0x15d17f(0x22b),_0x37e620,_0x83634d),_0x2b52f1=!0x0));}return _0x2b52f1&&_0x21b3c6[_0x15d17f(0x1fc)](_0x511a96),_0x2b52f1;});}[_0x212913(0x205)](){const _0x1fc9f2=_0x212913,{editor:_0x1bd48f}=this;_0x1bd48f[_0x1fc9f2(0x1dc)][_0x1fc9f2(0x22a)](_0x553c35)[_0x1fc9f2(0x1eb)](_0x587c95=>this[_0x1fc9f2(0x1e5)](_0x587c95));}[_0x212913(0x1fa)](){const _0x5344cb=_0x212913;return this[_0x5344cb(0x225)][_0x5344cb(0x227)][_0x5344cb(0x22a)](_0x5344cb(0x206));}[_0x212913(0x215)](){const _0x58bf05=_0x212913;return this[_0x58bf05(0x225)][_0x58bf05(0x227)][_0x58bf05(0x22a)](_0x58bf05(0x1cf));}[_0x212913(0x1e5)]({container:_0x150f99,value:_0x4cb33d,digits:_0x4d1427}){const _0x30df48=_0x212913,_0x528cd2=_0x150f99[_0x30df48(0x20c)](_0x30df48(0x22b)),_0x19946c=_0x150f99[_0x30df48(0x20c)](_0x30df48(0x1f1)),_0x4d470c=Math[_0x30df48(0x222)](_0x4cb33d)+(_0x19946c??0x1)-0x1;switch(_0x528cd2){case _0x30df48(0x220):return function(_0x186c47,_0x4649d2){const _0x562a02=_0x30df48;return String(_0x186c47)[_0x562a02(0x21e)](_0x4649d2,'0');}(_0x4d470c,Math[_0x30df48(0x22f)](0x2,_0x4d1427));case _0x30df48(0x1ee):case _0x30df48(0x21c):return N(_0x4d470c,!0x1);case _0x30df48(0x1d1):case _0x30df48(0x1f4):return N(_0x4d470c,!0x0);case _0x30df48(0x213):return X(_0x4d470c,!0x1);case _0x30df48(0x204):return X(_0x4d470c,!0x0);default:return String(_0x4d470c);}}}function M(_0x3bb688,_0x23e4a5){const _0x3e67c6=_0x212913,_0x4d175f=_0x23e4a5[_0x3e67c6(0x1f6)](_0x3bb688);return Array[_0x3e67c6(0x214)](_0x4d175f[_0x3e67c6(0x1d5)]())[_0x3e67c6(0x1dd)](_0x455822=>_0x455822['is'](_0x3e67c6(0x20b),'ol')&&_0x455822[_0x3e67c6(0x1e4)](_0x3e67c6(0x1e7)));}function N(_0x13b7f8,_0x40dba6){const _0x3416ab=_0x212913;let _0x5d8210='',_0x5cca3a=_0x13b7f8;for(;_0x5cca3a>0x0;){const _0x2df29a=(_0x5cca3a-0x1)%0x1a;_0x5d8210=String[_0x3416ab(0x221)](0x61+_0x2df29a)+_0x5d8210,_0x5cca3a=Math[_0x3416ab(0x222)]((_0x5cca3a-0x1)/0x1a);}return _0x40dba6?_0x5d8210[_0x3416ab(0x229)]():_0x5d8210;}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(_0x148f8a,_0x354f6e){const _0x1fb793=_0x212913;let _0xf1c80e='',_0x34c0e7=_0x148f8a;for(const {value:_0x2bba72,numeral:_0x2ccc73}of V)for(;_0x34c0e7>=_0x2bba72;)_0xf1c80e+=_0x2ccc73,_0x34c0e7-=_0x2bba72;return _0x354f6e?_0xf1c80e:_0xf1c80e[_0x1fb793(0x1fe)]();}
23
+ const _0x5ca096=_0x40cb;(function(_0x2e3362,_0x47847d){const _0x4de736=_0x40cb,_0x300db5=_0x2e3362();while(!![]){try{const _0x46181a=-parseInt(_0x4de736(0x181))/0x1+parseInt(_0x4de736(0x1be))/0x2+-parseInt(_0x4de736(0x18e))/0x3*(-parseInt(_0x4de736(0x1b8))/0x4)+-parseInt(_0x4de736(0x1c0))/0x5*(parseInt(_0x4de736(0x1d0))/0x6)+parseInt(_0x4de736(0x1d1))/0x7*(-parseInt(_0x4de736(0x1af))/0x8)+-parseInt(_0x4de736(0x19c))/0x9+-parseInt(_0x4de736(0x19e))/0xa*(-parseInt(_0x4de736(0x1d5))/0xb);if(_0x46181a===_0x47847d)break;else _0x300db5['push'](_0x300db5['shift']());}catch(_0x4bec7e){_0x300db5['push'](_0x300db5['shift']());}}}(_0x132e,0x4da95));import{Plugin as _0x5ac13f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4105bd}from'./commands/footnotesstylecommand.js';function _0x40cb(_0x3eeca5,_0x2dc5d7){const _0x132e4a=_0x132e();return _0x40cb=function(_0x40cb4d,_0x384271){_0x40cb4d=_0x40cb4d-0x178;let _0x2615b0=_0x132e4a[_0x40cb4d];return _0x2615b0;},_0x40cb(_0x3eeca5,_0x2dc5d7);}import{FootnotesStartCommand as _0x2cb6fb}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x404609}from'../footnotestracker.js';import{FootnotesEditing as _0x2d0e55}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5ac13f{static get[_0x5ca096(0x1ad)](){const _0x3e60e6=_0x5ca096;return _0x3e60e6(0x1d4);}static get[_0x5ca096(0x1d2)](){return[_0x2d0e55,_0x404609];}static get[_0x5ca096(0x193)](){return!0x0;}static get[_0x5ca096(0x1bd)](){return!0x0;}[_0x5ca096(0x1c2)](){const _0x509099=_0x5ca096,{editor:_0x32b510}=this;_0x32b510[_0x509099(0x192)][_0x509099(0x1d9)](_0x509099(0x1b0),_0x509099(0x199)),_0x32b510[_0x509099(0x192)][_0x509099(0x1d9)](_0x509099(0x18f),0x1),_0x32b510[_0x509099(0x188)][_0x509099(0x19f)](_0x509099(0x1a5),new _0x4105bd(_0x32b510)),_0x32b510[_0x509099(0x188)][_0x509099(0x19f)](_0x509099(0x18d),new _0x2cb6fb(_0x32b510)),this[_0x509099(0x17b)](),this[_0x509099(0x1cd)](),this[_0x509099(0x1b6)](),this[_0x509099(0x1a9)]();}[_0x5ca096(0x17b)](){const _0x2abae1=_0x5ca096,{editor:_0x356ca1}=this,{schema:_0x5cdee5}=_0x356ca1[_0x2abae1(0x182)];_0x5cdee5[_0x2abae1(0x1b1)](_0x2abae1(0x1dd),{'allowAttributes':[_0x2abae1(0x196),_0x2abae1(0x1c5)]});}[_0x5ca096(0x1cd)](){const _0x4d2e84=_0x5ca096,{editor:_0x56289a}=this,{conversion:_0x573e01,model:_0x512edb}=_0x56289a,{schema:_0x6b0953}=_0x512edb;_0x573e01[_0x4d2e84(0x179)](_0x4d2e84(0x1d7))[_0x4d2e84(0x19f)](_0x259bac=>{const _0x301741=_0x4d2e84;_0x259bac['on'](_0x301741(0x1b9),(_0x1312e3,_0x5ca4c5,_0x12d79)=>{const _0x26d21c=_0x301741,_0x4c6f80=_0x5ca4c5[_0x26d21c(0x194)],_0x24408a=_0x5ca4c5[_0x26d21c(0x17c)]?.[_0x26d21c(0x1b5)];_0x4c6f80[_0x26d21c(0x1cc)](_0x26d21c(0x1ab))&&_0x24408a?.['is'](_0x26d21c(0x1b2),_0x26d21c(0x1dd))&&(function(_0x23539,_0x536fd9,_0x59ad65,_0x379d49){const _0x2118fb=_0x26d21c;if(!_0x379d49[_0x2118fb(0x186)](_0x536fd9,_0x2118fb(0x1c5)))return;let _0x21242f=0x1;const _0x5d5d57=_0x59ad65[_0x2118fb(0x17a)][_0x2118fb(0x1ce)](_0x23539,{'attributes':_0x2118fb(0x1a2)});if(_0x5d5d57){const _0x9afec2=Number[_0x2118fb(0x1c4)](_0x23539[_0x2118fb(0x19a)](_0x2118fb(0x1a2)),0xa);Number[_0x2118fb(0x1a0)](_0x9afec2)||(_0x21242f=_0x9afec2);}!_0x5d5d57&&_0x536fd9[_0x2118fb(0x180)](_0x2118fb(0x1c5))||_0x59ad65[_0x2118fb(0x1a8)][_0x2118fb(0x1dc)](_0x2118fb(0x1c5),_0x21242f,_0x536fd9);}(_0x4c6f80,_0x24408a,_0x12d79,_0x6b0953),function(_0x2d8934,_0x4ed69e,_0x504b75,_0x184f09){const _0x16752c=_0x26d21c;if(!_0x184f09[_0x16752c(0x186)](_0x4ed69e,_0x16752c(0x196)))return;let _0x32edf5=_0x16752c(0x199),_0xfbdcea=!0x1;if(_0x504b75[_0x16752c(0x17a)][_0x16752c(0x1ce)](_0x2d8934,{'attributes':_0x16752c(0x1a3)})){const _0xd443ad={0x1:_0x16752c(0x199),'a':_0x16752c(0x195),'A':_0x16752c(0x1c9),'i':_0x16752c(0x1b7),'I':_0x16752c(0x1b4)}[_0x2d8934[_0x16752c(0x19a)](_0x16752c(0x1a3))];_0xd443ad&&(_0x32edf5=_0xd443ad),_0xfbdcea=!0x0;}_0x504b75[_0x16752c(0x17a)][_0x16752c(0x1ce)](_0x2d8934,{'styles':_0x16752c(0x1d6)})&&(_0x32edf5=function(_0x1157b9){const _0x324893=_0x16752c;switch(_0x1157b9){case _0x324893(0x195):return _0x324893(0x17f);case _0x324893(0x1c9):return _0x324893(0x1ae);default:return _0x1157b9;}}(_0x2d8934[_0x16752c(0x1aa)](_0x16752c(0x1d6))),_0xfbdcea=!0x0),!_0xfbdcea&&_0x4ed69e[_0x16752c(0x180)](_0x16752c(0x196))||_0x504b75[_0x16752c(0x1a8)][_0x16752c(0x1dc)](_0x16752c(0x196),_0x32edf5,_0x4ed69e);}(_0x4c6f80,_0x24408a,_0x12d79,_0x6b0953));});}),_0x573e01[_0x4d2e84(0x179)](_0x4d2e84(0x17e))[_0x4d2e84(0x19f)](_0x129965=>{const _0x2c1018=_0x4d2e84;_0x129965['on'](_0x2c1018(0x1db),(_0x10e926,_0x2758ef,_0x5cbddb)=>{const _0x88fc12=_0x2c1018;if(!_0x5cbddb[_0x88fc12(0x17a)][_0x88fc12(0x1ce)](_0x2758ef[_0x88fc12(0x1c6)],_0x10e926[_0x88fc12(0x1ca)]))return;const _0x31257f=M(_0x2758ef[_0x88fc12(0x1c6)],_0x5cbddb[_0x88fc12(0x1ba)]),{attributeNewValue:_0x290390}=_0x2758ef;null==_0x290390||0x1===_0x290390?_0x5cbddb[_0x88fc12(0x1a8)][_0x88fc12(0x191)](_0x88fc12(0x1a2),_0x31257f):_0x5cbddb[_0x88fc12(0x1a8)][_0x88fc12(0x1dc)](_0x88fc12(0x1a2),String(_0x290390),_0x31257f);}),_0x129965['on'](_0x2c1018(0x1a6),(_0x3dc322,_0x283654,_0x415b82)=>{const _0x1bc114=_0x2c1018;if(!_0x415b82[_0x1bc114(0x17a)][_0x1bc114(0x1ce)](_0x283654[_0x1bc114(0x1c6)],_0x3dc322[_0x1bc114(0x1ca)]))return;const _0xce039c=M(_0x283654[_0x1bc114(0x1c6)],_0x415b82[_0x1bc114(0x1ba)]),{attributeNewValue:_0x1b6493}=_0x283654;_0x1b6493&&_0x1bc114(0x199)!==_0x1b6493?_0x415b82[_0x1bc114(0x1a8)][_0x1bc114(0x183)](_0x1bc114(0x1d6),_0x1b6493,_0xce039c):_0x415b82[_0x1bc114(0x1a8)][_0x1bc114(0x1d8)](_0x1bc114(0x1d6),_0xce039c);});});}[_0x5ca096(0x1a9)](){const _0x3dcdb0=_0x5ca096,{editor:_0x21086d}=this,{model:_0x404173}=_0x21086d,_0x8003ad=_0x21086d[_0x3dcdb0(0x18b)][_0x3dcdb0(0x187)](_0x404609),_0x32167e=this[_0x3dcdb0(0x1cf)](),_0x48160a=this[_0x3dcdb0(0x1d3)]();_0x404173[_0x3dcdb0(0x1a7)][_0x3dcdb0(0x1c1)](_0x4d0d88=>{const _0x3cac6a=_0x3dcdb0,_0x228046=_0x404173[_0x3cac6a(0x1a7)][_0x3cac6a(0x1bb)][_0x3cac6a(0x1c7)]();let _0x54bab3=!0x1;for(const _0x477bc1 of _0x228046){if(_0x3cac6a(0x1da)!==_0x477bc1[_0x3cac6a(0x1a3)]||_0x3cac6a(0x189)===_0x477bc1[_0x3cac6a(0x1ca)])continue;const _0x524107=_0x404173[_0x3cac6a(0x178)](_0x477bc1[_0x3cac6a(0x1a4)][_0x3cac6a(0x1ac)]);for(const _0x1ebfc9 of _0x524107[_0x3cac6a(0x197)]())_0x1ebfc9['is'](_0x3cac6a(0x1b2),_0x3cac6a(0x1dd))&&(!_0x1ebfc9[_0x3cac6a(0x180)](_0x3cac6a(0x1c5))&&_0x404173[_0x3cac6a(0x1b3)][_0x3cac6a(0x186)](_0x1ebfc9,_0x3cac6a(0x1c5))&&(_0x4d0d88[_0x3cac6a(0x1dc)](_0x3cac6a(0x1c5),_0x48160a,_0x1ebfc9),_0x54bab3=!0x0),!_0x1ebfc9[_0x3cac6a(0x180)](_0x3cac6a(0x196))&&_0x404173[_0x3cac6a(0x1b3)][_0x3cac6a(0x186)](_0x1ebfc9,_0x3cac6a(0x196))&&(_0x4d0d88[_0x3cac6a(0x1dc)](_0x3cac6a(0x196),_0x32167e,_0x1ebfc9),_0x54bab3=!0x0));}return _0x54bab3&&_0x8003ad[_0x3cac6a(0x1c3)](_0x4d0d88),_0x54bab3;});}[_0x5ca096(0x1b6)](){const _0x3a97a9=_0x5ca096,{editor:_0x420f69}=this;_0x420f69[_0x3a97a9(0x18b)][_0x3a97a9(0x187)](_0x404609)[_0x3a97a9(0x1bc)](_0x1f7168=>this[_0x3a97a9(0x1cb)](_0x1f7168));}[_0x5ca096(0x1cf)](){const _0x320e19=_0x5ca096;return this[_0x320e19(0x19b)][_0x320e19(0x192)][_0x320e19(0x187)](_0x320e19(0x1b0));}[_0x5ca096(0x1d3)](){const _0xb5165b=_0x5ca096;return this[_0xb5165b(0x19b)][_0xb5165b(0x192)][_0xb5165b(0x187)](_0xb5165b(0x18f));}[_0x5ca096(0x1cb)]({container:_0x41e8fb,value:_0x3ac1d8,digits:_0x4988a1}){const _0x2f489b=_0x5ca096,_0x21cc06=_0x41e8fb[_0x2f489b(0x19a)](_0x2f489b(0x196)),_0x1da601=_0x41e8fb[_0x2f489b(0x19a)](_0x2f489b(0x1c5)),_0xff974e=Math[_0x2f489b(0x185)](_0x3ac1d8)+(_0x1da601??0x1)-0x1;switch(_0x21cc06){case _0x2f489b(0x1c8):return function(_0x347e6f,_0x4168c6){const _0x4d5136=_0x2f489b;return String(_0x347e6f)[_0x4d5136(0x1a1)](_0x4168c6,'0');}(_0xff974e,Math[_0x2f489b(0x184)](0x2,_0x4988a1));case _0x2f489b(0x195):case _0x2f489b(0x17f):return N(_0xff974e,!0x1);case _0x2f489b(0x1c9):case _0x2f489b(0x1ae):return N(_0xff974e,!0x0);case _0x2f489b(0x1b7):return X(_0xff974e,!0x1);case _0x2f489b(0x1b4):return X(_0xff974e,!0x0);default:return String(_0xff974e);}}}function _0x132e(){const _0x515778=['setStyle','max','floor','checkAttribute','get','commands','$text','getChildren','plugins','toViewElement','footnotesStart','14883PzVwRk','footnotes.footnotesProperties.defaultStartIndex','toLowerCase','removeAttribute','config','isOfficialPlugin','viewItem','lower-alpha','footnotesListStyle','getItems','toUpperCase','decimal','getAttribute','editor','438480vSIuxx','find','10MpKFBg','add','isNaN','padStart','start','type','position','footnotesStyle','attribute:footnotesListStyle:footnotesDefinitions','document','writer','_definePostfixer','getStyle','footnotes-list','nodeAfter','pluginName','upper-latin','24ngYFzA','footnotes.footnotesProperties.defaultListStyle','extend','element','schema','upper-roman','parent','_defineFormatter','lower-roman','496coayHR','element:ol','mapper','differ','setFootnoteFormatter','isPremiumPlugin','950078nMSkWe','fromCharCode','2554795ypITLV','registerPostFixer','init','_updateFootnotesCounters','parseInt','footnotesListStart','item','getChanges','decimal-leading-zero','upper-alpha','name','_formatFootnoteListValue','hasClass','_defineConverters','consume','_getDefaultListStyle','6MjhEob','976241pGPxMU','requires','_getDefaultStartIndex','FootnotesPropertiesEditing','2560393zyooYY','list-style-type','upcast','removeStyle','define','insert','attribute:footnotesListStart:footnotesDefinitions','setAttribute','footnotesDefinitions','createRangeOn','for','consumable','_defineSchema','modelCursor','from','downcast','lower-latin','hasAttribute','26797GjWWal','model'];_0x132e=function(){return _0x515778;};return _0x132e();}function M(_0x279af1,_0x3bcb4b){const _0x5d91ad=_0x5ca096,_0x5a4aaf=_0x3bcb4b[_0x5d91ad(0x18c)](_0x279af1);return Array[_0x5d91ad(0x17d)](_0x5a4aaf[_0x5d91ad(0x18a)]())[_0x5d91ad(0x19d)](_0xdfd2bc=>_0xdfd2bc['is'](_0x5d91ad(0x1b2),'ol')&&_0xdfd2bc[_0x5d91ad(0x1cc)](_0x5d91ad(0x1ab)));}function N(_0xf78622,_0x32f5bb){const _0x6bbf60=_0x5ca096;let _0x54496a='',_0xd0dfee=_0xf78622;for(;_0xd0dfee>0x0;){const _0x1dc205=(_0xd0dfee-0x1)%0x1a;_0x54496a=String[_0x6bbf60(0x1bf)](0x61+_0x1dc205)+_0x54496a,_0xd0dfee=Math[_0x6bbf60(0x185)]((_0xd0dfee-0x1)/0x1a);}return _0x32f5bb?_0x54496a[_0x6bbf60(0x198)]():_0x54496a;}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(_0x502d4b,_0x1ada55){const _0x56bc3b=_0x5ca096;let _0x3a9996='',_0x4d7bcd=_0x502d4b;for(const {value:_0x3a6995,numeral:_0x52c390}of V)for(;_0x4d7bcd>=_0x3a6995;)_0x3a9996+=_0x52c390,_0x4d7bcd-=_0x3a6995;return _0x1ada55?_0x3a9996:_0x3a9996[_0x56bc3b(0x190)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x5b60ef,ButtonView as _0x24ee84,ContextualBalloon as _0x1493d0,createDropdown as _0x228ecd}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x97e4d1}from'ckeditor5/src/widget.js';import{Plugin as _0xff0a11}from'ckeditor5/src/core.js';import{IconFootnote as _0x442c3f,IconListStyleDecimal as _0x58872b,IconListStyleDecimalLeadingZero as _0x1ec3eb,IconListStyleLowerLatin as _0x4943e2,IconListStyleLowerRoman as _0x5f450d,IconListStyleUpperLatin as _0x10074c,IconListStyleUpperRoman as _0x3d7ef3}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3ee191}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3c3429}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xff0a11{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1493d0,_0x97e4d1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x16fc6f}=this,{componentFactory:_0x13450a}=_0x16fc6f['ui'];_0x16fc6f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x13450a['add']('footnotesStyle',function(_0x148188){return _0x25668c=>{const {t:t}=_0x25668c,_0x2c2602=_0x148188['commands']['get']('footnotesStyle'),_0x5acce3=_0x228ecd(_0x25668c),{buttonView:_0x1baffe}=_0x5acce3;return _0x5acce3['class']='ck-footnotes-styles-dropdown',_0x5acce3['bind']('isEnabled')['to'](_0x2c2602,'isEnabled'),_0x1baffe['set']({'label':t('Footnotes\x20style'),'icon':_0x442c3f,'tooltip':!0x0}),_0x5acce3['once']('change:isOpen',()=>{const _0x4986d3=function({editor:_0x9e4a12,dropdownView:_0x14a1f2}){const {t:t}=_0x9e4a12['locale'],_0x541efe=t('Footnotes\x20definitions\x20styles'),_0x2779a7=function(_0x1c6869){const t=_0x1c6869['locale']['t'],_0x459d34=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x58872b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1ec3eb},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5f450d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3d7ef3},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4943e2},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x10074c}];return _0x459d34['map'](function(_0x10bfd6){const _0x4f8690=_0x10bfd6['locale'];return({label:_0x16db08,icon:_0x3826c5,tooltip:_0x13a10c,style:_0x1098b5})=>{const _0x251ed6=_0x10bfd6['commands']['get']('footnotesStyle'),_0xcfa913=new _0x24ee84(_0x4f8690);return _0xcfa913['set']({'label':_0x16db08,'icon':_0x3826c5,'tooltip':_0x13a10c}),_0xcfa913['bind']('isOn')['to'](_0x251ed6,'value',_0x4e22f2=>_0x4e22f2===_0x1098b5),_0xcfa913['bind']('isEnabled')['to'](_0x251ed6,'isEnabled'),_0xcfa913['on']('execute',()=>{_0x10bfd6['execute']('footnotesStyle',{'value':_0x1098b5}),_0x10bfd6['editing']['view']['focus']();}),_0xcfa913;};}(_0x1c6869));}(_0x9e4a12),_0x4b2457=new _0x3ee191(_0x9e4a12['locale'],{'styleGridAriaLabel':_0x541efe,'styleButtonViews':_0x2779a7}),_0x3e80ff=_0x9e4a12['commands']['get']('footnotesStart');return _0x4b2457['startIndexFieldView']['bind']('isEnabled')['to'](_0x3e80ff),_0x4b2457['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3e80ff),_0x4b2457['on']('footnotesListStart',(_0x5732b5,_0x2532bf)=>{_0x9e4a12['execute']('footnotesStart',{'value':_0x2532bf['startIndex']});}),_0x4b2457['delegate']('execute')['to'](_0x14a1f2),_0x4b2457;}({'editor':_0x148188,'dropdownView':_0x5acce3});_0x5acce3['panelView']['children']['add'](_0x4986d3);}),_0x5acce3;};}(_0x16fc6f));}['afterInit'](){const {editor:_0x4acf4e}=this,{t:t}=_0x4acf4e['locale'],_0x8d6b7d=_0x4acf4e['plugins']['get'](_0x97e4d1),{defaultPositions:_0x21ad89}=_0x5b60ef;_0x8d6b7d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4acf4e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2a9a03=>{let _0x3d4168=_0x2a9a03['getFirstPosition']()?.['parent'];return _0x3d4168?.['is']('$text')&&(_0x3d4168=_0x3d4168['parent']),_0x3d4168?.['is']('element')?_0x3d4168['findAncestor'](_0x3c3429):null;},'positions':[_0x21ad89['southArrowNorth'],_0x21ad89['southArrowNorthMiddleWest'],_0x21ad89['southArrowNorthMiddleEast'],_0x21ad89['southArrowNorthWest'],_0x21ad89['southArrowNorthEast'],_0x21ad89['northArrowSouth'],_0x21ad89['northArrowSouthMiddleWest'],_0x21ad89['northArrowSouthMiddleEast'],_0x21ad89['northArrowSouthWest'],_0x21ad89['northArrowSouthEast'],_0x21ad89['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x10e8a5,ButtonView as _0x323888,ContextualBalloon as _0x35ce97,createDropdown as _0x52e28d}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2640da}from'ckeditor5/src/widget.js';import{Plugin as _0x20e24f}from'ckeditor5/src/core.js';import{IconFootnote as _0x3ca94c,IconListStyleDecimal as _0x4b6d81,IconListStyleDecimalLeadingZero as _0x41f7b2,IconListStyleLowerLatin as _0x35e665,IconListStyleLowerRoman as _0x83d29,IconListStyleUpperLatin as _0x5cba37,IconListStyleUpperRoman as _0x589642}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5e4857}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x36b4b6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x20e24f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x35ce97,_0x2640da];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4b5a8d}=this,{componentFactory:_0x33bec6}=_0x4b5a8d['ui'];_0x4b5a8d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x33bec6['add']('footnotesStyle',function(_0x319829){return _0x627da1=>{const {t:t}=_0x627da1,_0x2a7b68=_0x319829['commands']['get']('footnotesStyle'),_0x5cf829=_0x52e28d(_0x627da1),{buttonView:_0x2b0229}=_0x5cf829;return _0x5cf829['class']='ck-footnotes-styles-dropdown',_0x5cf829['bind']('isEnabled')['to'](_0x2a7b68,'isEnabled'),_0x2b0229['set']({'label':t('Footnotes\x20style'),'icon':_0x3ca94c,'tooltip':!0x0}),_0x5cf829['once']('change:isOpen',()=>{const _0x2b4fb1=function({editor:_0x5ce2dc,dropdownView:_0x15ceec}){const {t:t}=_0x5ce2dc['locale'],_0x3b1101=t('Footnotes\x20definitions\x20styles'),_0x276d0b=function(_0x1eb4ef){const t=_0x1eb4ef['locale']['t'],_0x16fa45=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4b6d81},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x41f7b2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x83d29},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x589642},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x35e665},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5cba37}];return _0x16fa45['map'](function(_0x5d02f5){const _0x2f1098=_0x5d02f5['locale'];return({label:_0x344dcb,icon:_0x4d2ccf,tooltip:_0x1f493a,style:_0xbc862d})=>{const _0x483d67=_0x5d02f5['commands']['get']('footnotesStyle'),_0x543380=new _0x323888(_0x2f1098);return _0x543380['set']({'label':_0x344dcb,'icon':_0x4d2ccf,'tooltip':_0x1f493a}),_0x543380['bind']('isOn')['to'](_0x483d67,'value',_0x2958b8=>_0x2958b8===_0xbc862d),_0x543380['bind']('isEnabled')['to'](_0x483d67,'isEnabled'),_0x543380['on']('execute',()=>{_0x5d02f5['execute']('footnotesStyle',{'value':_0xbc862d}),_0x5d02f5['editing']['view']['focus']();}),_0x543380;};}(_0x1eb4ef));}(_0x5ce2dc),_0x5c68f4=new _0x5e4857(_0x5ce2dc['locale'],{'styleGridAriaLabel':_0x3b1101,'styleButtonViews':_0x276d0b}),_0x1a0c47=_0x5ce2dc['commands']['get']('footnotesStart');return _0x5c68f4['startIndexFieldView']['bind']('isEnabled')['to'](_0x1a0c47),_0x5c68f4['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1a0c47),_0x5c68f4['on']('footnotesListStart',(_0x449960,_0x5e89f7)=>{_0x5ce2dc['execute']('footnotesStart',{'value':_0x5e89f7['startIndex']});}),_0x5c68f4['delegate']('execute')['to'](_0x15ceec),_0x5c68f4;}({'editor':_0x319829,'dropdownView':_0x5cf829});_0x5cf829['panelView']['children']['add'](_0x2b4fb1);}),_0x5cf829;};}(_0x4b5a8d));}['afterInit'](){const {editor:_0x16d708}=this,{t:t}=_0x16d708['locale'],_0x2a7057=_0x16d708['plugins']['get'](_0x2640da),{defaultPositions:_0x21912a}=_0x10e8a5;_0x2a7057['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x16d708['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x257822=>{let _0x246065=_0x257822['getFirstPosition']()?.['parent'];return _0x246065?.['is']('$text')&&(_0x246065=_0x246065['parent']),_0x246065?.['is']('element')?_0x246065['findAncestor'](_0x36b4b6):null;},'positions':[_0x21912a['southArrowNorth'],_0x21912a['southArrowNorthMiddleWest'],_0x21912a['southArrowNorthMiddleEast'],_0x21912a['southArrowNorthWest'],_0x21912a['southArrowNorthEast'],_0x21912a['northArrowSouth'],_0x21912a['northArrowSouthMiddleWest'],_0x21912a['northArrowSouthMiddleEast'],_0x21912a['northArrowSouthWest'],_0x21912a['northArrowSouthEast'],_0x21912a['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x12c4dc,View as _0x37a610,ViewCollection as _0x445ded,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 _0x37a610{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x445ded();['focusCycler'];constructor(_0x27d24e,{styleButtonViews:_0x5386e4,styleGridAriaLabel:_0xc76c34}){super(_0x27d24e),(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'](_0x5386e4,_0xc76c34),[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 _0xdf6d74 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xdf6d74['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 _0xee6bc2=_0x3a6029=>_0x3a6029['stopPropagation']();this['keystrokes']['set']('arrowright',_0xee6bc2),this['keystrokes']['set']('arrowleft',_0xee6bc2),this['keystrokes']['set']('arrowup',_0xee6bc2),this['keystrokes']['set']('arrowdown',_0xee6bc2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x295198,_0x533281){const _0x298d2b=new _0x37a610(this['locale']);return _0x298d2b['children']=_0x298d2b['createCollection'](),_0x298d2b['children']['addMany'](_0x295198),_0x298d2b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x533281,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x298d2b['children']}),_0x298d2b['children']['delegate']('execute')['to'](this),_0x298d2b['focus']=function(){for(const _0x1fd952 of this['children'])if(_0x1fd952 instanceof _0x12c4dc&&_0x1fd952['isOn'])return void _0x1fd952['focus']();this['children']['first']['focus']();},_0x298d2b['focusTracker']=new rt(),_0x298d2b['keystrokes']=new nt(),_0x298d2b['render'](),_0x298d2b['keystrokes']['listenTo'](_0x298d2b['element']),this['children']['add'](_0x298d2b),_0x298d2b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xd95bda=this['_createStartIndexPropertyView'](),_0x261fe7=[_0xd95bda],_0x517a84=new it(this['locale'],_0x261fe7);return _0x517a84['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x517a84['buttonView']['bind']('isEnabled')['toMany'](_0x261fe7,'isEnabled',(..._0x5736f7)=>_0x5736f7['some'](_0x3e0d88=>_0x3e0d88)),_0x517a84['buttonView']['on']('change:isEnabled',(_0x544070,_0x109b2e,_0x4479e5)=>{_0x4479e5||(_0x517a84['isCollapsed']=!0x0);}),this['children']['add'](_0x517a84),[_0xd95bda,_0x517a84];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x349c04=new et(this['locale'],ot);return _0x349c04['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x349c04['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x349c04['fieldView']['on']('input',()=>{const _0x1736a8=_0x349c04['fieldView']['element'],_0x53016c=_0x1736a8['valueAsNumber'];Number['isNaN'](_0x53016c)?_0x349c04['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1736a8['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x53016c}):_0x349c04['errorText']=t(_0x53016c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x349c04;}}
23
+ import{ButtonView as _0xad58cf,View as _0x27cbd1,ViewCollection as _0x12685a,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 _0x27cbd1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x12685a();['focusCycler'];constructor(_0x5d3e3c,{styleButtonViews:_0x247d2d,styleGridAriaLabel:_0x296117}){super(_0x5d3e3c),(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'](_0x247d2d,_0x296117),[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 _0x505835 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x505835['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 _0x19b829=_0x490509=>_0x490509['stopPropagation']();this['keystrokes']['set']('arrowright',_0x19b829),this['keystrokes']['set']('arrowleft',_0x19b829),this['keystrokes']['set']('arrowup',_0x19b829),this['keystrokes']['set']('arrowdown',_0x19b829);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1b8b96,_0x11e5ea){const _0x52009b=new _0x27cbd1(this['locale']);return _0x52009b['children']=_0x52009b['createCollection'](),_0x52009b['children']['addMany'](_0x1b8b96),_0x52009b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x11e5ea,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x52009b['children']}),_0x52009b['children']['delegate']('execute')['to'](this),_0x52009b['focus']=function(){for(const _0x3921f4 of this['children'])if(_0x3921f4 instanceof _0xad58cf&&_0x3921f4['isOn'])return void _0x3921f4['focus']();this['children']['first']['focus']();},_0x52009b['focusTracker']=new rt(),_0x52009b['keystrokes']=new nt(),_0x52009b['render'](),_0x52009b['keystrokes']['listenTo'](_0x52009b['element']),this['children']['add'](_0x52009b),_0x52009b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x7089ae=this['_createStartIndexPropertyView'](),_0x15c998=[_0x7089ae],_0x7958e7=new it(this['locale'],_0x15c998);return _0x7958e7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x7958e7['buttonView']['bind']('isEnabled')['toMany'](_0x15c998,'isEnabled',(..._0x2826f4)=>_0x2826f4['some'](_0x16a68b=>_0x16a68b)),_0x7958e7['buttonView']['on']('change:isEnabled',(_0xbc6370,_0x43a68f,_0x4a52e2)=>{_0x4a52e2||(_0x7958e7['isCollapsed']=!0x0);}),this['children']['add'](_0x7958e7),[_0x7089ae,_0x7958e7];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x528bac=new et(this['locale'],ot);return _0x528bac['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x528bac['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x528bac['fieldView']['on']('input',()=>{const _0x55ecff=_0x528bac['fieldView']['element'],_0x488540=_0x55ecff['valueAsNumber'];Number['isNaN'](_0x488540)?_0x528bac['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x55ecff['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x488540}):_0x528bac['errorText']=t(_0x488540<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x528bac;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1fb82a=_0x4e7f;(function(_0x62317d,_0x129b67){var _0x567ee5=_0x4e7f,_0x5aee6=_0x62317d();while(!![]){try{var _0x394c2a=-parseInt(_0x567ee5(0xa6))/0x1+-parseInt(_0x567ee5(0xa9))/0x2+parseInt(_0x567ee5(0xa1))/0x3*(-parseInt(_0x567ee5(0xa7))/0x4)+-parseInt(_0x567ee5(0xa5))/0x5+parseInt(_0x567ee5(0x9e))/0x6+parseInt(_0x567ee5(0xa0))/0x7+parseInt(_0x567ee5(0xa3))/0x8;if(_0x394c2a===_0x129b67)break;else _0x5aee6['push'](_0x5aee6['shift']());}catch(_0x539e08){_0x5aee6['push'](_0x5aee6['shift']());}}}(_0x252a,0x2e767));import{Plugin as _0x368c1e}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x166d80}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x598028}from'./footnotesproperties/footnotespropertiesui.js';function _0x4e7f(_0x22ac7c,_0x1838da){var _0x252abd=_0x252a();return _0x4e7f=function(_0x4e7feb,_0x52d884){_0x4e7feb=_0x4e7feb-0x9e;var _0x2824c0=_0x252abd[_0x4e7feb];return _0x2824c0;},_0x4e7f(_0x22ac7c,_0x1838da);}function _0x252a(){var _0x28ac98=['286390GAEWUw','211348Bcphua','4cMjZVw','isOfficialPlugin','503634JrMnYf','requires','1706928zOxkJx','isPremiumPlugin','126133OZXJRw','197097GoLMTi','pluginName','3791568fJVWpH','FootnotesProperties'];_0x252a=function(){return _0x28ac98;};return _0x252a();}export class FootnotesProperties extends _0x368c1e{static get[_0x1fb82a(0xa2)](){var _0xca71b=_0x1fb82a;return _0xca71b(0xa4);}static get[_0x1fb82a(0xaa)](){return[_0x166d80,_0x598028];}static get[_0x1fb82a(0xa8)](){return!0x0;}static get[_0x1fb82a(0x9f)](){return!0x0;}}
23
+ function _0x44d9(_0x335b23,_0x2d44fd){var _0x2ad4b9=_0x2ad4();return _0x44d9=function(_0x44d9ff,_0x3a67eb){_0x44d9ff=_0x44d9ff-0x124;var _0x229c0c=_0x2ad4b9[_0x44d9ff];return _0x229c0c;},_0x44d9(_0x335b23,_0x2d44fd);}var _0x2733c4=_0x44d9;(function(_0x1c02df,_0x493a74){var _0x538192=_0x44d9,_0x389c4a=_0x1c02df();while(!![]){try{var _0x230a9f=-parseInt(_0x538192(0x129))/0x1*(parseInt(_0x538192(0x127))/0x2)+parseInt(_0x538192(0x126))/0x3+-parseInt(_0x538192(0x12b))/0x4*(-parseInt(_0x538192(0x131))/0x5)+-parseInt(_0x538192(0x125))/0x6+parseInt(_0x538192(0x128))/0x7+-parseInt(_0x538192(0x12d))/0x8+parseInt(_0x538192(0x12e))/0x9;if(_0x230a9f===_0x493a74)break;else _0x389c4a['push'](_0x389c4a['shift']());}catch(_0x545642){_0x389c4a['push'](_0x389c4a['shift']());}}}(_0x2ad4,0x76a36));import{Plugin as _0xdade9b}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x1f310c}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x44e164}from'./footnotesproperties/footnotespropertiesui.js';function _0x2ad4(){var _0xb496cb=['1616004UauMCS','595131YgdZvX','492638SKGfCA','3450650cKBWRm','3zLQaIm','isOfficialPlugin','176844LZbWyx','requires','4464104xcVMRC','8667180MCsxgM','isPremiumPlugin','FootnotesProperties','45qkrLzS','pluginName'];_0x2ad4=function(){return _0xb496cb;};return _0x2ad4();}export class FootnotesProperties extends _0xdade9b{static get[_0x2733c4(0x124)](){var _0x36ee00=_0x2733c4;return _0x36ee00(0x130);}static get[_0x2733c4(0x12c)](){return[_0x1f310c,_0x44e164];}static get[_0x2733c4(0x12a)](){return!0x0;}static get[_0x2733c4(0x12f)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ac8(_0x19956d,_0x8a4ca5){const _0x133ec9=_0x133e();return _0x3ac8=function(_0x3ac823,_0x8815b0){_0x3ac823=_0x3ac823-0xca;let _0x2b3f9c=_0x133ec9[_0x3ac823];return _0x2b3f9c;},_0x3ac8(_0x19956d,_0x8a4ca5);}const _0x56c36c=_0x3ac8;(function(_0x5d7f0c,_0x1910a5){const _0x3e2396=_0x3ac8,_0x7a34ce=_0x5d7f0c();while(!![]){try{const _0x4def25=parseInt(_0x3e2396(0xf7))/0x1*(parseInt(_0x3e2396(0xd5))/0x2)+parseInt(_0x3e2396(0xde))/0x3*(-parseInt(_0x3e2396(0x12f))/0x4)+-parseInt(_0x3e2396(0x126))/0x5+parseInt(_0x3e2396(0x111))/0x6*(-parseInt(_0x3e2396(0xd8))/0x7)+-parseInt(_0x3e2396(0x105))/0x8*(-parseInt(_0x3e2396(0xf2))/0x9)+parseInt(_0x3e2396(0xfc))/0xa*(parseInt(_0x3e2396(0x11b))/0xb)+parseInt(_0x3e2396(0x107))/0xc*(parseInt(_0x3e2396(0xef))/0xd);if(_0x4def25===_0x1910a5)break;else _0x7a34ce['push'](_0x7a34ce['shift']());}catch(_0xfc3c55){_0x7a34ce['push'](_0x7a34ce['shift']());}}}(_0x133e,0x75782));import{Plugin as _0x2e5936}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x529132}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2e5936{[_0x56c36c(0x11c)]=[];[_0x56c36c(0x122)]=null;[_0x56c36c(0xfb)]=null;[_0x56c36c(0x100)];[_0x56c36c(0x11d)];[_0x56c36c(0xe1)];static get[_0x56c36c(0x127)](){const _0x228fd1=_0x56c36c;return _0x228fd1(0x104);}static get[_0x56c36c(0x110)](){return!0x0;}static get[_0x56c36c(0x119)](){return!0x0;}constructor(_0x346dac){const _0x38c7ee=_0x56c36c;super(_0x346dac),this[_0x38c7ee(0x100)]=new _0x529132(this[_0x38c7ee(0xda)][_0x38c7ee(0x103)],{'elementName':_0x38c7ee(0xd2),'getElementKey':()=>_0x38c7ee(0xf5)}),this[_0x38c7ee(0x11d)]=new _0x529132(this[_0x38c7ee(0xda)][_0x38c7ee(0x103)],{'elementName':_0x38c7ee(0xcc),'getElementKey':_0x3c93c3=>_0x3c93c3[_0x38c7ee(0xed)](_0x38c7ee(0xd6))}),this[_0x38c7ee(0xe1)]=new _0x529132(this[_0x38c7ee(0xda)][_0x38c7ee(0x103)],{'elementName':_0x38c7ee(0xd1),'getElementKey':_0x10b35a=>_0x10b35a[_0x38c7ee(0xed)](_0x38c7ee(0xd6))});}[_0x56c36c(0x123)](){const _0x33a179=_0x56c36c,{editor:_0x3e9205}=this,{model:_0x5108f8,data:_0x23a0c3}=_0x3e9205;_0x5108f8[_0x33a179(0xfd)][_0x33a179(0xf0)](_0x100af3=>{const _0x33b3f7=_0x33a179,_0xaa6549=_0x5108f8[_0x33b3f7(0xfd)][_0x33b3f7(0xf6)][_0x33b3f7(0x112)]();let _0x24df0=!0x1;return this[_0x33b3f7(0xe6)](_0x100af3,_0xaa6549)&&(_0x24df0=!0x0),this[_0x33b3f7(0xff)](_0x100af3,_0xaa6549)&&(_0x24df0=!0x0),this[_0x33b3f7(0xeb)](_0x100af3,_0xaa6549)&&(_0x24df0=!0x0),this[_0x33b3f7(0xce)](_0x100af3)&&(_0x24df0=!0x0),this[_0x33b3f7(0x114)](_0x100af3)&&(_0x24df0=!0x0),this[_0x33b3f7(0x118)](_0x100af3)&&(_0x24df0=!0x0),_0x24df0;}),this[_0x33a179(0x129)](_0x5108f8[_0x33a179(0xfd)],_0x33a179(0xe7),()=>{const _0x29e2f1=_0x33a179;_0x5108f8[_0x29e2f1(0x124)]({'isUndoable':!0x1},_0x23965e=>{const _0x1ba085=_0x29e2f1;this[_0x1ba085(0x11e)](_0x23965e);});},{'priority':_0x33a179(0x10f)}),this[_0x33a179(0x129)](_0x23a0c3,_0x33a179(0xf3),()=>{const _0x475dd9=_0x33a179;this[_0x475dd9(0x11c)]=[],this[_0x475dd9(0x100)][_0x475dd9(0x121)](),this[_0x475dd9(0x11d)][_0x475dd9(0x121)](),this[_0x475dd9(0xe1)][_0x475dd9(0x121)]();},{'priority':_0x33a179(0xe9)});}[_0x56c36c(0xea)](){const _0x56cfe6=_0x56c36c;return this[_0x56cfe6(0x122)];}[_0x56c36c(0xe0)](_0xeff522){const _0x290d82=_0x56c36c;return this[_0x290d82(0x11c)][_0x290d82(0x10b)](_0x2c4698=>_0x2c4698['id']===_0xeff522)||null;}[_0x56c36c(0x125)](){const _0x453073=_0x56c36c;return Array[_0x453073(0x102)](this[_0x453073(0x11c)]);}[_0x56c36c(0x116)](){const _0x1ec235=_0x56c36c;return this[_0x1ec235(0xfb)];}[_0x56c36c(0xf1)](_0x818fa5){const _0x3e59f5=_0x56c36c;this[_0x3e59f5(0xfb)]=_0x818fa5;}[_0x56c36c(0xdb)](_0x253280,_0x2bdb17=0x0){const _0x630d5d=_0x56c36c;let _0x197a01=!0x1;for(let _0x25431a=_0x2bdb17;_0x25431a<this[_0x630d5d(0x11c)][_0x630d5d(0x10c)];_0x25431a++)this[_0x630d5d(0xd7)](_0x253280,_0x25431a)&&(_0x197a01=!0x0);return _0x197a01;}[_0x56c36c(0xcd)](_0x4a0781,_0x16450f){const _0x29a12b=_0x56c36c,_0xc8face=_0x4a0781[_0x29a12b(0x130)](_0x29a12b(0xd2),{});return _0x4a0781[_0x29a12b(0x12a)](_0xc8face,_0x16450f),this[_0x29a12b(0x122)]=_0xc8face,_0xc8face;}[_0x56c36c(0x11e)](_0x345ce2){const _0x44c15e=_0x56c36c;if(!this[_0x44c15e(0x11c)][_0x44c15e(0x10c)]||this[_0x44c15e(0x122)])return;const _0x132ba3=this[_0x44c15e(0x11c)][0x0][_0x44c15e(0x115)][_0x44c15e(0x120)],_0x39cf83=this[_0x44c15e(0xcd)](_0x345ce2,_0x132ba3);for(const _0x416a2e of this[_0x44c15e(0x11c)])_0x416a2e[_0x44c15e(0xe4)][_0x44c15e(0x109)]||_0x345ce2[_0x44c15e(0x12b)](_0x416a2e[_0x44c15e(0xe4)],_0x39cf83,_0x44c15e(0x12e));this[_0x44c15e(0xdb)](_0x345ce2);}[_0x56c36c(0xe6)](_0x502409,_0x2f36b5){const _0x4ce696=_0x56c36c;let _0x9edc09=!0x1;const {inserted:_0x284ea6,removed:_0x4e0b18,moved:_0xd915c2}=this[_0x4ce696(0x100)][_0x4ce696(0x112)](_0x2f36b5);if(_0xd915c2[_0x4ce696(0x10c)]&&(this[_0x4ce696(0x122)]=_0xd915c2[0x0]),_0x284ea6[_0x4ce696(0x10c)]){if(_0x284ea6[_0x4ce696(0x10c)]>0x1||this[_0x4ce696(0x122)]&&_0x284ea6[_0x4ce696(0x10e)](_0x18f3b7=>_0x18f3b7!==this[_0x4ce696(0x122)])){const _0x54b8d5=_0x502409[_0x4ce696(0x130)](_0x4ce696(0xd2),{}),_0xf2bd69=[];this[_0x4ce696(0x122)]&&_0xf2bd69[_0x4ce696(0xec)](this[_0x4ce696(0x122)]),_0xf2bd69[_0x4ce696(0xec)](..._0x284ea6),_0x502409[_0x4ce696(0x12b)](_0x54b8d5,_0xf2bd69[0x0],_0x4ce696(0xdf));for(const _0x43cd8b of _0xf2bd69)_0x502409[_0x4ce696(0x10a)](_0x502409[_0x4ce696(0xf8)](_0x43cd8b),_0x502409[_0x4ce696(0xe2)](_0x54b8d5,_0x4ce696(0x12e))),_0x502409[_0x4ce696(0xca)](_0x43cd8b);this[_0x4ce696(0x122)]=_0x54b8d5,this[_0x4ce696(0xdb)](_0x502409),_0x9edc09=!0x0;}else this[_0x4ce696(0x122)]=_0x284ea6[0x0];}if(_0x4e0b18[_0x4ce696(0x10c)]&&_0x4ce696(0xdc)===this[_0x4ce696(0x122)]?.[_0x4ce696(0x120)][_0x4ce696(0x131)]){for(const _0x336ffb of this[_0x4ce696(0x11c)])_0x502409[_0x4ce696(0xca)](_0x336ffb[_0x4ce696(0x115)]),_0x9edc09=!0x0;this[_0x4ce696(0x11c)]=[],this[_0x4ce696(0x122)]=null;}return _0x9edc09;}[_0x56c36c(0xff)](_0x39bacd,_0x5a731d){const _0x262be3=_0x56c36c;let _0xae1f1a=!0x1;const _0x23b1b0=this[_0x262be3(0xda)][_0x262be3(0x10d)][_0x262be3(0x11a)](_0x262be3(0xee)),{inserted:_0x519311,moved:_0x4b10cb}=this[_0x262be3(0xe1)][_0x262be3(0x112)](_0x5a731d);for(const _0x219539 of[..._0x4b10cb,..._0x519311]){const _0x3aed6a=_0x219539[_0x262be3(0xed)](_0x262be3(0xd6)),_0x5df495=this[_0x262be3(0xe0)](_0x3aed6a);_0x5df495&&(_0x5df495[_0x262be3(0xe4)]=_0x219539),_(_0x39bacd,_0x23b1b0,_0x219539)&&(_0xae1f1a=!0x0);}return _0xae1f1a;}[_0x56c36c(0xeb)](_0x31e573,_0x1ab3dc){const _0x54ac4a=_0x56c36c;let _0x301071=!0x1;const {removed:_0x4cacec,inserted:_0x4768a3,moved:_0x103252}=this[_0x54ac4a(0x11d)][_0x54ac4a(0x112)](_0x1ab3dc);for(const _0x5c99c0 of _0x4cacec)this[_0x54ac4a(0xcb)](_0x31e573,_0x5c99c0)&&(_0x301071=!0x0);for(const _0x48fe99 of _0x4768a3)this[_0x54ac4a(0xe3)](_0x31e573,_0x48fe99)&&(_0x301071=!0x0);for(const _0x2f6a67 of _0x103252)this[_0x54ac4a(0xd0)](_0x31e573,_0x2f6a67)&&(_0x301071=!0x0);return _0x301071;}[_0x56c36c(0x114)](_0x41b517){const _0x388d6e=_0x56c36c;if(!this[_0x388d6e(0x122)])return!0x1;let _0x2c4a02=!0x1;if(this[_0x388d6e(0x122)][_0x388d6e(0x12c)]!==this[_0x388d6e(0x11c)][_0x388d6e(0x10c)]){const _0x18f913=[];for(const _0x428321 of this[_0x388d6e(0x122)][_0x388d6e(0x128)]()){const _0x4b703e=_0x428321[_0x388d6e(0xed)](_0x388d6e(0xd6));this[_0x388d6e(0xe0)](_0x4b703e)||(_0x18f913[_0x388d6e(0xd3)](_0x428321),_0x2c4a02=!0x0);}for(const _0x3a2463 of _0x18f913)_0x41b517[_0x388d6e(0xca)](_0x3a2463);}const _0x693bc9=new Set(),_0xf06cbc=[];for(const _0x27c34e of this[_0x388d6e(0x122)][_0x388d6e(0x128)]()){const _0x4f84b4=_0x27c34e[_0x388d6e(0xed)](_0x388d6e(0xd6));_0x693bc9[_0x388d6e(0xfa)](_0x4f84b4)?(_0xf06cbc[_0x388d6e(0xd3)](_0x27c34e),_0x2c4a02=!0x0):_0x693bc9[_0x388d6e(0x106)](_0x4f84b4);}for(const _0x271fa3 of _0xf06cbc)_0x41b517[_0x388d6e(0xca)](_0x271fa3);return this[_0x388d6e(0x122)][_0x388d6e(0x12c)]||(_0x41b517[_0x388d6e(0xca)](this[_0x388d6e(0x122)]),this[_0x388d6e(0x122)]=null,_0x2c4a02=!0x0),_0x2c4a02;}[_0x56c36c(0xe3)](_0x30ef87,_0x2c03c3){const _0x191ff7=_0x56c36c;if(this[_0x191ff7(0x11c)][_0x191ff7(0x10b)](_0x24446d=>_0x24446d[_0x191ff7(0x115)]===_0x2c03c3))return!0x1;let _0x47523b=!0x1;const _0x16ba83=_0x2c03c3[_0x191ff7(0xed)](_0x191ff7(0xd6)),_0x188379=this[_0x191ff7(0x11c)][_0x191ff7(0x101)](_0x2ce78d=>_0x2ce78d['id']===_0x16ba83);-0x1!==_0x188379&&(_0x30ef87[_0x191ff7(0xca)](this[_0x191ff7(0x11c)][_0x188379][_0x191ff7(0x115)]),this[_0x191ff7(0x11c)][_0x191ff7(0xdd)](_0x188379,0x1),_0x47523b=!0x0);let _0x6d3406=this[_0x191ff7(0x122)]?function(_0x3b905c,_0x14aea6){const _0x249d01=_0x191ff7;for(const _0x328ac4 of _0x3b905c[_0x249d01(0x128)]())if(_0x328ac4[_0x249d01(0xed)](_0x249d01(0xd6))===_0x14aea6)return _0x328ac4;return null;}(this[_0x191ff7(0x122)],_0x16ba83):null;_0x6d3406||(_0x6d3406=_0x30ef87[_0x191ff7(0x130)](_0x191ff7(0xd1),{'footnoteId':_0x16ba83}),this[_0x191ff7(0x122)]&&(_0x30ef87[_0x191ff7(0x12b)](_0x6d3406,this[_0x191ff7(0x122)],_0x191ff7(0x12e)),_0x47523b=!0x0));const _0xe72864={'id':_0x16ba83,'reference':_0x2c03c3,'definition':_0x6d3406},_0x36fd16=I(this[_0x191ff7(0xda)][_0x191ff7(0x103)],this[_0x191ff7(0x11c)],_0x2c03c3);this[_0x191ff7(0x11c)][_0x191ff7(0xdd)](_0x36fd16,0x0,_0xe72864);let _0x1e7a75=_0x36fd16;return-0x1!==_0x188379&&(_0x1e7a75=Math[_0x191ff7(0xcf)](_0x36fd16,_0x188379)),this[_0x191ff7(0xdb)](_0x30ef87,_0x1e7a75)&&(_0x47523b=!0x0),_0x47523b;}[_0x56c36c(0xcb)](_0x480159,_0x43686b){const _0x4773fe=_0x56c36c,_0x3e3793=this[_0x4773fe(0x11c)][_0x4773fe(0x101)](_0x24a78e=>_0x24a78e['id']===_0x43686b);if(-0x1===_0x3e3793)return!0x1;let _0x131786=!0x1;const _0xb6aecf=this[_0x4773fe(0x11c)][_0x3e3793];return _0x4773fe(0xdc)!==_0xb6aecf[_0x4773fe(0xe4)][_0x4773fe(0x120)][_0x4773fe(0x131)]&&(_0x480159[_0x4773fe(0xca)](_0xb6aecf[_0x4773fe(0xe4)]),_0x131786=!0x0),this[_0x4773fe(0x11c)][_0x4773fe(0xdd)](_0x3e3793,0x1),this[_0x4773fe(0xdb)](_0x480159,_0x3e3793)&&(_0x131786=!0x0),_0x131786;}[_0x56c36c(0xd0)](_0xd3de6a,_0x31ca43){const _0x1206ed=_0x56c36c,_0x532ed6=_0x31ca43[_0x1206ed(0xed)](_0x1206ed(0xd6)),_0x473400=this[_0x1206ed(0x11c)][_0x1206ed(0x101)](_0x594593=>_0x594593['id']===_0x532ed6),_0x44345d=this[_0x1206ed(0x11c)][_0x473400];let _0x1d69e1=!0x1;_0x44345d[_0x1206ed(0x115)]=_0x31ca43,this[_0x1206ed(0x11c)][_0x1206ed(0xdd)](_0x473400,0x1);const _0x57f51c=I(this[_0x1206ed(0xda)][_0x1206ed(0x103)],this[_0x1206ed(0x11c)],_0x31ca43);return this[_0x1206ed(0x11c)][_0x1206ed(0xdd)](_0x57f51c,0x0,_0x44345d),this[_0x1206ed(0xdb)](_0xd3de6a,Math[_0x1206ed(0xcf)](_0x473400,_0x57f51c))&&(_0x1d69e1=!0x0),_0x1d69e1;}[_0x56c36c(0xd7)](_0x4f2b57,_0x742f2a){const _0x1e6c01=_0x56c36c;if(!this[_0x1e6c01(0x122)])return!0x1;const _0x5730fa=this[_0x1e6c01(0x11c)][_0x742f2a];let _0x3a01d6;return _0x3a01d6=this[_0x1e6c01(0xfb)]?this[_0x1e6c01(0xfb)]({'footnote':_0x5730fa,'container':this[_0x1e6c01(0x122)],'digits':String(this[_0x1e6c01(0x11c)][_0x1e6c01(0x10c)])[_0x1e6c01(0x10c)],'value':_0x742f2a+0x1}):String(_0x742f2a+0x1),_0x5730fa[_0x1e6c01(0x115)][_0x1e6c01(0xed)](_0x1e6c01(0xf4))!=_0x3a01d6&&(_0x4f2b57[_0x1e6c01(0x117)](_0x1e6c01(0xf4),_0x3a01d6,_0x5730fa[_0x1e6c01(0x115)]),!0x0);}[_0x56c36c(0x118)](_0x51443f){const _0x314fb2=_0x56c36c;if(!this[_0x314fb2(0x122)]||this[_0x314fb2(0x11c)][_0x314fb2(0x10c)]<0x2)return!0x1;if(function(_0x4cb185,_0x16d5c2){const _0x52051=_0x314fb2;if(_0x4cb185[_0x52051(0x10c)]!==_0x16d5c2[_0x52051(0x10c)])return!0x1;for(let _0x19d0c8=0x0;_0x19d0c8<_0x4cb185[_0x52051(0x10c)];_0x19d0c8++)if(_0x4cb185[_0x19d0c8]!==_0x16d5c2[_0x19d0c8])return!0x1;return!0x0;}(this[_0x314fb2(0x11c)][_0x314fb2(0xe8)](_0x1e2af5=>_0x1e2af5['id']),Array[_0x314fb2(0x102)](this[_0x314fb2(0x122)][_0x314fb2(0x128)]())[_0x314fb2(0xe8)](_0x110f7e=>_0x110f7e[_0x314fb2(0xed)](_0x314fb2(0xd6)))))return!0x1;let _0xd7b9ec=!0x1;for(let _0xe6e517=0x0;_0xe6e517<this[_0x314fb2(0x11c)][_0x314fb2(0x10c)];_0xe6e517++){const _0x5c6ad5=this[_0x314fb2(0x11c)][_0xe6e517],_0x44b941=_0x51443f[_0x314fb2(0xfe)](_0x5c6ad5[_0x314fb2(0xe4)]),_0x58ef48=_0x51443f[_0x314fb2(0xe2)](this[_0x314fb2(0x122)],_0xe6e517);_0x44b941[_0x314fb2(0xd4)](_0x58ef48)||(_0x51443f[_0x314fb2(0x10a)](_0x51443f[_0x314fb2(0x113)](_0x5c6ad5[_0x314fb2(0xe4)]),_0x58ef48),_0xd7b9ec=!0x0);}return _0xd7b9ec;}[_0x56c36c(0xce)](_0x54b84f){const _0x211838=_0x56c36c;if(!this[_0x211838(0x11c)][_0x211838(0x10c)])return!0x1;const {model:_0x40859c}=this[_0x211838(0xda)];let _0x13cf10=!0x1;for(let _0x1e2e29=0x0;_0x1e2e29<this[_0x211838(0x11c)][_0x211838(0x10c)]-0x1;_0x1e2e29++){const _0x1489e5=this[_0x211838(0x11c)][_0x1e2e29],_0x5d47d6=this[_0x211838(0x11c)][_0x1e2e29+0x1],_0x3f9c67=_0x40859c[_0x211838(0xfe)](_0x1489e5[_0x211838(0x115)]),_0x5ba51d=_0x40859c[_0x211838(0xfe)](_0x5d47d6[_0x211838(0x115)]);_0x211838(0x108)===_0x3f9c67[_0x211838(0x11f)](_0x5ba51d)&&(this[_0x211838(0xd0)](_0x54b84f,_0x1489e5[_0x211838(0x115)]),_0x1e2e29=-0x1,_0x13cf10=!0x0);}return _0x13cf10;}}function _(_0x5f5925,_0x366c5d,_0x527443){const _0x54f9e4=_0x56c36c;if(_0x527443[_0x54f9e4(0x12c)])return!0x1;const _0x4cc37b=_0x366c5d?_0x54f9e4(0xd9):_0x54f9e4(0x12d);return _0x5f5925[_0x54f9e4(0x12b)](_0x5f5925[_0x54f9e4(0x130)](_0x4cc37b),_0x527443),!0x0;}function _0x133e(){const _0x20b2ad=['getFootnotes','3774710gzlMVX','pluginName','getChildren','listenTo','append','insert','childCount','footnoteInlineContent','end','164cfgktW','createElement','rootName','remove','_handleRemoveFootnoteReferenceById','footnoteRef','_insertEmptyFootnotesDefinitionsContainer','_ensureFootnotesReferencesHaveProperOrder','min','_handleMovedFootnoteReference','footnoteDefinition','footnotesDefinitions','unshift','isEqual','94uyKjQG','footnoteId','_updateFootnoteRefCounter','626374itavFC','paragraph','editor','_updateFootnotesCounters','$graveyard','splice','26463oYFUDB','before','getFootnote','_footnoteDefsTracker','createPositionAt','_handleInsertedFootnoteReference','definition','getRootNames','_handleFootnotesDefinitionsObjectChanges','change:data','map','high','getFootnotesDefinitionsObjectElement','_handleFootnoteReferencesChanges','push','getAttribute','footnotes.multiBlock','689uHUukK','registerPostFixer','setFootnoteFormatter','1423881XfbiLy','set','footnoteCounter','singleton','differ','12339lesrWI','createRangeIn','indexOf','has','_footnoteFormatter','830IeWLlX','document','createPositionBefore','_handleFootnoteDefinitionsChanges','_footnoteDefsContainerTracker','findIndex','from','model','FootnotesTracker','40TvqjZr','add','109884UYOHdr','after','parent','move','find','length','config','some','low','isOfficialPlugin','60vzMuKG','getChanges','createRangeOn','_handleFootnotesDefinitionsObjectSync','reference','getFootnotesFormatter','setAttribute','_sortFootnoteDefinitions','isPremiumPlugin','get','84326qZciUq','_footnotes','_footnoteRefsTracker','_ensureFootnotesDefinitionsContainerExists','compareWith','root','reset','_footnotesDefinitions','init','enqueueChange'];_0x133e=function(){return _0x20b2ad;};return _0x133e();}function I(_0x2791f6,_0x51af48,_0x41bfe9){const _0x2d88e2=_0x56c36c;if(0x0===_0x51af48[_0x2d88e2(0x10c)])return 0x0;const _0x318a15=_0x2791f6[_0x2d88e2(0xfe)](_0x41bfe9);for(let _0x223e3e=0x0;_0x223e3e<_0x51af48[_0x2d88e2(0x10c)];_0x223e3e++){const _0x47ba9c=_0x51af48[_0x223e3e],_0x400173=_0x2791f6[_0x2d88e2(0xfe)](_0x47ba9c[_0x2d88e2(0x115)]);if(_0x2d88e2(0xdf)===_0x318a15[_0x2d88e2(0x11f)](_0x400173))return _0x223e3e;}const _0x48d75f=_0x41bfe9[_0x2d88e2(0x120)];let _0x58adf5=-0x1;for(let _0x21c1f4=_0x51af48[_0x2d88e2(0x10c)]-0x1;_0x21c1f4>=0x0;_0x21c1f4--)if(_0x51af48[_0x21c1f4][_0x2d88e2(0x115)][_0x2d88e2(0x120)]===_0x48d75f){_0x58adf5=_0x21c1f4;break;}if(-0x1!==_0x58adf5)return _0x58adf5+0x1;const _0x5136e0=_0x2791f6[_0x2d88e2(0xfd)][_0x2d88e2(0xe5)](),_0x18c44d=_0x5136e0[_0x2d88e2(0xf9)](_0x48d75f[_0x2d88e2(0x131)]),_0x346216=_0x5136e0[_0x18c44d+0x1];if(_0x346216){for(let _0x12a8f7=0x0;_0x12a8f7<_0x51af48[_0x2d88e2(0x10c)];_0x12a8f7++)if(_0x51af48[_0x12a8f7][_0x2d88e2(0x115)][_0x2d88e2(0x120)][_0x2d88e2(0x131)]===_0x346216)return _0x12a8f7;}return _0x51af48[_0x2d88e2(0x10c)];}
23
+ const _0x42caa7=_0x3078;(function(_0x260160,_0x4ab538){const _0x173653=_0x3078,_0xf6b2fa=_0x260160();while(!![]){try{const _0x22bcb2=-parseInt(_0x173653(0x180))/0x1+-parseInt(_0x173653(0x186))/0x2*(-parseInt(_0x173653(0x16b))/0x3)+parseInt(_0x173653(0x18a))/0x4*(-parseInt(_0x173653(0x197))/0x5)+-parseInt(_0x173653(0x1a8))/0x6*(-parseInt(_0x173653(0x18f))/0x7)+-parseInt(_0x173653(0x172))/0x8+parseInt(_0x173653(0x14f))/0x9+parseInt(_0x173653(0x165))/0xa*(parseInt(_0x173653(0x187))/0xb);if(_0x22bcb2===_0x4ab538)break;else _0xf6b2fa['push'](_0xf6b2fa['shift']());}catch(_0x56d4e4){_0xf6b2fa['push'](_0xf6b2fa['shift']());}}}(_0x3a31,0x39df6));import{Plugin as _0xd2e1dd}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x127169}from'./modelelementtracker.js';export class FootnotesTracker extends _0xd2e1dd{[_0x42caa7(0x17c)]=[];[_0x42caa7(0x16f)]=null;[_0x42caa7(0x1a9)]=null;[_0x42caa7(0x156)];[_0x42caa7(0x194)];[_0x42caa7(0x195)];static get[_0x42caa7(0x16c)](){const _0x170055=_0x42caa7;return _0x170055(0x16e);}static get[_0x42caa7(0x15b)](){return!0x0;}static get[_0x42caa7(0x15f)](){return!0x0;}constructor(_0x39d776){const _0xb85767=_0x42caa7;super(_0x39d776),this[_0xb85767(0x156)]=new _0x127169(this[_0xb85767(0x147)][_0xb85767(0x19f)],{'elementName':_0xb85767(0x179),'getElementKey':()=>_0xb85767(0x18c)}),this[_0xb85767(0x194)]=new _0x127169(this[_0xb85767(0x147)][_0xb85767(0x19f)],{'elementName':_0xb85767(0x148),'getElementKey':_0x51bbcb=>_0x51bbcb[_0xb85767(0x15c)](_0xb85767(0x168))}),this[_0xb85767(0x195)]=new _0x127169(this[_0xb85767(0x147)][_0xb85767(0x19f)],{'elementName':_0xb85767(0x14d),'getElementKey':_0x51de9f=>_0x51de9f[_0xb85767(0x15c)](_0xb85767(0x168))});}[_0x42caa7(0x185)](){const _0xff5fec=_0x42caa7,{editor:_0x161b76}=this,{model:_0x3e54dd,data:_0x5ef362}=_0x161b76;_0x3e54dd[_0xff5fec(0x17d)][_0xff5fec(0x190)](_0x310f79=>{const _0x3264fd=_0xff5fec,_0x1c69e3=_0x3e54dd[_0x3264fd(0x17d)][_0x3264fd(0x18b)][_0x3264fd(0x15d)]();let _0x50de56=!0x1;return this[_0x3264fd(0x174)](_0x310f79,_0x1c69e3)&&(_0x50de56=!0x0),this[_0x3264fd(0x192)](_0x310f79,_0x1c69e3)&&(_0x50de56=!0x0),this[_0x3264fd(0x17f)](_0x310f79,_0x1c69e3)&&(_0x50de56=!0x0),this[_0x3264fd(0x160)](_0x310f79)&&(_0x50de56=!0x0),this[_0x3264fd(0x1a1)](_0x310f79)&&(_0x50de56=!0x0),this[_0x3264fd(0x19c)](_0x310f79)&&(_0x50de56=!0x0),_0x50de56;}),this[_0xff5fec(0x18d)](_0x3e54dd[_0xff5fec(0x17d)],_0xff5fec(0x17e),()=>{const _0x453638=_0xff5fec;_0x3e54dd[_0x453638(0x196)]({'isUndoable':!0x1},_0x2f52b2=>{const _0x103efc=_0x453638;this[_0x103efc(0x14a)](_0x2f52b2);});},{'priority':_0xff5fec(0x189)}),this[_0xff5fec(0x18d)](_0x5ef362,_0xff5fec(0x193),()=>{const _0x4fd36a=_0xff5fec;this[_0x4fd36a(0x17c)]=[],this[_0x4fd36a(0x156)][_0x4fd36a(0x158)](),this[_0x4fd36a(0x194)][_0x4fd36a(0x158)](),this[_0x4fd36a(0x195)][_0x4fd36a(0x158)]();},{'priority':_0xff5fec(0x171)});}[_0x42caa7(0x164)](){const _0x32593d=_0x42caa7;return this[_0x32593d(0x16f)];}[_0x42caa7(0x1a0)](_0x4ec099){const _0x3840f7=_0x42caa7;return this[_0x3840f7(0x17c)][_0x3840f7(0x177)](_0x3db01=>_0x3db01['id']===_0x4ec099)||null;}[_0x42caa7(0x16a)](){const _0x20f18c=_0x42caa7;return Array[_0x20f18c(0x152)](this[_0x20f18c(0x17c)]);}[_0x42caa7(0x149)](){const _0x3ee72b=_0x42caa7;return this[_0x3ee72b(0x1a9)];}[_0x42caa7(0x153)](_0x404e65){const _0x5b320b=_0x42caa7;this[_0x5b320b(0x1a9)]=_0x404e65;}[_0x42caa7(0x19b)](_0x20e21a,_0x80af2a=0x0){const _0x46a4d2=_0x42caa7;let _0x36d619=!0x1;for(let _0x3b3d81=_0x80af2a;_0x3b3d81<this[_0x46a4d2(0x17c)][_0x46a4d2(0x15e)];_0x3b3d81++)this[_0x46a4d2(0x15a)](_0x20e21a,_0x3b3d81)&&(_0x36d619=!0x0);return _0x36d619;}[_0x42caa7(0x19e)](_0x3a2e71,_0x231306){const _0x5e944f=_0x42caa7,_0x4dd7c0=_0x3a2e71[_0x5e944f(0x18e)](_0x5e944f(0x179),{});return _0x3a2e71[_0x5e944f(0x16d)](_0x4dd7c0,_0x231306),this[_0x5e944f(0x16f)]=_0x4dd7c0,_0x4dd7c0;}[_0x42caa7(0x14a)](_0x35869e){const _0x31e067=_0x42caa7;if(!this[_0x31e067(0x17c)][_0x31e067(0x15e)]||this[_0x31e067(0x16f)])return;const _0x4a383f=this[_0x31e067(0x17c)][0x0][_0x31e067(0x175)][_0x31e067(0x183)],_0x48c9bc=this[_0x31e067(0x19e)](_0x35869e,_0x4a383f);for(const _0x566357 of this[_0x31e067(0x17c)])_0x566357[_0x31e067(0x182)][_0x31e067(0x181)]||_0x35869e[_0x31e067(0x14b)](_0x566357[_0x31e067(0x182)],_0x48c9bc,_0x31e067(0x161));this[_0x31e067(0x19b)](_0x35869e);}[_0x42caa7(0x174)](_0x25834a,_0x2c399c){const _0x44a70b=_0x42caa7;let _0x3e35ad=!0x1;const {inserted:_0x1fd569,removed:_0x50f193,moved:_0x26f962}=this[_0x44a70b(0x156)][_0x44a70b(0x15d)](_0x2c399c);if(_0x26f962[_0x44a70b(0x15e)]&&(this[_0x44a70b(0x16f)]=_0x26f962[0x0]),_0x1fd569[_0x44a70b(0x15e)]){if(_0x1fd569[_0x44a70b(0x15e)]>0x1||this[_0x44a70b(0x16f)]&&_0x1fd569[_0x44a70b(0x1a7)](_0x57249c=>_0x57249c!==this[_0x44a70b(0x16f)])){const _0x432eb6=_0x25834a[_0x44a70b(0x18e)](_0x44a70b(0x179),{}),_0x501fe2=[];this[_0x44a70b(0x16f)]&&_0x501fe2[_0x44a70b(0x1ab)](this[_0x44a70b(0x16f)]),_0x501fe2[_0x44a70b(0x1ab)](..._0x1fd569),_0x25834a[_0x44a70b(0x14b)](_0x432eb6,_0x501fe2[0x0],_0x44a70b(0x19a));for(const _0x263622 of _0x501fe2)_0x25834a[_0x44a70b(0x198)](_0x25834a[_0x44a70b(0x1a4)](_0x263622),_0x25834a[_0x44a70b(0x167)](_0x432eb6,_0x44a70b(0x161))),_0x25834a[_0x44a70b(0x199)](_0x263622);this[_0x44a70b(0x16f)]=_0x432eb6,this[_0x44a70b(0x19b)](_0x25834a),_0x3e35ad=!0x0;}else this[_0x44a70b(0x16f)]=_0x1fd569[0x0];}if(_0x50f193[_0x44a70b(0x15e)]&&_0x44a70b(0x184)===this[_0x44a70b(0x16f)]?.[_0x44a70b(0x183)][_0x44a70b(0x188)]){for(const _0x3281f1 of this[_0x44a70b(0x17c)])_0x25834a[_0x44a70b(0x199)](_0x3281f1[_0x44a70b(0x175)]),_0x3e35ad=!0x0;this[_0x44a70b(0x17c)]=[],this[_0x44a70b(0x16f)]=null;}return _0x3e35ad;}[_0x42caa7(0x192)](_0x1ddab4,_0x28db0d){const _0x118846=_0x42caa7;let _0x100c79=!0x1;const _0x1ade2b=this[_0x118846(0x147)][_0x118846(0x159)][_0x118846(0x170)](_0x118846(0x151)),{inserted:_0x104a66,moved:_0x463b8e}=this[_0x118846(0x195)][_0x118846(0x15d)](_0x28db0d);for(const _0x272d1f of[..._0x463b8e,..._0x104a66]){const _0x2ea9d3=_0x272d1f[_0x118846(0x15c)](_0x118846(0x168)),_0x4ae64d=this[_0x118846(0x1a0)](_0x2ea9d3);_0x4ae64d&&(_0x4ae64d[_0x118846(0x182)]=_0x272d1f),_(_0x1ddab4,_0x1ade2b,_0x272d1f)&&(_0x100c79=!0x0);}return _0x100c79;}[_0x42caa7(0x17f)](_0x67b622,_0x40f988){const _0x39e44b=_0x42caa7;let _0x15817b=!0x1;const {removed:_0x57262c,inserted:_0x4a5bb0,moved:_0x27f49f}=this[_0x39e44b(0x194)][_0x39e44b(0x15d)](_0x40f988);for(const _0xce6aa0 of _0x57262c)this[_0x39e44b(0x176)](_0x67b622,_0xce6aa0)&&(_0x15817b=!0x0);for(const _0xe0e3a4 of _0x4a5bb0)this[_0x39e44b(0x1a2)](_0x67b622,_0xe0e3a4)&&(_0x15817b=!0x0);for(const _0xd2dc1d of _0x27f49f)this[_0x39e44b(0x17a)](_0x67b622,_0xd2dc1d)&&(_0x15817b=!0x0);return _0x15817b;}[_0x42caa7(0x1a1)](_0xd569e3){const _0x3482fa=_0x42caa7;if(!this[_0x3482fa(0x16f)])return!0x1;let _0x5d856b=!0x1;if(this[_0x3482fa(0x16f)][_0x3482fa(0x14e)]!==this[_0x3482fa(0x17c)][_0x3482fa(0x15e)]){const _0x37ef4e=[];for(const _0x29d23b of this[_0x3482fa(0x16f)][_0x3482fa(0x155)]()){const _0x391531=_0x29d23b[_0x3482fa(0x15c)](_0x3482fa(0x168));this[_0x3482fa(0x1a0)](_0x391531)||(_0x37ef4e[_0x3482fa(0x14c)](_0x29d23b),_0x5d856b=!0x0);}for(const _0x4a1e7d of _0x37ef4e)_0xd569e3[_0x3482fa(0x199)](_0x4a1e7d);}const _0x5749b0=new Set(),_0xf45186=[];for(const _0x705ca4 of this[_0x3482fa(0x16f)][_0x3482fa(0x155)]()){const _0x296aa9=_0x705ca4[_0x3482fa(0x15c)](_0x3482fa(0x168));_0x5749b0[_0x3482fa(0x169)](_0x296aa9)?(_0xf45186[_0x3482fa(0x14c)](_0x705ca4),_0x5d856b=!0x0):_0x5749b0[_0x3482fa(0x1a6)](_0x296aa9);}for(const _0x1333f6 of _0xf45186)_0xd569e3[_0x3482fa(0x199)](_0x1333f6);return this[_0x3482fa(0x16f)][_0x3482fa(0x14e)]||(_0xd569e3[_0x3482fa(0x199)](this[_0x3482fa(0x16f)]),this[_0x3482fa(0x16f)]=null,_0x5d856b=!0x0),_0x5d856b;}[_0x42caa7(0x1a2)](_0x105d40,_0x38a963){const _0x183912=_0x42caa7;if(this[_0x183912(0x17c)][_0x183912(0x177)](_0x897a8=>_0x897a8[_0x183912(0x175)]===_0x38a963))return!0x1;let _0x1c0611=!0x1;const _0x263105=_0x38a963[_0x183912(0x15c)](_0x183912(0x168)),_0x2a33e9=this[_0x183912(0x17c)][_0x183912(0x1a5)](_0x54b418=>_0x54b418['id']===_0x263105);-0x1!==_0x2a33e9&&(_0x105d40[_0x183912(0x199)](this[_0x183912(0x17c)][_0x2a33e9][_0x183912(0x175)]),this[_0x183912(0x17c)][_0x183912(0x19d)](_0x2a33e9,0x1),_0x1c0611=!0x0);let _0x485610=this[_0x183912(0x16f)]?function(_0x5887c0,_0x28938e){const _0xc7278b=_0x183912;for(const _0x278810 of _0x5887c0[_0xc7278b(0x155)]())if(_0x278810[_0xc7278b(0x15c)](_0xc7278b(0x168))===_0x28938e)return _0x278810;return null;}(this[_0x183912(0x16f)],_0x263105):null;_0x485610||(_0x485610=_0x105d40[_0x183912(0x18e)](_0x183912(0x14d),{'footnoteId':_0x263105}),this[_0x183912(0x16f)]&&(_0x105d40[_0x183912(0x14b)](_0x485610,this[_0x183912(0x16f)],_0x183912(0x161)),_0x1c0611=!0x0));const _0x483ff5={'id':_0x263105,'reference':_0x38a963,'definition':_0x485610},_0x43a125=I(this[_0x183912(0x147)][_0x183912(0x19f)],this[_0x183912(0x17c)],_0x38a963);this[_0x183912(0x17c)][_0x183912(0x19d)](_0x43a125,0x0,_0x483ff5);let _0x23a73a=_0x43a125;return-0x1!==_0x2a33e9&&(_0x23a73a=Math[_0x183912(0x166)](_0x43a125,_0x2a33e9)),this[_0x183912(0x19b)](_0x105d40,_0x23a73a)&&(_0x1c0611=!0x0),_0x1c0611;}[_0x42caa7(0x176)](_0x2d472e,_0x558ef1){const _0x37f4bf=_0x42caa7,_0x416a16=this[_0x37f4bf(0x17c)][_0x37f4bf(0x1a5)](_0xa9cc55=>_0xa9cc55['id']===_0x558ef1);if(-0x1===_0x416a16)return!0x1;let _0x4098d0=!0x1;const _0x622cbc=this[_0x37f4bf(0x17c)][_0x416a16];return _0x37f4bf(0x184)!==_0x622cbc[_0x37f4bf(0x182)][_0x37f4bf(0x183)][_0x37f4bf(0x188)]&&(_0x2d472e[_0x37f4bf(0x199)](_0x622cbc[_0x37f4bf(0x182)]),_0x4098d0=!0x0),this[_0x37f4bf(0x17c)][_0x37f4bf(0x19d)](_0x416a16,0x1),this[_0x37f4bf(0x19b)](_0x2d472e,_0x416a16)&&(_0x4098d0=!0x0),_0x4098d0;}[_0x42caa7(0x17a)](_0x130226,_0xf8577){const _0x174c37=_0x42caa7,_0x327985=_0xf8577[_0x174c37(0x15c)](_0x174c37(0x168)),_0x584fd9=this[_0x174c37(0x17c)][_0x174c37(0x1a5)](_0x3daab8=>_0x3daab8['id']===_0x327985),_0x5069b7=this[_0x174c37(0x17c)][_0x584fd9];let _0x10a821=!0x1;_0x5069b7[_0x174c37(0x175)]=_0xf8577,this[_0x174c37(0x17c)][_0x174c37(0x19d)](_0x584fd9,0x1);const _0x573468=I(this[_0x174c37(0x147)][_0x174c37(0x19f)],this[_0x174c37(0x17c)],_0xf8577);return this[_0x174c37(0x17c)][_0x174c37(0x19d)](_0x573468,0x0,_0x5069b7),this[_0x174c37(0x19b)](_0x130226,Math[_0x174c37(0x166)](_0x584fd9,_0x573468))&&(_0x10a821=!0x0),_0x10a821;}[_0x42caa7(0x15a)](_0x586711,_0x2c75fc){const _0x190400=_0x42caa7;if(!this[_0x190400(0x16f)])return!0x1;const _0x2d935f=this[_0x190400(0x17c)][_0x2c75fc];let _0x4d3fa8;return _0x4d3fa8=this[_0x190400(0x1a9)]?this[_0x190400(0x1a9)]({'footnote':_0x2d935f,'container':this[_0x190400(0x16f)],'digits':String(this[_0x190400(0x17c)][_0x190400(0x15e)])[_0x190400(0x15e)],'value':_0x2c75fc+0x1}):String(_0x2c75fc+0x1),_0x2d935f[_0x190400(0x175)][_0x190400(0x15c)](_0x190400(0x1a3))!=_0x4d3fa8&&(_0x586711[_0x190400(0x163)](_0x190400(0x1a3),_0x4d3fa8,_0x2d935f[_0x190400(0x175)]),!0x0);}[_0x42caa7(0x19c)](_0x251e61){const _0x21e7f5=_0x42caa7;if(!this[_0x21e7f5(0x16f)]||this[_0x21e7f5(0x17c)][_0x21e7f5(0x15e)]<0x2)return!0x1;if(function(_0x2ac31c,_0x1237bf){const _0x45e1b6=_0x21e7f5;if(_0x2ac31c[_0x45e1b6(0x15e)]!==_0x1237bf[_0x45e1b6(0x15e)])return!0x1;for(let _0x40dd5b=0x0;_0x40dd5b<_0x2ac31c[_0x45e1b6(0x15e)];_0x40dd5b++)if(_0x2ac31c[_0x40dd5b]!==_0x1237bf[_0x40dd5b])return!0x1;return!0x0;}(this[_0x21e7f5(0x17c)][_0x21e7f5(0x1ac)](_0x3dc292=>_0x3dc292['id']),Array[_0x21e7f5(0x152)](this[_0x21e7f5(0x16f)][_0x21e7f5(0x155)]())[_0x21e7f5(0x1ac)](_0x2e593b=>_0x2e593b[_0x21e7f5(0x15c)](_0x21e7f5(0x168)))))return!0x1;let _0x551660=!0x1;for(let _0x403919=0x0;_0x403919<this[_0x21e7f5(0x17c)][_0x21e7f5(0x15e)];_0x403919++){const _0x688e34=this[_0x21e7f5(0x17c)][_0x403919],_0x4ababa=_0x251e61[_0x21e7f5(0x154)](_0x688e34[_0x21e7f5(0x182)]),_0x11cb10=_0x251e61[_0x21e7f5(0x167)](this[_0x21e7f5(0x16f)],_0x403919);_0x4ababa[_0x21e7f5(0x1aa)](_0x11cb10)||(_0x251e61[_0x21e7f5(0x198)](_0x251e61[_0x21e7f5(0x191)](_0x688e34[_0x21e7f5(0x182)]),_0x11cb10),_0x551660=!0x0);}return _0x551660;}[_0x42caa7(0x160)](_0x37335d){const _0x5578cf=_0x42caa7;if(!this[_0x5578cf(0x17c)][_0x5578cf(0x15e)])return!0x1;const {model:_0x1baf57}=this[_0x5578cf(0x147)];let _0x485bbb=!0x1;for(let _0x547fae=0x0;_0x547fae<this[_0x5578cf(0x17c)][_0x5578cf(0x15e)]-0x1;_0x547fae++){const _0x187a5d=this[_0x5578cf(0x17c)][_0x547fae],_0x121ebe=this[_0x5578cf(0x17c)][_0x547fae+0x1],_0x14b7bb=_0x1baf57[_0x5578cf(0x154)](_0x187a5d[_0x5578cf(0x175)]),_0x4a92b8=_0x1baf57[_0x5578cf(0x154)](_0x121ebe[_0x5578cf(0x175)]);_0x5578cf(0x150)===_0x14b7bb[_0x5578cf(0x178)](_0x4a92b8)&&(this[_0x5578cf(0x17a)](_0x37335d,_0x187a5d[_0x5578cf(0x175)]),_0x547fae=-0x1,_0x485bbb=!0x0);}return _0x485bbb;}}function _(_0x2468ab,_0x26dcab,_0x3afc7b){const _0xa0eaed=_0x42caa7;if(_0x3afc7b[_0xa0eaed(0x14e)])return!0x1;const _0x2fbad9=_0x26dcab?_0xa0eaed(0x17b):_0xa0eaed(0x157);return _0x2468ab[_0xa0eaed(0x14b)](_0x2468ab[_0xa0eaed(0x18e)](_0x2fbad9),_0x3afc7b),!0x0;}function _0x3078(_0xd092b3,_0x104ee){const _0x3a31e5=_0x3a31();return _0x3078=function(_0x3078ef,_0x43ab9f){_0x3078ef=_0x3078ef-0x147;let _0x228e35=_0x3a31e5[_0x3078ef];return _0x228e35;},_0x3078(_0xd092b3,_0x104ee);}function _0x3a31(){const _0x424520=['createPositionBefore','getChildren','_footnoteDefsContainerTracker','footnoteInlineContent','reset','config','_updateFootnoteRefCounter','isOfficialPlugin','getAttribute','getChanges','length','isPremiumPlugin','_ensureFootnotesReferencesHaveProperOrder','end','indexOf','setAttribute','getFootnotesDefinitionsObjectElement','50jgfTKY','min','createPositionAt','footnoteId','has','getFootnotes','366QWJmGX','pluginName','append','FootnotesTracker','_footnotesDefinitions','get','high','1853072FhSxdz','getRootNames','_handleFootnotesDefinitionsObjectChanges','reference','_handleRemoveFootnoteReferenceById','find','compareWith','footnotesDefinitions','_handleMovedFootnoteReference','paragraph','_footnotes','document','change:data','_handleFootnoteReferencesChanges','405372FaHyxz','parent','definition','root','$graveyard','init','4654liftCJ','1068859zLgaNs','rootName','low','76jOeNZa','differ','singleton','listenTo','createElement','163261pWipup','registerPostFixer','createRangeOn','_handleFootnoteDefinitionsChanges','set','_footnoteRefsTracker','_footnoteDefsTracker','enqueueChange','91525jARMNB','move','remove','before','_updateFootnotesCounters','_sortFootnoteDefinitions','splice','_insertEmptyFootnotesDefinitionsContainer','model','getFootnote','_handleFootnotesDefinitionsObjectSync','_handleInsertedFootnoteReference','footnoteCounter','createRangeIn','findIndex','add','some','24fvCywp','_footnoteFormatter','isEqual','push','map','editor','footnoteRef','getFootnotesFormatter','_ensureFootnotesDefinitionsContainerExists','insert','unshift','footnoteDefinition','childCount','3229344QBhJyn','after','footnotes.multiBlock','from','setFootnoteFormatter'];_0x3a31=function(){return _0x424520;};return _0x3a31();}function I(_0x578952,_0x7ad430,_0x54a9d5){const _0x3c0cf1=_0x42caa7;if(0x0===_0x7ad430[_0x3c0cf1(0x15e)])return 0x0;const _0x1b2bf7=_0x578952[_0x3c0cf1(0x154)](_0x54a9d5);for(let _0x53a719=0x0;_0x53a719<_0x7ad430[_0x3c0cf1(0x15e)];_0x53a719++){const _0x2a3f83=_0x7ad430[_0x53a719],_0x507799=_0x578952[_0x3c0cf1(0x154)](_0x2a3f83[_0x3c0cf1(0x175)]);if(_0x3c0cf1(0x19a)===_0x1b2bf7[_0x3c0cf1(0x178)](_0x507799))return _0x53a719;}const _0x24ec77=_0x54a9d5[_0x3c0cf1(0x183)];let _0x37af26=-0x1;for(let _0x2352ab=_0x7ad430[_0x3c0cf1(0x15e)]-0x1;_0x2352ab>=0x0;_0x2352ab--)if(_0x7ad430[_0x2352ab][_0x3c0cf1(0x175)][_0x3c0cf1(0x183)]===_0x24ec77){_0x37af26=_0x2352ab;break;}if(-0x1!==_0x37af26)return _0x37af26+0x1;const _0x4a0e2f=_0x578952[_0x3c0cf1(0x17d)][_0x3c0cf1(0x173)](),_0x2852d2=_0x4a0e2f[_0x3c0cf1(0x162)](_0x24ec77[_0x3c0cf1(0x188)]),_0x420e12=_0x4a0e2f[_0x2852d2+0x1];if(_0x420e12){for(let _0x268c7e=0x0;_0x268c7e<_0x7ad430[_0x3c0cf1(0x15e)];_0x268c7e++)if(_0x7ad430[_0x268c7e][_0x3c0cf1(0x175)][_0x3c0cf1(0x183)][_0x3c0cf1(0x188)]===_0x420e12)return _0x268c7e;}return _0x7ad430[_0x3c0cf1(0x15e)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x433e80,MenuBarMenuListItemButtonView as _0x98aa0a}from'ckeditor5/src/ui.js';import{Plugin as _0x1864b6}from'ckeditor5/src/core.js';import{IconFootnote as _0x290dde}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1864b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x50d65e}=this,{componentFactory:_0x44742f}=_0x50d65e['ui'];_0x44742f['add']('insertFootnote',E(_0x50d65e,_0x433e80)),_0x44742f['add']('menuBar:insertFootnote',E(_0x50d65e,_0x98aa0a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x33db6b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x162013;for(const _0x14ea30 in _0x33db6b){const _0x4ffeb9=_0x14ea30,_0x4f4dfa=_0x33db6b[_0x4ffeb9];if('footnotesLicenseKeyValid'==_0x4f4dfa||'footnotesLicenseKeyInvalid'==_0x4f4dfa||'footnotesLicenseKeyExpired'==_0x4f4dfa||'footnotesLicenseKeyDomainLimit'==_0x4f4dfa||'footnotesLicenseKeyNotAllowed'==_0x4f4dfa||'footnotesLicenseKeyEvaluationLimit'==_0x4f4dfa||'footnotesLicenseKeyTrialLimit'==_0x4f4dfa||'footnotesLicenseKeyUsageLimit'==_0x4f4dfa){delete _0x33db6b[_0x4ffeb9],_0x162013=_0x4f4dfa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x162013&&_0x33db6b['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x162013&&_0x33db6b['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x162013&&_0x33db6b['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x162013&&_0x33db6b['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x162013&&_0x33db6b['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x162013&&_0x33db6b['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x162013&&_0x33db6b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1b5b9d,_0x2a556d){const _0x3bd3e7=_0x1b5b9d['commands']['get']('insertFootnote');return _0x36a5a6=>{const {t:t}=_0x36a5a6,_0x42d9b4=new _0x2a556d(_0x36a5a6),_0x5645f4=_0x42d9b4 instanceof _0x98aa0a;return _0x42d9b4['bind']('isEnabled')['to'](_0x3bd3e7,'isEnabled'),_0x42d9b4['set']({'label':t(_0x5645f4?'Footnote':'Insert\x20footnote'),'icon':_0x290dde,'tooltip':!0x0}),_0x42d9b4['on']('execute',()=>{_0x3bd3e7['execute'](),_0x1b5b9d['editing']['view']['focus']();}),_0x42d9b4;};}
23
+ import{ButtonView as _0x427f95,MenuBarMenuListItemButtonView as _0x42ea26}from'ckeditor5/src/ui.js';import{Plugin as _0x3d3c01}from'ckeditor5/src/core.js';import{IconFootnote as _0x583488}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3d3c01{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d4969}=this,{componentFactory:_0x1148d7}=_0x5d4969['ui'];_0x1148d7['add']('insertFootnote',E(_0x5d4969,_0x427f95)),_0x1148d7['add']('menuBar:insertFootnote',E(_0x5d4969,_0x42ea26)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2edadb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4fc4d0;for(const _0x430f5d in _0x2edadb){const _0x526f5f=_0x430f5d,_0x9d6916=_0x2edadb[_0x526f5f];if('footnotesLicenseKeyValid'==_0x9d6916||'footnotesLicenseKeyInvalid'==_0x9d6916||'footnotesLicenseKeyExpired'==_0x9d6916||'footnotesLicenseKeyDomainLimit'==_0x9d6916||'footnotesLicenseKeyNotAllowed'==_0x9d6916||'footnotesLicenseKeyEvaluationLimit'==_0x9d6916||'footnotesLicenseKeyTrialLimit'==_0x9d6916||'footnotesLicenseKeyUsageLimit'==_0x9d6916){delete _0x2edadb[_0x526f5f],_0x4fc4d0=_0x9d6916,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4fc4d0&&_0x2edadb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4fc4d0&&_0x2edadb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4fc4d0&&_0x2edadb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4fc4d0&&_0x2edadb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4fc4d0&&_0x2edadb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4fc4d0&&_0x2edadb['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4fc4d0&&_0x2edadb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1f59e8,_0x405901){const _0x3e2088=_0x1f59e8['commands']['get']('insertFootnote');return _0x5d8b3f=>{const {t:t}=_0x5d8b3f,_0x3f3bcb=new _0x405901(_0x5d8b3f),_0x22e54f=_0x3f3bcb instanceof _0x42ea26;return _0x3f3bcb['bind']('isEnabled')['to'](_0x3e2088,'isEnabled'),_0x3f3bcb['set']({'label':t(_0x22e54f?'Footnote':'Insert\x20footnote'),'icon':_0x583488,'tooltip':!0x0}),_0x3f3bcb['on']('execute',()=>{_0x3e2088['execute'](),_0x1f59e8['editing']['view']['focus']();}),_0x3f3bcb;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1ab5d0,_0x43fcad){var _0x338432=_0x46a8,_0x3a0dbc=_0x1ab5d0();while(!![]){try{var _0x411568=-parseInt(_0x338432(0xb2))/0x1+-parseInt(_0x338432(0xb1))/0x2*(parseInt(_0x338432(0xb5))/0x3)+-parseInt(_0x338432(0xb7))/0x4+-parseInt(_0x338432(0xb8))/0x5*(-parseInt(_0x338432(0xb4))/0x6)+parseInt(_0x338432(0xb3))/0x7+parseInt(_0x338432(0xb6))/0x8+-parseInt(_0x338432(0xb0))/0x9;if(_0x411568===_0x43fcad)break;else _0x3a0dbc['push'](_0x3a0dbc['shift']());}catch(_0x162fbe){_0x3a0dbc['push'](_0x3a0dbc['shift']());}}}(_0x1f11,0xe64e3));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x46a8(_0x4f083e,_0x168d81){var _0x1f11a0=_0x1f11();return _0x46a8=function(_0x46a8de,_0x307fbd){_0x46a8de=_0x46a8de-0xb0;var _0x866ae1=_0x1f11a0[_0x46a8de];return _0x866ae1;},_0x46a8(_0x4f083e,_0x168d81);}export{FootnotesEditing}from'./footnotesediting.js';function _0x1f11(){var _0x4ca9c4=['3bFWfvK','12086808YzoNwN','2359388imGraz','423035dZmXHN','10004643mPwhSH','654970XbdWrN','1200318XGOPln','8564066NCYNiX','102rLTuYQ'];_0x1f11=function(){return _0x4ca9c4;};return _0x1f11();}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ function _0x3a6f(_0x3de5cb,_0x3d4a5b){var _0xd5556d=_0xd555();return _0x3a6f=function(_0x3a6f74,_0x5814f7){_0x3a6f74=_0x3a6f74-0x9b;var _0x1e7129=_0xd5556d[_0x3a6f74];return _0x1e7129;},_0x3a6f(_0x3de5cb,_0x3d4a5b);}(function(_0x44b8d5,_0x37994f){var _0x18906e=_0x3a6f,_0x1a1780=_0x44b8d5();while(!![]){try{var _0x46b36d=-parseInt(_0x18906e(0x9b))/0x1*(parseInt(_0x18906e(0x9e))/0x2)+parseInt(_0x18906e(0xa1))/0x3+-parseInt(_0x18906e(0x9f))/0x4+-parseInt(_0x18906e(0x9c))/0x5+parseInt(_0x18906e(0xa3))/0x6*(parseInt(_0x18906e(0xa0))/0x7)+parseInt(_0x18906e(0x9d))/0x8+parseInt(_0x18906e(0xa2))/0x9;if(_0x46b36d===_0x37994f)break;else _0x1a1780['push'](_0x1a1780['shift']());}catch(_0x3c40a7){_0x1a1780['push'](_0x1a1780['shift']());}}}(_0xd555,0x8642f));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0xd555(){var _0x2faf8e=['6298LLHPWU','2347300HtzzSH','35vAPkdu','2444274efzNQc','6119622KUQjTX','225876NqkuER','96rBEAPB','4292180sZEmXK','4916432FddMUl'];_0xd555=function(){return _0x2faf8e;};return _0xd555();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7c98(_0x4f5330,_0x2d1d6a){const _0xd92bb=_0xd92b();return _0x7c98=function(_0x7c9845,_0x368e16){_0x7c9845=_0x7c9845-0xd5;let _0x4a7c75=_0xd92bb[_0x7c9845];return _0x4a7c75;},_0x7c98(_0x4f5330,_0x2d1d6a);}const _0xdefa20=_0x7c98;function _0xd92b(){const _0x121100=['_getElementKey','add','position','type','3310aDcrEO','_elementName','clear','root','843125kdTDYx','element','length','flat','remove','createRangeOn','15pDgPtr','473672ZZSPbM','$text','126313eISESR','reset','rootName','slice','6KhRgak','elementName','name','set','get','has','4632qlzGCc','1490420GfpZEC','insert','attributes','nodeAfter','getItems','getElementKey','1567476wDXqOK','9611uLPKbQ','getChanges','3981912eLgGWr','push','_model','_trackedElements','values','$graveyard','delete','from'];_0xd92b=function(){return _0x121100;};return _0xd92b();}(function(_0x1400b0,_0x58ea05){const _0x41e571=_0x7c98,_0x5d2c54=_0x1400b0();while(!![]){try{const _0x1ce3a6=-parseInt(_0x41e571(0xe0))/0x1+parseInt(_0x41e571(0xe7))/0x2*(parseInt(_0x41e571(0xed))/0x3)+parseInt(_0x41e571(0xf4))/0x4*(-parseInt(_0x41e571(0xe6))/0x5)+parseInt(_0x41e571(0xf3))/0x6*(-parseInt(_0x41e571(0xfb))/0x7)+-parseInt(_0x41e571(0xfd))/0x8+-parseInt(_0x41e571(0xfa))/0x9+parseInt(_0x41e571(0xdc))/0xa*(parseInt(_0x41e571(0xe9))/0xb);if(_0x1ce3a6===_0x58ea05)break;else _0x5d2c54['push'](_0x5d2c54['shift']());}catch(_0x3a9b0b){_0x5d2c54['push'](_0x5d2c54['shift']());}}}(_0xd92b,0x8e072));export class ModelElementTracker{[_0xdefa20(0xff)];[_0xdefa20(0xdd)];[_0xdefa20(0xd8)];[_0xdefa20(0x100)]=new Map();constructor(_0x2a11a8,_0x23a10e){const _0x450dd6=_0xdefa20;this[_0x450dd6(0xff)]=_0x2a11a8,this[_0x450dd6(0xdd)]=_0x23a10e[_0x450dd6(0xee)],this[_0x450dd6(0xd8)]=_0x23a10e[_0x450dd6(0xf9)];}[_0xdefa20(0xea)](){const _0x5034ab=_0xdefa20;this[_0x5034ab(0x100)][_0x5034ab(0xde)]();}[_0xdefa20(0xfc)](_0x2d49be){const _0x45753c=_0xdefa20,_0x4a6a84=new Set(),_0x46e3b5=new Map();for(const _0x258579 of _0x2d49be){if(_0x45753c(0xf5)===_0x258579[_0x45753c(0xdb)]&&_0x45753c(0xe8)!==_0x258579[_0x45753c(0xef)]&&_0x258579[_0x45753c(0xda)][_0x45753c(0xf7)]){const _0x478555=this[_0x45753c(0xff)][_0x45753c(0xe5)](_0x258579[_0x45753c(0xda)][_0x45753c(0xf7)]);for(const _0x35db98 of _0x478555[_0x45753c(0xf8)]()){if(!_0x35db98['is'](_0x45753c(0xe1),this[_0x45753c(0xdd)]))continue;const _0x16b593=this[_0x45753c(0xd8)](_0x35db98);_0x46e3b5[_0x45753c(0xf2)](_0x16b593)||_0x46e3b5[_0x45753c(0xf0)](_0x16b593,[]),_0x46e3b5[_0x45753c(0xf1)](_0x16b593)[_0x45753c(0xfe)](_0x35db98);}}if(_0x45753c(0xe4)===_0x258579[_0x45753c(0xdb)]&&_0x258579[_0x45753c(0xef)]===this[_0x45753c(0xdd)]){const _0x2eb02d=this[_0x45753c(0xd8)]({'getAttribute':_0x597dee=>_0x258579[_0x45753c(0xf6)][_0x45753c(0xf1)](_0x597dee)});_0x4a6a84[_0x45753c(0xd9)](_0x2eb02d);}}for(const [_0x2501ee,_0x2d1847]of this[_0x45753c(0x100)])_0x45753c(0xd5)===_0x2d1847[_0x45753c(0xdf)][_0x45753c(0xeb)]&&_0x4a6a84[_0x45753c(0xd9)](_0x2501ee);for(const _0x50c572 of _0x4a6a84)this[_0x45753c(0x100)][_0x45753c(0xd6)](_0x50c572);for(const [_0x32c613,_0x437020]of _0x46e3b5)this[_0x45753c(0x100)][_0x45753c(0xf0)](_0x32c613,_0x437020[_0x437020[_0x45753c(0xe2)]-0x1]);const _0x5eb368=new Set();for(const [_0x20e10f,_0x58f8d9]of _0x46e3b5)_0x4a6a84[_0x45753c(0xf2)](_0x20e10f)&&(_0x5eb368[_0x45753c(0xd9)](_0x58f8d9[0x0]),_0x58f8d9[_0x45753c(0xe2)]>0x1?_0x46e3b5[_0x45753c(0xf0)](_0x20e10f,_0x58f8d9[_0x45753c(0xec)](0x1)):_0x46e3b5[_0x45753c(0xd6)](_0x20e10f),_0x4a6a84[_0x45753c(0xd6)](_0x20e10f));return{'removed':Array[_0x45753c(0xd7)](_0x4a6a84),'inserted':Array[_0x45753c(0xd7)](_0x46e3b5[_0x45753c(0x101)]())[_0x45753c(0xe3)](),'moved':Array[_0x45753c(0xd7)](_0x5eb368)};}}
23
+ function _0x8cba(){const _0x311301=['delete','_getElementKey','get','2qDToTG','elementName','flat','2156696awnzyF','1974343HKCmyT','rootName','add','getElementKey','6ELgrxa','element','560196eHbefS','length','nodeAfter','_elementName','4524005ENtffV','insert','push','279326ugLXKa','type','5608910aLEcqJ','from','27amQTBu','_model','$graveyard','name','remove','10408AXrbBv','root','createRangeOn','has','set','position','attributes','reset','getItems','values','$text','clear','slice','_trackedElements','getChanges'];_0x8cba=function(){return _0x311301;};return _0x8cba();}function _0x3ff0(_0x39e8b2,_0x2ca6f0){const _0x8cba94=_0x8cba();return _0x3ff0=function(_0x3ff069,_0x5a5bc1){_0x3ff069=_0x3ff069-0x9f;let _0x3e6942=_0x8cba94[_0x3ff069];return _0x3e6942;},_0x3ff0(_0x39e8b2,_0x2ca6f0);}const _0x138a04=_0x3ff0;(function(_0x1cc9a1,_0x4e24af){const _0x3eade8=_0x3ff0,_0x5a3f75=_0x1cc9a1();while(!![]){try{const _0x4516a3=parseInt(_0x3eade8(0xb1))/0x1*(parseInt(_0x3eade8(0xa0))/0x2)+-parseInt(_0x3eade8(0xaa))/0x3+-parseInt(_0x3eade8(0xba))/0x4+-parseInt(_0x3eade8(0xae))/0x5*(-parseInt(_0x3eade8(0xa8))/0x6)+-parseInt(_0x3eade8(0xa4))/0x7+-parseInt(_0x3eade8(0xa3))/0x8*(parseInt(_0x3eade8(0xb5))/0x9)+parseInt(_0x3eade8(0xb3))/0xa;if(_0x4516a3===_0x4e24af)break;else _0x5a3f75['push'](_0x5a3f75['shift']());}catch(_0x54c92c){_0x5a3f75['push'](_0x5a3f75['shift']());}}}(_0x8cba,0x717ea));export class ModelElementTracker{[_0x138a04(0xb6)];[_0x138a04(0xad)];[_0x138a04(0xca)];[_0x138a04(0xc7)]=new Map();constructor(_0x3b9184,_0x5e611c){const _0x4c1633=_0x138a04;this[_0x4c1633(0xb6)]=_0x3b9184,this[_0x4c1633(0xad)]=_0x5e611c[_0x4c1633(0xa1)],this[_0x4c1633(0xca)]=_0x5e611c[_0x4c1633(0xa7)];}[_0x138a04(0xc1)](){const _0x4a5fcb=_0x138a04;this[_0x4a5fcb(0xc7)][_0x4a5fcb(0xc5)]();}[_0x138a04(0xc8)](_0x2ac86b){const _0x4ea5a8=_0x138a04,_0x2dbdb7=new Set(),_0x58de08=new Map();for(const _0x286d73 of _0x2ac86b){if(_0x4ea5a8(0xaf)===_0x286d73[_0x4ea5a8(0xb2)]&&_0x4ea5a8(0xc4)!==_0x286d73[_0x4ea5a8(0xb8)]&&_0x286d73[_0x4ea5a8(0xbf)][_0x4ea5a8(0xac)]){const _0x106e4c=this[_0x4ea5a8(0xb6)][_0x4ea5a8(0xbc)](_0x286d73[_0x4ea5a8(0xbf)][_0x4ea5a8(0xac)]);for(const _0x415ee1 of _0x106e4c[_0x4ea5a8(0xc2)]()){if(!_0x415ee1['is'](_0x4ea5a8(0xa9),this[_0x4ea5a8(0xad)]))continue;const _0x518e82=this[_0x4ea5a8(0xca)](_0x415ee1);_0x58de08[_0x4ea5a8(0xbd)](_0x518e82)||_0x58de08[_0x4ea5a8(0xbe)](_0x518e82,[]),_0x58de08[_0x4ea5a8(0x9f)](_0x518e82)[_0x4ea5a8(0xb0)](_0x415ee1);}}if(_0x4ea5a8(0xb9)===_0x286d73[_0x4ea5a8(0xb2)]&&_0x286d73[_0x4ea5a8(0xb8)]===this[_0x4ea5a8(0xad)]){const _0x21806c=this[_0x4ea5a8(0xca)]({'getAttribute':_0x241b98=>_0x286d73[_0x4ea5a8(0xc0)][_0x4ea5a8(0x9f)](_0x241b98)});_0x2dbdb7[_0x4ea5a8(0xa6)](_0x21806c);}}for(const [_0x117ead,_0x416960]of this[_0x4ea5a8(0xc7)])_0x4ea5a8(0xb7)===_0x416960[_0x4ea5a8(0xbb)][_0x4ea5a8(0xa5)]&&_0x2dbdb7[_0x4ea5a8(0xa6)](_0x117ead);for(const _0x11706f of _0x2dbdb7)this[_0x4ea5a8(0xc7)][_0x4ea5a8(0xc9)](_0x11706f);for(const [_0x198eae,_0x191f6a]of _0x58de08)this[_0x4ea5a8(0xc7)][_0x4ea5a8(0xbe)](_0x198eae,_0x191f6a[_0x191f6a[_0x4ea5a8(0xab)]-0x1]);const _0xe8cc0c=new Set();for(const [_0x363c8b,_0x4fafa0]of _0x58de08)_0x2dbdb7[_0x4ea5a8(0xbd)](_0x363c8b)&&(_0xe8cc0c[_0x4ea5a8(0xa6)](_0x4fafa0[0x0]),_0x4fafa0[_0x4ea5a8(0xab)]>0x1?_0x58de08[_0x4ea5a8(0xbe)](_0x363c8b,_0x4fafa0[_0x4ea5a8(0xc6)](0x1)):_0x58de08[_0x4ea5a8(0xc9)](_0x363c8b),_0x2dbdb7[_0x4ea5a8(0xc9)](_0x363c8b));return{'removed':Array[_0x4ea5a8(0xb4)](_0x2dbdb7),'inserted':Array[_0x4ea5a8(0xb4)](_0x58de08[_0x4ea5a8(0xc3)]())[_0x4ea5a8(0xa2)](),'moved':Array[_0x4ea5a8(0xb4)](_0xe8cc0c)};}}