@ckeditor/ckeditor5-footnotes 47.7.1 → 47.7.2-alpha.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 _0x50fe79}from'ckeditor5/src/core.js';import{isWidget as _0x5af9b0,toWidget as _0x287332,toWidgetEditable as _0x19936c}from'ckeditor5/src/widget.js';import{uid as _0x19fbe8}from'ckeditor5/src/utils.js';import{PointerObserver as _0x55eab6,ClickObserver as _0x5581ee}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0xb3c977}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x46700e}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x50fe79{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0xb3c977];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f0db6}=this;_0x4f0db6['config']['define']('footnotes.multiBlock',!0x0),_0x4f0db6['commands']['add']('insertFootnote',new _0x46700e(_0x4f0db6)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4e5018){const _0x15f068=_0x954931([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]),_0x198e49=0x47a28506,_0x514548=0x47a50d16^_0x198e49,_0x1272c2=window[_0x954931([0x44,0x61,0x74,0x65])][_0x954931([0x6e,0x6f,0x77])](),_0xbf8fc7=_0x4e5018[_0x954931([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47e7db=new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a74a9=>{_0xbf8fc7[_0x954931([0x6f,0x6e,0x63,0x65])](_0x954931([0x72,0x65,0x61,0x64,0x79]),_0x3a74a9);}),_0xd95cf7={[_0x954931([0x6b,0x74,0x79])]:_0x954931([0x45,0x43]),[_0x954931([0x75,0x73,0x65])]:_0x954931([0x73,0x69,0x67]),[_0x954931([0x63,0x72,0x76])]:_0x954931([0x50,0x2d,0x32,0x35,0x36]),[_0x954931([0x78])]:_0x954931([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]),[_0x954931([0x79])]:_0x954931([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]),[_0x954931([0x61,0x6c,0x67])]:_0x954931([0x45,0x53,0x32,0x35,0x36])},_0x35753b=_0xbf8fc7[_0x954931([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x954931([0x67,0x65,0x74])](_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x201c6b(){let _0x5e9575,_0x25fdf0=null,_0x10d66c=null;try{if(_0x35753b==_0x954931([0x47,0x50,0x4c]))return _0x954931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e9575=_0x500779(),!_0x5e9575)return _0x954931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e9575[_0x954931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10d66c=_0x3db2ae(_0x5e9575[_0x954931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e9575[_0x954931([0x6a,0x74,0x69])])),await _0xe64974()?_0x5ef229()?_0x5f5a94()?_0x954931([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d6cf8()?(_0x5e9575[_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x954931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x25fdf0=_0x559f3a(_0x954931([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x114b49()):_0x954931([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x954931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x954931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x954931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f5a94(){const _0x28295e=[_0x954931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x954931([0x74,0x72,0x69,0x61,0x6c])][_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e9575[_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1272c2/0x3e8:0xe10*_0x514548;return _0x5e9575[_0x954931([0x65,0x78,0x70])]<_0x28295e;}function _0x5ef229(){const _0x5892e4=_0x5e9575[_0x954931([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5892e4&&(!!_0x5892e4[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954931([0x2a]))||!!_0x5892e4[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954931([0x46,0x4f,0x4f])));}function _0x4d6cf8(){const _0x58b2ee=_0x5e9575[_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58b2ee||0x0==_0x58b2ee[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x227f58}=new URL(window[_0x954931([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58b2ee[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x227f58))return!0x0;const _0x34a6f4=_0x227f58[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e]));return _0x58b2ee[_0x954931([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17f6e9=>_0x17f6e9[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954931([0x2a])))[_0x954931([0x6d,0x61,0x70])](_0x1cccfd=>_0x1cccfd[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e])))[_0x954931([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4668f3=>_0x4668f3[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34a6f4[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x954931([0x6d,0x61,0x70])](_0x44e560=>Array(_0x34a6f4[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44e560[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x954931([0x66,0x69,0x6c,0x6c])](_0x44e560[0x0]===_0x954931([0x2a])?_0x954931([0x2a]):'')[_0x954931([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44e560))[_0x954931([0x73,0x6f,0x6d,0x65])](_0x133adc=>_0x34a6f4[_0x954931([0x65,0x76,0x65,0x72,0x79])]((_0x3d671b,_0x12e348)=>_0x133adc[_0x12e348]===_0x3d671b||_0x133adc[_0x12e348]===_0x954931([0x2a])));}function _0x114b49(){return _0x25fdf0&&_0x10d66c?new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3309b5,_0x3f05e6)=>{_0x25fdf0[_0x954931([0x74,0x68,0x65,0x6e])](_0x3309b5,_0x3f05e6),_0x10d66c[_0x954931([0x74,0x68,0x65,0x6e])](_0xf0b2db=>{_0xf0b2db!=_0x954931([0x56,0x61,0x6c,0x69,0x64])&&_0x3309b5(_0xf0b2db);},_0x3f05e6);}):_0x25fdf0||_0x10d66c||_0x954931([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3db2ae(_0x399ee7,_0x1d8e5b){return new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c0d7b=>{if(_0x400ef5())return _0x2c0d7b(_0x954931([0x56,0x61,0x6c,0x69,0x64]));_0x41618b(),_0xbf8fc7[_0x954931([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x954931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37413d=!0x1;const _0x40d5dd=_0x19fbe8();function _0x564fbd(_0x208099){return!!_0x208099&&(typeof _0x208099===_0x954931([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x208099===_0x954931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x208099[_0x954931([0x74,0x68,0x65,0x6e])]===_0x954931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x208099[_0x954931([0x63,0x61,0x74,0x63,0x68])]===_0x954931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4dc751(_0x626707){_0x163535(_0x626707)[_0x954931([0x74,0x68,0x65,0x6e])](_0x3f5adf=>{if(!_0x3f5adf||_0x3f5adf[_0x954931([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x954931([0x6f,0x6b]))return _0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d1af6(_0x4c888a(_0x40d5dd+_0x1d8e5b))!=_0x3f5adf[_0x954931([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x954931([0x56,0x61,0x6c,0x69,0x64]);})[_0x954931([0x74,0x68,0x65,0x6e])](_0x45cfbf=>(_0x31f531(),_0x45cfbf),()=>{const _0x25c17f=_0x34c1f4();return null==_0x25c17f?(_0x31f531(),_0x954931([0x56,0x61,0x6c,0x69,0x64])):_0x954931(_0x1272c2-_0x25c17f>(0x63ae0106^_0x198e49)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x954931([0x74,0x68,0x65,0x6e])](_0x2c0d7b)[_0x954931([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c0d7b(_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5808e7=0x47946b86^_0x198e49;function _0x31f531(){const _0x523835=_0x954931([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d1af6(_0x4c888a(_0x399ee7)),_0x19236a=_0x38d3ef(_0x2d1af6(window[_0x954931([0x4d,0x61,0x74,0x68])][_0x954931([0x63,0x65,0x69,0x6c])](_0x1272c2/_0x5808e7)));window[_0x954931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x954931([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x523835,_0x19236a);}function _0x34c1f4(){const _0x541c1a=_0x954931([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d1af6(_0x4c888a(_0x399ee7)),_0x59ba12=window[_0x954931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x954931([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x541c1a);return _0x59ba12?window[_0x954931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d3ef(_0x59ba12),0x10)*_0x5808e7:null;}function _0x163535(_0x2eeea9){return new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a40d7,_0x55bb95)=>{_0x2eeea9[_0x954931([0x74,0x68,0x65,0x6e])](_0x5a40d7,_0x55bb95),window[_0x954931([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55bb95,0x47a351c6^_0x198e49);});}}_0xbf8fc7[_0x954931([0x6f,0x6e])](_0x954931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e6c70,_0x4ebc91)=>{if(_0x4ebc91[0x0]!=_0x399ee7)return _0x2c0d7b(_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ebc91[0x1]={..._0x4ebc91[0x1],[_0x954931([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40d5dd};},{[_0x954931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x954931([0x68,0x69,0x67,0x68])}),_0xbf8fc7[_0x954931([0x6f,0x6e])](_0x954931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25a3e0=>{_0x564fbd(_0x25a3e0[_0x954931([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37413d=!0x0,_0x4dc751(_0x25a3e0[_0x954931([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x954931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x954931([0x6c,0x6f,0x77])}),_0x47e7db[_0x954931([0x74,0x68,0x65,0x6e])](()=>{_0x37413d||_0x2c0d7b(_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x400ef5(){return _0xbf8fc7[_0x954931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x954931([0x76,0x69,0x65,0x77])][_0x954931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x954931([0x61,0x75,0x74,0x6f]);}function _0x41618b(){_0xbf8fc7[_0x954931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x954931([0x76,0x69,0x65,0x77])][_0x954931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x954931([0x61,0x75,0x74,0x6f]);}}function _0x559f3a(_0x3e3d02){const _0x52ebd9=[new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x290654=>setTimeout(_0x290654,0x47abbbca^_0x198e49)),_0x47e7db[_0x954931([0x74,0x68,0x65,0x6e])](()=>new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5045c9=>{let _0x507307=0x0;_0xbf8fc7[_0x954931([0x6d,0x6f,0x64,0x65,0x6c])][_0x954931([0x6f,0x6e])](_0x954931([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30e81d,_0x3c0c9e)=>{_0x3c0c9e[0x0][_0x954931([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x507307++,_0x507307==(0x47a280ee^_0x198e49)&&(_0x5045c9(),_0x30e81d[_0x954931([0x6f,0x66,0x66])]());});}))];return window[_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x954931([0x72,0x61,0x63,0x65])](_0x52ebd9)[_0x954931([0x74,0x68,0x65,0x6e])](()=>_0x3e3d02);}async function _0xb132c(){await _0x47e7db,_0xbf8fc7[_0x954931([0x6d,0x6f,0x64,0x65,0x6c])][_0x954931([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2be7d0,_0xbf8fc7[_0x954931([0x6d,0x6f,0x64,0x65,0x6c])][_0x954931([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2be7d0,_0xbf8fc7[_0x954931([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x954931([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35e1b5(_0x1bf87c){const _0x57fad7=_0xc994aa();_0xbf8fc7[_0x57fad7]=_0x954931([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bf87c,_0x1bf87c!=_0x954931([0x56,0x61,0x6c,0x69,0x64])&&_0xb132c();}function _0xc994aa(){const _0x53f7df=window[_0x954931([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x954931([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x954931([0x6e,0x6f,0x77])]())[_0x954931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x954931([0x2e]),'');let _0x5b2202=_0x954931([0x75]);for(let _0x1838db=0x0;_0x1838db<_0x53f7df[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1838db+=0x2){let _0xb64f87=window[_0x954931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53f7df[_0x954931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1838db,_0x1838db+0x2));_0xb64f87>=_0x15f068[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb64f87-=_0x15f068[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b2202+=_0x15f068[_0xb64f87];}return _0x5b2202;}function _0x500779(){const _0x2766c2=_0x35753b[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e]));if(0x3!=_0x2766c2[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x281ead(_0x2766c2[0x1]);function _0x281ead(_0x38776a){const _0x41c6f3=_0x4b661c(_0x38776a);return _0x41c6f3&&_0x3b27b3()?_0x41c6f3:null;function _0x3b27b3(){const _0x3001f0=_0x41c6f3[_0x954931([0x6a,0x74,0x69])],_0xd9c4a7=window[_0x954931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3001f0[_0x954931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3001f0[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53bc28={..._0x41c6f3,[_0x954931([0x6a,0x74,0x69])]:_0x3001f0[_0x954931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3001f0[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53bc28[_0x954931([0x76,0x63])],_0x4c888a(_0x53bc28)==_0xd9c4a7;}}}async function _0xe64974(){let _0x45236a=!0x0;try{const _0x5e130b=_0x35753b[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e])),[_0x13b071,_0x475bb4,_0x1158fd]=_0x5e130b;return _0x9cc366(_0x13b071),await _0x5c2a94(_0x13b071,_0x475bb4,_0x1158fd),_0x45236a;}catch{return!0x1;}function _0x9cc366(_0x104ce4){const _0x2737de=_0x4b661c(_0x104ce4);_0x2737de&&_0x2737de[_0x954931([0x61,0x6c,0x67])]==_0x954931([0x45,0x53,0x32,0x35,0x36])||(_0x45236a=!0x1);}async function _0x5c2a94(_0x187de1,_0x464e1f,_0x57df7c){const _0x22830e=window[_0x954931([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x954931([0x66,0x72,0x6f,0x6d])](_0x2e29ff(_0x57df7c),_0x556ac9=>_0x556ac9[_0x954931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1637e8=new window[(_0x954931([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x954931([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x187de1+_0x954931([0x2e])+_0x464e1f),_0x37c62a=window[_0x954931([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x954931([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37c62a)return;const _0x49512d=await _0x37c62a[_0x954931([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x954931([0x6a,0x77,0x6b]),_0xd95cf7,{[_0x954931([0x6e,0x61,0x6d,0x65])]:_0x954931([0x45,0x43,0x44,0x53,0x41]),[_0x954931([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x954931([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x954931([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37c62a[_0x954931([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x954931([0x6e,0x61,0x6d,0x65])]:_0x954931([0x45,0x43,0x44,0x53,0x41]),[_0x954931([0x68,0x61,0x73,0x68])]:{[_0x954931([0x6e,0x61,0x6d,0x65])]:_0x954931([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49512d,_0x22830e,_0x1637e8)||(_0x45236a=!0x1);}}function _0x4b661c(_0x25fca3){return _0x25fca3[_0x954931([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x954931([0x65,0x79]))?JSON[_0x954931([0x70,0x61,0x72,0x73,0x65])](_0x2e29ff(_0x25fca3)):null;}function _0x2e29ff(_0x25f584){return window[_0x954931([0x61,0x74,0x6f,0x62])](_0x25f584[_0x954931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x954931([0x2b]))[_0x954931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x954931([0x2f])));}function _0x4c888a(_0x17b6f){let _0x44adf9=0x1505;function _0x2ef1b8(_0x2fd69f){for(let _0x397e8c=0x0;_0x397e8c<_0x2fd69f[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x397e8c++){const _0x2db069=_0x2fd69f[_0x954931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x397e8c);_0x44adf9=(_0x44adf9<<0x5)+_0x44adf9+_0x2db069,_0x44adf9&=_0x44adf9;}}function _0xbb2f87(_0x1ba240){Array[_0x954931([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ba240)?_0x1ba240[_0x954931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbb2f87):_0x1ba240&&typeof _0x1ba240==_0x954931([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x954931([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ba240)[_0x954931([0x73,0x6f,0x72,0x74])]()[_0x954931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a84ac,_0x28f71d])=>{_0x2ef1b8(_0x4a84ac),_0xbb2f87(_0x28f71d);}):_0x2ef1b8(window[_0x954931([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ba240));}return _0xbb2f87(_0x17b6f),_0x44adf9>>>0x0;}function _0x2d1af6(_0x1ccc42){return _0x1ccc42[_0x954931([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x954931([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x954931([0x30]));}function _0x38d3ef(_0x484017){return _0x484017[_0x954931([0x73,0x70,0x6c,0x69,0x74])]('')[_0x954931([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x954931([0x6a,0x6f,0x69,0x6e])]('');}function _0x2be7d0(){}function _0x954931(_0x32661b){return _0x32661b['map'](_0x258e41=>String['fromCharCode'](_0x258e41))['join']('');}_0x35e1b5(await _0x201c6b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x17f916){const {plugins:_0x402b78,editing:_0x2541be,model:_0x8a0686}=this['editor'],_0x1be62a=_0x402b78['get'](_0xb3c977)['getFootnote'](_0x17f916);return!!_0x1be62a&&(_0x8a0686['change'](_0x30c51d=>{_0x30c51d['setSelection'](_0x30c51d['createPositionAt'](_0x1be62a['definition'],'end'));}),_0x2541be['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2b3495){const {plugins:_0x448b21,editing:_0x1e49dc,model:_0x20667d}=this['editor'],_0x201ad=_0x448b21['get'](_0xb3c977)['getFootnote'](_0x2b3495);return!!_0x201ad&&(_0x20667d['change'](_0x6aecd1=>{_0x6aecd1['setSelection'](_0x201ad['reference'],'on');}),_0x1e49dc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x487a89}=this['editor']['model'],_0x3208ec=this['editor']['config']['get']('footnotes.multiBlock');_0x487a89['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x487a89['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x487a89['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3208ec?_0x487a89['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x487a89['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x487a89['addChildCheck'](_0x56927f=>{for(const _0x454225 of _0x56927f)if('footnoteDefinition'===_0x454225['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x42f171}=this,{conversion:_0x1ad81e,editing:_0x40bd60}=_0x42f171,{t:t}=_0x42f171['locale'];_0x1ad81e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x34453b,{writer:_0x31c3bd,consumable:_0x210e34})=>{const _0x63a7d=_0x34453b['getChild'](0x0);if(!_0x63a7d||!_0x63a7d['is']('element','a'))return null;const _0x5e087f=_0x63a7d['getAttribute']('href')||'';if(!_0x5e087f['startsWith']('#'))return null;const _0x406e54=_0x5e087f['replace'](/^#/,'');if(!_0x406e54)return null;_0x210e34['consume'](_0x63a7d,{'name':!0x0,'attributes':['href']});for(const {item:_0x33bad4}of _0x40bd60['view']['createRangeIn'](_0x63a7d))_0x33bad4['is']('$textProxy')?_0x210e34['consume'](_0x33bad4['textNode'],{'name':!0x0}):_0x33bad4['is']('element')&&_0x210e34['consume'](_0x33bad4,{'name':!0x0});return _0x31c3bd['createElement']('footnoteRef',{'footnoteId':_0x406e54});}}),_0x1ad81e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x241346,{writer:_0x58ebbe})=>b(_0x241346,_0x58ebbe)}),_0x1ad81e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x76ddf2,{writer:_0x5478ae})=>{const _0x1fceb7=_0x76ddf2['getAttribute']('footnoteCounter');return _0x287332(b(_0x76ddf2,_0x5478ae),_0x5478ae,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1fceb7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c1457}=this,{t:t}=_0x5c1457['locale'],{conversion:_0x4fe17f}=_0x5c1457;_0x4fe17f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4fe17f['for']('upcast')['add'](_0x930a12=>{_0x930a12['on']('element:ol',(_0x15d4c8,_0x35ade0,_0x182351)=>{const _0x254b1f=_0x35ade0['viewItem'];if(!_0x254b1f['hasClass']('footnotes-list')||!_0x35ade0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x182351['consumable']['consume'](_0x254b1f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4e259a,modelCursor:_0x3cdd74}=_0x182351['convertChildren'](_0x35ade0['viewItem'],_0x35ade0['modelCursor']);_0x35ade0['modelRange']=_0x4e259a,_0x35ade0['modelCursor']=_0x3cdd74;}),_0x930a12['on']('element:hr',(_0x1fecd4,_0x2bf16f,_0xbf7be0)=>{const _0x521afb=_0x2bf16f['viewItem'];_0x521afb['hasClass']('footnotes-divider')&&_0x2bf16f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xbf7be0['consumable']['consume'](_0x521afb,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4fe17f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4eee86,{writer:_0x3d4cb6})=>D(_0x3d4cb6)}),_0x4fe17f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x594ac0,{writer:_0x186808})=>{const _0x3d83ce=D(_0x186808,{'data-footnotes-list-label':t('Footnotes')}),_0x6c513=_0x287332(_0x3d83ce,_0x186808,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x186808['setCustomProperty']('footnotesDefinitions',!0x0,_0x6c513),_0x6c513;}});}['_defineDefinitionConverters'](){const {editor:_0x7b3208}=this,{conversion:_0xd0dd6c,locale:_0x270214}=_0x7b3208,_0x44cc37=_0x7b3208['config']['get']('footnotes.multiBlock');_0xd0dd6c['for']('upcast')['add'](_0x5c2200=>{_0x5c2200['on']('element:li',(_0x3257fd,_0x2780eb,_0x46ab3e)=>{const _0x45fc37=_0x2780eb['viewItem'];if(!_0x45fc37['hasClass']('footnote-definition')||!_0x45fc37['getAttribute']('id'))return;const _0x5496cb=_0x45fc37['parent'];if(!_0x5496cb['is']('element','ol')||!_0x5496cb['hasClass']('footnotes-list'))return;if(!_0x46ab3e['consumable']['test'](_0x45fc37,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x47301d=_0x46ab3e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x45fc37['getAttribute']('id')});if(!_0x46ab3e['safeInsert'](_0x47301d,_0x2780eb['modelCursor']))return;_0x46ab3e['consumable']['consume'](_0x45fc37,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2a72cd=Array['from'](_0x45fc37['getChildren']())['find'](_0x3ce60e=>_0x3ce60e['is']('element')&&_0x3ce60e['hasClass']('footnote-content'));for(const _0x966d69 of _0x45fc37['getChildren']())_0x966d69['is']('element')&&(_0x46ab3e['consumable']['consume'](_0x966d69,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x46ab3e['consumable']['consume'](_0x966d69,{'name':!0x0,'classes':'footnote-content'}));if(_0x2a72cd){if(_0x44cc37)_0x46ab3e['convertChildren'](_0x2a72cd,_0x47301d);else{const _0x327160=_0x46ab3e['writer']['createElement']('footnoteInlineContent');_0x46ab3e['writer']['insert'](_0x327160,_0x47301d),_0x46ab3e['convertChildren'](_0x2a72cd,_0x327160);}}_0x46ab3e['updateConversionResult'](_0x47301d,_0x2780eb);});}),_0xd0dd6c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3542f8,{writer:_0x3e02fc})=>y(_0x3542f8,_0x3e02fc,_0x270214,{'dataPipeline':!0x0})}),_0xd0dd6c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x8e1906,{writer:_0x25b2c5})=>y(_0x8e1906,_0x25b2c5,_0x270214)});}['_defineBogusParagraphConverters'](){const {editor:_0x48286c}=this,{conversion:_0x46e95a}=_0x48286c;_0x48286c['config']['get']('footnotes.multiBlock')?(_0x46e95a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x46e95a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x48286c['model']['document'],'change:data',()=>{!function(_0x20b616,_0x11db1b){const _0x1ed723=_0x20b616['document']['differ'],_0x476440=new Set();for(const _0x51ada2 of _0x1ed723['getChanges']()){const _0x174910='attribute'==_0x51ada2['type']?_0x51ada2['range']['start']['parent']:_0x51ada2['position']['parent'];_0x174910['is']('element','footnoteDefinition')&&_0x476440['add'](_0x174910);}for(const _0x3f5403 of _0x476440['values']()){const _0x4b0ded=Array['from'](_0x3f5403['getChildren']())['filter'](_0xa64ce3=>v(_0xa64ce3,_0x11db1b['mapper']));for(const _0x56f511 of _0x4b0ded)_0x11db1b['reconvertItem'](_0x56f511);}}(_0x48286c['model'],_0x48286c['editing']);})):(_0x46e95a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x46e95a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x254619,{writer:_0x2451dc})=>{const _0x50c093=_0x2451dc['createContainerElement']('span');return _0x2451dc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x50c093),_0x50c093;}}));}['_defineKeyboardHandlers'](){const {editor:_0x24d14f}=this,{editing:_0x3d62d5,t:t}=_0x24d14f,_0x2d0360=_0x24d14f['model']['document']['selection'];_0x24d14f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x24d14f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3d62d5['view']['document'],'enter',(_0x588baa,_0x144638)=>{const _0x498887=function(_0x2bd55d){const _0x3b7024=_0x2bd55d['getSelectedElement']();if(_0x3b7024?.['is']('element','footnoteRef'))return _0x3b7024;return null;}(_0x2d0360);if(_0x498887){const _0x3600af=_0x498887['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3600af),_0x144638['preventDefault'](),_0x588baa['stop']();}},{'context':_0x5af9b0});}['_defineClickHandlers'](){const {editor:_0x17da83}=this,{editing:_0x159643}=_0x17da83;_0x17da83['editing']['view']['addObserver'](_0x55eab6),_0x17da83['editing']['view']['addObserver'](_0x5581ee);let _0x1bd9e1=!0x1;this['listenTo'](_0x159643['view']['document'],'pointerdown',(_0x40d512,_0x58ac5c)=>{const {target:_0x3ccd7f}=_0x58ac5c,_0x91428c=_0x159643['view']['document']['selection'];_0x1bd9e1=!!(_0x3ccd7f?.['is']('element','a')&&_0x3ccd7f['parent']?.['is']('element','sup')&&_0x3ccd7f['parent']['hasClass']('footnote'))&&_0x91428c['getSelectedElement']()===_0x3ccd7f['parent'];},{'priority':'high'}),this['listenTo'](_0x159643['view']['document'],'click',(_0x3de4c5,_0x31a23d)=>{const {target:_0x1bf4c4}=_0x31a23d;if(!_0x1bf4c4?.['is']('element','a'))return;if(_0x1bf4c4['parent']?.['is']('element','sup')&&_0x1bf4c4['parent']['hasClass']('footnote')&&!_0x1bd9e1)return void _0x31a23d['preventDefault']();let _0x453625=_0x1bf4c4['getAttribute']('href');if(!_0x453625?.['startsWith']('#'))return;_0x453625=_0x453625['slice'](0x1);let _0x350059=!0x1;(_0x453625['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x453625['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x453625))&&(_0x350059=!0x0),_0x350059&&(_0x31a23d['preventDefault'](),_0x3de4c5['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3fc880}={}){return(_0x2b352b,{writer:_0x8ca183})=>{if(!g(_0x2b352b))return null;if(!_0x3fc880)return _0x8ca183['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x11f8e2=_0x8ca183['createContainerElement']('p');return _0x8ca183['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11f8e2),_0x11f8e2;};}function g(_0x391777){const {parent:_0xaba718}=_0x391777;if(!_0xaba718?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xaba718['childCount'])return!0x1;for(const _0x29d993 of _0x391777['getAttributeKeys']())if(!_0x29d993['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x29d993)return!0x1;return!0x0;}function v(_0x20ab13,_0x26bd3b){if(!_0x20ab13['is']('element','paragraph'))return!0x1;const _0x40c0a6=_0x26bd3b['toViewElement'](_0x20ab13);return!!_0x40c0a6&&g(_0x20ab13)!==_0x40c0a6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xe1fdd7){return _0x5af9b0(_0xe1fdd7)&&_0xe1fdd7['is']('containerElement')&&!!_0xe1fdd7['getCustomProperty']('footnotesDefinitions');}function D(_0x56a95f,_0x56e54b={}){const _0x2c6a9f=_0x56a95f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x504185=_0x56a95f['createContainerElement']('ol',{'class':'footnotes-list'},_0x56a95f['createSlot']());return _0x56a95f['createContainerElement']('div',{'class':'footnotes',..._0x56e54b},[_0x2c6a9f,_0x504185]);}function b(_0x343e22,_0x37f24d){const _0x3e6dd9=_0x343e22['getAttribute']('footnoteId'),_0xd891f8=_0x343e22['getAttribute']('footnoteCounter'),_0x2b9fdf=_0x37f24d['createUIElement']('a',{'href':'#'+_0x3e6dd9},function(_0x456d7a){const _0x432221=this['toDomElement'](_0x456d7a);return _0x432221['textContent']=_0xd891f8,_0x432221;}),_0x3bb994=_0x37f24d['createContainerElement']('sup',{'id':'ref-'+_0x3e6dd9,'class':'footnote'},[_0x2b9fdf]);return _0x3bb994['getFillerOffset']=()=>null,_0x3bb994;}function y(_0x125640,_0x4b51ca,_0x5d0e33,{dataPipeline:_0x769c8e}={}){const {t:t}=_0x5d0e33,_0x19e40b=_0x125640['getAttribute']('footnoteId'),_0x50b074=_0x4b51ca['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x19e40b},function(_0x35f02b){const _0x270b9b=this['toDomElement'](_0x35f02b);return _0x270b9b['innerText']='^',_0x270b9b;}),_0x2be4b1=_0x769c8e?_0x4b51ca['createContainerElement']('div',{'class':'footnote-content'}):_0x19936c(_0x4b51ca['createEditableElement']('div',{'class':'footnote-content'}),_0x4b51ca,{'label':t('Footnote\x20content.')});return _0x4b51ca['insert'](_0x4b51ca['createPositionAt'](_0x2be4b1,0x0),_0x4b51ca['createSlot']()),_0x4b51ca['createContainerElement']('li',{'class':'footnote-definition','id':_0x19e40b},[_0x50b074,_0x2be4b1]);}
23
+ import{Plugin as _0x31d412}from'ckeditor5/src/core.js';import{isWidget as _0x211e94,toWidget as _0x8a5f9b,toWidgetEditable as _0xa188de}from'ckeditor5/src/widget.js';import{uid as _0xcfb3f8}from'ckeditor5/src/utils.js';import{PointerObserver as _0xbfc670,ClickObserver as _0x45ffb7}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x5ccc84}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x107a5d}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x31d412{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x5ccc84];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4639cd}=this;_0x4639cd['config']['define']('footnotes.multiBlock',!0x0),_0x4639cd['commands']['add']('insertFootnote',new _0x107a5d(_0x4639cd)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x20f173){const _0x5ba431=_0xe98dd8([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]),_0x3ddd68=0x47a28506,_0x1a8603=0x47a50f26^_0x3ddd68,_0x34d816=window[_0xe98dd8([0x44,0x61,0x74,0x65])][_0xe98dd8([0x6e,0x6f,0x77])](),_0x28be49=_0x20f173[_0xe98dd8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1936fa=new window[(_0xe98dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x517a73=>{_0x28be49[_0xe98dd8([0x6f,0x6e,0x63,0x65])](_0xe98dd8([0x72,0x65,0x61,0x64,0x79]),_0x517a73);}),_0x22669d={[_0xe98dd8([0x6b,0x74,0x79])]:_0xe98dd8([0x45,0x43]),[_0xe98dd8([0x75,0x73,0x65])]:_0xe98dd8([0x73,0x69,0x67]),[_0xe98dd8([0x63,0x72,0x76])]:_0xe98dd8([0x50,0x2d,0x32,0x35,0x36]),[_0xe98dd8([0x78])]:_0xe98dd8([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]),[_0xe98dd8([0x79])]:_0xe98dd8([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]),[_0xe98dd8([0x61,0x6c,0x67])]:_0xe98dd8([0x45,0x53,0x32,0x35,0x36])},_0x5d7312=_0x28be49[_0xe98dd8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe98dd8([0x67,0x65,0x74])](_0xe98dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xb260a8(){let _0x56228a,_0x46ac19=null,_0xc4af43=null;try{if(_0x5d7312==_0xe98dd8([0x47,0x50,0x4c]))return _0xe98dd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56228a=_0xa09db(),!_0x56228a)return _0xe98dd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56228a[_0xe98dd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc4af43=_0x2c5e81(_0x56228a[_0xe98dd8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56228a[_0xe98dd8([0x6a,0x74,0x69])])),await _0x3b63f5()?_0x5cd56c()?_0x25017e()?_0xe98dd8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50f248()?(_0x56228a[_0xe98dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe98dd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46ac19=_0x10f26f(_0xe98dd8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x331d75()):_0xe98dd8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe98dd8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe98dd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe98dd8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25017e(){const _0x26b7c2=[_0xe98dd8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe98dd8([0x74,0x72,0x69,0x61,0x6c])][_0xe98dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56228a[_0xe98dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34d816/0x3e8:0xe10*_0x1a8603;return _0x56228a[_0xe98dd8([0x65,0x78,0x70])]<_0x26b7c2;}function _0x5cd56c(){const _0x530a92=_0x56228a[_0xe98dd8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x530a92&&(!!_0x530a92[_0xe98dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe98dd8([0x2a]))||!!_0x530a92[_0xe98dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe98dd8([0x46,0x4f,0x4f])));}function _0x50f248(){const _0x2d0e12=_0x56228a[_0xe98dd8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2d0e12||0x0==_0x2d0e12[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30f8e7}=new URL(window[_0xe98dd8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2d0e12[_0xe98dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30f8e7))return!0x0;const _0x345fd0=_0x30f8e7[_0xe98dd8([0x73,0x70,0x6c,0x69,0x74])](_0xe98dd8([0x2e]));return _0x2d0e12[_0xe98dd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c779a=>_0x2c779a[_0xe98dd8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe98dd8([0x2a])))[_0xe98dd8([0x6d,0x61,0x70])](_0x4b6a02=>_0x4b6a02[_0xe98dd8([0x73,0x70,0x6c,0x69,0x74])](_0xe98dd8([0x2e])))[_0xe98dd8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36a437=>_0x36a437[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x345fd0[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe98dd8([0x6d,0x61,0x70])](_0x190f58=>Array(_0x345fd0[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x190f58[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe98dd8([0x66,0x69,0x6c,0x6c])](_0x190f58[0x0]===_0xe98dd8([0x2a])?_0xe98dd8([0x2a]):'')[_0xe98dd8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x190f58))[_0xe98dd8([0x73,0x6f,0x6d,0x65])](_0x187b55=>_0x345fd0[_0xe98dd8([0x65,0x76,0x65,0x72,0x79])]((_0x586c1f,_0xf5024a)=>_0x187b55[_0xf5024a]===_0x586c1f||_0x187b55[_0xf5024a]===_0xe98dd8([0x2a])));}function _0x331d75(){return _0x46ac19&&_0xc4af43?new window[(_0xe98dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x355d58,_0x5de262)=>{_0x46ac19[_0xe98dd8([0x74,0x68,0x65,0x6e])](_0x355d58,_0x5de262),_0xc4af43[_0xe98dd8([0x74,0x68,0x65,0x6e])](_0x202eb4=>{_0x202eb4!=_0xe98dd8([0x56,0x61,0x6c,0x69,0x64])&&_0x355d58(_0x202eb4);},_0x5de262);}):_0x46ac19||_0xc4af43||_0xe98dd8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2c5e81(_0x276c16,_0x32378a){return new window[(_0xe98dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10496a=>{if(_0x6ef80d())return _0x10496a(_0xe98dd8([0x56,0x61,0x6c,0x69,0x64]));_0x429fa2(),_0x28be49[_0xe98dd8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe98dd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b9c5d=!0x1;const _0x34c39f=_0xcfb3f8();function _0x5c9c7a(_0x5e6efb){return!!_0x5e6efb&&(typeof _0x5e6efb===_0xe98dd8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5e6efb===_0xe98dd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5e6efb[_0xe98dd8([0x74,0x68,0x65,0x6e])]===_0xe98dd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5e6efb[_0xe98dd8([0x63,0x61,0x74,0x63,0x68])]===_0xe98dd8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17a5de(_0x23594d){_0x433ee1(_0x23594d)[_0xe98dd8([0x74,0x68,0x65,0x6e])](_0x2e9245=>{if(!_0x2e9245||_0x2e9245[_0xe98dd8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe98dd8([0x6f,0x6b]))return _0xe98dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x514a73(_0x5173a0(_0x34c39f+_0x32378a))!=_0x2e9245[_0xe98dd8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe98dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe98dd8([0x56,0x61,0x6c,0x69,0x64]);})[_0xe98dd8([0x74,0x68,0x65,0x6e])](_0x40b55b=>(_0x2f4edb(),_0x40b55b),()=>{const _0x9b28f3=_0x2be965();return null==_0x9b28f3?(_0x2f4edb(),_0xe98dd8([0x56,0x61,0x6c,0x69,0x64])):_0xe98dd8(_0x34d816-_0x9b28f3>(0x63ae0106^_0x3ddd68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe98dd8([0x74,0x68,0x65,0x6e])](_0x10496a)[_0xe98dd8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10496a(_0xe98dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2f4cc1=0x47946b86^_0x3ddd68;function _0x2f4edb(){const _0x299529=_0xe98dd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x514a73(_0x5173a0(_0x276c16)),_0x4ddf41=_0x506a08(_0x514a73(window[_0xe98dd8([0x4d,0x61,0x74,0x68])][_0xe98dd8([0x63,0x65,0x69,0x6c])](_0x34d816/_0x2f4cc1)));window[_0xe98dd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe98dd8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x299529,_0x4ddf41);}function _0x2be965(){const _0x579fdb=_0xe98dd8([0x6c,0x6c,0x63,0x74,0x2d])+_0x514a73(_0x5173a0(_0x276c16)),_0x5355a9=window[_0xe98dd8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe98dd8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x579fdb);return _0x5355a9?window[_0xe98dd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506a08(_0x5355a9),0x10)*_0x2f4cc1:null;}function _0x433ee1(_0x5383f9){return new window[(_0xe98dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4722d1,_0x5be324)=>{_0x5383f9[_0xe98dd8([0x74,0x68,0x65,0x6e])](_0x4722d1,_0x5be324),window[_0xe98dd8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5be324,0x47a351c6^_0x3ddd68);});}}_0x28be49[_0xe98dd8([0x6f,0x6e])](_0xe98dd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc9f82f,_0x13c27f)=>{if(_0x13c27f[0x0]!=_0x276c16)return _0x10496a(_0xe98dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13c27f[0x1]={..._0x13c27f[0x1],[_0xe98dd8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x34c39f};},{[_0xe98dd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe98dd8([0x68,0x69,0x67,0x68])}),_0x28be49[_0xe98dd8([0x6f,0x6e])](_0xe98dd8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5e90e0=>{_0x5c9c7a(_0x5e90e0[_0xe98dd8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b9c5d=!0x0,_0x17a5de(_0x5e90e0[_0xe98dd8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe98dd8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe98dd8([0x6c,0x6f,0x77])}),_0x1936fa[_0xe98dd8([0x74,0x68,0x65,0x6e])](()=>{_0x3b9c5d||_0x10496a(_0xe98dd8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x6ef80d(){return _0x28be49[_0xe98dd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe98dd8([0x76,0x69,0x65,0x77])][_0xe98dd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe98dd8([0x61,0x75,0x74,0x6f]);}function _0x429fa2(){_0x28be49[_0xe98dd8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe98dd8([0x76,0x69,0x65,0x77])][_0xe98dd8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe98dd8([0x61,0x75,0x74,0x6f]);}}function _0x10f26f(_0xbbb19e){const _0x164ece=[new window[(_0xe98dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dffbe=>setTimeout(_0x5dffbe,0x47abbbca^_0x3ddd68)),_0x1936fa[_0xe98dd8([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe98dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ca938=>{let _0x3c2452=0x0;_0x28be49[_0xe98dd8([0x6d,0x6f,0x64,0x65,0x6c])][_0xe98dd8([0x6f,0x6e])](_0xe98dd8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a81da,_0x211a6e)=>{_0x211a6e[0x0][_0xe98dd8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c2452++,_0x3c2452==(0x47a280ee^_0x3ddd68)&&(_0x2ca938(),_0x1a81da[_0xe98dd8([0x6f,0x66,0x66])]());});}))];return window[_0xe98dd8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe98dd8([0x72,0x61,0x63,0x65])](_0x164ece)[_0xe98dd8([0x74,0x68,0x65,0x6e])](()=>_0xbbb19e);}async function _0x4f64e8(){await _0x1936fa,_0x28be49[_0xe98dd8([0x6d,0x6f,0x64,0x65,0x6c])][_0xe98dd8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48e70c,_0x28be49[_0xe98dd8([0x6d,0x6f,0x64,0x65,0x6c])][_0xe98dd8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48e70c,_0x28be49[_0xe98dd8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe98dd8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xa25000(_0x48263b){const _0x32ac10=_0x31dc65();_0x28be49[_0x32ac10]=_0xe98dd8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x48263b,_0x48263b!=_0xe98dd8([0x56,0x61,0x6c,0x69,0x64])&&_0x4f64e8();}function _0x31dc65(){const _0x222c5f=window[_0xe98dd8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe98dd8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe98dd8([0x6e,0x6f,0x77])]())[_0xe98dd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe98dd8([0x2e]),'');let _0x2c8514=_0xe98dd8([0x75]);for(let _0xec72db=0x0;_0xec72db<_0x222c5f[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xec72db+=0x2){let _0x426a4d=window[_0xe98dd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x222c5f[_0xe98dd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xec72db,_0xec72db+0x2));_0x426a4d>=_0x5ba431[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x426a4d-=_0x5ba431[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2c8514+=_0x5ba431[_0x426a4d];}return _0x2c8514;}function _0xa09db(){const _0x87b3d7=_0x5d7312[_0xe98dd8([0x73,0x70,0x6c,0x69,0x74])](_0xe98dd8([0x2e]));if(0x3!=_0x87b3d7[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x766c53(_0x87b3d7[0x1]);function _0x766c53(_0x59a0b8){const _0x5e6f35=_0x30bb99(_0x59a0b8);return _0x5e6f35&&_0x4f8381()?_0x5e6f35:null;function _0x4f8381(){const _0x3f3cc8=_0x5e6f35[_0xe98dd8([0x6a,0x74,0x69])],_0x58ffe0=window[_0xe98dd8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f3cc8[_0xe98dd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f3cc8[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40c181={..._0x5e6f35,[_0xe98dd8([0x6a,0x74,0x69])]:_0x3f3cc8[_0xe98dd8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f3cc8[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40c181[_0xe98dd8([0x76,0x63])],_0x5173a0(_0x40c181)==_0x58ffe0;}}}async function _0x3b63f5(){let _0x56de44=!0x0;try{const _0x236c2b=_0x5d7312[_0xe98dd8([0x73,0x70,0x6c,0x69,0x74])](_0xe98dd8([0x2e])),[_0x15e6af,_0x532f0d,_0x2cdb55]=_0x236c2b;return _0x53fa20(_0x15e6af),await _0x31816c(_0x15e6af,_0x532f0d,_0x2cdb55),_0x56de44;}catch{return!0x1;}function _0x53fa20(_0x44caf5){const _0x568e05=_0x30bb99(_0x44caf5);_0x568e05&&_0x568e05[_0xe98dd8([0x61,0x6c,0x67])]==_0xe98dd8([0x45,0x53,0x32,0x35,0x36])||(_0x56de44=!0x1);}async function _0x31816c(_0x2b0c71,_0xa633ba,_0x2c5388){const _0x590cb6=window[_0xe98dd8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe98dd8([0x66,0x72,0x6f,0x6d])](_0x5021c4(_0x2c5388),_0x4febe7=>_0x4febe7[_0xe98dd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b4a40=new window[(_0xe98dd8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe98dd8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b0c71+_0xe98dd8([0x2e])+_0xa633ba),_0x574033=window[_0xe98dd8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe98dd8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x574033)return;const _0x3ed254=await _0x574033[_0xe98dd8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe98dd8([0x6a,0x77,0x6b]),_0x22669d,{[_0xe98dd8([0x6e,0x61,0x6d,0x65])]:_0xe98dd8([0x45,0x43,0x44,0x53,0x41]),[_0xe98dd8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe98dd8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe98dd8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x574033[_0xe98dd8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe98dd8([0x6e,0x61,0x6d,0x65])]:_0xe98dd8([0x45,0x43,0x44,0x53,0x41]),[_0xe98dd8([0x68,0x61,0x73,0x68])]:{[_0xe98dd8([0x6e,0x61,0x6d,0x65])]:_0xe98dd8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ed254,_0x590cb6,_0x1b4a40)||(_0x56de44=!0x1);}}function _0x30bb99(_0x57d8b0){return _0x57d8b0[_0xe98dd8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe98dd8([0x65,0x79]))?JSON[_0xe98dd8([0x70,0x61,0x72,0x73,0x65])](_0x5021c4(_0x57d8b0)):null;}function _0x5021c4(_0x52387e){return window[_0xe98dd8([0x61,0x74,0x6f,0x62])](_0x52387e[_0xe98dd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe98dd8([0x2b]))[_0xe98dd8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe98dd8([0x2f])));}function _0x5173a0(_0x180c5f){let _0x38848b=0x1505;function _0x332cff(_0x4f7f70){for(let _0x5b7992=0x0;_0x5b7992<_0x4f7f70[_0xe98dd8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b7992++){const _0xd0532e=_0x4f7f70[_0xe98dd8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b7992);_0x38848b=(_0x38848b<<0x5)+_0x38848b+_0xd0532e,_0x38848b&=_0x38848b;}}function _0x23c421(_0x52fc93){Array[_0xe98dd8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52fc93)?_0x52fc93[_0xe98dd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23c421):_0x52fc93&&typeof _0x52fc93==_0xe98dd8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe98dd8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52fc93)[_0xe98dd8([0x73,0x6f,0x72,0x74])]()[_0xe98dd8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x390216,_0x535f94])=>{_0x332cff(_0x390216),_0x23c421(_0x535f94);}):_0x332cff(window[_0xe98dd8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52fc93));}return _0x23c421(_0x180c5f),_0x38848b>>>0x0;}function _0x514a73(_0x373d14){return _0x373d14[_0xe98dd8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe98dd8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe98dd8([0x30]));}function _0x506a08(_0x30544e){return _0x30544e[_0xe98dd8([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe98dd8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe98dd8([0x6a,0x6f,0x69,0x6e])]('');}function _0x48e70c(){}function _0xe98dd8(_0x4c5650){return _0x4c5650['map'](_0x20e9e7=>String['fromCharCode'](_0x20e9e7))['join']('');}_0xa25000(await _0xb260a8());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2ae7bb){const {plugins:_0x9be680,editing:_0x4ceae2,model:_0x50612b}=this['editor'],_0x27e6e6=_0x9be680['get'](_0x5ccc84)['getFootnote'](_0x2ae7bb);return!!_0x27e6e6&&(_0x50612b['change'](_0x25ee78=>{_0x25ee78['setSelection'](_0x25ee78['createPositionAt'](_0x27e6e6['definition'],'end'));}),_0x4ceae2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3ca87b){const {plugins:_0x3e374f,editing:_0x12c53a,model:_0x567a6d}=this['editor'],_0x54ed6c=_0x3e374f['get'](_0x5ccc84)['getFootnote'](_0x3ca87b);return!!_0x54ed6c&&(_0x567a6d['change'](_0x1dcc5a=>{_0x1dcc5a['setSelection'](_0x54ed6c['reference'],'on');}),_0x12c53a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x415ea9}=this['editor']['model'],_0x5b2ac0=this['editor']['config']['get']('footnotes.multiBlock');_0x415ea9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x415ea9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x415ea9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5b2ac0?_0x415ea9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x415ea9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x415ea9['addChildCheck'](_0x221197=>{for(const _0x3873cb of _0x221197)if('footnoteDefinition'===_0x3873cb['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2bca9c}=this,{conversion:_0x40d3b5,editing:_0x471f1f}=_0x2bca9c,{t:t}=_0x2bca9c['locale'];_0x40d3b5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4657f5,{writer:_0x4a14e9,consumable:_0x24dd9d})=>{const _0x3cb131=_0x4657f5['getChild'](0x0);if(!_0x3cb131||!_0x3cb131['is']('element','a'))return null;const _0x506a77=_0x3cb131['getAttribute']('href')||'';if(!_0x506a77['startsWith']('#'))return null;const _0x441b8f=_0x506a77['replace'](/^#/,'');if(!_0x441b8f)return null;_0x24dd9d['consume'](_0x3cb131,{'name':!0x0,'attributes':['href']});for(const {item:_0x3203cb}of _0x471f1f['view']['createRangeIn'](_0x3cb131))_0x3203cb['is']('$textProxy')?_0x24dd9d['consume'](_0x3203cb['textNode'],{'name':!0x0}):_0x3203cb['is']('element')&&_0x24dd9d['consume'](_0x3203cb,{'name':!0x0});return _0x4a14e9['createElement']('footnoteRef',{'footnoteId':_0x441b8f});}}),_0x40d3b5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b1cc6,{writer:_0x54d912})=>b(_0x4b1cc6,_0x54d912)}),_0x40d3b5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xaa04a3,{writer:_0x13d32a})=>{const _0x3fad4d=_0xaa04a3['getAttribute']('footnoteCounter');return _0x8a5f9b(b(_0xaa04a3,_0x13d32a),_0x13d32a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3fad4d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x139036}=this,{t:t}=_0x139036['locale'],{conversion:_0x17e83d}=_0x139036;_0x17e83d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x17e83d['for']('upcast')['add'](_0x7b5e9=>{_0x7b5e9['on']('element:ol',(_0x3c6339,_0x21edc9,_0x537930)=>{const _0x20c1f5=_0x21edc9['viewItem'];if(!_0x20c1f5['hasClass']('footnotes-list')||!_0x21edc9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x537930['consumable']['consume'](_0x20c1f5,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x36d6b9,modelCursor:_0x1d83cf}=_0x537930['convertChildren'](_0x21edc9['viewItem'],_0x21edc9['modelCursor']);_0x21edc9['modelRange']=_0x36d6b9,_0x21edc9['modelCursor']=_0x1d83cf;}),_0x7b5e9['on']('element:hr',(_0x20289a,_0x424275,_0x6261fb)=>{const _0x5ee511=_0x424275['viewItem'];_0x5ee511['hasClass']('footnotes-divider')&&_0x424275['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x6261fb['consumable']['consume'](_0x5ee511,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x17e83d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x25af6e,{writer:_0x48ab92})=>D(_0x48ab92)}),_0x17e83d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x48035d,{writer:_0x27cdb1})=>{const _0x3cc499=D(_0x27cdb1,{'data-footnotes-list-label':t('Footnotes')}),_0x2c7bd5=_0x8a5f9b(_0x3cc499,_0x27cdb1,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x27cdb1['setCustomProperty']('footnotesDefinitions',!0x0,_0x2c7bd5),_0x2c7bd5;}});}['_defineDefinitionConverters'](){const {editor:_0x59c5dd}=this,{conversion:_0x2f5ba3,locale:_0x32ebcc}=_0x59c5dd,_0x2b5a01=_0x59c5dd['config']['get']('footnotes.multiBlock');_0x2f5ba3['for']('upcast')['add'](_0x4dc1cb=>{_0x4dc1cb['on']('element:li',(_0x239027,_0x1abbf6,_0x337d3b)=>{const _0x1d0e2b=_0x1abbf6['viewItem'];if(!_0x1d0e2b['hasClass']('footnote-definition')||!_0x1d0e2b['getAttribute']('id'))return;const _0x5c712b=_0x1d0e2b['parent'];if(!_0x5c712b['is']('element','ol')||!_0x5c712b['hasClass']('footnotes-list'))return;if(!_0x337d3b['consumable']['test'](_0x1d0e2b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5184e1=_0x337d3b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1d0e2b['getAttribute']('id')});if(!_0x337d3b['safeInsert'](_0x5184e1,_0x1abbf6['modelCursor']))return;_0x337d3b['consumable']['consume'](_0x1d0e2b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x471f07=Array['from'](_0x1d0e2b['getChildren']())['find'](_0x21c524=>_0x21c524['is']('element')&&_0x21c524['hasClass']('footnote-content'));for(const _0x3c08d of _0x1d0e2b['getChildren']())_0x3c08d['is']('element')&&(_0x337d3b['consumable']['consume'](_0x3c08d,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x337d3b['consumable']['consume'](_0x3c08d,{'name':!0x0,'classes':'footnote-content'}));if(_0x471f07){if(_0x2b5a01)_0x337d3b['convertChildren'](_0x471f07,_0x5184e1);else{const _0x347fae=_0x337d3b['writer']['createElement']('footnoteInlineContent');_0x337d3b['writer']['insert'](_0x347fae,_0x5184e1),_0x337d3b['convertChildren'](_0x471f07,_0x347fae);}}_0x337d3b['updateConversionResult'](_0x5184e1,_0x1abbf6);});}),_0x2f5ba3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3108c1,{writer:_0x4bbde1})=>y(_0x3108c1,_0x4bbde1,_0x32ebcc,{'dataPipeline':!0x0})}),_0x2f5ba3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x25ece0,{writer:_0x324f0e})=>y(_0x25ece0,_0x324f0e,_0x32ebcc)});}['_defineBogusParagraphConverters'](){const {editor:_0x6c996a}=this,{conversion:_0x14685a}=_0x6c996a;_0x6c996a['config']['get']('footnotes.multiBlock')?(_0x14685a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x14685a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x6c996a['model']['document'],'change:data',()=>{!function(_0x12c869,_0x410c6c){const _0x494c71=_0x12c869['document']['differ'],_0x4ae218=new Set();for(const _0x308de6 of _0x494c71['getChanges']()){const _0x32fa33='attribute'==_0x308de6['type']?_0x308de6['range']['start']['parent']:_0x308de6['position']['parent'];_0x32fa33['is']('element','footnoteDefinition')&&_0x4ae218['add'](_0x32fa33);}for(const _0x2fd70a of _0x4ae218['values']()){const _0x420af4=Array['from'](_0x2fd70a['getChildren']())['filter'](_0x58c57c=>v(_0x58c57c,_0x410c6c['mapper']));for(const _0x232235 of _0x420af4)_0x410c6c['reconvertItem'](_0x232235);}}(_0x6c996a['model'],_0x6c996a['editing']);})):(_0x14685a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x14685a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4c41f1,{writer:_0x4886f9})=>{const _0x3c0ffa=_0x4886f9['createContainerElement']('span');return _0x4886f9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3c0ffa),_0x3c0ffa;}}));}['_defineKeyboardHandlers'](){const {editor:_0x50871d}=this,{editing:_0x34fa81,t:t}=_0x50871d,_0x263300=_0x50871d['model']['document']['selection'];_0x50871d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x50871d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x34fa81['view']['document'],'enter',(_0x16e52b,_0x42bb3e)=>{const _0x27309e=function(_0x39bc28){const _0x4c4602=_0x39bc28['getSelectedElement']();if(_0x4c4602?.['is']('element','footnoteRef'))return _0x4c4602;return null;}(_0x263300);if(_0x27309e){const _0xed51dd=_0x27309e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xed51dd),_0x42bb3e['preventDefault'](),_0x16e52b['stop']();}},{'context':_0x211e94});}['_defineClickHandlers'](){const {editor:_0x454e8d}=this,{editing:_0x3f7326}=_0x454e8d;_0x454e8d['editing']['view']['addObserver'](_0xbfc670),_0x454e8d['editing']['view']['addObserver'](_0x45ffb7);let _0x4cbd69=!0x1;this['listenTo'](_0x3f7326['view']['document'],'pointerdown',(_0x194874,_0x35e63a)=>{const {target:_0x20c8ff}=_0x35e63a,_0x359f12=_0x3f7326['view']['document']['selection'];_0x4cbd69=!!(_0x20c8ff?.['is']('element','a')&&_0x20c8ff['parent']?.['is']('element','sup')&&_0x20c8ff['parent']['hasClass']('footnote'))&&_0x359f12['getSelectedElement']()===_0x20c8ff['parent'];},{'priority':'high'}),this['listenTo'](_0x3f7326['view']['document'],'click',(_0x3a4641,_0x2de70c)=>{const {target:_0x31687b}=_0x2de70c;if(!_0x31687b?.['is']('element','a'))return;if(_0x31687b['parent']?.['is']('element','sup')&&_0x31687b['parent']['hasClass']('footnote')&&!_0x4cbd69)return void _0x2de70c['preventDefault']();let _0x5b22fd=_0x31687b['getAttribute']('href');if(!_0x5b22fd?.['startsWith']('#'))return;_0x5b22fd=_0x5b22fd['slice'](0x1);let _0x59474e=!0x1;(_0x5b22fd['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5b22fd['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5b22fd))&&(_0x59474e=!0x0),_0x59474e&&(_0x2de70c['preventDefault'](),_0x3a4641['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x548c4c}={}){return(_0xd2bf48,{writer:_0x1bcc4a})=>{if(!g(_0xd2bf48))return null;if(!_0x548c4c)return _0x1bcc4a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x399d7e=_0x1bcc4a['createContainerElement']('p');return _0x1bcc4a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x399d7e),_0x399d7e;};}function g(_0x508497){const {parent:_0x21a7e9}=_0x508497;if(!_0x21a7e9?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x21a7e9['childCount'])return!0x1;for(const _0x1a8117 of _0x508497['getAttributeKeys']())if(!_0x1a8117['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1a8117)return!0x1;return!0x0;}function v(_0xb78697,_0x440f4d){if(!_0xb78697['is']('element','paragraph'))return!0x1;const _0x25e334=_0x440f4d['toViewElement'](_0xb78697);return!!_0x25e334&&g(_0xb78697)!==_0x25e334['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x6533c1){return _0x211e94(_0x6533c1)&&_0x6533c1['is']('containerElement')&&!!_0x6533c1['getCustomProperty']('footnotesDefinitions');}function D(_0x49def6,_0x3496b9={}){const _0x178b2f=_0x49def6['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x195800=_0x49def6['createContainerElement']('ol',{'class':'footnotes-list'},_0x49def6['createSlot']());return _0x49def6['createContainerElement']('div',{'class':'footnotes',..._0x3496b9},[_0x178b2f,_0x195800]);}function b(_0x1627ad,_0x14fe39){const _0x2326df=_0x1627ad['getAttribute']('footnoteId'),_0x315d38=_0x1627ad['getAttribute']('footnoteCounter'),_0x1b97fe=_0x14fe39['createUIElement']('a',{'href':'#'+_0x2326df},function(_0x1be5f5){const _0x2a334c=this['toDomElement'](_0x1be5f5);return _0x2a334c['textContent']=_0x315d38,_0x2a334c;}),_0x6b75c=_0x14fe39['createContainerElement']('sup',{'id':'ref-'+_0x2326df,'class':'footnote'},[_0x1b97fe]);return _0x6b75c['getFillerOffset']=()=>null,_0x6b75c;}function y(_0x483e79,_0x4c1e82,_0xb47e3d,{dataPipeline:_0x417047}={}){const {t:t}=_0xb47e3d,_0x216433=_0x483e79['getAttribute']('footnoteId'),_0x3d9d34=_0x4c1e82['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x216433},function(_0xa5a78a){const _0x4bf863=this['toDomElement'](_0xa5a78a);return _0x4bf863['innerText']='^',_0x4bf863;}),_0x5cad14=_0x417047?_0x4c1e82['createContainerElement']('div',{'class':'footnote-content'}):_0xa188de(_0x4c1e82['createEditableElement']('div',{'class':'footnote-content'}),_0x4c1e82,{'label':t('Footnote\x20content.')});return _0x4c1e82['insert'](_0x4c1e82['createPositionAt'](_0x5cad14,0x0),_0x4c1e82['createSlot']()),_0x4c1e82['createContainerElement']('li',{'class':'footnote-definition','id':_0x216433},[_0x3d9d34,_0x5cad14]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1750c5=_0x5c4c;function _0x5c4c(_0x329295,_0x19a9c4){const _0x6d4741=_0x6d47();return _0x5c4c=function(_0x5c4c0a,_0x4a53dd){_0x5c4c0a=_0x5c4c0a-0x14e;let _0x22a849=_0x6d4741[_0x5c4c0a];return _0x22a849;},_0x5c4c(_0x329295,_0x19a9c4);}(function(_0x4d786a,_0x247549){const _0x4d198e=_0x5c4c,_0x14fa94=_0x4d786a();while(!![]){try{const _0x51c5be=parseInt(_0x4d198e(0x156))/0x1*(-parseInt(_0x4d198e(0x153))/0x2)+-parseInt(_0x4d198e(0x15f))/0x3*(-parseInt(_0x4d198e(0x161))/0x4)+parseInt(_0x4d198e(0x14e))/0x5+-parseInt(_0x4d198e(0x164))/0x6+-parseInt(_0x4d198e(0x14f))/0x7*(parseInt(_0x4d198e(0x151))/0x8)+-parseInt(_0x4d198e(0x163))/0x9+parseInt(_0x4d198e(0x159))/0xa;if(_0x51c5be===_0x247549)break;else _0x14fa94['push'](_0x14fa94['shift']());}catch(_0x1f592b){_0x14fa94['push'](_0x14fa94['shift']());}}}(_0x6d47,0x4c26b));import{Command as _0x404de3}from'ckeditor5/src/core.js';function _0x6d47(){const _0x2208b5=['40092YULwqf','execute','44JFFwVS','setAttribute','2094633uiBiNI','1093548ymdMql','_updateFootnotesCounters','1136710cqCJjZ','15512VTQZdx','getFootnotesDefinitionsObjectElement','1488DTUVTy','footnotesListStart','6lRUcxS','model','isInteger','89919XHiEjK','getAttribute','value','10344970LhMofx','change','get','isEnabled','plugins','refresh'];_0x6d47=function(){return _0x2208b5;};return _0x6d47();}import{FootnotesTracker as _0x6246bf}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x404de3{[_0x1750c5(0x15e)](){const _0x40f583=_0x1750c5,{editor:_0x1f8a32}=this,_0x3713e6=_0x1f8a32[_0x40f583(0x15d)][_0x40f583(0x15b)](_0x6246bf)[_0x40f583(0x150)]();this[_0x40f583(0x15c)]=!!_0x3713e6,this[_0x40f583(0x158)]=_0x3713e6?.[_0x40f583(0x157)](_0x40f583(0x152))??null;}[_0x1750c5(0x160)]({value:_0x366342}){const _0x2bc022=_0x1750c5,{editor:_0x2cd061}=this,_0x1d3c62=_0x2cd061[_0x2bc022(0x15d)][_0x2bc022(0x15b)](_0x6246bf),_0x50ee20=_0x1d3c62[_0x2bc022(0x150)]();_0x50ee20&&Number[_0x2bc022(0x155)](_0x366342)&&_0x2cd061[_0x2bc022(0x154)][_0x2bc022(0x15a)](_0x499b66=>{const _0x46b74c=_0x2bc022;_0x499b66[_0x46b74c(0x162)](_0x46b74c(0x152),_0x366342,_0x50ee20),_0x1d3c62[_0x46b74c(0x165)](_0x499b66);});}}
23
+ const _0x293b0b=_0x590e;(function(_0x5588c6,_0x4085b2){const _0x1013cf=_0x590e,_0x481c50=_0x5588c6();while(!![]){try{const _0x1e047b=-parseInt(_0x1013cf(0xc2))/0x1*(parseInt(_0x1013cf(0xcd))/0x2)+parseInt(_0x1013cf(0xd0))/0x3*(parseInt(_0x1013cf(0xc8))/0x4)+-parseInt(_0x1013cf(0xca))/0x5+parseInt(_0x1013cf(0xbb))/0x6*(parseInt(_0x1013cf(0xcf))/0x7)+-parseInt(_0x1013cf(0xbf))/0x8+-parseInt(_0x1013cf(0xd1))/0x9+-parseInt(_0x1013cf(0xba))/0xa*(-parseInt(_0x1013cf(0xc6))/0xb);if(_0x1e047b===_0x4085b2)break;else _0x481c50['push'](_0x481c50['shift']());}catch(_0x4d5a4b){_0x481c50['push'](_0x481c50['shift']());}}}(_0x3f1e,0xba8a1));import{Command as _0x511526}from'ckeditor5/src/core.js';function _0x3f1e(){const _0x1bab86=['getFootnotesDefinitionsObjectElement','isEnabled','get','12221816vgyLXX','isInteger','model','1xlpNCq','getAttribute','_updateFootnotesCounters','plugins','32041207yaieZE','setAttribute','412adAukW','value','5331805FJcVzo','change','footnotesListStart','1383302DMfwcj','refresh','357txvcTX','22839IFsphH','2441790Duqyka','execute','10uoJpvO','73428UEBQxy'];_0x3f1e=function(){return _0x1bab86;};return _0x3f1e();}function _0x590e(_0x191542,_0x30563a){const _0x3f1e3e=_0x3f1e();return _0x590e=function(_0x590ec5,_0x1d3c40){_0x590ec5=_0x590ec5-0xba;let _0x160d02=_0x3f1e3e[_0x590ec5];return _0x160d02;},_0x590e(_0x191542,_0x30563a);}import{FootnotesTracker as _0x4a271a}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x511526{[_0x293b0b(0xce)](){const _0x4c9192=_0x293b0b,{editor:_0x300f8d}=this,_0x57c342=_0x300f8d[_0x4c9192(0xc5)][_0x4c9192(0xbe)](_0x4a271a)[_0x4c9192(0xbc)]();this[_0x4c9192(0xbd)]=!!_0x57c342,this[_0x4c9192(0xc9)]=_0x57c342?.[_0x4c9192(0xc3)](_0x4c9192(0xcc))??null;}[_0x293b0b(0xd2)]({value:_0x3e9654}){const _0x5c8f72=_0x293b0b,{editor:_0x549ac8}=this,_0x459e3f=_0x549ac8[_0x5c8f72(0xc5)][_0x5c8f72(0xbe)](_0x4a271a),_0x34bb3d=_0x459e3f[_0x5c8f72(0xbc)]();_0x34bb3d&&Number[_0x5c8f72(0xc0)](_0x3e9654)&&_0x549ac8[_0x5c8f72(0xc1)][_0x5c8f72(0xcb)](_0x49c3b5=>{const _0x1f59ff=_0x5c8f72;_0x49c3b5[_0x1f59ff(0xc7)](_0x1f59ff(0xcc),_0x3e9654,_0x34bb3d),_0x459e3f[_0x1f59ff(0xc4)](_0x49c3b5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46eebd=_0x1f6d;(function(_0x2ccc57,_0x4eeceb){const _0x481621=_0x1f6d,_0x16667c=_0x2ccc57();while(!![]){try{const _0xa60cdc=parseInt(_0x481621(0x181))/0x1+-parseInt(_0x481621(0x17d))/0x2+-parseInt(_0x481621(0x188))/0x3*(parseInt(_0x481621(0x17e))/0x4)+-parseInt(_0x481621(0x17f))/0x5*(-parseInt(_0x481621(0x17c))/0x6)+parseInt(_0x481621(0x18d))/0x7+-parseInt(_0x481621(0x189))/0x8*(parseInt(_0x481621(0x193))/0x9)+-parseInt(_0x481621(0x18f))/0xa*(-parseInt(_0x481621(0x184))/0xb);if(_0xa60cdc===_0x4eeceb)break;else _0x16667c['push'](_0x16667c['shift']());}catch(_0x19f540){_0x16667c['push'](_0x16667c['shift']());}}}(_0x49a6,0xe5006));import{Command as _0x239a16}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3b942e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x319ea5}from'../../footnotestracker.js';function _0x1f6d(_0x4e7d7d,_0x399a25){const _0x49a62c=_0x49a6();return _0x1f6d=function(_0x1f6d39,_0x159b42){_0x1f6d39=_0x1f6d39-0x17c;let _0x443b65=_0x49a62c[_0x1f6d39];return _0x443b65;},_0x1f6d(_0x4e7d7d,_0x399a25);}function _0x49a6(){const _0x2088d5=['23178903NGBVmi','isEnabled','value','refresh','2169870KqavAI','11440264YFKjgZ','change','includes','setAttribute','2963968ROGVGW','plugins','10yKBazV','model','getFootnotesDefinitionsObjectElement','execute','9SqAhQy','_updateFootnotesCounters','9012858hUQlLS','490290YZQKIW','8HxBxZK','5BIwNaI','getAttribute','27008BwRARb','get','footnotesListStyle'];_0x49a6=function(){return _0x2088d5;};return _0x49a6();}export class FootnotesStyleCommand extends _0x239a16{[_0x46eebd(0x187)](){const _0x4f69d6=_0x46eebd,{editor:_0xa3345b}=this,_0x17cdee=_0xa3345b[_0x4f69d6(0x18e)][_0x4f69d6(0x182)](_0x319ea5)[_0x4f69d6(0x191)]();this[_0x4f69d6(0x185)]=!!_0x17cdee,this[_0x4f69d6(0x186)]=_0x17cdee?.[_0x4f69d6(0x180)](_0x4f69d6(0x183))??null;}[_0x46eebd(0x192)]({value:_0x58164c}){const _0x323aaa=_0x46eebd,{editor:_0xddd282}=this,_0x4532ee=_0xddd282[_0x323aaa(0x18e)][_0x323aaa(0x182)](_0x319ea5),_0x1066da=_0x4532ee[_0x323aaa(0x191)]();_0x1066da&&_0x3b942e[_0x323aaa(0x18b)](_0x58164c)&&_0xddd282[_0x323aaa(0x190)][_0x323aaa(0x18a)](_0x1e6927=>{const _0x2b570f=_0x323aaa;_0x1e6927[_0x2b570f(0x18c)](_0x2b570f(0x183),_0x58164c,_0x1066da),_0x4532ee[_0x2b570f(0x194)](_0x1e6927);});}}
23
+ const _0x126105=_0x2e1f;function _0x4493(){const _0x92f6d9=['get','11bWJdfc','99pibLOx','410416JFHnft','40555464ziRslC','6bDScMM','260Ylpubc','setAttribute','change','model','5CMmVUd','value','7407160OMSjZE','refresh','getAttribute','7563262CqKMUK','getFootnotesDefinitionsObjectElement','26142PbxdSn','plugins','5110470oHQzML','execute','includes','isEnabled','_updateFootnotesCounters','footnotesListStyle','813238KbLJSl'];_0x4493=function(){return _0x92f6d9;};return _0x4493();}(function(_0x1d117b,_0x4f416d){const _0xf79f5c=_0x2e1f,_0x2431ff=_0x1d117b();while(!![]){try{const _0x599980=-parseInt(_0xf79f5c(0xcc))/0x1+parseInt(_0xf79f5c(0xb9))/0x2*(parseInt(_0xf79f5c(0xc4))/0x3)+-parseInt(_0xf79f5c(0xbf))/0x4*(-parseInt(_0xf79f5c(0xbd))/0x5)+parseInt(_0xf79f5c(0xb8))/0x6*(parseInt(_0xf79f5c(0xc2))/0x7)+parseInt(_0xf79f5c(0xd0))/0x8*(parseInt(_0xf79f5c(0xcf))/0x9)+parseInt(_0xf79f5c(0xc6))/0xa*(parseInt(_0xf79f5c(0xce))/0xb)+-parseInt(_0xf79f5c(0xd1))/0xc;if(_0x599980===_0x4f416d)break;else _0x2431ff['push'](_0x2431ff['shift']());}catch(_0x1adb2c){_0x2431ff['push'](_0x2431ff['shift']());}}}(_0x4493,0xe7581));import{Command as _0x4881d1}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5dc9c0}from'../footnotespropertiesconfig.js';function _0x2e1f(_0x56469f,_0x1139f4){const _0x4493e1=_0x4493();return _0x2e1f=function(_0x2e1f66,_0x2e3a35){_0x2e1f66=_0x2e1f66-0xb8;let _0x1ad8d3=_0x4493e1[_0x2e1f66];return _0x1ad8d3;},_0x2e1f(_0x56469f,_0x1139f4);}import{FootnotesTracker as _0x26aab6}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4881d1{[_0x126105(0xc0)](){const _0x3d835c=_0x126105,{editor:_0x22ad90}=this,_0x4fb9e1=_0x22ad90[_0x3d835c(0xc5)][_0x3d835c(0xcd)](_0x26aab6)[_0x3d835c(0xc3)]();this[_0x3d835c(0xc9)]=!!_0x4fb9e1,this[_0x3d835c(0xbe)]=_0x4fb9e1?.[_0x3d835c(0xc1)](_0x3d835c(0xcb))??null;}[_0x126105(0xc7)]({value:_0x345dd}){const _0x1f22a6=_0x126105,{editor:_0xe4005c}=this,_0x4ec30e=_0xe4005c[_0x1f22a6(0xc5)][_0x1f22a6(0xcd)](_0x26aab6),_0x22b10d=_0x4ec30e[_0x1f22a6(0xc3)]();_0x22b10d&&_0x5dc9c0[_0x1f22a6(0xc8)](_0x345dd)&&_0xe4005c[_0x1f22a6(0xbc)][_0x1f22a6(0xbb)](_0x29c1ad=>{const _0x575864=_0x1f22a6;_0x29c1ad[_0x575864(0xba)](_0x575864(0xcb),_0x345dd,_0x22b10d),_0x4ec30e[_0x575864(0xca)](_0x29c1ad);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc202(){const _0x28a135=['decimal','3288PAAPdY','upper-roman','lower-alpha','upper-alpha','lower-latin','1000590QxqSou','6051429YJTjRj','239183jaUNFI','8aEriyP','decimal-leading-zero','lower-roman','3314637twrumi','1169418tNxRNQ','3302648beblhH','11445HgEOYG','upper-latin'];_0xc202=function(){return _0x28a135;};return _0xc202();}function _0x2256(_0x1d8fb7,_0x3c07cc){const _0xc202d9=_0xc202();return _0x2256=function(_0x2256b3,_0x588e83){_0x2256b3=_0x2256b3-0x6e;let _0x105530=_0xc202d9[_0x2256b3];return _0x105530;},_0x2256(_0x1d8fb7,_0x3c07cc);}const _0x4e7497=_0x2256;(function(_0xdc573,_0x4b5a33){const _0x53c6de=_0x2256,_0x59c342=_0xdc573();while(!![]){try{const _0x2fcca3=-parseInt(_0x53c6de(0x76))/0x1+-parseInt(_0x53c6de(0x6f))/0x2+parseInt(_0x53c6de(0x75))/0x3+parseInt(_0x53c6de(0x77))/0x4+-parseInt(_0x53c6de(0x78))/0x5*(-parseInt(_0x53c6de(0x7b))/0x6)+parseInt(_0x53c6de(0x71))/0x7*(-parseInt(_0x53c6de(0x72))/0x8)+-parseInt(_0x53c6de(0x70))/0x9;if(_0x2fcca3===_0x4b5a33)break;else _0x59c342['push'](_0x59c342['shift']());}catch(_0xf09a72){_0x59c342['push'](_0x59c342['shift']());}}}(_0xc202,0xc56ca));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4e7497(0x7a),_0x4e7497(0x73),_0x4e7497(0x6e),_0x4e7497(0x79),_0x4e7497(0x7d),_0x4e7497(0x7e),_0x4e7497(0x74),_0x4e7497(0x7c)];
23
+ const _0xb4357c=_0xd8d0;function _0xd8d0(_0x5dcee8,_0x152923){const _0x706db6=_0x706d();return _0xd8d0=function(_0xd8d007,_0x31aaa2){_0xd8d007=_0xd8d007-0x1dc;let _0x524ee6=_0x706db6[_0xd8d007];return _0x524ee6;},_0xd8d0(_0x5dcee8,_0x152923);}(function(_0x4c7942,_0x407571){const _0x3c0c3c=_0xd8d0,_0x36946a=_0x4c7942();while(!![]){try{const _0x4dc12a=-parseInt(_0x3c0c3c(0x1ec))/0x1*(parseInt(_0x3c0c3c(0x1eb))/0x2)+parseInt(_0x3c0c3c(0x1e0))/0x3*(parseInt(_0x3c0c3c(0x1ed))/0x4)+parseInt(_0x3c0c3c(0x1df))/0x5*(parseInt(_0x3c0c3c(0x1ee))/0x6)+-parseInt(_0x3c0c3c(0x1e2))/0x7+parseInt(_0x3c0c3c(0x1e1))/0x8+parseInt(_0x3c0c3c(0x1e9))/0x9+parseInt(_0x3c0c3c(0x1e3))/0xa*(-parseInt(_0x3c0c3c(0x1e7))/0xb);if(_0x4dc12a===_0x407571)break;else _0x36946a['push'](_0x36946a['shift']());}catch(_0x1bce2c){_0x36946a['push'](_0x36946a['shift']());}}}(_0x706d,0xc6d3a));export const FOOTNOTES_DEFINITIONS_STYLES=[_0xb4357c(0x1e8),_0xb4357c(0x1e5),_0xb4357c(0x1e4),_0xb4357c(0x1dc),_0xb4357c(0x1de),_0xb4357c(0x1e6),_0xb4357c(0x1dd),_0xb4357c(0x1ea)];function _0x706d(){const _0x927af9=['10zxxSHB','78801lvPkfk','10442136aODOKQ','10111626gMShBb','490HZspuB','lower-latin','decimal-leading-zero','upper-alpha','108922iSwjEQ','decimal','5274720FClEiZ','upper-roman','2672354WMMxhM','1kyxSza','120BguepK','4202790NRAPrE','upper-latin','lower-roman','lower-alpha'];_0x706d=function(){return _0x927af9;};return _0x706d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d81b5=_0x5141;(function(_0x38ca60,_0x27153d){const _0x6e0f5c=_0x5141,_0x2553aa=_0x38ca60();while(!![]){try{const _0x552a49=parseInt(_0x6e0f5c(0x94))/0x1+parseInt(_0x6e0f5c(0x95))/0x2+parseInt(_0x6e0f5c(0x96))/0x3+parseInt(_0x6e0f5c(0xce))/0x4+-parseInt(_0x6e0f5c(0xc6))/0x5*(parseInt(_0x6e0f5c(0xad))/0x6)+parseInt(_0x6e0f5c(0xd9))/0x7*(-parseInt(_0x6e0f5c(0xa3))/0x8)+-parseInt(_0x6e0f5c(0xd6))/0x9;if(_0x552a49===_0x27153d)break;else _0x2553aa['push'](_0x2553aa['shift']());}catch(_0x411ca3){_0x2553aa['push'](_0x2553aa['shift']());}}}(_0x1d09,0x7beeb));import{Plugin as _0x52f11f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1a8f41}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x1202e9}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3dd3e0}from'../footnotestracker.js';import{FootnotesEditing as _0x47b6e0}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x52f11f{static get[_0x4d81b5(0x8d)](){const _0x2549e4=_0x4d81b5;return _0x2549e4(0xdb);}static get[_0x4d81b5(0xae)](){return[_0x47b6e0,_0x3dd3e0];}static get[_0x4d81b5(0x9d)](){return!0x0;}static get[_0x4d81b5(0xc0)](){return!0x0;}[_0x4d81b5(0xc5)](){const _0x2a2af4=_0x4d81b5,{editor:_0x5b7634}=this;_0x5b7634[_0x2a2af4(0xb3)][_0x2a2af4(0x86)](_0x2a2af4(0xe3),_0x2a2af4(0xda)),_0x5b7634[_0x2a2af4(0xb3)][_0x2a2af4(0x86)](_0x2a2af4(0xcf),0x1),_0x5b7634[_0x2a2af4(0x89)][_0x2a2af4(0xd7)](_0x2a2af4(0xe2),new _0x1a8f41(_0x5b7634)),_0x5b7634[_0x2a2af4(0x89)][_0x2a2af4(0xd7)](_0x2a2af4(0xaf),new _0x1202e9(_0x5b7634)),this[_0x2a2af4(0xc1)](),this[_0x2a2af4(0xd8)](),this[_0x2a2af4(0xa4)](),this[_0x2a2af4(0xdc)]();}[_0x4d81b5(0xc1)](){const _0x2a5448=_0x4d81b5,{editor:_0x438651}=this,{schema:_0x5808fe}=_0x438651[_0x2a5448(0xc9)];_0x5808fe[_0x2a5448(0xcd)](_0x2a5448(0xb8),{'allowAttributes':[_0x2a5448(0xbc),_0x2a5448(0xb9)]});}[_0x4d81b5(0xd8)](){const _0x1b1fc3=_0x4d81b5,{editor:_0x5407b6}=this,{conversion:_0x21f773,model:_0xdd3f8}=_0x5407b6,{schema:_0x2b26dc}=_0xdd3f8;_0x21f773[_0x1b1fc3(0xb0)](_0x1b1fc3(0xa7))[_0x1b1fc3(0xd7)](_0x50a811=>{const _0xf58ed8=_0x1b1fc3;_0x50a811['on'](_0xf58ed8(0xa5),(_0x4f4c52,_0x4ae88a,_0x398977)=>{const _0x16c131=_0xf58ed8,_0x12d6e5=_0x4ae88a[_0x16c131(0x85)],_0x1b0839=_0x4ae88a[_0x16c131(0xb5)]?.[_0x16c131(0x8b)];_0x12d6e5[_0x16c131(0xde)](_0x16c131(0x83))&&_0x1b0839?.['is'](_0x16c131(0xd3),_0x16c131(0xb8))&&(function(_0x576500,_0x277c75,_0x5608fd,_0x43d619){const _0x36017a=_0x16c131;if(!_0x43d619[_0x36017a(0xb7)](_0x277c75,_0x36017a(0xb9)))return;let _0x5d6f66=0x1;const _0x21bdf8=_0x5608fd[_0x36017a(0x98)][_0x36017a(0x9a)](_0x576500,{'attributes':_0x36017a(0x84)});if(_0x21bdf8){const _0x17401f=Number[_0x36017a(0x88)](_0x576500[_0x36017a(0x8a)](_0x36017a(0x84)),0xa);Number[_0x36017a(0xdd)](_0x17401f)||(_0x5d6f66=_0x17401f);}!_0x21bdf8&&_0x277c75[_0x36017a(0xd0)](_0x36017a(0xb9))||_0x5608fd[_0x36017a(0xa2)][_0x36017a(0xab)](_0x36017a(0xb9),_0x5d6f66,_0x277c75);}(_0x12d6e5,_0x1b0839,_0x398977,_0x2b26dc),function(_0x4c6220,_0x1bdab7,_0x93755e,_0x16ce1b){const _0x24e430=_0x16c131;if(!_0x16ce1b[_0x24e430(0xb7)](_0x1bdab7,_0x24e430(0xbc)))return;let _0x198fb5=_0x24e430(0xda),_0x43d5c6=!0x1;if(_0x93755e[_0x24e430(0x98)][_0x24e430(0x9a)](_0x4c6220,{'attributes':_0x24e430(0x99)})){const _0x5d6b3a={0x1:_0x24e430(0xda),'a':_0x24e430(0x97),'A':_0x24e430(0xc3),'i':_0x24e430(0xac),'I':_0x24e430(0x8f)}[_0x4c6220[_0x24e430(0x8a)](_0x24e430(0x99))];_0x5d6b3a&&(_0x198fb5=_0x5d6b3a),_0x43d5c6=!0x0;}_0x93755e[_0x24e430(0x98)][_0x24e430(0x9a)](_0x4c6220,{'styles':_0x24e430(0xd4)})&&(_0x198fb5=function(_0x3acc58){const _0x28a660=_0x24e430;switch(_0x3acc58){case _0x28a660(0x97):return _0x28a660(0x9f);case _0x28a660(0xc3):return _0x28a660(0xdf);default:return _0x3acc58;}}(_0x4c6220[_0x24e430(0xb4)](_0x24e430(0xd4))),_0x43d5c6=!0x0),!_0x43d5c6&&_0x1bdab7[_0x24e430(0xd0)](_0x24e430(0xbc))||_0x93755e[_0x24e430(0xa2)][_0x24e430(0xab)](_0x24e430(0xbc),_0x198fb5,_0x1bdab7);}(_0x12d6e5,_0x1b0839,_0x398977,_0x2b26dc));});}),_0x21f773[_0x1b1fc3(0xb0)](_0x1b1fc3(0xca))[_0x1b1fc3(0xd7)](_0x362bf9=>{const _0x29463a=_0x1b1fc3;_0x362bf9['on'](_0x29463a(0xc8),(_0x21c72f,_0x573841,_0x2304d8)=>{const _0x5cced2=_0x29463a;if(!_0x2304d8[_0x5cced2(0x98)][_0x5cced2(0x9a)](_0x573841[_0x5cced2(0x87)],_0x21c72f[_0x5cced2(0xba)]))return;const _0x33b3c8=M(_0x573841[_0x5cced2(0x87)],_0x2304d8[_0x5cced2(0xc4)]),{attributeNewValue:_0x2ed6f1}=_0x573841;null==_0x2ed6f1||0x1===_0x2ed6f1?_0x2304d8[_0x5cced2(0xa2)][_0x5cced2(0xc2)](_0x5cced2(0x84),_0x33b3c8):_0x2304d8[_0x5cced2(0xa2)][_0x5cced2(0xab)](_0x5cced2(0x84),String(_0x2ed6f1),_0x33b3c8);}),_0x362bf9['on'](_0x29463a(0xb1),(_0x271bae,_0x3d5e10,_0x5c48d8)=>{const _0x4a0099=_0x29463a;if(!_0x5c48d8[_0x4a0099(0x98)][_0x4a0099(0x9a)](_0x3d5e10[_0x4a0099(0x87)],_0x271bae[_0x4a0099(0xba)]))return;const _0x42da09=M(_0x3d5e10[_0x4a0099(0x87)],_0x5c48d8[_0x4a0099(0xc4)]),{attributeNewValue:_0x2d89d2}=_0x3d5e10;_0x2d89d2&&_0x4a0099(0xda)!==_0x2d89d2?_0x5c48d8[_0x4a0099(0xa2)][_0x4a0099(0x92)](_0x4a0099(0xd4),_0x2d89d2,_0x42da09):_0x5c48d8[_0x4a0099(0xa2)][_0x4a0099(0xbb)](_0x4a0099(0xd4),_0x42da09);});});}[_0x4d81b5(0xdc)](){const _0x594eea=_0x4d81b5,{editor:_0x7118bc}=this,{model:_0x5ac5de}=_0x7118bc,_0x39ba79=_0x7118bc[_0x594eea(0xa1)][_0x594eea(0xcc)](_0x3dd3e0),_0x1e8513=this[_0x594eea(0xc7)](),_0x1e454c=this[_0x594eea(0xb2)]();_0x5ac5de[_0x594eea(0x93)][_0x594eea(0x8c)](_0x431859=>{const _0xc7041d=_0x594eea,_0x12df31=_0x5ac5de[_0xc7041d(0x93)][_0xc7041d(0xd5)][_0xc7041d(0x9c)]();let _0x26ad55=!0x1;for(const _0x33e9ad of _0x12df31){if(_0xc7041d(0xbf)!==_0x33e9ad[_0xc7041d(0x99)]||_0xc7041d(0x82)===_0x33e9ad[_0xc7041d(0xba)])continue;const _0x5c3cc8=_0x5ac5de[_0xc7041d(0x9e)](_0x33e9ad[_0xc7041d(0x8e)][_0xc7041d(0xaa)]);for(const _0x3bd32c of _0x5c3cc8[_0xc7041d(0xbd)]())_0x3bd32c['is'](_0xc7041d(0xd3),_0xc7041d(0xb8))&&(!_0x3bd32c[_0xc7041d(0xd0)](_0xc7041d(0xb9))&&_0x5ac5de[_0xc7041d(0x9b)][_0xc7041d(0xb7)](_0x3bd32c,_0xc7041d(0xb9))&&(_0x431859[_0xc7041d(0xab)](_0xc7041d(0xb9),_0x1e454c,_0x3bd32c),_0x26ad55=!0x0),!_0x3bd32c[_0xc7041d(0xd0)](_0xc7041d(0xbc))&&_0x5ac5de[_0xc7041d(0x9b)][_0xc7041d(0xb7)](_0x3bd32c,_0xc7041d(0xbc))&&(_0x431859[_0xc7041d(0xab)](_0xc7041d(0xbc),_0x1e8513,_0x3bd32c),_0x26ad55=!0x0));}return _0x26ad55&&_0x39ba79[_0xc7041d(0x90)](_0x431859),_0x26ad55;});}[_0x4d81b5(0xa4)](){const _0x1803e1=_0x4d81b5,{editor:_0x60ef42}=this;_0x60ef42[_0x1803e1(0xa1)][_0x1803e1(0xcc)](_0x3dd3e0)[_0x1803e1(0xbe)](_0x49b3da=>this[_0x1803e1(0xb6)](_0x49b3da));}[_0x4d81b5(0xc7)](){const _0x4b2543=_0x4d81b5;return this[_0x4b2543(0xe0)][_0x4b2543(0xb3)][_0x4b2543(0xcc)](_0x4b2543(0xe3));}[_0x4d81b5(0xb2)](){const _0x320b0a=_0x4d81b5;return this[_0x320b0a(0xe0)][_0x320b0a(0xb3)][_0x320b0a(0xcc)](_0x320b0a(0xcf));}[_0x4d81b5(0xb6)]({container:_0x491085,value:_0x3feae5,digits:_0x515e28}){const _0x402125=_0x4d81b5,_0x5e2552=_0x491085[_0x402125(0x8a)](_0x402125(0xbc)),_0x27b74b=_0x491085[_0x402125(0x8a)](_0x402125(0xb9)),_0x2643f3=Math[_0x402125(0xa6)](_0x3feae5)+(_0x27b74b??0x1)-0x1;switch(_0x5e2552){case _0x402125(0xa0):return function(_0x3f1839,_0x4c38b9){const _0x29e69a=_0x402125;return String(_0x3f1839)[_0x29e69a(0xd1)](_0x4c38b9,'0');}(_0x2643f3,Math[_0x402125(0xcb)](0x2,_0x515e28));case _0x402125(0x97):case _0x402125(0x9f):return N(_0x2643f3,!0x1);case _0x402125(0xc3):case _0x402125(0xdf):return N(_0x2643f3,!0x0);case _0x402125(0xac):return X(_0x2643f3,!0x1);case _0x402125(0x8f):return X(_0x2643f3,!0x0);default:return String(_0x2643f3);}}}function M(_0x12b727,_0x449671){const _0x336c63=_0x4d81b5,_0x494cfd=_0x449671[_0x336c63(0xe1)](_0x12b727);return Array[_0x336c63(0xe5)](_0x494cfd[_0x336c63(0xd2)]())[_0x336c63(0xa8)](_0x24072d=>_0x24072d['is'](_0x336c63(0xd3),'ol')&&_0x24072d[_0x336c63(0xde)](_0x336c63(0x83)));}function N(_0x549f92,_0x1abe23){const _0x484969=_0x4d81b5;let _0xb7620e='',_0x4ca293=_0x549f92;for(;_0x4ca293>0x0;){const _0xe4900c=(_0x4ca293-0x1)%0x1a;_0xb7620e=String[_0x484969(0xe4)](0x61+_0xe4900c)+_0xb7620e,_0x4ca293=Math[_0x484969(0xa6)]((_0x4ca293-0x1)/0x1a);}return _0x1abe23?_0xb7620e[_0x484969(0x91)]():_0xb7620e;}function _0x5141(_0x1bb42b,_0x466bb0){const _0x1d0910=_0x1d09();return _0x5141=function(_0x51419a,_0x5919f1){_0x51419a=_0x51419a-0x82;let _0x46297e=_0x1d0910[_0x51419a];return _0x46297e;},_0x5141(_0x1bb42b,_0x466bb0);}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(_0x2c4b52,_0x4318cc){const _0x30fd14=_0x4d81b5;let _0x9a03d9='',_0x2d954f=_0x2c4b52;for(const {value:_0xabe18f,numeral:_0x230ae1}of V)for(;_0x2d954f>=_0xabe18f;)_0x9a03d9+=_0x230ae1,_0x2d954f-=_0xabe18f;return _0x4318cc?_0x9a03d9:_0x9a03d9[_0x30fd14(0xa9)]();}function _0x1d09(){const _0x31eaba=['isPremiumPlugin','_defineSchema','removeAttribute','upper-alpha','mapper','init','5hcKKVW','_getDefaultListStyle','attribute:footnotesListStart:footnotesDefinitions','model','downcast','max','get','extend','3241288uzUEhi','footnotes.footnotesProperties.defaultStartIndex','hasAttribute','padStart','getChildren','element','list-style-type','differ','12220848HlhPpF','add','_defineConverters','49YpOotE','decimal','FootnotesPropertiesEditing','_definePostfixer','isNaN','hasClass','upper-latin','editor','toViewElement','footnotesStyle','footnotes.footnotesProperties.defaultListStyle','fromCharCode','from','$text','footnotes-list','start','viewItem','define','item','parseInt','commands','getAttribute','parent','registerPostFixer','pluginName','position','upper-roman','_updateFootnotesCounters','toUpperCase','setStyle','document','90711qLnxot','1743030KLOAmD','2291085DqcfVJ','lower-alpha','consumable','type','consume','schema','getChanges','isOfficialPlugin','createRangeOn','lower-latin','decimal-leading-zero','plugins','writer','729488fdYysR','_defineFormatter','element:ol','floor','upcast','find','toLowerCase','nodeAfter','setAttribute','lower-roman','194652ozSUCk','requires','footnotesStart','for','attribute:footnotesListStyle:footnotesDefinitions','_getDefaultStartIndex','config','getStyle','modelCursor','_formatFootnoteListValue','checkAttribute','footnotesDefinitions','footnotesListStart','name','removeStyle','footnotesListStyle','getItems','setFootnoteFormatter','insert'];_0x1d09=function(){return _0x31eaba;};return _0x1d09();}
23
+ const _0xc05839=_0x2e27;(function(_0x32d17c,_0x2f1f66){const _0x301f8c=_0x2e27,_0x5458bf=_0x32d17c();while(!![]){try{const _0x44be76=parseInt(_0x301f8c(0x1ef))/0x1*(parseInt(_0x301f8c(0x231))/0x2)+-parseInt(_0x301f8c(0x204))/0x3+parseInt(_0x301f8c(0x22f))/0x4+parseInt(_0x301f8c(0x21c))/0x5*(-parseInt(_0x301f8c(0x234))/0x6)+parseInt(_0x301f8c(0x1f6))/0x7*(-parseInt(_0x301f8c(0x206))/0x8)+parseInt(_0x301f8c(0x232))/0x9+parseInt(_0x301f8c(0x1e2))/0xa*(parseInt(_0x301f8c(0x22b))/0xb);if(_0x44be76===_0x2f1f66)break;else _0x5458bf['push'](_0x5458bf['shift']());}catch(_0x2c0b4c){_0x5458bf['push'](_0x5458bf['shift']());}}}(_0x81e8,0x80b71));import{Plugin as _0x347325}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x433b0b}from'./commands/footnotesstylecommand.js';function _0x2e27(_0x1f42a0,_0x4d03b3){const _0x81e82b=_0x81e8();return _0x2e27=function(_0x2e27b9,_0x14a5f3){_0x2e27b9=_0x2e27b9-0x1d2;let _0x232584=_0x81e82b[_0x2e27b9];return _0x232584;},_0x2e27(_0x1f42a0,_0x4d03b3);}function _0x81e8(){const _0x315abb=['1214fXWoCp','decimal','setFootnoteFormatter','mapper','removeAttribute','from','lower-roman','2590917qgNtkE','getStyle','footnotesDefinitions','start','_defineConverters','_formatFootnoteListValue','isOfficialPlugin','parent','type','toLowerCase','padStart','checkAttribute','element','setAttribute','1702356gQsZqy','footnotes.footnotesProperties.defaultStartIndex','8QKGzOm','requires','upper-alpha','consumable','commands','footnotesListStyle','attribute:footnotesListStart:footnotesDefinitions','getChildren','footnotes-list','get','pluginName','_updateFootnotesCounters','name','setStyle','differ','schema','registerPostFixer','hasClass','toUpperCase','_definePostfixer','getChanges','FootnotesPropertiesEditing','1395600OCuHWd','floor','define','position','init','document','lower-alpha','extend','footnotesStyle','add','upcast','item','lower-latin','footnotesListStart','toViewElement','54857KHQAEb','element:ol','model','_getDefaultStartIndex','4117580fhlFjD','decimal-leading-zero','778EHGqUf','250542gnnqvP','parseInt','6kVRrfq','modelCursor','removeStyle','find','config','nodeAfter','getAttribute','downcast','upper-latin','fromCharCode','isPremiumPlugin','plugins','_getDefaultListStyle','getItems','viewItem','upper-roman','consume','footnotes.footnotesProperties.defaultListStyle','$text','createRangeOn','430fCUwlL','_defineFormatter','insert','hasAttribute','max','writer','list-style-type','footnotesStart','attribute:footnotesListStyle:footnotesDefinitions','_defineSchema','for','isNaN','editor'];_0x81e8=function(){return _0x315abb;};return _0x81e8();}import{FootnotesStartCommand as _0x12e287}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x2533bf}from'../footnotestracker.js';import{FootnotesEditing as _0x30bc74}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x347325{static get[_0xc05839(0x210)](){const _0x1c2225=_0xc05839;return _0x1c2225(0x21b);}static get[_0xc05839(0x207)](){return[_0x30bc74,_0x2533bf];}static get[_0xc05839(0x1fc)](){return!0x0;}static get[_0xc05839(0x1d8)](){return!0x0;}[_0xc05839(0x220)](){const _0x3eb630=_0xc05839,{editor:_0x557f1f}=this;_0x557f1f[_0x3eb630(0x1d2)][_0x3eb630(0x21e)](_0x3eb630(0x1df),_0x3eb630(0x1f0)),_0x557f1f[_0x3eb630(0x1d2)][_0x3eb630(0x21e)](_0x3eb630(0x205),0x1),_0x557f1f[_0x3eb630(0x20a)][_0x3eb630(0x225)](_0x3eb630(0x224),new _0x433b0b(_0x557f1f)),_0x557f1f[_0x3eb630(0x20a)][_0x3eb630(0x225)](_0x3eb630(0x1e9),new _0x12e287(_0x557f1f)),this[_0x3eb630(0x1eb)](),this[_0x3eb630(0x1fa)](),this[_0x3eb630(0x1e3)](),this[_0x3eb630(0x219)]();}[_0xc05839(0x1eb)](){const _0x4f11ef=_0xc05839,{editor:_0x5ea8e1}=this,{schema:_0x1c62e2}=_0x5ea8e1[_0x4f11ef(0x22d)];_0x1c62e2[_0x4f11ef(0x223)](_0x4f11ef(0x1f8),{'allowAttributes':[_0x4f11ef(0x20b),_0x4f11ef(0x229)]});}[_0xc05839(0x1fa)](){const _0x328c63=_0xc05839,{editor:_0x5e896a}=this,{conversion:_0x546dc1,model:_0x516074}=_0x5e896a,{schema:_0x53f070}=_0x516074;_0x546dc1[_0x328c63(0x1ec)](_0x328c63(0x226))[_0x328c63(0x225)](_0x1392a6=>{const _0x59e165=_0x328c63;_0x1392a6['on'](_0x59e165(0x22c),(_0x172116,_0x369cde,_0xb1ec1c)=>{const _0x419167=_0x59e165,_0x599a27=_0x369cde[_0x419167(0x1dc)],_0x45eb01=_0x369cde[_0x419167(0x235)]?.[_0x419167(0x1fd)];_0x599a27[_0x419167(0x217)](_0x419167(0x20e))&&_0x45eb01?.['is'](_0x419167(0x202),_0x419167(0x1f8))&&(function(_0x509ccd,_0x1d94d6,_0x5a38b3,_0x504c40){const _0x4c84d6=_0x419167;if(!_0x504c40[_0x4c84d6(0x201)](_0x1d94d6,_0x4c84d6(0x229)))return;let _0x24a52a=0x1;const _0x38b610=_0x5a38b3[_0x4c84d6(0x209)][_0x4c84d6(0x1de)](_0x509ccd,{'attributes':_0x4c84d6(0x1f9)});if(_0x38b610){const _0x2d384b=Number[_0x4c84d6(0x233)](_0x509ccd[_0x4c84d6(0x1d4)](_0x4c84d6(0x1f9)),0xa);Number[_0x4c84d6(0x1ed)](_0x2d384b)||(_0x24a52a=_0x2d384b);}!_0x38b610&&_0x1d94d6[_0x4c84d6(0x1e5)](_0x4c84d6(0x229))||_0x5a38b3[_0x4c84d6(0x1e7)][_0x4c84d6(0x203)](_0x4c84d6(0x229),_0x24a52a,_0x1d94d6);}(_0x599a27,_0x45eb01,_0xb1ec1c,_0x53f070),function(_0x9fa5eb,_0x493857,_0x2bfcd9,_0x267c14){const _0x541f88=_0x419167;if(!_0x267c14[_0x541f88(0x201)](_0x493857,_0x541f88(0x20b)))return;let _0x4d7c39=_0x541f88(0x1f0),_0x1629e1=!0x1;if(_0x2bfcd9[_0x541f88(0x209)][_0x541f88(0x1de)](_0x9fa5eb,{'attributes':_0x541f88(0x1fe)})){const _0x27e2df={0x1:_0x541f88(0x1f0),'a':_0x541f88(0x222),'A':_0x541f88(0x208),'i':_0x541f88(0x1f5),'I':_0x541f88(0x1dd)}[_0x9fa5eb[_0x541f88(0x1d4)](_0x541f88(0x1fe))];_0x27e2df&&(_0x4d7c39=_0x27e2df),_0x1629e1=!0x0;}_0x2bfcd9[_0x541f88(0x209)][_0x541f88(0x1de)](_0x9fa5eb,{'styles':_0x541f88(0x1e8)})&&(_0x4d7c39=function(_0x40ed2f){const _0x3f7cf2=_0x541f88;switch(_0x40ed2f){case _0x3f7cf2(0x222):return _0x3f7cf2(0x228);case _0x3f7cf2(0x208):return _0x3f7cf2(0x1d6);default:return _0x40ed2f;}}(_0x9fa5eb[_0x541f88(0x1f7)](_0x541f88(0x1e8))),_0x1629e1=!0x0),!_0x1629e1&&_0x493857[_0x541f88(0x1e5)](_0x541f88(0x20b))||_0x2bfcd9[_0x541f88(0x1e7)][_0x541f88(0x203)](_0x541f88(0x20b),_0x4d7c39,_0x493857);}(_0x599a27,_0x45eb01,_0xb1ec1c,_0x53f070));});}),_0x546dc1[_0x328c63(0x1ec)](_0x328c63(0x1d5))[_0x328c63(0x225)](_0x32627d=>{const _0x173051=_0x328c63;_0x32627d['on'](_0x173051(0x20c),(_0x50300a,_0x10393e,_0xb431b0)=>{const _0x58e030=_0x173051;if(!_0xb431b0[_0x58e030(0x209)][_0x58e030(0x1de)](_0x10393e[_0x58e030(0x227)],_0x50300a[_0x58e030(0x212)]))return;const _0xfebf13=M(_0x10393e[_0x58e030(0x227)],_0xb431b0[_0x58e030(0x1f2)]),{attributeNewValue:_0x28819a}=_0x10393e;null==_0x28819a||0x1===_0x28819a?_0xb431b0[_0x58e030(0x1e7)][_0x58e030(0x1f3)](_0x58e030(0x1f9),_0xfebf13):_0xb431b0[_0x58e030(0x1e7)][_0x58e030(0x203)](_0x58e030(0x1f9),String(_0x28819a),_0xfebf13);}),_0x32627d['on'](_0x173051(0x1ea),(_0x144657,_0x395fcd,_0x4f68e2)=>{const _0x18c285=_0x173051;if(!_0x4f68e2[_0x18c285(0x209)][_0x18c285(0x1de)](_0x395fcd[_0x18c285(0x227)],_0x144657[_0x18c285(0x212)]))return;const _0x33a7b7=M(_0x395fcd[_0x18c285(0x227)],_0x4f68e2[_0x18c285(0x1f2)]),{attributeNewValue:_0x58f939}=_0x395fcd;_0x58f939&&_0x18c285(0x1f0)!==_0x58f939?_0x4f68e2[_0x18c285(0x1e7)][_0x18c285(0x213)](_0x18c285(0x1e8),_0x58f939,_0x33a7b7):_0x4f68e2[_0x18c285(0x1e7)][_0x18c285(0x236)](_0x18c285(0x1e8),_0x33a7b7);});});}[_0xc05839(0x219)](){const _0xc3f9d8=_0xc05839,{editor:_0x34f580}=this,{model:_0x1924cd}=_0x34f580,_0xfd0b1=_0x34f580[_0xc3f9d8(0x1d9)][_0xc3f9d8(0x20f)](_0x2533bf),_0x52110e=this[_0xc3f9d8(0x1da)](),_0xc43bc3=this[_0xc3f9d8(0x22e)]();_0x1924cd[_0xc3f9d8(0x221)][_0xc3f9d8(0x216)](_0x5dc7ee=>{const _0x6baa09=_0xc3f9d8,_0x147225=_0x1924cd[_0x6baa09(0x221)][_0x6baa09(0x214)][_0x6baa09(0x21a)]();let _0x532081=!0x1;for(const _0x371efa of _0x147225){if(_0x6baa09(0x1e4)!==_0x371efa[_0x6baa09(0x1fe)]||_0x6baa09(0x1e0)===_0x371efa[_0x6baa09(0x212)])continue;const _0x15852e=_0x1924cd[_0x6baa09(0x1e1)](_0x371efa[_0x6baa09(0x21f)][_0x6baa09(0x1d3)]);for(const _0x5ac8c9 of _0x15852e[_0x6baa09(0x1db)]())_0x5ac8c9['is'](_0x6baa09(0x202),_0x6baa09(0x1f8))&&(!_0x5ac8c9[_0x6baa09(0x1e5)](_0x6baa09(0x229))&&_0x1924cd[_0x6baa09(0x215)][_0x6baa09(0x201)](_0x5ac8c9,_0x6baa09(0x229))&&(_0x5dc7ee[_0x6baa09(0x203)](_0x6baa09(0x229),_0xc43bc3,_0x5ac8c9),_0x532081=!0x0),!_0x5ac8c9[_0x6baa09(0x1e5)](_0x6baa09(0x20b))&&_0x1924cd[_0x6baa09(0x215)][_0x6baa09(0x201)](_0x5ac8c9,_0x6baa09(0x20b))&&(_0x5dc7ee[_0x6baa09(0x203)](_0x6baa09(0x20b),_0x52110e,_0x5ac8c9),_0x532081=!0x0));}return _0x532081&&_0xfd0b1[_0x6baa09(0x211)](_0x5dc7ee),_0x532081;});}[_0xc05839(0x1e3)](){const _0x1650c4=_0xc05839,{editor:_0x3aa59c}=this;_0x3aa59c[_0x1650c4(0x1d9)][_0x1650c4(0x20f)](_0x2533bf)[_0x1650c4(0x1f1)](_0x12a591=>this[_0x1650c4(0x1fb)](_0x12a591));}[_0xc05839(0x1da)](){const _0x4f9e03=_0xc05839;return this[_0x4f9e03(0x1ee)][_0x4f9e03(0x1d2)][_0x4f9e03(0x20f)](_0x4f9e03(0x1df));}[_0xc05839(0x22e)](){const _0x4e1191=_0xc05839;return this[_0x4e1191(0x1ee)][_0x4e1191(0x1d2)][_0x4e1191(0x20f)](_0x4e1191(0x205));}[_0xc05839(0x1fb)]({container:_0x4ead5a,value:_0x3912a2,digits:_0x2b412f}){const _0x3f56b1=_0xc05839,_0x186f95=_0x4ead5a[_0x3f56b1(0x1d4)](_0x3f56b1(0x20b)),_0x5e30d6=_0x4ead5a[_0x3f56b1(0x1d4)](_0x3f56b1(0x229)),_0x1bc86a=Math[_0x3f56b1(0x21d)](_0x3912a2)+(_0x5e30d6??0x1)-0x1;switch(_0x186f95){case _0x3f56b1(0x230):return function(_0x4a5280,_0x2a789a){const _0x14bf74=_0x3f56b1;return String(_0x4a5280)[_0x14bf74(0x200)](_0x2a789a,'0');}(_0x1bc86a,Math[_0x3f56b1(0x1e6)](0x2,_0x2b412f));case _0x3f56b1(0x222):case _0x3f56b1(0x228):return N(_0x1bc86a,!0x1);case _0x3f56b1(0x208):case _0x3f56b1(0x1d6):return N(_0x1bc86a,!0x0);case _0x3f56b1(0x1f5):return X(_0x1bc86a,!0x1);case _0x3f56b1(0x1dd):return X(_0x1bc86a,!0x0);default:return String(_0x1bc86a);}}}function M(_0x2eb160,_0x5c74a2){const _0x133d78=_0xc05839,_0x2ae031=_0x5c74a2[_0x133d78(0x22a)](_0x2eb160);return Array[_0x133d78(0x1f4)](_0x2ae031[_0x133d78(0x20d)]())[_0x133d78(0x237)](_0x3db39c=>_0x3db39c['is'](_0x133d78(0x202),'ol')&&_0x3db39c[_0x133d78(0x217)](_0x133d78(0x20e)));}function N(_0x37dd20,_0x3dae71){const _0x55e9eb=_0xc05839;let _0x1968a8='',_0x11bdd8=_0x37dd20;for(;_0x11bdd8>0x0;){const _0x357e4d=(_0x11bdd8-0x1)%0x1a;_0x1968a8=String[_0x55e9eb(0x1d7)](0x61+_0x357e4d)+_0x1968a8,_0x11bdd8=Math[_0x55e9eb(0x21d)]((_0x11bdd8-0x1)/0x1a);}return _0x3dae71?_0x1968a8[_0x55e9eb(0x218)]():_0x1968a8;}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(_0x36c3e3,_0x44d68f){const _0x16bb63=_0xc05839;let _0x1d177b='',_0x71226d=_0x36c3e3;for(const {value:_0x5c40b9,numeral:_0x690f2b}of V)for(;_0x71226d>=_0x5c40b9;)_0x1d177b+=_0x690f2b,_0x71226d-=_0x5c40b9;return _0x44d68f?_0x1d177b:_0x1d177b[_0x16bb63(0x1ff)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x1e3df5,ButtonView as _0xc255e1,ContextualBalloon as _0x252a92,createDropdown as _0x17a557}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x3deeb9}from'ckeditor5/src/widget.js';import{Plugin as _0x2502c8}from'ckeditor5/src/core.js';import{IconFootnote as _0x5128c2,IconListStyleDecimal as _0x469f69,IconListStyleDecimalLeadingZero as _0x3c83f8,IconListStyleLowerLatin as _0x4ef402,IconListStyleLowerRoman as _0x1e6893,IconListStyleUpperLatin as _0x19789c,IconListStyleUpperRoman as _0x40cf9e}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4e5bdb}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x54d30b}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2502c8{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x252a92,_0x3deeb9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a13b8}=this,{componentFactory:_0x171e67}=_0x2a13b8['ui'];_0x2a13b8['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x171e67['add']('footnotesStyle',function(_0x1fa77e){return _0xa5a4ed=>{const {t:t}=_0xa5a4ed,_0x34184c=_0x1fa77e['commands']['get']('footnotesStyle'),_0x37affa=_0x17a557(_0xa5a4ed),{buttonView:_0x3400a3}=_0x37affa;return _0x37affa['class']='ck-footnotes-styles-dropdown',_0x37affa['bind']('isEnabled')['to'](_0x34184c,'isEnabled'),_0x3400a3['set']({'label':t('Footnotes\x20style'),'icon':_0x5128c2,'tooltip':!0x0}),_0x37affa['once']('change:isOpen',()=>{const _0x51edb1=function({editor:_0x311eb3,dropdownView:_0x486633}){const {t:t}=_0x311eb3['locale'],_0x356b89=t('Footnotes\x20definitions\x20styles'),_0x8b6af=function(_0x21108b){const t=_0x21108b['locale']['t'],_0x1997d6=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x469f69},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3c83f8},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1e6893},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x40cf9e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4ef402},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x19789c}];return _0x1997d6['map'](function(_0x573963){const _0x337266=_0x573963['locale'];return({label:_0x381aad,icon:_0x312488,tooltip:_0x408f68,style:_0x31aa29})=>{const _0xc4e8ad=_0x573963['commands']['get']('footnotesStyle'),_0x4fa880=new _0xc255e1(_0x337266);return _0x4fa880['set']({'label':_0x381aad,'icon':_0x312488,'tooltip':_0x408f68}),_0x4fa880['bind']('isOn')['to'](_0xc4e8ad,'value',_0x4e8ad8=>_0x4e8ad8===_0x31aa29),_0x4fa880['bind']('isEnabled')['to'](_0xc4e8ad,'isEnabled'),_0x4fa880['on']('execute',()=>{_0x573963['execute']('footnotesStyle',{'value':_0x31aa29}),_0x573963['editing']['view']['focus']();}),_0x4fa880;};}(_0x21108b));}(_0x311eb3),_0x1b6ca0=new _0x4e5bdb(_0x311eb3['locale'],{'styleGridAriaLabel':_0x356b89,'styleButtonViews':_0x8b6af}),_0x442e44=_0x311eb3['commands']['get']('footnotesStart');return _0x1b6ca0['startIndexFieldView']['bind']('isEnabled')['to'](_0x442e44),_0x1b6ca0['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x442e44),_0x1b6ca0['on']('footnotesListStart',(_0x329ca2,_0x19416c)=>{_0x311eb3['execute']('footnotesStart',{'value':_0x19416c['startIndex']});}),_0x1b6ca0['delegate']('execute')['to'](_0x486633),_0x1b6ca0;}({'editor':_0x1fa77e,'dropdownView':_0x37affa});_0x37affa['panelView']['children']['add'](_0x51edb1);}),_0x37affa;};}(_0x2a13b8));}['afterInit'](){const {editor:_0x3cbebd}=this,{t:t}=_0x3cbebd['locale'],_0x30cb41=_0x3cbebd['plugins']['get'](_0x3deeb9),{defaultPositions:_0x37b3fc}=_0x1e3df5;_0x30cb41['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3cbebd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x24fcb0=>{let _0x2d3f7f=_0x24fcb0['getFirstPosition']()?.['parent'];return _0x2d3f7f?.['is']('$text')&&(_0x2d3f7f=_0x2d3f7f['parent']),_0x2d3f7f?.['is']('element')?_0x2d3f7f['findAncestor'](_0x54d30b):null;},'positions':[_0x37b3fc['southArrowNorth'],_0x37b3fc['southArrowNorthMiddleWest'],_0x37b3fc['southArrowNorthMiddleEast'],_0x37b3fc['southArrowNorthWest'],_0x37b3fc['southArrowNorthEast'],_0x37b3fc['northArrowSouth'],_0x37b3fc['northArrowSouthMiddleWest'],_0x37b3fc['northArrowSouthMiddleEast'],_0x37b3fc['northArrowSouthWest'],_0x37b3fc['northArrowSouthEast'],_0x37b3fc['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x26d817,ButtonView as _0x52895b,ContextualBalloon as _0x4c4f1e,createDropdown as _0x123a69}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x57ebed}from'ckeditor5/src/widget.js';import{Plugin as _0x13ae56}from'ckeditor5/src/core.js';import{IconFootnote as _0x9ade99,IconListStyleDecimal as _0x2b50d8,IconListStyleDecimalLeadingZero as _0x51a853,IconListStyleLowerLatin as _0x17fe2f,IconListStyleLowerRoman as _0x43a4ca,IconListStyleUpperLatin as _0x479ab1,IconListStyleUpperRoman as _0x28181e}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x27415f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x53aea7}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x13ae56{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4c4f1e,_0x57ebed];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f0140}=this,{componentFactory:_0x40efa3}=_0x4f0140['ui'];_0x4f0140['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x40efa3['add']('footnotesStyle',function(_0x77283a){return _0x4f93e7=>{const {t:t}=_0x4f93e7,_0x418497=_0x77283a['commands']['get']('footnotesStyle'),_0x4930b0=_0x123a69(_0x4f93e7),{buttonView:_0x51e1cc}=_0x4930b0;return _0x4930b0['class']='ck-footnotes-styles-dropdown',_0x4930b0['bind']('isEnabled')['to'](_0x418497,'isEnabled'),_0x51e1cc['set']({'label':t('Footnotes\x20style'),'icon':_0x9ade99,'tooltip':!0x0}),_0x4930b0['once']('change:isOpen',()=>{const _0x5e4d46=function({editor:_0x4b9165,dropdownView:_0x2dc7e1}){const {t:t}=_0x4b9165['locale'],_0x4b3715=t('Footnotes\x20definitions\x20styles'),_0xa20486=function(_0x5d6e32){const t=_0x5d6e32['locale']['t'],_0xa54c8d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2b50d8},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x51a853},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x43a4ca},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x28181e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x17fe2f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x479ab1}];return _0xa54c8d['map'](function(_0x32f2b7){const _0x584002=_0x32f2b7['locale'];return({label:_0xf2ef17,icon:_0x12795f,tooltip:_0x108354,style:_0x392acc})=>{const _0x274b83=_0x32f2b7['commands']['get']('footnotesStyle'),_0x9c0aa2=new _0x52895b(_0x584002);return _0x9c0aa2['set']({'label':_0xf2ef17,'icon':_0x12795f,'tooltip':_0x108354}),_0x9c0aa2['bind']('isOn')['to'](_0x274b83,'value',_0x344fc9=>_0x344fc9===_0x392acc),_0x9c0aa2['bind']('isEnabled')['to'](_0x274b83,'isEnabled'),_0x9c0aa2['on']('execute',()=>{_0x32f2b7['execute']('footnotesStyle',{'value':_0x392acc}),_0x32f2b7['editing']['view']['focus']();}),_0x9c0aa2;};}(_0x5d6e32));}(_0x4b9165),_0x45d7e1=new _0x27415f(_0x4b9165['locale'],{'styleGridAriaLabel':_0x4b3715,'styleButtonViews':_0xa20486}),_0x42ef93=_0x4b9165['commands']['get']('footnotesStart');return _0x45d7e1['startIndexFieldView']['bind']('isEnabled')['to'](_0x42ef93),_0x45d7e1['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x42ef93),_0x45d7e1['on']('footnotesListStart',(_0x2c42f3,_0x3b063b)=>{_0x4b9165['execute']('footnotesStart',{'value':_0x3b063b['startIndex']});}),_0x45d7e1['delegate']('execute')['to'](_0x2dc7e1),_0x45d7e1;}({'editor':_0x77283a,'dropdownView':_0x4930b0});_0x4930b0['panelView']['children']['add'](_0x5e4d46);}),_0x4930b0;};}(_0x4f0140));}['afterInit'](){const {editor:_0x172aa5}=this,{t:t}=_0x172aa5['locale'],_0x3f131f=_0x172aa5['plugins']['get'](_0x57ebed),{defaultPositions:_0x22c986}=_0x26d817;_0x3f131f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x172aa5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1bd100=>{let _0x4f1e89=_0x1bd100['getFirstPosition']()?.['parent'];return _0x4f1e89?.['is']('$text')&&(_0x4f1e89=_0x4f1e89['parent']),_0x4f1e89?.['is']('element')?_0x4f1e89['findAncestor'](_0x53aea7):null;},'positions':[_0x22c986['southArrowNorth'],_0x22c986['southArrowNorthMiddleWest'],_0x22c986['southArrowNorthMiddleEast'],_0x22c986['southArrowNorthWest'],_0x22c986['southArrowNorthEast'],_0x22c986['northArrowSouth'],_0x22c986['northArrowSouthMiddleWest'],_0x22c986['northArrowSouthMiddleEast'],_0x22c986['northArrowSouthWest'],_0x22c986['northArrowSouthEast'],_0x22c986['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x31b767,View as _0xc6744f,ViewCollection as _0x1e9873,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0xc6744f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1e9873();['focusCycler'];constructor(_0x3ee26c,{styleButtonViews:_0x18e695,styleGridAriaLabel:_0x53b5de}){super(_0x3ee26c),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x18e695,_0x53b5de),[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 _0x588b3b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x588b3b['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1008f3=_0x228bb8=>_0x228bb8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1008f3),this['keystrokes']['set']('arrowleft',_0x1008f3),this['keystrokes']['set']('arrowup',_0x1008f3),this['keystrokes']['set']('arrowdown',_0x1008f3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1d6311,_0x1450d3){const _0x45a043=new _0xc6744f(this['locale']);return _0x45a043['children']=_0x45a043['createCollection'](),_0x45a043['children']['addMany'](_0x1d6311),_0x45a043['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1450d3,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x45a043['children']}),_0x45a043['children']['delegate']('execute')['to'](this),_0x45a043['focus']=function(){for(const _0x174f0b of this['children'])if(_0x174f0b instanceof _0x31b767&&_0x174f0b['isOn'])return void _0x174f0b['focus']();this['children']['first']['focus']();},_0x45a043['focusTracker']=new rt(),_0x45a043['keystrokes']=new nt(),_0x45a043['render'](),_0x45a043['keystrokes']['listenTo'](_0x45a043['element']),this['children']['add'](_0x45a043),_0x45a043;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x136bae=this['_createStartIndexPropertyView'](),_0x524b77=[_0x136bae],_0x5d76f6=new it(this['locale'],_0x524b77);return _0x5d76f6['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5d76f6['buttonView']['bind']('isEnabled')['toMany'](_0x524b77,'isEnabled',(..._0x5295fc)=>_0x5295fc['some'](_0x130ecb=>_0x130ecb)),_0x5d76f6['buttonView']['on']('change:isEnabled',(_0x4f00a3,_0x3b5968,_0x30f40f)=>{_0x30f40f||(_0x5d76f6['isCollapsed']=!0x0);}),this['children']['add'](_0x5d76f6),[_0x136bae,_0x5d76f6];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x18b9b2=new et(this['locale'],ot);return _0x18b9b2['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x18b9b2['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x18b9b2['fieldView']['on']('input',()=>{const _0x424299=_0x18b9b2['fieldView']['element'],_0x69e6ed=_0x424299['valueAsNumber'];Number['isNaN'](_0x69e6ed)?_0x18b9b2['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x424299['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x69e6ed}):_0x18b9b2['errorText']=t(_0x69e6ed<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x18b9b2;}}
23
+ import{ButtonView as _0x177f56,View as _0x2b89b5,ViewCollection as _0x5b94cd,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x2b89b5{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x5b94cd();['focusCycler'];constructor(_0x25168c,{styleButtonViews:_0x35b2d6,styleGridAriaLabel:_0x546a5b}){super(_0x25168c),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x35b2d6,_0x546a5b),[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 _0x730f7c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x730f7c['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x10c015=_0x373b31=>_0x373b31['stopPropagation']();this['keystrokes']['set']('arrowright',_0x10c015),this['keystrokes']['set']('arrowleft',_0x10c015),this['keystrokes']['set']('arrowup',_0x10c015),this['keystrokes']['set']('arrowdown',_0x10c015);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x96f181,_0x3601f9){const _0x46ad54=new _0x2b89b5(this['locale']);return _0x46ad54['children']=_0x46ad54['createCollection'](),_0x46ad54['children']['addMany'](_0x96f181),_0x46ad54['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3601f9,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x46ad54['children']}),_0x46ad54['children']['delegate']('execute')['to'](this),_0x46ad54['focus']=function(){for(const _0x24e8d1 of this['children'])if(_0x24e8d1 instanceof _0x177f56&&_0x24e8d1['isOn'])return void _0x24e8d1['focus']();this['children']['first']['focus']();},_0x46ad54['focusTracker']=new rt(),_0x46ad54['keystrokes']=new nt(),_0x46ad54['render'](),_0x46ad54['keystrokes']['listenTo'](_0x46ad54['element']),this['children']['add'](_0x46ad54),_0x46ad54;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5391c0=this['_createStartIndexPropertyView'](),_0x1073cf=[_0x5391c0],_0x130345=new it(this['locale'],_0x1073cf);return _0x130345['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x130345['buttonView']['bind']('isEnabled')['toMany'](_0x1073cf,'isEnabled',(..._0x414431)=>_0x414431['some'](_0x5de885=>_0x5de885)),_0x130345['buttonView']['on']('change:isEnabled',(_0x136a7f,_0x3eda59,_0x440e70)=>{_0x440e70||(_0x130345['isCollapsed']=!0x0);}),this['children']['add'](_0x130345),[_0x5391c0,_0x130345];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1d917f=new et(this['locale'],ot);return _0x1d917f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1d917f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1d917f['fieldView']['on']('input',()=>{const _0x4d21e7=_0x1d917f['fieldView']['element'],_0x6100db=_0x4d21e7['valueAsNumber'];Number['isNaN'](_0x6100db)?_0x1d917f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4d21e7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x6100db}):_0x1d917f['errorText']=t(_0x6100db<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1d917f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x55b12d=_0x5a00;(function(_0x4d3c06,_0x50633e){var _0x2deb2d=_0x5a00,_0x3c99c6=_0x4d3c06();while(!![]){try{var _0x23afcf=parseInt(_0x2deb2d(0x117))/0x1*(parseInt(_0x2deb2d(0x11d))/0x2)+-parseInt(_0x2deb2d(0x118))/0x3*(-parseInt(_0x2deb2d(0x113))/0x4)+parseInt(_0x2deb2d(0x110))/0x5*(parseInt(_0x2deb2d(0x11c))/0x6)+parseInt(_0x2deb2d(0x116))/0x7+-parseInt(_0x2deb2d(0x115))/0x8*(parseInt(_0x2deb2d(0x119))/0x9)+-parseInt(_0x2deb2d(0x10f))/0xa+parseInt(_0x2deb2d(0x11b))/0xb*(parseInt(_0x2deb2d(0x11a))/0xc);if(_0x23afcf===_0x50633e)break;else _0x3c99c6['push'](_0x3c99c6['shift']());}catch(_0x435bf8){_0x3c99c6['push'](_0x3c99c6['shift']());}}}(_0x4ea4,0x5cadc));function _0x5a00(_0x4dc1cb,_0x26cf12){var _0x4ea474=_0x4ea4();return _0x5a00=function(_0x5a00b0,_0x1398d5){_0x5a00b0=_0x5a00b0-0x10e;var _0x26d069=_0x4ea474[_0x5a00b0];return _0x26d069;},_0x5a00(_0x4dc1cb,_0x26cf12);}import{Plugin as _0xf2a74e}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0xc5cf18}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4ea4(){var _0x335eac=['5960qRULmV','isPremiumPlugin','253880btZeLN','952035ujKZgH','573201jSifEL','138zMqLKd','171RUYMHo','12scNyRy','1870275VQmfTy','5862zltmYT','2bQqmbh','isOfficialPlugin','pluginName','2993280MRrvDO','1710mnCGtx','requires','FootnotesProperties'];_0x4ea4=function(){return _0x335eac;};return _0x4ea4();}import{FootnotesPropertiesUI as _0x4934e2}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xf2a74e{static get[_0x55b12d(0x10e)](){var _0x3b1f31=_0x55b12d;return _0x3b1f31(0x112);}static get[_0x55b12d(0x111)](){return[_0xc5cf18,_0x4934e2];}static get[_0x55b12d(0x11e)](){return!0x0;}static get[_0x55b12d(0x114)](){return!0x0;}}
23
+ var _0x23a6b7=_0x1bd7;function _0x1fa4(){var _0x367719=['120ZdjxJb','7odcWyK','128460qLfmgO','requires','isOfficialPlugin','3622473nRrXfx','11232064vjLBJC','2578536BpYnpA','113277RFiWvA','pluginName','FootnotesProperties','841328OzLavA','isPremiumPlugin','72AMTVtA','2768650qWqkzE'];_0x1fa4=function(){return _0x367719;};return _0x1fa4();}(function(_0x466dea,_0x5a5c14){var _0x35e134=_0x1bd7,_0x49c7a6=_0x466dea();while(!![]){try{var _0x149a2c=parseInt(_0x35e134(0xbb))/0x1+parseInt(_0x35e134(0xbd))/0x2*(-parseInt(_0x35e134(0xb8))/0x3)+parseInt(_0x35e134(0xb7))/0x4+-parseInt(_0x35e134(0xbf))/0x5*(parseInt(_0x35e134(0xc1))/0x6)+-parseInt(_0x35e134(0xc0))/0x7*(-parseInt(_0x35e134(0xb6))/0x8)+-parseInt(_0x35e134(0xb5))/0x9+parseInt(_0x35e134(0xbe))/0xa;if(_0x149a2c===_0x5a5c14)break;else _0x49c7a6['push'](_0x49c7a6['shift']());}catch(_0x2d95d5){_0x49c7a6['push'](_0x49c7a6['shift']());}}}(_0x1fa4,0xd9926));import{Plugin as _0x59bb57}from'ckeditor5/src/core.js';function _0x1bd7(_0x571be6,_0x33c5e2){var _0x1fa430=_0x1fa4();return _0x1bd7=function(_0x1bd742,_0x4cedb1){_0x1bd742=_0x1bd742-0xb4;var _0x26d7cd=_0x1fa430[_0x1bd742];return _0x26d7cd;},_0x1bd7(_0x571be6,_0x33c5e2);}import{FootnotesPropertiesEditing as _0x24bbbf}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x368a7a}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x59bb57{static get[_0x23a6b7(0xb9)](){var _0x45f994=_0x23a6b7;return _0x45f994(0xba);}static get[_0x23a6b7(0xc2)](){return[_0x24bbbf,_0x368a7a];}static get[_0x23a6b7(0xb4)](){return!0x0;}static get[_0x23a6b7(0xbc)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3d54(_0x9262cc,_0x3e0294){const _0x874bf9=_0x874b();return _0x3d54=function(_0x3d541e,_0x3349f1){_0x3d541e=_0x3d541e-0x80;let _0x25876d=_0x874bf9[_0x3d541e];return _0x25876d;},_0x3d54(_0x9262cc,_0x3e0294);}const _0x13dd30=_0x3d54;(function(_0x31ec2e,_0x2a1cc9){const _0x8e75e3=_0x3d54,_0x24bbde=_0x31ec2e();while(!![]){try{const _0x291914=-parseInt(_0x8e75e3(0xae))/0x1*(parseInt(_0x8e75e3(0x97))/0x2)+parseInt(_0x8e75e3(0xaa))/0x3+-parseInt(_0x8e75e3(0xc2))/0x4*(-parseInt(_0x8e75e3(0xba))/0x5)+parseInt(_0x8e75e3(0xd9))/0x6*(parseInt(_0x8e75e3(0xa8))/0x7)+-parseInt(_0x8e75e3(0x82))/0x8*(parseInt(_0x8e75e3(0x8e))/0x9)+parseInt(_0x8e75e3(0x90))/0xa+parseInt(_0x8e75e3(0xad))/0xb*(-parseInt(_0x8e75e3(0xcd))/0xc);if(_0x291914===_0x2a1cc9)break;else _0x24bbde['push'](_0x24bbde['shift']());}catch(_0x512d36){_0x24bbde['push'](_0x24bbde['shift']());}}}(_0x874b,0xedafb));function _0x874b(){const _0x1b1a1b=['childCount','_handleMovedFootnoteReference','_handleFootnoteDefinitionsChanges','footnotes.multiBlock','model','indexOf','min','change:data','reference','compareWith','definition','5337LOpxdM','add','18740810nOnKQX','getAttribute','_updateFootnoteRefCounter','_updateFootnotesCounters','_handleFootnoteReferencesChanges','push','singleton','193958rybZRI','getChanges','isEqual','_footnotesDefinitions','reset','differ','high','after','getChildren','rootName','_handleFootnotesDefinitionsObjectSync','createElement','_insertEmptyFootnotesDefinitionsContainer','footnoteCounter','_footnotes','footnotesDefinitions','getFootnotesDefinitionsObjectElement','238olDNuq','_footnoteDefsTracker','4092540wiafWy','unshift','_handleInsertedFootnoteReference','11rkSsUq','8hcMpYk','end','init','pluginName','set','setAttribute','insert','footnoteDefinition','_sortFootnoteDefinitions','from','_ensureFootnotesReferencesHaveProperOrder','listenTo','576090NuXyKu','length','FootnotesTracker','createRangeOn','isPremiumPlugin','document','getRootNames','createPositionAt','28qvUKJQ','enqueueChange','find','setFootnoteFormatter','config','createPositionBefore','_handleRemoveFootnoteReferenceById','some','splice','get','move','17148756elngkc','getFootnote','parent','has','createRangeIn','footnoteInlineContent','findIndex','_footnoteRefsTracker','footnoteRef','remove','getFootnotes','registerPostFixer','77028TKrrlX','_footnoteDefsContainerTracker','before','$graveyard','append','paragraph','footnoteId','root','map','_handleFootnotesDefinitionsObjectChanges','editor','getFootnotesFormatter','isOfficialPlugin','low','_ensureFootnotesDefinitionsContainerExists','_footnoteFormatter','17576SERAKd'];_0x874b=function(){return _0x1b1a1b;};return _0x874b();}import{Plugin as _0x8b85b0}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5b6602}from'./modelelementtracker.js';export class FootnotesTracker extends _0x8b85b0{[_0x13dd30(0xa5)]=[];[_0x13dd30(0x9a)]=null;[_0x13dd30(0x81)]=null;[_0x13dd30(0xda)];[_0x13dd30(0xd4)];[_0x13dd30(0xa9)];static get[_0x13dd30(0xb1)](){const _0xb9422c=_0x13dd30;return _0xb9422c(0xbc);}static get[_0x13dd30(0xe5)](){return!0x0;}static get[_0x13dd30(0xbe)](){return!0x0;}constructor(_0x13fb56){const _0x288971=_0x13dd30;super(_0x13fb56),this[_0x288971(0xda)]=new _0x5b6602(this[_0x288971(0xe3)][_0x288971(0x87)],{'elementName':_0x288971(0xa6),'getElementKey':()=>_0x288971(0x96)}),this[_0x288971(0xd4)]=new _0x5b6602(this[_0x288971(0xe3)][_0x288971(0x87)],{'elementName':_0x288971(0xd5),'getElementKey':_0x5f516a=>_0x5f516a[_0x288971(0x91)](_0x288971(0xdf))}),this[_0x288971(0xa9)]=new _0x5b6602(this[_0x288971(0xe3)][_0x288971(0x87)],{'elementName':_0x288971(0xb5),'getElementKey':_0x4ecb99=>_0x4ecb99[_0x288971(0x91)](_0x288971(0xdf))});}[_0x13dd30(0xb0)](){const _0x42a17c=_0x13dd30,{editor:_0xb34813}=this,{model:_0x37d7b1,data:_0x5e7d04}=_0xb34813;_0x37d7b1[_0x42a17c(0xbf)][_0x42a17c(0xd8)](_0x153684=>{const _0x5aedae=_0x42a17c,_0x168170=_0x37d7b1[_0x5aedae(0xbf)][_0x5aedae(0x9c)][_0x5aedae(0x98)]();let _0x596386=!0x1;return this[_0x5aedae(0xe2)](_0x153684,_0x168170)&&(_0x596386=!0x0),this[_0x5aedae(0x85)](_0x153684,_0x168170)&&(_0x596386=!0x0),this[_0x5aedae(0x94)](_0x153684,_0x168170)&&(_0x596386=!0x0),this[_0x5aedae(0xb8)](_0x153684)&&(_0x596386=!0x0),this[_0x5aedae(0xa1)](_0x153684)&&(_0x596386=!0x0),this[_0x5aedae(0xb6)](_0x153684)&&(_0x596386=!0x0),_0x596386;}),this[_0x42a17c(0xb9)](_0x37d7b1[_0x42a17c(0xbf)],_0x42a17c(0x8a),()=>{const _0x490234=_0x42a17c;_0x37d7b1[_0x490234(0xc3)]({'isUndoable':!0x1},_0x423701=>{const _0x2eab66=_0x490234;this[_0x2eab66(0x80)](_0x423701);});},{'priority':_0x42a17c(0xe6)}),this[_0x42a17c(0xb9)](_0x5e7d04,_0x42a17c(0xb2),()=>{const _0x37abc0=_0x42a17c;this[_0x37abc0(0xa5)]=[],this[_0x37abc0(0xda)][_0x37abc0(0x9b)](),this[_0x37abc0(0xd4)][_0x37abc0(0x9b)](),this[_0x37abc0(0xa9)][_0x37abc0(0x9b)]();},{'priority':_0x42a17c(0x9d)});}[_0x13dd30(0xa7)](){const _0x12a2d6=_0x13dd30;return this[_0x12a2d6(0x9a)];}[_0x13dd30(0xce)](_0x131828){const _0x5d79b1=_0x13dd30;return this[_0x5d79b1(0xa5)][_0x5d79b1(0xc4)](_0x105fda=>_0x105fda['id']===_0x131828)||null;}[_0x13dd30(0xd7)](){const _0x243acb=_0x13dd30;return Array[_0x243acb(0xb7)](this[_0x243acb(0xa5)]);}[_0x13dd30(0xe4)](){const _0x30a9b6=_0x13dd30;return this[_0x30a9b6(0x81)];}[_0x13dd30(0xc5)](_0x26ab2f){const _0x117ee6=_0x13dd30;this[_0x117ee6(0x81)]=_0x26ab2f;}[_0x13dd30(0x93)](_0xe16a43,_0x3ec65f=0x0){const _0x4f3aa0=_0x13dd30;let _0xe58636=!0x1;for(let _0x35c065=_0x3ec65f;_0x35c065<this[_0x4f3aa0(0xa5)][_0x4f3aa0(0xbb)];_0x35c065++)this[_0x4f3aa0(0x92)](_0xe16a43,_0x35c065)&&(_0xe58636=!0x0);return _0xe58636;}[_0x13dd30(0xa3)](_0xcf5bf3,_0x2d24a2){const _0x2158fa=_0x13dd30,_0x3d7fc7=_0xcf5bf3[_0x2158fa(0xa2)](_0x2158fa(0xa6),{});return _0xcf5bf3[_0x2158fa(0xdd)](_0x3d7fc7,_0x2d24a2),this[_0x2158fa(0x9a)]=_0x3d7fc7,_0x3d7fc7;}[_0x13dd30(0x80)](_0x2592a2){const _0xefc172=_0x13dd30;if(!this[_0xefc172(0xa5)][_0xefc172(0xbb)]||this[_0xefc172(0x9a)])return;const _0xe212c8=this[_0xefc172(0xa5)][0x0][_0xefc172(0x8b)][_0xefc172(0xe0)],_0x4713f2=this[_0xefc172(0xa3)](_0x2592a2,_0xe212c8);for(const _0x4289ba of this[_0xefc172(0xa5)])_0x4289ba[_0xefc172(0x8d)][_0xefc172(0xcf)]||_0x2592a2[_0xefc172(0xb4)](_0x4289ba[_0xefc172(0x8d)],_0x4713f2,_0xefc172(0xaf));this[_0xefc172(0x93)](_0x2592a2);}[_0x13dd30(0xe2)](_0x31cc66,_0x4ea81a){const _0xebb84b=_0x13dd30;let _0x2e7c7f=!0x1;const {inserted:_0x1abae3,removed:_0x3dd715,moved:_0x2396cb}=this[_0xebb84b(0xda)][_0xebb84b(0x98)](_0x4ea81a);if(_0x2396cb[_0xebb84b(0xbb)]&&(this[_0xebb84b(0x9a)]=_0x2396cb[0x0]),_0x1abae3[_0xebb84b(0xbb)]){if(_0x1abae3[_0xebb84b(0xbb)]>0x1||this[_0xebb84b(0x9a)]&&_0x1abae3[_0xebb84b(0xc9)](_0x1130d2=>_0x1130d2!==this[_0xebb84b(0x9a)])){const _0x7dbe0e=_0x31cc66[_0xebb84b(0xa2)](_0xebb84b(0xa6),{}),_0xc6c5cf=[];this[_0xebb84b(0x9a)]&&_0xc6c5cf[_0xebb84b(0x95)](this[_0xebb84b(0x9a)]),_0xc6c5cf[_0xebb84b(0x95)](..._0x1abae3),_0x31cc66[_0xebb84b(0xb4)](_0x7dbe0e,_0xc6c5cf[0x0],_0xebb84b(0xdb));for(const _0x87d652 of _0xc6c5cf)_0x31cc66[_0xebb84b(0xcc)](_0x31cc66[_0xebb84b(0xd1)](_0x87d652),_0x31cc66[_0xebb84b(0xc1)](_0x7dbe0e,_0xebb84b(0xaf))),_0x31cc66[_0xebb84b(0xd6)](_0x87d652);this[_0xebb84b(0x9a)]=_0x7dbe0e,this[_0xebb84b(0x93)](_0x31cc66),_0x2e7c7f=!0x0;}else this[_0xebb84b(0x9a)]=_0x1abae3[0x0];}if(_0x3dd715[_0xebb84b(0xbb)]&&_0xebb84b(0xdc)===this[_0xebb84b(0x9a)]?.[_0xebb84b(0xe0)][_0xebb84b(0xa0)]){for(const _0x3971ed of this[_0xebb84b(0xa5)])_0x31cc66[_0xebb84b(0xd6)](_0x3971ed[_0xebb84b(0x8b)]),_0x2e7c7f=!0x0;this[_0xebb84b(0xa5)]=[],this[_0xebb84b(0x9a)]=null;}return _0x2e7c7f;}[_0x13dd30(0x85)](_0x9f272b,_0x17e4fb){const _0xc1d950=_0x13dd30;let _0x51ec39=!0x1;const _0x418f4b=this[_0xc1d950(0xe3)][_0xc1d950(0xc6)][_0xc1d950(0xcb)](_0xc1d950(0x86)),{inserted:_0x441c4e,moved:_0x5e4e6c}=this[_0xc1d950(0xa9)][_0xc1d950(0x98)](_0x17e4fb);for(const _0x940858 of[..._0x5e4e6c,..._0x441c4e]){const _0x1cdf87=_0x940858[_0xc1d950(0x91)](_0xc1d950(0xdf)),_0x336d41=this[_0xc1d950(0xce)](_0x1cdf87);_0x336d41&&(_0x336d41[_0xc1d950(0x8d)]=_0x940858),_(_0x9f272b,_0x418f4b,_0x940858)&&(_0x51ec39=!0x0);}return _0x51ec39;}[_0x13dd30(0x94)](_0x347d3d,_0x4c59ca){const _0x35fae1=_0x13dd30;let _0x1bf9ad=!0x1;const {removed:_0x4e1fd4,inserted:_0x41aaf6,moved:_0xbee70b}=this[_0x35fae1(0xd4)][_0x35fae1(0x98)](_0x4c59ca);for(const _0x5e4c10 of _0x4e1fd4)this[_0x35fae1(0xc8)](_0x347d3d,_0x5e4c10)&&(_0x1bf9ad=!0x0);for(const _0x42e83a of _0x41aaf6)this[_0x35fae1(0xac)](_0x347d3d,_0x42e83a)&&(_0x1bf9ad=!0x0);for(const _0x82443c of _0xbee70b)this[_0x35fae1(0x84)](_0x347d3d,_0x82443c)&&(_0x1bf9ad=!0x0);return _0x1bf9ad;}[_0x13dd30(0xa1)](_0x4869f7){const _0x3c4b14=_0x13dd30;if(!this[_0x3c4b14(0x9a)])return!0x1;let _0x26964d=!0x1;if(this[_0x3c4b14(0x9a)][_0x3c4b14(0x83)]!==this[_0x3c4b14(0xa5)][_0x3c4b14(0xbb)]){const _0x5d1dfd=[];for(const _0x3b5b8e of this[_0x3c4b14(0x9a)][_0x3c4b14(0x9f)]()){const _0x33c560=_0x3b5b8e[_0x3c4b14(0x91)](_0x3c4b14(0xdf));this[_0x3c4b14(0xce)](_0x33c560)||(_0x5d1dfd[_0x3c4b14(0xab)](_0x3b5b8e),_0x26964d=!0x0);}for(const _0x31b72f of _0x5d1dfd)_0x4869f7[_0x3c4b14(0xd6)](_0x31b72f);}const _0x5816ed=new Set(),_0x3ab7a3=[];for(const _0x6b9066 of this[_0x3c4b14(0x9a)][_0x3c4b14(0x9f)]()){const _0x19518a=_0x6b9066[_0x3c4b14(0x91)](_0x3c4b14(0xdf));_0x5816ed[_0x3c4b14(0xd0)](_0x19518a)?(_0x3ab7a3[_0x3c4b14(0xab)](_0x6b9066),_0x26964d=!0x0):_0x5816ed[_0x3c4b14(0x8f)](_0x19518a);}for(const _0x1f447c of _0x3ab7a3)_0x4869f7[_0x3c4b14(0xd6)](_0x1f447c);return this[_0x3c4b14(0x9a)][_0x3c4b14(0x83)]||(_0x4869f7[_0x3c4b14(0xd6)](this[_0x3c4b14(0x9a)]),this[_0x3c4b14(0x9a)]=null,_0x26964d=!0x0),_0x26964d;}[_0x13dd30(0xac)](_0x4762ac,_0x11afdd){const _0x300ac5=_0x13dd30;if(this[_0x300ac5(0xa5)][_0x300ac5(0xc4)](_0x5f11d3=>_0x5f11d3[_0x300ac5(0x8b)]===_0x11afdd))return!0x1;let _0x4e9978=!0x1;const _0x139c8c=_0x11afdd[_0x300ac5(0x91)](_0x300ac5(0xdf)),_0x426600=this[_0x300ac5(0xa5)][_0x300ac5(0xd3)](_0xebd1cc=>_0xebd1cc['id']===_0x139c8c);-0x1!==_0x426600&&(_0x4762ac[_0x300ac5(0xd6)](this[_0x300ac5(0xa5)][_0x426600][_0x300ac5(0x8b)]),this[_0x300ac5(0xa5)][_0x300ac5(0xca)](_0x426600,0x1),_0x4e9978=!0x0);let _0x710e2e=this[_0x300ac5(0x9a)]?function(_0x410e5d,_0x30f12a){const _0x4b26d6=_0x300ac5;for(const _0x5674cb of _0x410e5d[_0x4b26d6(0x9f)]())if(_0x5674cb[_0x4b26d6(0x91)](_0x4b26d6(0xdf))===_0x30f12a)return _0x5674cb;return null;}(this[_0x300ac5(0x9a)],_0x139c8c):null;_0x710e2e||(_0x710e2e=_0x4762ac[_0x300ac5(0xa2)](_0x300ac5(0xb5),{'footnoteId':_0x139c8c}),this[_0x300ac5(0x9a)]&&(_0x4762ac[_0x300ac5(0xb4)](_0x710e2e,this[_0x300ac5(0x9a)],_0x300ac5(0xaf)),_0x4e9978=!0x0));const _0x27ada9={'id':_0x139c8c,'reference':_0x11afdd,'definition':_0x710e2e},_0x36da83=I(this[_0x300ac5(0xe3)][_0x300ac5(0x87)],this[_0x300ac5(0xa5)],_0x11afdd);this[_0x300ac5(0xa5)][_0x300ac5(0xca)](_0x36da83,0x0,_0x27ada9);let _0x277287=_0x36da83;return-0x1!==_0x426600&&(_0x277287=Math[_0x300ac5(0x89)](_0x36da83,_0x426600)),this[_0x300ac5(0x93)](_0x4762ac,_0x277287)&&(_0x4e9978=!0x0),_0x4e9978;}[_0x13dd30(0xc8)](_0x1769c3,_0x3fe9b3){const _0x44cb32=_0x13dd30,_0x36c7cf=this[_0x44cb32(0xa5)][_0x44cb32(0xd3)](_0x3214f4=>_0x3214f4['id']===_0x3fe9b3);if(-0x1===_0x36c7cf)return!0x1;let _0x192f5f=!0x1;const _0x4a35a6=this[_0x44cb32(0xa5)][_0x36c7cf];return _0x44cb32(0xdc)!==_0x4a35a6[_0x44cb32(0x8d)][_0x44cb32(0xe0)][_0x44cb32(0xa0)]&&(_0x1769c3[_0x44cb32(0xd6)](_0x4a35a6[_0x44cb32(0x8d)]),_0x192f5f=!0x0),this[_0x44cb32(0xa5)][_0x44cb32(0xca)](_0x36c7cf,0x1),this[_0x44cb32(0x93)](_0x1769c3,_0x36c7cf)&&(_0x192f5f=!0x0),_0x192f5f;}[_0x13dd30(0x84)](_0x5468c4,_0x583787){const _0x1ecbe3=_0x13dd30,_0x1d6bde=_0x583787[_0x1ecbe3(0x91)](_0x1ecbe3(0xdf)),_0x6654a8=this[_0x1ecbe3(0xa5)][_0x1ecbe3(0xd3)](_0xc09485=>_0xc09485['id']===_0x1d6bde),_0x52a6e7=this[_0x1ecbe3(0xa5)][_0x6654a8];let _0x20f84a=!0x1;_0x52a6e7[_0x1ecbe3(0x8b)]=_0x583787,this[_0x1ecbe3(0xa5)][_0x1ecbe3(0xca)](_0x6654a8,0x1);const _0x202608=I(this[_0x1ecbe3(0xe3)][_0x1ecbe3(0x87)],this[_0x1ecbe3(0xa5)],_0x583787);return this[_0x1ecbe3(0xa5)][_0x1ecbe3(0xca)](_0x202608,0x0,_0x52a6e7),this[_0x1ecbe3(0x93)](_0x5468c4,Math[_0x1ecbe3(0x89)](_0x6654a8,_0x202608))&&(_0x20f84a=!0x0),_0x20f84a;}[_0x13dd30(0x92)](_0x3044ee,_0x3351ed){const _0x1e4943=_0x13dd30;if(!this[_0x1e4943(0x9a)])return!0x1;const _0xcd68a5=this[_0x1e4943(0xa5)][_0x3351ed];let _0x3518ee;return _0x3518ee=this[_0x1e4943(0x81)]?this[_0x1e4943(0x81)]({'footnote':_0xcd68a5,'container':this[_0x1e4943(0x9a)],'digits':String(this[_0x1e4943(0xa5)][_0x1e4943(0xbb)])[_0x1e4943(0xbb)],'value':_0x3351ed+0x1}):String(_0x3351ed+0x1),_0xcd68a5[_0x1e4943(0x8b)][_0x1e4943(0x91)](_0x1e4943(0xa4))!=_0x3518ee&&(_0x3044ee[_0x1e4943(0xb3)](_0x1e4943(0xa4),_0x3518ee,_0xcd68a5[_0x1e4943(0x8b)]),!0x0);}[_0x13dd30(0xb6)](_0x2f11cc){const _0x1b9310=_0x13dd30;if(!this[_0x1b9310(0x9a)]||this[_0x1b9310(0xa5)][_0x1b9310(0xbb)]<0x2)return!0x1;if(function(_0x40b084,_0x3292e9){const _0x4b223e=_0x1b9310;if(_0x40b084[_0x4b223e(0xbb)]!==_0x3292e9[_0x4b223e(0xbb)])return!0x1;for(let _0x3538e1=0x0;_0x3538e1<_0x40b084[_0x4b223e(0xbb)];_0x3538e1++)if(_0x40b084[_0x3538e1]!==_0x3292e9[_0x3538e1])return!0x1;return!0x0;}(this[_0x1b9310(0xa5)][_0x1b9310(0xe1)](_0x3bb3d3=>_0x3bb3d3['id']),Array[_0x1b9310(0xb7)](this[_0x1b9310(0x9a)][_0x1b9310(0x9f)]())[_0x1b9310(0xe1)](_0x3fca1b=>_0x3fca1b[_0x1b9310(0x91)](_0x1b9310(0xdf)))))return!0x1;let _0x532f0=!0x1;for(let _0x473370=0x0;_0x473370<this[_0x1b9310(0xa5)][_0x1b9310(0xbb)];_0x473370++){const _0x134d3a=this[_0x1b9310(0xa5)][_0x473370],_0x19b98c=_0x2f11cc[_0x1b9310(0xc7)](_0x134d3a[_0x1b9310(0x8d)]),_0x1a7a07=_0x2f11cc[_0x1b9310(0xc1)](this[_0x1b9310(0x9a)],_0x473370);_0x19b98c[_0x1b9310(0x99)](_0x1a7a07)||(_0x2f11cc[_0x1b9310(0xcc)](_0x2f11cc[_0x1b9310(0xbd)](_0x134d3a[_0x1b9310(0x8d)]),_0x1a7a07),_0x532f0=!0x0);}return _0x532f0;}[_0x13dd30(0xb8)](_0x120932){const _0x57470b=_0x13dd30;if(!this[_0x57470b(0xa5)][_0x57470b(0xbb)])return!0x1;const {model:_0x1a1276}=this[_0x57470b(0xe3)];let _0x2546e4=!0x1;for(let _0x30699f=0x0;_0x30699f<this[_0x57470b(0xa5)][_0x57470b(0xbb)]-0x1;_0x30699f++){const _0x2e0179=this[_0x57470b(0xa5)][_0x30699f],_0x3550a3=this[_0x57470b(0xa5)][_0x30699f+0x1],_0x21163e=_0x1a1276[_0x57470b(0xc7)](_0x2e0179[_0x57470b(0x8b)]),_0x584de1=_0x1a1276[_0x57470b(0xc7)](_0x3550a3[_0x57470b(0x8b)]);_0x57470b(0x9e)===_0x21163e[_0x57470b(0x8c)](_0x584de1)&&(this[_0x57470b(0x84)](_0x120932,_0x2e0179[_0x57470b(0x8b)]),_0x30699f=-0x1,_0x2546e4=!0x0);}return _0x2546e4;}}function _(_0x5b38f4,_0x32e7e7,_0x2308db){const _0x2f71d8=_0x13dd30;if(_0x2308db[_0x2f71d8(0x83)])return!0x1;const _0x2d7352=_0x32e7e7?_0x2f71d8(0xde):_0x2f71d8(0xd2);return _0x5b38f4[_0x2f71d8(0xb4)](_0x5b38f4[_0x2f71d8(0xa2)](_0x2d7352),_0x2308db),!0x0;}function I(_0xe0ad7a,_0x521d10,_0x1c3908){const _0x26a545=_0x13dd30;if(0x0===_0x521d10[_0x26a545(0xbb)])return 0x0;const _0x19b472=_0xe0ad7a[_0x26a545(0xc7)](_0x1c3908);for(let _0x3f79af=0x0;_0x3f79af<_0x521d10[_0x26a545(0xbb)];_0x3f79af++){const _0x3008f8=_0x521d10[_0x3f79af],_0x2e55db=_0xe0ad7a[_0x26a545(0xc7)](_0x3008f8[_0x26a545(0x8b)]);if(_0x26a545(0xdb)===_0x19b472[_0x26a545(0x8c)](_0x2e55db))return _0x3f79af;}const _0x2f710e=_0x1c3908[_0x26a545(0xe0)];let _0x1df102=-0x1;for(let _0x4e7693=_0x521d10[_0x26a545(0xbb)]-0x1;_0x4e7693>=0x0;_0x4e7693--)if(_0x521d10[_0x4e7693][_0x26a545(0x8b)][_0x26a545(0xe0)]===_0x2f710e){_0x1df102=_0x4e7693;break;}if(-0x1!==_0x1df102)return _0x1df102+0x1;const _0x525676=_0xe0ad7a[_0x26a545(0xbf)][_0x26a545(0xc0)](),_0x59ebe5=_0x525676[_0x26a545(0x88)](_0x2f710e[_0x26a545(0xa0)]),_0x29908=_0x525676[_0x59ebe5+0x1];if(_0x29908){for(let _0x1acc71=0x0;_0x1acc71<_0x521d10[_0x26a545(0xbb)];_0x1acc71++)if(_0x521d10[_0x1acc71][_0x26a545(0x8b)][_0x26a545(0xe0)][_0x26a545(0xa0)]===_0x29908)return _0x1acc71;}return _0x521d10[_0x26a545(0xbb)];}
23
+ function _0x58f5(){const _0x756ee5=['listenTo','isPremiumPlugin','pluginName','createPositionAt','append','getFootnotesFormatter','_updateFootnotesCounters','7299CYCnSk','getFootnotes','_footnoteFormatter','10292440ACVwTd','editor','_handleFootnotesDefinitionsObjectChanges','move','min','_footnotes','_insertEmptyFootnotesDefinitionsContainer','138zWDYyW','_handleFootnotesDefinitionsObjectSync','footnoteDefinition','setFootnoteFormatter','enqueueChange','_handleFootnoteReferencesChanges','find','indexOf','paragraph','footnoteRef','add','getRootNames','_footnoteDefsTracker','_footnoteDefsContainerTracker','low','387506fChEUB','findIndex','FootnotesTracker','footnoteId','reset','root','footnotes.multiBlock','registerPostFixer','length','singleton','23668623HRDUVQ','reference','set','6820450XCDnom','rootName','_handleInsertedFootnoteReference','definition','insert','unshift','push','27884mrdVDO','_sortFootnoteDefinitions','_handleFootnoteDefinitionsChanges','from','getChanges','document','_handleMovedFootnoteReference','createElement','_updateFootnoteRefCounter','footnoteInlineContent','splice','model','getFootnotesDefinitionsObjectElement','some','parent','$graveyard','compareWith','createRangeIn','high','footnotesDefinitions','config','createPositionBefore','map','footnoteCounter','_ensureFootnotesReferencesHaveProperOrder','differ','959006WCRMit','init','has','end','get','_footnotesDefinitions','childCount','isOfficialPlugin','12360mBdxRh','getChildren','_ensureFootnotesDefinitionsContainerExists','_handleRemoveFootnoteReferenceById','setAttribute','getFootnote','getAttribute','change:data','before','_footnoteRefsTracker','after','remove','2bcVEjx','363CFvkFx','createRangeOn','isEqual'];_0x58f5=function(){return _0x756ee5;};return _0x58f5();}const _0x57af21=_0x3607;(function(_0x3c63b6,_0x3835dc){const _0x99e346=_0x3607,_0x4132e7=_0x3c63b6();while(!![]){try{const _0x181950=-parseInt(_0x99e346(0xdc))/0x1*(-parseInt(_0x99e346(0x12e))/0x2)+-parseInt(_0x99e346(0xdd))/0x3*(parseInt(_0x99e346(0x114))/0x4)+parseInt(_0x99e346(0x10d))/0x5+parseInt(_0x99e346(0xf1))/0x6*(parseInt(_0x99e346(0x100))/0x7)+parseInt(_0x99e346(0x136))/0x8*(parseInt(_0x99e346(0xe7))/0x9)+-parseInt(_0x99e346(0xea))/0xa+-parseInt(_0x99e346(0x10a))/0xb;if(_0x181950===_0x3835dc)break;else _0x4132e7['push'](_0x4132e7['shift']());}catch(_0x21afcf){_0x4132e7['push'](_0x4132e7['shift']());}}}(_0x58f5,0xc9641));import{Plugin as _0x21ed78}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x18b645}from'./modelelementtracker.js';export class FootnotesTracker extends _0x21ed78{[_0x57af21(0xef)]=[];[_0x57af21(0x133)]=null;[_0x57af21(0xe9)]=null;[_0x57af21(0xfe)];[_0x57af21(0xd9)];[_0x57af21(0xfd)];static get[_0x57af21(0xe2)](){const _0xb22695=_0x57af21;return _0xb22695(0x102);}static get[_0x57af21(0x135)](){return!0x0;}static get[_0x57af21(0xe1)](){return!0x0;}constructor(_0x547ad6){const _0x104496=_0x57af21;super(_0x547ad6),this[_0x104496(0xfe)]=new _0x18b645(this[_0x104496(0xeb)][_0x104496(0x11f)],{'elementName':_0x104496(0x127),'getElementKey':()=>_0x104496(0x109)}),this[_0x104496(0xd9)]=new _0x18b645(this[_0x104496(0xeb)][_0x104496(0x11f)],{'elementName':_0x104496(0xfa),'getElementKey':_0x445343=>_0x445343[_0x104496(0x13c)](_0x104496(0x103))}),this[_0x104496(0xfd)]=new _0x18b645(this[_0x104496(0xeb)][_0x104496(0x11f)],{'elementName':_0x104496(0xf3),'getElementKey':_0x598272=>_0x598272[_0x104496(0x13c)](_0x104496(0x103))});}[_0x57af21(0x12f)](){const _0x4127cd=_0x57af21,{editor:_0x1bfce2}=this,{model:_0x98f51a,data:_0x38baec}=_0x1bfce2;_0x98f51a[_0x4127cd(0x119)][_0x4127cd(0x107)](_0x1b82d2=>{const _0x2084e2=_0x4127cd,_0x44f2a8=_0x98f51a[_0x2084e2(0x119)][_0x2084e2(0x12d)][_0x2084e2(0x118)]();let _0x37857=!0x1;return this[_0x2084e2(0xec)](_0x1b82d2,_0x44f2a8)&&(_0x37857=!0x0),this[_0x2084e2(0x116)](_0x1b82d2,_0x44f2a8)&&(_0x37857=!0x0),this[_0x2084e2(0xf6)](_0x1b82d2,_0x44f2a8)&&(_0x37857=!0x0),this[_0x2084e2(0x12c)](_0x1b82d2)&&(_0x37857=!0x0),this[_0x2084e2(0xf2)](_0x1b82d2)&&(_0x37857=!0x0),this[_0x2084e2(0x115)](_0x1b82d2)&&(_0x37857=!0x0),_0x37857;}),this[_0x4127cd(0xe0)](_0x98f51a[_0x4127cd(0x119)],_0x4127cd(0x13d),()=>{const _0x1578f0=_0x4127cd;_0x98f51a[_0x1578f0(0xf5)]({'isUndoable':!0x1},_0x8bd810=>{const _0x20a075=_0x1578f0;this[_0x20a075(0x138)](_0x8bd810);});},{'priority':_0x4127cd(0xff)}),this[_0x4127cd(0xe0)](_0x38baec,_0x4127cd(0x10c),()=>{const _0x5e7427=_0x4127cd;this[_0x5e7427(0xef)]=[],this[_0x5e7427(0xfe)][_0x5e7427(0x104)](),this[_0x5e7427(0xd9)][_0x5e7427(0x104)](),this[_0x5e7427(0xfd)][_0x5e7427(0x104)]();},{'priority':_0x4127cd(0x126)});}[_0x57af21(0x120)](){const _0x346e51=_0x57af21;return this[_0x346e51(0x133)];}[_0x57af21(0x13b)](_0x4ae7c6){const _0x3d6190=_0x57af21;return this[_0x3d6190(0xef)][_0x3d6190(0xf7)](_0x1fcc05=>_0x1fcc05['id']===_0x4ae7c6)||null;}[_0x57af21(0xe8)](){const _0xcb1399=_0x57af21;return Array[_0xcb1399(0x117)](this[_0xcb1399(0xef)]);}[_0x57af21(0xe5)](){const _0x4edc82=_0x57af21;return this[_0x4edc82(0xe9)];}[_0x57af21(0xf4)](_0x1119b6){const _0x131266=_0x57af21;this[_0x131266(0xe9)]=_0x1119b6;}[_0x57af21(0xe6)](_0x1596ab,_0x56d833=0x0){const _0x33a6ad=_0x57af21;let _0x2b5f89=!0x1;for(let _0x43e6d6=_0x56d833;_0x43e6d6<this[_0x33a6ad(0xef)][_0x33a6ad(0x108)];_0x43e6d6++)this[_0x33a6ad(0x11c)](_0x1596ab,_0x43e6d6)&&(_0x2b5f89=!0x0);return _0x2b5f89;}[_0x57af21(0xf0)](_0x46ebf2,_0x966a33){const _0x57ae7e=_0x57af21,_0x238dd6=_0x46ebf2[_0x57ae7e(0x11b)](_0x57ae7e(0x127),{});return _0x46ebf2[_0x57ae7e(0xe4)](_0x238dd6,_0x966a33),this[_0x57ae7e(0x133)]=_0x238dd6,_0x238dd6;}[_0x57af21(0x138)](_0x59ab16){const _0x18cb59=_0x57af21;if(!this[_0x18cb59(0xef)][_0x18cb59(0x108)]||this[_0x18cb59(0x133)])return;const _0x19a5e1=this[_0x18cb59(0xef)][0x0][_0x18cb59(0x10b)][_0x18cb59(0x105)],_0x57a9c6=this[_0x18cb59(0xf0)](_0x59ab16,_0x19a5e1);for(const _0x253c25 of this[_0x18cb59(0xef)])_0x253c25[_0x18cb59(0x110)][_0x18cb59(0x122)]||_0x59ab16[_0x18cb59(0x111)](_0x253c25[_0x18cb59(0x110)],_0x57a9c6,_0x18cb59(0x131));this[_0x18cb59(0xe6)](_0x59ab16);}[_0x57af21(0xec)](_0x2db4ae,_0x15b670){const _0x63a134=_0x57af21;let _0x262103=!0x1;const {inserted:_0x197ee9,removed:_0x226c6a,moved:_0x4ba1fd}=this[_0x63a134(0xfe)][_0x63a134(0x118)](_0x15b670);if(_0x4ba1fd[_0x63a134(0x108)]&&(this[_0x63a134(0x133)]=_0x4ba1fd[0x0]),_0x197ee9[_0x63a134(0x108)]){if(_0x197ee9[_0x63a134(0x108)]>0x1||this[_0x63a134(0x133)]&&_0x197ee9[_0x63a134(0x121)](_0x407781=>_0x407781!==this[_0x63a134(0x133)])){const _0x5a223a=_0x2db4ae[_0x63a134(0x11b)](_0x63a134(0x127),{}),_0x1a31fa=[];this[_0x63a134(0x133)]&&_0x1a31fa[_0x63a134(0x113)](this[_0x63a134(0x133)]),_0x1a31fa[_0x63a134(0x113)](..._0x197ee9),_0x2db4ae[_0x63a134(0x111)](_0x5a223a,_0x1a31fa[0x0],_0x63a134(0xd8));for(const _0x41ef61 of _0x1a31fa)_0x2db4ae[_0x63a134(0xed)](_0x2db4ae[_0x63a134(0x125)](_0x41ef61),_0x2db4ae[_0x63a134(0xe3)](_0x5a223a,_0x63a134(0x131))),_0x2db4ae[_0x63a134(0xdb)](_0x41ef61);this[_0x63a134(0x133)]=_0x5a223a,this[_0x63a134(0xe6)](_0x2db4ae),_0x262103=!0x0;}else this[_0x63a134(0x133)]=_0x197ee9[0x0];}if(_0x226c6a[_0x63a134(0x108)]&&_0x63a134(0x123)===this[_0x63a134(0x133)]?.[_0x63a134(0x105)][_0x63a134(0x10e)]){for(const _0x4fefd7 of this[_0x63a134(0xef)])_0x2db4ae[_0x63a134(0xdb)](_0x4fefd7[_0x63a134(0x10b)]),_0x262103=!0x0;this[_0x63a134(0xef)]=[],this[_0x63a134(0x133)]=null;}return _0x262103;}[_0x57af21(0x116)](_0x4788f0,_0x1912d4){const _0x1b9a44=_0x57af21;let _0x8df203=!0x1;const _0x12e3fa=this[_0x1b9a44(0xeb)][_0x1b9a44(0x128)][_0x1b9a44(0x132)](_0x1b9a44(0x106)),{inserted:_0x5d8188,moved:_0x499587}=this[_0x1b9a44(0xfd)][_0x1b9a44(0x118)](_0x1912d4);for(const _0x1e2915 of[..._0x499587,..._0x5d8188]){const _0x46f8a4=_0x1e2915[_0x1b9a44(0x13c)](_0x1b9a44(0x103)),_0x40ec99=this[_0x1b9a44(0x13b)](_0x46f8a4);_0x40ec99&&(_0x40ec99[_0x1b9a44(0x110)]=_0x1e2915),_(_0x4788f0,_0x12e3fa,_0x1e2915)&&(_0x8df203=!0x0);}return _0x8df203;}[_0x57af21(0xf6)](_0x1b20f7,_0xb8ef48){const _0x2f6db9=_0x57af21;let _0x275831=!0x1;const {removed:_0x2e508f,inserted:_0x499199,moved:_0x5cf17d}=this[_0x2f6db9(0xd9)][_0x2f6db9(0x118)](_0xb8ef48);for(const _0x39fac0 of _0x2e508f)this[_0x2f6db9(0x139)](_0x1b20f7,_0x39fac0)&&(_0x275831=!0x0);for(const _0x2eedfe of _0x499199)this[_0x2f6db9(0x10f)](_0x1b20f7,_0x2eedfe)&&(_0x275831=!0x0);for(const _0x5e0cd3 of _0x5cf17d)this[_0x2f6db9(0x11a)](_0x1b20f7,_0x5e0cd3)&&(_0x275831=!0x0);return _0x275831;}[_0x57af21(0xf2)](_0x4cbaac){const _0x356641=_0x57af21;if(!this[_0x356641(0x133)])return!0x1;let _0x15f1bb=!0x1;if(this[_0x356641(0x133)][_0x356641(0x134)]!==this[_0x356641(0xef)][_0x356641(0x108)]){const _0x4d5f19=[];for(const _0x221487 of this[_0x356641(0x133)][_0x356641(0x137)]()){const _0x3eba9f=_0x221487[_0x356641(0x13c)](_0x356641(0x103));this[_0x356641(0x13b)](_0x3eba9f)||(_0x4d5f19[_0x356641(0x112)](_0x221487),_0x15f1bb=!0x0);}for(const _0x541dc6 of _0x4d5f19)_0x4cbaac[_0x356641(0xdb)](_0x541dc6);}const _0x4e4151=new Set(),_0x59c7b7=[];for(const _0x159136 of this[_0x356641(0x133)][_0x356641(0x137)]()){const _0x164efa=_0x159136[_0x356641(0x13c)](_0x356641(0x103));_0x4e4151[_0x356641(0x130)](_0x164efa)?(_0x59c7b7[_0x356641(0x112)](_0x159136),_0x15f1bb=!0x0):_0x4e4151[_0x356641(0xfb)](_0x164efa);}for(const _0x397e76 of _0x59c7b7)_0x4cbaac[_0x356641(0xdb)](_0x397e76);return this[_0x356641(0x133)][_0x356641(0x134)]||(_0x4cbaac[_0x356641(0xdb)](this[_0x356641(0x133)]),this[_0x356641(0x133)]=null,_0x15f1bb=!0x0),_0x15f1bb;}[_0x57af21(0x10f)](_0x23cd84,_0x3cfed8){const _0x4f4fc1=_0x57af21;if(this[_0x4f4fc1(0xef)][_0x4f4fc1(0xf7)](_0x2150c3=>_0x2150c3[_0x4f4fc1(0x10b)]===_0x3cfed8))return!0x1;let _0x39c145=!0x1;const _0x5c54b8=_0x3cfed8[_0x4f4fc1(0x13c)](_0x4f4fc1(0x103)),_0x36c227=this[_0x4f4fc1(0xef)][_0x4f4fc1(0x101)](_0xa9ce51=>_0xa9ce51['id']===_0x5c54b8);-0x1!==_0x36c227&&(_0x23cd84[_0x4f4fc1(0xdb)](this[_0x4f4fc1(0xef)][_0x36c227][_0x4f4fc1(0x10b)]),this[_0x4f4fc1(0xef)][_0x4f4fc1(0x11e)](_0x36c227,0x1),_0x39c145=!0x0);let _0x9b6fe5=this[_0x4f4fc1(0x133)]?function(_0x1b8a1e,_0x1132ec){const _0x3cbc81=_0x4f4fc1;for(const _0x5d7899 of _0x1b8a1e[_0x3cbc81(0x137)]())if(_0x5d7899[_0x3cbc81(0x13c)](_0x3cbc81(0x103))===_0x1132ec)return _0x5d7899;return null;}(this[_0x4f4fc1(0x133)],_0x5c54b8):null;_0x9b6fe5||(_0x9b6fe5=_0x23cd84[_0x4f4fc1(0x11b)](_0x4f4fc1(0xf3),{'footnoteId':_0x5c54b8}),this[_0x4f4fc1(0x133)]&&(_0x23cd84[_0x4f4fc1(0x111)](_0x9b6fe5,this[_0x4f4fc1(0x133)],_0x4f4fc1(0x131)),_0x39c145=!0x0));const _0x30ae91={'id':_0x5c54b8,'reference':_0x3cfed8,'definition':_0x9b6fe5},_0x3faff7=I(this[_0x4f4fc1(0xeb)][_0x4f4fc1(0x11f)],this[_0x4f4fc1(0xef)],_0x3cfed8);this[_0x4f4fc1(0xef)][_0x4f4fc1(0x11e)](_0x3faff7,0x0,_0x30ae91);let _0x14848b=_0x3faff7;return-0x1!==_0x36c227&&(_0x14848b=Math[_0x4f4fc1(0xee)](_0x3faff7,_0x36c227)),this[_0x4f4fc1(0xe6)](_0x23cd84,_0x14848b)&&(_0x39c145=!0x0),_0x39c145;}[_0x57af21(0x139)](_0x17eefc,_0x1730d7){const _0x163b47=_0x57af21,_0x4a0b0b=this[_0x163b47(0xef)][_0x163b47(0x101)](_0x15c0d5=>_0x15c0d5['id']===_0x1730d7);if(-0x1===_0x4a0b0b)return!0x1;let _0x1b9b96=!0x1;const _0x1d1694=this[_0x163b47(0xef)][_0x4a0b0b];return _0x163b47(0x123)!==_0x1d1694[_0x163b47(0x110)][_0x163b47(0x105)][_0x163b47(0x10e)]&&(_0x17eefc[_0x163b47(0xdb)](_0x1d1694[_0x163b47(0x110)]),_0x1b9b96=!0x0),this[_0x163b47(0xef)][_0x163b47(0x11e)](_0x4a0b0b,0x1),this[_0x163b47(0xe6)](_0x17eefc,_0x4a0b0b)&&(_0x1b9b96=!0x0),_0x1b9b96;}[_0x57af21(0x11a)](_0x6396b4,_0x5cac0d){const _0x2959e7=_0x57af21,_0x5cb19a=_0x5cac0d[_0x2959e7(0x13c)](_0x2959e7(0x103)),_0x3baa67=this[_0x2959e7(0xef)][_0x2959e7(0x101)](_0x2cc1ed=>_0x2cc1ed['id']===_0x5cb19a),_0xe61797=this[_0x2959e7(0xef)][_0x3baa67];let _0x4904a8=!0x1;_0xe61797[_0x2959e7(0x10b)]=_0x5cac0d,this[_0x2959e7(0xef)][_0x2959e7(0x11e)](_0x3baa67,0x1);const _0x5c7214=I(this[_0x2959e7(0xeb)][_0x2959e7(0x11f)],this[_0x2959e7(0xef)],_0x5cac0d);return this[_0x2959e7(0xef)][_0x2959e7(0x11e)](_0x5c7214,0x0,_0xe61797),this[_0x2959e7(0xe6)](_0x6396b4,Math[_0x2959e7(0xee)](_0x3baa67,_0x5c7214))&&(_0x4904a8=!0x0),_0x4904a8;}[_0x57af21(0x11c)](_0x84e5c6,_0x5e76b1){const _0x33afa0=_0x57af21;if(!this[_0x33afa0(0x133)])return!0x1;const _0x1480ff=this[_0x33afa0(0xef)][_0x5e76b1];let _0x4bfeae;return _0x4bfeae=this[_0x33afa0(0xe9)]?this[_0x33afa0(0xe9)]({'footnote':_0x1480ff,'container':this[_0x33afa0(0x133)],'digits':String(this[_0x33afa0(0xef)][_0x33afa0(0x108)])[_0x33afa0(0x108)],'value':_0x5e76b1+0x1}):String(_0x5e76b1+0x1),_0x1480ff[_0x33afa0(0x10b)][_0x33afa0(0x13c)](_0x33afa0(0x12b))!=_0x4bfeae&&(_0x84e5c6[_0x33afa0(0x13a)](_0x33afa0(0x12b),_0x4bfeae,_0x1480ff[_0x33afa0(0x10b)]),!0x0);}[_0x57af21(0x115)](_0x5061a6){const _0x453ce2=_0x57af21;if(!this[_0x453ce2(0x133)]||this[_0x453ce2(0xef)][_0x453ce2(0x108)]<0x2)return!0x1;if(function(_0x4ccec4,_0x50176e){const _0x9d81ab=_0x453ce2;if(_0x4ccec4[_0x9d81ab(0x108)]!==_0x50176e[_0x9d81ab(0x108)])return!0x1;for(let _0xd6e52f=0x0;_0xd6e52f<_0x4ccec4[_0x9d81ab(0x108)];_0xd6e52f++)if(_0x4ccec4[_0xd6e52f]!==_0x50176e[_0xd6e52f])return!0x1;return!0x0;}(this[_0x453ce2(0xef)][_0x453ce2(0x12a)](_0x3667d1=>_0x3667d1['id']),Array[_0x453ce2(0x117)](this[_0x453ce2(0x133)][_0x453ce2(0x137)]())[_0x453ce2(0x12a)](_0x3728cd=>_0x3728cd[_0x453ce2(0x13c)](_0x453ce2(0x103)))))return!0x1;let _0x28b95c=!0x1;for(let _0x330cfe=0x0;_0x330cfe<this[_0x453ce2(0xef)][_0x453ce2(0x108)];_0x330cfe++){const _0x607713=this[_0x453ce2(0xef)][_0x330cfe],_0x2fbfe6=_0x5061a6[_0x453ce2(0x129)](_0x607713[_0x453ce2(0x110)]),_0x55b2c0=_0x5061a6[_0x453ce2(0xe3)](this[_0x453ce2(0x133)],_0x330cfe);_0x2fbfe6[_0x453ce2(0xdf)](_0x55b2c0)||(_0x5061a6[_0x453ce2(0xed)](_0x5061a6[_0x453ce2(0xde)](_0x607713[_0x453ce2(0x110)]),_0x55b2c0),_0x28b95c=!0x0);}return _0x28b95c;}[_0x57af21(0x12c)](_0x593709){const _0x14effe=_0x57af21;if(!this[_0x14effe(0xef)][_0x14effe(0x108)])return!0x1;const {model:_0x231c5b}=this[_0x14effe(0xeb)];let _0x2cc0c5=!0x1;for(let _0x3d59ec=0x0;_0x3d59ec<this[_0x14effe(0xef)][_0x14effe(0x108)]-0x1;_0x3d59ec++){const _0x3c5f85=this[_0x14effe(0xef)][_0x3d59ec],_0x258796=this[_0x14effe(0xef)][_0x3d59ec+0x1],_0x4faff1=_0x231c5b[_0x14effe(0x129)](_0x3c5f85[_0x14effe(0x10b)]),_0x4f8b13=_0x231c5b[_0x14effe(0x129)](_0x258796[_0x14effe(0x10b)]);_0x14effe(0xda)===_0x4faff1[_0x14effe(0x124)](_0x4f8b13)&&(this[_0x14effe(0x11a)](_0x593709,_0x3c5f85[_0x14effe(0x10b)]),_0x3d59ec=-0x1,_0x2cc0c5=!0x0);}return _0x2cc0c5;}}function _0x3607(_0x218b6f,_0x297b46){const _0x58f581=_0x58f5();return _0x3607=function(_0x360760,_0xea4499){_0x360760=_0x360760-0xd8;let _0x5be70c=_0x58f581[_0x360760];return _0x5be70c;},_0x3607(_0x218b6f,_0x297b46);}function _(_0x2c5121,_0x5f0af4,_0x445538){const _0x452f33=_0x57af21;if(_0x445538[_0x452f33(0x134)])return!0x1;const _0x3ffb21=_0x5f0af4?_0x452f33(0xf9):_0x452f33(0x11d);return _0x2c5121[_0x452f33(0x111)](_0x2c5121[_0x452f33(0x11b)](_0x3ffb21),_0x445538),!0x0;}function I(_0x4f9516,_0x13b943,_0x11b3e2){const _0x1c5209=_0x57af21;if(0x0===_0x13b943[_0x1c5209(0x108)])return 0x0;const _0x4973e9=_0x4f9516[_0x1c5209(0x129)](_0x11b3e2);for(let _0x19d6ce=0x0;_0x19d6ce<_0x13b943[_0x1c5209(0x108)];_0x19d6ce++){const _0x225c58=_0x13b943[_0x19d6ce],_0x16cb74=_0x4f9516[_0x1c5209(0x129)](_0x225c58[_0x1c5209(0x10b)]);if(_0x1c5209(0xd8)===_0x4973e9[_0x1c5209(0x124)](_0x16cb74))return _0x19d6ce;}const _0x4e0751=_0x11b3e2[_0x1c5209(0x105)];let _0x58823d=-0x1;for(let _0x246d35=_0x13b943[_0x1c5209(0x108)]-0x1;_0x246d35>=0x0;_0x246d35--)if(_0x13b943[_0x246d35][_0x1c5209(0x10b)][_0x1c5209(0x105)]===_0x4e0751){_0x58823d=_0x246d35;break;}if(-0x1!==_0x58823d)return _0x58823d+0x1;const _0x38a641=_0x4f9516[_0x1c5209(0x119)][_0x1c5209(0xfc)](),_0x59f13f=_0x38a641[_0x1c5209(0xf8)](_0x4e0751[_0x1c5209(0x10e)]),_0x63bd13=_0x38a641[_0x59f13f+0x1];if(_0x63bd13){for(let _0x210500=0x0;_0x210500<_0x13b943[_0x1c5209(0x108)];_0x210500++)if(_0x13b943[_0x210500][_0x1c5209(0x10b)][_0x1c5209(0x105)][_0x1c5209(0x10e)]===_0x63bd13)return _0x210500;}return _0x13b943[_0x1c5209(0x108)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3a8c17,MenuBarMenuListItemButtonView as _0x48acf8}from'ckeditor5/src/ui.js';import{Plugin as _0x1ef913}from'ckeditor5/src/core.js';import{IconFootnote as _0x2784b3}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1ef913{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1bebde}=this,{componentFactory:_0x56e474}=_0x1bebde['ui'];_0x56e474['add']('insertFootnote',E(_0x1bebde,_0x3a8c17)),_0x56e474['add']('menuBar:insertFootnote',E(_0x1bebde,_0x48acf8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x983709=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x584115;for(const _0x680913 in _0x983709){const _0x572b18=_0x680913,_0x5ea31c=_0x983709[_0x572b18];if('footnotesLicenseKeyValid'==_0x5ea31c||'footnotesLicenseKeyInvalid'==_0x5ea31c||'footnotesLicenseKeyExpired'==_0x5ea31c||'footnotesLicenseKeyDomainLimit'==_0x5ea31c||'footnotesLicenseKeyNotAllowed'==_0x5ea31c||'footnotesLicenseKeyEvaluationLimit'==_0x5ea31c||'footnotesLicenseKeyUsageLimit'==_0x5ea31c){delete _0x983709[_0x572b18],_0x584115=_0x5ea31c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x584115&&_0x983709['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x584115&&_0x983709['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x584115&&_0x983709['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x584115&&_0x983709['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x584115&&_0x983709['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x584115&&_0x983709['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x629cb,_0x17165a){const _0x413385=_0x629cb['commands']['get']('insertFootnote');return _0x4ee7e7=>{const {t:t}=_0x4ee7e7,_0x5c2986=new _0x17165a(_0x4ee7e7),_0x18d426=_0x5c2986 instanceof _0x48acf8;return _0x5c2986['bind']('isEnabled')['to'](_0x413385,'isEnabled'),_0x5c2986['set']({'label':t(_0x18d426?'Footnote':'Insert\x20footnote'),'icon':_0x2784b3,'tooltip':!0x0}),_0x5c2986['on']('execute',()=>{_0x413385['execute'](),_0x629cb['editing']['view']['focus']();}),_0x5c2986;};}
23
+ import{ButtonView as _0x3fad69,MenuBarMenuListItemButtonView as _0x36cb96}from'ckeditor5/src/ui.js';import{Plugin as _0x4e2507}from'ckeditor5/src/core.js';import{IconFootnote as _0x32e4c2}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x4e2507{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59f77d}=this,{componentFactory:_0xd5741e}=_0x59f77d['ui'];_0xd5741e['add']('insertFootnote',E(_0x59f77d,_0x3fad69)),_0xd5741e['add']('menuBar:insertFootnote',E(_0x59f77d,_0x36cb96)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2b3720=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x292068;for(const _0x5b5a6f in _0x2b3720){const _0x701940=_0x5b5a6f,_0x2d1da3=_0x2b3720[_0x701940];if('footnotesLicenseKeyValid'==_0x2d1da3||'footnotesLicenseKeyInvalid'==_0x2d1da3||'footnotesLicenseKeyExpired'==_0x2d1da3||'footnotesLicenseKeyDomainLimit'==_0x2d1da3||'footnotesLicenseKeyNotAllowed'==_0x2d1da3||'footnotesLicenseKeyEvaluationLimit'==_0x2d1da3||'footnotesLicenseKeyUsageLimit'==_0x2d1da3){delete _0x2b3720[_0x701940],_0x292068=_0x2d1da3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x292068&&_0x2b3720['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x292068&&_0x2b3720['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x292068&&_0x2b3720['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x292068&&_0x2b3720['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x292068&&_0x2b3720['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x292068&&_0x2b3720['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x30e149,_0x2cb95b){const _0x38fd0b=_0x30e149['commands']['get']('insertFootnote');return _0x32fda4=>{const {t:t}=_0x32fda4,_0x50e99c=new _0x2cb95b(_0x32fda4),_0x15a479=_0x50e99c instanceof _0x36cb96;return _0x50e99c['bind']('isEnabled')['to'](_0x38fd0b,'isEnabled'),_0x50e99c['set']({'label':t(_0x15a479?'Footnote':'Insert\x20footnote'),'icon':_0x32e4c2,'tooltip':!0x0}),_0x50e99c['on']('execute',()=>{_0x38fd0b['execute'](),_0x30e149['editing']['view']['focus']();}),_0x50e99c;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25c5(_0x3ebdff,_0x5f008e){var _0x37a956=_0x37a9();return _0x25c5=function(_0x25c5fd,_0xda55f1){_0x25c5fd=_0x25c5fd-0x15a;var _0x1cfe97=_0x37a956[_0x25c5fd];return _0x1cfe97;},_0x25c5(_0x3ebdff,_0x5f008e);}(function(_0x2f4422,_0x2f9bb0){var _0x2ee4db=_0x25c5,_0x4b20e2=_0x2f4422();while(!![]){try{var _0x3d5b7d=-parseInt(_0x2ee4db(0x15c))/0x1*(parseInt(_0x2ee4db(0x15d))/0x2)+-parseInt(_0x2ee4db(0x15b))/0x3*(-parseInt(_0x2ee4db(0x15e))/0x4)+parseInt(_0x2ee4db(0x15a))/0x5+-parseInt(_0x2ee4db(0x160))/0x6+-parseInt(_0x2ee4db(0x162))/0x7+-parseInt(_0x2ee4db(0x161))/0x8+parseInt(_0x2ee4db(0x15f))/0x9;if(_0x3d5b7d===_0x2f9bb0)break;else _0x4b20e2['push'](_0x4b20e2['shift']());}catch(_0x20ab6f){_0x4b20e2['push'](_0x4b20e2['shift']());}}}(_0x37a9,0xcaa46));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x37a9(){var _0x251da1=['9794568SckUfB','9098313JWhmNX','1164885JnUZiw','9tgfaaw','1468559fajgwU','2LUkYND','1349044FXfYxS','32994135BxKOdU','528684dBMiUN'];_0x37a9=function(){return _0x251da1;};return _0x37a9();}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0xd9c62c,_0x1c04d0){var _0x438f5b=_0x6557,_0x390d0d=_0xd9c62c();while(!![]){try{var _0x329182=-parseInt(_0x438f5b(0xed))/0x1+parseInt(_0x438f5b(0xf1))/0x2*(-parseInt(_0x438f5b(0xe9))/0x3)+parseInt(_0x438f5b(0xef))/0x4+-parseInt(_0x438f5b(0xf0))/0x5+parseInt(_0x438f5b(0xeb))/0x6*(-parseInt(_0x438f5b(0xec))/0x7)+parseInt(_0x438f5b(0xee))/0x8+parseInt(_0x438f5b(0xea))/0x9*(parseInt(_0x438f5b(0xf2))/0xa);if(_0x329182===_0x1c04d0)break;else _0x390d0d['push'](_0x390d0d['shift']());}catch(_0x29618f){_0x390d0d['push'](_0x390d0d['shift']());}}}(_0x2bce,0xd1dfa));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';function _0x6557(_0x4f16ba,_0x4638c7){var _0x2bcea6=_0x2bce();return _0x6557=function(_0x6557fb,_0x5f50d2){_0x6557fb=_0x6557fb-0xe9;var _0x52136f=_0x2bcea6[_0x6557fb];return _0x52136f;},_0x6557(_0x4f16ba,_0x4638c7);}export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x2bce(){var _0x103b88=['160xLKwQL','51cQDZcR','1487034vEogxo','7803822UxwkVN','7WkyLmv','270230gxNZHe','8659696EBtpgH','1909568sXLjQx','6272815ymXJfd','60988JJdmrI'];_0x2bce=function(){return _0x103b88;};return _0x2bce();}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3572d4=_0x1f62;function _0x1f62(_0x5882d1,_0x2ce1c8){const _0x43bdcf=_0x43bd();return _0x1f62=function(_0x1f6237,_0x3f3b4f){_0x1f6237=_0x1f6237-0xb1;let _0x6dd99a=_0x43bdcf[_0x1f6237];return _0x6dd99a;},_0x1f62(_0x5882d1,_0x2ce1c8);}function _0x43bd(){const _0xbee741=['4079IeNNfx','210776uNFVlc','insert','set','_model','rootName','remove','_getElementKey','slice','6CfDJxL','142NiMtyg','_trackedElements','getElementKey','$text','length','nodeAfter','type','get','elementName','flat','getItems','_elementName','from','add','97375ZkquOF','createRangeOn','delete','reset','getChanges','1304103XMHUHd','213458LECQZQ','root','values','position','name','element','2203752DmVCSE','clear','5862807orGFHe','attributes','push','has','$graveyard'];_0x43bd=function(){return _0xbee741;};return _0x43bd();}(function(_0x4f0aed,_0x3e74b0){const _0x49f61f=_0x1f62,_0x2bd5f3=_0x4f0aed();while(!![]){try{const _0x1526eb=parseInt(_0x49f61f(0xda))/0x1*(parseInt(_0x49f61f(0xb9))/0x2)+parseInt(_0x49f61f(0xcc))/0x3+-parseInt(_0x49f61f(0xdb))/0x4+parseInt(_0x49f61f(0xc7))/0x5*(-parseInt(_0x49f61f(0xb8))/0x6)+parseInt(_0x49f61f(0xcd))/0x7+parseInt(_0x49f61f(0xd3))/0x8+-parseInt(_0x49f61f(0xd5))/0x9;if(_0x1526eb===_0x3e74b0)break;else _0x2bd5f3['push'](_0x2bd5f3['shift']());}catch(_0x2960f5){_0x2bd5f3['push'](_0x2bd5f3['shift']());}}}(_0x43bd,0x4adf9));export class ModelElementTracker{[_0x3572d4(0xb3)];[_0x3572d4(0xc4)];[_0x3572d4(0xb6)];[_0x3572d4(0xba)]=new Map();constructor(_0x2b8745,_0x3614c8){const _0xac4ae7=_0x3572d4;this[_0xac4ae7(0xb3)]=_0x2b8745,this[_0xac4ae7(0xc4)]=_0x3614c8[_0xac4ae7(0xc1)],this[_0xac4ae7(0xb6)]=_0x3614c8[_0xac4ae7(0xbb)];}[_0x3572d4(0xca)](){const _0x2c3124=_0x3572d4;this[_0x2c3124(0xba)][_0x2c3124(0xd4)]();}[_0x3572d4(0xcb)](_0x1424e0){const _0x3f6d0c=_0x3572d4,_0x4eb41b=new Set(),_0x5f1310=new Map();for(const _0x4c3822 of _0x1424e0){if(_0x3f6d0c(0xb1)===_0x4c3822[_0x3f6d0c(0xbf)]&&_0x3f6d0c(0xbc)!==_0x4c3822[_0x3f6d0c(0xd1)]&&_0x4c3822[_0x3f6d0c(0xd0)][_0x3f6d0c(0xbe)]){const _0x1edd47=this[_0x3f6d0c(0xb3)][_0x3f6d0c(0xc8)](_0x4c3822[_0x3f6d0c(0xd0)][_0x3f6d0c(0xbe)]);for(const _0x449b7e of _0x1edd47[_0x3f6d0c(0xc3)]()){if(!_0x449b7e['is'](_0x3f6d0c(0xd2),this[_0x3f6d0c(0xc4)]))continue;const _0x4f501a=this[_0x3f6d0c(0xb6)](_0x449b7e);_0x5f1310[_0x3f6d0c(0xd8)](_0x4f501a)||_0x5f1310[_0x3f6d0c(0xb2)](_0x4f501a,[]),_0x5f1310[_0x3f6d0c(0xc0)](_0x4f501a)[_0x3f6d0c(0xd7)](_0x449b7e);}}if(_0x3f6d0c(0xb5)===_0x4c3822[_0x3f6d0c(0xbf)]&&_0x4c3822[_0x3f6d0c(0xd1)]===this[_0x3f6d0c(0xc4)]){const _0x20dddd=this[_0x3f6d0c(0xb6)]({'getAttribute':_0x14a5f4=>_0x4c3822[_0x3f6d0c(0xd6)][_0x3f6d0c(0xc0)](_0x14a5f4)});_0x4eb41b[_0x3f6d0c(0xc6)](_0x20dddd);}}for(const [_0x52093f,_0x5f3e9e]of this[_0x3f6d0c(0xba)])_0x3f6d0c(0xd9)===_0x5f3e9e[_0x3f6d0c(0xce)][_0x3f6d0c(0xb4)]&&_0x4eb41b[_0x3f6d0c(0xc6)](_0x52093f);for(const _0x28ba52 of _0x4eb41b)this[_0x3f6d0c(0xba)][_0x3f6d0c(0xc9)](_0x28ba52);for(const [_0x5a5a66,_0x582c14]of _0x5f1310)this[_0x3f6d0c(0xba)][_0x3f6d0c(0xb2)](_0x5a5a66,_0x582c14[_0x582c14[_0x3f6d0c(0xbd)]-0x1]);const _0x3b85dd=new Set();for(const [_0x27c4a8,_0xeb147d]of _0x5f1310)_0x4eb41b[_0x3f6d0c(0xd8)](_0x27c4a8)&&(_0x3b85dd[_0x3f6d0c(0xc6)](_0xeb147d[0x0]),_0xeb147d[_0x3f6d0c(0xbd)]>0x1?_0x5f1310[_0x3f6d0c(0xb2)](_0x27c4a8,_0xeb147d[_0x3f6d0c(0xb7)](0x1)):_0x5f1310[_0x3f6d0c(0xc9)](_0x27c4a8),_0x4eb41b[_0x3f6d0c(0xc9)](_0x27c4a8));return{'removed':Array[_0x3f6d0c(0xc5)](_0x4eb41b),'inserted':Array[_0x3f6d0c(0xc5)](_0x5f1310[_0x3f6d0c(0xcf)]())[_0x3f6d0c(0xc2)](),'moved':Array[_0x3f6d0c(0xc5)](_0x3b85dd)};}}
23
+ const _0x5433f7=_0x3de6;(function(_0x1640cd,_0xbf69b2){const _0x53f107=_0x3de6,_0xf3d3b9=_0x1640cd();while(!![]){try{const _0x4f6fab=-parseInt(_0x53f107(0x92))/0x1*(parseInt(_0x53f107(0x91))/0x2)+-parseInt(_0x53f107(0xa7))/0x3+-parseInt(_0x53f107(0x86))/0x4*(-parseInt(_0x53f107(0x9c))/0x5)+-parseInt(_0x53f107(0x9f))/0x6+parseInt(_0x53f107(0x97))/0x7*(parseInt(_0x53f107(0x96))/0x8)+parseInt(_0x53f107(0xa6))/0x9+parseInt(_0x53f107(0x83))/0xa*(parseInt(_0x53f107(0x8e))/0xb);if(_0x4f6fab===_0xbf69b2)break;else _0xf3d3b9['push'](_0xf3d3b9['shift']());}catch(_0x18c84c){_0xf3d3b9['push'](_0xf3d3b9['shift']());}}}(_0x1553,0xbe777));function _0x1553(){const _0x17b356=['root','reset','getItems','nodeAfter','createRangeOn','has','44WtIqrA','_getElementKey','name','218gnrlHV','5779dSIlik','_elementName','$graveyard','type','12215256hGKLDV','7Cukbbn','position','flat','clear','elementName','1843770UtkrvX','attributes','set','6354378muhHVo','slice','rootName','remove','values','element','_model','779283JXEWHK','4493769XyOZrQ','get','delete','length','insert','getElementKey','from','add','getChanges','3118230nPpEqp','_trackedElements','push','12CaKSjI','$text'];_0x1553=function(){return _0x17b356;};return _0x1553();}function _0x3de6(_0x5e7418,_0x3c3392){const _0x155324=_0x1553();return _0x3de6=function(_0x3de640,_0x624aec){_0x3de640=_0x3de640-0x7f;let _0x117811=_0x155324[_0x3de640];return _0x117811;},_0x3de6(_0x5e7418,_0x3c3392);}export class ModelElementTracker{[_0x5433f7(0xa5)];[_0x5433f7(0x93)];[_0x5433f7(0x8f)];[_0x5433f7(0x84)]=new Map();constructor(_0x3162bc,_0x543ab4){const _0x1a2f14=_0x5433f7;this[_0x1a2f14(0xa5)]=_0x3162bc,this[_0x1a2f14(0x93)]=_0x543ab4[_0x1a2f14(0x9b)],this[_0x1a2f14(0x8f)]=_0x543ab4[_0x1a2f14(0x7f)];}[_0x5433f7(0x89)](){const _0x11d0f7=_0x5433f7;this[_0x11d0f7(0x84)][_0x11d0f7(0x9a)]();}[_0x5433f7(0x82)](_0x529225){const _0x35d343=_0x5433f7,_0x15d449=new Set(),_0x18270f=new Map();for(const _0x478b7e of _0x529225){if(_0x35d343(0xab)===_0x478b7e[_0x35d343(0x95)]&&_0x35d343(0x87)!==_0x478b7e[_0x35d343(0x90)]&&_0x478b7e[_0x35d343(0x98)][_0x35d343(0x8b)]){const _0x4dbf83=this[_0x35d343(0xa5)][_0x35d343(0x8c)](_0x478b7e[_0x35d343(0x98)][_0x35d343(0x8b)]);for(const _0x456ed9 of _0x4dbf83[_0x35d343(0x8a)]()){if(!_0x456ed9['is'](_0x35d343(0xa4),this[_0x35d343(0x93)]))continue;const _0x2693d2=this[_0x35d343(0x8f)](_0x456ed9);_0x18270f[_0x35d343(0x8d)](_0x2693d2)||_0x18270f[_0x35d343(0x9e)](_0x2693d2,[]),_0x18270f[_0x35d343(0xa8)](_0x2693d2)[_0x35d343(0x85)](_0x456ed9);}}if(_0x35d343(0xa2)===_0x478b7e[_0x35d343(0x95)]&&_0x478b7e[_0x35d343(0x90)]===this[_0x35d343(0x93)]){const _0x494029=this[_0x35d343(0x8f)]({'getAttribute':_0xf16337=>_0x478b7e[_0x35d343(0x9d)][_0x35d343(0xa8)](_0xf16337)});_0x15d449[_0x35d343(0x81)](_0x494029);}}for(const [_0xb64dc4,_0x5d9a07]of this[_0x35d343(0x84)])_0x35d343(0x94)===_0x5d9a07[_0x35d343(0x88)][_0x35d343(0xa1)]&&_0x15d449[_0x35d343(0x81)](_0xb64dc4);for(const _0xdfb246 of _0x15d449)this[_0x35d343(0x84)][_0x35d343(0xa9)](_0xdfb246);for(const [_0x25ded1,_0x4edbf4]of _0x18270f)this[_0x35d343(0x84)][_0x35d343(0x9e)](_0x25ded1,_0x4edbf4[_0x4edbf4[_0x35d343(0xaa)]-0x1]);const _0xeeef80=new Set();for(const [_0x3d8aab,_0x8f20e4]of _0x18270f)_0x15d449[_0x35d343(0x8d)](_0x3d8aab)&&(_0xeeef80[_0x35d343(0x81)](_0x8f20e4[0x0]),_0x8f20e4[_0x35d343(0xaa)]>0x1?_0x18270f[_0x35d343(0x9e)](_0x3d8aab,_0x8f20e4[_0x35d343(0xa0)](0x1)):_0x18270f[_0x35d343(0xa9)](_0x3d8aab),_0x15d449[_0x35d343(0xa9)](_0x3d8aab));return{'removed':Array[_0x35d343(0x80)](_0x15d449),'inserted':Array[_0x35d343(0x80)](_0x18270f[_0x35d343(0xa3)]())[_0x35d343(0x99)](),'moved':Array[_0x35d343(0x80)](_0xeeef80)};}}