@ckeditor/ckeditor5-footnotes 47.2.0 → 47.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/LICENSE.md +3 -3
  2. package/build/footnotes.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
  151. package/src/commands/insertfootnotecommand.js +1 -1
  152. package/src/footnotes.js +1 -1
  153. package/src/footnotesclipboard.js +1 -1
  154. package/src/footnotesediting.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  156. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  159. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  160. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  161. package/src/footnotesproperties.js +1 -1
  162. package/src/footnotestracker.js +1 -1
  163. package/src/footnotesui.js +1 -1
  164. package/src/index.js +1 -1
  165. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3dc7c5}from'ckeditor5/src/core.js';import{isWidget as _0x3b57e8,toWidget as _0x4db1ed,toWidgetEditable as _0x4d6706}from'ckeditor5/src/widget.js';import{uid as _0x180e25}from'ckeditor5/src/utils.js';import{PointerObserver as _0x206bf5,ClickObserver as _0x3ca212}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2d908d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2b93c1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3dc7c5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2d908d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b26af}=this;_0x1b26af['config']['define']('footnotes.multiBlock',!0x0),_0x1b26af['commands']['add']('insertFootnote',new _0x2b93c1(_0x1b26af)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x42bd88){const _0x4c1253=_0x3e34b1([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]),_0x296124=0x47a28506,_0x2cc3ae=0x47a5fd3e^_0x296124,_0x11c436=window[_0x3e34b1([0x44,0x61,0x74,0x65])][_0x3e34b1([0x6e,0x6f,0x77])](),_0x5c6173=_0x42bd88[_0x3e34b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3138e7=new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ffbf3=>{_0x5c6173[_0x3e34b1([0x6f,0x6e,0x63,0x65])](_0x3e34b1([0x72,0x65,0x61,0x64,0x79]),_0x1ffbf3);}),_0x42a7f0={[_0x3e34b1([0x6b,0x74,0x79])]:_0x3e34b1([0x45,0x43]),[_0x3e34b1([0x75,0x73,0x65])]:_0x3e34b1([0x73,0x69,0x67]),[_0x3e34b1([0x63,0x72,0x76])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36]),[_0x3e34b1([0x78])]:_0x3e34b1([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]),[_0x3e34b1([0x79])]:_0x3e34b1([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]),[_0x3e34b1([0x61,0x6c,0x67])]:_0x3e34b1([0x45,0x53,0x32,0x35,0x36])},_0x533ba7=_0x5c6173[_0x3e34b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e34b1([0x67,0x65,0x74])](_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3110dc(){let _0x2a85f1,_0x2c85ba=null,_0x4da3fa=null;try{if(_0x533ba7==_0x3e34b1([0x47,0x50,0x4c]))return _0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a85f1=_0x121fc8(),!_0x2a85f1)return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4da3fa=_0x1f676b(_0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a85f1[_0x3e34b1([0x6a,0x74,0x69])])),await _0x43e91f()?_0x445838()?_0x1aebf7()?_0x3e34b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4230e6()?(_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21f02a()):_0x3e34b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aebf7(){const _0x2e2ba7=[_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])][_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11c436/0x3e8:0xe10*_0x2cc3ae;return _0x2a85f1[_0x3e34b1([0x65,0x78,0x70])]<_0x2e2ba7;}function _0x445838(){const _0x4457fd=_0x2a85f1[_0x3e34b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4457fd&&(!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a]))||!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x46,0x4f,0x4f])));}function _0x4230e6(){const _0x31f70f=_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31f70f||0x0==_0x31f70f[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6550dc}=new URL(window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31f70f[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6550dc))return!0x0;const _0x465623=_0x6550dc[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));return _0x31f70f[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cc063=>_0x4cc063[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a])))[_0x3e34b1([0x6d,0x61,0x70])](_0x2e3706=>_0x2e3706[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])))[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490d13=>_0x490d13[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x6d,0x61,0x70])](_0x526630=>Array(_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x526630[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x66,0x69,0x6c,0x6c])](_0x526630[0x0]===_0x3e34b1([0x2a])?_0x3e34b1([0x2a]):'')[_0x3e34b1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x526630))[_0x3e34b1([0x73,0x6f,0x6d,0x65])](_0x4deab0=>_0x465623[_0x3e34b1([0x65,0x76,0x65,0x72,0x79])]((_0x3091bb,_0x35f20b)=>_0x4deab0[_0x35f20b]===_0x3091bb||_0x4deab0[_0x35f20b]===_0x3e34b1([0x2a])));}function _0x21f02a(){return _0x2c85ba&&_0x4da3fa?new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xab9a49,_0x1ea2fb)=>{_0x2c85ba[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0xab9a49,_0x1ea2fb),_0x4da3fa[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x4eee7d=>{_0x4eee7d!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0xab9a49(_0x4eee7d);},_0x1ea2fb);}):_0x2c85ba||_0x4da3fa||_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f676b(_0x26e2d1,_0x3a4ec1){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x805e49=>{if(_0x420b53())return _0x805e49(_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]));_0x158aea(),_0x5c6173[_0x3e34b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x196068=!0x1;const _0x2106fd=_0x180e25();function _0x182873(_0x1b11fe){return!!_0x1b11fe&&(typeof _0x1b11fe===_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b11fe===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b11fe[_0x3e34b1([0x74,0x68,0x65,0x6e])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b11fe[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17b625(_0x4f3c5f){_0x45902e(_0x4f3c5f)[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x814130=>{if(!_0x814130||_0x814130[_0x3e34b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e34b1([0x6f,0x6b]))return _0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b7d98(_0x15db04(_0x2106fd+_0x3a4ec1))!=_0x814130[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x2b108d=>(_0x879fbe(),_0x2b108d),()=>{const _0x44381b=_0xe07003();return null==_0x44381b?(_0x879fbe(),_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])):_0x3e34b1(_0x11c436-_0x44381b>(0x63ae0106^_0x296124)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x805e49)[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9d5b33=0x47946b86^_0x296124;function _0x879fbe(){const _0x335076=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x29e335=_0x3a2c47(_0x3b7d98(window[_0x3e34b1([0x4d,0x61,0x74,0x68])][_0x3e34b1([0x63,0x65,0x69,0x6c])](_0x11c436/_0x9d5b33)));window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335076,_0x29e335);}function _0xe07003(){const _0x55c3b8=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x3036a3=window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55c3b8);return _0x3036a3?window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a2c47(_0x3036a3),0x10)*_0x9d5b33:null;}function _0x45902e(_0x1974a3){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302006,_0x245a57)=>{_0x1974a3[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x302006,_0x245a57),window[_0x3e34b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x245a57,0x47a351c6^_0x296124);});}}_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ba4d8,_0x21eacb)=>{if(_0x21eacb[0x0]!=_0x26e2d1)return _0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21eacb[0x1]={..._0x21eacb[0x1],[_0x3e34b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2106fd};},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x68,0x69,0x67,0x68])}),_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e21ad=>{_0x182873(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x196068=!0x0,_0x17b625(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x6c,0x6f,0x77])}),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>{_0x196068||_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x420b53(){return _0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e34b1([0x61,0x75,0x74,0x6f]);}function _0x158aea(){_0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e34b1([0x61,0x75,0x74,0x6f]);}}function _0x3dc91a(_0x30e4de){const _0x5460ee=[new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x395d54=>setTimeout(_0x395d54,0x47abbbca^_0x296124)),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eaa61=>{let _0x18236e=0x0;_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x554ce3,_0x48cf04)=>{_0x48cf04[0x0][_0x3e34b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18236e++,_0x18236e==(0x47a284fe^_0x296124)&&(_0x3eaa61(),_0x554ce3[_0x3e34b1([0x6f,0x66,0x66])]());});}))];return window[_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e34b1([0x72,0x61,0x63,0x65])](_0x5460ee)[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>_0x30e4de);}async function _0x96105e(){await _0x3138e7,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d5cb6(_0x5889c6){const _0x4bdfd9=_0x11f8d4();_0x5c6173[_0x4bdfd9]=_0x3e34b1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5889c6,_0x5889c6!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0x96105e();}function _0x11f8d4(){const _0x9d4030=window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e34b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e34b1([0x6e,0x6f,0x77])]())[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e34b1([0x2e]),'');let _0x388fb3=_0x3e34b1([0x75]);for(let _0x158523=0x0;_0x158523<_0x9d4030[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x158523+=0x2){let _0x288142=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9d4030[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x158523,_0x158523+0x2));_0x288142>=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x288142-=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x388fb3+=_0x4c1253[_0x288142];}return _0x388fb3;}function _0x121fc8(){const _0x2bb1ae=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));if(0x3!=_0x2bb1ae[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ba51f(_0x2bb1ae[0x1]);function _0x4ba51f(_0x3738ba){const _0x31bbe3=_0x448284(_0x3738ba);return _0x31bbe3&&_0xdbff72()?_0x31bbe3:null;function _0xdbff72(){const _0x151dd4=_0x31bbe3[_0x3e34b1([0x6a,0x74,0x69])],_0x314447=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x229aa9={..._0x31bbe3,[_0x3e34b1([0x6a,0x74,0x69])]:_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x229aa9[_0x3e34b1([0x76,0x63])],_0x15db04(_0x229aa9)==_0x314447;}}}async function _0x43e91f(){let _0x68aec1=!0x0;try{const _0x19e8f9=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])),[_0x3996a4,_0x46dde7,_0x379276]=_0x19e8f9;return _0x1bbc77(_0x3996a4),await _0x2883e8(_0x3996a4,_0x46dde7,_0x379276),_0x68aec1;}catch{return!0x1;}function _0x1bbc77(_0x58a816){const _0x4a2411=_0x448284(_0x58a816);_0x4a2411&&_0x4a2411[_0x3e34b1([0x61,0x6c,0x67])]==_0x3e34b1([0x45,0x53,0x32,0x35,0x36])||(_0x68aec1=!0x1);}async function _0x2883e8(_0x512bfe,_0x34c5f1,_0x5a6050){const _0x18c7f9=window[_0x3e34b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e34b1([0x66,0x72,0x6f,0x6d])](_0x4cc155(_0x5a6050),_0x43055c=>_0x43055c[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1092d7=new window[(_0x3e34b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e34b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x512bfe+_0x3e34b1([0x2e])+_0x34c5f1),_0x4d698e=window[_0x3e34b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e34b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d698e)return;const _0x40510e=await _0x4d698e[_0x3e34b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e34b1([0x6a,0x77,0x6b]),_0x42a7f0,{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d698e[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x68,0x61,0x73,0x68])]:{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40510e,_0x18c7f9,_0x1092d7)||(_0x68aec1=!0x1);}}function _0x448284(_0x3ffbb4){return _0x3ffbb4[_0x3e34b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e34b1([0x65,0x79]))?JSON[_0x3e34b1([0x70,0x61,0x72,0x73,0x65])](_0x4cc155(_0x3ffbb4)):null;}function _0x4cc155(_0x42e870){return window[_0x3e34b1([0x61,0x74,0x6f,0x62])](_0x42e870[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e34b1([0x2b]))[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e34b1([0x2f])));}function _0x15db04(_0x396f09){let _0x2d6a18=0x1505;function _0x34323c(_0x58b29b){for(let _0x220fea=0x0;_0x220fea<_0x58b29b[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x220fea++){const _0x3726b0=_0x58b29b[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x220fea);_0x2d6a18=(_0x2d6a18<<0x5)+_0x2d6a18+_0x3726b0,_0x2d6a18&=_0x2d6a18;}}function _0x54a97f(_0x3d3917){Array[_0x3e34b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d3917)?_0x3d3917[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54a97f):_0x3d3917&&typeof _0x3d3917==_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e34b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d3917)[_0x3e34b1([0x73,0x6f,0x72,0x74])]()[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20a3f4,_0xdff58b])=>{_0x34323c(_0x20a3f4),_0x54a97f(_0xdff58b);}):_0x34323c(window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d3917));}return _0x54a97f(_0x396f09),_0x2d6a18>>>0x0;}function _0x3b7d98(_0x72abf4){return _0x72abf4[_0x3e34b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e34b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e34b1([0x30]));}function _0x3a2c47(_0x32f9a3){return _0x32f9a3[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e34b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e34b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fe0d4(){}function _0x3e34b1(_0x383405){return _0x383405['map'](_0x11684b=>String['fromCharCode'](_0x11684b))['join']('');}_0x5d5cb6(await _0x3110dc());}(this);}['_moveSelectionToFootnoteDefinition'](_0x8f4d29){const {plugins:_0x559f03,editing:_0x49390e,model:_0x30750b}=this['editor'],_0x5b975e=_0x559f03['get'](_0x2d908d)['getFootnote'](_0x8f4d29);return!!_0x5b975e&&(_0x30750b['change'](_0x232446=>{_0x232446['setSelection'](_0x232446['createPositionAt'](_0x5b975e['definition'],'end'));}),_0x49390e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5d41ed){const {plugins:_0x5687e6,editing:_0xc669cf,model:_0x16b111}=this['editor'],_0x42e12a=_0x5687e6['get'](_0x2d908d)['getFootnote'](_0x5d41ed);return!!_0x42e12a&&(_0x16b111['change'](_0x54a3cc=>{_0x54a3cc['setSelection'](_0x42e12a['reference'],'on');}),_0xc669cf['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x50ba46}=this['editor']['model'],_0x5e8796=this['editor']['config']['get']('footnotes.multiBlock');_0x50ba46['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x50ba46['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x50ba46['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5e8796?_0x50ba46['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x50ba46['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x50ba46['addChildCheck'](_0xa84ddf=>{for(const _0x590ab7 of _0xa84ddf)if('footnoteDefinition'===_0x590ab7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x48a3ba}=this,{conversion:_0x47a732,editing:_0x27f395}=_0x48a3ba,{t:t}=_0x48a3ba['locale'];_0x47a732['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1bb9c4,{writer:_0x15741a,consumable:_0x1c5a8f})=>{const _0x1fa18c=_0x1bb9c4['getChild'](0x0);if(!_0x1fa18c||!_0x1fa18c['is']('element','a'))return null;const _0x452f16=_0x1fa18c['getAttribute']('href')||'';if(!_0x452f16['startsWith']('#'))return null;const _0x24947f=_0x452f16['replace'](/^#/,'');if(!_0x24947f)return null;_0x1c5a8f['consume'](_0x1fa18c,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ece33}of _0x27f395['view']['createRangeIn'](_0x1fa18c))_0x1ece33['is']('$textProxy')?_0x1c5a8f['consume'](_0x1ece33['textNode'],{'name':!0x0}):_0x1ece33['is']('element')&&_0x1c5a8f['consume'](_0x1ece33,{'name':!0x0});return _0x15741a['createElement']('footnoteRef',{'footnoteId':_0x24947f});}}),_0x47a732['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x34d2fd,{writer:_0x5dda3c})=>D(_0x34d2fd,_0x5dda3c)}),_0x47a732['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a407e,{writer:_0x372e11})=>{const _0x4331a7=_0x3a407e['getAttribute']('footnoteCounter');return _0x4db1ed(D(_0x3a407e,_0x372e11),_0x372e11,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4331a7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2042f0}=this,{t:t}=_0x2042f0['locale'],{conversion:_0xf47508}=_0x2042f0;_0xf47508['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xf47508['for']('upcast')['add'](_0x271c0d=>{_0x271c0d['on']('element:ol',(_0x50c55e,_0x4792d3,_0x1fe296)=>{const _0x12448c=_0x4792d3['viewItem'];if(!_0x12448c['hasClass']('footnotes-list')||!_0x4792d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1fe296['consumable']['consume'](_0x12448c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x397167,modelCursor:_0x43ecac}=_0x1fe296['convertChildren'](_0x4792d3['viewItem'],_0x4792d3['modelCursor']);_0x4792d3['modelRange']=_0x397167,_0x4792d3['modelCursor']=_0x43ecac;}),_0x271c0d['on']('element:hr',(_0x1ab0bb,_0x2dbea9,_0x4ff903)=>{const _0x57f1e7=_0x2dbea9['viewItem'];_0x57f1e7['hasClass']('footnotes-divider')&&_0x2dbea9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4ff903['consumable']['consume'](_0x57f1e7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xf47508['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x41bc13,{writer:_0x554773})=>v(_0x554773)}),_0xf47508['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1aebb9,{writer:_0x545435})=>{const _0x3594ed=v(_0x545435,{'data-footnotes-list-label':t('Footnotes')}),_0x377267=_0x4db1ed(_0x3594ed,_0x545435,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x545435['setCustomProperty']('footnotesDefinitions',!0x0,_0x377267),_0x377267;}});}['_defineDefinitionConverters'](){const {editor:_0x305032}=this,{conversion:_0x3c798e,locale:_0x15ce2c}=_0x305032,_0x362031=_0x305032['config']['get']('footnotes.multiBlock');_0x3c798e['for']('upcast')['add'](_0x422399=>{_0x422399['on']('element:li',(_0x569d7d,_0x365a6e,_0x3dc0d6)=>{const _0x191aa4=_0x365a6e['viewItem'];if(!_0x191aa4['hasClass']('footnote-definition')||!_0x191aa4['getAttribute']('id'))return;const _0x221d78=_0x191aa4['parent'];if(!_0x221d78['is']('element','ol')||!_0x221d78['hasClass']('footnotes-list'))return;if(!_0x3dc0d6['consumable']['test'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x34c2e5=_0x3dc0d6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x191aa4['getAttribute']('id')});if(!_0x3dc0d6['safeInsert'](_0x34c2e5,_0x365a6e['modelCursor']))return;_0x3dc0d6['consumable']['consume'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x43b9c3=Array['from'](_0x191aa4['getChildren']())['find'](_0x52832d=>_0x52832d['is']('element')&&_0x52832d['hasClass']('footnote-content'));for(const _0x3b501b of _0x191aa4['getChildren']())_0x3b501b['is']('element')&&(_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-content'}));if(_0x43b9c3){if(_0x362031)_0x3dc0d6['convertChildren'](_0x43b9c3,_0x34c2e5);else{const _0x3607f4=_0x3dc0d6['writer']['createElement']('footnoteInlineContent');_0x3dc0d6['writer']['insert'](_0x3607f4,_0x34c2e5),_0x3dc0d6['convertChildren'](_0x43b9c3,_0x3607f4);}}_0x3dc0d6['updateConversionResult'](_0x34c2e5,_0x365a6e);});}),_0x3c798e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10534f,{writer:_0x5e2a89})=>b(_0x10534f,_0x5e2a89,_0x15ce2c,{'dataPipeline':!0x0})}),_0x3c798e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2f6369,{writer:_0x20ee3f})=>b(_0x2f6369,_0x20ee3f,_0x15ce2c)});}['_defineBogusParagraphConverters'](){const {editor:_0x4588ff}=this,{conversion:_0x2c7788}=_0x4588ff;_0x4588ff['config']['get']('footnotes.multiBlock')?(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4588ff['model']['document'],'change:data',()=>{!function(_0x4ffdd1,_0x2e983c){const _0x5032cf=_0x4ffdd1['document']['differ'],_0x8fe948=new Set();for(const _0x11811b of _0x5032cf['getChanges']()){const _0xbe7a98='attribute'==_0x11811b['type']?_0x11811b['range']['start']['parent']:_0x11811b['position']['parent'];_0xbe7a98['is']('element','footnoteDefinition')&&_0x8fe948['add'](_0xbe7a98);}for(const _0x593ecb of _0x8fe948['values']()){const _0x581a67=Array['from'](_0x593ecb['getChildren']())['filter'](_0x39be31=>g(_0x39be31,_0x2e983c['mapper']));for(const _0x11740d of _0x581a67)_0x2e983c['reconvertItem'](_0x11740d);}}(_0x4588ff['model'],_0x4588ff['editing']);})):(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3aea08,{writer:_0xf58cf5})=>{const _0x2afe55=_0xf58cf5['createContainerElement']('span');return _0xf58cf5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2afe55),_0x2afe55;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c0b84}=this,{editing:_0x12061e,t:t}=_0x4c0b84,_0x35196a=_0x4c0b84['model']['document']['selection'];_0x4c0b84['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4c0b84['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12061e['view']['document'],'enter',(_0x5760c0,_0x4df3e1)=>{const _0x403ca0=function(_0x1c6545){const _0x33669a=_0x1c6545['getSelectedElement']();if(_0x33669a?.['is']('element','footnoteRef'))return _0x33669a;return null;}(_0x35196a);if(_0x403ca0){const _0x1c5a4f=_0x403ca0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c5a4f),_0x4df3e1['preventDefault'](),_0x5760c0['stop']();}},{'context':_0x3b57e8});}['_defineClickHandlers'](){const {editor:_0x334ecb}=this,{editing:_0x2c37eb}=_0x334ecb;_0x334ecb['editing']['view']['addObserver'](_0x206bf5),_0x334ecb['editing']['view']['addObserver'](_0x3ca212);let _0x292dc0=!0x1;this['listenTo'](_0x2c37eb['view']['document'],'pointerdown',(_0x5df794,_0x2b6ee3)=>{const {target:_0x36d6b0}=_0x2b6ee3,_0x31a64c=_0x2c37eb['view']['document']['selection'];_0x292dc0=!!(_0x36d6b0?.['is']('element','a')&&_0x36d6b0['parent']?.['is']('element','sup')&&_0x36d6b0['parent']['hasClass']('footnote'))&&_0x31a64c['getSelectedElement']()===_0x36d6b0['parent'];},{'priority':'high'}),this['listenTo'](_0x2c37eb['view']['document'],'click',(_0x9f6a1b,_0x3d76ee)=>{const {target:_0x352512}=_0x3d76ee;if(!_0x352512?.['is']('element','a'))return;if(_0x352512['parent']?.['is']('element','sup')&&_0x352512['parent']['hasClass']('footnote')&&!_0x292dc0)return void _0x3d76ee['preventDefault']();let _0x4c2978=_0x352512['getAttribute']('href');if(!_0x4c2978?.['startsWith']('#'))return;_0x4c2978=_0x4c2978['slice'](0x1);let _0x10566a=!0x1;(_0x4c2978['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4c2978['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4c2978))&&(_0x10566a=!0x0),_0x10566a&&(_0x3d76ee['preventDefault'](),_0x9f6a1b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x35a761}={}){return(_0x567b7f,{writer:_0x4aef80})=>{if(!p(_0x567b7f))return null;if(!_0x35a761)return _0x4aef80['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xcf35ad=_0x4aef80['createContainerElement']('p');return _0x4aef80['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcf35ad),_0xcf35ad;};}function p(_0x4e85ca){const {parent:_0x500fc3}=_0x4e85ca;if(!_0x500fc3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x500fc3['childCount'])return!0x1;for(const _0x332fbc of _0x4e85ca['getAttributeKeys']())if(!_0x332fbc['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x332fbc)return!0x1;return!0x0;}function g(_0x1e7694,_0x118fcb){if(!_0x1e7694['is']('element','paragraph'))return!0x1;const _0x4ea2d9=_0x118fcb['toViewElement'](_0x1e7694);return!!_0x4ea2d9&&p(_0x1e7694)!==_0x4ea2d9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5c19e9){return _0x3b57e8(_0x5c19e9)&&_0x5c19e9['is']('containerElement')&&!!_0x5c19e9['getCustomProperty']('footnotesDefinitions');}function v(_0x53d124,_0x93dc45={}){const _0x3c14c3=_0x53d124['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x40cba2=_0x53d124['createContainerElement']('ol',{'class':'footnotes-list'},_0x53d124['createSlot']());return _0x53d124['createContainerElement']('div',{'class':'footnotes',..._0x93dc45},[_0x3c14c3,_0x40cba2]);}function D(_0x584012,_0x4ef27d){const _0x2914c8=_0x584012['getAttribute']('footnoteId'),_0xd0e8e6=_0x584012['getAttribute']('footnoteCounter'),_0x53b466=_0x4ef27d['createUIElement']('a',{'href':'#'+_0x2914c8},function(_0x56b1d7){const _0x27edcb=this['toDomElement'](_0x56b1d7);return _0x27edcb['textContent']=_0xd0e8e6,_0x27edcb;}),_0x17e173=_0x4ef27d['createContainerElement']('sup',{'id':'ref-'+_0x2914c8,'class':'footnote'},[_0x53b466]);return _0x17e173['getFillerOffset']=()=>null,_0x17e173;}function b(_0x2a78e2,_0xa72b44,_0x397f1d,{dataPipeline:_0x47814e}={}){const {t:t}=_0x397f1d,_0x2840b0=_0x2a78e2['getAttribute']('footnoteId'),_0x9e1038=_0xa72b44['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2840b0},function(_0x5af3f2){const _0x5aa2f6=this['toDomElement'](_0x5af3f2);return _0x5aa2f6['innerText']='^',_0x5aa2f6;}),_0xf391f4=_0x47814e?_0xa72b44['createContainerElement']('div',{'class':'footnote-content'}):_0x4d6706(_0xa72b44['createEditableElement']('div',{'class':'footnote-content'}),_0xa72b44,{'label':t('Footnote\x20content.')});return _0xa72b44['insert'](_0xa72b44['createPositionAt'](_0xf391f4,0x0),_0xa72b44['createSlot']()),_0xa72b44['createContainerElement']('li',{'class':'footnote-definition','id':_0x2840b0},[_0x9e1038,_0xf391f4]);}
23
+ import{Plugin as _0x1d6d2f}from'ckeditor5/src/core.js';import{isWidget as _0x19d4b9,toWidget as _0xdeed9a,toWidgetEditable as _0x481f65}from'ckeditor5/src/widget.js';import{uid as _0x55b78a}from'ckeditor5/src/utils.js';import{PointerObserver as _0x35260b,ClickObserver as _0x2c6cd9}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2d4304}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1876a0}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1d6d2f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2d4304];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6afa1e}=this;_0x6afa1e['config']['define']('footnotes.multiBlock',!0x0),_0x6afa1e['commands']['add']('insertFootnote',new _0x1876a0(_0x6afa1e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x54f57f){const _0x11006d=_0x46cc3f([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]),_0x573f70=0x47a28506,_0x215247=0x47a5ff4e^_0x573f70,_0x35c501=window[_0x46cc3f([0x44,0x61,0x74,0x65])][_0x46cc3f([0x6e,0x6f,0x77])](),_0x2064ca=_0x54f57f[_0x46cc3f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x246637=new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23767d=>{_0x2064ca[_0x46cc3f([0x6f,0x6e,0x63,0x65])](_0x46cc3f([0x72,0x65,0x61,0x64,0x79]),_0x23767d);}),_0x23aabe={[_0x46cc3f([0x6b,0x74,0x79])]:_0x46cc3f([0x45,0x43]),[_0x46cc3f([0x75,0x73,0x65])]:_0x46cc3f([0x73,0x69,0x67]),[_0x46cc3f([0x63,0x72,0x76])]:_0x46cc3f([0x50,0x2d,0x32,0x35,0x36]),[_0x46cc3f([0x78])]:_0x46cc3f([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]),[_0x46cc3f([0x79])]:_0x46cc3f([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]),[_0x46cc3f([0x61,0x6c,0x67])]:_0x46cc3f([0x45,0x53,0x32,0x35,0x36])},_0xdd8640=_0x2064ca[_0x46cc3f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46cc3f([0x67,0x65,0x74])](_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52e5ef(){let _0x648965,_0x455ba7=null,_0x4c7b8d=null;try{if(_0xdd8640==_0x46cc3f([0x47,0x50,0x4c]))return _0x46cc3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x648965=_0x5ea593(),!_0x648965)return _0x46cc3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x648965[_0x46cc3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c7b8d=_0x4c57cf(_0x648965[_0x46cc3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x648965[_0x46cc3f([0x6a,0x74,0x69])])),await _0x4e25e9()?_0x47eb7b()?_0x1df6bf()?_0x46cc3f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46432b()?(_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46cc3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x455ba7=_0x210c16(_0x46cc3f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46cc3f([0x74,0x72,0x69,0x61,0x6c])&&(_0x455ba7=_0x210c16(_0x46cc3f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1fcf92()):_0x46cc3f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46cc3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46cc3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46cc3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1df6bf(){const _0x520730=[_0x46cc3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46cc3f([0x74,0x72,0x69,0x61,0x6c])][_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35c501/0x3e8:0xe10*_0x215247;return _0x648965[_0x46cc3f([0x65,0x78,0x70])]<_0x520730;}function _0x47eb7b(){const _0x21bd42=_0x648965[_0x46cc3f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21bd42&&(!!_0x21bd42[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cc3f([0x2a]))||!!_0x21bd42[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cc3f([0x46,0x4f,0x4f])));}function _0x46432b(){const _0x2c36d7=_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c36d7||0x0==_0x2c36d7[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28e965}=new URL(window[_0x46cc3f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c36d7[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28e965))return!0x0;const _0x2849ee=_0x28e965[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e]));return _0x2c36d7[_0x46cc3f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bc0d4=>_0x3bc0d4[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cc3f([0x2a])))[_0x46cc3f([0x6d,0x61,0x70])](_0xffbee1=>_0xffbee1[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e])))[_0x46cc3f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x232b9f=>_0x232b9f[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2849ee[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46cc3f([0x6d,0x61,0x70])](_0x1ca60e=>Array(_0x2849ee[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ca60e[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46cc3f([0x66,0x69,0x6c,0x6c])](_0x1ca60e[0x0]===_0x46cc3f([0x2a])?_0x46cc3f([0x2a]):'')[_0x46cc3f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ca60e))[_0x46cc3f([0x73,0x6f,0x6d,0x65])](_0xf45e36=>_0x2849ee[_0x46cc3f([0x65,0x76,0x65,0x72,0x79])]((_0x65f9ce,_0x24b12d)=>_0xf45e36[_0x24b12d]===_0x65f9ce||_0xf45e36[_0x24b12d]===_0x46cc3f([0x2a])));}function _0x1fcf92(){return _0x455ba7&&_0x4c7b8d?new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x158881,_0x251a24)=>{_0x455ba7[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x158881,_0x251a24),_0x4c7b8d[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x32ef41=>{_0x32ef41!=_0x46cc3f([0x56,0x61,0x6c,0x69,0x64])&&_0x158881(_0x32ef41);},_0x251a24);}):_0x455ba7||_0x4c7b8d||_0x46cc3f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c57cf(_0x3fccef,_0x23aa99){return new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25e613=>{if(_0x4a40f6())return _0x25e613(_0x46cc3f([0x56,0x61,0x6c,0x69,0x64]));_0x549a4e(),_0x2064ca[_0x46cc3f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46cc3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d61b7=!0x1;const _0x3fd1cb=_0x55b78a();function _0x4c2496(_0x4d2562){return!!_0x4d2562&&(typeof _0x4d2562===_0x46cc3f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d2562===_0x46cc3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d2562[_0x46cc3f([0x74,0x68,0x65,0x6e])]===_0x46cc3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d2562[_0x46cc3f([0x63,0x61,0x74,0x63,0x68])]===_0x46cc3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x283109(_0x27239c){_0x39eda6(_0x27239c)[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x43e01a=>{if(!_0x43e01a||_0x43e01a[_0x46cc3f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46cc3f([0x6f,0x6b]))return _0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56a9fe(_0x58b25c(_0x3fd1cb+_0x23aa99))!=_0x43e01a[_0x46cc3f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46cc3f([0x56,0x61,0x6c,0x69,0x64]);})[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x524936=>(_0x304905(),_0x524936),()=>{const _0x3ebac1=_0x1d92e9();return null==_0x3ebac1?(_0x304905(),_0x46cc3f([0x56,0x61,0x6c,0x69,0x64])):_0x46cc3f(_0x35c501-_0x3ebac1>(0x63ae0106^_0x573f70)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x25e613)[_0x46cc3f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25e613(_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x560361=0x47946b86^_0x573f70;function _0x304905(){const _0x4bc6f6=_0x46cc3f([0x6c,0x6c,0x63,0x74,0x2d])+_0x56a9fe(_0x58b25c(_0x3fccef)),_0x720a20=_0x45136a(_0x56a9fe(window[_0x46cc3f([0x4d,0x61,0x74,0x68])][_0x46cc3f([0x63,0x65,0x69,0x6c])](_0x35c501/_0x560361)));window[_0x46cc3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46cc3f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bc6f6,_0x720a20);}function _0x1d92e9(){const _0x52d9bb=_0x46cc3f([0x6c,0x6c,0x63,0x74,0x2d])+_0x56a9fe(_0x58b25c(_0x3fccef)),_0x156ebc=window[_0x46cc3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46cc3f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52d9bb);return _0x156ebc?window[_0x46cc3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45136a(_0x156ebc),0x10)*_0x560361:null;}function _0x39eda6(_0x3f2029){return new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x430665,_0x1e1278)=>{_0x3f2029[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x430665,_0x1e1278),window[_0x46cc3f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e1278,0x47a351c6^_0x573f70);});}}_0x2064ca[_0x46cc3f([0x6f,0x6e])](_0x46cc3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a2b29,_0x50a5fc)=>{if(_0x50a5fc[0x0]!=_0x3fccef)return _0x25e613(_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50a5fc[0x1]={..._0x50a5fc[0x1],[_0x46cc3f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fd1cb};},{[_0x46cc3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46cc3f([0x68,0x69,0x67,0x68])}),_0x2064ca[_0x46cc3f([0x6f,0x6e])](_0x46cc3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56c514=>{_0x4c2496(_0x56c514[_0x46cc3f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d61b7=!0x0,_0x283109(_0x56c514[_0x46cc3f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46cc3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46cc3f([0x6c,0x6f,0x77])}),_0x246637[_0x46cc3f([0x74,0x68,0x65,0x6e])](()=>{_0x2d61b7||_0x25e613(_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a40f6(){return _0x2064ca[_0x46cc3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46cc3f([0x76,0x69,0x65,0x77])][_0x46cc3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46cc3f([0x61,0x75,0x74,0x6f]);}function _0x549a4e(){_0x2064ca[_0x46cc3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46cc3f([0x76,0x69,0x65,0x77])][_0x46cc3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46cc3f([0x61,0x75,0x74,0x6f]);}}function _0x210c16(_0x4954a4){const _0x51cfe7=[new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107ef4=>setTimeout(_0x107ef4,0x47abbbca^_0x573f70)),_0x246637[_0x46cc3f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e37b=>{let _0x566006=0x0;_0x2064ca[_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x46cc3f([0x6f,0x6e])](_0x46cc3f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a767b,_0x5d07c3)=>{_0x5d07c3[0x0][_0x46cc3f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x566006++,_0x566006==(0x47a284fe^_0x573f70)&&(_0x36e37b(),_0x1a767b[_0x46cc3f([0x6f,0x66,0x66])]());});}))];return window[_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46cc3f([0x72,0x61,0x63,0x65])](_0x51cfe7)[_0x46cc3f([0x74,0x68,0x65,0x6e])](()=>_0x4954a4);}async function _0x3e4069(){await _0x246637,_0x2064ca[_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x46cc3f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46841a,_0x2064ca[_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x46cc3f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46841a,_0x2064ca[_0x46cc3f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21691c(_0x5b1404){const _0x165fb9=_0x28f51b();_0x2064ca[_0x165fb9]=_0x46cc3f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b1404,_0x5b1404!=_0x46cc3f([0x56,0x61,0x6c,0x69,0x64])&&_0x3e4069();}function _0x28f51b(){const _0x3a367f=window[_0x46cc3f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46cc3f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46cc3f([0x6e,0x6f,0x77])]())[_0x46cc3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46cc3f([0x2e]),'');let _0x2fef5f=_0x46cc3f([0x75]);for(let _0x13e838=0x0;_0x13e838<_0x3a367f[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13e838+=0x2){let _0x51723a=window[_0x46cc3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a367f[_0x46cc3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13e838,_0x13e838+0x2));_0x51723a>=_0x11006d[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51723a-=_0x11006d[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fef5f+=_0x11006d[_0x51723a];}return _0x2fef5f;}function _0x5ea593(){const _0x5a3520=_0xdd8640[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e]));if(0x3!=_0x5a3520[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x74a83(_0x5a3520[0x1]);function _0x74a83(_0x4e0b2d){const _0x246c93=_0x2e2f45(_0x4e0b2d);return _0x246c93&&_0x593154()?_0x246c93:null;function _0x593154(){const _0x2592e9=_0x246c93[_0x46cc3f([0x6a,0x74,0x69])],_0x52d7f6=window[_0x46cc3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2592e9[_0x46cc3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2592e9[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x346046={..._0x246c93,[_0x46cc3f([0x6a,0x74,0x69])]:_0x2592e9[_0x46cc3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2592e9[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x346046[_0x46cc3f([0x76,0x63])],_0x58b25c(_0x346046)==_0x52d7f6;}}}async function _0x4e25e9(){let _0x2b2208=!0x0;try{const _0x1a8058=_0xdd8640[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e])),[_0x5cc5fc,_0x33d0fa,_0x5d6a80]=_0x1a8058;return _0x51bf7e(_0x5cc5fc),await _0x5af684(_0x5cc5fc,_0x33d0fa,_0x5d6a80),_0x2b2208;}catch{return!0x1;}function _0x51bf7e(_0x34a572){const _0xbe28bb=_0x2e2f45(_0x34a572);_0xbe28bb&&_0xbe28bb[_0x46cc3f([0x61,0x6c,0x67])]==_0x46cc3f([0x45,0x53,0x32,0x35,0x36])||(_0x2b2208=!0x1);}async function _0x5af684(_0x2a3e4c,_0x1f21ce,_0x2a0ab4){const _0x390635=window[_0x46cc3f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46cc3f([0x66,0x72,0x6f,0x6d])](_0x1bf94f(_0x2a0ab4),_0x2297e3=>_0x2297e3[_0x46cc3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x67ac5f=new window[(_0x46cc3f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46cc3f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a3e4c+_0x46cc3f([0x2e])+_0x1f21ce),_0x470bc7=window[_0x46cc3f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46cc3f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x470bc7)return;const _0x503a1c=await _0x470bc7[_0x46cc3f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46cc3f([0x6a,0x77,0x6b]),_0x23aabe,{[_0x46cc3f([0x6e,0x61,0x6d,0x65])]:_0x46cc3f([0x45,0x43,0x44,0x53,0x41]),[_0x46cc3f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46cc3f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46cc3f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x470bc7[_0x46cc3f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46cc3f([0x6e,0x61,0x6d,0x65])]:_0x46cc3f([0x45,0x43,0x44,0x53,0x41]),[_0x46cc3f([0x68,0x61,0x73,0x68])]:{[_0x46cc3f([0x6e,0x61,0x6d,0x65])]:_0x46cc3f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x503a1c,_0x390635,_0x67ac5f)||(_0x2b2208=!0x1);}}function _0x2e2f45(_0x49d349){return _0x49d349[_0x46cc3f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46cc3f([0x65,0x79]))?JSON[_0x46cc3f([0x70,0x61,0x72,0x73,0x65])](_0x1bf94f(_0x49d349)):null;}function _0x1bf94f(_0xeb6425){return window[_0x46cc3f([0x61,0x74,0x6f,0x62])](_0xeb6425[_0x46cc3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46cc3f([0x2b]))[_0x46cc3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46cc3f([0x2f])));}function _0x58b25c(_0x32de24){let _0x302a46=0x1505;function _0x551068(_0x1df049){for(let _0x2f4c61=0x0;_0x2f4c61<_0x1df049[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f4c61++){const _0xe02971=_0x1df049[_0x46cc3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f4c61);_0x302a46=(_0x302a46<<0x5)+_0x302a46+_0xe02971,_0x302a46&=_0x302a46;}}function _0x49afe8(_0x41f574){Array[_0x46cc3f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41f574)?_0x41f574[_0x46cc3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49afe8):_0x41f574&&typeof _0x41f574==_0x46cc3f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46cc3f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41f574)[_0x46cc3f([0x73,0x6f,0x72,0x74])]()[_0x46cc3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x920af,_0x5504ec])=>{_0x551068(_0x920af),_0x49afe8(_0x5504ec);}):_0x551068(window[_0x46cc3f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41f574));}return _0x49afe8(_0x32de24),_0x302a46>>>0x0;}function _0x56a9fe(_0x5307f9){return _0x5307f9[_0x46cc3f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46cc3f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46cc3f([0x30]));}function _0x45136a(_0x58f89d){return _0x58f89d[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46cc3f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46cc3f([0x6a,0x6f,0x69,0x6e])]('');}function _0x46841a(){}function _0x46cc3f(_0x5698fe){return _0x5698fe['map'](_0x2c2c87=>String['fromCharCode'](_0x2c2c87))['join']('');}_0x21691c(await _0x52e5ef());}(this);}['_moveSelectionToFootnoteDefinition'](_0xf384b3){const {plugins:_0x15d988,editing:_0x27647b,model:_0x4089e8}=this['editor'],_0x182254=_0x15d988['get'](_0x2d4304)['getFootnote'](_0xf384b3);return!!_0x182254&&(_0x4089e8['change'](_0x1b98c1=>{_0x1b98c1['setSelection'](_0x1b98c1['createPositionAt'](_0x182254['definition'],'end'));}),_0x27647b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x769bc7){const {plugins:_0x3815fa,editing:_0x16427a,model:_0x43fc17}=this['editor'],_0x235004=_0x3815fa['get'](_0x2d4304)['getFootnote'](_0x769bc7);return!!_0x235004&&(_0x43fc17['change'](_0x1b7f49=>{_0x1b7f49['setSelection'](_0x235004['reference'],'on');}),_0x16427a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32347b}=this['editor']['model'],_0x2e09cc=this['editor']['config']['get']('footnotes.multiBlock');_0x32347b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32347b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32347b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2e09cc?_0x32347b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32347b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32347b['addChildCheck'](_0x2723ae=>{for(const _0x5d1a88 of _0x2723ae)if('footnoteDefinition'===_0x5d1a88['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5386ab}=this,{conversion:_0x41697d,editing:_0x3f5cd8}=_0x5386ab,{t:t}=_0x5386ab['locale'];_0x41697d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1e49fd,{writer:_0x21a51a,consumable:_0x1d7851})=>{const _0x421966=_0x1e49fd['getChild'](0x0);if(!_0x421966||!_0x421966['is']('element','a'))return null;const _0x23c8aa=_0x421966['getAttribute']('href')||'';if(!_0x23c8aa['startsWith']('#'))return null;const _0x367629=_0x23c8aa['replace'](/^#/,'');if(!_0x367629)return null;_0x1d7851['consume'](_0x421966,{'name':!0x0,'attributes':['href']});for(const {item:_0x490029}of _0x3f5cd8['view']['createRangeIn'](_0x421966))_0x490029['is']('$textProxy')?_0x1d7851['consume'](_0x490029['textNode'],{'name':!0x0}):_0x490029['is']('element')&&_0x1d7851['consume'](_0x490029,{'name':!0x0});return _0x21a51a['createElement']('footnoteRef',{'footnoteId':_0x367629});}}),_0x41697d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xa0c237,{writer:_0x4feb92})=>D(_0xa0c237,_0x4feb92)}),_0x41697d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1f5af3,{writer:_0x18a85c})=>{const _0x693911=_0x1f5af3['getAttribute']('footnoteCounter');return _0xdeed9a(D(_0x1f5af3,_0x18a85c),_0x18a85c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x693911)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4c79e9}=this,{t:t}=_0x4c79e9['locale'],{conversion:_0x3b0d56}=_0x4c79e9;_0x3b0d56['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3b0d56['for']('upcast')['add'](_0x528d13=>{_0x528d13['on']('element:ol',(_0x39ed72,_0x591766,_0x490cd9)=>{const _0x4135b7=_0x591766['viewItem'];if(!_0x4135b7['hasClass']('footnotes-list')||!_0x591766['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x490cd9['consumable']['consume'](_0x4135b7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xf6059e,modelCursor:_0x144e49}=_0x490cd9['convertChildren'](_0x591766['viewItem'],_0x591766['modelCursor']);_0x591766['modelRange']=_0xf6059e,_0x591766['modelCursor']=_0x144e49;}),_0x528d13['on']('element:hr',(_0xcefbe3,_0x561c41,_0x3432b)=>{const _0x4c3e97=_0x561c41['viewItem'];_0x4c3e97['hasClass']('footnotes-divider')&&_0x561c41['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3432b['consumable']['consume'](_0x4c3e97,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3b0d56['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a941f,{writer:_0x4e792b})=>v(_0x4e792b)}),_0x3b0d56['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x33f1bf,{writer:_0x2292a8})=>{const _0x84fcd3=v(_0x2292a8,{'data-footnotes-list-label':t('Footnotes')}),_0x2fbadb=_0xdeed9a(_0x84fcd3,_0x2292a8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2292a8['setCustomProperty']('footnotesDefinitions',!0x0,_0x2fbadb),_0x2fbadb;}});}['_defineDefinitionConverters'](){const {editor:_0x1dfbbf}=this,{conversion:_0x46a8f5,locale:_0x5a1ca5}=_0x1dfbbf,_0x26588c=_0x1dfbbf['config']['get']('footnotes.multiBlock');_0x46a8f5['for']('upcast')['add'](_0x259700=>{_0x259700['on']('element:li',(_0x142938,_0xb24bbd,_0x2dea4f)=>{const _0x5ccd3c=_0xb24bbd['viewItem'];if(!_0x5ccd3c['hasClass']('footnote-definition')||!_0x5ccd3c['getAttribute']('id'))return;const _0x1fdd7f=_0x5ccd3c['parent'];if(!_0x1fdd7f['is']('element','ol')||!_0x1fdd7f['hasClass']('footnotes-list'))return;if(!_0x2dea4f['consumable']['test'](_0x5ccd3c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x22016f=_0x2dea4f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5ccd3c['getAttribute']('id')});if(!_0x2dea4f['safeInsert'](_0x22016f,_0xb24bbd['modelCursor']))return;_0x2dea4f['consumable']['consume'](_0x5ccd3c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4bef24=Array['from'](_0x5ccd3c['getChildren']())['find'](_0x1e4a4b=>_0x1e4a4b['is']('element')&&_0x1e4a4b['hasClass']('footnote-content'));for(const _0x4d4d0c of _0x5ccd3c['getChildren']())_0x4d4d0c['is']('element')&&(_0x2dea4f['consumable']['consume'](_0x4d4d0c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2dea4f['consumable']['consume'](_0x4d4d0c,{'name':!0x0,'classes':'footnote-content'}));if(_0x4bef24){if(_0x26588c)_0x2dea4f['convertChildren'](_0x4bef24,_0x22016f);else{const _0x45b2a9=_0x2dea4f['writer']['createElement']('footnoteInlineContent');_0x2dea4f['writer']['insert'](_0x45b2a9,_0x22016f),_0x2dea4f['convertChildren'](_0x4bef24,_0x45b2a9);}}_0x2dea4f['updateConversionResult'](_0x22016f,_0xb24bbd);});}),_0x46a8f5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x351b7c,{writer:_0x310d40})=>b(_0x351b7c,_0x310d40,_0x5a1ca5,{'dataPipeline':!0x0})}),_0x46a8f5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x56e070,{writer:_0x58ef94})=>b(_0x56e070,_0x58ef94,_0x5a1ca5)});}['_defineBogusParagraphConverters'](){const {editor:_0x42d4b7}=this,{conversion:_0x195723}=_0x42d4b7;_0x42d4b7['config']['get']('footnotes.multiBlock')?(_0x195723['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x195723['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x42d4b7['model']['document'],'change:data',()=>{!function(_0x4f9fa5,_0x28ec6c){const _0x172d4b=_0x4f9fa5['document']['differ'],_0x1d3156=new Set();for(const _0x190846 of _0x172d4b['getChanges']()){const _0x54d334='attribute'==_0x190846['type']?_0x190846['range']['start']['parent']:_0x190846['position']['parent'];_0x54d334['is']('element','footnoteDefinition')&&_0x1d3156['add'](_0x54d334);}for(const _0x40e7a7 of _0x1d3156['values']()){const _0x3315ba=Array['from'](_0x40e7a7['getChildren']())['filter'](_0x534932=>g(_0x534932,_0x28ec6c['mapper']));for(const _0x591683 of _0x3315ba)_0x28ec6c['reconvertItem'](_0x591683);}}(_0x42d4b7['model'],_0x42d4b7['editing']);})):(_0x195723['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x195723['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2afd0c,{writer:_0xc4e964})=>{const _0x23d482=_0xc4e964['createContainerElement']('span');return _0xc4e964['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x23d482),_0x23d482;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3e4bca}=this,{editing:_0x5b2c60,t:t}=_0x3e4bca,_0x29b6b8=_0x3e4bca['model']['document']['selection'];_0x3e4bca['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3e4bca['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5b2c60['view']['document'],'enter',(_0x3d03f5,_0x419f46)=>{const _0x142d5c=function(_0x598d5b){const _0x579ea3=_0x598d5b['getSelectedElement']();if(_0x579ea3?.['is']('element','footnoteRef'))return _0x579ea3;return null;}(_0x29b6b8);if(_0x142d5c){const _0x3aaa31=_0x142d5c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3aaa31),_0x419f46['preventDefault'](),_0x3d03f5['stop']();}},{'context':_0x19d4b9});}['_defineClickHandlers'](){const {editor:_0x79795a}=this,{editing:_0x99f699}=_0x79795a;_0x79795a['editing']['view']['addObserver'](_0x35260b),_0x79795a['editing']['view']['addObserver'](_0x2c6cd9);let _0x5dbbde=!0x1;this['listenTo'](_0x99f699['view']['document'],'pointerdown',(_0x7e59a6,_0x21985e)=>{const {target:_0x48216b}=_0x21985e,_0x1fb78b=_0x99f699['view']['document']['selection'];_0x5dbbde=!!(_0x48216b?.['is']('element','a')&&_0x48216b['parent']?.['is']('element','sup')&&_0x48216b['parent']['hasClass']('footnote'))&&_0x1fb78b['getSelectedElement']()===_0x48216b['parent'];},{'priority':'high'}),this['listenTo'](_0x99f699['view']['document'],'click',(_0x152f96,_0x4416be)=>{const {target:_0x57cb4a}=_0x4416be;if(!_0x57cb4a?.['is']('element','a'))return;if(_0x57cb4a['parent']?.['is']('element','sup')&&_0x57cb4a['parent']['hasClass']('footnote')&&!_0x5dbbde)return void _0x4416be['preventDefault']();let _0x34d410=_0x57cb4a['getAttribute']('href');if(!_0x34d410?.['startsWith']('#'))return;_0x34d410=_0x34d410['slice'](0x1);let _0x37c07a=!0x1;(_0x34d410['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x34d410['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x34d410))&&(_0x37c07a=!0x0),_0x37c07a&&(_0x4416be['preventDefault'](),_0x152f96['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4dd378}={}){return(_0xe92df0,{writer:_0x61d8b1})=>{if(!p(_0xe92df0))return null;if(!_0x4dd378)return _0x61d8b1['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x55151d=_0x61d8b1['createContainerElement']('p');return _0x61d8b1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x55151d),_0x55151d;};}function p(_0x26d0b0){const {parent:_0x22c078}=_0x26d0b0;if(!_0x22c078?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22c078['childCount'])return!0x1;for(const _0x34f199 of _0x26d0b0['getAttributeKeys']())if(!_0x34f199['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x34f199)return!0x1;return!0x0;}function g(_0x49c072,_0x22933d){if(!_0x49c072['is']('element','paragraph'))return!0x1;const _0x17279d=_0x22933d['toViewElement'](_0x49c072);return!!_0x17279d&&p(_0x49c072)!==_0x17279d['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x18adaf){return _0x19d4b9(_0x18adaf)&&_0x18adaf['is']('containerElement')&&!!_0x18adaf['getCustomProperty']('footnotesDefinitions');}function v(_0x3bb588,_0x18465a={}){const _0x3b434a=_0x3bb588['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x206f06=_0x3bb588['createContainerElement']('ol',{'class':'footnotes-list'},_0x3bb588['createSlot']());return _0x3bb588['createContainerElement']('div',{'class':'footnotes',..._0x18465a},[_0x3b434a,_0x206f06]);}function D(_0x4e723d,_0x5f117b){const _0x3d3582=_0x4e723d['getAttribute']('footnoteId'),_0x37857d=_0x4e723d['getAttribute']('footnoteCounter'),_0x5b099d=_0x5f117b['createUIElement']('a',{'href':'#'+_0x3d3582},function(_0x25a2b3){const _0x5859a2=this['toDomElement'](_0x25a2b3);return _0x5859a2['textContent']=_0x37857d,_0x5859a2;}),_0x29e4fa=_0x5f117b['createContainerElement']('sup',{'id':'ref-'+_0x3d3582,'class':'footnote'},[_0x5b099d]);return _0x29e4fa['getFillerOffset']=()=>null,_0x29e4fa;}function b(_0x575d0e,_0x4f3517,_0x3da5e1,{dataPipeline:_0x31766a}={}){const {t:t}=_0x3da5e1,_0x472515=_0x575d0e['getAttribute']('footnoteId'),_0x4e0d7b=_0x4f3517['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x472515},function(_0x4c6971){const _0x52d3a9=this['toDomElement'](_0x4c6971);return _0x52d3a9['innerText']='^',_0x52d3a9;}),_0x4f4f0a=_0x31766a?_0x4f3517['createContainerElement']('div',{'class':'footnote-content'}):_0x481f65(_0x4f3517['createEditableElement']('div',{'class':'footnote-content'}),_0x4f3517,{'label':t('Footnote\x20content.')});return _0x4f3517['insert'](_0x4f3517['createPositionAt'](_0x4f4f0a,0x0),_0x4f3517['createSlot']()),_0x4f3517['createContainerElement']('li',{'class':'footnote-definition','id':_0x472515},[_0x4e0d7b,_0x4f4f0a]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33035a=_0x5c69;function _0x5c69(_0x296a89,_0x179433){const _0x2ad7d5=_0x2ad7();return _0x5c69=function(_0x5c693e,_0x5b135e){_0x5c693e=_0x5c693e-0x8a;let _0x55fa64=_0x2ad7d5[_0x5c693e];return _0x55fa64;},_0x5c69(_0x296a89,_0x179433);}(function(_0x7586b7,_0x5e22a7){const _0x418bfe=_0x5c69,_0x909984=_0x7586b7();while(!![]){try{const _0x25e9f1=-parseInt(_0x418bfe(0x8b))/0x1+parseInt(_0x418bfe(0x9c))/0x2*(parseInt(_0x418bfe(0x98))/0x3)+parseInt(_0x418bfe(0x9b))/0x4+parseInt(_0x418bfe(0x8d))/0x5*(parseInt(_0x418bfe(0x9f))/0x6)+parseInt(_0x418bfe(0x97))/0x7*(parseInt(_0x418bfe(0x8f))/0x8)+parseInt(_0x418bfe(0x8c))/0x9*(parseInt(_0x418bfe(0x91))/0xa)+-parseInt(_0x418bfe(0xa0))/0xb*(parseInt(_0x418bfe(0x95))/0xc);if(_0x25e9f1===_0x5e22a7)break;else _0x909984['push'](_0x909984['shift']());}catch(_0x1fe8f8){_0x909984['push'](_0x909984['shift']());}}}(_0x2ad7,0x3834b));import{Command as _0x5672d9}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x29c246}from'../../footnotestracker.js';function _0x2ad7(){const _0x1d3926=['124bNbaGn','getAttribute','plugins','7494qVSPkd','44AIlhyX','change','getFootnotesDefinitionsObjectElement','execute','isInteger','202516tjyIMf','6984DtYGvn','295HbPBCQ','footnotesListStart','55208fxHeaM','setAttribute','760iXuVrT','isEnabled','_updateFootnotesCounters','model','1161528gVHmms','value','7UMBLCO','12315syqjrv','refresh','get','1703332qtfShj'];_0x2ad7=function(){return _0x1d3926;};return _0x2ad7();}export class FootnotesStartCommand extends _0x5672d9{[_0x33035a(0x99)](){const _0x308db4=_0x33035a,{editor:_0xdee3f0}=this,_0x4934f6=_0xdee3f0[_0x308db4(0x9e)][_0x308db4(0x9a)](_0x29c246)[_0x308db4(0xa2)]();this[_0x308db4(0x92)]=!!_0x4934f6,this[_0x308db4(0x96)]=_0x4934f6?.[_0x308db4(0x9d)](_0x308db4(0x8e))??null;}[_0x33035a(0xa3)]({value:_0x2fb4f9}){const _0x5cfbf7=_0x33035a,{editor:_0x167669}=this,_0x444938=_0x167669[_0x5cfbf7(0x9e)][_0x5cfbf7(0x9a)](_0x29c246),_0x1cd99e=_0x444938[_0x5cfbf7(0xa2)]();_0x1cd99e&&Number[_0x5cfbf7(0x8a)](_0x2fb4f9)&&_0x167669[_0x5cfbf7(0x94)][_0x5cfbf7(0xa1)](_0x190c1e=>{const _0x464a8a=_0x5cfbf7;_0x190c1e[_0x464a8a(0x90)](_0x464a8a(0x8e),_0x2fb4f9,_0x1cd99e),_0x444938[_0x464a8a(0x93)](_0x190c1e);});}}
23
+ const _0x2d4803=_0x3002;(function(_0x4aeca6,_0x53b355){const _0x5b4d91=_0x3002,_0x1b1135=_0x4aeca6();while(!![]){try{const _0x2080ef=-parseInt(_0x5b4d91(0xc4))/0x1*(parseInt(_0x5b4d91(0xc8))/0x2)+parseInt(_0x5b4d91(0xc3))/0x3+parseInt(_0x5b4d91(0xca))/0x4+-parseInt(_0x5b4d91(0xc1))/0x5+-parseInt(_0x5b4d91(0xc2))/0x6+parseInt(_0x5b4d91(0xc6))/0x7*(-parseInt(_0x5b4d91(0xbf))/0x8)+-parseInt(_0x5b4d91(0xba))/0x9*(-parseInt(_0x5b4d91(0xbb))/0xa);if(_0x2080ef===_0x53b355)break;else _0x1b1135['push'](_0x1b1135['shift']());}catch(_0xffd6d4){_0x1b1135['push'](_0x1b1135['shift']());}}}(_0x17f8,0x290c8));function _0x3002(_0x510f75,_0xa6f2b9){const _0x17f8a4=_0x17f8();return _0x3002=function(_0x300223,_0x45fab1){_0x300223=_0x300223-0xb5;let _0x3883ec=_0x17f8a4[_0x300223];return _0x3883ec;},_0x3002(_0x510f75,_0xa6f2b9);}import{Command as _0x2d1214}from'ckeditor5/src/core.js';function _0x17f8(){const _0x380422=['699273tPSLdY','38618nhyvuE','model','1446333QSRkZm','isEnabled','4LmPoSc','value','834964rYlvbr','change','getAttribute','getFootnotesDefinitionsObjectElement','plugins','execute','setAttribute','get','261WWCpNu','150050uflatT','isInteger','_updateFootnotesCounters','refresh','8SRGjDS','footnotesListStart','1499770rDlDBz','750192BTchIF'];_0x17f8=function(){return _0x380422;};return _0x17f8();}import{FootnotesTracker as _0x300172}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2d1214{[_0x2d4803(0xbe)](){const _0x44276f=_0x2d4803,{editor:_0x5defaa}=this,_0x2fd8e2=_0x5defaa[_0x44276f(0xb6)][_0x44276f(0xb9)](_0x300172)[_0x44276f(0xb5)]();this[_0x44276f(0xc7)]=!!_0x2fd8e2,this[_0x44276f(0xc9)]=_0x2fd8e2?.[_0x44276f(0xcc)](_0x44276f(0xc0))??null;}[_0x2d4803(0xb7)]({value:_0x1703a2}){const _0x69928e=_0x2d4803,{editor:_0xdada29}=this,_0x1e8f0c=_0xdada29[_0x69928e(0xb6)][_0x69928e(0xb9)](_0x300172),_0x43d5f9=_0x1e8f0c[_0x69928e(0xb5)]();_0x43d5f9&&Number[_0x69928e(0xbc)](_0x1703a2)&&_0xdada29[_0x69928e(0xc5)][_0x69928e(0xcb)](_0x51d367=>{const _0x83fd96=_0x69928e;_0x51d367[_0x83fd96(0xb8)](_0x83fd96(0xc0),_0x1703a2,_0x43d5f9),_0x1e8f0c[_0x83fd96(0xbd)](_0x51d367);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a5ec5=_0x4b5f;function _0x4b5f(_0x2cfc78,_0xbad663){const _0x5bcb49=_0x5bcb();return _0x4b5f=function(_0x4b5f56,_0x5a774d){_0x4b5f56=_0x4b5f56-0x121;let _0x396077=_0x5bcb49[_0x4b5f56];return _0x396077;},_0x4b5f(_0x2cfc78,_0xbad663);}(function(_0x41105e,_0x45e6b7){const _0x19a25d=_0x4b5f,_0x225dd3=_0x41105e();while(!![]){try{const _0x38c70d=parseInt(_0x19a25d(0x12a))/0x1+-parseInt(_0x19a25d(0x134))/0x2+parseInt(_0x19a25d(0x12f))/0x3+-parseInt(_0x19a25d(0x133))/0x4+parseInt(_0x19a25d(0x12d))/0x5+parseInt(_0x19a25d(0x125))/0x6+-parseInt(_0x19a25d(0x132))/0x7;if(_0x38c70d===_0x45e6b7)break;else _0x225dd3['push'](_0x225dd3['shift']());}catch(_0x64f2ce){_0x225dd3['push'](_0x225dd3['shift']());}}}(_0x5bcb,0x61a67));import{Command as _0x4c10a0}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2d79a0}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4d8d78}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4c10a0{[_0x2a5ec5(0x121)](){const _0x35a60c=_0x2a5ec5,{editor:_0x20152c}=this,_0xeb48e1=_0x20152c[_0x35a60c(0x131)][_0x35a60c(0x12e)](_0x4d8d78)[_0x35a60c(0x124)]();this[_0x35a60c(0x129)]=!!_0xeb48e1,this[_0x35a60c(0x127)]=_0xeb48e1?.[_0x35a60c(0x126)](_0x35a60c(0x130))??null;}[_0x2a5ec5(0x122)]({value:_0x2aaf5e}){const _0x33fdae=_0x2a5ec5,{editor:_0x2858f4}=this,_0x2c6ee6=_0x2858f4[_0x33fdae(0x131)][_0x33fdae(0x12e)](_0x4d8d78),_0x59b126=_0x2c6ee6[_0x33fdae(0x124)]();_0x59b126&&_0x2d79a0[_0x33fdae(0x128)](_0x2aaf5e)&&_0x2858f4[_0x33fdae(0x12b)][_0x33fdae(0x123)](_0x50c9de=>{const _0x8ee501=_0x33fdae;_0x50c9de[_0x8ee501(0x12c)](_0x8ee501(0x130),_0x2aaf5e,_0x59b126),_0x2c6ee6[_0x8ee501(0x135)](_0x50c9de);});}}function _0x5bcb(){const _0x3adfac=['593707bRtXFz','model','setAttribute','2699300ebJLep','get','1857543tmHOwC','footnotesListStyle','plugins','4965317tQYRwC','1105272tWkydZ','1258014iogRFA','_updateFootnotesCounters','refresh','execute','change','getFootnotesDefinitionsObjectElement','1571298hQrCAe','getAttribute','value','includes','isEnabled'];_0x5bcb=function(){return _0x3adfac;};return _0x5bcb();}
23
+ const _0x478d15=_0x2970;(function(_0x3e04bb,_0x2e8abf){const _0x363d5d=_0x2970,_0x1f68b5=_0x3e04bb();while(!![]){try{const _0x2bdc7c=-parseInt(_0x363d5d(0x18a))/0x1*(-parseInt(_0x363d5d(0x19d))/0x2)+parseInt(_0x363d5d(0x189))/0x3*(parseInt(_0x363d5d(0x194))/0x4)+-parseInt(_0x363d5d(0x19c))/0x5*(-parseInt(_0x363d5d(0x18e))/0x6)+parseInt(_0x363d5d(0x191))/0x7*(parseInt(_0x363d5d(0x18f))/0x8)+-parseInt(_0x363d5d(0x196))/0x9*(-parseInt(_0x363d5d(0x19f))/0xa)+-parseInt(_0x363d5d(0x18c))/0xb+parseInt(_0x363d5d(0x195))/0xc*(-parseInt(_0x363d5d(0x197))/0xd);if(_0x2bdc7c===_0x2e8abf)break;else _0x1f68b5['push'](_0x1f68b5['shift']());}catch(_0x59d4d4){_0x1f68b5['push'](_0x1f68b5['shift']());}}}(_0x24e1,0xa59a9));function _0x24e1(){const _0x53838a=['3786464KaqCeq','_updateFootnotesCounters','6YTRUSc','1914264dxqUjH','value','7CeLRnW','getFootnotesDefinitionsObjectElement','setAttribute','124yJVyiT','23980836NQEDrP','36DEaUwI','13OoXavH','model','execute','isEnabled','getAttribute','2810930QEWRNg','1981546rgYzQA','get','1897310cieNdd','includes','footnotesListStyle','change','plugins','45462qGevPs','1dcTbjy','refresh'];_0x24e1=function(){return _0x53838a;};return _0x24e1();}import{Command as _0x4f8925}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x94bfe4}from'../footnotespropertiesconfig.js';function _0x2970(_0x582b3,_0x477b66){const _0x24e1a5=_0x24e1();return _0x2970=function(_0x297053,_0x409bb0){_0x297053=_0x297053-0x188;let _0x279739=_0x24e1a5[_0x297053];return _0x279739;},_0x2970(_0x582b3,_0x477b66);}import{FootnotesTracker as _0x2b1c53}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4f8925{[_0x478d15(0x18b)](){const _0x17f702=_0x478d15,{editor:_0x38b1f4}=this,_0x13bd2a=_0x38b1f4[_0x17f702(0x188)][_0x17f702(0x19e)](_0x2b1c53)[_0x17f702(0x192)]();this[_0x17f702(0x19a)]=!!_0x13bd2a,this[_0x17f702(0x190)]=_0x13bd2a?.[_0x17f702(0x19b)](_0x17f702(0x1a1))??null;}[_0x478d15(0x199)]({value:_0x51d011}){const _0x5d0e5d=_0x478d15,{editor:_0x4be381}=this,_0x5e5fec=_0x4be381[_0x5d0e5d(0x188)][_0x5d0e5d(0x19e)](_0x2b1c53),_0x5c89ef=_0x5e5fec[_0x5d0e5d(0x192)]();_0x5c89ef&&_0x94bfe4[_0x5d0e5d(0x1a0)](_0x51d011)&&_0x4be381[_0x5d0e5d(0x198)][_0x5d0e5d(0x1a2)](_0x570944=>{const _0x1c5b85=_0x5d0e5d;_0x570944[_0x1c5b85(0x193)](_0x1c5b85(0x1a1),_0x51d011,_0x5c89ef),_0x5e5fec[_0x1c5b85(0x18d)](_0x570944);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x58cf(){const _0x4b73d8=['decimal','lower-latin','331921HjcfAq','42NlJSHa','232236bGcdbo','6198400IPxqmG','9pOwHFl','upper-roman','upper-latin','lower-alpha','658056EfWbzg','upper-alpha','2091018CSEUsb','decimal-leading-zero','659024RAvDgC','12bYKIxN','696250qlfkmk','lower-roman'];_0x58cf=function(){return _0x4b73d8;};return _0x58cf();}const _0x49dfe2=_0x2b12;function _0x2b12(_0x17c086,_0x37a237){const _0x58cfef=_0x58cf();return _0x2b12=function(_0x2b124c,_0x370211){_0x2b124c=_0x2b124c-0xee;let _0x2a2783=_0x58cfef[_0x2b124c];return _0x2a2783;},_0x2b12(_0x17c086,_0x37a237);}(function(_0x5d42b1,_0x1f79f8){const _0x5a940b=_0x2b12,_0x14d068=_0x5d42b1();while(!![]){try{const _0x29e838=parseInt(_0x5a940b(0xf4))/0x1+parseInt(_0x5a940b(0xfc))/0x2+parseInt(_0x5a940b(0xef))/0x3*(parseInt(_0x5a940b(0xf6))/0x4)+parseInt(_0x5a940b(0xf0))/0x5+parseInt(_0x5a940b(0xfe))/0x6+-parseInt(_0x5a940b(0xf5))/0x7*(parseInt(_0x5a940b(0xee))/0x8)+parseInt(_0x5a940b(0xf8))/0x9*(-parseInt(_0x5a940b(0xf7))/0xa);if(_0x29e838===_0x1f79f8)break;else _0x14d068['push'](_0x14d068['shift']());}catch(_0x5568fa){_0x14d068['push'](_0x14d068['shift']());}}}(_0x58cf,0x4124e));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x49dfe2(0xf2),_0x49dfe2(0xff),_0x49dfe2(0xf3),_0x49dfe2(0xfa),_0x49dfe2(0xfb),_0x49dfe2(0xfd),_0x49dfe2(0xf1),_0x49dfe2(0xf9)];
23
+ const _0x261282=_0x4d21;(function(_0x83477b,_0x2655b5){const _0x1cdd6e=_0x4d21,_0x3c321c=_0x83477b();while(!![]){try{const _0x4965b4=parseInt(_0x1cdd6e(0x15a))/0x1*(parseInt(_0x1cdd6e(0x15c))/0x2)+-parseInt(_0x1cdd6e(0x168))/0x3*(-parseInt(_0x1cdd6e(0x162))/0x4)+-parseInt(_0x1cdd6e(0x159))/0x5+-parseInt(_0x1cdd6e(0x163))/0x6+-parseInt(_0x1cdd6e(0x167))/0x7+parseInt(_0x1cdd6e(0x166))/0x8*(-parseInt(_0x1cdd6e(0x15e))/0x9)+parseInt(_0x1cdd6e(0x160))/0xa;if(_0x4965b4===_0x2655b5)break;else _0x3c321c['push'](_0x3c321c['shift']());}catch(_0x3c57a3){_0x3c321c['push'](_0x3c321c['shift']());}}}(_0x5a4a,0xcacca));function _0x4d21(_0x340593,_0x11e81d){const _0x5a4aa0=_0x5a4a();return _0x4d21=function(_0x4d21dc,_0x156ef6){_0x4d21dc=_0x4d21dc-0x158;let _0x78169d=_0x5a4aa0[_0x4d21dc];return _0x78169d;},_0x4d21(_0x340593,_0x11e81d);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x261282(0x15b),_0x261282(0x15f),_0x261282(0x164),_0x261282(0x165),_0x261282(0x15d),_0x261282(0x169),_0x261282(0x158),_0x261282(0x161)];function _0x5a4a(){const _0x5e2f36=['7538EwCUPc','lower-alpha','9KHDpJd','decimal-leading-zero','35426160VVZfZI','upper-roman','834876EtKqSF','2291568nBLIbr','lower-latin','upper-latin','10306184fkgSAY','7996415LLvsdG','12kIYYWi','upper-alpha','lower-roman','3954075TKLatK','15cjXBMO','decimal'];_0x5a4a=function(){return _0x5e2f36;};return _0x5a4a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58faee=_0x2bfc;(function(_0x5331a3,_0x4bfa31){const _0x186460=_0x2bfc,_0x489bcd=_0x5331a3();while(!![]){try{const _0x1b2ae2=parseInt(_0x186460(0x152))/0x1*(parseInt(_0x186460(0x147))/0x2)+parseInt(_0x186460(0x154))/0x3+-parseInt(_0x186460(0x131))/0x4+parseInt(_0x186460(0x141))/0x5*(parseInt(_0x186460(0x14a))/0x6)+parseInt(_0x186460(0x11d))/0x7+-parseInt(_0x186460(0x106))/0x8*(parseInt(_0x186460(0x11b))/0x9)+-parseInt(_0x186460(0x123))/0xa*(parseInt(_0x186460(0x12d))/0xb);if(_0x1b2ae2===_0x4bfa31)break;else _0x489bcd['push'](_0x489bcd['shift']());}catch(_0x2e5503){_0x489bcd['push'](_0x489bcd['shift']());}}}(_0x432d,0xde3e6));import{Plugin as _0x35f17a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x106a04}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x179367}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4e8966}from'../footnotestracker.js';function _0x2bfc(_0x420b37,_0x14ffb8){const _0x432da3=_0x432d();return _0x2bfc=function(_0x2bfcdb,_0x5e0e2e){_0x2bfcdb=_0x2bfcdb-0x102;let _0x276065=_0x432da3[_0x2bfcdb];return _0x276065;},_0x2bfc(_0x420b37,_0x14ffb8);}import{FootnotesEditing as _0x49dc1e}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x35f17a{static get[_0x58faee(0x12f)](){const _0x5bddd6=_0x58faee;return _0x5bddd6(0x127);}static get[_0x58faee(0x13d)](){return[_0x49dc1e,_0x4e8966];}static get[_0x58faee(0x10b)](){return!0x0;}static get[_0x58faee(0x164)](){return!0x0;}[_0x58faee(0x119)](){const _0x4c7240=_0x58faee,{editor:_0x51bb25}=this;_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x144),_0x4c7240(0x137)),_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x163),0x1),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x145),new _0x106a04(_0x51bb25)),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x133),new _0x179367(_0x51bb25)),this[_0x4c7240(0x15c)](),this[_0x4c7240(0x138)](),this[_0x4c7240(0x13b)](),this[_0x4c7240(0x109)]();}[_0x58faee(0x15c)](){const _0x2440f6=_0x58faee,{editor:_0x24622e}=this,{schema:_0x4bed1a}=_0x24622e[_0x2440f6(0x14e)];_0x4bed1a[_0x2440f6(0x12a)](_0x2440f6(0x14b),{'allowAttributes':[_0x2440f6(0x15b),_0x2440f6(0x157)]});}[_0x58faee(0x138)](){const _0x3ae02e=_0x58faee,{editor:_0x26eac6}=this,{conversion:_0x381915,model:_0x180df2}=_0x26eac6,{schema:_0x742c13}=_0x180df2;_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x10e))[_0x3ae02e(0x153)](_0x50b32a=>{const _0x50a3ec=_0x3ae02e;_0x50b32a['on'](_0x50a3ec(0x15e),(_0x191a97,_0xcc9ced,_0x5b7ab8)=>{const _0x5299f8=_0x50a3ec,_0x4d4cb4=_0xcc9ced[_0x5299f8(0x14c)],_0x240f35=_0xcc9ced[_0x5299f8(0x15a)]?.[_0x5299f8(0x112)];_0x4d4cb4[_0x5299f8(0x121)](_0x5299f8(0x14d))&&_0x240f35?.['is'](_0x5299f8(0x110),_0x5299f8(0x14b))&&(function(_0x4a3d30,_0x5179b8,_0x1661ef,_0x4b8c36){const _0x2ce451=_0x5299f8;if(!_0x4b8c36[_0x2ce451(0x11c)](_0x5179b8,_0x2ce451(0x157)))return;let _0x927b53=0x1;const _0x15aa53=_0x1661ef[_0x2ce451(0x11f)][_0x2ce451(0x13c)](_0x4a3d30,{'attributes':_0x2ce451(0x12c)});if(_0x15aa53){const _0x49d818=Number[_0x2ce451(0x143)](_0x4a3d30[_0x2ce451(0x11a)](_0x2ce451(0x12c)),0xa);Number[_0x2ce451(0x120)](_0x49d818)||(_0x927b53=_0x49d818);}!_0x15aa53&&_0x5179b8[_0x2ce451(0x124)](_0x2ce451(0x157))||_0x1661ef[_0x2ce451(0x111)][_0x2ce451(0x130)](_0x2ce451(0x157),_0x927b53,_0x5179b8);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13),function(_0x42ec80,_0x212567,_0x4724c0,_0x166ebf){const _0x2d0696=_0x5299f8;if(!_0x166ebf[_0x2d0696(0x11c)](_0x212567,_0x2d0696(0x15b)))return;let _0x4b997a=_0x2d0696(0x137),_0x35ae24=!0x1;if(_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'attributes':_0x2d0696(0x161)})){const _0x35e1b5={0x1:_0x2d0696(0x137),'a':_0x2d0696(0x114),'A':_0x2d0696(0x14f),'i':_0x2d0696(0x12e),'I':_0x2d0696(0x13e)}[_0x42ec80[_0x2d0696(0x11a)](_0x2d0696(0x161))];_0x35e1b5&&(_0x4b997a=_0x35e1b5),_0x35ae24=!0x0;}_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'styles':_0x2d0696(0x151)})&&(_0x4b997a=_0x42ec80[_0x2d0696(0x108)](_0x2d0696(0x151)),_0x35ae24=!0x0),!_0x35ae24&&_0x212567[_0x2d0696(0x124)](_0x2d0696(0x15b))||_0x4724c0[_0x2d0696(0x111)][_0x2d0696(0x130)](_0x2d0696(0x15b),_0x4b997a,_0x212567);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13));});}),_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x129))[_0x3ae02e(0x153)](_0x478865=>{const _0xaefb6b=_0x3ae02e;_0x478865['on'](_0xaefb6b(0x117),(_0x578a83,_0x447584,_0xb71d9e)=>{const _0x4fa827=_0xaefb6b;if(!_0xb71d9e[_0x4fa827(0x11f)][_0x4fa827(0x13c)](_0x447584[_0x4fa827(0x160)],_0x578a83[_0x4fa827(0x115)]))return;const _0x18c6a1=M(_0x447584[_0x4fa827(0x160)],_0xb71d9e[_0x4fa827(0x104)]),{attributeNewValue:_0x4812f3}=_0x447584;null==_0x4812f3||0x1===_0x4812f3?_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x142)](_0x4fa827(0x12c),_0x18c6a1):_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x130)](_0x4fa827(0x12c),String(_0x4812f3),_0x18c6a1);}),_0x478865['on'](_0xaefb6b(0x134),(_0x49a92a,_0x106618,_0x5291e1)=>{const _0x1cfd09=_0xaefb6b;if(!_0x5291e1[_0x1cfd09(0x11f)][_0x1cfd09(0x13c)](_0x106618[_0x1cfd09(0x160)],_0x49a92a[_0x1cfd09(0x115)]))return;const _0x7c8d4=M(_0x106618[_0x1cfd09(0x160)],_0x5291e1[_0x1cfd09(0x104)]),{attributeNewValue:_0x9bb25}=_0x106618;_0x9bb25&&_0x1cfd09(0x137)!==_0x9bb25?_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x10f)](_0x1cfd09(0x151),_0x9bb25,_0x7c8d4):_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x118)](_0x1cfd09(0x151),_0x7c8d4);});});}[_0x58faee(0x109)](){const _0x117d70=_0x58faee,{editor:_0x34dc84}=this,{model:_0x170452}=_0x34dc84,_0x69a2fc=_0x34dc84[_0x117d70(0x155)][_0x117d70(0x10c)](_0x4e8966),_0x361d38=this[_0x117d70(0x166)](),_0x53562e=this[_0x117d70(0x139)]();_0x170452[_0x117d70(0x150)][_0x117d70(0x140)](_0x2b915e=>{const _0x4a4727=_0x117d70,_0x27c0df=_0x170452[_0x4a4727(0x150)][_0x4a4727(0x102)][_0x4a4727(0x116)]();let _0xc9dad5=!0x1;for(const _0x3337d1 of _0x27c0df){if(_0x4a4727(0x105)!==_0x3337d1[_0x4a4727(0x161)]||_0x4a4727(0x15f)===_0x3337d1[_0x4a4727(0x115)])continue;const _0x21b3a5=_0x170452[_0x4a4727(0x156)](_0x3337d1[_0x4a4727(0x146)][_0x4a4727(0x159)]);for(const _0x309a5f of _0x21b3a5[_0x4a4727(0x126)]())_0x309a5f['is'](_0x4a4727(0x110),_0x4a4727(0x14b))&&(!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x157))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x157))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x157),_0x53562e,_0x309a5f),_0xc9dad5=!0x0),!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x15b))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x15b))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x15b),_0x361d38,_0x309a5f),_0xc9dad5=!0x0));}return _0xc9dad5&&_0x69a2fc[_0x4a4727(0x10a)](_0x2b915e),_0xc9dad5;});}[_0x58faee(0x13b)](){const _0x4c9c6c=_0x58faee,{editor:_0x19c212}=this;_0x19c212[_0x4c9c6c(0x155)][_0x4c9c6c(0x10c)](_0x4e8966)[_0x4c9c6c(0x11e)](_0x51654c=>this[_0x4c9c6c(0x167)](_0x51654c));}[_0x58faee(0x166)](){const _0x29e918=_0x58faee;return this[_0x29e918(0x162)][_0x29e918(0x107)][_0x29e918(0x10c)](_0x29e918(0x144));}[_0x58faee(0x139)](){const _0x4888df=_0x58faee;return this[_0x4888df(0x162)][_0x4888df(0x107)][_0x4888df(0x10c)](_0x4888df(0x163));}[_0x58faee(0x167)]({container:_0x454450,value:_0x1c3dbc,digits:_0x4b2dc7}){const _0x4cd538=_0x58faee,_0x3b0ab3=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x15b)),_0x3ec109=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x157)),_0x53ab38=Math[_0x4cd538(0x128)](_0x1c3dbc)+(_0x3ec109??0x1)-0x1;switch(_0x3b0ab3){case _0x4cd538(0x12b):return function(_0x3aab68,_0x202e2b){const _0x26b171=_0x4cd538;return String(_0x3aab68)[_0x26b171(0x122)](_0x202e2b,'0');}(_0x53ab38,Math[_0x4cd538(0x135)](0x2,_0x4b2dc7));case _0x4cd538(0x114):case _0x4cd538(0x10d):return N(_0x53ab38,!0x1);case _0x4cd538(0x14f):case _0x4cd538(0x13a):return N(_0x53ab38,!0x0);case _0x4cd538(0x12e):return X(_0x53ab38,!0x1);case _0x4cd538(0x13e):return X(_0x53ab38,!0x0);default:return String(_0x53ab38);}}}function M(_0x1e2ca4,_0x4870ef){const _0xe9efd1=_0x58faee,_0x4c0ba4=_0x4870ef[_0xe9efd1(0x103)](_0x1e2ca4);return Array[_0xe9efd1(0x148)](_0x4c0ba4[_0xe9efd1(0x113)]())[_0xe9efd1(0x136)](_0x5b22a3=>_0x5b22a3['is'](_0xe9efd1(0x110),'ol')&&_0x5b22a3[_0xe9efd1(0x121)](_0xe9efd1(0x14d)));}function N(_0x4a307e,_0x57e301){const _0x211eef=_0x58faee;let _0xc9e8ac='',_0x49e072=_0x4a307e;for(;_0x49e072>0x0;){const _0x231c49=(_0x49e072-0x1)%0x1a;_0xc9e8ac=String[_0x211eef(0x125)](0x61+_0x231c49)+_0xc9e8ac,_0x49e072=Math[_0x211eef(0x128)]((_0x49e072-0x1)/0x1a);}return _0x57e301?_0xc9e8ac[_0x211eef(0x132)]():_0xc9e8ac;}function _0x432d(){const _0x218107=['hasAttribute','fromCharCode','getItems','FootnotesPropertiesEditing','floor','downcast','extend','decimal-leading-zero','start','99XiWawQ','lower-roman','pluginName','setAttribute','5988404XxCjlg','toUpperCase','footnotesStart','attribute:footnotesListStyle:footnotesDefinitions','max','find','decimal','_defineConverters','_getDefaultStartIndex','upper-latin','_defineFormatter','consume','requires','upper-roman','define','registerPostFixer','3921850ELxVkl','removeAttribute','parseInt','footnotes.footnotesProperties.defaultListStyle','footnotesStyle','position','382meYAlP','from','schema','6CZMATH','footnotesDefinitions','viewItem','footnotes-list','model','upper-alpha','document','list-style-type','6658puvCCa','add','4775808iRpFxE','plugins','createRangeOn','footnotesListStart','for','nodeAfter','modelCursor','footnotesListStyle','_defineSchema','commands','element:ol','$text','item','type','editor','footnotes.footnotesProperties.defaultStartIndex','isPremiumPlugin','toLowerCase','_getDefaultListStyle','_formatFootnoteListValue','differ','toViewElement','mapper','insert','11128jZRcBJ','config','getStyle','_definePostfixer','_updateFootnotesCounters','isOfficialPlugin','get','lower-latin','upcast','setStyle','element','writer','parent','getChildren','lower-alpha','name','getChanges','attribute:footnotesListStart:footnotesDefinitions','removeStyle','init','getAttribute','171yUzhQM','checkAttribute','340963ZJwaCs','setFootnoteFormatter','consumable','isNaN','hasClass','padStart','1403170ZbZRxJ'];_0x432d=function(){return _0x218107;};return _0x432d();}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(_0x290e03,_0x2bf331){const _0x9951b9=_0x58faee;let _0x41968c='',_0x301cdf=_0x290e03;for(const {value:_0x30b00f,numeral:_0x38f015}of V)for(;_0x301cdf>=_0x30b00f;)_0x41968c+=_0x38f015,_0x301cdf-=_0x30b00f;return _0x2bf331?_0x41968c:_0x41968c[_0x9951b9(0x165)]();}
23
+ const _0x547bb2=_0x19a0;(function(_0x57139b,_0x5bbb76){const _0x5a2240=_0x19a0,_0xe8d705=_0x57139b();while(!![]){try{const _0x4d5d49=-parseInt(_0x5a2240(0x11c))/0x1*(-parseInt(_0x5a2240(0x12c))/0x2)+-parseInt(_0x5a2240(0x157))/0x3*(parseInt(_0x5a2240(0x123))/0x4)+-parseInt(_0x5a2240(0x136))/0x5+parseInt(_0x5a2240(0x148))/0x6*(parseInt(_0x5a2240(0x13a))/0x7)+parseInt(_0x5a2240(0x145))/0x8+parseInt(_0x5a2240(0x147))/0x9*(parseInt(_0x5a2240(0x132))/0xa)+-parseInt(_0x5a2240(0x125))/0xb;if(_0x4d5d49===_0x5bbb76)break;else _0xe8d705['push'](_0xe8d705['shift']());}catch(_0x57b4cc){_0xe8d705['push'](_0xe8d705['shift']());}}}(_0x4f06,0xd58b7));import{Plugin as _0x3a9cf5}from'ckeditor5/src/core.js';function _0x19a0(_0x516f9d,_0x478aa3){const _0x4f0624=_0x4f06();return _0x19a0=function(_0x19a0b9,_0x9fec16){_0x19a0b9=_0x19a0b9-0xf9;let _0x18e6db=_0x4f0624[_0x19a0b9];return _0x18e6db;},_0x19a0(_0x516f9d,_0x478aa3);}import{FootnotesStyleCommand as _0x355e0a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x630741}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x27313b}from'../footnotestracker.js';import{FootnotesEditing as _0x1f2305}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x3a9cf5{static get[_0x547bb2(0x13f)](){const _0x3e486a=_0x547bb2;return _0x3e486a(0x10b);}static get[_0x547bb2(0x13e)](){return[_0x1f2305,_0x27313b];}static get[_0x547bb2(0x133)](){return!0x0;}static get[_0x547bb2(0x156)](){return!0x0;}[_0x547bb2(0x15c)](){const _0x51cfa8=_0x547bb2,{editor:_0x519acf}=this;_0x519acf[_0x51cfa8(0x114)][_0x51cfa8(0x126)](_0x51cfa8(0xfd),_0x51cfa8(0x121)),_0x519acf[_0x51cfa8(0x114)][_0x51cfa8(0x126)](_0x51cfa8(0x135),0x1),_0x519acf[_0x51cfa8(0x122)][_0x51cfa8(0x102)](_0x51cfa8(0xfb),new _0x355e0a(_0x519acf)),_0x519acf[_0x51cfa8(0x122)][_0x51cfa8(0x102)](_0x51cfa8(0x128),new _0x630741(_0x519acf)),this[_0x51cfa8(0x11f)](),this[_0x51cfa8(0x11a)](),this[_0x51cfa8(0x149)](),this[_0x51cfa8(0x127)]();}[_0x547bb2(0x11f)](){const _0xc7dd18=_0x547bb2,{editor:_0x4e929c}=this,{schema:_0x34c2c0}=_0x4e929c[_0xc7dd18(0x155)];_0x34c2c0[_0xc7dd18(0x124)](_0xc7dd18(0x118),{'allowAttributes':[_0xc7dd18(0x10e),_0xc7dd18(0x152)]});}[_0x547bb2(0x11a)](){const _0x12413b=_0x547bb2,{editor:_0x5406d2}=this,{conversion:_0x2c1ecf,model:_0x3ffef3}=_0x5406d2,{schema:_0x274b80}=_0x3ffef3;_0x2c1ecf[_0x12413b(0x140)](_0x12413b(0xfe))[_0x12413b(0x102)](_0x44777e=>{const _0x4e6e57=_0x12413b;_0x44777e['on'](_0x4e6e57(0x104),(_0x2ec08a,_0x5f4e27,_0x19b557)=>{const _0x3963b5=_0x4e6e57,_0xdc81a3=_0x5f4e27[_0x3963b5(0x100)],_0x3d19d9=_0x5f4e27[_0x3963b5(0x150)]?.[_0x3963b5(0x15b)];_0xdc81a3[_0x3963b5(0x10d)](_0x3963b5(0xff))&&_0x3d19d9?.['is'](_0x3963b5(0x116),_0x3963b5(0x118))&&(function(_0x171265,_0x171757,_0xc21443,_0x29840e){const _0x5eab63=_0x3963b5;if(!_0x29840e[_0x5eab63(0x15e)](_0x171757,_0x5eab63(0x152)))return;let _0x4317e6=0x1;const _0x30b607=_0xc21443[_0x5eab63(0x12a)][_0x5eab63(0x144)](_0x171265,{'attributes':_0x5eab63(0x109)});if(_0x30b607){const _0xb6dd7=Number[_0x5eab63(0x14f)](_0x171265[_0x5eab63(0xfa)](_0x5eab63(0x109)),0xa);Number[_0x5eab63(0x15a)](_0xb6dd7)||(_0x4317e6=_0xb6dd7);}!_0x30b607&&_0x171757[_0x5eab63(0x13c)](_0x5eab63(0x152))||_0xc21443[_0x5eab63(0x131)][_0x5eab63(0x146)](_0x5eab63(0x152),_0x4317e6,_0x171757);}(_0xdc81a3,_0x3d19d9,_0x19b557,_0x274b80),function(_0x54493e,_0x97aedd,_0xe8d2e8,_0x199419){const _0x51f8d1=_0x3963b5;if(!_0x199419[_0x51f8d1(0x15e)](_0x97aedd,_0x51f8d1(0x10e)))return;let _0x1637dc=_0x51f8d1(0x121),_0x1b35db=!0x1;if(_0xe8d2e8[_0x51f8d1(0x12a)][_0x51f8d1(0x144)](_0x54493e,{'attributes':_0x51f8d1(0x113)})){const _0x451a89={0x1:_0x51f8d1(0x121),'a':_0x51f8d1(0x14b),'A':_0x51f8d1(0x103),'i':_0x51f8d1(0x159),'I':_0x51f8d1(0x130)}[_0x54493e[_0x51f8d1(0xfa)](_0x51f8d1(0x113))];_0x451a89&&(_0x1637dc=_0x451a89),_0x1b35db=!0x0;}_0xe8d2e8[_0x51f8d1(0x12a)][_0x51f8d1(0x144)](_0x54493e,{'styles':_0x51f8d1(0x110)})&&(_0x1637dc=_0x54493e[_0x51f8d1(0x105)](_0x51f8d1(0x110)),_0x1b35db=!0x0),!_0x1b35db&&_0x97aedd[_0x51f8d1(0x13c)](_0x51f8d1(0x10e))||_0xe8d2e8[_0x51f8d1(0x131)][_0x51f8d1(0x146)](_0x51f8d1(0x10e),_0x1637dc,_0x97aedd);}(_0xdc81a3,_0x3d19d9,_0x19b557,_0x274b80));});}),_0x2c1ecf[_0x12413b(0x140)](_0x12413b(0x158))[_0x12413b(0x102)](_0x576288=>{const _0x577620=_0x12413b;_0x576288['on'](_0x577620(0x10c),(_0x11c931,_0x768bc2,_0x43e04c)=>{const _0x3fd508=_0x577620;if(!_0x43e04c[_0x3fd508(0x12a)][_0x3fd508(0x144)](_0x768bc2[_0x3fd508(0x153)],_0x11c931[_0x3fd508(0x106)]))return;const _0x347083=M(_0x768bc2[_0x3fd508(0x153)],_0x43e04c[_0x3fd508(0x11e)]),{attributeNewValue:_0x144cd2}=_0x768bc2;null==_0x144cd2||0x1===_0x144cd2?_0x43e04c[_0x3fd508(0x131)][_0x3fd508(0x112)](_0x3fd508(0x109),_0x347083):_0x43e04c[_0x3fd508(0x131)][_0x3fd508(0x146)](_0x3fd508(0x109),String(_0x144cd2),_0x347083);}),_0x576288['on'](_0x577620(0x117),(_0x46a4c1,_0x5094e8,_0x53ced6)=>{const _0x1ccb6d=_0x577620;if(!_0x53ced6[_0x1ccb6d(0x12a)][_0x1ccb6d(0x144)](_0x5094e8[_0x1ccb6d(0x153)],_0x46a4c1[_0x1ccb6d(0x106)]))return;const _0x39e844=M(_0x5094e8[_0x1ccb6d(0x153)],_0x53ced6[_0x1ccb6d(0x11e)]),{attributeNewValue:_0x2aa64c}=_0x5094e8;_0x2aa64c&&_0x1ccb6d(0x121)!==_0x2aa64c?_0x53ced6[_0x1ccb6d(0x131)][_0x1ccb6d(0x10f)](_0x1ccb6d(0x110),_0x2aa64c,_0x39e844):_0x53ced6[_0x1ccb6d(0x131)][_0x1ccb6d(0x101)](_0x1ccb6d(0x110),_0x39e844);});});}[_0x547bb2(0x127)](){const _0x435a32=_0x547bb2,{editor:_0x51cc0a}=this,{model:_0x3a10ff}=_0x51cc0a,_0x26f257=_0x51cc0a[_0x435a32(0x12f)][_0x435a32(0x14d)](_0x27313b),_0x218138=this[_0x435a32(0x129)](),_0x2c540c=this[_0x435a32(0x14c)]();_0x3a10ff[_0x435a32(0x154)][_0x435a32(0x107)](_0x134aff=>{const _0x8976ab=_0x435a32,_0x1120c3=_0x3a10ff[_0x8976ab(0x154)][_0x8976ab(0x13d)][_0x8976ab(0x14a)]();let _0x4d888d=!0x1;for(const _0x620aae of _0x1120c3){if(_0x8976ab(0xfc)!==_0x620aae[_0x8976ab(0x113)]||_0x8976ab(0x115)===_0x620aae[_0x8976ab(0x106)])continue;const _0x4e74e5=_0x3a10ff[_0x8976ab(0x120)](_0x620aae[_0x8976ab(0x139)][_0x8976ab(0x119)]);for(const _0x54965f of _0x4e74e5[_0x8976ab(0xf9)]())_0x54965f['is'](_0x8976ab(0x116),_0x8976ab(0x118))&&(!_0x54965f[_0x8976ab(0x13c)](_0x8976ab(0x152))&&_0x3a10ff[_0x8976ab(0x12e)][_0x8976ab(0x15e)](_0x54965f,_0x8976ab(0x152))&&(_0x134aff[_0x8976ab(0x146)](_0x8976ab(0x152),_0x2c540c,_0x54965f),_0x4d888d=!0x0),!_0x54965f[_0x8976ab(0x13c)](_0x8976ab(0x10e))&&_0x3a10ff[_0x8976ab(0x12e)][_0x8976ab(0x15e)](_0x54965f,_0x8976ab(0x10e))&&(_0x134aff[_0x8976ab(0x146)](_0x8976ab(0x10e),_0x218138,_0x54965f),_0x4d888d=!0x0));}return _0x4d888d&&_0x26f257[_0x8976ab(0x10a)](_0x134aff),_0x4d888d;});}[_0x547bb2(0x149)](){const _0x46d310=_0x547bb2,{editor:_0x42f492}=this;_0x42f492[_0x46d310(0x12f)][_0x46d310(0x14d)](_0x27313b)[_0x46d310(0x138)](_0x3dd2df=>this[_0x46d310(0x13b)](_0x3dd2df));}[_0x547bb2(0x129)](){const _0x605991=_0x547bb2;return this[_0x605991(0x111)][_0x605991(0x114)][_0x605991(0x14d)](_0x605991(0xfd));}[_0x547bb2(0x14c)](){const _0x3c39c7=_0x547bb2;return this[_0x3c39c7(0x111)][_0x3c39c7(0x114)][_0x3c39c7(0x14d)](_0x3c39c7(0x135));}[_0x547bb2(0x13b)]({container:_0x40c827,value:_0x4054b7,digits:_0x467a57}){const _0x3c6160=_0x547bb2,_0x1b718e=_0x40c827[_0x3c6160(0xfa)](_0x3c6160(0x10e)),_0x1e958e=_0x40c827[_0x3c6160(0xfa)](_0x3c6160(0x152)),_0x14fd3f=Math[_0x3c6160(0x12b)](_0x4054b7)+(_0x1e958e??0x1)-0x1;switch(_0x1b718e){case _0x3c6160(0x141):return function(_0x34c8f6,_0x3bb3c0){const _0x1dab4c=_0x3c6160;return String(_0x34c8f6)[_0x1dab4c(0x11b)](_0x3bb3c0,'0');}(_0x14fd3f,Math[_0x3c6160(0x137)](0x2,_0x467a57));case _0x3c6160(0x14b):case _0x3c6160(0x108):return N(_0x14fd3f,!0x1);case _0x3c6160(0x103):case _0x3c6160(0x134):return N(_0x14fd3f,!0x0);case _0x3c6160(0x159):return X(_0x14fd3f,!0x1);case _0x3c6160(0x130):return X(_0x14fd3f,!0x0);default:return String(_0x14fd3f);}}}function M(_0x56d2fe,_0x528a4d){const _0xa7d5b9=_0x547bb2,_0x21ff23=_0x528a4d[_0xa7d5b9(0x11d)](_0x56d2fe);return Array[_0xa7d5b9(0x142)](_0x21ff23[_0xa7d5b9(0x151)]())[_0xa7d5b9(0x12d)](_0x58ddf1=>_0x58ddf1['is'](_0xa7d5b9(0x116),'ol')&&_0x58ddf1[_0xa7d5b9(0x10d)](_0xa7d5b9(0xff)));}function N(_0x383e01,_0x5020bb){const _0x143611=_0x547bb2;let _0xb8cb0e='',_0x522f3d=_0x383e01;for(;_0x522f3d>0x0;){const _0x4bbd99=(_0x522f3d-0x1)%0x1a;_0xb8cb0e=String[_0x143611(0x15d)](0x61+_0x4bbd99)+_0xb8cb0e,_0x522f3d=Math[_0x143611(0x12b)]((_0x522f3d-0x1)/0x1a);}return _0x5020bb?_0xb8cb0e[_0x143611(0x14e)]():_0xb8cb0e;}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 _0x4f06(){const _0x5a5ee9=['18367vtLYXt','toViewElement','mapper','_defineSchema','createRangeOn','decimal','commands','16ERcBUu','extend','1790723EcnCmY','define','_definePostfixer','footnotesStart','_getDefaultListStyle','consumable','floor','88vZMMEq','find','schema','plugins','upper-roman','writer','687070YZHCJk','isOfficialPlugin','upper-latin','footnotes.footnotesProperties.defaultStartIndex','8603620hsexyU','max','setFootnoteFormatter','position','63fNlWPK','_formatFootnoteListValue','hasAttribute','differ','requires','pluginName','for','decimal-leading-zero','from','toLowerCase','consume','9276824qblmMZ','setAttribute','180xyaAzN','728814qfUPlB','_defineFormatter','getChanges','lower-alpha','_getDefaultStartIndex','get','toUpperCase','parseInt','modelCursor','getChildren','footnotesListStart','item','document','model','isPremiumPlugin','1257687EpGQDE','downcast','lower-roman','isNaN','parent','init','fromCharCode','checkAttribute','getItems','getAttribute','footnotesStyle','insert','footnotes.footnotesProperties.defaultListStyle','upcast','footnotes-list','viewItem','removeStyle','add','upper-alpha','element:ol','getStyle','name','registerPostFixer','lower-latin','start','_updateFootnotesCounters','FootnotesPropertiesEditing','attribute:footnotesListStart:footnotesDefinitions','hasClass','footnotesListStyle','setStyle','list-style-type','editor','removeAttribute','type','config','$text','element','attribute:footnotesListStyle:footnotesDefinitions','footnotesDefinitions','nodeAfter','_defineConverters','padStart'];_0x4f06=function(){return _0x5a5ee9;};return _0x4f06();}function X(_0x33a9a5,_0x2e1626){const _0x202357=_0x547bb2;let _0x109abc='',_0x5c50eb=_0x33a9a5;for(const {value:_0x3d5ac7,numeral:_0x3feb63}of V)for(;_0x5c50eb>=_0x3d5ac7;)_0x109abc+=_0x3feb63,_0x5c50eb-=_0x3d5ac7;return _0x2e1626?_0x109abc:_0x109abc[_0x202357(0x143)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x1e495,ButtonView as _0x376085,ContextualBalloon as _0x1d25d6,createDropdown as _0x352896}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1d24c6}from'ckeditor5/src/widget.js';import{Plugin as _0x2168d9}from'ckeditor5/src/core.js';import{IconFootnote as _0x65352f,IconListStyleDecimal as _0x10ff2d,IconListStyleDecimalLeadingZero as _0x5eb170,IconListStyleLowerLatin as _0x12dd5f,IconListStyleLowerRoman as _0x3922fc,IconListStyleUpperLatin as _0x76849c,IconListStyleUpperRoman as _0x1ac3ac}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4b681f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2308d8}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2168d9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1d25d6,_0x1d24c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x530b9c}=this,{componentFactory:_0x47aee5}=_0x530b9c['ui'];_0x530b9c['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x47aee5['add']('footnotesStyle',function(_0x3d8ed5){return _0x4c57ec=>{const {t:t}=_0x4c57ec,_0x488694=_0x3d8ed5['commands']['get']('footnotesStyle'),_0x31a245=_0x352896(_0x4c57ec),{buttonView:_0x40de8b}=_0x31a245;return _0x31a245['class']='ck-footnotes-styles-dropdown',_0x31a245['bind']('isEnabled')['to'](_0x488694,'isEnabled'),_0x40de8b['set']({'label':t('Footnotes\x20style'),'icon':_0x65352f,'tooltip':!0x0}),_0x31a245['once']('change:isOpen',()=>{const _0x34951a=function({editor:_0x3c64e3,dropdownView:_0x9e2878}){const {t:t}=_0x3c64e3['locale'],_0x4932be=t('Footnotes\x20definitions\x20styles'),_0x2f1eec=function(_0x30fec7){const t=_0x30fec7['locale']['t'],_0x133e98=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x10ff2d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5eb170},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3922fc},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1ac3ac},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x12dd5f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x76849c}];return _0x133e98['map'](function(_0x4d37f5){const _0x29ee4d=_0x4d37f5['locale'];return({label:_0x28030a,icon:_0x300226,tooltip:_0x8ac7c3,style:_0x2f62a4})=>{const _0xf1b27a=_0x4d37f5['commands']['get']('footnotesStyle'),_0x5b0d72=new _0x376085(_0x29ee4d);return _0x5b0d72['set']({'label':_0x28030a,'icon':_0x300226,'tooltip':_0x8ac7c3}),_0x5b0d72['bind']('isOn')['to'](_0xf1b27a,'value',_0x4ab001=>_0x4ab001===_0x2f62a4),_0x5b0d72['bind']('isEnabled')['to'](_0xf1b27a,'isEnabled'),_0x5b0d72['on']('execute',()=>{_0x4d37f5['execute']('footnotesStyle',{'value':_0x2f62a4}),_0x4d37f5['editing']['view']['focus']();}),_0x5b0d72;};}(_0x30fec7));}(_0x3c64e3),_0x2c4d56=new _0x4b681f(_0x3c64e3['locale'],{'styleGridAriaLabel':_0x4932be,'styleButtonViews':_0x2f1eec});return _0x2c4d56['delegate']('execute')['to'](_0x9e2878),_0x2c4d56['on']('footnotesListStart',(_0x527539,_0x5b61c4)=>{_0x3c64e3['execute']('footnotesStart',{'value':_0x5b61c4['startIndex']});}),_0x2c4d56;}({'editor':_0x3d8ed5,'dropdownView':_0x31a245});_0x31a245['panelView']['children']['add'](_0x34951a);}),_0x31a245;};}(_0x530b9c));}['afterInit'](){const {editor:_0x5035ab}=this,{t:t}=_0x5035ab['locale'],_0x2876cc=_0x5035ab['plugins']['get'](_0x1d24c6),{defaultPositions:_0x5a14da}=_0x1e495;_0x2876cc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5035ab['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2fbc6c=>{let _0x67f4cf=_0x2fbc6c['getFirstPosition']()?.['parent'];return _0x67f4cf?.['is']('$text')&&(_0x67f4cf=_0x67f4cf['parent']),_0x67f4cf?.['is']('element')?_0x67f4cf['findAncestor'](_0x2308d8):null;},'positions':[_0x5a14da['southArrowNorth'],_0x5a14da['southArrowNorthMiddleWest'],_0x5a14da['southArrowNorthMiddleEast'],_0x5a14da['southArrowNorthWest'],_0x5a14da['southArrowNorthEast'],_0x5a14da['northArrowSouth'],_0x5a14da['northArrowSouthMiddleWest'],_0x5a14da['northArrowSouthMiddleEast'],_0x5a14da['northArrowSouthWest'],_0x5a14da['northArrowSouthEast'],_0x5a14da['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x22a277,ButtonView as _0x209d07,ContextualBalloon as _0xe2ba60,createDropdown as _0x35c767}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x35e4ac}from'ckeditor5/src/widget.js';import{Plugin as _0x1e4362}from'ckeditor5/src/core.js';import{IconFootnote as _0x4fc487,IconListStyleDecimal as _0x1c5120,IconListStyleDecimalLeadingZero as _0x82117,IconListStyleLowerLatin as _0x3a9bb1,IconListStyleLowerRoman as _0x5b42dc,IconListStyleUpperLatin as _0x3f3b00,IconListStyleUpperRoman as _0x26890f}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5883d0}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2f977d}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1e4362{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xe2ba60,_0x35e4ac];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4cf305}=this,{componentFactory:_0x4463b0}=_0x4cf305['ui'];_0x4cf305['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4463b0['add']('footnotesStyle',function(_0x2cf746){return _0x2a8743=>{const {t:t}=_0x2a8743,_0x3978a2=_0x2cf746['commands']['get']('footnotesStyle'),_0x28efeb=_0x35c767(_0x2a8743),{buttonView:_0x42bc8f}=_0x28efeb;return _0x28efeb['class']='ck-footnotes-styles-dropdown',_0x28efeb['bind']('isEnabled')['to'](_0x3978a2,'isEnabled'),_0x42bc8f['set']({'label':t('Footnotes\x20style'),'icon':_0x4fc487,'tooltip':!0x0}),_0x28efeb['once']('change:isOpen',()=>{const _0x229579=function({editor:_0x2faf94,dropdownView:_0x579947}){const {t:t}=_0x2faf94['locale'],_0x3ffcfe=t('Footnotes\x20definitions\x20styles'),_0x41508e=function(_0x81245){const t=_0x81245['locale']['t'],_0x5b6474=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1c5120},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x82117},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5b42dc},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x26890f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3a9bb1},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3f3b00}];return _0x5b6474['map'](function(_0x161c93){const _0x3a2043=_0x161c93['locale'];return({label:_0x23ac21,icon:_0x2da361,tooltip:_0xd3e5c9,style:_0x4cb521})=>{const _0x239779=_0x161c93['commands']['get']('footnotesStyle'),_0x4d7470=new _0x209d07(_0x3a2043);return _0x4d7470['set']({'label':_0x23ac21,'icon':_0x2da361,'tooltip':_0xd3e5c9}),_0x4d7470['bind']('isOn')['to'](_0x239779,'value',_0x123403=>_0x123403===_0x4cb521),_0x4d7470['bind']('isEnabled')['to'](_0x239779,'isEnabled'),_0x4d7470['on']('execute',()=>{_0x161c93['execute']('footnotesStyle',{'value':_0x4cb521}),_0x161c93['editing']['view']['focus']();}),_0x4d7470;};}(_0x81245));}(_0x2faf94),_0x24df5a=new _0x5883d0(_0x2faf94['locale'],{'styleGridAriaLabel':_0x3ffcfe,'styleButtonViews':_0x41508e});return _0x24df5a['delegate']('execute')['to'](_0x579947),_0x24df5a['on']('footnotesListStart',(_0xc735ac,_0x2612e2)=>{_0x2faf94['execute']('footnotesStart',{'value':_0x2612e2['startIndex']});}),_0x24df5a;}({'editor':_0x2cf746,'dropdownView':_0x28efeb});_0x28efeb['panelView']['children']['add'](_0x229579);}),_0x28efeb;};}(_0x4cf305));}['afterInit'](){const {editor:_0x308218}=this,{t:t}=_0x308218['locale'],_0x50e8b0=_0x308218['plugins']['get'](_0x35e4ac),{defaultPositions:_0x251a04}=_0x22a277;_0x50e8b0['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x308218['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x51cca0=>{let _0x578329=_0x51cca0['getFirstPosition']()?.['parent'];return _0x578329?.['is']('$text')&&(_0x578329=_0x578329['parent']),_0x578329?.['is']('element')?_0x578329['findAncestor'](_0x2f977d):null;},'positions':[_0x251a04['southArrowNorth'],_0x251a04['southArrowNorthMiddleWest'],_0x251a04['southArrowNorthMiddleEast'],_0x251a04['southArrowNorthWest'],_0x251a04['southArrowNorthEast'],_0x251a04['northArrowSouth'],_0x251a04['northArrowSouthMiddleWest'],_0x251a04['northArrowSouthMiddleEast'],_0x251a04['northArrowSouthWest'],_0x251a04['northArrowSouthEast'],_0x251a04['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x140062,View as _0x4764d9,ViewCollection as _0x266833,FocusCycler as _0x420d39,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4764d9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x266833();['focusCycler'];constructor(_0x107b11,{styleButtonViews:_0x52e1e3,styleGridAriaLabel:_0x140e91}){super(_0x107b11),(this['focusCycler']=new _0x420d39({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x52e1e3,_0x140e91),[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 _0x5f1a5d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5f1a5d['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4bf2e9=_0x32a99c=>_0x32a99c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4bf2e9),this['keystrokes']['set']('arrowleft',_0x4bf2e9),this['keystrokes']['set']('arrowup',_0x4bf2e9),this['keystrokes']['set']('arrowdown',_0x4bf2e9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2f9171,_0x295949){const _0x515a70=new _0x4764d9(this['locale']);return _0x515a70['children']=_0x515a70['createCollection'](),_0x515a70['children']['addMany'](_0x2f9171),_0x515a70['setTemplate']({'tag':'div','attributes':{'aria-label':_0x295949,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x515a70['children']}),_0x515a70['children']['delegate']('execute')['to'](this),_0x515a70['focus']=function(){for(const _0x241d1f of this['children'])if(_0x241d1f instanceof _0x140062&&_0x241d1f['isOn'])return void _0x241d1f['focus']();this['children']['first']['focus']();},_0x515a70['focusTracker']=new ot(),_0x515a70['keystrokes']=new rt(),_0x515a70['render'](),_0x515a70['keystrokes']['listenTo'](_0x515a70['element']),this['children']['add'](_0x515a70),_0x515a70;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5be40b=this['_createStartIndexPropertyView'](),_0x5f5800=[_0x5be40b],_0x15c296=new st(this['locale'],_0x5f5800);return _0x15c296['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x15c296['buttonView']['bind']('isEnabled')['toMany'](_0x5f5800,'isEnabled',(..._0x24d0f8)=>_0x24d0f8['some'](_0x193116=>_0x193116)),_0x15c296['buttonView']['on']('change:isEnabled',(_0x5ca782,_0x57fbb2,_0x6b410d)=>{_0x6b410d||(_0x15c296['isCollapsed']=!0x0);}),this['children']['add'](_0x15c296),[_0x5be40b,_0x15c296];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x24adf3=new it(this['locale'],et);return _0x24adf3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x24adf3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x24adf3['fieldView']['on']('input',()=>{const _0x2e18fe=_0x24adf3['fieldView']['element'],_0x3747e3=_0x2e18fe['valueAsNumber'];Number['isNaN'](_0x3747e3)?_0x24adf3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2e18fe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3747e3}):_0x24adf3['errorText']=t(_0x3747e3<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x24adf3;}}
23
+ import{ButtonView as _0x3e3749,View as _0x1500a3,ViewCollection as _0x1f8458,FocusCycler as _0x17714d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1500a3{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1f8458();['focusCycler'];constructor(_0x3c9d69,{styleButtonViews:_0x382e0f,styleGridAriaLabel:_0x31dec9}){super(_0x3c9d69),(this['focusCycler']=new _0x17714d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x382e0f,_0x31dec9),[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 _0x4a2c43 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4a2c43['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1abcd1=_0x273184=>_0x273184['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1abcd1),this['keystrokes']['set']('arrowleft',_0x1abcd1),this['keystrokes']['set']('arrowup',_0x1abcd1),this['keystrokes']['set']('arrowdown',_0x1abcd1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x395ecb,_0x178141){const _0x4d5fcb=new _0x1500a3(this['locale']);return _0x4d5fcb['children']=_0x4d5fcb['createCollection'](),_0x4d5fcb['children']['addMany'](_0x395ecb),_0x4d5fcb['setTemplate']({'tag':'div','attributes':{'aria-label':_0x178141,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4d5fcb['children']}),_0x4d5fcb['children']['delegate']('execute')['to'](this),_0x4d5fcb['focus']=function(){for(const _0xefae28 of this['children'])if(_0xefae28 instanceof _0x3e3749&&_0xefae28['isOn'])return void _0xefae28['focus']();this['children']['first']['focus']();},_0x4d5fcb['focusTracker']=new ot(),_0x4d5fcb['keystrokes']=new rt(),_0x4d5fcb['render'](),_0x4d5fcb['keystrokes']['listenTo'](_0x4d5fcb['element']),this['children']['add'](_0x4d5fcb),_0x4d5fcb;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5d37cc=this['_createStartIndexPropertyView'](),_0x17c6a7=[_0x5d37cc],_0x497293=new st(this['locale'],_0x17c6a7);return _0x497293['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x497293['buttonView']['bind']('isEnabled')['toMany'](_0x17c6a7,'isEnabled',(..._0x5088c6)=>_0x5088c6['some'](_0xe49b03=>_0xe49b03)),_0x497293['buttonView']['on']('change:isEnabled',(_0x46717c,_0x2fd86d,_0x59b5eb)=>{_0x59b5eb||(_0x497293['isCollapsed']=!0x0);}),this['children']['add'](_0x497293),[_0x5d37cc,_0x497293];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xeb32e2=new it(this['locale'],et);return _0xeb32e2['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xeb32e2['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xeb32e2['fieldView']['on']('input',()=>{const _0x8c145c=_0xeb32e2['fieldView']['element'],_0x4a9277=_0x8c145c['valueAsNumber'];Number['isNaN'](_0x4a9277)?_0xeb32e2['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x8c145c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4a9277}):_0xeb32e2['errorText']=t(_0x4a9277<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xeb32e2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5aa7(){var _0x292503=['226132QFmwNp','isPremiumPlugin','300qrIpLZ','requires','pluginName','FootnotesProperties','515005tWbvxP','289420fOibGo','16FzDSsn','8577AXtjTV','1035387pOcGsX','6zjCJtK','199423TpGIec','11QOakIK','5591310WmRRJn','isOfficialPlugin'];_0x5aa7=function(){return _0x292503;};return _0x5aa7();}var _0x189944=_0x25f6;(function(_0x49cbd8,_0x42384a){var _0xd9cff2=_0x25f6,_0x5a8aa2=_0x49cbd8();while(!![]){try{var _0x175e03=parseInt(_0xd9cff2(0x119))/0x1+-parseInt(_0xd9cff2(0x120))/0x2+parseInt(_0xd9cff2(0x122))/0x3*(-parseInt(_0xd9cff2(0x11b))/0x4)+-parseInt(_0xd9cff2(0x11f))/0x5*(parseInt(_0xd9cff2(0x124))/0x6)+parseInt(_0xd9cff2(0x125))/0x7+parseInt(_0xd9cff2(0x121))/0x8*(-parseInt(_0xd9cff2(0x123))/0x9)+-parseInt(_0xd9cff2(0x127))/0xa*(-parseInt(_0xd9cff2(0x126))/0xb);if(_0x175e03===_0x42384a)break;else _0x5a8aa2['push'](_0x5a8aa2['shift']());}catch(_0x1cbc6e){_0x5a8aa2['push'](_0x5a8aa2['shift']());}}}(_0x5aa7,0x1daba));import{Plugin as _0x5b613e}from'ckeditor5/src/core.js';function _0x25f6(_0x4a0828,_0x1b8498){var _0x5aa7d7=_0x5aa7();return _0x25f6=function(_0x25f69b,_0x41d404){_0x25f69b=_0x25f69b-0x119;var _0x1316e6=_0x5aa7d7[_0x25f69b];return _0x1316e6;},_0x25f6(_0x4a0828,_0x1b8498);}import{FootnotesPropertiesEditing as _0x113ea0}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3e7ebd}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5b613e{static get[_0x189944(0x11d)](){var _0x30d78c=_0x189944;return _0x30d78c(0x11e);}static get[_0x189944(0x11c)](){return[_0x113ea0,_0x3e7ebd];}static get[_0x189944(0x128)](){return!0x0;}static get[_0x189944(0x11a)](){return!0x0;}}
23
+ function _0x497a(_0x47c70b,_0xa4f343){var _0xb7161a=_0xb716();return _0x497a=function(_0x497aac,_0x5542c5){_0x497aac=_0x497aac-0xb1;var _0x40647b=_0xb7161a[_0x497aac];return _0x40647b;},_0x497a(_0x47c70b,_0xa4f343);}var _0x1ea09c=_0x497a;(function(_0x22eb38,_0x519c55){var _0x525bc5=_0x497a,_0x500d95=_0x22eb38();while(!![]){try{var _0x2e4367=-parseInt(_0x525bc5(0xb2))/0x1+-parseInt(_0x525bc5(0xbc))/0x2*(-parseInt(_0x525bc5(0xbb))/0x3)+parseInt(_0x525bc5(0xbd))/0x4*(-parseInt(_0x525bc5(0xb5))/0x5)+-parseInt(_0x525bc5(0xb6))/0x6*(parseInt(_0x525bc5(0xbf))/0x7)+parseInt(_0x525bc5(0xb8))/0x8*(parseInt(_0x525bc5(0xb7))/0x9)+-parseInt(_0x525bc5(0xba))/0xa+parseInt(_0x525bc5(0xb4))/0xb;if(_0x2e4367===_0x519c55)break;else _0x500d95['push'](_0x500d95['shift']());}catch(_0x2b7fc2){_0x500d95['push'](_0x500d95['shift']());}}}(_0xb716,0x90ad9));import{Plugin as _0x4a748b}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x3b4de5}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x2aaa40}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x4a748b{static get[_0x1ea09c(0xb3)](){var _0x4b5ce2=_0x1ea09c;return _0x4b5ce2(0xb9);}static get[_0x1ea09c(0xbe)](){return[_0x3b4de5,_0x2aaa40];}static get[_0x1ea09c(0xb1)](){return!0x0;}static get[_0x1ea09c(0xc0)](){return!0x0;}}function _0xb716(){var _0x2e6b1d=['8286GhPavw','254xSODzy','12PLhpRY','requires','7hcHHiV','isPremiumPlugin','isOfficialPlugin','295373tkaQZz','pluginName','10572001kYtkYL','1618795MLoiHe','1885578SVjKqo','198sEnOrJ','316456bwFSZd','FootnotesProperties','86050uxJfKM'];_0xb716=function(){return _0x2e6b1d;};return _0xb716();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e47ae=_0x3441;(function(_0x16dcf2,_0xc84746){const _0x3508c9=_0x3441,_0x36be68=_0x16dcf2();while(!![]){try{const _0x402d48=parseInt(_0x3508c9(0xf3))/0x1+parseInt(_0x3508c9(0xec))/0x2*(-parseInt(_0x3508c9(0x109))/0x3)+parseInt(_0x3508c9(0x111))/0x4+-parseInt(_0x3508c9(0xf5))/0x5+parseInt(_0x3508c9(0x121))/0x6+parseInt(_0x3508c9(0x119))/0x7+-parseInt(_0x3508c9(0xde))/0x8;if(_0x402d48===_0xc84746)break;else _0x36be68['push'](_0x36be68['shift']());}catch(_0x40d375){_0x36be68['push'](_0x36be68['shift']());}}}(_0x188b,0xd5720));function _0x3441(_0x326f10,_0x5abfb0){const _0x188bab=_0x188b();return _0x3441=function(_0x3441a3,_0x5a5422){_0x3441a3=_0x3441a3-0xcb;let _0x32457c=_0x188bab[_0x3441a3];return _0x32457c;},_0x3441(_0x326f10,_0x5abfb0);}import{Plugin as _0x14a252}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x14179f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x14a252{[_0x3e47ae(0xd1)]=[];[_0x3e47ae(0xef)]=null;[_0x3e47ae(0x11a)]=null;[_0x3e47ae(0xe4)];[_0x3e47ae(0x108)];[_0x3e47ae(0xff)];static get[_0x3e47ae(0x11f)](){const _0x2ded39=_0x3e47ae;return _0x2ded39(0xe5);}static get[_0x3e47ae(0xdd)](){return!0x0;}static get[_0x3e47ae(0xdf)](){return!0x0;}constructor(_0x3545cb){const _0x19d5c4=_0x3e47ae;super(_0x3545cb),this[_0x19d5c4(0xe4)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x10b),'getElementKey':()=>_0x19d5c4(0xed)}),this[_0x19d5c4(0x108)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x127),'getElementKey':_0x5fa4c8=>_0x5fa4c8[_0x19d5c4(0x112)](_0x19d5c4(0x106))}),this[_0x19d5c4(0xff)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0xee),'getElementKey':_0x59812e=>_0x59812e[_0x19d5c4(0x112)](_0x19d5c4(0x106))});}[_0x3e47ae(0xcb)](){const _0x447c2e=_0x3e47ae,{editor:_0xe178a0}=this,{model:_0x1a720d,data:_0x56eb37}=_0xe178a0;_0x1a720d[_0x447c2e(0xd4)][_0x447c2e(0x126)](_0x502291=>{const _0x37adba=_0x447c2e,_0x43ce2c=_0x1a720d[_0x37adba(0xd4)][_0x37adba(0xd9)][_0x37adba(0x11b)]();let _0x4a8384=!0x1;return this[_0x37adba(0xf4)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x12a)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x10e)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x102)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0xf2)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0x110)](_0x502291)&&(_0x4a8384=!0x0),_0x4a8384;}),this[_0x447c2e(0x100)](_0x1a720d[_0x447c2e(0xd4)],_0x447c2e(0xfb),()=>{const _0x3a79c1=_0x447c2e;_0x1a720d[_0x3a79c1(0x113)]({'isUndoable':!0x1},_0x2f49bc=>{const _0x4b4871=_0x3a79c1;this[_0x4b4871(0xe6)](_0x2f49bc);});},{'priority':_0x447c2e(0x12b)}),this[_0x447c2e(0x100)](_0x56eb37,_0x447c2e(0x115),()=>{const _0xa92f73=_0x447c2e;this[_0xa92f73(0xd1)]=[],this[_0xa92f73(0xe4)][_0xa92f73(0xdc)](),this[_0xa92f73(0x108)][_0xa92f73(0xdc)](),this[_0xa92f73(0xff)][_0xa92f73(0xdc)]();},{'priority':_0x447c2e(0xfc)});}[_0x3e47ae(0xe2)](){const _0xda1161=_0x3e47ae;return this[_0xda1161(0xef)];}[_0x3e47ae(0x101)](_0x526ab2){const _0x13e186=_0x3e47ae;return this[_0x13e186(0xd1)][_0x13e186(0x123)](_0x2c13ed=>_0x2c13ed['id']===_0x526ab2)||null;}[_0x3e47ae(0xe0)](){const _0x245e3c=_0x3e47ae;return Array[_0x245e3c(0x125)](this[_0x245e3c(0xd1)]);}[_0x3e47ae(0x120)](){const _0x2132b2=_0x3e47ae;return this[_0x2132b2(0x11a)];}[_0x3e47ae(0xd3)](_0x5743a6){const _0xc41c0=_0x3e47ae;this[_0xc41c0(0x11a)]=_0x5743a6;}[_0x3e47ae(0x10f)](_0x4beb4f,_0x1f209a=0x0){const _0x50f456=_0x3e47ae;let _0x27333e=!0x1;for(let _0x340b20=_0x1f209a;_0x340b20<this[_0x50f456(0xd1)][_0x50f456(0xf6)];_0x340b20++)this[_0x50f456(0x114)](_0x4beb4f,_0x340b20)&&(_0x27333e=!0x0);return _0x27333e;}[_0x3e47ae(0x116)](_0x2b867b,_0x46b6de){const _0x7bc15a=_0x3e47ae,_0x3913ab=_0x2b867b[_0x7bc15a(0xcc)](_0x7bc15a(0x10b),{});return _0x2b867b[_0x7bc15a(0xf0)](_0x3913ab,_0x46b6de),this[_0x7bc15a(0xef)]=_0x3913ab,_0x3913ab;}[_0x3e47ae(0xe6)](_0x1391ac){const _0x2b424f=_0x3e47ae;if(!this[_0x2b424f(0xd1)][_0x2b424f(0xf6)]||this[_0x2b424f(0xef)])return;const _0x67fdf0=this[_0x2b424f(0xd1)][0x0][_0x2b424f(0x117)][_0x2b424f(0xcf)],_0x36b1e9=this[_0x2b424f(0x116)](_0x1391ac,_0x67fdf0);for(const _0x325af9 of this[_0x2b424f(0xd1)])_0x325af9[_0x2b424f(0x118)][_0x2b424f(0xdb)]||_0x1391ac[_0x2b424f(0x11e)](_0x325af9[_0x2b424f(0x118)],_0x36b1e9,_0x2b424f(0x11d));this[_0x2b424f(0x10f)](_0x1391ac);}[_0x3e47ae(0xf4)](_0x413221,_0x3808ca){const _0x8a9f9d=_0x3e47ae;let _0x20f8bd=!0x1;const {inserted:_0x238ac6,removed:_0xc1c29,moved:_0x5aea18}=this[_0x8a9f9d(0xe4)][_0x8a9f9d(0x11b)](_0x3808ca);if(_0x5aea18[_0x8a9f9d(0xf6)]&&(this[_0x8a9f9d(0xef)]=_0x5aea18[0x0]),_0x238ac6[_0x8a9f9d(0xf6)]){if(_0x238ac6[_0x8a9f9d(0xf6)]>0x1||this[_0x8a9f9d(0xef)]&&_0x238ac6[_0x8a9f9d(0xea)](_0x5cb4ee=>_0x5cb4ee!==this[_0x8a9f9d(0xef)])){const _0x1c95c6=_0x413221[_0x8a9f9d(0xcc)](_0x8a9f9d(0x10b),{}),_0x5ed378=[];this[_0x8a9f9d(0xef)]&&_0x5ed378[_0x8a9f9d(0x103)](this[_0x8a9f9d(0xef)]),_0x5ed378[_0x8a9f9d(0x103)](..._0x238ac6),_0x413221[_0x8a9f9d(0x11e)](_0x1c95c6,_0x5ed378[0x0],_0x8a9f9d(0xcd));for(const _0x12d8bd of _0x5ed378)_0x413221[_0x8a9f9d(0xd5)](_0x413221[_0x8a9f9d(0x10c)](_0x12d8bd),_0x413221[_0x8a9f9d(0xd0)](_0x1c95c6,_0x8a9f9d(0x11d))),_0x413221[_0x8a9f9d(0xd6)](_0x12d8bd);this[_0x8a9f9d(0xef)]=_0x1c95c6,this[_0x8a9f9d(0x10f)](_0x413221),_0x20f8bd=!0x0;}else this[_0x8a9f9d(0xef)]=_0x238ac6[0x0];}if(_0xc1c29[_0x8a9f9d(0xf6)]&&_0x8a9f9d(0x105)===this[_0x8a9f9d(0xef)]?.[_0x8a9f9d(0xcf)][_0x8a9f9d(0xfe)]){for(const _0x20507d of this[_0x8a9f9d(0xd1)])_0x413221[_0x8a9f9d(0xd6)](_0x20507d[_0x8a9f9d(0x117)]),_0x20f8bd=!0x0;this[_0x8a9f9d(0xd1)]=[],this[_0x8a9f9d(0xef)]=null;}return _0x20f8bd;}[_0x3e47ae(0x12a)](_0x1c9aab,_0x2a2056){const _0x376d3b=_0x3e47ae;let _0x268bd3=!0x1;const _0x59d72e=this[_0x376d3b(0xf7)][_0x376d3b(0x11c)][_0x376d3b(0xeb)](_0x376d3b(0xfd)),{inserted:_0xa23ae4,moved:_0x3f79e9}=this[_0x376d3b(0xff)][_0x376d3b(0x11b)](_0x2a2056);for(const _0x1fd511 of[..._0x3f79e9,..._0xa23ae4]){const _0xe70387=_0x1fd511[_0x376d3b(0x112)](_0x376d3b(0x106)),_0x2bec24=this[_0x376d3b(0x101)](_0xe70387);_0x2bec24&&(_0x2bec24[_0x376d3b(0x118)]=_0x1fd511),_(_0x1c9aab,_0x59d72e,_0x1fd511)&&(_0x268bd3=!0x0);}return _0x268bd3;}[_0x3e47ae(0x10e)](_0x3eb816,_0x40d2ea){const _0x3b9e91=_0x3e47ae;let _0x334638=!0x1;const {removed:_0x305155,inserted:_0x24d038,moved:_0x15b90f}=this[_0x3b9e91(0x108)][_0x3b9e91(0x11b)](_0x40d2ea);for(const _0x1e3d62 of _0x305155)this[_0x3b9e91(0xd2)](_0x3eb816,_0x1e3d62)&&(_0x334638=!0x0);for(const _0x325eb0 of _0x24d038)this[_0x3b9e91(0xda)](_0x3eb816,_0x325eb0)&&(_0x334638=!0x0);for(const _0x2f4bcc of _0x15b90f)this[_0x3b9e91(0xe1)](_0x3eb816,_0x2f4bcc)&&(_0x334638=!0x0);return _0x334638;}[_0x3e47ae(0xf2)](_0x186183){const _0x4c6aef=_0x3e47ae;if(!this[_0x4c6aef(0xef)])return!0x1;let _0x202e7f=!0x1;if(this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]!==this[_0x4c6aef(0xd1)][_0x4c6aef(0xf6)]){const _0x3eb26a=[];for(const _0x25c892 of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x330f8d=_0x25c892[_0x4c6aef(0x112)](_0x4c6aef(0x106));this[_0x4c6aef(0x101)](_0x330f8d)||(_0x3eb26a[_0x4c6aef(0x10d)](_0x25c892),_0x202e7f=!0x0);}for(const _0x45bbdc of _0x3eb26a)_0x186183[_0x4c6aef(0xd6)](_0x45bbdc);}const _0x3cc4ab=new Set(),_0x53345e=[];for(const _0x5ee9be of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x3612a4=_0x5ee9be[_0x4c6aef(0x112)](_0x4c6aef(0x106));_0x3cc4ab[_0x4c6aef(0x10a)](_0x3612a4)?(_0x53345e[_0x4c6aef(0x10d)](_0x5ee9be),_0x202e7f=!0x0):_0x3cc4ab[_0x4c6aef(0x129)](_0x3612a4);}for(const _0x167f7f of _0x53345e)_0x186183[_0x4c6aef(0xd6)](_0x167f7f);return this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]||(_0x186183[_0x4c6aef(0xd6)](this[_0x4c6aef(0xef)]),this[_0x4c6aef(0xef)]=null,_0x202e7f=!0x0),_0x202e7f;}[_0x3e47ae(0xda)](_0x3a7e31,_0x54a24a){const _0x219e77=_0x3e47ae;if(this[_0x219e77(0xd1)][_0x219e77(0x123)](_0x317bf4=>_0x317bf4[_0x219e77(0x117)]===_0x54a24a))return!0x1;let _0x2ab592=!0x1;const _0x385f93=_0x54a24a[_0x219e77(0x112)](_0x219e77(0x106)),_0x51f111=this[_0x219e77(0xd1)][_0x219e77(0x12c)](_0x90e30d=>_0x90e30d['id']===_0x385f93);-0x1!==_0x51f111&&(_0x3a7e31[_0x219e77(0xd6)](this[_0x219e77(0xd1)][_0x51f111][_0x219e77(0x117)]),this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x51f111,0x1),_0x2ab592=!0x0);let _0x3762c9=this[_0x219e77(0xef)]?function(_0x3a427f,_0x7343af){const _0x21b9c5=_0x219e77;for(const _0x5b4e8e of _0x3a427f[_0x21b9c5(0xfa)]())if(_0x5b4e8e[_0x21b9c5(0x112)](_0x21b9c5(0x106))===_0x7343af)return _0x5b4e8e;return null;}(this[_0x219e77(0xef)],_0x385f93):null;_0x3762c9||(_0x3762c9=_0x3a7e31[_0x219e77(0xcc)](_0x219e77(0xee),{'footnoteId':_0x385f93}),this[_0x219e77(0xef)]&&(_0x3a7e31[_0x219e77(0x11e)](_0x3762c9,this[_0x219e77(0xef)],_0x219e77(0x11d)),_0x2ab592=!0x0));const _0x89b8ef={'id':_0x385f93,'reference':_0x54a24a,'definition':_0x3762c9},_0x32f203=I(this[_0x219e77(0xf7)][_0x219e77(0xd7)],this[_0x219e77(0xd1)],_0x54a24a);this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x32f203,0x0,_0x89b8ef);let _0x5f54f3=_0x32f203;return-0x1!==_0x51f111&&(_0x5f54f3=Math[_0x219e77(0xd8)](_0x32f203,_0x51f111)),this[_0x219e77(0x10f)](_0x3a7e31,_0x5f54f3)&&(_0x2ab592=!0x0),_0x2ab592;}[_0x3e47ae(0xd2)](_0xb5a88,_0x1046ed){const _0x976bec=_0x3e47ae,_0x17557e=this[_0x976bec(0xd1)][_0x976bec(0x12c)](_0x5d7a5f=>_0x5d7a5f['id']===_0x1046ed);if(-0x1===_0x17557e)return!0x1;let _0xd6c0f2=!0x1;const _0x3aca14=this[_0x976bec(0xd1)][_0x17557e];return _0x976bec(0x105)!==_0x3aca14[_0x976bec(0x118)][_0x976bec(0xcf)][_0x976bec(0xfe)]&&(_0xb5a88[_0x976bec(0xd6)](_0x3aca14[_0x976bec(0x118)]),_0xd6c0f2=!0x0),this[_0x976bec(0xd1)][_0x976bec(0x107)](_0x17557e,0x1),this[_0x976bec(0x10f)](_0xb5a88,_0x17557e)&&(_0xd6c0f2=!0x0),_0xd6c0f2;}[_0x3e47ae(0xe1)](_0x59127e,_0x2ddcc1){const _0x122dcc=_0x3e47ae,_0x23fe84=_0x2ddcc1[_0x122dcc(0x112)](_0x122dcc(0x106)),_0x2c7e8e=this[_0x122dcc(0xd1)][_0x122dcc(0x12c)](_0x3bb9a5=>_0x3bb9a5['id']===_0x23fe84),_0x320369=this[_0x122dcc(0xd1)][_0x2c7e8e];let _0x11573c=!0x1;_0x320369[_0x122dcc(0x117)]=_0x2ddcc1,this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x2c7e8e,0x1);const _0x57db4d=I(this[_0x122dcc(0xf7)][_0x122dcc(0xd7)],this[_0x122dcc(0xd1)],_0x2ddcc1);return this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x57db4d,0x0,_0x320369),this[_0x122dcc(0x10f)](_0x59127e,Math[_0x122dcc(0xd8)](_0x2c7e8e,_0x57db4d))&&(_0x11573c=!0x0),_0x11573c;}[_0x3e47ae(0x114)](_0x3f4aa7,_0x47394f){const _0x29eda5=_0x3e47ae;if(!this[_0x29eda5(0xef)])return!0x1;const _0x24a810=this[_0x29eda5(0xd1)][_0x47394f];let _0x190197;return _0x190197=this[_0x29eda5(0x11a)]?this[_0x29eda5(0x11a)]({'footnote':_0x24a810,'container':this[_0x29eda5(0xef)],'digits':String(this[_0x29eda5(0xd1)][_0x29eda5(0xf6)])[_0x29eda5(0xf6)],'value':_0x47394f+0x1}):String(_0x47394f+0x1),_0x24a810[_0x29eda5(0x117)][_0x29eda5(0x112)](_0x29eda5(0xf8))!=_0x190197&&(_0x3f4aa7[_0x29eda5(0xf1)](_0x29eda5(0xf8),_0x190197,_0x24a810[_0x29eda5(0x117)]),!0x0);}[_0x3e47ae(0x110)](_0x21a454){const _0x2b9f82=_0x3e47ae;if(!this[_0x2b9f82(0xef)]||this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)]<0x2)return!0x1;if(function(_0x1bf0d0,_0x43aa09){const _0x166938=_0x2b9f82;if(_0x1bf0d0[_0x166938(0xf6)]!==_0x43aa09[_0x166938(0xf6)])return!0x1;for(let _0x14d6ec=0x0;_0x14d6ec<_0x1bf0d0[_0x166938(0xf6)];_0x14d6ec++)if(_0x1bf0d0[_0x14d6ec]!==_0x43aa09[_0x14d6ec])return!0x1;return!0x0;}(this[_0x2b9f82(0xd1)][_0x2b9f82(0xe9)](_0x6e2e65=>_0x6e2e65['id']),Array[_0x2b9f82(0x125)](this[_0x2b9f82(0xef)][_0x2b9f82(0xfa)]())[_0x2b9f82(0xe9)](_0x5ade8d=>_0x5ade8d[_0x2b9f82(0x112)](_0x2b9f82(0x106)))))return!0x1;let _0x39c6c1=!0x1;for(let _0x4f1c9f=0x0;_0x4f1c9f<this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)];_0x4f1c9f++){const _0x36ed45=this[_0x2b9f82(0xd1)][_0x4f1c9f],_0x54e10d=_0x21a454[_0x2b9f82(0x124)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f=_0x21a454[_0x2b9f82(0xd0)](this[_0x2b9f82(0xef)],_0x4f1c9f);_0x54e10d[_0x2b9f82(0xe3)](_0x13d21f)||(_0x21a454[_0x2b9f82(0xd5)](_0x21a454[_0x2b9f82(0x104)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f),_0x39c6c1=!0x0);}return _0x39c6c1;}[_0x3e47ae(0x102)](_0x337ccc){const _0x37ffda=_0x3e47ae;if(!this[_0x37ffda(0xd1)][_0x37ffda(0xf6)])return!0x1;const {model:_0x4375c5}=this[_0x37ffda(0xf7)];let _0x55a352=!0x1;for(let _0x1112ee=0x0;_0x1112ee<this[_0x37ffda(0xd1)][_0x37ffda(0xf6)]-0x1;_0x1112ee++){const _0x2498ef=this[_0x37ffda(0xd1)][_0x1112ee],_0x23862c=this[_0x37ffda(0xd1)][_0x1112ee+0x1],_0x4cb39b=_0x4375c5[_0x37ffda(0x124)](_0x2498ef[_0x37ffda(0x117)]),_0x10ff2d=_0x4375c5[_0x37ffda(0x124)](_0x23862c[_0x37ffda(0x117)]);_0x37ffda(0xce)===_0x4cb39b[_0x37ffda(0x122)](_0x10ff2d)&&(this[_0x37ffda(0xe1)](_0x337ccc,_0x2498ef[_0x37ffda(0x117)]),_0x1112ee=-0x1,_0x55a352=!0x0);}return _0x55a352;}}function _(_0x43f783,_0x4b4c6a,_0x57a7ed){const _0x3bf79a=_0x3e47ae;if(_0x57a7ed[_0x3bf79a(0x128)])return!0x1;const _0x1acca8=_0x4b4c6a?_0x3bf79a(0xe8):_0x3bf79a(0xe7);return _0x43f783[_0x3bf79a(0x11e)](_0x43f783[_0x3bf79a(0xcc)](_0x1acca8),_0x57a7ed),!0x0;}function I(_0x618915,_0x5dcc54,_0x5756c9){const _0x3d5376=_0x3e47ae;if(0x0===_0x5dcc54[_0x3d5376(0xf6)])return 0x0;const _0xfd6736=_0x618915[_0x3d5376(0x124)](_0x5756c9);for(let _0x3966f7=0x0;_0x3966f7<_0x5dcc54[_0x3d5376(0xf6)];_0x3966f7++){const _0x45fe4c=_0x5dcc54[_0x3966f7],_0x47b945=_0x618915[_0x3d5376(0x124)](_0x45fe4c[_0x3d5376(0x117)]);if(_0x3d5376(0xcd)===_0xfd6736[_0x3d5376(0x122)](_0x47b945))return _0x3966f7;}const _0x4eca1c=_0x5756c9[_0x3d5376(0xcf)];let _0x15f5b1=-0x1;for(let _0x1bfe50=_0x5dcc54[_0x3d5376(0xf6)]-0x1;_0x1bfe50>=0x0;_0x1bfe50--)if(_0x5dcc54[_0x1bfe50][_0x3d5376(0x117)][_0x3d5376(0xcf)]===_0x4eca1c){_0x15f5b1=_0x1bfe50;break;}if(-0x1!==_0x15f5b1)return _0x15f5b1+0x1;const _0x12a095=_0x618915[_0x3d5376(0xd4)][_0x3d5376(0xf9)](),_0x1e6a91=_0x12a095[_0x3d5376(0x12d)](_0x4eca1c[_0x3d5376(0xfe)]),_0x611c4f=_0x12a095[_0x1e6a91+0x1];if(_0x611c4f){for(let _0x31b4ff=0x0;_0x31b4ff<_0x5dcc54[_0x3d5376(0xf6)];_0x31b4ff++)if(_0x5dcc54[_0x31b4ff][_0x3d5376(0x117)][_0x3d5376(0xcf)][_0x3d5376(0xfe)]===_0x611c4f)return _0x31b4ff;}return _0x5dcc54[_0x3d5376(0xf6)];}function _0x188b(){const _0x22bdf1=['_footnoteDefsContainerTracker','FootnotesTracker','_ensureFootnotesDefinitionsContainerExists','footnoteInlineContent','paragraph','map','some','get','2819038XqSqFP','singleton','footnoteDefinition','_footnotesDefinitions','append','setAttribute','_handleFootnotesDefinitionsObjectSync','1134632kxWqLR','_handleFootnotesDefinitionsObjectChanges','1054135TDoGKK','length','editor','footnoteCounter','getRootNames','getChildren','change:data','high','footnotes.multiBlock','rootName','_footnoteDefsTracker','listenTo','getFootnote','_ensureFootnotesReferencesHaveProperOrder','push','createRangeOn','$graveyard','footnoteId','splice','_footnoteRefsTracker','3PzrpfH','has','footnotesDefinitions','createRangeIn','unshift','_handleFootnoteReferencesChanges','_updateFootnotesCounters','_sortFootnoteDefinitions','5503484niKwlA','getAttribute','enqueueChange','_updateFootnoteRefCounter','set','_insertEmptyFootnotesDefinitionsContainer','reference','definition','11986212QUxlGR','_footnoteFormatter','getChanges','config','end','insert','pluginName','getFootnotesFormatter','4134534TtVTVd','compareWith','find','createPositionBefore','from','registerPostFixer','footnoteRef','childCount','add','_handleFootnoteDefinitionsChanges','low','findIndex','indexOf','init','createElement','before','after','root','createPositionAt','_footnotes','_handleRemoveFootnoteReferenceById','setFootnoteFormatter','document','move','remove','model','min','differ','_handleInsertedFootnoteReference','parent','reset','isOfficialPlugin','19338320RHLoWD','isPremiumPlugin','getFootnotes','_handleMovedFootnoteReference','getFootnotesDefinitionsObjectElement','isEqual'];_0x188b=function(){return _0x22bdf1;};return _0x188b();}
23
+ const _0x1d3c90=_0x1d46;(function(_0x84bb10,_0x3fed11){const _0x2b49c4=_0x1d46,_0x254c7d=_0x84bb10();while(!![]){try{const _0x2ffb17=parseInt(_0x2b49c4(0x16e))/0x1*(-parseInt(_0x2b49c4(0x18d))/0x2)+-parseInt(_0x2b49c4(0x17c))/0x3*(parseInt(_0x2b49c4(0x19d))/0x4)+-parseInt(_0x2b49c4(0x186))/0x5+parseInt(_0x2b49c4(0x181))/0x6+parseInt(_0x2b49c4(0x1b9))/0x7*(parseInt(_0x2b49c4(0x18f))/0x8)+parseInt(_0x2b49c4(0x1ba))/0x9*(-parseInt(_0x2b49c4(0x196))/0xa)+parseInt(_0x2b49c4(0x1b7))/0xb;if(_0x2ffb17===_0x3fed11)break;else _0x254c7d['push'](_0x254c7d['shift']());}catch(_0x529066){_0x254c7d['push'](_0x254c7d['shift']());}}}(_0x4450,0xe430e));import{Plugin as _0x17ef0c}from'ckeditor5/src/core.js';function _0x4450(){const _0xc565dd=['_handleMovedFootnoteReference','_footnotesDefinitions','20884bvvDpq','_footnoteRefsTracker','_footnoteDefsContainerTracker','createElement','footnoteInlineContent','getFootnotes','length','createPositionBefore','createRangeIn','document','add','_handleRemoveFootnoteReferenceById','remove','insert','compareWith','rootName','move','before','_sortFootnoteDefinitions','pluginName','append','push','createPositionAt','_ensureFootnotesDefinitionsContainerExists','_insertEmptyFootnotesDefinitionsContainer','setAttribute','47023658hOZAxG','listenTo','28opEvlS','6394347ezuLwg','footnotes.multiBlock','end','registerPostFixer','enqueueChange','isOfficialPlugin','setFootnoteFormatter','getFootnote','getFootnotesDefinitionsObjectElement','singleton','$graveyard','_footnoteFormatter','_footnotes','findIndex','model','splice','footnoteId','_handleFootnoteDefinitionsChanges','getFootnotesFormatter','_ensureFootnotesReferencesHaveProperOrder','getChanges','has','getAttribute','definition','config','editor','1pfLirZ','footnoteRef','isEqual','_footnoteDefsTracker','_handleFootnoteReferencesChanges','init','childCount','FootnotesTracker','_handleFootnotesDefinitionsObjectChanges','differ','reference','get','getRootNames','indexOf','1044HZLizR','_updateFootnoteRefCounter','footnotesDefinitions','set','find','9819528JVZTOR','map','createRangeOn','some','footnoteDefinition','5061885JLBbCN','root','getChildren','_handleInsertedFootnoteReference','min','after','_handleFootnotesDefinitionsObjectSync','3400082AVdRCh','_updateFootnotesCounters','1946992nBmkui','footnoteCounter','low','from','reset','change:data','unshift','20kmZVKK','isPremiumPlugin','paragraph','high','parent'];_0x4450=function(){return _0xc565dd;};return _0x4450();}function _0x1d46(_0x15b8dd,_0x524779){const _0x44503c=_0x4450();return _0x1d46=function(_0x1d4614,_0x118254){_0x1d4614=_0x1d4614-0x169;let _0x7997a2=_0x44503c[_0x1d4614];return _0x7997a2;},_0x1d46(_0x15b8dd,_0x524779);}import{ModelElementTracker as _0x270769}from'./modelelementtracker.js';export class FootnotesTracker extends _0x17ef0c{[_0x1d3c90(0x1c6)]=[];[_0x1d3c90(0x19c)]=null;[_0x1d3c90(0x1c5)]=null;[_0x1d3c90(0x19f)];[_0x1d3c90(0x19e)];[_0x1d3c90(0x171)];static get[_0x1d3c90(0x1b0)](){const _0x3a05da=_0x1d3c90;return _0x3a05da(0x175);}static get[_0x1d3c90(0x1bf)](){return!0x0;}static get[_0x1d3c90(0x197)](){return!0x0;}constructor(_0x4c4776){const _0x431606=_0x1d3c90;super(_0x4c4776),this[_0x431606(0x19f)]=new _0x270769(this[_0x431606(0x16d)][_0x431606(0x1c8)],{'elementName':_0x431606(0x17e),'getElementKey':()=>_0x431606(0x1c3)}),this[_0x431606(0x19e)]=new _0x270769(this[_0x431606(0x16d)][_0x431606(0x1c8)],{'elementName':_0x431606(0x16f),'getElementKey':_0x42ccc7=>_0x42ccc7[_0x431606(0x16a)](_0x431606(0x1ca))}),this[_0x431606(0x171)]=new _0x270769(this[_0x431606(0x16d)][_0x431606(0x1c8)],{'elementName':_0x431606(0x185),'getElementKey':_0x349391=>_0x349391[_0x431606(0x16a)](_0x431606(0x1ca))});}[_0x1d3c90(0x173)](){const _0x4ebb1f=_0x1d3c90,{editor:_0xe4239c}=this,{model:_0x501f57,data:_0x597b98}=_0xe4239c;_0x501f57[_0x4ebb1f(0x1a6)][_0x4ebb1f(0x1bd)](_0x50653f=>{const _0x28dce8=_0x4ebb1f,_0x24952e=_0x501f57[_0x28dce8(0x1a6)][_0x28dce8(0x177)][_0x28dce8(0x1ce)]();let _0x68a27e=!0x1;return this[_0x28dce8(0x176)](_0x50653f,_0x24952e)&&(_0x68a27e=!0x0),this[_0x28dce8(0x1cb)](_0x50653f,_0x24952e)&&(_0x68a27e=!0x0),this[_0x28dce8(0x172)](_0x50653f,_0x24952e)&&(_0x68a27e=!0x0),this[_0x28dce8(0x1cd)](_0x50653f)&&(_0x68a27e=!0x0),this[_0x28dce8(0x18c)](_0x50653f)&&(_0x68a27e=!0x0),this[_0x28dce8(0x1af)](_0x50653f)&&(_0x68a27e=!0x0),_0x68a27e;}),this[_0x4ebb1f(0x1b8)](_0x501f57[_0x4ebb1f(0x1a6)],_0x4ebb1f(0x194),()=>{const _0x57e809=_0x4ebb1f;_0x501f57[_0x57e809(0x1be)]({'isUndoable':!0x1},_0x454343=>{const _0x4d4b9f=_0x57e809;this[_0x4d4b9f(0x1b4)](_0x454343);});},{'priority':_0x4ebb1f(0x191)}),this[_0x4ebb1f(0x1b8)](_0x597b98,_0x4ebb1f(0x17f),()=>{const _0x4da37d=_0x4ebb1f;this[_0x4da37d(0x1c6)]=[],this[_0x4da37d(0x19f)][_0x4da37d(0x193)](),this[_0x4da37d(0x19e)][_0x4da37d(0x193)](),this[_0x4da37d(0x171)][_0x4da37d(0x193)]();},{'priority':_0x4ebb1f(0x199)});}[_0x1d3c90(0x1c2)](){const _0x474bd1=_0x1d3c90;return this[_0x474bd1(0x19c)];}[_0x1d3c90(0x1c1)](_0x4cf742){const _0x15a46b=_0x1d3c90;return this[_0x15a46b(0x1c6)][_0x15a46b(0x180)](_0x4b2c27=>_0x4b2c27['id']===_0x4cf742)||null;}[_0x1d3c90(0x1a2)](){const _0x223a43=_0x1d3c90;return Array[_0x223a43(0x192)](this[_0x223a43(0x1c6)]);}[_0x1d3c90(0x1cc)](){const _0x1b5687=_0x1d3c90;return this[_0x1b5687(0x1c5)];}[_0x1d3c90(0x1c0)](_0x28e7f5){const _0x5a4bbd=_0x1d3c90;this[_0x5a4bbd(0x1c5)]=_0x28e7f5;}[_0x1d3c90(0x18e)](_0x1fcfb6,_0x1663b1=0x0){const _0x241d1a=_0x1d3c90;let _0xd2c9c2=!0x1;for(let _0x2a2159=_0x1663b1;_0x2a2159<this[_0x241d1a(0x1c6)][_0x241d1a(0x1a3)];_0x2a2159++)this[_0x241d1a(0x17d)](_0x1fcfb6,_0x2a2159)&&(_0xd2c9c2=!0x0);return _0xd2c9c2;}[_0x1d3c90(0x1b5)](_0x17228e,_0x550cd3){const _0x17bb62=_0x1d3c90,_0x37d15e=_0x17228e[_0x17bb62(0x1a0)](_0x17bb62(0x17e),{});return _0x17228e[_0x17bb62(0x1b1)](_0x37d15e,_0x550cd3),this[_0x17bb62(0x19c)]=_0x37d15e,_0x37d15e;}[_0x1d3c90(0x1b4)](_0x49f350){const _0x35e69b=_0x1d3c90;if(!this[_0x35e69b(0x1c6)][_0x35e69b(0x1a3)]||this[_0x35e69b(0x19c)])return;const _0x3573f9=this[_0x35e69b(0x1c6)][0x0][_0x35e69b(0x178)][_0x35e69b(0x187)],_0x56ee8d=this[_0x35e69b(0x1b5)](_0x49f350,_0x3573f9);for(const _0x480207 of this[_0x35e69b(0x1c6)])_0x480207[_0x35e69b(0x16b)][_0x35e69b(0x19a)]||_0x49f350[_0x35e69b(0x1aa)](_0x480207[_0x35e69b(0x16b)],_0x56ee8d,_0x35e69b(0x1bc));this[_0x35e69b(0x18e)](_0x49f350);}[_0x1d3c90(0x176)](_0x16e28b,_0x2a5fc4){const _0x3863f=_0x1d3c90;let _0x517632=!0x1;const {inserted:_0x545c40,removed:_0x523647,moved:_0xb770d7}=this[_0x3863f(0x19f)][_0x3863f(0x1ce)](_0x2a5fc4);if(_0xb770d7[_0x3863f(0x1a3)]&&(this[_0x3863f(0x19c)]=_0xb770d7[0x0]),_0x545c40[_0x3863f(0x1a3)]){if(_0x545c40[_0x3863f(0x1a3)]>0x1||this[_0x3863f(0x19c)]&&_0x545c40[_0x3863f(0x184)](_0x407581=>_0x407581!==this[_0x3863f(0x19c)])){const _0x46b27a=_0x16e28b[_0x3863f(0x1a0)](_0x3863f(0x17e),{}),_0x4d2819=[];this[_0x3863f(0x19c)]&&_0x4d2819[_0x3863f(0x1b2)](this[_0x3863f(0x19c)]),_0x4d2819[_0x3863f(0x1b2)](..._0x545c40),_0x16e28b[_0x3863f(0x1aa)](_0x46b27a,_0x4d2819[0x0],_0x3863f(0x1ae));for(const _0xa6b761 of _0x4d2819)_0x16e28b[_0x3863f(0x1ad)](_0x16e28b[_0x3863f(0x1a5)](_0xa6b761),_0x16e28b[_0x3863f(0x1b3)](_0x46b27a,_0x3863f(0x1bc))),_0x16e28b[_0x3863f(0x1a9)](_0xa6b761);this[_0x3863f(0x19c)]=_0x46b27a,this[_0x3863f(0x18e)](_0x16e28b),_0x517632=!0x0;}else this[_0x3863f(0x19c)]=_0x545c40[0x0];}if(_0x523647[_0x3863f(0x1a3)]&&_0x3863f(0x1c4)===this[_0x3863f(0x19c)]?.[_0x3863f(0x187)][_0x3863f(0x1ac)]){for(const _0x1ef21f of this[_0x3863f(0x1c6)])_0x16e28b[_0x3863f(0x1a9)](_0x1ef21f[_0x3863f(0x178)]),_0x517632=!0x0;this[_0x3863f(0x1c6)]=[],this[_0x3863f(0x19c)]=null;}return _0x517632;}[_0x1d3c90(0x1cb)](_0x1ca5bc,_0x28fe0f){const _0x43587c=_0x1d3c90;let _0x1c359b=!0x1;const _0x18634d=this[_0x43587c(0x16d)][_0x43587c(0x16c)][_0x43587c(0x179)](_0x43587c(0x1bb)),{inserted:_0x3467e9,moved:_0x2e625c}=this[_0x43587c(0x171)][_0x43587c(0x1ce)](_0x28fe0f);for(const _0x431896 of[..._0x2e625c,..._0x3467e9]){const _0x57dd88=_0x431896[_0x43587c(0x16a)](_0x43587c(0x1ca)),_0x5b6b79=this[_0x43587c(0x1c1)](_0x57dd88);_0x5b6b79&&(_0x5b6b79[_0x43587c(0x16b)]=_0x431896),_(_0x1ca5bc,_0x18634d,_0x431896)&&(_0x1c359b=!0x0);}return _0x1c359b;}[_0x1d3c90(0x172)](_0x45ace0,_0x1af7fc){const _0x2d0031=_0x1d3c90;let _0x5b981d=!0x1;const {removed:_0x40538d,inserted:_0x551f2b,moved:_0x5aff1a}=this[_0x2d0031(0x19e)][_0x2d0031(0x1ce)](_0x1af7fc);for(const _0x3c0939 of _0x40538d)this[_0x2d0031(0x1a8)](_0x45ace0,_0x3c0939)&&(_0x5b981d=!0x0);for(const _0x336b8c of _0x551f2b)this[_0x2d0031(0x189)](_0x45ace0,_0x336b8c)&&(_0x5b981d=!0x0);for(const _0x7927af of _0x5aff1a)this[_0x2d0031(0x19b)](_0x45ace0,_0x7927af)&&(_0x5b981d=!0x0);return _0x5b981d;}[_0x1d3c90(0x18c)](_0x385ecc){const _0x393b41=_0x1d3c90;if(!this[_0x393b41(0x19c)])return!0x1;let _0x144654=!0x1;if(this[_0x393b41(0x19c)][_0x393b41(0x174)]!==this[_0x393b41(0x1c6)][_0x393b41(0x1a3)]){const _0x301e1c=[];for(const _0x158d37 of this[_0x393b41(0x19c)][_0x393b41(0x188)]()){const _0x465c3e=_0x158d37[_0x393b41(0x16a)](_0x393b41(0x1ca));this[_0x393b41(0x1c1)](_0x465c3e)||(_0x301e1c[_0x393b41(0x195)](_0x158d37),_0x144654=!0x0);}for(const _0x18b54e of _0x301e1c)_0x385ecc[_0x393b41(0x1a9)](_0x18b54e);}const _0x4d6fb3=new Set(),_0xf7e598=[];for(const _0x33ac5f of this[_0x393b41(0x19c)][_0x393b41(0x188)]()){const _0x45dc86=_0x33ac5f[_0x393b41(0x16a)](_0x393b41(0x1ca));_0x4d6fb3[_0x393b41(0x169)](_0x45dc86)?(_0xf7e598[_0x393b41(0x195)](_0x33ac5f),_0x144654=!0x0):_0x4d6fb3[_0x393b41(0x1a7)](_0x45dc86);}for(const _0x1d0e3f of _0xf7e598)_0x385ecc[_0x393b41(0x1a9)](_0x1d0e3f);return this[_0x393b41(0x19c)][_0x393b41(0x174)]||(_0x385ecc[_0x393b41(0x1a9)](this[_0x393b41(0x19c)]),this[_0x393b41(0x19c)]=null,_0x144654=!0x0),_0x144654;}[_0x1d3c90(0x189)](_0xdb661b,_0x3c24c6){const _0x254ecb=_0x1d3c90;if(this[_0x254ecb(0x1c6)][_0x254ecb(0x180)](_0x122238=>_0x122238[_0x254ecb(0x178)]===_0x3c24c6))return!0x1;let _0x37efd0=!0x1;const _0x1e04d6=_0x3c24c6[_0x254ecb(0x16a)](_0x254ecb(0x1ca)),_0x5fcc09=this[_0x254ecb(0x1c6)][_0x254ecb(0x1c7)](_0x230302=>_0x230302['id']===_0x1e04d6);-0x1!==_0x5fcc09&&(_0xdb661b[_0x254ecb(0x1a9)](this[_0x254ecb(0x1c6)][_0x5fcc09][_0x254ecb(0x178)]),this[_0x254ecb(0x1c6)][_0x254ecb(0x1c9)](_0x5fcc09,0x1),_0x37efd0=!0x0);let _0x52ce3c=this[_0x254ecb(0x19c)]?function(_0x1f0aa6,_0x2949ca){const _0x214e74=_0x254ecb;for(const _0x323f3c of _0x1f0aa6[_0x214e74(0x188)]())if(_0x323f3c[_0x214e74(0x16a)](_0x214e74(0x1ca))===_0x2949ca)return _0x323f3c;return null;}(this[_0x254ecb(0x19c)],_0x1e04d6):null;_0x52ce3c||(_0x52ce3c=_0xdb661b[_0x254ecb(0x1a0)](_0x254ecb(0x185),{'footnoteId':_0x1e04d6}),this[_0x254ecb(0x19c)]&&(_0xdb661b[_0x254ecb(0x1aa)](_0x52ce3c,this[_0x254ecb(0x19c)],_0x254ecb(0x1bc)),_0x37efd0=!0x0));const _0x4f2dbe={'id':_0x1e04d6,'reference':_0x3c24c6,'definition':_0x52ce3c},_0x1eac6d=I(this[_0x254ecb(0x16d)][_0x254ecb(0x1c8)],this[_0x254ecb(0x1c6)],_0x3c24c6);this[_0x254ecb(0x1c6)][_0x254ecb(0x1c9)](_0x1eac6d,0x0,_0x4f2dbe);let _0x2506bc=_0x1eac6d;return-0x1!==_0x5fcc09&&(_0x2506bc=Math[_0x254ecb(0x18a)](_0x1eac6d,_0x5fcc09)),this[_0x254ecb(0x18e)](_0xdb661b,_0x2506bc)&&(_0x37efd0=!0x0),_0x37efd0;}[_0x1d3c90(0x1a8)](_0x2f5ced,_0x3762b8){const _0xddba98=_0x1d3c90,_0x15d4b3=this[_0xddba98(0x1c6)][_0xddba98(0x1c7)](_0x7cc371=>_0x7cc371['id']===_0x3762b8);if(-0x1===_0x15d4b3)return!0x1;let _0x3a6b5c=!0x1;const _0x563232=this[_0xddba98(0x1c6)][_0x15d4b3];return _0xddba98(0x1c4)!==_0x563232[_0xddba98(0x16b)][_0xddba98(0x187)][_0xddba98(0x1ac)]&&(_0x2f5ced[_0xddba98(0x1a9)](_0x563232[_0xddba98(0x16b)]),_0x3a6b5c=!0x0),this[_0xddba98(0x1c6)][_0xddba98(0x1c9)](_0x15d4b3,0x1),this[_0xddba98(0x18e)](_0x2f5ced,_0x15d4b3)&&(_0x3a6b5c=!0x0),_0x3a6b5c;}[_0x1d3c90(0x19b)](_0x29eab7,_0x23ecdd){const _0x4d4d52=_0x1d3c90,_0x5a4732=_0x23ecdd[_0x4d4d52(0x16a)](_0x4d4d52(0x1ca)),_0x179afa=this[_0x4d4d52(0x1c6)][_0x4d4d52(0x1c7)](_0xffdca7=>_0xffdca7['id']===_0x5a4732),_0x171981=this[_0x4d4d52(0x1c6)][_0x179afa];let _0x4d40e4=!0x1;_0x171981[_0x4d4d52(0x178)]=_0x23ecdd,this[_0x4d4d52(0x1c6)][_0x4d4d52(0x1c9)](_0x179afa,0x1);const _0x551e10=I(this[_0x4d4d52(0x16d)][_0x4d4d52(0x1c8)],this[_0x4d4d52(0x1c6)],_0x23ecdd);return this[_0x4d4d52(0x1c6)][_0x4d4d52(0x1c9)](_0x551e10,0x0,_0x171981),this[_0x4d4d52(0x18e)](_0x29eab7,Math[_0x4d4d52(0x18a)](_0x179afa,_0x551e10))&&(_0x4d40e4=!0x0),_0x4d40e4;}[_0x1d3c90(0x17d)](_0xd23561,_0x52de52){const _0xb14b=_0x1d3c90;if(!this[_0xb14b(0x19c)])return!0x1;const _0x57dbde=this[_0xb14b(0x1c6)][_0x52de52];let _0x5eeda1;return _0x5eeda1=this[_0xb14b(0x1c5)]?this[_0xb14b(0x1c5)]({'footnote':_0x57dbde,'container':this[_0xb14b(0x19c)],'digits':String(this[_0xb14b(0x1c6)][_0xb14b(0x1a3)])[_0xb14b(0x1a3)],'value':_0x52de52+0x1}):String(_0x52de52+0x1),_0x57dbde[_0xb14b(0x178)][_0xb14b(0x16a)](_0xb14b(0x190))!=_0x5eeda1&&(_0xd23561[_0xb14b(0x1b6)](_0xb14b(0x190),_0x5eeda1,_0x57dbde[_0xb14b(0x178)]),!0x0);}[_0x1d3c90(0x1af)](_0x179d42){const _0x35b49d=_0x1d3c90;if(!this[_0x35b49d(0x19c)]||this[_0x35b49d(0x1c6)][_0x35b49d(0x1a3)]<0x2)return!0x1;if(function(_0x1b384a,_0x5d9b63){const _0x527eaf=_0x35b49d;if(_0x1b384a[_0x527eaf(0x1a3)]!==_0x5d9b63[_0x527eaf(0x1a3)])return!0x1;for(let _0x561edf=0x0;_0x561edf<_0x1b384a[_0x527eaf(0x1a3)];_0x561edf++)if(_0x1b384a[_0x561edf]!==_0x5d9b63[_0x561edf])return!0x1;return!0x0;}(this[_0x35b49d(0x1c6)][_0x35b49d(0x182)](_0x31af96=>_0x31af96['id']),Array[_0x35b49d(0x192)](this[_0x35b49d(0x19c)][_0x35b49d(0x188)]())[_0x35b49d(0x182)](_0xce5b1d=>_0xce5b1d[_0x35b49d(0x16a)](_0x35b49d(0x1ca)))))return!0x1;let _0x13eb3f=!0x1;for(let _0x3215f6=0x0;_0x3215f6<this[_0x35b49d(0x1c6)][_0x35b49d(0x1a3)];_0x3215f6++){const _0x20c621=this[_0x35b49d(0x1c6)][_0x3215f6],_0x5191f9=_0x179d42[_0x35b49d(0x1a4)](_0x20c621[_0x35b49d(0x16b)]),_0x1d18f7=_0x179d42[_0x35b49d(0x1b3)](this[_0x35b49d(0x19c)],_0x3215f6);_0x5191f9[_0x35b49d(0x170)](_0x1d18f7)||(_0x179d42[_0x35b49d(0x1ad)](_0x179d42[_0x35b49d(0x183)](_0x20c621[_0x35b49d(0x16b)]),_0x1d18f7),_0x13eb3f=!0x0);}return _0x13eb3f;}[_0x1d3c90(0x1cd)](_0x1ba75a){const _0x6b2523=_0x1d3c90;if(!this[_0x6b2523(0x1c6)][_0x6b2523(0x1a3)])return!0x1;const {model:_0x2d3ac1}=this[_0x6b2523(0x16d)];let _0x5c9c1c=!0x1;for(let _0x2592d5=0x0;_0x2592d5<this[_0x6b2523(0x1c6)][_0x6b2523(0x1a3)]-0x1;_0x2592d5++){const _0x434046=this[_0x6b2523(0x1c6)][_0x2592d5],_0x55926a=this[_0x6b2523(0x1c6)][_0x2592d5+0x1],_0x498ba5=_0x2d3ac1[_0x6b2523(0x1a4)](_0x434046[_0x6b2523(0x178)]),_0x3c37ab=_0x2d3ac1[_0x6b2523(0x1a4)](_0x55926a[_0x6b2523(0x178)]);_0x6b2523(0x18b)===_0x498ba5[_0x6b2523(0x1ab)](_0x3c37ab)&&(this[_0x6b2523(0x19b)](_0x1ba75a,_0x434046[_0x6b2523(0x178)]),_0x2592d5=-0x1,_0x5c9c1c=!0x0);}return _0x5c9c1c;}}function _(_0x2b8d92,_0x3a9040,_0x1c7a17){const _0x4638ee=_0x1d3c90;if(_0x1c7a17[_0x4638ee(0x174)])return!0x1;const _0xc545da=_0x3a9040?_0x4638ee(0x198):_0x4638ee(0x1a1);return _0x2b8d92[_0x4638ee(0x1aa)](_0x2b8d92[_0x4638ee(0x1a0)](_0xc545da),_0x1c7a17),!0x0;}function I(_0x22ded4,_0x1a585f,_0x2b0446){const _0x588525=_0x1d3c90;if(0x0===_0x1a585f[_0x588525(0x1a3)])return 0x0;const _0x59653e=_0x22ded4[_0x588525(0x1a4)](_0x2b0446);for(let _0x33941d=0x0;_0x33941d<_0x1a585f[_0x588525(0x1a3)];_0x33941d++){const _0x32809e=_0x1a585f[_0x33941d],_0x86bfe2=_0x22ded4[_0x588525(0x1a4)](_0x32809e[_0x588525(0x178)]);if(_0x588525(0x1ae)===_0x59653e[_0x588525(0x1ab)](_0x86bfe2))return _0x33941d;}const _0x391a3b=_0x2b0446[_0x588525(0x187)];let _0x99fa2e=-0x1;for(let _0x259c20=_0x1a585f[_0x588525(0x1a3)]-0x1;_0x259c20>=0x0;_0x259c20--)if(_0x1a585f[_0x259c20][_0x588525(0x178)][_0x588525(0x187)]===_0x391a3b){_0x99fa2e=_0x259c20;break;}if(-0x1!==_0x99fa2e)return _0x99fa2e+0x1;const _0x144324=_0x22ded4[_0x588525(0x1a6)][_0x588525(0x17a)](),_0xbb60b0=_0x144324[_0x588525(0x17b)](_0x391a3b[_0x588525(0x1ac)]),_0x1054a2=_0x144324[_0xbb60b0+0x1];if(_0x1054a2){for(let _0x191146=0x0;_0x191146<_0x1a585f[_0x588525(0x1a3)];_0x191146++)if(_0x1a585f[_0x191146][_0x588525(0x178)][_0x588525(0x187)][_0x588525(0x1ac)]===_0x1054a2)return _0x191146;}return _0x1a585f[_0x588525(0x1a3)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x321d57,MenuBarMenuListItemButtonView as _0x39541a}from'ckeditor5/src/ui.js';import{Plugin as _0x5eb3fd}from'ckeditor5/src/core.js';import{IconFootnote as _0x5c1a95}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5eb3fd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x548978}=this,{componentFactory:_0x58e17d}=_0x548978['ui'];_0x58e17d['add']('insertFootnote',x(_0x548978,_0x321d57)),_0x58e17d['add']('menuBar:insertFootnote',x(_0x548978,_0x39541a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2204bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x100aa7;for(const _0x4b1a83 in _0x2204bd){const _0x4ebbfc=_0x4b1a83,_0x5da28e=_0x2204bd[_0x4ebbfc];if('footnotesLicenseKeyValid'==_0x5da28e||'footnotesLicenseKeyInvalid'==_0x5da28e||'footnotesLicenseKeyExpired'==_0x5da28e||'footnotesLicenseKeyDomainLimit'==_0x5da28e||'footnotesLicenseKeyNotAllowed'==_0x5da28e||'footnotesLicenseKeyEvaluationLimit'==_0x5da28e||'footnotesLicenseKeyTrialLimit'==_0x5da28e||'footnotesLicenseKeyUsageLimit'==_0x5da28e){delete _0x2204bd[_0x4ebbfc],_0x100aa7=_0x5da28e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x100aa7&&_0x2204bd['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x100aa7&&_0x2204bd['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x100aa7&&_0x2204bd['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xe1f56b,_0x411211){const _0x4657b5=_0xe1f56b['commands']['get']('insertFootnote');return _0x371e75=>{const {t:t}=_0x371e75,_0x2fdd19=new _0x411211(_0x371e75),_0x537fd8=_0x2fdd19 instanceof _0x39541a;return _0x2fdd19['bind']('isEnabled')['to'](_0x4657b5,'isEnabled'),_0x2fdd19['set']({'label':t(_0x537fd8?'Footnote':'Insert\x20footnote'),'icon':_0x5c1a95,'tooltip':!0x0}),_0x2fdd19['on']('execute',()=>{_0x4657b5['execute'](),_0xe1f56b['editing']['view']['focus']();}),_0x2fdd19;};}
23
+ import{ButtonView as _0x1a2f3b,MenuBarMenuListItemButtonView as _0x1a2ef0}from'ckeditor5/src/ui.js';import{Plugin as _0x441868}from'ckeditor5/src/core.js';import{IconFootnote as _0x183d11}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x441868{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e0ecc}=this,{componentFactory:_0x325f7b}=_0x4e0ecc['ui'];_0x325f7b['add']('insertFootnote',x(_0x4e0ecc,_0x1a2f3b)),_0x325f7b['add']('menuBar:insertFootnote',x(_0x4e0ecc,_0x1a2ef0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7f5c56=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42e81a;for(const _0x516ef7 in _0x7f5c56){const _0x329e17=_0x516ef7,_0x45978f=_0x7f5c56[_0x329e17];if('footnotesLicenseKeyValid'==_0x45978f||'footnotesLicenseKeyInvalid'==_0x45978f||'footnotesLicenseKeyExpired'==_0x45978f||'footnotesLicenseKeyDomainLimit'==_0x45978f||'footnotesLicenseKeyNotAllowed'==_0x45978f||'footnotesLicenseKeyEvaluationLimit'==_0x45978f||'footnotesLicenseKeyTrialLimit'==_0x45978f||'footnotesLicenseKeyUsageLimit'==_0x45978f){delete _0x7f5c56[_0x329e17],_0x42e81a=_0x45978f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x42e81a&&_0x7f5c56['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x42e81a&&_0x7f5c56['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x42e81a&&_0x7f5c56['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x59d80d,_0x1d2063){const _0xe0593f=_0x59d80d['commands']['get']('insertFootnote');return _0x56be04=>{const {t:t}=_0x56be04,_0x20f616=new _0x1d2063(_0x56be04),_0xe9a8ec=_0x20f616 instanceof _0x1a2ef0;return _0x20f616['bind']('isEnabled')['to'](_0xe0593f,'isEnabled'),_0x20f616['set']({'label':t(_0xe9a8ec?'Footnote':'Insert\x20footnote'),'icon':_0x183d11,'tooltip':!0x0}),_0x20f616['on']('execute',()=>{_0xe0593f['execute'](),_0x59d80d['editing']['view']['focus']();}),_0x20f616;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xc8ff9a,_0x13a69b){var _0x5a3a49=_0x1f35,_0xefc85e=_0xc8ff9a();while(!![]){try{var _0x49c342=-parseInt(_0x5a3a49(0x186))/0x1*(parseInt(_0x5a3a49(0x181))/0x2)+parseInt(_0x5a3a49(0x185))/0x3*(parseInt(_0x5a3a49(0x180))/0x4)+parseInt(_0x5a3a49(0x18a))/0x5+parseInt(_0x5a3a49(0x188))/0x6+-parseInt(_0x5a3a49(0x184))/0x7*(parseInt(_0x5a3a49(0x182))/0x8)+-parseInt(_0x5a3a49(0x189))/0x9+-parseInt(_0x5a3a49(0x183))/0xa*(-parseInt(_0x5a3a49(0x187))/0xb);if(_0x49c342===_0x13a69b)break;else _0xefc85e['push'](_0xefc85e['shift']());}catch(_0x2ff1f0){_0xefc85e['push'](_0xefc85e['shift']());}}}(_0x3a21,0x607ef));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x1f35(_0x21a551,_0x423937){var _0x3a21bf=_0x3a21();return _0x1f35=function(_0x1f354e,_0x7d9916){_0x1f354e=_0x1f354e-0x180;var _0x219061=_0x3a21bf[_0x1f354e];return _0x219061;},_0x1f35(_0x21a551,_0x423937);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';function _0x3a21(){var _0x5b755e=['1451385yKEhfC','172KwoWSl','70zBpxDZ','104jeQmSy','3563870QheuFq','352289DcnfzF','49614QNcnXN','6565sckXRW','22FoantE','1953246tPjbjP','6844077weRers'];_0x3a21=function(){return _0x5b755e;};return _0x3a21();}export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x3021a7,_0x4c533e){var _0x1a50b9=_0x5031,_0x406009=_0x3021a7();while(!![]){try{var _0x57e636=parseInt(_0x1a50b9(0x1e9))/0x1*(parseInt(_0x1a50b9(0x1e2))/0x2)+-parseInt(_0x1a50b9(0x1e4))/0x3+-parseInt(_0x1a50b9(0x1e6))/0x4*(parseInt(_0x1a50b9(0x1e3))/0x5)+-parseInt(_0x1a50b9(0x1e5))/0x6*(-parseInt(_0x1a50b9(0x1ea))/0x7)+parseInt(_0x1a50b9(0x1e8))/0x8*(-parseInt(_0x1a50b9(0x1ec))/0x9)+parseInt(_0x1a50b9(0x1e7))/0xa*(parseInt(_0x1a50b9(0x1eb))/0xb)+-parseInt(_0x1a50b9(0x1ed))/0xc;if(_0x57e636===_0x4c533e)break;else _0x406009['push'](_0x406009['shift']());}catch(_0x3cfa4c){_0x406009['push'](_0x406009['shift']());}}}(_0x318e,0xf2b4d));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x318e(){var _0x165976=['1130776aPkOxA','5HyuYVF','1494828tVuhse','12ehGoiu','2113556WjoTDS','40UVzXuc','24EcLDCq','1EboHQj','6153896IexeMu','4746170bAAXnM','3783357qiTuNP','9211380pdzpVT'];_0x318e=function(){return _0x165976;};return _0x318e();}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x5031(_0x5482ad,_0x57d8b1){var _0x318eff=_0x318e();return _0x5031=function(_0x503149,_0x1fee0f){_0x503149=_0x503149-0x1e2;var _0x2ae672=_0x318eff[_0x503149];return _0x2ae672;},_0x5031(_0x5482ad,_0x57d8b1);}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb11196=_0x1099;(function(_0x54ae51,_0x520639){const _0x4d98b1=_0x1099,_0x258e5e=_0x54ae51();while(!![]){try{const _0x526b79=-parseInt(_0x4d98b1(0x1c4))/0x1+-parseInt(_0x4d98b1(0x1ce))/0x2+parseInt(_0x4d98b1(0x1c9))/0x3*(-parseInt(_0x4d98b1(0x1cb))/0x4)+-parseInt(_0x4d98b1(0x1d2))/0x5+parseInt(_0x4d98b1(0x1da))/0x6*(-parseInt(_0x4d98b1(0x1b9))/0x7)+parseInt(_0x4d98b1(0x1d7))/0x8*(-parseInt(_0x4d98b1(0x1d5))/0x9)+parseInt(_0x4d98b1(0x1be))/0xa;if(_0x526b79===_0x520639)break;else _0x258e5e['push'](_0x258e5e['shift']());}catch(_0x1eeab0){_0x258e5e['push'](_0x258e5e['shift']());}}}(_0x170a,0x8154f));function _0x1099(_0x460df7,_0x33bff6){const _0x170ae5=_0x170a();return _0x1099=function(_0x109978,_0x4c762f){_0x109978=_0x109978-0x1b7;let _0x14f25a=_0x170ae5[_0x109978];return _0x14f25a;},_0x1099(_0x460df7,_0x33bff6);}export class ModelElementTracker{[_0xb11196(0x1ca)];[_0xb11196(0x1dc)];[_0xb11196(0x1c7)];[_0xb11196(0x1bc)]=new Map();constructor(_0x5b5f5b,_0x1f8c8f){const _0x461b71=_0xb11196;this[_0x461b71(0x1ca)]=_0x5b5f5b,this[_0x461b71(0x1dc)]=_0x1f8c8f[_0x461b71(0x1c1)],this[_0x461b71(0x1c7)]=_0x1f8c8f[_0x461b71(0x1cf)];}[_0xb11196(0x1b7)](){const _0x383722=_0xb11196;this[_0x383722(0x1bc)][_0x383722(0x1bb)]();}[_0xb11196(0x1df)](_0x19c588){const _0x492390=_0xb11196,_0xbb18d8=new Set(),_0x3723b8=new Map();for(const _0x2853b4 of _0x19c588){if(_0x492390(0x1cc)===_0x2853b4[_0x492390(0x1cd)]&&_0x492390(0x1d1)!==_0x2853b4[_0x492390(0x1ba)]&&_0x2853b4[_0x492390(0x1d9)][_0x492390(0x1d4)]){const _0x2a9161=this[_0x492390(0x1ca)][_0x492390(0x1bf)](_0x2853b4[_0x492390(0x1d9)][_0x492390(0x1d4)]);for(const _0x34a408 of _0x2a9161[_0x492390(0x1d0)]()){if(!_0x34a408['is'](_0x492390(0x1bd),this[_0x492390(0x1dc)]))continue;const _0x411584=this[_0x492390(0x1c7)](_0x34a408);_0x3723b8[_0x492390(0x1e2)](_0x411584)||_0x3723b8[_0x492390(0x1dd)](_0x411584,[]),_0x3723b8[_0x492390(0x1c5)](_0x411584)[_0x492390(0x1d8)](_0x34a408);}}if(_0x492390(0x1d6)===_0x2853b4[_0x492390(0x1cd)]&&_0x2853b4[_0x492390(0x1ba)]===this[_0x492390(0x1dc)]){const _0x3ed96b=this[_0x492390(0x1c7)]({'getAttribute':_0x3262de=>_0x2853b4[_0x492390(0x1de)][_0x492390(0x1c5)](_0x3262de)});_0xbb18d8[_0x492390(0x1e1)](_0x3ed96b);}}for(const [_0x1ebe1a,_0x851226]of this[_0x492390(0x1bc)])_0x492390(0x1c0)===_0x851226[_0x492390(0x1c6)][_0x492390(0x1db)]&&_0xbb18d8[_0x492390(0x1e1)](_0x1ebe1a);for(const _0x303205 of _0xbb18d8)this[_0x492390(0x1bc)][_0x492390(0x1e0)](_0x303205);for(const [_0x146d0f,_0x27f763]of _0x3723b8)this[_0x492390(0x1bc)][_0x492390(0x1dd)](_0x146d0f,_0x27f763[_0x27f763[_0x492390(0x1c3)]-0x1]);const _0x482a9c=new Set();for(const [_0x1ccb6d,_0x5c6ba5]of _0x3723b8)_0xbb18d8[_0x492390(0x1e2)](_0x1ccb6d)&&(_0x482a9c[_0x492390(0x1e1)](_0x5c6ba5[0x0]),_0x5c6ba5[_0x492390(0x1c3)]>0x1?_0x3723b8[_0x492390(0x1dd)](_0x1ccb6d,_0x5c6ba5[_0x492390(0x1d3)](0x1)):_0x3723b8[_0x492390(0x1e0)](_0x1ccb6d),_0xbb18d8[_0x492390(0x1e0)](_0x1ccb6d));return{'removed':Array[_0x492390(0x1c2)](_0xbb18d8),'inserted':Array[_0x492390(0x1c2)](_0x3723b8[_0x492390(0x1c8)]())[_0x492390(0x1b8)](),'moved':Array[_0x492390(0x1c2)](_0x482a9c)};}}function _0x170a(){const _0x263ca4=['21021MKfzLj','name','clear','_trackedElements','element','31518570nmPFbx','createRangeOn','$graveyard','elementName','from','length','430387bbLGGj','get','root','_getElementKey','values','3xVOXli','_model','2643448sUEnsf','insert','type','458574mmbbXd','getElementKey','getItems','$text','4764135faTphN','slice','nodeAfter','14373IHJeEw','remove','1040Mtzcti','push','position','282UHxnFa','rootName','_elementName','set','attributes','getChanges','delete','add','has','reset','flat'];_0x170a=function(){return _0x263ca4;};return _0x170a();}
23
+ const _0x348bd8=_0x21ec;function _0x21ec(_0x2c0aed,_0x23f558){const _0x46bff7=_0x46bf();return _0x21ec=function(_0x21ece2,_0x1db4e0){_0x21ece2=_0x21ece2-0x105;let _0x489e23=_0x46bff7[_0x21ece2];return _0x489e23;},_0x21ec(_0x2c0aed,_0x23f558);}(function(_0x4897e4,_0x39e9f3){const _0x4cee61=_0x21ec,_0x213c6f=_0x4897e4();while(!![]){try{const _0x305431=parseInt(_0x4cee61(0x106))/0x1+-parseInt(_0x4cee61(0x112))/0x2+parseInt(_0x4cee61(0x10d))/0x3+parseInt(_0x4cee61(0x10a))/0x4+-parseInt(_0x4cee61(0x10f))/0x5+parseInt(_0x4cee61(0x12d))/0x6*(-parseInt(_0x4cee61(0x120))/0x7)+-parseInt(_0x4cee61(0x115))/0x8*(-parseInt(_0x4cee61(0x118))/0x9);if(_0x305431===_0x39e9f3)break;else _0x213c6f['push'](_0x213c6f['shift']());}catch(_0x3c3dcb){_0x213c6f['push'](_0x213c6f['shift']());}}}(_0x46bf,0x6f187));function _0x46bf(){const _0x564318=['741330TmMyaA','attributes','3535190XAiZMR','element','type','303714GcKGnm','elementName','name','8iNnkeH','delete','length','1219041soiBcf','$text','_model','remove','root','getItems','getElementKey','insert','1488753VWUUbJ','push','has','values','reset','nodeAfter','createRangeOn','getChanges','add','_elementName','clear','$graveyard','flat','6MfwCYZ','get','rootName','_trackedElements','655688gYcbgf','slice','position','_getElementKey','1953496prgcav','from','set'];_0x46bf=function(){return _0x564318;};return _0x46bf();}export class ModelElementTracker{[_0x348bd8(0x11a)];[_0x348bd8(0x129)];[_0x348bd8(0x109)];[_0x348bd8(0x105)]=new Map();constructor(_0x43083f,_0x50835f){const _0x870110=_0x348bd8;this[_0x870110(0x11a)]=_0x43083f,this[_0x870110(0x129)]=_0x50835f[_0x870110(0x113)],this[_0x870110(0x109)]=_0x50835f[_0x870110(0x11e)];}[_0x348bd8(0x124)](){const _0xe50f73=_0x348bd8;this[_0xe50f73(0x105)][_0xe50f73(0x12a)]();}[_0x348bd8(0x127)](_0x400e1f){const _0x389e88=_0x348bd8,_0x5080ed=new Set(),_0x13daac=new Map();for(const _0x3b7e45 of _0x400e1f){if(_0x389e88(0x11f)===_0x3b7e45[_0x389e88(0x111)]&&_0x389e88(0x119)!==_0x3b7e45[_0x389e88(0x114)]&&_0x3b7e45[_0x389e88(0x108)][_0x389e88(0x125)]){const _0x174062=this[_0x389e88(0x11a)][_0x389e88(0x126)](_0x3b7e45[_0x389e88(0x108)][_0x389e88(0x125)]);for(const _0x172122 of _0x174062[_0x389e88(0x11d)]()){if(!_0x172122['is'](_0x389e88(0x110),this[_0x389e88(0x129)]))continue;const _0x4bbe77=this[_0x389e88(0x109)](_0x172122);_0x13daac[_0x389e88(0x122)](_0x4bbe77)||_0x13daac[_0x389e88(0x10c)](_0x4bbe77,[]),_0x13daac[_0x389e88(0x12e)](_0x4bbe77)[_0x389e88(0x121)](_0x172122);}}if(_0x389e88(0x11b)===_0x3b7e45[_0x389e88(0x111)]&&_0x3b7e45[_0x389e88(0x114)]===this[_0x389e88(0x129)]){const _0xfb9b54=this[_0x389e88(0x109)]({'getAttribute':_0x29b38e=>_0x3b7e45[_0x389e88(0x10e)][_0x389e88(0x12e)](_0x29b38e)});_0x5080ed[_0x389e88(0x128)](_0xfb9b54);}}for(const [_0x4c1520,_0x4e211e]of this[_0x389e88(0x105)])_0x389e88(0x12b)===_0x4e211e[_0x389e88(0x11c)][_0x389e88(0x12f)]&&_0x5080ed[_0x389e88(0x128)](_0x4c1520);for(const _0x20c9c2 of _0x5080ed)this[_0x389e88(0x105)][_0x389e88(0x116)](_0x20c9c2);for(const [_0x109041,_0x3aaf6f]of _0x13daac)this[_0x389e88(0x105)][_0x389e88(0x10c)](_0x109041,_0x3aaf6f[_0x3aaf6f[_0x389e88(0x117)]-0x1]);const _0x42ae7f=new Set();for(const [_0x9f4f9e,_0x215139]of _0x13daac)_0x5080ed[_0x389e88(0x122)](_0x9f4f9e)&&(_0x42ae7f[_0x389e88(0x128)](_0x215139[0x0]),_0x215139[_0x389e88(0x117)]>0x1?_0x13daac[_0x389e88(0x10c)](_0x9f4f9e,_0x215139[_0x389e88(0x107)](0x1)):_0x13daac[_0x389e88(0x116)](_0x9f4f9e),_0x5080ed[_0x389e88(0x116)](_0x9f4f9e));return{'removed':Array[_0x389e88(0x10b)](_0x5080ed),'inserted':Array[_0x389e88(0x10b)](_0x13daac[_0x389e88(0x123)]())[_0x389e88(0x12c)](),'moved':Array[_0x389e88(0x10b)](_0x42ae7f)};}}