@ckeditor/ckeditor5-footnotes 47.7.0-alpha.1 → 47.7.0-alpha.3

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 _0x5b6852}from'ckeditor5/src/core.js';import{isWidget as _0x561c95,toWidget as _0x4d4b41,toWidgetEditable as _0xf07c40}from'ckeditor5/src/widget.js';import{uid as _0x55e9e4}from'ckeditor5/src/utils.js';import{PointerObserver as _0x54fede,ClickObserver as _0x2a7238}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x426dc2}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2edf45}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5b6852{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x426dc2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15996f}=this;_0x15996f['config']['define']('footnotes.multiBlock',!0x0),_0x15996f['commands']['add']('insertFootnote',new _0x2edf45(_0x15996f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x35317b){const _0xd3eb6b=_0x37a0ba([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]),_0x4e9e10=0x47a28506,_0x320e9f=0x47a50226^_0x4e9e10,_0x4063da=window[_0x37a0ba([0x44,0x61,0x74,0x65])][_0x37a0ba([0x6e,0x6f,0x77])](),_0x33bb16=_0x35317b[_0x37a0ba([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x32052d=new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33c6ce=>{_0x33bb16[_0x37a0ba([0x6f,0x6e,0x63,0x65])](_0x37a0ba([0x72,0x65,0x61,0x64,0x79]),_0x33c6ce);}),_0x24c199={[_0x37a0ba([0x6b,0x74,0x79])]:_0x37a0ba([0x45,0x43]),[_0x37a0ba([0x75,0x73,0x65])]:_0x37a0ba([0x73,0x69,0x67]),[_0x37a0ba([0x63,0x72,0x76])]:_0x37a0ba([0x50,0x2d,0x32,0x35,0x36]),[_0x37a0ba([0x78])]:_0x37a0ba([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]),[_0x37a0ba([0x79])]:_0x37a0ba([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]),[_0x37a0ba([0x61,0x6c,0x67])]:_0x37a0ba([0x45,0x53,0x32,0x35,0x36])},_0xd7e8af=_0x33bb16[_0x37a0ba([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x37a0ba([0x67,0x65,0x74])](_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4afa2e(){let _0x4b6169,_0x22fddd=null,_0x1bc7cb=null;try{if(_0xd7e8af==_0x37a0ba([0x47,0x50,0x4c]))return _0x37a0ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4b6169=_0x4d3ea8(),!_0x4b6169)return _0x37a0ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4b6169[_0x37a0ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1bc7cb=_0x180800(_0x4b6169[_0x37a0ba([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4b6169[_0x37a0ba([0x6a,0x74,0x69])])),await _0x32c459()?_0x288871()?_0x22a24b()?_0x37a0ba([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x531251()?(_0x4b6169[_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x37a0ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22fddd=_0x1229fb(_0x37a0ba([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x246389()):_0x37a0ba([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x37a0ba([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x37a0ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x37a0ba([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x22a24b(){const _0x2d7db9=[_0x37a0ba([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x37a0ba([0x74,0x72,0x69,0x61,0x6c])][_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b6169[_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4063da/0x3e8:0xe10*_0x320e9f;return _0x4b6169[_0x37a0ba([0x65,0x78,0x70])]<_0x2d7db9;}function _0x288871(){const _0x429c33=_0x4b6169[_0x37a0ba([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x429c33&&(!!_0x429c33[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a0ba([0x2a]))||!!_0x429c33[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a0ba([0x46,0x4f,0x4f])));}function _0x531251(){const _0x480b53=_0x4b6169[_0x37a0ba([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x480b53||0x0==_0x480b53[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f4e2d}=new URL(window[_0x37a0ba([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x480b53[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f4e2d))return!0x0;const _0x57d459=_0x3f4e2d[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e]));return _0x480b53[_0x37a0ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3337bb=>_0x3337bb[_0x37a0ba([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37a0ba([0x2a])))[_0x37a0ba([0x6d,0x61,0x70])](_0x473580=>_0x473580[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e])))[_0x37a0ba([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fab3f=>_0x4fab3f[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57d459[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37a0ba([0x6d,0x61,0x70])](_0x2395e4=>Array(_0x57d459[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2395e4[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x37a0ba([0x66,0x69,0x6c,0x6c])](_0x2395e4[0x0]===_0x37a0ba([0x2a])?_0x37a0ba([0x2a]):'')[_0x37a0ba([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2395e4))[_0x37a0ba([0x73,0x6f,0x6d,0x65])](_0x3ef52e=>_0x57d459[_0x37a0ba([0x65,0x76,0x65,0x72,0x79])]((_0xcc67f7,_0x5ef839)=>_0x3ef52e[_0x5ef839]===_0xcc67f7||_0x3ef52e[_0x5ef839]===_0x37a0ba([0x2a])));}function _0x246389(){return _0x22fddd&&_0x1bc7cb?new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x320bca,_0xc8a214)=>{_0x22fddd[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x320bca,_0xc8a214),_0x1bc7cb[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x114731=>{_0x114731!=_0x37a0ba([0x56,0x61,0x6c,0x69,0x64])&&_0x320bca(_0x114731);},_0xc8a214);}):_0x22fddd||_0x1bc7cb||_0x37a0ba([0x56,0x61,0x6c,0x69,0x64]);}}function _0x180800(_0x52eea4,_0x3dea85){return new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x847eb2=>{if(_0x31fecf())return _0x847eb2(_0x37a0ba([0x56,0x61,0x6c,0x69,0x64]));_0x1e70cb(),_0x33bb16[_0x37a0ba([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x37a0ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1ff728=!0x1;const _0x4eb61f=_0x55e9e4();function _0x1ebe1a(_0x4ac615){return!!_0x4ac615&&(typeof _0x4ac615===_0x37a0ba([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ac615===_0x37a0ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ac615[_0x37a0ba([0x74,0x68,0x65,0x6e])]===_0x37a0ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ac615[_0x37a0ba([0x63,0x61,0x74,0x63,0x68])]===_0x37a0ba([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x13e87d(_0x1f658c){_0x436ff9(_0x1f658c)[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x3546e6=>{if(!_0x3546e6||_0x3546e6[_0x37a0ba([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x37a0ba([0x6f,0x6b]))return _0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b31ed(_0x32de7c(_0x4eb61f+_0x3dea85))!=_0x3546e6[_0x37a0ba([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x37a0ba([0x56,0x61,0x6c,0x69,0x64]);})[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x1e6858=>(_0x2abac9(),_0x1e6858),()=>{const _0x455d69=_0x1a692c();return null==_0x455d69?(_0x2abac9(),_0x37a0ba([0x56,0x61,0x6c,0x69,0x64])):_0x37a0ba(_0x4063da-_0x455d69>(0x63ae0106^_0x4e9e10)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x847eb2)[_0x37a0ba([0x63,0x61,0x74,0x63,0x68])](()=>{_0x847eb2(_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x293e85=0x47946b86^_0x4e9e10;function _0x2abac9(){const _0x4c76c2=_0x37a0ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b31ed(_0x32de7c(_0x52eea4)),_0x562d6e=_0x48efe(_0x3b31ed(window[_0x37a0ba([0x4d,0x61,0x74,0x68])][_0x37a0ba([0x63,0x65,0x69,0x6c])](_0x4063da/_0x293e85)));window[_0x37a0ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37a0ba([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c76c2,_0x562d6e);}function _0x1a692c(){const _0x208b4c=_0x37a0ba([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b31ed(_0x32de7c(_0x52eea4)),_0x28b5fd=window[_0x37a0ba([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x37a0ba([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x208b4c);return _0x28b5fd?window[_0x37a0ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48efe(_0x28b5fd),0x10)*_0x293e85:null;}function _0x436ff9(_0x2b914e){return new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x525f47,_0x322758)=>{_0x2b914e[_0x37a0ba([0x74,0x68,0x65,0x6e])](_0x525f47,_0x322758),window[_0x37a0ba([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x322758,0x47a351c6^_0x4e9e10);});}}_0x33bb16[_0x37a0ba([0x6f,0x6e])](_0x37a0ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2fa5e6,_0xd3dd80)=>{if(_0xd3dd80[0x0]!=_0x52eea4)return _0x847eb2(_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xd3dd80[0x1]={..._0xd3dd80[0x1],[_0x37a0ba([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4eb61f};},{[_0x37a0ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37a0ba([0x68,0x69,0x67,0x68])}),_0x33bb16[_0x37a0ba([0x6f,0x6e])](_0x37a0ba([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1145bb=>{_0x1ebe1a(_0x1145bb[_0x37a0ba([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1ff728=!0x0,_0x13e87d(_0x1145bb[_0x37a0ba([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x37a0ba([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x37a0ba([0x6c,0x6f,0x77])}),_0x32052d[_0x37a0ba([0x74,0x68,0x65,0x6e])](()=>{_0x1ff728||_0x847eb2(_0x37a0ba([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31fecf(){return _0x33bb16[_0x37a0ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37a0ba([0x76,0x69,0x65,0x77])][_0x37a0ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x37a0ba([0x61,0x75,0x74,0x6f]);}function _0x1e70cb(){_0x33bb16[_0x37a0ba([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x37a0ba([0x76,0x69,0x65,0x77])][_0x37a0ba([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x37a0ba([0x61,0x75,0x74,0x6f]);}}function _0x1229fb(_0x58ca75){const _0x4a4f98=[new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12f598=>setTimeout(_0x12f598,0x47abbbca^_0x4e9e10)),_0x32052d[_0x37a0ba([0x74,0x68,0x65,0x6e])](()=>new window[(_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44acc3=>{let _0x203eea=0x0;_0x33bb16[_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x37a0ba([0x6f,0x6e])](_0x37a0ba([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26a5e5,_0x563936)=>{_0x563936[0x0][_0x37a0ba([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x203eea++,_0x203eea==(0x47a280ee^_0x4e9e10)&&(_0x44acc3(),_0x26a5e5[_0x37a0ba([0x6f,0x66,0x66])]());});}))];return window[_0x37a0ba([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x37a0ba([0x72,0x61,0x63,0x65])](_0x4a4f98)[_0x37a0ba([0x74,0x68,0x65,0x6e])](()=>_0x58ca75);}async function _0xfa21ec(){await _0x32052d,_0x33bb16[_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x37a0ba([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x16f812,_0x33bb16[_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c])][_0x37a0ba([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x16f812,_0x33bb16[_0x37a0ba([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x37a0ba([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xeadcdf(_0x468141){const _0x23bb06=_0x463272();_0x33bb16[_0x23bb06]=_0x37a0ba([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x468141,_0x468141!=_0x37a0ba([0x56,0x61,0x6c,0x69,0x64])&&_0xfa21ec();}function _0x463272(){const _0xf8c613=window[_0x37a0ba([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x37a0ba([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x37a0ba([0x6e,0x6f,0x77])]())[_0x37a0ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x37a0ba([0x2e]),'');let _0x2495b9=_0x37a0ba([0x75]);for(let _0x133ede=0x0;_0x133ede<_0xf8c613[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x133ede+=0x2){let _0x57df5a=window[_0x37a0ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf8c613[_0x37a0ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x133ede,_0x133ede+0x2));_0x57df5a>=_0xd3eb6b[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57df5a-=_0xd3eb6b[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2495b9+=_0xd3eb6b[_0x57df5a];}return _0x2495b9;}function _0x4d3ea8(){const _0x8f62e2=_0xd7e8af[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e]));if(0x3!=_0x8f62e2[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ec0bf(_0x8f62e2[0x1]);function _0x4ec0bf(_0x597547){const _0x30f515=_0x3ea55a(_0x597547);return _0x30f515&&_0x5b217e()?_0x30f515:null;function _0x5b217e(){const _0x28a3bc=_0x30f515[_0x37a0ba([0x6a,0x74,0x69])],_0x336284=window[_0x37a0ba([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28a3bc[_0x37a0ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28a3bc[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6621ff={..._0x30f515,[_0x37a0ba([0x6a,0x74,0x69])]:_0x28a3bc[_0x37a0ba([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28a3bc[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6621ff[_0x37a0ba([0x76,0x63])],_0x32de7c(_0x6621ff)==_0x336284;}}}async function _0x32c459(){let _0x4fca66=!0x0;try{const _0x57d093=_0xd7e8af[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])](_0x37a0ba([0x2e])),[_0x460164,_0x4047ae,_0x1ecb83]=_0x57d093;return _0x2c5296(_0x460164),await _0x3a10ae(_0x460164,_0x4047ae,_0x1ecb83),_0x4fca66;}catch{return!0x1;}function _0x2c5296(_0x36d7c3){const _0x5a425f=_0x3ea55a(_0x36d7c3);_0x5a425f&&_0x5a425f[_0x37a0ba([0x61,0x6c,0x67])]==_0x37a0ba([0x45,0x53,0x32,0x35,0x36])||(_0x4fca66=!0x1);}async function _0x3a10ae(_0x1aef65,_0x27f598,_0x142f8e){const _0x1c9149=window[_0x37a0ba([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x37a0ba([0x66,0x72,0x6f,0x6d])](_0x2703b9(_0x142f8e),_0x2ef533=>_0x2ef533[_0x37a0ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7a4680=new window[(_0x37a0ba([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x37a0ba([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1aef65+_0x37a0ba([0x2e])+_0x27f598),_0x59e500=window[_0x37a0ba([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x37a0ba([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59e500)return;const _0x557377=await _0x59e500[_0x37a0ba([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x37a0ba([0x6a,0x77,0x6b]),_0x24c199,{[_0x37a0ba([0x6e,0x61,0x6d,0x65])]:_0x37a0ba([0x45,0x43,0x44,0x53,0x41]),[_0x37a0ba([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x37a0ba([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x37a0ba([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59e500[_0x37a0ba([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x37a0ba([0x6e,0x61,0x6d,0x65])]:_0x37a0ba([0x45,0x43,0x44,0x53,0x41]),[_0x37a0ba([0x68,0x61,0x73,0x68])]:{[_0x37a0ba([0x6e,0x61,0x6d,0x65])]:_0x37a0ba([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x557377,_0x1c9149,_0x7a4680)||(_0x4fca66=!0x1);}}function _0x3ea55a(_0x1ec011){return _0x1ec011[_0x37a0ba([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x37a0ba([0x65,0x79]))?JSON[_0x37a0ba([0x70,0x61,0x72,0x73,0x65])](_0x2703b9(_0x1ec011)):null;}function _0x2703b9(_0x390f0e){return window[_0x37a0ba([0x61,0x74,0x6f,0x62])](_0x390f0e[_0x37a0ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x37a0ba([0x2b]))[_0x37a0ba([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x37a0ba([0x2f])));}function _0x32de7c(_0x12bbe5){let _0x3115e7=0x1505;function _0x2bc7e2(_0x4293ce){for(let _0x175e63=0x0;_0x175e63<_0x4293ce[_0x37a0ba([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x175e63++){const _0x4ea50e=_0x4293ce[_0x37a0ba([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x175e63);_0x3115e7=(_0x3115e7<<0x5)+_0x3115e7+_0x4ea50e,_0x3115e7&=_0x3115e7;}}function _0x91bbe8(_0x4e310e){Array[_0x37a0ba([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e310e)?_0x4e310e[_0x37a0ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x91bbe8):_0x4e310e&&typeof _0x4e310e==_0x37a0ba([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x37a0ba([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e310e)[_0x37a0ba([0x73,0x6f,0x72,0x74])]()[_0x37a0ba([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x37b971,_0x4a30c4])=>{_0x2bc7e2(_0x37b971),_0x91bbe8(_0x4a30c4);}):_0x2bc7e2(window[_0x37a0ba([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e310e));}return _0x91bbe8(_0x12bbe5),_0x3115e7>>>0x0;}function _0x3b31ed(_0x37b15f){return _0x37b15f[_0x37a0ba([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x37a0ba([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x37a0ba([0x30]));}function _0x48efe(_0x29f0f9){return _0x29f0f9[_0x37a0ba([0x73,0x70,0x6c,0x69,0x74])]('')[_0x37a0ba([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x37a0ba([0x6a,0x6f,0x69,0x6e])]('');}function _0x16f812(){}function _0x37a0ba(_0x335f71){return _0x335f71['map'](_0x19974a=>String['fromCharCode'](_0x19974a))['join']('');}_0xeadcdf(await _0x4afa2e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x508717){const {plugins:_0x277c3a,editing:_0x3430ac,model:_0x1684b9}=this['editor'],_0x2a3f11=_0x277c3a['get'](_0x426dc2)['getFootnote'](_0x508717);return!!_0x2a3f11&&(_0x1684b9['change'](_0x2e8a0f=>{_0x2e8a0f['setSelection'](_0x2e8a0f['createPositionAt'](_0x2a3f11['definition'],'end'));}),_0x3430ac['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x279b35){const {plugins:_0x584fd4,editing:_0x487c2d,model:_0xaa867b}=this['editor'],_0x1d398=_0x584fd4['get'](_0x426dc2)['getFootnote'](_0x279b35);return!!_0x1d398&&(_0xaa867b['change'](_0x4814fb=>{_0x4814fb['setSelection'](_0x1d398['reference'],'on');}),_0x487c2d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4e5bd0}=this['editor']['model'],_0x3163d7=this['editor']['config']['get']('footnotes.multiBlock');_0x4e5bd0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4e5bd0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4e5bd0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3163d7?_0x4e5bd0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4e5bd0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4e5bd0['addChildCheck'](_0x5c9550=>{for(const _0x26f8e1 of _0x5c9550)if('footnoteDefinition'===_0x26f8e1['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1e3af5}=this,{conversion:_0x2aa4b1,editing:_0x3cddec}=_0x1e3af5,{t:t}=_0x1e3af5['locale'];_0x2aa4b1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2fb0f2,{writer:_0x396605,consumable:_0x13bbb9})=>{const _0x2ed422=_0x2fb0f2['getChild'](0x0);if(!_0x2ed422||!_0x2ed422['is']('element','a'))return null;const _0x284199=_0x2ed422['getAttribute']('href')||'';if(!_0x284199['startsWith']('#'))return null;const _0x4d292b=_0x284199['replace'](/^#/,'');if(!_0x4d292b)return null;_0x13bbb9['consume'](_0x2ed422,{'name':!0x0,'attributes':['href']});for(const {item:_0x23970e}of _0x3cddec['view']['createRangeIn'](_0x2ed422))_0x23970e['is']('$textProxy')?_0x13bbb9['consume'](_0x23970e['textNode'],{'name':!0x0}):_0x23970e['is']('element')&&_0x13bbb9['consume'](_0x23970e,{'name':!0x0});return _0x396605['createElement']('footnoteRef',{'footnoteId':_0x4d292b});}}),_0x2aa4b1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1b5988,{writer:_0x5567b2})=>b(_0x1b5988,_0x5567b2)}),_0x2aa4b1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xa78e3e,{writer:_0x17bf07})=>{const _0x51a937=_0xa78e3e['getAttribute']('footnoteCounter');return _0x4d4b41(b(_0xa78e3e,_0x17bf07),_0x17bf07,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x51a937)});}});}['_defineDefinitionsConverters'](){const {editor:_0x38a6fe}=this,{t:t}=_0x38a6fe['locale'],{conversion:_0x1e63e7}=_0x38a6fe;_0x1e63e7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e63e7['for']('upcast')['add'](_0xdb29e5=>{_0xdb29e5['on']('element:ol',(_0x55e39a,_0x4ebc1d,_0xd1ab97)=>{const _0xe6050d=_0x4ebc1d['viewItem'];if(!_0xe6050d['hasClass']('footnotes-list')||!_0x4ebc1d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xd1ab97['consumable']['consume'](_0xe6050d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x357f2e,modelCursor:_0x1dd95c}=_0xd1ab97['convertChildren'](_0x4ebc1d['viewItem'],_0x4ebc1d['modelCursor']);_0x4ebc1d['modelRange']=_0x357f2e,_0x4ebc1d['modelCursor']=_0x1dd95c;}),_0xdb29e5['on']('element:hr',(_0x4ef132,_0x5f3aba,_0x1c91e7)=>{const _0x58b92c=_0x5f3aba['viewItem'];_0x58b92c['hasClass']('footnotes-divider')&&_0x5f3aba['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1c91e7['consumable']['consume'](_0x58b92c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e63e7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x446a15,{writer:_0x423166})=>D(_0x423166)}),_0x1e63e7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x34eb02,{writer:_0x5d3f67})=>{const _0x4d6afb=D(_0x5d3f67,{'data-footnotes-list-label':t('Footnotes')}),_0x249e73=_0x4d4b41(_0x4d6afb,_0x5d3f67,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5d3f67['setCustomProperty']('footnotesDefinitions',!0x0,_0x249e73),_0x249e73;}});}['_defineDefinitionConverters'](){const {editor:_0x2f10b5}=this,{conversion:_0x5ce85e,locale:_0x3e560b}=_0x2f10b5,_0x43e2dc=_0x2f10b5['config']['get']('footnotes.multiBlock');_0x5ce85e['for']('upcast')['add'](_0xf44b8d=>{_0xf44b8d['on']('element:li',(_0x438a58,_0x222e99,_0x582b28)=>{const _0x229500=_0x222e99['viewItem'];if(!_0x229500['hasClass']('footnote-definition')||!_0x229500['getAttribute']('id'))return;const _0x130fab=_0x229500['parent'];if(!_0x130fab['is']('element','ol')||!_0x130fab['hasClass']('footnotes-list'))return;if(!_0x582b28['consumable']['test'](_0x229500,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x334ab2=_0x582b28['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x229500['getAttribute']('id')});if(!_0x582b28['safeInsert'](_0x334ab2,_0x222e99['modelCursor']))return;_0x582b28['consumable']['consume'](_0x229500,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x34d0ae=Array['from'](_0x229500['getChildren']())['find'](_0x4b556e=>_0x4b556e['is']('element')&&_0x4b556e['hasClass']('footnote-content'));for(const _0x47ccdf of _0x229500['getChildren']())_0x47ccdf['is']('element')&&(_0x582b28['consumable']['consume'](_0x47ccdf,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x582b28['consumable']['consume'](_0x47ccdf,{'name':!0x0,'classes':'footnote-content'}));if(_0x34d0ae){if(_0x43e2dc)_0x582b28['convertChildren'](_0x34d0ae,_0x334ab2);else{const _0x33c67f=_0x582b28['writer']['createElement']('footnoteInlineContent');_0x582b28['writer']['insert'](_0x33c67f,_0x334ab2),_0x582b28['convertChildren'](_0x34d0ae,_0x33c67f);}}_0x582b28['updateConversionResult'](_0x334ab2,_0x222e99);});}),_0x5ce85e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c92da,{writer:_0x2c5a7f})=>y(_0x3c92da,_0x2c5a7f,_0x3e560b,{'dataPipeline':!0x0})}),_0x5ce85e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a9712,{writer:_0x35472f})=>y(_0x4a9712,_0x35472f,_0x3e560b)});}['_defineBogusParagraphConverters'](){const {editor:_0x41dc30}=this,{conversion:_0x3a2e3d}=_0x41dc30;_0x41dc30['config']['get']('footnotes.multiBlock')?(_0x3a2e3d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3a2e3d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x41dc30['model']['document'],'change:data',()=>{!function(_0x21e494,_0x4d9f3f){const _0x5423f2=_0x21e494['document']['differ'],_0x65a7d9=new Set();for(const _0x588add of _0x5423f2['getChanges']()){const _0x303b72='attribute'==_0x588add['type']?_0x588add['range']['start']['parent']:_0x588add['position']['parent'];_0x303b72['is']('element','footnoteDefinition')&&_0x65a7d9['add'](_0x303b72);}for(const _0x56b012 of _0x65a7d9['values']()){const _0x4a73e9=Array['from'](_0x56b012['getChildren']())['filter'](_0x1c4d55=>v(_0x1c4d55,_0x4d9f3f['mapper']));for(const _0x5ecae3 of _0x4a73e9)_0x4d9f3f['reconvertItem'](_0x5ecae3);}}(_0x41dc30['model'],_0x41dc30['editing']);})):(_0x3a2e3d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3a2e3d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x23fa98,{writer:_0x1b1d82})=>{const _0x1381b0=_0x1b1d82['createContainerElement']('span');return _0x1b1d82['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1381b0),_0x1381b0;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4ef225}=this,{editing:_0x8324c7,t:t}=_0x4ef225,_0x1e92d4=_0x4ef225['model']['document']['selection'];_0x4ef225['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4ef225['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x8324c7['view']['document'],'enter',(_0x26d382,_0x1d7fc7)=>{const _0x42a196=function(_0x2ca918){const _0x2ef6d0=_0x2ca918['getSelectedElement']();if(_0x2ef6d0?.['is']('element','footnoteRef'))return _0x2ef6d0;return null;}(_0x1e92d4);if(_0x42a196){const _0x2f7ec9=_0x42a196['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2f7ec9),_0x1d7fc7['preventDefault'](),_0x26d382['stop']();}},{'context':_0x561c95});}['_defineClickHandlers'](){const {editor:_0x1f5f68}=this,{editing:_0x12eaef}=_0x1f5f68;_0x1f5f68['editing']['view']['addObserver'](_0x54fede),_0x1f5f68['editing']['view']['addObserver'](_0x2a7238);let _0x59e87b=!0x1;this['listenTo'](_0x12eaef['view']['document'],'pointerdown',(_0x205093,_0x473656)=>{const {target:_0x92854f}=_0x473656,_0x281f40=_0x12eaef['view']['document']['selection'];_0x59e87b=!!(_0x92854f?.['is']('element','a')&&_0x92854f['parent']?.['is']('element','sup')&&_0x92854f['parent']['hasClass']('footnote'))&&_0x281f40['getSelectedElement']()===_0x92854f['parent'];},{'priority':'high'}),this['listenTo'](_0x12eaef['view']['document'],'click',(_0x3e5405,_0x13053e)=>{const {target:_0x2c7966}=_0x13053e;if(!_0x2c7966?.['is']('element','a'))return;if(_0x2c7966['parent']?.['is']('element','sup')&&_0x2c7966['parent']['hasClass']('footnote')&&!_0x59e87b)return void _0x13053e['preventDefault']();let _0x24211e=_0x2c7966['getAttribute']('href');if(!_0x24211e?.['startsWith']('#'))return;_0x24211e=_0x24211e['slice'](0x1);let _0x58b08d=!0x1;(_0x24211e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x24211e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x24211e))&&(_0x58b08d=!0x0),_0x58b08d&&(_0x13053e['preventDefault'](),_0x3e5405['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5a897a}={}){return(_0xfb1bf9,{writer:_0x45bee4})=>{if(!g(_0xfb1bf9))return null;if(!_0x5a897a)return _0x45bee4['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3521da=_0x45bee4['createContainerElement']('p');return _0x45bee4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3521da),_0x3521da;};}function g(_0x3c6a37){const {parent:_0x70a38e}=_0x3c6a37;if(!_0x70a38e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x70a38e['childCount'])return!0x1;for(const _0x5653e9 of _0x3c6a37['getAttributeKeys']())if(!_0x5653e9['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5653e9)return!0x1;return!0x0;}function v(_0xe1146f,_0x2f38ce){if(!_0xe1146f['is']('element','paragraph'))return!0x1;const _0x5dccaf=_0x2f38ce['toViewElement'](_0xe1146f);return!!_0x5dccaf&&g(_0xe1146f)!==_0x5dccaf['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2a327d){return _0x561c95(_0x2a327d)&&_0x2a327d['is']('containerElement')&&!!_0x2a327d['getCustomProperty']('footnotesDefinitions');}function D(_0x1559da,_0x5d1784={}){const _0x20f888=_0x1559da['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x593ae0=_0x1559da['createContainerElement']('ol',{'class':'footnotes-list'},_0x1559da['createSlot']());return _0x1559da['createContainerElement']('div',{'class':'footnotes',..._0x5d1784},[_0x20f888,_0x593ae0]);}function b(_0x464976,_0x495cac){const _0x6459d2=_0x464976['getAttribute']('footnoteId'),_0x45cd7c=_0x464976['getAttribute']('footnoteCounter'),_0x429867=_0x495cac['createUIElement']('a',{'href':'#'+_0x6459d2},function(_0x1c81a4){const _0x20dab1=this['toDomElement'](_0x1c81a4);return _0x20dab1['textContent']=_0x45cd7c,_0x20dab1;}),_0x15166d=_0x495cac['createContainerElement']('sup',{'id':'ref-'+_0x6459d2,'class':'footnote'},[_0x429867]);return _0x15166d['getFillerOffset']=()=>null,_0x15166d;}function y(_0x4af727,_0x3ed974,_0xffce70,{dataPipeline:_0x48d2b1}={}){const {t:t}=_0xffce70,_0x5508df=_0x4af727['getAttribute']('footnoteId'),_0x3cc667=_0x3ed974['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5508df},function(_0x429215){const _0x214421=this['toDomElement'](_0x429215);return _0x214421['innerText']='^',_0x214421;}),_0x12e40a=_0x48d2b1?_0x3ed974['createContainerElement']('div',{'class':'footnote-content'}):_0xf07c40(_0x3ed974['createEditableElement']('div',{'class':'footnote-content'}),_0x3ed974,{'label':t('Footnote\x20content.')});return _0x3ed974['insert'](_0x3ed974['createPositionAt'](_0x12e40a,0x0),_0x3ed974['createSlot']()),_0x3ed974['createContainerElement']('li',{'class':'footnote-definition','id':_0x5508df},[_0x3cc667,_0x12e40a]);}
23
+ import{Plugin as _0x2d77f6}from'ckeditor5/src/core.js';import{isWidget as _0x474105,toWidget as _0x4419f7,toWidgetEditable as _0x2428b4}from'ckeditor5/src/widget.js';import{uid as _0x229df6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x34156a,ClickObserver as _0x3bcdbf}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x681316}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3972cc}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x2d77f6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x681316];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e7c8b}=this;_0x4e7c8b['config']['define']('footnotes.multiBlock',!0x0),_0x4e7c8b['commands']['add']('insertFootnote',new _0x3972cc(_0x4e7c8b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x28756c){const _0x53e2f1=_0x77e295([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]),_0x231d08=0x47a28506,_0x167f1b=0x47a5023e^_0x231d08,_0x3cfd92=window[_0x77e295([0x44,0x61,0x74,0x65])][_0x77e295([0x6e,0x6f,0x77])](),_0x547084=_0x28756c[_0x77e295([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b2409=new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32628b=>{_0x547084[_0x77e295([0x6f,0x6e,0x63,0x65])](_0x77e295([0x72,0x65,0x61,0x64,0x79]),_0x32628b);}),_0x215e2f={[_0x77e295([0x6b,0x74,0x79])]:_0x77e295([0x45,0x43]),[_0x77e295([0x75,0x73,0x65])]:_0x77e295([0x73,0x69,0x67]),[_0x77e295([0x63,0x72,0x76])]:_0x77e295([0x50,0x2d,0x32,0x35,0x36]),[_0x77e295([0x78])]:_0x77e295([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]),[_0x77e295([0x79])]:_0x77e295([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]),[_0x77e295([0x61,0x6c,0x67])]:_0x77e295([0x45,0x53,0x32,0x35,0x36])},_0x1ab176=_0x547084[_0x77e295([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x77e295([0x67,0x65,0x74])](_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dc58b(){let _0x9645ff,_0x2bbb25=null,_0x112343=null;try{if(_0x1ab176==_0x77e295([0x47,0x50,0x4c]))return _0x77e295([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9645ff=_0x39041a(),!_0x9645ff)return _0x77e295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9645ff[_0x77e295([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x112343=_0x46ba99(_0x9645ff[_0x77e295([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9645ff[_0x77e295([0x6a,0x74,0x69])])),await _0x5d3d9f()?_0x5a8636()?_0x3ace42()?_0x77e295([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x747d2d()?(_0x9645ff[_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77e295([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bbb25=_0x12ef97(_0x77e295([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x416400()):_0x77e295([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x77e295([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x77e295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x77e295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ace42(){const _0x39c50f=[_0x77e295([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x77e295([0x74,0x72,0x69,0x61,0x6c])][_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9645ff[_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cfd92/0x3e8:0xe10*_0x167f1b;return _0x9645ff[_0x77e295([0x65,0x78,0x70])]<_0x39c50f;}function _0x5a8636(){const _0x3a6295=_0x9645ff[_0x77e295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a6295&&(!!_0x3a6295[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77e295([0x2a]))||!!_0x3a6295[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77e295([0x46,0x4f,0x4f])));}function _0x747d2d(){const _0x26b511=_0x9645ff[_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26b511||0x0==_0x26b511[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40d5cb}=new URL(window[_0x77e295([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26b511[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d5cb))return!0x0;const _0x512314=_0x40d5cb[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e]));return _0x26b511[_0x77e295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41e60e=>_0x41e60e[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77e295([0x2a])))[_0x77e295([0x6d,0x61,0x70])](_0x2a5922=>_0x2a5922[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e])))[_0x77e295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f7a66=>_0x3f7a66[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x512314[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77e295([0x6d,0x61,0x70])](_0x4ce6e4=>Array(_0x512314[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ce6e4[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77e295([0x66,0x69,0x6c,0x6c])](_0x4ce6e4[0x0]===_0x77e295([0x2a])?_0x77e295([0x2a]):'')[_0x77e295([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ce6e4))[_0x77e295([0x73,0x6f,0x6d,0x65])](_0x5e91bd=>_0x512314[_0x77e295([0x65,0x76,0x65,0x72,0x79])]((_0x36a8c3,_0x10eda8)=>_0x5e91bd[_0x10eda8]===_0x36a8c3||_0x5e91bd[_0x10eda8]===_0x77e295([0x2a])));}function _0x416400(){return _0x2bbb25&&_0x112343?new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f02eb,_0x50c1f7)=>{_0x2bbb25[_0x77e295([0x74,0x68,0x65,0x6e])](_0x5f02eb,_0x50c1f7),_0x112343[_0x77e295([0x74,0x68,0x65,0x6e])](_0x759629=>{_0x759629!=_0x77e295([0x56,0x61,0x6c,0x69,0x64])&&_0x5f02eb(_0x759629);},_0x50c1f7);}):_0x2bbb25||_0x112343||_0x77e295([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46ba99(_0x375e05,_0x8dbe27){return new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f4f4=>{if(_0x2d73f0())return _0x41f4f4(_0x77e295([0x56,0x61,0x6c,0x69,0x64]));_0x36acc6(),_0x547084[_0x77e295([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x77e295([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51f224=!0x1;const _0x5a629b=_0x229df6();function _0x1964bb(_0x3ac248){return!!_0x3ac248&&(typeof _0x3ac248===_0x77e295([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ac248===_0x77e295([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ac248[_0x77e295([0x74,0x68,0x65,0x6e])]===_0x77e295([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ac248[_0x77e295([0x63,0x61,0x74,0x63,0x68])]===_0x77e295([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2814bf(_0x4dbaa4){_0x5baa97(_0x4dbaa4)[_0x77e295([0x74,0x68,0x65,0x6e])](_0x37d285=>{if(!_0x37d285||_0x37d285[_0x77e295([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x77e295([0x6f,0x6b]))return _0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x239f40(_0x15f186(_0x5a629b+_0x8dbe27))!=_0x37d285[_0x77e295([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x77e295([0x56,0x61,0x6c,0x69,0x64]);})[_0x77e295([0x74,0x68,0x65,0x6e])](_0x479275=>(_0x4c525f(),_0x479275),()=>{const _0x1faf69=_0x21186b();return null==_0x1faf69?(_0x4c525f(),_0x77e295([0x56,0x61,0x6c,0x69,0x64])):_0x77e295(_0x3cfd92-_0x1faf69>(0x63ae0106^_0x231d08)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x77e295([0x74,0x68,0x65,0x6e])](_0x41f4f4)[_0x77e295([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41f4f4(_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2326f2=0x47946b86^_0x231d08;function _0x4c525f(){const _0x1db6de=_0x77e295([0x6c,0x6c,0x63,0x74,0x2d])+_0x239f40(_0x15f186(_0x375e05)),_0x5828d1=_0x3f0044(_0x239f40(window[_0x77e295([0x4d,0x61,0x74,0x68])][_0x77e295([0x63,0x65,0x69,0x6c])](_0x3cfd92/_0x2326f2)));window[_0x77e295([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77e295([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1db6de,_0x5828d1);}function _0x21186b(){const _0x3c9f99=_0x77e295([0x6c,0x6c,0x63,0x74,0x2d])+_0x239f40(_0x15f186(_0x375e05)),_0x249a2b=window[_0x77e295([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77e295([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c9f99);return _0x249a2b?window[_0x77e295([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0044(_0x249a2b),0x10)*_0x2326f2:null;}function _0x5baa97(_0x461895){return new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x308ba1,_0x5605ed)=>{_0x461895[_0x77e295([0x74,0x68,0x65,0x6e])](_0x308ba1,_0x5605ed),window[_0x77e295([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5605ed,0x47a351c6^_0x231d08);});}}_0x547084[_0x77e295([0x6f,0x6e])](_0x77e295([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x578143,_0x3e0aac)=>{if(_0x3e0aac[0x0]!=_0x375e05)return _0x41f4f4(_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e0aac[0x1]={..._0x3e0aac[0x1],[_0x77e295([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a629b};},{[_0x77e295([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77e295([0x68,0x69,0x67,0x68])}),_0x547084[_0x77e295([0x6f,0x6e])](_0x77e295([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37309f=>{_0x1964bb(_0x37309f[_0x77e295([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51f224=!0x0,_0x2814bf(_0x37309f[_0x77e295([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x77e295([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77e295([0x6c,0x6f,0x77])}),_0x2b2409[_0x77e295([0x74,0x68,0x65,0x6e])](()=>{_0x51f224||_0x41f4f4(_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d73f0(){return _0x547084[_0x77e295([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77e295([0x76,0x69,0x65,0x77])][_0x77e295([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x77e295([0x61,0x75,0x74,0x6f]);}function _0x36acc6(){_0x547084[_0x77e295([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77e295([0x76,0x69,0x65,0x77])][_0x77e295([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x77e295([0x61,0x75,0x74,0x6f]);}}function _0x12ef97(_0x4c825c){const _0x1ac74a=[new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170e5f=>setTimeout(_0x170e5f,0x47abbbca^_0x231d08)),_0x2b2409[_0x77e295([0x74,0x68,0x65,0x6e])](()=>new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3330b5=>{let _0x5847aa=0x0;_0x547084[_0x77e295([0x6d,0x6f,0x64,0x65,0x6c])][_0x77e295([0x6f,0x6e])](_0x77e295([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3986e4,_0x237f14)=>{_0x237f14[0x0][_0x77e295([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5847aa++,_0x5847aa==(0x47a280ee^_0x231d08)&&(_0x3330b5(),_0x3986e4[_0x77e295([0x6f,0x66,0x66])]());});}))];return window[_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x77e295([0x72,0x61,0x63,0x65])](_0x1ac74a)[_0x77e295([0x74,0x68,0x65,0x6e])](()=>_0x4c825c);}async function _0x17f997(){await _0x2b2409,_0x547084[_0x77e295([0x6d,0x6f,0x64,0x65,0x6c])][_0x77e295([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18c8aa,_0x547084[_0x77e295([0x6d,0x6f,0x64,0x65,0x6c])][_0x77e295([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18c8aa,_0x547084[_0x77e295([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x77e295([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x465ef3(_0x28f50b){const _0x37448b=_0x22ec98();_0x547084[_0x37448b]=_0x77e295([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28f50b,_0x28f50b!=_0x77e295([0x56,0x61,0x6c,0x69,0x64])&&_0x17f997();}function _0x22ec98(){const _0x3e85c7=window[_0x77e295([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x77e295([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x77e295([0x6e,0x6f,0x77])]())[_0x77e295([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x77e295([0x2e]),'');let _0x557a03=_0x77e295([0x75]);for(let _0x2864b5=0x0;_0x2864b5<_0x3e85c7[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2864b5+=0x2){let _0x156b88=window[_0x77e295([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e85c7[_0x77e295([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2864b5,_0x2864b5+0x2));_0x156b88>=_0x53e2f1[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x156b88-=_0x53e2f1[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x557a03+=_0x53e2f1[_0x156b88];}return _0x557a03;}function _0x39041a(){const _0x194093=_0x1ab176[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e]));if(0x3!=_0x194093[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35950f(_0x194093[0x1]);function _0x35950f(_0x40557a){const _0x28e08a=_0x4a723b(_0x40557a);return _0x28e08a&&_0xc601f()?_0x28e08a:null;function _0xc601f(){const _0x106922=_0x28e08a[_0x77e295([0x6a,0x74,0x69])],_0xda8bb8=window[_0x77e295([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x106922[_0x77e295([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x106922[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c31a2={..._0x28e08a,[_0x77e295([0x6a,0x74,0x69])]:_0x106922[_0x77e295([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x106922[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c31a2[_0x77e295([0x76,0x63])],_0x15f186(_0x2c31a2)==_0xda8bb8;}}}async function _0x5d3d9f(){let _0x285d9d=!0x0;try{const _0x55aa7e=_0x1ab176[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e])),[_0x384e43,_0x5d8944,_0x2c5805]=_0x55aa7e;return _0x392c62(_0x384e43),await _0x5c3e89(_0x384e43,_0x5d8944,_0x2c5805),_0x285d9d;}catch{return!0x1;}function _0x392c62(_0xcd2b73){const _0x4b11d7=_0x4a723b(_0xcd2b73);_0x4b11d7&&_0x4b11d7[_0x77e295([0x61,0x6c,0x67])]==_0x77e295([0x45,0x53,0x32,0x35,0x36])||(_0x285d9d=!0x1);}async function _0x5c3e89(_0x3ef2a1,_0x2872b1,_0xae3b8b){const _0x483753=window[_0x77e295([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x77e295([0x66,0x72,0x6f,0x6d])](_0x1385bb(_0xae3b8b),_0x429ba3=>_0x429ba3[_0x77e295([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2485d7=new window[(_0x77e295([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x77e295([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ef2a1+_0x77e295([0x2e])+_0x2872b1),_0x3b8e0e=window[_0x77e295([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x77e295([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b8e0e)return;const _0x424572=await _0x3b8e0e[_0x77e295([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x77e295([0x6a,0x77,0x6b]),_0x215e2f,{[_0x77e295([0x6e,0x61,0x6d,0x65])]:_0x77e295([0x45,0x43,0x44,0x53,0x41]),[_0x77e295([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x77e295([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x77e295([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b8e0e[_0x77e295([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x77e295([0x6e,0x61,0x6d,0x65])]:_0x77e295([0x45,0x43,0x44,0x53,0x41]),[_0x77e295([0x68,0x61,0x73,0x68])]:{[_0x77e295([0x6e,0x61,0x6d,0x65])]:_0x77e295([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x424572,_0x483753,_0x2485d7)||(_0x285d9d=!0x1);}}function _0x4a723b(_0x35e9d6){return _0x35e9d6[_0x77e295([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x77e295([0x65,0x79]))?JSON[_0x77e295([0x70,0x61,0x72,0x73,0x65])](_0x1385bb(_0x35e9d6)):null;}function _0x1385bb(_0x182882){return window[_0x77e295([0x61,0x74,0x6f,0x62])](_0x182882[_0x77e295([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x77e295([0x2b]))[_0x77e295([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x77e295([0x2f])));}function _0x15f186(_0x1fdad8){let _0x50cc4c=0x1505;function _0x447290(_0x1c880a){for(let _0x362407=0x0;_0x362407<_0x1c880a[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x362407++){const _0x553219=_0x1c880a[_0x77e295([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x362407);_0x50cc4c=(_0x50cc4c<<0x5)+_0x50cc4c+_0x553219,_0x50cc4c&=_0x50cc4c;}}function _0x128dff(_0x2074f1){Array[_0x77e295([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2074f1)?_0x2074f1[_0x77e295([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x128dff):_0x2074f1&&typeof _0x2074f1==_0x77e295([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x77e295([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2074f1)[_0x77e295([0x73,0x6f,0x72,0x74])]()[_0x77e295([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cdbbe,_0x395d82])=>{_0x447290(_0x1cdbbe),_0x128dff(_0x395d82);}):_0x447290(window[_0x77e295([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2074f1));}return _0x128dff(_0x1fdad8),_0x50cc4c>>>0x0;}function _0x239f40(_0x3ce374){return _0x3ce374[_0x77e295([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x77e295([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x77e295([0x30]));}function _0x3f0044(_0x3bd61b){return _0x3bd61b[_0x77e295([0x73,0x70,0x6c,0x69,0x74])]('')[_0x77e295([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x77e295([0x6a,0x6f,0x69,0x6e])]('');}function _0x18c8aa(){}function _0x77e295(_0x2b6fa8){return _0x2b6fa8['map'](_0x489945=>String['fromCharCode'](_0x489945))['join']('');}_0x465ef3(await _0x5dc58b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x56f52b){const {plugins:_0x30f6c3,editing:_0x272530,model:_0x172252}=this['editor'],_0x13ec9b=_0x30f6c3['get'](_0x681316)['getFootnote'](_0x56f52b);return!!_0x13ec9b&&(_0x172252['change'](_0x1866a8=>{_0x1866a8['setSelection'](_0x1866a8['createPositionAt'](_0x13ec9b['definition'],'end'));}),_0x272530['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x94d861){const {plugins:_0x27c965,editing:_0x54e81e,model:_0x94d924}=this['editor'],_0x38fb78=_0x27c965['get'](_0x681316)['getFootnote'](_0x94d861);return!!_0x38fb78&&(_0x94d924['change'](_0x4df97d=>{_0x4df97d['setSelection'](_0x38fb78['reference'],'on');}),_0x54e81e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x503985}=this['editor']['model'],_0x4d9cd1=this['editor']['config']['get']('footnotes.multiBlock');_0x503985['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x503985['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x503985['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d9cd1?_0x503985['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x503985['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x503985['addChildCheck'](_0x550d70=>{for(const _0x4f0773 of _0x550d70)if('footnoteDefinition'===_0x4f0773['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x23c9e9}=this,{conversion:_0x5f4783,editing:_0x30f354}=_0x23c9e9,{t:t}=_0x23c9e9['locale'];_0x5f4783['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xd50e68,{writer:_0x3204fd,consumable:_0x506351})=>{const _0x39a583=_0xd50e68['getChild'](0x0);if(!_0x39a583||!_0x39a583['is']('element','a'))return null;const _0x48f000=_0x39a583['getAttribute']('href')||'';if(!_0x48f000['startsWith']('#'))return null;const _0xce4f04=_0x48f000['replace'](/^#/,'');if(!_0xce4f04)return null;_0x506351['consume'](_0x39a583,{'name':!0x0,'attributes':['href']});for(const {item:_0x1cb66a}of _0x30f354['view']['createRangeIn'](_0x39a583))_0x1cb66a['is']('$textProxy')?_0x506351['consume'](_0x1cb66a['textNode'],{'name':!0x0}):_0x1cb66a['is']('element')&&_0x506351['consume'](_0x1cb66a,{'name':!0x0});return _0x3204fd['createElement']('footnoteRef',{'footnoteId':_0xce4f04});}}),_0x5f4783['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcd7160,{writer:_0x21921c})=>b(_0xcd7160,_0x21921c)}),_0x5f4783['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x25b4e8,{writer:_0x3aa49e})=>{const _0x2544dd=_0x25b4e8['getAttribute']('footnoteCounter');return _0x4419f7(b(_0x25b4e8,_0x3aa49e),_0x3aa49e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2544dd)});}});}['_defineDefinitionsConverters'](){const {editor:_0x527678}=this,{t:t}=_0x527678['locale'],{conversion:_0x9c44db}=_0x527678;_0x9c44db['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9c44db['for']('upcast')['add'](_0x51be60=>{_0x51be60['on']('element:ol',(_0x318f8e,_0x52e217,_0x3f933f)=>{const _0x5f7e2c=_0x52e217['viewItem'];if(!_0x5f7e2c['hasClass']('footnotes-list')||!_0x52e217['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3f933f['consumable']['consume'](_0x5f7e2c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xb9bf99,modelCursor:_0x322fe8}=_0x3f933f['convertChildren'](_0x52e217['viewItem'],_0x52e217['modelCursor']);_0x52e217['modelRange']=_0xb9bf99,_0x52e217['modelCursor']=_0x322fe8;}),_0x51be60['on']('element:hr',(_0x4a235c,_0x3324dd,_0x2826d4)=>{const _0x1f7ca0=_0x3324dd['viewItem'];_0x1f7ca0['hasClass']('footnotes-divider')&&_0x3324dd['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2826d4['consumable']['consume'](_0x1f7ca0,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9c44db['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50658d,{writer:_0x420367})=>D(_0x420367)}),_0x9c44db['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e1938,{writer:_0x5b8e8f})=>{const _0x545f8c=D(_0x5b8e8f,{'data-footnotes-list-label':t('Footnotes')}),_0xd79f01=_0x4419f7(_0x545f8c,_0x5b8e8f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5b8e8f['setCustomProperty']('footnotesDefinitions',!0x0,_0xd79f01),_0xd79f01;}});}['_defineDefinitionConverters'](){const {editor:_0x4de1f6}=this,{conversion:_0x5b3b17,locale:_0x3a93f7}=_0x4de1f6,_0x49fdcb=_0x4de1f6['config']['get']('footnotes.multiBlock');_0x5b3b17['for']('upcast')['add'](_0x2cccbc=>{_0x2cccbc['on']('element:li',(_0x57fde6,_0x3af2e0,_0x2ccf17)=>{const _0x3e1250=_0x3af2e0['viewItem'];if(!_0x3e1250['hasClass']('footnote-definition')||!_0x3e1250['getAttribute']('id'))return;const _0x1d0677=_0x3e1250['parent'];if(!_0x1d0677['is']('element','ol')||!_0x1d0677['hasClass']('footnotes-list'))return;if(!_0x2ccf17['consumable']['test'](_0x3e1250,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4e821d=_0x2ccf17['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3e1250['getAttribute']('id')});if(!_0x2ccf17['safeInsert'](_0x4e821d,_0x3af2e0['modelCursor']))return;_0x2ccf17['consumable']['consume'](_0x3e1250,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1759e4=Array['from'](_0x3e1250['getChildren']())['find'](_0x3baea1=>_0x3baea1['is']('element')&&_0x3baea1['hasClass']('footnote-content'));for(const _0xfe55aa of _0x3e1250['getChildren']())_0xfe55aa['is']('element')&&(_0x2ccf17['consumable']['consume'](_0xfe55aa,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2ccf17['consumable']['consume'](_0xfe55aa,{'name':!0x0,'classes':'footnote-content'}));if(_0x1759e4){if(_0x49fdcb)_0x2ccf17['convertChildren'](_0x1759e4,_0x4e821d);else{const _0x5ca694=_0x2ccf17['writer']['createElement']('footnoteInlineContent');_0x2ccf17['writer']['insert'](_0x5ca694,_0x4e821d),_0x2ccf17['convertChildren'](_0x1759e4,_0x5ca694);}}_0x2ccf17['updateConversionResult'](_0x4e821d,_0x3af2e0);});}),_0x5b3b17['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x531780,{writer:_0x481471})=>y(_0x531780,_0x481471,_0x3a93f7,{'dataPipeline':!0x0})}),_0x5b3b17['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x142dbb,{writer:_0x2ecaed})=>y(_0x142dbb,_0x2ecaed,_0x3a93f7)});}['_defineBogusParagraphConverters'](){const {editor:_0x3b8f0a}=this,{conversion:_0x82427}=_0x3b8f0a;_0x3b8f0a['config']['get']('footnotes.multiBlock')?(_0x82427['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x82427['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3b8f0a['model']['document'],'change:data',()=>{!function(_0x20482e,_0x1ee3a0){const _0x4bd792=_0x20482e['document']['differ'],_0x488fec=new Set();for(const _0x36510b of _0x4bd792['getChanges']()){const _0x5096d5='attribute'==_0x36510b['type']?_0x36510b['range']['start']['parent']:_0x36510b['position']['parent'];_0x5096d5['is']('element','footnoteDefinition')&&_0x488fec['add'](_0x5096d5);}for(const _0x444e2c of _0x488fec['values']()){const _0x4f3304=Array['from'](_0x444e2c['getChildren']())['filter'](_0x56e97a=>v(_0x56e97a,_0x1ee3a0['mapper']));for(const _0x16bf02 of _0x4f3304)_0x1ee3a0['reconvertItem'](_0x16bf02);}}(_0x3b8f0a['model'],_0x3b8f0a['editing']);})):(_0x82427['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x82427['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x218a6a,{writer:_0x2f0eca})=>{const _0xcb6f6d=_0x2f0eca['createContainerElement']('span');return _0x2f0eca['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcb6f6d),_0xcb6f6d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x523fc4}=this,{editing:_0x5cd15f,t:t}=_0x523fc4,_0x30b25c=_0x523fc4['model']['document']['selection'];_0x523fc4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x523fc4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5cd15f['view']['document'],'enter',(_0x19e9ed,_0x7e4c8e)=>{const _0x4dc7b9=function(_0x26656d){const _0x33096a=_0x26656d['getSelectedElement']();if(_0x33096a?.['is']('element','footnoteRef'))return _0x33096a;return null;}(_0x30b25c);if(_0x4dc7b9){const _0x570974=_0x4dc7b9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x570974),_0x7e4c8e['preventDefault'](),_0x19e9ed['stop']();}},{'context':_0x474105});}['_defineClickHandlers'](){const {editor:_0x199fde}=this,{editing:_0xf12f3f}=_0x199fde;_0x199fde['editing']['view']['addObserver'](_0x34156a),_0x199fde['editing']['view']['addObserver'](_0x3bcdbf);let _0x8ff6a6=!0x1;this['listenTo'](_0xf12f3f['view']['document'],'pointerdown',(_0x5954cd,_0x77adce)=>{const {target:_0x2f717f}=_0x77adce,_0x492eb1=_0xf12f3f['view']['document']['selection'];_0x8ff6a6=!!(_0x2f717f?.['is']('element','a')&&_0x2f717f['parent']?.['is']('element','sup')&&_0x2f717f['parent']['hasClass']('footnote'))&&_0x492eb1['getSelectedElement']()===_0x2f717f['parent'];},{'priority':'high'}),this['listenTo'](_0xf12f3f['view']['document'],'click',(_0x31ba53,_0x3c9c1a)=>{const {target:_0x54209d}=_0x3c9c1a;if(!_0x54209d?.['is']('element','a'))return;if(_0x54209d['parent']?.['is']('element','sup')&&_0x54209d['parent']['hasClass']('footnote')&&!_0x8ff6a6)return void _0x3c9c1a['preventDefault']();let _0x512f6d=_0x54209d['getAttribute']('href');if(!_0x512f6d?.['startsWith']('#'))return;_0x512f6d=_0x512f6d['slice'](0x1);let _0x1a0afa=!0x1;(_0x512f6d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x512f6d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x512f6d))&&(_0x1a0afa=!0x0),_0x1a0afa&&(_0x3c9c1a['preventDefault'](),_0x31ba53['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xbc234f}={}){return(_0x514922,{writer:_0x26790c})=>{if(!g(_0x514922))return null;if(!_0xbc234f)return _0x26790c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5cf26d=_0x26790c['createContainerElement']('p');return _0x26790c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5cf26d),_0x5cf26d;};}function g(_0x564cd2){const {parent:_0x573879}=_0x564cd2;if(!_0x573879?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x573879['childCount'])return!0x1;for(const _0x5780ea of _0x564cd2['getAttributeKeys']())if(!_0x5780ea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5780ea)return!0x1;return!0x0;}function v(_0x212253,_0x129feb){if(!_0x212253['is']('element','paragraph'))return!0x1;const _0x6544b1=_0x129feb['toViewElement'](_0x212253);return!!_0x6544b1&&g(_0x212253)!==_0x6544b1['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x131d94){return _0x474105(_0x131d94)&&_0x131d94['is']('containerElement')&&!!_0x131d94['getCustomProperty']('footnotesDefinitions');}function D(_0x2adf93,_0x19d5c7={}){const _0x5a3873=_0x2adf93['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x192eb5=_0x2adf93['createContainerElement']('ol',{'class':'footnotes-list'},_0x2adf93['createSlot']());return _0x2adf93['createContainerElement']('div',{'class':'footnotes',..._0x19d5c7},[_0x5a3873,_0x192eb5]);}function b(_0x3275c6,_0x3f61cb){const _0x39505b=_0x3275c6['getAttribute']('footnoteId'),_0x35fe2e=_0x3275c6['getAttribute']('footnoteCounter'),_0x2ab5a0=_0x3f61cb['createUIElement']('a',{'href':'#'+_0x39505b},function(_0x3d3414){const _0x5d944a=this['toDomElement'](_0x3d3414);return _0x5d944a['textContent']=_0x35fe2e,_0x5d944a;}),_0x3c07e6=_0x3f61cb['createContainerElement']('sup',{'id':'ref-'+_0x39505b,'class':'footnote'},[_0x2ab5a0]);return _0x3c07e6['getFillerOffset']=()=>null,_0x3c07e6;}function y(_0x3ecb76,_0x38b1f8,_0x36b77c,{dataPipeline:_0x292620}={}){const {t:t}=_0x36b77c,_0x456f49=_0x3ecb76['getAttribute']('footnoteId'),_0x201d3a=_0x38b1f8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x456f49},function(_0x55243f){const _0x580b65=this['toDomElement'](_0x55243f);return _0x580b65['innerText']='^',_0x580b65;}),_0x29e502=_0x292620?_0x38b1f8['createContainerElement']('div',{'class':'footnote-content'}):_0x2428b4(_0x38b1f8['createEditableElement']('div',{'class':'footnote-content'}),_0x38b1f8,{'label':t('Footnote\x20content.')});return _0x38b1f8['insert'](_0x38b1f8['createPositionAt'](_0x29e502,0x0),_0x38b1f8['createSlot']()),_0x38b1f8['createContainerElement']('li',{'class':'footnote-definition','id':_0x456f49},[_0x201d3a,_0x29e502]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x569845=_0x5691;(function(_0x19e627,_0x1e1df2){const _0x4358c4=_0x5691,_0x2f4b8f=_0x19e627();while(!![]){try{const _0x57ef61=-parseInt(_0x4358c4(0x1a9))/0x1*(-parseInt(_0x4358c4(0x1a3))/0x2)+-parseInt(_0x4358c4(0x1a4))/0x3*(-parseInt(_0x4358c4(0x1ab))/0x4)+-parseInt(_0x4358c4(0x1a2))/0x5+parseInt(_0x4358c4(0x1ad))/0x6*(-parseInt(_0x4358c4(0x1b1))/0x7)+parseInt(_0x4358c4(0x1aa))/0x8*(parseInt(_0x4358c4(0x1b3))/0x9)+-parseInt(_0x4358c4(0x1a0))/0xa*(-parseInt(_0x4358c4(0x1b0))/0xb)+-parseInt(_0x4358c4(0x1b2))/0xc*(parseInt(_0x4358c4(0x19e))/0xd);if(_0x57ef61===_0x1e1df2)break;else _0x2f4b8f['push'](_0x2f4b8f['shift']());}catch(_0x240e3e){_0x2f4b8f['push'](_0x2f4b8f['shift']());}}}(_0x3ed4,0xe60ef));import{Command as _0x3eccd2}from'ckeditor5/src/core.js';function _0x5691(_0x53df0c,_0x3700a6){const _0x3ed438=_0x3ed4();return _0x5691=function(_0x569161,_0x276777){_0x569161=_0x569161-0x19c;let _0x1f1313=_0x3ed438[_0x569161];return _0x1f1313;},_0x5691(_0x53df0c,_0x3700a6);}function _0x3ed4(){const _0x5f4240=['223116VjhCBz','110709fqjyyC','value','get','_updateFootnotesCounters','isInteger','execute','13rZJZSl','isEnabled','8450XvIlTl','change','2494865dwXTRM','4zJYEWW','11094dkEbTb','refresh','getFootnotesDefinitionsObjectElement','getAttribute','setAttribute','351929XoqXcX','88rSiMIc','1460aLHcDM','model','4938dYGZaX','plugins','footnotesListStart','7469UbrrEz','11081fcYRtl'];_0x3ed4=function(){return _0x5f4240;};return _0x3ed4();}import{FootnotesTracker as _0x212fdd}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x3eccd2{[_0x569845(0x1a5)](){const _0x58ca70=_0x569845,{editor:_0x5c079b}=this,_0x2dfaaf=_0x5c079b[_0x58ca70(0x1ae)][_0x58ca70(0x1b5)](_0x212fdd)[_0x58ca70(0x1a6)]();this[_0x58ca70(0x19f)]=!!_0x2dfaaf,this[_0x58ca70(0x1b4)]=_0x2dfaaf?.[_0x58ca70(0x1a7)](_0x58ca70(0x1af))??null;}[_0x569845(0x19d)]({value:_0x38fe8c}){const _0x4542f2=_0x569845,{editor:_0x295566}=this,_0x40a788=_0x295566[_0x4542f2(0x1ae)][_0x4542f2(0x1b5)](_0x212fdd),_0x1f2edb=_0x40a788[_0x4542f2(0x1a6)]();_0x1f2edb&&Number[_0x4542f2(0x19c)](_0x38fe8c)&&_0x295566[_0x4542f2(0x1ac)][_0x4542f2(0x1a1)](_0x25c741=>{const _0x33b5f4=_0x4542f2;_0x25c741[_0x33b5f4(0x1a8)](_0x33b5f4(0x1af),_0x38fe8c,_0x1f2edb),_0x40a788[_0x33b5f4(0x1b6)](_0x25c741);});}}
23
+ const _0x388f6d=_0x2ec4;(function(_0x2cd9b7,_0x278eac){const _0x4234df=_0x2ec4,_0x3eff98=_0x2cd9b7();while(!![]){try{const _0x539dc0=parseInt(_0x4234df(0xbb))/0x1*(-parseInt(_0x4234df(0xb0))/0x2)+parseInt(_0x4234df(0xbd))/0x3+-parseInt(_0x4234df(0xb2))/0x4*(parseInt(_0x4234df(0xb4))/0x5)+-parseInt(_0x4234df(0xb6))/0x6*(-parseInt(_0x4234df(0xba))/0x7)+-parseInt(_0x4234df(0xb8))/0x8+parseInt(_0x4234df(0xc2))/0x9+parseInt(_0x4234df(0xbc))/0xa*(-parseInt(_0x4234df(0xb9))/0xb);if(_0x539dc0===_0x278eac)break;else _0x3eff98['push'](_0x3eff98['shift']());}catch(_0x4c9765){_0x3eff98['push'](_0x3eff98['shift']());}}}(_0x3c9e,0xa5670));function _0x2ec4(_0x32a3e6,_0x40ea68){const _0x3c9ec6=_0x3c9e();return _0x2ec4=function(_0x2ec439,_0x5b9765){_0x2ec439=_0x2ec439-0xae;let _0x23dc3a=_0x3c9ec6[_0x2ec439];return _0x23dc3a;},_0x2ec4(_0x32a3e6,_0x40ea68);}function _0x3c9e(){const _0x1e45cb=['1QyHzLL','100GkhHPe','4002471cfGaMf','getFootnotesDefinitionsObjectElement','value','isEnabled','_updateFootnotesCounters','11138679EeNTcx','footnotesListStart','change','setAttribute','execute','plugins','model','1143394TIECrT','get','1428724PvLJwf','refresh','10lFldQN','getAttribute','5274ehmqBH','isInteger','1444000lBRRFD','597179MIyybc','917OKdNsG'];_0x3c9e=function(){return _0x1e45cb;};return _0x3c9e();}import{Command as _0x28cab2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x476852}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x28cab2{[_0x388f6d(0xb3)](){const _0x202822=_0x388f6d,{editor:_0x26a9b5}=this,_0x25e36a=_0x26a9b5[_0x202822(0xae)][_0x202822(0xb1)](_0x476852)[_0x202822(0xbe)]();this[_0x202822(0xc0)]=!!_0x25e36a,this[_0x202822(0xbf)]=_0x25e36a?.[_0x202822(0xb5)](_0x202822(0xc3))??null;}[_0x388f6d(0xc6)]({value:_0x32459b}){const _0x4aa1e1=_0x388f6d,{editor:_0x1388bd}=this,_0x2b7cb7=_0x1388bd[_0x4aa1e1(0xae)][_0x4aa1e1(0xb1)](_0x476852),_0x57002b=_0x2b7cb7[_0x4aa1e1(0xbe)]();_0x57002b&&Number[_0x4aa1e1(0xb7)](_0x32459b)&&_0x1388bd[_0x4aa1e1(0xaf)][_0x4aa1e1(0xc4)](_0x7ce0f5=>{const _0x4d9e0b=_0x4aa1e1;_0x7ce0f5[_0x4d9e0b(0xc5)](_0x4d9e0b(0xc3),_0x32459b,_0x57002b),_0x2b7cb7[_0x4d9e0b(0xc1)](_0x7ce0f5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16e7d4=_0x44cc;(function(_0xee8eca,_0x25f9af){const _0x34aaef=_0x44cc,_0x317985=_0xee8eca();while(!![]){try{const _0x1a050a=-parseInt(_0x34aaef(0x110))/0x1+parseInt(_0x34aaef(0x117))/0x2+parseInt(_0x34aaef(0x104))/0x3+-parseInt(_0x34aaef(0x101))/0x4*(parseInt(_0x34aaef(0x111))/0x5)+parseInt(_0x34aaef(0x108))/0x6*(parseInt(_0x34aaef(0x10f))/0x7)+parseInt(_0x34aaef(0x113))/0x8+parseInt(_0x34aaef(0x10a))/0x9*(-parseInt(_0x34aaef(0x118))/0xa);if(_0x1a050a===_0x25f9af)break;else _0x317985['push'](_0x317985['shift']());}catch(_0x3c79b3){_0x317985['push'](_0x317985['shift']());}}}(_0x1184,0xc8be7));function _0x44cc(_0x5102c2,_0x3c3958){const _0x1184d9=_0x1184();return _0x44cc=function(_0x44cc35,_0x3a3c1f){_0x44cc35=_0x44cc35-0x101;let _0x33c1fc=_0x1184d9[_0x44cc35];return _0x33c1fc;},_0x44cc(_0x5102c2,_0x3c3958);}import{Command as _0x547d01}from'ckeditor5/src/core.js';function _0x1184(){const _0x34e97e=['1044842xYzhId','20wAGekK','11892KZiMfJ','get','includes','7893MNhSih','getAttribute','getFootnotesDefinitionsObjectElement','change','1234524zbVdhJ','_updateFootnotesCounters','6700266nKnucJ','execute','model','value','isEnabled','14gskuDE','56688xYXPJt','190NexUTo','plugins','12354376dJECks','footnotesListStyle','refresh','setAttribute'];_0x1184=function(){return _0x34e97e;};return _0x1184();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x435850}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0xa4a0e2}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x547d01{[_0x16e7d4(0x115)](){const _0x1fcf95=_0x16e7d4,{editor:_0x6fe11e}=this,_0x1845cd=_0x6fe11e[_0x1fcf95(0x112)][_0x1fcf95(0x102)](_0xa4a0e2)[_0x1fcf95(0x106)]();this[_0x1fcf95(0x10e)]=!!_0x1845cd,this[_0x1fcf95(0x10d)]=_0x1845cd?.[_0x1fcf95(0x105)](_0x1fcf95(0x114))??null;}[_0x16e7d4(0x10b)]({value:_0x1a7e6a}){const _0xc9e0c0=_0x16e7d4,{editor:_0xbea800}=this,_0x453a7e=_0xbea800[_0xc9e0c0(0x112)][_0xc9e0c0(0x102)](_0xa4a0e2),_0x1d99cd=_0x453a7e[_0xc9e0c0(0x106)]();_0x1d99cd&&_0x435850[_0xc9e0c0(0x103)](_0x1a7e6a)&&_0xbea800[_0xc9e0c0(0x10c)][_0xc9e0c0(0x107)](_0x2cfdd9=>{const _0x1533b3=_0xc9e0c0;_0x2cfdd9[_0x1533b3(0x116)](_0x1533b3(0x114),_0x1a7e6a,_0x1d99cd),_0x453a7e[_0x1533b3(0x109)](_0x2cfdd9);});}}
23
+ const _0x18bafc=_0x5647;(function(_0x3986ba,_0x20fe75){const _0x53f553=_0x5647,_0x1a6e3b=_0x3986ba();while(!![]){try{const _0x128f54=parseInt(_0x53f553(0x74))/0x1+parseInt(_0x53f553(0x79))/0x2+-parseInt(_0x53f553(0x82))/0x3*(parseInt(_0x53f553(0x7f))/0x4)+-parseInt(_0x53f553(0x7e))/0x5*(-parseInt(_0x53f553(0x7a))/0x6)+-parseInt(_0x53f553(0x84))/0x7+-parseInt(_0x53f553(0x7c))/0x8+parseInt(_0x53f553(0x78))/0x9*(-parseInt(_0x53f553(0x80))/0xa);if(_0x128f54===_0x20fe75)break;else _0x1a6e3b['push'](_0x1a6e3b['shift']());}catch(_0x4910b3){_0x1a6e3b['push'](_0x1a6e3b['shift']());}}}(_0xef0a,0x87ae8));import{Command as _0x6fad57}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x405aad}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1f5ebd}from'../../footnotestracker.js';function _0x5647(_0x2fcd39,_0x61b77b){const _0xef0aa9=_0xef0a();return _0x5647=function(_0x5647bf,_0x66c77){_0x5647bf=_0x5647bf-0x70;let _0x395555=_0xef0aa9[_0x5647bf];return _0x395555;},_0x5647(_0x2fcd39,_0x61b77b);}export class FootnotesStyleCommand extends _0x6fad57{[_0x18bafc(0x71)](){const _0x583c02=_0x18bafc,{editor:_0x5b7d76}=this,_0x4e67a0=_0x5b7d76[_0x583c02(0x87)][_0x583c02(0x70)](_0x1f5ebd)[_0x583c02(0x75)]();this[_0x583c02(0x83)]=!!_0x4e67a0,this[_0x583c02(0x86)]=_0x4e67a0?.[_0x583c02(0x81)](_0x583c02(0x77))??null;}[_0x18bafc(0x85)]({value:_0x1e8063}){const _0x1756ad=_0x18bafc,{editor:_0x50aa6b}=this,_0x35bcce=_0x50aa6b[_0x1756ad(0x87)][_0x1756ad(0x70)](_0x1f5ebd),_0x1fe5c5=_0x35bcce[_0x1756ad(0x75)]();_0x1fe5c5&&_0x405aad[_0x1756ad(0x7d)](_0x1e8063)&&_0x50aa6b[_0x1756ad(0x7b)][_0x1756ad(0x72)](_0x375eff=>{const _0x160f2f=_0x1756ad;_0x375eff[_0x160f2f(0x73)](_0x160f2f(0x77),_0x1e8063,_0x1fe5c5),_0x35bcce[_0x160f2f(0x76)](_0x375eff);});}}function _0xef0a(){const _0x2ac800=['1851864BnXFaQ','execute','value','plugins','get','refresh','change','setAttribute','656248lMOFkd','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','footnotesListStyle','25101wxBmsV','881030QUALhP','4138734hsBWUO','model','1320712cpIxeW','includes','5jWDgUv','63124iTqsDB','100McknJg','getAttribute','147eBkJuT','isEnabled'];_0xef0a=function(){return _0x2ac800;};return _0xef0a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x442f(_0x25408b,_0x45047d){const _0x46c78e=_0x46c7();return _0x442f=function(_0x442fb4,_0x337bf8){_0x442fb4=_0x442fb4-0x170;let _0x1362df=_0x46c78e[_0x442fb4];return _0x1362df;},_0x442f(_0x25408b,_0x45047d);}const _0x7ea409=_0x442f;(function(_0x5a9869,_0x4f028a){const _0x15c453=_0x442f,_0xa36fb2=_0x5a9869();while(!![]){try{const _0x107b54=parseInt(_0x15c453(0x17c))/0x1+-parseInt(_0x15c453(0x180))/0x2*(parseInt(_0x15c453(0x17b))/0x3)+parseInt(_0x15c453(0x172))/0x4*(parseInt(_0x15c453(0x182))/0x5)+parseInt(_0x15c453(0x17f))/0x6+-parseInt(_0x15c453(0x175))/0x7+-parseInt(_0x15c453(0x170))/0x8*(parseInt(_0x15c453(0x171))/0x9)+-parseInt(_0x15c453(0x17e))/0xa*(parseInt(_0x15c453(0x174))/0xb);if(_0x107b54===_0x4f028a)break;else _0xa36fb2['push'](_0xa36fb2['shift']());}catch(_0x2c176b){_0xa36fb2['push'](_0xa36fb2['shift']());}}}(_0x46c7,0x24061));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x7ea409(0x176),_0x7ea409(0x17a),_0x7ea409(0x179),_0x7ea409(0x181),_0x7ea409(0x173),_0x7ea409(0x178),_0x7ea409(0x17d),_0x7ea409(0x177)];function _0x46c7(){const _0x2fe23f=['upper-latin','1215275hBdTEf','2024GEdLcW','4869zKYMbX','4DBAmeL','lower-alpha','11afDMSy','323652hbtOAg','decimal','upper-roman','upper-alpha','lower-latin','decimal-leading-zero','3120WqcrWq','195612kTlMUd','lower-roman','1111050XJwCFC','99720rhdHSW','26eVKqsK'];_0x46c7=function(){return _0x2fe23f;};return _0x46c7();}
23
+ const _0x2cbb88=_0x468e;(function(_0x1675f6,_0x190445){const _0x4c9828=_0x468e,_0x398cc5=_0x1675f6();while(!![]){try{const _0x3073e9=-parseInt(_0x4c9828(0xc7))/0x1+parseInt(_0x4c9828(0xcc))/0x2+-parseInt(_0x4c9828(0xce))/0x3+parseInt(_0x4c9828(0xca))/0x4*(-parseInt(_0x4c9828(0xc5))/0x5)+-parseInt(_0x4c9828(0xcb))/0x6*(-parseInt(_0x4c9828(0xc3))/0x7)+-parseInt(_0x4c9828(0xbf))/0x8+parseInt(_0x4c9828(0xc4))/0x9;if(_0x3073e9===_0x190445)break;else _0x398cc5['push'](_0x398cc5['shift']());}catch(_0x32a73d){_0x398cc5['push'](_0x398cc5['shift']());}}}(_0x561e,0xb6eaa));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2cbb88(0xc1),_0x2cbb88(0xc8),_0x2cbb88(0xc2),_0x2cbb88(0xcd),_0x2cbb88(0xbe),_0x2cbb88(0xc9),_0x2cbb88(0xc0),_0x2cbb88(0xc6)];function _0x468e(_0x59eb88,_0x50d25d){const _0x561ece=_0x561e();return _0x468e=function(_0x468e33,_0x4ce903){_0x468e33=_0x468e33-0xbe;let _0xd93625=_0x561ece[_0x468e33];return _0xd93625;},_0x468e(_0x59eb88,_0x50d25d);}function _0x561e(){const _0x4bc5a3=['lower-roman','decimal','lower-latin','777WxxfYU','11093688clDTIS','87475oovfTj','upper-roman','429191FBqkXk','decimal-leading-zero','upper-alpha','8KYkjLe','50586NOUbFx','2903056SXDaJB','upper-latin','2798784EBpunD','lower-alpha','11789328uQvcuJ'];_0x561e=function(){return _0x4bc5a3;};return _0x561e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x203d73=_0x47a0;function _0x25d5(){const _0x3a698c=['init','decimal-leading-zero','checkAttribute','floor','name','footnotesListStart','getChildren','padStart','937000UbueuR','upcast','type','footnotesStart','upper-roman','max','document','writer','lower-latin','_updateFootnotesCounters','registerPostFixer','upper-alpha','_formatFootnoteListValue','footnotesListStyle','footnotesStyle','187zKYOnF','get','find','2325696oxYkKM','item','toViewElement','parent','position','mapper','plugins','hasAttribute','consume','FootnotesPropertiesEditing','90140BzAyGn','footnotes-list','model','decimal','isNaN','removeAttribute','viewItem','attribute:footnotesListStyle:footnotesDefinitions','element','downcast','getChanges','657979BVRLzc','_getDefaultListStyle','define','footnotes.footnotesProperties.defaultListStyle','35196ZOQrEQ','upper-latin','2EIKzxQ','4588854dfzMJE','consumable','insert','isOfficialPlugin','add','for','1843860KssBgt','setAttribute','getItems','fromCharCode','_defineConverters','hasClass','footnotesDefinitions','requires','27RqvVSU','schema','_definePostfixer','removeStyle','footnotes.footnotesProperties.defaultStartIndex','lower-alpha','editor','start','getStyle','list-style-type','parseInt','isPremiumPlugin','7uEqxvB','lower-roman','15WrdoCA','pluginName','config','setFootnoteFormatter','setStyle','extend','_defineFormatter','differ','attribute:footnotesListStart:footnotesDefinitions','$text','commands','from','createRangeOn','toLowerCase','nodeAfter','_getDefaultStartIndex','getAttribute','_defineSchema','toUpperCase','element:ol','modelCursor'];_0x25d5=function(){return _0x3a698c;};return _0x25d5();}(function(_0x20748c,_0x251fa4){const _0x4bfc00=_0x47a0,_0x579d19=_0x20748c();while(!![]){try{const _0x42c0ab=parseInt(_0x4bfc00(0x19d))/0x1*(parseInt(_0x4bfc00(0x1a3))/0x2)+-parseInt(_0x4bfc00(0x1c0))/0x3*(-parseInt(_0x4bfc00(0x192))/0x4)+-parseInt(_0x4bfc00(0x1aa))/0x5+-parseInt(_0x4bfc00(0x1a4))/0x6*(parseInt(_0x4bfc00(0x1be))/0x7)+parseInt(_0x4bfc00(0x188))/0x8*(parseInt(_0x4bfc00(0x1b2))/0x9)+parseInt(_0x4bfc00(0x176))/0xa+-parseInt(_0x4bfc00(0x185))/0xb*(-parseInt(_0x4bfc00(0x1a1))/0xc);if(_0x42c0ab===_0x251fa4)break;else _0x579d19['push'](_0x579d19['shift']());}catch(_0x5d8e95){_0x579d19['push'](_0x579d19['shift']());}}}(_0x25d5,0x9f5e2));function _0x47a0(_0x55037a,_0x3c991c){const _0x25d5e6=_0x25d5();return _0x47a0=function(_0x47a0c1,_0xe83439){_0x47a0c1=_0x47a0c1-0x15b;let _0x535908=_0x25d5e6[_0x47a0c1];return _0x535908;},_0x47a0(_0x55037a,_0x3c991c);}import{Plugin as _0x4c26c7}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x24a2c0}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3f5132}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x288295}from'../footnotestracker.js';import{FootnotesEditing as _0x37e186}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4c26c7{static get[_0x203d73(0x1c1)](){const _0x523b41=_0x203d73;return _0x523b41(0x191);}static get[_0x203d73(0x1b1)](){return[_0x37e186,_0x288295];}static get[_0x203d73(0x1a7)](){return!0x0;}static get[_0x203d73(0x1bd)](){return!0x0;}[_0x203d73(0x16e)](){const _0x333cfa=_0x203d73,{editor:_0x1f01d3}=this;_0x1f01d3[_0x333cfa(0x15b)][_0x333cfa(0x19f)](_0x333cfa(0x1a0),_0x333cfa(0x195)),_0x1f01d3[_0x333cfa(0x15b)][_0x333cfa(0x19f)](_0x333cfa(0x1b6),0x1),_0x1f01d3[_0x333cfa(0x163)][_0x333cfa(0x1a8)](_0x333cfa(0x184),new _0x24a2c0(_0x1f01d3)),_0x1f01d3[_0x333cfa(0x163)][_0x333cfa(0x1a8)](_0x333cfa(0x179),new _0x3f5132(_0x1f01d3)),this[_0x333cfa(0x16a)](),this[_0x333cfa(0x1ae)](),this[_0x333cfa(0x15f)](),this[_0x333cfa(0x1b4)]();}[_0x203d73(0x16a)](){const _0x3cdaa0=_0x203d73,{editor:_0x3d5e07}=this,{schema:_0x3408e0}=_0x3d5e07[_0x3cdaa0(0x194)];_0x3408e0[_0x3cdaa0(0x15e)](_0x3cdaa0(0x1b0),{'allowAttributes':[_0x3cdaa0(0x183),_0x3cdaa0(0x173)]});}[_0x203d73(0x1ae)](){const _0x2dbef3=_0x203d73,{editor:_0x1abc0d}=this,{conversion:_0x16cc68,model:_0x338679}=_0x1abc0d,{schema:_0x4dcb32}=_0x338679;_0x16cc68[_0x2dbef3(0x1a9)](_0x2dbef3(0x177))[_0x2dbef3(0x1a8)](_0x40aeab=>{const _0x2b55c7=_0x2dbef3;_0x40aeab['on'](_0x2b55c7(0x16c),(_0x539e52,_0x45d9ac,_0x89efe5)=>{const _0xd0b4a=_0x2b55c7,_0x2d666e=_0x45d9ac[_0xd0b4a(0x198)],_0x1a6872=_0x45d9ac[_0xd0b4a(0x16d)]?.[_0xd0b4a(0x18b)];_0x2d666e[_0xd0b4a(0x1af)](_0xd0b4a(0x193))&&_0x1a6872?.['is'](_0xd0b4a(0x19a),_0xd0b4a(0x1b0))&&(function(_0x2a4a15,_0x4bf855,_0x883a8f,_0x2753e8){const _0x3c79a4=_0xd0b4a;if(!_0x2753e8[_0x3c79a4(0x170)](_0x4bf855,_0x3c79a4(0x173)))return;let _0x3dd461=0x1;const _0x5e8e32=_0x883a8f[_0x3c79a4(0x1a5)][_0x3c79a4(0x190)](_0x2a4a15,{'attributes':_0x3c79a4(0x1b9)});if(_0x5e8e32){const _0x2a4fa8=Number[_0x3c79a4(0x1bc)](_0x2a4a15[_0x3c79a4(0x169)](_0x3c79a4(0x1b9)),0xa);Number[_0x3c79a4(0x196)](_0x2a4fa8)||(_0x3dd461=_0x2a4fa8);}!_0x5e8e32&&_0x4bf855[_0x3c79a4(0x18f)](_0x3c79a4(0x173))||_0x883a8f[_0x3c79a4(0x17d)][_0x3c79a4(0x1ab)](_0x3c79a4(0x173),_0x3dd461,_0x4bf855);}(_0x2d666e,_0x1a6872,_0x89efe5,_0x4dcb32),function(_0x58a60c,_0x98b86a,_0x206753,_0x4852cd){const _0x307775=_0xd0b4a;if(!_0x4852cd[_0x307775(0x170)](_0x98b86a,_0x307775(0x183)))return;let _0x4be1d8=_0x307775(0x195),_0x272609=!0x1;if(_0x206753[_0x307775(0x1a5)][_0x307775(0x190)](_0x58a60c,{'attributes':_0x307775(0x178)})){const _0x4f6cf4={0x1:_0x307775(0x195),'a':_0x307775(0x1b7),'A':_0x307775(0x181),'i':_0x307775(0x1bf),'I':_0x307775(0x17a)}[_0x58a60c[_0x307775(0x169)](_0x307775(0x178))];_0x4f6cf4&&(_0x4be1d8=_0x4f6cf4),_0x272609=!0x0;}_0x206753[_0x307775(0x1a5)][_0x307775(0x190)](_0x58a60c,{'styles':_0x307775(0x1bb)})&&(_0x4be1d8=function(_0x375e9d){const _0x9a7619=_0x307775;switch(_0x375e9d){case _0x9a7619(0x1b7):return _0x9a7619(0x17e);case _0x9a7619(0x181):return _0x9a7619(0x1a2);default:return _0x375e9d;}}(_0x58a60c[_0x307775(0x1ba)](_0x307775(0x1bb))),_0x272609=!0x0),!_0x272609&&_0x98b86a[_0x307775(0x18f)](_0x307775(0x183))||_0x206753[_0x307775(0x17d)][_0x307775(0x1ab)](_0x307775(0x183),_0x4be1d8,_0x98b86a);}(_0x2d666e,_0x1a6872,_0x89efe5,_0x4dcb32));});}),_0x16cc68[_0x2dbef3(0x1a9)](_0x2dbef3(0x19b))[_0x2dbef3(0x1a8)](_0x17272f=>{const _0x5ae670=_0x2dbef3;_0x17272f['on'](_0x5ae670(0x161),(_0x38d6d9,_0x8edc4f,_0x368f38)=>{const _0xfafd62=_0x5ae670;if(!_0x368f38[_0xfafd62(0x1a5)][_0xfafd62(0x190)](_0x8edc4f[_0xfafd62(0x189)],_0x38d6d9[_0xfafd62(0x172)]))return;const _0x57e8c7=M(_0x8edc4f[_0xfafd62(0x189)],_0x368f38[_0xfafd62(0x18d)]),{attributeNewValue:_0x86dc76}=_0x8edc4f;null==_0x86dc76||0x1===_0x86dc76?_0x368f38[_0xfafd62(0x17d)][_0xfafd62(0x197)](_0xfafd62(0x1b9),_0x57e8c7):_0x368f38[_0xfafd62(0x17d)][_0xfafd62(0x1ab)](_0xfafd62(0x1b9),String(_0x86dc76),_0x57e8c7);}),_0x17272f['on'](_0x5ae670(0x199),(_0x424bff,_0x1150fd,_0x158767)=>{const _0x3439e9=_0x5ae670;if(!_0x158767[_0x3439e9(0x1a5)][_0x3439e9(0x190)](_0x1150fd[_0x3439e9(0x189)],_0x424bff[_0x3439e9(0x172)]))return;const _0x4d571d=M(_0x1150fd[_0x3439e9(0x189)],_0x158767[_0x3439e9(0x18d)]),{attributeNewValue:_0x38f899}=_0x1150fd;_0x38f899&&_0x3439e9(0x195)!==_0x38f899?_0x158767[_0x3439e9(0x17d)][_0x3439e9(0x15d)](_0x3439e9(0x1bb),_0x38f899,_0x4d571d):_0x158767[_0x3439e9(0x17d)][_0x3439e9(0x1b5)](_0x3439e9(0x1bb),_0x4d571d);});});}[_0x203d73(0x1b4)](){const _0x1934c6=_0x203d73,{editor:_0x346ca6}=this,{model:_0x40580a}=_0x346ca6,_0x28b7ec=_0x346ca6[_0x1934c6(0x18e)][_0x1934c6(0x186)](_0x288295),_0x17ad8f=this[_0x1934c6(0x19e)](),_0x2eb69f=this[_0x1934c6(0x168)]();_0x40580a[_0x1934c6(0x17c)][_0x1934c6(0x180)](_0x3e107a=>{const _0x38a601=_0x1934c6,_0x4c1562=_0x40580a[_0x38a601(0x17c)][_0x38a601(0x160)][_0x38a601(0x19c)]();let _0x193524=!0x1;for(const _0x558677 of _0x4c1562){if(_0x38a601(0x1a6)!==_0x558677[_0x38a601(0x178)]||_0x38a601(0x162)===_0x558677[_0x38a601(0x172)])continue;const _0x146911=_0x40580a[_0x38a601(0x165)](_0x558677[_0x38a601(0x18c)][_0x38a601(0x167)]);for(const _0x7dcd48 of _0x146911[_0x38a601(0x1ac)]())_0x7dcd48['is'](_0x38a601(0x19a),_0x38a601(0x1b0))&&(!_0x7dcd48[_0x38a601(0x18f)](_0x38a601(0x173))&&_0x40580a[_0x38a601(0x1b3)][_0x38a601(0x170)](_0x7dcd48,_0x38a601(0x173))&&(_0x3e107a[_0x38a601(0x1ab)](_0x38a601(0x173),_0x2eb69f,_0x7dcd48),_0x193524=!0x0),!_0x7dcd48[_0x38a601(0x18f)](_0x38a601(0x183))&&_0x40580a[_0x38a601(0x1b3)][_0x38a601(0x170)](_0x7dcd48,_0x38a601(0x183))&&(_0x3e107a[_0x38a601(0x1ab)](_0x38a601(0x183),_0x17ad8f,_0x7dcd48),_0x193524=!0x0));}return _0x193524&&_0x28b7ec[_0x38a601(0x17f)](_0x3e107a),_0x193524;});}[_0x203d73(0x15f)](){const _0x50669e=_0x203d73,{editor:_0x4fd8b4}=this;_0x4fd8b4[_0x50669e(0x18e)][_0x50669e(0x186)](_0x288295)[_0x50669e(0x15c)](_0x448166=>this[_0x50669e(0x182)](_0x448166));}[_0x203d73(0x19e)](){const _0x5ed0d8=_0x203d73;return this[_0x5ed0d8(0x1b8)][_0x5ed0d8(0x15b)][_0x5ed0d8(0x186)](_0x5ed0d8(0x1a0));}[_0x203d73(0x168)](){const _0x2628e7=_0x203d73;return this[_0x2628e7(0x1b8)][_0x2628e7(0x15b)][_0x2628e7(0x186)](_0x2628e7(0x1b6));}[_0x203d73(0x182)]({container:_0x1f6251,value:_0x12cdf3,digits:_0x2b3f8f}){const _0x7a8de7=_0x203d73,_0x3b7741=_0x1f6251[_0x7a8de7(0x169)](_0x7a8de7(0x183)),_0x3566e1=_0x1f6251[_0x7a8de7(0x169)](_0x7a8de7(0x173)),_0x139b7d=Math[_0x7a8de7(0x171)](_0x12cdf3)+(_0x3566e1??0x1)-0x1;switch(_0x3b7741){case _0x7a8de7(0x16f):return function(_0x4cb9a2,_0x3d6882){const _0xc91028=_0x7a8de7;return String(_0x4cb9a2)[_0xc91028(0x175)](_0x3d6882,'0');}(_0x139b7d,Math[_0x7a8de7(0x17b)](0x2,_0x2b3f8f));case _0x7a8de7(0x1b7):case _0x7a8de7(0x17e):return N(_0x139b7d,!0x1);case _0x7a8de7(0x181):case _0x7a8de7(0x1a2):return N(_0x139b7d,!0x0);case _0x7a8de7(0x1bf):return X(_0x139b7d,!0x1);case _0x7a8de7(0x17a):return X(_0x139b7d,!0x0);default:return String(_0x139b7d);}}}function M(_0x4a9134,_0x2842ac){const _0x5c89be=_0x203d73,_0x38c8be=_0x2842ac[_0x5c89be(0x18a)](_0x4a9134);return Array[_0x5c89be(0x164)](_0x38c8be[_0x5c89be(0x174)]())[_0x5c89be(0x187)](_0x505641=>_0x505641['is'](_0x5c89be(0x19a),'ol')&&_0x505641[_0x5c89be(0x1af)](_0x5c89be(0x193)));}function N(_0x36264b,_0x4b79a1){const _0x16b2d9=_0x203d73;let _0x1cf60c='',_0xf18e3f=_0x36264b;for(;_0xf18e3f>0x0;){const _0x204877=(_0xf18e3f-0x1)%0x1a;_0x1cf60c=String[_0x16b2d9(0x1ad)](0x61+_0x204877)+_0x1cf60c,_0xf18e3f=Math[_0x16b2d9(0x171)]((_0xf18e3f-0x1)/0x1a);}return _0x4b79a1?_0x1cf60c[_0x16b2d9(0x16b)]():_0x1cf60c;}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(_0x94af39,_0x5168be){const _0x26c8f7=_0x203d73;let _0xc56b0e='',_0x248b16=_0x94af39;for(const {value:_0x5238eb,numeral:_0x4e2ee1}of V)for(;_0x248b16>=_0x5238eb;)_0xc56b0e+=_0x4e2ee1,_0x248b16-=_0x5238eb;return _0x5168be?_0xc56b0e:_0xc56b0e[_0x26c8f7(0x166)]();}
23
+ const _0x284e75=_0x5b73;(function(_0x5ebed4,_0x36c5b3){const _0x4f1298=_0x5b73,_0x4b739d=_0x5ebed4();while(!![]){try{const _0x5f5a73=-parseInt(_0x4f1298(0xaa))/0x1+parseInt(_0x4f1298(0xa7))/0x2*(-parseInt(_0x4f1298(0xd7))/0x3)+parseInt(_0x4f1298(0xdf))/0x4+parseInt(_0x4f1298(0xa3))/0x5*(parseInt(_0x4f1298(0xdc))/0x6)+parseInt(_0x4f1298(0xc4))/0x7*(parseInt(_0x4f1298(0xa5))/0x8)+parseInt(_0x4f1298(0x96))/0x9+parseInt(_0x4f1298(0x85))/0xa*(-parseInt(_0x4f1298(0xae))/0xb);if(_0x5f5a73===_0x36c5b3)break;else _0x4b739d['push'](_0x4b739d['shift']());}catch(_0x2105a3){_0x4b739d['push'](_0x4b739d['shift']());}}}(_0x2b5a,0xeb761));import{Plugin as _0x493ba8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x11eb53}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x258f75}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4dbe23}from'../footnotestracker.js';import{FootnotesEditing as _0x3284ad}from'../footnotesediting.js';function _0x2b5a(){const _0x4bc5e8=['schema','max','_getDefaultStartIndex','lower-alpha','9060858PSMWqu','insert','footnotesListStyle','type','consume','removeAttribute','decimal','from','consumable','_updateFootnotesCounters','attribute:footnotesListStart:footnotesDefinitions','element','isNaN','4765aDKQSu','for','645272zMOLWq','upcast','517130VYYswS','position','_formatFootnoteListValue','1208231vKxnOo','hasAttribute','removeStyle','isOfficialPlugin','2365FqtYXv','hasClass','getChanges','name','footnotes-list','upper-latin','toUpperCase','_definePostfixer','editor','getItems','pluginName','_defineFormatter','setAttribute','parent','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStart','getChildren','registerPostFixer','setFootnoteFormatter','item','footnotesStyle','find','154imSfJY','mapper','differ','$text','toLowerCase','downcast','isPremiumPlugin','lower-latin','footnotesDefinitions','modelCursor','viewItem','padStart','decimal-leading-zero','list-style-type','_getDefaultListStyle','getStyle','footnotes.footnotesProperties.defaultStartIndex','writer','define','18aaPPDj','add','get','plugins','_defineConverters','5286VBHAlV','init','fromCharCode','3528648RWxCub','nodeAfter','commands','footnotes.footnotesProperties.defaultListStyle','config','checkAttribute','parseInt','start','toViewElement','_defineSchema','upper-alpha','document','36230KpNHhD','upper-roman','getAttribute','createRangeOn','lower-roman','extend','requires','FootnotesPropertiesEditing','model','setStyle','footnotesStart','floor','element:ol'];_0x2b5a=function(){return _0x4bc5e8;};return _0x2b5a();}export class FootnotesPropertiesEditing extends _0x493ba8{static get[_0x284e75(0xb8)](){const _0x1450e8=_0x284e75;return _0x1450e8(0x8c);}static get[_0x284e75(0x8b)](){return[_0x3284ad,_0x4dbe23];}static get[_0x284e75(0xad)](){return!0x0;}static get[_0x284e75(0xca)](){return!0x0;}[_0x284e75(0xdd)](){const _0x20af76=_0x284e75,{editor:_0x2a6a9e}=this;_0x2a6a9e[_0x20af76(0xe3)][_0x20af76(0xd6)](_0x20af76(0xe2),_0x20af76(0x9c)),_0x2a6a9e[_0x20af76(0xe3)][_0x20af76(0xd6)](_0x20af76(0xd4),0x1),_0x2a6a9e[_0x20af76(0xe1)][_0x20af76(0xd8)](_0x20af76(0xc2),new _0x11eb53(_0x2a6a9e)),_0x2a6a9e[_0x20af76(0xe1)][_0x20af76(0xd8)](_0x20af76(0x8f),new _0x258f75(_0x2a6a9e)),this[_0x20af76(0x82)](),this[_0x20af76(0xdb)](),this[_0x20af76(0xb9)](),this[_0x20af76(0xb5)]();}[_0x284e75(0x82)](){const _0x3952eb=_0x284e75,{editor:_0x1aab82}=this,{schema:_0x4ded27}=_0x1aab82[_0x3952eb(0x8d)];_0x4ded27[_0x3952eb(0x8a)](_0x3952eb(0xcc),{'allowAttributes':[_0x3952eb(0x98),_0x3952eb(0xbd)]});}[_0x284e75(0xdb)](){const _0x491ef6=_0x284e75,{editor:_0x318888}=this,{conversion:_0x35e3d1,model:_0x8a32dd}=_0x318888,{schema:_0x35a4ff}=_0x8a32dd;_0x35e3d1[_0x491ef6(0xa4)](_0x491ef6(0xa6))[_0x491ef6(0xd8)](_0x2d4e02=>{const _0x34ad1c=_0x491ef6;_0x2d4e02['on'](_0x34ad1c(0x91),(_0x8594ff,_0x48cc2b,_0x4496c9)=>{const _0x1aeb2e=_0x34ad1c,_0x10c169=_0x48cc2b[_0x1aeb2e(0xce)],_0x4460db=_0x48cc2b[_0x1aeb2e(0xcd)]?.[_0x1aeb2e(0xbb)];_0x10c169[_0x1aeb2e(0xaf)](_0x1aeb2e(0xb2))&&_0x4460db?.['is'](_0x1aeb2e(0xa1),_0x1aeb2e(0xcc))&&(function(_0xaf9fc0,_0x16c1cc,_0x4a7142,_0x4da5f6){const _0x5ef3a6=_0x1aeb2e;if(!_0x4da5f6[_0x5ef3a6(0xe4)](_0x16c1cc,_0x5ef3a6(0xbd)))return;let _0x171e99=0x1;const _0x4e2153=_0x4a7142[_0x5ef3a6(0x9e)][_0x5ef3a6(0x9a)](_0xaf9fc0,{'attributes':_0x5ef3a6(0x80)});if(_0x4e2153){const _0x2590a6=Number[_0x5ef3a6(0xe5)](_0xaf9fc0[_0x5ef3a6(0x87)](_0x5ef3a6(0x80)),0xa);Number[_0x5ef3a6(0xa2)](_0x2590a6)||(_0x171e99=_0x2590a6);}!_0x4e2153&&_0x16c1cc[_0x5ef3a6(0xab)](_0x5ef3a6(0xbd))||_0x4a7142[_0x5ef3a6(0xd5)][_0x5ef3a6(0xba)](_0x5ef3a6(0xbd),_0x171e99,_0x16c1cc);}(_0x10c169,_0x4460db,_0x4496c9,_0x35a4ff),function(_0x18f494,_0x337220,_0x491dc6,_0x25fb4b){const _0x39d6b8=_0x1aeb2e;if(!_0x25fb4b[_0x39d6b8(0xe4)](_0x337220,_0x39d6b8(0x98)))return;let _0x173a74=_0x39d6b8(0x9c),_0xc196ca=!0x1;if(_0x491dc6[_0x39d6b8(0x9e)][_0x39d6b8(0x9a)](_0x18f494,{'attributes':_0x39d6b8(0x99)})){const _0x312720={0x1:_0x39d6b8(0x9c),'a':_0x39d6b8(0x95),'A':_0x39d6b8(0x83),'i':_0x39d6b8(0x89),'I':_0x39d6b8(0x86)}[_0x18f494[_0x39d6b8(0x87)](_0x39d6b8(0x99))];_0x312720&&(_0x173a74=_0x312720),_0xc196ca=!0x0;}_0x491dc6[_0x39d6b8(0x9e)][_0x39d6b8(0x9a)](_0x18f494,{'styles':_0x39d6b8(0xd1)})&&(_0x173a74=function(_0x4cd319){const _0x20daa7=_0x39d6b8;switch(_0x4cd319){case _0x20daa7(0x95):return _0x20daa7(0xcb);case _0x20daa7(0x83):return _0x20daa7(0xb3);default:return _0x4cd319;}}(_0x18f494[_0x39d6b8(0xd3)](_0x39d6b8(0xd1))),_0xc196ca=!0x0),!_0xc196ca&&_0x337220[_0x39d6b8(0xab)](_0x39d6b8(0x98))||_0x491dc6[_0x39d6b8(0xd5)][_0x39d6b8(0xba)](_0x39d6b8(0x98),_0x173a74,_0x337220);}(_0x10c169,_0x4460db,_0x4496c9,_0x35a4ff));});}),_0x35e3d1[_0x491ef6(0xa4)](_0x491ef6(0xc9))[_0x491ef6(0xd8)](_0x3bf4af=>{const _0xe2bf71=_0x491ef6;_0x3bf4af['on'](_0xe2bf71(0xa0),(_0x1a9d1e,_0x18e345,_0x544bad)=>{const _0x1c56b1=_0xe2bf71;if(!_0x544bad[_0x1c56b1(0x9e)][_0x1c56b1(0x9a)](_0x18e345[_0x1c56b1(0xc1)],_0x1a9d1e[_0x1c56b1(0xb1)]))return;const _0x2724ea=M(_0x18e345[_0x1c56b1(0xc1)],_0x544bad[_0x1c56b1(0xc5)]),{attributeNewValue:_0x489e79}=_0x18e345;null==_0x489e79||0x1===_0x489e79?_0x544bad[_0x1c56b1(0xd5)][_0x1c56b1(0x9b)](_0x1c56b1(0x80),_0x2724ea):_0x544bad[_0x1c56b1(0xd5)][_0x1c56b1(0xba)](_0x1c56b1(0x80),String(_0x489e79),_0x2724ea);}),_0x3bf4af['on'](_0xe2bf71(0xbc),(_0x579c69,_0x35acf7,_0x1f9045)=>{const _0x2da53f=_0xe2bf71;if(!_0x1f9045[_0x2da53f(0x9e)][_0x2da53f(0x9a)](_0x35acf7[_0x2da53f(0xc1)],_0x579c69[_0x2da53f(0xb1)]))return;const _0x4ac2b0=M(_0x35acf7[_0x2da53f(0xc1)],_0x1f9045[_0x2da53f(0xc5)]),{attributeNewValue:_0x31cb98}=_0x35acf7;_0x31cb98&&_0x2da53f(0x9c)!==_0x31cb98?_0x1f9045[_0x2da53f(0xd5)][_0x2da53f(0x8e)](_0x2da53f(0xd1),_0x31cb98,_0x4ac2b0):_0x1f9045[_0x2da53f(0xd5)][_0x2da53f(0xac)](_0x2da53f(0xd1),_0x4ac2b0);});});}[_0x284e75(0xb5)](){const _0x27b085=_0x284e75,{editor:_0x47e457}=this,{model:_0x40432e}=_0x47e457,_0x46e1c7=_0x47e457[_0x27b085(0xda)][_0x27b085(0xd9)](_0x4dbe23),_0x593027=this[_0x27b085(0xd2)](),_0x4cf3e6=this[_0x27b085(0x94)]();_0x40432e[_0x27b085(0x84)][_0x27b085(0xbf)](_0x4ae72d=>{const _0x599fee=_0x27b085,_0x128927=_0x40432e[_0x599fee(0x84)][_0x599fee(0xc6)][_0x599fee(0xb0)]();let _0x10b18e=!0x1;for(const _0xc3552a of _0x128927){if(_0x599fee(0x97)!==_0xc3552a[_0x599fee(0x99)]||_0x599fee(0xc7)===_0xc3552a[_0x599fee(0xb1)])continue;const _0x5cf67f=_0x40432e[_0x599fee(0x88)](_0xc3552a[_0x599fee(0xa8)][_0x599fee(0xe0)]);for(const _0x3cf7eb of _0x5cf67f[_0x599fee(0xb7)]())_0x3cf7eb['is'](_0x599fee(0xa1),_0x599fee(0xcc))&&(!_0x3cf7eb[_0x599fee(0xab)](_0x599fee(0xbd))&&_0x40432e[_0x599fee(0x92)][_0x599fee(0xe4)](_0x3cf7eb,_0x599fee(0xbd))&&(_0x4ae72d[_0x599fee(0xba)](_0x599fee(0xbd),_0x4cf3e6,_0x3cf7eb),_0x10b18e=!0x0),!_0x3cf7eb[_0x599fee(0xab)](_0x599fee(0x98))&&_0x40432e[_0x599fee(0x92)][_0x599fee(0xe4)](_0x3cf7eb,_0x599fee(0x98))&&(_0x4ae72d[_0x599fee(0xba)](_0x599fee(0x98),_0x593027,_0x3cf7eb),_0x10b18e=!0x0));}return _0x10b18e&&_0x46e1c7[_0x599fee(0x9f)](_0x4ae72d),_0x10b18e;});}[_0x284e75(0xb9)](){const _0x5e9daf=_0x284e75,{editor:_0x539ae5}=this;_0x539ae5[_0x5e9daf(0xda)][_0x5e9daf(0xd9)](_0x4dbe23)[_0x5e9daf(0xc0)](_0x2aa4e4=>this[_0x5e9daf(0xa9)](_0x2aa4e4));}[_0x284e75(0xd2)](){const _0x35bfd1=_0x284e75;return this[_0x35bfd1(0xb6)][_0x35bfd1(0xe3)][_0x35bfd1(0xd9)](_0x35bfd1(0xe2));}[_0x284e75(0x94)](){const _0x814b3e=_0x284e75;return this[_0x814b3e(0xb6)][_0x814b3e(0xe3)][_0x814b3e(0xd9)](_0x814b3e(0xd4));}[_0x284e75(0xa9)]({container:_0x39f3fc,value:_0x44ed35,digits:_0x57bc08}){const _0x463615=_0x284e75,_0x530168=_0x39f3fc[_0x463615(0x87)](_0x463615(0x98)),_0x11ebb4=_0x39f3fc[_0x463615(0x87)](_0x463615(0xbd)),_0x516033=Math[_0x463615(0x90)](_0x44ed35)+(_0x11ebb4??0x1)-0x1;switch(_0x530168){case _0x463615(0xd0):return function(_0x428449,_0xc2ddef){const _0x186fb2=_0x463615;return String(_0x428449)[_0x186fb2(0xcf)](_0xc2ddef,'0');}(_0x516033,Math[_0x463615(0x93)](0x2,_0x57bc08));case _0x463615(0x95):case _0x463615(0xcb):return N(_0x516033,!0x1);case _0x463615(0x83):case _0x463615(0xb3):return N(_0x516033,!0x0);case _0x463615(0x89):return X(_0x516033,!0x1);case _0x463615(0x86):return X(_0x516033,!0x0);default:return String(_0x516033);}}}function M(_0x29d08e,_0x4b192e){const _0x333e9e=_0x284e75,_0x1c5908=_0x4b192e[_0x333e9e(0x81)](_0x29d08e);return Array[_0x333e9e(0x9d)](_0x1c5908[_0x333e9e(0xbe)]())[_0x333e9e(0xc3)](_0xc3b4fb=>_0xc3b4fb['is'](_0x333e9e(0xa1),'ol')&&_0xc3b4fb[_0x333e9e(0xaf)](_0x333e9e(0xb2)));}function N(_0x35f8f2,_0x5e04f7){const _0x4820f9=_0x284e75;let _0x344d16='',_0x54d385=_0x35f8f2;for(;_0x54d385>0x0;){const _0x5b3c5e=(_0x54d385-0x1)%0x1a;_0x344d16=String[_0x4820f9(0xde)](0x61+_0x5b3c5e)+_0x344d16,_0x54d385=Math[_0x4820f9(0x90)]((_0x54d385-0x1)/0x1a);}return _0x5e04f7?_0x344d16[_0x4820f9(0xb4)]():_0x344d16;}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 _0x5b73(_0xc08785,_0x16194f){const _0x2b5a1f=_0x2b5a();return _0x5b73=function(_0x5b73a4,_0xbd85ce){_0x5b73a4=_0x5b73a4-0x80;let _0x401092=_0x2b5a1f[_0x5b73a4];return _0x401092;},_0x5b73(_0xc08785,_0x16194f);}function X(_0x7dfecc,_0x46cee6){const _0x27ca4f=_0x284e75;let _0x42a592='',_0x27bd51=_0x7dfecc;for(const {value:_0x2375b8,numeral:_0x246479}of V)for(;_0x27bd51>=_0x2375b8;)_0x42a592+=_0x246479,_0x27bd51-=_0x2375b8;return _0x46cee6?_0x42a592:_0x42a592[_0x27ca4f(0xc8)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x30d9f5,ButtonView as _0x2ebaee,ContextualBalloon as _0xa84412,createDropdown as _0x26976e}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x317a48}from'ckeditor5/src/widget.js';import{Plugin as _0x1ce5ab}from'ckeditor5/src/core.js';import{IconFootnote as _0xe49eb2,IconListStyleDecimal as _0x1c10bb,IconListStyleDecimalLeadingZero as _0x285168,IconListStyleLowerLatin as _0xb0660,IconListStyleLowerRoman as _0x2db3cf,IconListStyleUpperLatin as _0x1d3846,IconListStyleUpperRoman as _0x7b4886}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x50e13c}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5061fe}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1ce5ab{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xa84412,_0x317a48];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x528bf3}=this,{componentFactory:_0x30a62c}=_0x528bf3['ui'];_0x528bf3['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x30a62c['add']('footnotesStyle',function(_0x5076d9){return _0x5107ca=>{const {t:t}=_0x5107ca,_0x226345=_0x5076d9['commands']['get']('footnotesStyle'),_0x3c23b0=_0x26976e(_0x5107ca),{buttonView:_0x28c346}=_0x3c23b0;return _0x3c23b0['class']='ck-footnotes-styles-dropdown',_0x3c23b0['bind']('isEnabled')['to'](_0x226345,'isEnabled'),_0x28c346['set']({'label':t('Footnotes\x20style'),'icon':_0xe49eb2,'tooltip':!0x0}),_0x3c23b0['once']('change:isOpen',()=>{const _0x45e1b6=function({editor:_0xeb5973,dropdownView:_0x1e8a11}){const {t:t}=_0xeb5973['locale'],_0x585a1b=t('Footnotes\x20definitions\x20styles'),_0x4024f0=function(_0x1749f4){const t=_0x1749f4['locale']['t'],_0x21718b=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1c10bb},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x285168},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2db3cf},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x7b4886},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xb0660},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1d3846}];return _0x21718b['map'](function(_0x57840f){const _0x2ae7b3=_0x57840f['locale'];return({label:_0x44d2fc,icon:_0xe4bb57,tooltip:_0x508d99,style:_0x4af8d3})=>{const _0x102f2c=_0x57840f['commands']['get']('footnotesStyle'),_0x43be36=new _0x2ebaee(_0x2ae7b3);return _0x43be36['set']({'label':_0x44d2fc,'icon':_0xe4bb57,'tooltip':_0x508d99}),_0x43be36['bind']('isOn')['to'](_0x102f2c,'value',_0x1d0333=>_0x1d0333===_0x4af8d3),_0x43be36['bind']('isEnabled')['to'](_0x102f2c,'isEnabled'),_0x43be36['on']('execute',()=>{_0x57840f['execute']('footnotesStyle',{'value':_0x4af8d3}),_0x57840f['editing']['view']['focus']();}),_0x43be36;};}(_0x1749f4));}(_0xeb5973),_0xe170af=new _0x50e13c(_0xeb5973['locale'],{'styleGridAriaLabel':_0x585a1b,'styleButtonViews':_0x4024f0}),_0x5bace5=_0xeb5973['commands']['get']('footnotesStart');return _0xe170af['startIndexFieldView']['bind']('isEnabled')['to'](_0x5bace5),_0xe170af['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x5bace5),_0xe170af['on']('footnotesListStart',(_0x5938c8,_0x2010c1)=>{_0xeb5973['execute']('footnotesStart',{'value':_0x2010c1['startIndex']});}),_0xe170af['delegate']('execute')['to'](_0x1e8a11),_0xe170af;}({'editor':_0x5076d9,'dropdownView':_0x3c23b0});_0x3c23b0['panelView']['children']['add'](_0x45e1b6);}),_0x3c23b0;};}(_0x528bf3));}['afterInit'](){const {editor:_0x37270e}=this,{t:t}=_0x37270e['locale'],_0x462a1b=_0x37270e['plugins']['get'](_0x317a48),{defaultPositions:_0x6343b2}=_0x30d9f5;_0x462a1b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x37270e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x570ecf=>{let _0x585300=_0x570ecf['getFirstPosition']()?.['parent'];return _0x585300?.['is']('$text')&&(_0x585300=_0x585300['parent']),_0x585300?.['is']('element')?_0x585300['findAncestor'](_0x5061fe):null;},'positions':[_0x6343b2['southArrowNorth'],_0x6343b2['southArrowNorthMiddleWest'],_0x6343b2['southArrowNorthMiddleEast'],_0x6343b2['southArrowNorthWest'],_0x6343b2['southArrowNorthEast'],_0x6343b2['northArrowSouth'],_0x6343b2['northArrowSouthMiddleWest'],_0x6343b2['northArrowSouthMiddleEast'],_0x6343b2['northArrowSouthWest'],_0x6343b2['northArrowSouthEast'],_0x6343b2['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x33d426,ButtonView as _0x284d05,ContextualBalloon as _0x442bf9,createDropdown as _0x3f3f7f}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x50cc3d}from'ckeditor5/src/widget.js';import{Plugin as _0x553e63}from'ckeditor5/src/core.js';import{IconFootnote as _0x372738,IconListStyleDecimal as _0x2909a6,IconListStyleDecimalLeadingZero as _0x29f4ec,IconListStyleLowerLatin as _0x16a258,IconListStyleLowerRoman as _0x538559,IconListStyleUpperLatin as _0xffadd2,IconListStyleUpperRoman as _0x1e2007}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2c2674}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3f8683}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x553e63{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x442bf9,_0x50cc3d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x522535}=this,{componentFactory:_0x1814d7}=_0x522535['ui'];_0x522535['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1814d7['add']('footnotesStyle',function(_0x1af9b3){return _0x387bbf=>{const {t:t}=_0x387bbf,_0x213527=_0x1af9b3['commands']['get']('footnotesStyle'),_0x4535c1=_0x3f3f7f(_0x387bbf),{buttonView:_0x4c060c}=_0x4535c1;return _0x4535c1['class']='ck-footnotes-styles-dropdown',_0x4535c1['bind']('isEnabled')['to'](_0x213527,'isEnabled'),_0x4c060c['set']({'label':t('Footnotes\x20style'),'icon':_0x372738,'tooltip':!0x0}),_0x4535c1['once']('change:isOpen',()=>{const _0x4f7906=function({editor:_0x11a812,dropdownView:_0x3e4372}){const {t:t}=_0x11a812['locale'],_0x11ec82=t('Footnotes\x20definitions\x20styles'),_0x3e7735=function(_0x5ea1b0){const t=_0x5ea1b0['locale']['t'],_0x2a8629=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2909a6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x29f4ec},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x538559},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1e2007},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x16a258},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xffadd2}];return _0x2a8629['map'](function(_0x31e916){const _0x412de6=_0x31e916['locale'];return({label:_0x8614cf,icon:_0x4f4631,tooltip:_0x4a55f9,style:_0xced2d3})=>{const _0x2136e3=_0x31e916['commands']['get']('footnotesStyle'),_0x3840e8=new _0x284d05(_0x412de6);return _0x3840e8['set']({'label':_0x8614cf,'icon':_0x4f4631,'tooltip':_0x4a55f9}),_0x3840e8['bind']('isOn')['to'](_0x2136e3,'value',_0x2d92ba=>_0x2d92ba===_0xced2d3),_0x3840e8['bind']('isEnabled')['to'](_0x2136e3,'isEnabled'),_0x3840e8['on']('execute',()=>{_0x31e916['execute']('footnotesStyle',{'value':_0xced2d3}),_0x31e916['editing']['view']['focus']();}),_0x3840e8;};}(_0x5ea1b0));}(_0x11a812),_0x5edc52=new _0x2c2674(_0x11a812['locale'],{'styleGridAriaLabel':_0x11ec82,'styleButtonViews':_0x3e7735}),_0x569999=_0x11a812['commands']['get']('footnotesStart');return _0x5edc52['startIndexFieldView']['bind']('isEnabled')['to'](_0x569999),_0x5edc52['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x569999),_0x5edc52['on']('footnotesListStart',(_0x434a24,_0x3e273c)=>{_0x11a812['execute']('footnotesStart',{'value':_0x3e273c['startIndex']});}),_0x5edc52['delegate']('execute')['to'](_0x3e4372),_0x5edc52;}({'editor':_0x1af9b3,'dropdownView':_0x4535c1});_0x4535c1['panelView']['children']['add'](_0x4f7906);}),_0x4535c1;};}(_0x522535));}['afterInit'](){const {editor:_0x2abf99}=this,{t:t}=_0x2abf99['locale'],_0x43d920=_0x2abf99['plugins']['get'](_0x50cc3d),{defaultPositions:_0x5c46f4}=_0x33d426;_0x43d920['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2abf99['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2fa4f9=>{let _0x2a803a=_0x2fa4f9['getFirstPosition']()?.['parent'];return _0x2a803a?.['is']('$text')&&(_0x2a803a=_0x2a803a['parent']),_0x2a803a?.['is']('element')?_0x2a803a['findAncestor'](_0x3f8683):null;},'positions':[_0x5c46f4['southArrowNorth'],_0x5c46f4['southArrowNorthMiddleWest'],_0x5c46f4['southArrowNorthMiddleEast'],_0x5c46f4['southArrowNorthWest'],_0x5c46f4['southArrowNorthEast'],_0x5c46f4['northArrowSouth'],_0x5c46f4['northArrowSouthMiddleWest'],_0x5c46f4['northArrowSouthMiddleEast'],_0x5c46f4['northArrowSouthWest'],_0x5c46f4['northArrowSouthEast'],_0x5c46f4['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x54d8c9,View as _0x513543,ViewCollection as _0x193e83,FocusCycler as _0x14a801,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 _0x513543{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x193e83();['focusCycler'];constructor(_0x520e5b,{styleButtonViews:_0x25e884,styleGridAriaLabel:_0x1fbd25}){super(_0x520e5b),(this['focusCycler']=new _0x14a801({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x25e884,_0x1fbd25),[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 _0x2a70b0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2a70b0['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 _0x5d7670=_0x55c2c8=>_0x55c2c8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5d7670),this['keystrokes']['set']('arrowleft',_0x5d7670),this['keystrokes']['set']('arrowup',_0x5d7670),this['keystrokes']['set']('arrowdown',_0x5d7670);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5aa447,_0x1a80ba){const _0x3b41b5=new _0x513543(this['locale']);return _0x3b41b5['children']=_0x3b41b5['createCollection'](),_0x3b41b5['children']['addMany'](_0x5aa447),_0x3b41b5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1a80ba,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3b41b5['children']}),_0x3b41b5['children']['delegate']('execute')['to'](this),_0x3b41b5['focus']=function(){for(const _0x4aac50 of this['children'])if(_0x4aac50 instanceof _0x54d8c9&&_0x4aac50['isOn'])return void _0x4aac50['focus']();this['children']['first']['focus']();},_0x3b41b5['focusTracker']=new ot(),_0x3b41b5['keystrokes']=new rt(),_0x3b41b5['render'](),_0x3b41b5['keystrokes']['listenTo'](_0x3b41b5['element']),this['children']['add'](_0x3b41b5),_0x3b41b5;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1b77a4=this['_createStartIndexPropertyView'](),_0x435e77=[_0x1b77a4],_0x56cd09=new st(this['locale'],_0x435e77);return _0x56cd09['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x56cd09['buttonView']['bind']('isEnabled')['toMany'](_0x435e77,'isEnabled',(..._0x2a9196)=>_0x2a9196['some'](_0x47e668=>_0x47e668)),_0x56cd09['buttonView']['on']('change:isEnabled',(_0x58dafd,_0x48c1f8,_0x54ef07)=>{_0x54ef07||(_0x56cd09['isCollapsed']=!0x0);}),this['children']['add'](_0x56cd09),[_0x1b77a4,_0x56cd09];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x136113=new it(this['locale'],et);return _0x136113['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x136113['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x136113['fieldView']['on']('input',()=>{const _0x3176e9=_0x136113['fieldView']['element'],_0x4db658=_0x3176e9['valueAsNumber'];Number['isNaN'](_0x4db658)?_0x136113['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3176e9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4db658}):_0x136113['errorText']=t(_0x4db658<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x136113;}}
23
+ import{ButtonView as _0x47c901,View as _0x4d93ac,ViewCollection as _0xad5693,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4d93ac{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0xad5693();['focusCycler'];constructor(_0x40260e,{styleButtonViews:_0x35ffb5,styleGridAriaLabel:_0x306f14}){super(_0x40260e),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x35ffb5,_0x306f14),[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 _0xbe2365 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xbe2365['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3db3ae=_0x1f7dd0=>_0x1f7dd0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3db3ae),this['keystrokes']['set']('arrowleft',_0x3db3ae),this['keystrokes']['set']('arrowup',_0x3db3ae),this['keystrokes']['set']('arrowdown',_0x3db3ae);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x569228,_0x37c3f5){const _0x3e7485=new _0x4d93ac(this['locale']);return _0x3e7485['children']=_0x3e7485['createCollection'](),_0x3e7485['children']['addMany'](_0x569228),_0x3e7485['setTemplate']({'tag':'div','attributes':{'aria-label':_0x37c3f5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3e7485['children']}),_0x3e7485['children']['delegate']('execute')['to'](this),_0x3e7485['focus']=function(){for(const _0x14e887 of this['children'])if(_0x14e887 instanceof _0x47c901&&_0x14e887['isOn'])return void _0x14e887['focus']();this['children']['first']['focus']();},_0x3e7485['focusTracker']=new rt(),_0x3e7485['keystrokes']=new nt(),_0x3e7485['render'](),_0x3e7485['keystrokes']['listenTo'](_0x3e7485['element']),this['children']['add'](_0x3e7485),_0x3e7485;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3284c7=this['_createStartIndexPropertyView'](),_0x28c8e3=[_0x3284c7],_0x39144a=new it(this['locale'],_0x28c8e3);return _0x39144a['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x39144a['buttonView']['bind']('isEnabled')['toMany'](_0x28c8e3,'isEnabled',(..._0x39a58e)=>_0x39a58e['some'](_0x3444cf=>_0x3444cf)),_0x39144a['buttonView']['on']('change:isEnabled',(_0x3b93be,_0x3dbecc,_0x119f3f)=>{_0x119f3f||(_0x39144a['isCollapsed']=!0x0);}),this['children']['add'](_0x39144a),[_0x3284c7,_0x39144a];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x37ffd4=new et(this['locale'],ot);return _0x37ffd4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x37ffd4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x37ffd4['fieldView']['on']('input',()=>{const _0x2c73fe=_0x37ffd4['fieldView']['element'],_0x33874f=_0x2c73fe['valueAsNumber'];Number['isNaN'](_0x33874f)?_0x37ffd4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2c73fe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x33874f}):_0x37ffd4['errorText']=t(_0x33874f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x37ffd4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x361374=_0xe120;function _0xe120(_0x51b8ef,_0x8eeaa){var _0x39de64=_0x39de();return _0xe120=function(_0xe120ee,_0x3fe9b3){_0xe120ee=_0xe120ee-0x1a2;var _0x105c2d=_0x39de64[_0xe120ee];return _0x105c2d;},_0xe120(_0x51b8ef,_0x8eeaa);}(function(_0x21a044,_0x581a24){var _0x553c70=_0xe120,_0x162c87=_0x21a044();while(!![]){try{var _0x4923dd=-parseInt(_0x553c70(0x1a2))/0x1+-parseInt(_0x553c70(0x1a3))/0x2*(parseInt(_0x553c70(0x1a5))/0x3)+-parseInt(_0x553c70(0x1a4))/0x4+-parseInt(_0x553c70(0x1a9))/0x5+-parseInt(_0x553c70(0x1ac))/0x6*(-parseInt(_0x553c70(0x1ae))/0x7)+parseInt(_0x553c70(0x1af))/0x8+parseInt(_0x553c70(0x1ab))/0x9;if(_0x4923dd===_0x581a24)break;else _0x162c87['push'](_0x162c87['shift']());}catch(_0x4ada0e){_0x162c87['push'](_0x162c87['shift']());}}}(_0x39de,0xa5e67));function _0x39de(){var _0x462d05=['isPremiumPlugin','2378905rACMwy','requires','9712197yWQHeM','8146350hqblxa','pluginName','7UyFgNQ','10181904wnlGZQ','462766Zygeid','68QZWOiw','4032992vLKakb','95583BlKQDT','isOfficialPlugin','FootnotesProperties'];_0x39de=function(){return _0x462d05;};return _0x39de();}import{Plugin as _0x38ade4}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x22b334}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3341d4}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x38ade4{static get[_0x361374(0x1ad)](){var _0x520b67=_0x361374;return _0x520b67(0x1a7);}static get[_0x361374(0x1aa)](){return[_0x22b334,_0x3341d4];}static get[_0x361374(0x1a6)](){return!0x0;}static get[_0x361374(0x1a8)](){return!0x0;}}
23
+ var _0x24b897=_0x42dc;(function(_0x13665e,_0xe306b6){var _0x45c8be=_0x42dc,_0x3a94cb=_0x13665e();while(!![]){try{var _0x4276ab=-parseInt(_0x45c8be(0x19f))/0x1*(-parseInt(_0x45c8be(0x195))/0x2)+-parseInt(_0x45c8be(0x19d))/0x3+-parseInt(_0x45c8be(0x193))/0x4*(parseInt(_0x45c8be(0x196))/0x5)+-parseInt(_0x45c8be(0x194))/0x6*(parseInt(_0x45c8be(0x192))/0x7)+parseInt(_0x45c8be(0x1a0))/0x8*(-parseInt(_0x45c8be(0x198))/0x9)+-parseInt(_0x45c8be(0x19c))/0xa+parseInt(_0x45c8be(0x191))/0xb;if(_0x4276ab===_0xe306b6)break;else _0x3a94cb['push'](_0x3a94cb['shift']());}catch(_0x1c74e9){_0x3a94cb['push'](_0x3a94cb['shift']());}}}(_0x1352,0x4f6e4));import{Plugin as _0x5ab611}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x4d1a11}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0xc454bc}from'./footnotesproperties/footnotespropertiesui.js';function _0x42dc(_0x50fbe7,_0x592d66){var _0x135203=_0x1352();return _0x42dc=function(_0x42dc93,_0x5ec997){_0x42dc93=_0x42dc93-0x191;var _0x4636d6=_0x135203[_0x42dc93];return _0x4636d6;},_0x42dc(_0x50fbe7,_0x592d66);}function _0x1352(){var _0x486f01=['isPremiumPlugin','FootnotesProperties','2234810qDLvgg','615465vLQomt','pluginName','2641pFHdUd','605416WBSyyh','20645350kKmCkA','309365YnPdee','4dijsEH','42CscUfT','122aQeNGJ','2224315WqdKux','requires','63vtIqSZ','isOfficialPlugin'];_0x1352=function(){return _0x486f01;};return _0x1352();}export class FootnotesProperties extends _0x5ab611{static get[_0x24b897(0x19e)](){var _0x1d4a95=_0x24b897;return _0x1d4a95(0x19b);}static get[_0x24b897(0x197)](){return[_0x4d1a11,_0xc454bc];}static get[_0x24b897(0x199)](){return!0x0;}static get[_0x24b897(0x19a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53b853=_0xd85b;(function(_0x15f91f,_0x4ae66c){const _0x1bc6a3=_0xd85b,_0x429fd2=_0x15f91f();while(!![]){try{const _0x47d97a=-parseInt(_0x1bc6a3(0x1cd))/0x1*(-parseInt(_0x1bc6a3(0x1cb))/0x2)+parseInt(_0x1bc6a3(0x1e5))/0x3*(parseInt(_0x1bc6a3(0x1c2))/0x4)+-parseInt(_0x1bc6a3(0x1dc))/0x5*(parseInt(_0x1bc6a3(0x1dd))/0x6)+parseInt(_0x1bc6a3(0x212))/0x7+parseInt(_0x1bc6a3(0x20d))/0x8+-parseInt(_0x1bc6a3(0x1b7))/0x9+-parseInt(_0x1bc6a3(0x1d4))/0xa;if(_0x47d97a===_0x4ae66c)break;else _0x429fd2['push'](_0x429fd2['shift']());}catch(_0x294337){_0x429fd2['push'](_0x429fd2['shift']());}}}(_0x4378,0x76b8e));import{Plugin as _0x5b9c22}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2b291c}from'./modelelementtracker.js';function _0x4378(){const _0x15a56e=['push','map','indexOf','length','remove','createRangeOn','footnoteCounter','min','registerPostFixer','3399312jeRWQi','_handleMovedFootnoteReference','end','createPositionBefore','footnoteId','5477612CvDSdg','_handleFootnotesDefinitionsObjectChanges','paragraph','_footnoteRefsTracker','_footnotesDefinitions','findIndex','has','change:data','compareWith','rootName','1579581xHfkrf','append','_ensureFootnotesReferencesHaveProperOrder','isPremiumPlugin','_updateFootnoteRefCounter','setFootnoteFormatter','get','getChanges','_footnoteDefsTracker','splice','getChildren','4kzbGxF','from','_footnotes','parent','footnotesDefinitions','footnoteInlineContent','getFootnotesFormatter','FootnotesTracker','definition','2cRcqOL','editor','140728SfzaZb','before','root','footnoteRef','find','childCount','createPositionAt','476710fMUVzo','singleton','init','model','getAttribute','some','reset','getRootNames','857525IoHtTn','30LyEAdw','footnoteDefinition','pluginName','document','_footnoteDefsContainerTracker','_footnoteFormatter','low','isEqual','656499SuARdI','_handleFootnoteReferencesChanges','$graveyard','footnotes.multiBlock','move','createRangeIn','setAttribute','listenTo','_sortFootnoteDefinitions','getFootnotes','differ','getFootnote','_updateFootnotesCounters','high','enqueueChange','_handleInsertedFootnoteReference','after','set','_handleRemoveFootnoteReferenceById','config','isOfficialPlugin','createElement','_handleFootnotesDefinitionsObjectSync','unshift','getFootnotesDefinitionsObjectElement','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','add','insert','_insertEmptyFootnotesDefinitionsContainer','reference'];_0x4378=function(){return _0x15a56e;};return _0x4378();}export class FootnotesTracker extends _0x5b9c22{[_0x53b853(0x1c4)]=[];[_0x53b853(0x216)]=null;[_0x53b853(0x1e2)]=null;[_0x53b853(0x1e1)];[_0x53b853(0x215)];[_0x53b853(0x1bf)];static get[_0x53b853(0x1df)](){const _0x23643c=_0x53b853;return _0x23643c(0x1c9);}static get[_0x53b853(0x1f9)](){return!0x0;}static get[_0x53b853(0x1ba)](){return!0x0;}constructor(_0x36ece1){const _0x3bfb12=_0x53b853;super(_0x36ece1),this[_0x3bfb12(0x1e1)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1c6),'getElementKey':()=>_0x3bfb12(0x1d5)}),this[_0x3bfb12(0x215)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1d0),'getElementKey':_0x1ff271=>_0x1ff271[_0x3bfb12(0x1d8)](_0x3bfb12(0x211))}),this[_0x3bfb12(0x1bf)]=new _0x2b291c(this[_0x3bfb12(0x1cc)][_0x3bfb12(0x1d7)],{'elementName':_0x3bfb12(0x1de),'getElementKey':_0x2eedc0=>_0x2eedc0[_0x3bfb12(0x1d8)](_0x3bfb12(0x211))});}[_0x53b853(0x1d6)](){const _0x45eb62=_0x53b853,{editor:_0x27a485}=this,{model:_0x44515d,data:_0x21b968}=_0x27a485;_0x44515d[_0x45eb62(0x1e0)][_0x45eb62(0x20c)](_0x445211=>{const _0xf64281=_0x45eb62,_0x5b419c=_0x44515d[_0xf64281(0x1e0)][_0xf64281(0x1ef)][_0xf64281(0x1be)]();let _0x31630f=!0x1;return this[_0xf64281(0x213)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1ff)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1e6)](_0x445211,_0x5b419c)&&(_0x31630f=!0x0),this[_0xf64281(0x1b9)](_0x445211)&&(_0x31630f=!0x0),this[_0xf64281(0x1fb)](_0x445211)&&(_0x31630f=!0x0),this[_0xf64281(0x1ed)](_0x445211)&&(_0x31630f=!0x0),_0x31630f;}),this[_0x45eb62(0x1ec)](_0x44515d[_0x45eb62(0x1e0)],_0x45eb62(0x1b4),()=>{const _0x124759=_0x45eb62;_0x44515d[_0x124759(0x1f3)]({'isUndoable':!0x1},_0x510c1d=>{const _0x5e4039=_0x124759;this[_0x5e4039(0x1fe)](_0x510c1d);});},{'priority':_0x45eb62(0x1e3)}),this[_0x45eb62(0x1ec)](_0x21b968,_0x45eb62(0x1f6),()=>{const _0x6adc20=_0x45eb62;this[_0x6adc20(0x1c4)]=[],this[_0x6adc20(0x1e1)][_0x6adc20(0x1da)](),this[_0x6adc20(0x215)][_0x6adc20(0x1da)](),this[_0x6adc20(0x1bf)][_0x6adc20(0x1da)]();},{'priority':_0x45eb62(0x1f2)});}[_0x53b853(0x1fd)](){const _0x4d2f7c=_0x53b853;return this[_0x4d2f7c(0x216)];}[_0x53b853(0x1f0)](_0x1dfed6){const _0x57a163=_0x53b853;return this[_0x57a163(0x1c4)][_0x57a163(0x1d1)](_0x30832a=>_0x30832a['id']===_0x1dfed6)||null;}[_0x53b853(0x1ee)](){const _0x5401a3=_0x53b853;return Array[_0x5401a3(0x1c3)](this[_0x5401a3(0x1c4)]);}[_0x53b853(0x1c8)](){const _0x5e3b5b=_0x53b853;return this[_0x5e3b5b(0x1e2)];}[_0x53b853(0x1bc)](_0x5a406e){const _0x2a8303=_0x53b853;this[_0x2a8303(0x1e2)]=_0x5a406e;}[_0x53b853(0x1f1)](_0x3e19a1,_0x1e25bc=0x0){const _0x503432=_0x53b853;let _0x2ab993=!0x1;for(let _0x230ca5=_0x1e25bc;_0x230ca5<this[_0x503432(0x1c4)][_0x503432(0x207)];_0x230ca5++)this[_0x503432(0x1bb)](_0x3e19a1,_0x230ca5)&&(_0x2ab993=!0x0);return _0x2ab993;}[_0x53b853(0x202)](_0x27086d,_0x542884){const _0x5ee492=_0x53b853,_0x1fd15f=_0x27086d[_0x5ee492(0x1fa)](_0x5ee492(0x1c6),{});return _0x27086d[_0x5ee492(0x1b8)](_0x1fd15f,_0x542884),this[_0x5ee492(0x216)]=_0x1fd15f,_0x1fd15f;}[_0x53b853(0x1fe)](_0x2778ac){const _0x213714=_0x53b853;if(!this[_0x213714(0x1c4)][_0x213714(0x207)]||this[_0x213714(0x216)])return;const _0x95c9b7=this[_0x213714(0x1c4)][0x0][_0x213714(0x203)][_0x213714(0x1cf)],_0x39a24a=this[_0x213714(0x202)](_0x2778ac,_0x95c9b7);for(const _0x15d82c of this[_0x213714(0x1c4)])_0x15d82c[_0x213714(0x1ca)][_0x213714(0x1c5)]||_0x2778ac[_0x213714(0x201)](_0x15d82c[_0x213714(0x1ca)],_0x39a24a,_0x213714(0x20f));this[_0x213714(0x1f1)](_0x2778ac);}[_0x53b853(0x213)](_0x5595e8,_0x27a841){const _0x223ac3=_0x53b853;let _0x1cb242=!0x1;const {inserted:_0x49da1e,removed:_0x386b43,moved:_0x32dd30}=this[_0x223ac3(0x1e1)][_0x223ac3(0x1be)](_0x27a841);if(_0x32dd30[_0x223ac3(0x207)]&&(this[_0x223ac3(0x216)]=_0x32dd30[0x0]),_0x49da1e[_0x223ac3(0x207)]){if(_0x49da1e[_0x223ac3(0x207)]>0x1||this[_0x223ac3(0x216)]&&_0x49da1e[_0x223ac3(0x1d9)](_0x3498ae=>_0x3498ae!==this[_0x223ac3(0x216)])){const _0x20ed73=_0x5595e8[_0x223ac3(0x1fa)](_0x223ac3(0x1c6),{}),_0x33cb30=[];this[_0x223ac3(0x216)]&&_0x33cb30[_0x223ac3(0x204)](this[_0x223ac3(0x216)]),_0x33cb30[_0x223ac3(0x204)](..._0x49da1e),_0x5595e8[_0x223ac3(0x201)](_0x20ed73,_0x33cb30[0x0],_0x223ac3(0x1ce));for(const _0x39cc2c of _0x33cb30)_0x5595e8[_0x223ac3(0x1e9)](_0x5595e8[_0x223ac3(0x1ea)](_0x39cc2c),_0x5595e8[_0x223ac3(0x1d3)](_0x20ed73,_0x223ac3(0x20f))),_0x5595e8[_0x223ac3(0x208)](_0x39cc2c);this[_0x223ac3(0x216)]=_0x20ed73,this[_0x223ac3(0x1f1)](_0x5595e8),_0x1cb242=!0x0;}else this[_0x223ac3(0x216)]=_0x49da1e[0x0];}if(_0x386b43[_0x223ac3(0x207)]&&_0x223ac3(0x1e7)===this[_0x223ac3(0x216)]?.[_0x223ac3(0x1cf)][_0x223ac3(0x1b6)]){for(const _0x5a1610 of this[_0x223ac3(0x1c4)])_0x5595e8[_0x223ac3(0x208)](_0x5a1610[_0x223ac3(0x203)]),_0x1cb242=!0x0;this[_0x223ac3(0x1c4)]=[],this[_0x223ac3(0x216)]=null;}return _0x1cb242;}[_0x53b853(0x1ff)](_0x10e436,_0x4e42b5){const _0x421605=_0x53b853;let _0x56fa47=!0x1;const _0x3d1bdb=this[_0x421605(0x1cc)][_0x421605(0x1f8)][_0x421605(0x1bd)](_0x421605(0x1e8)),{inserted:_0x368722,moved:_0x51df4f}=this[_0x421605(0x1bf)][_0x421605(0x1be)](_0x4e42b5);for(const _0x268859 of[..._0x51df4f,..._0x368722]){const _0x332860=_0x268859[_0x421605(0x1d8)](_0x421605(0x211)),_0x399c68=this[_0x421605(0x1f0)](_0x332860);_0x399c68&&(_0x399c68[_0x421605(0x1ca)]=_0x268859),_(_0x10e436,_0x3d1bdb,_0x268859)&&(_0x56fa47=!0x0);}return _0x56fa47;}[_0x53b853(0x1e6)](_0x2dfe2a,_0x2667cc){const _0x337775=_0x53b853;let _0x569037=!0x1;const {removed:_0x1dfb0e,inserted:_0x2efed8,moved:_0x24f52c}=this[_0x337775(0x215)][_0x337775(0x1be)](_0x2667cc);for(const _0x386c4d of _0x1dfb0e)this[_0x337775(0x1f7)](_0x2dfe2a,_0x386c4d)&&(_0x569037=!0x0);for(const _0x188faf of _0x2efed8)this[_0x337775(0x1f4)](_0x2dfe2a,_0x188faf)&&(_0x569037=!0x0);for(const _0x709006 of _0x24f52c)this[_0x337775(0x20e)](_0x2dfe2a,_0x709006)&&(_0x569037=!0x0);return _0x569037;}[_0x53b853(0x1fb)](_0x13a078){const _0x2134d3=_0x53b853;if(!this[_0x2134d3(0x216)])return!0x1;let _0x166357=!0x1;if(this[_0x2134d3(0x216)][_0x2134d3(0x1d2)]!==this[_0x2134d3(0x1c4)][_0x2134d3(0x207)]){const _0x8251eb=[];for(const _0x2291fe of this[_0x2134d3(0x216)][_0x2134d3(0x1c1)]()){const _0x53efd3=_0x2291fe[_0x2134d3(0x1d8)](_0x2134d3(0x211));this[_0x2134d3(0x1f0)](_0x53efd3)||(_0x8251eb[_0x2134d3(0x1fc)](_0x2291fe),_0x166357=!0x0);}for(const _0x118441 of _0x8251eb)_0x13a078[_0x2134d3(0x208)](_0x118441);}const _0x3738d5=new Set(),_0x265741=[];for(const _0x3a162c of this[_0x2134d3(0x216)][_0x2134d3(0x1c1)]()){const _0xfffc32=_0x3a162c[_0x2134d3(0x1d8)](_0x2134d3(0x211));_0x3738d5[_0x2134d3(0x1b3)](_0xfffc32)?(_0x265741[_0x2134d3(0x1fc)](_0x3a162c),_0x166357=!0x0):_0x3738d5[_0x2134d3(0x200)](_0xfffc32);}for(const _0x5b8368 of _0x265741)_0x13a078[_0x2134d3(0x208)](_0x5b8368);return this[_0x2134d3(0x216)][_0x2134d3(0x1d2)]||(_0x13a078[_0x2134d3(0x208)](this[_0x2134d3(0x216)]),this[_0x2134d3(0x216)]=null,_0x166357=!0x0),_0x166357;}[_0x53b853(0x1f4)](_0x3541f2,_0x3dbafc){const _0x3cbd0f=_0x53b853;if(this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1d1)](_0x157419=>_0x157419[_0x3cbd0f(0x203)]===_0x3dbafc))return!0x1;let _0x3600bc=!0x1;const _0x377f7c=_0x3dbafc[_0x3cbd0f(0x1d8)](_0x3cbd0f(0x211)),_0x5aaeae=this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x217)](_0x58bac1=>_0x58bac1['id']===_0x377f7c);-0x1!==_0x5aaeae&&(_0x3541f2[_0x3cbd0f(0x208)](this[_0x3cbd0f(0x1c4)][_0x5aaeae][_0x3cbd0f(0x203)]),this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1c0)](_0x5aaeae,0x1),_0x3600bc=!0x0);let _0x5fabaa=this[_0x3cbd0f(0x216)]?function(_0x16cabc,_0x3aead6){const _0x2bb7bc=_0x3cbd0f;for(const _0x4576a2 of _0x16cabc[_0x2bb7bc(0x1c1)]())if(_0x4576a2[_0x2bb7bc(0x1d8)](_0x2bb7bc(0x211))===_0x3aead6)return _0x4576a2;return null;}(this[_0x3cbd0f(0x216)],_0x377f7c):null;_0x5fabaa||(_0x5fabaa=_0x3541f2[_0x3cbd0f(0x1fa)](_0x3cbd0f(0x1de),{'footnoteId':_0x377f7c}),this[_0x3cbd0f(0x216)]&&(_0x3541f2[_0x3cbd0f(0x201)](_0x5fabaa,this[_0x3cbd0f(0x216)],_0x3cbd0f(0x20f)),_0x3600bc=!0x0));const _0x16537c={'id':_0x377f7c,'reference':_0x3dbafc,'definition':_0x5fabaa},_0x37c0bc=I(this[_0x3cbd0f(0x1cc)][_0x3cbd0f(0x1d7)],this[_0x3cbd0f(0x1c4)],_0x3dbafc);this[_0x3cbd0f(0x1c4)][_0x3cbd0f(0x1c0)](_0x37c0bc,0x0,_0x16537c);let _0x52b85b=_0x37c0bc;return-0x1!==_0x5aaeae&&(_0x52b85b=Math[_0x3cbd0f(0x20b)](_0x37c0bc,_0x5aaeae)),this[_0x3cbd0f(0x1f1)](_0x3541f2,_0x52b85b)&&(_0x3600bc=!0x0),_0x3600bc;}[_0x53b853(0x1f7)](_0x4d3f37,_0x4a0e4c){const _0x4b6c97=_0x53b853,_0x5aab84=this[_0x4b6c97(0x1c4)][_0x4b6c97(0x217)](_0xec3381=>_0xec3381['id']===_0x4a0e4c);if(-0x1===_0x5aab84)return!0x1;let _0x28abfd=!0x1;const _0x3598c3=this[_0x4b6c97(0x1c4)][_0x5aab84];return _0x4b6c97(0x1e7)!==_0x3598c3[_0x4b6c97(0x1ca)][_0x4b6c97(0x1cf)][_0x4b6c97(0x1b6)]&&(_0x4d3f37[_0x4b6c97(0x208)](_0x3598c3[_0x4b6c97(0x1ca)]),_0x28abfd=!0x0),this[_0x4b6c97(0x1c4)][_0x4b6c97(0x1c0)](_0x5aab84,0x1),this[_0x4b6c97(0x1f1)](_0x4d3f37,_0x5aab84)&&(_0x28abfd=!0x0),_0x28abfd;}[_0x53b853(0x20e)](_0x1089bb,_0x48fe43){const _0x4a3512=_0x53b853,_0x23fbe9=_0x48fe43[_0x4a3512(0x1d8)](_0x4a3512(0x211)),_0x26fd08=this[_0x4a3512(0x1c4)][_0x4a3512(0x217)](_0x50b3de=>_0x50b3de['id']===_0x23fbe9),_0x42baae=this[_0x4a3512(0x1c4)][_0x26fd08];let _0x4f7afa=!0x1;_0x42baae[_0x4a3512(0x203)]=_0x48fe43,this[_0x4a3512(0x1c4)][_0x4a3512(0x1c0)](_0x26fd08,0x1);const _0x512e42=I(this[_0x4a3512(0x1cc)][_0x4a3512(0x1d7)],this[_0x4a3512(0x1c4)],_0x48fe43);return this[_0x4a3512(0x1c4)][_0x4a3512(0x1c0)](_0x512e42,0x0,_0x42baae),this[_0x4a3512(0x1f1)](_0x1089bb,Math[_0x4a3512(0x20b)](_0x26fd08,_0x512e42))&&(_0x4f7afa=!0x0),_0x4f7afa;}[_0x53b853(0x1bb)](_0x353660,_0x10e26c){const _0x4ac341=_0x53b853;if(!this[_0x4ac341(0x216)])return!0x1;const _0x195e3a=this[_0x4ac341(0x1c4)][_0x10e26c];let _0x29d207;return _0x29d207=this[_0x4ac341(0x1e2)]?this[_0x4ac341(0x1e2)]({'footnote':_0x195e3a,'container':this[_0x4ac341(0x216)],'digits':String(this[_0x4ac341(0x1c4)][_0x4ac341(0x207)])[_0x4ac341(0x207)],'value':_0x10e26c+0x1}):String(_0x10e26c+0x1),_0x195e3a[_0x4ac341(0x203)][_0x4ac341(0x1d8)](_0x4ac341(0x20a))!=_0x29d207&&(_0x353660[_0x4ac341(0x1eb)](_0x4ac341(0x20a),_0x29d207,_0x195e3a[_0x4ac341(0x203)]),!0x0);}[_0x53b853(0x1ed)](_0x5a5823){const _0x1ccf60=_0x53b853;if(!this[_0x1ccf60(0x216)]||this[_0x1ccf60(0x1c4)][_0x1ccf60(0x207)]<0x2)return!0x1;if(function(_0x470557,_0x426da2){const _0x35296f=_0x1ccf60;if(_0x470557[_0x35296f(0x207)]!==_0x426da2[_0x35296f(0x207)])return!0x1;for(let _0x1c287b=0x0;_0x1c287b<_0x470557[_0x35296f(0x207)];_0x1c287b++)if(_0x470557[_0x1c287b]!==_0x426da2[_0x1c287b])return!0x1;return!0x0;}(this[_0x1ccf60(0x1c4)][_0x1ccf60(0x205)](_0x2e631a=>_0x2e631a['id']),Array[_0x1ccf60(0x1c3)](this[_0x1ccf60(0x216)][_0x1ccf60(0x1c1)]())[_0x1ccf60(0x205)](_0x7fcd16=>_0x7fcd16[_0x1ccf60(0x1d8)](_0x1ccf60(0x211)))))return!0x1;let _0x179e53=!0x1;for(let _0x22c355=0x0;_0x22c355<this[_0x1ccf60(0x1c4)][_0x1ccf60(0x207)];_0x22c355++){const _0x4bcb2a=this[_0x1ccf60(0x1c4)][_0x22c355],_0x520e28=_0x5a5823[_0x1ccf60(0x210)](_0x4bcb2a[_0x1ccf60(0x1ca)]),_0x472f98=_0x5a5823[_0x1ccf60(0x1d3)](this[_0x1ccf60(0x216)],_0x22c355);_0x520e28[_0x1ccf60(0x1e4)](_0x472f98)||(_0x5a5823[_0x1ccf60(0x1e9)](_0x5a5823[_0x1ccf60(0x209)](_0x4bcb2a[_0x1ccf60(0x1ca)]),_0x472f98),_0x179e53=!0x0);}return _0x179e53;}[_0x53b853(0x1b9)](_0x447f9a){const _0x45564d=_0x53b853;if(!this[_0x45564d(0x1c4)][_0x45564d(0x207)])return!0x1;const {model:_0x13724f}=this[_0x45564d(0x1cc)];let _0x14f252=!0x1;for(let _0x6a02bf=0x0;_0x6a02bf<this[_0x45564d(0x1c4)][_0x45564d(0x207)]-0x1;_0x6a02bf++){const _0xe2c13d=this[_0x45564d(0x1c4)][_0x6a02bf],_0x51a6c0=this[_0x45564d(0x1c4)][_0x6a02bf+0x1],_0x58829d=_0x13724f[_0x45564d(0x210)](_0xe2c13d[_0x45564d(0x203)]),_0x5957c1=_0x13724f[_0x45564d(0x210)](_0x51a6c0[_0x45564d(0x203)]);_0x45564d(0x1f5)===_0x58829d[_0x45564d(0x1b5)](_0x5957c1)&&(this[_0x45564d(0x20e)](_0x447f9a,_0xe2c13d[_0x45564d(0x203)]),_0x6a02bf=-0x1,_0x14f252=!0x0);}return _0x14f252;}}function _(_0x8fb3e,_0xf6a7d2,_0x3b9dd8){const _0xb378b7=_0x53b853;if(_0x3b9dd8[_0xb378b7(0x1d2)])return!0x1;const _0x6f261e=_0xf6a7d2?_0xb378b7(0x214):_0xb378b7(0x1c7);return _0x8fb3e[_0xb378b7(0x201)](_0x8fb3e[_0xb378b7(0x1fa)](_0x6f261e),_0x3b9dd8),!0x0;}function _0xd85b(_0x328a7f,_0x284f3b){const _0x437876=_0x4378();return _0xd85b=function(_0xd85b5,_0x209e8c){_0xd85b5=_0xd85b5-0x1b3;let _0x5563c6=_0x437876[_0xd85b5];return _0x5563c6;},_0xd85b(_0x328a7f,_0x284f3b);}function I(_0xe861a6,_0x300595,_0x30fb7d){const _0x2e8d98=_0x53b853;if(0x0===_0x300595[_0x2e8d98(0x207)])return 0x0;const _0x1d721b=_0xe861a6[_0x2e8d98(0x210)](_0x30fb7d);for(let _0x4739ce=0x0;_0x4739ce<_0x300595[_0x2e8d98(0x207)];_0x4739ce++){const _0xcc098e=_0x300595[_0x4739ce],_0x2a8749=_0xe861a6[_0x2e8d98(0x210)](_0xcc098e[_0x2e8d98(0x203)]);if(_0x2e8d98(0x1ce)===_0x1d721b[_0x2e8d98(0x1b5)](_0x2a8749))return _0x4739ce;}const _0x3cde58=_0x30fb7d[_0x2e8d98(0x1cf)];let _0x2526b9=-0x1;for(let _0x151b6b=_0x300595[_0x2e8d98(0x207)]-0x1;_0x151b6b>=0x0;_0x151b6b--)if(_0x300595[_0x151b6b][_0x2e8d98(0x203)][_0x2e8d98(0x1cf)]===_0x3cde58){_0x2526b9=_0x151b6b;break;}if(-0x1!==_0x2526b9)return _0x2526b9+0x1;const _0x20bc70=_0xe861a6[_0x2e8d98(0x1e0)][_0x2e8d98(0x1db)](),_0x5591ab=_0x20bc70[_0x2e8d98(0x206)](_0x3cde58[_0x2e8d98(0x1b6)]),_0x1193ab=_0x20bc70[_0x5591ab+0x1];if(_0x1193ab){for(let _0x3a48a1=0x0;_0x3a48a1<_0x300595[_0x2e8d98(0x207)];_0x3a48a1++)if(_0x300595[_0x3a48a1][_0x2e8d98(0x203)][_0x2e8d98(0x1cf)][_0x2e8d98(0x1b6)]===_0x1193ab)return _0x3a48a1;}return _0x300595[_0x2e8d98(0x207)];}
23
+ const _0x353fe3=_0x9abd;(function(_0x483116,_0x34fb9a){const _0x2ec123=_0x9abd,_0x9b8534=_0x483116();while(!![]){try{const _0x4a6bf8=parseInt(_0x2ec123(0x110))/0x1*(-parseInt(_0x2ec123(0x144))/0x2)+-parseInt(_0x2ec123(0x12d))/0x3+-parseInt(_0x2ec123(0xee))/0x4*(parseInt(_0x2ec123(0x139))/0x5)+-parseInt(_0x2ec123(0x131))/0x6*(-parseInt(_0x2ec123(0x12c))/0x7)+parseInt(_0x2ec123(0x10b))/0x8*(parseInt(_0x2ec123(0x141))/0x9)+-parseInt(_0x2ec123(0x12f))/0xa+parseInt(_0x2ec123(0x130))/0xb*(parseInt(_0x2ec123(0x123))/0xc);if(_0x4a6bf8===_0x34fb9a)break;else _0x9b8534['push'](_0x9b8534['shift']());}catch(_0x378390){_0x9b8534['push'](_0x9b8534['shift']());}}}(_0x5595,0xc4e42));import{Plugin as _0x41baae}from'ckeditor5/src/core.js';function _0x9abd(_0x1c7bbd,_0x58f5f1){const _0x55950f=_0x5595();return _0x9abd=function(_0x9abda7,_0x1f16e8){_0x9abda7=_0x9abda7-0xed;let _0x535449=_0x55950f[_0x9abda7];return _0x535449;},_0x9abd(_0x1c7bbd,_0x58f5f1);}import{ModelElementTracker as _0x1b5d40}from'./modelelementtracker.js';function _0x5595(){const _0x3860c2=['$graveyard','12YjbISV','_handleInsertedFootnoteReference','createPositionBefore','_sortFootnoteDefinitions','length','childCount','listenTo','document','_footnoteFormatter','footnotesDefinitions','differ','_handleFootnotesDefinitionsObjectSync','createElement','_handleFootnotesDefinitionsObjectChanges','registerPostFixer','map','getRootNames','createRangeIn','_footnotes','createRangeOn','parent','isPremiumPlugin','isOfficialPlugin','splice','footnoteId','push','_handleMovedFootnoteReference','editor','get','280dQrmKc','some','footnoteCounter','config','footnoteInlineContent','1137494JMMTLl','getAttribute','getChanges','change:data','_updateFootnoteRefCounter','_updateFootnotesCounters','paragraph','_footnoteDefsTracker','setFootnoteFormatter','pluginName','definition','remove','_ensureFootnotesDefinitionsContainerExists','unshift','root','find','add','isEqual','createPositionAt','27396JGHtGP','has','low','reference','set','getFootnotesFormatter','_insertEmptyFootnotesDefinitionsContainer','reset','_footnoteDefsContainerTracker','28lOtgIs','4650162bGNpzT','findIndex','12692240ocfeBq','25190lcdmWE','317004GGiyan','setAttribute','_handleFootnoteReferencesChanges','model','compareWith','_handleFootnoteDefinitionsChanges','move','getFootnotesDefinitionsObjectElement','1910655HQynFS','_ensureFootnotesReferencesHaveProperOrder','footnotes.multiBlock','getFootnotes','getFootnote','_footnoteRefsTracker','singleton','after','120915QsPZXA','from','indexOf','2FqyKbN','before','append','_handleRemoveFootnoteReferenceById','_footnotesDefinitions','FootnotesTracker','getChildren','min','init','end','rootName','insert','high','enqueueChange','footnoteDefinition','footnoteRef'];_0x5595=function(){return _0x3860c2;};return _0x5595();}export class FootnotesTracker extends _0x41baae{[_0x353fe3(0x100)]=[];[_0x353fe3(0x148)]=null;[_0x353fe3(0xf6)]=null;[_0x353fe3(0x12b)];[_0x353fe3(0x13e)];[_0x353fe3(0x117)];static get[_0x353fe3(0x119)](){const _0x33a097=_0x353fe3;return _0x33a097(0x149);}static get[_0x353fe3(0x104)](){return!0x0;}static get[_0x353fe3(0x103)](){return!0x0;}constructor(_0x59887b){const _0x30ac3d=_0x353fe3;super(_0x59887b),this[_0x30ac3d(0x12b)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0xf7),'getElementKey':()=>_0x30ac3d(0x13f)}),this[_0x30ac3d(0x13e)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0x153),'getElementKey':_0x2b4bdc=>_0x2b4bdc[_0x30ac3d(0x111)](_0x30ac3d(0x106))}),this[_0x30ac3d(0x117)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0x152),'getElementKey':_0x558f5e=>_0x558f5e[_0x30ac3d(0x111)](_0x30ac3d(0x106))});}[_0x353fe3(0x14c)](){const _0x391d99=_0x353fe3,{editor:_0x3eea1c}=this,{model:_0x4a31e3,data:_0x5d5605}=_0x3eea1c;_0x4a31e3[_0x391d99(0xf5)][_0x391d99(0xfc)](_0x589823=>{const _0xf39372=_0x391d99,_0x58abe6=_0x4a31e3[_0xf39372(0xf5)][_0xf39372(0xf8)][_0xf39372(0x112)]();let _0x32416e=!0x1;return this[_0xf39372(0xfb)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x136)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x133)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x13a)](_0x589823)&&(_0x32416e=!0x0),this[_0xf39372(0xf9)](_0x589823)&&(_0x32416e=!0x0),this[_0xf39372(0xf1)](_0x589823)&&(_0x32416e=!0x0),_0x32416e;}),this[_0x391d99(0xf4)](_0x4a31e3[_0x391d99(0xf5)],_0x391d99(0x113),()=>{const _0x714b79=_0x391d99;_0x4a31e3[_0x714b79(0x151)]({'isUndoable':!0x1},_0x30737f=>{const _0x317209=_0x714b79;this[_0x317209(0x11c)](_0x30737f);});},{'priority':_0x391d99(0x125)}),this[_0x391d99(0xf4)](_0x5d5605,_0x391d99(0x127),()=>{const _0x4ddc33=_0x391d99;this[_0x4ddc33(0x100)]=[],this[_0x4ddc33(0x12b)][_0x4ddc33(0x12a)](),this[_0x4ddc33(0x13e)][_0x4ddc33(0x12a)](),this[_0x4ddc33(0x117)][_0x4ddc33(0x12a)]();},{'priority':_0x391d99(0x150)});}[_0x353fe3(0x138)](){const _0x39c2be=_0x353fe3;return this[_0x39c2be(0x148)];}[_0x353fe3(0x13d)](_0x2cb3c0){const _0x37f1b2=_0x353fe3;return this[_0x37f1b2(0x100)][_0x37f1b2(0x11f)](_0x3dcab9=>_0x3dcab9['id']===_0x2cb3c0)||null;}[_0x353fe3(0x13c)](){const _0xe55ae0=_0x353fe3;return Array[_0xe55ae0(0x142)](this[_0xe55ae0(0x100)]);}[_0x353fe3(0x128)](){const _0x1161d5=_0x353fe3;return this[_0x1161d5(0xf6)];}[_0x353fe3(0x118)](_0x3c743a){const _0x5d2255=_0x353fe3;this[_0x5d2255(0xf6)]=_0x3c743a;}[_0x353fe3(0x115)](_0x591962,_0x4b69f4=0x0){const _0x40f585=_0x353fe3;let _0x14e0dc=!0x1;for(let _0x1d872c=_0x4b69f4;_0x1d872c<this[_0x40f585(0x100)][_0x40f585(0xf2)];_0x1d872c++)this[_0x40f585(0x114)](_0x591962,_0x1d872c)&&(_0x14e0dc=!0x0);return _0x14e0dc;}[_0x353fe3(0x129)](_0x275d4b,_0x4a31c8){const _0x195fec=_0x353fe3,_0x50b9e5=_0x275d4b[_0x195fec(0xfa)](_0x195fec(0xf7),{});return _0x275d4b[_0x195fec(0x146)](_0x50b9e5,_0x4a31c8),this[_0x195fec(0x148)]=_0x50b9e5,_0x50b9e5;}[_0x353fe3(0x11c)](_0x191138){const _0x229509=_0x353fe3;if(!this[_0x229509(0x100)][_0x229509(0xf2)]||this[_0x229509(0x148)])return;const _0x572653=this[_0x229509(0x100)][0x0][_0x229509(0x126)][_0x229509(0x11e)],_0x93e864=this[_0x229509(0x129)](_0x191138,_0x572653);for(const _0x4d17d1 of this[_0x229509(0x100)])_0x4d17d1[_0x229509(0x11a)][_0x229509(0x102)]||_0x191138[_0x229509(0x14f)](_0x4d17d1[_0x229509(0x11a)],_0x93e864,_0x229509(0x14d));this[_0x229509(0x115)](_0x191138);}[_0x353fe3(0xfb)](_0x2e857c,_0x2d1fb1){const _0x18063c=_0x353fe3;let _0x32af06=!0x1;const {inserted:_0x5cab46,removed:_0x454b9f,moved:_0x427999}=this[_0x18063c(0x12b)][_0x18063c(0x112)](_0x2d1fb1);if(_0x427999[_0x18063c(0xf2)]&&(this[_0x18063c(0x148)]=_0x427999[0x0]),_0x5cab46[_0x18063c(0xf2)]){if(_0x5cab46[_0x18063c(0xf2)]>0x1||this[_0x18063c(0x148)]&&_0x5cab46[_0x18063c(0x10c)](_0x3aee62=>_0x3aee62!==this[_0x18063c(0x148)])){const _0x235709=_0x2e857c[_0x18063c(0xfa)](_0x18063c(0xf7),{}),_0x25e65c=[];this[_0x18063c(0x148)]&&_0x25e65c[_0x18063c(0x107)](this[_0x18063c(0x148)]),_0x25e65c[_0x18063c(0x107)](..._0x5cab46),_0x2e857c[_0x18063c(0x14f)](_0x235709,_0x25e65c[0x0],_0x18063c(0x145));for(const _0x1c6b47 of _0x25e65c)_0x2e857c[_0x18063c(0x137)](_0x2e857c[_0x18063c(0xff)](_0x1c6b47),_0x2e857c[_0x18063c(0x122)](_0x235709,_0x18063c(0x14d))),_0x2e857c[_0x18063c(0x11b)](_0x1c6b47);this[_0x18063c(0x148)]=_0x235709,this[_0x18063c(0x115)](_0x2e857c),_0x32af06=!0x0;}else this[_0x18063c(0x148)]=_0x5cab46[0x0];}if(_0x454b9f[_0x18063c(0xf2)]&&_0x18063c(0xed)===this[_0x18063c(0x148)]?.[_0x18063c(0x11e)][_0x18063c(0x14e)]){for(const _0x2e208c of this[_0x18063c(0x100)])_0x2e857c[_0x18063c(0x11b)](_0x2e208c[_0x18063c(0x126)]),_0x32af06=!0x0;this[_0x18063c(0x100)]=[],this[_0x18063c(0x148)]=null;}return _0x32af06;}[_0x353fe3(0x136)](_0x6faa0,_0x5b04ce){const _0x7b261c=_0x353fe3;let _0x244836=!0x1;const _0x102ec5=this[_0x7b261c(0x109)][_0x7b261c(0x10e)][_0x7b261c(0x10a)](_0x7b261c(0x13b)),{inserted:_0x8b2274,moved:_0x25279e}=this[_0x7b261c(0x117)][_0x7b261c(0x112)](_0x5b04ce);for(const _0xa2d7d0 of[..._0x25279e,..._0x8b2274]){const _0x5e6efb=_0xa2d7d0[_0x7b261c(0x111)](_0x7b261c(0x106)),_0x5c8071=this[_0x7b261c(0x13d)](_0x5e6efb);_0x5c8071&&(_0x5c8071[_0x7b261c(0x11a)]=_0xa2d7d0),_(_0x6faa0,_0x102ec5,_0xa2d7d0)&&(_0x244836=!0x0);}return _0x244836;}[_0x353fe3(0x133)](_0x1b0749,_0xc4652){const _0x138755=_0x353fe3;let _0x57720e=!0x1;const {removed:_0x60f7ba,inserted:_0x2735a8,moved:_0x3c65b4}=this[_0x138755(0x13e)][_0x138755(0x112)](_0xc4652);for(const _0x508162 of _0x60f7ba)this[_0x138755(0x147)](_0x1b0749,_0x508162)&&(_0x57720e=!0x0);for(const _0x3c5b1f of _0x2735a8)this[_0x138755(0xef)](_0x1b0749,_0x3c5b1f)&&(_0x57720e=!0x0);for(const _0x5e6842 of _0x3c65b4)this[_0x138755(0x108)](_0x1b0749,_0x5e6842)&&(_0x57720e=!0x0);return _0x57720e;}[_0x353fe3(0xf9)](_0x8e23fb){const _0x2c42af=_0x353fe3;if(!this[_0x2c42af(0x148)])return!0x1;let _0x4b3ec2=!0x1;if(this[_0x2c42af(0x148)][_0x2c42af(0xf3)]!==this[_0x2c42af(0x100)][_0x2c42af(0xf2)]){const _0x54bfa9=[];for(const _0x5b7c57 of this[_0x2c42af(0x148)][_0x2c42af(0x14a)]()){const _0x5d3be8=_0x5b7c57[_0x2c42af(0x111)](_0x2c42af(0x106));this[_0x2c42af(0x13d)](_0x5d3be8)||(_0x54bfa9[_0x2c42af(0x11d)](_0x5b7c57),_0x4b3ec2=!0x0);}for(const _0x210cae of _0x54bfa9)_0x8e23fb[_0x2c42af(0x11b)](_0x210cae);}const _0x1ad562=new Set(),_0x364d2a=[];for(const _0x59210f of this[_0x2c42af(0x148)][_0x2c42af(0x14a)]()){const _0x39aa31=_0x59210f[_0x2c42af(0x111)](_0x2c42af(0x106));_0x1ad562[_0x2c42af(0x124)](_0x39aa31)?(_0x364d2a[_0x2c42af(0x11d)](_0x59210f),_0x4b3ec2=!0x0):_0x1ad562[_0x2c42af(0x120)](_0x39aa31);}for(const _0xd2287c of _0x364d2a)_0x8e23fb[_0x2c42af(0x11b)](_0xd2287c);return this[_0x2c42af(0x148)][_0x2c42af(0xf3)]||(_0x8e23fb[_0x2c42af(0x11b)](this[_0x2c42af(0x148)]),this[_0x2c42af(0x148)]=null,_0x4b3ec2=!0x0),_0x4b3ec2;}[_0x353fe3(0xef)](_0x20293f,_0x143edd){const _0x2064c6=_0x353fe3;if(this[_0x2064c6(0x100)][_0x2064c6(0x11f)](_0x3d11b7=>_0x3d11b7[_0x2064c6(0x126)]===_0x143edd))return!0x1;let _0x5098ab=!0x1;const _0x35b5e0=_0x143edd[_0x2064c6(0x111)](_0x2064c6(0x106)),_0x293560=this[_0x2064c6(0x100)][_0x2064c6(0x12e)](_0x242a79=>_0x242a79['id']===_0x35b5e0);-0x1!==_0x293560&&(_0x20293f[_0x2064c6(0x11b)](this[_0x2064c6(0x100)][_0x293560][_0x2064c6(0x126)]),this[_0x2064c6(0x100)][_0x2064c6(0x105)](_0x293560,0x1),_0x5098ab=!0x0);let _0x5cf4ea=this[_0x2064c6(0x148)]?function(_0x474b08,_0x4387ee){const _0xca79cb=_0x2064c6;for(const _0x35daeb of _0x474b08[_0xca79cb(0x14a)]())if(_0x35daeb[_0xca79cb(0x111)](_0xca79cb(0x106))===_0x4387ee)return _0x35daeb;return null;}(this[_0x2064c6(0x148)],_0x35b5e0):null;_0x5cf4ea||(_0x5cf4ea=_0x20293f[_0x2064c6(0xfa)](_0x2064c6(0x152),{'footnoteId':_0x35b5e0}),this[_0x2064c6(0x148)]&&(_0x20293f[_0x2064c6(0x14f)](_0x5cf4ea,this[_0x2064c6(0x148)],_0x2064c6(0x14d)),_0x5098ab=!0x0));const _0x409be6={'id':_0x35b5e0,'reference':_0x143edd,'definition':_0x5cf4ea},_0x3e3b69=I(this[_0x2064c6(0x109)][_0x2064c6(0x134)],this[_0x2064c6(0x100)],_0x143edd);this[_0x2064c6(0x100)][_0x2064c6(0x105)](_0x3e3b69,0x0,_0x409be6);let _0x3f611c=_0x3e3b69;return-0x1!==_0x293560&&(_0x3f611c=Math[_0x2064c6(0x14b)](_0x3e3b69,_0x293560)),this[_0x2064c6(0x115)](_0x20293f,_0x3f611c)&&(_0x5098ab=!0x0),_0x5098ab;}[_0x353fe3(0x147)](_0x34e940,_0x513368){const _0x4a622e=_0x353fe3,_0x88cad7=this[_0x4a622e(0x100)][_0x4a622e(0x12e)](_0x607403=>_0x607403['id']===_0x513368);if(-0x1===_0x88cad7)return!0x1;let _0x4ad18b=!0x1;const _0x581672=this[_0x4a622e(0x100)][_0x88cad7];return _0x4a622e(0xed)!==_0x581672[_0x4a622e(0x11a)][_0x4a622e(0x11e)][_0x4a622e(0x14e)]&&(_0x34e940[_0x4a622e(0x11b)](_0x581672[_0x4a622e(0x11a)]),_0x4ad18b=!0x0),this[_0x4a622e(0x100)][_0x4a622e(0x105)](_0x88cad7,0x1),this[_0x4a622e(0x115)](_0x34e940,_0x88cad7)&&(_0x4ad18b=!0x0),_0x4ad18b;}[_0x353fe3(0x108)](_0x44b4b0,_0x56af59){const _0x1a6ee2=_0x353fe3,_0xa60e47=_0x56af59[_0x1a6ee2(0x111)](_0x1a6ee2(0x106)),_0x3fbef2=this[_0x1a6ee2(0x100)][_0x1a6ee2(0x12e)](_0x461a9e=>_0x461a9e['id']===_0xa60e47),_0x296545=this[_0x1a6ee2(0x100)][_0x3fbef2];let _0x5218d3=!0x1;_0x296545[_0x1a6ee2(0x126)]=_0x56af59,this[_0x1a6ee2(0x100)][_0x1a6ee2(0x105)](_0x3fbef2,0x1);const _0x51d157=I(this[_0x1a6ee2(0x109)][_0x1a6ee2(0x134)],this[_0x1a6ee2(0x100)],_0x56af59);return this[_0x1a6ee2(0x100)][_0x1a6ee2(0x105)](_0x51d157,0x0,_0x296545),this[_0x1a6ee2(0x115)](_0x44b4b0,Math[_0x1a6ee2(0x14b)](_0x3fbef2,_0x51d157))&&(_0x5218d3=!0x0),_0x5218d3;}[_0x353fe3(0x114)](_0x3dcd48,_0x594cbc){const _0x174eb3=_0x353fe3;if(!this[_0x174eb3(0x148)])return!0x1;const _0x1959ba=this[_0x174eb3(0x100)][_0x594cbc];let _0x551d2f;return _0x551d2f=this[_0x174eb3(0xf6)]?this[_0x174eb3(0xf6)]({'footnote':_0x1959ba,'container':this[_0x174eb3(0x148)],'digits':String(this[_0x174eb3(0x100)][_0x174eb3(0xf2)])[_0x174eb3(0xf2)],'value':_0x594cbc+0x1}):String(_0x594cbc+0x1),_0x1959ba[_0x174eb3(0x126)][_0x174eb3(0x111)](_0x174eb3(0x10d))!=_0x551d2f&&(_0x3dcd48[_0x174eb3(0x132)](_0x174eb3(0x10d),_0x551d2f,_0x1959ba[_0x174eb3(0x126)]),!0x0);}[_0x353fe3(0xf1)](_0x17de83){const _0x1d8661=_0x353fe3;if(!this[_0x1d8661(0x148)]||this[_0x1d8661(0x100)][_0x1d8661(0xf2)]<0x2)return!0x1;if(function(_0x4d1704,_0x36221a){const _0x1db06d=_0x1d8661;if(_0x4d1704[_0x1db06d(0xf2)]!==_0x36221a[_0x1db06d(0xf2)])return!0x1;for(let _0x4bbc80=0x0;_0x4bbc80<_0x4d1704[_0x1db06d(0xf2)];_0x4bbc80++)if(_0x4d1704[_0x4bbc80]!==_0x36221a[_0x4bbc80])return!0x1;return!0x0;}(this[_0x1d8661(0x100)][_0x1d8661(0xfd)](_0x1ff788=>_0x1ff788['id']),Array[_0x1d8661(0x142)](this[_0x1d8661(0x148)][_0x1d8661(0x14a)]())[_0x1d8661(0xfd)](_0x50a129=>_0x50a129[_0x1d8661(0x111)](_0x1d8661(0x106)))))return!0x1;let _0x535107=!0x1;for(let _0x2f5534=0x0;_0x2f5534<this[_0x1d8661(0x100)][_0x1d8661(0xf2)];_0x2f5534++){const _0x404837=this[_0x1d8661(0x100)][_0x2f5534],_0x56b1ee=_0x17de83[_0x1d8661(0xf0)](_0x404837[_0x1d8661(0x11a)]),_0x1d27fc=_0x17de83[_0x1d8661(0x122)](this[_0x1d8661(0x148)],_0x2f5534);_0x56b1ee[_0x1d8661(0x121)](_0x1d27fc)||(_0x17de83[_0x1d8661(0x137)](_0x17de83[_0x1d8661(0x101)](_0x404837[_0x1d8661(0x11a)]),_0x1d27fc),_0x535107=!0x0);}return _0x535107;}[_0x353fe3(0x13a)](_0x31e6b6){const _0x1ddd82=_0x353fe3;if(!this[_0x1ddd82(0x100)][_0x1ddd82(0xf2)])return!0x1;const {model:_0x471d22}=this[_0x1ddd82(0x109)];let _0x27f570=!0x1;for(let _0x512968=0x0;_0x512968<this[_0x1ddd82(0x100)][_0x1ddd82(0xf2)]-0x1;_0x512968++){const _0x4bb589=this[_0x1ddd82(0x100)][_0x512968],_0x1024aa=this[_0x1ddd82(0x100)][_0x512968+0x1],_0x4f01da=_0x471d22[_0x1ddd82(0xf0)](_0x4bb589[_0x1ddd82(0x126)]),_0x19ebd6=_0x471d22[_0x1ddd82(0xf0)](_0x1024aa[_0x1ddd82(0x126)]);_0x1ddd82(0x140)===_0x4f01da[_0x1ddd82(0x135)](_0x19ebd6)&&(this[_0x1ddd82(0x108)](_0x31e6b6,_0x4bb589[_0x1ddd82(0x126)]),_0x512968=-0x1,_0x27f570=!0x0);}return _0x27f570;}}function _(_0x5c8e16,_0x5e0c64,_0x587ff6){const _0x3c3d51=_0x353fe3;if(_0x587ff6[_0x3c3d51(0xf3)])return!0x1;const _0x2e5dd0=_0x5e0c64?_0x3c3d51(0x116):_0x3c3d51(0x10f);return _0x5c8e16[_0x3c3d51(0x14f)](_0x5c8e16[_0x3c3d51(0xfa)](_0x2e5dd0),_0x587ff6),!0x0;}function I(_0x31313e,_0x1e6ab8,_0x22e772){const _0x352d78=_0x353fe3;if(0x0===_0x1e6ab8[_0x352d78(0xf2)])return 0x0;const _0x5cf4cc=_0x31313e[_0x352d78(0xf0)](_0x22e772);for(let _0x28356e=0x0;_0x28356e<_0x1e6ab8[_0x352d78(0xf2)];_0x28356e++){const _0x33169a=_0x1e6ab8[_0x28356e],_0x21312f=_0x31313e[_0x352d78(0xf0)](_0x33169a[_0x352d78(0x126)]);if(_0x352d78(0x145)===_0x5cf4cc[_0x352d78(0x135)](_0x21312f))return _0x28356e;}const _0x1cda13=_0x22e772[_0x352d78(0x11e)];let _0x9fd6ea=-0x1;for(let _0x43fe12=_0x1e6ab8[_0x352d78(0xf2)]-0x1;_0x43fe12>=0x0;_0x43fe12--)if(_0x1e6ab8[_0x43fe12][_0x352d78(0x126)][_0x352d78(0x11e)]===_0x1cda13){_0x9fd6ea=_0x43fe12;break;}if(-0x1!==_0x9fd6ea)return _0x9fd6ea+0x1;const _0x14fb64=_0x31313e[_0x352d78(0xf5)][_0x352d78(0xfe)](),_0x2857fa=_0x14fb64[_0x352d78(0x143)](_0x1cda13[_0x352d78(0x14e)]),_0x403234=_0x14fb64[_0x2857fa+0x1];if(_0x403234){for(let _0x17ced4=0x0;_0x17ced4<_0x1e6ab8[_0x352d78(0xf2)];_0x17ced4++)if(_0x1e6ab8[_0x17ced4][_0x352d78(0x126)][_0x352d78(0x11e)][_0x352d78(0x14e)]===_0x403234)return _0x17ced4;}return _0x1e6ab8[_0x352d78(0xf2)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1c5ab6,MenuBarMenuListItemButtonView as _0x596c19}from'ckeditor5/src/ui.js';import{Plugin as _0x286cb8}from'ckeditor5/src/core.js';import{IconFootnote as _0x5a71a2}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x286cb8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x10ea59}=this,{componentFactory:_0x992b92}=_0x10ea59['ui'];_0x992b92['add']('insertFootnote',E(_0x10ea59,_0x1c5ab6)),_0x992b92['add']('menuBar:insertFootnote',E(_0x10ea59,_0x596c19)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48579b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x51f2c5;for(const _0x3d02cd in _0x48579b){const _0x1ca78e=_0x3d02cd,_0x56c7de=_0x48579b[_0x1ca78e];if('footnotesLicenseKeyValid'==_0x56c7de||'footnotesLicenseKeyInvalid'==_0x56c7de||'footnotesLicenseKeyExpired'==_0x56c7de||'footnotesLicenseKeyDomainLimit'==_0x56c7de||'footnotesLicenseKeyNotAllowed'==_0x56c7de||'footnotesLicenseKeyEvaluationLimit'==_0x56c7de||'footnotesLicenseKeyUsageLimit'==_0x56c7de){delete _0x48579b[_0x1ca78e],_0x51f2c5=_0x56c7de,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x51f2c5&&_0x48579b['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x51f2c5&&_0x48579b['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x51f2c5&&_0x48579b['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x51f2c5&&_0x48579b['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x51f2c5&&_0x48579b['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x51f2c5&&_0x48579b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x15f35c,_0x371a40){const _0x29c327=_0x15f35c['commands']['get']('insertFootnote');return _0x5a6889=>{const {t:t}=_0x5a6889,_0x96dd07=new _0x371a40(_0x5a6889),_0x834a65=_0x96dd07 instanceof _0x596c19;return _0x96dd07['bind']('isEnabled')['to'](_0x29c327,'isEnabled'),_0x96dd07['set']({'label':t(_0x834a65?'Footnote':'Insert\x20footnote'),'icon':_0x5a71a2,'tooltip':!0x0}),_0x96dd07['on']('execute',()=>{_0x29c327['execute'](),_0x15f35c['editing']['view']['focus']();}),_0x96dd07;};}
23
+ import{ButtonView as _0x215470,MenuBarMenuListItemButtonView as _0x18fc8f}from'ckeditor5/src/ui.js';import{Plugin as _0x59eeb7}from'ckeditor5/src/core.js';import{IconFootnote as _0x37692a}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x59eeb7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x10abbf}=this,{componentFactory:_0x315290}=_0x10abbf['ui'];_0x315290['add']('insertFootnote',E(_0x10abbf,_0x215470)),_0x315290['add']('menuBar:insertFootnote',E(_0x10abbf,_0x18fc8f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x270a9f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f40c9;for(const _0x5804a8 in _0x270a9f){const _0x237db3=_0x5804a8,_0x22f060=_0x270a9f[_0x237db3];if('footnotesLicenseKeyValid'==_0x22f060||'footnotesLicenseKeyInvalid'==_0x22f060||'footnotesLicenseKeyExpired'==_0x22f060||'footnotesLicenseKeyDomainLimit'==_0x22f060||'footnotesLicenseKeyNotAllowed'==_0x22f060||'footnotesLicenseKeyEvaluationLimit'==_0x22f060||'footnotesLicenseKeyUsageLimit'==_0x22f060){delete _0x270a9f[_0x237db3],_0x2f40c9=_0x22f060,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2f40c9&&_0x270a9f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2f40c9&&_0x270a9f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2f40c9&&_0x270a9f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x3bd8b5,_0x271185){const _0x4de83e=_0x3bd8b5['commands']['get']('insertFootnote');return _0x2910e2=>{const {t:t}=_0x2910e2,_0x310ce3=new _0x271185(_0x2910e2),_0x51880d=_0x310ce3 instanceof _0x18fc8f;return _0x310ce3['bind']('isEnabled')['to'](_0x4de83e,'isEnabled'),_0x310ce3['set']({'label':t(_0x51880d?'Footnote':'Insert\x20footnote'),'icon':_0x37692a,'tooltip':!0x0}),_0x310ce3['on']('execute',()=>{_0x4de83e['execute'](),_0x3bd8b5['editing']['view']['focus']();}),_0x310ce3;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x6556a0,_0x22ffef){var _0x268a08=_0x2eae,_0x9ee83f=_0x6556a0();while(!![]){try{var _0x24b303=parseInt(_0x268a08(0x74))/0x1+-parseInt(_0x268a08(0x76))/0x2*(parseInt(_0x268a08(0x6e))/0x3)+parseInt(_0x268a08(0x73))/0x4+parseInt(_0x268a08(0x71))/0x5+-parseInt(_0x268a08(0x70))/0x6*(-parseInt(_0x268a08(0x72))/0x7)+-parseInt(_0x268a08(0x6d))/0x8+parseInt(_0x268a08(0x75))/0x9*(-parseInt(_0x268a08(0x6f))/0xa);if(_0x24b303===_0x22ffef)break;else _0x9ee83f['push'](_0x9ee83f['shift']());}catch(_0x55620e){_0x9ee83f['push'](_0x9ee83f['shift']());}}}(_0x1650,0xacda3));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x2eae(_0x13ff2a,_0x519275){var _0x165087=_0x1650();return _0x2eae=function(_0x2eaeff,_0x2a1f83){_0x2eaeff=_0x2eaeff-0x6d;var _0x100e71=_0x165087[_0x2eaeff];return _0x100e71;},_0x2eae(_0x13ff2a,_0x519275);}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 _0x1650(){var _0x58ad01=['1170326yDlcao','3230000FcBjGt','3fICqZT','3337910fFkEue','474cKpOUY','1692245UJHFrb','59157dCPVjh','3637616EroADx','115225rjgxtI','9pPmGLs'];_0x1650=function(){return _0x58ad01;};return _0x1650();}export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x21ac23,_0xa933c6){var _0x3f236a=_0x1a53,_0x4a89a7=_0x21ac23();while(!![]){try{var _0x4593ae=parseInt(_0x3f236a(0xd3))/0x1+parseInt(_0x3f236a(0xd5))/0x2*(-parseInt(_0x3f236a(0xd6))/0x3)+parseInt(_0x3f236a(0xcf))/0x4+parseInt(_0x3f236a(0xd2))/0x5*(parseInt(_0x3f236a(0xd1))/0x6)+parseInt(_0x3f236a(0xd7))/0x7+-parseInt(_0x3f236a(0xce))/0x8+-parseInt(_0x3f236a(0xd0))/0x9*(parseInt(_0x3f236a(0xd4))/0xa);if(_0x4593ae===_0xa933c6)break;else _0x4a89a7['push'](_0x4a89a7['shift']());}catch(_0x87c01d){_0x4a89a7['push'](_0x4a89a7['shift']());}}}(_0x4144,0x2250b));function _0x1a53(_0x4b547f,_0x1d0480){var _0x414409=_0x4144();return _0x1a53=function(_0x1a53ce,_0x3cd020){_0x1a53ce=_0x1a53ce-0xce;var _0x88bc66=_0x414409[_0x1a53ce];return _0x88bc66;},_0x1a53(_0x4b547f,_0x1d0480);}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';export{FootnotesProperties}from'./footnotesproperties.js';function _0x4144(){var _0x3e0473=['9mAjDIz','257390cjWWoy','408584NMNJlw','1069408hczqDY','2862dtFdwm','156078EFHSSl','30wQjYfG','279687vMqqIs','8620IRlPCp','182762sbzvRh'];_0x4144=function(){return _0x3e0473;};return _0x4144();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x416517=_0x5075;function _0x3f83(){const _0x3e31c4=['660EOwqen','has','delete','getChanges','5QZwPLf','4515016ddKEwl','_trackedElements','elementName','getItems','root','attributes','push','7yDsuVO','2929008kzklIC','add','getElementKey','name','get','_model','type','insert','clear','element','flat','_elementName','$graveyard','1281104EOPAOI','createRangeOn','30MSKgtB','$text','5685054noDsdK','5958924mNiRnJ','set','_getElementKey','reset','2goBNMm','733205kKpBZx','slice','from','4478346nbyYZE','rootName','values','remove','position','nodeAfter','length'];_0x3f83=function(){return _0x3e31c4;};return _0x3f83();}function _0x5075(_0x48d446,_0x2454f6){const _0x3f8376=_0x3f83();return _0x5075=function(_0x5075ed,_0x85da84){_0x5075ed=_0x5075ed-0x112;let _0x411785=_0x3f8376[_0x5075ed];return _0x411785;},_0x5075(_0x48d446,_0x2454f6);}(function(_0x440a4b,_0x554d14){const _0x5a502f=_0x5075,_0x359d61=_0x440a4b();while(!![]){try{const _0x325d39=-parseInt(_0x5a502f(0x12e))/0x1+-parseInt(_0x5a502f(0x137))/0x2*(-parseInt(_0x5a502f(0x121))/0x3)+-parseInt(_0x5a502f(0x133))/0x4+-parseInt(_0x5a502f(0x118))/0x5*(-parseInt(_0x5a502f(0x132))/0x6)+-parseInt(_0x5a502f(0x120))/0x7*(parseInt(_0x5a502f(0x119))/0x8)+-parseInt(_0x5a502f(0x13b))/0x9*(parseInt(_0x5a502f(0x130))/0xa)+-parseInt(_0x5a502f(0x138))/0xb*(-parseInt(_0x5a502f(0x114))/0xc);if(_0x325d39===_0x554d14)break;else _0x359d61['push'](_0x359d61['shift']());}catch(_0x87b41d){_0x359d61['push'](_0x359d61['shift']());}}}(_0x3f83,0xba014));export class ModelElementTracker{[_0x416517(0x126)];[_0x416517(0x12c)];[_0x416517(0x135)];[_0x416517(0x11a)]=new Map();constructor(_0x55587d,_0x50c3b6){const _0x5841e9=_0x416517;this[_0x5841e9(0x126)]=_0x55587d,this[_0x5841e9(0x12c)]=_0x50c3b6[_0x5841e9(0x11b)],this[_0x5841e9(0x135)]=_0x50c3b6[_0x5841e9(0x123)];}[_0x416517(0x136)](){const _0x574f65=_0x416517;this[_0x574f65(0x11a)][_0x574f65(0x129)]();}[_0x416517(0x117)](_0x10e61c){const _0x5f31b6=_0x416517,_0x245d67=new Set(),_0x3fc87b=new Map();for(const _0x3c79d6 of _0x10e61c){if(_0x5f31b6(0x128)===_0x3c79d6[_0x5f31b6(0x127)]&&_0x5f31b6(0x131)!==_0x3c79d6[_0x5f31b6(0x124)]&&_0x3c79d6[_0x5f31b6(0x13f)][_0x5f31b6(0x112)]){const _0x156a65=this[_0x5f31b6(0x126)][_0x5f31b6(0x12f)](_0x3c79d6[_0x5f31b6(0x13f)][_0x5f31b6(0x112)]);for(const _0x4c7857 of _0x156a65[_0x5f31b6(0x11c)]()){if(!_0x4c7857['is'](_0x5f31b6(0x12a),this[_0x5f31b6(0x12c)]))continue;const _0x2fae80=this[_0x5f31b6(0x135)](_0x4c7857);_0x3fc87b[_0x5f31b6(0x115)](_0x2fae80)||_0x3fc87b[_0x5f31b6(0x134)](_0x2fae80,[]),_0x3fc87b[_0x5f31b6(0x125)](_0x2fae80)[_0x5f31b6(0x11f)](_0x4c7857);}}if(_0x5f31b6(0x13e)===_0x3c79d6[_0x5f31b6(0x127)]&&_0x3c79d6[_0x5f31b6(0x124)]===this[_0x5f31b6(0x12c)]){const _0x4707d3=this[_0x5f31b6(0x135)]({'getAttribute':_0x25171e=>_0x3c79d6[_0x5f31b6(0x11e)][_0x5f31b6(0x125)](_0x25171e)});_0x245d67[_0x5f31b6(0x122)](_0x4707d3);}}for(const [_0x3d6ecb,_0x38ee32]of this[_0x5f31b6(0x11a)])_0x5f31b6(0x12d)===_0x38ee32[_0x5f31b6(0x11d)][_0x5f31b6(0x13c)]&&_0x245d67[_0x5f31b6(0x122)](_0x3d6ecb);for(const _0x402d91 of _0x245d67)this[_0x5f31b6(0x11a)][_0x5f31b6(0x116)](_0x402d91);for(const [_0x33b3ba,_0x1175fb]of _0x3fc87b)this[_0x5f31b6(0x11a)][_0x5f31b6(0x134)](_0x33b3ba,_0x1175fb[_0x1175fb[_0x5f31b6(0x113)]-0x1]);const _0x3fa1=new Set();for(const [_0x5543e8,_0x3d771c]of _0x3fc87b)_0x245d67[_0x5f31b6(0x115)](_0x5543e8)&&(_0x3fa1[_0x5f31b6(0x122)](_0x3d771c[0x0]),_0x3d771c[_0x5f31b6(0x113)]>0x1?_0x3fc87b[_0x5f31b6(0x134)](_0x5543e8,_0x3d771c[_0x5f31b6(0x139)](0x1)):_0x3fc87b[_0x5f31b6(0x116)](_0x5543e8),_0x245d67[_0x5f31b6(0x116)](_0x5543e8));return{'removed':Array[_0x5f31b6(0x13a)](_0x245d67),'inserted':Array[_0x5f31b6(0x13a)](_0x3fc87b[_0x5f31b6(0x13d)]())[_0x5f31b6(0x12b)](),'moved':Array[_0x5f31b6(0x13a)](_0x3fa1)};}}
23
+ function _0x3ce6(_0x1f46bb,_0x3db07c){const _0x1270cc=_0x1270();return _0x3ce6=function(_0x3ce681,_0xbfb8a2){_0x3ce681=_0x3ce681-0xae;let _0x27a85e=_0x1270cc[_0x3ce681];return _0x27a85e;},_0x3ce6(_0x1f46bb,_0x3db07c);}const _0x43dd96=_0x3ce6;function _0x1270(){const _0x148142=['reset','root','1001979lTKmPW','_model','delete','_trackedElements','push','length','$text','265368Icbdwz','clear','4224SRXCTH','8VqUBzI','type','$graveyard','values','remove','getElementKey','_getElementKey','attributes','4MVIXbL','40DQAbAR','5050GzFJwq','217LPlWaS','6853hZjogN','_elementName','element','name','has','from','createRangeOn','slice','nodeAfter','3104VTQyeC','add','insert','getChanges','177720pagEak','get','rootName','elementName','set','position','3818844UUSSVH','getItems','flat'];_0x1270=function(){return _0x148142;};return _0x1270();}(function(_0x173876,_0x324f3b){const _0x3e4333=_0x3ce6,_0x241d49=_0x173876();while(!![]){try{const _0x587f92=parseInt(_0x3e4333(0xc1))/0x1*(parseInt(_0x3e4333(0xd6))/0x2)+parseInt(_0x3e4333(0xda))/0x3*(-parseInt(_0x3e4333(0xc9))/0x4)+-parseInt(_0x3e4333(0xca))/0x5*(-parseInt(_0x3e4333(0xbe))/0x6)+-parseInt(_0x3e4333(0xcc))/0x7*(-parseInt(_0x3e4333(0xc0))/0x8)+-parseInt(_0x3e4333(0xb7))/0x9+parseInt(_0x3e4333(0xcb))/0xa*(parseInt(_0x3e4333(0xcd))/0xb)+-parseInt(_0x3e4333(0xb2))/0xc;if(_0x587f92===_0x324f3b)break;else _0x241d49['push'](_0x241d49['shift']());}catch(_0x4ab67e){_0x241d49['push'](_0x241d49['shift']());}}}(_0x1270,0x32e1f));export class ModelElementTracker{[_0x43dd96(0xb8)];[_0x43dd96(0xce)];[_0x43dd96(0xc7)];[_0x43dd96(0xba)]=new Map();constructor(_0x18618d,_0x417679){const _0x2996be=_0x43dd96;this[_0x2996be(0xb8)]=_0x18618d,this[_0x2996be(0xce)]=_0x417679[_0x2996be(0xaf)],this[_0x2996be(0xc7)]=_0x417679[_0x2996be(0xc6)];}[_0x43dd96(0xb5)](){const _0x2bfb93=_0x43dd96;this[_0x2bfb93(0xba)][_0x2bfb93(0xbf)]();}[_0x43dd96(0xd9)](_0x128a9f){const _0x28e623=_0x43dd96,_0x52c120=new Set(),_0x1d54fc=new Map();for(const _0x44f289 of _0x128a9f){if(_0x28e623(0xd8)===_0x44f289[_0x28e623(0xc2)]&&_0x28e623(0xbd)!==_0x44f289[_0x28e623(0xd0)]&&_0x44f289[_0x28e623(0xb1)][_0x28e623(0xd5)]){const _0x3fa4ea=this[_0x28e623(0xb8)][_0x28e623(0xd3)](_0x44f289[_0x28e623(0xb1)][_0x28e623(0xd5)]);for(const _0x1a3967 of _0x3fa4ea[_0x28e623(0xb3)]()){if(!_0x1a3967['is'](_0x28e623(0xcf),this[_0x28e623(0xce)]))continue;const _0x3ce7f9=this[_0x28e623(0xc7)](_0x1a3967);_0x1d54fc[_0x28e623(0xd1)](_0x3ce7f9)||_0x1d54fc[_0x28e623(0xb0)](_0x3ce7f9,[]),_0x1d54fc[_0x28e623(0xdb)](_0x3ce7f9)[_0x28e623(0xbb)](_0x1a3967);}}if(_0x28e623(0xc5)===_0x44f289[_0x28e623(0xc2)]&&_0x44f289[_0x28e623(0xd0)]===this[_0x28e623(0xce)]){const _0x57ba38=this[_0x28e623(0xc7)]({'getAttribute':_0x3850c0=>_0x44f289[_0x28e623(0xc8)][_0x28e623(0xdb)](_0x3850c0)});_0x52c120[_0x28e623(0xd7)](_0x57ba38);}}for(const [_0x2edf8d,_0x417453]of this[_0x28e623(0xba)])_0x28e623(0xc3)===_0x417453[_0x28e623(0xb6)][_0x28e623(0xae)]&&_0x52c120[_0x28e623(0xd7)](_0x2edf8d);for(const _0x20191e of _0x52c120)this[_0x28e623(0xba)][_0x28e623(0xb9)](_0x20191e);for(const [_0x508e0c,_0x50f970]of _0x1d54fc)this[_0x28e623(0xba)][_0x28e623(0xb0)](_0x508e0c,_0x50f970[_0x50f970[_0x28e623(0xbc)]-0x1]);const _0xbd50a1=new Set();for(const [_0x17b19a,_0x5ef8c2]of _0x1d54fc)_0x52c120[_0x28e623(0xd1)](_0x17b19a)&&(_0xbd50a1[_0x28e623(0xd7)](_0x5ef8c2[0x0]),_0x5ef8c2[_0x28e623(0xbc)]>0x1?_0x1d54fc[_0x28e623(0xb0)](_0x17b19a,_0x5ef8c2[_0x28e623(0xd4)](0x1)):_0x1d54fc[_0x28e623(0xb9)](_0x17b19a),_0x52c120[_0x28e623(0xb9)](_0x17b19a));return{'removed':Array[_0x28e623(0xd2)](_0x52c120),'inserted':Array[_0x28e623(0xd2)](_0x1d54fc[_0x28e623(0xc4)]())[_0x28e623(0xb4)](),'moved':Array[_0x28e623(0xd2)](_0xbd50a1)};}}