@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251123.0 → 0.0.0-nightly-20251125.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 _0x1906d1}from'ckeditor5/src/core.js';import{isWidget as _0xbe5320,toWidget as _0x1512a2,toWidgetEditable as _0x2d3d7a}from'ckeditor5/src/widget.js';import{uid as _0x385376}from'ckeditor5/src/utils.js';import{PointerObserver as _0x352581,ClickObserver as _0x38d9c7}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x35b82c}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x332d63}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1906d1{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x35b82c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x27887b}=this;_0x27887b['config']['define']('footnotes.multiBlock',!0x0),_0x27887b['commands']['add']('insertFootnote',new _0x332d63(_0x27887b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2a7911){const _0x42e1eb=_0x1f1a47([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]),_0x2123f3=0x47a28506,_0x1a366e=0x47a5fcee^_0x2123f3,_0x1c0dfb=window[_0x1f1a47([0x44,0x61,0x74,0x65])][_0x1f1a47([0x6e,0x6f,0x77])](),_0x1d88b1=_0x2a7911[_0x1f1a47([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34f00a=new window[(_0x1f1a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32f79c=>{_0x1d88b1[_0x1f1a47([0x6f,0x6e,0x63,0x65])](_0x1f1a47([0x72,0x65,0x61,0x64,0x79]),_0x32f79c);}),_0x2f52bd={[_0x1f1a47([0x6b,0x74,0x79])]:_0x1f1a47([0x45,0x43]),[_0x1f1a47([0x75,0x73,0x65])]:_0x1f1a47([0x73,0x69,0x67]),[_0x1f1a47([0x63,0x72,0x76])]:_0x1f1a47([0x50,0x2d,0x32,0x35,0x36]),[_0x1f1a47([0x78])]:_0x1f1a47([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]),[_0x1f1a47([0x79])]:_0x1f1a47([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]),[_0x1f1a47([0x61,0x6c,0x67])]:_0x1f1a47([0x45,0x53,0x32,0x35,0x36])},_0x4f3c29=_0x1d88b1[_0x1f1a47([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f1a47([0x67,0x65,0x74])](_0x1f1a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xeaf765(){let _0x57cb6b,_0x1afd81=null,_0x4d69cc=null;try{if(_0x4f3c29==_0x1f1a47([0x47,0x50,0x4c]))return _0x1f1a47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57cb6b=_0x3fa0b1(),!_0x57cb6b)return _0x1f1a47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57cb6b[_0x1f1a47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d69cc=_0x172545(_0x57cb6b[_0x1f1a47([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57cb6b[_0x1f1a47([0x6a,0x74,0x69])])),await _0x1354b0()?_0x17046a()?_0x472cf4()?_0x1f1a47([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5686de()?(_0x57cb6b[_0x1f1a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1a47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1afd81=_0x327736(_0x1f1a47([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57cb6b[_0x1f1a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f1a47([0x74,0x72,0x69,0x61,0x6c])&&(_0x1afd81=_0x327736(_0x1f1a47([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x412d6e()):_0x1f1a47([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1a47([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f1a47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f1a47([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x472cf4(){const _0x113daa=[_0x1f1a47([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f1a47([0x74,0x72,0x69,0x61,0x6c])][_0x1f1a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57cb6b[_0x1f1a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1c0dfb/0x3e8:0xe10*_0x1a366e;return _0x57cb6b[_0x1f1a47([0x65,0x78,0x70])]<_0x113daa;}function _0x17046a(){const _0x50ad71=_0x57cb6b[_0x1f1a47([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x50ad71&&(!!_0x50ad71[_0x1f1a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1a47([0x2a]))||!!_0x50ad71[_0x1f1a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1a47([0x46,0x4f,0x4f])));}function _0x5686de(){const _0x1de7f8=_0x57cb6b[_0x1f1a47([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1de7f8||0x0==_0x1de7f8[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x159a2b}=new URL(window[_0x1f1a47([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1de7f8[_0x1f1a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x159a2b))return!0x0;const _0x309b6a=_0x159a2b[_0x1f1a47([0x73,0x70,0x6c,0x69,0x74])](_0x1f1a47([0x2e]));return _0x1de7f8[_0x1f1a47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44cb69=>_0x44cb69[_0x1f1a47([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1a47([0x2a])))[_0x1f1a47([0x6d,0x61,0x70])](_0x39f466=>_0x39f466[_0x1f1a47([0x73,0x70,0x6c,0x69,0x74])](_0x1f1a47([0x2e])))[_0x1f1a47([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e524f=>_0x5e524f[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x309b6a[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1a47([0x6d,0x61,0x70])](_0xa97c5c=>Array(_0x309b6a[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa97c5c[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f1a47([0x66,0x69,0x6c,0x6c])](_0xa97c5c[0x0]===_0x1f1a47([0x2a])?_0x1f1a47([0x2a]):'')[_0x1f1a47([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa97c5c))[_0x1f1a47([0x73,0x6f,0x6d,0x65])](_0x1fcab5=>_0x309b6a[_0x1f1a47([0x65,0x76,0x65,0x72,0x79])]((_0x5a0126,_0x1ea61b)=>_0x1fcab5[_0x1ea61b]===_0x5a0126||_0x1fcab5[_0x1ea61b]===_0x1f1a47([0x2a])));}function _0x412d6e(){return _0x1afd81&&_0x4d69cc?new window[(_0x1f1a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x153b3a,_0x20be36)=>{_0x1afd81[_0x1f1a47([0x74,0x68,0x65,0x6e])](_0x153b3a,_0x20be36),_0x4d69cc[_0x1f1a47([0x74,0x68,0x65,0x6e])](_0x4fa42b=>{_0x4fa42b!=_0x1f1a47([0x56,0x61,0x6c,0x69,0x64])&&_0x153b3a(_0x4fa42b);},_0x20be36);}):_0x1afd81||_0x4d69cc||_0x1f1a47([0x56,0x61,0x6c,0x69,0x64]);}}function _0x172545(_0x37551b,_0x4dc88f){return new window[(_0x1f1a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2208dd=>{if(_0x2e8a00())return _0x2208dd(_0x1f1a47([0x56,0x61,0x6c,0x69,0x64]));_0x2efa12(),_0x1d88b1[_0x1f1a47([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f1a47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17d795=!0x1;const _0x4554bd=_0x385376();function _0x26ad65(_0x5db40a){return!!_0x5db40a&&(typeof _0x5db40a===_0x1f1a47([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5db40a===_0x1f1a47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5db40a[_0x1f1a47([0x74,0x68,0x65,0x6e])]===_0x1f1a47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5db40a[_0x1f1a47([0x63,0x61,0x74,0x63,0x68])]===_0x1f1a47([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26ba7e(_0x3465a6){_0x2d9d61(_0x3465a6)[_0x1f1a47([0x74,0x68,0x65,0x6e])](_0x10f289=>{if(!_0x10f289||_0x10f289[_0x1f1a47([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f1a47([0x6f,0x6b]))return _0x1f1a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x314aa9(_0x2d43d4(_0x4554bd+_0x4dc88f))!=_0x10f289[_0x1f1a47([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f1a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f1a47([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1a47([0x74,0x68,0x65,0x6e])](_0x19c325=>(_0x5e5b52(),_0x19c325),()=>{const _0x332aaf=_0x4a53a1();return null==_0x332aaf?(_0x5e5b52(),_0x1f1a47([0x56,0x61,0x6c,0x69,0x64])):_0x1f1a47(_0x1c0dfb-_0x332aaf>(0x63ae0106^_0x2123f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f1a47([0x74,0x68,0x65,0x6e])](_0x2208dd)[_0x1f1a47([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2208dd(_0x1f1a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x439fdb=0x47946b86^_0x2123f3;function _0x5e5b52(){const _0x4d8c5b=_0x1f1a47([0x6c,0x6c,0x63,0x74,0x2d])+_0x314aa9(_0x2d43d4(_0x37551b)),_0x13e169=_0x341db7(_0x314aa9(window[_0x1f1a47([0x4d,0x61,0x74,0x68])][_0x1f1a47([0x63,0x65,0x69,0x6c])](_0x1c0dfb/_0x439fdb)));window[_0x1f1a47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1a47([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d8c5b,_0x13e169);}function _0x4a53a1(){const _0x30d15d=_0x1f1a47([0x6c,0x6c,0x63,0x74,0x2d])+_0x314aa9(_0x2d43d4(_0x37551b)),_0x5d34e9=window[_0x1f1a47([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f1a47([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30d15d);return _0x5d34e9?window[_0x1f1a47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x341db7(_0x5d34e9),0x10)*_0x439fdb:null;}function _0x2d9d61(_0x13d5df){return new window[(_0x1f1a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cea07,_0x4aca68)=>{_0x13d5df[_0x1f1a47([0x74,0x68,0x65,0x6e])](_0x2cea07,_0x4aca68),window[_0x1f1a47([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4aca68,0x47a351c6^_0x2123f3);});}}_0x1d88b1[_0x1f1a47([0x6f,0x6e])](_0x1f1a47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4b945f,_0x36e9ce)=>{if(_0x36e9ce[0x0]!=_0x37551b)return _0x2208dd(_0x1f1a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x36e9ce[0x1]={..._0x36e9ce[0x1],[_0x1f1a47([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4554bd};},{[_0x1f1a47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1a47([0x68,0x69,0x67,0x68])}),_0x1d88b1[_0x1f1a47([0x6f,0x6e])](_0x1f1a47([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x543115=>{_0x26ad65(_0x543115[_0x1f1a47([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17d795=!0x0,_0x26ba7e(_0x543115[_0x1f1a47([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f1a47([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f1a47([0x6c,0x6f,0x77])}),_0x34f00a[_0x1f1a47([0x74,0x68,0x65,0x6e])](()=>{_0x17d795||_0x2208dd(_0x1f1a47([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e8a00(){return _0x1d88b1[_0x1f1a47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1a47([0x76,0x69,0x65,0x77])][_0x1f1a47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f1a47([0x61,0x75,0x74,0x6f]);}function _0x2efa12(){_0x1d88b1[_0x1f1a47([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f1a47([0x76,0x69,0x65,0x77])][_0x1f1a47([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f1a47([0x61,0x75,0x74,0x6f]);}}function _0x327736(_0x1928ed){const _0x138b42=[new window[(_0x1f1a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44ddab=>setTimeout(_0x44ddab,0x47abbbca^_0x2123f3)),_0x34f00a[_0x1f1a47([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f1a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcbdc57=>{let _0x345aff=0x0;_0x1d88b1[_0x1f1a47([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1a47([0x6f,0x6e])](_0x1f1a47([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x10f11a,_0x40f286)=>{_0x40f286[0x0][_0x1f1a47([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x345aff++,_0x345aff==(0x47a284fe^_0x2123f3)&&(_0xcbdc57(),_0x10f11a[_0x1f1a47([0x6f,0x66,0x66])]());});}))];return window[_0x1f1a47([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f1a47([0x72,0x61,0x63,0x65])](_0x138b42)[_0x1f1a47([0x74,0x68,0x65,0x6e])](()=>_0x1928ed);}async function _0x21d641(){await _0x34f00a,_0x1d88b1[_0x1f1a47([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1a47([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x264756,_0x1d88b1[_0x1f1a47([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f1a47([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x264756,_0x1d88b1[_0x1f1a47([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f1a47([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x153d81(_0x588e9d){const _0x1e8865=_0x51a4e0();_0x1d88b1[_0x1e8865]=_0x1f1a47([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x588e9d,_0x588e9d!=_0x1f1a47([0x56,0x61,0x6c,0x69,0x64])&&_0x21d641();}function _0x51a4e0(){const _0x441b44=window[_0x1f1a47([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f1a47([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f1a47([0x6e,0x6f,0x77])]())[_0x1f1a47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f1a47([0x2e]),'');let _0x399e5d=_0x1f1a47([0x75]);for(let _0x4a6439=0x0;_0x4a6439<_0x441b44[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a6439+=0x2){let _0x5ed681=window[_0x1f1a47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x441b44[_0x1f1a47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a6439,_0x4a6439+0x2));_0x5ed681>=_0x42e1eb[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ed681-=_0x42e1eb[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x399e5d+=_0x42e1eb[_0x5ed681];}return _0x399e5d;}function _0x3fa0b1(){const _0x3d7b8e=_0x4f3c29[_0x1f1a47([0x73,0x70,0x6c,0x69,0x74])](_0x1f1a47([0x2e]));if(0x3!=_0x3d7b8e[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x23d42f(_0x3d7b8e[0x1]);function _0x23d42f(_0x579a9c){const _0x95dfac=_0x5a1072(_0x579a9c);return _0x95dfac&&_0x2c6fa1()?_0x95dfac:null;function _0x2c6fa1(){const _0x54b476=_0x95dfac[_0x1f1a47([0x6a,0x74,0x69])],_0x5b1c18=window[_0x1f1a47([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54b476[_0x1f1a47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54b476[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x304e8c={..._0x95dfac,[_0x1f1a47([0x6a,0x74,0x69])]:_0x54b476[_0x1f1a47([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54b476[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x304e8c[_0x1f1a47([0x76,0x63])],_0x2d43d4(_0x304e8c)==_0x5b1c18;}}}async function _0x1354b0(){let _0x114046=!0x0;try{const _0xddfbe5=_0x4f3c29[_0x1f1a47([0x73,0x70,0x6c,0x69,0x74])](_0x1f1a47([0x2e])),[_0x11826a,_0x1c4da9,_0x2730ed]=_0xddfbe5;return _0x38e44d(_0x11826a),await _0x84bc09(_0x11826a,_0x1c4da9,_0x2730ed),_0x114046;}catch{return!0x1;}function _0x38e44d(_0x3dd5c1){const _0x25e891=_0x5a1072(_0x3dd5c1);_0x25e891&&_0x25e891[_0x1f1a47([0x61,0x6c,0x67])]==_0x1f1a47([0x45,0x53,0x32,0x35,0x36])||(_0x114046=!0x1);}async function _0x84bc09(_0x57eec3,_0x239c27,_0x4cb6c5){const _0x12752c=window[_0x1f1a47([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f1a47([0x66,0x72,0x6f,0x6d])](_0x3c81cb(_0x4cb6c5),_0x4c1370=>_0x4c1370[_0x1f1a47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x121cdf=new window[(_0x1f1a47([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f1a47([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57eec3+_0x1f1a47([0x2e])+_0x239c27),_0x9b77c6=window[_0x1f1a47([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f1a47([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9b77c6)return;const _0x3d1e9b=await _0x9b77c6[_0x1f1a47([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f1a47([0x6a,0x77,0x6b]),_0x2f52bd,{[_0x1f1a47([0x6e,0x61,0x6d,0x65])]:_0x1f1a47([0x45,0x43,0x44,0x53,0x41]),[_0x1f1a47([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f1a47([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f1a47([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9b77c6[_0x1f1a47([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f1a47([0x6e,0x61,0x6d,0x65])]:_0x1f1a47([0x45,0x43,0x44,0x53,0x41]),[_0x1f1a47([0x68,0x61,0x73,0x68])]:{[_0x1f1a47([0x6e,0x61,0x6d,0x65])]:_0x1f1a47([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3d1e9b,_0x12752c,_0x121cdf)||(_0x114046=!0x1);}}function _0x5a1072(_0x1d7e50){return _0x1d7e50[_0x1f1a47([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f1a47([0x65,0x79]))?JSON[_0x1f1a47([0x70,0x61,0x72,0x73,0x65])](_0x3c81cb(_0x1d7e50)):null;}function _0x3c81cb(_0x3f0951){return window[_0x1f1a47([0x61,0x74,0x6f,0x62])](_0x3f0951[_0x1f1a47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f1a47([0x2b]))[_0x1f1a47([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f1a47([0x2f])));}function _0x2d43d4(_0x92a0da){let _0x538a4d=0x1505;function _0x23efbd(_0x4c828e){for(let _0x453382=0x0;_0x453382<_0x4c828e[_0x1f1a47([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x453382++){const _0x44b177=_0x4c828e[_0x1f1a47([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x453382);_0x538a4d=(_0x538a4d<<0x5)+_0x538a4d+_0x44b177,_0x538a4d&=_0x538a4d;}}function _0x32b7f8(_0x519ac){Array[_0x1f1a47([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x519ac)?_0x519ac[_0x1f1a47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32b7f8):_0x519ac&&typeof _0x519ac==_0x1f1a47([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f1a47([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x519ac)[_0x1f1a47([0x73,0x6f,0x72,0x74])]()[_0x1f1a47([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x36488b,_0x5c6cec])=>{_0x23efbd(_0x36488b),_0x32b7f8(_0x5c6cec);}):_0x23efbd(window[_0x1f1a47([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x519ac));}return _0x32b7f8(_0x92a0da),_0x538a4d>>>0x0;}function _0x314aa9(_0x517a4b){return _0x517a4b[_0x1f1a47([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f1a47([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f1a47([0x30]));}function _0x341db7(_0x35c0d0){return _0x35c0d0[_0x1f1a47([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f1a47([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f1a47([0x6a,0x6f,0x69,0x6e])]('');}function _0x264756(){}function _0x1f1a47(_0x45f420){return _0x45f420['map'](_0x534f87=>String['fromCharCode'](_0x534f87))['join']('');}_0x153d81(await _0xeaf765());}(this);}['_moveSelectionToFootnoteDefinition'](_0x568d51){const {plugins:_0x431ac2,editing:_0x42b55b,model:_0x302c05}=this['editor'],_0xae3233=_0x431ac2['get'](_0x35b82c)['getFootnote'](_0x568d51);return!!_0xae3233&&(_0x302c05['change'](_0x121a4d=>{_0x121a4d['setSelection'](_0x121a4d['createPositionAt'](_0xae3233['definition'],'end'));}),_0x42b55b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x473f76){const {plugins:_0x5e16e9,editing:_0x475632,model:_0x55395e}=this['editor'],_0x15d7c5=_0x5e16e9['get'](_0x35b82c)['getFootnote'](_0x473f76);return!!_0x15d7c5&&(_0x55395e['change'](_0xb7c4c7=>{_0xb7c4c7['setSelection'](_0x15d7c5['reference'],'on');}),_0x475632['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x296ad9}=this['editor']['model'],_0x5989b1=this['editor']['config']['get']('footnotes.multiBlock');_0x296ad9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x296ad9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x296ad9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5989b1?_0x296ad9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x296ad9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x296ad9['addChildCheck'](_0xf525eb=>{for(const _0x165f9a of _0xf525eb)if('footnoteDefinition'===_0x165f9a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1ec4af}=this,{conversion:_0x26f686,editing:_0x30a375}=_0x1ec4af,{t:t}=_0x1ec4af['locale'];_0x26f686['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x166d88,{writer:_0x278efb,consumable:_0x5d7372})=>{const _0x1f280f=_0x166d88['getChild'](0x0);if(!_0x1f280f||!_0x1f280f['is']('element','a'))return null;const _0x4aefcf=_0x1f280f['getAttribute']('href')||'';if(!_0x4aefcf['startsWith']('#'))return null;const _0x59aa9a=_0x4aefcf['replace'](/^#/,'');if(!_0x59aa9a)return null;_0x5d7372['consume'](_0x1f280f,{'name':!0x0,'attributes':['href']});for(const {item:_0x342a1a}of _0x30a375['view']['createRangeIn'](_0x1f280f))_0x342a1a['is']('$textProxy')?_0x5d7372['consume'](_0x342a1a['textNode'],{'name':!0x0}):_0x342a1a['is']('element')&&_0x5d7372['consume'](_0x342a1a,{'name':!0x0});return _0x278efb['createElement']('footnoteRef',{'footnoteId':_0x59aa9a});}}),_0x26f686['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x25a130,{writer:_0x41fb77})=>D(_0x25a130,_0x41fb77)}),_0x26f686['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3d2ced,{writer:_0x3600f7})=>{const _0x1bc838=_0x3d2ced['getAttribute']('footnoteCounter');return _0x1512a2(D(_0x3d2ced,_0x3600f7),_0x3600f7,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1bc838)});}});}['_defineDefinitionsConverters'](){const {editor:_0x419f97}=this,{t:t}=_0x419f97['locale'],{conversion:_0x2c1289}=_0x419f97;_0x2c1289['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2c1289['for']('upcast')['add'](_0x7b6f5e=>{_0x7b6f5e['on']('element:ol',(_0x3764af,_0x307e8b,_0x45feed)=>{const _0x173392=_0x307e8b['viewItem'];if(!_0x173392['hasClass']('footnotes-list')||!_0x307e8b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x45feed['consumable']['consume'](_0x173392,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x7e5b3a,modelCursor:_0x27db49}=_0x45feed['convertChildren'](_0x307e8b['viewItem'],_0x307e8b['modelCursor']);_0x307e8b['modelRange']=_0x7e5b3a,_0x307e8b['modelCursor']=_0x27db49;}),_0x7b6f5e['on']('element:hr',(_0x32b3b1,_0x33e95d,_0x727bd6)=>{const _0x44b489=_0x33e95d['viewItem'];_0x44b489['hasClass']('footnotes-divider')&&_0x33e95d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x727bd6['consumable']['consume'](_0x44b489,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2c1289['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3843fd,{writer:_0x1dc881})=>v(_0x1dc881)}),_0x2c1289['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x594460,{writer:_0x5df89d})=>{const _0x14a981=v(_0x5df89d,{'data-footnotes-list-label':t('Footnotes')}),_0x1cbb8e=_0x1512a2(_0x14a981,_0x5df89d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5df89d['setCustomProperty']('footnotesDefinitions',!0x0,_0x1cbb8e),_0x1cbb8e;}});}['_defineDefinitionConverters'](){const {editor:_0x3f7085}=this,{conversion:_0x1e55ca,locale:_0x1f7e78}=_0x3f7085,_0x53264a=_0x3f7085['config']['get']('footnotes.multiBlock');_0x1e55ca['for']('upcast')['add'](_0x4cc1ba=>{_0x4cc1ba['on']('element:li',(_0x16b6d5,_0x2ef68e,_0x1bcf08)=>{const _0x526e07=_0x2ef68e['viewItem'];if(!_0x526e07['hasClass']('footnote-definition')||!_0x526e07['getAttribute']('id'))return;const _0x51753c=_0x526e07['parent'];if(!_0x51753c['is']('element','ol')||!_0x51753c['hasClass']('footnotes-list'))return;if(!_0x1bcf08['consumable']['test'](_0x526e07,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1e5946=_0x1bcf08['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x526e07['getAttribute']('id')});if(!_0x1bcf08['safeInsert'](_0x1e5946,_0x2ef68e['modelCursor']))return;_0x1bcf08['consumable']['consume'](_0x526e07,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x43f44d=Array['from'](_0x526e07['getChildren']())['find'](_0x433eb5=>_0x433eb5['is']('element')&&_0x433eb5['hasClass']('footnote-content'));for(const _0x562f5e of _0x526e07['getChildren']())_0x562f5e['is']('element')&&(_0x1bcf08['consumable']['consume'](_0x562f5e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1bcf08['consumable']['consume'](_0x562f5e,{'name':!0x0,'classes':'footnote-content'}));if(_0x43f44d){if(_0x53264a)_0x1bcf08['convertChildren'](_0x43f44d,_0x1e5946);else{const _0x3b6679=_0x1bcf08['writer']['createElement']('footnoteInlineContent');_0x1bcf08['writer']['insert'](_0x3b6679,_0x1e5946),_0x1bcf08['convertChildren'](_0x43f44d,_0x3b6679);}}_0x1bcf08['updateConversionResult'](_0x1e5946,_0x2ef68e);});}),_0x1e55ca['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x174141,{writer:_0x119413})=>b(_0x174141,_0x119413,_0x1f7e78,{'dataPipeline':!0x0})}),_0x1e55ca['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x272f37,{writer:_0xf2e618})=>b(_0x272f37,_0xf2e618,_0x1f7e78)});}['_defineBogusParagraphConverters'](){const {editor:_0x2453ea}=this,{conversion:_0x5b414a}=_0x2453ea;_0x2453ea['config']['get']('footnotes.multiBlock')?(_0x5b414a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5b414a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2453ea['model']['document'],'change:data',()=>{!function(_0xe0f2a9,_0x537a44){const _0x1d6ec1=_0xe0f2a9['document']['differ'],_0x4b2c74=new Set();for(const _0x1a1153 of _0x1d6ec1['getChanges']()){const _0x2d650a='attribute'==_0x1a1153['type']?_0x1a1153['range']['start']['parent']:_0x1a1153['position']['parent'];_0x2d650a['is']('element','footnoteDefinition')&&_0x4b2c74['add'](_0x2d650a);}for(const _0x13592c of _0x4b2c74['values']()){const _0xfb1bf8=Array['from'](_0x13592c['getChildren']())['filter'](_0xd509ff=>g(_0xd509ff,_0x537a44['mapper']));for(const _0x50442a of _0xfb1bf8)_0x537a44['reconvertItem'](_0x50442a);}}(_0x2453ea['model'],_0x2453ea['editing']);})):(_0x5b414a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5b414a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5a61d8,{writer:_0x142586})=>{const _0x5d4f0a=_0x142586['createContainerElement']('span');return _0x142586['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d4f0a),_0x5d4f0a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x17914a}=this,{editing:_0x33f0f7,t:t}=_0x17914a,_0x36d60e=_0x17914a['model']['document']['selection'];_0x17914a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x17914a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x33f0f7['view']['document'],'enter',(_0x2b0e6b,_0x42ec42)=>{const _0x20d7aa=function(_0x3d8009){const _0x4427ec=_0x3d8009['getSelectedElement']();if(_0x4427ec?.['is']('element','footnoteRef'))return _0x4427ec;return null;}(_0x36d60e);if(_0x20d7aa){const _0x44f846=_0x20d7aa['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x44f846),_0x42ec42['preventDefault'](),_0x2b0e6b['stop']();}},{'context':_0xbe5320});}['_defineClickHandlers'](){const {editor:_0x9f47bf}=this,{editing:_0x3eb340}=_0x9f47bf;_0x9f47bf['editing']['view']['addObserver'](_0x352581),_0x9f47bf['editing']['view']['addObserver'](_0x38d9c7);let _0x464031=!0x1;this['listenTo'](_0x3eb340['view']['document'],'pointerdown',(_0x18afd9,_0x5b8ddf)=>{const {target:_0x4cdf82}=_0x5b8ddf,_0x4ef53b=_0x3eb340['view']['document']['selection'];_0x464031=!!(_0x4cdf82?.['is']('element','a')&&_0x4cdf82['parent']?.['is']('element','sup')&&_0x4cdf82['parent']['hasClass']('footnote'))&&_0x4ef53b['getSelectedElement']()===_0x4cdf82['parent'];},{'priority':'high'}),this['listenTo'](_0x3eb340['view']['document'],'click',(_0x19c05d,_0x38e0ef)=>{const {target:_0x157a03}=_0x38e0ef;if(!_0x157a03?.['is']('element','a'))return;if(_0x157a03['parent']?.['is']('element','sup')&&_0x157a03['parent']['hasClass']('footnote')&&!_0x464031)return void _0x38e0ef['preventDefault']();let _0x31855c=_0x157a03['getAttribute']('href');if(!_0x31855c?.['startsWith']('#'))return;_0x31855c=_0x31855c['slice'](0x1);let _0x1c3b89=!0x1;(_0x31855c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x31855c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x31855c))&&(_0x1c3b89=!0x0),_0x1c3b89&&(_0x38e0ef['preventDefault'](),_0x19c05d['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x314e3b}={}){return(_0x1dbacf,{writer:_0x445a29})=>{if(!p(_0x1dbacf))return null;if(!_0x314e3b)return _0x445a29['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x24e87a=_0x445a29['createContainerElement']('p');return _0x445a29['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x24e87a),_0x24e87a;};}function p(_0x344c23){const {parent:_0x3fc30d}=_0x344c23;if(!_0x3fc30d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3fc30d['childCount'])return!0x1;for(const _0x4e0b60 of _0x344c23['getAttributeKeys']())if(!_0x4e0b60['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4e0b60)return!0x1;return!0x0;}function g(_0x17bcba,_0x1bb5d8){if(!_0x17bcba['is']('element','paragraph'))return!0x1;const _0x66fbe3=_0x1bb5d8['toViewElement'](_0x17bcba);return!!_0x66fbe3&&p(_0x17bcba)!==_0x66fbe3['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4234c6){return _0xbe5320(_0x4234c6)&&_0x4234c6['is']('containerElement')&&!!_0x4234c6['getCustomProperty']('footnotesDefinitions');}function v(_0x2f94fc,_0x1933f1={}){const _0x1227cd=_0x2f94fc['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3b1ac6=_0x2f94fc['createContainerElement']('ol',{'class':'footnotes-list'},_0x2f94fc['createSlot']());return _0x2f94fc['createContainerElement']('div',{'class':'footnotes',..._0x1933f1},[_0x1227cd,_0x3b1ac6]);}function D(_0x9108d9,_0x33002d){const _0x47955d=_0x9108d9['getAttribute']('footnoteId'),_0xd45c2=_0x9108d9['getAttribute']('footnoteCounter'),_0x1c5e10=_0x33002d['createUIElement']('a',{'href':'#'+_0x47955d},function(_0x42c341){const _0x520edd=this['toDomElement'](_0x42c341);return _0x520edd['textContent']=_0xd45c2,_0x520edd;}),_0xad18f0=_0x33002d['createContainerElement']('sup',{'id':'ref-'+_0x47955d,'class':'footnote'},[_0x1c5e10]);return _0xad18f0['getFillerOffset']=()=>null,_0xad18f0;}function b(_0x419905,_0x2d1de9,_0x545ffe,{dataPipeline:_0x59a616}={}){const {t:t}=_0x545ffe,_0x31179d=_0x419905['getAttribute']('footnoteId'),_0x349f66=_0x2d1de9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x31179d},function(_0x191e2e){const _0x50681e=this['toDomElement'](_0x191e2e);return _0x50681e['innerText']='^',_0x50681e;}),_0x18afe5=_0x59a616?_0x2d1de9['createContainerElement']('div',{'class':'footnote-content'}):_0x2d3d7a(_0x2d1de9['createEditableElement']('div',{'class':'footnote-content'}),_0x2d1de9,{'label':t('Footnote\x20content.')});return _0x2d1de9['insert'](_0x2d1de9['createPositionAt'](_0x18afe5,0x0),_0x2d1de9['createSlot']()),_0x2d1de9['createContainerElement']('li',{'class':'footnote-definition','id':_0x31179d},[_0x349f66,_0x18afe5]);}
23
+ import{Plugin as _0x484eb5}from'ckeditor5/src/core.js';import{isWidget as _0x20de30,toWidget as _0x4566f3,toWidgetEditable as _0x4cc01c}from'ckeditor5/src/widget.js';import{uid as _0x2647ed}from'ckeditor5/src/utils.js';import{PointerObserver as _0x218105,ClickObserver as _0x4dd6fb}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x19729b}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3306be}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x484eb5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x19729b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36f7ab}=this;_0x36f7ab['config']['define']('footnotes.multiBlock',!0x0),_0x36f7ab['commands']['add']('insertFootnote',new _0x3306be(_0x36f7ab)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xd6d977){const _0xdb27f9=_0x3d9ee8([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]),_0x353741=0x47a28506,_0x47371f=0x47a5ff1e^_0x353741,_0x6cb575=window[_0x3d9ee8([0x44,0x61,0x74,0x65])][_0x3d9ee8([0x6e,0x6f,0x77])](),_0x3c761a=_0xd6d977[_0x3d9ee8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5617f3=new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x515803=>{_0x3c761a[_0x3d9ee8([0x6f,0x6e,0x63,0x65])](_0x3d9ee8([0x72,0x65,0x61,0x64,0x79]),_0x515803);}),_0x324df8={[_0x3d9ee8([0x6b,0x74,0x79])]:_0x3d9ee8([0x45,0x43]),[_0x3d9ee8([0x75,0x73,0x65])]:_0x3d9ee8([0x73,0x69,0x67]),[_0x3d9ee8([0x63,0x72,0x76])]:_0x3d9ee8([0x50,0x2d,0x32,0x35,0x36]),[_0x3d9ee8([0x78])]:_0x3d9ee8([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]),[_0x3d9ee8([0x79])]:_0x3d9ee8([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]),[_0x3d9ee8([0x61,0x6c,0x67])]:_0x3d9ee8([0x45,0x53,0x32,0x35,0x36])},_0xe8c7a5=_0x3c761a[_0x3d9ee8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d9ee8([0x67,0x65,0x74])](_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e273e(){let _0x3a124c,_0x5b3d31=null,_0x1c4b0f=null;try{if(_0xe8c7a5==_0x3d9ee8([0x47,0x50,0x4c]))return _0x3d9ee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a124c=_0x22c26a(),!_0x3a124c)return _0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a124c[_0x3d9ee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c4b0f=_0x226481(_0x3a124c[_0x3d9ee8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a124c[_0x3d9ee8([0x6a,0x74,0x69])])),await _0x17cc2d()?_0x1f2a72()?_0x5c47d6()?_0x3d9ee8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2a975c()?(_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d9ee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b3d31=_0x459ecf(_0x3d9ee8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d9ee8([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b3d31=_0x459ecf(_0x3d9ee8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x18419f()):_0x3d9ee8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9ee8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d9ee8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c47d6(){const _0x39faba=[_0x3d9ee8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d9ee8([0x74,0x72,0x69,0x61,0x6c])][_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x6cb575/0x3e8:0xe10*_0x47371f;return _0x3a124c[_0x3d9ee8([0x65,0x78,0x70])]<_0x39faba;}function _0x1f2a72(){const _0x2a8f1c=_0x3a124c[_0x3d9ee8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a8f1c&&(!!_0x2a8f1c[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x2a]))||!!_0x2a8f1c[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x46,0x4f,0x4f])));}function _0x2a975c(){const _0x4ce533=_0x3a124c[_0x3d9ee8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ce533||0x0==_0x4ce533[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x41e2da}=new URL(window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4ce533[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41e2da))return!0x0;const _0xdae893=_0x41e2da[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e]));return _0x4ce533[_0x3d9ee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b6917=>_0x4b6917[_0x3d9ee8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d9ee8([0x2a])))[_0x3d9ee8([0x6d,0x61,0x70])](_0x175f02=>_0x175f02[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e])))[_0x3d9ee8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xafaba7=>_0xafaba7[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xdae893[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9ee8([0x6d,0x61,0x70])](_0x58e965=>Array(_0xdae893[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e965[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d9ee8([0x66,0x69,0x6c,0x6c])](_0x58e965[0x0]===_0x3d9ee8([0x2a])?_0x3d9ee8([0x2a]):'')[_0x3d9ee8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e965))[_0x3d9ee8([0x73,0x6f,0x6d,0x65])](_0x32085b=>_0xdae893[_0x3d9ee8([0x65,0x76,0x65,0x72,0x79])]((_0x1aa352,_0x59196f)=>_0x32085b[_0x59196f]===_0x1aa352||_0x32085b[_0x59196f]===_0x3d9ee8([0x2a])));}function _0x18419f(){return _0x5b3d31&&_0x1c4b0f?new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x351a85,_0x164637)=>{_0x5b3d31[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x351a85,_0x164637),_0x1c4b0f[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x546942=>{_0x546942!=_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])&&_0x351a85(_0x546942);},_0x164637);}):_0x5b3d31||_0x1c4b0f||_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x226481(_0x5aa82e,_0xaa8117){return new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x545ad9=>{if(_0x5f24a6())return _0x545ad9(_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]));_0x23b421(),_0x3c761a[_0x3d9ee8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x35640d=!0x1;const _0x2d9f86=_0x2647ed();function _0x7c8633(_0x4599c0){return!!_0x4599c0&&(typeof _0x4599c0===_0x3d9ee8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4599c0===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4599c0[_0x3d9ee8([0x74,0x68,0x65,0x6e])]===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4599c0[_0x3d9ee8([0x63,0x61,0x74,0x63,0x68])]===_0x3d9ee8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1232c8(_0x34f686){_0x33ea9f(_0x34f686)[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x3b66d0=>{if(!_0x3b66d0||_0x3b66d0[_0x3d9ee8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d9ee8([0x6f,0x6b]))return _0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x131bc3(_0x58b386(_0x2d9f86+_0xaa8117))!=_0x3b66d0[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x25cc6e=>(_0x18a4c4(),_0x25cc6e),()=>{const _0xfa738=_0x2cdd7f();return null==_0xfa738?(_0x18a4c4(),_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])):_0x3d9ee8(_0x6cb575-_0xfa738>(0x63ae0106^_0x353741)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x545ad9)[_0x3d9ee8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x367d56=0x47946b86^_0x353741;function _0x18a4c4(){const _0x46b390=_0x3d9ee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131bc3(_0x58b386(_0x5aa82e)),_0x1453da=_0x115611(_0x131bc3(window[_0x3d9ee8([0x4d,0x61,0x74,0x68])][_0x3d9ee8([0x63,0x65,0x69,0x6c])](_0x6cb575/_0x367d56)));window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9ee8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46b390,_0x1453da);}function _0x2cdd7f(){const _0x43c0de=_0x3d9ee8([0x6c,0x6c,0x63,0x74,0x2d])+_0x131bc3(_0x58b386(_0x5aa82e)),_0x38226d=window[_0x3d9ee8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d9ee8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43c0de);return _0x38226d?window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x115611(_0x38226d),0x10)*_0x367d56:null;}function _0x33ea9f(_0x3ab17f){return new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c1a35,_0x29218b)=>{_0x3ab17f[_0x3d9ee8([0x74,0x68,0x65,0x6e])](_0x3c1a35,_0x29218b),window[_0x3d9ee8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29218b,0x47a351c6^_0x353741);});}}_0x3c761a[_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x438b21,_0x14ede9)=>{if(_0x14ede9[0x0]!=_0x5aa82e)return _0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x14ede9[0x1]={..._0x14ede9[0x1],[_0x3d9ee8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2d9f86};},{[_0x3d9ee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9ee8([0x68,0x69,0x67,0x68])}),_0x3c761a[_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1eb631=>{_0x7c8633(_0x1eb631[_0x3d9ee8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x35640d=!0x0,_0x1232c8(_0x1eb631[_0x3d9ee8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d9ee8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d9ee8([0x6c,0x6f,0x77])}),_0x5617f3[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>{_0x35640d||_0x545ad9(_0x3d9ee8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5f24a6(){return _0x3c761a[_0x3d9ee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9ee8([0x76,0x69,0x65,0x77])][_0x3d9ee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d9ee8([0x61,0x75,0x74,0x6f]);}function _0x23b421(){_0x3c761a[_0x3d9ee8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d9ee8([0x76,0x69,0x65,0x77])][_0x3d9ee8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d9ee8([0x61,0x75,0x74,0x6f]);}}function _0x459ecf(_0x4988be){const _0x186548=[new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37e24e=>setTimeout(_0x37e24e,0x47abbbca^_0x353741)),_0x5617f3[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x183796=>{let _0x10e478=0x0;_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x6f,0x6e])](_0x3d9ee8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x107d67,_0x4715ad)=>{_0x4715ad[0x0][_0x3d9ee8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10e478++,_0x10e478==(0x47a284fe^_0x353741)&&(_0x183796(),_0x107d67[_0x3d9ee8([0x6f,0x66,0x66])]());});}))];return window[_0x3d9ee8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d9ee8([0x72,0x61,0x63,0x65])](_0x186548)[_0x3d9ee8([0x74,0x68,0x65,0x6e])](()=>_0x4988be);}async function _0xb9bb87(){await _0x5617f3,_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3f39cf,_0x3c761a[_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d9ee8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3f39cf,_0x3c761a[_0x3d9ee8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d9ee8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd98e20(_0x158913){const _0x4b4808=_0xc72abf();_0x3c761a[_0x4b4808]=_0x3d9ee8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x158913,_0x158913!=_0x3d9ee8([0x56,0x61,0x6c,0x69,0x64])&&_0xb9bb87();}function _0xc72abf(){const _0x1556b3=window[_0x3d9ee8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d9ee8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d9ee8([0x6e,0x6f,0x77])]())[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d9ee8([0x2e]),'');let _0x4786b5=_0x3d9ee8([0x75]);for(let _0x54409b=0x0;_0x54409b<_0x1556b3[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54409b+=0x2){let _0x158b06=window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1556b3[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54409b,_0x54409b+0x2));_0x158b06>=_0xdb27f9[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x158b06-=_0xdb27f9[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4786b5+=_0xdb27f9[_0x158b06];}return _0x4786b5;}function _0x22c26a(){const _0x13a2bc=_0xe8c7a5[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e]));if(0x3!=_0x13a2bc[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4275d6(_0x13a2bc[0x1]);function _0x4275d6(_0x43363c){const _0x3dbf68=_0x2b92f6(_0x43363c);return _0x3dbf68&&_0xa38b61()?_0x3dbf68:null;function _0xa38b61(){const _0x1ac7fd=_0x3dbf68[_0x3d9ee8([0x6a,0x74,0x69])],_0x11aba9=window[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ac7fd[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ac7fd[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1a6c0c={..._0x3dbf68,[_0x3d9ee8([0x6a,0x74,0x69])]:_0x1ac7fd[_0x3d9ee8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ac7fd[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1a6c0c[_0x3d9ee8([0x76,0x63])],_0x58b386(_0x1a6c0c)==_0x11aba9;}}}async function _0x17cc2d(){let _0x5611c9=!0x0;try{const _0x29fa6d=_0xe8c7a5[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])](_0x3d9ee8([0x2e])),[_0x486062,_0x139c06,_0x12faf2]=_0x29fa6d;return _0x39094c(_0x486062),await _0x3c7322(_0x486062,_0x139c06,_0x12faf2),_0x5611c9;}catch{return!0x1;}function _0x39094c(_0x3093bd){const _0x5a91ca=_0x2b92f6(_0x3093bd);_0x5a91ca&&_0x5a91ca[_0x3d9ee8([0x61,0x6c,0x67])]==_0x3d9ee8([0x45,0x53,0x32,0x35,0x36])||(_0x5611c9=!0x1);}async function _0x3c7322(_0x5d762c,_0x1371a7,_0x13e981){const _0x7d3303=window[_0x3d9ee8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d9ee8([0x66,0x72,0x6f,0x6d])](_0x519115(_0x13e981),_0xeb87dd=>_0xeb87dd[_0x3d9ee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5bd8c3=new window[(_0x3d9ee8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d9ee8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d762c+_0x3d9ee8([0x2e])+_0x1371a7),_0x47b61c=window[_0x3d9ee8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d9ee8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47b61c)return;const _0x5950fc=await _0x47b61c[_0x3d9ee8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d9ee8([0x6a,0x77,0x6b]),_0x324df8,{[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9ee8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d9ee8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47b61c[_0x3d9ee8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x45,0x43,0x44,0x53,0x41]),[_0x3d9ee8([0x68,0x61,0x73,0x68])]:{[_0x3d9ee8([0x6e,0x61,0x6d,0x65])]:_0x3d9ee8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5950fc,_0x7d3303,_0x5bd8c3)||(_0x5611c9=!0x1);}}function _0x2b92f6(_0x2070a3){return _0x2070a3[_0x3d9ee8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d9ee8([0x65,0x79]))?JSON[_0x3d9ee8([0x70,0x61,0x72,0x73,0x65])](_0x519115(_0x2070a3)):null;}function _0x519115(_0x400cbb){return window[_0x3d9ee8([0x61,0x74,0x6f,0x62])](_0x400cbb[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d9ee8([0x2b]))[_0x3d9ee8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d9ee8([0x2f])));}function _0x58b386(_0x42704b){let _0xccd9e1=0x1505;function _0x552200(_0x57a989){for(let _0x38c8da=0x0;_0x38c8da<_0x57a989[_0x3d9ee8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38c8da++){const _0xa881aa=_0x57a989[_0x3d9ee8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x38c8da);_0xccd9e1=(_0xccd9e1<<0x5)+_0xccd9e1+_0xa881aa,_0xccd9e1&=_0xccd9e1;}}function _0x4ca5d6(_0x5c7d4b){Array[_0x3d9ee8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c7d4b)?_0x5c7d4b[_0x3d9ee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ca5d6):_0x5c7d4b&&typeof _0x5c7d4b==_0x3d9ee8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d9ee8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c7d4b)[_0x3d9ee8([0x73,0x6f,0x72,0x74])]()[_0x3d9ee8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x246c98,_0x38c564])=>{_0x552200(_0x246c98),_0x4ca5d6(_0x38c564);}):_0x552200(window[_0x3d9ee8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c7d4b));}return _0x4ca5d6(_0x42704b),_0xccd9e1>>>0x0;}function _0x131bc3(_0xf5021d){return _0xf5021d[_0x3d9ee8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d9ee8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d9ee8([0x30]));}function _0x115611(_0x4706a3){return _0x4706a3[_0x3d9ee8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d9ee8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d9ee8([0x6a,0x6f,0x69,0x6e])]('');}function _0x3f39cf(){}function _0x3d9ee8(_0xedaf12){return _0xedaf12['map'](_0x2c9cd7=>String['fromCharCode'](_0x2c9cd7))['join']('');}_0xd98e20(await _0x4e273e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3b87ad){const {plugins:_0x5308e8,editing:_0x1731d2,model:_0x3a9dc7}=this['editor'],_0xe5451e=_0x5308e8['get'](_0x19729b)['getFootnote'](_0x3b87ad);return!!_0xe5451e&&(_0x3a9dc7['change'](_0x5bcb5f=>{_0x5bcb5f['setSelection'](_0x5bcb5f['createPositionAt'](_0xe5451e['definition'],'end'));}),_0x1731d2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4c9f12){const {plugins:_0xa4abb7,editing:_0x54cd0b,model:_0xcf7792}=this['editor'],_0x32fa9e=_0xa4abb7['get'](_0x19729b)['getFootnote'](_0x4c9f12);return!!_0x32fa9e&&(_0xcf7792['change'](_0x4d9d4a=>{_0x4d9d4a['setSelection'](_0x32fa9e['reference'],'on');}),_0x54cd0b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xd9a740}=this['editor']['model'],_0x65ffac=this['editor']['config']['get']('footnotes.multiBlock');_0xd9a740['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xd9a740['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xd9a740['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x65ffac?_0xd9a740['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xd9a740['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xd9a740['addChildCheck'](_0x14161d=>{for(const _0x33ceec of _0x14161d)if('footnoteDefinition'===_0x33ceec['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3c2ec3}=this,{conversion:_0x2c3aa9,editing:_0x169b69}=_0x3c2ec3,{t:t}=_0x3c2ec3['locale'];_0x2c3aa9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xbec4bb,{writer:_0x17c880,consumable:_0x56e882})=>{const _0x3217a1=_0xbec4bb['getChild'](0x0);if(!_0x3217a1||!_0x3217a1['is']('element','a'))return null;const _0x3b1dd2=_0x3217a1['getAttribute']('href')||'';if(!_0x3b1dd2['startsWith']('#'))return null;const _0x4d9c1a=_0x3b1dd2['replace'](/^#/,'');if(!_0x4d9c1a)return null;_0x56e882['consume'](_0x3217a1,{'name':!0x0,'attributes':['href']});for(const {item:_0x4350cc}of _0x169b69['view']['createRangeIn'](_0x3217a1))_0x4350cc['is']('$textProxy')?_0x56e882['consume'](_0x4350cc['textNode'],{'name':!0x0}):_0x4350cc['is']('element')&&_0x56e882['consume'](_0x4350cc,{'name':!0x0});return _0x17c880['createElement']('footnoteRef',{'footnoteId':_0x4d9c1a});}}),_0x2c3aa9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x7eddd7,{writer:_0x306c1d})=>D(_0x7eddd7,_0x306c1d)}),_0x2c3aa9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5c5e02,{writer:_0x92d1e0})=>{const _0x45a119=_0x5c5e02['getAttribute']('footnoteCounter');return _0x4566f3(D(_0x5c5e02,_0x92d1e0),_0x92d1e0,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x45a119)});}});}['_defineDefinitionsConverters'](){const {editor:_0x104186}=this,{t:t}=_0x104186['locale'],{conversion:_0x5cb3cb}=_0x104186;_0x5cb3cb['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5cb3cb['for']('upcast')['add'](_0x4de910=>{_0x4de910['on']('element:ol',(_0x5739e7,_0x3e3f23,_0x1513e6)=>{const _0x2a02f0=_0x3e3f23['viewItem'];if(!_0x2a02f0['hasClass']('footnotes-list')||!_0x3e3f23['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1513e6['consumable']['consume'](_0x2a02f0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xefb3de,modelCursor:_0x5d6af4}=_0x1513e6['convertChildren'](_0x3e3f23['viewItem'],_0x3e3f23['modelCursor']);_0x3e3f23['modelRange']=_0xefb3de,_0x3e3f23['modelCursor']=_0x5d6af4;}),_0x4de910['on']('element:hr',(_0x41ca62,_0x4d788c,_0x86f515)=>{const _0x3c9d56=_0x4d788c['viewItem'];_0x3c9d56['hasClass']('footnotes-divider')&&_0x4d788c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x86f515['consumable']['consume'](_0x3c9d56,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5cb3cb['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11902f,{writer:_0x46a332})=>v(_0x46a332)}),_0x5cb3cb['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x176a33,{writer:_0x11c35a})=>{const _0x1153d=v(_0x11c35a,{'data-footnotes-list-label':t('Footnotes')}),_0x36f001=_0x4566f3(_0x1153d,_0x11c35a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x11c35a['setCustomProperty']('footnotesDefinitions',!0x0,_0x36f001),_0x36f001;}});}['_defineDefinitionConverters'](){const {editor:_0x42c2db}=this,{conversion:_0x18fe54,locale:_0x326285}=_0x42c2db,_0x31b4d2=_0x42c2db['config']['get']('footnotes.multiBlock');_0x18fe54['for']('upcast')['add'](_0x5d0007=>{_0x5d0007['on']('element:li',(_0x2e6f2a,_0x561b29,_0x2abef4)=>{const _0xa94f96=_0x561b29['viewItem'];if(!_0xa94f96['hasClass']('footnote-definition')||!_0xa94f96['getAttribute']('id'))return;const _0x4bdc90=_0xa94f96['parent'];if(!_0x4bdc90['is']('element','ol')||!_0x4bdc90['hasClass']('footnotes-list'))return;if(!_0x2abef4['consumable']['test'](_0xa94f96,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x65d437=_0x2abef4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xa94f96['getAttribute']('id')});if(!_0x2abef4['safeInsert'](_0x65d437,_0x561b29['modelCursor']))return;_0x2abef4['consumable']['consume'](_0xa94f96,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x6c88bf=Array['from'](_0xa94f96['getChildren']())['find'](_0x301946=>_0x301946['is']('element')&&_0x301946['hasClass']('footnote-content'));for(const _0x4dbfc1 of _0xa94f96['getChildren']())_0x4dbfc1['is']('element')&&(_0x2abef4['consumable']['consume'](_0x4dbfc1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2abef4['consumable']['consume'](_0x4dbfc1,{'name':!0x0,'classes':'footnote-content'}));if(_0x6c88bf){if(_0x31b4d2)_0x2abef4['convertChildren'](_0x6c88bf,_0x65d437);else{const _0x8169a3=_0x2abef4['writer']['createElement']('footnoteInlineContent');_0x2abef4['writer']['insert'](_0x8169a3,_0x65d437),_0x2abef4['convertChildren'](_0x6c88bf,_0x8169a3);}}_0x2abef4['updateConversionResult'](_0x65d437,_0x561b29);});}),_0x18fe54['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c828e,{writer:_0x1ea9b7})=>b(_0x1c828e,_0x1ea9b7,_0x326285,{'dataPipeline':!0x0})}),_0x18fe54['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x383cef,{writer:_0x168ba4})=>b(_0x383cef,_0x168ba4,_0x326285)});}['_defineBogusParagraphConverters'](){const {editor:_0x19e210}=this,{conversion:_0x55d5b5}=_0x19e210;_0x19e210['config']['get']('footnotes.multiBlock')?(_0x55d5b5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x55d5b5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19e210['model']['document'],'change:data',()=>{!function(_0x50c013,_0x23d4d5){const _0x2835c7=_0x50c013['document']['differ'],_0xe07176=new Set();for(const _0x5247fe of _0x2835c7['getChanges']()){const _0x4731cc='attribute'==_0x5247fe['type']?_0x5247fe['range']['start']['parent']:_0x5247fe['position']['parent'];_0x4731cc['is']('element','footnoteDefinition')&&_0xe07176['add'](_0x4731cc);}for(const _0x4cef89 of _0xe07176['values']()){const _0x2500ba=Array['from'](_0x4cef89['getChildren']())['filter'](_0x127fb9=>g(_0x127fb9,_0x23d4d5['mapper']));for(const _0x1aeb1d of _0x2500ba)_0x23d4d5['reconvertItem'](_0x1aeb1d);}}(_0x19e210['model'],_0x19e210['editing']);})):(_0x55d5b5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x55d5b5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5476e9,{writer:_0x138199})=>{const _0x44a606=_0x138199['createContainerElement']('span');return _0x138199['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x44a606),_0x44a606;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2b0d3c}=this,{editing:_0x9bbcf4,t:t}=_0x2b0d3c,_0x1a8117=_0x2b0d3c['model']['document']['selection'];_0x2b0d3c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2b0d3c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x9bbcf4['view']['document'],'enter',(_0x1b86da,_0x304493)=>{const _0x59b74f=function(_0x184e0a){const _0xbb6c5b=_0x184e0a['getSelectedElement']();if(_0xbb6c5b?.['is']('element','footnoteRef'))return _0xbb6c5b;return null;}(_0x1a8117);if(_0x59b74f){const _0x470c8f=_0x59b74f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x470c8f),_0x304493['preventDefault'](),_0x1b86da['stop']();}},{'context':_0x20de30});}['_defineClickHandlers'](){const {editor:_0xb404b5}=this,{editing:_0x260a2d}=_0xb404b5;_0xb404b5['editing']['view']['addObserver'](_0x218105),_0xb404b5['editing']['view']['addObserver'](_0x4dd6fb);let _0x5dfb6b=!0x1;this['listenTo'](_0x260a2d['view']['document'],'pointerdown',(_0x3b2f10,_0x47944f)=>{const {target:_0x58e18e}=_0x47944f,_0x174e89=_0x260a2d['view']['document']['selection'];_0x5dfb6b=!!(_0x58e18e?.['is']('element','a')&&_0x58e18e['parent']?.['is']('element','sup')&&_0x58e18e['parent']['hasClass']('footnote'))&&_0x174e89['getSelectedElement']()===_0x58e18e['parent'];},{'priority':'high'}),this['listenTo'](_0x260a2d['view']['document'],'click',(_0x1b5a8f,_0x1ef84e)=>{const {target:_0x50d48a}=_0x1ef84e;if(!_0x50d48a?.['is']('element','a'))return;if(_0x50d48a['parent']?.['is']('element','sup')&&_0x50d48a['parent']['hasClass']('footnote')&&!_0x5dfb6b)return void _0x1ef84e['preventDefault']();let _0x242998=_0x50d48a['getAttribute']('href');if(!_0x242998?.['startsWith']('#'))return;_0x242998=_0x242998['slice'](0x1);let _0x590fed=!0x1;(_0x242998['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x242998['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x242998))&&(_0x590fed=!0x0),_0x590fed&&(_0x1ef84e['preventDefault'](),_0x1b5a8f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4bda77}={}){return(_0x2c5a36,{writer:_0xb08112})=>{if(!p(_0x2c5a36))return null;if(!_0x4bda77)return _0xb08112['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x38b886=_0xb08112['createContainerElement']('p');return _0xb08112['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x38b886),_0x38b886;};}function p(_0x5c117d){const {parent:_0x22a302}=_0x5c117d;if(!_0x22a302?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22a302['childCount'])return!0x1;for(const _0x3b2ea3 of _0x5c117d['getAttributeKeys']())if(!_0x3b2ea3['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3b2ea3)return!0x1;return!0x0;}function g(_0x502373,_0x9c1fe2){if(!_0x502373['is']('element','paragraph'))return!0x1;const _0x5f1b5c=_0x9c1fe2['toViewElement'](_0x502373);return!!_0x5f1b5c&&p(_0x502373)!==_0x5f1b5c['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x68aa19){return _0x20de30(_0x68aa19)&&_0x68aa19['is']('containerElement')&&!!_0x68aa19['getCustomProperty']('footnotesDefinitions');}function v(_0x2e8b09,_0x435a49={}){const _0x244f88=_0x2e8b09['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xbfde40=_0x2e8b09['createContainerElement']('ol',{'class':'footnotes-list'},_0x2e8b09['createSlot']());return _0x2e8b09['createContainerElement']('div',{'class':'footnotes',..._0x435a49},[_0x244f88,_0xbfde40]);}function D(_0x49f8c1,_0x36c020){const _0x178ba5=_0x49f8c1['getAttribute']('footnoteId'),_0x2533c3=_0x49f8c1['getAttribute']('footnoteCounter'),_0x553745=_0x36c020['createUIElement']('a',{'href':'#'+_0x178ba5},function(_0x5a346e){const _0x1b076b=this['toDomElement'](_0x5a346e);return _0x1b076b['textContent']=_0x2533c3,_0x1b076b;}),_0x30c2bd=_0x36c020['createContainerElement']('sup',{'id':'ref-'+_0x178ba5,'class':'footnote'},[_0x553745]);return _0x30c2bd['getFillerOffset']=()=>null,_0x30c2bd;}function b(_0x50fa77,_0x583e2f,_0x1e917a,{dataPipeline:_0xc060a7}={}){const {t:t}=_0x1e917a,_0x58ca74=_0x50fa77['getAttribute']('footnoteId'),_0x2b8eda=_0x583e2f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x58ca74},function(_0x3b851f){const _0x4abf4c=this['toDomElement'](_0x3b851f);return _0x4abf4c['innerText']='^',_0x4abf4c;}),_0x411a9=_0xc060a7?_0x583e2f['createContainerElement']('div',{'class':'footnote-content'}):_0x4cc01c(_0x583e2f['createEditableElement']('div',{'class':'footnote-content'}),_0x583e2f,{'label':t('Footnote\x20content.')});return _0x583e2f['insert'](_0x583e2f['createPositionAt'](_0x411a9,0x0),_0x583e2f['createSlot']()),_0x583e2f['createContainerElement']('li',{'class':'footnote-definition','id':_0x58ca74},[_0x2b8eda,_0x411a9]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2876c3=_0xbbf9;(function(_0x590ce3,_0x323cd5){const _0x4e8242=_0xbbf9,_0xc7d8fe=_0x590ce3();while(!![]){try{const _0xed9408=-parseInt(_0x4e8242(0x165))/0x1+-parseInt(_0x4e8242(0x169))/0x2*(-parseInt(_0x4e8242(0x162))/0x3)+-parseInt(_0x4e8242(0x168))/0x4+-parseInt(_0x4e8242(0x15f))/0x5*(parseInt(_0x4e8242(0x15d))/0x6)+parseInt(_0x4e8242(0x156))/0x7*(-parseInt(_0x4e8242(0x164))/0x8)+parseInt(_0x4e8242(0x167))/0x9+parseInt(_0x4e8242(0x157))/0xa;if(_0xed9408===_0x323cd5)break;else _0xc7d8fe['push'](_0xc7d8fe['shift']());}catch(_0xdaa966){_0xc7d8fe['push'](_0xc7d8fe['shift']());}}}(_0x448f,0x1fdd0));function _0xbbf9(_0x2f150a,_0x4fedaa){const _0x448f13=_0x448f();return _0xbbf9=function(_0xbbf931,_0x27551b){_0xbbf931=_0xbbf931-0x152;let _0xe34dff=_0x448f13[_0xbbf931];return _0xe34dff;},_0xbbf9(_0x2f150a,_0x4fedaa);}function _0x448f(){const _0x5de11c=['execute','refresh','footnotesListStart','isEnabled','216979cKfRRJ','1883520pBeWXL','isInteger','model','change','get','getAttribute','29238ZVdirP','value','45ajTaqh','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','50412ysspsm','plugins','8nzMITh','71245nqXWyQ','setAttribute','230274eulUMK','421468TAfalu','20vWPaSU'];_0x448f=function(){return _0x5de11c;};return _0x448f();}import{Command as _0xb3532}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x5a1451}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0xb3532{[_0x2876c3(0x153)](){const _0x2b73f1=_0x2876c3,{editor:_0x1d96b1}=this,_0x513e50=_0x1d96b1[_0x2b73f1(0x163)][_0x2b73f1(0x15b)](_0x5a1451)[_0x2b73f1(0x161)]();this[_0x2b73f1(0x155)]=!!_0x513e50,this[_0x2b73f1(0x15e)]=_0x513e50?.[_0x2b73f1(0x15c)](_0x2b73f1(0x154))??null;}[_0x2876c3(0x152)]({value:_0x4f8009}){const _0x2e923c=_0x2876c3,{editor:_0x59ec57}=this,_0x3c43e0=_0x59ec57[_0x2e923c(0x163)][_0x2e923c(0x15b)](_0x5a1451),_0x1605b9=_0x3c43e0[_0x2e923c(0x161)]();_0x1605b9&&Number[_0x2e923c(0x158)](_0x4f8009)&&_0x59ec57[_0x2e923c(0x159)][_0x2e923c(0x15a)](_0x4c2ced=>{const _0x4969ef=_0x2e923c;_0x4c2ced[_0x4969ef(0x166)](_0x4969ef(0x154),_0x4f8009,_0x1605b9),_0x3c43e0[_0x4969ef(0x160)](_0x4c2ced);});}}
23
+ const _0x476fa3=_0x17d5;(function(_0x4f1a96,_0x4fcb62){const _0x20043d=_0x17d5,_0x5b8275=_0x4f1a96();while(!![]){try{const _0x51a013=-parseInt(_0x20043d(0x122))/0x1*(parseInt(_0x20043d(0x135))/0x2)+-parseInt(_0x20043d(0x121))/0x3*(parseInt(_0x20043d(0x12b))/0x4)+-parseInt(_0x20043d(0x126))/0x5+parseInt(_0x20043d(0x137))/0x6*(parseInt(_0x20043d(0x12f))/0x7)+parseInt(_0x20043d(0x12e))/0x8*(parseInt(_0x20043d(0x12d))/0x9)+-parseInt(_0x20043d(0x123))/0xa+parseInt(_0x20043d(0x127))/0xb;if(_0x51a013===_0x4fcb62)break;else _0x5b8275['push'](_0x5b8275['shift']());}catch(_0x28a34d){_0x5b8275['push'](_0x5b8275['shift']());}}}(_0x4e35,0x79455));import{Command as _0x5be97c}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x29a7e3}from'../../footnotestracker.js';function _0x17d5(_0x3fe2bb,_0xd2ba49){const _0x4e351b=_0x4e35();return _0x17d5=function(_0x17d507,_0x18ee1d){_0x17d507=_0x17d507-0x11f;let _0x26f192=_0x4e351b[_0x17d507];return _0x26f192;},_0x17d5(_0x3fe2bb,_0xd2ba49);}function _0x4e35(){const _0x388cc5=['value','326691MTEGqp','40YMewEt','6173209JWDtyq','get','footnotesListStart','isEnabled','getFootnotesDefinitionsObjectElement','execute','8ZgUWnR','model','6TCqzeX','plugins','getAttribute','306843kGdHfC','106721FwhkFp','2263070gBfqzH','setAttribute','refresh','774350BDDKXz','6030717ytyAnE','isInteger','change','_updateFootnotesCounters','12SnsJTH'];_0x4e35=function(){return _0x388cc5;};return _0x4e35();}export class FootnotesStartCommand extends _0x5be97c{[_0x476fa3(0x125)](){const _0x39a0d5=_0x476fa3,{editor:_0x1bd36d}=this,_0x4b722=_0x1bd36d[_0x39a0d5(0x11f)][_0x39a0d5(0x130)](_0x29a7e3)[_0x39a0d5(0x133)]();this[_0x39a0d5(0x132)]=!!_0x4b722,this[_0x39a0d5(0x12c)]=_0x4b722?.[_0x39a0d5(0x120)](_0x39a0d5(0x131))??null;}[_0x476fa3(0x134)]({value:_0x50e312}){const _0x571a1e=_0x476fa3,{editor:_0x4724e8}=this,_0x109600=_0x4724e8[_0x571a1e(0x11f)][_0x571a1e(0x130)](_0x29a7e3),_0x35c7a8=_0x109600[_0x571a1e(0x133)]();_0x35c7a8&&Number[_0x571a1e(0x128)](_0x50e312)&&_0x4724e8[_0x571a1e(0x136)][_0x571a1e(0x129)](_0x20ff11=>{const _0x4863bd=_0x571a1e;_0x20ff11[_0x4863bd(0x124)](_0x4863bd(0x131),_0x50e312,_0x35c7a8),_0x109600[_0x4863bd(0x12a)](_0x20ff11);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c3b7e=_0x18ab;function _0x15a1(){const _0x29cf0d=['23660XSoVHj','1339672NBmKTO','1486riuLgd','execute','change','2294946XxznRT','5721pXnGSs','value','1494EkdXgR','getAttribute','isEnabled','138094bUdUNa','3768PGlJot','includes','model','1396685FxsKTl','refresh','get','8Lfocwc','footnotesListStyle','14yKfebw','setAttribute','_updateFootnotesCounters','1211501erzdjH','getFootnotesDefinitionsObjectElement','plugins'];_0x15a1=function(){return _0x29cf0d;};return _0x15a1();}(function(_0x483dd4,_0x4ddbd8){const _0x4dbe85=_0x18ab,_0x406639=_0x483dd4();while(!![]){try{const _0xedc007=-parseInt(_0x4dbe85(0x18c))/0x1+parseInt(_0x4dbe85(0x191))/0x2*(-parseInt(_0x4dbe85(0x195))/0x3)+parseInt(_0x4dbe85(0x187))/0x4*(parseInt(_0x4dbe85(0x184))/0x5)+-parseInt(_0x4dbe85(0x194))/0x6+parseInt(_0x4dbe85(0x189))/0x7*(-parseInt(_0x4dbe85(0x190))/0x8)+parseInt(_0x4dbe85(0x197))/0x9*(-parseInt(_0x4dbe85(0x18f))/0xa)+parseInt(_0x4dbe85(0x19a))/0xb*(parseInt(_0x4dbe85(0x19b))/0xc);if(_0xedc007===_0x4ddbd8)break;else _0x406639['push'](_0x406639['shift']());}catch(_0x18fbf3){_0x406639['push'](_0x406639['shift']());}}}(_0x15a1,0xba0cf));import{Command as _0x352f1b}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x10067b}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x5e8b4b}from'../../footnotestracker.js';function _0x18ab(_0x1c901b,_0x2cd8f1){const _0x15a191=_0x15a1();return _0x18ab=function(_0x18ab16,_0x3a8731){_0x18ab16=_0x18ab16-0x182;let _0x5f3e7e=_0x15a191[_0x18ab16];return _0x5f3e7e;},_0x18ab(_0x1c901b,_0x2cd8f1);}export class FootnotesStyleCommand extends _0x352f1b{[_0x2c3b7e(0x185)](){const _0x4fb759=_0x2c3b7e,{editor:_0x36905b}=this,_0x23c5aa=_0x36905b[_0x4fb759(0x18e)][_0x4fb759(0x186)](_0x5e8b4b)[_0x4fb759(0x18d)]();this[_0x4fb759(0x199)]=!!_0x23c5aa,this[_0x4fb759(0x196)]=_0x23c5aa?.[_0x4fb759(0x198)](_0x4fb759(0x188))??null;}[_0x2c3b7e(0x192)]({value:_0x1fb90d}){const _0x507c57=_0x2c3b7e,{editor:_0x191d4c}=this,_0x213208=_0x191d4c[_0x507c57(0x18e)][_0x507c57(0x186)](_0x5e8b4b),_0x32d9bd=_0x213208[_0x507c57(0x18d)]();_0x32d9bd&&_0x10067b[_0x507c57(0x182)](_0x1fb90d)&&_0x191d4c[_0x507c57(0x183)][_0x507c57(0x193)](_0x187994=>{const _0x306636=_0x507c57;_0x187994[_0x306636(0x18a)](_0x306636(0x188),_0x1fb90d,_0x32d9bd),_0x213208[_0x306636(0x18b)](_0x187994);});}}
23
+ const _0x553b33=_0x11a6;(function(_0x2a8bb4,_0x4a1133){const _0x51e6f0=_0x11a6,_0x560588=_0x2a8bb4();while(!![]){try{const _0x5da761=parseInt(_0x51e6f0(0x155))/0x1+parseInt(_0x51e6f0(0x154))/0x2*(parseInt(_0x51e6f0(0x159))/0x3)+parseInt(_0x51e6f0(0x169))/0x4*(parseInt(_0x51e6f0(0x167))/0x5)+parseInt(_0x51e6f0(0x161))/0x6*(parseInt(_0x51e6f0(0x15e))/0x7)+-parseInt(_0x51e6f0(0x164))/0x8+-parseInt(_0x51e6f0(0x152))/0x9*(parseInt(_0x51e6f0(0x151))/0xa)+parseInt(_0x51e6f0(0x165))/0xb*(parseInt(_0x51e6f0(0x153))/0xc);if(_0x5da761===_0x4a1133)break;else _0x560588['push'](_0x560588['shift']());}catch(_0x11aaf2){_0x560588['push'](_0x560588['shift']());}}}(_0x4398,0x8523a));import{Command as _0x53dbdc}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2d4de6}from'../footnotespropertiesconfig.js';function _0x4398(){const _0x154ae7=['21qzhnJu','plugins','_updateFootnotesCounters','962766rRwadq','getFootnotesDefinitionsObjectElement','value','4503888ZhxPfU','718267VkmRix','includes','55VlirsH','execute','274792ztMCOY','refresh','10OCByYv','7942059wBhZUc','12wzrfVc','559698hLOVRt','408568wFHYoy','model','setAttribute','getAttribute','3lglsuW','change','get','isEnabled','footnotesListStyle'];_0x4398=function(){return _0x154ae7;};return _0x4398();}import{FootnotesTracker as _0x473212}from'../../footnotestracker.js';function _0x11a6(_0x1e2db0,_0x469d78){const _0x439855=_0x4398();return _0x11a6=function(_0x11a61b,_0x2034b7){_0x11a61b=_0x11a61b-0x150;let _0x4230dd=_0x439855[_0x11a61b];return _0x4230dd;},_0x11a6(_0x1e2db0,_0x469d78);}export class FootnotesStyleCommand extends _0x53dbdc{[_0x553b33(0x150)](){const _0x2402e4=_0x553b33,{editor:_0x15f80e}=this,_0x1a0f30=_0x15f80e[_0x2402e4(0x15f)][_0x2402e4(0x15b)](_0x473212)[_0x2402e4(0x162)]();this[_0x2402e4(0x15c)]=!!_0x1a0f30,this[_0x2402e4(0x163)]=_0x1a0f30?.[_0x2402e4(0x158)](_0x2402e4(0x15d))??null;}[_0x553b33(0x168)]({value:_0x3de0eb}){const _0x1b2e77=_0x553b33,{editor:_0x69c17f}=this,_0x1966eb=_0x69c17f[_0x1b2e77(0x15f)][_0x1b2e77(0x15b)](_0x473212),_0x1752e8=_0x1966eb[_0x1b2e77(0x162)]();_0x1752e8&&_0x2d4de6[_0x1b2e77(0x166)](_0x3de0eb)&&_0x69c17f[_0x1b2e77(0x156)][_0x1b2e77(0x15a)](_0x27c2d9=>{const _0x24b028=_0x1b2e77;_0x27c2d9[_0x24b028(0x157)](_0x24b028(0x15d),_0x3de0eb,_0x1752e8),_0x1966eb[_0x24b028(0x160)](_0x27c2d9);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x134a(){const _0x17b210=['upper-latin','1337016YUCNLh','lower-alpha','5xOyMnK','upper-roman','60003EBwblL','8iCQDHa','883172GYIaUw','1017604vyRgKi','126rSYgbx','lower-latin','decimal','3144057RcSyYE','1139352UvVCWS','lower-roman','1563930NkjmKP','decimal-leading-zero','upper-alpha'];_0x134a=function(){return _0x17b210;};return _0x134a();}function _0x1d79(_0x27ddce,_0x56ba13){const _0x134a74=_0x134a();return _0x1d79=function(_0x1d7942,_0x896526){_0x1d7942=_0x1d7942-0x1cd;let _0x51cba7=_0x134a74[_0x1d7942];return _0x51cba7;},_0x1d79(_0x27ddce,_0x56ba13);}const _0x4cdeb4=_0x1d79;(function(_0x4f8c1e,_0x1e7567){const _0x34665c=_0x1d79,_0x229958=_0x4f8c1e();while(!![]){try{const _0x47c8be=-parseInt(_0x34665c(0x1d8))/0x1+-parseInt(_0x34665c(0x1db))/0x2+-parseInt(_0x34665c(0x1ce))/0x3+-parseInt(_0x34665c(0x1da))/0x4*(parseInt(_0x34665c(0x1d6))/0x5)+-parseInt(_0x34665c(0x1d4))/0x6+-parseInt(_0x34665c(0x1cd))/0x7*(parseInt(_0x34665c(0x1d9))/0x8)+parseInt(_0x34665c(0x1dc))/0x9*(parseInt(_0x34665c(0x1d0))/0xa);if(_0x47c8be===_0x1e7567)break;else _0x229958['push'](_0x229958['shift']());}catch(_0x268052){_0x229958['push'](_0x229958['shift']());}}}(_0x134a,0x54fe5));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4cdeb4(0x1de),_0x4cdeb4(0x1d1),_0x4cdeb4(0x1dd),_0x4cdeb4(0x1d3),_0x4cdeb4(0x1d5),_0x4cdeb4(0x1d2),_0x4cdeb4(0x1cf),_0x4cdeb4(0x1d7)];
23
+ function _0x4cc5(_0x6b121d,_0xfd2e29){const _0x1326ad=_0x1326();return _0x4cc5=function(_0x4cc5ba,_0x27827a){_0x4cc5ba=_0x4cc5ba-0x12f;let _0x4a75dc=_0x1326ad[_0x4cc5ba];return _0x4a75dc;},_0x4cc5(_0x6b121d,_0xfd2e29);}const _0x30d04=_0x4cc5;function _0x1326(){const _0x22cd82=['4ivnSEW','18sCzCwE','upper-roman','674482OHHEZI','decimal-leading-zero','decimal','upper-alpha','9418241GciTcm','751554DXtVPd','64193HQtGyp','upper-latin','1610751BKvQFZ','4663792CSoHaA','lower-latin','lower-roman','310YLBHjx','lower-alpha','2542205ajYxDu'];_0x1326=function(){return _0x22cd82;};return _0x1326();}(function(_0x399078,_0x3a117d){const _0x5a4386=_0x4cc5,_0x34150d=_0x399078();while(!![]){try{const _0x1d2bdc=-parseInt(_0x5a4386(0x13c))/0x1+-parseInt(_0x5a4386(0x136))/0x2+parseInt(_0x5a4386(0x13e))/0x3*(-parseInt(_0x5a4386(0x133))/0x4)+parseInt(_0x5a4386(0x132))/0x5*(-parseInt(_0x5a4386(0x134))/0x6)+parseInt(_0x5a4386(0x13a))/0x7+-parseInt(_0x5a4386(0x13f))/0x8+-parseInt(_0x5a4386(0x13b))/0x9*(-parseInt(_0x5a4386(0x130))/0xa);if(_0x1d2bdc===_0x3a117d)break;else _0x34150d['push'](_0x34150d['shift']());}catch(_0x513843){_0x34150d['push'](_0x34150d['shift']());}}}(_0x1326,0xd8acd));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x30d04(0x138),_0x30d04(0x137),_0x30d04(0x140),_0x30d04(0x13d),_0x30d04(0x131),_0x30d04(0x139),_0x30d04(0x12f),_0x30d04(0x135)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36d6(_0x26cd19,_0x42402f){const _0x185f88=_0x185f();return _0x36d6=function(_0x36d6b2,_0x490b59){_0x36d6b2=_0x36d6b2-0xfd;let _0x18df3b=_0x185f88[_0x36d6b2];return _0x18df3b;},_0x36d6(_0x26cd19,_0x42402f);}const _0x5570d0=_0x36d6;(function(_0x68d246,_0xcfe822){const _0x46e9f0=_0x36d6,_0x1ee853=_0x68d246();while(!![]){try{const _0x2f5d05=-parseInt(_0x46e9f0(0x14b))/0x1+-parseInt(_0x46e9f0(0x113))/0x2+parseInt(_0x46e9f0(0x10a))/0x3*(-parseInt(_0x46e9f0(0x150))/0x4)+-parseInt(_0x46e9f0(0x146))/0x5*(parseInt(_0x46e9f0(0x106))/0x6)+parseInt(_0x46e9f0(0x128))/0x7+-parseInt(_0x46e9f0(0x148))/0x8*(-parseInt(_0x46e9f0(0x152))/0x9)+-parseInt(_0x46e9f0(0x118))/0xa*(-parseInt(_0x46e9f0(0x132))/0xb);if(_0x2f5d05===_0xcfe822)break;else _0x1ee853['push'](_0x1ee853['shift']());}catch(_0x5369fa){_0x1ee853['push'](_0x1ee853['shift']());}}}(_0x185f,0x5487f));import{Plugin as _0x25a32f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x44acb2}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x59d453}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5254d1}from'../footnotestracker.js';import{FootnotesEditing as _0x22a92a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x25a32f{static get[_0x5570d0(0x117)](){const _0x1f998b=_0x5570d0;return _0x1f998b(0x12b);}static get[_0x5570d0(0x140)](){return[_0x22a92a,_0x5254d1];}static get[_0x5570d0(0x15f)](){return!0x0;}static get[_0x5570d0(0x103)](){return!0x0;}[_0x5570d0(0x138)](){const _0x187bdf=_0x5570d0,{editor:_0x3af6e6}=this;_0x3af6e6[_0x187bdf(0x135)][_0x187bdf(0x120)](_0x187bdf(0x12e),_0x187bdf(0x15d)),_0x3af6e6[_0x187bdf(0x135)][_0x187bdf(0x120)](_0x187bdf(0x104),0x1),_0x3af6e6[_0x187bdf(0x14a)][_0x187bdf(0x154)](_0x187bdf(0x110),new _0x44acb2(_0x3af6e6)),_0x3af6e6[_0x187bdf(0x14a)][_0x187bdf(0x154)](_0x187bdf(0x153),new _0x59d453(_0x3af6e6)),this[_0x187bdf(0x108)](),this[_0x187bdf(0x111)](),this[_0x187bdf(0x124)](),this[_0x187bdf(0x13e)]();}[_0x5570d0(0x108)](){const _0x42f441=_0x5570d0,{editor:_0x469904}=this,{schema:_0x134ac8}=_0x469904[_0x42f441(0x119)];_0x134ac8[_0x42f441(0x10b)](_0x42f441(0x116),{'allowAttributes':[_0x42f441(0x134),_0x42f441(0x101)]});}[_0x5570d0(0x111)](){const _0x2474f5=_0x5570d0,{editor:_0x35b455}=this,{conversion:_0x4056e9,model:_0xeee6c3}=_0x35b455,{schema:_0x104d80}=_0xeee6c3;_0x4056e9[_0x2474f5(0x157)](_0x2474f5(0x15a))[_0x2474f5(0x154)](_0x3faac6=>{const _0x58db0c=_0x2474f5;_0x3faac6['on'](_0x58db0c(0x123),(_0x1632cb,_0x66bcb,_0x1561a0)=>{const _0xf915e3=_0x58db0c,_0x33a357=_0x66bcb[_0xf915e3(0x112)],_0xdae1f3=_0x66bcb[_0xf915e3(0x105)]?.[_0xf915e3(0x145)];_0x33a357[_0xf915e3(0x158)](_0xf915e3(0x155))&&_0xdae1f3?.['is'](_0xf915e3(0xff),_0xf915e3(0x116))&&(function(_0x17f990,_0xf1981f,_0x5d8a19,_0x35f654){const _0x13dc85=_0xf915e3;if(!_0x35f654[_0x13dc85(0x151)](_0xf1981f,_0x13dc85(0x101)))return;let _0x280bff=0x1;const _0x1983b6=_0x5d8a19[_0x13dc85(0x14e)][_0x13dc85(0x114)](_0x17f990,{'attributes':_0x13dc85(0x11b)});if(_0x1983b6){const _0x5b0c4b=Number[_0x13dc85(0x10c)](_0x17f990[_0x13dc85(0x107)](_0x13dc85(0x11b)),0xa);Number[_0x13dc85(0x14f)](_0x5b0c4b)||(_0x280bff=_0x5b0c4b);}!_0x1983b6&&_0xf1981f[_0x13dc85(0x161)](_0x13dc85(0x101))||_0x5d8a19[_0x13dc85(0x13d)][_0x13dc85(0x11f)](_0x13dc85(0x101),_0x280bff,_0xf1981f);}(_0x33a357,_0xdae1f3,_0x1561a0,_0x104d80),function(_0x1c5cb8,_0x27fb63,_0x2c826e,_0x2b37d6){const _0xa3c432=_0xf915e3;if(!_0x2b37d6[_0xa3c432(0x151)](_0x27fb63,_0xa3c432(0x134)))return;let _0x569bce=_0xa3c432(0x15d),_0x49462a=!0x1;if(_0x2c826e[_0xa3c432(0x14e)][_0xa3c432(0x114)](_0x1c5cb8,{'attributes':_0xa3c432(0x126)})){const _0x45696b={0x1:_0xa3c432(0x15d),'a':_0xa3c432(0x115),'A':_0xa3c432(0x144),'i':_0xa3c432(0x121),'I':_0xa3c432(0x13b)}[_0x1c5cb8[_0xa3c432(0x107)](_0xa3c432(0x126))];_0x45696b&&(_0x569bce=_0x45696b),_0x49462a=!0x0;}_0x2c826e[_0xa3c432(0x14e)][_0xa3c432(0x114)](_0x1c5cb8,{'styles':_0xa3c432(0x162)})&&(_0x569bce=_0x1c5cb8[_0xa3c432(0x160)](_0xa3c432(0x162)),_0x49462a=!0x0),!_0x49462a&&_0x27fb63[_0xa3c432(0x161)](_0xa3c432(0x134))||_0x2c826e[_0xa3c432(0x13d)][_0xa3c432(0x11f)](_0xa3c432(0x134),_0x569bce,_0x27fb63);}(_0x33a357,_0xdae1f3,_0x1561a0,_0x104d80));});}),_0x4056e9[_0x2474f5(0x157)](_0x2474f5(0x131))[_0x2474f5(0x154)](_0xee0fe6=>{const _0x264f29=_0x2474f5;_0xee0fe6['on'](_0x264f29(0x11d),(_0x5bb770,_0x3de727,_0x3242f3)=>{const _0x1ec369=_0x264f29;if(!_0x3242f3[_0x1ec369(0x14e)][_0x1ec369(0x114)](_0x3de727[_0x1ec369(0x125)],_0x5bb770[_0x1ec369(0x130)]))return;const _0x3b5db9=M(_0x3de727[_0x1ec369(0x125)],_0x3242f3[_0x1ec369(0x14c)]),{attributeNewValue:_0xcd64bc}=_0x3de727;null==_0xcd64bc||0x1===_0xcd64bc?_0x3242f3[_0x1ec369(0x13d)][_0x1ec369(0x11c)](_0x1ec369(0x11b),_0x3b5db9):_0x3242f3[_0x1ec369(0x13d)][_0x1ec369(0x11f)](_0x1ec369(0x11b),String(_0xcd64bc),_0x3b5db9);}),_0xee0fe6['on'](_0x264f29(0x12f),(_0x24b82a,_0x37d378,_0x2fc1c7)=>{const _0x17dc85=_0x264f29;if(!_0x2fc1c7[_0x17dc85(0x14e)][_0x17dc85(0x114)](_0x37d378[_0x17dc85(0x125)],_0x24b82a[_0x17dc85(0x130)]))return;const _0x5275c6=M(_0x37d378[_0x17dc85(0x125)],_0x2fc1c7[_0x17dc85(0x14c)]),{attributeNewValue:_0x43f5d8}=_0x37d378;_0x43f5d8&&_0x17dc85(0x15d)!==_0x43f5d8?_0x2fc1c7[_0x17dc85(0x13d)][_0x17dc85(0x133)](_0x17dc85(0x162),_0x43f5d8,_0x5275c6):_0x2fc1c7[_0x17dc85(0x13d)][_0x17dc85(0x12a)](_0x17dc85(0x162),_0x5275c6);});});}[_0x5570d0(0x13e)](){const _0x5b5945=_0x5570d0,{editor:_0x5eb0f3}=this,{model:_0x50f880}=_0x5eb0f3,_0x5c14be=_0x5eb0f3[_0x5b5945(0x127)][_0x5b5945(0x15b)](_0x5254d1),_0x554a6c=this[_0x5b5945(0x139)](),_0xc0e6b=this[_0x5b5945(0x13a)]();_0x50f880[_0x5b5945(0x10f)][_0x5b5945(0x100)](_0x5c7205=>{const _0x38606c=_0x5b5945,_0x52f7cc=_0x50f880[_0x38606c(0x10f)][_0x38606c(0x137)][_0x38606c(0x109)]();let _0x52e027=!0x1;for(const _0x37ddc8 of _0x52f7cc){if(_0x38606c(0x129)!==_0x37ddc8[_0x38606c(0x126)]||_0x38606c(0x147)===_0x37ddc8[_0x38606c(0x130)])continue;const _0x55954d=_0x50f880[_0x38606c(0x12c)](_0x37ddc8[_0x38606c(0x11e)][_0x38606c(0x15e)]);for(const _0x36132b of _0x55954d[_0x38606c(0x12d)]())_0x36132b['is'](_0x38606c(0xff),_0x38606c(0x116))&&(!_0x36132b[_0x38606c(0x161)](_0x38606c(0x101))&&_0x50f880[_0x38606c(0x159)][_0x38606c(0x151)](_0x36132b,_0x38606c(0x101))&&(_0x5c7205[_0x38606c(0x11f)](_0x38606c(0x101),_0xc0e6b,_0x36132b),_0x52e027=!0x0),!_0x36132b[_0x38606c(0x161)](_0x38606c(0x134))&&_0x50f880[_0x38606c(0x159)][_0x38606c(0x151)](_0x36132b,_0x38606c(0x134))&&(_0x5c7205[_0x38606c(0x11f)](_0x38606c(0x134),_0x554a6c,_0x36132b),_0x52e027=!0x0));}return _0x52e027&&_0x5c14be[_0x38606c(0x13c)](_0x5c7205),_0x52e027;});}[_0x5570d0(0x124)](){const _0x41d084=_0x5570d0,{editor:_0x5d5bf7}=this;_0x5d5bf7[_0x41d084(0x127)][_0x41d084(0x15b)](_0x5254d1)[_0x41d084(0xfd)](_0x3f00b8=>this[_0x41d084(0x11a)](_0x3f00b8));}[_0x5570d0(0x139)](){const _0x1f33ba=_0x5570d0;return this[_0x1f33ba(0x102)][_0x1f33ba(0x135)][_0x1f33ba(0x15b)](_0x1f33ba(0x12e));}[_0x5570d0(0x13a)](){const _0x338abc=_0x5570d0;return this[_0x338abc(0x102)][_0x338abc(0x135)][_0x338abc(0x15b)](_0x338abc(0x104));}[_0x5570d0(0x11a)]({container:_0x5d34b1,value:_0x5beb58,digits:_0x47039c}){const _0xcb161a=_0x5570d0,_0x1c69ba=_0x5d34b1[_0xcb161a(0x107)](_0xcb161a(0x134)),_0x25dd19=_0x5d34b1[_0xcb161a(0x107)](_0xcb161a(0x101)),_0x361d74=Math[_0xcb161a(0x14d)](_0x5beb58)+(_0x25dd19??0x1)-0x1;switch(_0x1c69ba){case _0xcb161a(0x10d):return function(_0x5ab0b1,_0x50d028){const _0x46f470=_0xcb161a;return String(_0x5ab0b1)[_0x46f470(0x143)](_0x50d028,'0');}(_0x361d74,Math[_0xcb161a(0x13f)](0x2,_0x47039c));case _0xcb161a(0x115):case _0xcb161a(0x156):return N(_0x361d74,!0x1);case _0xcb161a(0x144):case _0xcb161a(0xfe):return N(_0x361d74,!0x0);case _0xcb161a(0x121):return X(_0x361d74,!0x1);case _0xcb161a(0x13b):return X(_0x361d74,!0x0);default:return String(_0x361d74);}}}function M(_0x2b0be4,_0x436be3){const _0x5d0b98=_0x5570d0,_0x5a29b3=_0x436be3[_0x5d0b98(0x142)](_0x2b0be4);return Array[_0x5d0b98(0x10e)](_0x5a29b3[_0x5d0b98(0x149)]())[_0x5d0b98(0x141)](_0x5e8890=>_0x5e8890['is'](_0x5d0b98(0xff),'ol')&&_0x5e8890[_0x5d0b98(0x158)](_0x5d0b98(0x155)));}function N(_0x3b1100,_0x10741c){const _0x2b49b5=_0x5570d0;let _0x4c0843='',_0x5718e0=_0x3b1100;for(;_0x5718e0>0x0;){const _0x19a27e=(_0x5718e0-0x1)%0x1a;_0x4c0843=String[_0x2b49b5(0x122)](0x61+_0x19a27e)+_0x4c0843,_0x5718e0=Math[_0x2b49b5(0x14d)]((_0x5718e0-0x1)/0x1a);}return _0x10741c?_0x4c0843[_0x2b49b5(0x15c)]():_0x4c0843;}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 _0x185f(){const _0xcb79fa=['getAttribute','_defineSchema','getChanges','3aCeIeX','extend','parseInt','decimal-leading-zero','from','document','footnotesStyle','_defineConverters','viewItem','1038540TqNJcQ','consume','lower-alpha','footnotesDefinitions','pluginName','12105440aFEhCh','model','_formatFootnoteListValue','start','removeAttribute','attribute:footnotesListStart:footnotesDefinitions','position','setAttribute','define','lower-roman','fromCharCode','element:ol','_defineFormatter','item','type','plugins','393358tNaHsR','insert','removeStyle','FootnotesPropertiesEditing','createRangeOn','getItems','footnotes.footnotesProperties.defaultListStyle','attribute:footnotesListStyle:footnotesDefinitions','name','downcast','11vtJWmh','setStyle','footnotesListStyle','config','toLowerCase','differ','init','_getDefaultListStyle','_getDefaultStartIndex','upper-roman','_updateFootnotesCounters','writer','_definePostfixer','max','requires','find','toViewElement','padStart','upper-alpha','parent','10XhoRNq','$text','4936016SBGFkO','getChildren','commands','463990fkRtbg','mapper','floor','consumable','isNaN','566156RharKo','checkAttribute','9XMUFgJ','footnotesStart','add','footnotes-list','lower-latin','for','hasClass','schema','upcast','get','toUpperCase','decimal','nodeAfter','isOfficialPlugin','getStyle','hasAttribute','list-style-type','setFootnoteFormatter','upper-latin','element','registerPostFixer','footnotesListStart','editor','isPremiumPlugin','footnotes.footnotesProperties.defaultStartIndex','modelCursor','1238106yXgBWS'];_0x185f=function(){return _0xcb79fa;};return _0x185f();}function X(_0x44c6cd,_0x270ce6){const _0x98f8b4=_0x5570d0;let _0x2d8828='',_0x19b591=_0x44c6cd;for(const {value:_0x238ef5,numeral:_0x3374dc}of V)for(;_0x19b591>=_0x238ef5;)_0x2d8828+=_0x3374dc,_0x19b591-=_0x238ef5;return _0x270ce6?_0x2d8828:_0x2d8828[_0x98f8b4(0x136)]();}
23
+ function _0x5772(){const _0xf4f31=['plugins','config','createRangeOn','isPremiumPlugin','footnotes-list','fromCharCode','footnotesStart','viewItem','12IzVGsH','editor','isOfficialPlugin','footnotesStyle','FootnotesPropertiesEditing','find','decimal','define','setStyle','from','parseInt','getItems','padStart','hasClass','consume','consumable','upper-latin','removeAttribute','downcast','floor','270126gJHBqd','element:ol','pluginName','_definePostfixer','getStyle','writer','differ','upcast','max','registerPostFixer','insert','_formatFootnoteListValue','removeStyle','744666tbTBnG','860671LWzEtx','attribute:footnotesListStart:footnotesDefinitions','_getDefaultStartIndex','$text','8TDKSix','add','upper-alpha','setAttribute','toViewElement','decimal-leading-zero','extend','_defineSchema','_getDefaultListStyle','getChildren','get','name','item','setFootnoteFormatter','lower-latin','document','footnotesDefinitions','isNaN','_defineConverters','schema','130THuDpM','lower-roman','getAttribute','mapper','footnotesListStyle','requires','getChanges','toUpperCase','300424nCuMAf','nodeAfter','start','attribute:footnotesListStyle:footnotesDefinitions','type','checkAttribute','upper-roman','lower-alpha','footnotes.footnotesProperties.defaultStartIndex','1539138xIngDw','modelCursor','_defineFormatter','commands','footnotes.footnotesProperties.defaultListStyle','model','init','789020yLXbGP','position','hasAttribute','list-style-type','toLowerCase','footnotesListStart','_updateFootnotesCounters','for','parent','442473YYnwab','element'];_0x5772=function(){return _0xf4f31;};return _0x5772();}const _0x56f9e4=_0x7d5d;(function(_0x4833bf,_0x40db50){const _0x326422=_0x7d5d,_0x526ecb=_0x4833bf();while(!![]){try{const _0xcde9f0=-parseInt(_0x326422(0x93))/0x1+parseInt(_0x326422(0xbe))/0x2+parseInt(_0x326422(0x83))/0x3+-parseInt(_0x326422(0x7a))/0x4+-parseInt(_0x326422(0x8a))/0x5*(parseInt(_0x326422(0x9d))/0x6)+-parseInt(_0x326422(0xbf))/0x7*(parseInt(_0x326422(0xc3))/0x8)+parseInt(_0x326422(0xb1))/0x9*(parseInt(_0x326422(0x72))/0xa);if(_0xcde9f0===_0x40db50)break;else _0x526ecb['push'](_0x526ecb['shift']());}catch(_0x21343e){_0x526ecb['push'](_0x526ecb['shift']());}}}(_0x5772,0x4dfbd));function _0x7d5d(_0x566b4c,_0x3f5601){const _0x5772a2=_0x5772();return _0x7d5d=function(_0x7d5d7a,_0x1a455c){_0x7d5d7a=_0x7d5d7a-0x6d;let _0x5c89fa=_0x5772a2[_0x7d5d7a];return _0x5c89fa;},_0x7d5d(_0x566b4c,_0x3f5601);}import{Plugin as _0x1b4932}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x200d6e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x59ab41}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x134d7e}from'../footnotestracker.js';import{FootnotesEditing as _0x279494}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1b4932{static get[_0x56f9e4(0xb3)](){const _0x34e624=_0x56f9e4;return _0x34e624(0xa1);}static get[_0x56f9e4(0x77)](){return[_0x279494,_0x134d7e];}static get[_0x56f9e4(0x9f)](){return!0x0;}static get[_0x56f9e4(0x98)](){return!0x0;}[_0x56f9e4(0x89)](){const _0x42cbea=_0x56f9e4,{editor:_0x315177}=this;_0x315177[_0x42cbea(0x96)][_0x42cbea(0xa4)](_0x42cbea(0x87),_0x42cbea(0xa3)),_0x315177[_0x42cbea(0x96)][_0x42cbea(0xa4)](_0x42cbea(0x82),0x1),_0x315177[_0x42cbea(0x86)][_0x42cbea(0xc4)](_0x42cbea(0xa0),new _0x200d6e(_0x315177)),_0x315177[_0x42cbea(0x86)][_0x42cbea(0xc4)](_0x42cbea(0x9b),new _0x59ab41(_0x315177)),this[_0x42cbea(0xca)](),this[_0x42cbea(0x70)](),this[_0x42cbea(0x85)](),this[_0x42cbea(0xb4)]();}[_0x56f9e4(0xca)](){const _0x14887c=_0x56f9e4,{editor:_0x1eb08d}=this,{schema:_0x40ac1d}=_0x1eb08d[_0x14887c(0x88)];_0x40ac1d[_0x14887c(0xc9)](_0x14887c(0x6e),{'allowAttributes':[_0x14887c(0x76),_0x14887c(0x8f)]});}[_0x56f9e4(0x70)](){const _0xa2fbcc=_0x56f9e4,{editor:_0x36dfc8}=this,{conversion:_0xb1d7aa,model:_0x372a62}=_0x36dfc8,{schema:_0x303845}=_0x372a62;_0xb1d7aa[_0xa2fbcc(0x91)](_0xa2fbcc(0xb8))[_0xa2fbcc(0xc4)](_0x2953e9=>{const _0x565004=_0xa2fbcc;_0x2953e9['on'](_0x565004(0xb2),(_0x33f9ef,_0x8c163b,_0x26a7e5)=>{const _0xc0e334=_0x565004,_0x2b2e8f=_0x8c163b[_0xc0e334(0x9c)],_0x1b2525=_0x8c163b[_0xc0e334(0x84)]?.[_0xc0e334(0x92)];_0x2b2e8f[_0xc0e334(0xaa)](_0xc0e334(0x99))&&_0x1b2525?.['is'](_0xc0e334(0x94),_0xc0e334(0x6e))&&(function(_0x9a6dca,_0x1f2f8b,_0x408e62,_0x5641d2){const _0x1e7d9e=_0xc0e334;if(!_0x5641d2[_0x1e7d9e(0x7f)](_0x1f2f8b,_0x1e7d9e(0x8f)))return;let _0x2ec728=0x1;const _0x5e39ce=_0x408e62[_0x1e7d9e(0xac)][_0x1e7d9e(0xab)](_0x9a6dca,{'attributes':_0x1e7d9e(0x7c)});if(_0x5e39ce){const _0x4377c2=Number[_0x1e7d9e(0xa7)](_0x9a6dca[_0x1e7d9e(0x74)](_0x1e7d9e(0x7c)),0xa);Number[_0x1e7d9e(0x6f)](_0x4377c2)||(_0x2ec728=_0x4377c2);}!_0x5e39ce&&_0x1f2f8b[_0x1e7d9e(0x8c)](_0x1e7d9e(0x8f))||_0x408e62[_0x1e7d9e(0xb6)][_0x1e7d9e(0xc6)](_0x1e7d9e(0x8f),_0x2ec728,_0x1f2f8b);}(_0x2b2e8f,_0x1b2525,_0x26a7e5,_0x303845),function(_0x59cc66,_0x3ad76a,_0x5746d9,_0x3007f6){const _0x565ca0=_0xc0e334;if(!_0x3007f6[_0x565ca0(0x7f)](_0x3ad76a,_0x565ca0(0x76)))return;let _0x20f7db=_0x565ca0(0xa3),_0x222e30=!0x1;if(_0x5746d9[_0x565ca0(0xac)][_0x565ca0(0xab)](_0x59cc66,{'attributes':_0x565ca0(0x7e)})){const _0x2ea328={0x1:_0x565ca0(0xa3),'a':_0x565ca0(0x81),'A':_0x565ca0(0xc5),'i':_0x565ca0(0x73),'I':_0x565ca0(0x80)}[_0x59cc66[_0x565ca0(0x74)](_0x565ca0(0x7e))];_0x2ea328&&(_0x20f7db=_0x2ea328),_0x222e30=!0x0;}_0x5746d9[_0x565ca0(0xac)][_0x565ca0(0xab)](_0x59cc66,{'styles':_0x565ca0(0x8d)})&&(_0x20f7db=_0x59cc66[_0x565ca0(0xb5)](_0x565ca0(0x8d)),_0x222e30=!0x0),!_0x222e30&&_0x3ad76a[_0x565ca0(0x8c)](_0x565ca0(0x76))||_0x5746d9[_0x565ca0(0xb6)][_0x565ca0(0xc6)](_0x565ca0(0x76),_0x20f7db,_0x3ad76a);}(_0x2b2e8f,_0x1b2525,_0x26a7e5,_0x303845));});}),_0xb1d7aa[_0xa2fbcc(0x91)](_0xa2fbcc(0xaf))[_0xa2fbcc(0xc4)](_0x113aaf=>{const _0x3b0742=_0xa2fbcc;_0x113aaf['on'](_0x3b0742(0xc0),(_0x1e8fd9,_0x27b355,_0xcb7f3e)=>{const _0x548494=_0x3b0742;if(!_0xcb7f3e[_0x548494(0xac)][_0x548494(0xab)](_0x27b355[_0x548494(0xcf)],_0x1e8fd9[_0x548494(0xce)]))return;const _0x54a9b5=M(_0x27b355[_0x548494(0xcf)],_0xcb7f3e[_0x548494(0x75)]),{attributeNewValue:_0x27c757}=_0x27b355;null==_0x27c757||0x1===_0x27c757?_0xcb7f3e[_0x548494(0xb6)][_0x548494(0xae)](_0x548494(0x7c),_0x54a9b5):_0xcb7f3e[_0x548494(0xb6)][_0x548494(0xc6)](_0x548494(0x7c),String(_0x27c757),_0x54a9b5);}),_0x113aaf['on'](_0x3b0742(0x7d),(_0x2c23d0,_0x1eb83f,_0x50a1)=>{const _0x421f04=_0x3b0742;if(!_0x50a1[_0x421f04(0xac)][_0x421f04(0xab)](_0x1eb83f[_0x421f04(0xcf)],_0x2c23d0[_0x421f04(0xce)]))return;const _0x5e5525=M(_0x1eb83f[_0x421f04(0xcf)],_0x50a1[_0x421f04(0x75)]),{attributeNewValue:_0x238322}=_0x1eb83f;_0x238322&&_0x421f04(0xa3)!==_0x238322?_0x50a1[_0x421f04(0xb6)][_0x421f04(0xa5)](_0x421f04(0x8d),_0x238322,_0x5e5525):_0x50a1[_0x421f04(0xb6)][_0x421f04(0xbd)](_0x421f04(0x8d),_0x5e5525);});});}[_0x56f9e4(0xb4)](){const _0x461105=_0x56f9e4,{editor:_0x4af64a}=this,{model:_0x495afa}=_0x4af64a,_0x4285dc=_0x4af64a[_0x461105(0x95)][_0x461105(0xcd)](_0x134d7e),_0x2e4ae1=this[_0x461105(0xcb)](),_0x2e95c7=this[_0x461105(0xc1)]();_0x495afa[_0x461105(0x6d)][_0x461105(0xba)](_0x5c2a6f=>{const _0x1518a6=_0x461105,_0x41968b=_0x495afa[_0x1518a6(0x6d)][_0x1518a6(0xb7)][_0x1518a6(0x78)]();let _0x2df10b=!0x1;for(const _0x2b86ba of _0x41968b){if(_0x1518a6(0xbb)!==_0x2b86ba[_0x1518a6(0x7e)]||_0x1518a6(0xc2)===_0x2b86ba[_0x1518a6(0xce)])continue;const _0x5789a4=_0x495afa[_0x1518a6(0x97)](_0x2b86ba[_0x1518a6(0x8b)][_0x1518a6(0x7b)]);for(const _0x332e5e of _0x5789a4[_0x1518a6(0xa8)]())_0x332e5e['is'](_0x1518a6(0x94),_0x1518a6(0x6e))&&(!_0x332e5e[_0x1518a6(0x8c)](_0x1518a6(0x8f))&&_0x495afa[_0x1518a6(0x71)][_0x1518a6(0x7f)](_0x332e5e,_0x1518a6(0x8f))&&(_0x5c2a6f[_0x1518a6(0xc6)](_0x1518a6(0x8f),_0x2e95c7,_0x332e5e),_0x2df10b=!0x0),!_0x332e5e[_0x1518a6(0x8c)](_0x1518a6(0x76))&&_0x495afa[_0x1518a6(0x71)][_0x1518a6(0x7f)](_0x332e5e,_0x1518a6(0x76))&&(_0x5c2a6f[_0x1518a6(0xc6)](_0x1518a6(0x76),_0x2e4ae1,_0x332e5e),_0x2df10b=!0x0));}return _0x2df10b&&_0x4285dc[_0x1518a6(0x90)](_0x5c2a6f),_0x2df10b;});}[_0x56f9e4(0x85)](){const _0x3e6d7e=_0x56f9e4,{editor:_0xae8939}=this;_0xae8939[_0x3e6d7e(0x95)][_0x3e6d7e(0xcd)](_0x134d7e)[_0x3e6d7e(0xd0)](_0x34ea02=>this[_0x3e6d7e(0xbc)](_0x34ea02));}[_0x56f9e4(0xcb)](){const _0x4743ce=_0x56f9e4;return this[_0x4743ce(0x9e)][_0x4743ce(0x96)][_0x4743ce(0xcd)](_0x4743ce(0x87));}[_0x56f9e4(0xc1)](){const _0x2c80f0=_0x56f9e4;return this[_0x2c80f0(0x9e)][_0x2c80f0(0x96)][_0x2c80f0(0xcd)](_0x2c80f0(0x82));}[_0x56f9e4(0xbc)]({container:_0xb5e62a,value:_0x4c239c,digits:_0x208968}){const _0x2ead0b=_0x56f9e4,_0x2da82d=_0xb5e62a[_0x2ead0b(0x74)](_0x2ead0b(0x76)),_0x2d0979=_0xb5e62a[_0x2ead0b(0x74)](_0x2ead0b(0x8f)),_0x410dc4=Math[_0x2ead0b(0xb0)](_0x4c239c)+(_0x2d0979??0x1)-0x1;switch(_0x2da82d){case _0x2ead0b(0xc8):return function(_0x28529b,_0x183c5c){const _0xead71c=_0x2ead0b;return String(_0x28529b)[_0xead71c(0xa9)](_0x183c5c,'0');}(_0x410dc4,Math[_0x2ead0b(0xb9)](0x2,_0x208968));case _0x2ead0b(0x81):case _0x2ead0b(0xd1):return N(_0x410dc4,!0x1);case _0x2ead0b(0xc5):case _0x2ead0b(0xad):return N(_0x410dc4,!0x0);case _0x2ead0b(0x73):return X(_0x410dc4,!0x1);case _0x2ead0b(0x80):return X(_0x410dc4,!0x0);default:return String(_0x410dc4);}}}function M(_0x18a2ac,_0x28248f){const _0x1d000d=_0x56f9e4,_0x202712=_0x28248f[_0x1d000d(0xc7)](_0x18a2ac);return Array[_0x1d000d(0xa6)](_0x202712[_0x1d000d(0xcc)]())[_0x1d000d(0xa2)](_0x1edc07=>_0x1edc07['is'](_0x1d000d(0x94),'ol')&&_0x1edc07[_0x1d000d(0xaa)](_0x1d000d(0x99)));}function N(_0x4e64bd,_0x5e763f){const _0x559549=_0x56f9e4;let _0x4cd4d5='',_0x4d5448=_0x4e64bd;for(;_0x4d5448>0x0;){const _0x1a4f09=(_0x4d5448-0x1)%0x1a;_0x4cd4d5=String[_0x559549(0x9a)](0x61+_0x1a4f09)+_0x4cd4d5,_0x4d5448=Math[_0x559549(0xb0)]((_0x4d5448-0x1)/0x1a);}return _0x5e763f?_0x4cd4d5[_0x559549(0x79)]():_0x4cd4d5;}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(_0x2e0ac1,_0x2de9d2){const _0x445939=_0x56f9e4;let _0x153a70='',_0x4914b=_0x2e0ac1;for(const {value:_0x417a8e,numeral:_0x3c8846}of V)for(;_0x4914b>=_0x417a8e;)_0x153a70+=_0x3c8846,_0x4914b-=_0x417a8e;return _0x2de9d2?_0x153a70:_0x153a70[_0x445939(0x8e)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x4f5bf8,ButtonView as _0x39d18c,ContextualBalloon as _0x16d087,createDropdown as _0xbb5e55}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x44623b}from'ckeditor5/src/widget.js';import{Plugin as _0x156dfe}from'ckeditor5/src/core.js';import{IconFootnote as _0x202560,IconListStyleDecimal as _0x21aed3,IconListStyleDecimalLeadingZero as _0xb98b11,IconListStyleLowerLatin as _0x12f306,IconListStyleLowerRoman as _0x54fa03,IconListStyleUpperLatin as _0x5ae055,IconListStyleUpperRoman as _0x5c4491}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x54c7e5}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2962cd}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x156dfe{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x16d087,_0x44623b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x484ab9}=this,{componentFactory:_0x29b399}=_0x484ab9['ui'];_0x484ab9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x29b399['add']('footnotesStyle',function(_0x5ba7aa){return _0x548376=>{const {t:t}=_0x548376,_0x4142ad=_0x5ba7aa['commands']['get']('footnotesStyle'),_0x525f98=_0xbb5e55(_0x548376),{buttonView:_0x55900d}=_0x525f98;return _0x525f98['class']='ck-footnotes-styles-dropdown',_0x525f98['bind']('isEnabled')['to'](_0x4142ad,'isEnabled'),_0x55900d['set']({'label':t('Footnotes\x20style'),'icon':_0x202560,'tooltip':!0x0}),_0x525f98['once']('change:isOpen',()=>{const _0x35d63a=function({editor:_0x55e95f,dropdownView:_0x5caacb}){const {t:t}=_0x55e95f['locale'],_0x2bc885=t('Footnotes\x20definitions\x20styles'),_0x55fbce=function(_0x43a4e7){const t=_0x43a4e7['locale']['t'],_0xd8012d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x21aed3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xb98b11},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x54fa03},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5c4491},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x12f306},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5ae055}];return _0xd8012d['map'](function(_0x93578f){const _0x14c574=_0x93578f['locale'];return({label:_0x38469a,icon:_0x26f44c,tooltip:_0x1fc288,style:_0x14ccf0})=>{const _0x1b815b=_0x93578f['commands']['get']('footnotesStyle'),_0x3ac777=new _0x39d18c(_0x14c574);return _0x3ac777['set']({'label':_0x38469a,'icon':_0x26f44c,'tooltip':_0x1fc288}),_0x3ac777['bind']('isOn')['to'](_0x1b815b,'value',_0x230bbf=>_0x230bbf===_0x14ccf0),_0x3ac777['bind']('isEnabled')['to'](_0x1b815b,'isEnabled'),_0x3ac777['on']('execute',()=>{_0x93578f['execute']('footnotesStyle',{'value':_0x14ccf0}),_0x93578f['editing']['view']['focus']();}),_0x3ac777;};}(_0x43a4e7));}(_0x55e95f),_0x3c16f6=new _0x54c7e5(_0x55e95f['locale'],{'styleGridAriaLabel':_0x2bc885,'styleButtonViews':_0x55fbce});return _0x3c16f6['delegate']('execute')['to'](_0x5caacb),_0x3c16f6['on']('footnotesListStart',(_0x186a21,_0x3d467a)=>{_0x55e95f['execute']('footnotesStart',{'value':_0x3d467a['startIndex']});}),_0x3c16f6;}({'editor':_0x5ba7aa,'dropdownView':_0x525f98});_0x525f98['panelView']['children']['add'](_0x35d63a);}),_0x525f98;};}(_0x484ab9));}['afterInit'](){const {editor:_0x2c2134}=this,{t:t}=_0x2c2134['locale'],_0x56a826=_0x2c2134['plugins']['get'](_0x44623b),{defaultPositions:_0x14d157}=_0x4f5bf8;_0x56a826['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2c2134['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x302f5b=>{let _0x1c3c30=_0x302f5b['getFirstPosition']()?.['parent'];return _0x1c3c30?.['is']('$text')&&(_0x1c3c30=_0x1c3c30['parent']),_0x1c3c30?.['is']('element')?_0x1c3c30['findAncestor'](_0x2962cd):null;},'positions':[_0x14d157['southArrowNorth'],_0x14d157['southArrowNorthMiddleWest'],_0x14d157['southArrowNorthMiddleEast'],_0x14d157['southArrowNorthWest'],_0x14d157['southArrowNorthEast'],_0x14d157['northArrowSouth'],_0x14d157['northArrowSouthMiddleWest'],_0x14d157['northArrowSouthMiddleEast'],_0x14d157['northArrowSouthWest'],_0x14d157['northArrowSouthEast'],_0x14d157['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x38e497,ButtonView as _0x2db432,ContextualBalloon as _0x35c1ca,createDropdown as _0x7c216b}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4298bf}from'ckeditor5/src/widget.js';import{Plugin as _0x221544}from'ckeditor5/src/core.js';import{IconFootnote as _0x1b309f,IconListStyleDecimal as _0x2fd836,IconListStyleDecimalLeadingZero as _0x374516,IconListStyleLowerLatin as _0xf4b304,IconListStyleLowerRoman as _0x5f08d6,IconListStyleUpperLatin as _0x38268b,IconListStyleUpperRoman as _0x39bbec}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2da96f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4bda97}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x221544{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x35c1ca,_0x4298bf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x18cd68}=this,{componentFactory:_0x5218d0}=_0x18cd68['ui'];_0x18cd68['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5218d0['add']('footnotesStyle',function(_0x25cee6){return _0x3e7484=>{const {t:t}=_0x3e7484,_0x586092=_0x25cee6['commands']['get']('footnotesStyle'),_0x7b6217=_0x7c216b(_0x3e7484),{buttonView:_0xcce846}=_0x7b6217;return _0x7b6217['class']='ck-footnotes-styles-dropdown',_0x7b6217['bind']('isEnabled')['to'](_0x586092,'isEnabled'),_0xcce846['set']({'label':t('Footnotes\x20style'),'icon':_0x1b309f,'tooltip':!0x0}),_0x7b6217['once']('change:isOpen',()=>{const _0x2a452c=function({editor:_0x3068d8,dropdownView:_0x3a1f47}){const {t:t}=_0x3068d8['locale'],_0x1bc790=t('Footnotes\x20definitions\x20styles'),_0x1352e9=function(_0x390adc){const t=_0x390adc['locale']['t'],_0xe11082=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2fd836},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x374516},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5f08d6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x39bbec},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xf4b304},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x38268b}];return _0xe11082['map'](function(_0x2effe9){const _0x257573=_0x2effe9['locale'];return({label:_0x104bb6,icon:_0x2662b8,tooltip:_0x5667a2,style:_0xf3037})=>{const _0x20fe83=_0x2effe9['commands']['get']('footnotesStyle'),_0x2e4bcd=new _0x2db432(_0x257573);return _0x2e4bcd['set']({'label':_0x104bb6,'icon':_0x2662b8,'tooltip':_0x5667a2}),_0x2e4bcd['bind']('isOn')['to'](_0x20fe83,'value',_0x567c56=>_0x567c56===_0xf3037),_0x2e4bcd['bind']('isEnabled')['to'](_0x20fe83,'isEnabled'),_0x2e4bcd['on']('execute',()=>{_0x2effe9['execute']('footnotesStyle',{'value':_0xf3037}),_0x2effe9['editing']['view']['focus']();}),_0x2e4bcd;};}(_0x390adc));}(_0x3068d8),_0x2329c3=new _0x2da96f(_0x3068d8['locale'],{'styleGridAriaLabel':_0x1bc790,'styleButtonViews':_0x1352e9});return _0x2329c3['delegate']('execute')['to'](_0x3a1f47),_0x2329c3['on']('footnotesListStart',(_0x31aa95,_0x22acb7)=>{_0x3068d8['execute']('footnotesStart',{'value':_0x22acb7['startIndex']});}),_0x2329c3;}({'editor':_0x25cee6,'dropdownView':_0x7b6217});_0x7b6217['panelView']['children']['add'](_0x2a452c);}),_0x7b6217;};}(_0x18cd68));}['afterInit'](){const {editor:_0x2187d5}=this,{t:t}=_0x2187d5['locale'],_0x35376d=_0x2187d5['plugins']['get'](_0x4298bf),{defaultPositions:_0x71f906}=_0x38e497;_0x35376d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2187d5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x109dad=>{let _0x2cb243=_0x109dad['getFirstPosition']()?.['parent'];return _0x2cb243?.['is']('$text')&&(_0x2cb243=_0x2cb243['parent']),_0x2cb243?.['is']('element')?_0x2cb243['findAncestor'](_0x4bda97):null;},'positions':[_0x71f906['southArrowNorth'],_0x71f906['southArrowNorthMiddleWest'],_0x71f906['southArrowNorthMiddleEast'],_0x71f906['southArrowNorthWest'],_0x71f906['southArrowNorthEast'],_0x71f906['northArrowSouth'],_0x71f906['northArrowSouthMiddleWest'],_0x71f906['northArrowSouthMiddleEast'],_0x71f906['northArrowSouthWest'],_0x71f906['northArrowSouthEast'],_0x71f906['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4bde13,View as _0x56d459,ViewCollection as _0x13fff5,FocusCycler as _0xa9e860,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 _0x56d459{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x13fff5();['focusCycler'];constructor(_0x63c81d,{styleButtonViews:_0x47078e,styleGridAriaLabel:_0x47ec1e}){super(_0x63c81d),(this['focusCycler']=new _0xa9e860({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x47078e,_0x47ec1e),[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 _0x4fbabd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4fbabd['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 _0x579b95=_0x2c028b=>_0x2c028b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x579b95),this['keystrokes']['set']('arrowleft',_0x579b95),this['keystrokes']['set']('arrowup',_0x579b95),this['keystrokes']['set']('arrowdown',_0x579b95);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x188f1d,_0x58f0ae){const _0x87615c=new _0x56d459(this['locale']);return _0x87615c['children']=_0x87615c['createCollection'](),_0x87615c['children']['addMany'](_0x188f1d),_0x87615c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x58f0ae,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x87615c['children']}),_0x87615c['children']['delegate']('execute')['to'](this),_0x87615c['focus']=function(){for(const _0x21aa71 of this['children'])if(_0x21aa71 instanceof _0x4bde13&&_0x21aa71['isOn'])return void _0x21aa71['focus']();this['children']['first']['focus']();},_0x87615c['focusTracker']=new ot(),_0x87615c['keystrokes']=new rt(),_0x87615c['render'](),_0x87615c['keystrokes']['listenTo'](_0x87615c['element']),this['children']['add'](_0x87615c),_0x87615c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x395bee=this['_createStartIndexPropertyView'](),_0xe92850=[_0x395bee],_0xce9cf8=new st(this['locale'],_0xe92850);return _0xce9cf8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xce9cf8['buttonView']['bind']('isEnabled')['toMany'](_0xe92850,'isEnabled',(..._0x3c1a0b)=>_0x3c1a0b['some'](_0x13f52c=>_0x13f52c)),_0xce9cf8['buttonView']['on']('change:isEnabled',(_0x4cbe58,_0x23742a,_0x4b67b4)=>{_0x4b67b4||(_0xce9cf8['isCollapsed']=!0x0);}),this['children']['add'](_0xce9cf8),[_0x395bee,_0xce9cf8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1db54b=new it(this['locale'],et);return _0x1db54b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1db54b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1db54b['fieldView']['on']('input',()=>{const _0x22dfcb=_0x1db54b['fieldView']['element'],_0x1404d5=_0x22dfcb['valueAsNumber'];Number['isNaN'](_0x1404d5)?_0x1db54b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x22dfcb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1404d5}):_0x1db54b['errorText']=t(_0x1404d5<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1db54b;}}
23
+ import{ButtonView as _0x2f7204,View as _0x135d41,ViewCollection as _0x5100c9,FocusCycler as _0x44410a,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 _0x135d41{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5100c9();['focusCycler'];constructor(_0x22e624,{styleButtonViews:_0x5bf98e,styleGridAriaLabel:_0x1b1387}){super(_0x22e624),(this['focusCycler']=new _0x44410a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5bf98e,_0x1b1387),[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 _0x53f72b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x53f72b['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 _0x4b4a5f=_0x3f4cdc=>_0x3f4cdc['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4b4a5f),this['keystrokes']['set']('arrowleft',_0x4b4a5f),this['keystrokes']['set']('arrowup',_0x4b4a5f),this['keystrokes']['set']('arrowdown',_0x4b4a5f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x289120,_0x11ed78){const _0x4fd184=new _0x135d41(this['locale']);return _0x4fd184['children']=_0x4fd184['createCollection'](),_0x4fd184['children']['addMany'](_0x289120),_0x4fd184['setTemplate']({'tag':'div','attributes':{'aria-label':_0x11ed78,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4fd184['children']}),_0x4fd184['children']['delegate']('execute')['to'](this),_0x4fd184['focus']=function(){for(const _0xe25a44 of this['children'])if(_0xe25a44 instanceof _0x2f7204&&_0xe25a44['isOn'])return void _0xe25a44['focus']();this['children']['first']['focus']();},_0x4fd184['focusTracker']=new ot(),_0x4fd184['keystrokes']=new rt(),_0x4fd184['render'](),_0x4fd184['keystrokes']['listenTo'](_0x4fd184['element']),this['children']['add'](_0x4fd184),_0x4fd184;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5ca18f=this['_createStartIndexPropertyView'](),_0xc84602=[_0x5ca18f],_0x881a62=new st(this['locale'],_0xc84602);return _0x881a62['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x881a62['buttonView']['bind']('isEnabled')['toMany'](_0xc84602,'isEnabled',(..._0x192f16)=>_0x192f16['some'](_0x501319=>_0x501319)),_0x881a62['buttonView']['on']('change:isEnabled',(_0x53c5c0,_0x1b3327,_0x242994)=>{_0x242994||(_0x881a62['isCollapsed']=!0x0);}),this['children']['add'](_0x881a62),[_0x5ca18f,_0x881a62];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4e2fd8=new it(this['locale'],et);return _0x4e2fd8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4e2fd8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4e2fd8['fieldView']['on']('input',()=>{const _0x319d5c=_0x4e2fd8['fieldView']['element'],_0x453b8c=_0x319d5c['valueAsNumber'];Number['isNaN'](_0x453b8c)?_0x4e2fd8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x319d5c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x453b8c}):_0x4e2fd8['errorText']=t(_0x453b8c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4e2fd8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1f5614=_0x3181;(function(_0x3e7a25,_0x3ce8c1){var _0x4ef66c=_0x3181,_0x232efe=_0x3e7a25();while(!![]){try{var _0x58d33a=-parseInt(_0x4ef66c(0x117))/0x1*(parseInt(_0x4ef66c(0x114))/0x2)+-parseInt(_0x4ef66c(0x10a))/0x3+parseInt(_0x4ef66c(0x10c))/0x4*(-parseInt(_0x4ef66c(0x111))/0x5)+-parseInt(_0x4ef66c(0x10e))/0x6*(-parseInt(_0x4ef66c(0x115))/0x7)+-parseInt(_0x4ef66c(0x118))/0x8+parseInt(_0x4ef66c(0x112))/0x9*(-parseInt(_0x4ef66c(0x10d))/0xa)+-parseInt(_0x4ef66c(0x10f))/0xb*(-parseInt(_0x4ef66c(0x109))/0xc);if(_0x58d33a===_0x3ce8c1)break;else _0x232efe['push'](_0x232efe['shift']());}catch(_0x93b8a5){_0x232efe['push'](_0x232efe['shift']());}}}(_0x52fc,0x6a284));function _0x52fc(){var _0x4d3525=['10ZPYPJG','205326PIdfKc','2173941ZGkDCw','isOfficialPlugin','425YxRdnc','4338531ioPnfx','pluginName','4664IqntGO','70RRlYao','FootnotesProperties','153xXflwc','767152SNLOuI','isPremiumPlugin','84DOTwEC','396504SmuNGZ','requires','10536dZJbbD'];_0x52fc=function(){return _0x4d3525;};return _0x52fc();}function _0x3181(_0x2193a7,_0x5ea4f6){var _0x52fc9e=_0x52fc();return _0x3181=function(_0x3181b4,_0x50eae1){_0x3181b4=_0x3181b4-0x108;var _0x19a530=_0x52fc9e[_0x3181b4];return _0x19a530;},_0x3181(_0x2193a7,_0x5ea4f6);}import{Plugin as _0x10de82}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2f98c9}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3015e2}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x10de82{static get[_0x1f5614(0x113)](){var _0x2555a3=_0x1f5614;return _0x2555a3(0x116);}static get[_0x1f5614(0x10b)](){return[_0x2f98c9,_0x3015e2];}static get[_0x1f5614(0x110)](){return!0x0;}static get[_0x1f5614(0x108)](){return!0x0;}}
23
+ var _0x50eede=_0x4ac6;(function(_0x522c63,_0x59dfbe){var _0x351314=_0x4ac6,_0x322c95=_0x522c63();while(!![]){try{var _0x377467=-parseInt(_0x351314(0xd3))/0x1+parseInt(_0x351314(0xd0))/0x2+-parseInt(_0x351314(0xd8))/0x3+parseInt(_0x351314(0xd6))/0x4+parseInt(_0x351314(0xda))/0x5*(-parseInt(_0x351314(0xd9))/0x6)+parseInt(_0x351314(0xcd))/0x7+parseInt(_0x351314(0xd1))/0x8*(parseInt(_0x351314(0xcf))/0x9);if(_0x377467===_0x59dfbe)break;else _0x322c95['push'](_0x322c95['shift']());}catch(_0x5be2ad){_0x322c95['push'](_0x322c95['shift']());}}}(_0x2a52,0xcf4eb));function _0x4ac6(_0x4d356e,_0x376951){var _0x2a52df=_0x2a52();return _0x4ac6=function(_0x4ac6c5,_0x100afb){_0x4ac6c5=_0x4ac6c5-0xcd;var _0x8b4659=_0x2a52df[_0x4ac6c5];return _0x8b4659;},_0x4ac6(_0x4d356e,_0x376951);}import{Plugin as _0x2f1022}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x11ffdf}from'./footnotesproperties/footnotespropertiesediting.js';function _0x2a52(){var _0x2edbe4=['5mUDuRO','2784082VthJFZ','pluginName','13194477vXcakU','650512ECbPYR','8chPpwL','requires','914368PTdBGm','FootnotesProperties','isOfficialPlugin','4746448ADHvgh','isPremiumPlugin','4454511tiyVgS','763866LsUQrb'];_0x2a52=function(){return _0x2edbe4;};return _0x2a52();}import{FootnotesPropertiesUI as _0x351ef3}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2f1022{static get[_0x50eede(0xce)](){var _0xe39ec6=_0x50eede;return _0xe39ec6(0xd4);}static get[_0x50eede(0xd2)](){return[_0x11ffdf,_0x351ef3];}static get[_0x50eede(0xd5)](){return!0x0;}static get[_0x50eede(0xd7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x584ec0=_0x292d;(function(_0x336349,_0x42739f){const _0x1a973a=_0x292d,_0x13996c=_0x336349();while(!![]){try{const _0x430a7d=parseInt(_0x1a973a(0x1b5))/0x1+parseInt(_0x1a973a(0x19d))/0x2*(parseInt(_0x1a973a(0x18f))/0x3)+parseInt(_0x1a973a(0x1aa))/0x4*(parseInt(_0x1a973a(0x19f))/0x5)+parseInt(_0x1a973a(0x17c))/0x6+-parseInt(_0x1a973a(0x1a5))/0x7+parseInt(_0x1a973a(0x1c3))/0x8+-parseInt(_0x1a973a(0x1bb))/0x9;if(_0x430a7d===_0x42739f)break;else _0x13996c['push'](_0x13996c['shift']());}catch(_0x199c81){_0x13996c['push'](_0x13996c['shift']());}}}(_0x30b4,0x1f068));import{Plugin as _0x54b784}from'ckeditor5/src/core.js';function _0x30b4(){const _0x409a19=['footnoteRef','setFootnoteFormatter','footnotesDefinitions','4pPhrCx','push','after','remove','footnotes.multiBlock','$graveyard','_handleFootnotesDefinitionsObjectChanges','isEqual','_ensureFootnotesDefinitionsContainerExists','footnoteDefinition','getChanges','138005WqBTGg','get','_footnotesDefinitions','_insertEmptyFootnotesDefinitionsContainer','footnoteInlineContent','editor','3722787PUPlCC','find','compareWith','childCount','high','model','document','getFootnotesDefinitionsObjectElement','31224zPvWTx','move','config','reference','set','min','getFootnote','differ','from','footnoteId','add','indexOf','init','change:data','map','pluginName','_footnoteRefsTracker','_handleRemoveFootnoteReferenceById','end','createRangeOn','some','_updateFootnotesCounters','singleton','paragraph','getFootnotes','_handleFootnoteReferencesChanges','_sortFootnoteDefinitions','enqueueChange','createPositionBefore','976620OMcTAX','_footnoteDefsTracker','parent','setAttribute','createRangeIn','registerPostFixer','footnoteCounter','insert','isPremiumPlugin','_handleInsertedFootnoteReference','_handleFootnoteDefinitionsChanges','isOfficialPlugin','definition','listenTo','rootName','root','has','FootnotesTracker','findIndex','3KYvsRb','unshift','_footnotes','low','_ensureFootnotesReferencesHaveProperOrder','getRootNames','getChildren','_footnoteDefsContainerTracker','append','getAttribute','createPositionAt','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectSync','reset','81766hBaMZh','splice','1016035YMsNrD','length','getFootnotesFormatter','createElement','before','_footnoteFormatter','56315OctbiW','_updateFootnoteRefCounter'];_0x30b4=function(){return _0x409a19;};return _0x30b4();}import{ModelElementTracker as _0x4cc8bd}from'./modelelementtracker.js';export class FootnotesTracker extends _0x54b784{[_0x584ec0(0x191)]=[];[_0x584ec0(0x1b7)]=null;[_0x584ec0(0x1a4)]=null;[_0x584ec0(0x196)];[_0x584ec0(0x1d3)];[_0x584ec0(0x17d)];static get[_0x584ec0(0x1d2)](){const _0x47fd07=_0x584ec0;return _0x47fd07(0x18d);}static get[_0x584ec0(0x187)](){return!0x0;}static get[_0x584ec0(0x184)](){return!0x0;}constructor(_0x2dc42c){const _0x54861c=_0x584ec0;super(_0x2dc42c),this[_0x54861c(0x196)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1a9),'getElementKey':()=>_0x54861c(0x1d9)}),this[_0x54861c(0x1d3)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1a7),'getElementKey':_0x38f5b9=>_0x38f5b9[_0x54861c(0x198)](_0x54861c(0x1cc))}),this[_0x54861c(0x17d)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1b3),'getElementKey':_0x428399=>_0x428399[_0x54861c(0x198)](_0x54861c(0x1cc))});}[_0x584ec0(0x1cf)](){const _0x245bfd=_0x584ec0,{editor:_0x44c886}=this,{model:_0x5d4c66,data:_0x4e3831}=_0x44c886;_0x5d4c66[_0x245bfd(0x1c1)][_0x245bfd(0x181)](_0x4d5d39=>{const _0x1c75d6=_0x245bfd,_0x4e408a=_0x5d4c66[_0x1c75d6(0x1c1)][_0x1c75d6(0x1ca)][_0x1c75d6(0x1b4)]();let _0xf3849=!0x1;return this[_0x1c75d6(0x1b0)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x186)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x1dc)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x193)](_0x4d5d39)&&(_0xf3849=!0x0),this[_0x1c75d6(0x19b)](_0x4d5d39)&&(_0xf3849=!0x0),this[_0x1c75d6(0x1dd)](_0x4d5d39)&&(_0xf3849=!0x0),_0xf3849;}),this[_0x245bfd(0x189)](_0x5d4c66[_0x245bfd(0x1c1)],_0x245bfd(0x1d0),()=>{const _0x44b892=_0x245bfd;_0x5d4c66[_0x44b892(0x17a)]({'isUndoable':!0x1},_0x470787=>{const _0x2898eb=_0x44b892;this[_0x2898eb(0x1b2)](_0x470787);});},{'priority':_0x245bfd(0x192)}),this[_0x245bfd(0x189)](_0x4e3831,_0x245bfd(0x1c7),()=>{const _0x5630bc=_0x245bfd;this[_0x5630bc(0x191)]=[],this[_0x5630bc(0x196)][_0x5630bc(0x19c)](),this[_0x5630bc(0x1d3)][_0x5630bc(0x19c)](),this[_0x5630bc(0x17d)][_0x5630bc(0x19c)]();},{'priority':_0x245bfd(0x1bf)});}[_0x584ec0(0x1c2)](){const _0xe3b9e=_0x584ec0;return this[_0xe3b9e(0x1b7)];}[_0x584ec0(0x1c9)](_0x32cacf){const _0x353f45=_0x584ec0;return this[_0x353f45(0x191)][_0x353f45(0x1bc)](_0x2383ad=>_0x2383ad['id']===_0x32cacf)||null;}[_0x584ec0(0x1db)](){const _0x42cf28=_0x584ec0;return Array[_0x42cf28(0x1cb)](this[_0x42cf28(0x191)]);}[_0x584ec0(0x1a1)](){const _0x3f79da=_0x584ec0;return this[_0x3f79da(0x1a4)];}[_0x584ec0(0x1a8)](_0x2881c1){const _0x50ba8e=_0x584ec0;this[_0x50ba8e(0x1a4)]=_0x2881c1;}[_0x584ec0(0x1d8)](_0x112948,_0x457cf9=0x0){const _0x54c606=_0x584ec0;let _0x21dcd9=!0x1;for(let _0x1e8982=_0x457cf9;_0x1e8982<this[_0x54c606(0x191)][_0x54c606(0x1a0)];_0x1e8982++)this[_0x54c606(0x1a6)](_0x112948,_0x1e8982)&&(_0x21dcd9=!0x0);return _0x21dcd9;}[_0x584ec0(0x1b8)](_0x2652ea,_0x50af7b){const _0x4c072a=_0x584ec0,_0x5169ff=_0x2652ea[_0x4c072a(0x1a2)](_0x4c072a(0x1a9),{});return _0x2652ea[_0x4c072a(0x197)](_0x5169ff,_0x50af7b),this[_0x4c072a(0x1b7)]=_0x5169ff,_0x5169ff;}[_0x584ec0(0x1b2)](_0xaaaf3f){const _0x150d2f=_0x584ec0;if(!this[_0x150d2f(0x191)][_0x150d2f(0x1a0)]||this[_0x150d2f(0x1b7)])return;const _0x1505c5=this[_0x150d2f(0x191)][0x0][_0x150d2f(0x1c6)][_0x150d2f(0x18b)],_0x681af5=this[_0x150d2f(0x1b8)](_0xaaaf3f,_0x1505c5);for(const _0x14b041 of this[_0x150d2f(0x191)])_0x14b041[_0x150d2f(0x188)][_0x150d2f(0x17e)]||_0xaaaf3f[_0x150d2f(0x183)](_0x14b041[_0x150d2f(0x188)],_0x681af5,_0x150d2f(0x1d5));this[_0x150d2f(0x1d8)](_0xaaaf3f);}[_0x584ec0(0x1b0)](_0x475fed,_0x418fb8){const _0x126b93=_0x584ec0;let _0x5a7227=!0x1;const {inserted:_0x289fce,removed:_0x418c13,moved:_0x194620}=this[_0x126b93(0x196)][_0x126b93(0x1b4)](_0x418fb8);if(_0x194620[_0x126b93(0x1a0)]&&(this[_0x126b93(0x1b7)]=_0x194620[0x0]),_0x289fce[_0x126b93(0x1a0)]){if(_0x289fce[_0x126b93(0x1a0)]>0x1||this[_0x126b93(0x1b7)]&&_0x289fce[_0x126b93(0x1d7)](_0xceb231=>_0xceb231!==this[_0x126b93(0x1b7)])){const _0x58fcfd=_0x475fed[_0x126b93(0x1a2)](_0x126b93(0x1a9),{}),_0x42d676=[];this[_0x126b93(0x1b7)]&&_0x42d676[_0x126b93(0x1ab)](this[_0x126b93(0x1b7)]),_0x42d676[_0x126b93(0x1ab)](..._0x289fce),_0x475fed[_0x126b93(0x183)](_0x58fcfd,_0x42d676[0x0],_0x126b93(0x1a3));for(const _0x582f3b of _0x42d676)_0x475fed[_0x126b93(0x1c4)](_0x475fed[_0x126b93(0x180)](_0x582f3b),_0x475fed[_0x126b93(0x199)](_0x58fcfd,_0x126b93(0x1d5))),_0x475fed[_0x126b93(0x1ad)](_0x582f3b);this[_0x126b93(0x1b7)]=_0x58fcfd,this[_0x126b93(0x1d8)](_0x475fed),_0x5a7227=!0x0;}else this[_0x126b93(0x1b7)]=_0x289fce[0x0];}if(_0x418c13[_0x126b93(0x1a0)]&&_0x126b93(0x1af)===this[_0x126b93(0x1b7)]?.[_0x126b93(0x18b)][_0x126b93(0x18a)]){for(const _0xb44259 of this[_0x126b93(0x191)])_0x475fed[_0x126b93(0x1ad)](_0xb44259[_0x126b93(0x1c6)]),_0x5a7227=!0x0;this[_0x126b93(0x191)]=[],this[_0x126b93(0x1b7)]=null;}return _0x5a7227;}[_0x584ec0(0x186)](_0x18257e,_0x5cb7d7){const _0x10524f=_0x584ec0;let _0x4b9b10=!0x1;const _0x346cd8=this[_0x10524f(0x1ba)][_0x10524f(0x1c5)][_0x10524f(0x1b6)](_0x10524f(0x1ae)),{inserted:_0x175508,moved:_0x51f065}=this[_0x10524f(0x17d)][_0x10524f(0x1b4)](_0x5cb7d7);for(const _0x5696cf of[..._0x51f065,..._0x175508]){const _0x573322=_0x5696cf[_0x10524f(0x198)](_0x10524f(0x1cc)),_0x59a7dc=this[_0x10524f(0x1c9)](_0x573322);_0x59a7dc&&(_0x59a7dc[_0x10524f(0x188)]=_0x5696cf),_(_0x18257e,_0x346cd8,_0x5696cf)&&(_0x4b9b10=!0x0);}return _0x4b9b10;}[_0x584ec0(0x1dc)](_0x299ad2,_0xf177e9){const _0xd0dabf=_0x584ec0;let _0x3b0344=!0x1;const {removed:_0x5b4437,inserted:_0x461857,moved:_0x25856f}=this[_0xd0dabf(0x1d3)][_0xd0dabf(0x1b4)](_0xf177e9);for(const _0x2cf3bb of _0x5b4437)this[_0xd0dabf(0x1d4)](_0x299ad2,_0x2cf3bb)&&(_0x3b0344=!0x0);for(const _0xe9030d of _0x461857)this[_0xd0dabf(0x185)](_0x299ad2,_0xe9030d)&&(_0x3b0344=!0x0);for(const _0x484833 of _0x25856f)this[_0xd0dabf(0x19a)](_0x299ad2,_0x484833)&&(_0x3b0344=!0x0);return _0x3b0344;}[_0x584ec0(0x19b)](_0x494c82){const _0x193392=_0x584ec0;if(!this[_0x193392(0x1b7)])return!0x1;let _0x2d779c=!0x1;if(this[_0x193392(0x1b7)][_0x193392(0x1be)]!==this[_0x193392(0x191)][_0x193392(0x1a0)]){const _0x4cb0ef=[];for(const _0x158840 of this[_0x193392(0x1b7)][_0x193392(0x195)]()){const _0xb2949e=_0x158840[_0x193392(0x198)](_0x193392(0x1cc));this[_0x193392(0x1c9)](_0xb2949e)||(_0x4cb0ef[_0x193392(0x190)](_0x158840),_0x2d779c=!0x0);}for(const _0x39954e of _0x4cb0ef)_0x494c82[_0x193392(0x1ad)](_0x39954e);}const _0x246352=new Set(),_0x479887=[];for(const _0x57fcca of this[_0x193392(0x1b7)][_0x193392(0x195)]()){const _0x47f904=_0x57fcca[_0x193392(0x198)](_0x193392(0x1cc));_0x246352[_0x193392(0x18c)](_0x47f904)?(_0x479887[_0x193392(0x190)](_0x57fcca),_0x2d779c=!0x0):_0x246352[_0x193392(0x1cd)](_0x47f904);}for(const _0x217682 of _0x479887)_0x494c82[_0x193392(0x1ad)](_0x217682);return this[_0x193392(0x1b7)][_0x193392(0x1be)]||(_0x494c82[_0x193392(0x1ad)](this[_0x193392(0x1b7)]),this[_0x193392(0x1b7)]=null,_0x2d779c=!0x0),_0x2d779c;}[_0x584ec0(0x185)](_0xf21eb2,_0x241866){const _0x4d92f2=_0x584ec0;if(this[_0x4d92f2(0x191)][_0x4d92f2(0x1bc)](_0xeeef50=>_0xeeef50[_0x4d92f2(0x1c6)]===_0x241866))return!0x1;let _0xa1ea72=!0x1;const _0x1bcc9a=_0x241866[_0x4d92f2(0x198)](_0x4d92f2(0x1cc)),_0x1747de=this[_0x4d92f2(0x191)][_0x4d92f2(0x18e)](_0x457872=>_0x457872['id']===_0x1bcc9a);-0x1!==_0x1747de&&(_0xf21eb2[_0x4d92f2(0x1ad)](this[_0x4d92f2(0x191)][_0x1747de][_0x4d92f2(0x1c6)]),this[_0x4d92f2(0x191)][_0x4d92f2(0x19e)](_0x1747de,0x1),_0xa1ea72=!0x0);let _0x13cef9=this[_0x4d92f2(0x1b7)]?function(_0x73b890,_0x138b4d){const _0x35ca69=_0x4d92f2;for(const _0x2a37e3 of _0x73b890[_0x35ca69(0x195)]())if(_0x2a37e3[_0x35ca69(0x198)](_0x35ca69(0x1cc))===_0x138b4d)return _0x2a37e3;return null;}(this[_0x4d92f2(0x1b7)],_0x1bcc9a):null;_0x13cef9||(_0x13cef9=_0xf21eb2[_0x4d92f2(0x1a2)](_0x4d92f2(0x1b3),{'footnoteId':_0x1bcc9a}),this[_0x4d92f2(0x1b7)]&&(_0xf21eb2[_0x4d92f2(0x183)](_0x13cef9,this[_0x4d92f2(0x1b7)],_0x4d92f2(0x1d5)),_0xa1ea72=!0x0));const _0x1ae71e={'id':_0x1bcc9a,'reference':_0x241866,'definition':_0x13cef9},_0x4e0fc5=I(this[_0x4d92f2(0x1ba)][_0x4d92f2(0x1c0)],this[_0x4d92f2(0x191)],_0x241866);this[_0x4d92f2(0x191)][_0x4d92f2(0x19e)](_0x4e0fc5,0x0,_0x1ae71e);let _0x5b750b=_0x4e0fc5;return-0x1!==_0x1747de&&(_0x5b750b=Math[_0x4d92f2(0x1c8)](_0x4e0fc5,_0x1747de)),this[_0x4d92f2(0x1d8)](_0xf21eb2,_0x5b750b)&&(_0xa1ea72=!0x0),_0xa1ea72;}[_0x584ec0(0x1d4)](_0x3b5d6a,_0x58beef){const _0xca4755=_0x584ec0,_0x11de26=this[_0xca4755(0x191)][_0xca4755(0x18e)](_0x40a7cc=>_0x40a7cc['id']===_0x58beef);if(-0x1===_0x11de26)return!0x1;let _0x4c20a7=!0x1;const _0x117952=this[_0xca4755(0x191)][_0x11de26];return _0xca4755(0x1af)!==_0x117952[_0xca4755(0x188)][_0xca4755(0x18b)][_0xca4755(0x18a)]&&(_0x3b5d6a[_0xca4755(0x1ad)](_0x117952[_0xca4755(0x188)]),_0x4c20a7=!0x0),this[_0xca4755(0x191)][_0xca4755(0x19e)](_0x11de26,0x1),this[_0xca4755(0x1d8)](_0x3b5d6a,_0x11de26)&&(_0x4c20a7=!0x0),_0x4c20a7;}[_0x584ec0(0x19a)](_0x23f318,_0x4ed9d9){const _0x246de0=_0x584ec0,_0x579d82=_0x4ed9d9[_0x246de0(0x198)](_0x246de0(0x1cc)),_0x526377=this[_0x246de0(0x191)][_0x246de0(0x18e)](_0x2a2df0=>_0x2a2df0['id']===_0x579d82),_0x326e15=this[_0x246de0(0x191)][_0x526377];let _0x17e44e=!0x1;_0x326e15[_0x246de0(0x1c6)]=_0x4ed9d9,this[_0x246de0(0x191)][_0x246de0(0x19e)](_0x526377,0x1);const _0x3a90ce=I(this[_0x246de0(0x1ba)][_0x246de0(0x1c0)],this[_0x246de0(0x191)],_0x4ed9d9);return this[_0x246de0(0x191)][_0x246de0(0x19e)](_0x3a90ce,0x0,_0x326e15),this[_0x246de0(0x1d8)](_0x23f318,Math[_0x246de0(0x1c8)](_0x526377,_0x3a90ce))&&(_0x17e44e=!0x0),_0x17e44e;}[_0x584ec0(0x1a6)](_0x5c80ab,_0x7bc70c){const _0x27edb9=_0x584ec0;if(!this[_0x27edb9(0x1b7)])return!0x1;const _0x1ad8fa=this[_0x27edb9(0x191)][_0x7bc70c];let _0x39222a;return _0x39222a=this[_0x27edb9(0x1a4)]?this[_0x27edb9(0x1a4)]({'footnote':_0x1ad8fa,'container':this[_0x27edb9(0x1b7)],'digits':String(this[_0x27edb9(0x191)][_0x27edb9(0x1a0)])[_0x27edb9(0x1a0)],'value':_0x7bc70c+0x1}):String(_0x7bc70c+0x1),_0x1ad8fa[_0x27edb9(0x1c6)][_0x27edb9(0x198)](_0x27edb9(0x182))!=_0x39222a&&(_0x5c80ab[_0x27edb9(0x17f)](_0x27edb9(0x182),_0x39222a,_0x1ad8fa[_0x27edb9(0x1c6)]),!0x0);}[_0x584ec0(0x1dd)](_0x117a26){const _0x437f34=_0x584ec0;if(!this[_0x437f34(0x1b7)]||this[_0x437f34(0x191)][_0x437f34(0x1a0)]<0x2)return!0x1;if(function(_0x46132d,_0x4112ad){const _0x500aa6=_0x437f34;if(_0x46132d[_0x500aa6(0x1a0)]!==_0x4112ad[_0x500aa6(0x1a0)])return!0x1;for(let _0x452bae=0x0;_0x452bae<_0x46132d[_0x500aa6(0x1a0)];_0x452bae++)if(_0x46132d[_0x452bae]!==_0x4112ad[_0x452bae])return!0x1;return!0x0;}(this[_0x437f34(0x191)][_0x437f34(0x1d1)](_0x36416d=>_0x36416d['id']),Array[_0x437f34(0x1cb)](this[_0x437f34(0x1b7)][_0x437f34(0x195)]())[_0x437f34(0x1d1)](_0x494ff9=>_0x494ff9[_0x437f34(0x198)](_0x437f34(0x1cc)))))return!0x1;let _0x4ee93c=!0x1;for(let _0x4ae516=0x0;_0x4ae516<this[_0x437f34(0x191)][_0x437f34(0x1a0)];_0x4ae516++){const _0x4087bd=this[_0x437f34(0x191)][_0x4ae516],_0x3dc096=_0x117a26[_0x437f34(0x17b)](_0x4087bd[_0x437f34(0x188)]),_0x3e8ff4=_0x117a26[_0x437f34(0x199)](this[_0x437f34(0x1b7)],_0x4ae516);_0x3dc096[_0x437f34(0x1b1)](_0x3e8ff4)||(_0x117a26[_0x437f34(0x1c4)](_0x117a26[_0x437f34(0x1d6)](_0x4087bd[_0x437f34(0x188)]),_0x3e8ff4),_0x4ee93c=!0x0);}return _0x4ee93c;}[_0x584ec0(0x193)](_0x4b7ec4){const _0x173919=_0x584ec0;if(!this[_0x173919(0x191)][_0x173919(0x1a0)])return!0x1;const {model:_0x5b8493}=this[_0x173919(0x1ba)];let _0x359a40=!0x1;for(let _0xf85d81=0x0;_0xf85d81<this[_0x173919(0x191)][_0x173919(0x1a0)]-0x1;_0xf85d81++){const _0x4910b3=this[_0x173919(0x191)][_0xf85d81],_0x25a1ad=this[_0x173919(0x191)][_0xf85d81+0x1],_0x1442c1=_0x5b8493[_0x173919(0x17b)](_0x4910b3[_0x173919(0x1c6)]),_0x432d32=_0x5b8493[_0x173919(0x17b)](_0x25a1ad[_0x173919(0x1c6)]);_0x173919(0x1ac)===_0x1442c1[_0x173919(0x1bd)](_0x432d32)&&(this[_0x173919(0x19a)](_0x4b7ec4,_0x4910b3[_0x173919(0x1c6)]),_0xf85d81=-0x1,_0x359a40=!0x0);}return _0x359a40;}}function _(_0x1dd544,_0x15eaaf,_0x1c1a2a){const _0xb8241a=_0x584ec0;if(_0x1c1a2a[_0xb8241a(0x1be)])return!0x1;const _0x1ccbce=_0x15eaaf?_0xb8241a(0x1da):_0xb8241a(0x1b9);return _0x1dd544[_0xb8241a(0x183)](_0x1dd544[_0xb8241a(0x1a2)](_0x1ccbce),_0x1c1a2a),!0x0;}function _0x292d(_0x2159a3,_0x3e6b76){const _0x30b45d=_0x30b4();return _0x292d=function(_0x292de9,_0x13558c){_0x292de9=_0x292de9-0x17a;let _0x7ec890=_0x30b45d[_0x292de9];return _0x7ec890;},_0x292d(_0x2159a3,_0x3e6b76);}function I(_0x100668,_0x124a6f,_0x4d3417){const _0x3f2997=_0x584ec0;if(0x0===_0x124a6f[_0x3f2997(0x1a0)])return 0x0;const _0x5c9fee=_0x100668[_0x3f2997(0x17b)](_0x4d3417);for(let _0x4e1e4c=0x0;_0x4e1e4c<_0x124a6f[_0x3f2997(0x1a0)];_0x4e1e4c++){const _0x2c3448=_0x124a6f[_0x4e1e4c],_0x226fca=_0x100668[_0x3f2997(0x17b)](_0x2c3448[_0x3f2997(0x1c6)]);if(_0x3f2997(0x1a3)===_0x5c9fee[_0x3f2997(0x1bd)](_0x226fca))return _0x4e1e4c;}const _0x2be977=_0x4d3417[_0x3f2997(0x18b)];let _0x53e11c=-0x1;for(let _0x360b2c=_0x124a6f[_0x3f2997(0x1a0)]-0x1;_0x360b2c>=0x0;_0x360b2c--)if(_0x124a6f[_0x360b2c][_0x3f2997(0x1c6)][_0x3f2997(0x18b)]===_0x2be977){_0x53e11c=_0x360b2c;break;}if(-0x1!==_0x53e11c)return _0x53e11c+0x1;const _0xa65d34=_0x100668[_0x3f2997(0x1c1)][_0x3f2997(0x194)](),_0x5390e9=_0xa65d34[_0x3f2997(0x1ce)](_0x2be977[_0x3f2997(0x18a)]),_0x643125=_0xa65d34[_0x5390e9+0x1];if(_0x643125){for(let _0x2ae4be=0x0;_0x2ae4be<_0x124a6f[_0x3f2997(0x1a0)];_0x2ae4be++)if(_0x124a6f[_0x2ae4be][_0x3f2997(0x1c6)][_0x3f2997(0x18b)][_0x3f2997(0x18a)]===_0x643125)return _0x2ae4be;}return _0x124a6f[_0x3f2997(0x1a0)];}
23
+ const _0x3d1882=_0x14de;(function(_0x3d2919,_0x125f8e){const _0x5abd9a=_0x14de,_0x47ab1c=_0x3d2919();while(!![]){try{const _0x522a80=parseInt(_0x5abd9a(0x191))/0x1*(parseInt(_0x5abd9a(0x183))/0x2)+-parseInt(_0x5abd9a(0x1c3))/0x3+parseInt(_0x5abd9a(0x19b))/0x4*(-parseInt(_0x5abd9a(0x182))/0x5)+parseInt(_0x5abd9a(0x1c4))/0x6*(-parseInt(_0x5abd9a(0x1b1))/0x7)+parseInt(_0x5abd9a(0x1bc))/0x8+-parseInt(_0x5abd9a(0x1d1))/0x9*(-parseInt(_0x5abd9a(0x1a5))/0xa)+-parseInt(_0x5abd9a(0x1a0))/0xb;if(_0x522a80===_0x125f8e)break;else _0x47ab1c['push'](_0x47ab1c['shift']());}catch(_0x3441c2){_0x47ab1c['push'](_0x47ab1c['shift']());}}}(_0x3867,0x6e867));function _0x14de(_0x157473,_0x43564c){const _0x3867fc=_0x3867();return _0x14de=function(_0x14de21,_0x5b4697){_0x14de21=_0x14de21-0x16f;let _0x19c831=_0x3867fc[_0x14de21];return _0x19c831;},_0x14de(_0x157473,_0x43564c);}import{Plugin as _0x4d0ddb}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1d5a0b}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4d0ddb{[_0x3d1882(0x195)]=[];[_0x3d1882(0x170)]=null;[_0x3d1882(0x180)]=null;[_0x3d1882(0x176)];[_0x3d1882(0x185)];[_0x3d1882(0x1a4)];static get[_0x3d1882(0x188)](){const _0x5474ef=_0x3d1882;return _0x5474ef(0x186);}static get[_0x3d1882(0x193)](){return!0x0;}static get[_0x3d1882(0x1cf)](){return!0x0;}constructor(_0x122781){const _0x2cb3ff=_0x3d1882;super(_0x122781),this[_0x2cb3ff(0x176)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1a7),'getElementKey':()=>_0x2cb3ff(0x179)}),this[_0x2cb3ff(0x185)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1c5),'getElementKey':_0x1af50d=>_0x1af50d[_0x2cb3ff(0x172)](_0x2cb3ff(0x1c9))}),this[_0x2cb3ff(0x1a4)]=new _0x1d5a0b(this[_0x2cb3ff(0x1c8)][_0x2cb3ff(0x178)],{'elementName':_0x2cb3ff(0x1bf),'getElementKey':_0x138845=>_0x138845[_0x2cb3ff(0x172)](_0x2cb3ff(0x1c9))});}[_0x3d1882(0x1b3)](){const _0x56f880=_0x3d1882,{editor:_0x13252a}=this,{model:_0xce54c2,data:_0x77bd8}=_0x13252a;_0xce54c2[_0x56f880(0x194)][_0x56f880(0x17e)](_0xbdb0ca=>{const _0x72c82e=_0x56f880,_0x5d1cbe=_0xce54c2[_0x72c82e(0x194)][_0x72c82e(0x181)][_0x72c82e(0x1a6)]();let _0x5800ad=!0x1;return this[_0x72c82e(0x1ad)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x184)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x18a)](_0xbdb0ca,_0x5d1cbe)&&(_0x5800ad=!0x0),this[_0x72c82e(0x1c6)](_0xbdb0ca)&&(_0x5800ad=!0x0),this[_0x72c82e(0x18d)](_0xbdb0ca)&&(_0x5800ad=!0x0),this[_0x72c82e(0x171)](_0xbdb0ca)&&(_0x5800ad=!0x0),_0x5800ad;}),this[_0x56f880(0x1aa)](_0xce54c2[_0x56f880(0x194)],_0x56f880(0x175),()=>{const _0x7adcca=_0x56f880;_0xce54c2[_0x7adcca(0x19f)]({'isUndoable':!0x1},_0xb06617=>{const _0x22dac0=_0x7adcca;this[_0x22dac0(0x1d4)](_0xb06617);});},{'priority':_0x56f880(0x19c)}),this[_0x56f880(0x1aa)](_0x77bd8,_0x56f880(0x197),()=>{const _0x53a3da=_0x56f880;this[_0x53a3da(0x195)]=[],this[_0x53a3da(0x176)][_0x53a3da(0x177)](),this[_0x53a3da(0x185)][_0x53a3da(0x177)](),this[_0x53a3da(0x1a4)][_0x53a3da(0x177)]();},{'priority':_0x56f880(0x1a9)});}[_0x3d1882(0x1a1)](){const _0xd3df8c=_0x3d1882;return this[_0xd3df8c(0x170)];}[_0x3d1882(0x199)](_0x337df0){const _0x52b150=_0x3d1882;return this[_0x52b150(0x195)][_0x52b150(0x1c7)](_0x597ff2=>_0x597ff2['id']===_0x337df0)||null;}[_0x3d1882(0x1ca)](){const _0x44aa20=_0x3d1882;return Array[_0x44aa20(0x1b0)](this[_0x44aa20(0x195)]);}[_0x3d1882(0x173)](){const _0xd6832d=_0x3d1882;return this[_0xd6832d(0x180)];}[_0x3d1882(0x198)](_0x54c6be){const _0x522f4a=_0x3d1882;this[_0x522f4a(0x180)]=_0x54c6be;}[_0x3d1882(0x196)](_0x3c207a,_0xe7a39e=0x0){const _0x3e65d1=_0x3d1882;let _0x58a086=!0x1;for(let _0x2c1c25=_0xe7a39e;_0x2c1c25<this[_0x3e65d1(0x195)][_0x3e65d1(0x1c0)];_0x2c1c25++)this[_0x3e65d1(0x17d)](_0x3c207a,_0x2c1c25)&&(_0x58a086=!0x0);return _0x58a086;}[_0x3d1882(0x1cc)](_0x37afa6,_0x27e559){const _0x358d30=_0x3d1882,_0x2ddd36=_0x37afa6[_0x358d30(0x189)](_0x358d30(0x1a7),{});return _0x37afa6[_0x358d30(0x18b)](_0x2ddd36,_0x27e559),this[_0x358d30(0x170)]=_0x2ddd36,_0x2ddd36;}[_0x3d1882(0x1d4)](_0x231412){const _0x28b2b8=_0x3d1882;if(!this[_0x28b2b8(0x195)][_0x28b2b8(0x1c0)]||this[_0x28b2b8(0x170)])return;const _0xe94eb9=this[_0x28b2b8(0x195)][0x0][_0x28b2b8(0x17b)][_0x28b2b8(0x17a)],_0x1279b9=this[_0x28b2b8(0x1cc)](_0x231412,_0xe94eb9);for(const _0x2f69a1 of this[_0x28b2b8(0x195)])_0x2f69a1[_0x28b2b8(0x1b9)][_0x28b2b8(0x18f)]||_0x231412[_0x28b2b8(0x1cb)](_0x2f69a1[_0x28b2b8(0x1b9)],_0x1279b9,_0x28b2b8(0x18c));this[_0x28b2b8(0x196)](_0x231412);}[_0x3d1882(0x1ad)](_0x39631a,_0x75e50f){const _0x549dfc=_0x3d1882;let _0x1d42d6=!0x1;const {inserted:_0x1c6209,removed:_0x5cc781,moved:_0x599c10}=this[_0x549dfc(0x176)][_0x549dfc(0x1a6)](_0x75e50f);if(_0x599c10[_0x549dfc(0x1c0)]&&(this[_0x549dfc(0x170)]=_0x599c10[0x0]),_0x1c6209[_0x549dfc(0x1c0)]){if(_0x1c6209[_0x549dfc(0x1c0)]>0x1||this[_0x549dfc(0x170)]&&_0x1c6209[_0x549dfc(0x1a2)](_0x174c31=>_0x174c31!==this[_0x549dfc(0x170)])){const _0x19beb5=_0x39631a[_0x549dfc(0x189)](_0x549dfc(0x1a7),{}),_0x505f1a=[];this[_0x549dfc(0x170)]&&_0x505f1a[_0x549dfc(0x1ab)](this[_0x549dfc(0x170)]),_0x505f1a[_0x549dfc(0x1ab)](..._0x1c6209),_0x39631a[_0x549dfc(0x1cb)](_0x19beb5,_0x505f1a[0x0],_0x549dfc(0x16f));for(const _0x2a50ee of _0x505f1a)_0x39631a[_0x549dfc(0x1b5)](_0x39631a[_0x549dfc(0x1af)](_0x2a50ee),_0x39631a[_0x549dfc(0x19e)](_0x19beb5,_0x549dfc(0x18c))),_0x39631a[_0x549dfc(0x1ae)](_0x2a50ee);this[_0x549dfc(0x170)]=_0x19beb5,this[_0x549dfc(0x196)](_0x39631a),_0x1d42d6=!0x0;}else this[_0x549dfc(0x170)]=_0x1c6209[0x0];}if(_0x5cc781[_0x549dfc(0x1c0)]&&_0x549dfc(0x1ac)===this[_0x549dfc(0x170)]?.[_0x549dfc(0x17a)][_0x549dfc(0x1b2)]){for(const _0x212955 of this[_0x549dfc(0x195)])_0x39631a[_0x549dfc(0x1ae)](_0x212955[_0x549dfc(0x17b)]),_0x1d42d6=!0x0;this[_0x549dfc(0x195)]=[],this[_0x549dfc(0x170)]=null;}return _0x1d42d6;}[_0x3d1882(0x184)](_0x3fd99d,_0xcc8148){const _0x408386=_0x3d1882;let _0x2b4042=!0x1;const _0xac5e09=this[_0x408386(0x1c8)][_0x408386(0x19a)][_0x408386(0x1c1)](_0x408386(0x1ce)),{inserted:_0x25d1a8,moved:_0x2f471e}=this[_0x408386(0x1a4)][_0x408386(0x1a6)](_0xcc8148);for(const _0x4afa01 of[..._0x2f471e,..._0x25d1a8]){const _0x392faa=_0x4afa01[_0x408386(0x172)](_0x408386(0x1c9)),_0x1fd172=this[_0x408386(0x199)](_0x392faa);_0x1fd172&&(_0x1fd172[_0x408386(0x1b9)]=_0x4afa01),_(_0x3fd99d,_0xac5e09,_0x4afa01)&&(_0x2b4042=!0x0);}return _0x2b4042;}[_0x3d1882(0x18a)](_0x14c8a1,_0x1602f6){const _0x36c2f9=_0x3d1882;let _0x25ef6a=!0x1;const {removed:_0x1f2f48,inserted:_0xbb15ca,moved:_0x51d16a}=this[_0x36c2f9(0x185)][_0x36c2f9(0x1a6)](_0x1602f6);for(const _0x3e9177 of _0x1f2f48)this[_0x36c2f9(0x1d2)](_0x14c8a1,_0x3e9177)&&(_0x25ef6a=!0x0);for(const _0x2feac1 of _0xbb15ca)this[_0x36c2f9(0x1a8)](_0x14c8a1,_0x2feac1)&&(_0x25ef6a=!0x0);for(const _0x51964f of _0x51d16a)this[_0x36c2f9(0x19d)](_0x14c8a1,_0x51964f)&&(_0x25ef6a=!0x0);return _0x25ef6a;}[_0x3d1882(0x18d)](_0x4cfbb5){const _0x196814=_0x3d1882;if(!this[_0x196814(0x170)])return!0x1;let _0x497948=!0x1;if(this[_0x196814(0x170)][_0x196814(0x192)]!==this[_0x196814(0x195)][_0x196814(0x1c0)]){const _0x2eacd7=[];for(const _0x1f3ac0 of this[_0x196814(0x170)][_0x196814(0x1d0)]()){const _0x41c8ca=_0x1f3ac0[_0x196814(0x172)](_0x196814(0x1c9));this[_0x196814(0x199)](_0x41c8ca)||(_0x2eacd7[_0x196814(0x1cd)](_0x1f3ac0),_0x497948=!0x0);}for(const _0x4bc675 of _0x2eacd7)_0x4cfbb5[_0x196814(0x1ae)](_0x4bc675);}const _0x17dcab=new Set(),_0x4e8b97=[];for(const _0x107826 of this[_0x196814(0x170)][_0x196814(0x1d0)]()){const _0x2b74b5=_0x107826[_0x196814(0x172)](_0x196814(0x1c9));_0x17dcab[_0x196814(0x1ba)](_0x2b74b5)?(_0x4e8b97[_0x196814(0x1cd)](_0x107826),_0x497948=!0x0):_0x17dcab[_0x196814(0x1b7)](_0x2b74b5);}for(const _0x4b0079 of _0x4e8b97)_0x4cfbb5[_0x196814(0x1ae)](_0x4b0079);return this[_0x196814(0x170)][_0x196814(0x192)]||(_0x4cfbb5[_0x196814(0x1ae)](this[_0x196814(0x170)]),this[_0x196814(0x170)]=null,_0x497948=!0x0),_0x497948;}[_0x3d1882(0x1a8)](_0x3f64f7,_0x1c2929){const _0x21bd92=_0x3d1882;if(this[_0x21bd92(0x195)][_0x21bd92(0x1c7)](_0x295650=>_0x295650[_0x21bd92(0x17b)]===_0x1c2929))return!0x1;let _0x4f71fc=!0x1;const _0x316a37=_0x1c2929[_0x21bd92(0x172)](_0x21bd92(0x1c9)),_0x489621=this[_0x21bd92(0x195)][_0x21bd92(0x1bb)](_0x4e94d5=>_0x4e94d5['id']===_0x316a37);-0x1!==_0x489621&&(_0x3f64f7[_0x21bd92(0x1ae)](this[_0x21bd92(0x195)][_0x489621][_0x21bd92(0x17b)]),this[_0x21bd92(0x195)][_0x21bd92(0x1a3)](_0x489621,0x1),_0x4f71fc=!0x0);let _0x33590e=this[_0x21bd92(0x170)]?function(_0x322677,_0x2ad13f){const _0x6b2ef4=_0x21bd92;for(const _0x27ee3a of _0x322677[_0x6b2ef4(0x1d0)]())if(_0x27ee3a[_0x6b2ef4(0x172)](_0x6b2ef4(0x1c9))===_0x2ad13f)return _0x27ee3a;return null;}(this[_0x21bd92(0x170)],_0x316a37):null;_0x33590e||(_0x33590e=_0x3f64f7[_0x21bd92(0x189)](_0x21bd92(0x1bf),{'footnoteId':_0x316a37}),this[_0x21bd92(0x170)]&&(_0x3f64f7[_0x21bd92(0x1cb)](_0x33590e,this[_0x21bd92(0x170)],_0x21bd92(0x18c)),_0x4f71fc=!0x0));const _0x41c2f5={'id':_0x316a37,'reference':_0x1c2929,'definition':_0x33590e},_0x27c173=I(this[_0x21bd92(0x1c8)][_0x21bd92(0x178)],this[_0x21bd92(0x195)],_0x1c2929);this[_0x21bd92(0x195)][_0x21bd92(0x1a3)](_0x27c173,0x0,_0x41c2f5);let _0x280b8a=_0x27c173;return-0x1!==_0x489621&&(_0x280b8a=Math[_0x21bd92(0x1b8)](_0x27c173,_0x489621)),this[_0x21bd92(0x196)](_0x3f64f7,_0x280b8a)&&(_0x4f71fc=!0x0),_0x4f71fc;}[_0x3d1882(0x1d2)](_0x49b2df,_0x44b5f6){const _0x1a0726=_0x3d1882,_0x17212d=this[_0x1a0726(0x195)][_0x1a0726(0x1bb)](_0x5e7956=>_0x5e7956['id']===_0x44b5f6);if(-0x1===_0x17212d)return!0x1;let _0x58546b=!0x1;const _0x1e240a=this[_0x1a0726(0x195)][_0x17212d];return _0x1a0726(0x1ac)!==_0x1e240a[_0x1a0726(0x1b9)][_0x1a0726(0x17a)][_0x1a0726(0x1b2)]&&(_0x49b2df[_0x1a0726(0x1ae)](_0x1e240a[_0x1a0726(0x1b9)]),_0x58546b=!0x0),this[_0x1a0726(0x195)][_0x1a0726(0x1a3)](_0x17212d,0x1),this[_0x1a0726(0x196)](_0x49b2df,_0x17212d)&&(_0x58546b=!0x0),_0x58546b;}[_0x3d1882(0x19d)](_0x11c2e7,_0x33a5ca){const _0x23f6d1=_0x3d1882,_0x3b8fa4=_0x33a5ca[_0x23f6d1(0x172)](_0x23f6d1(0x1c9)),_0x5809c5=this[_0x23f6d1(0x195)][_0x23f6d1(0x1bb)](_0x164b22=>_0x164b22['id']===_0x3b8fa4),_0x238486=this[_0x23f6d1(0x195)][_0x5809c5];let _0xa89a03=!0x1;_0x238486[_0x23f6d1(0x17b)]=_0x33a5ca,this[_0x23f6d1(0x195)][_0x23f6d1(0x1a3)](_0x5809c5,0x1);const _0x1516bc=I(this[_0x23f6d1(0x1c8)][_0x23f6d1(0x178)],this[_0x23f6d1(0x195)],_0x33a5ca);return this[_0x23f6d1(0x195)][_0x23f6d1(0x1a3)](_0x1516bc,0x0,_0x238486),this[_0x23f6d1(0x196)](_0x11c2e7,Math[_0x23f6d1(0x1b8)](_0x5809c5,_0x1516bc))&&(_0xa89a03=!0x0),_0xa89a03;}[_0x3d1882(0x17d)](_0x2c2d44,_0x448330){const _0x1b7278=_0x3d1882;if(!this[_0x1b7278(0x170)])return!0x1;const _0x15e2e7=this[_0x1b7278(0x195)][_0x448330];let _0x46afd4;return _0x46afd4=this[_0x1b7278(0x180)]?this[_0x1b7278(0x180)]({'footnote':_0x15e2e7,'container':this[_0x1b7278(0x170)],'digits':String(this[_0x1b7278(0x195)][_0x1b7278(0x1c0)])[_0x1b7278(0x1c0)],'value':_0x448330+0x1}):String(_0x448330+0x1),_0x15e2e7[_0x1b7278(0x17b)][_0x1b7278(0x172)](_0x1b7278(0x1b4))!=_0x46afd4&&(_0x2c2d44[_0x1b7278(0x17f)](_0x1b7278(0x1b4),_0x46afd4,_0x15e2e7[_0x1b7278(0x17b)]),!0x0);}[_0x3d1882(0x171)](_0x224161){const _0x292604=_0x3d1882;if(!this[_0x292604(0x170)]||this[_0x292604(0x195)][_0x292604(0x1c0)]<0x2)return!0x1;if(function(_0x9f73e7,_0x1f2260){const _0x24ab9b=_0x292604;if(_0x9f73e7[_0x24ab9b(0x1c0)]!==_0x1f2260[_0x24ab9b(0x1c0)])return!0x1;for(let _0x50021e=0x0;_0x50021e<_0x9f73e7[_0x24ab9b(0x1c0)];_0x50021e++)if(_0x9f73e7[_0x50021e]!==_0x1f2260[_0x50021e])return!0x1;return!0x0;}(this[_0x292604(0x195)][_0x292604(0x1bd)](_0x41411a=>_0x41411a['id']),Array[_0x292604(0x1b0)](this[_0x292604(0x170)][_0x292604(0x1d0)]())[_0x292604(0x1bd)](_0x1542d8=>_0x1542d8[_0x292604(0x172)](_0x292604(0x1c9)))))return!0x1;let _0x25889e=!0x1;for(let _0x43ed6d=0x0;_0x43ed6d<this[_0x292604(0x195)][_0x292604(0x1c0)];_0x43ed6d++){const _0x3db6a5=this[_0x292604(0x195)][_0x43ed6d],_0x1b9768=_0x224161[_0x292604(0x1b6)](_0x3db6a5[_0x292604(0x1b9)]),_0x20a42=_0x224161[_0x292604(0x19e)](this[_0x292604(0x170)],_0x43ed6d);_0x1b9768[_0x292604(0x18e)](_0x20a42)||(_0x224161[_0x292604(0x1b5)](_0x224161[_0x292604(0x187)](_0x3db6a5[_0x292604(0x1b9)]),_0x20a42),_0x25889e=!0x0);}return _0x25889e;}[_0x3d1882(0x1c6)](_0xc4c17e){const _0x477adf=_0x3d1882;if(!this[_0x477adf(0x195)][_0x477adf(0x1c0)])return!0x1;const {model:_0x23fdd0}=this[_0x477adf(0x1c8)];let _0x58aa43=!0x1;for(let _0x2e2d4a=0x0;_0x2e2d4a<this[_0x477adf(0x195)][_0x477adf(0x1c0)]-0x1;_0x2e2d4a++){const _0x2d9eea=this[_0x477adf(0x195)][_0x2e2d4a],_0x3d431b=this[_0x477adf(0x195)][_0x2e2d4a+0x1],_0x304aed=_0x23fdd0[_0x477adf(0x1b6)](_0x2d9eea[_0x477adf(0x17b)]),_0x2fe170=_0x23fdd0[_0x477adf(0x1b6)](_0x3d431b[_0x477adf(0x17b)]);_0x477adf(0x1c2)===_0x304aed[_0x477adf(0x174)](_0x2fe170)&&(this[_0x477adf(0x19d)](_0xc4c17e,_0x2d9eea[_0x477adf(0x17b)]),_0x2e2d4a=-0x1,_0x58aa43=!0x0);}return _0x58aa43;}}function _(_0x34e5ca,_0x37f76e,_0x193634){const _0x4339c9=_0x3d1882;if(_0x193634[_0x4339c9(0x192)])return!0x1;const _0x4ecea7=_0x37f76e?_0x4339c9(0x1d3):_0x4339c9(0x1be);return _0x34e5ca[_0x4339c9(0x1cb)](_0x34e5ca[_0x4339c9(0x189)](_0x4ecea7),_0x193634),!0x0;}function I(_0x5c417c,_0x15c7c1,_0x29513a){const _0xab981a=_0x3d1882;if(0x0===_0x15c7c1[_0xab981a(0x1c0)])return 0x0;const _0x1e5596=_0x5c417c[_0xab981a(0x1b6)](_0x29513a);for(let _0x26f47c=0x0;_0x26f47c<_0x15c7c1[_0xab981a(0x1c0)];_0x26f47c++){const _0x4e421c=_0x15c7c1[_0x26f47c],_0x3c10f8=_0x5c417c[_0xab981a(0x1b6)](_0x4e421c[_0xab981a(0x17b)]);if(_0xab981a(0x16f)===_0x1e5596[_0xab981a(0x174)](_0x3c10f8))return _0x26f47c;}const _0x42aac1=_0x29513a[_0xab981a(0x17a)];let _0x36b229=-0x1;for(let _0x269be7=_0x15c7c1[_0xab981a(0x1c0)]-0x1;_0x269be7>=0x0;_0x269be7--)if(_0x15c7c1[_0x269be7][_0xab981a(0x17b)][_0xab981a(0x17a)]===_0x42aac1){_0x36b229=_0x269be7;break;}if(-0x1!==_0x36b229)return _0x36b229+0x1;const _0x42bb8c=_0x5c417c[_0xab981a(0x194)][_0xab981a(0x17c)](),_0x1bcee3=_0x42bb8c[_0xab981a(0x190)](_0x42aac1[_0xab981a(0x1b2)]),_0x304e52=_0x42bb8c[_0x1bcee3+0x1];if(_0x304e52){for(let _0x1cb34e=0x0;_0x1cb34e<_0x15c7c1[_0xab981a(0x1c0)];_0x1cb34e++)if(_0x15c7c1[_0x1cb34e][_0xab981a(0x17b)][_0xab981a(0x17a)][_0xab981a(0x1b2)]===_0x304e52)return _0x1cb34e;}return _0x15c7c1[_0xab981a(0x1c0)];}function _0x3867(){const _0x4ca3cb=['childCount','isOfficialPlugin','document','_footnotes','_updateFootnotesCounters','set','setFootnoteFormatter','getFootnote','config','6224luknnR','low','_handleMovedFootnoteReference','createPositionAt','enqueueChange','362230ZAXlQE','getFootnotesDefinitionsObjectElement','some','splice','_footnoteDefsTracker','10YcWWqb','getChanges','footnotesDefinitions','_handleInsertedFootnoteReference','high','listenTo','push','$graveyard','_handleFootnotesDefinitionsObjectChanges','remove','createRangeIn','from','260575PkYLUh','rootName','init','footnoteCounter','move','createPositionBefore','add','min','definition','has','findIndex','4596768hAMoZE','map','footnoteInlineContent','footnoteDefinition','length','get','after','919758FLUtpt','36VSqXHt','footnoteRef','_ensureFootnotesReferencesHaveProperOrder','find','editor','footnoteId','getFootnotes','insert','_insertEmptyFootnotesDefinitionsContainer','unshift','footnotes.multiBlock','isPremiumPlugin','getChildren','6145020UpKWZc','_handleRemoveFootnoteReferenceById','paragraph','_ensureFootnotesDefinitionsContainerExists','before','_footnotesDefinitions','_sortFootnoteDefinitions','getAttribute','getFootnotesFormatter','compareWith','change:data','_footnoteDefsContainerTracker','reset','model','singleton','root','reference','getRootNames','_updateFootnoteRefCounter','registerPostFixer','setAttribute','_footnoteFormatter','differ','1200uYHJLr','263282fjWrQB','_handleFootnoteDefinitionsChanges','_footnoteRefsTracker','FootnotesTracker','createRangeOn','pluginName','createElement','_handleFootnoteReferencesChanges','append','end','_handleFootnotesDefinitionsObjectSync','isEqual','parent','indexOf','1kwnpFD'];_0x3867=function(){return _0x4ca3cb;};return _0x3867();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2e2b41,MenuBarMenuListItemButtonView as _0x29ae13}from'ckeditor5/src/ui.js';import{Plugin as _0x1ad2f2}from'ckeditor5/src/core.js';import{IconFootnote as _0xeee26b}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1ad2f2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xff012f}=this,{componentFactory:_0x3833be}=_0xff012f['ui'];_0x3833be['add']('insertFootnote',x(_0xff012f,_0x2e2b41)),_0x3833be['add']('menuBar:insertFootnote',x(_0xff012f,_0x29ae13)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d451d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc6587b;for(const _0x2c7822 in _0x4d451d){const _0x46874b=_0x2c7822,_0x569100=_0x4d451d[_0x46874b];if('footnotesLicenseKeyValid'==_0x569100||'footnotesLicenseKeyInvalid'==_0x569100||'footnotesLicenseKeyExpired'==_0x569100||'footnotesLicenseKeyDomainLimit'==_0x569100||'footnotesLicenseKeyNotAllowed'==_0x569100||'footnotesLicenseKeyEvaluationLimit'==_0x569100||'footnotesLicenseKeyTrialLimit'==_0x569100||'footnotesLicenseKeyUsageLimit'==_0x569100){delete _0x4d451d[_0x46874b],_0xc6587b=_0x569100,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xc6587b&&_0x4d451d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xc6587b&&_0x4d451d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xc6587b&&_0x4d451d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5e3030,_0x864cec){const _0x329a3b=_0x5e3030['commands']['get']('insertFootnote');return _0x20a305=>{const {t:t}=_0x20a305,_0x56c9bc=new _0x864cec(_0x20a305),_0x1a8a76=_0x56c9bc instanceof _0x29ae13;return _0x56c9bc['bind']('isEnabled')['to'](_0x329a3b,'isEnabled'),_0x56c9bc['set']({'label':t(_0x1a8a76?'Footnote':'Insert\x20footnote'),'icon':_0xeee26b,'tooltip':!0x0}),_0x56c9bc['on']('execute',()=>{_0x329a3b['execute'](),_0x5e3030['editing']['view']['focus']();}),_0x56c9bc;};}
23
+ import{ButtonView as _0x494d42,MenuBarMenuListItemButtonView as _0x17306e}from'ckeditor5/src/ui.js';import{Plugin as _0x3af3b7}from'ckeditor5/src/core.js';import{IconFootnote as _0x435af9}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3af3b7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ee19d}=this,{componentFactory:_0x4f3d78}=_0x4ee19d['ui'];_0x4f3d78['add']('insertFootnote',x(_0x4ee19d,_0x494d42)),_0x4f3d78['add']('menuBar:insertFootnote',x(_0x4ee19d,_0x17306e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x59d401=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x279dfd;for(const _0x11ffe3 in _0x59d401){const _0x253292=_0x11ffe3,_0x53cbb7=_0x59d401[_0x253292];if('footnotesLicenseKeyValid'==_0x53cbb7||'footnotesLicenseKeyInvalid'==_0x53cbb7||'footnotesLicenseKeyExpired'==_0x53cbb7||'footnotesLicenseKeyDomainLimit'==_0x53cbb7||'footnotesLicenseKeyNotAllowed'==_0x53cbb7||'footnotesLicenseKeyEvaluationLimit'==_0x53cbb7||'footnotesLicenseKeyTrialLimit'==_0x53cbb7||'footnotesLicenseKeyUsageLimit'==_0x53cbb7){delete _0x59d401[_0x253292],_0x279dfd=_0x53cbb7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x279dfd&&_0x59d401['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x279dfd&&_0x59d401['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x279dfd&&_0x59d401['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x279dfd&&_0x59d401['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5d61cc,_0x4cf002){const _0x851d13=_0x5d61cc['commands']['get']('insertFootnote');return _0x599cf8=>{const {t:t}=_0x599cf8,_0x39cde0=new _0x4cf002(_0x599cf8),_0x149912=_0x39cde0 instanceof _0x17306e;return _0x39cde0['bind']('isEnabled')['to'](_0x851d13,'isEnabled'),_0x39cde0['set']({'label':t(_0x149912?'Footnote':'Insert\x20footnote'),'icon':_0x435af9,'tooltip':!0x0}),_0x39cde0['on']('execute',()=>{_0x851d13['execute'](),_0x5d61cc['editing']['view']['focus']();}),_0x39cde0;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x428442,_0x3f023d){var _0x1404e9=_0x2a3d,_0x2fe20a=_0x428442();while(!![]){try{var _0x1b974e=parseInt(_0x1404e9(0x80))/0x1+-parseInt(_0x1404e9(0x85))/0x2*(-parseInt(_0x1404e9(0x7a))/0x3)+parseInt(_0x1404e9(0x7e))/0x4+parseInt(_0x1404e9(0x82))/0x5*(parseInt(_0x1404e9(0x84))/0x6)+parseInt(_0x1404e9(0x81))/0x7*(-parseInt(_0x1404e9(0x83))/0x8)+parseInt(_0x1404e9(0x7c))/0x9*(parseInt(_0x1404e9(0x7d))/0xa)+parseInt(_0x1404e9(0x7f))/0xb*(-parseInt(_0x1404e9(0x7b))/0xc);if(_0x1b974e===_0x3f023d)break;else _0x2fe20a['push'](_0x2fe20a['shift']());}catch(_0xa05812){_0x2fe20a['push'](_0x2fe20a['shift']());}}}(_0x5f21,0x7912b));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x2a3d(_0x537999,_0x35b433){var _0x5f2154=_0x5f21();return _0x2a3d=function(_0x2a3d04,_0x4cb55d){_0x2a3d04=_0x2a3d04-0x7a;var _0x3e3fdb=_0x5f2154[_0x2a3d04];return _0x3e3fdb;},_0x2a3d(_0x537999,_0x35b433);}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x5f21(){var _0x23dbaa=['40ysuEGc','6ZPcMLK','599384EYNdtL','6hxVpkP','11100kJzrpm','9SYbaRI','280510VgKRwE','3866048pPqYKR','30206iPIeup','991341VLptqz','363650yVjgdX','3552135CgyCMt'];_0x5f21=function(){return _0x23dbaa;};return _0x5f21();}
23
+ (function(_0x96f1c6,_0x4bc45c){var _0xe33008=_0x4ad4,_0xc6ab4c=_0x96f1c6();while(!![]){try{var _0x3a761d=-parseInt(_0xe33008(0x1aa))/0x1+-parseInt(_0xe33008(0x1a5))/0x2+parseInt(_0xe33008(0x1ac))/0x3+-parseInt(_0xe33008(0x1a8))/0x4+parseInt(_0xe33008(0x1a9))/0x5+-parseInt(_0xe33008(0x1a6))/0x6*(-parseInt(_0xe33008(0x1a7))/0x7)+-parseInt(_0xe33008(0x1a4))/0x8*(parseInt(_0xe33008(0x1ab))/0x9);if(_0x3a761d===_0x4bc45c)break;else _0xc6ab4c['push'](_0xc6ab4c['shift']());}catch(_0x4db734){_0xc6ab4c['push'](_0xc6ab4c['shift']());}}}(_0x5609,0xf2aec));import'./augmentation.js';function _0x5609(){var _0x228c90=['8081896BInhVw','1869312mYmsMw','6pTSNLp','12176213UuTPHk','6714936FtBBSR','8624240VYNDoj','189509WwffNw','9efNoVq','4028571mWcZfl'];_0x5609=function(){return _0x228c90;};return _0x5609();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x4ad4(_0x40ccec,_0x26e18){var _0x560909=_0x5609();return _0x4ad4=function(_0x4ad46b,_0x2244e7){_0x4ad46b=_0x4ad46b-0x1a4;var _0x1ebf35=_0x560909[_0x4ad46b];return _0x1ebf35;},_0x4ad4(_0x40ccec,_0x26e18);}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 _0x4ba7c6=_0x4804;function _0x118a(){const _0x15815f=['$text','558573ZVQJVJ','has','4639590Ddmnzb','from','reset','_model','flat','remove','7386yHavnz','10uKkJqK','type','_trackedElements','push','767522uMIPrW','$graveyard','1465ozprox','createRangeOn','add','_elementName','getElementKey','slice','set','39XwjnvB','rootName','insert','getItems','_getElementKey','8rAOsFW','elementName','length','delete','root','9XVldGd','1419sRuvhZ','values','name','50057HMrrrO','nodeAfter','element','14424wZkXpX','8QOstxy','attributes','clear','get','2407748NZlpiX','position','getChanges'];_0x118a=function(){return _0x15815f;};return _0x118a();}function _0x4804(_0x4af518,_0xb99303){const _0x118a58=_0x118a();return _0x4804=function(_0x480453,_0xfd1a6b){_0x480453=_0x480453-0x11f;let _0x41ff65=_0x118a58[_0x480453];return _0x41ff65;},_0x4804(_0x4af518,_0xb99303);}(function(_0x5b1d3b,_0x463229){const _0x10b077=_0x4804,_0x50f471=_0x5b1d3b();while(!![]){try{const _0x5d9caa=parseInt(_0x10b077(0x147))/0x1*(parseInt(_0x10b077(0x12c))/0x2)+-parseInt(_0x10b077(0x123))/0x3*(parseInt(_0x10b077(0x13e))/0x4)+-parseInt(_0x10b077(0x132))/0x5*(-parseInt(_0x10b077(0x12b))/0x6)+-parseInt(_0x10b077(0x130))/0x7*(parseInt(_0x10b077(0x14b))/0x8)+-parseInt(_0x10b077(0x143))/0x9*(parseInt(_0x10b077(0x125))/0xa)+-parseInt(_0x10b077(0x144))/0xb*(-parseInt(_0x10b077(0x14a))/0xc)+-parseInt(_0x10b077(0x139))/0xd*(-parseInt(_0x10b077(0x11f))/0xe);if(_0x5d9caa===_0x463229)break;else _0x50f471['push'](_0x50f471['shift']());}catch(_0x2b7606){_0x50f471['push'](_0x50f471['shift']());}}}(_0x118a,0x52071));export class ModelElementTracker{[_0x4ba7c6(0x128)];[_0x4ba7c6(0x135)];[_0x4ba7c6(0x13d)];[_0x4ba7c6(0x12e)]=new Map();constructor(_0x324829,_0x1fab59){const _0x3fb1ca=_0x4ba7c6;this[_0x3fb1ca(0x128)]=_0x324829,this[_0x3fb1ca(0x135)]=_0x1fab59[_0x3fb1ca(0x13f)],this[_0x3fb1ca(0x13d)]=_0x1fab59[_0x3fb1ca(0x136)];}[_0x4ba7c6(0x127)](){const _0x893360=_0x4ba7c6;this[_0x893360(0x12e)][_0x893360(0x14d)]();}[_0x4ba7c6(0x121)](_0x43a0d1){const _0x3291ec=_0x4ba7c6,_0x30e932=new Set(),_0x80eaee=new Map();for(const _0x2e6cdc of _0x43a0d1){if(_0x3291ec(0x13b)===_0x2e6cdc[_0x3291ec(0x12d)]&&_0x3291ec(0x122)!==_0x2e6cdc[_0x3291ec(0x146)]&&_0x2e6cdc[_0x3291ec(0x120)][_0x3291ec(0x148)]){const _0x496c49=this[_0x3291ec(0x128)][_0x3291ec(0x133)](_0x2e6cdc[_0x3291ec(0x120)][_0x3291ec(0x148)]);for(const _0x49cbaa of _0x496c49[_0x3291ec(0x13c)]()){if(!_0x49cbaa['is'](_0x3291ec(0x149),this[_0x3291ec(0x135)]))continue;const _0x365aca=this[_0x3291ec(0x13d)](_0x49cbaa);_0x80eaee[_0x3291ec(0x124)](_0x365aca)||_0x80eaee[_0x3291ec(0x138)](_0x365aca,[]),_0x80eaee[_0x3291ec(0x14e)](_0x365aca)[_0x3291ec(0x12f)](_0x49cbaa);}}if(_0x3291ec(0x12a)===_0x2e6cdc[_0x3291ec(0x12d)]&&_0x2e6cdc[_0x3291ec(0x146)]===this[_0x3291ec(0x135)]){const _0x52dac5=this[_0x3291ec(0x13d)]({'getAttribute':_0x23aafb=>_0x2e6cdc[_0x3291ec(0x14c)][_0x3291ec(0x14e)](_0x23aafb)});_0x30e932[_0x3291ec(0x134)](_0x52dac5);}}for(const [_0x2e2321,_0x137b2a]of this[_0x3291ec(0x12e)])_0x3291ec(0x131)===_0x137b2a[_0x3291ec(0x142)][_0x3291ec(0x13a)]&&_0x30e932[_0x3291ec(0x134)](_0x2e2321);for(const _0x3d582a of _0x30e932)this[_0x3291ec(0x12e)][_0x3291ec(0x141)](_0x3d582a);for(const [_0x446bfb,_0x1646f1]of _0x80eaee)this[_0x3291ec(0x12e)][_0x3291ec(0x138)](_0x446bfb,_0x1646f1[_0x1646f1[_0x3291ec(0x140)]-0x1]);const _0x1f0100=new Set();for(const [_0x20d756,_0x11228b]of _0x80eaee)_0x30e932[_0x3291ec(0x124)](_0x20d756)&&(_0x1f0100[_0x3291ec(0x134)](_0x11228b[0x0]),_0x11228b[_0x3291ec(0x140)]>0x1?_0x80eaee[_0x3291ec(0x138)](_0x20d756,_0x11228b[_0x3291ec(0x137)](0x1)):_0x80eaee[_0x3291ec(0x141)](_0x20d756),_0x30e932[_0x3291ec(0x141)](_0x20d756));return{'removed':Array[_0x3291ec(0x126)](_0x30e932),'inserted':Array[_0x3291ec(0x126)](_0x80eaee[_0x3291ec(0x145)]())[_0x3291ec(0x129)](),'moved':Array[_0x3291ec(0x126)](_0x1f0100)};}}
23
+ const _0x201cba=_0x51a4;(function(_0x22ff52,_0x7578c8){const _0x4c85c4=_0x51a4,_0x28aa17=_0x22ff52();while(!![]){try{const _0x4fdee8=-parseInt(_0x4c85c4(0x1fb))/0x1*(-parseInt(_0x4c85c4(0x1ff))/0x2)+parseInt(_0x4c85c4(0x1ef))/0x3+-parseInt(_0x4c85c4(0x1d8))/0x4+-parseInt(_0x4c85c4(0x1f5))/0x5*(-parseInt(_0x4c85c4(0x1e8))/0x6)+-parseInt(_0x4c85c4(0x1f6))/0x7*(-parseInt(_0x4c85c4(0x1e1))/0x8)+parseInt(_0x4c85c4(0x1f9))/0x9*(-parseInt(_0x4c85c4(0x1f0))/0xa)+parseInt(_0x4c85c4(0x1df))/0xb*(-parseInt(_0x4c85c4(0x1f1))/0xc);if(_0x4fdee8===_0x7578c8)break;else _0x28aa17['push'](_0x28aa17['shift']());}catch(_0x5ccb16){_0x28aa17['push'](_0x28aa17['shift']());}}}(_0x5361,0x2a72a));export class ModelElementTracker{[_0x201cba(0x1db)];[_0x201cba(0x1fa)];[_0x201cba(0x1e0)];[_0x201cba(0x1e3)]=new Map();constructor(_0xa9566c,_0x23cb73){const _0x5a627c=_0x201cba;this[_0x5a627c(0x1db)]=_0xa9566c,this[_0x5a627c(0x1fa)]=_0x23cb73[_0x5a627c(0x1fc)],this[_0x5a627c(0x1e0)]=_0x23cb73[_0x5a627c(0x1eb)];}[_0x201cba(0x1ee)](){const _0x10a938=_0x201cba;this[_0x10a938(0x1e3)][_0x10a938(0x1fd)]();}[_0x201cba(0x1f3)](_0x39634d){const _0x33aa96=_0x201cba,_0x4a0fba=new Set(),_0x9dec4=new Map();for(const _0x38ae43 of _0x39634d){if(_0x33aa96(0x1d9)===_0x38ae43[_0x33aa96(0x1e9)]&&_0x33aa96(0x1d6)!==_0x38ae43[_0x33aa96(0x1fe)]&&_0x38ae43[_0x33aa96(0x1ec)][_0x33aa96(0x1e2)]){const _0x1b97a8=this[_0x33aa96(0x1db)][_0x33aa96(0x1da)](_0x38ae43[_0x33aa96(0x1ec)][_0x33aa96(0x1e2)]);for(const _0x30b37d of _0x1b97a8[_0x33aa96(0x1f2)]()){if(!_0x30b37d['is'](_0x33aa96(0x1f8),this[_0x33aa96(0x1fa)]))continue;const _0x41e0ea=this[_0x33aa96(0x1e0)](_0x30b37d);_0x9dec4[_0x33aa96(0x1f7)](_0x41e0ea)||_0x9dec4[_0x33aa96(0x1d4)](_0x41e0ea,[]),_0x9dec4[_0x33aa96(0x1e7)](_0x41e0ea)[_0x33aa96(0x1d2)](_0x30b37d);}}if(_0x33aa96(0x1dc)===_0x38ae43[_0x33aa96(0x1e9)]&&_0x38ae43[_0x33aa96(0x1fe)]===this[_0x33aa96(0x1fa)]){const _0x525445=this[_0x33aa96(0x1e0)]({'getAttribute':_0x47fc54=>_0x38ae43[_0x33aa96(0x1ea)][_0x33aa96(0x1e7)](_0x47fc54)});_0x4a0fba[_0x33aa96(0x1ed)](_0x525445);}}for(const [_0x1372ac,_0x19a0a2]of this[_0x33aa96(0x1e3)])_0x33aa96(0x1e5)===_0x19a0a2[_0x33aa96(0x1d3)][_0x33aa96(0x1d5)]&&_0x4a0fba[_0x33aa96(0x1ed)](_0x1372ac);for(const _0x491dda of _0x4a0fba)this[_0x33aa96(0x1e3)][_0x33aa96(0x1de)](_0x491dda);for(const [_0xbdf38b,_0x5cdbe8]of _0x9dec4)this[_0x33aa96(0x1e3)][_0x33aa96(0x1d4)](_0xbdf38b,_0x5cdbe8[_0x5cdbe8[_0x33aa96(0x1f4)]-0x1]);const _0x47ceee=new Set();for(const [_0xf8f02d,_0x291f68]of _0x9dec4)_0x4a0fba[_0x33aa96(0x1f7)](_0xf8f02d)&&(_0x47ceee[_0x33aa96(0x1ed)](_0x291f68[0x0]),_0x291f68[_0x33aa96(0x1f4)]>0x1?_0x9dec4[_0x33aa96(0x1d4)](_0xf8f02d,_0x291f68[_0x33aa96(0x1dd)](0x1)):_0x9dec4[_0x33aa96(0x1de)](_0xf8f02d),_0x4a0fba[_0x33aa96(0x1de)](_0xf8f02d));return{'removed':Array[_0x33aa96(0x1e4)](_0x4a0fba),'inserted':Array[_0x33aa96(0x1e4)](_0x9dec4[_0x33aa96(0x1e6)]())[_0x33aa96(0x1d7)](),'moved':Array[_0x33aa96(0x1e4)](_0x47ceee)};}}function _0x51a4(_0x1e15eb,_0x3f93dc){const _0x536130=_0x5361();return _0x51a4=function(_0x51a412,_0x348286){_0x51a412=_0x51a412-0x1d2;let _0x153c40=_0x536130[_0x51a412];return _0x153c40;},_0x51a4(_0x1e15eb,_0x3f93dc);}function _0x5361(){const _0x1aaefe=['nodeAfter','_trackedElements','from','$graveyard','values','get','42ftXvyU','type','attributes','getElementKey','position','add','reset','245118tYeiIg','22150hQXfME','12hxuvIY','getItems','getChanges','length','200095QyFqtq','7lGmIbL','has','element','729Ucyzoq','_elementName','2QqecYg','elementName','clear','name','44092pBUZiA','push','root','set','rootName','$text','flat','833288nrZDUc','insert','createRangeOn','_model','remove','slice','delete','1063161EUhKkB','_getElementKey','2018584SUJEVS'];_0x5361=function(){return _0x1aaefe;};return _0x5361();}