@ckeditor/ckeditor5-footnotes 47.2.0-alpha.2 → 47.2.0-alpha.4

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 _0x294ef5}from'ckeditor5/src/core.js';import{isWidget as _0x523e8b,toWidget as _0x28b21f,toWidgetEditable as _0x4743d1}from'ckeditor5/src/widget.js';import{uid as _0x45411d}from'ckeditor5/src/utils.js';import{PointerObserver as _0xa17bde,ClickObserver as _0x129a59}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x4b8867}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1a2ebf}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x294ef5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x4b8867];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11b02e}=this;_0x11b02e['config']['define']('footnotes.multiBlock',!0x0),_0x11b02e['commands']['add']('insertFootnote',new _0x1a2ebf(_0x11b02e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4deddf){const _0x224c13=_0x4a9f0e([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]),_0x27d8df=0x47a28506,_0x586474=0x47a5f2c6^_0x27d8df,_0x14574b=window[_0x4a9f0e([0x44,0x61,0x74,0x65])][_0x4a9f0e([0x6e,0x6f,0x77])](),_0xb1e478=_0x4deddf[_0x4a9f0e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a5e28=new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b0276=>{_0xb1e478[_0x4a9f0e([0x6f,0x6e,0x63,0x65])](_0x4a9f0e([0x72,0x65,0x61,0x64,0x79]),_0x2b0276);}),_0x174237={[_0x4a9f0e([0x6b,0x74,0x79])]:_0x4a9f0e([0x45,0x43]),[_0x4a9f0e([0x75,0x73,0x65])]:_0x4a9f0e([0x73,0x69,0x67]),[_0x4a9f0e([0x63,0x72,0x76])]:_0x4a9f0e([0x50,0x2d,0x32,0x35,0x36]),[_0x4a9f0e([0x78])]:_0x4a9f0e([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]),[_0x4a9f0e([0x79])]:_0x4a9f0e([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]),[_0x4a9f0e([0x61,0x6c,0x67])]:_0x4a9f0e([0x45,0x53,0x32,0x35,0x36])},_0x40dc15=_0xb1e478[_0x4a9f0e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a9f0e([0x67,0x65,0x74])](_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a5dd4(){let _0x4c09fb,_0x3219c1=null,_0x5d5133=null;try{if(_0x40dc15==_0x4a9f0e([0x47,0x50,0x4c]))return _0x4a9f0e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c09fb=_0x1ff96(),!_0x4c09fb)return _0x4a9f0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c09fb[_0x4a9f0e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d5133=_0x283cf4(_0x4c09fb[_0x4a9f0e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c09fb[_0x4a9f0e([0x6a,0x74,0x69])])),await _0x3be67f()?_0x23dc06()?_0x35a8a6()?_0x4a9f0e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x137a52()?(_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a9f0e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3219c1=_0x41684d(_0x4a9f0e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a9f0e([0x74,0x72,0x69,0x61,0x6c])&&(_0x3219c1=_0x41684d(_0x4a9f0e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe6def5()):_0x4a9f0e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a9f0e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a9f0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a9f0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35a8a6(){const _0x31b975=[_0x4a9f0e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a9f0e([0x74,0x72,0x69,0x61,0x6c])][_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14574b/0x3e8:0xe10*_0x586474;return _0x4c09fb[_0x4a9f0e([0x65,0x78,0x70])]<_0x31b975;}function _0x23dc06(){const _0x39645d=_0x4c09fb[_0x4a9f0e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39645d&&(!!_0x39645d[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9f0e([0x2a]))||!!_0x39645d[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9f0e([0x46,0x4f,0x4f])));}function _0x137a52(){const _0x4bca65=_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bca65||0x0==_0x4bca65[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35064b}=new URL(window[_0x4a9f0e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bca65[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35064b))return!0x0;const _0x59baa9=_0x35064b[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e]));return _0x4bca65[_0x4a9f0e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181fe7=>_0x181fe7[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9f0e([0x2a])))[_0x4a9f0e([0x6d,0x61,0x70])](_0x31b953=>_0x31b953[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e])))[_0x4a9f0e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x265b69=>_0x265b69[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59baa9[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a9f0e([0x6d,0x61,0x70])](_0x26f650=>Array(_0x59baa9[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x26f650[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a9f0e([0x66,0x69,0x6c,0x6c])](_0x26f650[0x0]===_0x4a9f0e([0x2a])?_0x4a9f0e([0x2a]):'')[_0x4a9f0e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x26f650))[_0x4a9f0e([0x73,0x6f,0x6d,0x65])](_0x44c351=>_0x59baa9[_0x4a9f0e([0x65,0x76,0x65,0x72,0x79])]((_0x5b6f26,_0x5e6263)=>_0x44c351[_0x5e6263]===_0x5b6f26||_0x44c351[_0x5e6263]===_0x4a9f0e([0x2a])));}function _0xe6def5(){return _0x3219c1&&_0x5d5133?new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe9f441,_0x212ea4)=>{_0x3219c1[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0xe9f441,_0x212ea4),_0x5d5133[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0x2e1632=>{_0x2e1632!=_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64])&&_0xe9f441(_0x2e1632);},_0x212ea4);}):_0x3219c1||_0x5d5133||_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x283cf4(_0x636ea,_0x7ed2c9){return new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa5f10a=>{if(_0x56b91e())return _0xa5f10a(_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64]));_0x222baa(),_0xb1e478[_0x4a9f0e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a9f0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44f438=!0x1;const _0x1d2672=_0x45411d();function _0x2a7489(_0x2e7f1d){return!!_0x2e7f1d&&(typeof _0x2e7f1d===_0x4a9f0e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e7f1d===_0x4a9f0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e7f1d[_0x4a9f0e([0x74,0x68,0x65,0x6e])]===_0x4a9f0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e7f1d[_0x4a9f0e([0x63,0x61,0x74,0x63,0x68])]===_0x4a9f0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d8042(_0x41a700){_0xa75745(_0x41a700)[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0xad66ce=>{if(!_0xad66ce||_0xad66ce[_0x4a9f0e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a9f0e([0x6f,0x6b]))return _0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e9e48(_0x45d849(_0x1d2672+_0x7ed2c9))!=_0xad66ce[_0x4a9f0e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0x30813e=>(_0x498588(),_0x30813e),()=>{const _0x500813=_0x1e9a98();return null==_0x500813?(_0x498588(),_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64])):_0x4a9f0e(_0x14574b-_0x500813>(0x63ae0106^_0x27d8df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0xa5f10a)[_0x4a9f0e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa5f10a(_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf23e00=0x47946b86^_0x27d8df;function _0x498588(){const _0x2bcae2=_0x4a9f0e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9e48(_0x45d849(_0x636ea)),_0x43d88c=_0x52a019(_0x2e9e48(window[_0x4a9f0e([0x4d,0x61,0x74,0x68])][_0x4a9f0e([0x63,0x65,0x69,0x6c])](_0x14574b/_0xf23e00)));window[_0x4a9f0e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a9f0e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bcae2,_0x43d88c);}function _0x1e9a98(){const _0x54c69f=_0x4a9f0e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9e48(_0x45d849(_0x636ea)),_0x1b8af5=window[_0x4a9f0e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a9f0e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54c69f);return _0x1b8af5?window[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52a019(_0x1b8af5),0x10)*_0xf23e00:null;}function _0xa75745(_0x38faca){return new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ebfa6,_0x1fb89d)=>{_0x38faca[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0x4ebfa6,_0x1fb89d),window[_0x4a9f0e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fb89d,0x47a351c6^_0x27d8df);});}}_0xb1e478[_0x4a9f0e([0x6f,0x6e])](_0x4a9f0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x130307,_0x221ed6)=>{if(_0x221ed6[0x0]!=_0x636ea)return _0xa5f10a(_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x221ed6[0x1]={..._0x221ed6[0x1],[_0x4a9f0e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d2672};},{[_0x4a9f0e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a9f0e([0x68,0x69,0x67,0x68])}),_0xb1e478[_0x4a9f0e([0x6f,0x6e])](_0x4a9f0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3254ff=>{_0x2a7489(_0x3254ff[_0x4a9f0e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44f438=!0x0,_0x3d8042(_0x3254ff[_0x4a9f0e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a9f0e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a9f0e([0x6c,0x6f,0x77])}),_0x3a5e28[_0x4a9f0e([0x74,0x68,0x65,0x6e])](()=>{_0x44f438||_0xa5f10a(_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56b91e(){return _0xb1e478[_0x4a9f0e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a9f0e([0x76,0x69,0x65,0x77])][_0x4a9f0e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a9f0e([0x61,0x75,0x74,0x6f]);}function _0x222baa(){_0xb1e478[_0x4a9f0e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a9f0e([0x76,0x69,0x65,0x77])][_0x4a9f0e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a9f0e([0x61,0x75,0x74,0x6f]);}}function _0x41684d(_0x599eeb){const _0x7fb00e=[new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x73971c=>setTimeout(_0x73971c,0x47abbbca^_0x27d8df)),_0x3a5e28[_0x4a9f0e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a61c=>{let _0x49dfe6=0x0;_0xb1e478[_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a9f0e([0x6f,0x6e])](_0x4a9f0e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bb202,_0x32e244)=>{_0x32e244[0x0][_0x4a9f0e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49dfe6++,_0x49dfe6==(0x47a284fe^_0x27d8df)&&(_0x28a61c(),_0x2bb202[_0x4a9f0e([0x6f,0x66,0x66])]());});}))];return window[_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a9f0e([0x72,0x61,0x63,0x65])](_0x7fb00e)[_0x4a9f0e([0x74,0x68,0x65,0x6e])](()=>_0x599eeb);}async function _0x448a89(){await _0x3a5e28,_0xb1e478[_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a9f0e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18efd5,_0xb1e478[_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a9f0e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18efd5,_0xb1e478[_0x4a9f0e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b2ef1(_0x591f28){const _0x5c1d1d=_0x22d2d6();_0xb1e478[_0x5c1d1d]=_0x4a9f0e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x591f28,_0x591f28!=_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64])&&_0x448a89();}function _0x22d2d6(){const _0x3adf8f=window[_0x4a9f0e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a9f0e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a9f0e([0x6e,0x6f,0x77])]())[_0x4a9f0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a9f0e([0x2e]),'');let _0x2aef1a=_0x4a9f0e([0x75]);for(let _0x17f7e3=0x0;_0x17f7e3<_0x3adf8f[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17f7e3+=0x2){let _0x6b0eca=window[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3adf8f[_0x4a9f0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17f7e3,_0x17f7e3+0x2));_0x6b0eca>=_0x224c13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6b0eca-=_0x224c13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2aef1a+=_0x224c13[_0x6b0eca];}return _0x2aef1a;}function _0x1ff96(){const _0x4dbdd4=_0x40dc15[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e]));if(0x3!=_0x4dbdd4[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f048e(_0x4dbdd4[0x1]);function _0x4f048e(_0x563b9a){const _0xbd602a=_0x342794(_0x563b9a);return _0xbd602a&&_0x48c9f6()?_0xbd602a:null;function _0x48c9f6(){const _0x560e13=_0xbd602a[_0x4a9f0e([0x6a,0x74,0x69])],_0x3c0860=window[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x560e13[_0x4a9f0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x560e13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ea325={..._0xbd602a,[_0x4a9f0e([0x6a,0x74,0x69])]:_0x560e13[_0x4a9f0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x560e13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ea325[_0x4a9f0e([0x76,0x63])],_0x45d849(_0x1ea325)==_0x3c0860;}}}async function _0x3be67f(){let _0x23d842=!0x0;try{const _0x15b5da=_0x40dc15[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e])),[_0x120791,_0x2e77fb,_0x48190f]=_0x15b5da;return _0x1dc9e7(_0x120791),await _0x1f690e(_0x120791,_0x2e77fb,_0x48190f),_0x23d842;}catch{return!0x1;}function _0x1dc9e7(_0xdb7885){const _0x920be1=_0x342794(_0xdb7885);_0x920be1&&_0x920be1[_0x4a9f0e([0x61,0x6c,0x67])]==_0x4a9f0e([0x45,0x53,0x32,0x35,0x36])||(_0x23d842=!0x1);}async function _0x1f690e(_0xdb30e9,_0x1ec287,_0x2f04a0){const _0xb5b18d=window[_0x4a9f0e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a9f0e([0x66,0x72,0x6f,0x6d])](_0x522d23(_0x2f04a0),_0x618d41=>_0x618d41[_0x4a9f0e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45407a=new window[(_0x4a9f0e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a9f0e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xdb30e9+_0x4a9f0e([0x2e])+_0x1ec287),_0x5cd628=window[_0x4a9f0e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a9f0e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cd628)return;const _0x4e42c6=await _0x5cd628[_0x4a9f0e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a9f0e([0x6a,0x77,0x6b]),_0x174237,{[_0x4a9f0e([0x6e,0x61,0x6d,0x65])]:_0x4a9f0e([0x45,0x43,0x44,0x53,0x41]),[_0x4a9f0e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a9f0e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a9f0e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cd628[_0x4a9f0e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a9f0e([0x6e,0x61,0x6d,0x65])]:_0x4a9f0e([0x45,0x43,0x44,0x53,0x41]),[_0x4a9f0e([0x68,0x61,0x73,0x68])]:{[_0x4a9f0e([0x6e,0x61,0x6d,0x65])]:_0x4a9f0e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e42c6,_0xb5b18d,_0x45407a)||(_0x23d842=!0x1);}}function _0x342794(_0x1d10d4){return _0x1d10d4[_0x4a9f0e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a9f0e([0x65,0x79]))?JSON[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65])](_0x522d23(_0x1d10d4)):null;}function _0x522d23(_0x4b82fe){return window[_0x4a9f0e([0x61,0x74,0x6f,0x62])](_0x4b82fe[_0x4a9f0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a9f0e([0x2b]))[_0x4a9f0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a9f0e([0x2f])));}function _0x45d849(_0x10edee){let _0x2bc9da=0x1505;function _0x45666e(_0xa297e3){for(let _0x452e3b=0x0;_0x452e3b<_0xa297e3[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x452e3b++){const _0x1d5c2e=_0xa297e3[_0x4a9f0e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x452e3b);_0x2bc9da=(_0x2bc9da<<0x5)+_0x2bc9da+_0x1d5c2e,_0x2bc9da&=_0x2bc9da;}}function _0x4af3c5(_0x415d2d){Array[_0x4a9f0e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x415d2d)?_0x415d2d[_0x4a9f0e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4af3c5):_0x415d2d&&typeof _0x415d2d==_0x4a9f0e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a9f0e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x415d2d)[_0x4a9f0e([0x73,0x6f,0x72,0x74])]()[_0x4a9f0e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cb407,_0x298e16])=>{_0x45666e(_0x3cb407),_0x4af3c5(_0x298e16);}):_0x45666e(window[_0x4a9f0e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x415d2d));}return _0x4af3c5(_0x10edee),_0x2bc9da>>>0x0;}function _0x2e9e48(_0x44e26b){return _0x44e26b[_0x4a9f0e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a9f0e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a9f0e([0x30]));}function _0x52a019(_0x497594){return _0x497594[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a9f0e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a9f0e([0x6a,0x6f,0x69,0x6e])]('');}function _0x18efd5(){}function _0x4a9f0e(_0x5eda26){return _0x5eda26['map'](_0x9282b8=>String['fromCharCode'](_0x9282b8))['join']('');}_0x5b2ef1(await _0x1a5dd4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4f5f01){const {plugins:_0x1ac74e,editing:_0x263c36,model:_0x11c6af}=this['editor'],_0x26a5f0=_0x1ac74e['get'](_0x4b8867)['getFootnote'](_0x4f5f01);return!!_0x26a5f0&&(_0x11c6af['change'](_0x2e5635=>{_0x2e5635['setSelection'](_0x2e5635['createPositionAt'](_0x26a5f0['definition'],'end'));}),_0x263c36['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2c7cf0){const {plugins:_0xb65733,editing:_0x5d5704,model:_0x402ea4}=this['editor'],_0x4c530f=_0xb65733['get'](_0x4b8867)['getFootnote'](_0x2c7cf0);return!!_0x4c530f&&(_0x402ea4['change'](_0x1e3154=>{_0x1e3154['setSelection'](_0x4c530f['reference'],'on');}),_0x5d5704['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x38572a}=this['editor']['model'],_0x22b250=this['editor']['config']['get']('footnotes.multiBlock');_0x38572a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x38572a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x38572a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x22b250?_0x38572a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x38572a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x38572a['addChildCheck'](_0x4abdf9=>{for(const _0x15d22f of _0x4abdf9)if('footnoteDefinition'===_0x15d22f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5730d4}=this,{conversion:_0x444aa2,editing:_0x16882c}=_0x5730d4,{t:t}=_0x5730d4['locale'];_0x444aa2['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5358b6,{writer:_0xc19a71,consumable:_0xeac8fa})=>{const _0x39f34c=_0x5358b6['getChild'](0x0);if(!_0x39f34c||!_0x39f34c['is']('element','a'))return null;const _0x448922=_0x39f34c['getAttribute']('href')||'';if(!_0x448922['startsWith']('#'))return null;const _0x4c09e1=_0x448922['replace'](/^#/,'');if(!_0x4c09e1)return null;_0xeac8fa['consume'](_0x39f34c,{'name':!0x0,'attributes':['href']});for(const {item:_0x5b9bd4}of _0x16882c['view']['createRangeIn'](_0x39f34c))_0x5b9bd4['is']('$textProxy')?_0xeac8fa['consume'](_0x5b9bd4['textNode'],{'name':!0x0}):_0x5b9bd4['is']('element')&&_0xeac8fa['consume'](_0x5b9bd4,{'name':!0x0});return _0xc19a71['createElement']('footnoteRef',{'footnoteId':_0x4c09e1});}}),_0x444aa2['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b8308,{writer:_0x2bc789})=>D(_0x4b8308,_0x2bc789)}),_0x444aa2['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xab92b6,{writer:_0x4b1bb1})=>{const _0x38b85f=_0xab92b6['getAttribute']('footnoteCounter');return _0x28b21f(D(_0xab92b6,_0x4b1bb1),_0x4b1bb1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x38b85f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5e8e2a}=this,{t:t}=_0x5e8e2a['locale'],{conversion:_0x42e914}=_0x5e8e2a;_0x42e914['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x42e914['for']('upcast')['add'](_0x3b7896=>{_0x3b7896['on']('element:ol',(_0x2613c7,_0x3ea5e0,_0x2916be)=>{const _0x5cf481=_0x3ea5e0['viewItem'];if(!_0x5cf481['hasClass']('footnotes-list')||!_0x3ea5e0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2916be['consumable']['consume'](_0x5cf481,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2fb226,modelCursor:_0x3819cf}=_0x2916be['convertChildren'](_0x3ea5e0['viewItem'],_0x3ea5e0['modelCursor']);_0x3ea5e0['modelRange']=_0x2fb226,_0x3ea5e0['modelCursor']=_0x3819cf;}),_0x3b7896['on']('element:hr',(_0x58b9de,_0x80793c,_0x5ea8bc)=>{const _0x435ce2=_0x80793c['viewItem'];_0x435ce2['hasClass']('footnotes-divider')&&_0x80793c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5ea8bc['consumable']['consume'](_0x435ce2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x42e914['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x225c62,{writer:_0x7dafde})=>v(_0x7dafde)}),_0x42e914['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xc0360b,{writer:_0xbef338})=>{const _0x360ee8=v(_0xbef338,{'data-footnotes-list-label':t('Footnotes')}),_0x5b4693=_0x28b21f(_0x360ee8,_0xbef338,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xbef338['setCustomProperty']('footnotesDefinitions',!0x0,_0x5b4693),_0x5b4693;}});}['_defineDefinitionConverters'](){const {editor:_0xa179eb}=this,{conversion:_0x254818,locale:_0x6ca729}=_0xa179eb,_0x1baa6c=_0xa179eb['config']['get']('footnotes.multiBlock');_0x254818['for']('upcast')['add'](_0x5b8904=>{_0x5b8904['on']('element:li',(_0x475217,_0x17cbff,_0x58a085)=>{const _0x3413ec=_0x17cbff['viewItem'];if(!_0x3413ec['hasClass']('footnote-definition')||!_0x3413ec['getAttribute']('id'))return;const _0x5ae6c9=_0x3413ec['parent'];if(!_0x5ae6c9['is']('element','ol')||!_0x5ae6c9['hasClass']('footnotes-list'))return;if(!_0x58a085['consumable']['test'](_0x3413ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xc1530e=_0x58a085['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3413ec['getAttribute']('id')});if(!_0x58a085['safeInsert'](_0xc1530e,_0x17cbff['modelCursor']))return;_0x58a085['consumable']['consume'](_0x3413ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4cd54a=Array['from'](_0x3413ec['getChildren']())['find'](_0x586bb1=>_0x586bb1['is']('element')&&_0x586bb1['hasClass']('footnote-content'));for(const _0x34f4d2 of _0x3413ec['getChildren']())_0x34f4d2['is']('element')&&(_0x58a085['consumable']['consume'](_0x34f4d2,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x58a085['consumable']['consume'](_0x34f4d2,{'name':!0x0,'classes':'footnote-content'}));if(_0x4cd54a){if(_0x1baa6c)_0x58a085['convertChildren'](_0x4cd54a,_0xc1530e);else{const _0x3c6d81=_0x58a085['writer']['createElement']('footnoteInlineContent');_0x58a085['writer']['insert'](_0x3c6d81,_0xc1530e),_0x58a085['convertChildren'](_0x4cd54a,_0x3c6d81);}}_0x58a085['updateConversionResult'](_0xc1530e,_0x17cbff);});}),_0x254818['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x19de47,{writer:_0x3c0e03})=>b(_0x19de47,_0x3c0e03,_0x6ca729,{'dataPipeline':!0x0})}),_0x254818['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x179406,{writer:_0x29b4a6})=>b(_0x179406,_0x29b4a6,_0x6ca729)});}['_defineBogusParagraphConverters'](){const {editor:_0x374a91}=this,{conversion:_0x5c4037}=_0x374a91;_0x374a91['config']['get']('footnotes.multiBlock')?(_0x5c4037['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5c4037['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x374a91['model']['document'],'change:data',()=>{!function(_0x29ef02,_0x37937c){const _0xed8797=_0x29ef02['document']['differ'],_0x56926a=new Set();for(const _0x5c8a4b of _0xed8797['getChanges']()){const _0x1c6bc4='attribute'==_0x5c8a4b['type']?_0x5c8a4b['range']['start']['parent']:_0x5c8a4b['position']['parent'];_0x1c6bc4['is']('element','footnoteDefinition')&&_0x56926a['add'](_0x1c6bc4);}for(const _0x1fe4aa of _0x56926a['values']()){const _0x2ca48a=Array['from'](_0x1fe4aa['getChildren']())['filter'](_0x21d4e1=>g(_0x21d4e1,_0x37937c['mapper']));for(const _0x59a70e of _0x2ca48a)_0x37937c['reconvertItem'](_0x59a70e);}}(_0x374a91['model'],_0x374a91['editing']);})):(_0x5c4037['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5c4037['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1fc125,{writer:_0x43d1f4})=>{const _0x7d0a96=_0x43d1f4['createContainerElement']('span');return _0x43d1f4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x7d0a96),_0x7d0a96;}}));}['_defineKeyboardHandlers'](){const {editor:_0x45020f}=this,{editing:_0x59dc3e,t:t}=_0x45020f,_0x18ecdf=_0x45020f['model']['document']['selection'];_0x45020f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x45020f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x59dc3e['view']['document'],'enter',(_0x3b565f,_0x5d5d53)=>{const _0xb0237d=function(_0x15d13e){const _0x15b890=_0x15d13e['getSelectedElement']();if(_0x15b890?.['is']('element','footnoteRef'))return _0x15b890;return null;}(_0x18ecdf);if(_0xb0237d){const _0x2d0214=_0xb0237d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2d0214),_0x5d5d53['preventDefault'](),_0x3b565f['stop']();}},{'context':_0x523e8b});}['_defineClickHandlers'](){const {editor:_0x40842d}=this,{editing:_0x5dcabb}=_0x40842d;_0x40842d['editing']['view']['addObserver'](_0xa17bde),_0x40842d['editing']['view']['addObserver'](_0x129a59);let _0x540cff=!0x1;this['listenTo'](_0x5dcabb['view']['document'],'pointerdown',(_0x43a8c3,_0x5849e6)=>{const {target:_0x4e99ee}=_0x5849e6,_0x122293=_0x5dcabb['view']['document']['selection'];_0x540cff=!!(_0x4e99ee?.['is']('element','a')&&_0x4e99ee['parent']?.['is']('element','sup')&&_0x4e99ee['parent']['hasClass']('footnote'))&&_0x122293['getSelectedElement']()===_0x4e99ee['parent'];},{'priority':'high'}),this['listenTo'](_0x5dcabb['view']['document'],'click',(_0x5efd90,_0x25a098)=>{const {target:_0x55da11}=_0x25a098;if(!_0x55da11?.['is']('element','a'))return;if(_0x55da11['parent']?.['is']('element','sup')&&_0x55da11['parent']['hasClass']('footnote')&&!_0x540cff)return void _0x25a098['preventDefault']();let _0x36b33b=_0x55da11['getAttribute']('href');if(!_0x36b33b?.['startsWith']('#'))return;_0x36b33b=_0x36b33b['slice'](0x1);let _0x22c8fb=!0x1;(_0x36b33b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x36b33b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x36b33b))&&(_0x22c8fb=!0x0),_0x22c8fb&&(_0x25a098['preventDefault'](),_0x5efd90['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2d157b}={}){return(_0x561300,{writer:_0x1c1ed3})=>{if(!p(_0x561300))return null;if(!_0x2d157b)return _0x1c1ed3['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x124751=_0x1c1ed3['createContainerElement']('p');return _0x1c1ed3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x124751),_0x124751;};}function p(_0x4208a7){const {parent:_0x3b87af}=_0x4208a7;if(!_0x3b87af?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3b87af['childCount'])return!0x1;for(const _0x454a26 of _0x4208a7['getAttributeKeys']())if(!_0x454a26['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x454a26)return!0x1;return!0x0;}function g(_0x54d68f,_0x54d435){if(!_0x54d68f['is']('element','paragraph'))return!0x1;const _0x151920=_0x54d435['toViewElement'](_0x54d68f);return!!_0x151920&&p(_0x54d68f)!==_0x151920['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x34624c){return _0x523e8b(_0x34624c)&&_0x34624c['is']('containerElement')&&!!_0x34624c['getCustomProperty']('footnotesDefinitions');}function v(_0x5ab360,_0x544fad={}){const _0x2ef905=_0x5ab360['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5ea025=_0x5ab360['createContainerElement']('ol',{'class':'footnotes-list'},_0x5ab360['createSlot']());return _0x5ab360['createContainerElement']('div',{'class':'footnotes',..._0x544fad},[_0x2ef905,_0x5ea025]);}function D(_0x5f4515,_0x5df46b){const _0x295f20=_0x5f4515['getAttribute']('footnoteId'),_0x3f72de=_0x5f4515['getAttribute']('footnoteCounter'),_0x100da6=_0x5df46b['createUIElement']('a',{'href':'#'+_0x295f20},function(_0x1f913a){const _0x5e92f3=this['toDomElement'](_0x1f913a);return _0x5e92f3['textContent']=_0x3f72de,_0x5e92f3;}),_0x5c32e0=_0x5df46b['createContainerElement']('sup',{'id':'ref-'+_0x295f20,'class':'footnote'},[_0x100da6]);return _0x5c32e0['getFillerOffset']=()=>null,_0x5c32e0;}function b(_0xddca49,_0xc8f015,_0x2c7057,{dataPipeline:_0x348a1a}={}){const {t:t}=_0x2c7057,_0x2b24dd=_0xddca49['getAttribute']('footnoteId'),_0xac53f8=_0xc8f015['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2b24dd},function(_0xf850e3){const _0x4bfdfe=this['toDomElement'](_0xf850e3);return _0x4bfdfe['innerText']='^',_0x4bfdfe;}),_0x13f2d5=_0x348a1a?_0xc8f015['createContainerElement']('div',{'class':'footnote-content'}):_0x4743d1(_0xc8f015['createEditableElement']('div',{'class':'footnote-content'}),_0xc8f015,{'label':t('Footnote\x20content.')});return _0xc8f015['insert'](_0xc8f015['createPositionAt'](_0x13f2d5,0x0),_0xc8f015['createSlot']()),_0xc8f015['createContainerElement']('li',{'class':'footnote-definition','id':_0x2b24dd},[_0xac53f8,_0x13f2d5]);}
23
+ import{Plugin as _0x212793}from'ckeditor5/src/core.js';import{isWidget as _0x174841,toWidget as _0x285831,toWidgetEditable as _0x28c73e}from'ckeditor5/src/widget.js';import{uid as _0x52a962}from'ckeditor5/src/utils.js';import{PointerObserver as _0x9de2c,ClickObserver as _0xb6410d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x59be59}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x124bb8}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x212793{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x59be59];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x458bc4}=this;_0x458bc4['config']['define']('footnotes.multiBlock',!0x0),_0x458bc4['commands']['add']('insertFootnote',new _0x124bb8(_0x458bc4)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3c6fc8){const _0x5ec538=_0x226755([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]),_0x301ddd=0x47a28506,_0x35c84b=0x47a5f2f6^_0x301ddd,_0xf4301c=window[_0x226755([0x44,0x61,0x74,0x65])][_0x226755([0x6e,0x6f,0x77])](),_0x346043=_0x3c6fc8[_0x226755([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x225bbb=new window[(_0x226755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5935b7=>{_0x346043[_0x226755([0x6f,0x6e,0x63,0x65])](_0x226755([0x72,0x65,0x61,0x64,0x79]),_0x5935b7);}),_0x1b5a1c={[_0x226755([0x6b,0x74,0x79])]:_0x226755([0x45,0x43]),[_0x226755([0x75,0x73,0x65])]:_0x226755([0x73,0x69,0x67]),[_0x226755([0x63,0x72,0x76])]:_0x226755([0x50,0x2d,0x32,0x35,0x36]),[_0x226755([0x78])]:_0x226755([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]),[_0x226755([0x79])]:_0x226755([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]),[_0x226755([0x61,0x6c,0x67])]:_0x226755([0x45,0x53,0x32,0x35,0x36])},_0x4e23e8=_0x346043[_0x226755([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x226755([0x67,0x65,0x74])](_0x226755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a4f87(){let _0x2573e4,_0x54b4cf=null,_0x38de7c=null;try{if(_0x4e23e8==_0x226755([0x47,0x50,0x4c]))return _0x226755([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2573e4=_0x22aa5f(),!_0x2573e4)return _0x226755([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2573e4[_0x226755([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38de7c=_0x4a69b9(_0x2573e4[_0x226755([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2573e4[_0x226755([0x6a,0x74,0x69])])),await _0x41f92e()?_0x593c39()?_0x4009d1()?_0x226755([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x595004()?(_0x2573e4[_0x226755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226755([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54b4cf=_0x1b38e2(_0x226755([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2573e4[_0x226755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226755([0x74,0x72,0x69,0x61,0x6c])&&(_0x54b4cf=_0x1b38e2(_0x226755([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3560fc()):_0x226755([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x226755([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x226755([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x226755([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4009d1(){const _0x549888=[_0x226755([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x226755([0x74,0x72,0x69,0x61,0x6c])][_0x226755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2573e4[_0x226755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf4301c/0x3e8:0xe10*_0x35c84b;return _0x2573e4[_0x226755([0x65,0x78,0x70])]<_0x549888;}function _0x593c39(){const _0x378dfc=_0x2573e4[_0x226755([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x378dfc&&(!!_0x378dfc[_0x226755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226755([0x2a]))||!!_0x378dfc[_0x226755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226755([0x46,0x4f,0x4f])));}function _0x595004(){const _0x5793c4=_0x2573e4[_0x226755([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5793c4||0x0==_0x5793c4[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c04bc}=new URL(window[_0x226755([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5793c4[_0x226755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c04bc))return!0x0;const _0x425e76=_0x2c04bc[_0x226755([0x73,0x70,0x6c,0x69,0x74])](_0x226755([0x2e]));return _0x5793c4[_0x226755([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22a0bb=>_0x22a0bb[_0x226755([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226755([0x2a])))[_0x226755([0x6d,0x61,0x70])](_0x5cc595=>_0x5cc595[_0x226755([0x73,0x70,0x6c,0x69,0x74])](_0x226755([0x2e])))[_0x226755([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc567=>_0x4bc567[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x425e76[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226755([0x6d,0x61,0x70])](_0x3f7137=>Array(_0x425e76[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3f7137[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226755([0x66,0x69,0x6c,0x6c])](_0x3f7137[0x0]===_0x226755([0x2a])?_0x226755([0x2a]):'')[_0x226755([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3f7137))[_0x226755([0x73,0x6f,0x6d,0x65])](_0x4d3e7f=>_0x425e76[_0x226755([0x65,0x76,0x65,0x72,0x79])]((_0x43e3a8,_0x148167)=>_0x4d3e7f[_0x148167]===_0x43e3a8||_0x4d3e7f[_0x148167]===_0x226755([0x2a])));}function _0x3560fc(){return _0x54b4cf&&_0x38de7c?new window[(_0x226755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42784d,_0x4f186b)=>{_0x54b4cf[_0x226755([0x74,0x68,0x65,0x6e])](_0x42784d,_0x4f186b),_0x38de7c[_0x226755([0x74,0x68,0x65,0x6e])](_0x255223=>{_0x255223!=_0x226755([0x56,0x61,0x6c,0x69,0x64])&&_0x42784d(_0x255223);},_0x4f186b);}):_0x54b4cf||_0x38de7c||_0x226755([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4a69b9(_0xf4020d,_0xb47975){return new window[(_0x226755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf72099=>{if(_0x20dec6())return _0xf72099(_0x226755([0x56,0x61,0x6c,0x69,0x64]));_0x7fc7ea(),_0x346043[_0x226755([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x226755([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x209b4c=!0x1;const _0x10390a=_0x52a962();function _0x1a37c4(_0x287a76){return!!_0x287a76&&(typeof _0x287a76===_0x226755([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x287a76===_0x226755([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x287a76[_0x226755([0x74,0x68,0x65,0x6e])]===_0x226755([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x287a76[_0x226755([0x63,0x61,0x74,0x63,0x68])]===_0x226755([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18a404(_0x315f1b){_0x3349e2(_0x315f1b)[_0x226755([0x74,0x68,0x65,0x6e])](_0x4e0b53=>{if(!_0x4e0b53||_0x4e0b53[_0x226755([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x226755([0x6f,0x6b]))return _0x226755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2173cb(_0x85b3db(_0x10390a+_0xb47975))!=_0x4e0b53[_0x226755([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x226755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x226755([0x56,0x61,0x6c,0x69,0x64]);})[_0x226755([0x74,0x68,0x65,0x6e])](_0x42bf0d=>(_0x20c45c(),_0x42bf0d),()=>{const _0x141d49=_0x3e7c6e();return null==_0x141d49?(_0x20c45c(),_0x226755([0x56,0x61,0x6c,0x69,0x64])):_0x226755(_0xf4301c-_0x141d49>(0x63ae0106^_0x301ddd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x226755([0x74,0x68,0x65,0x6e])](_0xf72099)[_0x226755([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf72099(_0x226755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35088d=0x47946b86^_0x301ddd;function _0x20c45c(){const _0x33633a=_0x226755([0x6c,0x6c,0x63,0x74,0x2d])+_0x2173cb(_0x85b3db(_0xf4020d)),_0x468d83=_0x3476db(_0x2173cb(window[_0x226755([0x4d,0x61,0x74,0x68])][_0x226755([0x63,0x65,0x69,0x6c])](_0xf4301c/_0x35088d)));window[_0x226755([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226755([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33633a,_0x468d83);}function _0x3e7c6e(){const _0x29e24f=_0x226755([0x6c,0x6c,0x63,0x74,0x2d])+_0x2173cb(_0x85b3db(_0xf4020d)),_0xbe1be5=window[_0x226755([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226755([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x29e24f);return _0xbe1be5?window[_0x226755([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3476db(_0xbe1be5),0x10)*_0x35088d:null;}function _0x3349e2(_0x3c3463){return new window[(_0x226755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29a2ad,_0x3251fc)=>{_0x3c3463[_0x226755([0x74,0x68,0x65,0x6e])](_0x29a2ad,_0x3251fc),window[_0x226755([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3251fc,0x47a351c6^_0x301ddd);});}}_0x346043[_0x226755([0x6f,0x6e])](_0x226755([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b11f2,_0x3c11ca)=>{if(_0x3c11ca[0x0]!=_0xf4020d)return _0xf72099(_0x226755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c11ca[0x1]={..._0x3c11ca[0x1],[_0x226755([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x10390a};},{[_0x226755([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226755([0x68,0x69,0x67,0x68])}),_0x346043[_0x226755([0x6f,0x6e])](_0x226755([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40c345=>{_0x1a37c4(_0x40c345[_0x226755([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x209b4c=!0x0,_0x18a404(_0x40c345[_0x226755([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x226755([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226755([0x6c,0x6f,0x77])}),_0x225bbb[_0x226755([0x74,0x68,0x65,0x6e])](()=>{_0x209b4c||_0xf72099(_0x226755([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20dec6(){return _0x346043[_0x226755([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226755([0x76,0x69,0x65,0x77])][_0x226755([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x226755([0x61,0x75,0x74,0x6f]);}function _0x7fc7ea(){_0x346043[_0x226755([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226755([0x76,0x69,0x65,0x77])][_0x226755([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x226755([0x61,0x75,0x74,0x6f]);}}function _0x1b38e2(_0x354227){const _0x3cf85d=[new window[(_0x226755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a33ad=>setTimeout(_0x3a33ad,0x47abbbca^_0x301ddd)),_0x225bbb[_0x226755([0x74,0x68,0x65,0x6e])](()=>new window[(_0x226755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x561b9f=>{let _0x2681c0=0x0;_0x346043[_0x226755([0x6d,0x6f,0x64,0x65,0x6c])][_0x226755([0x6f,0x6e])](_0x226755([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c5a7c,_0x456ad4)=>{_0x456ad4[0x0][_0x226755([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2681c0++,_0x2681c0==(0x47a284fe^_0x301ddd)&&(_0x561b9f(),_0x4c5a7c[_0x226755([0x6f,0x66,0x66])]());});}))];return window[_0x226755([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x226755([0x72,0x61,0x63,0x65])](_0x3cf85d)[_0x226755([0x74,0x68,0x65,0x6e])](()=>_0x354227);}async function _0x11536a(){await _0x225bbb,_0x346043[_0x226755([0x6d,0x6f,0x64,0x65,0x6c])][_0x226755([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5d79a8,_0x346043[_0x226755([0x6d,0x6f,0x64,0x65,0x6c])][_0x226755([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5d79a8,_0x346043[_0x226755([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x226755([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x497d47(_0x33279c){const _0x228e21=_0x345e22();_0x346043[_0x228e21]=_0x226755([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x33279c,_0x33279c!=_0x226755([0x56,0x61,0x6c,0x69,0x64])&&_0x11536a();}function _0x345e22(){const _0x5e412b=window[_0x226755([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x226755([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x226755([0x6e,0x6f,0x77])]())[_0x226755([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x226755([0x2e]),'');let _0x58ec56=_0x226755([0x75]);for(let _0x2503ba=0x0;_0x2503ba<_0x5e412b[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2503ba+=0x2){let _0x569ba2=window[_0x226755([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e412b[_0x226755([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2503ba,_0x2503ba+0x2));_0x569ba2>=_0x5ec538[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x569ba2-=_0x5ec538[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58ec56+=_0x5ec538[_0x569ba2];}return _0x58ec56;}function _0x22aa5f(){const _0x40fb9d=_0x4e23e8[_0x226755([0x73,0x70,0x6c,0x69,0x74])](_0x226755([0x2e]));if(0x3!=_0x40fb9d[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x117b9c(_0x40fb9d[0x1]);function _0x117b9c(_0x598fdd){const _0x49b3ee=_0x4dd60e(_0x598fdd);return _0x49b3ee&&_0x25e9a9()?_0x49b3ee:null;function _0x25e9a9(){const _0x2c2e1e=_0x49b3ee[_0x226755([0x6a,0x74,0x69])],_0xdc68c1=window[_0x226755([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c2e1e[_0x226755([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c2e1e[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x820af={..._0x49b3ee,[_0x226755([0x6a,0x74,0x69])]:_0x2c2e1e[_0x226755([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2c2e1e[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x820af[_0x226755([0x76,0x63])],_0x85b3db(_0x820af)==_0xdc68c1;}}}async function _0x41f92e(){let _0x5bfef1=!0x0;try{const _0x2c2909=_0x4e23e8[_0x226755([0x73,0x70,0x6c,0x69,0x74])](_0x226755([0x2e])),[_0x3286f5,_0x164056,_0x3bf75d]=_0x2c2909;return _0xa7a26d(_0x3286f5),await _0xf9783b(_0x3286f5,_0x164056,_0x3bf75d),_0x5bfef1;}catch{return!0x1;}function _0xa7a26d(_0x29a480){const _0x2f1a24=_0x4dd60e(_0x29a480);_0x2f1a24&&_0x2f1a24[_0x226755([0x61,0x6c,0x67])]==_0x226755([0x45,0x53,0x32,0x35,0x36])||(_0x5bfef1=!0x1);}async function _0xf9783b(_0x2eef23,_0x5bd491,_0x24a619){const _0x5c482e=window[_0x226755([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x226755([0x66,0x72,0x6f,0x6d])](_0x4bc086(_0x24a619),_0x4b3e95=>_0x4b3e95[_0x226755([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4ac43a=new window[(_0x226755([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x226755([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2eef23+_0x226755([0x2e])+_0x5bd491),_0x48308c=window[_0x226755([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x226755([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48308c)return;const _0xe293a9=await _0x48308c[_0x226755([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x226755([0x6a,0x77,0x6b]),_0x1b5a1c,{[_0x226755([0x6e,0x61,0x6d,0x65])]:_0x226755([0x45,0x43,0x44,0x53,0x41]),[_0x226755([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x226755([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x226755([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48308c[_0x226755([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x226755([0x6e,0x61,0x6d,0x65])]:_0x226755([0x45,0x43,0x44,0x53,0x41]),[_0x226755([0x68,0x61,0x73,0x68])]:{[_0x226755([0x6e,0x61,0x6d,0x65])]:_0x226755([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe293a9,_0x5c482e,_0x4ac43a)||(_0x5bfef1=!0x1);}}function _0x4dd60e(_0x401d28){return _0x401d28[_0x226755([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x226755([0x65,0x79]))?JSON[_0x226755([0x70,0x61,0x72,0x73,0x65])](_0x4bc086(_0x401d28)):null;}function _0x4bc086(_0x3e8b8c){return window[_0x226755([0x61,0x74,0x6f,0x62])](_0x3e8b8c[_0x226755([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x226755([0x2b]))[_0x226755([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x226755([0x2f])));}function _0x85b3db(_0x5e376e){let _0xa64cf1=0x1505;function _0x188492(_0x1dc756){for(let _0x4e1914=0x0;_0x4e1914<_0x1dc756[_0x226755([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e1914++){const _0x332374=_0x1dc756[_0x226755([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e1914);_0xa64cf1=(_0xa64cf1<<0x5)+_0xa64cf1+_0x332374,_0xa64cf1&=_0xa64cf1;}}function _0x249d11(_0x5a1bb2){Array[_0x226755([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a1bb2)?_0x5a1bb2[_0x226755([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x249d11):_0x5a1bb2&&typeof _0x5a1bb2==_0x226755([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x226755([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a1bb2)[_0x226755([0x73,0x6f,0x72,0x74])]()[_0x226755([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x6f34df,_0x190783])=>{_0x188492(_0x6f34df),_0x249d11(_0x190783);}):_0x188492(window[_0x226755([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a1bb2));}return _0x249d11(_0x5e376e),_0xa64cf1>>>0x0;}function _0x2173cb(_0x17462c){return _0x17462c[_0x226755([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x226755([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x226755([0x30]));}function _0x3476db(_0x10a049){return _0x10a049[_0x226755([0x73,0x70,0x6c,0x69,0x74])]('')[_0x226755([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x226755([0x6a,0x6f,0x69,0x6e])]('');}function _0x5d79a8(){}function _0x226755(_0x56bdb7){return _0x56bdb7['map'](_0x3eb29a=>String['fromCharCode'](_0x3eb29a))['join']('');}_0x497d47(await _0x2a4f87());}(this);}['_moveSelectionToFootnoteDefinition'](_0x37c03d){const {plugins:_0x54cf7d,editing:_0x57b50f,model:_0x47952f}=this['editor'],_0x281c52=_0x54cf7d['get'](_0x59be59)['getFootnote'](_0x37c03d);return!!_0x281c52&&(_0x47952f['change'](_0x243524=>{_0x243524['setSelection'](_0x243524['createPositionAt'](_0x281c52['definition'],'end'));}),_0x57b50f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2ca1f9){const {plugins:_0x42d3db,editing:_0x18e822,model:_0x112731}=this['editor'],_0x29b67f=_0x42d3db['get'](_0x59be59)['getFootnote'](_0x2ca1f9);return!!_0x29b67f&&(_0x112731['change'](_0x21eb9a=>{_0x21eb9a['setSelection'](_0x29b67f['reference'],'on');}),_0x18e822['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3ce536}=this['editor']['model'],_0x1c6c58=this['editor']['config']['get']('footnotes.multiBlock');_0x3ce536['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3ce536['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3ce536['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1c6c58?_0x3ce536['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3ce536['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3ce536['addChildCheck'](_0x50db6e=>{for(const _0x532d9e of _0x50db6e)if('footnoteDefinition'===_0x532d9e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3aeb89}=this,{conversion:_0x477b3b,editing:_0xa67fde}=_0x3aeb89,{t:t}=_0x3aeb89['locale'];_0x477b3b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x15cfd6,{writer:_0x39dc65,consumable:_0x1066d6})=>{const _0xca07f1=_0x15cfd6['getChild'](0x0);if(!_0xca07f1||!_0xca07f1['is']('element','a'))return null;const _0x23a3a7=_0xca07f1['getAttribute']('href')||'';if(!_0x23a3a7['startsWith']('#'))return null;const _0x1a2935=_0x23a3a7['replace'](/^#/,'');if(!_0x1a2935)return null;_0x1066d6['consume'](_0xca07f1,{'name':!0x0,'attributes':['href']});for(const {item:_0xc91c64}of _0xa67fde['view']['createRangeIn'](_0xca07f1))_0xc91c64['is']('$textProxy')?_0x1066d6['consume'](_0xc91c64['textNode'],{'name':!0x0}):_0xc91c64['is']('element')&&_0x1066d6['consume'](_0xc91c64,{'name':!0x0});return _0x39dc65['createElement']('footnoteRef',{'footnoteId':_0x1a2935});}}),_0x477b3b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x30e801,{writer:_0x6fe1a6})=>D(_0x30e801,_0x6fe1a6)}),_0x477b3b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x40ca2d,{writer:_0x366d86})=>{const _0x1e5d28=_0x40ca2d['getAttribute']('footnoteCounter');return _0x285831(D(_0x40ca2d,_0x366d86),_0x366d86,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1e5d28)});}});}['_defineDefinitionsConverters'](){const {editor:_0x53deb3}=this,{t:t}=_0x53deb3['locale'],{conversion:_0x541971}=_0x53deb3;_0x541971['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x541971['for']('upcast')['add'](_0xc79255=>{_0xc79255['on']('element:ol',(_0x4b55b8,_0x23b1a4,_0x35f59b)=>{const _0x447fc0=_0x23b1a4['viewItem'];if(!_0x447fc0['hasClass']('footnotes-list')||!_0x23b1a4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x35f59b['consumable']['consume'](_0x447fc0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x580124,modelCursor:_0x865b43}=_0x35f59b['convertChildren'](_0x23b1a4['viewItem'],_0x23b1a4['modelCursor']);_0x23b1a4['modelRange']=_0x580124,_0x23b1a4['modelCursor']=_0x865b43;}),_0xc79255['on']('element:hr',(_0x53c497,_0x324d34,_0x288169)=>{const _0x239051=_0x324d34['viewItem'];_0x239051['hasClass']('footnotes-divider')&&_0x324d34['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x288169['consumable']['consume'](_0x239051,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x541971['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x10e949,{writer:_0x526760})=>v(_0x526760)}),_0x541971['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x51a149,{writer:_0x5781e9})=>{const _0x4dac4b=v(_0x5781e9,{'data-footnotes-list-label':t('Footnotes')}),_0x6e7999=_0x285831(_0x4dac4b,_0x5781e9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5781e9['setCustomProperty']('footnotesDefinitions',!0x0,_0x6e7999),_0x6e7999;}});}['_defineDefinitionConverters'](){const {editor:_0x261df1}=this,{conversion:_0x239c66,locale:_0x3fd523}=_0x261df1,_0x1b797d=_0x261df1['config']['get']('footnotes.multiBlock');_0x239c66['for']('upcast')['add'](_0x49239d=>{_0x49239d['on']('element:li',(_0x577402,_0x440e52,_0x26d707)=>{const _0x36102a=_0x440e52['viewItem'];if(!_0x36102a['hasClass']('footnote-definition')||!_0x36102a['getAttribute']('id'))return;const _0x321c3d=_0x36102a['parent'];if(!_0x321c3d['is']('element','ol')||!_0x321c3d['hasClass']('footnotes-list'))return;if(!_0x26d707['consumable']['test'](_0x36102a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3e1c83=_0x26d707['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x36102a['getAttribute']('id')});if(!_0x26d707['safeInsert'](_0x3e1c83,_0x440e52['modelCursor']))return;_0x26d707['consumable']['consume'](_0x36102a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5ec3ed=Array['from'](_0x36102a['getChildren']())['find'](_0x12331b=>_0x12331b['is']('element')&&_0x12331b['hasClass']('footnote-content'));for(const _0x164a72 of _0x36102a['getChildren']())_0x164a72['is']('element')&&(_0x26d707['consumable']['consume'](_0x164a72,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x26d707['consumable']['consume'](_0x164a72,{'name':!0x0,'classes':'footnote-content'}));if(_0x5ec3ed){if(_0x1b797d)_0x26d707['convertChildren'](_0x5ec3ed,_0x3e1c83);else{const _0x152183=_0x26d707['writer']['createElement']('footnoteInlineContent');_0x26d707['writer']['insert'](_0x152183,_0x3e1c83),_0x26d707['convertChildren'](_0x5ec3ed,_0x152183);}}_0x26d707['updateConversionResult'](_0x3e1c83,_0x440e52);});}),_0x239c66['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x147e53,{writer:_0x2ee1ce})=>b(_0x147e53,_0x2ee1ce,_0x3fd523,{'dataPipeline':!0x0})}),_0x239c66['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5934c3,{writer:_0x38dc83})=>b(_0x5934c3,_0x38dc83,_0x3fd523)});}['_defineBogusParagraphConverters'](){const {editor:_0x31e150}=this,{conversion:_0x50762f}=_0x31e150;_0x31e150['config']['get']('footnotes.multiBlock')?(_0x50762f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x50762f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x31e150['model']['document'],'change:data',()=>{!function(_0x173d8f,_0x248823){const _0x2eeba8=_0x173d8f['document']['differ'],_0x15a524=new Set();for(const _0x46daec of _0x2eeba8['getChanges']()){const _0x177954='attribute'==_0x46daec['type']?_0x46daec['range']['start']['parent']:_0x46daec['position']['parent'];_0x177954['is']('element','footnoteDefinition')&&_0x15a524['add'](_0x177954);}for(const _0x273ee6 of _0x15a524['values']()){const _0x370eaf=Array['from'](_0x273ee6['getChildren']())['filter'](_0x5479d4=>g(_0x5479d4,_0x248823['mapper']));for(const _0x1d9b59 of _0x370eaf)_0x248823['reconvertItem'](_0x1d9b59);}}(_0x31e150['model'],_0x31e150['editing']);})):(_0x50762f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x50762f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1983b4,{writer:_0xc80382})=>{const _0x386ad6=_0xc80382['createContainerElement']('span');return _0xc80382['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x386ad6),_0x386ad6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x542ee8}=this,{editing:_0x9ca2d8,t:t}=_0x542ee8,_0x147c05=_0x542ee8['model']['document']['selection'];_0x542ee8['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x542ee8['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x9ca2d8['view']['document'],'enter',(_0x1894ab,_0x2e8308)=>{const _0x254e39=function(_0x1296fc){const _0x48499f=_0x1296fc['getSelectedElement']();if(_0x48499f?.['is']('element','footnoteRef'))return _0x48499f;return null;}(_0x147c05);if(_0x254e39){const _0x356e6a=_0x254e39['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x356e6a),_0x2e8308['preventDefault'](),_0x1894ab['stop']();}},{'context':_0x174841});}['_defineClickHandlers'](){const {editor:_0x3e58eb}=this,{editing:_0x83387d}=_0x3e58eb;_0x3e58eb['editing']['view']['addObserver'](_0x9de2c),_0x3e58eb['editing']['view']['addObserver'](_0xb6410d);let _0x5e8573=!0x1;this['listenTo'](_0x83387d['view']['document'],'pointerdown',(_0x334b2f,_0x4f3898)=>{const {target:_0x1e7597}=_0x4f3898,_0x568e4d=_0x83387d['view']['document']['selection'];_0x5e8573=!!(_0x1e7597?.['is']('element','a')&&_0x1e7597['parent']?.['is']('element','sup')&&_0x1e7597['parent']['hasClass']('footnote'))&&_0x568e4d['getSelectedElement']()===_0x1e7597['parent'];},{'priority':'high'}),this['listenTo'](_0x83387d['view']['document'],'click',(_0x482811,_0x52d541)=>{const {target:_0xd2e97}=_0x52d541;if(!_0xd2e97?.['is']('element','a'))return;if(_0xd2e97['parent']?.['is']('element','sup')&&_0xd2e97['parent']['hasClass']('footnote')&&!_0x5e8573)return void _0x52d541['preventDefault']();let _0x27110e=_0xd2e97['getAttribute']('href');if(!_0x27110e?.['startsWith']('#'))return;_0x27110e=_0x27110e['slice'](0x1);let _0x4d9358=!0x1;(_0x27110e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x27110e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x27110e))&&(_0x4d9358=!0x0),_0x4d9358&&(_0x52d541['preventDefault'](),_0x482811['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x450d49}={}){return(_0x182294,{writer:_0x84c8f3})=>{if(!p(_0x182294))return null;if(!_0x450d49)return _0x84c8f3['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x21b496=_0x84c8f3['createContainerElement']('p');return _0x84c8f3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x21b496),_0x21b496;};}function p(_0x17f163){const {parent:_0x219572}=_0x17f163;if(!_0x219572?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x219572['childCount'])return!0x1;for(const _0x118186 of _0x17f163['getAttributeKeys']())if(!_0x118186['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x118186)return!0x1;return!0x0;}function g(_0x3f559f,_0x4dfc06){if(!_0x3f559f['is']('element','paragraph'))return!0x1;const _0x226f1f=_0x4dfc06['toViewElement'](_0x3f559f);return!!_0x226f1f&&p(_0x3f559f)!==_0x226f1f['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5d4093){return _0x174841(_0x5d4093)&&_0x5d4093['is']('containerElement')&&!!_0x5d4093['getCustomProperty']('footnotesDefinitions');}function v(_0x45d931,_0x2b2a26={}){const _0x3f62ff=_0x45d931['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x51cf97=_0x45d931['createContainerElement']('ol',{'class':'footnotes-list'},_0x45d931['createSlot']());return _0x45d931['createContainerElement']('div',{'class':'footnotes',..._0x2b2a26},[_0x3f62ff,_0x51cf97]);}function D(_0x2926c8,_0x2f853c){const _0x417ae6=_0x2926c8['getAttribute']('footnoteId'),_0x1d2b02=_0x2926c8['getAttribute']('footnoteCounter'),_0x1ac7f7=_0x2f853c['createUIElement']('a',{'href':'#'+_0x417ae6},function(_0x18c1b5){const _0x5e6488=this['toDomElement'](_0x18c1b5);return _0x5e6488['textContent']=_0x1d2b02,_0x5e6488;}),_0x55e9b5=_0x2f853c['createContainerElement']('sup',{'id':'ref-'+_0x417ae6,'class':'footnote'},[_0x1ac7f7]);return _0x55e9b5['getFillerOffset']=()=>null,_0x55e9b5;}function b(_0x3aa48a,_0x15d925,_0x59ecbd,{dataPipeline:_0x4152f4}={}){const {t:t}=_0x59ecbd,_0x5ca40f=_0x3aa48a['getAttribute']('footnoteId'),_0x63866b=_0x15d925['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5ca40f},function(_0xf288c6){const _0x95f817=this['toDomElement'](_0xf288c6);return _0x95f817['innerText']='^',_0x95f817;}),_0x2be7ed=_0x4152f4?_0x15d925['createContainerElement']('div',{'class':'footnote-content'}):_0x28c73e(_0x15d925['createEditableElement']('div',{'class':'footnote-content'}),_0x15d925,{'label':t('Footnote\x20content.')});return _0x15d925['insert'](_0x15d925['createPositionAt'](_0x2be7ed,0x0),_0x15d925['createSlot']()),_0x15d925['createContainerElement']('li',{'class':'footnote-definition','id':_0x5ca40f},[_0x63866b,_0x2be7ed]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5940(){const _0x376484=['get','footnotesListStart','getFootnotesDefinitionsObjectElement','plugins','20588WLDAWM','591FFODQH','1089022cRqxax','model','isEnabled','30Vgqrbi','isInteger','5966iDMZSR','_updateFootnotesCounters','5747064unCgiw','600ootupV','setAttribute','73661HlLNPC','511ftrHsd','execute','1065705pmNrXe','15814557GYWLfE','6pKyOVa','value','refresh','getAttribute','change'];_0x5940=function(){return _0x376484;};return _0x5940();}const _0xd28f65=_0x1058;(function(_0x3a581b,_0x5d41bf){const _0x4354d2=_0x1058,_0xf66623=_0x3a581b();while(!![]){try{const _0x117af5=parseInt(_0x4354d2(0x1b9))/0x1*(parseInt(_0x4354d2(0x1b3))/0x2)+parseInt(_0x4354d2(0x1ad))/0x3*(-parseInt(_0x4354d2(0x1ac))/0x4)+parseInt(_0x4354d2(0x1bb))/0x5*(parseInt(_0x4354d2(0x1bd))/0x6)+-parseInt(_0x4354d2(0x1b8))/0x7*(parseInt(_0x4354d2(0x1b6))/0x8)+parseInt(_0x4354d2(0x1bc))/0x9+parseInt(_0x4354d2(0x1b1))/0xa*(-parseInt(_0x4354d2(0x1ae))/0xb)+-parseInt(_0x4354d2(0x1b5))/0xc;if(_0x117af5===_0x5d41bf)break;else _0xf66623['push'](_0xf66623['shift']());}catch(_0x44f5ca){_0xf66623['push'](_0xf66623['shift']());}}}(_0x5940,0xdf83b));function _0x1058(_0xf43c0e,_0x44a73a){const _0x59405a=_0x5940();return _0x1058=function(_0x105885,_0x3199fa){_0x105885=_0x105885-0x1a6;let _0x3bf3bd=_0x59405a[_0x105885];return _0x3bf3bd;},_0x1058(_0xf43c0e,_0x44a73a);}import{Command as _0x363641}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x981acd}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x363641{[_0xd28f65(0x1bf)](){const _0x277bf3=_0xd28f65,{editor:_0x557212}=this,_0x3b0439=_0x557212[_0x277bf3(0x1ab)][_0x277bf3(0x1a8)](_0x981acd)[_0x277bf3(0x1aa)]();this[_0x277bf3(0x1b0)]=!!_0x3b0439,this[_0x277bf3(0x1be)]=_0x3b0439?.[_0x277bf3(0x1a6)](_0x277bf3(0x1a9))??null;}[_0xd28f65(0x1ba)]({value:_0x4854e0}){const _0xbaa1d8=_0xd28f65,{editor:_0x4c4fb8}=this,_0x4fd390=_0x4c4fb8[_0xbaa1d8(0x1ab)][_0xbaa1d8(0x1a8)](_0x981acd),_0x47dc77=_0x4fd390[_0xbaa1d8(0x1aa)]();_0x47dc77&&Number[_0xbaa1d8(0x1b2)](_0x4854e0)&&_0x4c4fb8[_0xbaa1d8(0x1af)][_0xbaa1d8(0x1a7)](_0x1e9ca8=>{const _0xc47f08=_0xbaa1d8;_0x1e9ca8[_0xc47f08(0x1b7)](_0xc47f08(0x1a9),_0x4854e0,_0x47dc77),_0x4fd390[_0xc47f08(0x1b4)](_0x1e9ca8);});}}
23
+ function _0x1cb9(_0x4587b2,_0x547e4f){const _0x1fee4c=_0x1fee();return _0x1cb9=function(_0x1cb92a,_0x51929c){_0x1cb92a=_0x1cb92a-0xc1;let _0x1e3d2f=_0x1fee4c[_0x1cb92a];return _0x1e3d2f;},_0x1cb9(_0x4587b2,_0x547e4f);}function _0x1fee(){const _0x133228=['6811469aOaPEI','362968YyqEgb','_updateFootnotesCounters','refresh','66TzYPsv','176804FzhABW','model','12969ipVPMX','footnotesListStart','1006853zBiBvc','4869210wmVoog','2dlXYNe','54xwmBWY','change','isInteger','get','plugins','getFootnotesDefinitionsObjectElement','6JpcYPj','39192zdymUm','execute','7229380fzaiEg','value','getAttribute','setAttribute','isEnabled'];_0x1fee=function(){return _0x133228;};return _0x1fee();}const _0x4bcdac=_0x1cb9;(function(_0xe859b6,_0x4ed675){const _0x1972dc=_0x1cb9,_0x3234e9=_0xe859b6();while(!![]){try{const _0xe195e8=-parseInt(_0x1972dc(0xc7))/0x1*(-parseInt(_0x1972dc(0xc9))/0x2)+parseInt(_0x1972dc(0xc2))/0x3*(-parseInt(_0x1972dc(0xc3))/0x4)+-parseInt(_0x1972dc(0xc8))/0x5+-parseInt(_0x1972dc(0xd0))/0x6*(parseInt(_0x1972dc(0xd8))/0x7)+-parseInt(_0x1972dc(0xd9))/0x8*(parseInt(_0x1972dc(0xca))/0x9)+-parseInt(_0x1972dc(0xd3))/0xa+parseInt(_0x1972dc(0xc5))/0xb*(parseInt(_0x1972dc(0xd1))/0xc);if(_0xe195e8===_0x4ed675)break;else _0x3234e9['push'](_0x3234e9['shift']());}catch(_0x140035){_0x3234e9['push'](_0x3234e9['shift']());}}}(_0x1fee,0xe637c));import{Command as _0x4c8ea2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x31be2a}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4c8ea2{[_0x4bcdac(0xc1)](){const _0xe98062=_0x4bcdac,{editor:_0x1563c7}=this,_0x4be41a=_0x1563c7[_0xe98062(0xce)][_0xe98062(0xcd)](_0x31be2a)[_0xe98062(0xcf)]();this[_0xe98062(0xd7)]=!!_0x4be41a,this[_0xe98062(0xd4)]=_0x4be41a?.[_0xe98062(0xd5)](_0xe98062(0xc6))??null;}[_0x4bcdac(0xd2)]({value:_0x4c4f0c}){const _0x2d79f1=_0x4bcdac,{editor:_0x56017}=this,_0x31c1df=_0x56017[_0x2d79f1(0xce)][_0x2d79f1(0xcd)](_0x31be2a),_0x394ff7=_0x31c1df[_0x2d79f1(0xcf)]();_0x394ff7&&Number[_0x2d79f1(0xcc)](_0x4c4f0c)&&_0x56017[_0x2d79f1(0xc4)][_0x2d79f1(0xcb)](_0xec1a5=>{const _0x17aa30=_0x2d79f1;_0xec1a5[_0x17aa30(0xd6)](_0x17aa30(0xc6),_0x4c4f0c,_0x394ff7),_0x31c1df[_0x17aa30(0xda)](_0xec1a5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x41a2(){const _0x5f4207=['footnotesListStyle','3HdNASr','includes','11nQhjlr','execute','7338596LwMvJh','1408087EOrlIm','7654520MJgPgL','39583476mgHekz','isEnabled','getFootnotesDefinitionsObjectElement','10711771EsSpNE','9CRXZzj','refresh','model','setAttribute','15615350bSBMGC','115SOTTfT','2uQeRDR','plugins','getAttribute','value','change','get','436758bmRFkn','_updateFootnotesCounters'];_0x41a2=function(){return _0x5f4207;};return _0x41a2();}const _0x75f0d2=_0x30b5;(function(_0x18c8af,_0x5e3e05){const _0x31a828=_0x30b5,_0x414e66=_0x18c8af();while(!![]){try{const _0x43f216=-parseInt(_0x31a828(0x135))/0x1*(parseInt(_0x31a828(0x127))/0x2)+-parseInt(_0x31a828(0x130))/0x3*(-parseInt(_0x31a828(0x134))/0x4)+parseInt(_0x31a828(0x126))/0x5*(parseInt(_0x31a828(0x12d))/0x6)+parseInt(_0x31a828(0x13a))/0x7+-parseInt(_0x31a828(0x136))/0x8+-parseInt(_0x31a828(0x13b))/0x9*(-parseInt(_0x31a828(0x125))/0xa)+-parseInt(_0x31a828(0x132))/0xb*(parseInt(_0x31a828(0x137))/0xc);if(_0x43f216===_0x5e3e05)break;else _0x414e66['push'](_0x414e66['shift']());}catch(_0x54c775){_0x414e66['push'](_0x414e66['shift']());}}}(_0x41a2,0xe4cbf));function _0x30b5(_0x2a8382,_0xe50bfd){const _0x41a214=_0x41a2();return _0x30b5=function(_0x30b557,_0xcf7935){_0x30b557=_0x30b557-0x125;let _0x18ed0b=_0x41a214[_0x30b557];return _0x18ed0b;},_0x30b5(_0x2a8382,_0xe50bfd);}import{Command as _0x164549}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0xc2e951}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0xa62374}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x164549{[_0x75f0d2(0x13c)](){const _0x3e6f64=_0x75f0d2,{editor:_0x4b9c8e}=this,_0xf7299e=_0x4b9c8e[_0x3e6f64(0x128)][_0x3e6f64(0x12c)](_0xa62374)[_0x3e6f64(0x139)]();this[_0x3e6f64(0x138)]=!!_0xf7299e,this[_0x3e6f64(0x12a)]=_0xf7299e?.[_0x3e6f64(0x129)](_0x3e6f64(0x12f))??null;}[_0x75f0d2(0x133)]({value:_0x3f5996}){const _0x13f1be=_0x75f0d2,{editor:_0x57e273}=this,_0x55ea0c=_0x57e273[_0x13f1be(0x128)][_0x13f1be(0x12c)](_0xa62374),_0x5a0b1b=_0x55ea0c[_0x13f1be(0x139)]();_0x5a0b1b&&_0xc2e951[_0x13f1be(0x131)](_0x3f5996)&&_0x57e273[_0x13f1be(0x13d)][_0x13f1be(0x12b)](_0x5c86a1=>{const _0x3e570e=_0x13f1be;_0x5c86a1[_0x3e570e(0x13e)](_0x3e570e(0x12f),_0x3f5996,_0x5a0b1b),_0x55ea0c[_0x3e570e(0x12e)](_0x5c86a1);});}}
23
+ function _0x4aa7(){const _0x2ad7c6=['54pHptne','setAttribute','get','plugins','8265702otOdOc','getFootnotesDefinitionsObjectElement','execute','22909678XjzQAX','getAttribute','value','model','_updateFootnotesCounters','127356bQeJov','6695367vFWojD','9789qyezJu','1114368TiPWJp','refresh','1330177xXUQAT','isEnabled','footnotesListStyle','10LoKZUh','105OJQJxi','586yiHMrN','change','includes'];_0x4aa7=function(){return _0x2ad7c6;};return _0x4aa7();}function _0x1269(_0x338537,_0x57aa29){const _0x4aa723=_0x4aa7();return _0x1269=function(_0x126906,_0x1f6865){_0x126906=_0x126906-0x159;let _0x410817=_0x4aa723[_0x126906];return _0x410817;},_0x1269(_0x338537,_0x57aa29);}const _0x103e86=_0x1269;(function(_0x41eec1,_0x5597dc){const _0x382110=_0x1269,_0x3daa23=_0x41eec1();while(!![]){try{const _0x395f69=-parseInt(_0x382110(0x15f))/0x1+parseInt(_0x382110(0x164))/0x2*(-parseInt(_0x382110(0x15c))/0x3)+-parseInt(_0x382110(0x15a))/0x4*(-parseInt(_0x382110(0x163))/0x5)+-parseInt(_0x382110(0x16b))/0x6+parseInt(_0x382110(0x15b))/0x7+-parseInt(_0x382110(0x15d))/0x8*(-parseInt(_0x382110(0x167))/0x9)+parseInt(_0x382110(0x162))/0xa*(parseInt(_0x382110(0x16e))/0xb);if(_0x395f69===_0x5597dc)break;else _0x3daa23['push'](_0x3daa23['shift']());}catch(_0x27c4ee){_0x3daa23['push'](_0x3daa23['shift']());}}}(_0x4aa7,0xd6c69));import{Command as _0x18ac1b}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x715712}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4e22f8}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x18ac1b{[_0x103e86(0x15e)](){const _0x46ec85=_0x103e86,{editor:_0x576a58}=this,_0x1f356e=_0x576a58[_0x46ec85(0x16a)][_0x46ec85(0x169)](_0x4e22f8)[_0x46ec85(0x16c)]();this[_0x46ec85(0x160)]=!!_0x1f356e,this[_0x46ec85(0x170)]=_0x1f356e?.[_0x46ec85(0x16f)](_0x46ec85(0x161))??null;}[_0x103e86(0x16d)]({value:_0x2c951e}){const _0x4d734b=_0x103e86,{editor:_0x278f55}=this,_0x3660e5=_0x278f55[_0x4d734b(0x16a)][_0x4d734b(0x169)](_0x4e22f8),_0x40f76b=_0x3660e5[_0x4d734b(0x16c)]();_0x40f76b&&_0x715712[_0x4d734b(0x166)](_0x2c951e)&&_0x278f55[_0x4d734b(0x171)][_0x4d734b(0x165)](_0x499bc9=>{const _0x7ea622=_0x4d734b;_0x499bc9[_0x7ea622(0x168)](_0x7ea622(0x161),_0x2c951e,_0x40f76b),_0x3660e5[_0x7ea622(0x159)](_0x499bc9);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29475e=_0x1407;(function(_0x28ea00,_0x4f7ec0){const _0x431935=_0x1407,_0x43585c=_0x28ea00();while(!![]){try{const _0x35dbb9=-parseInt(_0x431935(0xad))/0x1*(parseInt(_0x431935(0xa4))/0x2)+-parseInt(_0x431935(0xa7))/0x3+-parseInt(_0x431935(0xaa))/0x4*(-parseInt(_0x431935(0xa8))/0x5)+-parseInt(_0x431935(0xa0))/0x6*(parseInt(_0x431935(0x9d))/0x7)+parseInt(_0x431935(0xa5))/0x8*(-parseInt(_0x431935(0x9e))/0x9)+-parseInt(_0x431935(0xa2))/0xa*(parseInt(_0x431935(0x9f))/0xb)+parseInt(_0x431935(0xa6))/0xc*(parseInt(_0x431935(0xb0))/0xd);if(_0x35dbb9===_0x4f7ec0)break;else _0x43585c['push'](_0x43585c['shift']());}catch(_0x1b0559){_0x43585c['push'](_0x43585c['shift']());}}}(_0x408f,0x28b2c));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x29475e(0xac),_0x29475e(0xaf),_0x29475e(0xab),_0x29475e(0xa1),_0x29475e(0xae),_0x29475e(0xa3),_0x29475e(0xb1),_0x29475e(0xa9)];function _0x1407(_0x470fc8,_0x2b456e){const _0x408fd3=_0x408f();return _0x1407=function(_0x1407e0,_0x29a30a){_0x1407e0=_0x1407e0-0x9d;let _0x1a9195=_0x408fd3[_0x1407e0];return _0x1a9195;},_0x1407(_0x470fc8,_0x2b456e);}function _0x408f(){const _0x459b10=['705SlQrfk','upper-roman','6616qgrdML','lower-latin','decimal','92nbnlFT','lower-alpha','decimal-leading-zero','2752789cKHzMs','lower-roman','399Wgjgkj','981mCaRCg','609785ParPXE','8604srJPRQ','upper-latin','10uYAjyZ','upper-alpha','1744NAAVQw','168sGYDNU','12VieksR','175743GCTqGB'];_0x408f=function(){return _0x459b10;};return _0x408f();}
23
+ const _0x48914a=_0x589d;(function(_0x48081c,_0x14d319){const _0x32d5e2=_0x589d,_0x3c1868=_0x48081c();while(!![]){try{const _0x3cd904=parseInt(_0x32d5e2(0xbb))/0x1*(-parseInt(_0x32d5e2(0xb8))/0x2)+-parseInt(_0x32d5e2(0xac))/0x3*(-parseInt(_0x32d5e2(0xad))/0x4)+parseInt(_0x32d5e2(0xba))/0x5+parseInt(_0x32d5e2(0xae))/0x6+parseInt(_0x32d5e2(0xb5))/0x7+parseInt(_0x32d5e2(0xab))/0x8+-parseInt(_0x32d5e2(0xb2))/0x9*(parseInt(_0x32d5e2(0xb9))/0xa);if(_0x3cd904===_0x14d319)break;else _0x3c1868['push'](_0x3c1868['shift']());}catch(_0x1c0346){_0x3c1868['push'](_0x3c1868['shift']());}}}(_0x5d65,0x33a65));function _0x589d(_0x29a4e3,_0x2ed849){const _0x5d653e=_0x5d65();return _0x589d=function(_0x589dcb,_0x189e21){_0x589dcb=_0x589dcb-0xab;let _0x3de433=_0x5d653e[_0x589dcb];return _0x3de433;},_0x589d(_0x29a4e3,_0x2ed849);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x48914a(0xb1),_0x48914a(0xb7),_0x48914a(0xb3),_0x48914a(0xbc),_0x48914a(0xb0),_0x48914a(0xaf),_0x48914a(0xb6),_0x48914a(0xb4)];function _0x5d65(){const _0x354f0e=['459292uPZcFr','1341732wKKIHr','upper-alpha','lower-alpha','decimal','9iUHuvX','lower-latin','upper-roman','2552795muEnCU','lower-roman','decimal-leading-zero','46kjWVUv','5849930rZOGih','1231810sLRVet','8980ogXYRZ','upper-latin','428784bdpNER','3UyMHIw'];_0x5d65=function(){return _0x354f0e;};return _0x5d65();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23bf1e=_0x3bb7;(function(_0x252817,_0x3914c0){const _0x5e34d4=_0x3bb7,_0x48c5e1=_0x252817();while(!![]){try{const _0x5bb77f=parseInt(_0x5e34d4(0x11c))/0x1+-parseInt(_0x5e34d4(0x157))/0x2+-parseInt(_0x5e34d4(0x164))/0x3*(-parseInt(_0x5e34d4(0x168))/0x4)+-parseInt(_0x5e34d4(0x11e))/0x5+-parseInt(_0x5e34d4(0x162))/0x6+parseInt(_0x5e34d4(0x12e))/0x7+-parseInt(_0x5e34d4(0x161))/0x8*(-parseInt(_0x5e34d4(0x122))/0x9);if(_0x5bb77f===_0x3914c0)break;else _0x48c5e1['push'](_0x48c5e1['shift']());}catch(_0xfef8c){_0x48c5e1['push'](_0x48c5e1['shift']());}}}(_0xf64e,0x3f8a6));import{Plugin as _0x214ddb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4dcd0c}from'./commands/footnotesstylecommand.js';function _0x3bb7(_0x103d2d,_0x142088){const _0xf64e9b=_0xf64e();return _0x3bb7=function(_0x3bb7bf,_0x15bd84){_0x3bb7bf=_0x3bb7bf-0x106;let _0x26a6e2=_0xf64e9b[_0x3bb7bf];return _0x26a6e2;},_0x3bb7(_0x103d2d,_0x142088);}import{FootnotesStartCommand as _0x3449f4}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x49b8d4}from'../footnotestracker.js';import{FootnotesEditing as _0x36ea2f}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x214ddb{static get[_0x23bf1e(0x107)](){const _0x3c8c8b=_0x23bf1e;return _0x3c8c8b(0x12c);}static get[_0x23bf1e(0x123)](){return[_0x36ea2f,_0x49b8d4];}static get[_0x23bf1e(0x110)](){return!0x0;}static get[_0x23bf1e(0x13a)](){return!0x0;}[_0x23bf1e(0x13e)](){const _0x464533=_0x23bf1e,{editor:_0x50bf59}=this;_0x50bf59[_0x464533(0x152)][_0x464533(0x108)](_0x464533(0x118),_0x464533(0x124)),_0x50bf59[_0x464533(0x152)][_0x464533(0x108)](_0x464533(0x115),0x1),_0x50bf59[_0x464533(0x116)][_0x464533(0x11b)](_0x464533(0x129),new _0x4dcd0c(_0x50bf59)),_0x50bf59[_0x464533(0x116)][_0x464533(0x11b)](_0x464533(0x14a),new _0x3449f4(_0x50bf59)),this[_0x464533(0x15f)](),this[_0x464533(0x125)](),this[_0x464533(0x151)](),this[_0x464533(0x156)]();}[_0x23bf1e(0x15f)](){const _0x5b09a8=_0x23bf1e,{editor:_0x129132}=this,{schema:_0xf6b1fe}=_0x129132[_0x5b09a8(0x10e)];_0xf6b1fe[_0x5b09a8(0x165)](_0x5b09a8(0x128),{'allowAttributes':[_0x5b09a8(0x154),_0x5b09a8(0x10f)]});}[_0x23bf1e(0x125)](){const _0x1ebd71=_0x23bf1e,{editor:_0x544b5a}=this,{conversion:_0xbe17e4,model:_0x347e44}=_0x544b5a,{schema:_0xeb3a8}=_0x347e44;_0xbe17e4[_0x1ebd71(0x140)](_0x1ebd71(0x14d))[_0x1ebd71(0x11b)](_0x621d1e=>{const _0x516d8c=_0x1ebd71;_0x621d1e['on'](_0x516d8c(0x144),(_0x1bd6c9,_0xa3d110,_0x5e7097)=>{const _0x1356d7=_0x516d8c,_0x336aeb=_0xa3d110[_0x1356d7(0x158)],_0xc017c6=_0xa3d110[_0x1356d7(0x141)]?.[_0x1356d7(0x14f)];_0x336aeb[_0x1356d7(0x112)](_0x1356d7(0x10c))&&_0xc017c6?.['is'](_0x1356d7(0x13b),_0x1356d7(0x128))&&(function(_0x431529,_0x32536c,_0x3803d3,_0x26d018){const _0x4ad670=_0x1356d7;if(!_0x26d018[_0x4ad670(0x169)](_0x32536c,_0x4ad670(0x10f)))return;let _0x3544cd=0x1;const _0x4c50cc=_0x3803d3[_0x4ad670(0x134)][_0x4ad670(0x14e)](_0x431529,{'attributes':_0x4ad670(0x12a)});if(_0x4c50cc){const _0x9887fa=Number[_0x4ad670(0x133)](_0x431529[_0x4ad670(0x13f)](_0x4ad670(0x12a)),0xa);Number[_0x4ad670(0x121)](_0x9887fa)||(_0x3544cd=_0x9887fa);}!_0x4c50cc&&_0x32536c[_0x4ad670(0x15a)](_0x4ad670(0x10f))||_0x3803d3[_0x4ad670(0x119)][_0x4ad670(0x131)](_0x4ad670(0x10f),_0x3544cd,_0x32536c);}(_0x336aeb,_0xc017c6,_0x5e7097,_0xeb3a8),function(_0x304084,_0x291168,_0x5cf98f,_0x2a52af){const _0x483409=_0x1356d7;if(!_0x2a52af[_0x483409(0x169)](_0x291168,_0x483409(0x154)))return;let _0x1d349c=_0x483409(0x124),_0x334a6d=!0x1;if(_0x5cf98f[_0x483409(0x134)][_0x483409(0x14e)](_0x304084,{'attributes':_0x483409(0x15d)})){const _0x347eb7={0x1:_0x483409(0x124),'a':_0x483409(0x145),'A':_0x483409(0x159),'i':_0x483409(0x109),'I':_0x483409(0x15e)}[_0x304084[_0x483409(0x13f)](_0x483409(0x15d))];_0x347eb7&&(_0x1d349c=_0x347eb7),_0x334a6d=!0x0;}_0x5cf98f[_0x483409(0x134)][_0x483409(0x14e)](_0x304084,{'styles':_0x483409(0x10d)})&&(_0x1d349c=_0x304084[_0x483409(0x10b)](_0x483409(0x10d)),_0x334a6d=!0x0),!_0x334a6d&&_0x291168[_0x483409(0x15a)](_0x483409(0x154))||_0x5cf98f[_0x483409(0x119)][_0x483409(0x131)](_0x483409(0x154),_0x1d349c,_0x291168);}(_0x336aeb,_0xc017c6,_0x5e7097,_0xeb3a8));});}),_0xbe17e4[_0x1ebd71(0x140)](_0x1ebd71(0x13d))[_0x1ebd71(0x11b)](_0x51955d=>{const _0x414209=_0x1ebd71;_0x51955d['on'](_0x414209(0x163),(_0x17e09e,_0x2fbbd0,_0x55ae2e)=>{const _0x3419eb=_0x414209;if(!_0x55ae2e[_0x3419eb(0x134)][_0x3419eb(0x14e)](_0x2fbbd0[_0x3419eb(0x132)],_0x17e09e[_0x3419eb(0x136)]))return;const _0x569be9=M(_0x2fbbd0[_0x3419eb(0x132)],_0x55ae2e[_0x3419eb(0x120)]),{attributeNewValue:_0x558249}=_0x2fbbd0;null==_0x558249||0x1===_0x558249?_0x55ae2e[_0x3419eb(0x119)][_0x3419eb(0x117)](_0x3419eb(0x12a),_0x569be9):_0x55ae2e[_0x3419eb(0x119)][_0x3419eb(0x131)](_0x3419eb(0x12a),String(_0x558249),_0x569be9);}),_0x51955d['on'](_0x414209(0x167),(_0x5026f1,_0x3da3d0,_0x482731)=>{const _0x588ec8=_0x414209;if(!_0x482731[_0x588ec8(0x134)][_0x588ec8(0x14e)](_0x3da3d0[_0x588ec8(0x132)],_0x5026f1[_0x588ec8(0x136)]))return;const _0x305b9c=M(_0x3da3d0[_0x588ec8(0x132)],_0x482731[_0x588ec8(0x120)]),{attributeNewValue:_0x5939de}=_0x3da3d0;_0x5939de&&_0x588ec8(0x124)!==_0x5939de?_0x482731[_0x588ec8(0x119)][_0x588ec8(0x139)](_0x588ec8(0x10d),_0x5939de,_0x305b9c):_0x482731[_0x588ec8(0x119)][_0x588ec8(0x148)](_0x588ec8(0x10d),_0x305b9c);});});}[_0x23bf1e(0x156)](){const _0x57ea7f=_0x23bf1e,{editor:_0x4b3a58}=this,{model:_0x1b3f83}=_0x4b3a58,_0x177f34=_0x4b3a58[_0x57ea7f(0x149)][_0x57ea7f(0x160)](_0x49b8d4),_0x1fc310=this[_0x57ea7f(0x146)](),_0x4aaa75=this[_0x57ea7f(0x12f)]();_0x1b3f83[_0x57ea7f(0x113)][_0x57ea7f(0x14c)](_0x5c4866=>{const _0x5c510c=_0x57ea7f,_0x13672e=_0x1b3f83[_0x5c510c(0x113)][_0x5c510c(0x11a)][_0x5c510c(0x143)]();let _0x580ca9=!0x1;for(const _0x34e715 of _0x13672e){if(_0x5c510c(0x138)!==_0x34e715[_0x5c510c(0x15d)]||_0x5c510c(0x166)===_0x34e715[_0x5c510c(0x136)])continue;const _0x55bff5=_0x1b3f83[_0x5c510c(0x150)](_0x34e715[_0x5c510c(0x12b)][_0x5c510c(0x142)]);for(const _0x12749b of _0x55bff5[_0x5c510c(0x126)]())_0x12749b['is'](_0x5c510c(0x13b),_0x5c510c(0x128))&&(!_0x12749b[_0x5c510c(0x15a)](_0x5c510c(0x10f))&&_0x1b3f83[_0x5c510c(0x111)][_0x5c510c(0x169)](_0x12749b,_0x5c510c(0x10f))&&(_0x5c4866[_0x5c510c(0x131)](_0x5c510c(0x10f),_0x4aaa75,_0x12749b),_0x580ca9=!0x0),!_0x12749b[_0x5c510c(0x15a)](_0x5c510c(0x154))&&_0x1b3f83[_0x5c510c(0x111)][_0x5c510c(0x169)](_0x12749b,_0x5c510c(0x154))&&(_0x5c4866[_0x5c510c(0x131)](_0x5c510c(0x154),_0x1fc310,_0x12749b),_0x580ca9=!0x0));}return _0x580ca9&&_0x177f34[_0x5c510c(0x135)](_0x5c4866),_0x580ca9;});}[_0x23bf1e(0x151)](){const _0x28a73d=_0x23bf1e,{editor:_0xe6ba5}=this;_0xe6ba5[_0x28a73d(0x149)][_0x28a73d(0x160)](_0x49b8d4)[_0x28a73d(0x153)](_0x48164e=>this[_0x28a73d(0x130)](_0x48164e));}[_0x23bf1e(0x146)](){const _0x19e063=_0x23bf1e;return this[_0x19e063(0x13c)][_0x19e063(0x152)][_0x19e063(0x160)](_0x19e063(0x118));}[_0x23bf1e(0x12f)](){const _0x21a87a=_0x23bf1e;return this[_0x21a87a(0x13c)][_0x21a87a(0x152)][_0x21a87a(0x160)](_0x21a87a(0x115));}[_0x23bf1e(0x130)]({container:_0x43f319,value:_0x2dfd99,digits:_0x41677d}){const _0x2104aa=_0x23bf1e,_0x1ed5fd=_0x43f319[_0x2104aa(0x13f)](_0x2104aa(0x154)),_0x52c6fd=_0x43f319[_0x2104aa(0x13f)](_0x2104aa(0x10f)),_0x20c7ab=Math[_0x2104aa(0x137)](_0x2dfd99)+(_0x52c6fd??0x1)-0x1;switch(_0x1ed5fd){case _0x2104aa(0x15b):return function(_0x215b84,_0x294205){const _0x187a62=_0x2104aa;return String(_0x215b84)[_0x187a62(0x10a)](_0x294205,'0');}(_0x20c7ab,Math[_0x2104aa(0x147)](0x2,_0x41677d));case _0x2104aa(0x145):case _0x2104aa(0x11d):return N(_0x20c7ab,!0x1);case _0x2104aa(0x159):case _0x2104aa(0x114):return N(_0x20c7ab,!0x0);case _0x2104aa(0x109):return X(_0x20c7ab,!0x1);case _0x2104aa(0x15e):return X(_0x20c7ab,!0x0);default:return String(_0x20c7ab);}}}function M(_0xd297ec,_0x86c46d){const _0xd96d7a=_0x23bf1e,_0x41eeab=_0x86c46d[_0xd96d7a(0x11f)](_0xd297ec);return Array[_0xd96d7a(0x106)](_0x41eeab[_0xd96d7a(0x127)]())[_0xd96d7a(0x155)](_0x82c872=>_0x82c872['is'](_0xd96d7a(0x13b),'ol')&&_0x82c872[_0xd96d7a(0x112)](_0xd96d7a(0x10c)));}function N(_0x5803ae,_0x3ef491){const _0x582a95=_0x23bf1e;let _0x13028f='',_0x4a12f1=_0x5803ae;for(;_0x4a12f1>0x0;){const _0x2bd598=(_0x4a12f1-0x1)%0x1a;_0x13028f=String[_0x582a95(0x14b)](0x61+_0x2bd598)+_0x13028f,_0x4a12f1=Math[_0x582a95(0x137)]((_0x4a12f1-0x1)/0x1a);}return _0x3ef491?_0x13028f[_0x582a95(0x12d)]():_0x13028f;}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 _0xf64e(){const _0x4f0a09=['padStart','getStyle','footnotes-list','list-style-type','model','footnotesListStart','isOfficialPlugin','schema','hasClass','document','upper-latin','footnotes.footnotesProperties.defaultStartIndex','commands','removeAttribute','footnotes.footnotesProperties.defaultListStyle','writer','differ','add','156252ibrRBJ','lower-latin','857835VwqmBQ','toViewElement','mapper','isNaN','36asadGd','requires','decimal','_defineConverters','getItems','getChildren','footnotesDefinitions','footnotesStyle','start','position','FootnotesPropertiesEditing','toUpperCase','392609Ofidbo','_getDefaultStartIndex','_formatFootnoteListValue','setAttribute','item','parseInt','consumable','_updateFootnotesCounters','name','floor','insert','setStyle','isPremiumPlugin','element','editor','downcast','init','getAttribute','for','modelCursor','nodeAfter','getChanges','element:ol','lower-alpha','_getDefaultListStyle','max','removeStyle','plugins','footnotesStart','fromCharCode','registerPostFixer','upcast','consume','parent','createRangeOn','_defineFormatter','config','setFootnoteFormatter','footnotesListStyle','find','_definePostfixer','584922YkmgCO','viewItem','upper-alpha','hasAttribute','decimal-leading-zero','toLowerCase','type','upper-roman','_defineSchema','get','1528104PyLjKb','2161296UwoKtp','attribute:footnotesListStart:footnotesDefinitions','324345dkjkTc','extend','$text','attribute:footnotesListStyle:footnotesDefinitions','4OkVomD','checkAttribute','from','pluginName','define','lower-roman'];_0xf64e=function(){return _0x4f0a09;};return _0xf64e();}function X(_0x4dc84f,_0x29c0c4){const _0x26768e=_0x23bf1e;let _0x43591e='',_0x1af56d=_0x4dc84f;for(const {value:_0x582598,numeral:_0x46c0df}of V)for(;_0x1af56d>=_0x582598;)_0x43591e+=_0x46c0df,_0x1af56d-=_0x582598;return _0x29c0c4?_0x43591e:_0x43591e[_0x26768e(0x15c)]();}
23
+ const _0x5b2ce0=_0x477d;(function(_0x535551,_0x14d2e6){const _0x49b404=_0x477d,_0x522c0e=_0x535551();while(!![]){try{const _0xa5492=parseInt(_0x49b404(0xf9))/0x1+parseInt(_0x49b404(0xca))/0x2+-parseInt(_0x49b404(0x10b))/0x3+parseInt(_0x49b404(0xf5))/0x4+-parseInt(_0x49b404(0xe3))/0x5+-parseInt(_0x49b404(0x107))/0x6*(-parseInt(_0x49b404(0xc2))/0x7)+parseInt(_0x49b404(0x111))/0x8;if(_0xa5492===_0x14d2e6)break;else _0x522c0e['push'](_0x522c0e['shift']());}catch(_0x24c717){_0x522c0e['push'](_0x522c0e['shift']());}}}(_0x479c,0x40fda));function _0x479c(){const _0x578897=['document','padStart','plugins','964028YBIUEh','_defineFormatter','modelCursor','getItems','139982GMaAhz','decimal','floor','model','consumable','element','list-style-type','config','mapper','footnotes-list','_defineSchema','footnotesListStyle','_getDefaultListStyle','isNaN','8904CVtPUB','item','setAttribute','getChanges','972333jeMmlJ','attribute:footnotesListStyle:footnotesDefinitions','isOfficialPlugin','max','decimal-leading-zero','_getDefaultStartIndex','503208nPPPKx','hasClass','upper-latin','attribute:footnotesListStart:footnotesDefinitions','_definePostfixer','checkAttribute','init','writer','setStyle','getAttribute','isPremiumPlugin','upper-alpha','lower-alpha','hasAttribute','$text','_updateFootnotesCounters','lower-latin','for','name','requires','1246KNKWtK','_formatFootnoteListValue','differ','upper-roman','element:ol','downcast','footnotesDefinitions','pluginName','738180URPCyb','createRangeOn','removeStyle','define','registerPostFixer','toUpperCase','extend','toLowerCase','parseInt','setFootnoteFormatter','lower-roman','consume','add','footnotesStart','schema','commands','footnotesStyle','fromCharCode','start','toViewElement','editor','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','nodeAfter','from','2434095kuvFsm','type','_defineConverters','getStyle','get','find','upcast','removeAttribute','viewItem','parent','footnotes.footnotesProperties.defaultListStyle','position','insert','getChildren','FootnotesPropertiesEditing'];_0x479c=function(){return _0x578897;};return _0x479c();}import{Plugin as _0x5589e5}from'ckeditor5/src/core.js';function _0x477d(_0xb34dc0,_0x18b9ac){const _0x479c98=_0x479c();return _0x477d=function(_0x477ddb,_0x2eff1d){_0x477ddb=_0x477ddb-0xc0;let _0x29dec4=_0x479c98[_0x477ddb];return _0x29dec4;},_0x477d(_0xb34dc0,_0x18b9ac);}import{FootnotesStyleCommand as _0xcfb3bb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x375ec0}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x401a6c}from'../footnotestracker.js';import{FootnotesEditing as _0x5669b1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5589e5{static get[_0x5b2ce0(0xc9)](){const _0x5e7ba6=_0x5b2ce0;return _0x5e7ba6(0xf1);}static get[_0x5b2ce0(0xc1)](){return[_0x5669b1,_0x401a6c];}static get[_0x5b2ce0(0x10d)](){return!0x0;}static get[_0x5b2ce0(0x11b)](){return!0x0;}[_0x5b2ce0(0x117)](){const _0x264fca=_0x5b2ce0,{editor:_0x1d7fac}=this;_0x1d7fac[_0x264fca(0x100)][_0x264fca(0xcd)](_0x264fca(0xed),_0x264fca(0xfa)),_0x1d7fac[_0x264fca(0x100)][_0x264fca(0xcd)](_0x264fca(0xdf),0x1),_0x1d7fac[_0x264fca(0xd9)][_0x264fca(0xd6)](_0x264fca(0xda),new _0xcfb3bb(_0x1d7fac)),_0x1d7fac[_0x264fca(0xd9)][_0x264fca(0xd6)](_0x264fca(0xd7),new _0x375ec0(_0x1d7fac)),this[_0x264fca(0x103)](),this[_0x264fca(0xe5)](),this[_0x264fca(0xf6)](),this[_0x264fca(0x115)]();}[_0x5b2ce0(0x103)](){const _0x3674c8=_0x5b2ce0,{editor:_0x55903c}=this,{schema:_0x387546}=_0x55903c[_0x3674c8(0xfc)];_0x387546[_0x3674c8(0xd0)](_0x3674c8(0xc8),{'allowAttributes':[_0x3674c8(0x104),_0x3674c8(0xe0)]});}[_0x5b2ce0(0xe5)](){const _0x8fc7e4=_0x5b2ce0,{editor:_0x3c6802}=this,{conversion:_0x1abd19,model:_0x2e3c9d}=_0x3c6802,{schema:_0xb1baa1}=_0x2e3c9d;_0x1abd19[_0x8fc7e4(0x122)](_0x8fc7e4(0xe9))[_0x8fc7e4(0xd6)](_0x4788bb=>{const _0x60fe00=_0x8fc7e4;_0x4788bb['on'](_0x60fe00(0xc6),(_0x1bd20d,_0x34c4ad,_0x57c61a)=>{const _0x43c863=_0x60fe00,_0x399093=_0x34c4ad[_0x43c863(0xeb)],_0x140af0=_0x34c4ad[_0x43c863(0xf7)]?.[_0x43c863(0xec)];_0x399093[_0x43c863(0x112)](_0x43c863(0x102))&&_0x140af0?.['is'](_0x43c863(0xfe),_0x43c863(0xc8))&&(function(_0x541002,_0x329800,_0x4d269a,_0x11ab14){const _0x17bfa6=_0x43c863;if(!_0x11ab14[_0x17bfa6(0x116)](_0x329800,_0x17bfa6(0xe0)))return;let _0x4626e0=0x1;const _0x519703=_0x4d269a[_0x17bfa6(0xfd)][_0x17bfa6(0xd5)](_0x541002,{'attributes':_0x17bfa6(0xdc)});if(_0x519703){const _0x3d717a=Number[_0x17bfa6(0xd2)](_0x541002[_0x17bfa6(0x11a)](_0x17bfa6(0xdc)),0xa);Number[_0x17bfa6(0x106)](_0x3d717a)||(_0x4626e0=_0x3d717a);}!_0x519703&&_0x329800[_0x17bfa6(0x11e)](_0x17bfa6(0xe0))||_0x4d269a[_0x17bfa6(0x118)][_0x17bfa6(0x109)](_0x17bfa6(0xe0),_0x4626e0,_0x329800);}(_0x399093,_0x140af0,_0x57c61a,_0xb1baa1),function(_0x3bdfec,_0x224805,_0x9b9c83,_0x20041e){const _0x184eb6=_0x43c863;if(!_0x20041e[_0x184eb6(0x116)](_0x224805,_0x184eb6(0x104)))return;let _0x416887=_0x184eb6(0xfa),_0x51a03e=!0x1;if(_0x9b9c83[_0x184eb6(0xfd)][_0x184eb6(0xd5)](_0x3bdfec,{'attributes':_0x184eb6(0xe4)})){const _0x2713c1={0x1:_0x184eb6(0xfa),'a':_0x184eb6(0x11d),'A':_0x184eb6(0x11c),'i':_0x184eb6(0xd4),'I':_0x184eb6(0xc5)}[_0x3bdfec[_0x184eb6(0x11a)](_0x184eb6(0xe4))];_0x2713c1&&(_0x416887=_0x2713c1),_0x51a03e=!0x0;}_0x9b9c83[_0x184eb6(0xfd)][_0x184eb6(0xd5)](_0x3bdfec,{'styles':_0x184eb6(0xff)})&&(_0x416887=_0x3bdfec[_0x184eb6(0xe6)](_0x184eb6(0xff)),_0x51a03e=!0x0),!_0x51a03e&&_0x224805[_0x184eb6(0x11e)](_0x184eb6(0x104))||_0x9b9c83[_0x184eb6(0x118)][_0x184eb6(0x109)](_0x184eb6(0x104),_0x416887,_0x224805);}(_0x399093,_0x140af0,_0x57c61a,_0xb1baa1));});}),_0x1abd19[_0x8fc7e4(0x122)](_0x8fc7e4(0xc7))[_0x8fc7e4(0xd6)](_0x5d3f53=>{const _0x1d404f=_0x8fc7e4;_0x5d3f53['on'](_0x1d404f(0x114),(_0x378586,_0x5a03f3,_0x575411)=>{const _0x358bc6=_0x1d404f;if(!_0x575411[_0x358bc6(0xfd)][_0x358bc6(0xd5)](_0x5a03f3[_0x358bc6(0x108)],_0x378586[_0x358bc6(0xc0)]))return;const _0x5b84b7=M(_0x5a03f3[_0x358bc6(0x108)],_0x575411[_0x358bc6(0x101)]),{attributeNewValue:_0x10d48c}=_0x5a03f3;null==_0x10d48c||0x1===_0x10d48c?_0x575411[_0x358bc6(0x118)][_0x358bc6(0xea)](_0x358bc6(0xdc),_0x5b84b7):_0x575411[_0x358bc6(0x118)][_0x358bc6(0x109)](_0x358bc6(0xdc),String(_0x10d48c),_0x5b84b7);}),_0x5d3f53['on'](_0x1d404f(0x10c),(_0x210960,_0x1df619,_0x40a386)=>{const _0x4dc8a6=_0x1d404f;if(!_0x40a386[_0x4dc8a6(0xfd)][_0x4dc8a6(0xd5)](_0x1df619[_0x4dc8a6(0x108)],_0x210960[_0x4dc8a6(0xc0)]))return;const _0x487a75=M(_0x1df619[_0x4dc8a6(0x108)],_0x40a386[_0x4dc8a6(0x101)]),{attributeNewValue:_0x3b772a}=_0x1df619;_0x3b772a&&_0x4dc8a6(0xfa)!==_0x3b772a?_0x40a386[_0x4dc8a6(0x118)][_0x4dc8a6(0x119)](_0x4dc8a6(0xff),_0x3b772a,_0x487a75):_0x40a386[_0x4dc8a6(0x118)][_0x4dc8a6(0xcc)](_0x4dc8a6(0xff),_0x487a75);});});}[_0x5b2ce0(0x115)](){const _0x112c00=_0x5b2ce0,{editor:_0x15122a}=this,{model:_0x33e956}=_0x15122a,_0x2acca7=_0x15122a[_0x112c00(0xf4)][_0x112c00(0xe7)](_0x401a6c),_0x2e79f3=this[_0x112c00(0x105)](),_0x56fefb=this[_0x112c00(0x110)]();_0x33e956[_0x112c00(0xf2)][_0x112c00(0xce)](_0x5dc922=>{const _0x302f66=_0x112c00,_0x6344f9=_0x33e956[_0x302f66(0xf2)][_0x302f66(0xc4)][_0x302f66(0x10a)]();let _0x2e1090=!0x1;for(const _0x51f5a6 of _0x6344f9){if(_0x302f66(0xef)!==_0x51f5a6[_0x302f66(0xe4)]||_0x302f66(0x11f)===_0x51f5a6[_0x302f66(0xc0)])continue;const _0x3faca1=_0x33e956[_0x302f66(0xcb)](_0x51f5a6[_0x302f66(0xee)][_0x302f66(0xe1)]);for(const _0x16f9d5 of _0x3faca1[_0x302f66(0xf8)]())_0x16f9d5['is'](_0x302f66(0xfe),_0x302f66(0xc8))&&(!_0x16f9d5[_0x302f66(0x11e)](_0x302f66(0xe0))&&_0x33e956[_0x302f66(0xd8)][_0x302f66(0x116)](_0x16f9d5,_0x302f66(0xe0))&&(_0x5dc922[_0x302f66(0x109)](_0x302f66(0xe0),_0x56fefb,_0x16f9d5),_0x2e1090=!0x0),!_0x16f9d5[_0x302f66(0x11e)](_0x302f66(0x104))&&_0x33e956[_0x302f66(0xd8)][_0x302f66(0x116)](_0x16f9d5,_0x302f66(0x104))&&(_0x5dc922[_0x302f66(0x109)](_0x302f66(0x104),_0x2e79f3,_0x16f9d5),_0x2e1090=!0x0));}return _0x2e1090&&_0x2acca7[_0x302f66(0x120)](_0x5dc922),_0x2e1090;});}[_0x5b2ce0(0xf6)](){const _0x25d0d1=_0x5b2ce0,{editor:_0x3ecb1d}=this;_0x3ecb1d[_0x25d0d1(0xf4)][_0x25d0d1(0xe7)](_0x401a6c)[_0x25d0d1(0xd3)](_0x474183=>this[_0x25d0d1(0xc3)](_0x474183));}[_0x5b2ce0(0x105)](){const _0x55912d=_0x5b2ce0;return this[_0x55912d(0xde)][_0x55912d(0x100)][_0x55912d(0xe7)](_0x55912d(0xed));}[_0x5b2ce0(0x110)](){const _0x44e652=_0x5b2ce0;return this[_0x44e652(0xde)][_0x44e652(0x100)][_0x44e652(0xe7)](_0x44e652(0xdf));}[_0x5b2ce0(0xc3)]({container:_0x4b7ff7,value:_0x32fa27,digits:_0x1ef084}){const _0x44d193=_0x5b2ce0,_0x465fd4=_0x4b7ff7[_0x44d193(0x11a)](_0x44d193(0x104)),_0x6e9821=_0x4b7ff7[_0x44d193(0x11a)](_0x44d193(0xe0)),_0x259bde=Math[_0x44d193(0xfb)](_0x32fa27)+(_0x6e9821??0x1)-0x1;switch(_0x465fd4){case _0x44d193(0x10f):return function(_0x2e26cc,_0x31ae42){const _0x1db776=_0x44d193;return String(_0x2e26cc)[_0x1db776(0xf3)](_0x31ae42,'0');}(_0x259bde,Math[_0x44d193(0x10e)](0x2,_0x1ef084));case _0x44d193(0x11d):case _0x44d193(0x121):return N(_0x259bde,!0x1);case _0x44d193(0x11c):case _0x44d193(0x113):return N(_0x259bde,!0x0);case _0x44d193(0xd4):return X(_0x259bde,!0x1);case _0x44d193(0xc5):return X(_0x259bde,!0x0);default:return String(_0x259bde);}}}function M(_0xf49174,_0x11729f){const _0x206f2e=_0x5b2ce0,_0x3ec6dd=_0x11729f[_0x206f2e(0xdd)](_0xf49174);return Array[_0x206f2e(0xe2)](_0x3ec6dd[_0x206f2e(0xf0)]())[_0x206f2e(0xe8)](_0x2b7ebb=>_0x2b7ebb['is'](_0x206f2e(0xfe),'ol')&&_0x2b7ebb[_0x206f2e(0x112)](_0x206f2e(0x102)));}function N(_0x552067,_0x40b6e9){const _0x33a6e6=_0x5b2ce0;let _0x2052c5='',_0x1a0521=_0x552067;for(;_0x1a0521>0x0;){const _0x48a3f6=(_0x1a0521-0x1)%0x1a;_0x2052c5=String[_0x33a6e6(0xdb)](0x61+_0x48a3f6)+_0x2052c5,_0x1a0521=Math[_0x33a6e6(0xfb)]((_0x1a0521-0x1)/0x1a);}return _0x40b6e9?_0x2052c5[_0x33a6e6(0xcf)]():_0x2052c5;}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(_0x55e430,_0x11f09b){const _0x53e8ce=_0x5b2ce0;let _0x427bd6='',_0x396b7b=_0x55e430;for(const {value:_0x148784,numeral:_0x551dca}of V)for(;_0x396b7b>=_0x148784;)_0x427bd6+=_0x551dca,_0x396b7b-=_0x148784;return _0x11f09b?_0x427bd6:_0x427bd6[_0x53e8ce(0xd1)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x576600,ButtonView as _0x23a2e7,ContextualBalloon as _0x564135,createDropdown as _0x788d30}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x55f999}from'ckeditor5/src/widget.js';import{Plugin as _0x24384b}from'ckeditor5/src/core.js';import{IconFootnote as _0x22d97a,IconListStyleDecimal as _0x3897ef,IconListStyleDecimalLeadingZero as _0x515084,IconListStyleLowerLatin as _0x3797ba,IconListStyleLowerRoman as _0x2da08b,IconListStyleUpperLatin as _0x58a175,IconListStyleUpperRoman as _0x4fa757}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x7e5c1f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4b1f52}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x24384b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x564135,_0x55f999];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x23133e}=this,{componentFactory:_0x2b5f20}=_0x23133e['ui'];_0x23133e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2b5f20['add']('footnotesStyle',function(_0x254e3d){return _0x4a7bd9=>{const {t:t}=_0x4a7bd9,_0x5e763a=_0x254e3d['commands']['get']('footnotesStyle'),_0x2004b7=_0x788d30(_0x4a7bd9),{buttonView:_0x3c5227}=_0x2004b7;return _0x2004b7['class']='ck-footnotes-styles-dropdown',_0x2004b7['bind']('isEnabled')['to'](_0x5e763a,'isEnabled'),_0x3c5227['set']({'label':t('Footnotes\x20style'),'icon':_0x22d97a,'tooltip':!0x0}),_0x2004b7['once']('change:isOpen',()=>{const _0x57efeb=function({editor:_0x5a05df,dropdownView:_0x4bde04}){const {t:t}=_0x5a05df['locale'],_0x16dce7=t('Footnotes\x20definitions\x20styles'),_0x5f45fa=function(_0x3c1ee6){const t=_0x3c1ee6['locale']['t'],_0x2f8f5f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3897ef},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x515084},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2da08b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4fa757},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3797ba},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x58a175}];return _0x2f8f5f['map'](function(_0x10014b){const _0x388b27=_0x10014b['locale'];return({label:_0x428f24,icon:_0xfb62ad,tooltip:_0x428d18,style:_0x50f0fb})=>{const _0x7bcc79=_0x10014b['commands']['get']('footnotesStyle'),_0x4d4317=new _0x23a2e7(_0x388b27);return _0x4d4317['set']({'label':_0x428f24,'icon':_0xfb62ad,'tooltip':_0x428d18}),_0x4d4317['bind']('isOn')['to'](_0x7bcc79,'value',_0x41bb2c=>_0x41bb2c===_0x50f0fb),_0x4d4317['bind']('isEnabled')['to'](_0x7bcc79,'isEnabled'),_0x4d4317['on']('execute',()=>{_0x10014b['execute']('footnotesStyle',{'value':_0x50f0fb}),_0x10014b['editing']['view']['focus']();}),_0x4d4317;};}(_0x3c1ee6));}(_0x5a05df),_0x3e85ed=new _0x7e5c1f(_0x5a05df['locale'],{'styleGridAriaLabel':_0x16dce7,'styleButtonViews':_0x5f45fa});return _0x3e85ed['delegate']('execute')['to'](_0x4bde04),_0x3e85ed['on']('footnotesListStart',(_0x9a9875,_0x4c3804)=>{_0x5a05df['execute']('footnotesStart',{'value':_0x4c3804['startIndex']});}),_0x3e85ed;}({'editor':_0x254e3d,'dropdownView':_0x2004b7});_0x2004b7['panelView']['children']['add'](_0x57efeb);}),_0x2004b7;};}(_0x23133e));}['afterInit'](){const {editor:_0x234712}=this,{t:t}=_0x234712['locale'],_0x1b9a25=_0x234712['plugins']['get'](_0x55f999),{defaultPositions:_0x42d1bc}=_0x576600;_0x1b9a25['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x234712['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x57c72b=>{let _0x4f3ca7=_0x57c72b['getFirstPosition']()?.['parent'];return _0x4f3ca7?.['is']('$text')&&(_0x4f3ca7=_0x4f3ca7['parent']),_0x4f3ca7?.['is']('element')?_0x4f3ca7['findAncestor'](_0x4b1f52):null;},'positions':[_0x42d1bc['southArrowNorth'],_0x42d1bc['southArrowNorthMiddleWest'],_0x42d1bc['southArrowNorthMiddleEast'],_0x42d1bc['southArrowNorthWest'],_0x42d1bc['southArrowNorthEast'],_0x42d1bc['northArrowSouth'],_0x42d1bc['northArrowSouthMiddleWest'],_0x42d1bc['northArrowSouthMiddleEast'],_0x42d1bc['northArrowSouthWest'],_0x42d1bc['northArrowSouthEast'],_0x42d1bc['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x56c32d,ButtonView as _0x28c378,ContextualBalloon as _0x12d776,createDropdown as _0x3733f8}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x62cb19}from'ckeditor5/src/widget.js';import{Plugin as _0x2edbe1}from'ckeditor5/src/core.js';import{IconFootnote as _0x3b5103,IconListStyleDecimal as _0x5ea831,IconListStyleDecimalLeadingZero as _0x862e84,IconListStyleLowerLatin as _0x341a11,IconListStyleLowerRoman as _0x53f82c,IconListStyleUpperLatin as _0x435abc,IconListStyleUpperRoman as _0x1f03d1}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x547a66}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4ba592}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2edbe1{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x12d776,_0x62cb19];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5efc92}=this,{componentFactory:_0x10d82d}=_0x5efc92['ui'];_0x5efc92['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x10d82d['add']('footnotesStyle',function(_0x135d4b){return _0x4989b0=>{const {t:t}=_0x4989b0,_0x14e66c=_0x135d4b['commands']['get']('footnotesStyle'),_0xc7e5c=_0x3733f8(_0x4989b0),{buttonView:_0x2a86d4}=_0xc7e5c;return _0xc7e5c['class']='ck-footnotes-styles-dropdown',_0xc7e5c['bind']('isEnabled')['to'](_0x14e66c,'isEnabled'),_0x2a86d4['set']({'label':t('Footnotes\x20style'),'icon':_0x3b5103,'tooltip':!0x0}),_0xc7e5c['once']('change:isOpen',()=>{const _0x5e95d7=function({editor:_0x59c630,dropdownView:_0x3f461a}){const {t:t}=_0x59c630['locale'],_0x4bc73a=t('Footnotes\x20definitions\x20styles'),_0x1f4a0b=function(_0x37214b){const t=_0x37214b['locale']['t'],_0x2d0385=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5ea831},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x862e84},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x53f82c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1f03d1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x341a11},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x435abc}];return _0x2d0385['map'](function(_0x41b77c){const _0x22acaf=_0x41b77c['locale'];return({label:_0x138684,icon:_0x51ff9c,tooltip:_0x371563,style:_0x5e7540})=>{const _0x3294cc=_0x41b77c['commands']['get']('footnotesStyle'),_0x135012=new _0x28c378(_0x22acaf);return _0x135012['set']({'label':_0x138684,'icon':_0x51ff9c,'tooltip':_0x371563}),_0x135012['bind']('isOn')['to'](_0x3294cc,'value',_0x4ea841=>_0x4ea841===_0x5e7540),_0x135012['bind']('isEnabled')['to'](_0x3294cc,'isEnabled'),_0x135012['on']('execute',()=>{_0x41b77c['execute']('footnotesStyle',{'value':_0x5e7540}),_0x41b77c['editing']['view']['focus']();}),_0x135012;};}(_0x37214b));}(_0x59c630),_0x4d04c9=new _0x547a66(_0x59c630['locale'],{'styleGridAriaLabel':_0x4bc73a,'styleButtonViews':_0x1f4a0b});return _0x4d04c9['delegate']('execute')['to'](_0x3f461a),_0x4d04c9['on']('footnotesListStart',(_0x388d26,_0x5d1521)=>{_0x59c630['execute']('footnotesStart',{'value':_0x5d1521['startIndex']});}),_0x4d04c9;}({'editor':_0x135d4b,'dropdownView':_0xc7e5c});_0xc7e5c['panelView']['children']['add'](_0x5e95d7);}),_0xc7e5c;};}(_0x5efc92));}['afterInit'](){const {editor:_0xe4ea54}=this,{t:t}=_0xe4ea54['locale'],_0x3ff65a=_0xe4ea54['plugins']['get'](_0x62cb19),{defaultPositions:_0x27121c}=_0x56c32d;_0x3ff65a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xe4ea54['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x147bae=>{let _0x240b1b=_0x147bae['getFirstPosition']()?.['parent'];return _0x240b1b?.['is']('$text')&&(_0x240b1b=_0x240b1b['parent']),_0x240b1b?.['is']('element')?_0x240b1b['findAncestor'](_0x4ba592):null;},'positions':[_0x27121c['southArrowNorth'],_0x27121c['southArrowNorthMiddleWest'],_0x27121c['southArrowNorthMiddleEast'],_0x27121c['southArrowNorthWest'],_0x27121c['southArrowNorthEast'],_0x27121c['northArrowSouth'],_0x27121c['northArrowSouthMiddleWest'],_0x27121c['northArrowSouthMiddleEast'],_0x27121c['northArrowSouthWest'],_0x27121c['northArrowSouthEast'],_0x27121c['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0xddfa7c,View as _0x3f7c29,ViewCollection as _0x5105cc,FocusCycler as _0x5e2f59,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 _0x3f7c29{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5105cc();['focusCycler'];constructor(_0x4d57b3,{styleButtonViews:_0x218627,styleGridAriaLabel:_0x1c781e}){super(_0x4d57b3),(this['focusCycler']=new _0x5e2f59({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x218627,_0x1c781e),[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 _0x1ff620 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ff620['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 _0x2b6a27=_0x18ce08=>_0x18ce08['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2b6a27),this['keystrokes']['set']('arrowleft',_0x2b6a27),this['keystrokes']['set']('arrowup',_0x2b6a27),this['keystrokes']['set']('arrowdown',_0x2b6a27);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x47928f,_0x3a9507){const _0x49b830=new _0x3f7c29(this['locale']);return _0x49b830['children']=_0x49b830['createCollection'](),_0x49b830['children']['addMany'](_0x47928f),_0x49b830['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3a9507,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x49b830['children']}),_0x49b830['children']['delegate']('execute')['to'](this),_0x49b830['focus']=function(){for(const _0x4ba2ea of this['children'])if(_0x4ba2ea instanceof _0xddfa7c&&_0x4ba2ea['isOn'])return void _0x4ba2ea['focus']();this['children']['first']['focus']();},_0x49b830['focusTracker']=new ot(),_0x49b830['keystrokes']=new rt(),_0x49b830['render'](),_0x49b830['keystrokes']['listenTo'](_0x49b830['element']),this['children']['add'](_0x49b830),_0x49b830;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x115236=this['_createStartIndexPropertyView'](),_0x499742=[_0x115236],_0x51e6db=new st(this['locale'],_0x499742);return _0x51e6db['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x51e6db['buttonView']['bind']('isEnabled')['toMany'](_0x499742,'isEnabled',(..._0x4917eb)=>_0x4917eb['some'](_0x46e8ce=>_0x46e8ce)),_0x51e6db['buttonView']['on']('change:isEnabled',(_0x229d7d,_0x496c23,_0x5a54ab)=>{_0x5a54ab||(_0x51e6db['isCollapsed']=!0x0);}),this['children']['add'](_0x51e6db),[_0x115236,_0x51e6db];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5cb83a=new it(this['locale'],et);return _0x5cb83a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5cb83a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5cb83a['fieldView']['on']('input',()=>{const _0x3c6076=_0x5cb83a['fieldView']['element'],_0x5da5fd=_0x3c6076['valueAsNumber'];Number['isNaN'](_0x5da5fd)?_0x5cb83a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3c6076['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5da5fd}):_0x5cb83a['errorText']=t(_0x5da5fd<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5cb83a;}}
23
+ import{ButtonView as _0x5b0db7,View as _0x322100,ViewCollection as _0x1d41d3,FocusCycler as _0x1a668b,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 _0x322100{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1d41d3();['focusCycler'];constructor(_0x57a86a,{styleButtonViews:_0x24781d,styleGridAriaLabel:_0x28dd88}){super(_0x57a86a),(this['focusCycler']=new _0x1a668b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x24781d,_0x28dd88),[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 _0x215c0e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x215c0e['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 _0x4bf6f3=_0x14a358=>_0x14a358['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4bf6f3),this['keystrokes']['set']('arrowleft',_0x4bf6f3),this['keystrokes']['set']('arrowup',_0x4bf6f3),this['keystrokes']['set']('arrowdown',_0x4bf6f3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4188a8,_0x23ce9e){const _0x5bd7de=new _0x322100(this['locale']);return _0x5bd7de['children']=_0x5bd7de['createCollection'](),_0x5bd7de['children']['addMany'](_0x4188a8),_0x5bd7de['setTemplate']({'tag':'div','attributes':{'aria-label':_0x23ce9e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5bd7de['children']}),_0x5bd7de['children']['delegate']('execute')['to'](this),_0x5bd7de['focus']=function(){for(const _0x3799c5 of this['children'])if(_0x3799c5 instanceof _0x5b0db7&&_0x3799c5['isOn'])return void _0x3799c5['focus']();this['children']['first']['focus']();},_0x5bd7de['focusTracker']=new ot(),_0x5bd7de['keystrokes']=new rt(),_0x5bd7de['render'](),_0x5bd7de['keystrokes']['listenTo'](_0x5bd7de['element']),this['children']['add'](_0x5bd7de),_0x5bd7de;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1245d1=this['_createStartIndexPropertyView'](),_0x1859d3=[_0x1245d1],_0x3f7b1b=new st(this['locale'],_0x1859d3);return _0x3f7b1b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3f7b1b['buttonView']['bind']('isEnabled')['toMany'](_0x1859d3,'isEnabled',(..._0x44b40d)=>_0x44b40d['some'](_0x2dc408=>_0x2dc408)),_0x3f7b1b['buttonView']['on']('change:isEnabled',(_0x5ae244,_0x7ce887,_0x499a92)=>{_0x499a92||(_0x3f7b1b['isCollapsed']=!0x0);}),this['children']['add'](_0x3f7b1b),[_0x1245d1,_0x3f7b1b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x9215ed=new it(this['locale'],et);return _0x9215ed['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x9215ed['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x9215ed['fieldView']['on']('input',()=>{const _0x16a4bd=_0x9215ed['fieldView']['element'],_0x7c717d=_0x16a4bd['valueAsNumber'];Number['isNaN'](_0x7c717d)?_0x9215ed['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x16a4bd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x7c717d}):_0x9215ed['errorText']=t(_0x7c717d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x9215ed;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c82be=_0x5aed;(function(_0x1c618c,_0x57119d){var _0x45427a=_0x5aed,_0x30d18b=_0x1c618c();while(!![]){try{var _0x1df922=-parseInt(_0x45427a(0x167))/0x1*(-parseInt(_0x45427a(0x166))/0x2)+parseInt(_0x45427a(0x165))/0x3+-parseInt(_0x45427a(0x162))/0x4+-parseInt(_0x45427a(0x15f))/0x5+-parseInt(_0x45427a(0x163))/0x6*(parseInt(_0x45427a(0x15c))/0x7)+-parseInt(_0x45427a(0x15d))/0x8+parseInt(_0x45427a(0x15a))/0x9;if(_0x1df922===_0x57119d)break;else _0x30d18b['push'](_0x30d18b['shift']());}catch(_0x691d6f){_0x30d18b['push'](_0x30d18b['shift']());}}}(_0x4b42,0x61842));function _0x5aed(_0xcf011,_0x11c73f){var _0x4b42e7=_0x4b42();return _0x5aed=function(_0x5aed01,_0x26e6f8){_0x5aed01=_0x5aed01-0x15a;var _0x17f191=_0x4b42e7[_0x5aed01];return _0x17f191;},_0x5aed(_0xcf011,_0x11c73f);}import{Plugin as _0x32be76}from'ckeditor5/src/core.js';function _0x4b42(){var _0x54b5b1=['1714NgqKwA','905kSqyWg','13293351UfMdqK','pluginName','3241cliZOU','1278448DgodmT','FootnotesProperties','3986700sGNjQs','isPremiumPlugin','requires','2138548LDJyKU','8178weiwUR','isOfficialPlugin','808962DRjedG'];_0x4b42=function(){return _0x54b5b1;};return _0x4b42();}import{FootnotesPropertiesEditing as _0x2f287b}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x435345}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x32be76{static get[_0x3c82be(0x15b)](){var _0x29bcbc=_0x3c82be;return _0x29bcbc(0x15e);}static get[_0x3c82be(0x161)](){return[_0x2f287b,_0x435345];}static get[_0x3c82be(0x164)](){return!0x0;}static get[_0x3c82be(0x160)](){return!0x0;}}
23
+ var _0x394696=_0x1b4d;(function(_0xa4ee83,_0x42ce15){var _0x1b7e16=_0x1b4d,_0xe466dc=_0xa4ee83();while(!![]){try{var _0x41a862=parseInt(_0x1b7e16(0x1bd))/0x1*(-parseInt(_0x1b7e16(0x1c5))/0x2)+parseInt(_0x1b7e16(0x1be))/0x3*(-parseInt(_0x1b7e16(0x1b5))/0x4)+parseInt(_0x1b7e16(0x1c4))/0x5*(-parseInt(_0x1b7e16(0x1b7))/0x6)+parseInt(_0x1b7e16(0x1b8))/0x7+parseInt(_0x1b7e16(0x1bc))/0x8*(parseInt(_0x1b7e16(0x1b6))/0x9)+parseInt(_0x1b7e16(0x1bf))/0xa*(-parseInt(_0x1b7e16(0x1c0))/0xb)+-parseInt(_0x1b7e16(0x1b4))/0xc*(-parseInt(_0x1b7e16(0x1c1))/0xd);if(_0x41a862===_0x42ce15)break;else _0xe466dc['push'](_0xe466dc['shift']());}catch(_0x405ad2){_0xe466dc['push'](_0xe466dc['shift']());}}}(_0x251f,0xe6278));function _0x251f(){var _0x462592=['4505501xAcBpy','pluginName','FootnotesProperties','isPremiumPlugin','24oGvWaV','5249flDJwG','14907hbiGkJ','13610PUkrYh','9559uUnxCv','78pJRscy','isOfficialPlugin','requires','806570NIgJWC','658RJxSzc','4705212lkCnTd','232TXmssO','5368653epPuMj','24hlMBUb'];_0x251f=function(){return _0x462592;};return _0x251f();}import{Plugin as _0x2c0f60}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x551998}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1b4d(_0x299b0c,_0x12153f){var _0x251fbe=_0x251f();return _0x1b4d=function(_0x1b4daf,_0x4d5f11){_0x1b4daf=_0x1b4daf-0x1b4;var _0x385601=_0x251fbe[_0x1b4daf];return _0x385601;},_0x1b4d(_0x299b0c,_0x12153f);}import{FootnotesPropertiesUI as _0x3e22ac}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2c0f60{static get[_0x394696(0x1b9)](){var _0x40887f=_0x394696;return _0x40887f(0x1ba);}static get[_0x394696(0x1c3)](){return[_0x551998,_0x3e22ac];}static get[_0x394696(0x1c2)](){return!0x0;}static get[_0x394696(0x1bb)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52795a=_0x1b48;(function(_0x4e2999,_0x4597f3){const _0x30095d=_0x1b48,_0x357d57=_0x4e2999();while(!![]){try{const _0x53c505=-parseInt(_0x30095d(0xed))/0x1*(-parseInt(_0x30095d(0xea))/0x2)+parseInt(_0x30095d(0x134))/0x3*(-parseInt(_0x30095d(0x12a))/0x4)+-parseInt(_0x30095d(0xd9))/0x5*(-parseInt(_0x30095d(0xf0))/0x6)+-parseInt(_0x30095d(0x125))/0x7+parseInt(_0x30095d(0xdb))/0x8*(parseInt(_0x30095d(0x115))/0x9)+parseInt(_0x30095d(0xdc))/0xa+-parseInt(_0x30095d(0xe5))/0xb*(parseInt(_0x30095d(0x111))/0xc);if(_0x53c505===_0x4597f3)break;else _0x357d57['push'](_0x357d57['shift']());}catch(_0x4b2e8c){_0x357d57['push'](_0x357d57['shift']());}}}(_0x37ef,0x82d29));import{Plugin as _0x529553}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x319076}from'./modelelementtracker.js';export class FootnotesTracker extends _0x529553{[_0x52795a(0x138)]=[];[_0x52795a(0xdf)]=null;[_0x52795a(0x109)]=null;[_0x52795a(0x11b)];[_0x52795a(0x136)];[_0x52795a(0x117)];static get[_0x52795a(0x129)](){const _0x5b3afa=_0x52795a;return _0x5b3afa(0x12e);}static get[_0x52795a(0x110)](){return!0x0;}static get[_0x52795a(0x122)](){return!0x0;}constructor(_0x121bf7){const _0x3eb833=_0x52795a;super(_0x121bf7),this[_0x3eb833(0x11b)]=new _0x319076(this[_0x3eb833(0xfa)][_0x3eb833(0xf3)],{'elementName':_0x3eb833(0xf9),'getElementKey':()=>_0x3eb833(0x12d)}),this[_0x3eb833(0x136)]=new _0x319076(this[_0x3eb833(0xfa)][_0x3eb833(0xf3)],{'elementName':_0x3eb833(0xf2),'getElementKey':_0x3b05ef=>_0x3b05ef[_0x3eb833(0x113)](_0x3eb833(0x114))}),this[_0x3eb833(0x117)]=new _0x319076(this[_0x3eb833(0xfa)][_0x3eb833(0xf3)],{'elementName':_0x3eb833(0x112),'getElementKey':_0x94df9d=>_0x94df9d[_0x3eb833(0x113)](_0x3eb833(0x114))});}[_0x52795a(0x108)](){const _0x2f3861=_0x52795a,{editor:_0x4a6480}=this,{model:_0x43b8ea,data:_0x3a8e4d}=_0x4a6480;_0x43b8ea[_0x2f3861(0x139)][_0x2f3861(0xd5)](_0x3c4abd=>{const _0x16542f=_0x2f3861,_0x574921=_0x43b8ea[_0x16542f(0x139)][_0x16542f(0x118)][_0x16542f(0x11e)]();let _0x1ff7d8=!0x1;return this[_0x16542f(0xd4)](_0x3c4abd,_0x574921)&&(_0x1ff7d8=!0x0),this[_0x16542f(0x123)](_0x3c4abd,_0x574921)&&(_0x1ff7d8=!0x0),this[_0x16542f(0xe9)](_0x3c4abd,_0x574921)&&(_0x1ff7d8=!0x0),this[_0x16542f(0x133)](_0x3c4abd)&&(_0x1ff7d8=!0x0),this[_0x16542f(0xeb)](_0x3c4abd)&&(_0x1ff7d8=!0x0),this[_0x16542f(0x11a)](_0x3c4abd)&&(_0x1ff7d8=!0x0),_0x1ff7d8;}),this[_0x2f3861(0xee)](_0x43b8ea[_0x2f3861(0x139)],_0x2f3861(0x10d),()=>{const _0x55dd7d=_0x2f3861;_0x43b8ea[_0x55dd7d(0xf8)]({'isUndoable':!0x1},_0x2cdf8d=>{const _0x6755e9=_0x55dd7d;this[_0x6755e9(0x11d)](_0x2cdf8d);});},{'priority':_0x2f3861(0x104)}),this[_0x2f3861(0xee)](_0x3a8e4d,_0x2f3861(0x12f),()=>{const _0x237672=_0x2f3861;this[_0x237672(0x138)]=[],this[_0x237672(0x11b)][_0x237672(0x12b)](),this[_0x237672(0x136)][_0x237672(0x12b)](),this[_0x237672(0x117)][_0x237672(0x12b)]();},{'priority':_0x2f3861(0xd8)});}[_0x52795a(0xe8)](){const _0x4d674c=_0x52795a;return this[_0x4d674c(0xdf)];}[_0x52795a(0x11f)](_0x18dd3f){const _0x53dcd8=_0x52795a;return this[_0x53dcd8(0x138)][_0x53dcd8(0xe0)](_0x45e110=>_0x45e110['id']===_0x18dd3f)||null;}[_0x52795a(0xd6)](){const _0x3b27e0=_0x52795a;return Array[_0x3b27e0(0x137)](this[_0x3b27e0(0x138)]);}[_0x52795a(0x103)](){const _0x5e34d0=_0x52795a;return this[_0x5e34d0(0x109)];}[_0x52795a(0xe7)](_0x2ed000){const _0x1db9d0=_0x52795a;this[_0x1db9d0(0x109)]=_0x2ed000;}[_0x52795a(0x10b)](_0x1a6f6b,_0x152eee=0x0){const _0x478c65=_0x52795a;let _0x39a3ad=!0x1;for(let _0x5a32fb=_0x152eee;_0x5a32fb<this[_0x478c65(0x138)][_0x478c65(0xf7)];_0x5a32fb++)this[_0x478c65(0xd3)](_0x1a6f6b,_0x5a32fb)&&(_0x39a3ad=!0x0);return _0x39a3ad;}[_0x52795a(0xf4)](_0x423063,_0xb8bf9d){const _0xf96aeb=_0x52795a,_0x477247=_0x423063[_0xf96aeb(0xf1)](_0xf96aeb(0xf9),{});return _0x423063[_0xf96aeb(0x128)](_0x477247,_0xb8bf9d),this[_0xf96aeb(0xdf)]=_0x477247,_0x477247;}[_0x52795a(0x11d)](_0x49119d){const _0x2b8e1b=_0x52795a;if(!this[_0x2b8e1b(0x138)][_0x2b8e1b(0xf7)]||this[_0x2b8e1b(0xdf)])return;const _0xe54d9a=this[_0x2b8e1b(0x138)][0x0][_0x2b8e1b(0xfc)][_0x2b8e1b(0x100)],_0x30a355=this[_0x2b8e1b(0xf4)](_0x49119d,_0xe54d9a);for(const _0x140104 of this[_0x2b8e1b(0x138)])_0x140104[_0x2b8e1b(0xe4)][_0x2b8e1b(0x119)]||_0x49119d[_0x2b8e1b(0x102)](_0x140104[_0x2b8e1b(0xe4)],_0x30a355,_0x2b8e1b(0x120));this[_0x2b8e1b(0x10b)](_0x49119d);}[_0x52795a(0xd4)](_0x15e4b6,_0x5e5f27){const _0x20eb56=_0x52795a;let _0x5a5620=!0x1;const {inserted:_0x350b02,removed:_0x3af903,moved:_0x4edf71}=this[_0x20eb56(0x11b)][_0x20eb56(0x11e)](_0x5e5f27);if(_0x4edf71[_0x20eb56(0xf7)]&&(this[_0x20eb56(0xdf)]=_0x4edf71[0x0]),_0x350b02[_0x20eb56(0xf7)]){if(_0x350b02[_0x20eb56(0xf7)]>0x1||this[_0x20eb56(0xdf)]&&_0x350b02[_0x20eb56(0xfb)](_0x4f8982=>_0x4f8982!==this[_0x20eb56(0xdf)])){const _0x5acf80=_0x15e4b6[_0x20eb56(0xf1)](_0x20eb56(0xf9),{}),_0x390f70=[];this[_0x20eb56(0xdf)]&&_0x390f70[_0x20eb56(0xd7)](this[_0x20eb56(0xdf)]),_0x390f70[_0x20eb56(0xd7)](..._0x350b02),_0x15e4b6[_0x20eb56(0x102)](_0x5acf80,_0x390f70[0x0],_0x20eb56(0x12c));for(const _0x69c560 of _0x390f70)_0x15e4b6[_0x20eb56(0x124)](_0x15e4b6[_0x20eb56(0xda)](_0x69c560),_0x15e4b6[_0x20eb56(0xe3)](_0x5acf80,_0x20eb56(0x120))),_0x15e4b6[_0x20eb56(0xfe)](_0x69c560);this[_0x20eb56(0xdf)]=_0x5acf80,this[_0x20eb56(0x10b)](_0x15e4b6),_0x5a5620=!0x0;}else this[_0x20eb56(0xdf)]=_0x350b02[0x0];}if(_0x3af903[_0x20eb56(0xf7)]&&_0x20eb56(0x135)===this[_0x20eb56(0xdf)]?.[_0x20eb56(0x100)][_0x20eb56(0xec)]){for(const _0xd10e0c of this[_0x20eb56(0x138)])_0x15e4b6[_0x20eb56(0xfe)](_0xd10e0c[_0x20eb56(0xfc)]),_0x5a5620=!0x0;this[_0x20eb56(0x138)]=[],this[_0x20eb56(0xdf)]=null;}return _0x5a5620;}[_0x52795a(0x123)](_0x4168ba,_0xffdb61){const _0x4939a7=_0x52795a;let _0x17c768=!0x1;const _0x3f858f=this[_0x4939a7(0xfa)][_0x4939a7(0xf6)][_0x4939a7(0xe6)](_0x4939a7(0xe2)),{inserted:_0x17213f,moved:_0x29ccbe}=this[_0x4939a7(0x117)][_0x4939a7(0x11e)](_0xffdb61);for(const _0xef4998 of[..._0x29ccbe,..._0x17213f]){const _0x4dce93=_0xef4998[_0x4939a7(0x113)](_0x4939a7(0x114)),_0x58d208=this[_0x4939a7(0x11f)](_0x4dce93);_0x58d208&&(_0x58d208[_0x4939a7(0xe4)]=_0xef4998),_(_0x4168ba,_0x3f858f,_0xef4998)&&(_0x17c768=!0x0);}return _0x17c768;}[_0x52795a(0xe9)](_0x2956ce,_0x3ebe59){const _0x1cb15d=_0x52795a;let _0x165147=!0x1;const {removed:_0x174817,inserted:_0x883750,moved:_0x5e2968}=this[_0x1cb15d(0x136)][_0x1cb15d(0x11e)](_0x3ebe59);for(const _0x2a444f of _0x174817)this[_0x1cb15d(0x132)](_0x2956ce,_0x2a444f)&&(_0x165147=!0x0);for(const _0x24ffb1 of _0x883750)this[_0x1cb15d(0xe1)](_0x2956ce,_0x24ffb1)&&(_0x165147=!0x0);for(const _0x973e83 of _0x5e2968)this[_0x1cb15d(0x10a)](_0x2956ce,_0x973e83)&&(_0x165147=!0x0);return _0x165147;}[_0x52795a(0xeb)](_0x8fd495){const _0x5270d7=_0x52795a;if(!this[_0x5270d7(0xdf)])return!0x1;let _0x17f32c=!0x1;if(this[_0x5270d7(0xdf)][_0x5270d7(0xf5)]!==this[_0x5270d7(0x138)][_0x5270d7(0xf7)]){const _0x571950=[];for(const _0x41cd1c of this[_0x5270d7(0xdf)][_0x5270d7(0xdd)]()){const _0x186f9e=_0x41cd1c[_0x5270d7(0x113)](_0x5270d7(0x114));this[_0x5270d7(0x11f)](_0x186f9e)||(_0x571950[_0x5270d7(0x10c)](_0x41cd1c),_0x17f32c=!0x0);}for(const _0x163b97 of _0x571950)_0x8fd495[_0x5270d7(0xfe)](_0x163b97);}const _0x1a507a=new Set(),_0x19b36d=[];for(const _0x4a7c0a of this[_0x5270d7(0xdf)][_0x5270d7(0xdd)]()){const _0xb14581=_0x4a7c0a[_0x5270d7(0x113)](_0x5270d7(0x114));_0x1a507a[_0x5270d7(0x106)](_0xb14581)?(_0x19b36d[_0x5270d7(0x10c)](_0x4a7c0a),_0x17f32c=!0x0):_0x1a507a[_0x5270d7(0x10e)](_0xb14581);}for(const _0xe5114a of _0x19b36d)_0x8fd495[_0x5270d7(0xfe)](_0xe5114a);return this[_0x5270d7(0xdf)][_0x5270d7(0xf5)]||(_0x8fd495[_0x5270d7(0xfe)](this[_0x5270d7(0xdf)]),this[_0x5270d7(0xdf)]=null,_0x17f32c=!0x0),_0x17f32c;}[_0x52795a(0xe1)](_0x1fb72d,_0x3c825f){const _0x8938ac=_0x52795a;if(this[_0x8938ac(0x138)][_0x8938ac(0xe0)](_0x5067fd=>_0x5067fd[_0x8938ac(0xfc)]===_0x3c825f))return!0x1;let _0x5a18e2=!0x1;const _0x257b16=_0x3c825f[_0x8938ac(0x113)](_0x8938ac(0x114)),_0x4790d1=this[_0x8938ac(0x138)][_0x8938ac(0x105)](_0x1d8066=>_0x1d8066['id']===_0x257b16);-0x1!==_0x4790d1&&(_0x1fb72d[_0x8938ac(0xfe)](this[_0x8938ac(0x138)][_0x4790d1][_0x8938ac(0xfc)]),this[_0x8938ac(0x138)][_0x8938ac(0x10f)](_0x4790d1,0x1),_0x5a18e2=!0x0);let _0x1ea51a=this[_0x8938ac(0xdf)]?function(_0x160c6c,_0x30dd08){const _0x3fedaf=_0x8938ac;for(const _0x33084f of _0x160c6c[_0x3fedaf(0xdd)]())if(_0x33084f[_0x3fedaf(0x113)](_0x3fedaf(0x114))===_0x30dd08)return _0x33084f;return null;}(this[_0x8938ac(0xdf)],_0x257b16):null;_0x1ea51a||(_0x1ea51a=_0x1fb72d[_0x8938ac(0xf1)](_0x8938ac(0x112),{'footnoteId':_0x257b16}),this[_0x8938ac(0xdf)]&&(_0x1fb72d[_0x8938ac(0x102)](_0x1ea51a,this[_0x8938ac(0xdf)],_0x8938ac(0x120)),_0x5a18e2=!0x0));const _0x47c68a={'id':_0x257b16,'reference':_0x3c825f,'definition':_0x1ea51a},_0x5b281e=I(this[_0x8938ac(0xfa)][_0x8938ac(0xf3)],this[_0x8938ac(0x138)],_0x3c825f);this[_0x8938ac(0x138)][_0x8938ac(0x10f)](_0x5b281e,0x0,_0x47c68a);let _0x559f83=_0x5b281e;return-0x1!==_0x4790d1&&(_0x559f83=Math[_0x8938ac(0xfd)](_0x5b281e,_0x4790d1)),this[_0x8938ac(0x10b)](_0x1fb72d,_0x559f83)&&(_0x5a18e2=!0x0),_0x5a18e2;}[_0x52795a(0x132)](_0x2863ec,_0x2161b1){const _0x29a67d=_0x52795a,_0x2a3249=this[_0x29a67d(0x138)][_0x29a67d(0x105)](_0xb04b39=>_0xb04b39['id']===_0x2161b1);if(-0x1===_0x2a3249)return!0x1;let _0x340fbc=!0x1;const _0x20cb90=this[_0x29a67d(0x138)][_0x2a3249];return _0x29a67d(0x135)!==_0x20cb90[_0x29a67d(0xe4)][_0x29a67d(0x100)][_0x29a67d(0xec)]&&(_0x2863ec[_0x29a67d(0xfe)](_0x20cb90[_0x29a67d(0xe4)]),_0x340fbc=!0x0),this[_0x29a67d(0x138)][_0x29a67d(0x10f)](_0x2a3249,0x1),this[_0x29a67d(0x10b)](_0x2863ec,_0x2a3249)&&(_0x340fbc=!0x0),_0x340fbc;}[_0x52795a(0x10a)](_0xf50063,_0x29b70d){const _0x5dd03c=_0x52795a,_0x12a6d0=_0x29b70d[_0x5dd03c(0x113)](_0x5dd03c(0x114)),_0x4122aa=this[_0x5dd03c(0x138)][_0x5dd03c(0x105)](_0x5e8429=>_0x5e8429['id']===_0x12a6d0),_0x3dc5e6=this[_0x5dd03c(0x138)][_0x4122aa];let _0x4611b7=!0x1;_0x3dc5e6[_0x5dd03c(0xfc)]=_0x29b70d,this[_0x5dd03c(0x138)][_0x5dd03c(0x10f)](_0x4122aa,0x1);const _0x4f3835=I(this[_0x5dd03c(0xfa)][_0x5dd03c(0xf3)],this[_0x5dd03c(0x138)],_0x29b70d);return this[_0x5dd03c(0x138)][_0x5dd03c(0x10f)](_0x4f3835,0x0,_0x3dc5e6),this[_0x5dd03c(0x10b)](_0xf50063,Math[_0x5dd03c(0xfd)](_0x4122aa,_0x4f3835))&&(_0x4611b7=!0x0),_0x4611b7;}[_0x52795a(0xd3)](_0xc4b3cc,_0x198e81){const _0x2fbf85=_0x52795a;if(!this[_0x2fbf85(0xdf)])return!0x1;const _0x29e559=this[_0x2fbf85(0x138)][_0x198e81];let _0x2cd71b;return _0x2cd71b=this[_0x2fbf85(0x109)]?this[_0x2fbf85(0x109)]({'footnote':_0x29e559,'container':this[_0x2fbf85(0xdf)],'digits':String(this[_0x2fbf85(0x138)][_0x2fbf85(0xf7)])[_0x2fbf85(0xf7)],'value':_0x198e81+0x1}):String(_0x198e81+0x1),_0x29e559[_0x2fbf85(0xfc)][_0x2fbf85(0x113)](_0x2fbf85(0x116))!=_0x2cd71b&&(_0xc4b3cc[_0x2fbf85(0x101)](_0x2fbf85(0x116),_0x2cd71b,_0x29e559[_0x2fbf85(0xfc)]),!0x0);}[_0x52795a(0x11a)](_0x40caed){const _0x38aad8=_0x52795a;if(!this[_0x38aad8(0xdf)]||this[_0x38aad8(0x138)][_0x38aad8(0xf7)]<0x2)return!0x1;if(function(_0x1160ba,_0x327321){const _0x14696c=_0x38aad8;if(_0x1160ba[_0x14696c(0xf7)]!==_0x327321[_0x14696c(0xf7)])return!0x1;for(let _0x409d4c=0x0;_0x409d4c<_0x1160ba[_0x14696c(0xf7)];_0x409d4c++)if(_0x1160ba[_0x409d4c]!==_0x327321[_0x409d4c])return!0x1;return!0x0;}(this[_0x38aad8(0x138)][_0x38aad8(0x131)](_0x5b32b1=>_0x5b32b1['id']),Array[_0x38aad8(0x137)](this[_0x38aad8(0xdf)][_0x38aad8(0xdd)]())[_0x38aad8(0x131)](_0x50e08a=>_0x50e08a[_0x38aad8(0x113)](_0x38aad8(0x114)))))return!0x1;let _0x597283=!0x1;for(let _0x374e1c=0x0;_0x374e1c<this[_0x38aad8(0x138)][_0x38aad8(0xf7)];_0x374e1c++){const _0x392733=this[_0x38aad8(0x138)][_0x374e1c],_0x3c7905=_0x40caed[_0x38aad8(0x121)](_0x392733[_0x38aad8(0xe4)]),_0x5cb541=_0x40caed[_0x38aad8(0xe3)](this[_0x38aad8(0xdf)],_0x374e1c);_0x3c7905[_0x38aad8(0xff)](_0x5cb541)||(_0x40caed[_0x38aad8(0x124)](_0x40caed[_0x38aad8(0xde)](_0x392733[_0x38aad8(0xe4)]),_0x5cb541),_0x597283=!0x0);}return _0x597283;}[_0x52795a(0x133)](_0x26d3af){const _0x2293bd=_0x52795a;if(!this[_0x2293bd(0x138)][_0x2293bd(0xf7)])return!0x1;const {model:_0x537b28}=this[_0x2293bd(0xfa)];let _0x37415f=!0x1;for(let _0x1968cc=0x0;_0x1968cc<this[_0x2293bd(0x138)][_0x2293bd(0xf7)]-0x1;_0x1968cc++){const _0x2f5399=this[_0x2293bd(0x138)][_0x1968cc],_0x39a90b=this[_0x2293bd(0x138)][_0x1968cc+0x1],_0x5be18c=_0x537b28[_0x2293bd(0x121)](_0x2f5399[_0x2293bd(0xfc)]),_0x3f7f5c=_0x537b28[_0x2293bd(0x121)](_0x39a90b[_0x2293bd(0xfc)]);_0x2293bd(0x127)===_0x5be18c[_0x2293bd(0x130)](_0x3f7f5c)&&(this[_0x2293bd(0x10a)](_0x26d3af,_0x2f5399[_0x2293bd(0xfc)]),_0x1968cc=-0x1,_0x37415f=!0x0);}return _0x37415f;}}function _(_0x3bc4ae,_0xc56c49,_0x267b74){const _0x409e18=_0x52795a;if(_0x267b74[_0x409e18(0xf5)])return!0x1;const _0x180956=_0xc56c49?_0x409e18(0x107):_0x409e18(0x11c);return _0x3bc4ae[_0x409e18(0x102)](_0x3bc4ae[_0x409e18(0xf1)](_0x180956),_0x267b74),!0x0;}function I(_0x3f5b13,_0x656462,_0xe93c2a){const _0x2a46f2=_0x52795a;if(0x0===_0x656462[_0x2a46f2(0xf7)])return 0x0;const _0x32d3bd=_0x3f5b13[_0x2a46f2(0x121)](_0xe93c2a);for(let _0x2da2e5=0x0;_0x2da2e5<_0x656462[_0x2a46f2(0xf7)];_0x2da2e5++){const _0x43d597=_0x656462[_0x2da2e5],_0x545159=_0x3f5b13[_0x2a46f2(0x121)](_0x43d597[_0x2a46f2(0xfc)]);if(_0x2a46f2(0x12c)===_0x32d3bd[_0x2a46f2(0x130)](_0x545159))return _0x2da2e5;}const _0x3e6bd8=_0xe93c2a[_0x2a46f2(0x100)];let _0x29e785=-0x1;for(let _0xbb12d6=_0x656462[_0x2a46f2(0xf7)]-0x1;_0xbb12d6>=0x0;_0xbb12d6--)if(_0x656462[_0xbb12d6][_0x2a46f2(0xfc)][_0x2a46f2(0x100)]===_0x3e6bd8){_0x29e785=_0xbb12d6;break;}if(-0x1!==_0x29e785)return _0x29e785+0x1;const _0x4b0504=_0x3f5b13[_0x2a46f2(0x139)][_0x2a46f2(0xef)](),_0x4df630=_0x4b0504[_0x2a46f2(0x126)](_0x3e6bd8[_0x2a46f2(0xec)]),_0x20a352=_0x4b0504[_0x4df630+0x1];if(_0x20a352){for(let _0x4fd522=0x0;_0x4fd522<_0x656462[_0x2a46f2(0xf7)];_0x4fd522++)if(_0x656462[_0x4fd522][_0x2a46f2(0xfc)][_0x2a46f2(0x100)][_0x2a46f2(0xec)]===_0x20a352)return _0x4fd522;}return _0x656462[_0x2a46f2(0xf7)];}function _0x1b48(_0x36ce3e,_0x3e1edd){const _0x37ef5b=_0x37ef();return _0x1b48=function(_0x1b481d,_0x6f204e){_0x1b481d=_0x1b481d-0xd3;let _0x2800fc=_0x37ef5b[_0x1b481d];return _0x2800fc;},_0x1b48(_0x36ce3e,_0x3e1edd);}function _0x37ef(){const _0x274bab=['_handleFootnoteReferencesChanges','1032556UGfjER','_handleFootnotesDefinitionsObjectSync','rootName','2HWrPpb','listenTo','getRootNames','438qvJRcz','createElement','footnoteRef','model','_insertEmptyFootnotesDefinitionsContainer','childCount','config','length','enqueueChange','footnotesDefinitions','editor','some','reference','min','remove','isEqual','root','setAttribute','insert','getFootnotesFormatter','low','findIndex','has','paragraph','init','_footnoteFormatter','_handleMovedFootnoteReference','_updateFootnotesCounters','unshift','change:data','add','splice','isOfficialPlugin','2194332orGMGE','footnoteDefinition','getAttribute','footnoteId','351oBqXWv','footnoteCounter','_footnoteDefsTracker','differ','parent','_sortFootnoteDefinitions','_footnoteDefsContainerTracker','footnoteInlineContent','_ensureFootnotesDefinitionsContainerExists','getChanges','getFootnote','end','createPositionBefore','isPremiumPlugin','_handleFootnoteDefinitionsChanges','move','2576329IbJcNb','indexOf','after','append','pluginName','1424dZJzMG','reset','before','singleton','FootnotesTracker','set','compareWith','map','_handleRemoveFootnoteReferenceById','_ensureFootnotesReferencesHaveProperOrder','3606GBspLP','$graveyard','_footnoteRefsTracker','from','_footnotes','document','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectChanges','registerPostFixer','getFootnotes','push','high','48245cGjGaR','createRangeIn','83392fjxoBL','1026440DmOxJO','getChildren','createRangeOn','_footnotesDefinitions','find','_handleInsertedFootnoteReference','footnotes.multiBlock','createPositionAt','definition','55JiIhDL','get','setFootnoteFormatter','getFootnotesDefinitionsObjectElement'];_0x37ef=function(){return _0x274bab;};return _0x37ef();}
23
+ const _0x324bc3=_0x2067;(function(_0x17e7be,_0x1e3ee6){const _0x4a26a=_0x2067,_0x4f75c5=_0x17e7be();while(!![]){try{const _0x86d996=-parseInt(_0x4a26a(0x183))/0x1+-parseInt(_0x4a26a(0x187))/0x2*(-parseInt(_0x4a26a(0x15f))/0x3)+parseInt(_0x4a26a(0x16a))/0x4*(-parseInt(_0x4a26a(0x177))/0x5)+-parseInt(_0x4a26a(0x16f))/0x6*(parseInt(_0x4a26a(0x195))/0x7)+-parseInt(_0x4a26a(0x198))/0x8+-parseInt(_0x4a26a(0x15b))/0x9*(-parseInt(_0x4a26a(0x175))/0xa)+parseInt(_0x4a26a(0x179))/0xb;if(_0x86d996===_0x1e3ee6)break;else _0x4f75c5['push'](_0x4f75c5['shift']());}catch(_0x1d9788){_0x4f75c5['push'](_0x4f75c5['shift']());}}}(_0x1064,0x79346));function _0x1064(){const _0x5e8fcd=['init','setFootnoteFormatter','remove','22YhaBOF','getFootnotesDefinitionsObjectElement','createElement','_ensureFootnotesReferencesHaveProperOrder','_updateFootnoteRefCounter','_sortFootnoteDefinitions','min','createRangeOn','_footnoteDefsContainerTracker','add','getChildren','indexOf','registerPostFixer','_handleFootnoteDefinitionsChanges','77xMDuhs','compareWith','enqueueChange','6502528HNVEFl','differ','rootName','from','_updateFootnotesCounters','move','footnoteCounter','footnoteId','_handleFootnotesDefinitionsObjectSync','high','$graveyard','low','footnotesDefinitions','pluginName','isOfficialPlugin','has','append','map','_handleFootnotesDefinitionsObjectChanges','childCount','_ensureFootnotesDefinitionsContainerExists','editor','footnoteRef','find','getAttribute','footnoteInlineContent','splice','definition','paragraph','parent','_handleMovedFootnoteReference','getChanges','unshift','listenTo','isPremiumPlugin','getFootnotesFormatter','length','singleton','setAttribute','model','_footnoteRefsTracker','99icGCil','_footnotes','FootnotesTracker','change:data','168495DMtoXo','_footnotesDefinitions','reset','_footnoteDefsTracker','isEqual','config','some','reference','document','push','_handleRemoveFootnoteReferenceById','4CtxCza','insert','getRootNames','createRangeIn','footnotes.multiBlock','197148VPUSYD','end','root','_footnoteFormatter','after','_handleFootnoteReferencesChanges','671170anbjdx','footnoteDefinition','1496265uvPwyt','findIndex','12221979VFBuNQ','createPositionAt','_handleInsertedFootnoteReference','before','set','getFootnote','get','_insertEmptyFootnotesDefinitionsContainer','createPositionBefore','getFootnotes','497230DeiNMB'];_0x1064=function(){return _0x5e8fcd;};return _0x1064();}function _0x2067(_0x2ad522,_0x5b9652){const _0x1064a3=_0x1064();return _0x2067=function(_0x206715,_0x284df0){_0x206715=_0x206715-0x159;let _0x674bdc=_0x1064a3[_0x206715];return _0x674bdc;},_0x2067(_0x2ad522,_0x5b9652);}import{Plugin as _0x1886f1}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4603e5}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1886f1{[_0x324bc3(0x15c)]=[];[_0x324bc3(0x160)]=null;[_0x324bc3(0x172)]=null;[_0x324bc3(0x18f)];[_0x324bc3(0x15a)];[_0x324bc3(0x162)];static get[_0x324bc3(0x1a5)](){const _0x5555be=_0x324bc3;return _0x5555be(0x15d);}static get[_0x324bc3(0x1a6)](){return!0x0;}static get[_0x324bc3(0x1ba)](){return!0x0;}constructor(_0x7b9d){const _0x4316eb=_0x324bc3;super(_0x7b9d),this[_0x4316eb(0x18f)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x1a4),'getElementKey':()=>_0x4316eb(0x1bd)}),this[_0x4316eb(0x15a)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x1ae),'getElementKey':_0x23f568=>_0x23f568[_0x4316eb(0x1b0)](_0x4316eb(0x19f))}),this[_0x4316eb(0x162)]=new _0x4603e5(this[_0x4316eb(0x1ad)][_0x4316eb(0x159)],{'elementName':_0x4316eb(0x176),'getElementKey':_0x3e5952=>_0x3e5952[_0x4316eb(0x1b0)](_0x4316eb(0x19f))});}[_0x324bc3(0x184)](){const _0x44db05=_0x324bc3,{editor:_0x2de031}=this,{model:_0x38317d,data:_0x1520ad}=_0x2de031;_0x38317d[_0x44db05(0x167)][_0x44db05(0x193)](_0x2f63f4=>{const _0x3d7217=_0x44db05,_0x1043f1=_0x38317d[_0x3d7217(0x167)][_0x3d7217(0x199)][_0x3d7217(0x1b7)]();let _0x1f1e64=!0x1;return this[_0x3d7217(0x1aa)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x194)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x174)](_0x2f63f4,_0x1043f1)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x18a)](_0x2f63f4)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x1a0)](_0x2f63f4)&&(_0x1f1e64=!0x0),this[_0x3d7217(0x18c)](_0x2f63f4)&&(_0x1f1e64=!0x0),_0x1f1e64;}),this[_0x44db05(0x1b9)](_0x38317d[_0x44db05(0x167)],_0x44db05(0x15e),()=>{const _0x38f2b7=_0x44db05;_0x38317d[_0x38f2b7(0x197)]({'isUndoable':!0x1},_0x420b9d=>{const _0x406e41=_0x38f2b7;this[_0x406e41(0x1ac)](_0x420b9d);});},{'priority':_0x44db05(0x1a3)}),this[_0x44db05(0x1b9)](_0x1520ad,_0x44db05(0x17d),()=>{const _0x3c969b=_0x44db05;this[_0x3c969b(0x15c)]=[],this[_0x3c969b(0x18f)][_0x3c969b(0x161)](),this[_0x3c969b(0x15a)][_0x3c969b(0x161)](),this[_0x3c969b(0x162)][_0x3c969b(0x161)]();},{'priority':_0x44db05(0x1a1)});}[_0x324bc3(0x188)](){const _0xc8c502=_0x324bc3;return this[_0xc8c502(0x160)];}[_0x324bc3(0x17e)](_0x595b44){const _0x4027ee=_0x324bc3;return this[_0x4027ee(0x15c)][_0x4027ee(0x1af)](_0x530a7e=>_0x530a7e['id']===_0x595b44)||null;}[_0x324bc3(0x182)](){const _0x62085f=_0x324bc3;return Array[_0x62085f(0x19b)](this[_0x62085f(0x15c)]);}[_0x324bc3(0x1bb)](){const _0x98a4f5=_0x324bc3;return this[_0x98a4f5(0x172)];}[_0x324bc3(0x185)](_0x1f21ea){const _0x18d474=_0x324bc3;this[_0x18d474(0x172)]=_0x1f21ea;}[_0x324bc3(0x19c)](_0x457091,_0x14e97b=0x0){const _0xae473f=_0x324bc3;let _0x442433=!0x1;for(let _0x11a6a6=_0x14e97b;_0x11a6a6<this[_0xae473f(0x15c)][_0xae473f(0x1bc)];_0x11a6a6++)this[_0xae473f(0x18b)](_0x457091,_0x11a6a6)&&(_0x442433=!0x0);return _0x442433;}[_0x324bc3(0x180)](_0x55fb13,_0x16cf48){const _0x309264=_0x324bc3,_0x162e18=_0x55fb13[_0x309264(0x189)](_0x309264(0x1a4),{});return _0x55fb13[_0x309264(0x1a8)](_0x162e18,_0x16cf48),this[_0x309264(0x160)]=_0x162e18,_0x162e18;}[_0x324bc3(0x1ac)](_0x52a06c){const _0x508118=_0x324bc3;if(!this[_0x508118(0x15c)][_0x508118(0x1bc)]||this[_0x508118(0x160)])return;const _0x393f0e=this[_0x508118(0x15c)][0x0][_0x508118(0x166)][_0x508118(0x171)],_0x185004=this[_0x508118(0x180)](_0x52a06c,_0x393f0e);for(const _0x1d79d3 of this[_0x508118(0x15c)])_0x1d79d3[_0x508118(0x1b3)][_0x508118(0x1b5)]||_0x52a06c[_0x508118(0x16b)](_0x1d79d3[_0x508118(0x1b3)],_0x185004,_0x508118(0x170));this[_0x508118(0x19c)](_0x52a06c);}[_0x324bc3(0x1aa)](_0x2e132e,_0x392775){const _0x3c3e1a=_0x324bc3;let _0x456c4a=!0x1;const {inserted:_0x58d992,removed:_0x512778,moved:_0x368610}=this[_0x3c3e1a(0x18f)][_0x3c3e1a(0x1b7)](_0x392775);if(_0x368610[_0x3c3e1a(0x1bc)]&&(this[_0x3c3e1a(0x160)]=_0x368610[0x0]),_0x58d992[_0x3c3e1a(0x1bc)]){if(_0x58d992[_0x3c3e1a(0x1bc)]>0x1||this[_0x3c3e1a(0x160)]&&_0x58d992[_0x3c3e1a(0x165)](_0x29ae73=>_0x29ae73!==this[_0x3c3e1a(0x160)])){const _0x263cc0=_0x2e132e[_0x3c3e1a(0x189)](_0x3c3e1a(0x1a4),{}),_0x50814e=[];this[_0x3c3e1a(0x160)]&&_0x50814e[_0x3c3e1a(0x168)](this[_0x3c3e1a(0x160)]),_0x50814e[_0x3c3e1a(0x168)](..._0x58d992),_0x2e132e[_0x3c3e1a(0x16b)](_0x263cc0,_0x50814e[0x0],_0x3c3e1a(0x17c));for(const _0x4f923d of _0x50814e)_0x2e132e[_0x3c3e1a(0x19d)](_0x2e132e[_0x3c3e1a(0x16d)](_0x4f923d),_0x2e132e[_0x3c3e1a(0x17a)](_0x263cc0,_0x3c3e1a(0x170))),_0x2e132e[_0x3c3e1a(0x186)](_0x4f923d);this[_0x3c3e1a(0x160)]=_0x263cc0,this[_0x3c3e1a(0x19c)](_0x2e132e),_0x456c4a=!0x0;}else this[_0x3c3e1a(0x160)]=_0x58d992[0x0];}if(_0x512778[_0x3c3e1a(0x1bc)]&&_0x3c3e1a(0x1a2)===this[_0x3c3e1a(0x160)]?.[_0x3c3e1a(0x171)][_0x3c3e1a(0x19a)]){for(const _0x5857c5 of this[_0x3c3e1a(0x15c)])_0x2e132e[_0x3c3e1a(0x186)](_0x5857c5[_0x3c3e1a(0x166)]),_0x456c4a=!0x0;this[_0x3c3e1a(0x15c)]=[],this[_0x3c3e1a(0x160)]=null;}return _0x456c4a;}[_0x324bc3(0x194)](_0xba83e1,_0x3bf294){const _0x150133=_0x324bc3;let _0xdc5817=!0x1;const _0x1db92d=this[_0x150133(0x1ad)][_0x150133(0x164)][_0x150133(0x17f)](_0x150133(0x16e)),{inserted:_0x18b35,moved:_0x203170}=this[_0x150133(0x162)][_0x150133(0x1b7)](_0x3bf294);for(const _0x33d3c8 of[..._0x203170,..._0x18b35]){const _0x47a359=_0x33d3c8[_0x150133(0x1b0)](_0x150133(0x19f)),_0xde7324=this[_0x150133(0x17e)](_0x47a359);_0xde7324&&(_0xde7324[_0x150133(0x1b3)]=_0x33d3c8),_(_0xba83e1,_0x1db92d,_0x33d3c8)&&(_0xdc5817=!0x0);}return _0xdc5817;}[_0x324bc3(0x174)](_0x429ea6,_0x3f8ded){const _0x4a1e91=_0x324bc3;let _0x3db971=!0x1;const {removed:_0x352b01,inserted:_0x3fc5df,moved:_0x14b54b}=this[_0x4a1e91(0x15a)][_0x4a1e91(0x1b7)](_0x3f8ded);for(const _0x2922bd of _0x352b01)this[_0x4a1e91(0x169)](_0x429ea6,_0x2922bd)&&(_0x3db971=!0x0);for(const _0x56d51c of _0x3fc5df)this[_0x4a1e91(0x17b)](_0x429ea6,_0x56d51c)&&(_0x3db971=!0x0);for(const _0x85bf75 of _0x14b54b)this[_0x4a1e91(0x1b6)](_0x429ea6,_0x85bf75)&&(_0x3db971=!0x0);return _0x3db971;}[_0x324bc3(0x1a0)](_0xa32d78){const _0x23de73=_0x324bc3;if(!this[_0x23de73(0x160)])return!0x1;let _0x26e413=!0x1;if(this[_0x23de73(0x160)][_0x23de73(0x1ab)]!==this[_0x23de73(0x15c)][_0x23de73(0x1bc)]){const _0x38ae26=[];for(const _0x3ccad3 of this[_0x23de73(0x160)][_0x23de73(0x191)]()){const _0x4bb14d=_0x3ccad3[_0x23de73(0x1b0)](_0x23de73(0x19f));this[_0x23de73(0x17e)](_0x4bb14d)||(_0x38ae26[_0x23de73(0x1b8)](_0x3ccad3),_0x26e413=!0x0);}for(const _0x3e07d6 of _0x38ae26)_0xa32d78[_0x23de73(0x186)](_0x3e07d6);}const _0x44eb95=new Set(),_0x4412d4=[];for(const _0x56c6be of this[_0x23de73(0x160)][_0x23de73(0x191)]()){const _0xaf1eb7=_0x56c6be[_0x23de73(0x1b0)](_0x23de73(0x19f));_0x44eb95[_0x23de73(0x1a7)](_0xaf1eb7)?(_0x4412d4[_0x23de73(0x1b8)](_0x56c6be),_0x26e413=!0x0):_0x44eb95[_0x23de73(0x190)](_0xaf1eb7);}for(const _0x3af4c6 of _0x4412d4)_0xa32d78[_0x23de73(0x186)](_0x3af4c6);return this[_0x23de73(0x160)][_0x23de73(0x1ab)]||(_0xa32d78[_0x23de73(0x186)](this[_0x23de73(0x160)]),this[_0x23de73(0x160)]=null,_0x26e413=!0x0),_0x26e413;}[_0x324bc3(0x17b)](_0x2c6e76,_0x1bf569){const _0xf48baa=_0x324bc3;if(this[_0xf48baa(0x15c)][_0xf48baa(0x1af)](_0x1676bf=>_0x1676bf[_0xf48baa(0x166)]===_0x1bf569))return!0x1;let _0x342231=!0x1;const _0x23f2d4=_0x1bf569[_0xf48baa(0x1b0)](_0xf48baa(0x19f)),_0x3ea465=this[_0xf48baa(0x15c)][_0xf48baa(0x178)](_0x3a9675=>_0x3a9675['id']===_0x23f2d4);-0x1!==_0x3ea465&&(_0x2c6e76[_0xf48baa(0x186)](this[_0xf48baa(0x15c)][_0x3ea465][_0xf48baa(0x166)]),this[_0xf48baa(0x15c)][_0xf48baa(0x1b2)](_0x3ea465,0x1),_0x342231=!0x0);let _0x14e8f6=this[_0xf48baa(0x160)]?function(_0x294233,_0x19b951){const _0x4138f1=_0xf48baa;for(const _0x17b4b5 of _0x294233[_0x4138f1(0x191)]())if(_0x17b4b5[_0x4138f1(0x1b0)](_0x4138f1(0x19f))===_0x19b951)return _0x17b4b5;return null;}(this[_0xf48baa(0x160)],_0x23f2d4):null;_0x14e8f6||(_0x14e8f6=_0x2c6e76[_0xf48baa(0x189)](_0xf48baa(0x176),{'footnoteId':_0x23f2d4}),this[_0xf48baa(0x160)]&&(_0x2c6e76[_0xf48baa(0x16b)](_0x14e8f6,this[_0xf48baa(0x160)],_0xf48baa(0x170)),_0x342231=!0x0));const _0x174634={'id':_0x23f2d4,'reference':_0x1bf569,'definition':_0x14e8f6},_0x5cad4a=I(this[_0xf48baa(0x1ad)][_0xf48baa(0x159)],this[_0xf48baa(0x15c)],_0x1bf569);this[_0xf48baa(0x15c)][_0xf48baa(0x1b2)](_0x5cad4a,0x0,_0x174634);let _0x1c248c=_0x5cad4a;return-0x1!==_0x3ea465&&(_0x1c248c=Math[_0xf48baa(0x18d)](_0x5cad4a,_0x3ea465)),this[_0xf48baa(0x19c)](_0x2c6e76,_0x1c248c)&&(_0x342231=!0x0),_0x342231;}[_0x324bc3(0x169)](_0x545c6c,_0x419c8c){const _0xefc9ff=_0x324bc3,_0x2bf1ed=this[_0xefc9ff(0x15c)][_0xefc9ff(0x178)](_0x3474e0=>_0x3474e0['id']===_0x419c8c);if(-0x1===_0x2bf1ed)return!0x1;let _0x32fd96=!0x1;const _0xc089f8=this[_0xefc9ff(0x15c)][_0x2bf1ed];return _0xefc9ff(0x1a2)!==_0xc089f8[_0xefc9ff(0x1b3)][_0xefc9ff(0x171)][_0xefc9ff(0x19a)]&&(_0x545c6c[_0xefc9ff(0x186)](_0xc089f8[_0xefc9ff(0x1b3)]),_0x32fd96=!0x0),this[_0xefc9ff(0x15c)][_0xefc9ff(0x1b2)](_0x2bf1ed,0x1),this[_0xefc9ff(0x19c)](_0x545c6c,_0x2bf1ed)&&(_0x32fd96=!0x0),_0x32fd96;}[_0x324bc3(0x1b6)](_0x306126,_0x30b2cd){const _0x2c1cd8=_0x324bc3,_0x339882=_0x30b2cd[_0x2c1cd8(0x1b0)](_0x2c1cd8(0x19f)),_0x36d7f9=this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x178)](_0x23fbe5=>_0x23fbe5['id']===_0x339882),_0x3764d4=this[_0x2c1cd8(0x15c)][_0x36d7f9];let _0x1cc749=!0x1;_0x3764d4[_0x2c1cd8(0x166)]=_0x30b2cd,this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x1b2)](_0x36d7f9,0x1);const _0x30f031=I(this[_0x2c1cd8(0x1ad)][_0x2c1cd8(0x159)],this[_0x2c1cd8(0x15c)],_0x30b2cd);return this[_0x2c1cd8(0x15c)][_0x2c1cd8(0x1b2)](_0x30f031,0x0,_0x3764d4),this[_0x2c1cd8(0x19c)](_0x306126,Math[_0x2c1cd8(0x18d)](_0x36d7f9,_0x30f031))&&(_0x1cc749=!0x0),_0x1cc749;}[_0x324bc3(0x18b)](_0x51d191,_0x11652b){const _0x1b4537=_0x324bc3;if(!this[_0x1b4537(0x160)])return!0x1;const _0x5182c7=this[_0x1b4537(0x15c)][_0x11652b];let _0x3f84d2;return _0x3f84d2=this[_0x1b4537(0x172)]?this[_0x1b4537(0x172)]({'footnote':_0x5182c7,'container':this[_0x1b4537(0x160)],'digits':String(this[_0x1b4537(0x15c)][_0x1b4537(0x1bc)])[_0x1b4537(0x1bc)],'value':_0x11652b+0x1}):String(_0x11652b+0x1),_0x5182c7[_0x1b4537(0x166)][_0x1b4537(0x1b0)](_0x1b4537(0x19e))!=_0x3f84d2&&(_0x51d191[_0x1b4537(0x1be)](_0x1b4537(0x19e),_0x3f84d2,_0x5182c7[_0x1b4537(0x166)]),!0x0);}[_0x324bc3(0x18c)](_0x39bc73){const _0x331581=_0x324bc3;if(!this[_0x331581(0x160)]||this[_0x331581(0x15c)][_0x331581(0x1bc)]<0x2)return!0x1;if(function(_0x13aaab,_0xa32739){const _0x2ea33d=_0x331581;if(_0x13aaab[_0x2ea33d(0x1bc)]!==_0xa32739[_0x2ea33d(0x1bc)])return!0x1;for(let _0x555031=0x0;_0x555031<_0x13aaab[_0x2ea33d(0x1bc)];_0x555031++)if(_0x13aaab[_0x555031]!==_0xa32739[_0x555031])return!0x1;return!0x0;}(this[_0x331581(0x15c)][_0x331581(0x1a9)](_0x16c45=>_0x16c45['id']),Array[_0x331581(0x19b)](this[_0x331581(0x160)][_0x331581(0x191)]())[_0x331581(0x1a9)](_0x34f6d5=>_0x34f6d5[_0x331581(0x1b0)](_0x331581(0x19f)))))return!0x1;let _0x3b77ad=!0x1;for(let _0x378861=0x0;_0x378861<this[_0x331581(0x15c)][_0x331581(0x1bc)];_0x378861++){const _0xc05000=this[_0x331581(0x15c)][_0x378861],_0x27dd00=_0x39bc73[_0x331581(0x181)](_0xc05000[_0x331581(0x1b3)]),_0x55946f=_0x39bc73[_0x331581(0x17a)](this[_0x331581(0x160)],_0x378861);_0x27dd00[_0x331581(0x163)](_0x55946f)||(_0x39bc73[_0x331581(0x19d)](_0x39bc73[_0x331581(0x18e)](_0xc05000[_0x331581(0x1b3)]),_0x55946f),_0x3b77ad=!0x0);}return _0x3b77ad;}[_0x324bc3(0x18a)](_0x3f293f){const _0x1a7778=_0x324bc3;if(!this[_0x1a7778(0x15c)][_0x1a7778(0x1bc)])return!0x1;const {model:_0x19ccc2}=this[_0x1a7778(0x1ad)];let _0x1903de=!0x1;for(let _0x27b79f=0x0;_0x27b79f<this[_0x1a7778(0x15c)][_0x1a7778(0x1bc)]-0x1;_0x27b79f++){const _0x278dc6=this[_0x1a7778(0x15c)][_0x27b79f],_0x5f4d62=this[_0x1a7778(0x15c)][_0x27b79f+0x1],_0x340b43=_0x19ccc2[_0x1a7778(0x181)](_0x278dc6[_0x1a7778(0x166)]),_0x1322ba=_0x19ccc2[_0x1a7778(0x181)](_0x5f4d62[_0x1a7778(0x166)]);_0x1a7778(0x173)===_0x340b43[_0x1a7778(0x196)](_0x1322ba)&&(this[_0x1a7778(0x1b6)](_0x3f293f,_0x278dc6[_0x1a7778(0x166)]),_0x27b79f=-0x1,_0x1903de=!0x0);}return _0x1903de;}}function _(_0x2f53ab,_0x465c30,_0x5a5a37){const _0xde6dcf=_0x324bc3;if(_0x5a5a37[_0xde6dcf(0x1ab)])return!0x1;const _0x42b9b9=_0x465c30?_0xde6dcf(0x1b4):_0xde6dcf(0x1b1);return _0x2f53ab[_0xde6dcf(0x16b)](_0x2f53ab[_0xde6dcf(0x189)](_0x42b9b9),_0x5a5a37),!0x0;}function I(_0x4ecee2,_0x332214,_0x58d096){const _0x423176=_0x324bc3;if(0x0===_0x332214[_0x423176(0x1bc)])return 0x0;const _0x2b7e7b=_0x4ecee2[_0x423176(0x181)](_0x58d096);for(let _0x2b4bad=0x0;_0x2b4bad<_0x332214[_0x423176(0x1bc)];_0x2b4bad++){const _0x27a5af=_0x332214[_0x2b4bad],_0x40202a=_0x4ecee2[_0x423176(0x181)](_0x27a5af[_0x423176(0x166)]);if(_0x423176(0x17c)===_0x2b7e7b[_0x423176(0x196)](_0x40202a))return _0x2b4bad;}const _0xb9f673=_0x58d096[_0x423176(0x171)];let _0x2e38be=-0x1;for(let _0x117a58=_0x332214[_0x423176(0x1bc)]-0x1;_0x117a58>=0x0;_0x117a58--)if(_0x332214[_0x117a58][_0x423176(0x166)][_0x423176(0x171)]===_0xb9f673){_0x2e38be=_0x117a58;break;}if(-0x1!==_0x2e38be)return _0x2e38be+0x1;const _0x3ee90f=_0x4ecee2[_0x423176(0x167)][_0x423176(0x16c)](),_0xe6756c=_0x3ee90f[_0x423176(0x192)](_0xb9f673[_0x423176(0x19a)]),_0x74bf57=_0x3ee90f[_0xe6756c+0x1];if(_0x74bf57){for(let _0x1f7904=0x0;_0x1f7904<_0x332214[_0x423176(0x1bc)];_0x1f7904++)if(_0x332214[_0x1f7904][_0x423176(0x166)][_0x423176(0x171)][_0x423176(0x19a)]===_0x74bf57)return _0x1f7904;}return _0x332214[_0x423176(0x1bc)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2ba118,MenuBarMenuListItemButtonView as _0x74beb4}from'ckeditor5/src/ui.js';import{Plugin as _0x2bc673}from'ckeditor5/src/core.js';import{IconFootnote as _0x18f514}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2bc673{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x524c55}=this,{componentFactory:_0xd5e8b9}=_0x524c55['ui'];_0xd5e8b9['add']('insertFootnote',x(_0x524c55,_0x2ba118)),_0xd5e8b9['add']('menuBar:insertFootnote',x(_0x524c55,_0x74beb4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49cc17=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39d47d;for(const _0x2f601c in _0x49cc17){const _0x3fcd00=_0x2f601c,_0x251c1a=_0x49cc17[_0x3fcd00];if('footnotesLicenseKeyValid'==_0x251c1a||'footnotesLicenseKeyInvalid'==_0x251c1a||'footnotesLicenseKeyExpired'==_0x251c1a||'footnotesLicenseKeyDomainLimit'==_0x251c1a||'footnotesLicenseKeyNotAllowed'==_0x251c1a||'footnotesLicenseKeyEvaluationLimit'==_0x251c1a||'footnotesLicenseKeyTrialLimit'==_0x251c1a||'footnotesLicenseKeyUsageLimit'==_0x251c1a){delete _0x49cc17[_0x3fcd00],_0x39d47d=_0x251c1a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x39d47d&&_0x49cc17['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x39d47d&&_0x49cc17['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x39d47d&&_0x49cc17['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x527b33,_0x25ebbb){const _0xd021f9=_0x527b33['commands']['get']('insertFootnote');return _0xc0f01c=>{const {t:t}=_0xc0f01c,_0xaac9f7=new _0x25ebbb(_0xc0f01c),_0x579f9d=_0xaac9f7 instanceof _0x74beb4;return _0xaac9f7['bind']('isEnabled')['to'](_0xd021f9,'isEnabled'),_0xaac9f7['set']({'label':t(_0x579f9d?'Footnote':'Insert\x20footnote'),'icon':_0x18f514,'tooltip':!0x0}),_0xaac9f7['on']('execute',()=>{_0xd021f9['execute'](),_0x527b33['editing']['view']['focus']();}),_0xaac9f7;};}
23
+ import{ButtonView as _0x2968d9,MenuBarMenuListItemButtonView as _0x28c102}from'ckeditor5/src/ui.js';import{Plugin as _0x351b89}from'ckeditor5/src/core.js';import{IconFootnote as _0x5e6786}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x351b89{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5b53a0}=this,{componentFactory:_0xc62f98}=_0x5b53a0['ui'];_0xc62f98['add']('insertFootnote',x(_0x5b53a0,_0x2968d9)),_0xc62f98['add']('menuBar:insertFootnote',x(_0x5b53a0,_0x28c102)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3101d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x58b54f;for(const _0x1e78a9 in _0x3101d9){const _0x3cb530=_0x1e78a9,_0x43128f=_0x3101d9[_0x3cb530];if('footnotesLicenseKeyValid'==_0x43128f||'footnotesLicenseKeyInvalid'==_0x43128f||'footnotesLicenseKeyExpired'==_0x43128f||'footnotesLicenseKeyDomainLimit'==_0x43128f||'footnotesLicenseKeyNotAllowed'==_0x43128f||'footnotesLicenseKeyEvaluationLimit'==_0x43128f||'footnotesLicenseKeyTrialLimit'==_0x43128f||'footnotesLicenseKeyUsageLimit'==_0x43128f){delete _0x3101d9[_0x3cb530],_0x58b54f=_0x43128f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x58b54f&&_0x3101d9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x58b54f&&_0x3101d9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x58b54f&&_0x3101d9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x58b54f&&_0x3101d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x36f25c,_0x358267){const _0x57f448=_0x36f25c['commands']['get']('insertFootnote');return _0x203228=>{const {t:t}=_0x203228,_0x2c6fd9=new _0x358267(_0x203228),_0x21c5bb=_0x2c6fd9 instanceof _0x28c102;return _0x2c6fd9['bind']('isEnabled')['to'](_0x57f448,'isEnabled'),_0x2c6fd9['set']({'label':t(_0x21c5bb?'Footnote':'Insert\x20footnote'),'icon':_0x5e6786,'tooltip':!0x0}),_0x2c6fd9['on']('execute',()=>{_0x57f448['execute'](),_0x36f25c['editing']['view']['focus']();}),_0x2c6fd9;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30ee0e,_0xcd945a){var _0x3cd454=_0x5ba3,_0x2394ac=_0x30ee0e();while(!![]){try{var _0x2b6b93=parseInt(_0x3cd454(0x142))/0x1+-parseInt(_0x3cd454(0x13b))/0x2+-parseInt(_0x3cd454(0x141))/0x3*(-parseInt(_0x3cd454(0x13f))/0x4)+parseInt(_0x3cd454(0x13a))/0x5*(parseInt(_0x3cd454(0x13c))/0x6)+-parseInt(_0x3cd454(0x140))/0x7+parseInt(_0x3cd454(0x13d))/0x8*(-parseInt(_0x3cd454(0x13e))/0x9)+-parseInt(_0x3cd454(0x139))/0xa;if(_0x2b6b93===_0xcd945a)break;else _0x2394ac['push'](_0x2394ac['shift']());}catch(_0x5c64c3){_0x2394ac['push'](_0x2394ac['shift']());}}}(_0x1f22,0xaefc0));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';function _0x5ba3(_0x460878,_0x5e1e45){var _0x1f22b8=_0x1f22();return _0x5ba3=function(_0x5ba30e,_0x20882f){_0x5ba30e=_0x5ba30e-0x139;var _0x40611f=_0x1f22b8[_0x5ba30e];return _0x40611f;},_0x5ba3(_0x460878,_0x5e1e45);}export{FootnotesTracker}from'./footnotestracker.js';function _0x1f22(){var _0x160575=['1224349ivhqEG','3OYXBss','418649SzdhYl','195840JJFhBx','265CyvxCv','121726yVRosj','3114oLNFTz','8jPXNRX','895959qkBGcF','2501940EGSqxW'];_0x1f22=function(){return _0x160575;};return _0x1f22();}export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x4efd0f,_0x792b5b){var _0x54a0d7=_0x2b9c,_0x2a2ac6=_0x4efd0f();while(!![]){try{var _0x30a2a1=parseInt(_0x54a0d7(0x159))/0x1+-parseInt(_0x54a0d7(0x154))/0x2+parseInt(_0x54a0d7(0x150))/0x3+-parseInt(_0x54a0d7(0x157))/0x4*(parseInt(_0x54a0d7(0x152))/0x5)+parseInt(_0x54a0d7(0x155))/0x6*(-parseInt(_0x54a0d7(0x156))/0x7)+parseInt(_0x54a0d7(0x151))/0x8*(parseInt(_0x54a0d7(0x153))/0x9)+-parseInt(_0x54a0d7(0x158))/0xa;if(_0x30a2a1===_0x792b5b)break;else _0x2a2ac6['push'](_0x2a2ac6['shift']());}catch(_0x10212c){_0x2a2ac6['push'](_0x2a2ac6['shift']());}}}(_0x23c2,0x3147f));function _0x2b9c(_0x4b7811,_0x15df7c){var _0x23c207=_0x23c2();return _0x2b9c=function(_0x2b9cc0,_0x13ed14){_0x2b9cc0=_0x2b9cc0-0x150;var _0x449ca3=_0x23c207[_0x2b9cc0];return _0x449ca3;},_0x2b9c(_0x4b7811,_0x15df7c);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x23c2(){var _0x1d142a=['120086DkZXYI','5910FDsdWN','595MbMSCW','10944LWVUkf','2890890prFnOh','316312FHKLqq','985197UDaYVd','1889928jYvPri','450EQjCMZ','9ErvRHS'];_0x23c2=function(){return _0x1d142a;};return _0x23c2();}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';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc004(){const _0x46fb2a=['flat','$graveyard','487256evnhHm','_getElementKey','values','getItems','6fVXNOV','nodeAfter','delete','name','push','_model','reset','root','clear','24ZAXemC','position','add','attributes','3953990cGRguc','1058BEvknq','insert','from','rootName','set','length','remove','type','createRangeOn','$text','_trackedElements','_elementName','90123JCOAQv','1740DgvuUa','3309BVVStk','has','elementName','getChanges','element','get','684817vebPLj','slice','1789088oCDKiJ','getElementKey','276579xObsLU'];_0xc004=function(){return _0x46fb2a;};return _0xc004();}const _0x5b1e55=_0x3764;(function(_0x52917a,_0x437a82){const _0x3feb03=_0x3764,_0x54cc58=_0x52917a();while(!![]){try{const _0xcea149=parseInt(_0x3feb03(0x1dd))/0x1+parseInt(_0x3feb03(0x1ef))/0x2*(-parseInt(_0x3feb03(0x1fd))/0x3)+parseInt(_0x3feb03(0x205))/0x4+parseInt(_0x3feb03(0x1ee))/0x5*(-parseInt(_0x3feb03(0x1e1))/0x6)+parseInt(_0x3feb03(0x203))/0x7*(-parseInt(_0x3feb03(0x1ea))/0x8)+parseInt(_0x3feb03(0x207))/0x9+parseInt(_0x3feb03(0x1fc))/0xa*(parseInt(_0x3feb03(0x1fb))/0xb);if(_0xcea149===_0x437a82)break;else _0x54cc58['push'](_0x54cc58['shift']());}catch(_0x37ebcc){_0x54cc58['push'](_0x54cc58['shift']());}}}(_0xc004,0xb0877));function _0x3764(_0xe5b4b4,_0x2ad86b){const _0xc004d1=_0xc004();return _0x3764=function(_0x3764c8,_0xfa1728){_0x3764c8=_0x3764c8-0x1dc;let _0x18ee6f=_0xc004d1[_0x3764c8];return _0x18ee6f;},_0x3764(_0xe5b4b4,_0x2ad86b);}export class ModelElementTracker{[_0x5b1e55(0x1e6)];[_0x5b1e55(0x1fa)];[_0x5b1e55(0x1de)];[_0x5b1e55(0x1f9)]=new Map();constructor(_0x454944,_0x174f7c){const _0x1d1128=_0x5b1e55;this[_0x1d1128(0x1e6)]=_0x454944,this[_0x1d1128(0x1fa)]=_0x174f7c[_0x1d1128(0x1ff)],this[_0x1d1128(0x1de)]=_0x174f7c[_0x1d1128(0x206)];}[_0x5b1e55(0x1e7)](){const _0x107474=_0x5b1e55;this[_0x107474(0x1f9)][_0x107474(0x1e9)]();}[_0x5b1e55(0x200)](_0x418dcb){const _0x38b0b2=_0x5b1e55,_0x1c3d83=new Set(),_0x17897b=new Map();for(const _0x41b33d of _0x418dcb){if(_0x38b0b2(0x1f0)===_0x41b33d[_0x38b0b2(0x1f6)]&&_0x38b0b2(0x1f8)!==_0x41b33d[_0x38b0b2(0x1e4)]&&_0x41b33d[_0x38b0b2(0x1eb)][_0x38b0b2(0x1e2)]){const _0x49e40d=this[_0x38b0b2(0x1e6)][_0x38b0b2(0x1f7)](_0x41b33d[_0x38b0b2(0x1eb)][_0x38b0b2(0x1e2)]);for(const _0x3b93ec of _0x49e40d[_0x38b0b2(0x1e0)]()){if(!_0x3b93ec['is'](_0x38b0b2(0x201),this[_0x38b0b2(0x1fa)]))continue;const _0x11bced=this[_0x38b0b2(0x1de)](_0x3b93ec);_0x17897b[_0x38b0b2(0x1fe)](_0x11bced)||_0x17897b[_0x38b0b2(0x1f3)](_0x11bced,[]),_0x17897b[_0x38b0b2(0x202)](_0x11bced)[_0x38b0b2(0x1e5)](_0x3b93ec);}}if(_0x38b0b2(0x1f5)===_0x41b33d[_0x38b0b2(0x1f6)]&&_0x41b33d[_0x38b0b2(0x1e4)]===this[_0x38b0b2(0x1fa)]){const _0x43033a=this[_0x38b0b2(0x1de)]({'getAttribute':_0x315123=>_0x41b33d[_0x38b0b2(0x1ed)][_0x38b0b2(0x202)](_0x315123)});_0x1c3d83[_0x38b0b2(0x1ec)](_0x43033a);}}for(const [_0x3fee15,_0x4f9ea1]of this[_0x38b0b2(0x1f9)])_0x38b0b2(0x1dc)===_0x4f9ea1[_0x38b0b2(0x1e8)][_0x38b0b2(0x1f2)]&&_0x1c3d83[_0x38b0b2(0x1ec)](_0x3fee15);for(const _0x186138 of _0x1c3d83)this[_0x38b0b2(0x1f9)][_0x38b0b2(0x1e3)](_0x186138);for(const [_0x2186c2,_0x169428]of _0x17897b)this[_0x38b0b2(0x1f9)][_0x38b0b2(0x1f3)](_0x2186c2,_0x169428[_0x169428[_0x38b0b2(0x1f4)]-0x1]);const _0x1dd37c=new Set();for(const [_0x5d66a0,_0x59e362]of _0x17897b)_0x1c3d83[_0x38b0b2(0x1fe)](_0x5d66a0)&&(_0x1dd37c[_0x38b0b2(0x1ec)](_0x59e362[0x0]),_0x59e362[_0x38b0b2(0x1f4)]>0x1?_0x17897b[_0x38b0b2(0x1f3)](_0x5d66a0,_0x59e362[_0x38b0b2(0x204)](0x1)):_0x17897b[_0x38b0b2(0x1e3)](_0x5d66a0),_0x1c3d83[_0x38b0b2(0x1e3)](_0x5d66a0));return{'removed':Array[_0x38b0b2(0x1f1)](_0x1c3d83),'inserted':Array[_0x38b0b2(0x1f1)](_0x17897b[_0x38b0b2(0x1df)]())[_0x38b0b2(0x208)](),'moved':Array[_0x38b0b2(0x1f1)](_0x1dd37c)};}}
23
+ function _0x1984(){const _0x53da42=['delete','createRangeOn','push','_model','clear','flat','2374920Duyiku','attributes','add','_getElementKey','nodeAfter','getChanges','1748817sStsfU','element','$graveyard','rootName','1Mxrevv','slice','9yeIroA','reset','type','from','position','set','getElementKey','710902bCyzqc','17305BtTzFL','values','_elementName','626260uvRIhI','4089127azncwM','4ZmCrYE','13090jtrVcx','$text','getItems','_trackedElements','name','insert','length','6JyQxjG','remove','has','4044eoVAtZ','root','elementName','get'];_0x1984=function(){return _0x53da42;};return _0x1984();}function _0x4ffe(_0x730d09,_0x24b100){const _0x1984c9=_0x1984();return _0x4ffe=function(_0x4ffed9,_0x437d60){_0x4ffed9=_0x4ffed9-0x10f;let _0x22d44e=_0x1984c9[_0x4ffed9];return _0x22d44e;},_0x4ffe(_0x730d09,_0x24b100);}const _0xec0fcb=_0x4ffe;(function(_0xacb238,_0x4aca11){const _0x1e1bcd=_0x4ffe,_0xd80fb8=_0xacb238();while(!![]){try{const _0x4d1bac=parseInt(_0x1e1bcd(0x131))/0x1*(parseInt(_0x1e1bcd(0x13a))/0x2)+-parseInt(_0x1e1bcd(0x12d))/0x3+parseInt(_0x1e1bcd(0x112))/0x4*(parseInt(_0x1e1bcd(0x13b))/0x5)+-parseInt(_0x1e1bcd(0x11a))/0x6*(-parseInt(_0x1e1bcd(0x111))/0x7)+-parseInt(_0x1e1bcd(0x127))/0x8*(-parseInt(_0x1e1bcd(0x133))/0x9)+parseInt(_0x1e1bcd(0x110))/0xa+parseInt(_0x1e1bcd(0x113))/0xb*(-parseInt(_0x1e1bcd(0x11d))/0xc);if(_0x4d1bac===_0x4aca11)break;else _0xd80fb8['push'](_0xd80fb8['shift']());}catch(_0x14b8aa){_0xd80fb8['push'](_0xd80fb8['shift']());}}}(_0x1984,0x4dc83));export class ModelElementTracker{[_0xec0fcb(0x124)];[_0xec0fcb(0x10f)];[_0xec0fcb(0x12a)];[_0xec0fcb(0x116)]=new Map();constructor(_0x1937da,_0x293e94){const _0x2babc3=_0xec0fcb;this[_0x2babc3(0x124)]=_0x1937da,this[_0x2babc3(0x10f)]=_0x293e94[_0x2babc3(0x11f)],this[_0x2babc3(0x12a)]=_0x293e94[_0x2babc3(0x139)];}[_0xec0fcb(0x134)](){const _0x10916d=_0xec0fcb;this[_0x10916d(0x116)][_0x10916d(0x125)]();}[_0xec0fcb(0x12c)](_0xbdced8){const _0x462c22=_0xec0fcb,_0x4dadb2=new Set(),_0x9da795=new Map();for(const _0x40cad8 of _0xbdced8){if(_0x462c22(0x118)===_0x40cad8[_0x462c22(0x135)]&&_0x462c22(0x114)!==_0x40cad8[_0x462c22(0x117)]&&_0x40cad8[_0x462c22(0x137)][_0x462c22(0x12b)]){const _0x2488b1=this[_0x462c22(0x124)][_0x462c22(0x122)](_0x40cad8[_0x462c22(0x137)][_0x462c22(0x12b)]);for(const _0x47b159 of _0x2488b1[_0x462c22(0x115)]()){if(!_0x47b159['is'](_0x462c22(0x12e),this[_0x462c22(0x10f)]))continue;const _0x4ef9c5=this[_0x462c22(0x12a)](_0x47b159);_0x9da795[_0x462c22(0x11c)](_0x4ef9c5)||_0x9da795[_0x462c22(0x138)](_0x4ef9c5,[]),_0x9da795[_0x462c22(0x120)](_0x4ef9c5)[_0x462c22(0x123)](_0x47b159);}}if(_0x462c22(0x11b)===_0x40cad8[_0x462c22(0x135)]&&_0x40cad8[_0x462c22(0x117)]===this[_0x462c22(0x10f)]){const _0x2c298c=this[_0x462c22(0x12a)]({'getAttribute':_0x5549d0=>_0x40cad8[_0x462c22(0x128)][_0x462c22(0x120)](_0x5549d0)});_0x4dadb2[_0x462c22(0x129)](_0x2c298c);}}for(const [_0x479f44,_0x24a04c]of this[_0x462c22(0x116)])_0x462c22(0x12f)===_0x24a04c[_0x462c22(0x11e)][_0x462c22(0x130)]&&_0x4dadb2[_0x462c22(0x129)](_0x479f44);for(const _0x207e23 of _0x4dadb2)this[_0x462c22(0x116)][_0x462c22(0x121)](_0x207e23);for(const [_0x4f3507,_0x4d581c]of _0x9da795)this[_0x462c22(0x116)][_0x462c22(0x138)](_0x4f3507,_0x4d581c[_0x4d581c[_0x462c22(0x119)]-0x1]);const _0x160bf4=new Set();for(const [_0x40840f,_0x1f9966]of _0x9da795)_0x4dadb2[_0x462c22(0x11c)](_0x40840f)&&(_0x160bf4[_0x462c22(0x129)](_0x1f9966[0x0]),_0x1f9966[_0x462c22(0x119)]>0x1?_0x9da795[_0x462c22(0x138)](_0x40840f,_0x1f9966[_0x462c22(0x132)](0x1)):_0x9da795[_0x462c22(0x121)](_0x40840f),_0x4dadb2[_0x462c22(0x121)](_0x40840f));return{'removed':Array[_0x462c22(0x136)](_0x4dadb2),'inserted':Array[_0x462c22(0x136)](_0x9da795[_0x462c22(0x13c)]())[_0x462c22(0x126)](),'moved':Array[_0x462c22(0x136)](_0x160bf4)};}}