@ckeditor/ckeditor5-footnotes 0.0.0-internal-20251211.0 → 0.0.0-internal-20251218.0

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 _0x56b445}from'ckeditor5/src/core.js';import{isWidget as _0x1acc78,toWidget as _0x4d81a6,toWidgetEditable as _0x12132e}from'ckeditor5/src/widget.js';import{uid as _0x2bd01e}from'ckeditor5/src/utils.js';import{PointerObserver as _0x188314,ClickObserver as _0x59189a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2bf0de}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5aa0b6}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x56b445{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2bf0de];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17c7c1}=this;_0x17c7c1['config']['define']('footnotes.multiBlock',!0x0),_0x17c7c1['commands']['add']('insertFootnote',new _0x5aa0b6(_0x17c7c1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4bbc78){const _0x25beb7=_0x2ee28c([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]),_0x330662=0x47a28506,_0x570bc6=0x47a5fe9e^_0x330662,_0xb29d94=window[_0x2ee28c([0x44,0x61,0x74,0x65])][_0x2ee28c([0x6e,0x6f,0x77])](),_0x38df7e=_0x4bbc78[_0x2ee28c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21dced=new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x974486=>{_0x38df7e[_0x2ee28c([0x6f,0x6e,0x63,0x65])](_0x2ee28c([0x72,0x65,0x61,0x64,0x79]),_0x974486);}),_0xdf5416={[_0x2ee28c([0x6b,0x74,0x79])]:_0x2ee28c([0x45,0x43]),[_0x2ee28c([0x75,0x73,0x65])]:_0x2ee28c([0x73,0x69,0x67]),[_0x2ee28c([0x63,0x72,0x76])]:_0x2ee28c([0x50,0x2d,0x32,0x35,0x36]),[_0x2ee28c([0x78])]:_0x2ee28c([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]),[_0x2ee28c([0x79])]:_0x2ee28c([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]),[_0x2ee28c([0x61,0x6c,0x67])]:_0x2ee28c([0x45,0x53,0x32,0x35,0x36])},_0x17852a=_0x38df7e[_0x2ee28c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ee28c([0x67,0x65,0x74])](_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4620e4(){let _0x45372b,_0x1612ce=null,_0xd9c217=null;try{if(_0x17852a==_0x2ee28c([0x47,0x50,0x4c]))return _0x2ee28c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45372b=_0x42eb1f(),!_0x45372b)return _0x2ee28c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45372b[_0x2ee28c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd9c217=_0x5061c5(_0x45372b[_0x2ee28c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45372b[_0x2ee28c([0x6a,0x74,0x69])])),await _0x5b1b4d()?_0x51b1b4()?_0x4dc992()?_0x2ee28c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30d411()?(_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ee28c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1612ce=_0x129348(_0x2ee28c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ee28c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1612ce=_0x129348(_0x2ee28c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5deb76()):_0x2ee28c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ee28c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ee28c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ee28c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4dc992(){const _0x2b627d=[_0x2ee28c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ee28c([0x74,0x72,0x69,0x61,0x6c])][_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb29d94/0x3e8:0xe10*_0x570bc6;return _0x45372b[_0x2ee28c([0x65,0x78,0x70])]<_0x2b627d;}function _0x51b1b4(){const _0x5a9539=_0x45372b[_0x2ee28c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a9539&&(!!_0x5a9539[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ee28c([0x2a]))||!!_0x5a9539[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ee28c([0x46,0x4f,0x4f])));}function _0x30d411(){const _0x4db342=_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4db342||0x0==_0x4db342[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cb3fc}=new URL(window[_0x2ee28c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4db342[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cb3fc))return!0x0;const _0x412344=_0x4cb3fc[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e]));return _0x4db342[_0x2ee28c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19fa09=>_0x19fa09[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ee28c([0x2a])))[_0x2ee28c([0x6d,0x61,0x70])](_0xf97542=>_0xf97542[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e])))[_0x2ee28c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17d8ec=>_0x17d8ec[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x412344[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ee28c([0x6d,0x61,0x70])](_0x2185c3=>Array(_0x412344[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2185c3[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ee28c([0x66,0x69,0x6c,0x6c])](_0x2185c3[0x0]===_0x2ee28c([0x2a])?_0x2ee28c([0x2a]):'')[_0x2ee28c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2185c3))[_0x2ee28c([0x73,0x6f,0x6d,0x65])](_0x10724d=>_0x412344[_0x2ee28c([0x65,0x76,0x65,0x72,0x79])]((_0x3f4409,_0xcc017d)=>_0x10724d[_0xcc017d]===_0x3f4409||_0x10724d[_0xcc017d]===_0x2ee28c([0x2a])));}function _0x5deb76(){return _0x1612ce&&_0xd9c217?new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf33650,_0xd600a9)=>{_0x1612ce[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0xf33650,_0xd600a9),_0xd9c217[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x55ccb3=>{_0x55ccb3!=_0x2ee28c([0x56,0x61,0x6c,0x69,0x64])&&_0xf33650(_0x55ccb3);},_0xd600a9);}):_0x1612ce||_0xd9c217||_0x2ee28c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5061c5(_0x472c39,_0x51c6eb){return new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd822ea=>{if(_0x24ecc0())return _0xd822ea(_0x2ee28c([0x56,0x61,0x6c,0x69,0x64]));_0x2b77d1(),_0x38df7e[_0x2ee28c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ee28c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x67ffe=!0x1;const _0x2632bd=_0x2bd01e();function _0x4ba2d0(_0x3cc0f9){return!!_0x3cc0f9&&(typeof _0x3cc0f9===_0x2ee28c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cc0f9===_0x2ee28c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cc0f9[_0x2ee28c([0x74,0x68,0x65,0x6e])]===_0x2ee28c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cc0f9[_0x2ee28c([0x63,0x61,0x74,0x63,0x68])]===_0x2ee28c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ea53c(_0x52e4d9){_0x4693f6(_0x52e4d9)[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x5ecf3c=>{if(!_0x5ecf3c||_0x5ecf3c[_0x2ee28c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ee28c([0x6f,0x6b]))return _0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104cb5(_0x1b2fef(_0x2632bd+_0x51c6eb))!=_0x5ecf3c[_0x2ee28c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ee28c([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x5cda78=>(_0x57c662(),_0x5cda78),()=>{const _0x1a9ecb=_0x1558b8();return null==_0x1a9ecb?(_0x57c662(),_0x2ee28c([0x56,0x61,0x6c,0x69,0x64])):_0x2ee28c(_0xb29d94-_0x1a9ecb>(0x63ae0106^_0x330662)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0xd822ea)[_0x2ee28c([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd822ea(_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x350c4e=0x47946b86^_0x330662;function _0x57c662(){const _0x4e868f=_0x2ee28c([0x6c,0x6c,0x63,0x74,0x2d])+_0x104cb5(_0x1b2fef(_0x472c39)),_0x5dc6b3=_0x4d92ce(_0x104cb5(window[_0x2ee28c([0x4d,0x61,0x74,0x68])][_0x2ee28c([0x63,0x65,0x69,0x6c])](_0xb29d94/_0x350c4e)));window[_0x2ee28c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ee28c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e868f,_0x5dc6b3);}function _0x1558b8(){const _0x4289a7=_0x2ee28c([0x6c,0x6c,0x63,0x74,0x2d])+_0x104cb5(_0x1b2fef(_0x472c39)),_0x4ff7c8=window[_0x2ee28c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ee28c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4289a7);return _0x4ff7c8?window[_0x2ee28c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d92ce(_0x4ff7c8),0x10)*_0x350c4e:null;}function _0x4693f6(_0x5ff7bc){return new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d31a5,_0x3b2ad7)=>{_0x5ff7bc[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x3d31a5,_0x3b2ad7),window[_0x2ee28c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b2ad7,0x47a351c6^_0x330662);});}}_0x38df7e[_0x2ee28c([0x6f,0x6e])](_0x2ee28c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a7977,_0xdb724a)=>{if(_0xdb724a[0x0]!=_0x472c39)return _0xd822ea(_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdb724a[0x1]={..._0xdb724a[0x1],[_0x2ee28c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2632bd};},{[_0x2ee28c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ee28c([0x68,0x69,0x67,0x68])}),_0x38df7e[_0x2ee28c([0x6f,0x6e])](_0x2ee28c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d8b9d=>{_0x4ba2d0(_0x2d8b9d[_0x2ee28c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x67ffe=!0x0,_0x5ea53c(_0x2d8b9d[_0x2ee28c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ee28c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ee28c([0x6c,0x6f,0x77])}),_0x21dced[_0x2ee28c([0x74,0x68,0x65,0x6e])](()=>{_0x67ffe||_0xd822ea(_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24ecc0(){return _0x38df7e[_0x2ee28c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ee28c([0x76,0x69,0x65,0x77])][_0x2ee28c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ee28c([0x61,0x75,0x74,0x6f]);}function _0x2b77d1(){_0x38df7e[_0x2ee28c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ee28c([0x76,0x69,0x65,0x77])][_0x2ee28c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ee28c([0x61,0x75,0x74,0x6f]);}}function _0x129348(_0x5215da){const _0x3bc416=[new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2b9b=>setTimeout(_0x5a2b9b,0x47abbbca^_0x330662)),_0x21dced[_0x2ee28c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a6ca6=>{let _0x517cef=0x0;_0x38df7e[_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ee28c([0x6f,0x6e])](_0x2ee28c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b31f6,_0x300708)=>{_0x300708[0x0][_0x2ee28c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x517cef++,_0x517cef==(0x47a284fe^_0x330662)&&(_0x1a6ca6(),_0x1b31f6[_0x2ee28c([0x6f,0x66,0x66])]());});}))];return window[_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ee28c([0x72,0x61,0x63,0x65])](_0x3bc416)[_0x2ee28c([0x74,0x68,0x65,0x6e])](()=>_0x5215da);}async function _0x2e94a2(){await _0x21dced,_0x38df7e[_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ee28c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x593e02,_0x38df7e[_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ee28c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x593e02,_0x38df7e[_0x2ee28c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4846ac(_0x22d40c){const _0x4299d6=_0x5a2d3b();_0x38df7e[_0x4299d6]=_0x2ee28c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22d40c,_0x22d40c!=_0x2ee28c([0x56,0x61,0x6c,0x69,0x64])&&_0x2e94a2();}function _0x5a2d3b(){const _0x5c73a0=window[_0x2ee28c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ee28c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ee28c([0x6e,0x6f,0x77])]())[_0x2ee28c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ee28c([0x2e]),'');let _0x29c481=_0x2ee28c([0x75]);for(let _0x19a433=0x0;_0x19a433<_0x5c73a0[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19a433+=0x2){let _0x8ed490=window[_0x2ee28c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c73a0[_0x2ee28c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19a433,_0x19a433+0x2));_0x8ed490>=_0x25beb7[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8ed490-=_0x25beb7[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29c481+=_0x25beb7[_0x8ed490];}return _0x29c481;}function _0x42eb1f(){const _0x42a0a9=_0x17852a[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e]));if(0x3!=_0x42a0a9[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c3120(_0x42a0a9[0x1]);function _0x5c3120(_0x20f6f0){const _0x2c0be3=_0x1e987f(_0x20f6f0);return _0x2c0be3&&_0x2305c4()?_0x2c0be3:null;function _0x2305c4(){const _0x33ab36=_0x2c0be3[_0x2ee28c([0x6a,0x74,0x69])],_0x23805d=window[_0x2ee28c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33ab36[_0x2ee28c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33ab36[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11123a={..._0x2c0be3,[_0x2ee28c([0x6a,0x74,0x69])]:_0x33ab36[_0x2ee28c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33ab36[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11123a[_0x2ee28c([0x76,0x63])],_0x1b2fef(_0x11123a)==_0x23805d;}}}async function _0x5b1b4d(){let _0x319184=!0x0;try{const _0x36d495=_0x17852a[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e])),[_0x58f939,_0xecb210,_0x5c4509]=_0x36d495;return _0xb5fa1f(_0x58f939),await _0x2ee3c9(_0x58f939,_0xecb210,_0x5c4509),_0x319184;}catch{return!0x1;}function _0xb5fa1f(_0xe86c61){const _0xe8906c=_0x1e987f(_0xe86c61);_0xe8906c&&_0xe8906c[_0x2ee28c([0x61,0x6c,0x67])]==_0x2ee28c([0x45,0x53,0x32,0x35,0x36])||(_0x319184=!0x1);}async function _0x2ee3c9(_0x27b4ff,_0x38a6d7,_0x508949){const _0x3367bd=window[_0x2ee28c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ee28c([0x66,0x72,0x6f,0x6d])](_0x128bae(_0x508949),_0xd703f7=>_0xd703f7[_0x2ee28c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa20516=new window[(_0x2ee28c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ee28c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27b4ff+_0x2ee28c([0x2e])+_0x38a6d7),_0xb52f71=window[_0x2ee28c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ee28c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb52f71)return;const _0x6a6c5c=await _0xb52f71[_0x2ee28c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ee28c([0x6a,0x77,0x6b]),_0xdf5416,{[_0x2ee28c([0x6e,0x61,0x6d,0x65])]:_0x2ee28c([0x45,0x43,0x44,0x53,0x41]),[_0x2ee28c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ee28c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ee28c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb52f71[_0x2ee28c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ee28c([0x6e,0x61,0x6d,0x65])]:_0x2ee28c([0x45,0x43,0x44,0x53,0x41]),[_0x2ee28c([0x68,0x61,0x73,0x68])]:{[_0x2ee28c([0x6e,0x61,0x6d,0x65])]:_0x2ee28c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6a6c5c,_0x3367bd,_0xa20516)||(_0x319184=!0x1);}}function _0x1e987f(_0x4f92f3){return _0x4f92f3[_0x2ee28c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ee28c([0x65,0x79]))?JSON[_0x2ee28c([0x70,0x61,0x72,0x73,0x65])](_0x128bae(_0x4f92f3)):null;}function _0x128bae(_0xfba9d8){return window[_0x2ee28c([0x61,0x74,0x6f,0x62])](_0xfba9d8[_0x2ee28c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ee28c([0x2b]))[_0x2ee28c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ee28c([0x2f])));}function _0x1b2fef(_0x4f0460){let _0x4b88e7=0x1505;function _0x351baa(_0x1547b6){for(let _0x30ef02=0x0;_0x30ef02<_0x1547b6[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ef02++){const _0x263b04=_0x1547b6[_0x2ee28c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30ef02);_0x4b88e7=(_0x4b88e7<<0x5)+_0x4b88e7+_0x263b04,_0x4b88e7&=_0x4b88e7;}}function _0x405495(_0x16fb0a){Array[_0x2ee28c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16fb0a)?_0x16fb0a[_0x2ee28c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x405495):_0x16fb0a&&typeof _0x16fb0a==_0x2ee28c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ee28c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16fb0a)[_0x2ee28c([0x73,0x6f,0x72,0x74])]()[_0x2ee28c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb08655,_0x11ff8e])=>{_0x351baa(_0xb08655),_0x405495(_0x11ff8e);}):_0x351baa(window[_0x2ee28c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16fb0a));}return _0x405495(_0x4f0460),_0x4b88e7>>>0x0;}function _0x104cb5(_0x4e008a){return _0x4e008a[_0x2ee28c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ee28c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ee28c([0x30]));}function _0x4d92ce(_0x11099e){return _0x11099e[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ee28c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ee28c([0x6a,0x6f,0x69,0x6e])]('');}function _0x593e02(){}function _0x2ee28c(_0x318e81){return _0x318e81['map'](_0x1e78ae=>String['fromCharCode'](_0x1e78ae))['join']('');}_0x4846ac(await _0x4620e4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x388e76){const {plugins:_0x468042,editing:_0x5ad6b7,model:_0x39b0d8}=this['editor'],_0x1e2ec0=_0x468042['get'](_0x2bf0de)['getFootnote'](_0x388e76);return!!_0x1e2ec0&&(_0x39b0d8['change'](_0xa78e3c=>{_0xa78e3c['setSelection'](_0xa78e3c['createPositionAt'](_0x1e2ec0['definition'],'end'));}),_0x5ad6b7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xd71468){const {plugins:_0x43f85d,editing:_0x4536a8,model:_0x5eb3f2}=this['editor'],_0xdce534=_0x43f85d['get'](_0x2bf0de)['getFootnote'](_0xd71468);return!!_0xdce534&&(_0x5eb3f2['change'](_0x17d55f=>{_0x17d55f['setSelection'](_0xdce534['reference'],'on');}),_0x4536a8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3d1be4}=this['editor']['model'],_0x46e60e=this['editor']['config']['get']('footnotes.multiBlock');_0x3d1be4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3d1be4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3d1be4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x46e60e?_0x3d1be4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3d1be4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3d1be4['addChildCheck'](_0x49e3d9=>{for(const _0x2946cf of _0x49e3d9)if('footnoteDefinition'===_0x2946cf['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x48a695}=this,{conversion:_0x3bda00,editing:_0x4ab8e}=_0x48a695,{t:t}=_0x48a695['locale'];_0x3bda00['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5da4a0,{writer:_0x27806f,consumable:_0x1aca00})=>{const _0x2eca4d=_0x5da4a0['getChild'](0x0);if(!_0x2eca4d||!_0x2eca4d['is']('element','a'))return null;const _0x4bc24c=_0x2eca4d['getAttribute']('href')||'';if(!_0x4bc24c['startsWith']('#'))return null;const _0x507eba=_0x4bc24c['replace'](/^#/,'');if(!_0x507eba)return null;_0x1aca00['consume'](_0x2eca4d,{'name':!0x0,'attributes':['href']});for(const {item:_0x5cfc7d}of _0x4ab8e['view']['createRangeIn'](_0x2eca4d))_0x5cfc7d['is']('$textProxy')?_0x1aca00['consume'](_0x5cfc7d['textNode'],{'name':!0x0}):_0x5cfc7d['is']('element')&&_0x1aca00['consume'](_0x5cfc7d,{'name':!0x0});return _0x27806f['createElement']('footnoteRef',{'footnoteId':_0x507eba});}}),_0x3bda00['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5a7937,{writer:_0x128b41})=>D(_0x5a7937,_0x128b41)}),_0x3bda00['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x22e613,{writer:_0x54e8f0})=>{const _0x215715=_0x22e613['getAttribute']('footnoteCounter');return _0x4d81a6(D(_0x22e613,_0x54e8f0),_0x54e8f0,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x215715)});}});}['_defineDefinitionsConverters'](){const {editor:_0x20e5c7}=this,{t:t}=_0x20e5c7['locale'],{conversion:_0x102c1d}=_0x20e5c7;_0x102c1d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x102c1d['for']('upcast')['add'](_0x596c32=>{_0x596c32['on']('element:ol',(_0x271e99,_0x4e971a,_0x2a6f13)=>{const _0x5a640d=_0x4e971a['viewItem'];if(!_0x5a640d['hasClass']('footnotes-list')||!_0x4e971a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2a6f13['consumable']['consume'](_0x5a640d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x294d74,modelCursor:_0x1f5bfc}=_0x2a6f13['convertChildren'](_0x4e971a['viewItem'],_0x4e971a['modelCursor']);_0x4e971a['modelRange']=_0x294d74,_0x4e971a['modelCursor']=_0x1f5bfc;}),_0x596c32['on']('element:hr',(_0x191362,_0x58d508,_0x44723a)=>{const _0x193fb4=_0x58d508['viewItem'];_0x193fb4['hasClass']('footnotes-divider')&&_0x58d508['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x44723a['consumable']['consume'](_0x193fb4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x102c1d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24d31c,{writer:_0x512900})=>v(_0x512900)}),_0x102c1d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11a571,{writer:_0x409881})=>{const _0x2f2479=v(_0x409881,{'data-footnotes-list-label':t('Footnotes')}),_0x3f695d=_0x4d81a6(_0x2f2479,_0x409881,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x409881['setCustomProperty']('footnotesDefinitions',!0x0,_0x3f695d),_0x3f695d;}});}['_defineDefinitionConverters'](){const {editor:_0x19c68a}=this,{conversion:_0x25a2f0,locale:_0x32123e}=_0x19c68a,_0xf6d4b1=_0x19c68a['config']['get']('footnotes.multiBlock');_0x25a2f0['for']('upcast')['add'](_0x154fc4=>{_0x154fc4['on']('element:li',(_0x587559,_0x385cb0,_0x49a025)=>{const _0x39c48f=_0x385cb0['viewItem'];if(!_0x39c48f['hasClass']('footnote-definition')||!_0x39c48f['getAttribute']('id'))return;const _0x41840f=_0x39c48f['parent'];if(!_0x41840f['is']('element','ol')||!_0x41840f['hasClass']('footnotes-list'))return;if(!_0x49a025['consumable']['test'](_0x39c48f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d9918=_0x49a025['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x39c48f['getAttribute']('id')});if(!_0x49a025['safeInsert'](_0x3d9918,_0x385cb0['modelCursor']))return;_0x49a025['consumable']['consume'](_0x39c48f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x293909=Array['from'](_0x39c48f['getChildren']())['find'](_0x599d42=>_0x599d42['is']('element')&&_0x599d42['hasClass']('footnote-content'));for(const _0x55ef19 of _0x39c48f['getChildren']())_0x55ef19['is']('element')&&(_0x49a025['consumable']['consume'](_0x55ef19,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x49a025['consumable']['consume'](_0x55ef19,{'name':!0x0,'classes':'footnote-content'}));if(_0x293909){if(_0xf6d4b1)_0x49a025['convertChildren'](_0x293909,_0x3d9918);else{const _0x436181=_0x49a025['writer']['createElement']('footnoteInlineContent');_0x49a025['writer']['insert'](_0x436181,_0x3d9918),_0x49a025['convertChildren'](_0x293909,_0x436181);}}_0x49a025['updateConversionResult'](_0x3d9918,_0x385cb0);});}),_0x25a2f0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5c31e9,{writer:_0x4ec620})=>b(_0x5c31e9,_0x4ec620,_0x32123e,{'dataPipeline':!0x0})}),_0x25a2f0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4e537a,{writer:_0x448549})=>b(_0x4e537a,_0x448549,_0x32123e)});}['_defineBogusParagraphConverters'](){const {editor:_0x1bb13b}=this,{conversion:_0x1a7190}=_0x1bb13b;_0x1bb13b['config']['get']('footnotes.multiBlock')?(_0x1a7190['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1a7190['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1bb13b['model']['document'],'change:data',()=>{!function(_0xb9257c,_0x44631c){const _0x44ccaa=_0xb9257c['document']['differ'],_0x4a2156=new Set();for(const _0xa3127c of _0x44ccaa['getChanges']()){const _0x1aafe9='attribute'==_0xa3127c['type']?_0xa3127c['range']['start']['parent']:_0xa3127c['position']['parent'];_0x1aafe9['is']('element','footnoteDefinition')&&_0x4a2156['add'](_0x1aafe9);}for(const _0x5a1aa4 of _0x4a2156['values']()){const _0x537628=Array['from'](_0x5a1aa4['getChildren']())['filter'](_0x52c312=>g(_0x52c312,_0x44631c['mapper']));for(const _0x34e6c1 of _0x537628)_0x44631c['reconvertItem'](_0x34e6c1);}}(_0x1bb13b['model'],_0x1bb13b['editing']);})):(_0x1a7190['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1a7190['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4fdcf3,{writer:_0x4f93bf})=>{const _0x5297e6=_0x4f93bf['createContainerElement']('span');return _0x4f93bf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5297e6),_0x5297e6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1afe50}=this,{editing:_0x46fb03,t:t}=_0x1afe50,_0x46bec7=_0x1afe50['model']['document']['selection'];_0x1afe50['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1afe50['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x46fb03['view']['document'],'enter',(_0x9ea9ae,_0x183dea)=>{const _0xc91e7b=function(_0x50b435){const _0x51064d=_0x50b435['getSelectedElement']();if(_0x51064d?.['is']('element','footnoteRef'))return _0x51064d;return null;}(_0x46bec7);if(_0xc91e7b){const _0x3e2f73=_0xc91e7b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3e2f73),_0x183dea['preventDefault'](),_0x9ea9ae['stop']();}},{'context':_0x1acc78});}['_defineClickHandlers'](){const {editor:_0x4a6833}=this,{editing:_0x36b488}=_0x4a6833;_0x4a6833['editing']['view']['addObserver'](_0x188314),_0x4a6833['editing']['view']['addObserver'](_0x59189a);let _0x5c9015=!0x1;this['listenTo'](_0x36b488['view']['document'],'pointerdown',(_0x115ef7,_0x404768)=>{const {target:_0x178723}=_0x404768,_0x3c12a6=_0x36b488['view']['document']['selection'];_0x5c9015=!!(_0x178723?.['is']('element','a')&&_0x178723['parent']?.['is']('element','sup')&&_0x178723['parent']['hasClass']('footnote'))&&_0x3c12a6['getSelectedElement']()===_0x178723['parent'];},{'priority':'high'}),this['listenTo'](_0x36b488['view']['document'],'click',(_0x586b8a,_0x3ebd96)=>{const {target:_0x4fa17e}=_0x3ebd96;if(!_0x4fa17e?.['is']('element','a'))return;if(_0x4fa17e['parent']?.['is']('element','sup')&&_0x4fa17e['parent']['hasClass']('footnote')&&!_0x5c9015)return void _0x3ebd96['preventDefault']();let _0x559bff=_0x4fa17e['getAttribute']('href');if(!_0x559bff?.['startsWith']('#'))return;_0x559bff=_0x559bff['slice'](0x1);let _0xbb4509=!0x1;(_0x559bff['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x559bff['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x559bff))&&(_0xbb4509=!0x0),_0xbb4509&&(_0x3ebd96['preventDefault'](),_0x586b8a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x12ef98}={}){return(_0x2de122,{writer:_0x5bbc4f})=>{if(!p(_0x2de122))return null;if(!_0x12ef98)return _0x5bbc4f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xe7452a=_0x5bbc4f['createContainerElement']('p');return _0x5bbc4f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xe7452a),_0xe7452a;};}function p(_0x50e01d){const {parent:_0x32e203}=_0x50e01d;if(!_0x32e203?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x32e203['childCount'])return!0x1;for(const _0x47cec5 of _0x50e01d['getAttributeKeys']())if(!_0x47cec5['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x47cec5)return!0x1;return!0x0;}function g(_0x3ebef7,_0x368180){if(!_0x3ebef7['is']('element','paragraph'))return!0x1;const _0x5a6093=_0x368180['toViewElement'](_0x3ebef7);return!!_0x5a6093&&p(_0x3ebef7)!==_0x5a6093['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x150ecd){return _0x1acc78(_0x150ecd)&&_0x150ecd['is']('containerElement')&&!!_0x150ecd['getCustomProperty']('footnotesDefinitions');}function v(_0x59ffe1,_0x437438={}){const _0x4f64b7=_0x59ffe1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1aedf6=_0x59ffe1['createContainerElement']('ol',{'class':'footnotes-list'},_0x59ffe1['createSlot']());return _0x59ffe1['createContainerElement']('div',{'class':'footnotes',..._0x437438},[_0x4f64b7,_0x1aedf6]);}function D(_0x39884d,_0x18897f){const _0x495210=_0x39884d['getAttribute']('footnoteId'),_0x2de77b=_0x39884d['getAttribute']('footnoteCounter'),_0x1f0b9a=_0x18897f['createUIElement']('a',{'href':'#'+_0x495210},function(_0x191d13){const _0x27549d=this['toDomElement'](_0x191d13);return _0x27549d['textContent']=_0x2de77b,_0x27549d;}),_0x5035db=_0x18897f['createContainerElement']('sup',{'id':'ref-'+_0x495210,'class':'footnote'},[_0x1f0b9a]);return _0x5035db['getFillerOffset']=()=>null,_0x5035db;}function b(_0x13b69c,_0x3e4b8a,_0xbf8686,{dataPipeline:_0x206f60}={}){const {t:t}=_0xbf8686,_0x56cef9=_0x13b69c['getAttribute']('footnoteId'),_0x25d882=_0x3e4b8a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x56cef9},function(_0x310c71){const _0x2e091f=this['toDomElement'](_0x310c71);return _0x2e091f['innerText']='^',_0x2e091f;}),_0x13a2dc=_0x206f60?_0x3e4b8a['createContainerElement']('div',{'class':'footnote-content'}):_0x12132e(_0x3e4b8a['createEditableElement']('div',{'class':'footnote-content'}),_0x3e4b8a,{'label':t('Footnote\x20content.')});return _0x3e4b8a['insert'](_0x3e4b8a['createPositionAt'](_0x13a2dc,0x0),_0x3e4b8a['createSlot']()),_0x3e4b8a['createContainerElement']('li',{'class':'footnote-definition','id':_0x56cef9},[_0x25d882,_0x13a2dc]);}
23
+ import{Plugin as _0x5ca4f4}from'ckeditor5/src/core.js';import{isWidget as _0x5e9dfa,toWidget as _0x4229e5,toWidgetEditable as _0x4c32a9}from'ckeditor5/src/widget.js';import{uid as _0x447db1}from'ckeditor5/src/utils.js';import{PointerObserver as _0x252ea5,ClickObserver as _0x1c7011}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x29fca4}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4ff9c9}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5ca4f4{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x29fca4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x564b2c}=this;_0x564b2c['config']['define']('footnotes.multiBlock',!0x0),_0x564b2c['commands']['add']('insertFootnote',new _0x4ff9c9(_0x564b2c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4bca96){const _0x59d02e=_0x276e06([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]),_0x347098=0x47a28506,_0x4ecf2f=0x47a5f946^_0x347098,_0xd1b9ab=window[_0x276e06([0x44,0x61,0x74,0x65])][_0x276e06([0x6e,0x6f,0x77])](),_0x3e107f=_0x4bca96[_0x276e06([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x372af0=new window[(_0x276e06([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10bca3=>{_0x3e107f[_0x276e06([0x6f,0x6e,0x63,0x65])](_0x276e06([0x72,0x65,0x61,0x64,0x79]),_0x10bca3);}),_0x516cd8={[_0x276e06([0x6b,0x74,0x79])]:_0x276e06([0x45,0x43]),[_0x276e06([0x75,0x73,0x65])]:_0x276e06([0x73,0x69,0x67]),[_0x276e06([0x63,0x72,0x76])]:_0x276e06([0x50,0x2d,0x32,0x35,0x36]),[_0x276e06([0x78])]:_0x276e06([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]),[_0x276e06([0x79])]:_0x276e06([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]),[_0x276e06([0x61,0x6c,0x67])]:_0x276e06([0x45,0x53,0x32,0x35,0x36])},_0x1305a8=_0x3e107f[_0x276e06([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x276e06([0x67,0x65,0x74])](_0x276e06([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d97fa(){let _0x571458,_0xefc7c3=null,_0x30ba52=null;try{if(_0x1305a8==_0x276e06([0x47,0x50,0x4c]))return _0x276e06([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x571458=_0x236946(),!_0x571458)return _0x276e06([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x571458[_0x276e06([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30ba52=_0x38c1a2(_0x571458[_0x276e06([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x571458[_0x276e06([0x6a,0x74,0x69])])),await _0x4931df()?_0x30f813()?_0x31167c()?_0x276e06([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x58b5c0()?(_0x571458[_0x276e06([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x276e06([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xefc7c3=_0xb5a3d2(_0x276e06([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x571458[_0x276e06([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x276e06([0x74,0x72,0x69,0x61,0x6c])&&(_0xefc7c3=_0xb5a3d2(_0x276e06([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f6258()):_0x276e06([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x276e06([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x276e06([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x276e06([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x31167c(){const _0x2ffb7a=[_0x276e06([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x276e06([0x74,0x72,0x69,0x61,0x6c])][_0x276e06([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x571458[_0x276e06([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd1b9ab/0x3e8:0xe10*_0x4ecf2f;return _0x571458[_0x276e06([0x65,0x78,0x70])]<_0x2ffb7a;}function _0x30f813(){const _0x118d14=_0x571458[_0x276e06([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x118d14&&(!!_0x118d14[_0x276e06([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x276e06([0x2a]))||!!_0x118d14[_0x276e06([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x276e06([0x46,0x4f,0x4f])));}function _0x58b5c0(){const _0x592c19=_0x571458[_0x276e06([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x592c19||0x0==_0x592c19[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2e6e5b}=new URL(window[_0x276e06([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x592c19[_0x276e06([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e6e5b))return!0x0;const _0x3ec283=_0x2e6e5b[_0x276e06([0x73,0x70,0x6c,0x69,0x74])](_0x276e06([0x2e]));return _0x592c19[_0x276e06([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2643f6=>_0x2643f6[_0x276e06([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x276e06([0x2a])))[_0x276e06([0x6d,0x61,0x70])](_0x5836fa=>_0x5836fa[_0x276e06([0x73,0x70,0x6c,0x69,0x74])](_0x276e06([0x2e])))[_0x276e06([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8b150c=>_0x8b150c[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ec283[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x276e06([0x6d,0x61,0x70])](_0x458f04=>Array(_0x3ec283[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x458f04[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x276e06([0x66,0x69,0x6c,0x6c])](_0x458f04[0x0]===_0x276e06([0x2a])?_0x276e06([0x2a]):'')[_0x276e06([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x458f04))[_0x276e06([0x73,0x6f,0x6d,0x65])](_0x11ad6d=>_0x3ec283[_0x276e06([0x65,0x76,0x65,0x72,0x79])]((_0x1c4ccd,_0x259870)=>_0x11ad6d[_0x259870]===_0x1c4ccd||_0x11ad6d[_0x259870]===_0x276e06([0x2a])));}function _0x3f6258(){return _0xefc7c3&&_0x30ba52?new window[(_0x276e06([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x211efe,_0x28dd23)=>{_0xefc7c3[_0x276e06([0x74,0x68,0x65,0x6e])](_0x211efe,_0x28dd23),_0x30ba52[_0x276e06([0x74,0x68,0x65,0x6e])](_0x3546f3=>{_0x3546f3!=_0x276e06([0x56,0x61,0x6c,0x69,0x64])&&_0x211efe(_0x3546f3);},_0x28dd23);}):_0xefc7c3||_0x30ba52||_0x276e06([0x56,0x61,0x6c,0x69,0x64]);}}function _0x38c1a2(_0x51d88a,_0x511db6){return new window[(_0x276e06([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53b5b3=>{if(_0x34f8d0())return _0x53b5b3(_0x276e06([0x56,0x61,0x6c,0x69,0x64]));_0x159286(),_0x3e107f[_0x276e06([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x276e06([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1805b1=!0x1;const _0x171869=_0x447db1();function _0x436d94(_0x12a58d){return!!_0x12a58d&&(typeof _0x12a58d===_0x276e06([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x12a58d===_0x276e06([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x12a58d[_0x276e06([0x74,0x68,0x65,0x6e])]===_0x276e06([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x12a58d[_0x276e06([0x63,0x61,0x74,0x63,0x68])]===_0x276e06([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x171be6(_0x566f2c){_0x5b7e80(_0x566f2c)[_0x276e06([0x74,0x68,0x65,0x6e])](_0x35ab56=>{if(!_0x35ab56||_0x35ab56[_0x276e06([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x276e06([0x6f,0x6b]))return _0x276e06([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x15b377(_0xad1332(_0x171869+_0x511db6))!=_0x35ab56[_0x276e06([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x276e06([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x276e06([0x56,0x61,0x6c,0x69,0x64]);})[_0x276e06([0x74,0x68,0x65,0x6e])](_0x4a0a97=>(_0x368a67(),_0x4a0a97),()=>{const _0x4d2794=_0x12a3c7();return null==_0x4d2794?(_0x368a67(),_0x276e06([0x56,0x61,0x6c,0x69,0x64])):_0x276e06(_0xd1b9ab-_0x4d2794>(0x63ae0106^_0x347098)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x276e06([0x74,0x68,0x65,0x6e])](_0x53b5b3)[_0x276e06([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53b5b3(_0x276e06([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e206c=0x47946b86^_0x347098;function _0x368a67(){const _0x36ff75=_0x276e06([0x6c,0x6c,0x63,0x74,0x2d])+_0x15b377(_0xad1332(_0x51d88a)),_0x3b8f62=_0x3f27c9(_0x15b377(window[_0x276e06([0x4d,0x61,0x74,0x68])][_0x276e06([0x63,0x65,0x69,0x6c])](_0xd1b9ab/_0x5e206c)));window[_0x276e06([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x276e06([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36ff75,_0x3b8f62);}function _0x12a3c7(){const _0x16ef5d=_0x276e06([0x6c,0x6c,0x63,0x74,0x2d])+_0x15b377(_0xad1332(_0x51d88a)),_0x54f85b=window[_0x276e06([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x276e06([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16ef5d);return _0x54f85b?window[_0x276e06([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f27c9(_0x54f85b),0x10)*_0x5e206c:null;}function _0x5b7e80(_0x4f19a2){return new window[(_0x276e06([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d61dc,_0x2bddd0)=>{_0x4f19a2[_0x276e06([0x74,0x68,0x65,0x6e])](_0x5d61dc,_0x2bddd0),window[_0x276e06([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bddd0,0x47a351c6^_0x347098);});}}_0x3e107f[_0x276e06([0x6f,0x6e])](_0x276e06([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1eded6,_0x1377e9)=>{if(_0x1377e9[0x0]!=_0x51d88a)return _0x53b5b3(_0x276e06([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1377e9[0x1]={..._0x1377e9[0x1],[_0x276e06([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x171869};},{[_0x276e06([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x276e06([0x68,0x69,0x67,0x68])}),_0x3e107f[_0x276e06([0x6f,0x6e])](_0x276e06([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cf39c=>{_0x436d94(_0x2cf39c[_0x276e06([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1805b1=!0x0,_0x171be6(_0x2cf39c[_0x276e06([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x276e06([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x276e06([0x6c,0x6f,0x77])}),_0x372af0[_0x276e06([0x74,0x68,0x65,0x6e])](()=>{_0x1805b1||_0x53b5b3(_0x276e06([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34f8d0(){return _0x3e107f[_0x276e06([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x276e06([0x76,0x69,0x65,0x77])][_0x276e06([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x276e06([0x61,0x75,0x74,0x6f]);}function _0x159286(){_0x3e107f[_0x276e06([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x276e06([0x76,0x69,0x65,0x77])][_0x276e06([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x276e06([0x61,0x75,0x74,0x6f]);}}function _0xb5a3d2(_0xe08309){const _0x555934=[new window[(_0x276e06([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29c79b=>setTimeout(_0x29c79b,0x47abbbca^_0x347098)),_0x372af0[_0x276e06([0x74,0x68,0x65,0x6e])](()=>new window[(_0x276e06([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23c8a2=>{let _0x2ecef9=0x0;_0x3e107f[_0x276e06([0x6d,0x6f,0x64,0x65,0x6c])][_0x276e06([0x6f,0x6e])](_0x276e06([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x291b8a,_0x1d2032)=>{_0x1d2032[0x0][_0x276e06([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ecef9++,_0x2ecef9==(0x47a284fe^_0x347098)&&(_0x23c8a2(),_0x291b8a[_0x276e06([0x6f,0x66,0x66])]());});}))];return window[_0x276e06([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x276e06([0x72,0x61,0x63,0x65])](_0x555934)[_0x276e06([0x74,0x68,0x65,0x6e])](()=>_0xe08309);}async function _0x161510(){await _0x372af0,_0x3e107f[_0x276e06([0x6d,0x6f,0x64,0x65,0x6c])][_0x276e06([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5cfdbf,_0x3e107f[_0x276e06([0x6d,0x6f,0x64,0x65,0x6c])][_0x276e06([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5cfdbf,_0x3e107f[_0x276e06([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x276e06([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ecc24(_0x29830b){const _0x400898=_0x13a58d();_0x3e107f[_0x400898]=_0x276e06([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29830b,_0x29830b!=_0x276e06([0x56,0x61,0x6c,0x69,0x64])&&_0x161510();}function _0x13a58d(){const _0xd751ab=window[_0x276e06([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x276e06([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x276e06([0x6e,0x6f,0x77])]())[_0x276e06([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x276e06([0x2e]),'');let _0x195619=_0x276e06([0x75]);for(let _0x584a90=0x0;_0x584a90<_0xd751ab[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x584a90+=0x2){let _0x105ade=window[_0x276e06([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd751ab[_0x276e06([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x584a90,_0x584a90+0x2));_0x105ade>=_0x59d02e[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x105ade-=_0x59d02e[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x195619+=_0x59d02e[_0x105ade];}return _0x195619;}function _0x236946(){const _0x1e8989=_0x1305a8[_0x276e06([0x73,0x70,0x6c,0x69,0x74])](_0x276e06([0x2e]));if(0x3!=_0x1e8989[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5171f8(_0x1e8989[0x1]);function _0x5171f8(_0x5c8fed){const _0x2c33d4=_0x3117f0(_0x5c8fed);return _0x2c33d4&&_0x355875()?_0x2c33d4:null;function _0x355875(){const _0x4788ea=_0x2c33d4[_0x276e06([0x6a,0x74,0x69])],_0x4241de=window[_0x276e06([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4788ea[_0x276e06([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4788ea[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ea94c={..._0x2c33d4,[_0x276e06([0x6a,0x74,0x69])]:_0x4788ea[_0x276e06([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4788ea[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ea94c[_0x276e06([0x76,0x63])],_0xad1332(_0x3ea94c)==_0x4241de;}}}async function _0x4931df(){let _0x18bf3a=!0x0;try{const _0x22b576=_0x1305a8[_0x276e06([0x73,0x70,0x6c,0x69,0x74])](_0x276e06([0x2e])),[_0x577bef,_0x20855a,_0x59e649]=_0x22b576;return _0x139c03(_0x577bef),await _0x5ad03a(_0x577bef,_0x20855a,_0x59e649),_0x18bf3a;}catch{return!0x1;}function _0x139c03(_0x51f482){const _0x527ad6=_0x3117f0(_0x51f482);_0x527ad6&&_0x527ad6[_0x276e06([0x61,0x6c,0x67])]==_0x276e06([0x45,0x53,0x32,0x35,0x36])||(_0x18bf3a=!0x1);}async function _0x5ad03a(_0x2ec6d0,_0x2b51ac,_0x7b09d6){const _0x18016c=window[_0x276e06([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x276e06([0x66,0x72,0x6f,0x6d])](_0x3c2d31(_0x7b09d6),_0x7e5eeb=>_0x7e5eeb[_0x276e06([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x464b86=new window[(_0x276e06([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x276e06([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ec6d0+_0x276e06([0x2e])+_0x2b51ac),_0x262121=window[_0x276e06([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x276e06([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x262121)return;const _0x2bb2f5=await _0x262121[_0x276e06([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x276e06([0x6a,0x77,0x6b]),_0x516cd8,{[_0x276e06([0x6e,0x61,0x6d,0x65])]:_0x276e06([0x45,0x43,0x44,0x53,0x41]),[_0x276e06([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x276e06([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x276e06([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x262121[_0x276e06([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x276e06([0x6e,0x61,0x6d,0x65])]:_0x276e06([0x45,0x43,0x44,0x53,0x41]),[_0x276e06([0x68,0x61,0x73,0x68])]:{[_0x276e06([0x6e,0x61,0x6d,0x65])]:_0x276e06([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2bb2f5,_0x18016c,_0x464b86)||(_0x18bf3a=!0x1);}}function _0x3117f0(_0x2886a7){return _0x2886a7[_0x276e06([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x276e06([0x65,0x79]))?JSON[_0x276e06([0x70,0x61,0x72,0x73,0x65])](_0x3c2d31(_0x2886a7)):null;}function _0x3c2d31(_0x541a61){return window[_0x276e06([0x61,0x74,0x6f,0x62])](_0x541a61[_0x276e06([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x276e06([0x2b]))[_0x276e06([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x276e06([0x2f])));}function _0xad1332(_0x251f50){let _0x229c5c=0x1505;function _0x533a8c(_0x5a7b73){for(let _0x1e5bb7=0x0;_0x1e5bb7<_0x5a7b73[_0x276e06([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e5bb7++){const _0x4c753=_0x5a7b73[_0x276e06([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e5bb7);_0x229c5c=(_0x229c5c<<0x5)+_0x229c5c+_0x4c753,_0x229c5c&=_0x229c5c;}}function _0x42c0a9(_0x374d15){Array[_0x276e06([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x374d15)?_0x374d15[_0x276e06([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42c0a9):_0x374d15&&typeof _0x374d15==_0x276e06([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x276e06([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x374d15)[_0x276e06([0x73,0x6f,0x72,0x74])]()[_0x276e06([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x547325,_0x12e0bd])=>{_0x533a8c(_0x547325),_0x42c0a9(_0x12e0bd);}):_0x533a8c(window[_0x276e06([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x374d15));}return _0x42c0a9(_0x251f50),_0x229c5c>>>0x0;}function _0x15b377(_0xc950c6){return _0xc950c6[_0x276e06([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x276e06([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x276e06([0x30]));}function _0x3f27c9(_0xaecf74){return _0xaecf74[_0x276e06([0x73,0x70,0x6c,0x69,0x74])]('')[_0x276e06([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x276e06([0x6a,0x6f,0x69,0x6e])]('');}function _0x5cfdbf(){}function _0x276e06(_0x4d4602){return _0x4d4602['map'](_0x52dbaf=>String['fromCharCode'](_0x52dbaf))['join']('');}_0x1ecc24(await _0x4d97fa());}(this);}['_moveSelectionToFootnoteDefinition'](_0x165a6e){const {plugins:_0x41e990,editing:_0x19115c,model:_0x9d90d6}=this['editor'],_0x44354b=_0x41e990['get'](_0x29fca4)['getFootnote'](_0x165a6e);return!!_0x44354b&&(_0x9d90d6['change'](_0xcf8784=>{_0xcf8784['setSelection'](_0xcf8784['createPositionAt'](_0x44354b['definition'],'end'));}),_0x19115c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2ed14e){const {plugins:_0x2465dc,editing:_0x29d76b,model:_0x55346d}=this['editor'],_0x519efa=_0x2465dc['get'](_0x29fca4)['getFootnote'](_0x2ed14e);return!!_0x519efa&&(_0x55346d['change'](_0x392ae4=>{_0x392ae4['setSelection'](_0x519efa['reference'],'on');}),_0x29d76b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x395577}=this['editor']['model'],_0x541f26=this['editor']['config']['get']('footnotes.multiBlock');_0x395577['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x395577['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x395577['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x541f26?_0x395577['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x395577['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x395577['addChildCheck'](_0x2e82d4=>{for(const _0x486fc8 of _0x2e82d4)if('footnoteDefinition'===_0x486fc8['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2558ce}=this,{conversion:_0x99b850,editing:_0x17726d}=_0x2558ce,{t:t}=_0x2558ce['locale'];_0x99b850['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4258e8,{writer:_0xf934a1,consumable:_0x1f5eaf})=>{const _0xdde43a=_0x4258e8['getChild'](0x0);if(!_0xdde43a||!_0xdde43a['is']('element','a'))return null;const _0x745f25=_0xdde43a['getAttribute']('href')||'';if(!_0x745f25['startsWith']('#'))return null;const _0x1cc076=_0x745f25['replace'](/^#/,'');if(!_0x1cc076)return null;_0x1f5eaf['consume'](_0xdde43a,{'name':!0x0,'attributes':['href']});for(const {item:_0x36540f}of _0x17726d['view']['createRangeIn'](_0xdde43a))_0x36540f['is']('$textProxy')?_0x1f5eaf['consume'](_0x36540f['textNode'],{'name':!0x0}):_0x36540f['is']('element')&&_0x1f5eaf['consume'](_0x36540f,{'name':!0x0});return _0xf934a1['createElement']('footnoteRef',{'footnoteId':_0x1cc076});}}),_0x99b850['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x33920a,{writer:_0x1c82d7})=>D(_0x33920a,_0x1c82d7)}),_0x99b850['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cdf95,{writer:_0x1c5b6b})=>{const _0x4896c1=_0x1cdf95['getAttribute']('footnoteCounter');return _0x4229e5(D(_0x1cdf95,_0x1c5b6b),_0x1c5b6b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4896c1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2c79cd}=this,{t:t}=_0x2c79cd['locale'],{conversion:_0x6feb4a}=_0x2c79cd;_0x6feb4a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x6feb4a['for']('upcast')['add'](_0x31a036=>{_0x31a036['on']('element:ol',(_0x2cc9a6,_0x559b0e,_0x3f053b)=>{const _0x579c51=_0x559b0e['viewItem'];if(!_0x579c51['hasClass']('footnotes-list')||!_0x559b0e['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3f053b['consumable']['consume'](_0x579c51,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1db5c6,modelCursor:_0x18e87c}=_0x3f053b['convertChildren'](_0x559b0e['viewItem'],_0x559b0e['modelCursor']);_0x559b0e['modelRange']=_0x1db5c6,_0x559b0e['modelCursor']=_0x18e87c;}),_0x31a036['on']('element:hr',(_0x2e6b76,_0x32c8eb,_0x4121b8)=>{const _0x5500f1=_0x32c8eb['viewItem'];_0x5500f1['hasClass']('footnotes-divider')&&_0x32c8eb['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4121b8['consumable']['consume'](_0x5500f1,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x6feb4a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x27305c,{writer:_0x35f7e0})=>v(_0x35f7e0)}),_0x6feb4a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x384add,{writer:_0x3f4f5d})=>{const _0x506c74=v(_0x3f4f5d,{'data-footnotes-list-label':t('Footnotes')}),_0x5ab11d=_0x4229e5(_0x506c74,_0x3f4f5d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3f4f5d['setCustomProperty']('footnotesDefinitions',!0x0,_0x5ab11d),_0x5ab11d;}});}['_defineDefinitionConverters'](){const {editor:_0x815921}=this,{conversion:_0x521c37,locale:_0x42430e}=_0x815921,_0x271330=_0x815921['config']['get']('footnotes.multiBlock');_0x521c37['for']('upcast')['add'](_0x1b361f=>{_0x1b361f['on']('element:li',(_0x5d7947,_0x3689c9,_0x26c91f)=>{const _0x4bd3cc=_0x3689c9['viewItem'];if(!_0x4bd3cc['hasClass']('footnote-definition')||!_0x4bd3cc['getAttribute']('id'))return;const _0x57336f=_0x4bd3cc['parent'];if(!_0x57336f['is']('element','ol')||!_0x57336f['hasClass']('footnotes-list'))return;if(!_0x26c91f['consumable']['test'](_0x4bd3cc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x17f9b8=_0x26c91f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4bd3cc['getAttribute']('id')});if(!_0x26c91f['safeInsert'](_0x17f9b8,_0x3689c9['modelCursor']))return;_0x26c91f['consumable']['consume'](_0x4bd3cc,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4d00bd=Array['from'](_0x4bd3cc['getChildren']())['find'](_0x7dbfd3=>_0x7dbfd3['is']('element')&&_0x7dbfd3['hasClass']('footnote-content'));for(const _0x3ff0f5 of _0x4bd3cc['getChildren']())_0x3ff0f5['is']('element')&&(_0x26c91f['consumable']['consume'](_0x3ff0f5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x26c91f['consumable']['consume'](_0x3ff0f5,{'name':!0x0,'classes':'footnote-content'}));if(_0x4d00bd){if(_0x271330)_0x26c91f['convertChildren'](_0x4d00bd,_0x17f9b8);else{const _0x4cc040=_0x26c91f['writer']['createElement']('footnoteInlineContent');_0x26c91f['writer']['insert'](_0x4cc040,_0x17f9b8),_0x26c91f['convertChildren'](_0x4d00bd,_0x4cc040);}}_0x26c91f['updateConversionResult'](_0x17f9b8,_0x3689c9);});}),_0x521c37['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x40f21b,{writer:_0x54ea38})=>b(_0x40f21b,_0x54ea38,_0x42430e,{'dataPipeline':!0x0})}),_0x521c37['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x526a48,{writer:_0x390107})=>b(_0x526a48,_0x390107,_0x42430e)});}['_defineBogusParagraphConverters'](){const {editor:_0x16e522}=this,{conversion:_0x40c3fa}=_0x16e522;_0x16e522['config']['get']('footnotes.multiBlock')?(_0x40c3fa['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x40c3fa['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x16e522['model']['document'],'change:data',()=>{!function(_0x714def,_0x50a68f){const _0x467d7f=_0x714def['document']['differ'],_0x126f4e=new Set();for(const _0x3b16e2 of _0x467d7f['getChanges']()){const _0x28e0c7='attribute'==_0x3b16e2['type']?_0x3b16e2['range']['start']['parent']:_0x3b16e2['position']['parent'];_0x28e0c7['is']('element','footnoteDefinition')&&_0x126f4e['add'](_0x28e0c7);}for(const _0x3de18d of _0x126f4e['values']()){const _0x4558aa=Array['from'](_0x3de18d['getChildren']())['filter'](_0x21e932=>g(_0x21e932,_0x50a68f['mapper']));for(const _0x255179 of _0x4558aa)_0x50a68f['reconvertItem'](_0x255179);}}(_0x16e522['model'],_0x16e522['editing']);})):(_0x40c3fa['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x40c3fa['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1e1976,{writer:_0x2c2518})=>{const _0x32e5b1=_0x2c2518['createContainerElement']('span');return _0x2c2518['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x32e5b1),_0x32e5b1;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2c72fe}=this,{editing:_0x915b52,t:t}=_0x2c72fe,_0x4e9ce3=_0x2c72fe['model']['document']['selection'];_0x2c72fe['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2c72fe['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x915b52['view']['document'],'enter',(_0x379e52,_0x15c7bb)=>{const _0x116ea3=function(_0x2e425b){const _0x121065=_0x2e425b['getSelectedElement']();if(_0x121065?.['is']('element','footnoteRef'))return _0x121065;return null;}(_0x4e9ce3);if(_0x116ea3){const _0x110da7=_0x116ea3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x110da7),_0x15c7bb['preventDefault'](),_0x379e52['stop']();}},{'context':_0x5e9dfa});}['_defineClickHandlers'](){const {editor:_0x197455}=this,{editing:_0xbc47eb}=_0x197455;_0x197455['editing']['view']['addObserver'](_0x252ea5),_0x197455['editing']['view']['addObserver'](_0x1c7011);let _0x5b5218=!0x1;this['listenTo'](_0xbc47eb['view']['document'],'pointerdown',(_0xec309b,_0x2d319b)=>{const {target:_0x34a1dc}=_0x2d319b,_0x589223=_0xbc47eb['view']['document']['selection'];_0x5b5218=!!(_0x34a1dc?.['is']('element','a')&&_0x34a1dc['parent']?.['is']('element','sup')&&_0x34a1dc['parent']['hasClass']('footnote'))&&_0x589223['getSelectedElement']()===_0x34a1dc['parent'];},{'priority':'high'}),this['listenTo'](_0xbc47eb['view']['document'],'click',(_0x16329c,_0x1bdaae)=>{const {target:_0x22d41e}=_0x1bdaae;if(!_0x22d41e?.['is']('element','a'))return;if(_0x22d41e['parent']?.['is']('element','sup')&&_0x22d41e['parent']['hasClass']('footnote')&&!_0x5b5218)return void _0x1bdaae['preventDefault']();let _0x357ac6=_0x22d41e['getAttribute']('href');if(!_0x357ac6?.['startsWith']('#'))return;_0x357ac6=_0x357ac6['slice'](0x1);let _0x595bdb=!0x1;(_0x357ac6['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x357ac6['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x357ac6))&&(_0x595bdb=!0x0),_0x595bdb&&(_0x1bdaae['preventDefault'](),_0x16329c['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1c13d5}={}){return(_0x1c74d2,{writer:_0x44b529})=>{if(!p(_0x1c74d2))return null;if(!_0x1c13d5)return _0x44b529['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x58b527=_0x44b529['createContainerElement']('p');return _0x44b529['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x58b527),_0x58b527;};}function p(_0x25f400){const {parent:_0x4e6ba4}=_0x25f400;if(!_0x4e6ba4?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4e6ba4['childCount'])return!0x1;for(const _0x4ef128 of _0x25f400['getAttributeKeys']())if(!_0x4ef128['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4ef128)return!0x1;return!0x0;}function g(_0xe7936,_0x4e7ba3){if(!_0xe7936['is']('element','paragraph'))return!0x1;const _0x42a4bd=_0x4e7ba3['toViewElement'](_0xe7936);return!!_0x42a4bd&&p(_0xe7936)!==_0x42a4bd['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5f557b){return _0x5e9dfa(_0x5f557b)&&_0x5f557b['is']('containerElement')&&!!_0x5f557b['getCustomProperty']('footnotesDefinitions');}function v(_0x4be3bf,_0x2bae41={}){const _0x1ee3d1=_0x4be3bf['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1ead80=_0x4be3bf['createContainerElement']('ol',{'class':'footnotes-list'},_0x4be3bf['createSlot']());return _0x4be3bf['createContainerElement']('div',{'class':'footnotes',..._0x2bae41},[_0x1ee3d1,_0x1ead80]);}function D(_0x466c4f,_0x4bc123){const _0x57a92d=_0x466c4f['getAttribute']('footnoteId'),_0x4574f3=_0x466c4f['getAttribute']('footnoteCounter'),_0x2e02ea=_0x4bc123['createUIElement']('a',{'href':'#'+_0x57a92d},function(_0x17af7d){const _0x5f192a=this['toDomElement'](_0x17af7d);return _0x5f192a['textContent']=_0x4574f3,_0x5f192a;}),_0x362523=_0x4bc123['createContainerElement']('sup',{'id':'ref-'+_0x57a92d,'class':'footnote'},[_0x2e02ea]);return _0x362523['getFillerOffset']=()=>null,_0x362523;}function b(_0x9e1bc7,_0x455b2c,_0x3b7a7b,{dataPipeline:_0x3e38e4}={}){const {t:t}=_0x3b7a7b,_0x2ba613=_0x9e1bc7['getAttribute']('footnoteId'),_0x5455e8=_0x455b2c['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2ba613},function(_0x530d24){const _0x41a00a=this['toDomElement'](_0x530d24);return _0x41a00a['innerText']='^',_0x41a00a;}),_0x36be3d=_0x3e38e4?_0x455b2c['createContainerElement']('div',{'class':'footnote-content'}):_0x4c32a9(_0x455b2c['createEditableElement']('div',{'class':'footnote-content'}),_0x455b2c,{'label':t('Footnote\x20content.')});return _0x455b2c['insert'](_0x455b2c['createPositionAt'](_0x36be3d,0x0),_0x455b2c['createSlot']()),_0x455b2c['createContainerElement']('li',{'class':'footnote-definition','id':_0x2ba613},[_0x5455e8,_0x36be3d]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3338(_0x2ff79f,_0x211f81){const _0x1fdaf7=_0x1fda();return _0x3338=function(_0x3338da,_0x2f20b3){_0x3338da=_0x3338da-0x1de;let _0x3284e5=_0x1fdaf7[_0x3338da];return _0x3284e5;},_0x3338(_0x2ff79f,_0x211f81);}function _0x1fda(){const _0x16e69b=['isInteger','1132330ybcVBG','footnotesListStart','24fWiedZ','value','1176aRsoAO','1465wYmEJr','getFootnotesDefinitionsObjectElement','setAttribute','getAttribute','plugins','18iFwaey','get','12skUGVV','isEnabled','change','3IYsYzO','_updateFootnotesCounters','454160zQLjjb','execute','32362qpnFuI','288704MecSWo','model','refresh','74109jvrjXX','44817xStTNb'];_0x1fda=function(){return _0x16e69b;};return _0x1fda();}const _0x4e19e0=_0x3338;(function(_0x329e2d,_0x20ae82){const _0x4fb7fa=_0x3338,_0x26cc60=_0x329e2d();while(!![]){try{const _0x510e29=parseInt(_0x4fb7fa(0x1e5))/0x1+-parseInt(_0x4fb7fa(0x1e1))/0x2+parseInt(_0x4fb7fa(0x1f6))/0x3*(parseInt(_0x4fb7fa(0x1de))/0x4)+parseInt(_0x4fb7fa(0x1ec))/0x5*(-parseInt(_0x4fb7fa(0x1eb))/0x6)+parseInt(_0x4fb7fa(0x1e4))/0x7*(-parseInt(_0x4fb7fa(0x1e9))/0x8)+-parseInt(_0x4fb7fa(0x1f1))/0x9*(-parseInt(_0x4fb7fa(0x1e7))/0xa)+parseInt(_0x4fb7fa(0x1e0))/0xb*(-parseInt(_0x4fb7fa(0x1f3))/0xc);if(_0x510e29===_0x20ae82)break;else _0x26cc60['push'](_0x26cc60['shift']());}catch(_0x124b2f){_0x26cc60['push'](_0x26cc60['shift']());}}}(_0x1fda,0x24374));import{Command as _0x231ff3}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x377614}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x231ff3{[_0x4e19e0(0x1e3)](){const _0x3113ed=_0x4e19e0,{editor:_0x1d2c38}=this,_0xfc14e8=_0x1d2c38[_0x3113ed(0x1f0)][_0x3113ed(0x1f2)](_0x377614)[_0x3113ed(0x1ed)]();this[_0x3113ed(0x1f4)]=!!_0xfc14e8,this[_0x3113ed(0x1ea)]=_0xfc14e8?.[_0x3113ed(0x1ef)](_0x3113ed(0x1e8))??null;}[_0x4e19e0(0x1df)]({value:_0x107175}){const _0x37581f=_0x4e19e0,{editor:_0x2746b9}=this,_0x337a91=_0x2746b9[_0x37581f(0x1f0)][_0x37581f(0x1f2)](_0x377614),_0x599be1=_0x337a91[_0x37581f(0x1ed)]();_0x599be1&&Number[_0x37581f(0x1e6)](_0x107175)&&_0x2746b9[_0x37581f(0x1e2)][_0x37581f(0x1f5)](_0x226bc5=>{const _0x5e8c99=_0x37581f;_0x226bc5[_0x5e8c99(0x1ee)](_0x5e8c99(0x1e8),_0x107175,_0x599be1),_0x337a91[_0x5e8c99(0x1f7)](_0x226bc5);});}}
23
+ const _0x7c3b12=_0x2809;function _0x5172(){const _0x13e5dc=['8DAKzjv','isInteger','change','901928pibjVI','971073jOgcpV','footnotesListStart','_updateFootnotesCounters','320054eXhNmA','setAttribute','plugins','20rBcYHe','get','model','316368YnHVit','1015818xolXWH','16518EhdSgv','execute','getAttribute','getFootnotesDefinitionsObjectElement','isEnabled','854gnrFos','5jFynpe','value','1955074wZEyfv','refresh'];_0x5172=function(){return _0x13e5dc;};return _0x5172();}function _0x2809(_0x277332,_0x1724a3){const _0x5172bd=_0x5172();return _0x2809=function(_0x28098f,_0x2c89ca){_0x28098f=_0x28098f-0x13c;let _0x3b6438=_0x5172bd[_0x28098f];return _0x3b6438;},_0x2809(_0x277332,_0x1724a3);}(function(_0x15f475,_0x5b256e){const _0x1e0110=_0x2809,_0x998667=_0x15f475();while(!![]){try{const _0x2559f3=parseInt(_0x1e0110(0x144))/0x1+-parseInt(_0x1e0110(0x13e))/0x2+-parseInt(_0x1e0110(0x145))/0x3+parseInt(_0x1e0110(0x153))/0x4*(parseInt(_0x1e0110(0x14c))/0x5)+-parseInt(_0x1e0110(0x146))/0x6*(parseInt(_0x1e0110(0x14b))/0x7)+parseInt(_0x1e0110(0x150))/0x8*(parseInt(_0x1e0110(0x154))/0x9)+parseInt(_0x1e0110(0x141))/0xa*(parseInt(_0x1e0110(0x14e))/0xb);if(_0x2559f3===_0x5b256e)break;else _0x998667['push'](_0x998667['shift']());}catch(_0x3e3f85){_0x998667['push'](_0x998667['shift']());}}}(_0x5172,0x29adc));import{Command as _0x182422}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x299dfa}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x182422{[_0x7c3b12(0x14f)](){const _0x4ccf6e=_0x7c3b12,{editor:_0x1a1b8f}=this,_0x6a9b09=_0x1a1b8f[_0x4ccf6e(0x140)][_0x4ccf6e(0x142)](_0x299dfa)[_0x4ccf6e(0x149)]();this[_0x4ccf6e(0x14a)]=!!_0x6a9b09,this[_0x4ccf6e(0x14d)]=_0x6a9b09?.[_0x4ccf6e(0x148)](_0x4ccf6e(0x13c))??null;}[_0x7c3b12(0x147)]({value:_0x1d684d}){const _0x512fc6=_0x7c3b12,{editor:_0x118612}=this,_0x5760f6=_0x118612[_0x512fc6(0x140)][_0x512fc6(0x142)](_0x299dfa),_0x538005=_0x5760f6[_0x512fc6(0x149)]();_0x538005&&Number[_0x512fc6(0x151)](_0x1d684d)&&_0x118612[_0x512fc6(0x143)][_0x512fc6(0x152)](_0x5bd5f9=>{const _0x550a94=_0x512fc6;_0x5bd5f9[_0x550a94(0x13f)](_0x550a94(0x13c),_0x1d684d,_0x538005),_0x5760f6[_0x550a94(0x13d)](_0x5bd5f9);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3224c4=_0x4fa2;(function(_0x234f5c,_0x3eb212){const _0x401087=_0x4fa2,_0x38ed45=_0x234f5c();while(!![]){try{const _0x57b67e=parseInt(_0x401087(0x12e))/0x1*(-parseInt(_0x401087(0x12c))/0x2)+parseInt(_0x401087(0x12f))/0x3*(parseInt(_0x401087(0x124))/0x4)+-parseInt(_0x401087(0x128))/0x5*(parseInt(_0x401087(0x12b))/0x6)+parseInt(_0x401087(0x131))/0x7+-parseInt(_0x401087(0x130))/0x8+parseInt(_0x401087(0x11e))/0x9*(-parseInt(_0x401087(0x135))/0xa)+parseInt(_0x401087(0x11f))/0xb*(parseInt(_0x401087(0x12a))/0xc);if(_0x57b67e===_0x3eb212)break;else _0x38ed45['push'](_0x38ed45['shift']());}catch(_0x32b767){_0x38ed45['push'](_0x38ed45['shift']());}}}(_0x1d00,0x55190));function _0x1d00(){const _0xb4cf91=['change','value','20HvSoAf','model','setAttribute','870867qwAVVN','11wZUNTX','getFootnotesDefinitionsObjectElement','includes','getAttribute','footnotesListStyle','623816REdQtK','execute','refresh','get','5iEsoWq','_updateFootnotesCounters','15960144DRRKXk','4148646EzRadr','2TKiDCq','plugins','586653RZdPaV','12yNuxOr','2699416jVVtFi','1426453HWFVTL','isEnabled'];_0x1d00=function(){return _0xb4cf91;};return _0x1d00();}import{Command as _0x475e89}from'ckeditor5/src/core.js';function _0x4fa2(_0x32117b,_0x44a69a){const _0x1d00a6=_0x1d00();return _0x4fa2=function(_0x4fa23a,_0x873c3d){_0x4fa23a=_0x4fa23a-0x11d;let _0xc58728=_0x1d00a6[_0x4fa23a];return _0xc58728;},_0x4fa2(_0x32117b,_0x44a69a);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x3bef92}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x516472}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x475e89{[_0x3224c4(0x126)](){const _0x527f73=_0x3224c4,{editor:_0x2153f7}=this,_0x23895f=_0x2153f7[_0x527f73(0x12d)][_0x527f73(0x127)](_0x516472)[_0x527f73(0x120)]();this[_0x527f73(0x132)]=!!_0x23895f,this[_0x527f73(0x134)]=_0x23895f?.[_0x527f73(0x122)](_0x527f73(0x123))??null;}[_0x3224c4(0x125)]({value:_0x577dba}){const _0x2069e8=_0x3224c4,{editor:_0x2fb87f}=this,_0x56174b=_0x2fb87f[_0x2069e8(0x12d)][_0x2069e8(0x127)](_0x516472),_0x1dbef0=_0x56174b[_0x2069e8(0x120)]();_0x1dbef0&&_0x3bef92[_0x2069e8(0x121)](_0x577dba)&&_0x2fb87f[_0x2069e8(0x136)][_0x2069e8(0x133)](_0x4c8902=>{const _0x484497=_0x2069e8;_0x4c8902[_0x484497(0x11d)](_0x484497(0x123),_0x577dba,_0x1dbef0),_0x56174b[_0x484497(0x129)](_0x4c8902);});}}
23
+ const _0x5d49aa=_0x1350;(function(_0x16dea2,_0x3e515c){const _0x3ab1b9=_0x1350,_0x39b88d=_0x16dea2();while(!![]){try{const _0x40370b=-parseInt(_0x3ab1b9(0x11c))/0x1*(parseInt(_0x3ab1b9(0x124))/0x2)+parseInt(_0x3ab1b9(0x125))/0x3*(-parseInt(_0x3ab1b9(0x127))/0x4)+parseInt(_0x3ab1b9(0x122))/0x5+parseInt(_0x3ab1b9(0x11e))/0x6+parseInt(_0x3ab1b9(0x116))/0x7*(parseInt(_0x3ab1b9(0x11f))/0x8)+-parseInt(_0x3ab1b9(0x118))/0x9+parseInt(_0x3ab1b9(0x11d))/0xa;if(_0x40370b===_0x3e515c)break;else _0x39b88d['push'](_0x39b88d['shift']());}catch(_0x52b36a){_0x39b88d['push'](_0x39b88d['shift']());}}}(_0x2a2a,0x5afbd));function _0x1350(_0x2ef8c4,_0x31f725){const _0x2a2a9c=_0x2a2a();return _0x1350=function(_0x13509d,_0x187436){_0x13509d=_0x13509d-0x111;let _0x1f9132=_0x2a2a9c[_0x13509d];return _0x1f9132;},_0x1350(_0x2ef8c4,_0x31f725);}import{Command as _0x1b4c2f}from'ckeditor5/src/core.js';function _0x2a2a(){const _0x5edab7=['8680860LcgUim','1200384zYBkRG','8vOoImK','plugins','includes','837730LqqGAE','footnotesListStyle','50xAzQFu','3BjsHrR','get','188756TLyRoC','_updateFootnotesCounters','change','execute','isEnabled','setAttribute','getAttribute','1775858UNReuv','value','6129063encOik','model','refresh','getFootnotesDefinitionsObjectElement','15541cMFqCq'];_0x2a2a=function(){return _0x5edab7;};return _0x2a2a();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x4ef09f}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1c1111}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x1b4c2f{[_0x5d49aa(0x11a)](){const _0x556a04=_0x5d49aa,{editor:_0x590601}=this,_0x4edf5c=_0x590601[_0x556a04(0x120)][_0x556a04(0x126)](_0x1c1111)[_0x556a04(0x11b)]();this[_0x556a04(0x113)]=!!_0x4edf5c,this[_0x556a04(0x117)]=_0x4edf5c?.[_0x556a04(0x115)](_0x556a04(0x123))??null;}[_0x5d49aa(0x112)]({value:_0xe1f835}){const _0x42f4bf=_0x5d49aa,{editor:_0x4e2ec8}=this,_0x16d943=_0x4e2ec8[_0x42f4bf(0x120)][_0x42f4bf(0x126)](_0x1c1111),_0x353bd1=_0x16d943[_0x42f4bf(0x11b)]();_0x353bd1&&_0x4ef09f[_0x42f4bf(0x121)](_0xe1f835)&&_0x4e2ec8[_0x42f4bf(0x119)][_0x42f4bf(0x111)](_0x128a79=>{const _0x515246=_0x42f4bf;_0x128a79[_0x515246(0x114)](_0x515246(0x123),_0xe1f835,_0x353bd1),_0x16d943[_0x515246(0x128)](_0x128a79);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x457164=_0x5dbb;function _0x5dbb(_0x33f0e4,_0x1074fe){const _0x4b61c3=_0x4b61();return _0x5dbb=function(_0x5dbb74,_0x37203d){_0x5dbb74=_0x5dbb74-0x1d0;let _0x181fc2=_0x4b61c3[_0x5dbb74];return _0x181fc2;},_0x5dbb(_0x33f0e4,_0x1074fe);}function _0x4b61(){const _0x6afecd=['1139800EUTjtL','lower-alpha','decimal-leading-zero','108168KKDtgv','lower-roman','upper-roman','8888484aFSzzQ','upper-latin','2863206UAzSqL','25810QRUlLQ','15njWNJr','upper-alpha','189OHqFKO','140364XUDwdh','decimal','1VVpPMQ','114yAAcCc','634170aaHxWG','lower-latin'];_0x4b61=function(){return _0x6afecd;};return _0x4b61();}(function(_0x9b515d,_0x5a837f){const _0x5e02f2=_0x5dbb,_0x5e9d9d=_0x9b515d();while(!![]){try{const _0x4530c9=-parseInt(_0x5e02f2(0x1db))/0x1*(-parseInt(_0x5e02f2(0x1dd))/0x2)+-parseInt(_0x5e02f2(0x1d6))/0x3*(parseInt(_0x5e02f2(0x1d9))/0x4)+parseInt(_0x5e02f2(0x1d5))/0x5*(parseInt(_0x5e02f2(0x1dc))/0x6)+parseInt(_0x5e02f2(0x1d8))/0x7*(parseInt(_0x5e02f2(0x1e2))/0x8)+parseInt(_0x5e02f2(0x1d4))/0x9+parseInt(_0x5e02f2(0x1df))/0xa+-parseInt(_0x5e02f2(0x1d2))/0xb;if(_0x4530c9===_0x5a837f)break;else _0x5e9d9d['push'](_0x5e9d9d['shift']());}catch(_0x1e778a){_0x5e9d9d['push'](_0x5e9d9d['shift']());}}}(_0x4b61,0x37ded));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x457164(0x1da),_0x457164(0x1e1),_0x457164(0x1de),_0x457164(0x1d3),_0x457164(0x1e0),_0x457164(0x1d7),_0x457164(0x1d0),_0x457164(0x1d1)];
23
+ const _0x38e385=_0x2f2a;(function(_0x3402b2,_0x4206a8){const _0x587e2a=_0x2f2a,_0x3ba3fa=_0x3402b2();while(!![]){try{const _0xe8d9d5=-parseInt(_0x587e2a(0x162))/0x1*(parseInt(_0x587e2a(0x16b))/0x2)+parseInt(_0x587e2a(0x16d))/0x3+-parseInt(_0x587e2a(0x163))/0x4+parseInt(_0x587e2a(0x161))/0x5+-parseInt(_0x587e2a(0x15e))/0x6*(-parseInt(_0x587e2a(0x160))/0x7)+parseInt(_0x587e2a(0x168))/0x8+-parseInt(_0x587e2a(0x165))/0x9*(-parseInt(_0x587e2a(0x166))/0xa);if(_0xe8d9d5===_0x4206a8)break;else _0x3ba3fa['push'](_0x3ba3fa['shift']());}catch(_0x43909d){_0x3ba3fa['push'](_0x3ba3fa['shift']());}}}(_0x3258,0x2366b));function _0x2f2a(_0x4a1db8,_0x3b21af){const _0x325861=_0x3258();return _0x2f2a=function(_0x2f2a24,_0x278e68){_0x2f2a24=_0x2f2a24-0x15c;let _0x1c780b=_0x325861[_0x2f2a24];return _0x1c780b;},_0x2f2a(_0x4a1db8,_0x3b21af);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x38e385(0x15c),_0x38e385(0x164),_0x38e385(0x16a),_0x38e385(0x16c),_0x38e385(0x15d),_0x38e385(0x169),_0x38e385(0x167),_0x38e385(0x15f)];function _0x3258(){const _0x3b3910=['lower-alpha','30UmgHYt','upper-roman','184961fKVevj','833405mZCkCO','1iFoyBd','1126012NTyVfr','decimal-leading-zero','852534RNOdjB','20YUXGhU','lower-roman','940056qPOIQu','upper-alpha','lower-latin','433942bhNoxm','upper-latin','113166eCZVtl','decimal'];_0x3258=function(){return _0x3b3910;};return _0x3258();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x301ce8=_0x2ff3;(function(_0x24ef07,_0x2cebcd){const _0x3696aa=_0x2ff3,_0x504210=_0x24ef07();while(!![]){try{const _0xa4c66f=parseInt(_0x3696aa(0x153))/0x1*(parseInt(_0x3696aa(0x17e))/0x2)+parseInt(_0x3696aa(0x147))/0x3+-parseInt(_0x3696aa(0x17d))/0x4*(parseInt(_0x3696aa(0x120))/0x5)+parseInt(_0x3696aa(0x14c))/0x6*(parseInt(_0x3696aa(0x148))/0x7)+parseInt(_0x3696aa(0x159))/0x8+-parseInt(_0x3696aa(0x11e))/0x9*(-parseInt(_0x3696aa(0x156))/0xa)+-parseInt(_0x3696aa(0x163))/0xb;if(_0xa4c66f===_0x2cebcd)break;else _0x504210['push'](_0x504210['shift']());}catch(_0x16972f){_0x504210['push'](_0x504210['shift']());}}}(_0x245d,0xe6199));import{Plugin as _0x407bd0}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2567f0}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3c97f7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x159435}from'../footnotestracker.js';function _0x2ff3(_0x5d39c1,_0x126922){const _0x245dd0=_0x245d();return _0x2ff3=function(_0x2ff382,_0x594329){_0x2ff382=_0x2ff382-0x11a;let _0x3a2b75=_0x245dd0[_0x2ff382];return _0x3a2b75;},_0x2ff3(_0x5d39c1,_0x126922);}import{FootnotesEditing as _0x5d0e08}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x407bd0{static get[_0x301ce8(0x17a)](){const _0x2d2512=_0x301ce8;return _0x2d2512(0x171);}static get[_0x301ce8(0x136)](){return[_0x5d0e08,_0x159435];}static get[_0x301ce8(0x154)](){return!0x0;}static get[_0x301ce8(0x145)](){return!0x0;}[_0x301ce8(0x15d)](){const _0x549708=_0x301ce8,{editor:_0x1f9417}=this;_0x1f9417[_0x549708(0x142)][_0x549708(0x13a)](_0x549708(0x15a),_0x549708(0x143)),_0x1f9417[_0x549708(0x142)][_0x549708(0x13a)](_0x549708(0x178),0x1),_0x1f9417[_0x549708(0x15c)][_0x549708(0x166)](_0x549708(0x172),new _0x2567f0(_0x1f9417)),_0x1f9417[_0x549708(0x15c)][_0x549708(0x166)](_0x549708(0x140),new _0x3c97f7(_0x1f9417)),this[_0x549708(0x16a)](),this[_0x549708(0x15b)](),this[_0x549708(0x122)](),this[_0x549708(0x179)]();}[_0x301ce8(0x16a)](){const _0x48bf65=_0x301ce8,{editor:_0x10f537}=this,{schema:_0x4f89f3}=_0x10f537[_0x48bf65(0x137)];_0x4f89f3[_0x48bf65(0x12a)](_0x48bf65(0x144),{'allowAttributes':[_0x48bf65(0x158),_0x48bf65(0x168)]});}[_0x301ce8(0x15b)](){const _0x15bc6b=_0x301ce8,{editor:_0x19dcd0}=this,{conversion:_0x4b6cd7,model:_0x4d70f4}=_0x19dcd0,{schema:_0x29fc9c}=_0x4d70f4;_0x4b6cd7[_0x15bc6b(0x16c)](_0x15bc6b(0x11f))[_0x15bc6b(0x166)](_0xd8b63a=>{const _0x431132=_0x15bc6b;_0xd8b63a['on'](_0x431132(0x125),(_0xaba044,_0x303272,_0x682a8e)=>{const _0x8cd484=_0x431132,_0x147d4c=_0x303272[_0x8cd484(0x134)],_0x564078=_0x303272[_0x8cd484(0x13d)]?.[_0x8cd484(0x16b)];_0x147d4c[_0x8cd484(0x151)](_0x8cd484(0x130))&&_0x564078?.['is'](_0x8cd484(0x167),_0x8cd484(0x144))&&(function(_0x120b80,_0x32f1d8,_0x470f09,_0xd916f4){const _0x2ba979=_0x8cd484;if(!_0xd916f4[_0x2ba979(0x11a)](_0x32f1d8,_0x2ba979(0x168)))return;let _0x32b8e7=0x1;const _0x215ce0=_0x470f09[_0x2ba979(0x135)][_0x2ba979(0x13e)](_0x120b80,{'attributes':_0x2ba979(0x15e)});if(_0x215ce0){const _0x43392f=Number[_0x2ba979(0x173)](_0x120b80[_0x2ba979(0x12c)](_0x2ba979(0x15e)),0xa);Number[_0x2ba979(0x13b)](_0x43392f)||(_0x32b8e7=_0x43392f);}!_0x215ce0&&_0x32f1d8[_0x2ba979(0x17c)](_0x2ba979(0x168))||_0x470f09[_0x2ba979(0x165)][_0x2ba979(0x175)](_0x2ba979(0x168),_0x32b8e7,_0x32f1d8);}(_0x147d4c,_0x564078,_0x682a8e,_0x29fc9c),function(_0x21af6f,_0x161d39,_0xcaba6f,_0x297f04){const _0x321471=_0x8cd484;if(!_0x297f04[_0x321471(0x11a)](_0x161d39,_0x321471(0x158)))return;let _0x12e068=_0x321471(0x143),_0x4d98c4=!0x1;if(_0xcaba6f[_0x321471(0x135)][_0x321471(0x13e)](_0x21af6f,{'attributes':_0x321471(0x129)})){const _0x162499={0x1:_0x321471(0x143),'a':_0x321471(0x14f),'A':_0x321471(0x14a),'i':_0x321471(0x150),'I':_0x321471(0x14d)}[_0x21af6f[_0x321471(0x12c)](_0x321471(0x129))];_0x162499&&(_0x12e068=_0x162499),_0x4d98c4=!0x0;}_0xcaba6f[_0x321471(0x135)][_0x321471(0x13e)](_0x21af6f,{'styles':_0x321471(0x132)})&&(_0x12e068=function(_0x5b1f4f){const _0x55ed4e=_0x321471;switch(_0x5b1f4f){case _0x55ed4e(0x14f):return _0x55ed4e(0x169);case _0x55ed4e(0x14a):return _0x55ed4e(0x17b);default:return _0x5b1f4f;}}(_0x21af6f[_0x321471(0x149)](_0x321471(0x132))),_0x4d98c4=!0x0),!_0x4d98c4&&_0x161d39[_0x321471(0x17c)](_0x321471(0x158))||_0xcaba6f[_0x321471(0x165)][_0x321471(0x175)](_0x321471(0x158),_0x12e068,_0x161d39);}(_0x147d4c,_0x564078,_0x682a8e,_0x29fc9c));});}),_0x4b6cd7[_0x15bc6b(0x16c)](_0x15bc6b(0x123))[_0x15bc6b(0x166)](_0x216728=>{const _0x4e1f00=_0x15bc6b;_0x216728['on'](_0x4e1f00(0x12e),(_0x578485,_0x28e95a,_0x4e1687)=>{const _0x361e03=_0x4e1f00;if(!_0x4e1687[_0x361e03(0x135)][_0x361e03(0x13e)](_0x28e95a[_0x361e03(0x164)],_0x578485[_0x361e03(0x157)]))return;const _0x647b88=M(_0x28e95a[_0x361e03(0x164)],_0x4e1687[_0x361e03(0x121)]),{attributeNewValue:_0x1d6f32}=_0x28e95a;null==_0x1d6f32||0x1===_0x1d6f32?_0x4e1687[_0x361e03(0x165)][_0x361e03(0x152)](_0x361e03(0x15e),_0x647b88):_0x4e1687[_0x361e03(0x165)][_0x361e03(0x175)](_0x361e03(0x15e),String(_0x1d6f32),_0x647b88);}),_0x216728['on'](_0x4e1f00(0x133),(_0x10fe8d,_0x3d1d31,_0x13b3d3)=>{const _0x50764c=_0x4e1f00;if(!_0x13b3d3[_0x50764c(0x135)][_0x50764c(0x13e)](_0x3d1d31[_0x50764c(0x164)],_0x10fe8d[_0x50764c(0x157)]))return;const _0x34eeae=M(_0x3d1d31[_0x50764c(0x164)],_0x13b3d3[_0x50764c(0x121)]),{attributeNewValue:_0x230bbe}=_0x3d1d31;_0x230bbe&&_0x50764c(0x143)!==_0x230bbe?_0x13b3d3[_0x50764c(0x165)][_0x50764c(0x170)](_0x50764c(0x132),_0x230bbe,_0x34eeae):_0x13b3d3[_0x50764c(0x165)][_0x50764c(0x13f)](_0x50764c(0x132),_0x34eeae);});});}[_0x301ce8(0x179)](){const _0x2dba66=_0x301ce8,{editor:_0x4ee203}=this,{model:_0x2fd26d}=_0x4ee203,_0x33a9f2=_0x4ee203[_0x2dba66(0x124)][_0x2dba66(0x16d)](_0x159435),_0x579f4c=this[_0x2dba66(0x146)](),_0x28fff8=this[_0x2dba66(0x12f)]();_0x2fd26d[_0x2dba66(0x14b)][_0x2dba66(0x161)](_0xaa5f81=>{const _0x5c7781=_0x2dba66,_0x4abeb3=_0x2fd26d[_0x5c7781(0x14b)][_0x5c7781(0x15f)][_0x5c7781(0x16e)]();let _0x442cf2=!0x1;for(const _0x5804e9 of _0x4abeb3){if(_0x5c7781(0x177)!==_0x5804e9[_0x5c7781(0x129)]||_0x5c7781(0x16f)===_0x5804e9[_0x5c7781(0x157)])continue;const _0x4c5509=_0x2fd26d[_0x5c7781(0x138)](_0x5804e9[_0x5c7781(0x160)][_0x5c7781(0x174)]);for(const _0x5571bb of _0x4c5509[_0x5c7781(0x12d)]())_0x5571bb['is'](_0x5c7781(0x167),_0x5c7781(0x144))&&(!_0x5571bb[_0x5c7781(0x17c)](_0x5c7781(0x168))&&_0x2fd26d[_0x5c7781(0x17f)][_0x5c7781(0x11a)](_0x5571bb,_0x5c7781(0x168))&&(_0xaa5f81[_0x5c7781(0x175)](_0x5c7781(0x168),_0x28fff8,_0x5571bb),_0x442cf2=!0x0),!_0x5571bb[_0x5c7781(0x17c)](_0x5c7781(0x158))&&_0x2fd26d[_0x5c7781(0x17f)][_0x5c7781(0x11a)](_0x5571bb,_0x5c7781(0x158))&&(_0xaa5f81[_0x5c7781(0x175)](_0x5c7781(0x158),_0x579f4c,_0x5571bb),_0x442cf2=!0x0));}return _0x442cf2&&_0x33a9f2[_0x5c7781(0x11d)](_0xaa5f81),_0x442cf2;});}[_0x301ce8(0x122)](){const _0xf173c3=_0x301ce8,{editor:_0x258038}=this;_0x258038[_0xf173c3(0x124)][_0xf173c3(0x16d)](_0x159435)[_0xf173c3(0x13c)](_0x1b5331=>this[_0xf173c3(0x126)](_0x1b5331));}[_0x301ce8(0x146)](){const _0x5e2d5f=_0x301ce8;return this[_0x5e2d5f(0x11c)][_0x5e2d5f(0x142)][_0x5e2d5f(0x16d)](_0x5e2d5f(0x15a));}[_0x301ce8(0x12f)](){const _0x2c12b4=_0x301ce8;return this[_0x2c12b4(0x11c)][_0x2c12b4(0x142)][_0x2c12b4(0x16d)](_0x2c12b4(0x178));}[_0x301ce8(0x126)]({container:_0x592ad5,value:_0x107976,digits:_0xfd57f0}){const _0x56106e=_0x301ce8,_0x584a63=_0x592ad5[_0x56106e(0x12c)](_0x56106e(0x158)),_0x1cabf2=_0x592ad5[_0x56106e(0x12c)](_0x56106e(0x168)),_0x8e75a9=Math[_0x56106e(0x139)](_0x107976)+(_0x1cabf2??0x1)-0x1;switch(_0x584a63){case _0x56106e(0x12b):return function(_0x2a87a0,_0x2376b8){const _0x2be5c0=_0x56106e;return String(_0x2a87a0)[_0x2be5c0(0x131)](_0x2376b8,'0');}(_0x8e75a9,Math[_0x56106e(0x14e)](0x2,_0xfd57f0));case _0x56106e(0x14f):case _0x56106e(0x169):return N(_0x8e75a9,!0x1);case _0x56106e(0x14a):case _0x56106e(0x17b):return N(_0x8e75a9,!0x0);case _0x56106e(0x150):return X(_0x8e75a9,!0x1);case _0x56106e(0x14d):return X(_0x8e75a9,!0x0);default:return String(_0x8e75a9);}}}function M(_0x41222c,_0x2ff4f3){const _0x11e732=_0x301ce8,_0x2f03a7=_0x2ff4f3[_0x11e732(0x155)](_0x41222c);return Array[_0x11e732(0x127)](_0x2f03a7[_0x11e732(0x162)]())[_0x11e732(0x176)](_0x2fb27a=>_0x2fb27a['is'](_0x11e732(0x167),'ol')&&_0x2fb27a[_0x11e732(0x151)](_0x11e732(0x130)));}function N(_0x1c6afb,_0x3732e6){const _0x3c6a1c=_0x301ce8;let _0x598722='',_0x590037=_0x1c6afb;for(;_0x590037>0x0;){const _0x3cbd43=(_0x590037-0x1)%0x1a;_0x598722=String[_0x3c6a1c(0x11b)](0x61+_0x3cbd43)+_0x598722,_0x590037=Math[_0x3c6a1c(0x139)]((_0x590037-0x1)/0x1a);}return _0x3732e6?_0x598722[_0x3c6a1c(0x141)]():_0x598722;}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(_0x3074c1,_0x23006e){const _0x2662be=_0x301ce8;let _0x1a94b4='',_0x2c38ac=_0x3074c1;for(const {value:_0xe436ee,numeral:_0x1b5348}of V)for(;_0x2c38ac>=_0xe436ee;)_0x1a94b4+=_0x1b5348,_0x2c38ac-=_0xe436ee;return _0x23006e?_0x1a94b4:_0x1a94b4[_0x2662be(0x128)]();}function _0x245d(){const _0x532c5b=['toLowerCase','type','extend','decimal-leading-zero','getAttribute','getItems','attribute:footnotesListStart:footnotesDefinitions','_getDefaultStartIndex','footnotes-list','padStart','list-style-type','attribute:footnotesListStyle:footnotesDefinitions','viewItem','consumable','requires','model','createRangeOn','floor','define','isNaN','setFootnoteFormatter','modelCursor','consume','removeStyle','footnotesStart','toUpperCase','config','decimal','footnotesDefinitions','isPremiumPlugin','_getDefaultListStyle','960429njRrSd','7oZwiKf','getStyle','upper-alpha','document','1061058ialBQq','upper-roman','max','lower-alpha','lower-roman','hasClass','removeAttribute','449TeYOis','isOfficialPlugin','toViewElement','130TfOVWz','name','footnotesListStyle','1835752JmMALc','footnotes.footnotesProperties.defaultListStyle','_defineConverters','commands','init','start','differ','position','registerPostFixer','getChildren','18464930VinZDJ','item','writer','add','element','footnotesListStart','lower-latin','_defineSchema','parent','for','get','getChanges','$text','setStyle','FootnotesPropertiesEditing','footnotesStyle','parseInt','nodeAfter','setAttribute','find','insert','footnotes.footnotesProperties.defaultStartIndex','_definePostfixer','pluginName','upper-latin','hasAttribute','1288156TwfHXg','3268lKHpPX','schema','checkAttribute','fromCharCode','editor','_updateFootnotesCounters','1249668quhTzO','upcast','10QLwwLt','mapper','_defineFormatter','downcast','plugins','element:ol','_formatFootnoteListValue','from'];_0x245d=function(){return _0x532c5b;};return _0x245d();}
23
+ const _0x21a6c6=_0x4a9c;(function(_0xe16c74,_0x2e8913){const _0x2ed0e4=_0x4a9c,_0x22e31c=_0xe16c74();while(!![]){try{const _0x344ebb=parseInt(_0x2ed0e4(0x9f))/0x1*(-parseInt(_0x2ed0e4(0x88))/0x2)+-parseInt(_0x2ed0e4(0x6e))/0x3*(parseInt(_0x2ed0e4(0xc7))/0x4)+parseInt(_0x2ed0e4(0xca))/0x5*(-parseInt(_0x2ed0e4(0xa4))/0x6)+parseInt(_0x2ed0e4(0x97))/0x7*(parseInt(_0x2ed0e4(0x90))/0x8)+-parseInt(_0x2ed0e4(0x8a))/0x9+parseInt(_0x2ed0e4(0x7a))/0xa+parseInt(_0x2ed0e4(0xbb))/0xb*(parseInt(_0x2ed0e4(0xc0))/0xc);if(_0x344ebb===_0x2e8913)break;else _0x22e31c['push'](_0x22e31c['shift']());}catch(_0x2160e6){_0x22e31c['push'](_0x22e31c['shift']());}}}(_0x1ab9,0x55a5a));function _0x4a9c(_0x2d4040,_0x796f68){const _0x1ab945=_0x1ab9();return _0x4a9c=function(_0x4a9c6e,_0x3e4758){_0x4a9c6e=_0x4a9c6e-0x6a;let _0xc147a7=_0x1ab945[_0x4a9c6e];return _0xc147a7;},_0x4a9c(_0x2d4040,_0x796f68);}import{Plugin as _0x30993c}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0xce45c9}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x223e12}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x2eceb3}from'../footnotestracker.js';import{FootnotesEditing as _0x4277e5}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x30993c{static get[_0x21a6c6(0x6f)](){const _0x45670=_0x21a6c6;return _0x45670(0xc9);}static get[_0x21a6c6(0xa1)](){return[_0x4277e5,_0x2eceb3];}static get[_0x21a6c6(0x8e)](){return!0x0;}static get[_0x21a6c6(0xa0)](){return!0x0;}[_0x21a6c6(0xaa)](){const _0x1c2d00=_0x21a6c6,{editor:_0x39606d}=this;_0x39606d[_0x1c2d00(0x76)][_0x1c2d00(0x81)](_0x1c2d00(0xc3),_0x1c2d00(0xb7)),_0x39606d[_0x1c2d00(0x76)][_0x1c2d00(0x81)](_0x1c2d00(0xb0),0x1),_0x39606d[_0x1c2d00(0xb2)][_0x1c2d00(0x9b)](_0x1c2d00(0x8b),new _0xce45c9(_0x39606d)),_0x39606d[_0x1c2d00(0xb2)][_0x1c2d00(0x9b)](_0x1c2d00(0x73),new _0x223e12(_0x39606d)),this[_0x1c2d00(0x86)](),this[_0x1c2d00(0xbe)](),this[_0x1c2d00(0xa5)](),this[_0x1c2d00(0xb5)]();}[_0x21a6c6(0x86)](){const _0x19c1e5=_0x21a6c6,{editor:_0x334a83}=this,{schema:_0x5b8a9a}=_0x334a83[_0x19c1e5(0x8f)];_0x5b8a9a[_0x19c1e5(0x7d)](_0x19c1e5(0x92),{'allowAttributes':[_0x19c1e5(0x6c),_0x19c1e5(0xcf)]});}[_0x21a6c6(0xbe)](){const _0x184a11=_0x21a6c6,{editor:_0x15a8dc}=this,{conversion:_0x4cc8f9,model:_0x2b3007}=_0x15a8dc,{schema:_0x579bdd}=_0x2b3007;_0x4cc8f9[_0x184a11(0x8d)](_0x184a11(0x71))[_0x184a11(0x9b)](_0x365836=>{const _0x3ff1ac=_0x184a11;_0x365836['on'](_0x3ff1ac(0x75),(_0x3ddff0,_0x25b20f,_0x264947)=>{const _0xf9cfa7=_0x3ff1ac,_0x3233e7=_0x25b20f[_0xf9cfa7(0x93)],_0x1ef257=_0x25b20f[_0xf9cfa7(0x9e)]?.[_0xf9cfa7(0xb1)];_0x3233e7[_0xf9cfa7(0x89)](_0xf9cfa7(0x96))&&_0x1ef257?.['is'](_0xf9cfa7(0x9a),_0xf9cfa7(0x92))&&(function(_0x285c9c,_0x2498df,_0x110cb3,_0x216f5f){const _0x4d12af=_0xf9cfa7;if(!_0x216f5f[_0x4d12af(0xa3)](_0x2498df,_0x4d12af(0xcf)))return;let _0x492dba=0x1;const _0x1d03d8=_0x110cb3[_0x4d12af(0xc6)][_0x4d12af(0x91)](_0x285c9c,{'attributes':_0x4d12af(0x8c)});if(_0x1d03d8){const _0x1f85fe=Number[_0x4d12af(0x72)](_0x285c9c[_0x4d12af(0x79)](_0x4d12af(0x8c)),0xa);Number[_0x4d12af(0x9d)](_0x1f85fe)||(_0x492dba=_0x1f85fe);}!_0x1d03d8&&_0x2498df[_0x4d12af(0xb6)](_0x4d12af(0xcf))||_0x110cb3[_0x4d12af(0x7f)][_0x4d12af(0x6b)](_0x4d12af(0xcf),_0x492dba,_0x2498df);}(_0x3233e7,_0x1ef257,_0x264947,_0x579bdd),function(_0x5aaac0,_0x574f35,_0x10b6d0,_0x10fd66){const _0x42262a=_0xf9cfa7;if(!_0x10fd66[_0x42262a(0xa3)](_0x574f35,_0x42262a(0x6c)))return;let _0x215bb6=_0x42262a(0xb7),_0x4ac3ee=!0x1;if(_0x10b6d0[_0x42262a(0xc6)][_0x42262a(0x91)](_0x5aaac0,{'attributes':_0x42262a(0xb8)})){const _0x1c41a9={0x1:_0x42262a(0xb7),'a':_0x42262a(0xb9),'A':_0x42262a(0xc4),'i':_0x42262a(0xbf),'I':_0x42262a(0xc2)}[_0x5aaac0[_0x42262a(0x79)](_0x42262a(0xb8))];_0x1c41a9&&(_0x215bb6=_0x1c41a9),_0x4ac3ee=!0x0;}_0x10b6d0[_0x42262a(0xc6)][_0x42262a(0x91)](_0x5aaac0,{'styles':_0x42262a(0x9c)})&&(_0x215bb6=function(_0xc8957b){const _0x1b2863=_0x42262a;switch(_0xc8957b){case _0x1b2863(0xb9):return _0x1b2863(0xa9);case _0x1b2863(0xc4):return _0x1b2863(0x74);default:return _0xc8957b;}}(_0x5aaac0[_0x42262a(0x7b)](_0x42262a(0x9c))),_0x4ac3ee=!0x0),!_0x4ac3ee&&_0x574f35[_0x42262a(0xb6)](_0x42262a(0x6c))||_0x10b6d0[_0x42262a(0x7f)][_0x42262a(0x6b)](_0x42262a(0x6c),_0x215bb6,_0x574f35);}(_0x3233e7,_0x1ef257,_0x264947,_0x579bdd));});}),_0x4cc8f9[_0x184a11(0x8d)](_0x184a11(0x7e))[_0x184a11(0x9b)](_0x121ba5=>{const _0x4ba057=_0x184a11;_0x121ba5['on'](_0x4ba057(0x7c),(_0x48b9cb,_0x4675c8,_0xefd2c4)=>{const _0x3ff1e5=_0x4ba057;if(!_0xefd2c4[_0x3ff1e5(0xc6)][_0x3ff1e5(0x91)](_0x4675c8[_0x3ff1e5(0xbc)],_0x48b9cb[_0x3ff1e5(0xa8)]))return;const _0x1b2ec7=M(_0x4675c8[_0x3ff1e5(0xbc)],_0xefd2c4[_0x3ff1e5(0xc5)]),{attributeNewValue:_0x582c9b}=_0x4675c8;null==_0x582c9b||0x1===_0x582c9b?_0xefd2c4[_0x3ff1e5(0x7f)][_0x3ff1e5(0x77)](_0x3ff1e5(0x8c),_0x1b2ec7):_0xefd2c4[_0x3ff1e5(0x7f)][_0x3ff1e5(0x6b)](_0x3ff1e5(0x8c),String(_0x582c9b),_0x1b2ec7);}),_0x121ba5['on'](_0x4ba057(0x84),(_0x530a75,_0x149acf,_0x484478)=>{const _0x2424ce=_0x4ba057;if(!_0x484478[_0x2424ce(0xc6)][_0x2424ce(0x91)](_0x149acf[_0x2424ce(0xbc)],_0x530a75[_0x2424ce(0xa8)]))return;const _0x4fc03b=M(_0x149acf[_0x2424ce(0xbc)],_0x484478[_0x2424ce(0xc5)]),{attributeNewValue:_0x150e4f}=_0x149acf;_0x150e4f&&_0x2424ce(0xb7)!==_0x150e4f?_0x484478[_0x2424ce(0x7f)][_0x2424ce(0x70)](_0x2424ce(0x9c),_0x150e4f,_0x4fc03b):_0x484478[_0x2424ce(0x7f)][_0x2424ce(0xae)](_0x2424ce(0x9c),_0x4fc03b);});});}[_0x21a6c6(0xb5)](){const _0x366073=_0x21a6c6,{editor:_0x56a293}=this,{model:_0x19c1d5}=_0x56a293,_0x280f80=_0x56a293[_0x366073(0xac)][_0x366073(0xab)](_0x2eceb3),_0x9f4c0f=this[_0x366073(0xce)](),_0x559c32=this[_0x366073(0x95)]();_0x19c1d5[_0x366073(0xbd)][_0x366073(0xcc)](_0x36014c=>{const _0x2b89f0=_0x366073,_0x59cd4b=_0x19c1d5[_0x2b89f0(0xbd)][_0x2b89f0(0xa7)][_0x2b89f0(0x83)]();let _0x475061=!0x1;for(const _0x4e50c5 of _0x59cd4b){if(_0x2b89f0(0xc1)!==_0x4e50c5[_0x2b89f0(0xb8)]||_0x2b89f0(0xc8)===_0x4e50c5[_0x2b89f0(0xa8)])continue;const _0x39d4a7=_0x19c1d5[_0x2b89f0(0x94)](_0x4e50c5[_0x2b89f0(0xaf)][_0x2b89f0(0xad)]);for(const _0x2e594b of _0x39d4a7[_0x2b89f0(0x99)]())_0x2e594b['is'](_0x2b89f0(0x9a),_0x2b89f0(0x92))&&(!_0x2e594b[_0x2b89f0(0xb6)](_0x2b89f0(0xcf))&&_0x19c1d5[_0x2b89f0(0xcd)][_0x2b89f0(0xa3)](_0x2e594b,_0x2b89f0(0xcf))&&(_0x36014c[_0x2b89f0(0x6b)](_0x2b89f0(0xcf),_0x559c32,_0x2e594b),_0x475061=!0x0),!_0x2e594b[_0x2b89f0(0xb6)](_0x2b89f0(0x6c))&&_0x19c1d5[_0x2b89f0(0xcd)][_0x2b89f0(0xa3)](_0x2e594b,_0x2b89f0(0x6c))&&(_0x36014c[_0x2b89f0(0x6b)](_0x2b89f0(0x6c),_0x9f4c0f,_0x2e594b),_0x475061=!0x0));}return _0x475061&&_0x280f80[_0x2b89f0(0xb3)](_0x36014c),_0x475061;});}[_0x21a6c6(0xa5)](){const _0x484356=_0x21a6c6,{editor:_0x4a29aa}=this;_0x4a29aa[_0x484356(0xac)][_0x484356(0xab)](_0x2eceb3)[_0x484356(0x98)](_0x1c4761=>this[_0x484356(0x82)](_0x1c4761));}[_0x21a6c6(0xce)](){const _0x4d7a1b=_0x21a6c6;return this[_0x4d7a1b(0x87)][_0x4d7a1b(0x76)][_0x4d7a1b(0xab)](_0x4d7a1b(0xc3));}[_0x21a6c6(0x95)](){const _0x2d44b9=_0x21a6c6;return this[_0x2d44b9(0x87)][_0x2d44b9(0x76)][_0x2d44b9(0xab)](_0x2d44b9(0xb0));}[_0x21a6c6(0x82)]({container:_0x42fcbb,value:_0x19a607,digits:_0x50d661}){const _0x141e10=_0x21a6c6,_0x3a7551=_0x42fcbb[_0x141e10(0x79)](_0x141e10(0x6c)),_0x158ab5=_0x42fcbb[_0x141e10(0x79)](_0x141e10(0xcf)),_0x48b243=Math[_0x141e10(0x85)](_0x19a607)+(_0x158ab5??0x1)-0x1;switch(_0x3a7551){case _0x141e10(0xd0):return function(_0xb5c1ab,_0x427875){const _0x37827b=_0x141e10;return String(_0xb5c1ab)[_0x37827b(0xcb)](_0x427875,'0');}(_0x48b243,Math[_0x141e10(0xa2)](0x2,_0x50d661));case _0x141e10(0xb9):case _0x141e10(0xa9):return N(_0x48b243,!0x1);case _0x141e10(0xc4):case _0x141e10(0x74):return N(_0x48b243,!0x0);case _0x141e10(0xbf):return X(_0x48b243,!0x1);case _0x141e10(0xc2):return X(_0x48b243,!0x0);default:return String(_0x48b243);}}}function M(_0x3b08e4,_0x3938d6){const _0x10ab15=_0x21a6c6,_0x45f7d1=_0x3938d6[_0x10ab15(0x80)](_0x3b08e4);return Array[_0x10ab15(0xa6)](_0x45f7d1[_0x10ab15(0x6d)]())[_0x10ab15(0xba)](_0x5b1222=>_0x5b1222['is'](_0x10ab15(0x9a),'ol')&&_0x5b1222[_0x10ab15(0x89)](_0x10ab15(0x96)));}function _0x1ab9(){const _0x4ef797=['insert','upper-roman','footnotes.footnotesProperties.defaultListStyle','upper-alpha','mapper','consumable','17428gUxxdq','$text','FootnotesPropertiesEditing','11065LxIqgd','padStart','registerPostFixer','schema','_getDefaultListStyle','footnotesListStart','decimal-leading-zero','toLowerCase','setAttribute','footnotesListStyle','getChildren','387XZaYSx','pluginName','setStyle','upcast','parseInt','footnotesStart','upper-latin','element:ol','config','removeAttribute','fromCharCode','getAttribute','3771610lpXsqu','getStyle','attribute:footnotesListStart:footnotesDefinitions','extend','downcast','writer','toViewElement','define','_formatFootnoteListValue','getChanges','attribute:footnotesListStyle:footnotesDefinitions','floor','_defineSchema','editor','124kernAL','hasClass','4896153vlmYgZ','footnotesStyle','start','for','isOfficialPlugin','model','40mIsYRQ','consume','footnotesDefinitions','viewItem','createRangeOn','_getDefaultStartIndex','footnotes-list','615615YHQwlX','setFootnoteFormatter','getItems','element','add','list-style-type','isNaN','modelCursor','2803CcevYL','isPremiumPlugin','requires','max','checkAttribute','1446PaORox','_defineFormatter','from','differ','name','lower-latin','init','get','plugins','nodeAfter','removeStyle','position','footnotes.footnotesProperties.defaultStartIndex','parent','commands','_updateFootnotesCounters','toUpperCase','_definePostfixer','hasAttribute','decimal','type','lower-alpha','find','11SDPwlE','item','document','_defineConverters','lower-roman','16165356INrZQN'];_0x1ab9=function(){return _0x4ef797;};return _0x1ab9();}function N(_0x24f1f0,_0x7b2812){const _0x6ee789=_0x21a6c6;let _0x313a92='',_0x55f98b=_0x24f1f0;for(;_0x55f98b>0x0;){const _0x29d9ed=(_0x55f98b-0x1)%0x1a;_0x313a92=String[_0x6ee789(0x78)](0x61+_0x29d9ed)+_0x313a92,_0x55f98b=Math[_0x6ee789(0x85)]((_0x55f98b-0x1)/0x1a);}return _0x7b2812?_0x313a92[_0x6ee789(0xb4)]():_0x313a92;}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(_0x15b067,_0x30c0e9){const _0x516dc7=_0x21a6c6;let _0x2a4ace='',_0x34ea43=_0x15b067;for(const {value:_0x275ad4,numeral:_0x17ca96}of V)for(;_0x34ea43>=_0x275ad4;)_0x2a4ace+=_0x17ca96,_0x34ea43-=_0x275ad4;return _0x30c0e9?_0x2a4ace:_0x2a4ace[_0x516dc7(0x6a)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x2db9ac,ButtonView as _0x5d5e34,ContextualBalloon as _0x2b9ea4,createDropdown as _0x14931c}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x6f8065}from'ckeditor5/src/widget.js';import{Plugin as _0x528087}from'ckeditor5/src/core.js';import{IconFootnote as _0x1de472,IconListStyleDecimal as _0x1f6f68,IconListStyleDecimalLeadingZero as _0x159c78,IconListStyleLowerLatin as _0x54d4a6,IconListStyleLowerRoman as _0x227f09,IconListStyleUpperLatin as _0x173942,IconListStyleUpperRoman as _0x4e0204}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x22a8a1}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x39f941}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x528087{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2b9ea4,_0x6f8065];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x348b6d}=this,{componentFactory:_0x415370}=_0x348b6d['ui'];_0x348b6d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x415370['add']('footnotesStyle',function(_0x3c09a8){return _0x55784b=>{const {t:t}=_0x55784b,_0x3077b4=_0x3c09a8['commands']['get']('footnotesStyle'),_0x34fc3a=_0x14931c(_0x55784b),{buttonView:_0x413147}=_0x34fc3a;return _0x34fc3a['class']='ck-footnotes-styles-dropdown',_0x34fc3a['bind']('isEnabled')['to'](_0x3077b4,'isEnabled'),_0x413147['set']({'label':t('Footnotes\x20style'),'icon':_0x1de472,'tooltip':!0x0}),_0x34fc3a['once']('change:isOpen',()=>{const _0x44835a=function({editor:_0x3896d9,dropdownView:_0x7b23ca}){const {t:t}=_0x3896d9['locale'],_0x1523f4=t('Footnotes\x20definitions\x20styles'),_0x407b63=function(_0x3cde50){const t=_0x3cde50['locale']['t'],_0x3f5d10=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1f6f68},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x159c78},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x227f09},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4e0204},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x54d4a6},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x173942}];return _0x3f5d10['map'](function(_0x1b98fe){const _0x580fd1=_0x1b98fe['locale'];return({label:_0x4bc232,icon:_0x5948eb,tooltip:_0x183665,style:_0x35c711})=>{const _0x5939f0=_0x1b98fe['commands']['get']('footnotesStyle'),_0x1d3fc4=new _0x5d5e34(_0x580fd1);return _0x1d3fc4['set']({'label':_0x4bc232,'icon':_0x5948eb,'tooltip':_0x183665}),_0x1d3fc4['bind']('isOn')['to'](_0x5939f0,'value',_0x2e5110=>_0x2e5110===_0x35c711),_0x1d3fc4['bind']('isEnabled')['to'](_0x5939f0,'isEnabled'),_0x1d3fc4['on']('execute',()=>{_0x1b98fe['execute']('footnotesStyle',{'value':_0x35c711}),_0x1b98fe['editing']['view']['focus']();}),_0x1d3fc4;};}(_0x3cde50));}(_0x3896d9),_0xe9625b=new _0x22a8a1(_0x3896d9['locale'],{'styleGridAriaLabel':_0x1523f4,'styleButtonViews':_0x407b63}),_0x537326=_0x3896d9['commands']['get']('footnotesStart');return _0xe9625b['startIndexFieldView']['bind']('isEnabled')['to'](_0x537326),_0xe9625b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x537326),_0xe9625b['on']('footnotesListStart',(_0x23688c,_0x548170)=>{_0x3896d9['execute']('footnotesStart',{'value':_0x548170['startIndex']});}),_0xe9625b['delegate']('execute')['to'](_0x7b23ca),_0xe9625b;}({'editor':_0x3c09a8,'dropdownView':_0x34fc3a});_0x34fc3a['panelView']['children']['add'](_0x44835a);}),_0x34fc3a;};}(_0x348b6d));}['afterInit'](){const {editor:_0xa44576}=this,{t:t}=_0xa44576['locale'],_0x279cbd=_0xa44576['plugins']['get'](_0x6f8065),{defaultPositions:_0x4fd226}=_0x2db9ac;_0x279cbd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xa44576['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x541968=>{let _0x386fb8=_0x541968['getFirstPosition']()?.['parent'];return _0x386fb8?.['is']('$text')&&(_0x386fb8=_0x386fb8['parent']),_0x386fb8?.['is']('element')?_0x386fb8['findAncestor'](_0x39f941):null;},'positions':[_0x4fd226['southArrowNorth'],_0x4fd226['southArrowNorthMiddleWest'],_0x4fd226['southArrowNorthMiddleEast'],_0x4fd226['southArrowNorthWest'],_0x4fd226['southArrowNorthEast'],_0x4fd226['northArrowSouth'],_0x4fd226['northArrowSouthMiddleWest'],_0x4fd226['northArrowSouthMiddleEast'],_0x4fd226['northArrowSouthWest'],_0x4fd226['northArrowSouthEast'],_0x4fd226['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x324796,ButtonView as _0x124ad1,ContextualBalloon as _0x77af1d,createDropdown as _0x208444}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x352e02}from'ckeditor5/src/widget.js';import{Plugin as _0x1b61a1}from'ckeditor5/src/core.js';import{IconFootnote as _0x458212,IconListStyleDecimal as _0x142119,IconListStyleDecimalLeadingZero as _0xe864e,IconListStyleLowerLatin as _0x5d64f9,IconListStyleLowerRoman as _0x16c911,IconListStyleUpperLatin as _0x37971f,IconListStyleUpperRoman as _0x9b95e2}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3cc83f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x14b0a0}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1b61a1{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x77af1d,_0x352e02];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x274b85}=this,{componentFactory:_0x12a6f5}=_0x274b85['ui'];_0x274b85['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x12a6f5['add']('footnotesStyle',function(_0x14af42){return _0x18b4bd=>{const {t:t}=_0x18b4bd,_0x503bb3=_0x14af42['commands']['get']('footnotesStyle'),_0x16b67f=_0x208444(_0x18b4bd),{buttonView:_0x40031e}=_0x16b67f;return _0x16b67f['class']='ck-footnotes-styles-dropdown',_0x16b67f['bind']('isEnabled')['to'](_0x503bb3,'isEnabled'),_0x40031e['set']({'label':t('Footnotes\x20style'),'icon':_0x458212,'tooltip':!0x0}),_0x16b67f['once']('change:isOpen',()=>{const _0x5e2a1a=function({editor:_0x51c975,dropdownView:_0x1066de}){const {t:t}=_0x51c975['locale'],_0x2c6844=t('Footnotes\x20definitions\x20styles'),_0xaac0a3=function(_0x184866){const t=_0x184866['locale']['t'],_0x25d364=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x142119},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xe864e},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x16c911},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x9b95e2},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5d64f9},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x37971f}];return _0x25d364['map'](function(_0xf2e042){const _0x29f6c9=_0xf2e042['locale'];return({label:_0x2a2c61,icon:_0x3a1880,tooltip:_0x4853cc,style:_0x480d2d})=>{const _0x8a3c08=_0xf2e042['commands']['get']('footnotesStyle'),_0x3fb518=new _0x124ad1(_0x29f6c9);return _0x3fb518['set']({'label':_0x2a2c61,'icon':_0x3a1880,'tooltip':_0x4853cc}),_0x3fb518['bind']('isOn')['to'](_0x8a3c08,'value',_0x5ab936=>_0x5ab936===_0x480d2d),_0x3fb518['bind']('isEnabled')['to'](_0x8a3c08,'isEnabled'),_0x3fb518['on']('execute',()=>{_0xf2e042['execute']('footnotesStyle',{'value':_0x480d2d}),_0xf2e042['editing']['view']['focus']();}),_0x3fb518;};}(_0x184866));}(_0x51c975),_0x267807=new _0x3cc83f(_0x51c975['locale'],{'styleGridAriaLabel':_0x2c6844,'styleButtonViews':_0xaac0a3}),_0xff3cb8=_0x51c975['commands']['get']('footnotesStart');return _0x267807['startIndexFieldView']['bind']('isEnabled')['to'](_0xff3cb8),_0x267807['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xff3cb8),_0x267807['on']('footnotesListStart',(_0x48215f,_0x278b2b)=>{_0x51c975['execute']('footnotesStart',{'value':_0x278b2b['startIndex']});}),_0x267807['delegate']('execute')['to'](_0x1066de),_0x267807;}({'editor':_0x14af42,'dropdownView':_0x16b67f});_0x16b67f['panelView']['children']['add'](_0x5e2a1a);}),_0x16b67f;};}(_0x274b85));}['afterInit'](){const {editor:_0x3b3d75}=this,{t:t}=_0x3b3d75['locale'],_0x5e6ef6=_0x3b3d75['plugins']['get'](_0x352e02),{defaultPositions:_0x5c8ee1}=_0x324796;_0x5e6ef6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3b3d75['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5ad06d=>{let _0x320299=_0x5ad06d['getFirstPosition']()?.['parent'];return _0x320299?.['is']('$text')&&(_0x320299=_0x320299['parent']),_0x320299?.['is']('element')?_0x320299['findAncestor'](_0x14b0a0):null;},'positions':[_0x5c8ee1['southArrowNorth'],_0x5c8ee1['southArrowNorthMiddleWest'],_0x5c8ee1['southArrowNorthMiddleEast'],_0x5c8ee1['southArrowNorthWest'],_0x5c8ee1['southArrowNorthEast'],_0x5c8ee1['northArrowSouth'],_0x5c8ee1['northArrowSouthMiddleWest'],_0x5c8ee1['northArrowSouthMiddleEast'],_0x5c8ee1['northArrowSouthWest'],_0x5c8ee1['northArrowSouthEast'],_0x5c8ee1['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5d71e5,View as _0x23a1f4,ViewCollection as _0x36a1,FocusCycler as _0x12777a,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 _0x23a1f4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x36a1();['focusCycler'];constructor(_0x21e5e7,{styleButtonViews:_0x4be302,styleGridAriaLabel:_0x562961}){super(_0x21e5e7),(this['focusCycler']=new _0x12777a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4be302,_0x562961),[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 _0x5f30a8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5f30a8['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 _0x48baf1=_0x1b9244=>_0x1b9244['stopPropagation']();this['keystrokes']['set']('arrowright',_0x48baf1),this['keystrokes']['set']('arrowleft',_0x48baf1),this['keystrokes']['set']('arrowup',_0x48baf1),this['keystrokes']['set']('arrowdown',_0x48baf1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5380d7,_0x5c8374){const _0x5c6b39=new _0x23a1f4(this['locale']);return _0x5c6b39['children']=_0x5c6b39['createCollection'](),_0x5c6b39['children']['addMany'](_0x5380d7),_0x5c6b39['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5c8374,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5c6b39['children']}),_0x5c6b39['children']['delegate']('execute')['to'](this),_0x5c6b39['focus']=function(){for(const _0x381f06 of this['children'])if(_0x381f06 instanceof _0x5d71e5&&_0x381f06['isOn'])return void _0x381f06['focus']();this['children']['first']['focus']();},_0x5c6b39['focusTracker']=new ot(),_0x5c6b39['keystrokes']=new rt(),_0x5c6b39['render'](),_0x5c6b39['keystrokes']['listenTo'](_0x5c6b39['element']),this['children']['add'](_0x5c6b39),_0x5c6b39;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x100066=this['_createStartIndexPropertyView'](),_0xf21a6e=[_0x100066],_0x430f18=new st(this['locale'],_0xf21a6e);return _0x430f18['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x430f18['buttonView']['bind']('isEnabled')['toMany'](_0xf21a6e,'isEnabled',(..._0x5a38e4)=>_0x5a38e4['some'](_0x5e56ba=>_0x5e56ba)),_0x430f18['buttonView']['on']('change:isEnabled',(_0x37b7e1,_0x5564f5,_0x114e6a)=>{_0x114e6a||(_0x430f18['isCollapsed']=!0x0);}),this['children']['add'](_0x430f18),[_0x100066,_0x430f18];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2e6653=new it(this['locale'],et);return _0x2e6653['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2e6653['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2e6653['fieldView']['on']('input',()=>{const _0x422484=_0x2e6653['fieldView']['element'],_0x5980e6=_0x422484['valueAsNumber'];Number['isNaN'](_0x5980e6)?_0x2e6653['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x422484['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5980e6}):_0x2e6653['errorText']=t(_0x5980e6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2e6653;}}
23
+ import{ButtonView as _0x117cf4,View as _0x192924,ViewCollection as _0x4dd00f,FocusCycler as _0x7a153d,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 _0x192924{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x4dd00f();['focusCycler'];constructor(_0x14b1e1,{styleButtonViews:_0x49051d,styleGridAriaLabel:_0x3e2737}){super(_0x14b1e1),(this['focusCycler']=new _0x7a153d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x49051d,_0x3e2737),[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 _0x171796 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x171796['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 _0x278cae=_0x48bb63=>_0x48bb63['stopPropagation']();this['keystrokes']['set']('arrowright',_0x278cae),this['keystrokes']['set']('arrowleft',_0x278cae),this['keystrokes']['set']('arrowup',_0x278cae),this['keystrokes']['set']('arrowdown',_0x278cae);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xf8d5f6,_0x5176ec){const _0x5b040c=new _0x192924(this['locale']);return _0x5b040c['children']=_0x5b040c['createCollection'](),_0x5b040c['children']['addMany'](_0xf8d5f6),_0x5b040c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5176ec,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5b040c['children']}),_0x5b040c['children']['delegate']('execute')['to'](this),_0x5b040c['focus']=function(){for(const _0xed5efc of this['children'])if(_0xed5efc instanceof _0x117cf4&&_0xed5efc['isOn'])return void _0xed5efc['focus']();this['children']['first']['focus']();},_0x5b040c['focusTracker']=new ot(),_0x5b040c['keystrokes']=new rt(),_0x5b040c['render'](),_0x5b040c['keystrokes']['listenTo'](_0x5b040c['element']),this['children']['add'](_0x5b040c),_0x5b040c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x52d2f4=this['_createStartIndexPropertyView'](),_0x59868d=[_0x52d2f4],_0x6535be=new st(this['locale'],_0x59868d);return _0x6535be['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x6535be['buttonView']['bind']('isEnabled')['toMany'](_0x59868d,'isEnabled',(..._0x45b7d4)=>_0x45b7d4['some'](_0x10f4ce=>_0x10f4ce)),_0x6535be['buttonView']['on']('change:isEnabled',(_0x488e6c,_0x3701e0,_0x2c634f)=>{_0x2c634f||(_0x6535be['isCollapsed']=!0x0);}),this['children']['add'](_0x6535be),[_0x52d2f4,_0x6535be];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2868c1=new it(this['locale'],et);return _0x2868c1['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2868c1['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2868c1['fieldView']['on']('input',()=>{const _0xcfaaba=_0x2868c1['fieldView']['element'],_0x27822d=_0xcfaaba['valueAsNumber'];Number['isNaN'](_0x27822d)?_0x2868c1['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xcfaaba['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x27822d}):_0x2868c1['errorText']=t(_0x27822d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2868c1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x547c60=_0x1b7f;(function(_0x20d8cc,_0x192d13){var _0x33d982=_0x1b7f,_0x5574fb=_0x20d8cc();while(!![]){try{var _0xa425bf=-parseInt(_0x33d982(0x126))/0x1*(parseInt(_0x33d982(0x118))/0x2)+-parseInt(_0x33d982(0x11d))/0x3*(-parseInt(_0x33d982(0x122))/0x4)+parseInt(_0x33d982(0x124))/0x5+-parseInt(_0x33d982(0x11f))/0x6*(-parseInt(_0x33d982(0x11b))/0x7)+-parseInt(_0x33d982(0x125))/0x8*(parseInt(_0x33d982(0x119))/0x9)+parseInt(_0x33d982(0x11a))/0xa+-parseInt(_0x33d982(0x11e))/0xb;if(_0xa425bf===_0x192d13)break;else _0x5574fb['push'](_0x5574fb['shift']());}catch(_0x1396b9){_0x5574fb['push'](_0x5574fb['shift']());}}}(_0x36fc,0x1ab91));import{Plugin as _0x1e3a19}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x3fafee}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1b7f(_0x48d8d9,_0x1db9fb){var _0x36fc84=_0x36fc();return _0x1b7f=function(_0x1b7f44,_0x21fa3f){_0x1b7f44=_0x1b7f44-0x118;var _0x2a6fb9=_0x36fc84[_0x1b7f44];return _0x2a6fb9;},_0x1b7f(_0x48d8d9,_0x1db9fb);}import{FootnotesPropertiesUI as _0x2f6855}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1e3a19{static get[_0x547c60(0x11c)](){var _0x432166=_0x547c60;return _0x432166(0x121);}static get[_0x547c60(0x123)](){return[_0x3fafee,_0x2f6855];}static get[_0x547c60(0x120)](){return!0x0;}static get[_0x547c60(0x127)](){return!0x0;}}function _0x36fc(){var _0x35ed27=['isPremiumPlugin','372954sZUXPq','9jjfWEG','1704120heMSyZ','7PRzAov','pluginName','9uDPxxJ','849827DblYiz','268722tuRQtW','isOfficialPlugin','FootnotesProperties','126780ItzXzv','requires','931015MWOrul','986368fNDDms','1AyiYDe'];_0x36fc=function(){return _0x35ed27;};return _0x36fc();}
23
+ var _0x11fc66=_0x4450;(function(_0x5de5e9,_0x217411){var _0xb6afc4=_0x4450,_0x3476c7=_0x5de5e9();while(!![]){try{var _0xa3a0c3=parseInt(_0xb6afc4(0x156))/0x1+parseInt(_0xb6afc4(0x151))/0x2*(-parseInt(_0xb6afc4(0x15a))/0x3)+parseInt(_0xb6afc4(0x153))/0x4+parseInt(_0xb6afc4(0x152))/0x5+-parseInt(_0xb6afc4(0x159))/0x6+parseInt(_0xb6afc4(0x157))/0x7+parseInt(_0xb6afc4(0x155))/0x8*(-parseInt(_0xb6afc4(0x150))/0x9);if(_0xa3a0c3===_0x217411)break;else _0x3476c7['push'](_0x3476c7['shift']());}catch(_0x4e7f54){_0x3476c7['push'](_0x3476c7['shift']());}}}(_0x3df1,0x78b0a));import{Plugin as _0x27e7b3}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x524a71}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x5b337f}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x27e7b3{static get[_0x11fc66(0x14e)](){var _0x2e4ab5=_0x11fc66;return _0x2e4ab5(0x154);}static get[_0x11fc66(0x14f)](){return[_0x524a71,_0x5b337f];}static get[_0x11fc66(0x14d)](){return!0x0;}static get[_0x11fc66(0x158)](){return!0x0;}}function _0x4450(_0x2d48ed,_0x470854){var _0x3df18a=_0x3df1();return _0x4450=function(_0x445074,_0xbb391f){_0x445074=_0x445074-0x14d;var _0x4d99ae=_0x3df18a[_0x445074];return _0x4d99ae;},_0x4450(_0x2d48ed,_0x470854);}function _0x3df1(){var _0xcea8e=['8gMFrjd','345485aVbbyC','2319051vYenlA','isPremiumPlugin','2174862GuxOqw','392505PQOPsR','isOfficialPlugin','pluginName','requires','8869050QHhmsn','2XXtsOe','2522680KMgnrm','3167176pTVpvg','FootnotesProperties'];_0x3df1=function(){return _0xcea8e;};return _0x3df1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x585aa6=_0xd379;(function(_0x14215b,_0x12bfca){const _0x3ecbd0=_0xd379,_0x398c18=_0x14215b();while(!![]){try{const _0x41cf98=parseInt(_0x3ecbd0(0x10e))/0x1+-parseInt(_0x3ecbd0(0x134))/0x2+-parseInt(_0x3ecbd0(0x14b))/0x3+-parseInt(_0x3ecbd0(0x12e))/0x4*(parseInt(_0x3ecbd0(0x10c))/0x5)+-parseInt(_0x3ecbd0(0x14a))/0x6+parseInt(_0x3ecbd0(0x11d))/0x7+parseInt(_0x3ecbd0(0x156))/0x8;if(_0x41cf98===_0x12bfca)break;else _0x398c18['push'](_0x398c18['shift']());}catch(_0x3d3d0a){_0x398c18['push'](_0x398c18['shift']());}}}(_0x1804,0x9eb6f));function _0x1804(){const _0x4a3c56=['3301842xOCrSW','1718454AkcXjj','paragraph','add','$graveyard','document','splice','setAttribute','pluginName','rootName','remove','footnoteDefinition','8694688WxuXHj','parent','enqueueChange','getAttribute','get','findIndex','reset','_footnotes','high','getFootnotesFormatter','definition','createPositionBefore','setFootnoteFormatter','_handleMovedFootnoteReference','change:data','low','_ensureFootnotesDefinitionsContainerExists','getFootnote','_handleFootnoteReferencesChanges','getRootNames','reference','_footnoteDefsContainerTracker','unshift','isEqual','getFootnotes','10ZBHiSV','move','977592JxKpIb','_updateFootnotesCounters','registerPostFixer','_footnoteFormatter','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectSync','createRangeOn','_footnotesDefinitions','_footnoteRefsTracker','footnoteInlineContent','set','find','editor','_handleFootnotesDefinitionsObjectChanges','listenTo','2180780caCHKf','end','from','isPremiumPlugin','getChildren','init','push','differ','compareWith','footnotes.multiBlock','insert','config','before','createElement','some','_handleFootnoteDefinitionsChanges','_handleRemoveFootnoteReferenceById','286820aMRIdW','_handleInsertedFootnoteReference','append','isOfficialPlugin','_sortFootnoteDefinitions','singleton','918676BlDJlF','model','createRangeIn','root','getFootnotesDefinitionsObjectElement','after','getChanges','_footnoteDefsTracker','footnoteRef','min','length','footnoteId','_ensureFootnotesReferencesHaveProperOrder','has','createPositionAt','map','footnotesDefinitions','childCount','FootnotesTracker','_insertEmptyFootnotesDefinitionsContainer','indexOf','footnoteCounter'];_0x1804=function(){return _0x4a3c56;};return _0x1804();}function _0xd379(_0xe3d692,_0x4f2b53){const _0x1804f3=_0x1804();return _0xd379=function(_0xd37938,_0x4c8ebd){_0xd37938=_0xd37938-0x10c;let _0x31b1c1=_0x1804f3[_0xd37938];return _0x31b1c1;},_0xd379(_0xe3d692,_0x4f2b53);}import{Plugin as _0x5bbda2}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x44b3d2}from'./modelelementtracker.js';export class FootnotesTracker extends _0x5bbda2{[_0x585aa6(0x15d)]=[];[_0x585aa6(0x115)]=null;[_0x585aa6(0x111)]=null;[_0x585aa6(0x16b)];[_0x585aa6(0x116)];[_0x585aa6(0x13b)];static get[_0x585aa6(0x152)](){const _0x31d8e8=_0x585aa6;return _0x31d8e8(0x146);}static get[_0x585aa6(0x131)](){return!0x0;}static get[_0x585aa6(0x120)](){return!0x0;}constructor(_0x5d7524){const _0x441c93=_0x585aa6;super(_0x5d7524),this[_0x441c93(0x16b)]=new _0x44b3d2(this[_0x441c93(0x11a)][_0x441c93(0x135)],{'elementName':_0x441c93(0x144),'getElementKey':()=>_0x441c93(0x133)}),this[_0x441c93(0x116)]=new _0x44b3d2(this[_0x441c93(0x11a)][_0x441c93(0x135)],{'elementName':_0x441c93(0x13c),'getElementKey':_0x32d12b=>_0x32d12b[_0x441c93(0x159)](_0x441c93(0x13f))}),this[_0x441c93(0x13b)]=new _0x44b3d2(this[_0x441c93(0x11a)][_0x441c93(0x135)],{'elementName':_0x441c93(0x155),'getElementKey':_0x147d05=>_0x147d05[_0x441c93(0x159)](_0x441c93(0x13f))});}[_0x585aa6(0x122)](){const _0x48c767=_0x585aa6,{editor:_0x316a24}=this,{model:_0x59cae8,data:_0x398627}=_0x316a24;_0x59cae8[_0x48c767(0x14f)][_0x48c767(0x110)](_0x4cc04b=>{const _0x2ed8f9=_0x48c767,_0xba2003=_0x59cae8[_0x2ed8f9(0x14f)][_0x2ed8f9(0x124)][_0x2ed8f9(0x13a)]();let _0x2c96db=!0x1;return this[_0x2ed8f9(0x11b)](_0x4cc04b,_0xba2003)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x12c)](_0x4cc04b,_0xba2003)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x168)](_0x4cc04b,_0xba2003)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x140)](_0x4cc04b)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x113)](_0x4cc04b)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x132)](_0x4cc04b)&&(_0x2c96db=!0x0),_0x2c96db;}),this[_0x48c767(0x11c)](_0x59cae8[_0x48c767(0x14f)],_0x48c767(0x164),()=>{const _0x3fb6d3=_0x48c767;_0x59cae8[_0x3fb6d3(0x158)]({'isUndoable':!0x1},_0x557194=>{const _0x2f53d2=_0x3fb6d3;this[_0x2f53d2(0x166)](_0x557194);});},{'priority':_0x48c767(0x165)}),this[_0x48c767(0x11c)](_0x398627,_0x48c767(0x118),()=>{const _0x2f859a=_0x48c767;this[_0x2f859a(0x15d)]=[],this[_0x2f859a(0x16b)][_0x2f859a(0x15c)](),this[_0x2f859a(0x116)][_0x2f859a(0x15c)](),this[_0x2f859a(0x13b)][_0x2f859a(0x15c)]();},{'priority':_0x48c767(0x15e)});}[_0x585aa6(0x138)](){const _0x1e7adb=_0x585aa6;return this[_0x1e7adb(0x115)];}[_0x585aa6(0x167)](_0xd6e1bf){const _0x21f8dc=_0x585aa6;return this[_0x21f8dc(0x15d)][_0x21f8dc(0x119)](_0x21d824=>_0x21d824['id']===_0xd6e1bf)||null;}[_0x585aa6(0x16e)](){const _0x4348d8=_0x585aa6;return Array[_0x4348d8(0x11f)](this[_0x4348d8(0x15d)]);}[_0x585aa6(0x15f)](){const _0x492fc5=_0x585aa6;return this[_0x492fc5(0x111)];}[_0x585aa6(0x162)](_0x36e3ce){const _0x7f097a=_0x585aa6;this[_0x7f097a(0x111)]=_0x36e3ce;}[_0x585aa6(0x10f)](_0x47e0c9,_0x3e1349=0x0){const _0xd90bd2=_0x585aa6;let _0x29d293=!0x1;for(let _0x4123ff=_0x3e1349;_0x4123ff<this[_0xd90bd2(0x15d)][_0xd90bd2(0x13e)];_0x4123ff++)this[_0xd90bd2(0x112)](_0x47e0c9,_0x4123ff)&&(_0x29d293=!0x0);return _0x29d293;}[_0x585aa6(0x147)](_0x4b809b,_0x2bb13e){const _0x1c2980=_0x585aa6,_0x175cdf=_0x4b809b[_0x1c2980(0x12a)](_0x1c2980(0x144),{});return _0x4b809b[_0x1c2980(0x130)](_0x175cdf,_0x2bb13e),this[_0x1c2980(0x115)]=_0x175cdf,_0x175cdf;}[_0x585aa6(0x166)](_0x1b8d0a){const _0x44fc04=_0x585aa6;if(!this[_0x44fc04(0x15d)][_0x44fc04(0x13e)]||this[_0x44fc04(0x115)])return;const _0x1d7006=this[_0x44fc04(0x15d)][0x0][_0x44fc04(0x16a)][_0x44fc04(0x137)],_0x3dabe3=this[_0x44fc04(0x147)](_0x1b8d0a,_0x1d7006);for(const _0x15e202 of this[_0x44fc04(0x15d)])_0x15e202[_0x44fc04(0x160)][_0x44fc04(0x157)]||_0x1b8d0a[_0x44fc04(0x127)](_0x15e202[_0x44fc04(0x160)],_0x3dabe3,_0x44fc04(0x11e));this[_0x44fc04(0x10f)](_0x1b8d0a);}[_0x585aa6(0x11b)](_0x576bb7,_0x5df28a){const _0x4691c0=_0x585aa6;let _0x196d52=!0x1;const {inserted:_0x55c1b7,removed:_0x34364b,moved:_0x57ec41}=this[_0x4691c0(0x16b)][_0x4691c0(0x13a)](_0x5df28a);if(_0x57ec41[_0x4691c0(0x13e)]&&(this[_0x4691c0(0x115)]=_0x57ec41[0x0]),_0x55c1b7[_0x4691c0(0x13e)]){if(_0x55c1b7[_0x4691c0(0x13e)]>0x1||this[_0x4691c0(0x115)]&&_0x55c1b7[_0x4691c0(0x12b)](_0x371bfa=>_0x371bfa!==this[_0x4691c0(0x115)])){const _0x5717fc=_0x576bb7[_0x4691c0(0x12a)](_0x4691c0(0x144),{}),_0x330531=[];this[_0x4691c0(0x115)]&&_0x330531[_0x4691c0(0x123)](this[_0x4691c0(0x115)]),_0x330531[_0x4691c0(0x123)](..._0x55c1b7),_0x576bb7[_0x4691c0(0x127)](_0x5717fc,_0x330531[0x0],_0x4691c0(0x129));for(const _0x5de1f8 of _0x330531)_0x576bb7[_0x4691c0(0x10d)](_0x576bb7[_0x4691c0(0x136)](_0x5de1f8),_0x576bb7[_0x4691c0(0x142)](_0x5717fc,_0x4691c0(0x11e))),_0x576bb7[_0x4691c0(0x154)](_0x5de1f8);this[_0x4691c0(0x115)]=_0x5717fc,this[_0x4691c0(0x10f)](_0x576bb7),_0x196d52=!0x0;}else this[_0x4691c0(0x115)]=_0x55c1b7[0x0];}if(_0x34364b[_0x4691c0(0x13e)]&&_0x4691c0(0x14e)===this[_0x4691c0(0x115)]?.[_0x4691c0(0x137)][_0x4691c0(0x153)]){for(const _0x400a02 of this[_0x4691c0(0x15d)])_0x576bb7[_0x4691c0(0x154)](_0x400a02[_0x4691c0(0x16a)]),_0x196d52=!0x0;this[_0x4691c0(0x15d)]=[],this[_0x4691c0(0x115)]=null;}return _0x196d52;}[_0x585aa6(0x12c)](_0x1a17b1,_0x40e4d1){const _0x18fd0a=_0x585aa6;let _0x198295=!0x1;const _0x25fc03=this[_0x18fd0a(0x11a)][_0x18fd0a(0x128)][_0x18fd0a(0x15a)](_0x18fd0a(0x126)),{inserted:_0x1c0814,moved:_0xf1bc9d}=this[_0x18fd0a(0x13b)][_0x18fd0a(0x13a)](_0x40e4d1);for(const _0x432304 of[..._0xf1bc9d,..._0x1c0814]){const _0x1a1469=_0x432304[_0x18fd0a(0x159)](_0x18fd0a(0x13f)),_0x2e07df=this[_0x18fd0a(0x167)](_0x1a1469);_0x2e07df&&(_0x2e07df[_0x18fd0a(0x160)]=_0x432304),_(_0x1a17b1,_0x25fc03,_0x432304)&&(_0x198295=!0x0);}return _0x198295;}[_0x585aa6(0x168)](_0x49eeac,_0x22d7e3){const _0xf5f059=_0x585aa6;let _0x410c6f=!0x1;const {removed:_0x38d42d,inserted:_0x3d2f1a,moved:_0x43b9ed}=this[_0xf5f059(0x116)][_0xf5f059(0x13a)](_0x22d7e3);for(const _0x406d81 of _0x38d42d)this[_0xf5f059(0x12d)](_0x49eeac,_0x406d81)&&(_0x410c6f=!0x0);for(const _0x11b5d8 of _0x3d2f1a)this[_0xf5f059(0x12f)](_0x49eeac,_0x11b5d8)&&(_0x410c6f=!0x0);for(const _0x12fb22 of _0x43b9ed)this[_0xf5f059(0x163)](_0x49eeac,_0x12fb22)&&(_0x410c6f=!0x0);return _0x410c6f;}[_0x585aa6(0x113)](_0x374542){const _0x51a264=_0x585aa6;if(!this[_0x51a264(0x115)])return!0x1;let _0x2028a1=!0x1;if(this[_0x51a264(0x115)][_0x51a264(0x145)]!==this[_0x51a264(0x15d)][_0x51a264(0x13e)]){const _0x41573e=[];for(const _0x37ae12 of this[_0x51a264(0x115)][_0x51a264(0x121)]()){const _0x449ee7=_0x37ae12[_0x51a264(0x159)](_0x51a264(0x13f));this[_0x51a264(0x167)](_0x449ee7)||(_0x41573e[_0x51a264(0x16c)](_0x37ae12),_0x2028a1=!0x0);}for(const _0x18ce53 of _0x41573e)_0x374542[_0x51a264(0x154)](_0x18ce53);}const _0x2a7c99=new Set(),_0x3c2471=[];for(const _0x233f9 of this[_0x51a264(0x115)][_0x51a264(0x121)]()){const _0x41c3b2=_0x233f9[_0x51a264(0x159)](_0x51a264(0x13f));_0x2a7c99[_0x51a264(0x141)](_0x41c3b2)?(_0x3c2471[_0x51a264(0x16c)](_0x233f9),_0x2028a1=!0x0):_0x2a7c99[_0x51a264(0x14d)](_0x41c3b2);}for(const _0x1dfcc0 of _0x3c2471)_0x374542[_0x51a264(0x154)](_0x1dfcc0);return this[_0x51a264(0x115)][_0x51a264(0x145)]||(_0x374542[_0x51a264(0x154)](this[_0x51a264(0x115)]),this[_0x51a264(0x115)]=null,_0x2028a1=!0x0),_0x2028a1;}[_0x585aa6(0x12f)](_0x1f1c4f,_0x498833){const _0x2cb5ab=_0x585aa6;if(this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x119)](_0x599608=>_0x599608[_0x2cb5ab(0x16a)]===_0x498833))return!0x1;let _0x3af7ab=!0x1;const _0x196d1a=_0x498833[_0x2cb5ab(0x159)](_0x2cb5ab(0x13f)),_0x9a801e=this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x15b)](_0x1c5aa7=>_0x1c5aa7['id']===_0x196d1a);-0x1!==_0x9a801e&&(_0x1f1c4f[_0x2cb5ab(0x154)](this[_0x2cb5ab(0x15d)][_0x9a801e][_0x2cb5ab(0x16a)]),this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x150)](_0x9a801e,0x1),_0x3af7ab=!0x0);let _0x10a0c4=this[_0x2cb5ab(0x115)]?function(_0xca4168,_0x1dc0f0){const _0x296e54=_0x2cb5ab;for(const _0xdc8d1c of _0xca4168[_0x296e54(0x121)]())if(_0xdc8d1c[_0x296e54(0x159)](_0x296e54(0x13f))===_0x1dc0f0)return _0xdc8d1c;return null;}(this[_0x2cb5ab(0x115)],_0x196d1a):null;_0x10a0c4||(_0x10a0c4=_0x1f1c4f[_0x2cb5ab(0x12a)](_0x2cb5ab(0x155),{'footnoteId':_0x196d1a}),this[_0x2cb5ab(0x115)]&&(_0x1f1c4f[_0x2cb5ab(0x127)](_0x10a0c4,this[_0x2cb5ab(0x115)],_0x2cb5ab(0x11e)),_0x3af7ab=!0x0));const _0x46cd2c={'id':_0x196d1a,'reference':_0x498833,'definition':_0x10a0c4},_0x573d23=I(this[_0x2cb5ab(0x11a)][_0x2cb5ab(0x135)],this[_0x2cb5ab(0x15d)],_0x498833);this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x150)](_0x573d23,0x0,_0x46cd2c);let _0x1bc62b=_0x573d23;return-0x1!==_0x9a801e&&(_0x1bc62b=Math[_0x2cb5ab(0x13d)](_0x573d23,_0x9a801e)),this[_0x2cb5ab(0x10f)](_0x1f1c4f,_0x1bc62b)&&(_0x3af7ab=!0x0),_0x3af7ab;}[_0x585aa6(0x12d)](_0x3416d8,_0x623db5){const _0x42f588=_0x585aa6,_0xcb6417=this[_0x42f588(0x15d)][_0x42f588(0x15b)](_0x1acf93=>_0x1acf93['id']===_0x623db5);if(-0x1===_0xcb6417)return!0x1;let _0x22b7da=!0x1;const _0x4b944c=this[_0x42f588(0x15d)][_0xcb6417];return _0x42f588(0x14e)!==_0x4b944c[_0x42f588(0x160)][_0x42f588(0x137)][_0x42f588(0x153)]&&(_0x3416d8[_0x42f588(0x154)](_0x4b944c[_0x42f588(0x160)]),_0x22b7da=!0x0),this[_0x42f588(0x15d)][_0x42f588(0x150)](_0xcb6417,0x1),this[_0x42f588(0x10f)](_0x3416d8,_0xcb6417)&&(_0x22b7da=!0x0),_0x22b7da;}[_0x585aa6(0x163)](_0x25fb4a,_0x2d760c){const _0x3c372d=_0x585aa6,_0x2aeef7=_0x2d760c[_0x3c372d(0x159)](_0x3c372d(0x13f)),_0x2e17fd=this[_0x3c372d(0x15d)][_0x3c372d(0x15b)](_0x4053ce=>_0x4053ce['id']===_0x2aeef7),_0x4eecf6=this[_0x3c372d(0x15d)][_0x2e17fd];let _0xbc73d=!0x1;_0x4eecf6[_0x3c372d(0x16a)]=_0x2d760c,this[_0x3c372d(0x15d)][_0x3c372d(0x150)](_0x2e17fd,0x1);const _0x231f04=I(this[_0x3c372d(0x11a)][_0x3c372d(0x135)],this[_0x3c372d(0x15d)],_0x2d760c);return this[_0x3c372d(0x15d)][_0x3c372d(0x150)](_0x231f04,0x0,_0x4eecf6),this[_0x3c372d(0x10f)](_0x25fb4a,Math[_0x3c372d(0x13d)](_0x2e17fd,_0x231f04))&&(_0xbc73d=!0x0),_0xbc73d;}[_0x585aa6(0x112)](_0x433ba3,_0x472fc9){const _0x41035f=_0x585aa6;if(!this[_0x41035f(0x115)])return!0x1;const _0x3dd176=this[_0x41035f(0x15d)][_0x472fc9];let _0x4bc01d;return _0x4bc01d=this[_0x41035f(0x111)]?this[_0x41035f(0x111)]({'footnote':_0x3dd176,'container':this[_0x41035f(0x115)],'digits':String(this[_0x41035f(0x15d)][_0x41035f(0x13e)])[_0x41035f(0x13e)],'value':_0x472fc9+0x1}):String(_0x472fc9+0x1),_0x3dd176[_0x41035f(0x16a)][_0x41035f(0x159)](_0x41035f(0x149))!=_0x4bc01d&&(_0x433ba3[_0x41035f(0x151)](_0x41035f(0x149),_0x4bc01d,_0x3dd176[_0x41035f(0x16a)]),!0x0);}[_0x585aa6(0x132)](_0x5d9650){const _0x522630=_0x585aa6;if(!this[_0x522630(0x115)]||this[_0x522630(0x15d)][_0x522630(0x13e)]<0x2)return!0x1;if(function(_0x5a4042,_0x4a4de1){const _0x389a90=_0x522630;if(_0x5a4042[_0x389a90(0x13e)]!==_0x4a4de1[_0x389a90(0x13e)])return!0x1;for(let _0x33e016=0x0;_0x33e016<_0x5a4042[_0x389a90(0x13e)];_0x33e016++)if(_0x5a4042[_0x33e016]!==_0x4a4de1[_0x33e016])return!0x1;return!0x0;}(this[_0x522630(0x15d)][_0x522630(0x143)](_0x1b5bbc=>_0x1b5bbc['id']),Array[_0x522630(0x11f)](this[_0x522630(0x115)][_0x522630(0x121)]())[_0x522630(0x143)](_0x8c10cd=>_0x8c10cd[_0x522630(0x159)](_0x522630(0x13f)))))return!0x1;let _0x226ad2=!0x1;for(let _0x5dc952=0x0;_0x5dc952<this[_0x522630(0x15d)][_0x522630(0x13e)];_0x5dc952++){const _0x2eb39d=this[_0x522630(0x15d)][_0x5dc952],_0x410fe6=_0x5d9650[_0x522630(0x161)](_0x2eb39d[_0x522630(0x160)]),_0x26009b=_0x5d9650[_0x522630(0x142)](this[_0x522630(0x115)],_0x5dc952);_0x410fe6[_0x522630(0x16d)](_0x26009b)||(_0x5d9650[_0x522630(0x10d)](_0x5d9650[_0x522630(0x114)](_0x2eb39d[_0x522630(0x160)]),_0x26009b),_0x226ad2=!0x0);}return _0x226ad2;}[_0x585aa6(0x140)](_0x5ef3f2){const _0x1a2fdd=_0x585aa6;if(!this[_0x1a2fdd(0x15d)][_0x1a2fdd(0x13e)])return!0x1;const {model:_0x5c5b6c}=this[_0x1a2fdd(0x11a)];let _0xe22950=!0x1;for(let _0x5075e8=0x0;_0x5075e8<this[_0x1a2fdd(0x15d)][_0x1a2fdd(0x13e)]-0x1;_0x5075e8++){const _0xea5243=this[_0x1a2fdd(0x15d)][_0x5075e8],_0x2878ec=this[_0x1a2fdd(0x15d)][_0x5075e8+0x1],_0x1faeed=_0x5c5b6c[_0x1a2fdd(0x161)](_0xea5243[_0x1a2fdd(0x16a)]),_0x36df10=_0x5c5b6c[_0x1a2fdd(0x161)](_0x2878ec[_0x1a2fdd(0x16a)]);_0x1a2fdd(0x139)===_0x1faeed[_0x1a2fdd(0x125)](_0x36df10)&&(this[_0x1a2fdd(0x163)](_0x5ef3f2,_0xea5243[_0x1a2fdd(0x16a)]),_0x5075e8=-0x1,_0xe22950=!0x0);}return _0xe22950;}}function _(_0x5279e7,_0x191659,_0x297a48){const _0x2d9e4c=_0x585aa6;if(_0x297a48[_0x2d9e4c(0x145)])return!0x1;const _0x4532e8=_0x191659?_0x2d9e4c(0x14c):_0x2d9e4c(0x117);return _0x5279e7[_0x2d9e4c(0x127)](_0x5279e7[_0x2d9e4c(0x12a)](_0x4532e8),_0x297a48),!0x0;}function I(_0x1de631,_0x190828,_0x263fde){const _0x2896e7=_0x585aa6;if(0x0===_0x190828[_0x2896e7(0x13e)])return 0x0;const _0x153d37=_0x1de631[_0x2896e7(0x161)](_0x263fde);for(let _0x7eb0c4=0x0;_0x7eb0c4<_0x190828[_0x2896e7(0x13e)];_0x7eb0c4++){const _0x2ed4f4=_0x190828[_0x7eb0c4],_0x35961f=_0x1de631[_0x2896e7(0x161)](_0x2ed4f4[_0x2896e7(0x16a)]);if(_0x2896e7(0x129)===_0x153d37[_0x2896e7(0x125)](_0x35961f))return _0x7eb0c4;}const _0x282798=_0x263fde[_0x2896e7(0x137)];let _0x486ffe=-0x1;for(let _0x574d52=_0x190828[_0x2896e7(0x13e)]-0x1;_0x574d52>=0x0;_0x574d52--)if(_0x190828[_0x574d52][_0x2896e7(0x16a)][_0x2896e7(0x137)]===_0x282798){_0x486ffe=_0x574d52;break;}if(-0x1!==_0x486ffe)return _0x486ffe+0x1;const _0x528993=_0x1de631[_0x2896e7(0x14f)][_0x2896e7(0x169)](),_0x4dadf1=_0x528993[_0x2896e7(0x148)](_0x282798[_0x2896e7(0x153)]),_0x1be292=_0x528993[_0x4dadf1+0x1];if(_0x1be292){for(let _0x36433a=0x0;_0x36433a<_0x190828[_0x2896e7(0x13e)];_0x36433a++)if(_0x190828[_0x36433a][_0x2896e7(0x16a)][_0x2896e7(0x137)][_0x2896e7(0x153)]===_0x1be292)return _0x36433a;}return _0x190828[_0x2896e7(0x13e)];}
23
+ const _0x4c1120=_0x5cf3;(function(_0x5817fc,_0x3dd535){const _0x4bb3ab=_0x5cf3,_0x4d470e=_0x5817fc();while(!![]){try{const _0x1dbb49=-parseInt(_0x4bb3ab(0x256))/0x1+-parseInt(_0x4bb3ab(0x21c))/0x2*(parseInt(_0x4bb3ab(0x1ff))/0x3)+-parseInt(_0x4bb3ab(0x218))/0x4*(parseInt(_0x4bb3ab(0x23e))/0x5)+parseInt(_0x4bb3ab(0x23b))/0x6*(-parseInt(_0x4bb3ab(0x200))/0x7)+parseInt(_0x4bb3ab(0x235))/0x8+-parseInt(_0x4bb3ab(0x229))/0x9*(-parseInt(_0x4bb3ab(0x249))/0xa)+parseInt(_0x4bb3ab(0x225))/0xb;if(_0x1dbb49===_0x3dd535)break;else _0x4d470e['push'](_0x4d470e['shift']());}catch(_0x209ac9){_0x4d470e['push'](_0x4d470e['shift']());}}}(_0x199c,0x9d8c7));import{Plugin as _0x5a3dca}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x7e5989}from'./modelelementtracker.js';function _0x5cf3(_0x2cc119,_0x11bb18){const _0x199c00=_0x199c();return _0x5cf3=function(_0x5cf36f,_0x338646){_0x5cf36f=_0x5cf36f-0x1f1;let _0x566292=_0x199c00[_0x5cf36f];return _0x566292;},_0x5cf3(_0x2cc119,_0x11bb18);}export class FootnotesTracker extends _0x5a3dca{[_0x4c1120(0x244)]=[];[_0x4c1120(0x24c)]=null;[_0x4c1120(0x1f5)]=null;[_0x4c1120(0x1fb)];[_0x4c1120(0x24a)];[_0x4c1120(0x20b)];static get[_0x4c1120(0x214)](){const _0x3c882e=_0x4c1120;return _0x3c882e(0x241);}static get[_0x4c1120(0x246)](){return!0x0;}static get[_0x4c1120(0x255)](){return!0x0;}constructor(_0x551ce8){const _0x1c7d49=_0x4c1120;super(_0x551ce8),this[_0x1c7d49(0x1fb)]=new _0x7e5989(this[_0x1c7d49(0x245)][_0x1c7d49(0x205)],{'elementName':_0x1c7d49(0x1f1),'getElementKey':()=>_0x1c7d49(0x220)}),this[_0x1c7d49(0x24a)]=new _0x7e5989(this[_0x1c7d49(0x245)][_0x1c7d49(0x205)],{'elementName':_0x1c7d49(0x21b),'getElementKey':_0x20a56c=>_0x20a56c[_0x1c7d49(0x242)](_0x1c7d49(0x24b))}),this[_0x1c7d49(0x20b)]=new _0x7e5989(this[_0x1c7d49(0x245)][_0x1c7d49(0x205)],{'elementName':_0x1c7d49(0x21f),'getElementKey':_0x1fd532=>_0x1fd532[_0x1c7d49(0x242)](_0x1c7d49(0x24b))});}[_0x4c1120(0x24d)](){const _0x11fa76=_0x4c1120,{editor:_0x13569b}=this,{model:_0x3767ca,data:_0x282a2b}=_0x13569b;_0x3767ca[_0x11fa76(0x22e)][_0x11fa76(0x1fd)](_0xf90d49=>{const _0xe69118=_0x11fa76,_0x34c826=_0x3767ca[_0xe69118(0x22e)][_0xe69118(0x228)][_0xe69118(0x232)]();let _0x472c7d=!0x1;return this[_0xe69118(0x24f)](_0xf90d49,_0x34c826)&&(_0x472c7d=!0x0),this[_0xe69118(0x23c)](_0xf90d49,_0x34c826)&&(_0x472c7d=!0x0),this[_0xe69118(0x1f4)](_0xf90d49,_0x34c826)&&(_0x472c7d=!0x0),this[_0xe69118(0x253)](_0xf90d49)&&(_0x472c7d=!0x0),this[_0xe69118(0x224)](_0xf90d49)&&(_0x472c7d=!0x0),this[_0xe69118(0x209)](_0xf90d49)&&(_0x472c7d=!0x0),_0x472c7d;}),this[_0x11fa76(0x223)](_0x3767ca[_0x11fa76(0x22e)],_0x11fa76(0x207),()=>{const _0x3ec3e8=_0x11fa76;_0x3767ca[_0x3ec3e8(0x20f)]({'isUndoable':!0x1},_0x24e3b0=>{const _0x5ab82c=_0x3ec3e8;this[_0x5ab82c(0x1f8)](_0x24e3b0);});},{'priority':_0x11fa76(0x23f)}),this[_0x11fa76(0x223)](_0x282a2b,_0x11fa76(0x227),()=>{const _0x3488d5=_0x11fa76;this[_0x3488d5(0x244)]=[],this[_0x3488d5(0x1fb)][_0x3488d5(0x203)](),this[_0x3488d5(0x24a)][_0x3488d5(0x203)](),this[_0x3488d5(0x20b)][_0x3488d5(0x203)]();},{'priority':_0x11fa76(0x221)});}[_0x4c1120(0x216)](){const _0x335dea=_0x4c1120;return this[_0x335dea(0x24c)];}[_0x4c1120(0x21d)](_0x29e88a){const _0x3130d6=_0x4c1120;return this[_0x3130d6(0x244)][_0x3130d6(0x215)](_0xa896be=>_0xa896be['id']===_0x29e88a)||null;}[_0x4c1120(0x1f6)](){const _0x14a623=_0x4c1120;return Array[_0x14a623(0x22a)](this[_0x14a623(0x244)]);}[_0x4c1120(0x22d)](){const _0x581b03=_0x4c1120;return this[_0x581b03(0x1f5)];}[_0x4c1120(0x251)](_0x5a06bb){const _0xed19b=_0x4c1120;this[_0xed19b(0x1f5)]=_0x5a06bb;}[_0x4c1120(0x23a)](_0x5d1f85,_0x11ba0e=0x0){const _0x473b74=_0x4c1120;let _0x5c4a11=!0x1;for(let _0x3f75a7=_0x11ba0e;_0x3f75a7<this[_0x473b74(0x244)][_0x473b74(0x217)];_0x3f75a7++)this[_0x473b74(0x20d)](_0x5d1f85,_0x3f75a7)&&(_0x5c4a11=!0x0);return _0x5c4a11;}[_0x4c1120(0x202)](_0x5a3b36,_0x3a42ae){const _0x4039c1=_0x4c1120,_0x19a48d=_0x5a3b36[_0x4039c1(0x211)](_0x4039c1(0x1f1),{});return _0x5a3b36[_0x4039c1(0x206)](_0x19a48d,_0x3a42ae),this[_0x4039c1(0x24c)]=_0x19a48d,_0x19a48d;}[_0x4c1120(0x1f8)](_0x2a6526){const _0x4b7f3f=_0x4c1120;if(!this[_0x4b7f3f(0x244)][_0x4b7f3f(0x217)]||this[_0x4b7f3f(0x24c)])return;const _0x3eecf6=this[_0x4b7f3f(0x244)][0x0][_0x4b7f3f(0x233)][_0x4b7f3f(0x222)],_0x194f09=this[_0x4b7f3f(0x202)](_0x2a6526,_0x3eecf6);for(const _0x29440c of this[_0x4b7f3f(0x244)])_0x29440c[_0x4b7f3f(0x213)][_0x4b7f3f(0x208)]||_0x2a6526[_0x4b7f3f(0x239)](_0x29440c[_0x4b7f3f(0x213)],_0x194f09,_0x4b7f3f(0x230));this[_0x4b7f3f(0x23a)](_0x2a6526);}[_0x4c1120(0x24f)](_0x34685e,_0x2efc4d){const _0x372360=_0x4c1120;let _0xf3a7f5=!0x1;const {inserted:_0x8f972b,removed:_0x3869d5,moved:_0x24d969}=this[_0x372360(0x1fb)][_0x372360(0x232)](_0x2efc4d);if(_0x24d969[_0x372360(0x217)]&&(this[_0x372360(0x24c)]=_0x24d969[0x0]),_0x8f972b[_0x372360(0x217)]){if(_0x8f972b[_0x372360(0x217)]>0x1||this[_0x372360(0x24c)]&&_0x8f972b[_0x372360(0x250)](_0x1f7df5=>_0x1f7df5!==this[_0x372360(0x24c)])){const _0x2c06c6=_0x34685e[_0x372360(0x211)](_0x372360(0x1f1),{}),_0x36e819=[];this[_0x372360(0x24c)]&&_0x36e819[_0x372360(0x21a)](this[_0x372360(0x24c)]),_0x36e819[_0x372360(0x21a)](..._0x8f972b),_0x34685e[_0x372360(0x239)](_0x2c06c6,_0x36e819[0x0],_0x372360(0x212));for(const _0xb1d3af of _0x36e819)_0x34685e[_0x372360(0x22c)](_0x34685e[_0x372360(0x247)](_0xb1d3af),_0x34685e[_0x372360(0x1f9)](_0x2c06c6,_0x372360(0x230))),_0x34685e[_0x372360(0x20a)](_0xb1d3af);this[_0x372360(0x24c)]=_0x2c06c6,this[_0x372360(0x23a)](_0x34685e),_0xf3a7f5=!0x0;}else this[_0x372360(0x24c)]=_0x8f972b[0x0];}if(_0x3869d5[_0x372360(0x217)]&&_0x372360(0x24e)===this[_0x372360(0x24c)]?.[_0x372360(0x222)][_0x372360(0x238)]){for(const _0x3b72a4 of this[_0x372360(0x244)])_0x34685e[_0x372360(0x20a)](_0x3b72a4[_0x372360(0x233)]),_0xf3a7f5=!0x0;this[_0x372360(0x244)]=[],this[_0x372360(0x24c)]=null;}return _0xf3a7f5;}[_0x4c1120(0x23c)](_0x720b5c,_0x46e2a9){const _0x418661=_0x4c1120;let _0x5c0c3f=!0x1;const _0x26a532=this[_0x418661(0x245)][_0x418661(0x234)][_0x418661(0x252)](_0x418661(0x254)),{inserted:_0x114187,moved:_0x7e601e}=this[_0x418661(0x20b)][_0x418661(0x232)](_0x46e2a9);for(const _0xc5314d of[..._0x7e601e,..._0x114187]){const _0x2a37b=_0xc5314d[_0x418661(0x242)](_0x418661(0x24b)),_0x45b935=this[_0x418661(0x21d)](_0x2a37b);_0x45b935&&(_0x45b935[_0x418661(0x213)]=_0xc5314d),_(_0x720b5c,_0x26a532,_0xc5314d)&&(_0x5c0c3f=!0x0);}return _0x5c0c3f;}[_0x4c1120(0x1f4)](_0xea37,_0x300003){const _0x3012ce=_0x4c1120;let _0xc7eaf=!0x1;const {removed:_0x35d4ed,inserted:_0x33e6e0,moved:_0x5a15c1}=this[_0x3012ce(0x24a)][_0x3012ce(0x232)](_0x300003);for(const _0x5aafc1 of _0x35d4ed)this[_0x3012ce(0x226)](_0xea37,_0x5aafc1)&&(_0xc7eaf=!0x0);for(const _0x537d0c of _0x33e6e0)this[_0x3012ce(0x210)](_0xea37,_0x537d0c)&&(_0xc7eaf=!0x0);for(const _0x222a2f of _0x5a15c1)this[_0x3012ce(0x21e)](_0xea37,_0x222a2f)&&(_0xc7eaf=!0x0);return _0xc7eaf;}[_0x4c1120(0x224)](_0x58a3a2){const _0x3d8d02=_0x4c1120;if(!this[_0x3d8d02(0x24c)])return!0x1;let _0xf86da0=!0x1;if(this[_0x3d8d02(0x24c)][_0x3d8d02(0x22f)]!==this[_0x3d8d02(0x244)][_0x3d8d02(0x217)]){const _0xc60fdb=[];for(const _0x4f0a72 of this[_0x3d8d02(0x24c)][_0x3d8d02(0x248)]()){const _0x5dee43=_0x4f0a72[_0x3d8d02(0x242)](_0x3d8d02(0x24b));this[_0x3d8d02(0x21d)](_0x5dee43)||(_0xc60fdb[_0x3d8d02(0x1fe)](_0x4f0a72),_0xf86da0=!0x0);}for(const _0x164297 of _0xc60fdb)_0x58a3a2[_0x3d8d02(0x20a)](_0x164297);}const _0x2195e2=new Set(),_0x56e9a8=[];for(const _0x15f297 of this[_0x3d8d02(0x24c)][_0x3d8d02(0x248)]()){const _0x367966=_0x15f297[_0x3d8d02(0x242)](_0x3d8d02(0x24b));_0x2195e2[_0x3d8d02(0x237)](_0x367966)?(_0x56e9a8[_0x3d8d02(0x1fe)](_0x15f297),_0xf86da0=!0x0):_0x2195e2[_0x3d8d02(0x1fa)](_0x367966);}for(const _0x158b84 of _0x56e9a8)_0x58a3a2[_0x3d8d02(0x20a)](_0x158b84);return this[_0x3d8d02(0x24c)][_0x3d8d02(0x22f)]||(_0x58a3a2[_0x3d8d02(0x20a)](this[_0x3d8d02(0x24c)]),this[_0x3d8d02(0x24c)]=null,_0xf86da0=!0x0),_0xf86da0;}[_0x4c1120(0x210)](_0x329f55,_0x5403eb){const _0x214d5c=_0x4c1120;if(this[_0x214d5c(0x244)][_0x214d5c(0x215)](_0x3594b9=>_0x3594b9[_0x214d5c(0x233)]===_0x5403eb))return!0x1;let _0x57cc8e=!0x1;const _0x238c3c=_0x5403eb[_0x214d5c(0x242)](_0x214d5c(0x24b)),_0x15fb2a=this[_0x214d5c(0x244)][_0x214d5c(0x22b)](_0x368a74=>_0x368a74['id']===_0x238c3c);-0x1!==_0x15fb2a&&(_0x329f55[_0x214d5c(0x20a)](this[_0x214d5c(0x244)][_0x15fb2a][_0x214d5c(0x233)]),this[_0x214d5c(0x244)][_0x214d5c(0x243)](_0x15fb2a,0x1),_0x57cc8e=!0x0);let _0x1a2def=this[_0x214d5c(0x24c)]?function(_0x33321a,_0x15a8dc){const _0x1384cf=_0x214d5c;for(const _0x12d1cc of _0x33321a[_0x1384cf(0x248)]())if(_0x12d1cc[_0x1384cf(0x242)](_0x1384cf(0x24b))===_0x15a8dc)return _0x12d1cc;return null;}(this[_0x214d5c(0x24c)],_0x238c3c):null;_0x1a2def||(_0x1a2def=_0x329f55[_0x214d5c(0x211)](_0x214d5c(0x21f),{'footnoteId':_0x238c3c}),this[_0x214d5c(0x24c)]&&(_0x329f55[_0x214d5c(0x239)](_0x1a2def,this[_0x214d5c(0x24c)],_0x214d5c(0x230)),_0x57cc8e=!0x0));const _0x479b4c={'id':_0x238c3c,'reference':_0x5403eb,'definition':_0x1a2def},_0x1b121d=I(this[_0x214d5c(0x245)][_0x214d5c(0x205)],this[_0x214d5c(0x244)],_0x5403eb);this[_0x214d5c(0x244)][_0x214d5c(0x243)](_0x1b121d,0x0,_0x479b4c);let _0x407b48=_0x1b121d;return-0x1!==_0x15fb2a&&(_0x407b48=Math[_0x214d5c(0x201)](_0x1b121d,_0x15fb2a)),this[_0x214d5c(0x23a)](_0x329f55,_0x407b48)&&(_0x57cc8e=!0x0),_0x57cc8e;}[_0x4c1120(0x226)](_0xc9a563,_0x38e3c7){const _0x5c0265=_0x4c1120,_0x537833=this[_0x5c0265(0x244)][_0x5c0265(0x22b)](_0x447a86=>_0x447a86['id']===_0x38e3c7);if(-0x1===_0x537833)return!0x1;let _0x196acc=!0x1;const _0x49c880=this[_0x5c0265(0x244)][_0x537833];return _0x5c0265(0x24e)!==_0x49c880[_0x5c0265(0x213)][_0x5c0265(0x222)][_0x5c0265(0x238)]&&(_0xc9a563[_0x5c0265(0x20a)](_0x49c880[_0x5c0265(0x213)]),_0x196acc=!0x0),this[_0x5c0265(0x244)][_0x5c0265(0x243)](_0x537833,0x1),this[_0x5c0265(0x23a)](_0xc9a563,_0x537833)&&(_0x196acc=!0x0),_0x196acc;}[_0x4c1120(0x21e)](_0x25efa4,_0x338704){const _0x526872=_0x4c1120,_0x46d1b9=_0x338704[_0x526872(0x242)](_0x526872(0x24b)),_0x4f5965=this[_0x526872(0x244)][_0x526872(0x22b)](_0x2e992c=>_0x2e992c['id']===_0x46d1b9),_0x184ea4=this[_0x526872(0x244)][_0x4f5965];let _0x1b9992=!0x1;_0x184ea4[_0x526872(0x233)]=_0x338704,this[_0x526872(0x244)][_0x526872(0x243)](_0x4f5965,0x1);const _0x596bbf=I(this[_0x526872(0x245)][_0x526872(0x205)],this[_0x526872(0x244)],_0x338704);return this[_0x526872(0x244)][_0x526872(0x243)](_0x596bbf,0x0,_0x184ea4),this[_0x526872(0x23a)](_0x25efa4,Math[_0x526872(0x201)](_0x4f5965,_0x596bbf))&&(_0x1b9992=!0x0),_0x1b9992;}[_0x4c1120(0x20d)](_0xc62d02,_0x1fee5d){const _0xfb7ed2=_0x4c1120;if(!this[_0xfb7ed2(0x24c)])return!0x1;const _0x29bce8=this[_0xfb7ed2(0x244)][_0x1fee5d];let _0x54d44a;return _0x54d44a=this[_0xfb7ed2(0x1f5)]?this[_0xfb7ed2(0x1f5)]({'footnote':_0x29bce8,'container':this[_0xfb7ed2(0x24c)],'digits':String(this[_0xfb7ed2(0x244)][_0xfb7ed2(0x217)])[_0xfb7ed2(0x217)],'value':_0x1fee5d+0x1}):String(_0x1fee5d+0x1),_0x29bce8[_0xfb7ed2(0x233)][_0xfb7ed2(0x242)](_0xfb7ed2(0x204))!=_0x54d44a&&(_0xc62d02[_0xfb7ed2(0x231)](_0xfb7ed2(0x204),_0x54d44a,_0x29bce8[_0xfb7ed2(0x233)]),!0x0);}[_0x4c1120(0x209)](_0x269a64){const _0xc98ed5=_0x4c1120;if(!this[_0xc98ed5(0x24c)]||this[_0xc98ed5(0x244)][_0xc98ed5(0x217)]<0x2)return!0x1;if(function(_0x1a5992,_0x39b06f){const _0x144d13=_0xc98ed5;if(_0x1a5992[_0x144d13(0x217)]!==_0x39b06f[_0x144d13(0x217)])return!0x1;for(let _0x178774=0x0;_0x178774<_0x1a5992[_0x144d13(0x217)];_0x178774++)if(_0x1a5992[_0x178774]!==_0x39b06f[_0x178774])return!0x1;return!0x0;}(this[_0xc98ed5(0x244)][_0xc98ed5(0x20c)](_0x4fb8ed=>_0x4fb8ed['id']),Array[_0xc98ed5(0x22a)](this[_0xc98ed5(0x24c)][_0xc98ed5(0x248)]())[_0xc98ed5(0x20c)](_0x528c5b=>_0x528c5b[_0xc98ed5(0x242)](_0xc98ed5(0x24b)))))return!0x1;let _0xd1e0c=!0x1;for(let _0x303858=0x0;_0x303858<this[_0xc98ed5(0x244)][_0xc98ed5(0x217)];_0x303858++){const _0x5b2f2a=this[_0xc98ed5(0x244)][_0x303858],_0x3d5244=_0x269a64[_0xc98ed5(0x1f2)](_0x5b2f2a[_0xc98ed5(0x213)]),_0x52c06c=_0x269a64[_0xc98ed5(0x1f9)](this[_0xc98ed5(0x24c)],_0x303858);_0x3d5244[_0xc98ed5(0x23d)](_0x52c06c)||(_0x269a64[_0xc98ed5(0x22c)](_0x269a64[_0xc98ed5(0x1f3)](_0x5b2f2a[_0xc98ed5(0x213)]),_0x52c06c),_0xd1e0c=!0x0);}return _0xd1e0c;}[_0x4c1120(0x253)](_0x41e86f){const _0x32b0f2=_0x4c1120;if(!this[_0x32b0f2(0x244)][_0x32b0f2(0x217)])return!0x1;const {model:_0x35cf4f}=this[_0x32b0f2(0x245)];let _0x18bbc2=!0x1;for(let _0x8dd884=0x0;_0x8dd884<this[_0x32b0f2(0x244)][_0x32b0f2(0x217)]-0x1;_0x8dd884++){const _0x33c027=this[_0x32b0f2(0x244)][_0x8dd884],_0x88add4=this[_0x32b0f2(0x244)][_0x8dd884+0x1],_0xad6e5c=_0x35cf4f[_0x32b0f2(0x1f2)](_0x33c027[_0x32b0f2(0x233)]),_0x34b73c=_0x35cf4f[_0x32b0f2(0x1f2)](_0x88add4[_0x32b0f2(0x233)]);_0x32b0f2(0x236)===_0xad6e5c[_0x32b0f2(0x1fc)](_0x34b73c)&&(this[_0x32b0f2(0x21e)](_0x41e86f,_0x33c027[_0x32b0f2(0x233)]),_0x8dd884=-0x1,_0x18bbc2=!0x0);}return _0x18bbc2;}}function _(_0x11a71a,_0x3f9e71,_0xbe896b){const _0xcea323=_0x4c1120;if(_0xbe896b[_0xcea323(0x22f)])return!0x1;const _0x5b436a=_0x3f9e71?_0xcea323(0x1f7):_0xcea323(0x240);return _0x11a71a[_0xcea323(0x239)](_0x11a71a[_0xcea323(0x211)](_0x5b436a),_0xbe896b),!0x0;}function I(_0x14c31e,_0x2f0197,_0x29acf8){const _0x398a7c=_0x4c1120;if(0x0===_0x2f0197[_0x398a7c(0x217)])return 0x0;const _0x2e209e=_0x14c31e[_0x398a7c(0x1f2)](_0x29acf8);for(let _0x248e40=0x0;_0x248e40<_0x2f0197[_0x398a7c(0x217)];_0x248e40++){const _0x54d991=_0x2f0197[_0x248e40],_0x56632d=_0x14c31e[_0x398a7c(0x1f2)](_0x54d991[_0x398a7c(0x233)]);if(_0x398a7c(0x212)===_0x2e209e[_0x398a7c(0x1fc)](_0x56632d))return _0x248e40;}const _0x5e3388=_0x29acf8[_0x398a7c(0x222)];let _0x131e52=-0x1;for(let _0x178166=_0x2f0197[_0x398a7c(0x217)]-0x1;_0x178166>=0x0;_0x178166--)if(_0x2f0197[_0x178166][_0x398a7c(0x233)][_0x398a7c(0x222)]===_0x5e3388){_0x131e52=_0x178166;break;}if(-0x1!==_0x131e52)return _0x131e52+0x1;const _0x39d5a4=_0x14c31e[_0x398a7c(0x22e)][_0x398a7c(0x219)](),_0x4901e3=_0x39d5a4[_0x398a7c(0x20e)](_0x5e3388[_0x398a7c(0x238)]),_0x5084fe=_0x39d5a4[_0x4901e3+0x1];if(_0x5084fe){for(let _0x15c69b=0x0;_0x15c69b<_0x2f0197[_0x398a7c(0x217)];_0x15c69b++)if(_0x2f0197[_0x15c69b][_0x398a7c(0x233)][_0x398a7c(0x222)][_0x398a7c(0x238)]===_0x5084fe)return _0x15c69b;}return _0x2f0197[_0x398a7c(0x217)];}function _0x199c(){const _0x510536=['22570174VVmaEY','_handleRemoveFootnoteReferenceById','set','differ','153TVzXdj','from','findIndex','move','getFootnotesFormatter','document','childCount','end','setAttribute','getChanges','reference','config','7424280KUxDee','after','has','rootName','insert','_updateFootnotesCounters','60ldLPSq','_handleFootnoteDefinitionsChanges','isEqual','3925EfNZzg','low','footnoteInlineContent','FootnotesTracker','getAttribute','splice','_footnotes','editor','isOfficialPlugin','createRangeIn','getChildren','147260JVpJIQ','_footnoteRefsTracker','footnoteId','_footnotesDefinitions','init','$graveyard','_handleFootnotesDefinitionsObjectChanges','some','setFootnoteFormatter','get','_ensureFootnotesReferencesHaveProperOrder','footnotes.multiBlock','isPremiumPlugin','756347pJYBiu','footnotesDefinitions','createPositionBefore','createRangeOn','_handleFootnoteReferencesChanges','_footnoteFormatter','getFootnotes','paragraph','_ensureFootnotesDefinitionsContainerExists','createPositionAt','add','_footnoteDefsContainerTracker','compareWith','registerPostFixer','unshift','148647OkBeRv','184170drBnAF','min','_insertEmptyFootnotesDefinitionsContainer','reset','footnoteCounter','model','append','change:data','parent','_sortFootnoteDefinitions','remove','_footnoteDefsTracker','map','_updateFootnoteRefCounter','indexOf','enqueueChange','_handleInsertedFootnoteReference','createElement','before','definition','pluginName','find','getFootnotesDefinitionsObjectElement','length','5452gZcJlb','getRootNames','push','footnoteRef','20dmJDbA','getFootnote','_handleMovedFootnoteReference','footnoteDefinition','singleton','high','root','listenTo','_handleFootnotesDefinitionsObjectSync'];_0x199c=function(){return _0x510536;};return _0x199c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3b3841,MenuBarMenuListItemButtonView as _0x18a16d}from'ckeditor5/src/ui.js';import{Plugin as _0x2fd446}from'ckeditor5/src/core.js';import{IconFootnote as _0x10728c}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2fd446{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x151e7c}=this,{componentFactory:_0x1a9c14}=_0x151e7c['ui'];_0x1a9c14['add']('insertFootnote',x(_0x151e7c,_0x3b3841)),_0x1a9c14['add']('menuBar:insertFootnote',x(_0x151e7c,_0x18a16d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xef8359=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x7c89bb;for(const _0x3c0695 in _0xef8359){const _0x1ec3b2=_0x3c0695,_0x4d4f47=_0xef8359[_0x1ec3b2];if('footnotesLicenseKeyValid'==_0x4d4f47||'footnotesLicenseKeyInvalid'==_0x4d4f47||'footnotesLicenseKeyExpired'==_0x4d4f47||'footnotesLicenseKeyDomainLimit'==_0x4d4f47||'footnotesLicenseKeyNotAllowed'==_0x4d4f47||'footnotesLicenseKeyEvaluationLimit'==_0x4d4f47||'footnotesLicenseKeyTrialLimit'==_0x4d4f47||'footnotesLicenseKeyUsageLimit'==_0x4d4f47){delete _0xef8359[_0x1ec3b2],_0x7c89bb=_0x4d4f47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x7c89bb&&_0xef8359['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x7c89bb&&_0xef8359['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x7c89bb&&_0xef8359['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x33486a,_0xe63656){const _0x2db4c7=_0x33486a['commands']['get']('insertFootnote');return _0x486aee=>{const {t:t}=_0x486aee,_0x340125=new _0xe63656(_0x486aee),_0x48bed6=_0x340125 instanceof _0x18a16d;return _0x340125['bind']('isEnabled')['to'](_0x2db4c7,'isEnabled'),_0x340125['set']({'label':t(_0x48bed6?'Footnote':'Insert\x20footnote'),'icon':_0x10728c,'tooltip':!0x0}),_0x340125['on']('execute',()=>{_0x2db4c7['execute'](),_0x33486a['editing']['view']['focus']();}),_0x340125;};}
23
+ import{ButtonView as _0x352f08,MenuBarMenuListItemButtonView as _0x44885f}from'ckeditor5/src/ui.js';import{Plugin as _0x5f2cfa}from'ckeditor5/src/core.js';import{IconFootnote as _0x39323d}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5f2cfa{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c53d4}=this,{componentFactory:_0x274a14}=_0x3c53d4['ui'];_0x274a14['add']('insertFootnote',x(_0x3c53d4,_0x352f08)),_0x274a14['add']('menuBar:insertFootnote',x(_0x3c53d4,_0x44885f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x39c819=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xb387a0;for(const _0x57d941 in _0x39c819){const _0x593265=_0x57d941,_0x9f4531=_0x39c819[_0x593265];if('footnotesLicenseKeyValid'==_0x9f4531||'footnotesLicenseKeyInvalid'==_0x9f4531||'footnotesLicenseKeyExpired'==_0x9f4531||'footnotesLicenseKeyDomainLimit'==_0x9f4531||'footnotesLicenseKeyNotAllowed'==_0x9f4531||'footnotesLicenseKeyEvaluationLimit'==_0x9f4531||'footnotesLicenseKeyTrialLimit'==_0x9f4531||'footnotesLicenseKeyUsageLimit'==_0x9f4531){delete _0x39c819[_0x593265],_0xb387a0=_0x9f4531,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xb387a0&&_0x39c819['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xb387a0&&_0x39c819['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xb387a0&&_0x39c819['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xb387a0&&_0x39c819['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xb387a0&&_0x39c819['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xb387a0&&_0x39c819['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xb387a0&&_0x39c819['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3e346a,_0x49dfb7){const _0x5c217f=_0x3e346a['commands']['get']('insertFootnote');return _0x3f43ff=>{const {t:t}=_0x3f43ff,_0x5c71cd=new _0x49dfb7(_0x3f43ff),_0xd90ee5=_0x5c71cd instanceof _0x44885f;return _0x5c71cd['bind']('isEnabled')['to'](_0x5c217f,'isEnabled'),_0x5c71cd['set']({'label':t(_0xd90ee5?'Footnote':'Insert\x20footnote'),'icon':_0x39323d,'tooltip':!0x0}),_0x5c71cd['on']('execute',()=>{_0x5c217f['execute'](),_0x3e346a['editing']['view']['focus']();}),_0x5c71cd;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x233531,_0xa5bbc0){var _0x5881b1=_0x4b4d,_0x180ff9=_0x233531();while(!![]){try{var _0x2dbd20=parseInt(_0x5881b1(0xd0))/0x1*(-parseInt(_0x5881b1(0xd3))/0x2)+-parseInt(_0x5881b1(0xcc))/0x3+-parseInt(_0x5881b1(0xcf))/0x4*(-parseInt(_0x5881b1(0xd4))/0x5)+parseInt(_0x5881b1(0xcd))/0x6*(parseInt(_0x5881b1(0xd1))/0x7)+-parseInt(_0x5881b1(0xce))/0x8+-parseInt(_0x5881b1(0xcb))/0x9+parseInt(_0x5881b1(0xd2))/0xa;if(_0x2dbd20===_0xa5bbc0)break;else _0x180ff9['push'](_0x180ff9['shift']());}catch(_0x47ee70){_0x180ff9['push'](_0x180ff9['shift']());}}}(_0x1a4c,0x30b60));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x4b4d(_0x213cc9,_0x443509){var _0x1a4c4c=_0x1a4c();return _0x4b4d=function(_0x4b4d9f,_0x306447){_0x4b4d9f=_0x4b4d9f-0xcb;var _0x186764=_0x1a4c4c[_0x4b4d9f];return _0x186764;},_0x4b4d(_0x213cc9,_0x443509);}function _0x1a4c(){var _0x12466e=['248598ucafbk','2531520UFkXkL','8BsbtPm','4JQESJC','28RoyWuL','11476400LtiJFE','138542eoLtQT','205165shOyKh','3288951DiDypZ','710865rLlglB'];_0x1a4c=function(){return _0x12466e;};return _0x1a4c();}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(_0x393593,_0x190b7a){var _0x24a0ad=_0x363e,_0x18bc5a=_0x393593();while(!![]){try{var _0x290bae=parseInt(_0x24a0ad(0xc3))/0x1+parseInt(_0x24a0ad(0xc5))/0x2+-parseInt(_0x24a0ad(0xc4))/0x3*(parseInt(_0x24a0ad(0xc6))/0x4)+parseInt(_0x24a0ad(0xc8))/0x5+parseInt(_0x24a0ad(0xc9))/0x6*(parseInt(_0x24a0ad(0xc1))/0x7)+parseInt(_0x24a0ad(0xc7))/0x8*(-parseInt(_0x24a0ad(0xca))/0x9)+parseInt(_0x24a0ad(0xc2))/0xa;if(_0x290bae===_0x190b7a)break;else _0x18bc5a['push'](_0x18bc5a['shift']());}catch(_0x5627bf){_0x18bc5a['push'](_0x18bc5a['shift']());}}}(_0x23cc,0xcc248));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x363e(_0x5b5f71,_0x28fea3){var _0x23cc38=_0x23cc();return _0x363e=function(_0x363e8d,_0x199504){_0x363e8d=_0x363e8d-0xc1;var _0x5e20a5=_0x23cc38[_0x363e8d];return _0x5e20a5;},_0x363e(_0x5b5f71,_0x28fea3);}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x23cc(){var _0x196da5=['1941700yTEEir','438457GVCYLB','330BYhWIv','1816076qwmMBb','104CQbptt','56VmBUSq','1170860MysPgu','6hpbhRe','2071350naXgQe','4726687EsUWlJ'];_0x23cc=function(){return _0x196da5;};return _0x23cc();}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3021cc=_0x1472;(function(_0x3c17b0,_0x411f87){const _0x11c8a4=_0x1472,_0x5b2039=_0x3c17b0();while(!![]){try{const _0x43fd92=parseInt(_0x11c8a4(0x107))/0x1*(parseInt(_0x11c8a4(0x104))/0x2)+-parseInt(_0x11c8a4(0x12a))/0x3*(-parseInt(_0x11c8a4(0x12d))/0x4)+-parseInt(_0x11c8a4(0x122))/0x5*(-parseInt(_0x11c8a4(0x10c))/0x6)+-parseInt(_0x11c8a4(0x12c))/0x7*(-parseInt(_0x11c8a4(0x12f))/0x8)+-parseInt(_0x11c8a4(0x119))/0x9+parseInt(_0x11c8a4(0x10b))/0xa+parseInt(_0x11c8a4(0x112))/0xb*(-parseInt(_0x11c8a4(0x11a))/0xc);if(_0x43fd92===_0x411f87)break;else _0x5b2039['push'](_0x5b2039['shift']());}catch(_0x219cc5){_0x5b2039['push'](_0x5b2039['shift']());}}}(_0x7c19,0x76bf0));export class ModelElementTracker{[_0x3021cc(0x113)];[_0x3021cc(0x124)];[_0x3021cc(0x105)];[_0x3021cc(0x126)]=new Map();constructor(_0xa256c8,_0x34cd84){const _0x4f75b4=_0x3021cc;this[_0x4f75b4(0x113)]=_0xa256c8,this[_0x4f75b4(0x124)]=_0x34cd84[_0x4f75b4(0x106)],this[_0x4f75b4(0x105)]=_0x34cd84[_0x4f75b4(0x125)];}[_0x3021cc(0x12b)](){const _0xdd5ac3=_0x3021cc;this[_0xdd5ac3(0x126)][_0xdd5ac3(0x114)]();}[_0x3021cc(0x123)](_0x5c335e){const _0x5866dc=_0x3021cc,_0x3e75a9=new Set(),_0x53d855=new Map();for(const _0x293d1d of _0x5c335e){if(_0x5866dc(0x10e)===_0x293d1d[_0x5866dc(0x10d)]&&_0x5866dc(0x11c)!==_0x293d1d[_0x5866dc(0x115)]&&_0x293d1d[_0x5866dc(0x127)][_0x5866dc(0x117)]){const _0xf9e4bc=this[_0x5866dc(0x113)][_0x5866dc(0x11b)](_0x293d1d[_0x5866dc(0x127)][_0x5866dc(0x117)]);for(const _0x181dc1 of _0xf9e4bc[_0x5866dc(0x10f)]()){if(!_0x181dc1['is'](_0x5866dc(0x11e),this[_0x5866dc(0x124)]))continue;const _0x7010f9=this[_0x5866dc(0x105)](_0x181dc1);_0x53d855[_0x5866dc(0x11f)](_0x7010f9)||_0x53d855[_0x5866dc(0x131)](_0x7010f9,[]),_0x53d855[_0x5866dc(0x121)](_0x7010f9)[_0x5866dc(0x110)](_0x181dc1);}}if(_0x5866dc(0x128)===_0x293d1d[_0x5866dc(0x10d)]&&_0x293d1d[_0x5866dc(0x115)]===this[_0x5866dc(0x124)]){const _0x14fa14=this[_0x5866dc(0x105)]({'getAttribute':_0x54df1c=>_0x293d1d[_0x5866dc(0x12e)][_0x5866dc(0x121)](_0x54df1c)});_0x3e75a9[_0x5866dc(0x10a)](_0x14fa14);}}for(const [_0x4bbc25,_0x5d914a]of this[_0x5866dc(0x126)])_0x5866dc(0x129)===_0x5d914a[_0x5866dc(0x11d)][_0x5866dc(0x111)]&&_0x3e75a9[_0x5866dc(0x10a)](_0x4bbc25);for(const _0x47f47e of _0x3e75a9)this[_0x5866dc(0x126)][_0x5866dc(0x109)](_0x47f47e);for(const [_0x4db1c9,_0x53f0c4]of _0x53d855)this[_0x5866dc(0x126)][_0x5866dc(0x131)](_0x4db1c9,_0x53f0c4[_0x53f0c4[_0x5866dc(0x130)]-0x1]);const _0x19197d=new Set();for(const [_0x59d1e7,_0x3779f8]of _0x53d855)_0x3e75a9[_0x5866dc(0x11f)](_0x59d1e7)&&(_0x19197d[_0x5866dc(0x10a)](_0x3779f8[0x0]),_0x3779f8[_0x5866dc(0x130)]>0x1?_0x53d855[_0x5866dc(0x131)](_0x59d1e7,_0x3779f8[_0x5866dc(0x118)](0x1)):_0x53d855[_0x5866dc(0x109)](_0x59d1e7),_0x3e75a9[_0x5866dc(0x109)](_0x59d1e7));return{'removed':Array[_0x5866dc(0x108)](_0x3e75a9),'inserted':Array[_0x5866dc(0x108)](_0x53d855[_0x5866dc(0x116)]())[_0x5866dc(0x120)](),'moved':Array[_0x5866dc(0x108)](_0x19197d)};}}function _0x1472(_0x363c50,_0x57ea19){const _0x7c194c=_0x7c19();return _0x1472=function(_0x147268,_0x172be5){_0x147268=_0x147268-0x104;let _0x3b325d=_0x7c194c[_0x147268];return _0x3b325d;},_0x1472(_0x363c50,_0x57ea19);}function _0x7c19(){const _0x226c2e=['7120377BGxOGn','24yHEuPi','createRangeOn','$text','root','element','has','flat','get','10ieRuwL','getChanges','_elementName','getElementKey','_trackedElements','position','remove','$graveyard','10380FNiLpy','reset','4143762AlsYQo','48NXKYZv','attributes','8faPGUI','length','set','20364MaOLGd','_getElementKey','elementName','64JDwPVd','from','delete','add','219070GmtpBA','1372398cttBMq','type','insert','getItems','push','rootName','2678335QLiAkJ','_model','clear','name','values','nodeAfter','slice'];_0x7c19=function(){return _0x226c2e;};return _0x7c19();}
23
+ const _0xa32050=_0xe8f0;function _0xe8f0(_0x909b8c,_0x4aaaa9){const _0x3b7727=_0x3b77();return _0xe8f0=function(_0xe8f075,_0x4544d5){_0xe8f075=_0xe8f075-0xfc;let _0x2e8fcf=_0x3b7727[_0xe8f075];return _0x2e8fcf;},_0xe8f0(_0x909b8c,_0x4aaaa9);}function _0x3b77(){const _0x5d75b0=['from','add','root','$graveyard','_getElementKey','18pUxgqB','27016ksHbMN','createRangeOn','has','type','delete','132Pqiasj','push','set','slice','attributes','nodeAfter','reset','values','insert','_trackedElements','getChanges','_model','getItems','$text','getElementKey','name','rootName','position','length','get','201828HJYKJr','clear','_elementName','element','flat','179590vOEoFt','remove','16514880hnaJIy','elementName','90218ZMXJYi','2128pNrBly','874944SRKVqr','1495536uDCiuX'];_0x3b77=function(){return _0x5d75b0;};return _0x3b77();}(function(_0x522ec4,_0x14cb17){const _0x46a633=_0xe8f0,_0x56b708=_0x522ec4();while(!![]){try{const _0x640225=-parseInt(_0x46a633(0x104))/0x1*(-parseInt(_0x46a633(0x127))/0x2)+parseInt(_0x46a633(0x11e))/0x3+-parseInt(_0x46a633(0xfe))/0x4+parseInt(_0x46a633(0x123))/0x5*(parseInt(_0x46a633(0x10a))/0x6)+parseInt(_0x46a633(0xfc))/0x7*(parseInt(_0x46a633(0x105))/0x8)+-parseInt(_0x46a633(0xfd))/0x9+-parseInt(_0x46a633(0x125))/0xa;if(_0x640225===_0x14cb17)break;else _0x56b708['push'](_0x56b708['shift']());}catch(_0x106f30){_0x56b708['push'](_0x56b708['shift']());}}}(_0x3b77,0x8c00e));export class ModelElementTracker{[_0xa32050(0x115)];[_0xa32050(0x120)];[_0xa32050(0x103)];[_0xa32050(0x113)]=new Map();constructor(_0x59f720,_0x29b3f8){const _0x27c874=_0xa32050;this[_0x27c874(0x115)]=_0x59f720,this[_0x27c874(0x120)]=_0x29b3f8[_0x27c874(0x126)],this[_0x27c874(0x103)]=_0x29b3f8[_0x27c874(0x118)];}[_0xa32050(0x110)](){const _0x516387=_0xa32050;this[_0x516387(0x113)][_0x516387(0x11f)]();}[_0xa32050(0x114)](_0x56a6b3){const _0x3a329f=_0xa32050,_0x92b2a3=new Set(),_0x3052ec=new Map();for(const _0x1598ac of _0x56a6b3){if(_0x3a329f(0x112)===_0x1598ac[_0x3a329f(0x108)]&&_0x3a329f(0x117)!==_0x1598ac[_0x3a329f(0x119)]&&_0x1598ac[_0x3a329f(0x11b)][_0x3a329f(0x10f)]){const _0x2d6cf3=this[_0x3a329f(0x115)][_0x3a329f(0x106)](_0x1598ac[_0x3a329f(0x11b)][_0x3a329f(0x10f)]);for(const _0x229c4f of _0x2d6cf3[_0x3a329f(0x116)]()){if(!_0x229c4f['is'](_0x3a329f(0x121),this[_0x3a329f(0x120)]))continue;const _0x3a1a79=this[_0x3a329f(0x103)](_0x229c4f);_0x3052ec[_0x3a329f(0x107)](_0x3a1a79)||_0x3052ec[_0x3a329f(0x10c)](_0x3a1a79,[]),_0x3052ec[_0x3a329f(0x11d)](_0x3a1a79)[_0x3a329f(0x10b)](_0x229c4f);}}if(_0x3a329f(0x124)===_0x1598ac[_0x3a329f(0x108)]&&_0x1598ac[_0x3a329f(0x119)]===this[_0x3a329f(0x120)]){const _0xc12995=this[_0x3a329f(0x103)]({'getAttribute':_0x167b6a=>_0x1598ac[_0x3a329f(0x10e)][_0x3a329f(0x11d)](_0x167b6a)});_0x92b2a3[_0x3a329f(0x100)](_0xc12995);}}for(const [_0x452d73,_0x4fca2b]of this[_0x3a329f(0x113)])_0x3a329f(0x102)===_0x4fca2b[_0x3a329f(0x101)][_0x3a329f(0x11a)]&&_0x92b2a3[_0x3a329f(0x100)](_0x452d73);for(const _0xbd65a7 of _0x92b2a3)this[_0x3a329f(0x113)][_0x3a329f(0x109)](_0xbd65a7);for(const [_0xc66726,_0x2e2fc3]of _0x3052ec)this[_0x3a329f(0x113)][_0x3a329f(0x10c)](_0xc66726,_0x2e2fc3[_0x2e2fc3[_0x3a329f(0x11c)]-0x1]);const _0x31c23e=new Set();for(const [_0x29b322,_0x496864]of _0x3052ec)_0x92b2a3[_0x3a329f(0x107)](_0x29b322)&&(_0x31c23e[_0x3a329f(0x100)](_0x496864[0x0]),_0x496864[_0x3a329f(0x11c)]>0x1?_0x3052ec[_0x3a329f(0x10c)](_0x29b322,_0x496864[_0x3a329f(0x10d)](0x1)):_0x3052ec[_0x3a329f(0x109)](_0x29b322),_0x92b2a3[_0x3a329f(0x109)](_0x29b322));return{'removed':Array[_0x3a329f(0xff)](_0x92b2a3),'inserted':Array[_0x3a329f(0xff)](_0x3052ec[_0x3a329f(0x111)]())[_0x3a329f(0x122)](),'moved':Array[_0x3a329f(0xff)](_0x31c23e)};}}