@ckeditor/ckeditor5-footnotes 47.2.0-alpha.5 → 47.2.0-alpha.7

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 _0x287e8c}from'ckeditor5/src/core.js';import{isWidget as _0x3c1671,toWidget as _0x26edb4,toWidgetEditable as _0xde846a}from'ckeditor5/src/widget.js';import{uid as _0x3e8ec7}from'ckeditor5/src/utils.js';import{PointerObserver as _0x351974,ClickObserver as _0x3ee15a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x307ff1}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x25964d}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x287e8c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x307ff1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc805e5}=this;_0xc805e5['config']['define']('footnotes.multiBlock',!0x0),_0xc805e5['commands']['add']('insertFootnote',new _0x25964d(_0xc805e5)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5b692f){const _0x21f8e5=_0x118843([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]),_0x637abb=0x47a28506,_0x1f7da0=0x47a5fd0e^_0x637abb,_0x2d6094=window[_0x118843([0x44,0x61,0x74,0x65])][_0x118843([0x6e,0x6f,0x77])](),_0x18f541=_0x5b692f[_0x118843([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12cb13=new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d85aa=>{_0x18f541[_0x118843([0x6f,0x6e,0x63,0x65])](_0x118843([0x72,0x65,0x61,0x64,0x79]),_0x4d85aa);}),_0x565685={[_0x118843([0x6b,0x74,0x79])]:_0x118843([0x45,0x43]),[_0x118843([0x75,0x73,0x65])]:_0x118843([0x73,0x69,0x67]),[_0x118843([0x63,0x72,0x76])]:_0x118843([0x50,0x2d,0x32,0x35,0x36]),[_0x118843([0x78])]:_0x118843([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]),[_0x118843([0x79])]:_0x118843([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]),[_0x118843([0x61,0x6c,0x67])]:_0x118843([0x45,0x53,0x32,0x35,0x36])},_0xae39e7=_0x18f541[_0x118843([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x118843([0x67,0x65,0x74])](_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1c5edd(){let _0x45e44c,_0x2e87fb=null,_0x2927cb=null;try{if(_0xae39e7==_0x118843([0x47,0x50,0x4c]))return _0x118843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45e44c=_0x51d9b8(),!_0x45e44c)return _0x118843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45e44c[_0x118843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2927cb=_0x4502c7(_0x45e44c[_0x118843([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45e44c[_0x118843([0x6a,0x74,0x69])])),await _0x3a764d()?_0xe9314e()?_0x436c72()?_0x118843([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x878525()?(_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x118843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e87fb=_0x4edf01(_0x118843([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x118843([0x74,0x72,0x69,0x61,0x6c])&&(_0x2e87fb=_0x4edf01(_0x118843([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x8acd33()):_0x118843([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x118843([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x118843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x118843([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x436c72(){const _0x2571e2=[_0x118843([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x118843([0x74,0x72,0x69,0x61,0x6c])][_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d6094/0x3e8:0xe10*_0x1f7da0;return _0x45e44c[_0x118843([0x65,0x78,0x70])]<_0x2571e2;}function _0xe9314e(){const _0x2b6bb6=_0x45e44c[_0x118843([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b6bb6&&(!!_0x2b6bb6[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118843([0x2a]))||!!_0x2b6bb6[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118843([0x46,0x4f,0x4f])));}function _0x878525(){const _0x2ac09d=_0x45e44c[_0x118843([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ac09d||0x0==_0x2ac09d[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2592c2}=new URL(window[_0x118843([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2ac09d[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2592c2))return!0x0;const _0x41b4b4=_0x2592c2[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e]));return _0x2ac09d[_0x118843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49dc35=>_0x49dc35[_0x118843([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x118843([0x2a])))[_0x118843([0x6d,0x61,0x70])](_0x4c8868=>_0x4c8868[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e])))[_0x118843([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1aefb3=>_0x1aefb3[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x41b4b4[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x118843([0x6d,0x61,0x70])](_0x489cdf=>Array(_0x41b4b4[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x489cdf[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x118843([0x66,0x69,0x6c,0x6c])](_0x489cdf[0x0]===_0x118843([0x2a])?_0x118843([0x2a]):'')[_0x118843([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x489cdf))[_0x118843([0x73,0x6f,0x6d,0x65])](_0x5ef863=>_0x41b4b4[_0x118843([0x65,0x76,0x65,0x72,0x79])]((_0x58150e,_0x4a2e5c)=>_0x5ef863[_0x4a2e5c]===_0x58150e||_0x5ef863[_0x4a2e5c]===_0x118843([0x2a])));}function _0x8acd33(){return _0x2e87fb&&_0x2927cb?new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20b1e1,_0x33f542)=>{_0x2e87fb[_0x118843([0x74,0x68,0x65,0x6e])](_0x20b1e1,_0x33f542),_0x2927cb[_0x118843([0x74,0x68,0x65,0x6e])](_0x433090=>{_0x433090!=_0x118843([0x56,0x61,0x6c,0x69,0x64])&&_0x20b1e1(_0x433090);},_0x33f542);}):_0x2e87fb||_0x2927cb||_0x118843([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4502c7(_0x42bb6f,_0x5f3ce2){return new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x238999=>{if(_0x437757())return _0x238999(_0x118843([0x56,0x61,0x6c,0x69,0x64]));_0x523e7d(),_0x18f541[_0x118843([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x118843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26e447=!0x1;const _0x3c577a=_0x3e8ec7();function _0x5687f8(_0x3973de){return!!_0x3973de&&(typeof _0x3973de===_0x118843([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3973de===_0x118843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3973de[_0x118843([0x74,0x68,0x65,0x6e])]===_0x118843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3973de[_0x118843([0x63,0x61,0x74,0x63,0x68])]===_0x118843([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6cee0a(_0x1dc2f8){_0xd513a(_0x1dc2f8)[_0x118843([0x74,0x68,0x65,0x6e])](_0xa6a657=>{if(!_0xa6a657||_0xa6a657[_0x118843([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x118843([0x6f,0x6b]))return _0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x54c31d(_0x56956d(_0x3c577a+_0x5f3ce2))!=_0xa6a657[_0x118843([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x118843([0x56,0x61,0x6c,0x69,0x64]);})[_0x118843([0x74,0x68,0x65,0x6e])](_0x526ece=>(_0x5218fe(),_0x526ece),()=>{const _0x568c1e=_0x21fa9f();return null==_0x568c1e?(_0x5218fe(),_0x118843([0x56,0x61,0x6c,0x69,0x64])):_0x118843(_0x2d6094-_0x568c1e>(0x63ae0106^_0x637abb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x118843([0x74,0x68,0x65,0x6e])](_0x238999)[_0x118843([0x63,0x61,0x74,0x63,0x68])](()=>{_0x238999(_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25e601=0x47946b86^_0x637abb;function _0x5218fe(){const _0x1b88cd=_0x118843([0x6c,0x6c,0x63,0x74,0x2d])+_0x54c31d(_0x56956d(_0x42bb6f)),_0x427070=_0x52b1fb(_0x54c31d(window[_0x118843([0x4d,0x61,0x74,0x68])][_0x118843([0x63,0x65,0x69,0x6c])](_0x2d6094/_0x25e601)));window[_0x118843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x118843([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b88cd,_0x427070);}function _0x21fa9f(){const _0xf42cba=_0x118843([0x6c,0x6c,0x63,0x74,0x2d])+_0x54c31d(_0x56956d(_0x42bb6f)),_0x5178d7=window[_0x118843([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x118843([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xf42cba);return _0x5178d7?window[_0x118843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52b1fb(_0x5178d7),0x10)*_0x25e601:null;}function _0xd513a(_0x3a965d){return new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x425d92,_0x53c425)=>{_0x3a965d[_0x118843([0x74,0x68,0x65,0x6e])](_0x425d92,_0x53c425),window[_0x118843([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53c425,0x47a351c6^_0x637abb);});}}_0x18f541[_0x118843([0x6f,0x6e])](_0x118843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x581c92,_0x4226ce)=>{if(_0x4226ce[0x0]!=_0x42bb6f)return _0x238999(_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4226ce[0x1]={..._0x4226ce[0x1],[_0x118843([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c577a};},{[_0x118843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x118843([0x68,0x69,0x67,0x68])}),_0x18f541[_0x118843([0x6f,0x6e])](_0x118843([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3eab4d=>{_0x5687f8(_0x3eab4d[_0x118843([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26e447=!0x0,_0x6cee0a(_0x3eab4d[_0x118843([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x118843([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x118843([0x6c,0x6f,0x77])}),_0x12cb13[_0x118843([0x74,0x68,0x65,0x6e])](()=>{_0x26e447||_0x238999(_0x118843([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x437757(){return _0x18f541[_0x118843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x118843([0x76,0x69,0x65,0x77])][_0x118843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x118843([0x61,0x75,0x74,0x6f]);}function _0x523e7d(){_0x18f541[_0x118843([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x118843([0x76,0x69,0x65,0x77])][_0x118843([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x118843([0x61,0x75,0x74,0x6f]);}}function _0x4edf01(_0x519bb5){const _0x5a31a4=[new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a494e=>setTimeout(_0x5a494e,0x47abbbca^_0x637abb)),_0x12cb13[_0x118843([0x74,0x68,0x65,0x6e])](()=>new window[(_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x532497=>{let _0x416e0=0x0;_0x18f541[_0x118843([0x6d,0x6f,0x64,0x65,0x6c])][_0x118843([0x6f,0x6e])](_0x118843([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x770eb5,_0x2b8a00)=>{_0x2b8a00[0x0][_0x118843([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x416e0++,_0x416e0==(0x47a284fe^_0x637abb)&&(_0x532497(),_0x770eb5[_0x118843([0x6f,0x66,0x66])]());});}))];return window[_0x118843([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x118843([0x72,0x61,0x63,0x65])](_0x5a31a4)[_0x118843([0x74,0x68,0x65,0x6e])](()=>_0x519bb5);}async function _0x42995c(){await _0x12cb13,_0x18f541[_0x118843([0x6d,0x6f,0x64,0x65,0x6c])][_0x118843([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x251936,_0x18f541[_0x118843([0x6d,0x6f,0x64,0x65,0x6c])][_0x118843([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x251936,_0x18f541[_0x118843([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x118843([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c7771(_0x3ac86c){const _0x5827f3=_0x47526b();_0x18f541[_0x5827f3]=_0x118843([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ac86c,_0x3ac86c!=_0x118843([0x56,0x61,0x6c,0x69,0x64])&&_0x42995c();}function _0x47526b(){const _0x25748d=window[_0x118843([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x118843([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x118843([0x6e,0x6f,0x77])]())[_0x118843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x118843([0x2e]),'');let _0x3e69b2=_0x118843([0x75]);for(let _0x4b678a=0x0;_0x4b678a<_0x25748d[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b678a+=0x2){let _0x584b72=window[_0x118843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25748d[_0x118843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b678a,_0x4b678a+0x2));_0x584b72>=_0x21f8e5[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x584b72-=_0x21f8e5[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3e69b2+=_0x21f8e5[_0x584b72];}return _0x3e69b2;}function _0x51d9b8(){const _0x151fa6=_0xae39e7[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e]));if(0x3!=_0x151fa6[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38fc63(_0x151fa6[0x1]);function _0x38fc63(_0x425f48){const _0x58d8f8=_0x43dbf4(_0x425f48);return _0x58d8f8&&_0xae220()?_0x58d8f8:null;function _0xae220(){const _0x38f2a0=_0x58d8f8[_0x118843([0x6a,0x74,0x69])],_0xbe56da=window[_0x118843([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38f2a0[_0x118843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38f2a0[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4283d6={..._0x58d8f8,[_0x118843([0x6a,0x74,0x69])]:_0x38f2a0[_0x118843([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x38f2a0[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4283d6[_0x118843([0x76,0x63])],_0x56956d(_0x4283d6)==_0xbe56da;}}}async function _0x3a764d(){let _0x1b6488=!0x0;try{const _0x15d68e=_0xae39e7[_0x118843([0x73,0x70,0x6c,0x69,0x74])](_0x118843([0x2e])),[_0xaa5d29,_0x3cef27,_0x27a890]=_0x15d68e;return _0x1d50f1(_0xaa5d29),await _0x308782(_0xaa5d29,_0x3cef27,_0x27a890),_0x1b6488;}catch{return!0x1;}function _0x1d50f1(_0x496c9c){const _0x27405f=_0x43dbf4(_0x496c9c);_0x27405f&&_0x27405f[_0x118843([0x61,0x6c,0x67])]==_0x118843([0x45,0x53,0x32,0x35,0x36])||(_0x1b6488=!0x1);}async function _0x308782(_0x37f3d7,_0x4a3117,_0xe92c9e){const _0x90d834=window[_0x118843([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x118843([0x66,0x72,0x6f,0x6d])](_0x1a724c(_0xe92c9e),_0x3eca32=>_0x3eca32[_0x118843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c008f=new window[(_0x118843([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x118843([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x37f3d7+_0x118843([0x2e])+_0x4a3117),_0x1d9552=window[_0x118843([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x118843([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d9552)return;const _0x4cb60a=await _0x1d9552[_0x118843([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x118843([0x6a,0x77,0x6b]),_0x565685,{[_0x118843([0x6e,0x61,0x6d,0x65])]:_0x118843([0x45,0x43,0x44,0x53,0x41]),[_0x118843([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x118843([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x118843([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d9552[_0x118843([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x118843([0x6e,0x61,0x6d,0x65])]:_0x118843([0x45,0x43,0x44,0x53,0x41]),[_0x118843([0x68,0x61,0x73,0x68])]:{[_0x118843([0x6e,0x61,0x6d,0x65])]:_0x118843([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4cb60a,_0x90d834,_0x3c008f)||(_0x1b6488=!0x1);}}function _0x43dbf4(_0x4d2aef){return _0x4d2aef[_0x118843([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x118843([0x65,0x79]))?JSON[_0x118843([0x70,0x61,0x72,0x73,0x65])](_0x1a724c(_0x4d2aef)):null;}function _0x1a724c(_0x482ad2){return window[_0x118843([0x61,0x74,0x6f,0x62])](_0x482ad2[_0x118843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x118843([0x2b]))[_0x118843([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x118843([0x2f])));}function _0x56956d(_0x25c971){let _0x413c3e=0x1505;function _0x192fe6(_0x134e21){for(let _0x1a92bf=0x0;_0x1a92bf<_0x134e21[_0x118843([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a92bf++){const _0x3f4633=_0x134e21[_0x118843([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a92bf);_0x413c3e=(_0x413c3e<<0x5)+_0x413c3e+_0x3f4633,_0x413c3e&=_0x413c3e;}}function _0x5c3861(_0x888d18){Array[_0x118843([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x888d18)?_0x888d18[_0x118843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c3861):_0x888d18&&typeof _0x888d18==_0x118843([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x118843([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x888d18)[_0x118843([0x73,0x6f,0x72,0x74])]()[_0x118843([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2f7021,_0x5b052a])=>{_0x192fe6(_0x2f7021),_0x5c3861(_0x5b052a);}):_0x192fe6(window[_0x118843([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x888d18));}return _0x5c3861(_0x25c971),_0x413c3e>>>0x0;}function _0x54c31d(_0x20567a){return _0x20567a[_0x118843([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x118843([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x118843([0x30]));}function _0x52b1fb(_0x353d25){return _0x353d25[_0x118843([0x73,0x70,0x6c,0x69,0x74])]('')[_0x118843([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x118843([0x6a,0x6f,0x69,0x6e])]('');}function _0x251936(){}function _0x118843(_0x4b0847){return _0x4b0847['map'](_0xa58481=>String['fromCharCode'](_0xa58481))['join']('');}_0x5c7771(await _0x1c5edd());}(this);}['_moveSelectionToFootnoteDefinition'](_0x36125c){const {plugins:_0x1b01f3,editing:_0x319ebe,model:_0x4e8b8a}=this['editor'],_0x3b2685=_0x1b01f3['get'](_0x307ff1)['getFootnote'](_0x36125c);return!!_0x3b2685&&(_0x4e8b8a['change'](_0x16b8b4=>{_0x16b8b4['setSelection'](_0x16b8b4['createPositionAt'](_0x3b2685['definition'],'end'));}),_0x319ebe['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x540bdd){const {plugins:_0x163eb5,editing:_0x4c4b93,model:_0x462daa}=this['editor'],_0x537425=_0x163eb5['get'](_0x307ff1)['getFootnote'](_0x540bdd);return!!_0x537425&&(_0x462daa['change'](_0x5963f4=>{_0x5963f4['setSelection'](_0x537425['reference'],'on');}),_0x4c4b93['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3a2abe}=this['editor']['model'],_0x327435=this['editor']['config']['get']('footnotes.multiBlock');_0x3a2abe['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3a2abe['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3a2abe['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x327435?_0x3a2abe['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3a2abe['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3a2abe['addChildCheck'](_0x1a1614=>{for(const _0x469cac of _0x1a1614)if('footnoteDefinition'===_0x469cac['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x461dad}=this,{conversion:_0x411f6,editing:_0x3af771}=_0x461dad,{t:t}=_0x461dad['locale'];_0x411f6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x148ea0,{writer:_0x1f0467,consumable:_0x3f7212})=>{const _0x4cb601=_0x148ea0['getChild'](0x0);if(!_0x4cb601||!_0x4cb601['is']('element','a'))return null;const _0x5892bb=_0x4cb601['getAttribute']('href')||'';if(!_0x5892bb['startsWith']('#'))return null;const _0x5b0e8a=_0x5892bb['replace'](/^#/,'');if(!_0x5b0e8a)return null;_0x3f7212['consume'](_0x4cb601,{'name':!0x0,'attributes':['href']});for(const {item:_0x2d5f48}of _0x3af771['view']['createRangeIn'](_0x4cb601))_0x2d5f48['is']('$textProxy')?_0x3f7212['consume'](_0x2d5f48['textNode'],{'name':!0x0}):_0x2d5f48['is']('element')&&_0x3f7212['consume'](_0x2d5f48,{'name':!0x0});return _0x1f0467['createElement']('footnoteRef',{'footnoteId':_0x5b0e8a});}}),_0x411f6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x397331,{writer:_0x3ce3e1})=>D(_0x397331,_0x3ce3e1)}),_0x411f6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x267479,{writer:_0x28aa42})=>{const _0x169c36=_0x267479['getAttribute']('footnoteCounter');return _0x26edb4(D(_0x267479,_0x28aa42),_0x28aa42,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x169c36)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1fc079}=this,{t:t}=_0x1fc079['locale'],{conversion:_0x6fbebf}=_0x1fc079;_0x6fbebf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x6fbebf['for']('upcast')['add'](_0x18538c=>{_0x18538c['on']('element:ol',(_0x37120b,_0x5913c4,_0xd91da7)=>{const _0x16742c=_0x5913c4['viewItem'];if(!_0x16742c['hasClass']('footnotes-list')||!_0x5913c4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xd91da7['consumable']['consume'](_0x16742c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x410abe,modelCursor:_0xa963b4}=_0xd91da7['convertChildren'](_0x5913c4['viewItem'],_0x5913c4['modelCursor']);_0x5913c4['modelRange']=_0x410abe,_0x5913c4['modelCursor']=_0xa963b4;}),_0x18538c['on']('element:hr',(_0x177f15,_0x222b09,_0x4645a4)=>{const _0x12ab73=_0x222b09['viewItem'];_0x12ab73['hasClass']('footnotes-divider')&&_0x222b09['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4645a4['consumable']['consume'](_0x12ab73,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x6fbebf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2c342d,{writer:_0x72dacc})=>v(_0x72dacc)}),_0x6fbebf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e44d9,{writer:_0x547d55})=>{const _0x5ddc80=v(_0x547d55,{'data-footnotes-list-label':t('Footnotes')}),_0x43f8d9=_0x26edb4(_0x5ddc80,_0x547d55,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x547d55['setCustomProperty']('footnotesDefinitions',!0x0,_0x43f8d9),_0x43f8d9;}});}['_defineDefinitionConverters'](){const {editor:_0x805b85}=this,{conversion:_0x1fab12,locale:_0x4a4cfc}=_0x805b85,_0x500f1c=_0x805b85['config']['get']('footnotes.multiBlock');_0x1fab12['for']('upcast')['add'](_0xd360e=>{_0xd360e['on']('element:li',(_0x33c55f,_0x576a73,_0x30bdf5)=>{const _0x2510bc=_0x576a73['viewItem'];if(!_0x2510bc['hasClass']('footnote-definition')||!_0x2510bc['getAttribute']('id'))return;const _0x33a2e3=_0x2510bc['parent'];if(!_0x33a2e3['is']('element','ol')||!_0x33a2e3['hasClass']('footnotes-list'))return;if(!_0x30bdf5['consumable']['test'](_0x2510bc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3a0cbf=_0x30bdf5['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2510bc['getAttribute']('id')});if(!_0x30bdf5['safeInsert'](_0x3a0cbf,_0x576a73['modelCursor']))return;_0x30bdf5['consumable']['consume'](_0x2510bc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1e103d=Array['from'](_0x2510bc['getChildren']())['find'](_0x4a27e9=>_0x4a27e9['is']('element')&&_0x4a27e9['hasClass']('footnote-content'));for(const _0x153d53 of _0x2510bc['getChildren']())_0x153d53['is']('element')&&(_0x30bdf5['consumable']['consume'](_0x153d53,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x30bdf5['consumable']['consume'](_0x153d53,{'name':!0x0,'classes':'footnote-content'}));if(_0x1e103d){if(_0x500f1c)_0x30bdf5['convertChildren'](_0x1e103d,_0x3a0cbf);else{const _0x1bfc08=_0x30bdf5['writer']['createElement']('footnoteInlineContent');_0x30bdf5['writer']['insert'](_0x1bfc08,_0x3a0cbf),_0x30bdf5['convertChildren'](_0x1e103d,_0x1bfc08);}}_0x30bdf5['updateConversionResult'](_0x3a0cbf,_0x576a73);});}),_0x1fab12['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x32d501,{writer:_0x2499f8})=>b(_0x32d501,_0x2499f8,_0x4a4cfc,{'dataPipeline':!0x0})}),_0x1fab12['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4e026e,{writer:_0xa1ad72})=>b(_0x4e026e,_0xa1ad72,_0x4a4cfc)});}['_defineBogusParagraphConverters'](){const {editor:_0x553cc6}=this,{conversion:_0x267b5d}=_0x553cc6;_0x553cc6['config']['get']('footnotes.multiBlock')?(_0x267b5d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x267b5d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x553cc6['model']['document'],'change:data',()=>{!function(_0x21bdf7,_0x5b8e72){const _0x3fa5a9=_0x21bdf7['document']['differ'],_0x145177=new Set();for(const _0x48ceb3 of _0x3fa5a9['getChanges']()){const _0x1e9d7e='attribute'==_0x48ceb3['type']?_0x48ceb3['range']['start']['parent']:_0x48ceb3['position']['parent'];_0x1e9d7e['is']('element','footnoteDefinition')&&_0x145177['add'](_0x1e9d7e);}for(const _0x458996 of _0x145177['values']()){const _0x313255=Array['from'](_0x458996['getChildren']())['filter'](_0x285407=>g(_0x285407,_0x5b8e72['mapper']));for(const _0x46b3f8 of _0x313255)_0x5b8e72['reconvertItem'](_0x46b3f8);}}(_0x553cc6['model'],_0x553cc6['editing']);})):(_0x267b5d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x267b5d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x412e98,{writer:_0x456181})=>{const _0x27fb8b=_0x456181['createContainerElement']('span');return _0x456181['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27fb8b),_0x27fb8b;}}));}['_defineKeyboardHandlers'](){const {editor:_0xa160fd}=this,{editing:_0x2ce21c,t:t}=_0xa160fd,_0x18250c=_0xa160fd['model']['document']['selection'];_0xa160fd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xa160fd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2ce21c['view']['document'],'enter',(_0x2cf33f,_0x3b5fec)=>{const _0x36c1e6=function(_0x5ddd61){const _0x21f83e=_0x5ddd61['getSelectedElement']();if(_0x21f83e?.['is']('element','footnoteRef'))return _0x21f83e;return null;}(_0x18250c);if(_0x36c1e6){const _0x3ce939=_0x36c1e6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3ce939),_0x3b5fec['preventDefault'](),_0x2cf33f['stop']();}},{'context':_0x3c1671});}['_defineClickHandlers'](){const {editor:_0x32c05f}=this,{editing:_0x18d06f}=_0x32c05f;_0x32c05f['editing']['view']['addObserver'](_0x351974),_0x32c05f['editing']['view']['addObserver'](_0x3ee15a);let _0x302e64=!0x1;this['listenTo'](_0x18d06f['view']['document'],'pointerdown',(_0xfe077,_0x1a56fc)=>{const {target:_0x3829bf}=_0x1a56fc,_0x39b964=_0x18d06f['view']['document']['selection'];_0x302e64=!!(_0x3829bf?.['is']('element','a')&&_0x3829bf['parent']?.['is']('element','sup')&&_0x3829bf['parent']['hasClass']('footnote'))&&_0x39b964['getSelectedElement']()===_0x3829bf['parent'];},{'priority':'high'}),this['listenTo'](_0x18d06f['view']['document'],'click',(_0x529d5f,_0x261629)=>{const {target:_0x313651}=_0x261629;if(!_0x313651?.['is']('element','a'))return;if(_0x313651['parent']?.['is']('element','sup')&&_0x313651['parent']['hasClass']('footnote')&&!_0x302e64)return void _0x261629['preventDefault']();let _0x456083=_0x313651['getAttribute']('href');if(!_0x456083?.['startsWith']('#'))return;_0x456083=_0x456083['slice'](0x1);let _0x117c0b=!0x1;(_0x456083['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x456083['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x456083))&&(_0x117c0b=!0x0),_0x117c0b&&(_0x261629['preventDefault'](),_0x529d5f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x98b63b}={}){return(_0x27f962,{writer:_0x23262c})=>{if(!p(_0x27f962))return null;if(!_0x98b63b)return _0x23262c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x396437=_0x23262c['createContainerElement']('p');return _0x23262c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x396437),_0x396437;};}function p(_0x2c94c8){const {parent:_0x479225}=_0x2c94c8;if(!_0x479225?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x479225['childCount'])return!0x1;for(const _0x589dd9 of _0x2c94c8['getAttributeKeys']())if(!_0x589dd9['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x589dd9)return!0x1;return!0x0;}function g(_0x594f5a,_0x238258){if(!_0x594f5a['is']('element','paragraph'))return!0x1;const _0xbe7699=_0x238258['toViewElement'](_0x594f5a);return!!_0xbe7699&&p(_0x594f5a)!==_0xbe7699['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xba09f5){return _0x3c1671(_0xba09f5)&&_0xba09f5['is']('containerElement')&&!!_0xba09f5['getCustomProperty']('footnotesDefinitions');}function v(_0x5f5b25,_0xef6986={}){const _0x9b5733=_0x5f5b25['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x58dbf9=_0x5f5b25['createContainerElement']('ol',{'class':'footnotes-list'},_0x5f5b25['createSlot']());return _0x5f5b25['createContainerElement']('div',{'class':'footnotes',..._0xef6986},[_0x9b5733,_0x58dbf9]);}function D(_0x3e99ef,_0x1a1112){const _0x587b0e=_0x3e99ef['getAttribute']('footnoteId'),_0x19d4b1=_0x3e99ef['getAttribute']('footnoteCounter'),_0x23c547=_0x1a1112['createUIElement']('a',{'href':'#'+_0x587b0e},function(_0x15684a){const _0x30f96e=this['toDomElement'](_0x15684a);return _0x30f96e['textContent']=_0x19d4b1,_0x30f96e;}),_0x308474=_0x1a1112['createContainerElement']('sup',{'id':'ref-'+_0x587b0e,'class':'footnote'},[_0x23c547]);return _0x308474['getFillerOffset']=()=>null,_0x308474;}function b(_0x44a902,_0x79fb0d,_0x2f24d1,{dataPipeline:_0x4ad34c}={}){const {t:t}=_0x2f24d1,_0x7f1d1e=_0x44a902['getAttribute']('footnoteId'),_0x447130=_0x79fb0d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x7f1d1e},function(_0x1ed698){const _0x2c9f74=this['toDomElement'](_0x1ed698);return _0x2c9f74['innerText']='^',_0x2c9f74;}),_0xdc0067=_0x4ad34c?_0x79fb0d['createContainerElement']('div',{'class':'footnote-content'}):_0xde846a(_0x79fb0d['createEditableElement']('div',{'class':'footnote-content'}),_0x79fb0d,{'label':t('Footnote\x20content.')});return _0x79fb0d['insert'](_0x79fb0d['createPositionAt'](_0xdc0067,0x0),_0x79fb0d['createSlot']()),_0x79fb0d['createContainerElement']('li',{'class':'footnote-definition','id':_0x7f1d1e},[_0x447130,_0xdc0067]);}
23
+ import{Plugin as _0x3dc7c5}from'ckeditor5/src/core.js';import{isWidget as _0x3b57e8,toWidget as _0x4db1ed,toWidgetEditable as _0x4d6706}from'ckeditor5/src/widget.js';import{uid as _0x180e25}from'ckeditor5/src/utils.js';import{PointerObserver as _0x206bf5,ClickObserver as _0x3ca212}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2d908d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2b93c1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3dc7c5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2d908d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b26af}=this;_0x1b26af['config']['define']('footnotes.multiBlock',!0x0),_0x1b26af['commands']['add']('insertFootnote',new _0x2b93c1(_0x1b26af)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x42bd88){const _0x4c1253=_0x3e34b1([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]),_0x296124=0x47a28506,_0x2cc3ae=0x47a5fd3e^_0x296124,_0x11c436=window[_0x3e34b1([0x44,0x61,0x74,0x65])][_0x3e34b1([0x6e,0x6f,0x77])](),_0x5c6173=_0x42bd88[_0x3e34b1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3138e7=new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ffbf3=>{_0x5c6173[_0x3e34b1([0x6f,0x6e,0x63,0x65])](_0x3e34b1([0x72,0x65,0x61,0x64,0x79]),_0x1ffbf3);}),_0x42a7f0={[_0x3e34b1([0x6b,0x74,0x79])]:_0x3e34b1([0x45,0x43]),[_0x3e34b1([0x75,0x73,0x65])]:_0x3e34b1([0x73,0x69,0x67]),[_0x3e34b1([0x63,0x72,0x76])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36]),[_0x3e34b1([0x78])]:_0x3e34b1([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]),[_0x3e34b1([0x79])]:_0x3e34b1([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]),[_0x3e34b1([0x61,0x6c,0x67])]:_0x3e34b1([0x45,0x53,0x32,0x35,0x36])},_0x533ba7=_0x5c6173[_0x3e34b1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e34b1([0x67,0x65,0x74])](_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3110dc(){let _0x2a85f1,_0x2c85ba=null,_0x4da3fa=null;try{if(_0x533ba7==_0x3e34b1([0x47,0x50,0x4c]))return _0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a85f1=_0x121fc8(),!_0x2a85f1)return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4da3fa=_0x1f676b(_0x2a85f1[_0x3e34b1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a85f1[_0x3e34b1([0x6a,0x74,0x69])])),await _0x43e91f()?_0x445838()?_0x1aebf7()?_0x3e34b1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4230e6()?(_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])&&(_0x2c85ba=_0x3dc91a(_0x3e34b1([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x21f02a()):_0x3e34b1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e34b1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1aebf7(){const _0x2e2ba7=[_0x3e34b1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e34b1([0x74,0x72,0x69,0x61,0x6c])][_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11c436/0x3e8:0xe10*_0x2cc3ae;return _0x2a85f1[_0x3e34b1([0x65,0x78,0x70])]<_0x2e2ba7;}function _0x445838(){const _0x4457fd=_0x2a85f1[_0x3e34b1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4457fd&&(!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a]))||!!_0x4457fd[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x46,0x4f,0x4f])));}function _0x4230e6(){const _0x31f70f=_0x2a85f1[_0x3e34b1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31f70f||0x0==_0x31f70f[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6550dc}=new URL(window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x31f70f[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6550dc))return!0x0;const _0x465623=_0x6550dc[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));return _0x31f70f[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cc063=>_0x4cc063[_0x3e34b1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e34b1([0x2a])))[_0x3e34b1([0x6d,0x61,0x70])](_0x2e3706=>_0x2e3706[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])))[_0x3e34b1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x490d13=>_0x490d13[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x6d,0x61,0x70])](_0x526630=>Array(_0x465623[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x526630[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e34b1([0x66,0x69,0x6c,0x6c])](_0x526630[0x0]===_0x3e34b1([0x2a])?_0x3e34b1([0x2a]):'')[_0x3e34b1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x526630))[_0x3e34b1([0x73,0x6f,0x6d,0x65])](_0x4deab0=>_0x465623[_0x3e34b1([0x65,0x76,0x65,0x72,0x79])]((_0x3091bb,_0x35f20b)=>_0x4deab0[_0x35f20b]===_0x3091bb||_0x4deab0[_0x35f20b]===_0x3e34b1([0x2a])));}function _0x21f02a(){return _0x2c85ba&&_0x4da3fa?new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xab9a49,_0x1ea2fb)=>{_0x2c85ba[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0xab9a49,_0x1ea2fb),_0x4da3fa[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x4eee7d=>{_0x4eee7d!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0xab9a49(_0x4eee7d);},_0x1ea2fb);}):_0x2c85ba||_0x4da3fa||_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f676b(_0x26e2d1,_0x3a4ec1){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x805e49=>{if(_0x420b53())return _0x805e49(_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]));_0x158aea(),_0x5c6173[_0x3e34b1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x196068=!0x1;const _0x2106fd=_0x180e25();function _0x182873(_0x1b11fe){return!!_0x1b11fe&&(typeof _0x1b11fe===_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b11fe===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b11fe[_0x3e34b1([0x74,0x68,0x65,0x6e])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b11fe[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])]===_0x3e34b1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17b625(_0x4f3c5f){_0x45902e(_0x4f3c5f)[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x814130=>{if(!_0x814130||_0x814130[_0x3e34b1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e34b1([0x6f,0x6b]))return _0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b7d98(_0x15db04(_0x2106fd+_0x3a4ec1))!=_0x814130[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e34b1([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x2b108d=>(_0x879fbe(),_0x2b108d),()=>{const _0x44381b=_0xe07003();return null==_0x44381b?(_0x879fbe(),_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])):_0x3e34b1(_0x11c436-_0x44381b>(0x63ae0106^_0x296124)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x805e49)[_0x3e34b1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9d5b33=0x47946b86^_0x296124;function _0x879fbe(){const _0x335076=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x29e335=_0x3a2c47(_0x3b7d98(window[_0x3e34b1([0x4d,0x61,0x74,0x68])][_0x3e34b1([0x63,0x65,0x69,0x6c])](_0x11c436/_0x9d5b33)));window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335076,_0x29e335);}function _0xe07003(){const _0x55c3b8=_0x3e34b1([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b7d98(_0x15db04(_0x26e2d1)),_0x3036a3=window[_0x3e34b1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e34b1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55c3b8);return _0x3036a3?window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a2c47(_0x3036a3),0x10)*_0x9d5b33:null;}function _0x45902e(_0x1974a3){return new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302006,_0x245a57)=>{_0x1974a3[_0x3e34b1([0x74,0x68,0x65,0x6e])](_0x302006,_0x245a57),window[_0x3e34b1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x245a57,0x47a351c6^_0x296124);});}}_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ba4d8,_0x21eacb)=>{if(_0x21eacb[0x0]!=_0x26e2d1)return _0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x21eacb[0x1]={..._0x21eacb[0x1],[_0x3e34b1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2106fd};},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x68,0x69,0x67,0x68])}),_0x5c6173[_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e21ad=>{_0x182873(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x196068=!0x0,_0x17b625(_0x1e21ad[_0x3e34b1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e34b1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e34b1([0x6c,0x6f,0x77])}),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>{_0x196068||_0x805e49(_0x3e34b1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x420b53(){return _0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e34b1([0x61,0x75,0x74,0x6f]);}function _0x158aea(){_0x5c6173[_0x3e34b1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e34b1([0x76,0x69,0x65,0x77])][_0x3e34b1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e34b1([0x61,0x75,0x74,0x6f]);}}function _0x3dc91a(_0x30e4de){const _0x5460ee=[new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x395d54=>setTimeout(_0x395d54,0x47abbbca^_0x296124)),_0x3138e7[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3eaa61=>{let _0x18236e=0x0;_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x6f,0x6e])](_0x3e34b1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x554ce3,_0x48cf04)=>{_0x48cf04[0x0][_0x3e34b1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18236e++,_0x18236e==(0x47a284fe^_0x296124)&&(_0x3eaa61(),_0x554ce3[_0x3e34b1([0x6f,0x66,0x66])]());});}))];return window[_0x3e34b1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e34b1([0x72,0x61,0x63,0x65])](_0x5460ee)[_0x3e34b1([0x74,0x68,0x65,0x6e])](()=>_0x30e4de);}async function _0x96105e(){await _0x3138e7,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e34b1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2fe0d4,_0x5c6173[_0x3e34b1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e34b1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5d5cb6(_0x5889c6){const _0x4bdfd9=_0x11f8d4();_0x5c6173[_0x4bdfd9]=_0x3e34b1([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5889c6,_0x5889c6!=_0x3e34b1([0x56,0x61,0x6c,0x69,0x64])&&_0x96105e();}function _0x11f8d4(){const _0x9d4030=window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e34b1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e34b1([0x6e,0x6f,0x77])]())[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e34b1([0x2e]),'');let _0x388fb3=_0x3e34b1([0x75]);for(let _0x158523=0x0;_0x158523<_0x9d4030[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x158523+=0x2){let _0x288142=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9d4030[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x158523,_0x158523+0x2));_0x288142>=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x288142-=_0x4c1253[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x388fb3+=_0x4c1253[_0x288142];}return _0x388fb3;}function _0x121fc8(){const _0x2bb1ae=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e]));if(0x3!=_0x2bb1ae[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4ba51f(_0x2bb1ae[0x1]);function _0x4ba51f(_0x3738ba){const _0x31bbe3=_0x448284(_0x3738ba);return _0x31bbe3&&_0xdbff72()?_0x31bbe3:null;function _0xdbff72(){const _0x151dd4=_0x31bbe3[_0x3e34b1([0x6a,0x74,0x69])],_0x314447=window[_0x3e34b1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x229aa9={..._0x31bbe3,[_0x3e34b1([0x6a,0x74,0x69])]:_0x151dd4[_0x3e34b1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x151dd4[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x229aa9[_0x3e34b1([0x76,0x63])],_0x15db04(_0x229aa9)==_0x314447;}}}async function _0x43e91f(){let _0x68aec1=!0x0;try{const _0x19e8f9=_0x533ba7[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])](_0x3e34b1([0x2e])),[_0x3996a4,_0x46dde7,_0x379276]=_0x19e8f9;return _0x1bbc77(_0x3996a4),await _0x2883e8(_0x3996a4,_0x46dde7,_0x379276),_0x68aec1;}catch{return!0x1;}function _0x1bbc77(_0x58a816){const _0x4a2411=_0x448284(_0x58a816);_0x4a2411&&_0x4a2411[_0x3e34b1([0x61,0x6c,0x67])]==_0x3e34b1([0x45,0x53,0x32,0x35,0x36])||(_0x68aec1=!0x1);}async function _0x2883e8(_0x512bfe,_0x34c5f1,_0x5a6050){const _0x18c7f9=window[_0x3e34b1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e34b1([0x66,0x72,0x6f,0x6d])](_0x4cc155(_0x5a6050),_0x43055c=>_0x43055c[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1092d7=new window[(_0x3e34b1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e34b1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x512bfe+_0x3e34b1([0x2e])+_0x34c5f1),_0x4d698e=window[_0x3e34b1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e34b1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d698e)return;const _0x40510e=await _0x4d698e[_0x3e34b1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e34b1([0x6a,0x77,0x6b]),_0x42a7f0,{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e34b1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d698e[_0x3e34b1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x45,0x43,0x44,0x53,0x41]),[_0x3e34b1([0x68,0x61,0x73,0x68])]:{[_0x3e34b1([0x6e,0x61,0x6d,0x65])]:_0x3e34b1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40510e,_0x18c7f9,_0x1092d7)||(_0x68aec1=!0x1);}}function _0x448284(_0x3ffbb4){return _0x3ffbb4[_0x3e34b1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e34b1([0x65,0x79]))?JSON[_0x3e34b1([0x70,0x61,0x72,0x73,0x65])](_0x4cc155(_0x3ffbb4)):null;}function _0x4cc155(_0x42e870){return window[_0x3e34b1([0x61,0x74,0x6f,0x62])](_0x42e870[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e34b1([0x2b]))[_0x3e34b1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e34b1([0x2f])));}function _0x15db04(_0x396f09){let _0x2d6a18=0x1505;function _0x34323c(_0x58b29b){for(let _0x220fea=0x0;_0x220fea<_0x58b29b[_0x3e34b1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x220fea++){const _0x3726b0=_0x58b29b[_0x3e34b1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x220fea);_0x2d6a18=(_0x2d6a18<<0x5)+_0x2d6a18+_0x3726b0,_0x2d6a18&=_0x2d6a18;}}function _0x54a97f(_0x3d3917){Array[_0x3e34b1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d3917)?_0x3d3917[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54a97f):_0x3d3917&&typeof _0x3d3917==_0x3e34b1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e34b1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d3917)[_0x3e34b1([0x73,0x6f,0x72,0x74])]()[_0x3e34b1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20a3f4,_0xdff58b])=>{_0x34323c(_0x20a3f4),_0x54a97f(_0xdff58b);}):_0x34323c(window[_0x3e34b1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d3917));}return _0x54a97f(_0x396f09),_0x2d6a18>>>0x0;}function _0x3b7d98(_0x72abf4){return _0x72abf4[_0x3e34b1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e34b1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e34b1([0x30]));}function _0x3a2c47(_0x32f9a3){return _0x32f9a3[_0x3e34b1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e34b1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e34b1([0x6a,0x6f,0x69,0x6e])]('');}function _0x2fe0d4(){}function _0x3e34b1(_0x383405){return _0x383405['map'](_0x11684b=>String['fromCharCode'](_0x11684b))['join']('');}_0x5d5cb6(await _0x3110dc());}(this);}['_moveSelectionToFootnoteDefinition'](_0x8f4d29){const {plugins:_0x559f03,editing:_0x49390e,model:_0x30750b}=this['editor'],_0x5b975e=_0x559f03['get'](_0x2d908d)['getFootnote'](_0x8f4d29);return!!_0x5b975e&&(_0x30750b['change'](_0x232446=>{_0x232446['setSelection'](_0x232446['createPositionAt'](_0x5b975e['definition'],'end'));}),_0x49390e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5d41ed){const {plugins:_0x5687e6,editing:_0xc669cf,model:_0x16b111}=this['editor'],_0x42e12a=_0x5687e6['get'](_0x2d908d)['getFootnote'](_0x5d41ed);return!!_0x42e12a&&(_0x16b111['change'](_0x54a3cc=>{_0x54a3cc['setSelection'](_0x42e12a['reference'],'on');}),_0xc669cf['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x50ba46}=this['editor']['model'],_0x5e8796=this['editor']['config']['get']('footnotes.multiBlock');_0x50ba46['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x50ba46['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x50ba46['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5e8796?_0x50ba46['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x50ba46['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x50ba46['addChildCheck'](_0xa84ddf=>{for(const _0x590ab7 of _0xa84ddf)if('footnoteDefinition'===_0x590ab7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x48a3ba}=this,{conversion:_0x47a732,editing:_0x27f395}=_0x48a3ba,{t:t}=_0x48a3ba['locale'];_0x47a732['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1bb9c4,{writer:_0x15741a,consumable:_0x1c5a8f})=>{const _0x1fa18c=_0x1bb9c4['getChild'](0x0);if(!_0x1fa18c||!_0x1fa18c['is']('element','a'))return null;const _0x452f16=_0x1fa18c['getAttribute']('href')||'';if(!_0x452f16['startsWith']('#'))return null;const _0x24947f=_0x452f16['replace'](/^#/,'');if(!_0x24947f)return null;_0x1c5a8f['consume'](_0x1fa18c,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ece33}of _0x27f395['view']['createRangeIn'](_0x1fa18c))_0x1ece33['is']('$textProxy')?_0x1c5a8f['consume'](_0x1ece33['textNode'],{'name':!0x0}):_0x1ece33['is']('element')&&_0x1c5a8f['consume'](_0x1ece33,{'name':!0x0});return _0x15741a['createElement']('footnoteRef',{'footnoteId':_0x24947f});}}),_0x47a732['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x34d2fd,{writer:_0x5dda3c})=>D(_0x34d2fd,_0x5dda3c)}),_0x47a732['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a407e,{writer:_0x372e11})=>{const _0x4331a7=_0x3a407e['getAttribute']('footnoteCounter');return _0x4db1ed(D(_0x3a407e,_0x372e11),_0x372e11,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4331a7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2042f0}=this,{t:t}=_0x2042f0['locale'],{conversion:_0xf47508}=_0x2042f0;_0xf47508['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xf47508['for']('upcast')['add'](_0x271c0d=>{_0x271c0d['on']('element:ol',(_0x50c55e,_0x4792d3,_0x1fe296)=>{const _0x12448c=_0x4792d3['viewItem'];if(!_0x12448c['hasClass']('footnotes-list')||!_0x4792d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1fe296['consumable']['consume'](_0x12448c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x397167,modelCursor:_0x43ecac}=_0x1fe296['convertChildren'](_0x4792d3['viewItem'],_0x4792d3['modelCursor']);_0x4792d3['modelRange']=_0x397167,_0x4792d3['modelCursor']=_0x43ecac;}),_0x271c0d['on']('element:hr',(_0x1ab0bb,_0x2dbea9,_0x4ff903)=>{const _0x57f1e7=_0x2dbea9['viewItem'];_0x57f1e7['hasClass']('footnotes-divider')&&_0x2dbea9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4ff903['consumable']['consume'](_0x57f1e7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xf47508['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x41bc13,{writer:_0x554773})=>v(_0x554773)}),_0xf47508['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1aebb9,{writer:_0x545435})=>{const _0x3594ed=v(_0x545435,{'data-footnotes-list-label':t('Footnotes')}),_0x377267=_0x4db1ed(_0x3594ed,_0x545435,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x545435['setCustomProperty']('footnotesDefinitions',!0x0,_0x377267),_0x377267;}});}['_defineDefinitionConverters'](){const {editor:_0x305032}=this,{conversion:_0x3c798e,locale:_0x15ce2c}=_0x305032,_0x362031=_0x305032['config']['get']('footnotes.multiBlock');_0x3c798e['for']('upcast')['add'](_0x422399=>{_0x422399['on']('element:li',(_0x569d7d,_0x365a6e,_0x3dc0d6)=>{const _0x191aa4=_0x365a6e['viewItem'];if(!_0x191aa4['hasClass']('footnote-definition')||!_0x191aa4['getAttribute']('id'))return;const _0x221d78=_0x191aa4['parent'];if(!_0x221d78['is']('element','ol')||!_0x221d78['hasClass']('footnotes-list'))return;if(!_0x3dc0d6['consumable']['test'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x34c2e5=_0x3dc0d6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x191aa4['getAttribute']('id')});if(!_0x3dc0d6['safeInsert'](_0x34c2e5,_0x365a6e['modelCursor']))return;_0x3dc0d6['consumable']['consume'](_0x191aa4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x43b9c3=Array['from'](_0x191aa4['getChildren']())['find'](_0x52832d=>_0x52832d['is']('element')&&_0x52832d['hasClass']('footnote-content'));for(const _0x3b501b of _0x191aa4['getChildren']())_0x3b501b['is']('element')&&(_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3dc0d6['consumable']['consume'](_0x3b501b,{'name':!0x0,'classes':'footnote-content'}));if(_0x43b9c3){if(_0x362031)_0x3dc0d6['convertChildren'](_0x43b9c3,_0x34c2e5);else{const _0x3607f4=_0x3dc0d6['writer']['createElement']('footnoteInlineContent');_0x3dc0d6['writer']['insert'](_0x3607f4,_0x34c2e5),_0x3dc0d6['convertChildren'](_0x43b9c3,_0x3607f4);}}_0x3dc0d6['updateConversionResult'](_0x34c2e5,_0x365a6e);});}),_0x3c798e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10534f,{writer:_0x5e2a89})=>b(_0x10534f,_0x5e2a89,_0x15ce2c,{'dataPipeline':!0x0})}),_0x3c798e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2f6369,{writer:_0x20ee3f})=>b(_0x2f6369,_0x20ee3f,_0x15ce2c)});}['_defineBogusParagraphConverters'](){const {editor:_0x4588ff}=this,{conversion:_0x2c7788}=_0x4588ff;_0x4588ff['config']['get']('footnotes.multiBlock')?(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4588ff['model']['document'],'change:data',()=>{!function(_0x4ffdd1,_0x2e983c){const _0x5032cf=_0x4ffdd1['document']['differ'],_0x8fe948=new Set();for(const _0x11811b of _0x5032cf['getChanges']()){const _0xbe7a98='attribute'==_0x11811b['type']?_0x11811b['range']['start']['parent']:_0x11811b['position']['parent'];_0xbe7a98['is']('element','footnoteDefinition')&&_0x8fe948['add'](_0xbe7a98);}for(const _0x593ecb of _0x8fe948['values']()){const _0x581a67=Array['from'](_0x593ecb['getChildren']())['filter'](_0x39be31=>g(_0x39be31,_0x2e983c['mapper']));for(const _0x11740d of _0x581a67)_0x2e983c['reconvertItem'](_0x11740d);}}(_0x4588ff['model'],_0x4588ff['editing']);})):(_0x2c7788['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2c7788['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3aea08,{writer:_0xf58cf5})=>{const _0x2afe55=_0xf58cf5['createContainerElement']('span');return _0xf58cf5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2afe55),_0x2afe55;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4c0b84}=this,{editing:_0x12061e,t:t}=_0x4c0b84,_0x35196a=_0x4c0b84['model']['document']['selection'];_0x4c0b84['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4c0b84['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12061e['view']['document'],'enter',(_0x5760c0,_0x4df3e1)=>{const _0x403ca0=function(_0x1c6545){const _0x33669a=_0x1c6545['getSelectedElement']();if(_0x33669a?.['is']('element','footnoteRef'))return _0x33669a;return null;}(_0x35196a);if(_0x403ca0){const _0x1c5a4f=_0x403ca0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c5a4f),_0x4df3e1['preventDefault'](),_0x5760c0['stop']();}},{'context':_0x3b57e8});}['_defineClickHandlers'](){const {editor:_0x334ecb}=this,{editing:_0x2c37eb}=_0x334ecb;_0x334ecb['editing']['view']['addObserver'](_0x206bf5),_0x334ecb['editing']['view']['addObserver'](_0x3ca212);let _0x292dc0=!0x1;this['listenTo'](_0x2c37eb['view']['document'],'pointerdown',(_0x5df794,_0x2b6ee3)=>{const {target:_0x36d6b0}=_0x2b6ee3,_0x31a64c=_0x2c37eb['view']['document']['selection'];_0x292dc0=!!(_0x36d6b0?.['is']('element','a')&&_0x36d6b0['parent']?.['is']('element','sup')&&_0x36d6b0['parent']['hasClass']('footnote'))&&_0x31a64c['getSelectedElement']()===_0x36d6b0['parent'];},{'priority':'high'}),this['listenTo'](_0x2c37eb['view']['document'],'click',(_0x9f6a1b,_0x3d76ee)=>{const {target:_0x352512}=_0x3d76ee;if(!_0x352512?.['is']('element','a'))return;if(_0x352512['parent']?.['is']('element','sup')&&_0x352512['parent']['hasClass']('footnote')&&!_0x292dc0)return void _0x3d76ee['preventDefault']();let _0x4c2978=_0x352512['getAttribute']('href');if(!_0x4c2978?.['startsWith']('#'))return;_0x4c2978=_0x4c2978['slice'](0x1);let _0x10566a=!0x1;(_0x4c2978['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4c2978['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4c2978))&&(_0x10566a=!0x0),_0x10566a&&(_0x3d76ee['preventDefault'](),_0x9f6a1b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x35a761}={}){return(_0x567b7f,{writer:_0x4aef80})=>{if(!p(_0x567b7f))return null;if(!_0x35a761)return _0x4aef80['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xcf35ad=_0x4aef80['createContainerElement']('p');return _0x4aef80['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcf35ad),_0xcf35ad;};}function p(_0x4e85ca){const {parent:_0x500fc3}=_0x4e85ca;if(!_0x500fc3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x500fc3['childCount'])return!0x1;for(const _0x332fbc of _0x4e85ca['getAttributeKeys']())if(!_0x332fbc['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x332fbc)return!0x1;return!0x0;}function g(_0x1e7694,_0x118fcb){if(!_0x1e7694['is']('element','paragraph'))return!0x1;const _0x4ea2d9=_0x118fcb['toViewElement'](_0x1e7694);return!!_0x4ea2d9&&p(_0x1e7694)!==_0x4ea2d9['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5c19e9){return _0x3b57e8(_0x5c19e9)&&_0x5c19e9['is']('containerElement')&&!!_0x5c19e9['getCustomProperty']('footnotesDefinitions');}function v(_0x53d124,_0x93dc45={}){const _0x3c14c3=_0x53d124['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x40cba2=_0x53d124['createContainerElement']('ol',{'class':'footnotes-list'},_0x53d124['createSlot']());return _0x53d124['createContainerElement']('div',{'class':'footnotes',..._0x93dc45},[_0x3c14c3,_0x40cba2]);}function D(_0x584012,_0x4ef27d){const _0x2914c8=_0x584012['getAttribute']('footnoteId'),_0xd0e8e6=_0x584012['getAttribute']('footnoteCounter'),_0x53b466=_0x4ef27d['createUIElement']('a',{'href':'#'+_0x2914c8},function(_0x56b1d7){const _0x27edcb=this['toDomElement'](_0x56b1d7);return _0x27edcb['textContent']=_0xd0e8e6,_0x27edcb;}),_0x17e173=_0x4ef27d['createContainerElement']('sup',{'id':'ref-'+_0x2914c8,'class':'footnote'},[_0x53b466]);return _0x17e173['getFillerOffset']=()=>null,_0x17e173;}function b(_0x2a78e2,_0xa72b44,_0x397f1d,{dataPipeline:_0x47814e}={}){const {t:t}=_0x397f1d,_0x2840b0=_0x2a78e2['getAttribute']('footnoteId'),_0x9e1038=_0xa72b44['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2840b0},function(_0x5af3f2){const _0x5aa2f6=this['toDomElement'](_0x5af3f2);return _0x5aa2f6['innerText']='^',_0x5aa2f6;}),_0xf391f4=_0x47814e?_0xa72b44['createContainerElement']('div',{'class':'footnote-content'}):_0x4d6706(_0xa72b44['createEditableElement']('div',{'class':'footnote-content'}),_0xa72b44,{'label':t('Footnote\x20content.')});return _0xa72b44['insert'](_0xa72b44['createPositionAt'](_0xf391f4,0x0),_0xa72b44['createSlot']()),_0xa72b44['createContainerElement']('li',{'class':'footnote-definition','id':_0x2840b0},[_0x9e1038,_0xf391f4]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);});}}
23
+ const _0x33035a=_0x5c69;function _0x5c69(_0x296a89,_0x179433){const _0x2ad7d5=_0x2ad7();return _0x5c69=function(_0x5c693e,_0x5b135e){_0x5c693e=_0x5c693e-0x8a;let _0x55fa64=_0x2ad7d5[_0x5c693e];return _0x55fa64;},_0x5c69(_0x296a89,_0x179433);}(function(_0x7586b7,_0x5e22a7){const _0x418bfe=_0x5c69,_0x909984=_0x7586b7();while(!![]){try{const _0x25e9f1=-parseInt(_0x418bfe(0x8b))/0x1+parseInt(_0x418bfe(0x9c))/0x2*(parseInt(_0x418bfe(0x98))/0x3)+parseInt(_0x418bfe(0x9b))/0x4+parseInt(_0x418bfe(0x8d))/0x5*(parseInt(_0x418bfe(0x9f))/0x6)+parseInt(_0x418bfe(0x97))/0x7*(parseInt(_0x418bfe(0x8f))/0x8)+parseInt(_0x418bfe(0x8c))/0x9*(parseInt(_0x418bfe(0x91))/0xa)+-parseInt(_0x418bfe(0xa0))/0xb*(parseInt(_0x418bfe(0x95))/0xc);if(_0x25e9f1===_0x5e22a7)break;else _0x909984['push'](_0x909984['shift']());}catch(_0x1fe8f8){_0x909984['push'](_0x909984['shift']());}}}(_0x2ad7,0x3834b));import{Command as _0x5672d9}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x29c246}from'../../footnotestracker.js';function _0x2ad7(){const _0x1d3926=['124bNbaGn','getAttribute','plugins','7494qVSPkd','44AIlhyX','change','getFootnotesDefinitionsObjectElement','execute','isInteger','202516tjyIMf','6984DtYGvn','295HbPBCQ','footnotesListStart','55208fxHeaM','setAttribute','760iXuVrT','isEnabled','_updateFootnotesCounters','model','1161528gVHmms','value','7UMBLCO','12315syqjrv','refresh','get','1703332qtfShj'];_0x2ad7=function(){return _0x1d3926;};return _0x2ad7();}export class FootnotesStartCommand extends _0x5672d9{[_0x33035a(0x99)](){const _0x308db4=_0x33035a,{editor:_0xdee3f0}=this,_0x4934f6=_0xdee3f0[_0x308db4(0x9e)][_0x308db4(0x9a)](_0x29c246)[_0x308db4(0xa2)]();this[_0x308db4(0x92)]=!!_0x4934f6,this[_0x308db4(0x96)]=_0x4934f6?.[_0x308db4(0x9d)](_0x308db4(0x8e))??null;}[_0x33035a(0xa3)]({value:_0x2fb4f9}){const _0x5cfbf7=_0x33035a,{editor:_0x167669}=this,_0x444938=_0x167669[_0x5cfbf7(0x9e)][_0x5cfbf7(0x9a)](_0x29c246),_0x1cd99e=_0x444938[_0x5cfbf7(0xa2)]();_0x1cd99e&&Number[_0x5cfbf7(0x8a)](_0x2fb4f9)&&_0x167669[_0x5cfbf7(0x94)][_0x5cfbf7(0xa1)](_0x190c1e=>{const _0x464a8a=_0x5cfbf7;_0x190c1e[_0x464a8a(0x90)](_0x464a8a(0x8e),_0x2fb4f9,_0x1cd99e),_0x444938[_0x464a8a(0x93)](_0x190c1e);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);});}}
23
+ const _0x2a5ec5=_0x4b5f;function _0x4b5f(_0x2cfc78,_0xbad663){const _0x5bcb49=_0x5bcb();return _0x4b5f=function(_0x4b5f56,_0x5a774d){_0x4b5f56=_0x4b5f56-0x121;let _0x396077=_0x5bcb49[_0x4b5f56];return _0x396077;},_0x4b5f(_0x2cfc78,_0xbad663);}(function(_0x41105e,_0x45e6b7){const _0x19a25d=_0x4b5f,_0x225dd3=_0x41105e();while(!![]){try{const _0x38c70d=parseInt(_0x19a25d(0x12a))/0x1+-parseInt(_0x19a25d(0x134))/0x2+parseInt(_0x19a25d(0x12f))/0x3+-parseInt(_0x19a25d(0x133))/0x4+parseInt(_0x19a25d(0x12d))/0x5+parseInt(_0x19a25d(0x125))/0x6+-parseInt(_0x19a25d(0x132))/0x7;if(_0x38c70d===_0x45e6b7)break;else _0x225dd3['push'](_0x225dd3['shift']());}catch(_0x64f2ce){_0x225dd3['push'](_0x225dd3['shift']());}}}(_0x5bcb,0x61a67));import{Command as _0x4c10a0}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2d79a0}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4d8d78}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4c10a0{[_0x2a5ec5(0x121)](){const _0x35a60c=_0x2a5ec5,{editor:_0x20152c}=this,_0xeb48e1=_0x20152c[_0x35a60c(0x131)][_0x35a60c(0x12e)](_0x4d8d78)[_0x35a60c(0x124)]();this[_0x35a60c(0x129)]=!!_0xeb48e1,this[_0x35a60c(0x127)]=_0xeb48e1?.[_0x35a60c(0x126)](_0x35a60c(0x130))??null;}[_0x2a5ec5(0x122)]({value:_0x2aaf5e}){const _0x33fdae=_0x2a5ec5,{editor:_0x2858f4}=this,_0x2c6ee6=_0x2858f4[_0x33fdae(0x131)][_0x33fdae(0x12e)](_0x4d8d78),_0x59b126=_0x2c6ee6[_0x33fdae(0x124)]();_0x59b126&&_0x2d79a0[_0x33fdae(0x128)](_0x2aaf5e)&&_0x2858f4[_0x33fdae(0x12b)][_0x33fdae(0x123)](_0x50c9de=>{const _0x8ee501=_0x33fdae;_0x50c9de[_0x8ee501(0x12c)](_0x8ee501(0x130),_0x2aaf5e,_0x59b126),_0x2c6ee6[_0x8ee501(0x135)](_0x50c9de);});}}function _0x5bcb(){const _0x3adfac=['593707bRtXFz','model','setAttribute','2699300ebJLep','get','1857543tmHOwC','footnotesListStyle','plugins','4965317tQYRwC','1105272tWkydZ','1258014iogRFA','_updateFootnotesCounters','refresh','execute','change','getFootnotesDefinitionsObjectElement','1571298hQrCAe','getAttribute','value','includes','isEnabled'];_0x5bcb=function(){return _0x3adfac;};return _0x5bcb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ function _0x58cf(){const _0x4b73d8=['decimal','lower-latin','331921HjcfAq','42NlJSHa','232236bGcdbo','6198400IPxqmG','9pOwHFl','upper-roman','upper-latin','lower-alpha','658056EfWbzg','upper-alpha','2091018CSEUsb','decimal-leading-zero','659024RAvDgC','12bYKIxN','696250qlfkmk','lower-roman'];_0x58cf=function(){return _0x4b73d8;};return _0x58cf();}const _0x49dfe2=_0x2b12;function _0x2b12(_0x17c086,_0x37a237){const _0x58cfef=_0x58cf();return _0x2b12=function(_0x2b124c,_0x370211){_0x2b124c=_0x2b124c-0xee;let _0x2a2783=_0x58cfef[_0x2b124c];return _0x2a2783;},_0x2b12(_0x17c086,_0x37a237);}(function(_0x5d42b1,_0x1f79f8){const _0x5a940b=_0x2b12,_0x14d068=_0x5d42b1();while(!![]){try{const _0x29e838=parseInt(_0x5a940b(0xf4))/0x1+parseInt(_0x5a940b(0xfc))/0x2+parseInt(_0x5a940b(0xef))/0x3*(parseInt(_0x5a940b(0xf6))/0x4)+parseInt(_0x5a940b(0xf0))/0x5+parseInt(_0x5a940b(0xfe))/0x6+-parseInt(_0x5a940b(0xf5))/0x7*(parseInt(_0x5a940b(0xee))/0x8)+parseInt(_0x5a940b(0xf8))/0x9*(-parseInt(_0x5a940b(0xf7))/0xa);if(_0x29e838===_0x1f79f8)break;else _0x14d068['push'](_0x14d068['shift']());}catch(_0x5568fa){_0x14d068['push'](_0x14d068['shift']());}}}(_0x58cf,0x4124e));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x49dfe2(0xf2),_0x49dfe2(0xff),_0x49dfe2(0xf3),_0x49dfe2(0xfa),_0x49dfe2(0xfb),_0x49dfe2(0xfd),_0x49dfe2(0xf1),_0x49dfe2(0xf9)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]();}
23
+ const _0x58faee=_0x2bfc;(function(_0x5331a3,_0x4bfa31){const _0x186460=_0x2bfc,_0x489bcd=_0x5331a3();while(!![]){try{const _0x1b2ae2=parseInt(_0x186460(0x152))/0x1*(parseInt(_0x186460(0x147))/0x2)+parseInt(_0x186460(0x154))/0x3+-parseInt(_0x186460(0x131))/0x4+parseInt(_0x186460(0x141))/0x5*(parseInt(_0x186460(0x14a))/0x6)+parseInt(_0x186460(0x11d))/0x7+-parseInt(_0x186460(0x106))/0x8*(parseInt(_0x186460(0x11b))/0x9)+-parseInt(_0x186460(0x123))/0xa*(parseInt(_0x186460(0x12d))/0xb);if(_0x1b2ae2===_0x4bfa31)break;else _0x489bcd['push'](_0x489bcd['shift']());}catch(_0x2e5503){_0x489bcd['push'](_0x489bcd['shift']());}}}(_0x432d,0xde3e6));import{Plugin as _0x35f17a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x106a04}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x179367}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4e8966}from'../footnotestracker.js';function _0x2bfc(_0x420b37,_0x14ffb8){const _0x432da3=_0x432d();return _0x2bfc=function(_0x2bfcdb,_0x5e0e2e){_0x2bfcdb=_0x2bfcdb-0x102;let _0x276065=_0x432da3[_0x2bfcdb];return _0x276065;},_0x2bfc(_0x420b37,_0x14ffb8);}import{FootnotesEditing as _0x49dc1e}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x35f17a{static get[_0x58faee(0x12f)](){const _0x5bddd6=_0x58faee;return _0x5bddd6(0x127);}static get[_0x58faee(0x13d)](){return[_0x49dc1e,_0x4e8966];}static get[_0x58faee(0x10b)](){return!0x0;}static get[_0x58faee(0x164)](){return!0x0;}[_0x58faee(0x119)](){const _0x4c7240=_0x58faee,{editor:_0x51bb25}=this;_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x144),_0x4c7240(0x137)),_0x51bb25[_0x4c7240(0x107)][_0x4c7240(0x13f)](_0x4c7240(0x163),0x1),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x145),new _0x106a04(_0x51bb25)),_0x51bb25[_0x4c7240(0x15d)][_0x4c7240(0x153)](_0x4c7240(0x133),new _0x179367(_0x51bb25)),this[_0x4c7240(0x15c)](),this[_0x4c7240(0x138)](),this[_0x4c7240(0x13b)](),this[_0x4c7240(0x109)]();}[_0x58faee(0x15c)](){const _0x2440f6=_0x58faee,{editor:_0x24622e}=this,{schema:_0x4bed1a}=_0x24622e[_0x2440f6(0x14e)];_0x4bed1a[_0x2440f6(0x12a)](_0x2440f6(0x14b),{'allowAttributes':[_0x2440f6(0x15b),_0x2440f6(0x157)]});}[_0x58faee(0x138)](){const _0x3ae02e=_0x58faee,{editor:_0x26eac6}=this,{conversion:_0x381915,model:_0x180df2}=_0x26eac6,{schema:_0x742c13}=_0x180df2;_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x10e))[_0x3ae02e(0x153)](_0x50b32a=>{const _0x50a3ec=_0x3ae02e;_0x50b32a['on'](_0x50a3ec(0x15e),(_0x191a97,_0xcc9ced,_0x5b7ab8)=>{const _0x5299f8=_0x50a3ec,_0x4d4cb4=_0xcc9ced[_0x5299f8(0x14c)],_0x240f35=_0xcc9ced[_0x5299f8(0x15a)]?.[_0x5299f8(0x112)];_0x4d4cb4[_0x5299f8(0x121)](_0x5299f8(0x14d))&&_0x240f35?.['is'](_0x5299f8(0x110),_0x5299f8(0x14b))&&(function(_0x4a3d30,_0x5179b8,_0x1661ef,_0x4b8c36){const _0x2ce451=_0x5299f8;if(!_0x4b8c36[_0x2ce451(0x11c)](_0x5179b8,_0x2ce451(0x157)))return;let _0x927b53=0x1;const _0x15aa53=_0x1661ef[_0x2ce451(0x11f)][_0x2ce451(0x13c)](_0x4a3d30,{'attributes':_0x2ce451(0x12c)});if(_0x15aa53){const _0x49d818=Number[_0x2ce451(0x143)](_0x4a3d30[_0x2ce451(0x11a)](_0x2ce451(0x12c)),0xa);Number[_0x2ce451(0x120)](_0x49d818)||(_0x927b53=_0x49d818);}!_0x15aa53&&_0x5179b8[_0x2ce451(0x124)](_0x2ce451(0x157))||_0x1661ef[_0x2ce451(0x111)][_0x2ce451(0x130)](_0x2ce451(0x157),_0x927b53,_0x5179b8);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13),function(_0x42ec80,_0x212567,_0x4724c0,_0x166ebf){const _0x2d0696=_0x5299f8;if(!_0x166ebf[_0x2d0696(0x11c)](_0x212567,_0x2d0696(0x15b)))return;let _0x4b997a=_0x2d0696(0x137),_0x35ae24=!0x1;if(_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'attributes':_0x2d0696(0x161)})){const _0x35e1b5={0x1:_0x2d0696(0x137),'a':_0x2d0696(0x114),'A':_0x2d0696(0x14f),'i':_0x2d0696(0x12e),'I':_0x2d0696(0x13e)}[_0x42ec80[_0x2d0696(0x11a)](_0x2d0696(0x161))];_0x35e1b5&&(_0x4b997a=_0x35e1b5),_0x35ae24=!0x0;}_0x4724c0[_0x2d0696(0x11f)][_0x2d0696(0x13c)](_0x42ec80,{'styles':_0x2d0696(0x151)})&&(_0x4b997a=_0x42ec80[_0x2d0696(0x108)](_0x2d0696(0x151)),_0x35ae24=!0x0),!_0x35ae24&&_0x212567[_0x2d0696(0x124)](_0x2d0696(0x15b))||_0x4724c0[_0x2d0696(0x111)][_0x2d0696(0x130)](_0x2d0696(0x15b),_0x4b997a,_0x212567);}(_0x4d4cb4,_0x240f35,_0x5b7ab8,_0x742c13));});}),_0x381915[_0x3ae02e(0x158)](_0x3ae02e(0x129))[_0x3ae02e(0x153)](_0x478865=>{const _0xaefb6b=_0x3ae02e;_0x478865['on'](_0xaefb6b(0x117),(_0x578a83,_0x447584,_0xb71d9e)=>{const _0x4fa827=_0xaefb6b;if(!_0xb71d9e[_0x4fa827(0x11f)][_0x4fa827(0x13c)](_0x447584[_0x4fa827(0x160)],_0x578a83[_0x4fa827(0x115)]))return;const _0x18c6a1=M(_0x447584[_0x4fa827(0x160)],_0xb71d9e[_0x4fa827(0x104)]),{attributeNewValue:_0x4812f3}=_0x447584;null==_0x4812f3||0x1===_0x4812f3?_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x142)](_0x4fa827(0x12c),_0x18c6a1):_0xb71d9e[_0x4fa827(0x111)][_0x4fa827(0x130)](_0x4fa827(0x12c),String(_0x4812f3),_0x18c6a1);}),_0x478865['on'](_0xaefb6b(0x134),(_0x49a92a,_0x106618,_0x5291e1)=>{const _0x1cfd09=_0xaefb6b;if(!_0x5291e1[_0x1cfd09(0x11f)][_0x1cfd09(0x13c)](_0x106618[_0x1cfd09(0x160)],_0x49a92a[_0x1cfd09(0x115)]))return;const _0x7c8d4=M(_0x106618[_0x1cfd09(0x160)],_0x5291e1[_0x1cfd09(0x104)]),{attributeNewValue:_0x9bb25}=_0x106618;_0x9bb25&&_0x1cfd09(0x137)!==_0x9bb25?_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x10f)](_0x1cfd09(0x151),_0x9bb25,_0x7c8d4):_0x5291e1[_0x1cfd09(0x111)][_0x1cfd09(0x118)](_0x1cfd09(0x151),_0x7c8d4);});});}[_0x58faee(0x109)](){const _0x117d70=_0x58faee,{editor:_0x34dc84}=this,{model:_0x170452}=_0x34dc84,_0x69a2fc=_0x34dc84[_0x117d70(0x155)][_0x117d70(0x10c)](_0x4e8966),_0x361d38=this[_0x117d70(0x166)](),_0x53562e=this[_0x117d70(0x139)]();_0x170452[_0x117d70(0x150)][_0x117d70(0x140)](_0x2b915e=>{const _0x4a4727=_0x117d70,_0x27c0df=_0x170452[_0x4a4727(0x150)][_0x4a4727(0x102)][_0x4a4727(0x116)]();let _0xc9dad5=!0x1;for(const _0x3337d1 of _0x27c0df){if(_0x4a4727(0x105)!==_0x3337d1[_0x4a4727(0x161)]||_0x4a4727(0x15f)===_0x3337d1[_0x4a4727(0x115)])continue;const _0x21b3a5=_0x170452[_0x4a4727(0x156)](_0x3337d1[_0x4a4727(0x146)][_0x4a4727(0x159)]);for(const _0x309a5f of _0x21b3a5[_0x4a4727(0x126)]())_0x309a5f['is'](_0x4a4727(0x110),_0x4a4727(0x14b))&&(!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x157))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x157))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x157),_0x53562e,_0x309a5f),_0xc9dad5=!0x0),!_0x309a5f[_0x4a4727(0x124)](_0x4a4727(0x15b))&&_0x170452[_0x4a4727(0x149)][_0x4a4727(0x11c)](_0x309a5f,_0x4a4727(0x15b))&&(_0x2b915e[_0x4a4727(0x130)](_0x4a4727(0x15b),_0x361d38,_0x309a5f),_0xc9dad5=!0x0));}return _0xc9dad5&&_0x69a2fc[_0x4a4727(0x10a)](_0x2b915e),_0xc9dad5;});}[_0x58faee(0x13b)](){const _0x4c9c6c=_0x58faee,{editor:_0x19c212}=this;_0x19c212[_0x4c9c6c(0x155)][_0x4c9c6c(0x10c)](_0x4e8966)[_0x4c9c6c(0x11e)](_0x51654c=>this[_0x4c9c6c(0x167)](_0x51654c));}[_0x58faee(0x166)](){const _0x29e918=_0x58faee;return this[_0x29e918(0x162)][_0x29e918(0x107)][_0x29e918(0x10c)](_0x29e918(0x144));}[_0x58faee(0x139)](){const _0x4888df=_0x58faee;return this[_0x4888df(0x162)][_0x4888df(0x107)][_0x4888df(0x10c)](_0x4888df(0x163));}[_0x58faee(0x167)]({container:_0x454450,value:_0x1c3dbc,digits:_0x4b2dc7}){const _0x4cd538=_0x58faee,_0x3b0ab3=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x15b)),_0x3ec109=_0x454450[_0x4cd538(0x11a)](_0x4cd538(0x157)),_0x53ab38=Math[_0x4cd538(0x128)](_0x1c3dbc)+(_0x3ec109??0x1)-0x1;switch(_0x3b0ab3){case _0x4cd538(0x12b):return function(_0x3aab68,_0x202e2b){const _0x26b171=_0x4cd538;return String(_0x3aab68)[_0x26b171(0x122)](_0x202e2b,'0');}(_0x53ab38,Math[_0x4cd538(0x135)](0x2,_0x4b2dc7));case _0x4cd538(0x114):case _0x4cd538(0x10d):return N(_0x53ab38,!0x1);case _0x4cd538(0x14f):case _0x4cd538(0x13a):return N(_0x53ab38,!0x0);case _0x4cd538(0x12e):return X(_0x53ab38,!0x1);case _0x4cd538(0x13e):return X(_0x53ab38,!0x0);default:return String(_0x53ab38);}}}function M(_0x1e2ca4,_0x4870ef){const _0xe9efd1=_0x58faee,_0x4c0ba4=_0x4870ef[_0xe9efd1(0x103)](_0x1e2ca4);return Array[_0xe9efd1(0x148)](_0x4c0ba4[_0xe9efd1(0x113)]())[_0xe9efd1(0x136)](_0x5b22a3=>_0x5b22a3['is'](_0xe9efd1(0x110),'ol')&&_0x5b22a3[_0xe9efd1(0x121)](_0xe9efd1(0x14d)));}function N(_0x4a307e,_0x57e301){const _0x211eef=_0x58faee;let _0xc9e8ac='',_0x49e072=_0x4a307e;for(;_0x49e072>0x0;){const _0x231c49=(_0x49e072-0x1)%0x1a;_0xc9e8ac=String[_0x211eef(0x125)](0x61+_0x231c49)+_0xc9e8ac,_0x49e072=Math[_0x211eef(0x128)]((_0x49e072-0x1)/0x1a);}return _0x57e301?_0xc9e8ac[_0x211eef(0x132)]():_0xc9e8ac;}function _0x432d(){const _0x218107=['hasAttribute','fromCharCode','getItems','FootnotesPropertiesEditing','floor','downcast','extend','decimal-leading-zero','start','99XiWawQ','lower-roman','pluginName','setAttribute','5988404XxCjlg','toUpperCase','footnotesStart','attribute:footnotesListStyle:footnotesDefinitions','max','find','decimal','_defineConverters','_getDefaultStartIndex','upper-latin','_defineFormatter','consume','requires','upper-roman','define','registerPostFixer','3921850ELxVkl','removeAttribute','parseInt','footnotes.footnotesProperties.defaultListStyle','footnotesStyle','position','382meYAlP','from','schema','6CZMATH','footnotesDefinitions','viewItem','footnotes-list','model','upper-alpha','document','list-style-type','6658puvCCa','add','4775808iRpFxE','plugins','createRangeOn','footnotesListStart','for','nodeAfter','modelCursor','footnotesListStyle','_defineSchema','commands','element:ol','$text','item','type','editor','footnotes.footnotesProperties.defaultStartIndex','isPremiumPlugin','toLowerCase','_getDefaultListStyle','_formatFootnoteListValue','differ','toViewElement','mapper','insert','11128jZRcBJ','config','getStyle','_definePostfixer','_updateFootnotesCounters','isOfficialPlugin','get','lower-latin','upcast','setStyle','element','writer','parent','getChildren','lower-alpha','name','getChanges','attribute:footnotesListStart:footnotesDefinitions','removeStyle','init','getAttribute','171yUzhQM','checkAttribute','340963ZJwaCs','setFootnoteFormatter','consumable','isNaN','hasClass','padStart','1403170ZbZRxJ'];_0x432d=function(){return _0x218107;};return _0x432d();}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(_0x290e03,_0x2bf331){const _0x9951b9=_0x58faee;let _0x41968c='',_0x301cdf=_0x290e03;for(const {value:_0x30b00f,numeral:_0x38f015}of V)for(;_0x301cdf>=_0x30b00f;)_0x41968c+=_0x38f015,_0x301cdf-=_0x30b00f;return _0x2bf331?_0x41968c:_0x41968c[_0x9951b9(0x165)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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']]});}}
23
+ import{BalloonPanelView as _0x1e495,ButtonView as _0x376085,ContextualBalloon as _0x1d25d6,createDropdown as _0x352896}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1d24c6}from'ckeditor5/src/widget.js';import{Plugin as _0x2168d9}from'ckeditor5/src/core.js';import{IconFootnote as _0x65352f,IconListStyleDecimal as _0x10ff2d,IconListStyleDecimalLeadingZero as _0x5eb170,IconListStyleLowerLatin as _0x12dd5f,IconListStyleLowerRoman as _0x3922fc,IconListStyleUpperLatin as _0x76849c,IconListStyleUpperRoman as _0x1ac3ac}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4b681f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2308d8}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2168d9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1d25d6,_0x1d24c6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x530b9c}=this,{componentFactory:_0x47aee5}=_0x530b9c['ui'];_0x530b9c['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x47aee5['add']('footnotesStyle',function(_0x3d8ed5){return _0x4c57ec=>{const {t:t}=_0x4c57ec,_0x488694=_0x3d8ed5['commands']['get']('footnotesStyle'),_0x31a245=_0x352896(_0x4c57ec),{buttonView:_0x40de8b}=_0x31a245;return _0x31a245['class']='ck-footnotes-styles-dropdown',_0x31a245['bind']('isEnabled')['to'](_0x488694,'isEnabled'),_0x40de8b['set']({'label':t('Footnotes\x20style'),'icon':_0x65352f,'tooltip':!0x0}),_0x31a245['once']('change:isOpen',()=>{const _0x34951a=function({editor:_0x3c64e3,dropdownView:_0x9e2878}){const {t:t}=_0x3c64e3['locale'],_0x4932be=t('Footnotes\x20definitions\x20styles'),_0x2f1eec=function(_0x30fec7){const t=_0x30fec7['locale']['t'],_0x133e98=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x10ff2d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5eb170},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3922fc},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1ac3ac},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x12dd5f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x76849c}];return _0x133e98['map'](function(_0x4d37f5){const _0x29ee4d=_0x4d37f5['locale'];return({label:_0x28030a,icon:_0x300226,tooltip:_0x8ac7c3,style:_0x2f62a4})=>{const _0xf1b27a=_0x4d37f5['commands']['get']('footnotesStyle'),_0x5b0d72=new _0x376085(_0x29ee4d);return _0x5b0d72['set']({'label':_0x28030a,'icon':_0x300226,'tooltip':_0x8ac7c3}),_0x5b0d72['bind']('isOn')['to'](_0xf1b27a,'value',_0x4ab001=>_0x4ab001===_0x2f62a4),_0x5b0d72['bind']('isEnabled')['to'](_0xf1b27a,'isEnabled'),_0x5b0d72['on']('execute',()=>{_0x4d37f5['execute']('footnotesStyle',{'value':_0x2f62a4}),_0x4d37f5['editing']['view']['focus']();}),_0x5b0d72;};}(_0x30fec7));}(_0x3c64e3),_0x2c4d56=new _0x4b681f(_0x3c64e3['locale'],{'styleGridAriaLabel':_0x4932be,'styleButtonViews':_0x2f1eec});return _0x2c4d56['delegate']('execute')['to'](_0x9e2878),_0x2c4d56['on']('footnotesListStart',(_0x527539,_0x5b61c4)=>{_0x3c64e3['execute']('footnotesStart',{'value':_0x5b61c4['startIndex']});}),_0x2c4d56;}({'editor':_0x3d8ed5,'dropdownView':_0x31a245});_0x31a245['panelView']['children']['add'](_0x34951a);}),_0x31a245;};}(_0x530b9c));}['afterInit'](){const {editor:_0x5035ab}=this,{t:t}=_0x5035ab['locale'],_0x2876cc=_0x5035ab['plugins']['get'](_0x1d24c6),{defaultPositions:_0x5a14da}=_0x1e495;_0x2876cc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5035ab['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2fbc6c=>{let _0x67f4cf=_0x2fbc6c['getFirstPosition']()?.['parent'];return _0x67f4cf?.['is']('$text')&&(_0x67f4cf=_0x67f4cf['parent']),_0x67f4cf?.['is']('element')?_0x67f4cf['findAncestor'](_0x2308d8):null;},'positions':[_0x5a14da['southArrowNorth'],_0x5a14da['southArrowNorthMiddleWest'],_0x5a14da['southArrowNorthMiddleEast'],_0x5a14da['southArrowNorthWest'],_0x5a14da['southArrowNorthEast'],_0x5a14da['northArrowSouth'],_0x5a14da['northArrowSouthMiddleWest'],_0x5a14da['northArrowSouthMiddleEast'],_0x5a14da['northArrowSouthWest'],_0x5a14da['northArrowSouthEast'],_0x5a14da['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ import{ButtonView as _0x140062,View as _0x4764d9,ViewCollection as _0x266833,FocusCycler as _0x420d39,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 _0x4764d9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x266833();['focusCycler'];constructor(_0x107b11,{styleButtonViews:_0x52e1e3,styleGridAriaLabel:_0x140e91}){super(_0x107b11),(this['focusCycler']=new _0x420d39({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x52e1e3,_0x140e91),[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 _0x5f1a5d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5f1a5d['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 _0x4bf2e9=_0x32a99c=>_0x32a99c['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4bf2e9),this['keystrokes']['set']('arrowleft',_0x4bf2e9),this['keystrokes']['set']('arrowup',_0x4bf2e9),this['keystrokes']['set']('arrowdown',_0x4bf2e9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2f9171,_0x295949){const _0x515a70=new _0x4764d9(this['locale']);return _0x515a70['children']=_0x515a70['createCollection'](),_0x515a70['children']['addMany'](_0x2f9171),_0x515a70['setTemplate']({'tag':'div','attributes':{'aria-label':_0x295949,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x515a70['children']}),_0x515a70['children']['delegate']('execute')['to'](this),_0x515a70['focus']=function(){for(const _0x241d1f of this['children'])if(_0x241d1f instanceof _0x140062&&_0x241d1f['isOn'])return void _0x241d1f['focus']();this['children']['first']['focus']();},_0x515a70['focusTracker']=new ot(),_0x515a70['keystrokes']=new rt(),_0x515a70['render'](),_0x515a70['keystrokes']['listenTo'](_0x515a70['element']),this['children']['add'](_0x515a70),_0x515a70;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5be40b=this['_createStartIndexPropertyView'](),_0x5f5800=[_0x5be40b],_0x15c296=new st(this['locale'],_0x5f5800);return _0x15c296['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x15c296['buttonView']['bind']('isEnabled')['toMany'](_0x5f5800,'isEnabled',(..._0x24d0f8)=>_0x24d0f8['some'](_0x193116=>_0x193116)),_0x15c296['buttonView']['on']('change:isEnabled',(_0x5ca782,_0x57fbb2,_0x6b410d)=>{_0x6b410d||(_0x15c296['isCollapsed']=!0x0);}),this['children']['add'](_0x15c296),[_0x5be40b,_0x15c296];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x24adf3=new it(this['locale'],et);return _0x24adf3['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x24adf3['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x24adf3['fieldView']['on']('input',()=>{const _0x2e18fe=_0x24adf3['fieldView']['element'],_0x3747e3=_0x2e18fe['valueAsNumber'];Number['isNaN'](_0x3747e3)?_0x24adf3['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2e18fe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3747e3}):_0x24adf3['errorText']=t(_0x3747e3<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x24adf3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ function _0x5aa7(){var _0x292503=['226132QFmwNp','isPremiumPlugin','300qrIpLZ','requires','pluginName','FootnotesProperties','515005tWbvxP','289420fOibGo','16FzDSsn','8577AXtjTV','1035387pOcGsX','6zjCJtK','199423TpGIec','11QOakIK','5591310WmRRJn','isOfficialPlugin'];_0x5aa7=function(){return _0x292503;};return _0x5aa7();}var _0x189944=_0x25f6;(function(_0x49cbd8,_0x42384a){var _0xd9cff2=_0x25f6,_0x5a8aa2=_0x49cbd8();while(!![]){try{var _0x175e03=parseInt(_0xd9cff2(0x119))/0x1+-parseInt(_0xd9cff2(0x120))/0x2+parseInt(_0xd9cff2(0x122))/0x3*(-parseInt(_0xd9cff2(0x11b))/0x4)+-parseInt(_0xd9cff2(0x11f))/0x5*(parseInt(_0xd9cff2(0x124))/0x6)+parseInt(_0xd9cff2(0x125))/0x7+parseInt(_0xd9cff2(0x121))/0x8*(-parseInt(_0xd9cff2(0x123))/0x9)+-parseInt(_0xd9cff2(0x127))/0xa*(-parseInt(_0xd9cff2(0x126))/0xb);if(_0x175e03===_0x42384a)break;else _0x5a8aa2['push'](_0x5a8aa2['shift']());}catch(_0x1cbc6e){_0x5a8aa2['push'](_0x5a8aa2['shift']());}}}(_0x5aa7,0x1daba));import{Plugin as _0x5b613e}from'ckeditor5/src/core.js';function _0x25f6(_0x4a0828,_0x1b8498){var _0x5aa7d7=_0x5aa7();return _0x25f6=function(_0x25f69b,_0x41d404){_0x25f69b=_0x25f69b-0x119;var _0x1316e6=_0x5aa7d7[_0x25f69b];return _0x1316e6;},_0x25f6(_0x4a0828,_0x1b8498);}import{FootnotesPropertiesEditing as _0x113ea0}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3e7ebd}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5b613e{static get[_0x189944(0x11d)](){var _0x30d78c=_0x189944;return _0x30d78c(0x11e);}static get[_0x189944(0x11c)](){return[_0x113ea0,_0x3e7ebd];}static get[_0x189944(0x128)](){return!0x0;}static get[_0x189944(0x11a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}
23
+ const _0x3e47ae=_0x3441;(function(_0x16dcf2,_0xc84746){const _0x3508c9=_0x3441,_0x36be68=_0x16dcf2();while(!![]){try{const _0x402d48=parseInt(_0x3508c9(0xf3))/0x1+parseInt(_0x3508c9(0xec))/0x2*(-parseInt(_0x3508c9(0x109))/0x3)+parseInt(_0x3508c9(0x111))/0x4+-parseInt(_0x3508c9(0xf5))/0x5+parseInt(_0x3508c9(0x121))/0x6+parseInt(_0x3508c9(0x119))/0x7+-parseInt(_0x3508c9(0xde))/0x8;if(_0x402d48===_0xc84746)break;else _0x36be68['push'](_0x36be68['shift']());}catch(_0x40d375){_0x36be68['push'](_0x36be68['shift']());}}}(_0x188b,0xd5720));function _0x3441(_0x326f10,_0x5abfb0){const _0x188bab=_0x188b();return _0x3441=function(_0x3441a3,_0x5a5422){_0x3441a3=_0x3441a3-0xcb;let _0x32457c=_0x188bab[_0x3441a3];return _0x32457c;},_0x3441(_0x326f10,_0x5abfb0);}import{Plugin as _0x14a252}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x14179f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x14a252{[_0x3e47ae(0xd1)]=[];[_0x3e47ae(0xef)]=null;[_0x3e47ae(0x11a)]=null;[_0x3e47ae(0xe4)];[_0x3e47ae(0x108)];[_0x3e47ae(0xff)];static get[_0x3e47ae(0x11f)](){const _0x2ded39=_0x3e47ae;return _0x2ded39(0xe5);}static get[_0x3e47ae(0xdd)](){return!0x0;}static get[_0x3e47ae(0xdf)](){return!0x0;}constructor(_0x3545cb){const _0x19d5c4=_0x3e47ae;super(_0x3545cb),this[_0x19d5c4(0xe4)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x10b),'getElementKey':()=>_0x19d5c4(0xed)}),this[_0x19d5c4(0x108)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0x127),'getElementKey':_0x5fa4c8=>_0x5fa4c8[_0x19d5c4(0x112)](_0x19d5c4(0x106))}),this[_0x19d5c4(0xff)]=new _0x14179f(this[_0x19d5c4(0xf7)][_0x19d5c4(0xd7)],{'elementName':_0x19d5c4(0xee),'getElementKey':_0x59812e=>_0x59812e[_0x19d5c4(0x112)](_0x19d5c4(0x106))});}[_0x3e47ae(0xcb)](){const _0x447c2e=_0x3e47ae,{editor:_0xe178a0}=this,{model:_0x1a720d,data:_0x56eb37}=_0xe178a0;_0x1a720d[_0x447c2e(0xd4)][_0x447c2e(0x126)](_0x502291=>{const _0x37adba=_0x447c2e,_0x43ce2c=_0x1a720d[_0x37adba(0xd4)][_0x37adba(0xd9)][_0x37adba(0x11b)]();let _0x4a8384=!0x1;return this[_0x37adba(0xf4)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x12a)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x10e)](_0x502291,_0x43ce2c)&&(_0x4a8384=!0x0),this[_0x37adba(0x102)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0xf2)](_0x502291)&&(_0x4a8384=!0x0),this[_0x37adba(0x110)](_0x502291)&&(_0x4a8384=!0x0),_0x4a8384;}),this[_0x447c2e(0x100)](_0x1a720d[_0x447c2e(0xd4)],_0x447c2e(0xfb),()=>{const _0x3a79c1=_0x447c2e;_0x1a720d[_0x3a79c1(0x113)]({'isUndoable':!0x1},_0x2f49bc=>{const _0x4b4871=_0x3a79c1;this[_0x4b4871(0xe6)](_0x2f49bc);});},{'priority':_0x447c2e(0x12b)}),this[_0x447c2e(0x100)](_0x56eb37,_0x447c2e(0x115),()=>{const _0xa92f73=_0x447c2e;this[_0xa92f73(0xd1)]=[],this[_0xa92f73(0xe4)][_0xa92f73(0xdc)](),this[_0xa92f73(0x108)][_0xa92f73(0xdc)](),this[_0xa92f73(0xff)][_0xa92f73(0xdc)]();},{'priority':_0x447c2e(0xfc)});}[_0x3e47ae(0xe2)](){const _0xda1161=_0x3e47ae;return this[_0xda1161(0xef)];}[_0x3e47ae(0x101)](_0x526ab2){const _0x13e186=_0x3e47ae;return this[_0x13e186(0xd1)][_0x13e186(0x123)](_0x2c13ed=>_0x2c13ed['id']===_0x526ab2)||null;}[_0x3e47ae(0xe0)](){const _0x245e3c=_0x3e47ae;return Array[_0x245e3c(0x125)](this[_0x245e3c(0xd1)]);}[_0x3e47ae(0x120)](){const _0x2132b2=_0x3e47ae;return this[_0x2132b2(0x11a)];}[_0x3e47ae(0xd3)](_0x5743a6){const _0xc41c0=_0x3e47ae;this[_0xc41c0(0x11a)]=_0x5743a6;}[_0x3e47ae(0x10f)](_0x4beb4f,_0x1f209a=0x0){const _0x50f456=_0x3e47ae;let _0x27333e=!0x1;for(let _0x340b20=_0x1f209a;_0x340b20<this[_0x50f456(0xd1)][_0x50f456(0xf6)];_0x340b20++)this[_0x50f456(0x114)](_0x4beb4f,_0x340b20)&&(_0x27333e=!0x0);return _0x27333e;}[_0x3e47ae(0x116)](_0x2b867b,_0x46b6de){const _0x7bc15a=_0x3e47ae,_0x3913ab=_0x2b867b[_0x7bc15a(0xcc)](_0x7bc15a(0x10b),{});return _0x2b867b[_0x7bc15a(0xf0)](_0x3913ab,_0x46b6de),this[_0x7bc15a(0xef)]=_0x3913ab,_0x3913ab;}[_0x3e47ae(0xe6)](_0x1391ac){const _0x2b424f=_0x3e47ae;if(!this[_0x2b424f(0xd1)][_0x2b424f(0xf6)]||this[_0x2b424f(0xef)])return;const _0x67fdf0=this[_0x2b424f(0xd1)][0x0][_0x2b424f(0x117)][_0x2b424f(0xcf)],_0x36b1e9=this[_0x2b424f(0x116)](_0x1391ac,_0x67fdf0);for(const _0x325af9 of this[_0x2b424f(0xd1)])_0x325af9[_0x2b424f(0x118)][_0x2b424f(0xdb)]||_0x1391ac[_0x2b424f(0x11e)](_0x325af9[_0x2b424f(0x118)],_0x36b1e9,_0x2b424f(0x11d));this[_0x2b424f(0x10f)](_0x1391ac);}[_0x3e47ae(0xf4)](_0x413221,_0x3808ca){const _0x8a9f9d=_0x3e47ae;let _0x20f8bd=!0x1;const {inserted:_0x238ac6,removed:_0xc1c29,moved:_0x5aea18}=this[_0x8a9f9d(0xe4)][_0x8a9f9d(0x11b)](_0x3808ca);if(_0x5aea18[_0x8a9f9d(0xf6)]&&(this[_0x8a9f9d(0xef)]=_0x5aea18[0x0]),_0x238ac6[_0x8a9f9d(0xf6)]){if(_0x238ac6[_0x8a9f9d(0xf6)]>0x1||this[_0x8a9f9d(0xef)]&&_0x238ac6[_0x8a9f9d(0xea)](_0x5cb4ee=>_0x5cb4ee!==this[_0x8a9f9d(0xef)])){const _0x1c95c6=_0x413221[_0x8a9f9d(0xcc)](_0x8a9f9d(0x10b),{}),_0x5ed378=[];this[_0x8a9f9d(0xef)]&&_0x5ed378[_0x8a9f9d(0x103)](this[_0x8a9f9d(0xef)]),_0x5ed378[_0x8a9f9d(0x103)](..._0x238ac6),_0x413221[_0x8a9f9d(0x11e)](_0x1c95c6,_0x5ed378[0x0],_0x8a9f9d(0xcd));for(const _0x12d8bd of _0x5ed378)_0x413221[_0x8a9f9d(0xd5)](_0x413221[_0x8a9f9d(0x10c)](_0x12d8bd),_0x413221[_0x8a9f9d(0xd0)](_0x1c95c6,_0x8a9f9d(0x11d))),_0x413221[_0x8a9f9d(0xd6)](_0x12d8bd);this[_0x8a9f9d(0xef)]=_0x1c95c6,this[_0x8a9f9d(0x10f)](_0x413221),_0x20f8bd=!0x0;}else this[_0x8a9f9d(0xef)]=_0x238ac6[0x0];}if(_0xc1c29[_0x8a9f9d(0xf6)]&&_0x8a9f9d(0x105)===this[_0x8a9f9d(0xef)]?.[_0x8a9f9d(0xcf)][_0x8a9f9d(0xfe)]){for(const _0x20507d of this[_0x8a9f9d(0xd1)])_0x413221[_0x8a9f9d(0xd6)](_0x20507d[_0x8a9f9d(0x117)]),_0x20f8bd=!0x0;this[_0x8a9f9d(0xd1)]=[],this[_0x8a9f9d(0xef)]=null;}return _0x20f8bd;}[_0x3e47ae(0x12a)](_0x1c9aab,_0x2a2056){const _0x376d3b=_0x3e47ae;let _0x268bd3=!0x1;const _0x59d72e=this[_0x376d3b(0xf7)][_0x376d3b(0x11c)][_0x376d3b(0xeb)](_0x376d3b(0xfd)),{inserted:_0xa23ae4,moved:_0x3f79e9}=this[_0x376d3b(0xff)][_0x376d3b(0x11b)](_0x2a2056);for(const _0x1fd511 of[..._0x3f79e9,..._0xa23ae4]){const _0xe70387=_0x1fd511[_0x376d3b(0x112)](_0x376d3b(0x106)),_0x2bec24=this[_0x376d3b(0x101)](_0xe70387);_0x2bec24&&(_0x2bec24[_0x376d3b(0x118)]=_0x1fd511),_(_0x1c9aab,_0x59d72e,_0x1fd511)&&(_0x268bd3=!0x0);}return _0x268bd3;}[_0x3e47ae(0x10e)](_0x3eb816,_0x40d2ea){const _0x3b9e91=_0x3e47ae;let _0x334638=!0x1;const {removed:_0x305155,inserted:_0x24d038,moved:_0x15b90f}=this[_0x3b9e91(0x108)][_0x3b9e91(0x11b)](_0x40d2ea);for(const _0x1e3d62 of _0x305155)this[_0x3b9e91(0xd2)](_0x3eb816,_0x1e3d62)&&(_0x334638=!0x0);for(const _0x325eb0 of _0x24d038)this[_0x3b9e91(0xda)](_0x3eb816,_0x325eb0)&&(_0x334638=!0x0);for(const _0x2f4bcc of _0x15b90f)this[_0x3b9e91(0xe1)](_0x3eb816,_0x2f4bcc)&&(_0x334638=!0x0);return _0x334638;}[_0x3e47ae(0xf2)](_0x186183){const _0x4c6aef=_0x3e47ae;if(!this[_0x4c6aef(0xef)])return!0x1;let _0x202e7f=!0x1;if(this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]!==this[_0x4c6aef(0xd1)][_0x4c6aef(0xf6)]){const _0x3eb26a=[];for(const _0x25c892 of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x330f8d=_0x25c892[_0x4c6aef(0x112)](_0x4c6aef(0x106));this[_0x4c6aef(0x101)](_0x330f8d)||(_0x3eb26a[_0x4c6aef(0x10d)](_0x25c892),_0x202e7f=!0x0);}for(const _0x45bbdc of _0x3eb26a)_0x186183[_0x4c6aef(0xd6)](_0x45bbdc);}const _0x3cc4ab=new Set(),_0x53345e=[];for(const _0x5ee9be of this[_0x4c6aef(0xef)][_0x4c6aef(0xfa)]()){const _0x3612a4=_0x5ee9be[_0x4c6aef(0x112)](_0x4c6aef(0x106));_0x3cc4ab[_0x4c6aef(0x10a)](_0x3612a4)?(_0x53345e[_0x4c6aef(0x10d)](_0x5ee9be),_0x202e7f=!0x0):_0x3cc4ab[_0x4c6aef(0x129)](_0x3612a4);}for(const _0x167f7f of _0x53345e)_0x186183[_0x4c6aef(0xd6)](_0x167f7f);return this[_0x4c6aef(0xef)][_0x4c6aef(0x128)]||(_0x186183[_0x4c6aef(0xd6)](this[_0x4c6aef(0xef)]),this[_0x4c6aef(0xef)]=null,_0x202e7f=!0x0),_0x202e7f;}[_0x3e47ae(0xda)](_0x3a7e31,_0x54a24a){const _0x219e77=_0x3e47ae;if(this[_0x219e77(0xd1)][_0x219e77(0x123)](_0x317bf4=>_0x317bf4[_0x219e77(0x117)]===_0x54a24a))return!0x1;let _0x2ab592=!0x1;const _0x385f93=_0x54a24a[_0x219e77(0x112)](_0x219e77(0x106)),_0x51f111=this[_0x219e77(0xd1)][_0x219e77(0x12c)](_0x90e30d=>_0x90e30d['id']===_0x385f93);-0x1!==_0x51f111&&(_0x3a7e31[_0x219e77(0xd6)](this[_0x219e77(0xd1)][_0x51f111][_0x219e77(0x117)]),this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x51f111,0x1),_0x2ab592=!0x0);let _0x3762c9=this[_0x219e77(0xef)]?function(_0x3a427f,_0x7343af){const _0x21b9c5=_0x219e77;for(const _0x5b4e8e of _0x3a427f[_0x21b9c5(0xfa)]())if(_0x5b4e8e[_0x21b9c5(0x112)](_0x21b9c5(0x106))===_0x7343af)return _0x5b4e8e;return null;}(this[_0x219e77(0xef)],_0x385f93):null;_0x3762c9||(_0x3762c9=_0x3a7e31[_0x219e77(0xcc)](_0x219e77(0xee),{'footnoteId':_0x385f93}),this[_0x219e77(0xef)]&&(_0x3a7e31[_0x219e77(0x11e)](_0x3762c9,this[_0x219e77(0xef)],_0x219e77(0x11d)),_0x2ab592=!0x0));const _0x89b8ef={'id':_0x385f93,'reference':_0x54a24a,'definition':_0x3762c9},_0x32f203=I(this[_0x219e77(0xf7)][_0x219e77(0xd7)],this[_0x219e77(0xd1)],_0x54a24a);this[_0x219e77(0xd1)][_0x219e77(0x107)](_0x32f203,0x0,_0x89b8ef);let _0x5f54f3=_0x32f203;return-0x1!==_0x51f111&&(_0x5f54f3=Math[_0x219e77(0xd8)](_0x32f203,_0x51f111)),this[_0x219e77(0x10f)](_0x3a7e31,_0x5f54f3)&&(_0x2ab592=!0x0),_0x2ab592;}[_0x3e47ae(0xd2)](_0xb5a88,_0x1046ed){const _0x976bec=_0x3e47ae,_0x17557e=this[_0x976bec(0xd1)][_0x976bec(0x12c)](_0x5d7a5f=>_0x5d7a5f['id']===_0x1046ed);if(-0x1===_0x17557e)return!0x1;let _0xd6c0f2=!0x1;const _0x3aca14=this[_0x976bec(0xd1)][_0x17557e];return _0x976bec(0x105)!==_0x3aca14[_0x976bec(0x118)][_0x976bec(0xcf)][_0x976bec(0xfe)]&&(_0xb5a88[_0x976bec(0xd6)](_0x3aca14[_0x976bec(0x118)]),_0xd6c0f2=!0x0),this[_0x976bec(0xd1)][_0x976bec(0x107)](_0x17557e,0x1),this[_0x976bec(0x10f)](_0xb5a88,_0x17557e)&&(_0xd6c0f2=!0x0),_0xd6c0f2;}[_0x3e47ae(0xe1)](_0x59127e,_0x2ddcc1){const _0x122dcc=_0x3e47ae,_0x23fe84=_0x2ddcc1[_0x122dcc(0x112)](_0x122dcc(0x106)),_0x2c7e8e=this[_0x122dcc(0xd1)][_0x122dcc(0x12c)](_0x3bb9a5=>_0x3bb9a5['id']===_0x23fe84),_0x320369=this[_0x122dcc(0xd1)][_0x2c7e8e];let _0x11573c=!0x1;_0x320369[_0x122dcc(0x117)]=_0x2ddcc1,this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x2c7e8e,0x1);const _0x57db4d=I(this[_0x122dcc(0xf7)][_0x122dcc(0xd7)],this[_0x122dcc(0xd1)],_0x2ddcc1);return this[_0x122dcc(0xd1)][_0x122dcc(0x107)](_0x57db4d,0x0,_0x320369),this[_0x122dcc(0x10f)](_0x59127e,Math[_0x122dcc(0xd8)](_0x2c7e8e,_0x57db4d))&&(_0x11573c=!0x0),_0x11573c;}[_0x3e47ae(0x114)](_0x3f4aa7,_0x47394f){const _0x29eda5=_0x3e47ae;if(!this[_0x29eda5(0xef)])return!0x1;const _0x24a810=this[_0x29eda5(0xd1)][_0x47394f];let _0x190197;return _0x190197=this[_0x29eda5(0x11a)]?this[_0x29eda5(0x11a)]({'footnote':_0x24a810,'container':this[_0x29eda5(0xef)],'digits':String(this[_0x29eda5(0xd1)][_0x29eda5(0xf6)])[_0x29eda5(0xf6)],'value':_0x47394f+0x1}):String(_0x47394f+0x1),_0x24a810[_0x29eda5(0x117)][_0x29eda5(0x112)](_0x29eda5(0xf8))!=_0x190197&&(_0x3f4aa7[_0x29eda5(0xf1)](_0x29eda5(0xf8),_0x190197,_0x24a810[_0x29eda5(0x117)]),!0x0);}[_0x3e47ae(0x110)](_0x21a454){const _0x2b9f82=_0x3e47ae;if(!this[_0x2b9f82(0xef)]||this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)]<0x2)return!0x1;if(function(_0x1bf0d0,_0x43aa09){const _0x166938=_0x2b9f82;if(_0x1bf0d0[_0x166938(0xf6)]!==_0x43aa09[_0x166938(0xf6)])return!0x1;for(let _0x14d6ec=0x0;_0x14d6ec<_0x1bf0d0[_0x166938(0xf6)];_0x14d6ec++)if(_0x1bf0d0[_0x14d6ec]!==_0x43aa09[_0x14d6ec])return!0x1;return!0x0;}(this[_0x2b9f82(0xd1)][_0x2b9f82(0xe9)](_0x6e2e65=>_0x6e2e65['id']),Array[_0x2b9f82(0x125)](this[_0x2b9f82(0xef)][_0x2b9f82(0xfa)]())[_0x2b9f82(0xe9)](_0x5ade8d=>_0x5ade8d[_0x2b9f82(0x112)](_0x2b9f82(0x106)))))return!0x1;let _0x39c6c1=!0x1;for(let _0x4f1c9f=0x0;_0x4f1c9f<this[_0x2b9f82(0xd1)][_0x2b9f82(0xf6)];_0x4f1c9f++){const _0x36ed45=this[_0x2b9f82(0xd1)][_0x4f1c9f],_0x54e10d=_0x21a454[_0x2b9f82(0x124)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f=_0x21a454[_0x2b9f82(0xd0)](this[_0x2b9f82(0xef)],_0x4f1c9f);_0x54e10d[_0x2b9f82(0xe3)](_0x13d21f)||(_0x21a454[_0x2b9f82(0xd5)](_0x21a454[_0x2b9f82(0x104)](_0x36ed45[_0x2b9f82(0x118)]),_0x13d21f),_0x39c6c1=!0x0);}return _0x39c6c1;}[_0x3e47ae(0x102)](_0x337ccc){const _0x37ffda=_0x3e47ae;if(!this[_0x37ffda(0xd1)][_0x37ffda(0xf6)])return!0x1;const {model:_0x4375c5}=this[_0x37ffda(0xf7)];let _0x55a352=!0x1;for(let _0x1112ee=0x0;_0x1112ee<this[_0x37ffda(0xd1)][_0x37ffda(0xf6)]-0x1;_0x1112ee++){const _0x2498ef=this[_0x37ffda(0xd1)][_0x1112ee],_0x23862c=this[_0x37ffda(0xd1)][_0x1112ee+0x1],_0x4cb39b=_0x4375c5[_0x37ffda(0x124)](_0x2498ef[_0x37ffda(0x117)]),_0x10ff2d=_0x4375c5[_0x37ffda(0x124)](_0x23862c[_0x37ffda(0x117)]);_0x37ffda(0xce)===_0x4cb39b[_0x37ffda(0x122)](_0x10ff2d)&&(this[_0x37ffda(0xe1)](_0x337ccc,_0x2498ef[_0x37ffda(0x117)]),_0x1112ee=-0x1,_0x55a352=!0x0);}return _0x55a352;}}function _(_0x43f783,_0x4b4c6a,_0x57a7ed){const _0x3bf79a=_0x3e47ae;if(_0x57a7ed[_0x3bf79a(0x128)])return!0x1;const _0x1acca8=_0x4b4c6a?_0x3bf79a(0xe8):_0x3bf79a(0xe7);return _0x43f783[_0x3bf79a(0x11e)](_0x43f783[_0x3bf79a(0xcc)](_0x1acca8),_0x57a7ed),!0x0;}function I(_0x618915,_0x5dcc54,_0x5756c9){const _0x3d5376=_0x3e47ae;if(0x0===_0x5dcc54[_0x3d5376(0xf6)])return 0x0;const _0xfd6736=_0x618915[_0x3d5376(0x124)](_0x5756c9);for(let _0x3966f7=0x0;_0x3966f7<_0x5dcc54[_0x3d5376(0xf6)];_0x3966f7++){const _0x45fe4c=_0x5dcc54[_0x3966f7],_0x47b945=_0x618915[_0x3d5376(0x124)](_0x45fe4c[_0x3d5376(0x117)]);if(_0x3d5376(0xcd)===_0xfd6736[_0x3d5376(0x122)](_0x47b945))return _0x3966f7;}const _0x4eca1c=_0x5756c9[_0x3d5376(0xcf)];let _0x15f5b1=-0x1;for(let _0x1bfe50=_0x5dcc54[_0x3d5376(0xf6)]-0x1;_0x1bfe50>=0x0;_0x1bfe50--)if(_0x5dcc54[_0x1bfe50][_0x3d5376(0x117)][_0x3d5376(0xcf)]===_0x4eca1c){_0x15f5b1=_0x1bfe50;break;}if(-0x1!==_0x15f5b1)return _0x15f5b1+0x1;const _0x12a095=_0x618915[_0x3d5376(0xd4)][_0x3d5376(0xf9)](),_0x1e6a91=_0x12a095[_0x3d5376(0x12d)](_0x4eca1c[_0x3d5376(0xfe)]),_0x611c4f=_0x12a095[_0x1e6a91+0x1];if(_0x611c4f){for(let _0x31b4ff=0x0;_0x31b4ff<_0x5dcc54[_0x3d5376(0xf6)];_0x31b4ff++)if(_0x5dcc54[_0x31b4ff][_0x3d5376(0x117)][_0x3d5376(0xcf)][_0x3d5376(0xfe)]===_0x611c4f)return _0x31b4ff;}return _0x5dcc54[_0x3d5376(0xf6)];}function _0x188b(){const _0x22bdf1=['_footnoteDefsContainerTracker','FootnotesTracker','_ensureFootnotesDefinitionsContainerExists','footnoteInlineContent','paragraph','map','some','get','2819038XqSqFP','singleton','footnoteDefinition','_footnotesDefinitions','append','setAttribute','_handleFootnotesDefinitionsObjectSync','1134632kxWqLR','_handleFootnotesDefinitionsObjectChanges','1054135TDoGKK','length','editor','footnoteCounter','getRootNames','getChildren','change:data','high','footnotes.multiBlock','rootName','_footnoteDefsTracker','listenTo','getFootnote','_ensureFootnotesReferencesHaveProperOrder','push','createRangeOn','$graveyard','footnoteId','splice','_footnoteRefsTracker','3PzrpfH','has','footnotesDefinitions','createRangeIn','unshift','_handleFootnoteReferencesChanges','_updateFootnotesCounters','_sortFootnoteDefinitions','5503484niKwlA','getAttribute','enqueueChange','_updateFootnoteRefCounter','set','_insertEmptyFootnotesDefinitionsContainer','reference','definition','11986212QUxlGR','_footnoteFormatter','getChanges','config','end','insert','pluginName','getFootnotesFormatter','4134534TtVTVd','compareWith','find','createPositionBefore','from','registerPostFixer','footnoteRef','childCount','add','_handleFootnoteDefinitionsChanges','low','findIndex','indexOf','init','createElement','before','after','root','createPositionAt','_footnotes','_handleRemoveFootnoteReferenceById','setFootnoteFormatter','document','move','remove','model','min','differ','_handleInsertedFootnoteReference','parent','reset','isOfficialPlugin','19338320RHLoWD','isPremiumPlugin','getFootnotes','_handleMovedFootnoteReference','getFootnotesDefinitionsObjectElement','isEqual'];_0x188b=function(){return _0x22bdf1;};return _0x188b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;};}
23
+ import{ButtonView as _0x321d57,MenuBarMenuListItemButtonView as _0x39541a}from'ckeditor5/src/ui.js';import{Plugin as _0x5eb3fd}from'ckeditor5/src/core.js';import{IconFootnote as _0x5c1a95}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5eb3fd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x548978}=this,{componentFactory:_0x58e17d}=_0x548978['ui'];_0x58e17d['add']('insertFootnote',x(_0x548978,_0x321d57)),_0x58e17d['add']('menuBar:insertFootnote',x(_0x548978,_0x39541a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2204bd=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x100aa7;for(const _0x4b1a83 in _0x2204bd){const _0x4ebbfc=_0x4b1a83,_0x5da28e=_0x2204bd[_0x4ebbfc];if('footnotesLicenseKeyValid'==_0x5da28e||'footnotesLicenseKeyInvalid'==_0x5da28e||'footnotesLicenseKeyExpired'==_0x5da28e||'footnotesLicenseKeyDomainLimit'==_0x5da28e||'footnotesLicenseKeyNotAllowed'==_0x5da28e||'footnotesLicenseKeyEvaluationLimit'==_0x5da28e||'footnotesLicenseKeyTrialLimit'==_0x5da28e||'footnotesLicenseKeyUsageLimit'==_0x5da28e){delete _0x2204bd[_0x4ebbfc],_0x100aa7=_0x5da28e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x100aa7&&_0x2204bd['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x100aa7&&_0x2204bd['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x100aa7&&_0x2204bd['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x100aa7&&_0x2204bd['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xe1f56b,_0x411211){const _0x4657b5=_0xe1f56b['commands']['get']('insertFootnote');return _0x371e75=>{const {t:t}=_0x371e75,_0x2fdd19=new _0x411211(_0x371e75),_0x537fd8=_0x2fdd19 instanceof _0x39541a;return _0x2fdd19['bind']('isEnabled')['to'](_0x4657b5,'isEnabled'),_0x2fdd19['set']({'label':t(_0x537fd8?'Footnote':'Insert\x20footnote'),'icon':_0x5c1a95,'tooltip':!0x0}),_0x2fdd19['on']('execute',()=>{_0x4657b5['execute'](),_0xe1f56b['editing']['view']['focus']();}),_0x2fdd19;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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';
23
+ (function(_0xc8ff9a,_0x13a69b){var _0x5a3a49=_0x1f35,_0xefc85e=_0xc8ff9a();while(!![]){try{var _0x49c342=-parseInt(_0x5a3a49(0x186))/0x1*(parseInt(_0x5a3a49(0x181))/0x2)+parseInt(_0x5a3a49(0x185))/0x3*(parseInt(_0x5a3a49(0x180))/0x4)+parseInt(_0x5a3a49(0x18a))/0x5+parseInt(_0x5a3a49(0x188))/0x6+-parseInt(_0x5a3a49(0x184))/0x7*(parseInt(_0x5a3a49(0x182))/0x8)+-parseInt(_0x5a3a49(0x189))/0x9+-parseInt(_0x5a3a49(0x183))/0xa*(-parseInt(_0x5a3a49(0x187))/0xb);if(_0x49c342===_0x13a69b)break;else _0xefc85e['push'](_0xefc85e['shift']());}catch(_0x2ff1f0){_0xefc85e['push'](_0xefc85e['shift']());}}}(_0x3a21,0x607ef));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x1f35(_0x21a551,_0x423937){var _0x3a21bf=_0x3a21();return _0x1f35=function(_0x1f354e,_0x7d9916){_0x1f354e=_0x1f354e-0x180;var _0x219061=_0x3a21bf[_0x1f354e];return _0x219061;},_0x1f35(_0x21a551,_0x423937);}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';function _0x3a21(){var _0x5b755e=['1451385yKEhfC','172KwoWSl','70zBpxDZ','104jeQmSy','3563870QheuFq','352289DcnfzF','49614QNcnXN','6565sckXRW','22FoantE','1953246tPjbjP','6844077weRers'];_0x3a21=function(){return _0x5b755e;};return _0x3a21();}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 _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)};}}
23
+ const _0xb11196=_0x1099;(function(_0x54ae51,_0x520639){const _0x4d98b1=_0x1099,_0x258e5e=_0x54ae51();while(!![]){try{const _0x526b79=-parseInt(_0x4d98b1(0x1c4))/0x1+-parseInt(_0x4d98b1(0x1ce))/0x2+parseInt(_0x4d98b1(0x1c9))/0x3*(-parseInt(_0x4d98b1(0x1cb))/0x4)+-parseInt(_0x4d98b1(0x1d2))/0x5+parseInt(_0x4d98b1(0x1da))/0x6*(-parseInt(_0x4d98b1(0x1b9))/0x7)+parseInt(_0x4d98b1(0x1d7))/0x8*(-parseInt(_0x4d98b1(0x1d5))/0x9)+parseInt(_0x4d98b1(0x1be))/0xa;if(_0x526b79===_0x520639)break;else _0x258e5e['push'](_0x258e5e['shift']());}catch(_0x1eeab0){_0x258e5e['push'](_0x258e5e['shift']());}}}(_0x170a,0x8154f));function _0x1099(_0x460df7,_0x33bff6){const _0x170ae5=_0x170a();return _0x1099=function(_0x109978,_0x4c762f){_0x109978=_0x109978-0x1b7;let _0x14f25a=_0x170ae5[_0x109978];return _0x14f25a;},_0x1099(_0x460df7,_0x33bff6);}export class ModelElementTracker{[_0xb11196(0x1ca)];[_0xb11196(0x1dc)];[_0xb11196(0x1c7)];[_0xb11196(0x1bc)]=new Map();constructor(_0x5b5f5b,_0x1f8c8f){const _0x461b71=_0xb11196;this[_0x461b71(0x1ca)]=_0x5b5f5b,this[_0x461b71(0x1dc)]=_0x1f8c8f[_0x461b71(0x1c1)],this[_0x461b71(0x1c7)]=_0x1f8c8f[_0x461b71(0x1cf)];}[_0xb11196(0x1b7)](){const _0x383722=_0xb11196;this[_0x383722(0x1bc)][_0x383722(0x1bb)]();}[_0xb11196(0x1df)](_0x19c588){const _0x492390=_0xb11196,_0xbb18d8=new Set(),_0x3723b8=new Map();for(const _0x2853b4 of _0x19c588){if(_0x492390(0x1cc)===_0x2853b4[_0x492390(0x1cd)]&&_0x492390(0x1d1)!==_0x2853b4[_0x492390(0x1ba)]&&_0x2853b4[_0x492390(0x1d9)][_0x492390(0x1d4)]){const _0x2a9161=this[_0x492390(0x1ca)][_0x492390(0x1bf)](_0x2853b4[_0x492390(0x1d9)][_0x492390(0x1d4)]);for(const _0x34a408 of _0x2a9161[_0x492390(0x1d0)]()){if(!_0x34a408['is'](_0x492390(0x1bd),this[_0x492390(0x1dc)]))continue;const _0x411584=this[_0x492390(0x1c7)](_0x34a408);_0x3723b8[_0x492390(0x1e2)](_0x411584)||_0x3723b8[_0x492390(0x1dd)](_0x411584,[]),_0x3723b8[_0x492390(0x1c5)](_0x411584)[_0x492390(0x1d8)](_0x34a408);}}if(_0x492390(0x1d6)===_0x2853b4[_0x492390(0x1cd)]&&_0x2853b4[_0x492390(0x1ba)]===this[_0x492390(0x1dc)]){const _0x3ed96b=this[_0x492390(0x1c7)]({'getAttribute':_0x3262de=>_0x2853b4[_0x492390(0x1de)][_0x492390(0x1c5)](_0x3262de)});_0xbb18d8[_0x492390(0x1e1)](_0x3ed96b);}}for(const [_0x1ebe1a,_0x851226]of this[_0x492390(0x1bc)])_0x492390(0x1c0)===_0x851226[_0x492390(0x1c6)][_0x492390(0x1db)]&&_0xbb18d8[_0x492390(0x1e1)](_0x1ebe1a);for(const _0x303205 of _0xbb18d8)this[_0x492390(0x1bc)][_0x492390(0x1e0)](_0x303205);for(const [_0x146d0f,_0x27f763]of _0x3723b8)this[_0x492390(0x1bc)][_0x492390(0x1dd)](_0x146d0f,_0x27f763[_0x27f763[_0x492390(0x1c3)]-0x1]);const _0x482a9c=new Set();for(const [_0x1ccb6d,_0x5c6ba5]of _0x3723b8)_0xbb18d8[_0x492390(0x1e2)](_0x1ccb6d)&&(_0x482a9c[_0x492390(0x1e1)](_0x5c6ba5[0x0]),_0x5c6ba5[_0x492390(0x1c3)]>0x1?_0x3723b8[_0x492390(0x1dd)](_0x1ccb6d,_0x5c6ba5[_0x492390(0x1d3)](0x1)):_0x3723b8[_0x492390(0x1e0)](_0x1ccb6d),_0xbb18d8[_0x492390(0x1e0)](_0x1ccb6d));return{'removed':Array[_0x492390(0x1c2)](_0xbb18d8),'inserted':Array[_0x492390(0x1c2)](_0x3723b8[_0x492390(0x1c8)]())[_0x492390(0x1b8)](),'moved':Array[_0x492390(0x1c2)](_0x482a9c)};}}function _0x170a(){const _0x263ca4=['21021MKfzLj','name','clear','_trackedElements','element','31518570nmPFbx','createRangeOn','$graveyard','elementName','from','length','430387bbLGGj','get','root','_getElementKey','values','3xVOXli','_model','2643448sUEnsf','insert','type','458574mmbbXd','getElementKey','getItems','$text','4764135faTphN','slice','nodeAfter','14373IHJeEw','remove','1040Mtzcti','push','position','282UHxnFa','rootName','_elementName','set','attributes','getChanges','delete','add','has','reset','flat'];_0x170a=function(){return _0x263ca4;};return _0x170a();}