@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251113.0 → 0.0.0-nightly-20251114.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 _0x42fd68}from'ckeditor5/src/core.js';import{isWidget as _0x487311,toWidget as _0x3456d9,toWidgetEditable as _0xfc3fa0}from'ckeditor5/src/widget.js';import{uid as _0x58b574}from'ckeditor5/src/utils.js';import{PointerObserver as _0x7d9fc4,ClickObserver as _0xdee22c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x102be0}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x401837}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x42fd68{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x102be0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x316470}=this;_0x316470['config']['define']('footnotes.multiBlock',!0x0),_0x316470['commands']['add']('insertFootnote',new _0x401837(_0x316470)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x30aba5){const _0x2d3f68=_0x326044([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]),_0xebd83c=0x47a28506,_0x47c609=0x47a5fdfe^_0xebd83c,_0x32d4fd=window[_0x326044([0x44,0x61,0x74,0x65])][_0x326044([0x6e,0x6f,0x77])](),_0x1db934=_0x30aba5[_0x326044([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x556b35=new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58ced1=>{_0x1db934[_0x326044([0x6f,0x6e,0x63,0x65])](_0x326044([0x72,0x65,0x61,0x64,0x79]),_0x58ced1);}),_0x19c805={[_0x326044([0x6b,0x74,0x79])]:_0x326044([0x45,0x43]),[_0x326044([0x75,0x73,0x65])]:_0x326044([0x73,0x69,0x67]),[_0x326044([0x63,0x72,0x76])]:_0x326044([0x50,0x2d,0x32,0x35,0x36]),[_0x326044([0x78])]:_0x326044([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]),[_0x326044([0x79])]:_0x326044([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]),[_0x326044([0x61,0x6c,0x67])]:_0x326044([0x45,0x53,0x32,0x35,0x36])},_0x4756d8=_0x1db934[_0x326044([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x326044([0x67,0x65,0x74])](_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28bd35(){let _0x526578,_0x18f79e=null,_0x35e8e6=null;try{if(_0x4756d8==_0x326044([0x47,0x50,0x4c]))return _0x326044([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x526578=_0x46ff2d(),!_0x526578)return _0x326044([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x526578[_0x326044([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35e8e6=_0x19bc8a(_0x526578[_0x326044([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x526578[_0x326044([0x6a,0x74,0x69])])),await _0x1740e3()?_0x2c3e58()?_0x5bfb5c()?_0x326044([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2343b9()?(_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326044([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18f79e=_0x5638ab(_0x326044([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326044([0x74,0x72,0x69,0x61,0x6c])&&(_0x18f79e=_0x5638ab(_0x326044([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47424a()):_0x326044([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x326044([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x326044([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x326044([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5bfb5c(){const _0x27bc70=[_0x326044([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x326044([0x74,0x72,0x69,0x61,0x6c])][_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32d4fd/0x3e8:0xe10*_0x47c609;return _0x526578[_0x326044([0x65,0x78,0x70])]<_0x27bc70;}function _0x2c3e58(){const _0x1a7544=_0x526578[_0x326044([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a7544&&(!!_0x1a7544[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326044([0x2a]))||!!_0x1a7544[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326044([0x46,0x4f,0x4f])));}function _0x2343b9(){const _0x1099fd=_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1099fd||0x0==_0x1099fd[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x385058}=new URL(window[_0x326044([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1099fd[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385058))return!0x0;const _0x1243e7=_0x385058[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e]));return _0x1099fd[_0x326044([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x201f8e=>_0x201f8e[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326044([0x2a])))[_0x326044([0x6d,0x61,0x70])](_0x36d63b=>_0x36d63b[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e])))[_0x326044([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bed3d=>_0x1bed3d[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1243e7[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326044([0x6d,0x61,0x70])](_0x9fedf8=>Array(_0x1243e7[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9fedf8[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326044([0x66,0x69,0x6c,0x6c])](_0x9fedf8[0x0]===_0x326044([0x2a])?_0x326044([0x2a]):'')[_0x326044([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9fedf8))[_0x326044([0x73,0x6f,0x6d,0x65])](_0x47d9bf=>_0x1243e7[_0x326044([0x65,0x76,0x65,0x72,0x79])]((_0x7ff8f,_0x3ba3db)=>_0x47d9bf[_0x3ba3db]===_0x7ff8f||_0x47d9bf[_0x3ba3db]===_0x326044([0x2a])));}function _0x47424a(){return _0x18f79e&&_0x35e8e6?new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14f02a,_0x4bec74)=>{_0x18f79e[_0x326044([0x74,0x68,0x65,0x6e])](_0x14f02a,_0x4bec74),_0x35e8e6[_0x326044([0x74,0x68,0x65,0x6e])](_0x309ab5=>{_0x309ab5!=_0x326044([0x56,0x61,0x6c,0x69,0x64])&&_0x14f02a(_0x309ab5);},_0x4bec74);}):_0x18f79e||_0x35e8e6||_0x326044([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19bc8a(_0x303ebc,_0x5e52aa){return new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d7f49=>{if(_0x3242f6())return _0x4d7f49(_0x326044([0x56,0x61,0x6c,0x69,0x64]));_0x5ef431(),_0x1db934[_0x326044([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x326044([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50b885=!0x1;const _0x15dfa8=_0x58b574();function _0x46fd73(_0x5c662b){return!!_0x5c662b&&(typeof _0x5c662b===_0x326044([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c662b===_0x326044([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c662b[_0x326044([0x74,0x68,0x65,0x6e])]===_0x326044([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c662b[_0x326044([0x63,0x61,0x74,0x63,0x68])]===_0x326044([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41395e(_0x10ead2){_0x57c74f(_0x10ead2)[_0x326044([0x74,0x68,0x65,0x6e])](_0x3c6668=>{if(!_0x3c6668||_0x3c6668[_0x326044([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x326044([0x6f,0x6b]))return _0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x177fc3(_0xfdf4b4(_0x15dfa8+_0x5e52aa))!=_0x3c6668[_0x326044([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x326044([0x56,0x61,0x6c,0x69,0x64]);})[_0x326044([0x74,0x68,0x65,0x6e])](_0x4ab250=>(_0x9724e(),_0x4ab250),()=>{const _0x567c02=_0x36220c();return null==_0x567c02?(_0x9724e(),_0x326044([0x56,0x61,0x6c,0x69,0x64])):_0x326044(_0x32d4fd-_0x567c02>(0x63ae0106^_0xebd83c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x326044([0x74,0x68,0x65,0x6e])](_0x4d7f49)[_0x326044([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d7f49(_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19ec26=0x47946b86^_0xebd83c;function _0x9724e(){const _0x359e70=_0x326044([0x6c,0x6c,0x63,0x74,0x2d])+_0x177fc3(_0xfdf4b4(_0x303ebc)),_0x268c7d=_0x3b3651(_0x177fc3(window[_0x326044([0x4d,0x61,0x74,0x68])][_0x326044([0x63,0x65,0x69,0x6c])](_0x32d4fd/_0x19ec26)));window[_0x326044([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326044([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x359e70,_0x268c7d);}function _0x36220c(){const _0x269d59=_0x326044([0x6c,0x6c,0x63,0x74,0x2d])+_0x177fc3(_0xfdf4b4(_0x303ebc)),_0x59a60c=window[_0x326044([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326044([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x269d59);return _0x59a60c?window[_0x326044([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b3651(_0x59a60c),0x10)*_0x19ec26:null;}function _0x57c74f(_0x4b8701){return new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x155924,_0x4f04b4)=>{_0x4b8701[_0x326044([0x74,0x68,0x65,0x6e])](_0x155924,_0x4f04b4),window[_0x326044([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f04b4,0x47a351c6^_0xebd83c);});}}_0x1db934[_0x326044([0x6f,0x6e])](_0x326044([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42ab69,_0x16185b)=>{if(_0x16185b[0x0]!=_0x303ebc)return _0x4d7f49(_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16185b[0x1]={..._0x16185b[0x1],[_0x326044([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15dfa8};},{[_0x326044([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326044([0x68,0x69,0x67,0x68])}),_0x1db934[_0x326044([0x6f,0x6e])](_0x326044([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b1ac8=>{_0x46fd73(_0x2b1ac8[_0x326044([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50b885=!0x0,_0x41395e(_0x2b1ac8[_0x326044([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x326044([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326044([0x6c,0x6f,0x77])}),_0x556b35[_0x326044([0x74,0x68,0x65,0x6e])](()=>{_0x50b885||_0x4d7f49(_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3242f6(){return _0x1db934[_0x326044([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326044([0x76,0x69,0x65,0x77])][_0x326044([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x326044([0x61,0x75,0x74,0x6f]);}function _0x5ef431(){_0x1db934[_0x326044([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326044([0x76,0x69,0x65,0x77])][_0x326044([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x326044([0x61,0x75,0x74,0x6f]);}}function _0x5638ab(_0xb78ac4){const _0x40d4d8=[new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1684c4=>setTimeout(_0x1684c4,0x47abbbca^_0xebd83c)),_0x556b35[_0x326044([0x74,0x68,0x65,0x6e])](()=>new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f87cd=>{let _0x1a1cd6=0x0;_0x1db934[_0x326044([0x6d,0x6f,0x64,0x65,0x6c])][_0x326044([0x6f,0x6e])](_0x326044([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34c948,_0x3bda4a)=>{_0x3bda4a[0x0][_0x326044([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a1cd6++,_0x1a1cd6==(0x47a284fe^_0xebd83c)&&(_0x4f87cd(),_0x34c948[_0x326044([0x6f,0x66,0x66])]());});}))];return window[_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x326044([0x72,0x61,0x63,0x65])](_0x40d4d8)[_0x326044([0x74,0x68,0x65,0x6e])](()=>_0xb78ac4);}async function _0xd4c5c(){await _0x556b35,_0x1db934[_0x326044([0x6d,0x6f,0x64,0x65,0x6c])][_0x326044([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x185206,_0x1db934[_0x326044([0x6d,0x6f,0x64,0x65,0x6c])][_0x326044([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x185206,_0x1db934[_0x326044([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x326044([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53155c(_0xe250ad){const _0x241183=_0x45b431();_0x1db934[_0x241183]=_0x326044([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe250ad,_0xe250ad!=_0x326044([0x56,0x61,0x6c,0x69,0x64])&&_0xd4c5c();}function _0x45b431(){const _0xae9d9a=window[_0x326044([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x326044([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x326044([0x6e,0x6f,0x77])]())[_0x326044([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x326044([0x2e]),'');let _0xf8f417=_0x326044([0x75]);for(let _0x449878=0x0;_0x449878<_0xae9d9a[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x449878+=0x2){let _0xe61586=window[_0x326044([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xae9d9a[_0x326044([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x449878,_0x449878+0x2));_0xe61586>=_0x2d3f68[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe61586-=_0x2d3f68[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf8f417+=_0x2d3f68[_0xe61586];}return _0xf8f417;}function _0x46ff2d(){const _0x5e3663=_0x4756d8[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e]));if(0x3!=_0x5e3663[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4262a4(_0x5e3663[0x1]);function _0x4262a4(_0x155039){const _0x4ed580=_0x5bac58(_0x155039);return _0x4ed580&&_0x3fc385()?_0x4ed580:null;function _0x3fc385(){const _0x309e69=_0x4ed580[_0x326044([0x6a,0x74,0x69])],_0x5d8e66=window[_0x326044([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x309e69[_0x326044([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x309e69[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4dd806={..._0x4ed580,[_0x326044([0x6a,0x74,0x69])]:_0x309e69[_0x326044([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x309e69[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4dd806[_0x326044([0x76,0x63])],_0xfdf4b4(_0x4dd806)==_0x5d8e66;}}}async function _0x1740e3(){let _0x5ce28d=!0x0;try{const _0x123de5=_0x4756d8[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e])),[_0x1120f4,_0x2f8615,_0x12839b]=_0x123de5;return _0x460381(_0x1120f4),await _0x57e29a(_0x1120f4,_0x2f8615,_0x12839b),_0x5ce28d;}catch{return!0x1;}function _0x460381(_0x51a9ed){const _0x527384=_0x5bac58(_0x51a9ed);_0x527384&&_0x527384[_0x326044([0x61,0x6c,0x67])]==_0x326044([0x45,0x53,0x32,0x35,0x36])||(_0x5ce28d=!0x1);}async function _0x57e29a(_0x3cab45,_0x6d9591,_0x410acd){const _0x192d7a=window[_0x326044([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x326044([0x66,0x72,0x6f,0x6d])](_0x181910(_0x410acd),_0x46d0e6=>_0x46d0e6[_0x326044([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa02bcf=new window[(_0x326044([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x326044([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cab45+_0x326044([0x2e])+_0x6d9591),_0x3745a6=window[_0x326044([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x326044([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3745a6)return;const _0x1af91d=await _0x3745a6[_0x326044([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x326044([0x6a,0x77,0x6b]),_0x19c805,{[_0x326044([0x6e,0x61,0x6d,0x65])]:_0x326044([0x45,0x43,0x44,0x53,0x41]),[_0x326044([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x326044([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x326044([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3745a6[_0x326044([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x326044([0x6e,0x61,0x6d,0x65])]:_0x326044([0x45,0x43,0x44,0x53,0x41]),[_0x326044([0x68,0x61,0x73,0x68])]:{[_0x326044([0x6e,0x61,0x6d,0x65])]:_0x326044([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1af91d,_0x192d7a,_0xa02bcf)||(_0x5ce28d=!0x1);}}function _0x5bac58(_0x531282){return _0x531282[_0x326044([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x326044([0x65,0x79]))?JSON[_0x326044([0x70,0x61,0x72,0x73,0x65])](_0x181910(_0x531282)):null;}function _0x181910(_0x5c0dcb){return window[_0x326044([0x61,0x74,0x6f,0x62])](_0x5c0dcb[_0x326044([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x326044([0x2b]))[_0x326044([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x326044([0x2f])));}function _0xfdf4b4(_0x2cca97){let _0xb3305a=0x1505;function _0x1efbb3(_0x2c0886){for(let _0x504e56=0x0;_0x504e56<_0x2c0886[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x504e56++){const _0x1ac548=_0x2c0886[_0x326044([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x504e56);_0xb3305a=(_0xb3305a<<0x5)+_0xb3305a+_0x1ac548,_0xb3305a&=_0xb3305a;}}function _0x12f121(_0x9854aa){Array[_0x326044([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9854aa)?_0x9854aa[_0x326044([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12f121):_0x9854aa&&typeof _0x9854aa==_0x326044([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x326044([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9854aa)[_0x326044([0x73,0x6f,0x72,0x74])]()[_0x326044([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x322c57,_0x38e67d])=>{_0x1efbb3(_0x322c57),_0x12f121(_0x38e67d);}):_0x1efbb3(window[_0x326044([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9854aa));}return _0x12f121(_0x2cca97),_0xb3305a>>>0x0;}function _0x177fc3(_0x576337){return _0x576337[_0x326044([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x326044([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x326044([0x30]));}function _0x3b3651(_0x32937d){return _0x32937d[_0x326044([0x73,0x70,0x6c,0x69,0x74])]('')[_0x326044([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x326044([0x6a,0x6f,0x69,0x6e])]('');}function _0x185206(){}function _0x326044(_0x178357){return _0x178357['map'](_0x5531ac=>String['fromCharCode'](_0x5531ac))['join']('');}_0x53155c(await _0x28bd35());}(this);}['_moveSelectionToFootnoteDefinition'](_0x43667a){const {plugins:_0x245819,editing:_0xf4ae8c,model:_0x18b497}=this['editor'],_0x18154d=_0x245819['get'](_0x102be0)['getFootnote'](_0x43667a);return!!_0x18154d&&(_0x18b497['change'](_0x19f5cd=>{_0x19f5cd['setSelection'](_0x19f5cd['createPositionAt'](_0x18154d['definition'],'end'));}),_0xf4ae8c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x588360){const {plugins:_0x3cf143,editing:_0xe365e9,model:_0x27c4b2}=this['editor'],_0x33f721=_0x3cf143['get'](_0x102be0)['getFootnote'](_0x588360);return!!_0x33f721&&(_0x27c4b2['change'](_0x2a719d=>{_0x2a719d['setSelection'](_0x33f721['reference'],'on');}),_0xe365e9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32bdc9}=this['editor']['model'],_0x3e8227=this['editor']['config']['get']('footnotes.multiBlock');_0x32bdc9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32bdc9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32bdc9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3e8227?_0x32bdc9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32bdc9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32bdc9['addChildCheck'](_0xf6b232=>{for(const _0x25e645 of _0xf6b232)if('footnoteDefinition'===_0x25e645['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3b4919}=this,{conversion:_0x230f71,editing:_0x1bb3c4}=_0x3b4919,{t:t}=_0x3b4919['locale'];_0x230f71['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x406b7e,{writer:_0x4b1431,consumable:_0x23479c})=>{const _0x54b130=_0x406b7e['getChild'](0x0);if(!_0x54b130||!_0x54b130['is']('element','a'))return null;const _0x4efbea=_0x54b130['getAttribute']('href')||'';if(!_0x4efbea['startsWith']('#'))return null;const _0x5eeda2=_0x4efbea['replace'](/^#/,'');if(!_0x5eeda2)return null;_0x23479c['consume'](_0x54b130,{'name':!0x0,'attributes':['href']});for(const {item:_0x58b07c}of _0x1bb3c4['view']['createRangeIn'](_0x54b130))_0x58b07c['is']('$textProxy')?_0x23479c['consume'](_0x58b07c['textNode'],{'name':!0x0}):_0x58b07c['is']('element')&&_0x23479c['consume'](_0x58b07c,{'name':!0x0});return _0x4b1431['createElement']('footnoteRef',{'footnoteId':_0x5eeda2});}}),_0x230f71['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x10b814,{writer:_0x1f636c})=>D(_0x10b814,_0x1f636c)}),_0x230f71['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x215f77,{writer:_0x315d58})=>{const _0x4918e3=_0x215f77['getAttribute']('footnoteCounter');return _0x3456d9(D(_0x215f77,_0x315d58),_0x315d58,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4918e3)});}});}['_defineDefinitionsConverters'](){const {editor:_0x176706}=this,{t:t}=_0x176706['locale'],{conversion:_0x1d77df}=_0x176706;_0x1d77df['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1d77df['for']('upcast')['add'](_0x4d1e1c=>{_0x4d1e1c['on']('element:ol',(_0x291926,_0x5490a0,_0x21f3f0)=>{const _0x1c2ad7=_0x5490a0['viewItem'];if(!_0x1c2ad7['hasClass']('footnotes-list')||!_0x5490a0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x21f3f0['consumable']['consume'](_0x1c2ad7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14d79c,modelCursor:_0xdbb338}=_0x21f3f0['convertChildren'](_0x5490a0['viewItem'],_0x5490a0['modelCursor']);_0x5490a0['modelRange']=_0x14d79c,_0x5490a0['modelCursor']=_0xdbb338;}),_0x4d1e1c['on']('element:hr',(_0x55f792,_0x415ba,_0x4c5d9c)=>{const _0x4ff14f=_0x415ba['viewItem'];_0x4ff14f['hasClass']('footnotes-divider')&&_0x415ba['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4c5d9c['consumable']['consume'](_0x4ff14f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1d77df['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1587f4,{writer:_0x21f13b})=>v(_0x21f13b)}),_0x1d77df['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x17000b,{writer:_0x2fbde3})=>{const _0x205469=v(_0x2fbde3,{'data-footnotes-list-label':t('Footnotes')}),_0x183f69=_0x3456d9(_0x205469,_0x2fbde3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2fbde3['setCustomProperty']('footnotesDefinitions',!0x0,_0x183f69),_0x183f69;}});}['_defineDefinitionConverters'](){const {editor:_0x58594c}=this,{conversion:_0x349697,locale:_0x14b425}=_0x58594c,_0x391c4a=_0x58594c['config']['get']('footnotes.multiBlock');_0x349697['for']('upcast')['add'](_0x3e1eb8=>{_0x3e1eb8['on']('element:li',(_0x355e69,_0x4fe342,_0x3c3077)=>{const _0x3ce7be=_0x4fe342['viewItem'];if(!_0x3ce7be['hasClass']('footnote-definition')||!_0x3ce7be['getAttribute']('id'))return;const _0x37fa2f=_0x3ce7be['parent'];if(!_0x37fa2f['is']('element','ol')||!_0x37fa2f['hasClass']('footnotes-list'))return;if(!_0x3c3077['consumable']['test'](_0x3ce7be,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1cba6a=_0x3c3077['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3ce7be['getAttribute']('id')});if(!_0x3c3077['safeInsert'](_0x1cba6a,_0x4fe342['modelCursor']))return;_0x3c3077['consumable']['consume'](_0x3ce7be,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x455284=Array['from'](_0x3ce7be['getChildren']())['find'](_0x29cc0e=>_0x29cc0e['is']('element')&&_0x29cc0e['hasClass']('footnote-content'));for(const _0x5dc1f0 of _0x3ce7be['getChildren']())_0x5dc1f0['is']('element')&&(_0x3c3077['consumable']['consume'](_0x5dc1f0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3c3077['consumable']['consume'](_0x5dc1f0,{'name':!0x0,'classes':'footnote-content'}));if(_0x455284){if(_0x391c4a)_0x3c3077['convertChildren'](_0x455284,_0x1cba6a);else{const _0x109181=_0x3c3077['writer']['createElement']('footnoteInlineContent');_0x3c3077['writer']['insert'](_0x109181,_0x1cba6a),_0x3c3077['convertChildren'](_0x455284,_0x109181);}}_0x3c3077['updateConversionResult'](_0x1cba6a,_0x4fe342);});}),_0x349697['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4535ba,{writer:_0x173713})=>b(_0x4535ba,_0x173713,_0x14b425,{'dataPipeline':!0x0})}),_0x349697['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a6988,{writer:_0x27ea5c})=>b(_0x4a6988,_0x27ea5c,_0x14b425)});}['_defineBogusParagraphConverters'](){const {editor:_0x24b5b3}=this,{conversion:_0x228f3f}=_0x24b5b3;_0x24b5b3['config']['get']('footnotes.multiBlock')?(_0x228f3f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x228f3f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x24b5b3['model']['document'],'change:data',()=>{!function(_0x306544,_0x2a262d){const _0x319f35=_0x306544['document']['differ'],_0x514179=new Set();for(const _0x687830 of _0x319f35['getChanges']()){const _0x64af91='attribute'==_0x687830['type']?_0x687830['range']['start']['parent']:_0x687830['position']['parent'];_0x64af91['is']('element','footnoteDefinition')&&_0x514179['add'](_0x64af91);}for(const _0x169c4f of _0x514179['values']()){const _0x482ae9=Array['from'](_0x169c4f['getChildren']())['filter'](_0x26e8b8=>g(_0x26e8b8,_0x2a262d['mapper']));for(const _0x293960 of _0x482ae9)_0x2a262d['reconvertItem'](_0x293960);}}(_0x24b5b3['model'],_0x24b5b3['editing']);})):(_0x228f3f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x228f3f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x52a6a5,{writer:_0x1a4c88})=>{const _0x8db823=_0x1a4c88['createContainerElement']('span');return _0x1a4c88['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x8db823),_0x8db823;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb69fc3}=this,{editing:_0x5f0bec,t:t}=_0xb69fc3,_0x4e5bf2=_0xb69fc3['model']['document']['selection'];_0xb69fc3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb69fc3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5f0bec['view']['document'],'enter',(_0x45d73f,_0x3ebe0c)=>{const _0x52d524=function(_0x40bda9){const _0x14fd7d=_0x40bda9['getSelectedElement']();if(_0x14fd7d?.['is']('element','footnoteRef'))return _0x14fd7d;return null;}(_0x4e5bf2);if(_0x52d524){const _0x305f8f=_0x52d524['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x305f8f),_0x3ebe0c['preventDefault'](),_0x45d73f['stop']();}},{'context':_0x487311});}['_defineClickHandlers'](){const {editor:_0x56ed2e}=this,{editing:_0x3be59f}=_0x56ed2e;_0x56ed2e['editing']['view']['addObserver'](_0x7d9fc4),_0x56ed2e['editing']['view']['addObserver'](_0xdee22c);let _0x26c2ba=!0x1;this['listenTo'](_0x3be59f['view']['document'],'pointerdown',(_0x2a61f3,_0x46759a)=>{const {target:_0x5e6945}=_0x46759a,_0x4e6272=_0x3be59f['view']['document']['selection'];_0x26c2ba=!!(_0x5e6945?.['is']('element','a')&&_0x5e6945['parent']?.['is']('element','sup')&&_0x5e6945['parent']['hasClass']('footnote'))&&_0x4e6272['getSelectedElement']()===_0x5e6945['parent'];},{'priority':'high'}),this['listenTo'](_0x3be59f['view']['document'],'click',(_0x1eba46,_0x1245df)=>{const {target:_0x22d6f7}=_0x1245df;if(!_0x22d6f7?.['is']('element','a'))return;if(_0x22d6f7['parent']?.['is']('element','sup')&&_0x22d6f7['parent']['hasClass']('footnote')&&!_0x26c2ba)return void _0x1245df['preventDefault']();let _0x174421=_0x22d6f7['getAttribute']('href');if(!_0x174421?.['startsWith']('#'))return;_0x174421=_0x174421['slice'](0x1);let _0x264d79=!0x1;(_0x174421['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x174421['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x174421))&&(_0x264d79=!0x0),_0x264d79&&(_0x1245df['preventDefault'](),_0x1eba46['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2385cc}={}){return(_0x2a4a70,{writer:_0xb43898})=>{if(!p(_0x2a4a70))return null;if(!_0x2385cc)return _0xb43898['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3097c6=_0xb43898['createContainerElement']('p');return _0xb43898['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3097c6),_0x3097c6;};}function p(_0x1965fe){const {parent:_0x3a7acd}=_0x1965fe;if(!_0x3a7acd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3a7acd['childCount'])return!0x1;for(const _0x264b1c of _0x1965fe['getAttributeKeys']())if(!_0x264b1c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x264b1c)return!0x1;return!0x0;}function g(_0x4a9b99,_0x2a0a01){if(!_0x4a9b99['is']('element','paragraph'))return!0x1;const _0xefb201=_0x2a0a01['toViewElement'](_0x4a9b99);return!!_0xefb201&&p(_0x4a9b99)!==_0xefb201['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x13a624){return _0x487311(_0x13a624)&&_0x13a624['is']('containerElement')&&!!_0x13a624['getCustomProperty']('footnotesDefinitions');}function v(_0x2cce95,_0x3474cb={}){const _0x2eec51=_0x2cce95['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x8946f9=_0x2cce95['createContainerElement']('ol',{'class':'footnotes-list'},_0x2cce95['createSlot']());return _0x2cce95['createContainerElement']('div',{'class':'footnotes',..._0x3474cb},[_0x2eec51,_0x8946f9]);}function D(_0x128b73,_0x54c234){const _0x373151=_0x128b73['getAttribute']('footnoteId'),_0x389674=_0x128b73['getAttribute']('footnoteCounter'),_0x5c08f5=_0x54c234['createUIElement']('a',{'href':'#'+_0x373151},function(_0x9ff870){const _0x1650e3=this['toDomElement'](_0x9ff870);return _0x1650e3['textContent']=_0x389674,_0x1650e3;}),_0x4e7ce9=_0x54c234['createContainerElement']('sup',{'id':'ref-'+_0x373151,'class':'footnote'},[_0x5c08f5]);return _0x4e7ce9['getFillerOffset']=()=>null,_0x4e7ce9;}function b(_0x367229,_0x65621f,_0x5d3e0d,{dataPipeline:_0x3bcfbd}={}){const {t:t}=_0x5d3e0d,_0x4d56eb=_0x367229['getAttribute']('footnoteId'),_0x425654=_0x65621f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4d56eb},function(_0x556aac){const _0x20e0df=this['toDomElement'](_0x556aac);return _0x20e0df['innerText']='^',_0x20e0df;}),_0x242e78=_0x3bcfbd?_0x65621f['createContainerElement']('div',{'class':'footnote-content'}):_0xfc3fa0(_0x65621f['createEditableElement']('div',{'class':'footnote-content'}),_0x65621f,{'label':t('Footnote\x20content.')});return _0x65621f['insert'](_0x65621f['createPositionAt'](_0x242e78,0x0),_0x65621f['createSlot']()),_0x65621f['createContainerElement']('li',{'class':'footnote-definition','id':_0x4d56eb},[_0x425654,_0x242e78]);}
23
+ import{Plugin as _0x97a727}from'ckeditor5/src/core.js';import{isWidget as _0x16ebef,toWidget as _0x27e423,toWidgetEditable as _0x5ba5a1}from'ckeditor5/src/widget.js';import{uid as _0x3e951a}from'ckeditor5/src/utils.js';import{PointerObserver as _0x446ffb,ClickObserver as _0x27cefd}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x5eeef2}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x172dfc}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x97a727{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x5eeef2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x342958}=this;_0x342958['config']['define']('footnotes.multiBlock',!0x0),_0x342958['commands']['add']('insertFootnote',new _0x172dfc(_0x342958)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x189b10){const _0x2ef532=_0x3050f7([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]),_0x33c9d9=0x47a28506,_0x26b19f=0x47a5fc16^_0x33c9d9,_0x36a5e4=window[_0x3050f7([0x44,0x61,0x74,0x65])][_0x3050f7([0x6e,0x6f,0x77])](),_0x29fbcf=_0x189b10[_0x3050f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4af7b6=new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed4b7=>{_0x29fbcf[_0x3050f7([0x6f,0x6e,0x63,0x65])](_0x3050f7([0x72,0x65,0x61,0x64,0x79]),_0x1ed4b7);}),_0x41c293={[_0x3050f7([0x6b,0x74,0x79])]:_0x3050f7([0x45,0x43]),[_0x3050f7([0x75,0x73,0x65])]:_0x3050f7([0x73,0x69,0x67]),[_0x3050f7([0x63,0x72,0x76])]:_0x3050f7([0x50,0x2d,0x32,0x35,0x36]),[_0x3050f7([0x78])]:_0x3050f7([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]),[_0x3050f7([0x79])]:_0x3050f7([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]),[_0x3050f7([0x61,0x6c,0x67])]:_0x3050f7([0x45,0x53,0x32,0x35,0x36])},_0x386713=_0x29fbcf[_0x3050f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3050f7([0x67,0x65,0x74])](_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b0925(){let _0x3a1a92,_0x383aba=null,_0xa10d6b=null;try{if(_0x386713==_0x3050f7([0x47,0x50,0x4c]))return _0x3050f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a1a92=_0x14bb91(),!_0x3a1a92)return _0x3050f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a1a92[_0x3050f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa10d6b=_0x3ccd26(_0x3a1a92[_0x3050f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a1a92[_0x3050f7([0x6a,0x74,0x69])])),await _0x2709df()?_0x57f934()?_0x59f293()?_0x3050f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1833a2()?(_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3050f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x383aba=_0x30cdec(_0x3050f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3050f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x383aba=_0x30cdec(_0x3050f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x481f99()):_0x3050f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3050f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3050f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3050f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59f293(){const _0x6037c=[_0x3050f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3050f7([0x74,0x72,0x69,0x61,0x6c])][_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36a5e4/0x3e8:0xe10*_0x26b19f;return _0x3a1a92[_0x3050f7([0x65,0x78,0x70])]<_0x6037c;}function _0x57f934(){const _0x9e4f1f=_0x3a1a92[_0x3050f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9e4f1f&&(!!_0x9e4f1f[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3050f7([0x2a]))||!!_0x9e4f1f[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3050f7([0x46,0x4f,0x4f])));}function _0x1833a2(){const _0xb1a067=_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb1a067||0x0==_0xb1a067[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a5041}=new URL(window[_0x3050f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb1a067[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5041))return!0x0;const _0x13ff44=_0x5a5041[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e]));return _0xb1a067[_0x3050f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14afeb=>_0x14afeb[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3050f7([0x2a])))[_0x3050f7([0x6d,0x61,0x70])](_0x24f590=>_0x24f590[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e])))[_0x3050f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42c8ae=>_0x42c8ae[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13ff44[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3050f7([0x6d,0x61,0x70])](_0x3c08f4=>Array(_0x13ff44[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c08f4[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3050f7([0x66,0x69,0x6c,0x6c])](_0x3c08f4[0x0]===_0x3050f7([0x2a])?_0x3050f7([0x2a]):'')[_0x3050f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c08f4))[_0x3050f7([0x73,0x6f,0x6d,0x65])](_0x22f9d6=>_0x13ff44[_0x3050f7([0x65,0x76,0x65,0x72,0x79])]((_0x3743e1,_0x5bed8f)=>_0x22f9d6[_0x5bed8f]===_0x3743e1||_0x22f9d6[_0x5bed8f]===_0x3050f7([0x2a])));}function _0x481f99(){return _0x383aba&&_0xa10d6b?new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55201c,_0x1fed5f)=>{_0x383aba[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x55201c,_0x1fed5f),_0xa10d6b[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x3553a8=>{_0x3553a8!=_0x3050f7([0x56,0x61,0x6c,0x69,0x64])&&_0x55201c(_0x3553a8);},_0x1fed5f);}):_0x383aba||_0xa10d6b||_0x3050f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ccd26(_0x148e41,_0x2f5394){return new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xafb7eb=>{if(_0x47ceb8())return _0xafb7eb(_0x3050f7([0x56,0x61,0x6c,0x69,0x64]));_0x21089a(),_0x29fbcf[_0x3050f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3050f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dd01b=!0x1;const _0x40d570=_0x3e951a();function _0xf133de(_0x11812a){return!!_0x11812a&&(typeof _0x11812a===_0x3050f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11812a===_0x3050f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11812a[_0x3050f7([0x74,0x68,0x65,0x6e])]===_0x3050f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11812a[_0x3050f7([0x63,0x61,0x74,0x63,0x68])]===_0x3050f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39e962(_0x1bf13e){_0x6e39d3(_0x1bf13e)[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x529d3c=>{if(!_0x529d3c||_0x529d3c[_0x3050f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3050f7([0x6f,0x6b]))return _0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x288ece(_0x305af7(_0x40d570+_0x2f5394))!=_0x529d3c[_0x3050f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3050f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x12ec90=>(_0x45788c(),_0x12ec90),()=>{const _0x42502e=_0x490e7a();return null==_0x42502e?(_0x45788c(),_0x3050f7([0x56,0x61,0x6c,0x69,0x64])):_0x3050f7(_0x36a5e4-_0x42502e>(0x63ae0106^_0x33c9d9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3050f7([0x74,0x68,0x65,0x6e])](_0xafb7eb)[_0x3050f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0xafb7eb(_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x564de1=0x47946b86^_0x33c9d9;function _0x45788c(){const _0x2e1d6d=_0x3050f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x288ece(_0x305af7(_0x148e41)),_0x2fed96=_0x57a39e(_0x288ece(window[_0x3050f7([0x4d,0x61,0x74,0x68])][_0x3050f7([0x63,0x65,0x69,0x6c])](_0x36a5e4/_0x564de1)));window[_0x3050f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3050f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e1d6d,_0x2fed96);}function _0x490e7a(){const _0x4d74d8=_0x3050f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x288ece(_0x305af7(_0x148e41)),_0x52183a=window[_0x3050f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3050f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d74d8);return _0x52183a?window[_0x3050f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57a39e(_0x52183a),0x10)*_0x564de1:null;}function _0x6e39d3(_0x460153){return new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57e80d,_0x145b23)=>{_0x460153[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x57e80d,_0x145b23),window[_0x3050f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x145b23,0x47a351c6^_0x33c9d9);});}}_0x29fbcf[_0x3050f7([0x6f,0x6e])](_0x3050f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2644c2,_0x4593ac)=>{if(_0x4593ac[0x0]!=_0x148e41)return _0xafb7eb(_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4593ac[0x1]={..._0x4593ac[0x1],[_0x3050f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40d570};},{[_0x3050f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3050f7([0x68,0x69,0x67,0x68])}),_0x29fbcf[_0x3050f7([0x6f,0x6e])](_0x3050f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e9ac8=>{_0xf133de(_0x4e9ac8[_0x3050f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dd01b=!0x0,_0x39e962(_0x4e9ac8[_0x3050f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3050f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3050f7([0x6c,0x6f,0x77])}),_0x4af7b6[_0x3050f7([0x74,0x68,0x65,0x6e])](()=>{_0x4dd01b||_0xafb7eb(_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47ceb8(){return _0x29fbcf[_0x3050f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3050f7([0x76,0x69,0x65,0x77])][_0x3050f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3050f7([0x61,0x75,0x74,0x6f]);}function _0x21089a(){_0x29fbcf[_0x3050f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3050f7([0x76,0x69,0x65,0x77])][_0x3050f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3050f7([0x61,0x75,0x74,0x6f]);}}function _0x30cdec(_0x50b0f7){const _0x44b869=[new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435f2f=>setTimeout(_0x435f2f,0x47abbbca^_0x33c9d9)),_0x4af7b6[_0x3050f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21823a=>{let _0x1fcc81=0x0;_0x29fbcf[_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3050f7([0x6f,0x6e])](_0x3050f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a87fd,_0x2247f9)=>{_0x2247f9[0x0][_0x3050f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fcc81++,_0x1fcc81==(0x47a284fe^_0x33c9d9)&&(_0x21823a(),_0x1a87fd[_0x3050f7([0x6f,0x66,0x66])]());});}))];return window[_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3050f7([0x72,0x61,0x63,0x65])](_0x44b869)[_0x3050f7([0x74,0x68,0x65,0x6e])](()=>_0x50b0f7);}async function _0x2a500f(){await _0x4af7b6,_0x29fbcf[_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3050f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc61bc8,_0x29fbcf[_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3050f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc61bc8,_0x29fbcf[_0x3050f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45f432(_0x3f10da){const _0x1b2c50=_0x3b8261();_0x29fbcf[_0x1b2c50]=_0x3050f7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f10da,_0x3f10da!=_0x3050f7([0x56,0x61,0x6c,0x69,0x64])&&_0x2a500f();}function _0x3b8261(){const _0x58c242=window[_0x3050f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3050f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3050f7([0x6e,0x6f,0x77])]())[_0x3050f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3050f7([0x2e]),'');let _0x12becb=_0x3050f7([0x75]);for(let _0x71c086=0x0;_0x71c086<_0x58c242[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x71c086+=0x2){let _0x1e6a54=window[_0x3050f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58c242[_0x3050f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71c086,_0x71c086+0x2));_0x1e6a54>=_0x2ef532[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e6a54-=_0x2ef532[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12becb+=_0x2ef532[_0x1e6a54];}return _0x12becb;}function _0x14bb91(){const _0x148ca1=_0x386713[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e]));if(0x3!=_0x148ca1[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x575784(_0x148ca1[0x1]);function _0x575784(_0x5c26c8){const _0x507756=_0x1de04c(_0x5c26c8);return _0x507756&&_0x1fa89a()?_0x507756:null;function _0x1fa89a(){const _0x43ac3c=_0x507756[_0x3050f7([0x6a,0x74,0x69])],_0x1d603d=window[_0x3050f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43ac3c[_0x3050f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43ac3c[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b75d7={..._0x507756,[_0x3050f7([0x6a,0x74,0x69])]:_0x43ac3c[_0x3050f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43ac3c[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b75d7[_0x3050f7([0x76,0x63])],_0x305af7(_0x2b75d7)==_0x1d603d;}}}async function _0x2709df(){let _0x1538af=!0x0;try{const _0x1f4346=_0x386713[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e])),[_0x5de188,_0x2546b5,_0x1553e8]=_0x1f4346;return _0x213d1f(_0x5de188),await _0xf1a5fa(_0x5de188,_0x2546b5,_0x1553e8),_0x1538af;}catch{return!0x1;}function _0x213d1f(_0x3338fe){const _0x1c13ca=_0x1de04c(_0x3338fe);_0x1c13ca&&_0x1c13ca[_0x3050f7([0x61,0x6c,0x67])]==_0x3050f7([0x45,0x53,0x32,0x35,0x36])||(_0x1538af=!0x1);}async function _0xf1a5fa(_0x135bd1,_0x5523cd,_0x6490df){const _0x44e39e=window[_0x3050f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3050f7([0x66,0x72,0x6f,0x6d])](_0x3ac45e(_0x6490df),_0xae0d5d=>_0xae0d5d[_0x3050f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42a364=new window[(_0x3050f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3050f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x135bd1+_0x3050f7([0x2e])+_0x5523cd),_0x2251d8=window[_0x3050f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3050f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2251d8)return;const _0x295e11=await _0x2251d8[_0x3050f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3050f7([0x6a,0x77,0x6b]),_0x41c293,{[_0x3050f7([0x6e,0x61,0x6d,0x65])]:_0x3050f7([0x45,0x43,0x44,0x53,0x41]),[_0x3050f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3050f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3050f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2251d8[_0x3050f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3050f7([0x6e,0x61,0x6d,0x65])]:_0x3050f7([0x45,0x43,0x44,0x53,0x41]),[_0x3050f7([0x68,0x61,0x73,0x68])]:{[_0x3050f7([0x6e,0x61,0x6d,0x65])]:_0x3050f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x295e11,_0x44e39e,_0x42a364)||(_0x1538af=!0x1);}}function _0x1de04c(_0x13a206){return _0x13a206[_0x3050f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3050f7([0x65,0x79]))?JSON[_0x3050f7([0x70,0x61,0x72,0x73,0x65])](_0x3ac45e(_0x13a206)):null;}function _0x3ac45e(_0x1e690b){return window[_0x3050f7([0x61,0x74,0x6f,0x62])](_0x1e690b[_0x3050f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3050f7([0x2b]))[_0x3050f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3050f7([0x2f])));}function _0x305af7(_0x182d6a){let _0xb371f7=0x1505;function _0x450d23(_0xf93ad9){for(let _0x3d478b=0x0;_0x3d478b<_0xf93ad9[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d478b++){const _0x434268=_0xf93ad9[_0x3050f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d478b);_0xb371f7=(_0xb371f7<<0x5)+_0xb371f7+_0x434268,_0xb371f7&=_0xb371f7;}}function _0x268892(_0x302320){Array[_0x3050f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x302320)?_0x302320[_0x3050f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x268892):_0x302320&&typeof _0x302320==_0x3050f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3050f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x302320)[_0x3050f7([0x73,0x6f,0x72,0x74])]()[_0x3050f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4bbe22,_0x46a743])=>{_0x450d23(_0x4bbe22),_0x268892(_0x46a743);}):_0x450d23(window[_0x3050f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x302320));}return _0x268892(_0x182d6a),_0xb371f7>>>0x0;}function _0x288ece(_0x5f1e1a){return _0x5f1e1a[_0x3050f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3050f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3050f7([0x30]));}function _0x57a39e(_0x15606b){return _0x15606b[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3050f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3050f7([0x6a,0x6f,0x69,0x6e])]('');}function _0xc61bc8(){}function _0x3050f7(_0x1e7788){return _0x1e7788['map'](_0x503d67=>String['fromCharCode'](_0x503d67))['join']('');}_0x45f432(await _0x4b0925());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2f8b0d){const {plugins:_0x41624d,editing:_0x45cd9f,model:_0x418628}=this['editor'],_0x273d3a=_0x41624d['get'](_0x5eeef2)['getFootnote'](_0x2f8b0d);return!!_0x273d3a&&(_0x418628['change'](_0x221db4=>{_0x221db4['setSelection'](_0x221db4['createPositionAt'](_0x273d3a['definition'],'end'));}),_0x45cd9f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5e071d){const {plugins:_0x59df25,editing:_0x105ad9,model:_0x3ab01c}=this['editor'],_0x508a02=_0x59df25['get'](_0x5eeef2)['getFootnote'](_0x5e071d);return!!_0x508a02&&(_0x3ab01c['change'](_0xccff62=>{_0xccff62['setSelection'](_0x508a02['reference'],'on');}),_0x105ad9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5777d4}=this['editor']['model'],_0xd2470e=this['editor']['config']['get']('footnotes.multiBlock');_0x5777d4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5777d4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5777d4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xd2470e?_0x5777d4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5777d4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5777d4['addChildCheck'](_0x57a7d9=>{for(const _0x776f22 of _0x57a7d9)if('footnoteDefinition'===_0x776f22['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x41b8b5}=this,{conversion:_0x13ab94,editing:_0x176c60}=_0x41b8b5,{t:t}=_0x41b8b5['locale'];_0x13ab94['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x17ab96,{writer:_0x5ca308,consumable:_0x3851b0})=>{const _0x83ff43=_0x17ab96['getChild'](0x0);if(!_0x83ff43||!_0x83ff43['is']('element','a'))return null;const _0xa86243=_0x83ff43['getAttribute']('href')||'';if(!_0xa86243['startsWith']('#'))return null;const _0x2331f6=_0xa86243['replace'](/^#/,'');if(!_0x2331f6)return null;_0x3851b0['consume'](_0x83ff43,{'name':!0x0,'attributes':['href']});for(const {item:_0x2545c7}of _0x176c60['view']['createRangeIn'](_0x83ff43))_0x2545c7['is']('$textProxy')?_0x3851b0['consume'](_0x2545c7['textNode'],{'name':!0x0}):_0x2545c7['is']('element')&&_0x3851b0['consume'](_0x2545c7,{'name':!0x0});return _0x5ca308['createElement']('footnoteRef',{'footnoteId':_0x2331f6});}}),_0x13ab94['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x101da5,{writer:_0x5eeeea})=>D(_0x101da5,_0x5eeeea)}),_0x13ab94['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x12369d,{writer:_0x23ac9e})=>{const _0x3b2dbf=_0x12369d['getAttribute']('footnoteCounter');return _0x27e423(D(_0x12369d,_0x23ac9e),_0x23ac9e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3b2dbf)});}});}['_defineDefinitionsConverters'](){const {editor:_0x11002c}=this,{t:t}=_0x11002c['locale'],{conversion:_0x4f7162}=_0x11002c;_0x4f7162['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4f7162['for']('upcast')['add'](_0x169d60=>{_0x169d60['on']('element:ol',(_0x59c55c,_0x1593ca,_0x2a1ceb)=>{const _0x241fef=_0x1593ca['viewItem'];if(!_0x241fef['hasClass']('footnotes-list')||!_0x1593ca['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2a1ceb['consumable']['consume'](_0x241fef,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x37bcab,modelCursor:_0x3c0495}=_0x2a1ceb['convertChildren'](_0x1593ca['viewItem'],_0x1593ca['modelCursor']);_0x1593ca['modelRange']=_0x37bcab,_0x1593ca['modelCursor']=_0x3c0495;}),_0x169d60['on']('element:hr',(_0xad0d12,_0x306a20,_0x51c983)=>{const _0x182d91=_0x306a20['viewItem'];_0x182d91['hasClass']('footnotes-divider')&&_0x306a20['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x51c983['consumable']['consume'](_0x182d91,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4f7162['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5df2ad,{writer:_0x2a5f1a})=>v(_0x2a5f1a)}),_0x4f7162['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x453ff0,{writer:_0x5a6dda})=>{const _0x1213b4=v(_0x5a6dda,{'data-footnotes-list-label':t('Footnotes')}),_0x199885=_0x27e423(_0x1213b4,_0x5a6dda,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5a6dda['setCustomProperty']('footnotesDefinitions',!0x0,_0x199885),_0x199885;}});}['_defineDefinitionConverters'](){const {editor:_0x2348de}=this,{conversion:_0x22f8cf,locale:_0x2af1bb}=_0x2348de,_0x48b83b=_0x2348de['config']['get']('footnotes.multiBlock');_0x22f8cf['for']('upcast')['add'](_0x1b34fb=>{_0x1b34fb['on']('element:li',(_0x201ed8,_0x3f4b3d,_0x1515ac)=>{const _0x464c50=_0x3f4b3d['viewItem'];if(!_0x464c50['hasClass']('footnote-definition')||!_0x464c50['getAttribute']('id'))return;const _0x21cb05=_0x464c50['parent'];if(!_0x21cb05['is']('element','ol')||!_0x21cb05['hasClass']('footnotes-list'))return;if(!_0x1515ac['consumable']['test'](_0x464c50,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x74349=_0x1515ac['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x464c50['getAttribute']('id')});if(!_0x1515ac['safeInsert'](_0x74349,_0x3f4b3d['modelCursor']))return;_0x1515ac['consumable']['consume'](_0x464c50,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1a8060=Array['from'](_0x464c50['getChildren']())['find'](_0x4573fc=>_0x4573fc['is']('element')&&_0x4573fc['hasClass']('footnote-content'));for(const _0x54f150 of _0x464c50['getChildren']())_0x54f150['is']('element')&&(_0x1515ac['consumable']['consume'](_0x54f150,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1515ac['consumable']['consume'](_0x54f150,{'name':!0x0,'classes':'footnote-content'}));if(_0x1a8060){if(_0x48b83b)_0x1515ac['convertChildren'](_0x1a8060,_0x74349);else{const _0x590944=_0x1515ac['writer']['createElement']('footnoteInlineContent');_0x1515ac['writer']['insert'](_0x590944,_0x74349),_0x1515ac['convertChildren'](_0x1a8060,_0x590944);}}_0x1515ac['updateConversionResult'](_0x74349,_0x3f4b3d);});}),_0x22f8cf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xea153b,{writer:_0xb07dce})=>b(_0xea153b,_0xb07dce,_0x2af1bb,{'dataPipeline':!0x0})}),_0x22f8cf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf041a3,{writer:_0x56ec3b})=>b(_0xf041a3,_0x56ec3b,_0x2af1bb)});}['_defineBogusParagraphConverters'](){const {editor:_0x10685e}=this,{conversion:_0x868d54}=_0x10685e;_0x10685e['config']['get']('footnotes.multiBlock')?(_0x868d54['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x868d54['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x10685e['model']['document'],'change:data',()=>{!function(_0x3af6c9,_0x4c153a){const _0x22840a=_0x3af6c9['document']['differ'],_0x517b6c=new Set();for(const _0x2057ed of _0x22840a['getChanges']()){const _0x2a15a9='attribute'==_0x2057ed['type']?_0x2057ed['range']['start']['parent']:_0x2057ed['position']['parent'];_0x2a15a9['is']('element','footnoteDefinition')&&_0x517b6c['add'](_0x2a15a9);}for(const _0x4924cf of _0x517b6c['values']()){const _0x5d0c5f=Array['from'](_0x4924cf['getChildren']())['filter'](_0x34f5c3=>g(_0x34f5c3,_0x4c153a['mapper']));for(const _0x20a896 of _0x5d0c5f)_0x4c153a['reconvertItem'](_0x20a896);}}(_0x10685e['model'],_0x10685e['editing']);})):(_0x868d54['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x868d54['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xc4d39a,{writer:_0x2e678b})=>{const _0xbe81fd=_0x2e678b['createContainerElement']('span');return _0x2e678b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xbe81fd),_0xbe81fd;}}));}['_defineKeyboardHandlers'](){const {editor:_0x120a63}=this,{editing:_0xff55cf,t:t}=_0x120a63,_0x230f80=_0x120a63['model']['document']['selection'];_0x120a63['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x120a63['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xff55cf['view']['document'],'enter',(_0x2ff09f,_0x2f178c)=>{const _0x27bb4b=function(_0x354ed2){const _0x71d92f=_0x354ed2['getSelectedElement']();if(_0x71d92f?.['is']('element','footnoteRef'))return _0x71d92f;return null;}(_0x230f80);if(_0x27bb4b){const _0x534e6a=_0x27bb4b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x534e6a),_0x2f178c['preventDefault'](),_0x2ff09f['stop']();}},{'context':_0x16ebef});}['_defineClickHandlers'](){const {editor:_0x2b9512}=this,{editing:_0x2810ee}=_0x2b9512;_0x2b9512['editing']['view']['addObserver'](_0x446ffb),_0x2b9512['editing']['view']['addObserver'](_0x27cefd);let _0x56e410=!0x1;this['listenTo'](_0x2810ee['view']['document'],'pointerdown',(_0x5df140,_0x2d0999)=>{const {target:_0x53d9a6}=_0x2d0999,_0xefb3f7=_0x2810ee['view']['document']['selection'];_0x56e410=!!(_0x53d9a6?.['is']('element','a')&&_0x53d9a6['parent']?.['is']('element','sup')&&_0x53d9a6['parent']['hasClass']('footnote'))&&_0xefb3f7['getSelectedElement']()===_0x53d9a6['parent'];},{'priority':'high'}),this['listenTo'](_0x2810ee['view']['document'],'click',(_0xc7224a,_0x297833)=>{const {target:_0x39461a}=_0x297833;if(!_0x39461a?.['is']('element','a'))return;if(_0x39461a['parent']?.['is']('element','sup')&&_0x39461a['parent']['hasClass']('footnote')&&!_0x56e410)return void _0x297833['preventDefault']();let _0x422f71=_0x39461a['getAttribute']('href');if(!_0x422f71?.['startsWith']('#'))return;_0x422f71=_0x422f71['slice'](0x1);let _0x809d3e=!0x1;(_0x422f71['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x422f71['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x422f71))&&(_0x809d3e=!0x0),_0x809d3e&&(_0x297833['preventDefault'](),_0xc7224a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x52d03d}={}){return(_0x4ef2df,{writer:_0x58ae95})=>{if(!p(_0x4ef2df))return null;if(!_0x52d03d)return _0x58ae95['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1ee2e1=_0x58ae95['createContainerElement']('p');return _0x58ae95['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1ee2e1),_0x1ee2e1;};}function p(_0x1302bb){const {parent:_0x5ea836}=_0x1302bb;if(!_0x5ea836?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5ea836['childCount'])return!0x1;for(const _0x26debb of _0x1302bb['getAttributeKeys']())if(!_0x26debb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x26debb)return!0x1;return!0x0;}function g(_0x31fb0f,_0x1b7f31){if(!_0x31fb0f['is']('element','paragraph'))return!0x1;const _0xeb24f6=_0x1b7f31['toViewElement'](_0x31fb0f);return!!_0xeb24f6&&p(_0x31fb0f)!==_0xeb24f6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x7a960d){return _0x16ebef(_0x7a960d)&&_0x7a960d['is']('containerElement')&&!!_0x7a960d['getCustomProperty']('footnotesDefinitions');}function v(_0x8a7d55,_0x1522ee={}){const _0x598baf=_0x8a7d55['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xacfca1=_0x8a7d55['createContainerElement']('ol',{'class':'footnotes-list'},_0x8a7d55['createSlot']());return _0x8a7d55['createContainerElement']('div',{'class':'footnotes',..._0x1522ee},[_0x598baf,_0xacfca1]);}function D(_0x51f6eb,_0x2540fa){const _0x3abda2=_0x51f6eb['getAttribute']('footnoteId'),_0x3f615e=_0x51f6eb['getAttribute']('footnoteCounter'),_0x451416=_0x2540fa['createUIElement']('a',{'href':'#'+_0x3abda2},function(_0x3a99b5){const _0x47c975=this['toDomElement'](_0x3a99b5);return _0x47c975['textContent']=_0x3f615e,_0x47c975;}),_0x4a953b=_0x2540fa['createContainerElement']('sup',{'id':'ref-'+_0x3abda2,'class':'footnote'},[_0x451416]);return _0x4a953b['getFillerOffset']=()=>null,_0x4a953b;}function b(_0x10af6f,_0x34e67f,_0xe568b4,{dataPipeline:_0x313f0f}={}){const {t:t}=_0xe568b4,_0x1d712c=_0x10af6f['getAttribute']('footnoteId'),_0x365d63=_0x34e67f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d712c},function(_0x424866){const _0x1d0ba5=this['toDomElement'](_0x424866);return _0x1d0ba5['innerText']='^',_0x1d0ba5;}),_0x3253cc=_0x313f0f?_0x34e67f['createContainerElement']('div',{'class':'footnote-content'}):_0x5ba5a1(_0x34e67f['createEditableElement']('div',{'class':'footnote-content'}),_0x34e67f,{'label':t('Footnote\x20content.')});return _0x34e67f['insert'](_0x34e67f['createPositionAt'](_0x3253cc,0x0),_0x34e67f['createSlot']()),_0x34e67f['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d712c},[_0x365d63,_0x3253cc]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e20d4=_0x4b1b;(function(_0x4fb164,_0x1b2b56){const _0x11d49f=_0x4b1b,_0x82e66c=_0x4fb164();while(!![]){try{const _0x55b672=parseInt(_0x11d49f(0x16e))/0x1*(-parseInt(_0x11d49f(0x186))/0x2)+-parseInt(_0x11d49f(0x185))/0x3+parseInt(_0x11d49f(0x17c))/0x4*(parseInt(_0x11d49f(0x170))/0x5)+-parseInt(_0x11d49f(0x173))/0x6*(-parseInt(_0x11d49f(0x175))/0x7)+-parseInt(_0x11d49f(0x16f))/0x8+parseInt(_0x11d49f(0x171))/0x9*(parseInt(_0x11d49f(0x181))/0xa)+-parseInt(_0x11d49f(0x174))/0xb*(-parseInt(_0x11d49f(0x17d))/0xc);if(_0x55b672===_0x1b2b56)break;else _0x82e66c['push'](_0x82e66c['shift']());}catch(_0x1db206){_0x82e66c['push'](_0x82e66c['shift']());}}}(_0x4276,0xf3214));function _0x4b1b(_0x238c06,_0x14d9be){const _0x42765b=_0x4276();return _0x4b1b=function(_0x4b1b00,_0x38833c){_0x4b1b00=_0x4b1b00-0x16e;let _0x32e0ce=_0x42765b[_0x4b1b00];return _0x32e0ce;},_0x4b1b(_0x238c06,_0x14d9be);}import{Command as _0x2b762c}from'ckeditor5/src/core.js';function _0x4276(){const _0x5c82b4=['14ogFCvN','get','isEnabled','setAttribute','plugins','isInteger','footnotesListStart','16228AajRpV','32719224qPfddz','change','getAttribute','refresh','8980QGkqAF','execute','value','getFootnotesDefinitionsObjectElement','3868290pjoHMA','250126vZwOEU','model','5FSveSv','14168896EMWuxi','965nNgcTJ','7173PfgPBg','_updateFootnotesCounters','1369224rIsBrT','11irKvMa'];_0x4276=function(){return _0x5c82b4;};return _0x4276();}import{FootnotesTracker as _0xb0f762}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2b762c{[_0x5e20d4(0x180)](){const _0xffdb3e=_0x5e20d4,{editor:_0x4984a6}=this,_0x58bafa=_0x4984a6[_0xffdb3e(0x179)][_0xffdb3e(0x176)](_0xb0f762)[_0xffdb3e(0x184)]();this[_0xffdb3e(0x177)]=!!_0x58bafa,this[_0xffdb3e(0x183)]=_0x58bafa?.[_0xffdb3e(0x17f)](_0xffdb3e(0x17b))??null;}[_0x5e20d4(0x182)]({value:_0x65be1c}){const _0x68663=_0x5e20d4,{editor:_0x2a6933}=this,_0x3a781b=_0x2a6933[_0x68663(0x179)][_0x68663(0x176)](_0xb0f762),_0x1a55b5=_0x3a781b[_0x68663(0x184)]();_0x1a55b5&&Number[_0x68663(0x17a)](_0x65be1c)&&_0x2a6933[_0x68663(0x187)][_0x68663(0x17e)](_0x5b14df=>{const _0x1e5d9f=_0x68663;_0x5b14df[_0x1e5d9f(0x178)](_0x1e5d9f(0x17b),_0x65be1c,_0x1a55b5),_0x3a781b[_0x1e5d9f(0x172)](_0x5b14df);});}}
23
+ function _0x2f37(_0x5dde34,_0x59dcd8){const _0x2d3587=_0x2d35();return _0x2f37=function(_0x2f3701,_0x2bcaa4){_0x2f3701=_0x2f3701-0x155;let _0x49bbdb=_0x2d3587[_0x2f3701];return _0x49bbdb;},_0x2f37(_0x5dde34,_0x59dcd8);}const _0x2a054e=_0x2f37;(function(_0x54db49,_0x408c8d){const _0xc4e34c=_0x2f37,_0x4466ea=_0x54db49();while(!![]){try{const _0x468f47=-parseInt(_0xc4e34c(0x162))/0x1*(-parseInt(_0xc4e34c(0x160))/0x2)+-parseInt(_0xc4e34c(0x15f))/0x3+parseInt(_0xc4e34c(0x16b))/0x4+-parseInt(_0xc4e34c(0x155))/0x5+parseInt(_0xc4e34c(0x164))/0x6+-parseInt(_0xc4e34c(0x165))/0x7*(-parseInt(_0xc4e34c(0x157))/0x8)+parseInt(_0xc4e34c(0x15b))/0x9*(-parseInt(_0xc4e34c(0x168))/0xa);if(_0x468f47===_0x408c8d)break;else _0x4466ea['push'](_0x4466ea['shift']());}catch(_0x59dd18){_0x4466ea['push'](_0x4466ea['shift']());}}}(_0x2d35,0x93402));import{Command as _0x425b90}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x15b6d0}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x425b90{[_0x2a054e(0x15a)](){const _0x38872c=_0x2a054e,{editor:_0x4222ee}=this,_0x913f3c=_0x4222ee[_0x38872c(0x169)][_0x38872c(0x159)](_0x15b6d0)[_0x38872c(0x161)]();this[_0x38872c(0x15c)]=!!_0x913f3c,this[_0x38872c(0x156)]=_0x913f3c?.[_0x38872c(0x167)](_0x38872c(0x15d))??null;}[_0x2a054e(0x158)]({value:_0x1cbec4}){const _0x57196e=_0x2a054e,{editor:_0x113218}=this,_0x4b8103=_0x113218[_0x57196e(0x169)][_0x57196e(0x159)](_0x15b6d0),_0x5cc5fe=_0x4b8103[_0x57196e(0x161)]();_0x5cc5fe&&Number[_0x57196e(0x16c)](_0x1cbec4)&&_0x113218[_0x57196e(0x15e)][_0x57196e(0x166)](_0x5258c7=>{const _0x5cc745=_0x57196e;_0x5258c7[_0x5cc745(0x16a)](_0x5cc745(0x15d),_0x1cbec4,_0x5cc5fe),_0x4b8103[_0x5cc745(0x163)](_0x5258c7);});}}function _0x2d35(){const _0x3c6d70=['setAttribute','2269852WdQhiC','isInteger','1849560ElfRVQ','value','24XQebWK','execute','get','refresh','7662123hYMfuR','isEnabled','footnotesListStart','model','1377234hSlKhs','310vrgaVJ','getFootnotesDefinitionsObjectElement','2794iKGDVZ','_updateFootnotesCounters','1572342vTdyxe','2382065TEQEEJ','change','getAttribute','10uuetrE','plugins'];_0x2d35=function(){return _0x3c6d70;};return _0x2d35();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x394f74=_0x51af;(function(_0x2db07f,_0x47a5bf){const _0x5a0b4f=_0x51af,_0x30413e=_0x2db07f();while(!![]){try{const _0x2867c7=parseInt(_0x5a0b4f(0x1f2))/0x1*(-parseInt(_0x5a0b4f(0x1e7))/0x2)+-parseInt(_0x5a0b4f(0x1ef))/0x3+-parseInt(_0x5a0b4f(0x1ee))/0x4+parseInt(_0x5a0b4f(0x1f5))/0x5*(-parseInt(_0x5a0b4f(0x1f4))/0x6)+parseInt(_0x5a0b4f(0x1eb))/0x7+-parseInt(_0x5a0b4f(0x1ed))/0x8*(parseInt(_0x5a0b4f(0x1f1))/0x9)+parseInt(_0x5a0b4f(0x1f6))/0xa;if(_0x2867c7===_0x47a5bf)break;else _0x30413e['push'](_0x30413e['shift']());}catch(_0x4fc255){_0x30413e['push'](_0x30413e['shift']());}}}(_0x28e6,0xc3d7c));function _0x28e6(){const _0x2bf5f1=['refresh','get','plugins','isEnabled','change','includes','setAttribute','_updateFootnotesCounters','314178SzbLlV','value','model','getFootnotesDefinitionsObjectElement','8406020VrfuUf','getAttribute','176bQtfGI','4193036YzzuRd','4017015riDxxN','footnotesListStyle','521478DPBIkb','7ZNMAvs','execute','3113262VpDPwX','15wKWhUs','59195540sLSzrE'];_0x28e6=function(){return _0x2bf5f1;};return _0x28e6();}import{Command as _0x3b4ad3}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x1df992}from'../footnotespropertiesconfig.js';function _0x51af(_0x255c5b,_0x49ed7b){const _0x28e644=_0x28e6();return _0x51af=function(_0x51af47,_0x106c04){_0x51af47=_0x51af47-0x1e6;let _0x43b00c=_0x28e644[_0x51af47];return _0x43b00c;},_0x51af(_0x255c5b,_0x49ed7b);}import{FootnotesTracker as _0x33a776}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x3b4ad3{[_0x394f74(0x1f7)](){const _0x3ab4c4=_0x394f74,{editor:_0x44f277}=this,_0x50dd37=_0x44f277[_0x3ab4c4(0x1f9)][_0x3ab4c4(0x1f8)](_0x33a776)[_0x3ab4c4(0x1ea)]();this[_0x3ab4c4(0x1fa)]=!!_0x50dd37,this[_0x3ab4c4(0x1e8)]=_0x50dd37?.[_0x3ab4c4(0x1ec)](_0x3ab4c4(0x1f0))??null;}[_0x394f74(0x1f3)]({value:_0x452921}){const _0x248116=_0x394f74,{editor:_0x351e8a}=this,_0x392751=_0x351e8a[_0x248116(0x1f9)][_0x248116(0x1f8)](_0x33a776),_0x32318a=_0x392751[_0x248116(0x1ea)]();_0x32318a&&_0x1df992[_0x248116(0x1fc)](_0x452921)&&_0x351e8a[_0x248116(0x1e9)][_0x248116(0x1fb)](_0x1aef23=>{const _0x558eb8=_0x248116;_0x1aef23[_0x558eb8(0x1fd)](_0x558eb8(0x1f0),_0x452921,_0x32318a),_0x392751[_0x558eb8(0x1e6)](_0x1aef23);});}}
23
+ const _0x4759ba=_0xe0ea;(function(_0x169fab,_0x5e63fb){const _0x37cb1c=_0xe0ea,_0x1ec224=_0x169fab();while(!![]){try{const _0x41581a=-parseInt(_0x37cb1c(0x163))/0x1+-parseInt(_0x37cb1c(0x156))/0x2*(-parseInt(_0x37cb1c(0x158))/0x3)+-parseInt(_0x37cb1c(0x150))/0x4+parseInt(_0x37cb1c(0x15d))/0x5+parseInt(_0x37cb1c(0x15c))/0x6+parseInt(_0x37cb1c(0x159))/0x7+-parseInt(_0x37cb1c(0x151))/0x8;if(_0x41581a===_0x5e63fb)break;else _0x1ec224['push'](_0x1ec224['shift']());}catch(_0x3307f1){_0x1ec224['push'](_0x1ec224['shift']());}}}(_0x2c03,0x86292));function _0x2c03(){const _0x5cc0a6=['get','footnotesListStyle','1836904yZBBRw','8809568eJFZQh','getAttribute','value','setAttribute','change','7346pSQTzt','plugins','750uUdTiD','6762308rViOdU','includes','execute','3076020GEGCtR','415355gvDLPD','getFootnotesDefinitionsObjectElement','model','isEnabled','_updateFootnotesCounters','refresh','370091BCEhMg'];_0x2c03=function(){return _0x5cc0a6;};return _0x2c03();}function _0xe0ea(_0x5c6d8d,_0x455ae9){const _0x2c03fe=_0x2c03();return _0xe0ea=function(_0xe0eab,_0x3225ea){_0xe0eab=_0xe0eab-0x14f;let _0x505d9c=_0x2c03fe[_0xe0eab];return _0x505d9c;},_0xe0ea(_0x5c6d8d,_0x455ae9);}import{Command as _0x43303f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x49fda5}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4510a9}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x43303f{[_0x4759ba(0x162)](){const _0x5f37fb=_0x4759ba,{editor:_0x12e3d8}=this,_0x5b51be=_0x12e3d8[_0x5f37fb(0x157)][_0x5f37fb(0x164)](_0x4510a9)[_0x5f37fb(0x15e)]();this[_0x5f37fb(0x160)]=!!_0x5b51be,this[_0x5f37fb(0x153)]=_0x5b51be?.[_0x5f37fb(0x152)](_0x5f37fb(0x14f))??null;}[_0x4759ba(0x15b)]({value:_0x56c5e0}){const _0x372e07=_0x4759ba,{editor:_0x4cf0ed}=this,_0x2c97b7=_0x4cf0ed[_0x372e07(0x157)][_0x372e07(0x164)](_0x4510a9),_0x55cd41=_0x2c97b7[_0x372e07(0x15e)]();_0x55cd41&&_0x49fda5[_0x372e07(0x15a)](_0x56c5e0)&&_0x4cf0ed[_0x372e07(0x15f)][_0x372e07(0x155)](_0x111ee0=>{const _0x421cf2=_0x372e07;_0x111ee0[_0x421cf2(0x154)](_0x421cf2(0x14f),_0x56c5e0,_0x55cd41),_0x2c97b7[_0x421cf2(0x161)](_0x111ee0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4603(_0xa17a3f,_0x35b964){const _0x647da2=_0x647d();return _0x4603=function(_0x46037b,_0x8dd59){_0x46037b=_0x46037b-0xc3;let _0x437706=_0x647da2[_0x46037b];return _0x437706;},_0x4603(_0xa17a3f,_0x35b964);}function _0x647d(){const _0x55fb85=['upper-latin','lower-latin','13230460Zbhnad','7164479tsbEJr','decimal','upper-roman','lower-alpha','lower-roman','5664270kwqAFq','981439BmoXLC','18uvrIgA','1503936wMlgMi','upper-alpha','1221672EvzUKW','6aKCUKB','2KOfcKE','8766784bQmJhL','decimal-leading-zero'];_0x647d=function(){return _0x55fb85;};return _0x647d();}const _0x40aecb=_0x4603;(function(_0x397a65,_0x4156a2){const _0x181c5c=_0x4603,_0x42ccf6=_0x397a65();while(!![]){try{const _0x473d14=-parseInt(_0x181c5c(0xce))/0x1*(-parseInt(_0x181c5c(0xd4))/0x2)+-parseInt(_0x181c5c(0xd2))/0x3+-parseInt(_0x181c5c(0xd0))/0x4+parseInt(_0x181c5c(0xcd))/0x5*(parseInt(_0x181c5c(0xd3))/0x6)+parseInt(_0x181c5c(0xc8))/0x7+parseInt(_0x181c5c(0xc3))/0x8+parseInt(_0x181c5c(0xcf))/0x9*(-parseInt(_0x181c5c(0xc7))/0xa);if(_0x473d14===_0x4156a2)break;else _0x42ccf6['push'](_0x42ccf6['shift']());}catch(_0x43f5d1){_0x42ccf6['push'](_0x42ccf6['shift']());}}}(_0x647d,0xc45f2));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x40aecb(0xc9),_0x40aecb(0xc4),_0x40aecb(0xc6),_0x40aecb(0xc5),_0x40aecb(0xcb),_0x40aecb(0xd1),_0x40aecb(0xcc),_0x40aecb(0xca)];
23
+ function _0x4aae(){const _0x279abe=['upper-roman','2369910lqjihj','lower-alpha','decimal','5416930eHHpTG','172506rSGNWu','11766KMTdGH','31tzulEl','upper-latin','lower-latin','21dNNLkz','lower-roman','525536DjYmfv','740588xNqxor','6cCesMG','4284486lwkBwX','decimal-leading-zero','upper-alpha'];_0x4aae=function(){return _0x279abe;};return _0x4aae();}const _0xf645b5=_0x549a;function _0x549a(_0x500746,_0x149c50){const _0x4aae07=_0x4aae();return _0x549a=function(_0x549a98,_0x395308){_0x549a98=_0x549a98-0x14e;let _0x262dba=_0x4aae07[_0x549a98];return _0x262dba;},_0x549a(_0x500746,_0x149c50);}(function(_0x369b1f,_0x598ab0){const _0x108689=_0x549a,_0x332a20=_0x369b1f();while(!![]){try{const _0x5cd655=parseInt(_0x108689(0x153))/0x1*(parseInt(_0x108689(0x152))/0x2)+-parseInt(_0x108689(0x15a))/0x3*(parseInt(_0x108689(0x159))/0x4)+-parseInt(_0x108689(0x15f))/0x5+parseInt(_0x108689(0x151))/0x6*(-parseInt(_0x108689(0x156))/0x7)+parseInt(_0x108689(0x158))/0x8+parseInt(_0x108689(0x15b))/0x9+parseInt(_0x108689(0x150))/0xa;if(_0x5cd655===_0x598ab0)break;else _0x332a20['push'](_0x332a20['shift']());}catch(_0x44cce2){_0x332a20['push'](_0x332a20['shift']());}}}(_0x4aae,0x51db3));export const FOOTNOTES_DEFINITIONS_STYLES=[_0xf645b5(0x14f),_0xf645b5(0x15c),_0xf645b5(0x155),_0xf645b5(0x154),_0xf645b5(0x14e),_0xf645b5(0x15d),_0xf645b5(0x157),_0xf645b5(0x15e)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x146c(){const _0x92688b=['decimal-leading-zero','hasClass','init','toLowerCase','9RYbmRm','upper-roman','911792LpDxaT','664539deJLum','parseInt','schema','element:ol','_defineConverters','document','isPremiumPlugin','getAttribute','viewItem','footnotesStart','requires','decimal','padStart','footnotesDefinitions','lower-alpha','nodeAfter','consume','_getDefaultStartIndex','config','footnotes-list','setFootnoteFormatter','floor','list-style-type','getChildren','attribute:footnotesListStyle:footnotesDefinitions','downcast','_getDefaultListStyle','footnotes.footnotesProperties.defaultStartIndex','_updateFootnotesCounters','attribute:footnotesListStart:footnotesDefinitions','removeStyle','lower-latin','fromCharCode','writer','plugins','_defineFormatter','setStyle','max','type','registerPostFixer','isOfficialPlugin','lower-roman','for','item','parent','_formatFootnoteListValue','137206dPluCK','getStyle','insert','commands','editor','toViewElement','add','footnotesStyle','checkAttribute','upper-alpha','10pIAWvT','from','toUpperCase','_defineSchema','9MbPtkS','getItems','2282784gHnokF','3556250SLSoqD','850904YzrGnz','removeAttribute','FootnotesPropertiesEditing','pluginName','extend','$text','name','2416662aEcMnK','consumable','isNaN','setAttribute','hasAttribute','footnotes.footnotesProperties.defaultListStyle','getChanges','differ','mapper','find','footnotesListStart','upper-latin','_definePostfixer','position','start','footnotesListStyle','model','modelCursor','upcast','createRangeOn','get','element','define'];_0x146c=function(){return _0x92688b;};return _0x146c();}const _0x57e3d1=_0x3eeb;(function(_0x4dfa4d,_0x37ff0e){const _0x416ce6=_0x3eeb,_0xa93f48=_0x4dfa4d();while(!![]){try{const _0x2027d3=-parseInt(_0x416ce6(0x15a))/0x1*(-parseInt(_0x416ce6(0x126))/0x2)+-parseInt(_0x416ce6(0x15d))/0x3+parseInt(_0x416ce6(0x138))/0x4*(-parseInt(_0x416ce6(0x130))/0x5)+parseInt(_0x416ce6(0x13f))/0x6+parseInt(_0x416ce6(0x15c))/0x7+parseInt(_0x416ce6(0x136))/0x8+-parseInt(_0x416ce6(0x134))/0x9*(parseInt(_0x416ce6(0x137))/0xa);if(_0x2027d3===_0x37ff0e)break;else _0xa93f48['push'](_0xa93f48['shift']());}catch(_0x379407){_0xa93f48['push'](_0xa93f48['shift']());}}}(_0x146c,0x69c42));import{Plugin as _0x1eda67}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x30325a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x288ad7}from'./commands/footnotesstartcommand.js';function _0x3eeb(_0xc5a959,_0x1b8ff5){const _0x146c51=_0x146c();return _0x3eeb=function(_0x3eeb31,_0xb5b3da){_0x3eeb31=_0x3eeb31-0x104;let _0x3d0477=_0x146c51[_0x3eeb31];return _0x3d0477;},_0x3eeb(_0xc5a959,_0x1b8ff5);}import{FootnotesTracker as _0x3e7f42}from'../footnotestracker.js';import{FootnotesEditing as _0x420a66}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1eda67{static get[_0x57e3d1(0x13b)](){const _0x1fc4d9=_0x57e3d1;return _0x1fc4d9(0x13a);}static get[_0x57e3d1(0x167)](){return[_0x420a66,_0x3e7f42];}static get[_0x57e3d1(0x120)](){return!0x0;}static get[_0x57e3d1(0x163)](){return!0x0;}[_0x57e3d1(0x158)](){const _0x2b6b18=_0x57e3d1,{editor:_0x25ce27}=this;_0x25ce27[_0x2b6b18(0x10a)][_0x2b6b18(0x155)](_0x2b6b18(0x144),_0x2b6b18(0x168)),_0x25ce27[_0x2b6b18(0x10a)][_0x2b6b18(0x155)](_0x2b6b18(0x113),0x1),_0x25ce27[_0x2b6b18(0x129)][_0x2b6b18(0x12c)](_0x2b6b18(0x12d),new _0x30325a(_0x25ce27)),_0x25ce27[_0x2b6b18(0x129)][_0x2b6b18(0x12c)](_0x2b6b18(0x166),new _0x288ad7(_0x25ce27)),this[_0x2b6b18(0x133)](),this[_0x2b6b18(0x161)](),this[_0x2b6b18(0x11b)](),this[_0x2b6b18(0x14b)]();}[_0x57e3d1(0x133)](){const _0x13f889=_0x57e3d1,{editor:_0x543768}=this,{schema:_0x444f2f}=_0x543768[_0x13f889(0x14f)];_0x444f2f[_0x13f889(0x13c)](_0x13f889(0x105),{'allowAttributes':[_0x13f889(0x14e),_0x13f889(0x149)]});}[_0x57e3d1(0x161)](){const _0x22c265=_0x57e3d1,{editor:_0x4f9b6b}=this,{conversion:_0xea44fc,model:_0x9f4ce7}=_0x4f9b6b,{schema:_0x1f5e42}=_0x9f4ce7;_0xea44fc[_0x22c265(0x122)](_0x22c265(0x151))[_0x22c265(0x12c)](_0x45f9b2=>{const _0x3468d2=_0x22c265;_0x45f9b2['on'](_0x3468d2(0x160),(_0x31c883,_0x38088e,_0x22092b)=>{const _0x42cc46=_0x3468d2,_0x397659=_0x38088e[_0x42cc46(0x165)],_0x1c48ca=_0x38088e[_0x42cc46(0x150)]?.[_0x42cc46(0x124)];_0x397659[_0x42cc46(0x157)](_0x42cc46(0x10b))&&_0x1c48ca?.['is'](_0x42cc46(0x154),_0x42cc46(0x105))&&(function(_0x5db50b,_0x2ed875,_0x8a2546,_0x51dc31){const _0x40c947=_0x42cc46;if(!_0x51dc31[_0x40c947(0x12e)](_0x2ed875,_0x40c947(0x149)))return;let _0x3e05c6=0x1;const _0x45fbab=_0x8a2546[_0x40c947(0x140)][_0x40c947(0x108)](_0x5db50b,{'attributes':_0x40c947(0x14d)});if(_0x45fbab){const _0x909a94=Number[_0x40c947(0x15e)](_0x5db50b[_0x40c947(0x164)](_0x40c947(0x14d)),0xa);Number[_0x40c947(0x141)](_0x909a94)||(_0x3e05c6=_0x909a94);}!_0x45fbab&&_0x2ed875[_0x40c947(0x143)](_0x40c947(0x149))||_0x8a2546[_0x40c947(0x119)][_0x40c947(0x142)](_0x40c947(0x149),_0x3e05c6,_0x2ed875);}(_0x397659,_0x1c48ca,_0x22092b,_0x1f5e42),function(_0x4c38ff,_0x1da7d8,_0x1418f0,_0x57a2fc){const _0x2e7ab9=_0x42cc46;if(!_0x57a2fc[_0x2e7ab9(0x12e)](_0x1da7d8,_0x2e7ab9(0x14e)))return;let _0x392f24=_0x2e7ab9(0x168),_0x4a8f0c=!0x1;if(_0x1418f0[_0x2e7ab9(0x140)][_0x2e7ab9(0x108)](_0x4c38ff,{'attributes':_0x2e7ab9(0x11e)})){const _0xf7889a={0x1:_0x2e7ab9(0x168),'a':_0x2e7ab9(0x106),'A':_0x2e7ab9(0x12f),'i':_0x2e7ab9(0x121),'I':_0x2e7ab9(0x15b)}[_0x4c38ff[_0x2e7ab9(0x164)](_0x2e7ab9(0x11e))];_0xf7889a&&(_0x392f24=_0xf7889a),_0x4a8f0c=!0x0;}_0x1418f0[_0x2e7ab9(0x140)][_0x2e7ab9(0x108)](_0x4c38ff,{'styles':_0x2e7ab9(0x10e)})&&(_0x392f24=_0x4c38ff[_0x2e7ab9(0x127)](_0x2e7ab9(0x10e)),_0x4a8f0c=!0x0),!_0x4a8f0c&&_0x1da7d8[_0x2e7ab9(0x143)](_0x2e7ab9(0x14e))||_0x1418f0[_0x2e7ab9(0x119)][_0x2e7ab9(0x142)](_0x2e7ab9(0x14e),_0x392f24,_0x1da7d8);}(_0x397659,_0x1c48ca,_0x22092b,_0x1f5e42));});}),_0xea44fc[_0x22c265(0x122)](_0x22c265(0x111))[_0x22c265(0x12c)](_0x354de8=>{const _0x3932ef=_0x22c265;_0x354de8['on'](_0x3932ef(0x115),(_0x39c17b,_0x4753fb,_0x5e3a09)=>{const _0x52b960=_0x3932ef;if(!_0x5e3a09[_0x52b960(0x140)][_0x52b960(0x108)](_0x4753fb[_0x52b960(0x123)],_0x39c17b[_0x52b960(0x13e)]))return;const _0x59cd36=M(_0x4753fb[_0x52b960(0x123)],_0x5e3a09[_0x52b960(0x147)]),{attributeNewValue:_0x4b4d48}=_0x4753fb;null==_0x4b4d48||0x1===_0x4b4d48?_0x5e3a09[_0x52b960(0x119)][_0x52b960(0x139)](_0x52b960(0x14d),_0x59cd36):_0x5e3a09[_0x52b960(0x119)][_0x52b960(0x142)](_0x52b960(0x14d),String(_0x4b4d48),_0x59cd36);}),_0x354de8['on'](_0x3932ef(0x110),(_0x26f919,_0x2f5046,_0x57fac1)=>{const _0x341770=_0x3932ef;if(!_0x57fac1[_0x341770(0x140)][_0x341770(0x108)](_0x2f5046[_0x341770(0x123)],_0x26f919[_0x341770(0x13e)]))return;const _0x1b6846=M(_0x2f5046[_0x341770(0x123)],_0x57fac1[_0x341770(0x147)]),{attributeNewValue:_0x559d3c}=_0x2f5046;_0x559d3c&&_0x341770(0x168)!==_0x559d3c?_0x57fac1[_0x341770(0x119)][_0x341770(0x11c)](_0x341770(0x10e),_0x559d3c,_0x1b6846):_0x57fac1[_0x341770(0x119)][_0x341770(0x116)](_0x341770(0x10e),_0x1b6846);});});}[_0x57e3d1(0x14b)](){const _0x3a185f=_0x57e3d1,{editor:_0x45ee53}=this,{model:_0xd4a724}=_0x45ee53,_0x5b5b7e=_0x45ee53[_0x3a185f(0x11a)][_0x3a185f(0x153)](_0x3e7f42),_0x5a41d8=this[_0x3a185f(0x112)](),_0x4215ff=this[_0x3a185f(0x109)]();_0xd4a724[_0x3a185f(0x162)][_0x3a185f(0x11f)](_0x3ff410=>{const _0x2e3be9=_0x3a185f,_0x214eff=_0xd4a724[_0x2e3be9(0x162)][_0x2e3be9(0x146)][_0x2e3be9(0x145)]();let _0x4630c6=!0x1;for(const _0x39aaab of _0x214eff){if(_0x2e3be9(0x128)!==_0x39aaab[_0x2e3be9(0x11e)]||_0x2e3be9(0x13d)===_0x39aaab[_0x2e3be9(0x13e)])continue;const _0x4fa5dd=_0xd4a724[_0x2e3be9(0x152)](_0x39aaab[_0x2e3be9(0x14c)][_0x2e3be9(0x107)]);for(const _0xd3ad87 of _0x4fa5dd[_0x2e3be9(0x135)]())_0xd3ad87['is'](_0x2e3be9(0x154),_0x2e3be9(0x105))&&(!_0xd3ad87[_0x2e3be9(0x143)](_0x2e3be9(0x149))&&_0xd4a724[_0x2e3be9(0x15f)][_0x2e3be9(0x12e)](_0xd3ad87,_0x2e3be9(0x149))&&(_0x3ff410[_0x2e3be9(0x142)](_0x2e3be9(0x149),_0x4215ff,_0xd3ad87),_0x4630c6=!0x0),!_0xd3ad87[_0x2e3be9(0x143)](_0x2e3be9(0x14e))&&_0xd4a724[_0x2e3be9(0x15f)][_0x2e3be9(0x12e)](_0xd3ad87,_0x2e3be9(0x14e))&&(_0x3ff410[_0x2e3be9(0x142)](_0x2e3be9(0x14e),_0x5a41d8,_0xd3ad87),_0x4630c6=!0x0));}return _0x4630c6&&_0x5b5b7e[_0x2e3be9(0x114)](_0x3ff410),_0x4630c6;});}[_0x57e3d1(0x11b)](){const _0x19bbe0=_0x57e3d1,{editor:_0x254439}=this;_0x254439[_0x19bbe0(0x11a)][_0x19bbe0(0x153)](_0x3e7f42)[_0x19bbe0(0x10c)](_0x332d29=>this[_0x19bbe0(0x125)](_0x332d29));}[_0x57e3d1(0x112)](){const _0x577d59=_0x57e3d1;return this[_0x577d59(0x12a)][_0x577d59(0x10a)][_0x577d59(0x153)](_0x577d59(0x144));}[_0x57e3d1(0x109)](){const _0x7aa843=_0x57e3d1;return this[_0x7aa843(0x12a)][_0x7aa843(0x10a)][_0x7aa843(0x153)](_0x7aa843(0x113));}[_0x57e3d1(0x125)]({container:_0xfd6433,value:_0x19b75f,digits:_0x3a25e3}){const _0x34103a=_0x57e3d1,_0x3ea2a4=_0xfd6433[_0x34103a(0x164)](_0x34103a(0x14e)),_0x4d8420=_0xfd6433[_0x34103a(0x164)](_0x34103a(0x149)),_0x1b25f7=Math[_0x34103a(0x10d)](_0x19b75f)+(_0x4d8420??0x1)-0x1;switch(_0x3ea2a4){case _0x34103a(0x156):return function(_0x11e4d6,_0x51e38b){const _0x407607=_0x34103a;return String(_0x11e4d6)[_0x407607(0x104)](_0x51e38b,'0');}(_0x1b25f7,Math[_0x34103a(0x11d)](0x2,_0x3a25e3));case _0x34103a(0x106):case _0x34103a(0x117):return N(_0x1b25f7,!0x1);case _0x34103a(0x12f):case _0x34103a(0x14a):return N(_0x1b25f7,!0x0);case _0x34103a(0x121):return X(_0x1b25f7,!0x1);case _0x34103a(0x15b):return X(_0x1b25f7,!0x0);default:return String(_0x1b25f7);}}}function M(_0x5edde0,_0x285711){const _0x501d7b=_0x57e3d1,_0x58a83a=_0x285711[_0x501d7b(0x12b)](_0x5edde0);return Array[_0x501d7b(0x131)](_0x58a83a[_0x501d7b(0x10f)]())[_0x501d7b(0x148)](_0x2596e9=>_0x2596e9['is'](_0x501d7b(0x154),'ol')&&_0x2596e9[_0x501d7b(0x157)](_0x501d7b(0x10b)));}function N(_0x16d4e4,_0x5910ab){const _0x1ec5c5=_0x57e3d1;let _0x4c649e='',_0x35307c=_0x16d4e4;for(;_0x35307c>0x0;){const _0x247cac=(_0x35307c-0x1)%0x1a;_0x4c649e=String[_0x1ec5c5(0x118)](0x61+_0x247cac)+_0x4c649e,_0x35307c=Math[_0x1ec5c5(0x10d)]((_0x35307c-0x1)/0x1a);}return _0x5910ab?_0x4c649e[_0x1ec5c5(0x132)]():_0x4c649e;}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(_0x534f4d,_0x2f81c1){const _0xf10667=_0x57e3d1;let _0x50429b='',_0x5099de=_0x534f4d;for(const {value:_0x5a9ae2,numeral:_0x36415a}of V)for(;_0x5099de>=_0x5a9ae2;)_0x50429b+=_0x36415a,_0x5099de-=_0x5a9ae2;return _0x2f81c1?_0x50429b:_0x50429b[_0xf10667(0x159)]();}
23
+ const _0x1e8b84=_0x214a;(function(_0x14bcdc,_0x1aa2c6){const _0x599c89=_0x214a,_0x4bd637=_0x14bcdc();while(!![]){try{const _0x338270=-parseInt(_0x599c89(0xec))/0x1*(-parseInt(_0x599c89(0xbf))/0x2)+-parseInt(_0x599c89(0xd4))/0x3*(parseInt(_0x599c89(0xe9))/0x4)+parseInt(_0x599c89(0xe3))/0x5+parseInt(_0x599c89(0xd2))/0x6+-parseInt(_0x599c89(0xe8))/0x7+parseInt(_0x599c89(0xa9))/0x8+-parseInt(_0x599c89(0xd1))/0x9*(parseInt(_0x599c89(0xd0))/0xa);if(_0x338270===_0x1aa2c6)break;else _0x4bd637['push'](_0x4bd637['shift']());}catch(_0x3e44e1){_0x4bd637['push'](_0x4bd637['shift']());}}}(_0x483b,0xe3cfc));import{Plugin as _0x5c4bd6}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4a1447}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0xee59c1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x39a70b}from'../footnotestracker.js';import{FootnotesEditing as _0x148597}from'../footnotesediting.js';function _0x214a(_0x41c59f,_0x2f611b){const _0x483b81=_0x483b();return _0x214a=function(_0x214aef,_0x3267fe){_0x214aef=_0x214aef-0x95;let _0x25aead=_0x483b81[_0x214aef];return _0x25aead;},_0x214a(_0x41c59f,_0x2f611b);}function _0x483b(){const _0x11b649=['pluginName','editor','config','model','parent','start','attribute:footnotesListStyle:footnotesDefinitions','footnotes-list','toUpperCase','toLowerCase','add','requires','upper-alpha','removeStyle','getItems','525514CUeVwx','decimal','element:ol','_updateFootnotesCounters','_formatFootnoteListValue','decimal-leading-zero','downcast','hasAttribute','parseInt','floor','upcast','modelCursor','attribute:footnotesListStart:footnotesDefinitions','fromCharCode','padStart','max','consume','1210DGHidf','113895uQwqyy','8649240biBvAv','_getDefaultStartIndex','121272tzfZTM','extend','getChildren','commands','setStyle','position','viewItem','differ','writer','footnotesListStyle','$text','setAttribute','createRangeOn','plugins','_defineSchema','8400620Xexkzo','footnotesStyle','footnotes.footnotesProperties.defaultStartIndex','hasClass','isOfficialPlugin','7170079JnERch','80lrQSUm','from','_defineConverters','1eNcjrP','_definePostfixer','setFootnoteFormatter','_defineFormatter','getStyle','footnotesListStart','lower-alpha','_getDefaultListStyle','upper-roman','schema','isPremiumPlugin','footnotes.footnotesProperties.defaultListStyle','consumable','for','lower-latin','insert','type','list-style-type','nodeAfter','getChanges','element','define','footnotesStart','checkAttribute','isNaN','document','removeAttribute','init','registerPostFixer','footnotesDefinitions','name','find','item','mapper','7301816lpERXK','toViewElement','lower-roman','FootnotesPropertiesEditing','getAttribute','get','upper-latin'];_0x483b=function(){return _0x11b649;};return _0x483b();}export class FootnotesPropertiesEditing extends _0x5c4bd6{static get[_0x1e8b84(0xb0)](){const _0x2e677b=_0x1e8b84;return _0x2e677b(0xac);}static get[_0x1e8b84(0xbb)](){return[_0x148597,_0x39a70b];}static get[_0x1e8b84(0xe7)](){return!0x0;}static get[_0x1e8b84(0xf6)](){return!0x0;}[_0x1e8b84(0xa2)](){const _0x2ae5e9=_0x1e8b84,{editor:_0x588ebf}=this;_0x588ebf[_0x2ae5e9(0xb2)][_0x2ae5e9(0x9c)](_0x2ae5e9(0xf7),_0x2ae5e9(0xc0)),_0x588ebf[_0x2ae5e9(0xb2)][_0x2ae5e9(0x9c)](_0x2ae5e9(0xe5),0x1),_0x588ebf[_0x2ae5e9(0xd7)][_0x2ae5e9(0xba)](_0x2ae5e9(0xe4),new _0x4a1447(_0x588ebf)),_0x588ebf[_0x2ae5e9(0xd7)][_0x2ae5e9(0xba)](_0x2ae5e9(0x9d),new _0xee59c1(_0x588ebf)),this[_0x2ae5e9(0xe2)](),this[_0x2ae5e9(0xeb)](),this[_0x2ae5e9(0xef)](),this[_0x2ae5e9(0xed)]();}[_0x1e8b84(0xe2)](){const _0x14f8ea=_0x1e8b84,{editor:_0x4f0751}=this,{schema:_0x563d79}=_0x4f0751[_0x14f8ea(0xb3)];_0x563d79[_0x14f8ea(0xd5)](_0x14f8ea(0xa4),{'allowAttributes':[_0x14f8ea(0xdd),_0x14f8ea(0xf1)]});}[_0x1e8b84(0xeb)](){const _0x37a20c=_0x1e8b84,{editor:_0x12baaf}=this,{conversion:_0x18c8e8,model:_0x496aef}=_0x12baaf,{schema:_0x1add65}=_0x496aef;_0x18c8e8[_0x37a20c(0xf9)](_0x37a20c(0xc9))[_0x37a20c(0xba)](_0xe0a93d=>{const _0x3b9018=_0x37a20c;_0xe0a93d['on'](_0x3b9018(0xc1),(_0x104c72,_0x1fde15,_0x1e0c45)=>{const _0xc4c208=_0x3b9018,_0x30aaa0=_0x1fde15[_0xc4c208(0xda)],_0x42f34c=_0x1fde15[_0xc4c208(0xca)]?.[_0xc4c208(0xb4)];_0x30aaa0[_0xc4c208(0xe6)](_0xc4c208(0xb7))&&_0x42f34c?.['is'](_0xc4c208(0x9b),_0xc4c208(0xa4))&&(function(_0x3d5dc9,_0x51586a,_0x5dfd0,_0x29ee1a){const _0x3325f8=_0xc4c208;if(!_0x29ee1a[_0x3325f8(0x9e)](_0x51586a,_0x3325f8(0xf1)))return;let _0x6b81cb=0x1;const _0x311029=_0x5dfd0[_0x3325f8(0xf8)][_0x3325f8(0xcf)](_0x3d5dc9,{'attributes':_0x3325f8(0xb5)});if(_0x311029){const _0x34e13c=Number[_0x3325f8(0xc7)](_0x3d5dc9[_0x3325f8(0xad)](_0x3325f8(0xb5)),0xa);Number[_0x3325f8(0x9f)](_0x34e13c)||(_0x6b81cb=_0x34e13c);}!_0x311029&&_0x51586a[_0x3325f8(0xc6)](_0x3325f8(0xf1))||_0x5dfd0[_0x3325f8(0xdc)][_0x3325f8(0xdf)](_0x3325f8(0xf1),_0x6b81cb,_0x51586a);}(_0x30aaa0,_0x42f34c,_0x1e0c45,_0x1add65),function(_0x15e9f1,_0x4e93d5,_0x40fd31,_0x61a548){const _0x381f49=_0xc4c208;if(!_0x61a548[_0x381f49(0x9e)](_0x4e93d5,_0x381f49(0xdd)))return;let _0x4bb77b=_0x381f49(0xc0),_0x4a1a7e=!0x1;if(_0x40fd31[_0x381f49(0xf8)][_0x381f49(0xcf)](_0x15e9f1,{'attributes':_0x381f49(0x97)})){const _0x322642={0x1:_0x381f49(0xc0),'a':_0x381f49(0xf2),'A':_0x381f49(0xbc),'i':_0x381f49(0xab),'I':_0x381f49(0xf4)}[_0x15e9f1[_0x381f49(0xad)](_0x381f49(0x97))];_0x322642&&(_0x4bb77b=_0x322642),_0x4a1a7e=!0x0;}_0x40fd31[_0x381f49(0xf8)][_0x381f49(0xcf)](_0x15e9f1,{'styles':_0x381f49(0x98)})&&(_0x4bb77b=_0x15e9f1[_0x381f49(0xf0)](_0x381f49(0x98)),_0x4a1a7e=!0x0),!_0x4a1a7e&&_0x4e93d5[_0x381f49(0xc6)](_0x381f49(0xdd))||_0x40fd31[_0x381f49(0xdc)][_0x381f49(0xdf)](_0x381f49(0xdd),_0x4bb77b,_0x4e93d5);}(_0x30aaa0,_0x42f34c,_0x1e0c45,_0x1add65));});}),_0x18c8e8[_0x37a20c(0xf9)](_0x37a20c(0xc5))[_0x37a20c(0xba)](_0x23b2f9=>{const _0x102064=_0x37a20c;_0x23b2f9['on'](_0x102064(0xcb),(_0x104dd1,_0x4042dc,_0x3c6183)=>{const _0xfbf293=_0x102064;if(!_0x3c6183[_0xfbf293(0xf8)][_0xfbf293(0xcf)](_0x4042dc[_0xfbf293(0xa7)],_0x104dd1[_0xfbf293(0xa5)]))return;const _0x1113ee=M(_0x4042dc[_0xfbf293(0xa7)],_0x3c6183[_0xfbf293(0xa8)]),{attributeNewValue:_0x266413}=_0x4042dc;null==_0x266413||0x1===_0x266413?_0x3c6183[_0xfbf293(0xdc)][_0xfbf293(0xa1)](_0xfbf293(0xb5),_0x1113ee):_0x3c6183[_0xfbf293(0xdc)][_0xfbf293(0xdf)](_0xfbf293(0xb5),String(_0x266413),_0x1113ee);}),_0x23b2f9['on'](_0x102064(0xb6),(_0x2e55e7,_0x373d1b,_0x37331e)=>{const _0x11982e=_0x102064;if(!_0x37331e[_0x11982e(0xf8)][_0x11982e(0xcf)](_0x373d1b[_0x11982e(0xa7)],_0x2e55e7[_0x11982e(0xa5)]))return;const _0x551213=M(_0x373d1b[_0x11982e(0xa7)],_0x37331e[_0x11982e(0xa8)]),{attributeNewValue:_0x3a00c4}=_0x373d1b;_0x3a00c4&&_0x11982e(0xc0)!==_0x3a00c4?_0x37331e[_0x11982e(0xdc)][_0x11982e(0xd8)](_0x11982e(0x98),_0x3a00c4,_0x551213):_0x37331e[_0x11982e(0xdc)][_0x11982e(0xbd)](_0x11982e(0x98),_0x551213);});});}[_0x1e8b84(0xed)](){const _0x29d87b=_0x1e8b84,{editor:_0x511105}=this,{model:_0x4f525a}=_0x511105,_0xcadf02=_0x511105[_0x29d87b(0xe1)][_0x29d87b(0xae)](_0x39a70b),_0x342540=this[_0x29d87b(0xf3)](),_0x171494=this[_0x29d87b(0xd3)]();_0x4f525a[_0x29d87b(0xa0)][_0x29d87b(0xa3)](_0x5eaa78=>{const _0x3b8dc0=_0x29d87b,_0x10655b=_0x4f525a[_0x3b8dc0(0xa0)][_0x3b8dc0(0xdb)][_0x3b8dc0(0x9a)]();let _0xffecb6=!0x1;for(const _0x55c4c3 of _0x10655b){if(_0x3b8dc0(0x96)!==_0x55c4c3[_0x3b8dc0(0x97)]||_0x3b8dc0(0xde)===_0x55c4c3[_0x3b8dc0(0xa5)])continue;const _0x2d5062=_0x4f525a[_0x3b8dc0(0xe0)](_0x55c4c3[_0x3b8dc0(0xd9)][_0x3b8dc0(0x99)]);for(const _0x491aeb of _0x2d5062[_0x3b8dc0(0xbe)]())_0x491aeb['is'](_0x3b8dc0(0x9b),_0x3b8dc0(0xa4))&&(!_0x491aeb[_0x3b8dc0(0xc6)](_0x3b8dc0(0xf1))&&_0x4f525a[_0x3b8dc0(0xf5)][_0x3b8dc0(0x9e)](_0x491aeb,_0x3b8dc0(0xf1))&&(_0x5eaa78[_0x3b8dc0(0xdf)](_0x3b8dc0(0xf1),_0x171494,_0x491aeb),_0xffecb6=!0x0),!_0x491aeb[_0x3b8dc0(0xc6)](_0x3b8dc0(0xdd))&&_0x4f525a[_0x3b8dc0(0xf5)][_0x3b8dc0(0x9e)](_0x491aeb,_0x3b8dc0(0xdd))&&(_0x5eaa78[_0x3b8dc0(0xdf)](_0x3b8dc0(0xdd),_0x342540,_0x491aeb),_0xffecb6=!0x0));}return _0xffecb6&&_0xcadf02[_0x3b8dc0(0xc2)](_0x5eaa78),_0xffecb6;});}[_0x1e8b84(0xef)](){const _0x8b749b=_0x1e8b84,{editor:_0x4f45d8}=this;_0x4f45d8[_0x8b749b(0xe1)][_0x8b749b(0xae)](_0x39a70b)[_0x8b749b(0xee)](_0xbf2ec8=>this[_0x8b749b(0xc3)](_0xbf2ec8));}[_0x1e8b84(0xf3)](){const _0x3c73bb=_0x1e8b84;return this[_0x3c73bb(0xb1)][_0x3c73bb(0xb2)][_0x3c73bb(0xae)](_0x3c73bb(0xf7));}[_0x1e8b84(0xd3)](){const _0x620194=_0x1e8b84;return this[_0x620194(0xb1)][_0x620194(0xb2)][_0x620194(0xae)](_0x620194(0xe5));}[_0x1e8b84(0xc3)]({container:_0x542f14,value:_0x283685,digits:_0xdc72cd}){const _0x50e703=_0x1e8b84,_0x137173=_0x542f14[_0x50e703(0xad)](_0x50e703(0xdd)),_0x3ecd9e=_0x542f14[_0x50e703(0xad)](_0x50e703(0xf1)),_0x18638e=Math[_0x50e703(0xc8)](_0x283685)+(_0x3ecd9e??0x1)-0x1;switch(_0x137173){case _0x50e703(0xc4):return function(_0x23df8e,_0x3fea76){const _0x446eba=_0x50e703;return String(_0x23df8e)[_0x446eba(0xcd)](_0x3fea76,'0');}(_0x18638e,Math[_0x50e703(0xce)](0x2,_0xdc72cd));case _0x50e703(0xf2):case _0x50e703(0x95):return N(_0x18638e,!0x1);case _0x50e703(0xbc):case _0x50e703(0xaf):return N(_0x18638e,!0x0);case _0x50e703(0xab):return X(_0x18638e,!0x1);case _0x50e703(0xf4):return X(_0x18638e,!0x0);default:return String(_0x18638e);}}}function M(_0x423ebe,_0xdaae31){const _0x454ffa=_0x1e8b84,_0xb457c4=_0xdaae31[_0x454ffa(0xaa)](_0x423ebe);return Array[_0x454ffa(0xea)](_0xb457c4[_0x454ffa(0xd6)]())[_0x454ffa(0xa6)](_0x42003f=>_0x42003f['is'](_0x454ffa(0x9b),'ol')&&_0x42003f[_0x454ffa(0xe6)](_0x454ffa(0xb7)));}function N(_0x12bf98,_0x4fabd8){const _0x5413a9=_0x1e8b84;let _0x5b6414='',_0x11b42d=_0x12bf98;for(;_0x11b42d>0x0;){const _0x47aeb2=(_0x11b42d-0x1)%0x1a;_0x5b6414=String[_0x5413a9(0xcc)](0x61+_0x47aeb2)+_0x5b6414,_0x11b42d=Math[_0x5413a9(0xc8)]((_0x11b42d-0x1)/0x1a);}return _0x4fabd8?_0x5b6414[_0x5413a9(0xb8)]():_0x5b6414;}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(_0x8b9b4c,_0x433402){const _0x59e57f=_0x1e8b84;let _0x164aa0='',_0x3381f8=_0x8b9b4c;for(const {value:_0x5184e3,numeral:_0x21ebfd}of V)for(;_0x3381f8>=_0x5184e3;)_0x164aa0+=_0x21ebfd,_0x3381f8-=_0x5184e3;return _0x433402?_0x164aa0:_0x164aa0[_0x59e57f(0xb9)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x190952,ButtonView as _0x439df6,ContextualBalloon as _0xb31faa,createDropdown as _0x53c8dc}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x53d40a}from'ckeditor5/src/widget.js';import{Plugin as _0x5522a3}from'ckeditor5/src/core.js';import{IconFootnote as _0x288036,IconListStyleDecimal as _0x2f660e,IconListStyleDecimalLeadingZero as _0x2ca044,IconListStyleLowerLatin as _0x3ad0c8,IconListStyleLowerRoman as _0x304c3e,IconListStyleUpperLatin as _0x25e3e9,IconListStyleUpperRoman as _0x34126f}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2a9869}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x41db3d}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x5522a3{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xb31faa,_0x53d40a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2f30ba}=this,{componentFactory:_0x274070}=_0x2f30ba['ui'];_0x2f30ba['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x274070['add']('footnotesStyle',function(_0x314f71){return _0x354b4b=>{const {t:t}=_0x354b4b,_0x4f9ac5=_0x314f71['commands']['get']('footnotesStyle'),_0x341b40=_0x53c8dc(_0x354b4b),{buttonView:_0x274c5a}=_0x341b40;return _0x341b40['class']='ck-footnotes-styles-dropdown',_0x341b40['bind']('isEnabled')['to'](_0x4f9ac5,'isEnabled'),_0x274c5a['set']({'label':t('Footnotes\x20style'),'icon':_0x288036,'tooltip':!0x0}),_0x341b40['once']('change:isOpen',()=>{const _0x473146=function({editor:_0x59e577,dropdownView:_0x49f7a7}){const {t:t}=_0x59e577['locale'],_0x5b3c25=t('Footnotes\x20definitions\x20styles'),_0x2ecb35=function(_0x1bbfc0){const t=_0x1bbfc0['locale']['t'],_0xa2999c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f660e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2ca044},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x304c3e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x34126f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3ad0c8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x25e3e9}];return _0xa2999c['map'](function(_0x89a11e){const _0x41f301=_0x89a11e['locale'];return({label:_0x51b2d4,icon:_0x18c342,tooltip:_0x169fe3,style:_0x191336})=>{const _0x3b67e8=_0x89a11e['commands']['get']('footnotesStyle'),_0x333cb5=new _0x439df6(_0x41f301);return _0x333cb5['set']({'label':_0x51b2d4,'icon':_0x18c342,'tooltip':_0x169fe3}),_0x333cb5['bind']('isOn')['to'](_0x3b67e8,'value',_0x2687d4=>_0x2687d4===_0x191336),_0x333cb5['bind']('isEnabled')['to'](_0x3b67e8,'isEnabled'),_0x333cb5['on']('execute',()=>{_0x89a11e['execute']('footnotesStyle',{'value':_0x191336}),_0x89a11e['editing']['view']['focus']();}),_0x333cb5;};}(_0x1bbfc0));}(_0x59e577),_0x2cfca6=new _0x2a9869(_0x59e577['locale'],{'styleGridAriaLabel':_0x5b3c25,'styleButtonViews':_0x2ecb35});return _0x2cfca6['delegate']('execute')['to'](_0x49f7a7),_0x2cfca6['on']('footnotesListStart',(_0x2f07a9,_0x384247)=>{_0x59e577['execute']('footnotesStart',{'value':_0x384247['startIndex']});}),_0x2cfca6;}({'editor':_0x314f71,'dropdownView':_0x341b40});_0x341b40['panelView']['children']['add'](_0x473146);}),_0x341b40;};}(_0x2f30ba));}['afterInit'](){const {editor:_0x134006}=this,{t:t}=_0x134006['locale'],_0x5a23bf=_0x134006['plugins']['get'](_0x53d40a),{defaultPositions:_0x25757b}=_0x190952;_0x5a23bf['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x134006['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3c5081=>{let _0x3e3e5f=_0x3c5081['getFirstPosition']()?.['parent'];return _0x3e3e5f?.['is']('$text')&&(_0x3e3e5f=_0x3e3e5f['parent']),_0x3e3e5f?.['is']('element')?_0x3e3e5f['findAncestor'](_0x41db3d):null;},'positions':[_0x25757b['southArrowNorth'],_0x25757b['southArrowNorthMiddleWest'],_0x25757b['southArrowNorthMiddleEast'],_0x25757b['southArrowNorthWest'],_0x25757b['southArrowNorthEast'],_0x25757b['northArrowSouth'],_0x25757b['northArrowSouthMiddleWest'],_0x25757b['northArrowSouthMiddleEast'],_0x25757b['northArrowSouthWest'],_0x25757b['northArrowSouthEast'],_0x25757b['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x154b50,ButtonView as _0x4540bb,ContextualBalloon as _0x27766d,createDropdown as _0x42e24f}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4c0ed1}from'ckeditor5/src/widget.js';import{Plugin as _0x488747}from'ckeditor5/src/core.js';import{IconFootnote as _0x46b76d,IconListStyleDecimal as _0x5cb054,IconListStyleDecimalLeadingZero as _0x5dd21c,IconListStyleLowerLatin as _0x3b707c,IconListStyleLowerRoman as _0x4d4965,IconListStyleUpperLatin as _0x914510,IconListStyleUpperRoman as _0x547404}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x541f11}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1604d6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x488747{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x27766d,_0x4c0ed1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35a3f0}=this,{componentFactory:_0x382e07}=_0x35a3f0['ui'];_0x35a3f0['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x382e07['add']('footnotesStyle',function(_0x3abd28){return _0x4c9563=>{const {t:t}=_0x4c9563,_0x40abce=_0x3abd28['commands']['get']('footnotesStyle'),_0x34501e=_0x42e24f(_0x4c9563),{buttonView:_0x1978ae}=_0x34501e;return _0x34501e['class']='ck-footnotes-styles-dropdown',_0x34501e['bind']('isEnabled')['to'](_0x40abce,'isEnabled'),_0x1978ae['set']({'label':t('Footnotes\x20style'),'icon':_0x46b76d,'tooltip':!0x0}),_0x34501e['once']('change:isOpen',()=>{const _0x334f9a=function({editor:_0x4d93b2,dropdownView:_0x4d8f2e}){const {t:t}=_0x4d93b2['locale'],_0x4f78a8=t('Footnotes\x20definitions\x20styles'),_0x444c3e=function(_0x5aa938){const t=_0x5aa938['locale']['t'],_0x26ef3f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5cb054},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5dd21c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4d4965},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x547404},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3b707c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x914510}];return _0x26ef3f['map'](function(_0xd3b382){const _0x4c1d5b=_0xd3b382['locale'];return({label:_0x44ad65,icon:_0x4d1521,tooltip:_0x57af64,style:_0x2ed8c6})=>{const _0x35091d=_0xd3b382['commands']['get']('footnotesStyle'),_0x1a4f59=new _0x4540bb(_0x4c1d5b);return _0x1a4f59['set']({'label':_0x44ad65,'icon':_0x4d1521,'tooltip':_0x57af64}),_0x1a4f59['bind']('isOn')['to'](_0x35091d,'value',_0x2ff0e0=>_0x2ff0e0===_0x2ed8c6),_0x1a4f59['bind']('isEnabled')['to'](_0x35091d,'isEnabled'),_0x1a4f59['on']('execute',()=>{_0xd3b382['execute']('footnotesStyle',{'value':_0x2ed8c6}),_0xd3b382['editing']['view']['focus']();}),_0x1a4f59;};}(_0x5aa938));}(_0x4d93b2),_0x5119af=new _0x541f11(_0x4d93b2['locale'],{'styleGridAriaLabel':_0x4f78a8,'styleButtonViews':_0x444c3e});return _0x5119af['delegate']('execute')['to'](_0x4d8f2e),_0x5119af['on']('footnotesListStart',(_0x3523c0,_0x4edb2e)=>{_0x4d93b2['execute']('footnotesStart',{'value':_0x4edb2e['startIndex']});}),_0x5119af;}({'editor':_0x3abd28,'dropdownView':_0x34501e});_0x34501e['panelView']['children']['add'](_0x334f9a);}),_0x34501e;};}(_0x35a3f0));}['afterInit'](){const {editor:_0x5c6fb8}=this,{t:t}=_0x5c6fb8['locale'],_0x3b2737=_0x5c6fb8['plugins']['get'](_0x4c0ed1),{defaultPositions:_0x4bbfe7}=_0x154b50;_0x3b2737['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5c6fb8['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x65946c=>{let _0x4f6793=_0x65946c['getFirstPosition']()?.['parent'];return _0x4f6793?.['is']('$text')&&(_0x4f6793=_0x4f6793['parent']),_0x4f6793?.['is']('element')?_0x4f6793['findAncestor'](_0x1604d6):null;},'positions':[_0x4bbfe7['southArrowNorth'],_0x4bbfe7['southArrowNorthMiddleWest'],_0x4bbfe7['southArrowNorthMiddleEast'],_0x4bbfe7['southArrowNorthWest'],_0x4bbfe7['southArrowNorthEast'],_0x4bbfe7['northArrowSouth'],_0x4bbfe7['northArrowSouthMiddleWest'],_0x4bbfe7['northArrowSouthMiddleEast'],_0x4bbfe7['northArrowSouthWest'],_0x4bbfe7['northArrowSouthEast'],_0x4bbfe7['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x9bf9ea,View as _0x45e88d,ViewCollection as _0x197bd7,FocusCycler as _0x52870e,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 _0x45e88d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x197bd7();['focusCycler'];constructor(_0x5b729f,{styleButtonViews:_0x57553e,styleGridAriaLabel:_0x4407b9}){super(_0x5b729f),(this['focusCycler']=new _0x52870e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x57553e,_0x4407b9),[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 _0x58443e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x58443e['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 _0x466ebb=_0x19d852=>_0x19d852['stopPropagation']();this['keystrokes']['set']('arrowright',_0x466ebb),this['keystrokes']['set']('arrowleft',_0x466ebb),this['keystrokes']['set']('arrowup',_0x466ebb),this['keystrokes']['set']('arrowdown',_0x466ebb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x172b86,_0x2a9158){const _0x581b34=new _0x45e88d(this['locale']);return _0x581b34['children']=_0x581b34['createCollection'](),_0x581b34['children']['addMany'](_0x172b86),_0x581b34['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2a9158,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x581b34['children']}),_0x581b34['children']['delegate']('execute')['to'](this),_0x581b34['focus']=function(){for(const _0x397e13 of this['children'])if(_0x397e13 instanceof _0x9bf9ea&&_0x397e13['isOn'])return void _0x397e13['focus']();this['children']['first']['focus']();},_0x581b34['focusTracker']=new ot(),_0x581b34['keystrokes']=new rt(),_0x581b34['render'](),_0x581b34['keystrokes']['listenTo'](_0x581b34['element']),this['children']['add'](_0x581b34),_0x581b34;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5935ab=this['_createStartIndexPropertyView'](),_0x3db4e2=[_0x5935ab],_0x2841a3=new st(this['locale'],_0x3db4e2);return _0x2841a3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2841a3['buttonView']['bind']('isEnabled')['toMany'](_0x3db4e2,'isEnabled',(..._0x451f6b)=>_0x451f6b['some'](_0x48d2a3=>_0x48d2a3)),_0x2841a3['buttonView']['on']('change:isEnabled',(_0x1a63b4,_0x2ff9ae,_0x383cbf)=>{_0x383cbf||(_0x2841a3['isCollapsed']=!0x0);}),this['children']['add'](_0x2841a3),[_0x5935ab,_0x2841a3];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x858242=new it(this['locale'],et);return _0x858242['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x858242['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x858242['fieldView']['on']('input',()=>{const _0xffe123=_0x858242['fieldView']['element'],_0x45fb64=_0xffe123['valueAsNumber'];Number['isNaN'](_0x45fb64)?_0x858242['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xffe123['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x45fb64}):_0x858242['errorText']=t(_0x45fb64<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x858242;}}
23
+ import{ButtonView as _0x412832,View as _0x3face4,ViewCollection as _0x323fe1,FocusCycler as _0x549f44,addKeyboardHandlingForGrid as _0x421101,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3face4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x323fe1();['focusCycler'];constructor(_0x2399da,{styleButtonViews:_0x572fdb,styleGridAriaLabel:_0x1dfe07}){super(_0x2399da),(this['focusCycler']=new _0x549f44({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x572fdb,_0x1dfe07),[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 _0x6f0d36 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x6f0d36['element']);_0x421101({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0xc5db55=_0x21c0ee=>_0x21c0ee['stopPropagation']();this['keystrokes']['set']('arrowright',_0xc5db55),this['keystrokes']['set']('arrowleft',_0xc5db55),this['keystrokes']['set']('arrowup',_0xc5db55),this['keystrokes']['set']('arrowdown',_0xc5db55);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x50da51,_0x62f70a){const _0xdbe0c=new _0x3face4(this['locale']);return _0xdbe0c['children']=_0xdbe0c['createCollection'](),_0xdbe0c['children']['addMany'](_0x50da51),_0xdbe0c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x62f70a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xdbe0c['children']}),_0xdbe0c['children']['delegate']('execute')['to'](this),_0xdbe0c['focus']=function(){for(const _0xea9b00 of this['children'])if(_0xea9b00 instanceof _0x412832&&_0xea9b00['isOn'])return void _0xea9b00['focus']();this['children']['first']['focus']();},_0xdbe0c['focusTracker']=new et(),_0xdbe0c['keystrokes']=new ot(),_0xdbe0c['render'](),_0xdbe0c['keystrokes']['listenTo'](_0xdbe0c['element']),this['children']['add'](_0xdbe0c),_0xdbe0c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4923a5=this['_createStartIndexPropertyView'](),_0x3608bd=[_0x4923a5],_0x33e480=new tt(this['locale'],_0x3608bd);return _0x33e480['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x33e480['buttonView']['bind']('isEnabled')['toMany'](_0x3608bd,'isEnabled',(..._0x426de1)=>_0x426de1['some'](_0x5f54ab=>_0x5f54ab)),_0x33e480['buttonView']['on']('change:isEnabled',(_0x1a2cac,_0x31e6d5,_0x5d482a)=>{_0x5d482a||(_0x33e480['isCollapsed']=!0x0);}),this['children']['add'](_0x33e480),[_0x4923a5,_0x33e480];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1bb650=new st(this['locale'],it);return _0x1bb650['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1bb650['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1bb650['fieldView']['on']('input',()=>{const _0x18f155=_0x1bb650['fieldView']['element'],_0x48fddd=_0x18f155['valueAsNumber'];Number['isNaN'](_0x48fddd)?_0x1bb650['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x18f155['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x48fddd}):_0x1bb650['errorText']=t(_0x48fddd<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1bb650;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x688600=_0x45e9;(function(_0x3f0b89,_0x1d2690){var _0x44f9d9=_0x45e9,_0x47365a=_0x3f0b89();while(!![]){try{var _0x2baadc=parseInt(_0x44f9d9(0x1db))/0x1+parseInt(_0x44f9d9(0x1d4))/0x2+-parseInt(_0x44f9d9(0x1d7))/0x3*(-parseInt(_0x44f9d9(0x1dd))/0x4)+parseInt(_0x44f9d9(0x1d8))/0x5+parseInt(_0x44f9d9(0x1d6))/0x6+-parseInt(_0x44f9d9(0x1da))/0x7*(-parseInt(_0x44f9d9(0x1d9))/0x8)+-parseInt(_0x44f9d9(0x1d3))/0x9*(parseInt(_0x44f9d9(0x1e0))/0xa);if(_0x2baadc===_0x1d2690)break;else _0x47365a['push'](_0x47365a['shift']());}catch(_0x3b2cbe){_0x47365a['push'](_0x47365a['shift']());}}}(_0x35ba,0x5d48d));import{Plugin as _0x262cb4}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2b8b42}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x53e73a}from'./footnotesproperties/footnotespropertiesui.js';function _0x35ba(){var _0x2ed395=['343792BIjjzE','isPremiumPlugin','3565620smLgVX','989385HOdsSk','455580IKzDkE','19712HLMqwX','931yPHxUE','568465aGZmXe','pluginName','4OfFwuT','FootnotesProperties','requires','70BfNxib','isOfficialPlugin','2187207dxqsci'];_0x35ba=function(){return _0x2ed395;};return _0x35ba();}function _0x45e9(_0x3538ac,_0x50f01f){var _0x35ba84=_0x35ba();return _0x45e9=function(_0x45e94a,_0x239b1c){_0x45e94a=_0x45e94a-0x1d2;var _0x800a34=_0x35ba84[_0x45e94a];return _0x800a34;},_0x45e9(_0x3538ac,_0x50f01f);}export class FootnotesProperties extends _0x262cb4{static get[_0x688600(0x1dc)](){var _0x5567fc=_0x688600;return _0x5567fc(0x1de);}static get[_0x688600(0x1df)](){return[_0x2b8b42,_0x53e73a];}static get[_0x688600(0x1d2)](){return!0x0;}static get[_0x688600(0x1d5)](){return!0x0;}}
23
+ var _0x31cec9=_0x5c59;(function(_0x32dba6,_0x564d17){var _0x37c56a=_0x5c59,_0x430280=_0x32dba6();while(!![]){try{var _0x1bd45b=parseInt(_0x37c56a(0x136))/0x1+parseInt(_0x37c56a(0x132))/0x2*(-parseInt(_0x37c56a(0x135))/0x3)+-parseInt(_0x37c56a(0x133))/0x4*(parseInt(_0x37c56a(0x13d))/0x5)+-parseInt(_0x37c56a(0x131))/0x6+-parseInt(_0x37c56a(0x13b))/0x7*(-parseInt(_0x37c56a(0x13a))/0x8)+parseInt(_0x37c56a(0x138))/0x9+parseInt(_0x37c56a(0x12e))/0xa*(parseInt(_0x37c56a(0x139))/0xb);if(_0x1bd45b===_0x564d17)break;else _0x430280['push'](_0x430280['shift']());}catch(_0x49b9cb){_0x430280['push'](_0x430280['shift']());}}}(_0x4d3c,0x8d767));import{Plugin as _0x1e4bb2}from'ckeditor5/src/core.js';function _0x5c59(_0x296d1e,_0xc19ea1){var _0x4d3c53=_0x4d3c();return _0x5c59=function(_0x5c59c1,_0x2db1a6){_0x5c59c1=_0x5c59c1-0x12e;var _0x3e3c6d=_0x4d3c53[_0x5c59c1];return _0x3e3c6d;},_0x5c59(_0x296d1e,_0xc19ea1);}import{FootnotesPropertiesEditing as _0x53ee08}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x5887c0}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1e4bb2{static get[_0x31cec9(0x12f)](){var _0x3066fa=_0x31cec9;return _0x3066fa(0x134);}static get[_0x31cec9(0x137)](){return[_0x53ee08,_0x5887c0];}static get[_0x31cec9(0x13c)](){return!0x0;}static get[_0x31cec9(0x130)](){return!0x0;}}function _0x4d3c(){var _0xa72b5f=['5962UXDvdv','143056hPjgoz','7jJhyXM','isOfficialPlugin','5dSpRmq','7090vnkKwD','pluginName','isPremiumPlugin','2100054mBLLxo','832588slYNCs','4431820eRbgmj','FootnotesProperties','3DjHnty','1158523QWmXUE','requires','8037054uchUpF'];_0x4d3c=function(){return _0xa72b5f;};return _0x4d3c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39cab3=_0x45de;(function(_0x2dc340,_0x3f2ffe){const _0x59d9f5=_0x45de,_0x5b8d84=_0x2dc340();while(!![]){try{const _0x3272d9=-parseInt(_0x59d9f5(0xcf))/0x1*(parseInt(_0x59d9f5(0xeb))/0x2)+parseInt(_0x59d9f5(0x101))/0x3*(-parseInt(_0x59d9f5(0xd3))/0x4)+parseInt(_0x59d9f5(0xe0))/0x5+parseInt(_0x59d9f5(0x119))/0x6*(-parseInt(_0x59d9f5(0xee))/0x7)+parseInt(_0x59d9f5(0x113))/0x8+parseInt(_0x59d9f5(0xed))/0x9*(-parseInt(_0x59d9f5(0x11a))/0xa)+-parseInt(_0x59d9f5(0xf5))/0xb*(-parseInt(_0x59d9f5(0x105))/0xc);if(_0x3272d9===_0x3f2ffe)break;else _0x5b8d84['push'](_0x5b8d84['shift']());}catch(_0x3417c8){_0x5b8d84['push'](_0x5b8d84['shift']());}}}(_0x34fc,0x48930));import{Plugin as _0x1e1532}from'ckeditor5/src/core.js';function _0x45de(_0x573e3b,_0x5371d4){const _0x34fcd8=_0x34fc();return _0x45de=function(_0x45de68,_0x4ce864){_0x45de68=_0x45de68-0xbb;let _0x43702b=_0x34fcd8[_0x45de68];return _0x43702b;},_0x45de(_0x573e3b,_0x5371d4);}function _0x34fc(){const _0x20b225=['singleton','has','getChildren','length','getFootnote','getChanges','createRangeIn','setFootnoteFormatter','append','high','2832235RxCKkQ','some','footnoteId','paragraph','_updateFootnotesCounters','push','splice','_handleFootnotesDefinitionsObjectSync','_footnoteRefsTracker','model','isPremiumPlugin','58042ArWvzs','editor','369WNeuuW','56jVaqAC','end','differ','_ensureFootnotesDefinitionsContainerExists','_ensureFootnotesReferencesHaveProperOrder','_handleRemoveFootnoteReferenceById','min','11CTBzvb','createElement','before','insert','footnoteDefinition','after','config','document','getAttribute','from','_footnoteDefsTracker','_updateFootnoteRefCounter','12jYPWlh','registerPostFixer','footnoteRef','_footnotes','12349524EyDUao','FootnotesTracker','footnoteInlineContent','_footnoteFormatter','get','footnotes.multiBlock','_handleInsertedFootnoteReference','childCount','listenTo','isOfficialPlugin','footnotesDefinitions','reference','definition','_footnotesDefinitions','368056YdnAbg','reset','createPositionAt','createRangeOn','_insertEmptyFootnotesDefinitionsContainer','remove','68808awFblY','92760tMnxNk','_handleFootnoteDefinitionsChanges','_sortFootnoteDefinitions','init','low','_footnoteDefsContainerTracker','map','unshift','find','findIndex','getFootnotesFormatter','compareWith','_handleFootnoteReferencesChanges','change:data','root','$graveyard','set','createPositionBefore','footnoteCounter','parent','move','enqueueChange','getFootnotes','indexOf','setAttribute','getFootnotesDefinitionsObjectElement','isEqual','getRootNames','13iZodZY','pluginName','add','rootName','494984clGeQh','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectChanges'];_0x34fc=function(){return _0x20b225;};return _0x34fc();}import{ModelElementTracker as _0x1d295}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1e1532{[_0x39cab3(0x104)]=[];[_0x39cab3(0x112)]=null;[_0x39cab3(0x108)]=null;[_0x39cab3(0x11f)];[_0x39cab3(0xe8)];[_0x39cab3(0xff)];static get[_0x39cab3(0xd0)](){const _0x26d38e=_0x39cab3;return _0x26d38e(0x106);}static get[_0x39cab3(0x10e)](){return!0x0;}static get[_0x39cab3(0xea)](){return!0x0;}constructor(_0xe21b85){const _0x10b4ff=_0x39cab3;super(_0xe21b85),this[_0x10b4ff(0x11f)]=new _0x1d295(this[_0x10b4ff(0xec)][_0x10b4ff(0xe9)],{'elementName':_0x10b4ff(0x10f),'getElementKey':()=>_0x10b4ff(0xd6)}),this[_0x10b4ff(0xe8)]=new _0x1d295(this[_0x10b4ff(0xec)][_0x10b4ff(0xe9)],{'elementName':_0x10b4ff(0x103),'getElementKey':_0x3c80b4=>_0x3c80b4[_0x10b4ff(0xfd)](_0x10b4ff(0xe2))}),this[_0x10b4ff(0xff)]=new _0x1d295(this[_0x10b4ff(0xec)][_0x10b4ff(0xe9)],{'elementName':_0x10b4ff(0xf9),'getElementKey':_0x42b662=>_0x42b662[_0x10b4ff(0xfd)](_0x10b4ff(0xe2))});}[_0x39cab3(0x11d)](){const _0x4ef08d=_0x39cab3,{editor:_0x3a9a14}=this,{model:_0x148bc8,data:_0x19ce92}=_0x3a9a14;_0x148bc8[_0x4ef08d(0xfc)][_0x4ef08d(0x102)](_0x527546=>{const _0x44841c=_0x4ef08d,_0x538a83=_0x148bc8[_0x44841c(0xfc)][_0x44841c(0xf0)][_0x44841c(0xdb)]();let _0x5bc60f=!0x1;return this[_0x44841c(0xd5)](_0x527546,_0x538a83)&&(_0x5bc60f=!0x0),this[_0x44841c(0x11b)](_0x527546,_0x538a83)&&(_0x5bc60f=!0x0),this[_0x44841c(0xbf)](_0x527546,_0x538a83)&&(_0x5bc60f=!0x0),this[_0x44841c(0xf2)](_0x527546)&&(_0x5bc60f=!0x0),this[_0x44841c(0xe7)](_0x527546)&&(_0x5bc60f=!0x0),this[_0x44841c(0x11c)](_0x527546)&&(_0x5bc60f=!0x0),_0x5bc60f;}),this[_0x4ef08d(0x10d)](_0x148bc8[_0x4ef08d(0xfc)],_0x4ef08d(0xc0),()=>{const _0xb5cdc=_0x4ef08d;_0x148bc8[_0xb5cdc(0xc8)]({'isUndoable':!0x1},_0x1cbac3=>{const _0x4e44a3=_0xb5cdc;this[_0x4e44a3(0xf1)](_0x1cbac3);});},{'priority':_0x4ef08d(0x11e)}),this[_0x4ef08d(0x10d)](_0x19ce92,_0x4ef08d(0xc3),()=>{const _0x3e1745=_0x4ef08d;this[_0x3e1745(0x104)]=[],this[_0x3e1745(0x11f)][_0x3e1745(0x114)](),this[_0x3e1745(0xe8)][_0x3e1745(0x114)](),this[_0x3e1745(0xff)][_0x3e1745(0x114)]();},{'priority':_0x4ef08d(0xdf)});}[_0x39cab3(0xcc)](){const _0x173086=_0x39cab3;return this[_0x173086(0x112)];}[_0x39cab3(0xda)](_0x221754){const _0x49d0d5=_0x39cab3;return this[_0x49d0d5(0x104)][_0x49d0d5(0xbb)](_0x3eedb4=>_0x3eedb4['id']===_0x221754)||null;}[_0x39cab3(0xc9)](){const _0x2119b0=_0x39cab3;return Array[_0x2119b0(0xfe)](this[_0x2119b0(0x104)]);}[_0x39cab3(0xbd)](){const _0x159fa0=_0x39cab3;return this[_0x159fa0(0x108)];}[_0x39cab3(0xdd)](_0x28ed0c){const _0x342eca=_0x39cab3;this[_0x342eca(0x108)]=_0x28ed0c;}[_0x39cab3(0xe4)](_0x2fba44,_0x1bd6f7=0x0){const _0x582de3=_0x39cab3;let _0x288c29=!0x1;for(let _0x546391=_0x1bd6f7;_0x546391<this[_0x582de3(0x104)][_0x582de3(0xd9)];_0x546391++)this[_0x582de3(0x100)](_0x2fba44,_0x546391)&&(_0x288c29=!0x0);return _0x288c29;}[_0x39cab3(0x117)](_0x578e37,_0x3b0724){const _0x2116c0=_0x39cab3,_0xff8725=_0x578e37[_0x2116c0(0xf6)](_0x2116c0(0x10f),{});return _0x578e37[_0x2116c0(0xde)](_0xff8725,_0x3b0724),this[_0x2116c0(0x112)]=_0xff8725,_0xff8725;}[_0x39cab3(0xf1)](_0x5231ff){const _0x17e5bf=_0x39cab3;if(!this[_0x17e5bf(0x104)][_0x17e5bf(0xd9)]||this[_0x17e5bf(0x112)])return;const _0x179817=this[_0x17e5bf(0x104)][0x0][_0x17e5bf(0x110)][_0x17e5bf(0xc1)],_0xf5cbd1=this[_0x17e5bf(0x117)](_0x5231ff,_0x179817);for(const _0x48effc of this[_0x17e5bf(0x104)])_0x48effc[_0x17e5bf(0x111)][_0x17e5bf(0xc6)]||_0x5231ff[_0x17e5bf(0xf8)](_0x48effc[_0x17e5bf(0x111)],_0xf5cbd1,_0x17e5bf(0xef));this[_0x17e5bf(0xe4)](_0x5231ff);}[_0x39cab3(0xd5)](_0xb31cc6,_0x2562b1){const _0x25c669=_0x39cab3;let _0x1ffd08=!0x1;const {inserted:_0x478112,removed:_0x52b438,moved:_0x3f37c7}=this[_0x25c669(0x11f)][_0x25c669(0xdb)](_0x2562b1);if(_0x3f37c7[_0x25c669(0xd9)]&&(this[_0x25c669(0x112)]=_0x3f37c7[0x0]),_0x478112[_0x25c669(0xd9)]){if(_0x478112[_0x25c669(0xd9)]>0x1||this[_0x25c669(0x112)]&&_0x478112[_0x25c669(0xe1)](_0x37f47e=>_0x37f47e!==this[_0x25c669(0x112)])){const _0x1ef7e1=_0xb31cc6[_0x25c669(0xf6)](_0x25c669(0x10f),{}),_0x9a3086=[];this[_0x25c669(0x112)]&&_0x9a3086[_0x25c669(0xe5)](this[_0x25c669(0x112)]),_0x9a3086[_0x25c669(0xe5)](..._0x478112),_0xb31cc6[_0x25c669(0xf8)](_0x1ef7e1,_0x9a3086[0x0],_0x25c669(0xf7));for(const _0x367856 of _0x9a3086)_0xb31cc6[_0x25c669(0xc7)](_0xb31cc6[_0x25c669(0xdc)](_0x367856),_0xb31cc6[_0x25c669(0x115)](_0x1ef7e1,_0x25c669(0xef))),_0xb31cc6[_0x25c669(0x118)](_0x367856);this[_0x25c669(0x112)]=_0x1ef7e1,this[_0x25c669(0xe4)](_0xb31cc6),_0x1ffd08=!0x0;}else this[_0x25c669(0x112)]=_0x478112[0x0];}if(_0x52b438[_0x25c669(0xd9)]&&_0x25c669(0xc2)===this[_0x25c669(0x112)]?.[_0x25c669(0xc1)][_0x25c669(0xd2)]){for(const _0x49c25a of this[_0x25c669(0x104)])_0xb31cc6[_0x25c669(0x118)](_0x49c25a[_0x25c669(0x110)]),_0x1ffd08=!0x0;this[_0x25c669(0x104)]=[],this[_0x25c669(0x112)]=null;}return _0x1ffd08;}[_0x39cab3(0x11b)](_0x19cf07,_0x43cc14){const _0x114e27=_0x39cab3;let _0x5e1586=!0x1;const _0x476791=this[_0x114e27(0xec)][_0x114e27(0xfb)][_0x114e27(0x109)](_0x114e27(0x10a)),{inserted:_0x5bf766,moved:_0x2d621d}=this[_0x114e27(0xff)][_0x114e27(0xdb)](_0x43cc14);for(const _0x5dc295 of[..._0x2d621d,..._0x5bf766]){const _0x53d7c5=_0x5dc295[_0x114e27(0xfd)](_0x114e27(0xe2)),_0x465144=this[_0x114e27(0xda)](_0x53d7c5);_0x465144&&(_0x465144[_0x114e27(0x111)]=_0x5dc295),_(_0x19cf07,_0x476791,_0x5dc295)&&(_0x5e1586=!0x0);}return _0x5e1586;}[_0x39cab3(0xbf)](_0x4bda76,_0x59c8b2){const _0xe4a85e=_0x39cab3;let _0x586a98=!0x1;const {removed:_0x4b2928,inserted:_0x13e92b,moved:_0x46c11d}=this[_0xe4a85e(0xe8)][_0xe4a85e(0xdb)](_0x59c8b2);for(const _0x360a69 of _0x4b2928)this[_0xe4a85e(0xf3)](_0x4bda76,_0x360a69)&&(_0x586a98=!0x0);for(const _0x2a8683 of _0x13e92b)this[_0xe4a85e(0x10b)](_0x4bda76,_0x2a8683)&&(_0x586a98=!0x0);for(const _0x3ec4ed of _0x46c11d)this[_0xe4a85e(0xd4)](_0x4bda76,_0x3ec4ed)&&(_0x586a98=!0x0);return _0x586a98;}[_0x39cab3(0xe7)](_0x189802){const _0x546507=_0x39cab3;if(!this[_0x546507(0x112)])return!0x1;let _0xc76ea5=!0x1;if(this[_0x546507(0x112)][_0x546507(0x10c)]!==this[_0x546507(0x104)][_0x546507(0xd9)]){const _0x57d4a7=[];for(const _0x49577d of this[_0x546507(0x112)][_0x546507(0xd8)]()){const _0x22b391=_0x49577d[_0x546507(0xfd)](_0x546507(0xe2));this[_0x546507(0xda)](_0x22b391)||(_0x57d4a7[_0x546507(0x121)](_0x49577d),_0xc76ea5=!0x0);}for(const _0x467958 of _0x57d4a7)_0x189802[_0x546507(0x118)](_0x467958);}const _0x203f88=new Set(),_0xfaf462=[];for(const _0x458908 of this[_0x546507(0x112)][_0x546507(0xd8)]()){const _0xe23bfb=_0x458908[_0x546507(0xfd)](_0x546507(0xe2));_0x203f88[_0x546507(0xd7)](_0xe23bfb)?(_0xfaf462[_0x546507(0x121)](_0x458908),_0xc76ea5=!0x0):_0x203f88[_0x546507(0xd1)](_0xe23bfb);}for(const _0x13e048 of _0xfaf462)_0x189802[_0x546507(0x118)](_0x13e048);return this[_0x546507(0x112)][_0x546507(0x10c)]||(_0x189802[_0x546507(0x118)](this[_0x546507(0x112)]),this[_0x546507(0x112)]=null,_0xc76ea5=!0x0),_0xc76ea5;}[_0x39cab3(0x10b)](_0x1eeadd,_0x5a8fb7){const _0x53e09b=_0x39cab3;if(this[_0x53e09b(0x104)][_0x53e09b(0xbb)](_0x4b24b9=>_0x4b24b9[_0x53e09b(0x110)]===_0x5a8fb7))return!0x1;let _0x1056a6=!0x1;const _0x183a1e=_0x5a8fb7[_0x53e09b(0xfd)](_0x53e09b(0xe2)),_0x36b7ab=this[_0x53e09b(0x104)][_0x53e09b(0xbc)](_0x451ec7=>_0x451ec7['id']===_0x183a1e);-0x1!==_0x36b7ab&&(_0x1eeadd[_0x53e09b(0x118)](this[_0x53e09b(0x104)][_0x36b7ab][_0x53e09b(0x110)]),this[_0x53e09b(0x104)][_0x53e09b(0xe6)](_0x36b7ab,0x1),_0x1056a6=!0x0);let _0xc3fca9=this[_0x53e09b(0x112)]?function(_0x4c4026,_0x580a01){const _0x146ae2=_0x53e09b;for(const _0x44968a of _0x4c4026[_0x146ae2(0xd8)]())if(_0x44968a[_0x146ae2(0xfd)](_0x146ae2(0xe2))===_0x580a01)return _0x44968a;return null;}(this[_0x53e09b(0x112)],_0x183a1e):null;_0xc3fca9||(_0xc3fca9=_0x1eeadd[_0x53e09b(0xf6)](_0x53e09b(0xf9),{'footnoteId':_0x183a1e}),this[_0x53e09b(0x112)]&&(_0x1eeadd[_0x53e09b(0xf8)](_0xc3fca9,this[_0x53e09b(0x112)],_0x53e09b(0xef)),_0x1056a6=!0x0));const _0x24218b={'id':_0x183a1e,'reference':_0x5a8fb7,'definition':_0xc3fca9},_0x1b8a10=I(this[_0x53e09b(0xec)][_0x53e09b(0xe9)],this[_0x53e09b(0x104)],_0x5a8fb7);this[_0x53e09b(0x104)][_0x53e09b(0xe6)](_0x1b8a10,0x0,_0x24218b);let _0xc1810b=_0x1b8a10;return-0x1!==_0x36b7ab&&(_0xc1810b=Math[_0x53e09b(0xf4)](_0x1b8a10,_0x36b7ab)),this[_0x53e09b(0xe4)](_0x1eeadd,_0xc1810b)&&(_0x1056a6=!0x0),_0x1056a6;}[_0x39cab3(0xf3)](_0x82c690,_0x5e8426){const _0x3ac4df=_0x39cab3,_0x2dd2bf=this[_0x3ac4df(0x104)][_0x3ac4df(0xbc)](_0x16b0c6=>_0x16b0c6['id']===_0x5e8426);if(-0x1===_0x2dd2bf)return!0x1;let _0x248cf4=!0x1;const _0x14c0bc=this[_0x3ac4df(0x104)][_0x2dd2bf];return _0x3ac4df(0xc2)!==_0x14c0bc[_0x3ac4df(0x111)][_0x3ac4df(0xc1)][_0x3ac4df(0xd2)]&&(_0x82c690[_0x3ac4df(0x118)](_0x14c0bc[_0x3ac4df(0x111)]),_0x248cf4=!0x0),this[_0x3ac4df(0x104)][_0x3ac4df(0xe6)](_0x2dd2bf,0x1),this[_0x3ac4df(0xe4)](_0x82c690,_0x2dd2bf)&&(_0x248cf4=!0x0),_0x248cf4;}[_0x39cab3(0xd4)](_0x3f0834,_0x36560f){const _0x16b021=_0x39cab3,_0x7a3e69=_0x36560f[_0x16b021(0xfd)](_0x16b021(0xe2)),_0x116e33=this[_0x16b021(0x104)][_0x16b021(0xbc)](_0x877634=>_0x877634['id']===_0x7a3e69),_0x299146=this[_0x16b021(0x104)][_0x116e33];let _0x56fde0=!0x1;_0x299146[_0x16b021(0x110)]=_0x36560f,this[_0x16b021(0x104)][_0x16b021(0xe6)](_0x116e33,0x1);const _0x1d51d9=I(this[_0x16b021(0xec)][_0x16b021(0xe9)],this[_0x16b021(0x104)],_0x36560f);return this[_0x16b021(0x104)][_0x16b021(0xe6)](_0x1d51d9,0x0,_0x299146),this[_0x16b021(0xe4)](_0x3f0834,Math[_0x16b021(0xf4)](_0x116e33,_0x1d51d9))&&(_0x56fde0=!0x0),_0x56fde0;}[_0x39cab3(0x100)](_0x4f8d74,_0x1114ab){const _0x13fd3b=_0x39cab3;if(!this[_0x13fd3b(0x112)])return!0x1;const _0x1c01fb=this[_0x13fd3b(0x104)][_0x1114ab];let _0x2883b2;return _0x2883b2=this[_0x13fd3b(0x108)]?this[_0x13fd3b(0x108)]({'footnote':_0x1c01fb,'container':this[_0x13fd3b(0x112)],'digits':String(this[_0x13fd3b(0x104)][_0x13fd3b(0xd9)])[_0x13fd3b(0xd9)],'value':_0x1114ab+0x1}):String(_0x1114ab+0x1),_0x1c01fb[_0x13fd3b(0x110)][_0x13fd3b(0xfd)](_0x13fd3b(0xc5))!=_0x2883b2&&(_0x4f8d74[_0x13fd3b(0xcb)](_0x13fd3b(0xc5),_0x2883b2,_0x1c01fb[_0x13fd3b(0x110)]),!0x0);}[_0x39cab3(0x11c)](_0xdcddb5){const _0x26ae59=_0x39cab3;if(!this[_0x26ae59(0x112)]||this[_0x26ae59(0x104)][_0x26ae59(0xd9)]<0x2)return!0x1;if(function(_0x2a05ed,_0xb56a0){const _0x4e6e11=_0x26ae59;if(_0x2a05ed[_0x4e6e11(0xd9)]!==_0xb56a0[_0x4e6e11(0xd9)])return!0x1;for(let _0x55bc48=0x0;_0x55bc48<_0x2a05ed[_0x4e6e11(0xd9)];_0x55bc48++)if(_0x2a05ed[_0x55bc48]!==_0xb56a0[_0x55bc48])return!0x1;return!0x0;}(this[_0x26ae59(0x104)][_0x26ae59(0x120)](_0x4e4e6a=>_0x4e4e6a['id']),Array[_0x26ae59(0xfe)](this[_0x26ae59(0x112)][_0x26ae59(0xd8)]())[_0x26ae59(0x120)](_0x2e3945=>_0x2e3945[_0x26ae59(0xfd)](_0x26ae59(0xe2)))))return!0x1;let _0x5d1203=!0x1;for(let _0x5242b6=0x0;_0x5242b6<this[_0x26ae59(0x104)][_0x26ae59(0xd9)];_0x5242b6++){const _0xff2075=this[_0x26ae59(0x104)][_0x5242b6],_0x4edd41=_0xdcddb5[_0x26ae59(0xc4)](_0xff2075[_0x26ae59(0x111)]),_0x499b5d=_0xdcddb5[_0x26ae59(0x115)](this[_0x26ae59(0x112)],_0x5242b6);_0x4edd41[_0x26ae59(0xcd)](_0x499b5d)||(_0xdcddb5[_0x26ae59(0xc7)](_0xdcddb5[_0x26ae59(0x116)](_0xff2075[_0x26ae59(0x111)]),_0x499b5d),_0x5d1203=!0x0);}return _0x5d1203;}[_0x39cab3(0xf2)](_0x4a131f){const _0x50baec=_0x39cab3;if(!this[_0x50baec(0x104)][_0x50baec(0xd9)])return!0x1;const {model:_0x4c6dc6}=this[_0x50baec(0xec)];let _0x14c13a=!0x1;for(let _0x59301c=0x0;_0x59301c<this[_0x50baec(0x104)][_0x50baec(0xd9)]-0x1;_0x59301c++){const _0x40837b=this[_0x50baec(0x104)][_0x59301c],_0x9335bd=this[_0x50baec(0x104)][_0x59301c+0x1],_0x3b46d9=_0x4c6dc6[_0x50baec(0xc4)](_0x40837b[_0x50baec(0x110)]),_0x370969=_0x4c6dc6[_0x50baec(0xc4)](_0x9335bd[_0x50baec(0x110)]);_0x50baec(0xfa)===_0x3b46d9[_0x50baec(0xbe)](_0x370969)&&(this[_0x50baec(0xd4)](_0x4a131f,_0x40837b[_0x50baec(0x110)]),_0x59301c=-0x1,_0x14c13a=!0x0);}return _0x14c13a;}}function _(_0x196eae,_0x3ad6ff,_0x37b48f){const _0x2dfc64=_0x39cab3;if(_0x37b48f[_0x2dfc64(0x10c)])return!0x1;const _0x3acb12=_0x3ad6ff?_0x2dfc64(0xe3):_0x2dfc64(0x107);return _0x196eae[_0x2dfc64(0xf8)](_0x196eae[_0x2dfc64(0xf6)](_0x3acb12),_0x37b48f),!0x0;}function I(_0x76f756,_0x1a5c2a,_0x5f95df){const _0x483289=_0x39cab3;if(0x0===_0x1a5c2a[_0x483289(0xd9)])return 0x0;const _0x32ca7f=_0x76f756[_0x483289(0xc4)](_0x5f95df);for(let _0x39d06d=0x0;_0x39d06d<_0x1a5c2a[_0x483289(0xd9)];_0x39d06d++){const _0x1739e3=_0x1a5c2a[_0x39d06d],_0x61638c=_0x76f756[_0x483289(0xc4)](_0x1739e3[_0x483289(0x110)]);if(_0x483289(0xf7)===_0x32ca7f[_0x483289(0xbe)](_0x61638c))return _0x39d06d;}const _0x227b11=_0x5f95df[_0x483289(0xc1)];let _0x1c5078=-0x1;for(let _0x294f99=_0x1a5c2a[_0x483289(0xd9)]-0x1;_0x294f99>=0x0;_0x294f99--)if(_0x1a5c2a[_0x294f99][_0x483289(0x110)][_0x483289(0xc1)]===_0x227b11){_0x1c5078=_0x294f99;break;}if(-0x1!==_0x1c5078)return _0x1c5078+0x1;const _0x423922=_0x76f756[_0x483289(0xfc)][_0x483289(0xce)](),_0xbb57dc=_0x423922[_0x483289(0xca)](_0x227b11[_0x483289(0xd2)]),_0x5a8cc1=_0x423922[_0xbb57dc+0x1];if(_0x5a8cc1){for(let _0x1ee938=0x0;_0x1ee938<_0x1a5c2a[_0x483289(0xd9)];_0x1ee938++)if(_0x1a5c2a[_0x1ee938][_0x483289(0x110)][_0x483289(0xc1)][_0x483289(0xd2)]===_0x5a8cc1)return _0x1ee938;}return _0x1a5c2a[_0x483289(0xd9)];}
23
+ function _0x5701(_0x1c4218,_0x398fc1){const _0x12cd2d=_0x12cd();return _0x5701=function(_0x5701b4,_0x441c72){_0x5701b4=_0x5701b4-0x191;let _0x344da4=_0x12cd2d[_0x5701b4];return _0x344da4;},_0x5701(_0x1c4218,_0x398fc1);}const _0x204258=_0x5701;(function(_0x4dde97,_0x2a1b9e){const _0x2d6ea8=_0x5701,_0x45898b=_0x4dde97();while(!![]){try{const _0x41e29b=parseInt(_0x2d6ea8(0x1c4))/0x1*(parseInt(_0x2d6ea8(0x1cf))/0x2)+-parseInt(_0x2d6ea8(0x1e3))/0x3*(-parseInt(_0x2d6ea8(0x1ab))/0x4)+parseInt(_0x2d6ea8(0x1c9))/0x5*(-parseInt(_0x2d6ea8(0x1d1))/0x6)+parseInt(_0x2d6ea8(0x1d6))/0x7+-parseInt(_0x2d6ea8(0x1e0))/0x8+-parseInt(_0x2d6ea8(0x1ac))/0x9*(parseInt(_0x2d6ea8(0x1b2))/0xa)+parseInt(_0x2d6ea8(0x195))/0xb*(parseInt(_0x2d6ea8(0x1b0))/0xc);if(_0x41e29b===_0x2a1b9e)break;else _0x45898b['push'](_0x45898b['shift']());}catch(_0x419a70){_0x45898b['push'](_0x45898b['shift']());}}}(_0x12cd,0xd41b6));import{Plugin as _0x165053}from'ckeditor5/src/core.js';function _0x12cd(){const _0x1f9167=['5479910qelmlf','_updateFootnotesCounters','getRootNames','before','append','from','footnoteCounter','init','end','reference','set','listenTo','length','_footnoteDefsContainerTracker','isEqual','low','_sortFootnoteDefinitions','root','897665sLYDKQ','_footnotesDefinitions','editor','after','_footnotes','1315zpnodU','reset','setAttribute','move','createRangeOn','get','2uDZDYc','getFootnotesFormatter','27006bQWcpm','setFootnoteFormatter','compareWith','_footnoteFormatter','footnoteInlineContent','8779183qOjoOB','add','differ','_ensureFootnotesReferencesHaveProperOrder','getFootnotes','has','_handleFootnotesDefinitionsObjectSync','findIndex','some','_handleRemoveFootnoteReferenceById','87872emJOGt','map','_updateFootnoteRefCounter','135HshPYV','getChanges','childCount','change:data','footnotes.multiBlock','document','createPositionBefore','getFootnote','_handleFootnoteDefinitionsChanges','insert','registerPostFixer','pluginName','min','splice','definition','$graveyard','footnoteRef','_ensureFootnotesDefinitionsContainerExists','find','indexOf','paragraph','push','createRangeIn','footnoteDefinition','_footnoteDefsTracker','1331AgIIAl','isOfficialPlugin','isPremiumPlugin','_handleFootnotesDefinitionsObjectChanges','model','unshift','createElement','createPositionAt','_handleInsertedFootnoteReference','enqueueChange','getFootnotesDefinitionsObjectElement','singleton','getAttribute','FootnotesTracker','getChildren','footnotesDefinitions','footnoteId','parent','config','_handleFootnoteReferencesChanges','_footnoteRefsTracker','high','9420aozZuf','27mNHcUq','rootName','_handleMovedFootnoteReference','_insertEmptyFootnotesDefinitionsContainer','143772xizAgy','remove'];_0x12cd=function(){return _0x1f9167;};return _0x12cd();}import{ModelElementTracker as _0x188c31}from'./modelelementtracker.js';export class FootnotesTracker extends _0x165053{[_0x204258(0x1c8)]=[];[_0x204258(0x1c5)]=null;[_0x204258(0x1d4)]=null;[_0x204258(0x1bf)];[_0x204258(0x1a9)];[_0x204258(0x194)];static get[_0x204258(0x1ee)](){const _0x5aebd4=_0x204258;return _0x5aebd4(0x1a2);}static get[_0x204258(0x196)](){return!0x0;}static get[_0x204258(0x197)](){return!0x0;}constructor(_0x3136a6){const _0x568c18=_0x204258;super(_0x3136a6),this[_0x568c18(0x1bf)]=new _0x188c31(this[_0x568c18(0x1c6)][_0x568c18(0x199)],{'elementName':_0x568c18(0x1a4),'getElementKey':()=>_0x568c18(0x1a0)}),this[_0x568c18(0x1a9)]=new _0x188c31(this[_0x568c18(0x1c6)][_0x568c18(0x199)],{'elementName':_0x568c18(0x1f3),'getElementKey':_0x3c2815=>_0x3c2815[_0x568c18(0x1a1)](_0x568c18(0x1a5))}),this[_0x568c18(0x194)]=new _0x188c31(this[_0x568c18(0x1c6)][_0x568c18(0x199)],{'elementName':_0x568c18(0x193),'getElementKey':_0x498dcb=>_0x498dcb[_0x568c18(0x1a1)](_0x568c18(0x1a5))});}[_0x204258(0x1b9)](){const _0x19b97f=_0x204258,{editor:_0x3c3aad}=this,{model:_0x320ed4,data:_0x58f3fb}=_0x3c3aad;_0x320ed4[_0x19b97f(0x1e8)][_0x19b97f(0x1ed)](_0x664467=>{const _0x2fec9b=_0x19b97f,_0x1f585d=_0x320ed4[_0x2fec9b(0x1e8)][_0x2fec9b(0x1d8)][_0x2fec9b(0x1e4)]();let _0x16b886=!0x1;return this[_0x2fec9b(0x198)](_0x664467,_0x1f585d)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1eb)](_0x664467,_0x1f585d)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1a8)](_0x664467,_0x1f585d)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1d9)](_0x664467)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1dc)](_0x664467)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1c2)](_0x664467)&&(_0x16b886=!0x0),_0x16b886;}),this[_0x19b97f(0x1bd)](_0x320ed4[_0x19b97f(0x1e8)],_0x19b97f(0x1e6),()=>{const _0x381c3b=_0x19b97f;_0x320ed4[_0x381c3b(0x19e)]({'isUndoable':!0x1},_0x16f3dd=>{const _0x9a6e42=_0x381c3b;this[_0x9a6e42(0x1f4)](_0x16f3dd);});},{'priority':_0x19b97f(0x1c1)}),this[_0x19b97f(0x1bd)](_0x58f3fb,_0x19b97f(0x1bc),()=>{const _0x35c86c=_0x19b97f;this[_0x35c86c(0x1c8)]=[],this[_0x35c86c(0x1bf)][_0x35c86c(0x1ca)](),this[_0x35c86c(0x1a9)][_0x35c86c(0x1ca)](),this[_0x35c86c(0x194)][_0x35c86c(0x1ca)]();},{'priority':_0x19b97f(0x1aa)});}[_0x204258(0x19f)](){const _0x5abc27=_0x204258;return this[_0x5abc27(0x1c5)];}[_0x204258(0x1ea)](_0x55138d){const _0x978ed5=_0x204258;return this[_0x978ed5(0x1c8)][_0x978ed5(0x1f5)](_0x22a982=>_0x22a982['id']===_0x55138d)||null;}[_0x204258(0x1da)](){const _0x3c6246=_0x204258;return Array[_0x3c6246(0x1b7)](this[_0x3c6246(0x1c8)]);}[_0x204258(0x1d0)](){const _0x53a7bd=_0x204258;return this[_0x53a7bd(0x1d4)];}[_0x204258(0x1d2)](_0x4afc27){const _0x38c8fc=_0x204258;this[_0x38c8fc(0x1d4)]=_0x4afc27;}[_0x204258(0x1b3)](_0x11e3c7,_0x22544a=0x0){const _0x184184=_0x204258;let _0x3b4e1c=!0x1;for(let _0x36c077=_0x22544a;_0x36c077<this[_0x184184(0x1c8)][_0x184184(0x1be)];_0x36c077++)this[_0x184184(0x1e2)](_0x11e3c7,_0x36c077)&&(_0x3b4e1c=!0x0);return _0x3b4e1c;}[_0x204258(0x1af)](_0x9eda14,_0x38e084){const _0x5ec68b=_0x204258,_0x1df37e=_0x9eda14[_0x5ec68b(0x19b)](_0x5ec68b(0x1a4),{});return _0x9eda14[_0x5ec68b(0x1b6)](_0x1df37e,_0x38e084),this[_0x5ec68b(0x1c5)]=_0x1df37e,_0x1df37e;}[_0x204258(0x1f4)](_0x486d09){const _0x4544bb=_0x204258;if(!this[_0x4544bb(0x1c8)][_0x4544bb(0x1be)]||this[_0x4544bb(0x1c5)])return;const _0x5efaf7=this[_0x4544bb(0x1c8)][0x0][_0x4544bb(0x1bb)][_0x4544bb(0x1c3)],_0xafbea5=this[_0x4544bb(0x1af)](_0x486d09,_0x5efaf7);for(const _0x5e0866 of this[_0x4544bb(0x1c8)])_0x5e0866[_0x4544bb(0x1f1)][_0x4544bb(0x1a6)]||_0x486d09[_0x4544bb(0x1ec)](_0x5e0866[_0x4544bb(0x1f1)],_0xafbea5,_0x4544bb(0x1ba));this[_0x4544bb(0x1b3)](_0x486d09);}[_0x204258(0x198)](_0x57ce5d,_0x1ceab9){const _0x4bdef0=_0x204258;let _0x5d74ec=!0x1;const {inserted:_0x3bf178,removed:_0x50c4de,moved:_0x558eae}=this[_0x4bdef0(0x1bf)][_0x4bdef0(0x1e4)](_0x1ceab9);if(_0x558eae[_0x4bdef0(0x1be)]&&(this[_0x4bdef0(0x1c5)]=_0x558eae[0x0]),_0x3bf178[_0x4bdef0(0x1be)]){if(_0x3bf178[_0x4bdef0(0x1be)]>0x1||this[_0x4bdef0(0x1c5)]&&_0x3bf178[_0x4bdef0(0x1de)](_0x2c9f7c=>_0x2c9f7c!==this[_0x4bdef0(0x1c5)])){const _0x58d1bd=_0x57ce5d[_0x4bdef0(0x19b)](_0x4bdef0(0x1a4),{}),_0x21dc10=[];this[_0x4bdef0(0x1c5)]&&_0x21dc10[_0x4bdef0(0x191)](this[_0x4bdef0(0x1c5)]),_0x21dc10[_0x4bdef0(0x191)](..._0x3bf178),_0x57ce5d[_0x4bdef0(0x1ec)](_0x58d1bd,_0x21dc10[0x0],_0x4bdef0(0x1b5));for(const _0x50c64c of _0x21dc10)_0x57ce5d[_0x4bdef0(0x1cc)](_0x57ce5d[_0x4bdef0(0x192)](_0x50c64c),_0x57ce5d[_0x4bdef0(0x19c)](_0x58d1bd,_0x4bdef0(0x1ba))),_0x57ce5d[_0x4bdef0(0x1b1)](_0x50c64c);this[_0x4bdef0(0x1c5)]=_0x58d1bd,this[_0x4bdef0(0x1b3)](_0x57ce5d),_0x5d74ec=!0x0;}else this[_0x4bdef0(0x1c5)]=_0x3bf178[0x0];}if(_0x50c4de[_0x4bdef0(0x1be)]&&_0x4bdef0(0x1f2)===this[_0x4bdef0(0x1c5)]?.[_0x4bdef0(0x1c3)][_0x4bdef0(0x1ad)]){for(const _0x452df3 of this[_0x4bdef0(0x1c8)])_0x57ce5d[_0x4bdef0(0x1b1)](_0x452df3[_0x4bdef0(0x1bb)]),_0x5d74ec=!0x0;this[_0x4bdef0(0x1c8)]=[],this[_0x4bdef0(0x1c5)]=null;}return _0x5d74ec;}[_0x204258(0x1eb)](_0x3323ca,_0x1b870b){const _0x2cbb85=_0x204258;let _0x4c13a5=!0x1;const _0x4edff4=this[_0x2cbb85(0x1c6)][_0x2cbb85(0x1a7)][_0x2cbb85(0x1ce)](_0x2cbb85(0x1e7)),{inserted:_0x42cc1d,moved:_0x3b1259}=this[_0x2cbb85(0x194)][_0x2cbb85(0x1e4)](_0x1b870b);for(const _0x5dc732 of[..._0x3b1259,..._0x42cc1d]){const _0x7a940a=_0x5dc732[_0x2cbb85(0x1a1)](_0x2cbb85(0x1a5)),_0xe0cd70=this[_0x2cbb85(0x1ea)](_0x7a940a);_0xe0cd70&&(_0xe0cd70[_0x2cbb85(0x1f1)]=_0x5dc732),_(_0x3323ca,_0x4edff4,_0x5dc732)&&(_0x4c13a5=!0x0);}return _0x4c13a5;}[_0x204258(0x1a8)](_0x575658,_0x3d5547){const _0x5091f8=_0x204258;let _0x5429f5=!0x1;const {removed:_0x5ce73f,inserted:_0x24c35d,moved:_0xdb8e32}=this[_0x5091f8(0x1a9)][_0x5091f8(0x1e4)](_0x3d5547);for(const _0x21c1de of _0x5ce73f)this[_0x5091f8(0x1df)](_0x575658,_0x21c1de)&&(_0x5429f5=!0x0);for(const _0x17b609 of _0x24c35d)this[_0x5091f8(0x19d)](_0x575658,_0x17b609)&&(_0x5429f5=!0x0);for(const _0x5bb0d4 of _0xdb8e32)this[_0x5091f8(0x1ae)](_0x575658,_0x5bb0d4)&&(_0x5429f5=!0x0);return _0x5429f5;}[_0x204258(0x1dc)](_0x44a584){const _0x3cf637=_0x204258;if(!this[_0x3cf637(0x1c5)])return!0x1;let _0x412925=!0x1;if(this[_0x3cf637(0x1c5)][_0x3cf637(0x1e5)]!==this[_0x3cf637(0x1c8)][_0x3cf637(0x1be)]){const _0x1d977a=[];for(const _0x4e0fcf of this[_0x3cf637(0x1c5)][_0x3cf637(0x1a3)]()){const _0x452b17=_0x4e0fcf[_0x3cf637(0x1a1)](_0x3cf637(0x1a5));this[_0x3cf637(0x1ea)](_0x452b17)||(_0x1d977a[_0x3cf637(0x19a)](_0x4e0fcf),_0x412925=!0x0);}for(const _0x3b9f7d of _0x1d977a)_0x44a584[_0x3cf637(0x1b1)](_0x3b9f7d);}const _0x57fb90=new Set(),_0xed7842=[];for(const _0x5f16ff of this[_0x3cf637(0x1c5)][_0x3cf637(0x1a3)]()){const _0xd29eac=_0x5f16ff[_0x3cf637(0x1a1)](_0x3cf637(0x1a5));_0x57fb90[_0x3cf637(0x1db)](_0xd29eac)?(_0xed7842[_0x3cf637(0x19a)](_0x5f16ff),_0x412925=!0x0):_0x57fb90[_0x3cf637(0x1d7)](_0xd29eac);}for(const _0x3096e5 of _0xed7842)_0x44a584[_0x3cf637(0x1b1)](_0x3096e5);return this[_0x3cf637(0x1c5)][_0x3cf637(0x1e5)]||(_0x44a584[_0x3cf637(0x1b1)](this[_0x3cf637(0x1c5)]),this[_0x3cf637(0x1c5)]=null,_0x412925=!0x0),_0x412925;}[_0x204258(0x19d)](_0x4795ec,_0x1bfaab){const _0x17fec3=_0x204258;if(this[_0x17fec3(0x1c8)][_0x17fec3(0x1f5)](_0x4ab405=>_0x4ab405[_0x17fec3(0x1bb)]===_0x1bfaab))return!0x1;let _0xea2dfa=!0x1;const _0xbf339b=_0x1bfaab[_0x17fec3(0x1a1)](_0x17fec3(0x1a5)),_0x42d0a0=this[_0x17fec3(0x1c8)][_0x17fec3(0x1dd)](_0x12fccd=>_0x12fccd['id']===_0xbf339b);-0x1!==_0x42d0a0&&(_0x4795ec[_0x17fec3(0x1b1)](this[_0x17fec3(0x1c8)][_0x42d0a0][_0x17fec3(0x1bb)]),this[_0x17fec3(0x1c8)][_0x17fec3(0x1f0)](_0x42d0a0,0x1),_0xea2dfa=!0x0);let _0x312966=this[_0x17fec3(0x1c5)]?function(_0x11880c,_0x18f819){const _0x4115c8=_0x17fec3;for(const _0x2d4787 of _0x11880c[_0x4115c8(0x1a3)]())if(_0x2d4787[_0x4115c8(0x1a1)](_0x4115c8(0x1a5))===_0x18f819)return _0x2d4787;return null;}(this[_0x17fec3(0x1c5)],_0xbf339b):null;_0x312966||(_0x312966=_0x4795ec[_0x17fec3(0x19b)](_0x17fec3(0x193),{'footnoteId':_0xbf339b}),this[_0x17fec3(0x1c5)]&&(_0x4795ec[_0x17fec3(0x1ec)](_0x312966,this[_0x17fec3(0x1c5)],_0x17fec3(0x1ba)),_0xea2dfa=!0x0));const _0xca8ed={'id':_0xbf339b,'reference':_0x1bfaab,'definition':_0x312966},_0x2870b4=I(this[_0x17fec3(0x1c6)][_0x17fec3(0x199)],this[_0x17fec3(0x1c8)],_0x1bfaab);this[_0x17fec3(0x1c8)][_0x17fec3(0x1f0)](_0x2870b4,0x0,_0xca8ed);let _0x4edb93=_0x2870b4;return-0x1!==_0x42d0a0&&(_0x4edb93=Math[_0x17fec3(0x1ef)](_0x2870b4,_0x42d0a0)),this[_0x17fec3(0x1b3)](_0x4795ec,_0x4edb93)&&(_0xea2dfa=!0x0),_0xea2dfa;}[_0x204258(0x1df)](_0x215ad4,_0x495a75){const _0x517fc=_0x204258,_0x502ba4=this[_0x517fc(0x1c8)][_0x517fc(0x1dd)](_0x216539=>_0x216539['id']===_0x495a75);if(-0x1===_0x502ba4)return!0x1;let _0xcae38b=!0x1;const _0x2b4b0f=this[_0x517fc(0x1c8)][_0x502ba4];return _0x517fc(0x1f2)!==_0x2b4b0f[_0x517fc(0x1f1)][_0x517fc(0x1c3)][_0x517fc(0x1ad)]&&(_0x215ad4[_0x517fc(0x1b1)](_0x2b4b0f[_0x517fc(0x1f1)]),_0xcae38b=!0x0),this[_0x517fc(0x1c8)][_0x517fc(0x1f0)](_0x502ba4,0x1),this[_0x517fc(0x1b3)](_0x215ad4,_0x502ba4)&&(_0xcae38b=!0x0),_0xcae38b;}[_0x204258(0x1ae)](_0x291aec,_0x4bfca1){const _0x2dffe3=_0x204258,_0x215092=_0x4bfca1[_0x2dffe3(0x1a1)](_0x2dffe3(0x1a5)),_0x3cb546=this[_0x2dffe3(0x1c8)][_0x2dffe3(0x1dd)](_0x24f6dc=>_0x24f6dc['id']===_0x215092),_0x581e0f=this[_0x2dffe3(0x1c8)][_0x3cb546];let _0x577e1f=!0x1;_0x581e0f[_0x2dffe3(0x1bb)]=_0x4bfca1,this[_0x2dffe3(0x1c8)][_0x2dffe3(0x1f0)](_0x3cb546,0x1);const _0x181856=I(this[_0x2dffe3(0x1c6)][_0x2dffe3(0x199)],this[_0x2dffe3(0x1c8)],_0x4bfca1);return this[_0x2dffe3(0x1c8)][_0x2dffe3(0x1f0)](_0x181856,0x0,_0x581e0f),this[_0x2dffe3(0x1b3)](_0x291aec,Math[_0x2dffe3(0x1ef)](_0x3cb546,_0x181856))&&(_0x577e1f=!0x0),_0x577e1f;}[_0x204258(0x1e2)](_0x4fd773,_0x4e1426){const _0x3e2e32=_0x204258;if(!this[_0x3e2e32(0x1c5)])return!0x1;const _0x5e4a40=this[_0x3e2e32(0x1c8)][_0x4e1426];let _0x3c799c;return _0x3c799c=this[_0x3e2e32(0x1d4)]?this[_0x3e2e32(0x1d4)]({'footnote':_0x5e4a40,'container':this[_0x3e2e32(0x1c5)],'digits':String(this[_0x3e2e32(0x1c8)][_0x3e2e32(0x1be)])[_0x3e2e32(0x1be)],'value':_0x4e1426+0x1}):String(_0x4e1426+0x1),_0x5e4a40[_0x3e2e32(0x1bb)][_0x3e2e32(0x1a1)](_0x3e2e32(0x1b8))!=_0x3c799c&&(_0x4fd773[_0x3e2e32(0x1cb)](_0x3e2e32(0x1b8),_0x3c799c,_0x5e4a40[_0x3e2e32(0x1bb)]),!0x0);}[_0x204258(0x1c2)](_0x4b9b23){const _0x1d76a9=_0x204258;if(!this[_0x1d76a9(0x1c5)]||this[_0x1d76a9(0x1c8)][_0x1d76a9(0x1be)]<0x2)return!0x1;if(function(_0x1a707d,_0x1252a0){const _0x301d55=_0x1d76a9;if(_0x1a707d[_0x301d55(0x1be)]!==_0x1252a0[_0x301d55(0x1be)])return!0x1;for(let _0x29e39d=0x0;_0x29e39d<_0x1a707d[_0x301d55(0x1be)];_0x29e39d++)if(_0x1a707d[_0x29e39d]!==_0x1252a0[_0x29e39d])return!0x1;return!0x0;}(this[_0x1d76a9(0x1c8)][_0x1d76a9(0x1e1)](_0x48d85e=>_0x48d85e['id']),Array[_0x1d76a9(0x1b7)](this[_0x1d76a9(0x1c5)][_0x1d76a9(0x1a3)]())[_0x1d76a9(0x1e1)](_0x2c8e04=>_0x2c8e04[_0x1d76a9(0x1a1)](_0x1d76a9(0x1a5)))))return!0x1;let _0x4d7564=!0x1;for(let _0x1123c8=0x0;_0x1123c8<this[_0x1d76a9(0x1c8)][_0x1d76a9(0x1be)];_0x1123c8++){const _0x2be562=this[_0x1d76a9(0x1c8)][_0x1123c8],_0x4842e1=_0x4b9b23[_0x1d76a9(0x1e9)](_0x2be562[_0x1d76a9(0x1f1)]),_0x3484b2=_0x4b9b23[_0x1d76a9(0x19c)](this[_0x1d76a9(0x1c5)],_0x1123c8);_0x4842e1[_0x1d76a9(0x1c0)](_0x3484b2)||(_0x4b9b23[_0x1d76a9(0x1cc)](_0x4b9b23[_0x1d76a9(0x1cd)](_0x2be562[_0x1d76a9(0x1f1)]),_0x3484b2),_0x4d7564=!0x0);}return _0x4d7564;}[_0x204258(0x1d9)](_0x3006e5){const _0x8ad727=_0x204258;if(!this[_0x8ad727(0x1c8)][_0x8ad727(0x1be)])return!0x1;const {model:_0x198135}=this[_0x8ad727(0x1c6)];let _0x4f6315=!0x1;for(let _0x4141b4=0x0;_0x4141b4<this[_0x8ad727(0x1c8)][_0x8ad727(0x1be)]-0x1;_0x4141b4++){const _0x504128=this[_0x8ad727(0x1c8)][_0x4141b4],_0xb331df=this[_0x8ad727(0x1c8)][_0x4141b4+0x1],_0x4d841e=_0x198135[_0x8ad727(0x1e9)](_0x504128[_0x8ad727(0x1bb)]),_0x23f58e=_0x198135[_0x8ad727(0x1e9)](_0xb331df[_0x8ad727(0x1bb)]);_0x8ad727(0x1c7)===_0x4d841e[_0x8ad727(0x1d3)](_0x23f58e)&&(this[_0x8ad727(0x1ae)](_0x3006e5,_0x504128[_0x8ad727(0x1bb)]),_0x4141b4=-0x1,_0x4f6315=!0x0);}return _0x4f6315;}}function _(_0x1ef69e,_0x5c8e8e,_0x5e3685){const _0x5280cc=_0x204258;if(_0x5e3685[_0x5280cc(0x1e5)])return!0x1;const _0x44a4de=_0x5c8e8e?_0x5280cc(0x1f7):_0x5280cc(0x1d5);return _0x1ef69e[_0x5280cc(0x1ec)](_0x1ef69e[_0x5280cc(0x19b)](_0x44a4de),_0x5e3685),!0x0;}function I(_0x3f7860,_0x5db1ef,_0x125d89){const _0xa933c8=_0x204258;if(0x0===_0x5db1ef[_0xa933c8(0x1be)])return 0x0;const _0x5f5031=_0x3f7860[_0xa933c8(0x1e9)](_0x125d89);for(let _0x4e0b15=0x0;_0x4e0b15<_0x5db1ef[_0xa933c8(0x1be)];_0x4e0b15++){const _0x293293=_0x5db1ef[_0x4e0b15],_0x48d256=_0x3f7860[_0xa933c8(0x1e9)](_0x293293[_0xa933c8(0x1bb)]);if(_0xa933c8(0x1b5)===_0x5f5031[_0xa933c8(0x1d3)](_0x48d256))return _0x4e0b15;}const _0x79eda4=_0x125d89[_0xa933c8(0x1c3)];let _0x212d6f=-0x1;for(let _0x3291d1=_0x5db1ef[_0xa933c8(0x1be)]-0x1;_0x3291d1>=0x0;_0x3291d1--)if(_0x5db1ef[_0x3291d1][_0xa933c8(0x1bb)][_0xa933c8(0x1c3)]===_0x79eda4){_0x212d6f=_0x3291d1;break;}if(-0x1!==_0x212d6f)return _0x212d6f+0x1;const _0x1305c9=_0x3f7860[_0xa933c8(0x1e8)][_0xa933c8(0x1b4)](),_0x5d39f4=_0x1305c9[_0xa933c8(0x1f6)](_0x79eda4[_0xa933c8(0x1ad)]),_0x108470=_0x1305c9[_0x5d39f4+0x1];if(_0x108470){for(let _0x4b6d24=0x0;_0x4b6d24<_0x5db1ef[_0xa933c8(0x1be)];_0x4b6d24++)if(_0x5db1ef[_0x4b6d24][_0xa933c8(0x1bb)][_0xa933c8(0x1c3)][_0xa933c8(0x1ad)]===_0x108470)return _0x4b6d24;}return _0x5db1ef[_0xa933c8(0x1be)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5187a5,MenuBarMenuListItemButtonView as _0x5b70f1}from'ckeditor5/src/ui.js';import{Plugin as _0x2de6d3}from'ckeditor5/src/core.js';import{IconFootnote as _0x49d7e7}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2de6d3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52b68f}=this,{componentFactory:_0x4ed2bf}=_0x52b68f['ui'];_0x4ed2bf['add']('insertFootnote',x(_0x52b68f,_0x5187a5)),_0x4ed2bf['add']('menuBar:insertFootnote',x(_0x52b68f,_0x5b70f1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a9dc1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x10d3d6;for(const _0x157e33 in _0x3a9dc1){const _0x1d1aa7=_0x157e33,_0x28956e=_0x3a9dc1[_0x1d1aa7];if('footnotesLicenseKeyValid'==_0x28956e||'footnotesLicenseKeyInvalid'==_0x28956e||'footnotesLicenseKeyExpired'==_0x28956e||'footnotesLicenseKeyDomainLimit'==_0x28956e||'footnotesLicenseKeyNotAllowed'==_0x28956e||'footnotesLicenseKeyEvaluationLimit'==_0x28956e||'footnotesLicenseKeyTrialLimit'==_0x28956e||'footnotesLicenseKeyUsageLimit'==_0x28956e){delete _0x3a9dc1[_0x1d1aa7],_0x10d3d6=_0x28956e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x30d97b,_0x308d00){const _0xea4b7c=_0x30d97b['commands']['get']('insertFootnote');return _0x59df4e=>{const {t:t}=_0x59df4e,_0xbcb20c=new _0x308d00(_0x59df4e),_0x53e764=_0xbcb20c instanceof _0x5b70f1;return _0xbcb20c['bind']('isEnabled')['to'](_0xea4b7c,'isEnabled'),_0xbcb20c['set']({'label':t(_0x53e764?'Footnote':'Insert\x20footnote'),'icon':_0x49d7e7,'tooltip':!0x0}),_0xbcb20c['on']('execute',()=>{_0xea4b7c['execute'](),_0x30d97b['editing']['view']['focus']();}),_0xbcb20c;};}
23
+ import{ButtonView as _0x84bd35,MenuBarMenuListItemButtonView as _0x4a969b}from'ckeditor5/src/ui.js';import{Plugin as _0x23dcb5}from'ckeditor5/src/core.js';import{IconFootnote as _0x5570f9}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x23dcb5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29456e}=this,{componentFactory:_0x4afa96}=_0x29456e['ui'];_0x4afa96['add']('insertFootnote',x(_0x29456e,_0x84bd35)),_0x4afa96['add']('menuBar:insertFootnote',x(_0x29456e,_0x4a969b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f3c1e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x516205;for(const _0x5c2dcb in _0x4f3c1e){const _0x122c14=_0x5c2dcb,_0x8b50f0=_0x4f3c1e[_0x122c14];if('footnotesLicenseKeyValid'==_0x8b50f0||'footnotesLicenseKeyInvalid'==_0x8b50f0||'footnotesLicenseKeyExpired'==_0x8b50f0||'footnotesLicenseKeyDomainLimit'==_0x8b50f0||'footnotesLicenseKeyNotAllowed'==_0x8b50f0||'footnotesLicenseKeyEvaluationLimit'==_0x8b50f0||'footnotesLicenseKeyTrialLimit'==_0x8b50f0||'footnotesLicenseKeyUsageLimit'==_0x8b50f0){delete _0x4f3c1e[_0x122c14],_0x516205=_0x8b50f0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x516205&&_0x4f3c1e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x516205&&_0x4f3c1e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x516205&&_0x4f3c1e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3cd3cf,_0x166acf){const _0x366659=_0x3cd3cf['commands']['get']('insertFootnote');return _0x5ca317=>{const {t:t}=_0x5ca317,_0x3ba7b1=new _0x166acf(_0x5ca317),_0x130f54=_0x3ba7b1 instanceof _0x4a969b;return _0x3ba7b1['bind']('isEnabled')['to'](_0x366659,'isEnabled'),_0x3ba7b1['set']({'label':t(_0x130f54?'Footnote':'Insert\x20footnote'),'icon':_0x5570f9,'tooltip':!0x0}),_0x3ba7b1['on']('execute',()=>{_0x366659['execute'](),_0x3cd3cf['editing']['view']['focus']();}),_0x3ba7b1;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x393eb6,_0x1edede){var _0x160a60=_0x3e0f,_0x5bfc97=_0x393eb6();while(!![]){try{var _0x1977d8=-parseInt(_0x160a60(0xcf))/0x1*(-parseInt(_0x160a60(0xd0))/0x2)+-parseInt(_0x160a60(0xd5))/0x3*(parseInt(_0x160a60(0xd3))/0x4)+-parseInt(_0x160a60(0xce))/0x5*(-parseInt(_0x160a60(0xd2))/0x6)+parseInt(_0x160a60(0xd4))/0x7+parseInt(_0x160a60(0xcb))/0x8*(parseInt(_0x160a60(0xd1))/0x9)+parseInt(_0x160a60(0xcc))/0xa*(parseInt(_0x160a60(0xd6))/0xb)+-parseInt(_0x160a60(0xca))/0xc*(parseInt(_0x160a60(0xcd))/0xd);if(_0x1977d8===_0x1edede)break;else _0x5bfc97['push'](_0x5bfc97['shift']());}catch(_0x3897e3){_0x5bfc97['push'](_0x5bfc97['shift']());}}}(_0x4110,0x64bc4));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x3e0f(_0x4390fd,_0x17ed02){var _0x4110d0=_0x4110();return _0x3e0f=function(_0x3e0fc0,_0x3acfc5){_0x3e0fc0=_0x3e0fc0-0xca;var _0x3fb86a=_0x4110d0[_0x3e0fc0];return _0x3fb86a;},_0x3e0f(_0x4390fd,_0x17ed02);}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';function _0x4110(){var _0x37b1f1=['24iTRaay','1690gzahoN','156mlMybL','357110xZHywG','535233URnrpn','2qRfhsh','478683QMQMDd','12mFiNZM','3736wBKHSe','2659895XPTHOV','204sdDVkJ','17611UTtFmz','1012068sLWivi'];_0x4110=function(){return _0x37b1f1;};return _0x4110();}export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x54a964,_0x9be0ef){var _0x595dea=_0x40f7,_0x4aa34b=_0x54a964();while(!![]){try{var _0x55b3b1=-parseInt(_0x595dea(0x1ec))/0x1+-parseInt(_0x595dea(0x1eb))/0x2*(-parseInt(_0x595dea(0x1ee))/0x3)+-parseInt(_0x595dea(0x1ed))/0x4+-parseInt(_0x595dea(0x1f0))/0x5+parseInt(_0x595dea(0x1ea))/0x6*(parseInt(_0x595dea(0x1f3))/0x7)+-parseInt(_0x595dea(0x1f4))/0x8*(-parseInt(_0x595dea(0x1f2))/0x9)+parseInt(_0x595dea(0x1f1))/0xa*(parseInt(_0x595dea(0x1ef))/0xb);if(_0x55b3b1===_0x9be0ef)break;else _0x4aa34b['push'](_0x4aa34b['shift']());}catch(_0x106ac3){_0x4aa34b['push'](_0x4aa34b['shift']());}}}(_0x3ab7,0xac6c7));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x40f7(_0x131268,_0x339e10){var _0x3ab772=_0x3ab7();return _0x40f7=function(_0x40f790,_0x15e340){_0x40f790=_0x40f790-0x1ea;var _0x207947=_0x3ab772[_0x40f790];return _0x207947;},_0x40f7(_0x131268,_0x339e10);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x3ab7(){var _0x50b10d=['8PHaOul','437748UxRgwX','117776DFDAEW','1112285hSSjjx','3628900XasECX','33BXiphQ','11jQEjNi','6748830rFPxYk','21492080mugNwk','10193679bQJGyB','14wuDhix'];_0x3ab7=function(){return _0x50b10d;};return _0x3ab7();}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fde(_0x1bc880,_0x5e629e){const _0x1a6a1a=_0x1a6a();return _0x1fde=function(_0x1fde6a,_0x420944){_0x1fde6a=_0x1fde6a-0xef;let _0x5eacda=_0x1a6a1a[_0x1fde6a];return _0x5eacda;},_0x1fde(_0x1bc880,_0x5e629e);}const _0x203a3a=_0x1fde;(function(_0x3b2296,_0xfc4bf4){const _0x8ebb4c=_0x1fde,_0x9ea689=_0x3b2296();while(!![]){try{const _0x34976d=parseInt(_0x8ebb4c(0xf4))/0x1+parseInt(_0x8ebb4c(0xfc))/0x2*(-parseInt(_0x8ebb4c(0xfa))/0x3)+-parseInt(_0x8ebb4c(0x102))/0x4*(-parseInt(_0x8ebb4c(0x10f))/0x5)+parseInt(_0x8ebb4c(0xf3))/0x6+-parseInt(_0x8ebb4c(0xf6))/0x7+parseInt(_0x8ebb4c(0x108))/0x8*(-parseInt(_0x8ebb4c(0x116))/0x9)+parseInt(_0x8ebb4c(0xf9))/0xa;if(_0x34976d===_0xfc4bf4)break;else _0x9ea689['push'](_0x9ea689['shift']());}catch(_0x1e88a4){_0x9ea689['push'](_0x9ea689['shift']());}}}(_0x1a6a,0xe8681));function _0x1a6a(){const _0x235575=['type','getElementKey','nodeAfter','80296IShNCV','elementName','_elementName','getChanges','push','insert','from','265NrllCk','add','_trackedElements','flat','set','position','get','1116UWOnPd','$text','clear','name','getItems','_getElementKey','remove','element','attributes','3152664CWEScT','1324376ZIhvml','root','12496071uZTeaw','values','slice','32501570FmILrK','118185HOVMqJ','_model','86hfjnIP','rootName','reset','createRangeOn','$graveyard','length','43448AoaJHI','has','delete'];_0x1a6a=function(){return _0x235575;};return _0x1a6a();}export class ModelElementTracker{[_0x203a3a(0xfb)];[_0x203a3a(0x10a)];[_0x203a3a(0xef)];[_0x203a3a(0x111)]=new Map();constructor(_0x53e1fe,_0x3c6cf8){const _0x2be420=_0x203a3a;this[_0x2be420(0xfb)]=_0x53e1fe,this[_0x2be420(0x10a)]=_0x3c6cf8[_0x2be420(0x109)],this[_0x2be420(0xef)]=_0x3c6cf8[_0x2be420(0x106)];}[_0x203a3a(0xfe)](){const _0xab9afc=_0x203a3a;this[_0xab9afc(0x111)][_0xab9afc(0x118)]();}[_0x203a3a(0x10b)](_0x2fac45){const _0x37930c=_0x203a3a,_0x58014e=new Set(),_0x314979=new Map();for(const _0x516d67 of _0x2fac45){if(_0x37930c(0x10d)===_0x516d67[_0x37930c(0x105)]&&_0x37930c(0x117)!==_0x516d67[_0x37930c(0x119)]&&_0x516d67[_0x37930c(0x114)][_0x37930c(0x107)]){const _0x582a63=this[_0x37930c(0xfb)][_0x37930c(0xff)](_0x516d67[_0x37930c(0x114)][_0x37930c(0x107)]);for(const _0x3601b6 of _0x582a63[_0x37930c(0x11a)]()){if(!_0x3601b6['is'](_0x37930c(0xf1),this[_0x37930c(0x10a)]))continue;const _0x20bcc6=this[_0x37930c(0xef)](_0x3601b6);_0x314979[_0x37930c(0x103)](_0x20bcc6)||_0x314979[_0x37930c(0x113)](_0x20bcc6,[]),_0x314979[_0x37930c(0x115)](_0x20bcc6)[_0x37930c(0x10c)](_0x3601b6);}}if(_0x37930c(0xf0)===_0x516d67[_0x37930c(0x105)]&&_0x516d67[_0x37930c(0x119)]===this[_0x37930c(0x10a)]){const _0x2bbce2=this[_0x37930c(0xef)]({'getAttribute':_0x2ec178=>_0x516d67[_0x37930c(0xf2)][_0x37930c(0x115)](_0x2ec178)});_0x58014e[_0x37930c(0x110)](_0x2bbce2);}}for(const [_0x2353bc,_0x1b1e12]of this[_0x37930c(0x111)])_0x37930c(0x100)===_0x1b1e12[_0x37930c(0xf5)][_0x37930c(0xfd)]&&_0x58014e[_0x37930c(0x110)](_0x2353bc);for(const _0xdc33f6 of _0x58014e)this[_0x37930c(0x111)][_0x37930c(0x104)](_0xdc33f6);for(const [_0x1d507d,_0x349140]of _0x314979)this[_0x37930c(0x111)][_0x37930c(0x113)](_0x1d507d,_0x349140[_0x349140[_0x37930c(0x101)]-0x1]);const _0x195b58=new Set();for(const [_0x2b73d3,_0x3086f4]of _0x314979)_0x58014e[_0x37930c(0x103)](_0x2b73d3)&&(_0x195b58[_0x37930c(0x110)](_0x3086f4[0x0]),_0x3086f4[_0x37930c(0x101)]>0x1?_0x314979[_0x37930c(0x113)](_0x2b73d3,_0x3086f4[_0x37930c(0xf8)](0x1)):_0x314979[_0x37930c(0x104)](_0x2b73d3),_0x58014e[_0x37930c(0x104)](_0x2b73d3));return{'removed':Array[_0x37930c(0x10e)](_0x58014e),'inserted':Array[_0x37930c(0x10e)](_0x314979[_0x37930c(0xf7)]())[_0x37930c(0x112)](),'moved':Array[_0x37930c(0x10e)](_0x195b58)};}}
23
+ function _0x4a32(_0x4f9225,_0x5bd89f){const _0x23e6bf=_0x23e6();return _0x4a32=function(_0x4a3208,_0x50babc){_0x4a3208=_0x4a3208-0xbf;let _0x24bd38=_0x23e6bf[_0x4a3208];return _0x24bd38;},_0x4a32(_0x4f9225,_0x5bd89f);}const _0x4ce236=_0x4a32;function _0x23e6(){const _0x13168f=['attributes','push','1051505LKhMfb','251528LjMCef','_model','element','18pvsmao','rootName','nodeAfter','getElementKey','1214899NIJgYo','flat','$text','length','clear','slice','2454770mkCbkY','from','6TStoSh','has','_elementName','_getElementKey','remove','insert','20dDAWaD','$graveyard','1680108AdPdfs','set','type','root','values','getItems','_trackedElements','104955gPKNLq','elementName','delete','name','reset','createRangeOn','add','get','position','30428cwjmiO','getChanges'];_0x23e6=function(){return _0x13168f;};return _0x23e6();}(function(_0x60cbf1,_0x755b61){const _0x1608b4=_0x4a32,_0x579a5a=_0x60cbf1();while(!![]){try{const _0x35c468=parseInt(_0x1608b4(0xd1))/0x1*(-parseInt(_0x1608b4(0xe9))/0x2)+parseInt(_0x1608b4(0xe0))/0x3*(parseInt(_0x1608b4(0xd7))/0x4)+-parseInt(_0x1608b4(0xc1))/0x5+parseInt(_0x1608b4(0xd9))/0x6+-parseInt(_0x1608b4(0xc9))/0x7+-parseInt(_0x1608b4(0xc2))/0x8*(parseInt(_0x1608b4(0xc5))/0x9)+parseInt(_0x1608b4(0xcf))/0xa;if(_0x35c468===_0x755b61)break;else _0x579a5a['push'](_0x579a5a['shift']());}catch(_0x1cf348){_0x579a5a['push'](_0x579a5a['shift']());}}}(_0x23e6,0x27a5c));export class ModelElementTracker{[_0x4ce236(0xc3)];[_0x4ce236(0xd3)];[_0x4ce236(0xd4)];[_0x4ce236(0xdf)]=new Map();constructor(_0x903e73,_0x2a9db7){const _0x356e89=_0x4ce236;this[_0x356e89(0xc3)]=_0x903e73,this[_0x356e89(0xd3)]=_0x2a9db7[_0x356e89(0xe1)],this[_0x356e89(0xd4)]=_0x2a9db7[_0x356e89(0xc8)];}[_0x4ce236(0xe4)](){const _0x1ecb73=_0x4ce236;this[_0x1ecb73(0xdf)][_0x1ecb73(0xcd)]();}[_0x4ce236(0xea)](_0x1ef861){const _0x4aec6a=_0x4ce236,_0x2ba5fc=new Set(),_0x1c0376=new Map();for(const _0x3783f0 of _0x1ef861){if(_0x4aec6a(0xd6)===_0x3783f0[_0x4aec6a(0xdb)]&&_0x4aec6a(0xcb)!==_0x3783f0[_0x4aec6a(0xe3)]&&_0x3783f0[_0x4aec6a(0xe8)][_0x4aec6a(0xc7)]){const _0x4adbc0=this[_0x4aec6a(0xc3)][_0x4aec6a(0xe5)](_0x3783f0[_0x4aec6a(0xe8)][_0x4aec6a(0xc7)]);for(const _0x594fa3 of _0x4adbc0[_0x4aec6a(0xde)]()){if(!_0x594fa3['is'](_0x4aec6a(0xc4),this[_0x4aec6a(0xd3)]))continue;const _0x4dd563=this[_0x4aec6a(0xd4)](_0x594fa3);_0x1c0376[_0x4aec6a(0xd2)](_0x4dd563)||_0x1c0376[_0x4aec6a(0xda)](_0x4dd563,[]),_0x1c0376[_0x4aec6a(0xe7)](_0x4dd563)[_0x4aec6a(0xc0)](_0x594fa3);}}if(_0x4aec6a(0xd5)===_0x3783f0[_0x4aec6a(0xdb)]&&_0x3783f0[_0x4aec6a(0xe3)]===this[_0x4aec6a(0xd3)]){const _0x5bd94d=this[_0x4aec6a(0xd4)]({'getAttribute':_0x593402=>_0x3783f0[_0x4aec6a(0xbf)][_0x4aec6a(0xe7)](_0x593402)});_0x2ba5fc[_0x4aec6a(0xe6)](_0x5bd94d);}}for(const [_0x1ddb06,_0x16720b]of this[_0x4aec6a(0xdf)])_0x4aec6a(0xd8)===_0x16720b[_0x4aec6a(0xdc)][_0x4aec6a(0xc6)]&&_0x2ba5fc[_0x4aec6a(0xe6)](_0x1ddb06);for(const _0x35abd5 of _0x2ba5fc)this[_0x4aec6a(0xdf)][_0x4aec6a(0xe2)](_0x35abd5);for(const [_0x5cb1f3,_0x8a728d]of _0x1c0376)this[_0x4aec6a(0xdf)][_0x4aec6a(0xda)](_0x5cb1f3,_0x8a728d[_0x8a728d[_0x4aec6a(0xcc)]-0x1]);const _0x26e194=new Set();for(const [_0x2deef5,_0x2c258d]of _0x1c0376)_0x2ba5fc[_0x4aec6a(0xd2)](_0x2deef5)&&(_0x26e194[_0x4aec6a(0xe6)](_0x2c258d[0x0]),_0x2c258d[_0x4aec6a(0xcc)]>0x1?_0x1c0376[_0x4aec6a(0xda)](_0x2deef5,_0x2c258d[_0x4aec6a(0xce)](0x1)):_0x1c0376[_0x4aec6a(0xe2)](_0x2deef5),_0x2ba5fc[_0x4aec6a(0xe2)](_0x2deef5));return{'removed':Array[_0x4aec6a(0xd0)](_0x2ba5fc),'inserted':Array[_0x4aec6a(0xd0)](_0x1c0376[_0x4aec6a(0xdd)]())[_0x4aec6a(0xca)](),'moved':Array[_0x4aec6a(0xd0)](_0x26e194)};}}