@ckeditor/ckeditor5-footnotes 0.0.0-nightly-next-20251218.0 → 0.0.0-nightly-20251220.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 _0x334dfd}from'ckeditor5/src/core.js';import{isWidget as _0x26c8bd,toWidget as _0x175c54,toWidgetEditable as _0x26d910}from'ckeditor5/src/widget.js';import{uid as _0x418ab3}from'ckeditor5/src/utils.js';import{PointerObserver as _0x18f131,ClickObserver as _0x44061f}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x22ba09}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x10053d}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x334dfd{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x22ba09];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f0695}=this;_0x3f0695['config']['define']('footnotes.multiBlock',!0x0),_0x3f0695['commands']['add']('insertFootnote',new _0x10053d(_0x3f0695)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xad3451){const _0x3db34a=_0x2285ea([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]),_0x364e84=0x47a28506,_0x3cf9b2=0x47a5f946^_0x364e84,_0x466f9c=window[_0x2285ea([0x44,0x61,0x74,0x65])][_0x2285ea([0x6e,0x6f,0x77])](),_0x31ce8c=_0xad3451[_0x2285ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e5e94=new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7149=>{_0x31ce8c[_0x2285ea([0x6f,0x6e,0x63,0x65])](_0x2285ea([0x72,0x65,0x61,0x64,0x79]),_0x5d7149);}),_0x1bca2f={[_0x2285ea([0x6b,0x74,0x79])]:_0x2285ea([0x45,0x43]),[_0x2285ea([0x75,0x73,0x65])]:_0x2285ea([0x73,0x69,0x67]),[_0x2285ea([0x63,0x72,0x76])]:_0x2285ea([0x50,0x2d,0x32,0x35,0x36]),[_0x2285ea([0x78])]:_0x2285ea([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]),[_0x2285ea([0x79])]:_0x2285ea([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]),[_0x2285ea([0x61,0x6c,0x67])]:_0x2285ea([0x45,0x53,0x32,0x35,0x36])},_0x5b2ac2=_0x31ce8c[_0x2285ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2285ea([0x67,0x65,0x74])](_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x33d456(){let _0x2b64ca,_0x4dc6af=null,_0x486849=null;try{if(_0x5b2ac2==_0x2285ea([0x47,0x50,0x4c]))return _0x2285ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b64ca=_0x1ad93a(),!_0x2b64ca)return _0x2285ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b64ca[_0x2285ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x486849=_0xc09c11(_0x2b64ca[_0x2285ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b64ca[_0x2285ea([0x6a,0x74,0x69])])),await _0x30eda0()?_0x412b5a()?_0x7c74bd()?_0x2285ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5eba45()?(_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2285ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4dc6af=_0x2a7264(_0x2285ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2285ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x4dc6af=_0x2a7264(_0x2285ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x278ef0()):_0x2285ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2285ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2285ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2285ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7c74bd(){const _0x3d740f=[_0x2285ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2285ea([0x74,0x72,0x69,0x61,0x6c])][_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x466f9c/0x3e8:0xe10*_0x3cf9b2;return _0x2b64ca[_0x2285ea([0x65,0x78,0x70])]<_0x3d740f;}function _0x412b5a(){const _0x30ee52=_0x2b64ca[_0x2285ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ee52&&(!!_0x30ee52[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2285ea([0x2a]))||!!_0x30ee52[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2285ea([0x46,0x4f,0x4f])));}function _0x5eba45(){const _0x446f09=_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x446f09||0x0==_0x446f09[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x285838}=new URL(window[_0x2285ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x446f09[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x285838))return!0x0;const _0x4e7b34=_0x285838[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e]));return _0x446f09[_0x2285ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8d7a18=>_0x8d7a18[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2285ea([0x2a])))[_0x2285ea([0x6d,0x61,0x70])](_0x49d5c2=>_0x49d5c2[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e])))[_0x2285ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1075a3=>_0x1075a3[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e7b34[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2285ea([0x6d,0x61,0x70])](_0x56c36d=>Array(_0x4e7b34[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56c36d[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2285ea([0x66,0x69,0x6c,0x6c])](_0x56c36d[0x0]===_0x2285ea([0x2a])?_0x2285ea([0x2a]):'')[_0x2285ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56c36d))[_0x2285ea([0x73,0x6f,0x6d,0x65])](_0x701163=>_0x4e7b34[_0x2285ea([0x65,0x76,0x65,0x72,0x79])]((_0x138434,_0x2f66ed)=>_0x701163[_0x2f66ed]===_0x138434||_0x701163[_0x2f66ed]===_0x2285ea([0x2a])));}function _0x278ef0(){return _0x4dc6af&&_0x486849?new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40a6cb,_0x5a68dd)=>{_0x4dc6af[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x40a6cb,_0x5a68dd),_0x486849[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x1780fe=>{_0x1780fe!=_0x2285ea([0x56,0x61,0x6c,0x69,0x64])&&_0x40a6cb(_0x1780fe);},_0x5a68dd);}):_0x4dc6af||_0x486849||_0x2285ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc09c11(_0x54a3af,_0x1422e5){return new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5b4e=>{if(_0x48d31f())return _0x1c5b4e(_0x2285ea([0x56,0x61,0x6c,0x69,0x64]));_0x3a40f1(),_0x31ce8c[_0x2285ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2285ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e77e4=!0x1;const _0x398742=_0x418ab3();function _0xc48546(_0x2702a3){return!!_0x2702a3&&(typeof _0x2702a3===_0x2285ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2702a3===_0x2285ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2702a3[_0x2285ea([0x74,0x68,0x65,0x6e])]===_0x2285ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2702a3[_0x2285ea([0x63,0x61,0x74,0x63,0x68])]===_0x2285ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58eeb2(_0x1113b1){_0x27342a(_0x1113b1)[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x587cb6=>{if(!_0x587cb6||_0x587cb6[_0x2285ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2285ea([0x6f,0x6b]))return _0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e9f94(_0x5dce51(_0x398742+_0x1422e5))!=_0x587cb6[_0x2285ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2285ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x25a082=>(_0x1925ed(),_0x25a082),()=>{const _0x4eda87=_0x23b3c4();return null==_0x4eda87?(_0x1925ed(),_0x2285ea([0x56,0x61,0x6c,0x69,0x64])):_0x2285ea(_0x466f9c-_0x4eda87>(0x63ae0106^_0x364e84)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x1c5b4e)[_0x2285ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c5b4e(_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1887d1=0x47946b86^_0x364e84;function _0x1925ed(){const _0x55ff63=_0x2285ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e9f94(_0x5dce51(_0x54a3af)),_0xf58af7=_0xe1c536(_0x1e9f94(window[_0x2285ea([0x4d,0x61,0x74,0x68])][_0x2285ea([0x63,0x65,0x69,0x6c])](_0x466f9c/_0x1887d1)));window[_0x2285ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2285ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55ff63,_0xf58af7);}function _0x23b3c4(){const _0xd46610=_0x2285ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e9f94(_0x5dce51(_0x54a3af)),_0x1a8f0d=window[_0x2285ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2285ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd46610);return _0x1a8f0d?window[_0x2285ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe1c536(_0x1a8f0d),0x10)*_0x1887d1:null;}function _0x27342a(_0x248483){return new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b540b,_0x1317e1)=>{_0x248483[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x3b540b,_0x1317e1),window[_0x2285ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1317e1,0x47a351c6^_0x364e84);});}}_0x31ce8c[_0x2285ea([0x6f,0x6e])](_0x2285ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c5db4,_0x1336c6)=>{if(_0x1336c6[0x0]!=_0x54a3af)return _0x1c5b4e(_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1336c6[0x1]={..._0x1336c6[0x1],[_0x2285ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x398742};},{[_0x2285ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2285ea([0x68,0x69,0x67,0x68])}),_0x31ce8c[_0x2285ea([0x6f,0x6e])](_0x2285ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17b9cf=>{_0xc48546(_0x17b9cf[_0x2285ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e77e4=!0x0,_0x58eeb2(_0x17b9cf[_0x2285ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2285ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2285ea([0x6c,0x6f,0x77])}),_0x5e5e94[_0x2285ea([0x74,0x68,0x65,0x6e])](()=>{_0x4e77e4||_0x1c5b4e(_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48d31f(){return _0x31ce8c[_0x2285ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2285ea([0x76,0x69,0x65,0x77])][_0x2285ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2285ea([0x61,0x75,0x74,0x6f]);}function _0x3a40f1(){_0x31ce8c[_0x2285ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2285ea([0x76,0x69,0x65,0x77])][_0x2285ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2285ea([0x61,0x75,0x74,0x6f]);}}function _0x2a7264(_0x39e15c){const _0x2488a0=[new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb37a=>setTimeout(_0x4cb37a,0x47abbbca^_0x364e84)),_0x5e5e94[_0x2285ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ad3d2=>{let _0x14b10a=0x0;_0x31ce8c[_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x2285ea([0x6f,0x6e])](_0x2285ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ba60e,_0xd95408)=>{_0xd95408[0x0][_0x2285ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14b10a++,_0x14b10a==(0x47a284fe^_0x364e84)&&(_0x2ad3d2(),_0x1ba60e[_0x2285ea([0x6f,0x66,0x66])]());});}))];return window[_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2285ea([0x72,0x61,0x63,0x65])](_0x2488a0)[_0x2285ea([0x74,0x68,0x65,0x6e])](()=>_0x39e15c);}async function _0x1cca95(){await _0x5e5e94,_0x31ce8c[_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x2285ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd21b9d,_0x31ce8c[_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x2285ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd21b9d,_0x31ce8c[_0x2285ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d2577(_0x367d87){const _0xcf97a2=_0x47b049();_0x31ce8c[_0xcf97a2]=_0x2285ea([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x367d87,_0x367d87!=_0x2285ea([0x56,0x61,0x6c,0x69,0x64])&&_0x1cca95();}function _0x47b049(){const _0x413eee=window[_0x2285ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2285ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2285ea([0x6e,0x6f,0x77])]())[_0x2285ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2285ea([0x2e]),'');let _0x53addb=_0x2285ea([0x75]);for(let _0x520fc4=0x0;_0x520fc4<_0x413eee[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x520fc4+=0x2){let _0x514f2b=window[_0x2285ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x413eee[_0x2285ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x520fc4,_0x520fc4+0x2));_0x514f2b>=_0x3db34a[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x514f2b-=_0x3db34a[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53addb+=_0x3db34a[_0x514f2b];}return _0x53addb;}function _0x1ad93a(){const _0x43fded=_0x5b2ac2[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e]));if(0x3!=_0x43fded[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f7a53(_0x43fded[0x1]);function _0x4f7a53(_0x52a1ae){const _0x11788a=_0x3fd9d8(_0x52a1ae);return _0x11788a&&_0x17eed8()?_0x11788a:null;function _0x17eed8(){const _0x223e8c=_0x11788a[_0x2285ea([0x6a,0x74,0x69])],_0x4c2343=window[_0x2285ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x223e8c[_0x2285ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x223e8c[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34391d={..._0x11788a,[_0x2285ea([0x6a,0x74,0x69])]:_0x223e8c[_0x2285ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x223e8c[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34391d[_0x2285ea([0x76,0x63])],_0x5dce51(_0x34391d)==_0x4c2343;}}}async function _0x30eda0(){let _0x1f8a07=!0x0;try{const _0x38742a=_0x5b2ac2[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e])),[_0x1aa524,_0x2717f5,_0x35e158]=_0x38742a;return _0x426ff4(_0x1aa524),await _0x53ff2d(_0x1aa524,_0x2717f5,_0x35e158),_0x1f8a07;}catch{return!0x1;}function _0x426ff4(_0x2ee5f9){const _0x32befd=_0x3fd9d8(_0x2ee5f9);_0x32befd&&_0x32befd[_0x2285ea([0x61,0x6c,0x67])]==_0x2285ea([0x45,0x53,0x32,0x35,0x36])||(_0x1f8a07=!0x1);}async function _0x53ff2d(_0x7ce7c7,_0x3a2fa9,_0x33c00e){const _0x1998ca=window[_0x2285ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2285ea([0x66,0x72,0x6f,0x6d])](_0xa8e49e(_0x33c00e),_0x2a93bf=>_0x2a93bf[_0x2285ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e7f61=new window[(_0x2285ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2285ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7ce7c7+_0x2285ea([0x2e])+_0x3a2fa9),_0xdd7186=window[_0x2285ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2285ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdd7186)return;const _0x520862=await _0xdd7186[_0x2285ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2285ea([0x6a,0x77,0x6b]),_0x1bca2f,{[_0x2285ea([0x6e,0x61,0x6d,0x65])]:_0x2285ea([0x45,0x43,0x44,0x53,0x41]),[_0x2285ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2285ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2285ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdd7186[_0x2285ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2285ea([0x6e,0x61,0x6d,0x65])]:_0x2285ea([0x45,0x43,0x44,0x53,0x41]),[_0x2285ea([0x68,0x61,0x73,0x68])]:{[_0x2285ea([0x6e,0x61,0x6d,0x65])]:_0x2285ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x520862,_0x1998ca,_0x2e7f61)||(_0x1f8a07=!0x1);}}function _0x3fd9d8(_0x1a7d43){return _0x1a7d43[_0x2285ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2285ea([0x65,0x79]))?JSON[_0x2285ea([0x70,0x61,0x72,0x73,0x65])](_0xa8e49e(_0x1a7d43)):null;}function _0xa8e49e(_0x3a5124){return window[_0x2285ea([0x61,0x74,0x6f,0x62])](_0x3a5124[_0x2285ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2285ea([0x2b]))[_0x2285ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2285ea([0x2f])));}function _0x5dce51(_0x30f239){let _0x41c477=0x1505;function _0x497f3d(_0x58cc19){for(let _0x402915=0x0;_0x402915<_0x58cc19[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x402915++){const _0x30fcfc=_0x58cc19[_0x2285ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x402915);_0x41c477=(_0x41c477<<0x5)+_0x41c477+_0x30fcfc,_0x41c477&=_0x41c477;}}function _0x2b9719(_0x45aadc){Array[_0x2285ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45aadc)?_0x45aadc[_0x2285ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b9719):_0x45aadc&&typeof _0x45aadc==_0x2285ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2285ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45aadc)[_0x2285ea([0x73,0x6f,0x72,0x74])]()[_0x2285ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4830f9,_0x5983ab])=>{_0x497f3d(_0x4830f9),_0x2b9719(_0x5983ab);}):_0x497f3d(window[_0x2285ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45aadc));}return _0x2b9719(_0x30f239),_0x41c477>>>0x0;}function _0x1e9f94(_0x1099b6){return _0x1099b6[_0x2285ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2285ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2285ea([0x30]));}function _0xe1c536(_0x554a86){return _0x554a86[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2285ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2285ea([0x6a,0x6f,0x69,0x6e])]('');}function _0xd21b9d(){}function _0x2285ea(_0x3000f4){return _0x3000f4['map'](_0x3be86a=>String['fromCharCode'](_0x3be86a))['join']('');}_0x4d2577(await _0x33d456());}(this);}['_moveSelectionToFootnoteDefinition'](_0x41e8dc){const {plugins:_0x3fad38,editing:_0x3eb711,model:_0x254d3c}=this['editor'],_0x3eca62=_0x3fad38['get'](_0x22ba09)['getFootnote'](_0x41e8dc);return!!_0x3eca62&&(_0x254d3c['change'](_0x7531c2=>{_0x7531c2['setSelection'](_0x7531c2['createPositionAt'](_0x3eca62['definition'],'end'));}),_0x3eb711['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2e18ba){const {plugins:_0x49aa58,editing:_0x522f71,model:_0x219801}=this['editor'],_0xc5653d=_0x49aa58['get'](_0x22ba09)['getFootnote'](_0x2e18ba);return!!_0xc5653d&&(_0x219801['change'](_0x345369=>{_0x345369['setSelection'](_0xc5653d['reference'],'on');}),_0x522f71['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xb7e4e9}=this['editor']['model'],_0x571844=this['editor']['config']['get']('footnotes.multiBlock');_0xb7e4e9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xb7e4e9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xb7e4e9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x571844?_0xb7e4e9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xb7e4e9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xb7e4e9['addChildCheck'](_0xb366b6=>{for(const _0x86ed39 of _0xb366b6)if('footnoteDefinition'===_0x86ed39['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x315c2d}=this,{conversion:_0x5c6a88,editing:_0x35096a}=_0x315c2d,{t:t}=_0x315c2d['locale'];_0x5c6a88['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1f6401,{writer:_0x41e6d5,consumable:_0x14ec2e})=>{const _0x6d3c34=_0x1f6401['getChild'](0x0);if(!_0x6d3c34||!_0x6d3c34['is']('element','a'))return null;const _0x7401fc=_0x6d3c34['getAttribute']('href')||'';if(!_0x7401fc['startsWith']('#'))return null;const _0x3bb37c=_0x7401fc['replace'](/^#/,'');if(!_0x3bb37c)return null;_0x14ec2e['consume'](_0x6d3c34,{'name':!0x0,'attributes':['href']});for(const {item:_0x534122}of _0x35096a['view']['createRangeIn'](_0x6d3c34))_0x534122['is']('$textProxy')?_0x14ec2e['consume'](_0x534122['textNode'],{'name':!0x0}):_0x534122['is']('element')&&_0x14ec2e['consume'](_0x534122,{'name':!0x0});return _0x41e6d5['createElement']('footnoteRef',{'footnoteId':_0x3bb37c});}}),_0x5c6a88['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9aa315,{writer:_0x513f20})=>D(_0x9aa315,_0x513f20)}),_0x5c6a88['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36fa7d,{writer:_0x1af381})=>{const _0x165641=_0x36fa7d['getAttribute']('footnoteCounter');return _0x175c54(D(_0x36fa7d,_0x1af381),_0x1af381,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x165641)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4293cb}=this,{t:t}=_0x4293cb['locale'],{conversion:_0x5ff8a8}=_0x4293cb;_0x5ff8a8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5ff8a8['for']('upcast')['add'](_0x1c1f09=>{_0x1c1f09['on']('element:ol',(_0xc7a508,_0x4e52cd,_0x499945)=>{const _0x2ade72=_0x4e52cd['viewItem'];if(!_0x2ade72['hasClass']('footnotes-list')||!_0x4e52cd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x499945['consumable']['consume'](_0x2ade72,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2e850e,modelCursor:_0x52975a}=_0x499945['convertChildren'](_0x4e52cd['viewItem'],_0x4e52cd['modelCursor']);_0x4e52cd['modelRange']=_0x2e850e,_0x4e52cd['modelCursor']=_0x52975a;}),_0x1c1f09['on']('element:hr',(_0x1a81b4,_0x1c70d7,_0x5c54bc)=>{const _0x3ee27b=_0x1c70d7['viewItem'];_0x3ee27b['hasClass']('footnotes-divider')&&_0x1c70d7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5c54bc['consumable']['consume'](_0x3ee27b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5ff8a8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d0bbc,{writer:_0x47ed00})=>v(_0x47ed00)}),_0x5ff8a8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x68d35a,{writer:_0x367b32})=>{const _0x26fe43=v(_0x367b32,{'data-footnotes-list-label':t('Footnotes')}),_0x5ce275=_0x175c54(_0x26fe43,_0x367b32,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x367b32['setCustomProperty']('footnotesDefinitions',!0x0,_0x5ce275),_0x5ce275;}});}['_defineDefinitionConverters'](){const {editor:_0x329a90}=this,{conversion:_0xfbca12,locale:_0x3b7a68}=_0x329a90,_0x1155d9=_0x329a90['config']['get']('footnotes.multiBlock');_0xfbca12['for']('upcast')['add'](_0x141de9=>{_0x141de9['on']('element:li',(_0x2835e0,_0x3b307e,_0x42f15e)=>{const _0x38d4ea=_0x3b307e['viewItem'];if(!_0x38d4ea['hasClass']('footnote-definition')||!_0x38d4ea['getAttribute']('id'))return;const _0x139f75=_0x38d4ea['parent'];if(!_0x139f75['is']('element','ol')||!_0x139f75['hasClass']('footnotes-list'))return;if(!_0x42f15e['consumable']['test'](_0x38d4ea,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x156139=_0x42f15e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x38d4ea['getAttribute']('id')});if(!_0x42f15e['safeInsert'](_0x156139,_0x3b307e['modelCursor']))return;_0x42f15e['consumable']['consume'](_0x38d4ea,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x11cc87=Array['from'](_0x38d4ea['getChildren']())['find'](_0x307b33=>_0x307b33['is']('element')&&_0x307b33['hasClass']('footnote-content'));for(const _0x5e29a5 of _0x38d4ea['getChildren']())_0x5e29a5['is']('element')&&(_0x42f15e['consumable']['consume'](_0x5e29a5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x42f15e['consumable']['consume'](_0x5e29a5,{'name':!0x0,'classes':'footnote-content'}));if(_0x11cc87){if(_0x1155d9)_0x42f15e['convertChildren'](_0x11cc87,_0x156139);else{const _0x594d53=_0x42f15e['writer']['createElement']('footnoteInlineContent');_0x42f15e['writer']['insert'](_0x594d53,_0x156139),_0x42f15e['convertChildren'](_0x11cc87,_0x594d53);}}_0x42f15e['updateConversionResult'](_0x156139,_0x3b307e);});}),_0xfbca12['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5ee2fd,{writer:_0x4ae3c7})=>b(_0x5ee2fd,_0x4ae3c7,_0x3b7a68,{'dataPipeline':!0x0})}),_0xfbca12['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x520666,{writer:_0x22d479})=>b(_0x520666,_0x22d479,_0x3b7a68)});}['_defineBogusParagraphConverters'](){const {editor:_0x270d49}=this,{conversion:_0x1f5259}=_0x270d49;_0x270d49['config']['get']('footnotes.multiBlock')?(_0x1f5259['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1f5259['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x270d49['model']['document'],'change:data',()=>{!function(_0x21910f,_0x47f611){const _0x2dd83=_0x21910f['document']['differ'],_0x886a9a=new Set();for(const _0x5dc6b8 of _0x2dd83['getChanges']()){const _0x29c385='attribute'==_0x5dc6b8['type']?_0x5dc6b8['range']['start']['parent']:_0x5dc6b8['position']['parent'];_0x29c385['is']('element','footnoteDefinition')&&_0x886a9a['add'](_0x29c385);}for(const _0x1d51c5 of _0x886a9a['values']()){const _0x137087=Array['from'](_0x1d51c5['getChildren']())['filter'](_0x130c86=>g(_0x130c86,_0x47f611['mapper']));for(const _0x31d216 of _0x137087)_0x47f611['reconvertItem'](_0x31d216);}}(_0x270d49['model'],_0x270d49['editing']);})):(_0x1f5259['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1f5259['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x466f1a,{writer:_0x53bb18})=>{const _0x5107b6=_0x53bb18['createContainerElement']('span');return _0x53bb18['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5107b6),_0x5107b6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x29c062}=this,{editing:_0x101ae5,t:t}=_0x29c062,_0x53a5d2=_0x29c062['model']['document']['selection'];_0x29c062['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x29c062['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x101ae5['view']['document'],'enter',(_0x839678,_0xbbf531)=>{const _0x1337b9=function(_0x1fc9bc){const _0x4f5698=_0x1fc9bc['getSelectedElement']();if(_0x4f5698?.['is']('element','footnoteRef'))return _0x4f5698;return null;}(_0x53a5d2);if(_0x1337b9){const _0x4f5fdb=_0x1337b9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4f5fdb),_0xbbf531['preventDefault'](),_0x839678['stop']();}},{'context':_0x26c8bd});}['_defineClickHandlers'](){const {editor:_0x47b559}=this,{editing:_0x2396c1}=_0x47b559;_0x47b559['editing']['view']['addObserver'](_0x18f131),_0x47b559['editing']['view']['addObserver'](_0x44061f);let _0x2669a9=!0x1;this['listenTo'](_0x2396c1['view']['document'],'pointerdown',(_0x231b0b,_0x3eba10)=>{const {target:_0x5f42ca}=_0x3eba10,_0x3446c0=_0x2396c1['view']['document']['selection'];_0x2669a9=!!(_0x5f42ca?.['is']('element','a')&&_0x5f42ca['parent']?.['is']('element','sup')&&_0x5f42ca['parent']['hasClass']('footnote'))&&_0x3446c0['getSelectedElement']()===_0x5f42ca['parent'];},{'priority':'high'}),this['listenTo'](_0x2396c1['view']['document'],'click',(_0x25f6fa,_0x533c05)=>{const {target:_0x50bc2a}=_0x533c05;if(!_0x50bc2a?.['is']('element','a'))return;if(_0x50bc2a['parent']?.['is']('element','sup')&&_0x50bc2a['parent']['hasClass']('footnote')&&!_0x2669a9)return void _0x533c05['preventDefault']();let _0x2435ed=_0x50bc2a['getAttribute']('href');if(!_0x2435ed?.['startsWith']('#'))return;_0x2435ed=_0x2435ed['slice'](0x1);let _0x2cd0af=!0x1;(_0x2435ed['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2435ed['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2435ed))&&(_0x2cd0af=!0x0),_0x2cd0af&&(_0x533c05['preventDefault'](),_0x25f6fa['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xda1148}={}){return(_0x58f37c,{writer:_0x10f372})=>{if(!p(_0x58f37c))return null;if(!_0xda1148)return _0x10f372['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4a7705=_0x10f372['createContainerElement']('p');return _0x10f372['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4a7705),_0x4a7705;};}function p(_0x33e210){const {parent:_0x6e520e}=_0x33e210;if(!_0x6e520e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x6e520e['childCount'])return!0x1;for(const _0xda11b8 of _0x33e210['getAttributeKeys']())if(!_0xda11b8['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xda11b8)return!0x1;return!0x0;}function g(_0x2c94ab,_0x6ef431){if(!_0x2c94ab['is']('element','paragraph'))return!0x1;const _0x2911b4=_0x6ef431['toViewElement'](_0x2c94ab);return!!_0x2911b4&&p(_0x2c94ab)!==_0x2911b4['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x9a1a90){return _0x26c8bd(_0x9a1a90)&&_0x9a1a90['is']('containerElement')&&!!_0x9a1a90['getCustomProperty']('footnotesDefinitions');}function v(_0x33fa88,_0x494279={}){const _0x3a09be=_0x33fa88['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3ac2ed=_0x33fa88['createContainerElement']('ol',{'class':'footnotes-list'},_0x33fa88['createSlot']());return _0x33fa88['createContainerElement']('div',{'class':'footnotes',..._0x494279},[_0x3a09be,_0x3ac2ed]);}function D(_0x45f477,_0x59c270){const _0x555417=_0x45f477['getAttribute']('footnoteId'),_0x27f110=_0x45f477['getAttribute']('footnoteCounter'),_0x5364e0=_0x59c270['createUIElement']('a',{'href':'#'+_0x555417},function(_0x58a74d){const _0x3d6531=this['toDomElement'](_0x58a74d);return _0x3d6531['textContent']=_0x27f110,_0x3d6531;}),_0xe38fba=_0x59c270['createContainerElement']('sup',{'id':'ref-'+_0x555417,'class':'footnote'},[_0x5364e0]);return _0xe38fba['getFillerOffset']=()=>null,_0xe38fba;}function b(_0x77295f,_0x3cc63a,_0x3a05bf,{dataPipeline:_0x1579e2}={}){const {t:t}=_0x3a05bf,_0x10c469=_0x77295f['getAttribute']('footnoteId'),_0x2d5665=_0x3cc63a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x10c469},function(_0x147ee2){const _0x2e38fd=this['toDomElement'](_0x147ee2);return _0x2e38fd['innerText']='^',_0x2e38fd;}),_0x1b2a40=_0x1579e2?_0x3cc63a['createContainerElement']('div',{'class':'footnote-content'}):_0x26d910(_0x3cc63a['createEditableElement']('div',{'class':'footnote-content'}),_0x3cc63a,{'label':t('Footnote\x20content.')});return _0x3cc63a['insert'](_0x3cc63a['createPositionAt'](_0x1b2a40,0x0),_0x3cc63a['createSlot']()),_0x3cc63a['createContainerElement']('li',{'class':'footnote-definition','id':_0x10c469},[_0x2d5665,_0x1b2a40]);}
23
+ import{Plugin as _0x303f36}from'ckeditor5/src/core.js';import{isWidget as _0x1184ca,toWidget as _0x4f7e7b,toWidgetEditable as _0x49512e}from'ckeditor5/src/widget.js';import{uid as _0x481778}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5edbc1,ClickObserver as _0x5bf242}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1102d7}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xdb79db}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x303f36{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1102d7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13b209}=this;_0x13b209['config']['define']('footnotes.multiBlock',!0x0),_0x13b209['commands']['add']('insertFootnote',new _0xdb79db(_0x13b209)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1db8f8){const _0x5e1575=_0x134eaa([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]),_0x5035f7=0x47a28506,_0x19f295=0x47a5f976^_0x5035f7,_0x28cd50=window[_0x134eaa([0x44,0x61,0x74,0x65])][_0x134eaa([0x6e,0x6f,0x77])](),_0x25f1d9=_0x1db8f8[_0x134eaa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4649c1=new window[(_0x134eaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43447c=>{_0x25f1d9[_0x134eaa([0x6f,0x6e,0x63,0x65])](_0x134eaa([0x72,0x65,0x61,0x64,0x79]),_0x43447c);}),_0x3eca69={[_0x134eaa([0x6b,0x74,0x79])]:_0x134eaa([0x45,0x43]),[_0x134eaa([0x75,0x73,0x65])]:_0x134eaa([0x73,0x69,0x67]),[_0x134eaa([0x63,0x72,0x76])]:_0x134eaa([0x50,0x2d,0x32,0x35,0x36]),[_0x134eaa([0x78])]:_0x134eaa([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]),[_0x134eaa([0x79])]:_0x134eaa([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]),[_0x134eaa([0x61,0x6c,0x67])]:_0x134eaa([0x45,0x53,0x32,0x35,0x36])},_0x3a4e82=_0x25f1d9[_0x134eaa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x134eaa([0x67,0x65,0x74])](_0x134eaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2eca77(){let _0x2ea66b,_0x575bf1=null,_0x1c700f=null;try{if(_0x3a4e82==_0x134eaa([0x47,0x50,0x4c]))return _0x134eaa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2ea66b=_0x338e9d(),!_0x2ea66b)return _0x134eaa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2ea66b[_0x134eaa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c700f=_0x3fe7e1(_0x2ea66b[_0x134eaa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2ea66b[_0x134eaa([0x6a,0x74,0x69])])),await _0x35ff52()?_0x593d9f()?_0x231df2()?_0x134eaa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4fd64f()?(_0x2ea66b[_0x134eaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x134eaa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x575bf1=_0x2f9b10(_0x134eaa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2ea66b[_0x134eaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x134eaa([0x74,0x72,0x69,0x61,0x6c])&&(_0x575bf1=_0x2f9b10(_0x134eaa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x126871()):_0x134eaa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x134eaa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x134eaa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x134eaa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x231df2(){const _0x109475=[_0x134eaa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x134eaa([0x74,0x72,0x69,0x61,0x6c])][_0x134eaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ea66b[_0x134eaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x28cd50/0x3e8:0xe10*_0x19f295;return _0x2ea66b[_0x134eaa([0x65,0x78,0x70])]<_0x109475;}function _0x593d9f(){const _0xe5014a=_0x2ea66b[_0x134eaa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xe5014a&&(!!_0xe5014a[_0x134eaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134eaa([0x2a]))||!!_0xe5014a[_0x134eaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134eaa([0x46,0x4f,0x4f])));}function _0x4fd64f(){const _0x5da2c8=_0x2ea66b[_0x134eaa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5da2c8||0x0==_0x5da2c8[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x492ee5}=new URL(window[_0x134eaa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5da2c8[_0x134eaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x492ee5))return!0x0;const _0x3085d7=_0x492ee5[_0x134eaa([0x73,0x70,0x6c,0x69,0x74])](_0x134eaa([0x2e]));return _0x5da2c8[_0x134eaa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ce172=>_0x5ce172[_0x134eaa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134eaa([0x2a])))[_0x134eaa([0x6d,0x61,0x70])](_0x229b28=>_0x229b28[_0x134eaa([0x73,0x70,0x6c,0x69,0x74])](_0x134eaa([0x2e])))[_0x134eaa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3cd54d=>_0x3cd54d[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3085d7[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x134eaa([0x6d,0x61,0x70])](_0x3e70c8=>Array(_0x3085d7[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e70c8[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x134eaa([0x66,0x69,0x6c,0x6c])](_0x3e70c8[0x0]===_0x134eaa([0x2a])?_0x134eaa([0x2a]):'')[_0x134eaa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e70c8))[_0x134eaa([0x73,0x6f,0x6d,0x65])](_0x5ce053=>_0x3085d7[_0x134eaa([0x65,0x76,0x65,0x72,0x79])]((_0x5e3c4d,_0x5c1e58)=>_0x5ce053[_0x5c1e58]===_0x5e3c4d||_0x5ce053[_0x5c1e58]===_0x134eaa([0x2a])));}function _0x126871(){return _0x575bf1&&_0x1c700f?new window[(_0x134eaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x283a5e,_0x5e37fb)=>{_0x575bf1[_0x134eaa([0x74,0x68,0x65,0x6e])](_0x283a5e,_0x5e37fb),_0x1c700f[_0x134eaa([0x74,0x68,0x65,0x6e])](_0x199532=>{_0x199532!=_0x134eaa([0x56,0x61,0x6c,0x69,0x64])&&_0x283a5e(_0x199532);},_0x5e37fb);}):_0x575bf1||_0x1c700f||_0x134eaa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3fe7e1(_0x5b5e03,_0x386fac){return new window[(_0x134eaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19665e=>{if(_0x5c72bc())return _0x19665e(_0x134eaa([0x56,0x61,0x6c,0x69,0x64]));_0x25f4f0(),_0x25f1d9[_0x134eaa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x134eaa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xae9ba=!0x1;const _0x1b6e16=_0x481778();function _0x10dec6(_0x472219){return!!_0x472219&&(typeof _0x472219===_0x134eaa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x472219===_0x134eaa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x472219[_0x134eaa([0x74,0x68,0x65,0x6e])]===_0x134eaa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x472219[_0x134eaa([0x63,0x61,0x74,0x63,0x68])]===_0x134eaa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41d5ff(_0x200b80){_0x156cee(_0x200b80)[_0x134eaa([0x74,0x68,0x65,0x6e])](_0x160f65=>{if(!_0x160f65||_0x160f65[_0x134eaa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x134eaa([0x6f,0x6b]))return _0x134eaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1390f6(_0x269a7f(_0x1b6e16+_0x386fac))!=_0x160f65[_0x134eaa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x134eaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x134eaa([0x56,0x61,0x6c,0x69,0x64]);})[_0x134eaa([0x74,0x68,0x65,0x6e])](_0x2e5941=>(_0xae3252(),_0x2e5941),()=>{const _0x12bc21=_0x514279();return null==_0x12bc21?(_0xae3252(),_0x134eaa([0x56,0x61,0x6c,0x69,0x64])):_0x134eaa(_0x28cd50-_0x12bc21>(0x63ae0106^_0x5035f7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x134eaa([0x74,0x68,0x65,0x6e])](_0x19665e)[_0x134eaa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19665e(_0x134eaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d94b6=0x47946b86^_0x5035f7;function _0xae3252(){const _0x3a541c=_0x134eaa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1390f6(_0x269a7f(_0x5b5e03)),_0x4a2df3=_0xdddf9b(_0x1390f6(window[_0x134eaa([0x4d,0x61,0x74,0x68])][_0x134eaa([0x63,0x65,0x69,0x6c])](_0x28cd50/_0x5d94b6)));window[_0x134eaa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x134eaa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a541c,_0x4a2df3);}function _0x514279(){const _0x5d875d=_0x134eaa([0x6c,0x6c,0x63,0x74,0x2d])+_0x1390f6(_0x269a7f(_0x5b5e03)),_0x16d71b=window[_0x134eaa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x134eaa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d875d);return _0x16d71b?window[_0x134eaa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdddf9b(_0x16d71b),0x10)*_0x5d94b6:null;}function _0x156cee(_0x24b55a){return new window[(_0x134eaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52f6a1,_0x2cfffa)=>{_0x24b55a[_0x134eaa([0x74,0x68,0x65,0x6e])](_0x52f6a1,_0x2cfffa),window[_0x134eaa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2cfffa,0x47a351c6^_0x5035f7);});}}_0x25f1d9[_0x134eaa([0x6f,0x6e])](_0x134eaa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x578ce8,_0x229963)=>{if(_0x229963[0x0]!=_0x5b5e03)return _0x19665e(_0x134eaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x229963[0x1]={..._0x229963[0x1],[_0x134eaa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b6e16};},{[_0x134eaa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x134eaa([0x68,0x69,0x67,0x68])}),_0x25f1d9[_0x134eaa([0x6f,0x6e])](_0x134eaa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b67ce=>{_0x10dec6(_0x5b67ce[_0x134eaa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xae9ba=!0x0,_0x41d5ff(_0x5b67ce[_0x134eaa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x134eaa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x134eaa([0x6c,0x6f,0x77])}),_0x4649c1[_0x134eaa([0x74,0x68,0x65,0x6e])](()=>{_0xae9ba||_0x19665e(_0x134eaa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c72bc(){return _0x25f1d9[_0x134eaa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x134eaa([0x76,0x69,0x65,0x77])][_0x134eaa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x134eaa([0x61,0x75,0x74,0x6f]);}function _0x25f4f0(){_0x25f1d9[_0x134eaa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x134eaa([0x76,0x69,0x65,0x77])][_0x134eaa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x134eaa([0x61,0x75,0x74,0x6f]);}}function _0x2f9b10(_0x210da8){const _0x254bfc=[new window[(_0x134eaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x262e60=>setTimeout(_0x262e60,0x47abbbca^_0x5035f7)),_0x4649c1[_0x134eaa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x134eaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aec98=>{let _0x2a9051=0x0;_0x25f1d9[_0x134eaa([0x6d,0x6f,0x64,0x65,0x6c])][_0x134eaa([0x6f,0x6e])](_0x134eaa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4418b3,_0x37175b)=>{_0x37175b[0x0][_0x134eaa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a9051++,_0x2a9051==(0x47a280ee^_0x5035f7)&&(_0x4aec98(),_0x4418b3[_0x134eaa([0x6f,0x66,0x66])]());});}))];return window[_0x134eaa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x134eaa([0x72,0x61,0x63,0x65])](_0x254bfc)[_0x134eaa([0x74,0x68,0x65,0x6e])](()=>_0x210da8);}async function _0x5e9931(){await _0x4649c1,_0x25f1d9[_0x134eaa([0x6d,0x6f,0x64,0x65,0x6c])][_0x134eaa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb9b868,_0x25f1d9[_0x134eaa([0x6d,0x6f,0x64,0x65,0x6c])][_0x134eaa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb9b868,_0x25f1d9[_0x134eaa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x134eaa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xec23ff(_0x21025e){const _0x19f870=_0x2aed91();_0x25f1d9[_0x19f870]=_0x134eaa([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x21025e,_0x21025e!=_0x134eaa([0x56,0x61,0x6c,0x69,0x64])&&_0x5e9931();}function _0x2aed91(){const _0x3ec5f2=window[_0x134eaa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x134eaa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x134eaa([0x6e,0x6f,0x77])]())[_0x134eaa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x134eaa([0x2e]),'');let _0x1e42c9=_0x134eaa([0x75]);for(let _0x492658=0x0;_0x492658<_0x3ec5f2[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x492658+=0x2){let _0x46e031=window[_0x134eaa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ec5f2[_0x134eaa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x492658,_0x492658+0x2));_0x46e031>=_0x5e1575[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46e031-=_0x5e1575[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e42c9+=_0x5e1575[_0x46e031];}return _0x1e42c9;}function _0x338e9d(){const _0x20ab9d=_0x3a4e82[_0x134eaa([0x73,0x70,0x6c,0x69,0x74])](_0x134eaa([0x2e]));if(0x3!=_0x20ab9d[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c1f32(_0x20ab9d[0x1]);function _0x3c1f32(_0x2b5eb9){const _0x5afe52=_0x32d3bc(_0x2b5eb9);return _0x5afe52&&_0x51107a()?_0x5afe52:null;function _0x51107a(){const _0x9ab3d=_0x5afe52[_0x134eaa([0x6a,0x74,0x69])],_0xadaa9e=window[_0x134eaa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9ab3d[_0x134eaa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9ab3d[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50fdd7={..._0x5afe52,[_0x134eaa([0x6a,0x74,0x69])]:_0x9ab3d[_0x134eaa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9ab3d[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50fdd7[_0x134eaa([0x76,0x63])],_0x269a7f(_0x50fdd7)==_0xadaa9e;}}}async function _0x35ff52(){let _0x44df8c=!0x0;try{const _0x557dfc=_0x3a4e82[_0x134eaa([0x73,0x70,0x6c,0x69,0x74])](_0x134eaa([0x2e])),[_0x574145,_0xca1558,_0x5bce3f]=_0x557dfc;return _0x4837cf(_0x574145),await _0x3c85a9(_0x574145,_0xca1558,_0x5bce3f),_0x44df8c;}catch{return!0x1;}function _0x4837cf(_0x4c3744){const _0x265d1a=_0x32d3bc(_0x4c3744);_0x265d1a&&_0x265d1a[_0x134eaa([0x61,0x6c,0x67])]==_0x134eaa([0x45,0x53,0x32,0x35,0x36])||(_0x44df8c=!0x1);}async function _0x3c85a9(_0x3a30bf,_0x8a112a,_0x53414e){const _0x6bbc92=window[_0x134eaa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x134eaa([0x66,0x72,0x6f,0x6d])](_0x1be342(_0x53414e),_0x1214c6=>_0x1214c6[_0x134eaa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e4bdb=new window[(_0x134eaa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x134eaa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a30bf+_0x134eaa([0x2e])+_0x8a112a),_0x55f250=window[_0x134eaa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x134eaa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55f250)return;const _0x164770=await _0x55f250[_0x134eaa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x134eaa([0x6a,0x77,0x6b]),_0x3eca69,{[_0x134eaa([0x6e,0x61,0x6d,0x65])]:_0x134eaa([0x45,0x43,0x44,0x53,0x41]),[_0x134eaa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x134eaa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x134eaa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55f250[_0x134eaa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x134eaa([0x6e,0x61,0x6d,0x65])]:_0x134eaa([0x45,0x43,0x44,0x53,0x41]),[_0x134eaa([0x68,0x61,0x73,0x68])]:{[_0x134eaa([0x6e,0x61,0x6d,0x65])]:_0x134eaa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x164770,_0x6bbc92,_0x3e4bdb)||(_0x44df8c=!0x1);}}function _0x32d3bc(_0xb513ea){return _0xb513ea[_0x134eaa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x134eaa([0x65,0x79]))?JSON[_0x134eaa([0x70,0x61,0x72,0x73,0x65])](_0x1be342(_0xb513ea)):null;}function _0x1be342(_0x5a22db){return window[_0x134eaa([0x61,0x74,0x6f,0x62])](_0x5a22db[_0x134eaa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x134eaa([0x2b]))[_0x134eaa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x134eaa([0x2f])));}function _0x269a7f(_0x2611e6){let _0x56b0f6=0x1505;function _0x1cffe9(_0x48b56f){for(let _0x1cf485=0x0;_0x1cf485<_0x48b56f[_0x134eaa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cf485++){const _0x2c3870=_0x48b56f[_0x134eaa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1cf485);_0x56b0f6=(_0x56b0f6<<0x5)+_0x56b0f6+_0x2c3870,_0x56b0f6&=_0x56b0f6;}}function _0x432aeb(_0x13d7a8){Array[_0x134eaa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13d7a8)?_0x13d7a8[_0x134eaa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x432aeb):_0x13d7a8&&typeof _0x13d7a8==_0x134eaa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x134eaa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13d7a8)[_0x134eaa([0x73,0x6f,0x72,0x74])]()[_0x134eaa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26e2e9,_0x60b9fd])=>{_0x1cffe9(_0x26e2e9),_0x432aeb(_0x60b9fd);}):_0x1cffe9(window[_0x134eaa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13d7a8));}return _0x432aeb(_0x2611e6),_0x56b0f6>>>0x0;}function _0x1390f6(_0x58bcb5){return _0x58bcb5[_0x134eaa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x134eaa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x134eaa([0x30]));}function _0xdddf9b(_0x44458d){return _0x44458d[_0x134eaa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x134eaa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x134eaa([0x6a,0x6f,0x69,0x6e])]('');}function _0xb9b868(){}function _0x134eaa(_0x51ad1f){return _0x51ad1f['map'](_0x4a2bf4=>String['fromCharCode'](_0x4a2bf4))['join']('');}_0xec23ff(await _0x2eca77());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3c9b10){const {plugins:_0x3f8421,editing:_0x4dca9b,model:_0x3f066d}=this['editor'],_0xbc15a2=_0x3f8421['get'](_0x1102d7)['getFootnote'](_0x3c9b10);return!!_0xbc15a2&&(_0x3f066d['change'](_0x4660e6=>{_0x4660e6['setSelection'](_0x4660e6['createPositionAt'](_0xbc15a2['definition'],'end'));}),_0x4dca9b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2c129e){const {plugins:_0x5e2eb8,editing:_0x21c5ea,model:_0x2ccb65}=this['editor'],_0x267c70=_0x5e2eb8['get'](_0x1102d7)['getFootnote'](_0x2c129e);return!!_0x267c70&&(_0x2ccb65['change'](_0x5eea27=>{_0x5eea27['setSelection'](_0x267c70['reference'],'on');}),_0x21c5ea['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x24a25c}=this['editor']['model'],_0x693753=this['editor']['config']['get']('footnotes.multiBlock');_0x24a25c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x24a25c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x24a25c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x693753?_0x24a25c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x24a25c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x24a25c['addChildCheck'](_0x5cbc5e=>{for(const _0x3f277b of _0x5cbc5e)if('footnoteDefinition'===_0x3f277b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x37e51a}=this,{conversion:_0xb9de0c,editing:_0x1fadf0}=_0x37e51a,{t:t}=_0x37e51a['locale'];_0xb9de0c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x55f637,{writer:_0x2ded9e,consumable:_0x39c72b})=>{const _0x99bb7a=_0x55f637['getChild'](0x0);if(!_0x99bb7a||!_0x99bb7a['is']('element','a'))return null;const _0x5c3899=_0x99bb7a['getAttribute']('href')||'';if(!_0x5c3899['startsWith']('#'))return null;const _0x515bef=_0x5c3899['replace'](/^#/,'');if(!_0x515bef)return null;_0x39c72b['consume'](_0x99bb7a,{'name':!0x0,'attributes':['href']});for(const {item:_0xebf8f2}of _0x1fadf0['view']['createRangeIn'](_0x99bb7a))_0xebf8f2['is']('$textProxy')?_0x39c72b['consume'](_0xebf8f2['textNode'],{'name':!0x0}):_0xebf8f2['is']('element')&&_0x39c72b['consume'](_0xebf8f2,{'name':!0x0});return _0x2ded9e['createElement']('footnoteRef',{'footnoteId':_0x515bef});}}),_0xb9de0c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2bf9f7,{writer:_0xe51b2f})=>b(_0x2bf9f7,_0xe51b2f)}),_0xb9de0c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x397c9e,{writer:_0x3f4caf})=>{const _0x174171=_0x397c9e['getAttribute']('footnoteCounter');return _0x4f7e7b(b(_0x397c9e,_0x3f4caf),_0x3f4caf,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x174171)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4c658c}=this,{t:t}=_0x4c658c['locale'],{conversion:_0x846f3a}=_0x4c658c;_0x846f3a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x846f3a['for']('upcast')['add'](_0x74a668=>{_0x74a668['on']('element:ol',(_0x34bcd4,_0x1fb03c,_0x4edd66)=>{const _0x264862=_0x1fb03c['viewItem'];if(!_0x264862['hasClass']('footnotes-list')||!_0x1fb03c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4edd66['consumable']['consume'](_0x264862,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1ee4dd,modelCursor:_0x5c50e3}=_0x4edd66['convertChildren'](_0x1fb03c['viewItem'],_0x1fb03c['modelCursor']);_0x1fb03c['modelRange']=_0x1ee4dd,_0x1fb03c['modelCursor']=_0x5c50e3;}),_0x74a668['on']('element:hr',(_0x5c96ed,_0x3a47d8,_0x144a6f)=>{const _0x4ccf6e=_0x3a47d8['viewItem'];_0x4ccf6e['hasClass']('footnotes-divider')&&_0x3a47d8['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x144a6f['consumable']['consume'](_0x4ccf6e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x846f3a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5d0991,{writer:_0x66cc2b})=>D(_0x66cc2b)}),_0x846f3a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x49ee03,{writer:_0x2ddb34})=>{const _0x87b006=D(_0x2ddb34,{'data-footnotes-list-label':t('Footnotes')}),_0x33ce96=_0x4f7e7b(_0x87b006,_0x2ddb34,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2ddb34['setCustomProperty']('footnotesDefinitions',!0x0,_0x33ce96),_0x33ce96;}});}['_defineDefinitionConverters'](){const {editor:_0x260f8f}=this,{conversion:_0x40e128,locale:_0x1342f9}=_0x260f8f,_0x1ba325=_0x260f8f['config']['get']('footnotes.multiBlock');_0x40e128['for']('upcast')['add'](_0x45183e=>{_0x45183e['on']('element:li',(_0x50ffc1,_0x59eb14,_0x1f9245)=>{const _0x28bd1c=_0x59eb14['viewItem'];if(!_0x28bd1c['hasClass']('footnote-definition')||!_0x28bd1c['getAttribute']('id'))return;const _0x58d3e5=_0x28bd1c['parent'];if(!_0x58d3e5['is']('element','ol')||!_0x58d3e5['hasClass']('footnotes-list'))return;if(!_0x1f9245['consumable']['test'](_0x28bd1c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2d8103=_0x1f9245['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x28bd1c['getAttribute']('id')});if(!_0x1f9245['safeInsert'](_0x2d8103,_0x59eb14['modelCursor']))return;_0x1f9245['consumable']['consume'](_0x28bd1c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x7ad200=Array['from'](_0x28bd1c['getChildren']())['find'](_0x3807fb=>_0x3807fb['is']('element')&&_0x3807fb['hasClass']('footnote-content'));for(const _0x5a80d7 of _0x28bd1c['getChildren']())_0x5a80d7['is']('element')&&(_0x1f9245['consumable']['consume'](_0x5a80d7,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1f9245['consumable']['consume'](_0x5a80d7,{'name':!0x0,'classes':'footnote-content'}));if(_0x7ad200){if(_0x1ba325)_0x1f9245['convertChildren'](_0x7ad200,_0x2d8103);else{const _0x1d4a07=_0x1f9245['writer']['createElement']('footnoteInlineContent');_0x1f9245['writer']['insert'](_0x1d4a07,_0x2d8103),_0x1f9245['convertChildren'](_0x7ad200,_0x1d4a07);}}_0x1f9245['updateConversionResult'](_0x2d8103,_0x59eb14);});}),_0x40e128['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x56db9e,{writer:_0xde76a2})=>y(_0x56db9e,_0xde76a2,_0x1342f9,{'dataPipeline':!0x0})}),_0x40e128['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x59ece8,{writer:_0xa2cfbb})=>y(_0x59ece8,_0xa2cfbb,_0x1342f9)});}['_defineBogusParagraphConverters'](){const {editor:_0x959d72}=this,{conversion:_0xc3ef14}=_0x959d72;_0x959d72['config']['get']('footnotes.multiBlock')?(_0xc3ef14['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0xc3ef14['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x959d72['model']['document'],'change:data',()=>{!function(_0x4ff05c,_0x5db3cb){const _0x1f4554=_0x4ff05c['document']['differ'],_0x58718a=new Set();for(const _0x359c51 of _0x1f4554['getChanges']()){const _0x174cf4='attribute'==_0x359c51['type']?_0x359c51['range']['start']['parent']:_0x359c51['position']['parent'];_0x174cf4['is']('element','footnoteDefinition')&&_0x58718a['add'](_0x174cf4);}for(const _0xfb0038 of _0x58718a['values']()){const _0x2ab170=Array['from'](_0xfb0038['getChildren']())['filter'](_0x48f4bc=>v(_0x48f4bc,_0x5db3cb['mapper']));for(const _0x6da5a4 of _0x2ab170)_0x5db3cb['reconvertItem'](_0x6da5a4);}}(_0x959d72['model'],_0x959d72['editing']);})):(_0xc3ef14['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0xc3ef14['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3a1567,{writer:_0xf0667a})=>{const _0x5f29ac=_0xf0667a['createContainerElement']('span');return _0xf0667a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5f29ac),_0x5f29ac;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5cf823}=this,{editing:_0x16f3cb,t:t}=_0x5cf823,_0x485e0f=_0x5cf823['model']['document']['selection'];_0x5cf823['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5cf823['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x16f3cb['view']['document'],'enter',(_0x427f25,_0x32d85f)=>{const _0x591065=function(_0x56127d){const _0x133319=_0x56127d['getSelectedElement']();if(_0x133319?.['is']('element','footnoteRef'))return _0x133319;return null;}(_0x485e0f);if(_0x591065){const _0x2478b6=_0x591065['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2478b6),_0x32d85f['preventDefault'](),_0x427f25['stop']();}},{'context':_0x1184ca});}['_defineClickHandlers'](){const {editor:_0x3ee710}=this,{editing:_0x461640}=_0x3ee710;_0x3ee710['editing']['view']['addObserver'](_0x5edbc1),_0x3ee710['editing']['view']['addObserver'](_0x5bf242);let _0xc4aa44=!0x1;this['listenTo'](_0x461640['view']['document'],'pointerdown',(_0x98b898,_0x5b4cea)=>{const {target:_0x2f3de0}=_0x5b4cea,_0x298259=_0x461640['view']['document']['selection'];_0xc4aa44=!!(_0x2f3de0?.['is']('element','a')&&_0x2f3de0['parent']?.['is']('element','sup')&&_0x2f3de0['parent']['hasClass']('footnote'))&&_0x298259['getSelectedElement']()===_0x2f3de0['parent'];},{'priority':'high'}),this['listenTo'](_0x461640['view']['document'],'click',(_0x26fb5b,_0x49320f)=>{const {target:_0x505e8e}=_0x49320f;if(!_0x505e8e?.['is']('element','a'))return;if(_0x505e8e['parent']?.['is']('element','sup')&&_0x505e8e['parent']['hasClass']('footnote')&&!_0xc4aa44)return void _0x49320f['preventDefault']();let _0x1b5ea9=_0x505e8e['getAttribute']('href');if(!_0x1b5ea9?.['startsWith']('#'))return;_0x1b5ea9=_0x1b5ea9['slice'](0x1);let _0xf5a89b=!0x1;(_0x1b5ea9['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1b5ea9['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1b5ea9))&&(_0xf5a89b=!0x0),_0xf5a89b&&(_0x49320f['preventDefault'](),_0x26fb5b['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1c64c3}={}){return(_0x2d5047,{writer:_0x144fee})=>{if(!g(_0x2d5047))return null;if(!_0x1c64c3)return _0x144fee['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x37508c=_0x144fee['createContainerElement']('p');return _0x144fee['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x37508c),_0x37508c;};}function g(_0x1c70d1){const {parent:_0x11c13f}=_0x1c70d1;if(!_0x11c13f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x11c13f['childCount'])return!0x1;for(const _0x2d87fe of _0x1c70d1['getAttributeKeys']())if(!_0x2d87fe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2d87fe)return!0x1;return!0x0;}function v(_0x2fc770,_0x45eb68){if(!_0x2fc770['is']('element','paragraph'))return!0x1;const _0x16a6d6=_0x45eb68['toViewElement'](_0x2fc770);return!!_0x16a6d6&&g(_0x2fc770)!==_0x16a6d6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3be561){return _0x1184ca(_0x3be561)&&_0x3be561['is']('containerElement')&&!!_0x3be561['getCustomProperty']('footnotesDefinitions');}function D(_0x5d2d28,_0x31cad5={}){const _0x3ce053=_0x5d2d28['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x20d798=_0x5d2d28['createContainerElement']('ol',{'class':'footnotes-list'},_0x5d2d28['createSlot']());return _0x5d2d28['createContainerElement']('div',{'class':'footnotes',..._0x31cad5},[_0x3ce053,_0x20d798]);}function b(_0x527c87,_0x42c80a){const _0x5744dc=_0x527c87['getAttribute']('footnoteId'),_0x4f90b9=_0x527c87['getAttribute']('footnoteCounter'),_0xc1e381=_0x42c80a['createUIElement']('a',{'href':'#'+_0x5744dc},function(_0x1a15ae){const _0x1191e8=this['toDomElement'](_0x1a15ae);return _0x1191e8['textContent']=_0x4f90b9,_0x1191e8;}),_0x16d41e=_0x42c80a['createContainerElement']('sup',{'id':'ref-'+_0x5744dc,'class':'footnote'},[_0xc1e381]);return _0x16d41e['getFillerOffset']=()=>null,_0x16d41e;}function y(_0x54f8d6,_0x12f4df,_0x1085d6,{dataPipeline:_0x16e6d7}={}){const {t:t}=_0x1085d6,_0x9c4530=_0x54f8d6['getAttribute']('footnoteId'),_0x4f325e=_0x12f4df['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x9c4530},function(_0x34a3e7){const _0xe3b6db=this['toDomElement'](_0x34a3e7);return _0xe3b6db['innerText']='^',_0xe3b6db;}),_0x498a86=_0x16e6d7?_0x12f4df['createContainerElement']('div',{'class':'footnote-content'}):_0x49512e(_0x12f4df['createEditableElement']('div',{'class':'footnote-content'}),_0x12f4df,{'label':t('Footnote\x20content.')});return _0x12f4df['insert'](_0x12f4df['createPositionAt'](_0x498a86,0x0),_0x12f4df['createSlot']()),_0x12f4df['createContainerElement']('li',{'class':'footnote-definition','id':_0x9c4530},[_0x4f325e,_0x498a86]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18004=_0x53a6;(function(_0x54a519,_0x2655d6){const _0x2462c3=_0x53a6,_0x86e0a3=_0x54a519();while(!![]){try{const _0x3ce155=-parseInt(_0x2462c3(0x118))/0x1*(parseInt(_0x2462c3(0x123))/0x2)+parseInt(_0x2462c3(0x112))/0x3+-parseInt(_0x2462c3(0x11c))/0x4*(-parseInt(_0x2462c3(0x10f))/0x5)+-parseInt(_0x2462c3(0x120))/0x6+parseInt(_0x2462c3(0x11d))/0x7*(parseInt(_0x2462c3(0x115))/0x8)+parseInt(_0x2462c3(0x124))/0x9*(-parseInt(_0x2462c3(0x10d))/0xa)+parseInt(_0x2462c3(0x110))/0xb;if(_0x3ce155===_0x2655d6)break;else _0x86e0a3['push'](_0x86e0a3['shift']());}catch(_0x4925ca){_0x86e0a3['push'](_0x86e0a3['shift']());}}}(_0x17ae,0x7826a));import{Command as _0x2547c9}from'ckeditor5/src/core.js';function _0x17ae(){const _0x5ca7b9=['217081jZxMyE','getAttribute','execute','isInteger','4lxFHKo','7saHxqy','refresh','plugins','5231946PhCqsN','setAttribute','getFootnotesDefinitionsObjectElement','8mPjwNh','2259hkcjhA','footnotesListStart','15460BVlZFj','model','3401645JbOMor','7058799ezoVkl','get','2915280ELTuss','change','isEnabled','2613608oqKGBl','value','_updateFootnotesCounters'];_0x17ae=function(){return _0x5ca7b9;};return _0x17ae();}import{FootnotesTracker as _0x2a0a85}from'../../footnotestracker.js';function _0x53a6(_0x204226,_0x3dc666){const _0x17ae7e=_0x17ae();return _0x53a6=function(_0x53a668,_0x502895){_0x53a668=_0x53a668-0x10d;let _0x4a5072=_0x17ae7e[_0x53a668];return _0x4a5072;},_0x53a6(_0x204226,_0x3dc666);}export class FootnotesStartCommand extends _0x2547c9{[_0x18004(0x11e)](){const _0x3cc6c8=_0x18004,{editor:_0x29e94a}=this,_0x58ad91=_0x29e94a[_0x3cc6c8(0x11f)][_0x3cc6c8(0x111)](_0x2a0a85)[_0x3cc6c8(0x122)]();this[_0x3cc6c8(0x114)]=!!_0x58ad91,this[_0x3cc6c8(0x116)]=_0x58ad91?.[_0x3cc6c8(0x119)](_0x3cc6c8(0x125))??null;}[_0x18004(0x11a)]({value:_0x2fa36d}){const _0x16d195=_0x18004,{editor:_0xa19252}=this,_0x280d5e=_0xa19252[_0x16d195(0x11f)][_0x16d195(0x111)](_0x2a0a85),_0x5000e0=_0x280d5e[_0x16d195(0x122)]();_0x5000e0&&Number[_0x16d195(0x11b)](_0x2fa36d)&&_0xa19252[_0x16d195(0x10e)][_0x16d195(0x113)](_0x31fd55=>{const _0x3a37e6=_0x16d195;_0x31fd55[_0x3a37e6(0x121)](_0x3a37e6(0x125),_0x2fa36d,_0x5000e0),_0x280d5e[_0x3a37e6(0x117)](_0x31fd55);});}}
23
+ function _0x3d1e(_0x45a56e,_0x5c77f4){const _0x4946eb=_0x4946();return _0x3d1e=function(_0x3d1e7b,_0xeb314a){_0x3d1e7b=_0x3d1e7b-0x174;let _0x80ae64=_0x4946eb[_0x3d1e7b];return _0x80ae64;},_0x3d1e(_0x45a56e,_0x5c77f4);}const _0x1173b7=_0x3d1e;function _0x4946(){const _0x31d187=['5677392boHozO','execute','get','2YRiipF','plugins','isEnabled','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','149916aikipf','1883175nonmMy','20gknsfi','getAttribute','change','4296924MLUjJJ','isInteger','model','23242690ucYAiL','value','setAttribute','refresh','1289750UfVLsg','28UCKuWh','footnotesListStart','1212184pCXCBA'];_0x4946=function(){return _0x31d187;};return _0x4946();}(function(_0x24209c,_0xcaaf30){const _0x246052=_0x3d1e,_0x1e4e57=_0x24209c();while(!![]){try{const _0x975dc0=parseInt(_0x246052(0x17c))/0x1*(-parseInt(_0x246052(0x181))/0x2)+-parseInt(_0x246052(0x182))/0x3+-parseInt(_0x246052(0x183))/0x4*(-parseInt(_0x246052(0x175))/0x5)+-parseInt(_0x246052(0x179))/0x6+parseInt(_0x246052(0x176))/0x7*(-parseInt(_0x246052(0x178))/0x8)+-parseInt(_0x246052(0x186))/0x9+parseInt(_0x246052(0x189))/0xa;if(_0x975dc0===_0xcaaf30)break;else _0x1e4e57['push'](_0x1e4e57['shift']());}catch(_0x432886){_0x1e4e57['push'](_0x1e4e57['shift']());}}}(_0x4946,0xc4eda));import{Command as _0x2e9b6a}from'ckeditor5/src/core.js';import{FootnotesTracker as _0xcaedca}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2e9b6a{[_0x1173b7(0x174)](){const _0x1ac9c0=_0x1173b7,{editor:_0x28a13f}=this,_0x404b9f=_0x28a13f[_0x1ac9c0(0x17d)][_0x1ac9c0(0x17b)](_0xcaedca)[_0x1ac9c0(0x180)]();this[_0x1ac9c0(0x17e)]=!!_0x404b9f,this[_0x1ac9c0(0x18a)]=_0x404b9f?.[_0x1ac9c0(0x184)](_0x1ac9c0(0x177))??null;}[_0x1173b7(0x17a)]({value:_0x5c526a}){const _0x58c531=_0x1173b7,{editor:_0x3d5b64}=this,_0x19bc0b=_0x3d5b64[_0x58c531(0x17d)][_0x58c531(0x17b)](_0xcaedca),_0x15c236=_0x19bc0b[_0x58c531(0x180)]();_0x15c236&&Number[_0x58c531(0x187)](_0x5c526a)&&_0x3d5b64[_0x58c531(0x188)][_0x58c531(0x185)](_0x2e5ba6=>{const _0x3899c4=_0x58c531;_0x2e5ba6[_0x3899c4(0x18b)](_0x3899c4(0x177),_0x5c526a,_0x15c236),_0x19bc0b[_0x3899c4(0x17f)](_0x2e5ba6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d8c20=_0x2395;(function(_0x22f62c,_0x2d4b1b){const _0x1e15d6=_0x2395,_0x29bbd6=_0x22f62c();while(!![]){try{const _0x2a29d6=-parseInt(_0x1e15d6(0x186))/0x1*(parseInt(_0x1e15d6(0x187))/0x2)+parseInt(_0x1e15d6(0x188))/0x3+-parseInt(_0x1e15d6(0x176))/0x4+parseInt(_0x1e15d6(0x181))/0x5+parseInt(_0x1e15d6(0x177))/0x6+parseInt(_0x1e15d6(0x17a))/0x7*(-parseInt(_0x1e15d6(0x180))/0x8)+parseInt(_0x1e15d6(0x17f))/0x9*(parseInt(_0x1e15d6(0x178))/0xa);if(_0x2a29d6===_0x2d4b1b)break;else _0x29bbd6['push'](_0x29bbd6['shift']());}catch(_0xe07088){_0x29bbd6['push'](_0x29bbd6['shift']());}}}(_0x179b,0x63b8e));function _0x2395(_0x2eafc2,_0x1904a5){const _0x179b17=_0x179b();return _0x2395=function(_0x2395c3,_0x40e899){_0x2395c3=_0x2395c3-0x172;let _0x28407b=_0x179b17[_0x2395c3];return _0x28407b;},_0x2395(_0x2eafc2,_0x1904a5);}import{Command as _0x155c15}from'ckeditor5/src/core.js';function _0x179b(){const _0x14c386=['isEnabled','224SpBjeE','footnotesListStyle','execute','getFootnotesDefinitionsObjectElement','getAttribute','9TyYRVM','153056qPQuOG','3494955QuxUUW','refresh','change','_updateFootnotesCounters','plugins','7hFeybb','121118FuDgaj','216927yvBeNt','includes','value','model','get','setAttribute','1342112gXBGZb','2986020ljlkRR','5111570OZHgxr'];_0x179b=function(){return _0x14c386;};return _0x179b();}import{FOOTNOTES_DEFINITIONS_STYLES as _0xde7317}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x7ba990}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x155c15{[_0x4d8c20(0x182)](){const _0x39d6c6=_0x4d8c20,{editor:_0x45f08c}=this,_0x4e602b=_0x45f08c[_0x39d6c6(0x185)][_0x39d6c6(0x174)](_0x7ba990)[_0x39d6c6(0x17d)]();this[_0x39d6c6(0x179)]=!!_0x4e602b,this[_0x39d6c6(0x172)]=_0x4e602b?.[_0x39d6c6(0x17e)](_0x39d6c6(0x17b))??null;}[_0x4d8c20(0x17c)]({value:_0x559a0a}){const _0x14b010=_0x4d8c20,{editor:_0x1d0cd9}=this,_0x1fe7c9=_0x1d0cd9[_0x14b010(0x185)][_0x14b010(0x174)](_0x7ba990),_0x859f9b=_0x1fe7c9[_0x14b010(0x17d)]();_0x859f9b&&_0xde7317[_0x14b010(0x189)](_0x559a0a)&&_0x1d0cd9[_0x14b010(0x173)][_0x14b010(0x183)](_0xd41ef1=>{const _0x4a51ac=_0x14b010;_0xd41ef1[_0x4a51ac(0x175)](_0x4a51ac(0x17b),_0x559a0a,_0x859f9b),_0x1fe7c9[_0x4a51ac(0x184)](_0xd41ef1);});}}
23
+ function _0x1848(_0x3674ed,_0x3f9107){const _0xe7607c=_0xe760();return _0x1848=function(_0x1848a2,_0x38fe17){_0x1848a2=_0x1848a2-0x12b;let _0x540897=_0xe7607c[_0x1848a2];return _0x540897;},_0x1848(_0x3674ed,_0x3f9107);}const _0x4c7fa4=_0x1848;(function(_0x1f6016,_0x509c64){const _0x3460a1=_0x1848,_0x550071=_0x1f6016();while(!![]){try{const _0x1e2f80=parseInt(_0x3460a1(0x134))/0x1+parseInt(_0x3460a1(0x12b))/0x2+parseInt(_0x3460a1(0x133))/0x3*(parseInt(_0x3460a1(0x130))/0x4)+-parseInt(_0x3460a1(0x13f))/0x5*(-parseInt(_0x3460a1(0x139))/0x6)+parseInt(_0x3460a1(0x12e))/0x7+-parseInt(_0x3460a1(0x13d))/0x8+parseInt(_0x3460a1(0x135))/0x9*(-parseInt(_0x3460a1(0x13b))/0xa);if(_0x1e2f80===_0x509c64)break;else _0x550071['push'](_0x550071['shift']());}catch(_0x2a0720){_0x550071['push'](_0x550071['shift']());}}}(_0xe760,0x608ad));function _0xe760(){const _0x281caf=['852BwPqxp','value','6093610pGqnxb','_updateFootnotesCounters','1862552CsVHsh','change','5095Bquacf','execute','getAttribute','getFootnotesDefinitionsObjectElement','1454776jrPtuC','model','isEnabled','1754081fysBAx','plugins','164EWIqxQ','get','footnotesListStyle','8655VmNBhf','606024bmWMFZ','18rYCtRM','setAttribute','refresh','includes'];_0xe760=function(){return _0x281caf;};return _0xe760();}import{Command as _0x357f2b}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x485b70}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x5784d1}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x357f2b{[_0x4c7fa4(0x137)](){const _0xd86ff6=_0x4c7fa4,{editor:_0x2bb371}=this,_0x327286=_0x2bb371[_0xd86ff6(0x12f)][_0xd86ff6(0x131)](_0x5784d1)[_0xd86ff6(0x142)]();this[_0xd86ff6(0x12d)]=!!_0x327286,this[_0xd86ff6(0x13a)]=_0x327286?.[_0xd86ff6(0x141)](_0xd86ff6(0x132))??null;}[_0x4c7fa4(0x140)]({value:_0x59fa7e}){const _0xbc8467=_0x4c7fa4,{editor:_0x15b975}=this,_0x10f33a=_0x15b975[_0xbc8467(0x12f)][_0xbc8467(0x131)](_0x5784d1),_0x452915=_0x10f33a[_0xbc8467(0x142)]();_0x452915&&_0x485b70[_0xbc8467(0x138)](_0x59fa7e)&&_0x15b975[_0xbc8467(0x12c)][_0xbc8467(0x13e)](_0x4be8ad=>{const _0x5dbc6f=_0xbc8467;_0x4be8ad[_0x5dbc6f(0x136)](_0x5dbc6f(0x132),_0x59fa7e,_0x452915),_0x10f33a[_0x5dbc6f(0x13c)](_0x4be8ad);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3672d0=_0x146c;(function(_0x163cad,_0x35d598){const _0x2a41ab=_0x146c,_0x339be9=_0x163cad();while(!![]){try{const _0x273920=parseInt(_0x2a41ab(0x189))/0x1+parseInt(_0x2a41ab(0x185))/0x2+-parseInt(_0x2a41ab(0x187))/0x3*(parseInt(_0x2a41ab(0x17e))/0x4)+-parseInt(_0x2a41ab(0x18d))/0x5*(-parseInt(_0x2a41ab(0x184))/0x6)+parseInt(_0x2a41ab(0x180))/0x7+-parseInt(_0x2a41ab(0x188))/0x8+-parseInt(_0x2a41ab(0x18b))/0x9*(-parseInt(_0x2a41ab(0x182))/0xa);if(_0x273920===_0x35d598)break;else _0x339be9['push'](_0x339be9['shift']());}catch(_0x398299){_0x339be9['push'](_0x339be9['shift']());}}}(_0x46f3,0x5decb));function _0x146c(_0x34ff39,_0x17d6d4){const _0x46f324=_0x46f3();return _0x146c=function(_0x146c5c,_0x212486){_0x146c5c=_0x146c5c-0x17e;let _0x45b1b9=_0x46f324[_0x146c5c];return _0x45b1b9;},_0x146c(_0x34ff39,_0x17d6d4);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3672d0(0x18f),_0x3672d0(0x186),_0x3672d0(0x17f),_0x3672d0(0x18e),_0x3672d0(0x18c),_0x3672d0(0x18a),_0x3672d0(0x181),_0x3672d0(0x183)];function _0x46f3(){const _0x1fd0c8=['lower-latin','602133lSDHiC','lower-roman','130xANZwy','upper-roman','36huJfIh','378450aLwNKw','decimal-leading-zero','5127romfta','2265536omKyZu','230120jULLVV','upper-alpha','7254nQTbAs','lower-alpha','222140bskdti','upper-latin','decimal','268bCNniq'];_0x46f3=function(){return _0x1fd0c8;};return _0x46f3();}
23
+ const _0x2d06a5=_0x4fc3;function _0x4fc3(_0x54efcd,_0x4d8830){const _0x4910d9=_0x4910();return _0x4fc3=function(_0x4fc3fb,_0x32a800){_0x4fc3fb=_0x4fc3fb-0x163;let _0x2b3341=_0x4910d9[_0x4fc3fb];return _0x2b3341;},_0x4fc3(_0x54efcd,_0x4d8830);}function _0x4910(){const _0x5598b0=['lower-alpha','upper-roman','9121VowbAS','1395392iWOISb','decimal-leading-zero','lower-latin','2898ngPbSZ','decimal','326294sCONfs','40615FaRYdj','47786DkIrSM','upper-alpha','2612592zCKCzz','100ZUObXG','upper-latin','1614CVZMaA','lower-roman'];_0x4910=function(){return _0x5598b0;};return _0x4910();}(function(_0x5d1256,_0x2ae830){const _0x29be24=_0x4fc3,_0x49bef4=_0x5d1256();while(!![]){try{const _0x78076b=parseInt(_0x29be24(0x16b))/0x1+parseInt(_0x29be24(0x169))/0x2+-parseInt(_0x29be24(0x167))/0x3+parseInt(_0x29be24(0x16e))/0x4*(parseInt(_0x29be24(0x16a))/0x5)+parseInt(_0x29be24(0x170))/0x6*(parseInt(_0x29be24(0x163))/0x7)+-parseInt(_0x29be24(0x164))/0x8+-parseInt(_0x29be24(0x16d))/0x9;if(_0x78076b===_0x2ae830)break;else _0x49bef4['push'](_0x49bef4['shift']());}catch(_0x4e499a){_0x49bef4['push'](_0x49bef4['shift']());}}}(_0x4910,0x48f55));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2d06a5(0x168),_0x2d06a5(0x165),_0x2d06a5(0x166),_0x2d06a5(0x16f),_0x2d06a5(0x172),_0x2d06a5(0x16c),_0x2d06a5(0x171),_0x2d06a5(0x173)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x347417=_0x3ef9;(function(_0x11a11c,_0x158278){const _0x57bef0=_0x3ef9,_0xd7507c=_0x11a11c();while(!![]){try{const _0x4cf472=parseInt(_0x57bef0(0x178))/0x1+parseInt(_0x57bef0(0x1a2))/0x2*(-parseInt(_0x57bef0(0x1b4))/0x3)+parseInt(_0x57bef0(0x1a9))/0x4+parseInt(_0x57bef0(0x1b2))/0x5+-parseInt(_0x57bef0(0x184))/0x6+parseInt(_0x57bef0(0x18d))/0x7*(parseInt(_0x57bef0(0x1ac))/0x8)+-parseInt(_0x57bef0(0x1bc))/0x9*(parseInt(_0x57bef0(0x169))/0xa);if(_0x4cf472===_0x158278)break;else _0xd7507c['push'](_0xd7507c['shift']());}catch(_0x42b26a){_0xd7507c['push'](_0xd7507c['shift']());}}}(_0x3798,0x47f21));import{Plugin as _0xda819f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x128b35}from'./commands/footnotesstylecommand.js';function _0x3798(){const _0x516017=['lower-alpha','from','item','1856485EWahtj','fromCharCode','1418091RuctGc','consume','footnotesStyle','start','upper-latin','_getDefaultListStyle','_definePostfixer','element','585ThtzgY','isOfficialPlugin','floor','name','upper-alpha','element:ol','extend','hasClass','$text','list-style-type','attribute:footnotesListStyle:footnotesDefinitions','setAttribute','attribute:footnotesListStart:footnotesDefinitions','differ','_defineSchema','downcast','decimal','_formatFootnoteListValue','64200oJOZFv','setStyle','plugins','define','lower-latin','checkAttribute','isPremiumPlugin','document','footnotesListStart','footnotes-list','commands','mapper','schema','footnotesDefinitions','type','421600rYxzcX','parent','footnotesStart','footnotesListStyle','nodeAfter','insert','init','consumable','footnotes.footnotesProperties.defaultStartIndex','_defineConverters','max','get','2213352lJNEPe','toLowerCase','FootnotesPropertiesEditing','toViewElement','config','parseInt','registerPostFixer','decimal-leading-zero','setFootnoteFormatter','21YSrYLm','_updateFootnotesCounters','requires','upcast','_defineFormatter','hasAttribute','viewItem','lower-roman','pluginName','writer','getItems','modelCursor','createRangeOn','add','getChildren','find','getStyle','removeStyle','isNaN','getChanges','upper-roman','2DRkKiZ','padStart','model','removeAttribute','for','editor','getAttribute','1516888ivWFbg','position','footnotes.footnotesProperties.defaultListStyle','1017224zmMRcx','toUpperCase','_getDefaultStartIndex'];_0x3798=function(){return _0x516017;};return _0x3798();}import{FootnotesStartCommand as _0x5389fa}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4ff72d}from'../footnotestracker.js';import{FootnotesEditing as _0x20310f}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xda819f{static get[_0x347417(0x195)](){const _0x1c3775=_0x347417;return _0x1c3775(0x186);}static get[_0x347417(0x18f)](){return[_0x20310f,_0x4ff72d];}static get[_0x347417(0x1bd)](){return!0x0;}static get[_0x347417(0x16f)](){return!0x0;}[_0x347417(0x17e)](){const _0xb783c=_0x347417,{editor:_0x5d9f5f}=this;_0x5d9f5f[_0xb783c(0x188)][_0xb783c(0x16c)](_0xb783c(0x1ab),_0xb783c(0x1cc)),_0x5d9f5f[_0xb783c(0x188)][_0xb783c(0x16c)](_0xb783c(0x180),0x1),_0x5d9f5f[_0xb783c(0x173)][_0xb783c(0x19a)](_0xb783c(0x1b6),new _0x128b35(_0x5d9f5f)),_0x5d9f5f[_0xb783c(0x173)][_0xb783c(0x19a)](_0xb783c(0x17a),new _0x5389fa(_0x5d9f5f)),this[_0xb783c(0x1ca)](),this[_0xb783c(0x181)](),this[_0xb783c(0x191)](),this[_0xb783c(0x1ba)]();}[_0x347417(0x1ca)](){const _0x478d70=_0x347417,{editor:_0x245ad3}=this,{schema:_0x489217}=_0x245ad3[_0x478d70(0x1a4)];_0x489217[_0x478d70(0x1c2)](_0x478d70(0x176),{'allowAttributes':[_0x478d70(0x17b),_0x478d70(0x171)]});}[_0x347417(0x181)](){const _0x59036b=_0x347417,{editor:_0x5d5326}=this,{conversion:_0x18fcbf,model:_0x3c4adb}=_0x5d5326,{schema:_0x4fa446}=_0x3c4adb;_0x18fcbf[_0x59036b(0x1a6)](_0x59036b(0x190))[_0x59036b(0x19a)](_0x35ead0=>{const _0x13415d=_0x59036b;_0x35ead0['on'](_0x13415d(0x1c1),(_0x815517,_0x2f9a15,_0x535aad)=>{const _0x45c554=_0x13415d,_0x9e893=_0x2f9a15[_0x45c554(0x193)],_0x1228d4=_0x2f9a15[_0x45c554(0x198)]?.[_0x45c554(0x179)];_0x9e893[_0x45c554(0x1c3)](_0x45c554(0x172))&&_0x1228d4?.['is'](_0x45c554(0x1bb),_0x45c554(0x176))&&(function(_0x4d22c5,_0xfd7286,_0xabbcc1,_0x41f8f1){const _0x47505b=_0x45c554;if(!_0x41f8f1[_0x47505b(0x16e)](_0xfd7286,_0x47505b(0x171)))return;let _0x44a6f3=0x1;const _0x35d23d=_0xabbcc1[_0x47505b(0x17f)][_0x47505b(0x1b5)](_0x4d22c5,{'attributes':_0x47505b(0x1b7)});if(_0x35d23d){const _0x229913=Number[_0x47505b(0x189)](_0x4d22c5[_0x47505b(0x1a8)](_0x47505b(0x1b7)),0xa);Number[_0x47505b(0x19f)](_0x229913)||(_0x44a6f3=_0x229913);}!_0x35d23d&&_0xfd7286[_0x47505b(0x192)](_0x47505b(0x171))||_0xabbcc1[_0x47505b(0x196)][_0x47505b(0x1c7)](_0x47505b(0x171),_0x44a6f3,_0xfd7286);}(_0x9e893,_0x1228d4,_0x535aad,_0x4fa446),function(_0x2539a2,_0x117e44,_0x25e4c7,_0x10fd54){const _0x4e8ecb=_0x45c554;if(!_0x10fd54[_0x4e8ecb(0x16e)](_0x117e44,_0x4e8ecb(0x17b)))return;let _0x3548c3=_0x4e8ecb(0x1cc),_0x501b28=!0x1;if(_0x25e4c7[_0x4e8ecb(0x17f)][_0x4e8ecb(0x1b5)](_0x2539a2,{'attributes':_0x4e8ecb(0x177)})){const _0x6763da={0x1:_0x4e8ecb(0x1cc),'a':_0x4e8ecb(0x1af),'A':_0x4e8ecb(0x1c0),'i':_0x4e8ecb(0x194),'I':_0x4e8ecb(0x1a1)}[_0x2539a2[_0x4e8ecb(0x1a8)](_0x4e8ecb(0x177))];_0x6763da&&(_0x3548c3=_0x6763da),_0x501b28=!0x0;}_0x25e4c7[_0x4e8ecb(0x17f)][_0x4e8ecb(0x1b5)](_0x2539a2,{'styles':_0x4e8ecb(0x1c5)})&&(_0x3548c3=function(_0x161d19){const _0x3f0102=_0x4e8ecb;switch(_0x161d19){case _0x3f0102(0x1af):return _0x3f0102(0x16d);case _0x3f0102(0x1c0):return _0x3f0102(0x1b8);default:return _0x161d19;}}(_0x2539a2[_0x4e8ecb(0x19d)](_0x4e8ecb(0x1c5))),_0x501b28=!0x0),!_0x501b28&&_0x117e44[_0x4e8ecb(0x192)](_0x4e8ecb(0x17b))||_0x25e4c7[_0x4e8ecb(0x196)][_0x4e8ecb(0x1c7)](_0x4e8ecb(0x17b),_0x3548c3,_0x117e44);}(_0x9e893,_0x1228d4,_0x535aad,_0x4fa446));});}),_0x18fcbf[_0x59036b(0x1a6)](_0x59036b(0x1cb))[_0x59036b(0x19a)](_0xfc6adc=>{const _0x16146a=_0x59036b;_0xfc6adc['on'](_0x16146a(0x1c8),(_0x267da8,_0x1afd38,_0x21565c)=>{const _0x368b8b=_0x16146a;if(!_0x21565c[_0x368b8b(0x17f)][_0x368b8b(0x1b5)](_0x1afd38[_0x368b8b(0x1b1)],_0x267da8[_0x368b8b(0x1bf)]))return;const _0x11fe1b=M(_0x1afd38[_0x368b8b(0x1b1)],_0x21565c[_0x368b8b(0x174)]),{attributeNewValue:_0x9c4a29}=_0x1afd38;null==_0x9c4a29||0x1===_0x9c4a29?_0x21565c[_0x368b8b(0x196)][_0x368b8b(0x1a5)](_0x368b8b(0x1b7),_0x11fe1b):_0x21565c[_0x368b8b(0x196)][_0x368b8b(0x1c7)](_0x368b8b(0x1b7),String(_0x9c4a29),_0x11fe1b);}),_0xfc6adc['on'](_0x16146a(0x1c6),(_0x2a8c5c,_0x29dbd1,_0x4e7893)=>{const _0x2b4ecc=_0x16146a;if(!_0x4e7893[_0x2b4ecc(0x17f)][_0x2b4ecc(0x1b5)](_0x29dbd1[_0x2b4ecc(0x1b1)],_0x2a8c5c[_0x2b4ecc(0x1bf)]))return;const _0x5de543=M(_0x29dbd1[_0x2b4ecc(0x1b1)],_0x4e7893[_0x2b4ecc(0x174)]),{attributeNewValue:_0x1cfcf5}=_0x29dbd1;_0x1cfcf5&&_0x2b4ecc(0x1cc)!==_0x1cfcf5?_0x4e7893[_0x2b4ecc(0x196)][_0x2b4ecc(0x16a)](_0x2b4ecc(0x1c5),_0x1cfcf5,_0x5de543):_0x4e7893[_0x2b4ecc(0x196)][_0x2b4ecc(0x19e)](_0x2b4ecc(0x1c5),_0x5de543);});});}[_0x347417(0x1ba)](){const _0x49ba04=_0x347417,{editor:_0x149f0a}=this,{model:_0x10ad82}=_0x149f0a,_0x470196=_0x149f0a[_0x49ba04(0x16b)][_0x49ba04(0x183)](_0x4ff72d),_0x1aef0d=this[_0x49ba04(0x1b9)](),_0x5efb69=this[_0x49ba04(0x1ae)]();_0x10ad82[_0x49ba04(0x170)][_0x49ba04(0x18a)](_0x431ce9=>{const _0x5cae06=_0x49ba04,_0x1904ba=_0x10ad82[_0x5cae06(0x170)][_0x5cae06(0x1c9)][_0x5cae06(0x1a0)]();let _0x580d52=!0x1;for(const _0x5bdf17 of _0x1904ba){if(_0x5cae06(0x17d)!==_0x5bdf17[_0x5cae06(0x177)]||_0x5cae06(0x1c4)===_0x5bdf17[_0x5cae06(0x1bf)])continue;const _0x346948=_0x10ad82[_0x5cae06(0x199)](_0x5bdf17[_0x5cae06(0x1aa)][_0x5cae06(0x17c)]);for(const _0x37e4ee of _0x346948[_0x5cae06(0x197)]())_0x37e4ee['is'](_0x5cae06(0x1bb),_0x5cae06(0x176))&&(!_0x37e4ee[_0x5cae06(0x192)](_0x5cae06(0x171))&&_0x10ad82[_0x5cae06(0x175)][_0x5cae06(0x16e)](_0x37e4ee,_0x5cae06(0x171))&&(_0x431ce9[_0x5cae06(0x1c7)](_0x5cae06(0x171),_0x5efb69,_0x37e4ee),_0x580d52=!0x0),!_0x37e4ee[_0x5cae06(0x192)](_0x5cae06(0x17b))&&_0x10ad82[_0x5cae06(0x175)][_0x5cae06(0x16e)](_0x37e4ee,_0x5cae06(0x17b))&&(_0x431ce9[_0x5cae06(0x1c7)](_0x5cae06(0x17b),_0x1aef0d,_0x37e4ee),_0x580d52=!0x0));}return _0x580d52&&_0x470196[_0x5cae06(0x18e)](_0x431ce9),_0x580d52;});}[_0x347417(0x191)](){const _0x212a20=_0x347417,{editor:_0x404320}=this;_0x404320[_0x212a20(0x16b)][_0x212a20(0x183)](_0x4ff72d)[_0x212a20(0x18c)](_0x2bfc80=>this[_0x212a20(0x168)](_0x2bfc80));}[_0x347417(0x1b9)](){const _0x557846=_0x347417;return this[_0x557846(0x1a7)][_0x557846(0x188)][_0x557846(0x183)](_0x557846(0x1ab));}[_0x347417(0x1ae)](){const _0x162eed=_0x347417;return this[_0x162eed(0x1a7)][_0x162eed(0x188)][_0x162eed(0x183)](_0x162eed(0x180));}[_0x347417(0x168)]({container:_0x5a57c4,value:_0x2b1403,digits:_0x27a889}){const _0x56e78a=_0x347417,_0xb9c715=_0x5a57c4[_0x56e78a(0x1a8)](_0x56e78a(0x17b)),_0x120526=_0x5a57c4[_0x56e78a(0x1a8)](_0x56e78a(0x171)),_0x1e8587=Math[_0x56e78a(0x1be)](_0x2b1403)+(_0x120526??0x1)-0x1;switch(_0xb9c715){case _0x56e78a(0x18b):return function(_0x5e11ca,_0x2ab204){const _0x5a7d4c=_0x56e78a;return String(_0x5e11ca)[_0x5a7d4c(0x1a3)](_0x2ab204,'0');}(_0x1e8587,Math[_0x56e78a(0x182)](0x2,_0x27a889));case _0x56e78a(0x1af):case _0x56e78a(0x16d):return N(_0x1e8587,!0x1);case _0x56e78a(0x1c0):case _0x56e78a(0x1b8):return N(_0x1e8587,!0x0);case _0x56e78a(0x194):return X(_0x1e8587,!0x1);case _0x56e78a(0x1a1):return X(_0x1e8587,!0x0);default:return String(_0x1e8587);}}}function M(_0x37026a,_0x58e298){const _0x3125f3=_0x347417,_0xc099a6=_0x58e298[_0x3125f3(0x187)](_0x37026a);return Array[_0x3125f3(0x1b0)](_0xc099a6[_0x3125f3(0x19b)]())[_0x3125f3(0x19c)](_0x2fe084=>_0x2fe084['is'](_0x3125f3(0x1bb),'ol')&&_0x2fe084[_0x3125f3(0x1c3)](_0x3125f3(0x172)));}function N(_0x437de1,_0x43657c){const _0xe7d708=_0x347417;let _0xebf575='',_0x505575=_0x437de1;for(;_0x505575>0x0;){const _0x1155c3=(_0x505575-0x1)%0x1a;_0xebf575=String[_0xe7d708(0x1b3)](0x61+_0x1155c3)+_0xebf575,_0x505575=Math[_0xe7d708(0x1be)]((_0x505575-0x1)/0x1a);}return _0x43657c?_0xebf575[_0xe7d708(0x1ad)]():_0xebf575;}function _0x3ef9(_0x3099e2,_0x5817e4){const _0x379880=_0x3798();return _0x3ef9=function(_0x3ef94b,_0xf9415f){_0x3ef94b=_0x3ef94b-0x168;let _0x67d082=_0x379880[_0x3ef94b];return _0x67d082;},_0x3ef9(_0x3099e2,_0x5817e4);}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(_0x20026e,_0x2253e){const _0x18f92d=_0x347417;let _0x2871cb='',_0x4d15c8=_0x20026e;for(const {value:_0x35d4ef,numeral:_0x35b559}of V)for(;_0x4d15c8>=_0x35d4ef;)_0x2871cb+=_0x35b559,_0x4d15c8-=_0x35d4ef;return _0x2253e?_0x2871cb:_0x2871cb[_0x18f92d(0x185)]();}
23
+ const _0x5d3878=_0x1f55;(function(_0xecc742,_0x4a2b26){const _0x4aa6be=_0x1f55,_0x5a645b=_0xecc742();while(!![]){try{const _0x34bb3f=parseInt(_0x4aa6be(0xe1))/0x1*(-parseInt(_0x4aa6be(0xad))/0x2)+-parseInt(_0x4aa6be(0xb1))/0x3*(-parseInt(_0x4aa6be(0xab))/0x4)+-parseInt(_0x4aa6be(0xdf))/0x5*(parseInt(_0x4aa6be(0x100))/0x6)+-parseInt(_0x4aa6be(0xb7))/0x7+parseInt(_0x4aa6be(0xd5))/0x8+-parseInt(_0x4aa6be(0xf0))/0x9+parseInt(_0x4aa6be(0xe6))/0xa;if(_0x34bb3f===_0x4a2b26)break;else _0x5a645b['push'](_0x5a645b['shift']());}catch(_0x4d622a){_0x5a645b['push'](_0x5a645b['shift']());}}}(_0x2d53,0x64521));import{Plugin as _0x60fd58}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x5134ec}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3bfcd8}from'./commands/footnotesstartcommand.js';function _0x1f55(_0x1c170c,_0x245552){const _0x2d53e0=_0x2d53();return _0x1f55=function(_0x1f5575,_0x307024){_0x1f5575=_0x1f5575-0xa2;let _0x5237fe=_0x2d53e0[_0x1f5575];return _0x5237fe;},_0x1f55(_0x1c170c,_0x245552);}import{FootnotesTracker as _0x3a0611}from'../footnotestracker.js';import{FootnotesEditing as _0x596d02}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x60fd58{static get[_0x5d3878(0xbb)](){const _0x10937e=_0x5d3878;return _0x10937e(0xed);}static get[_0x5d3878(0xb6)](){return[_0x596d02,_0x3a0611];}static get[_0x5d3878(0xf8)](){return!0x0;}static get[_0x5d3878(0xd9)](){return!0x0;}[_0x5d3878(0xac)](){const _0x36ebb1=_0x5d3878,{editor:_0x40a08e}=this;_0x40a08e[_0x36ebb1(0xdd)][_0x36ebb1(0xf6)](_0x36ebb1(0x106),_0x36ebb1(0xcb)),_0x40a08e[_0x36ebb1(0xdd)][_0x36ebb1(0xf6)](_0x36ebb1(0xba),0x1),_0x40a08e[_0x36ebb1(0xb0)][_0x36ebb1(0xcd)](_0x36ebb1(0xb4),new _0x5134ec(_0x40a08e)),_0x40a08e[_0x36ebb1(0xb0)][_0x36ebb1(0xcd)](_0x36ebb1(0xb3),new _0x3bfcd8(_0x40a08e)),this[_0x36ebb1(0xe7)](),this[_0x36ebb1(0xcf)](),this[_0x36ebb1(0xf5)](),this[_0x36ebb1(0xea)]();}[_0x5d3878(0xe7)](){const _0xf1a7af=_0x5d3878,{editor:_0x5b6d48}=this,{schema:_0x15f8c1}=_0x5b6d48[_0xf1a7af(0xc5)];_0x15f8c1[_0xf1a7af(0x101)](_0xf1a7af(0xbd),{'allowAttributes':[_0xf1a7af(0xb2),_0xf1a7af(0xfd)]});}[_0x5d3878(0xcf)](){const _0x5edf4f=_0x5d3878,{editor:_0x2ea28c}=this,{conversion:_0x5e7b3d,model:_0x3c1bb9}=_0x2ea28c,{schema:_0x50cc90}=_0x3c1bb9;_0x5e7b3d[_0x5edf4f(0xda)](_0x5edf4f(0xc0))[_0x5edf4f(0xcd)](_0x40636b=>{const _0x2ce85b=_0x5edf4f;_0x40636b['on'](_0x2ce85b(0xca),(_0x8f0c86,_0x45e725,_0x334b3)=>{const _0x353b3f=_0x2ce85b,_0x1370de=_0x45e725[_0x353b3f(0xb5)],_0x345f13=_0x45e725[_0x353b3f(0xd6)]?.[_0x353b3f(0xfb)];_0x1370de[_0x353b3f(0xf2)](_0x353b3f(0xe5))&&_0x345f13?.['is'](_0x353b3f(0xa2),_0x353b3f(0xbd))&&(function(_0x22d6c8,_0x3304af,_0x358977,_0x48cbad){const _0xcade20=_0x353b3f;if(!_0x48cbad[_0xcade20(0xa7)](_0x3304af,_0xcade20(0xfd)))return;let _0x3ae4f2=0x1;const _0x3a0b43=_0x358977[_0xcade20(0xd7)][_0xcade20(0xec)](_0x22d6c8,{'attributes':_0xcade20(0x104)});if(_0x3a0b43){const _0x131460=Number[_0xcade20(0xcc)](_0x22d6c8[_0xcade20(0xd1)](_0xcade20(0x104)),0xa);Number[_0xcade20(0xc9)](_0x131460)||(_0x3ae4f2=_0x131460);}!_0x3a0b43&&_0x3304af[_0xcade20(0xc6)](_0xcade20(0xfd))||_0x358977[_0xcade20(0x103)][_0xcade20(0xd8)](_0xcade20(0xfd),_0x3ae4f2,_0x3304af);}(_0x1370de,_0x345f13,_0x334b3,_0x50cc90),function(_0x493365,_0x34c7c1,_0x9e2493,_0x45d054){const _0x212904=_0x353b3f;if(!_0x45d054[_0x212904(0xa7)](_0x34c7c1,_0x212904(0xb2)))return;let _0x347251=_0x212904(0xcb),_0x42bd9a=!0x1;if(_0x9e2493[_0x212904(0xd7)][_0x212904(0xec)](_0x493365,{'attributes':_0x212904(0xde)})){const _0x586c9f={0x1:_0x212904(0xcb),'a':_0x212904(0xbf),'A':_0x212904(0x105),'i':_0x212904(0xe0),'I':_0x212904(0xc8)}[_0x493365[_0x212904(0xd1)](_0x212904(0xde))];_0x586c9f&&(_0x347251=_0x586c9f),_0x42bd9a=!0x0;}_0x9e2493[_0x212904(0xd7)][_0x212904(0xec)](_0x493365,{'styles':_0x212904(0xc7)})&&(_0x347251=function(_0xf92ed2){const _0x12480b=_0x212904;switch(_0xf92ed2){case _0x12480b(0xbf):return _0x12480b(0xbc);case _0x12480b(0x105):return _0x12480b(0xa4);default:return _0xf92ed2;}}(_0x493365[_0x212904(0xbe)](_0x212904(0xc7))),_0x42bd9a=!0x0),!_0x42bd9a&&_0x34c7c1[_0x212904(0xc6)](_0x212904(0xb2))||_0x9e2493[_0x212904(0x103)][_0x212904(0xd8)](_0x212904(0xb2),_0x347251,_0x34c7c1);}(_0x1370de,_0x345f13,_0x334b3,_0x50cc90));});}),_0x5e7b3d[_0x5edf4f(0xda)](_0x5edf4f(0xf9))[_0x5edf4f(0xcd)](_0x32966a=>{const _0xcb1394=_0x5edf4f;_0x32966a['on'](_0xcb1394(0xb8),(_0x51e608,_0x16f9ab,_0x598357)=>{const _0x547ea9=_0xcb1394;if(!_0x598357[_0x547ea9(0xd7)][_0x547ea9(0xec)](_0x16f9ab[_0x547ea9(0xe4)],_0x51e608[_0x547ea9(0xe2)]))return;const _0x329eef=M(_0x16f9ab[_0x547ea9(0xe4)],_0x598357[_0x547ea9(0xaf)]),{attributeNewValue:_0x490f1c}=_0x16f9ab;null==_0x490f1c||0x1===_0x490f1c?_0x598357[_0x547ea9(0x103)][_0x547ea9(0xa9)](_0x547ea9(0x104),_0x329eef):_0x598357[_0x547ea9(0x103)][_0x547ea9(0xd8)](_0x547ea9(0x104),String(_0x490f1c),_0x329eef);}),_0x32966a['on'](_0xcb1394(0xd0),(_0x5ec48e,_0x175729,_0x5ca8ba)=>{const _0x3cdeb4=_0xcb1394;if(!_0x5ca8ba[_0x3cdeb4(0xd7)][_0x3cdeb4(0xec)](_0x175729[_0x3cdeb4(0xe4)],_0x5ec48e[_0x3cdeb4(0xe2)]))return;const _0x48da9c=M(_0x175729[_0x3cdeb4(0xe4)],_0x5ca8ba[_0x3cdeb4(0xaf)]),{attributeNewValue:_0x2e32ea}=_0x175729;_0x2e32ea&&_0x3cdeb4(0xcb)!==_0x2e32ea?_0x5ca8ba[_0x3cdeb4(0x103)][_0x3cdeb4(0xfe)](_0x3cdeb4(0xc7),_0x2e32ea,_0x48da9c):_0x5ca8ba[_0x3cdeb4(0x103)][_0x3cdeb4(0xe8)](_0x3cdeb4(0xc7),_0x48da9c);});});}[_0x5d3878(0xea)](){const _0x5830c0=_0x5d3878,{editor:_0x2b28ee}=this,{model:_0x29b642}=_0x2b28ee,_0x561b8b=_0x2b28ee[_0x5830c0(0xc4)][_0x5830c0(0xa3)](_0x3a0611),_0xa19efb=this[_0x5830c0(0xef)](),_0x3cefb4=this[_0x5830c0(0xc1)]();_0x29b642[_0x5830c0(0xb9)][_0x5830c0(0xae)](_0xed83dc=>{const _0x428adf=_0x5830c0,_0x37bc7d=_0x29b642[_0x428adf(0xb9)][_0x428adf(0xf4)][_0x428adf(0xf1)]();let _0x356ce6=!0x1;for(const _0x2fc7fc of _0x37bc7d){if(_0x428adf(0xf3)!==_0x2fc7fc[_0x428adf(0xde)]||_0x428adf(0x102)===_0x2fc7fc[_0x428adf(0xe2)])continue;const _0x2905db=_0x29b642[_0x428adf(0xfa)](_0x2fc7fc[_0x428adf(0xe3)][_0x428adf(0xdb)]);for(const _0x273b0d of _0x2905db[_0x428adf(0xaa)]())_0x273b0d['is'](_0x428adf(0xa2),_0x428adf(0xbd))&&(!_0x273b0d[_0x428adf(0xc6)](_0x428adf(0xfd))&&_0x29b642[_0x428adf(0xce)][_0x428adf(0xa7)](_0x273b0d,_0x428adf(0xfd))&&(_0xed83dc[_0x428adf(0xd8)](_0x428adf(0xfd),_0x3cefb4,_0x273b0d),_0x356ce6=!0x0),!_0x273b0d[_0x428adf(0xc6)](_0x428adf(0xb2))&&_0x29b642[_0x428adf(0xce)][_0x428adf(0xa7)](_0x273b0d,_0x428adf(0xb2))&&(_0xed83dc[_0x428adf(0xd8)](_0x428adf(0xb2),_0xa19efb,_0x273b0d),_0x356ce6=!0x0));}return _0x356ce6&&_0x561b8b[_0x428adf(0xeb)](_0xed83dc),_0x356ce6;});}[_0x5d3878(0xf5)](){const _0xeed3cb=_0x5d3878,{editor:_0x3a2761}=this;_0x3a2761[_0xeed3cb(0xc4)][_0xeed3cb(0xa3)](_0x3a0611)[_0xeed3cb(0xa5)](_0x49228f=>this[_0xeed3cb(0xc3)](_0x49228f));}[_0x5d3878(0xef)](){const _0x518884=_0x5d3878;return this[_0x518884(0xff)][_0x518884(0xdd)][_0x518884(0xa3)](_0x518884(0x106));}[_0x5d3878(0xc1)](){const _0x48c213=_0x5d3878;return this[_0x48c213(0xff)][_0x48c213(0xdd)][_0x48c213(0xa3)](_0x48c213(0xba));}[_0x5d3878(0xc3)]({container:_0x6156f3,value:_0x3fb293,digits:_0xf583fe}){const _0x2bad7f=_0x5d3878,_0x475581=_0x6156f3[_0x2bad7f(0xd1)](_0x2bad7f(0xb2)),_0x2f4e67=_0x6156f3[_0x2bad7f(0xd1)](_0x2bad7f(0xfd)),_0x23402c=Math[_0x2bad7f(0xa8)](_0x3fb293)+(_0x2f4e67??0x1)-0x1;switch(_0x475581){case _0x2bad7f(0xe9):return function(_0x3a62b5,_0x50ef62){const _0x312292=_0x2bad7f;return String(_0x3a62b5)[_0x312292(0xd4)](_0x50ef62,'0');}(_0x23402c,Math[_0x2bad7f(0xc2)](0x2,_0xf583fe));case _0x2bad7f(0xbf):case _0x2bad7f(0xbc):return N(_0x23402c,!0x1);case _0x2bad7f(0x105):case _0x2bad7f(0xa4):return N(_0x23402c,!0x0);case _0x2bad7f(0xe0):return X(_0x23402c,!0x1);case _0x2bad7f(0xc8):return X(_0x23402c,!0x0);default:return String(_0x23402c);}}}function M(_0x1317bc,_0x105f3c){const _0x13d0fd=_0x5d3878,_0x10bcef=_0x105f3c[_0x13d0fd(0xd3)](_0x1317bc);return Array[_0x13d0fd(0xfc)](_0x10bcef[_0x13d0fd(0xd2)]())[_0x13d0fd(0xa6)](_0x2bd4f6=>_0x2bd4f6['is'](_0x13d0fd(0xa2),'ol')&&_0x2bd4f6[_0x13d0fd(0xf2)](_0x13d0fd(0xe5)));}function N(_0xa4e6e1,_0x222281){const _0x4546a9=_0x5d3878;let _0x18092b='',_0x573b58=_0xa4e6e1;for(;_0x573b58>0x0;){const _0x10ed75=(_0x573b58-0x1)%0x1a;_0x18092b=String[_0x4546a9(0xf7)](0x61+_0x10ed75)+_0x18092b,_0x573b58=Math[_0x4546a9(0xa8)]((_0x573b58-0x1)/0x1a);}return _0x222281?_0x18092b[_0x4546a9(0xdc)]():_0x18092b;}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 _0x2d53(){const _0x63efcd=['getChildren','toViewElement','padStart','6345040kMvlTk','modelCursor','consumable','setAttribute','isPremiumPlugin','for','nodeAfter','toUpperCase','config','type','25XKxJpn','lower-roman','1fGATxK','name','position','item','footnotes-list','12534680BWcERA','_defineSchema','removeStyle','decimal-leading-zero','_definePostfixer','_updateFootnotesCounters','consume','FootnotesPropertiesEditing','toLowerCase','_getDefaultListStyle','5324355eChYIt','getChanges','hasClass','insert','differ','_defineFormatter','define','fromCharCode','isOfficialPlugin','downcast','createRangeOn','parent','from','footnotesListStart','setStyle','editor','715806FDETvs','extend','$text','writer','start','upper-alpha','footnotes.footnotesProperties.defaultListStyle','element','get','upper-latin','setFootnoteFormatter','find','checkAttribute','floor','removeAttribute','getItems','848228kDfmkC','init','1138226LGxxWb','registerPostFixer','mapper','commands','3VdeYoD','footnotesListStyle','footnotesStart','footnotesStyle','viewItem','requires','633703XUssmv','attribute:footnotesListStart:footnotesDefinitions','document','footnotes.footnotesProperties.defaultStartIndex','pluginName','lower-latin','footnotesDefinitions','getStyle','lower-alpha','upcast','_getDefaultStartIndex','max','_formatFootnoteListValue','plugins','model','hasAttribute','list-style-type','upper-roman','isNaN','element:ol','decimal','parseInt','add','schema','_defineConverters','attribute:footnotesListStyle:footnotesDefinitions','getAttribute'];_0x2d53=function(){return _0x63efcd;};return _0x2d53();}function X(_0x56884d,_0x4569ad){const _0x12d294=_0x5d3878;let _0x33f930='',_0x580e11=_0x56884d;for(const {value:_0xcff9f2,numeral:_0xf842f2}of V)for(;_0x580e11>=_0xcff9f2;)_0x33f930+=_0xf842f2,_0x580e11-=_0xcff9f2;return _0x4569ad?_0x33f930:_0x33f930[_0x12d294(0xee)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x59315c,ButtonView as _0x3cd76c,ContextualBalloon as _0x216054,createDropdown as _0x38ff70}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x315f45}from'ckeditor5/src/widget.js';import{Plugin as _0x4be491}from'ckeditor5/src/core.js';import{IconFootnote as _0x11f3bc,IconListStyleDecimal as _0xb4866a,IconListStyleDecimalLeadingZero as _0x3bb978,IconListStyleLowerLatin as _0x2ef1d0,IconListStyleLowerRoman as _0x23ca69,IconListStyleUpperLatin as _0x718208,IconListStyleUpperRoman as _0x426bc4}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x1793d8}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1bf272}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4be491{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x216054,_0x315f45];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x234e88}=this,{componentFactory:_0x11f344}=_0x234e88['ui'];_0x234e88['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x11f344['add']('footnotesStyle',function(_0x10ed85){return _0x5d6b98=>{const {t:t}=_0x5d6b98,_0xae5540=_0x10ed85['commands']['get']('footnotesStyle'),_0xe611b3=_0x38ff70(_0x5d6b98),{buttonView:_0x3f4b8a}=_0xe611b3;return _0xe611b3['class']='ck-footnotes-styles-dropdown',_0xe611b3['bind']('isEnabled')['to'](_0xae5540,'isEnabled'),_0x3f4b8a['set']({'label':t('Footnotes\x20style'),'icon':_0x11f3bc,'tooltip':!0x0}),_0xe611b3['once']('change:isOpen',()=>{const _0x43aea3=function({editor:_0x1a1021,dropdownView:_0x9d1b42}){const {t:t}=_0x1a1021['locale'],_0x1436ef=t('Footnotes\x20definitions\x20styles'),_0x21e4a4=function(_0x3b65a3){const t=_0x3b65a3['locale']['t'],_0x561f1d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xb4866a},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3bb978},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x23ca69},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x426bc4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2ef1d0},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x718208}];return _0x561f1d['map'](function(_0x2bea57){const _0x32b5c3=_0x2bea57['locale'];return({label:_0x38c4ec,icon:_0xb24c87,tooltip:_0x5d8019,style:_0x37e3ba})=>{const _0x30ed89=_0x2bea57['commands']['get']('footnotesStyle'),_0x5e2777=new _0x3cd76c(_0x32b5c3);return _0x5e2777['set']({'label':_0x38c4ec,'icon':_0xb24c87,'tooltip':_0x5d8019}),_0x5e2777['bind']('isOn')['to'](_0x30ed89,'value',_0x358e3b=>_0x358e3b===_0x37e3ba),_0x5e2777['bind']('isEnabled')['to'](_0x30ed89,'isEnabled'),_0x5e2777['on']('execute',()=>{_0x2bea57['execute']('footnotesStyle',{'value':_0x37e3ba}),_0x2bea57['editing']['view']['focus']();}),_0x5e2777;};}(_0x3b65a3));}(_0x1a1021),_0x1a3a94=new _0x1793d8(_0x1a1021['locale'],{'styleGridAriaLabel':_0x1436ef,'styleButtonViews':_0x21e4a4}),_0x59f6c3=_0x1a1021['commands']['get']('footnotesStart');return _0x1a3a94['startIndexFieldView']['bind']('isEnabled')['to'](_0x59f6c3),_0x1a3a94['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x59f6c3),_0x1a3a94['on']('footnotesListStart',(_0x12a91d,_0x54662f)=>{_0x1a1021['execute']('footnotesStart',{'value':_0x54662f['startIndex']});}),_0x1a3a94['delegate']('execute')['to'](_0x9d1b42),_0x1a3a94;}({'editor':_0x10ed85,'dropdownView':_0xe611b3});_0xe611b3['panelView']['children']['add'](_0x43aea3);}),_0xe611b3;};}(_0x234e88));}['afterInit'](){const {editor:_0xa30549}=this,{t:t}=_0xa30549['locale'],_0xee4af7=_0xa30549['plugins']['get'](_0x315f45),{defaultPositions:_0x4a5366}=_0x59315c;_0xee4af7['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xa30549['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5a5533=>{let _0x5484f2=_0x5a5533['getFirstPosition']()?.['parent'];return _0x5484f2?.['is']('$text')&&(_0x5484f2=_0x5484f2['parent']),_0x5484f2?.['is']('element')?_0x5484f2['findAncestor'](_0x1bf272):null;},'positions':[_0x4a5366['southArrowNorth'],_0x4a5366['southArrowNorthMiddleWest'],_0x4a5366['southArrowNorthMiddleEast'],_0x4a5366['southArrowNorthWest'],_0x4a5366['southArrowNorthEast'],_0x4a5366['northArrowSouth'],_0x4a5366['northArrowSouthMiddleWest'],_0x4a5366['northArrowSouthMiddleEast'],_0x4a5366['northArrowSouthWest'],_0x4a5366['northArrowSouthEast'],_0x4a5366['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x218da3,ButtonView as _0x2958cd,ContextualBalloon as _0x1f93c2,createDropdown as _0x490f59}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4647bb}from'ckeditor5/src/widget.js';import{Plugin as _0x40350a}from'ckeditor5/src/core.js';import{IconFootnote as _0x5c2ae6,IconListStyleDecimal as _0x35ab00,IconListStyleDecimalLeadingZero as _0x39e25c,IconListStyleLowerLatin as _0x317425,IconListStyleLowerRoman as _0x5cb38b,IconListStyleUpperLatin as _0x8ad891,IconListStyleUpperRoman as _0x460429}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x210af8}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4c115b}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x40350a{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1f93c2,_0x4647bb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x239fc4}=this,{componentFactory:_0x3b6888}=_0x239fc4['ui'];_0x239fc4['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3b6888['add']('footnotesStyle',function(_0x3867bf){return _0x6727fd=>{const {t:t}=_0x6727fd,_0x2776c0=_0x3867bf['commands']['get']('footnotesStyle'),_0x287878=_0x490f59(_0x6727fd),{buttonView:_0x3f954a}=_0x287878;return _0x287878['class']='ck-footnotes-styles-dropdown',_0x287878['bind']('isEnabled')['to'](_0x2776c0,'isEnabled'),_0x3f954a['set']({'label':t('Footnotes\x20style'),'icon':_0x5c2ae6,'tooltip':!0x0}),_0x287878['once']('change:isOpen',()=>{const _0x31ea78=function({editor:_0x4f48e2,dropdownView:_0x3e8533}){const {t:t}=_0x4f48e2['locale'],_0x4c3a6a=t('Footnotes\x20definitions\x20styles'),_0x27ae2d=function(_0x19de80){const t=_0x19de80['locale']['t'],_0x2e3eff=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x35ab00},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x39e25c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5cb38b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x460429},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x317425},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x8ad891}];return _0x2e3eff['map'](function(_0x55c8fa){const _0x3069a5=_0x55c8fa['locale'];return({label:_0x2634e8,icon:_0x345ac2,tooltip:_0x5dc15e,style:_0x5bda52})=>{const _0x5ed55a=_0x55c8fa['commands']['get']('footnotesStyle'),_0x332e10=new _0x2958cd(_0x3069a5);return _0x332e10['set']({'label':_0x2634e8,'icon':_0x345ac2,'tooltip':_0x5dc15e}),_0x332e10['bind']('isOn')['to'](_0x5ed55a,'value',_0x8c2ca5=>_0x8c2ca5===_0x5bda52),_0x332e10['bind']('isEnabled')['to'](_0x5ed55a,'isEnabled'),_0x332e10['on']('execute',()=>{_0x55c8fa['execute']('footnotesStyle',{'value':_0x5bda52}),_0x55c8fa['editing']['view']['focus']();}),_0x332e10;};}(_0x19de80));}(_0x4f48e2),_0x5cdecb=new _0x210af8(_0x4f48e2['locale'],{'styleGridAriaLabel':_0x4c3a6a,'styleButtonViews':_0x27ae2d}),_0x24c3fe=_0x4f48e2['commands']['get']('footnotesStart');return _0x5cdecb['startIndexFieldView']['bind']('isEnabled')['to'](_0x24c3fe),_0x5cdecb['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x24c3fe),_0x5cdecb['on']('footnotesListStart',(_0x45b471,_0x1ec16f)=>{_0x4f48e2['execute']('footnotesStart',{'value':_0x1ec16f['startIndex']});}),_0x5cdecb['delegate']('execute')['to'](_0x3e8533),_0x5cdecb;}({'editor':_0x3867bf,'dropdownView':_0x287878});_0x287878['panelView']['children']['add'](_0x31ea78);}),_0x287878;};}(_0x239fc4));}['afterInit'](){const {editor:_0x1fc1c5}=this,{t:t}=_0x1fc1c5['locale'],_0x4b9936=_0x1fc1c5['plugins']['get'](_0x4647bb),{defaultPositions:_0x1b7ba5}=_0x218da3;_0x4b9936['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1fc1c5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x331726=>{let _0x4d326c=_0x331726['getFirstPosition']()?.['parent'];return _0x4d326c?.['is']('$text')&&(_0x4d326c=_0x4d326c['parent']),_0x4d326c?.['is']('element')?_0x4d326c['findAncestor'](_0x4c115b):null;},'positions':[_0x1b7ba5['southArrowNorth'],_0x1b7ba5['southArrowNorthMiddleWest'],_0x1b7ba5['southArrowNorthMiddleEast'],_0x1b7ba5['southArrowNorthWest'],_0x1b7ba5['southArrowNorthEast'],_0x1b7ba5['northArrowSouth'],_0x1b7ba5['northArrowSouthMiddleWest'],_0x1b7ba5['northArrowSouthMiddleEast'],_0x1b7ba5['northArrowSouthWest'],_0x1b7ba5['northArrowSouthEast'],_0x1b7ba5['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4d716e,View as _0x58a05f,ViewCollection as _0x1f8ee4,FocusCycler as _0x117334,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x58a05f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1f8ee4();['focusCycler'];constructor(_0x2b3a3a,{styleButtonViews:_0x2da92b,styleGridAriaLabel:_0x1c9a0d}){super(_0x2b3a3a),(this['focusCycler']=new _0x117334({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2da92b,_0x1c9a0d),[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 _0x30741c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x30741c['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x12d4d3=_0x51ebd0=>_0x51ebd0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x12d4d3),this['keystrokes']['set']('arrowleft',_0x12d4d3),this['keystrokes']['set']('arrowup',_0x12d4d3),this['keystrokes']['set']('arrowdown',_0x12d4d3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5b9e63,_0x339eeb){const _0x493887=new _0x58a05f(this['locale']);return _0x493887['children']=_0x493887['createCollection'](),_0x493887['children']['addMany'](_0x5b9e63),_0x493887['setTemplate']({'tag':'div','attributes':{'aria-label':_0x339eeb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x493887['children']}),_0x493887['children']['delegate']('execute')['to'](this),_0x493887['focus']=function(){for(const _0x22011c of this['children'])if(_0x22011c instanceof _0x4d716e&&_0x22011c['isOn'])return void _0x22011c['focus']();this['children']['first']['focus']();},_0x493887['focusTracker']=new ot(),_0x493887['keystrokes']=new rt(),_0x493887['render'](),_0x493887['keystrokes']['listenTo'](_0x493887['element']),this['children']['add'](_0x493887),_0x493887;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x741023=this['_createStartIndexPropertyView'](),_0x5b4cac=[_0x741023],_0x1678e9=new st(this['locale'],_0x5b4cac);return _0x1678e9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1678e9['buttonView']['bind']('isEnabled')['toMany'](_0x5b4cac,'isEnabled',(..._0x150df8)=>_0x150df8['some'](_0x9efc97=>_0x9efc97)),_0x1678e9['buttonView']['on']('change:isEnabled',(_0x1de9af,_0xd3c55,_0x204d6c)=>{_0x204d6c||(_0x1678e9['isCollapsed']=!0x0);}),this['children']['add'](_0x1678e9),[_0x741023,_0x1678e9];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2d8034=new it(this['locale'],et);return _0x2d8034['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2d8034['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2d8034['fieldView']['on']('input',()=>{const _0x5744a8=_0x2d8034['fieldView']['element'],_0x5e6936=_0x5744a8['valueAsNumber'];Number['isNaN'](_0x5e6936)?_0x2d8034['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5744a8['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5e6936}):_0x2d8034['errorText']=t(_0x5e6936<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2d8034;}}
23
+ import{ButtonView as _0x54b4b9,View as _0x1d26e7,ViewCollection as _0x46b415,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 _0x1d26e7{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x46b415();['focusCycler'];constructor(_0x2618d3,{styleButtonViews:_0x478192,styleGridAriaLabel:_0x22303a}){super(_0x2618d3),(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'](_0x478192,_0x22303a),[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 _0x3b082d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3b082d['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 _0x3ee63c=_0x47d9f3=>_0x47d9f3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3ee63c),this['keystrokes']['set']('arrowleft',_0x3ee63c),this['keystrokes']['set']('arrowup',_0x3ee63c),this['keystrokes']['set']('arrowdown',_0x3ee63c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x54a05d,_0x3165b3){const _0x1ba152=new _0x1d26e7(this['locale']);return _0x1ba152['children']=_0x1ba152['createCollection'](),_0x1ba152['children']['addMany'](_0x54a05d),_0x1ba152['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3165b3,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1ba152['children']}),_0x1ba152['children']['delegate']('execute')['to'](this),_0x1ba152['focus']=function(){for(const _0xe62525 of this['children'])if(_0xe62525 instanceof _0x54b4b9&&_0xe62525['isOn'])return void _0xe62525['focus']();this['children']['first']['focus']();},_0x1ba152['focusTracker']=new rt(),_0x1ba152['keystrokes']=new nt(),_0x1ba152['render'](),_0x1ba152['keystrokes']['listenTo'](_0x1ba152['element']),this['children']['add'](_0x1ba152),_0x1ba152;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x11671b=this['_createStartIndexPropertyView'](),_0x2955b4=[_0x11671b],_0x3722d1=new it(this['locale'],_0x2955b4);return _0x3722d1['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3722d1['buttonView']['bind']('isEnabled')['toMany'](_0x2955b4,'isEnabled',(..._0xfdb61)=>_0xfdb61['some'](_0x1a5506=>_0x1a5506)),_0x3722d1['buttonView']['on']('change:isEnabled',(_0x3af737,_0x23973c,_0x24f400)=>{_0x24f400||(_0x3722d1['isCollapsed']=!0x0);}),this['children']['add'](_0x3722d1),[_0x11671b,_0x3722d1];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x29426d=new et(this['locale'],ot);return _0x29426d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x29426d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x29426d['fieldView']['on']('input',()=>{const _0x549d6a=_0x29426d['fieldView']['element'],_0x4bf66a=_0x549d6a['valueAsNumber'];Number['isNaN'](_0x4bf66a)?_0x29426d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x549d6a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4bf66a}):_0x29426d['errorText']=t(_0x4bf66a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x29426d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4c0adb=_0x1eb6;(function(_0xa2a230,_0x291951){var _0x4708db=_0x1eb6,_0x495090=_0xa2a230();while(!![]){try{var _0x2a5e5a=parseInt(_0x4708db(0xda))/0x1+-parseInt(_0x4708db(0xdd))/0x2*(parseInt(_0x4708db(0xd5))/0x3)+-parseInt(_0x4708db(0xd4))/0x4*(-parseInt(_0x4708db(0xe1))/0x5)+-parseInt(_0x4708db(0xd6))/0x6*(parseInt(_0x4708db(0xd9))/0x7)+-parseInt(_0x4708db(0xd8))/0x8+parseInt(_0x4708db(0xdf))/0x9+parseInt(_0x4708db(0xdc))/0xa;if(_0x2a5e5a===_0x291951)break;else _0x495090['push'](_0x495090['shift']());}catch(_0x15ab4a){_0x495090['push'](_0x495090['shift']());}}}(_0x2826,0xa96fa));import{Plugin as _0x7ad19}from'ckeditor5/src/core.js';function _0x2826(){var _0x41acd5=['requires','5618862RyYYdE','pluginName','80MvzSCL','isOfficialPlugin','96664roorAm','104022jwgkfO','6tqnUYI','FootnotesProperties','1456416psWhgL','1068564rbIbLE','377762QPxiUQ','isPremiumPlugin','3334580GaPIyp','40EkMpdp'];_0x2826=function(){return _0x41acd5;};return _0x2826();}import{FootnotesPropertiesEditing as _0x229d9a}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1eb6(_0x254131,_0x1fc25f){var _0x282625=_0x2826();return _0x1eb6=function(_0x1eb63d,_0x4c8375){_0x1eb63d=_0x1eb63d-0xd4;var _0x43901c=_0x282625[_0x1eb63d];return _0x43901c;},_0x1eb6(_0x254131,_0x1fc25f);}import{FootnotesPropertiesUI as _0x5f1cf3}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x7ad19{static get[_0x4c0adb(0xe0)](){var _0x38b779=_0x4c0adb;return _0x38b779(0xd7);}static get[_0x4c0adb(0xde)](){return[_0x229d9a,_0x5f1cf3];}static get[_0x4c0adb(0xe2)](){return!0x0;}static get[_0x4c0adb(0xdb)](){return!0x0;}}
23
+ function _0x3c11(_0x773d04,_0x8ff3df){var _0x2ebdb6=_0x2ebd();return _0x3c11=function(_0x3c1154,_0x5e460a){_0x3c1154=_0x3c1154-0xf5;var _0x451143=_0x2ebdb6[_0x3c1154];return _0x451143;},_0x3c11(_0x773d04,_0x8ff3df);}var _0x5bedc9=_0x3c11;function _0x2ebd(){var _0x8716=['3322360qhbRQY','2675940eSyvkc','FootnotesProperties','requires','isPremiumPlugin','pluginName','133dzGFHO','4030782GCvMlU','2977265uWBpho','12747320eygUYV','7979461gNGENL','isOfficialPlugin','21784BoYPLB'];_0x2ebd=function(){return _0x8716;};return _0x2ebd();}(function(_0x370a76,_0x115db0){var _0x31ca09=_0x3c11,_0x43c5b0=_0x370a76();while(!![]){try{var _0x245f79=parseInt(_0x31ca09(0xfe))/0x1*(parseInt(_0x31ca09(0xf7))/0x2)+-parseInt(_0x31ca09(0xff))/0x3+-parseInt(_0x31ca09(0xf8))/0x4+parseInt(_0x31ca09(0x100))/0x5+parseInt(_0x31ca09(0xf9))/0x6+-parseInt(_0x31ca09(0xf5))/0x7+parseInt(_0x31ca09(0x101))/0x8;if(_0x245f79===_0x115db0)break;else _0x43c5b0['push'](_0x43c5b0['shift']());}catch(_0x51cb85){_0x43c5b0['push'](_0x43c5b0['shift']());}}}(_0x2ebd,0xbbd6b));import{Plugin as _0x300df2}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x15d4ec}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x53faf2}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x300df2{static get[_0x5bedc9(0xfd)](){var _0x512093=_0x5bedc9;return _0x512093(0xfa);}static get[_0x5bedc9(0xfb)](){return[_0x15d4ec,_0x53faf2];}static get[_0x5bedc9(0xf6)](){return!0x0;}static get[_0x5bedc9(0xfc)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b6287=_0x4a20;(function(_0x46c82f,_0x301f39){const _0x3d591d=_0x4a20,_0xa921cb=_0x46c82f();while(!![]){try{const _0x10f58d=-parseInt(_0x3d591d(0x12c))/0x1+-parseInt(_0x3d591d(0x14f))/0x2+-parseInt(_0x3d591d(0x171))/0x3+parseInt(_0x3d591d(0x160))/0x4+parseInt(_0x3d591d(0x13a))/0x5+parseInt(_0x3d591d(0x172))/0x6+parseInt(_0x3d591d(0x150))/0x7*(parseInt(_0x3d591d(0x141))/0x8);if(_0x10f58d===_0x301f39)break;else _0xa921cb['push'](_0xa921cb['shift']());}catch(_0x30fb32){_0xa921cb['push'](_0xa921cb['shift']());}}}(_0x2d64,0x63c6d));import{Plugin as _0x33befe}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x559e42}from'./modelelementtracker.js';export class FootnotesTracker extends _0x33befe{[_0x1b6287(0x178)]=[];[_0x1b6287(0x143)]=null;[_0x1b6287(0x145)]=null;[_0x1b6287(0x167)];[_0x1b6287(0x136)];[_0x1b6287(0x12d)];static get[_0x1b6287(0x157)](){const _0x2fd48b=_0x1b6287;return _0x2fd48b(0x129);}static get[_0x1b6287(0x168)](){return!0x0;}static get[_0x1b6287(0x175)](){return!0x0;}constructor(_0x45249a){const _0x50ecf2=_0x1b6287;super(_0x45249a),this[_0x50ecf2(0x167)]=new _0x559e42(this[_0x50ecf2(0x15b)][_0x50ecf2(0x162)],{'elementName':_0x50ecf2(0x173),'getElementKey':()=>_0x50ecf2(0x15a)}),this[_0x50ecf2(0x136)]=new _0x559e42(this[_0x50ecf2(0x15b)][_0x50ecf2(0x162)],{'elementName':_0x50ecf2(0x15d),'getElementKey':_0x13ec92=>_0x13ec92[_0x50ecf2(0x11d)](_0x50ecf2(0x16a))}),this[_0x50ecf2(0x12d)]=new _0x559e42(this[_0x50ecf2(0x15b)][_0x50ecf2(0x162)],{'elementName':_0x50ecf2(0x12e),'getElementKey':_0x2793ba=>_0x2793ba[_0x50ecf2(0x11d)](_0x50ecf2(0x16a))});}[_0x1b6287(0x14d)](){const _0x5b86f7=_0x1b6287,{editor:_0x225b77}=this,{model:_0x4b14e2,data:_0x2c3b24}=_0x225b77;_0x4b14e2[_0x5b86f7(0x164)][_0x5b86f7(0x123)](_0x208516=>{const _0x2a8d39=_0x5b86f7,_0x5974de=_0x4b14e2[_0x2a8d39(0x164)][_0x2a8d39(0x137)][_0x2a8d39(0x163)]();let _0x3cf157=!0x1;return this[_0x2a8d39(0x126)](_0x208516,_0x5974de)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x140)](_0x208516,_0x5974de)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x125)](_0x208516,_0x5974de)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x149)](_0x208516)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x121)](_0x208516)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x16e)](_0x208516)&&(_0x3cf157=!0x0),_0x3cf157;}),this[_0x5b86f7(0x139)](_0x4b14e2[_0x5b86f7(0x164)],_0x5b86f7(0x14b),()=>{const _0x1cf00d=_0x5b86f7;_0x4b14e2[_0x1cf00d(0x158)]({'isUndoable':!0x1},_0x3091c8=>{const _0x130af5=_0x1cf00d;this[_0x130af5(0x15e)](_0x3091c8);});},{'priority':_0x5b86f7(0x16f)}),this[_0x5b86f7(0x139)](_0x2c3b24,_0x5b86f7(0x124),()=>{const _0x36b0c2=_0x5b86f7;this[_0x36b0c2(0x178)]=[],this[_0x36b0c2(0x167)][_0x36b0c2(0x148)](),this[_0x36b0c2(0x136)][_0x36b0c2(0x148)](),this[_0x36b0c2(0x12d)][_0x36b0c2(0x148)]();},{'priority':_0x5b86f7(0x122)});}[_0x1b6287(0x13b)](){const _0xb89f65=_0x1b6287;return this[_0xb89f65(0x143)];}[_0x1b6287(0x155)](_0x452670){const _0x4d57ad=_0x1b6287;return this[_0x4d57ad(0x178)][_0x4d57ad(0x12a)](_0x4ebce9=>_0x4ebce9['id']===_0x452670)||null;}[_0x1b6287(0x13c)](){const _0x459dd2=_0x1b6287;return Array[_0x459dd2(0x11f)](this[_0x459dd2(0x178)]);}[_0x1b6287(0x159)](){const _0x1421a9=_0x1b6287;return this[_0x1421a9(0x145)];}[_0x1b6287(0x135)](_0x463e9f){const _0x127c4a=_0x1b6287;this[_0x127c4a(0x145)]=_0x463e9f;}[_0x1b6287(0x131)](_0x4af255,_0x2d8c40=0x0){const _0x2d1733=_0x1b6287;let _0x23ca59=!0x1;for(let _0x3aeae5=_0x2d8c40;_0x3aeae5<this[_0x2d1733(0x178)][_0x2d1733(0x11e)];_0x3aeae5++)this[_0x2d1733(0x128)](_0x4af255,_0x3aeae5)&&(_0x23ca59=!0x0);return _0x23ca59;}[_0x1b6287(0x153)](_0x3241f0,_0x2c17ba){const _0x500581=_0x1b6287,_0x27103a=_0x3241f0[_0x500581(0x14c)](_0x500581(0x173),{});return _0x3241f0[_0x500581(0x130)](_0x27103a,_0x2c17ba),this[_0x500581(0x143)]=_0x27103a,_0x27103a;}[_0x1b6287(0x15e)](_0x762674){const _0x3c50ef=_0x1b6287;if(!this[_0x3c50ef(0x178)][_0x3c50ef(0x11e)]||this[_0x3c50ef(0x143)])return;const _0x5a8b39=this[_0x3c50ef(0x178)][0x0][_0x3c50ef(0x138)][_0x3c50ef(0x16b)],_0x2f9269=this[_0x3c50ef(0x153)](_0x762674,_0x5a8b39);for(const _0x40afef of this[_0x3c50ef(0x178)])_0x40afef[_0x3c50ef(0x174)][_0x3c50ef(0x116)]||_0x762674[_0x3c50ef(0x170)](_0x40afef[_0x3c50ef(0x174)],_0x2f9269,_0x3c50ef(0x11c));this[_0x3c50ef(0x131)](_0x762674);}[_0x1b6287(0x126)](_0x2022d9,_0x3ff85b){const _0x5908c7=_0x1b6287;let _0x4a65c4=!0x1;const {inserted:_0x2dfaf8,removed:_0xc4747a,moved:_0x4f3f91}=this[_0x5908c7(0x167)][_0x5908c7(0x163)](_0x3ff85b);if(_0x4f3f91[_0x5908c7(0x11e)]&&(this[_0x5908c7(0x143)]=_0x4f3f91[0x0]),_0x2dfaf8[_0x5908c7(0x11e)]){if(_0x2dfaf8[_0x5908c7(0x11e)]>0x1||this[_0x5908c7(0x143)]&&_0x2dfaf8[_0x5908c7(0x16d)](_0x3bd1c2=>_0x3bd1c2!==this[_0x5908c7(0x143)])){const _0x1641ca=_0x2022d9[_0x5908c7(0x14c)](_0x5908c7(0x173),{}),_0xb1b050=[];this[_0x5908c7(0x143)]&&_0xb1b050[_0x5908c7(0x14e)](this[_0x5908c7(0x143)]),_0xb1b050[_0x5908c7(0x14e)](..._0x2dfaf8),_0x2022d9[_0x5908c7(0x170)](_0x1641ca,_0xb1b050[0x0],_0x5908c7(0x16c));for(const _0x59cafe of _0xb1b050)_0x2022d9[_0x5908c7(0x117)](_0x2022d9[_0x5908c7(0x176)](_0x59cafe),_0x2022d9[_0x5908c7(0x146)](_0x1641ca,_0x5908c7(0x11c))),_0x2022d9[_0x5908c7(0x13e)](_0x59cafe);this[_0x5908c7(0x143)]=_0x1641ca,this[_0x5908c7(0x131)](_0x2022d9),_0x4a65c4=!0x0;}else this[_0x5908c7(0x143)]=_0x2dfaf8[0x0];}if(_0xc4747a[_0x5908c7(0x11e)]&&_0x5908c7(0x142)===this[_0x5908c7(0x143)]?.[_0x5908c7(0x16b)][_0x5908c7(0x11b)]){for(const _0x55712c of this[_0x5908c7(0x178)])_0x2022d9[_0x5908c7(0x13e)](_0x55712c[_0x5908c7(0x138)]),_0x4a65c4=!0x0;this[_0x5908c7(0x178)]=[],this[_0x5908c7(0x143)]=null;}return _0x4a65c4;}[_0x1b6287(0x140)](_0x3acd2f,_0x3cd392){const _0x10922c=_0x1b6287;let _0xecc331=!0x1;const _0x4a0cb9=this[_0x10922c(0x15b)][_0x10922c(0x11a)][_0x10922c(0x147)](_0x10922c(0x132)),{inserted:_0x20b796,moved:_0x216c77}=this[_0x10922c(0x12d)][_0x10922c(0x163)](_0x3cd392);for(const _0x5e741e of[..._0x216c77,..._0x20b796]){const _0x547d9b=_0x5e741e[_0x10922c(0x11d)](_0x10922c(0x16a)),_0x53efdb=this[_0x10922c(0x155)](_0x547d9b);_0x53efdb&&(_0x53efdb[_0x10922c(0x174)]=_0x5e741e),_(_0x3acd2f,_0x4a0cb9,_0x5e741e)&&(_0xecc331=!0x0);}return _0xecc331;}[_0x1b6287(0x125)](_0x15ca5d,_0x19c469){const _0x1545d4=_0x1b6287;let _0x3f51bd=!0x1;const {removed:_0x317b82,inserted:_0x41c277,moved:_0x1a89d8}=this[_0x1545d4(0x136)][_0x1545d4(0x163)](_0x19c469);for(const _0x51420d of _0x317b82)this[_0x1545d4(0x154)](_0x15ca5d,_0x51420d)&&(_0x3f51bd=!0x0);for(const _0x133bbe of _0x41c277)this[_0x1545d4(0x13f)](_0x15ca5d,_0x133bbe)&&(_0x3f51bd=!0x0);for(const _0x268116 of _0x1a89d8)this[_0x1545d4(0x166)](_0x15ca5d,_0x268116)&&(_0x3f51bd=!0x0);return _0x3f51bd;}[_0x1b6287(0x121)](_0x1edfc2){const _0x119905=_0x1b6287;if(!this[_0x119905(0x143)])return!0x1;let _0x4ad02f=!0x1;if(this[_0x119905(0x143)][_0x119905(0x15c)]!==this[_0x119905(0x178)][_0x119905(0x11e)]){const _0x1f30c1=[];for(const _0xbeaecf of this[_0x119905(0x143)][_0x119905(0x152)]()){const _0x24c23a=_0xbeaecf[_0x119905(0x11d)](_0x119905(0x16a));this[_0x119905(0x155)](_0x24c23a)||(_0x1f30c1[_0x119905(0x12b)](_0xbeaecf),_0x4ad02f=!0x0);}for(const _0x513f6f of _0x1f30c1)_0x1edfc2[_0x119905(0x13e)](_0x513f6f);}const _0x104625=new Set(),_0x4a7b01=[];for(const _0x16571b of this[_0x119905(0x143)][_0x119905(0x152)]()){const _0x4af60d=_0x16571b[_0x119905(0x11d)](_0x119905(0x16a));_0x104625[_0x119905(0x161)](_0x4af60d)?(_0x4a7b01[_0x119905(0x12b)](_0x16571b),_0x4ad02f=!0x0):_0x104625[_0x119905(0x118)](_0x4af60d);}for(const _0x5df2cc of _0x4a7b01)_0x1edfc2[_0x119905(0x13e)](_0x5df2cc);return this[_0x119905(0x143)][_0x119905(0x15c)]||(_0x1edfc2[_0x119905(0x13e)](this[_0x119905(0x143)]),this[_0x119905(0x143)]=null,_0x4ad02f=!0x0),_0x4ad02f;}[_0x1b6287(0x13f)](_0x38e80b,_0x9c7f2d){const _0x52b254=_0x1b6287;if(this[_0x52b254(0x178)][_0x52b254(0x12a)](_0x545fff=>_0x545fff[_0x52b254(0x138)]===_0x9c7f2d))return!0x1;let _0x153d14=!0x1;const _0x5265bb=_0x9c7f2d[_0x52b254(0x11d)](_0x52b254(0x16a)),_0x3dc108=this[_0x52b254(0x178)][_0x52b254(0x120)](_0x4a378a=>_0x4a378a['id']===_0x5265bb);-0x1!==_0x3dc108&&(_0x38e80b[_0x52b254(0x13e)](this[_0x52b254(0x178)][_0x3dc108][_0x52b254(0x138)]),this[_0x52b254(0x178)][_0x52b254(0x177)](_0x3dc108,0x1),_0x153d14=!0x0);let _0x2df694=this[_0x52b254(0x143)]?function(_0x589bf0,_0x2940c2){const _0x279532=_0x52b254;for(const _0x19c8f9 of _0x589bf0[_0x279532(0x152)]())if(_0x19c8f9[_0x279532(0x11d)](_0x279532(0x16a))===_0x2940c2)return _0x19c8f9;return null;}(this[_0x52b254(0x143)],_0x5265bb):null;_0x2df694||(_0x2df694=_0x38e80b[_0x52b254(0x14c)](_0x52b254(0x12e),{'footnoteId':_0x5265bb}),this[_0x52b254(0x143)]&&(_0x38e80b[_0x52b254(0x170)](_0x2df694,this[_0x52b254(0x143)],_0x52b254(0x11c)),_0x153d14=!0x0));const _0x55c2f0={'id':_0x5265bb,'reference':_0x9c7f2d,'definition':_0x2df694},_0x3d0692=I(this[_0x52b254(0x15b)][_0x52b254(0x162)],this[_0x52b254(0x178)],_0x9c7f2d);this[_0x52b254(0x178)][_0x52b254(0x177)](_0x3d0692,0x0,_0x55c2f0);let _0x13b0d7=_0x3d0692;return-0x1!==_0x3dc108&&(_0x13b0d7=Math[_0x52b254(0x14a)](_0x3d0692,_0x3dc108)),this[_0x52b254(0x131)](_0x38e80b,_0x13b0d7)&&(_0x153d14=!0x0),_0x153d14;}[_0x1b6287(0x154)](_0xd89b18,_0x1ed5c0){const _0x4d64ec=_0x1b6287,_0x389116=this[_0x4d64ec(0x178)][_0x4d64ec(0x120)](_0x18f3c5=>_0x18f3c5['id']===_0x1ed5c0);if(-0x1===_0x389116)return!0x1;let _0x25e3a9=!0x1;const _0x4c97e5=this[_0x4d64ec(0x178)][_0x389116];return _0x4d64ec(0x142)!==_0x4c97e5[_0x4d64ec(0x174)][_0x4d64ec(0x16b)][_0x4d64ec(0x11b)]&&(_0xd89b18[_0x4d64ec(0x13e)](_0x4c97e5[_0x4d64ec(0x174)]),_0x25e3a9=!0x0),this[_0x4d64ec(0x178)][_0x4d64ec(0x177)](_0x389116,0x1),this[_0x4d64ec(0x131)](_0xd89b18,_0x389116)&&(_0x25e3a9=!0x0),_0x25e3a9;}[_0x1b6287(0x166)](_0x41651e,_0x2e9f51){const _0x4ece90=_0x1b6287,_0x4f8e2f=_0x2e9f51[_0x4ece90(0x11d)](_0x4ece90(0x16a)),_0x24865e=this[_0x4ece90(0x178)][_0x4ece90(0x120)](_0xb95029=>_0xb95029['id']===_0x4f8e2f),_0x5a4e32=this[_0x4ece90(0x178)][_0x24865e];let _0x3aaa8d=!0x1;_0x5a4e32[_0x4ece90(0x138)]=_0x2e9f51,this[_0x4ece90(0x178)][_0x4ece90(0x177)](_0x24865e,0x1);const _0x4c09ec=I(this[_0x4ece90(0x15b)][_0x4ece90(0x162)],this[_0x4ece90(0x178)],_0x2e9f51);return this[_0x4ece90(0x178)][_0x4ece90(0x177)](_0x4c09ec,0x0,_0x5a4e32),this[_0x4ece90(0x131)](_0x41651e,Math[_0x4ece90(0x14a)](_0x24865e,_0x4c09ec))&&(_0x3aaa8d=!0x0),_0x3aaa8d;}[_0x1b6287(0x128)](_0x561cb3,_0x43cdd7){const _0x2d82ea=_0x1b6287;if(!this[_0x2d82ea(0x143)])return!0x1;const _0x430cc0=this[_0x2d82ea(0x178)][_0x43cdd7];let _0x4ef646;return _0x4ef646=this[_0x2d82ea(0x145)]?this[_0x2d82ea(0x145)]({'footnote':_0x430cc0,'container':this[_0x2d82ea(0x143)],'digits':String(this[_0x2d82ea(0x178)][_0x2d82ea(0x11e)])[_0x2d82ea(0x11e)],'value':_0x43cdd7+0x1}):String(_0x43cdd7+0x1),_0x430cc0[_0x2d82ea(0x138)][_0x2d82ea(0x11d)](_0x2d82ea(0x127))!=_0x4ef646&&(_0x561cb3[_0x2d82ea(0x133)](_0x2d82ea(0x127),_0x4ef646,_0x430cc0[_0x2d82ea(0x138)]),!0x0);}[_0x1b6287(0x16e)](_0x28fc8e){const _0x50a861=_0x1b6287;if(!this[_0x50a861(0x143)]||this[_0x50a861(0x178)][_0x50a861(0x11e)]<0x2)return!0x1;if(function(_0x45fa8b,_0x3684b6){const _0x19376a=_0x50a861;if(_0x45fa8b[_0x19376a(0x11e)]!==_0x3684b6[_0x19376a(0x11e)])return!0x1;for(let _0xb878c0=0x0;_0xb878c0<_0x45fa8b[_0x19376a(0x11e)];_0xb878c0++)if(_0x45fa8b[_0xb878c0]!==_0x3684b6[_0xb878c0])return!0x1;return!0x0;}(this[_0x50a861(0x178)][_0x50a861(0x119)](_0x48a990=>_0x48a990['id']),Array[_0x50a861(0x11f)](this[_0x50a861(0x143)][_0x50a861(0x152)]())[_0x50a861(0x119)](_0x3a2f8f=>_0x3a2f8f[_0x50a861(0x11d)](_0x50a861(0x16a)))))return!0x1;let _0x414faf=!0x1;for(let _0x3b4d69=0x0;_0x3b4d69<this[_0x50a861(0x178)][_0x50a861(0x11e)];_0x3b4d69++){const _0x4f5180=this[_0x50a861(0x178)][_0x3b4d69],_0x44efe5=_0x28fc8e[_0x50a861(0x151)](_0x4f5180[_0x50a861(0x174)]),_0x2f33a6=_0x28fc8e[_0x50a861(0x146)](this[_0x50a861(0x143)],_0x3b4d69);_0x44efe5[_0x50a861(0x156)](_0x2f33a6)||(_0x28fc8e[_0x50a861(0x117)](_0x28fc8e[_0x50a861(0x13d)](_0x4f5180[_0x50a861(0x174)]),_0x2f33a6),_0x414faf=!0x0);}return _0x414faf;}[_0x1b6287(0x149)](_0x32ae5c){const _0x14075c=_0x1b6287;if(!this[_0x14075c(0x178)][_0x14075c(0x11e)])return!0x1;const {model:_0x31704f}=this[_0x14075c(0x15b)];let _0x3861cd=!0x1;for(let _0x1d3b9a=0x0;_0x1d3b9a<this[_0x14075c(0x178)][_0x14075c(0x11e)]-0x1;_0x1d3b9a++){const _0x11dd8e=this[_0x14075c(0x178)][_0x1d3b9a],_0x61209c=this[_0x14075c(0x178)][_0x1d3b9a+0x1],_0x1c90ad=_0x31704f[_0x14075c(0x151)](_0x11dd8e[_0x14075c(0x138)]),_0x14e220=_0x31704f[_0x14075c(0x151)](_0x61209c[_0x14075c(0x138)]);_0x14075c(0x12f)===_0x1c90ad[_0x14075c(0x144)](_0x14e220)&&(this[_0x14075c(0x166)](_0x32ae5c,_0x11dd8e[_0x14075c(0x138)]),_0x1d3b9a=-0x1,_0x3861cd=!0x0);}return _0x3861cd;}}function _0x4a20(_0x3948d8,_0x347b65){const _0x2d64f1=_0x2d64();return _0x4a20=function(_0x4a2005,_0x1eb729){_0x4a2005=_0x4a2005-0x116;let _0x4761db=_0x2d64f1[_0x4a2005];return _0x4761db;},_0x4a20(_0x3948d8,_0x347b65);}function _(_0xe45adb,_0x380199,_0xa7a037){const _0x4bf758=_0x1b6287;if(_0xa7a037[_0x4bf758(0x15c)])return!0x1;const _0xb44f9b=_0x380199?_0x4bf758(0x134):_0x4bf758(0x165);return _0xe45adb[_0x4bf758(0x170)](_0xe45adb[_0x4bf758(0x14c)](_0xb44f9b),_0xa7a037),!0x0;}function I(_0x29345c,_0x3562ac,_0x282b5e){const _0x279939=_0x1b6287;if(0x0===_0x3562ac[_0x279939(0x11e)])return 0x0;const _0x1cbf85=_0x29345c[_0x279939(0x151)](_0x282b5e);for(let _0x4d15db=0x0;_0x4d15db<_0x3562ac[_0x279939(0x11e)];_0x4d15db++){const _0x58af39=_0x3562ac[_0x4d15db],_0x58e702=_0x29345c[_0x279939(0x151)](_0x58af39[_0x279939(0x138)]);if(_0x279939(0x16c)===_0x1cbf85[_0x279939(0x144)](_0x58e702))return _0x4d15db;}const _0xda253a=_0x282b5e[_0x279939(0x16b)];let _0x147ed6=-0x1;for(let _0x5bfd76=_0x3562ac[_0x279939(0x11e)]-0x1;_0x5bfd76>=0x0;_0x5bfd76--)if(_0x3562ac[_0x5bfd76][_0x279939(0x138)][_0x279939(0x16b)]===_0xda253a){_0x147ed6=_0x5bfd76;break;}if(-0x1!==_0x147ed6)return _0x147ed6+0x1;const _0x4abedd=_0x29345c[_0x279939(0x164)][_0x279939(0x15f)](),_0x39a01d=_0x4abedd[_0x279939(0x169)](_0xda253a[_0x279939(0x11b)]),_0x366ec3=_0x4abedd[_0x39a01d+0x1];if(_0x366ec3){for(let _0x5313a8=0x0;_0x5313a8<_0x3562ac[_0x279939(0x11e)];_0x5313a8++)if(_0x3562ac[_0x5313a8][_0x279939(0x138)][_0x279939(0x16b)][_0x279939(0x11b)]===_0x366ec3)return _0x5313a8;}return _0x3562ac[_0x279939(0x11e)];}function _0x2d64(){const _0x3a0d65=['1202222uXsaMI','createPositionBefore','getChildren','_insertEmptyFootnotesDefinitionsContainer','_handleRemoveFootnoteReferenceById','getFootnote','isEqual','pluginName','enqueueChange','getFootnotesFormatter','singleton','editor','childCount','footnoteRef','_ensureFootnotesDefinitionsContainerExists','getRootNames','893528yyVkDF','has','model','getChanges','document','footnoteInlineContent','_handleMovedFootnoteReference','_footnoteDefsContainerTracker','isOfficialPlugin','indexOf','footnoteId','root','before','some','_sortFootnoteDefinitions','low','insert','1925922lccUIs','248760mDTgoO','footnotesDefinitions','definition','isPremiumPlugin','createRangeIn','splice','_footnotes','parent','move','add','map','config','rootName','end','getAttribute','length','from','findIndex','_handleFootnotesDefinitionsObjectSync','high','registerPostFixer','set','_handleFootnoteReferencesChanges','_handleFootnotesDefinitionsObjectChanges','footnoteCounter','_updateFootnoteRefCounter','FootnotesTracker','find','unshift','778614ytvJuO','_footnoteDefsTracker','footnoteDefinition','after','append','_updateFootnotesCounters','footnotes.multiBlock','setAttribute','paragraph','setFootnoteFormatter','_footnoteRefsTracker','differ','reference','listenTo','384750DzojVl','getFootnotesDefinitionsObjectElement','getFootnotes','createRangeOn','remove','_handleInsertedFootnoteReference','_handleFootnoteDefinitionsChanges','96eykRXs','$graveyard','_footnotesDefinitions','compareWith','_footnoteFormatter','createPositionAt','get','reset','_ensureFootnotesReferencesHaveProperOrder','min','change:data','createElement','init','push','1146942YheiAn'];_0x2d64=function(){return _0x3a0d65;};return _0x2d64();}
23
+ function _0x1ea1(){const _0x1e16ed=['createRangeOn','low','_footnoteDefsContainerTracker','before','map','reference','1903592EkCGCB','setAttribute','footnoteId','init','config','isOfficialPlugin','has','get','_ensureFootnotesReferencesHaveProperOrder','_handleFootnoteDefinitionsChanges','createRangeIn','getFootnotesDefinitionsObjectElement','isEqual','7hqWtJw','getFootnotes','length','getChanges','isPremiumPlugin','getRootNames','getAttribute','getFootnote','childCount','root','_footnoteDefsTracker','createPositionAt','min','_handleRemoveFootnoteReferenceById','setFootnoteFormatter','parent','FootnotesTracker','footnoteInlineContent','footnotesDefinitions','footnoteRef','pluginName','enqueueChange','12fsXECj','findIndex','add','indexOf','model','remove','_updateFootnoteRefCounter','_ensureFootnotesDefinitionsContainerExists','_updateFootnotesCounters','_footnotes','_footnotesDefinitions','footnoteDefinition','getChildren','_handleInsertedFootnoteReference','85407mDFVnq','createPositionBefore','_footnoteRefsTracker','5072QvNVxr','splice','_footnoteFormatter','insert','_handleFootnotesDefinitionsObjectChanges','document','append','_sortFootnoteDefinitions','151314poXLel','footnoteCounter','getFootnotesFormatter','listenTo','push','_handleFootnoteReferencesChanges','change:data','30dNgOGp','footnotes.multiBlock','definition','1790074nnRUrz','end','paragraph','set','singleton','compareWith','from','151921JwpSXc','2959650QEZcwR','createElement','40srkllL','some','_handleMovedFootnoteReference','unshift','find','_insertEmptyFootnotesDefinitionsContainer','editor','reset','$graveyard','high','move','16fCcdaL','differ','_handleFootnotesDefinitionsObjectSync','rootName','after','registerPostFixer','15HnTYpI'];_0x1ea1=function(){return _0x1e16ed;};return _0x1ea1();}const _0x59e8fe=_0x2fb7;(function(_0x27b536,_0x5655a7){const _0x3a5c87=_0x2fb7,_0x918be6=_0x27b536();while(!![]){try{const _0x417ac8=-parseInt(_0x3a5c87(0x184))/0x1*(-parseInt(_0x3a5c87(0x1d0))/0x2)+-parseInt(_0x3a5c87(0x1cd))/0x3*(parseInt(_0x3a5c87(0x18f))/0x4)+-parseInt(_0x3a5c87(0x195))/0x5*(parseInt(_0x3a5c87(0x170))/0x6)+parseInt(_0x3a5c87(0x1a9))/0x7*(-parseInt(_0x3a5c87(0x19c))/0x8)+parseInt(_0x3a5c87(0x182))/0x9+parseInt(_0x3a5c87(0x177))/0xa*(parseInt(_0x3a5c87(0x181))/0xb)+parseInt(_0x3a5c87(0x1bf))/0xc*(parseInt(_0x3a5c87(0x17a))/0xd);if(_0x417ac8===_0x5655a7)break;else _0x918be6['push'](_0x918be6['shift']());}catch(_0x45aba1){_0x918be6['push'](_0x918be6['shift']());}}}(_0x1ea1,0x2c6b3));import{Plugin as _0x57f629}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x514335}from'./modelelementtracker.js';function _0x2fb7(_0x19a8aa,_0x201caa){const _0x1ea123=_0x1ea1();return _0x2fb7=function(_0x2fb777,_0x5385cd){_0x2fb777=_0x2fb777-0x16b;let _0x83f55b=_0x1ea123[_0x2fb777];return _0x83f55b;},_0x2fb7(_0x19a8aa,_0x201caa);}export class FootnotesTracker extends _0x57f629{[_0x59e8fe(0x1c8)]=[];[_0x59e8fe(0x1c9)]=null;[_0x59e8fe(0x1d2)]=null;[_0x59e8fe(0x198)];[_0x59e8fe(0x1cf)];[_0x59e8fe(0x1b3)];static get[_0x59e8fe(0x1bd)](){const _0x27f3ce=_0x59e8fe;return _0x27f3ce(0x1b9);}static get[_0x59e8fe(0x1a1)](){return!0x0;}static get[_0x59e8fe(0x1ad)](){return!0x0;}constructor(_0x39ec3d){const _0x2c28d0=_0x59e8fe;super(_0x39ec3d),this[_0x2c28d0(0x198)]=new _0x514335(this[_0x2c28d0(0x18a)][_0x2c28d0(0x1c3)],{'elementName':_0x2c28d0(0x1bb),'getElementKey':()=>_0x2c28d0(0x17e)}),this[_0x2c28d0(0x1cf)]=new _0x514335(this[_0x2c28d0(0x18a)][_0x2c28d0(0x1c3)],{'elementName':_0x2c28d0(0x1bc),'getElementKey':_0x30c597=>_0x30c597[_0x2c28d0(0x1af)](_0x2c28d0(0x19e))}),this[_0x2c28d0(0x1b3)]=new _0x514335(this[_0x2c28d0(0x18a)][_0x2c28d0(0x1c3)],{'elementName':_0x2c28d0(0x1ca),'getElementKey':_0x29b43e=>_0x29b43e[_0x2c28d0(0x1af)](_0x2c28d0(0x19e))});}[_0x59e8fe(0x19f)](){const _0x58911f=_0x59e8fe,{editor:_0x45fc36}=this,{model:_0x3f2943,data:_0x382c3f}=_0x45fc36;_0x3f2943[_0x58911f(0x16d)][_0x58911f(0x194)](_0x5c9008=>{const _0x580ea1=_0x58911f,_0x871f78=_0x3f2943[_0x580ea1(0x16d)][_0x580ea1(0x190)][_0x580ea1(0x1ac)]();let _0x2dd65f=!0x1;return this[_0x580ea1(0x16c)](_0x5c9008,_0x871f78)&&(_0x2dd65f=!0x0),this[_0x580ea1(0x1a5)](_0x5c9008,_0x871f78)&&(_0x2dd65f=!0x0),this[_0x580ea1(0x175)](_0x5c9008,_0x871f78)&&(_0x2dd65f=!0x0),this[_0x580ea1(0x1a4)](_0x5c9008)&&(_0x2dd65f=!0x0),this[_0x580ea1(0x191)](_0x5c9008)&&(_0x2dd65f=!0x0),this[_0x580ea1(0x16f)](_0x5c9008)&&(_0x2dd65f=!0x0),_0x2dd65f;}),this[_0x58911f(0x173)](_0x3f2943[_0x58911f(0x16d)],_0x58911f(0x176),()=>{const _0x680a31=_0x58911f;_0x3f2943[_0x680a31(0x1be)]({'isUndoable':!0x1},_0xf4d6bd=>{const _0xcedf72=_0x680a31;this[_0xcedf72(0x1c6)](_0xf4d6bd);});},{'priority':_0x58911f(0x197)}),this[_0x58911f(0x173)](_0x382c3f,_0x58911f(0x17d),()=>{const _0x203a0a=_0x58911f;this[_0x203a0a(0x1c8)]=[],this[_0x203a0a(0x198)][_0x203a0a(0x18b)](),this[_0x203a0a(0x1cf)][_0x203a0a(0x18b)](),this[_0x203a0a(0x1b3)][_0x203a0a(0x18b)]();},{'priority':_0x58911f(0x18d)});}[_0x59e8fe(0x1a7)](){const _0x5d4fce=_0x59e8fe;return this[_0x5d4fce(0x1c9)];}[_0x59e8fe(0x1b0)](_0x342f60){const _0x597e70=_0x59e8fe;return this[_0x597e70(0x1c8)][_0x597e70(0x188)](_0x4ed03a=>_0x4ed03a['id']===_0x342f60)||null;}[_0x59e8fe(0x1aa)](){const _0x119eca=_0x59e8fe;return Array[_0x119eca(0x180)](this[_0x119eca(0x1c8)]);}[_0x59e8fe(0x172)](){const _0x3aa2cf=_0x59e8fe;return this[_0x3aa2cf(0x1d2)];}[_0x59e8fe(0x1b7)](_0x377e71){const _0x376bd1=_0x59e8fe;this[_0x376bd1(0x1d2)]=_0x377e71;}[_0x59e8fe(0x1c7)](_0x3386e2,_0xb5cd4d=0x0){const _0x3d3361=_0x59e8fe;let _0x580dc7=!0x1;for(let _0x3b1db9=_0xb5cd4d;_0x3b1db9<this[_0x3d3361(0x1c8)][_0x3d3361(0x1ab)];_0x3b1db9++)this[_0x3d3361(0x1c5)](_0x3386e2,_0x3b1db9)&&(_0x580dc7=!0x0);return _0x580dc7;}[_0x59e8fe(0x189)](_0x31ee7b,_0x267fea){const _0x17578a=_0x59e8fe,_0x807fd5=_0x31ee7b[_0x17578a(0x183)](_0x17578a(0x1bb),{});return _0x31ee7b[_0x17578a(0x16e)](_0x807fd5,_0x267fea),this[_0x17578a(0x1c9)]=_0x807fd5,_0x807fd5;}[_0x59e8fe(0x1c6)](_0x192acb){const _0x5d5c67=_0x59e8fe;if(!this[_0x5d5c67(0x1c8)][_0x5d5c67(0x1ab)]||this[_0x5d5c67(0x1c9)])return;const _0xfe4176=this[_0x5d5c67(0x1c8)][0x0][_0x5d5c67(0x19b)][_0x5d5c67(0x1b2)],_0x85c9a8=this[_0x5d5c67(0x189)](_0x192acb,_0xfe4176);for(const _0x23c079 of this[_0x5d5c67(0x1c8)])_0x23c079[_0x5d5c67(0x179)][_0x5d5c67(0x1b8)]||_0x192acb[_0x5d5c67(0x16b)](_0x23c079[_0x5d5c67(0x179)],_0x85c9a8,_0x5d5c67(0x17b));this[_0x5d5c67(0x1c7)](_0x192acb);}[_0x59e8fe(0x16c)](_0x1b9e1e,_0x50db7f){const _0x399132=_0x59e8fe;let _0x234ac9=!0x1;const {inserted:_0x2bbc7c,removed:_0x3292e0,moved:_0x47f6f1}=this[_0x399132(0x198)][_0x399132(0x1ac)](_0x50db7f);if(_0x47f6f1[_0x399132(0x1ab)]&&(this[_0x399132(0x1c9)]=_0x47f6f1[0x0]),_0x2bbc7c[_0x399132(0x1ab)]){if(_0x2bbc7c[_0x399132(0x1ab)]>0x1||this[_0x399132(0x1c9)]&&_0x2bbc7c[_0x399132(0x185)](_0x2c3d14=>_0x2c3d14!==this[_0x399132(0x1c9)])){const _0x3df3e8=_0x1b9e1e[_0x399132(0x183)](_0x399132(0x1bb),{}),_0x42de00=[];this[_0x399132(0x1c9)]&&_0x42de00[_0x399132(0x174)](this[_0x399132(0x1c9)]),_0x42de00[_0x399132(0x174)](..._0x2bbc7c),_0x1b9e1e[_0x399132(0x16b)](_0x3df3e8,_0x42de00[0x0],_0x399132(0x199));for(const _0x49d7e6 of _0x42de00)_0x1b9e1e[_0x399132(0x18e)](_0x1b9e1e[_0x399132(0x1a6)](_0x49d7e6),_0x1b9e1e[_0x399132(0x1b4)](_0x3df3e8,_0x399132(0x17b))),_0x1b9e1e[_0x399132(0x1c4)](_0x49d7e6);this[_0x399132(0x1c9)]=_0x3df3e8,this[_0x399132(0x1c7)](_0x1b9e1e),_0x234ac9=!0x0;}else this[_0x399132(0x1c9)]=_0x2bbc7c[0x0];}if(_0x3292e0[_0x399132(0x1ab)]&&_0x399132(0x18c)===this[_0x399132(0x1c9)]?.[_0x399132(0x1b2)][_0x399132(0x192)]){for(const _0x27d0d1 of this[_0x399132(0x1c8)])_0x1b9e1e[_0x399132(0x1c4)](_0x27d0d1[_0x399132(0x19b)]),_0x234ac9=!0x0;this[_0x399132(0x1c8)]=[],this[_0x399132(0x1c9)]=null;}return _0x234ac9;}[_0x59e8fe(0x1a5)](_0x3ff7cd,_0x3f873b){const _0x465e55=_0x59e8fe;let _0xfae349=!0x1;const _0x4c8705=this[_0x465e55(0x18a)][_0x465e55(0x1a0)][_0x465e55(0x1a3)](_0x465e55(0x178)),{inserted:_0x37d169,moved:_0x4261eb}=this[_0x465e55(0x1b3)][_0x465e55(0x1ac)](_0x3f873b);for(const _0x4dd3f4 of[..._0x4261eb,..._0x37d169]){const _0x3ae40f=_0x4dd3f4[_0x465e55(0x1af)](_0x465e55(0x19e)),_0x42638c=this[_0x465e55(0x1b0)](_0x3ae40f);_0x42638c&&(_0x42638c[_0x465e55(0x179)]=_0x4dd3f4),_(_0x3ff7cd,_0x4c8705,_0x4dd3f4)&&(_0xfae349=!0x0);}return _0xfae349;}[_0x59e8fe(0x175)](_0x58b83b,_0x31d1bc){const _0x68465d=_0x59e8fe;let _0x1bdd66=!0x1;const {removed:_0x3e349d,inserted:_0x1029a2,moved:_0xc07e6b}=this[_0x68465d(0x1cf)][_0x68465d(0x1ac)](_0x31d1bc);for(const _0x398eb4 of _0x3e349d)this[_0x68465d(0x1b6)](_0x58b83b,_0x398eb4)&&(_0x1bdd66=!0x0);for(const _0x2a38c8 of _0x1029a2)this[_0x68465d(0x1cc)](_0x58b83b,_0x2a38c8)&&(_0x1bdd66=!0x0);for(const _0x42db52 of _0xc07e6b)this[_0x68465d(0x186)](_0x58b83b,_0x42db52)&&(_0x1bdd66=!0x0);return _0x1bdd66;}[_0x59e8fe(0x191)](_0x2a0225){const _0x1e5f2b=_0x59e8fe;if(!this[_0x1e5f2b(0x1c9)])return!0x1;let _0x396502=!0x1;if(this[_0x1e5f2b(0x1c9)][_0x1e5f2b(0x1b1)]!==this[_0x1e5f2b(0x1c8)][_0x1e5f2b(0x1ab)]){const _0x196957=[];for(const _0x3b3a6b of this[_0x1e5f2b(0x1c9)][_0x1e5f2b(0x1cb)]()){const _0x58e2a5=_0x3b3a6b[_0x1e5f2b(0x1af)](_0x1e5f2b(0x19e));this[_0x1e5f2b(0x1b0)](_0x58e2a5)||(_0x196957[_0x1e5f2b(0x187)](_0x3b3a6b),_0x396502=!0x0);}for(const _0xa6ddf of _0x196957)_0x2a0225[_0x1e5f2b(0x1c4)](_0xa6ddf);}const _0x5a27c9=new Set(),_0x2bbeed=[];for(const _0x5eba83 of this[_0x1e5f2b(0x1c9)][_0x1e5f2b(0x1cb)]()){const _0x3efcc0=_0x5eba83[_0x1e5f2b(0x1af)](_0x1e5f2b(0x19e));_0x5a27c9[_0x1e5f2b(0x1a2)](_0x3efcc0)?(_0x2bbeed[_0x1e5f2b(0x187)](_0x5eba83),_0x396502=!0x0):_0x5a27c9[_0x1e5f2b(0x1c1)](_0x3efcc0);}for(const _0x4dbf37 of _0x2bbeed)_0x2a0225[_0x1e5f2b(0x1c4)](_0x4dbf37);return this[_0x1e5f2b(0x1c9)][_0x1e5f2b(0x1b1)]||(_0x2a0225[_0x1e5f2b(0x1c4)](this[_0x1e5f2b(0x1c9)]),this[_0x1e5f2b(0x1c9)]=null,_0x396502=!0x0),_0x396502;}[_0x59e8fe(0x1cc)](_0x444378,_0x52884b){const _0x316586=_0x59e8fe;if(this[_0x316586(0x1c8)][_0x316586(0x188)](_0xa16c86=>_0xa16c86[_0x316586(0x19b)]===_0x52884b))return!0x1;let _0x219e48=!0x1;const _0x46ac29=_0x52884b[_0x316586(0x1af)](_0x316586(0x19e)),_0x52012b=this[_0x316586(0x1c8)][_0x316586(0x1c0)](_0x3e452d=>_0x3e452d['id']===_0x46ac29);-0x1!==_0x52012b&&(_0x444378[_0x316586(0x1c4)](this[_0x316586(0x1c8)][_0x52012b][_0x316586(0x19b)]),this[_0x316586(0x1c8)][_0x316586(0x1d1)](_0x52012b,0x1),_0x219e48=!0x0);let _0x7fe837=this[_0x316586(0x1c9)]?function(_0x43c822,_0x366221){const _0x27b4f8=_0x316586;for(const _0x37a671 of _0x43c822[_0x27b4f8(0x1cb)]())if(_0x37a671[_0x27b4f8(0x1af)](_0x27b4f8(0x19e))===_0x366221)return _0x37a671;return null;}(this[_0x316586(0x1c9)],_0x46ac29):null;_0x7fe837||(_0x7fe837=_0x444378[_0x316586(0x183)](_0x316586(0x1ca),{'footnoteId':_0x46ac29}),this[_0x316586(0x1c9)]&&(_0x444378[_0x316586(0x16b)](_0x7fe837,this[_0x316586(0x1c9)],_0x316586(0x17b)),_0x219e48=!0x0));const _0x1d8a4d={'id':_0x46ac29,'reference':_0x52884b,'definition':_0x7fe837},_0x50ef88=I(this[_0x316586(0x18a)][_0x316586(0x1c3)],this[_0x316586(0x1c8)],_0x52884b);this[_0x316586(0x1c8)][_0x316586(0x1d1)](_0x50ef88,0x0,_0x1d8a4d);let _0x333a44=_0x50ef88;return-0x1!==_0x52012b&&(_0x333a44=Math[_0x316586(0x1b5)](_0x50ef88,_0x52012b)),this[_0x316586(0x1c7)](_0x444378,_0x333a44)&&(_0x219e48=!0x0),_0x219e48;}[_0x59e8fe(0x1b6)](_0x28c1ac,_0x47d17e){const _0x2f6396=_0x59e8fe,_0x1d94bf=this[_0x2f6396(0x1c8)][_0x2f6396(0x1c0)](_0x2871ad=>_0x2871ad['id']===_0x47d17e);if(-0x1===_0x1d94bf)return!0x1;let _0x3d6b30=!0x1;const _0x425ff2=this[_0x2f6396(0x1c8)][_0x1d94bf];return _0x2f6396(0x18c)!==_0x425ff2[_0x2f6396(0x179)][_0x2f6396(0x1b2)][_0x2f6396(0x192)]&&(_0x28c1ac[_0x2f6396(0x1c4)](_0x425ff2[_0x2f6396(0x179)]),_0x3d6b30=!0x0),this[_0x2f6396(0x1c8)][_0x2f6396(0x1d1)](_0x1d94bf,0x1),this[_0x2f6396(0x1c7)](_0x28c1ac,_0x1d94bf)&&(_0x3d6b30=!0x0),_0x3d6b30;}[_0x59e8fe(0x186)](_0x48eee1,_0x192f28){const _0x36b643=_0x59e8fe,_0x2ad5cb=_0x192f28[_0x36b643(0x1af)](_0x36b643(0x19e)),_0x596f8b=this[_0x36b643(0x1c8)][_0x36b643(0x1c0)](_0x825249=>_0x825249['id']===_0x2ad5cb),_0x3cad62=this[_0x36b643(0x1c8)][_0x596f8b];let _0x556919=!0x1;_0x3cad62[_0x36b643(0x19b)]=_0x192f28,this[_0x36b643(0x1c8)][_0x36b643(0x1d1)](_0x596f8b,0x1);const _0x356798=I(this[_0x36b643(0x18a)][_0x36b643(0x1c3)],this[_0x36b643(0x1c8)],_0x192f28);return this[_0x36b643(0x1c8)][_0x36b643(0x1d1)](_0x356798,0x0,_0x3cad62),this[_0x36b643(0x1c7)](_0x48eee1,Math[_0x36b643(0x1b5)](_0x596f8b,_0x356798))&&(_0x556919=!0x0),_0x556919;}[_0x59e8fe(0x1c5)](_0x210af3,_0x18a13b){const _0x16c4aa=_0x59e8fe;if(!this[_0x16c4aa(0x1c9)])return!0x1;const _0x591595=this[_0x16c4aa(0x1c8)][_0x18a13b];let _0x4df7c4;return _0x4df7c4=this[_0x16c4aa(0x1d2)]?this[_0x16c4aa(0x1d2)]({'footnote':_0x591595,'container':this[_0x16c4aa(0x1c9)],'digits':String(this[_0x16c4aa(0x1c8)][_0x16c4aa(0x1ab)])[_0x16c4aa(0x1ab)],'value':_0x18a13b+0x1}):String(_0x18a13b+0x1),_0x591595[_0x16c4aa(0x19b)][_0x16c4aa(0x1af)](_0x16c4aa(0x171))!=_0x4df7c4&&(_0x210af3[_0x16c4aa(0x19d)](_0x16c4aa(0x171),_0x4df7c4,_0x591595[_0x16c4aa(0x19b)]),!0x0);}[_0x59e8fe(0x16f)](_0xc8bc20){const _0x3201aa=_0x59e8fe;if(!this[_0x3201aa(0x1c9)]||this[_0x3201aa(0x1c8)][_0x3201aa(0x1ab)]<0x2)return!0x1;if(function(_0x4c6cf5,_0x1dd6b9){const _0x4f297a=_0x3201aa;if(_0x4c6cf5[_0x4f297a(0x1ab)]!==_0x1dd6b9[_0x4f297a(0x1ab)])return!0x1;for(let _0x627ec6=0x0;_0x627ec6<_0x4c6cf5[_0x4f297a(0x1ab)];_0x627ec6++)if(_0x4c6cf5[_0x627ec6]!==_0x1dd6b9[_0x627ec6])return!0x1;return!0x0;}(this[_0x3201aa(0x1c8)][_0x3201aa(0x19a)](_0x5af880=>_0x5af880['id']),Array[_0x3201aa(0x180)](this[_0x3201aa(0x1c9)][_0x3201aa(0x1cb)]())[_0x3201aa(0x19a)](_0x5828cc=>_0x5828cc[_0x3201aa(0x1af)](_0x3201aa(0x19e)))))return!0x1;let _0x449b78=!0x1;for(let _0x3d82c5=0x0;_0x3d82c5<this[_0x3201aa(0x1c8)][_0x3201aa(0x1ab)];_0x3d82c5++){const _0x2ef3bc=this[_0x3201aa(0x1c8)][_0x3d82c5],_0x59f50d=_0xc8bc20[_0x3201aa(0x1ce)](_0x2ef3bc[_0x3201aa(0x179)]),_0x313178=_0xc8bc20[_0x3201aa(0x1b4)](this[_0x3201aa(0x1c9)],_0x3d82c5);_0x59f50d[_0x3201aa(0x1a8)](_0x313178)||(_0xc8bc20[_0x3201aa(0x18e)](_0xc8bc20[_0x3201aa(0x196)](_0x2ef3bc[_0x3201aa(0x179)]),_0x313178),_0x449b78=!0x0);}return _0x449b78;}[_0x59e8fe(0x1a4)](_0x23ede8){const _0x2109ab=_0x59e8fe;if(!this[_0x2109ab(0x1c8)][_0x2109ab(0x1ab)])return!0x1;const {model:_0x2eafd4}=this[_0x2109ab(0x18a)];let _0x331907=!0x1;for(let _0x3863db=0x0;_0x3863db<this[_0x2109ab(0x1c8)][_0x2109ab(0x1ab)]-0x1;_0x3863db++){const _0x271d75=this[_0x2109ab(0x1c8)][_0x3863db],_0x6d8f1b=this[_0x2109ab(0x1c8)][_0x3863db+0x1],_0x29f9af=_0x2eafd4[_0x2109ab(0x1ce)](_0x271d75[_0x2109ab(0x19b)]),_0x14f5a5=_0x2eafd4[_0x2109ab(0x1ce)](_0x6d8f1b[_0x2109ab(0x19b)]);_0x2109ab(0x193)===_0x29f9af[_0x2109ab(0x17f)](_0x14f5a5)&&(this[_0x2109ab(0x186)](_0x23ede8,_0x271d75[_0x2109ab(0x19b)]),_0x3863db=-0x1,_0x331907=!0x0);}return _0x331907;}}function _(_0x41bc24,_0x45db2a,_0x1f8b6d){const _0x48f551=_0x59e8fe;if(_0x1f8b6d[_0x48f551(0x1b1)])return!0x1;const _0x986264=_0x45db2a?_0x48f551(0x17c):_0x48f551(0x1ba);return _0x41bc24[_0x48f551(0x16b)](_0x41bc24[_0x48f551(0x183)](_0x986264),_0x1f8b6d),!0x0;}function I(_0x34bbcc,_0x55ea7f,_0x353600){const _0x2d4cd1=_0x59e8fe;if(0x0===_0x55ea7f[_0x2d4cd1(0x1ab)])return 0x0;const _0x5362a0=_0x34bbcc[_0x2d4cd1(0x1ce)](_0x353600);for(let _0x12689b=0x0;_0x12689b<_0x55ea7f[_0x2d4cd1(0x1ab)];_0x12689b++){const _0x2a6d60=_0x55ea7f[_0x12689b],_0x46e874=_0x34bbcc[_0x2d4cd1(0x1ce)](_0x2a6d60[_0x2d4cd1(0x19b)]);if(_0x2d4cd1(0x199)===_0x5362a0[_0x2d4cd1(0x17f)](_0x46e874))return _0x12689b;}const _0x281344=_0x353600[_0x2d4cd1(0x1b2)];let _0x35a689=-0x1;for(let _0x280c1b=_0x55ea7f[_0x2d4cd1(0x1ab)]-0x1;_0x280c1b>=0x0;_0x280c1b--)if(_0x55ea7f[_0x280c1b][_0x2d4cd1(0x19b)][_0x2d4cd1(0x1b2)]===_0x281344){_0x35a689=_0x280c1b;break;}if(-0x1!==_0x35a689)return _0x35a689+0x1;const _0x1556e3=_0x34bbcc[_0x2d4cd1(0x16d)][_0x2d4cd1(0x1ae)](),_0x2cbff2=_0x1556e3[_0x2d4cd1(0x1c2)](_0x281344[_0x2d4cd1(0x192)]),_0x58a08a=_0x1556e3[_0x2cbff2+0x1];if(_0x58a08a){for(let _0x528ceb=0x0;_0x528ceb<_0x55ea7f[_0x2d4cd1(0x1ab)];_0x528ceb++)if(_0x55ea7f[_0x528ceb][_0x2d4cd1(0x19b)][_0x2d4cd1(0x1b2)][_0x2d4cd1(0x192)]===_0x58a08a)return _0x528ceb;}return _0x55ea7f[_0x2d4cd1(0x1ab)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x47278f,MenuBarMenuListItemButtonView as _0x215501}from'ckeditor5/src/ui.js';import{Plugin as _0x8ed065}from'ckeditor5/src/core.js';import{IconFootnote as _0x5891ac}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x8ed065{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2710c6}=this,{componentFactory:_0x583ca7}=_0x2710c6['ui'];_0x583ca7['add']('insertFootnote',x(_0x2710c6,_0x47278f)),_0x583ca7['add']('menuBar:insertFootnote',x(_0x2710c6,_0x215501)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4650a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ccc0d;for(const _0x5ce88f in _0x4650a3){const _0x411868=_0x5ce88f,_0xcd552a=_0x4650a3[_0x411868];if('footnotesLicenseKeyValid'==_0xcd552a||'footnotesLicenseKeyInvalid'==_0xcd552a||'footnotesLicenseKeyExpired'==_0xcd552a||'footnotesLicenseKeyDomainLimit'==_0xcd552a||'footnotesLicenseKeyNotAllowed'==_0xcd552a||'footnotesLicenseKeyEvaluationLimit'==_0xcd552a||'footnotesLicenseKeyTrialLimit'==_0xcd552a||'footnotesLicenseKeyUsageLimit'==_0xcd552a){delete _0x4650a3[_0x411868],_0x5ccc0d=_0xcd552a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1194f2,_0x1451da){const _0x1ebfa2=_0x1194f2['commands']['get']('insertFootnote');return _0x4b4dc0=>{const {t:t}=_0x4b4dc0,_0x5567f7=new _0x1451da(_0x4b4dc0),_0x492b85=_0x5567f7 instanceof _0x215501;return _0x5567f7['bind']('isEnabled')['to'](_0x1ebfa2,'isEnabled'),_0x5567f7['set']({'label':t(_0x492b85?'Footnote':'Insert\x20footnote'),'icon':_0x5891ac,'tooltip':!0x0}),_0x5567f7['on']('execute',()=>{_0x1ebfa2['execute'](),_0x1194f2['editing']['view']['focus']();}),_0x5567f7;};}
23
+ import{ButtonView as _0x240bba,MenuBarMenuListItemButtonView as _0x3da696}from'ckeditor5/src/ui.js';import{Plugin as _0x37d6ad}from'ckeditor5/src/core.js';import{IconFootnote as _0x376f7f}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x37d6ad{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x538d52}=this,{componentFactory:_0x56faf7}=_0x538d52['ui'];_0x56faf7['add']('insertFootnote',E(_0x538d52,_0x240bba)),_0x56faf7['add']('menuBar:insertFootnote',E(_0x538d52,_0x3da696)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1118e8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51d95e;for(const _0x51a310 in _0x1118e8){const _0x392f8c=_0x51a310,_0x300ab1=_0x1118e8[_0x392f8c];if('footnotesLicenseKeyValid'==_0x300ab1||'footnotesLicenseKeyInvalid'==_0x300ab1||'footnotesLicenseKeyExpired'==_0x300ab1||'footnotesLicenseKeyDomainLimit'==_0x300ab1||'footnotesLicenseKeyNotAllowed'==_0x300ab1||'footnotesLicenseKeyEvaluationLimit'==_0x300ab1||'footnotesLicenseKeyTrialLimit'==_0x300ab1||'footnotesLicenseKeyUsageLimit'==_0x300ab1){delete _0x1118e8[_0x392f8c],_0x51d95e=_0x300ab1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x51d95e&&_0x1118e8['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x51d95e&&_0x1118e8['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x51d95e&&_0x1118e8['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x51d95e&&_0x1118e8['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x51d95e&&_0x1118e8['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x51d95e&&_0x1118e8['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x51d95e&&_0x1118e8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x472bef,_0x2d0554){const _0x4a30f4=_0x472bef['commands']['get']('insertFootnote');return _0x1126d4=>{const {t:t}=_0x1126d4,_0x4f0441=new _0x2d0554(_0x1126d4),_0x5f281a=_0x4f0441 instanceof _0x3da696;return _0x4f0441['bind']('isEnabled')['to'](_0x4a30f4,'isEnabled'),_0x4f0441['set']({'label':t(_0x5f281a?'Footnote':'Insert\x20footnote'),'icon':_0x376f7f,'tooltip':!0x0}),_0x4f0441['on']('execute',()=>{_0x4a30f4['execute'](),_0x472bef['editing']['view']['focus']();}),_0x4f0441;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x548953,_0x4a3c42){var _0x1425f5=_0x5d78,_0x11eeed=_0x548953();while(!![]){try{var _0x822766=-parseInt(_0x1425f5(0xbc))/0x1*(parseInt(_0x1425f5(0xbe))/0x2)+-parseInt(_0x1425f5(0xc1))/0x3+parseInt(_0x1425f5(0xc2))/0x4*(-parseInt(_0x1425f5(0xb9))/0x5)+parseInt(_0x1425f5(0xbf))/0x6+-parseInt(_0x1425f5(0xbb))/0x7*(-parseInt(_0x1425f5(0xba))/0x8)+parseInt(_0x1425f5(0xc0))/0x9+parseInt(_0x1425f5(0xbd))/0xa;if(_0x822766===_0x4a3c42)break;else _0x11eeed['push'](_0x11eeed['shift']());}catch(_0x386487){_0x11eeed['push'](_0x11eeed['shift']());}}}(_0x35f1,0x9b0ef));import'./augmentation.js';function _0x5d78(_0x2e16c9,_0x178ea1){var _0x35f1a7=_0x35f1();return _0x5d78=function(_0x5d78ce,_0x3748a4){_0x5d78ce=_0x5d78ce-0xb9;var _0xf076de=_0x35f1a7[_0x5d78ce];return _0xf076de;},_0x5d78(_0x2e16c9,_0x178ea1);}function _0x35f1(){var _0x57087e=['1107729MacHEu','110XfeewY','5095170vbmozp','7832rpiukB','4437966BclnQS','5071545OqWSiA','1786605caQoqF','59620BONxih','210eUeVKi','24LCNNlr'];_0x35f1=function(){return _0x57087e;};return _0x35f1();}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';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x2a1f29,_0xd69ba5){var _0x5ce277=_0x2ea1,_0x19bd12=_0x2a1f29();while(!![]){try{var _0x5b122d=-parseInt(_0x5ce277(0x18e))/0x1*(parseInt(_0x5ce277(0x190))/0x2)+parseInt(_0x5ce277(0x196))/0x3*(parseInt(_0x5ce277(0x18b))/0x4)+-parseInt(_0x5ce277(0x18d))/0x5*(parseInt(_0x5ce277(0x191))/0x6)+-parseInt(_0x5ce277(0x194))/0x7*(-parseInt(_0x5ce277(0x195))/0x8)+-parseInt(_0x5ce277(0x197))/0x9*(-parseInt(_0x5ce277(0x192))/0xa)+parseInt(_0x5ce277(0x18c))/0xb+parseInt(_0x5ce277(0x193))/0xc*(-parseInt(_0x5ce277(0x18f))/0xd);if(_0x5b122d===_0xd69ba5)break;else _0x19bd12['push'](_0x19bd12['shift']());}catch(_0x256d61){_0x19bd12['push'](_0x19bd12['shift']());}}}(_0xbeb3,0x31e71));function _0x2ea1(_0x8fdafd,_0x494c31){var _0xbeb33b=_0xbeb3();return _0x2ea1=function(_0x2ea12d,_0xb04bf2){_0x2ea12d=_0x2ea12d-0x18b;var _0x1f6bdc=_0xbeb33b[_0x2ea12d];return _0x1f6bdc;},_0x2ea1(_0x8fdafd,_0x494c31);}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';function _0xbeb3(){var _0xab29f6=['152madaxy','30501qSHgcF','61407pTHlVz','44nhPRUc','1360403VVRuaN','5faIKAN','1zHoqHi','13ZGEQgK','162626JYoVKF','13122NHbceW','530EScDWG','4924380qAmHfx','37261rtfQVT'];_0xbeb3=function(){return _0xab29f6;};return _0xbeb3();}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
- function _0x4ca5(){const _0x3f735d=['6066632OYgXRO','type','slice','root','length','$text','from','name','getElementKey','_elementName','createRangeOn','1395108cDoplU','reset','get','add','attributes','flat','1258453iOgKGw','rootName','element','nodeAfter','4551306VTYQrl','3931480gaXcuG','getItems','insert','34hWXBqE','3358910JboGuv','clear','has','_trackedElements','values','remove','delete','4301hArhDe','elementName','position','getChanges','push','$graveyard','_model','set','_getElementKey'];_0x4ca5=function(){return _0x3f735d;};return _0x4ca5();}const _0xc93fcc=_0x3c10;function _0x3c10(_0x39e9fd,_0x3aa970){const _0x4ca52b=_0x4ca5();return _0x3c10=function(_0x3c10a4,_0x33b325){_0x3c10a4=_0x3c10a4-0x1c9;let _0x456cfc=_0x4ca52b[_0x3c10a4];return _0x456cfc;},_0x3c10(_0x39e9fd,_0x3aa970);}(function(_0x475209,_0x21d3eb){const _0x5bab70=_0x3c10,_0xea3b09=_0x475209();while(!![]){try{const _0x33b902=-parseInt(_0x5bab70(0x1ed))/0x1*(-parseInt(_0x5bab70(0x1e5))/0x2)+-parseInt(_0x5bab70(0x1d7))/0x3+-parseInt(_0x5bab70(0x1e2))/0x4+parseInt(_0x5bab70(0x1e6))/0x5+parseInt(_0x5bab70(0x1e1))/0x6+-parseInt(_0x5bab70(0x1dd))/0x7+parseInt(_0x5bab70(0x1cc))/0x8;if(_0x33b902===_0x21d3eb)break;else _0xea3b09['push'](_0xea3b09['shift']());}catch(_0x24e657){_0xea3b09['push'](_0xea3b09['shift']());}}}(_0x4ca5,0x9acee));export class ModelElementTracker{[_0xc93fcc(0x1c9)];[_0xc93fcc(0x1d5)];[_0xc93fcc(0x1cb)];[_0xc93fcc(0x1e9)]=new Map();constructor(_0xb9861f,_0x25066b){const _0x277cae=_0xc93fcc;this[_0x277cae(0x1c9)]=_0xb9861f,this[_0x277cae(0x1d5)]=_0x25066b[_0x277cae(0x1ee)],this[_0x277cae(0x1cb)]=_0x25066b[_0x277cae(0x1d4)];}[_0xc93fcc(0x1d8)](){const _0x27b38e=_0xc93fcc;this[_0x27b38e(0x1e9)][_0x27b38e(0x1e7)]();}[_0xc93fcc(0x1f0)](_0x244342){const _0x17d551=_0xc93fcc,_0x26fae9=new Set(),_0x11fdc9=new Map();for(const _0x3081fb of _0x244342){if(_0x17d551(0x1e4)===_0x3081fb[_0x17d551(0x1cd)]&&_0x17d551(0x1d1)!==_0x3081fb[_0x17d551(0x1d3)]&&_0x3081fb[_0x17d551(0x1ef)][_0x17d551(0x1e0)]){const _0x28d075=this[_0x17d551(0x1c9)][_0x17d551(0x1d6)](_0x3081fb[_0x17d551(0x1ef)][_0x17d551(0x1e0)]);for(const _0x415a87 of _0x28d075[_0x17d551(0x1e3)]()){if(!_0x415a87['is'](_0x17d551(0x1df),this[_0x17d551(0x1d5)]))continue;const _0x3c0585=this[_0x17d551(0x1cb)](_0x415a87);_0x11fdc9[_0x17d551(0x1e8)](_0x3c0585)||_0x11fdc9[_0x17d551(0x1ca)](_0x3c0585,[]),_0x11fdc9[_0x17d551(0x1d9)](_0x3c0585)[_0x17d551(0x1f1)](_0x415a87);}}if(_0x17d551(0x1eb)===_0x3081fb[_0x17d551(0x1cd)]&&_0x3081fb[_0x17d551(0x1d3)]===this[_0x17d551(0x1d5)]){const _0x3f370e=this[_0x17d551(0x1cb)]({'getAttribute':_0x3cfc09=>_0x3081fb[_0x17d551(0x1db)][_0x17d551(0x1d9)](_0x3cfc09)});_0x26fae9[_0x17d551(0x1da)](_0x3f370e);}}for(const [_0x218b56,_0x4e0298]of this[_0x17d551(0x1e9)])_0x17d551(0x1f2)===_0x4e0298[_0x17d551(0x1cf)][_0x17d551(0x1de)]&&_0x26fae9[_0x17d551(0x1da)](_0x218b56);for(const _0x31e1d5 of _0x26fae9)this[_0x17d551(0x1e9)][_0x17d551(0x1ec)](_0x31e1d5);for(const [_0x5da356,_0xb16b80]of _0x11fdc9)this[_0x17d551(0x1e9)][_0x17d551(0x1ca)](_0x5da356,_0xb16b80[_0xb16b80[_0x17d551(0x1d0)]-0x1]);const _0x233277=new Set();for(const [_0x421121,_0x1f75ec]of _0x11fdc9)_0x26fae9[_0x17d551(0x1e8)](_0x421121)&&(_0x233277[_0x17d551(0x1da)](_0x1f75ec[0x0]),_0x1f75ec[_0x17d551(0x1d0)]>0x1?_0x11fdc9[_0x17d551(0x1ca)](_0x421121,_0x1f75ec[_0x17d551(0x1ce)](0x1)):_0x11fdc9[_0x17d551(0x1ec)](_0x421121),_0x26fae9[_0x17d551(0x1ec)](_0x421121));return{'removed':Array[_0x17d551(0x1d2)](_0x26fae9),'inserted':Array[_0x17d551(0x1d2)](_0x11fdc9[_0x17d551(0x1ea)]())[_0x17d551(0x1dc)](),'moved':Array[_0x17d551(0x1d2)](_0x233277)};}}
23
+ const _0x2895d8=_0x1525;function _0x1525(_0x43cc20,_0x3786aa){const _0xab12f0=_0xab12();return _0x1525=function(_0x15254c,_0x167639){_0x15254c=_0x15254c-0x1d8;let _0xd40b8f=_0xab12f0[_0x15254c];return _0xd40b8f;},_0x1525(_0x43cc20,_0x3786aa);}function _0xab12(){const _0x2853fd=['length','position','_elementName','_model','12qgtnFh','flat','3195756atQJob','3006bhNaxd','push','$graveyard','175360KujckF','add','9976884yuUozj','has','1544LuZtHA','74367QUcJLp','251DfUkJX','_getElementKey','nodeAfter','root','13gMdBIr','name','3786167jSFfwu','set','getChanges','from','reset','getElementKey','insert','element','elementName','type','createRangeOn','22iwdhnO','$text','_trackedElements','get','rootName','slice','2972xCCRMM','5baUqLC','remove','getItems','clear','delete','attributes','values'];_0xab12=function(){return _0x2853fd;};return _0xab12();}(function(_0x9499f0,_0x291cf4){const _0x7a3cd7=_0x1525,_0x2d199a=_0x9499f0();while(!![]){try{const _0x2c470d=parseInt(_0x7a3cd7(0x204))/0x1*(-parseInt(_0x7a3cd7(0x1ec))/0x2)+parseInt(_0x7a3cd7(0x203))/0x3*(-parseInt(_0x7a3cd7(0x1f8))/0x4)+-parseInt(_0x7a3cd7(0x1ed))/0x5*(-parseInt(_0x7a3cd7(0x1fa))/0x6)+-parseInt(_0x7a3cd7(0x1db))/0x7+parseInt(_0x7a3cd7(0x202))/0x8*(-parseInt(_0x7a3cd7(0x1fb))/0x9)+parseInt(_0x7a3cd7(0x1fe))/0xa*(-parseInt(_0x7a3cd7(0x1e6))/0xb)+-parseInt(_0x7a3cd7(0x200))/0xc*(-parseInt(_0x7a3cd7(0x1d9))/0xd);if(_0x2c470d===_0x291cf4)break;else _0x2d199a['push'](_0x2d199a['shift']());}catch(_0x4a6a49){_0x2d199a['push'](_0x2d199a['shift']());}}}(_0xab12,0x43729));export class ModelElementTracker{[_0x2895d8(0x1f7)];[_0x2895d8(0x1f6)];[_0x2895d8(0x205)];[_0x2895d8(0x1e8)]=new Map();constructor(_0x4e8636,_0x3ea70a){const _0x28819c=_0x2895d8;this[_0x28819c(0x1f7)]=_0x4e8636,this[_0x28819c(0x1f6)]=_0x3ea70a[_0x28819c(0x1e3)],this[_0x28819c(0x205)]=_0x3ea70a[_0x28819c(0x1e0)];}[_0x2895d8(0x1df)](){const _0x1daf70=_0x2895d8;this[_0x1daf70(0x1e8)][_0x1daf70(0x1f0)]();}[_0x2895d8(0x1dd)](_0x4f942d){const _0x2ea33c=_0x2895d8,_0x4c81b2=new Set(),_0x2ce603=new Map();for(const _0x5655aa of _0x4f942d){if(_0x2ea33c(0x1e1)===_0x5655aa[_0x2ea33c(0x1e4)]&&_0x2ea33c(0x1e7)!==_0x5655aa[_0x2ea33c(0x1da)]&&_0x5655aa[_0x2ea33c(0x1f5)][_0x2ea33c(0x206)]){const _0x2981c1=this[_0x2ea33c(0x1f7)][_0x2ea33c(0x1e5)](_0x5655aa[_0x2ea33c(0x1f5)][_0x2ea33c(0x206)]);for(const _0x24c49a of _0x2981c1[_0x2ea33c(0x1ef)]()){if(!_0x24c49a['is'](_0x2ea33c(0x1e2),this[_0x2ea33c(0x1f6)]))continue;const _0x236711=this[_0x2ea33c(0x205)](_0x24c49a);_0x2ce603[_0x2ea33c(0x201)](_0x236711)||_0x2ce603[_0x2ea33c(0x1dc)](_0x236711,[]),_0x2ce603[_0x2ea33c(0x1e9)](_0x236711)[_0x2ea33c(0x1fc)](_0x24c49a);}}if(_0x2ea33c(0x1ee)===_0x5655aa[_0x2ea33c(0x1e4)]&&_0x5655aa[_0x2ea33c(0x1da)]===this[_0x2ea33c(0x1f6)]){const _0x46e80b=this[_0x2ea33c(0x205)]({'getAttribute':_0xf3f1ea=>_0x5655aa[_0x2ea33c(0x1f2)][_0x2ea33c(0x1e9)](_0xf3f1ea)});_0x4c81b2[_0x2ea33c(0x1ff)](_0x46e80b);}}for(const [_0x2b2002,_0x560e64]of this[_0x2ea33c(0x1e8)])_0x2ea33c(0x1fd)===_0x560e64[_0x2ea33c(0x1d8)][_0x2ea33c(0x1ea)]&&_0x4c81b2[_0x2ea33c(0x1ff)](_0x2b2002);for(const _0xa2003f of _0x4c81b2)this[_0x2ea33c(0x1e8)][_0x2ea33c(0x1f1)](_0xa2003f);for(const [_0x5c2d1c,_0x2d3638]of _0x2ce603)this[_0x2ea33c(0x1e8)][_0x2ea33c(0x1dc)](_0x5c2d1c,_0x2d3638[_0x2d3638[_0x2ea33c(0x1f4)]-0x1]);const _0x56efbf=new Set();for(const [_0xe95a6c,_0x5e0ef0]of _0x2ce603)_0x4c81b2[_0x2ea33c(0x201)](_0xe95a6c)&&(_0x56efbf[_0x2ea33c(0x1ff)](_0x5e0ef0[0x0]),_0x5e0ef0[_0x2ea33c(0x1f4)]>0x1?_0x2ce603[_0x2ea33c(0x1dc)](_0xe95a6c,_0x5e0ef0[_0x2ea33c(0x1eb)](0x1)):_0x2ce603[_0x2ea33c(0x1f1)](_0xe95a6c),_0x4c81b2[_0x2ea33c(0x1f1)](_0xe95a6c));return{'removed':Array[_0x2ea33c(0x1de)](_0x4c81b2),'inserted':Array[_0x2ea33c(0x1de)](_0x2ce603[_0x2ea33c(0x1f3)]())[_0x2ea33c(0x1f9)](),'moved':Array[_0x2ea33c(0x1de)](_0x56efbf)};}}