@ckeditor/ckeditor5-footnotes 47.6.0-alpha.7 → 47.6.0-alpha.9

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 _0x1d8fdd}from'ckeditor5/src/core.js';import{isWidget as _0x1070a4,toWidget as _0xf9aa84,toWidgetEditable as _0x3ceaa3}from'ckeditor5/src/widget.js';import{uid as _0xf3d927}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5a6314,ClickObserver as _0x27e54d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x36d619}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x57f99e}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1d8fdd{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x36d619];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3afb05}=this;_0x3afb05['config']['define']('footnotes.multiBlock',!0x0),_0x3afb05['commands']['add']('insertFootnote',new _0x57f99e(_0x3afb05)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2df4ed){const _0x2d2451=_0x3afa6d([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]),_0x420340=0x47a28506,_0x4db5a2=0x47a5064e^_0x420340,_0x1e783f=window[_0x3afa6d([0x44,0x61,0x74,0x65])][_0x3afa6d([0x6e,0x6f,0x77])](),_0x129695=_0x2df4ed[_0x3afa6d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4efcee=new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d76c7=>{_0x129695[_0x3afa6d([0x6f,0x6e,0x63,0x65])](_0x3afa6d([0x72,0x65,0x61,0x64,0x79]),_0x2d76c7);}),_0x24b0d7={[_0x3afa6d([0x6b,0x74,0x79])]:_0x3afa6d([0x45,0x43]),[_0x3afa6d([0x75,0x73,0x65])]:_0x3afa6d([0x73,0x69,0x67]),[_0x3afa6d([0x63,0x72,0x76])]:_0x3afa6d([0x50,0x2d,0x32,0x35,0x36]),[_0x3afa6d([0x78])]:_0x3afa6d([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]),[_0x3afa6d([0x79])]:_0x3afa6d([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]),[_0x3afa6d([0x61,0x6c,0x67])]:_0x3afa6d([0x45,0x53,0x32,0x35,0x36])},_0x6bdf9a=_0x129695[_0x3afa6d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3afa6d([0x67,0x65,0x74])](_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e42b7(){let _0x700905,_0xf0e421=null,_0x1acb15=null;try{if(_0x6bdf9a==_0x3afa6d([0x47,0x50,0x4c]))return _0x3afa6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x700905=_0x5e16e0(),!_0x700905)return _0x3afa6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x700905[_0x3afa6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1acb15=_0x266f28(_0x700905[_0x3afa6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x700905[_0x3afa6d([0x6a,0x74,0x69])])),await _0x4ae149()?_0x34411c()?_0x79e5b4()?_0x3afa6d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dcd8a()?(_0x700905[_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3afa6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf0e421=_0x9a4a16(_0x3afa6d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36c9d1()):_0x3afa6d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3afa6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3afa6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3afa6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x79e5b4(){const _0x1076ab=[_0x3afa6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3afa6d([0x74,0x72,0x69,0x61,0x6c])][_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x700905[_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e783f/0x3e8:0xe10*_0x4db5a2;return _0x700905[_0x3afa6d([0x65,0x78,0x70])]<_0x1076ab;}function _0x34411c(){const _0x17f311=_0x700905[_0x3afa6d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17f311&&(!!_0x17f311[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3afa6d([0x2a]))||!!_0x17f311[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3afa6d([0x46,0x4f,0x4f])));}function _0x4dcd8a(){const _0x269ce1=_0x700905[_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x269ce1||0x0==_0x269ce1[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x439f2b}=new URL(window[_0x3afa6d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x269ce1[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x439f2b))return!0x0;const _0x29115c=_0x439f2b[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e]));return _0x269ce1[_0x3afa6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d8a12=>_0x3d8a12[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3afa6d([0x2a])))[_0x3afa6d([0x6d,0x61,0x70])](_0x516a6a=>_0x516a6a[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e])))[_0x3afa6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33a163=>_0x33a163[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29115c[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3afa6d([0x6d,0x61,0x70])](_0x482c87=>Array(_0x29115c[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x482c87[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3afa6d([0x66,0x69,0x6c,0x6c])](_0x482c87[0x0]===_0x3afa6d([0x2a])?_0x3afa6d([0x2a]):'')[_0x3afa6d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x482c87))[_0x3afa6d([0x73,0x6f,0x6d,0x65])](_0xed70d=>_0x29115c[_0x3afa6d([0x65,0x76,0x65,0x72,0x79])]((_0x43de92,_0x5a6a5e)=>_0xed70d[_0x5a6a5e]===_0x43de92||_0xed70d[_0x5a6a5e]===_0x3afa6d([0x2a])));}function _0x36c9d1(){return _0xf0e421&&_0x1acb15?new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c44a4,_0x11c1ce)=>{_0xf0e421[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x2c44a4,_0x11c1ce),_0x1acb15[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x46b0bb=>{_0x46b0bb!=_0x3afa6d([0x56,0x61,0x6c,0x69,0x64])&&_0x2c44a4(_0x46b0bb);},_0x11c1ce);}):_0xf0e421||_0x1acb15||_0x3afa6d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x266f28(_0x2ae367,_0xc872e2){return new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe7166e=>{if(_0x35fc16())return _0xe7166e(_0x3afa6d([0x56,0x61,0x6c,0x69,0x64]));_0xf23be7(),_0x129695[_0x3afa6d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3afa6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x419e1c=!0x1;const _0x5ebd9f=_0xf3d927();function _0x544bdc(_0x1d4744){return!!_0x1d4744&&(typeof _0x1d4744===_0x3afa6d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d4744===_0x3afa6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d4744[_0x3afa6d([0x74,0x68,0x65,0x6e])]===_0x3afa6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d4744[_0x3afa6d([0x63,0x61,0x74,0x63,0x68])]===_0x3afa6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14c1a6(_0x37d944){_0xc3acf6(_0x37d944)[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x26d287=>{if(!_0x26d287||_0x26d287[_0x3afa6d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3afa6d([0x6f,0x6b]))return _0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b4d52(_0x5af276(_0x5ebd9f+_0xc872e2))!=_0x26d287[_0x3afa6d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3afa6d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x19d39e=>(_0xa799b4(),_0x19d39e),()=>{const _0x52bb69=_0x5994eb();return null==_0x52bb69?(_0xa799b4(),_0x3afa6d([0x56,0x61,0x6c,0x69,0x64])):_0x3afa6d(_0x1e783f-_0x52bb69>(0x63ae0106^_0x420340)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0xe7166e)[_0x3afa6d([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe7166e(_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22ca8a=0x47946b86^_0x420340;function _0xa799b4(){const _0x42feee=_0x3afa6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b4d52(_0x5af276(_0x2ae367)),_0x570a0d=_0x1b0f5f(_0x5b4d52(window[_0x3afa6d([0x4d,0x61,0x74,0x68])][_0x3afa6d([0x63,0x65,0x69,0x6c])](_0x1e783f/_0x22ca8a)));window[_0x3afa6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3afa6d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42feee,_0x570a0d);}function _0x5994eb(){const _0x3d8c1e=_0x3afa6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b4d52(_0x5af276(_0x2ae367)),_0x32f78c=window[_0x3afa6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3afa6d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d8c1e);return _0x32f78c?window[_0x3afa6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b0f5f(_0x32f78c),0x10)*_0x22ca8a:null;}function _0xc3acf6(_0xb5f954){return new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eb021,_0x32753b)=>{_0xb5f954[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x3eb021,_0x32753b),window[_0x3afa6d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32753b,0x47a351c6^_0x420340);});}}_0x129695[_0x3afa6d([0x6f,0x6e])](_0x3afa6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28571e,_0x540a46)=>{if(_0x540a46[0x0]!=_0x2ae367)return _0xe7166e(_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x540a46[0x1]={..._0x540a46[0x1],[_0x3afa6d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ebd9f};},{[_0x3afa6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3afa6d([0x68,0x69,0x67,0x68])}),_0x129695[_0x3afa6d([0x6f,0x6e])](_0x3afa6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3447ad=>{_0x544bdc(_0x3447ad[_0x3afa6d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x419e1c=!0x0,_0x14c1a6(_0x3447ad[_0x3afa6d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3afa6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3afa6d([0x6c,0x6f,0x77])}),_0x4efcee[_0x3afa6d([0x74,0x68,0x65,0x6e])](()=>{_0x419e1c||_0xe7166e(_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35fc16(){return _0x129695[_0x3afa6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3afa6d([0x76,0x69,0x65,0x77])][_0x3afa6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3afa6d([0x61,0x75,0x74,0x6f]);}function _0xf23be7(){_0x129695[_0x3afa6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3afa6d([0x76,0x69,0x65,0x77])][_0x3afa6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3afa6d([0x61,0x75,0x74,0x6f]);}}function _0x9a4a16(_0x2f93dd){const _0x3f7f03=[new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x566540=>setTimeout(_0x566540,0x47abbbca^_0x420340)),_0x4efcee[_0x3afa6d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x511419=>{let _0x33ee36=0x0;_0x129695[_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3afa6d([0x6f,0x6e])](_0x3afa6d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1605ad,_0x197bb7)=>{_0x197bb7[0x0][_0x3afa6d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33ee36++,_0x33ee36==(0x47a280ee^_0x420340)&&(_0x511419(),_0x1605ad[_0x3afa6d([0x6f,0x66,0x66])]());});}))];return window[_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3afa6d([0x72,0x61,0x63,0x65])](_0x3f7f03)[_0x3afa6d([0x74,0x68,0x65,0x6e])](()=>_0x2f93dd);}async function _0x305a46(){await _0x4efcee,_0x129695[_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3afa6d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x81c346,_0x129695[_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3afa6d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x81c346,_0x129695[_0x3afa6d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44cd78(_0x3f143c){const _0x563899=_0xf14ea9();_0x129695[_0x563899]=_0x3afa6d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f143c,_0x3f143c!=_0x3afa6d([0x56,0x61,0x6c,0x69,0x64])&&_0x305a46();}function _0xf14ea9(){const _0x5459b4=window[_0x3afa6d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3afa6d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3afa6d([0x6e,0x6f,0x77])]())[_0x3afa6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3afa6d([0x2e]),'');let _0xe214f1=_0x3afa6d([0x75]);for(let _0x48bb0a=0x0;_0x48bb0a<_0x5459b4[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48bb0a+=0x2){let _0x951ceb=window[_0x3afa6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5459b4[_0x3afa6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48bb0a,_0x48bb0a+0x2));_0x951ceb>=_0x2d2451[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x951ceb-=_0x2d2451[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe214f1+=_0x2d2451[_0x951ceb];}return _0xe214f1;}function _0x5e16e0(){const _0x273133=_0x6bdf9a[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e]));if(0x3!=_0x273133[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40c35e(_0x273133[0x1]);function _0x40c35e(_0x3d0041){const _0x4aa255=_0x396415(_0x3d0041);return _0x4aa255&&_0x2cdaed()?_0x4aa255:null;function _0x2cdaed(){const _0x15abce=_0x4aa255[_0x3afa6d([0x6a,0x74,0x69])],_0x441c74=window[_0x3afa6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15abce[_0x3afa6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15abce[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36c12f={..._0x4aa255,[_0x3afa6d([0x6a,0x74,0x69])]:_0x15abce[_0x3afa6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15abce[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36c12f[_0x3afa6d([0x76,0x63])],_0x5af276(_0x36c12f)==_0x441c74;}}}async function _0x4ae149(){let _0x7c577f=!0x0;try{const _0x4158ea=_0x6bdf9a[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e])),[_0x4991b1,_0x3ac71f,_0x424801]=_0x4158ea;return _0x214736(_0x4991b1),await _0x5c1b0a(_0x4991b1,_0x3ac71f,_0x424801),_0x7c577f;}catch{return!0x1;}function _0x214736(_0x312c13){const _0x48b7e7=_0x396415(_0x312c13);_0x48b7e7&&_0x48b7e7[_0x3afa6d([0x61,0x6c,0x67])]==_0x3afa6d([0x45,0x53,0x32,0x35,0x36])||(_0x7c577f=!0x1);}async function _0x5c1b0a(_0x56e1a0,_0x21cc68,_0x28de89){const _0x2ce685=window[_0x3afa6d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3afa6d([0x66,0x72,0x6f,0x6d])](_0xee2fb2(_0x28de89),_0x3da96f=>_0x3da96f[_0x3afa6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x274e57=new window[(_0x3afa6d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3afa6d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56e1a0+_0x3afa6d([0x2e])+_0x21cc68),_0x214b49=window[_0x3afa6d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3afa6d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x214b49)return;const _0x272bfd=await _0x214b49[_0x3afa6d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3afa6d([0x6a,0x77,0x6b]),_0x24b0d7,{[_0x3afa6d([0x6e,0x61,0x6d,0x65])]:_0x3afa6d([0x45,0x43,0x44,0x53,0x41]),[_0x3afa6d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3afa6d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3afa6d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x214b49[_0x3afa6d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3afa6d([0x6e,0x61,0x6d,0x65])]:_0x3afa6d([0x45,0x43,0x44,0x53,0x41]),[_0x3afa6d([0x68,0x61,0x73,0x68])]:{[_0x3afa6d([0x6e,0x61,0x6d,0x65])]:_0x3afa6d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x272bfd,_0x2ce685,_0x274e57)||(_0x7c577f=!0x1);}}function _0x396415(_0x228a8a){return _0x228a8a[_0x3afa6d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3afa6d([0x65,0x79]))?JSON[_0x3afa6d([0x70,0x61,0x72,0x73,0x65])](_0xee2fb2(_0x228a8a)):null;}function _0xee2fb2(_0x4a83aa){return window[_0x3afa6d([0x61,0x74,0x6f,0x62])](_0x4a83aa[_0x3afa6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3afa6d([0x2b]))[_0x3afa6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3afa6d([0x2f])));}function _0x5af276(_0x2b65a5){let _0x413cd5=0x1505;function _0x3ff44e(_0x3437e6){for(let _0x2a3d71=0x0;_0x2a3d71<_0x3437e6[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a3d71++){const _0x25ed99=_0x3437e6[_0x3afa6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a3d71);_0x413cd5=(_0x413cd5<<0x5)+_0x413cd5+_0x25ed99,_0x413cd5&=_0x413cd5;}}function _0x5c30a0(_0x310c07){Array[_0x3afa6d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x310c07)?_0x310c07[_0x3afa6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c30a0):_0x310c07&&typeof _0x310c07==_0x3afa6d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3afa6d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x310c07)[_0x3afa6d([0x73,0x6f,0x72,0x74])]()[_0x3afa6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x132a77,_0x579fdc])=>{_0x3ff44e(_0x132a77),_0x5c30a0(_0x579fdc);}):_0x3ff44e(window[_0x3afa6d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x310c07));}return _0x5c30a0(_0x2b65a5),_0x413cd5>>>0x0;}function _0x5b4d52(_0x33313c){return _0x33313c[_0x3afa6d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3afa6d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3afa6d([0x30]));}function _0x1b0f5f(_0x22ddba){return _0x22ddba[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3afa6d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3afa6d([0x6a,0x6f,0x69,0x6e])]('');}function _0x81c346(){}function _0x3afa6d(_0xc6aa69){return _0xc6aa69['map'](_0x41719b=>String['fromCharCode'](_0x41719b))['join']('');}_0x44cd78(await _0x3e42b7());}(this);}['_moveSelectionToFootnoteDefinition'](_0x31052b){const {plugins:_0x51f0c3,editing:_0x11b119,model:_0xb73233}=this['editor'],_0xed0e6e=_0x51f0c3['get'](_0x36d619)['getFootnote'](_0x31052b);return!!_0xed0e6e&&(_0xb73233['change'](_0x51181d=>{_0x51181d['setSelection'](_0x51181d['createPositionAt'](_0xed0e6e['definition'],'end'));}),_0x11b119['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x259a10){const {plugins:_0x45c6c2,editing:_0x3b941c,model:_0x5181c5}=this['editor'],_0x1a3d7e=_0x45c6c2['get'](_0x36d619)['getFootnote'](_0x259a10);return!!_0x1a3d7e&&(_0x5181c5['change'](_0x140f8a=>{_0x140f8a['setSelection'](_0x1a3d7e['reference'],'on');}),_0x3b941c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x56f4ef}=this['editor']['model'],_0x592d83=this['editor']['config']['get']('footnotes.multiBlock');_0x56f4ef['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x56f4ef['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x56f4ef['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x592d83?_0x56f4ef['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x56f4ef['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x56f4ef['addChildCheck'](_0x530246=>{for(const _0x27e8e8 of _0x530246)if('footnoteDefinition'===_0x27e8e8['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x358bcb}=this,{conversion:_0x180387,editing:_0x1184a4}=_0x358bcb,{t:t}=_0x358bcb['locale'];_0x180387['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x425b03,{writer:_0x5b182b,consumable:_0x4b1de3})=>{const _0x24db5a=_0x425b03['getChild'](0x0);if(!_0x24db5a||!_0x24db5a['is']('element','a'))return null;const _0x3ca536=_0x24db5a['getAttribute']('href')||'';if(!_0x3ca536['startsWith']('#'))return null;const _0xbc126d=_0x3ca536['replace'](/^#/,'');if(!_0xbc126d)return null;_0x4b1de3['consume'](_0x24db5a,{'name':!0x0,'attributes':['href']});for(const {item:_0x255298}of _0x1184a4['view']['createRangeIn'](_0x24db5a))_0x255298['is']('$textProxy')?_0x4b1de3['consume'](_0x255298['textNode'],{'name':!0x0}):_0x255298['is']('element')&&_0x4b1de3['consume'](_0x255298,{'name':!0x0});return _0x5b182b['createElement']('footnoteRef',{'footnoteId':_0xbc126d});}}),_0x180387['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36dabe,{writer:_0x31db3d})=>b(_0x36dabe,_0x31db3d)}),_0x180387['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2226a1,{writer:_0x576424})=>{const _0x232720=_0x2226a1['getAttribute']('footnoteCounter');return _0xf9aa84(b(_0x2226a1,_0x576424),_0x576424,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x232720)});}});}['_defineDefinitionsConverters'](){const {editor:_0x58e1aa}=this,{t:t}=_0x58e1aa['locale'],{conversion:_0x2c5da4}=_0x58e1aa;_0x2c5da4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2c5da4['for']('upcast')['add'](_0x1e0714=>{_0x1e0714['on']('element:ol',(_0x9f927b,_0x38af10,_0x35c6df)=>{const _0xa189a1=_0x38af10['viewItem'];if(!_0xa189a1['hasClass']('footnotes-list')||!_0x38af10['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x35c6df['consumable']['consume'](_0xa189a1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x48cbd8,modelCursor:_0x428d78}=_0x35c6df['convertChildren'](_0x38af10['viewItem'],_0x38af10['modelCursor']);_0x38af10['modelRange']=_0x48cbd8,_0x38af10['modelCursor']=_0x428d78;}),_0x1e0714['on']('element:hr',(_0xf3b12e,_0x48f007,_0x55baea)=>{const _0x133788=_0x48f007['viewItem'];_0x133788['hasClass']('footnotes-divider')&&_0x48f007['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x55baea['consumable']['consume'](_0x133788,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2c5da4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x501d7c,{writer:_0x4a0829})=>D(_0x4a0829)}),_0x2c5da4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xedd8e4,{writer:_0x410a1e})=>{const _0x512fb1=D(_0x410a1e,{'data-footnotes-list-label':t('Footnotes')}),_0x59192d=_0xf9aa84(_0x512fb1,_0x410a1e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x410a1e['setCustomProperty']('footnotesDefinitions',!0x0,_0x59192d),_0x59192d;}});}['_defineDefinitionConverters'](){const {editor:_0x194058}=this,{conversion:_0x10c8c,locale:_0x4ff828}=_0x194058,_0x31155f=_0x194058['config']['get']('footnotes.multiBlock');_0x10c8c['for']('upcast')['add'](_0x1f6e98=>{_0x1f6e98['on']('element:li',(_0x29790c,_0x312d7b,_0x443d93)=>{const _0x5cd2fb=_0x312d7b['viewItem'];if(!_0x5cd2fb['hasClass']('footnote-definition')||!_0x5cd2fb['getAttribute']('id'))return;const _0x52d83d=_0x5cd2fb['parent'];if(!_0x52d83d['is']('element','ol')||!_0x52d83d['hasClass']('footnotes-list'))return;if(!_0x443d93['consumable']['test'](_0x5cd2fb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2db475=_0x443d93['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5cd2fb['getAttribute']('id')});if(!_0x443d93['safeInsert'](_0x2db475,_0x312d7b['modelCursor']))return;_0x443d93['consumable']['consume'](_0x5cd2fb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x49123e=Array['from'](_0x5cd2fb['getChildren']())['find'](_0x499ced=>_0x499ced['is']('element')&&_0x499ced['hasClass']('footnote-content'));for(const _0x12380c of _0x5cd2fb['getChildren']())_0x12380c['is']('element')&&(_0x443d93['consumable']['consume'](_0x12380c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x443d93['consumable']['consume'](_0x12380c,{'name':!0x0,'classes':'footnote-content'}));if(_0x49123e){if(_0x31155f)_0x443d93['convertChildren'](_0x49123e,_0x2db475);else{const _0x2fd35f=_0x443d93['writer']['createElement']('footnoteInlineContent');_0x443d93['writer']['insert'](_0x2fd35f,_0x2db475),_0x443d93['convertChildren'](_0x49123e,_0x2fd35f);}}_0x443d93['updateConversionResult'](_0x2db475,_0x312d7b);});}),_0x10c8c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5e0ec6,{writer:_0x56de7a})=>y(_0x5e0ec6,_0x56de7a,_0x4ff828,{'dataPipeline':!0x0})}),_0x10c8c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x26f3e0,{writer:_0x342f62})=>y(_0x26f3e0,_0x342f62,_0x4ff828)});}['_defineBogusParagraphConverters'](){const {editor:_0x516676}=this,{conversion:_0x2b8541}=_0x516676;_0x516676['config']['get']('footnotes.multiBlock')?(_0x2b8541['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2b8541['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x516676['model']['document'],'change:data',()=>{!function(_0x2bc3f6,_0x572e7a){const _0x21bd70=_0x2bc3f6['document']['differ'],_0x57d14b=new Set();for(const _0x161e15 of _0x21bd70['getChanges']()){const _0x388531='attribute'==_0x161e15['type']?_0x161e15['range']['start']['parent']:_0x161e15['position']['parent'];_0x388531['is']('element','footnoteDefinition')&&_0x57d14b['add'](_0x388531);}for(const _0x3fce6c of _0x57d14b['values']()){const _0x11b106=Array['from'](_0x3fce6c['getChildren']())['filter'](_0x167370=>v(_0x167370,_0x572e7a['mapper']));for(const _0x56895d of _0x11b106)_0x572e7a['reconvertItem'](_0x56895d);}}(_0x516676['model'],_0x516676['editing']);})):(_0x2b8541['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2b8541['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x536abb,{writer:_0x4b2676})=>{const _0x571a63=_0x4b2676['createContainerElement']('span');return _0x4b2676['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x571a63),_0x571a63;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2d42c2}=this,{editing:_0x315b07,t:t}=_0x2d42c2,_0x84c1a9=_0x2d42c2['model']['document']['selection'];_0x2d42c2['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2d42c2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x315b07['view']['document'],'enter',(_0x416d4c,_0x144272)=>{const _0xc243ce=function(_0x1aac36){const _0x2c5df1=_0x1aac36['getSelectedElement']();if(_0x2c5df1?.['is']('element','footnoteRef'))return _0x2c5df1;return null;}(_0x84c1a9);if(_0xc243ce){const _0x410937=_0xc243ce['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x410937),_0x144272['preventDefault'](),_0x416d4c['stop']();}},{'context':_0x1070a4});}['_defineClickHandlers'](){const {editor:_0x43acff}=this,{editing:_0x4acee1}=_0x43acff;_0x43acff['editing']['view']['addObserver'](_0x5a6314),_0x43acff['editing']['view']['addObserver'](_0x27e54d);let _0x40d920=!0x1;this['listenTo'](_0x4acee1['view']['document'],'pointerdown',(_0x535097,_0x32177e)=>{const {target:_0x364be1}=_0x32177e,_0x5e69d2=_0x4acee1['view']['document']['selection'];_0x40d920=!!(_0x364be1?.['is']('element','a')&&_0x364be1['parent']?.['is']('element','sup')&&_0x364be1['parent']['hasClass']('footnote'))&&_0x5e69d2['getSelectedElement']()===_0x364be1['parent'];},{'priority':'high'}),this['listenTo'](_0x4acee1['view']['document'],'click',(_0x4c73b1,_0x373465)=>{const {target:_0x417540}=_0x373465;if(!_0x417540?.['is']('element','a'))return;if(_0x417540['parent']?.['is']('element','sup')&&_0x417540['parent']['hasClass']('footnote')&&!_0x40d920)return void _0x373465['preventDefault']();let _0x19e80b=_0x417540['getAttribute']('href');if(!_0x19e80b?.['startsWith']('#'))return;_0x19e80b=_0x19e80b['slice'](0x1);let _0x4bf3d9=!0x1;(_0x19e80b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x19e80b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x19e80b))&&(_0x4bf3d9=!0x0),_0x4bf3d9&&(_0x373465['preventDefault'](),_0x4c73b1['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x4b6338}={}){return(_0x3ee708,{writer:_0x5cd803})=>{if(!g(_0x3ee708))return null;if(!_0x4b6338)return _0x5cd803['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2afeb2=_0x5cd803['createContainerElement']('p');return _0x5cd803['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2afeb2),_0x2afeb2;};}function g(_0x5da730){const {parent:_0xd3cfcb}=_0x5da730;if(!_0xd3cfcb?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xd3cfcb['childCount'])return!0x1;for(const _0x4eb0bb of _0x5da730['getAttributeKeys']())if(!_0x4eb0bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4eb0bb)return!0x1;return!0x0;}function v(_0x5eb880,_0x1ede2b){if(!_0x5eb880['is']('element','paragraph'))return!0x1;const _0x492f06=_0x1ede2b['toViewElement'](_0x5eb880);return!!_0x492f06&&g(_0x5eb880)!==_0x492f06['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x41a41b){return _0x1070a4(_0x41a41b)&&_0x41a41b['is']('containerElement')&&!!_0x41a41b['getCustomProperty']('footnotesDefinitions');}function D(_0x50d3f2,_0x22b47a={}){const _0x4df4dd=_0x50d3f2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xcbd9c1=_0x50d3f2['createContainerElement']('ol',{'class':'footnotes-list'},_0x50d3f2['createSlot']());return _0x50d3f2['createContainerElement']('div',{'class':'footnotes',..._0x22b47a},[_0x4df4dd,_0xcbd9c1]);}function b(_0x270420,_0x40c903){const _0x57497d=_0x270420['getAttribute']('footnoteId'),_0x132a76=_0x270420['getAttribute']('footnoteCounter'),_0x353863=_0x40c903['createUIElement']('a',{'href':'#'+_0x57497d},function(_0x2beacf){const _0x2bbabd=this['toDomElement'](_0x2beacf);return _0x2bbabd['textContent']=_0x132a76,_0x2bbabd;}),_0x50f14a=_0x40c903['createContainerElement']('sup',{'id':'ref-'+_0x57497d,'class':'footnote'},[_0x353863]);return _0x50f14a['getFillerOffset']=()=>null,_0x50f14a;}function y(_0x46a886,_0x233c3a,_0x37bb27,{dataPipeline:_0x23302c}={}){const {t:t}=_0x37bb27,_0x429dc3=_0x46a886['getAttribute']('footnoteId'),_0x9e6d0=_0x233c3a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x429dc3},function(_0x5e34c8){const _0x4e21e0=this['toDomElement'](_0x5e34c8);return _0x4e21e0['innerText']='^',_0x4e21e0;}),_0xbd97c3=_0x23302c?_0x233c3a['createContainerElement']('div',{'class':'footnote-content'}):_0x3ceaa3(_0x233c3a['createEditableElement']('div',{'class':'footnote-content'}),_0x233c3a,{'label':t('Footnote\x20content.')});return _0x233c3a['insert'](_0x233c3a['createPositionAt'](_0xbd97c3,0x0),_0x233c3a['createSlot']()),_0x233c3a['createContainerElement']('li',{'class':'footnote-definition','id':_0x429dc3},[_0x9e6d0,_0xbd97c3]);}
23
+ import{Plugin as _0x23c96f}from'ckeditor5/src/core.js';import{isWidget as _0x3afae4,toWidget as _0x3e0014,toWidgetEditable as _0x77e270}from'ckeditor5/src/widget.js';import{uid as _0x498ddb}from'ckeditor5/src/utils.js';import{PointerObserver as _0x258eda,ClickObserver as _0x5db1ef}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0xd811d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x47b8df}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x23c96f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0xd811d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5422fa}=this;_0x5422fa['config']['define']('footnotes.multiBlock',!0x0),_0x5422fa['commands']['add']('insertFootnote',new _0x47b8df(_0x5422fa)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd548bb){const _0x4183f8=_0x40e240([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]),_0x2aa548=0x47a28506,_0x1640f6=0x47a50666^_0x2aa548,_0xb9e2cb=window[_0x40e240([0x44,0x61,0x74,0x65])][_0x40e240([0x6e,0x6f,0x77])](),_0x304306=_0xd548bb[_0x40e240([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x497178=new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a97c8=>{_0x304306[_0x40e240([0x6f,0x6e,0x63,0x65])](_0x40e240([0x72,0x65,0x61,0x64,0x79]),_0x4a97c8);}),_0x675fb4={[_0x40e240([0x6b,0x74,0x79])]:_0x40e240([0x45,0x43]),[_0x40e240([0x75,0x73,0x65])]:_0x40e240([0x73,0x69,0x67]),[_0x40e240([0x63,0x72,0x76])]:_0x40e240([0x50,0x2d,0x32,0x35,0x36]),[_0x40e240([0x78])]:_0x40e240([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]),[_0x40e240([0x79])]:_0x40e240([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]),[_0x40e240([0x61,0x6c,0x67])]:_0x40e240([0x45,0x53,0x32,0x35,0x36])},_0xb9e1d1=_0x304306[_0x40e240([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40e240([0x67,0x65,0x74])](_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16f61b(){let _0x4a75d8,_0x149112=null,_0x280915=null;try{if(_0xb9e1d1==_0x40e240([0x47,0x50,0x4c]))return _0x40e240([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a75d8=_0x240193(),!_0x4a75d8)return _0x40e240([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a75d8[_0x40e240([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x280915=_0x5b593d(_0x4a75d8[_0x40e240([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a75d8[_0x40e240([0x6a,0x74,0x69])])),await _0x5f0050()?_0x49c93b()?_0x5805a3()?_0x40e240([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7f7e35()?(_0x4a75d8[_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40e240([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x149112=_0x39c623(_0x40e240([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe7cd3d()):_0x40e240([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40e240([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40e240([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40e240([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5805a3(){const _0x25f3d4=[_0x40e240([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40e240([0x74,0x72,0x69,0x61,0x6c])][_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a75d8[_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb9e2cb/0x3e8:0xe10*_0x1640f6;return _0x4a75d8[_0x40e240([0x65,0x78,0x70])]<_0x25f3d4;}function _0x49c93b(){const _0x4cd2bc=_0x4a75d8[_0x40e240([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cd2bc&&(!!_0x4cd2bc[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e240([0x2a]))||!!_0x4cd2bc[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e240([0x46,0x4f,0x4f])));}function _0x7f7e35(){const _0x3016c5=_0x4a75d8[_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3016c5||0x0==_0x3016c5[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22352f}=new URL(window[_0x40e240([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3016c5[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22352f))return!0x0;const _0x5bded1=_0x22352f[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e]));return _0x3016c5[_0x40e240([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cd55e=>_0x4cd55e[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e240([0x2a])))[_0x40e240([0x6d,0x61,0x70])](_0x345bc0=>_0x345bc0[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e])))[_0x40e240([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x344de8=>_0x344de8[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5bded1[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40e240([0x6d,0x61,0x70])](_0x37fc45=>Array(_0x5bded1[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37fc45[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40e240([0x66,0x69,0x6c,0x6c])](_0x37fc45[0x0]===_0x40e240([0x2a])?_0x40e240([0x2a]):'')[_0x40e240([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37fc45))[_0x40e240([0x73,0x6f,0x6d,0x65])](_0x1c9860=>_0x5bded1[_0x40e240([0x65,0x76,0x65,0x72,0x79])]((_0xbea2fe,_0x501905)=>_0x1c9860[_0x501905]===_0xbea2fe||_0x1c9860[_0x501905]===_0x40e240([0x2a])));}function _0xe7cd3d(){return _0x149112&&_0x280915?new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x163aa2,_0x334c00)=>{_0x149112[_0x40e240([0x74,0x68,0x65,0x6e])](_0x163aa2,_0x334c00),_0x280915[_0x40e240([0x74,0x68,0x65,0x6e])](_0x287015=>{_0x287015!=_0x40e240([0x56,0x61,0x6c,0x69,0x64])&&_0x163aa2(_0x287015);},_0x334c00);}):_0x149112||_0x280915||_0x40e240([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b593d(_0x2bc3b3,_0x19ab62){return new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41468b=>{if(_0x427165())return _0x41468b(_0x40e240([0x56,0x61,0x6c,0x69,0x64]));_0x415b8a(),_0x304306[_0x40e240([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40e240([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa9fe2f=!0x1;const _0x3e482d=_0x498ddb();function _0x27122d(_0x16f9aa){return!!_0x16f9aa&&(typeof _0x16f9aa===_0x40e240([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f9aa===_0x40e240([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f9aa[_0x40e240([0x74,0x68,0x65,0x6e])]===_0x40e240([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f9aa[_0x40e240([0x63,0x61,0x74,0x63,0x68])]===_0x40e240([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fddd9(_0x28517e){_0x250e87(_0x28517e)[_0x40e240([0x74,0x68,0x65,0x6e])](_0x2eef50=>{if(!_0x2eef50||_0x2eef50[_0x40e240([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40e240([0x6f,0x6b]))return _0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4fdbce(_0x16352e(_0x3e482d+_0x19ab62))!=_0x2eef50[_0x40e240([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40e240([0x56,0x61,0x6c,0x69,0x64]);})[_0x40e240([0x74,0x68,0x65,0x6e])](_0xc6fd=>(_0x47ef0a(),_0xc6fd),()=>{const _0x8cf64b=_0x5323d8();return null==_0x8cf64b?(_0x47ef0a(),_0x40e240([0x56,0x61,0x6c,0x69,0x64])):_0x40e240(_0xb9e2cb-_0x8cf64b>(0x63ae0106^_0x2aa548)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40e240([0x74,0x68,0x65,0x6e])](_0x41468b)[_0x40e240([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41468b(_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10a6fc=0x47946b86^_0x2aa548;function _0x47ef0a(){const _0x388a46=_0x40e240([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fdbce(_0x16352e(_0x2bc3b3)),_0x58688c=_0x45f490(_0x4fdbce(window[_0x40e240([0x4d,0x61,0x74,0x68])][_0x40e240([0x63,0x65,0x69,0x6c])](_0xb9e2cb/_0x10a6fc)));window[_0x40e240([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40e240([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x388a46,_0x58688c);}function _0x5323d8(){const _0x36efb3=_0x40e240([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fdbce(_0x16352e(_0x2bc3b3)),_0x38606e=window[_0x40e240([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40e240([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36efb3);return _0x38606e?window[_0x40e240([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45f490(_0x38606e),0x10)*_0x10a6fc:null;}function _0x250e87(_0x223f1e){return new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3885fa,_0x4237cd)=>{_0x223f1e[_0x40e240([0x74,0x68,0x65,0x6e])](_0x3885fa,_0x4237cd),window[_0x40e240([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4237cd,0x47a351c6^_0x2aa548);});}}_0x304306[_0x40e240([0x6f,0x6e])](_0x40e240([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ddb95,_0x34c986)=>{if(_0x34c986[0x0]!=_0x2bc3b3)return _0x41468b(_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34c986[0x1]={..._0x34c986[0x1],[_0x40e240([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e482d};},{[_0x40e240([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40e240([0x68,0x69,0x67,0x68])}),_0x304306[_0x40e240([0x6f,0x6e])](_0x40e240([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x382ddc=>{_0x27122d(_0x382ddc[_0x40e240([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa9fe2f=!0x0,_0x3fddd9(_0x382ddc[_0x40e240([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40e240([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40e240([0x6c,0x6f,0x77])}),_0x497178[_0x40e240([0x74,0x68,0x65,0x6e])](()=>{_0xa9fe2f||_0x41468b(_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x427165(){return _0x304306[_0x40e240([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40e240([0x76,0x69,0x65,0x77])][_0x40e240([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40e240([0x61,0x75,0x74,0x6f]);}function _0x415b8a(){_0x304306[_0x40e240([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40e240([0x76,0x69,0x65,0x77])][_0x40e240([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40e240([0x61,0x75,0x74,0x6f]);}}function _0x39c623(_0x367b4c){const _0x2077a8=[new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24b88d=>setTimeout(_0x24b88d,0x47abbbca^_0x2aa548)),_0x497178[_0x40e240([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aa8a7=>{let _0x271269=0x0;_0x304306[_0x40e240([0x6d,0x6f,0x64,0x65,0x6c])][_0x40e240([0x6f,0x6e])](_0x40e240([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc67ac1,_0xcd3e7a)=>{_0xcd3e7a[0x0][_0x40e240([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x271269++,_0x271269==(0x47a280ee^_0x2aa548)&&(_0x3aa8a7(),_0xc67ac1[_0x40e240([0x6f,0x66,0x66])]());});}))];return window[_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40e240([0x72,0x61,0x63,0x65])](_0x2077a8)[_0x40e240([0x74,0x68,0x65,0x6e])](()=>_0x367b4c);}async function _0x53655d(){await _0x497178,_0x304306[_0x40e240([0x6d,0x6f,0x64,0x65,0x6c])][_0x40e240([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a752b,_0x304306[_0x40e240([0x6d,0x6f,0x64,0x65,0x6c])][_0x40e240([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a752b,_0x304306[_0x40e240([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40e240([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfc4573(_0x427467){const _0x297e3f=_0x116a80();_0x304306[_0x297e3f]=_0x40e240([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427467,_0x427467!=_0x40e240([0x56,0x61,0x6c,0x69,0x64])&&_0x53655d();}function _0x116a80(){const _0x354abd=window[_0x40e240([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40e240([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40e240([0x6e,0x6f,0x77])]())[_0x40e240([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40e240([0x2e]),'');let _0xbcece5=_0x40e240([0x75]);for(let _0x5e8b40=0x0;_0x5e8b40<_0x354abd[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e8b40+=0x2){let _0x629892=window[_0x40e240([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x354abd[_0x40e240([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e8b40,_0x5e8b40+0x2));_0x629892>=_0x4183f8[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x629892-=_0x4183f8[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbcece5+=_0x4183f8[_0x629892];}return _0xbcece5;}function _0x240193(){const _0x68a6ac=_0xb9e1d1[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e]));if(0x3!=_0x68a6ac[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e04d3(_0x68a6ac[0x1]);function _0x2e04d3(_0x1a1cda){const _0x184834=_0x33265e(_0x1a1cda);return _0x184834&&_0x495c88()?_0x184834:null;function _0x495c88(){const _0x50b10e=_0x184834[_0x40e240([0x6a,0x74,0x69])],_0x4a1fdb=window[_0x40e240([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50b10e[_0x40e240([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50b10e[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46fcab={..._0x184834,[_0x40e240([0x6a,0x74,0x69])]:_0x50b10e[_0x40e240([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50b10e[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46fcab[_0x40e240([0x76,0x63])],_0x16352e(_0x46fcab)==_0x4a1fdb;}}}async function _0x5f0050(){let _0x426b56=!0x0;try{const _0x3f09e4=_0xb9e1d1[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e])),[_0x4cf8f5,_0x1b044d,_0x431808]=_0x3f09e4;return _0x16de14(_0x4cf8f5),await _0x556029(_0x4cf8f5,_0x1b044d,_0x431808),_0x426b56;}catch{return!0x1;}function _0x16de14(_0x2649bd){const _0x157d75=_0x33265e(_0x2649bd);_0x157d75&&_0x157d75[_0x40e240([0x61,0x6c,0x67])]==_0x40e240([0x45,0x53,0x32,0x35,0x36])||(_0x426b56=!0x1);}async function _0x556029(_0x3f001c,_0x20c1eb,_0x5774df){const _0x5286b3=window[_0x40e240([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40e240([0x66,0x72,0x6f,0x6d])](_0x4244a3(_0x5774df),_0x483241=>_0x483241[_0x40e240([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f25fb=new window[(_0x40e240([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40e240([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f001c+_0x40e240([0x2e])+_0x20c1eb),_0x5ac6b8=window[_0x40e240([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40e240([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ac6b8)return;const _0x4c138b=await _0x5ac6b8[_0x40e240([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40e240([0x6a,0x77,0x6b]),_0x675fb4,{[_0x40e240([0x6e,0x61,0x6d,0x65])]:_0x40e240([0x45,0x43,0x44,0x53,0x41]),[_0x40e240([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40e240([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40e240([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ac6b8[_0x40e240([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40e240([0x6e,0x61,0x6d,0x65])]:_0x40e240([0x45,0x43,0x44,0x53,0x41]),[_0x40e240([0x68,0x61,0x73,0x68])]:{[_0x40e240([0x6e,0x61,0x6d,0x65])]:_0x40e240([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c138b,_0x5286b3,_0x2f25fb)||(_0x426b56=!0x1);}}function _0x33265e(_0x480d72){return _0x480d72[_0x40e240([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40e240([0x65,0x79]))?JSON[_0x40e240([0x70,0x61,0x72,0x73,0x65])](_0x4244a3(_0x480d72)):null;}function _0x4244a3(_0x1eb823){return window[_0x40e240([0x61,0x74,0x6f,0x62])](_0x1eb823[_0x40e240([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40e240([0x2b]))[_0x40e240([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40e240([0x2f])));}function _0x16352e(_0x3f2896){let _0x2b0af7=0x1505;function _0x41717f(_0x5a01d7){for(let _0x356f2f=0x0;_0x356f2f<_0x5a01d7[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x356f2f++){const _0x25680c=_0x5a01d7[_0x40e240([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x356f2f);_0x2b0af7=(_0x2b0af7<<0x5)+_0x2b0af7+_0x25680c,_0x2b0af7&=_0x2b0af7;}}function _0x4a153c(_0x4019c8){Array[_0x40e240([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4019c8)?_0x4019c8[_0x40e240([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a153c):_0x4019c8&&typeof _0x4019c8==_0x40e240([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40e240([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4019c8)[_0x40e240([0x73,0x6f,0x72,0x74])]()[_0x40e240([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2353e7,_0x51bcde])=>{_0x41717f(_0x2353e7),_0x4a153c(_0x51bcde);}):_0x41717f(window[_0x40e240([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4019c8));}return _0x4a153c(_0x3f2896),_0x2b0af7>>>0x0;}function _0x4fdbce(_0xf3363a){return _0xf3363a[_0x40e240([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40e240([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40e240([0x30]));}function _0x45f490(_0x20c588){return _0x20c588[_0x40e240([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40e240([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40e240([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a752b(){}function _0x40e240(_0xe3bded){return _0xe3bded['map'](_0x185756=>String['fromCharCode'](_0x185756))['join']('');}_0xfc4573(await _0x16f61b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1cf582){const {plugins:_0x3ff782,editing:_0x1a8d3a,model:_0x3bd79b}=this['editor'],_0x10fcfb=_0x3ff782['get'](_0xd811d)['getFootnote'](_0x1cf582);return!!_0x10fcfb&&(_0x3bd79b['change'](_0x4e1e8e=>{_0x4e1e8e['setSelection'](_0x4e1e8e['createPositionAt'](_0x10fcfb['definition'],'end'));}),_0x1a8d3a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x282fdb){const {plugins:_0x80ad6a,editing:_0xd1601f,model:_0x28598c}=this['editor'],_0x51c559=_0x80ad6a['get'](_0xd811d)['getFootnote'](_0x282fdb);return!!_0x51c559&&(_0x28598c['change'](_0x4c5281=>{_0x4c5281['setSelection'](_0x51c559['reference'],'on');}),_0xd1601f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x159ec5}=this['editor']['model'],_0x1f03cd=this['editor']['config']['get']('footnotes.multiBlock');_0x159ec5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x159ec5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x159ec5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1f03cd?_0x159ec5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x159ec5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x159ec5['addChildCheck'](_0xd00ebc=>{for(const _0x31f136 of _0xd00ebc)if('footnoteDefinition'===_0x31f136['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2bf875}=this,{conversion:_0x2acc2d,editing:_0x1aee0a}=_0x2bf875,{t:t}=_0x2bf875['locale'];_0x2acc2d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5b6e28,{writer:_0x47df1f,consumable:_0x18576f})=>{const _0x1f2982=_0x5b6e28['getChild'](0x0);if(!_0x1f2982||!_0x1f2982['is']('element','a'))return null;const _0x44e248=_0x1f2982['getAttribute']('href')||'';if(!_0x44e248['startsWith']('#'))return null;const _0x1376f9=_0x44e248['replace'](/^#/,'');if(!_0x1376f9)return null;_0x18576f['consume'](_0x1f2982,{'name':!0x0,'attributes':['href']});for(const {item:_0x1b733d}of _0x1aee0a['view']['createRangeIn'](_0x1f2982))_0x1b733d['is']('$textProxy')?_0x18576f['consume'](_0x1b733d['textNode'],{'name':!0x0}):_0x1b733d['is']('element')&&_0x18576f['consume'](_0x1b733d,{'name':!0x0});return _0x47df1f['createElement']('footnoteRef',{'footnoteId':_0x1376f9});}}),_0x2acc2d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2dff22,{writer:_0x1abbe5})=>b(_0x2dff22,_0x1abbe5)}),_0x2acc2d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x55aada,{writer:_0x550bdd})=>{const _0x3eee88=_0x55aada['getAttribute']('footnoteCounter');return _0x3e0014(b(_0x55aada,_0x550bdd),_0x550bdd,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3eee88)});}});}['_defineDefinitionsConverters'](){const {editor:_0xed95d4}=this,{t:t}=_0xed95d4['locale'],{conversion:_0x53bb26}=_0xed95d4;_0x53bb26['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x53bb26['for']('upcast')['add'](_0x4b5517=>{_0x4b5517['on']('element:ol',(_0x152eb6,_0xad6ead,_0x47c666)=>{const _0x1c623d=_0xad6ead['viewItem'];if(!_0x1c623d['hasClass']('footnotes-list')||!_0xad6ead['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x47c666['consumable']['consume'](_0x1c623d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x82ed70,modelCursor:_0x1e00ad}=_0x47c666['convertChildren'](_0xad6ead['viewItem'],_0xad6ead['modelCursor']);_0xad6ead['modelRange']=_0x82ed70,_0xad6ead['modelCursor']=_0x1e00ad;}),_0x4b5517['on']('element:hr',(_0x6751eb,_0x422ab6,_0x3957c6)=>{const _0xf2693c=_0x422ab6['viewItem'];_0xf2693c['hasClass']('footnotes-divider')&&_0x422ab6['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3957c6['consumable']['consume'](_0xf2693c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x53bb26['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50610a,{writer:_0x2f587a})=>D(_0x2f587a)}),_0x53bb26['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1cf4a3,{writer:_0x559bb9})=>{const _0x4dad5a=D(_0x559bb9,{'data-footnotes-list-label':t('Footnotes')}),_0x335afb=_0x3e0014(_0x4dad5a,_0x559bb9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x559bb9['setCustomProperty']('footnotesDefinitions',!0x0,_0x335afb),_0x335afb;}});}['_defineDefinitionConverters'](){const {editor:_0x57a068}=this,{conversion:_0x3ac162,locale:_0x862eb4}=_0x57a068,_0x5e3216=_0x57a068['config']['get']('footnotes.multiBlock');_0x3ac162['for']('upcast')['add'](_0x3b728c=>{_0x3b728c['on']('element:li',(_0x15a93a,_0x147a35,_0x5e2a08)=>{const _0x337d58=_0x147a35['viewItem'];if(!_0x337d58['hasClass']('footnote-definition')||!_0x337d58['getAttribute']('id'))return;const _0x2c27c9=_0x337d58['parent'];if(!_0x2c27c9['is']('element','ol')||!_0x2c27c9['hasClass']('footnotes-list'))return;if(!_0x5e2a08['consumable']['test'](_0x337d58,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x14b632=_0x5e2a08['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x337d58['getAttribute']('id')});if(!_0x5e2a08['safeInsert'](_0x14b632,_0x147a35['modelCursor']))return;_0x5e2a08['consumable']['consume'](_0x337d58,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5e2188=Array['from'](_0x337d58['getChildren']())['find'](_0xc8de2=>_0xc8de2['is']('element')&&_0xc8de2['hasClass']('footnote-content'));for(const _0x32de86 of _0x337d58['getChildren']())_0x32de86['is']('element')&&(_0x5e2a08['consumable']['consume'](_0x32de86,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5e2a08['consumable']['consume'](_0x32de86,{'name':!0x0,'classes':'footnote-content'}));if(_0x5e2188){if(_0x5e3216)_0x5e2a08['convertChildren'](_0x5e2188,_0x14b632);else{const _0x8226a5=_0x5e2a08['writer']['createElement']('footnoteInlineContent');_0x5e2a08['writer']['insert'](_0x8226a5,_0x14b632),_0x5e2a08['convertChildren'](_0x5e2188,_0x8226a5);}}_0x5e2a08['updateConversionResult'](_0x14b632,_0x147a35);});}),_0x3ac162['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d026e,{writer:_0x12652a})=>y(_0x2d026e,_0x12652a,_0x862eb4,{'dataPipeline':!0x0})}),_0x3ac162['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x267a99,{writer:_0x7e40c9})=>y(_0x267a99,_0x7e40c9,_0x862eb4)});}['_defineBogusParagraphConverters'](){const {editor:_0x53b4be}=this,{conversion:_0x1b8c3d}=_0x53b4be;_0x53b4be['config']['get']('footnotes.multiBlock')?(_0x1b8c3d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1b8c3d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x53b4be['model']['document'],'change:data',()=>{!function(_0x4cb83e,_0x378c1c){const _0x4f10c4=_0x4cb83e['document']['differ'],_0x3384de=new Set();for(const _0x2276ef of _0x4f10c4['getChanges']()){const _0x4e6a84='attribute'==_0x2276ef['type']?_0x2276ef['range']['start']['parent']:_0x2276ef['position']['parent'];_0x4e6a84['is']('element','footnoteDefinition')&&_0x3384de['add'](_0x4e6a84);}for(const _0x141a63 of _0x3384de['values']()){const _0x39a4f2=Array['from'](_0x141a63['getChildren']())['filter'](_0xff55ec=>v(_0xff55ec,_0x378c1c['mapper']));for(const _0x4cc0d9 of _0x39a4f2)_0x378c1c['reconvertItem'](_0x4cc0d9);}}(_0x53b4be['model'],_0x53b4be['editing']);})):(_0x1b8c3d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1b8c3d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1df74d,{writer:_0x3be79b})=>{const _0x564236=_0x3be79b['createContainerElement']('span');return _0x3be79b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x564236),_0x564236;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2c3c89}=this,{editing:_0x2e1de8,t:t}=_0x2c3c89,_0xc94383=_0x2c3c89['model']['document']['selection'];_0x2c3c89['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2c3c89['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2e1de8['view']['document'],'enter',(_0x155189,_0x5db120)=>{const _0xc7c81b=function(_0x2f0d32){const _0x3e811e=_0x2f0d32['getSelectedElement']();if(_0x3e811e?.['is']('element','footnoteRef'))return _0x3e811e;return null;}(_0xc94383);if(_0xc7c81b){const _0x38b63f=_0xc7c81b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x38b63f),_0x5db120['preventDefault'](),_0x155189['stop']();}},{'context':_0x3afae4});}['_defineClickHandlers'](){const {editor:_0x3f88dc}=this,{editing:_0x3d4bc7}=_0x3f88dc;_0x3f88dc['editing']['view']['addObserver'](_0x258eda),_0x3f88dc['editing']['view']['addObserver'](_0x5db1ef);let _0x182fbc=!0x1;this['listenTo'](_0x3d4bc7['view']['document'],'pointerdown',(_0x536f82,_0x5eb21e)=>{const {target:_0x36d6d9}=_0x5eb21e,_0x3938f9=_0x3d4bc7['view']['document']['selection'];_0x182fbc=!!(_0x36d6d9?.['is']('element','a')&&_0x36d6d9['parent']?.['is']('element','sup')&&_0x36d6d9['parent']['hasClass']('footnote'))&&_0x3938f9['getSelectedElement']()===_0x36d6d9['parent'];},{'priority':'high'}),this['listenTo'](_0x3d4bc7['view']['document'],'click',(_0x43aeeb,_0x1f9ef2)=>{const {target:_0x3e434e}=_0x1f9ef2;if(!_0x3e434e?.['is']('element','a'))return;if(_0x3e434e['parent']?.['is']('element','sup')&&_0x3e434e['parent']['hasClass']('footnote')&&!_0x182fbc)return void _0x1f9ef2['preventDefault']();let _0x44d52f=_0x3e434e['getAttribute']('href');if(!_0x44d52f?.['startsWith']('#'))return;_0x44d52f=_0x44d52f['slice'](0x1);let _0x57996f=!0x1;(_0x44d52f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x44d52f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x44d52f))&&(_0x57996f=!0x0),_0x57996f&&(_0x1f9ef2['preventDefault'](),_0x43aeeb['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2c835e}={}){return(_0x23b266,{writer:_0x5e6c6c})=>{if(!g(_0x23b266))return null;if(!_0x2c835e)return _0x5e6c6c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4dec97=_0x5e6c6c['createContainerElement']('p');return _0x5e6c6c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4dec97),_0x4dec97;};}function g(_0x57d54b){const {parent:_0x45bf3c}=_0x57d54b;if(!_0x45bf3c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x45bf3c['childCount'])return!0x1;for(const _0x1d957a of _0x57d54b['getAttributeKeys']())if(!_0x1d957a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1d957a)return!0x1;return!0x0;}function v(_0x32ebdd,_0x15ae5a){if(!_0x32ebdd['is']('element','paragraph'))return!0x1;const _0x555821=_0x15ae5a['toViewElement'](_0x32ebdd);return!!_0x555821&&g(_0x32ebdd)!==_0x555821['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x485893){return _0x3afae4(_0x485893)&&_0x485893['is']('containerElement')&&!!_0x485893['getCustomProperty']('footnotesDefinitions');}function D(_0x10c8b6,_0x3e62d6={}){const _0xe0c98d=_0x10c8b6['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x40311b=_0x10c8b6['createContainerElement']('ol',{'class':'footnotes-list'},_0x10c8b6['createSlot']());return _0x10c8b6['createContainerElement']('div',{'class':'footnotes',..._0x3e62d6},[_0xe0c98d,_0x40311b]);}function b(_0x27d3b2,_0x2065e1){const _0xa350eb=_0x27d3b2['getAttribute']('footnoteId'),_0x3d653f=_0x27d3b2['getAttribute']('footnoteCounter'),_0x482068=_0x2065e1['createUIElement']('a',{'href':'#'+_0xa350eb},function(_0x4ba659){const _0x5adb32=this['toDomElement'](_0x4ba659);return _0x5adb32['textContent']=_0x3d653f,_0x5adb32;}),_0x8ed82=_0x2065e1['createContainerElement']('sup',{'id':'ref-'+_0xa350eb,'class':'footnote'},[_0x482068]);return _0x8ed82['getFillerOffset']=()=>null,_0x8ed82;}function y(_0x52f5bf,_0x502f88,_0x19d715,{dataPipeline:_0x52affc}={}){const {t:t}=_0x19d715,_0x14c11b=_0x52f5bf['getAttribute']('footnoteId'),_0x504869=_0x502f88['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x14c11b},function(_0x546b64){const _0x23569d=this['toDomElement'](_0x546b64);return _0x23569d['innerText']='^',_0x23569d;}),_0x1107e0=_0x52affc?_0x502f88['createContainerElement']('div',{'class':'footnote-content'}):_0x77e270(_0x502f88['createEditableElement']('div',{'class':'footnote-content'}),_0x502f88,{'label':t('Footnote\x20content.')});return _0x502f88['insert'](_0x502f88['createPositionAt'](_0x1107e0,0x0),_0x502f88['createSlot']()),_0x502f88['createContainerElement']('li',{'class':'footnote-definition','id':_0x14c11b},[_0x504869,_0x1107e0]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53d292=_0x206d;function _0x3ccc(){const _0x3ece99=['9DLMfyT','footnotesListStart','plugins','get','190364gfOmLe','execute','_updateFootnotesCounters','272037ZRPzUG','539958XzYXct','refresh','getFootnotesDefinitionsObjectElement','36630UNCFGT','2900860vZDvEr','value','isInteger','30QjUDkF','model','setAttribute','316024qSNFOw','change','8922420MXbSUI','21tISlOp','getAttribute','isEnabled'];_0x3ccc=function(){return _0x3ece99;};return _0x3ccc();}(function(_0x3fb6c5,_0x5e589f){const _0x6559ed=_0x206d,_0x25e7a1=_0x3fb6c5();while(!![]){try{const _0x5a030d=parseInt(_0x6559ed(0xc6))/0x1+parseInt(_0x6559ed(0xbf))/0x2+-parseInt(_0x6559ed(0xc2))/0x3+parseInt(_0x6559ed(0xc7))/0x4+parseInt(_0x6559ed(0xca))/0x5*(parseInt(_0x6559ed(0xc3))/0x6)+-parseInt(_0x6559ed(0xd0))/0x7*(-parseInt(_0x6559ed(0xcd))/0x8)+parseInt(_0x6559ed(0xd3))/0x9*(-parseInt(_0x6559ed(0xcf))/0xa);if(_0x5a030d===_0x5e589f)break;else _0x25e7a1['push'](_0x25e7a1['shift']());}catch(_0x407fd3){_0x25e7a1['push'](_0x25e7a1['shift']());}}}(_0x3ccc,0x8205d));function _0x206d(_0x5dccb2,_0x1af80a){const _0x3cccde=_0x3ccc();return _0x206d=function(_0x206d7f,_0x2dcc10){_0x206d7f=_0x206d7f-0xbc;let _0xf37442=_0x3cccde[_0x206d7f];return _0xf37442;},_0x206d(_0x5dccb2,_0x1af80a);}import{Command as _0x22960c}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x1111c2}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x22960c{[_0x53d292(0xc4)](){const _0x2ec8ac=_0x53d292,{editor:_0x5c16cb}=this,_0x349ead=_0x5c16cb[_0x2ec8ac(0xbd)][_0x2ec8ac(0xbe)](_0x1111c2)[_0x2ec8ac(0xc5)]();this[_0x2ec8ac(0xd2)]=!!_0x349ead,this[_0x2ec8ac(0xc8)]=_0x349ead?.[_0x2ec8ac(0xd1)](_0x2ec8ac(0xbc))??null;}[_0x53d292(0xc0)]({value:_0x49d4b0}){const _0x3e1932=_0x53d292,{editor:_0x4b894c}=this,_0x405def=_0x4b894c[_0x3e1932(0xbd)][_0x3e1932(0xbe)](_0x1111c2),_0x252c2c=_0x405def[_0x3e1932(0xc5)]();_0x252c2c&&Number[_0x3e1932(0xc9)](_0x49d4b0)&&_0x4b894c[_0x3e1932(0xcb)][_0x3e1932(0xce)](_0x271b32=>{const _0x52df31=_0x3e1932;_0x271b32[_0x52df31(0xcc)](_0x52df31(0xbc),_0x49d4b0,_0x252c2c),_0x405def[_0x52df31(0xc1)](_0x271b32);});}}
23
+ function _0x4b15(_0x3a6fc5,_0x1b53ab){const _0x5247a1=_0x5247();return _0x4b15=function(_0x4b158b,_0x15bf72){_0x4b158b=_0x4b158b-0x129;let _0x38e5f6=_0x5247a1[_0x4b158b];return _0x38e5f6;},_0x4b15(_0x3a6fc5,_0x1b53ab);}function _0x5247(){const _0x1e9e6d=['531WxnQPR','refresh','plugins','448642UuxyOE','change','_updateFootnotesCounters','4SEqBxt','footnotesListStart','18880azeFKv','977620ESeSte','execute','value','3112096LtPNvZ','750356LAhAJC','isInteger','setAttribute','getFootnotesDefinitionsObjectElement','get','2807328zeiLYp','9642143fJYlry','isEnabled','getAttribute','model','3bQDZth'];_0x5247=function(){return _0x1e9e6d;};return _0x5247();}const _0x1e3a2b=_0x4b15;(function(_0x489013,_0x45a5b5){const _0x5cca38=_0x4b15,_0x59c073=_0x489013();while(!![]){try{const _0x152acc=parseInt(_0x5cca38(0x140))/0x1*(-parseInt(_0x5cca38(0x13d))/0x2)+parseInt(_0x5cca38(0x139))/0x3*(parseInt(_0x5cca38(0x12f))/0x4)+parseInt(_0x5cca38(0x12b))/0x5+parseInt(_0x5cca38(0x134))/0x6+parseInt(_0x5cca38(0x135))/0x7+-parseInt(_0x5cca38(0x12e))/0x8+parseInt(_0x5cca38(0x13a))/0x9*(-parseInt(_0x5cca38(0x12a))/0xa);if(_0x152acc===_0x45a5b5)break;else _0x59c073['push'](_0x59c073['shift']());}catch(_0x220ccd){_0x59c073['push'](_0x59c073['shift']());}}}(_0x5247,0xcad2a));import{Command as _0x294a75}from'ckeditor5/src/core.js';import{FootnotesTracker as _0xa1f11}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x294a75{[_0x1e3a2b(0x13b)](){const _0x2e44ae=_0x1e3a2b,{editor:_0x27389f}=this,_0x11b6ae=_0x27389f[_0x2e44ae(0x13c)][_0x2e44ae(0x133)](_0xa1f11)[_0x2e44ae(0x132)]();this[_0x2e44ae(0x136)]=!!_0x11b6ae,this[_0x2e44ae(0x12d)]=_0x11b6ae?.[_0x2e44ae(0x137)](_0x2e44ae(0x129))??null;}[_0x1e3a2b(0x12c)]({value:_0x1b9e91}){const _0x1901b2=_0x1e3a2b,{editor:_0x4f333c}=this,_0x565253=_0x4f333c[_0x1901b2(0x13c)][_0x1901b2(0x133)](_0xa1f11),_0x156109=_0x565253[_0x1901b2(0x132)]();_0x156109&&Number[_0x1901b2(0x130)](_0x1b9e91)&&_0x4f333c[_0x1901b2(0x138)][_0x1901b2(0x13e)](_0xb5249b=>{const _0x2dc61e=_0x1901b2;_0xb5249b[_0x2dc61e(0x131)](_0x2dc61e(0x129),_0x1b9e91,_0x156109),_0x565253[_0x2dc61e(0x13f)](_0xb5249b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ad009=_0x3218;function _0x3218(_0x376549,_0xb68f59){const _0x5a0edb=_0x5a0e();return _0x3218=function(_0x3218dd,_0x3fd8ff){_0x3218dd=_0x3218dd-0x1e9;let _0x74c386=_0x5a0edb[_0x3218dd];return _0x74c386;},_0x3218(_0x376549,_0xb68f59);}(function(_0x548c3c,_0x3c7bd3){const _0x5aaa95=_0x3218,_0x2d3324=_0x548c3c();while(!![]){try{const _0x4a094a=parseInt(_0x5aaa95(0x1f6))/0x1*(-parseInt(_0x5aaa95(0x1f7))/0x2)+parseInt(_0x5aaa95(0x1f3))/0x3*(-parseInt(_0x5aaa95(0x1ea))/0x4)+parseInt(_0x5aaa95(0x1f8))/0x5*(parseInt(_0x5aaa95(0x1fe))/0x6)+parseInt(_0x5aaa95(0x1ee))/0x7*(-parseInt(_0x5aaa95(0x1fc))/0x8)+-parseInt(_0x5aaa95(0x1f1))/0x9*(-parseInt(_0x5aaa95(0x1f0))/0xa)+parseInt(_0x5aaa95(0x1f2))/0xb+parseInt(_0x5aaa95(0x1f5))/0xc;if(_0x4a094a===_0x3c7bd3)break;else _0x2d3324['push'](_0x2d3324['shift']());}catch(_0x482b97){_0x2d3324['push'](_0x2d3324['shift']());}}}(_0x5a0e,0x2fc2c));import{Command as _0x1190a8}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x27bbed}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x2fd6e7}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x1190a8{[_0x3ad009(0x1e9)](){const _0x14a933=_0x3ad009,{editor:_0x146230}=this,_0x5ec190=_0x146230[_0x14a933(0x1f4)][_0x14a933(0x1ec)](_0x2fd6e7)[_0x14a933(0x201)]();this[_0x14a933(0x1fb)]=!!_0x5ec190,this[_0x14a933(0x1ef)]=_0x5ec190?.[_0x14a933(0x1ff)](_0x14a933(0x1fd))??null;}[_0x3ad009(0x202)]({value:_0x3371ad}){const _0x27c6e9=_0x3ad009,{editor:_0x2c2d5f}=this,_0x1c2565=_0x2c2d5f[_0x27c6e9(0x1f4)][_0x27c6e9(0x1ec)](_0x2fd6e7),_0x435f1a=_0x1c2565[_0x27c6e9(0x201)]();_0x435f1a&&_0x27bbed[_0x27c6e9(0x1fa)](_0x3371ad)&&_0x2c2d5f[_0x27c6e9(0x1f9)][_0x27c6e9(0x1ed)](_0x19dd90=>{const _0x3ab034=_0x27c6e9;_0x19dd90[_0x3ab034(0x200)](_0x3ab034(0x1fd),_0x3371ad,_0x435f1a),_0x1c2565[_0x3ab034(0x1eb)](_0x19dd90);});}}function _0x5a0e(){const _0x2d2f0c=['value','100CGFfDH','170829LvkvjJ','1492832vfQcDp','951PgmkAL','plugins','3436632XwCBQf','3iHCXPC','446qDRJhU','505vTLsgO','model','includes','isEnabled','159816rlbJgv','footnotesListStyle','2694QABtfT','getAttribute','setAttribute','getFootnotesDefinitionsObjectElement','execute','refresh','4052qSrlls','_updateFootnotesCounters','get','change','49OSvpUQ'];_0x5a0e=function(){return _0x2d2f0c;};return _0x5a0e();}
23
+ const _0x39a172=_0xd0e7;(function(_0x4b055e,_0x1ddd70){const _0x1d1a84=_0xd0e7,_0x450750=_0x4b055e();while(!![]){try{const _0x23184f=parseInt(_0x1d1a84(0x13c))/0x1+-parseInt(_0x1d1a84(0x134))/0x2*(parseInt(_0x1d1a84(0x132))/0x3)+parseInt(_0x1d1a84(0x12d))/0x4*(parseInt(_0x1d1a84(0x12c))/0x5)+-parseInt(_0x1d1a84(0x136))/0x6*(-parseInt(_0x1d1a84(0x140))/0x7)+parseInt(_0x1d1a84(0x13a))/0x8*(-parseInt(_0x1d1a84(0x12e))/0x9)+-parseInt(_0x1d1a84(0x130))/0xa+parseInt(_0x1d1a84(0x12b))/0xb;if(_0x23184f===_0x1ddd70)break;else _0x450750['push'](_0x450750['shift']());}catch(_0x452498){_0x450750['push'](_0x450750['shift']());}}}(_0x53b0,0x5a5d3));function _0xd0e7(_0x30914a,_0x3aa539){const _0x53b01e=_0x53b0();return _0xd0e7=function(_0xd0e74a,_0x25c7d9){_0xd0e74a=_0xd0e74a-0x128;let _0x1bf7cf=_0x53b01e[_0xd0e74a];return _0x1bf7cf;},_0xd0e7(_0x30914a,_0x3aa539);}import{Command as _0x26c3d8}from'ckeditor5/src/core.js';function _0x53b0(){const _0x30f94a=['model','6341533XswjfX','545bGNBdT','2836MamoAH','9mqPIDT','isEnabled','4469500Zaprrb','setAttribute','1311615ynvPyN','execute','2bNfhVS','getAttribute','12hAABvg','_updateFootnotesCounters','includes','plugins','262264KxlgPq','refresh','2605UKPrwy','footnotesListStyle','value','get','2207380rsdKcm','getFootnotesDefinitionsObjectElement','change'];_0x53b0=function(){return _0x30f94a;};return _0x53b0();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x159d2e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x2a699d}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x26c3d8{[_0x39a172(0x13b)](){const _0x3af5e2=_0x39a172,{editor:_0xec5100}=this,_0x5ec199=_0xec5100[_0x3af5e2(0x139)][_0x3af5e2(0x13f)](_0x2a699d)[_0x3af5e2(0x128)]();this[_0x3af5e2(0x12f)]=!!_0x5ec199,this[_0x3af5e2(0x13e)]=_0x5ec199?.[_0x3af5e2(0x135)](_0x3af5e2(0x13d))??null;}[_0x39a172(0x133)]({value:_0x41bc89}){const _0x1f4cdc=_0x39a172,{editor:_0x1ac579}=this,_0x5dc00b=_0x1ac579[_0x1f4cdc(0x139)][_0x1f4cdc(0x13f)](_0x2a699d),_0x330836=_0x5dc00b[_0x1f4cdc(0x128)]();_0x330836&&_0x159d2e[_0x1f4cdc(0x138)](_0x41bc89)&&_0x1ac579[_0x1f4cdc(0x12a)][_0x1f4cdc(0x129)](_0x3c46b8=>{const _0x440879=_0x1f4cdc;_0x3c46b8[_0x440879(0x131)](_0x440879(0x13d),_0x41bc89,_0x330836),_0x5dc00b[_0x440879(0x137)](_0x3c46b8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2805e4=_0x151f;function _0x151f(_0x111d5c,_0x45b4f4){const _0x8965ef=_0x8965();return _0x151f=function(_0x151f57,_0x169399){_0x151f57=_0x151f57-0x1b5;let _0x30d739=_0x8965ef[_0x151f57];return _0x30d739;},_0x151f(_0x111d5c,_0x45b4f4);}(function(_0x2e7d67,_0x413d5f){const _0x51a947=_0x151f,_0x55f719=_0x2e7d67();while(!![]){try{const _0x286a28=-parseInt(_0x51a947(0x1b9))/0x1+parseInt(_0x51a947(0x1c6))/0x2+parseInt(_0x51a947(0x1c5))/0x3*(parseInt(_0x51a947(0x1c1))/0x4)+parseInt(_0x51a947(0x1bd))/0x5*(parseInt(_0x51a947(0x1b7))/0x6)+-parseInt(_0x51a947(0x1bc))/0x7+-parseInt(_0x51a947(0x1c0))/0x8*(parseInt(_0x51a947(0x1c4))/0x9)+parseInt(_0x51a947(0x1b5))/0xa*(-parseInt(_0x51a947(0x1ba))/0xb);if(_0x286a28===_0x413d5f)break;else _0x55f719['push'](_0x55f719['shift']());}catch(_0x2cf557){_0x55f719['push'](_0x55f719['shift']());}}}(_0x8965,0x2898a));function _0x8965(){const _0x58431b=['618170rYoajm','decimal-leading-zero','10UBOHnp','decimal','38124mwjdko','upper-latin','64373htYVLb','150777MAzOBc','lower-alpha','172172mULuIx','45CFzKjM','upper-roman','upper-alpha','8ORatjE','968VaToUO','lower-latin','lower-roman','1450809FUKmcd','792vDmEsu'];_0x8965=function(){return _0x58431b;};return _0x8965();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2805e4(0x1b6),_0x2805e4(0x1c7),_0x2805e4(0x1c2),_0x2805e4(0x1b8),_0x2805e4(0x1bb),_0x2805e4(0x1bf),_0x2805e4(0x1c3),_0x2805e4(0x1be)];
23
+ function _0xefd3(){const _0x5013a8=['644ZcrFHu','939ZGWewj','24zpzajp','65097eCLhtB','40286QSwETS','upper-roman','14YqInGO','lower-roman','13792rzlDLY','decimal-leading-zero','2919191ZkMLbt','upper-latin','upper-alpha','decimal','30758IWNbCS','320765OVcDgr','12GSEsST','630ZtFaXk','6foRmJW','lower-latin','lower-alpha','2111848iFxsFe'];_0xefd3=function(){return _0x5013a8;};return _0xefd3();}const _0x3882f3=_0x3115;(function(_0x14cdc6,_0x162c0a){const _0xe1eb9a=_0x3115,_0x36fb83=_0x14cdc6();while(!![]){try{const _0x218e1c=-parseInt(_0xe1eb9a(0x1b6))/0x1*(parseInt(_0xe1eb9a(0x1b4))/0x2)+parseInt(_0xe1eb9a(0x1b3))/0x3*(parseInt(_0xe1eb9a(0x1ba))/0x4)+parseInt(_0xe1eb9a(0x1c1))/0x5*(-parseInt(_0xe1eb9a(0x1ae))/0x6)+parseInt(_0xe1eb9a(0x1b8))/0x7*(-parseInt(_0xe1eb9a(0x1b1))/0x8)+-parseInt(_0xe1eb9a(0x1b5))/0x9*(-parseInt(_0xe1eb9a(0x1ad))/0xa)+-parseInt(_0xe1eb9a(0x1bc))/0xb*(-parseInt(_0xe1eb9a(0x1c2))/0xc)+parseInt(_0xe1eb9a(0x1c0))/0xd*(-parseInt(_0xe1eb9a(0x1b2))/0xe);if(_0x218e1c===_0x162c0a)break;else _0x36fb83['push'](_0x36fb83['shift']());}catch(_0x30c004){_0x36fb83['push'](_0x36fb83['shift']());}}}(_0xefd3,0x965dd));function _0x3115(_0x57bf98,_0x3413fa){const _0xefd388=_0xefd3();return _0x3115=function(_0x311525,_0xcc43e0){_0x311525=_0x311525-0x1ad;let _0x386d8b=_0xefd388[_0x311525];return _0x386d8b;},_0x3115(_0x57bf98,_0x3413fa);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3882f3(0x1bf),_0x3882f3(0x1bb),_0x3882f3(0x1af),_0x3882f3(0x1bd),_0x3882f3(0x1b0),_0x3882f3(0x1be),_0x3882f3(0x1b9),_0x3882f3(0x1b7)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a45e0=_0x5448;(function(_0x74db3e,_0x4d26c5){const _0x4ce636=_0x5448,_0x403a07=_0x74db3e();while(!![]){try{const _0x4d5556=-parseInt(_0x4ce636(0x1ce))/0x1+-parseInt(_0x4ce636(0x1e1))/0x2*(parseInt(_0x4ce636(0x1b7))/0x3)+parseInt(_0x4ce636(0x1c5))/0x4+-parseInt(_0x4ce636(0x205))/0x5+-parseInt(_0x4ce636(0x1ea))/0x6*(parseInt(_0x4ce636(0x1b9))/0x7)+parseInt(_0x4ce636(0x200))/0x8+parseInt(_0x4ce636(0x1f4))/0x9;if(_0x4d5556===_0x4d26c5)break;else _0x403a07['push'](_0x403a07['shift']());}catch(_0x1b1622){_0x403a07['push'](_0x403a07['shift']());}}}(_0x47d7,0x93c5f));import{Plugin as _0x197623}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1cd289}from'./commands/footnotesstylecommand.js';function _0x47d7(){const _0x149ef7=['fromCharCode','checkAttribute','_updateFootnotesCounters','position','lower-latin','18yxCgQG','upper-latin','110033QWvDMe','define','for','removeAttribute','getChildren','_defineConverters','_defineFormatter','toViewElement','schema','footnotes.footnotesProperties.defaultListStyle','add','$text','411728vWUgVO','parseInt','downcast','get','config','getStyle','name','start','requires','135456QHsEEx','isOfficialPlugin','model','find','footnotesStyle','footnotes.footnotesProperties.defaultStartIndex','init','_formatFootnoteListValue','type','pluginName','footnotes-list','attribute:footnotesListStyle:footnotesDefinitions','lower-alpha','isPremiumPlugin','list-style-type','_getDefaultListStyle','insert','max','nodeAfter','14984hiKElc','document','from','_getDefaultStartIndex','viewItem','commands','hasClass','getChanges','padStart','66MzylIo','footnotesListStart','element:ol','setAttribute','differ','lower-roman','element','modelCursor','removeStyle','getItems','3050010wSPXHT','upper-alpha','consume','item','writer','getAttribute','isNaN','setStyle','attribute:footnotesListStart:footnotesDefinitions','toLowerCase','footnotesListStyle','upper-roman','5914776pEyGwk','_definePostfixer','mapper','decimal','consumable','1112865RRsdLp','registerPostFixer','FootnotesPropertiesEditing','plugins','decimal-leading-zero','editor','extend','createRangeOn','hasAttribute','_defineSchema','floor','parent','toUpperCase','footnotesStart','upcast','footnotesDefinitions','setFootnoteFormatter'];_0x47d7=function(){return _0x149ef7;};return _0x47d7();}import{FootnotesStartCommand as _0x241ec9}from'./commands/footnotesstartcommand.js';function _0x5448(_0x1036e9,_0x213837){const _0x47d75e=_0x47d7();return _0x5448=function(_0x5448a5,_0x123509){_0x5448a5=_0x5448a5-0x1b1;let _0x47babe=_0x47d75e[_0x5448a5];return _0x47babe;},_0x5448(_0x1036e9,_0x213837);}import{FootnotesTracker as _0x3b1484}from'../footnotestracker.js';import{FootnotesEditing as _0x1d2e67}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x197623{static get[_0x1a45e0(0x1d7)](){const _0x32b764=_0x1a45e0;return _0x32b764(0x207);}static get[_0x1a45e0(0x1cd)](){return[_0x1d2e67,_0x3b1484];}static get[_0x1a45e0(0x1cf)](){return!0x0;}static get[_0x1a45e0(0x1db)](){return!0x0;}[_0x1a45e0(0x1d4)](){const _0x581999=_0x1a45e0,{editor:_0x115f86}=this;_0x115f86[_0x581999(0x1c9)][_0x581999(0x1ba)](_0x581999(0x1c2),_0x581999(0x203)),_0x115f86[_0x581999(0x1c9)][_0x581999(0x1ba)](_0x581999(0x1d3),0x1),_0x115f86[_0x581999(0x1e6)][_0x581999(0x1c3)](_0x581999(0x1d2),new _0x1cd289(_0x115f86)),_0x115f86[_0x581999(0x1e6)][_0x581999(0x1c3)](_0x581999(0x212),new _0x241ec9(_0x115f86)),this[_0x581999(0x20e)](),this[_0x581999(0x1be)](),this[_0x581999(0x1bf)](),this[_0x581999(0x201)]();}[_0x1a45e0(0x20e)](){const _0xc90631=_0x1a45e0,{editor:_0x5270e3}=this,{schema:_0x339c47}=_0x5270e3[_0xc90631(0x1d0)];_0x339c47[_0xc90631(0x20b)](_0xc90631(0x214),{'allowAttributes':[_0xc90631(0x1fe),_0xc90631(0x1eb)]});}[_0x1a45e0(0x1be)](){const _0x2ff8a0=_0x1a45e0,{editor:_0x58b96f}=this,{conversion:_0x421cf4,model:_0x239659}=_0x58b96f,{schema:_0x5a57f9}=_0x239659;_0x421cf4[_0x2ff8a0(0x1bb)](_0x2ff8a0(0x213))[_0x2ff8a0(0x1c3)](_0x2b3607=>{const _0x51f13f=_0x2ff8a0;_0x2b3607['on'](_0x51f13f(0x1ec),(_0x5f4a1a,_0x3fdea0,_0x30b436)=>{const _0x22deb4=_0x51f13f,_0x3f3a0d=_0x3fdea0[_0x22deb4(0x1e5)],_0x2a3e5c=_0x3fdea0[_0x22deb4(0x1f1)]?.[_0x22deb4(0x210)];_0x3f3a0d[_0x22deb4(0x1e7)](_0x22deb4(0x1d8))&&_0x2a3e5c?.['is'](_0x22deb4(0x1f0),_0x22deb4(0x214))&&(function(_0x4cb9e5,_0x2e6fca,_0x2111f1,_0x8505b){const _0xa43c04=_0x22deb4;if(!_0x8505b[_0xa43c04(0x1b3)](_0x2e6fca,_0xa43c04(0x1eb)))return;let _0x3d2593=0x1;const _0x3a8d49=_0x2111f1[_0xa43c04(0x204)][_0xa43c04(0x1f6)](_0x4cb9e5,{'attributes':_0xa43c04(0x1cc)});if(_0x3a8d49){const _0x1cf8e6=Number[_0xa43c04(0x1c6)](_0x4cb9e5[_0xa43c04(0x1f9)](_0xa43c04(0x1cc)),0xa);Number[_0xa43c04(0x1fa)](_0x1cf8e6)||(_0x3d2593=_0x1cf8e6);}!_0x3a8d49&&_0x2e6fca[_0xa43c04(0x20d)](_0xa43c04(0x1eb))||_0x2111f1[_0xa43c04(0x1f8)][_0xa43c04(0x1ed)](_0xa43c04(0x1eb),_0x3d2593,_0x2e6fca);}(_0x3f3a0d,_0x2a3e5c,_0x30b436,_0x5a57f9),function(_0xfebcd1,_0x31b6fd,_0x47a7a3,_0x452b7d){const _0x3d93c1=_0x22deb4;if(!_0x452b7d[_0x3d93c1(0x1b3)](_0x31b6fd,_0x3d93c1(0x1fe)))return;let _0x4aa776=_0x3d93c1(0x203),_0x15b787=!0x1;if(_0x47a7a3[_0x3d93c1(0x204)][_0x3d93c1(0x1f6)](_0xfebcd1,{'attributes':_0x3d93c1(0x1d6)})){const _0x1078a2={0x1:_0x3d93c1(0x203),'a':_0x3d93c1(0x1da),'A':_0x3d93c1(0x1f5),'i':_0x3d93c1(0x1ef),'I':_0x3d93c1(0x1ff)}[_0xfebcd1[_0x3d93c1(0x1f9)](_0x3d93c1(0x1d6))];_0x1078a2&&(_0x4aa776=_0x1078a2),_0x15b787=!0x0;}_0x47a7a3[_0x3d93c1(0x204)][_0x3d93c1(0x1f6)](_0xfebcd1,{'styles':_0x3d93c1(0x1dc)})&&(_0x4aa776=function(_0x1a9341){const _0x2b8f65=_0x3d93c1;switch(_0x1a9341){case _0x2b8f65(0x1da):return _0x2b8f65(0x1b6);case _0x2b8f65(0x1f5):return _0x2b8f65(0x1b8);default:return _0x1a9341;}}(_0xfebcd1[_0x3d93c1(0x1ca)](_0x3d93c1(0x1dc))),_0x15b787=!0x0),!_0x15b787&&_0x31b6fd[_0x3d93c1(0x20d)](_0x3d93c1(0x1fe))||_0x47a7a3[_0x3d93c1(0x1f8)][_0x3d93c1(0x1ed)](_0x3d93c1(0x1fe),_0x4aa776,_0x31b6fd);}(_0x3f3a0d,_0x2a3e5c,_0x30b436,_0x5a57f9));});}),_0x421cf4[_0x2ff8a0(0x1bb)](_0x2ff8a0(0x1c7))[_0x2ff8a0(0x1c3)](_0x937fda=>{const _0x2c23f6=_0x2ff8a0;_0x937fda['on'](_0x2c23f6(0x1fc),(_0x3e6854,_0x4202d7,_0x401a93)=>{const _0x5a09ae=_0x2c23f6;if(!_0x401a93[_0x5a09ae(0x204)][_0x5a09ae(0x1f6)](_0x4202d7[_0x5a09ae(0x1f7)],_0x3e6854[_0x5a09ae(0x1cb)]))return;const _0x59b4b1=M(_0x4202d7[_0x5a09ae(0x1f7)],_0x401a93[_0x5a09ae(0x202)]),{attributeNewValue:_0x554099}=_0x4202d7;null==_0x554099||0x1===_0x554099?_0x401a93[_0x5a09ae(0x1f8)][_0x5a09ae(0x1bc)](_0x5a09ae(0x1cc),_0x59b4b1):_0x401a93[_0x5a09ae(0x1f8)][_0x5a09ae(0x1ed)](_0x5a09ae(0x1cc),String(_0x554099),_0x59b4b1);}),_0x937fda['on'](_0x2c23f6(0x1d9),(_0x3e758c,_0x12330f,_0x2d6b1d)=>{const _0x46ec6a=_0x2c23f6;if(!_0x2d6b1d[_0x46ec6a(0x204)][_0x46ec6a(0x1f6)](_0x12330f[_0x46ec6a(0x1f7)],_0x3e758c[_0x46ec6a(0x1cb)]))return;const _0x20a05c=M(_0x12330f[_0x46ec6a(0x1f7)],_0x2d6b1d[_0x46ec6a(0x202)]),{attributeNewValue:_0x4d1233}=_0x12330f;_0x4d1233&&_0x46ec6a(0x203)!==_0x4d1233?_0x2d6b1d[_0x46ec6a(0x1f8)][_0x46ec6a(0x1fb)](_0x46ec6a(0x1dc),_0x4d1233,_0x20a05c):_0x2d6b1d[_0x46ec6a(0x1f8)][_0x46ec6a(0x1f2)](_0x46ec6a(0x1dc),_0x20a05c);});});}[_0x1a45e0(0x201)](){const _0x709493=_0x1a45e0,{editor:_0x356712}=this,{model:_0x421938}=_0x356712,_0x22c93d=_0x356712[_0x709493(0x208)][_0x709493(0x1c8)](_0x3b1484),_0x1a60af=this[_0x709493(0x1dd)](),_0x5e0396=this[_0x709493(0x1e4)]();_0x421938[_0x709493(0x1e2)][_0x709493(0x206)](_0x492e53=>{const _0x1e7ac9=_0x709493,_0x53d1b3=_0x421938[_0x1e7ac9(0x1e2)][_0x1e7ac9(0x1ee)][_0x1e7ac9(0x1e8)]();let _0x168003=!0x1;for(const _0x52caa9 of _0x53d1b3){if(_0x1e7ac9(0x1de)!==_0x52caa9[_0x1e7ac9(0x1d6)]||_0x1e7ac9(0x1c4)===_0x52caa9[_0x1e7ac9(0x1cb)])continue;const _0x57e421=_0x421938[_0x1e7ac9(0x20c)](_0x52caa9[_0x1e7ac9(0x1b5)][_0x1e7ac9(0x1e0)]);for(const _0x40bbb8 of _0x57e421[_0x1e7ac9(0x1f3)]())_0x40bbb8['is'](_0x1e7ac9(0x1f0),_0x1e7ac9(0x214))&&(!_0x40bbb8[_0x1e7ac9(0x20d)](_0x1e7ac9(0x1eb))&&_0x421938[_0x1e7ac9(0x1c1)][_0x1e7ac9(0x1b3)](_0x40bbb8,_0x1e7ac9(0x1eb))&&(_0x492e53[_0x1e7ac9(0x1ed)](_0x1e7ac9(0x1eb),_0x5e0396,_0x40bbb8),_0x168003=!0x0),!_0x40bbb8[_0x1e7ac9(0x20d)](_0x1e7ac9(0x1fe))&&_0x421938[_0x1e7ac9(0x1c1)][_0x1e7ac9(0x1b3)](_0x40bbb8,_0x1e7ac9(0x1fe))&&(_0x492e53[_0x1e7ac9(0x1ed)](_0x1e7ac9(0x1fe),_0x1a60af,_0x40bbb8),_0x168003=!0x0));}return _0x168003&&_0x22c93d[_0x1e7ac9(0x1b4)](_0x492e53),_0x168003;});}[_0x1a45e0(0x1bf)](){const _0x197cd4=_0x1a45e0,{editor:_0x204e77}=this;_0x204e77[_0x197cd4(0x208)][_0x197cd4(0x1c8)](_0x3b1484)[_0x197cd4(0x1b1)](_0x5ab18b=>this[_0x197cd4(0x1d5)](_0x5ab18b));}[_0x1a45e0(0x1dd)](){const _0x561070=_0x1a45e0;return this[_0x561070(0x20a)][_0x561070(0x1c9)][_0x561070(0x1c8)](_0x561070(0x1c2));}[_0x1a45e0(0x1e4)](){const _0x38be07=_0x1a45e0;return this[_0x38be07(0x20a)][_0x38be07(0x1c9)][_0x38be07(0x1c8)](_0x38be07(0x1d3));}[_0x1a45e0(0x1d5)]({container:_0x3e7331,value:_0x4f53d5,digits:_0x52421c}){const _0x42bf26=_0x1a45e0,_0xf4f3e2=_0x3e7331[_0x42bf26(0x1f9)](_0x42bf26(0x1fe)),_0x178095=_0x3e7331[_0x42bf26(0x1f9)](_0x42bf26(0x1eb)),_0x3fe2c5=Math[_0x42bf26(0x20f)](_0x4f53d5)+(_0x178095??0x1)-0x1;switch(_0xf4f3e2){case _0x42bf26(0x209):return function(_0x265704,_0x878f94){const _0x3ad6ba=_0x42bf26;return String(_0x265704)[_0x3ad6ba(0x1e9)](_0x878f94,'0');}(_0x3fe2c5,Math[_0x42bf26(0x1df)](0x2,_0x52421c));case _0x42bf26(0x1da):case _0x42bf26(0x1b6):return N(_0x3fe2c5,!0x1);case _0x42bf26(0x1f5):case _0x42bf26(0x1b8):return N(_0x3fe2c5,!0x0);case _0x42bf26(0x1ef):return X(_0x3fe2c5,!0x1);case _0x42bf26(0x1ff):return X(_0x3fe2c5,!0x0);default:return String(_0x3fe2c5);}}}function M(_0x521eb4,_0x546453){const _0x1d4970=_0x1a45e0,_0x3f0bb6=_0x546453[_0x1d4970(0x1c0)](_0x521eb4);return Array[_0x1d4970(0x1e3)](_0x3f0bb6[_0x1d4970(0x1bd)]())[_0x1d4970(0x1d1)](_0x5849b9=>_0x5849b9['is'](_0x1d4970(0x1f0),'ol')&&_0x5849b9[_0x1d4970(0x1e7)](_0x1d4970(0x1d8)));}function N(_0xa5a0ce,_0x187476){const _0x341439=_0x1a45e0;let _0x811e3b='',_0x5b5fc9=_0xa5a0ce;for(;_0x5b5fc9>0x0;){const _0xd9c699=(_0x5b5fc9-0x1)%0x1a;_0x811e3b=String[_0x341439(0x1b2)](0x61+_0xd9c699)+_0x811e3b,_0x5b5fc9=Math[_0x341439(0x20f)]((_0x5b5fc9-0x1)/0x1a);}return _0x187476?_0x811e3b[_0x341439(0x211)]():_0x811e3b;}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(_0x3e8a65,_0x5bdb58){const _0x500692=_0x1a45e0;let _0x4c9db8='',_0x41d0a2=_0x3e8a65;for(const {value:_0x30cb3b,numeral:_0x18292a}of V)for(;_0x41d0a2>=_0x30cb3b;)_0x4c9db8+=_0x18292a,_0x41d0a2-=_0x30cb3b;return _0x5bdb58?_0x4c9db8:_0x4c9db8[_0x500692(0x1fd)]();}
23
+ function _0x5d0c(){const _0x4a16c7=['$text','footnotes.footnotesProperties.defaultStartIndex','writer','parent','footnotes.footnotesProperties.defaultListStyle','removeAttribute','upper-alpha','downcast','item','model','10fAsgDE','from','setAttribute','setFootnoteFormatter','6144614npgGHe','for','upper-roman','init','start','createRangeOn','schema','31613164iaHCxs','pluginName','find','lower-latin','add','_getDefaultStartIndex','commands','padStart','registerPostFixer','requires','fromCharCode','attribute:footnotesListStart:footnotesDefinitions','608031JHVoUh','footnotes-list','parseInt','element:ol','2173512AuAWxx','toUpperCase','nodeAfter','136ANxbJF','floor','consume','document','setStyle','toLowerCase','isOfficialPlugin','5elgVcD','13497qFhsNh','insert','toViewElement','define','_updateFootnotesCounters','extend','getAttribute','max','viewItem','upper-latin','lower-alpha','decimal-leading-zero','decimal','footnotesListStart','getStyle','isNaN','footnotesStyle','type','getChildren','position','_defineConverters','modelCursor','editor','footnotesStart','hasAttribute','_defineFormatter','footnotesListStyle','consumable','name','hasClass','_getDefaultListStyle','plugins','footnotesDefinitions','checkAttribute','isPremiumPlugin','differ','lower-roman','134pMOsAK','upcast','element','3079338DVhWmW','_definePostfixer','removeStyle','mapper','FootnotesPropertiesEditing','3458656lFweQN','attribute:footnotesListStyle:footnotesDefinitions','config','_formatFootnoteListValue','getItems','getChanges','list-style-type','_defineSchema','get'];_0x5d0c=function(){return _0x4a16c7;};return _0x5d0c();}const _0x5e1c01=_0x3dbe;(function(_0x271081,_0x13ae43){const _0x228e43=_0x3dbe,_0x297c0e=_0x271081();while(!![]){try{const _0x56c334=-parseInt(_0x228e43(0x164))/0x1*(-parseInt(_0x228e43(0x189))/0x2)+parseInt(_0x228e43(0x18c))/0x3+-parseInt(_0x228e43(0x191))/0x4+parseInt(_0x228e43(0x163))/0x5*(parseInt(_0x228e43(0x159))/0x6)+parseInt(_0x228e43(0x1a8))/0x7+parseInt(_0x228e43(0x15c))/0x8*(parseInt(_0x228e43(0x155))/0x9)+-parseInt(_0x228e43(0x1a4))/0xa*(parseInt(_0x228e43(0x1af))/0xb);if(_0x56c334===_0x13ae43)break;else _0x297c0e['push'](_0x297c0e['shift']());}catch(_0xee07a){_0x297c0e['push'](_0x297c0e['shift']());}}}(_0x5d0c,0x8dc6a));import{Plugin as _0x40d784}from'ckeditor5/src/core.js';function _0x3dbe(_0x1f11b0,_0x208b4c){const _0x5d0cca=_0x5d0c();return _0x3dbe=function(_0x3dbe5f,_0x304bb0){_0x3dbe5f=_0x3dbe5f-0x151;let _0x5ce1a5=_0x5d0cca[_0x3dbe5f];return _0x5ce1a5;},_0x3dbe(_0x1f11b0,_0x208b4c);}import{FootnotesStyleCommand as _0x194f20}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x4ee3ce}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x304dfb}from'../footnotestracker.js';import{FootnotesEditing as _0x499f72}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x40d784{static get[_0x5e1c01(0x1b0)](){const _0x4d4e5f=_0x5e1c01;return _0x4d4e5f(0x190);}static get[_0x5e1c01(0x152)](){return[_0x499f72,_0x304dfb];}static get[_0x5e1c01(0x162)](){return!0x0;}static get[_0x5e1c01(0x186)](){return!0x0;}[_0x5e1c01(0x1ab)](){const _0x3abc95=_0x5e1c01,{editor:_0xac04f}=this;_0xac04f[_0x3abc95(0x193)][_0x3abc95(0x167)](_0x3abc95(0x19e),_0x3abc95(0x170)),_0xac04f[_0x3abc95(0x193)][_0x3abc95(0x167)](_0x3abc95(0x19b),0x1),_0xac04f[_0x3abc95(0x1b5)][_0x3abc95(0x1b3)](_0x3abc95(0x174),new _0x194f20(_0xac04f)),_0xac04f[_0x3abc95(0x1b5)][_0x3abc95(0x1b3)](_0x3abc95(0x17b),new _0x4ee3ce(_0xac04f)),this[_0x3abc95(0x198)](),this[_0x3abc95(0x178)](),this[_0x3abc95(0x17d)](),this[_0x3abc95(0x18d)]();}[_0x5e1c01(0x198)](){const _0x3416da=_0x5e1c01,{editor:_0x2d368b}=this,{schema:_0x45c36d}=_0x2d368b[_0x3416da(0x1a3)];_0x45c36d[_0x3416da(0x169)](_0x3416da(0x184),{'allowAttributes':[_0x3416da(0x17e),_0x3416da(0x171)]});}[_0x5e1c01(0x178)](){const _0x4b6773=_0x5e1c01,{editor:_0x4b7ee8}=this,{conversion:_0x5e40f7,model:_0x5f1998}=_0x4b7ee8,{schema:_0x241beb}=_0x5f1998;_0x5e40f7[_0x4b6773(0x1a9)](_0x4b6773(0x18a))[_0x4b6773(0x1b3)](_0x1d17f5=>{const _0x432ce6=_0x4b6773;_0x1d17f5['on'](_0x432ce6(0x158),(_0x4c3f5c,_0xf607ac,_0x5c584d)=>{const _0x57c4ff=_0x432ce6,_0x39d1e8=_0xf607ac[_0x57c4ff(0x16c)],_0x4078c1=_0xf607ac[_0x57c4ff(0x179)]?.[_0x57c4ff(0x19d)];_0x39d1e8[_0x57c4ff(0x181)](_0x57c4ff(0x156))&&_0x4078c1?.['is'](_0x57c4ff(0x18b),_0x57c4ff(0x184))&&(function(_0x52d7d8,_0x38ae47,_0x503928,_0xf20fab){const _0x2466e7=_0x57c4ff;if(!_0xf20fab[_0x2466e7(0x185)](_0x38ae47,_0x2466e7(0x171)))return;let _0x4a0890=0x1;const _0x2822aa=_0x503928[_0x2466e7(0x17f)][_0x2466e7(0x15e)](_0x52d7d8,{'attributes':_0x2466e7(0x1ac)});if(_0x2822aa){const _0x7ff165=Number[_0x2466e7(0x157)](_0x52d7d8[_0x2466e7(0x16a)](_0x2466e7(0x1ac)),0xa);Number[_0x2466e7(0x173)](_0x7ff165)||(_0x4a0890=_0x7ff165);}!_0x2822aa&&_0x38ae47[_0x2466e7(0x17c)](_0x2466e7(0x171))||_0x503928[_0x2466e7(0x19c)][_0x2466e7(0x1a6)](_0x2466e7(0x171),_0x4a0890,_0x38ae47);}(_0x39d1e8,_0x4078c1,_0x5c584d,_0x241beb),function(_0x3bc846,_0x4972ab,_0x5eaa44,_0x3a3619){const _0x2b1f50=_0x57c4ff;if(!_0x3a3619[_0x2b1f50(0x185)](_0x4972ab,_0x2b1f50(0x17e)))return;let _0x384cf8=_0x2b1f50(0x170),_0x4053be=!0x1;if(_0x5eaa44[_0x2b1f50(0x17f)][_0x2b1f50(0x15e)](_0x3bc846,{'attributes':_0x2b1f50(0x175)})){const _0x45d487={0x1:_0x2b1f50(0x170),'a':_0x2b1f50(0x16e),'A':_0x2b1f50(0x1a0),'i':_0x2b1f50(0x188),'I':_0x2b1f50(0x1aa)}[_0x3bc846[_0x2b1f50(0x16a)](_0x2b1f50(0x175))];_0x45d487&&(_0x384cf8=_0x45d487),_0x4053be=!0x0;}_0x5eaa44[_0x2b1f50(0x17f)][_0x2b1f50(0x15e)](_0x3bc846,{'styles':_0x2b1f50(0x197)})&&(_0x384cf8=function(_0x70e997){const _0x238e24=_0x2b1f50;switch(_0x70e997){case _0x238e24(0x16e):return _0x238e24(0x1b2);case _0x238e24(0x1a0):return _0x238e24(0x16d);default:return _0x70e997;}}(_0x3bc846[_0x2b1f50(0x172)](_0x2b1f50(0x197))),_0x4053be=!0x0),!_0x4053be&&_0x4972ab[_0x2b1f50(0x17c)](_0x2b1f50(0x17e))||_0x5eaa44[_0x2b1f50(0x19c)][_0x2b1f50(0x1a6)](_0x2b1f50(0x17e),_0x384cf8,_0x4972ab);}(_0x39d1e8,_0x4078c1,_0x5c584d,_0x241beb));});}),_0x5e40f7[_0x4b6773(0x1a9)](_0x4b6773(0x1a1))[_0x4b6773(0x1b3)](_0x3ffe73=>{const _0x3e1f2a=_0x4b6773;_0x3ffe73['on'](_0x3e1f2a(0x154),(_0x603e0f,_0x2a35e8,_0x8be3b6)=>{const _0x38d8ec=_0x3e1f2a;if(!_0x8be3b6[_0x38d8ec(0x17f)][_0x38d8ec(0x15e)](_0x2a35e8[_0x38d8ec(0x1a2)],_0x603e0f[_0x38d8ec(0x180)]))return;const _0x79a6e9=M(_0x2a35e8[_0x38d8ec(0x1a2)],_0x8be3b6[_0x38d8ec(0x18f)]),{attributeNewValue:_0x57f6a8}=_0x2a35e8;null==_0x57f6a8||0x1===_0x57f6a8?_0x8be3b6[_0x38d8ec(0x19c)][_0x38d8ec(0x19f)](_0x38d8ec(0x1ac),_0x79a6e9):_0x8be3b6[_0x38d8ec(0x19c)][_0x38d8ec(0x1a6)](_0x38d8ec(0x1ac),String(_0x57f6a8),_0x79a6e9);}),_0x3ffe73['on'](_0x3e1f2a(0x192),(_0x5076e1,_0x62493d,_0x111472)=>{const _0x291a20=_0x3e1f2a;if(!_0x111472[_0x291a20(0x17f)][_0x291a20(0x15e)](_0x62493d[_0x291a20(0x1a2)],_0x5076e1[_0x291a20(0x180)]))return;const _0x3c229f=M(_0x62493d[_0x291a20(0x1a2)],_0x111472[_0x291a20(0x18f)]),{attributeNewValue:_0x365048}=_0x62493d;_0x365048&&_0x291a20(0x170)!==_0x365048?_0x111472[_0x291a20(0x19c)][_0x291a20(0x160)](_0x291a20(0x197),_0x365048,_0x3c229f):_0x111472[_0x291a20(0x19c)][_0x291a20(0x18e)](_0x291a20(0x197),_0x3c229f);});});}[_0x5e1c01(0x18d)](){const _0x15839d=_0x5e1c01,{editor:_0x38312b}=this,{model:_0x4e4211}=_0x38312b,_0x390523=_0x38312b[_0x15839d(0x183)][_0x15839d(0x199)](_0x304dfb),_0x30d481=this[_0x15839d(0x182)](),_0x3ca219=this[_0x15839d(0x1b4)]();_0x4e4211[_0x15839d(0x15f)][_0x15839d(0x151)](_0x33aa90=>{const _0x211a36=_0x15839d,_0x3dc643=_0x4e4211[_0x211a36(0x15f)][_0x211a36(0x187)][_0x211a36(0x196)]();let _0x3d72eb=!0x1;for(const _0x589687 of _0x3dc643){if(_0x211a36(0x165)!==_0x589687[_0x211a36(0x175)]||_0x211a36(0x19a)===_0x589687[_0x211a36(0x180)])continue;const _0x52613b=_0x4e4211[_0x211a36(0x1ad)](_0x589687[_0x211a36(0x177)][_0x211a36(0x15b)]);for(const _0x352803 of _0x52613b[_0x211a36(0x195)]())_0x352803['is'](_0x211a36(0x18b),_0x211a36(0x184))&&(!_0x352803[_0x211a36(0x17c)](_0x211a36(0x171))&&_0x4e4211[_0x211a36(0x1ae)][_0x211a36(0x185)](_0x352803,_0x211a36(0x171))&&(_0x33aa90[_0x211a36(0x1a6)](_0x211a36(0x171),_0x3ca219,_0x352803),_0x3d72eb=!0x0),!_0x352803[_0x211a36(0x17c)](_0x211a36(0x17e))&&_0x4e4211[_0x211a36(0x1ae)][_0x211a36(0x185)](_0x352803,_0x211a36(0x17e))&&(_0x33aa90[_0x211a36(0x1a6)](_0x211a36(0x17e),_0x30d481,_0x352803),_0x3d72eb=!0x0));}return _0x3d72eb&&_0x390523[_0x211a36(0x168)](_0x33aa90),_0x3d72eb;});}[_0x5e1c01(0x17d)](){const _0x597a11=_0x5e1c01,{editor:_0x59c2b6}=this;_0x59c2b6[_0x597a11(0x183)][_0x597a11(0x199)](_0x304dfb)[_0x597a11(0x1a7)](_0x27aa7d=>this[_0x597a11(0x194)](_0x27aa7d));}[_0x5e1c01(0x182)](){const _0x134d92=_0x5e1c01;return this[_0x134d92(0x17a)][_0x134d92(0x193)][_0x134d92(0x199)](_0x134d92(0x19e));}[_0x5e1c01(0x1b4)](){const _0x4feb50=_0x5e1c01;return this[_0x4feb50(0x17a)][_0x4feb50(0x193)][_0x4feb50(0x199)](_0x4feb50(0x19b));}[_0x5e1c01(0x194)]({container:_0x320800,value:_0x329cea,digits:_0x482a52}){const _0x1ceb39=_0x5e1c01,_0x5c6e7f=_0x320800[_0x1ceb39(0x16a)](_0x1ceb39(0x17e)),_0x4ae7a0=_0x320800[_0x1ceb39(0x16a)](_0x1ceb39(0x171)),_0x355e40=Math[_0x1ceb39(0x15d)](_0x329cea)+(_0x4ae7a0??0x1)-0x1;switch(_0x5c6e7f){case _0x1ceb39(0x16f):return function(_0xf7ec30,_0x22981f){const _0x58dd08=_0x1ceb39;return String(_0xf7ec30)[_0x58dd08(0x1b6)](_0x22981f,'0');}(_0x355e40,Math[_0x1ceb39(0x16b)](0x2,_0x482a52));case _0x1ceb39(0x16e):case _0x1ceb39(0x1b2):return N(_0x355e40,!0x1);case _0x1ceb39(0x1a0):case _0x1ceb39(0x16d):return N(_0x355e40,!0x0);case _0x1ceb39(0x188):return X(_0x355e40,!0x1);case _0x1ceb39(0x1aa):return X(_0x355e40,!0x0);default:return String(_0x355e40);}}}function M(_0x2b4fd1,_0x296d31){const _0x5e6de4=_0x5e1c01,_0x1c9a3e=_0x296d31[_0x5e6de4(0x166)](_0x2b4fd1);return Array[_0x5e6de4(0x1a5)](_0x1c9a3e[_0x5e6de4(0x176)]())[_0x5e6de4(0x1b1)](_0x4b9314=>_0x4b9314['is'](_0x5e6de4(0x18b),'ol')&&_0x4b9314[_0x5e6de4(0x181)](_0x5e6de4(0x156)));}function N(_0x4e1a28,_0x9f73a7){const _0x55dca1=_0x5e1c01;let _0x52252d='',_0x1f017f=_0x4e1a28;for(;_0x1f017f>0x0;){const _0x13703f=(_0x1f017f-0x1)%0x1a;_0x52252d=String[_0x55dca1(0x153)](0x61+_0x13703f)+_0x52252d,_0x1f017f=Math[_0x55dca1(0x15d)]((_0x1f017f-0x1)/0x1a);}return _0x9f73a7?_0x52252d[_0x55dca1(0x15a)]():_0x52252d;}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(_0x40b21f,_0x1cb3a3){const _0x527944=_0x5e1c01;let _0x5b1155='',_0x1f5336=_0x40b21f;for(const {value:_0x3fcf77,numeral:_0xbafede}of V)for(;_0x1f5336>=_0x3fcf77;)_0x5b1155+=_0xbafede,_0x1f5336-=_0x3fcf77;return _0x1cb3a3?_0x5b1155:_0x5b1155[_0x527944(0x161)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x47183f,ButtonView as _0x5e4d0e,ContextualBalloon as _0x36a0dd,createDropdown as _0x40b646}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1a08ad}from'ckeditor5/src/widget.js';import{Plugin as _0x1019d0}from'ckeditor5/src/core.js';import{IconFootnote as _0x5e9bf2,IconListStyleDecimal as _0x593caa,IconListStyleDecimalLeadingZero as _0x271ab2,IconListStyleLowerLatin as _0x5f2358,IconListStyleLowerRoman as _0x2e1550,IconListStyleUpperLatin as _0x28a066,IconListStyleUpperRoman as _0x37471d}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5d96d6}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3e409e}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1019d0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x36a0dd,_0x1a08ad];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57c6f6}=this,{componentFactory:_0x46228b}=_0x57c6f6['ui'];_0x57c6f6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x46228b['add']('footnotesStyle',function(_0x4e5fbd){return _0x286aab=>{const {t:t}=_0x286aab,_0x3343cf=_0x4e5fbd['commands']['get']('footnotesStyle'),_0x3339cd=_0x40b646(_0x286aab),{buttonView:_0x30e31f}=_0x3339cd;return _0x3339cd['class']='ck-footnotes-styles-dropdown',_0x3339cd['bind']('isEnabled')['to'](_0x3343cf,'isEnabled'),_0x30e31f['set']({'label':t('Footnotes\x20style'),'icon':_0x5e9bf2,'tooltip':!0x0}),_0x3339cd['once']('change:isOpen',()=>{const _0x3efaa3=function({editor:_0x617105,dropdownView:_0x472e84}){const {t:t}=_0x617105['locale'],_0x16e52e=t('Footnotes\x20definitions\x20styles'),_0x5f211d=function(_0x31e632){const t=_0x31e632['locale']['t'],_0x1562f4=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x593caa},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x271ab2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2e1550},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x37471d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5f2358},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x28a066}];return _0x1562f4['map'](function(_0x1db6b6){const _0x15041f=_0x1db6b6['locale'];return({label:_0xa57872,icon:_0x4d20b8,tooltip:_0x1e0558,style:_0x3f5e0e})=>{const _0x49cfab=_0x1db6b6['commands']['get']('footnotesStyle'),_0x7ad908=new _0x5e4d0e(_0x15041f);return _0x7ad908['set']({'label':_0xa57872,'icon':_0x4d20b8,'tooltip':_0x1e0558}),_0x7ad908['bind']('isOn')['to'](_0x49cfab,'value',_0x6771f8=>_0x6771f8===_0x3f5e0e),_0x7ad908['bind']('isEnabled')['to'](_0x49cfab,'isEnabled'),_0x7ad908['on']('execute',()=>{_0x1db6b6['execute']('footnotesStyle',{'value':_0x3f5e0e}),_0x1db6b6['editing']['view']['focus']();}),_0x7ad908;};}(_0x31e632));}(_0x617105),_0x13b041=new _0x5d96d6(_0x617105['locale'],{'styleGridAriaLabel':_0x16e52e,'styleButtonViews':_0x5f211d}),_0x2a7aa=_0x617105['commands']['get']('footnotesStart');return _0x13b041['startIndexFieldView']['bind']('isEnabled')['to'](_0x2a7aa),_0x13b041['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2a7aa),_0x13b041['on']('footnotesListStart',(_0xced093,_0x583c61)=>{_0x617105['execute']('footnotesStart',{'value':_0x583c61['startIndex']});}),_0x13b041['delegate']('execute')['to'](_0x472e84),_0x13b041;}({'editor':_0x4e5fbd,'dropdownView':_0x3339cd});_0x3339cd['panelView']['children']['add'](_0x3efaa3);}),_0x3339cd;};}(_0x57c6f6));}['afterInit'](){const {editor:_0x49f7dc}=this,{t:t}=_0x49f7dc['locale'],_0x545d67=_0x49f7dc['plugins']['get'](_0x1a08ad),{defaultPositions:_0xfcd74e}=_0x47183f;_0x545d67['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x49f7dc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x348a95=>{let _0x319bf2=_0x348a95['getFirstPosition']()?.['parent'];return _0x319bf2?.['is']('$text')&&(_0x319bf2=_0x319bf2['parent']),_0x319bf2?.['is']('element')?_0x319bf2['findAncestor'](_0x3e409e):null;},'positions':[_0xfcd74e['southArrowNorth'],_0xfcd74e['southArrowNorthMiddleWest'],_0xfcd74e['southArrowNorthMiddleEast'],_0xfcd74e['southArrowNorthWest'],_0xfcd74e['southArrowNorthEast'],_0xfcd74e['northArrowSouth'],_0xfcd74e['northArrowSouthMiddleWest'],_0xfcd74e['northArrowSouthMiddleEast'],_0xfcd74e['northArrowSouthWest'],_0xfcd74e['northArrowSouthEast'],_0xfcd74e['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x2323ad,ButtonView as _0x996a2e,ContextualBalloon as _0x1e8459,createDropdown as _0x4ce163}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1c1c34}from'ckeditor5/src/widget.js';import{Plugin as _0x585504}from'ckeditor5/src/core.js';import{IconFootnote as _0x31bd84,IconListStyleDecimal as _0x3e9ea5,IconListStyleDecimalLeadingZero as _0x275057,IconListStyleLowerLatin as _0x5da78c,IconListStyleLowerRoman as _0x25a95d,IconListStyleUpperLatin as _0x19ed52,IconListStyleUpperRoman as _0x1077d8}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x509a78}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x151c0c}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x585504{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1e8459,_0x1c1c34];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3fa740}=this,{componentFactory:_0x1b0ed8}=_0x3fa740['ui'];_0x3fa740['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1b0ed8['add']('footnotesStyle',function(_0x2c4a88){return _0x10214d=>{const {t:t}=_0x10214d,_0xd5c441=_0x2c4a88['commands']['get']('footnotesStyle'),_0x4fcd02=_0x4ce163(_0x10214d),{buttonView:_0x47569b}=_0x4fcd02;return _0x4fcd02['class']='ck-footnotes-styles-dropdown',_0x4fcd02['bind']('isEnabled')['to'](_0xd5c441,'isEnabled'),_0x47569b['set']({'label':t('Footnotes\x20style'),'icon':_0x31bd84,'tooltip':!0x0}),_0x4fcd02['once']('change:isOpen',()=>{const _0x29a142=function({editor:_0x170734,dropdownView:_0x1e2244}){const {t:t}=_0x170734['locale'],_0x2a2cc9=t('Footnotes\x20definitions\x20styles'),_0x5762a7=function(_0x678823){const t=_0x678823['locale']['t'],_0x39e06f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3e9ea5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x275057},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x25a95d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1077d8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5da78c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x19ed52}];return _0x39e06f['map'](function(_0x26a1d3){const _0x5252fc=_0x26a1d3['locale'];return({label:_0xcccbd1,icon:_0x53a69a,tooltip:_0x481406,style:_0x614ea2})=>{const _0x5ee036=_0x26a1d3['commands']['get']('footnotesStyle'),_0x5261e0=new _0x996a2e(_0x5252fc);return _0x5261e0['set']({'label':_0xcccbd1,'icon':_0x53a69a,'tooltip':_0x481406}),_0x5261e0['bind']('isOn')['to'](_0x5ee036,'value',_0x51ddda=>_0x51ddda===_0x614ea2),_0x5261e0['bind']('isEnabled')['to'](_0x5ee036,'isEnabled'),_0x5261e0['on']('execute',()=>{_0x26a1d3['execute']('footnotesStyle',{'value':_0x614ea2}),_0x26a1d3['editing']['view']['focus']();}),_0x5261e0;};}(_0x678823));}(_0x170734),_0x409034=new _0x509a78(_0x170734['locale'],{'styleGridAriaLabel':_0x2a2cc9,'styleButtonViews':_0x5762a7}),_0x5c3c4=_0x170734['commands']['get']('footnotesStart');return _0x409034['startIndexFieldView']['bind']('isEnabled')['to'](_0x5c3c4),_0x409034['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5c3c4),_0x409034['on']('footnotesListStart',(_0x430c63,_0x1580bc)=>{_0x170734['execute']('footnotesStart',{'value':_0x1580bc['startIndex']});}),_0x409034['delegate']('execute')['to'](_0x1e2244),_0x409034;}({'editor':_0x2c4a88,'dropdownView':_0x4fcd02});_0x4fcd02['panelView']['children']['add'](_0x29a142);}),_0x4fcd02;};}(_0x3fa740));}['afterInit'](){const {editor:_0xa9e62}=this,{t:t}=_0xa9e62['locale'],_0x2ed551=_0xa9e62['plugins']['get'](_0x1c1c34),{defaultPositions:_0x4f827c}=_0x2323ad;_0x2ed551['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xa9e62['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x29ac27=>{let _0x341fa9=_0x29ac27['getFirstPosition']()?.['parent'];return _0x341fa9?.['is']('$text')&&(_0x341fa9=_0x341fa9['parent']),_0x341fa9?.['is']('element')?_0x341fa9['findAncestor'](_0x151c0c):null;},'positions':[_0x4f827c['southArrowNorth'],_0x4f827c['southArrowNorthMiddleWest'],_0x4f827c['southArrowNorthMiddleEast'],_0x4f827c['southArrowNorthWest'],_0x4f827c['southArrowNorthEast'],_0x4f827c['northArrowSouth'],_0x4f827c['northArrowSouthMiddleWest'],_0x4f827c['northArrowSouthMiddleEast'],_0x4f827c['northArrowSouthWest'],_0x4f827c['northArrowSouthEast'],_0x4f827c['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x33b5a5,View as _0x2e6b88,ViewCollection as _0x4e4a88,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 _0x2e6b88{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4e4a88();['focusCycler'];constructor(_0x5de37a,{styleButtonViews:_0x1ecd0e,styleGridAriaLabel:_0x3977b7}){super(_0x5de37a),(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'](_0x1ecd0e,_0x3977b7),[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 _0xb783e0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xb783e0['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 _0x1d8f19=_0x14c64f=>_0x14c64f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1d8f19),this['keystrokes']['set']('arrowleft',_0x1d8f19),this['keystrokes']['set']('arrowup',_0x1d8f19),this['keystrokes']['set']('arrowdown',_0x1d8f19);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3adbcd,_0x19ede8){const _0xee90cf=new _0x2e6b88(this['locale']);return _0xee90cf['children']=_0xee90cf['createCollection'](),_0xee90cf['children']['addMany'](_0x3adbcd),_0xee90cf['setTemplate']({'tag':'div','attributes':{'aria-label':_0x19ede8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xee90cf['children']}),_0xee90cf['children']['delegate']('execute')['to'](this),_0xee90cf['focus']=function(){for(const _0x132d3c of this['children'])if(_0x132d3c instanceof _0x33b5a5&&_0x132d3c['isOn'])return void _0x132d3c['focus']();this['children']['first']['focus']();},_0xee90cf['focusTracker']=new rt(),_0xee90cf['keystrokes']=new nt(),_0xee90cf['render'](),_0xee90cf['keystrokes']['listenTo'](_0xee90cf['element']),this['children']['add'](_0xee90cf),_0xee90cf;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5a328b=this['_createStartIndexPropertyView'](),_0x2f5404=[_0x5a328b],_0x12bf16=new it(this['locale'],_0x2f5404);return _0x12bf16['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x12bf16['buttonView']['bind']('isEnabled')['toMany'](_0x2f5404,'isEnabled',(..._0x4be281)=>_0x4be281['some'](_0x26b684=>_0x26b684)),_0x12bf16['buttonView']['on']('change:isEnabled',(_0x1c2dda,_0x576fc9,_0x1b9b6d)=>{_0x1b9b6d||(_0x12bf16['isCollapsed']=!0x0);}),this['children']['add'](_0x12bf16),[_0x5a328b,_0x12bf16];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x43f323=new et(this['locale'],ot);return _0x43f323['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x43f323['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x43f323['fieldView']['on']('input',()=>{const _0x5b9c8c=_0x43f323['fieldView']['element'],_0x54512c=_0x5b9c8c['valueAsNumber'];Number['isNaN'](_0x54512c)?_0x43f323['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5b9c8c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x54512c}):_0x43f323['errorText']=t(_0x54512c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x43f323;}}
23
+ import{ButtonView as _0x4d11f,View as _0x5ca473,ViewCollection as _0x4c9bef,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 _0x5ca473{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4c9bef();['focusCycler'];constructor(_0x1828bb,{styleButtonViews:_0x3c1830,styleGridAriaLabel:_0x572992}){super(_0x1828bb),(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'](_0x3c1830,_0x572992),[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 _0x269976 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x269976['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 _0x40c6a2=_0xaf3548=>_0xaf3548['stopPropagation']();this['keystrokes']['set']('arrowright',_0x40c6a2),this['keystrokes']['set']('arrowleft',_0x40c6a2),this['keystrokes']['set']('arrowup',_0x40c6a2),this['keystrokes']['set']('arrowdown',_0x40c6a2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x394d5e,_0x4d77bd){const _0x2fe8e1=new _0x5ca473(this['locale']);return _0x2fe8e1['children']=_0x2fe8e1['createCollection'](),_0x2fe8e1['children']['addMany'](_0x394d5e),_0x2fe8e1['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4d77bd,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2fe8e1['children']}),_0x2fe8e1['children']['delegate']('execute')['to'](this),_0x2fe8e1['focus']=function(){for(const _0x474dd3 of this['children'])if(_0x474dd3 instanceof _0x4d11f&&_0x474dd3['isOn'])return void _0x474dd3['focus']();this['children']['first']['focus']();},_0x2fe8e1['focusTracker']=new rt(),_0x2fe8e1['keystrokes']=new nt(),_0x2fe8e1['render'](),_0x2fe8e1['keystrokes']['listenTo'](_0x2fe8e1['element']),this['children']['add'](_0x2fe8e1),_0x2fe8e1;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5ce5d4=this['_createStartIndexPropertyView'](),_0xddba8b=[_0x5ce5d4],_0x33c8ed=new it(this['locale'],_0xddba8b);return _0x33c8ed['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x33c8ed['buttonView']['bind']('isEnabled')['toMany'](_0xddba8b,'isEnabled',(..._0x2f6232)=>_0x2f6232['some'](_0x59c4b0=>_0x59c4b0)),_0x33c8ed['buttonView']['on']('change:isEnabled',(_0x415bfe,_0x200dd7,_0xec3d61)=>{_0xec3d61||(_0x33c8ed['isCollapsed']=!0x0);}),this['children']['add'](_0x33c8ed),[_0x5ce5d4,_0x33c8ed];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2b72e3=new et(this['locale'],ot);return _0x2b72e3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2b72e3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2b72e3['fieldView']['on']('input',()=>{const _0x4109dd=_0x2b72e3['fieldView']['element'],_0x325ec4=_0x4109dd['valueAsNumber'];Number['isNaN'](_0x325ec4)?_0x2b72e3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4109dd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x325ec4}):_0x2b72e3['errorText']=t(_0x325ec4<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2b72e3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x32df03=_0x2b60;function _0x2b60(_0x235874,_0x40970c){var _0x35a738=_0x35a7();return _0x2b60=function(_0x2b603f,_0x36f08c){_0x2b603f=_0x2b603f-0x130;var _0x491784=_0x35a738[_0x2b603f];return _0x491784;},_0x2b60(_0x235874,_0x40970c);}(function(_0x1b6dbf,_0xdf84f3){var _0x59a147=_0x2b60,_0x4b9cbf=_0x1b6dbf();while(!![]){try{var _0x2abf79=parseInt(_0x59a147(0x137))/0x1*(-parseInt(_0x59a147(0x13b))/0x2)+-parseInt(_0x59a147(0x131))/0x3*(parseInt(_0x59a147(0x130))/0x4)+-parseInt(_0x59a147(0x13d))/0x5*(-parseInt(_0x59a147(0x13f))/0x6)+parseInt(_0x59a147(0x136))/0x7+parseInt(_0x59a147(0x134))/0x8+-parseInt(_0x59a147(0x13e))/0x9*(-parseInt(_0x59a147(0x13a))/0xa)+-parseInt(_0x59a147(0x135))/0xb;if(_0x2abf79===_0xdf84f3)break;else _0x4b9cbf['push'](_0x4b9cbf['shift']());}catch(_0x1b2ebd){_0x4b9cbf['push'](_0x4b9cbf['shift']());}}}(_0x35a7,0x7e323));function _0x35a7(){var _0xa6f269=['1485gjDNSB','2004294JjLdBL','356PcIQgF','26943NgqIsW','requires','pluginName','1271840ZXeSvi','1896510iIuTgZ','2736643Hamncm','95rNxFyx','isPremiumPlugin','isOfficialPlugin','38470zXcEoR','634ZPEcHc','FootnotesProperties','5zwiFDL'];_0x35a7=function(){return _0xa6f269;};return _0x35a7();}import{Plugin as _0x5ac5f0}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x4fc7ed}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x20262b}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5ac5f0{static get[_0x32df03(0x133)](){var _0x4099d2=_0x32df03;return _0x4099d2(0x13c);}static get[_0x32df03(0x132)](){return[_0x4fc7ed,_0x20262b];}static get[_0x32df03(0x139)](){return!0x0;}static get[_0x32df03(0x138)](){return!0x0;}}
23
+ var _0x264dc6=_0x3a8d;(function(_0x9f2a85,_0x54e2e4){var _0x17b396=_0x3a8d,_0x32add2=_0x9f2a85();while(!![]){try{var _0x4ac8f2=parseInt(_0x17b396(0xcb))/0x1+-parseInt(_0x17b396(0xc9))/0x2+parseInt(_0x17b396(0xce))/0x3*(-parseInt(_0x17b396(0xcf))/0x4)+parseInt(_0x17b396(0xd3))/0x5+parseInt(_0x17b396(0xcd))/0x6+-parseInt(_0x17b396(0xca))/0x7*(-parseInt(_0x17b396(0xd4))/0x8)+parseInt(_0x17b396(0xd0))/0x9*(parseInt(_0x17b396(0xcc))/0xa);if(_0x4ac8f2===_0x54e2e4)break;else _0x32add2['push'](_0x32add2['shift']());}catch(_0xf987c2){_0x32add2['push'](_0x32add2['shift']());}}}(_0x423b,0xcd2eb));import{Plugin as _0x2b0941}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x36dab2}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x53fd01}from'./footnotesproperties/footnotespropertiesui.js';function _0x423b(){var _0x45c53a=['8JKcuiI','isOfficialPlugin','FootnotesProperties','pluginName','2665600bHMVwj','9224747vsXcLL','28081KBXayY','200xOjFrc','2802732WazlQk','48003xhIItg','356McTHIe','210969FdvcrV','isPremiumPlugin','requires','6577360kNdZdC'];_0x423b=function(){return _0x45c53a;};return _0x423b();}function _0x3a8d(_0x4ccf5f,_0x2752e8){var _0x423b1a=_0x423b();return _0x3a8d=function(_0x3a8de2,_0x3f0283){_0x3a8de2=_0x3a8de2-0xc7;var _0x3ade5f=_0x423b1a[_0x3a8de2];return _0x3ade5f;},_0x3a8d(_0x4ccf5f,_0x2752e8);}export class FootnotesProperties extends _0x2b0941{static get[_0x264dc6(0xc8)](){var _0x4bb512=_0x264dc6;return _0x4bb512(0xc7);}static get[_0x264dc6(0xd2)](){return[_0x36dab2,_0x53fd01];}static get[_0x264dc6(0xd5)](){return!0x0;}static get[_0x264dc6(0xd1)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a1b(_0x43b3a4,_0x1646f6){const _0x2cafab=_0x2caf();return _0x4a1b=function(_0x4a1ba0,_0x151df8){_0x4a1ba0=_0x4a1ba0-0x77;let _0x3e67de=_0x2cafab[_0x4a1ba0];return _0x3e67de;},_0x4a1b(_0x43b3a4,_0x1646f6);}const _0x79b7ff=_0x4a1b;(function(_0x2aed05,_0x484844){const _0x5787ea=_0x4a1b,_0x1524ec=_0x2aed05();while(!![]){try{const _0x2560a9=parseInt(_0x5787ea(0x88))/0x1+-parseInt(_0x5787ea(0xd9))/0x2*(parseInt(_0x5787ea(0xd4))/0x3)+parseInt(_0x5787ea(0xc7))/0x4*(parseInt(_0x5787ea(0xcc))/0x5)+-parseInt(_0x5787ea(0xb0))/0x6+parseInt(_0x5787ea(0xb4))/0x7+-parseInt(_0x5787ea(0x99))/0x8+-parseInt(_0x5787ea(0x91))/0x9*(-parseInt(_0x5787ea(0xcd))/0xa);if(_0x2560a9===_0x484844)break;else _0x1524ec['push'](_0x1524ec['shift']());}catch(_0x5465b1){_0x1524ec['push'](_0x1524ec['shift']());}}}(_0x2caf,0xc67cb));import{Plugin as _0x18fefe}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2d6271}from'./modelelementtracker.js';export class FootnotesTracker extends _0x18fefe{[_0x79b7ff(0xa6)]=[];[_0x79b7ff(0xbb)]=null;[_0x79b7ff(0xc0)]=null;[_0x79b7ff(0x87)];[_0x79b7ff(0xcf)];[_0x79b7ff(0xd3)];static get[_0x79b7ff(0xab)](){const _0x4a465c=_0x79b7ff;return _0x4a465c(0x85);}static get[_0x79b7ff(0x95)](){return!0x0;}static get[_0x79b7ff(0x79)](){return!0x0;}constructor(_0x3fe942){const _0x1dd5c0=_0x79b7ff;super(_0x3fe942),this[_0x1dd5c0(0x87)]=new _0x2d6271(this[_0x1dd5c0(0x90)][_0x1dd5c0(0xa0)],{'elementName':_0x1dd5c0(0xa7),'getElementKey':()=>_0x1dd5c0(0x96)}),this[_0x1dd5c0(0xcf)]=new _0x2d6271(this[_0x1dd5c0(0x90)][_0x1dd5c0(0xa0)],{'elementName':_0x1dd5c0(0xb1),'getElementKey':_0x180ad7=>_0x180ad7[_0x1dd5c0(0x81)](_0x1dd5c0(0xaf))}),this[_0x1dd5c0(0xd3)]=new _0x2d6271(this[_0x1dd5c0(0x90)][_0x1dd5c0(0xa0)],{'elementName':_0x1dd5c0(0x83),'getElementKey':_0x4f35c8=>_0x4f35c8[_0x1dd5c0(0x81)](_0x1dd5c0(0xaf))});}[_0x79b7ff(0x9b)](){const _0x574851=_0x79b7ff,{editor:_0x90cf2}=this,{model:_0x16c9f0,data:_0x2428bb}=_0x90cf2;_0x16c9f0[_0x574851(0x8e)][_0x574851(0xbe)](_0x50a0e9=>{const _0x19277b=_0x574851,_0x232e4e=_0x16c9f0[_0x19277b(0x8e)][_0x19277b(0x8d)][_0x19277b(0xa9)]();let _0x194799=!0x1;return this[_0x19277b(0xb2)](_0x50a0e9,_0x232e4e)&&(_0x194799=!0x0),this[_0x19277b(0xac)](_0x50a0e9,_0x232e4e)&&(_0x194799=!0x0),this[_0x19277b(0x7c)](_0x50a0e9,_0x232e4e)&&(_0x194799=!0x0),this[_0x19277b(0xd8)](_0x50a0e9)&&(_0x194799=!0x0),this[_0x19277b(0x7b)](_0x50a0e9)&&(_0x194799=!0x0),this[_0x19277b(0xcb)](_0x50a0e9)&&(_0x194799=!0x0),_0x194799;}),this[_0x574851(0x78)](_0x16c9f0[_0x574851(0x8e)],_0x574851(0xd0),()=>{const _0x3ea59a=_0x574851;_0x16c9f0[_0x3ea59a(0xc9)]({'isUndoable':!0x1},_0x546201=>{const _0x28872f=_0x3ea59a;this[_0x28872f(0x86)](_0x546201);});},{'priority':_0x574851(0x8b)}),this[_0x574851(0x78)](_0x2428bb,_0x574851(0xc3),()=>{const _0x387b17=_0x574851;this[_0x387b17(0xa6)]=[],this[_0x387b17(0x87)][_0x387b17(0xb9)](),this[_0x387b17(0xcf)][_0x387b17(0xb9)](),this[_0x387b17(0xd3)][_0x387b17(0xb9)]();},{'priority':_0x574851(0x98)});}[_0x79b7ff(0x84)](){const _0x2bb389=_0x79b7ff;return this[_0x2bb389(0xbb)];}[_0x79b7ff(0xbf)](_0x2a0c6b){const _0x5a49c7=_0x79b7ff;return this[_0x5a49c7(0xa6)][_0x5a49c7(0xae)](_0x2b3438=>_0x2b3438['id']===_0x2a0c6b)||null;}[_0x79b7ff(0x8c)](){const _0x18d8ac=_0x79b7ff;return Array[_0x18d8ac(0xc6)](this[_0x18d8ac(0xa6)]);}[_0x79b7ff(0xdb)](){const _0x50ac18=_0x79b7ff;return this[_0x50ac18(0xc0)];}[_0x79b7ff(0x9a)](_0x2ffbf0){const _0x13c81a=_0x79b7ff;this[_0x13c81a(0xc0)]=_0x2ffbf0;}[_0x79b7ff(0x89)](_0x4abc85,_0x7dedf1=0x0){const _0xaef8af=_0x79b7ff;let _0x59db70=!0x1;for(let _0x5c5cfe=_0x7dedf1;_0x5c5cfe<this[_0xaef8af(0xa6)][_0xaef8af(0xce)];_0x5c5cfe++)this[_0xaef8af(0x8f)](_0x4abc85,_0x5c5cfe)&&(_0x59db70=!0x0);return _0x59db70;}[_0x79b7ff(0xa5)](_0x11834d,_0x41e1e1){const _0x190f10=_0x79b7ff,_0x5905ac=_0x11834d[_0x190f10(0xda)](_0x190f10(0xa7),{});return _0x11834d[_0x190f10(0x9c)](_0x5905ac,_0x41e1e1),this[_0x190f10(0xbb)]=_0x5905ac,_0x5905ac;}[_0x79b7ff(0x86)](_0x4c5cbd){const _0x527f87=_0x79b7ff;if(!this[_0x527f87(0xa6)][_0x527f87(0xce)]||this[_0x527f87(0xbb)])return;const _0x48b5e1=this[_0x527f87(0xa6)][0x0][_0x527f87(0xa2)][_0x527f87(0xc1)],_0x31c0d8=this[_0x527f87(0xa5)](_0x4c5cbd,_0x48b5e1);for(const _0x4ab15f of this[_0x527f87(0xa6)])_0x4ab15f[_0x527f87(0xb8)][_0x527f87(0x7f)]||_0x4c5cbd[_0x527f87(0xb7)](_0x4ab15f[_0x527f87(0xb8)],_0x31c0d8,_0x527f87(0x7a));this[_0x527f87(0x89)](_0x4c5cbd);}[_0x79b7ff(0xb2)](_0x269160,_0x183c72){const _0x1371f7=_0x79b7ff;let _0x806c98=!0x1;const {inserted:_0x35cf8c,removed:_0x5533f6,moved:_0x17e36a}=this[_0x1371f7(0x87)][_0x1371f7(0xa9)](_0x183c72);if(_0x17e36a[_0x1371f7(0xce)]&&(this[_0x1371f7(0xbb)]=_0x17e36a[0x0]),_0x35cf8c[_0x1371f7(0xce)]){if(_0x35cf8c[_0x1371f7(0xce)]>0x1||this[_0x1371f7(0xbb)]&&_0x35cf8c[_0x1371f7(0xca)](_0x25e4fe=>_0x25e4fe!==this[_0x1371f7(0xbb)])){const _0x48db6a=_0x269160[_0x1371f7(0xda)](_0x1371f7(0xa7),{}),_0x264897=[];this[_0x1371f7(0xbb)]&&_0x264897[_0x1371f7(0x77)](this[_0x1371f7(0xbb)]),_0x264897[_0x1371f7(0x77)](..._0x35cf8c),_0x269160[_0x1371f7(0xb7)](_0x48db6a,_0x264897[0x0],_0x1371f7(0xaa));for(const _0xa385d7 of _0x264897)_0x269160[_0x1371f7(0xc5)](_0x269160[_0x1371f7(0xa3)](_0xa385d7),_0x269160[_0x1371f7(0xb5)](_0x48db6a,_0x1371f7(0x7a))),_0x269160[_0x1371f7(0xc8)](_0xa385d7);this[_0x1371f7(0xbb)]=_0x48db6a,this[_0x1371f7(0x89)](_0x269160),_0x806c98=!0x0;}else this[_0x1371f7(0xbb)]=_0x35cf8c[0x0];}if(_0x5533f6[_0x1371f7(0xce)]&&_0x1371f7(0x7e)===this[_0x1371f7(0xbb)]?.[_0x1371f7(0xc1)][_0x1371f7(0xd1)]){for(const _0xf38834 of this[_0x1371f7(0xa6)])_0x269160[_0x1371f7(0xc8)](_0xf38834[_0x1371f7(0xa2)]),_0x806c98=!0x0;this[_0x1371f7(0xa6)]=[],this[_0x1371f7(0xbb)]=null;}return _0x806c98;}[_0x79b7ff(0xac)](_0x1190a7,_0x3a57ab){const _0x2a214d=_0x79b7ff;let _0x2bf0c7=!0x1;const _0x5c80fd=this[_0x2a214d(0x90)][_0x2a214d(0xbd)][_0x2a214d(0x93)](_0x2a214d(0x80)),{inserted:_0x1187a3,moved:_0x492327}=this[_0x2a214d(0xd3)][_0x2a214d(0xa9)](_0x3a57ab);for(const _0x3d8f39 of[..._0x492327,..._0x1187a3]){const _0x34b6e8=_0x3d8f39[_0x2a214d(0x81)](_0x2a214d(0xaf)),_0x47e34b=this[_0x2a214d(0xbf)](_0x34b6e8);_0x47e34b&&(_0x47e34b[_0x2a214d(0xb8)]=_0x3d8f39),_(_0x1190a7,_0x5c80fd,_0x3d8f39)&&(_0x2bf0c7=!0x0);}return _0x2bf0c7;}[_0x79b7ff(0x7c)](_0x252e89,_0x1a7237){const _0x4f19b5=_0x79b7ff;let _0x232692=!0x1;const {removed:_0x503b98,inserted:_0x23ec5c,moved:_0x2152d5}=this[_0x4f19b5(0xcf)][_0x4f19b5(0xa9)](_0x1a7237);for(const _0x1e8945 of _0x503b98)this[_0x4f19b5(0xd6)](_0x252e89,_0x1e8945)&&(_0x232692=!0x0);for(const _0x146faf of _0x23ec5c)this[_0x4f19b5(0x82)](_0x252e89,_0x146faf)&&(_0x232692=!0x0);for(const _0x2979fa of _0x2152d5)this[_0x4f19b5(0xd7)](_0x252e89,_0x2979fa)&&(_0x232692=!0x0);return _0x232692;}[_0x79b7ff(0x7b)](_0x12269b){const _0x1400b9=_0x79b7ff;if(!this[_0x1400b9(0xbb)])return!0x1;let _0x122472=!0x1;if(this[_0x1400b9(0xbb)][_0x1400b9(0x97)]!==this[_0x1400b9(0xa6)][_0x1400b9(0xce)]){const _0x2f70f7=[];for(const _0x4c077c of this[_0x1400b9(0xbb)][_0x1400b9(0xa8)]()){const _0x40a271=_0x4c077c[_0x1400b9(0x81)](_0x1400b9(0xaf));this[_0x1400b9(0xbf)](_0x40a271)||(_0x2f70f7[_0x1400b9(0x94)](_0x4c077c),_0x122472=!0x0);}for(const _0x1d69b3 of _0x2f70f7)_0x12269b[_0x1400b9(0xc8)](_0x1d69b3);}const _0x5fd6d1=new Set(),_0x48a32a=[];for(const _0x268af6 of this[_0x1400b9(0xbb)][_0x1400b9(0xa8)]()){const _0x54caf4=_0x268af6[_0x1400b9(0x81)](_0x1400b9(0xaf));_0x5fd6d1[_0x1400b9(0x8a)](_0x54caf4)?(_0x48a32a[_0x1400b9(0x94)](_0x268af6),_0x122472=!0x0):_0x5fd6d1[_0x1400b9(0xc4)](_0x54caf4);}for(const _0x4414e0 of _0x48a32a)_0x12269b[_0x1400b9(0xc8)](_0x4414e0);return this[_0x1400b9(0xbb)][_0x1400b9(0x97)]||(_0x12269b[_0x1400b9(0xc8)](this[_0x1400b9(0xbb)]),this[_0x1400b9(0xbb)]=null,_0x122472=!0x0),_0x122472;}[_0x79b7ff(0x82)](_0x30b86d,_0x398af5){const _0x494382=_0x79b7ff;if(this[_0x494382(0xa6)][_0x494382(0xae)](_0x23e999=>_0x23e999[_0x494382(0xa2)]===_0x398af5))return!0x1;let _0x534668=!0x1;const _0x2861f1=_0x398af5[_0x494382(0x81)](_0x494382(0xaf)),_0x26a5fd=this[_0x494382(0xa6)][_0x494382(0xd5)](_0x17a4b8=>_0x17a4b8['id']===_0x2861f1);-0x1!==_0x26a5fd&&(_0x30b86d[_0x494382(0xc8)](this[_0x494382(0xa6)][_0x26a5fd][_0x494382(0xa2)]),this[_0x494382(0xa6)][_0x494382(0x7d)](_0x26a5fd,0x1),_0x534668=!0x0);let _0x4f96d9=this[_0x494382(0xbb)]?function(_0xed677d,_0x35af39){const _0x11dc16=_0x494382;for(const _0x18498d of _0xed677d[_0x11dc16(0xa8)]())if(_0x18498d[_0x11dc16(0x81)](_0x11dc16(0xaf))===_0x35af39)return _0x18498d;return null;}(this[_0x494382(0xbb)],_0x2861f1):null;_0x4f96d9||(_0x4f96d9=_0x30b86d[_0x494382(0xda)](_0x494382(0x83),{'footnoteId':_0x2861f1}),this[_0x494382(0xbb)]&&(_0x30b86d[_0x494382(0xb7)](_0x4f96d9,this[_0x494382(0xbb)],_0x494382(0x7a)),_0x534668=!0x0));const _0xeedb8e={'id':_0x2861f1,'reference':_0x398af5,'definition':_0x4f96d9},_0x3d568e=I(this[_0x494382(0x90)][_0x494382(0xa0)],this[_0x494382(0xa6)],_0x398af5);this[_0x494382(0xa6)][_0x494382(0x7d)](_0x3d568e,0x0,_0xeedb8e);let _0x5f2b97=_0x3d568e;return-0x1!==_0x26a5fd&&(_0x5f2b97=Math[_0x494382(0xd2)](_0x3d568e,_0x26a5fd)),this[_0x494382(0x89)](_0x30b86d,_0x5f2b97)&&(_0x534668=!0x0),_0x534668;}[_0x79b7ff(0xd6)](_0x16622c,_0x34a8f2){const _0x4d6c19=_0x79b7ff,_0x5952a7=this[_0x4d6c19(0xa6)][_0x4d6c19(0xd5)](_0x424200=>_0x424200['id']===_0x34a8f2);if(-0x1===_0x5952a7)return!0x1;let _0x25a871=!0x1;const _0x3ce8f5=this[_0x4d6c19(0xa6)][_0x5952a7];return _0x4d6c19(0x7e)!==_0x3ce8f5[_0x4d6c19(0xb8)][_0x4d6c19(0xc1)][_0x4d6c19(0xd1)]&&(_0x16622c[_0x4d6c19(0xc8)](_0x3ce8f5[_0x4d6c19(0xb8)]),_0x25a871=!0x0),this[_0x4d6c19(0xa6)][_0x4d6c19(0x7d)](_0x5952a7,0x1),this[_0x4d6c19(0x89)](_0x16622c,_0x5952a7)&&(_0x25a871=!0x0),_0x25a871;}[_0x79b7ff(0xd7)](_0xc6e7aa,_0x145f69){const _0x11080c=_0x79b7ff,_0x1079df=_0x145f69[_0x11080c(0x81)](_0x11080c(0xaf)),_0x351778=this[_0x11080c(0xa6)][_0x11080c(0xd5)](_0x18fbd9=>_0x18fbd9['id']===_0x1079df),_0x4656f3=this[_0x11080c(0xa6)][_0x351778];let _0x52facb=!0x1;_0x4656f3[_0x11080c(0xa2)]=_0x145f69,this[_0x11080c(0xa6)][_0x11080c(0x7d)](_0x351778,0x1);const _0x2d75c6=I(this[_0x11080c(0x90)][_0x11080c(0xa0)],this[_0x11080c(0xa6)],_0x145f69);return this[_0x11080c(0xa6)][_0x11080c(0x7d)](_0x2d75c6,0x0,_0x4656f3),this[_0x11080c(0x89)](_0xc6e7aa,Math[_0x11080c(0xd2)](_0x351778,_0x2d75c6))&&(_0x52facb=!0x0),_0x52facb;}[_0x79b7ff(0x8f)](_0x8daf2c,_0x27f8ef){const _0x5e3c3f=_0x79b7ff;if(!this[_0x5e3c3f(0xbb)])return!0x1;const _0x1668e6=this[_0x5e3c3f(0xa6)][_0x27f8ef];let _0x1103d0;return _0x1103d0=this[_0x5e3c3f(0xc0)]?this[_0x5e3c3f(0xc0)]({'footnote':_0x1668e6,'container':this[_0x5e3c3f(0xbb)],'digits':String(this[_0x5e3c3f(0xa6)][_0x5e3c3f(0xce)])[_0x5e3c3f(0xce)],'value':_0x27f8ef+0x1}):String(_0x27f8ef+0x1),_0x1668e6[_0x5e3c3f(0xa2)][_0x5e3c3f(0x81)](_0x5e3c3f(0xa4))!=_0x1103d0&&(_0x8daf2c[_0x5e3c3f(0xc2)](_0x5e3c3f(0xa4),_0x1103d0,_0x1668e6[_0x5e3c3f(0xa2)]),!0x0);}[_0x79b7ff(0xcb)](_0x362ea2){const _0x17a393=_0x79b7ff;if(!this[_0x17a393(0xbb)]||this[_0x17a393(0xa6)][_0x17a393(0xce)]<0x2)return!0x1;if(function(_0x17cee3,_0xe7efb2){const _0x636a6c=_0x17a393;if(_0x17cee3[_0x636a6c(0xce)]!==_0xe7efb2[_0x636a6c(0xce)])return!0x1;for(let _0x5be582=0x0;_0x5be582<_0x17cee3[_0x636a6c(0xce)];_0x5be582++)if(_0x17cee3[_0x5be582]!==_0xe7efb2[_0x5be582])return!0x1;return!0x0;}(this[_0x17a393(0xa6)][_0x17a393(0xb3)](_0x58017f=>_0x58017f['id']),Array[_0x17a393(0xc6)](this[_0x17a393(0xbb)][_0x17a393(0xa8)]())[_0x17a393(0xb3)](_0x31c88d=>_0x31c88d[_0x17a393(0x81)](_0x17a393(0xaf)))))return!0x1;let _0x42f5c7=!0x1;for(let _0x19a775=0x0;_0x19a775<this[_0x17a393(0xa6)][_0x17a393(0xce)];_0x19a775++){const _0x44d4c6=this[_0x17a393(0xa6)][_0x19a775],_0x2fe19d=_0x362ea2[_0x17a393(0xa1)](_0x44d4c6[_0x17a393(0xb8)]),_0x593a0f=_0x362ea2[_0x17a393(0xb5)](this[_0x17a393(0xbb)],_0x19a775);_0x2fe19d[_0x17a393(0xba)](_0x593a0f)||(_0x362ea2[_0x17a393(0xc5)](_0x362ea2[_0x17a393(0x9d)](_0x44d4c6[_0x17a393(0xb8)]),_0x593a0f),_0x42f5c7=!0x0);}return _0x42f5c7;}[_0x79b7ff(0xd8)](_0xf1fbca){const _0x3ea789=_0x79b7ff;if(!this[_0x3ea789(0xa6)][_0x3ea789(0xce)])return!0x1;const {model:_0x52b3cb}=this[_0x3ea789(0x90)];let _0x4a1202=!0x1;for(let _0x4ad8cc=0x0;_0x4ad8cc<this[_0x3ea789(0xa6)][_0x3ea789(0xce)]-0x1;_0x4ad8cc++){const _0x5bbc61=this[_0x3ea789(0xa6)][_0x4ad8cc],_0x37db22=this[_0x3ea789(0xa6)][_0x4ad8cc+0x1],_0x14f573=_0x52b3cb[_0x3ea789(0xa1)](_0x5bbc61[_0x3ea789(0xa2)]),_0x5e208c=_0x52b3cb[_0x3ea789(0xa1)](_0x37db22[_0x3ea789(0xa2)]);_0x3ea789(0x9e)===_0x14f573[_0x3ea789(0xb6)](_0x5e208c)&&(this[_0x3ea789(0xd7)](_0xf1fbca,_0x5bbc61[_0x3ea789(0xa2)]),_0x4ad8cc=-0x1,_0x4a1202=!0x0);}return _0x4a1202;}}function _(_0x5c6d4f,_0x26afd6,_0xe4b628){const _0x4e8891=_0x79b7ff;if(_0xe4b628[_0x4e8891(0x97)])return!0x1;const _0x303798=_0x26afd6?_0x4e8891(0x9f):_0x4e8891(0xbc);return _0x5c6d4f[_0x4e8891(0xb7)](_0x5c6d4f[_0x4e8891(0xda)](_0x303798),_0xe4b628),!0x0;}function _0x2caf(){const _0x3b031d=['_updateFootnoteRefCounter','editor','18wlvbQB','getRootNames','get','unshift','isOfficialPlugin','singleton','childCount','high','11194696NmLxRw','setFootnoteFormatter','init','append','createRangeOn','after','paragraph','model','createPositionBefore','reference','createRangeIn','footnoteCounter','_insertEmptyFootnotesDefinitionsContainer','_footnotes','footnotesDefinitions','getChildren','getChanges','before','pluginName','_handleFootnoteDefinitionsChanges','indexOf','find','footnoteId','4281222xDLNBL','footnoteRef','_handleFootnotesDefinitionsObjectChanges','map','355327PZNIYx','createPositionAt','compareWith','insert','definition','reset','isEqual','_footnotesDefinitions','footnoteInlineContent','config','registerPostFixer','getFootnote','_footnoteFormatter','root','setAttribute','set','add','move','from','1156240uqUyvy','remove','enqueueChange','some','_sortFootnoteDefinitions','20VmSWXZ','11832110zjxyfj','length','_footnoteRefsTracker','change:data','rootName','min','_footnoteDefsTracker','3cWlaAu','findIndex','_handleRemoveFootnoteReferenceById','_handleMovedFootnoteReference','_ensureFootnotesReferencesHaveProperOrder','1642722nPoqRy','createElement','getFootnotesFormatter','push','listenTo','isPremiumPlugin','end','_handleFootnotesDefinitionsObjectSync','_handleFootnoteReferencesChanges','splice','$graveyard','parent','footnotes.multiBlock','getAttribute','_handleInsertedFootnoteReference','footnoteDefinition','getFootnotesDefinitionsObjectElement','FootnotesTracker','_ensureFootnotesDefinitionsContainerExists','_footnoteDefsContainerTracker','173815cClpYT','_updateFootnotesCounters','has','low','getFootnotes','differ','document'];_0x2caf=function(){return _0x3b031d;};return _0x2caf();}function I(_0x196a88,_0x4775af,_0x3f4164){const _0x3c678e=_0x79b7ff;if(0x0===_0x4775af[_0x3c678e(0xce)])return 0x0;const _0x4b916c=_0x196a88[_0x3c678e(0xa1)](_0x3f4164);for(let _0x7a9ffb=0x0;_0x7a9ffb<_0x4775af[_0x3c678e(0xce)];_0x7a9ffb++){const _0x17ef26=_0x4775af[_0x7a9ffb],_0x2dc29e=_0x196a88[_0x3c678e(0xa1)](_0x17ef26[_0x3c678e(0xa2)]);if(_0x3c678e(0xaa)===_0x4b916c[_0x3c678e(0xb6)](_0x2dc29e))return _0x7a9ffb;}const _0xeac969=_0x3f4164[_0x3c678e(0xc1)];let _0x12f442=-0x1;for(let _0x15e46c=_0x4775af[_0x3c678e(0xce)]-0x1;_0x15e46c>=0x0;_0x15e46c--)if(_0x4775af[_0x15e46c][_0x3c678e(0xa2)][_0x3c678e(0xc1)]===_0xeac969){_0x12f442=_0x15e46c;break;}if(-0x1!==_0x12f442)return _0x12f442+0x1;const _0x29d743=_0x196a88[_0x3c678e(0x8e)][_0x3c678e(0x92)](),_0x15ddca=_0x29d743[_0x3c678e(0xad)](_0xeac969[_0x3c678e(0xd1)]),_0x5c670d=_0x29d743[_0x15ddca+0x1];if(_0x5c670d){for(let _0x4f4576=0x0;_0x4f4576<_0x4775af[_0x3c678e(0xce)];_0x4f4576++)if(_0x4775af[_0x4f4576][_0x3c678e(0xa2)][_0x3c678e(0xc1)][_0x3c678e(0xd1)]===_0x5c670d)return _0x4f4576;}return _0x4775af[_0x3c678e(0xce)];}
23
+ const _0x1d3d3a=_0x4b5e;(function(_0x27b02e,_0x59970b){const _0x41ae6a=_0x4b5e,_0x39aa11=_0x27b02e();while(!![]){try{const _0x8139a0=-parseInt(_0x41ae6a(0x109))/0x1*(-parseInt(_0x41ae6a(0x165))/0x2)+-parseInt(_0x41ae6a(0x155))/0x3+parseInt(_0x41ae6a(0x141))/0x4*(-parseInt(_0x41ae6a(0x156))/0x5)+-parseInt(_0x41ae6a(0x11a))/0x6+-parseInt(_0x41ae6a(0x133))/0x7*(parseInt(_0x41ae6a(0x14b))/0x8)+parseInt(_0x41ae6a(0x118))/0x9*(parseInt(_0x41ae6a(0x12a))/0xa)+parseInt(_0x41ae6a(0x11b))/0xb;if(_0x8139a0===_0x59970b)break;else _0x39aa11['push'](_0x39aa11['shift']());}catch(_0x4eeb6e){_0x39aa11['push'](_0x39aa11['shift']());}}}(_0x54e8,0x71696));import{Plugin as _0x52b824}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x788feb}from'./modelelementtracker.js';function _0x4b5e(_0x48b32c,_0x19b7df){const _0x54e82c=_0x54e8();return _0x4b5e=function(_0x4b5e32,_0x18c7a0){_0x4b5e32=_0x4b5e32-0x102;let _0x1c420b=_0x54e82c[_0x4b5e32];return _0x1c420b;},_0x4b5e(_0x48b32c,_0x19b7df);}export class FootnotesTracker extends _0x52b824{[_0x1d3d3a(0x124)]=[];[_0x1d3d3a(0x10c)]=null;[_0x1d3d3a(0x125)]=null;[_0x1d3d3a(0x15c)];[_0x1d3d3a(0x167)];[_0x1d3d3a(0x159)];static get[_0x1d3d3a(0x15f)](){const _0x553a86=_0x1d3d3a;return _0x553a86(0x10e);}static get[_0x1d3d3a(0x15e)](){return!0x0;}static get[_0x1d3d3a(0x147)](){return!0x0;}constructor(_0x5f2bda){const _0x1379aa=_0x1d3d3a;super(_0x5f2bda),this[_0x1379aa(0x15c)]=new _0x788feb(this[_0x1379aa(0x12c)][_0x1379aa(0x13b)],{'elementName':_0x1379aa(0x152),'getElementKey':()=>_0x1379aa(0x162)}),this[_0x1379aa(0x167)]=new _0x788feb(this[_0x1379aa(0x12c)][_0x1379aa(0x13b)],{'elementName':_0x1379aa(0x119),'getElementKey':_0x4bbf75=>_0x4bbf75[_0x1379aa(0x164)](_0x1379aa(0x128))}),this[_0x1379aa(0x159)]=new _0x788feb(this[_0x1379aa(0x12c)][_0x1379aa(0x13b)],{'elementName':_0x1379aa(0x13a),'getElementKey':_0x45026b=>_0x45026b[_0x1379aa(0x164)](_0x1379aa(0x128))});}[_0x1d3d3a(0x166)](){const _0x29be0a=_0x1d3d3a,{editor:_0x1a87be}=this,{model:_0x3912f1,data:_0x4ed706}=_0x1a87be;_0x3912f1[_0x29be0a(0x138)][_0x29be0a(0x144)](_0xf077ed=>{const _0x45f193=_0x29be0a,_0x56bb3e=_0x3912f1[_0x45f193(0x138)][_0x45f193(0x121)][_0x45f193(0x161)]();let _0x28b3d5=!0x1;return this[_0x45f193(0x13f)](_0xf077ed,_0x56bb3e)&&(_0x28b3d5=!0x0),this[_0x45f193(0x10f)](_0xf077ed,_0x56bb3e)&&(_0x28b3d5=!0x0),this[_0x45f193(0x142)](_0xf077ed,_0x56bb3e)&&(_0x28b3d5=!0x0),this[_0x45f193(0x10a)](_0xf077ed)&&(_0x28b3d5=!0x0),this[_0x45f193(0x102)](_0xf077ed)&&(_0x28b3d5=!0x0),this[_0x45f193(0x131)](_0xf077ed)&&(_0x28b3d5=!0x0),_0x28b3d5;}),this[_0x29be0a(0x104)](_0x3912f1[_0x29be0a(0x138)],_0x29be0a(0x136),()=>{const _0x207ee3=_0x29be0a;_0x3912f1[_0x207ee3(0x113)]({'isUndoable':!0x1},_0x4ce5fe=>{const _0x57c22c=_0x207ee3;this[_0x57c22c(0x13e)](_0x4ce5fe);});},{'priority':_0x29be0a(0x134)}),this[_0x29be0a(0x104)](_0x4ed706,_0x29be0a(0x15b),()=>{const _0x5d5291=_0x29be0a;this[_0x5d5291(0x124)]=[],this[_0x5d5291(0x15c)][_0x5d5291(0x158)](),this[_0x5d5291(0x167)][_0x5d5291(0x158)](),this[_0x5d5291(0x159)][_0x5d5291(0x158)]();},{'priority':_0x29be0a(0x150)});}[_0x1d3d3a(0x13d)](){const _0x371281=_0x1d3d3a;return this[_0x371281(0x10c)];}[_0x1d3d3a(0x126)](_0x20ee16){const _0x357515=_0x1d3d3a;return this[_0x357515(0x124)][_0x357515(0x117)](_0x52904d=>_0x52904d['id']===_0x20ee16)||null;}[_0x1d3d3a(0x107)](){const _0x2a1c5f=_0x1d3d3a;return Array[_0x2a1c5f(0x154)](this[_0x2a1c5f(0x124)]);}[_0x1d3d3a(0x148)](){const _0x21ee2c=_0x1d3d3a;return this[_0x21ee2c(0x125)];}[_0x1d3d3a(0x12b)](_0x139f4c){const _0x2a886e=_0x1d3d3a;this[_0x2a886e(0x125)]=_0x139f4c;}[_0x1d3d3a(0x112)](_0x208730,_0x4e3292=0x0){const _0x1bdc65=_0x1d3d3a;let _0x5a24d7=!0x1;for(let _0x3f53d7=_0x4e3292;_0x3f53d7<this[_0x1bdc65(0x124)][_0x1bdc65(0x123)];_0x3f53d7++)this[_0x1bdc65(0x12f)](_0x208730,_0x3f53d7)&&(_0x5a24d7=!0x0);return _0x5a24d7;}[_0x1d3d3a(0x106)](_0x112c44,_0x512e24){const _0x671ae5=_0x1d3d3a,_0x3b9ed5=_0x112c44[_0x671ae5(0x153)](_0x671ae5(0x152),{});return _0x112c44[_0x671ae5(0x12d)](_0x3b9ed5,_0x512e24),this[_0x671ae5(0x10c)]=_0x3b9ed5,_0x3b9ed5;}[_0x1d3d3a(0x13e)](_0xdef2c1){const _0x5029ec=_0x1d3d3a;if(!this[_0x5029ec(0x124)][_0x5029ec(0x123)]||this[_0x5029ec(0x10c)])return;const _0x518da0=this[_0x5029ec(0x124)][0x0][_0x5029ec(0x120)][_0x5029ec(0x129)],_0x2d183c=this[_0x5029ec(0x106)](_0xdef2c1,_0x518da0);for(const _0x4db851 of this[_0x5029ec(0x124)])_0x4db851[_0x5029ec(0x116)][_0x5029ec(0x14e)]||_0xdef2c1[_0x5029ec(0x157)](_0x4db851[_0x5029ec(0x116)],_0x2d183c,_0x5029ec(0x130));this[_0x5029ec(0x112)](_0xdef2c1);}[_0x1d3d3a(0x13f)](_0x13bf6a,_0x22942a){const _0x429045=_0x1d3d3a;let _0x38b2b=!0x1;const {inserted:_0x5dbf5e,removed:_0x46456e,moved:_0x554e8a}=this[_0x429045(0x15c)][_0x429045(0x161)](_0x22942a);if(_0x554e8a[_0x429045(0x123)]&&(this[_0x429045(0x10c)]=_0x554e8a[0x0]),_0x5dbf5e[_0x429045(0x123)]){if(_0x5dbf5e[_0x429045(0x123)]>0x1||this[_0x429045(0x10c)]&&_0x5dbf5e[_0x429045(0x103)](_0x25b51b=>_0x25b51b!==this[_0x429045(0x10c)])){const _0x25b53e=_0x13bf6a[_0x429045(0x153)](_0x429045(0x152),{}),_0xfdeaa8=[];this[_0x429045(0x10c)]&&_0xfdeaa8[_0x429045(0x139)](this[_0x429045(0x10c)]),_0xfdeaa8[_0x429045(0x139)](..._0x5dbf5e),_0x13bf6a[_0x429045(0x157)](_0x25b53e,_0xfdeaa8[0x0],_0x429045(0x151));for(const _0xce5280 of _0xfdeaa8)_0x13bf6a[_0x429045(0x12e)](_0x13bf6a[_0x429045(0x140)](_0xce5280),_0x13bf6a[_0x429045(0x15d)](_0x25b53e,_0x429045(0x130))),_0x13bf6a[_0x429045(0x115)](_0xce5280);this[_0x429045(0x10c)]=_0x25b53e,this[_0x429045(0x112)](_0x13bf6a),_0x38b2b=!0x0;}else this[_0x429045(0x10c)]=_0x5dbf5e[0x0];}if(_0x46456e[_0x429045(0x123)]&&_0x429045(0x149)===this[_0x429045(0x10c)]?.[_0x429045(0x129)][_0x429045(0x11f)]){for(const _0x22dfa5 of this[_0x429045(0x124)])_0x13bf6a[_0x429045(0x115)](_0x22dfa5[_0x429045(0x120)]),_0x38b2b=!0x0;this[_0x429045(0x124)]=[],this[_0x429045(0x10c)]=null;}return _0x38b2b;}[_0x1d3d3a(0x10f)](_0x55bcd4,_0x7b8906){const _0x5cb311=_0x1d3d3a;let _0x5e55db=!0x1;const _0x5273bd=this[_0x5cb311(0x12c)][_0x5cb311(0x10d)][_0x5cb311(0x11e)](_0x5cb311(0x105)),{inserted:_0xf533c8,moved:_0xfdcc20}=this[_0x5cb311(0x159)][_0x5cb311(0x161)](_0x7b8906);for(const _0x4a69f7 of[..._0xfdcc20,..._0xf533c8]){const _0x302576=_0x4a69f7[_0x5cb311(0x164)](_0x5cb311(0x128)),_0x1d1829=this[_0x5cb311(0x126)](_0x302576);_0x1d1829&&(_0x1d1829[_0x5cb311(0x116)]=_0x4a69f7),_(_0x55bcd4,_0x5273bd,_0x4a69f7)&&(_0x5e55db=!0x0);}return _0x5e55db;}[_0x1d3d3a(0x142)](_0x39edd6,_0x394ec4){const _0x5d3c28=_0x1d3d3a;let _0x1e669f=!0x1;const {removed:_0xffefea,inserted:_0x5c8cc0,moved:_0x62e12d}=this[_0x5d3c28(0x167)][_0x5d3c28(0x161)](_0x394ec4);for(const _0x3be640 of _0xffefea)this[_0x5d3c28(0x111)](_0x39edd6,_0x3be640)&&(_0x1e669f=!0x0);for(const _0x1312e6 of _0x5c8cc0)this[_0x5d3c28(0x114)](_0x39edd6,_0x1312e6)&&(_0x1e669f=!0x0);for(const _0x56e2dc of _0x62e12d)this[_0x5d3c28(0x135)](_0x39edd6,_0x56e2dc)&&(_0x1e669f=!0x0);return _0x1e669f;}[_0x1d3d3a(0x102)](_0x2a8e83){const _0x2465b5=_0x1d3d3a;if(!this[_0x2465b5(0x10c)])return!0x1;let _0x5354e5=!0x1;if(this[_0x2465b5(0x10c)][_0x2465b5(0x143)]!==this[_0x2465b5(0x124)][_0x2465b5(0x123)]){const _0x11eb37=[];for(const _0x3736c3 of this[_0x2465b5(0x10c)][_0x2465b5(0x10b)]()){const _0x1ede76=_0x3736c3[_0x2465b5(0x164)](_0x2465b5(0x128));this[_0x2465b5(0x126)](_0x1ede76)||(_0x11eb37[_0x2465b5(0x108)](_0x3736c3),_0x5354e5=!0x0);}for(const _0x48471e of _0x11eb37)_0x2a8e83[_0x2465b5(0x115)](_0x48471e);}const _0x30ff8a=new Set(),_0x5d307e=[];for(const _0x537a76 of this[_0x2465b5(0x10c)][_0x2465b5(0x10b)]()){const _0x57e0bc=_0x537a76[_0x2465b5(0x164)](_0x2465b5(0x128));_0x30ff8a[_0x2465b5(0x14d)](_0x57e0bc)?(_0x5d307e[_0x2465b5(0x108)](_0x537a76),_0x5354e5=!0x0):_0x30ff8a[_0x2465b5(0x11d)](_0x57e0bc);}for(const _0x4ab4a2 of _0x5d307e)_0x2a8e83[_0x2465b5(0x115)](_0x4ab4a2);return this[_0x2465b5(0x10c)][_0x2465b5(0x143)]||(_0x2a8e83[_0x2465b5(0x115)](this[_0x2465b5(0x10c)]),this[_0x2465b5(0x10c)]=null,_0x5354e5=!0x0),_0x5354e5;}[_0x1d3d3a(0x114)](_0x222665,_0xa46d59){const _0x589210=_0x1d3d3a;if(this[_0x589210(0x124)][_0x589210(0x117)](_0x4b772a=>_0x4b772a[_0x589210(0x120)]===_0xa46d59))return!0x1;let _0x5e195d=!0x1;const _0x37b67d=_0xa46d59[_0x589210(0x164)](_0x589210(0x128)),_0x2be65c=this[_0x589210(0x124)][_0x589210(0x122)](_0x5e787c=>_0x5e787c['id']===_0x37b67d);-0x1!==_0x2be65c&&(_0x222665[_0x589210(0x115)](this[_0x589210(0x124)][_0x2be65c][_0x589210(0x120)]),this[_0x589210(0x124)][_0x589210(0x13c)](_0x2be65c,0x1),_0x5e195d=!0x0);let _0x4bbea6=this[_0x589210(0x10c)]?function(_0x52e858,_0x54c079){const _0x28fe1c=_0x589210;for(const _0x204bfe of _0x52e858[_0x28fe1c(0x10b)]())if(_0x204bfe[_0x28fe1c(0x164)](_0x28fe1c(0x128))===_0x54c079)return _0x204bfe;return null;}(this[_0x589210(0x10c)],_0x37b67d):null;_0x4bbea6||(_0x4bbea6=_0x222665[_0x589210(0x153)](_0x589210(0x13a),{'footnoteId':_0x37b67d}),this[_0x589210(0x10c)]&&(_0x222665[_0x589210(0x157)](_0x4bbea6,this[_0x589210(0x10c)],_0x589210(0x130)),_0x5e195d=!0x0));const _0x20aa7d={'id':_0x37b67d,'reference':_0xa46d59,'definition':_0x4bbea6},_0x43b5c8=I(this[_0x589210(0x12c)][_0x589210(0x13b)],this[_0x589210(0x124)],_0xa46d59);this[_0x589210(0x124)][_0x589210(0x13c)](_0x43b5c8,0x0,_0x20aa7d);let _0x9b0f2c=_0x43b5c8;return-0x1!==_0x2be65c&&(_0x9b0f2c=Math[_0x589210(0x127)](_0x43b5c8,_0x2be65c)),this[_0x589210(0x112)](_0x222665,_0x9b0f2c)&&(_0x5e195d=!0x0),_0x5e195d;}[_0x1d3d3a(0x111)](_0x57405f,_0x4901de){const _0x3c7c1e=_0x1d3d3a,_0x1f7c85=this[_0x3c7c1e(0x124)][_0x3c7c1e(0x122)](_0x131f34=>_0x131f34['id']===_0x4901de);if(-0x1===_0x1f7c85)return!0x1;let _0x5b53f9=!0x1;const _0x258266=this[_0x3c7c1e(0x124)][_0x1f7c85];return _0x3c7c1e(0x149)!==_0x258266[_0x3c7c1e(0x116)][_0x3c7c1e(0x129)][_0x3c7c1e(0x11f)]&&(_0x57405f[_0x3c7c1e(0x115)](_0x258266[_0x3c7c1e(0x116)]),_0x5b53f9=!0x0),this[_0x3c7c1e(0x124)][_0x3c7c1e(0x13c)](_0x1f7c85,0x1),this[_0x3c7c1e(0x112)](_0x57405f,_0x1f7c85)&&(_0x5b53f9=!0x0),_0x5b53f9;}[_0x1d3d3a(0x135)](_0x26eb37,_0x529125){const _0x1cdf99=_0x1d3d3a,_0x2d1391=_0x529125[_0x1cdf99(0x164)](_0x1cdf99(0x128)),_0xb8f12=this[_0x1cdf99(0x124)][_0x1cdf99(0x122)](_0x561016=>_0x561016['id']===_0x2d1391),_0x26c76b=this[_0x1cdf99(0x124)][_0xb8f12];let _0x20c997=!0x1;_0x26c76b[_0x1cdf99(0x120)]=_0x529125,this[_0x1cdf99(0x124)][_0x1cdf99(0x13c)](_0xb8f12,0x1);const _0x2b7266=I(this[_0x1cdf99(0x12c)][_0x1cdf99(0x13b)],this[_0x1cdf99(0x124)],_0x529125);return this[_0x1cdf99(0x124)][_0x1cdf99(0x13c)](_0x2b7266,0x0,_0x26c76b),this[_0x1cdf99(0x112)](_0x26eb37,Math[_0x1cdf99(0x127)](_0xb8f12,_0x2b7266))&&(_0x20c997=!0x0),_0x20c997;}[_0x1d3d3a(0x12f)](_0x24251f,_0x5a3d07){const _0xcdc2bf=_0x1d3d3a;if(!this[_0xcdc2bf(0x10c)])return!0x1;const _0x1bd465=this[_0xcdc2bf(0x124)][_0x5a3d07];let _0x31bc9b;return _0x31bc9b=this[_0xcdc2bf(0x125)]?this[_0xcdc2bf(0x125)]({'footnote':_0x1bd465,'container':this[_0xcdc2bf(0x10c)],'digits':String(this[_0xcdc2bf(0x124)][_0xcdc2bf(0x123)])[_0xcdc2bf(0x123)],'value':_0x5a3d07+0x1}):String(_0x5a3d07+0x1),_0x1bd465[_0xcdc2bf(0x120)][_0xcdc2bf(0x164)](_0xcdc2bf(0x14f))!=_0x31bc9b&&(_0x24251f[_0xcdc2bf(0x14c)](_0xcdc2bf(0x14f),_0x31bc9b,_0x1bd465[_0xcdc2bf(0x120)]),!0x0);}[_0x1d3d3a(0x131)](_0x403494){const _0x133480=_0x1d3d3a;if(!this[_0x133480(0x10c)]||this[_0x133480(0x124)][_0x133480(0x123)]<0x2)return!0x1;if(function(_0x4ea87d,_0xdd94bb){const _0x6b8a0d=_0x133480;if(_0x4ea87d[_0x6b8a0d(0x123)]!==_0xdd94bb[_0x6b8a0d(0x123)])return!0x1;for(let _0x47a93b=0x0;_0x47a93b<_0x4ea87d[_0x6b8a0d(0x123)];_0x47a93b++)if(_0x4ea87d[_0x47a93b]!==_0xdd94bb[_0x47a93b])return!0x1;return!0x0;}(this[_0x133480(0x124)][_0x133480(0x137)](_0x3c5ff8=>_0x3c5ff8['id']),Array[_0x133480(0x154)](this[_0x133480(0x10c)][_0x133480(0x10b)]())[_0x133480(0x137)](_0x1bb333=>_0x1bb333[_0x133480(0x164)](_0x133480(0x128)))))return!0x1;let _0x47e54f=!0x1;for(let _0x4a765d=0x0;_0x4a765d<this[_0x133480(0x124)][_0x133480(0x123)];_0x4a765d++){const _0x12af34=this[_0x133480(0x124)][_0x4a765d],_0x48075c=_0x403494[_0x133480(0x145)](_0x12af34[_0x133480(0x116)]),_0x323612=_0x403494[_0x133480(0x15d)](this[_0x133480(0x10c)],_0x4a765d);_0x48075c[_0x133480(0x15a)](_0x323612)||(_0x403494[_0x133480(0x12e)](_0x403494[_0x133480(0x110)](_0x12af34[_0x133480(0x116)]),_0x323612),_0x47e54f=!0x0);}return _0x47e54f;}[_0x1d3d3a(0x10a)](_0x4ed75a){const _0x1d196a=_0x1d3d3a;if(!this[_0x1d196a(0x124)][_0x1d196a(0x123)])return!0x1;const {model:_0x2e170d}=this[_0x1d196a(0x12c)];let _0x579589=!0x1;for(let _0x226a8a=0x0;_0x226a8a<this[_0x1d196a(0x124)][_0x1d196a(0x123)]-0x1;_0x226a8a++){const _0x310244=this[_0x1d196a(0x124)][_0x226a8a],_0x3239d7=this[_0x1d196a(0x124)][_0x226a8a+0x1],_0x4ecfee=_0x2e170d[_0x1d196a(0x145)](_0x310244[_0x1d196a(0x120)]),_0xa20750=_0x2e170d[_0x1d196a(0x145)](_0x3239d7[_0x1d196a(0x120)]);_0x1d196a(0x160)===_0x4ecfee[_0x1d196a(0x11c)](_0xa20750)&&(this[_0x1d196a(0x135)](_0x4ed75a,_0x310244[_0x1d196a(0x120)]),_0x226a8a=-0x1,_0x579589=!0x0);}return _0x579589;}}function _(_0x234f4c,_0x545257,_0x1d2c7f){const _0x3675a3=_0x1d3d3a;if(_0x1d2c7f[_0x3675a3(0x143)])return!0x1;const _0x14b9af=_0x545257?_0x3675a3(0x163):_0x3675a3(0x132);return _0x234f4c[_0x3675a3(0x157)](_0x234f4c[_0x3675a3(0x153)](_0x14b9af),_0x1d2c7f),!0x0;}function I(_0x1251a5,_0x1c2826,_0x3ec604){const _0x4dc18f=_0x1d3d3a;if(0x0===_0x1c2826[_0x4dc18f(0x123)])return 0x0;const _0x559d1d=_0x1251a5[_0x4dc18f(0x145)](_0x3ec604);for(let _0x24f792=0x0;_0x24f792<_0x1c2826[_0x4dc18f(0x123)];_0x24f792++){const _0xe54a44=_0x1c2826[_0x24f792],_0x38dea3=_0x1251a5[_0x4dc18f(0x145)](_0xe54a44[_0x4dc18f(0x120)]);if(_0x4dc18f(0x151)===_0x559d1d[_0x4dc18f(0x11c)](_0x38dea3))return _0x24f792;}const _0x35fdcb=_0x3ec604[_0x4dc18f(0x129)];let _0x2c526b=-0x1;for(let _0x359818=_0x1c2826[_0x4dc18f(0x123)]-0x1;_0x359818>=0x0;_0x359818--)if(_0x1c2826[_0x359818][_0x4dc18f(0x120)][_0x4dc18f(0x129)]===_0x35fdcb){_0x2c526b=_0x359818;break;}if(-0x1!==_0x2c526b)return _0x2c526b+0x1;const _0x34a9af=_0x1251a5[_0x4dc18f(0x138)][_0x4dc18f(0x146)](),_0x2b886c=_0x34a9af[_0x4dc18f(0x14a)](_0x35fdcb[_0x4dc18f(0x11f)]),_0x604c80=_0x34a9af[_0x2b886c+0x1];if(_0x604c80){for(let _0x364533=0x0;_0x364533<_0x1c2826[_0x4dc18f(0x123)];_0x364533++)if(_0x1c2826[_0x364533][_0x4dc18f(0x120)][_0x4dc18f(0x129)][_0x4dc18f(0x11f)]===_0x604c80)return _0x364533;}return _0x1c2826[_0x4dc18f(0x123)];}function _0x54e8(){const _0x35b09b=['getRootNames','isPremiumPlugin','getFootnotesFormatter','$graveyard','indexOf','32yCdFjc','setAttribute','has','parent','footnoteCounter','high','before','footnotesDefinitions','createElement','from','1883466SGeEZz','3078805nBMTYE','insert','reset','_footnoteDefsTracker','isEqual','set','_footnoteDefsContainerTracker','createPositionAt','isOfficialPlugin','pluginName','after','getChanges','singleton','paragraph','getAttribute','1882KbvtSx','init','_footnoteRefsTracker','_handleFootnotesDefinitionsObjectSync','some','listenTo','footnotes.multiBlock','_insertEmptyFootnotesDefinitionsContainer','getFootnotes','unshift','653Tmlxta','_ensureFootnotesReferencesHaveProperOrder','getChildren','_footnotesDefinitions','config','FootnotesTracker','_handleFootnoteDefinitionsChanges','createRangeOn','_handleRemoveFootnoteReferenceById','_updateFootnotesCounters','enqueueChange','_handleInsertedFootnoteReference','remove','definition','find','3864429zMVWYH','footnoteRef','5336742FxPHTS','12967493FOLMWj','compareWith','add','get','rootName','reference','differ','findIndex','length','_footnotes','_footnoteFormatter','getFootnote','min','footnoteId','root','20zrwDcj','setFootnoteFormatter','editor','append','move','_updateFootnoteRefCounter','end','_sortFootnoteDefinitions','footnoteInlineContent','95417oqnUUJ','low','_handleMovedFootnoteReference','change:data','map','document','push','footnoteDefinition','model','splice','getFootnotesDefinitionsObjectElement','_ensureFootnotesDefinitionsContainerExists','_handleFootnotesDefinitionsObjectChanges','createRangeIn','4mDvFBG','_handleFootnoteReferencesChanges','childCount','registerPostFixer','createPositionBefore'];_0x54e8=function(){return _0x35b09b;};return _0x54e8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5623e4,MenuBarMenuListItemButtonView as _0x1dfbad}from'ckeditor5/src/ui.js';import{Plugin as _0x3443a4}from'ckeditor5/src/core.js';import{IconFootnote as _0x251410}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3443a4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e4b13}=this,{componentFactory:_0x515ec5}=_0x1e4b13['ui'];_0x515ec5['add']('insertFootnote',E(_0x1e4b13,_0x5623e4)),_0x515ec5['add']('menuBar:insertFootnote',E(_0x1e4b13,_0x1dfbad)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3782a1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfc2f47;for(const _0xa3bdd3 in _0x3782a1){const _0x6cabae=_0xa3bdd3,_0x59c749=_0x3782a1[_0x6cabae];if('footnotesLicenseKeyValid'==_0x59c749||'footnotesLicenseKeyInvalid'==_0x59c749||'footnotesLicenseKeyExpired'==_0x59c749||'footnotesLicenseKeyDomainLimit'==_0x59c749||'footnotesLicenseKeyNotAllowed'==_0x59c749||'footnotesLicenseKeyEvaluationLimit'==_0x59c749||'footnotesLicenseKeyUsageLimit'==_0x59c749){delete _0x3782a1[_0x6cabae],_0xfc2f47=_0x59c749,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xfc2f47&&_0x3782a1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xfc2f47&&_0x3782a1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xfc2f47&&_0x3782a1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xfc2f47&&_0x3782a1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xfc2f47&&_0x3782a1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xfc2f47&&_0x3782a1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1458f0,_0x1c496c){const _0xb6c374=_0x1458f0['commands']['get']('insertFootnote');return _0x45dece=>{const {t:t}=_0x45dece,_0x4b9fa1=new _0x1c496c(_0x45dece),_0x5d3fd7=_0x4b9fa1 instanceof _0x1dfbad;return _0x4b9fa1['bind']('isEnabled')['to'](_0xb6c374,'isEnabled'),_0x4b9fa1['set']({'label':t(_0x5d3fd7?'Footnote':'Insert\x20footnote'),'icon':_0x251410,'tooltip':!0x0}),_0x4b9fa1['on']('execute',()=>{_0xb6c374['execute'](),_0x1458f0['editing']['view']['focus']();}),_0x4b9fa1;};}
23
+ import{ButtonView as _0x2df997,MenuBarMenuListItemButtonView as _0x32a3b0}from'ckeditor5/src/ui.js';import{Plugin as _0x158acd}from'ckeditor5/src/core.js';import{IconFootnote as _0x4506ec}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x158acd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5bac98}=this,{componentFactory:_0x1718d0}=_0x5bac98['ui'];_0x1718d0['add']('insertFootnote',E(_0x5bac98,_0x2df997)),_0x1718d0['add']('menuBar:insertFootnote',E(_0x5bac98,_0x32a3b0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x201a96=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x571a36;for(const _0x592d81 in _0x201a96){const _0x5ce7ea=_0x592d81,_0x4ba669=_0x201a96[_0x5ce7ea];if('footnotesLicenseKeyValid'==_0x4ba669||'footnotesLicenseKeyInvalid'==_0x4ba669||'footnotesLicenseKeyExpired'==_0x4ba669||'footnotesLicenseKeyDomainLimit'==_0x4ba669||'footnotesLicenseKeyNotAllowed'==_0x4ba669||'footnotesLicenseKeyEvaluationLimit'==_0x4ba669||'footnotesLicenseKeyUsageLimit'==_0x4ba669){delete _0x201a96[_0x5ce7ea],_0x571a36=_0x4ba669,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x571a36&&_0x201a96['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x571a36&&_0x201a96['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x571a36&&_0x201a96['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x571a36&&_0x201a96['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x571a36&&_0x201a96['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x571a36&&_0x201a96['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x5d50dc,_0x5b5292){const _0x197cce=_0x5d50dc['commands']['get']('insertFootnote');return _0xda576e=>{const {t:t}=_0xda576e,_0x1fa320=new _0x5b5292(_0xda576e),_0x2de6d0=_0x1fa320 instanceof _0x32a3b0;return _0x1fa320['bind']('isEnabled')['to'](_0x197cce,'isEnabled'),_0x1fa320['set']({'label':t(_0x2de6d0?'Footnote':'Insert\x20footnote'),'icon':_0x4506ec,'tooltip':!0x0}),_0x1fa320['on']('execute',()=>{_0x197cce['execute'](),_0x5d50dc['editing']['view']['focus']();}),_0x1fa320;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1e4ef3,_0x22f693){var _0x38408c=_0xbdca,_0xce4004=_0x1e4ef3();while(!![]){try{var _0xd91cae=parseInt(_0x38408c(0x108))/0x1*(-parseInt(_0x38408c(0x103))/0x2)+parseInt(_0x38408c(0x106))/0x3+-parseInt(_0x38408c(0x107))/0x4*(parseInt(_0x38408c(0x109))/0x5)+-parseInt(_0x38408c(0x10a))/0x6+-parseInt(_0x38408c(0x10b))/0x7+-parseInt(_0x38408c(0x102))/0x8*(parseInt(_0x38408c(0x104))/0x9)+parseInt(_0x38408c(0x105))/0xa;if(_0xd91cae===_0x22f693)break;else _0xce4004['push'](_0xce4004['shift']());}catch(_0x4581c5){_0xce4004['push'](_0xce4004['shift']());}}}(_0x43e2,0xd3cf5));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0xbdca(_0x122439,_0x53e7b0){var _0x43e27d=_0x43e2();return _0xbdca=function(_0xbdca7,_0x3894f8){_0xbdca7=_0xbdca7-0x102;var _0x346b3d=_0x43e27d[_0xbdca7];return _0x346b3d;},_0xbdca(_0x122439,_0x53e7b0);}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x43e2(){var _0x3686b6=['3101895PDvdPT','8444zOgnnH','2Lxqpxu','3515XYyDzK','1839756zBSrRM','6886852qxiIva','472KByXLT','718858XpdvHG','46962rjxUFU','36348230qOawqV'];_0x43e2=function(){return _0x3686b6;};return _0x43e2();}export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x377d12,_0x31ff8b){var _0x5a2dcf=_0x2d09,_0x37a798=_0x377d12();while(!![]){try{var _0x44f5e2=parseInt(_0x5a2dcf(0x1ef))/0x1+parseInt(_0x5a2dcf(0x1eb))/0x2*(parseInt(_0x5a2dcf(0x1f0))/0x3)+-parseInt(_0x5a2dcf(0x1f4))/0x4*(-parseInt(_0x5a2dcf(0x1ee))/0x5)+-parseInt(_0x5a2dcf(0x1ec))/0x6*(parseInt(_0x5a2dcf(0x1f1))/0x7)+-parseInt(_0x5a2dcf(0x1ed))/0x8*(-parseInt(_0x5a2dcf(0x1f3))/0x9)+parseInt(_0x5a2dcf(0x1f2))/0xa+-parseInt(_0x5a2dcf(0x1f5))/0xb;if(_0x44f5e2===_0x31ff8b)break;else _0x37a798['push'](_0x37a798['shift']());}catch(_0x29f7cb){_0x37a798['push'](_0x37a798['shift']());}}}(_0x2bac,0x2f08c));function _0x2d09(_0x4e00aa,_0xa8c107){var _0x2bac9b=_0x2bac();return _0x2d09=function(_0x2d09f5,_0x1e7a42){_0x2d09f5=_0x2d09f5-0x1eb;var _0x4954bc=_0x2bac9b[_0x2d09f5];return _0x4954bc;},_0x2d09(_0x4e00aa,_0xa8c107);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x2bac(){var _0xdc280a=['30957iIkOqW','427299AhDxyQ','14pKTWmW','3730600GSQSIY','2097UodRHs','48UlTQyK','12898358FFrbwy','4JkqTxM','60486RVJBFg','11528BykLXy','150315stEOiw'];_0x2bac=function(){return _0xdc280a;};return _0x2bac();}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52b328=_0x1096;(function(_0x3cac10,_0xe32c79){const _0x5ad6df=_0x1096,_0x1a08c4=_0x3cac10();while(!![]){try{const _0x52ba4b=-parseInt(_0x5ad6df(0xc7))/0x1*(parseInt(_0x5ad6df(0xc3))/0x2)+-parseInt(_0x5ad6df(0xcb))/0x3*(parseInt(_0x5ad6df(0xd3))/0x4)+-parseInt(_0x5ad6df(0xdf))/0x5*(-parseInt(_0x5ad6df(0xd5))/0x6)+-parseInt(_0x5ad6df(0xda))/0x7*(parseInt(_0x5ad6df(0xe5))/0x8)+-parseInt(_0x5ad6df(0xe7))/0x9+-parseInt(_0x5ad6df(0xc4))/0xa+parseInt(_0x5ad6df(0xdd))/0xb;if(_0x52ba4b===_0xe32c79)break;else _0x1a08c4['push'](_0x1a08c4['shift']());}catch(_0x3afb5f){_0x1a08c4['push'](_0x1a08c4['shift']());}}}(_0x133c,0x70b39));function _0x133c(){const _0x3c28b9=['elementName','set','values','14hOoPtG','type','slice','31854746QWRtuf','_getElementKey','10NZBNDt','rootName','remove','delete','_trackedElements','push','3652752WBpRAR','from','8222526wSZZfs','createRangeOn','nodeAfter','get','getChanges','$text','getElementKey','length','flat','7118UbOzfl','6694900NwOfvU','root','$graveyard','153LuMFIW','reset','name','insert','18498dVFJFt','_model','add','element','has','clear','_elementName','attributes','16LvYCms','position','1893666NsGBYf','getItems'];_0x133c=function(){return _0x3c28b9;};return _0x133c();}function _0x1096(_0x1ed007,_0x4a2b22){const _0x133c5c=_0x133c();return _0x1096=function(_0x10968b,_0x3d6cd9){_0x10968b=_0x10968b-0xc0;let _0x3142f6=_0x133c5c[_0x10968b];return _0x3142f6;},_0x1096(_0x1ed007,_0x4a2b22);}export class ModelElementTracker{[_0x52b328(0xcc)];[_0x52b328(0xd1)];[_0x52b328(0xde)];[_0x52b328(0xe3)]=new Map();constructor(_0x29bd9e,_0x2c39f4){const _0x2d914e=_0x52b328;this[_0x2d914e(0xcc)]=_0x29bd9e,this[_0x2d914e(0xd1)]=_0x2c39f4[_0x2d914e(0xd7)],this[_0x2d914e(0xde)]=_0x2c39f4[_0x2d914e(0xc0)];}[_0x52b328(0xc8)](){const _0x347325=_0x52b328;this[_0x347325(0xe3)][_0x347325(0xd0)]();}[_0x52b328(0xeb)](_0x1bf797){const _0x3d86b1=_0x52b328,_0xe9a38c=new Set(),_0x5f40d4=new Map();for(const _0x56b223 of _0x1bf797){if(_0x3d86b1(0xca)===_0x56b223[_0x3d86b1(0xdb)]&&_0x3d86b1(0xec)!==_0x56b223[_0x3d86b1(0xc9)]&&_0x56b223[_0x3d86b1(0xd4)][_0x3d86b1(0xe9)]){const _0x4f3243=this[_0x3d86b1(0xcc)][_0x3d86b1(0xe8)](_0x56b223[_0x3d86b1(0xd4)][_0x3d86b1(0xe9)]);for(const _0x54ed0a of _0x4f3243[_0x3d86b1(0xd6)]()){if(!_0x54ed0a['is'](_0x3d86b1(0xce),this[_0x3d86b1(0xd1)]))continue;const _0x3e2aaf=this[_0x3d86b1(0xde)](_0x54ed0a);_0x5f40d4[_0x3d86b1(0xcf)](_0x3e2aaf)||_0x5f40d4[_0x3d86b1(0xd8)](_0x3e2aaf,[]),_0x5f40d4[_0x3d86b1(0xea)](_0x3e2aaf)[_0x3d86b1(0xe4)](_0x54ed0a);}}if(_0x3d86b1(0xe1)===_0x56b223[_0x3d86b1(0xdb)]&&_0x56b223[_0x3d86b1(0xc9)]===this[_0x3d86b1(0xd1)]){const _0x5867db=this[_0x3d86b1(0xde)]({'getAttribute':_0x50d34e=>_0x56b223[_0x3d86b1(0xd2)][_0x3d86b1(0xea)](_0x50d34e)});_0xe9a38c[_0x3d86b1(0xcd)](_0x5867db);}}for(const [_0x1e2ac1,_0x9aa6f0]of this[_0x3d86b1(0xe3)])_0x3d86b1(0xc6)===_0x9aa6f0[_0x3d86b1(0xc5)][_0x3d86b1(0xe0)]&&_0xe9a38c[_0x3d86b1(0xcd)](_0x1e2ac1);for(const _0xff0c1d of _0xe9a38c)this[_0x3d86b1(0xe3)][_0x3d86b1(0xe2)](_0xff0c1d);for(const [_0x358fa5,_0x38425c]of _0x5f40d4)this[_0x3d86b1(0xe3)][_0x3d86b1(0xd8)](_0x358fa5,_0x38425c[_0x38425c[_0x3d86b1(0xc1)]-0x1]);const _0x30616a=new Set();for(const [_0x5695f3,_0x1fb917]of _0x5f40d4)_0xe9a38c[_0x3d86b1(0xcf)](_0x5695f3)&&(_0x30616a[_0x3d86b1(0xcd)](_0x1fb917[0x0]),_0x1fb917[_0x3d86b1(0xc1)]>0x1?_0x5f40d4[_0x3d86b1(0xd8)](_0x5695f3,_0x1fb917[_0x3d86b1(0xdc)](0x1)):_0x5f40d4[_0x3d86b1(0xe2)](_0x5695f3),_0xe9a38c[_0x3d86b1(0xe2)](_0x5695f3));return{'removed':Array[_0x3d86b1(0xe6)](_0xe9a38c),'inserted':Array[_0x3d86b1(0xe6)](_0x5f40d4[_0x3d86b1(0xd9)]())[_0x3d86b1(0xc2)](),'moved':Array[_0x3d86b1(0xe6)](_0x30616a)};}}
23
+ const _0x1e71d2=_0x6d3d;(function(_0x3a715f,_0x57ad6d){const _0x3f4347=_0x6d3d,_0x5cc373=_0x3a715f();while(!![]){try{const _0x28c7c1=-parseInt(_0x3f4347(0x16f))/0x1+parseInt(_0x3f4347(0x167))/0x2+-parseInt(_0x3f4347(0x17c))/0x3+-parseInt(_0x3f4347(0x180))/0x4+-parseInt(_0x3f4347(0x168))/0x5*(parseInt(_0x3f4347(0x174))/0x6)+-parseInt(_0x3f4347(0x17f))/0x7*(-parseInt(_0x3f4347(0x17e))/0x8)+parseInt(_0x3f4347(0x179))/0x9;if(_0x28c7c1===_0x57ad6d)break;else _0x5cc373['push'](_0x5cc373['shift']());}catch(_0x100ab8){_0x5cc373['push'](_0x5cc373['shift']());}}}(_0x5ca9,0x39b42));function _0x6d3d(_0xc83bed,_0x55557c){const _0x5ca915=_0x5ca9();return _0x6d3d=function(_0x6d3d55,_0x5e97f7){_0x6d3d55=_0x6d3d55-0x15c;let _0x376254=_0x5ca915[_0x6d3d55];return _0x376254;},_0x6d3d(_0xc83bed,_0x55557c);}export class ModelElementTracker{[_0x1e71d2(0x16a)];[_0x1e71d2(0x164)];[_0x1e71d2(0x184)];[_0x1e71d2(0x15d)]=new Map();constructor(_0x1dd65e,_0x35cabd){const _0x29fc53=_0x1e71d2;this[_0x29fc53(0x16a)]=_0x1dd65e,this[_0x29fc53(0x164)]=_0x35cabd[_0x29fc53(0x172)],this[_0x29fc53(0x184)]=_0x35cabd[_0x29fc53(0x183)];}[_0x1e71d2(0x186)](){const _0x538be3=_0x1e71d2;this[_0x538be3(0x15d)][_0x538be3(0x185)]();}[_0x1e71d2(0x181)](_0x4c3bc5){const _0x52f590=_0x1e71d2,_0x1a5e6f=new Set(),_0x44dabf=new Map();for(const _0x329cd1 of _0x4c3bc5){if(_0x52f590(0x16e)===_0x329cd1[_0x52f590(0x166)]&&_0x52f590(0x171)!==_0x329cd1[_0x52f590(0x160)]&&_0x329cd1[_0x52f590(0x15c)][_0x52f590(0x175)]){const _0x20085e=this[_0x52f590(0x16a)][_0x52f590(0x15e)](_0x329cd1[_0x52f590(0x15c)][_0x52f590(0x175)]);for(const _0x50f724 of _0x20085e[_0x52f590(0x173)]()){if(!_0x50f724['is'](_0x52f590(0x16b),this[_0x52f590(0x164)]))continue;const _0x60e9a0=this[_0x52f590(0x184)](_0x50f724);_0x44dabf[_0x52f590(0x178)](_0x60e9a0)||_0x44dabf[_0x52f590(0x15f)](_0x60e9a0,[]),_0x44dabf[_0x52f590(0x17a)](_0x60e9a0)[_0x52f590(0x16c)](_0x50f724);}}if(_0x52f590(0x17b)===_0x329cd1[_0x52f590(0x166)]&&_0x329cd1[_0x52f590(0x160)]===this[_0x52f590(0x164)]){const _0x618f54=this[_0x52f590(0x184)]({'getAttribute':_0x453cda=>_0x329cd1[_0x52f590(0x177)][_0x52f590(0x17a)](_0x453cda)});_0x1a5e6f[_0x52f590(0x163)](_0x618f54);}}for(const [_0x2fc9fd,_0x115fad]of this[_0x52f590(0x15d)])_0x52f590(0x169)===_0x115fad[_0x52f590(0x182)][_0x52f590(0x161)]&&_0x1a5e6f[_0x52f590(0x163)](_0x2fc9fd);for(const _0x1d9b21 of _0x1a5e6f)this[_0x52f590(0x15d)][_0x52f590(0x16d)](_0x1d9b21);for(const [_0x39ddc1,_0x25d8dc]of _0x44dabf)this[_0x52f590(0x15d)][_0x52f590(0x15f)](_0x39ddc1,_0x25d8dc[_0x25d8dc[_0x52f590(0x170)]-0x1]);const _0x2ccedb=new Set();for(const [_0x1e4d5b,_0x31f609]of _0x44dabf)_0x1a5e6f[_0x52f590(0x178)](_0x1e4d5b)&&(_0x2ccedb[_0x52f590(0x163)](_0x31f609[0x0]),_0x31f609[_0x52f590(0x170)]>0x1?_0x44dabf[_0x52f590(0x15f)](_0x1e4d5b,_0x31f609[_0x52f590(0x17d)](0x1)):_0x44dabf[_0x52f590(0x16d)](_0x1e4d5b),_0x1a5e6f[_0x52f590(0x16d)](_0x1e4d5b));return{'removed':Array[_0x52f590(0x165)](_0x1a5e6f),'inserted':Array[_0x52f590(0x165)](_0x44dabf[_0x52f590(0x176)]())[_0x52f590(0x162)](),'moved':Array[_0x52f590(0x165)](_0x2ccedb)};}}function _0x5ca9(){const _0x3a39d9=['$graveyard','_model','element','push','delete','insert','306278qKOxcP','length','$text','elementName','getItems','12OPUJzT','nodeAfter','values','attributes','has','10315251NEBQQc','get','remove','944445IbxKXU','slice','952BrdRMX','20412zcEsft','1275488fCLHJI','getChanges','root','getElementKey','_getElementKey','clear','reset','position','_trackedElements','createRangeOn','set','name','rootName','flat','add','_elementName','from','type','302480bdPUcP','1170160HCJUxL'];_0x5ca9=function(){return _0x3a39d9;};return _0x5ca9();}