@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251204.0 → 0.0.0-nightly-20251206.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 _0x40910b}from'ckeditor5/src/core.js';import{isWidget as _0x558723,toWidget as _0x29db82,toWidgetEditable as _0x35c32f}from'ckeditor5/src/widget.js';import{uid as _0x2f4d4b}from'ckeditor5/src/utils.js';import{PointerObserver as _0x1f24de,ClickObserver as _0x48847e}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x11e98c}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x16cbf4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x40910b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x11e98c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11e714}=this;_0x11e714['config']['define']('footnotes.multiBlock',!0x0),_0x11e714['commands']['add']('insertFootnote',new _0x16cbf4(_0x11e714)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4c3cff){const _0xc5fbe1=_0x4a2345([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]),_0x59dd7d=0x47a28506,_0x5d58c3=0x47a5fff6^_0x59dd7d,_0xa51a0a=window[_0x4a2345([0x44,0x61,0x74,0x65])][_0x4a2345([0x6e,0x6f,0x77])](),_0x16b660=_0x4c3cff[_0x4a2345([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3992db=new window[(_0x4a2345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42749e=>{_0x16b660[_0x4a2345([0x6f,0x6e,0x63,0x65])](_0x4a2345([0x72,0x65,0x61,0x64,0x79]),_0x42749e);}),_0x161dec={[_0x4a2345([0x6b,0x74,0x79])]:_0x4a2345([0x45,0x43]),[_0x4a2345([0x75,0x73,0x65])]:_0x4a2345([0x73,0x69,0x67]),[_0x4a2345([0x63,0x72,0x76])]:_0x4a2345([0x50,0x2d,0x32,0x35,0x36]),[_0x4a2345([0x78])]:_0x4a2345([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]),[_0x4a2345([0x79])]:_0x4a2345([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]),[_0x4a2345([0x61,0x6c,0x67])]:_0x4a2345([0x45,0x53,0x32,0x35,0x36])},_0x5b4cda=_0x16b660[_0x4a2345([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a2345([0x67,0x65,0x74])](_0x4a2345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29709c(){let _0x1e8d3a,_0x42a0f0=null,_0x1cb572=null;try{if(_0x5b4cda==_0x4a2345([0x47,0x50,0x4c]))return _0x4a2345([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e8d3a=_0x1faf96(),!_0x1e8d3a)return _0x4a2345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e8d3a[_0x4a2345([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1cb572=_0x41157a(_0x1e8d3a[_0x4a2345([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e8d3a[_0x4a2345([0x6a,0x74,0x69])])),await _0x36915f()?_0x562ba4()?_0x222f7f()?_0x4a2345([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bbfe6()?(_0x1e8d3a[_0x4a2345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2345([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x42a0f0=_0x3900c4(_0x4a2345([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1e8d3a[_0x4a2345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2345([0x74,0x72,0x69,0x61,0x6c])&&(_0x42a0f0=_0x3900c4(_0x4a2345([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x175c2b()):_0x4a2345([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2345([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a2345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a2345([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x222f7f(){const _0x263250=[_0x4a2345([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a2345([0x74,0x72,0x69,0x61,0x6c])][_0x4a2345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e8d3a[_0x4a2345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xa51a0a/0x3e8:0xe10*_0x5d58c3;return _0x1e8d3a[_0x4a2345([0x65,0x78,0x70])]<_0x263250;}function _0x562ba4(){const _0x308f3a=_0x1e8d3a[_0x4a2345([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x308f3a&&(!!_0x308f3a[_0x4a2345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2345([0x2a]))||!!_0x308f3a[_0x4a2345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2345([0x46,0x4f,0x4f])));}function _0x2bbfe6(){const _0x1cdfbe=_0x1e8d3a[_0x4a2345([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1cdfbe||0x0==_0x1cdfbe[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x21e4d}=new URL(window[_0x4a2345([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1cdfbe[_0x4a2345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21e4d))return!0x0;const _0x4d26db=_0x21e4d[_0x4a2345([0x73,0x70,0x6c,0x69,0x74])](_0x4a2345([0x2e]));return _0x1cdfbe[_0x4a2345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41adaa=>_0x41adaa[_0x4a2345([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2345([0x2a])))[_0x4a2345([0x6d,0x61,0x70])](_0x5e8097=>_0x5e8097[_0x4a2345([0x73,0x70,0x6c,0x69,0x74])](_0x4a2345([0x2e])))[_0x4a2345([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3badb7=>_0x3badb7[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d26db[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2345([0x6d,0x61,0x70])](_0x253ad2=>Array(_0x4d26db[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x253ad2[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2345([0x66,0x69,0x6c,0x6c])](_0x253ad2[0x0]===_0x4a2345([0x2a])?_0x4a2345([0x2a]):'')[_0x4a2345([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x253ad2))[_0x4a2345([0x73,0x6f,0x6d,0x65])](_0x33e64d=>_0x4d26db[_0x4a2345([0x65,0x76,0x65,0x72,0x79])]((_0xe115b9,_0x51a7bc)=>_0x33e64d[_0x51a7bc]===_0xe115b9||_0x33e64d[_0x51a7bc]===_0x4a2345([0x2a])));}function _0x175c2b(){return _0x42a0f0&&_0x1cb572?new window[(_0x4a2345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x517af2,_0x38e24c)=>{_0x42a0f0[_0x4a2345([0x74,0x68,0x65,0x6e])](_0x517af2,_0x38e24c),_0x1cb572[_0x4a2345([0x74,0x68,0x65,0x6e])](_0x29bca0=>{_0x29bca0!=_0x4a2345([0x56,0x61,0x6c,0x69,0x64])&&_0x517af2(_0x29bca0);},_0x38e24c);}):_0x42a0f0||_0x1cb572||_0x4a2345([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41157a(_0xaa945d,_0x1f60fa){return new window[(_0x4a2345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29a187=>{if(_0x50b79a())return _0x29a187(_0x4a2345([0x56,0x61,0x6c,0x69,0x64]));_0x27cfb7(),_0x16b660[_0x4a2345([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a2345([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d85ea=!0x1;const _0x68d67=_0x2f4d4b();function _0x423246(_0x168680){return!!_0x168680&&(typeof _0x168680===_0x4a2345([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x168680===_0x4a2345([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x168680[_0x4a2345([0x74,0x68,0x65,0x6e])]===_0x4a2345([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x168680[_0x4a2345([0x63,0x61,0x74,0x63,0x68])]===_0x4a2345([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46acfb(_0x46491f){_0x2ae782(_0x46491f)[_0x4a2345([0x74,0x68,0x65,0x6e])](_0x55b86f=>{if(!_0x55b86f||_0x55b86f[_0x4a2345([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a2345([0x6f,0x6b]))return _0x4a2345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a7a5c(_0x9b7c4a(_0x68d67+_0x1f60fa))!=_0x55b86f[_0x4a2345([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a2345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2345([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2345([0x74,0x68,0x65,0x6e])](_0x5a7e3b=>(_0x4ad007(),_0x5a7e3b),()=>{const _0x5c3c07=_0x272b43();return null==_0x5c3c07?(_0x4ad007(),_0x4a2345([0x56,0x61,0x6c,0x69,0x64])):_0x4a2345(_0xa51a0a-_0x5c3c07>(0x63ae0106^_0x59dd7d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2345([0x74,0x68,0x65,0x6e])](_0x29a187)[_0x4a2345([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29a187(_0x4a2345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ecee4=0x47946b86^_0x59dd7d;function _0x4ad007(){const _0x4b53ed=_0x4a2345([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a7a5c(_0x9b7c4a(_0xaa945d)),_0x46fc09=_0x37f26c(_0x4a7a5c(window[_0x4a2345([0x4d,0x61,0x74,0x68])][_0x4a2345([0x63,0x65,0x69,0x6c])](_0xa51a0a/_0x1ecee4)));window[_0x4a2345([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2345([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b53ed,_0x46fc09);}function _0x272b43(){const _0x29a1c9=_0x4a2345([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a7a5c(_0x9b7c4a(_0xaa945d)),_0x3d7499=window[_0x4a2345([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2345([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29a1c9);return _0x3d7499?window[_0x4a2345([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37f26c(_0x3d7499),0x10)*_0x1ecee4:null;}function _0x2ae782(_0xd3ffc5){return new window[(_0x4a2345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e16ec,_0x3d4d65)=>{_0xd3ffc5[_0x4a2345([0x74,0x68,0x65,0x6e])](_0x1e16ec,_0x3d4d65),window[_0x4a2345([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d4d65,0x47a351c6^_0x59dd7d);});}}_0x16b660[_0x4a2345([0x6f,0x6e])](_0x4a2345([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c2c16,_0x490bd5)=>{if(_0x490bd5[0x0]!=_0xaa945d)return _0x29a187(_0x4a2345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x490bd5[0x1]={..._0x490bd5[0x1],[_0x4a2345([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x68d67};},{[_0x4a2345([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2345([0x68,0x69,0x67,0x68])}),_0x16b660[_0x4a2345([0x6f,0x6e])](_0x4a2345([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2f98c6=>{_0x423246(_0x2f98c6[_0x4a2345([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d85ea=!0x0,_0x46acfb(_0x2f98c6[_0x4a2345([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a2345([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2345([0x6c,0x6f,0x77])}),_0x3992db[_0x4a2345([0x74,0x68,0x65,0x6e])](()=>{_0x1d85ea||_0x29a187(_0x4a2345([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x50b79a(){return _0x16b660[_0x4a2345([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2345([0x76,0x69,0x65,0x77])][_0x4a2345([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a2345([0x61,0x75,0x74,0x6f]);}function _0x27cfb7(){_0x16b660[_0x4a2345([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2345([0x76,0x69,0x65,0x77])][_0x4a2345([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a2345([0x61,0x75,0x74,0x6f]);}}function _0x3900c4(_0x1f1abc){const _0x522484=[new window[(_0x4a2345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20732b=>setTimeout(_0x20732b,0x47abbbca^_0x59dd7d)),_0x3992db[_0x4a2345([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a2345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x124c88=>{let _0x23c483=0x0;_0x16b660[_0x4a2345([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2345([0x6f,0x6e])](_0x4a2345([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3081ef,_0x273a2f)=>{_0x273a2f[0x0][_0x4a2345([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x23c483++,_0x23c483==(0x47a284fe^_0x59dd7d)&&(_0x124c88(),_0x3081ef[_0x4a2345([0x6f,0x66,0x66])]());});}))];return window[_0x4a2345([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a2345([0x72,0x61,0x63,0x65])](_0x522484)[_0x4a2345([0x74,0x68,0x65,0x6e])](()=>_0x1f1abc);}async function _0x1d8c64(){await _0x3992db,_0x16b660[_0x4a2345([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2345([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x99222a,_0x16b660[_0x4a2345([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2345([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x99222a,_0x16b660[_0x4a2345([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a2345([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c6c8d(_0xe44014){const _0x90e611=_0x21cb5c();_0x16b660[_0x90e611]=_0x4a2345([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe44014,_0xe44014!=_0x4a2345([0x56,0x61,0x6c,0x69,0x64])&&_0x1d8c64();}function _0x21cb5c(){const _0x219d54=window[_0x4a2345([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a2345([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a2345([0x6e,0x6f,0x77])]())[_0x4a2345([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a2345([0x2e]),'');let _0xbb3df5=_0x4a2345([0x75]);for(let _0x297923=0x0;_0x297923<_0x219d54[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x297923+=0x2){let _0x3a868e=window[_0x4a2345([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x219d54[_0x4a2345([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x297923,_0x297923+0x2));_0x3a868e>=_0xc5fbe1[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a868e-=_0xc5fbe1[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbb3df5+=_0xc5fbe1[_0x3a868e];}return _0xbb3df5;}function _0x1faf96(){const _0x19f3cc=_0x5b4cda[_0x4a2345([0x73,0x70,0x6c,0x69,0x74])](_0x4a2345([0x2e]));if(0x3!=_0x19f3cc[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb5bf77(_0x19f3cc[0x1]);function _0xb5bf77(_0x4bcf82){const _0x3c1385=_0x4fe23a(_0x4bcf82);return _0x3c1385&&_0x5add74()?_0x3c1385:null;function _0x5add74(){const _0x4200df=_0x3c1385[_0x4a2345([0x6a,0x74,0x69])],_0x1c879c=window[_0x4a2345([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4200df[_0x4a2345([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4200df[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ce52a={..._0x3c1385,[_0x4a2345([0x6a,0x74,0x69])]:_0x4200df[_0x4a2345([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4200df[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ce52a[_0x4a2345([0x76,0x63])],_0x9b7c4a(_0x5ce52a)==_0x1c879c;}}}async function _0x36915f(){let _0x172ff0=!0x0;try{const _0x4c24ec=_0x5b4cda[_0x4a2345([0x73,0x70,0x6c,0x69,0x74])](_0x4a2345([0x2e])),[_0x2b852c,_0x462b82,_0x4c7631]=_0x4c24ec;return _0x50e849(_0x2b852c),await _0xf84f6e(_0x2b852c,_0x462b82,_0x4c7631),_0x172ff0;}catch{return!0x1;}function _0x50e849(_0x2e1d21){const _0x41b226=_0x4fe23a(_0x2e1d21);_0x41b226&&_0x41b226[_0x4a2345([0x61,0x6c,0x67])]==_0x4a2345([0x45,0x53,0x32,0x35,0x36])||(_0x172ff0=!0x1);}async function _0xf84f6e(_0x4d4da7,_0x13756b,_0x35321a){const _0x1a8ced=window[_0x4a2345([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a2345([0x66,0x72,0x6f,0x6d])](_0x774c78(_0x35321a),_0x2f09dd=>_0x2f09dd[_0x4a2345([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x562d41=new window[(_0x4a2345([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a2345([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d4da7+_0x4a2345([0x2e])+_0x13756b),_0x29c9b0=window[_0x4a2345([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a2345([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29c9b0)return;const _0x2cb28b=await _0x29c9b0[_0x4a2345([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a2345([0x6a,0x77,0x6b]),_0x161dec,{[_0x4a2345([0x6e,0x61,0x6d,0x65])]:_0x4a2345([0x45,0x43,0x44,0x53,0x41]),[_0x4a2345([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a2345([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a2345([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29c9b0[_0x4a2345([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a2345([0x6e,0x61,0x6d,0x65])]:_0x4a2345([0x45,0x43,0x44,0x53,0x41]),[_0x4a2345([0x68,0x61,0x73,0x68])]:{[_0x4a2345([0x6e,0x61,0x6d,0x65])]:_0x4a2345([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2cb28b,_0x1a8ced,_0x562d41)||(_0x172ff0=!0x1);}}function _0x4fe23a(_0x457b03){return _0x457b03[_0x4a2345([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a2345([0x65,0x79]))?JSON[_0x4a2345([0x70,0x61,0x72,0x73,0x65])](_0x774c78(_0x457b03)):null;}function _0x774c78(_0x3cbc23){return window[_0x4a2345([0x61,0x74,0x6f,0x62])](_0x3cbc23[_0x4a2345([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a2345([0x2b]))[_0x4a2345([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a2345([0x2f])));}function _0x9b7c4a(_0x1faf03){let _0x42d08a=0x1505;function _0x334a5c(_0x181b53){for(let _0x1f68fb=0x0;_0x1f68fb<_0x181b53[_0x4a2345([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f68fb++){const _0x1b1df8=_0x181b53[_0x4a2345([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f68fb);_0x42d08a=(_0x42d08a<<0x5)+_0x42d08a+_0x1b1df8,_0x42d08a&=_0x42d08a;}}function _0x4ff684(_0x15f2c4){Array[_0x4a2345([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15f2c4)?_0x15f2c4[_0x4a2345([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ff684):_0x15f2c4&&typeof _0x15f2c4==_0x4a2345([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a2345([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15f2c4)[_0x4a2345([0x73,0x6f,0x72,0x74])]()[_0x4a2345([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2eac2,_0xea3672])=>{_0x334a5c(_0x2eac2),_0x4ff684(_0xea3672);}):_0x334a5c(window[_0x4a2345([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15f2c4));}return _0x4ff684(_0x1faf03),_0x42d08a>>>0x0;}function _0x4a7a5c(_0x1ecec7){return _0x1ecec7[_0x4a2345([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a2345([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a2345([0x30]));}function _0x37f26c(_0x12eab1){return _0x12eab1[_0x4a2345([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a2345([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a2345([0x6a,0x6f,0x69,0x6e])]('');}function _0x99222a(){}function _0x4a2345(_0x109df4){return _0x109df4['map'](_0x277db4=>String['fromCharCode'](_0x277db4))['join']('');}_0x3c6c8d(await _0x29709c());}(this);}['_moveSelectionToFootnoteDefinition'](_0xc44211){const {plugins:_0x2e9588,editing:_0x4db42c,model:_0x3de439}=this['editor'],_0x2ce646=_0x2e9588['get'](_0x11e98c)['getFootnote'](_0xc44211);return!!_0x2ce646&&(_0x3de439['change'](_0xe072ce=>{_0xe072ce['setSelection'](_0xe072ce['createPositionAt'](_0x2ce646['definition'],'end'));}),_0x4db42c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5b78d1){const {plugins:_0x4f8cec,editing:_0x5d6f09,model:_0xaadbd7}=this['editor'],_0x477dae=_0x4f8cec['get'](_0x11e98c)['getFootnote'](_0x5b78d1);return!!_0x477dae&&(_0xaadbd7['change'](_0x532821=>{_0x532821['setSelection'](_0x477dae['reference'],'on');}),_0x5d6f09['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x14e2f8}=this['editor']['model'],_0x35ab8d=this['editor']['config']['get']('footnotes.multiBlock');_0x14e2f8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x14e2f8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x14e2f8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x35ab8d?_0x14e2f8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x14e2f8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x14e2f8['addChildCheck'](_0x1f4ce0=>{for(const _0x15aa6e of _0x1f4ce0)if('footnoteDefinition'===_0x15aa6e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x207af8}=this,{conversion:_0x23e291,editing:_0x1019a2}=_0x207af8,{t:t}=_0x207af8['locale'];_0x23e291['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x29468c,{writer:_0x1adfac,consumable:_0xa6b5a5})=>{const _0x4927a0=_0x29468c['getChild'](0x0);if(!_0x4927a0||!_0x4927a0['is']('element','a'))return null;const _0x487560=_0x4927a0['getAttribute']('href')||'';if(!_0x487560['startsWith']('#'))return null;const _0x5af7d3=_0x487560['replace'](/^#/,'');if(!_0x5af7d3)return null;_0xa6b5a5['consume'](_0x4927a0,{'name':!0x0,'attributes':['href']});for(const {item:_0x1a7011}of _0x1019a2['view']['createRangeIn'](_0x4927a0))_0x1a7011['is']('$textProxy')?_0xa6b5a5['consume'](_0x1a7011['textNode'],{'name':!0x0}):_0x1a7011['is']('element')&&_0xa6b5a5['consume'](_0x1a7011,{'name':!0x0});return _0x1adfac['createElement']('footnoteRef',{'footnoteId':_0x5af7d3});}}),_0x23e291['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x8c3b24,{writer:_0x232688})=>D(_0x8c3b24,_0x232688)}),_0x23e291['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x46aeb2,{writer:_0x63dfd1})=>{const _0x158371=_0x46aeb2['getAttribute']('footnoteCounter');return _0x29db82(D(_0x46aeb2,_0x63dfd1),_0x63dfd1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x158371)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4fd820}=this,{t:t}=_0x4fd820['locale'],{conversion:_0x5882b2}=_0x4fd820;_0x5882b2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5882b2['for']('upcast')['add'](_0x5ac0bc=>{_0x5ac0bc['on']('element:ol',(_0x210c98,_0x459c61,_0x24c0b8)=>{const _0x390017=_0x459c61['viewItem'];if(!_0x390017['hasClass']('footnotes-list')||!_0x459c61['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x24c0b8['consumable']['consume'](_0x390017,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1eb29c,modelCursor:_0x15b6e9}=_0x24c0b8['convertChildren'](_0x459c61['viewItem'],_0x459c61['modelCursor']);_0x459c61['modelRange']=_0x1eb29c,_0x459c61['modelCursor']=_0x15b6e9;}),_0x5ac0bc['on']('element:hr',(_0x1e610b,_0x4a1818,_0x2ed1b6)=>{const _0x15149e=_0x4a1818['viewItem'];_0x15149e['hasClass']('footnotes-divider')&&_0x4a1818['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2ed1b6['consumable']['consume'](_0x15149e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5882b2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5d1dff,{writer:_0x3e3f82})=>v(_0x3e3f82)}),_0x5882b2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xd68e2b,{writer:_0x30dfeb})=>{const _0x39b3f0=v(_0x30dfeb,{'data-footnotes-list-label':t('Footnotes')}),_0x330f81=_0x29db82(_0x39b3f0,_0x30dfeb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x30dfeb['setCustomProperty']('footnotesDefinitions',!0x0,_0x330f81),_0x330f81;}});}['_defineDefinitionConverters'](){const {editor:_0x2838c4}=this,{conversion:_0x1accb7,locale:_0x317e70}=_0x2838c4,_0x5be52e=_0x2838c4['config']['get']('footnotes.multiBlock');_0x1accb7['for']('upcast')['add'](_0x76920a=>{_0x76920a['on']('element:li',(_0x2f72fb,_0x5d4005,_0x56313c)=>{const _0x389dfe=_0x5d4005['viewItem'];if(!_0x389dfe['hasClass']('footnote-definition')||!_0x389dfe['getAttribute']('id'))return;const _0x5bc8d6=_0x389dfe['parent'];if(!_0x5bc8d6['is']('element','ol')||!_0x5bc8d6['hasClass']('footnotes-list'))return;if(!_0x56313c['consumable']['test'](_0x389dfe,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4d9d43=_0x56313c['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x389dfe['getAttribute']('id')});if(!_0x56313c['safeInsert'](_0x4d9d43,_0x5d4005['modelCursor']))return;_0x56313c['consumable']['consume'](_0x389dfe,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1967b1=Array['from'](_0x389dfe['getChildren']())['find'](_0x60dd4a=>_0x60dd4a['is']('element')&&_0x60dd4a['hasClass']('footnote-content'));for(const _0x42b699 of _0x389dfe['getChildren']())_0x42b699['is']('element')&&(_0x56313c['consumable']['consume'](_0x42b699,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x56313c['consumable']['consume'](_0x42b699,{'name':!0x0,'classes':'footnote-content'}));if(_0x1967b1){if(_0x5be52e)_0x56313c['convertChildren'](_0x1967b1,_0x4d9d43);else{const _0x10214c=_0x56313c['writer']['createElement']('footnoteInlineContent');_0x56313c['writer']['insert'](_0x10214c,_0x4d9d43),_0x56313c['convertChildren'](_0x1967b1,_0x10214c);}}_0x56313c['updateConversionResult'](_0x4d9d43,_0x5d4005);});}),_0x1accb7['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x153179,{writer:_0x307b6f})=>b(_0x153179,_0x307b6f,_0x317e70,{'dataPipeline':!0x0})}),_0x1accb7['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x172d9b,{writer:_0x24a5fd})=>b(_0x172d9b,_0x24a5fd,_0x317e70)});}['_defineBogusParagraphConverters'](){const {editor:_0xccee64}=this,{conversion:_0x32f9fa}=_0xccee64;_0xccee64['config']['get']('footnotes.multiBlock')?(_0x32f9fa['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x32f9fa['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xccee64['model']['document'],'change:data',()=>{!function(_0x93c6f6,_0x32def0){const _0x1da467=_0x93c6f6['document']['differ'],_0x39d019=new Set();for(const _0x371ce3 of _0x1da467['getChanges']()){const _0x52320e='attribute'==_0x371ce3['type']?_0x371ce3['range']['start']['parent']:_0x371ce3['position']['parent'];_0x52320e['is']('element','footnoteDefinition')&&_0x39d019['add'](_0x52320e);}for(const _0x355f36 of _0x39d019['values']()){const _0x2dba6f=Array['from'](_0x355f36['getChildren']())['filter'](_0x314e8e=>g(_0x314e8e,_0x32def0['mapper']));for(const _0x489d2e of _0x2dba6f)_0x32def0['reconvertItem'](_0x489d2e);}}(_0xccee64['model'],_0xccee64['editing']);})):(_0x32f9fa['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x32f9fa['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4cf7c8,{writer:_0x4d3734})=>{const _0x33a246=_0x4d3734['createContainerElement']('span');return _0x4d3734['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x33a246),_0x33a246;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c52da}=this,{editing:_0x398d4b,t:t}=_0x4c52da,_0x483d33=_0x4c52da['model']['document']['selection'];_0x4c52da['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4c52da['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x398d4b['view']['document'],'enter',(_0xf88fc1,_0x5360e7)=>{const _0x244d75=function(_0x4dd802){const _0x1867b4=_0x4dd802['getSelectedElement']();if(_0x1867b4?.['is']('element','footnoteRef'))return _0x1867b4;return null;}(_0x483d33);if(_0x244d75){const _0x471ed3=_0x244d75['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x471ed3),_0x5360e7['preventDefault'](),_0xf88fc1['stop']();}},{'context':_0x558723});}['_defineClickHandlers'](){const {editor:_0x561af9}=this,{editing:_0x18d86a}=_0x561af9;_0x561af9['editing']['view']['addObserver'](_0x1f24de),_0x561af9['editing']['view']['addObserver'](_0x48847e);let _0x4bfa82=!0x1;this['listenTo'](_0x18d86a['view']['document'],'pointerdown',(_0xbef7b7,_0x22944b)=>{const {target:_0x5640b2}=_0x22944b,_0x5ca777=_0x18d86a['view']['document']['selection'];_0x4bfa82=!!(_0x5640b2?.['is']('element','a')&&_0x5640b2['parent']?.['is']('element','sup')&&_0x5640b2['parent']['hasClass']('footnote'))&&_0x5ca777['getSelectedElement']()===_0x5640b2['parent'];},{'priority':'high'}),this['listenTo'](_0x18d86a['view']['document'],'click',(_0xaee459,_0x1eb3a0)=>{const {target:_0x4a2f83}=_0x1eb3a0;if(!_0x4a2f83?.['is']('element','a'))return;if(_0x4a2f83['parent']?.['is']('element','sup')&&_0x4a2f83['parent']['hasClass']('footnote')&&!_0x4bfa82)return void _0x1eb3a0['preventDefault']();let _0x335494=_0x4a2f83['getAttribute']('href');if(!_0x335494?.['startsWith']('#'))return;_0x335494=_0x335494['slice'](0x1);let _0x23d8fc=!0x1;(_0x335494['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x335494['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x335494))&&(_0x23d8fc=!0x0),_0x23d8fc&&(_0x1eb3a0['preventDefault'](),_0xaee459['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x540b57}={}){return(_0x51fdfa,{writer:_0xcdb37b})=>{if(!p(_0x51fdfa))return null;if(!_0x540b57)return _0xcdb37b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4086b9=_0xcdb37b['createContainerElement']('p');return _0xcdb37b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4086b9),_0x4086b9;};}function p(_0x1f05f3){const {parent:_0x1b515a}=_0x1f05f3;if(!_0x1b515a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1b515a['childCount'])return!0x1;for(const _0x4a3058 of _0x1f05f3['getAttributeKeys']())if(!_0x4a3058['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4a3058)return!0x1;return!0x0;}function g(_0x273854,_0xd196e2){if(!_0x273854['is']('element','paragraph'))return!0x1;const _0xad6544=_0xd196e2['toViewElement'](_0x273854);return!!_0xad6544&&p(_0x273854)!==_0xad6544['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4c1043){return _0x558723(_0x4c1043)&&_0x4c1043['is']('containerElement')&&!!_0x4c1043['getCustomProperty']('footnotesDefinitions');}function v(_0x37a79f,_0xc189a2={}){const _0x1becb5=_0x37a79f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x58d5e2=_0x37a79f['createContainerElement']('ol',{'class':'footnotes-list'},_0x37a79f['createSlot']());return _0x37a79f['createContainerElement']('div',{'class':'footnotes',..._0xc189a2},[_0x1becb5,_0x58d5e2]);}function D(_0x1b0677,_0x5543c7){const _0x2e8c9c=_0x1b0677['getAttribute']('footnoteId'),_0x557ea7=_0x1b0677['getAttribute']('footnoteCounter'),_0x4bdbb9=_0x5543c7['createUIElement']('a',{'href':'#'+_0x2e8c9c},function(_0x396ea0){const _0x1560b7=this['toDomElement'](_0x396ea0);return _0x1560b7['textContent']=_0x557ea7,_0x1560b7;}),_0x5c4944=_0x5543c7['createContainerElement']('sup',{'id':'ref-'+_0x2e8c9c,'class':'footnote'},[_0x4bdbb9]);return _0x5c4944['getFillerOffset']=()=>null,_0x5c4944;}function b(_0x3022be,_0x3fb03c,_0x1b1867,{dataPipeline:_0x11fc12}={}){const {t:t}=_0x1b1867,_0xf26dc4=_0x3022be['getAttribute']('footnoteId'),_0x2cb8ab=_0x3fb03c['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xf26dc4},function(_0x3e3ac5){const _0x40ee98=this['toDomElement'](_0x3e3ac5);return _0x40ee98['innerText']='^',_0x40ee98;}),_0x345ad5=_0x11fc12?_0x3fb03c['createContainerElement']('div',{'class':'footnote-content'}):_0x35c32f(_0x3fb03c['createEditableElement']('div',{'class':'footnote-content'}),_0x3fb03c,{'label':t('Footnote\x20content.')});return _0x3fb03c['insert'](_0x3fb03c['createPositionAt'](_0x345ad5,0x0),_0x3fb03c['createSlot']()),_0x3fb03c['createContainerElement']('li',{'class':'footnote-definition','id':_0xf26dc4},[_0x2cb8ab,_0x345ad5]);}
23
+ import{Plugin as _0x5f4ffa}from'ckeditor5/src/core.js';import{isWidget as _0x542dc1,toWidget as _0x3e57ef,toWidgetEditable as _0x11fb0a}from'ckeditor5/src/widget.js';import{uid as _0x5dfe62}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3fc106,ClickObserver as _0x246b52}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2bbfff}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2953d1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5f4ffa{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2bbfff];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x152772}=this;_0x152772['config']['define']('footnotes.multiBlock',!0x0),_0x152772['commands']['add']('insertFootnote',new _0x2953d1(_0x152772)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1273ca){const _0x58718f=_0x430f9a([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]),_0x3e7213=0x47a28506,_0xfd3b41=0x47a5fe26^_0x3e7213,_0x5fbfaa=window[_0x430f9a([0x44,0x61,0x74,0x65])][_0x430f9a([0x6e,0x6f,0x77])](),_0x7a48dd=_0x1273ca[_0x430f9a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21a00f=new window[(_0x430f9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e34a0=>{_0x7a48dd[_0x430f9a([0x6f,0x6e,0x63,0x65])](_0x430f9a([0x72,0x65,0x61,0x64,0x79]),_0x2e34a0);}),_0x3166a5={[_0x430f9a([0x6b,0x74,0x79])]:_0x430f9a([0x45,0x43]),[_0x430f9a([0x75,0x73,0x65])]:_0x430f9a([0x73,0x69,0x67]),[_0x430f9a([0x63,0x72,0x76])]:_0x430f9a([0x50,0x2d,0x32,0x35,0x36]),[_0x430f9a([0x78])]:_0x430f9a([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]),[_0x430f9a([0x79])]:_0x430f9a([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]),[_0x430f9a([0x61,0x6c,0x67])]:_0x430f9a([0x45,0x53,0x32,0x35,0x36])},_0x2feea3=_0x7a48dd[_0x430f9a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x430f9a([0x67,0x65,0x74])](_0x430f9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17c235(){let _0x10d95c,_0x24e69a=null,_0x1bd38a=null;try{if(_0x2feea3==_0x430f9a([0x47,0x50,0x4c]))return _0x430f9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x10d95c=_0x2d05bc(),!_0x10d95c)return _0x430f9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x10d95c[_0x430f9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bd38a=_0x2e068a(_0x10d95c[_0x430f9a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x10d95c[_0x430f9a([0x6a,0x74,0x69])])),await _0x5bcb24()?_0x8292c()?_0x3f588e()?_0x430f9a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b1d83()?(_0x10d95c[_0x430f9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x430f9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24e69a=_0x19f38d(_0x430f9a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x10d95c[_0x430f9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x430f9a([0x74,0x72,0x69,0x61,0x6c])&&(_0x24e69a=_0x19f38d(_0x430f9a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x26c2b9()):_0x430f9a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x430f9a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x430f9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x430f9a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f588e(){const _0x4547d7=[_0x430f9a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x430f9a([0x74,0x72,0x69,0x61,0x6c])][_0x430f9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d95c[_0x430f9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5fbfaa/0x3e8:0xe10*_0xfd3b41;return _0x10d95c[_0x430f9a([0x65,0x78,0x70])]<_0x4547d7;}function _0x8292c(){const _0x1ebf0a=_0x10d95c[_0x430f9a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1ebf0a&&(!!_0x1ebf0a[_0x430f9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430f9a([0x2a]))||!!_0x1ebf0a[_0x430f9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430f9a([0x46,0x4f,0x4f])));}function _0x4b1d83(){const _0x220a58=_0x10d95c[_0x430f9a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x220a58||0x0==_0x220a58[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e7221}=new URL(window[_0x430f9a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x220a58[_0x430f9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e7221))return!0x0;const _0xcbe5fc=_0x1e7221[_0x430f9a([0x73,0x70,0x6c,0x69,0x74])](_0x430f9a([0x2e]));return _0x220a58[_0x430f9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c8012=>_0x3c8012[_0x430f9a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x430f9a([0x2a])))[_0x430f9a([0x6d,0x61,0x70])](_0xe6f054=>_0xe6f054[_0x430f9a([0x73,0x70,0x6c,0x69,0x74])](_0x430f9a([0x2e])))[_0x430f9a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x333bb4=>_0x333bb4[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xcbe5fc[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x430f9a([0x6d,0x61,0x70])](_0x1eaeef=>Array(_0xcbe5fc[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1eaeef[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x430f9a([0x66,0x69,0x6c,0x6c])](_0x1eaeef[0x0]===_0x430f9a([0x2a])?_0x430f9a([0x2a]):'')[_0x430f9a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1eaeef))[_0x430f9a([0x73,0x6f,0x6d,0x65])](_0xf65a6a=>_0xcbe5fc[_0x430f9a([0x65,0x76,0x65,0x72,0x79])]((_0x327b76,_0x48fe27)=>_0xf65a6a[_0x48fe27]===_0x327b76||_0xf65a6a[_0x48fe27]===_0x430f9a([0x2a])));}function _0x26c2b9(){return _0x24e69a&&_0x1bd38a?new window[(_0x430f9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3aa2f6,_0x294ac6)=>{_0x24e69a[_0x430f9a([0x74,0x68,0x65,0x6e])](_0x3aa2f6,_0x294ac6),_0x1bd38a[_0x430f9a([0x74,0x68,0x65,0x6e])](_0x4962f1=>{_0x4962f1!=_0x430f9a([0x56,0x61,0x6c,0x69,0x64])&&_0x3aa2f6(_0x4962f1);},_0x294ac6);}):_0x24e69a||_0x1bd38a||_0x430f9a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2e068a(_0x5ad51c,_0x3db5bb){return new window[(_0x430f9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13553f=>{if(_0x4ea92f())return _0x13553f(_0x430f9a([0x56,0x61,0x6c,0x69,0x64]));_0x515e89(),_0x7a48dd[_0x430f9a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x430f9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54e9a7=!0x1;const _0x3f8195=_0x5dfe62();function _0x4d4799(_0x39f041){return!!_0x39f041&&(typeof _0x39f041===_0x430f9a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39f041===_0x430f9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39f041[_0x430f9a([0x74,0x68,0x65,0x6e])]===_0x430f9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39f041[_0x430f9a([0x63,0x61,0x74,0x63,0x68])]===_0x430f9a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x404642(_0x98b745){_0xed0e4f(_0x98b745)[_0x430f9a([0x74,0x68,0x65,0x6e])](_0x4a75c8=>{if(!_0x4a75c8||_0x4a75c8[_0x430f9a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x430f9a([0x6f,0x6b]))return _0x430f9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x32c363(_0x56d082(_0x3f8195+_0x3db5bb))!=_0x4a75c8[_0x430f9a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x430f9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x430f9a([0x56,0x61,0x6c,0x69,0x64]);})[_0x430f9a([0x74,0x68,0x65,0x6e])](_0x2108b1=>(_0x4c8e69(),_0x2108b1),()=>{const _0x219a4a=_0x44c566();return null==_0x219a4a?(_0x4c8e69(),_0x430f9a([0x56,0x61,0x6c,0x69,0x64])):_0x430f9a(_0x5fbfaa-_0x219a4a>(0x63ae0106^_0x3e7213)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x430f9a([0x74,0x68,0x65,0x6e])](_0x13553f)[_0x430f9a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13553f(_0x430f9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5bb231=0x47946b86^_0x3e7213;function _0x4c8e69(){const _0x55b97a=_0x430f9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x32c363(_0x56d082(_0x5ad51c)),_0x392e98=_0x273f77(_0x32c363(window[_0x430f9a([0x4d,0x61,0x74,0x68])][_0x430f9a([0x63,0x65,0x69,0x6c])](_0x5fbfaa/_0x5bb231)));window[_0x430f9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x430f9a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55b97a,_0x392e98);}function _0x44c566(){const _0x3667d6=_0x430f9a([0x6c,0x6c,0x63,0x74,0x2d])+_0x32c363(_0x56d082(_0x5ad51c)),_0x33f387=window[_0x430f9a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x430f9a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3667d6);return _0x33f387?window[_0x430f9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x273f77(_0x33f387),0x10)*_0x5bb231:null;}function _0xed0e4f(_0x2773cd){return new window[(_0x430f9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11b530,_0x24f2e7)=>{_0x2773cd[_0x430f9a([0x74,0x68,0x65,0x6e])](_0x11b530,_0x24f2e7),window[_0x430f9a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24f2e7,0x47a351c6^_0x3e7213);});}}_0x7a48dd[_0x430f9a([0x6f,0x6e])](_0x430f9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4097c1,_0x3aa368)=>{if(_0x3aa368[0x0]!=_0x5ad51c)return _0x13553f(_0x430f9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3aa368[0x1]={..._0x3aa368[0x1],[_0x430f9a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f8195};},{[_0x430f9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x430f9a([0x68,0x69,0x67,0x68])}),_0x7a48dd[_0x430f9a([0x6f,0x6e])](_0x430f9a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3c264d=>{_0x4d4799(_0x3c264d[_0x430f9a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54e9a7=!0x0,_0x404642(_0x3c264d[_0x430f9a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x430f9a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x430f9a([0x6c,0x6f,0x77])}),_0x21a00f[_0x430f9a([0x74,0x68,0x65,0x6e])](()=>{_0x54e9a7||_0x13553f(_0x430f9a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ea92f(){return _0x7a48dd[_0x430f9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x430f9a([0x76,0x69,0x65,0x77])][_0x430f9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x430f9a([0x61,0x75,0x74,0x6f]);}function _0x515e89(){_0x7a48dd[_0x430f9a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x430f9a([0x76,0x69,0x65,0x77])][_0x430f9a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x430f9a([0x61,0x75,0x74,0x6f]);}}function _0x19f38d(_0x54b17c){const _0x246e9b=[new window[(_0x430f9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3948aa=>setTimeout(_0x3948aa,0x47abbbca^_0x3e7213)),_0x21a00f[_0x430f9a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x430f9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ae3c8=>{let _0x482d3c=0x0;_0x7a48dd[_0x430f9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x430f9a([0x6f,0x6e])](_0x430f9a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4f89e2,_0x2d486a)=>{_0x2d486a[0x0][_0x430f9a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x482d3c++,_0x482d3c==(0x47a284fe^_0x3e7213)&&(_0x3ae3c8(),_0x4f89e2[_0x430f9a([0x6f,0x66,0x66])]());});}))];return window[_0x430f9a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x430f9a([0x72,0x61,0x63,0x65])](_0x246e9b)[_0x430f9a([0x74,0x68,0x65,0x6e])](()=>_0x54b17c);}async function _0x48ef69(){await _0x21a00f,_0x7a48dd[_0x430f9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x430f9a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xfaa56d,_0x7a48dd[_0x430f9a([0x6d,0x6f,0x64,0x65,0x6c])][_0x430f9a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xfaa56d,_0x7a48dd[_0x430f9a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x430f9a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x27d337(_0x4e1f2d){const _0x1a88e5=_0x560174();_0x7a48dd[_0x1a88e5]=_0x430f9a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e1f2d,_0x4e1f2d!=_0x430f9a([0x56,0x61,0x6c,0x69,0x64])&&_0x48ef69();}function _0x560174(){const _0x468d40=window[_0x430f9a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x430f9a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x430f9a([0x6e,0x6f,0x77])]())[_0x430f9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x430f9a([0x2e]),'');let _0x17dd76=_0x430f9a([0x75]);for(let _0x1d4f3e=0x0;_0x1d4f3e<_0x468d40[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d4f3e+=0x2){let _0x1a0da6=window[_0x430f9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x468d40[_0x430f9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d4f3e,_0x1d4f3e+0x2));_0x1a0da6>=_0x58718f[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1a0da6-=_0x58718f[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17dd76+=_0x58718f[_0x1a0da6];}return _0x17dd76;}function _0x2d05bc(){const _0x36044a=_0x2feea3[_0x430f9a([0x73,0x70,0x6c,0x69,0x74])](_0x430f9a([0x2e]));if(0x3!=_0x36044a[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f05f2(_0x36044a[0x1]);function _0x3f05f2(_0x16dcae){const _0x53e8d7=_0x537683(_0x16dcae);return _0x53e8d7&&_0x3d8697()?_0x53e8d7:null;function _0x3d8697(){const _0x530fae=_0x53e8d7[_0x430f9a([0x6a,0x74,0x69])],_0x553965=window[_0x430f9a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x530fae[_0x430f9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x530fae[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1bcdcb={..._0x53e8d7,[_0x430f9a([0x6a,0x74,0x69])]:_0x530fae[_0x430f9a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x530fae[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1bcdcb[_0x430f9a([0x76,0x63])],_0x56d082(_0x1bcdcb)==_0x553965;}}}async function _0x5bcb24(){let _0x1a0309=!0x0;try{const _0x53f52b=_0x2feea3[_0x430f9a([0x73,0x70,0x6c,0x69,0x74])](_0x430f9a([0x2e])),[_0x4a04ae,_0x5e5fc6,_0xf787ff]=_0x53f52b;return _0x3b6718(_0x4a04ae),await _0x242edd(_0x4a04ae,_0x5e5fc6,_0xf787ff),_0x1a0309;}catch{return!0x1;}function _0x3b6718(_0x34a104){const _0x510a62=_0x537683(_0x34a104);_0x510a62&&_0x510a62[_0x430f9a([0x61,0x6c,0x67])]==_0x430f9a([0x45,0x53,0x32,0x35,0x36])||(_0x1a0309=!0x1);}async function _0x242edd(_0x169e6b,_0xf284f4,_0xf81cf6){const _0x580e7e=window[_0x430f9a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x430f9a([0x66,0x72,0x6f,0x6d])](_0x453fb1(_0xf81cf6),_0x235014=>_0x235014[_0x430f9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x362e6d=new window[(_0x430f9a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x430f9a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x169e6b+_0x430f9a([0x2e])+_0xf284f4),_0x29c05a=window[_0x430f9a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x430f9a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29c05a)return;const _0x110e76=await _0x29c05a[_0x430f9a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x430f9a([0x6a,0x77,0x6b]),_0x3166a5,{[_0x430f9a([0x6e,0x61,0x6d,0x65])]:_0x430f9a([0x45,0x43,0x44,0x53,0x41]),[_0x430f9a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x430f9a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x430f9a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29c05a[_0x430f9a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x430f9a([0x6e,0x61,0x6d,0x65])]:_0x430f9a([0x45,0x43,0x44,0x53,0x41]),[_0x430f9a([0x68,0x61,0x73,0x68])]:{[_0x430f9a([0x6e,0x61,0x6d,0x65])]:_0x430f9a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x110e76,_0x580e7e,_0x362e6d)||(_0x1a0309=!0x1);}}function _0x537683(_0x3dfe1f){return _0x3dfe1f[_0x430f9a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x430f9a([0x65,0x79]))?JSON[_0x430f9a([0x70,0x61,0x72,0x73,0x65])](_0x453fb1(_0x3dfe1f)):null;}function _0x453fb1(_0x4a3a13){return window[_0x430f9a([0x61,0x74,0x6f,0x62])](_0x4a3a13[_0x430f9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x430f9a([0x2b]))[_0x430f9a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x430f9a([0x2f])));}function _0x56d082(_0x53947e){let _0x9c2b=0x1505;function _0x3570fd(_0x1b5fea){for(let _0x2b6435=0x0;_0x2b6435<_0x1b5fea[_0x430f9a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b6435++){const _0x154e5e=_0x1b5fea[_0x430f9a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2b6435);_0x9c2b=(_0x9c2b<<0x5)+_0x9c2b+_0x154e5e,_0x9c2b&=_0x9c2b;}}function _0xd5e43f(_0x5871a7){Array[_0x430f9a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5871a7)?_0x5871a7[_0x430f9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd5e43f):_0x5871a7&&typeof _0x5871a7==_0x430f9a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x430f9a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5871a7)[_0x430f9a([0x73,0x6f,0x72,0x74])]()[_0x430f9a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x75dccb,_0x5b4951])=>{_0x3570fd(_0x75dccb),_0xd5e43f(_0x5b4951);}):_0x3570fd(window[_0x430f9a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5871a7));}return _0xd5e43f(_0x53947e),_0x9c2b>>>0x0;}function _0x32c363(_0x368dc5){return _0x368dc5[_0x430f9a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x430f9a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x430f9a([0x30]));}function _0x273f77(_0xa4a120){return _0xa4a120[_0x430f9a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x430f9a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x430f9a([0x6a,0x6f,0x69,0x6e])]('');}function _0xfaa56d(){}function _0x430f9a(_0x67f87b){return _0x67f87b['map'](_0x5b14f7=>String['fromCharCode'](_0x5b14f7))['join']('');}_0x27d337(await _0x17c235());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5f4036){const {plugins:_0x3edb04,editing:_0x29a639,model:_0x15c917}=this['editor'],_0x48dea4=_0x3edb04['get'](_0x2bbfff)['getFootnote'](_0x5f4036);return!!_0x48dea4&&(_0x15c917['change'](_0x35c114=>{_0x35c114['setSelection'](_0x35c114['createPositionAt'](_0x48dea4['definition'],'end'));}),_0x29a639['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4e7bcb){const {plugins:_0x531862,editing:_0x421fc6,model:_0x35d8d6}=this['editor'],_0x37d80c=_0x531862['get'](_0x2bbfff)['getFootnote'](_0x4e7bcb);return!!_0x37d80c&&(_0x35d8d6['change'](_0xef5f6e=>{_0xef5f6e['setSelection'](_0x37d80c['reference'],'on');}),_0x421fc6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x384fb1}=this['editor']['model'],_0x1d3f49=this['editor']['config']['get']('footnotes.multiBlock');_0x384fb1['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x384fb1['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x384fb1['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1d3f49?_0x384fb1['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x384fb1['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x384fb1['addChildCheck'](_0x57693c=>{for(const _0x40745c of _0x57693c)if('footnoteDefinition'===_0x40745c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x212d9d}=this,{conversion:_0x53ece3,editing:_0x2c6b44}=_0x212d9d,{t:t}=_0x212d9d['locale'];_0x53ece3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2cf11d,{writer:_0x41d590,consumable:_0x278695})=>{const _0x3b65ff=_0x2cf11d['getChild'](0x0);if(!_0x3b65ff||!_0x3b65ff['is']('element','a'))return null;const _0x4f83fd=_0x3b65ff['getAttribute']('href')||'';if(!_0x4f83fd['startsWith']('#'))return null;const _0x2f7780=_0x4f83fd['replace'](/^#/,'');if(!_0x2f7780)return null;_0x278695['consume'](_0x3b65ff,{'name':!0x0,'attributes':['href']});for(const {item:_0x4af9e9}of _0x2c6b44['view']['createRangeIn'](_0x3b65ff))_0x4af9e9['is']('$textProxy')?_0x278695['consume'](_0x4af9e9['textNode'],{'name':!0x0}):_0x4af9e9['is']('element')&&_0x278695['consume'](_0x4af9e9,{'name':!0x0});return _0x41d590['createElement']('footnoteRef',{'footnoteId':_0x2f7780});}}),_0x53ece3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2d261a,{writer:_0x42582e})=>D(_0x2d261a,_0x42582e)}),_0x53ece3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x269588,{writer:_0x29ee08})=>{const _0x7e4e38=_0x269588['getAttribute']('footnoteCounter');return _0x3e57ef(D(_0x269588,_0x29ee08),_0x29ee08,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x7e4e38)});}});}['_defineDefinitionsConverters'](){const {editor:_0x27de69}=this,{t:t}=_0x27de69['locale'],{conversion:_0x400944}=_0x27de69;_0x400944['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x400944['for']('upcast')['add'](_0x12a125=>{_0x12a125['on']('element:ol',(_0x17a247,_0x4a107d,_0x4ad6c7)=>{const _0x3004ce=_0x4a107d['viewItem'];if(!_0x3004ce['hasClass']('footnotes-list')||!_0x4a107d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4ad6c7['consumable']['consume'](_0x3004ce,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x19cbf9,modelCursor:_0x21b2da}=_0x4ad6c7['convertChildren'](_0x4a107d['viewItem'],_0x4a107d['modelCursor']);_0x4a107d['modelRange']=_0x19cbf9,_0x4a107d['modelCursor']=_0x21b2da;}),_0x12a125['on']('element:hr',(_0x4f04d5,_0x51454c,_0x11a43a)=>{const _0x3d5408=_0x51454c['viewItem'];_0x3d5408['hasClass']('footnotes-divider')&&_0x51454c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x11a43a['consumable']['consume'](_0x3d5408,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x400944['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xdd1103,{writer:_0x39f204})=>v(_0x39f204)}),_0x400944['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5988ae,{writer:_0x1d7f2d})=>{const _0xf5abba=v(_0x1d7f2d,{'data-footnotes-list-label':t('Footnotes')}),_0x1171fe=_0x3e57ef(_0xf5abba,_0x1d7f2d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1d7f2d['setCustomProperty']('footnotesDefinitions',!0x0,_0x1171fe),_0x1171fe;}});}['_defineDefinitionConverters'](){const {editor:_0x5e67d0}=this,{conversion:_0x5ddc03,locale:_0x10367d}=_0x5e67d0,_0x275eac=_0x5e67d0['config']['get']('footnotes.multiBlock');_0x5ddc03['for']('upcast')['add'](_0x542bd9=>{_0x542bd9['on']('element:li',(_0x1fcce4,_0x5e380,_0x43de48)=>{const _0x4e7a1=_0x5e380['viewItem'];if(!_0x4e7a1['hasClass']('footnote-definition')||!_0x4e7a1['getAttribute']('id'))return;const _0x799358=_0x4e7a1['parent'];if(!_0x799358['is']('element','ol')||!_0x799358['hasClass']('footnotes-list'))return;if(!_0x43de48['consumable']['test'](_0x4e7a1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x30f583=_0x43de48['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4e7a1['getAttribute']('id')});if(!_0x43de48['safeInsert'](_0x30f583,_0x5e380['modelCursor']))return;_0x43de48['consumable']['consume'](_0x4e7a1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x445584=Array['from'](_0x4e7a1['getChildren']())['find'](_0x5502a7=>_0x5502a7['is']('element')&&_0x5502a7['hasClass']('footnote-content'));for(const _0x6c736f of _0x4e7a1['getChildren']())_0x6c736f['is']('element')&&(_0x43de48['consumable']['consume'](_0x6c736f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x43de48['consumable']['consume'](_0x6c736f,{'name':!0x0,'classes':'footnote-content'}));if(_0x445584){if(_0x275eac)_0x43de48['convertChildren'](_0x445584,_0x30f583);else{const _0x2df2dd=_0x43de48['writer']['createElement']('footnoteInlineContent');_0x43de48['writer']['insert'](_0x2df2dd,_0x30f583),_0x43de48['convertChildren'](_0x445584,_0x2df2dd);}}_0x43de48['updateConversionResult'](_0x30f583,_0x5e380);});}),_0x5ddc03['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5e4a93,{writer:_0x221503})=>b(_0x5e4a93,_0x221503,_0x10367d,{'dataPipeline':!0x0})}),_0x5ddc03['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2ad6e8,{writer:_0x23013a})=>b(_0x2ad6e8,_0x23013a,_0x10367d)});}['_defineBogusParagraphConverters'](){const {editor:_0x32e3ed}=this,{conversion:_0xbb436d}=_0x32e3ed;_0x32e3ed['config']['get']('footnotes.multiBlock')?(_0xbb436d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0xbb436d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x32e3ed['model']['document'],'change:data',()=>{!function(_0x28d209,_0x52f090){const _0x29d43c=_0x28d209['document']['differ'],_0x333d81=new Set();for(const _0x25bea6 of _0x29d43c['getChanges']()){const _0x2b3993='attribute'==_0x25bea6['type']?_0x25bea6['range']['start']['parent']:_0x25bea6['position']['parent'];_0x2b3993['is']('element','footnoteDefinition')&&_0x333d81['add'](_0x2b3993);}for(const _0x4d84ee of _0x333d81['values']()){const _0x53969d=Array['from'](_0x4d84ee['getChildren']())['filter'](_0x2ca237=>g(_0x2ca237,_0x52f090['mapper']));for(const _0x9401ea of _0x53969d)_0x52f090['reconvertItem'](_0x9401ea);}}(_0x32e3ed['model'],_0x32e3ed['editing']);})):(_0xbb436d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0xbb436d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4fd32b,{writer:_0x40eabf})=>{const _0x5af9da=_0x40eabf['createContainerElement']('span');return _0x40eabf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5af9da),_0x5af9da;}}));}['_defineKeyboardHandlers'](){const {editor:_0x275c96}=this,{editing:_0x56de87,t:t}=_0x275c96,_0x48d6dd=_0x275c96['model']['document']['selection'];_0x275c96['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x275c96['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x56de87['view']['document'],'enter',(_0x510661,_0x491767)=>{const _0x14853d=function(_0xe43808){const _0x4fc020=_0xe43808['getSelectedElement']();if(_0x4fc020?.['is']('element','footnoteRef'))return _0x4fc020;return null;}(_0x48d6dd);if(_0x14853d){const _0x46f1d4=_0x14853d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x46f1d4),_0x491767['preventDefault'](),_0x510661['stop']();}},{'context':_0x542dc1});}['_defineClickHandlers'](){const {editor:_0x50125d}=this,{editing:_0x5910bd}=_0x50125d;_0x50125d['editing']['view']['addObserver'](_0x3fc106),_0x50125d['editing']['view']['addObserver'](_0x246b52);let _0x52644=!0x1;this['listenTo'](_0x5910bd['view']['document'],'pointerdown',(_0x39a022,_0x2b6f77)=>{const {target:_0x5c4d05}=_0x2b6f77,_0x4b429b=_0x5910bd['view']['document']['selection'];_0x52644=!!(_0x5c4d05?.['is']('element','a')&&_0x5c4d05['parent']?.['is']('element','sup')&&_0x5c4d05['parent']['hasClass']('footnote'))&&_0x4b429b['getSelectedElement']()===_0x5c4d05['parent'];},{'priority':'high'}),this['listenTo'](_0x5910bd['view']['document'],'click',(_0x8a5155,_0x47b104)=>{const {target:_0x72ccac}=_0x47b104;if(!_0x72ccac?.['is']('element','a'))return;if(_0x72ccac['parent']?.['is']('element','sup')&&_0x72ccac['parent']['hasClass']('footnote')&&!_0x52644)return void _0x47b104['preventDefault']();let _0xcc228a=_0x72ccac['getAttribute']('href');if(!_0xcc228a?.['startsWith']('#'))return;_0xcc228a=_0xcc228a['slice'](0x1);let _0x92d42c=!0x1;(_0xcc228a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xcc228a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xcc228a))&&(_0x92d42c=!0x0),_0x92d42c&&(_0x47b104['preventDefault'](),_0x8a5155['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x59665c}={}){return(_0x4564e0,{writer:_0xc58783})=>{if(!p(_0x4564e0))return null;if(!_0x59665c)return _0xc58783['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2ee899=_0xc58783['createContainerElement']('p');return _0xc58783['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2ee899),_0x2ee899;};}function p(_0x2f5e66){const {parent:_0x46f96d}=_0x2f5e66;if(!_0x46f96d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x46f96d['childCount'])return!0x1;for(const _0x1f4e35 of _0x2f5e66['getAttributeKeys']())if(!_0x1f4e35['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1f4e35)return!0x1;return!0x0;}function g(_0x353816,_0x3b9c61){if(!_0x353816['is']('element','paragraph'))return!0x1;const _0x42177e=_0x3b9c61['toViewElement'](_0x353816);return!!_0x42177e&&p(_0x353816)!==_0x42177e['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1bee5a){return _0x542dc1(_0x1bee5a)&&_0x1bee5a['is']('containerElement')&&!!_0x1bee5a['getCustomProperty']('footnotesDefinitions');}function v(_0x6dd6df,_0x2d2737={}){const _0x4fcd35=_0x6dd6df['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x380c6b=_0x6dd6df['createContainerElement']('ol',{'class':'footnotes-list'},_0x6dd6df['createSlot']());return _0x6dd6df['createContainerElement']('div',{'class':'footnotes',..._0x2d2737},[_0x4fcd35,_0x380c6b]);}function D(_0x41d372,_0x2df545){const _0x43ea69=_0x41d372['getAttribute']('footnoteId'),_0x5c13cd=_0x41d372['getAttribute']('footnoteCounter'),_0x38f312=_0x2df545['createUIElement']('a',{'href':'#'+_0x43ea69},function(_0x61c5fe){const _0x3dc3df=this['toDomElement'](_0x61c5fe);return _0x3dc3df['textContent']=_0x5c13cd,_0x3dc3df;}),_0x4dfd44=_0x2df545['createContainerElement']('sup',{'id':'ref-'+_0x43ea69,'class':'footnote'},[_0x38f312]);return _0x4dfd44['getFillerOffset']=()=>null,_0x4dfd44;}function b(_0x6a1599,_0x7093f3,_0x22bb12,{dataPipeline:_0x4c29e8}={}){const {t:t}=_0x22bb12,_0x4718a5=_0x6a1599['getAttribute']('footnoteId'),_0x331b73=_0x7093f3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4718a5},function(_0x4b2e3c){const _0xbf26d8=this['toDomElement'](_0x4b2e3c);return _0xbf26d8['innerText']='^',_0xbf26d8;}),_0x5c20a4=_0x4c29e8?_0x7093f3['createContainerElement']('div',{'class':'footnote-content'}):_0x11fb0a(_0x7093f3['createEditableElement']('div',{'class':'footnote-content'}),_0x7093f3,{'label':t('Footnote\x20content.')});return _0x7093f3['insert'](_0x7093f3['createPositionAt'](_0x5c20a4,0x0),_0x7093f3['createSlot']()),_0x7093f3['createContainerElement']('li',{'class':'footnote-definition','id':_0x4718a5},[_0x331b73,_0x5c20a4]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x356e(_0x10c853,_0x5af43c){const _0x1659a8=_0x1659();return _0x356e=function(_0x356ea7,_0x5b79d7){_0x356ea7=_0x356ea7-0xf4;let _0x45959a=_0x1659a8[_0x356ea7];return _0x45959a;},_0x356e(_0x10c853,_0x5af43c);}const _0x322e9c=_0x356e;(function(_0x1bd2dc,_0x30f6e8){const _0xcdba21=_0x356e,_0x5b8df1=_0x1bd2dc();while(!![]){try{const _0xe86ce5=-parseInt(_0xcdba21(0xfa))/0x1+-parseInt(_0xcdba21(0xfd))/0x2+parseInt(_0xcdba21(0x10a))/0x3*(-parseInt(_0xcdba21(0x100))/0x4)+parseInt(_0xcdba21(0xf5))/0x5+parseInt(_0xcdba21(0x109))/0x6+-parseInt(_0xcdba21(0xff))/0x7*(-parseInt(_0xcdba21(0x108))/0x8)+parseInt(_0xcdba21(0x102))/0x9;if(_0xe86ce5===_0x30f6e8)break;else _0x5b8df1['push'](_0x5b8df1['shift']());}catch(_0x9455d2){_0x5b8df1['push'](_0x5b8df1['shift']());}}}(_0x1659,0xd515c));import{Command as _0x1c142f}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x577696}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x1c142f{[_0x322e9c(0x104)](){const _0x469e92=_0x322e9c,{editor:_0x36cf79}=this,_0x408417=_0x36cf79[_0x469e92(0xf9)][_0x469e92(0x103)](_0x577696)[_0x469e92(0x101)]();this[_0x469e92(0x107)]=!!_0x408417,this[_0x469e92(0x106)]=_0x408417?.[_0x469e92(0xfb)](_0x469e92(0xf4))??null;}[_0x322e9c(0xf7)]({value:_0x4c4b08}){const _0x23c664=_0x322e9c,{editor:_0x7e1e7d}=this,_0x4a417f=_0x7e1e7d[_0x23c664(0xf9)][_0x23c664(0x103)](_0x577696),_0x501b0f=_0x4a417f[_0x23c664(0x101)]();_0x501b0f&&Number[_0x23c664(0xf6)](_0x4c4b08)&&_0x7e1e7d[_0x23c664(0xf8)][_0x23c664(0xfe)](_0x10c3f3=>{const _0x366858=_0x23c664;_0x10c3f3[_0x366858(0xfc)](_0x366858(0xf4),_0x4c4b08,_0x501b0f),_0x4a417f[_0x366858(0x105)](_0x10c3f3);});}}function _0x1659(){const _0x2331d4=['isEnabled','32TmfobF','5651124wSOUta','75auItPR','footnotesListStart','4444735niCjCL','isInteger','execute','model','plugins','452768jRJUtz','getAttribute','setAttribute','628966LkawRr','change','333648XtnAxe','144836vWdDLn','getFootnotesDefinitionsObjectElement','4714335EPLETQ','get','refresh','_updateFootnotesCounters','value'];_0x1659=function(){return _0x2331d4;};return _0x1659();}
23
+ const _0x268cdb=_0x4cb8;function _0x4cb8(_0x21705c,_0x58f095){const _0x55b3ae=_0x55b3();return _0x4cb8=function(_0x4cb8a6,_0x24b707){_0x4cb8a6=_0x4cb8a6-0xd6;let _0x474e4a=_0x55b3ae[_0x4cb8a6];return _0x474e4a;},_0x4cb8(_0x21705c,_0x58f095);}(function(_0x207886,_0x184fd2){const _0x455788=_0x4cb8,_0xbee94f=_0x207886();while(!![]){try{const _0xcc8597=-parseInt(_0x455788(0xed))/0x1+-parseInt(_0x455788(0xec))/0x2*(-parseInt(_0x455788(0xe2))/0x3)+parseInt(_0x455788(0xdf))/0x4+parseInt(_0x455788(0xd9))/0x5+-parseInt(_0x455788(0xd6))/0x6*(parseInt(_0x455788(0xdd))/0x7)+-parseInt(_0x455788(0xe9))/0x8+-parseInt(_0x455788(0xe6))/0x9*(-parseInt(_0x455788(0xe4))/0xa);if(_0xcc8597===_0x184fd2)break;else _0xbee94f['push'](_0xbee94f['shift']());}catch(_0x988a8f){_0xbee94f['push'](_0xbee94f['shift']());}}}(_0x55b3,0x29c22));import{Command as _0x36a9ad}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x276f5f}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x36a9ad{[_0x268cdb(0xe5)](){const _0x463255=_0x268cdb,{editor:_0x229b51}=this,_0x153d3a=_0x229b51[_0x463255(0xe8)][_0x463255(0xe3)](_0x276f5f)[_0x463255(0xe0)]();this[_0x463255(0xea)]=!!_0x153d3a,this[_0x463255(0xda)]=_0x153d3a?.[_0x463255(0xdc)](_0x463255(0xe7))??null;}[_0x268cdb(0xd8)]({value:_0x43c927}){const _0x5bcd86=_0x268cdb,{editor:_0x37f089}=this,_0x28c481=_0x37f089[_0x5bcd86(0xe8)][_0x5bcd86(0xe3)](_0x276f5f),_0x2885a8=_0x28c481[_0x5bcd86(0xe0)]();_0x2885a8&&Number[_0x5bcd86(0xdb)](_0x43c927)&&_0x37f089[_0x5bcd86(0xe1)][_0x5bcd86(0xeb)](_0x55266a=>{const _0x5485d2=_0x5bcd86;_0x55266a[_0x5485d2(0xd7)](_0x5485d2(0xe7),_0x43c927,_0x2885a8),_0x28c481[_0x5485d2(0xde)](_0x55266a);});}}function _0x55b3(){const _0x19a1d0=['2610agEMhx','refresh','1746wQSMLY','footnotesListStart','plugins','587480YNRTTV','isEnabled','change','2ZHRYUT','281775UtpbBV','18qprAcF','setAttribute','execute','1056825jYaHNL','value','isInteger','getAttribute','135443ICErvs','_updateFootnotesCounters','1222268gKWlnm','getFootnotesDefinitionsObjectElement','model','50199SsZsHJ','get'];_0x55b3=function(){return _0x19a1d0;};return _0x55b3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56d2(){const _0x1a03c0=['plugins','266464xxlQCr','value','execute','get','1569115RtJbng','558ICXvtH','412116yatSix','refresh','model','getFootnotesDefinitionsObjectElement','footnotesListStyle','58648CPwvdY','includes','2069424tJlhqO','218212NqsXVv','12UWZwjN','change','isEnabled','_updateFootnotesCounters','308946nSxWcX','setAttribute','getAttribute'];_0x56d2=function(){return _0x1a03c0;};return _0x56d2();}const _0x1dec70=_0x1b9d;(function(_0x37277d,_0x16957f){const _0x464bd8=_0x1b9d,_0x33e65d=_0x37277d();while(!![]){try{const _0x48aad1=parseInt(_0x464bd8(0x1ad))/0x1+parseInt(_0x464bd8(0x1be))/0x2+-parseInt(_0x464bd8(0x1b6))/0x3*(parseInt(_0x464bd8(0x1b5))/0x4)+-parseInt(_0x464bd8(0x1c2))/0x5+parseInt(_0x464bd8(0x1ba))/0x6+-parseInt(_0x464bd8(0x1b4))/0x7+parseInt(_0x464bd8(0x1b2))/0x8*(parseInt(_0x464bd8(0x1ac))/0x9);if(_0x48aad1===_0x16957f)break;else _0x33e65d['push'](_0x33e65d['shift']());}catch(_0x4de12a){_0x33e65d['push'](_0x33e65d['shift']());}}}(_0x56d2,0x369ce));import{Command as _0x356984}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5ca16f}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x576460}from'../../footnotestracker.js';function _0x1b9d(_0x3ffe06,_0x519ce9){const _0x56d217=_0x56d2();return _0x1b9d=function(_0x1b9dcb,_0x1728a3){_0x1b9dcb=_0x1b9dcb-0x1ac;let _0x2b597e=_0x56d217[_0x1b9dcb];return _0x2b597e;},_0x1b9d(_0x3ffe06,_0x519ce9);}export class FootnotesStyleCommand extends _0x356984{[_0x1dec70(0x1ae)](){const _0x28acfd=_0x1dec70,{editor:_0x4bed0b}=this,_0x406dc9=_0x4bed0b[_0x28acfd(0x1bd)][_0x28acfd(0x1c1)](_0x576460)[_0x28acfd(0x1b0)]();this[_0x28acfd(0x1b8)]=!!_0x406dc9,this[_0x28acfd(0x1bf)]=_0x406dc9?.[_0x28acfd(0x1bc)](_0x28acfd(0x1b1))??null;}[_0x1dec70(0x1c0)]({value:_0x5dd261}){const _0x2a43fb=_0x1dec70,{editor:_0x57c225}=this,_0x29cc2e=_0x57c225[_0x2a43fb(0x1bd)][_0x2a43fb(0x1c1)](_0x576460),_0x4805e2=_0x29cc2e[_0x2a43fb(0x1b0)]();_0x4805e2&&_0x5ca16f[_0x2a43fb(0x1b3)](_0x5dd261)&&_0x57c225[_0x2a43fb(0x1af)][_0x2a43fb(0x1b7)](_0x4b1fb3=>{const _0x3e5c7b=_0x2a43fb;_0x4b1fb3[_0x3e5c7b(0x1bb)](_0x3e5c7b(0x1b1),_0x5dd261,_0x4805e2),_0x29cc2e[_0x3e5c7b(0x1b9)](_0x4b1fb3);});}}
23
+ const _0x380312=_0x4d80;(function(_0x4e3b72,_0x5cc86b){const _0x1a39f5=_0x4d80,_0x233f04=_0x4e3b72();while(!![]){try{const _0x17c317=-parseInt(_0x1a39f5(0x117))/0x1*(-parseInt(_0x1a39f5(0x105))/0x2)+parseInt(_0x1a39f5(0x107))/0x3+parseInt(_0x1a39f5(0x114))/0x4*(parseInt(_0x1a39f5(0x10c))/0x5)+parseInt(_0x1a39f5(0x106))/0x6+parseInt(_0x1a39f5(0x10a))/0x7*(parseInt(_0x1a39f5(0x115))/0x8)+-parseInt(_0x1a39f5(0x108))/0x9*(-parseInt(_0x1a39f5(0x112))/0xa)+-parseInt(_0x1a39f5(0x10f))/0xb;if(_0x17c317===_0x5cc86b)break;else _0x233f04['push'](_0x233f04['shift']());}catch(_0x2f7ede){_0x233f04['push'](_0x233f04['shift']());}}}(_0x4340,0x34b59));import{Command as _0x25cd9b}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x19e135}from'../footnotespropertiesconfig.js';function _0x4d80(_0x59518d,_0x2556b3){const _0x4340ae=_0x4340();return _0x4d80=function(_0x4d80af,_0x4389e1){_0x4d80af=_0x4d80af-0x105;let _0x1da461=_0x4340ae[_0x4d80af];return _0x1da461;},_0x4d80(_0x59518d,_0x2556b3);}function _0x4340(){const _0x13191d=['plugins','298049wvisPe','change','getAttribute','refresh','getFootnotesDefinitionsObjectElement','setAttribute','isEnabled','2HbMFHk','1954998xPcFrA','272715DLvqXi','126468tfetBF','footnotesListStyle','21zJNsfl','includes','710DmasjW','value','execute','8417431nJsgdt','get','_updateFootnotesCounters','50EIYCVF','model','444kgBUmu','480824HZdMCP'];_0x4340=function(){return _0x13191d;};return _0x4340();}import{FootnotesTracker as _0x97e262}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x25cd9b{[_0x380312(0x11a)](){const _0x474609=_0x380312,{editor:_0x20e5f4}=this,_0x3fe1f0=_0x20e5f4[_0x474609(0x116)][_0x474609(0x110)](_0x97e262)[_0x474609(0x11b)]();this[_0x474609(0x11d)]=!!_0x3fe1f0,this[_0x474609(0x10d)]=_0x3fe1f0?.[_0x474609(0x119)](_0x474609(0x109))??null;}[_0x380312(0x10e)]({value:_0x3cb738}){const _0x4243f7=_0x380312,{editor:_0x7e8c79}=this,_0x594da3=_0x7e8c79[_0x4243f7(0x116)][_0x4243f7(0x110)](_0x97e262),_0x63f6b=_0x594da3[_0x4243f7(0x11b)]();_0x63f6b&&_0x19e135[_0x4243f7(0x10b)](_0x3cb738)&&_0x7e8c79[_0x4243f7(0x113)][_0x4243f7(0x118)](_0x43dfef=>{const _0x2e5263=_0x4243f7;_0x43dfef[_0x2e5263(0x11c)](_0x2e5263(0x109),_0x3cb738,_0x63f6b),_0x594da3[_0x2e5263(0x111)](_0x43dfef);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11a662=_0x2a7a;(function(_0x5ec0b5,_0x5abe10){const _0x369041=_0x2a7a,_0x1a73b1=_0x5ec0b5();while(!![]){try{const _0x4ca48c=-parseInt(_0x369041(0x90))/0x1+parseInt(_0x369041(0x8d))/0x2*(-parseInt(_0x369041(0x94))/0x3)+-parseInt(_0x369041(0x9a))/0x4+-parseInt(_0x369041(0x8a))/0x5*(-parseInt(_0x369041(0x93))/0x6)+parseInt(_0x369041(0x8c))/0x7*(parseInt(_0x369041(0x8e))/0x8)+-parseInt(_0x369041(0x89))/0x9+parseInt(_0x369041(0x8b))/0xa*(parseInt(_0x369041(0x9b))/0xb);if(_0x4ca48c===_0x5abe10)break;else _0x1a73b1['push'](_0x1a73b1['shift']());}catch(_0x2ab0c5){_0x1a73b1['push'](_0x1a73b1['shift']());}}}(_0x538a,0x6d207));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x11a662(0x99),_0x11a662(0x8f),_0x11a662(0x98),_0x11a662(0x92),_0x11a662(0x97),_0x11a662(0x95),_0x11a662(0x96),_0x11a662(0x91)];function _0x2a7a(_0x2740f0,_0xf6ee61){const _0x538a8b=_0x538a();return _0x2a7a=function(_0x2a7a70,_0x11959b){_0x2a7a70=_0x2a7a70-0x89;let _0x158081=_0x538a8b[_0x2a7a70];return _0x158081;},_0x2a7a(_0x2740f0,_0xf6ee61);}function _0x538a(){const _0x3d5b5c=['upper-latin','6zcfKNg','162129gGhewY','upper-alpha','lower-roman','lower-alpha','lower-latin','decimal','716040oKiEST','11ctwHNL','398655glnZXV','475890NDVjJc','3075040MklXFl','7EMEECU','6cfMrIC','5027448KPxEHL','decimal-leading-zero','198696zFUqMP','upper-roman'];_0x538a=function(){return _0x3d5b5c;};return _0x538a();}
23
+ function _0x3f66(){const _0x48c4e7=['decimal','10yTFJcW','decimal-leading-zero','888WZpogb','67075VPxNNE','upper-roman','lower-roman','71832YJcbOQ','upper-alpha','2hzULph','135885zGnUdm','1834857rtiAdV','lower-alpha','30331vCneXy','19115217yWtlmR','3612305civPks','6OTpqWZ','upper-latin','lower-latin'];_0x3f66=function(){return _0x48c4e7;};return _0x3f66();}const _0x3f60a2=_0x3490;(function(_0x29d3e7,_0x21f47b){const _0x4cc11b=_0x3490,_0x505625=_0x29d3e7();while(!![]){try{const _0x4ebe45=parseInt(_0x4cc11b(0x7c))/0x1*(parseInt(_0x4cc11b(0x81))/0x2)+parseInt(_0x4cc11b(0x82))/0x3+parseInt(_0x4cc11b(0x7f))/0x4+-parseInt(_0x4cc11b(0x87))/0x5*(parseInt(_0x4cc11b(0x88))/0x6)+-parseInt(_0x4cc11b(0x85))/0x7*(parseInt(_0x4cc11b(0x7b))/0x8)+-parseInt(_0x4cc11b(0x83))/0x9*(parseInt(_0x4cc11b(0x79))/0xa)+parseInt(_0x4cc11b(0x86))/0xb;if(_0x4ebe45===_0x21f47b)break;else _0x505625['push'](_0x505625['shift']());}catch(_0x16edb8){_0x505625['push'](_0x505625['shift']());}}}(_0x3f66,0x707ea));function _0x3490(_0x41d489,_0x23a709){const _0x3f6628=_0x3f66();return _0x3490=function(_0x349057,_0x197f95){_0x349057=_0x349057-0x78;let _0x50eb77=_0x3f6628[_0x349057];return _0x50eb77;},_0x3490(_0x41d489,_0x23a709);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3f60a2(0x78),_0x3f60a2(0x7a),_0x3f60a2(0x8a),_0x3f60a2(0x89),_0x3f60a2(0x84),_0x3f60a2(0x80),_0x3f60a2(0x7e),_0x3f60a2(0x7d)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5de8(){const _0x43d1e2=['document','setAttribute','$text','registerPostFixer','decimal-leading-zero','setStyle','FootnotesPropertiesEditing','3915680avDasZ','find','getChanges','for','floor','nodeAfter','consumable','extend','checkAttribute','attribute:footnotesListStyle:footnotesDefinitions','parent','init','add','_updateFootnotesCounters','5520vOFUNu','toLowerCase','pluginName','toViewElement','footnotes-list','item','viewItem','hasAttribute','removeAttribute','upcast','get','isOfficialPlugin','getAttribute','start','from','type','upper-roman','consume','_formatFootnoteListValue','list-style-type','footnotesDefinitions','parseInt','2321718zWXQjF','_defineFormatter','104vBhxnC','_defineSchema','footnotesListStyle','34256DebALz','upper-alpha','footnotes.footnotesProperties.defaultListStyle','insert','isNaN','decimal','define','removeStyle','element','toUpperCase','schema','position','1565160BPBCfB','element:ol','attribute:footnotesListStart:footnotesDefinitions','downcast','config','padStart','_defineConverters','lower-roman','mapper','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','editor','_getDefaultStartIndex','isPremiumPlugin','19223UgdHGr','getItems','hasClass','footnotesStart','686MZhEbd','writer','34ENgHtg','commands','_definePostfixer','9072297qlDyIE','setFootnoteFormatter','footnotesStyle','name','differ','model','requires','modelCursor','plugins','upper-latin','max','_getDefaultListStyle','getStyle','lower-alpha','lower-latin','getChildren','fromCharCode','createRangeOn'];_0x5de8=function(){return _0x43d1e2;};return _0x5de8();}const _0x1d5786=_0x3b46;(function(_0x5a9cc0,_0xabbb41){const _0x39d608=_0x3b46,_0xfe8876=_0x5a9cc0();while(!![]){try{const _0x48808a=parseInt(_0x39d608(0x21e))/0x1*(-parseInt(_0x39d608(0x1bf))/0x2)+-parseInt(_0x39d608(0x1e9))/0x3*(parseInt(_0x39d608(0x201))/0x4)+parseInt(_0x39d608(0x210))/0x5+parseInt(_0x39d608(0x1ff))/0x6+-parseInt(_0x39d608(0x1bd))/0x7*(parseInt(_0x39d608(0x204))/0x8)+parseInt(_0x39d608(0x1c2))/0x9+-parseInt(_0x39d608(0x1db))/0xa;if(_0x48808a===_0xabbb41)break;else _0xfe8876['push'](_0xfe8876['shift']());}catch(_0x153ba8){_0xfe8876['push'](_0xfe8876['shift']());}}}(_0x5de8,0x7f7c7));import{Plugin as _0x18d21a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4dfb70}from'./commands/footnotesstylecommand.js';function _0x3b46(_0x163abb,_0x28c6a1){const _0x5de8c0=_0x5de8();return _0x3b46=function(_0x3b4620,_0x517398){_0x3b4620=_0x3b4620-0x1bd;let _0x4038dc=_0x5de8c0[_0x3b4620];return _0x4038dc;},_0x3b46(_0x163abb,_0x28c6a1);}import{FootnotesStartCommand as _0x415663}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x164d30}from'../footnotestracker.js';import{FootnotesEditing as _0x59dd2e}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x18d21a{static get[_0x1d5786(0x1eb)](){const _0x272f63=_0x1d5786;return _0x272f63(0x1da);}static get[_0x1d5786(0x1c8)](){return[_0x59dd2e,_0x164d30];}static get[_0x1d5786(0x1f4)](){return!0x0;}static get[_0x1d5786(0x21d)](){return!0x0;}[_0x1d5786(0x1e6)](){const _0x2a5d09=_0x1d5786,{editor:_0x5ee01b}=this;_0x5ee01b[_0x2a5d09(0x214)][_0x2a5d09(0x20a)](_0x2a5d09(0x206),_0x2a5d09(0x209)),_0x5ee01b[_0x2a5d09(0x214)][_0x2a5d09(0x20a)](_0x2a5d09(0x219),0x1),_0x5ee01b[_0x2a5d09(0x1c0)][_0x2a5d09(0x1e7)](_0x2a5d09(0x1c4),new _0x4dfb70(_0x5ee01b)),_0x5ee01b[_0x2a5d09(0x1c0)][_0x2a5d09(0x1e7)](_0x2a5d09(0x221),new _0x415663(_0x5ee01b)),this[_0x2a5d09(0x202)](),this[_0x2a5d09(0x216)](),this[_0x2a5d09(0x200)](),this[_0x2a5d09(0x1c1)]();}[_0x1d5786(0x202)](){const _0x4ca76d=_0x1d5786,{editor:_0x52a3f9}=this,{schema:_0x3091d8}=_0x52a3f9[_0x4ca76d(0x1c7)];_0x3091d8[_0x4ca76d(0x1e2)](_0x4ca76d(0x1fd),{'allowAttributes':[_0x4ca76d(0x203),_0x4ca76d(0x21a)]});}[_0x1d5786(0x216)](){const _0xc532a2=_0x1d5786,{editor:_0x4b2dc1}=this,{conversion:_0x5b0e30,model:_0x5d993a}=_0x4b2dc1,{schema:_0x2c41a8}=_0x5d993a;_0x5b0e30[_0xc532a2(0x1de)](_0xc532a2(0x1f2))[_0xc532a2(0x1e7)](_0x2031c5=>{const _0x5127f1=_0xc532a2;_0x2031c5['on'](_0x5127f1(0x211),(_0x5e41fe,_0xa1650,_0x44fb8f)=>{const _0x333ca0=_0x5127f1,_0x29b571=_0xa1650[_0x333ca0(0x1ef)],_0x1c2eb1=_0xa1650[_0x333ca0(0x1c9)]?.[_0x333ca0(0x1e5)];_0x29b571[_0x333ca0(0x220)](_0x333ca0(0x1ed))&&_0x1c2eb1?.['is'](_0x333ca0(0x20c),_0x333ca0(0x1fd))&&(function(_0x15cd7f,_0x18c823,_0x3ca6e0,_0x31803b){const _0x103341=_0x333ca0;if(!_0x31803b[_0x103341(0x1e3)](_0x18c823,_0x103341(0x21a)))return;let _0x2e007b=0x1;const _0x3eca26=_0x3ca6e0[_0x103341(0x1e1)][_0x103341(0x1fa)](_0x15cd7f,{'attributes':_0x103341(0x1f6)});if(_0x3eca26){const _0xd52800=Number[_0x103341(0x1fe)](_0x15cd7f[_0x103341(0x1f5)](_0x103341(0x1f6)),0xa);Number[_0x103341(0x208)](_0xd52800)||(_0x2e007b=_0xd52800);}!_0x3eca26&&_0x18c823[_0x103341(0x1f0)](_0x103341(0x21a))||_0x3ca6e0[_0x103341(0x1be)][_0x103341(0x1d5)](_0x103341(0x21a),_0x2e007b,_0x18c823);}(_0x29b571,_0x1c2eb1,_0x44fb8f,_0x2c41a8),function(_0x3e871f,_0x390d2b,_0x4f0f14,_0x43cc82){const _0x10431c=_0x333ca0;if(!_0x43cc82[_0x10431c(0x1e3)](_0x390d2b,_0x10431c(0x203)))return;let _0x26c3b6=_0x10431c(0x209),_0x10ccba=!0x1;if(_0x4f0f14[_0x10431c(0x1e1)][_0x10431c(0x1fa)](_0x3e871f,{'attributes':_0x10431c(0x1f8)})){const _0x1dedcd={0x1:_0x10431c(0x209),'a':_0x10431c(0x1cf),'A':_0x10431c(0x205),'i':_0x10431c(0x217),'I':_0x10431c(0x1f9)}[_0x3e871f[_0x10431c(0x1f5)](_0x10431c(0x1f8))];_0x1dedcd&&(_0x26c3b6=_0x1dedcd),_0x10ccba=!0x0;}_0x4f0f14[_0x10431c(0x1e1)][_0x10431c(0x1fa)](_0x3e871f,{'styles':_0x10431c(0x1fc)})&&(_0x26c3b6=function(_0x36c642){const _0x513ba5=_0x10431c;switch(_0x36c642){case _0x513ba5(0x1cf):return _0x513ba5(0x1d0);case _0x513ba5(0x205):return _0x513ba5(0x1cb);default:return _0x36c642;}}(_0x3e871f[_0x10431c(0x1ce)](_0x10431c(0x1fc))),_0x10ccba=!0x0),!_0x10ccba&&_0x390d2b[_0x10431c(0x1f0)](_0x10431c(0x203))||_0x4f0f14[_0x10431c(0x1be)][_0x10431c(0x1d5)](_0x10431c(0x203),_0x26c3b6,_0x390d2b);}(_0x29b571,_0x1c2eb1,_0x44fb8f,_0x2c41a8));});}),_0x5b0e30[_0xc532a2(0x1de)](_0xc532a2(0x213))[_0xc532a2(0x1e7)](_0x4930bf=>{const _0x304556=_0xc532a2;_0x4930bf['on'](_0x304556(0x212),(_0x2a3e6e,_0x33eb10,_0x326e50)=>{const _0x5eb514=_0x304556;if(!_0x326e50[_0x5eb514(0x1e1)][_0x5eb514(0x1fa)](_0x33eb10[_0x5eb514(0x1ee)],_0x2a3e6e[_0x5eb514(0x1c5)]))return;const _0x3caf7e=M(_0x33eb10[_0x5eb514(0x1ee)],_0x326e50[_0x5eb514(0x218)]),{attributeNewValue:_0x161ef2}=_0x33eb10;null==_0x161ef2||0x1===_0x161ef2?_0x326e50[_0x5eb514(0x1be)][_0x5eb514(0x1f1)](_0x5eb514(0x1f6),_0x3caf7e):_0x326e50[_0x5eb514(0x1be)][_0x5eb514(0x1d5)](_0x5eb514(0x1f6),String(_0x161ef2),_0x3caf7e);}),_0x4930bf['on'](_0x304556(0x1e4),(_0xcfeb90,_0x14c0ab,_0x5c10f4)=>{const _0x44e733=_0x304556;if(!_0x5c10f4[_0x44e733(0x1e1)][_0x44e733(0x1fa)](_0x14c0ab[_0x44e733(0x1ee)],_0xcfeb90[_0x44e733(0x1c5)]))return;const _0xb98df1=M(_0x14c0ab[_0x44e733(0x1ee)],_0x5c10f4[_0x44e733(0x218)]),{attributeNewValue:_0x2765d9}=_0x14c0ab;_0x2765d9&&_0x44e733(0x209)!==_0x2765d9?_0x5c10f4[_0x44e733(0x1be)][_0x44e733(0x1d9)](_0x44e733(0x1fc),_0x2765d9,_0xb98df1):_0x5c10f4[_0x44e733(0x1be)][_0x44e733(0x20b)](_0x44e733(0x1fc),_0xb98df1);});});}[_0x1d5786(0x1c1)](){const _0x52cc30=_0x1d5786,{editor:_0x147efe}=this,{model:_0x1b7206}=_0x147efe,_0x3f20b1=_0x147efe[_0x52cc30(0x1ca)][_0x52cc30(0x1f3)](_0x164d30),_0x4230db=this[_0x52cc30(0x1cd)](),_0x588018=this[_0x52cc30(0x21c)]();_0x1b7206[_0x52cc30(0x1d4)][_0x52cc30(0x1d7)](_0x51be1a=>{const _0x2dfbb0=_0x52cc30,_0x4f6084=_0x1b7206[_0x2dfbb0(0x1d4)][_0x2dfbb0(0x1c6)][_0x2dfbb0(0x1dd)]();let _0x27cd16=!0x1;for(const _0x3e47d8 of _0x4f6084){if(_0x2dfbb0(0x207)!==_0x3e47d8[_0x2dfbb0(0x1f8)]||_0x2dfbb0(0x1d6)===_0x3e47d8[_0x2dfbb0(0x1c5)])continue;const _0x57cea5=_0x1b7206[_0x2dfbb0(0x1d3)](_0x3e47d8[_0x2dfbb0(0x20f)][_0x2dfbb0(0x1e0)]);for(const _0x5fbd5f of _0x57cea5[_0x2dfbb0(0x21f)]())_0x5fbd5f['is'](_0x2dfbb0(0x20c),_0x2dfbb0(0x1fd))&&(!_0x5fbd5f[_0x2dfbb0(0x1f0)](_0x2dfbb0(0x21a))&&_0x1b7206[_0x2dfbb0(0x20e)][_0x2dfbb0(0x1e3)](_0x5fbd5f,_0x2dfbb0(0x21a))&&(_0x51be1a[_0x2dfbb0(0x1d5)](_0x2dfbb0(0x21a),_0x588018,_0x5fbd5f),_0x27cd16=!0x0),!_0x5fbd5f[_0x2dfbb0(0x1f0)](_0x2dfbb0(0x203))&&_0x1b7206[_0x2dfbb0(0x20e)][_0x2dfbb0(0x1e3)](_0x5fbd5f,_0x2dfbb0(0x203))&&(_0x51be1a[_0x2dfbb0(0x1d5)](_0x2dfbb0(0x203),_0x4230db,_0x5fbd5f),_0x27cd16=!0x0));}return _0x27cd16&&_0x3f20b1[_0x2dfbb0(0x1e8)](_0x51be1a),_0x27cd16;});}[_0x1d5786(0x200)](){const _0x7849e=_0x1d5786,{editor:_0x5bd8f5}=this;_0x5bd8f5[_0x7849e(0x1ca)][_0x7849e(0x1f3)](_0x164d30)[_0x7849e(0x1c3)](_0x1460c0=>this[_0x7849e(0x1fb)](_0x1460c0));}[_0x1d5786(0x1cd)](){const _0x23d556=_0x1d5786;return this[_0x23d556(0x21b)][_0x23d556(0x214)][_0x23d556(0x1f3)](_0x23d556(0x206));}[_0x1d5786(0x21c)](){const _0x34f0d7=_0x1d5786;return this[_0x34f0d7(0x21b)][_0x34f0d7(0x214)][_0x34f0d7(0x1f3)](_0x34f0d7(0x219));}[_0x1d5786(0x1fb)]({container:_0x253943,value:_0x12bf02,digits:_0x3a25d6}){const _0x11a221=_0x1d5786,_0x49c70c=_0x253943[_0x11a221(0x1f5)](_0x11a221(0x203)),_0x320466=_0x253943[_0x11a221(0x1f5)](_0x11a221(0x21a)),_0x50c8eb=Math[_0x11a221(0x1df)](_0x12bf02)+(_0x320466??0x1)-0x1;switch(_0x49c70c){case _0x11a221(0x1d8):return function(_0x27a01d,_0x239805){const _0x301bbd=_0x11a221;return String(_0x27a01d)[_0x301bbd(0x215)](_0x239805,'0');}(_0x50c8eb,Math[_0x11a221(0x1cc)](0x2,_0x3a25d6));case _0x11a221(0x1cf):case _0x11a221(0x1d0):return N(_0x50c8eb,!0x1);case _0x11a221(0x205):case _0x11a221(0x1cb):return N(_0x50c8eb,!0x0);case _0x11a221(0x217):return X(_0x50c8eb,!0x1);case _0x11a221(0x1f9):return X(_0x50c8eb,!0x0);default:return String(_0x50c8eb);}}}function M(_0x188002,_0x2646d8){const _0x4d01a3=_0x1d5786,_0x2f98c0=_0x2646d8[_0x4d01a3(0x1ec)](_0x188002);return Array[_0x4d01a3(0x1f7)](_0x2f98c0[_0x4d01a3(0x1d1)]())[_0x4d01a3(0x1dc)](_0x1735d8=>_0x1735d8['is'](_0x4d01a3(0x20c),'ol')&&_0x1735d8[_0x4d01a3(0x220)](_0x4d01a3(0x1ed)));}function N(_0x11a00f,_0x49bb59){const _0x17c295=_0x1d5786;let _0x1c5ba4='',_0x48b8a3=_0x11a00f;for(;_0x48b8a3>0x0;){const _0x1b6cd0=(_0x48b8a3-0x1)%0x1a;_0x1c5ba4=String[_0x17c295(0x1d2)](0x61+_0x1b6cd0)+_0x1c5ba4,_0x48b8a3=Math[_0x17c295(0x1df)]((_0x48b8a3-0x1)/0x1a);}return _0x49bb59?_0x1c5ba4[_0x17c295(0x20d)]():_0x1c5ba4;}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(_0x24d814,_0x3166b6){const _0x488137=_0x1d5786;let _0x3c4ff0='',_0x2e10b3=_0x24d814;for(const {value:_0x441d69,numeral:_0x5a55b7}of V)for(;_0x2e10b3>=_0x441d69;)_0x3c4ff0+=_0x5a55b7,_0x2e10b3-=_0x441d69;return _0x3166b6?_0x3c4ff0:_0x3c4ff0[_0x488137(0x1ea)]();}
23
+ const _0x4bdba3=_0x543a;(function(_0x318b10,_0x54c6e7){const _0x3fa779=_0x543a,_0x372da6=_0x318b10();while(!![]){try{const _0xa42a7c=-parseInt(_0x3fa779(0xbc))/0x1*(-parseInt(_0x3fa779(0xb7))/0x2)+parseInt(_0x3fa779(0xb9))/0x3*(-parseInt(_0x3fa779(0xca))/0x4)+parseInt(_0x3fa779(0x91))/0x5+parseInt(_0x3fa779(0xec))/0x6*(parseInt(_0x3fa779(0xd1))/0x7)+parseInt(_0x3fa779(0xdf))/0x8*(-parseInt(_0x3fa779(0xbb))/0x9)+-parseInt(_0x3fa779(0xd0))/0xa+-parseInt(_0x3fa779(0x98))/0xb*(-parseInt(_0x3fa779(0xb1))/0xc);if(_0xa42a7c===_0x54c6e7)break;else _0x372da6['push'](_0x372da6['shift']());}catch(_0x2261b6){_0x372da6['push'](_0x372da6['shift']());}}}(_0x4822,0xece87));function _0x543a(_0x1c3457,_0x24cf60){const _0x482266=_0x4822();return _0x543a=function(_0x543a12,_0xe7a04a){_0x543a12=_0x543a12-0x8a;let _0x48b847=_0x482266[_0x543a12];return _0x48b847;},_0x543a(_0x1c3457,_0x24cf60);}import{Plugin as _0x17dfe2}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1690eb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x20b3a0}from'./commands/footnotesstartcommand.js';function _0x4822(){const _0x432558=['downcast','toViewElement','element:ol','8544216MuLckH','getItems','upper-alpha','lower-latin','$text','isPremiumPlugin','init','add','start','isNaN','_definePostfixer','isOfficialPlugin','removeAttribute','564heScHV','_getDefaultListStyle','footnotes.footnotesProperties.defaultListStyle','decimal-leading-zero','getAttribute','hasAttribute','upper-latin','upcast','for','_updateFootnotesCounters','element','config','626095uALuTN','lower-roman','toUpperCase','attribute:footnotesListStart:footnotesDefinitions','modelCursor','footnotesDefinitions','footnotesListStyle','187vbvjVa','parseInt','name','getChanges','setAttribute','type','hasClass','setStyle','checkAttribute','_getDefaultStartIndex','padStart','FootnotesPropertiesEditing','footnotesStart','lower-alpha','insert','requires','document','define','from','model','get','upper-roman','getChildren','viewItem','find','427884BfPxXu','extend','list-style-type','decimal','registerPostFixer','editor','3148MEYZdI','parent','3QwTpaA','footnotesListStart','9LjlKZc','761BApDtQ','_defineConverters','consume','setFootnoteFormatter','commands','getStyle','floor','footnotesStyle','_defineFormatter','toLowerCase','writer','pluginName','consumable','createRangeOn','212484llZJzi','attribute:footnotesListStyle:footnotesDefinitions','item','max','footnotes.footnotesProperties.defaultStartIndex','removeStyle','10661650MiLpOi','91483CaWgML','differ','nodeAfter','fromCharCode','_formatFootnoteListValue','footnotes-list','position','mapper','schema','plugins','_defineSchema'];_0x4822=function(){return _0x432558;};return _0x4822();}import{FootnotesTracker as _0x2dc302}from'../footnotestracker.js';import{FootnotesEditing as _0x37e63e}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x17dfe2{static get[_0x4bdba3(0xc7)](){const _0x3ce773=_0x4bdba3;return _0x3ce773(0xa3);}static get[_0x4bdba3(0xa7)](){return[_0x37e63e,_0x2dc302];}static get[_0x4bdba3(0xea)](){return!0x0;}static get[_0x4bdba3(0xe4)](){return!0x0;}[_0x4bdba3(0xe5)](){const _0x399d9c=_0x4bdba3,{editor:_0x18a663}=this;_0x18a663[_0x399d9c(0x90)][_0x399d9c(0xa9)](_0x399d9c(0xee),_0x399d9c(0xb4)),_0x18a663[_0x399d9c(0x90)][_0x399d9c(0xa9)](_0x399d9c(0xce),0x1),_0x18a663[_0x399d9c(0xc0)][_0x399d9c(0xe6)](_0x399d9c(0xc3),new _0x1690eb(_0x18a663)),_0x18a663[_0x399d9c(0xc0)][_0x399d9c(0xe6)](_0x399d9c(0xa4),new _0x20b3a0(_0x18a663)),this[_0x399d9c(0xdb)](),this[_0x399d9c(0xbd)](),this[_0x399d9c(0xc4)](),this[_0x399d9c(0xe9)]();}[_0x4bdba3(0xdb)](){const _0x2ab2f0=_0x4bdba3,{editor:_0x312e7f}=this,{schema:_0x514a88}=_0x312e7f[_0x2ab2f0(0xab)];_0x514a88[_0x2ab2f0(0xb2)](_0x2ab2f0(0x96),{'allowAttributes':[_0x2ab2f0(0x97),_0x2ab2f0(0xba)]});}[_0x4bdba3(0xbd)](){const _0x3719e6=_0x4bdba3,{editor:_0x3ab4d0}=this,{conversion:_0x50b8f3,model:_0x5e1208}=_0x3ab4d0,{schema:_0x3cfe52}=_0x5e1208;_0x50b8f3[_0x3719e6(0x8d)](_0x3719e6(0x8c))[_0x3719e6(0xe6)](_0x27418b=>{const _0x4d8826=_0x3719e6;_0x27418b['on'](_0x4d8826(0xde),(_0x5a7143,_0x388ffe,_0x4151ca)=>{const _0x480220=_0x4d8826,_0x52581c=_0x388ffe[_0x480220(0xaf)],_0x3ed736=_0x388ffe[_0x480220(0x95)]?.[_0x480220(0xb8)];_0x52581c[_0x480220(0x9e)](_0x480220(0xd6))&&_0x3ed736?.['is'](_0x480220(0x8f),_0x480220(0x96))&&(function(_0x50ad89,_0xc9d29c,_0x1d280f,_0x1cf78a){const _0x27dff3=_0x480220;if(!_0x1cf78a[_0x27dff3(0xa0)](_0xc9d29c,_0x27dff3(0xba)))return;let _0x5a6a77=0x1;const _0x5cbc3f=_0x1d280f[_0x27dff3(0xc8)][_0x27dff3(0xbe)](_0x50ad89,{'attributes':_0x27dff3(0xe7)});if(_0x5cbc3f){const _0x5a24f0=Number[_0x27dff3(0x99)](_0x50ad89[_0x27dff3(0xf0)](_0x27dff3(0xe7)),0xa);Number[_0x27dff3(0xe8)](_0x5a24f0)||(_0x5a6a77=_0x5a24f0);}!_0x5cbc3f&&_0xc9d29c[_0x27dff3(0x8a)](_0x27dff3(0xba))||_0x1d280f[_0x27dff3(0xc6)][_0x27dff3(0x9c)](_0x27dff3(0xba),_0x5a6a77,_0xc9d29c);}(_0x52581c,_0x3ed736,_0x4151ca,_0x3cfe52),function(_0x18d7cf,_0x4b789f,_0x2d5062,_0x468864){const _0x2f2ad4=_0x480220;if(!_0x468864[_0x2f2ad4(0xa0)](_0x4b789f,_0x2f2ad4(0x97)))return;let _0x27dedd=_0x2f2ad4(0xb4),_0x203e17=!0x1;if(_0x2d5062[_0x2f2ad4(0xc8)][_0x2f2ad4(0xbe)](_0x18d7cf,{'attributes':_0x2f2ad4(0x9d)})){const _0x1fc2b8={0x1:_0x2f2ad4(0xb4),'a':_0x2f2ad4(0xa5),'A':_0x2f2ad4(0xe1),'i':_0x2f2ad4(0x92),'I':_0x2f2ad4(0xad)}[_0x18d7cf[_0x2f2ad4(0xf0)](_0x2f2ad4(0x9d))];_0x1fc2b8&&(_0x27dedd=_0x1fc2b8),_0x203e17=!0x0;}_0x2d5062[_0x2f2ad4(0xc8)][_0x2f2ad4(0xbe)](_0x18d7cf,{'styles':_0x2f2ad4(0xb3)})&&(_0x27dedd=function(_0x5a0597){const _0x50e3e0=_0x2f2ad4;switch(_0x5a0597){case _0x50e3e0(0xa5):return _0x50e3e0(0xe2);case _0x50e3e0(0xe1):return _0x50e3e0(0x8b);default:return _0x5a0597;}}(_0x18d7cf[_0x2f2ad4(0xc1)](_0x2f2ad4(0xb3))),_0x203e17=!0x0),!_0x203e17&&_0x4b789f[_0x2f2ad4(0x8a)](_0x2f2ad4(0x97))||_0x2d5062[_0x2f2ad4(0xc6)][_0x2f2ad4(0x9c)](_0x2f2ad4(0x97),_0x27dedd,_0x4b789f);}(_0x52581c,_0x3ed736,_0x4151ca,_0x3cfe52));});}),_0x50b8f3[_0x3719e6(0x8d)](_0x3719e6(0xdc))[_0x3719e6(0xe6)](_0x5e14bd=>{const _0xb6c1ff=_0x3719e6;_0x5e14bd['on'](_0xb6c1ff(0x94),(_0x234e44,_0x4d1d56,_0xd4fc5d)=>{const _0x14177d=_0xb6c1ff;if(!_0xd4fc5d[_0x14177d(0xc8)][_0x14177d(0xbe)](_0x4d1d56[_0x14177d(0xcc)],_0x234e44[_0x14177d(0x9a)]))return;const _0x3050a5=M(_0x4d1d56[_0x14177d(0xcc)],_0xd4fc5d[_0x14177d(0xd8)]),{attributeNewValue:_0x381fdc}=_0x4d1d56;null==_0x381fdc||0x1===_0x381fdc?_0xd4fc5d[_0x14177d(0xc6)][_0x14177d(0xeb)](_0x14177d(0xe7),_0x3050a5):_0xd4fc5d[_0x14177d(0xc6)][_0x14177d(0x9c)](_0x14177d(0xe7),String(_0x381fdc),_0x3050a5);}),_0x5e14bd['on'](_0xb6c1ff(0xcb),(_0x266f70,_0x34f672,_0x4a09a1)=>{const _0x29a5f8=_0xb6c1ff;if(!_0x4a09a1[_0x29a5f8(0xc8)][_0x29a5f8(0xbe)](_0x34f672[_0x29a5f8(0xcc)],_0x266f70[_0x29a5f8(0x9a)]))return;const _0x25ed0e=M(_0x34f672[_0x29a5f8(0xcc)],_0x4a09a1[_0x29a5f8(0xd8)]),{attributeNewValue:_0xc42e72}=_0x34f672;_0xc42e72&&_0x29a5f8(0xb4)!==_0xc42e72?_0x4a09a1[_0x29a5f8(0xc6)][_0x29a5f8(0x9f)](_0x29a5f8(0xb3),_0xc42e72,_0x25ed0e):_0x4a09a1[_0x29a5f8(0xc6)][_0x29a5f8(0xcf)](_0x29a5f8(0xb3),_0x25ed0e);});});}[_0x4bdba3(0xe9)](){const _0x480065=_0x4bdba3,{editor:_0x4c9ebb}=this,{model:_0xf98731}=_0x4c9ebb,_0x3a2d6d=_0x4c9ebb[_0x480065(0xda)][_0x480065(0xac)](_0x2dc302),_0x1760bc=this[_0x480065(0xed)](),_0x37f598=this[_0x480065(0xa1)]();_0xf98731[_0x480065(0xa8)][_0x480065(0xb5)](_0x506b02=>{const _0x132c7e=_0x480065,_0x11429a=_0xf98731[_0x132c7e(0xa8)][_0x132c7e(0xd2)][_0x132c7e(0x9b)]();let _0x2fc4af=!0x1;for(const _0x22a3aa of _0x11429a){if(_0x132c7e(0xa6)!==_0x22a3aa[_0x132c7e(0x9d)]||_0x132c7e(0xe3)===_0x22a3aa[_0x132c7e(0x9a)])continue;const _0x49ecb1=_0xf98731[_0x132c7e(0xc9)](_0x22a3aa[_0x132c7e(0xd7)][_0x132c7e(0xd3)]);for(const _0x3a9458 of _0x49ecb1[_0x132c7e(0xe0)]())_0x3a9458['is'](_0x132c7e(0x8f),_0x132c7e(0x96))&&(!_0x3a9458[_0x132c7e(0x8a)](_0x132c7e(0xba))&&_0xf98731[_0x132c7e(0xd9)][_0x132c7e(0xa0)](_0x3a9458,_0x132c7e(0xba))&&(_0x506b02[_0x132c7e(0x9c)](_0x132c7e(0xba),_0x37f598,_0x3a9458),_0x2fc4af=!0x0),!_0x3a9458[_0x132c7e(0x8a)](_0x132c7e(0x97))&&_0xf98731[_0x132c7e(0xd9)][_0x132c7e(0xa0)](_0x3a9458,_0x132c7e(0x97))&&(_0x506b02[_0x132c7e(0x9c)](_0x132c7e(0x97),_0x1760bc,_0x3a9458),_0x2fc4af=!0x0));}return _0x2fc4af&&_0x3a2d6d[_0x132c7e(0x8e)](_0x506b02),_0x2fc4af;});}[_0x4bdba3(0xc4)](){const _0x4b1a3e=_0x4bdba3,{editor:_0x183a81}=this;_0x183a81[_0x4b1a3e(0xda)][_0x4b1a3e(0xac)](_0x2dc302)[_0x4b1a3e(0xbf)](_0x119796=>this[_0x4b1a3e(0xd5)](_0x119796));}[_0x4bdba3(0xed)](){const _0x40bba9=_0x4bdba3;return this[_0x40bba9(0xb6)][_0x40bba9(0x90)][_0x40bba9(0xac)](_0x40bba9(0xee));}[_0x4bdba3(0xa1)](){const _0x82e151=_0x4bdba3;return this[_0x82e151(0xb6)][_0x82e151(0x90)][_0x82e151(0xac)](_0x82e151(0xce));}[_0x4bdba3(0xd5)]({container:_0x3c8b56,value:_0x2e6f62,digits:_0x1ae788}){const _0x36301d=_0x4bdba3,_0x33c9f7=_0x3c8b56[_0x36301d(0xf0)](_0x36301d(0x97)),_0x28d0e9=_0x3c8b56[_0x36301d(0xf0)](_0x36301d(0xba)),_0x650aee=Math[_0x36301d(0xc2)](_0x2e6f62)+(_0x28d0e9??0x1)-0x1;switch(_0x33c9f7){case _0x36301d(0xef):return function(_0x5224ab,_0x59caaf){const _0x52a0c0=_0x36301d;return String(_0x5224ab)[_0x52a0c0(0xa2)](_0x59caaf,'0');}(_0x650aee,Math[_0x36301d(0xcd)](0x2,_0x1ae788));case _0x36301d(0xa5):case _0x36301d(0xe2):return N(_0x650aee,!0x1);case _0x36301d(0xe1):case _0x36301d(0x8b):return N(_0x650aee,!0x0);case _0x36301d(0x92):return X(_0x650aee,!0x1);case _0x36301d(0xad):return X(_0x650aee,!0x0);default:return String(_0x650aee);}}}function M(_0x257e30,_0x3fdbde){const _0x3e6216=_0x4bdba3,_0x57de2b=_0x3fdbde[_0x3e6216(0xdd)](_0x257e30);return Array[_0x3e6216(0xaa)](_0x57de2b[_0x3e6216(0xae)]())[_0x3e6216(0xb0)](_0x17d887=>_0x17d887['is'](_0x3e6216(0x8f),'ol')&&_0x17d887[_0x3e6216(0x9e)](_0x3e6216(0xd6)));}function N(_0x540c26,_0x4681c6){const _0x5609d3=_0x4bdba3;let _0x26376a='',_0x188aa2=_0x540c26;for(;_0x188aa2>0x0;){const _0x371bfc=(_0x188aa2-0x1)%0x1a;_0x26376a=String[_0x5609d3(0xd4)](0x61+_0x371bfc)+_0x26376a,_0x188aa2=Math[_0x5609d3(0xc2)]((_0x188aa2-0x1)/0x1a);}return _0x4681c6?_0x26376a[_0x5609d3(0x93)]():_0x26376a;}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(_0x4fa62f,_0x233dfd){const _0x3ac17d=_0x4bdba3;let _0x33bf2a='',_0x5adfc8=_0x4fa62f;for(const {value:_0x2a94da,numeral:_0x729a3b}of V)for(;_0x5adfc8>=_0x2a94da;)_0x33bf2a+=_0x729a3b,_0x5adfc8-=_0x2a94da;return _0x233dfd?_0x33bf2a:_0x33bf2a[_0x3ac17d(0xc5)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x1f48ec,ButtonView as _0x27a437,ContextualBalloon as _0x495561,createDropdown as _0x4ef9a1}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x102679}from'ckeditor5/src/widget.js';import{Plugin as _0x3f89e0}from'ckeditor5/src/core.js';import{IconFootnote as _0x4f5474,IconListStyleDecimal as _0x4b1896,IconListStyleDecimalLeadingZero as _0x1ab99e,IconListStyleLowerLatin as _0x47b0aa,IconListStyleLowerRoman as _0x10b459,IconListStyleUpperLatin as _0x4dc73e,IconListStyleUpperRoman as _0x4b6e7f}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x14e7d6}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4b5da4}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3f89e0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x495561,_0x102679];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1aac39}=this,{componentFactory:_0x4142ae}=_0x1aac39['ui'];_0x1aac39['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4142ae['add']('footnotesStyle',function(_0x23c3c7){return _0x3e4d0e=>{const {t:t}=_0x3e4d0e,_0xf17ffe=_0x23c3c7['commands']['get']('footnotesStyle'),_0x59d261=_0x4ef9a1(_0x3e4d0e),{buttonView:_0x306633}=_0x59d261;return _0x59d261['class']='ck-footnotes-styles-dropdown',_0x59d261['bind']('isEnabled')['to'](_0xf17ffe,'isEnabled'),_0x306633['set']({'label':t('Footnotes\x20style'),'icon':_0x4f5474,'tooltip':!0x0}),_0x59d261['once']('change:isOpen',()=>{const _0x1c4436=function({editor:_0xcfcfdd,dropdownView:_0x2ed3b8}){const {t:t}=_0xcfcfdd['locale'],_0x4162d2=t('Footnotes\x20definitions\x20styles'),_0x3b6237=function(_0x168775){const t=_0x168775['locale']['t'],_0x4808ba=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4b1896},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1ab99e},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x10b459},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4b6e7f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x47b0aa},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4dc73e}];return _0x4808ba['map'](function(_0xda6bd3){const _0x580a83=_0xda6bd3['locale'];return({label:_0x3cfd51,icon:_0x4eef46,tooltip:_0x50b3dd,style:_0x43e6e0})=>{const _0xb6b1aa=_0xda6bd3['commands']['get']('footnotesStyle'),_0x19ef10=new _0x27a437(_0x580a83);return _0x19ef10['set']({'label':_0x3cfd51,'icon':_0x4eef46,'tooltip':_0x50b3dd}),_0x19ef10['bind']('isOn')['to'](_0xb6b1aa,'value',_0x58551a=>_0x58551a===_0x43e6e0),_0x19ef10['bind']('isEnabled')['to'](_0xb6b1aa,'isEnabled'),_0x19ef10['on']('execute',()=>{_0xda6bd3['execute']('footnotesStyle',{'value':_0x43e6e0}),_0xda6bd3['editing']['view']['focus']();}),_0x19ef10;};}(_0x168775));}(_0xcfcfdd),_0x4a72da=new _0x14e7d6(_0xcfcfdd['locale'],{'styleGridAriaLabel':_0x4162d2,'styleButtonViews':_0x3b6237}),_0x481d3b=_0xcfcfdd['commands']['get']('footnotesStart');return _0x4a72da['startIndexFieldView']['bind']('isEnabled')['to'](_0x481d3b),_0x4a72da['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x481d3b),_0x4a72da['on']('footnotesListStart',(_0x271e92,_0x5134f6)=>{_0xcfcfdd['execute']('footnotesStart',{'value':_0x5134f6['startIndex']});}),_0x4a72da['delegate']('execute')['to'](_0x2ed3b8),_0x4a72da;}({'editor':_0x23c3c7,'dropdownView':_0x59d261});_0x59d261['panelView']['children']['add'](_0x1c4436);}),_0x59d261;};}(_0x1aac39));}['afterInit'](){const {editor:_0x19d8cd}=this,{t:t}=_0x19d8cd['locale'],_0x184f24=_0x19d8cd['plugins']['get'](_0x102679),{defaultPositions:_0x3abe6c}=_0x1f48ec;_0x184f24['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x19d8cd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1fcafc=>{let _0xa556cd=_0x1fcafc['getFirstPosition']()?.['parent'];return _0xa556cd?.['is']('$text')&&(_0xa556cd=_0xa556cd['parent']),_0xa556cd?.['is']('element')?_0xa556cd['findAncestor'](_0x4b5da4):null;},'positions':[_0x3abe6c['southArrowNorth'],_0x3abe6c['southArrowNorthMiddleWest'],_0x3abe6c['southArrowNorthMiddleEast'],_0x3abe6c['southArrowNorthWest'],_0x3abe6c['southArrowNorthEast'],_0x3abe6c['northArrowSouth'],_0x3abe6c['northArrowSouthMiddleWest'],_0x3abe6c['northArrowSouthMiddleEast'],_0x3abe6c['northArrowSouthWest'],_0x3abe6c['northArrowSouthEast'],_0x3abe6c['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x218881,ButtonView as _0x4873d6,ContextualBalloon as _0x416b0f,createDropdown as _0x3a6a44}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x35abb}from'ckeditor5/src/widget.js';import{Plugin as _0x3abf25}from'ckeditor5/src/core.js';import{IconFootnote as _0x1b7266,IconListStyleDecimal as _0x3dc0a5,IconListStyleDecimalLeadingZero as _0x1fb364,IconListStyleLowerLatin as _0x38ac60,IconListStyleLowerRoman as _0x314814,IconListStyleUpperLatin as _0x2cbdf5,IconListStyleUpperRoman as _0x546a76}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2e042c}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x272049}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3abf25{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x416b0f,_0x35abb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53d3c9}=this,{componentFactory:_0x56c1ba}=_0x53d3c9['ui'];_0x53d3c9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x56c1ba['add']('footnotesStyle',function(_0x10cd9f){return _0x1a9847=>{const {t:t}=_0x1a9847,_0x2fce33=_0x10cd9f['commands']['get']('footnotesStyle'),_0x3e12a7=_0x3a6a44(_0x1a9847),{buttonView:_0x1f2efd}=_0x3e12a7;return _0x3e12a7['class']='ck-footnotes-styles-dropdown',_0x3e12a7['bind']('isEnabled')['to'](_0x2fce33,'isEnabled'),_0x1f2efd['set']({'label':t('Footnotes\x20style'),'icon':_0x1b7266,'tooltip':!0x0}),_0x3e12a7['once']('change:isOpen',()=>{const _0x406da3=function({editor:_0x5945d6,dropdownView:_0x10002e}){const {t:t}=_0x5945d6['locale'],_0xfc53fd=t('Footnotes\x20definitions\x20styles'),_0x3d28c2=function(_0x268b1a){const t=_0x268b1a['locale']['t'],_0x3b49c6=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3dc0a5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1fb364},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x314814},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x546a76},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x38ac60},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2cbdf5}];return _0x3b49c6['map'](function(_0x25478f){const _0x3147e5=_0x25478f['locale'];return({label:_0x14411a,icon:_0x73330d,tooltip:_0x2b8c27,style:_0x244092})=>{const _0x1b58ad=_0x25478f['commands']['get']('footnotesStyle'),_0x16bb39=new _0x4873d6(_0x3147e5);return _0x16bb39['set']({'label':_0x14411a,'icon':_0x73330d,'tooltip':_0x2b8c27}),_0x16bb39['bind']('isOn')['to'](_0x1b58ad,'value',_0x1c78b5=>_0x1c78b5===_0x244092),_0x16bb39['bind']('isEnabled')['to'](_0x1b58ad,'isEnabled'),_0x16bb39['on']('execute',()=>{_0x25478f['execute']('footnotesStyle',{'value':_0x244092}),_0x25478f['editing']['view']['focus']();}),_0x16bb39;};}(_0x268b1a));}(_0x5945d6),_0xf01908=new _0x2e042c(_0x5945d6['locale'],{'styleGridAriaLabel':_0xfc53fd,'styleButtonViews':_0x3d28c2}),_0x497338=_0x5945d6['commands']['get']('footnotesStart');return _0xf01908['startIndexFieldView']['bind']('isEnabled')['to'](_0x497338),_0xf01908['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x497338),_0xf01908['on']('footnotesListStart',(_0x19f5ee,_0x6e42c5)=>{_0x5945d6['execute']('footnotesStart',{'value':_0x6e42c5['startIndex']});}),_0xf01908['delegate']('execute')['to'](_0x10002e),_0xf01908;}({'editor':_0x10cd9f,'dropdownView':_0x3e12a7});_0x3e12a7['panelView']['children']['add'](_0x406da3);}),_0x3e12a7;};}(_0x53d3c9));}['afterInit'](){const {editor:_0x39d170}=this,{t:t}=_0x39d170['locale'],_0x4e4159=_0x39d170['plugins']['get'](_0x35abb),{defaultPositions:_0x4d2f88}=_0x218881;_0x4e4159['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x39d170['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4325a0=>{let _0x16fd10=_0x4325a0['getFirstPosition']()?.['parent'];return _0x16fd10?.['is']('$text')&&(_0x16fd10=_0x16fd10['parent']),_0x16fd10?.['is']('element')?_0x16fd10['findAncestor'](_0x272049):null;},'positions':[_0x4d2f88['southArrowNorth'],_0x4d2f88['southArrowNorthMiddleWest'],_0x4d2f88['southArrowNorthMiddleEast'],_0x4d2f88['southArrowNorthWest'],_0x4d2f88['southArrowNorthEast'],_0x4d2f88['northArrowSouth'],_0x4d2f88['northArrowSouthMiddleWest'],_0x4d2f88['northArrowSouthMiddleEast'],_0x4d2f88['northArrowSouthWest'],_0x4d2f88['northArrowSouthEast'],_0x4d2f88['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x27239c,View as _0x352b75,ViewCollection as _0x18efdb,FocusCycler as _0x5567f2,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x352b75{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x18efdb();['focusCycler'];constructor(_0x5e3bb3,{styleButtonViews:_0x315a87,styleGridAriaLabel:_0x5a2281}){super(_0x5e3bb3),(this['focusCycler']=new _0x5567f2({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x315a87,_0x5a2281),[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 _0x5a0436 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5a0436['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x307fb1=_0x4a09f5=>_0x4a09f5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x307fb1),this['keystrokes']['set']('arrowleft',_0x307fb1),this['keystrokes']['set']('arrowup',_0x307fb1),this['keystrokes']['set']('arrowdown',_0x307fb1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5b1ecd,_0x20f520){const _0x3e4ecc=new _0x352b75(this['locale']);return _0x3e4ecc['children']=_0x3e4ecc['createCollection'](),_0x3e4ecc['children']['addMany'](_0x5b1ecd),_0x3e4ecc['setTemplate']({'tag':'div','attributes':{'aria-label':_0x20f520,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3e4ecc['children']}),_0x3e4ecc['children']['delegate']('execute')['to'](this),_0x3e4ecc['focus']=function(){for(const _0x4c09f4 of this['children'])if(_0x4c09f4 instanceof _0x27239c&&_0x4c09f4['isOn'])return void _0x4c09f4['focus']();this['children']['first']['focus']();},_0x3e4ecc['focusTracker']=new ot(),_0x3e4ecc['keystrokes']=new rt(),_0x3e4ecc['render'](),_0x3e4ecc['keystrokes']['listenTo'](_0x3e4ecc['element']),this['children']['add'](_0x3e4ecc),_0x3e4ecc;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5ea82b=this['_createStartIndexPropertyView'](),_0x50eb28=[_0x5ea82b],_0x418b7b=new st(this['locale'],_0x50eb28);return _0x418b7b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x418b7b['buttonView']['bind']('isEnabled')['toMany'](_0x50eb28,'isEnabled',(..._0x5e70c6)=>_0x5e70c6['some'](_0x2fe64f=>_0x2fe64f)),_0x418b7b['buttonView']['on']('change:isEnabled',(_0x513f40,_0x190031,_0x22231e)=>{_0x22231e||(_0x418b7b['isCollapsed']=!0x0);}),this['children']['add'](_0x418b7b),[_0x5ea82b,_0x418b7b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x58e347=new it(this['locale'],et);return _0x58e347['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x58e347['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x58e347['fieldView']['on']('input',()=>{const _0x352aee=_0x58e347['fieldView']['element'],_0x2eb707=_0x352aee['valueAsNumber'];Number['isNaN'](_0x2eb707)?_0x58e347['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x352aee['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2eb707}):_0x58e347['errorText']=t(_0x2eb707<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x58e347;}}
23
+ import{ButtonView as _0x5af01c,View as _0x552d2c,ViewCollection as _0x5ed2f6,FocusCycler as _0x59cdae,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x552d2c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5ed2f6();['focusCycler'];constructor(_0x432e5f,{styleButtonViews:_0x45e89a,styleGridAriaLabel:_0x584616}){super(_0x432e5f),(this['focusCycler']=new _0x59cdae({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x45e89a,_0x584616),[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 _0x3ff559 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3ff559['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x60087c=_0x34ccf6=>_0x34ccf6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x60087c),this['keystrokes']['set']('arrowleft',_0x60087c),this['keystrokes']['set']('arrowup',_0x60087c),this['keystrokes']['set']('arrowdown',_0x60087c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x8d2a52,_0x5076eb){const _0x1b4ad7=new _0x552d2c(this['locale']);return _0x1b4ad7['children']=_0x1b4ad7['createCollection'](),_0x1b4ad7['children']['addMany'](_0x8d2a52),_0x1b4ad7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5076eb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1b4ad7['children']}),_0x1b4ad7['children']['delegate']('execute')['to'](this),_0x1b4ad7['focus']=function(){for(const _0x21e168 of this['children'])if(_0x21e168 instanceof _0x5af01c&&_0x21e168['isOn'])return void _0x21e168['focus']();this['children']['first']['focus']();},_0x1b4ad7['focusTracker']=new ot(),_0x1b4ad7['keystrokes']=new rt(),_0x1b4ad7['render'](),_0x1b4ad7['keystrokes']['listenTo'](_0x1b4ad7['element']),this['children']['add'](_0x1b4ad7),_0x1b4ad7;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3093b0=this['_createStartIndexPropertyView'](),_0x5a6486=[_0x3093b0],_0x21cdfa=new st(this['locale'],_0x5a6486);return _0x21cdfa['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x21cdfa['buttonView']['bind']('isEnabled')['toMany'](_0x5a6486,'isEnabled',(..._0x271073)=>_0x271073['some'](_0x4c2f37=>_0x4c2f37)),_0x21cdfa['buttonView']['on']('change:isEnabled',(_0xb1d977,_0x12746e,_0x36b385)=>{_0x36b385||(_0x21cdfa['isCollapsed']=!0x0);}),this['children']['add'](_0x21cdfa),[_0x3093b0,_0x21cdfa];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x439178=new it(this['locale'],et);return _0x439178['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x439178['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x439178['fieldView']['on']('input',()=>{const _0x7ce51=_0x439178['fieldView']['element'],_0x40e9a9=_0x7ce51['valueAsNumber'];Number['isNaN'](_0x40e9a9)?_0x439178['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x7ce51['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x40e9a9}):_0x439178['errorText']=t(_0x40e9a9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x439178;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3fc590=_0x4e5b;function _0x4e5b(_0x92fd54,_0x32efbc){var _0x409e56=_0x409e();return _0x4e5b=function(_0x4e5be2,_0x4dfea0){_0x4e5be2=_0x4e5be2-0x1ef;var _0x1a9b1e=_0x409e56[_0x4e5be2];return _0x1a9b1e;},_0x4e5b(_0x92fd54,_0x32efbc);}(function(_0x2916ad,_0x3a7fff){var _0x56999b=_0x4e5b,_0x110138=_0x2916ad();while(!![]){try{var _0x1d37d1=-parseInt(_0x56999b(0x1fb))/0x1*(parseInt(_0x56999b(0x1f8))/0x2)+parseInt(_0x56999b(0x1f9))/0x3+parseInt(_0x56999b(0x1f0))/0x4+-parseInt(_0x56999b(0x1f1))/0x5+parseInt(_0x56999b(0x1f5))/0x6+parseInt(_0x56999b(0x1f7))/0x7+-parseInt(_0x56999b(0x1f6))/0x8*(parseInt(_0x56999b(0x1fa))/0x9);if(_0x1d37d1===_0x3a7fff)break;else _0x110138['push'](_0x110138['shift']());}catch(_0x4241ff){_0x110138['push'](_0x110138['shift']());}}}(_0x409e,0xb7eca));import{Plugin as _0x361da7}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x4809cb}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x62363f}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x361da7{static get[_0x3fc590(0x1fc)](){var _0x53d35d=_0x3fc590;return _0x53d35d(0x1ef);}static get[_0x3fc590(0x1f2)](){return[_0x4809cb,_0x62363f];}static get[_0x3fc590(0x1f4)](){return!0x0;}static get[_0x3fc590(0x1f3)](){return!0x0;}}function _0x409e(){var _0x330cf5=['22045800JXSfSX','5278679LxRyBx','171388kIPrgF','3070182NtGQJD','9TzWvUm','6QqoYlu','pluginName','FootnotesProperties','5087808qMxiaF','1648130kYAysX','requires','isPremiumPlugin','isOfficialPlugin','7820556sextcu'];_0x409e=function(){return _0x330cf5;};return _0x409e();}
23
+ function _0x50f9(_0x23d486,_0x68a43f){var _0x4bc9c7=_0x4bc9();return _0x50f9=function(_0x50f969,_0x360d74){_0x50f969=_0x50f969-0xdb;var _0x298ad5=_0x4bc9c7[_0x50f969];return _0x298ad5;},_0x50f9(_0x23d486,_0x68a43f);}var _0x26b8e4=_0x50f9;(function(_0x2c03b7,_0x39ad03){var _0x5a6905=_0x50f9,_0x14c6fc=_0x2c03b7();while(!![]){try{var _0x475117=parseInt(_0x5a6905(0xe1))/0x1*(-parseInt(_0x5a6905(0xe5))/0x2)+parseInt(_0x5a6905(0xe8))/0x3+parseInt(_0x5a6905(0xe3))/0x4*(parseInt(_0x5a6905(0xe7))/0x5)+-parseInt(_0x5a6905(0xde))/0x6+parseInt(_0x5a6905(0xe2))/0x7*(-parseInt(_0x5a6905(0xdd))/0x8)+parseInt(_0x5a6905(0xdc))/0x9+parseInt(_0x5a6905(0xdb))/0xa;if(_0x475117===_0x39ad03)break;else _0x14c6fc['push'](_0x14c6fc['shift']());}catch(_0x24eb1c){_0x14c6fc['push'](_0x14c6fc['shift']());}}}(_0x4bc9,0xbbf1f));import{Plugin as _0x15ded5}from'ckeditor5/src/core.js';function _0x4bc9(){var _0xcad0c8=['7458552CHyHXO','28528VbKaNx','848640hOJAdB','requires','FootnotesProperties','488578CUJXmG','1169jkRWRS','392TXUbZS','pluginName','6IHlbxd','isPremiumPlugin','64680yLVxyn','1141641XwJckf','isOfficialPlugin','4955160JvgOBt'];_0x4bc9=function(){return _0xcad0c8;};return _0x4bc9();}import{FootnotesPropertiesEditing as _0x5088ff}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x555b6c}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x15ded5{static get[_0x26b8e4(0xe4)](){var _0x525a9c=_0x26b8e4;return _0x525a9c(0xe0);}static get[_0x26b8e4(0xdf)](){return[_0x5088ff,_0x555b6c];}static get[_0x26b8e4(0xe9)](){return!0x0;}static get[_0x26b8e4(0xe6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb524f1=_0x2e2a;(function(_0x444b6f,_0x302077){const _0x2fb727=_0x2e2a,_0x1f039c=_0x444b6f();while(!![]){try{const _0x5bf210=parseInt(_0x2fb727(0x1b5))/0x1+parseInt(_0x2fb727(0x17f))/0x2+-parseInt(_0x2fb727(0x1ae))/0x3+-parseInt(_0x2fb727(0x194))/0x4+parseInt(_0x2fb727(0x189))/0x5*(parseInt(_0x2fb727(0x1a4))/0x6)+-parseInt(_0x2fb727(0x1a0))/0x7*(-parseInt(_0x2fb727(0x1b0))/0x8)+-parseInt(_0x2fb727(0x1c3))/0x9;if(_0x5bf210===_0x302077)break;else _0x1f039c['push'](_0x1f039c['shift']());}catch(_0xeec12a){_0x1f039c['push'](_0x1f039c['shift']());}}}(_0x301b,0x6da50));import{Plugin as _0x5d894e}from'ckeditor5/src/core.js';function _0x2e2a(_0x40381e,_0x8a0fff){const _0x301b64=_0x301b();return _0x2e2a=function(_0x2e2adb,_0x2ca198){_0x2e2adb=_0x2e2adb-0x17a;let _0x1a232c=_0x301b64[_0x2e2adb];return _0x1a232c;},_0x2e2a(_0x40381e,_0x8a0fff);}import{ModelElementTracker as _0xcde292}from'./modelelementtracker.js';function _0x301b(){const _0x17ee03=['_updateFootnotesCounters','enqueueChange','splice','get','model','min','_ensureFootnotesReferencesHaveProperOrder','move','childCount','change:data','setFootnoteFormatter','isPremiumPlugin','footnoteInlineContent','remove','end','add','isOfficialPlugin','_footnoteRefsTracker','_footnotesDefinitions','getChanges','low','_footnoteDefsTracker','_handleFootnoteDefinitionsChanges','376368xaGwMR','compareWith','createRangeOn','_updateFootnoteRefCounter','unshift','_footnotes','_handleFootnotesDefinitionsObjectSync','set','getChildren','$graveyard','273510AVrheI','document','footnotes.multiBlock','push','reset','definition','_handleFootnoteReferencesChanges','createElement','parent','before','differ','815400ZsHGhz','after','getFootnotes','high','getFootnotesDefinitionsObjectElement','createPositionAt','_handleInsertedFootnoteReference','footnoteId','_ensureFootnotesDefinitionsContainerExists','getFootnote','_footnoteFormatter','footnoteRef','1931258ZUdIhW','_handleRemoveFootnoteReferenceById','append','singleton','24zFcthq','config','footnotesDefinitions','FootnotesTracker','map','from','isEqual','insert','createPositionBefore','_footnoteDefsContainerTracker','300027ZPzLxp','_handleMovedFootnoteReference','8fAPUKk','setAttribute','editor','getFootnotesFormatter','_handleFootnotesDefinitionsObjectChanges','193985ycmBbl','createRangeIn','getAttribute','root','paragraph','reference','getRootNames','length','registerPostFixer','rootName','init','some','_sortFootnoteDefinitions','_insertEmptyFootnotesDefinitionsContainer','1115172zkRJbD','pluginName','footnoteDefinition','has','indexOf','footnoteCounter','listenTo','findIndex','find'];_0x301b=function(){return _0x17ee03;};return _0x301b();}export class FootnotesTracker extends _0x5d894e{[_0xb524f1(0x184)]=[];[_0xb524f1(0x17a)]=null;[_0xb524f1(0x19e)]=null;[_0xb524f1(0x1ad)];[_0xb524f1(0x1dd)];[_0xb524f1(0x17d)];static get[_0xb524f1(0x1c4)](){const _0x99fef4=_0xb524f1;return _0x99fef4(0x1a7);}static get[_0xb524f1(0x1dc)](){return!0x0;}static get[_0xb524f1(0x1d7)](){return!0x0;}constructor(_0x3d7e05){const _0x168461=_0xb524f1;super(_0x3d7e05),this[_0x168461(0x1ad)]=new _0xcde292(this[_0x168461(0x1b2)][_0x168461(0x1d0)],{'elementName':_0x168461(0x1a6),'getElementKey':()=>_0x168461(0x1a3)}),this[_0x168461(0x1dd)]=new _0xcde292(this[_0x168461(0x1b2)][_0x168461(0x1d0)],{'elementName':_0x168461(0x19f),'getElementKey':_0x257871=>_0x257871[_0x168461(0x1b7)](_0x168461(0x19b))}),this[_0x168461(0x17d)]=new _0xcde292(this[_0x168461(0x1b2)][_0x168461(0x1d0)],{'elementName':_0x168461(0x1c5),'getElementKey':_0x2e8e53=>_0x2e8e53[_0x168461(0x1b7)](_0x168461(0x19b))});}[_0xb524f1(0x1bf)](){const _0x1f9fe6=_0xb524f1,{editor:_0x40de49}=this,{model:_0x2f6da6,data:_0x438af1}=_0x40de49;_0x2f6da6[_0x1f9fe6(0x18a)][_0x1f9fe6(0x1bd)](_0x388efe=>{const _0x3d503b=_0x1f9fe6,_0x20f431=_0x2f6da6[_0x3d503b(0x18a)][_0x3d503b(0x193)][_0x3d503b(0x17b)]();let _0x40620f=!0x1;return this[_0x3d503b(0x1b4)](_0x388efe,_0x20f431)&&(_0x40620f=!0x0),this[_0x3d503b(0x17e)](_0x388efe,_0x20f431)&&(_0x40620f=!0x0),this[_0x3d503b(0x18f)](_0x388efe,_0x20f431)&&(_0x40620f=!0x0),this[_0x3d503b(0x1d2)](_0x388efe)&&(_0x40620f=!0x0),this[_0x3d503b(0x185)](_0x388efe)&&(_0x40620f=!0x0),this[_0x3d503b(0x1c1)](_0x388efe)&&(_0x40620f=!0x0),_0x40620f;}),this[_0x1f9fe6(0x1c9)](_0x2f6da6[_0x1f9fe6(0x18a)],_0x1f9fe6(0x1d5),()=>{const _0x5614ee=_0x1f9fe6;_0x2f6da6[_0x5614ee(0x1cd)]({'isUndoable':!0x1},_0x4f8a15=>{const _0x1afa11=_0x5614ee;this[_0x1afa11(0x19c)](_0x4f8a15);});},{'priority':_0x1f9fe6(0x17c)}),this[_0x1f9fe6(0x1c9)](_0x438af1,_0x1f9fe6(0x186),()=>{const _0x2b3e4a=_0x1f9fe6;this[_0x2b3e4a(0x184)]=[],this[_0x2b3e4a(0x1ad)][_0x2b3e4a(0x18d)](),this[_0x2b3e4a(0x1dd)][_0x2b3e4a(0x18d)](),this[_0x2b3e4a(0x17d)][_0x2b3e4a(0x18d)]();},{'priority':_0x1f9fe6(0x197)});}[_0xb524f1(0x198)](){const _0x448462=_0xb524f1;return this[_0x448462(0x17a)];}[_0xb524f1(0x19d)](_0x281b7c){const _0x5004ea=_0xb524f1;return this[_0x5004ea(0x184)][_0x5004ea(0x1cb)](_0xf16710=>_0xf16710['id']===_0x281b7c)||null;}[_0xb524f1(0x196)](){const _0x19ec1c=_0xb524f1;return Array[_0x19ec1c(0x1a9)](this[_0x19ec1c(0x184)]);}[_0xb524f1(0x1b3)](){const _0x15c0df=_0xb524f1;return this[_0x15c0df(0x19e)];}[_0xb524f1(0x1d6)](_0x4780b4){const _0x170166=_0xb524f1;this[_0x170166(0x19e)]=_0x4780b4;}[_0xb524f1(0x1cc)](_0x127401,_0x574392=0x0){const _0x1e275b=_0xb524f1;let _0x7f8eab=!0x1;for(let _0x4833aa=_0x574392;_0x4833aa<this[_0x1e275b(0x184)][_0x1e275b(0x1bc)];_0x4833aa++)this[_0x1e275b(0x182)](_0x127401,_0x4833aa)&&(_0x7f8eab=!0x0);return _0x7f8eab;}[_0xb524f1(0x1c2)](_0x123819,_0x33666e){const _0x7a063=_0xb524f1,_0x44edc7=_0x123819[_0x7a063(0x190)](_0x7a063(0x1a6),{});return _0x123819[_0x7a063(0x1a2)](_0x44edc7,_0x33666e),this[_0x7a063(0x17a)]=_0x44edc7,_0x44edc7;}[_0xb524f1(0x19c)](_0x397226){const _0x4fa20f=_0xb524f1;if(!this[_0x4fa20f(0x184)][_0x4fa20f(0x1bc)]||this[_0x4fa20f(0x17a)])return;const _0x737a1d=this[_0x4fa20f(0x184)][0x0][_0x4fa20f(0x1ba)][_0x4fa20f(0x1b8)],_0x94d788=this[_0x4fa20f(0x1c2)](_0x397226,_0x737a1d);for(const _0x34d78b of this[_0x4fa20f(0x184)])_0x34d78b[_0x4fa20f(0x18e)][_0x4fa20f(0x191)]||_0x397226[_0x4fa20f(0x1ab)](_0x34d78b[_0x4fa20f(0x18e)],_0x94d788,_0x4fa20f(0x1da));this[_0x4fa20f(0x1cc)](_0x397226);}[_0xb524f1(0x1b4)](_0x527a47,_0x284ed2){const _0x47935a=_0xb524f1;let _0x2eac13=!0x1;const {inserted:_0x1bf027,removed:_0x220beb,moved:_0x15f7d4}=this[_0x47935a(0x1ad)][_0x47935a(0x17b)](_0x284ed2);if(_0x15f7d4[_0x47935a(0x1bc)]&&(this[_0x47935a(0x17a)]=_0x15f7d4[0x0]),_0x1bf027[_0x47935a(0x1bc)]){if(_0x1bf027[_0x47935a(0x1bc)]>0x1||this[_0x47935a(0x17a)]&&_0x1bf027[_0x47935a(0x1c0)](_0x47546e=>_0x47546e!==this[_0x47935a(0x17a)])){const _0x49002f=_0x527a47[_0x47935a(0x190)](_0x47935a(0x1a6),{}),_0x58e9d1=[];this[_0x47935a(0x17a)]&&_0x58e9d1[_0x47935a(0x18c)](this[_0x47935a(0x17a)]),_0x58e9d1[_0x47935a(0x18c)](..._0x1bf027),_0x527a47[_0x47935a(0x1ab)](_0x49002f,_0x58e9d1[0x0],_0x47935a(0x192));for(const _0x235cd0 of _0x58e9d1)_0x527a47[_0x47935a(0x1d3)](_0x527a47[_0x47935a(0x1b6)](_0x235cd0),_0x527a47[_0x47935a(0x199)](_0x49002f,_0x47935a(0x1da))),_0x527a47[_0x47935a(0x1d9)](_0x235cd0);this[_0x47935a(0x17a)]=_0x49002f,this[_0x47935a(0x1cc)](_0x527a47),_0x2eac13=!0x0;}else this[_0x47935a(0x17a)]=_0x1bf027[0x0];}if(_0x220beb[_0x47935a(0x1bc)]&&_0x47935a(0x188)===this[_0x47935a(0x17a)]?.[_0x47935a(0x1b8)][_0x47935a(0x1be)]){for(const _0x34f698 of this[_0x47935a(0x184)])_0x527a47[_0x47935a(0x1d9)](_0x34f698[_0x47935a(0x1ba)]),_0x2eac13=!0x0;this[_0x47935a(0x184)]=[],this[_0x47935a(0x17a)]=null;}return _0x2eac13;}[_0xb524f1(0x17e)](_0x57697e,_0x3746c3){const _0x1dc8c4=_0xb524f1;let _0x21a57c=!0x1;const _0x4b76e1=this[_0x1dc8c4(0x1b2)][_0x1dc8c4(0x1a5)][_0x1dc8c4(0x1cf)](_0x1dc8c4(0x18b)),{inserted:_0x3ab162,moved:_0x12c498}=this[_0x1dc8c4(0x17d)][_0x1dc8c4(0x17b)](_0x3746c3);for(const _0x476009 of[..._0x12c498,..._0x3ab162]){const _0x421b9e=_0x476009[_0x1dc8c4(0x1b7)](_0x1dc8c4(0x19b)),_0x167f0f=this[_0x1dc8c4(0x19d)](_0x421b9e);_0x167f0f&&(_0x167f0f[_0x1dc8c4(0x18e)]=_0x476009),_(_0x57697e,_0x4b76e1,_0x476009)&&(_0x21a57c=!0x0);}return _0x21a57c;}[_0xb524f1(0x18f)](_0x2e110f,_0x1a5248){const _0x35dd26=_0xb524f1;let _0x4fd544=!0x1;const {removed:_0x49f39a,inserted:_0x424a36,moved:_0x249071}=this[_0x35dd26(0x1dd)][_0x35dd26(0x17b)](_0x1a5248);for(const _0x519eb4 of _0x49f39a)this[_0x35dd26(0x1a1)](_0x2e110f,_0x519eb4)&&(_0x4fd544=!0x0);for(const _0x8210d of _0x424a36)this[_0x35dd26(0x19a)](_0x2e110f,_0x8210d)&&(_0x4fd544=!0x0);for(const _0x587354 of _0x249071)this[_0x35dd26(0x1af)](_0x2e110f,_0x587354)&&(_0x4fd544=!0x0);return _0x4fd544;}[_0xb524f1(0x185)](_0x272360){const _0x426d8a=_0xb524f1;if(!this[_0x426d8a(0x17a)])return!0x1;let _0x5540dd=!0x1;if(this[_0x426d8a(0x17a)][_0x426d8a(0x1d4)]!==this[_0x426d8a(0x184)][_0x426d8a(0x1bc)]){const _0x104d6a=[];for(const _0x4129a8 of this[_0x426d8a(0x17a)][_0x426d8a(0x187)]()){const _0x3140de=_0x4129a8[_0x426d8a(0x1b7)](_0x426d8a(0x19b));this[_0x426d8a(0x19d)](_0x3140de)||(_0x104d6a[_0x426d8a(0x183)](_0x4129a8),_0x5540dd=!0x0);}for(const _0x2e5682 of _0x104d6a)_0x272360[_0x426d8a(0x1d9)](_0x2e5682);}const _0x5ab8e6=new Set(),_0x2b47a7=[];for(const _0x391d8a of this[_0x426d8a(0x17a)][_0x426d8a(0x187)]()){const _0x1d484b=_0x391d8a[_0x426d8a(0x1b7)](_0x426d8a(0x19b));_0x5ab8e6[_0x426d8a(0x1c6)](_0x1d484b)?(_0x2b47a7[_0x426d8a(0x183)](_0x391d8a),_0x5540dd=!0x0):_0x5ab8e6[_0x426d8a(0x1db)](_0x1d484b);}for(const _0x55db45 of _0x2b47a7)_0x272360[_0x426d8a(0x1d9)](_0x55db45);return this[_0x426d8a(0x17a)][_0x426d8a(0x1d4)]||(_0x272360[_0x426d8a(0x1d9)](this[_0x426d8a(0x17a)]),this[_0x426d8a(0x17a)]=null,_0x5540dd=!0x0),_0x5540dd;}[_0xb524f1(0x19a)](_0x5ba1e8,_0x41116d){const _0x186636=_0xb524f1;if(this[_0x186636(0x184)][_0x186636(0x1cb)](_0xdbf976=>_0xdbf976[_0x186636(0x1ba)]===_0x41116d))return!0x1;let _0x429dde=!0x1;const _0x4423fb=_0x41116d[_0x186636(0x1b7)](_0x186636(0x19b)),_0x5544ea=this[_0x186636(0x184)][_0x186636(0x1ca)](_0x2fd910=>_0x2fd910['id']===_0x4423fb);-0x1!==_0x5544ea&&(_0x5ba1e8[_0x186636(0x1d9)](this[_0x186636(0x184)][_0x5544ea][_0x186636(0x1ba)]),this[_0x186636(0x184)][_0x186636(0x1ce)](_0x5544ea,0x1),_0x429dde=!0x0);let _0x51e1f1=this[_0x186636(0x17a)]?function(_0x36c1ee,_0x582db4){const _0x1b080d=_0x186636;for(const _0x222299 of _0x36c1ee[_0x1b080d(0x187)]())if(_0x222299[_0x1b080d(0x1b7)](_0x1b080d(0x19b))===_0x582db4)return _0x222299;return null;}(this[_0x186636(0x17a)],_0x4423fb):null;_0x51e1f1||(_0x51e1f1=_0x5ba1e8[_0x186636(0x190)](_0x186636(0x1c5),{'footnoteId':_0x4423fb}),this[_0x186636(0x17a)]&&(_0x5ba1e8[_0x186636(0x1ab)](_0x51e1f1,this[_0x186636(0x17a)],_0x186636(0x1da)),_0x429dde=!0x0));const _0x45136a={'id':_0x4423fb,'reference':_0x41116d,'definition':_0x51e1f1},_0x1e1495=I(this[_0x186636(0x1b2)][_0x186636(0x1d0)],this[_0x186636(0x184)],_0x41116d);this[_0x186636(0x184)][_0x186636(0x1ce)](_0x1e1495,0x0,_0x45136a);let _0x34f4b7=_0x1e1495;return-0x1!==_0x5544ea&&(_0x34f4b7=Math[_0x186636(0x1d1)](_0x1e1495,_0x5544ea)),this[_0x186636(0x1cc)](_0x5ba1e8,_0x34f4b7)&&(_0x429dde=!0x0),_0x429dde;}[_0xb524f1(0x1a1)](_0x2d1a8c,_0x532f1e){const _0x5001f8=_0xb524f1,_0xcf2114=this[_0x5001f8(0x184)][_0x5001f8(0x1ca)](_0x5828aa=>_0x5828aa['id']===_0x532f1e);if(-0x1===_0xcf2114)return!0x1;let _0x5468e7=!0x1;const _0x593031=this[_0x5001f8(0x184)][_0xcf2114];return _0x5001f8(0x188)!==_0x593031[_0x5001f8(0x18e)][_0x5001f8(0x1b8)][_0x5001f8(0x1be)]&&(_0x2d1a8c[_0x5001f8(0x1d9)](_0x593031[_0x5001f8(0x18e)]),_0x5468e7=!0x0),this[_0x5001f8(0x184)][_0x5001f8(0x1ce)](_0xcf2114,0x1),this[_0x5001f8(0x1cc)](_0x2d1a8c,_0xcf2114)&&(_0x5468e7=!0x0),_0x5468e7;}[_0xb524f1(0x1af)](_0x394adb,_0x270a20){const _0xf56a3d=_0xb524f1,_0x27c7fb=_0x270a20[_0xf56a3d(0x1b7)](_0xf56a3d(0x19b)),_0x5ac278=this[_0xf56a3d(0x184)][_0xf56a3d(0x1ca)](_0x4fb618=>_0x4fb618['id']===_0x27c7fb),_0xf63a7=this[_0xf56a3d(0x184)][_0x5ac278];let _0x34a5af=!0x1;_0xf63a7[_0xf56a3d(0x1ba)]=_0x270a20,this[_0xf56a3d(0x184)][_0xf56a3d(0x1ce)](_0x5ac278,0x1);const _0x526eed=I(this[_0xf56a3d(0x1b2)][_0xf56a3d(0x1d0)],this[_0xf56a3d(0x184)],_0x270a20);return this[_0xf56a3d(0x184)][_0xf56a3d(0x1ce)](_0x526eed,0x0,_0xf63a7),this[_0xf56a3d(0x1cc)](_0x394adb,Math[_0xf56a3d(0x1d1)](_0x5ac278,_0x526eed))&&(_0x34a5af=!0x0),_0x34a5af;}[_0xb524f1(0x182)](_0x8c2d95,_0x47047b){const _0x10d20d=_0xb524f1;if(!this[_0x10d20d(0x17a)])return!0x1;const _0x364f87=this[_0x10d20d(0x184)][_0x47047b];let _0x155a78;return _0x155a78=this[_0x10d20d(0x19e)]?this[_0x10d20d(0x19e)]({'footnote':_0x364f87,'container':this[_0x10d20d(0x17a)],'digits':String(this[_0x10d20d(0x184)][_0x10d20d(0x1bc)])[_0x10d20d(0x1bc)],'value':_0x47047b+0x1}):String(_0x47047b+0x1),_0x364f87[_0x10d20d(0x1ba)][_0x10d20d(0x1b7)](_0x10d20d(0x1c8))!=_0x155a78&&(_0x8c2d95[_0x10d20d(0x1b1)](_0x10d20d(0x1c8),_0x155a78,_0x364f87[_0x10d20d(0x1ba)]),!0x0);}[_0xb524f1(0x1c1)](_0x585416){const _0x3f48d2=_0xb524f1;if(!this[_0x3f48d2(0x17a)]||this[_0x3f48d2(0x184)][_0x3f48d2(0x1bc)]<0x2)return!0x1;if(function(_0x117bae,_0x463a8e){const _0x60b47d=_0x3f48d2;if(_0x117bae[_0x60b47d(0x1bc)]!==_0x463a8e[_0x60b47d(0x1bc)])return!0x1;for(let _0x5a7e11=0x0;_0x5a7e11<_0x117bae[_0x60b47d(0x1bc)];_0x5a7e11++)if(_0x117bae[_0x5a7e11]!==_0x463a8e[_0x5a7e11])return!0x1;return!0x0;}(this[_0x3f48d2(0x184)][_0x3f48d2(0x1a8)](_0x37ae83=>_0x37ae83['id']),Array[_0x3f48d2(0x1a9)](this[_0x3f48d2(0x17a)][_0x3f48d2(0x187)]())[_0x3f48d2(0x1a8)](_0x579702=>_0x579702[_0x3f48d2(0x1b7)](_0x3f48d2(0x19b)))))return!0x1;let _0x5d1159=!0x1;for(let _0x3992d8=0x0;_0x3992d8<this[_0x3f48d2(0x184)][_0x3f48d2(0x1bc)];_0x3992d8++){const _0x46db84=this[_0x3f48d2(0x184)][_0x3992d8],_0x20a0d5=_0x585416[_0x3f48d2(0x1ac)](_0x46db84[_0x3f48d2(0x18e)]),_0x47b096=_0x585416[_0x3f48d2(0x199)](this[_0x3f48d2(0x17a)],_0x3992d8);_0x20a0d5[_0x3f48d2(0x1aa)](_0x47b096)||(_0x585416[_0x3f48d2(0x1d3)](_0x585416[_0x3f48d2(0x181)](_0x46db84[_0x3f48d2(0x18e)]),_0x47b096),_0x5d1159=!0x0);}return _0x5d1159;}[_0xb524f1(0x1d2)](_0x1699ed){const _0x5687d2=_0xb524f1;if(!this[_0x5687d2(0x184)][_0x5687d2(0x1bc)])return!0x1;const {model:_0x4477a8}=this[_0x5687d2(0x1b2)];let _0x3ccc7f=!0x1;for(let _0x281b65=0x0;_0x281b65<this[_0x5687d2(0x184)][_0x5687d2(0x1bc)]-0x1;_0x281b65++){const _0x2f2b67=this[_0x5687d2(0x184)][_0x281b65],_0x48ea90=this[_0x5687d2(0x184)][_0x281b65+0x1],_0x9bfae7=_0x4477a8[_0x5687d2(0x1ac)](_0x2f2b67[_0x5687d2(0x1ba)]),_0x2b9d9b=_0x4477a8[_0x5687d2(0x1ac)](_0x48ea90[_0x5687d2(0x1ba)]);_0x5687d2(0x195)===_0x9bfae7[_0x5687d2(0x180)](_0x2b9d9b)&&(this[_0x5687d2(0x1af)](_0x1699ed,_0x2f2b67[_0x5687d2(0x1ba)]),_0x281b65=-0x1,_0x3ccc7f=!0x0);}return _0x3ccc7f;}}function _(_0x28c475,_0x1ebf8b,_0x1f878a){const _0xbd4f3=_0xb524f1;if(_0x1f878a[_0xbd4f3(0x1d4)])return!0x1;const _0x122672=_0x1ebf8b?_0xbd4f3(0x1b9):_0xbd4f3(0x1d8);return _0x28c475[_0xbd4f3(0x1ab)](_0x28c475[_0xbd4f3(0x190)](_0x122672),_0x1f878a),!0x0;}function I(_0x4e3b20,_0x36195f,_0x2dca3b){const _0x586389=_0xb524f1;if(0x0===_0x36195f[_0x586389(0x1bc)])return 0x0;const _0x3d1608=_0x4e3b20[_0x586389(0x1ac)](_0x2dca3b);for(let _0x31d10b=0x0;_0x31d10b<_0x36195f[_0x586389(0x1bc)];_0x31d10b++){const _0xd1d479=_0x36195f[_0x31d10b],_0x41fe50=_0x4e3b20[_0x586389(0x1ac)](_0xd1d479[_0x586389(0x1ba)]);if(_0x586389(0x192)===_0x3d1608[_0x586389(0x180)](_0x41fe50))return _0x31d10b;}const _0x562d19=_0x2dca3b[_0x586389(0x1b8)];let _0x54c859=-0x1;for(let _0x56c1ea=_0x36195f[_0x586389(0x1bc)]-0x1;_0x56c1ea>=0x0;_0x56c1ea--)if(_0x36195f[_0x56c1ea][_0x586389(0x1ba)][_0x586389(0x1b8)]===_0x562d19){_0x54c859=_0x56c1ea;break;}if(-0x1!==_0x54c859)return _0x54c859+0x1;const _0x2c78a1=_0x4e3b20[_0x586389(0x18a)][_0x586389(0x1bb)](),_0x2ebc22=_0x2c78a1[_0x586389(0x1c7)](_0x562d19[_0x586389(0x1be)]),_0x4a66dc=_0x2c78a1[_0x2ebc22+0x1];if(_0x4a66dc){for(let _0xd524cf=0x0;_0xd524cf<_0x36195f[_0x586389(0x1bc)];_0xd524cf++)if(_0x36195f[_0xd524cf][_0x586389(0x1ba)][_0x586389(0x1b8)][_0x586389(0x1be)]===_0x4a66dc)return _0xd524cf;}return _0x36195f[_0x586389(0x1bc)];}
23
+ const _0x5947ba=_0x5e4a;function _0x5e4a(_0x10112d,_0x190db4){const _0x1c5e8c=_0x1c5e();return _0x5e4a=function(_0x5e4a7f,_0x97ed98){_0x5e4a7f=_0x5e4a7f-0xd4;let _0x33d75e=_0x1c5e8c[_0x5e4a7f];return _0x33d75e;},_0x5e4a(_0x10112d,_0x190db4);}(function(_0x5bd69e,_0x5873c8){const _0x4d1fa7=_0x5e4a,_0x3b18ee=_0x5bd69e();while(!![]){try{const _0x4a50b6=-parseInt(_0x4d1fa7(0x117))/0x1*(parseInt(_0x4d1fa7(0x10f))/0x2)+parseInt(_0x4d1fa7(0x106))/0x3+parseInt(_0x4d1fa7(0x110))/0x4*(-parseInt(_0x4d1fa7(0xf6))/0x5)+-parseInt(_0x4d1fa7(0xe8))/0x6+-parseInt(_0x4d1fa7(0xfa))/0x7*(-parseInt(_0x4d1fa7(0xfe))/0x8)+-parseInt(_0x4d1fa7(0xdf))/0x9*(-parseInt(_0x4d1fa7(0x111))/0xa)+parseInt(_0x4d1fa7(0x118))/0xb;if(_0x4a50b6===_0x5873c8)break;else _0x3b18ee['push'](_0x3b18ee['shift']());}catch(_0x3a555f){_0x3b18ee['push'](_0x3b18ee['shift']());}}}(_0x1c5e,0xa013e));import{Plugin as _0x1e007f}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x25f97e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1e007f{[_0x5947ba(0x131)]=[];[_0x5947ba(0xec)]=null;[_0x5947ba(0x12e)]=null;[_0x5947ba(0x123)];[_0x5947ba(0xda)];[_0x5947ba(0x108)];static get[_0x5947ba(0xe9)](){const _0x48e117=_0x5947ba;return _0x48e117(0x139);}static get[_0x5947ba(0x129)](){return!0x0;}static get[_0x5947ba(0xd5)](){return!0x0;}constructor(_0x5af880){const _0x478e27=_0x5947ba;super(_0x5af880),this[_0x478e27(0x123)]=new _0x25f97e(this[_0x478e27(0x134)][_0x478e27(0xe7)],{'elementName':_0x478e27(0xeb),'getElementKey':()=>_0x478e27(0x115)}),this[_0x478e27(0xda)]=new _0x25f97e(this[_0x478e27(0x134)][_0x478e27(0xe7)],{'elementName':_0x478e27(0x133),'getElementKey':_0x4b260d=>_0x4b260d[_0x478e27(0xed)](_0x478e27(0xe5))}),this[_0x478e27(0x108)]=new _0x25f97e(this[_0x478e27(0x134)][_0x478e27(0xe7)],{'elementName':_0x478e27(0x112),'getElementKey':_0x26a020=>_0x26a020[_0x478e27(0xed)](_0x478e27(0xe5))});}[_0x5947ba(0x109)](){const _0x54dd27=_0x5947ba,{editor:_0x17706e}=this,{model:_0xc0b8d2,data:_0x3976fa}=_0x17706e;_0xc0b8d2[_0x54dd27(0xf3)][_0x54dd27(0xe4)](_0x56c045=>{const _0x41f788=_0x54dd27,_0x7be664=_0xc0b8d2[_0x41f788(0xf3)][_0x41f788(0x126)][_0x41f788(0x132)]();let _0x2d8c52=!0x1;return this[_0x41f788(0xd4)](_0x56c045,_0x7be664)&&(_0x2d8c52=!0x0),this[_0x41f788(0xe1)](_0x56c045,_0x7be664)&&(_0x2d8c52=!0x0),this[_0x41f788(0x107)](_0x56c045,_0x7be664)&&(_0x2d8c52=!0x0),this[_0x41f788(0x12b)](_0x56c045)&&(_0x2d8c52=!0x0),this[_0x41f788(0x116)](_0x56c045)&&(_0x2d8c52=!0x0),this[_0x41f788(0x102)](_0x56c045)&&(_0x2d8c52=!0x0),_0x2d8c52;}),this[_0x54dd27(0x10e)](_0xc0b8d2[_0x54dd27(0xf3)],_0x54dd27(0x12c),()=>{const _0x3af84d=_0x54dd27;_0xc0b8d2[_0x3af84d(0x130)]({'isUndoable':!0x1},_0x429702=>{const _0x20761f=_0x3af84d;this[_0x20761f(0x124)](_0x429702);});},{'priority':_0x54dd27(0x12f)}),this[_0x54dd27(0x10e)](_0x3976fa,_0x54dd27(0xd8),()=>{const _0x968504=_0x54dd27;this[_0x968504(0x131)]=[],this[_0x968504(0x123)][_0x968504(0x113)](),this[_0x968504(0xda)][_0x968504(0x113)](),this[_0x968504(0x108)][_0x968504(0x113)]();},{'priority':_0x54dd27(0xfc)});}[_0x5947ba(0xe6)](){const _0x827071=_0x5947ba;return this[_0x827071(0xec)];}[_0x5947ba(0x101)](_0x454f10){const _0x59f3ae=_0x5947ba;return this[_0x59f3ae(0x131)][_0x59f3ae(0xf7)](_0xe3eb52=>_0xe3eb52['id']===_0x454f10)||null;}[_0x5947ba(0x11f)](){const _0xbb9edf=_0x5947ba;return Array[_0xbb9edf(0x11c)](this[_0xbb9edf(0x131)]);}[_0x5947ba(0x12a)](){const _0x51ee47=_0x5947ba;return this[_0x51ee47(0x12e)];}[_0x5947ba(0xdd)](_0x2cb920){const _0x574a1d=_0x5947ba;this[_0x574a1d(0x12e)]=_0x2cb920;}[_0x5947ba(0xdc)](_0x1808c4,_0x3b5947=0x0){const _0x4269c8=_0x5947ba;let _0xf72f8c=!0x1;for(let _0x1b36ad=_0x3b5947;_0x1b36ad<this[_0x4269c8(0x131)][_0x4269c8(0xd6)];_0x1b36ad++)this[_0x4269c8(0xe0)](_0x1808c4,_0x1b36ad)&&(_0xf72f8c=!0x0);return _0xf72f8c;}[_0x5947ba(0x128)](_0x338b45,_0x5a874c){const _0x42042f=_0x5947ba,_0x57b1e0=_0x338b45[_0x42042f(0x103)](_0x42042f(0xeb),{});return _0x338b45[_0x42042f(0x11b)](_0x57b1e0,_0x5a874c),this[_0x42042f(0xec)]=_0x57b1e0,_0x57b1e0;}[_0x5947ba(0x124)](_0xe3416e){const _0x2a0828=_0x5947ba;if(!this[_0x2a0828(0x131)][_0x2a0828(0xd6)]||this[_0x2a0828(0xec)])return;const _0x39e091=this[_0x2a0828(0x131)][0x0][_0x2a0828(0xf8)][_0x2a0828(0x10b)],_0x4c54c3=this[_0x2a0828(0x128)](_0xe3416e,_0x39e091);for(const _0x483d9e of this[_0x2a0828(0x131)])_0x483d9e[_0x2a0828(0xd9)][_0x2a0828(0x114)]||_0xe3416e[_0x2a0828(0x11e)](_0x483d9e[_0x2a0828(0xd9)],_0x4c54c3,_0x2a0828(0xde));this[_0x2a0828(0xdc)](_0xe3416e);}[_0x5947ba(0xd4)](_0x205291,_0x3b4dea){const _0x4c38c2=_0x5947ba;let _0x5e4956=!0x1;const {inserted:_0x43119f,removed:_0x2f36e9,moved:_0xac4a55}=this[_0x4c38c2(0x123)][_0x4c38c2(0x132)](_0x3b4dea);if(_0xac4a55[_0x4c38c2(0xd6)]&&(this[_0x4c38c2(0xec)]=_0xac4a55[0x0]),_0x43119f[_0x4c38c2(0xd6)]){if(_0x43119f[_0x4c38c2(0xd6)]>0x1||this[_0x4c38c2(0xec)]&&_0x43119f[_0x4c38c2(0x137)](_0x45dd9f=>_0x45dd9f!==this[_0x4c38c2(0xec)])){const _0xc284eb=_0x205291[_0x4c38c2(0x103)](_0x4c38c2(0xeb),{}),_0x112b6f=[];this[_0x4c38c2(0xec)]&&_0x112b6f[_0x4c38c2(0x125)](this[_0x4c38c2(0xec)]),_0x112b6f[_0x4c38c2(0x125)](..._0x43119f),_0x205291[_0x4c38c2(0x11e)](_0xc284eb,_0x112b6f[0x0],_0x4c38c2(0xf0));for(const _0x4fcfce of _0x112b6f)_0x205291[_0x4c38c2(0x135)](_0x205291[_0x4c38c2(0x11d)](_0x4fcfce),_0x205291[_0x4c38c2(0x105)](_0xc284eb,_0x4c38c2(0xde))),_0x205291[_0x4c38c2(0x136)](_0x4fcfce);this[_0x4c38c2(0xec)]=_0xc284eb,this[_0x4c38c2(0xdc)](_0x205291),_0x5e4956=!0x0;}else this[_0x4c38c2(0xec)]=_0x43119f[0x0];}if(_0x2f36e9[_0x4c38c2(0xd6)]&&_0x4c38c2(0x122)===this[_0x4c38c2(0xec)]?.[_0x4c38c2(0x10b)][_0x4c38c2(0xea)]){for(const _0x420742 of this[_0x4c38c2(0x131)])_0x205291[_0x4c38c2(0x136)](_0x420742[_0x4c38c2(0xf8)]),_0x5e4956=!0x0;this[_0x4c38c2(0x131)]=[],this[_0x4c38c2(0xec)]=null;}return _0x5e4956;}[_0x5947ba(0xe1)](_0x2dc189,_0x383001){const _0x297ae5=_0x5947ba;let _0x58b2af=!0x1;const _0x4a0554=this[_0x297ae5(0x134)][_0x297ae5(0xe2)][_0x297ae5(0xf2)](_0x297ae5(0x10a)),{inserted:_0x58dd28,moved:_0x893055}=this[_0x297ae5(0x108)][_0x297ae5(0x132)](_0x383001);for(const _0x2f10fb of[..._0x893055,..._0x58dd28]){const _0x1891a9=_0x2f10fb[_0x297ae5(0xed)](_0x297ae5(0xe5)),_0x582c33=this[_0x297ae5(0x101)](_0x1891a9);_0x582c33&&(_0x582c33[_0x297ae5(0xd9)]=_0x2f10fb),_(_0x2dc189,_0x4a0554,_0x2f10fb)&&(_0x58b2af=!0x0);}return _0x58b2af;}[_0x5947ba(0x107)](_0x590931,_0x578808){const _0x13ab4c=_0x5947ba;let _0x11e481=!0x1;const {removed:_0x2d94c6,inserted:_0x388278,moved:_0xd46f9d}=this[_0x13ab4c(0xda)][_0x13ab4c(0x132)](_0x578808);for(const _0x3de0d0 of _0x2d94c6)this[_0x13ab4c(0xff)](_0x590931,_0x3de0d0)&&(_0x11e481=!0x0);for(const _0x2f2cd0 of _0x388278)this[_0x13ab4c(0x10d)](_0x590931,_0x2f2cd0)&&(_0x11e481=!0x0);for(const _0x29f546 of _0xd46f9d)this[_0x13ab4c(0x120)](_0x590931,_0x29f546)&&(_0x11e481=!0x0);return _0x11e481;}[_0x5947ba(0x116)](_0x377481){const _0x28ea9e=_0x5947ba;if(!this[_0x28ea9e(0xec)])return!0x1;let _0x136dc5=!0x1;if(this[_0x28ea9e(0xec)][_0x28ea9e(0xe3)]!==this[_0x28ea9e(0x131)][_0x28ea9e(0xd6)]){const _0x13989a=[];for(const _0x28a465 of this[_0x28ea9e(0xec)][_0x28ea9e(0x121)]()){const _0x59fd30=_0x28a465[_0x28ea9e(0xed)](_0x28ea9e(0xe5));this[_0x28ea9e(0x101)](_0x59fd30)||(_0x13989a[_0x28ea9e(0xf1)](_0x28a465),_0x136dc5=!0x0);}for(const _0x38b1ac of _0x13989a)_0x377481[_0x28ea9e(0x136)](_0x38b1ac);}const _0xb7db6=new Set(),_0x42440a=[];for(const _0x42dd29 of this[_0x28ea9e(0xec)][_0x28ea9e(0x121)]()){const _0x58be64=_0x42dd29[_0x28ea9e(0xed)](_0x28ea9e(0xe5));_0xb7db6[_0x28ea9e(0xf4)](_0x58be64)?(_0x42440a[_0x28ea9e(0xf1)](_0x42dd29),_0x136dc5=!0x0):_0xb7db6[_0x28ea9e(0x11a)](_0x58be64);}for(const _0x422964 of _0x42440a)_0x377481[_0x28ea9e(0x136)](_0x422964);return this[_0x28ea9e(0xec)][_0x28ea9e(0xe3)]||(_0x377481[_0x28ea9e(0x136)](this[_0x28ea9e(0xec)]),this[_0x28ea9e(0xec)]=null,_0x136dc5=!0x0),_0x136dc5;}[_0x5947ba(0x10d)](_0x2a750f,_0x1e1843){const _0x585066=_0x5947ba;if(this[_0x585066(0x131)][_0x585066(0xf7)](_0x172827=>_0x172827[_0x585066(0xf8)]===_0x1e1843))return!0x1;let _0x36def7=!0x1;const _0x46d3b2=_0x1e1843[_0x585066(0xed)](_0x585066(0xe5)),_0x1ccebb=this[_0x585066(0x131)][_0x585066(0xd7)](_0x2db1ff=>_0x2db1ff['id']===_0x46d3b2);-0x1!==_0x1ccebb&&(_0x2a750f[_0x585066(0x136)](this[_0x585066(0x131)][_0x1ccebb][_0x585066(0xf8)]),this[_0x585066(0x131)][_0x585066(0xee)](_0x1ccebb,0x1),_0x36def7=!0x0);let _0x1aa8e9=this[_0x585066(0xec)]?function(_0x3a993c,_0x518df6){const _0x46a2be=_0x585066;for(const _0x4d7e92 of _0x3a993c[_0x46a2be(0x121)]())if(_0x4d7e92[_0x46a2be(0xed)](_0x46a2be(0xe5))===_0x518df6)return _0x4d7e92;return null;}(this[_0x585066(0xec)],_0x46d3b2):null;_0x1aa8e9||(_0x1aa8e9=_0x2a750f[_0x585066(0x103)](_0x585066(0x112),{'footnoteId':_0x46d3b2}),this[_0x585066(0xec)]&&(_0x2a750f[_0x585066(0x11e)](_0x1aa8e9,this[_0x585066(0xec)],_0x585066(0xde)),_0x36def7=!0x0));const _0x56354c={'id':_0x46d3b2,'reference':_0x1e1843,'definition':_0x1aa8e9},_0x3163b0=I(this[_0x585066(0x134)][_0x585066(0xe7)],this[_0x585066(0x131)],_0x1e1843);this[_0x585066(0x131)][_0x585066(0xee)](_0x3163b0,0x0,_0x56354c);let _0x2989a3=_0x3163b0;return-0x1!==_0x1ccebb&&(_0x2989a3=Math[_0x585066(0x12d)](_0x3163b0,_0x1ccebb)),this[_0x585066(0xdc)](_0x2a750f,_0x2989a3)&&(_0x36def7=!0x0),_0x36def7;}[_0x5947ba(0xff)](_0x1344ef,_0x4f9f48){const _0x13f758=_0x5947ba,_0x5333be=this[_0x13f758(0x131)][_0x13f758(0xd7)](_0x42832e=>_0x42832e['id']===_0x4f9f48);if(-0x1===_0x5333be)return!0x1;let _0x4e91aa=!0x1;const _0x3de3a4=this[_0x13f758(0x131)][_0x5333be];return _0x13f758(0x122)!==_0x3de3a4[_0x13f758(0xd9)][_0x13f758(0x10b)][_0x13f758(0xea)]&&(_0x1344ef[_0x13f758(0x136)](_0x3de3a4[_0x13f758(0xd9)]),_0x4e91aa=!0x0),this[_0x13f758(0x131)][_0x13f758(0xee)](_0x5333be,0x1),this[_0x13f758(0xdc)](_0x1344ef,_0x5333be)&&(_0x4e91aa=!0x0),_0x4e91aa;}[_0x5947ba(0x120)](_0x16f0de,_0x23e1c5){const _0xc86070=_0x5947ba,_0x5d6459=_0x23e1c5[_0xc86070(0xed)](_0xc86070(0xe5)),_0x4ed17e=this[_0xc86070(0x131)][_0xc86070(0xd7)](_0xea8f5f=>_0xea8f5f['id']===_0x5d6459),_0x26ed61=this[_0xc86070(0x131)][_0x4ed17e];let _0x4f23b1=!0x1;_0x26ed61[_0xc86070(0xf8)]=_0x23e1c5,this[_0xc86070(0x131)][_0xc86070(0xee)](_0x4ed17e,0x1);const _0x284e6f=I(this[_0xc86070(0x134)][_0xc86070(0xe7)],this[_0xc86070(0x131)],_0x23e1c5);return this[_0xc86070(0x131)][_0xc86070(0xee)](_0x284e6f,0x0,_0x26ed61),this[_0xc86070(0xdc)](_0x16f0de,Math[_0xc86070(0x12d)](_0x4ed17e,_0x284e6f))&&(_0x4f23b1=!0x0),_0x4f23b1;}[_0x5947ba(0xe0)](_0x13ca55,_0x54a7c6){const _0x4d22b2=_0x5947ba;if(!this[_0x4d22b2(0xec)])return!0x1;const _0x19a2aa=this[_0x4d22b2(0x131)][_0x54a7c6];let _0x5a2adb;return _0x5a2adb=this[_0x4d22b2(0x12e)]?this[_0x4d22b2(0x12e)]({'footnote':_0x19a2aa,'container':this[_0x4d22b2(0xec)],'digits':String(this[_0x4d22b2(0x131)][_0x4d22b2(0xd6)])[_0x4d22b2(0xd6)],'value':_0x54a7c6+0x1}):String(_0x54a7c6+0x1),_0x19a2aa[_0x4d22b2(0xf8)][_0x4d22b2(0xed)](_0x4d22b2(0xef))!=_0x5a2adb&&(_0x13ca55[_0x4d22b2(0xfd)](_0x4d22b2(0xef),_0x5a2adb,_0x19a2aa[_0x4d22b2(0xf8)]),!0x0);}[_0x5947ba(0x102)](_0x4ef13b){const _0x97fb07=_0x5947ba;if(!this[_0x97fb07(0xec)]||this[_0x97fb07(0x131)][_0x97fb07(0xd6)]<0x2)return!0x1;if(function(_0x3400c4,_0x3152da){const _0xd7b166=_0x97fb07;if(_0x3400c4[_0xd7b166(0xd6)]!==_0x3152da[_0xd7b166(0xd6)])return!0x1;for(let _0x43d7ce=0x0;_0x43d7ce<_0x3400c4[_0xd7b166(0xd6)];_0x43d7ce++)if(_0x3400c4[_0x43d7ce]!==_0x3152da[_0x43d7ce])return!0x1;return!0x0;}(this[_0x97fb07(0x131)][_0x97fb07(0xfb)](_0x34b84d=>_0x34b84d['id']),Array[_0x97fb07(0x11c)](this[_0x97fb07(0xec)][_0x97fb07(0x121)]())[_0x97fb07(0xfb)](_0x240e5f=>_0x240e5f[_0x97fb07(0xed)](_0x97fb07(0xe5)))))return!0x1;let _0x2b7ff8=!0x1;for(let _0x4dbdcb=0x0;_0x4dbdcb<this[_0x97fb07(0x131)][_0x97fb07(0xd6)];_0x4dbdcb++){const _0x1b4b0b=this[_0x97fb07(0x131)][_0x4dbdcb],_0x2fd7fa=_0x4ef13b[_0x97fb07(0x138)](_0x1b4b0b[_0x97fb07(0xd9)]),_0x494a11=_0x4ef13b[_0x97fb07(0x105)](this[_0x97fb07(0xec)],_0x4dbdcb);_0x2fd7fa[_0x97fb07(0xdb)](_0x494a11)||(_0x4ef13b[_0x97fb07(0x135)](_0x4ef13b[_0x97fb07(0x100)](_0x1b4b0b[_0x97fb07(0xd9)]),_0x494a11),_0x2b7ff8=!0x0);}return _0x2b7ff8;}[_0x5947ba(0x12b)](_0x3867e5){const _0x41b1db=_0x5947ba;if(!this[_0x41b1db(0x131)][_0x41b1db(0xd6)])return!0x1;const {model:_0x7d8609}=this[_0x41b1db(0x134)];let _0x3d5e0b=!0x1;for(let _0x15274a=0x0;_0x15274a<this[_0x41b1db(0x131)][_0x41b1db(0xd6)]-0x1;_0x15274a++){const _0x1956d0=this[_0x41b1db(0x131)][_0x15274a],_0x32adef=this[_0x41b1db(0x131)][_0x15274a+0x1],_0x378746=_0x7d8609[_0x41b1db(0x138)](_0x1956d0[_0x41b1db(0xf8)]),_0x57a3b7=_0x7d8609[_0x41b1db(0x138)](_0x32adef[_0x41b1db(0xf8)]);_0x41b1db(0x119)===_0x378746[_0x41b1db(0xf5)](_0x57a3b7)&&(this[_0x41b1db(0x120)](_0x3867e5,_0x1956d0[_0x41b1db(0xf8)]),_0x15274a=-0x1,_0x3d5e0b=!0x0);}return _0x3d5e0b;}}function _(_0x220ba8,_0x3b730b,_0x530e39){const _0x30ffb5=_0x5947ba;if(_0x530e39[_0x30ffb5(0xe3)])return!0x1;const _0x2b41bc=_0x3b730b?_0x30ffb5(0xf9):_0x30ffb5(0x10c);return _0x220ba8[_0x30ffb5(0x11e)](_0x220ba8[_0x30ffb5(0x103)](_0x2b41bc),_0x530e39),!0x0;}function I(_0x1bab15,_0x287c80,_0x14c3ac){const _0xe2353f=_0x5947ba;if(0x0===_0x287c80[_0xe2353f(0xd6)])return 0x0;const _0x11606d=_0x1bab15[_0xe2353f(0x138)](_0x14c3ac);for(let _0x41e4f0=0x0;_0x41e4f0<_0x287c80[_0xe2353f(0xd6)];_0x41e4f0++){const _0x590aa7=_0x287c80[_0x41e4f0],_0x578690=_0x1bab15[_0xe2353f(0x138)](_0x590aa7[_0xe2353f(0xf8)]);if(_0xe2353f(0xf0)===_0x11606d[_0xe2353f(0xf5)](_0x578690))return _0x41e4f0;}const _0x437234=_0x14c3ac[_0xe2353f(0x10b)];let _0x5455fe=-0x1;for(let _0x2b4905=_0x287c80[_0xe2353f(0xd6)]-0x1;_0x2b4905>=0x0;_0x2b4905--)if(_0x287c80[_0x2b4905][_0xe2353f(0xf8)][_0xe2353f(0x10b)]===_0x437234){_0x5455fe=_0x2b4905;break;}if(-0x1!==_0x5455fe)return _0x5455fe+0x1;const _0x594f6c=_0x1bab15[_0xe2353f(0xf3)][_0xe2353f(0x127)](),_0x132d00=_0x594f6c[_0xe2353f(0x104)](_0x437234[_0xe2353f(0xea)]),_0x28c431=_0x594f6c[_0x132d00+0x1];if(_0x28c431){for(let _0x40d8b3=0x0;_0x40d8b3<_0x287c80[_0xe2353f(0xd6)];_0x40d8b3++)if(_0x287c80[_0x40d8b3][_0xe2353f(0xf8)][_0xe2353f(0x10b)][_0xe2353f(0xea)]===_0x28c431)return _0x40d8b3;}return _0x287c80[_0xe2353f(0xd6)];}function _0x1c5e(){const _0x4b4f2b=['10838784dFrDcm','after','add','append','from','createRangeIn','insert','getFootnotes','_handleMovedFootnoteReference','getChildren','$graveyard','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','push','differ','getRootNames','_insertEmptyFootnotesDefinitionsContainer','isOfficialPlugin','getFootnotesFormatter','_ensureFootnotesReferencesHaveProperOrder','change:data','min','_footnoteFormatter','low','enqueueChange','_footnotes','getChanges','footnoteRef','editor','move','remove','some','createPositionBefore','FootnotesTracker','_handleFootnotesDefinitionsObjectChanges','isPremiumPlugin','length','findIndex','set','definition','_footnoteRefsTracker','isEqual','_updateFootnotesCounters','setFootnoteFormatter','end','2237328MrDUrA','_updateFootnoteRefCounter','_handleFootnoteDefinitionsChanges','config','childCount','registerPostFixer','footnoteId','getFootnotesDefinitionsObjectElement','model','5107854NclYTz','pluginName','rootName','footnotesDefinitions','_footnotesDefinitions','getAttribute','splice','footnoteCounter','before','unshift','get','document','has','compareWith','5wxQOTT','find','reference','paragraph','91YNHZdR','map','high','setAttribute','657128iUlZNt','_handleRemoveFootnoteReferenceById','createRangeOn','getFootnote','_sortFootnoteDefinitions','createElement','indexOf','createPositionAt','1958943cDDkgz','_handleFootnoteReferencesChanges','_footnoteDefsTracker','init','footnotes.multiBlock','root','footnoteInlineContent','_handleInsertedFootnoteReference','listenTo','12DmiLhQ','5156108LyBWcX','50fzwDJi','footnoteDefinition','reset','parent','singleton','_handleFootnotesDefinitionsObjectSync','192184OckteC'];_0x1c5e=function(){return _0x4b4f2b;};return _0x1c5e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2fe9c7,MenuBarMenuListItemButtonView as _0x5eec2b}from'ckeditor5/src/ui.js';import{Plugin as _0x42700f}from'ckeditor5/src/core.js';import{IconFootnote as _0x2f00cd}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x42700f{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x347e1e}=this,{componentFactory:_0x14be64}=_0x347e1e['ui'];_0x14be64['add']('insertFootnote',x(_0x347e1e,_0x2fe9c7)),_0x14be64['add']('menuBar:insertFootnote',x(_0x347e1e,_0x5eec2b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x298f0f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xafa7ed;for(const _0x1e6e34 in _0x298f0f){const _0x24c7b4=_0x1e6e34,_0x410a9b=_0x298f0f[_0x24c7b4];if('footnotesLicenseKeyValid'==_0x410a9b||'footnotesLicenseKeyInvalid'==_0x410a9b||'footnotesLicenseKeyExpired'==_0x410a9b||'footnotesLicenseKeyDomainLimit'==_0x410a9b||'footnotesLicenseKeyNotAllowed'==_0x410a9b||'footnotesLicenseKeyEvaluationLimit'==_0x410a9b||'footnotesLicenseKeyTrialLimit'==_0x410a9b||'footnotesLicenseKeyUsageLimit'==_0x410a9b){delete _0x298f0f[_0x24c7b4],_0xafa7ed=_0x410a9b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xafa7ed&&_0x298f0f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xafa7ed&&_0x298f0f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xafa7ed&&_0x298f0f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xafa7ed&&_0x298f0f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xafa7ed&&_0x298f0f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xafa7ed&&_0x298f0f['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xafa7ed&&_0x298f0f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4da76b,_0x104e80){const _0x4e75db=_0x4da76b['commands']['get']('insertFootnote');return _0x11beeb=>{const {t:t}=_0x11beeb,_0x2eea1a=new _0x104e80(_0x11beeb),_0x2d53b3=_0x2eea1a instanceof _0x5eec2b;return _0x2eea1a['bind']('isEnabled')['to'](_0x4e75db,'isEnabled'),_0x2eea1a['set']({'label':t(_0x2d53b3?'Footnote':'Insert\x20footnote'),'icon':_0x2f00cd,'tooltip':!0x0}),_0x2eea1a['on']('execute',()=>{_0x4e75db['execute'](),_0x4da76b['editing']['view']['focus']();}),_0x2eea1a;};}
23
+ import{ButtonView as _0x4d05d6,MenuBarMenuListItemButtonView as _0x372e0e}from'ckeditor5/src/ui.js';import{Plugin as _0x3889fb}from'ckeditor5/src/core.js';import{IconFootnote as _0x2b17e2}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3889fb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e6776}=this,{componentFactory:_0x30dae4}=_0x1e6776['ui'];_0x30dae4['add']('insertFootnote',x(_0x1e6776,_0x4d05d6)),_0x30dae4['add']('menuBar:insertFootnote',x(_0x1e6776,_0x372e0e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ae0d1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x277be7;for(const _0x5e4585 in _0x1ae0d1){const _0x3400e5=_0x5e4585,_0x5167fb=_0x1ae0d1[_0x3400e5];if('footnotesLicenseKeyValid'==_0x5167fb||'footnotesLicenseKeyInvalid'==_0x5167fb||'footnotesLicenseKeyExpired'==_0x5167fb||'footnotesLicenseKeyDomainLimit'==_0x5167fb||'footnotesLicenseKeyNotAllowed'==_0x5167fb||'footnotesLicenseKeyEvaluationLimit'==_0x5167fb||'footnotesLicenseKeyTrialLimit'==_0x5167fb||'footnotesLicenseKeyUsageLimit'==_0x5167fb){delete _0x1ae0d1[_0x3400e5],_0x277be7=_0x5167fb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x277be7&&_0x1ae0d1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x277be7&&_0x1ae0d1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x277be7&&_0x1ae0d1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x277be7&&_0x1ae0d1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x277be7&&_0x1ae0d1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x277be7&&_0x1ae0d1['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x277be7&&_0x1ae0d1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x20090c,_0x3fc1b5){const _0x2e5f1c=_0x20090c['commands']['get']('insertFootnote');return _0x3ced55=>{const {t:t}=_0x3ced55,_0x238093=new _0x3fc1b5(_0x3ced55),_0x34567e=_0x238093 instanceof _0x372e0e;return _0x238093['bind']('isEnabled')['to'](_0x2e5f1c,'isEnabled'),_0x238093['set']({'label':t(_0x34567e?'Footnote':'Insert\x20footnote'),'icon':_0x2b17e2,'tooltip':!0x0}),_0x238093['on']('execute',()=>{_0x2e5f1c['execute'](),_0x20090c['editing']['view']['focus']();}),_0x238093;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5ce775,_0x517275){var _0x4504fb=_0xc7bd,_0x2d8372=_0x5ce775();while(!![]){try{var _0x59f4c0=-parseInt(_0x4504fb(0x154))/0x1*(-parseInt(_0x4504fb(0x15c))/0x2)+parseInt(_0x4504fb(0x15d))/0x3+-parseInt(_0x4504fb(0x156))/0x4*(parseInt(_0x4504fb(0x159))/0x5)+-parseInt(_0x4504fb(0x158))/0x6+parseInt(_0x4504fb(0x15b))/0x7*(parseInt(_0x4504fb(0x15a))/0x8)+parseInt(_0x4504fb(0x155))/0x9+parseInt(_0x4504fb(0x157))/0xa;if(_0x59f4c0===_0x517275)break;else _0x2d8372['push'](_0x2d8372['shift']());}catch(_0x4533c5){_0x2d8372['push'](_0x2d8372['shift']());}}}(_0x1ddb,0x4b84b));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x1ddb(){var _0x257d64=['771534Knnmdl','10kQVHGc','10456pfUHCz','119aQTbzm','68394qPuuFA','379140foYYWa','2mSmZNe','3201048AoTzDG','1044644nMXNfp','3875690edmvxU'];_0x1ddb=function(){return _0x257d64;};return _0x1ddb();}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';function _0xc7bd(_0x2a2493,_0x47205e){var _0x1ddb94=_0x1ddb();return _0xc7bd=function(_0xc7bd91,_0x3106ce){_0xc7bd91=_0xc7bd91-0x154;var _0x1df61f=_0x1ddb94[_0xc7bd91];return _0x1df61f;},_0xc7bd(_0x2a2493,_0x47205e);}export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x2a10bd,_0x4af6f7){var _0x42acf2=_0x578c,_0x5496a5=_0x2a10bd();while(!![]){try{var _0x5f40e3=-parseInt(_0x42acf2(0x16e))/0x1+-parseInt(_0x42acf2(0x16c))/0x2*(parseInt(_0x42acf2(0x171))/0x3)+-parseInt(_0x42acf2(0x170))/0x4+parseInt(_0x42acf2(0x16f))/0x5*(parseInt(_0x42acf2(0x16d))/0x6)+-parseInt(_0x42acf2(0x173))/0x7*(parseInt(_0x42acf2(0x172))/0x8)+parseInt(_0x42acf2(0x174))/0x9+parseInt(_0x42acf2(0x175))/0xa;if(_0x5f40e3===_0x4af6f7)break;else _0x5496a5['push'](_0x5496a5['shift']());}catch(_0x2f1748){_0x5496a5['push'](_0x5496a5['shift']());}}}(_0x49b9,0x30102));import'./augmentation.js';function _0x578c(_0x6be5a6,_0x162bba){var _0x49b9cc=_0x49b9();return _0x578c=function(_0x578c4a,_0x31903f){_0x578c4a=_0x578c4a-0x16c;var _0x2926b8=_0x49b9cc[_0x578c4a];return _0x2926b8;},_0x578c(_0x6be5a6,_0x162bba);}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';function _0x49b9(){var _0x57bfc8=['410166eDQyDu','335020CrOWNL','5tiYijC','1417004InYyin','57AbehcL','1838648JCspQX','7JJfHPD','999018SYctLX','12942420CauXLD','37646oQyduJ'];_0x49b9=function(){return _0x57bfc8;};return _0x49b9();}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x598d(){const _0x4046bb=['nodeAfter','_model','element','push','7VzOgjY','1148408kHyYRU','type','delete','clear','values','_elementName','_trackedElements','root','remove','getItems','rootName','6215658GaYfqT','81Bbxxyo','$graveyard','12zYygBB','length','has','_getElementKey','set','getElementKey','getChanges','from','position','get','15RQAjbw','136926ZiQTuc','attributes','$text','createRangeOn','478304zXcZlo','653956dfuSqG','name','add','elementName','flat','14096830LQoHiD','insert','slice','reset','42698403VTWBfS'];_0x598d=function(){return _0x4046bb;};return _0x598d();}const _0x2276f5=_0x3c08;(function(_0x50048c,_0x2856c2){const _0x2d584f=_0x3c08,_0x36a6ed=_0x50048c();while(!![]){try{const _0x310c91=parseInt(_0x2d584f(0x160))/0x1+parseInt(_0x2d584f(0x188))/0x2*(parseInt(_0x2d584f(0x17d))/0x3)+parseInt(_0x2d584f(0x18c))/0x4*(-parseInt(_0x2d584f(0x187))/0x5)+parseInt(_0x2d584f(0x17a))/0x6*(-parseInt(_0x2d584f(0x16e))/0x7)+parseInt(_0x2d584f(0x16f))/0x8*(-parseInt(_0x2d584f(0x17b))/0x9)+-parseInt(_0x2d584f(0x165))/0xa+parseInt(_0x2d584f(0x169))/0xb;if(_0x310c91===_0x2856c2)break;else _0x36a6ed['push'](_0x36a6ed['shift']());}catch(_0x5beccf){_0x36a6ed['push'](_0x36a6ed['shift']());}}}(_0x598d,0xae1d0));function _0x3c08(_0x46a764,_0x323397){const _0x598dc7=_0x598d();return _0x3c08=function(_0x3c0880,_0x573fb9){_0x3c0880=_0x3c0880-0x160;let _0x53c17c=_0x598dc7[_0x3c0880];return _0x53c17c;},_0x3c08(_0x46a764,_0x323397);}export class ModelElementTracker{[_0x2276f5(0x16b)];[_0x2276f5(0x174)];[_0x2276f5(0x180)];[_0x2276f5(0x175)]=new Map();constructor(_0x11870d,_0x3e1e18){const _0xf430b2=_0x2276f5;this[_0xf430b2(0x16b)]=_0x11870d,this[_0xf430b2(0x174)]=_0x3e1e18[_0xf430b2(0x163)],this[_0xf430b2(0x180)]=_0x3e1e18[_0xf430b2(0x182)];}[_0x2276f5(0x168)](){const _0x2e8760=_0x2276f5;this[_0x2e8760(0x175)][_0x2e8760(0x172)]();}[_0x2276f5(0x183)](_0x1a2ecd){const _0x35974a=_0x2276f5,_0x5e69d0=new Set(),_0x2e11c3=new Map();for(const _0x194b18 of _0x1a2ecd){if(_0x35974a(0x166)===_0x194b18[_0x35974a(0x170)]&&_0x35974a(0x18a)!==_0x194b18[_0x35974a(0x161)]&&_0x194b18[_0x35974a(0x185)][_0x35974a(0x16a)]){const _0xb478fe=this[_0x35974a(0x16b)][_0x35974a(0x18b)](_0x194b18[_0x35974a(0x185)][_0x35974a(0x16a)]);for(const _0x38547a of _0xb478fe[_0x35974a(0x178)]()){if(!_0x38547a['is'](_0x35974a(0x16c),this[_0x35974a(0x174)]))continue;const _0x12d6e1=this[_0x35974a(0x180)](_0x38547a);_0x2e11c3[_0x35974a(0x17f)](_0x12d6e1)||_0x2e11c3[_0x35974a(0x181)](_0x12d6e1,[]),_0x2e11c3[_0x35974a(0x186)](_0x12d6e1)[_0x35974a(0x16d)](_0x38547a);}}if(_0x35974a(0x177)===_0x194b18[_0x35974a(0x170)]&&_0x194b18[_0x35974a(0x161)]===this[_0x35974a(0x174)]){const _0x3fd3fa=this[_0x35974a(0x180)]({'getAttribute':_0x10bcb6=>_0x194b18[_0x35974a(0x189)][_0x35974a(0x186)](_0x10bcb6)});_0x5e69d0[_0x35974a(0x162)](_0x3fd3fa);}}for(const [_0x49736a,_0x578ca3]of this[_0x35974a(0x175)])_0x35974a(0x17c)===_0x578ca3[_0x35974a(0x176)][_0x35974a(0x179)]&&_0x5e69d0[_0x35974a(0x162)](_0x49736a);for(const _0x44ded8 of _0x5e69d0)this[_0x35974a(0x175)][_0x35974a(0x171)](_0x44ded8);for(const [_0x25caad,_0xe28e30]of _0x2e11c3)this[_0x35974a(0x175)][_0x35974a(0x181)](_0x25caad,_0xe28e30[_0xe28e30[_0x35974a(0x17e)]-0x1]);const _0x4c3ce0=new Set();for(const [_0x2a6208,_0x3b6d16]of _0x2e11c3)_0x5e69d0[_0x35974a(0x17f)](_0x2a6208)&&(_0x4c3ce0[_0x35974a(0x162)](_0x3b6d16[0x0]),_0x3b6d16[_0x35974a(0x17e)]>0x1?_0x2e11c3[_0x35974a(0x181)](_0x2a6208,_0x3b6d16[_0x35974a(0x167)](0x1)):_0x2e11c3[_0x35974a(0x171)](_0x2a6208),_0x5e69d0[_0x35974a(0x171)](_0x2a6208));return{'removed':Array[_0x35974a(0x184)](_0x5e69d0),'inserted':Array[_0x35974a(0x184)](_0x2e11c3[_0x35974a(0x173)]())[_0x35974a(0x164)](),'moved':Array[_0x35974a(0x184)](_0x4c3ce0)};}}
23
+ function _0x111e(_0x266f06,_0x44270f){const _0x4134f8=_0x4134();return _0x111e=function(_0x111e44,_0x5d3c53){_0x111e44=_0x111e44-0x15b;let _0x4f85c2=_0x4134f8[_0x111e44];return _0x4f85c2;},_0x111e(_0x266f06,_0x44270f);}const _0x5c2660=_0x111e;function _0x4134(){const _0x2da64c=['add','delete','3342qAODIW','name','get','6429jBKEmY','1089315CAUIBQ','394yPgTmS','_trackedElements','from','values','1820742cEzUuD','$graveyard','_model','reset','84485loxulI','_getElementKey','length','type','clear','1910292fBBots','getChanges','50IXNNoB','has','createRangeOn','push','element','56hGAxQu','flat','rootName','root','elementName','_elementName','set','$text','getElementKey','slice','position','473788QcUrqg','430vntlia','attributes','nodeAfter','getItems','insert','remove'];_0x4134=function(){return _0x2da64c;};return _0x4134();}(function(_0x29b36d,_0x8b6d40){const _0x36ce75=_0x111e,_0x1222e8=_0x29b36d();while(!![]){try{const _0x7a2481=-parseInt(_0x36ce75(0x17b))/0x1+parseInt(_0x36ce75(0x173))/0x2*(-parseInt(_0x36ce75(0x171))/0x3)+-parseInt(_0x36ce75(0x180))/0x4+parseInt(_0x36ce75(0x166))/0x5*(parseInt(_0x36ce75(0x16e))/0x6)+parseInt(_0x36ce75(0x165))/0x7*(parseInt(_0x36ce75(0x187))/0x8)+parseInt(_0x36ce75(0x172))/0x9*(parseInt(_0x36ce75(0x182))/0xa)+parseInt(_0x36ce75(0x177))/0xb;if(_0x7a2481===_0x8b6d40)break;else _0x1222e8['push'](_0x1222e8['shift']());}catch(_0x2bd89a){_0x1222e8['push'](_0x1222e8['shift']());}}}(_0x4134,0x4b3be));export class ModelElementTracker{[_0x5c2660(0x179)];[_0x5c2660(0x15f)];[_0x5c2660(0x17c)];[_0x5c2660(0x174)]=new Map();constructor(_0xf4fcd8,_0x16504d){const _0x4e6094=_0x5c2660;this[_0x4e6094(0x179)]=_0xf4fcd8,this[_0x4e6094(0x15f)]=_0x16504d[_0x4e6094(0x15e)],this[_0x4e6094(0x17c)]=_0x16504d[_0x4e6094(0x162)];}[_0x5c2660(0x17a)](){const _0x3f9dd0=_0x5c2660;this[_0x3f9dd0(0x174)][_0x3f9dd0(0x17f)]();}[_0x5c2660(0x181)](_0x549572){const _0x104084=_0x5c2660,_0x2840df=new Set(),_0x54bd01=new Map();for(const _0x578095 of _0x549572){if(_0x104084(0x16a)===_0x578095[_0x104084(0x17e)]&&_0x104084(0x161)!==_0x578095[_0x104084(0x16f)]&&_0x578095[_0x104084(0x164)][_0x104084(0x168)]){const _0x1e45d6=this[_0x104084(0x179)][_0x104084(0x184)](_0x578095[_0x104084(0x164)][_0x104084(0x168)]);for(const _0x48c5a6 of _0x1e45d6[_0x104084(0x169)]()){if(!_0x48c5a6['is'](_0x104084(0x186),this[_0x104084(0x15f)]))continue;const _0x18878b=this[_0x104084(0x17c)](_0x48c5a6);_0x54bd01[_0x104084(0x183)](_0x18878b)||_0x54bd01[_0x104084(0x160)](_0x18878b,[]),_0x54bd01[_0x104084(0x170)](_0x18878b)[_0x104084(0x185)](_0x48c5a6);}}if(_0x104084(0x16b)===_0x578095[_0x104084(0x17e)]&&_0x578095[_0x104084(0x16f)]===this[_0x104084(0x15f)]){const _0x3e5906=this[_0x104084(0x17c)]({'getAttribute':_0x144e3b=>_0x578095[_0x104084(0x167)][_0x104084(0x170)](_0x144e3b)});_0x2840df[_0x104084(0x16c)](_0x3e5906);}}for(const [_0x300059,_0x3a1b3c]of this[_0x104084(0x174)])_0x104084(0x178)===_0x3a1b3c[_0x104084(0x15d)][_0x104084(0x15c)]&&_0x2840df[_0x104084(0x16c)](_0x300059);for(const _0x431b5a of _0x2840df)this[_0x104084(0x174)][_0x104084(0x16d)](_0x431b5a);for(const [_0x52cf52,_0x22b021]of _0x54bd01)this[_0x104084(0x174)][_0x104084(0x160)](_0x52cf52,_0x22b021[_0x22b021[_0x104084(0x17d)]-0x1]);const _0x5971cb=new Set();for(const [_0x3dd938,_0x3017d2]of _0x54bd01)_0x2840df[_0x104084(0x183)](_0x3dd938)&&(_0x5971cb[_0x104084(0x16c)](_0x3017d2[0x0]),_0x3017d2[_0x104084(0x17d)]>0x1?_0x54bd01[_0x104084(0x160)](_0x3dd938,_0x3017d2[_0x104084(0x163)](0x1)):_0x54bd01[_0x104084(0x16d)](_0x3dd938),_0x2840df[_0x104084(0x16d)](_0x3dd938));return{'removed':Array[_0x104084(0x175)](_0x2840df),'inserted':Array[_0x104084(0x175)](_0x54bd01[_0x104084(0x176)]())[_0x104084(0x15b)](),'moved':Array[_0x104084(0x175)](_0x5971cb)};}}