@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251104.0 → 0.0.0-nightly-20251106.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 (385) hide show
  1. package/build/footnotes.js +2 -1
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ar.js +1 -0
  4. package/build/translations/ast.js +1 -0
  5. package/build/translations/az.js +1 -0
  6. package/build/translations/be.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/bs.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/hy.js +1 -0
  33. package/build/translations/id.js +1 -0
  34. package/build/translations/it.js +1 -0
  35. package/build/translations/ja.js +1 -0
  36. package/build/translations/jv.js +1 -0
  37. package/build/translations/kk.js +1 -0
  38. package/build/translations/km.js +1 -0
  39. package/build/translations/kn.js +1 -0
  40. package/build/translations/ko.js +1 -0
  41. package/build/translations/ku.js +1 -0
  42. package/build/translations/lt.js +1 -0
  43. package/build/translations/lv.js +1 -0
  44. package/build/translations/ms.js +1 -0
  45. package/build/translations/nb.js +1 -0
  46. package/build/translations/ne.js +1 -0
  47. package/build/translations/nl.js +1 -0
  48. package/build/translations/no.js +1 -0
  49. package/build/translations/oc.js +1 -0
  50. package/build/translations/pl.js +1 -0
  51. package/build/translations/pt-br.js +1 -0
  52. package/build/translations/pt.js +1 -0
  53. package/build/translations/ro.js +1 -0
  54. package/build/translations/ru.js +1 -0
  55. package/build/translations/si.js +1 -0
  56. package/build/translations/sk.js +1 -0
  57. package/build/translations/sl.js +1 -0
  58. package/build/translations/sq.js +1 -0
  59. package/build/translations/sr-latn.js +1 -0
  60. package/build/translations/sr.js +1 -0
  61. package/build/translations/sv.js +1 -0
  62. package/build/translations/th.js +1 -0
  63. package/build/translations/ti.js +1 -0
  64. package/build/translations/tk.js +1 -0
  65. package/build/translations/tr.js +1 -0
  66. package/build/translations/tt.js +1 -0
  67. package/build/translations/ug.js +1 -0
  68. package/build/translations/uk.js +1 -0
  69. package/build/translations/ur.js +1 -0
  70. package/build/translations/uz.js +1 -0
  71. package/build/translations/vi.js +1 -0
  72. package/build/translations/zh-cn.js +1 -0
  73. package/build/translations/zh.js +1 -0
  74. package/dist/index-content.css +0 -12
  75. package/dist/index.css +6 -12
  76. package/dist/index.js +1 -1
  77. package/dist/translations/af.d.ts +8 -0
  78. package/dist/translations/af.js +23 -0
  79. package/dist/translations/af.umd.js +23 -0
  80. package/dist/translations/ar.d.ts +8 -0
  81. package/dist/translations/ar.js +23 -0
  82. package/dist/translations/ar.umd.js +23 -0
  83. package/dist/translations/ast.d.ts +8 -0
  84. package/dist/translations/ast.js +23 -0
  85. package/dist/translations/ast.umd.js +23 -0
  86. package/dist/translations/az.d.ts +8 -0
  87. package/dist/translations/az.js +23 -0
  88. package/dist/translations/az.umd.js +23 -0
  89. package/dist/translations/be.d.ts +8 -0
  90. package/dist/translations/be.js +23 -0
  91. package/dist/translations/be.umd.js +23 -0
  92. package/dist/translations/bg.d.ts +8 -0
  93. package/dist/translations/bg.js +23 -0
  94. package/dist/translations/bg.umd.js +23 -0
  95. package/dist/translations/bn.d.ts +8 -0
  96. package/dist/translations/bn.js +23 -0
  97. package/dist/translations/bn.umd.js +23 -0
  98. package/dist/translations/bs.d.ts +8 -0
  99. package/dist/translations/bs.js +23 -0
  100. package/dist/translations/bs.umd.js +23 -0
  101. package/dist/translations/ca.d.ts +8 -0
  102. package/dist/translations/ca.js +23 -0
  103. package/dist/translations/ca.umd.js +23 -0
  104. package/dist/translations/cs.d.ts +8 -0
  105. package/dist/translations/cs.js +23 -0
  106. package/dist/translations/cs.umd.js +23 -0
  107. package/dist/translations/da.d.ts +8 -0
  108. package/dist/translations/da.js +23 -0
  109. package/dist/translations/da.umd.js +23 -0
  110. package/dist/translations/de-ch.d.ts +8 -0
  111. package/dist/translations/de-ch.js +23 -0
  112. package/dist/translations/de-ch.umd.js +23 -0
  113. package/dist/translations/de.d.ts +8 -0
  114. package/dist/translations/de.js +23 -0
  115. package/dist/translations/de.umd.js +23 -0
  116. package/dist/translations/el.d.ts +8 -0
  117. package/dist/translations/el.js +23 -0
  118. package/dist/translations/el.umd.js +23 -0
  119. package/dist/translations/en-au.d.ts +8 -0
  120. package/dist/translations/en-au.js +23 -0
  121. package/dist/translations/en-au.umd.js +23 -0
  122. package/dist/translations/en-gb.d.ts +8 -0
  123. package/dist/translations/en-gb.js +23 -0
  124. package/dist/translations/en-gb.umd.js +23 -0
  125. package/dist/translations/en.d.ts +8 -0
  126. package/dist/translations/en.js +23 -0
  127. package/dist/translations/en.umd.js +23 -0
  128. package/dist/translations/eo.d.ts +8 -0
  129. package/dist/translations/eo.js +23 -0
  130. package/dist/translations/eo.umd.js +23 -0
  131. package/dist/translations/es-co.d.ts +8 -0
  132. package/dist/translations/es-co.js +23 -0
  133. package/dist/translations/es-co.umd.js +23 -0
  134. package/dist/translations/es.d.ts +8 -0
  135. package/dist/translations/es.js +23 -0
  136. package/dist/translations/es.umd.js +23 -0
  137. package/dist/translations/et.d.ts +8 -0
  138. package/dist/translations/et.js +23 -0
  139. package/dist/translations/et.umd.js +23 -0
  140. package/dist/translations/eu.d.ts +8 -0
  141. package/dist/translations/eu.js +23 -0
  142. package/dist/translations/eu.umd.js +23 -0
  143. package/dist/translations/fa.d.ts +8 -0
  144. package/dist/translations/fa.js +23 -0
  145. package/dist/translations/fa.umd.js +23 -0
  146. package/dist/translations/fi.d.ts +8 -0
  147. package/dist/translations/fi.js +23 -0
  148. package/dist/translations/fi.umd.js +23 -0
  149. package/dist/translations/fr.d.ts +8 -0
  150. package/dist/translations/fr.js +23 -0
  151. package/dist/translations/fr.umd.js +23 -0
  152. package/dist/translations/gl.d.ts +8 -0
  153. package/dist/translations/gl.js +23 -0
  154. package/dist/translations/gl.umd.js +23 -0
  155. package/dist/translations/gu.d.ts +8 -0
  156. package/dist/translations/gu.js +23 -0
  157. package/dist/translations/gu.umd.js +23 -0
  158. package/dist/translations/he.d.ts +8 -0
  159. package/dist/translations/he.js +23 -0
  160. package/dist/translations/he.umd.js +23 -0
  161. package/dist/translations/hi.d.ts +8 -0
  162. package/dist/translations/hi.js +23 -0
  163. package/dist/translations/hi.umd.js +23 -0
  164. package/dist/translations/hr.d.ts +8 -0
  165. package/dist/translations/hr.js +23 -0
  166. package/dist/translations/hr.umd.js +23 -0
  167. package/dist/translations/hu.d.ts +8 -0
  168. package/dist/translations/hu.js +23 -0
  169. package/dist/translations/hu.umd.js +23 -0
  170. package/dist/translations/hy.d.ts +8 -0
  171. package/dist/translations/hy.js +23 -0
  172. package/dist/translations/hy.umd.js +23 -0
  173. package/dist/translations/id.d.ts +8 -0
  174. package/dist/translations/id.js +23 -0
  175. package/dist/translations/id.umd.js +23 -0
  176. package/dist/translations/it.d.ts +8 -0
  177. package/dist/translations/it.js +23 -0
  178. package/dist/translations/it.umd.js +23 -0
  179. package/dist/translations/ja.d.ts +8 -0
  180. package/dist/translations/ja.js +23 -0
  181. package/dist/translations/ja.umd.js +23 -0
  182. package/dist/translations/jv.d.ts +8 -0
  183. package/dist/translations/jv.js +23 -0
  184. package/dist/translations/jv.umd.js +23 -0
  185. package/dist/translations/kk.d.ts +8 -0
  186. package/dist/translations/kk.js +23 -0
  187. package/dist/translations/kk.umd.js +23 -0
  188. package/dist/translations/km.d.ts +8 -0
  189. package/dist/translations/km.js +23 -0
  190. package/dist/translations/km.umd.js +23 -0
  191. package/dist/translations/kn.d.ts +8 -0
  192. package/dist/translations/kn.js +23 -0
  193. package/dist/translations/kn.umd.js +23 -0
  194. package/dist/translations/ko.d.ts +8 -0
  195. package/dist/translations/ko.js +23 -0
  196. package/dist/translations/ko.umd.js +23 -0
  197. package/dist/translations/ku.d.ts +8 -0
  198. package/dist/translations/ku.js +23 -0
  199. package/dist/translations/ku.umd.js +23 -0
  200. package/dist/translations/lt.d.ts +8 -0
  201. package/dist/translations/lt.js +23 -0
  202. package/dist/translations/lt.umd.js +23 -0
  203. package/dist/translations/lv.d.ts +8 -0
  204. package/dist/translations/lv.js +23 -0
  205. package/dist/translations/lv.umd.js +23 -0
  206. package/dist/translations/ms.d.ts +8 -0
  207. package/dist/translations/ms.js +23 -0
  208. package/dist/translations/ms.umd.js +23 -0
  209. package/dist/translations/nb.d.ts +8 -0
  210. package/dist/translations/nb.js +23 -0
  211. package/dist/translations/nb.umd.js +23 -0
  212. package/dist/translations/ne.d.ts +8 -0
  213. package/dist/translations/ne.js +23 -0
  214. package/dist/translations/ne.umd.js +23 -0
  215. package/dist/translations/nl.d.ts +8 -0
  216. package/dist/translations/nl.js +23 -0
  217. package/dist/translations/nl.umd.js +23 -0
  218. package/dist/translations/no.d.ts +8 -0
  219. package/dist/translations/no.js +23 -0
  220. package/dist/translations/no.umd.js +23 -0
  221. package/dist/translations/oc.d.ts +8 -0
  222. package/dist/translations/oc.js +23 -0
  223. package/dist/translations/oc.umd.js +23 -0
  224. package/dist/translations/pl.d.ts +8 -0
  225. package/dist/translations/pl.js +23 -0
  226. package/dist/translations/pl.umd.js +23 -0
  227. package/dist/translations/pt-br.d.ts +8 -0
  228. package/dist/translations/pt-br.js +23 -0
  229. package/dist/translations/pt-br.umd.js +23 -0
  230. package/dist/translations/pt.d.ts +8 -0
  231. package/dist/translations/pt.js +23 -0
  232. package/dist/translations/pt.umd.js +23 -0
  233. package/dist/translations/ro.d.ts +8 -0
  234. package/dist/translations/ro.js +23 -0
  235. package/dist/translations/ro.umd.js +23 -0
  236. package/dist/translations/ru.d.ts +8 -0
  237. package/dist/translations/ru.js +23 -0
  238. package/dist/translations/ru.umd.js +23 -0
  239. package/dist/translations/si.d.ts +8 -0
  240. package/dist/translations/si.js +23 -0
  241. package/dist/translations/si.umd.js +23 -0
  242. package/dist/translations/sk.d.ts +8 -0
  243. package/dist/translations/sk.js +23 -0
  244. package/dist/translations/sk.umd.js +23 -0
  245. package/dist/translations/sl.d.ts +8 -0
  246. package/dist/translations/sl.js +23 -0
  247. package/dist/translations/sl.umd.js +23 -0
  248. package/dist/translations/sq.d.ts +8 -0
  249. package/dist/translations/sq.js +23 -0
  250. package/dist/translations/sq.umd.js +23 -0
  251. package/dist/translations/sr-latn.d.ts +8 -0
  252. package/dist/translations/sr-latn.js +23 -0
  253. package/dist/translations/sr-latn.umd.js +23 -0
  254. package/dist/translations/sr.d.ts +8 -0
  255. package/dist/translations/sr.js +23 -0
  256. package/dist/translations/sr.umd.js +23 -0
  257. package/dist/translations/sv.d.ts +8 -0
  258. package/dist/translations/sv.js +23 -0
  259. package/dist/translations/sv.umd.js +23 -0
  260. package/dist/translations/th.d.ts +8 -0
  261. package/dist/translations/th.js +23 -0
  262. package/dist/translations/th.umd.js +23 -0
  263. package/dist/translations/ti.d.ts +8 -0
  264. package/dist/translations/ti.js +23 -0
  265. package/dist/translations/ti.umd.js +23 -0
  266. package/dist/translations/tk.d.ts +8 -0
  267. package/dist/translations/tk.js +23 -0
  268. package/dist/translations/tk.umd.js +23 -0
  269. package/dist/translations/tr.d.ts +8 -0
  270. package/dist/translations/tr.js +23 -0
  271. package/dist/translations/tr.umd.js +23 -0
  272. package/dist/translations/tt.d.ts +8 -0
  273. package/dist/translations/tt.js +23 -0
  274. package/dist/translations/tt.umd.js +23 -0
  275. package/dist/translations/ug.d.ts +8 -0
  276. package/dist/translations/ug.js +23 -0
  277. package/dist/translations/ug.umd.js +23 -0
  278. package/dist/translations/uk.d.ts +8 -0
  279. package/dist/translations/uk.js +23 -0
  280. package/dist/translations/uk.umd.js +23 -0
  281. package/dist/translations/ur.d.ts +8 -0
  282. package/dist/translations/ur.js +23 -0
  283. package/dist/translations/ur.umd.js +23 -0
  284. package/dist/translations/uz.d.ts +8 -0
  285. package/dist/translations/uz.js +23 -0
  286. package/dist/translations/uz.umd.js +23 -0
  287. package/dist/translations/vi.d.ts +8 -0
  288. package/dist/translations/vi.js +23 -0
  289. package/dist/translations/vi.umd.js +23 -0
  290. package/dist/translations/zh-cn.d.ts +8 -0
  291. package/dist/translations/zh-cn.js +23 -0
  292. package/dist/translations/zh-cn.umd.js +23 -0
  293. package/dist/translations/zh.d.ts +8 -0
  294. package/dist/translations/zh.js +23 -0
  295. package/dist/translations/zh.umd.js +23 -0
  296. package/lang/translations/af.po +112 -0
  297. package/lang/translations/ar.po +112 -0
  298. package/lang/translations/ast.po +112 -0
  299. package/lang/translations/az.po +112 -0
  300. package/lang/translations/be.po +112 -0
  301. package/lang/translations/bg.po +112 -0
  302. package/lang/translations/bn.po +112 -0
  303. package/lang/translations/bs.po +112 -0
  304. package/lang/translations/ca.po +112 -0
  305. package/lang/translations/cs.po +112 -0
  306. package/lang/translations/da.po +112 -0
  307. package/lang/translations/de-ch.po +112 -0
  308. package/lang/translations/de.po +112 -0
  309. package/lang/translations/el.po +112 -0
  310. package/lang/translations/en-au.po +112 -0
  311. package/lang/translations/en-gb.po +112 -0
  312. package/lang/translations/en.po +112 -0
  313. package/lang/translations/eo.po +112 -0
  314. package/lang/translations/es-co.po +112 -0
  315. package/lang/translations/es.po +112 -0
  316. package/lang/translations/et.po +112 -0
  317. package/lang/translations/eu.po +112 -0
  318. package/lang/translations/fa.po +112 -0
  319. package/lang/translations/fi.po +112 -0
  320. package/lang/translations/fr.po +112 -0
  321. package/lang/translations/gl.po +112 -0
  322. package/lang/translations/gu.po +112 -0
  323. package/lang/translations/he.po +112 -0
  324. package/lang/translations/hi.po +112 -0
  325. package/lang/translations/hr.po +112 -0
  326. package/lang/translations/hu.po +112 -0
  327. package/lang/translations/hy.po +112 -0
  328. package/lang/translations/id.po +112 -0
  329. package/lang/translations/it.po +112 -0
  330. package/lang/translations/ja.po +112 -0
  331. package/lang/translations/jv.po +112 -0
  332. package/lang/translations/kk.po +112 -0
  333. package/lang/translations/km.po +112 -0
  334. package/lang/translations/kn.po +112 -0
  335. package/lang/translations/ko.po +112 -0
  336. package/lang/translations/ku.po +112 -0
  337. package/lang/translations/lt.po +112 -0
  338. package/lang/translations/lv.po +112 -0
  339. package/lang/translations/ms.po +112 -0
  340. package/lang/translations/nb.po +112 -0
  341. package/lang/translations/ne.po +112 -0
  342. package/lang/translations/nl.po +112 -0
  343. package/lang/translations/no.po +112 -0
  344. package/lang/translations/oc.po +112 -0
  345. package/lang/translations/pl.po +112 -0
  346. package/lang/translations/pt-br.po +112 -0
  347. package/lang/translations/pt.po +112 -0
  348. package/lang/translations/ro.po +112 -0
  349. package/lang/translations/ru.po +112 -0
  350. package/lang/translations/si.po +112 -0
  351. package/lang/translations/sk.po +112 -0
  352. package/lang/translations/sl.po +112 -0
  353. package/lang/translations/sq.po +112 -0
  354. package/lang/translations/sr-latn.po +112 -0
  355. package/lang/translations/sr.po +112 -0
  356. package/lang/translations/sv.po +112 -0
  357. package/lang/translations/th.po +112 -0
  358. package/lang/translations/ti.po +112 -0
  359. package/lang/translations/tk.po +112 -0
  360. package/lang/translations/tr.po +112 -0
  361. package/lang/translations/tt.po +112 -0
  362. package/lang/translations/ug.po +112 -0
  363. package/lang/translations/uk.po +112 -0
  364. package/lang/translations/ur.po +112 -0
  365. package/lang/translations/uz.po +112 -0
  366. package/lang/translations/vi.po +112 -0
  367. package/lang/translations/zh-cn.po +112 -0
  368. package/lang/translations/zh.po +112 -0
  369. package/package.json +9 -9
  370. package/src/commands/insertfootnotecommand.js +1 -1
  371. package/src/footnotes.js +1 -1
  372. package/src/footnotesclipboard.js +1 -1
  373. package/src/footnotesediting.js +1 -1
  374. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  375. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  376. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  377. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  378. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  379. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  380. package/src/footnotesproperties.js +1 -1
  381. package/src/footnotestracker.js +1 -1
  382. package/src/footnotesui.js +1 -1
  383. package/src/index.js +1 -1
  384. package/src/modelelementtracker.js +1 -1
  385. package/theme/footnotes.css +6 -16
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x5d5ab7,ButtonView as _0x407267,ContextualBalloon as _0x25cea9,createDropdown as _0x4ff9d6}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x40952c}from'ckeditor5/src/widget.js';import{Plugin as _0x49bd39}from'ckeditor5/src/core.js';import{IconFootnote as _0x17cf0a,IconListStyleDecimal as _0x3cc4e8,IconListStyleDecimalLeadingZero as _0x4ed7c1,IconListStyleLowerLatin as _0x13bd3c,IconListStyleLowerRoman as _0x72ec9f,IconListStyleUpperLatin as _0x37de74,IconListStyleUpperRoman as _0x303c8d}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3d07b4}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xcb89c4}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x49bd39{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x25cea9,_0x40952c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5474f0}=this,{componentFactory:_0x2ced5a}=_0x5474f0['ui'];_0x5474f0['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2ced5a['add']('footnotesStyle',function(_0x25a287){return _0x4e1005=>{const {t:t}=_0x4e1005,_0x3606a2=_0x25a287['commands']['get']('footnotesStyle'),_0x24945c=_0x4ff9d6(_0x4e1005),{buttonView:_0x2587d7}=_0x24945c;return _0x24945c['class']='ck-footnotes-styles-dropdown',_0x24945c['bind']('isEnabled')['to'](_0x3606a2,'isEnabled'),_0x2587d7['set']({'label':t('Footnotes\x20style'),'icon':_0x17cf0a,'tooltip':!0x0}),_0x24945c['once']('change:isOpen',()=>{const _0x3ce877=function({editor:_0x3f84dc,dropdownView:_0x172ff5}){const {t:t}=_0x3f84dc['locale'],_0x2fa46b=t('Footnotes\x20definitions\x20styles'),_0x10be7f=function(_0x557412){const t=_0x557412['locale']['t'],_0x102985=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3cc4e8},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4ed7c1},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x72ec9f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x303c8d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x13bd3c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x37de74}];return _0x102985['map'](function(_0x2e8133){const _0x5e4653=_0x2e8133['locale'];return({label:_0x429622,icon:_0xb7f3b9,tooltip:_0x4d2366,style:_0x42325a})=>{const _0x3123db=_0x2e8133['commands']['get']('footnotesStyle'),_0x56c704=new _0x407267(_0x5e4653);return _0x56c704['set']({'label':_0x429622,'icon':_0xb7f3b9,'tooltip':_0x4d2366}),_0x56c704['bind']('isOn')['to'](_0x3123db,'value',_0x5d3a2b=>_0x5d3a2b===_0x42325a),_0x56c704['bind']('isEnabled')['to'](_0x3123db,'isEnabled'),_0x56c704['on']('execute',()=>{_0x2e8133['execute']('footnotesStyle',{'value':_0x42325a}),_0x2e8133['editing']['view']['focus']();}),_0x56c704;};}(_0x557412));}(_0x3f84dc),_0x14cf0d=new _0x3d07b4(_0x3f84dc['locale'],{'styleGridAriaLabel':_0x2fa46b,'styleButtonViews':_0x10be7f});return _0x14cf0d['delegate']('execute')['to'](_0x172ff5),_0x14cf0d['on']('footnotesListStart',(_0x5aac9a,_0x5aaad6)=>{_0x3f84dc['execute']('footnotesStart',{'value':_0x5aaad6['startIndex']});}),_0x14cf0d;}({'editor':_0x25a287,'dropdownView':_0x24945c});_0x24945c['panelView']['children']['add'](_0x3ce877);}),_0x24945c;};}(_0x5474f0));}['afterInit'](){const {editor:_0x44fc90}=this,{t:t}=_0x44fc90['locale'],_0x34bfb5=_0x44fc90['plugins']['get'](_0x40952c),{defaultPositions:_0x1bae00}=_0x5d5ab7;_0x34bfb5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x44fc90['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x48600d=>{let _0x4cd3c3=_0x48600d['getFirstPosition']()?.['parent'];return _0x4cd3c3?.['is']('$text')&&(_0x4cd3c3=_0x4cd3c3['parent']),_0x4cd3c3?.['is']('element')?_0x4cd3c3['findAncestor'](_0xcb89c4):null;},'positions':[_0x1bae00['southArrowNorth'],_0x1bae00['southArrowNorthMiddleWest'],_0x1bae00['southArrowNorthMiddleEast'],_0x1bae00['southArrowNorthWest'],_0x1bae00['southArrowNorthEast'],_0x1bae00['northArrowSouth'],_0x1bae00['northArrowSouthMiddleWest'],_0x1bae00['northArrowSouthMiddleEast'],_0x1bae00['northArrowSouthWest'],_0x1bae00['northArrowSouthEast'],_0x1bae00['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x440bab,ButtonView as _0x3b332d,ContextualBalloon as _0x374c06,createDropdown as _0x1a07c3}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4a0089}from'ckeditor5/src/widget.js';import{Plugin as _0x15b53c}from'ckeditor5/src/core.js';import{IconFootnote as _0x4669ba,IconListStyleDecimal as _0x32d08c,IconListStyleDecimalLeadingZero as _0x2ecafa,IconListStyleLowerLatin as _0x21c07d,IconListStyleLowerRoman as _0x256892,IconListStyleUpperLatin as _0x55c667,IconListStyleUpperRoman as _0x4fb643}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x52e574}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x582424}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x15b53c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x374c06,_0x4a0089];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x322a00}=this,{componentFactory:_0x58ff7e}=_0x322a00['ui'];_0x322a00['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x58ff7e['add']('footnotesStyle',function(_0x1a5d99){return _0x44f6c8=>{const {t:t}=_0x44f6c8,_0x522cbb=_0x1a5d99['commands']['get']('footnotesStyle'),_0x1bdd4e=_0x1a07c3(_0x44f6c8),{buttonView:_0x19f70c}=_0x1bdd4e;return _0x1bdd4e['class']='ck-footnotes-styles-dropdown',_0x1bdd4e['bind']('isEnabled')['to'](_0x522cbb,'isEnabled'),_0x19f70c['set']({'label':t('Footnotes\x20style'),'icon':_0x4669ba,'tooltip':!0x0}),_0x1bdd4e['once']('change:isOpen',()=>{const _0x47d0df=function({editor:_0x47167a,dropdownView:_0x109523}){const {t:t}=_0x47167a['locale'],_0x2c0dcc=t('Footnotes\x20definitions\x20styles'),_0x4f5588=function(_0x20d3ea){const t=_0x20d3ea['locale']['t'],_0x492790=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x32d08c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2ecafa},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x256892},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4fb643},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x21c07d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x55c667}];return _0x492790['map'](function(_0x24f51c){const _0x25ba05=_0x24f51c['locale'];return({label:_0x394903,icon:_0xa6e90b,tooltip:_0x5adf5d,style:_0x545076})=>{const _0xfeb63a=_0x24f51c['commands']['get']('footnotesStyle'),_0x18264b=new _0x3b332d(_0x25ba05);return _0x18264b['set']({'label':_0x394903,'icon':_0xa6e90b,'tooltip':_0x5adf5d}),_0x18264b['bind']('isOn')['to'](_0xfeb63a,'value',_0x37fef8=>_0x37fef8===_0x545076),_0x18264b['bind']('isEnabled')['to'](_0xfeb63a,'isEnabled'),_0x18264b['on']('execute',()=>{_0x24f51c['execute']('footnotesStyle',{'value':_0x545076}),_0x24f51c['editing']['view']['focus']();}),_0x18264b;};}(_0x20d3ea));}(_0x47167a),_0x54239e=new _0x52e574(_0x47167a['locale'],{'styleGridAriaLabel':_0x2c0dcc,'styleButtonViews':_0x4f5588});return _0x54239e['delegate']('execute')['to'](_0x109523),_0x54239e['on']('footnotesListStart',(_0x249490,_0x55ad5d)=>{_0x47167a['execute']('footnotesStart',{'value':_0x55ad5d['startIndex']});}),_0x54239e;}({'editor':_0x1a5d99,'dropdownView':_0x1bdd4e});_0x1bdd4e['panelView']['children']['add'](_0x47d0df);}),_0x1bdd4e;};}(_0x322a00));}['afterInit'](){const {editor:_0x560518}=this,{t:t}=_0x560518['locale'],_0x2736f5=_0x560518['plugins']['get'](_0x4a0089),{defaultPositions:_0x2ef34d}=_0x440bab;_0x2736f5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x560518['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4c2af5=>{let _0x202e18=_0x4c2af5['getFirstPosition']()?.['parent'];return _0x202e18?.['is']('$text')&&(_0x202e18=_0x202e18['parent']),_0x202e18?.['is']('element')?_0x202e18['findAncestor'](_0x582424):null;},'positions':[_0x2ef34d['southArrowNorth'],_0x2ef34d['southArrowNorthMiddleWest'],_0x2ef34d['southArrowNorthMiddleEast'],_0x2ef34d['southArrowNorthWest'],_0x2ef34d['southArrowNorthEast'],_0x2ef34d['northArrowSouth'],_0x2ef34d['northArrowSouthMiddleWest'],_0x2ef34d['northArrowSouthMiddleEast'],_0x2ef34d['northArrowSouthWest'],_0x2ef34d['northArrowSouthEast'],_0x2ef34d['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4c79bb,View as _0x475ed1,ViewCollection as _0x5ab793,FocusCycler as _0x34837a,addKeyboardHandlingForGrid as _0x3fd6de,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x475ed1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x5ab793();['focusCycler'];constructor(_0x2ac788,{styleButtonViews:_0x5eb3c2,styleGridAriaLabel:_0x31ad97}){super(_0x2ac788),(this['focusCycler']=new _0x34837a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5eb3c2,_0x31ad97),[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 _0x22a6f7 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x22a6f7['element']);_0x3fd6de({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x5f37b4=_0x2f45cf=>_0x2f45cf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5f37b4),this['keystrokes']['set']('arrowleft',_0x5f37b4),this['keystrokes']['set']('arrowup',_0x5f37b4),this['keystrokes']['set']('arrowdown',_0x5f37b4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1fe876,_0x377795){const _0x33112e=new _0x475ed1(this['locale']);return _0x33112e['children']=_0x33112e['createCollection'](),_0x33112e['children']['addMany'](_0x1fe876),_0x33112e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x377795,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x33112e['children']}),_0x33112e['children']['delegate']('execute')['to'](this),_0x33112e['focus']=function(){for(const _0x460e50 of this['children'])if(_0x460e50 instanceof _0x4c79bb&&_0x460e50['isOn'])return void _0x460e50['focus']();this['children']['first']['focus']();},_0x33112e['focusTracker']=new et(),_0x33112e['keystrokes']=new ot(),_0x33112e['render'](),_0x33112e['keystrokes']['listenTo'](_0x33112e['element']),this['children']['add'](_0x33112e),_0x33112e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4aac79=this['_createStartIndexPropertyView'](),_0x4763d3=[_0x4aac79],_0x5ce3d4=new tt(this['locale'],_0x4763d3);return _0x5ce3d4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5ce3d4['buttonView']['bind']('isEnabled')['toMany'](_0x4763d3,'isEnabled',(..._0x1a327a)=>_0x1a327a['some'](_0x303bea=>_0x303bea)),_0x5ce3d4['buttonView']['on']('change:isEnabled',(_0x27aa5,_0x2e35e9,_0x4cd0a2)=>{_0x4cd0a2||(_0x5ce3d4['isCollapsed']=!0x0);}),this['children']['add'](_0x5ce3d4),[_0x4aac79,_0x5ce3d4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x177f91=new st(this['locale'],it);return _0x177f91['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x177f91['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x177f91['fieldView']['on']('input',()=>{const _0x428684=_0x177f91['fieldView']['element'],_0x5332ae=_0x428684['valueAsNumber'];Number['isNaN'](_0x5332ae)?_0x177f91['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x428684['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5332ae}):_0x177f91['errorText']=t(_0x5332ae<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x177f91;}}
23
+ import{ButtonView as _0x36e28f,View as _0x3d9777,ViewCollection as _0x14adae,FocusCycler as _0x4f96a7,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 _0x3d9777{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x14adae();['focusCycler'];constructor(_0x2d0a7a,{styleButtonViews:_0x5dfc9f,styleGridAriaLabel:_0x1a18be}){super(_0x2d0a7a),(this['focusCycler']=new _0x4f96a7({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5dfc9f,_0x1a18be),[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 _0x5bcbc0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5bcbc0['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 _0x32270b=_0x41e64a=>_0x41e64a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x32270b),this['keystrokes']['set']('arrowleft',_0x32270b),this['keystrokes']['set']('arrowup',_0x32270b),this['keystrokes']['set']('arrowdown',_0x32270b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x12ed8c,_0x157e4e){const _0xd6e547=new _0x3d9777(this['locale']);return _0xd6e547['children']=_0xd6e547['createCollection'](),_0xd6e547['children']['addMany'](_0x12ed8c),_0xd6e547['setTemplate']({'tag':'div','attributes':{'aria-label':_0x157e4e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd6e547['children']}),_0xd6e547['children']['delegate']('execute')['to'](this),_0xd6e547['focus']=function(){for(const _0x20dff3 of this['children'])if(_0x20dff3 instanceof _0x36e28f&&_0x20dff3['isOn'])return void _0x20dff3['focus']();this['children']['first']['focus']();},_0xd6e547['focusTracker']=new ot(),_0xd6e547['keystrokes']=new rt(),_0xd6e547['render'](),_0xd6e547['keystrokes']['listenTo'](_0xd6e547['element']),this['children']['add'](_0xd6e547),_0xd6e547;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x18f148=this['_createStartIndexPropertyView'](),_0x417805=[_0x18f148],_0x1a6ea4=new st(this['locale'],_0x417805);return _0x1a6ea4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1a6ea4['buttonView']['bind']('isEnabled')['toMany'](_0x417805,'isEnabled',(..._0x4d33b9)=>_0x4d33b9['some'](_0x4a6d73=>_0x4a6d73)),_0x1a6ea4['buttonView']['on']('change:isEnabled',(_0x314f0b,_0x120828,_0x11462c)=>{_0x11462c||(_0x1a6ea4['isCollapsed']=!0x0);}),this['children']['add'](_0x1a6ea4),[_0x18f148,_0x1a6ea4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x473c0a=new it(this['locale'],et);return _0x473c0a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x473c0a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x473c0a['fieldView']['on']('input',()=>{const _0x2e2fd9=_0x473c0a['fieldView']['element'],_0x1b3861=_0x2e2fd9['valueAsNumber'];Number['isNaN'](_0x1b3861)?_0x473c0a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2e2fd9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1b3861}):_0x473c0a['errorText']=t(_0x1b3861<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x473c0a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51454e=_0x9a51;(function(_0x4527f7,_0xb78ba4){var _0x3ca4ac=_0x9a51,_0x20328e=_0x4527f7();while(!![]){try{var _0x129c2f=-parseInt(_0x3ca4ac(0xeb))/0x1*(parseInt(_0x3ca4ac(0xf0))/0x2)+parseInt(_0x3ca4ac(0xef))/0x3+parseInt(_0x3ca4ac(0xf2))/0x4+-parseInt(_0x3ca4ac(0xf1))/0x5*(parseInt(_0x3ca4ac(0xee))/0x6)+parseInt(_0x3ca4ac(0xec))/0x7+-parseInt(_0x3ca4ac(0xf7))/0x8+parseInt(_0x3ca4ac(0xf6))/0x9;if(_0x129c2f===_0xb78ba4)break;else _0x20328e['push'](_0x20328e['shift']());}catch(_0x5b2249){_0x20328e['push'](_0x20328e['shift']());}}}(_0x96e1,0x2057e));import{Plugin as _0x2ee600}from'ckeditor5/src/core.js';function _0x96e1(){var _0x50d6f6=['19275fvVdCZ','424032uwODep','isPremiumPlugin','requires','pluginName','42435dRWOCZ','729808HPQYye','isOfficialPlugin','3SGFROc','1839334GPHsfW','FootnotesProperties','174ydrewy','476361hkVpzm','131182gAFSGV'];_0x96e1=function(){return _0x50d6f6;};return _0x96e1();}import{FootnotesPropertiesEditing as _0xaed56e}from'./footnotesproperties/footnotespropertiesediting.js';function _0x9a51(_0x4f81a2,_0x54582c){var _0x96e11d=_0x96e1();return _0x9a51=function(_0x9a519e,_0x5b0828){_0x9a519e=_0x9a519e-0xea;var _0xd7dc76=_0x96e11d[_0x9a519e];return _0xd7dc76;},_0x9a51(_0x4f81a2,_0x54582c);}import{FootnotesPropertiesUI as _0x223546}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2ee600{static get[_0x51454e(0xf5)](){var _0xb8c92=_0x51454e;return _0xb8c92(0xed);}static get[_0x51454e(0xf4)](){return[_0xaed56e,_0x223546];}static get[_0x51454e(0xea)](){return!0x0;}static get[_0x51454e(0xf3)](){return!0x0;}}
23
+ var _0xc7ef35=_0x4a3f;(function(_0x488263,_0x1c59f7){var _0x305648=_0x4a3f,_0x2c532e=_0x488263();while(!![]){try{var _0x200008=parseInt(_0x305648(0xe6))/0x1+parseInt(_0x305648(0xe8))/0x2*(parseInt(_0x305648(0xe9))/0x3)+-parseInt(_0x305648(0xdd))/0x4+-parseInt(_0x305648(0xe1))/0x5+parseInt(_0x305648(0xde))/0x6+parseInt(_0x305648(0xe4))/0x7+-parseInt(_0x305648(0xdf))/0x8*(parseInt(_0x305648(0xe3))/0x9);if(_0x200008===_0x1c59f7)break;else _0x2c532e['push'](_0x2c532e['shift']());}catch(_0x315a1c){_0x2c532e['push'](_0x2c532e['shift']());}}}(_0x19fa,0xca716));import{Plugin as _0x5e43f2}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x420898}from'./footnotesproperties/footnotespropertiesediting.js';function _0x19fa(){var _0xf182c8=['3704905Upvkbw','requires','7220565bFYhss','11432092KRumhS','pluginName','1501189UuLLmC','isPremiumPlugin','651242uGVbbI','12djuAsG','FootnotesProperties','238264VJSLyC','7226094tFIiVI','40OtdOgu','isOfficialPlugin'];_0x19fa=function(){return _0xf182c8;};return _0x19fa();}function _0x4a3f(_0x57e544,_0x1fe542){var _0x19faf4=_0x19fa();return _0x4a3f=function(_0x4a3f66,_0x311a52){_0x4a3f66=_0x4a3f66-0xdc;var _0x28c8b9=_0x19faf4[_0x4a3f66];return _0x28c8b9;},_0x4a3f(_0x57e544,_0x1fe542);}import{FootnotesPropertiesUI as _0x4e0d1d}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5e43f2{static get[_0xc7ef35(0xe5)](){var _0xa576c0=_0xc7ef35;return _0xa576c0(0xdc);}static get[_0xc7ef35(0xe2)](){return[_0x420898,_0x4e0d1d];}static get[_0xc7ef35(0xe0)](){return!0x0;}static get[_0xc7ef35(0xe7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5db7df=_0x25cc;(function(_0x4d2ead,_0x3605d7){const _0x5773d0=_0x25cc,_0x5c08f2=_0x4d2ead();while(!![]){try{const _0xc955b2=parseInt(_0x5773d0(0x9e))/0x1+-parseInt(_0x5773d0(0xbc))/0x2+-parseInt(_0x5773d0(0x95))/0x3+-parseInt(_0x5773d0(0xa0))/0x4+parseInt(_0x5773d0(0xb9))/0x5+parseInt(_0x5773d0(0x72))/0x6+-parseInt(_0x5773d0(0xb6))/0x7;if(_0xc955b2===_0x3605d7)break;else _0x5c08f2['push'](_0x5c08f2['shift']());}catch(_0x25a0e0){_0x5c08f2['push'](_0x5c08f2['shift']());}}}(_0x4d7a,0x70d19));import{Plugin as _0x2e3cc5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x47072e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2e3cc5{[_0x5db7df(0xa3)]=[];[_0x5db7df(0x71)]=null;[_0x5db7df(0xb2)]=null;[_0x5db7df(0x74)];[_0x5db7df(0x6b)];[_0x5db7df(0xc0)];static get[_0x5db7df(0xa9)](){const _0x59d032=_0x5db7df;return _0x59d032(0x82);}static get[_0x5db7df(0xc3)](){return!0x0;}static get[_0x5db7df(0xb1)](){return!0x0;}constructor(_0x3515d5){const _0xd9f8e1=_0x5db7df;super(_0x3515d5),this[_0xd9f8e1(0x74)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xbf),'getElementKey':()=>_0xd9f8e1(0x6a)}),this[_0xd9f8e1(0x6b)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0x77),'getElementKey':_0x240660=>_0x240660[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))}),this[_0xd9f8e1(0xc0)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xa6),'getElementKey':_0x1fb072=>_0x1fb072[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))});}[_0x5db7df(0x9a)](){const _0x3d8f65=_0x5db7df,{editor:_0x1990a1}=this,{model:_0x419e86,data:_0x3e7a60}=_0x1990a1;_0x419e86[_0x3d8f65(0x6e)][_0x3d8f65(0xbe)](_0x56652b=>{const _0x5e0d42=_0x3d8f65,_0x30bc2b=_0x419e86[_0x5e0d42(0x6e)][_0x5e0d42(0x87)][_0x5e0d42(0xc8)]();let _0x369826=!0x1;return this[_0x5e0d42(0xa4)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0xcb)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x76)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x96)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0x73)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0xae)](_0x56652b)&&(_0x369826=!0x0),_0x369826;}),this[_0x3d8f65(0x79)](_0x419e86[_0x3d8f65(0x6e)],_0x3d8f65(0x70),()=>{const _0x3e0540=_0x3d8f65;_0x419e86[_0x3e0540(0xbd)]({'isUndoable':!0x1},_0x3e171f=>{const _0x22add1=_0x3e0540;this[_0x22add1(0x9d)](_0x3e171f);});},{'priority':_0x3d8f65(0xb7)}),this[_0x3d8f65(0x79)](_0x3e7a60,_0x3d8f65(0xb3),()=>{const _0x113d15=_0x3d8f65;this[_0x113d15(0xa3)]=[],this[_0x113d15(0x74)][_0x113d15(0xaf)](),this[_0x113d15(0x6b)][_0x113d15(0xaf)](),this[_0x113d15(0xc0)][_0x113d15(0xaf)]();},{'priority':_0x3d8f65(0x7a)});}[_0x5db7df(0x8f)](){const _0x26105d=_0x5db7df;return this[_0x26105d(0x71)];}[_0x5db7df(0xc2)](_0x434c72){const _0x4987b9=_0x5db7df;return this[_0x4987b9(0xa3)][_0x4987b9(0xc9)](_0x590464=>_0x590464['id']===_0x434c72)||null;}[_0x5db7df(0xa1)](){const _0x514818=_0x5db7df;return Array[_0x514818(0xca)](this[_0x514818(0xa3)]);}[_0x5db7df(0xc7)](){const _0x3230d3=_0x5db7df;return this[_0x3230d3(0xb2)];}[_0x5db7df(0x75)](_0x47280f){const _0x3872db=_0x5db7df;this[_0x3872db(0xb2)]=_0x47280f;}[_0x5db7df(0xc5)](_0x5f2e18,_0x14464e=0x0){const _0x470c18=_0x5db7df;let _0x3100eb=!0x1;for(let _0x10f9b2=_0x14464e;_0x10f9b2<this[_0x470c18(0xa3)][_0x470c18(0xb5)];_0x10f9b2++)this[_0x470c18(0x99)](_0x5f2e18,_0x10f9b2)&&(_0x3100eb=!0x0);return _0x3100eb;}[_0x5db7df(0x6c)](_0x57c15f,_0x196683){const _0x11e068=_0x5db7df,_0x4aa928=_0x57c15f[_0x11e068(0x91)](_0x11e068(0xbf),{});return _0x57c15f[_0x11e068(0x94)](_0x4aa928,_0x196683),this[_0x11e068(0x71)]=_0x4aa928,_0x4aa928;}[_0x5db7df(0x9d)](_0x5aa735){const _0x4f471d=_0x5db7df;if(!this[_0x4f471d(0xa3)][_0x4f471d(0xb5)]||this[_0x4f471d(0x71)])return;const _0x48665c=this[_0x4f471d(0xa3)][0x0][_0x4f471d(0x97)][_0x4f471d(0x9c)],_0x183115=this[_0x4f471d(0x6c)](_0x5aa735,_0x48665c);for(const _0x2c669f of this[_0x4f471d(0xa3)])_0x2c669f[_0x4f471d(0xa2)][_0x4f471d(0x9b)]||_0x5aa735[_0x4f471d(0xaa)](_0x2c669f[_0x4f471d(0xa2)],_0x183115,_0x4f471d(0xac));this[_0x4f471d(0xc5)](_0x5aa735);}[_0x5db7df(0xa4)](_0x150e21,_0x6678ac){const _0x4ce29b=_0x5db7df;let _0x5d7585=!0x1;const {inserted:_0x4d70e3,removed:_0x5a2aaa,moved:_0x398397}=this[_0x4ce29b(0x74)][_0x4ce29b(0xc8)](_0x6678ac);if(_0x398397[_0x4ce29b(0xb5)]&&(this[_0x4ce29b(0x71)]=_0x398397[0x0]),_0x4d70e3[_0x4ce29b(0xb5)]){if(_0x4d70e3[_0x4ce29b(0xb5)]>0x1||this[_0x4ce29b(0x71)]&&_0x4d70e3[_0x4ce29b(0x81)](_0x52f214=>_0x52f214!==this[_0x4ce29b(0x71)])){const _0x9ad3e4=_0x150e21[_0x4ce29b(0x91)](_0x4ce29b(0xbf),{}),_0x276426=[];this[_0x4ce29b(0x71)]&&_0x276426[_0x4ce29b(0xb0)](this[_0x4ce29b(0x71)]),_0x276426[_0x4ce29b(0xb0)](..._0x4d70e3),_0x150e21[_0x4ce29b(0xaa)](_0x9ad3e4,_0x276426[0x0],_0x4ce29b(0x7f));for(const _0x4daf2a of _0x276426)_0x150e21[_0x4ce29b(0x86)](_0x150e21[_0x4ce29b(0x8e)](_0x4daf2a),_0x150e21[_0x4ce29b(0x8d)](_0x9ad3e4,_0x4ce29b(0xac))),_0x150e21[_0x4ce29b(0x90)](_0x4daf2a);this[_0x4ce29b(0x71)]=_0x9ad3e4,this[_0x4ce29b(0xc5)](_0x150e21),_0x5d7585=!0x0;}else this[_0x4ce29b(0x71)]=_0x4d70e3[0x0];}if(_0x5a2aaa[_0x4ce29b(0xb5)]&&_0x4ce29b(0xb8)===this[_0x4ce29b(0x71)]?.[_0x4ce29b(0x9c)][_0x4ce29b(0xba)]){for(const _0x4c4a47 of this[_0x4ce29b(0xa3)])_0x150e21[_0x4ce29b(0x90)](_0x4c4a47[_0x4ce29b(0x97)]),_0x5d7585=!0x0;this[_0x4ce29b(0xa3)]=[],this[_0x4ce29b(0x71)]=null;}return _0x5d7585;}[_0x5db7df(0xcb)](_0x55731e,_0x5d75c2){const _0x13309f=_0x5db7df;let _0x46327a=!0x1;const _0x5b6d44=this[_0x13309f(0x7e)][_0x13309f(0x7d)][_0x13309f(0xb4)](_0x13309f(0x8a)),{inserted:_0x372c75,moved:_0x296d76}=this[_0x13309f(0xc0)][_0x13309f(0xc8)](_0x5d75c2);for(const _0x4de5b7 of[..._0x296d76,..._0x372c75]){const _0x3a30e8=_0x4de5b7[_0x13309f(0x6f)](_0x13309f(0xc6)),_0x15badd=this[_0x13309f(0xc2)](_0x3a30e8);_0x15badd&&(_0x15badd[_0x13309f(0xa2)]=_0x4de5b7),_(_0x55731e,_0x5b6d44,_0x4de5b7)&&(_0x46327a=!0x0);}return _0x46327a;}[_0x5db7df(0x76)](_0x200f55,_0x4f6505){const _0x250f2f=_0x5db7df;let _0x3c9096=!0x1;const {removed:_0x5ba280,inserted:_0x972541,moved:_0x48b2d3}=this[_0x250f2f(0x6b)][_0x250f2f(0xc8)](_0x4f6505);for(const _0x1bcd41 of _0x5ba280)this[_0x250f2f(0xa8)](_0x200f55,_0x1bcd41)&&(_0x3c9096=!0x0);for(const _0x2368e7 of _0x972541)this[_0x250f2f(0x7b)](_0x200f55,_0x2368e7)&&(_0x3c9096=!0x0);for(const _0x2af8e7 of _0x48b2d3)this[_0x250f2f(0x6d)](_0x200f55,_0x2af8e7)&&(_0x3c9096=!0x0);return _0x3c9096;}[_0x5db7df(0x73)](_0x1b461e){const _0x262b19=_0x5db7df;if(!this[_0x262b19(0x71)])return!0x1;let _0x3e33c1=!0x1;if(this[_0x262b19(0x71)][_0x262b19(0xad)]!==this[_0x262b19(0xa3)][_0x262b19(0xb5)]){const _0x23babe=[];for(const _0x45a4f1 of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x2cf04e=_0x45a4f1[_0x262b19(0x6f)](_0x262b19(0xc6));this[_0x262b19(0xc2)](_0x2cf04e)||(_0x23babe[_0x262b19(0x8c)](_0x45a4f1),_0x3e33c1=!0x0);}for(const _0x517637 of _0x23babe)_0x1b461e[_0x262b19(0x90)](_0x517637);}const _0x159b65=new Set(),_0x135d5f=[];for(const _0xc208fa of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x261ead=_0xc208fa[_0x262b19(0x6f)](_0x262b19(0xc6));_0x159b65[_0x262b19(0x88)](_0x261ead)?(_0x135d5f[_0x262b19(0x8c)](_0xc208fa),_0x3e33c1=!0x0):_0x159b65[_0x262b19(0x92)](_0x261ead);}for(const _0x89f1ec of _0x135d5f)_0x1b461e[_0x262b19(0x90)](_0x89f1ec);return this[_0x262b19(0x71)][_0x262b19(0xad)]||(_0x1b461e[_0x262b19(0x90)](this[_0x262b19(0x71)]),this[_0x262b19(0x71)]=null,_0x3e33c1=!0x0),_0x3e33c1;}[_0x5db7df(0x7b)](_0x362181,_0x386f7d){const _0x511ffb=_0x5db7df;if(this[_0x511ffb(0xa3)][_0x511ffb(0xc9)](_0x167313=>_0x167313[_0x511ffb(0x97)]===_0x386f7d))return!0x1;let _0x518439=!0x1;const _0x1095a5=_0x386f7d[_0x511ffb(0x6f)](_0x511ffb(0xc6)),_0x4de705=this[_0x511ffb(0xa3)][_0x511ffb(0x80)](_0x3a0555=>_0x3a0555['id']===_0x1095a5);-0x1!==_0x4de705&&(_0x362181[_0x511ffb(0x90)](this[_0x511ffb(0xa3)][_0x4de705][_0x511ffb(0x97)]),this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x4de705,0x1),_0x518439=!0x0);let _0x742b55=this[_0x511ffb(0x71)]?function(_0x51d78a,_0x490029){const _0x2848bb=_0x511ffb;for(const _0x1276cb of _0x51d78a[_0x2848bb(0x85)]())if(_0x1276cb[_0x2848bb(0x6f)](_0x2848bb(0xc6))===_0x490029)return _0x1276cb;return null;}(this[_0x511ffb(0x71)],_0x1095a5):null;_0x742b55||(_0x742b55=_0x362181[_0x511ffb(0x91)](_0x511ffb(0xa6),{'footnoteId':_0x1095a5}),this[_0x511ffb(0x71)]&&(_0x362181[_0x511ffb(0xaa)](_0x742b55,this[_0x511ffb(0x71)],_0x511ffb(0xac)),_0x518439=!0x0));const _0x456249={'id':_0x1095a5,'reference':_0x386f7d,'definition':_0x742b55},_0x3d9121=I(this[_0x511ffb(0x7e)][_0x511ffb(0xc4)],this[_0x511ffb(0xa3)],_0x386f7d);this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x3d9121,0x0,_0x456249);let _0x584999=_0x3d9121;return-0x1!==_0x4de705&&(_0x584999=Math[_0x511ffb(0x89)](_0x3d9121,_0x4de705)),this[_0x511ffb(0xc5)](_0x362181,_0x584999)&&(_0x518439=!0x0),_0x518439;}[_0x5db7df(0xa8)](_0x364ba6,_0x297d1e){const _0x4f7600=_0x5db7df,_0x12a18f=this[_0x4f7600(0xa3)][_0x4f7600(0x80)](_0x30f252=>_0x30f252['id']===_0x297d1e);if(-0x1===_0x12a18f)return!0x1;let _0x53a221=!0x1;const _0x6d7042=this[_0x4f7600(0xa3)][_0x12a18f];return _0x4f7600(0xb8)!==_0x6d7042[_0x4f7600(0xa2)][_0x4f7600(0x9c)][_0x4f7600(0xba)]&&(_0x364ba6[_0x4f7600(0x90)](_0x6d7042[_0x4f7600(0xa2)]),_0x53a221=!0x0),this[_0x4f7600(0xa3)][_0x4f7600(0xc1)](_0x12a18f,0x1),this[_0x4f7600(0xc5)](_0x364ba6,_0x12a18f)&&(_0x53a221=!0x0),_0x53a221;}[_0x5db7df(0x6d)](_0x177ad3,_0x1b059d){const _0x567244=_0x5db7df,_0x36b608=_0x1b059d[_0x567244(0x6f)](_0x567244(0xc6)),_0x4917d1=this[_0x567244(0xa3)][_0x567244(0x80)](_0xbecd17=>_0xbecd17['id']===_0x36b608),_0x411236=this[_0x567244(0xa3)][_0x4917d1];let _0x3202a5=!0x1;_0x411236[_0x567244(0x97)]=_0x1b059d,this[_0x567244(0xa3)][_0x567244(0xc1)](_0x4917d1,0x1);const _0x43b435=I(this[_0x567244(0x7e)][_0x567244(0xc4)],this[_0x567244(0xa3)],_0x1b059d);return this[_0x567244(0xa3)][_0x567244(0xc1)](_0x43b435,0x0,_0x411236),this[_0x567244(0xc5)](_0x177ad3,Math[_0x567244(0x89)](_0x4917d1,_0x43b435))&&(_0x3202a5=!0x0),_0x3202a5;}[_0x5db7df(0x99)](_0x35d1d2,_0x4e0b89){const _0x5a71fb=_0x5db7df;if(!this[_0x5a71fb(0x71)])return!0x1;const _0x58e2ac=this[_0x5a71fb(0xa3)][_0x4e0b89];let _0x4201c3;return _0x4201c3=this[_0x5a71fb(0xb2)]?this[_0x5a71fb(0xb2)]({'footnote':_0x58e2ac,'container':this[_0x5a71fb(0x71)],'digits':String(this[_0x5a71fb(0xa3)][_0x5a71fb(0xb5)])[_0x5a71fb(0xb5)],'value':_0x4e0b89+0x1}):String(_0x4e0b89+0x1),_0x58e2ac[_0x5a71fb(0x97)][_0x5a71fb(0x6f)](_0x5a71fb(0x8b))!=_0x4201c3&&(_0x35d1d2[_0x5a71fb(0xbb)](_0x5a71fb(0x8b),_0x4201c3,_0x58e2ac[_0x5a71fb(0x97)]),!0x0);}[_0x5db7df(0xae)](_0x166ffc){const _0x4f7f3a=_0x5db7df;if(!this[_0x4f7f3a(0x71)]||this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)]<0x2)return!0x1;if(function(_0x42db99,_0x3dfd7b){const _0x405105=_0x4f7f3a;if(_0x42db99[_0x405105(0xb5)]!==_0x3dfd7b[_0x405105(0xb5)])return!0x1;for(let _0x4ef21a=0x0;_0x4ef21a<_0x42db99[_0x405105(0xb5)];_0x4ef21a++)if(_0x42db99[_0x4ef21a]!==_0x3dfd7b[_0x4ef21a])return!0x1;return!0x0;}(this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xa5)](_0x12db7b=>_0x12db7b['id']),Array[_0x4f7f3a(0xca)](this[_0x4f7f3a(0x71)][_0x4f7f3a(0x85)]())[_0x4f7f3a(0xa5)](_0x28c7c4=>_0x28c7c4[_0x4f7f3a(0x6f)](_0x4f7f3a(0xc6)))))return!0x1;let _0x2f1ba0=!0x1;for(let _0x4d8be1=0x0;_0x4d8be1<this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)];_0x4d8be1++){const _0x1ba26a=this[_0x4f7f3a(0xa3)][_0x4d8be1],_0x52dec8=_0x166ffc[_0x4f7f3a(0x7c)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4=_0x166ffc[_0x4f7f3a(0x8d)](this[_0x4f7f3a(0x71)],_0x4d8be1);_0x52dec8[_0x4f7f3a(0x83)](_0x5c0fd4)||(_0x166ffc[_0x4f7f3a(0x86)](_0x166ffc[_0x4f7f3a(0xab)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4),_0x2f1ba0=!0x0);}return _0x2f1ba0;}[_0x5db7df(0x96)](_0x3f1dcc){const _0x23d095=_0x5db7df;if(!this[_0x23d095(0xa3)][_0x23d095(0xb5)])return!0x1;const {model:_0x115add}=this[_0x23d095(0x7e)];let _0x3e6efa=!0x1;for(let _0x54ceb4=0x0;_0x54ceb4<this[_0x23d095(0xa3)][_0x23d095(0xb5)]-0x1;_0x54ceb4++){const _0x2ede01=this[_0x23d095(0xa3)][_0x54ceb4],_0x1c339b=this[_0x23d095(0xa3)][_0x54ceb4+0x1],_0x516388=_0x115add[_0x23d095(0x7c)](_0x2ede01[_0x23d095(0x97)]),_0x85ef77=_0x115add[_0x23d095(0x7c)](_0x1c339b[_0x23d095(0x97)]);_0x23d095(0x93)===_0x516388[_0x23d095(0x98)](_0x85ef77)&&(this[_0x23d095(0x6d)](_0x3f1dcc,_0x2ede01[_0x23d095(0x97)]),_0x54ceb4=-0x1,_0x3e6efa=!0x0);}return _0x3e6efa;}}function _(_0x5ad4e2,_0x33ace2,_0x4495bb){const _0x23e46a=_0x5db7df;if(_0x4495bb[_0x23e46a(0xad)])return!0x1;const _0x17836b=_0x33ace2?_0x23e46a(0x78):_0x23e46a(0x9f);return _0x5ad4e2[_0x23e46a(0xaa)](_0x5ad4e2[_0x23e46a(0x91)](_0x17836b),_0x4495bb),!0x0;}function _0x4d7a(){const _0x56d83f=['unshift','createPositionAt','createRangeIn','getFootnotesDefinitionsObjectElement','remove','createElement','add','after','append','1174626LQONlI','_ensureFootnotesReferencesHaveProperOrder','reference','compareWith','_updateFootnoteRefCounter','init','parent','root','_ensureFootnotesDefinitionsContainerExists','719512LIWKSP','footnoteInlineContent','1006680FyuhoJ','getFootnotes','definition','_footnotes','_handleFootnotesDefinitionsObjectChanges','map','footnoteDefinition','indexOf','_handleRemoveFootnoteReferenceById','pluginName','insert','createRangeOn','end','childCount','_sortFootnoteDefinitions','reset','push','isPremiumPlugin','_footnoteFormatter','set','get','length','2421027lTSRYG','low','$graveyard','1178995QGGrNj','rootName','setAttribute','725790vwOoum','enqueueChange','registerPostFixer','footnotesDefinitions','_footnoteDefsTracker','splice','getFootnote','isOfficialPlugin','model','_updateFootnotesCounters','footnoteId','getFootnotesFormatter','getChanges','find','from','_handleFootnoteDefinitionsChanges','singleton','_footnoteRefsTracker','_insertEmptyFootnotesDefinitionsContainer','_handleMovedFootnoteReference','document','getAttribute','change:data','_footnotesDefinitions','5152572RcJadk','_handleFootnotesDefinitionsObjectSync','_footnoteDefsContainerTracker','setFootnoteFormatter','_handleFootnoteReferencesChanges','footnoteRef','paragraph','listenTo','high','_handleInsertedFootnoteReference','createPositionBefore','config','editor','before','findIndex','some','FootnotesTracker','isEqual','getRootNames','getChildren','move','differ','has','min','footnotes.multiBlock','footnoteCounter'];_0x4d7a=function(){return _0x56d83f;};return _0x4d7a();}function _0x25cc(_0x2aff1a,_0x1fb0f0){const _0x4d7a9b=_0x4d7a();return _0x25cc=function(_0x25cc25,_0x1ba94e){_0x25cc25=_0x25cc25-0x6a;let _0x22bd7e=_0x4d7a9b[_0x25cc25];return _0x22bd7e;},_0x25cc(_0x2aff1a,_0x1fb0f0);}function I(_0xf01f10,_0x3f1eab,_0x63af74){const _0x573d14=_0x5db7df;if(0x0===_0x3f1eab[_0x573d14(0xb5)])return 0x0;const _0x3f9712=_0xf01f10[_0x573d14(0x7c)](_0x63af74);for(let _0x1c025f=0x0;_0x1c025f<_0x3f1eab[_0x573d14(0xb5)];_0x1c025f++){const _0x51513a=_0x3f1eab[_0x1c025f],_0x1da0ef=_0xf01f10[_0x573d14(0x7c)](_0x51513a[_0x573d14(0x97)]);if(_0x573d14(0x7f)===_0x3f9712[_0x573d14(0x98)](_0x1da0ef))return _0x1c025f;}const _0x2ce4ec=_0x63af74[_0x573d14(0x9c)];let _0x285ae1=-0x1;for(let _0x46d058=_0x3f1eab[_0x573d14(0xb5)]-0x1;_0x46d058>=0x0;_0x46d058--)if(_0x3f1eab[_0x46d058][_0x573d14(0x97)][_0x573d14(0x9c)]===_0x2ce4ec){_0x285ae1=_0x46d058;break;}if(-0x1!==_0x285ae1)return _0x285ae1+0x1;const _0xcecd3=_0xf01f10[_0x573d14(0x6e)][_0x573d14(0x84)](),_0x1389b3=_0xcecd3[_0x573d14(0xa7)](_0x2ce4ec[_0x573d14(0xba)]),_0x516dcb=_0xcecd3[_0x1389b3+0x1];if(_0x516dcb){for(let _0x2712b1=0x0;_0x2712b1<_0x3f1eab[_0x573d14(0xb5)];_0x2712b1++)if(_0x3f1eab[_0x2712b1][_0x573d14(0x97)][_0x573d14(0x9c)][_0x573d14(0xba)]===_0x516dcb)return _0x2712b1;}return _0x3f1eab[_0x573d14(0xb5)];}
23
+ const _0xcece8e=_0x1ec4;function _0x2112(){const _0x3451fe=['some','remove','_sortFootnoteDefinitions','_ensureFootnotesDefinitionsContainerExists','insert','15syfAHy','move','footnoteDefinition','listenTo','end','after','7QGxjFR','6843992EEIcdq','_footnotesDefinitions','find','_footnoteFormatter','_handleInsertedFootnoteReference','length','getFootnotesDefinitionsObjectElement','min','_ensureFootnotesReferencesHaveProperOrder','reset','footnoteId','differ','getChanges','get','getChildren','getAttribute','createRangeIn','init','FootnotesTracker','set','enqueueChange','unshift','setFootnoteFormatter','createPositionAt','root','_updateFootnotesCounters','isPremiumPlugin','map','childCount','setAttribute','_footnoteDefsContainerTracker','footnoteCounter','_footnoteRefsTracker','footnoteRef','findIndex','document','2lhwWGO','isEqual','3345216KpPmvB','singleton','high','add','createElement','413422cuXpqR','footnoteInlineContent','_handleFootnotesDefinitionsObjectSync','_footnotes','createRangeOn','footnotesDefinitions','editor','3353985BjbArA','1639884zFPcjM','compareWith','low','pluginName','change:data','_insertEmptyFootnotesDefinitionsContainer','12641994KdFmbs','_footnoteDefsTracker','indexOf','has','append','registerPostFixer','$graveyard','_handleRemoveFootnoteReferenceById','_handleFootnoteReferencesChanges','footnotes.multiBlock','paragraph','_handleMovedFootnoteReference','reference','createPositionBefore','877700COYHVc','getFootnote','before','splice','config','parent','definition','rootName','_handleFootnotesDefinitionsObjectChanges','getFootnotes','getRootNames','model','_updateFootnoteRefCounter','push','from','isOfficialPlugin','getFootnotesFormatter','_handleFootnoteDefinitionsChanges'];_0x2112=function(){return _0x3451fe;};return _0x2112();}(function(_0x1a6e0c,_0xaf57f5){const _0x16bfb8=_0x1ec4,_0x32ae17=_0x1a6e0c();while(!![]){try{const _0x2b9259=-parseInt(_0x16bfb8(0xa2))/0x1*(-parseInt(_0x16bfb8(0x9b))/0x2)+-parseInt(_0x16bfb8(0xa9))/0x3+parseInt(_0x16bfb8(0xaa))/0x4*(-parseInt(_0x16bfb8(0xd5))/0x5)+parseInt(_0x16bfb8(0x9d))/0x6+parseInt(_0x16bfb8(0xdb))/0x7*(parseInt(_0x16bfb8(0xdc))/0x8)+parseInt(_0x16bfb8(0xb0))/0x9+-parseInt(_0x16bfb8(0xbe))/0xa;if(_0x2b9259===_0xaf57f5)break;else _0x32ae17['push'](_0x32ae17['shift']());}catch(_0x3e1351){_0x32ae17['push'](_0x32ae17['shift']());}}}(_0x2112,0xc2335));import{Plugin as _0x1b038e}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4a1c03}from'./modelelementtracker.js';function _0x1ec4(_0x214317,_0x488b46){const _0x21122c=_0x2112();return _0x1ec4=function(_0x1ec497,_0x413cc9){_0x1ec497=_0x1ec497-0x99;let _0x478af7=_0x21122c[_0x1ec497];return _0x478af7;},_0x1ec4(_0x214317,_0x488b46);}export class FootnotesTracker extends _0x1b038e{[_0xcece8e(0xa5)]=[];[_0xcece8e(0xdd)]=null;[_0xcece8e(0xdf)]=null;[_0xcece8e(0xfa)];[_0xcece8e(0xfc)];[_0xcece8e(0xb1)];static get[_0xcece8e(0xad)](){const _0x31dd16=_0xcece8e;return _0x31dd16(0xee);}static get[_0xcece8e(0xcd)](){return!0x0;}static get[_0xcece8e(0xf6)](){return!0x0;}constructor(_0x22fad1){const _0x1fb157=_0xcece8e;super(_0x22fad1),this[_0x1fb157(0xfa)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xa7),'getElementKey':()=>_0x1fb157(0x9e)}),this[_0x1fb157(0xfc)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xfd),'getElementKey':_0x1c6910=>_0x1c6910[_0x1fb157(0xeb)](_0x1fb157(0xe6))}),this[_0x1fb157(0xb1)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xd7),'getElementKey':_0x5c51aa=>_0x5c51aa[_0x1fb157(0xeb)](_0x1fb157(0xe6))});}[_0xcece8e(0xed)](){const _0xaf80f4=_0xcece8e,{editor:_0x516ad2}=this,{model:_0x2948ec,data:_0x100ff0}=_0x516ad2;_0x2948ec[_0xaf80f4(0x9a)][_0xaf80f4(0xb5)](_0xc00b3d=>{const _0x2f59d9=_0xaf80f4,_0x5750ae=_0x2948ec[_0x2f59d9(0x9a)][_0x2f59d9(0xe7)][_0x2f59d9(0xe8)]();let _0xe5b399=!0x1;return this[_0x2f59d9(0xc6)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xcf)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xb8)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xe4)](_0xc00b3d)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xa4)](_0xc00b3d)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xd2)](_0xc00b3d)&&(_0xe5b399=!0x0),_0xe5b399;}),this[_0xaf80f4(0xd8)](_0x2948ec[_0xaf80f4(0x9a)],_0xaf80f4(0xae),()=>{const _0x325575=_0xaf80f4;_0x2948ec[_0x325575(0xf0)]({'isUndoable':!0x1},_0xc3fb89=>{const _0x1eb16b=_0x325575;this[_0x1eb16b(0xd3)](_0xc3fb89);});},{'priority':_0xaf80f4(0xac)}),this[_0xaf80f4(0xd8)](_0x100ff0,_0xaf80f4(0xef),()=>{const _0x3f2c5b=_0xaf80f4;this[_0x3f2c5b(0xa5)]=[],this[_0x3f2c5b(0xfa)][_0x3f2c5b(0xe5)](),this[_0x3f2c5b(0xfc)][_0x3f2c5b(0xe5)](),this[_0x3f2c5b(0xb1)][_0x3f2c5b(0xe5)]();},{'priority':_0xaf80f4(0x9f)});}[_0xcece8e(0xe2)](){const _0x23773b=_0xcece8e;return this[_0x23773b(0xdd)];}[_0xcece8e(0xbf)](_0x5b6db9){const _0x5b68ca=_0xcece8e;return this[_0x5b68ca(0xa5)][_0x5b68ca(0xde)](_0xb7ceff=>_0xb7ceff['id']===_0x5b6db9)||null;}[_0xcece8e(0xc7)](){const _0x17823b=_0xcece8e;return Array[_0x17823b(0xcc)](this[_0x17823b(0xa5)]);}[_0xcece8e(0xce)](){const _0x62f773=_0xcece8e;return this[_0x62f773(0xdf)];}[_0xcece8e(0xf2)](_0x24fcc7){const _0x36d603=_0xcece8e;this[_0x36d603(0xdf)]=_0x24fcc7;}[_0xcece8e(0xf5)](_0x5750b3,_0x5cb332=0x0){const _0xf95bb6=_0xcece8e;let _0x297b36=!0x1;for(let _0x3d94fc=_0x5cb332;_0x3d94fc<this[_0xf95bb6(0xa5)][_0xf95bb6(0xe1)];_0x3d94fc++)this[_0xf95bb6(0xca)](_0x5750b3,_0x3d94fc)&&(_0x297b36=!0x0);return _0x297b36;}[_0xcece8e(0xaf)](_0x541b65,_0x3abb14){const _0x50fcd0=_0xcece8e,_0x884462=_0x541b65[_0x50fcd0(0xa1)](_0x50fcd0(0xa7),{});return _0x541b65[_0x50fcd0(0xb4)](_0x884462,_0x3abb14),this[_0x50fcd0(0xdd)]=_0x884462,_0x884462;}[_0xcece8e(0xd3)](_0x20bfec){const _0x231e29=_0xcece8e;if(!this[_0x231e29(0xa5)][_0x231e29(0xe1)]||this[_0x231e29(0xdd)])return;const _0x4ec6fe=this[_0x231e29(0xa5)][0x0][_0x231e29(0xbc)][_0x231e29(0xf4)],_0x49b5c1=this[_0x231e29(0xaf)](_0x20bfec,_0x4ec6fe);for(const _0xa580f3 of this[_0x231e29(0xa5)])_0xa580f3[_0x231e29(0xc4)][_0x231e29(0xc3)]||_0x20bfec[_0x231e29(0xd4)](_0xa580f3[_0x231e29(0xc4)],_0x49b5c1,_0x231e29(0xd9));this[_0x231e29(0xf5)](_0x20bfec);}[_0xcece8e(0xc6)](_0x327668,_0x5d6368){const _0x258623=_0xcece8e;let _0x24bcb2=!0x1;const {inserted:_0x3c21be,removed:_0x18c8db,moved:_0x20bcbb}=this[_0x258623(0xfa)][_0x258623(0xe8)](_0x5d6368);if(_0x20bcbb[_0x258623(0xe1)]&&(this[_0x258623(0xdd)]=_0x20bcbb[0x0]),_0x3c21be[_0x258623(0xe1)]){if(_0x3c21be[_0x258623(0xe1)]>0x1||this[_0x258623(0xdd)]&&_0x3c21be[_0x258623(0xd0)](_0x4ec656=>_0x4ec656!==this[_0x258623(0xdd)])){const _0x3c7c7e=_0x327668[_0x258623(0xa1)](_0x258623(0xa7),{}),_0x3d74c1=[];this[_0x258623(0xdd)]&&_0x3d74c1[_0x258623(0xcb)](this[_0x258623(0xdd)]),_0x3d74c1[_0x258623(0xcb)](..._0x3c21be),_0x327668[_0x258623(0xd4)](_0x3c7c7e,_0x3d74c1[0x0],_0x258623(0xc0));for(const _0xa7cd1b of _0x3d74c1)_0x327668[_0x258623(0xd6)](_0x327668[_0x258623(0xec)](_0xa7cd1b),_0x327668[_0x258623(0xf3)](_0x3c7c7e,_0x258623(0xd9))),_0x327668[_0x258623(0xd1)](_0xa7cd1b);this[_0x258623(0xdd)]=_0x3c7c7e,this[_0x258623(0xf5)](_0x327668),_0x24bcb2=!0x0;}else this[_0x258623(0xdd)]=_0x3c21be[0x0];}if(_0x18c8db[_0x258623(0xe1)]&&_0x258623(0xb6)===this[_0x258623(0xdd)]?.[_0x258623(0xf4)][_0x258623(0xc5)]){for(const _0x47d2ed of this[_0x258623(0xa5)])_0x327668[_0x258623(0xd1)](_0x47d2ed[_0x258623(0xbc)]),_0x24bcb2=!0x0;this[_0x258623(0xa5)]=[],this[_0x258623(0xdd)]=null;}return _0x24bcb2;}[_0xcece8e(0xcf)](_0x52ce97,_0x58f762){const _0x3a7f89=_0xcece8e;let _0x207188=!0x1;const _0x2da765=this[_0x3a7f89(0xa8)][_0x3a7f89(0xc2)][_0x3a7f89(0xe9)](_0x3a7f89(0xb9)),{inserted:_0x28f3e2,moved:_0x15d7a6}=this[_0x3a7f89(0xb1)][_0x3a7f89(0xe8)](_0x58f762);for(const _0x425f14 of[..._0x15d7a6,..._0x28f3e2]){const _0x2810f8=_0x425f14[_0x3a7f89(0xeb)](_0x3a7f89(0xe6)),_0x339e17=this[_0x3a7f89(0xbf)](_0x2810f8);_0x339e17&&(_0x339e17[_0x3a7f89(0xc4)]=_0x425f14),_(_0x52ce97,_0x2da765,_0x425f14)&&(_0x207188=!0x0);}return _0x207188;}[_0xcece8e(0xb8)](_0x12327a,_0x3be17e){const _0x1f6f33=_0xcece8e;let _0x11ebf0=!0x1;const {removed:_0x4d5b0d,inserted:_0x5e98e6,moved:_0x25625}=this[_0x1f6f33(0xfc)][_0x1f6f33(0xe8)](_0x3be17e);for(const _0x1e9b43 of _0x4d5b0d)this[_0x1f6f33(0xb7)](_0x12327a,_0x1e9b43)&&(_0x11ebf0=!0x0);for(const _0x27e29f of _0x5e98e6)this[_0x1f6f33(0xe0)](_0x12327a,_0x27e29f)&&(_0x11ebf0=!0x0);for(const _0x2c96e7 of _0x25625)this[_0x1f6f33(0xbb)](_0x12327a,_0x2c96e7)&&(_0x11ebf0=!0x0);return _0x11ebf0;}[_0xcece8e(0xa4)](_0x44e736){const _0x1f72e3=_0xcece8e;if(!this[_0x1f72e3(0xdd)])return!0x1;let _0x4a8b1f=!0x1;if(this[_0x1f72e3(0xdd)][_0x1f72e3(0xf8)]!==this[_0x1f72e3(0xa5)][_0x1f72e3(0xe1)]){const _0x4cd53c=[];for(const _0x35cb3d of this[_0x1f72e3(0xdd)][_0x1f72e3(0xea)]()){const _0x134d71=_0x35cb3d[_0x1f72e3(0xeb)](_0x1f72e3(0xe6));this[_0x1f72e3(0xbf)](_0x134d71)||(_0x4cd53c[_0x1f72e3(0xf1)](_0x35cb3d),_0x4a8b1f=!0x0);}for(const _0x4932e0 of _0x4cd53c)_0x44e736[_0x1f72e3(0xd1)](_0x4932e0);}const _0x1f9511=new Set(),_0x336eb5=[];for(const _0x3aa795 of this[_0x1f72e3(0xdd)][_0x1f72e3(0xea)]()){const _0x20af45=_0x3aa795[_0x1f72e3(0xeb)](_0x1f72e3(0xe6));_0x1f9511[_0x1f72e3(0xb3)](_0x20af45)?(_0x336eb5[_0x1f72e3(0xf1)](_0x3aa795),_0x4a8b1f=!0x0):_0x1f9511[_0x1f72e3(0xa0)](_0x20af45);}for(const _0x4eb58e of _0x336eb5)_0x44e736[_0x1f72e3(0xd1)](_0x4eb58e);return this[_0x1f72e3(0xdd)][_0x1f72e3(0xf8)]||(_0x44e736[_0x1f72e3(0xd1)](this[_0x1f72e3(0xdd)]),this[_0x1f72e3(0xdd)]=null,_0x4a8b1f=!0x0),_0x4a8b1f;}[_0xcece8e(0xe0)](_0x48b4b6,_0x2dcee){const _0x2055cc=_0xcece8e;if(this[_0x2055cc(0xa5)][_0x2055cc(0xde)](_0xcd15ef=>_0xcd15ef[_0x2055cc(0xbc)]===_0x2dcee))return!0x1;let _0x11464b=!0x1;const _0x3c976a=_0x2dcee[_0x2055cc(0xeb)](_0x2055cc(0xe6)),_0xd018a4=this[_0x2055cc(0xa5)][_0x2055cc(0x99)](_0x4d58d8=>_0x4d58d8['id']===_0x3c976a);-0x1!==_0xd018a4&&(_0x48b4b6[_0x2055cc(0xd1)](this[_0x2055cc(0xa5)][_0xd018a4][_0x2055cc(0xbc)]),this[_0x2055cc(0xa5)][_0x2055cc(0xc1)](_0xd018a4,0x1),_0x11464b=!0x0);let _0x39c7d7=this[_0x2055cc(0xdd)]?function(_0x14d230,_0x1418b3){const _0x12a731=_0x2055cc;for(const _0x5f5b20 of _0x14d230[_0x12a731(0xea)]())if(_0x5f5b20[_0x12a731(0xeb)](_0x12a731(0xe6))===_0x1418b3)return _0x5f5b20;return null;}(this[_0x2055cc(0xdd)],_0x3c976a):null;_0x39c7d7||(_0x39c7d7=_0x48b4b6[_0x2055cc(0xa1)](_0x2055cc(0xd7),{'footnoteId':_0x3c976a}),this[_0x2055cc(0xdd)]&&(_0x48b4b6[_0x2055cc(0xd4)](_0x39c7d7,this[_0x2055cc(0xdd)],_0x2055cc(0xd9)),_0x11464b=!0x0));const _0x50bb37={'id':_0x3c976a,'reference':_0x2dcee,'definition':_0x39c7d7},_0x5b3130=I(this[_0x2055cc(0xa8)][_0x2055cc(0xc9)],this[_0x2055cc(0xa5)],_0x2dcee);this[_0x2055cc(0xa5)][_0x2055cc(0xc1)](_0x5b3130,0x0,_0x50bb37);let _0x2fc9a6=_0x5b3130;return-0x1!==_0xd018a4&&(_0x2fc9a6=Math[_0x2055cc(0xe3)](_0x5b3130,_0xd018a4)),this[_0x2055cc(0xf5)](_0x48b4b6,_0x2fc9a6)&&(_0x11464b=!0x0),_0x11464b;}[_0xcece8e(0xb7)](_0xaa57a1,_0x4e20ed){const _0x3cf70e=_0xcece8e,_0x579cf7=this[_0x3cf70e(0xa5)][_0x3cf70e(0x99)](_0x4e4640=>_0x4e4640['id']===_0x4e20ed);if(-0x1===_0x579cf7)return!0x1;let _0x2a432e=!0x1;const _0x4536be=this[_0x3cf70e(0xa5)][_0x579cf7];return _0x3cf70e(0xb6)!==_0x4536be[_0x3cf70e(0xc4)][_0x3cf70e(0xf4)][_0x3cf70e(0xc5)]&&(_0xaa57a1[_0x3cf70e(0xd1)](_0x4536be[_0x3cf70e(0xc4)]),_0x2a432e=!0x0),this[_0x3cf70e(0xa5)][_0x3cf70e(0xc1)](_0x579cf7,0x1),this[_0x3cf70e(0xf5)](_0xaa57a1,_0x579cf7)&&(_0x2a432e=!0x0),_0x2a432e;}[_0xcece8e(0xbb)](_0x470089,_0x9d6f5c){const _0x2e7187=_0xcece8e,_0x25b926=_0x9d6f5c[_0x2e7187(0xeb)](_0x2e7187(0xe6)),_0xf6e3d2=this[_0x2e7187(0xa5)][_0x2e7187(0x99)](_0x57017e=>_0x57017e['id']===_0x25b926),_0x2badad=this[_0x2e7187(0xa5)][_0xf6e3d2];let _0x181402=!0x1;_0x2badad[_0x2e7187(0xbc)]=_0x9d6f5c,this[_0x2e7187(0xa5)][_0x2e7187(0xc1)](_0xf6e3d2,0x1);const _0xb79a04=I(this[_0x2e7187(0xa8)][_0x2e7187(0xc9)],this[_0x2e7187(0xa5)],_0x9d6f5c);return this[_0x2e7187(0xa5)][_0x2e7187(0xc1)](_0xb79a04,0x0,_0x2badad),this[_0x2e7187(0xf5)](_0x470089,Math[_0x2e7187(0xe3)](_0xf6e3d2,_0xb79a04))&&(_0x181402=!0x0),_0x181402;}[_0xcece8e(0xca)](_0x44a5ad,_0x5e5e87){const _0x5c1862=_0xcece8e;if(!this[_0x5c1862(0xdd)])return!0x1;const _0x1674c1=this[_0x5c1862(0xa5)][_0x5e5e87];let _0x41fe8c;return _0x41fe8c=this[_0x5c1862(0xdf)]?this[_0x5c1862(0xdf)]({'footnote':_0x1674c1,'container':this[_0x5c1862(0xdd)],'digits':String(this[_0x5c1862(0xa5)][_0x5c1862(0xe1)])[_0x5c1862(0xe1)],'value':_0x5e5e87+0x1}):String(_0x5e5e87+0x1),_0x1674c1[_0x5c1862(0xbc)][_0x5c1862(0xeb)](_0x5c1862(0xfb))!=_0x41fe8c&&(_0x44a5ad[_0x5c1862(0xf9)](_0x5c1862(0xfb),_0x41fe8c,_0x1674c1[_0x5c1862(0xbc)]),!0x0);}[_0xcece8e(0xd2)](_0x45eff8){const _0x24189d=_0xcece8e;if(!this[_0x24189d(0xdd)]||this[_0x24189d(0xa5)][_0x24189d(0xe1)]<0x2)return!0x1;if(function(_0x5c9aac,_0x217897){const _0x841485=_0x24189d;if(_0x5c9aac[_0x841485(0xe1)]!==_0x217897[_0x841485(0xe1)])return!0x1;for(let _0x378cc7=0x0;_0x378cc7<_0x5c9aac[_0x841485(0xe1)];_0x378cc7++)if(_0x5c9aac[_0x378cc7]!==_0x217897[_0x378cc7])return!0x1;return!0x0;}(this[_0x24189d(0xa5)][_0x24189d(0xf7)](_0x25c239=>_0x25c239['id']),Array[_0x24189d(0xcc)](this[_0x24189d(0xdd)][_0x24189d(0xea)]())[_0x24189d(0xf7)](_0x1201a3=>_0x1201a3[_0x24189d(0xeb)](_0x24189d(0xe6)))))return!0x1;let _0x40994e=!0x1;for(let _0x570e67=0x0;_0x570e67<this[_0x24189d(0xa5)][_0x24189d(0xe1)];_0x570e67++){const _0x300eb7=this[_0x24189d(0xa5)][_0x570e67],_0x3f05e7=_0x45eff8[_0x24189d(0xbd)](_0x300eb7[_0x24189d(0xc4)]),_0x2a3497=_0x45eff8[_0x24189d(0xf3)](this[_0x24189d(0xdd)],_0x570e67);_0x3f05e7[_0x24189d(0x9c)](_0x2a3497)||(_0x45eff8[_0x24189d(0xd6)](_0x45eff8[_0x24189d(0xa6)](_0x300eb7[_0x24189d(0xc4)]),_0x2a3497),_0x40994e=!0x0);}return _0x40994e;}[_0xcece8e(0xe4)](_0x5b905d){const _0x554c19=_0xcece8e;if(!this[_0x554c19(0xa5)][_0x554c19(0xe1)])return!0x1;const {model:_0x101fa4}=this[_0x554c19(0xa8)];let _0x18c8af=!0x1;for(let _0xe71196=0x0;_0xe71196<this[_0x554c19(0xa5)][_0x554c19(0xe1)]-0x1;_0xe71196++){const _0x557baa=this[_0x554c19(0xa5)][_0xe71196],_0x27a3c6=this[_0x554c19(0xa5)][_0xe71196+0x1],_0x497a20=_0x101fa4[_0x554c19(0xbd)](_0x557baa[_0x554c19(0xbc)]),_0xcc0ba=_0x101fa4[_0x554c19(0xbd)](_0x27a3c6[_0x554c19(0xbc)]);_0x554c19(0xda)===_0x497a20[_0x554c19(0xab)](_0xcc0ba)&&(this[_0x554c19(0xbb)](_0x5b905d,_0x557baa[_0x554c19(0xbc)]),_0xe71196=-0x1,_0x18c8af=!0x0);}return _0x18c8af;}}function _(_0x356311,_0x4b16cd,_0x1b75f3){const _0x2ad60a=_0xcece8e;if(_0x1b75f3[_0x2ad60a(0xf8)])return!0x1;const _0x316350=_0x4b16cd?_0x2ad60a(0xba):_0x2ad60a(0xa3);return _0x356311[_0x2ad60a(0xd4)](_0x356311[_0x2ad60a(0xa1)](_0x316350),_0x1b75f3),!0x0;}function I(_0x3a5a91,_0x46fa7f,_0x88a888){const _0x4c78ea=_0xcece8e;if(0x0===_0x46fa7f[_0x4c78ea(0xe1)])return 0x0;const _0x56ba9d=_0x3a5a91[_0x4c78ea(0xbd)](_0x88a888);for(let _0xe1d80c=0x0;_0xe1d80c<_0x46fa7f[_0x4c78ea(0xe1)];_0xe1d80c++){const _0x18124d=_0x46fa7f[_0xe1d80c],_0x45bb91=_0x3a5a91[_0x4c78ea(0xbd)](_0x18124d[_0x4c78ea(0xbc)]);if(_0x4c78ea(0xc0)===_0x56ba9d[_0x4c78ea(0xab)](_0x45bb91))return _0xe1d80c;}const _0x506ae8=_0x88a888[_0x4c78ea(0xf4)];let _0x42e3d4=-0x1;for(let _0x48e7b8=_0x46fa7f[_0x4c78ea(0xe1)]-0x1;_0x48e7b8>=0x0;_0x48e7b8--)if(_0x46fa7f[_0x48e7b8][_0x4c78ea(0xbc)][_0x4c78ea(0xf4)]===_0x506ae8){_0x42e3d4=_0x48e7b8;break;}if(-0x1!==_0x42e3d4)return _0x42e3d4+0x1;const _0xbfa98b=_0x3a5a91[_0x4c78ea(0x9a)][_0x4c78ea(0xc8)](),_0x315387=_0xbfa98b[_0x4c78ea(0xb2)](_0x506ae8[_0x4c78ea(0xc5)]),_0x518d1a=_0xbfa98b[_0x315387+0x1];if(_0x518d1a){for(let _0x20a3cf=0x0;_0x20a3cf<_0x46fa7f[_0x4c78ea(0xe1)];_0x20a3cf++)if(_0x46fa7f[_0x20a3cf][_0x4c78ea(0xbc)][_0x4c78ea(0xf4)][_0x4c78ea(0xc5)]===_0x518d1a)return _0x20a3cf;}return _0x46fa7f[_0x4c78ea(0xe1)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3318ce,MenuBarMenuListItemButtonView as _0x2b3d18}from'ckeditor5/src/ui.js';import{Plugin as _0x31a4ef}from'ckeditor5/src/core.js';import{IconFootnote as _0x1eecc1}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x31a4ef{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x184735}=this,{componentFactory:_0x323f4f}=_0x184735['ui'];_0x323f4f['add']('insertFootnote',x(_0x184735,_0x3318ce)),_0x323f4f['add']('menuBar:insertFootnote',x(_0x184735,_0x2b3d18)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f516a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56dd2c;for(const _0xb1824 in _0x3f516a){const _0x3f969c=_0xb1824,_0x256ca6=_0x3f516a[_0x3f969c];if('footnotesLicenseKeyValid'==_0x256ca6||'footnotesLicenseKeyInvalid'==_0x256ca6||'footnotesLicenseKeyExpired'==_0x256ca6||'footnotesLicenseKeyDomainLimit'==_0x256ca6||'footnotesLicenseKeyNotAllowed'==_0x256ca6||'footnotesLicenseKeyEvaluationLimit'==_0x256ca6||'footnotesLicenseKeyTrialLimit'==_0x256ca6||'footnotesLicenseKeyUsageLimit'==_0x256ca6){delete _0x3f516a[_0x3f969c],_0x56dd2c=_0x256ca6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x56dd2c&&_0x3f516a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x56dd2c&&_0x3f516a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x56dd2c&&_0x3f516a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2a4d64,_0x24b21c){const _0x3d6834=_0x2a4d64['commands']['get']('insertFootnote');return _0x617de4=>{const {t:t}=_0x617de4,_0x68684a=new _0x24b21c(_0x617de4),_0x5cf499=_0x68684a instanceof _0x2b3d18;return _0x68684a['bind']('isEnabled')['to'](_0x3d6834,'isEnabled'),_0x68684a['set']({'label':t(_0x5cf499?'Footnote':'Insert\x20footnote'),'icon':_0x1eecc1,'tooltip':!0x0}),_0x68684a['on']('execute',()=>{_0x3d6834['execute'](),_0x2a4d64['editing']['view']['focus']();}),_0x68684a;};}
23
+ import{ButtonView as _0x47398e,MenuBarMenuListItemButtonView as _0x393c9d}from'ckeditor5/src/ui.js';import{Plugin as _0x2fb940}from'ckeditor5/src/core.js';import{IconFootnote as _0x52e584}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2fb940{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47bf53}=this,{componentFactory:_0x85459}=_0x47bf53['ui'];_0x85459['add']('insertFootnote',x(_0x47bf53,_0x47398e)),_0x85459['add']('menuBar:insertFootnote',x(_0x47bf53,_0x393c9d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb2f30e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fadac;for(const _0x2ec975 in _0xb2f30e){const _0x3e0e50=_0x2ec975,_0x5eb0e4=_0xb2f30e[_0x3e0e50];if('footnotesLicenseKeyValid'==_0x5eb0e4||'footnotesLicenseKeyInvalid'==_0x5eb0e4||'footnotesLicenseKeyExpired'==_0x5eb0e4||'footnotesLicenseKeyDomainLimit'==_0x5eb0e4||'footnotesLicenseKeyNotAllowed'==_0x5eb0e4||'footnotesLicenseKeyEvaluationLimit'==_0x5eb0e4||'footnotesLicenseKeyTrialLimit'==_0x5eb0e4||'footnotesLicenseKeyUsageLimit'==_0x5eb0e4){delete _0xb2f30e[_0x3e0e50],_0x1fadac=_0x5eb0e4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1fadac&&_0xb2f30e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1fadac&&_0xb2f30e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1fadac&&_0xb2f30e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x52e2b5,_0x3eb3dd){const _0x14bd94=_0x52e2b5['commands']['get']('insertFootnote');return _0x3fd8d2=>{const {t:t}=_0x3fd8d2,_0x29bcd5=new _0x3eb3dd(_0x3fd8d2),_0xf633ce=_0x29bcd5 instanceof _0x393c9d;return _0x29bcd5['bind']('isEnabled')['to'](_0x14bd94,'isEnabled'),_0x29bcd5['set']({'label':t(_0xf633ce?'Footnote':'Insert\x20footnote'),'icon':_0x52e584,'tooltip':!0x0}),_0x29bcd5['on']('execute',()=>{_0x14bd94['execute'](),_0x52e2b5['editing']['view']['focus']();}),_0x29bcd5;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5ec001,_0x5db83f){var _0x2529d4=_0x1f49,_0x48f697=_0x5ec001();while(!![]){try{var _0x31e98b=-parseInt(_0x2529d4(0x157))/0x1+parseInt(_0x2529d4(0x155))/0x2*(parseInt(_0x2529d4(0x156))/0x3)+parseInt(_0x2529d4(0x15a))/0x4*(-parseInt(_0x2529d4(0x15b))/0x5)+-parseInt(_0x2529d4(0x154))/0x6+parseInt(_0x2529d4(0x152))/0x7*(-parseInt(_0x2529d4(0x151))/0x8)+-parseInt(_0x2529d4(0x159))/0x9+-parseInt(_0x2529d4(0x153))/0xa*(-parseInt(_0x2529d4(0x158))/0xb);if(_0x31e98b===_0x5db83f)break;else _0x48f697['push'](_0x48f697['shift']());}catch(_0x179064){_0x48f697['push'](_0x48f697['shift']());}}}(_0x22a3,0xe33ab));import'./augmentation.js';function _0x1f49(_0x31e397,_0x4431c4){var _0x22a310=_0x22a3();return _0x1f49=function(_0x1f490a,_0x5f2992){_0x1f490a=_0x1f490a-0x151;var _0x5ae60a=_0x22a310[_0x1f490a];return _0x5ae60a;},_0x1f49(_0x31e397,_0x4431c4);}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x22a3(){var _0xf0ab2f=['4939HFvPWu','16160274RvSywY','1880UXcSeD','12275AKPCdo','232fAAmGZ','85295PCpvlT','100260KcdUhl','1223970MXyojM','2115938tWVUQh','3QHAYqL','1122116tJnJnM'];_0x22a3=function(){return _0xf0ab2f;};return _0x22a3();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x329f74,_0xcececb){var _0x33e406=_0xd529,_0x2d2df8=_0x329f74();while(!![]){try{var _0x29374d=parseInt(_0x33e406(0xfd))/0x1*(parseInt(_0x33e406(0x101))/0x2)+-parseInt(_0x33e406(0xfe))/0x3*(-parseInt(_0x33e406(0xfa))/0x4)+-parseInt(_0x33e406(0x103))/0x5*(-parseInt(_0x33e406(0x100))/0x6)+-parseInt(_0x33e406(0xfb))/0x7+-parseInt(_0x33e406(0x102))/0x8+-parseInt(_0x33e406(0xff))/0x9+parseInt(_0x33e406(0xfc))/0xa;if(_0x29374d===_0xcececb)break;else _0x2d2df8['push'](_0x2d2df8['shift']());}catch(_0x2790f3){_0x2d2df8['push'](_0x2d2df8['shift']());}}}(_0x53cb,0xa47d9));function _0x53cb(){var _0x1110fc=['127926QOLZGS','2QDNSRx','7120104orQIUi','85WyiDbw','40AMDGTW','4665269QsabnG','6099620fOaomP','1191735gqSKRO','63069MnHPEX','1297359bZlapB'];_0x53cb=function(){return _0x1110fc;};return _0x53cb();}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0xd529(_0x4a9ea0,_0x31764d){var _0x53cba1=_0x53cb();return _0xd529=function(_0xd52945,_0x479494){_0xd52945=_0xd52945-0xfa;var _0x3865fa=_0x53cba1[_0xd52945];return _0x3865fa;},_0xd529(_0x4a9ea0,_0x31764d);}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8cf7c2=_0x27b3;function _0x4a8d(){const _0x419673=['insert','slice','values','clear','_model','rootName','elementName','element','75inMGCB','push','getElementKey','name','from','get','reset','590584AMdyMJ','nodeAfter','$text','attributes','flat','_elementName','length','remove','_getElementKey','4308ldUwCQ','add','type','getChanges','27agKfWx','34441LEkOhH','$graveyard','getItems','root','_trackedElements','896210OFOhbE','delete','set','131178QGQaOg','createRangeOn','position','has','423703eOEXgq','841608QTQHFO','3LuAjyM'];_0x4a8d=function(){return _0x419673;};return _0x4a8d();}(function(_0x257a88,_0x2ebf2f){const _0x1265d4=_0x27b3,_0x21c08b=_0x257a88();while(!![]){try{const _0x11032e=parseInt(_0x1265d4(0xc4))/0x1+-parseInt(_0x1265d4(0xcc))/0x2+-parseInt(_0x1265d4(0xd2))/0x3*(parseInt(_0x1265d4(0xd1))/0x4)+-parseInt(_0x1265d4(0xdb))/0x5*(parseInt(_0x1265d4(0xbf))/0x6)+parseInt(_0x1265d4(0xd0))/0x7+-parseInt(_0x1265d4(0xe2))/0x8*(-parseInt(_0x1265d4(0xc3))/0x9)+parseInt(_0x1265d4(0xc9))/0xa;if(_0x11032e===_0x2ebf2f)break;else _0x21c08b['push'](_0x21c08b['shift']());}catch(_0x1d50e2){_0x21c08b['push'](_0x21c08b['shift']());}}}(_0x4a8d,0x1d203));function _0x27b3(_0x275ab9,_0x23c550){const _0x4a8dc5=_0x4a8d();return _0x27b3=function(_0x27b329,_0xc0d632){_0x27b329=_0x27b329-0xba;let _0x27902c=_0x4a8dc5[_0x27b329];return _0x27902c;},_0x27b3(_0x275ab9,_0x23c550);}export class ModelElementTracker{[_0x8cf7c2(0xd7)];[_0x8cf7c2(0xbb)];[_0x8cf7c2(0xbe)];[_0x8cf7c2(0xc8)]=new Map();constructor(_0x1eac85,_0x1b39dc){const _0x43d85f=_0x8cf7c2;this[_0x43d85f(0xd7)]=_0x1eac85,this[_0x43d85f(0xbb)]=_0x1b39dc[_0x43d85f(0xd9)],this[_0x43d85f(0xbe)]=_0x1b39dc[_0x43d85f(0xdd)];}[_0x8cf7c2(0xe1)](){const _0x283e55=_0x8cf7c2;this[_0x283e55(0xc8)][_0x283e55(0xd6)]();}[_0x8cf7c2(0xc2)](_0x21f5bc){const _0x42eab3=_0x8cf7c2,_0xebabb1=new Set(),_0x37a23d=new Map();for(const _0x218598 of _0x21f5bc){if(_0x42eab3(0xd3)===_0x218598[_0x42eab3(0xc1)]&&_0x42eab3(0xe4)!==_0x218598[_0x42eab3(0xde)]&&_0x218598[_0x42eab3(0xce)][_0x42eab3(0xe3)]){const _0x28eebf=this[_0x42eab3(0xd7)][_0x42eab3(0xcd)](_0x218598[_0x42eab3(0xce)][_0x42eab3(0xe3)]);for(const _0x279b6a of _0x28eebf[_0x42eab3(0xc6)]()){if(!_0x279b6a['is'](_0x42eab3(0xda),this[_0x42eab3(0xbb)]))continue;const _0x3d1fd2=this[_0x42eab3(0xbe)](_0x279b6a);_0x37a23d[_0x42eab3(0xcf)](_0x3d1fd2)||_0x37a23d[_0x42eab3(0xcb)](_0x3d1fd2,[]),_0x37a23d[_0x42eab3(0xe0)](_0x3d1fd2)[_0x42eab3(0xdc)](_0x279b6a);}}if(_0x42eab3(0xbd)===_0x218598[_0x42eab3(0xc1)]&&_0x218598[_0x42eab3(0xde)]===this[_0x42eab3(0xbb)]){const _0x19e340=this[_0x42eab3(0xbe)]({'getAttribute':_0x35635c=>_0x218598[_0x42eab3(0xe5)][_0x42eab3(0xe0)](_0x35635c)});_0xebabb1[_0x42eab3(0xc0)](_0x19e340);}}for(const [_0x317b4e,_0x15b809]of this[_0x42eab3(0xc8)])_0x42eab3(0xc5)===_0x15b809[_0x42eab3(0xc7)][_0x42eab3(0xd8)]&&_0xebabb1[_0x42eab3(0xc0)](_0x317b4e);for(const _0xe8949a of _0xebabb1)this[_0x42eab3(0xc8)][_0x42eab3(0xca)](_0xe8949a);for(const [_0x1a45d2,_0x250a9b]of _0x37a23d)this[_0x42eab3(0xc8)][_0x42eab3(0xcb)](_0x1a45d2,_0x250a9b[_0x250a9b[_0x42eab3(0xbc)]-0x1]);const _0x196881=new Set();for(const [_0x20521a,_0x48cb66]of _0x37a23d)_0xebabb1[_0x42eab3(0xcf)](_0x20521a)&&(_0x196881[_0x42eab3(0xc0)](_0x48cb66[0x0]),_0x48cb66[_0x42eab3(0xbc)]>0x1?_0x37a23d[_0x42eab3(0xcb)](_0x20521a,_0x48cb66[_0x42eab3(0xd4)](0x1)):_0x37a23d[_0x42eab3(0xca)](_0x20521a),_0xebabb1[_0x42eab3(0xca)](_0x20521a));return{'removed':Array[_0x42eab3(0xdf)](_0xebabb1),'inserted':Array[_0x42eab3(0xdf)](_0x37a23d[_0x42eab3(0xd5)]())[_0x42eab3(0xba)](),'moved':Array[_0x42eab3(0xdf)](_0x196881)};}}
23
+ function _0x1178(_0x14ee34,_0x232d1b){const _0x4c9531=_0x4c95();return _0x1178=function(_0x1178e2,_0x17445a){_0x1178e2=_0x1178e2-0x7b;let _0x5740e7=_0x4c9531[_0x1178e2];return _0x5740e7;},_0x1178(_0x14ee34,_0x232d1b);}function _0x4c95(){const _0x45a40f=['getChanges','element','reset','flat','root','621fMfhIw','17672BHGtLk','5809951dMUvJd','get','5266140BIgfOa','set','push','clear','getItems','attributes','remove','_model','rootName','_trackedElements','elementName','delete','has','values','from','_elementName','$graveyard','24rRqqTE','type','add','position','439896dADKSG','642836vyCZfL','name','_getElementKey','$text','nodeAfter','getElementKey','slice','length','insert','createRangeOn','217775lwPdEP','2141345HPKxqC'];_0x4c95=function(){return _0x45a40f;};return _0x4c95();}const _0x1fbfe1=_0x1178;(function(_0x5de05a,_0x49d882){const _0x485759=_0x1178,_0x473c28=_0x5de05a();while(!![]){try{const _0x4e009b=-parseInt(_0x485759(0x9a))/0x1+parseInt(_0x485759(0x90))/0x2+-parseInt(_0x485759(0x8b))/0x3*(-parseInt(_0x485759(0x8f))/0x4)+-parseInt(_0x485759(0x9b))/0x5+parseInt(_0x485759(0xa5))/0x6+-parseInt(_0x485759(0xa3))/0x7+-parseInt(_0x485759(0xa2))/0x8*(parseInt(_0x485759(0xa1))/0x9);if(_0x4e009b===_0x49d882)break;else _0x473c28['push'](_0x473c28['shift']());}catch(_0x230851){_0x473c28['push'](_0x473c28['shift']());}}}(_0x4c95,0x6df8a));export class ModelElementTracker{[_0x1fbfe1(0x81)];[_0x1fbfe1(0x89)];[_0x1fbfe1(0x92)];[_0x1fbfe1(0x83)]=new Map();constructor(_0x5a4c6c,_0x158634){const _0x1234b9=_0x1fbfe1;this[_0x1234b9(0x81)]=_0x5a4c6c,this[_0x1234b9(0x89)]=_0x158634[_0x1234b9(0x84)],this[_0x1234b9(0x92)]=_0x158634[_0x1234b9(0x95)];}[_0x1fbfe1(0x9e)](){const _0x531c32=_0x1fbfe1;this[_0x531c32(0x83)][_0x531c32(0x7d)]();}[_0x1fbfe1(0x9c)](_0x419917){const _0x36bf78=_0x1fbfe1,_0x2eaebc=new Set(),_0x298b7a=new Map();for(const _0x14cd7f of _0x419917){if(_0x36bf78(0x98)===_0x14cd7f[_0x36bf78(0x8c)]&&_0x36bf78(0x93)!==_0x14cd7f[_0x36bf78(0x91)]&&_0x14cd7f[_0x36bf78(0x8e)][_0x36bf78(0x94)]){const _0x1b0c71=this[_0x36bf78(0x81)][_0x36bf78(0x99)](_0x14cd7f[_0x36bf78(0x8e)][_0x36bf78(0x94)]);for(const _0x585775 of _0x1b0c71[_0x36bf78(0x7e)]()){if(!_0x585775['is'](_0x36bf78(0x9d),this[_0x36bf78(0x89)]))continue;const _0x387738=this[_0x36bf78(0x92)](_0x585775);_0x298b7a[_0x36bf78(0x86)](_0x387738)||_0x298b7a[_0x36bf78(0x7b)](_0x387738,[]),_0x298b7a[_0x36bf78(0xa4)](_0x387738)[_0x36bf78(0x7c)](_0x585775);}}if(_0x36bf78(0x80)===_0x14cd7f[_0x36bf78(0x8c)]&&_0x14cd7f[_0x36bf78(0x91)]===this[_0x36bf78(0x89)]){const _0x21a448=this[_0x36bf78(0x92)]({'getAttribute':_0x43533e=>_0x14cd7f[_0x36bf78(0x7f)][_0x36bf78(0xa4)](_0x43533e)});_0x2eaebc[_0x36bf78(0x8d)](_0x21a448);}}for(const [_0x2aaac6,_0x4b460c]of this[_0x36bf78(0x83)])_0x36bf78(0x8a)===_0x4b460c[_0x36bf78(0xa0)][_0x36bf78(0x82)]&&_0x2eaebc[_0x36bf78(0x8d)](_0x2aaac6);for(const _0x44707d of _0x2eaebc)this[_0x36bf78(0x83)][_0x36bf78(0x85)](_0x44707d);for(const [_0x1d4e53,_0x39eae6]of _0x298b7a)this[_0x36bf78(0x83)][_0x36bf78(0x7b)](_0x1d4e53,_0x39eae6[_0x39eae6[_0x36bf78(0x97)]-0x1]);const _0x293412=new Set();for(const [_0x579de1,_0x2d8687]of _0x298b7a)_0x2eaebc[_0x36bf78(0x86)](_0x579de1)&&(_0x293412[_0x36bf78(0x8d)](_0x2d8687[0x0]),_0x2d8687[_0x36bf78(0x97)]>0x1?_0x298b7a[_0x36bf78(0x7b)](_0x579de1,_0x2d8687[_0x36bf78(0x96)](0x1)):_0x298b7a[_0x36bf78(0x85)](_0x579de1),_0x2eaebc[_0x36bf78(0x85)](_0x579de1));return{'removed':Array[_0x36bf78(0x88)](_0x2eaebc),'inserted':Array[_0x36bf78(0x88)](_0x298b7a[_0x36bf78(0x87)]())[_0x36bf78(0x9f)](),'moved':Array[_0x36bf78(0x88)](_0x293412)};}}
@@ -70,6 +70,12 @@
70
70
  margin-bottom: 0;
71
71
  }
72
72
 
73
+ /*
74
+ * Footnotes use an ordered list to represent footnote definitions.
75
+ * The problem is that if we insert a list inside a footnote definition, the numbering of the
76
+ * nested list should have the decimal style instead of the lower-latin style. It's lower-latin
77
+ * because we place an ordered list inside another ordered list. It does not affect unordered lists.
78
+ */
73
79
  & ol {
74
80
  list-style-type: decimal;
75
81
  }
@@ -89,22 +95,6 @@
89
95
  & ol ol ol ol ol {
90
96
  list-style-type: upper-roman;
91
97
  }
92
-
93
- & ul {
94
- list-style-type: disc;
95
- }
96
-
97
- & ul ul {
98
- list-style-type: circle;
99
- }
100
-
101
- & ul ul ul {
102
- list-style-type: square;
103
- }
104
-
105
- & ul ul ul ul {
106
- list-style-type: square;
107
- }
108
98
  }
109
99
  }
110
100