@ckeditor/ckeditor5-footnotes 47.3.0-alpha.4 → 47.3.0-alpha.6

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 _0x1df53c}from'ckeditor5/src/core.js';import{isWidget as _0x466f3a,toWidget as _0x128ba6,toWidgetEditable as _0x56c853}from'ckeditor5/src/widget.js';import{uid as _0x5804b0}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4d3417,ClickObserver as _0x47ac07}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x3a1e97}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x8c6d2}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1df53c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x3a1e97];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x232974}=this;_0x232974['config']['define']('footnotes.multiBlock',!0x0),_0x232974['commands']['add']('insertFootnote',new _0x8c6d2(_0x232974)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3dcad2){const _0x1993e3=_0x2afb01([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]),_0x3deeff=0x47a28506,_0xee719c=0x47a5ff96^_0x3deeff,_0x26e67f=window[_0x2afb01([0x44,0x61,0x74,0x65])][_0x2afb01([0x6e,0x6f,0x77])](),_0x25c5e8=_0x3dcad2[_0x2afb01([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x359139=new window[(_0x2afb01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35a7b0=>{_0x25c5e8[_0x2afb01([0x6f,0x6e,0x63,0x65])](_0x2afb01([0x72,0x65,0x61,0x64,0x79]),_0x35a7b0);}),_0x6698e0={[_0x2afb01([0x6b,0x74,0x79])]:_0x2afb01([0x45,0x43]),[_0x2afb01([0x75,0x73,0x65])]:_0x2afb01([0x73,0x69,0x67]),[_0x2afb01([0x63,0x72,0x76])]:_0x2afb01([0x50,0x2d,0x32,0x35,0x36]),[_0x2afb01([0x78])]:_0x2afb01([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]),[_0x2afb01([0x79])]:_0x2afb01([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]),[_0x2afb01([0x61,0x6c,0x67])]:_0x2afb01([0x45,0x53,0x32,0x35,0x36])},_0x13fe8e=_0x25c5e8[_0x2afb01([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2afb01([0x67,0x65,0x74])](_0x2afb01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x261bff(){let _0x3ffcfb,_0x175704=null,_0x288ee1=null;try{if(_0x13fe8e==_0x2afb01([0x47,0x50,0x4c]))return _0x2afb01([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ffcfb=_0x2f1571(),!_0x3ffcfb)return _0x2afb01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ffcfb[_0x2afb01([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x288ee1=_0x1d0c47(_0x3ffcfb[_0x2afb01([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ffcfb[_0x2afb01([0x6a,0x74,0x69])])),await _0x18a895()?_0x139515()?_0xf85d62()?_0x2afb01([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x195d54()?(_0x3ffcfb[_0x2afb01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2afb01([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x175704=_0x4aa733(_0x2afb01([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ffcfb[_0x2afb01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2afb01([0x74,0x72,0x69,0x61,0x6c])&&(_0x175704=_0x4aa733(_0x2afb01([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c7144()):_0x2afb01([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2afb01([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2afb01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2afb01([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf85d62(){const _0x52d91b=[_0x2afb01([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2afb01([0x74,0x72,0x69,0x61,0x6c])][_0x2afb01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ffcfb[_0x2afb01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26e67f/0x3e8:0xe10*_0xee719c;return _0x3ffcfb[_0x2afb01([0x65,0x78,0x70])]<_0x52d91b;}function _0x139515(){const _0x804c70=_0x3ffcfb[_0x2afb01([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x804c70&&(!!_0x804c70[_0x2afb01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2afb01([0x2a]))||!!_0x804c70[_0x2afb01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2afb01([0x46,0x4f,0x4f])));}function _0x195d54(){const _0x26a22c=_0x3ffcfb[_0x2afb01([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26a22c||0x0==_0x26a22c[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xc6fa32}=new URL(window[_0x2afb01([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26a22c[_0x2afb01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xc6fa32))return!0x0;const _0x256d2c=_0xc6fa32[_0x2afb01([0x73,0x70,0x6c,0x69,0x74])](_0x2afb01([0x2e]));return _0x26a22c[_0x2afb01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4010c2=>_0x4010c2[_0x2afb01([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2afb01([0x2a])))[_0x2afb01([0x6d,0x61,0x70])](_0x367e2d=>_0x367e2d[_0x2afb01([0x73,0x70,0x6c,0x69,0x74])](_0x2afb01([0x2e])))[_0x2afb01([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9da87a=>_0x9da87a[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x256d2c[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2afb01([0x6d,0x61,0x70])](_0x4f0424=>Array(_0x256d2c[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f0424[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2afb01([0x66,0x69,0x6c,0x6c])](_0x4f0424[0x0]===_0x2afb01([0x2a])?_0x2afb01([0x2a]):'')[_0x2afb01([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f0424))[_0x2afb01([0x73,0x6f,0x6d,0x65])](_0x1bce93=>_0x256d2c[_0x2afb01([0x65,0x76,0x65,0x72,0x79])]((_0x2694b1,_0x1c72e2)=>_0x1bce93[_0x1c72e2]===_0x2694b1||_0x1bce93[_0x1c72e2]===_0x2afb01([0x2a])));}function _0x4c7144(){return _0x175704&&_0x288ee1?new window[(_0x2afb01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x553045,_0x5c811a)=>{_0x175704[_0x2afb01([0x74,0x68,0x65,0x6e])](_0x553045,_0x5c811a),_0x288ee1[_0x2afb01([0x74,0x68,0x65,0x6e])](_0x1b4c2c=>{_0x1b4c2c!=_0x2afb01([0x56,0x61,0x6c,0x69,0x64])&&_0x553045(_0x1b4c2c);},_0x5c811a);}):_0x175704||_0x288ee1||_0x2afb01([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1d0c47(_0xc6929e,_0x294d83){return new window[(_0x2afb01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b2207=>{if(_0x5b61df())return _0x5b2207(_0x2afb01([0x56,0x61,0x6c,0x69,0x64]));_0x1e84d5(),_0x25c5e8[_0x2afb01([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2afb01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50197e=!0x1;const _0x42efad=_0x5804b0();function _0x515af0(_0x3c1467){return!!_0x3c1467&&(typeof _0x3c1467===_0x2afb01([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c1467===_0x2afb01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c1467[_0x2afb01([0x74,0x68,0x65,0x6e])]===_0x2afb01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c1467[_0x2afb01([0x63,0x61,0x74,0x63,0x68])]===_0x2afb01([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12961e(_0x3c25bc){_0x1189b6(_0x3c25bc)[_0x2afb01([0x74,0x68,0x65,0x6e])](_0x55d4ff=>{if(!_0x55d4ff||_0x55d4ff[_0x2afb01([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2afb01([0x6f,0x6b]))return _0x2afb01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x512854(_0x690b10(_0x42efad+_0x294d83))!=_0x55d4ff[_0x2afb01([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2afb01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2afb01([0x56,0x61,0x6c,0x69,0x64]);})[_0x2afb01([0x74,0x68,0x65,0x6e])](_0x4c8681=>(_0xc2408d(),_0x4c8681),()=>{const _0xa9eb01=_0xd7a31b();return null==_0xa9eb01?(_0xc2408d(),_0x2afb01([0x56,0x61,0x6c,0x69,0x64])):_0x2afb01(_0x26e67f-_0xa9eb01>(0x63ae0106^_0x3deeff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2afb01([0x74,0x68,0x65,0x6e])](_0x5b2207)[_0x2afb01([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b2207(_0x2afb01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d8b31=0x47946b86^_0x3deeff;function _0xc2408d(){const _0x40eb45=_0x2afb01([0x6c,0x6c,0x63,0x74,0x2d])+_0x512854(_0x690b10(_0xc6929e)),_0x4e5435=_0x181be1(_0x512854(window[_0x2afb01([0x4d,0x61,0x74,0x68])][_0x2afb01([0x63,0x65,0x69,0x6c])](_0x26e67f/_0x4d8b31)));window[_0x2afb01([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2afb01([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40eb45,_0x4e5435);}function _0xd7a31b(){const _0x336e2b=_0x2afb01([0x6c,0x6c,0x63,0x74,0x2d])+_0x512854(_0x690b10(_0xc6929e)),_0x43610f=window[_0x2afb01([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2afb01([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x336e2b);return _0x43610f?window[_0x2afb01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x181be1(_0x43610f),0x10)*_0x4d8b31:null;}function _0x1189b6(_0x46fd47){return new window[(_0x2afb01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1dbeaf,_0x24e82e)=>{_0x46fd47[_0x2afb01([0x74,0x68,0x65,0x6e])](_0x1dbeaf,_0x24e82e),window[_0x2afb01([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x24e82e,0x47a351c6^_0x3deeff);});}}_0x25c5e8[_0x2afb01([0x6f,0x6e])](_0x2afb01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x11af4f,_0x5a9175)=>{if(_0x5a9175[0x0]!=_0xc6929e)return _0x5b2207(_0x2afb01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a9175[0x1]={..._0x5a9175[0x1],[_0x2afb01([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42efad};},{[_0x2afb01([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2afb01([0x68,0x69,0x67,0x68])}),_0x25c5e8[_0x2afb01([0x6f,0x6e])](_0x2afb01([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17489e=>{_0x515af0(_0x17489e[_0x2afb01([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50197e=!0x0,_0x12961e(_0x17489e[_0x2afb01([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2afb01([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2afb01([0x6c,0x6f,0x77])}),_0x359139[_0x2afb01([0x74,0x68,0x65,0x6e])](()=>{_0x50197e||_0x5b2207(_0x2afb01([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b61df(){return _0x25c5e8[_0x2afb01([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2afb01([0x76,0x69,0x65,0x77])][_0x2afb01([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2afb01([0x61,0x75,0x74,0x6f]);}function _0x1e84d5(){_0x25c5e8[_0x2afb01([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2afb01([0x76,0x69,0x65,0x77])][_0x2afb01([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2afb01([0x61,0x75,0x74,0x6f]);}}function _0x4aa733(_0x36e077){const _0x321c73=[new window[(_0x2afb01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cc71c=>setTimeout(_0x3cc71c,0x47abbbca^_0x3deeff)),_0x359139[_0x2afb01([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2afb01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7a40=>{let _0x2d2293=0x0;_0x25c5e8[_0x2afb01([0x6d,0x6f,0x64,0x65,0x6c])][_0x2afb01([0x6f,0x6e])](_0x2afb01([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57a1a8,_0x3965eb)=>{_0x3965eb[0x0][_0x2afb01([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d2293++,_0x2d2293==(0x47a284fe^_0x3deeff)&&(_0x4b7a40(),_0x57a1a8[_0x2afb01([0x6f,0x66,0x66])]());});}))];return window[_0x2afb01([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2afb01([0x72,0x61,0x63,0x65])](_0x321c73)[_0x2afb01([0x74,0x68,0x65,0x6e])](()=>_0x36e077);}async function _0x36d429(){await _0x359139,_0x25c5e8[_0x2afb01([0x6d,0x6f,0x64,0x65,0x6c])][_0x2afb01([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x22978d,_0x25c5e8[_0x2afb01([0x6d,0x6f,0x64,0x65,0x6c])][_0x2afb01([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x22978d,_0x25c5e8[_0x2afb01([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2afb01([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2fd9e9(_0x23448d){const _0x1e07a1=_0x51c9cf();_0x25c5e8[_0x1e07a1]=_0x2afb01([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x23448d,_0x23448d!=_0x2afb01([0x56,0x61,0x6c,0x69,0x64])&&_0x36d429();}function _0x51c9cf(){const _0x5df055=window[_0x2afb01([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2afb01([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2afb01([0x6e,0x6f,0x77])]())[_0x2afb01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2afb01([0x2e]),'');let _0x22ff1f=_0x2afb01([0x75]);for(let _0x3afea5=0x0;_0x3afea5<_0x5df055[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3afea5+=0x2){let _0x59d8df=window[_0x2afb01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5df055[_0x2afb01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3afea5,_0x3afea5+0x2));_0x59d8df>=_0x1993e3[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x59d8df-=_0x1993e3[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22ff1f+=_0x1993e3[_0x59d8df];}return _0x22ff1f;}function _0x2f1571(){const _0x499ec2=_0x13fe8e[_0x2afb01([0x73,0x70,0x6c,0x69,0x74])](_0x2afb01([0x2e]));if(0x3!=_0x499ec2[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2949d5(_0x499ec2[0x1]);function _0x2949d5(_0x4e749c){const _0xfee57b=_0x699580(_0x4e749c);return _0xfee57b&&_0x59a9bd()?_0xfee57b:null;function _0x59a9bd(){const _0xb3454a=_0xfee57b[_0x2afb01([0x6a,0x74,0x69])],_0x5ce422=window[_0x2afb01([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb3454a[_0x2afb01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb3454a[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x248980={..._0xfee57b,[_0x2afb01([0x6a,0x74,0x69])]:_0xb3454a[_0x2afb01([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb3454a[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x248980[_0x2afb01([0x76,0x63])],_0x690b10(_0x248980)==_0x5ce422;}}}async function _0x18a895(){let _0x57cc5e=!0x0;try{const _0x19e9a4=_0x13fe8e[_0x2afb01([0x73,0x70,0x6c,0x69,0x74])](_0x2afb01([0x2e])),[_0x371bfe,_0x49c427,_0x5d2550]=_0x19e9a4;return _0x589303(_0x371bfe),await _0x19eb18(_0x371bfe,_0x49c427,_0x5d2550),_0x57cc5e;}catch{return!0x1;}function _0x589303(_0x54df96){const _0xb3b2ef=_0x699580(_0x54df96);_0xb3b2ef&&_0xb3b2ef[_0x2afb01([0x61,0x6c,0x67])]==_0x2afb01([0x45,0x53,0x32,0x35,0x36])||(_0x57cc5e=!0x1);}async function _0x19eb18(_0x976bd4,_0x22dc0d,_0x488a25){const _0x459ab9=window[_0x2afb01([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2afb01([0x66,0x72,0x6f,0x6d])](_0x527e4e(_0x488a25),_0x2fe558=>_0x2fe558[_0x2afb01([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x34d7cd=new window[(_0x2afb01([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2afb01([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x976bd4+_0x2afb01([0x2e])+_0x22dc0d),_0x22b941=window[_0x2afb01([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2afb01([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x22b941)return;const _0x5f4dd2=await _0x22b941[_0x2afb01([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2afb01([0x6a,0x77,0x6b]),_0x6698e0,{[_0x2afb01([0x6e,0x61,0x6d,0x65])]:_0x2afb01([0x45,0x43,0x44,0x53,0x41]),[_0x2afb01([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2afb01([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2afb01([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x22b941[_0x2afb01([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2afb01([0x6e,0x61,0x6d,0x65])]:_0x2afb01([0x45,0x43,0x44,0x53,0x41]),[_0x2afb01([0x68,0x61,0x73,0x68])]:{[_0x2afb01([0x6e,0x61,0x6d,0x65])]:_0x2afb01([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f4dd2,_0x459ab9,_0x34d7cd)||(_0x57cc5e=!0x1);}}function _0x699580(_0x46cbb9){return _0x46cbb9[_0x2afb01([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2afb01([0x65,0x79]))?JSON[_0x2afb01([0x70,0x61,0x72,0x73,0x65])](_0x527e4e(_0x46cbb9)):null;}function _0x527e4e(_0x5062c8){return window[_0x2afb01([0x61,0x74,0x6f,0x62])](_0x5062c8[_0x2afb01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2afb01([0x2b]))[_0x2afb01([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2afb01([0x2f])));}function _0x690b10(_0x14eaa6){let _0x74b46f=0x1505;function _0x52c022(_0x2d151f){for(let _0xe1e153=0x0;_0xe1e153<_0x2d151f[_0x2afb01([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe1e153++){const _0x2b9b47=_0x2d151f[_0x2afb01([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xe1e153);_0x74b46f=(_0x74b46f<<0x5)+_0x74b46f+_0x2b9b47,_0x74b46f&=_0x74b46f;}}function _0x191c57(_0x2e0657){Array[_0x2afb01([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e0657)?_0x2e0657[_0x2afb01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x191c57):_0x2e0657&&typeof _0x2e0657==_0x2afb01([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2afb01([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e0657)[_0x2afb01([0x73,0x6f,0x72,0x74])]()[_0x2afb01([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2bd710,_0x25e0c6])=>{_0x52c022(_0x2bd710),_0x191c57(_0x25e0c6);}):_0x52c022(window[_0x2afb01([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e0657));}return _0x191c57(_0x14eaa6),_0x74b46f>>>0x0;}function _0x512854(_0x40c0af){return _0x40c0af[_0x2afb01([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2afb01([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2afb01([0x30]));}function _0x181be1(_0x3b97d9){return _0x3b97d9[_0x2afb01([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2afb01([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2afb01([0x6a,0x6f,0x69,0x6e])]('');}function _0x22978d(){}function _0x2afb01(_0x2b7666){return _0x2b7666['map'](_0x10f5da=>String['fromCharCode'](_0x10f5da))['join']('');}_0x2fd9e9(await _0x261bff());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5719f3){const {plugins:_0x1a4d2e,editing:_0x24865e,model:_0x3b9814}=this['editor'],_0x559ec9=_0x1a4d2e['get'](_0x3a1e97)['getFootnote'](_0x5719f3);return!!_0x559ec9&&(_0x3b9814['change'](_0x364056=>{_0x364056['setSelection'](_0x364056['createPositionAt'](_0x559ec9['definition'],'end'));}),_0x24865e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5b700d){const {plugins:_0x38995a,editing:_0x402bc1,model:_0x12f4a1}=this['editor'],_0x1f628b=_0x38995a['get'](_0x3a1e97)['getFootnote'](_0x5b700d);return!!_0x1f628b&&(_0x12f4a1['change'](_0x3e5cbc=>{_0x3e5cbc['setSelection'](_0x1f628b['reference'],'on');}),_0x402bc1['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x56ab6d}=this['editor']['model'],_0x24fde7=this['editor']['config']['get']('footnotes.multiBlock');_0x56ab6d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x56ab6d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x56ab6d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x24fde7?_0x56ab6d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x56ab6d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x56ab6d['addChildCheck'](_0x47a324=>{for(const _0x25035b of _0x47a324)if('footnoteDefinition'===_0x25035b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4c7564}=this,{conversion:_0x3d4f60,editing:_0x2b45ee}=_0x4c7564,{t:t}=_0x4c7564['locale'];_0x3d4f60['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x34b9ce,{writer:_0x53694f,consumable:_0xb537a2})=>{const _0x3a5845=_0x34b9ce['getChild'](0x0);if(!_0x3a5845||!_0x3a5845['is']('element','a'))return null;const _0x34638f=_0x3a5845['getAttribute']('href')||'';if(!_0x34638f['startsWith']('#'))return null;const _0x10c042=_0x34638f['replace'](/^#/,'');if(!_0x10c042)return null;_0xb537a2['consume'](_0x3a5845,{'name':!0x0,'attributes':['href']});for(const {item:_0x15b71b}of _0x2b45ee['view']['createRangeIn'](_0x3a5845))_0x15b71b['is']('$textProxy')?_0xb537a2['consume'](_0x15b71b['textNode'],{'name':!0x0}):_0x15b71b['is']('element')&&_0xb537a2['consume'](_0x15b71b,{'name':!0x0});return _0x53694f['createElement']('footnoteRef',{'footnoteId':_0x10c042});}}),_0x3d4f60['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x204cdf,{writer:_0x2993e3})=>D(_0x204cdf,_0x2993e3)}),_0x3d4f60['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1e1d3d,{writer:_0x13eb8f})=>{const _0x2edcb1=_0x1e1d3d['getAttribute']('footnoteCounter');return _0x128ba6(D(_0x1e1d3d,_0x13eb8f),_0x13eb8f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2edcb1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4c5a7f}=this,{t:t}=_0x4c5a7f['locale'],{conversion:_0x180e33}=_0x4c5a7f;_0x180e33['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x180e33['for']('upcast')['add'](_0x3b07d6=>{_0x3b07d6['on']('element:ol',(_0x33a125,_0x58dd9e,_0xc424d6)=>{const _0x27bf9c=_0x58dd9e['viewItem'];if(!_0x27bf9c['hasClass']('footnotes-list')||!_0x58dd9e['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xc424d6['consumable']['consume'](_0x27bf9c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x46ee68,modelCursor:_0x44c807}=_0xc424d6['convertChildren'](_0x58dd9e['viewItem'],_0x58dd9e['modelCursor']);_0x58dd9e['modelRange']=_0x46ee68,_0x58dd9e['modelCursor']=_0x44c807;}),_0x3b07d6['on']('element:hr',(_0x59121b,_0x146a45,_0x26828f)=>{const _0x557e09=_0x146a45['viewItem'];_0x557e09['hasClass']('footnotes-divider')&&_0x146a45['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x26828f['consumable']['consume'](_0x557e09,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x180e33['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4accf0,{writer:_0x19395c})=>v(_0x19395c)}),_0x180e33['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x488c48,{writer:_0x4e91f5})=>{const _0x3087f=v(_0x4e91f5,{'data-footnotes-list-label':t('Footnotes')}),_0x22beb6=_0x128ba6(_0x3087f,_0x4e91f5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4e91f5['setCustomProperty']('footnotesDefinitions',!0x0,_0x22beb6),_0x22beb6;}});}['_defineDefinitionConverters'](){const {editor:_0xe32047}=this,{conversion:_0x157367,locale:_0x205fba}=_0xe32047,_0xbf7827=_0xe32047['config']['get']('footnotes.multiBlock');_0x157367['for']('upcast')['add'](_0x5a5c6f=>{_0x5a5c6f['on']('element:li',(_0x37de58,_0x1afde8,_0x577c89)=>{const _0x49eb92=_0x1afde8['viewItem'];if(!_0x49eb92['hasClass']('footnote-definition')||!_0x49eb92['getAttribute']('id'))return;const _0x137dca=_0x49eb92['parent'];if(!_0x137dca['is']('element','ol')||!_0x137dca['hasClass']('footnotes-list'))return;if(!_0x577c89['consumable']['test'](_0x49eb92,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xd9a4ce=_0x577c89['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x49eb92['getAttribute']('id')});if(!_0x577c89['safeInsert'](_0xd9a4ce,_0x1afde8['modelCursor']))return;_0x577c89['consumable']['consume'](_0x49eb92,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4fd3a7=Array['from'](_0x49eb92['getChildren']())['find'](_0x21e76c=>_0x21e76c['is']('element')&&_0x21e76c['hasClass']('footnote-content'));for(const _0x1d1a9a of _0x49eb92['getChildren']())_0x1d1a9a['is']('element')&&(_0x577c89['consumable']['consume'](_0x1d1a9a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x577c89['consumable']['consume'](_0x1d1a9a,{'name':!0x0,'classes':'footnote-content'}));if(_0x4fd3a7){if(_0xbf7827)_0x577c89['convertChildren'](_0x4fd3a7,_0xd9a4ce);else{const _0x1f367c=_0x577c89['writer']['createElement']('footnoteInlineContent');_0x577c89['writer']['insert'](_0x1f367c,_0xd9a4ce),_0x577c89['convertChildren'](_0x4fd3a7,_0x1f367c);}}_0x577c89['updateConversionResult'](_0xd9a4ce,_0x1afde8);});}),_0x157367['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1bdc5a,{writer:_0x2f0a0a})=>b(_0x1bdc5a,_0x2f0a0a,_0x205fba,{'dataPipeline':!0x0})}),_0x157367['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d3d17,{writer:_0x2f3abc})=>b(_0x2d3d17,_0x2f3abc,_0x205fba)});}['_defineBogusParagraphConverters'](){const {editor:_0x14c725}=this,{conversion:_0x1106d6}=_0x14c725;_0x14c725['config']['get']('footnotes.multiBlock')?(_0x1106d6['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1106d6['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x14c725['model']['document'],'change:data',()=>{!function(_0x2478e6,_0x6af91d){const _0x503286=_0x2478e6['document']['differ'],_0x57c04f=new Set();for(const _0x4eaa7b of _0x503286['getChanges']()){const _0x3c1264='attribute'==_0x4eaa7b['type']?_0x4eaa7b['range']['start']['parent']:_0x4eaa7b['position']['parent'];_0x3c1264['is']('element','footnoteDefinition')&&_0x57c04f['add'](_0x3c1264);}for(const _0x3e5ec9 of _0x57c04f['values']()){const _0x1b9cac=Array['from'](_0x3e5ec9['getChildren']())['filter'](_0x494578=>g(_0x494578,_0x6af91d['mapper']));for(const _0x100b98 of _0x1b9cac)_0x6af91d['reconvertItem'](_0x100b98);}}(_0x14c725['model'],_0x14c725['editing']);})):(_0x1106d6['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1106d6['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1c9da3,{writer:_0x582c88})=>{const _0x284bbb=_0x582c88['createContainerElement']('span');return _0x582c88['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x284bbb),_0x284bbb;}}));}['_defineKeyboardHandlers'](){const {editor:_0x307ec4}=this,{editing:_0x410fdc,t:t}=_0x307ec4,_0xaf0912=_0x307ec4['model']['document']['selection'];_0x307ec4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x307ec4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x410fdc['view']['document'],'enter',(_0x5204e5,_0x41b252)=>{const _0x307536=function(_0x59edbe){const _0x4f955f=_0x59edbe['getSelectedElement']();if(_0x4f955f?.['is']('element','footnoteRef'))return _0x4f955f;return null;}(_0xaf0912);if(_0x307536){const _0x303a61=_0x307536['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x303a61),_0x41b252['preventDefault'](),_0x5204e5['stop']();}},{'context':_0x466f3a});}['_defineClickHandlers'](){const {editor:_0x511497}=this,{editing:_0x113ae6}=_0x511497;_0x511497['editing']['view']['addObserver'](_0x4d3417),_0x511497['editing']['view']['addObserver'](_0x47ac07);let _0x8c8d92=!0x1;this['listenTo'](_0x113ae6['view']['document'],'pointerdown',(_0x48ab9b,_0x509a8c)=>{const {target:_0x1aa57e}=_0x509a8c,_0x5b9311=_0x113ae6['view']['document']['selection'];_0x8c8d92=!!(_0x1aa57e?.['is']('element','a')&&_0x1aa57e['parent']?.['is']('element','sup')&&_0x1aa57e['parent']['hasClass']('footnote'))&&_0x5b9311['getSelectedElement']()===_0x1aa57e['parent'];},{'priority':'high'}),this['listenTo'](_0x113ae6['view']['document'],'click',(_0x52cb69,_0x4e17e5)=>{const {target:_0x5ed233}=_0x4e17e5;if(!_0x5ed233?.['is']('element','a'))return;if(_0x5ed233['parent']?.['is']('element','sup')&&_0x5ed233['parent']['hasClass']('footnote')&&!_0x8c8d92)return void _0x4e17e5['preventDefault']();let _0x51944f=_0x5ed233['getAttribute']('href');if(!_0x51944f?.['startsWith']('#'))return;_0x51944f=_0x51944f['slice'](0x1);let _0x3c1429=!0x1;(_0x51944f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x51944f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x51944f))&&(_0x3c1429=!0x0),_0x3c1429&&(_0x4e17e5['preventDefault'](),_0x52cb69['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x37b2b9}={}){return(_0x24b042,{writer:_0x3c6958})=>{if(!p(_0x24b042))return null;if(!_0x37b2b9)return _0x3c6958['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xcabd66=_0x3c6958['createContainerElement']('p');return _0x3c6958['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcabd66),_0xcabd66;};}function p(_0x136ca1){const {parent:_0x4f48da}=_0x136ca1;if(!_0x4f48da?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4f48da['childCount'])return!0x1;for(const _0x44f891 of _0x136ca1['getAttributeKeys']())if(!_0x44f891['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x44f891)return!0x1;return!0x0;}function g(_0x1fd6b7,_0x412113){if(!_0x1fd6b7['is']('element','paragraph'))return!0x1;const _0x44e6d2=_0x412113['toViewElement'](_0x1fd6b7);return!!_0x44e6d2&&p(_0x1fd6b7)!==_0x44e6d2['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4319a5){return _0x466f3a(_0x4319a5)&&_0x4319a5['is']('containerElement')&&!!_0x4319a5['getCustomProperty']('footnotesDefinitions');}function v(_0xbfd9aa,_0x5d9ced={}){const _0x531f2b=_0xbfd9aa['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4568d3=_0xbfd9aa['createContainerElement']('ol',{'class':'footnotes-list'},_0xbfd9aa['createSlot']());return _0xbfd9aa['createContainerElement']('div',{'class':'footnotes',..._0x5d9ced},[_0x531f2b,_0x4568d3]);}function D(_0x4cd22f,_0x32d885){const _0x4ee6f0=_0x4cd22f['getAttribute']('footnoteId'),_0x793a7f=_0x4cd22f['getAttribute']('footnoteCounter'),_0x5ad400=_0x32d885['createUIElement']('a',{'href':'#'+_0x4ee6f0},function(_0x1eb7d2){const _0x57aebe=this['toDomElement'](_0x1eb7d2);return _0x57aebe['textContent']=_0x793a7f,_0x57aebe;}),_0x311564=_0x32d885['createContainerElement']('sup',{'id':'ref-'+_0x4ee6f0,'class':'footnote'},[_0x5ad400]);return _0x311564['getFillerOffset']=()=>null,_0x311564;}function b(_0xbe68b3,_0x2e15fe,_0x538c30,{dataPipeline:_0x278ab7}={}){const {t:t}=_0x538c30,_0x49fa35=_0xbe68b3['getAttribute']('footnoteId'),_0x349017=_0x2e15fe['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x49fa35},function(_0x325f09){const _0x4c9c7c=this['toDomElement'](_0x325f09);return _0x4c9c7c['innerText']='^',_0x4c9c7c;}),_0x510d31=_0x278ab7?_0x2e15fe['createContainerElement']('div',{'class':'footnote-content'}):_0x56c853(_0x2e15fe['createEditableElement']('div',{'class':'footnote-content'}),_0x2e15fe,{'label':t('Footnote\x20content.')});return _0x2e15fe['insert'](_0x2e15fe['createPositionAt'](_0x510d31,0x0),_0x2e15fe['createSlot']()),_0x2e15fe['createContainerElement']('li',{'class':'footnote-definition','id':_0x49fa35},[_0x349017,_0x510d31]);}
23
+ import{Plugin as _0x4a7ce7}from'ckeditor5/src/core.js';import{isWidget as _0x41bbdf,toWidget as _0x1fe759,toWidgetEditable as _0x2b3a24}from'ckeditor5/src/widget.js';import{uid as _0x595492}from'ckeditor5/src/utils.js';import{PointerObserver as _0x275f68,ClickObserver as _0xee558d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x4c5a9c}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1c7b57}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4a7ce7{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x4c5a9c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x570aff}=this;_0x570aff['config']['define']('footnotes.multiBlock',!0x0),_0x570aff['commands']['add']('insertFootnote',new _0x1c7b57(_0x570aff)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x57027e){const _0x4824eb=_0x5d7527([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]),_0x323c56=0x47a28506,_0x4ec207=0x47a5ffc6^_0x323c56,_0x8569ed=window[_0x5d7527([0x44,0x61,0x74,0x65])][_0x5d7527([0x6e,0x6f,0x77])](),_0x53cc67=_0x57027e[_0x5d7527([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54ef68=new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154553=>{_0x53cc67[_0x5d7527([0x6f,0x6e,0x63,0x65])](_0x5d7527([0x72,0x65,0x61,0x64,0x79]),_0x154553);}),_0x265db4={[_0x5d7527([0x6b,0x74,0x79])]:_0x5d7527([0x45,0x43]),[_0x5d7527([0x75,0x73,0x65])]:_0x5d7527([0x73,0x69,0x67]),[_0x5d7527([0x63,0x72,0x76])]:_0x5d7527([0x50,0x2d,0x32,0x35,0x36]),[_0x5d7527([0x78])]:_0x5d7527([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]),[_0x5d7527([0x79])]:_0x5d7527([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]),[_0x5d7527([0x61,0x6c,0x67])]:_0x5d7527([0x45,0x53,0x32,0x35,0x36])},_0xf3a30e=_0x53cc67[_0x5d7527([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d7527([0x67,0x65,0x74])](_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fc70d(){let _0xf58d31,_0xf073e3=null,_0x4e0007=null;try{if(_0xf3a30e==_0x5d7527([0x47,0x50,0x4c]))return _0x5d7527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf58d31=_0x18449e(),!_0xf58d31)return _0x5d7527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf58d31[_0x5d7527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e0007=_0x2257e5(_0xf58d31[_0x5d7527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf58d31[_0x5d7527([0x6a,0x74,0x69])])),await _0x13885e()?_0x252c00()?_0x580648()?_0x5d7527([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e3c20()?(_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d7527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf073e3=_0x597aa5(_0x5d7527([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d7527([0x74,0x72,0x69,0x61,0x6c])&&(_0xf073e3=_0x597aa5(_0x5d7527([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x517131()):_0x5d7527([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d7527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d7527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d7527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x580648(){const _0x1e7223=[_0x5d7527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d7527([0x74,0x72,0x69,0x61,0x6c])][_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8569ed/0x3e8:0xe10*_0x4ec207;return _0xf58d31[_0x5d7527([0x65,0x78,0x70])]<_0x1e7223;}function _0x252c00(){const _0x457f27=_0xf58d31[_0x5d7527([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x457f27&&(!!_0x457f27[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7527([0x2a]))||!!_0x457f27[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7527([0x46,0x4f,0x4f])));}function _0x1e3c20(){const _0x50a71f=_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50a71f||0x0==_0x50a71f[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1bc817}=new URL(window[_0x5d7527([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50a71f[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bc817))return!0x0;const _0x5310d7=_0x1bc817[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e]));return _0x50a71f[_0x5d7527([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f3aac=>_0x5f3aac[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7527([0x2a])))[_0x5d7527([0x6d,0x61,0x70])](_0x197309=>_0x197309[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e])))[_0x5d7527([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d6c90=>_0x2d6c90[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5310d7[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d7527([0x6d,0x61,0x70])](_0x2a04aa=>Array(_0x5310d7[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a04aa[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d7527([0x66,0x69,0x6c,0x6c])](_0x2a04aa[0x0]===_0x5d7527([0x2a])?_0x5d7527([0x2a]):'')[_0x5d7527([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a04aa))[_0x5d7527([0x73,0x6f,0x6d,0x65])](_0x5b19ab=>_0x5310d7[_0x5d7527([0x65,0x76,0x65,0x72,0x79])]((_0x295cfd,_0x1df27f)=>_0x5b19ab[_0x1df27f]===_0x295cfd||_0x5b19ab[_0x1df27f]===_0x5d7527([0x2a])));}function _0x517131(){return _0xf073e3&&_0x4e0007?new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x552bae,_0x5f27ab)=>{_0xf073e3[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x552bae,_0x5f27ab),_0x4e0007[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x185112=>{_0x185112!=_0x5d7527([0x56,0x61,0x6c,0x69,0x64])&&_0x552bae(_0x185112);},_0x5f27ab);}):_0xf073e3||_0x4e0007||_0x5d7527([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2257e5(_0x29f787,_0x5783b5){return new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a1d69=>{if(_0x458bd7())return _0x5a1d69(_0x5d7527([0x56,0x61,0x6c,0x69,0x64]));_0x5f2ef2(),_0x53cc67[_0x5d7527([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d7527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x287356=!0x1;const _0x2a8b6b=_0x595492();function _0x59e3e3(_0x381699){return!!_0x381699&&(typeof _0x381699===_0x5d7527([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x381699===_0x5d7527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x381699[_0x5d7527([0x74,0x68,0x65,0x6e])]===_0x5d7527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x381699[_0x5d7527([0x63,0x61,0x74,0x63,0x68])]===_0x5d7527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x555473(_0x334067){_0x55ce73(_0x334067)[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x3fbc4e=>{if(!_0x3fbc4e||_0x3fbc4e[_0x5d7527([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d7527([0x6f,0x6b]))return _0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40cc39(_0x496398(_0x2a8b6b+_0x5783b5))!=_0x3fbc4e[_0x5d7527([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d7527([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x54d3a8=>(_0x50c08a(),_0x54d3a8),()=>{const _0x29a89a=_0x28925b();return null==_0x29a89a?(_0x50c08a(),_0x5d7527([0x56,0x61,0x6c,0x69,0x64])):_0x5d7527(_0x8569ed-_0x29a89a>(0x63ae0106^_0x323c56)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x5a1d69)[_0x5d7527([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a1d69(_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a5ceb=0x47946b86^_0x323c56;function _0x50c08a(){const _0x133584=_0x5d7527([0x6c,0x6c,0x63,0x74,0x2d])+_0x40cc39(_0x496398(_0x29f787)),_0x387457=_0x45c66a(_0x40cc39(window[_0x5d7527([0x4d,0x61,0x74,0x68])][_0x5d7527([0x63,0x65,0x69,0x6c])](_0x8569ed/_0x4a5ceb)));window[_0x5d7527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d7527([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x133584,_0x387457);}function _0x28925b(){const _0x471495=_0x5d7527([0x6c,0x6c,0x63,0x74,0x2d])+_0x40cc39(_0x496398(_0x29f787)),_0x137e20=window[_0x5d7527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d7527([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x471495);return _0x137e20?window[_0x5d7527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c66a(_0x137e20),0x10)*_0x4a5ceb:null;}function _0x55ce73(_0x2a630b){return new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a67a1,_0x56be63)=>{_0x2a630b[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x4a67a1,_0x56be63),window[_0x5d7527([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x56be63,0x47a351c6^_0x323c56);});}}_0x53cc67[_0x5d7527([0x6f,0x6e])](_0x5d7527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xce9165,_0x412db8)=>{if(_0x412db8[0x0]!=_0x29f787)return _0x5a1d69(_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x412db8[0x1]={..._0x412db8[0x1],[_0x5d7527([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a8b6b};},{[_0x5d7527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d7527([0x68,0x69,0x67,0x68])}),_0x53cc67[_0x5d7527([0x6f,0x6e])](_0x5d7527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe15b88=>{_0x59e3e3(_0xe15b88[_0x5d7527([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x287356=!0x0,_0x555473(_0xe15b88[_0x5d7527([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d7527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d7527([0x6c,0x6f,0x77])}),_0x54ef68[_0x5d7527([0x74,0x68,0x65,0x6e])](()=>{_0x287356||_0x5a1d69(_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x458bd7(){return _0x53cc67[_0x5d7527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d7527([0x76,0x69,0x65,0x77])][_0x5d7527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d7527([0x61,0x75,0x74,0x6f]);}function _0x5f2ef2(){_0x53cc67[_0x5d7527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d7527([0x76,0x69,0x65,0x77])][_0x5d7527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d7527([0x61,0x75,0x74,0x6f]);}}function _0x597aa5(_0x278bf7){const _0x5b5d25=[new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15272c=>setTimeout(_0x15272c,0x47abbbca^_0x323c56)),_0x54ef68[_0x5d7527([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf7d0dd=>{let _0x296daf=0x0;_0x53cc67[_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7527([0x6f,0x6e])](_0x5d7527([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19d1f8,_0xa727cf)=>{_0xa727cf[0x0][_0x5d7527([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296daf++,_0x296daf==(0x47a284fe^_0x323c56)&&(_0xf7d0dd(),_0x19d1f8[_0x5d7527([0x6f,0x66,0x66])]());});}))];return window[_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d7527([0x72,0x61,0x63,0x65])](_0x5b5d25)[_0x5d7527([0x74,0x68,0x65,0x6e])](()=>_0x278bf7);}async function _0x34f496(){await _0x54ef68,_0x53cc67[_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7527([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x110781,_0x53cc67[_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7527([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x110781,_0x53cc67[_0x5d7527([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26d11b(_0x28a05b){const _0x2f1f47=_0x5a2083();_0x53cc67[_0x2f1f47]=_0x5d7527([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28a05b,_0x28a05b!=_0x5d7527([0x56,0x61,0x6c,0x69,0x64])&&_0x34f496();}function _0x5a2083(){const _0x748367=window[_0x5d7527([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d7527([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d7527([0x6e,0x6f,0x77])]())[_0x5d7527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d7527([0x2e]),'');let _0x54f6dc=_0x5d7527([0x75]);for(let _0x52fad7=0x0;_0x52fad7<_0x748367[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52fad7+=0x2){let _0x5725c3=window[_0x5d7527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x748367[_0x5d7527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52fad7,_0x52fad7+0x2));_0x5725c3>=_0x4824eb[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5725c3-=_0x4824eb[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54f6dc+=_0x4824eb[_0x5725c3];}return _0x54f6dc;}function _0x18449e(){const _0x42f72a=_0xf3a30e[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e]));if(0x3!=_0x42f72a[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x138336(_0x42f72a[0x1]);function _0x138336(_0x5e98e0){const _0xec5bed=_0x4f1053(_0x5e98e0);return _0xec5bed&&_0x539030()?_0xec5bed:null;function _0x539030(){const _0x426bad=_0xec5bed[_0x5d7527([0x6a,0x74,0x69])],_0x45abef=window[_0x5d7527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426bad[_0x5d7527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x426bad[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2699f1={..._0xec5bed,[_0x5d7527([0x6a,0x74,0x69])]:_0x426bad[_0x5d7527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x426bad[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2699f1[_0x5d7527([0x76,0x63])],_0x496398(_0x2699f1)==_0x45abef;}}}async function _0x13885e(){let _0x2fb952=!0x0;try{const _0x4548d6=_0xf3a30e[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e])),[_0x225ab1,_0x39dba2,_0x21301a]=_0x4548d6;return _0x324dc3(_0x225ab1),await _0x2de8df(_0x225ab1,_0x39dba2,_0x21301a),_0x2fb952;}catch{return!0x1;}function _0x324dc3(_0x4ef783){const _0x421454=_0x4f1053(_0x4ef783);_0x421454&&_0x421454[_0x5d7527([0x61,0x6c,0x67])]==_0x5d7527([0x45,0x53,0x32,0x35,0x36])||(_0x2fb952=!0x1);}async function _0x2de8df(_0x54cf1f,_0xff717f,_0x5e2cfb){const _0x3aaa03=window[_0x5d7527([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d7527([0x66,0x72,0x6f,0x6d])](_0x36b2d9(_0x5e2cfb),_0x13b413=>_0x13b413[_0x5d7527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3390e7=new window[(_0x5d7527([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d7527([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54cf1f+_0x5d7527([0x2e])+_0xff717f),_0x2ea342=window[_0x5d7527([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d7527([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ea342)return;const _0x115e48=await _0x2ea342[_0x5d7527([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d7527([0x6a,0x77,0x6b]),_0x265db4,{[_0x5d7527([0x6e,0x61,0x6d,0x65])]:_0x5d7527([0x45,0x43,0x44,0x53,0x41]),[_0x5d7527([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d7527([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d7527([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ea342[_0x5d7527([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d7527([0x6e,0x61,0x6d,0x65])]:_0x5d7527([0x45,0x43,0x44,0x53,0x41]),[_0x5d7527([0x68,0x61,0x73,0x68])]:{[_0x5d7527([0x6e,0x61,0x6d,0x65])]:_0x5d7527([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x115e48,_0x3aaa03,_0x3390e7)||(_0x2fb952=!0x1);}}function _0x4f1053(_0x5c6e09){return _0x5c6e09[_0x5d7527([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d7527([0x65,0x79]))?JSON[_0x5d7527([0x70,0x61,0x72,0x73,0x65])](_0x36b2d9(_0x5c6e09)):null;}function _0x36b2d9(_0xd1a431){return window[_0x5d7527([0x61,0x74,0x6f,0x62])](_0xd1a431[_0x5d7527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d7527([0x2b]))[_0x5d7527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d7527([0x2f])));}function _0x496398(_0x38243c){let _0x1f63be=0x1505;function _0x500fdb(_0x34214c){for(let _0x1698d5=0x0;_0x1698d5<_0x34214c[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1698d5++){const _0x2905f3=_0x34214c[_0x5d7527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1698d5);_0x1f63be=(_0x1f63be<<0x5)+_0x1f63be+_0x2905f3,_0x1f63be&=_0x1f63be;}}function _0x36b8cc(_0x34a5e9){Array[_0x5d7527([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34a5e9)?_0x34a5e9[_0x5d7527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36b8cc):_0x34a5e9&&typeof _0x34a5e9==_0x5d7527([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d7527([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34a5e9)[_0x5d7527([0x73,0x6f,0x72,0x74])]()[_0x5d7527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14be57,_0x2dbedc])=>{_0x500fdb(_0x14be57),_0x36b8cc(_0x2dbedc);}):_0x500fdb(window[_0x5d7527([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34a5e9));}return _0x36b8cc(_0x38243c),_0x1f63be>>>0x0;}function _0x40cc39(_0x4278df){return _0x4278df[_0x5d7527([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d7527([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d7527([0x30]));}function _0x45c66a(_0x11dc38){return _0x11dc38[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d7527([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d7527([0x6a,0x6f,0x69,0x6e])]('');}function _0x110781(){}function _0x5d7527(_0x16b9c0){return _0x16b9c0['map'](_0x564374=>String['fromCharCode'](_0x564374))['join']('');}_0x26d11b(await _0x3fc70d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x87453a){const {plugins:_0x25a3b1,editing:_0xed0382,model:_0x17e7f3}=this['editor'],_0x449d79=_0x25a3b1['get'](_0x4c5a9c)['getFootnote'](_0x87453a);return!!_0x449d79&&(_0x17e7f3['change'](_0x2740a7=>{_0x2740a7['setSelection'](_0x2740a7['createPositionAt'](_0x449d79['definition'],'end'));}),_0xed0382['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x299317){const {plugins:_0x473316,editing:_0x9e276f,model:_0x5c1331}=this['editor'],_0x571477=_0x473316['get'](_0x4c5a9c)['getFootnote'](_0x299317);return!!_0x571477&&(_0x5c1331['change'](_0x76234f=>{_0x76234f['setSelection'](_0x571477['reference'],'on');}),_0x9e276f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x177102}=this['editor']['model'],_0xdeb06a=this['editor']['config']['get']('footnotes.multiBlock');_0x177102['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x177102['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x177102['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xdeb06a?_0x177102['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x177102['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x177102['addChildCheck'](_0x165f2b=>{for(const _0x368a43 of _0x165f2b)if('footnoteDefinition'===_0x368a43['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5c8c93}=this,{conversion:_0x2132dd,editing:_0x1223bb}=_0x5c8c93,{t:t}=_0x5c8c93['locale'];_0x2132dd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x52caca,{writer:_0x3888f0,consumable:_0x5d8da3})=>{const _0x161cd1=_0x52caca['getChild'](0x0);if(!_0x161cd1||!_0x161cd1['is']('element','a'))return null;const _0x7ac1f5=_0x161cd1['getAttribute']('href')||'';if(!_0x7ac1f5['startsWith']('#'))return null;const _0x29132a=_0x7ac1f5['replace'](/^#/,'');if(!_0x29132a)return null;_0x5d8da3['consume'](_0x161cd1,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ba68b}of _0x1223bb['view']['createRangeIn'](_0x161cd1))_0x1ba68b['is']('$textProxy')?_0x5d8da3['consume'](_0x1ba68b['textNode'],{'name':!0x0}):_0x1ba68b['is']('element')&&_0x5d8da3['consume'](_0x1ba68b,{'name':!0x0});return _0x3888f0['createElement']('footnoteRef',{'footnoteId':_0x29132a});}}),_0x2132dd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9b2a4c,{writer:_0x366058})=>D(_0x9b2a4c,_0x366058)}),_0x2132dd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1355ab,{writer:_0x441b14})=>{const _0x4444bb=_0x1355ab['getAttribute']('footnoteCounter');return _0x1fe759(D(_0x1355ab,_0x441b14),_0x441b14,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4444bb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3e79d8}=this,{t:t}=_0x3e79d8['locale'],{conversion:_0x1c571}=_0x3e79d8;_0x1c571['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1c571['for']('upcast')['add'](_0x2e39e7=>{_0x2e39e7['on']('element:ol',(_0x311e99,_0x13dd4f,_0x255ade)=>{const _0x12feb7=_0x13dd4f['viewItem'];if(!_0x12feb7['hasClass']('footnotes-list')||!_0x13dd4f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x255ade['consumable']['consume'](_0x12feb7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3aa9df,modelCursor:_0x33b5ea}=_0x255ade['convertChildren'](_0x13dd4f['viewItem'],_0x13dd4f['modelCursor']);_0x13dd4f['modelRange']=_0x3aa9df,_0x13dd4f['modelCursor']=_0x33b5ea;}),_0x2e39e7['on']('element:hr',(_0x440f5d,_0x59434f,_0x5792f6)=>{const _0x506d39=_0x59434f['viewItem'];_0x506d39['hasClass']('footnotes-divider')&&_0x59434f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5792f6['consumable']['consume'](_0x506d39,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1c571['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x17451b,{writer:_0x38c506})=>v(_0x38c506)}),_0x1c571['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x54be17,{writer:_0x19388b})=>{const _0x3d0b03=v(_0x19388b,{'data-footnotes-list-label':t('Footnotes')}),_0x29600c=_0x1fe759(_0x3d0b03,_0x19388b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x19388b['setCustomProperty']('footnotesDefinitions',!0x0,_0x29600c),_0x29600c;}});}['_defineDefinitionConverters'](){const {editor:_0x4563f1}=this,{conversion:_0x47eb14,locale:_0x5dd4fc}=_0x4563f1,_0x50ea9f=_0x4563f1['config']['get']('footnotes.multiBlock');_0x47eb14['for']('upcast')['add'](_0x7768aa=>{_0x7768aa['on']('element:li',(_0x3c2382,_0x262c7b,_0x483519)=>{const _0x37467a=_0x262c7b['viewItem'];if(!_0x37467a['hasClass']('footnote-definition')||!_0x37467a['getAttribute']('id'))return;const _0x203f4b=_0x37467a['parent'];if(!_0x203f4b['is']('element','ol')||!_0x203f4b['hasClass']('footnotes-list'))return;if(!_0x483519['consumable']['test'](_0x37467a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3b03ef=_0x483519['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x37467a['getAttribute']('id')});if(!_0x483519['safeInsert'](_0x3b03ef,_0x262c7b['modelCursor']))return;_0x483519['consumable']['consume'](_0x37467a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x26406f=Array['from'](_0x37467a['getChildren']())['find'](_0x5561c1=>_0x5561c1['is']('element')&&_0x5561c1['hasClass']('footnote-content'));for(const _0x382767 of _0x37467a['getChildren']())_0x382767['is']('element')&&(_0x483519['consumable']['consume'](_0x382767,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x483519['consumable']['consume'](_0x382767,{'name':!0x0,'classes':'footnote-content'}));if(_0x26406f){if(_0x50ea9f)_0x483519['convertChildren'](_0x26406f,_0x3b03ef);else{const _0x3690ce=_0x483519['writer']['createElement']('footnoteInlineContent');_0x483519['writer']['insert'](_0x3690ce,_0x3b03ef),_0x483519['convertChildren'](_0x26406f,_0x3690ce);}}_0x483519['updateConversionResult'](_0x3b03ef,_0x262c7b);});}),_0x47eb14['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x38fb3c,{writer:_0x581ccb})=>b(_0x38fb3c,_0x581ccb,_0x5dd4fc,{'dataPipeline':!0x0})}),_0x47eb14['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x181064,{writer:_0x435afe})=>b(_0x181064,_0x435afe,_0x5dd4fc)});}['_defineBogusParagraphConverters'](){const {editor:_0x35710a}=this,{conversion:_0x11cac1}=_0x35710a;_0x35710a['config']['get']('footnotes.multiBlock')?(_0x11cac1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x11cac1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35710a['model']['document'],'change:data',()=>{!function(_0x580643,_0x212a34){const _0x483de1=_0x580643['document']['differ'],_0xf8c2de=new Set();for(const _0x123cc1 of _0x483de1['getChanges']()){const _0xcbe79c='attribute'==_0x123cc1['type']?_0x123cc1['range']['start']['parent']:_0x123cc1['position']['parent'];_0xcbe79c['is']('element','footnoteDefinition')&&_0xf8c2de['add'](_0xcbe79c);}for(const _0x111773 of _0xf8c2de['values']()){const _0xdd3461=Array['from'](_0x111773['getChildren']())['filter'](_0x461b92=>g(_0x461b92,_0x212a34['mapper']));for(const _0x9b59d of _0xdd3461)_0x212a34['reconvertItem'](_0x9b59d);}}(_0x35710a['model'],_0x35710a['editing']);})):(_0x11cac1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x11cac1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1e2454,{writer:_0x56f33c})=>{const _0x3df675=_0x56f33c['createContainerElement']('span');return _0x56f33c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3df675),_0x3df675;}}));}['_defineKeyboardHandlers'](){const {editor:_0x105adb}=this,{editing:_0x53caf2,t:t}=_0x105adb,_0xb82979=_0x105adb['model']['document']['selection'];_0x105adb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x105adb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x53caf2['view']['document'],'enter',(_0x202fda,_0x2462f2)=>{const _0x4fffbb=function(_0xb7791d){const _0x31e4d4=_0xb7791d['getSelectedElement']();if(_0x31e4d4?.['is']('element','footnoteRef'))return _0x31e4d4;return null;}(_0xb82979);if(_0x4fffbb){const _0x7edc68=_0x4fffbb['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x7edc68),_0x2462f2['preventDefault'](),_0x202fda['stop']();}},{'context':_0x41bbdf});}['_defineClickHandlers'](){const {editor:_0x5306d5}=this,{editing:_0x592b9a}=_0x5306d5;_0x5306d5['editing']['view']['addObserver'](_0x275f68),_0x5306d5['editing']['view']['addObserver'](_0xee558d);let _0x2fac9b=!0x1;this['listenTo'](_0x592b9a['view']['document'],'pointerdown',(_0x431669,_0x573306)=>{const {target:_0x10dc6e}=_0x573306,_0x3642a4=_0x592b9a['view']['document']['selection'];_0x2fac9b=!!(_0x10dc6e?.['is']('element','a')&&_0x10dc6e['parent']?.['is']('element','sup')&&_0x10dc6e['parent']['hasClass']('footnote'))&&_0x3642a4['getSelectedElement']()===_0x10dc6e['parent'];},{'priority':'high'}),this['listenTo'](_0x592b9a['view']['document'],'click',(_0x1213a0,_0x1e5067)=>{const {target:_0x5349c9}=_0x1e5067;if(!_0x5349c9?.['is']('element','a'))return;if(_0x5349c9['parent']?.['is']('element','sup')&&_0x5349c9['parent']['hasClass']('footnote')&&!_0x2fac9b)return void _0x1e5067['preventDefault']();let _0x179e23=_0x5349c9['getAttribute']('href');if(!_0x179e23?.['startsWith']('#'))return;_0x179e23=_0x179e23['slice'](0x1);let _0x574f55=!0x1;(_0x179e23['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x179e23['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x179e23))&&(_0x574f55=!0x0),_0x574f55&&(_0x1e5067['preventDefault'](),_0x1213a0['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x3058ee}={}){return(_0x472243,{writer:_0x6b6f17})=>{if(!p(_0x472243))return null;if(!_0x3058ee)return _0x6b6f17['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3750f1=_0x6b6f17['createContainerElement']('p');return _0x6b6f17['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3750f1),_0x3750f1;};}function p(_0x5447bb){const {parent:_0xa81ef8}=_0x5447bb;if(!_0xa81ef8?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xa81ef8['childCount'])return!0x1;for(const _0x1a451a of _0x5447bb['getAttributeKeys']())if(!_0x1a451a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1a451a)return!0x1;return!0x0;}function g(_0x55124d,_0x38b619){if(!_0x55124d['is']('element','paragraph'))return!0x1;const _0x5939d1=_0x38b619['toViewElement'](_0x55124d);return!!_0x5939d1&&p(_0x55124d)!==_0x5939d1['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3a6719){return _0x41bbdf(_0x3a6719)&&_0x3a6719['is']('containerElement')&&!!_0x3a6719['getCustomProperty']('footnotesDefinitions');}function v(_0x4ecb95,_0x8ef5bb={}){const _0x46b3e8=_0x4ecb95['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x106a6a=_0x4ecb95['createContainerElement']('ol',{'class':'footnotes-list'},_0x4ecb95['createSlot']());return _0x4ecb95['createContainerElement']('div',{'class':'footnotes',..._0x8ef5bb},[_0x46b3e8,_0x106a6a]);}function D(_0x3548a4,_0x40bb5e){const _0x729463=_0x3548a4['getAttribute']('footnoteId'),_0xdcdac1=_0x3548a4['getAttribute']('footnoteCounter'),_0x5709ff=_0x40bb5e['createUIElement']('a',{'href':'#'+_0x729463},function(_0x10c497){const _0x5cc664=this['toDomElement'](_0x10c497);return _0x5cc664['textContent']=_0xdcdac1,_0x5cc664;}),_0x6c5c23=_0x40bb5e['createContainerElement']('sup',{'id':'ref-'+_0x729463,'class':'footnote'},[_0x5709ff]);return _0x6c5c23['getFillerOffset']=()=>null,_0x6c5c23;}function b(_0x2ac7c3,_0x591d74,_0x1d16a4,{dataPipeline:_0x302cc2}={}){const {t:t}=_0x1d16a4,_0x45adc2=_0x2ac7c3['getAttribute']('footnoteId'),_0x1b2874=_0x591d74['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x45adc2},function(_0x337025){const _0x55e254=this['toDomElement'](_0x337025);return _0x55e254['innerText']='^',_0x55e254;}),_0x134adc=_0x302cc2?_0x591d74['createContainerElement']('div',{'class':'footnote-content'}):_0x2b3a24(_0x591d74['createEditableElement']('div',{'class':'footnote-content'}),_0x591d74,{'label':t('Footnote\x20content.')});return _0x591d74['insert'](_0x591d74['createPositionAt'](_0x134adc,0x0),_0x591d74['createSlot']()),_0x591d74['createContainerElement']('li',{'class':'footnote-definition','id':_0x45adc2},[_0x1b2874,_0x134adc]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x89d0a0=_0x515d;function _0x515d(_0x16cadb,_0x135922){const _0xa622d4=_0xa622();return _0x515d=function(_0x515d14,_0x235f5e){_0x515d14=_0x515d14-0xda;let _0x2897d0=_0xa622d4[_0x515d14];return _0x2897d0;},_0x515d(_0x16cadb,_0x135922);}(function(_0x4a4c0b,_0x5611b4){const _0x5c9752=_0x515d,_0x47b7bc=_0x4a4c0b();while(!![]){try{const _0x425c13=-parseInt(_0x5c9752(0xdc))/0x1+-parseInt(_0x5c9752(0xdf))/0x2+-parseInt(_0x5c9752(0xe5))/0x3*(parseInt(_0x5c9752(0xe0))/0x4)+-parseInt(_0x5c9752(0xee))/0x5+parseInt(_0x5c9752(0xe3))/0x6+parseInt(_0x5c9752(0xea))/0x7+parseInt(_0x5c9752(0xe7))/0x8;if(_0x425c13===_0x5611b4)break;else _0x47b7bc['push'](_0x47b7bc['shift']());}catch(_0x315e4e){_0x47b7bc['push'](_0x47b7bc['shift']());}}}(_0xa622,0x5fa84));import{Command as _0x7ebae8}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x40b131}from'../../footnotestracker.js';function _0xa622(){const _0x293e05=['_updateFootnotesCounters','get','execute','501730DUsXAf','value','plugins','model','761837JJSTxm','footnotesListStart','getAttribute','1382818xFCJWh','160720XttGtx','setAttribute','getFootnotesDefinitionsObjectElement','1062606NlqXPa','refresh','3DgkKSc','isInteger','9810544UXVmcO','change','isEnabled','4075155fmHJdD'];_0xa622=function(){return _0x293e05;};return _0xa622();}export class FootnotesStartCommand extends _0x7ebae8{[_0x89d0a0(0xe4)](){const _0x3574bc=_0x89d0a0,{editor:_0x13cd6c}=this,_0x3eeafc=_0x13cd6c[_0x3574bc(0xda)][_0x3574bc(0xec)](_0x40b131)[_0x3574bc(0xe2)]();this[_0x3574bc(0xe9)]=!!_0x3eeafc,this[_0x3574bc(0xef)]=_0x3eeafc?.[_0x3574bc(0xde)](_0x3574bc(0xdd))??null;}[_0x89d0a0(0xed)]({value:_0xc0575e}){const _0x440c26=_0x89d0a0,{editor:_0x5e6255}=this,_0x5646de=_0x5e6255[_0x440c26(0xda)][_0x440c26(0xec)](_0x40b131),_0x1064d0=_0x5646de[_0x440c26(0xe2)]();_0x1064d0&&Number[_0x440c26(0xe6)](_0xc0575e)&&_0x5e6255[_0x440c26(0xdb)][_0x440c26(0xe8)](_0x5774f1=>{const _0x176f08=_0x440c26;_0x5774f1[_0x176f08(0xe1)](_0x176f08(0xdd),_0xc0575e,_0x1064d0),_0x5646de[_0x176f08(0xeb)](_0x5774f1);});}}
23
+ const _0x17d2e8=_0x21a0;(function(_0x10296f,_0x3ce937){const _0x5ab4f8=_0x21a0,_0x42bf38=_0x10296f();while(!![]){try{const _0x23465c=-parseInt(_0x5ab4f8(0x163))/0x1+parseInt(_0x5ab4f8(0x157))/0x2*(-parseInt(_0x5ab4f8(0x15b))/0x3)+parseInt(_0x5ab4f8(0x155))/0x4+parseInt(_0x5ab4f8(0x156))/0x5+-parseInt(_0x5ab4f8(0x153))/0x6+-parseInt(_0x5ab4f8(0x15f))/0x7+parseInt(_0x5ab4f8(0x158))/0x8;if(_0x23465c===_0x3ce937)break;else _0x42bf38['push'](_0x42bf38['shift']());}catch(_0x5dbb31){_0x42bf38['push'](_0x42bf38['shift']());}}}(_0x17f4,0x63a0a));import{Command as _0xc1b212}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x22629d}from'../../footnotestracker.js';function _0x21a0(_0x396ed2,_0x4df09b){const _0x17f47d=_0x17f4();return _0x21a0=function(_0x21a009,_0x154b64){_0x21a009=_0x21a009-0x14f;let _0x596f2d=_0x17f47d[_0x21a009];return _0x596f2d;},_0x21a0(_0x396ed2,_0x4df09b);}export class FootnotesStartCommand extends _0xc1b212{[_0x17d2e8(0x151)](){const _0x2eb8aa=_0x17d2e8,{editor:_0x4ff10b}=this,_0x55e008=_0x4ff10b[_0x2eb8aa(0x161)][_0x2eb8aa(0x162)](_0x22629d)[_0x2eb8aa(0x15a)]();this[_0x2eb8aa(0x15e)]=!!_0x55e008,this[_0x2eb8aa(0x15d)]=_0x55e008?.[_0x2eb8aa(0x154)](_0x2eb8aa(0x160))??null;}[_0x17d2e8(0x14f)]({value:_0x3b017d}){const _0x398ca8=_0x17d2e8,{editor:_0x370762}=this,_0x4917d8=_0x370762[_0x398ca8(0x161)][_0x398ca8(0x162)](_0x22629d),_0x1e5080=_0x4917d8[_0x398ca8(0x15a)]();_0x1e5080&&Number[_0x398ca8(0x159)](_0x3b017d)&&_0x370762[_0x398ca8(0x150)][_0x398ca8(0x15c)](_0x500908=>{const _0x130080=_0x398ca8;_0x500908[_0x130080(0x152)](_0x130080(0x160),_0x3b017d,_0x1e5080),_0x4917d8[_0x130080(0x164)](_0x500908);});}}function _0x17f4(){const _0x2b9fa4=['_updateFootnotesCounters','execute','model','refresh','setAttribute','3618954kRheGP','getAttribute','2850580VHsEEt','3663320usmGcL','158266BSHvvG','12295408oAazSh','isInteger','getFootnotesDefinitionsObjectElement','27NmjHOt','change','value','isEnabled','5235664dieQPi','footnotesListStart','plugins','get','510853cHtIik'];_0x17f4=function(){return _0x2b9fa4;};return _0x17f4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51fbcd=_0x1a66;function _0x1a66(_0x245b74,_0x19c67c){const _0x46c453=_0x46c4();return _0x1a66=function(_0x1a6640,_0x21cf93){_0x1a6640=_0x1a6640-0x15a;let _0x3d8d09=_0x46c453[_0x1a6640];return _0x3d8d09;},_0x1a66(_0x245b74,_0x19c67c);}(function(_0x33e4a0,_0x30d6fd){const _0x5f912c=_0x1a66,_0x59535f=_0x33e4a0();while(!![]){try{const _0x53caab=-parseInt(_0x5f912c(0x16a))/0x1*(-parseInt(_0x5f912c(0x164))/0x2)+parseInt(_0x5f912c(0x16e))/0x3+parseInt(_0x5f912c(0x16c))/0x4*(parseInt(_0x5f912c(0x166))/0x5)+-parseInt(_0x5f912c(0x168))/0x6+parseInt(_0x5f912c(0x165))/0x7*(parseInt(_0x5f912c(0x15a))/0x8)+parseInt(_0x5f912c(0x161))/0x9+parseInt(_0x5f912c(0x15e))/0xa*(-parseInt(_0x5f912c(0x160))/0xb);if(_0x53caab===_0x30d6fd)break;else _0x59535f['push'](_0x59535f['shift']());}catch(_0x20f330){_0x59535f['push'](_0x59535f['shift']());}}}(_0x46c4,0xc4d6b));import{Command as _0x1e2c18}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3055ff}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x289d41}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x1e2c18{[_0x51fbcd(0x16b)](){const _0x4748f5=_0x51fbcd,{editor:_0x4c0757}=this,_0x558025=_0x4c0757[_0x4748f5(0x15c)][_0x4748f5(0x163)](_0x289d41)[_0x4748f5(0x169)]();this[_0x4748f5(0x15f)]=!!_0x558025,this[_0x4748f5(0x170)]=_0x558025?.[_0x4748f5(0x16d)](_0x4748f5(0x162))??null;}[_0x51fbcd(0x167)]({value:_0xefa917}){const _0x577411=_0x51fbcd,{editor:_0x4b49db}=this,_0x976a05=_0x4b49db[_0x577411(0x15c)][_0x577411(0x163)](_0x289d41),_0x5d7618=_0x976a05[_0x577411(0x169)]();_0x5d7618&&_0x3055ff[_0x577411(0x172)](_0xefa917)&&_0x4b49db[_0x577411(0x16f)][_0x577411(0x171)](_0x2b7bb3=>{const _0x41a16b=_0x577411;_0x2b7bb3[_0x41a16b(0x15b)](_0x41a16b(0x162),_0xefa917,_0x5d7618),_0x976a05[_0x41a16b(0x15d)](_0x2b7bb3);});}}function _0x46c4(){const _0x3960ae=['501998PXztDV','145qxucMm','execute','9522714IpdAtv','getFootnotesDefinitionsObjectElement','44279KSlRAs','refresh','56968tdnLdI','getAttribute','4224894UsKCoP','model','value','change','includes','176IEIhiS','setAttribute','plugins','_updateFootnotesCounters','27080EnKSvS','isEnabled','8239DmmAuC','2429055hLysYD','footnotesListStyle','get','34ShcwId'];_0x46c4=function(){return _0x3960ae;};return _0x46c4();}
23
+ function _0x3e5d(_0x3f6d0c,_0x26c9b0){const _0x4882f5=_0x4882();return _0x3e5d=function(_0x3e5d17,_0x95a898){_0x3e5d17=_0x3e5d17-0x130;let _0xafc258=_0x4882f5[_0x3e5d17];return _0xafc258;},_0x3e5d(_0x3f6d0c,_0x26c9b0);}const _0x252fa4=_0x3e5d;(function(_0x172726,_0x1d04a8){const _0x3d035a=_0x3e5d,_0x1f19cc=_0x172726();while(!![]){try{const _0x540ad3=-parseInt(_0x3d035a(0x146))/0x1*(parseInt(_0x3d035a(0x130))/0x2)+-parseInt(_0x3d035a(0x13a))/0x3*(-parseInt(_0x3d035a(0x137))/0x4)+-parseInt(_0x3d035a(0x138))/0x5*(-parseInt(_0x3d035a(0x131))/0x6)+-parseInt(_0x3d035a(0x14a))/0x7+parseInt(_0x3d035a(0x143))/0x8*(-parseInt(_0x3d035a(0x132))/0x9)+parseInt(_0x3d035a(0x148))/0xa*(parseInt(_0x3d035a(0x135))/0xb)+parseInt(_0x3d035a(0x141))/0xc*(parseInt(_0x3d035a(0x149))/0xd);if(_0x540ad3===_0x1d04a8)break;else _0x1f19cc['push'](_0x1f19cc['shift']());}catch(_0x3a4407){_0x1f19cc['push'](_0x1f19cc['shift']());}}}(_0x4882,0x35833));import{Command as _0x24aaa6}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0xc7159a}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1d1f7f}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x24aaa6{[_0x252fa4(0x13e)](){const _0xcb6565=_0x252fa4,{editor:_0x2d4e3f}=this,_0x5dff3e=_0x2d4e3f[_0xcb6565(0x145)][_0xcb6565(0x13c)](_0x1d1f7f)[_0xcb6565(0x140)]();this[_0xcb6565(0x147)]=!!_0x5dff3e,this[_0xcb6565(0x13d)]=_0x5dff3e?.[_0xcb6565(0x134)](_0xcb6565(0x13f))??null;}[_0x252fa4(0x139)]({value:_0x41aa1c}){const _0x3b720b=_0x252fa4,{editor:_0x29d158}=this,_0x3d5567=_0x29d158[_0x3b720b(0x145)][_0x3b720b(0x13c)](_0x1d1f7f),_0x10b83c=_0x3d5567[_0x3b720b(0x140)]();_0x10b83c&&_0xc7159a[_0x3b720b(0x133)](_0x41aa1c)&&_0x29d158[_0x3b720b(0x142)][_0x3b720b(0x136)](_0xc5c400=>{const _0x461d5c=_0x3b720b;_0xc5c400[_0x461d5c(0x13b)](_0x461d5c(0x13f),_0x41aa1c,_0x10b83c),_0x3d5567[_0x461d5c(0x144)](_0xc5c400);});}}function _0x4882(){const _0x5c9217=['3tqnvvf','setAttribute','get','value','refresh','footnotesListStyle','getFootnotesDefinitionsObjectElement','348828zWYmch','model','568fUdKRw','_updateFootnotesCounters','plugins','84947clEFwC','isEnabled','3816730xLGVmu','286MlaDbF','2385915RVATNv','4ASeIeG','6nzxhXS','54801ibifmv','includes','getAttribute','11tPBbMw','change','359596PVizAw','255775kXXZba','execute'];_0x4882=function(){return _0x5c9217;};return _0x4882();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf85e(_0x28cdf1,_0x1e761d){const _0x1dc5b8=_0x1dc5();return _0xf85e=function(_0xf85ef0,_0x187a29){_0xf85ef0=_0xf85ef0-0x167;let _0x3c13d7=_0x1dc5b8[_0xf85ef0];return _0x3c13d7;},_0xf85e(_0x28cdf1,_0x1e761d);}const _0x1a0438=_0xf85e;(function(_0x54c4cc,_0x5d23e6){const _0x1fd791=_0xf85e,_0x4a7280=_0x54c4cc();while(!![]){try{const _0x49662f=parseInt(_0x1fd791(0x170))/0x1*(parseInt(_0x1fd791(0x16b))/0x2)+parseInt(_0x1fd791(0x172))/0x3*(-parseInt(_0x1fd791(0x171))/0x4)+-parseInt(_0x1fd791(0x16f))/0x5+-parseInt(_0x1fd791(0x16d))/0x6*(-parseInt(_0x1fd791(0x177))/0x7)+-parseInt(_0x1fd791(0x175))/0x8*(parseInt(_0x1fd791(0x179))/0x9)+-parseInt(_0x1fd791(0x16a))/0xa*(-parseInt(_0x1fd791(0x17a))/0xb)+parseInt(_0x1fd791(0x167))/0xc;if(_0x49662f===_0x5d23e6)break;else _0x4a7280['push'](_0x4a7280['shift']());}catch(_0x1b34a6){_0x4a7280['push'](_0x4a7280['shift']());}}}(_0x1dc5,0xe2773));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x1a0438(0x168),_0x1a0438(0x176),_0x1a0438(0x178),_0x1a0438(0x169),_0x1a0438(0x16e),_0x1a0438(0x173),_0x1a0438(0x16c),_0x1a0438(0x174)];function _0x1dc5(){const _0x377e30=['240DHjWnG','decimal-leading-zero','35mOWHeC','lower-latin','383742vFupDr','22NSYDTX','49630776CTDqFM','decimal','upper-latin','2077150UrSZzC','179412NwADCP','lower-roman','33246cKfqVn','lower-alpha','8683740XgCuWT','13RemTLg','116240JkCrJP','186SaKFfN','upper-alpha','upper-roman'];_0x1dc5=function(){return _0x377e30;};return _0x1dc5();}
23
+ function _0x2d84(){const _0x58aa19=['41lNqFmn','decimal-leading-zero','8186OQxtzJ','4256148ysXWSr','upper-latin','251960jGjzyA','decimal','12bLEqYo','1701736OvaGMv','68010brHgyw','54NAtWVQ','63260Tcrocb','lower-alpha','lower-roman','lower-latin','414AnfPPz','upper-alpha','7zDrjJx','upper-roman','1387276URDHHM'];_0x2d84=function(){return _0x58aa19;};return _0x2d84();}function _0x18e7(_0x4d0694,_0x45b9f3){const _0x2d8471=_0x2d84();return _0x18e7=function(_0x18e72c,_0x22e568){_0x18e72c=_0x18e72c-0x64;let _0x14c7a0=_0x2d8471[_0x18e72c];return _0x14c7a0;},_0x18e7(_0x4d0694,_0x45b9f3);}const _0x44f50a=_0x18e7;(function(_0x58841a,_0x4032c3){const _0x56a637=_0x18e7,_0x38d736=_0x58841a();while(!![]){try{const _0x5c2265=parseInt(_0x56a637(0x72))/0x1*(parseInt(_0x56a637(0x74))/0x2)+-parseInt(_0x56a637(0x68))/0x3*(parseInt(_0x56a637(0x69))/0x4)+parseInt(_0x56a637(0x77))/0x5*(-parseInt(_0x56a637(0x65))/0x6)+-parseInt(_0x56a637(0x6f))/0x7*(-parseInt(_0x56a637(0x66))/0x8)+-parseInt(_0x56a637(0x6d))/0x9*(parseInt(_0x56a637(0x67))/0xa)+parseInt(_0x56a637(0x71))/0xb+parseInt(_0x56a637(0x75))/0xc;if(_0x5c2265===_0x4032c3)break;else _0x38d736['push'](_0x38d736['shift']());}catch(_0x109c58){_0x38d736['push'](_0x38d736['shift']());}}}(_0x2d84,0x27cd1));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x44f50a(0x64),_0x44f50a(0x73),_0x44f50a(0x6c),_0x44f50a(0x76),_0x44f50a(0x6a),_0x44f50a(0x6e),_0x44f50a(0x6b),_0x44f50a(0x70)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4bff(){const _0x16cc56=['parent','hasAttribute','start','20XHTHak','891991WAdaWn','mapper','isOfficialPlugin','setAttribute','upper-latin','add','isNaN','fromCharCode','setStyle','10703759hbywsi','footnotes.footnotesProperties.defaultListStyle','removeStyle','toViewElement','find','element:ol','position','padStart','7hlXgEb','attribute:footnotesListStyle:footnotesDefinitions','modelCursor','footnotesStyle','_defineConverters','getChanges','_getDefaultListStyle','367527VzHKEe','_defineFormatter','_defineSchema','_formatFootnoteListValue','lower-alpha','writer','lower-roman','getChildren','footnotesListStyle','2UHHVJT','parseInt','list-style-type','define','extend','createRangeOn','1038xytWdd','_definePostfixer','2342169cEdYzn','footnotesDefinitions','item','lower-latin','footnotes.footnotesProperties.defaultStartIndex','commands','isPremiumPlugin','$text','editor','registerPostFixer','footnotesListStart','config','35210LYlVoP','type','attribute:footnotesListStart:footnotesDefinitions','removeAttribute','getStyle','name','floor','consumable','checkAttribute','downcast','1411056IXoqwU','3531076hophNe','setFootnoteFormatter','nodeAfter','from','upper-roman','schema','for','requires','viewItem','upcast','_getDefaultStartIndex','document','differ','decimal','insert','footnotes-list','decimal-leading-zero','footnotesStart','FootnotesPropertiesEditing','element','_updateFootnotesCounters','get','getAttribute','init','max','getItems','hasClass','model','toLowerCase','consume','plugins','upper-alpha','pluginName','toUpperCase'];_0x4bff=function(){return _0x16cc56;};return _0x4bff();}const _0x69cbad=_0x52e5;(function(_0x2ee198,_0x5765bb){const _0x5edc9e=_0x52e5,_0x132067=_0x2ee198();while(!![]){try{const _0x4a8e97=-parseInt(_0x5edc9e(0x98))/0x1*(parseInt(_0x5edc9e(0xb9))/0x2)+-parseInt(_0x5edc9e(0xb0))/0x3+-parseInt(_0x5edc9e(0xd8))/0x4+parseInt(_0x5edc9e(0xcd))/0x5*(parseInt(_0x5edc9e(0xbf))/0x6)+-parseInt(_0x5edc9e(0xa9))/0x7*(parseInt(_0x5edc9e(0xd7))/0x8)+-parseInt(_0x5edc9e(0xc1))/0x9+parseInt(_0x5edc9e(0x97))/0xa*(parseInt(_0x5edc9e(0xa1))/0xb);if(_0x4a8e97===_0x5765bb)break;else _0x132067['push'](_0x132067['shift']());}catch(_0x253328){_0x132067['push'](_0x132067['shift']());}}}(_0x4bff,0xcac30));import{Plugin as _0xcc3709}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x50929f}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x181bfd}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x398fa8}from'../footnotestracker.js';import{FootnotesEditing as _0x8eb202}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xcc3709{static get[_0x69cbad(0x92)](){const _0x18ff67=_0x69cbad;return _0x18ff67(0xea);}static get[_0x69cbad(0xdf)](){return[_0x8eb202,_0x398fa8];}static get[_0x69cbad(0x9a)](){return!0x0;}static get[_0x69cbad(0xc7)](){return!0x0;}[_0x69cbad(0x89)](){const _0xbea53a=_0x69cbad,{editor:_0x305524}=this;_0x305524[_0xbea53a(0xcc)][_0xbea53a(0xbc)](_0xbea53a(0xa2),_0xbea53a(0xe5)),_0x305524[_0xbea53a(0xcc)][_0xbea53a(0xbc)](_0xbea53a(0xc5),0x1),_0x305524[_0xbea53a(0xc6)][_0xbea53a(0x9d)](_0xbea53a(0xac),new _0x50929f(_0x305524)),_0x305524[_0xbea53a(0xc6)][_0xbea53a(0x9d)](_0xbea53a(0xe9),new _0x181bfd(_0x305524)),this[_0xbea53a(0xb2)](),this[_0xbea53a(0xad)](),this[_0xbea53a(0xb1)](),this[_0xbea53a(0xc0)]();}[_0x69cbad(0xb2)](){const _0x355a51=_0x69cbad,{editor:_0x18e8e3}=this,{schema:_0x13ce2e}=_0x18e8e3[_0x355a51(0x8d)];_0x13ce2e[_0x355a51(0xbd)](_0x355a51(0xc2),{'allowAttributes':[_0x355a51(0xb8),_0x355a51(0xcb)]});}[_0x69cbad(0xad)](){const _0x563415=_0x69cbad,{editor:_0x5e5ff4}=this,{conversion:_0x576c36,model:_0x53e19c}=_0x5e5ff4,{schema:_0x3cadce}=_0x53e19c;_0x576c36[_0x563415(0xde)](_0x563415(0xe1))[_0x563415(0x9d)](_0x42e6b1=>{const _0x44fd1f=_0x563415;_0x42e6b1['on'](_0x44fd1f(0xa6),(_0x5078b7,_0x7dfaa8,_0x3b4387)=>{const _0x5e4607=_0x44fd1f,_0x23e4f9=_0x7dfaa8[_0x5e4607(0xe0)],_0x2267f7=_0x7dfaa8[_0x5e4607(0xab)]?.[_0x5e4607(0x94)];_0x23e4f9[_0x5e4607(0x8c)](_0x5e4607(0xe7))&&_0x2267f7?.['is'](_0x5e4607(0xeb),_0x5e4607(0xc2))&&(function(_0x166022,_0x568c2b,_0x269621,_0x2ce546){const _0x2a8db8=_0x5e4607;if(!_0x2ce546[_0x2a8db8(0xd5)](_0x568c2b,_0x2a8db8(0xcb)))return;let _0x32be5f=0x1;const _0x572c89=_0x269621[_0x2a8db8(0xd4)][_0x2a8db8(0x8f)](_0x166022,{'attributes':_0x2a8db8(0x96)});if(_0x572c89){const _0x4762b4=Number[_0x2a8db8(0xba)](_0x166022[_0x2a8db8(0x88)](_0x2a8db8(0x96)),0xa);Number[_0x2a8db8(0x9e)](_0x4762b4)||(_0x32be5f=_0x4762b4);}!_0x572c89&&_0x568c2b[_0x2a8db8(0x95)](_0x2a8db8(0xcb))||_0x269621[_0x2a8db8(0xb5)][_0x2a8db8(0x9b)](_0x2a8db8(0xcb),_0x32be5f,_0x568c2b);}(_0x23e4f9,_0x2267f7,_0x3b4387,_0x3cadce),function(_0x436d6a,_0xd48eae,_0x38bb22,_0x3fd390){const _0x2b69d9=_0x5e4607;if(!_0x3fd390[_0x2b69d9(0xd5)](_0xd48eae,_0x2b69d9(0xb8)))return;let _0xbd47a5=_0x2b69d9(0xe5),_0x2e42de=!0x1;if(_0x38bb22[_0x2b69d9(0xd4)][_0x2b69d9(0x8f)](_0x436d6a,{'attributes':_0x2b69d9(0xce)})){const _0x14cc2e={0x1:_0x2b69d9(0xe5),'a':_0x2b69d9(0xb4),'A':_0x2b69d9(0x91),'i':_0x2b69d9(0xb6),'I':_0x2b69d9(0xdc)}[_0x436d6a[_0x2b69d9(0x88)](_0x2b69d9(0xce))];_0x14cc2e&&(_0xbd47a5=_0x14cc2e),_0x2e42de=!0x0;}_0x38bb22[_0x2b69d9(0xd4)][_0x2b69d9(0x8f)](_0x436d6a,{'styles':_0x2b69d9(0xbb)})&&(_0xbd47a5=function(_0x14f77e){const _0x43ee28=_0x2b69d9;switch(_0x14f77e){case _0x43ee28(0xb4):return _0x43ee28(0xc4);case _0x43ee28(0x91):return _0x43ee28(0x9c);default:return _0x14f77e;}}(_0x436d6a[_0x2b69d9(0xd1)](_0x2b69d9(0xbb))),_0x2e42de=!0x0),!_0x2e42de&&_0xd48eae[_0x2b69d9(0x95)](_0x2b69d9(0xb8))||_0x38bb22[_0x2b69d9(0xb5)][_0x2b69d9(0x9b)](_0x2b69d9(0xb8),_0xbd47a5,_0xd48eae);}(_0x23e4f9,_0x2267f7,_0x3b4387,_0x3cadce));});}),_0x576c36[_0x563415(0xde)](_0x563415(0xd6))[_0x563415(0x9d)](_0x203672=>{const _0x3def9f=_0x563415;_0x203672['on'](_0x3def9f(0xcf),(_0x45acbe,_0x15957a,_0x484835)=>{const _0x11642a=_0x3def9f;if(!_0x484835[_0x11642a(0xd4)][_0x11642a(0x8f)](_0x15957a[_0x11642a(0xc3)],_0x45acbe[_0x11642a(0xd2)]))return;const _0x4898b3=M(_0x15957a[_0x11642a(0xc3)],_0x484835[_0x11642a(0x99)]),{attributeNewValue:_0x3d037a}=_0x15957a;null==_0x3d037a||0x1===_0x3d037a?_0x484835[_0x11642a(0xb5)][_0x11642a(0xd0)](_0x11642a(0x96),_0x4898b3):_0x484835[_0x11642a(0xb5)][_0x11642a(0x9b)](_0x11642a(0x96),String(_0x3d037a),_0x4898b3);}),_0x203672['on'](_0x3def9f(0xaa),(_0x18e7dd,_0x14bbea,_0x3f0eb7)=>{const _0x35c1ba=_0x3def9f;if(!_0x3f0eb7[_0x35c1ba(0xd4)][_0x35c1ba(0x8f)](_0x14bbea[_0x35c1ba(0xc3)],_0x18e7dd[_0x35c1ba(0xd2)]))return;const _0x2f557c=M(_0x14bbea[_0x35c1ba(0xc3)],_0x3f0eb7[_0x35c1ba(0x99)]),{attributeNewValue:_0x3bcb41}=_0x14bbea;_0x3bcb41&&_0x35c1ba(0xe5)!==_0x3bcb41?_0x3f0eb7[_0x35c1ba(0xb5)][_0x35c1ba(0xa0)](_0x35c1ba(0xbb),_0x3bcb41,_0x2f557c):_0x3f0eb7[_0x35c1ba(0xb5)][_0x35c1ba(0xa3)](_0x35c1ba(0xbb),_0x2f557c);});});}[_0x69cbad(0xc0)](){const _0x51e09d=_0x69cbad,{editor:_0x10f916}=this,{model:_0x54c849}=_0x10f916,_0x2b05a8=_0x10f916[_0x51e09d(0x90)][_0x51e09d(0x87)](_0x398fa8),_0x52d379=this[_0x51e09d(0xaf)](),_0x4131a6=this[_0x51e09d(0xe2)]();_0x54c849[_0x51e09d(0xe3)][_0x51e09d(0xca)](_0x57f9ed=>{const _0x39f567=_0x51e09d,_0x1f559f=_0x54c849[_0x39f567(0xe3)][_0x39f567(0xe4)][_0x39f567(0xae)]();let _0x4f4152=!0x1;for(const _0x3c4f09 of _0x1f559f){if(_0x39f567(0xe6)!==_0x3c4f09[_0x39f567(0xce)]||_0x39f567(0xc8)===_0x3c4f09[_0x39f567(0xd2)])continue;const _0x2f1da4=_0x54c849[_0x39f567(0xbe)](_0x3c4f09[_0x39f567(0xa7)][_0x39f567(0xda)]);for(const _0x35be36 of _0x2f1da4[_0x39f567(0x8b)]())_0x35be36['is'](_0x39f567(0xeb),_0x39f567(0xc2))&&(!_0x35be36[_0x39f567(0x95)](_0x39f567(0xcb))&&_0x54c849[_0x39f567(0xdd)][_0x39f567(0xd5)](_0x35be36,_0x39f567(0xcb))&&(_0x57f9ed[_0x39f567(0x9b)](_0x39f567(0xcb),_0x4131a6,_0x35be36),_0x4f4152=!0x0),!_0x35be36[_0x39f567(0x95)](_0x39f567(0xb8))&&_0x54c849[_0x39f567(0xdd)][_0x39f567(0xd5)](_0x35be36,_0x39f567(0xb8))&&(_0x57f9ed[_0x39f567(0x9b)](_0x39f567(0xb8),_0x52d379,_0x35be36),_0x4f4152=!0x0));}return _0x4f4152&&_0x2b05a8[_0x39f567(0xec)](_0x57f9ed),_0x4f4152;});}[_0x69cbad(0xb1)](){const _0x27fe49=_0x69cbad,{editor:_0x2441e2}=this;_0x2441e2[_0x27fe49(0x90)][_0x27fe49(0x87)](_0x398fa8)[_0x27fe49(0xd9)](_0x4b3bc6=>this[_0x27fe49(0xb3)](_0x4b3bc6));}[_0x69cbad(0xaf)](){const _0x3499ec=_0x69cbad;return this[_0x3499ec(0xc9)][_0x3499ec(0xcc)][_0x3499ec(0x87)](_0x3499ec(0xa2));}[_0x69cbad(0xe2)](){const _0x1961a1=_0x69cbad;return this[_0x1961a1(0xc9)][_0x1961a1(0xcc)][_0x1961a1(0x87)](_0x1961a1(0xc5));}[_0x69cbad(0xb3)]({container:_0x5bfbab,value:_0x190002,digits:_0x5caa67}){const _0xff8224=_0x69cbad,_0x5e843f=_0x5bfbab[_0xff8224(0x88)](_0xff8224(0xb8)),_0x505a0e=_0x5bfbab[_0xff8224(0x88)](_0xff8224(0xcb)),_0x1c0653=Math[_0xff8224(0xd3)](_0x190002)+(_0x505a0e??0x1)-0x1;switch(_0x5e843f){case _0xff8224(0xe8):return function(_0x31e10b,_0x5dda75){const _0x5640d1=_0xff8224;return String(_0x31e10b)[_0x5640d1(0xa8)](_0x5dda75,'0');}(_0x1c0653,Math[_0xff8224(0x8a)](0x2,_0x5caa67));case _0xff8224(0xb4):case _0xff8224(0xc4):return N(_0x1c0653,!0x1);case _0xff8224(0x91):case _0xff8224(0x9c):return N(_0x1c0653,!0x0);case _0xff8224(0xb6):return X(_0x1c0653,!0x1);case _0xff8224(0xdc):return X(_0x1c0653,!0x0);default:return String(_0x1c0653);}}}function _0x52e5(_0x531e1e,_0x3d4ffe){const _0x4bff3f=_0x4bff();return _0x52e5=function(_0x52e53e,_0x2ea83f){_0x52e53e=_0x52e53e-0x87;let _0x44b464=_0x4bff3f[_0x52e53e];return _0x44b464;},_0x52e5(_0x531e1e,_0x3d4ffe);}function M(_0x285672,_0x5b44d2){const _0x22a44c=_0x69cbad,_0x560d44=_0x5b44d2[_0x22a44c(0xa4)](_0x285672);return Array[_0x22a44c(0xdb)](_0x560d44[_0x22a44c(0xb7)]())[_0x22a44c(0xa5)](_0x353d8e=>_0x353d8e['is'](_0x22a44c(0xeb),'ol')&&_0x353d8e[_0x22a44c(0x8c)](_0x22a44c(0xe7)));}function N(_0x299846,_0x10873d){const _0x583729=_0x69cbad;let _0x5ab194='',_0x3ac9ff=_0x299846;for(;_0x3ac9ff>0x0;){const _0xc3ba39=(_0x3ac9ff-0x1)%0x1a;_0x5ab194=String[_0x583729(0x9f)](0x61+_0xc3ba39)+_0x5ab194,_0x3ac9ff=Math[_0x583729(0xd3)]((_0x3ac9ff-0x1)/0x1a);}return _0x10873d?_0x5ab194[_0x583729(0x93)]():_0x5ab194;}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(_0x4e2e6c,_0x497f8b){const _0x1713c9=_0x69cbad;let _0x5910a4='',_0x52cd4e=_0x4e2e6c;for(const {value:_0x496913,numeral:_0x998191}of V)for(;_0x52cd4e>=_0x496913;)_0x5910a4+=_0x998191,_0x52cd4e-=_0x496913;return _0x497f8b?_0x5910a4:_0x5910a4[_0x1713c9(0x8e)]();}
23
+ function _0x1b2b(){const _0x9a0df9=['attribute:footnotesListStyle:footnotesDefinitions','toViewElement','_defineSchema','1309513RoJQKW','document','removeAttribute','floor','start','7860210jqoEyu','element:ol','toUpperCase','modelCursor','upcast','footnotesListStart','footnotesDefinitions','1222002OaKwHS','add','insert','checkAttribute','_defineConverters','footnotesListStyle','getChanges','parseInt','fromCharCode','mapper','extend','setAttribute','from','parent','attribute:footnotesListStart:footnotesDefinitions','isPremiumPlugin','createRangeOn','1151196fqIRVN','upper-latin','downcast','$text','_definePostfixer','find','footnotesStyle','setStyle','name','_formatFootnoteListValue','getItems','padStart','pluginName','commands','list-style-type','hasAttribute','4498028YYGirF','config','lower-latin','writer','hasClass','decimal','_getDefaultListStyle','decimal-leading-zero','getStyle','5itRDQx','requires','FootnotesPropertiesEditing','footnotes.footnotesProperties.defaultStartIndex','lower-alpha','consume','_updateFootnotesCounters','16673232zEHBid','differ','item','upper-alpha','_getDefaultStartIndex','footnotes.footnotesProperties.defaultListStyle','for','footnotesStart','getAttribute','editor','model','isOfficialPlugin','nodeAfter','7420686wahjHc','element','init','footnotes-list','position','lower-roman','get','toLowerCase','plugins','upper-roman','_defineFormatter','isNaN','registerPostFixer','schema','removeStyle','getChildren','define','consumable','viewItem','setFootnoteFormatter','max','type'];_0x1b2b=function(){return _0x9a0df9;};return _0x1b2b();}const _0x9e7942=_0x2cbd;(function(_0xc4bab0,_0x15c098){const _0x2f2a78=_0x2cbd,_0x1e6f63=_0xc4bab0();while(!![]){try{const _0x4786da=parseInt(_0x2f2a78(0x144))/0x1+parseInt(_0x2f2a78(0xfe))/0x2+-parseInt(_0x2f2a78(0x150))/0x3+parseInt(_0x2f2a78(0x10e))/0x4+-parseInt(_0x2f2a78(0x117))/0x5*(-parseInt(_0x2f2a78(0x149))/0x6)+-parseInt(_0x2f2a78(0x12b))/0x7+-parseInt(_0x2f2a78(0x11e))/0x8;if(_0x4786da===_0x15c098)break;else _0x1e6f63['push'](_0x1e6f63['shift']());}catch(_0x10f570){_0x1e6f63['push'](_0x1e6f63['shift']());}}}(_0x1b2b,0xbb843));import{Plugin as _0x101a06}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0xa7f1c5}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x28fc84}from'./commands/footnotesstartcommand.js';function _0x2cbd(_0x46f324,_0x1874e8){const _0x1b2bc=_0x1b2b();return _0x2cbd=function(_0x2cbd89,_0x2198f8){_0x2cbd89=_0x2cbd89-0xf9;let _0x4daa5a=_0x1b2bc[_0x2cbd89];return _0x4daa5a;},_0x2cbd(_0x46f324,_0x1874e8);}import{FootnotesTracker as _0x105533}from'../footnotestracker.js';import{FootnotesEditing as _0x1c5336}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x101a06{static get[_0x9e7942(0x10a)](){const _0x2dd273=_0x9e7942;return _0x2dd273(0x119);}static get[_0x9e7942(0x118)](){return[_0x1c5336,_0x105533];}static get[_0x9e7942(0x129)](){return!0x0;}static get[_0x9e7942(0xfc)](){return!0x0;}[_0x9e7942(0x12d)](){const _0x3039a7=_0x9e7942,{editor:_0x568a6a}=this;_0x568a6a[_0x3039a7(0x10f)][_0x3039a7(0x13b)](_0x3039a7(0x123),_0x3039a7(0x113)),_0x568a6a[_0x3039a7(0x10f)][_0x3039a7(0x13b)](_0x3039a7(0x11a),0x1),_0x568a6a[_0x3039a7(0x10b)][_0x3039a7(0x151)](_0x3039a7(0x104),new _0xa7f1c5(_0x568a6a)),_0x568a6a[_0x3039a7(0x10b)][_0x3039a7(0x151)](_0x3039a7(0x125),new _0x28fc84(_0x568a6a)),this[_0x3039a7(0x143)](),this[_0x3039a7(0x154)](),this[_0x3039a7(0x135)](),this[_0x3039a7(0x102)]();}[_0x9e7942(0x143)](){const _0x126bec=_0x9e7942,{editor:_0x71d09e}=this,{schema:_0x5e5872}=_0x71d09e[_0x126bec(0x128)];_0x5e5872[_0x126bec(0x15a)](_0x126bec(0x14f),{'allowAttributes':[_0x126bec(0x155),_0x126bec(0x14e)]});}[_0x9e7942(0x154)](){const _0x548197=_0x9e7942,{editor:_0x1d20aa}=this,{conversion:_0x2ff251,model:_0x53794b}=_0x1d20aa,{schema:_0x327728}=_0x53794b;_0x2ff251[_0x548197(0x124)](_0x548197(0x14d))[_0x548197(0x151)](_0x486737=>{const _0x43a09e=_0x548197;_0x486737['on'](_0x43a09e(0x14a),(_0x290bf5,_0xb74160,_0x57bb80)=>{const _0x27364f=_0x43a09e,_0x19750b=_0xb74160[_0x27364f(0x13d)],_0x52d17e=_0xb74160[_0x27364f(0x14c)]?.[_0x27364f(0xfa)];_0x19750b[_0x27364f(0x112)](_0x27364f(0x12e))&&_0x52d17e?.['is'](_0x27364f(0x12c),_0x27364f(0x14f))&&(function(_0x305661,_0x13a24e,_0xfb989b,_0x2e5e41){const _0x59e8f6=_0x27364f;if(!_0x2e5e41[_0x59e8f6(0x153)](_0x13a24e,_0x59e8f6(0x14e)))return;let _0x5f054a=0x1;const _0x25d947=_0xfb989b[_0x59e8f6(0x13c)][_0x59e8f6(0x11c)](_0x305661,{'attributes':_0x59e8f6(0x148)});if(_0x25d947){const _0x9c8371=Number[_0x59e8f6(0x157)](_0x305661[_0x59e8f6(0x126)](_0x59e8f6(0x148)),0xa);Number[_0x59e8f6(0x136)](_0x9c8371)||(_0x5f054a=_0x9c8371);}!_0x25d947&&_0x13a24e[_0x59e8f6(0x10d)](_0x59e8f6(0x14e))||_0xfb989b[_0x59e8f6(0x111)][_0x59e8f6(0x15b)](_0x59e8f6(0x14e),_0x5f054a,_0x13a24e);}(_0x19750b,_0x52d17e,_0x57bb80,_0x327728),function(_0x3e287c,_0x315434,_0x1f6b29,_0x319ed6){const _0x1d811b=_0x27364f;if(!_0x319ed6[_0x1d811b(0x153)](_0x315434,_0x1d811b(0x155)))return;let _0x3ddc68=_0x1d811b(0x113),_0x2beb7c=!0x1;if(_0x1f6b29[_0x1d811b(0x13c)][_0x1d811b(0x11c)](_0x3e287c,{'attributes':_0x1d811b(0x140)})){const _0x11cba1={0x1:_0x1d811b(0x113),'a':_0x1d811b(0x11b),'A':_0x1d811b(0x121),'i':_0x1d811b(0x130),'I':_0x1d811b(0x134)}[_0x3e287c[_0x1d811b(0x126)](_0x1d811b(0x140))];_0x11cba1&&(_0x3ddc68=_0x11cba1),_0x2beb7c=!0x0;}_0x1f6b29[_0x1d811b(0x13c)][_0x1d811b(0x11c)](_0x3e287c,{'styles':_0x1d811b(0x10c)})&&(_0x3ddc68=function(_0x56ab8c){const _0x4e7286=_0x1d811b;switch(_0x56ab8c){case _0x4e7286(0x11b):return _0x4e7286(0x110);case _0x4e7286(0x121):return _0x4e7286(0xff);default:return _0x56ab8c;}}(_0x3e287c[_0x1d811b(0x116)](_0x1d811b(0x10c))),_0x2beb7c=!0x0),!_0x2beb7c&&_0x315434[_0x1d811b(0x10d)](_0x1d811b(0x155))||_0x1f6b29[_0x1d811b(0x111)][_0x1d811b(0x15b)](_0x1d811b(0x155),_0x3ddc68,_0x315434);}(_0x19750b,_0x52d17e,_0x57bb80,_0x327728));});}),_0x2ff251[_0x548197(0x124)](_0x548197(0x100))[_0x548197(0x151)](_0x48e4f3=>{const _0x409ff2=_0x548197;_0x48e4f3['on'](_0x409ff2(0xfb),(_0x122b4a,_0x141c38,_0x4d2cb5)=>{const _0x6945df=_0x409ff2;if(!_0x4d2cb5[_0x6945df(0x13c)][_0x6945df(0x11c)](_0x141c38[_0x6945df(0x120)],_0x122b4a[_0x6945df(0x106)]))return;const _0x4d9c65=M(_0x141c38[_0x6945df(0x120)],_0x4d2cb5[_0x6945df(0x159)]),{attributeNewValue:_0x17a7ae}=_0x141c38;null==_0x17a7ae||0x1===_0x17a7ae?_0x4d2cb5[_0x6945df(0x111)][_0x6945df(0x146)](_0x6945df(0x148),_0x4d9c65):_0x4d2cb5[_0x6945df(0x111)][_0x6945df(0x15b)](_0x6945df(0x148),String(_0x17a7ae),_0x4d9c65);}),_0x48e4f3['on'](_0x409ff2(0x141),(_0x41f4c7,_0x5a233b,_0x4137c6)=>{const _0x5656c9=_0x409ff2;if(!_0x4137c6[_0x5656c9(0x13c)][_0x5656c9(0x11c)](_0x5a233b[_0x5656c9(0x120)],_0x41f4c7[_0x5656c9(0x106)]))return;const _0x591f63=M(_0x5a233b[_0x5656c9(0x120)],_0x4137c6[_0x5656c9(0x159)]),{attributeNewValue:_0x208024}=_0x5a233b;_0x208024&&_0x5656c9(0x113)!==_0x208024?_0x4137c6[_0x5656c9(0x111)][_0x5656c9(0x105)](_0x5656c9(0x10c),_0x208024,_0x591f63):_0x4137c6[_0x5656c9(0x111)][_0x5656c9(0x139)](_0x5656c9(0x10c),_0x591f63);});});}[_0x9e7942(0x102)](){const _0x3fffb4=_0x9e7942,{editor:_0xd9c695}=this,{model:_0x7b8550}=_0xd9c695,_0x27d687=_0xd9c695[_0x3fffb4(0x133)][_0x3fffb4(0x131)](_0x105533),_0x51026c=this[_0x3fffb4(0x114)](),_0x575365=this[_0x3fffb4(0x122)]();_0x7b8550[_0x3fffb4(0x145)][_0x3fffb4(0x137)](_0x1cf490=>{const _0x218dbf=_0x3fffb4,_0x4a361b=_0x7b8550[_0x218dbf(0x145)][_0x218dbf(0x11f)][_0x218dbf(0x156)]();let _0x414363=!0x1;for(const _0x2a1fea of _0x4a361b){if(_0x218dbf(0x152)!==_0x2a1fea[_0x218dbf(0x140)]||_0x218dbf(0x101)===_0x2a1fea[_0x218dbf(0x106)])continue;const _0x172a4d=_0x7b8550[_0x218dbf(0xfd)](_0x2a1fea[_0x218dbf(0x12f)][_0x218dbf(0x12a)]);for(const _0x170159 of _0x172a4d[_0x218dbf(0x108)]())_0x170159['is'](_0x218dbf(0x12c),_0x218dbf(0x14f))&&(!_0x170159[_0x218dbf(0x10d)](_0x218dbf(0x14e))&&_0x7b8550[_0x218dbf(0x138)][_0x218dbf(0x153)](_0x170159,_0x218dbf(0x14e))&&(_0x1cf490[_0x218dbf(0x15b)](_0x218dbf(0x14e),_0x575365,_0x170159),_0x414363=!0x0),!_0x170159[_0x218dbf(0x10d)](_0x218dbf(0x155))&&_0x7b8550[_0x218dbf(0x138)][_0x218dbf(0x153)](_0x170159,_0x218dbf(0x155))&&(_0x1cf490[_0x218dbf(0x15b)](_0x218dbf(0x155),_0x51026c,_0x170159),_0x414363=!0x0));}return _0x414363&&_0x27d687[_0x218dbf(0x11d)](_0x1cf490),_0x414363;});}[_0x9e7942(0x135)](){const _0x275c78=_0x9e7942,{editor:_0x3b0622}=this;_0x3b0622[_0x275c78(0x133)][_0x275c78(0x131)](_0x105533)[_0x275c78(0x13e)](_0x264998=>this[_0x275c78(0x107)](_0x264998));}[_0x9e7942(0x114)](){const _0x17a93d=_0x9e7942;return this[_0x17a93d(0x127)][_0x17a93d(0x10f)][_0x17a93d(0x131)](_0x17a93d(0x123));}[_0x9e7942(0x122)](){const _0x5d896c=_0x9e7942;return this[_0x5d896c(0x127)][_0x5d896c(0x10f)][_0x5d896c(0x131)](_0x5d896c(0x11a));}[_0x9e7942(0x107)]({container:_0x191051,value:_0x586170,digits:_0x55c5bf}){const _0x19bf11=_0x9e7942,_0x3084d9=_0x191051[_0x19bf11(0x126)](_0x19bf11(0x155)),_0x1601d5=_0x191051[_0x19bf11(0x126)](_0x19bf11(0x14e)),_0xed9f7c=Math[_0x19bf11(0x147)](_0x586170)+(_0x1601d5??0x1)-0x1;switch(_0x3084d9){case _0x19bf11(0x115):return function(_0x1a835d,_0x506a5d){const _0x53b3fb=_0x19bf11;return String(_0x1a835d)[_0x53b3fb(0x109)](_0x506a5d,'0');}(_0xed9f7c,Math[_0x19bf11(0x13f)](0x2,_0x55c5bf));case _0x19bf11(0x11b):case _0x19bf11(0x110):return N(_0xed9f7c,!0x1);case _0x19bf11(0x121):case _0x19bf11(0xff):return N(_0xed9f7c,!0x0);case _0x19bf11(0x130):return X(_0xed9f7c,!0x1);case _0x19bf11(0x134):return X(_0xed9f7c,!0x0);default:return String(_0xed9f7c);}}}function M(_0x3a2e45,_0x21bb41){const _0x123e78=_0x9e7942,_0x4f28f9=_0x21bb41[_0x123e78(0x142)](_0x3a2e45);return Array[_0x123e78(0xf9)](_0x4f28f9[_0x123e78(0x13a)]())[_0x123e78(0x103)](_0xe2c1ab=>_0xe2c1ab['is'](_0x123e78(0x12c),'ol')&&_0xe2c1ab[_0x123e78(0x112)](_0x123e78(0x12e)));}function N(_0x1ce4ef,_0x5e1a99){const _0x3b65e6=_0x9e7942;let _0x1bf2cd='',_0xbc6244=_0x1ce4ef;for(;_0xbc6244>0x0;){const _0x1a8459=(_0xbc6244-0x1)%0x1a;_0x1bf2cd=String[_0x3b65e6(0x158)](0x61+_0x1a8459)+_0x1bf2cd,_0xbc6244=Math[_0x3b65e6(0x147)]((_0xbc6244-0x1)/0x1a);}return _0x5e1a99?_0x1bf2cd[_0x3b65e6(0x14b)]():_0x1bf2cd;}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(_0x1663b5,_0x955a85){const _0x355fde=_0x9e7942;let _0x9461e8='',_0x2507fe=_0x1663b5;for(const {value:_0x5be2a0,numeral:_0xcd9c2a}of V)for(;_0x2507fe>=_0x5be2a0;)_0x9461e8+=_0xcd9c2a,_0x2507fe-=_0x5be2a0;return _0x955a85?_0x9461e8:_0x9461e8[_0x355fde(0x132)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x3b5b9b,ButtonView as _0x5d1d0e,ContextualBalloon as _0x51a29f,createDropdown as _0x42ba3a}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x35c871}from'ckeditor5/src/widget.js';import{Plugin as _0x2d2f65}from'ckeditor5/src/core.js';import{IconFootnote as _0x383b89,IconListStyleDecimal as _0x5c849f,IconListStyleDecimalLeadingZero as _0x4d5aa8,IconListStyleLowerLatin as _0x168b6d,IconListStyleLowerRoman as _0x2c50ba,IconListStyleUpperLatin as _0x2c2fda,IconListStyleUpperRoman as _0x1c5667}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x24fee4}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x34ea8b}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2d2f65{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x51a29f,_0x35c871];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1de449}=this,{componentFactory:_0x2c530b}=_0x1de449['ui'];_0x1de449['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2c530b['add']('footnotesStyle',function(_0x2cd52f){return _0xd50ecc=>{const {t:t}=_0xd50ecc,_0x3d4ee9=_0x2cd52f['commands']['get']('footnotesStyle'),_0xad44ca=_0x42ba3a(_0xd50ecc),{buttonView:_0x1be95f}=_0xad44ca;return _0xad44ca['class']='ck-footnotes-styles-dropdown',_0xad44ca['bind']('isEnabled')['to'](_0x3d4ee9,'isEnabled'),_0x1be95f['set']({'label':t('Footnotes\x20style'),'icon':_0x383b89,'tooltip':!0x0}),_0xad44ca['once']('change:isOpen',()=>{const _0x5b151c=function({editor:_0x14c352,dropdownView:_0x33760a}){const {t:t}=_0x14c352['locale'],_0x465da8=t('Footnotes\x20definitions\x20styles'),_0x470ebd=function(_0x2acb41){const t=_0x2acb41['locale']['t'],_0x3b5f8c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5c849f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d5aa8},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2c50ba},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1c5667},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x168b6d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2c2fda}];return _0x3b5f8c['map'](function(_0xa0e623){const _0x547dbf=_0xa0e623['locale'];return({label:_0x4361bd,icon:_0x4d1bc8,tooltip:_0x41723f,style:_0xef01e1})=>{const _0xbacd40=_0xa0e623['commands']['get']('footnotesStyle'),_0x5eaaff=new _0x5d1d0e(_0x547dbf);return _0x5eaaff['set']({'label':_0x4361bd,'icon':_0x4d1bc8,'tooltip':_0x41723f}),_0x5eaaff['bind']('isOn')['to'](_0xbacd40,'value',_0x4c72d7=>_0x4c72d7===_0xef01e1),_0x5eaaff['bind']('isEnabled')['to'](_0xbacd40,'isEnabled'),_0x5eaaff['on']('execute',()=>{_0xa0e623['execute']('footnotesStyle',{'value':_0xef01e1}),_0xa0e623['editing']['view']['focus']();}),_0x5eaaff;};}(_0x2acb41));}(_0x14c352),_0x19d214=new _0x24fee4(_0x14c352['locale'],{'styleGridAriaLabel':_0x465da8,'styleButtonViews':_0x470ebd}),_0x504b24=_0x14c352['commands']['get']('footnotesStart');return _0x19d214['startIndexFieldView']['bind']('isEnabled')['to'](_0x504b24),_0x19d214['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x504b24),_0x19d214['on']('footnotesListStart',(_0x4457cf,_0x13eb99)=>{_0x14c352['execute']('footnotesStart',{'value':_0x13eb99['startIndex']});}),_0x19d214['delegate']('execute')['to'](_0x33760a),_0x19d214;}({'editor':_0x2cd52f,'dropdownView':_0xad44ca});_0xad44ca['panelView']['children']['add'](_0x5b151c);}),_0xad44ca;};}(_0x1de449));}['afterInit'](){const {editor:_0x38060e}=this,{t:t}=_0x38060e['locale'],_0xa6ded9=_0x38060e['plugins']['get'](_0x35c871),{defaultPositions:_0x5bb1a8}=_0x3b5b9b;_0xa6ded9['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x38060e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2f0f1a=>{let _0x3d7678=_0x2f0f1a['getFirstPosition']()?.['parent'];return _0x3d7678?.['is']('$text')&&(_0x3d7678=_0x3d7678['parent']),_0x3d7678?.['is']('element')?_0x3d7678['findAncestor'](_0x34ea8b):null;},'positions':[_0x5bb1a8['southArrowNorth'],_0x5bb1a8['southArrowNorthMiddleWest'],_0x5bb1a8['southArrowNorthMiddleEast'],_0x5bb1a8['southArrowNorthWest'],_0x5bb1a8['southArrowNorthEast'],_0x5bb1a8['northArrowSouth'],_0x5bb1a8['northArrowSouthMiddleWest'],_0x5bb1a8['northArrowSouthMiddleEast'],_0x5bb1a8['northArrowSouthWest'],_0x5bb1a8['northArrowSouthEast'],_0x5bb1a8['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x59b5ce,ButtonView as _0x59b0d7,ContextualBalloon as _0x1b0e8c,createDropdown as _0x330dd5}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x19f127}from'ckeditor5/src/widget.js';import{Plugin as _0x1db357}from'ckeditor5/src/core.js';import{IconFootnote as _0x2bc763,IconListStyleDecimal as _0x36535f,IconListStyleDecimalLeadingZero as _0x343c34,IconListStyleLowerLatin as _0x55ab4d,IconListStyleLowerRoman as _0x5cbbce,IconListStyleUpperLatin as _0x1fa670,IconListStyleUpperRoman as _0x123b29}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x47e48c}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xfa147c}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1db357{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1b0e8c,_0x19f127];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x422dd2}=this,{componentFactory:_0x495595}=_0x422dd2['ui'];_0x422dd2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x495595['add']('footnotesStyle',function(_0x3902d9){return _0x39309e=>{const {t:t}=_0x39309e,_0x1b20c1=_0x3902d9['commands']['get']('footnotesStyle'),_0x2db9c0=_0x330dd5(_0x39309e),{buttonView:_0x512dce}=_0x2db9c0;return _0x2db9c0['class']='ck-footnotes-styles-dropdown',_0x2db9c0['bind']('isEnabled')['to'](_0x1b20c1,'isEnabled'),_0x512dce['set']({'label':t('Footnotes\x20style'),'icon':_0x2bc763,'tooltip':!0x0}),_0x2db9c0['once']('change:isOpen',()=>{const _0x3c919e=function({editor:_0x57bca6,dropdownView:_0x1a6281}){const {t:t}=_0x57bca6['locale'],_0x1827cd=t('Footnotes\x20definitions\x20styles'),_0x1df823=function(_0x1bc915){const t=_0x1bc915['locale']['t'],_0x2be01d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x36535f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x343c34},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5cbbce},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x123b29},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x55ab4d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1fa670}];return _0x2be01d['map'](function(_0x379a38){const _0x4a71b6=_0x379a38['locale'];return({label:_0x28201a,icon:_0x3bee05,tooltip:_0x37b4af,style:_0xfc073a})=>{const _0x10c700=_0x379a38['commands']['get']('footnotesStyle'),_0x5b18c8=new _0x59b0d7(_0x4a71b6);return _0x5b18c8['set']({'label':_0x28201a,'icon':_0x3bee05,'tooltip':_0x37b4af}),_0x5b18c8['bind']('isOn')['to'](_0x10c700,'value',_0x4685dd=>_0x4685dd===_0xfc073a),_0x5b18c8['bind']('isEnabled')['to'](_0x10c700,'isEnabled'),_0x5b18c8['on']('execute',()=>{_0x379a38['execute']('footnotesStyle',{'value':_0xfc073a}),_0x379a38['editing']['view']['focus']();}),_0x5b18c8;};}(_0x1bc915));}(_0x57bca6),_0x499e6a=new _0x47e48c(_0x57bca6['locale'],{'styleGridAriaLabel':_0x1827cd,'styleButtonViews':_0x1df823}),_0xddab80=_0x57bca6['commands']['get']('footnotesStart');return _0x499e6a['startIndexFieldView']['bind']('isEnabled')['to'](_0xddab80),_0x499e6a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xddab80),_0x499e6a['on']('footnotesListStart',(_0x2b34f2,_0x5e3544)=>{_0x57bca6['execute']('footnotesStart',{'value':_0x5e3544['startIndex']});}),_0x499e6a['delegate']('execute')['to'](_0x1a6281),_0x499e6a;}({'editor':_0x3902d9,'dropdownView':_0x2db9c0});_0x2db9c0['panelView']['children']['add'](_0x3c919e);}),_0x2db9c0;};}(_0x422dd2));}['afterInit'](){const {editor:_0x428511}=this,{t:t}=_0x428511['locale'],_0x53f463=_0x428511['plugins']['get'](_0x19f127),{defaultPositions:_0x17f5d4}=_0x59b5ce;_0x53f463['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x428511['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x281f97=>{let _0x435fa2=_0x281f97['getFirstPosition']()?.['parent'];return _0x435fa2?.['is']('$text')&&(_0x435fa2=_0x435fa2['parent']),_0x435fa2?.['is']('element')?_0x435fa2['findAncestor'](_0xfa147c):null;},'positions':[_0x17f5d4['southArrowNorth'],_0x17f5d4['southArrowNorthMiddleWest'],_0x17f5d4['southArrowNorthMiddleEast'],_0x17f5d4['southArrowNorthWest'],_0x17f5d4['southArrowNorthEast'],_0x17f5d4['northArrowSouth'],_0x17f5d4['northArrowSouthMiddleWest'],_0x17f5d4['northArrowSouthMiddleEast'],_0x17f5d4['northArrowSouthWest'],_0x17f5d4['northArrowSouthEast'],_0x17f5d4['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3d4d06,View as _0x3f54d0,ViewCollection as _0x46a325,FocusCycler as _0x3b60ed,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 _0x3f54d0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x46a325();['focusCycler'];constructor(_0x51f11b,{styleButtonViews:_0x1ce3af,styleGridAriaLabel:_0x23c8f8}){super(_0x51f11b),(this['focusCycler']=new _0x3b60ed({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1ce3af,_0x23c8f8),[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 _0x4701b5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4701b5['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 _0x26b2bf=_0x28c538=>_0x28c538['stopPropagation']();this['keystrokes']['set']('arrowright',_0x26b2bf),this['keystrokes']['set']('arrowleft',_0x26b2bf),this['keystrokes']['set']('arrowup',_0x26b2bf),this['keystrokes']['set']('arrowdown',_0x26b2bf);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x12e773,_0x529f42){const _0x42bc1d=new _0x3f54d0(this['locale']);return _0x42bc1d['children']=_0x42bc1d['createCollection'](),_0x42bc1d['children']['addMany'](_0x12e773),_0x42bc1d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x529f42,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x42bc1d['children']}),_0x42bc1d['children']['delegate']('execute')['to'](this),_0x42bc1d['focus']=function(){for(const _0xedd287 of this['children'])if(_0xedd287 instanceof _0x3d4d06&&_0xedd287['isOn'])return void _0xedd287['focus']();this['children']['first']['focus']();},_0x42bc1d['focusTracker']=new ot(),_0x42bc1d['keystrokes']=new rt(),_0x42bc1d['render'](),_0x42bc1d['keystrokes']['listenTo'](_0x42bc1d['element']),this['children']['add'](_0x42bc1d),_0x42bc1d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x35b797=this['_createStartIndexPropertyView'](),_0x4f62b4=[_0x35b797],_0x101105=new st(this['locale'],_0x4f62b4);return _0x101105['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x101105['buttonView']['bind']('isEnabled')['toMany'](_0x4f62b4,'isEnabled',(..._0x289464)=>_0x289464['some'](_0x598705=>_0x598705)),_0x101105['buttonView']['on']('change:isEnabled',(_0x1ca3ab,_0xeb6af9,_0x9cdb38)=>{_0x9cdb38||(_0x101105['isCollapsed']=!0x0);}),this['children']['add'](_0x101105),[_0x35b797,_0x101105];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1d7979=new it(this['locale'],et);return _0x1d7979['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1d7979['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1d7979['fieldView']['on']('input',()=>{const _0x3f75dd=_0x1d7979['fieldView']['element'],_0x1f8b2d=_0x3f75dd['valueAsNumber'];Number['isNaN'](_0x1f8b2d)?_0x1d7979['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3f75dd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1f8b2d}):_0x1d7979['errorText']=t(_0x1f8b2d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1d7979;}}
23
+ import{ButtonView as _0x24e770,View as _0x2c8886,ViewCollection as _0x1fff22,FocusCycler as _0x44ee50,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 _0x2c8886{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1fff22();['focusCycler'];constructor(_0x2680ce,{styleButtonViews:_0x5eb178,styleGridAriaLabel:_0x2c7fd9}){super(_0x2680ce),(this['focusCycler']=new _0x44ee50({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5eb178,_0x2c7fd9),[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 _0x137e2f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x137e2f['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 _0xb1591=_0x5c421a=>_0x5c421a['stopPropagation']();this['keystrokes']['set']('arrowright',_0xb1591),this['keystrokes']['set']('arrowleft',_0xb1591),this['keystrokes']['set']('arrowup',_0xb1591),this['keystrokes']['set']('arrowdown',_0xb1591);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x11520a,_0xe8a6f4){const _0x399127=new _0x2c8886(this['locale']);return _0x399127['children']=_0x399127['createCollection'](),_0x399127['children']['addMany'](_0x11520a),_0x399127['setTemplate']({'tag':'div','attributes':{'aria-label':_0xe8a6f4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x399127['children']}),_0x399127['children']['delegate']('execute')['to'](this),_0x399127['focus']=function(){for(const _0x3c0b90 of this['children'])if(_0x3c0b90 instanceof _0x24e770&&_0x3c0b90['isOn'])return void _0x3c0b90['focus']();this['children']['first']['focus']();},_0x399127['focusTracker']=new ot(),_0x399127['keystrokes']=new rt(),_0x399127['render'](),_0x399127['keystrokes']['listenTo'](_0x399127['element']),this['children']['add'](_0x399127),_0x399127;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5286c0=this['_createStartIndexPropertyView'](),_0x537605=[_0x5286c0],_0x30febd=new st(this['locale'],_0x537605);return _0x30febd['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x30febd['buttonView']['bind']('isEnabled')['toMany'](_0x537605,'isEnabled',(..._0x28352d)=>_0x28352d['some'](_0x2cef85=>_0x2cef85)),_0x30febd['buttonView']['on']('change:isEnabled',(_0x37fb4a,_0x3a5aa4,_0x3ed173)=>{_0x3ed173||(_0x30febd['isCollapsed']=!0x0);}),this['children']['add'](_0x30febd),[_0x5286c0,_0x30febd];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5cd81f=new it(this['locale'],et);return _0x5cd81f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5cd81f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5cd81f['fieldView']['on']('input',()=>{const _0x22d90c=_0x5cd81f['fieldView']['element'],_0x200a0a=_0x22d90c['valueAsNumber'];Number['isNaN'](_0x200a0a)?_0x5cd81f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x22d90c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x200a0a}):_0x5cd81f['errorText']=t(_0x200a0a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5cd81f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c3725=_0x599b;(function(_0x3d57e3,_0x3dbe99){var _0x4ac458=_0x599b,_0x8e2a98=_0x3d57e3();while(!![]){try{var _0x1779f7=parseInt(_0x4ac458(0x1f3))/0x1*(parseInt(_0x4ac458(0x1f9))/0x2)+parseInt(_0x4ac458(0x1f4))/0x3+parseInt(_0x4ac458(0x1ec))/0x4*(parseInt(_0x4ac458(0x1fb))/0x5)+-parseInt(_0x4ac458(0x1f2))/0x6*(parseInt(_0x4ac458(0x1ef))/0x7)+-parseInt(_0x4ac458(0x1f1))/0x8+-parseInt(_0x4ac458(0x1eb))/0x9*(parseInt(_0x4ac458(0x1f5))/0xa)+-parseInt(_0x4ac458(0x1f6))/0xb*(-parseInt(_0x4ac458(0x1f0))/0xc);if(_0x1779f7===_0x3dbe99)break;else _0x8e2a98['push'](_0x8e2a98['shift']());}catch(_0x35f2cf){_0x8e2a98['push'](_0x8e2a98['shift']());}}}(_0x1494,0x470ac));function _0x599b(_0x5b0b93,_0x1f6a45){var _0x1494cc=_0x1494();return _0x599b=function(_0x599b86,_0x1c534e){_0x599b86=_0x599b86-0x1eb;var _0x4a246d=_0x1494cc[_0x599b86];return _0x4a246d;},_0x599b(_0x5b0b93,_0x1f6a45);}function _0x1494(){var _0x274d60=['isPremiumPlugin','pluginName','16PGXoOm','isOfficialPlugin','5VkOiYa','81ZitBLb','2311896oYTRuq','FootnotesProperties','requires','119WkEaHE','199284GGYZJs','3497672rEGrzm','127896nvpEQS','30689BXKotR','572412aoiWrX','616430oweDyH','418OYHQuP'];_0x1494=function(){return _0x274d60;};return _0x1494();}import{Plugin as _0xf8fc1c}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x54ea6d}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x12846f}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xf8fc1c{static get[_0x2c3725(0x1f8)](){var _0x51a0ea=_0x2c3725;return _0x51a0ea(0x1ed);}static get[_0x2c3725(0x1ee)](){return[_0x54ea6d,_0x12846f];}static get[_0x2c3725(0x1fa)](){return!0x0;}static get[_0x2c3725(0x1f7)](){return!0x0;}}
23
+ var _0x511663=_0x3196;(function(_0x511cf3,_0x17bcfa){var _0x273f60=_0x3196,_0x587d48=_0x511cf3();while(!![]){try{var _0x4be525=-parseInt(_0x273f60(0xe4))/0x1*(parseInt(_0x273f60(0xe3))/0x2)+parseInt(_0x273f60(0xe1))/0x3+-parseInt(_0x273f60(0xdd))/0x4*(-parseInt(_0x273f60(0xdf))/0x5)+-parseInt(_0x273f60(0xdb))/0x6*(-parseInt(_0x273f60(0xde))/0x7)+parseInt(_0x273f60(0xdc))/0x8+-parseInt(_0x273f60(0xe7))/0x9+-parseInt(_0x273f60(0xe5))/0xa;if(_0x4be525===_0x17bcfa)break;else _0x587d48['push'](_0x587d48['shift']());}catch(_0xd29f67){_0x587d48['push'](_0x587d48['shift']());}}}(_0x4177,0x2c644));import{Plugin as _0x2e19d6}from'ckeditor5/src/core.js';function _0x3196(_0x3770b7,_0xd60ebf){var _0x4177c1=_0x4177();return _0x3196=function(_0x3196dc,_0x4253c1){_0x3196dc=_0x3196dc-0xda;var _0x3e90da=_0x4177c1[_0x3196dc];return _0x3e90da;},_0x3196(_0x3770b7,_0xd60ebf);}import{FootnotesPropertiesEditing as _0x3d06c0}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4177(){var _0x20b589=['4GctuXC','67461hSZxxw','2265600FEPOxH','pluginName','1042767hYRpNo','isOfficialPlugin','FootnotesProperties','2147976jfBilp','695536yQlxyo','10284IwtSHm','7sfMxRn','5jzuRQc','requires','634992goeFlP','isPremiumPlugin'];_0x4177=function(){return _0x20b589;};return _0x4177();}import{FootnotesPropertiesUI as _0x3e96d7}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2e19d6{static get[_0x511663(0xe6)](){var _0xac325a=_0x511663;return _0xac325a(0xda);}static get[_0x511663(0xe0)](){return[_0x3d06c0,_0x3e96d7];}static get[_0x511663(0xe8)](){return!0x0;}static get[_0x511663(0xe2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aa6db=_0x3d44;(function(_0x18835c,_0x5cfc10){const _0x5777a7=_0x3d44,_0x36a881=_0x18835c();while(!![]){try{const _0x10dfcb=-parseInt(_0x5777a7(0xa4))/0x1+parseInt(_0x5777a7(0xbe))/0x2+parseInt(_0x5777a7(0x7c))/0x3+-parseInt(_0x5777a7(0xc8))/0x4+parseInt(_0x5777a7(0xd4))/0x5*(-parseInt(_0x5777a7(0xd2))/0x6)+-parseInt(_0x5777a7(0xb8))/0x7+-parseInt(_0x5777a7(0x8a))/0x8*(-parseInt(_0x5777a7(0x72))/0x9);if(_0x10dfcb===_0x5cfc10)break;else _0x36a881['push'](_0x36a881['shift']());}catch(_0x3d1d98){_0x36a881['push'](_0x36a881['shift']());}}}(_0x31f6,0x22fbf));import{Plugin as _0x5ac67c}from'ckeditor5/src/core.js';function _0x31f6(){const _0xaa7047=['_updateFootnotesCounters','footnoteCounter','_handleInsertedFootnoteReference','footnoteRef','527910myobfi','_footnoteRefsTracker','createPositionAt','map','from','paragraph','some','push','model','_footnoteDefsTracker','473808YFoFdm','reference','footnotes.multiBlock','getFootnote','FootnotesTracker','createElement','find','_footnoteDefsContainerTracker','$graveyard','set','12fWEIHF','move','83555ictCoo','length','387gicSHt','isOfficialPlugin','footnotesDefinitions','after','parent','getChanges','change:data','editor','_updateFootnoteRefCounter','setFootnoteFormatter','250692WgfBYx','footnoteInlineContent','_footnotes','singleton','get','enqueueChange','compareWith','reset','before','definition','indexOf','root','setAttribute','unshift','57544JvsWUh','pluginName','has','splice','differ','registerPostFixer','createRangeOn','_ensureFootnotesReferencesHaveProperOrder','insert','childCount','findIndex','config','end','createRangeIn','low','listenTo','add','remove','_handleFootnotesDefinitionsObjectSync','isPremiumPlugin','document','getAttribute','append','_handleFootnoteReferencesChanges','isEqual','_handleRemoveFootnoteReferenceById','236889fiBgfv','_footnotesDefinitions','footnoteId','_ensureFootnotesDefinitionsContainerExists','getChildren','getRootNames','_handleFootnoteDefinitionsChanges','footnoteDefinition','high','_insertEmptyFootnotesDefinitionsContainer','getFootnotes','_footnoteFormatter','getFootnotesDefinitionsObjectElement','min','_sortFootnoteDefinitions','_handleMovedFootnoteReference','getFootnotesFormatter','createPositionBefore','rootName','init','873320SNVWow','_handleFootnotesDefinitionsObjectChanges'];_0x31f6=function(){return _0xaa7047;};return _0x31f6();}import{ModelElementTracker as _0x19113}from'./modelelementtracker.js';export class FootnotesTracker extends _0x5ac67c{[_0x3aa6db(0x7e)]=[];[_0x3aa6db(0xa5)]=null;[_0x3aa6db(0xaf)]=null;[_0x3aa6db(0xcf)];[_0x3aa6db(0xbf)];[_0x3aa6db(0xc7)];static get[_0x3aa6db(0x8b)](){const _0xb9b7a1=_0x3aa6db;return _0xb9b7a1(0xcc);}static get[_0x3aa6db(0x73)](){return!0x0;}static get[_0x3aa6db(0x9d)](){return!0x0;}constructor(_0x48aa3e){const _0x17fdc3=_0x3aa6db;super(_0x48aa3e),this[_0x17fdc3(0xcf)]=new _0x19113(this[_0x17fdc3(0x79)][_0x17fdc3(0xc6)],{'elementName':_0x17fdc3(0x74),'getElementKey':()=>_0x17fdc3(0x7f)}),this[_0x17fdc3(0xbf)]=new _0x19113(this[_0x17fdc3(0x79)][_0x17fdc3(0xc6)],{'elementName':_0x17fdc3(0xbd),'getElementKey':_0xb223b5=>_0xb223b5[_0x17fdc3(0x9f)](_0x17fdc3(0xa6))}),this[_0x17fdc3(0xc7)]=new _0x19113(this[_0x17fdc3(0x79)][_0x17fdc3(0xc6)],{'elementName':_0x17fdc3(0xab),'getElementKey':_0x3fdc58=>_0x3fdc58[_0x17fdc3(0x9f)](_0x17fdc3(0xa6))});}[_0x3aa6db(0xb7)](){const _0x7417cc=_0x3aa6db,{editor:_0x2c383b}=this,{model:_0x42e8a4,data:_0x1f5caf}=_0x2c383b;_0x42e8a4[_0x7417cc(0x9e)][_0x7417cc(0x8f)](_0x523be5=>{const _0x146320=_0x7417cc,_0x330f8a=_0x42e8a4[_0x146320(0x9e)][_0x146320(0x8e)][_0x146320(0x77)]();let _0x1b281c=!0x1;return this[_0x146320(0xb9)](_0x523be5,_0x330f8a)&&(_0x1b281c=!0x0),this[_0x146320(0xaa)](_0x523be5,_0x330f8a)&&(_0x1b281c=!0x0),this[_0x146320(0xa1)](_0x523be5,_0x330f8a)&&(_0x1b281c=!0x0),this[_0x146320(0x91)](_0x523be5)&&(_0x1b281c=!0x0),this[_0x146320(0x9c)](_0x523be5)&&(_0x1b281c=!0x0),this[_0x146320(0xb2)](_0x523be5)&&(_0x1b281c=!0x0),_0x1b281c;}),this[_0x7417cc(0x99)](_0x42e8a4[_0x7417cc(0x9e)],_0x7417cc(0x78),()=>{const _0x3c146c=_0x7417cc;_0x42e8a4[_0x3c146c(0x81)]({'isUndoable':!0x1},_0xb4df2c=>{const _0x5bdce8=_0x3c146c;this[_0x5bdce8(0xa7)](_0xb4df2c);});},{'priority':_0x7417cc(0x98)}),this[_0x7417cc(0x99)](_0x1f5caf,_0x7417cc(0xd1),()=>{const _0x52bcf8=_0x7417cc;this[_0x52bcf8(0x7e)]=[],this[_0x52bcf8(0xcf)][_0x52bcf8(0x83)](),this[_0x52bcf8(0xbf)][_0x52bcf8(0x83)](),this[_0x52bcf8(0xc7)][_0x52bcf8(0x83)]();},{'priority':_0x7417cc(0xac)});}[_0x3aa6db(0xb0)](){const _0x5b77c3=_0x3aa6db;return this[_0x5b77c3(0xa5)];}[_0x3aa6db(0xcb)](_0x4b8d5f){const _0x2cdee4=_0x3aa6db;return this[_0x2cdee4(0x7e)][_0x2cdee4(0xce)](_0x5cb996=>_0x5cb996['id']===_0x4b8d5f)||null;}[_0x3aa6db(0xae)](){const _0x1c482f=_0x3aa6db;return Array[_0x1c482f(0xc2)](this[_0x1c482f(0x7e)]);}[_0x3aa6db(0xb4)](){const _0x1c9595=_0x3aa6db;return this[_0x1c9595(0xaf)];}[_0x3aa6db(0x7b)](_0x548c3d){const _0x317f9b=_0x3aa6db;this[_0x317f9b(0xaf)]=_0x548c3d;}[_0x3aa6db(0xba)](_0x38d430,_0x4e8452=0x0){const _0x190bcb=_0x3aa6db;let _0x5eff73=!0x1;for(let _0x58fb63=_0x4e8452;_0x58fb63<this[_0x190bcb(0x7e)][_0x190bcb(0xd5)];_0x58fb63++)this[_0x190bcb(0x7a)](_0x38d430,_0x58fb63)&&(_0x5eff73=!0x0);return _0x5eff73;}[_0x3aa6db(0xad)](_0x29f43e,_0x4f1e96){const _0x59fd07=_0x3aa6db,_0x5c36f8=_0x29f43e[_0x59fd07(0xcd)](_0x59fd07(0x74),{});return _0x29f43e[_0x59fd07(0xa0)](_0x5c36f8,_0x4f1e96),this[_0x59fd07(0xa5)]=_0x5c36f8,_0x5c36f8;}[_0x3aa6db(0xa7)](_0x44f555){const _0x19ffe3=_0x3aa6db;if(!this[_0x19ffe3(0x7e)][_0x19ffe3(0xd5)]||this[_0x19ffe3(0xa5)])return;const _0x386de3=this[_0x19ffe3(0x7e)][0x0][_0x19ffe3(0xc9)][_0x19ffe3(0x87)],_0x2415c1=this[_0x19ffe3(0xad)](_0x44f555,_0x386de3);for(const _0x3d75ef of this[_0x19ffe3(0x7e)])_0x3d75ef[_0x19ffe3(0x85)][_0x19ffe3(0x76)]||_0x44f555[_0x19ffe3(0x92)](_0x3d75ef[_0x19ffe3(0x85)],_0x2415c1,_0x19ffe3(0x96));this[_0x19ffe3(0xba)](_0x44f555);}[_0x3aa6db(0xb9)](_0x1a36c2,_0x3670a2){const _0x51770b=_0x3aa6db;let _0x1f28d3=!0x1;const {inserted:_0x3156aa,removed:_0x2696af,moved:_0x491883}=this[_0x51770b(0xcf)][_0x51770b(0x77)](_0x3670a2);if(_0x491883[_0x51770b(0xd5)]&&(this[_0x51770b(0xa5)]=_0x491883[0x0]),_0x3156aa[_0x51770b(0xd5)]){if(_0x3156aa[_0x51770b(0xd5)]>0x1||this[_0x51770b(0xa5)]&&_0x3156aa[_0x51770b(0xc4)](_0xf53db0=>_0xf53db0!==this[_0x51770b(0xa5)])){const _0x2b9cb4=_0x1a36c2[_0x51770b(0xcd)](_0x51770b(0x74),{}),_0x4db876=[];this[_0x51770b(0xa5)]&&_0x4db876[_0x51770b(0xc5)](this[_0x51770b(0xa5)]),_0x4db876[_0x51770b(0xc5)](..._0x3156aa),_0x1a36c2[_0x51770b(0x92)](_0x2b9cb4,_0x4db876[0x0],_0x51770b(0x84));for(const _0x558254 of _0x4db876)_0x1a36c2[_0x51770b(0xd3)](_0x1a36c2[_0x51770b(0x97)](_0x558254),_0x1a36c2[_0x51770b(0xc0)](_0x2b9cb4,_0x51770b(0x96))),_0x1a36c2[_0x51770b(0x9b)](_0x558254);this[_0x51770b(0xa5)]=_0x2b9cb4,this[_0x51770b(0xba)](_0x1a36c2),_0x1f28d3=!0x0;}else this[_0x51770b(0xa5)]=_0x3156aa[0x0];}if(_0x2696af[_0x51770b(0xd5)]&&_0x51770b(0xd0)===this[_0x51770b(0xa5)]?.[_0x51770b(0x87)][_0x51770b(0xb6)]){for(const _0x1e2f04 of this[_0x51770b(0x7e)])_0x1a36c2[_0x51770b(0x9b)](_0x1e2f04[_0x51770b(0xc9)]),_0x1f28d3=!0x0;this[_0x51770b(0x7e)]=[],this[_0x51770b(0xa5)]=null;}return _0x1f28d3;}[_0x3aa6db(0xaa)](_0x2b4e12,_0x54b18f){const _0x1d2f0a=_0x3aa6db;let _0x317bb5=!0x1;const _0x3d6ca2=this[_0x1d2f0a(0x79)][_0x1d2f0a(0x95)][_0x1d2f0a(0x80)](_0x1d2f0a(0xca)),{inserted:_0x5f2f35,moved:_0x4da5fa}=this[_0x1d2f0a(0xc7)][_0x1d2f0a(0x77)](_0x54b18f);for(const _0x389483 of[..._0x4da5fa,..._0x5f2f35]){const _0x4ad476=_0x389483[_0x1d2f0a(0x9f)](_0x1d2f0a(0xa6)),_0x470526=this[_0x1d2f0a(0xcb)](_0x4ad476);_0x470526&&(_0x470526[_0x1d2f0a(0x85)]=_0x389483),_(_0x2b4e12,_0x3d6ca2,_0x389483)&&(_0x317bb5=!0x0);}return _0x317bb5;}[_0x3aa6db(0xa1)](_0x5f1c25,_0x17085e){const _0x588bf0=_0x3aa6db;let _0x3e4561=!0x1;const {removed:_0x25b167,inserted:_0x55f6b5,moved:_0x10969f}=this[_0x588bf0(0xbf)][_0x588bf0(0x77)](_0x17085e);for(const _0x395cb2 of _0x25b167)this[_0x588bf0(0xa3)](_0x5f1c25,_0x395cb2)&&(_0x3e4561=!0x0);for(const _0x1b1c3c of _0x55f6b5)this[_0x588bf0(0xbc)](_0x5f1c25,_0x1b1c3c)&&(_0x3e4561=!0x0);for(const _0x3df54 of _0x10969f)this[_0x588bf0(0xb3)](_0x5f1c25,_0x3df54)&&(_0x3e4561=!0x0);return _0x3e4561;}[_0x3aa6db(0x9c)](_0x4bc87c){const _0x372e51=_0x3aa6db;if(!this[_0x372e51(0xa5)])return!0x1;let _0xf13de5=!0x1;if(this[_0x372e51(0xa5)][_0x372e51(0x93)]!==this[_0x372e51(0x7e)][_0x372e51(0xd5)]){const _0x35c7b5=[];for(const _0x122b2e of this[_0x372e51(0xa5)][_0x372e51(0xa8)]()){const _0x3fa1c0=_0x122b2e[_0x372e51(0x9f)](_0x372e51(0xa6));this[_0x372e51(0xcb)](_0x3fa1c0)||(_0x35c7b5[_0x372e51(0x89)](_0x122b2e),_0xf13de5=!0x0);}for(const _0x5713c0 of _0x35c7b5)_0x4bc87c[_0x372e51(0x9b)](_0x5713c0);}const _0x197641=new Set(),_0x6d0808=[];for(const _0x53a79e of this[_0x372e51(0xa5)][_0x372e51(0xa8)]()){const _0x400b72=_0x53a79e[_0x372e51(0x9f)](_0x372e51(0xa6));_0x197641[_0x372e51(0x8c)](_0x400b72)?(_0x6d0808[_0x372e51(0x89)](_0x53a79e),_0xf13de5=!0x0):_0x197641[_0x372e51(0x9a)](_0x400b72);}for(const _0x3f42bc of _0x6d0808)_0x4bc87c[_0x372e51(0x9b)](_0x3f42bc);return this[_0x372e51(0xa5)][_0x372e51(0x93)]||(_0x4bc87c[_0x372e51(0x9b)](this[_0x372e51(0xa5)]),this[_0x372e51(0xa5)]=null,_0xf13de5=!0x0),_0xf13de5;}[_0x3aa6db(0xbc)](_0x375959,_0x123e04){const _0x4c0ff7=_0x3aa6db;if(this[_0x4c0ff7(0x7e)][_0x4c0ff7(0xce)](_0x1e0ab8=>_0x1e0ab8[_0x4c0ff7(0xc9)]===_0x123e04))return!0x1;let _0x3f9ff6=!0x1;const _0x1652e0=_0x123e04[_0x4c0ff7(0x9f)](_0x4c0ff7(0xa6)),_0x189ec8=this[_0x4c0ff7(0x7e)][_0x4c0ff7(0x94)](_0x293de0=>_0x293de0['id']===_0x1652e0);-0x1!==_0x189ec8&&(_0x375959[_0x4c0ff7(0x9b)](this[_0x4c0ff7(0x7e)][_0x189ec8][_0x4c0ff7(0xc9)]),this[_0x4c0ff7(0x7e)][_0x4c0ff7(0x8d)](_0x189ec8,0x1),_0x3f9ff6=!0x0);let _0x188339=this[_0x4c0ff7(0xa5)]?function(_0x41d912,_0x54259e){const _0x2e4eca=_0x4c0ff7;for(const _0x399064 of _0x41d912[_0x2e4eca(0xa8)]())if(_0x399064[_0x2e4eca(0x9f)](_0x2e4eca(0xa6))===_0x54259e)return _0x399064;return null;}(this[_0x4c0ff7(0xa5)],_0x1652e0):null;_0x188339||(_0x188339=_0x375959[_0x4c0ff7(0xcd)](_0x4c0ff7(0xab),{'footnoteId':_0x1652e0}),this[_0x4c0ff7(0xa5)]&&(_0x375959[_0x4c0ff7(0x92)](_0x188339,this[_0x4c0ff7(0xa5)],_0x4c0ff7(0x96)),_0x3f9ff6=!0x0));const _0x1aed53={'id':_0x1652e0,'reference':_0x123e04,'definition':_0x188339},_0x49bf7d=I(this[_0x4c0ff7(0x79)][_0x4c0ff7(0xc6)],this[_0x4c0ff7(0x7e)],_0x123e04);this[_0x4c0ff7(0x7e)][_0x4c0ff7(0x8d)](_0x49bf7d,0x0,_0x1aed53);let _0x382b40=_0x49bf7d;return-0x1!==_0x189ec8&&(_0x382b40=Math[_0x4c0ff7(0xb1)](_0x49bf7d,_0x189ec8)),this[_0x4c0ff7(0xba)](_0x375959,_0x382b40)&&(_0x3f9ff6=!0x0),_0x3f9ff6;}[_0x3aa6db(0xa3)](_0x36fba4,_0x56da10){const _0x5434fc=_0x3aa6db,_0xe83983=this[_0x5434fc(0x7e)][_0x5434fc(0x94)](_0x8aaa2b=>_0x8aaa2b['id']===_0x56da10);if(-0x1===_0xe83983)return!0x1;let _0xf01660=!0x1;const _0x477515=this[_0x5434fc(0x7e)][_0xe83983];return _0x5434fc(0xd0)!==_0x477515[_0x5434fc(0x85)][_0x5434fc(0x87)][_0x5434fc(0xb6)]&&(_0x36fba4[_0x5434fc(0x9b)](_0x477515[_0x5434fc(0x85)]),_0xf01660=!0x0),this[_0x5434fc(0x7e)][_0x5434fc(0x8d)](_0xe83983,0x1),this[_0x5434fc(0xba)](_0x36fba4,_0xe83983)&&(_0xf01660=!0x0),_0xf01660;}[_0x3aa6db(0xb3)](_0x1c330e,_0x1eda9b){const _0xeb08c1=_0x3aa6db,_0x17ea1b=_0x1eda9b[_0xeb08c1(0x9f)](_0xeb08c1(0xa6)),_0x5019ff=this[_0xeb08c1(0x7e)][_0xeb08c1(0x94)](_0xf3ab59=>_0xf3ab59['id']===_0x17ea1b),_0x3020cd=this[_0xeb08c1(0x7e)][_0x5019ff];let _0x5615f9=!0x1;_0x3020cd[_0xeb08c1(0xc9)]=_0x1eda9b,this[_0xeb08c1(0x7e)][_0xeb08c1(0x8d)](_0x5019ff,0x1);const _0x361170=I(this[_0xeb08c1(0x79)][_0xeb08c1(0xc6)],this[_0xeb08c1(0x7e)],_0x1eda9b);return this[_0xeb08c1(0x7e)][_0xeb08c1(0x8d)](_0x361170,0x0,_0x3020cd),this[_0xeb08c1(0xba)](_0x1c330e,Math[_0xeb08c1(0xb1)](_0x5019ff,_0x361170))&&(_0x5615f9=!0x0),_0x5615f9;}[_0x3aa6db(0x7a)](_0x3c5f6f,_0x54c7d3){const _0x259353=_0x3aa6db;if(!this[_0x259353(0xa5)])return!0x1;const _0xada023=this[_0x259353(0x7e)][_0x54c7d3];let _0x4d93fc;return _0x4d93fc=this[_0x259353(0xaf)]?this[_0x259353(0xaf)]({'footnote':_0xada023,'container':this[_0x259353(0xa5)],'digits':String(this[_0x259353(0x7e)][_0x259353(0xd5)])[_0x259353(0xd5)],'value':_0x54c7d3+0x1}):String(_0x54c7d3+0x1),_0xada023[_0x259353(0xc9)][_0x259353(0x9f)](_0x259353(0xbb))!=_0x4d93fc&&(_0x3c5f6f[_0x259353(0x88)](_0x259353(0xbb),_0x4d93fc,_0xada023[_0x259353(0xc9)]),!0x0);}[_0x3aa6db(0xb2)](_0x400713){const _0x447a85=_0x3aa6db;if(!this[_0x447a85(0xa5)]||this[_0x447a85(0x7e)][_0x447a85(0xd5)]<0x2)return!0x1;if(function(_0x50c77d,_0x1e968b){const _0x217ce8=_0x447a85;if(_0x50c77d[_0x217ce8(0xd5)]!==_0x1e968b[_0x217ce8(0xd5)])return!0x1;for(let _0x1d2245=0x0;_0x1d2245<_0x50c77d[_0x217ce8(0xd5)];_0x1d2245++)if(_0x50c77d[_0x1d2245]!==_0x1e968b[_0x1d2245])return!0x1;return!0x0;}(this[_0x447a85(0x7e)][_0x447a85(0xc1)](_0x2111c4=>_0x2111c4['id']),Array[_0x447a85(0xc2)](this[_0x447a85(0xa5)][_0x447a85(0xa8)]())[_0x447a85(0xc1)](_0x12a8f7=>_0x12a8f7[_0x447a85(0x9f)](_0x447a85(0xa6)))))return!0x1;let _0x5a9aa5=!0x1;for(let _0x1ab8f8=0x0;_0x1ab8f8<this[_0x447a85(0x7e)][_0x447a85(0xd5)];_0x1ab8f8++){const _0x1d34f4=this[_0x447a85(0x7e)][_0x1ab8f8],_0x4aa531=_0x400713[_0x447a85(0xb5)](_0x1d34f4[_0x447a85(0x85)]),_0x4da344=_0x400713[_0x447a85(0xc0)](this[_0x447a85(0xa5)],_0x1ab8f8);_0x4aa531[_0x447a85(0xa2)](_0x4da344)||(_0x400713[_0x447a85(0xd3)](_0x400713[_0x447a85(0x90)](_0x1d34f4[_0x447a85(0x85)]),_0x4da344),_0x5a9aa5=!0x0);}return _0x5a9aa5;}[_0x3aa6db(0x91)](_0x1c2361){const _0x44c519=_0x3aa6db;if(!this[_0x44c519(0x7e)][_0x44c519(0xd5)])return!0x1;const {model:_0x3ffb67}=this[_0x44c519(0x79)];let _0x4e9cdf=!0x1;for(let _0x5dca3a=0x0;_0x5dca3a<this[_0x44c519(0x7e)][_0x44c519(0xd5)]-0x1;_0x5dca3a++){const _0x2ad63=this[_0x44c519(0x7e)][_0x5dca3a],_0x216545=this[_0x44c519(0x7e)][_0x5dca3a+0x1],_0x12bc11=_0x3ffb67[_0x44c519(0xb5)](_0x2ad63[_0x44c519(0xc9)]),_0x160353=_0x3ffb67[_0x44c519(0xb5)](_0x216545[_0x44c519(0xc9)]);_0x44c519(0x75)===_0x12bc11[_0x44c519(0x82)](_0x160353)&&(this[_0x44c519(0xb3)](_0x1c2361,_0x2ad63[_0x44c519(0xc9)]),_0x5dca3a=-0x1,_0x4e9cdf=!0x0);}return _0x4e9cdf;}}function _0x3d44(_0x48b757,_0x40e270){const _0x31f67e=_0x31f6();return _0x3d44=function(_0x3d44ef,_0x1f0d9d){_0x3d44ef=_0x3d44ef-0x72;let _0x41bc22=_0x31f67e[_0x3d44ef];return _0x41bc22;},_0x3d44(_0x48b757,_0x40e270);}function _(_0x7cec3e,_0x5ab537,_0xb2bea8){const _0x3a5b16=_0x3aa6db;if(_0xb2bea8[_0x3a5b16(0x93)])return!0x1;const _0x5ebae0=_0x5ab537?_0x3a5b16(0xc3):_0x3a5b16(0x7d);return _0x7cec3e[_0x3a5b16(0x92)](_0x7cec3e[_0x3a5b16(0xcd)](_0x5ebae0),_0xb2bea8),!0x0;}function I(_0x4b6e0a,_0x1c8597,_0x4c5b9b){const _0x56dbef=_0x3aa6db;if(0x0===_0x1c8597[_0x56dbef(0xd5)])return 0x0;const _0x4bd142=_0x4b6e0a[_0x56dbef(0xb5)](_0x4c5b9b);for(let _0x3df626=0x0;_0x3df626<_0x1c8597[_0x56dbef(0xd5)];_0x3df626++){const _0x210fd4=_0x1c8597[_0x3df626],_0x45c469=_0x4b6e0a[_0x56dbef(0xb5)](_0x210fd4[_0x56dbef(0xc9)]);if(_0x56dbef(0x84)===_0x4bd142[_0x56dbef(0x82)](_0x45c469))return _0x3df626;}const _0x50d512=_0x4c5b9b[_0x56dbef(0x87)];let _0x283f12=-0x1;for(let _0x3a1cd1=_0x1c8597[_0x56dbef(0xd5)]-0x1;_0x3a1cd1>=0x0;_0x3a1cd1--)if(_0x1c8597[_0x3a1cd1][_0x56dbef(0xc9)][_0x56dbef(0x87)]===_0x50d512){_0x283f12=_0x3a1cd1;break;}if(-0x1!==_0x283f12)return _0x283f12+0x1;const _0x483f1d=_0x4b6e0a[_0x56dbef(0x9e)][_0x56dbef(0xa9)](),_0x1a0ff5=_0x483f1d[_0x56dbef(0x86)](_0x50d512[_0x56dbef(0xb6)]),_0x1f235a=_0x483f1d[_0x1a0ff5+0x1];if(_0x1f235a){for(let _0x11d4cd=0x0;_0x11d4cd<_0x1c8597[_0x56dbef(0xd5)];_0x11d4cd++)if(_0x1c8597[_0x11d4cd][_0x56dbef(0xc9)][_0x56dbef(0x87)][_0x56dbef(0xb6)]===_0x1f235a)return _0x11d4cd;}return _0x1c8597[_0x56dbef(0xd5)];}
23
+ const _0x277706=_0x3eee;(function(_0x142e9f,_0x291c42){const _0x1b2bad=_0x3eee,_0x300b57=_0x142e9f();while(!![]){try{const _0x2106fa=parseInt(_0x1b2bad(0x92))/0x1+parseInt(_0x1b2bad(0xda))/0x2+parseInt(_0x1b2bad(0xa1))/0x3+parseInt(_0x1b2bad(0xed))/0x4*(parseInt(_0x1b2bad(0xaf))/0x5)+parseInt(_0x1b2bad(0xc3))/0x6*(parseInt(_0x1b2bad(0xd0))/0x7)+parseInt(_0x1b2bad(0xa9))/0x8+parseInt(_0x1b2bad(0x8d))/0x9*(-parseInt(_0x1b2bad(0xe1))/0xa);if(_0x2106fa===_0x291c42)break;else _0x300b57['push'](_0x300b57['shift']());}catch(_0x46feb1){_0x300b57['push'](_0x300b57['shift']());}}}(_0x3518,0xbcbad));function _0x3eee(_0x2f5bdf,_0x26faf0){const _0x3518c4=_0x3518();return _0x3eee=function(_0x3eee0d,_0x24cd15){_0x3eee0d=_0x3eee0d-0x8d;let _0x480144=_0x3518c4[_0x3eee0d];return _0x480144;},_0x3eee(_0x2f5bdf,_0x26faf0);}import{Plugin as _0x34d622}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1f0c44}from'./modelelementtracker.js';export class FootnotesTracker extends _0x34d622{[_0x277706(0xaa)]=[];[_0x277706(0x90)]=null;[_0x277706(0xec)]=null;[_0x277706(0xee)];[_0x277706(0xde)];[_0x277706(0xf1)];static get[_0x277706(0xd5)](){const _0x58abee=_0x277706;return _0x58abee(0xdf);}static get[_0x277706(0xb8)](){return!0x0;}static get[_0x277706(0xcd)](){return!0x0;}constructor(_0x328a63){const _0x114291=_0x277706;super(_0x328a63),this[_0x114291(0xee)]=new _0x1f0c44(this[_0x114291(0x8e)][_0x114291(0xb2)],{'elementName':_0x114291(0xa4),'getElementKey':()=>_0x114291(0xa8)}),this[_0x114291(0xde)]=new _0x1f0c44(this[_0x114291(0x8e)][_0x114291(0xb2)],{'elementName':_0x114291(0xcf),'getElementKey':_0x47c89a=>_0x47c89a[_0x114291(0xe5)](_0x114291(0xe4))}),this[_0x114291(0xf1)]=new _0x1f0c44(this[_0x114291(0x8e)][_0x114291(0xb2)],{'elementName':_0x114291(0xc9),'getElementKey':_0x4d2baf=>_0x4d2baf[_0x114291(0xe5)](_0x114291(0xe4))});}[_0x277706(0xc1)](){const _0x2d89f5=_0x277706,{editor:_0x249ca4}=this,{model:_0x4b6cba,data:_0x14ca05}=_0x249ca4;_0x4b6cba[_0x2d89f5(0xd9)][_0x2d89f5(0xa2)](_0x333943=>{const _0xb8357d=_0x2d89f5,_0xc0eb2a=_0x4b6cba[_0xb8357d(0xd9)][_0xb8357d(0x9d)][_0xb8357d(0xb7)]();let _0x311ebb=!0x1;return this[_0xb8357d(0x8f)](_0x333943,_0xc0eb2a)&&(_0x311ebb=!0x0),this[_0xb8357d(0x9a)](_0x333943,_0xc0eb2a)&&(_0x311ebb=!0x0),this[_0xb8357d(0xe3)](_0x333943,_0xc0eb2a)&&(_0x311ebb=!0x0),this[_0xb8357d(0xd4)](_0x333943)&&(_0x311ebb=!0x0),this[_0xb8357d(0xba)](_0x333943)&&(_0x311ebb=!0x0),this[_0xb8357d(0x9b)](_0x333943)&&(_0x311ebb=!0x0),_0x311ebb;}),this[_0x2d89f5(0x97)](_0x4b6cba[_0x2d89f5(0xd9)],_0x2d89f5(0xc2),()=>{const _0x1ca9e4=_0x2d89f5;_0x4b6cba[_0x1ca9e4(0xef)]({'isUndoable':!0x1},_0x5769b7=>{const _0x498d1f=_0x1ca9e4;this[_0x498d1f(0xa7)](_0x5769b7);});},{'priority':_0x2d89f5(0xa5)}),this[_0x2d89f5(0x97)](_0x14ca05,_0x2d89f5(0xbc),()=>{const _0x1ceea3=_0x2d89f5;this[_0x1ceea3(0xaa)]=[],this[_0x1ceea3(0xee)][_0x1ceea3(0x91)](),this[_0x1ceea3(0xde)][_0x1ceea3(0x91)](),this[_0x1ceea3(0xf1)][_0x1ceea3(0x91)]();},{'priority':_0x2d89f5(0xa0)});}[_0x277706(0xca)](){const _0x13b379=_0x277706;return this[_0x13b379(0x90)];}[_0x277706(0x9f)](_0x5445cb){const _0x544f32=_0x277706;return this[_0x544f32(0xaa)][_0x544f32(0xd6)](_0x20064e=>_0x20064e['id']===_0x5445cb)||null;}[_0x277706(0xb9)](){const _0x494d60=_0x277706;return Array[_0x494d60(0x96)](this[_0x494d60(0xaa)]);}[_0x277706(0xe0)](){const _0x59450e=_0x277706;return this[_0x59450e(0xec)];}[_0x277706(0xbf)](_0x13f38e){const _0x104769=_0x277706;this[_0x104769(0xec)]=_0x13f38e;}[_0x277706(0xc5)](_0x52816b,_0x5e1086=0x0){const _0x22a6fb=_0x277706;let _0x50cf17=!0x1;for(let _0x2748e0=_0x5e1086;_0x2748e0<this[_0x22a6fb(0xaa)][_0x22a6fb(0xdd)];_0x2748e0++)this[_0x22a6fb(0xc0)](_0x52816b,_0x2748e0)&&(_0x50cf17=!0x0);return _0x50cf17;}[_0x277706(0xad)](_0x1ab7a2,_0xcf401a){const _0x4bbe41=_0x277706,_0x98165a=_0x1ab7a2[_0x4bbe41(0xd8)](_0x4bbe41(0xa4),{});return _0x1ab7a2[_0x4bbe41(0xb4)](_0x98165a,_0xcf401a),this[_0x4bbe41(0x90)]=_0x98165a,_0x98165a;}[_0x277706(0xa7)](_0x5a2cc2){const _0x4da298=_0x277706;if(!this[_0x4da298(0xaa)][_0x4da298(0xdd)]||this[_0x4da298(0x90)])return;const _0x23f8f1=this[_0x4da298(0xaa)][0x0][_0x4da298(0xc6)][_0x4da298(0x93)],_0x49de5b=this[_0x4da298(0xad)](_0x5a2cc2,_0x23f8f1);for(const _0x2218cb of this[_0x4da298(0xaa)])_0x2218cb[_0x4da298(0xc4)][_0x4da298(0x9e)]||_0x5a2cc2[_0x4da298(0xf0)](_0x2218cb[_0x4da298(0xc4)],_0x49de5b,_0x4da298(0xd2));this[_0x4da298(0xc5)](_0x5a2cc2);}[_0x277706(0x8f)](_0x30fd92,_0x3a27ac){const _0x88c458=_0x277706;let _0x1d98de=!0x1;const {inserted:_0x3b28b5,removed:_0x58da8d,moved:_0x594270}=this[_0x88c458(0xee)][_0x88c458(0xb7)](_0x3a27ac);if(_0x594270[_0x88c458(0xdd)]&&(this[_0x88c458(0x90)]=_0x594270[0x0]),_0x3b28b5[_0x88c458(0xdd)]){if(_0x3b28b5[_0x88c458(0xdd)]>0x1||this[_0x88c458(0x90)]&&_0x3b28b5[_0x88c458(0xae)](_0x50db22=>_0x50db22!==this[_0x88c458(0x90)])){const _0x28f2c8=_0x30fd92[_0x88c458(0xd8)](_0x88c458(0xa4),{}),_0x58e06b=[];this[_0x88c458(0x90)]&&_0x58e06b[_0x88c458(0xc7)](this[_0x88c458(0x90)]),_0x58e06b[_0x88c458(0xc7)](..._0x3b28b5),_0x30fd92[_0x88c458(0xf0)](_0x28f2c8,_0x58e06b[0x0],_0x88c458(0xcc));for(const _0x1b3c91 of _0x58e06b)_0x30fd92[_0x88c458(0xe9)](_0x30fd92[_0x88c458(0xdc)](_0x1b3c91),_0x30fd92[_0x88c458(0xe8)](_0x28f2c8,_0x88c458(0xd2))),_0x30fd92[_0x88c458(0xea)](_0x1b3c91);this[_0x88c458(0x90)]=_0x28f2c8,this[_0x88c458(0xc5)](_0x30fd92),_0x1d98de=!0x0;}else this[_0x88c458(0x90)]=_0x3b28b5[0x0];}if(_0x58da8d[_0x88c458(0xdd)]&&_0x88c458(0xce)===this[_0x88c458(0x90)]?.[_0x88c458(0x93)][_0x88c458(0xe7)]){for(const _0x31877d of this[_0x88c458(0xaa)])_0x30fd92[_0x88c458(0xea)](_0x31877d[_0x88c458(0xc6)]),_0x1d98de=!0x0;this[_0x88c458(0xaa)]=[],this[_0x88c458(0x90)]=null;}return _0x1d98de;}[_0x277706(0x9a)](_0x4624c3,_0x418580){const _0x507024=_0x277706;let _0x28f231=!0x1;const _0xd5c03d=this[_0x507024(0x8e)][_0x507024(0x99)][_0x507024(0x94)](_0x507024(0xab)),{inserted:_0x1a407e,moved:_0x3d4c40}=this[_0x507024(0xf1)][_0x507024(0xb7)](_0x418580);for(const _0x2306f1 of[..._0x3d4c40,..._0x1a407e]){const _0x4dd55d=_0x2306f1[_0x507024(0xe5)](_0x507024(0xe4)),_0x21236a=this[_0x507024(0x9f)](_0x4dd55d);_0x21236a&&(_0x21236a[_0x507024(0xc4)]=_0x2306f1),_(_0x4624c3,_0xd5c03d,_0x2306f1)&&(_0x28f231=!0x0);}return _0x28f231;}[_0x277706(0xe3)](_0x1827d6,_0x37db18){const _0x32ffef=_0x277706;let _0x57c0a0=!0x1;const {removed:_0x25589c,inserted:_0x3451af,moved:_0x56a497}=this[_0x32ffef(0xde)][_0x32ffef(0xb7)](_0x37db18);for(const _0x28ed74 of _0x25589c)this[_0x32ffef(0xd3)](_0x1827d6,_0x28ed74)&&(_0x57c0a0=!0x0);for(const _0x416267 of _0x3451af)this[_0x32ffef(0xd1)](_0x1827d6,_0x416267)&&(_0x57c0a0=!0x0);for(const _0x12e46a of _0x56a497)this[_0x32ffef(0xac)](_0x1827d6,_0x12e46a)&&(_0x57c0a0=!0x0);return _0x57c0a0;}[_0x277706(0xba)](_0x43e845){const _0x42689b=_0x277706;if(!this[_0x42689b(0x90)])return!0x1;let _0x1abc00=!0x1;if(this[_0x42689b(0x90)][_0x42689b(0xcb)]!==this[_0x42689b(0xaa)][_0x42689b(0xdd)]){const _0x28c9b9=[];for(const _0x249fa4 of this[_0x42689b(0x90)][_0x42689b(0xa6)]()){const _0x544e03=_0x249fa4[_0x42689b(0xe5)](_0x42689b(0xe4));this[_0x42689b(0x9f)](_0x544e03)||(_0x28c9b9[_0x42689b(0xe6)](_0x249fa4),_0x1abc00=!0x0);}for(const _0x8da737 of _0x28c9b9)_0x43e845[_0x42689b(0xea)](_0x8da737);}const _0x4287e5=new Set(),_0x3cbbd1=[];for(const _0x148896 of this[_0x42689b(0x90)][_0x42689b(0xa6)]()){const _0x3cf7b5=_0x148896[_0x42689b(0xe5)](_0x42689b(0xe4));_0x4287e5[_0x42689b(0x98)](_0x3cf7b5)?(_0x3cbbd1[_0x42689b(0xe6)](_0x148896),_0x1abc00=!0x0):_0x4287e5[_0x42689b(0xb1)](_0x3cf7b5);}for(const _0x3559e3 of _0x3cbbd1)_0x43e845[_0x42689b(0xea)](_0x3559e3);return this[_0x42689b(0x90)][_0x42689b(0xcb)]||(_0x43e845[_0x42689b(0xea)](this[_0x42689b(0x90)]),this[_0x42689b(0x90)]=null,_0x1abc00=!0x0),_0x1abc00;}[_0x277706(0xd1)](_0x32a9a2,_0x2df8fe){const _0x1d59a7=_0x277706;if(this[_0x1d59a7(0xaa)][_0x1d59a7(0xd6)](_0x1bc838=>_0x1bc838[_0x1d59a7(0xc6)]===_0x2df8fe))return!0x1;let _0x42c86f=!0x1;const _0x349592=_0x2df8fe[_0x1d59a7(0xe5)](_0x1d59a7(0xe4)),_0x57d7e4=this[_0x1d59a7(0xaa)][_0x1d59a7(0x9c)](_0x2c4552=>_0x2c4552['id']===_0x349592);-0x1!==_0x57d7e4&&(_0x32a9a2[_0x1d59a7(0xea)](this[_0x1d59a7(0xaa)][_0x57d7e4][_0x1d59a7(0xc6)]),this[_0x1d59a7(0xaa)][_0x1d59a7(0xd7)](_0x57d7e4,0x1),_0x42c86f=!0x0);let _0x56b19a=this[_0x1d59a7(0x90)]?function(_0x70ccd6,_0x5b8ad7){const _0x1c0673=_0x1d59a7;for(const _0x398152 of _0x70ccd6[_0x1c0673(0xa6)]())if(_0x398152[_0x1c0673(0xe5)](_0x1c0673(0xe4))===_0x5b8ad7)return _0x398152;return null;}(this[_0x1d59a7(0x90)],_0x349592):null;_0x56b19a||(_0x56b19a=_0x32a9a2[_0x1d59a7(0xd8)](_0x1d59a7(0xc9),{'footnoteId':_0x349592}),this[_0x1d59a7(0x90)]&&(_0x32a9a2[_0x1d59a7(0xf0)](_0x56b19a,this[_0x1d59a7(0x90)],_0x1d59a7(0xd2)),_0x42c86f=!0x0));const _0x526b7b={'id':_0x349592,'reference':_0x2df8fe,'definition':_0x56b19a},_0x5502b4=I(this[_0x1d59a7(0x8e)][_0x1d59a7(0xb2)],this[_0x1d59a7(0xaa)],_0x2df8fe);this[_0x1d59a7(0xaa)][_0x1d59a7(0xd7)](_0x5502b4,0x0,_0x526b7b);let _0x493b2b=_0x5502b4;return-0x1!==_0x57d7e4&&(_0x493b2b=Math[_0x1d59a7(0xb3)](_0x5502b4,_0x57d7e4)),this[_0x1d59a7(0xc5)](_0x32a9a2,_0x493b2b)&&(_0x42c86f=!0x0),_0x42c86f;}[_0x277706(0xd3)](_0x41b590,_0x6b4d5a){const _0x7926b3=_0x277706,_0x22718b=this[_0x7926b3(0xaa)][_0x7926b3(0x9c)](_0x3f71c6=>_0x3f71c6['id']===_0x6b4d5a);if(-0x1===_0x22718b)return!0x1;let _0x5b88ef=!0x1;const _0x12e807=this[_0x7926b3(0xaa)][_0x22718b];return _0x7926b3(0xce)!==_0x12e807[_0x7926b3(0xc4)][_0x7926b3(0x93)][_0x7926b3(0xe7)]&&(_0x41b590[_0x7926b3(0xea)](_0x12e807[_0x7926b3(0xc4)]),_0x5b88ef=!0x0),this[_0x7926b3(0xaa)][_0x7926b3(0xd7)](_0x22718b,0x1),this[_0x7926b3(0xc5)](_0x41b590,_0x22718b)&&(_0x5b88ef=!0x0),_0x5b88ef;}[_0x277706(0xac)](_0x4b65f6,_0x1e3c2c){const _0x5005ed=_0x277706,_0x2d5d3d=_0x1e3c2c[_0x5005ed(0xe5)](_0x5005ed(0xe4)),_0x5c1a21=this[_0x5005ed(0xaa)][_0x5005ed(0x9c)](_0x1898ff=>_0x1898ff['id']===_0x2d5d3d),_0x5823b6=this[_0x5005ed(0xaa)][_0x5c1a21];let _0x3ec620=!0x1;_0x5823b6[_0x5005ed(0xc6)]=_0x1e3c2c,this[_0x5005ed(0xaa)][_0x5005ed(0xd7)](_0x5c1a21,0x1);const _0x158b8a=I(this[_0x5005ed(0x8e)][_0x5005ed(0xb2)],this[_0x5005ed(0xaa)],_0x1e3c2c);return this[_0x5005ed(0xaa)][_0x5005ed(0xd7)](_0x158b8a,0x0,_0x5823b6),this[_0x5005ed(0xc5)](_0x4b65f6,Math[_0x5005ed(0xb3)](_0x5c1a21,_0x158b8a))&&(_0x3ec620=!0x0),_0x3ec620;}[_0x277706(0xc0)](_0x1843d7,_0x3e04e7){const _0x37d277=_0x277706;if(!this[_0x37d277(0x90)])return!0x1;const _0x451fd2=this[_0x37d277(0xaa)][_0x3e04e7];let _0x429509;return _0x429509=this[_0x37d277(0xec)]?this[_0x37d277(0xec)]({'footnote':_0x451fd2,'container':this[_0x37d277(0x90)],'digits':String(this[_0x37d277(0xaa)][_0x37d277(0xdd)])[_0x37d277(0xdd)],'value':_0x3e04e7+0x1}):String(_0x3e04e7+0x1),_0x451fd2[_0x37d277(0xc6)][_0x37d277(0xe5)](_0x37d277(0xb5))!=_0x429509&&(_0x1843d7[_0x37d277(0xc8)](_0x37d277(0xb5),_0x429509,_0x451fd2[_0x37d277(0xc6)]),!0x0);}[_0x277706(0x9b)](_0x149b23){const _0x427afd=_0x277706;if(!this[_0x427afd(0x90)]||this[_0x427afd(0xaa)][_0x427afd(0xdd)]<0x2)return!0x1;if(function(_0x2bc7fc,_0x328dae){const _0x21ecee=_0x427afd;if(_0x2bc7fc[_0x21ecee(0xdd)]!==_0x328dae[_0x21ecee(0xdd)])return!0x1;for(let _0x30273a=0x0;_0x30273a<_0x2bc7fc[_0x21ecee(0xdd)];_0x30273a++)if(_0x2bc7fc[_0x30273a]!==_0x328dae[_0x30273a])return!0x1;return!0x0;}(this[_0x427afd(0xaa)][_0x427afd(0xdb)](_0x1b205f=>_0x1b205f['id']),Array[_0x427afd(0x96)](this[_0x427afd(0x90)][_0x427afd(0xa6)]())[_0x427afd(0xdb)](_0x1aecc7=>_0x1aecc7[_0x427afd(0xe5)](_0x427afd(0xe4)))))return!0x1;let _0x4207f6=!0x1;for(let _0x1d42f7=0x0;_0x1d42f7<this[_0x427afd(0xaa)][_0x427afd(0xdd)];_0x1d42f7++){const _0x4dbb4d=this[_0x427afd(0xaa)][_0x1d42f7],_0x8fe23c=_0x149b23[_0x427afd(0xbe)](_0x4dbb4d[_0x427afd(0xc4)]),_0x52d9f9=_0x149b23[_0x427afd(0xe8)](this[_0x427afd(0x90)],_0x1d42f7);_0x8fe23c[_0x427afd(0xb0)](_0x52d9f9)||(_0x149b23[_0x427afd(0xe9)](_0x149b23[_0x427afd(0xeb)](_0x4dbb4d[_0x427afd(0xc4)]),_0x52d9f9),_0x4207f6=!0x0);}return _0x4207f6;}[_0x277706(0xd4)](_0x48362d){const _0x1f1ab7=_0x277706;if(!this[_0x1f1ab7(0xaa)][_0x1f1ab7(0xdd)])return!0x1;const {model:_0x9a3cc0}=this[_0x1f1ab7(0x8e)];let _0x47736d=!0x1;for(let _0x1996b5=0x0;_0x1996b5<this[_0x1f1ab7(0xaa)][_0x1f1ab7(0xdd)]-0x1;_0x1996b5++){const _0x3fa1b2=this[_0x1f1ab7(0xaa)][_0x1996b5],_0x4905e6=this[_0x1f1ab7(0xaa)][_0x1996b5+0x1],_0x5314bc=_0x9a3cc0[_0x1f1ab7(0xbe)](_0x3fa1b2[_0x1f1ab7(0xc6)]),_0x5b21bc=_0x9a3cc0[_0x1f1ab7(0xbe)](_0x4905e6[_0x1f1ab7(0xc6)]);_0x1f1ab7(0xa3)===_0x5314bc[_0x1f1ab7(0xb6)](_0x5b21bc)&&(this[_0x1f1ab7(0xac)](_0x48362d,_0x3fa1b2[_0x1f1ab7(0xc6)]),_0x1996b5=-0x1,_0x47736d=!0x0);}return _0x47736d;}}function _(_0x5822f5,_0x41c8ef,_0x267932){const _0x47b2cc=_0x277706;if(_0x267932[_0x47b2cc(0xcb)])return!0x1;const _0x383986=_0x41c8ef?_0x47b2cc(0xe2):_0x47b2cc(0x95);return _0x5822f5[_0x47b2cc(0xf0)](_0x5822f5[_0x47b2cc(0xd8)](_0x383986),_0x267932),!0x0;}function _0x3518(){const _0x528921=['650856mDGCEl','registerPostFixer','after','footnotesDefinitions','low','getChildren','_ensureFootnotesDefinitionsContainerExists','singleton','9121208mxCaDM','_footnotes','footnotes.multiBlock','_handleMovedFootnoteReference','_insertEmptyFootnotesDefinitionsContainer','some','10rMoZDv','isEqual','add','model','min','append','footnoteCounter','compareWith','getChanges','isOfficialPlugin','getFootnotes','_handleFootnotesDefinitionsObjectSync','indexOf','set','getRootNames','createPositionBefore','setFootnoteFormatter','_updateFootnoteRefCounter','init','change:data','6yBzRab','definition','_updateFootnotesCounters','reference','push','setAttribute','footnoteDefinition','getFootnotesDefinitionsObjectElement','childCount','before','isPremiumPlugin','$graveyard','footnoteRef','5950378whGruC','_handleInsertedFootnoteReference','end','_handleRemoveFootnoteReferenceById','_ensureFootnotesReferencesHaveProperOrder','pluginName','find','splice','createElement','document','1061894ykixOq','map','createRangeIn','length','_footnoteRefsTracker','FootnotesTracker','getFootnotesFormatter','10rLBUlL','paragraph','_handleFootnoteReferencesChanges','footnoteId','getAttribute','unshift','rootName','createPositionAt','move','remove','createRangeOn','_footnoteFormatter','1111416qHEmCG','_footnoteDefsContainerTracker','enqueueChange','insert','_footnoteDefsTracker','36190701jtNJQe','editor','_handleFootnotesDefinitionsObjectChanges','_footnotesDefinitions','reset','1500414mORFXD','root','get','footnoteInlineContent','from','listenTo','has','config','_handleFootnoteDefinitionsChanges','_sortFootnoteDefinitions','findIndex','differ','parent','getFootnote','high'];_0x3518=function(){return _0x528921;};return _0x3518();}function I(_0x494bac,_0x83a430,_0x3efc76){const _0x5a4ba6=_0x277706;if(0x0===_0x83a430[_0x5a4ba6(0xdd)])return 0x0;const _0x5d78d7=_0x494bac[_0x5a4ba6(0xbe)](_0x3efc76);for(let _0x40d9a2=0x0;_0x40d9a2<_0x83a430[_0x5a4ba6(0xdd)];_0x40d9a2++){const _0x3f507e=_0x83a430[_0x40d9a2],_0x4dc503=_0x494bac[_0x5a4ba6(0xbe)](_0x3f507e[_0x5a4ba6(0xc6)]);if(_0x5a4ba6(0xcc)===_0x5d78d7[_0x5a4ba6(0xb6)](_0x4dc503))return _0x40d9a2;}const _0x4930c3=_0x3efc76[_0x5a4ba6(0x93)];let _0x5e5b03=-0x1;for(let _0x4ea6d9=_0x83a430[_0x5a4ba6(0xdd)]-0x1;_0x4ea6d9>=0x0;_0x4ea6d9--)if(_0x83a430[_0x4ea6d9][_0x5a4ba6(0xc6)][_0x5a4ba6(0x93)]===_0x4930c3){_0x5e5b03=_0x4ea6d9;break;}if(-0x1!==_0x5e5b03)return _0x5e5b03+0x1;const _0x2fa414=_0x494bac[_0x5a4ba6(0xd9)][_0x5a4ba6(0xbd)](),_0x5c81cc=_0x2fa414[_0x5a4ba6(0xbb)](_0x4930c3[_0x5a4ba6(0xe7)]),_0x49c677=_0x2fa414[_0x5c81cc+0x1];if(_0x49c677){for(let _0x3e0b20=0x0;_0x3e0b20<_0x83a430[_0x5a4ba6(0xdd)];_0x3e0b20++)if(_0x83a430[_0x3e0b20][_0x5a4ba6(0xc6)][_0x5a4ba6(0x93)][_0x5a4ba6(0xe7)]===_0x49c677)return _0x3e0b20;}return _0x83a430[_0x5a4ba6(0xdd)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x37fca1,MenuBarMenuListItemButtonView as _0x3eb7a8}from'ckeditor5/src/ui.js';import{Plugin as _0x434d54}from'ckeditor5/src/core.js';import{IconFootnote as _0x12e143}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x434d54{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5cdc2d}=this,{componentFactory:_0x2dd19a}=_0x5cdc2d['ui'];_0x2dd19a['add']('insertFootnote',x(_0x5cdc2d,_0x37fca1)),_0x2dd19a['add']('menuBar:insertFootnote',x(_0x5cdc2d,_0x3eb7a8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ea045=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24afc;for(const _0x174738 in _0x1ea045){const _0x40f7c3=_0x174738,_0x37a9bf=_0x1ea045[_0x40f7c3];if('footnotesLicenseKeyValid'==_0x37a9bf||'footnotesLicenseKeyInvalid'==_0x37a9bf||'footnotesLicenseKeyExpired'==_0x37a9bf||'footnotesLicenseKeyDomainLimit'==_0x37a9bf||'footnotesLicenseKeyNotAllowed'==_0x37a9bf||'footnotesLicenseKeyEvaluationLimit'==_0x37a9bf||'footnotesLicenseKeyTrialLimit'==_0x37a9bf||'footnotesLicenseKeyUsageLimit'==_0x37a9bf){delete _0x1ea045[_0x40f7c3],_0x24afc=_0x37a9bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x24afc&&_0x1ea045['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x24afc&&_0x1ea045['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x24afc&&_0x1ea045['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x47c75e,_0xffe67){const _0x5c598=_0x47c75e['commands']['get']('insertFootnote');return _0x15b55e=>{const {t:t}=_0x15b55e,_0x2593b4=new _0xffe67(_0x15b55e),_0x309810=_0x2593b4 instanceof _0x3eb7a8;return _0x2593b4['bind']('isEnabled')['to'](_0x5c598,'isEnabled'),_0x2593b4['set']({'label':t(_0x309810?'Footnote':'Insert\x20footnote'),'icon':_0x12e143,'tooltip':!0x0}),_0x2593b4['on']('execute',()=>{_0x5c598['execute'](),_0x47c75e['editing']['view']['focus']();}),_0x2593b4;};}
23
+ import{ButtonView as _0x1869b3,MenuBarMenuListItemButtonView as _0x5d887a}from'ckeditor5/src/ui.js';import{Plugin as _0x5da6b2}from'ckeditor5/src/core.js';import{IconFootnote as _0x4b3f61}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5da6b2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x183b90}=this,{componentFactory:_0x46aba6}=_0x183b90['ui'];_0x46aba6['add']('insertFootnote',x(_0x183b90,_0x1869b3)),_0x46aba6['add']('menuBar:insertFootnote',x(_0x183b90,_0x5d887a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56e4fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39f9a4;for(const _0x4ba476 in _0x56e4fc){const _0x263985=_0x4ba476,_0xaf72cb=_0x56e4fc[_0x263985];if('footnotesLicenseKeyValid'==_0xaf72cb||'footnotesLicenseKeyInvalid'==_0xaf72cb||'footnotesLicenseKeyExpired'==_0xaf72cb||'footnotesLicenseKeyDomainLimit'==_0xaf72cb||'footnotesLicenseKeyNotAllowed'==_0xaf72cb||'footnotesLicenseKeyEvaluationLimit'==_0xaf72cb||'footnotesLicenseKeyTrialLimit'==_0xaf72cb||'footnotesLicenseKeyUsageLimit'==_0xaf72cb){delete _0x56e4fc[_0x263985],_0x39f9a4=_0xaf72cb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5b2712,_0xb4e782){const _0x597ebc=_0x5b2712['commands']['get']('insertFootnote');return _0x5e2504=>{const {t:t}=_0x5e2504,_0x21eec5=new _0xb4e782(_0x5e2504),_0x2d25ba=_0x21eec5 instanceof _0x5d887a;return _0x21eec5['bind']('isEnabled')['to'](_0x597ebc,'isEnabled'),_0x21eec5['set']({'label':t(_0x2d25ba?'Footnote':'Insert\x20footnote'),'icon':_0x4b3f61,'tooltip':!0x0}),_0x21eec5['on']('execute',()=>{_0x597ebc['execute'](),_0x5b2712['editing']['view']['focus']();}),_0x21eec5;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2821eb,_0x5ee48f){var _0x4a7515=_0x1632,_0xd1c417=_0x2821eb();while(!![]){try{var _0x264828=parseInt(_0x4a7515(0x7f))/0x1*(-parseInt(_0x4a7515(0x80))/0x2)+parseInt(_0x4a7515(0x7c))/0x3*(parseInt(_0x4a7515(0x7d))/0x4)+parseInt(_0x4a7515(0x76))/0x5+parseInt(_0x4a7515(0x7a))/0x6*(-parseInt(_0x4a7515(0x7b))/0x7)+parseInt(_0x4a7515(0x7e))/0x8+-parseInt(_0x4a7515(0x78))/0x9+-parseInt(_0x4a7515(0x79))/0xa*(-parseInt(_0x4a7515(0x77))/0xb);if(_0x264828===_0x5ee48f)break;else _0xd1c417['push'](_0xd1c417['shift']());}catch(_0x2a59ad){_0xd1c417['push'](_0xd1c417['shift']());}}}(_0x2192,0x30cc4));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x2192(){var _0x5d0ffc=['10wXxEqk','6lNlDfM','1666840GlxjfH','2904QLMVJo','1288PhdGTq','2575680WmqHUv','13909UQGmuQ','50VPLett','636205YKwAUY','936562GvrpKj','542862xzKuhL'];_0x2192=function(){return _0x5d0ffc;};return _0x2192();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x1632(_0x10448d,_0xd19038){var _0x219219=_0x2192();return _0x1632=function(_0x1632ae,_0x3fd9e7){_0x1632ae=_0x1632ae-0x76;var _0x18364c=_0x219219[_0x1632ae];return _0x18364c;},_0x1632(_0x10448d,_0xd19038);}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x2b8d3d,_0xbd5661){var _0x50f21d=_0x1d26,_0x2ac412=_0x2b8d3d();while(!![]){try{var _0x4fb0c8=parseInt(_0x50f21d(0xc4))/0x1*(parseInt(_0x50f21d(0xc0))/0x2)+-parseInt(_0x50f21d(0xc3))/0x3+-parseInt(_0x50f21d(0xc2))/0x4+parseInt(_0x50f21d(0xbd))/0x5+-parseInt(_0x50f21d(0xc5))/0x6*(-parseInt(_0x50f21d(0xbf))/0x7)+-parseInt(_0x50f21d(0xbe))/0x8*(parseInt(_0x50f21d(0xc1))/0x9)+parseInt(_0x50f21d(0xc6))/0xa;if(_0x4fb0c8===_0xbd5661)break;else _0x2ac412['push'](_0x2ac412['shift']());}catch(_0x37f6d1){_0x2ac412['push'](_0x2ac412['shift']());}}}(_0x2889,0x7333a));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x2889(){var _0x403528=['6PrGiaQ','12036820ZWGFkg','163200tGktJz','752tZBEjM','1891015rIdjzT','2qlbjwq','73323lozMyW','1182600YHxVDp','395712mPIerA','158771IZrMvg'];_0x2889=function(){return _0x403528;};return _0x2889();}function _0x1d26(_0x1c4bee,_0x5a1d5f){var _0x2889ed=_0x2889();return _0x1d26=function(_0x1d26b5,_0x38fcf3){_0x1d26b5=_0x1d26b5-0xbd;var _0x1ac437=_0x2889ed[_0x1d26b5];return _0x1ac437;},_0x1d26(_0x1c4bee,_0x5a1d5f);}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e2ef3=_0x1b96;function _0x4c20(){const _0x33aafa=['insert','1945AgVQHQ','1571867nuWCeA','element','getElementKey','root','_getElementKey','attributes','78psWvqX','nodeAfter','94956PQReOk','slice','delete','$text','values','1131rUKeyq','set','_trackedElements','_elementName','push','remove','has','1334068aBZBBr','rootName','3yKOTSB','136146pLNZAW','24fZWIWU','type','_model','10FzsBuX','3722616NZYBNB','reset','position','clear','get','getChanges','from','$graveyard','add','1LBKUme','getItems','length','name','flat','elementName','createRangeOn','1036581UHSdHi'];_0x4c20=function(){return _0x33aafa;};return _0x4c20();}function _0x1b96(_0x501489,_0x537dea){const _0x4c2083=_0x4c20();return _0x1b96=function(_0x1b96ea,_0x4c6e04){_0x1b96ea=_0x1b96ea-0x69;let _0x40d91d=_0x4c2083[_0x1b96ea];return _0x40d91d;},_0x1b96(_0x501489,_0x537dea);}(function(_0x559ab4,_0x4f875d){const _0x41313c=_0x1b96,_0x410a49=_0x559ab4();while(!![]){try{const _0x4f1bc0=-parseInt(_0x41313c(0x90))/0x1*(-parseInt(_0x41313c(0x82))/0x2)+parseInt(_0x41313c(0x81))/0x3*(-parseInt(_0x41313c(0x7f))/0x4)+parseInt(_0x41313c(0x6a))/0x5*(-parseInt(_0x41313c(0x71))/0x6)+parseInt(_0x41313c(0x97))/0x7*(-parseInt(_0x41313c(0x83))/0x8)+parseInt(_0x41313c(0x87))/0x9+parseInt(_0x41313c(0x86))/0xa*(-parseInt(_0x41313c(0x6b))/0xb)+-parseInt(_0x41313c(0x73))/0xc*(-parseInt(_0x41313c(0x78))/0xd);if(_0x4f1bc0===_0x4f875d)break;else _0x410a49['push'](_0x410a49['shift']());}catch(_0x147431){_0x410a49['push'](_0x410a49['shift']());}}}(_0x4c20,0x3bab8));export class ModelElementTracker{[_0x4e2ef3(0x85)];[_0x4e2ef3(0x7b)];[_0x4e2ef3(0x6f)];[_0x4e2ef3(0x7a)]=new Map();constructor(_0x30b4af,_0x2037ca){const _0x2f64b7=_0x4e2ef3;this[_0x2f64b7(0x85)]=_0x30b4af,this[_0x2f64b7(0x7b)]=_0x2037ca[_0x2f64b7(0x95)],this[_0x2f64b7(0x6f)]=_0x2037ca[_0x2f64b7(0x6d)];}[_0x4e2ef3(0x88)](){const _0x1f165b=_0x4e2ef3;this[_0x1f165b(0x7a)][_0x1f165b(0x8a)]();}[_0x4e2ef3(0x8c)](_0x101d5d){const _0x50997e=_0x4e2ef3,_0x30923c=new Set(),_0xc3a745=new Map();for(const _0x211de3 of _0x101d5d){if(_0x50997e(0x69)===_0x211de3[_0x50997e(0x84)]&&_0x50997e(0x76)!==_0x211de3[_0x50997e(0x93)]&&_0x211de3[_0x50997e(0x89)][_0x50997e(0x72)]){const _0x425104=this[_0x50997e(0x85)][_0x50997e(0x96)](_0x211de3[_0x50997e(0x89)][_0x50997e(0x72)]);for(const _0xec0d78 of _0x425104[_0x50997e(0x91)]()){if(!_0xec0d78['is'](_0x50997e(0x6c),this[_0x50997e(0x7b)]))continue;const _0x1136a5=this[_0x50997e(0x6f)](_0xec0d78);_0xc3a745[_0x50997e(0x7e)](_0x1136a5)||_0xc3a745[_0x50997e(0x79)](_0x1136a5,[]),_0xc3a745[_0x50997e(0x8b)](_0x1136a5)[_0x50997e(0x7c)](_0xec0d78);}}if(_0x50997e(0x7d)===_0x211de3[_0x50997e(0x84)]&&_0x211de3[_0x50997e(0x93)]===this[_0x50997e(0x7b)]){const _0x4b7a07=this[_0x50997e(0x6f)]({'getAttribute':_0x47cab7=>_0x211de3[_0x50997e(0x70)][_0x50997e(0x8b)](_0x47cab7)});_0x30923c[_0x50997e(0x8f)](_0x4b7a07);}}for(const [_0x1327b9,_0x4644eb]of this[_0x50997e(0x7a)])_0x50997e(0x8e)===_0x4644eb[_0x50997e(0x6e)][_0x50997e(0x80)]&&_0x30923c[_0x50997e(0x8f)](_0x1327b9);for(const _0x18f8ad of _0x30923c)this[_0x50997e(0x7a)][_0x50997e(0x75)](_0x18f8ad);for(const [_0x15744d,_0x214c1a]of _0xc3a745)this[_0x50997e(0x7a)][_0x50997e(0x79)](_0x15744d,_0x214c1a[_0x214c1a[_0x50997e(0x92)]-0x1]);const _0x4c6a4e=new Set();for(const [_0x394e2e,_0x344794]of _0xc3a745)_0x30923c[_0x50997e(0x7e)](_0x394e2e)&&(_0x4c6a4e[_0x50997e(0x8f)](_0x344794[0x0]),_0x344794[_0x50997e(0x92)]>0x1?_0xc3a745[_0x50997e(0x79)](_0x394e2e,_0x344794[_0x50997e(0x74)](0x1)):_0xc3a745[_0x50997e(0x75)](_0x394e2e),_0x30923c[_0x50997e(0x75)](_0x394e2e));return{'removed':Array[_0x50997e(0x8d)](_0x30923c),'inserted':Array[_0x50997e(0x8d)](_0xc3a745[_0x50997e(0x77)]())[_0x50997e(0x94)](),'moved':Array[_0x50997e(0x8d)](_0x4c6a4e)};}}
23
+ function _0x1dfe(){const _0x2eac08=['nodeAfter','type','root','$text','name','14276187FSjHRd','_trackedElements','attributes','elementName','rootName','slice','4600855fDGFGL','values','get','from','clear','_model','length','_getElementKey','getChanges','insert','has','push','getElementKey','getItems','1493994cbLzpT','set','6kDEZWQ','delete','172pxVXiO','createRangeOn','_elementName','add','element','reset','51477JTCHuJ','flat','4320835lLVvfq','position','remove','859681KfiMVP','$graveyard','3907408pdUzdo'];_0x1dfe=function(){return _0x2eac08;};return _0x1dfe();}const _0x51a581=_0x2f65;(function(_0x25058f,_0x14d325){const _0x8dc413=_0x2f65,_0x9f6171=_0x25058f();while(!![]){try{const _0x59237a=parseInt(_0x8dc413(0x16b))/0x1+parseInt(_0x8dc413(0x15c))/0x2+parseInt(_0x8dc413(0x166))/0x3*(-parseInt(_0x8dc413(0x160))/0x4)+parseInt(_0x8dc413(0x168))/0x5*(-parseInt(_0x8dc413(0x15e))/0x6)+-parseInt(_0x8dc413(0x179))/0x7+-parseInt(_0x8dc413(0x16d))/0x8+parseInt(_0x8dc413(0x173))/0x9;if(_0x59237a===_0x14d325)break;else _0x9f6171['push'](_0x9f6171['shift']());}catch(_0x184891){_0x9f6171['push'](_0x9f6171['shift']());}}}(_0x1dfe,0x6cb2a));function _0x2f65(_0x5e2d24,_0x33ca81){const _0x1dfe18=_0x1dfe();return _0x2f65=function(_0x2f658d,_0xa4483b){_0x2f658d=_0x2f658d-0x15c;let _0x3f1803=_0x1dfe18[_0x2f658d];return _0x3f1803;},_0x2f65(_0x5e2d24,_0x33ca81);}export class ModelElementTracker{[_0x51a581(0x17e)];[_0x51a581(0x162)];[_0x51a581(0x180)];[_0x51a581(0x174)]=new Map();constructor(_0xda733d,_0x357e26){const _0x233f49=_0x51a581;this[_0x233f49(0x17e)]=_0xda733d,this[_0x233f49(0x162)]=_0x357e26[_0x233f49(0x176)],this[_0x233f49(0x180)]=_0x357e26[_0x233f49(0x185)];}[_0x51a581(0x165)](){const _0x4e551d=_0x51a581;this[_0x4e551d(0x174)][_0x4e551d(0x17d)]();}[_0x51a581(0x181)](_0xafd87d){const _0x50ba62=_0x51a581,_0x10afb3=new Set(),_0x118598=new Map();for(const _0x2600e9 of _0xafd87d){if(_0x50ba62(0x182)===_0x2600e9[_0x50ba62(0x16f)]&&_0x50ba62(0x171)!==_0x2600e9[_0x50ba62(0x172)]&&_0x2600e9[_0x50ba62(0x169)][_0x50ba62(0x16e)]){const _0x26ebce=this[_0x50ba62(0x17e)][_0x50ba62(0x161)](_0x2600e9[_0x50ba62(0x169)][_0x50ba62(0x16e)]);for(const _0x3e488a of _0x26ebce[_0x50ba62(0x186)]()){if(!_0x3e488a['is'](_0x50ba62(0x164),this[_0x50ba62(0x162)]))continue;const _0x21bf51=this[_0x50ba62(0x180)](_0x3e488a);_0x118598[_0x50ba62(0x183)](_0x21bf51)||_0x118598[_0x50ba62(0x15d)](_0x21bf51,[]),_0x118598[_0x50ba62(0x17b)](_0x21bf51)[_0x50ba62(0x184)](_0x3e488a);}}if(_0x50ba62(0x16a)===_0x2600e9[_0x50ba62(0x16f)]&&_0x2600e9[_0x50ba62(0x172)]===this[_0x50ba62(0x162)]){const _0x34beb2=this[_0x50ba62(0x180)]({'getAttribute':_0x1e3844=>_0x2600e9[_0x50ba62(0x175)][_0x50ba62(0x17b)](_0x1e3844)});_0x10afb3[_0x50ba62(0x163)](_0x34beb2);}}for(const [_0x578617,_0x4300c8]of this[_0x50ba62(0x174)])_0x50ba62(0x16c)===_0x4300c8[_0x50ba62(0x170)][_0x50ba62(0x177)]&&_0x10afb3[_0x50ba62(0x163)](_0x578617);for(const _0x240bb4 of _0x10afb3)this[_0x50ba62(0x174)][_0x50ba62(0x15f)](_0x240bb4);for(const [_0x1182dd,_0x53a36c]of _0x118598)this[_0x50ba62(0x174)][_0x50ba62(0x15d)](_0x1182dd,_0x53a36c[_0x53a36c[_0x50ba62(0x17f)]-0x1]);const _0x3234c4=new Set();for(const [_0x5ad955,_0x3e98ee]of _0x118598)_0x10afb3[_0x50ba62(0x183)](_0x5ad955)&&(_0x3234c4[_0x50ba62(0x163)](_0x3e98ee[0x0]),_0x3e98ee[_0x50ba62(0x17f)]>0x1?_0x118598[_0x50ba62(0x15d)](_0x5ad955,_0x3e98ee[_0x50ba62(0x178)](0x1)):_0x118598[_0x50ba62(0x15f)](_0x5ad955),_0x10afb3[_0x50ba62(0x15f)](_0x5ad955));return{'removed':Array[_0x50ba62(0x17c)](_0x10afb3),'inserted':Array[_0x50ba62(0x17c)](_0x118598[_0x50ba62(0x17a)]())[_0x50ba62(0x167)](),'moved':Array[_0x50ba62(0x17c)](_0x3234c4)};}}