@ckeditor/ckeditor5-footnotes 47.6.0-alpha.9 → 47.6.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x23c96f}from'ckeditor5/src/core.js';import{isWidget as _0x3afae4,toWidget as _0x3e0014,toWidgetEditable as _0x77e270}from'ckeditor5/src/widget.js';import{uid as _0x498ddb}from'ckeditor5/src/utils.js';import{PointerObserver as _0x258eda,ClickObserver as _0x5db1ef}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0xd811d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x47b8df}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x23c96f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0xd811d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5422fa}=this;_0x5422fa['config']['define']('footnotes.multiBlock',!0x0),_0x5422fa['commands']['add']('insertFootnote',new _0x47b8df(_0x5422fa)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd548bb){const _0x4183f8=_0x40e240([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x2aa548=0x47a28506,_0x1640f6=0x47a50666^_0x2aa548,_0xb9e2cb=window[_0x40e240([0x44,0x61,0x74,0x65])][_0x40e240([0x6e,0x6f,0x77])](),_0x304306=_0xd548bb[_0x40e240([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x497178=new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a97c8=>{_0x304306[_0x40e240([0x6f,0x6e,0x63,0x65])](_0x40e240([0x72,0x65,0x61,0x64,0x79]),_0x4a97c8);}),_0x675fb4={[_0x40e240([0x6b,0x74,0x79])]:_0x40e240([0x45,0x43]),[_0x40e240([0x75,0x73,0x65])]:_0x40e240([0x73,0x69,0x67]),[_0x40e240([0x63,0x72,0x76])]:_0x40e240([0x50,0x2d,0x32,0x35,0x36]),[_0x40e240([0x78])]:_0x40e240([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x40e240([0x79])]:_0x40e240([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x40e240([0x61,0x6c,0x67])]:_0x40e240([0x45,0x53,0x32,0x35,0x36])},_0xb9e1d1=_0x304306[_0x40e240([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40e240([0x67,0x65,0x74])](_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16f61b(){let _0x4a75d8,_0x149112=null,_0x280915=null;try{if(_0xb9e1d1==_0x40e240([0x47,0x50,0x4c]))return _0x40e240([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a75d8=_0x240193(),!_0x4a75d8)return _0x40e240([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a75d8[_0x40e240([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x280915=_0x5b593d(_0x4a75d8[_0x40e240([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a75d8[_0x40e240([0x6a,0x74,0x69])])),await _0x5f0050()?_0x49c93b()?_0x5805a3()?_0x40e240([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7f7e35()?(_0x4a75d8[_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40e240([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x149112=_0x39c623(_0x40e240([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe7cd3d()):_0x40e240([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40e240([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40e240([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40e240([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5805a3(){const _0x25f3d4=[_0x40e240([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40e240([0x74,0x72,0x69,0x61,0x6c])][_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a75d8[_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb9e2cb/0x3e8:0xe10*_0x1640f6;return _0x4a75d8[_0x40e240([0x65,0x78,0x70])]<_0x25f3d4;}function _0x49c93b(){const _0x4cd2bc=_0x4a75d8[_0x40e240([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4cd2bc&&(!!_0x4cd2bc[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e240([0x2a]))||!!_0x4cd2bc[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e240([0x46,0x4f,0x4f])));}function _0x7f7e35(){const _0x3016c5=_0x4a75d8[_0x40e240([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3016c5||0x0==_0x3016c5[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22352f}=new URL(window[_0x40e240([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3016c5[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22352f))return!0x0;const _0x5bded1=_0x22352f[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e]));return _0x3016c5[_0x40e240([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cd55e=>_0x4cd55e[_0x40e240([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40e240([0x2a])))[_0x40e240([0x6d,0x61,0x70])](_0x345bc0=>_0x345bc0[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e])))[_0x40e240([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x344de8=>_0x344de8[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5bded1[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40e240([0x6d,0x61,0x70])](_0x37fc45=>Array(_0x5bded1[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37fc45[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40e240([0x66,0x69,0x6c,0x6c])](_0x37fc45[0x0]===_0x40e240([0x2a])?_0x40e240([0x2a]):'')[_0x40e240([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37fc45))[_0x40e240([0x73,0x6f,0x6d,0x65])](_0x1c9860=>_0x5bded1[_0x40e240([0x65,0x76,0x65,0x72,0x79])]((_0xbea2fe,_0x501905)=>_0x1c9860[_0x501905]===_0xbea2fe||_0x1c9860[_0x501905]===_0x40e240([0x2a])));}function _0xe7cd3d(){return _0x149112&&_0x280915?new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x163aa2,_0x334c00)=>{_0x149112[_0x40e240([0x74,0x68,0x65,0x6e])](_0x163aa2,_0x334c00),_0x280915[_0x40e240([0x74,0x68,0x65,0x6e])](_0x287015=>{_0x287015!=_0x40e240([0x56,0x61,0x6c,0x69,0x64])&&_0x163aa2(_0x287015);},_0x334c00);}):_0x149112||_0x280915||_0x40e240([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b593d(_0x2bc3b3,_0x19ab62){return new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41468b=>{if(_0x427165())return _0x41468b(_0x40e240([0x56,0x61,0x6c,0x69,0x64]));_0x415b8a(),_0x304306[_0x40e240([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40e240([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa9fe2f=!0x1;const _0x3e482d=_0x498ddb();function _0x27122d(_0x16f9aa){return!!_0x16f9aa&&(typeof _0x16f9aa===_0x40e240([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f9aa===_0x40e240([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f9aa[_0x40e240([0x74,0x68,0x65,0x6e])]===_0x40e240([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f9aa[_0x40e240([0x63,0x61,0x74,0x63,0x68])]===_0x40e240([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fddd9(_0x28517e){_0x250e87(_0x28517e)[_0x40e240([0x74,0x68,0x65,0x6e])](_0x2eef50=>{if(!_0x2eef50||_0x2eef50[_0x40e240([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40e240([0x6f,0x6b]))return _0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4fdbce(_0x16352e(_0x3e482d+_0x19ab62))!=_0x2eef50[_0x40e240([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40e240([0x56,0x61,0x6c,0x69,0x64]);})[_0x40e240([0x74,0x68,0x65,0x6e])](_0xc6fd=>(_0x47ef0a(),_0xc6fd),()=>{const _0x8cf64b=_0x5323d8();return null==_0x8cf64b?(_0x47ef0a(),_0x40e240([0x56,0x61,0x6c,0x69,0x64])):_0x40e240(_0xb9e2cb-_0x8cf64b>(0x63ae0106^_0x2aa548)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40e240([0x74,0x68,0x65,0x6e])](_0x41468b)[_0x40e240([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41468b(_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x10a6fc=0x47946b86^_0x2aa548;function _0x47ef0a(){const _0x388a46=_0x40e240([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fdbce(_0x16352e(_0x2bc3b3)),_0x58688c=_0x45f490(_0x4fdbce(window[_0x40e240([0x4d,0x61,0x74,0x68])][_0x40e240([0x63,0x65,0x69,0x6c])](_0xb9e2cb/_0x10a6fc)));window[_0x40e240([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40e240([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x388a46,_0x58688c);}function _0x5323d8(){const _0x36efb3=_0x40e240([0x6c,0x6c,0x63,0x74,0x2d])+_0x4fdbce(_0x16352e(_0x2bc3b3)),_0x38606e=window[_0x40e240([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40e240([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36efb3);return _0x38606e?window[_0x40e240([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45f490(_0x38606e),0x10)*_0x10a6fc:null;}function _0x250e87(_0x223f1e){return new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3885fa,_0x4237cd)=>{_0x223f1e[_0x40e240([0x74,0x68,0x65,0x6e])](_0x3885fa,_0x4237cd),window[_0x40e240([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4237cd,0x47a351c6^_0x2aa548);});}}_0x304306[_0x40e240([0x6f,0x6e])](_0x40e240([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ddb95,_0x34c986)=>{if(_0x34c986[0x0]!=_0x2bc3b3)return _0x41468b(_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34c986[0x1]={..._0x34c986[0x1],[_0x40e240([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e482d};},{[_0x40e240([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40e240([0x68,0x69,0x67,0x68])}),_0x304306[_0x40e240([0x6f,0x6e])](_0x40e240([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x382ddc=>{_0x27122d(_0x382ddc[_0x40e240([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa9fe2f=!0x0,_0x3fddd9(_0x382ddc[_0x40e240([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40e240([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40e240([0x6c,0x6f,0x77])}),_0x497178[_0x40e240([0x74,0x68,0x65,0x6e])](()=>{_0xa9fe2f||_0x41468b(_0x40e240([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x427165(){return _0x304306[_0x40e240([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40e240([0x76,0x69,0x65,0x77])][_0x40e240([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40e240([0x61,0x75,0x74,0x6f]);}function _0x415b8a(){_0x304306[_0x40e240([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40e240([0x76,0x69,0x65,0x77])][_0x40e240([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40e240([0x61,0x75,0x74,0x6f]);}}function _0x39c623(_0x367b4c){const _0x2077a8=[new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24b88d=>setTimeout(_0x24b88d,0x47abbbca^_0x2aa548)),_0x497178[_0x40e240([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aa8a7=>{let _0x271269=0x0;_0x304306[_0x40e240([0x6d,0x6f,0x64,0x65,0x6c])][_0x40e240([0x6f,0x6e])](_0x40e240([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc67ac1,_0xcd3e7a)=>{_0xcd3e7a[0x0][_0x40e240([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x271269++,_0x271269==(0x47a280ee^_0x2aa548)&&(_0x3aa8a7(),_0xc67ac1[_0x40e240([0x6f,0x66,0x66])]());});}))];return window[_0x40e240([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40e240([0x72,0x61,0x63,0x65])](_0x2077a8)[_0x40e240([0x74,0x68,0x65,0x6e])](()=>_0x367b4c);}async function _0x53655d(){await _0x497178,_0x304306[_0x40e240([0x6d,0x6f,0x64,0x65,0x6c])][_0x40e240([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4a752b,_0x304306[_0x40e240([0x6d,0x6f,0x64,0x65,0x6c])][_0x40e240([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4a752b,_0x304306[_0x40e240([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40e240([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfc4573(_0x427467){const _0x297e3f=_0x116a80();_0x304306[_0x297e3f]=_0x40e240([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427467,_0x427467!=_0x40e240([0x56,0x61,0x6c,0x69,0x64])&&_0x53655d();}function _0x116a80(){const _0x354abd=window[_0x40e240([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40e240([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40e240([0x6e,0x6f,0x77])]())[_0x40e240([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40e240([0x2e]),'');let _0xbcece5=_0x40e240([0x75]);for(let _0x5e8b40=0x0;_0x5e8b40<_0x354abd[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e8b40+=0x2){let _0x629892=window[_0x40e240([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x354abd[_0x40e240([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5e8b40,_0x5e8b40+0x2));_0x629892>=_0x4183f8[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x629892-=_0x4183f8[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbcece5+=_0x4183f8[_0x629892];}return _0xbcece5;}function _0x240193(){const _0x68a6ac=_0xb9e1d1[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e]));if(0x3!=_0x68a6ac[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2e04d3(_0x68a6ac[0x1]);function _0x2e04d3(_0x1a1cda){const _0x184834=_0x33265e(_0x1a1cda);return _0x184834&&_0x495c88()?_0x184834:null;function _0x495c88(){const _0x50b10e=_0x184834[_0x40e240([0x6a,0x74,0x69])],_0x4a1fdb=window[_0x40e240([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50b10e[_0x40e240([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50b10e[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x46fcab={..._0x184834,[_0x40e240([0x6a,0x74,0x69])]:_0x50b10e[_0x40e240([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50b10e[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x46fcab[_0x40e240([0x76,0x63])],_0x16352e(_0x46fcab)==_0x4a1fdb;}}}async function _0x5f0050(){let _0x426b56=!0x0;try{const _0x3f09e4=_0xb9e1d1[_0x40e240([0x73,0x70,0x6c,0x69,0x74])](_0x40e240([0x2e])),[_0x4cf8f5,_0x1b044d,_0x431808]=_0x3f09e4;return _0x16de14(_0x4cf8f5),await _0x556029(_0x4cf8f5,_0x1b044d,_0x431808),_0x426b56;}catch{return!0x1;}function _0x16de14(_0x2649bd){const _0x157d75=_0x33265e(_0x2649bd);_0x157d75&&_0x157d75[_0x40e240([0x61,0x6c,0x67])]==_0x40e240([0x45,0x53,0x32,0x35,0x36])||(_0x426b56=!0x1);}async function _0x556029(_0x3f001c,_0x20c1eb,_0x5774df){const _0x5286b3=window[_0x40e240([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40e240([0x66,0x72,0x6f,0x6d])](_0x4244a3(_0x5774df),_0x483241=>_0x483241[_0x40e240([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f25fb=new window[(_0x40e240([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40e240([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3f001c+_0x40e240([0x2e])+_0x20c1eb),_0x5ac6b8=window[_0x40e240([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40e240([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ac6b8)return;const _0x4c138b=await _0x5ac6b8[_0x40e240([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40e240([0x6a,0x77,0x6b]),_0x675fb4,{[_0x40e240([0x6e,0x61,0x6d,0x65])]:_0x40e240([0x45,0x43,0x44,0x53,0x41]),[_0x40e240([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40e240([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40e240([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ac6b8[_0x40e240([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40e240([0x6e,0x61,0x6d,0x65])]:_0x40e240([0x45,0x43,0x44,0x53,0x41]),[_0x40e240([0x68,0x61,0x73,0x68])]:{[_0x40e240([0x6e,0x61,0x6d,0x65])]:_0x40e240([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4c138b,_0x5286b3,_0x2f25fb)||(_0x426b56=!0x1);}}function _0x33265e(_0x480d72){return _0x480d72[_0x40e240([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40e240([0x65,0x79]))?JSON[_0x40e240([0x70,0x61,0x72,0x73,0x65])](_0x4244a3(_0x480d72)):null;}function _0x4244a3(_0x1eb823){return window[_0x40e240([0x61,0x74,0x6f,0x62])](_0x1eb823[_0x40e240([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40e240([0x2b]))[_0x40e240([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40e240([0x2f])));}function _0x16352e(_0x3f2896){let _0x2b0af7=0x1505;function _0x41717f(_0x5a01d7){for(let _0x356f2f=0x0;_0x356f2f<_0x5a01d7[_0x40e240([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x356f2f++){const _0x25680c=_0x5a01d7[_0x40e240([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x356f2f);_0x2b0af7=(_0x2b0af7<<0x5)+_0x2b0af7+_0x25680c,_0x2b0af7&=_0x2b0af7;}}function _0x4a153c(_0x4019c8){Array[_0x40e240([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4019c8)?_0x4019c8[_0x40e240([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a153c):_0x4019c8&&typeof _0x4019c8==_0x40e240([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40e240([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4019c8)[_0x40e240([0x73,0x6f,0x72,0x74])]()[_0x40e240([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2353e7,_0x51bcde])=>{_0x41717f(_0x2353e7),_0x4a153c(_0x51bcde);}):_0x41717f(window[_0x40e240([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4019c8));}return _0x4a153c(_0x3f2896),_0x2b0af7>>>0x0;}function _0x4fdbce(_0xf3363a){return _0xf3363a[_0x40e240([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40e240([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40e240([0x30]));}function _0x45f490(_0x20c588){return _0x20c588[_0x40e240([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40e240([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40e240([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a752b(){}function _0x40e240(_0xe3bded){return _0xe3bded['map'](_0x185756=>String['fromCharCode'](_0x185756))['join']('');}_0xfc4573(await _0x16f61b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1cf582){const {plugins:_0x3ff782,editing:_0x1a8d3a,model:_0x3bd79b}=this['editor'],_0x10fcfb=_0x3ff782['get'](_0xd811d)['getFootnote'](_0x1cf582);return!!_0x10fcfb&&(_0x3bd79b['change'](_0x4e1e8e=>{_0x4e1e8e['setSelection'](_0x4e1e8e['createPositionAt'](_0x10fcfb['definition'],'end'));}),_0x1a8d3a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x282fdb){const {plugins:_0x80ad6a,editing:_0xd1601f,model:_0x28598c}=this['editor'],_0x51c559=_0x80ad6a['get'](_0xd811d)['getFootnote'](_0x282fdb);return!!_0x51c559&&(_0x28598c['change'](_0x4c5281=>{_0x4c5281['setSelection'](_0x51c559['reference'],'on');}),_0xd1601f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x159ec5}=this['editor']['model'],_0x1f03cd=this['editor']['config']['get']('footnotes.multiBlock');_0x159ec5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x159ec5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x159ec5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1f03cd?_0x159ec5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x159ec5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x159ec5['addChildCheck'](_0xd00ebc=>{for(const _0x31f136 of _0xd00ebc)if('footnoteDefinition'===_0x31f136['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2bf875}=this,{conversion:_0x2acc2d,editing:_0x1aee0a}=_0x2bf875,{t:t}=_0x2bf875['locale'];_0x2acc2d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5b6e28,{writer:_0x47df1f,consumable:_0x18576f})=>{const _0x1f2982=_0x5b6e28['getChild'](0x0);if(!_0x1f2982||!_0x1f2982['is']('element','a'))return null;const _0x44e248=_0x1f2982['getAttribute']('href')||'';if(!_0x44e248['startsWith']('#'))return null;const _0x1376f9=_0x44e248['replace'](/^#/,'');if(!_0x1376f9)return null;_0x18576f['consume'](_0x1f2982,{'name':!0x0,'attributes':['href']});for(const {item:_0x1b733d}of _0x1aee0a['view']['createRangeIn'](_0x1f2982))_0x1b733d['is']('$textProxy')?_0x18576f['consume'](_0x1b733d['textNode'],{'name':!0x0}):_0x1b733d['is']('element')&&_0x18576f['consume'](_0x1b733d,{'name':!0x0});return _0x47df1f['createElement']('footnoteRef',{'footnoteId':_0x1376f9});}}),_0x2acc2d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2dff22,{writer:_0x1abbe5})=>b(_0x2dff22,_0x1abbe5)}),_0x2acc2d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x55aada,{writer:_0x550bdd})=>{const _0x3eee88=_0x55aada['getAttribute']('footnoteCounter');return _0x3e0014(b(_0x55aada,_0x550bdd),_0x550bdd,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3eee88)});}});}['_defineDefinitionsConverters'](){const {editor:_0xed95d4}=this,{t:t}=_0xed95d4['locale'],{conversion:_0x53bb26}=_0xed95d4;_0x53bb26['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x53bb26['for']('upcast')['add'](_0x4b5517=>{_0x4b5517['on']('element:ol',(_0x152eb6,_0xad6ead,_0x47c666)=>{const _0x1c623d=_0xad6ead['viewItem'];if(!_0x1c623d['hasClass']('footnotes-list')||!_0xad6ead['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x47c666['consumable']['consume'](_0x1c623d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x82ed70,modelCursor:_0x1e00ad}=_0x47c666['convertChildren'](_0xad6ead['viewItem'],_0xad6ead['modelCursor']);_0xad6ead['modelRange']=_0x82ed70,_0xad6ead['modelCursor']=_0x1e00ad;}),_0x4b5517['on']('element:hr',(_0x6751eb,_0x422ab6,_0x3957c6)=>{const _0xf2693c=_0x422ab6['viewItem'];_0xf2693c['hasClass']('footnotes-divider')&&_0x422ab6['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3957c6['consumable']['consume'](_0xf2693c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x53bb26['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50610a,{writer:_0x2f587a})=>D(_0x2f587a)}),_0x53bb26['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1cf4a3,{writer:_0x559bb9})=>{const _0x4dad5a=D(_0x559bb9,{'data-footnotes-list-label':t('Footnotes')}),_0x335afb=_0x3e0014(_0x4dad5a,_0x559bb9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x559bb9['setCustomProperty']('footnotesDefinitions',!0x0,_0x335afb),_0x335afb;}});}['_defineDefinitionConverters'](){const {editor:_0x57a068}=this,{conversion:_0x3ac162,locale:_0x862eb4}=_0x57a068,_0x5e3216=_0x57a068['config']['get']('footnotes.multiBlock');_0x3ac162['for']('upcast')['add'](_0x3b728c=>{_0x3b728c['on']('element:li',(_0x15a93a,_0x147a35,_0x5e2a08)=>{const _0x337d58=_0x147a35['viewItem'];if(!_0x337d58['hasClass']('footnote-definition')||!_0x337d58['getAttribute']('id'))return;const _0x2c27c9=_0x337d58['parent'];if(!_0x2c27c9['is']('element','ol')||!_0x2c27c9['hasClass']('footnotes-list'))return;if(!_0x5e2a08['consumable']['test'](_0x337d58,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x14b632=_0x5e2a08['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x337d58['getAttribute']('id')});if(!_0x5e2a08['safeInsert'](_0x14b632,_0x147a35['modelCursor']))return;_0x5e2a08['consumable']['consume'](_0x337d58,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5e2188=Array['from'](_0x337d58['getChildren']())['find'](_0xc8de2=>_0xc8de2['is']('element')&&_0xc8de2['hasClass']('footnote-content'));for(const _0x32de86 of _0x337d58['getChildren']())_0x32de86['is']('element')&&(_0x5e2a08['consumable']['consume'](_0x32de86,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5e2a08['consumable']['consume'](_0x32de86,{'name':!0x0,'classes':'footnote-content'}));if(_0x5e2188){if(_0x5e3216)_0x5e2a08['convertChildren'](_0x5e2188,_0x14b632);else{const _0x8226a5=_0x5e2a08['writer']['createElement']('footnoteInlineContent');_0x5e2a08['writer']['insert'](_0x8226a5,_0x14b632),_0x5e2a08['convertChildren'](_0x5e2188,_0x8226a5);}}_0x5e2a08['updateConversionResult'](_0x14b632,_0x147a35);});}),_0x3ac162['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d026e,{writer:_0x12652a})=>y(_0x2d026e,_0x12652a,_0x862eb4,{'dataPipeline':!0x0})}),_0x3ac162['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x267a99,{writer:_0x7e40c9})=>y(_0x267a99,_0x7e40c9,_0x862eb4)});}['_defineBogusParagraphConverters'](){const {editor:_0x53b4be}=this,{conversion:_0x1b8c3d}=_0x53b4be;_0x53b4be['config']['get']('footnotes.multiBlock')?(_0x1b8c3d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1b8c3d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x53b4be['model']['document'],'change:data',()=>{!function(_0x4cb83e,_0x378c1c){const _0x4f10c4=_0x4cb83e['document']['differ'],_0x3384de=new Set();for(const _0x2276ef of _0x4f10c4['getChanges']()){const _0x4e6a84='attribute'==_0x2276ef['type']?_0x2276ef['range']['start']['parent']:_0x2276ef['position']['parent'];_0x4e6a84['is']('element','footnoteDefinition')&&_0x3384de['add'](_0x4e6a84);}for(const _0x141a63 of _0x3384de['values']()){const _0x39a4f2=Array['from'](_0x141a63['getChildren']())['filter'](_0xff55ec=>v(_0xff55ec,_0x378c1c['mapper']));for(const _0x4cc0d9 of _0x39a4f2)_0x378c1c['reconvertItem'](_0x4cc0d9);}}(_0x53b4be['model'],_0x53b4be['editing']);})):(_0x1b8c3d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1b8c3d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1df74d,{writer:_0x3be79b})=>{const _0x564236=_0x3be79b['createContainerElement']('span');return _0x3be79b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x564236),_0x564236;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2c3c89}=this,{editing:_0x2e1de8,t:t}=_0x2c3c89,_0xc94383=_0x2c3c89['model']['document']['selection'];_0x2c3c89['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2c3c89['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2e1de8['view']['document'],'enter',(_0x155189,_0x5db120)=>{const _0xc7c81b=function(_0x2f0d32){const _0x3e811e=_0x2f0d32['getSelectedElement']();if(_0x3e811e?.['is']('element','footnoteRef'))return _0x3e811e;return null;}(_0xc94383);if(_0xc7c81b){const _0x38b63f=_0xc7c81b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x38b63f),_0x5db120['preventDefault'](),_0x155189['stop']();}},{'context':_0x3afae4});}['_defineClickHandlers'](){const {editor:_0x3f88dc}=this,{editing:_0x3d4bc7}=_0x3f88dc;_0x3f88dc['editing']['view']['addObserver'](_0x258eda),_0x3f88dc['editing']['view']['addObserver'](_0x5db1ef);let _0x182fbc=!0x1;this['listenTo'](_0x3d4bc7['view']['document'],'pointerdown',(_0x536f82,_0x5eb21e)=>{const {target:_0x36d6d9}=_0x5eb21e,_0x3938f9=_0x3d4bc7['view']['document']['selection'];_0x182fbc=!!(_0x36d6d9?.['is']('element','a')&&_0x36d6d9['parent']?.['is']('element','sup')&&_0x36d6d9['parent']['hasClass']('footnote'))&&_0x3938f9['getSelectedElement']()===_0x36d6d9['parent'];},{'priority':'high'}),this['listenTo'](_0x3d4bc7['view']['document'],'click',(_0x43aeeb,_0x1f9ef2)=>{const {target:_0x3e434e}=_0x1f9ef2;if(!_0x3e434e?.['is']('element','a'))return;if(_0x3e434e['parent']?.['is']('element','sup')&&_0x3e434e['parent']['hasClass']('footnote')&&!_0x182fbc)return void _0x1f9ef2['preventDefault']();let _0x44d52f=_0x3e434e['getAttribute']('href');if(!_0x44d52f?.['startsWith']('#'))return;_0x44d52f=_0x44d52f['slice'](0x1);let _0x57996f=!0x1;(_0x44d52f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x44d52f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x44d52f))&&(_0x57996f=!0x0),_0x57996f&&(_0x1f9ef2['preventDefault'](),_0x43aeeb['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2c835e}={}){return(_0x23b266,{writer:_0x5e6c6c})=>{if(!g(_0x23b266))return null;if(!_0x2c835e)return _0x5e6c6c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4dec97=_0x5e6c6c['createContainerElement']('p');return _0x5e6c6c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4dec97),_0x4dec97;};}function g(_0x57d54b){const {parent:_0x45bf3c}=_0x57d54b;if(!_0x45bf3c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x45bf3c['childCount'])return!0x1;for(const _0x1d957a of _0x57d54b['getAttributeKeys']())if(!_0x1d957a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1d957a)return!0x1;return!0x0;}function v(_0x32ebdd,_0x15ae5a){if(!_0x32ebdd['is']('element','paragraph'))return!0x1;const _0x555821=_0x15ae5a['toViewElement'](_0x32ebdd);return!!_0x555821&&g(_0x32ebdd)!==_0x555821['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x485893){return _0x3afae4(_0x485893)&&_0x485893['is']('containerElement')&&!!_0x485893['getCustomProperty']('footnotesDefinitions');}function D(_0x10c8b6,_0x3e62d6={}){const _0xe0c98d=_0x10c8b6['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x40311b=_0x10c8b6['createContainerElement']('ol',{'class':'footnotes-list'},_0x10c8b6['createSlot']());return _0x10c8b6['createContainerElement']('div',{'class':'footnotes',..._0x3e62d6},[_0xe0c98d,_0x40311b]);}function b(_0x27d3b2,_0x2065e1){const _0xa350eb=_0x27d3b2['getAttribute']('footnoteId'),_0x3d653f=_0x27d3b2['getAttribute']('footnoteCounter'),_0x482068=_0x2065e1['createUIElement']('a',{'href':'#'+_0xa350eb},function(_0x4ba659){const _0x5adb32=this['toDomElement'](_0x4ba659);return _0x5adb32['textContent']=_0x3d653f,_0x5adb32;}),_0x8ed82=_0x2065e1['createContainerElement']('sup',{'id':'ref-'+_0xa350eb,'class':'footnote'},[_0x482068]);return _0x8ed82['getFillerOffset']=()=>null,_0x8ed82;}function y(_0x52f5bf,_0x502f88,_0x19d715,{dataPipeline:_0x52affc}={}){const {t:t}=_0x19d715,_0x14c11b=_0x52f5bf['getAttribute']('footnoteId'),_0x504869=_0x502f88['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x14c11b},function(_0x546b64){const _0x23569d=this['toDomElement'](_0x546b64);return _0x23569d['innerText']='^',_0x23569d;}),_0x1107e0=_0x52affc?_0x502f88['createContainerElement']('div',{'class':'footnote-content'}):_0x77e270(_0x502f88['createEditableElement']('div',{'class':'footnote-content'}),_0x502f88,{'label':t('Footnote\x20content.')});return _0x502f88['insert'](_0x502f88['createPositionAt'](_0x1107e0,0x0),_0x502f88['createSlot']()),_0x502f88['createContainerElement']('li',{'class':'footnote-definition','id':_0x14c11b},[_0x504869,_0x1107e0]);}
23
+ import{Plugin as _0x542a5a}from'ckeditor5/src/core.js';import{isWidget as _0x30d5b2,toWidget as _0x1b1bd6,toWidgetEditable as _0x52eec8}from'ckeditor5/src/widget.js';import{uid as _0x472686}from'ckeditor5/src/utils.js';import{PointerObserver as _0xa9201f,ClickObserver as _0x3a373a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x4b563e}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x11c506}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x542a5a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x4b563e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x56b09e}=this;_0x56b09e['config']['define']('footnotes.multiBlock',!0x0),_0x56b09e['commands']['add']('insertFootnote',new _0x11c506(_0x56b09e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x18766b){const _0x14575d=_0x2468f0([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]),_0x4c5546=0x47a28506,_0x4d4c84=0x47a506f6^_0x4c5546,_0x5e1b7a=window[_0x2468f0([0x44,0x61,0x74,0x65])][_0x2468f0([0x6e,0x6f,0x77])](),_0x5810a8=_0x18766b[_0x2468f0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17515e=new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1478bf=>{_0x5810a8[_0x2468f0([0x6f,0x6e,0x63,0x65])](_0x2468f0([0x72,0x65,0x61,0x64,0x79]),_0x1478bf);}),_0x2869c1={[_0x2468f0([0x6b,0x74,0x79])]:_0x2468f0([0x45,0x43]),[_0x2468f0([0x75,0x73,0x65])]:_0x2468f0([0x73,0x69,0x67]),[_0x2468f0([0x63,0x72,0x76])]:_0x2468f0([0x50,0x2d,0x32,0x35,0x36]),[_0x2468f0([0x78])]:_0x2468f0([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]),[_0x2468f0([0x79])]:_0x2468f0([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]),[_0x2468f0([0x61,0x6c,0x67])]:_0x2468f0([0x45,0x53,0x32,0x35,0x36])},_0x59e3f8=_0x5810a8[_0x2468f0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2468f0([0x67,0x65,0x74])](_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x122202(){let _0x252167,_0x456fe1=null,_0x2d192b=null;try{if(_0x59e3f8==_0x2468f0([0x47,0x50,0x4c]))return _0x2468f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x252167=_0x5f4a33(),!_0x252167)return _0x2468f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x252167[_0x2468f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d192b=_0x1774ef(_0x252167[_0x2468f0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x252167[_0x2468f0([0x6a,0x74,0x69])])),await _0x445872()?_0x510919()?_0x3029a0()?_0x2468f0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x301bd9()?(_0x252167[_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2468f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x456fe1=_0x3ffbde(_0x2468f0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4981f0()):_0x2468f0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2468f0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2468f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2468f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3029a0(){const _0x11a304=[_0x2468f0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2468f0([0x74,0x72,0x69,0x61,0x6c])][_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x252167[_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e1b7a/0x3e8:0xe10*_0x4d4c84;return _0x252167[_0x2468f0([0x65,0x78,0x70])]<_0x11a304;}function _0x510919(){const _0x36c749=_0x252167[_0x2468f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x36c749&&(!!_0x36c749[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2468f0([0x2a]))||!!_0x36c749[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2468f0([0x46,0x4f,0x4f])));}function _0x301bd9(){const _0x58332a=_0x252167[_0x2468f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58332a||0x0==_0x58332a[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5d600d}=new URL(window[_0x2468f0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58332a[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d600d))return!0x0;const _0x5269e5=_0x5d600d[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e]));return _0x58332a[_0x2468f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e9f6f=>_0x1e9f6f[_0x2468f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2468f0([0x2a])))[_0x2468f0([0x6d,0x61,0x70])](_0xfe70ea=>_0xfe70ea[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e])))[_0x2468f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1923b=>_0x1923b[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5269e5[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2468f0([0x6d,0x61,0x70])](_0x266526=>Array(_0x5269e5[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x266526[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2468f0([0x66,0x69,0x6c,0x6c])](_0x266526[0x0]===_0x2468f0([0x2a])?_0x2468f0([0x2a]):'')[_0x2468f0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x266526))[_0x2468f0([0x73,0x6f,0x6d,0x65])](_0x358e8b=>_0x5269e5[_0x2468f0([0x65,0x76,0x65,0x72,0x79])]((_0x505f19,_0x436dff)=>_0x358e8b[_0x436dff]===_0x505f19||_0x358e8b[_0x436dff]===_0x2468f0([0x2a])));}function _0x4981f0(){return _0x456fe1&&_0x2d192b?new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57d89b,_0x1cc7bd)=>{_0x456fe1[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x57d89b,_0x1cc7bd),_0x2d192b[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x4e29eb=>{_0x4e29eb!=_0x2468f0([0x56,0x61,0x6c,0x69,0x64])&&_0x57d89b(_0x4e29eb);},_0x1cc7bd);}):_0x456fe1||_0x2d192b||_0x2468f0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1774ef(_0x30e6be,_0x1bc830){return new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58cf9b=>{if(_0x145086())return _0x58cf9b(_0x2468f0([0x56,0x61,0x6c,0x69,0x64]));_0x3701fa(),_0x5810a8[_0x2468f0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2468f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x446394=!0x1;const _0x256578=_0x472686();function _0x20f59a(_0x560054){return!!_0x560054&&(typeof _0x560054===_0x2468f0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x560054===_0x2468f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x560054[_0x2468f0([0x74,0x68,0x65,0x6e])]===_0x2468f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x560054[_0x2468f0([0x63,0x61,0x74,0x63,0x68])]===_0x2468f0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x21f517(_0x3a9395){_0x51f490(_0x3a9395)[_0x2468f0([0x74,0x68,0x65,0x6e])](_0xd7c791=>{if(!_0xd7c791||_0xd7c791[_0x2468f0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2468f0([0x6f,0x6b]))return _0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ae805(_0x17e9d0(_0x256578+_0x1bc830))!=_0xd7c791[_0x2468f0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2468f0([0x56,0x61,0x6c,0x69,0x64]);})[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x4f1b2e=>(_0x5f5c8d(),_0x4f1b2e),()=>{const _0x454714=_0x247df5();return null==_0x454714?(_0x5f5c8d(),_0x2468f0([0x56,0x61,0x6c,0x69,0x64])):_0x2468f0(_0x5e1b7a-_0x454714>(0x63ae0106^_0x4c5546)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x58cf9b)[_0x2468f0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58cf9b(_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x271ce1=0x47946b86^_0x4c5546;function _0x5f5c8d(){const _0x2d45de=_0x2468f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ae805(_0x17e9d0(_0x30e6be)),_0x1d8fad=_0x13be67(_0x2ae805(window[_0x2468f0([0x4d,0x61,0x74,0x68])][_0x2468f0([0x63,0x65,0x69,0x6c])](_0x5e1b7a/_0x271ce1)));window[_0x2468f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2468f0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d45de,_0x1d8fad);}function _0x247df5(){const _0x596121=_0x2468f0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ae805(_0x17e9d0(_0x30e6be)),_0x2f15ca=window[_0x2468f0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2468f0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x596121);return _0x2f15ca?window[_0x2468f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13be67(_0x2f15ca),0x10)*_0x271ce1:null;}function _0x51f490(_0x42fdf3){return new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f6a5c,_0x4ee677)=>{_0x42fdf3[_0x2468f0([0x74,0x68,0x65,0x6e])](_0x3f6a5c,_0x4ee677),window[_0x2468f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ee677,0x47a351c6^_0x4c5546);});}}_0x5810a8[_0x2468f0([0x6f,0x6e])](_0x2468f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49d3b0,_0x76b7b2)=>{if(_0x76b7b2[0x0]!=_0x30e6be)return _0x58cf9b(_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x76b7b2[0x1]={..._0x76b7b2[0x1],[_0x2468f0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x256578};},{[_0x2468f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2468f0([0x68,0x69,0x67,0x68])}),_0x5810a8[_0x2468f0([0x6f,0x6e])](_0x2468f0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56dd06=>{_0x20f59a(_0x56dd06[_0x2468f0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x446394=!0x0,_0x21f517(_0x56dd06[_0x2468f0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2468f0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2468f0([0x6c,0x6f,0x77])}),_0x17515e[_0x2468f0([0x74,0x68,0x65,0x6e])](()=>{_0x446394||_0x58cf9b(_0x2468f0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x145086(){return _0x5810a8[_0x2468f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2468f0([0x76,0x69,0x65,0x77])][_0x2468f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2468f0([0x61,0x75,0x74,0x6f]);}function _0x3701fa(){_0x5810a8[_0x2468f0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2468f0([0x76,0x69,0x65,0x77])][_0x2468f0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2468f0([0x61,0x75,0x74,0x6f]);}}function _0x3ffbde(_0x95b6e7){const _0x5b1d8f=[new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x582614=>setTimeout(_0x582614,0x47abbbca^_0x4c5546)),_0x17515e[_0x2468f0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f837d=>{let _0x3200a4=0x0;_0x5810a8[_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2468f0([0x6f,0x6e])](_0x2468f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x320a91,_0x14207c)=>{_0x14207c[0x0][_0x2468f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3200a4++,_0x3200a4==(0x47a280ee^_0x4c5546)&&(_0x2f837d(),_0x320a91[_0x2468f0([0x6f,0x66,0x66])]());});}))];return window[_0x2468f0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2468f0([0x72,0x61,0x63,0x65])](_0x5b1d8f)[_0x2468f0([0x74,0x68,0x65,0x6e])](()=>_0x95b6e7);}async function _0x50fc9b(){await _0x17515e,_0x5810a8[_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2468f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x159719,_0x5810a8[_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x2468f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x159719,_0x5810a8[_0x2468f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2468f0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44cce4(_0xe8f325){const _0xa008d=_0x25b948();_0x5810a8[_0xa008d]=_0x2468f0([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe8f325,_0xe8f325!=_0x2468f0([0x56,0x61,0x6c,0x69,0x64])&&_0x50fc9b();}function _0x25b948(){const _0x2224fb=window[_0x2468f0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2468f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2468f0([0x6e,0x6f,0x77])]())[_0x2468f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2468f0([0x2e]),'');let _0x569743=_0x2468f0([0x75]);for(let _0x549e3b=0x0;_0x549e3b<_0x2224fb[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x549e3b+=0x2){let _0x4c90cf=window[_0x2468f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2224fb[_0x2468f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x549e3b,_0x549e3b+0x2));_0x4c90cf>=_0x14575d[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c90cf-=_0x14575d[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x569743+=_0x14575d[_0x4c90cf];}return _0x569743;}function _0x5f4a33(){const _0x16a810=_0x59e3f8[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e]));if(0x3!=_0x16a810[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x139f62(_0x16a810[0x1]);function _0x139f62(_0x5decea){const _0x156eb2=_0x5cc80c(_0x5decea);return _0x156eb2&&_0x6ba776()?_0x156eb2:null;function _0x6ba776(){const _0x479c0c=_0x156eb2[_0x2468f0([0x6a,0x74,0x69])],_0x3ad2e0=window[_0x2468f0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x479c0c[_0x2468f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x479c0c[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54919f={..._0x156eb2,[_0x2468f0([0x6a,0x74,0x69])]:_0x479c0c[_0x2468f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x479c0c[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54919f[_0x2468f0([0x76,0x63])],_0x17e9d0(_0x54919f)==_0x3ad2e0;}}}async function _0x445872(){let _0x3dcf94=!0x0;try{const _0x39b338=_0x59e3f8[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])](_0x2468f0([0x2e])),[_0x49855b,_0x11f743,_0x390bf7]=_0x39b338;return _0x142d34(_0x49855b),await _0x15425a(_0x49855b,_0x11f743,_0x390bf7),_0x3dcf94;}catch{return!0x1;}function _0x142d34(_0x5c2755){const _0x268c57=_0x5cc80c(_0x5c2755);_0x268c57&&_0x268c57[_0x2468f0([0x61,0x6c,0x67])]==_0x2468f0([0x45,0x53,0x32,0x35,0x36])||(_0x3dcf94=!0x1);}async function _0x15425a(_0x2ac697,_0x5624b4,_0x59682c){const _0x27018e=window[_0x2468f0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2468f0([0x66,0x72,0x6f,0x6d])](_0xe9f7cb(_0x59682c),_0x2995af=>_0x2995af[_0x2468f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54df27=new window[(_0x2468f0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2468f0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ac697+_0x2468f0([0x2e])+_0x5624b4),_0x9e539c=window[_0x2468f0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2468f0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9e539c)return;const _0x11f2d7=await _0x9e539c[_0x2468f0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2468f0([0x6a,0x77,0x6b]),_0x2869c1,{[_0x2468f0([0x6e,0x61,0x6d,0x65])]:_0x2468f0([0x45,0x43,0x44,0x53,0x41]),[_0x2468f0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2468f0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2468f0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9e539c[_0x2468f0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2468f0([0x6e,0x61,0x6d,0x65])]:_0x2468f0([0x45,0x43,0x44,0x53,0x41]),[_0x2468f0([0x68,0x61,0x73,0x68])]:{[_0x2468f0([0x6e,0x61,0x6d,0x65])]:_0x2468f0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11f2d7,_0x27018e,_0x54df27)||(_0x3dcf94=!0x1);}}function _0x5cc80c(_0x422633){return _0x422633[_0x2468f0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2468f0([0x65,0x79]))?JSON[_0x2468f0([0x70,0x61,0x72,0x73,0x65])](_0xe9f7cb(_0x422633)):null;}function _0xe9f7cb(_0x15ffcb){return window[_0x2468f0([0x61,0x74,0x6f,0x62])](_0x15ffcb[_0x2468f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2468f0([0x2b]))[_0x2468f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2468f0([0x2f])));}function _0x17e9d0(_0x5b793d){let _0x28fdbf=0x1505;function _0x31bc57(_0x40aa0c){for(let _0x9ace15=0x0;_0x9ace15<_0x40aa0c[_0x2468f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9ace15++){const _0x168e59=_0x40aa0c[_0x2468f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9ace15);_0x28fdbf=(_0x28fdbf<<0x5)+_0x28fdbf+_0x168e59,_0x28fdbf&=_0x28fdbf;}}function _0x2a2fea(_0x2d2307){Array[_0x2468f0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d2307)?_0x2d2307[_0x2468f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2a2fea):_0x2d2307&&typeof _0x2d2307==_0x2468f0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2468f0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d2307)[_0x2468f0([0x73,0x6f,0x72,0x74])]()[_0x2468f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f4dc4,_0xdfd7a2])=>{_0x31bc57(_0x2f4dc4),_0x2a2fea(_0xdfd7a2);}):_0x31bc57(window[_0x2468f0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d2307));}return _0x2a2fea(_0x5b793d),_0x28fdbf>>>0x0;}function _0x2ae805(_0x5eee55){return _0x5eee55[_0x2468f0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2468f0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2468f0([0x30]));}function _0x13be67(_0x519e4f){return _0x519e4f[_0x2468f0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2468f0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2468f0([0x6a,0x6f,0x69,0x6e])]('');}function _0x159719(){}function _0x2468f0(_0x2cd597){return _0x2cd597['map'](_0x268cb0=>String['fromCharCode'](_0x268cb0))['join']('');}_0x44cce4(await _0x122202());}(this);}['_moveSelectionToFootnoteDefinition'](_0x360fa0){const {plugins:_0x1531dd,editing:_0x599335,model:_0x3ca4d3}=this['editor'],_0x5e3ad1=_0x1531dd['get'](_0x4b563e)['getFootnote'](_0x360fa0);return!!_0x5e3ad1&&(_0x3ca4d3['change'](_0x131eaf=>{_0x131eaf['setSelection'](_0x131eaf['createPositionAt'](_0x5e3ad1['definition'],'end'));}),_0x599335['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x505dac){const {plugins:_0x4232d6,editing:_0x33e60f,model:_0x13fb55}=this['editor'],_0x108606=_0x4232d6['get'](_0x4b563e)['getFootnote'](_0x505dac);return!!_0x108606&&(_0x13fb55['change'](_0xd39fe6=>{_0xd39fe6['setSelection'](_0x108606['reference'],'on');}),_0x33e60f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x59727d}=this['editor']['model'],_0xf4c9aa=this['editor']['config']['get']('footnotes.multiBlock');_0x59727d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x59727d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x59727d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xf4c9aa?_0x59727d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x59727d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x59727d['addChildCheck'](_0x3adbf7=>{for(const _0x5bd058 of _0x3adbf7)if('footnoteDefinition'===_0x5bd058['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x271ebb}=this,{conversion:_0x21d20b,editing:_0x77e64b}=_0x271ebb,{t:t}=_0x271ebb['locale'];_0x21d20b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1c5913,{writer:_0x37a8ef,consumable:_0x2c5b17})=>{const _0x3293f2=_0x1c5913['getChild'](0x0);if(!_0x3293f2||!_0x3293f2['is']('element','a'))return null;const _0x39328b=_0x3293f2['getAttribute']('href')||'';if(!_0x39328b['startsWith']('#'))return null;const _0x3ea3d6=_0x39328b['replace'](/^#/,'');if(!_0x3ea3d6)return null;_0x2c5b17['consume'](_0x3293f2,{'name':!0x0,'attributes':['href']});for(const {item:_0x519074}of _0x77e64b['view']['createRangeIn'](_0x3293f2))_0x519074['is']('$textProxy')?_0x2c5b17['consume'](_0x519074['textNode'],{'name':!0x0}):_0x519074['is']('element')&&_0x2c5b17['consume'](_0x519074,{'name':!0x0});return _0x37a8ef['createElement']('footnoteRef',{'footnoteId':_0x3ea3d6});}}),_0x21d20b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cca33,{writer:_0x594ee4})=>b(_0x1cca33,_0x594ee4)}),_0x21d20b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xdbc74c,{writer:_0x437eea})=>{const _0x36af04=_0xdbc74c['getAttribute']('footnoteCounter');return _0x1b1bd6(b(_0xdbc74c,_0x437eea),_0x437eea,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x36af04)});}});}['_defineDefinitionsConverters'](){const {editor:_0x227b19}=this,{t:t}=_0x227b19['locale'],{conversion:_0x2a4e96}=_0x227b19;_0x2a4e96['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2a4e96['for']('upcast')['add'](_0x4f893f=>{_0x4f893f['on']('element:ol',(_0x18d800,_0x310a6d,_0x1821f7)=>{const _0x2a51cb=_0x310a6d['viewItem'];if(!_0x2a51cb['hasClass']('footnotes-list')||!_0x310a6d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1821f7['consumable']['consume'](_0x2a51cb,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x40ebdc,modelCursor:_0x2ccc62}=_0x1821f7['convertChildren'](_0x310a6d['viewItem'],_0x310a6d['modelCursor']);_0x310a6d['modelRange']=_0x40ebdc,_0x310a6d['modelCursor']=_0x2ccc62;}),_0x4f893f['on']('element:hr',(_0x53a099,_0x53e3e3,_0x559cd7)=>{const _0x5d779d=_0x53e3e3['viewItem'];_0x5d779d['hasClass']('footnotes-divider')&&_0x53e3e3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x559cd7['consumable']['consume'](_0x5d779d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2a4e96['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b7692,{writer:_0x2a9fb0})=>D(_0x2a9fb0)}),_0x2a4e96['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x44025b,{writer:_0x2a52be})=>{const _0x31bb20=D(_0x2a52be,{'data-footnotes-list-label':t('Footnotes')}),_0x4e195b=_0x1b1bd6(_0x31bb20,_0x2a52be,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2a52be['setCustomProperty']('footnotesDefinitions',!0x0,_0x4e195b),_0x4e195b;}});}['_defineDefinitionConverters'](){const {editor:_0x293dce}=this,{conversion:_0x443813,locale:_0x417067}=_0x293dce,_0x4317f3=_0x293dce['config']['get']('footnotes.multiBlock');_0x443813['for']('upcast')['add'](_0x45cb08=>{_0x45cb08['on']('element:li',(_0x5097be,_0x67b6f,_0x5146f2)=>{const _0x342527=_0x67b6f['viewItem'];if(!_0x342527['hasClass']('footnote-definition')||!_0x342527['getAttribute']('id'))return;const _0x1c05f4=_0x342527['parent'];if(!_0x1c05f4['is']('element','ol')||!_0x1c05f4['hasClass']('footnotes-list'))return;if(!_0x5146f2['consumable']['test'](_0x342527,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x520e46=_0x5146f2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x342527['getAttribute']('id')});if(!_0x5146f2['safeInsert'](_0x520e46,_0x67b6f['modelCursor']))return;_0x5146f2['consumable']['consume'](_0x342527,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x330fb4=Array['from'](_0x342527['getChildren']())['find'](_0x558fd6=>_0x558fd6['is']('element')&&_0x558fd6['hasClass']('footnote-content'));for(const _0x2c3b9c of _0x342527['getChildren']())_0x2c3b9c['is']('element')&&(_0x5146f2['consumable']['consume'](_0x2c3b9c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5146f2['consumable']['consume'](_0x2c3b9c,{'name':!0x0,'classes':'footnote-content'}));if(_0x330fb4){if(_0x4317f3)_0x5146f2['convertChildren'](_0x330fb4,_0x520e46);else{const _0x24efcb=_0x5146f2['writer']['createElement']('footnoteInlineContent');_0x5146f2['writer']['insert'](_0x24efcb,_0x520e46),_0x5146f2['convertChildren'](_0x330fb4,_0x24efcb);}}_0x5146f2['updateConversionResult'](_0x520e46,_0x67b6f);});}),_0x443813['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x151b52,{writer:_0x5606a5})=>y(_0x151b52,_0x5606a5,_0x417067,{'dataPipeline':!0x0})}),_0x443813['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1001e4,{writer:_0x5d99c1})=>y(_0x1001e4,_0x5d99c1,_0x417067)});}['_defineBogusParagraphConverters'](){const {editor:_0x423435}=this,{conversion:_0x41bc5b}=_0x423435;_0x423435['config']['get']('footnotes.multiBlock')?(_0x41bc5b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x41bc5b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x423435['model']['document'],'change:data',()=>{!function(_0x5902ea,_0x4babbe){const _0x4d8bcc=_0x5902ea['document']['differ'],_0x50ae6b=new Set();for(const _0x354f09 of _0x4d8bcc['getChanges']()){const _0x254c54='attribute'==_0x354f09['type']?_0x354f09['range']['start']['parent']:_0x354f09['position']['parent'];_0x254c54['is']('element','footnoteDefinition')&&_0x50ae6b['add'](_0x254c54);}for(const _0x48f189 of _0x50ae6b['values']()){const _0x4332ad=Array['from'](_0x48f189['getChildren']())['filter'](_0x45e443=>v(_0x45e443,_0x4babbe['mapper']));for(const _0x28c53c of _0x4332ad)_0x4babbe['reconvertItem'](_0x28c53c);}}(_0x423435['model'],_0x423435['editing']);})):(_0x41bc5b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x41bc5b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x595b40,{writer:_0x49369c})=>{const _0x5d8d26=_0x49369c['createContainerElement']('span');return _0x49369c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d8d26),_0x5d8d26;}}));}['_defineKeyboardHandlers'](){const {editor:_0x292d3d}=this,{editing:_0x12404a,t:t}=_0x292d3d,_0x31dd9f=_0x292d3d['model']['document']['selection'];_0x292d3d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x292d3d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12404a['view']['document'],'enter',(_0x53d4d9,_0x3bdb84)=>{const _0x13278d=function(_0xb07d0f){const _0x1ae96c=_0xb07d0f['getSelectedElement']();if(_0x1ae96c?.['is']('element','footnoteRef'))return _0x1ae96c;return null;}(_0x31dd9f);if(_0x13278d){const _0x279a23=_0x13278d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x279a23),_0x3bdb84['preventDefault'](),_0x53d4d9['stop']();}},{'context':_0x30d5b2});}['_defineClickHandlers'](){const {editor:_0x398240}=this,{editing:_0x3468ed}=_0x398240;_0x398240['editing']['view']['addObserver'](_0xa9201f),_0x398240['editing']['view']['addObserver'](_0x3a373a);let _0x2642fd=!0x1;this['listenTo'](_0x3468ed['view']['document'],'pointerdown',(_0x18d2a6,_0x325751)=>{const {target:_0xa6d7ef}=_0x325751,_0x1609eb=_0x3468ed['view']['document']['selection'];_0x2642fd=!!(_0xa6d7ef?.['is']('element','a')&&_0xa6d7ef['parent']?.['is']('element','sup')&&_0xa6d7ef['parent']['hasClass']('footnote'))&&_0x1609eb['getSelectedElement']()===_0xa6d7ef['parent'];},{'priority':'high'}),this['listenTo'](_0x3468ed['view']['document'],'click',(_0x6d485b,_0x4ccf9e)=>{const {target:_0x57369e}=_0x4ccf9e;if(!_0x57369e?.['is']('element','a'))return;if(_0x57369e['parent']?.['is']('element','sup')&&_0x57369e['parent']['hasClass']('footnote')&&!_0x2642fd)return void _0x4ccf9e['preventDefault']();let _0x44a625=_0x57369e['getAttribute']('href');if(!_0x44a625?.['startsWith']('#'))return;_0x44a625=_0x44a625['slice'](0x1);let _0x57fd92=!0x1;(_0x44a625['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x44a625['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x44a625))&&(_0x57fd92=!0x0),_0x57fd92&&(_0x4ccf9e['preventDefault'](),_0x6d485b['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3ebea3}={}){return(_0x3d51f4,{writer:_0x5a32c5})=>{if(!g(_0x3d51f4))return null;if(!_0x3ebea3)return _0x5a32c5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x161ae0=_0x5a32c5['createContainerElement']('p');return _0x5a32c5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x161ae0),_0x161ae0;};}function g(_0x5dc637){const {parent:_0x157d61}=_0x5dc637;if(!_0x157d61?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x157d61['childCount'])return!0x1;for(const _0x1fcfb4 of _0x5dc637['getAttributeKeys']())if(!_0x1fcfb4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1fcfb4)return!0x1;return!0x0;}function v(_0x53b6a1,_0x416027){if(!_0x53b6a1['is']('element','paragraph'))return!0x1;const _0x5dcea9=_0x416027['toViewElement'](_0x53b6a1);return!!_0x5dcea9&&g(_0x53b6a1)!==_0x5dcea9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x11076f){return _0x30d5b2(_0x11076f)&&_0x11076f['is']('containerElement')&&!!_0x11076f['getCustomProperty']('footnotesDefinitions');}function D(_0x195344,_0x29e11b={}){const _0x1ac994=_0x195344['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x18e657=_0x195344['createContainerElement']('ol',{'class':'footnotes-list'},_0x195344['createSlot']());return _0x195344['createContainerElement']('div',{'class':'footnotes',..._0x29e11b},[_0x1ac994,_0x18e657]);}function b(_0x145d94,_0x3f4a87){const _0x345828=_0x145d94['getAttribute']('footnoteId'),_0x35d80e=_0x145d94['getAttribute']('footnoteCounter'),_0x5d80f7=_0x3f4a87['createUIElement']('a',{'href':'#'+_0x345828},function(_0x2ddba4){const _0x214ac2=this['toDomElement'](_0x2ddba4);return _0x214ac2['textContent']=_0x35d80e,_0x214ac2;}),_0x451424=_0x3f4a87['createContainerElement']('sup',{'id':'ref-'+_0x345828,'class':'footnote'},[_0x5d80f7]);return _0x451424['getFillerOffset']=()=>null,_0x451424;}function y(_0x162572,_0x35e2a1,_0x4cd0b7,{dataPipeline:_0x22e4c3}={}){const {t:t}=_0x4cd0b7,_0x1e6fbc=_0x162572['getAttribute']('footnoteId'),_0x6ed8e1=_0x35e2a1['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1e6fbc},function(_0x124d7d){const _0x32d198=this['toDomElement'](_0x124d7d);return _0x32d198['innerText']='^',_0x32d198;}),_0x53c193=_0x22e4c3?_0x35e2a1['createContainerElement']('div',{'class':'footnote-content'}):_0x52eec8(_0x35e2a1['createEditableElement']('div',{'class':'footnote-content'}),_0x35e2a1,{'label':t('Footnote\x20content.')});return _0x35e2a1['insert'](_0x35e2a1['createPositionAt'](_0x53c193,0x0),_0x35e2a1['createSlot']()),_0x35e2a1['createContainerElement']('li',{'class':'footnote-definition','id':_0x1e6fbc},[_0x6ed8e1,_0x53c193]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b15(_0x3a6fc5,_0x1b53ab){const _0x5247a1=_0x5247();return _0x4b15=function(_0x4b158b,_0x15bf72){_0x4b158b=_0x4b158b-0x129;let _0x38e5f6=_0x5247a1[_0x4b158b];return _0x38e5f6;},_0x4b15(_0x3a6fc5,_0x1b53ab);}function _0x5247(){const _0x1e9e6d=['531WxnQPR','refresh','plugins','448642UuxyOE','change','_updateFootnotesCounters','4SEqBxt','footnotesListStart','18880azeFKv','977620ESeSte','execute','value','3112096LtPNvZ','750356LAhAJC','isInteger','setAttribute','getFootnotesDefinitionsObjectElement','get','2807328zeiLYp','9642143fJYlry','isEnabled','getAttribute','model','3bQDZth'];_0x5247=function(){return _0x1e9e6d;};return _0x5247();}const _0x1e3a2b=_0x4b15;(function(_0x489013,_0x45a5b5){const _0x5cca38=_0x4b15,_0x59c073=_0x489013();while(!![]){try{const _0x152acc=parseInt(_0x5cca38(0x140))/0x1*(-parseInt(_0x5cca38(0x13d))/0x2)+parseInt(_0x5cca38(0x139))/0x3*(parseInt(_0x5cca38(0x12f))/0x4)+parseInt(_0x5cca38(0x12b))/0x5+parseInt(_0x5cca38(0x134))/0x6+parseInt(_0x5cca38(0x135))/0x7+-parseInt(_0x5cca38(0x12e))/0x8+parseInt(_0x5cca38(0x13a))/0x9*(-parseInt(_0x5cca38(0x12a))/0xa);if(_0x152acc===_0x45a5b5)break;else _0x59c073['push'](_0x59c073['shift']());}catch(_0x220ccd){_0x59c073['push'](_0x59c073['shift']());}}}(_0x5247,0xcad2a));import{Command as _0x294a75}from'ckeditor5/src/core.js';import{FootnotesTracker as _0xa1f11}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x294a75{[_0x1e3a2b(0x13b)](){const _0x2e44ae=_0x1e3a2b,{editor:_0x27389f}=this,_0x11b6ae=_0x27389f[_0x2e44ae(0x13c)][_0x2e44ae(0x133)](_0xa1f11)[_0x2e44ae(0x132)]();this[_0x2e44ae(0x136)]=!!_0x11b6ae,this[_0x2e44ae(0x12d)]=_0x11b6ae?.[_0x2e44ae(0x137)](_0x2e44ae(0x129))??null;}[_0x1e3a2b(0x12c)]({value:_0x1b9e91}){const _0x1901b2=_0x1e3a2b,{editor:_0x4f333c}=this,_0x565253=_0x4f333c[_0x1901b2(0x13c)][_0x1901b2(0x133)](_0xa1f11),_0x156109=_0x565253[_0x1901b2(0x132)]();_0x156109&&Number[_0x1901b2(0x130)](_0x1b9e91)&&_0x4f333c[_0x1901b2(0x138)][_0x1901b2(0x13e)](_0xb5249b=>{const _0x2dc61e=_0x1901b2;_0xb5249b[_0x2dc61e(0x131)](_0x2dc61e(0x129),_0x1b9e91,_0x156109),_0x565253[_0x2dc61e(0x13f)](_0xb5249b);});}}
23
+ const _0xe6e2aa=_0x7d55;(function(_0x15008e,_0x2f7e9d){const _0x4761cb=_0x7d55,_0xb4c162=_0x15008e();while(!![]){try{const _0x241231=parseInt(_0x4761cb(0x102))/0x1+-parseInt(_0x4761cb(0xf9))/0x2*(-parseInt(_0x4761cb(0x107))/0x3)+parseInt(_0x4761cb(0x109))/0x4*(parseInt(_0x4761cb(0xfc))/0x5)+parseInt(_0x4761cb(0xf2))/0x6+parseInt(_0x4761cb(0xfe))/0x7*(parseInt(_0x4761cb(0xf4))/0x8)+-parseInt(_0x4761cb(0xf3))/0x9+-parseInt(_0x4761cb(0x103))/0xa;if(_0x241231===_0x2f7e9d)break;else _0xb4c162['push'](_0xb4c162['shift']());}catch(_0x37dd66){_0xb4c162['push'](_0xb4c162['shift']());}}}(_0x2875,0xbc068));import{Command as _0x5232ef}from'ckeditor5/src/core.js';function _0x2875(){const _0x11dc8d=['11875500STfsDn','7239888wGFLlO','isEnabled','execute','change','model','1264510bJnMKn','plugins','isInteger','3167435OHaeCr','setAttribute','7fwSlcn','refresh','footnotesListStart','value','1325143Fjllpu','20716010TgBTFN','get','_updateFootnotesCounters','getAttribute','3QfyaXx','getFootnotesDefinitionsObjectElement','8EdtLyd','191370YgpCrr'];_0x2875=function(){return _0x11dc8d;};return _0x2875();}import{FootnotesTracker as _0x43fae5}from'../../footnotestracker.js';function _0x7d55(_0x5d7772,_0x26099e){const _0x2875c3=_0x2875();return _0x7d55=function(_0x7d55eb,_0x39e1d6){_0x7d55eb=_0x7d55eb-0xf2;let _0x222f82=_0x2875c3[_0x7d55eb];return _0x222f82;},_0x7d55(_0x5d7772,_0x26099e);}export class FootnotesStartCommand extends _0x5232ef{[_0xe6e2aa(0xff)](){const _0x2d8536=_0xe6e2aa,{editor:_0x2093c5}=this,_0x1cf413=_0x2093c5[_0x2d8536(0xfa)][_0x2d8536(0x104)](_0x43fae5)[_0x2d8536(0x108)]();this[_0x2d8536(0xf5)]=!!_0x1cf413,this[_0x2d8536(0x101)]=_0x1cf413?.[_0x2d8536(0x106)](_0x2d8536(0x100))??null;}[_0xe6e2aa(0xf6)]({value:_0x1bc2d0}){const _0x34070a=_0xe6e2aa,{editor:_0x2b03b4}=this,_0x382e09=_0x2b03b4[_0x34070a(0xfa)][_0x34070a(0x104)](_0x43fae5),_0x48ab4a=_0x382e09[_0x34070a(0x108)]();_0x48ab4a&&Number[_0x34070a(0xfb)](_0x1bc2d0)&&_0x2b03b4[_0x34070a(0xf8)][_0x34070a(0xf7)](_0x4c0da7=>{const _0xb46c61=_0x34070a;_0x4c0da7[_0xb46c61(0xfd)](_0xb46c61(0x100),_0x1bc2d0,_0x48ab4a),_0x382e09[_0xb46c61(0x105)](_0x4c0da7);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39a172=_0xd0e7;(function(_0x4b055e,_0x1ddd70){const _0x1d1a84=_0xd0e7,_0x450750=_0x4b055e();while(!![]){try{const _0x23184f=parseInt(_0x1d1a84(0x13c))/0x1+-parseInt(_0x1d1a84(0x134))/0x2*(parseInt(_0x1d1a84(0x132))/0x3)+parseInt(_0x1d1a84(0x12d))/0x4*(parseInt(_0x1d1a84(0x12c))/0x5)+-parseInt(_0x1d1a84(0x136))/0x6*(-parseInt(_0x1d1a84(0x140))/0x7)+parseInt(_0x1d1a84(0x13a))/0x8*(-parseInt(_0x1d1a84(0x12e))/0x9)+-parseInt(_0x1d1a84(0x130))/0xa+parseInt(_0x1d1a84(0x12b))/0xb;if(_0x23184f===_0x1ddd70)break;else _0x450750['push'](_0x450750['shift']());}catch(_0x452498){_0x450750['push'](_0x450750['shift']());}}}(_0x53b0,0x5a5d3));function _0xd0e7(_0x30914a,_0x3aa539){const _0x53b01e=_0x53b0();return _0xd0e7=function(_0xd0e74a,_0x25c7d9){_0xd0e74a=_0xd0e74a-0x128;let _0x1bf7cf=_0x53b01e[_0xd0e74a];return _0x1bf7cf;},_0xd0e7(_0x30914a,_0x3aa539);}import{Command as _0x26c3d8}from'ckeditor5/src/core.js';function _0x53b0(){const _0x30f94a=['model','6341533XswjfX','545bGNBdT','2836MamoAH','9mqPIDT','isEnabled','4469500Zaprrb','setAttribute','1311615ynvPyN','execute','2bNfhVS','getAttribute','12hAABvg','_updateFootnotesCounters','includes','plugins','262264KxlgPq','refresh','2605UKPrwy','footnotesListStyle','value','get','2207380rsdKcm','getFootnotesDefinitionsObjectElement','change'];_0x53b0=function(){return _0x30f94a;};return _0x53b0();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x159d2e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x2a699d}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x26c3d8{[_0x39a172(0x13b)](){const _0x3af5e2=_0x39a172,{editor:_0xec5100}=this,_0x5ec199=_0xec5100[_0x3af5e2(0x139)][_0x3af5e2(0x13f)](_0x2a699d)[_0x3af5e2(0x128)]();this[_0x3af5e2(0x12f)]=!!_0x5ec199,this[_0x3af5e2(0x13e)]=_0x5ec199?.[_0x3af5e2(0x135)](_0x3af5e2(0x13d))??null;}[_0x39a172(0x133)]({value:_0x41bc89}){const _0x1f4cdc=_0x39a172,{editor:_0x1ac579}=this,_0x5dc00b=_0x1ac579[_0x1f4cdc(0x139)][_0x1f4cdc(0x13f)](_0x2a699d),_0x330836=_0x5dc00b[_0x1f4cdc(0x128)]();_0x330836&&_0x159d2e[_0x1f4cdc(0x138)](_0x41bc89)&&_0x1ac579[_0x1f4cdc(0x12a)][_0x1f4cdc(0x129)](_0x3c46b8=>{const _0x440879=_0x1f4cdc;_0x3c46b8[_0x440879(0x131)](_0x440879(0x13d),_0x41bc89,_0x330836),_0x5dc00b[_0x440879(0x137)](_0x3c46b8);});}}
23
+ function _0x172c(){const _0x39f826=['setAttribute','isEnabled','execute','1858664DJKnGB','224253CZWYZf','includes','3576828GahDEV','2nkbibx','footnotesListStyle','8iElSuJ','get','model','value','change','plugins','getAttribute','1578579kSaaEG','refresh','6245110wLveZd','476693evoKYh','16715394yzJZvB','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement'];_0x172c=function(){return _0x39f826;};return _0x172c();}const _0x42528f=_0x20b3;function _0x20b3(_0x41a354,_0x2a78a6){const _0x172c6c=_0x172c();return _0x20b3=function(_0x20b384,_0x5b2a4e){_0x20b384=_0x20b384-0x134;let _0x57b5d1=_0x172c6c[_0x20b384];return _0x57b5d1;},_0x20b3(_0x41a354,_0x2a78a6);}(function(_0x36f8d3,_0x5e24a9){const _0x52a21f=_0x20b3,_0x255152=_0x36f8d3();while(!![]){try{const _0x4ef304=-parseInt(_0x52a21f(0x149))/0x1+parseInt(_0x52a21f(0x135))/0x2*(parseInt(_0x52a21f(0x13e))/0x3)+parseInt(_0x52a21f(0x148))/0x4+parseInt(_0x52a21f(0x140))/0x5+parseInt(_0x52a21f(0x134))/0x6+-parseInt(_0x52a21f(0x141))/0x7+-parseInt(_0x52a21f(0x137))/0x8*(parseInt(_0x52a21f(0x142))/0x9);if(_0x4ef304===_0x5e24a9)break;else _0x255152['push'](_0x255152['shift']());}catch(_0xd2ce21){_0x255152['push'](_0x255152['shift']());}}}(_0x172c,0xa7941));import{Command as _0x5e1829}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3ec910}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x3c21be}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x5e1829{[_0x42528f(0x13f)](){const _0x54df7b=_0x42528f,{editor:_0x17bed5}=this,_0x21ad46=_0x17bed5[_0x54df7b(0x13c)][_0x54df7b(0x138)](_0x3c21be)[_0x54df7b(0x144)]();this[_0x54df7b(0x146)]=!!_0x21ad46,this[_0x54df7b(0x13a)]=_0x21ad46?.[_0x54df7b(0x13d)](_0x54df7b(0x136))??null;}[_0x42528f(0x147)]({value:_0x5c4b78}){const _0x30e0cd=_0x42528f,{editor:_0x33e569}=this,_0x27ff9e=_0x33e569[_0x30e0cd(0x13c)][_0x30e0cd(0x138)](_0x3c21be),_0xc3742a=_0x27ff9e[_0x30e0cd(0x144)]();_0xc3742a&&_0x3ec910[_0x30e0cd(0x14a)](_0x5c4b78)&&_0x33e569[_0x30e0cd(0x139)][_0x30e0cd(0x13b)](_0x15230a=>{const _0x5c3570=_0x30e0cd;_0x15230a[_0x5c3570(0x145)](_0x5c3570(0x136),_0x5c4b78,_0xc3742a),_0x27ff9e[_0x5c3570(0x143)](_0x15230a);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xefd3(){const _0x5013a8=['644ZcrFHu','939ZGWewj','24zpzajp','65097eCLhtB','40286QSwETS','upper-roman','14YqInGO','lower-roman','13792rzlDLY','decimal-leading-zero','2919191ZkMLbt','upper-latin','upper-alpha','decimal','30758IWNbCS','320765OVcDgr','12GSEsST','630ZtFaXk','6foRmJW','lower-latin','lower-alpha','2111848iFxsFe'];_0xefd3=function(){return _0x5013a8;};return _0xefd3();}const _0x3882f3=_0x3115;(function(_0x14cdc6,_0x162c0a){const _0xe1eb9a=_0x3115,_0x36fb83=_0x14cdc6();while(!![]){try{const _0x218e1c=-parseInt(_0xe1eb9a(0x1b6))/0x1*(parseInt(_0xe1eb9a(0x1b4))/0x2)+parseInt(_0xe1eb9a(0x1b3))/0x3*(parseInt(_0xe1eb9a(0x1ba))/0x4)+parseInt(_0xe1eb9a(0x1c1))/0x5*(-parseInt(_0xe1eb9a(0x1ae))/0x6)+parseInt(_0xe1eb9a(0x1b8))/0x7*(-parseInt(_0xe1eb9a(0x1b1))/0x8)+-parseInt(_0xe1eb9a(0x1b5))/0x9*(-parseInt(_0xe1eb9a(0x1ad))/0xa)+-parseInt(_0xe1eb9a(0x1bc))/0xb*(-parseInt(_0xe1eb9a(0x1c2))/0xc)+parseInt(_0xe1eb9a(0x1c0))/0xd*(-parseInt(_0xe1eb9a(0x1b2))/0xe);if(_0x218e1c===_0x162c0a)break;else _0x36fb83['push'](_0x36fb83['shift']());}catch(_0x30c004){_0x36fb83['push'](_0x36fb83['shift']());}}}(_0xefd3,0x965dd));function _0x3115(_0x57bf98,_0x3413fa){const _0xefd388=_0xefd3();return _0x3115=function(_0x311525,_0xcc43e0){_0x311525=_0x311525-0x1ad;let _0x386d8b=_0xefd388[_0x311525];return _0x386d8b;},_0x3115(_0x57bf98,_0x3413fa);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3882f3(0x1bf),_0x3882f3(0x1bb),_0x3882f3(0x1af),_0x3882f3(0x1bd),_0x3882f3(0x1b0),_0x3882f3(0x1be),_0x3882f3(0x1b9),_0x3882f3(0x1b7)];
23
+ const _0x28132e=_0x3b55;function _0x24f3(){const _0x146cff=['decimal','decimal-leading-zero','2ZaAtub','upper-alpha','upper-roman','655736hxouGE','upper-latin','lower-roman','7543683OYxsHy','1444096mSBGkm','2522780hXkrLJ','lower-alpha','2262600RDZJGr','289241ODjCmY','9QnDTHm','3421755HiFCbV','lower-latin'];_0x24f3=function(){return _0x146cff;};return _0x24f3();}function _0x3b55(_0x21470f,_0x19e129){const _0x24f3f9=_0x24f3();return _0x3b55=function(_0x3b5591,_0x3c9753){_0x3b5591=_0x3b5591-0x97;let _0x4b6a4b=_0x24f3f9[_0x3b5591];return _0x4b6a4b;},_0x3b55(_0x21470f,_0x19e129);}(function(_0x338a40,_0x976c32){const _0xe1abf8=_0x3b55,_0x6f053c=_0x338a40();while(!![]){try{const _0x20c658=parseInt(_0xe1abf8(0xa6))/0x1*(parseInt(_0xe1abf8(0x9b))/0x2)+-parseInt(_0xe1abf8(0x97))/0x3+-parseInt(_0xe1abf8(0xa2))/0x4+parseInt(_0xe1abf8(0xa3))/0x5+parseInt(_0xe1abf8(0xa5))/0x6+parseInt(_0xe1abf8(0xa1))/0x7+parseInt(_0xe1abf8(0x9e))/0x8*(-parseInt(_0xe1abf8(0xa7))/0x9);if(_0x20c658===_0x976c32)break;else _0x6f053c['push'](_0x6f053c['shift']());}catch(_0x2ccb6b){_0x6f053c['push'](_0x6f053c['shift']());}}}(_0x24f3,0xa259e));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x28132e(0x99),_0x28132e(0x9a),_0x28132e(0x98),_0x28132e(0x9f),_0x28132e(0xa4),_0x28132e(0x9c),_0x28132e(0xa0),_0x28132e(0x9d)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d0c(){const _0x4a16c7=['$text','footnotes.footnotesProperties.defaultStartIndex','writer','parent','footnotes.footnotesProperties.defaultListStyle','removeAttribute','upper-alpha','downcast','item','model','10fAsgDE','from','setAttribute','setFootnoteFormatter','6144614npgGHe','for','upper-roman','init','start','createRangeOn','schema','31613164iaHCxs','pluginName','find','lower-latin','add','_getDefaultStartIndex','commands','padStart','registerPostFixer','requires','fromCharCode','attribute:footnotesListStart:footnotesDefinitions','608031JHVoUh','footnotes-list','parseInt','element:ol','2173512AuAWxx','toUpperCase','nodeAfter','136ANxbJF','floor','consume','document','setStyle','toLowerCase','isOfficialPlugin','5elgVcD','13497qFhsNh','insert','toViewElement','define','_updateFootnotesCounters','extend','getAttribute','max','viewItem','upper-latin','lower-alpha','decimal-leading-zero','decimal','footnotesListStart','getStyle','isNaN','footnotesStyle','type','getChildren','position','_defineConverters','modelCursor','editor','footnotesStart','hasAttribute','_defineFormatter','footnotesListStyle','consumable','name','hasClass','_getDefaultListStyle','plugins','footnotesDefinitions','checkAttribute','isPremiumPlugin','differ','lower-roman','134pMOsAK','upcast','element','3079338DVhWmW','_definePostfixer','removeStyle','mapper','FootnotesPropertiesEditing','3458656lFweQN','attribute:footnotesListStyle:footnotesDefinitions','config','_formatFootnoteListValue','getItems','getChanges','list-style-type','_defineSchema','get'];_0x5d0c=function(){return _0x4a16c7;};return _0x5d0c();}const _0x5e1c01=_0x3dbe;(function(_0x271081,_0x13ae43){const _0x228e43=_0x3dbe,_0x297c0e=_0x271081();while(!![]){try{const _0x56c334=-parseInt(_0x228e43(0x164))/0x1*(-parseInt(_0x228e43(0x189))/0x2)+parseInt(_0x228e43(0x18c))/0x3+-parseInt(_0x228e43(0x191))/0x4+parseInt(_0x228e43(0x163))/0x5*(parseInt(_0x228e43(0x159))/0x6)+parseInt(_0x228e43(0x1a8))/0x7+parseInt(_0x228e43(0x15c))/0x8*(parseInt(_0x228e43(0x155))/0x9)+-parseInt(_0x228e43(0x1a4))/0xa*(parseInt(_0x228e43(0x1af))/0xb);if(_0x56c334===_0x13ae43)break;else _0x297c0e['push'](_0x297c0e['shift']());}catch(_0xee07a){_0x297c0e['push'](_0x297c0e['shift']());}}}(_0x5d0c,0x8dc6a));import{Plugin as _0x40d784}from'ckeditor5/src/core.js';function _0x3dbe(_0x1f11b0,_0x208b4c){const _0x5d0cca=_0x5d0c();return _0x3dbe=function(_0x3dbe5f,_0x304bb0){_0x3dbe5f=_0x3dbe5f-0x151;let _0x5ce1a5=_0x5d0cca[_0x3dbe5f];return _0x5ce1a5;},_0x3dbe(_0x1f11b0,_0x208b4c);}import{FootnotesStyleCommand as _0x194f20}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x4ee3ce}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x304dfb}from'../footnotestracker.js';import{FootnotesEditing as _0x499f72}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x40d784{static get[_0x5e1c01(0x1b0)](){const _0x4d4e5f=_0x5e1c01;return _0x4d4e5f(0x190);}static get[_0x5e1c01(0x152)](){return[_0x499f72,_0x304dfb];}static get[_0x5e1c01(0x162)](){return!0x0;}static get[_0x5e1c01(0x186)](){return!0x0;}[_0x5e1c01(0x1ab)](){const _0x3abc95=_0x5e1c01,{editor:_0xac04f}=this;_0xac04f[_0x3abc95(0x193)][_0x3abc95(0x167)](_0x3abc95(0x19e),_0x3abc95(0x170)),_0xac04f[_0x3abc95(0x193)][_0x3abc95(0x167)](_0x3abc95(0x19b),0x1),_0xac04f[_0x3abc95(0x1b5)][_0x3abc95(0x1b3)](_0x3abc95(0x174),new _0x194f20(_0xac04f)),_0xac04f[_0x3abc95(0x1b5)][_0x3abc95(0x1b3)](_0x3abc95(0x17b),new _0x4ee3ce(_0xac04f)),this[_0x3abc95(0x198)](),this[_0x3abc95(0x178)](),this[_0x3abc95(0x17d)](),this[_0x3abc95(0x18d)]();}[_0x5e1c01(0x198)](){const _0x3416da=_0x5e1c01,{editor:_0x2d368b}=this,{schema:_0x45c36d}=_0x2d368b[_0x3416da(0x1a3)];_0x45c36d[_0x3416da(0x169)](_0x3416da(0x184),{'allowAttributes':[_0x3416da(0x17e),_0x3416da(0x171)]});}[_0x5e1c01(0x178)](){const _0x4b6773=_0x5e1c01,{editor:_0x4b7ee8}=this,{conversion:_0x5e40f7,model:_0x5f1998}=_0x4b7ee8,{schema:_0x241beb}=_0x5f1998;_0x5e40f7[_0x4b6773(0x1a9)](_0x4b6773(0x18a))[_0x4b6773(0x1b3)](_0x1d17f5=>{const _0x432ce6=_0x4b6773;_0x1d17f5['on'](_0x432ce6(0x158),(_0x4c3f5c,_0xf607ac,_0x5c584d)=>{const _0x57c4ff=_0x432ce6,_0x39d1e8=_0xf607ac[_0x57c4ff(0x16c)],_0x4078c1=_0xf607ac[_0x57c4ff(0x179)]?.[_0x57c4ff(0x19d)];_0x39d1e8[_0x57c4ff(0x181)](_0x57c4ff(0x156))&&_0x4078c1?.['is'](_0x57c4ff(0x18b),_0x57c4ff(0x184))&&(function(_0x52d7d8,_0x38ae47,_0x503928,_0xf20fab){const _0x2466e7=_0x57c4ff;if(!_0xf20fab[_0x2466e7(0x185)](_0x38ae47,_0x2466e7(0x171)))return;let _0x4a0890=0x1;const _0x2822aa=_0x503928[_0x2466e7(0x17f)][_0x2466e7(0x15e)](_0x52d7d8,{'attributes':_0x2466e7(0x1ac)});if(_0x2822aa){const _0x7ff165=Number[_0x2466e7(0x157)](_0x52d7d8[_0x2466e7(0x16a)](_0x2466e7(0x1ac)),0xa);Number[_0x2466e7(0x173)](_0x7ff165)||(_0x4a0890=_0x7ff165);}!_0x2822aa&&_0x38ae47[_0x2466e7(0x17c)](_0x2466e7(0x171))||_0x503928[_0x2466e7(0x19c)][_0x2466e7(0x1a6)](_0x2466e7(0x171),_0x4a0890,_0x38ae47);}(_0x39d1e8,_0x4078c1,_0x5c584d,_0x241beb),function(_0x3bc846,_0x4972ab,_0x5eaa44,_0x3a3619){const _0x2b1f50=_0x57c4ff;if(!_0x3a3619[_0x2b1f50(0x185)](_0x4972ab,_0x2b1f50(0x17e)))return;let _0x384cf8=_0x2b1f50(0x170),_0x4053be=!0x1;if(_0x5eaa44[_0x2b1f50(0x17f)][_0x2b1f50(0x15e)](_0x3bc846,{'attributes':_0x2b1f50(0x175)})){const _0x45d487={0x1:_0x2b1f50(0x170),'a':_0x2b1f50(0x16e),'A':_0x2b1f50(0x1a0),'i':_0x2b1f50(0x188),'I':_0x2b1f50(0x1aa)}[_0x3bc846[_0x2b1f50(0x16a)](_0x2b1f50(0x175))];_0x45d487&&(_0x384cf8=_0x45d487),_0x4053be=!0x0;}_0x5eaa44[_0x2b1f50(0x17f)][_0x2b1f50(0x15e)](_0x3bc846,{'styles':_0x2b1f50(0x197)})&&(_0x384cf8=function(_0x70e997){const _0x238e24=_0x2b1f50;switch(_0x70e997){case _0x238e24(0x16e):return _0x238e24(0x1b2);case _0x238e24(0x1a0):return _0x238e24(0x16d);default:return _0x70e997;}}(_0x3bc846[_0x2b1f50(0x172)](_0x2b1f50(0x197))),_0x4053be=!0x0),!_0x4053be&&_0x4972ab[_0x2b1f50(0x17c)](_0x2b1f50(0x17e))||_0x5eaa44[_0x2b1f50(0x19c)][_0x2b1f50(0x1a6)](_0x2b1f50(0x17e),_0x384cf8,_0x4972ab);}(_0x39d1e8,_0x4078c1,_0x5c584d,_0x241beb));});}),_0x5e40f7[_0x4b6773(0x1a9)](_0x4b6773(0x1a1))[_0x4b6773(0x1b3)](_0x3ffe73=>{const _0x3e1f2a=_0x4b6773;_0x3ffe73['on'](_0x3e1f2a(0x154),(_0x603e0f,_0x2a35e8,_0x8be3b6)=>{const _0x38d8ec=_0x3e1f2a;if(!_0x8be3b6[_0x38d8ec(0x17f)][_0x38d8ec(0x15e)](_0x2a35e8[_0x38d8ec(0x1a2)],_0x603e0f[_0x38d8ec(0x180)]))return;const _0x79a6e9=M(_0x2a35e8[_0x38d8ec(0x1a2)],_0x8be3b6[_0x38d8ec(0x18f)]),{attributeNewValue:_0x57f6a8}=_0x2a35e8;null==_0x57f6a8||0x1===_0x57f6a8?_0x8be3b6[_0x38d8ec(0x19c)][_0x38d8ec(0x19f)](_0x38d8ec(0x1ac),_0x79a6e9):_0x8be3b6[_0x38d8ec(0x19c)][_0x38d8ec(0x1a6)](_0x38d8ec(0x1ac),String(_0x57f6a8),_0x79a6e9);}),_0x3ffe73['on'](_0x3e1f2a(0x192),(_0x5076e1,_0x62493d,_0x111472)=>{const _0x291a20=_0x3e1f2a;if(!_0x111472[_0x291a20(0x17f)][_0x291a20(0x15e)](_0x62493d[_0x291a20(0x1a2)],_0x5076e1[_0x291a20(0x180)]))return;const _0x3c229f=M(_0x62493d[_0x291a20(0x1a2)],_0x111472[_0x291a20(0x18f)]),{attributeNewValue:_0x365048}=_0x62493d;_0x365048&&_0x291a20(0x170)!==_0x365048?_0x111472[_0x291a20(0x19c)][_0x291a20(0x160)](_0x291a20(0x197),_0x365048,_0x3c229f):_0x111472[_0x291a20(0x19c)][_0x291a20(0x18e)](_0x291a20(0x197),_0x3c229f);});});}[_0x5e1c01(0x18d)](){const _0x15839d=_0x5e1c01,{editor:_0x38312b}=this,{model:_0x4e4211}=_0x38312b,_0x390523=_0x38312b[_0x15839d(0x183)][_0x15839d(0x199)](_0x304dfb),_0x30d481=this[_0x15839d(0x182)](),_0x3ca219=this[_0x15839d(0x1b4)]();_0x4e4211[_0x15839d(0x15f)][_0x15839d(0x151)](_0x33aa90=>{const _0x211a36=_0x15839d,_0x3dc643=_0x4e4211[_0x211a36(0x15f)][_0x211a36(0x187)][_0x211a36(0x196)]();let _0x3d72eb=!0x1;for(const _0x589687 of _0x3dc643){if(_0x211a36(0x165)!==_0x589687[_0x211a36(0x175)]||_0x211a36(0x19a)===_0x589687[_0x211a36(0x180)])continue;const _0x52613b=_0x4e4211[_0x211a36(0x1ad)](_0x589687[_0x211a36(0x177)][_0x211a36(0x15b)]);for(const _0x352803 of _0x52613b[_0x211a36(0x195)]())_0x352803['is'](_0x211a36(0x18b),_0x211a36(0x184))&&(!_0x352803[_0x211a36(0x17c)](_0x211a36(0x171))&&_0x4e4211[_0x211a36(0x1ae)][_0x211a36(0x185)](_0x352803,_0x211a36(0x171))&&(_0x33aa90[_0x211a36(0x1a6)](_0x211a36(0x171),_0x3ca219,_0x352803),_0x3d72eb=!0x0),!_0x352803[_0x211a36(0x17c)](_0x211a36(0x17e))&&_0x4e4211[_0x211a36(0x1ae)][_0x211a36(0x185)](_0x352803,_0x211a36(0x17e))&&(_0x33aa90[_0x211a36(0x1a6)](_0x211a36(0x17e),_0x30d481,_0x352803),_0x3d72eb=!0x0));}return _0x3d72eb&&_0x390523[_0x211a36(0x168)](_0x33aa90),_0x3d72eb;});}[_0x5e1c01(0x17d)](){const _0x597a11=_0x5e1c01,{editor:_0x59c2b6}=this;_0x59c2b6[_0x597a11(0x183)][_0x597a11(0x199)](_0x304dfb)[_0x597a11(0x1a7)](_0x27aa7d=>this[_0x597a11(0x194)](_0x27aa7d));}[_0x5e1c01(0x182)](){const _0x134d92=_0x5e1c01;return this[_0x134d92(0x17a)][_0x134d92(0x193)][_0x134d92(0x199)](_0x134d92(0x19e));}[_0x5e1c01(0x1b4)](){const _0x4feb50=_0x5e1c01;return this[_0x4feb50(0x17a)][_0x4feb50(0x193)][_0x4feb50(0x199)](_0x4feb50(0x19b));}[_0x5e1c01(0x194)]({container:_0x320800,value:_0x329cea,digits:_0x482a52}){const _0x1ceb39=_0x5e1c01,_0x5c6e7f=_0x320800[_0x1ceb39(0x16a)](_0x1ceb39(0x17e)),_0x4ae7a0=_0x320800[_0x1ceb39(0x16a)](_0x1ceb39(0x171)),_0x355e40=Math[_0x1ceb39(0x15d)](_0x329cea)+(_0x4ae7a0??0x1)-0x1;switch(_0x5c6e7f){case _0x1ceb39(0x16f):return function(_0xf7ec30,_0x22981f){const _0x58dd08=_0x1ceb39;return String(_0xf7ec30)[_0x58dd08(0x1b6)](_0x22981f,'0');}(_0x355e40,Math[_0x1ceb39(0x16b)](0x2,_0x482a52));case _0x1ceb39(0x16e):case _0x1ceb39(0x1b2):return N(_0x355e40,!0x1);case _0x1ceb39(0x1a0):case _0x1ceb39(0x16d):return N(_0x355e40,!0x0);case _0x1ceb39(0x188):return X(_0x355e40,!0x1);case _0x1ceb39(0x1aa):return X(_0x355e40,!0x0);default:return String(_0x355e40);}}}function M(_0x2b4fd1,_0x296d31){const _0x5e6de4=_0x5e1c01,_0x1c9a3e=_0x296d31[_0x5e6de4(0x166)](_0x2b4fd1);return Array[_0x5e6de4(0x1a5)](_0x1c9a3e[_0x5e6de4(0x176)]())[_0x5e6de4(0x1b1)](_0x4b9314=>_0x4b9314['is'](_0x5e6de4(0x18b),'ol')&&_0x4b9314[_0x5e6de4(0x181)](_0x5e6de4(0x156)));}function N(_0x4e1a28,_0x9f73a7){const _0x55dca1=_0x5e1c01;let _0x52252d='',_0x1f017f=_0x4e1a28;for(;_0x1f017f>0x0;){const _0x13703f=(_0x1f017f-0x1)%0x1a;_0x52252d=String[_0x55dca1(0x153)](0x61+_0x13703f)+_0x52252d,_0x1f017f=Math[_0x55dca1(0x15d)]((_0x1f017f-0x1)/0x1a);}return _0x9f73a7?_0x52252d[_0x55dca1(0x15a)]():_0x52252d;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x40b21f,_0x1cb3a3){const _0x527944=_0x5e1c01;let _0x5b1155='',_0x1f5336=_0x40b21f;for(const {value:_0x3fcf77,numeral:_0xbafede}of V)for(;_0x1f5336>=_0x3fcf77;)_0x5b1155+=_0xbafede,_0x1f5336-=_0x3fcf77;return _0x1cb3a3?_0x5b1155:_0x5b1155[_0x527944(0x161)]();}
23
+ const _0x47d199=_0x3284;function _0x14dd(){const _0x26e751=['item','removeAttribute','isOfficialPlugin','position','setFootnoteFormatter','54291WPJYaG','hasAttribute','footnotes.footnotesProperties.defaultListStyle','commands','footnotesDefinitions','49672AmsUoj','5bAQSeb','define','footnotesListStart','padStart','differ','upcast','document','add','footnotesListStyle','createRangeOn','writer','getStyle','FootnotesPropertiesEditing','_definePostfixer','getChanges','footnotes.footnotesProperties.defaultStartIndex','_defineSchema','_getDefaultListStyle','_getDefaultStartIndex','extend','getItems','mapper','name','init','requires','get','1228416xvKnIq','consumable','70zOnnXi','max','footnotesStart','plugins','isPremiumPlugin','setStyle','for','decimal','getAttribute','3936273RYOODv','parseInt','lower-alpha','type','lower-roman','floor','consume','attribute:footnotesListStyle:footnotesDefinitions','list-style-type','toUpperCase','footnotes-list','registerPostFixer','lower-latin','_defineFormatter','nodeAfter','viewItem','setAttribute','downcast','element:ol','removeStyle','upper-alpha','modelCursor','decimal-leading-zero','pluginName','editor','model','find','config','from','389780IWBeet','parent','insert','179404CEtSOF','fromCharCode','start','getChildren','footnotesStyle','element','_defineConverters','2pTUrPj','upper-roman','isNaN','$text','89577rVwmhB','schema','toLowerCase','248AbGJaV','hasClass','_formatFootnoteListValue','attribute:footnotesListStart:footnotesDefinitions','upper-latin','checkAttribute','_updateFootnotesCounters','toViewElement'];_0x14dd=function(){return _0x26e751;};return _0x14dd();}(function(_0x1c7268,_0x4f1a4d){const _0x14a900=_0x3284,_0x4ade13=_0x1c7268();while(!![]){try{const _0x271829=-parseInt(_0x14a900(0x186))/0x1+parseInt(_0x14a900(0x18d))/0x2*(-parseInt(_0x14a900(0x1a1))/0x3)+-parseInt(_0x14a900(0x1e9))/0x4*(parseInt(_0x14a900(0x1a7))/0x5)+parseInt(_0x14a900(0x1c1))/0x6+-parseInt(_0x14a900(0x1a6))/0x7*(parseInt(_0x14a900(0x194))/0x8)+parseInt(_0x14a900(0x191))/0x9*(parseInt(_0x14a900(0x1c3))/0xa)+parseInt(_0x14a900(0x1cc))/0xb;if(_0x271829===_0x4f1a4d)break;else _0x4ade13['push'](_0x4ade13['shift']());}catch(_0x3af797){_0x4ade13['push'](_0x4ade13['shift']());}}}(_0x14dd,0x1ca50));import{Plugin as _0x5d20bb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x219b75}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x5b5db1}from'./commands/footnotesstartcommand.js';function _0x3284(_0x2e5efb,_0x153807){const _0x14dde1=_0x14dd();return _0x3284=function(_0x328410,_0x1ab42f){_0x328410=_0x328410-0x184;let _0x15c4f7=_0x14dde1[_0x328410];return _0x15c4f7;},_0x3284(_0x2e5efb,_0x153807);}import{FootnotesTracker as _0xce93b3}from'../footnotestracker.js';import{FootnotesEditing as _0x50c9d9}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5d20bb{static get[_0x47d199(0x1e3)](){const _0x48f958=_0x47d199;return _0x48f958(0x1b3);}static get[_0x47d199(0x1bf)](){return[_0x50c9d9,_0xce93b3];}static get[_0x47d199(0x19e)](){return!0x0;}static get[_0x47d199(0x1c7)](){return!0x0;}[_0x47d199(0x1be)](){const _0x4e541c=_0x47d199,{editor:_0x1d263e}=this;_0x1d263e[_0x4e541c(0x1e7)][_0x4e541c(0x1a8)](_0x4e541c(0x1a3),_0x4e541c(0x1ca)),_0x1d263e[_0x4e541c(0x1e7)][_0x4e541c(0x1a8)](_0x4e541c(0x1b6),0x1),_0x1d263e[_0x4e541c(0x1a4)][_0x4e541c(0x1ae)](_0x4e541c(0x18a),new _0x219b75(_0x1d263e)),_0x1d263e[_0x4e541c(0x1a4)][_0x4e541c(0x1ae)](_0x4e541c(0x1c5),new _0x5b5db1(_0x1d263e)),this[_0x4e541c(0x1b7)](),this[_0x4e541c(0x18c)](),this[_0x4e541c(0x1d9)](),this[_0x4e541c(0x1b4)]();}[_0x47d199(0x1b7)](){const _0xe96a03=_0x47d199,{editor:_0x412789}=this,{schema:_0x3601b0}=_0x412789[_0xe96a03(0x1e5)];_0x3601b0[_0xe96a03(0x1ba)](_0xe96a03(0x1a5),{'allowAttributes':[_0xe96a03(0x1af),_0xe96a03(0x1a9)]});}[_0x47d199(0x18c)](){const _0x2493a7=_0x47d199,{editor:_0x57a7f2}=this,{conversion:_0x4f4bc6,model:_0x88a2ab}=_0x57a7f2,{schema:_0x3f983b}=_0x88a2ab;_0x4f4bc6[_0x2493a7(0x1c9)](_0x2493a7(0x1ac))[_0x2493a7(0x1ae)](_0x65ba25=>{const _0x1a64a6=_0x2493a7;_0x65ba25['on'](_0x1a64a6(0x1de),(_0x3daaf9,_0x331dd3,_0x3a5997)=>{const _0x39e4f1=_0x1a64a6,_0x51409b=_0x331dd3[_0x39e4f1(0x1db)],_0x2d4ed7=_0x331dd3[_0x39e4f1(0x1e1)]?.[_0x39e4f1(0x184)];_0x51409b[_0x39e4f1(0x195)](_0x39e4f1(0x1d6))&&_0x2d4ed7?.['is'](_0x39e4f1(0x18b),_0x39e4f1(0x1a5))&&(function(_0x2b5011,_0x560264,_0x274865,_0x671d6e){const _0x262896=_0x39e4f1;if(!_0x671d6e[_0x262896(0x199)](_0x560264,_0x262896(0x1a9)))return;let _0x34d7d1=0x1;const _0x52fc96=_0x274865[_0x262896(0x1c2)][_0x262896(0x1d2)](_0x2b5011,{'attributes':_0x262896(0x188)});if(_0x52fc96){const _0x3454c6=Number[_0x262896(0x1cd)](_0x2b5011[_0x262896(0x1cb)](_0x262896(0x188)),0xa);Number[_0x262896(0x18f)](_0x3454c6)||(_0x34d7d1=_0x3454c6);}!_0x52fc96&&_0x560264[_0x262896(0x1a2)](_0x262896(0x1a9))||_0x274865[_0x262896(0x1b1)][_0x262896(0x1dc)](_0x262896(0x1a9),_0x34d7d1,_0x560264);}(_0x51409b,_0x2d4ed7,_0x3a5997,_0x3f983b),function(_0x83a2de,_0x2ae7d2,_0x5a153a,_0x2f7049){const _0x3c337a=_0x39e4f1;if(!_0x2f7049[_0x3c337a(0x199)](_0x2ae7d2,_0x3c337a(0x1af)))return;let _0x5c89d1=_0x3c337a(0x1ca),_0xd6f72b=!0x1;if(_0x5a153a[_0x3c337a(0x1c2)][_0x3c337a(0x1d2)](_0x83a2de,{'attributes':_0x3c337a(0x1cf)})){const _0x12a112={0x1:_0x3c337a(0x1ca),'a':_0x3c337a(0x1ce),'A':_0x3c337a(0x1e0),'i':_0x3c337a(0x1d0),'I':_0x3c337a(0x18e)}[_0x83a2de[_0x3c337a(0x1cb)](_0x3c337a(0x1cf))];_0x12a112&&(_0x5c89d1=_0x12a112),_0xd6f72b=!0x0;}_0x5a153a[_0x3c337a(0x1c2)][_0x3c337a(0x1d2)](_0x83a2de,{'styles':_0x3c337a(0x1d4)})&&(_0x5c89d1=function(_0x3c3894){const _0x17cac2=_0x3c337a;switch(_0x3c3894){case _0x17cac2(0x1ce):return _0x17cac2(0x1d8);case _0x17cac2(0x1e0):return _0x17cac2(0x198);default:return _0x3c3894;}}(_0x83a2de[_0x3c337a(0x1b2)](_0x3c337a(0x1d4))),_0xd6f72b=!0x0),!_0xd6f72b&&_0x2ae7d2[_0x3c337a(0x1a2)](_0x3c337a(0x1af))||_0x5a153a[_0x3c337a(0x1b1)][_0x3c337a(0x1dc)](_0x3c337a(0x1af),_0x5c89d1,_0x2ae7d2);}(_0x51409b,_0x2d4ed7,_0x3a5997,_0x3f983b));});}),_0x4f4bc6[_0x2493a7(0x1c9)](_0x2493a7(0x1dd))[_0x2493a7(0x1ae)](_0x3bade3=>{const _0x2ce5d7=_0x2493a7;_0x3bade3['on'](_0x2ce5d7(0x197),(_0x33d8eb,_0x39a654,_0x69539)=>{const _0x1e1d0a=_0x2ce5d7;if(!_0x69539[_0x1e1d0a(0x1c2)][_0x1e1d0a(0x1d2)](_0x39a654[_0x1e1d0a(0x19c)],_0x33d8eb[_0x1e1d0a(0x1bd)]))return;const _0x5a943f=M(_0x39a654[_0x1e1d0a(0x19c)],_0x69539[_0x1e1d0a(0x1bc)]),{attributeNewValue:_0x21ecac}=_0x39a654;null==_0x21ecac||0x1===_0x21ecac?_0x69539[_0x1e1d0a(0x1b1)][_0x1e1d0a(0x19d)](_0x1e1d0a(0x188),_0x5a943f):_0x69539[_0x1e1d0a(0x1b1)][_0x1e1d0a(0x1dc)](_0x1e1d0a(0x188),String(_0x21ecac),_0x5a943f);}),_0x3bade3['on'](_0x2ce5d7(0x1d3),(_0x3a850a,_0x4497b9,_0x41a6ab)=>{const _0x1ea102=_0x2ce5d7;if(!_0x41a6ab[_0x1ea102(0x1c2)][_0x1ea102(0x1d2)](_0x4497b9[_0x1ea102(0x19c)],_0x3a850a[_0x1ea102(0x1bd)]))return;const _0x5bdcae=M(_0x4497b9[_0x1ea102(0x19c)],_0x41a6ab[_0x1ea102(0x1bc)]),{attributeNewValue:_0x4fd98b}=_0x4497b9;_0x4fd98b&&_0x1ea102(0x1ca)!==_0x4fd98b?_0x41a6ab[_0x1ea102(0x1b1)][_0x1ea102(0x1c8)](_0x1ea102(0x1d4),_0x4fd98b,_0x5bdcae):_0x41a6ab[_0x1ea102(0x1b1)][_0x1ea102(0x1df)](_0x1ea102(0x1d4),_0x5bdcae);});});}[_0x47d199(0x1b4)](){const _0x4362ff=_0x47d199,{editor:_0x2960e7}=this,{model:_0x3e2c45}=_0x2960e7,_0x46ae21=_0x2960e7[_0x4362ff(0x1c6)][_0x4362ff(0x1c0)](_0xce93b3),_0x3dceeb=this[_0x4362ff(0x1b8)](),_0x509052=this[_0x4362ff(0x1b9)]();_0x3e2c45[_0x4362ff(0x1ad)][_0x4362ff(0x1d7)](_0x39406c=>{const _0x500bf2=_0x4362ff,_0x3c74e7=_0x3e2c45[_0x500bf2(0x1ad)][_0x500bf2(0x1ab)][_0x500bf2(0x1b5)]();let _0x5f2c59=!0x1;for(const _0x389ab8 of _0x3c74e7){if(_0x500bf2(0x185)!==_0x389ab8[_0x500bf2(0x1cf)]||_0x500bf2(0x190)===_0x389ab8[_0x500bf2(0x1bd)])continue;const _0x156df0=_0x3e2c45[_0x500bf2(0x1b0)](_0x389ab8[_0x500bf2(0x19f)][_0x500bf2(0x1da)]);for(const _0x3060a1 of _0x156df0[_0x500bf2(0x1bb)]())_0x3060a1['is'](_0x500bf2(0x18b),_0x500bf2(0x1a5))&&(!_0x3060a1[_0x500bf2(0x1a2)](_0x500bf2(0x1a9))&&_0x3e2c45[_0x500bf2(0x192)][_0x500bf2(0x199)](_0x3060a1,_0x500bf2(0x1a9))&&(_0x39406c[_0x500bf2(0x1dc)](_0x500bf2(0x1a9),_0x509052,_0x3060a1),_0x5f2c59=!0x0),!_0x3060a1[_0x500bf2(0x1a2)](_0x500bf2(0x1af))&&_0x3e2c45[_0x500bf2(0x192)][_0x500bf2(0x199)](_0x3060a1,_0x500bf2(0x1af))&&(_0x39406c[_0x500bf2(0x1dc)](_0x500bf2(0x1af),_0x3dceeb,_0x3060a1),_0x5f2c59=!0x0));}return _0x5f2c59&&_0x46ae21[_0x500bf2(0x19a)](_0x39406c),_0x5f2c59;});}[_0x47d199(0x1d9)](){const _0xfebf74=_0x47d199,{editor:_0xe8ea29}=this;_0xe8ea29[_0xfebf74(0x1c6)][_0xfebf74(0x1c0)](_0xce93b3)[_0xfebf74(0x1a0)](_0x2e09ec=>this[_0xfebf74(0x196)](_0x2e09ec));}[_0x47d199(0x1b8)](){const _0x47e061=_0x47d199;return this[_0x47e061(0x1e4)][_0x47e061(0x1e7)][_0x47e061(0x1c0)](_0x47e061(0x1a3));}[_0x47d199(0x1b9)](){const _0x1ae4ce=_0x47d199;return this[_0x1ae4ce(0x1e4)][_0x1ae4ce(0x1e7)][_0x1ae4ce(0x1c0)](_0x1ae4ce(0x1b6));}[_0x47d199(0x196)]({container:_0x3a57cb,value:_0x71593c,digits:_0x4e1a02}){const _0x2a97e8=_0x47d199,_0x389787=_0x3a57cb[_0x2a97e8(0x1cb)](_0x2a97e8(0x1af)),_0xf77958=_0x3a57cb[_0x2a97e8(0x1cb)](_0x2a97e8(0x1a9)),_0x3a66d1=Math[_0x2a97e8(0x1d1)](_0x71593c)+(_0xf77958??0x1)-0x1;switch(_0x389787){case _0x2a97e8(0x1e2):return function(_0x2f90e4,_0x59cf0b){const _0x3100fe=_0x2a97e8;return String(_0x2f90e4)[_0x3100fe(0x1aa)](_0x59cf0b,'0');}(_0x3a66d1,Math[_0x2a97e8(0x1c4)](0x2,_0x4e1a02));case _0x2a97e8(0x1ce):case _0x2a97e8(0x1d8):return N(_0x3a66d1,!0x1);case _0x2a97e8(0x1e0):case _0x2a97e8(0x198):return N(_0x3a66d1,!0x0);case _0x2a97e8(0x1d0):return X(_0x3a66d1,!0x1);case _0x2a97e8(0x18e):return X(_0x3a66d1,!0x0);default:return String(_0x3a66d1);}}}function M(_0x5852b2,_0x453e00){const _0x5b6db2=_0x47d199,_0x502258=_0x453e00[_0x5b6db2(0x19b)](_0x5852b2);return Array[_0x5b6db2(0x1e8)](_0x502258[_0x5b6db2(0x189)]())[_0x5b6db2(0x1e6)](_0x544fc8=>_0x544fc8['is'](_0x5b6db2(0x18b),'ol')&&_0x544fc8[_0x5b6db2(0x195)](_0x5b6db2(0x1d6)));}function N(_0x561f82,_0x248a8e){const _0x2cf57f=_0x47d199;let _0x3a62ce='',_0x775a2f=_0x561f82;for(;_0x775a2f>0x0;){const _0x2e91dc=(_0x775a2f-0x1)%0x1a;_0x3a62ce=String[_0x2cf57f(0x187)](0x61+_0x2e91dc)+_0x3a62ce,_0x775a2f=Math[_0x2cf57f(0x1d1)]((_0x775a2f-0x1)/0x1a);}return _0x248a8e?_0x3a62ce[_0x2cf57f(0x1d5)]():_0x3a62ce;}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(_0x3a7904,_0x19178a){const _0x375e15=_0x47d199;let _0x21c143='',_0x3c4c1=_0x3a7904;for(const {value:_0x3211cb,numeral:_0x1017f7}of V)for(;_0x3c4c1>=_0x3211cb;)_0x21c143+=_0x1017f7,_0x3c4c1-=_0x3211cb;return _0x19178a?_0x21c143:_0x21c143[_0x375e15(0x193)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x2323ad,ButtonView as _0x996a2e,ContextualBalloon as _0x1e8459,createDropdown as _0x4ce163}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1c1c34}from'ckeditor5/src/widget.js';import{Plugin as _0x585504}from'ckeditor5/src/core.js';import{IconFootnote as _0x31bd84,IconListStyleDecimal as _0x3e9ea5,IconListStyleDecimalLeadingZero as _0x275057,IconListStyleLowerLatin as _0x5da78c,IconListStyleLowerRoman as _0x25a95d,IconListStyleUpperLatin as _0x19ed52,IconListStyleUpperRoman as _0x1077d8}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x509a78}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x151c0c}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x585504{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1e8459,_0x1c1c34];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3fa740}=this,{componentFactory:_0x1b0ed8}=_0x3fa740['ui'];_0x3fa740['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1b0ed8['add']('footnotesStyle',function(_0x2c4a88){return _0x10214d=>{const {t:t}=_0x10214d,_0xd5c441=_0x2c4a88['commands']['get']('footnotesStyle'),_0x4fcd02=_0x4ce163(_0x10214d),{buttonView:_0x47569b}=_0x4fcd02;return _0x4fcd02['class']='ck-footnotes-styles-dropdown',_0x4fcd02['bind']('isEnabled')['to'](_0xd5c441,'isEnabled'),_0x47569b['set']({'label':t('Footnotes\x20style'),'icon':_0x31bd84,'tooltip':!0x0}),_0x4fcd02['once']('change:isOpen',()=>{const _0x29a142=function({editor:_0x170734,dropdownView:_0x1e2244}){const {t:t}=_0x170734['locale'],_0x2a2cc9=t('Footnotes\x20definitions\x20styles'),_0x5762a7=function(_0x678823){const t=_0x678823['locale']['t'],_0x39e06f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3e9ea5},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x275057},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x25a95d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1077d8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5da78c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x19ed52}];return _0x39e06f['map'](function(_0x26a1d3){const _0x5252fc=_0x26a1d3['locale'];return({label:_0xcccbd1,icon:_0x53a69a,tooltip:_0x481406,style:_0x614ea2})=>{const _0x5ee036=_0x26a1d3['commands']['get']('footnotesStyle'),_0x5261e0=new _0x996a2e(_0x5252fc);return _0x5261e0['set']({'label':_0xcccbd1,'icon':_0x53a69a,'tooltip':_0x481406}),_0x5261e0['bind']('isOn')['to'](_0x5ee036,'value',_0x51ddda=>_0x51ddda===_0x614ea2),_0x5261e0['bind']('isEnabled')['to'](_0x5ee036,'isEnabled'),_0x5261e0['on']('execute',()=>{_0x26a1d3['execute']('footnotesStyle',{'value':_0x614ea2}),_0x26a1d3['editing']['view']['focus']();}),_0x5261e0;};}(_0x678823));}(_0x170734),_0x409034=new _0x509a78(_0x170734['locale'],{'styleGridAriaLabel':_0x2a2cc9,'styleButtonViews':_0x5762a7}),_0x5c3c4=_0x170734['commands']['get']('footnotesStart');return _0x409034['startIndexFieldView']['bind']('isEnabled')['to'](_0x5c3c4),_0x409034['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5c3c4),_0x409034['on']('footnotesListStart',(_0x430c63,_0x1580bc)=>{_0x170734['execute']('footnotesStart',{'value':_0x1580bc['startIndex']});}),_0x409034['delegate']('execute')['to'](_0x1e2244),_0x409034;}({'editor':_0x2c4a88,'dropdownView':_0x4fcd02});_0x4fcd02['panelView']['children']['add'](_0x29a142);}),_0x4fcd02;};}(_0x3fa740));}['afterInit'](){const {editor:_0xa9e62}=this,{t:t}=_0xa9e62['locale'],_0x2ed551=_0xa9e62['plugins']['get'](_0x1c1c34),{defaultPositions:_0x4f827c}=_0x2323ad;_0x2ed551['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xa9e62['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x29ac27=>{let _0x341fa9=_0x29ac27['getFirstPosition']()?.['parent'];return _0x341fa9?.['is']('$text')&&(_0x341fa9=_0x341fa9['parent']),_0x341fa9?.['is']('element')?_0x341fa9['findAncestor'](_0x151c0c):null;},'positions':[_0x4f827c['southArrowNorth'],_0x4f827c['southArrowNorthMiddleWest'],_0x4f827c['southArrowNorthMiddleEast'],_0x4f827c['southArrowNorthWest'],_0x4f827c['southArrowNorthEast'],_0x4f827c['northArrowSouth'],_0x4f827c['northArrowSouthMiddleWest'],_0x4f827c['northArrowSouthMiddleEast'],_0x4f827c['northArrowSouthWest'],_0x4f827c['northArrowSouthEast'],_0x4f827c['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x50e212,ButtonView as _0x30f823,ContextualBalloon as _0x8b1861,createDropdown as _0x1ba7e6}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x5ecf9b}from'ckeditor5/src/widget.js';import{Plugin as _0x49f6a5}from'ckeditor5/src/core.js';import{IconFootnote as _0x523905,IconListStyleDecimal as _0x178bd6,IconListStyleDecimalLeadingZero as _0x5ed44a,IconListStyleLowerLatin as _0x533dfb,IconListStyleLowerRoman as _0x247d17,IconListStyleUpperLatin as _0x5959c4,IconListStyleUpperRoman as _0x4edd89}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0xcd2440}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5130f3}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x49f6a5{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x8b1861,_0x5ecf9b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x593952}=this,{componentFactory:_0x119210}=_0x593952['ui'];_0x593952['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x119210['add']('footnotesStyle',function(_0x1fc1f9){return _0x45c1b0=>{const {t:t}=_0x45c1b0,_0x408a97=_0x1fc1f9['commands']['get']('footnotesStyle'),_0x60693b=_0x1ba7e6(_0x45c1b0),{buttonView:_0x329591}=_0x60693b;return _0x60693b['class']='ck-footnotes-styles-dropdown',_0x60693b['bind']('isEnabled')['to'](_0x408a97,'isEnabled'),_0x329591['set']({'label':t('Footnotes\x20style'),'icon':_0x523905,'tooltip':!0x0}),_0x60693b['once']('change:isOpen',()=>{const _0xc6ade=function({editor:_0x575fed,dropdownView:_0x4aee61}){const {t:t}=_0x575fed['locale'],_0x3d6a7d=t('Footnotes\x20definitions\x20styles'),_0x52fb6b=function(_0x2e0ddb){const t=_0x2e0ddb['locale']['t'],_0x4c3005=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x178bd6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5ed44a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x247d17},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4edd89},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x533dfb},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5959c4}];return _0x4c3005['map'](function(_0x16eed1){const _0x5d79f7=_0x16eed1['locale'];return({label:_0x27fa3f,icon:_0x46f4d4,tooltip:_0x5996da,style:_0x2810ae})=>{const _0x47e7f0=_0x16eed1['commands']['get']('footnotesStyle'),_0x10bdd4=new _0x30f823(_0x5d79f7);return _0x10bdd4['set']({'label':_0x27fa3f,'icon':_0x46f4d4,'tooltip':_0x5996da}),_0x10bdd4['bind']('isOn')['to'](_0x47e7f0,'value',_0x1930d2=>_0x1930d2===_0x2810ae),_0x10bdd4['bind']('isEnabled')['to'](_0x47e7f0,'isEnabled'),_0x10bdd4['on']('execute',()=>{_0x16eed1['execute']('footnotesStyle',{'value':_0x2810ae}),_0x16eed1['editing']['view']['focus']();}),_0x10bdd4;};}(_0x2e0ddb));}(_0x575fed),_0x4a50d2=new _0xcd2440(_0x575fed['locale'],{'styleGridAriaLabel':_0x3d6a7d,'styleButtonViews':_0x52fb6b}),_0x221823=_0x575fed['commands']['get']('footnotesStart');return _0x4a50d2['startIndexFieldView']['bind']('isEnabled')['to'](_0x221823),_0x4a50d2['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x221823),_0x4a50d2['on']('footnotesListStart',(_0x4d592b,_0x57a845)=>{_0x575fed['execute']('footnotesStart',{'value':_0x57a845['startIndex']});}),_0x4a50d2['delegate']('execute')['to'](_0x4aee61),_0x4a50d2;}({'editor':_0x1fc1f9,'dropdownView':_0x60693b});_0x60693b['panelView']['children']['add'](_0xc6ade);}),_0x60693b;};}(_0x593952));}['afterInit'](){const {editor:_0x52a0c5}=this,{t:t}=_0x52a0c5['locale'],_0x15f5b5=_0x52a0c5['plugins']['get'](_0x5ecf9b),{defaultPositions:_0x567892}=_0x50e212;_0x15f5b5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x52a0c5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xf4798=>{let _0xd71167=_0xf4798['getFirstPosition']()?.['parent'];return _0xd71167?.['is']('$text')&&(_0xd71167=_0xd71167['parent']),_0xd71167?.['is']('element')?_0xd71167['findAncestor'](_0x5130f3):null;},'positions':[_0x567892['southArrowNorth'],_0x567892['southArrowNorthMiddleWest'],_0x567892['southArrowNorthMiddleEast'],_0x567892['southArrowNorthWest'],_0x567892['southArrowNorthEast'],_0x567892['northArrowSouth'],_0x567892['northArrowSouthMiddleWest'],_0x567892['northArrowSouthMiddleEast'],_0x567892['northArrowSouthWest'],_0x567892['northArrowSouthEast'],_0x567892['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4d11f,View as _0x5ca473,ViewCollection as _0x4c9bef,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x5ca473{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4c9bef();['focusCycler'];constructor(_0x1828bb,{styleButtonViews:_0x3c1830,styleGridAriaLabel:_0x572992}){super(_0x1828bb),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3c1830,_0x572992),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x269976 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x269976['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x40c6a2=_0xaf3548=>_0xaf3548['stopPropagation']();this['keystrokes']['set']('arrowright',_0x40c6a2),this['keystrokes']['set']('arrowleft',_0x40c6a2),this['keystrokes']['set']('arrowup',_0x40c6a2),this['keystrokes']['set']('arrowdown',_0x40c6a2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x394d5e,_0x4d77bd){const _0x2fe8e1=new _0x5ca473(this['locale']);return _0x2fe8e1['children']=_0x2fe8e1['createCollection'](),_0x2fe8e1['children']['addMany'](_0x394d5e),_0x2fe8e1['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4d77bd,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2fe8e1['children']}),_0x2fe8e1['children']['delegate']('execute')['to'](this),_0x2fe8e1['focus']=function(){for(const _0x474dd3 of this['children'])if(_0x474dd3 instanceof _0x4d11f&&_0x474dd3['isOn'])return void _0x474dd3['focus']();this['children']['first']['focus']();},_0x2fe8e1['focusTracker']=new rt(),_0x2fe8e1['keystrokes']=new nt(),_0x2fe8e1['render'](),_0x2fe8e1['keystrokes']['listenTo'](_0x2fe8e1['element']),this['children']['add'](_0x2fe8e1),_0x2fe8e1;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5ce5d4=this['_createStartIndexPropertyView'](),_0xddba8b=[_0x5ce5d4],_0x33c8ed=new it(this['locale'],_0xddba8b);return _0x33c8ed['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x33c8ed['buttonView']['bind']('isEnabled')['toMany'](_0xddba8b,'isEnabled',(..._0x2f6232)=>_0x2f6232['some'](_0x59c4b0=>_0x59c4b0)),_0x33c8ed['buttonView']['on']('change:isEnabled',(_0x415bfe,_0x200dd7,_0xec3d61)=>{_0xec3d61||(_0x33c8ed['isCollapsed']=!0x0);}),this['children']['add'](_0x33c8ed),[_0x5ce5d4,_0x33c8ed];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2b72e3=new et(this['locale'],ot);return _0x2b72e3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2b72e3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2b72e3['fieldView']['on']('input',()=>{const _0x4109dd=_0x2b72e3['fieldView']['element'],_0x325ec4=_0x4109dd['valueAsNumber'];Number['isNaN'](_0x325ec4)?_0x2b72e3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4109dd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x325ec4}):_0x2b72e3['errorText']=t(_0x325ec4<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2b72e3;}}
23
+ import{ButtonView as _0x4c93aa,View as _0x614fb1,ViewCollection as _0x5613f3,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x614fb1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x5613f3();['focusCycler'];constructor(_0xc9da31,{styleButtonViews:_0x13f97b,styleGridAriaLabel:_0x225d0d}){super(_0xc9da31),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x13f97b,_0x225d0d),[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 _0x4dd2a8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4dd2a8['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x44aa14=_0x1b79f5=>_0x1b79f5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x44aa14),this['keystrokes']['set']('arrowleft',_0x44aa14),this['keystrokes']['set']('arrowup',_0x44aa14),this['keystrokes']['set']('arrowdown',_0x44aa14);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x269cca,_0x3e9724){const _0x18698d=new _0x614fb1(this['locale']);return _0x18698d['children']=_0x18698d['createCollection'](),_0x18698d['children']['addMany'](_0x269cca),_0x18698d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3e9724,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x18698d['children']}),_0x18698d['children']['delegate']('execute')['to'](this),_0x18698d['focus']=function(){for(const _0x3f9312 of this['children'])if(_0x3f9312 instanceof _0x4c93aa&&_0x3f9312['isOn'])return void _0x3f9312['focus']();this['children']['first']['focus']();},_0x18698d['focusTracker']=new rt(),_0x18698d['keystrokes']=new nt(),_0x18698d['render'](),_0x18698d['keystrokes']['listenTo'](_0x18698d['element']),this['children']['add'](_0x18698d),_0x18698d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3e4ef8=this['_createStartIndexPropertyView'](),_0x263c93=[_0x3e4ef8],_0x43a5cf=new it(this['locale'],_0x263c93);return _0x43a5cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x43a5cf['buttonView']['bind']('isEnabled')['toMany'](_0x263c93,'isEnabled',(..._0x49d5f4)=>_0x49d5f4['some'](_0x331603=>_0x331603)),_0x43a5cf['buttonView']['on']('change:isEnabled',(_0x25f919,_0x17c769,_0x41ff00)=>{_0x41ff00||(_0x43a5cf['isCollapsed']=!0x0);}),this['children']['add'](_0x43a5cf),[_0x3e4ef8,_0x43a5cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x806685=new et(this['locale'],ot);return _0x806685['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x806685['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x806685['fieldView']['on']('input',()=>{const _0x583bf1=_0x806685['fieldView']['element'],_0x4d7ed2=_0x583bf1['valueAsNumber'];Number['isNaN'](_0x4d7ed2)?_0x806685['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x583bf1['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4d7ed2}):_0x806685['errorText']=t(_0x4d7ed2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x806685;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x264dc6=_0x3a8d;(function(_0x9f2a85,_0x54e2e4){var _0x17b396=_0x3a8d,_0x32add2=_0x9f2a85();while(!![]){try{var _0x4ac8f2=parseInt(_0x17b396(0xcb))/0x1+-parseInt(_0x17b396(0xc9))/0x2+parseInt(_0x17b396(0xce))/0x3*(-parseInt(_0x17b396(0xcf))/0x4)+parseInt(_0x17b396(0xd3))/0x5+parseInt(_0x17b396(0xcd))/0x6+-parseInt(_0x17b396(0xca))/0x7*(-parseInt(_0x17b396(0xd4))/0x8)+parseInt(_0x17b396(0xd0))/0x9*(parseInt(_0x17b396(0xcc))/0xa);if(_0x4ac8f2===_0x54e2e4)break;else _0x32add2['push'](_0x32add2['shift']());}catch(_0xf987c2){_0x32add2['push'](_0x32add2['shift']());}}}(_0x423b,0xcd2eb));import{Plugin as _0x2b0941}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x36dab2}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x53fd01}from'./footnotesproperties/footnotespropertiesui.js';function _0x423b(){var _0x45c53a=['8JKcuiI','isOfficialPlugin','FootnotesProperties','pluginName','2665600bHMVwj','9224747vsXcLL','28081KBXayY','200xOjFrc','2802732WazlQk','48003xhIItg','356McTHIe','210969FdvcrV','isPremiumPlugin','requires','6577360kNdZdC'];_0x423b=function(){return _0x45c53a;};return _0x423b();}function _0x3a8d(_0x4ccf5f,_0x2752e8){var _0x423b1a=_0x423b();return _0x3a8d=function(_0x3a8de2,_0x3f0283){_0x3a8de2=_0x3a8de2-0xc7;var _0x3ade5f=_0x423b1a[_0x3a8de2];return _0x3ade5f;},_0x3a8d(_0x4ccf5f,_0x2752e8);}export class FootnotesProperties extends _0x2b0941{static get[_0x264dc6(0xc8)](){var _0x4bb512=_0x264dc6;return _0x4bb512(0xc7);}static get[_0x264dc6(0xd2)](){return[_0x36dab2,_0x53fd01];}static get[_0x264dc6(0xd5)](){return!0x0;}static get[_0x264dc6(0xd1)](){return!0x0;}}
23
+ var _0x282087=_0x32cf;(function(_0x381a13,_0x39d7ac){var _0x1a6bac=_0x32cf,_0x1ddd6d=_0x381a13();while(!![]){try{var _0x4a29bf=parseInt(_0x1a6bac(0x1e9))/0x1+-parseInt(_0x1a6bac(0x1e8))/0x2+parseInt(_0x1a6bac(0x1e0))/0x3*(-parseInt(_0x1a6bac(0x1e7))/0x4)+parseInt(_0x1a6bac(0x1e6))/0x5*(-parseInt(_0x1a6bac(0x1e5))/0x6)+parseInt(_0x1a6bac(0x1ec))/0x7*(parseInt(_0x1a6bac(0x1e2))/0x8)+parseInt(_0x1a6bac(0x1eb))/0x9*(parseInt(_0x1a6bac(0x1ed))/0xa)+-parseInt(_0x1a6bac(0x1e4))/0xb*(-parseInt(_0x1a6bac(0x1de))/0xc);if(_0x4a29bf===_0x39d7ac)break;else _0x1ddd6d['push'](_0x1ddd6d['shift']());}catch(_0x4e323e){_0x1ddd6d['push'](_0x1ddd6d['shift']());}}}(_0xae24,0x2efd1));import{Plugin as _0x4075f7}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x59d310}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3c9c2d}from'./footnotesproperties/footnotespropertiesui.js';function _0xae24(){var _0x51ce06=['596132NseLhx','107804cDbFMD','requires','693OCCisE','203noDChH','34630QvLSTo','isPremiumPlugin','5892WLGeng','isOfficialPlugin','10791FmJgkS','FootnotesProperties','41896gOGDkd','pluginName','13266FEITcp','116256kSPeiG','85XrACRt','332xKUaCK'];_0xae24=function(){return _0x51ce06;};return _0xae24();}function _0x32cf(_0x32026f,_0x33f76e){var _0xae24c6=_0xae24();return _0x32cf=function(_0x32cfc6,_0x4876ca){_0x32cfc6=_0x32cfc6-0x1de;var _0xc051d1=_0xae24c6[_0x32cfc6];return _0xc051d1;},_0x32cf(_0x32026f,_0x33f76e);}export class FootnotesProperties extends _0x4075f7{static get[_0x282087(0x1e3)](){var _0x54b46f=_0x282087;return _0x54b46f(0x1e1);}static get[_0x282087(0x1ea)](){return[_0x59d310,_0x3c9c2d];}static get[_0x282087(0x1df)](){return!0x0;}static get[_0x282087(0x1ee)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d3d3a=_0x4b5e;(function(_0x27b02e,_0x59970b){const _0x41ae6a=_0x4b5e,_0x39aa11=_0x27b02e();while(!![]){try{const _0x8139a0=-parseInt(_0x41ae6a(0x109))/0x1*(-parseInt(_0x41ae6a(0x165))/0x2)+-parseInt(_0x41ae6a(0x155))/0x3+parseInt(_0x41ae6a(0x141))/0x4*(-parseInt(_0x41ae6a(0x156))/0x5)+-parseInt(_0x41ae6a(0x11a))/0x6+-parseInt(_0x41ae6a(0x133))/0x7*(parseInt(_0x41ae6a(0x14b))/0x8)+parseInt(_0x41ae6a(0x118))/0x9*(parseInt(_0x41ae6a(0x12a))/0xa)+parseInt(_0x41ae6a(0x11b))/0xb;if(_0x8139a0===_0x59970b)break;else _0x39aa11['push'](_0x39aa11['shift']());}catch(_0x4eeb6e){_0x39aa11['push'](_0x39aa11['shift']());}}}(_0x54e8,0x71696));import{Plugin as _0x52b824}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x788feb}from'./modelelementtracker.js';function _0x4b5e(_0x48b32c,_0x19b7df){const _0x54e82c=_0x54e8();return _0x4b5e=function(_0x4b5e32,_0x18c7a0){_0x4b5e32=_0x4b5e32-0x102;let _0x1c420b=_0x54e82c[_0x4b5e32];return _0x1c420b;},_0x4b5e(_0x48b32c,_0x19b7df);}export class FootnotesTracker extends _0x52b824{[_0x1d3d3a(0x124)]=[];[_0x1d3d3a(0x10c)]=null;[_0x1d3d3a(0x125)]=null;[_0x1d3d3a(0x15c)];[_0x1d3d3a(0x167)];[_0x1d3d3a(0x159)];static get[_0x1d3d3a(0x15f)](){const _0x553a86=_0x1d3d3a;return _0x553a86(0x10e);}static get[_0x1d3d3a(0x15e)](){return!0x0;}static get[_0x1d3d3a(0x147)](){return!0x0;}constructor(_0x5f2bda){const _0x1379aa=_0x1d3d3a;super(_0x5f2bda),this[_0x1379aa(0x15c)]=new _0x788feb(this[_0x1379aa(0x12c)][_0x1379aa(0x13b)],{'elementName':_0x1379aa(0x152),'getElementKey':()=>_0x1379aa(0x162)}),this[_0x1379aa(0x167)]=new _0x788feb(this[_0x1379aa(0x12c)][_0x1379aa(0x13b)],{'elementName':_0x1379aa(0x119),'getElementKey':_0x4bbf75=>_0x4bbf75[_0x1379aa(0x164)](_0x1379aa(0x128))}),this[_0x1379aa(0x159)]=new _0x788feb(this[_0x1379aa(0x12c)][_0x1379aa(0x13b)],{'elementName':_0x1379aa(0x13a),'getElementKey':_0x45026b=>_0x45026b[_0x1379aa(0x164)](_0x1379aa(0x128))});}[_0x1d3d3a(0x166)](){const _0x29be0a=_0x1d3d3a,{editor:_0x1a87be}=this,{model:_0x3912f1,data:_0x4ed706}=_0x1a87be;_0x3912f1[_0x29be0a(0x138)][_0x29be0a(0x144)](_0xf077ed=>{const _0x45f193=_0x29be0a,_0x56bb3e=_0x3912f1[_0x45f193(0x138)][_0x45f193(0x121)][_0x45f193(0x161)]();let _0x28b3d5=!0x1;return this[_0x45f193(0x13f)](_0xf077ed,_0x56bb3e)&&(_0x28b3d5=!0x0),this[_0x45f193(0x10f)](_0xf077ed,_0x56bb3e)&&(_0x28b3d5=!0x0),this[_0x45f193(0x142)](_0xf077ed,_0x56bb3e)&&(_0x28b3d5=!0x0),this[_0x45f193(0x10a)](_0xf077ed)&&(_0x28b3d5=!0x0),this[_0x45f193(0x102)](_0xf077ed)&&(_0x28b3d5=!0x0),this[_0x45f193(0x131)](_0xf077ed)&&(_0x28b3d5=!0x0),_0x28b3d5;}),this[_0x29be0a(0x104)](_0x3912f1[_0x29be0a(0x138)],_0x29be0a(0x136),()=>{const _0x207ee3=_0x29be0a;_0x3912f1[_0x207ee3(0x113)]({'isUndoable':!0x1},_0x4ce5fe=>{const _0x57c22c=_0x207ee3;this[_0x57c22c(0x13e)](_0x4ce5fe);});},{'priority':_0x29be0a(0x134)}),this[_0x29be0a(0x104)](_0x4ed706,_0x29be0a(0x15b),()=>{const _0x5d5291=_0x29be0a;this[_0x5d5291(0x124)]=[],this[_0x5d5291(0x15c)][_0x5d5291(0x158)](),this[_0x5d5291(0x167)][_0x5d5291(0x158)](),this[_0x5d5291(0x159)][_0x5d5291(0x158)]();},{'priority':_0x29be0a(0x150)});}[_0x1d3d3a(0x13d)](){const _0x371281=_0x1d3d3a;return this[_0x371281(0x10c)];}[_0x1d3d3a(0x126)](_0x20ee16){const _0x357515=_0x1d3d3a;return this[_0x357515(0x124)][_0x357515(0x117)](_0x52904d=>_0x52904d['id']===_0x20ee16)||null;}[_0x1d3d3a(0x107)](){const _0x2a1c5f=_0x1d3d3a;return Array[_0x2a1c5f(0x154)](this[_0x2a1c5f(0x124)]);}[_0x1d3d3a(0x148)](){const _0x21ee2c=_0x1d3d3a;return this[_0x21ee2c(0x125)];}[_0x1d3d3a(0x12b)](_0x139f4c){const _0x2a886e=_0x1d3d3a;this[_0x2a886e(0x125)]=_0x139f4c;}[_0x1d3d3a(0x112)](_0x208730,_0x4e3292=0x0){const _0x1bdc65=_0x1d3d3a;let _0x5a24d7=!0x1;for(let _0x3f53d7=_0x4e3292;_0x3f53d7<this[_0x1bdc65(0x124)][_0x1bdc65(0x123)];_0x3f53d7++)this[_0x1bdc65(0x12f)](_0x208730,_0x3f53d7)&&(_0x5a24d7=!0x0);return _0x5a24d7;}[_0x1d3d3a(0x106)](_0x112c44,_0x512e24){const _0x671ae5=_0x1d3d3a,_0x3b9ed5=_0x112c44[_0x671ae5(0x153)](_0x671ae5(0x152),{});return _0x112c44[_0x671ae5(0x12d)](_0x3b9ed5,_0x512e24),this[_0x671ae5(0x10c)]=_0x3b9ed5,_0x3b9ed5;}[_0x1d3d3a(0x13e)](_0xdef2c1){const _0x5029ec=_0x1d3d3a;if(!this[_0x5029ec(0x124)][_0x5029ec(0x123)]||this[_0x5029ec(0x10c)])return;const _0x518da0=this[_0x5029ec(0x124)][0x0][_0x5029ec(0x120)][_0x5029ec(0x129)],_0x2d183c=this[_0x5029ec(0x106)](_0xdef2c1,_0x518da0);for(const _0x4db851 of this[_0x5029ec(0x124)])_0x4db851[_0x5029ec(0x116)][_0x5029ec(0x14e)]||_0xdef2c1[_0x5029ec(0x157)](_0x4db851[_0x5029ec(0x116)],_0x2d183c,_0x5029ec(0x130));this[_0x5029ec(0x112)](_0xdef2c1);}[_0x1d3d3a(0x13f)](_0x13bf6a,_0x22942a){const _0x429045=_0x1d3d3a;let _0x38b2b=!0x1;const {inserted:_0x5dbf5e,removed:_0x46456e,moved:_0x554e8a}=this[_0x429045(0x15c)][_0x429045(0x161)](_0x22942a);if(_0x554e8a[_0x429045(0x123)]&&(this[_0x429045(0x10c)]=_0x554e8a[0x0]),_0x5dbf5e[_0x429045(0x123)]){if(_0x5dbf5e[_0x429045(0x123)]>0x1||this[_0x429045(0x10c)]&&_0x5dbf5e[_0x429045(0x103)](_0x25b51b=>_0x25b51b!==this[_0x429045(0x10c)])){const _0x25b53e=_0x13bf6a[_0x429045(0x153)](_0x429045(0x152),{}),_0xfdeaa8=[];this[_0x429045(0x10c)]&&_0xfdeaa8[_0x429045(0x139)](this[_0x429045(0x10c)]),_0xfdeaa8[_0x429045(0x139)](..._0x5dbf5e),_0x13bf6a[_0x429045(0x157)](_0x25b53e,_0xfdeaa8[0x0],_0x429045(0x151));for(const _0xce5280 of _0xfdeaa8)_0x13bf6a[_0x429045(0x12e)](_0x13bf6a[_0x429045(0x140)](_0xce5280),_0x13bf6a[_0x429045(0x15d)](_0x25b53e,_0x429045(0x130))),_0x13bf6a[_0x429045(0x115)](_0xce5280);this[_0x429045(0x10c)]=_0x25b53e,this[_0x429045(0x112)](_0x13bf6a),_0x38b2b=!0x0;}else this[_0x429045(0x10c)]=_0x5dbf5e[0x0];}if(_0x46456e[_0x429045(0x123)]&&_0x429045(0x149)===this[_0x429045(0x10c)]?.[_0x429045(0x129)][_0x429045(0x11f)]){for(const _0x22dfa5 of this[_0x429045(0x124)])_0x13bf6a[_0x429045(0x115)](_0x22dfa5[_0x429045(0x120)]),_0x38b2b=!0x0;this[_0x429045(0x124)]=[],this[_0x429045(0x10c)]=null;}return _0x38b2b;}[_0x1d3d3a(0x10f)](_0x55bcd4,_0x7b8906){const _0x5cb311=_0x1d3d3a;let _0x5e55db=!0x1;const _0x5273bd=this[_0x5cb311(0x12c)][_0x5cb311(0x10d)][_0x5cb311(0x11e)](_0x5cb311(0x105)),{inserted:_0xf533c8,moved:_0xfdcc20}=this[_0x5cb311(0x159)][_0x5cb311(0x161)](_0x7b8906);for(const _0x4a69f7 of[..._0xfdcc20,..._0xf533c8]){const _0x302576=_0x4a69f7[_0x5cb311(0x164)](_0x5cb311(0x128)),_0x1d1829=this[_0x5cb311(0x126)](_0x302576);_0x1d1829&&(_0x1d1829[_0x5cb311(0x116)]=_0x4a69f7),_(_0x55bcd4,_0x5273bd,_0x4a69f7)&&(_0x5e55db=!0x0);}return _0x5e55db;}[_0x1d3d3a(0x142)](_0x39edd6,_0x394ec4){const _0x5d3c28=_0x1d3d3a;let _0x1e669f=!0x1;const {removed:_0xffefea,inserted:_0x5c8cc0,moved:_0x62e12d}=this[_0x5d3c28(0x167)][_0x5d3c28(0x161)](_0x394ec4);for(const _0x3be640 of _0xffefea)this[_0x5d3c28(0x111)](_0x39edd6,_0x3be640)&&(_0x1e669f=!0x0);for(const _0x1312e6 of _0x5c8cc0)this[_0x5d3c28(0x114)](_0x39edd6,_0x1312e6)&&(_0x1e669f=!0x0);for(const _0x56e2dc of _0x62e12d)this[_0x5d3c28(0x135)](_0x39edd6,_0x56e2dc)&&(_0x1e669f=!0x0);return _0x1e669f;}[_0x1d3d3a(0x102)](_0x2a8e83){const _0x2465b5=_0x1d3d3a;if(!this[_0x2465b5(0x10c)])return!0x1;let _0x5354e5=!0x1;if(this[_0x2465b5(0x10c)][_0x2465b5(0x143)]!==this[_0x2465b5(0x124)][_0x2465b5(0x123)]){const _0x11eb37=[];for(const _0x3736c3 of this[_0x2465b5(0x10c)][_0x2465b5(0x10b)]()){const _0x1ede76=_0x3736c3[_0x2465b5(0x164)](_0x2465b5(0x128));this[_0x2465b5(0x126)](_0x1ede76)||(_0x11eb37[_0x2465b5(0x108)](_0x3736c3),_0x5354e5=!0x0);}for(const _0x48471e of _0x11eb37)_0x2a8e83[_0x2465b5(0x115)](_0x48471e);}const _0x30ff8a=new Set(),_0x5d307e=[];for(const _0x537a76 of this[_0x2465b5(0x10c)][_0x2465b5(0x10b)]()){const _0x57e0bc=_0x537a76[_0x2465b5(0x164)](_0x2465b5(0x128));_0x30ff8a[_0x2465b5(0x14d)](_0x57e0bc)?(_0x5d307e[_0x2465b5(0x108)](_0x537a76),_0x5354e5=!0x0):_0x30ff8a[_0x2465b5(0x11d)](_0x57e0bc);}for(const _0x4ab4a2 of _0x5d307e)_0x2a8e83[_0x2465b5(0x115)](_0x4ab4a2);return this[_0x2465b5(0x10c)][_0x2465b5(0x143)]||(_0x2a8e83[_0x2465b5(0x115)](this[_0x2465b5(0x10c)]),this[_0x2465b5(0x10c)]=null,_0x5354e5=!0x0),_0x5354e5;}[_0x1d3d3a(0x114)](_0x222665,_0xa46d59){const _0x589210=_0x1d3d3a;if(this[_0x589210(0x124)][_0x589210(0x117)](_0x4b772a=>_0x4b772a[_0x589210(0x120)]===_0xa46d59))return!0x1;let _0x5e195d=!0x1;const _0x37b67d=_0xa46d59[_0x589210(0x164)](_0x589210(0x128)),_0x2be65c=this[_0x589210(0x124)][_0x589210(0x122)](_0x5e787c=>_0x5e787c['id']===_0x37b67d);-0x1!==_0x2be65c&&(_0x222665[_0x589210(0x115)](this[_0x589210(0x124)][_0x2be65c][_0x589210(0x120)]),this[_0x589210(0x124)][_0x589210(0x13c)](_0x2be65c,0x1),_0x5e195d=!0x0);let _0x4bbea6=this[_0x589210(0x10c)]?function(_0x52e858,_0x54c079){const _0x28fe1c=_0x589210;for(const _0x204bfe of _0x52e858[_0x28fe1c(0x10b)]())if(_0x204bfe[_0x28fe1c(0x164)](_0x28fe1c(0x128))===_0x54c079)return _0x204bfe;return null;}(this[_0x589210(0x10c)],_0x37b67d):null;_0x4bbea6||(_0x4bbea6=_0x222665[_0x589210(0x153)](_0x589210(0x13a),{'footnoteId':_0x37b67d}),this[_0x589210(0x10c)]&&(_0x222665[_0x589210(0x157)](_0x4bbea6,this[_0x589210(0x10c)],_0x589210(0x130)),_0x5e195d=!0x0));const _0x20aa7d={'id':_0x37b67d,'reference':_0xa46d59,'definition':_0x4bbea6},_0x43b5c8=I(this[_0x589210(0x12c)][_0x589210(0x13b)],this[_0x589210(0x124)],_0xa46d59);this[_0x589210(0x124)][_0x589210(0x13c)](_0x43b5c8,0x0,_0x20aa7d);let _0x9b0f2c=_0x43b5c8;return-0x1!==_0x2be65c&&(_0x9b0f2c=Math[_0x589210(0x127)](_0x43b5c8,_0x2be65c)),this[_0x589210(0x112)](_0x222665,_0x9b0f2c)&&(_0x5e195d=!0x0),_0x5e195d;}[_0x1d3d3a(0x111)](_0x57405f,_0x4901de){const _0x3c7c1e=_0x1d3d3a,_0x1f7c85=this[_0x3c7c1e(0x124)][_0x3c7c1e(0x122)](_0x131f34=>_0x131f34['id']===_0x4901de);if(-0x1===_0x1f7c85)return!0x1;let _0x5b53f9=!0x1;const _0x258266=this[_0x3c7c1e(0x124)][_0x1f7c85];return _0x3c7c1e(0x149)!==_0x258266[_0x3c7c1e(0x116)][_0x3c7c1e(0x129)][_0x3c7c1e(0x11f)]&&(_0x57405f[_0x3c7c1e(0x115)](_0x258266[_0x3c7c1e(0x116)]),_0x5b53f9=!0x0),this[_0x3c7c1e(0x124)][_0x3c7c1e(0x13c)](_0x1f7c85,0x1),this[_0x3c7c1e(0x112)](_0x57405f,_0x1f7c85)&&(_0x5b53f9=!0x0),_0x5b53f9;}[_0x1d3d3a(0x135)](_0x26eb37,_0x529125){const _0x1cdf99=_0x1d3d3a,_0x2d1391=_0x529125[_0x1cdf99(0x164)](_0x1cdf99(0x128)),_0xb8f12=this[_0x1cdf99(0x124)][_0x1cdf99(0x122)](_0x561016=>_0x561016['id']===_0x2d1391),_0x26c76b=this[_0x1cdf99(0x124)][_0xb8f12];let _0x20c997=!0x1;_0x26c76b[_0x1cdf99(0x120)]=_0x529125,this[_0x1cdf99(0x124)][_0x1cdf99(0x13c)](_0xb8f12,0x1);const _0x2b7266=I(this[_0x1cdf99(0x12c)][_0x1cdf99(0x13b)],this[_0x1cdf99(0x124)],_0x529125);return this[_0x1cdf99(0x124)][_0x1cdf99(0x13c)](_0x2b7266,0x0,_0x26c76b),this[_0x1cdf99(0x112)](_0x26eb37,Math[_0x1cdf99(0x127)](_0xb8f12,_0x2b7266))&&(_0x20c997=!0x0),_0x20c997;}[_0x1d3d3a(0x12f)](_0x24251f,_0x5a3d07){const _0xcdc2bf=_0x1d3d3a;if(!this[_0xcdc2bf(0x10c)])return!0x1;const _0x1bd465=this[_0xcdc2bf(0x124)][_0x5a3d07];let _0x31bc9b;return _0x31bc9b=this[_0xcdc2bf(0x125)]?this[_0xcdc2bf(0x125)]({'footnote':_0x1bd465,'container':this[_0xcdc2bf(0x10c)],'digits':String(this[_0xcdc2bf(0x124)][_0xcdc2bf(0x123)])[_0xcdc2bf(0x123)],'value':_0x5a3d07+0x1}):String(_0x5a3d07+0x1),_0x1bd465[_0xcdc2bf(0x120)][_0xcdc2bf(0x164)](_0xcdc2bf(0x14f))!=_0x31bc9b&&(_0x24251f[_0xcdc2bf(0x14c)](_0xcdc2bf(0x14f),_0x31bc9b,_0x1bd465[_0xcdc2bf(0x120)]),!0x0);}[_0x1d3d3a(0x131)](_0x403494){const _0x133480=_0x1d3d3a;if(!this[_0x133480(0x10c)]||this[_0x133480(0x124)][_0x133480(0x123)]<0x2)return!0x1;if(function(_0x4ea87d,_0xdd94bb){const _0x6b8a0d=_0x133480;if(_0x4ea87d[_0x6b8a0d(0x123)]!==_0xdd94bb[_0x6b8a0d(0x123)])return!0x1;for(let _0x47a93b=0x0;_0x47a93b<_0x4ea87d[_0x6b8a0d(0x123)];_0x47a93b++)if(_0x4ea87d[_0x47a93b]!==_0xdd94bb[_0x47a93b])return!0x1;return!0x0;}(this[_0x133480(0x124)][_0x133480(0x137)](_0x3c5ff8=>_0x3c5ff8['id']),Array[_0x133480(0x154)](this[_0x133480(0x10c)][_0x133480(0x10b)]())[_0x133480(0x137)](_0x1bb333=>_0x1bb333[_0x133480(0x164)](_0x133480(0x128)))))return!0x1;let _0x47e54f=!0x1;for(let _0x4a765d=0x0;_0x4a765d<this[_0x133480(0x124)][_0x133480(0x123)];_0x4a765d++){const _0x12af34=this[_0x133480(0x124)][_0x4a765d],_0x48075c=_0x403494[_0x133480(0x145)](_0x12af34[_0x133480(0x116)]),_0x323612=_0x403494[_0x133480(0x15d)](this[_0x133480(0x10c)],_0x4a765d);_0x48075c[_0x133480(0x15a)](_0x323612)||(_0x403494[_0x133480(0x12e)](_0x403494[_0x133480(0x110)](_0x12af34[_0x133480(0x116)]),_0x323612),_0x47e54f=!0x0);}return _0x47e54f;}[_0x1d3d3a(0x10a)](_0x4ed75a){const _0x1d196a=_0x1d3d3a;if(!this[_0x1d196a(0x124)][_0x1d196a(0x123)])return!0x1;const {model:_0x2e170d}=this[_0x1d196a(0x12c)];let _0x579589=!0x1;for(let _0x226a8a=0x0;_0x226a8a<this[_0x1d196a(0x124)][_0x1d196a(0x123)]-0x1;_0x226a8a++){const _0x310244=this[_0x1d196a(0x124)][_0x226a8a],_0x3239d7=this[_0x1d196a(0x124)][_0x226a8a+0x1],_0x4ecfee=_0x2e170d[_0x1d196a(0x145)](_0x310244[_0x1d196a(0x120)]),_0xa20750=_0x2e170d[_0x1d196a(0x145)](_0x3239d7[_0x1d196a(0x120)]);_0x1d196a(0x160)===_0x4ecfee[_0x1d196a(0x11c)](_0xa20750)&&(this[_0x1d196a(0x135)](_0x4ed75a,_0x310244[_0x1d196a(0x120)]),_0x226a8a=-0x1,_0x579589=!0x0);}return _0x579589;}}function _(_0x234f4c,_0x545257,_0x1d2c7f){const _0x3675a3=_0x1d3d3a;if(_0x1d2c7f[_0x3675a3(0x143)])return!0x1;const _0x14b9af=_0x545257?_0x3675a3(0x163):_0x3675a3(0x132);return _0x234f4c[_0x3675a3(0x157)](_0x234f4c[_0x3675a3(0x153)](_0x14b9af),_0x1d2c7f),!0x0;}function I(_0x1251a5,_0x1c2826,_0x3ec604){const _0x4dc18f=_0x1d3d3a;if(0x0===_0x1c2826[_0x4dc18f(0x123)])return 0x0;const _0x559d1d=_0x1251a5[_0x4dc18f(0x145)](_0x3ec604);for(let _0x24f792=0x0;_0x24f792<_0x1c2826[_0x4dc18f(0x123)];_0x24f792++){const _0xe54a44=_0x1c2826[_0x24f792],_0x38dea3=_0x1251a5[_0x4dc18f(0x145)](_0xe54a44[_0x4dc18f(0x120)]);if(_0x4dc18f(0x151)===_0x559d1d[_0x4dc18f(0x11c)](_0x38dea3))return _0x24f792;}const _0x35fdcb=_0x3ec604[_0x4dc18f(0x129)];let _0x2c526b=-0x1;for(let _0x359818=_0x1c2826[_0x4dc18f(0x123)]-0x1;_0x359818>=0x0;_0x359818--)if(_0x1c2826[_0x359818][_0x4dc18f(0x120)][_0x4dc18f(0x129)]===_0x35fdcb){_0x2c526b=_0x359818;break;}if(-0x1!==_0x2c526b)return _0x2c526b+0x1;const _0x34a9af=_0x1251a5[_0x4dc18f(0x138)][_0x4dc18f(0x146)](),_0x2b886c=_0x34a9af[_0x4dc18f(0x14a)](_0x35fdcb[_0x4dc18f(0x11f)]),_0x604c80=_0x34a9af[_0x2b886c+0x1];if(_0x604c80){for(let _0x364533=0x0;_0x364533<_0x1c2826[_0x4dc18f(0x123)];_0x364533++)if(_0x1c2826[_0x364533][_0x4dc18f(0x120)][_0x4dc18f(0x129)][_0x4dc18f(0x11f)]===_0x604c80)return _0x364533;}return _0x1c2826[_0x4dc18f(0x123)];}function _0x54e8(){const _0x35b09b=['getRootNames','isPremiumPlugin','getFootnotesFormatter','$graveyard','indexOf','32yCdFjc','setAttribute','has','parent','footnoteCounter','high','before','footnotesDefinitions','createElement','from','1883466SGeEZz','3078805nBMTYE','insert','reset','_footnoteDefsTracker','isEqual','set','_footnoteDefsContainerTracker','createPositionAt','isOfficialPlugin','pluginName','after','getChanges','singleton','paragraph','getAttribute','1882KbvtSx','init','_footnoteRefsTracker','_handleFootnotesDefinitionsObjectSync','some','listenTo','footnotes.multiBlock','_insertEmptyFootnotesDefinitionsContainer','getFootnotes','unshift','653Tmlxta','_ensureFootnotesReferencesHaveProperOrder','getChildren','_footnotesDefinitions','config','FootnotesTracker','_handleFootnoteDefinitionsChanges','createRangeOn','_handleRemoveFootnoteReferenceById','_updateFootnotesCounters','enqueueChange','_handleInsertedFootnoteReference','remove','definition','find','3864429zMVWYH','footnoteRef','5336742FxPHTS','12967493FOLMWj','compareWith','add','get','rootName','reference','differ','findIndex','length','_footnotes','_footnoteFormatter','getFootnote','min','footnoteId','root','20zrwDcj','setFootnoteFormatter','editor','append','move','_updateFootnoteRefCounter','end','_sortFootnoteDefinitions','footnoteInlineContent','95417oqnUUJ','low','_handleMovedFootnoteReference','change:data','map','document','push','footnoteDefinition','model','splice','getFootnotesDefinitionsObjectElement','_ensureFootnotesDefinitionsContainerExists','_handleFootnotesDefinitionsObjectChanges','createRangeIn','4mDvFBG','_handleFootnoteReferencesChanges','childCount','registerPostFixer','createPositionBefore'];_0x54e8=function(){return _0x35b09b;};return _0x54e8();}
23
+ function _0xa40c(_0x3dcc8c,_0x293b2a){const _0x601899=_0x6018();return _0xa40c=function(_0xa40cbe,_0x3c0591){_0xa40cbe=_0xa40cbe-0xff;let _0x166b33=_0x601899[_0xa40cbe];return _0x166b33;},_0xa40c(_0x3dcc8c,_0x293b2a);}const _0x86c127=_0xa40c;(function(_0x4342e4,_0x2c1e38){const _0x348b45=_0xa40c,_0x16435d=_0x4342e4();while(!![]){try{const _0x2fa42e=parseInt(_0x348b45(0x11a))/0x1*(parseInt(_0x348b45(0x13d))/0x2)+-parseInt(_0x348b45(0x106))/0x3+-parseInt(_0x348b45(0x101))/0x4*(-parseInt(_0x348b45(0x11e))/0x5)+parseInt(_0x348b45(0x11d))/0x6*(-parseInt(_0x348b45(0x121))/0x7)+-parseInt(_0x348b45(0x160))/0x8*(-parseInt(_0x348b45(0x11c))/0x9)+-parseInt(_0x348b45(0x119))/0xa+-parseInt(_0x348b45(0x107))/0xb*(parseInt(_0x348b45(0x159))/0xc);if(_0x2fa42e===_0x2c1e38)break;else _0x16435d['push'](_0x16435d['shift']());}catch(_0x3fac50){_0x16435d['push'](_0x16435d['shift']());}}}(_0x6018,0x66df0));import{Plugin as _0x4edc2e}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xd874e3}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4edc2e{[_0x86c127(0x157)]=[];[_0x86c127(0x14c)]=null;[_0x86c127(0x163)]=null;[_0x86c127(0x15b)];[_0x86c127(0x134)];[_0x86c127(0x103)];static get[_0x86c127(0x153)](){const _0x5427c0=_0x86c127;return _0x5427c0(0x108);}static get[_0x86c127(0x10a)](){return!0x0;}static get[_0x86c127(0x12f)](){return!0x0;}constructor(_0xcee48a){const _0x27a012=_0x86c127;super(_0xcee48a),this[_0x27a012(0x15b)]=new _0xd874e3(this[_0x27a012(0x133)][_0x27a012(0x12e)],{'elementName':_0x27a012(0x155),'getElementKey':()=>_0x27a012(0x13e)}),this[_0x27a012(0x134)]=new _0xd874e3(this[_0x27a012(0x133)][_0x27a012(0x12e)],{'elementName':_0x27a012(0x114),'getElementKey':_0x505bf6=>_0x505bf6[_0x27a012(0x11b)](_0x27a012(0x15d))}),this[_0x27a012(0x103)]=new _0xd874e3(this[_0x27a012(0x133)][_0x27a012(0x12e)],{'elementName':_0x27a012(0x112),'getElementKey':_0x40a580=>_0x40a580[_0x27a012(0x11b)](_0x27a012(0x15d))});}[_0x86c127(0x120)](){const _0x3dd897=_0x86c127,{editor:_0x388051}=this,{model:_0x490b6a,data:_0x5a9828}=_0x388051;_0x490b6a[_0x3dd897(0x15e)][_0x3dd897(0x147)](_0x677527=>{const _0x362ab9=_0x3dd897,_0x4053d7=_0x490b6a[_0x362ab9(0x15e)][_0x362ab9(0x139)][_0x362ab9(0x149)]();let _0x43769c=!0x1;return this[_0x362ab9(0x14e)](_0x677527,_0x4053d7)&&(_0x43769c=!0x0),this[_0x362ab9(0x136)](_0x677527,_0x4053d7)&&(_0x43769c=!0x0),this[_0x362ab9(0x137)](_0x677527,_0x4053d7)&&(_0x43769c=!0x0),this[_0x362ab9(0x12d)](_0x677527)&&(_0x43769c=!0x0),this[_0x362ab9(0x115)](_0x677527)&&(_0x43769c=!0x0),this[_0x362ab9(0x150)](_0x677527)&&(_0x43769c=!0x0),_0x43769c;}),this[_0x3dd897(0x14b)](_0x490b6a[_0x3dd897(0x15e)],_0x3dd897(0x13c),()=>{const _0x16bee2=_0x3dd897;_0x490b6a[_0x16bee2(0x131)]({'isUndoable':!0x1},_0x366ed8=>{const _0x5cf149=_0x16bee2;this[_0x5cf149(0x122)](_0x366ed8);});},{'priority':_0x3dd897(0x109)}),this[_0x3dd897(0x14b)](_0x5a9828,_0x3dd897(0x111),()=>{const _0x1c1c0b=_0x3dd897;this[_0x1c1c0b(0x157)]=[],this[_0x1c1c0b(0x15b)][_0x1c1c0b(0x13a)](),this[_0x1c1c0b(0x134)][_0x1c1c0b(0x13a)](),this[_0x1c1c0b(0x103)][_0x1c1c0b(0x13a)]();},{'priority':_0x3dd897(0x127)});}[_0x86c127(0x12a)](){const _0x486c94=_0x86c127;return this[_0x486c94(0x14c)];}[_0x86c127(0x144)](_0x4f289b){const _0x5b7e2f=_0x86c127;return this[_0x5b7e2f(0x157)][_0x5b7e2f(0x11f)](_0x44d155=>_0x44d155['id']===_0x4f289b)||null;}[_0x86c127(0x14f)](){const _0x3e2353=_0x86c127;return Array[_0x3e2353(0x141)](this[_0x3e2353(0x157)]);}[_0x86c127(0x156)](){const _0x45383b=_0x86c127;return this[_0x45383b(0x163)];}[_0x86c127(0x161)](_0x28e37f){const _0x3c91f8=_0x86c127;this[_0x3c91f8(0x163)]=_0x28e37f;}[_0x86c127(0x123)](_0x44132d,_0x41b8b8=0x0){const _0x1fd35c=_0x86c127;let _0x31be91=!0x1;for(let _0x421145=_0x41b8b8;_0x421145<this[_0x1fd35c(0x157)][_0x1fd35c(0x130)];_0x421145++)this[_0x1fd35c(0x104)](_0x44132d,_0x421145)&&(_0x31be91=!0x0);return _0x31be91;}[_0x86c127(0x14a)](_0x4fd4e8,_0x135d02){const _0x56a3a7=_0x86c127,_0x455b09=_0x4fd4e8[_0x56a3a7(0x12b)](_0x56a3a7(0x155),{});return _0x4fd4e8[_0x56a3a7(0x129)](_0x455b09,_0x135d02),this[_0x56a3a7(0x14c)]=_0x455b09,_0x455b09;}[_0x86c127(0x122)](_0x39822c){const _0x3f44de=_0x86c127;if(!this[_0x3f44de(0x157)][_0x3f44de(0x130)]||this[_0x3f44de(0x14c)])return;const _0x102020=this[_0x3f44de(0x157)][0x0][_0x3f44de(0x162)][_0x3f44de(0x14d)],_0x4151f6=this[_0x3f44de(0x14a)](_0x39822c,_0x102020);for(const _0x1a2377 of this[_0x3f44de(0x157)])_0x1a2377[_0x3f44de(0x100)][_0x3f44de(0x148)]||_0x39822c[_0x3f44de(0x126)](_0x1a2377[_0x3f44de(0x100)],_0x4151f6,_0x3f44de(0x117));this[_0x3f44de(0x123)](_0x39822c);}[_0x86c127(0x14e)](_0xffe18,_0x1c60ac){const _0x2fd6e5=_0x86c127;let _0x252a2b=!0x1;const {inserted:_0x4675ab,removed:_0x2cb2cd,moved:_0x4d157c}=this[_0x2fd6e5(0x15b)][_0x2fd6e5(0x149)](_0x1c60ac);if(_0x4d157c[_0x2fd6e5(0x130)]&&(this[_0x2fd6e5(0x14c)]=_0x4d157c[0x0]),_0x4675ab[_0x2fd6e5(0x130)]){if(_0x4675ab[_0x2fd6e5(0x130)]>0x1||this[_0x2fd6e5(0x14c)]&&_0x4675ab[_0x2fd6e5(0x116)](_0x1e7567=>_0x1e7567!==this[_0x2fd6e5(0x14c)])){const _0x47b1a8=_0xffe18[_0x2fd6e5(0x12b)](_0x2fd6e5(0x155),{}),_0xda19d9=[];this[_0x2fd6e5(0x14c)]&&_0xda19d9[_0x2fd6e5(0x135)](this[_0x2fd6e5(0x14c)]),_0xda19d9[_0x2fd6e5(0x135)](..._0x4675ab),_0xffe18[_0x2fd6e5(0x126)](_0x47b1a8,_0xda19d9[0x0],_0x2fd6e5(0x138));for(const _0x3af657 of _0xda19d9)_0xffe18[_0x2fd6e5(0x10e)](_0xffe18[_0x2fd6e5(0x13f)](_0x3af657),_0xffe18[_0x2fd6e5(0x165)](_0x47b1a8,_0x2fd6e5(0x117))),_0xffe18[_0x2fd6e5(0x10b)](_0x3af657);this[_0x2fd6e5(0x14c)]=_0x47b1a8,this[_0x2fd6e5(0x123)](_0xffe18),_0x252a2b=!0x0;}else this[_0x2fd6e5(0x14c)]=_0x4675ab[0x0];}if(_0x2cb2cd[_0x2fd6e5(0x130)]&&_0x2fd6e5(0x124)===this[_0x2fd6e5(0x14c)]?.[_0x2fd6e5(0x14d)][_0x2fd6e5(0x151)]){for(const _0xa84cec of this[_0x2fd6e5(0x157)])_0xffe18[_0x2fd6e5(0x10b)](_0xa84cec[_0x2fd6e5(0x162)]),_0x252a2b=!0x0;this[_0x2fd6e5(0x157)]=[],this[_0x2fd6e5(0x14c)]=null;}return _0x252a2b;}[_0x86c127(0x136)](_0x229194,_0x71628e){const _0x34b4d3=_0x86c127;let _0x3f4630=!0x1;const _0x4aab5c=this[_0x34b4d3(0x133)][_0x34b4d3(0x102)][_0x34b4d3(0x164)](_0x34b4d3(0x10d)),{inserted:_0x324fee,moved:_0x7d8c53}=this[_0x34b4d3(0x103)][_0x34b4d3(0x149)](_0x71628e);for(const _0x5b90b8 of[..._0x7d8c53,..._0x324fee]){const _0xb9e6ef=_0x5b90b8[_0x34b4d3(0x11b)](_0x34b4d3(0x15d)),_0x5378c8=this[_0x34b4d3(0x144)](_0xb9e6ef);_0x5378c8&&(_0x5378c8[_0x34b4d3(0x100)]=_0x5b90b8),_(_0x229194,_0x4aab5c,_0x5b90b8)&&(_0x3f4630=!0x0);}return _0x3f4630;}[_0x86c127(0x137)](_0xda1161,_0x2a5444){const _0x4700f0=_0x86c127;let _0x296e22=!0x1;const {removed:_0xf3cc45,inserted:_0x368f0c,moved:_0x551808}=this[_0x4700f0(0x134)][_0x4700f0(0x149)](_0x2a5444);for(const _0x5233eb of _0xf3cc45)this[_0x4700f0(0x132)](_0xda1161,_0x5233eb)&&(_0x296e22=!0x0);for(const _0x3e22c1 of _0x368f0c)this[_0x4700f0(0x13b)](_0xda1161,_0x3e22c1)&&(_0x296e22=!0x0);for(const _0x4b114e of _0x551808)this[_0x4700f0(0x15c)](_0xda1161,_0x4b114e)&&(_0x296e22=!0x0);return _0x296e22;}[_0x86c127(0x115)](_0x288bb1){const _0x53068a=_0x86c127;if(!this[_0x53068a(0x14c)])return!0x1;let _0x2b82bf=!0x1;if(this[_0x53068a(0x14c)][_0x53068a(0x152)]!==this[_0x53068a(0x157)][_0x53068a(0x130)]){const _0x8b5738=[];for(const _0x1d5ab3 of this[_0x53068a(0x14c)][_0x53068a(0x105)]()){const _0x326649=_0x1d5ab3[_0x53068a(0x11b)](_0x53068a(0x15d));this[_0x53068a(0x144)](_0x326649)||(_0x8b5738[_0x53068a(0x143)](_0x1d5ab3),_0x2b82bf=!0x0);}for(const _0x45d1ef of _0x8b5738)_0x288bb1[_0x53068a(0x10b)](_0x45d1ef);}const _0x48f7ca=new Set(),_0x46d7d9=[];for(const _0x4a7ca4 of this[_0x53068a(0x14c)][_0x53068a(0x105)]()){const _0x3aed0d=_0x4a7ca4[_0x53068a(0x11b)](_0x53068a(0x15d));_0x48f7ca[_0x53068a(0x12c)](_0x3aed0d)?(_0x46d7d9[_0x53068a(0x143)](_0x4a7ca4),_0x2b82bf=!0x0):_0x48f7ca[_0x53068a(0x154)](_0x3aed0d);}for(const _0x32e232 of _0x46d7d9)_0x288bb1[_0x53068a(0x10b)](_0x32e232);return this[_0x53068a(0x14c)][_0x53068a(0x152)]||(_0x288bb1[_0x53068a(0x10b)](this[_0x53068a(0x14c)]),this[_0x53068a(0x14c)]=null,_0x2b82bf=!0x0),_0x2b82bf;}[_0x86c127(0x13b)](_0x90f5d4,_0x135cdc){const _0x51a4e2=_0x86c127;if(this[_0x51a4e2(0x157)][_0x51a4e2(0x11f)](_0xaaf366=>_0xaaf366[_0x51a4e2(0x162)]===_0x135cdc))return!0x1;let _0x29b136=!0x1;const _0x903962=_0x135cdc[_0x51a4e2(0x11b)](_0x51a4e2(0x15d)),_0x26ee25=this[_0x51a4e2(0x157)][_0x51a4e2(0xff)](_0x1f6f38=>_0x1f6f38['id']===_0x903962);-0x1!==_0x26ee25&&(_0x90f5d4[_0x51a4e2(0x10b)](this[_0x51a4e2(0x157)][_0x26ee25][_0x51a4e2(0x162)]),this[_0x51a4e2(0x157)][_0x51a4e2(0x158)](_0x26ee25,0x1),_0x29b136=!0x0);let _0x3454ba=this[_0x51a4e2(0x14c)]?function(_0x43f014,_0x503a1f){const _0x4d10b4=_0x51a4e2;for(const _0x39614 of _0x43f014[_0x4d10b4(0x105)]())if(_0x39614[_0x4d10b4(0x11b)](_0x4d10b4(0x15d))===_0x503a1f)return _0x39614;return null;}(this[_0x51a4e2(0x14c)],_0x903962):null;_0x3454ba||(_0x3454ba=_0x90f5d4[_0x51a4e2(0x12b)](_0x51a4e2(0x112),{'footnoteId':_0x903962}),this[_0x51a4e2(0x14c)]&&(_0x90f5d4[_0x51a4e2(0x126)](_0x3454ba,this[_0x51a4e2(0x14c)],_0x51a4e2(0x117)),_0x29b136=!0x0));const _0x54aa7b={'id':_0x903962,'reference':_0x135cdc,'definition':_0x3454ba},_0x59b224=I(this[_0x51a4e2(0x133)][_0x51a4e2(0x12e)],this[_0x51a4e2(0x157)],_0x135cdc);this[_0x51a4e2(0x157)][_0x51a4e2(0x158)](_0x59b224,0x0,_0x54aa7b);let _0x4794e0=_0x59b224;return-0x1!==_0x26ee25&&(_0x4794e0=Math[_0x51a4e2(0x10f)](_0x59b224,_0x26ee25)),this[_0x51a4e2(0x123)](_0x90f5d4,_0x4794e0)&&(_0x29b136=!0x0),_0x29b136;}[_0x86c127(0x132)](_0x499861,_0x19fc7a){const _0x1f738c=_0x86c127,_0x305750=this[_0x1f738c(0x157)][_0x1f738c(0xff)](_0x61099a=>_0x61099a['id']===_0x19fc7a);if(-0x1===_0x305750)return!0x1;let _0x5c26ce=!0x1;const _0x2eff62=this[_0x1f738c(0x157)][_0x305750];return _0x1f738c(0x124)!==_0x2eff62[_0x1f738c(0x100)][_0x1f738c(0x14d)][_0x1f738c(0x151)]&&(_0x499861[_0x1f738c(0x10b)](_0x2eff62[_0x1f738c(0x100)]),_0x5c26ce=!0x0),this[_0x1f738c(0x157)][_0x1f738c(0x158)](_0x305750,0x1),this[_0x1f738c(0x123)](_0x499861,_0x305750)&&(_0x5c26ce=!0x0),_0x5c26ce;}[_0x86c127(0x15c)](_0x4f29f1,_0x52984d){const _0x52809a=_0x86c127,_0x1fb9cf=_0x52984d[_0x52809a(0x11b)](_0x52809a(0x15d)),_0x1648b1=this[_0x52809a(0x157)][_0x52809a(0xff)](_0x456bf7=>_0x456bf7['id']===_0x1fb9cf),_0xbfb300=this[_0x52809a(0x157)][_0x1648b1];let _0x18bf01=!0x1;_0xbfb300[_0x52809a(0x162)]=_0x52984d,this[_0x52809a(0x157)][_0x52809a(0x158)](_0x1648b1,0x1);const _0x3db6e9=I(this[_0x52809a(0x133)][_0x52809a(0x12e)],this[_0x52809a(0x157)],_0x52984d);return this[_0x52809a(0x157)][_0x52809a(0x158)](_0x3db6e9,0x0,_0xbfb300),this[_0x52809a(0x123)](_0x4f29f1,Math[_0x52809a(0x10f)](_0x1648b1,_0x3db6e9))&&(_0x18bf01=!0x0),_0x18bf01;}[_0x86c127(0x104)](_0x5285e6,_0x614ab2){const _0x37b957=_0x86c127;if(!this[_0x37b957(0x14c)])return!0x1;const _0x53266c=this[_0x37b957(0x157)][_0x614ab2];let _0x47b9ed;return _0x47b9ed=this[_0x37b957(0x163)]?this[_0x37b957(0x163)]({'footnote':_0x53266c,'container':this[_0x37b957(0x14c)],'digits':String(this[_0x37b957(0x157)][_0x37b957(0x130)])[_0x37b957(0x130)],'value':_0x614ab2+0x1}):String(_0x614ab2+0x1),_0x53266c[_0x37b957(0x162)][_0x37b957(0x11b)](_0x37b957(0x15f))!=_0x47b9ed&&(_0x5285e6[_0x37b957(0x125)](_0x37b957(0x15f),_0x47b9ed,_0x53266c[_0x37b957(0x162)]),!0x0);}[_0x86c127(0x150)](_0x9a2324){const _0x178b49=_0x86c127;if(!this[_0x178b49(0x14c)]||this[_0x178b49(0x157)][_0x178b49(0x130)]<0x2)return!0x1;if(function(_0x199935,_0x2e0ea5){const _0x334eb5=_0x178b49;if(_0x199935[_0x334eb5(0x130)]!==_0x2e0ea5[_0x334eb5(0x130)])return!0x1;for(let _0x2d5974=0x0;_0x2d5974<_0x199935[_0x334eb5(0x130)];_0x2d5974++)if(_0x199935[_0x2d5974]!==_0x2e0ea5[_0x2d5974])return!0x1;return!0x0;}(this[_0x178b49(0x157)][_0x178b49(0x15a)](_0x41f9f8=>_0x41f9f8['id']),Array[_0x178b49(0x141)](this[_0x178b49(0x14c)][_0x178b49(0x105)]())[_0x178b49(0x15a)](_0x46a189=>_0x46a189[_0x178b49(0x11b)](_0x178b49(0x15d)))))return!0x1;let _0x1b4168=!0x1;for(let _0x2aacae=0x0;_0x2aacae<this[_0x178b49(0x157)][_0x178b49(0x130)];_0x2aacae++){const _0x51ab20=this[_0x178b49(0x157)][_0x2aacae],_0x1936ff=_0x9a2324[_0x178b49(0x128)](_0x51ab20[_0x178b49(0x100)]),_0x33c572=_0x9a2324[_0x178b49(0x165)](this[_0x178b49(0x14c)],_0x2aacae);_0x1936ff[_0x178b49(0x140)](_0x33c572)||(_0x9a2324[_0x178b49(0x10e)](_0x9a2324[_0x178b49(0x110)](_0x51ab20[_0x178b49(0x100)]),_0x33c572),_0x1b4168=!0x0);}return _0x1b4168;}[_0x86c127(0x12d)](_0x2c6f47){const _0x1d39d2=_0x86c127;if(!this[_0x1d39d2(0x157)][_0x1d39d2(0x130)])return!0x1;const {model:_0x3002ac}=this[_0x1d39d2(0x133)];let _0x5f0288=!0x1;for(let _0x2ddd94=0x0;_0x2ddd94<this[_0x1d39d2(0x157)][_0x1d39d2(0x130)]-0x1;_0x2ddd94++){const _0x35f47e=this[_0x1d39d2(0x157)][_0x2ddd94],_0x1b5fde=this[_0x1d39d2(0x157)][_0x2ddd94+0x1],_0x463737=_0x3002ac[_0x1d39d2(0x128)](_0x35f47e[_0x1d39d2(0x162)]),_0x366b24=_0x3002ac[_0x1d39d2(0x128)](_0x1b5fde[_0x1d39d2(0x162)]);_0x1d39d2(0x10c)===_0x463737[_0x1d39d2(0x145)](_0x366b24)&&(this[_0x1d39d2(0x15c)](_0x2c6f47,_0x35f47e[_0x1d39d2(0x162)]),_0x2ddd94=-0x1,_0x5f0288=!0x0);}return _0x5f0288;}}function _0x6018(){const _0x2e317f=['795580IUHdhE','find','init','197435rvMmya','_ensureFootnotesDefinitionsContainerExists','_updateFootnotesCounters','$graveyard','setAttribute','insert','high','createPositionBefore','append','getFootnotesDefinitionsObjectElement','createElement','has','_ensureFootnotesReferencesHaveProperOrder','model','isPremiumPlugin','length','enqueueChange','_handleRemoveFootnoteReferenceById','editor','_footnoteRefsTracker','push','_handleFootnoteDefinitionsChanges','_handleFootnoteReferencesChanges','before','differ','reset','_handleInsertedFootnoteReference','change:data','38qStKro','singleton','createRangeIn','isEqual','from','footnoteInlineContent','unshift','getFootnote','compareWith','paragraph','registerPostFixer','parent','getChanges','_insertEmptyFootnotesDefinitionsContainer','listenTo','_footnotesDefinitions','root','_handleFootnotesDefinitionsObjectChanges','getFootnotes','_sortFootnoteDefinitions','rootName','childCount','pluginName','add','footnotesDefinitions','getFootnotesFormatter','_footnotes','splice','21324vxNlBu','map','_footnoteDefsContainerTracker','_handleMovedFootnoteReference','footnoteId','document','footnoteCounter','5624ShyHQr','setFootnoteFormatter','reference','_footnoteFormatter','get','createPositionAt','findIndex','definition','20GZtYzx','config','_footnoteDefsTracker','_updateFootnoteRefCounter','getChildren','2169960PIMvpw','121FkGBzO','FootnotesTracker','low','isOfficialPlugin','remove','after','footnotes.multiBlock','move','min','createRangeOn','set','footnoteDefinition','getRootNames','footnoteRef','_handleFootnotesDefinitionsObjectSync','some','end','indexOf','2438740fURtYz','13555DbApwS','getAttribute','10683QeqpdB','102jqGiwo'];_0x6018=function(){return _0x2e317f;};return _0x6018();}function _(_0x43adba,_0x1f473c,_0x2fdb5c){const _0x475c5a=_0x86c127;if(_0x2fdb5c[_0x475c5a(0x152)])return!0x1;const _0x1fdc15=_0x1f473c?_0x475c5a(0x146):_0x475c5a(0x142);return _0x43adba[_0x475c5a(0x126)](_0x43adba[_0x475c5a(0x12b)](_0x1fdc15),_0x2fdb5c),!0x0;}function I(_0x15d894,_0x4590c3,_0xe3b947){const _0x40e135=_0x86c127;if(0x0===_0x4590c3[_0x40e135(0x130)])return 0x0;const _0x294756=_0x15d894[_0x40e135(0x128)](_0xe3b947);for(let _0x4cccca=0x0;_0x4cccca<_0x4590c3[_0x40e135(0x130)];_0x4cccca++){const _0x436a70=_0x4590c3[_0x4cccca],_0x3c7153=_0x15d894[_0x40e135(0x128)](_0x436a70[_0x40e135(0x162)]);if(_0x40e135(0x138)===_0x294756[_0x40e135(0x145)](_0x3c7153))return _0x4cccca;}const _0x43dd77=_0xe3b947[_0x40e135(0x14d)];let _0x1ce7e8=-0x1;for(let _0x299920=_0x4590c3[_0x40e135(0x130)]-0x1;_0x299920>=0x0;_0x299920--)if(_0x4590c3[_0x299920][_0x40e135(0x162)][_0x40e135(0x14d)]===_0x43dd77){_0x1ce7e8=_0x299920;break;}if(-0x1!==_0x1ce7e8)return _0x1ce7e8+0x1;const _0x30b29e=_0x15d894[_0x40e135(0x15e)][_0x40e135(0x113)](),_0x1183da=_0x30b29e[_0x40e135(0x118)](_0x43dd77[_0x40e135(0x151)]),_0x285fd4=_0x30b29e[_0x1183da+0x1];if(_0x285fd4){for(let _0x2cb1ba=0x0;_0x2cb1ba<_0x4590c3[_0x40e135(0x130)];_0x2cb1ba++)if(_0x4590c3[_0x2cb1ba][_0x40e135(0x162)][_0x40e135(0x14d)][_0x40e135(0x151)]===_0x285fd4)return _0x2cb1ba;}return _0x4590c3[_0x40e135(0x130)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2df997,MenuBarMenuListItemButtonView as _0x32a3b0}from'ckeditor5/src/ui.js';import{Plugin as _0x158acd}from'ckeditor5/src/core.js';import{IconFootnote as _0x4506ec}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x158acd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5bac98}=this,{componentFactory:_0x1718d0}=_0x5bac98['ui'];_0x1718d0['add']('insertFootnote',E(_0x5bac98,_0x2df997)),_0x1718d0['add']('menuBar:insertFootnote',E(_0x5bac98,_0x32a3b0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x201a96=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x571a36;for(const _0x592d81 in _0x201a96){const _0x5ce7ea=_0x592d81,_0x4ba669=_0x201a96[_0x5ce7ea];if('footnotesLicenseKeyValid'==_0x4ba669||'footnotesLicenseKeyInvalid'==_0x4ba669||'footnotesLicenseKeyExpired'==_0x4ba669||'footnotesLicenseKeyDomainLimit'==_0x4ba669||'footnotesLicenseKeyNotAllowed'==_0x4ba669||'footnotesLicenseKeyEvaluationLimit'==_0x4ba669||'footnotesLicenseKeyUsageLimit'==_0x4ba669){delete _0x201a96[_0x5ce7ea],_0x571a36=_0x4ba669,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x571a36&&_0x201a96['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x571a36&&_0x201a96['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x571a36&&_0x201a96['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x571a36&&_0x201a96['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x571a36&&_0x201a96['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x571a36&&_0x201a96['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x5d50dc,_0x5b5292){const _0x197cce=_0x5d50dc['commands']['get']('insertFootnote');return _0xda576e=>{const {t:t}=_0xda576e,_0x1fa320=new _0x5b5292(_0xda576e),_0x2de6d0=_0x1fa320 instanceof _0x32a3b0;return _0x1fa320['bind']('isEnabled')['to'](_0x197cce,'isEnabled'),_0x1fa320['set']({'label':t(_0x2de6d0?'Footnote':'Insert\x20footnote'),'icon':_0x4506ec,'tooltip':!0x0}),_0x1fa320['on']('execute',()=>{_0x197cce['execute'](),_0x5d50dc['editing']['view']['focus']();}),_0x1fa320;};}
23
+ import{ButtonView as _0x4d3d1f,MenuBarMenuListItemButtonView as _0x387657}from'ckeditor5/src/ui.js';import{Plugin as _0x3f3407}from'ckeditor5/src/core.js';import{IconFootnote as _0x4d2384}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3f3407{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x587714}=this,{componentFactory:_0x30431b}=_0x587714['ui'];_0x30431b['add']('insertFootnote',E(_0x587714,_0x4d3d1f)),_0x30431b['add']('menuBar:insertFootnote',E(_0x587714,_0x387657)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ba69f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e0639;for(const _0x6f46b2 in _0x1ba69f){const _0x4dea73=_0x6f46b2,_0x52b060=_0x1ba69f[_0x4dea73];if('footnotesLicenseKeyValid'==_0x52b060||'footnotesLicenseKeyInvalid'==_0x52b060||'footnotesLicenseKeyExpired'==_0x52b060||'footnotesLicenseKeyDomainLimit'==_0x52b060||'footnotesLicenseKeyNotAllowed'==_0x52b060||'footnotesLicenseKeyEvaluationLimit'==_0x52b060||'footnotesLicenseKeyUsageLimit'==_0x52b060){delete _0x1ba69f[_0x4dea73],_0x3e0639=_0x52b060,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3e0639&&_0x1ba69f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3e0639&&_0x1ba69f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3e0639&&_0x1ba69f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3e0639&&_0x1ba69f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3e0639&&_0x1ba69f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3e0639&&_0x1ba69f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x28668c,_0x38b4b1){const _0x32ea52=_0x28668c['commands']['get']('insertFootnote');return _0x49b1f3=>{const {t:t}=_0x49b1f3,_0xffed08=new _0x38b4b1(_0x49b1f3),_0x1a6419=_0xffed08 instanceof _0x387657;return _0xffed08['bind']('isEnabled')['to'](_0x32ea52,'isEnabled'),_0xffed08['set']({'label':t(_0x1a6419?'Footnote':'Insert\x20footnote'),'icon':_0x4d2384,'tooltip':!0x0}),_0xffed08['on']('execute',()=>{_0x32ea52['execute'](),_0x28668c['editing']['view']['focus']();}),_0xffed08;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x377d12,_0x31ff8b){var _0x5a2dcf=_0x2d09,_0x37a798=_0x377d12();while(!![]){try{var _0x44f5e2=parseInt(_0x5a2dcf(0x1ef))/0x1+parseInt(_0x5a2dcf(0x1eb))/0x2*(parseInt(_0x5a2dcf(0x1f0))/0x3)+-parseInt(_0x5a2dcf(0x1f4))/0x4*(-parseInt(_0x5a2dcf(0x1ee))/0x5)+-parseInt(_0x5a2dcf(0x1ec))/0x6*(parseInt(_0x5a2dcf(0x1f1))/0x7)+-parseInt(_0x5a2dcf(0x1ed))/0x8*(-parseInt(_0x5a2dcf(0x1f3))/0x9)+parseInt(_0x5a2dcf(0x1f2))/0xa+-parseInt(_0x5a2dcf(0x1f5))/0xb;if(_0x44f5e2===_0x31ff8b)break;else _0x37a798['push'](_0x37a798['shift']());}catch(_0x29f7cb){_0x37a798['push'](_0x37a798['shift']());}}}(_0x2bac,0x2f08c));function _0x2d09(_0x4e00aa,_0xa8c107){var _0x2bac9b=_0x2bac();return _0x2d09=function(_0x2d09f5,_0x1e7a42){_0x2d09f5=_0x2d09f5-0x1eb;var _0x4954bc=_0x2bac9b[_0x2d09f5];return _0x4954bc;},_0x2d09(_0x4e00aa,_0xa8c107);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x2bac(){var _0xdc280a=['30957iIkOqW','427299AhDxyQ','14pKTWmW','3730600GSQSIY','2097UodRHs','48UlTQyK','12898358FFrbwy','4JkqTxM','60486RVJBFg','11528BykLXy','150315stEOiw'];_0x2bac=function(){return _0xdc280a;};return _0x2bac();}export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x759e11,_0x59c873){var _0x55eeb5=_0x47f4,_0x293cac=_0x759e11();while(!![]){try{var _0x51626c=parseInt(_0x55eeb5(0x1a7))/0x1+-parseInt(_0x55eeb5(0x1a9))/0x2*(parseInt(_0x55eeb5(0x1aa))/0x3)+-parseInt(_0x55eeb5(0x1a6))/0x4*(-parseInt(_0x55eeb5(0x1b0))/0x5)+parseInt(_0x55eeb5(0x1ac))/0x6+-parseInt(_0x55eeb5(0x1ae))/0x7*(-parseInt(_0x55eeb5(0x1ab))/0x8)+-parseInt(_0x55eeb5(0x1a5))/0x9*(-parseInt(_0x55eeb5(0x1af))/0xa)+-parseInt(_0x55eeb5(0x1a8))/0xb*(parseInt(_0x55eeb5(0x1ad))/0xc);if(_0x51626c===_0x59c873)break;else _0x293cac['push'](_0x293cac['shift']());}catch(_0x16265b){_0x293cac['push'](_0x293cac['shift']());}}}(_0x59cf,0xbd841));function _0x47f4(_0x34c01b,_0x5db9c8){var _0x59cf11=_0x59cf();return _0x47f4=function(_0x47f469,_0x2bfadf){_0x47f469=_0x47f469-0x1a5;var _0x4156b0=_0x59cf11[_0x47f469];return _0x4156b0;},_0x47f4(_0x34c01b,_0x5db9c8);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x59cf(){var _0x4f4ddf=['912684vezdpk','5919046eJtiPE','100610FLbvzO','15mpFjFN','1107tkZVDn','828532gHkFzx','1249784qZDtQO','396ADzopS','8342MheYOW','483JYuZbz','8raASyx','1389456VoqwaH'];_0x59cf=function(){return _0x4f4ddf;};return _0x59cf();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e71d2=_0x6d3d;(function(_0x3a715f,_0x57ad6d){const _0x3f4347=_0x6d3d,_0x5cc373=_0x3a715f();while(!![]){try{const _0x28c7c1=-parseInt(_0x3f4347(0x16f))/0x1+parseInt(_0x3f4347(0x167))/0x2+-parseInt(_0x3f4347(0x17c))/0x3+-parseInt(_0x3f4347(0x180))/0x4+-parseInt(_0x3f4347(0x168))/0x5*(parseInt(_0x3f4347(0x174))/0x6)+-parseInt(_0x3f4347(0x17f))/0x7*(-parseInt(_0x3f4347(0x17e))/0x8)+parseInt(_0x3f4347(0x179))/0x9;if(_0x28c7c1===_0x57ad6d)break;else _0x5cc373['push'](_0x5cc373['shift']());}catch(_0x100ab8){_0x5cc373['push'](_0x5cc373['shift']());}}}(_0x5ca9,0x39b42));function _0x6d3d(_0xc83bed,_0x55557c){const _0x5ca915=_0x5ca9();return _0x6d3d=function(_0x6d3d55,_0x5e97f7){_0x6d3d55=_0x6d3d55-0x15c;let _0x376254=_0x5ca915[_0x6d3d55];return _0x376254;},_0x6d3d(_0xc83bed,_0x55557c);}export class ModelElementTracker{[_0x1e71d2(0x16a)];[_0x1e71d2(0x164)];[_0x1e71d2(0x184)];[_0x1e71d2(0x15d)]=new Map();constructor(_0x1dd65e,_0x35cabd){const _0x29fc53=_0x1e71d2;this[_0x29fc53(0x16a)]=_0x1dd65e,this[_0x29fc53(0x164)]=_0x35cabd[_0x29fc53(0x172)],this[_0x29fc53(0x184)]=_0x35cabd[_0x29fc53(0x183)];}[_0x1e71d2(0x186)](){const _0x538be3=_0x1e71d2;this[_0x538be3(0x15d)][_0x538be3(0x185)]();}[_0x1e71d2(0x181)](_0x4c3bc5){const _0x52f590=_0x1e71d2,_0x1a5e6f=new Set(),_0x44dabf=new Map();for(const _0x329cd1 of _0x4c3bc5){if(_0x52f590(0x16e)===_0x329cd1[_0x52f590(0x166)]&&_0x52f590(0x171)!==_0x329cd1[_0x52f590(0x160)]&&_0x329cd1[_0x52f590(0x15c)][_0x52f590(0x175)]){const _0x20085e=this[_0x52f590(0x16a)][_0x52f590(0x15e)](_0x329cd1[_0x52f590(0x15c)][_0x52f590(0x175)]);for(const _0x50f724 of _0x20085e[_0x52f590(0x173)]()){if(!_0x50f724['is'](_0x52f590(0x16b),this[_0x52f590(0x164)]))continue;const _0x60e9a0=this[_0x52f590(0x184)](_0x50f724);_0x44dabf[_0x52f590(0x178)](_0x60e9a0)||_0x44dabf[_0x52f590(0x15f)](_0x60e9a0,[]),_0x44dabf[_0x52f590(0x17a)](_0x60e9a0)[_0x52f590(0x16c)](_0x50f724);}}if(_0x52f590(0x17b)===_0x329cd1[_0x52f590(0x166)]&&_0x329cd1[_0x52f590(0x160)]===this[_0x52f590(0x164)]){const _0x618f54=this[_0x52f590(0x184)]({'getAttribute':_0x453cda=>_0x329cd1[_0x52f590(0x177)][_0x52f590(0x17a)](_0x453cda)});_0x1a5e6f[_0x52f590(0x163)](_0x618f54);}}for(const [_0x2fc9fd,_0x115fad]of this[_0x52f590(0x15d)])_0x52f590(0x169)===_0x115fad[_0x52f590(0x182)][_0x52f590(0x161)]&&_0x1a5e6f[_0x52f590(0x163)](_0x2fc9fd);for(const _0x1d9b21 of _0x1a5e6f)this[_0x52f590(0x15d)][_0x52f590(0x16d)](_0x1d9b21);for(const [_0x39ddc1,_0x25d8dc]of _0x44dabf)this[_0x52f590(0x15d)][_0x52f590(0x15f)](_0x39ddc1,_0x25d8dc[_0x25d8dc[_0x52f590(0x170)]-0x1]);const _0x2ccedb=new Set();for(const [_0x1e4d5b,_0x31f609]of _0x44dabf)_0x1a5e6f[_0x52f590(0x178)](_0x1e4d5b)&&(_0x2ccedb[_0x52f590(0x163)](_0x31f609[0x0]),_0x31f609[_0x52f590(0x170)]>0x1?_0x44dabf[_0x52f590(0x15f)](_0x1e4d5b,_0x31f609[_0x52f590(0x17d)](0x1)):_0x44dabf[_0x52f590(0x16d)](_0x1e4d5b),_0x1a5e6f[_0x52f590(0x16d)](_0x1e4d5b));return{'removed':Array[_0x52f590(0x165)](_0x1a5e6f),'inserted':Array[_0x52f590(0x165)](_0x44dabf[_0x52f590(0x176)]())[_0x52f590(0x162)](),'moved':Array[_0x52f590(0x165)](_0x2ccedb)};}}function _0x5ca9(){const _0x3a39d9=['$graveyard','_model','element','push','delete','insert','306278qKOxcP','length','$text','elementName','getItems','12OPUJzT','nodeAfter','values','attributes','has','10315251NEBQQc','get','remove','944445IbxKXU','slice','952BrdRMX','20412zcEsft','1275488fCLHJI','getChanges','root','getElementKey','_getElementKey','clear','reset','position','_trackedElements','createRangeOn','set','name','rootName','flat','add','_elementName','from','type','302480bdPUcP','1170160HCJUxL'];_0x5ca9=function(){return _0x3a39d9;};return _0x5ca9();}
23
+ function _0x3396(){const _0x572d8c=['insert','829831tWYrWw','elementName','from','flat','attributes','rootName','root','clear','type','getItems','reset','2466atQZKN','has','slice','1135965arwmtV','6337842BMnRpQ','getElementKey','push','2121162QbvudB','add','$graveyard','element','set','length','_getElementKey','values','name','getChanges','createRangeOn','delete','_model','_elementName','4kltAbe','remove','_trackedElements','1275745KlBPWt','985226cGRRpR','$text','58712aXXHli','nodeAfter','get','position'];_0x3396=function(){return _0x572d8c;};return _0x3396();}const _0x5ea42e=_0x145a;function _0x145a(_0x188eea,_0x590a4a){const _0x339609=_0x3396();return _0x145a=function(_0x145a15,_0x552d51){_0x145a15=_0x145a15-0x65;let _0x49aad5=_0x339609[_0x145a15];return _0x49aad5;},_0x145a(_0x188eea,_0x590a4a);}(function(_0x3dc119,_0x18c6fb){const _0x131096=_0x145a,_0x112e8f=_0x3dc119();while(!![]){try{const _0xe38b87=parseInt(_0x131096(0x71))/0x1+-parseInt(_0x131096(0x6a))/0x2+-parseInt(_0x131096(0x7f))/0x3*(parseInt(_0x131096(0x66))/0x4)+-parseInt(_0x131096(0x69))/0x5+-parseInt(_0x131096(0x83))/0x6+-parseInt(_0x131096(0x80))/0x7+parseInt(_0x131096(0x6c))/0x8*(parseInt(_0x131096(0x7c))/0x9);if(_0xe38b87===_0x18c6fb)break;else _0x112e8f['push'](_0x112e8f['shift']());}catch(_0x1b4268){_0x112e8f['push'](_0x112e8f['shift']());}}}(_0x3396,0x6f2c7));export class ModelElementTracker{[_0x5ea42e(0x8f)];[_0x5ea42e(0x65)];[_0x5ea42e(0x89)];[_0x5ea42e(0x68)]=new Map();constructor(_0x514129,_0x13b93c){const _0x2bdb6a=_0x5ea42e;this[_0x2bdb6a(0x8f)]=_0x514129,this[_0x2bdb6a(0x65)]=_0x13b93c[_0x2bdb6a(0x72)],this[_0x2bdb6a(0x89)]=_0x13b93c[_0x2bdb6a(0x81)];}[_0x5ea42e(0x7b)](){const _0x39d848=_0x5ea42e;this[_0x39d848(0x68)][_0x39d848(0x78)]();}[_0x5ea42e(0x8c)](_0x1c454e){const _0x219cca=_0x5ea42e,_0x25d9c0=new Set(),_0x3c1df7=new Map();for(const _0x17e996 of _0x1c454e){if(_0x219cca(0x70)===_0x17e996[_0x219cca(0x79)]&&_0x219cca(0x6b)!==_0x17e996[_0x219cca(0x8b)]&&_0x17e996[_0x219cca(0x6f)][_0x219cca(0x6d)]){const _0x28ca47=this[_0x219cca(0x8f)][_0x219cca(0x8d)](_0x17e996[_0x219cca(0x6f)][_0x219cca(0x6d)]);for(const _0x472a26 of _0x28ca47[_0x219cca(0x7a)]()){if(!_0x472a26['is'](_0x219cca(0x86),this[_0x219cca(0x65)]))continue;const _0x34bac5=this[_0x219cca(0x89)](_0x472a26);_0x3c1df7[_0x219cca(0x7d)](_0x34bac5)||_0x3c1df7[_0x219cca(0x87)](_0x34bac5,[]),_0x3c1df7[_0x219cca(0x6e)](_0x34bac5)[_0x219cca(0x82)](_0x472a26);}}if(_0x219cca(0x67)===_0x17e996[_0x219cca(0x79)]&&_0x17e996[_0x219cca(0x8b)]===this[_0x219cca(0x65)]){const _0x4ec32a=this[_0x219cca(0x89)]({'getAttribute':_0x20ea24=>_0x17e996[_0x219cca(0x75)][_0x219cca(0x6e)](_0x20ea24)});_0x25d9c0[_0x219cca(0x84)](_0x4ec32a);}}for(const [_0x1295af,_0x1e5d03]of this[_0x219cca(0x68)])_0x219cca(0x85)===_0x1e5d03[_0x219cca(0x77)][_0x219cca(0x76)]&&_0x25d9c0[_0x219cca(0x84)](_0x1295af);for(const _0x3af6ff of _0x25d9c0)this[_0x219cca(0x68)][_0x219cca(0x8e)](_0x3af6ff);for(const [_0x64b36c,_0x1bc3fe]of _0x3c1df7)this[_0x219cca(0x68)][_0x219cca(0x87)](_0x64b36c,_0x1bc3fe[_0x1bc3fe[_0x219cca(0x88)]-0x1]);const _0xf6b82c=new Set();for(const [_0x3fe094,_0x2b2d91]of _0x3c1df7)_0x25d9c0[_0x219cca(0x7d)](_0x3fe094)&&(_0xf6b82c[_0x219cca(0x84)](_0x2b2d91[0x0]),_0x2b2d91[_0x219cca(0x88)]>0x1?_0x3c1df7[_0x219cca(0x87)](_0x3fe094,_0x2b2d91[_0x219cca(0x7e)](0x1)):_0x3c1df7[_0x219cca(0x8e)](_0x3fe094),_0x25d9c0[_0x219cca(0x8e)](_0x3fe094));return{'removed':Array[_0x219cca(0x73)](_0x25d9c0),'inserted':Array[_0x219cca(0x73)](_0x3c1df7[_0x219cca(0x8a)]())[_0x219cca(0x74)](),'moved':Array[_0x219cca(0x73)](_0xf6b82c)};}}