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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x47565d}from'ckeditor5/src/core.js';import{isWidget as _0x410f66,toWidget as _0x204337,toWidgetEditable as _0x134163}from'ckeditor5/src/widget.js';import{uid as _0x5df650}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5d00db,ClickObserver as _0x1d0585}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x57994d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xb080f1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x47565d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x57994d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ce4d1}=this;_0x2ce4d1['config']['define']('footnotes.multiBlock',!0x0),_0x2ce4d1['commands']['add']('insertFootnote',new _0xb080f1(_0x2ce4d1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x13ce60){const _0x803675=_0x195a72([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]),_0x12fcf5=0x47a28506,_0x4d17ab=0x47a507d6^_0x12fcf5,_0x4b71aa=window[_0x195a72([0x44,0x61,0x74,0x65])][_0x195a72([0x6e,0x6f,0x77])](),_0x5ac854=_0x13ce60[_0x195a72([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c6c03=new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38782e=>{_0x5ac854[_0x195a72([0x6f,0x6e,0x63,0x65])](_0x195a72([0x72,0x65,0x61,0x64,0x79]),_0x38782e);}),_0xe4fb23={[_0x195a72([0x6b,0x74,0x79])]:_0x195a72([0x45,0x43]),[_0x195a72([0x75,0x73,0x65])]:_0x195a72([0x73,0x69,0x67]),[_0x195a72([0x63,0x72,0x76])]:_0x195a72([0x50,0x2d,0x32,0x35,0x36]),[_0x195a72([0x78])]:_0x195a72([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]),[_0x195a72([0x79])]:_0x195a72([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]),[_0x195a72([0x61,0x6c,0x67])]:_0x195a72([0x45,0x53,0x32,0x35,0x36])},_0x1c5ea7=_0x5ac854[_0x195a72([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x195a72([0x67,0x65,0x74])](_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d29f5(){let _0x51c9f5,_0x35cbdb=null,_0x8e923c=null;try{if(_0x1c5ea7==_0x195a72([0x47,0x50,0x4c]))return _0x195a72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51c9f5=_0x29d1cb(),!_0x51c9f5)return _0x195a72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51c9f5[_0x195a72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8e923c=_0x3a81be(_0x51c9f5[_0x195a72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51c9f5[_0x195a72([0x6a,0x74,0x69])])),await _0x233618()?_0x2fef2f()?_0x3f48eb()?_0x195a72([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40bd01()?(_0x51c9f5[_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x195a72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35cbdb=_0x350fe1(_0x195a72([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41219b()):_0x195a72([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x195a72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x195a72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x195a72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f48eb(){const _0x417426=[_0x195a72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x195a72([0x74,0x72,0x69,0x61,0x6c])][_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c9f5[_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b71aa/0x3e8:0xe10*_0x4d17ab;return _0x51c9f5[_0x195a72([0x65,0x78,0x70])]<_0x417426;}function _0x2fef2f(){const _0x42fc3a=_0x51c9f5[_0x195a72([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42fc3a&&(!!_0x42fc3a[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195a72([0x2a]))||!!_0x42fc3a[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195a72([0x46,0x4f,0x4f])));}function _0x40bd01(){const _0x116240=_0x51c9f5[_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x116240||0x0==_0x116240[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22cf5b}=new URL(window[_0x195a72([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x116240[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22cf5b))return!0x0;const _0x5470a9=_0x22cf5b[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e]));return _0x116240[_0x195a72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3719ad=>_0x3719ad[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195a72([0x2a])))[_0x195a72([0x6d,0x61,0x70])](_0x270e94=>_0x270e94[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e])))[_0x195a72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3234b8=>_0x3234b8[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5470a9[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x195a72([0x6d,0x61,0x70])](_0x30be76=>Array(_0x5470a9[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30be76[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x195a72([0x66,0x69,0x6c,0x6c])](_0x30be76[0x0]===_0x195a72([0x2a])?_0x195a72([0x2a]):'')[_0x195a72([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30be76))[_0x195a72([0x73,0x6f,0x6d,0x65])](_0x31abbc=>_0x5470a9[_0x195a72([0x65,0x76,0x65,0x72,0x79])]((_0x4923bc,_0x52d77f)=>_0x31abbc[_0x52d77f]===_0x4923bc||_0x31abbc[_0x52d77f]===_0x195a72([0x2a])));}function _0x41219b(){return _0x35cbdb&&_0x8e923c?new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cf0bc,_0x1b374d)=>{_0x35cbdb[_0x195a72([0x74,0x68,0x65,0x6e])](_0x5cf0bc,_0x1b374d),_0x8e923c[_0x195a72([0x74,0x68,0x65,0x6e])](_0x58b321=>{_0x58b321!=_0x195a72([0x56,0x61,0x6c,0x69,0x64])&&_0x5cf0bc(_0x58b321);},_0x1b374d);}):_0x35cbdb||_0x8e923c||_0x195a72([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a81be(_0x1bc7c5,_0xc5cb01){return new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20e1bb=>{if(_0x22ce9f())return _0x20e1bb(_0x195a72([0x56,0x61,0x6c,0x69,0x64]));_0x41057a(),_0x5ac854[_0x195a72([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x195a72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dc11e=!0x1;const _0x4cff57=_0x5df650();function _0x5ea899(_0x22fd5d){return!!_0x22fd5d&&(typeof _0x22fd5d===_0x195a72([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22fd5d===_0x195a72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22fd5d[_0x195a72([0x74,0x68,0x65,0x6e])]===_0x195a72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22fd5d[_0x195a72([0x63,0x61,0x74,0x63,0x68])]===_0x195a72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38f512(_0x480777){_0x4f7156(_0x480777)[_0x195a72([0x74,0x68,0x65,0x6e])](_0x5ab97d=>{if(!_0x5ab97d||_0x5ab97d[_0x195a72([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x195a72([0x6f,0x6b]))return _0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1de71c(_0x2c12cc(_0x4cff57+_0xc5cb01))!=_0x5ab97d[_0x195a72([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x195a72([0x56,0x61,0x6c,0x69,0x64]);})[_0x195a72([0x74,0x68,0x65,0x6e])](_0x5afbdb=>(_0xa34a52(),_0x5afbdb),()=>{const _0x2d896d=_0x2c7323();return null==_0x2d896d?(_0xa34a52(),_0x195a72([0x56,0x61,0x6c,0x69,0x64])):_0x195a72(_0x4b71aa-_0x2d896d>(0x63ae0106^_0x12fcf5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x195a72([0x74,0x68,0x65,0x6e])](_0x20e1bb)[_0x195a72([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20e1bb(_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a6671=0x47946b86^_0x12fcf5;function _0xa34a52(){const _0x3cf30b=_0x195a72([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de71c(_0x2c12cc(_0x1bc7c5)),_0x55cdee=_0x3afcfc(_0x1de71c(window[_0x195a72([0x4d,0x61,0x74,0x68])][_0x195a72([0x63,0x65,0x69,0x6c])](_0x4b71aa/_0x4a6671)));window[_0x195a72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x195a72([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cf30b,_0x55cdee);}function _0x2c7323(){const _0x19c09b=_0x195a72([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de71c(_0x2c12cc(_0x1bc7c5)),_0x4ccb95=window[_0x195a72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x195a72([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19c09b);return _0x4ccb95?window[_0x195a72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3afcfc(_0x4ccb95),0x10)*_0x4a6671:null;}function _0x4f7156(_0x3e3cb6){return new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c3d2c,_0x1c2ac1)=>{_0x3e3cb6[_0x195a72([0x74,0x68,0x65,0x6e])](_0x2c3d2c,_0x1c2ac1),window[_0x195a72([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c2ac1,0x47a351c6^_0x12fcf5);});}}_0x5ac854[_0x195a72([0x6f,0x6e])](_0x195a72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ed135,_0x3a361c)=>{if(_0x3a361c[0x0]!=_0x1bc7c5)return _0x20e1bb(_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a361c[0x1]={..._0x3a361c[0x1],[_0x195a72([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cff57};},{[_0x195a72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x195a72([0x68,0x69,0x67,0x68])}),_0x5ac854[_0x195a72([0x6f,0x6e])](_0x195a72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x546f66=>{_0x5ea899(_0x546f66[_0x195a72([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dc11e=!0x0,_0x38f512(_0x546f66[_0x195a72([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x195a72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x195a72([0x6c,0x6f,0x77])}),_0x5c6c03[_0x195a72([0x74,0x68,0x65,0x6e])](()=>{_0x2dc11e||_0x20e1bb(_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22ce9f(){return _0x5ac854[_0x195a72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x195a72([0x76,0x69,0x65,0x77])][_0x195a72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x195a72([0x61,0x75,0x74,0x6f]);}function _0x41057a(){_0x5ac854[_0x195a72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x195a72([0x76,0x69,0x65,0x77])][_0x195a72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x195a72([0x61,0x75,0x74,0x6f]);}}function _0x350fe1(_0x4a94ce){const _0x18a05b=[new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9473=>setTimeout(_0x2e9473,0x47abbbca^_0x12fcf5)),_0x5c6c03[_0x195a72([0x74,0x68,0x65,0x6e])](()=>new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x168432=>{let _0x4c336f=0x0;_0x5ac854[_0x195a72([0x6d,0x6f,0x64,0x65,0x6c])][_0x195a72([0x6f,0x6e])](_0x195a72([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x179912,_0x1e4f4e)=>{_0x1e4f4e[0x0][_0x195a72([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c336f++,_0x4c336f==(0x47a280ee^_0x12fcf5)&&(_0x168432(),_0x179912[_0x195a72([0x6f,0x66,0x66])]());});}))];return window[_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x195a72([0x72,0x61,0x63,0x65])](_0x18a05b)[_0x195a72([0x74,0x68,0x65,0x6e])](()=>_0x4a94ce);}async function _0x1f1e77(){await _0x5c6c03,_0x5ac854[_0x195a72([0x6d,0x6f,0x64,0x65,0x6c])][_0x195a72([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47fbb7,_0x5ac854[_0x195a72([0x6d,0x6f,0x64,0x65,0x6c])][_0x195a72([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47fbb7,_0x5ac854[_0x195a72([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x195a72([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41a150(_0x46b5e5){const _0x1baba2=_0x4ff160();_0x5ac854[_0x1baba2]=_0x195a72([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46b5e5,_0x46b5e5!=_0x195a72([0x56,0x61,0x6c,0x69,0x64])&&_0x1f1e77();}function _0x4ff160(){const _0x30080a=window[_0x195a72([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x195a72([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x195a72([0x6e,0x6f,0x77])]())[_0x195a72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x195a72([0x2e]),'');let _0x591777=_0x195a72([0x75]);for(let _0x5c5061=0x0;_0x5c5061<_0x30080a[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c5061+=0x2){let _0x225c2f=window[_0x195a72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30080a[_0x195a72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c5061,_0x5c5061+0x2));_0x225c2f>=_0x803675[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x225c2f-=_0x803675[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x591777+=_0x803675[_0x225c2f];}return _0x591777;}function _0x29d1cb(){const _0x57f2c7=_0x1c5ea7[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e]));if(0x3!=_0x57f2c7[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f6bd5(_0x57f2c7[0x1]);function _0x2f6bd5(_0x4c5025){const _0x3384eb=_0x4e4173(_0x4c5025);return _0x3384eb&&_0x1a88b2()?_0x3384eb:null;function _0x1a88b2(){const _0x13a0a7=_0x3384eb[_0x195a72([0x6a,0x74,0x69])],_0x533874=window[_0x195a72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a0a7[_0x195a72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13a0a7[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d578f={..._0x3384eb,[_0x195a72([0x6a,0x74,0x69])]:_0x13a0a7[_0x195a72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13a0a7[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d578f[_0x195a72([0x76,0x63])],_0x2c12cc(_0x1d578f)==_0x533874;}}}async function _0x233618(){let _0x163a08=!0x0;try{const _0x2b0bee=_0x1c5ea7[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e])),[_0x4d47dd,_0x5401cc,_0x55bf45]=_0x2b0bee;return _0x471c89(_0x4d47dd),await _0x34d878(_0x4d47dd,_0x5401cc,_0x55bf45),_0x163a08;}catch{return!0x1;}function _0x471c89(_0x1a2fbe){const _0xfc4ee9=_0x4e4173(_0x1a2fbe);_0xfc4ee9&&_0xfc4ee9[_0x195a72([0x61,0x6c,0x67])]==_0x195a72([0x45,0x53,0x32,0x35,0x36])||(_0x163a08=!0x1);}async function _0x34d878(_0x1b376b,_0x3a8a83,_0x187cd6){const _0x501c31=window[_0x195a72([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x195a72([0x66,0x72,0x6f,0x6d])](_0x39797a(_0x187cd6),_0x40a653=>_0x40a653[_0x195a72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x294b0b=new window[(_0x195a72([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x195a72([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b376b+_0x195a72([0x2e])+_0x3a8a83),_0x377923=window[_0x195a72([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x195a72([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x377923)return;const _0x1a4794=await _0x377923[_0x195a72([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x195a72([0x6a,0x77,0x6b]),_0xe4fb23,{[_0x195a72([0x6e,0x61,0x6d,0x65])]:_0x195a72([0x45,0x43,0x44,0x53,0x41]),[_0x195a72([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x195a72([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x195a72([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x377923[_0x195a72([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x195a72([0x6e,0x61,0x6d,0x65])]:_0x195a72([0x45,0x43,0x44,0x53,0x41]),[_0x195a72([0x68,0x61,0x73,0x68])]:{[_0x195a72([0x6e,0x61,0x6d,0x65])]:_0x195a72([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a4794,_0x501c31,_0x294b0b)||(_0x163a08=!0x1);}}function _0x4e4173(_0x5b57b8){return _0x5b57b8[_0x195a72([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x195a72([0x65,0x79]))?JSON[_0x195a72([0x70,0x61,0x72,0x73,0x65])](_0x39797a(_0x5b57b8)):null;}function _0x39797a(_0x495d78){return window[_0x195a72([0x61,0x74,0x6f,0x62])](_0x495d78[_0x195a72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x195a72([0x2b]))[_0x195a72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x195a72([0x2f])));}function _0x2c12cc(_0xf62dce){let _0x3443b2=0x1505;function _0x46ecbe(_0x40a214){for(let _0x737d50=0x0;_0x737d50<_0x40a214[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x737d50++){const _0x41dd31=_0x40a214[_0x195a72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x737d50);_0x3443b2=(_0x3443b2<<0x5)+_0x3443b2+_0x41dd31,_0x3443b2&=_0x3443b2;}}function _0x265701(_0x1d9ac2){Array[_0x195a72([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d9ac2)?_0x1d9ac2[_0x195a72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x265701):_0x1d9ac2&&typeof _0x1d9ac2==_0x195a72([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x195a72([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d9ac2)[_0x195a72([0x73,0x6f,0x72,0x74])]()[_0x195a72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1555e5,_0x331357])=>{_0x46ecbe(_0x1555e5),_0x265701(_0x331357);}):_0x46ecbe(window[_0x195a72([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d9ac2));}return _0x265701(_0xf62dce),_0x3443b2>>>0x0;}function _0x1de71c(_0x171b3a){return _0x171b3a[_0x195a72([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x195a72([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x195a72([0x30]));}function _0x3afcfc(_0x9bbf4f){return _0x9bbf4f[_0x195a72([0x73,0x70,0x6c,0x69,0x74])]('')[_0x195a72([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x195a72([0x6a,0x6f,0x69,0x6e])]('');}function _0x47fbb7(){}function _0x195a72(_0x42015f){return _0x42015f['map'](_0x591b7a=>String['fromCharCode'](_0x591b7a))['join']('');}_0x41a150(await _0x4d29f5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x6b23f3){const {plugins:_0x1ab6bb,editing:_0x2c1ec,model:_0x13bbe5}=this['editor'],_0x5f3f51=_0x1ab6bb['get'](_0x57994d)['getFootnote'](_0x6b23f3);return!!_0x5f3f51&&(_0x13bbe5['change'](_0x376edd=>{_0x376edd['setSelection'](_0x376edd['createPositionAt'](_0x5f3f51['definition'],'end'));}),_0x2c1ec['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xfe640f){const {plugins:_0x49d920,editing:_0x3d7343,model:_0xaf5e23}=this['editor'],_0x4bdba5=_0x49d920['get'](_0x57994d)['getFootnote'](_0xfe640f);return!!_0x4bdba5&&(_0xaf5e23['change'](_0x5cc251=>{_0x5cc251['setSelection'](_0x4bdba5['reference'],'on');}),_0x3d7343['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4ef0d3}=this['editor']['model'],_0x33022e=this['editor']['config']['get']('footnotes.multiBlock');_0x4ef0d3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4ef0d3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4ef0d3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x33022e?_0x4ef0d3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4ef0d3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4ef0d3['addChildCheck'](_0x4dbe57=>{for(const _0x1b42bc of _0x4dbe57)if('footnoteDefinition'===_0x1b42bc['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x273d9c}=this,{conversion:_0x1d906b,editing:_0x6df265}=_0x273d9c,{t:t}=_0x273d9c['locale'];_0x1d906b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x441545,{writer:_0x197748,consumable:_0x4fb994})=>{const _0x3ad60d=_0x441545['getChild'](0x0);if(!_0x3ad60d||!_0x3ad60d['is']('element','a'))return null;const _0x523962=_0x3ad60d['getAttribute']('href')||'';if(!_0x523962['startsWith']('#'))return null;const _0x48096f=_0x523962['replace'](/^#/,'');if(!_0x48096f)return null;_0x4fb994['consume'](_0x3ad60d,{'name':!0x0,'attributes':['href']});for(const {item:_0x5a8a37}of _0x6df265['view']['createRangeIn'](_0x3ad60d))_0x5a8a37['is']('$textProxy')?_0x4fb994['consume'](_0x5a8a37['textNode'],{'name':!0x0}):_0x5a8a37['is']('element')&&_0x4fb994['consume'](_0x5a8a37,{'name':!0x0});return _0x197748['createElement']('footnoteRef',{'footnoteId':_0x48096f});}}),_0x1d906b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x50308c,{writer:_0x38b045})=>b(_0x50308c,_0x38b045)}),_0x1d906b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5c6313,{writer:_0x9c5451})=>{const _0x19d1dd=_0x5c6313['getAttribute']('footnoteCounter');return _0x204337(b(_0x5c6313,_0x9c5451),_0x9c5451,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x19d1dd)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1a142f}=this,{t:t}=_0x1a142f['locale'],{conversion:_0x5e98ff}=_0x1a142f;_0x5e98ff['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5e98ff['for']('upcast')['add'](_0x3a1edd=>{_0x3a1edd['on']('element:ol',(_0x162340,_0xfce473,_0x2ae48d)=>{const _0x2a65a7=_0xfce473['viewItem'];if(!_0x2a65a7['hasClass']('footnotes-list')||!_0xfce473['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2ae48d['consumable']['consume'](_0x2a65a7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x48893d,modelCursor:_0x113a15}=_0x2ae48d['convertChildren'](_0xfce473['viewItem'],_0xfce473['modelCursor']);_0xfce473['modelRange']=_0x48893d,_0xfce473['modelCursor']=_0x113a15;}),_0x3a1edd['on']('element:hr',(_0x36da79,_0x2e57a4,_0x4e90fe)=>{const _0x505a4c=_0x2e57a4['viewItem'];_0x505a4c['hasClass']('footnotes-divider')&&_0x2e57a4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4e90fe['consumable']['consume'](_0x505a4c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5e98ff['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x9b747d,{writer:_0x37a1d0})=>D(_0x37a1d0)}),_0x5e98ff['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x28fedd,{writer:_0x2b30e9})=>{const _0x21820f=D(_0x2b30e9,{'data-footnotes-list-label':t('Footnotes')}),_0x12f550=_0x204337(_0x21820f,_0x2b30e9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2b30e9['setCustomProperty']('footnotesDefinitions',!0x0,_0x12f550),_0x12f550;}});}['_defineDefinitionConverters'](){const {editor:_0x15bca3}=this,{conversion:_0x13c208,locale:_0x341592}=_0x15bca3,_0x8e02ea=_0x15bca3['config']['get']('footnotes.multiBlock');_0x13c208['for']('upcast')['add'](_0xba6272=>{_0xba6272['on']('element:li',(_0x4a651e,_0x39eb92,_0x4dc33c)=>{const _0x14b1c3=_0x39eb92['viewItem'];if(!_0x14b1c3['hasClass']('footnote-definition')||!_0x14b1c3['getAttribute']('id'))return;const _0xd43f9a=_0x14b1c3['parent'];if(!_0xd43f9a['is']('element','ol')||!_0xd43f9a['hasClass']('footnotes-list'))return;if(!_0x4dc33c['consumable']['test'](_0x14b1c3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x31ffdb=_0x4dc33c['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x14b1c3['getAttribute']('id')});if(!_0x4dc33c['safeInsert'](_0x31ffdb,_0x39eb92['modelCursor']))return;_0x4dc33c['consumable']['consume'](_0x14b1c3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x39b5d3=Array['from'](_0x14b1c3['getChildren']())['find'](_0x209e05=>_0x209e05['is']('element')&&_0x209e05['hasClass']('footnote-content'));for(const _0x44377a of _0x14b1c3['getChildren']())_0x44377a['is']('element')&&(_0x4dc33c['consumable']['consume'](_0x44377a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4dc33c['consumable']['consume'](_0x44377a,{'name':!0x0,'classes':'footnote-content'}));if(_0x39b5d3){if(_0x8e02ea)_0x4dc33c['convertChildren'](_0x39b5d3,_0x31ffdb);else{const _0x51ddd4=_0x4dc33c['writer']['createElement']('footnoteInlineContent');_0x4dc33c['writer']['insert'](_0x51ddd4,_0x31ffdb),_0x4dc33c['convertChildren'](_0x39b5d3,_0x51ddd4);}}_0x4dc33c['updateConversionResult'](_0x31ffdb,_0x39eb92);});}),_0x13c208['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1fa688,{writer:_0x3ba088})=>y(_0x1fa688,_0x3ba088,_0x341592,{'dataPipeline':!0x0})}),_0x13c208['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5afb68,{writer:_0x1b9c9c})=>y(_0x5afb68,_0x1b9c9c,_0x341592)});}['_defineBogusParagraphConverters'](){const {editor:_0xd1bf4d}=this,{conversion:_0x2633fe}=_0xd1bf4d;_0xd1bf4d['config']['get']('footnotes.multiBlock')?(_0x2633fe['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2633fe['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xd1bf4d['model']['document'],'change:data',()=>{!function(_0x2a0450,_0x37f6e6){const _0x327d95=_0x2a0450['document']['differ'],_0x4e8a85=new Set();for(const _0x5c58a3 of _0x327d95['getChanges']()){const _0x1cd6a1='attribute'==_0x5c58a3['type']?_0x5c58a3['range']['start']['parent']:_0x5c58a3['position']['parent'];_0x1cd6a1['is']('element','footnoteDefinition')&&_0x4e8a85['add'](_0x1cd6a1);}for(const _0x2087a8 of _0x4e8a85['values']()){const _0x4b80da=Array['from'](_0x2087a8['getChildren']())['filter'](_0x47882b=>v(_0x47882b,_0x37f6e6['mapper']));for(const _0x323f7b of _0x4b80da)_0x37f6e6['reconvertItem'](_0x323f7b);}}(_0xd1bf4d['model'],_0xd1bf4d['editing']);})):(_0x2633fe['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2633fe['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x10b68c,{writer:_0x1abfa2})=>{const _0x4c091d=_0x1abfa2['createContainerElement']('span');return _0x1abfa2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c091d),_0x4c091d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1bda46}=this,{editing:_0x33123c,t:t}=_0x1bda46,_0x383094=_0x1bda46['model']['document']['selection'];_0x1bda46['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1bda46['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x33123c['view']['document'],'enter',(_0x21e209,_0x520d02)=>{const _0x37333b=function(_0x576022){const _0x342ed9=_0x576022['getSelectedElement']();if(_0x342ed9?.['is']('element','footnoteRef'))return _0x342ed9;return null;}(_0x383094);if(_0x37333b){const _0x4c6fe0=_0x37333b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4c6fe0),_0x520d02['preventDefault'](),_0x21e209['stop']();}},{'context':_0x410f66});}['_defineClickHandlers'](){const {editor:_0x485d01}=this,{editing:_0x481d56}=_0x485d01;_0x485d01['editing']['view']['addObserver'](_0x5d00db),_0x485d01['editing']['view']['addObserver'](_0x1d0585);let _0x2e8140=!0x1;this['listenTo'](_0x481d56['view']['document'],'pointerdown',(_0x16d3a3,_0x5626ed)=>{const {target:_0x319176}=_0x5626ed,_0x4b0e77=_0x481d56['view']['document']['selection'];_0x2e8140=!!(_0x319176?.['is']('element','a')&&_0x319176['parent']?.['is']('element','sup')&&_0x319176['parent']['hasClass']('footnote'))&&_0x4b0e77['getSelectedElement']()===_0x319176['parent'];},{'priority':'high'}),this['listenTo'](_0x481d56['view']['document'],'click',(_0x49078d,_0x129361)=>{const {target:_0x2c4141}=_0x129361;if(!_0x2c4141?.['is']('element','a'))return;if(_0x2c4141['parent']?.['is']('element','sup')&&_0x2c4141['parent']['hasClass']('footnote')&&!_0x2e8140)return void _0x129361['preventDefault']();let _0x5dd631=_0x2c4141['getAttribute']('href');if(!_0x5dd631?.['startsWith']('#'))return;_0x5dd631=_0x5dd631['slice'](0x1);let _0x12ccc0=!0x1;(_0x5dd631['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5dd631['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5dd631))&&(_0x12ccc0=!0x0),_0x12ccc0&&(_0x129361['preventDefault'](),_0x49078d['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1e87f8}={}){return(_0x42d356,{writer:_0x261688})=>{if(!g(_0x42d356))return null;if(!_0x1e87f8)return _0x261688['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x34639f=_0x261688['createContainerElement']('p');return _0x261688['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x34639f),_0x34639f;};}function g(_0x196e3c){const {parent:_0x35c7f3}=_0x196e3c;if(!_0x35c7f3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x35c7f3['childCount'])return!0x1;for(const _0x118736 of _0x196e3c['getAttributeKeys']())if(!_0x118736['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x118736)return!0x1;return!0x0;}function v(_0xc435,_0x436d9b){if(!_0xc435['is']('element','paragraph'))return!0x1;const _0x2778ed=_0x436d9b['toViewElement'](_0xc435);return!!_0x2778ed&&g(_0xc435)!==_0x2778ed['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x34517a){return _0x410f66(_0x34517a)&&_0x34517a['is']('containerElement')&&!!_0x34517a['getCustomProperty']('footnotesDefinitions');}function D(_0x1a765e,_0x544502={}){const _0x42c31f=_0x1a765e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x29fd2d=_0x1a765e['createContainerElement']('ol',{'class':'footnotes-list'},_0x1a765e['createSlot']());return _0x1a765e['createContainerElement']('div',{'class':'footnotes',..._0x544502},[_0x42c31f,_0x29fd2d]);}function b(_0x417ddd,_0x39fc6b){const _0x191e85=_0x417ddd['getAttribute']('footnoteId'),_0x31adb4=_0x417ddd['getAttribute']('footnoteCounter'),_0x152397=_0x39fc6b['createUIElement']('a',{'href':'#'+_0x191e85},function(_0xe1db4a){const _0x3e1ee0=this['toDomElement'](_0xe1db4a);return _0x3e1ee0['textContent']=_0x31adb4,_0x3e1ee0;}),_0x48f35d=_0x39fc6b['createContainerElement']('sup',{'id':'ref-'+_0x191e85,'class':'footnote'},[_0x152397]);return _0x48f35d['getFillerOffset']=()=>null,_0x48f35d;}function y(_0x244454,_0x366de3,_0x3c4ae9,{dataPipeline:_0x5babfe}={}){const {t:t}=_0x3c4ae9,_0x39a6f3=_0x244454['getAttribute']('footnoteId'),_0x3cd54e=_0x366de3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x39a6f3},function(_0x379262){const _0x3adfab=this['toDomElement'](_0x379262);return _0x3adfab['innerText']='^',_0x3adfab;}),_0x493bc7=_0x5babfe?_0x366de3['createContainerElement']('div',{'class':'footnote-content'}):_0x134163(_0x366de3['createEditableElement']('div',{'class':'footnote-content'}),_0x366de3,{'label':t('Footnote\x20content.')});return _0x366de3['insert'](_0x366de3['createPositionAt'](_0x493bc7,0x0),_0x366de3['createSlot']()),_0x366de3['createContainerElement']('li',{'class':'footnote-definition','id':_0x39a6f3},[_0x3cd54e,_0x493bc7]);}
23
+ import{Plugin as _0x187755}from'ckeditor5/src/core.js';import{isWidget as _0xb9e9b8,toWidget as _0x4a67e5,toWidgetEditable as _0x5a6fb7}from'ckeditor5/src/widget.js';import{uid as _0x2cb284}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3acfb3,ClickObserver as _0x1f0de7}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x182545}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x54c484}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x187755{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x182545];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x478389}=this;_0x478389['config']['define']('footnotes.multiBlock',!0x0),_0x478389['commands']['add']('insertFootnote',new _0x54c484(_0x478389)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xdda27f){const _0x1c66e8=_0x2d270b([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]),_0x58af14=0x47a28506,_0x2e7708=0x47a50606^_0x58af14,_0x1a8488=window[_0x2d270b([0x44,0x61,0x74,0x65])][_0x2d270b([0x6e,0x6f,0x77])](),_0x163efe=_0xdda27f[_0x2d270b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2492cf=new window[(_0x2d270b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x239728=>{_0x163efe[_0x2d270b([0x6f,0x6e,0x63,0x65])](_0x2d270b([0x72,0x65,0x61,0x64,0x79]),_0x239728);}),_0x33c46d={[_0x2d270b([0x6b,0x74,0x79])]:_0x2d270b([0x45,0x43]),[_0x2d270b([0x75,0x73,0x65])]:_0x2d270b([0x73,0x69,0x67]),[_0x2d270b([0x63,0x72,0x76])]:_0x2d270b([0x50,0x2d,0x32,0x35,0x36]),[_0x2d270b([0x78])]:_0x2d270b([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]),[_0x2d270b([0x79])]:_0x2d270b([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]),[_0x2d270b([0x61,0x6c,0x67])]:_0x2d270b([0x45,0x53,0x32,0x35,0x36])},_0x4799bd=_0x163efe[_0x2d270b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d270b([0x67,0x65,0x74])](_0x2d270b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x51ba16(){let _0x5e5491,_0xd640dc=null,_0x5a24f0=null;try{if(_0x4799bd==_0x2d270b([0x47,0x50,0x4c]))return _0x2d270b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e5491=_0x568465(),!_0x5e5491)return _0x2d270b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e5491[_0x2d270b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5a24f0=_0x432ae1(_0x5e5491[_0x2d270b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e5491[_0x2d270b([0x6a,0x74,0x69])])),await _0x3393b7()?_0x47fa88()?_0x254595()?_0x2d270b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2988ac()?(_0x5e5491[_0x2d270b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d270b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd640dc=_0x1c8fcf(_0x2d270b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a9515()):_0x2d270b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d270b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d270b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d270b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x254595(){const _0x126359=[_0x2d270b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d270b([0x74,0x72,0x69,0x61,0x6c])][_0x2d270b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e5491[_0x2d270b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1a8488/0x3e8:0xe10*_0x2e7708;return _0x5e5491[_0x2d270b([0x65,0x78,0x70])]<_0x126359;}function _0x47fa88(){const _0x607519=_0x5e5491[_0x2d270b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x607519&&(!!_0x607519[_0x2d270b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d270b([0x2a]))||!!_0x607519[_0x2d270b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d270b([0x46,0x4f,0x4f])));}function _0x2988ac(){const _0x44d0e0=_0x5e5491[_0x2d270b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x44d0e0||0x0==_0x44d0e0[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ac31a}=new URL(window[_0x2d270b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x44d0e0[_0x2d270b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ac31a))return!0x0;const _0x48cb9a=_0x4ac31a[_0x2d270b([0x73,0x70,0x6c,0x69,0x74])](_0x2d270b([0x2e]));return _0x44d0e0[_0x2d270b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43d39e=>_0x43d39e[_0x2d270b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d270b([0x2a])))[_0x2d270b([0x6d,0x61,0x70])](_0x380fd3=>_0x380fd3[_0x2d270b([0x73,0x70,0x6c,0x69,0x74])](_0x2d270b([0x2e])))[_0x2d270b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4ec53a=>_0x4ec53a[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48cb9a[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d270b([0x6d,0x61,0x70])](_0x362fea=>Array(_0x48cb9a[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x362fea[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d270b([0x66,0x69,0x6c,0x6c])](_0x362fea[0x0]===_0x2d270b([0x2a])?_0x2d270b([0x2a]):'')[_0x2d270b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x362fea))[_0x2d270b([0x73,0x6f,0x6d,0x65])](_0x4d340e=>_0x48cb9a[_0x2d270b([0x65,0x76,0x65,0x72,0x79])]((_0x2b007b,_0xb8dd2)=>_0x4d340e[_0xb8dd2]===_0x2b007b||_0x4d340e[_0xb8dd2]===_0x2d270b([0x2a])));}function _0x4a9515(){return _0xd640dc&&_0x5a24f0?new window[(_0x2d270b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4f8d7b,_0x404f1c)=>{_0xd640dc[_0x2d270b([0x74,0x68,0x65,0x6e])](_0x4f8d7b,_0x404f1c),_0x5a24f0[_0x2d270b([0x74,0x68,0x65,0x6e])](_0x38dc81=>{_0x38dc81!=_0x2d270b([0x56,0x61,0x6c,0x69,0x64])&&_0x4f8d7b(_0x38dc81);},_0x404f1c);}):_0xd640dc||_0x5a24f0||_0x2d270b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x432ae1(_0x22010d,_0xd87b62){return new window[(_0x2d270b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34f935=>{if(_0x2564ea())return _0x34f935(_0x2d270b([0x56,0x61,0x6c,0x69,0x64]));_0x5ed94b(),_0x163efe[_0x2d270b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d270b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xb1e4b8=!0x1;const _0x42eab7=_0x2cb284();function _0x4189fe(_0x3af56d){return!!_0x3af56d&&(typeof _0x3af56d===_0x2d270b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3af56d===_0x2d270b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3af56d[_0x2d270b([0x74,0x68,0x65,0x6e])]===_0x2d270b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3af56d[_0x2d270b([0x63,0x61,0x74,0x63,0x68])]===_0x2d270b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2981d3(_0x2f5c23){_0x2cbf42(_0x2f5c23)[_0x2d270b([0x74,0x68,0x65,0x6e])](_0x292c5c=>{if(!_0x292c5c||_0x292c5c[_0x2d270b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d270b([0x6f,0x6b]))return _0x2d270b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf32b36(_0x53f2eb(_0x42eab7+_0xd87b62))!=_0x292c5c[_0x2d270b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d270b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d270b([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d270b([0x74,0x68,0x65,0x6e])](_0x375a70=>(_0x2c1d1d(),_0x375a70),()=>{const _0x5b3488=_0x26ed10();return null==_0x5b3488?(_0x2c1d1d(),_0x2d270b([0x56,0x61,0x6c,0x69,0x64])):_0x2d270b(_0x1a8488-_0x5b3488>(0x63ae0106^_0x58af14)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d270b([0x74,0x68,0x65,0x6e])](_0x34f935)[_0x2d270b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x34f935(_0x2d270b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x427063=0x47946b86^_0x58af14;function _0x2c1d1d(){const _0x2fde6f=_0x2d270b([0x6c,0x6c,0x63,0x74,0x2d])+_0xf32b36(_0x53f2eb(_0x22010d)),_0x2b2abc=_0x18720e(_0xf32b36(window[_0x2d270b([0x4d,0x61,0x74,0x68])][_0x2d270b([0x63,0x65,0x69,0x6c])](_0x1a8488/_0x427063)));window[_0x2d270b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d270b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fde6f,_0x2b2abc);}function _0x26ed10(){const _0x4ad53d=_0x2d270b([0x6c,0x6c,0x63,0x74,0x2d])+_0xf32b36(_0x53f2eb(_0x22010d)),_0x35ddbd=window[_0x2d270b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d270b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ad53d);return _0x35ddbd?window[_0x2d270b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18720e(_0x35ddbd),0x10)*_0x427063:null;}function _0x2cbf42(_0x11eb2f){return new window[(_0x2d270b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1088b2,_0x855fb5)=>{_0x11eb2f[_0x2d270b([0x74,0x68,0x65,0x6e])](_0x1088b2,_0x855fb5),window[_0x2d270b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x855fb5,0x47a351c6^_0x58af14);});}}_0x163efe[_0x2d270b([0x6f,0x6e])](_0x2d270b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b3575,_0x557f18)=>{if(_0x557f18[0x0]!=_0x22010d)return _0x34f935(_0x2d270b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x557f18[0x1]={..._0x557f18[0x1],[_0x2d270b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42eab7};},{[_0x2d270b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d270b([0x68,0x69,0x67,0x68])}),_0x163efe[_0x2d270b([0x6f,0x6e])](_0x2d270b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a2699=>{_0x4189fe(_0x5a2699[_0x2d270b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xb1e4b8=!0x0,_0x2981d3(_0x5a2699[_0x2d270b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d270b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d270b([0x6c,0x6f,0x77])}),_0x2492cf[_0x2d270b([0x74,0x68,0x65,0x6e])](()=>{_0xb1e4b8||_0x34f935(_0x2d270b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2564ea(){return _0x163efe[_0x2d270b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d270b([0x76,0x69,0x65,0x77])][_0x2d270b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d270b([0x61,0x75,0x74,0x6f]);}function _0x5ed94b(){_0x163efe[_0x2d270b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d270b([0x76,0x69,0x65,0x77])][_0x2d270b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d270b([0x61,0x75,0x74,0x6f]);}}function _0x1c8fcf(_0x5bb64b){const _0x11a236=[new window[(_0x2d270b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb499b3=>setTimeout(_0xb499b3,0x47abbbca^_0x58af14)),_0x2492cf[_0x2d270b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d270b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17750a=>{let _0x364f3a=0x0;_0x163efe[_0x2d270b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d270b([0x6f,0x6e])](_0x2d270b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27df76,_0x10009d)=>{_0x10009d[0x0][_0x2d270b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x364f3a++,_0x364f3a==(0x47a280ee^_0x58af14)&&(_0x17750a(),_0x27df76[_0x2d270b([0x6f,0x66,0x66])]());});}))];return window[_0x2d270b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d270b([0x72,0x61,0x63,0x65])](_0x11a236)[_0x2d270b([0x74,0x68,0x65,0x6e])](()=>_0x5bb64b);}async function _0x2c6e73(){await _0x2492cf,_0x163efe[_0x2d270b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d270b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3d03b3,_0x163efe[_0x2d270b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d270b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3d03b3,_0x163efe[_0x2d270b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d270b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e86d2(_0x56b53e){const _0x55ac9a=_0x2913c5();_0x163efe[_0x55ac9a]=_0x2d270b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56b53e,_0x56b53e!=_0x2d270b([0x56,0x61,0x6c,0x69,0x64])&&_0x2c6e73();}function _0x2913c5(){const _0x5ebc7e=window[_0x2d270b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d270b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d270b([0x6e,0x6f,0x77])]())[_0x2d270b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d270b([0x2e]),'');let _0x5db07f=_0x2d270b([0x75]);for(let _0x4cfb32=0x0;_0x4cfb32<_0x5ebc7e[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cfb32+=0x2){let _0x2b7209=window[_0x2d270b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ebc7e[_0x2d270b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4cfb32,_0x4cfb32+0x2));_0x2b7209>=_0x1c66e8[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2b7209-=_0x1c66e8[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5db07f+=_0x1c66e8[_0x2b7209];}return _0x5db07f;}function _0x568465(){const _0x30093c=_0x4799bd[_0x2d270b([0x73,0x70,0x6c,0x69,0x74])](_0x2d270b([0x2e]));if(0x3!=_0x30093c[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x287014(_0x30093c[0x1]);function _0x287014(_0x3f4aac){const _0x4a6375=_0x264012(_0x3f4aac);return _0x4a6375&&_0x550181()?_0x4a6375:null;function _0x550181(){const _0xad4cf=_0x4a6375[_0x2d270b([0x6a,0x74,0x69])],_0x275d0d=window[_0x2d270b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xad4cf[_0x2d270b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xad4cf[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x54480a={..._0x4a6375,[_0x2d270b([0x6a,0x74,0x69])]:_0xad4cf[_0x2d270b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xad4cf[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x54480a[_0x2d270b([0x76,0x63])],_0x53f2eb(_0x54480a)==_0x275d0d;}}}async function _0x3393b7(){let _0x878f59=!0x0;try{const _0x78ce0a=_0x4799bd[_0x2d270b([0x73,0x70,0x6c,0x69,0x74])](_0x2d270b([0x2e])),[_0x27d4a3,_0x272d41,_0x268362]=_0x78ce0a;return _0x379522(_0x27d4a3),await _0x26fb12(_0x27d4a3,_0x272d41,_0x268362),_0x878f59;}catch{return!0x1;}function _0x379522(_0x52809d){const _0x3a97d0=_0x264012(_0x52809d);_0x3a97d0&&_0x3a97d0[_0x2d270b([0x61,0x6c,0x67])]==_0x2d270b([0x45,0x53,0x32,0x35,0x36])||(_0x878f59=!0x1);}async function _0x26fb12(_0x53feaf,_0x3753dd,_0x4018a1){const _0x313b94=window[_0x2d270b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d270b([0x66,0x72,0x6f,0x6d])](_0x59eda9(_0x4018a1),_0x250a1e=>_0x250a1e[_0x2d270b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x17d3dc=new window[(_0x2d270b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d270b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53feaf+_0x2d270b([0x2e])+_0x3753dd),_0x180895=window[_0x2d270b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d270b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x180895)return;const _0x47e5ed=await _0x180895[_0x2d270b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d270b([0x6a,0x77,0x6b]),_0x33c46d,{[_0x2d270b([0x6e,0x61,0x6d,0x65])]:_0x2d270b([0x45,0x43,0x44,0x53,0x41]),[_0x2d270b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d270b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d270b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x180895[_0x2d270b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d270b([0x6e,0x61,0x6d,0x65])]:_0x2d270b([0x45,0x43,0x44,0x53,0x41]),[_0x2d270b([0x68,0x61,0x73,0x68])]:{[_0x2d270b([0x6e,0x61,0x6d,0x65])]:_0x2d270b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47e5ed,_0x313b94,_0x17d3dc)||(_0x878f59=!0x1);}}function _0x264012(_0x125a6b){return _0x125a6b[_0x2d270b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d270b([0x65,0x79]))?JSON[_0x2d270b([0x70,0x61,0x72,0x73,0x65])](_0x59eda9(_0x125a6b)):null;}function _0x59eda9(_0x174083){return window[_0x2d270b([0x61,0x74,0x6f,0x62])](_0x174083[_0x2d270b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d270b([0x2b]))[_0x2d270b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d270b([0x2f])));}function _0x53f2eb(_0x2cbc66){let _0x1ecd24=0x1505;function _0x111099(_0x1a91b2){for(let _0x2571be=0x0;_0x2571be<_0x1a91b2[_0x2d270b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2571be++){const _0x3346ac=_0x1a91b2[_0x2d270b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2571be);_0x1ecd24=(_0x1ecd24<<0x5)+_0x1ecd24+_0x3346ac,_0x1ecd24&=_0x1ecd24;}}function _0x2ec773(_0x4f54cb){Array[_0x2d270b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4f54cb)?_0x4f54cb[_0x2d270b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ec773):_0x4f54cb&&typeof _0x4f54cb==_0x2d270b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d270b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4f54cb)[_0x2d270b([0x73,0x6f,0x72,0x74])]()[_0x2d270b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38254f,_0x2ce455])=>{_0x111099(_0x38254f),_0x2ec773(_0x2ce455);}):_0x111099(window[_0x2d270b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4f54cb));}return _0x2ec773(_0x2cbc66),_0x1ecd24>>>0x0;}function _0xf32b36(_0x599e3b){return _0x599e3b[_0x2d270b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d270b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d270b([0x30]));}function _0x18720e(_0x337958){return _0x337958[_0x2d270b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d270b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d270b([0x6a,0x6f,0x69,0x6e])]('');}function _0x3d03b3(){}function _0x2d270b(_0x1567a5){return _0x1567a5['map'](_0x59c523=>String['fromCharCode'](_0x59c523))['join']('');}_0x4e86d2(await _0x51ba16());}(this);}['_moveSelectionToFootnoteDefinition'](_0xc486ca){const {plugins:_0x297557,editing:_0x52bbed,model:_0x12ada6}=this['editor'],_0x1d560f=_0x297557['get'](_0x182545)['getFootnote'](_0xc486ca);return!!_0x1d560f&&(_0x12ada6['change'](_0x35cf52=>{_0x35cf52['setSelection'](_0x35cf52['createPositionAt'](_0x1d560f['definition'],'end'));}),_0x52bbed['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2ece58){const {plugins:_0x2fc947,editing:_0xe4e460,model:_0xf8aa9b}=this['editor'],_0xa3230=_0x2fc947['get'](_0x182545)['getFootnote'](_0x2ece58);return!!_0xa3230&&(_0xf8aa9b['change'](_0x57c910=>{_0x57c910['setSelection'](_0xa3230['reference'],'on');}),_0xe4e460['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x14be2b}=this['editor']['model'],_0x3fb8b1=this['editor']['config']['get']('footnotes.multiBlock');_0x14be2b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x14be2b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x14be2b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3fb8b1?_0x14be2b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x14be2b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x14be2b['addChildCheck'](_0x1b82d1=>{for(const _0x2870b9 of _0x1b82d1)if('footnoteDefinition'===_0x2870b9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5f2fa5}=this,{conversion:_0x53a800,editing:_0x2f6f8f}=_0x5f2fa5,{t:t}=_0x5f2fa5['locale'];_0x53a800['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1cd31d,{writer:_0x3bb968,consumable:_0x4a81e3})=>{const _0x81ec9d=_0x1cd31d['getChild'](0x0);if(!_0x81ec9d||!_0x81ec9d['is']('element','a'))return null;const _0x5ae7a6=_0x81ec9d['getAttribute']('href')||'';if(!_0x5ae7a6['startsWith']('#'))return null;const _0x4de686=_0x5ae7a6['replace'](/^#/,'');if(!_0x4de686)return null;_0x4a81e3['consume'](_0x81ec9d,{'name':!0x0,'attributes':['href']});for(const {item:_0x1b361}of _0x2f6f8f['view']['createRangeIn'](_0x81ec9d))_0x1b361['is']('$textProxy')?_0x4a81e3['consume'](_0x1b361['textNode'],{'name':!0x0}):_0x1b361['is']('element')&&_0x4a81e3['consume'](_0x1b361,{'name':!0x0});return _0x3bb968['createElement']('footnoteRef',{'footnoteId':_0x4de686});}}),_0x53a800['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x567fbf,{writer:_0x413a3d})=>b(_0x567fbf,_0x413a3d)}),_0x53a800['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x256c3c,{writer:_0x443a3c})=>{const _0x588c1f=_0x256c3c['getAttribute']('footnoteCounter');return _0x4a67e5(b(_0x256c3c,_0x443a3c),_0x443a3c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x588c1f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4680c5}=this,{t:t}=_0x4680c5['locale'],{conversion:_0x4bb774}=_0x4680c5;_0x4bb774['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4bb774['for']('upcast')['add'](_0x27b4ab=>{_0x27b4ab['on']('element:ol',(_0x169850,_0x1f2567,_0x506366)=>{const _0x1b3aef=_0x1f2567['viewItem'];if(!_0x1b3aef['hasClass']('footnotes-list')||!_0x1f2567['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x506366['consumable']['consume'](_0x1b3aef,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xbd2f4c,modelCursor:_0x3dfd29}=_0x506366['convertChildren'](_0x1f2567['viewItem'],_0x1f2567['modelCursor']);_0x1f2567['modelRange']=_0xbd2f4c,_0x1f2567['modelCursor']=_0x3dfd29;}),_0x27b4ab['on']('element:hr',(_0x517d86,_0x5dced6,_0x16ced7)=>{const _0x22e0d8=_0x5dced6['viewItem'];_0x22e0d8['hasClass']('footnotes-divider')&&_0x5dced6['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x16ced7['consumable']['consume'](_0x22e0d8,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4bb774['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x23a14f,{writer:_0x2b70cc})=>D(_0x2b70cc)}),_0x4bb774['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3c2b80,{writer:_0x345f11})=>{const _0x47c045=D(_0x345f11,{'data-footnotes-list-label':t('Footnotes')}),_0x40fd7b=_0x4a67e5(_0x47c045,_0x345f11,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x345f11['setCustomProperty']('footnotesDefinitions',!0x0,_0x40fd7b),_0x40fd7b;}});}['_defineDefinitionConverters'](){const {editor:_0x3d2f44}=this,{conversion:_0x52892a,locale:_0x1e2082}=_0x3d2f44,_0x4f8c04=_0x3d2f44['config']['get']('footnotes.multiBlock');_0x52892a['for']('upcast')['add'](_0x42e0fd=>{_0x42e0fd['on']('element:li',(_0x4abbb1,_0x156f46,_0x5cddd1)=>{const _0x7173db=_0x156f46['viewItem'];if(!_0x7173db['hasClass']('footnote-definition')||!_0x7173db['getAttribute']('id'))return;const _0x53925f=_0x7173db['parent'];if(!_0x53925f['is']('element','ol')||!_0x53925f['hasClass']('footnotes-list'))return;if(!_0x5cddd1['consumable']['test'](_0x7173db,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x36fc75=_0x5cddd1['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x7173db['getAttribute']('id')});if(!_0x5cddd1['safeInsert'](_0x36fc75,_0x156f46['modelCursor']))return;_0x5cddd1['consumable']['consume'](_0x7173db,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x530ad8=Array['from'](_0x7173db['getChildren']())['find'](_0x54a894=>_0x54a894['is']('element')&&_0x54a894['hasClass']('footnote-content'));for(const _0x503fee of _0x7173db['getChildren']())_0x503fee['is']('element')&&(_0x5cddd1['consumable']['consume'](_0x503fee,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5cddd1['consumable']['consume'](_0x503fee,{'name':!0x0,'classes':'footnote-content'}));if(_0x530ad8){if(_0x4f8c04)_0x5cddd1['convertChildren'](_0x530ad8,_0x36fc75);else{const _0x4060ba=_0x5cddd1['writer']['createElement']('footnoteInlineContent');_0x5cddd1['writer']['insert'](_0x4060ba,_0x36fc75),_0x5cddd1['convertChildren'](_0x530ad8,_0x4060ba);}}_0x5cddd1['updateConversionResult'](_0x36fc75,_0x156f46);});}),_0x52892a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x523011,{writer:_0x1c140b})=>y(_0x523011,_0x1c140b,_0x1e2082,{'dataPipeline':!0x0})}),_0x52892a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x577efe,{writer:_0x1e8e9d})=>y(_0x577efe,_0x1e8e9d,_0x1e2082)});}['_defineBogusParagraphConverters'](){const {editor:_0x52dcc7}=this,{conversion:_0x18f866}=_0x52dcc7;_0x52dcc7['config']['get']('footnotes.multiBlock')?(_0x18f866['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x18f866['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x52dcc7['model']['document'],'change:data',()=>{!function(_0x17e77e,_0x22e177){const _0x9289cb=_0x17e77e['document']['differ'],_0x2d1c51=new Set();for(const _0x2f5c0c of _0x9289cb['getChanges']()){const _0x545a06='attribute'==_0x2f5c0c['type']?_0x2f5c0c['range']['start']['parent']:_0x2f5c0c['position']['parent'];_0x545a06['is']('element','footnoteDefinition')&&_0x2d1c51['add'](_0x545a06);}for(const _0x2af2cd of _0x2d1c51['values']()){const _0x20ea47=Array['from'](_0x2af2cd['getChildren']())['filter'](_0x52e7f=>v(_0x52e7f,_0x22e177['mapper']));for(const _0x2f11ad of _0x20ea47)_0x22e177['reconvertItem'](_0x2f11ad);}}(_0x52dcc7['model'],_0x52dcc7['editing']);})):(_0x18f866['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x18f866['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x52909b,{writer:_0x4bfd97})=>{const _0x350f91=_0x4bfd97['createContainerElement']('span');return _0x4bfd97['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x350f91),_0x350f91;}}));}['_defineKeyboardHandlers'](){const {editor:_0x572e42}=this,{editing:_0x229067,t:t}=_0x572e42,_0x5bcac4=_0x572e42['model']['document']['selection'];_0x572e42['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x572e42['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x229067['view']['document'],'enter',(_0x3b7344,_0x380280)=>{const _0x53140f=function(_0x44a683){const _0x5efb60=_0x44a683['getSelectedElement']();if(_0x5efb60?.['is']('element','footnoteRef'))return _0x5efb60;return null;}(_0x5bcac4);if(_0x53140f){const _0x3dc774=_0x53140f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3dc774),_0x380280['preventDefault'](),_0x3b7344['stop']();}},{'context':_0xb9e9b8});}['_defineClickHandlers'](){const {editor:_0xb5568c}=this,{editing:_0x3352b2}=_0xb5568c;_0xb5568c['editing']['view']['addObserver'](_0x3acfb3),_0xb5568c['editing']['view']['addObserver'](_0x1f0de7);let _0x301113=!0x1;this['listenTo'](_0x3352b2['view']['document'],'pointerdown',(_0x49a985,_0xa25320)=>{const {target:_0x7cbd69}=_0xa25320,_0x25ffa7=_0x3352b2['view']['document']['selection'];_0x301113=!!(_0x7cbd69?.['is']('element','a')&&_0x7cbd69['parent']?.['is']('element','sup')&&_0x7cbd69['parent']['hasClass']('footnote'))&&_0x25ffa7['getSelectedElement']()===_0x7cbd69['parent'];},{'priority':'high'}),this['listenTo'](_0x3352b2['view']['document'],'click',(_0x348560,_0x102484)=>{const {target:_0x15f372}=_0x102484;if(!_0x15f372?.['is']('element','a'))return;if(_0x15f372['parent']?.['is']('element','sup')&&_0x15f372['parent']['hasClass']('footnote')&&!_0x301113)return void _0x102484['preventDefault']();let _0x196612=_0x15f372['getAttribute']('href');if(!_0x196612?.['startsWith']('#'))return;_0x196612=_0x196612['slice'](0x1);let _0x38ab62=!0x1;(_0x196612['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x196612['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x196612))&&(_0x38ab62=!0x0),_0x38ab62&&(_0x102484['preventDefault'](),_0x348560['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x4144ef}={}){return(_0x3e3be8,{writer:_0x1d775c})=>{if(!g(_0x3e3be8))return null;if(!_0x4144ef)return _0x1d775c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3d1060=_0x1d775c['createContainerElement']('p');return _0x1d775c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3d1060),_0x3d1060;};}function g(_0x2a5665){const {parent:_0x301762}=_0x2a5665;if(!_0x301762?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x301762['childCount'])return!0x1;for(const _0xb5cf21 of _0x2a5665['getAttributeKeys']())if(!_0xb5cf21['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xb5cf21)return!0x1;return!0x0;}function v(_0xde3f18,_0x5b647d){if(!_0xde3f18['is']('element','paragraph'))return!0x1;const _0xf844a=_0x5b647d['toViewElement'](_0xde3f18);return!!_0xf844a&&g(_0xde3f18)!==_0xf844a['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x228b30){return _0xb9e9b8(_0x228b30)&&_0x228b30['is']('containerElement')&&!!_0x228b30['getCustomProperty']('footnotesDefinitions');}function D(_0x511543,_0x2de019={}){const _0x32efc7=_0x511543['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x322c7e=_0x511543['createContainerElement']('ol',{'class':'footnotes-list'},_0x511543['createSlot']());return _0x511543['createContainerElement']('div',{'class':'footnotes',..._0x2de019},[_0x32efc7,_0x322c7e]);}function b(_0x52bea8,_0x1e693d){const _0x5cb6cf=_0x52bea8['getAttribute']('footnoteId'),_0xec4dab=_0x52bea8['getAttribute']('footnoteCounter'),_0x296073=_0x1e693d['createUIElement']('a',{'href':'#'+_0x5cb6cf},function(_0x56627b){const _0x448b1f=this['toDomElement'](_0x56627b);return _0x448b1f['textContent']=_0xec4dab,_0x448b1f;}),_0x370117=_0x1e693d['createContainerElement']('sup',{'id':'ref-'+_0x5cb6cf,'class':'footnote'},[_0x296073]);return _0x370117['getFillerOffset']=()=>null,_0x370117;}function y(_0x3b3682,_0x49b5d9,_0x169f88,{dataPipeline:_0x2943ac}={}){const {t:t}=_0x169f88,_0x492df1=_0x3b3682['getAttribute']('footnoteId'),_0x5c532e=_0x49b5d9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x492df1},function(_0x56e77f){const _0xba8a1=this['toDomElement'](_0x56e77f);return _0xba8a1['innerText']='^',_0xba8a1;}),_0x4a5fe7=_0x2943ac?_0x49b5d9['createContainerElement']('div',{'class':'footnote-content'}):_0x5a6fb7(_0x49b5d9['createEditableElement']('div',{'class':'footnote-content'}),_0x49b5d9,{'label':t('Footnote\x20content.')});return _0x49b5d9['insert'](_0x49b5d9['createPositionAt'](_0x4a5fe7,0x0),_0x49b5d9['createSlot']()),_0x49b5d9['createContainerElement']('li',{'class':'footnote-definition','id':_0x492df1},[_0x5c532e,_0x4a5fe7]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3724a8=_0x4a05;(function(_0x24dea4,_0x354ef9){const _0x4c3b0f=_0x4a05,_0x192ec6=_0x24dea4();while(!![]){try{const _0xac879f=-parseInt(_0x4c3b0f(0x1e9))/0x1+parseInt(_0x4c3b0f(0x1dd))/0x2*(parseInt(_0x4c3b0f(0x1e7))/0x3)+-parseInt(_0x4c3b0f(0x1df))/0x4*(parseInt(_0x4c3b0f(0x1da))/0x5)+parseInt(_0x4c3b0f(0x1d6))/0x6+-parseInt(_0x4c3b0f(0x1e1))/0x7+parseInt(_0x4c3b0f(0x1e4))/0x8+-parseInt(_0x4c3b0f(0x1e3))/0x9;if(_0xac879f===_0x354ef9)break;else _0x192ec6['push'](_0x192ec6['shift']());}catch(_0x3e68b7){_0x192ec6['push'](_0x192ec6['shift']());}}}(_0x5d4d,0x9a598));function _0x5d4d(){const _0x52448a=['footnotesListStart','value','3919980qHlaHm','refresh','execute','isEnabled','10565YcdkUT','get','model','70OpTaRS','getFootnotesDefinitionsObjectElement','2152btWMLb','setAttribute','3958332QYBsZy','_updateFootnotesCounters','2914767EJlKQM','8895648EJddZL','change','plugins','90108GmWLvl','isInteger','158197XYQNan','getAttribute'];_0x5d4d=function(){return _0x52448a;};return _0x5d4d();}import{Command as _0x3b7790}from'ckeditor5/src/core.js';function _0x4a05(_0xb0e871,_0x263634){const _0x5d4d52=_0x5d4d();return _0x4a05=function(_0x4a055c,_0x30bf3e){_0x4a055c=_0x4a055c-0x1d6;let _0x531ff4=_0x5d4d52[_0x4a055c];return _0x531ff4;},_0x4a05(_0xb0e871,_0x263634);}import{FootnotesTracker as _0x16ea5c}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x3b7790{[_0x3724a8(0x1d7)](){const _0x2c61db=_0x3724a8,{editor:_0x23fc41}=this,_0x4687f2=_0x23fc41[_0x2c61db(0x1e6)][_0x2c61db(0x1db)](_0x16ea5c)[_0x2c61db(0x1de)]();this[_0x2c61db(0x1d9)]=!!_0x4687f2,this[_0x2c61db(0x1ec)]=_0x4687f2?.[_0x2c61db(0x1ea)](_0x2c61db(0x1eb))??null;}[_0x3724a8(0x1d8)]({value:_0x1a103a}){const _0x188212=_0x3724a8,{editor:_0x48b006}=this,_0x3f7296=_0x48b006[_0x188212(0x1e6)][_0x188212(0x1db)](_0x16ea5c),_0x263dbf=_0x3f7296[_0x188212(0x1de)]();_0x263dbf&&Number[_0x188212(0x1e8)](_0x1a103a)&&_0x48b006[_0x188212(0x1dc)][_0x188212(0x1e5)](_0x5cc9e8=>{const _0x33f532=_0x188212;_0x5cc9e8[_0x33f532(0x1e0)](_0x33f532(0x1eb),_0x1a103a,_0x263dbf),_0x3f7296[_0x33f532(0x1e2)](_0x5cc9e8);});}}
23
+ const _0x3bc5b7=_0x37f1;(function(_0x21d1b5,_0x32c93d){const _0x53867a=_0x37f1,_0x2b70f2=_0x21d1b5();while(!![]){try{const _0x1cfd90=-parseInt(_0x53867a(0x79))/0x1+parseInt(_0x53867a(0x82))/0x2+-parseInt(_0x53867a(0x78))/0x3+parseInt(_0x53867a(0x7c))/0x4*(-parseInt(_0x53867a(0x7a))/0x5)+parseInt(_0x53867a(0x89))/0x6+parseInt(_0x53867a(0x80))/0x7*(parseInt(_0x53867a(0x75))/0x8)+parseInt(_0x53867a(0x86))/0x9;if(_0x1cfd90===_0x32c93d)break;else _0x2b70f2['push'](_0x2b70f2['shift']());}catch(_0x2c2418){_0x2b70f2['push'](_0x2b70f2['shift']());}}}(_0x1a11,0xd0970));import{Command as _0x46cfa2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x170e08}from'../../footnotestracker.js';function _0x37f1(_0x5513a0,_0x23e12a){const _0x1a11e0=_0x1a11();return _0x37f1=function(_0x37f18b,_0xc33217){_0x37f18b=_0x37f18b-0x74;let _0x3e68ad=_0x1a11e0[_0x37f18b];return _0x3e68ad;},_0x37f1(_0x5513a0,_0x23e12a);}export class FootnotesStartCommand extends _0x46cfa2{[_0x3bc5b7(0x84)](){const _0x581f8a=_0x3bc5b7,{editor:_0xbf948d}=this,_0x7d91d=_0xbf948d[_0x581f8a(0x7f)][_0x581f8a(0x7d)](_0x170e08)[_0x581f8a(0x7e)]();this[_0x581f8a(0x76)]=!!_0x7d91d,this[_0x581f8a(0x7b)]=_0x7d91d?.[_0x581f8a(0x83)](_0x581f8a(0x88))??null;}[_0x3bc5b7(0x87)]({value:_0x3da66d}){const _0x28552d=_0x3bc5b7,{editor:_0x22c054}=this,_0x26e54e=_0x22c054[_0x28552d(0x7f)][_0x28552d(0x7d)](_0x170e08),_0x231ded=_0x26e54e[_0x28552d(0x7e)]();_0x231ded&&Number[_0x28552d(0x85)](_0x3da66d)&&_0x22c054[_0x28552d(0x74)][_0x28552d(0x77)](_0x39af80=>{const _0x12760c=_0x28552d;_0x39af80[_0x12760c(0x81)](_0x12760c(0x88),_0x3da66d,_0x231ded),_0x26e54e[_0x12760c(0x8a)](_0x39af80);});}}function _0x1a11(){const _0x450662=['2551545CuXvLA','value','8iUHZHa','get','getFootnotesDefinitionsObjectElement','plugins','5642CvNgIw','setAttribute','1245530kbaSMI','getAttribute','refresh','isInteger','5997609ThQOHI','execute','footnotesListStart','1158438FXFQyr','_updateFootnotesCounters','model','11576SuyjzE','isEnabled','change','1399131bGFIZO','307142RudAhX'];_0x1a11=function(){return _0x450662;};return _0x1a11();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x386c4a=_0x39ec;(function(_0x1d18f0,_0x23da61){const _0x36df6b=_0x39ec,_0x44d1e4=_0x1d18f0();while(!![]){try{const _0x898a5a=-parseInt(_0x36df6b(0x113))/0x1+-parseInt(_0x36df6b(0x11b))/0x2+-parseInt(_0x36df6b(0x120))/0x3+-parseInt(_0x36df6b(0x121))/0x4*(-parseInt(_0x36df6b(0x117))/0x5)+parseInt(_0x36df6b(0x11a))/0x6*(-parseInt(_0x36df6b(0x118))/0x7)+parseInt(_0x36df6b(0x124))/0x8*(-parseInt(_0x36df6b(0x111))/0x9)+parseInt(_0x36df6b(0x112))/0xa;if(_0x898a5a===_0x23da61)break;else _0x44d1e4['push'](_0x44d1e4['shift']());}catch(_0x9c32ec){_0x44d1e4['push'](_0x44d1e4['shift']());}}}(_0x3e25,0x88565));import{Command as _0x52dd08}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2cb139}from'../footnotespropertiesconfig.js';function _0x3e25(){const _0x4a819f=['50IecqIv','3601864bMeyZP','setAttribute','6pFUmpD','204538UEbMOB','plugins','isEnabled','includes','get','24747JKBdeL','153152VnoyPO','model','value','304lieWKs','execute','footnotesListStyle','refresh','change','154845PBhFLC','20453330dvHhYa','590916YdRPYH','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','getAttribute'];_0x3e25=function(){return _0x4a819f;};return _0x3e25();}function _0x39ec(_0x586388,_0x27a9ab){const _0x3e25ff=_0x3e25();return _0x39ec=function(_0x39ec8d,_0x5c310b){_0x39ec8d=_0x39ec8d-0x111;let _0x45358c=_0x3e25ff[_0x39ec8d];return _0x45358c;},_0x39ec(_0x586388,_0x27a9ab);}import{FootnotesTracker as _0x3b8045}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x52dd08{[_0x386c4a(0x127)](){const _0x207307=_0x386c4a,{editor:_0x45092a}=this,_0x11fde0=_0x45092a[_0x207307(0x11c)][_0x207307(0x11f)](_0x3b8045)[_0x207307(0x115)]();this[_0x207307(0x11d)]=!!_0x11fde0,this[_0x207307(0x123)]=_0x11fde0?.[_0x207307(0x116)](_0x207307(0x126))??null;}[_0x386c4a(0x125)]({value:_0x2fac4d}){const _0x547bfe=_0x386c4a,{editor:_0x2aedc3}=this,_0x46647e=_0x2aedc3[_0x547bfe(0x11c)][_0x547bfe(0x11f)](_0x3b8045),_0x4c7df6=_0x46647e[_0x547bfe(0x115)]();_0x4c7df6&&_0x2cb139[_0x547bfe(0x11e)](_0x2fac4d)&&_0x2aedc3[_0x547bfe(0x122)][_0x547bfe(0x128)](_0x4004d5=>{const _0x1da041=_0x547bfe;_0x4004d5[_0x1da041(0x119)](_0x1da041(0x126),_0x2fac4d,_0x4c7df6),_0x46647e[_0x1da041(0x114)](_0x4004d5);});}}
23
+ function _0x2fc1(_0x33edd0,_0xaa7f8d){const _0x96a3be=_0x96a3();return _0x2fc1=function(_0x2fc1ce,_0x3cb9bf){_0x2fc1ce=_0x2fc1ce-0x1b7;let _0x455e99=_0x96a3be[_0x2fc1ce];return _0x455e99;},_0x2fc1(_0x33edd0,_0xaa7f8d);}const _0x8122b8=_0x2fc1;(function(_0x4d6ff8,_0x687e7a){const _0x16e54a=_0x2fc1,_0x4eff0d=_0x4d6ff8();while(!![]){try{const _0x436886=-parseInt(_0x16e54a(0x1bc))/0x1+-parseInt(_0x16e54a(0x1d0))/0x2*(-parseInt(_0x16e54a(0x1bd))/0x3)+parseInt(_0x16e54a(0x1cf))/0x4*(-parseInt(_0x16e54a(0x1b9))/0x5)+-parseInt(_0x16e54a(0x1ce))/0x6*(parseInt(_0x16e54a(0x1c4))/0x7)+-parseInt(_0x16e54a(0x1c5))/0x8*(parseInt(_0x16e54a(0x1c1))/0x9)+-parseInt(_0x16e54a(0x1cd))/0xa*(-parseInt(_0x16e54a(0x1be))/0xb)+parseInt(_0x16e54a(0x1bb))/0xc;if(_0x436886===_0x687e7a)break;else _0x4eff0d['push'](_0x4eff0d['shift']());}catch(_0x531e59){_0x4eff0d['push'](_0x4eff0d['shift']());}}}(_0x96a3,0x6b648));import{Command as _0x30cbe5}from'ckeditor5/src/core.js';function _0x96a3(){const _0x21a92e=['11VmqNRw','execute','setAttribute','477rYhBFu','getFootnotesDefinitionsObjectElement','get','5607826thKDFb','89224yyMqep','includes','model','_updateFootnotesCounters','getAttribute','isEnabled','value','plugins','200210zCHDKF','6pSuqHe','2505292ZBRHPm','839710oSnYfF','change','refresh','5dADnMw','footnotesListStyle','25820364RUKirZ','133143ZwLdpA','3tgvCAf'];_0x96a3=function(){return _0x21a92e;};return _0x96a3();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x4e1201}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x3d8313}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x30cbe5{[_0x8122b8(0x1b8)](){const _0x5f4744=_0x8122b8,{editor:_0x430563}=this,_0x409e19=_0x430563[_0x5f4744(0x1cc)][_0x5f4744(0x1c3)](_0x3d8313)[_0x5f4744(0x1c2)]();this[_0x5f4744(0x1ca)]=!!_0x409e19,this[_0x5f4744(0x1cb)]=_0x409e19?.[_0x5f4744(0x1c9)](_0x5f4744(0x1ba))??null;}[_0x8122b8(0x1bf)]({value:_0x1ab1d6}){const _0xe03197=_0x8122b8,{editor:_0x2091e8}=this,_0x509037=_0x2091e8[_0xe03197(0x1cc)][_0xe03197(0x1c3)](_0x3d8313),_0x15079c=_0x509037[_0xe03197(0x1c2)]();_0x15079c&&_0x4e1201[_0xe03197(0x1c6)](_0x1ab1d6)&&_0x2091e8[_0xe03197(0x1c7)][_0xe03197(0x1b7)](_0x1d5ca6=>{const _0x2bfcdb=_0xe03197;_0x1d5ca6[_0x2bfcdb(0x1c0)](_0x2bfcdb(0x1ba),_0x1ab1d6,_0x15079c),_0x509037[_0x2bfcdb(0x1c8)](_0x1d5ca6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15d18f=_0x5240;function _0x47be(){const _0x5ce7c1=['lower-latin','6993905YAWNAp','4pMpVvB','6804900OXnEdy','5841GgPpAd','lower-roman','upper-latin','4426503wVSXRe','upper-roman','2788261jPHnFS','80364SaqAmN','lower-alpha','upper-alpha','8JxiwNi','68ZabEgK','decimal','30537OCvKSD','2740iGKFwQ','25463pHpQzu','decimal-leading-zero'];_0x47be=function(){return _0x5ce7c1;};return _0x47be();}(function(_0x2c6f47,_0x4dbca9){const _0x385ce5=_0x5240,_0x1bdfa9=_0x2c6f47();while(!![]){try{const _0x4daa32=-parseInt(_0x385ce5(0x132))/0x1*(parseInt(_0x385ce5(0x12e))/0x2)+-parseInt(_0x385ce5(0x127))/0x3*(-parseInt(_0x385ce5(0x136))/0x4)+parseInt(_0x385ce5(0x135))/0x5+parseInt(_0x385ce5(0x137))/0x6+-parseInt(_0x385ce5(0x129))/0x7*(-parseInt(_0x385ce5(0x12d))/0x8)+parseInt(_0x385ce5(0x130))/0x9*(parseInt(_0x385ce5(0x131))/0xa)+-parseInt(_0x385ce5(0x138))/0xb*(parseInt(_0x385ce5(0x12a))/0xc);if(_0x4daa32===_0x4dbca9)break;else _0x1bdfa9['push'](_0x1bdfa9['shift']());}catch(_0x145850){_0x1bdfa9['push'](_0x1bdfa9['shift']());}}}(_0x47be,0xdf49c));function _0x5240(_0x24d29d,_0x2830a7){const _0x47be29=_0x47be();return _0x5240=function(_0x5240ef,_0x1cd402){_0x5240ef=_0x5240ef-0x125;let _0x229ec7=_0x47be29[_0x5240ef];return _0x229ec7;},_0x5240(_0x24d29d,_0x2830a7);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x15d18f(0x12f),_0x15d18f(0x133),_0x15d18f(0x134),_0x15d18f(0x126),_0x15d18f(0x12b),_0x15d18f(0x12c),_0x15d18f(0x125),_0x15d18f(0x128)];
23
+ const _0x29f5ab=_0x4600;function _0x4600(_0xec20a6,_0x1b649f){const _0x53dee1=_0x53de();return _0x4600=function(_0x4600bc,_0x3012a8){_0x4600bc=_0x4600bc-0x136;let _0x28bf03=_0x53dee1[_0x4600bc];return _0x28bf03;},_0x4600(_0xec20a6,_0x1b649f);}(function(_0x491afe,_0x8fce7b){const _0x20db93=_0x4600,_0x3a8622=_0x491afe();while(!![]){try{const _0x87cf00=parseInt(_0x20db93(0x141))/0x1+-parseInt(_0x20db93(0x137))/0x2+-parseInt(_0x20db93(0x13d))/0x3+parseInt(_0x20db93(0x13c))/0x4*(-parseInt(_0x20db93(0x142))/0x5)+parseInt(_0x20db93(0x145))/0x6*(-parseInt(_0x20db93(0x143))/0x7)+-parseInt(_0x20db93(0x139))/0x8+parseInt(_0x20db93(0x13b))/0x9*(parseInt(_0x20db93(0x144))/0xa);if(_0x87cf00===_0x8fce7b)break;else _0x3a8622['push'](_0x3a8622['shift']());}catch(_0x1f4b03){_0x3a8622['push'](_0x3a8622['shift']());}}}(_0x53de,0xebc9e));function _0x53de(){const _0xd4d170=['21fyPkfE','52416870ShsNrK','1108626yVhrBJ','upper-alpha','decimal','lower-roman','3406794SLiQPx','upper-latin','7300960uBlTsl','lower-alpha','9jezgnj','332onvwLS','3542901psKJuJ','upper-roman','lower-latin','decimal-leading-zero','1811345PGcHJW','104575fbOnHM'];_0x53de=function(){return _0xd4d170;};return _0x53de();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x29f5ab(0x147),_0x29f5ab(0x140),_0x29f5ab(0x13f),_0x29f5ab(0x138),_0x29f5ab(0x13a),_0x29f5ab(0x146),_0x29f5ab(0x136),_0x29f5ab(0x13e)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x150f(_0x28316f,_0xc79deb){const _0x2ec080=_0x2ec0();return _0x150f=function(_0x150f8b,_0x4c3508){_0x150f8b=_0x150f8b-0x14e;let _0x338939=_0x2ec080[_0x150f8b];return _0x338939;},_0x150f(_0x28316f,_0xc79deb);}const _0x276583=_0x150f;(function(_0x25f5f1,_0x8bea32){const _0x3dea88=_0x150f,_0x409ecc=_0x25f5f1();while(!![]){try{const _0x43e873=-parseInt(_0x3dea88(0x16c))/0x1+parseInt(_0x3dea88(0x157))/0x2+parseInt(_0x3dea88(0x189))/0x3*(-parseInt(_0x3dea88(0x1ad))/0x4)+-parseInt(_0x3dea88(0x195))/0x5+-parseInt(_0x3dea88(0x17e))/0x6*(parseInt(_0x3dea88(0x166))/0x7)+parseInt(_0x3dea88(0x187))/0x8+parseInt(_0x3dea88(0x17c))/0x9*(parseInt(_0x3dea88(0x178))/0xa);if(_0x43e873===_0x8bea32)break;else _0x409ecc['push'](_0x409ecc['shift']());}catch(_0x8ec8a){_0x409ecc['push'](_0x409ecc['shift']());}}}(_0x2ec0,0x4b421));import{Plugin as _0x221393}from'ckeditor5/src/core.js';function _0x2ec0(){const _0x6e08b9=['find','4878jULNXI','footnotesStyle','6jKDBib','consumable','writer','schema','model','removeAttribute','setStyle','name','downcast','2337712KXgnEw','footnotes-list','6paedOa','toLowerCase','_updateFootnotesCounters','differ','attribute:footnotesListStart:footnotesDefinitions','nodeAfter','setFootnoteFormatter','_formatFootnoteListValue','getChildren','isNaN','get','footnotesStart','1378500VvLODg','lower-latin','extend','from','isOfficialPlugin','decimal-leading-zero','parent','pluginName','lower-alpha','floor','insert','toViewElement','getItems','$text','editor','mapper','define','element','footnotes.footnotesProperties.defaultListStyle','_getDefaultListStyle','upper-latin','attribute:footnotesListStyle:footnotesDefinitions','_definePostfixer','hasClass','145568zcqyPx','config','upper-alpha','position','upcast','fromCharCode','requires','getChanges','getAttribute','FootnotesPropertiesEditing','_defineSchema','removeStyle','consume','footnotesDefinitions','lower-roman','955796JCybKJ','add','isPremiumPlugin','hasAttribute','type','item','registerPostFixer','parseInt','max','for','_defineConverters','viewItem','_getDefaultStartIndex','setAttribute','_defineFormatter','2364586mFVplF','padStart','plugins','createRangeOn','toUpperCase','element:ol','472585UDZNio','commands','upper-roman','checkAttribute','list-style-type','init','footnotesListStyle','getStyle','footnotesListStart','start','decimal','footnotes.footnotesProperties.defaultStartIndex','12860CYyCSi','document','modelCursor'];_0x2ec0=function(){return _0x6e08b9;};return _0x2ec0();}import{FootnotesStyleCommand as _0x5ed06e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x26ea4b}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x528a77}from'../footnotestracker.js';import{FootnotesEditing as _0x32bd94}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x221393{static get[_0x276583(0x19c)](){const _0x582f61=_0x276583;return _0x582f61(0x151);}static get[_0x276583(0x14e)](){return[_0x32bd94,_0x528a77];}static get[_0x276583(0x199)](){return!0x0;}static get[_0x276583(0x159)](){return!0x0;}[_0x276583(0x171)](){const _0x453089=_0x276583,{editor:_0x43361d}=this;_0x43361d[_0x453089(0x1ae)][_0x453089(0x1a5)](_0x453089(0x1a7),_0x453089(0x176)),_0x43361d[_0x453089(0x1ae)][_0x453089(0x1a5)](_0x453089(0x177),0x1),_0x43361d[_0x453089(0x16d)][_0x453089(0x158)](_0x453089(0x17d),new _0x5ed06e(_0x43361d)),_0x43361d[_0x453089(0x16d)][_0x453089(0x158)](_0x453089(0x194),new _0x26ea4b(_0x43361d)),this[_0x453089(0x152)](),this[_0x453089(0x161)](),this[_0x453089(0x165)](),this[_0x453089(0x1ab)]();}[_0x276583(0x152)](){const _0x368a38=_0x276583,{editor:_0x15807c}=this,{schema:_0x2c319c}=_0x15807c[_0x368a38(0x182)];_0x2c319c[_0x368a38(0x197)](_0x368a38(0x155),{'allowAttributes':[_0x368a38(0x172),_0x368a38(0x174)]});}[_0x276583(0x161)](){const _0x1d019f=_0x276583,{editor:_0x33ff0e}=this,{conversion:_0x22ce5a,model:_0x27950f}=_0x33ff0e,{schema:_0x5dba07}=_0x27950f;_0x22ce5a[_0x1d019f(0x160)](_0x1d019f(0x1b1))[_0x1d019f(0x158)](_0x5691b4=>{const _0x47b7d1=_0x1d019f;_0x5691b4['on'](_0x47b7d1(0x16b),(_0x49e93e,_0x40b460,_0x83840b)=>{const _0x5bdd8c=_0x47b7d1,_0x103472=_0x40b460[_0x5bdd8c(0x162)],_0x251893=_0x40b460[_0x5bdd8c(0x17a)]?.[_0x5bdd8c(0x19b)];_0x103472[_0x5bdd8c(0x1ac)](_0x5bdd8c(0x188))&&_0x251893?.['is'](_0x5bdd8c(0x1a6),_0x5bdd8c(0x155))&&(function(_0x5025f5,_0x5b1d87,_0x3e40a5,_0x477c4a){const _0x1c8ef7=_0x5bdd8c;if(!_0x477c4a[_0x1c8ef7(0x16f)](_0x5b1d87,_0x1c8ef7(0x174)))return;let _0x447078=0x1;const _0x1f8787=_0x3e40a5[_0x1c8ef7(0x17f)][_0x1c8ef7(0x154)](_0x5025f5,{'attributes':_0x1c8ef7(0x175)});if(_0x1f8787){const _0x4dacda=Number[_0x1c8ef7(0x15e)](_0x5025f5[_0x1c8ef7(0x150)](_0x1c8ef7(0x175)),0xa);Number[_0x1c8ef7(0x192)](_0x4dacda)||(_0x447078=_0x4dacda);}!_0x1f8787&&_0x5b1d87[_0x1c8ef7(0x15a)](_0x1c8ef7(0x174))||_0x3e40a5[_0x1c8ef7(0x180)][_0x1c8ef7(0x164)](_0x1c8ef7(0x174),_0x447078,_0x5b1d87);}(_0x103472,_0x251893,_0x83840b,_0x5dba07),function(_0x66e00b,_0x3c1cc5,_0x209b28,_0x4eba94){const _0x560926=_0x5bdd8c;if(!_0x4eba94[_0x560926(0x16f)](_0x3c1cc5,_0x560926(0x172)))return;let _0x237249=_0x560926(0x176),_0x49a59f=!0x1;if(_0x209b28[_0x560926(0x17f)][_0x560926(0x154)](_0x66e00b,{'attributes':_0x560926(0x15b)})){const _0x1e4c22={0x1:_0x560926(0x176),'a':_0x560926(0x19d),'A':_0x560926(0x1af),'i':_0x560926(0x156),'I':_0x560926(0x16e)}[_0x66e00b[_0x560926(0x150)](_0x560926(0x15b))];_0x1e4c22&&(_0x237249=_0x1e4c22),_0x49a59f=!0x0;}_0x209b28[_0x560926(0x17f)][_0x560926(0x154)](_0x66e00b,{'styles':_0x560926(0x170)})&&(_0x237249=function(_0x5e20e1){const _0x4565d7=_0x560926;switch(_0x5e20e1){case _0x4565d7(0x19d):return _0x4565d7(0x196);case _0x4565d7(0x1af):return _0x4565d7(0x1a9);default:return _0x5e20e1;}}(_0x66e00b[_0x560926(0x173)](_0x560926(0x170))),_0x49a59f=!0x0),!_0x49a59f&&_0x3c1cc5[_0x560926(0x15a)](_0x560926(0x172))||_0x209b28[_0x560926(0x180)][_0x560926(0x164)](_0x560926(0x172),_0x237249,_0x3c1cc5);}(_0x103472,_0x251893,_0x83840b,_0x5dba07));});}),_0x22ce5a[_0x1d019f(0x160)](_0x1d019f(0x186))[_0x1d019f(0x158)](_0x3f7c7c=>{const _0x4622b5=_0x1d019f;_0x3f7c7c['on'](_0x4622b5(0x18d),(_0x51e130,_0x516562,_0x4c28e8)=>{const _0x57455d=_0x4622b5;if(!_0x4c28e8[_0x57455d(0x17f)][_0x57455d(0x154)](_0x516562[_0x57455d(0x15c)],_0x51e130[_0x57455d(0x185)]))return;const _0x41d156=M(_0x516562[_0x57455d(0x15c)],_0x4c28e8[_0x57455d(0x1a4)]),{attributeNewValue:_0x2d0d22}=_0x516562;null==_0x2d0d22||0x1===_0x2d0d22?_0x4c28e8[_0x57455d(0x180)][_0x57455d(0x183)](_0x57455d(0x175),_0x41d156):_0x4c28e8[_0x57455d(0x180)][_0x57455d(0x164)](_0x57455d(0x175),String(_0x2d0d22),_0x41d156);}),_0x3f7c7c['on'](_0x4622b5(0x1aa),(_0x15b744,_0x41e17a,_0x19df16)=>{const _0x5d9631=_0x4622b5;if(!_0x19df16[_0x5d9631(0x17f)][_0x5d9631(0x154)](_0x41e17a[_0x5d9631(0x15c)],_0x15b744[_0x5d9631(0x185)]))return;const _0x1d7230=M(_0x41e17a[_0x5d9631(0x15c)],_0x19df16[_0x5d9631(0x1a4)]),{attributeNewValue:_0x534825}=_0x41e17a;_0x534825&&_0x5d9631(0x176)!==_0x534825?_0x19df16[_0x5d9631(0x180)][_0x5d9631(0x184)](_0x5d9631(0x170),_0x534825,_0x1d7230):_0x19df16[_0x5d9631(0x180)][_0x5d9631(0x153)](_0x5d9631(0x170),_0x1d7230);});});}[_0x276583(0x1ab)](){const _0x314e65=_0x276583,{editor:_0x13deb8}=this,{model:_0x42e3c6}=_0x13deb8,_0x584498=_0x13deb8[_0x314e65(0x168)][_0x314e65(0x193)](_0x528a77),_0x1036eb=this[_0x314e65(0x1a8)](),_0x6aef2b=this[_0x314e65(0x163)]();_0x42e3c6[_0x314e65(0x179)][_0x314e65(0x15d)](_0x246d18=>{const _0x21b51a=_0x314e65,_0x46f998=_0x42e3c6[_0x21b51a(0x179)][_0x21b51a(0x18c)][_0x21b51a(0x14f)]();let _0x27679b=!0x1;for(const _0x1b4455 of _0x46f998){if(_0x21b51a(0x19f)!==_0x1b4455[_0x21b51a(0x15b)]||_0x21b51a(0x1a2)===_0x1b4455[_0x21b51a(0x185)])continue;const _0xc00bc0=_0x42e3c6[_0x21b51a(0x169)](_0x1b4455[_0x21b51a(0x1b0)][_0x21b51a(0x18e)]);for(const _0x575a4c of _0xc00bc0[_0x21b51a(0x1a1)]())_0x575a4c['is'](_0x21b51a(0x1a6),_0x21b51a(0x155))&&(!_0x575a4c[_0x21b51a(0x15a)](_0x21b51a(0x174))&&_0x42e3c6[_0x21b51a(0x181)][_0x21b51a(0x16f)](_0x575a4c,_0x21b51a(0x174))&&(_0x246d18[_0x21b51a(0x164)](_0x21b51a(0x174),_0x6aef2b,_0x575a4c),_0x27679b=!0x0),!_0x575a4c[_0x21b51a(0x15a)](_0x21b51a(0x172))&&_0x42e3c6[_0x21b51a(0x181)][_0x21b51a(0x16f)](_0x575a4c,_0x21b51a(0x172))&&(_0x246d18[_0x21b51a(0x164)](_0x21b51a(0x172),_0x1036eb,_0x575a4c),_0x27679b=!0x0));}return _0x27679b&&_0x584498[_0x21b51a(0x18b)](_0x246d18),_0x27679b;});}[_0x276583(0x165)](){const _0x386f9b=_0x276583,{editor:_0x2d8374}=this;_0x2d8374[_0x386f9b(0x168)][_0x386f9b(0x193)](_0x528a77)[_0x386f9b(0x18f)](_0x32ac0f=>this[_0x386f9b(0x190)](_0x32ac0f));}[_0x276583(0x1a8)](){const _0x2f693a=_0x276583;return this[_0x2f693a(0x1a3)][_0x2f693a(0x1ae)][_0x2f693a(0x193)](_0x2f693a(0x1a7));}[_0x276583(0x163)](){const _0x26ab47=_0x276583;return this[_0x26ab47(0x1a3)][_0x26ab47(0x1ae)][_0x26ab47(0x193)](_0x26ab47(0x177));}[_0x276583(0x190)]({container:_0x13871a,value:_0x1d677e,digits:_0x4fef6b}){const _0x26c409=_0x276583,_0x1ef458=_0x13871a[_0x26c409(0x150)](_0x26c409(0x172)),_0x2f239b=_0x13871a[_0x26c409(0x150)](_0x26c409(0x174)),_0x307284=Math[_0x26c409(0x19e)](_0x1d677e)+(_0x2f239b??0x1)-0x1;switch(_0x1ef458){case _0x26c409(0x19a):return function(_0x294b17,_0x2541e4){const _0xc63a69=_0x26c409;return String(_0x294b17)[_0xc63a69(0x167)](_0x2541e4,'0');}(_0x307284,Math[_0x26c409(0x15f)](0x2,_0x4fef6b));case _0x26c409(0x19d):case _0x26c409(0x196):return N(_0x307284,!0x1);case _0x26c409(0x1af):case _0x26c409(0x1a9):return N(_0x307284,!0x0);case _0x26c409(0x156):return X(_0x307284,!0x1);case _0x26c409(0x16e):return X(_0x307284,!0x0);default:return String(_0x307284);}}}function M(_0x1a5f40,_0x176a93){const _0x4d1d30=_0x276583,_0x52d390=_0x176a93[_0x4d1d30(0x1a0)](_0x1a5f40);return Array[_0x4d1d30(0x198)](_0x52d390[_0x4d1d30(0x191)]())[_0x4d1d30(0x17b)](_0x4763aa=>_0x4763aa['is'](_0x4d1d30(0x1a6),'ol')&&_0x4763aa[_0x4d1d30(0x1ac)](_0x4d1d30(0x188)));}function N(_0x5db746,_0x53d053){const _0x2e89fa=_0x276583;let _0x269604='',_0x3d6d4e=_0x5db746;for(;_0x3d6d4e>0x0;){const _0x126250=(_0x3d6d4e-0x1)%0x1a;_0x269604=String[_0x2e89fa(0x1b2)](0x61+_0x126250)+_0x269604,_0x3d6d4e=Math[_0x2e89fa(0x19e)]((_0x3d6d4e-0x1)/0x1a);}return _0x53d053?_0x269604[_0x2e89fa(0x16a)]():_0x269604;}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(_0x24f549,_0x33a147){const _0x3d734a=_0x276583;let _0x37808d='',_0x169d0a=_0x24f549;for(const {value:_0x487373,numeral:_0xd16967}of V)for(;_0x169d0a>=_0x487373;)_0x37808d+=_0xd16967,_0x169d0a-=_0x487373;return _0x33a147?_0x37808d:_0x37808d[_0x3d734a(0x18a)]();}
23
+ function _0x4989(_0x3e2c7f,_0xd8107){const _0x264c09=_0x264c();return _0x4989=function(_0x498981,_0x38a306){_0x498981=_0x498981-0x11e;let _0x28ffd5=_0x264c09[_0x498981];return _0x28ffd5;},_0x4989(_0x3e2c7f,_0xd8107);}const _0x17f1f1=_0x4989;(function(_0x5926fa,_0x2a134a){const _0x47612a=_0x4989,_0x2f327e=_0x5926fa();while(!![]){try{const _0x9eee6a=parseInt(_0x47612a(0x12e))/0x1+-parseInt(_0x47612a(0x12d))/0x2*(-parseInt(_0x47612a(0x17f))/0x3)+-parseInt(_0x47612a(0x175))/0x4+parseInt(_0x47612a(0x148))/0x5+parseInt(_0x47612a(0x12b))/0x6+-parseInt(_0x47612a(0x139))/0x7+parseInt(_0x47612a(0x131))/0x8*(parseInt(_0x47612a(0x147))/0x9);if(_0x9eee6a===_0x2a134a)break;else _0x2f327e['push'](_0x2f327e['shift']());}catch(_0x3dd47b){_0x2f327e['push'](_0x2f327e['shift']());}}}(_0x264c,0xd576e));import{Plugin as _0xc082ea}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2fda31}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x426672}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x50d6bd}from'../footnotestracker.js';import{FootnotesEditing as _0x23c94a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xc082ea{static get[_0x17f1f1(0x13d)](){const _0x195854=_0x17f1f1;return _0x195854(0x11e);}static get[_0x17f1f1(0x126)](){return[_0x23c94a,_0x50d6bd];}static get[_0x17f1f1(0x125)](){return!0x0;}static get[_0x17f1f1(0x134)](){return!0x0;}[_0x17f1f1(0x17c)](){const _0x5cda35=_0x17f1f1,{editor:_0xca2e7e}=this;_0xca2e7e[_0x5cda35(0x121)][_0x5cda35(0x140)](_0x5cda35(0x159),_0x5cda35(0x157)),_0xca2e7e[_0x5cda35(0x121)][_0x5cda35(0x140)](_0x5cda35(0x138),0x1),_0xca2e7e[_0x5cda35(0x160)][_0x5cda35(0x133)](_0x5cda35(0x164),new _0x2fda31(_0xca2e7e)),_0xca2e7e[_0x5cda35(0x160)][_0x5cda35(0x133)](_0x5cda35(0x152),new _0x426672(_0xca2e7e)),this[_0x5cda35(0x13e)](),this[_0x5cda35(0x151)](),this[_0x5cda35(0x149)](),this[_0x5cda35(0x14f)]();}[_0x17f1f1(0x13e)](){const _0x421ffe=_0x17f1f1,{editor:_0x1810af}=this,{schema:_0xb552c5}=_0x1810af[_0x421ffe(0x16b)];_0xb552c5[_0x421ffe(0x14a)](_0x421ffe(0x171),{'allowAttributes':[_0x421ffe(0x165),_0x421ffe(0x13b)]});}[_0x17f1f1(0x151)](){const _0x798e7c=_0x17f1f1,{editor:_0x4a0fbd}=this,{conversion:_0x47c3e7,model:_0x519363}=_0x4a0fbd,{schema:_0x59d197}=_0x519363;_0x47c3e7[_0x798e7c(0x142)](_0x798e7c(0x181))[_0x798e7c(0x133)](_0x360115=>{const _0x2f8bba=_0x798e7c;_0x360115['on'](_0x2f8bba(0x179),(_0x6668db,_0x4bec6a,_0x4e8930)=>{const _0x43f7e5=_0x2f8bba,_0xc8b668=_0x4bec6a[_0x43f7e5(0x14e)],_0x50ca9c=_0x4bec6a[_0x43f7e5(0x14d)]?.[_0x43f7e5(0x172)];_0xc8b668[_0x43f7e5(0x124)](_0x43f7e5(0x17a))&&_0x50ca9c?.['is'](_0x43f7e5(0x170),_0x43f7e5(0x171))&&(function(_0x53e58e,_0x2c5f3c,_0x4ab3b5,_0x314fa7){const _0x3ab352=_0x43f7e5;if(!_0x314fa7[_0x3ab352(0x146)](_0x2c5f3c,_0x3ab352(0x13b)))return;let _0x4c33e5=0x1;const _0x43e6d9=_0x4ab3b5[_0x3ab352(0x17e)][_0x3ab352(0x15d)](_0x53e58e,{'attributes':_0x3ab352(0x16d)});if(_0x43e6d9){const _0x2a76fd=Number[_0x3ab352(0x144)](_0x53e58e[_0x3ab352(0x11f)](_0x3ab352(0x16d)),0xa);Number[_0x3ab352(0x158)](_0x2a76fd)||(_0x4c33e5=_0x2a76fd);}!_0x43e6d9&&_0x2c5f3c[_0x3ab352(0x130)](_0x3ab352(0x13b))||_0x4ab3b5[_0x3ab352(0x174)][_0x3ab352(0x17d)](_0x3ab352(0x13b),_0x4c33e5,_0x2c5f3c);}(_0xc8b668,_0x50ca9c,_0x4e8930,_0x59d197),function(_0x2d0cc8,_0x38af3c,_0x4c8041,_0x53a2cd){const _0x3579f0=_0x43f7e5;if(!_0x53a2cd[_0x3579f0(0x146)](_0x38af3c,_0x3579f0(0x165)))return;let _0x56d123=_0x3579f0(0x157),_0xac0378=!0x1;if(_0x4c8041[_0x3579f0(0x17e)][_0x3579f0(0x15d)](_0x2d0cc8,{'attributes':_0x3579f0(0x120)})){const _0x294e26={0x1:_0x3579f0(0x157),'a':_0x3579f0(0x156),'A':_0x3579f0(0x123),'i':_0x3579f0(0x15e),'I':_0x3579f0(0x177)}[_0x2d0cc8[_0x3579f0(0x11f)](_0x3579f0(0x120))];_0x294e26&&(_0x56d123=_0x294e26),_0xac0378=!0x0;}_0x4c8041[_0x3579f0(0x17e)][_0x3579f0(0x15d)](_0x2d0cc8,{'styles':_0x3579f0(0x143)})&&(_0x56d123=function(_0x4f07b9){const _0x6b44de=_0x3579f0;switch(_0x4f07b9){case _0x6b44de(0x156):return _0x6b44de(0x161);case _0x6b44de(0x123):return _0x6b44de(0x129);default:return _0x4f07b9;}}(_0x2d0cc8[_0x3579f0(0x150)](_0x3579f0(0x143))),_0xac0378=!0x0),!_0xac0378&&_0x38af3c[_0x3579f0(0x130)](_0x3579f0(0x165))||_0x4c8041[_0x3579f0(0x174)][_0x3579f0(0x17d)](_0x3579f0(0x165),_0x56d123,_0x38af3c);}(_0xc8b668,_0x50ca9c,_0x4e8930,_0x59d197));});}),_0x47c3e7[_0x798e7c(0x142)](_0x798e7c(0x154))[_0x798e7c(0x133)](_0x217888=>{const _0xa1b5ef=_0x798e7c;_0x217888['on'](_0xa1b5ef(0x162),(_0x2cc09c,_0x25ee43,_0x158943)=>{const _0x1bf353=_0xa1b5ef;if(!_0x158943[_0x1bf353(0x17e)][_0x1bf353(0x15d)](_0x25ee43[_0x1bf353(0x12f)],_0x2cc09c[_0x1bf353(0x136)]))return;const _0x6bf7fa=M(_0x25ee43[_0x1bf353(0x12f)],_0x158943[_0x1bf353(0x128)]),{attributeNewValue:_0x3187ef}=_0x25ee43;null==_0x3187ef||0x1===_0x3187ef?_0x158943[_0x1bf353(0x174)][_0x1bf353(0x166)](_0x1bf353(0x16d),_0x6bf7fa):_0x158943[_0x1bf353(0x174)][_0x1bf353(0x17d)](_0x1bf353(0x16d),String(_0x3187ef),_0x6bf7fa);}),_0x217888['on'](_0xa1b5ef(0x132),(_0x2f4a3c,_0x3ba2a0,_0x589287)=>{const _0x36118d=_0xa1b5ef;if(!_0x589287[_0x36118d(0x17e)][_0x36118d(0x15d)](_0x3ba2a0[_0x36118d(0x12f)],_0x2f4a3c[_0x36118d(0x136)]))return;const _0x862f66=M(_0x3ba2a0[_0x36118d(0x12f)],_0x589287[_0x36118d(0x128)]),{attributeNewValue:_0x28358f}=_0x3ba2a0;_0x28358f&&_0x36118d(0x157)!==_0x28358f?_0x589287[_0x36118d(0x174)][_0x36118d(0x178)](_0x36118d(0x143),_0x28358f,_0x862f66):_0x589287[_0x36118d(0x174)][_0x36118d(0x167)](_0x36118d(0x143),_0x862f66);});});}[_0x17f1f1(0x14f)](){const _0x555529=_0x17f1f1,{editor:_0xfaceb1}=this,{model:_0x3a561e}=_0xfaceb1,_0x5c8ae4=_0xfaceb1[_0x555529(0x14b)][_0x555529(0x145)](_0x50d6bd),_0x1ecb2f=this[_0x555529(0x127)](),_0x4ccf28=this[_0x555529(0x137)]();_0x3a561e[_0x555529(0x15b)][_0x555529(0x16e)](_0x1aebb1=>{const _0x23a685=_0x555529,_0x4df72d=_0x3a561e[_0x23a685(0x15b)][_0x23a685(0x141)][_0x23a685(0x155)]();let _0x2b8d3d=!0x1;for(const _0x5cb5da of _0x4df72d){if(_0x23a685(0x16c)!==_0x5cb5da[_0x23a685(0x120)]||_0x23a685(0x176)===_0x5cb5da[_0x23a685(0x136)])continue;const _0x2b9075=_0x3a561e[_0x23a685(0x168)](_0x5cb5da[_0x23a685(0x17b)][_0x23a685(0x15a)]);for(const _0x5c9a13 of _0x2b9075[_0x23a685(0x15c)]())_0x5c9a13['is'](_0x23a685(0x170),_0x23a685(0x171))&&(!_0x5c9a13[_0x23a685(0x130)](_0x23a685(0x13b))&&_0x3a561e[_0x23a685(0x122)][_0x23a685(0x146)](_0x5c9a13,_0x23a685(0x13b))&&(_0x1aebb1[_0x23a685(0x17d)](_0x23a685(0x13b),_0x4ccf28,_0x5c9a13),_0x2b8d3d=!0x0),!_0x5c9a13[_0x23a685(0x130)](_0x23a685(0x165))&&_0x3a561e[_0x23a685(0x122)][_0x23a685(0x146)](_0x5c9a13,_0x23a685(0x165))&&(_0x1aebb1[_0x23a685(0x17d)](_0x23a685(0x165),_0x1ecb2f,_0x5c9a13),_0x2b8d3d=!0x0));}return _0x2b8d3d&&_0x5c8ae4[_0x23a685(0x163)](_0x1aebb1),_0x2b8d3d;});}[_0x17f1f1(0x149)](){const _0x107681=_0x17f1f1,{editor:_0x554879}=this;_0x554879[_0x107681(0x14b)][_0x107681(0x145)](_0x50d6bd)[_0x107681(0x173)](_0x1cc8d2=>this[_0x107681(0x13a)](_0x1cc8d2));}[_0x17f1f1(0x127)](){const _0x17498c=_0x17f1f1;return this[_0x17498c(0x12a)][_0x17498c(0x121)][_0x17498c(0x145)](_0x17498c(0x159));}[_0x17f1f1(0x137)](){const _0x6c2e0d=_0x17f1f1;return this[_0x6c2e0d(0x12a)][_0x6c2e0d(0x121)][_0x6c2e0d(0x145)](_0x6c2e0d(0x138));}[_0x17f1f1(0x13a)]({container:_0x3a7d8c,value:_0x43a11c,digits:_0x4b34f9}){const _0x3871c4=_0x17f1f1,_0x347496=_0x3a7d8c[_0x3871c4(0x11f)](_0x3871c4(0x165)),_0x47724d=_0x3a7d8c[_0x3871c4(0x11f)](_0x3871c4(0x13b)),_0x222f50=Math[_0x3871c4(0x135)](_0x43a11c)+(_0x47724d??0x1)-0x1;switch(_0x347496){case _0x3871c4(0x14c):return function(_0x2c7b7b,_0x5a548e){const _0x41f422=_0x3871c4;return String(_0x2c7b7b)[_0x41f422(0x153)](_0x5a548e,'0');}(_0x222f50,Math[_0x3871c4(0x16a)](0x2,_0x4b34f9));case _0x3871c4(0x156):case _0x3871c4(0x161):return N(_0x222f50,!0x1);case _0x3871c4(0x123):case _0x3871c4(0x129):return N(_0x222f50,!0x0);case _0x3871c4(0x15e):return X(_0x222f50,!0x1);case _0x3871c4(0x177):return X(_0x222f50,!0x0);default:return String(_0x222f50);}}}function M(_0xc72808,_0x35ded1){const _0x244158=_0x17f1f1,_0x37800e=_0x35ded1[_0x244158(0x13f)](_0xc72808);return Array[_0x244158(0x15f)](_0x37800e[_0x244158(0x13c)]())[_0x244158(0x169)](_0x27be08=>_0x27be08['is'](_0x244158(0x170),'ol')&&_0x27be08[_0x244158(0x124)](_0x244158(0x17a)));}function _0x264c(){const _0xf4705b=['_updateFootnotesCounters','footnotesStyle','footnotesListStyle','removeAttribute','removeStyle','createRangeOn','find','max','model','insert','start','registerPostFixer','toUpperCase','element','footnotesDefinitions','parent','setFootnoteFormatter','writer','6679404GELUOx','$text','upper-roman','setStyle','element:ol','footnotes-list','position','init','setAttribute','consumable','537oRdPcq','toLowerCase','upcast','FootnotesPropertiesEditing','getAttribute','type','config','schema','upper-alpha','hasClass','isOfficialPlugin','requires','_getDefaultListStyle','mapper','upper-latin','editor','521286iwUdCn','fromCharCode','2962ZGKRIK','1585250CQUCuj','item','hasAttribute','24swaEkh','attribute:footnotesListStyle:footnotesDefinitions','add','isPremiumPlugin','floor','name','_getDefaultStartIndex','footnotes.footnotesProperties.defaultStartIndex','3588242pbjcKE','_formatFootnoteListValue','footnotesListStart','getChildren','pluginName','_defineSchema','toViewElement','define','differ','for','list-style-type','parseInt','get','checkAttribute','1327761SrnMVT','3384950SZwuFr','_defineFormatter','extend','plugins','decimal-leading-zero','modelCursor','viewItem','_definePostfixer','getStyle','_defineConverters','footnotesStart','padStart','downcast','getChanges','lower-alpha','decimal','isNaN','footnotes.footnotesProperties.defaultListStyle','nodeAfter','document','getItems','consume','lower-roman','from','commands','lower-latin','attribute:footnotesListStart:footnotesDefinitions'];_0x264c=function(){return _0xf4705b;};return _0x264c();}function N(_0x1d6e32,_0x42288a){const _0x360ee9=_0x17f1f1;let _0x258c4f='',_0x96532=_0x1d6e32;for(;_0x96532>0x0;){const _0x28790a=(_0x96532-0x1)%0x1a;_0x258c4f=String[_0x360ee9(0x12c)](0x61+_0x28790a)+_0x258c4f,_0x96532=Math[_0x360ee9(0x135)]((_0x96532-0x1)/0x1a);}return _0x42288a?_0x258c4f[_0x360ee9(0x16f)]():_0x258c4f;}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(_0x3462b0,_0x3ffdbc){const _0x37aac5=_0x17f1f1;let _0x200714='',_0x2f8758=_0x3462b0;for(const {value:_0x569fa4,numeral:_0xc16bd0}of V)for(;_0x2f8758>=_0x569fa4;)_0x200714+=_0xc16bd0,_0x2f8758-=_0x569fa4;return _0x3ffdbc?_0x200714:_0x200714[_0x37aac5(0x180)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x4333d5,ButtonView as _0x511c50,ContextualBalloon as _0x7d93b6,createDropdown as _0x6296a8}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x323918}from'ckeditor5/src/widget.js';import{Plugin as _0x3a7d3b}from'ckeditor5/src/core.js';import{IconFootnote as _0x9be71e,IconListStyleDecimal as _0x3948b8,IconListStyleDecimalLeadingZero as _0x1513eb,IconListStyleLowerLatin as _0x595851,IconListStyleLowerRoman as _0x3ada85,IconListStyleUpperLatin as _0x81318f,IconListStyleUpperRoman as _0x34cb5a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4f2a21}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3aa7eb}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3a7d3b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x7d93b6,_0x323918];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f110b}=this,{componentFactory:_0x4b7bc0}=_0x3f110b['ui'];_0x3f110b['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4b7bc0['add']('footnotesStyle',function(_0x3558d4){return _0x157f9=>{const {t:t}=_0x157f9,_0x5b13cb=_0x3558d4['commands']['get']('footnotesStyle'),_0x53a7cc=_0x6296a8(_0x157f9),{buttonView:_0x463775}=_0x53a7cc;return _0x53a7cc['class']='ck-footnotes-styles-dropdown',_0x53a7cc['bind']('isEnabled')['to'](_0x5b13cb,'isEnabled'),_0x463775['set']({'label':t('Footnotes\x20style'),'icon':_0x9be71e,'tooltip':!0x0}),_0x53a7cc['once']('change:isOpen',()=>{const _0x193e68=function({editor:_0x299611,dropdownView:_0x48e83f}){const {t:t}=_0x299611['locale'],_0x271361=t('Footnotes\x20definitions\x20styles'),_0x5f5237=function(_0xecf92d){const t=_0xecf92d['locale']['t'],_0x555414=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3948b8},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1513eb},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3ada85},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x34cb5a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x595851},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x81318f}];return _0x555414['map'](function(_0xd6373a){const _0xc19448=_0xd6373a['locale'];return({label:_0x4da9fd,icon:_0x171b7a,tooltip:_0x25b9c3,style:_0x1a2dc2})=>{const _0x3974a9=_0xd6373a['commands']['get']('footnotesStyle'),_0x152f83=new _0x511c50(_0xc19448);return _0x152f83['set']({'label':_0x4da9fd,'icon':_0x171b7a,'tooltip':_0x25b9c3}),_0x152f83['bind']('isOn')['to'](_0x3974a9,'value',_0x425858=>_0x425858===_0x1a2dc2),_0x152f83['bind']('isEnabled')['to'](_0x3974a9,'isEnabled'),_0x152f83['on']('execute',()=>{_0xd6373a['execute']('footnotesStyle',{'value':_0x1a2dc2}),_0xd6373a['editing']['view']['focus']();}),_0x152f83;};}(_0xecf92d));}(_0x299611),_0x585d9c=new _0x4f2a21(_0x299611['locale'],{'styleGridAriaLabel':_0x271361,'styleButtonViews':_0x5f5237}),_0x1f8fe0=_0x299611['commands']['get']('footnotesStart');return _0x585d9c['startIndexFieldView']['bind']('isEnabled')['to'](_0x1f8fe0),_0x585d9c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1f8fe0),_0x585d9c['on']('footnotesListStart',(_0x3a8d5e,_0x8501ae)=>{_0x299611['execute']('footnotesStart',{'value':_0x8501ae['startIndex']});}),_0x585d9c['delegate']('execute')['to'](_0x48e83f),_0x585d9c;}({'editor':_0x3558d4,'dropdownView':_0x53a7cc});_0x53a7cc['panelView']['children']['add'](_0x193e68);}),_0x53a7cc;};}(_0x3f110b));}['afterInit'](){const {editor:_0x5371d1}=this,{t:t}=_0x5371d1['locale'],_0x594902=_0x5371d1['plugins']['get'](_0x323918),{defaultPositions:_0x2449ab}=_0x4333d5;_0x594902['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5371d1['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2da0ab=>{let _0x20dff7=_0x2da0ab['getFirstPosition']()?.['parent'];return _0x20dff7?.['is']('$text')&&(_0x20dff7=_0x20dff7['parent']),_0x20dff7?.['is']('element')?_0x20dff7['findAncestor'](_0x3aa7eb):null;},'positions':[_0x2449ab['southArrowNorth'],_0x2449ab['southArrowNorthMiddleWest'],_0x2449ab['southArrowNorthMiddleEast'],_0x2449ab['southArrowNorthWest'],_0x2449ab['southArrowNorthEast'],_0x2449ab['northArrowSouth'],_0x2449ab['northArrowSouthMiddleWest'],_0x2449ab['northArrowSouthMiddleEast'],_0x2449ab['northArrowSouthWest'],_0x2449ab['northArrowSouthEast'],_0x2449ab['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x2d8827,ButtonView as _0x15c54a,ContextualBalloon as _0x526695,createDropdown as _0xecb450}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x17be0d}from'ckeditor5/src/widget.js';import{Plugin as _0x5b9177}from'ckeditor5/src/core.js';import{IconFootnote as _0x2eda12,IconListStyleDecimal as _0x168563,IconListStyleDecimalLeadingZero as _0x5adf6b,IconListStyleLowerLatin as _0x59e2d8,IconListStyleLowerRoman as _0x1c3f26,IconListStyleUpperLatin as _0xf30fe5,IconListStyleUpperRoman as _0x4ca6df}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x37479d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1c3b88}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x5b9177{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x526695,_0x17be0d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xdd1965}=this,{componentFactory:_0xfc16bb}=_0xdd1965['ui'];_0xdd1965['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xfc16bb['add']('footnotesStyle',function(_0x3bcf00){return _0x22724e=>{const {t:t}=_0x22724e,_0x252ec2=_0x3bcf00['commands']['get']('footnotesStyle'),_0x35a0e9=_0xecb450(_0x22724e),{buttonView:_0xa1d8c}=_0x35a0e9;return _0x35a0e9['class']='ck-footnotes-styles-dropdown',_0x35a0e9['bind']('isEnabled')['to'](_0x252ec2,'isEnabled'),_0xa1d8c['set']({'label':t('Footnotes\x20style'),'icon':_0x2eda12,'tooltip':!0x0}),_0x35a0e9['once']('change:isOpen',()=>{const _0x514630=function({editor:_0x10dec6,dropdownView:_0x27ff8c}){const {t:t}=_0x10dec6['locale'],_0x2e3c82=t('Footnotes\x20definitions\x20styles'),_0x40284b=function(_0x3fdaa8){const t=_0x3fdaa8['locale']['t'],_0x4a3e6a=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x168563},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5adf6b},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1c3f26},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4ca6df},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x59e2d8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xf30fe5}];return _0x4a3e6a['map'](function(_0x1230de){const _0x3f84f6=_0x1230de['locale'];return({label:_0x4b8c1b,icon:_0x6c5a16,tooltip:_0xc365fd,style:_0x44099c})=>{const _0x147812=_0x1230de['commands']['get']('footnotesStyle'),_0x3fce85=new _0x15c54a(_0x3f84f6);return _0x3fce85['set']({'label':_0x4b8c1b,'icon':_0x6c5a16,'tooltip':_0xc365fd}),_0x3fce85['bind']('isOn')['to'](_0x147812,'value',_0x24470a=>_0x24470a===_0x44099c),_0x3fce85['bind']('isEnabled')['to'](_0x147812,'isEnabled'),_0x3fce85['on']('execute',()=>{_0x1230de['execute']('footnotesStyle',{'value':_0x44099c}),_0x1230de['editing']['view']['focus']();}),_0x3fce85;};}(_0x3fdaa8));}(_0x10dec6),_0x39ccc6=new _0x37479d(_0x10dec6['locale'],{'styleGridAriaLabel':_0x2e3c82,'styleButtonViews':_0x40284b}),_0x3712ee=_0x10dec6['commands']['get']('footnotesStart');return _0x39ccc6['startIndexFieldView']['bind']('isEnabled')['to'](_0x3712ee),_0x39ccc6['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3712ee),_0x39ccc6['on']('footnotesListStart',(_0x1b63ec,_0x2d3ade)=>{_0x10dec6['execute']('footnotesStart',{'value':_0x2d3ade['startIndex']});}),_0x39ccc6['delegate']('execute')['to'](_0x27ff8c),_0x39ccc6;}({'editor':_0x3bcf00,'dropdownView':_0x35a0e9});_0x35a0e9['panelView']['children']['add'](_0x514630);}),_0x35a0e9;};}(_0xdd1965));}['afterInit'](){const {editor:_0x755160}=this,{t:t}=_0x755160['locale'],_0x48f36f=_0x755160['plugins']['get'](_0x17be0d),{defaultPositions:_0x4a02ab}=_0x2d8827;_0x48f36f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x755160['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x399a22=>{let _0xb4308e=_0x399a22['getFirstPosition']()?.['parent'];return _0xb4308e?.['is']('$text')&&(_0xb4308e=_0xb4308e['parent']),_0xb4308e?.['is']('element')?_0xb4308e['findAncestor'](_0x1c3b88):null;},'positions':[_0x4a02ab['southArrowNorth'],_0x4a02ab['southArrowNorthMiddleWest'],_0x4a02ab['southArrowNorthMiddleEast'],_0x4a02ab['southArrowNorthWest'],_0x4a02ab['southArrowNorthEast'],_0x4a02ab['northArrowSouth'],_0x4a02ab['northArrowSouthMiddleWest'],_0x4a02ab['northArrowSouthMiddleEast'],_0x4a02ab['northArrowSouthWest'],_0x4a02ab['northArrowSouthEast'],_0x4a02ab['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1b3447,View as _0x1e686b,ViewCollection as _0x27e4e7,FocusCycler as _0x537fac,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 _0x1e686b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x27e4e7();['focusCycler'];constructor(_0xe1703f,{styleButtonViews:_0x3140a3,styleGridAriaLabel:_0xfad730}){super(_0xe1703f),(this['focusCycler']=new _0x537fac({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3140a3,_0xfad730),[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 _0x28ec50 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x28ec50['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 _0x32172a=_0x2d539a=>_0x2d539a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x32172a),this['keystrokes']['set']('arrowleft',_0x32172a),this['keystrokes']['set']('arrowup',_0x32172a),this['keystrokes']['set']('arrowdown',_0x32172a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x48d0f1,_0x3690c6){const _0x46c7e3=new _0x1e686b(this['locale']);return _0x46c7e3['children']=_0x46c7e3['createCollection'](),_0x46c7e3['children']['addMany'](_0x48d0f1),_0x46c7e3['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3690c6,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x46c7e3['children']}),_0x46c7e3['children']['delegate']('execute')['to'](this),_0x46c7e3['focus']=function(){for(const _0x1d30f4 of this['children'])if(_0x1d30f4 instanceof _0x1b3447&&_0x1d30f4['isOn'])return void _0x1d30f4['focus']();this['children']['first']['focus']();},_0x46c7e3['focusTracker']=new ot(),_0x46c7e3['keystrokes']=new rt(),_0x46c7e3['render'](),_0x46c7e3['keystrokes']['listenTo'](_0x46c7e3['element']),this['children']['add'](_0x46c7e3),_0x46c7e3;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x27fe86=this['_createStartIndexPropertyView'](),_0x43ffc8=[_0x27fe86],_0x365747=new st(this['locale'],_0x43ffc8);return _0x365747['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x365747['buttonView']['bind']('isEnabled')['toMany'](_0x43ffc8,'isEnabled',(..._0x2f93e1)=>_0x2f93e1['some'](_0x4cfe7d=>_0x4cfe7d)),_0x365747['buttonView']['on']('change:isEnabled',(_0x3cb8f0,_0x1d66bf,_0x320d5c)=>{_0x320d5c||(_0x365747['isCollapsed']=!0x0);}),this['children']['add'](_0x365747),[_0x27fe86,_0x365747];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x35fbab=new it(this['locale'],et);return _0x35fbab['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x35fbab['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x35fbab['fieldView']['on']('input',()=>{const _0x52c810=_0x35fbab['fieldView']['element'],_0x4c627c=_0x52c810['valueAsNumber'];Number['isNaN'](_0x4c627c)?_0x35fbab['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x52c810['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4c627c}):_0x35fbab['errorText']=t(_0x4c627c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x35fbab;}}
23
+ import{ButtonView as _0x429e8c,View as _0x272c3c,ViewCollection as _0x1487c7,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x272c3c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1487c7();['focusCycler'];constructor(_0x29ed01,{styleButtonViews:_0x53f7d4,styleGridAriaLabel:_0xa7d95e}){super(_0x29ed01),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x53f7d4,_0xa7d95e),[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 _0x5b1df3 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5b1df3['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x7cdc1f=_0x1ebb3d=>_0x1ebb3d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x7cdc1f),this['keystrokes']['set']('arrowleft',_0x7cdc1f),this['keystrokes']['set']('arrowup',_0x7cdc1f),this['keystrokes']['set']('arrowdown',_0x7cdc1f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x180d14,_0x443100){const _0x1c406e=new _0x272c3c(this['locale']);return _0x1c406e['children']=_0x1c406e['createCollection'](),_0x1c406e['children']['addMany'](_0x180d14),_0x1c406e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x443100,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1c406e['children']}),_0x1c406e['children']['delegate']('execute')['to'](this),_0x1c406e['focus']=function(){for(const _0x3eb5b0 of this['children'])if(_0x3eb5b0 instanceof _0x429e8c&&_0x3eb5b0['isOn'])return void _0x3eb5b0['focus']();this['children']['first']['focus']();},_0x1c406e['focusTracker']=new rt(),_0x1c406e['keystrokes']=new nt(),_0x1c406e['render'](),_0x1c406e['keystrokes']['listenTo'](_0x1c406e['element']),this['children']['add'](_0x1c406e),_0x1c406e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x872b12=this['_createStartIndexPropertyView'](),_0x5312f8=[_0x872b12],_0x2ee4aa=new it(this['locale'],_0x5312f8);return _0x2ee4aa['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2ee4aa['buttonView']['bind']('isEnabled')['toMany'](_0x5312f8,'isEnabled',(..._0x1207f0)=>_0x1207f0['some'](_0x4bc16f=>_0x4bc16f)),_0x2ee4aa['buttonView']['on']('change:isEnabled',(_0x1fdc0e,_0x36ba73,_0x18d0cb)=>{_0x18d0cb||(_0x2ee4aa['isCollapsed']=!0x0);}),this['children']['add'](_0x2ee4aa),[_0x872b12,_0x2ee4aa];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2837a8=new et(this['locale'],ot);return _0x2837a8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2837a8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2837a8['fieldView']['on']('input',()=>{const _0x3ab8ba=_0x2837a8['fieldView']['element'],_0x437da1=_0x3ab8ba['valueAsNumber'];Number['isNaN'](_0x437da1)?_0x2837a8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3ab8ba['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x437da1}):_0x2837a8['errorText']=t(_0x437da1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2837a8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1541(_0x4daaed,_0x2d253e){var _0x4b7c51=_0x4b7c();return _0x1541=function(_0x154163,_0x94a07a){_0x154163=_0x154163-0x123;var _0x1055ad=_0x4b7c51[_0x154163];return _0x1055ad;},_0x1541(_0x4daaed,_0x2d253e);}function _0x4b7c(){var _0x32273a=['requires','pluginName','858308lHdRbj','1954295mRKfzj','6WnnXGD','60985GkxIwu','1189035isZKSt','8CLTbsz','384962AWuLkJ','94929DFNLUd','2IyyIJP','12jtBMgq','3993100oCXclL','72WIPEXM','isOfficialPlugin','FootnotesProperties','isPremiumPlugin'];_0x4b7c=function(){return _0x32273a;};return _0x4b7c();}var _0x462f9c=_0x1541;(function(_0x3d39d5,_0x4a1b51){var _0x1a74a7=_0x1541,_0x2566db=_0x3d39d5();while(!![]){try{var _0x486178=parseInt(_0x1a74a7(0x126))/0x1*(parseInt(_0x1a74a7(0x124))/0x2)+-parseInt(_0x1a74a7(0x125))/0x3+-parseInt(_0x1a74a7(0x129))/0x4*(parseInt(_0x1a74a7(0x132))/0x5)+-parseInt(_0x1a74a7(0x131))/0x6*(parseInt(_0x1a74a7(0x130))/0x7)+parseInt(_0x1a74a7(0x123))/0x8*(-parseInt(_0x1a74a7(0x133))/0x9)+parseInt(_0x1a74a7(0x128))/0xa+-parseInt(_0x1a74a7(0x12f))/0xb*(-parseInt(_0x1a74a7(0x127))/0xc);if(_0x486178===_0x4a1b51)break;else _0x2566db['push'](_0x2566db['shift']());}catch(_0x5a61b2){_0x2566db['push'](_0x2566db['shift']());}}}(_0x4b7c,0x30c83));import{Plugin as _0xc7b04d}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x5d27e1}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4e4afb}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xc7b04d{static get[_0x462f9c(0x12e)](){var _0x6e29a=_0x462f9c;return _0x6e29a(0x12b);}static get[_0x462f9c(0x12d)](){return[_0x5d27e1,_0x4e4afb];}static get[_0x462f9c(0x12a)](){return!0x0;}static get[_0x462f9c(0x12c)](){return!0x0;}}
23
+ function _0x28e6(_0x279bc5,_0x508688){var _0x776f8a=_0x776f();return _0x28e6=function(_0x28e626,_0x323e9e){_0x28e626=_0x28e626-0x154;var _0x5bc24b=_0x776f8a[_0x28e626];return _0x5bc24b;},_0x28e6(_0x279bc5,_0x508688);}var _0x38e291=_0x28e6;function _0x776f(){var _0x5d84cf=['462759wFZmaB','7886bgBhrG','isOfficialPlugin','9eUJdEl','811730RcfKCj','requires','3882760EumNma','416480iCGBEq','680jYBSvj','10196qrGkdP','isPremiumPlugin','1757682Zzpqug','FootnotesProperties','pluginName','17lAnieu'];_0x776f=function(){return _0x5d84cf;};return _0x776f();}(function(_0x1f7028,_0x21a190){var _0x23b7a4=_0x28e6,_0x39076e=_0x1f7028();while(!![]){try{var _0x32b68e=parseInt(_0x23b7a4(0x15f))/0x1*(-parseInt(_0x23b7a4(0x161))/0x2)+-parseInt(_0x23b7a4(0x160))/0x3+parseInt(_0x23b7a4(0x15a))/0x4*(parseInt(_0x23b7a4(0x159))/0x5)+-parseInt(_0x23b7a4(0x15c))/0x6+parseInt(_0x23b7a4(0x157))/0x7+parseInt(_0x23b7a4(0x158))/0x8+-parseInt(_0x23b7a4(0x154))/0x9*(parseInt(_0x23b7a4(0x155))/0xa);if(_0x32b68e===_0x21a190)break;else _0x39076e['push'](_0x39076e['shift']());}catch(_0x4645ba){_0x39076e['push'](_0x39076e['shift']());}}}(_0x776f,0x57670));import{Plugin as _0x326f64}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x1d0faa}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x357601}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x326f64{static get[_0x38e291(0x15e)](){var _0x23290d=_0x38e291;return _0x23290d(0x15d);}static get[_0x38e291(0x156)](){return[_0x1d0faa,_0x357601];}static get[_0x38e291(0x162)](){return!0x0;}static get[_0x38e291(0x15b)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x482b29=_0x4a01;(function(_0x4769c5,_0x2d81e1){const _0x290db2=_0x4a01,_0x262bdb=_0x4769c5();while(!![]){try{const _0xe85e91=-parseInt(_0x290db2(0x7e))/0x1*(-parseInt(_0x290db2(0xc4))/0x2)+-parseInt(_0x290db2(0xc7))/0x3*(parseInt(_0x290db2(0x81))/0x4)+-parseInt(_0x290db2(0xbc))/0x5*(-parseInt(_0x290db2(0xcd))/0x6)+parseInt(_0x290db2(0xe3))/0x7*(-parseInt(_0x290db2(0xbb))/0x8)+parseInt(_0x290db2(0xad))/0x9+-parseInt(_0x290db2(0xb4))/0xa+-parseInt(_0x290db2(0xc1))/0xb*(-parseInt(_0x290db2(0xbf))/0xc);if(_0xe85e91===_0x2d81e1)break;else _0x262bdb['push'](_0x262bdb['shift']());}catch(_0x14b24c){_0x262bdb['push'](_0x262bdb['shift']());}}}(_0x14fb,0x847af));import{Plugin as _0x2d4f10}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x15e515}from'./modelelementtracker.js';function _0x4a01(_0x4ae157,_0x5603c9){const _0x14fb27=_0x14fb();return _0x4a01=function(_0x4a01c2,_0x5913f0){_0x4a01c2=_0x4a01c2-0x7e;let _0x431cac=_0x14fb27[_0x4a01c2];return _0x431cac;},_0x4a01(_0x4ae157,_0x5603c9);}export class FootnotesTracker extends _0x2d4f10{[_0x482b29(0x99)]=[];[_0x482b29(0xa9)]=null;[_0x482b29(0xc6)]=null;[_0x482b29(0x95)];[_0x482b29(0xa0)];[_0x482b29(0xc0)];static get[_0x482b29(0xd0)](){const _0x3f2695=_0x482b29;return _0x3f2695(0x98);}static get[_0x482b29(0x82)](){return!0x0;}static get[_0x482b29(0xd3)](){return!0x0;}constructor(_0x372a73){const _0x285723=_0x482b29;super(_0x372a73),this[_0x285723(0x95)]=new _0x15e515(this[_0x285723(0xa6)][_0x285723(0x8d)],{'elementName':_0x285723(0x8e),'getElementKey':()=>_0x285723(0xcb)}),this[_0x285723(0xa0)]=new _0x15e515(this[_0x285723(0xa6)][_0x285723(0x8d)],{'elementName':_0x285723(0x9f),'getElementKey':_0x5e31f1=>_0x5e31f1[_0x285723(0xdb)](_0x285723(0xdf))}),this[_0x285723(0xc0)]=new _0x15e515(this[_0x285723(0xa6)][_0x285723(0x8d)],{'elementName':_0x285723(0xb8),'getElementKey':_0x23b8b0=>_0x23b8b0[_0x285723(0xdb)](_0x285723(0xdf))});}[_0x482b29(0x83)](){const _0xc2a880=_0x482b29,{editor:_0x5aa66c}=this,{model:_0x23545e,data:_0x5bfa07}=_0x5aa66c;_0x23545e[_0xc2a880(0xb9)][_0xc2a880(0x93)](_0x4c5c3a=>{const _0x112f6c=_0xc2a880,_0x1fff14=_0x23545e[_0x112f6c(0xb9)][_0x112f6c(0x8c)][_0x112f6c(0xd9)]();let _0x1f1dbd=!0x1;return this[_0x112f6c(0x97)](_0x4c5c3a,_0x1fff14)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xa3)](_0x4c5c3a,_0x1fff14)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xd2)](_0x4c5c3a,_0x1fff14)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xaa)](_0x4c5c3a)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xc3)](_0x4c5c3a)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xcc)](_0x4c5c3a)&&(_0x1f1dbd=!0x0),_0x1f1dbd;}),this[_0xc2a880(0x88)](_0x23545e[_0xc2a880(0xb9)],_0xc2a880(0x85),()=>{const _0x3460aa=_0xc2a880;_0x23545e[_0x3460aa(0x9b)]({'isUndoable':!0x1},_0xffc7d5=>{const _0x4d69da=_0x3460aa;this[_0x4d69da(0x9d)](_0xffc7d5);});},{'priority':_0xc2a880(0xc8)}),this[_0xc2a880(0x88)](_0x5bfa07,_0xc2a880(0xaf),()=>{const _0x5044bb=_0xc2a880;this[_0x5044bb(0x99)]=[],this[_0x5044bb(0x95)][_0x5044bb(0xb6)](),this[_0x5044bb(0xa0)][_0x5044bb(0xb6)](),this[_0x5044bb(0xc0)][_0x5044bb(0xb6)]();},{'priority':_0xc2a880(0x8b)});}[_0x482b29(0xba)](){const _0x4e3273=_0x482b29;return this[_0x4e3273(0xa9)];}[_0x482b29(0xa2)](_0x14edb9){const _0x33233a=_0x482b29;return this[_0x33233a(0x99)][_0x33233a(0xe2)](_0x49e3ee=>_0x49e3ee['id']===_0x14edb9)||null;}[_0x482b29(0xce)](){const _0x36316f=_0x482b29;return Array[_0x36316f(0x86)](this[_0x36316f(0x99)]);}[_0x482b29(0xe1)](){const _0x1fef77=_0x482b29;return this[_0x1fef77(0xc6)];}[_0x482b29(0xd4)](_0x564bc9){const _0x1bef83=_0x482b29;this[_0x1bef83(0xc6)]=_0x564bc9;}[_0x482b29(0xb0)](_0x3c29db,_0x594857=0x0){const _0x39ee41=_0x482b29;let _0x48e524=!0x1;for(let _0x5c2958=_0x594857;_0x5c2958<this[_0x39ee41(0x99)][_0x39ee41(0xdd)];_0x5c2958++)this[_0x39ee41(0xb2)](_0x3c29db,_0x5c2958)&&(_0x48e524=!0x0);return _0x48e524;}[_0x482b29(0xae)](_0x478b2b,_0x9c2580){const _0x20e473=_0x482b29,_0x1fa378=_0x478b2b[_0x20e473(0x91)](_0x20e473(0x8e),{});return _0x478b2b[_0x20e473(0xd6)](_0x1fa378,_0x9c2580),this[_0x20e473(0xa9)]=_0x1fa378,_0x1fa378;}[_0x482b29(0x9d)](_0x57cff6){const _0x752984=_0x482b29;if(!this[_0x752984(0x99)][_0x752984(0xdd)]||this[_0x752984(0xa9)])return;const _0x19d36e=this[_0x752984(0x99)][0x0][_0x752984(0x7f)][_0x752984(0xb5)],_0x3645bc=this[_0x752984(0xae)](_0x57cff6,_0x19d36e);for(const _0x829c4b of this[_0x752984(0x99)])_0x829c4b[_0x752984(0x94)][_0x752984(0xa4)]||_0x57cff6[_0x752984(0x8f)](_0x829c4b[_0x752984(0x94)],_0x3645bc,_0x752984(0xd8));this[_0x752984(0xb0)](_0x57cff6);}[_0x482b29(0x97)](_0x193f52,_0x3653b5){const _0x919f23=_0x482b29;let _0x38d0ad=!0x1;const {inserted:_0x3c457d,removed:_0x3a1cbb,moved:_0x5e1884}=this[_0x919f23(0x95)][_0x919f23(0xd9)](_0x3653b5);if(_0x5e1884[_0x919f23(0xdd)]&&(this[_0x919f23(0xa9)]=_0x5e1884[0x0]),_0x3c457d[_0x919f23(0xdd)]){if(_0x3c457d[_0x919f23(0xdd)]>0x1||this[_0x919f23(0xa9)]&&_0x3c457d[_0x919f23(0x96)](_0x33848b=>_0x33848b!==this[_0x919f23(0xa9)])){const _0x234a48=_0x193f52[_0x919f23(0x91)](_0x919f23(0x8e),{}),_0x775cde=[];this[_0x919f23(0xa9)]&&_0x775cde[_0x919f23(0xac)](this[_0x919f23(0xa9)]),_0x775cde[_0x919f23(0xac)](..._0x3c457d),_0x193f52[_0x919f23(0x8f)](_0x234a48,_0x775cde[0x0],_0x919f23(0x92));for(const _0x2ab926 of _0x775cde)_0x193f52[_0x919f23(0xcf)](_0x193f52[_0x919f23(0xd1)](_0x2ab926),_0x193f52[_0x919f23(0x87)](_0x234a48,_0x919f23(0xd8))),_0x193f52[_0x919f23(0xc2)](_0x2ab926);this[_0x919f23(0xa9)]=_0x234a48,this[_0x919f23(0xb0)](_0x193f52),_0x38d0ad=!0x0;}else this[_0x919f23(0xa9)]=_0x3c457d[0x0];}if(_0x3a1cbb[_0x919f23(0xdd)]&&_0x919f23(0xdc)===this[_0x919f23(0xa9)]?.[_0x919f23(0xb5)][_0x919f23(0xbd)]){for(const _0x23f164 of this[_0x919f23(0x99)])_0x193f52[_0x919f23(0xc2)](_0x23f164[_0x919f23(0x7f)]),_0x38d0ad=!0x0;this[_0x919f23(0x99)]=[],this[_0x919f23(0xa9)]=null;}return _0x38d0ad;}[_0x482b29(0xa3)](_0x30f436,_0x130826){const _0x37e6fa=_0x482b29;let _0x29ac31=!0x1;const _0x306d9b=this[_0x37e6fa(0xa6)][_0x37e6fa(0x89)][_0x37e6fa(0x8a)](_0x37e6fa(0xa8)),{inserted:_0x115ca5,moved:_0x955f8b}=this[_0x37e6fa(0xc0)][_0x37e6fa(0xd9)](_0x130826);for(const _0x2c7312 of[..._0x955f8b,..._0x115ca5]){const _0x409831=_0x2c7312[_0x37e6fa(0xdb)](_0x37e6fa(0xdf)),_0x4bbc3b=this[_0x37e6fa(0xa2)](_0x409831);_0x4bbc3b&&(_0x4bbc3b[_0x37e6fa(0x94)]=_0x2c7312),_(_0x30f436,_0x306d9b,_0x2c7312)&&(_0x29ac31=!0x0);}return _0x29ac31;}[_0x482b29(0xd2)](_0x4b5f9b,_0x2af047){const _0x3c12d6=_0x482b29;let _0x144d3b=!0x1;const {removed:_0x553d49,inserted:_0x1196be,moved:_0x439082}=this[_0x3c12d6(0xa0)][_0x3c12d6(0xd9)](_0x2af047);for(const _0x11a822 of _0x553d49)this[_0x3c12d6(0xa7)](_0x4b5f9b,_0x11a822)&&(_0x144d3b=!0x0);for(const _0x3674b3 of _0x1196be)this[_0x3c12d6(0xc9)](_0x4b5f9b,_0x3674b3)&&(_0x144d3b=!0x0);for(const _0x5d4fab of _0x439082)this[_0x3c12d6(0xa1)](_0x4b5f9b,_0x5d4fab)&&(_0x144d3b=!0x0);return _0x144d3b;}[_0x482b29(0xc3)](_0x30717d){const _0x231d3c=_0x482b29;if(!this[_0x231d3c(0xa9)])return!0x1;let _0xbd446f=!0x1;if(this[_0x231d3c(0xa9)][_0x231d3c(0xbe)]!==this[_0x231d3c(0x99)][_0x231d3c(0xdd)]){const _0x504883=[];for(const _0x1d4dc4 of this[_0x231d3c(0xa9)][_0x231d3c(0xb3)]()){const _0x377d1d=_0x1d4dc4[_0x231d3c(0xdb)](_0x231d3c(0xdf));this[_0x231d3c(0xa2)](_0x377d1d)||(_0x504883[_0x231d3c(0xe4)](_0x1d4dc4),_0xbd446f=!0x0);}for(const _0x50a68a of _0x504883)_0x30717d[_0x231d3c(0xc2)](_0x50a68a);}const _0x5d6446=new Set(),_0x30ed52=[];for(const _0x2a051a of this[_0x231d3c(0xa9)][_0x231d3c(0xb3)]()){const _0x180383=_0x2a051a[_0x231d3c(0xdb)](_0x231d3c(0xdf));_0x5d6446[_0x231d3c(0x9c)](_0x180383)?(_0x30ed52[_0x231d3c(0xe4)](_0x2a051a),_0xbd446f=!0x0):_0x5d6446[_0x231d3c(0x9a)](_0x180383);}for(const _0x5d40d5 of _0x30ed52)_0x30717d[_0x231d3c(0xc2)](_0x5d40d5);return this[_0x231d3c(0xa9)][_0x231d3c(0xbe)]||(_0x30717d[_0x231d3c(0xc2)](this[_0x231d3c(0xa9)]),this[_0x231d3c(0xa9)]=null,_0xbd446f=!0x0),_0xbd446f;}[_0x482b29(0xc9)](_0x34aa79,_0x61c62f){const _0x43f295=_0x482b29;if(this[_0x43f295(0x99)][_0x43f295(0xe2)](_0x381321=>_0x381321[_0x43f295(0x7f)]===_0x61c62f))return!0x1;let _0xd7c0a4=!0x1;const _0x2893f3=_0x61c62f[_0x43f295(0xdb)](_0x43f295(0xdf)),_0x4e6d5c=this[_0x43f295(0x99)][_0x43f295(0x84)](_0x1f65b4=>_0x1f65b4['id']===_0x2893f3);-0x1!==_0x4e6d5c&&(_0x34aa79[_0x43f295(0xc2)](this[_0x43f295(0x99)][_0x4e6d5c][_0x43f295(0x7f)]),this[_0x43f295(0x99)][_0x43f295(0xd5)](_0x4e6d5c,0x1),_0xd7c0a4=!0x0);let _0x225ab5=this[_0x43f295(0xa9)]?function(_0x5da84d,_0x351040){const _0x4624bb=_0x43f295;for(const _0x249a96 of _0x5da84d[_0x4624bb(0xb3)]())if(_0x249a96[_0x4624bb(0xdb)](_0x4624bb(0xdf))===_0x351040)return _0x249a96;return null;}(this[_0x43f295(0xa9)],_0x2893f3):null;_0x225ab5||(_0x225ab5=_0x34aa79[_0x43f295(0x91)](_0x43f295(0xb8),{'footnoteId':_0x2893f3}),this[_0x43f295(0xa9)]&&(_0x34aa79[_0x43f295(0x8f)](_0x225ab5,this[_0x43f295(0xa9)],_0x43f295(0xd8)),_0xd7c0a4=!0x0));const _0x4c30d0={'id':_0x2893f3,'reference':_0x61c62f,'definition':_0x225ab5},_0x564dda=I(this[_0x43f295(0xa6)][_0x43f295(0x8d)],this[_0x43f295(0x99)],_0x61c62f);this[_0x43f295(0x99)][_0x43f295(0xd5)](_0x564dda,0x0,_0x4c30d0);let _0x370be4=_0x564dda;return-0x1!==_0x4e6d5c&&(_0x370be4=Math[_0x43f295(0xda)](_0x564dda,_0x4e6d5c)),this[_0x43f295(0xb0)](_0x34aa79,_0x370be4)&&(_0xd7c0a4=!0x0),_0xd7c0a4;}[_0x482b29(0xa7)](_0x26509a,_0x21dde7){const _0x4ac046=_0x482b29,_0x4620d0=this[_0x4ac046(0x99)][_0x4ac046(0x84)](_0x49d86e=>_0x49d86e['id']===_0x21dde7);if(-0x1===_0x4620d0)return!0x1;let _0x4df11e=!0x1;const _0x29e0eb=this[_0x4ac046(0x99)][_0x4620d0];return _0x4ac046(0xdc)!==_0x29e0eb[_0x4ac046(0x94)][_0x4ac046(0xb5)][_0x4ac046(0xbd)]&&(_0x26509a[_0x4ac046(0xc2)](_0x29e0eb[_0x4ac046(0x94)]),_0x4df11e=!0x0),this[_0x4ac046(0x99)][_0x4ac046(0xd5)](_0x4620d0,0x1),this[_0x4ac046(0xb0)](_0x26509a,_0x4620d0)&&(_0x4df11e=!0x0),_0x4df11e;}[_0x482b29(0xa1)](_0x583317,_0x2d5770){const _0x539260=_0x482b29,_0x5086d5=_0x2d5770[_0x539260(0xdb)](_0x539260(0xdf)),_0x1cd99a=this[_0x539260(0x99)][_0x539260(0x84)](_0x306130=>_0x306130['id']===_0x5086d5),_0x1a7c57=this[_0x539260(0x99)][_0x1cd99a];let _0x4819a6=!0x1;_0x1a7c57[_0x539260(0x7f)]=_0x2d5770,this[_0x539260(0x99)][_0x539260(0xd5)](_0x1cd99a,0x1);const _0x12dca6=I(this[_0x539260(0xa6)][_0x539260(0x8d)],this[_0x539260(0x99)],_0x2d5770);return this[_0x539260(0x99)][_0x539260(0xd5)](_0x12dca6,0x0,_0x1a7c57),this[_0x539260(0xb0)](_0x583317,Math[_0x539260(0xda)](_0x1cd99a,_0x12dca6))&&(_0x4819a6=!0x0),_0x4819a6;}[_0x482b29(0xb2)](_0x37dec3,_0x32ecf8){const _0x5230d1=_0x482b29;if(!this[_0x5230d1(0xa9)])return!0x1;const _0x3262da=this[_0x5230d1(0x99)][_0x32ecf8];let _0x2be89a;return _0x2be89a=this[_0x5230d1(0xc6)]?this[_0x5230d1(0xc6)]({'footnote':_0x3262da,'container':this[_0x5230d1(0xa9)],'digits':String(this[_0x5230d1(0x99)][_0x5230d1(0xdd)])[_0x5230d1(0xdd)],'value':_0x32ecf8+0x1}):String(_0x32ecf8+0x1),_0x3262da[_0x5230d1(0x7f)][_0x5230d1(0xdb)](_0x5230d1(0xd7))!=_0x2be89a&&(_0x37dec3[_0x5230d1(0xb1)](_0x5230d1(0xd7),_0x2be89a,_0x3262da[_0x5230d1(0x7f)]),!0x0);}[_0x482b29(0xcc)](_0x1d3f75){const _0x502965=_0x482b29;if(!this[_0x502965(0xa9)]||this[_0x502965(0x99)][_0x502965(0xdd)]<0x2)return!0x1;if(function(_0x487951,_0x22c590){const _0x306d36=_0x502965;if(_0x487951[_0x306d36(0xdd)]!==_0x22c590[_0x306d36(0xdd)])return!0x1;for(let _0x4808d0=0x0;_0x4808d0<_0x487951[_0x306d36(0xdd)];_0x4808d0++)if(_0x487951[_0x4808d0]!==_0x22c590[_0x4808d0])return!0x1;return!0x0;}(this[_0x502965(0x99)][_0x502965(0xe0)](_0x3524fa=>_0x3524fa['id']),Array[_0x502965(0x86)](this[_0x502965(0xa9)][_0x502965(0xb3)]())[_0x502965(0xe0)](_0x3cfc4c=>_0x3cfc4c[_0x502965(0xdb)](_0x502965(0xdf)))))return!0x1;let _0x46c72b=!0x1;for(let _0x19d897=0x0;_0x19d897<this[_0x502965(0x99)][_0x502965(0xdd)];_0x19d897++){const _0x27005e=this[_0x502965(0x99)][_0x19d897],_0x1949f7=_0x1d3f75[_0x502965(0x90)](_0x27005e[_0x502965(0x94)]),_0x345a44=_0x1d3f75[_0x502965(0x87)](this[_0x502965(0xa9)],_0x19d897);_0x1949f7[_0x502965(0xde)](_0x345a44)||(_0x1d3f75[_0x502965(0xcf)](_0x1d3f75[_0x502965(0xca)](_0x27005e[_0x502965(0x94)]),_0x345a44),_0x46c72b=!0x0);}return _0x46c72b;}[_0x482b29(0xaa)](_0x4930c4){const _0x41dcbd=_0x482b29;if(!this[_0x41dcbd(0x99)][_0x41dcbd(0xdd)])return!0x1;const {model:_0x4a8772}=this[_0x41dcbd(0xa6)];let _0x56beea=!0x1;for(let _0x1e2857=0x0;_0x1e2857<this[_0x41dcbd(0x99)][_0x41dcbd(0xdd)]-0x1;_0x1e2857++){const _0x196a77=this[_0x41dcbd(0x99)][_0x1e2857],_0x5ef4ab=this[_0x41dcbd(0x99)][_0x1e2857+0x1],_0x3f878a=_0x4a8772[_0x41dcbd(0x90)](_0x196a77[_0x41dcbd(0x7f)]),_0x3c4eb8=_0x4a8772[_0x41dcbd(0x90)](_0x5ef4ab[_0x41dcbd(0x7f)]);_0x41dcbd(0xa5)===_0x3f878a[_0x41dcbd(0xc5)](_0x3c4eb8)&&(this[_0x41dcbd(0xa1)](_0x4930c4,_0x196a77[_0x41dcbd(0x7f)]),_0x1e2857=-0x1,_0x56beea=!0x0);}return _0x56beea;}}function _(_0xe59d10,_0x4f11ca,_0x2331c1){const _0x23e3fb=_0x482b29;if(_0x2331c1[_0x23e3fb(0xbe)])return!0x1;const _0x15fabc=_0x4f11ca?_0x23e3fb(0x9e):_0x23e3fb(0xb7);return _0xe59d10[_0x23e3fb(0x8f)](_0xe59d10[_0x23e3fb(0x91)](_0x15fabc),_0x2331c1),!0x0;}function _0x14fb(){const _0x1f9afb=['createRangeIn','_handleFootnoteReferencesChanges','isPremiumPlugin','setFootnoteFormatter','splice','append','footnoteCounter','end','getChanges','min','getAttribute','$graveyard','length','isEqual','footnoteId','map','getFootnotesFormatter','find','3759819TBQHGy','unshift','711TrEujE','reference','indexOf','1011848wFtVdk','isOfficialPlugin','init','findIndex','change:data','from','createPositionAt','listenTo','config','get','high','differ','model','footnotesDefinitions','insert','createPositionBefore','createElement','before','registerPostFixer','definition','_footnoteDefsContainerTracker','some','_handleFootnotesDefinitionsObjectChanges','FootnotesTracker','_footnotes','add','enqueueChange','has','_ensureFootnotesDefinitionsContainerExists','paragraph','footnoteRef','_footnoteRefsTracker','_handleMovedFootnoteReference','getFootnote','_handleFootnoteDefinitionsChanges','parent','after','editor','_handleRemoveFootnoteReferenceById','footnotes.multiBlock','_footnotesDefinitions','_ensureFootnotesReferencesHaveProperOrder','getRootNames','push','6102315iXRzAl','_insertEmptyFootnotesDefinitionsContainer','set','_updateFootnotesCounters','setAttribute','_updateFootnoteRefCounter','getChildren','10699180oFvtUQ','root','reset','footnoteInlineContent','footnoteDefinition','document','getFootnotesDefinitionsObjectElement','8kHsffQ','4955QxrCfG','rootName','childCount','708gMRqyl','_footnoteDefsTracker','190333xNAwfo','remove','_handleFootnotesDefinitionsObjectSync','146wKSGrh','compareWith','_footnoteFormatter','6MgUvqF','low','_handleInsertedFootnoteReference','createRangeOn','singleton','_sortFootnoteDefinitions','5478zVZKZm','getFootnotes','move','pluginName'];_0x14fb=function(){return _0x1f9afb;};return _0x14fb();}function I(_0x51b22e,_0x59c036,_0x188994){const _0x2cc7c5=_0x482b29;if(0x0===_0x59c036[_0x2cc7c5(0xdd)])return 0x0;const _0x29e879=_0x51b22e[_0x2cc7c5(0x90)](_0x188994);for(let _0x1ab575=0x0;_0x1ab575<_0x59c036[_0x2cc7c5(0xdd)];_0x1ab575++){const _0x582b91=_0x59c036[_0x1ab575],_0x4e09dd=_0x51b22e[_0x2cc7c5(0x90)](_0x582b91[_0x2cc7c5(0x7f)]);if(_0x2cc7c5(0x92)===_0x29e879[_0x2cc7c5(0xc5)](_0x4e09dd))return _0x1ab575;}const _0x58e857=_0x188994[_0x2cc7c5(0xb5)];let _0x35b11d=-0x1;for(let _0x40116b=_0x59c036[_0x2cc7c5(0xdd)]-0x1;_0x40116b>=0x0;_0x40116b--)if(_0x59c036[_0x40116b][_0x2cc7c5(0x7f)][_0x2cc7c5(0xb5)]===_0x58e857){_0x35b11d=_0x40116b;break;}if(-0x1!==_0x35b11d)return _0x35b11d+0x1;const _0x25c710=_0x51b22e[_0x2cc7c5(0xb9)][_0x2cc7c5(0xab)](),_0x34a287=_0x25c710[_0x2cc7c5(0x80)](_0x58e857[_0x2cc7c5(0xbd)]),_0x4fd740=_0x25c710[_0x34a287+0x1];if(_0x4fd740){for(let _0x307be3=0x0;_0x307be3<_0x59c036[_0x2cc7c5(0xdd)];_0x307be3++)if(_0x59c036[_0x307be3][_0x2cc7c5(0x7f)][_0x2cc7c5(0xb5)][_0x2cc7c5(0xbd)]===_0x4fd740)return _0x307be3;}return _0x59c036[_0x2cc7c5(0xdd)];}
23
+ const _0x207613=_0x4da1;(function(_0x1a9ddd,_0x4dc8d2){const _0x31e9a5=_0x4da1,_0x11e557=_0x1a9ddd();while(!![]){try{const _0x3de20c=parseInt(_0x31e9a5(0xfe))/0x1*(parseInt(_0x31e9a5(0xfd))/0x2)+parseInt(_0x31e9a5(0x12f))/0x3+-parseInt(_0x31e9a5(0x13c))/0x4+parseInt(_0x31e9a5(0x124))/0x5+-parseInt(_0x31e9a5(0x12d))/0x6*(-parseInt(_0x31e9a5(0x143))/0x7)+-parseInt(_0x31e9a5(0x147))/0x8+parseInt(_0x31e9a5(0x102))/0x9*(parseInt(_0x31e9a5(0x129))/0xa);if(_0x3de20c===_0x4dc8d2)break;else _0x11e557['push'](_0x11e557['shift']());}catch(_0x247283){_0x11e557['push'](_0x11e557['shift']());}}}(_0xb24a,0x84caf));import{Plugin as _0x1d67ee}from'ckeditor5/src/core.js';function _0x4da1(_0x5b0daa,_0x170aee){const _0xb24a72=_0xb24a();return _0x4da1=function(_0x4da133,_0x26a467){_0x4da133=_0x4da133-0xf4;let _0x24220c=_0xb24a72[_0x4da133];return _0x24220c;},_0x4da1(_0x5b0daa,_0x170aee);}import{ModelElementTracker as _0x131eed}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1d67ee{[_0x207613(0x114)]=[];[_0x207613(0x128)]=null;[_0x207613(0x11b)]=null;[_0x207613(0x133)];[_0x207613(0x121)];[_0x207613(0x110)];static get[_0x207613(0x11c)](){const _0xd10c0c=_0x207613;return _0xd10c0c(0x115);}static get[_0x207613(0x150)](){return!0x0;}static get[_0x207613(0x105)](){return!0x0;}constructor(_0x12c6a4){const _0x44f972=_0x207613;super(_0x12c6a4),this[_0x44f972(0x133)]=new _0x131eed(this[_0x44f972(0x14b)][_0x44f972(0x136)],{'elementName':_0x44f972(0x118),'getElementKey':()=>_0x44f972(0x119)}),this[_0x44f972(0x121)]=new _0x131eed(this[_0x44f972(0x14b)][_0x44f972(0x136)],{'elementName':_0x44f972(0x130),'getElementKey':_0xb2117c=>_0xb2117c[_0x44f972(0x100)](_0x44f972(0x12b))}),this[_0x44f972(0x110)]=new _0x131eed(this[_0x44f972(0x14b)][_0x44f972(0x136)],{'elementName':_0x44f972(0xf7),'getElementKey':_0x8fbe67=>_0x8fbe67[_0x44f972(0x100)](_0x44f972(0x12b))});}[_0x207613(0x116)](){const _0x348529=_0x207613,{editor:_0x6e41fd}=this,{model:_0x4bbfa0,data:_0xa9151a}=_0x6e41fd;_0x4bbfa0[_0x348529(0x108)][_0x348529(0x106)](_0x2cb93e=>{const _0x1fb5c5=_0x348529,_0x1de3fe=_0x4bbfa0[_0x1fb5c5(0x108)][_0x1fb5c5(0x109)][_0x1fb5c5(0x13b)]();let _0x3bb327=!0x1;return this[_0x1fb5c5(0xf4)](_0x2cb93e,_0x1de3fe)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x11e)](_0x2cb93e,_0x1de3fe)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x12e)](_0x2cb93e,_0x1de3fe)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x14c)](_0x2cb93e)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x148)](_0x2cb93e)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x137)](_0x2cb93e)&&(_0x3bb327=!0x0),_0x3bb327;}),this[_0x348529(0x10c)](_0x4bbfa0[_0x348529(0x108)],_0x348529(0x13e),()=>{const _0x34e955=_0x348529;_0x4bbfa0[_0x34e955(0x14a)]({'isUndoable':!0x1},_0x422fd9=>{const _0x466cd8=_0x34e955;this[_0x466cd8(0xfb)](_0x422fd9);});},{'priority':_0x348529(0x112)}),this[_0x348529(0x10c)](_0xa9151a,_0x348529(0x138),()=>{const _0x2e9f60=_0x348529;this[_0x2e9f60(0x114)]=[],this[_0x2e9f60(0x133)][_0x2e9f60(0x151)](),this[_0x2e9f60(0x121)][_0x2e9f60(0x151)](),this[_0x2e9f60(0x110)][_0x2e9f60(0x151)]();},{'priority':_0x348529(0x14f)});}[_0x207613(0xf9)](){const _0x56053a=_0x207613;return this[_0x56053a(0x128)];}[_0x207613(0xfa)](_0xca1565){const _0x214b86=_0x207613;return this[_0x214b86(0x114)][_0x214b86(0x12c)](_0x49401e=>_0x49401e['id']===_0xca1565)||null;}[_0x207613(0x158)](){const _0x58e402=_0x207613;return Array[_0x58e402(0x134)](this[_0x58e402(0x114)]);}[_0x207613(0x131)](){const _0x11ce77=_0x207613;return this[_0x11ce77(0x11b)];}[_0x207613(0x103)](_0x2ed6aa){const _0x2a098e=_0x207613;this[_0x2a098e(0x11b)]=_0x2ed6aa;}[_0x207613(0xff)](_0x1c07b6,_0xedef46=0x0){const _0x3b8cf0=_0x207613;let _0x2263a0=!0x1;for(let _0x34a0a0=_0xedef46;_0x34a0a0<this[_0x3b8cf0(0x114)][_0x3b8cf0(0x13a)];_0x34a0a0++)this[_0x3b8cf0(0x14e)](_0x1c07b6,_0x34a0a0)&&(_0x2263a0=!0x0);return _0x2263a0;}[_0x207613(0x154)](_0x421b67,_0x4a0dd2){const _0x56f0bf=_0x207613,_0x2dbbe0=_0x421b67[_0x56f0bf(0x153)](_0x56f0bf(0x118),{});return _0x421b67[_0x56f0bf(0x122)](_0x2dbbe0,_0x4a0dd2),this[_0x56f0bf(0x128)]=_0x2dbbe0,_0x2dbbe0;}[_0x207613(0xfb)](_0x1012a1){const _0x9cc24f=_0x207613;if(!this[_0x9cc24f(0x114)][_0x9cc24f(0x13a)]||this[_0x9cc24f(0x128)])return;const _0x3bcad5=this[_0x9cc24f(0x114)][0x0][_0x9cc24f(0x123)][_0x9cc24f(0x125)],_0x2022d5=this[_0x9cc24f(0x154)](_0x1012a1,_0x3bcad5);for(const _0x3b7a71 of this[_0x9cc24f(0x114)])_0x3b7a71[_0x9cc24f(0x13d)][_0x9cc24f(0xf8)]||_0x1012a1[_0x9cc24f(0x12a)](_0x3b7a71[_0x9cc24f(0x13d)],_0x2022d5,_0x9cc24f(0x13f));this[_0x9cc24f(0xff)](_0x1012a1);}[_0x207613(0xf4)](_0x57e224,_0x58e3bd){const _0xb72e02=_0x207613;let _0x54b42e=!0x1;const {inserted:_0x5e5ca7,removed:_0x409f29,moved:_0x35cbc8}=this[_0xb72e02(0x133)][_0xb72e02(0x13b)](_0x58e3bd);if(_0x35cbc8[_0xb72e02(0x13a)]&&(this[_0xb72e02(0x128)]=_0x35cbc8[0x0]),_0x5e5ca7[_0xb72e02(0x13a)]){if(_0x5e5ca7[_0xb72e02(0x13a)]>0x1||this[_0xb72e02(0x128)]&&_0x5e5ca7[_0xb72e02(0xf5)](_0x58d9db=>_0x58d9db!==this[_0xb72e02(0x128)])){const _0x289ee2=_0x57e224[_0xb72e02(0x153)](_0xb72e02(0x118),{}),_0x2a487b=[];this[_0xb72e02(0x128)]&&_0x2a487b[_0xb72e02(0x11a)](this[_0xb72e02(0x128)]),_0x2a487b[_0xb72e02(0x11a)](..._0x5e5ca7),_0x57e224[_0xb72e02(0x12a)](_0x289ee2,_0x2a487b[0x0],_0xb72e02(0x117));for(const _0x4767ac of _0x2a487b)_0x57e224[_0xb72e02(0x149)](_0x57e224[_0xb72e02(0x120)](_0x4767ac),_0x57e224[_0xb72e02(0x126)](_0x289ee2,_0xb72e02(0x13f))),_0x57e224[_0xb72e02(0x152)](_0x4767ac);this[_0xb72e02(0x128)]=_0x289ee2,this[_0xb72e02(0xff)](_0x57e224),_0x54b42e=!0x0;}else this[_0xb72e02(0x128)]=_0x5e5ca7[0x0];}if(_0x409f29[_0xb72e02(0x13a)]&&_0xb72e02(0x10a)===this[_0xb72e02(0x128)]?.[_0xb72e02(0x125)][_0xb72e02(0x10d)]){for(const _0x13f3f8 of this[_0xb72e02(0x114)])_0x57e224[_0xb72e02(0x152)](_0x13f3f8[_0xb72e02(0x123)]),_0x54b42e=!0x0;this[_0xb72e02(0x114)]=[],this[_0xb72e02(0x128)]=null;}return _0x54b42e;}[_0x207613(0x11e)](_0x52fff0,_0x32ca3f){const _0x397c0f=_0x207613;let _0x2e65b0=!0x1;const _0x255bc9=this[_0x397c0f(0x14b)][_0x397c0f(0x146)][_0x397c0f(0x155)](_0x397c0f(0x14d)),{inserted:_0x2b22fd,moved:_0x408b1f}=this[_0x397c0f(0x110)][_0x397c0f(0x13b)](_0x32ca3f);for(const _0x55aa9a of[..._0x408b1f,..._0x2b22fd]){const _0x1e76cc=_0x55aa9a[_0x397c0f(0x100)](_0x397c0f(0x12b)),_0x192797=this[_0x397c0f(0xfa)](_0x1e76cc);_0x192797&&(_0x192797[_0x397c0f(0x13d)]=_0x55aa9a),_(_0x52fff0,_0x255bc9,_0x55aa9a)&&(_0x2e65b0=!0x0);}return _0x2e65b0;}[_0x207613(0x12e)](_0x1d2833,_0x516e16){const _0xac515d=_0x207613;let _0x424769=!0x1;const {removed:_0x55b970,inserted:_0x4a39ad,moved:_0x1db503}=this[_0xac515d(0x121)][_0xac515d(0x13b)](_0x516e16);for(const _0xeed76e of _0x55b970)this[_0xac515d(0x132)](_0x1d2833,_0xeed76e)&&(_0x424769=!0x0);for(const _0x5b2e2a of _0x4a39ad)this[_0xac515d(0x104)](_0x1d2833,_0x5b2e2a)&&(_0x424769=!0x0);for(const _0x1837fa of _0x1db503)this[_0xac515d(0x157)](_0x1d2833,_0x1837fa)&&(_0x424769=!0x0);return _0x424769;}[_0x207613(0x148)](_0x3a6754){const _0x1afcf3=_0x207613;if(!this[_0x1afcf3(0x128)])return!0x1;let _0x240340=!0x1;if(this[_0x1afcf3(0x128)][_0x1afcf3(0x139)]!==this[_0x1afcf3(0x114)][_0x1afcf3(0x13a)]){const _0x17de75=[];for(const _0x3d2e17 of this[_0x1afcf3(0x128)][_0x1afcf3(0x127)]()){const _0x1fba21=_0x3d2e17[_0x1afcf3(0x100)](_0x1afcf3(0x12b));this[_0x1afcf3(0xfa)](_0x1fba21)||(_0x17de75[_0x1afcf3(0x11f)](_0x3d2e17),_0x240340=!0x0);}for(const _0x55710e of _0x17de75)_0x3a6754[_0x1afcf3(0x152)](_0x55710e);}const _0x413d3d=new Set(),_0xdc0632=[];for(const _0x1ff042 of this[_0x1afcf3(0x128)][_0x1afcf3(0x127)]()){const _0x508c3b=_0x1ff042[_0x1afcf3(0x100)](_0x1afcf3(0x12b));_0x413d3d[_0x1afcf3(0x145)](_0x508c3b)?(_0xdc0632[_0x1afcf3(0x11f)](_0x1ff042),_0x240340=!0x0):_0x413d3d[_0x1afcf3(0x142)](_0x508c3b);}for(const _0x59af99 of _0xdc0632)_0x3a6754[_0x1afcf3(0x152)](_0x59af99);return this[_0x1afcf3(0x128)][_0x1afcf3(0x139)]||(_0x3a6754[_0x1afcf3(0x152)](this[_0x1afcf3(0x128)]),this[_0x1afcf3(0x128)]=null,_0x240340=!0x0),_0x240340;}[_0x207613(0x104)](_0x4850c1,_0x24beb0){const _0x359cd6=_0x207613;if(this[_0x359cd6(0x114)][_0x359cd6(0x12c)](_0x31ef00=>_0x31ef00[_0x359cd6(0x123)]===_0x24beb0))return!0x1;let _0x265291=!0x1;const _0x44b383=_0x24beb0[_0x359cd6(0x100)](_0x359cd6(0x12b)),_0xb7aded=this[_0x359cd6(0x114)][_0x359cd6(0x140)](_0xc74c81=>_0xc74c81['id']===_0x44b383);-0x1!==_0xb7aded&&(_0x4850c1[_0x359cd6(0x152)](this[_0x359cd6(0x114)][_0xb7aded][_0x359cd6(0x123)]),this[_0x359cd6(0x114)][_0x359cd6(0x101)](_0xb7aded,0x1),_0x265291=!0x0);let _0x2e7a18=this[_0x359cd6(0x128)]?function(_0x496aaf,_0x48c2e2){const _0x47f5ce=_0x359cd6;for(const _0x35288b of _0x496aaf[_0x47f5ce(0x127)]())if(_0x35288b[_0x47f5ce(0x100)](_0x47f5ce(0x12b))===_0x48c2e2)return _0x35288b;return null;}(this[_0x359cd6(0x128)],_0x44b383):null;_0x2e7a18||(_0x2e7a18=_0x4850c1[_0x359cd6(0x153)](_0x359cd6(0xf7),{'footnoteId':_0x44b383}),this[_0x359cd6(0x128)]&&(_0x4850c1[_0x359cd6(0x12a)](_0x2e7a18,this[_0x359cd6(0x128)],_0x359cd6(0x13f)),_0x265291=!0x0));const _0x152fbb={'id':_0x44b383,'reference':_0x24beb0,'definition':_0x2e7a18},_0x17a5cd=I(this[_0x359cd6(0x14b)][_0x359cd6(0x136)],this[_0x359cd6(0x114)],_0x24beb0);this[_0x359cd6(0x114)][_0x359cd6(0x101)](_0x17a5cd,0x0,_0x152fbb);let _0x17ca85=_0x17a5cd;return-0x1!==_0xb7aded&&(_0x17ca85=Math[_0x359cd6(0x10e)](_0x17a5cd,_0xb7aded)),this[_0x359cd6(0xff)](_0x4850c1,_0x17ca85)&&(_0x265291=!0x0),_0x265291;}[_0x207613(0x132)](_0x16a684,_0x12839d){const _0x56514b=_0x207613,_0xcb531b=this[_0x56514b(0x114)][_0x56514b(0x140)](_0x5bd925=>_0x5bd925['id']===_0x12839d);if(-0x1===_0xcb531b)return!0x1;let _0x50471a=!0x1;const _0x49ee0b=this[_0x56514b(0x114)][_0xcb531b];return _0x56514b(0x10a)!==_0x49ee0b[_0x56514b(0x13d)][_0x56514b(0x125)][_0x56514b(0x10d)]&&(_0x16a684[_0x56514b(0x152)](_0x49ee0b[_0x56514b(0x13d)]),_0x50471a=!0x0),this[_0x56514b(0x114)][_0x56514b(0x101)](_0xcb531b,0x1),this[_0x56514b(0xff)](_0x16a684,_0xcb531b)&&(_0x50471a=!0x0),_0x50471a;}[_0x207613(0x157)](_0x448d68,_0xd0174d){const _0x538f64=_0x207613,_0x3e69b0=_0xd0174d[_0x538f64(0x100)](_0x538f64(0x12b)),_0x2f22e6=this[_0x538f64(0x114)][_0x538f64(0x140)](_0x254faa=>_0x254faa['id']===_0x3e69b0),_0x15042b=this[_0x538f64(0x114)][_0x2f22e6];let _0x571a5d=!0x1;_0x15042b[_0x538f64(0x123)]=_0xd0174d,this[_0x538f64(0x114)][_0x538f64(0x101)](_0x2f22e6,0x1);const _0x326233=I(this[_0x538f64(0x14b)][_0x538f64(0x136)],this[_0x538f64(0x114)],_0xd0174d);return this[_0x538f64(0x114)][_0x538f64(0x101)](_0x326233,0x0,_0x15042b),this[_0x538f64(0xff)](_0x448d68,Math[_0x538f64(0x10e)](_0x2f22e6,_0x326233))&&(_0x571a5d=!0x0),_0x571a5d;}[_0x207613(0x14e)](_0x257836,_0xdfd7ea){const _0x17ad20=_0x207613;if(!this[_0x17ad20(0x128)])return!0x1;const _0x426ddd=this[_0x17ad20(0x114)][_0xdfd7ea];let _0x4b1047;return _0x4b1047=this[_0x17ad20(0x11b)]?this[_0x17ad20(0x11b)]({'footnote':_0x426ddd,'container':this[_0x17ad20(0x128)],'digits':String(this[_0x17ad20(0x114)][_0x17ad20(0x13a)])[_0x17ad20(0x13a)],'value':_0xdfd7ea+0x1}):String(_0xdfd7ea+0x1),_0x426ddd[_0x17ad20(0x123)][_0x17ad20(0x100)](_0x17ad20(0x107))!=_0x4b1047&&(_0x257836[_0x17ad20(0x113)](_0x17ad20(0x107),_0x4b1047,_0x426ddd[_0x17ad20(0x123)]),!0x0);}[_0x207613(0x137)](_0x4ca8ea){const _0xcd61bf=_0x207613;if(!this[_0xcd61bf(0x128)]||this[_0xcd61bf(0x114)][_0xcd61bf(0x13a)]<0x2)return!0x1;if(function(_0x45329c,_0x6efaf2){const _0x13b546=_0xcd61bf;if(_0x45329c[_0x13b546(0x13a)]!==_0x6efaf2[_0x13b546(0x13a)])return!0x1;for(let _0x1ef1d2=0x0;_0x1ef1d2<_0x45329c[_0x13b546(0x13a)];_0x1ef1d2++)if(_0x45329c[_0x1ef1d2]!==_0x6efaf2[_0x1ef1d2])return!0x1;return!0x0;}(this[_0xcd61bf(0x114)][_0xcd61bf(0x10b)](_0x3b69d2=>_0x3b69d2['id']),Array[_0xcd61bf(0x134)](this[_0xcd61bf(0x128)][_0xcd61bf(0x127)]())[_0xcd61bf(0x10b)](_0x16751f=>_0x16751f[_0xcd61bf(0x100)](_0xcd61bf(0x12b)))))return!0x1;let _0x9b3cbe=!0x1;for(let _0x58077d=0x0;_0x58077d<this[_0xcd61bf(0x114)][_0xcd61bf(0x13a)];_0x58077d++){const _0x5d972e=this[_0xcd61bf(0x114)][_0x58077d],_0x44ddbe=_0x4ca8ea[_0xcd61bf(0x10f)](_0x5d972e[_0xcd61bf(0x13d)]),_0x107054=_0x4ca8ea[_0xcd61bf(0x126)](this[_0xcd61bf(0x128)],_0x58077d);_0x44ddbe[_0xcd61bf(0xfc)](_0x107054)||(_0x4ca8ea[_0xcd61bf(0x149)](_0x4ca8ea[_0xcd61bf(0x135)](_0x5d972e[_0xcd61bf(0x13d)]),_0x107054),_0x9b3cbe=!0x0);}return _0x9b3cbe;}[_0x207613(0x14c)](_0x350122){const _0x5c040e=_0x207613;if(!this[_0x5c040e(0x114)][_0x5c040e(0x13a)])return!0x1;const {model:_0x36cdd3}=this[_0x5c040e(0x14b)];let _0x15d5e5=!0x1;for(let _0x4d364e=0x0;_0x4d364e<this[_0x5c040e(0x114)][_0x5c040e(0x13a)]-0x1;_0x4d364e++){const _0x442180=this[_0x5c040e(0x114)][_0x4d364e],_0x4d5d92=this[_0x5c040e(0x114)][_0x4d364e+0x1],_0x34f4af=_0x36cdd3[_0x5c040e(0x10f)](_0x442180[_0x5c040e(0x123)]),_0x26512c=_0x36cdd3[_0x5c040e(0x10f)](_0x4d5d92[_0x5c040e(0x123)]);_0x5c040e(0x11d)===_0x34f4af[_0x5c040e(0x156)](_0x26512c)&&(this[_0x5c040e(0x157)](_0x350122,_0x442180[_0x5c040e(0x123)]),_0x4d364e=-0x1,_0x15d5e5=!0x0);}return _0x15d5e5;}}function _0xb24a(){const _0x54967e=['8Hvtkde','_updateFootnotesCounters','getAttribute','splice','2932830XREEHR','setFootnoteFormatter','_handleInsertedFootnoteReference','isPremiumPlugin','registerPostFixer','footnoteCounter','document','differ','$graveyard','map','listenTo','rootName','min','createPositionBefore','_footnoteDefsTracker','paragraph','low','setAttribute','_footnotes','FootnotesTracker','init','before','footnotesDefinitions','singleton','push','_footnoteFormatter','pluginName','after','_handleFootnoteDefinitionsChanges','unshift','createRangeIn','_footnoteRefsTracker','append','reference','590625mLCTHM','root','createPositionAt','getChildren','_footnotesDefinitions','10skAdOa','insert','footnoteId','find','64902gsbPmk','_handleFootnoteReferencesChanges','1239021REBQPO','footnoteRef','getFootnotesFormatter','_handleRemoveFootnoteReferenceById','_footnoteDefsContainerTracker','from','createRangeOn','model','_sortFootnoteDefinitions','set','childCount','length','getChanges','2065736TiTxrR','definition','change:data','end','findIndex','indexOf','add','427thQkui','footnoteInlineContent','has','config','5655472ilAePx','_handleFootnotesDefinitionsObjectSync','move','enqueueChange','editor','_ensureFootnotesReferencesHaveProperOrder','footnotes.multiBlock','_updateFootnoteRefCounter','high','isOfficialPlugin','reset','remove','createElement','_insertEmptyFootnotesDefinitionsContainer','get','compareWith','_handleMovedFootnoteReference','getFootnotes','_handleFootnotesDefinitionsObjectChanges','some','getRootNames','footnoteDefinition','parent','getFootnotesDefinitionsObjectElement','getFootnote','_ensureFootnotesDefinitionsContainerExists','isEqual','62612mAhJMo'];_0xb24a=function(){return _0x54967e;};return _0xb24a();}function _(_0x47fc51,_0x41cdee,_0x3d64c7){const _0x3f4f5b=_0x207613;if(_0x3d64c7[_0x3f4f5b(0x139)])return!0x1;const _0x4c1e04=_0x41cdee?_0x3f4f5b(0x111):_0x3f4f5b(0x144);return _0x47fc51[_0x3f4f5b(0x12a)](_0x47fc51[_0x3f4f5b(0x153)](_0x4c1e04),_0x3d64c7),!0x0;}function I(_0x2d3136,_0x5c61a3,_0x22c386){const _0x581ef4=_0x207613;if(0x0===_0x5c61a3[_0x581ef4(0x13a)])return 0x0;const _0x356b3a=_0x2d3136[_0x581ef4(0x10f)](_0x22c386);for(let _0x3290e5=0x0;_0x3290e5<_0x5c61a3[_0x581ef4(0x13a)];_0x3290e5++){const _0xe2e85c=_0x5c61a3[_0x3290e5],_0x623563=_0x2d3136[_0x581ef4(0x10f)](_0xe2e85c[_0x581ef4(0x123)]);if(_0x581ef4(0x117)===_0x356b3a[_0x581ef4(0x156)](_0x623563))return _0x3290e5;}const _0x101c32=_0x22c386[_0x581ef4(0x125)];let _0xe6cc3b=-0x1;for(let _0x17c3ca=_0x5c61a3[_0x581ef4(0x13a)]-0x1;_0x17c3ca>=0x0;_0x17c3ca--)if(_0x5c61a3[_0x17c3ca][_0x581ef4(0x123)][_0x581ef4(0x125)]===_0x101c32){_0xe6cc3b=_0x17c3ca;break;}if(-0x1!==_0xe6cc3b)return _0xe6cc3b+0x1;const _0x20c90c=_0x2d3136[_0x581ef4(0x108)][_0x581ef4(0xf6)](),_0x1ba299=_0x20c90c[_0x581ef4(0x141)](_0x101c32[_0x581ef4(0x10d)]),_0x231b7b=_0x20c90c[_0x1ba299+0x1];if(_0x231b7b){for(let _0x5e05d1=0x0;_0x5e05d1<_0x5c61a3[_0x581ef4(0x13a)];_0x5e05d1++)if(_0x5c61a3[_0x5e05d1][_0x581ef4(0x123)][_0x581ef4(0x125)][_0x581ef4(0x10d)]===_0x231b7b)return _0x5e05d1;}return _0x5c61a3[_0x581ef4(0x13a)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0xa31829,MenuBarMenuListItemButtonView as _0xc8a26b}from'ckeditor5/src/ui.js';import{Plugin as _0x26f14d}from'ckeditor5/src/core.js';import{IconFootnote as _0x175af0}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x26f14d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28c650}=this,{componentFactory:_0x3f0f47}=_0x28c650['ui'];_0x3f0f47['add']('insertFootnote',E(_0x28c650,_0xa31829)),_0x3f0f47['add']('menuBar:insertFootnote',E(_0x28c650,_0xc8a26b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x991555=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x430625;for(const _0x5c4e70 in _0x991555){const _0x3864f9=_0x5c4e70,_0x5872df=_0x991555[_0x3864f9];if('footnotesLicenseKeyValid'==_0x5872df||'footnotesLicenseKeyInvalid'==_0x5872df||'footnotesLicenseKeyExpired'==_0x5872df||'footnotesLicenseKeyDomainLimit'==_0x5872df||'footnotesLicenseKeyNotAllowed'==_0x5872df||'footnotesLicenseKeyEvaluationLimit'==_0x5872df||'footnotesLicenseKeyUsageLimit'==_0x5872df){delete _0x991555[_0x3864f9],_0x430625=_0x5872df,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x430625&&_0x991555['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x430625&&_0x991555['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x430625&&_0x991555['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x430625&&_0x991555['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x430625&&_0x991555['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x430625&&_0x991555['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x8a8c37,_0x1057a0){const _0x6d4a6=_0x8a8c37['commands']['get']('insertFootnote');return _0x2903cb=>{const {t:t}=_0x2903cb,_0x15183f=new _0x1057a0(_0x2903cb),_0xb0a2d0=_0x15183f instanceof _0xc8a26b;return _0x15183f['bind']('isEnabled')['to'](_0x6d4a6,'isEnabled'),_0x15183f['set']({'label':t(_0xb0a2d0?'Footnote':'Insert\x20footnote'),'icon':_0x175af0,'tooltip':!0x0}),_0x15183f['on']('execute',()=>{_0x6d4a6['execute'](),_0x8a8c37['editing']['view']['focus']();}),_0x15183f;};}
23
+ import{ButtonView as _0x271200,MenuBarMenuListItemButtonView as _0x2f4f7d}from'ckeditor5/src/ui.js';import{Plugin as _0x40daf2}from'ckeditor5/src/core.js';import{IconFootnote as _0x22cd93}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x40daf2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d2f88}=this,{componentFactory:_0x4dc355}=_0x5d2f88['ui'];_0x4dc355['add']('insertFootnote',E(_0x5d2f88,_0x271200)),_0x4dc355['add']('menuBar:insertFootnote',E(_0x5d2f88,_0x2f4f7d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34d682=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c836d;for(const _0x97f605 in _0x34d682){const _0x282b15=_0x97f605,_0x23cad8=_0x34d682[_0x282b15];if('footnotesLicenseKeyValid'==_0x23cad8||'footnotesLicenseKeyInvalid'==_0x23cad8||'footnotesLicenseKeyExpired'==_0x23cad8||'footnotesLicenseKeyDomainLimit'==_0x23cad8||'footnotesLicenseKeyNotAllowed'==_0x23cad8||'footnotesLicenseKeyEvaluationLimit'==_0x23cad8||'footnotesLicenseKeyUsageLimit'==_0x23cad8){delete _0x34d682[_0x282b15],_0x4c836d=_0x23cad8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4c836d&&_0x34d682['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4c836d&&_0x34d682['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4c836d&&_0x34d682['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4c836d&&_0x34d682['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4c836d&&_0x34d682['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4c836d&&_0x34d682['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0xd99c15,_0x550b83){const _0x1b8ae1=_0xd99c15['commands']['get']('insertFootnote');return _0x288854=>{const {t:t}=_0x288854,_0x58f426=new _0x550b83(_0x288854),_0x2f8bd2=_0x58f426 instanceof _0x2f4f7d;return _0x58f426['bind']('isEnabled')['to'](_0x1b8ae1,'isEnabled'),_0x58f426['set']({'label':t(_0x2f8bd2?'Footnote':'Insert\x20footnote'),'icon':_0x22cd93,'tooltip':!0x0}),_0x58f426['on']('execute',()=>{_0x1b8ae1['execute'](),_0xd99c15['editing']['view']['focus']();}),_0x58f426;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5ad460,_0xbdeaf5){var _0xcd95f0=_0x18b6,_0x2a55c7=_0x5ad460();while(!![]){try{var _0x26d239=-parseInt(_0xcd95f0(0x120))/0x1+-parseInt(_0xcd95f0(0x11d))/0x2+-parseInt(_0xcd95f0(0x122))/0x3+parseInt(_0xcd95f0(0x11e))/0x4+parseInt(_0xcd95f0(0x11b))/0x5*(parseInt(_0xcd95f0(0x11f))/0x6)+-parseInt(_0xcd95f0(0x121))/0x7+parseInt(_0xcd95f0(0x11c))/0x8;if(_0x26d239===_0xbdeaf5)break;else _0x2a55c7['push'](_0x2a55c7['shift']());}catch(_0x4081be){_0x2a55c7['push'](_0x2a55c7['shift']());}}}(_0x551b,0xcb8d1));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x18b6(_0x387419,_0x5eb8cb){var _0x551b09=_0x551b();return _0x18b6=function(_0x18b6ca,_0x3c317b){_0x18b6ca=_0x18b6ca-0x11b;var _0x369030=_0x551b09[_0x18b6ca];return _0x369030;},_0x18b6(_0x387419,_0x5eb8cb);}function _0x551b(){var _0x33bf2b=['2660818wIWAvJ','3772680OAOCtC','7642050JHXjbj','661470VDfNmC','6025369zEwkxf','1959459MlIWms','5iWwruJ','16981592GbkbxM'];_0x551b=function(){return _0x33bf2b;};return _0x551b();}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(_0x19bf4f,_0x505799){var _0x140d9f=_0x511c,_0x73174=_0x19bf4f();while(!![]){try{var _0x23c401=parseInt(_0x140d9f(0x132))/0x1*(parseInt(_0x140d9f(0x12e))/0x2)+-parseInt(_0x140d9f(0x12f))/0x3*(-parseInt(_0x140d9f(0x133))/0x4)+-parseInt(_0x140d9f(0x137))/0x5+-parseInt(_0x140d9f(0x131))/0x6*(-parseInt(_0x140d9f(0x130))/0x7)+parseInt(_0x140d9f(0x138))/0x8+-parseInt(_0x140d9f(0x135))/0x9+parseInt(_0x140d9f(0x134))/0xa*(-parseInt(_0x140d9f(0x136))/0xb);if(_0x23c401===_0x505799)break;else _0x73174['push'](_0x73174['shift']());}catch(_0x49d2c){_0x73174['push'](_0x73174['shift']());}}}(_0x9dea,0xbb90c));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';function _0x511c(_0x48e91f,_0x5bc1b4){var _0x9dea15=_0x9dea();return _0x511c=function(_0x511c3e,_0x2440a3){_0x511c3e=_0x511c3e-0x12e;var _0x72b055=_0x9dea15[_0x511c3e];return _0x72b055;},_0x511c(_0x48e91f,_0x5bc1b4);}function _0x9dea(){var _0x54f7b5=['569229qajeSJ','1578353MDLaJe','36wFtYUM','669379IMNqyp','32viAwJl','20xNBOew','7701318CIQTDK','11754193MZJcom','2149560aSAckS','5206488sPlzrL','2eaIDxy'];_0x9dea=function(){return _0x54f7b5;};return _0x9dea();}export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x590bca=_0xb6ff;function _0x36eb(){const _0x566667=['_elementName','remove','39080HaFpXi','getItems','_trackedElements','_model','from','position','clear','slice','get','11580620ahtHKL','getChanges','set','add','name','rootName','402561URWJSK','$graveyard','root','54FIyvtP','1401224vgVUvC','flat','95132BnQGkt','length','push','2139809FfeTbk','nodeAfter','has','delete','_getElementKey','reset','elementName','insert','element','createRangeOn','7VuLqVA','values','type','$text','252YHmjVf','getElementKey','attributes','93634NiyfQp'];_0x36eb=function(){return _0x566667;};return _0x36eb();}(function(_0x48f6cd,_0x3a8c8c){const _0x2f6435=_0xb6ff,_0x3c241d=_0x48f6cd();while(!![]){try{const _0x27c04e=parseInt(_0x2f6435(0x161))/0x1*(parseInt(_0x2f6435(0x13c))/0x2)+parseInt(_0x2f6435(0x151))/0x3*(-parseInt(_0x2f6435(0x154))/0x4)+-parseInt(_0x2f6435(0x13f))/0x5*(parseInt(_0x2f6435(0x139))/0x6)+-parseInt(_0x2f6435(0x157))/0x7+-parseInt(_0x2f6435(0x152))/0x8+parseInt(_0x2f6435(0x14e))/0x9+parseInt(_0x2f6435(0x148))/0xa;if(_0x27c04e===_0x3a8c8c)break;else _0x3c241d['push'](_0x3c241d['shift']());}catch(_0x15f7fd){_0x3c241d['push'](_0x3c241d['shift']());}}}(_0x36eb,0x479b8));function _0xb6ff(_0x3cd5ea,_0x395e0d){const _0x36ebd6=_0x36eb();return _0xb6ff=function(_0xb6fff1,_0x4e6de9){_0xb6fff1=_0xb6fff1-0x138;let _0x4be2c9=_0x36ebd6[_0xb6fff1];return _0x4be2c9;},_0xb6ff(_0x3cd5ea,_0x395e0d);}export class ModelElementTracker{[_0x590bca(0x142)];[_0x590bca(0x13d)];[_0x590bca(0x15b)];[_0x590bca(0x141)]=new Map();constructor(_0x3e45a6,_0x3a8a88){const _0x5eedd7=_0x590bca;this[_0x5eedd7(0x142)]=_0x3e45a6,this[_0x5eedd7(0x13d)]=_0x3a8a88[_0x5eedd7(0x15d)],this[_0x5eedd7(0x15b)]=_0x3a8a88[_0x5eedd7(0x13a)];}[_0x590bca(0x15c)](){const _0x4bc273=_0x590bca;this[_0x4bc273(0x141)][_0x4bc273(0x145)]();}[_0x590bca(0x149)](_0x1fded6){const _0x526888=_0x590bca,_0x418504=new Set(),_0x355c23=new Map();for(const _0xef5800 of _0x1fded6){if(_0x526888(0x15e)===_0xef5800[_0x526888(0x163)]&&_0x526888(0x138)!==_0xef5800[_0x526888(0x14c)]&&_0xef5800[_0x526888(0x144)][_0x526888(0x158)]){const _0x58a2bc=this[_0x526888(0x142)][_0x526888(0x160)](_0xef5800[_0x526888(0x144)][_0x526888(0x158)]);for(const _0x8e1a7e of _0x58a2bc[_0x526888(0x140)]()){if(!_0x8e1a7e['is'](_0x526888(0x15f),this[_0x526888(0x13d)]))continue;const _0x3c272e=this[_0x526888(0x15b)](_0x8e1a7e);_0x355c23[_0x526888(0x159)](_0x3c272e)||_0x355c23[_0x526888(0x14a)](_0x3c272e,[]),_0x355c23[_0x526888(0x147)](_0x3c272e)[_0x526888(0x156)](_0x8e1a7e);}}if(_0x526888(0x13e)===_0xef5800[_0x526888(0x163)]&&_0xef5800[_0x526888(0x14c)]===this[_0x526888(0x13d)]){const _0x25b07f=this[_0x526888(0x15b)]({'getAttribute':_0x2a05e0=>_0xef5800[_0x526888(0x13b)][_0x526888(0x147)](_0x2a05e0)});_0x418504[_0x526888(0x14b)](_0x25b07f);}}for(const [_0x40a5da,_0x5480a6]of this[_0x526888(0x141)])_0x526888(0x14f)===_0x5480a6[_0x526888(0x150)][_0x526888(0x14d)]&&_0x418504[_0x526888(0x14b)](_0x40a5da);for(const _0x506bce of _0x418504)this[_0x526888(0x141)][_0x526888(0x15a)](_0x506bce);for(const [_0x195a34,_0x389c06]of _0x355c23)this[_0x526888(0x141)][_0x526888(0x14a)](_0x195a34,_0x389c06[_0x389c06[_0x526888(0x155)]-0x1]);const _0x57e36f=new Set();for(const [_0x5c4c2f,_0x2e4096]of _0x355c23)_0x418504[_0x526888(0x159)](_0x5c4c2f)&&(_0x57e36f[_0x526888(0x14b)](_0x2e4096[0x0]),_0x2e4096[_0x526888(0x155)]>0x1?_0x355c23[_0x526888(0x14a)](_0x5c4c2f,_0x2e4096[_0x526888(0x146)](0x1)):_0x355c23[_0x526888(0x15a)](_0x5c4c2f),_0x418504[_0x526888(0x15a)](_0x5c4c2f));return{'removed':Array[_0x526888(0x143)](_0x418504),'inserted':Array[_0x526888(0x143)](_0x355c23[_0x526888(0x162)]())[_0x526888(0x153)](),'moved':Array[_0x526888(0x143)](_0x57e36f)};}}
23
+ function _0x5c48(){const _0x1d33fc=['_trackedElements','delete','reset','has','element','26657026eNaoSY','$text','insert','add','length','getElementKey','root','70LRZwev','1075398GZdzYj','4987890uSYxfO','attributes','_elementName','$graveyard','10JlLpwZ','rootName','type','42fAGDuN','flat','clear','3300600VMQBMH','get','slice','remove','name','set','10LhCuJy','createRangeOn','elementName','getChanges','nodeAfter','getItems','from','values','position','push','840342oAetQt','674607crZWwJ','174132IjIYoA','_getElementKey','_model'];_0x5c48=function(){return _0x1d33fc;};return _0x5c48();}function _0x1725(_0x55fa9c,_0x3e9cb2){const _0x5c4852=_0x5c48();return _0x1725=function(_0x17254c,_0x45f3b1){_0x17254c=_0x17254c-0xbe;let _0x5be842=_0x5c4852[_0x17254c];return _0x5be842;},_0x1725(_0x55fa9c,_0x3e9cb2);}const _0x124b15=_0x1725;(function(_0x1c065a,_0x21ab4c){const _0x199924=_0x1725,_0x2302f7=_0x1c065a();while(!![]){try{const _0x3bfdd5=parseInt(_0x199924(0xcf))/0x1+parseInt(_0x199924(0xe0))/0x2*(parseInt(_0x199924(0xbe))/0x3)+parseInt(_0x199924(0xbf))/0x4*(-parseInt(_0x199924(0xce))/0x5)+-parseInt(_0x199924(0xea))/0x6*(-parseInt(_0x199924(0xd7))/0x7)+parseInt(_0x199924(0xda))/0x8+parseInt(_0x199924(0xd0))/0x9+parseInt(_0x199924(0xd4))/0xa*(-parseInt(_0x199924(0xc7))/0xb);if(_0x3bfdd5===_0x21ab4c)break;else _0x2302f7['push'](_0x2302f7['shift']());}catch(_0x324478){_0x2302f7['push'](_0x2302f7['shift']());}}}(_0x5c48,0xedcda));export class ModelElementTracker{[_0x124b15(0xc1)];[_0x124b15(0xd2)];[_0x124b15(0xc0)];[_0x124b15(0xc2)]=new Map();constructor(_0x26c5b3,_0x4b920a){const _0x9bde91=_0x124b15;this[_0x9bde91(0xc1)]=_0x26c5b3,this[_0x9bde91(0xd2)]=_0x4b920a[_0x9bde91(0xe2)],this[_0x9bde91(0xc0)]=_0x4b920a[_0x9bde91(0xcc)];}[_0x124b15(0xc4)](){const _0x59651c=_0x124b15;this[_0x59651c(0xc2)][_0x59651c(0xd9)]();}[_0x124b15(0xe3)](_0x282378){const _0x5cb0ae=_0x124b15,_0x51f0ee=new Set(),_0xbc16a7=new Map();for(const _0x464fa2 of _0x282378){if(_0x5cb0ae(0xc9)===_0x464fa2[_0x5cb0ae(0xd6)]&&_0x5cb0ae(0xc8)!==_0x464fa2[_0x5cb0ae(0xde)]&&_0x464fa2[_0x5cb0ae(0xe8)][_0x5cb0ae(0xe4)]){const _0x377a53=this[_0x5cb0ae(0xc1)][_0x5cb0ae(0xe1)](_0x464fa2[_0x5cb0ae(0xe8)][_0x5cb0ae(0xe4)]);for(const _0x497346 of _0x377a53[_0x5cb0ae(0xe5)]()){if(!_0x497346['is'](_0x5cb0ae(0xc6),this[_0x5cb0ae(0xd2)]))continue;const _0x121d23=this[_0x5cb0ae(0xc0)](_0x497346);_0xbc16a7[_0x5cb0ae(0xc5)](_0x121d23)||_0xbc16a7[_0x5cb0ae(0xdf)](_0x121d23,[]),_0xbc16a7[_0x5cb0ae(0xdb)](_0x121d23)[_0x5cb0ae(0xe9)](_0x497346);}}if(_0x5cb0ae(0xdd)===_0x464fa2[_0x5cb0ae(0xd6)]&&_0x464fa2[_0x5cb0ae(0xde)]===this[_0x5cb0ae(0xd2)]){const _0x440721=this[_0x5cb0ae(0xc0)]({'getAttribute':_0x317de6=>_0x464fa2[_0x5cb0ae(0xd1)][_0x5cb0ae(0xdb)](_0x317de6)});_0x51f0ee[_0x5cb0ae(0xca)](_0x440721);}}for(const [_0x1c09ab,_0x3b5368]of this[_0x5cb0ae(0xc2)])_0x5cb0ae(0xd3)===_0x3b5368[_0x5cb0ae(0xcd)][_0x5cb0ae(0xd5)]&&_0x51f0ee[_0x5cb0ae(0xca)](_0x1c09ab);for(const _0x432ded of _0x51f0ee)this[_0x5cb0ae(0xc2)][_0x5cb0ae(0xc3)](_0x432ded);for(const [_0x108739,_0x242e3a]of _0xbc16a7)this[_0x5cb0ae(0xc2)][_0x5cb0ae(0xdf)](_0x108739,_0x242e3a[_0x242e3a[_0x5cb0ae(0xcb)]-0x1]);const _0x164fbe=new Set();for(const [_0x415127,_0x2f6fc6]of _0xbc16a7)_0x51f0ee[_0x5cb0ae(0xc5)](_0x415127)&&(_0x164fbe[_0x5cb0ae(0xca)](_0x2f6fc6[0x0]),_0x2f6fc6[_0x5cb0ae(0xcb)]>0x1?_0xbc16a7[_0x5cb0ae(0xdf)](_0x415127,_0x2f6fc6[_0x5cb0ae(0xdc)](0x1)):_0xbc16a7[_0x5cb0ae(0xc3)](_0x415127),_0x51f0ee[_0x5cb0ae(0xc3)](_0x415127));return{'removed':Array[_0x5cb0ae(0xe6)](_0x51f0ee),'inserted':Array[_0x5cb0ae(0xe6)](_0xbc16a7[_0x5cb0ae(0xe7)]())[_0x5cb0ae(0xd8)](),'moved':Array[_0x5cb0ae(0xe6)](_0x164fbe)};}}