@ckeditor/ckeditor5-footnotes 0.0.1 → 47.2.0-alpha.1

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 (411) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +6 -6
  3. package/README.md +44 -3
  4. package/build/footnotes.js +5 -0
  5. package/build/translations/af.js +1 -0
  6. package/build/translations/ar.js +1 -0
  7. package/build/translations/ast.js +1 -0
  8. package/build/translations/az.js +1 -0
  9. package/build/translations/be.js +1 -0
  10. package/build/translations/bg.js +1 -0
  11. package/build/translations/bn.js +1 -0
  12. package/build/translations/bs.js +1 -0
  13. package/build/translations/ca.js +1 -0
  14. package/build/translations/cs.js +1 -0
  15. package/build/translations/da.js +1 -0
  16. package/build/translations/de-ch.js +1 -0
  17. package/build/translations/de.js +1 -0
  18. package/build/translations/el.js +1 -0
  19. package/build/translations/en-au.js +1 -0
  20. package/build/translations/en-gb.js +1 -0
  21. package/build/translations/eo.js +1 -0
  22. package/build/translations/es-co.js +1 -0
  23. package/build/translations/es.js +1 -0
  24. package/build/translations/et.js +1 -0
  25. package/build/translations/eu.js +1 -0
  26. package/build/translations/fa.js +1 -0
  27. package/build/translations/fi.js +1 -0
  28. package/build/translations/fr.js +1 -0
  29. package/build/translations/gl.js +1 -0
  30. package/build/translations/gu.js +1 -0
  31. package/build/translations/he.js +1 -0
  32. package/build/translations/hi.js +1 -0
  33. package/build/translations/hr.js +1 -0
  34. package/build/translations/hu.js +1 -0
  35. package/build/translations/hy.js +1 -0
  36. package/build/translations/id.js +1 -0
  37. package/build/translations/it.js +1 -0
  38. package/build/translations/ja.js +1 -0
  39. package/build/translations/jv.js +1 -0
  40. package/build/translations/kk.js +1 -0
  41. package/build/translations/km.js +1 -0
  42. package/build/translations/kn.js +1 -0
  43. package/build/translations/ko.js +1 -0
  44. package/build/translations/ku.js +1 -0
  45. package/build/translations/lt.js +1 -0
  46. package/build/translations/lv.js +1 -0
  47. package/build/translations/ms.js +1 -0
  48. package/build/translations/nb.js +1 -0
  49. package/build/translations/ne.js +1 -0
  50. package/build/translations/nl.js +1 -0
  51. package/build/translations/no.js +1 -0
  52. package/build/translations/oc.js +1 -0
  53. package/build/translations/pl.js +1 -0
  54. package/build/translations/pt-br.js +1 -0
  55. package/build/translations/pt.js +1 -0
  56. package/build/translations/ro.js +1 -0
  57. package/build/translations/ru.js +1 -0
  58. package/build/translations/si.js +1 -0
  59. package/build/translations/sk.js +1 -0
  60. package/build/translations/sl.js +1 -0
  61. package/build/translations/sq.js +1 -0
  62. package/build/translations/sr-latn.js +1 -0
  63. package/build/translations/sr.js +1 -0
  64. package/build/translations/sv.js +1 -0
  65. package/build/translations/th.js +1 -0
  66. package/build/translations/ti.js +1 -0
  67. package/build/translations/tk.js +1 -0
  68. package/build/translations/tr.js +1 -0
  69. package/build/translations/tt.js +1 -0
  70. package/build/translations/ug.js +1 -0
  71. package/build/translations/uk.js +1 -0
  72. package/build/translations/ur.js +1 -0
  73. package/build/translations/uz.js +1 -0
  74. package/build/translations/vi.js +1 -0
  75. package/build/translations/zh-cn.js +1 -0
  76. package/build/translations/zh.js +1 -0
  77. package/ckeditor5-metadata.json +65 -0
  78. package/dist/index-content.css +64 -0
  79. package/dist/index-editor.css +81 -0
  80. package/dist/index.css +181 -0
  81. package/dist/index.js +23 -0
  82. package/dist/translations/af.d.ts +8 -0
  83. package/dist/translations/af.js +23 -0
  84. package/dist/translations/af.umd.js +23 -0
  85. package/dist/translations/ar.d.ts +8 -0
  86. package/dist/translations/ar.js +23 -0
  87. package/dist/translations/ar.umd.js +23 -0
  88. package/dist/translations/ast.d.ts +8 -0
  89. package/dist/translations/ast.js +23 -0
  90. package/dist/translations/ast.umd.js +23 -0
  91. package/dist/translations/az.d.ts +8 -0
  92. package/dist/translations/az.js +23 -0
  93. package/dist/translations/az.umd.js +23 -0
  94. package/dist/translations/be.d.ts +8 -0
  95. package/dist/translations/be.js +23 -0
  96. package/dist/translations/be.umd.js +23 -0
  97. package/dist/translations/bg.d.ts +8 -0
  98. package/dist/translations/bg.js +23 -0
  99. package/dist/translations/bg.umd.js +23 -0
  100. package/dist/translations/bn.d.ts +8 -0
  101. package/dist/translations/bn.js +23 -0
  102. package/dist/translations/bn.umd.js +23 -0
  103. package/dist/translations/bs.d.ts +8 -0
  104. package/dist/translations/bs.js +23 -0
  105. package/dist/translations/bs.umd.js +23 -0
  106. package/dist/translations/ca.d.ts +8 -0
  107. package/dist/translations/ca.js +23 -0
  108. package/dist/translations/ca.umd.js +23 -0
  109. package/dist/translations/cs.d.ts +8 -0
  110. package/dist/translations/cs.js +23 -0
  111. package/dist/translations/cs.umd.js +23 -0
  112. package/dist/translations/da.d.ts +8 -0
  113. package/dist/translations/da.js +23 -0
  114. package/dist/translations/da.umd.js +23 -0
  115. package/dist/translations/de-ch.d.ts +8 -0
  116. package/dist/translations/de-ch.js +23 -0
  117. package/dist/translations/de-ch.umd.js +23 -0
  118. package/dist/translations/de.d.ts +8 -0
  119. package/dist/translations/de.js +23 -0
  120. package/dist/translations/de.umd.js +23 -0
  121. package/dist/translations/el.d.ts +8 -0
  122. package/dist/translations/el.js +23 -0
  123. package/dist/translations/el.umd.js +23 -0
  124. package/dist/translations/en-au.d.ts +8 -0
  125. package/dist/translations/en-au.js +23 -0
  126. package/dist/translations/en-au.umd.js +23 -0
  127. package/dist/translations/en-gb.d.ts +8 -0
  128. package/dist/translations/en-gb.js +23 -0
  129. package/dist/translations/en-gb.umd.js +23 -0
  130. package/dist/translations/en.d.ts +8 -0
  131. package/dist/translations/en.js +23 -0
  132. package/dist/translations/en.umd.js +23 -0
  133. package/dist/translations/eo.d.ts +8 -0
  134. package/dist/translations/eo.js +23 -0
  135. package/dist/translations/eo.umd.js +23 -0
  136. package/dist/translations/es-co.d.ts +8 -0
  137. package/dist/translations/es-co.js +23 -0
  138. package/dist/translations/es-co.umd.js +23 -0
  139. package/dist/translations/es.d.ts +8 -0
  140. package/dist/translations/es.js +23 -0
  141. package/dist/translations/es.umd.js +23 -0
  142. package/dist/translations/et.d.ts +8 -0
  143. package/dist/translations/et.js +23 -0
  144. package/dist/translations/et.umd.js +23 -0
  145. package/dist/translations/eu.d.ts +8 -0
  146. package/dist/translations/eu.js +23 -0
  147. package/dist/translations/eu.umd.js +23 -0
  148. package/dist/translations/fa.d.ts +8 -0
  149. package/dist/translations/fa.js +23 -0
  150. package/dist/translations/fa.umd.js +23 -0
  151. package/dist/translations/fi.d.ts +8 -0
  152. package/dist/translations/fi.js +23 -0
  153. package/dist/translations/fi.umd.js +23 -0
  154. package/dist/translations/fr.d.ts +8 -0
  155. package/dist/translations/fr.js +23 -0
  156. package/dist/translations/fr.umd.js +23 -0
  157. package/dist/translations/gl.d.ts +8 -0
  158. package/dist/translations/gl.js +23 -0
  159. package/dist/translations/gl.umd.js +23 -0
  160. package/dist/translations/gu.d.ts +8 -0
  161. package/dist/translations/gu.js +23 -0
  162. package/dist/translations/gu.umd.js +23 -0
  163. package/dist/translations/he.d.ts +8 -0
  164. package/dist/translations/he.js +23 -0
  165. package/dist/translations/he.umd.js +23 -0
  166. package/dist/translations/hi.d.ts +8 -0
  167. package/dist/translations/hi.js +23 -0
  168. package/dist/translations/hi.umd.js +23 -0
  169. package/dist/translations/hr.d.ts +8 -0
  170. package/dist/translations/hr.js +23 -0
  171. package/dist/translations/hr.umd.js +23 -0
  172. package/dist/translations/hu.d.ts +8 -0
  173. package/dist/translations/hu.js +23 -0
  174. package/dist/translations/hu.umd.js +23 -0
  175. package/dist/translations/hy.d.ts +8 -0
  176. package/dist/translations/hy.js +23 -0
  177. package/dist/translations/hy.umd.js +23 -0
  178. package/dist/translations/id.d.ts +8 -0
  179. package/dist/translations/id.js +23 -0
  180. package/dist/translations/id.umd.js +23 -0
  181. package/dist/translations/it.d.ts +8 -0
  182. package/dist/translations/it.js +23 -0
  183. package/dist/translations/it.umd.js +23 -0
  184. package/dist/translations/ja.d.ts +8 -0
  185. package/dist/translations/ja.js +23 -0
  186. package/dist/translations/ja.umd.js +23 -0
  187. package/dist/translations/jv.d.ts +8 -0
  188. package/dist/translations/jv.js +23 -0
  189. package/dist/translations/jv.umd.js +23 -0
  190. package/dist/translations/kk.d.ts +8 -0
  191. package/dist/translations/kk.js +23 -0
  192. package/dist/translations/kk.umd.js +23 -0
  193. package/dist/translations/km.d.ts +8 -0
  194. package/dist/translations/km.js +23 -0
  195. package/dist/translations/km.umd.js +23 -0
  196. package/dist/translations/kn.d.ts +8 -0
  197. package/dist/translations/kn.js +23 -0
  198. package/dist/translations/kn.umd.js +23 -0
  199. package/dist/translations/ko.d.ts +8 -0
  200. package/dist/translations/ko.js +23 -0
  201. package/dist/translations/ko.umd.js +23 -0
  202. package/dist/translations/ku.d.ts +8 -0
  203. package/dist/translations/ku.js +23 -0
  204. package/dist/translations/ku.umd.js +23 -0
  205. package/dist/translations/lt.d.ts +8 -0
  206. package/dist/translations/lt.js +23 -0
  207. package/dist/translations/lt.umd.js +23 -0
  208. package/dist/translations/lv.d.ts +8 -0
  209. package/dist/translations/lv.js +23 -0
  210. package/dist/translations/lv.umd.js +23 -0
  211. package/dist/translations/ms.d.ts +8 -0
  212. package/dist/translations/ms.js +23 -0
  213. package/dist/translations/ms.umd.js +23 -0
  214. package/dist/translations/nb.d.ts +8 -0
  215. package/dist/translations/nb.js +23 -0
  216. package/dist/translations/nb.umd.js +23 -0
  217. package/dist/translations/ne.d.ts +8 -0
  218. package/dist/translations/ne.js +23 -0
  219. package/dist/translations/ne.umd.js +23 -0
  220. package/dist/translations/nl.d.ts +8 -0
  221. package/dist/translations/nl.js +23 -0
  222. package/dist/translations/nl.umd.js +23 -0
  223. package/dist/translations/no.d.ts +8 -0
  224. package/dist/translations/no.js +23 -0
  225. package/dist/translations/no.umd.js +23 -0
  226. package/dist/translations/oc.d.ts +8 -0
  227. package/dist/translations/oc.js +23 -0
  228. package/dist/translations/oc.umd.js +23 -0
  229. package/dist/translations/pl.d.ts +8 -0
  230. package/dist/translations/pl.js +23 -0
  231. package/dist/translations/pl.umd.js +23 -0
  232. package/dist/translations/pt-br.d.ts +8 -0
  233. package/dist/translations/pt-br.js +23 -0
  234. package/dist/translations/pt-br.umd.js +23 -0
  235. package/dist/translations/pt.d.ts +8 -0
  236. package/dist/translations/pt.js +23 -0
  237. package/dist/translations/pt.umd.js +23 -0
  238. package/dist/translations/ro.d.ts +8 -0
  239. package/dist/translations/ro.js +23 -0
  240. package/dist/translations/ro.umd.js +23 -0
  241. package/dist/translations/ru.d.ts +8 -0
  242. package/dist/translations/ru.js +23 -0
  243. package/dist/translations/ru.umd.js +23 -0
  244. package/dist/translations/si.d.ts +8 -0
  245. package/dist/translations/si.js +23 -0
  246. package/dist/translations/si.umd.js +23 -0
  247. package/dist/translations/sk.d.ts +8 -0
  248. package/dist/translations/sk.js +23 -0
  249. package/dist/translations/sk.umd.js +23 -0
  250. package/dist/translations/sl.d.ts +8 -0
  251. package/dist/translations/sl.js +23 -0
  252. package/dist/translations/sl.umd.js +23 -0
  253. package/dist/translations/sq.d.ts +8 -0
  254. package/dist/translations/sq.js +23 -0
  255. package/dist/translations/sq.umd.js +23 -0
  256. package/dist/translations/sr-latn.d.ts +8 -0
  257. package/dist/translations/sr-latn.js +23 -0
  258. package/dist/translations/sr-latn.umd.js +23 -0
  259. package/dist/translations/sr.d.ts +8 -0
  260. package/dist/translations/sr.js +23 -0
  261. package/dist/translations/sr.umd.js +23 -0
  262. package/dist/translations/sv.d.ts +8 -0
  263. package/dist/translations/sv.js +23 -0
  264. package/dist/translations/sv.umd.js +23 -0
  265. package/dist/translations/th.d.ts +8 -0
  266. package/dist/translations/th.js +23 -0
  267. package/dist/translations/th.umd.js +23 -0
  268. package/dist/translations/ti.d.ts +8 -0
  269. package/dist/translations/ti.js +23 -0
  270. package/dist/translations/ti.umd.js +23 -0
  271. package/dist/translations/tk.d.ts +8 -0
  272. package/dist/translations/tk.js +23 -0
  273. package/dist/translations/tk.umd.js +23 -0
  274. package/dist/translations/tr.d.ts +8 -0
  275. package/dist/translations/tr.js +23 -0
  276. package/dist/translations/tr.umd.js +23 -0
  277. package/dist/translations/tt.d.ts +8 -0
  278. package/dist/translations/tt.js +23 -0
  279. package/dist/translations/tt.umd.js +23 -0
  280. package/dist/translations/ug.d.ts +8 -0
  281. package/dist/translations/ug.js +23 -0
  282. package/dist/translations/ug.umd.js +23 -0
  283. package/dist/translations/uk.d.ts +8 -0
  284. package/dist/translations/uk.js +23 -0
  285. package/dist/translations/uk.umd.js +23 -0
  286. package/dist/translations/ur.d.ts +8 -0
  287. package/dist/translations/ur.js +23 -0
  288. package/dist/translations/ur.umd.js +23 -0
  289. package/dist/translations/uz.d.ts +8 -0
  290. package/dist/translations/uz.js +23 -0
  291. package/dist/translations/uz.umd.js +23 -0
  292. package/dist/translations/vi.d.ts +8 -0
  293. package/dist/translations/vi.js +23 -0
  294. package/dist/translations/vi.umd.js +23 -0
  295. package/dist/translations/zh-cn.d.ts +8 -0
  296. package/dist/translations/zh-cn.js +23 -0
  297. package/dist/translations/zh-cn.umd.js +23 -0
  298. package/dist/translations/zh.d.ts +8 -0
  299. package/dist/translations/zh.js +23 -0
  300. package/dist/translations/zh.umd.js +23 -0
  301. package/lang/contexts.json +27 -0
  302. package/lang/translations/af.po +112 -0
  303. package/lang/translations/ar.po +112 -0
  304. package/lang/translations/ast.po +112 -0
  305. package/lang/translations/az.po +112 -0
  306. package/lang/translations/be.po +112 -0
  307. package/lang/translations/bg.po +112 -0
  308. package/lang/translations/bn.po +112 -0
  309. package/lang/translations/bs.po +112 -0
  310. package/lang/translations/ca.po +112 -0
  311. package/lang/translations/cs.po +112 -0
  312. package/lang/translations/da.po +112 -0
  313. package/lang/translations/de-ch.po +112 -0
  314. package/lang/translations/de.po +112 -0
  315. package/lang/translations/el.po +112 -0
  316. package/lang/translations/en-au.po +112 -0
  317. package/lang/translations/en-gb.po +112 -0
  318. package/lang/translations/en.po +112 -0
  319. package/lang/translations/eo.po +112 -0
  320. package/lang/translations/es-co.po +112 -0
  321. package/lang/translations/es.po +112 -0
  322. package/lang/translations/et.po +112 -0
  323. package/lang/translations/eu.po +112 -0
  324. package/lang/translations/fa.po +112 -0
  325. package/lang/translations/fi.po +112 -0
  326. package/lang/translations/fr.po +112 -0
  327. package/lang/translations/gl.po +112 -0
  328. package/lang/translations/gu.po +112 -0
  329. package/lang/translations/he.po +112 -0
  330. package/lang/translations/hi.po +112 -0
  331. package/lang/translations/hr.po +112 -0
  332. package/lang/translations/hu.po +112 -0
  333. package/lang/translations/hy.po +112 -0
  334. package/lang/translations/id.po +112 -0
  335. package/lang/translations/it.po +112 -0
  336. package/lang/translations/ja.po +112 -0
  337. package/lang/translations/jv.po +112 -0
  338. package/lang/translations/kk.po +112 -0
  339. package/lang/translations/km.po +112 -0
  340. package/lang/translations/kn.po +112 -0
  341. package/lang/translations/ko.po +112 -0
  342. package/lang/translations/ku.po +112 -0
  343. package/lang/translations/lt.po +112 -0
  344. package/lang/translations/lv.po +112 -0
  345. package/lang/translations/ms.po +112 -0
  346. package/lang/translations/nb.po +112 -0
  347. package/lang/translations/ne.po +112 -0
  348. package/lang/translations/nl.po +112 -0
  349. package/lang/translations/no.po +112 -0
  350. package/lang/translations/oc.po +112 -0
  351. package/lang/translations/pl.po +112 -0
  352. package/lang/translations/pt-br.po +112 -0
  353. package/lang/translations/pt.po +112 -0
  354. package/lang/translations/ro.po +112 -0
  355. package/lang/translations/ru.po +112 -0
  356. package/lang/translations/si.po +112 -0
  357. package/lang/translations/sk.po +112 -0
  358. package/lang/translations/sl.po +112 -0
  359. package/lang/translations/sq.po +112 -0
  360. package/lang/translations/sr-latn.po +112 -0
  361. package/lang/translations/sr.po +112 -0
  362. package/lang/translations/sv.po +112 -0
  363. package/lang/translations/th.po +112 -0
  364. package/lang/translations/ti.po +112 -0
  365. package/lang/translations/tk.po +112 -0
  366. package/lang/translations/tr.po +112 -0
  367. package/lang/translations/tt.po +112 -0
  368. package/lang/translations/ug.po +112 -0
  369. package/lang/translations/uk.po +112 -0
  370. package/lang/translations/ur.po +112 -0
  371. package/lang/translations/uz.po +112 -0
  372. package/lang/translations/vi.po +112 -0
  373. package/lang/translations/zh-cn.po +112 -0
  374. package/lang/translations/zh.po +112 -0
  375. package/package.json +63 -4
  376. package/src/augmentation.d.ts +34 -0
  377. package/src/augmentation.js +23 -0
  378. package/src/commands/insertfootnotecommand.d.ts +20 -0
  379. package/src/commands/insertfootnotecommand.js +23 -0
  380. package/src/footnotes.d.ts +33 -0
  381. package/src/footnotes.js +23 -0
  382. package/src/footnotesclipboard.d.ts +38 -0
  383. package/src/footnotesclipboard.js +23 -0
  384. package/src/footnotesconfig.d.ts +30 -0
  385. package/src/footnotesconfig.js +23 -0
  386. package/src/footnotesediting.d.ts +47 -0
  387. package/src/footnotesediting.js +23 -0
  388. package/src/footnotesproperties/commands/footnotesstartcommand.d.ts +28 -0
  389. package/src/footnotesproperties/commands/footnotesstartcommand.js +23 -0
  390. package/src/footnotesproperties/commands/footnotesstylecommand.d.ts +29 -0
  391. package/src/footnotesproperties/commands/footnotesstylecommand.js +23 -0
  392. package/src/footnotesproperties/footnotespropertiesconfig.d.ts +53 -0
  393. package/src/footnotesproperties/footnotespropertiesconfig.js +23 -0
  394. package/src/footnotesproperties/footnotespropertiesediting.d.ts +36 -0
  395. package/src/footnotesproperties/footnotespropertiesediting.js +23 -0
  396. package/src/footnotesproperties/footnotespropertiesui.d.ts +41 -0
  397. package/src/footnotesproperties/footnotespropertiesui.js +23 -0
  398. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.d.ts +15 -0
  399. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +23 -0
  400. package/src/footnotesproperties.d.ts +32 -0
  401. package/src/footnotesproperties.js +23 -0
  402. package/src/footnotestracker.d.ts +102 -0
  403. package/src/footnotestracker.js +23 -0
  404. package/src/footnotesui.d.ts +31 -0
  405. package/src/footnotesui.js +23 -0
  406. package/src/index.d.ts +21 -0
  407. package/src/index.js +23 -0
  408. package/src/modelelementtracker.d.ts +60 -0
  409. package/src/modelelementtracker.js +23 -0
  410. package/theme/footnotes.css +143 -0
  411. package/theme/footnotesproperties.css +54 -0
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesconfig
7
+ * @publicApi
8
+ */
9
+ import type { FootnotesPropertiesConfig } from './footnotesproperties/footnotespropertiesconfig.js';
10
+ /**
11
+ * The configuration of the {@link module:footnotes/footnotes~Footnotes} feature.
12
+ *
13
+ * Read more in {@link module:footnotes/footnotesconfig~FootnotesConfig}.
14
+ */
15
+ export interface FootnotesConfig {
16
+ /**
17
+ * Allows multiple blocks in single footnote definition item.
18
+ *
19
+ * With this option enabled you can have block widgets, for example images or even tables, within a footnote definition item.
20
+ *
21
+ * **Note:** This is enabled by default.
22
+ *
23
+ * @default true
24
+ */
25
+ multiBlock?: boolean;
26
+ /**
27
+ * The configuration of the {@link module:footnotes/footnotesproperties~FootnotesProperties} feature.
28
+ */
29
+ footnotesProperties?: FootnotesPropertiesConfig;
30
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ export{};
@@ -0,0 +1,47 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesediting
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { type ViewNode } from 'ckeditor5/src/engine.js';
11
+ import { FootnotesTracker } from './footnotestracker.js';
12
+ /**
13
+ * The footnotes editing plugin.
14
+ */
15
+ export declare class FootnotesEditing extends Plugin {
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "FootnotesEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): readonly [typeof FootnotesTracker];
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isPremiumPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ init(): void;
36
+ /**
37
+ * @inheritDoc
38
+ */
39
+ afterInit(): void;
40
+ }
41
+ /**
42
+ * Checks if the given element is a footnotes definitions widget.
43
+ *
44
+ * @param element The element to check.
45
+ * @returns Whether the element is a footnotes definitions widget.
46
+ */
47
+ export declare function isFootnotesDefinitionsWidget(element: ViewNode): boolean;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x20f558}from'ckeditor5/src/core.js';import{isWidget as _0x4978b4,toWidget as _0x3f3af4,toWidgetEditable as _0x339a86}from'ckeditor5/src/widget.js';import{uid as _0x51acc6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4d2d26,ClickObserver as _0x20fa02}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x59062f}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x54c20c}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x20f558{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x59062f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4167dc}=this;_0x4167dc['config']['define']('footnotes.multiBlock',!0x0),_0x4167dc['commands']['add']('insertFootnote',new _0x54c20c(_0x4167dc)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3009d8){const _0x510c57=_0x248b64([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]),_0x365795=0x47a28506,_0x5148b6=0x47a5f2ae^_0x365795,_0x3368e6=window[_0x248b64([0x44,0x61,0x74,0x65])][_0x248b64([0x6e,0x6f,0x77])](),_0x5bfd03=_0x3009d8[_0x248b64([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22b829=new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8ce8=>{_0x5bfd03[_0x248b64([0x6f,0x6e,0x63,0x65])](_0x248b64([0x72,0x65,0x61,0x64,0x79]),_0x3c8ce8);}),_0x529d6f={[_0x248b64([0x6b,0x74,0x79])]:_0x248b64([0x45,0x43]),[_0x248b64([0x75,0x73,0x65])]:_0x248b64([0x73,0x69,0x67]),[_0x248b64([0x63,0x72,0x76])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36]),[_0x248b64([0x78])]:_0x248b64([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]),[_0x248b64([0x79])]:_0x248b64([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]),[_0x248b64([0x61,0x6c,0x67])]:_0x248b64([0x45,0x53,0x32,0x35,0x36])},_0x2cf225=_0x5bfd03[_0x248b64([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x248b64([0x67,0x65,0x74])](_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf38669(){let _0x8dcd89,_0x1e1106=null,_0x306bd1=null;try{if(_0x2cf225==_0x248b64([0x47,0x50,0x4c]))return _0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8dcd89=_0x456468(),!_0x8dcd89)return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x306bd1=_0x35d749(_0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8dcd89[_0x248b64([0x6a,0x74,0x69])])),await _0x513bd9()?_0x2e9829()?_0xca383b()?_0x248b64([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbb120()?(_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6a8fef()):_0x248b64([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xca383b(){const _0x389c6a=[_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x248b64([0x74,0x72,0x69,0x61,0x6c])][_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3368e6/0x3e8:0xe10*_0x5148b6;return _0x8dcd89[_0x248b64([0x65,0x78,0x70])]<_0x389c6a;}function _0x2e9829(){const _0x46cace=_0x8dcd89[_0x248b64([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46cace&&(!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a]))||!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x46,0x4f,0x4f])));}function _0xbb120(){const _0x59498e=_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59498e||0x0==_0x59498e[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39c79a}=new URL(window[_0x248b64([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59498e[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39c79a))return!0x0;const _0x1054d9=_0x39c79a[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));return _0x59498e[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a5d43=>_0x3a5d43[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a])))[_0x248b64([0x6d,0x61,0x70])](_0x3447f8=>_0x3447f8[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])))[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa151c2=>_0xa151c2[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x6d,0x61,0x70])](_0x2057e9=>Array(_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2057e9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x66,0x69,0x6c,0x6c])](_0x2057e9[0x0]===_0x248b64([0x2a])?_0x248b64([0x2a]):'')[_0x248b64([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2057e9))[_0x248b64([0x73,0x6f,0x6d,0x65])](_0x2b78d0=>_0x1054d9[_0x248b64([0x65,0x76,0x65,0x72,0x79])]((_0x381e44,_0x3b2728)=>_0x2b78d0[_0x3b2728]===_0x381e44||_0x2b78d0[_0x3b2728]===_0x248b64([0x2a])));}function _0x6a8fef(){return _0x1e1106&&_0x306bd1?new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d8f7e,_0x4cd5b5)=>{_0x1e1106[_0x248b64([0x74,0x68,0x65,0x6e])](_0x4d8f7e,_0x4cd5b5),_0x306bd1[_0x248b64([0x74,0x68,0x65,0x6e])](_0x6c4419=>{_0x6c4419!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x4d8f7e(_0x6c4419);},_0x4cd5b5);}):_0x1e1106||_0x306bd1||_0x248b64([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35d749(_0x3c5d87,_0x4a8d1e){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11e5e5=>{if(_0x21f368())return _0x11e5e5(_0x248b64([0x56,0x61,0x6c,0x69,0x64]));_0xa620ce(),_0x5bfd03[_0x248b64([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x597020=!0x1;const _0x1e649e=_0x51acc6();function _0x52f4b6(_0x282979){return!!_0x282979&&(typeof _0x282979===_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x282979===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x282979[_0x248b64([0x74,0x68,0x65,0x6e])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x282979[_0x248b64([0x63,0x61,0x74,0x63,0x68])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ee392(_0x1681a4){_0xaf4acc(_0x1681a4)[_0x248b64([0x74,0x68,0x65,0x6e])](_0x43db51=>{if(!_0x43db51||_0x43db51[_0x248b64([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x248b64([0x6f,0x6b]))return _0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21582c(_0x44236f(_0x1e649e+_0x4a8d1e))!=_0x43db51[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x19ac4b=>(_0xb0be17(),_0x19ac4b),()=>{const _0x8c1971=_0x15eda3();return null==_0x8c1971?(_0xb0be17(),_0x248b64([0x56,0x61,0x6c,0x69,0x64])):_0x248b64(_0x3368e6-_0x8c1971>(0x63ae0106^_0x365795)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x11e5e5)[_0x248b64([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dfc2f=0x47946b86^_0x365795;function _0xb0be17(){const _0x23f71e=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x2c74df=_0x191f16(_0x21582c(window[_0x248b64([0x4d,0x61,0x74,0x68])][_0x248b64([0x63,0x65,0x69,0x6c])](_0x3368e6/_0x5dfc2f)));window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f71e,_0x2c74df);}function _0x15eda3(){const _0x144812=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x3d2c65=window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144812);return _0x3d2c65?window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x191f16(_0x3d2c65),0x10)*_0x5dfc2f:null;}function _0xaf4acc(_0x4f2b26){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434077,_0x5ebf34)=>{_0x4f2b26[_0x248b64([0x74,0x68,0x65,0x6e])](_0x434077,_0x5ebf34),window[_0x248b64([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ebf34,0x47a351c6^_0x365795);});}}_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49a4cd,_0x33eb40)=>{if(_0x33eb40[0x0]!=_0x3c5d87)return _0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33eb40[0x1]={..._0x33eb40[0x1],[_0x248b64([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e649e};},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x68,0x69,0x67,0x68])}),_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5069cb=>{_0x52f4b6(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x597020=!0x0,_0x1ee392(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x6c,0x6f,0x77])}),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>{_0x597020||_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21f368(){return _0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x248b64([0x61,0x75,0x74,0x6f]);}function _0xa620ce(){_0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x248b64([0x61,0x75,0x74,0x6f]);}}function _0xe8fdba(_0x1d3f38){const _0xf361a6=[new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55d373=>setTimeout(_0x55d373,0x47abbbca^_0x365795)),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfb8e=>{let _0x4b8d94=0x0;_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x6f,0x6e])](_0x248b64([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x199027,_0x182182)=>{_0x182182[0x0][_0x248b64([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8d94++,_0x4b8d94==(0x47a284fe^_0x365795)&&(_0x4cfb8e(),_0x199027[_0x248b64([0x6f,0x66,0x66])]());});}))];return window[_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x248b64([0x72,0x61,0x63,0x65])](_0xf361a6)[_0x248b64([0x74,0x68,0x65,0x6e])](()=>_0x1d3f38);}async function _0x1b3d3f(){await _0x22b829,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x248b64([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2328f6(_0x53610e){const _0x1f5388=_0x54504f();_0x5bfd03[_0x1f5388]=_0x248b64([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53610e,_0x53610e!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3d3f();}function _0x54504f(){const _0x4f69f8=window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x248b64([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x248b64([0x6e,0x6f,0x77])]())[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x248b64([0x2e]),'');let _0x4ec13d=_0x248b64([0x75]);for(let _0x1b619b=0x0;_0x1b619b<_0x4f69f8[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b619b+=0x2){let _0x416fcf=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f69f8[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b619b,_0x1b619b+0x2));_0x416fcf>=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x416fcf-=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ec13d+=_0x510c57[_0x416fcf];}return _0x4ec13d;}function _0x456468(){const _0x19de27=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));if(0x3!=_0x19de27[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x522839(_0x19de27[0x1]);function _0x522839(_0x2c18b7){const _0x4fe004=_0x32fb97(_0x2c18b7);return _0x4fe004&&_0x1208b2()?_0x4fe004:null;function _0x1208b2(){const _0x2b57f0=_0x4fe004[_0x248b64([0x6a,0x74,0x69])],_0x930732=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e2ab1={..._0x4fe004,[_0x248b64([0x6a,0x74,0x69])]:_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e2ab1[_0x248b64([0x76,0x63])],_0x44236f(_0x3e2ab1)==_0x930732;}}}async function _0x513bd9(){let _0x5a7fa4=!0x0;try{const _0x553f11=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])),[_0x26a034,_0x2f9c6c,_0x1cf780]=_0x553f11;return _0x3f9b9e(_0x26a034),await _0xdddb5b(_0x26a034,_0x2f9c6c,_0x1cf780),_0x5a7fa4;}catch{return!0x1;}function _0x3f9b9e(_0x270bba){const _0x4276be=_0x32fb97(_0x270bba);_0x4276be&&_0x4276be[_0x248b64([0x61,0x6c,0x67])]==_0x248b64([0x45,0x53,0x32,0x35,0x36])||(_0x5a7fa4=!0x1);}async function _0xdddb5b(_0x14baf1,_0x2a4ca9,_0x42cd0f){const _0x2d8098=window[_0x248b64([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x248b64([0x66,0x72,0x6f,0x6d])](_0x5b2aaa(_0x42cd0f),_0xcf4778=>_0xcf4778[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b67b1=new window[(_0x248b64([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x248b64([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x14baf1+_0x248b64([0x2e])+_0x2a4ca9),_0x4b8e7b=window[_0x248b64([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x248b64([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b8e7b)return;const _0x3b9463=await _0x4b8e7b[_0x248b64([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x248b64([0x6a,0x77,0x6b]),_0x529d6f,{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b8e7b[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x68,0x61,0x73,0x68])]:{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b9463,_0x2d8098,_0x3b67b1)||(_0x5a7fa4=!0x1);}}function _0x32fb97(_0x2cd5b3){return _0x2cd5b3[_0x248b64([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x248b64([0x65,0x79]))?JSON[_0x248b64([0x70,0x61,0x72,0x73,0x65])](_0x5b2aaa(_0x2cd5b3)):null;}function _0x5b2aaa(_0x13b6e1){return window[_0x248b64([0x61,0x74,0x6f,0x62])](_0x13b6e1[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x248b64([0x2b]))[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x248b64([0x2f])));}function _0x44236f(_0x4eb1bb){let _0x526943=0x1505;function _0x2244bc(_0x4d64e4){for(let _0x3355b2=0x0;_0x3355b2<_0x4d64e4[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3355b2++){const _0x36fc9d=_0x4d64e4[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3355b2);_0x526943=(_0x526943<<0x5)+_0x526943+_0x36fc9d,_0x526943&=_0x526943;}}function _0x4f9f23(_0x4221a0){Array[_0x248b64([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4221a0)?_0x4221a0[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f9f23):_0x4221a0&&typeof _0x4221a0==_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x248b64([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4221a0)[_0x248b64([0x73,0x6f,0x72,0x74])]()[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x544cbc,_0x280bc4])=>{_0x2244bc(_0x544cbc),_0x4f9f23(_0x280bc4);}):_0x2244bc(window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4221a0));}return _0x4f9f23(_0x4eb1bb),_0x526943>>>0x0;}function _0x21582c(_0x5d6306){return _0x5d6306[_0x248b64([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x248b64([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x248b64([0x30]));}function _0x191f16(_0x5f14dc){return _0x5f14dc[_0x248b64([0x73,0x70,0x6c,0x69,0x74])]('')[_0x248b64([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x248b64([0x6a,0x6f,0x69,0x6e])]('');}function _0x5acc2a(){}function _0x248b64(_0x3f7bd3){return _0x3f7bd3['map'](_0x518f97=>String['fromCharCode'](_0x518f97))['join']('');}_0x2328f6(await _0xf38669());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2c99cd){const {plugins:_0x36af9a,editing:_0x1b80fd,model:_0x300406}=this['editor'],_0x132666=_0x36af9a['get'](_0x59062f)['getFootnote'](_0x2c99cd);return!!_0x132666&&(_0x300406['change'](_0x2ae3ac=>{_0x2ae3ac['setSelection'](_0x2ae3ac['createPositionAt'](_0x132666['definition'],'end'));}),_0x1b80fd['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x453afb){const {plugins:_0x20e54c,editing:_0x2cdf9c,model:_0x29aca6}=this['editor'],_0x15664a=_0x20e54c['get'](_0x59062f)['getFootnote'](_0x453afb);return!!_0x15664a&&(_0x29aca6['change'](_0x280536=>{_0x280536['setSelection'](_0x15664a['reference'],'on');}),_0x2cdf9c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2e2fa0}=this['editor']['model'],_0x5f5972=this['editor']['config']['get']('footnotes.multiBlock');_0x2e2fa0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2e2fa0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2e2fa0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5f5972?_0x2e2fa0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2e2fa0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2e2fa0['addChildCheck'](_0xe5f8d0=>{for(const _0x52ada3 of _0xe5f8d0)if('footnoteDefinition'===_0x52ada3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x594f4e}=this,{conversion:_0x17dab3,editing:_0x3ed9e1}=_0x594f4e,{t:t}=_0x594f4e['locale'];_0x17dab3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x67a261,{writer:_0x234011,consumable:_0x34f598})=>{const _0x243a86=_0x67a261['getChild'](0x0);if(!_0x243a86||!_0x243a86['is']('element','a'))return null;const _0x6debbd=_0x243a86['getAttribute']('href')||'';if(!_0x6debbd['startsWith']('#'))return null;const _0x5bebd1=_0x6debbd['replace'](/^#/,'');if(!_0x5bebd1)return null;_0x34f598['consume'](_0x243a86,{'name':!0x0,'attributes':['href']});for(const {item:_0x57f26a}of _0x3ed9e1['view']['createRangeIn'](_0x243a86))_0x57f26a['is']('$textProxy')?_0x34f598['consume'](_0x57f26a['textNode'],{'name':!0x0}):_0x57f26a['is']('element')&&_0x34f598['consume'](_0x57f26a,{'name':!0x0});return _0x234011['createElement']('footnoteRef',{'footnoteId':_0x5bebd1});}}),_0x17dab3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ad513,{writer:_0xff4fbc})=>D(_0x2ad513,_0xff4fbc)}),_0x17dab3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cf88a,{writer:_0x3408f5})=>{const _0x49b2c1=_0x1cf88a['getAttribute']('footnoteCounter');return _0x3f3af4(D(_0x1cf88a,_0x3408f5),_0x3408f5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x49b2c1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1a1278}=this,{t:t}=_0x1a1278['locale'],{conversion:_0x25768b}=_0x1a1278;_0x25768b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x25768b['for']('upcast')['add'](_0x34c83a=>{_0x34c83a['on']('element:ol',(_0x353791,_0x5ea231,_0x1d544c)=>{const _0x2097d3=_0x5ea231['viewItem'];if(!_0x2097d3['hasClass']('footnotes-list')||!_0x5ea231['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1d544c['consumable']['consume'](_0x2097d3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x530caf,modelCursor:_0xdeb16e}=_0x1d544c['convertChildren'](_0x5ea231['viewItem'],_0x5ea231['modelCursor']);_0x5ea231['modelRange']=_0x530caf,_0x5ea231['modelCursor']=_0xdeb16e;}),_0x34c83a['on']('element:hr',(_0x22b7ee,_0x40a750,_0x2f5ecc)=>{const _0x58a113=_0x40a750['viewItem'];_0x58a113['hasClass']('footnotes-divider')&&_0x40a750['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2f5ecc['consumable']['consume'](_0x58a113,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x25768b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1950aa,{writer:_0x409c66})=>g(_0x409c66)}),_0x25768b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b30a0,{writer:_0x53caac})=>{const _0x49c0a7=g(_0x53caac,{'data-footnotes-list-label':t('Footnotes')}),_0x6a2461=_0x3f3af4(_0x49c0a7,_0x53caac,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x53caac['setCustomProperty']('footnotesDefinitions',!0x0,_0x6a2461),_0x6a2461;}});}['_defineDefinitionConverters'](){const {editor:_0x32fffd}=this,{conversion:_0x23f86a,locale:_0x3aa511}=_0x32fffd,_0x25a09c=_0x32fffd['config']['get']('footnotes.multiBlock');_0x23f86a['for']('upcast')['add'](_0x9eb515=>{_0x9eb515['on']('element:li',(_0x3ab560,_0x2716e2,_0x3de5b2)=>{const _0x55e436=_0x2716e2['viewItem'];if(!_0x55e436['hasClass']('footnote-definition')||!_0x55e436['getAttribute']('id'))return;const _0x119855=_0x55e436['parent'];if(!_0x119855['is']('element','ol')||!_0x119855['hasClass']('footnotes-list'))return;if(!_0x3de5b2['consumable']['test'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4dc4ae=_0x3de5b2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x55e436['getAttribute']('id')});if(!_0x3de5b2['safeInsert'](_0x4dc4ae,_0x2716e2['modelCursor']))return;_0x3de5b2['consumable']['consume'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x42f9d3=Array['from'](_0x55e436['getChildren']())['find'](_0x41ee2b=>_0x41ee2b['is']('element')&&_0x41ee2b['hasClass']('footnote-content'));for(const _0x3f914 of _0x55e436['getChildren']())_0x3f914['is']('element')&&(_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-content'}));if(_0x42f9d3){if(_0x25a09c)_0x3de5b2['convertChildren'](_0x42f9d3,_0x4dc4ae);else{const _0x1416f7=_0x3de5b2['writer']['createElement']('footnoteInlineContent');_0x3de5b2['writer']['insert'](_0x1416f7,_0x4dc4ae),_0x3de5b2['convertChildren'](_0x42f9d3,_0x1416f7);}}_0x3de5b2['updateConversionResult'](_0x4dc4ae,_0x2716e2);});}),_0x23f86a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3f967e,{writer:_0x4e35a0})=>v(_0x3f967e,_0x4e35a0,_0x3aa511,{'dataPipeline':!0x0})}),_0x23f86a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47d135,{writer:_0x565f1f})=>v(_0x47d135,_0x565f1f,_0x3aa511)});}['_defineBogusParagraphConverters'](){const {editor:_0x40bf53}=this,{conversion:_0x309ad4}=_0x40bf53;_0x40bf53['config']['get']('footnotes.multiBlock')?(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x40bf53['model']['document'],'change:data',()=>{!function(_0x5a1e25,_0x42f4cc){const _0x3f6e20=_0x5a1e25['document']['differ'],_0x14da39=new Set();for(const _0x10f90b of _0x3f6e20['getChanges']()){const _0x15e1f2='attribute'==_0x10f90b['type']?_0x10f90b['range']['start']['parent']:_0x10f90b['position']['parent'];_0x15e1f2['is']('element','footnoteDefinition')&&_0x14da39['add'](_0x15e1f2);}for(const _0x558dd7 of _0x14da39['values']()){const _0x25bddb=Array['from'](_0x558dd7['getChildren']())['filter'](_0xfcddc1=>p(_0xfcddc1,_0x42f4cc['mapper']));for(const _0x1885d3 of _0x25bddb)_0x42f4cc['reconvertItem'](_0x1885d3);}}(_0x40bf53['model'],_0x40bf53['editing']);})):(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1df9aa,{writer:_0x1aa958})=>{const _0x11fba5=_0x1aa958['createContainerElement']('span');return _0x1aa958['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11fba5),_0x11fba5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x442eea}=this,{editing:_0x1431b3,t:t}=_0x442eea,_0x46cd49=_0x442eea['model']['document']['selection'];_0x442eea['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x442eea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x1431b3['view']['document'],'enter',(_0x1a38d1,_0x321d4a)=>{const _0x4a54a8=function(_0x40b66a){const _0x50ff4a=_0x40b66a['getSelectedElement']();if(_0x50ff4a?.['is']('element','footnoteRef'))return _0x50ff4a;return null;}(_0x46cd49);if(_0x4a54a8){const _0x51d805=_0x4a54a8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x51d805),_0x321d4a['preventDefault'](),_0x1a38d1['stop']();}},{'context':_0x4978b4});}['_defineClickHandlers'](){const {editor:_0x134554}=this,{editing:_0x544f04}=_0x134554;_0x134554['editing']['view']['addObserver'](_0x4d2d26),_0x134554['editing']['view']['addObserver'](_0x20fa02);let _0x499200=!0x1;this['listenTo'](_0x544f04['view']['document'],'pointerdown',(_0x21f1ab,_0x4263c1)=>{const {target:_0x27a780}=_0x4263c1,_0x1d1582=_0x544f04['view']['document']['selection'];_0x499200=!!(_0x27a780?.['is']('element','a')&&_0x27a780['parent']?.['is']('element','sup')&&_0x27a780['parent']['hasClass']('footnote'))&&_0x1d1582['getSelectedElement']()===_0x27a780['parent'];},{'priority':'high'}),this['listenTo'](_0x544f04['view']['document'],'click',(_0x12cdc2,_0x12e9c0)=>{const {target:_0x439fdf}=_0x12e9c0;if(!_0x439fdf?.['is']('element','a'))return;if(_0x439fdf['parent']?.['is']('element','sup')&&_0x439fdf['parent']['hasClass']('footnote')&&!_0x499200)return void _0x12e9c0['preventDefault']();let _0x4da44a=_0x439fdf['getAttribute']('href');if(!_0x4da44a?.['startsWith']('#'))return;_0x4da44a=_0x4da44a['slice'](0x1);let _0x1031f3=!0x1;(_0x4da44a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4da44a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4da44a))&&(_0x1031f3=!0x0),_0x1031f3&&(_0x12e9c0['preventDefault'](),_0x12cdc2['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x10481d}={}){return(_0xe1ea31,{writer:_0x5df483})=>{if(!h(_0xe1ea31))return null;if(!_0x10481d)return _0x5df483['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3e3ebd=_0x5df483['createContainerElement']('p');return _0x5df483['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3e3ebd),_0x3e3ebd;};}function h(_0x35f87d){const {parent:_0x541730}=_0x35f87d;if(!_0x541730?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x541730['childCount'])return!0x1;for(const _0xe8b6fe of _0x35f87d['getAttributeKeys']())if(!_0xe8b6fe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xe8b6fe)return!0x1;return!0x0;}function p(_0x342a5c,_0x21bf53){if(!_0x342a5c['is']('element','paragraph'))return!0x1;const _0x17cfd5=_0x21bf53['toViewElement'](_0x342a5c);return!!_0x17cfd5&&h(_0x342a5c)!==_0x17cfd5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4108be){return _0x4978b4(_0x4108be)&&_0x4108be['is']('containerElement')&&!!_0x4108be['getCustomProperty']('footnotesDefinitions');}function g(_0x920a7f,_0x243e48={}){const _0x58db56=_0x920a7f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x28cb98=_0x920a7f['createContainerElement']('ol',{'class':'footnotes-list'},_0x920a7f['createSlot']());return _0x920a7f['createContainerElement']('div',{'class':'footnotes',..._0x243e48},[_0x58db56,_0x28cb98]);}function D(_0x3d8746,_0x45749d){const _0x217e28=_0x3d8746['getAttribute']('footnoteId'),_0x423dfb=_0x3d8746['getAttribute']('footnoteCounter'),_0x46a218=_0x45749d['createUIElement']('a',{'href':'#'+_0x217e28},function(_0x1ef17f){const _0x2dd4a9=this['toDomElement'](_0x1ef17f);return _0x2dd4a9['textContent']=_0x423dfb,_0x2dd4a9;}),_0x3f1613=_0x45749d['createContainerElement']('sup',{'id':'ref-'+_0x217e28,'class':'footnote'},[_0x46a218]);return _0x3f1613['getFillerOffset']=()=>null,_0x3f1613;}function v(_0x2ec78d,_0x1409a5,_0x2b935b,{dataPipeline:_0x157c5a}={}){const {t:t}=_0x2b935b,_0x45333d=_0x2ec78d['getAttribute']('footnoteId'),_0x301284=_0x1409a5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x45333d},function(_0x356061){const _0x43b380=this['toDomElement'](_0x356061);return _0x43b380['innerText']='^',_0x43b380;}),_0x37694=_0x157c5a?_0x1409a5['createContainerElement']('div',{'class':'footnote-content'}):_0x339a86(_0x1409a5['createEditableElement']('div',{'class':'footnote-content'}),_0x1409a5,{'label':t('Footnote\x20content.')});return _0x1409a5['insert'](_0x1409a5['createPositionAt'](_0x37694,0x0),_0x1409a5['createSlot']()),_0x1409a5['createContainerElement']('li',{'class':'footnote-definition','id':_0x45333d},[_0x301284,_0x37694]);}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties/commands/footnotesstartcommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from 'ckeditor5/src/core.js';
10
+ /**
11
+ * Change footnotes definitions start command.
12
+ */
13
+ export declare class FootnotesStartCommand extends Command {
14
+ /**
15
+ * Current list start value of the footnotesDefinitions container.
16
+ */
17
+ value: number | null;
18
+ /**
19
+ * @inheritdoc
20
+ */
21
+ refresh(): void;
22
+ /**
23
+ * @inheritdoc
24
+ */
25
+ execute({ value }: {
26
+ value: number;
27
+ }): void;
28
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x10ee53=_0x3fb1;(function(_0x44872f,_0x22b514){const _0x4384ea=_0x3fb1,_0x110ab0=_0x44872f();while(!![]){try{const _0x5108dd=-parseInt(_0x4384ea(0x94))/0x1*(parseInt(_0x4384ea(0xa3))/0x2)+-parseInt(_0x4384ea(0x9c))/0x3+-parseInt(_0x4384ea(0xa0))/0x4*(parseInt(_0x4384ea(0xa6))/0x5)+-parseInt(_0x4384ea(0xa5))/0x6*(-parseInt(_0x4384ea(0x92))/0x7)+parseInt(_0x4384ea(0x96))/0x8*(parseInt(_0x4384ea(0xa2))/0x9)+-parseInt(_0x4384ea(0xa1))/0xa+parseInt(_0x4384ea(0x9f))/0xb;if(_0x5108dd===_0x22b514)break;else _0x110ab0['push'](_0x110ab0['shift']());}catch(_0x2f4886){_0x110ab0['push'](_0x110ab0['shift']());}}}(_0x1f38,0x9db27));import{Command as _0x38008d}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2fb449}from'../../footnotestracker.js';function _0x1f38(){const _0x206d99=['footnotesListStart','change','24672YRuMyD','plugins','_updateFootnotesCounters','12746052lJNeIP','95436wikHUz','3830100ngLVWA','503001MyxZlZ','4fGPOZO','get','6CYzWQX','145lnHPhs','value','setAttribute','model','execute','5090911WxIATm','isEnabled','106411zpqOyT','isInteger','8MXGFnb','refresh','getAttribute','getFootnotesDefinitionsObjectElement'];_0x1f38=function(){return _0x206d99;};return _0x1f38();}function _0x3fb1(_0x3c0070,_0x4f5481){const _0x1f3850=_0x1f38();return _0x3fb1=function(_0x3fb169,_0x3920e1){_0x3fb169=_0x3fb169-0x92;let _0xbdc414=_0x1f3850[_0x3fb169];return _0xbdc414;},_0x3fb1(_0x3c0070,_0x4f5481);}export class FootnotesStartCommand extends _0x38008d{[_0x10ee53(0x97)](){const _0x4f54f5=_0x10ee53,{editor:_0x52ad3d}=this,_0x5a7e1a=_0x52ad3d[_0x4f54f5(0x9d)][_0x4f54f5(0xa4)](_0x2fb449)[_0x4f54f5(0x99)]();this[_0x4f54f5(0x93)]=!!_0x5a7e1a,this[_0x4f54f5(0xa7)]=_0x5a7e1a?.[_0x4f54f5(0x98)](_0x4f54f5(0x9a))??null;}[_0x10ee53(0xaa)]({value:_0x2df1bd}){const _0x19523a=_0x10ee53,{editor:_0x5742ce}=this,_0x37a41e=_0x5742ce[_0x19523a(0x9d)][_0x19523a(0xa4)](_0x2fb449),_0x5868c5=_0x37a41e[_0x19523a(0x99)]();_0x5868c5&&Number[_0x19523a(0x95)](_0x2df1bd)&&_0x5742ce[_0x19523a(0xa9)][_0x19523a(0x9b)](_0x11e502=>{const _0x4fc2e6=_0x19523a;_0x11e502[_0x4fc2e6(0xa8)](_0x4fc2e6(0x9a),_0x2df1bd,_0x5868c5),_0x37a41e[_0x4fc2e6(0x9e)](_0x11e502);});}}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties/commands/footnotesstylecommand
7
+ * @publicApi
8
+ */
9
+ import { Command } from 'ckeditor5/src/core.js';
10
+ import { type FootnotesDefinitionsStyle } from '../footnotespropertiesconfig.js';
11
+ /**
12
+ * Change footnotes definitions style command.
13
+ */
14
+ export declare class FootnotesStyleCommand extends Command {
15
+ /**
16
+ * Current list style value of the footnotesDefinitions container.
17
+ */
18
+ value: FootnotesDefinitionsStyle | null;
19
+ /**
20
+ * @inheritdoc
21
+ */
22
+ refresh(): void;
23
+ /**
24
+ * @inheritdoc
25
+ */
26
+ execute({ value }: {
27
+ value: FootnotesDefinitionsStyle;
28
+ }): void;
29
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x59c62c=_0x4234;(function(_0x3448e3,_0x17c6f9){const _0x225cb1=_0x4234,_0x481f7e=_0x3448e3();while(!![]){try{const _0x3c5c6a=-parseInt(_0x225cb1(0xc9))/0x1+-parseInt(_0x225cb1(0xc1))/0x2+parseInt(_0x225cb1(0xc3))/0x3*(-parseInt(_0x225cb1(0xbd))/0x4)+parseInt(_0x225cb1(0xbb))/0x5*(parseInt(_0x225cb1(0xbf))/0x6)+-parseInt(_0x225cb1(0xcc))/0x7*(parseInt(_0x225cb1(0xc2))/0x8)+-parseInt(_0x225cb1(0xca))/0x9+parseInt(_0x225cb1(0xba))/0xa;if(_0x3c5c6a===_0x17c6f9)break;else _0x481f7e['push'](_0x481f7e['shift']());}catch(_0x40a7aa){_0x481f7e['push'](_0x481f7e['shift']());}}}(_0x45c2,0xb2bfd));function _0x45c2(){const _0x31c454=['getAttribute','35187530Kgixjg','125suRZLx','_updateFootnotesCounters','2272684KavEBt','value','133500rfSxfD','model','494044dmIUzv','161728LSPXdx','3gMFIXw','includes','isEnabled','getFootnotesDefinitionsObjectElement','plugins','change','988916GvqeYr','8572257duTfyr','footnotesListStyle','203xlTBle','get','refresh','setAttribute','execute'];_0x45c2=function(){return _0x31c454;};return _0x45c2();}function _0x4234(_0x1bf0d5,_0x548e9d){const _0x45c2ae=_0x45c2();return _0x4234=function(_0x4234e2,_0x289c4f){_0x4234e2=_0x4234e2-0xb6;let _0x43c677=_0x45c2ae[_0x4234e2];return _0x43c677;},_0x4234(_0x1bf0d5,_0x548e9d);}import{Command as _0xdca16f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5ed10e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x261cde}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xdca16f{[_0x59c62c(0xb6)](){const _0x31060e=_0x59c62c,{editor:_0x387969}=this,_0x400023=_0x387969[_0x31060e(0xc7)][_0x31060e(0xcd)](_0x261cde)[_0x31060e(0xc6)]();this[_0x31060e(0xc5)]=!!_0x400023,this[_0x31060e(0xbe)]=_0x400023?.[_0x31060e(0xb9)](_0x31060e(0xcb))??null;}[_0x59c62c(0xb8)]({value:_0x68b0b2}){const _0x11dfad=_0x59c62c,{editor:_0x261c31}=this,_0x153ef5=_0x261c31[_0x11dfad(0xc7)][_0x11dfad(0xcd)](_0x261cde),_0x202d5c=_0x153ef5[_0x11dfad(0xc6)]();_0x202d5c&&_0x5ed10e[_0x11dfad(0xc4)](_0x68b0b2)&&_0x261c31[_0x11dfad(0xc0)][_0x11dfad(0xc8)](_0x3381eb=>{const _0x2e2e8c=_0x11dfad;_0x3381eb[_0x2e2e8c(0xb7)](_0x2e2e8c(0xcb),_0x68b0b2,_0x202d5c),_0x153ef5[_0x2e2e8c(0xbc)](_0x3381eb);});}}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties/footnotespropertiesconfig
7
+ * @publicApi
8
+ */
9
+ /**
10
+ * The configuration of the {@link module:footnotes/footnotesproperties~FootnotesProperties} feature.
11
+ *
12
+ * Read more in {@link module:footnotes/footnotesproperties~FootnotesProperties}.
13
+ */
14
+ export interface FootnotesPropertiesConfig {
15
+ /**
16
+ * The default style of the footnotes definitions. The default is `'decimal'`.
17
+ *
18
+ * Note: This configuration is used only when the footnotes definitions is being created after adding the first footnote.
19
+ */
20
+ defaultStyle?: FootnotesDefinitionsStyle;
21
+ /**
22
+ * The default start index of the footnotes definitions. The default is `1`.
23
+ *
24
+ * Note: This configuration is used only when the footnotes definitions is being created after adding the first footnote.
25
+ */
26
+ defaultStartIndex?: number;
27
+ /**
28
+ * Items to be placed in the footnotes properties toolbar.
29
+ *
30
+ * Assuming that you use the
31
+ * {@link module:footnotes/footnotesproperties/footnotespropertiesui~FootnotesPropertiesUI} feature,
32
+ * the following toolbar items will be available in {@link module:ui/componentfactory~ComponentFactory}:
33
+ *
34
+ * * `'footnotesStyle'` - the dropdown for selecting the footnotes definitions style.
35
+ *
36
+ * The default configuration for footnotes toolbar is:
37
+ *
38
+ * ```ts
39
+ * const footnotesPropertiesConfig = {
40
+ * toolbar: [ 'footnotesStyle' ]
41
+ * };
42
+ * ```
43
+ */
44
+ toolbar?: Array<string>;
45
+ }
46
+ /**
47
+ * The available styles for footnotes definitions.
48
+ */
49
+ export declare const FOOTNOTES_DEFINITIONS_STYLES: readonly ["decimal", "decimal-leading-zero", "lower-latin", "upper-latin", "lower-alpha", "upper-alpha", "lower-roman", "upper-roman"];
50
+ /**
51
+ * The style of the footnotes list. It should correspond to the `list-style-type` CSS property.
52
+ */
53
+ export type FootnotesDefinitionsStyle = (typeof FOOTNOTES_DEFINITIONS_STYLES)[number];
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x12c531=_0x6bec;function _0x5b5c(){const _0x149c65=['10XkCBrH','decimal-leading-zero','lower-latin','upper-roman','644350lZxasJ','817048sYJjCq','5164093tCqNOc','6294uuofDJ','5100375njxjBq','55932eMJkMp','2iZLyml','upper-latin','15XTRLaD','8JmrNBj','lower-roman','3300QQrQaS','2719206ajiXsC','upper-alpha','decimal','lower-alpha','8203mhzjKt'];_0x5b5c=function(){return _0x149c65;};return _0x5b5c();}function _0x6bec(_0x37772f,_0x411275){const _0x5b5cd5=_0x5b5c();return _0x6bec=function(_0x6bec38,_0x4a9e10){_0x6bec38=_0x6bec38-0x115;let _0xfd1559=_0x5b5cd5[_0x6bec38];return _0xfd1559;},_0x6bec(_0x37772f,_0x411275);}(function(_0x5e6845,_0x5d4258){const _0x54bffa=_0x6bec,_0x29cbb8=_0x5e6845();while(!![]){try{const _0x3f52a6=parseInt(_0x54bffa(0x11f))/0x1*(-parseInt(_0x54bffa(0x119))/0x2)+parseInt(_0x54bffa(0x121))/0x3*(-parseInt(_0x54bffa(0x11a))/0x4)+-parseInt(_0x54bffa(0x124))/0x5*(parseInt(_0x54bffa(0x11c))/0x6)+-parseInt(_0x54bffa(0x11d))/0x7*(-parseInt(_0x54bffa(0x122))/0x8)+-parseInt(_0x54bffa(0x125))/0x9+parseInt(_0x54bffa(0x115))/0xa*(-parseInt(_0x54bffa(0x11b))/0xb)+-parseInt(_0x54bffa(0x11e))/0xc*(-parseInt(_0x54bffa(0x129))/0xd);if(_0x3f52a6===_0x5d4258)break;else _0x29cbb8['push'](_0x29cbb8['shift']());}catch(_0x2d12ad){_0x29cbb8['push'](_0x29cbb8['shift']());}}}(_0x5b5c,0x83dd7));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x12c531(0x127),_0x12c531(0x116),_0x12c531(0x117),_0x12c531(0x120),_0x12c531(0x128),_0x12c531(0x126),_0x12c531(0x123),_0x12c531(0x118)];
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties/footnotespropertiesediting
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { FootnotesTracker } from '../footnotestracker.js';
11
+ import { FootnotesEditing } from '../footnotesediting.js';
12
+ /**
13
+ * A plugin that provides footnotes properties editing.
14
+ */
15
+ export declare class FootnotesPropertiesEditing extends Plugin {
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "FootnotesPropertiesEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): readonly [typeof FootnotesEditing, typeof FootnotesTracker];
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isPremiumPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ init(): void;
36
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x19f393=_0x40fc;function _0x34aa(){const _0x2f6731=['lower-roman','removeAttribute','item','toUpperCase','get','plugins','find','toViewElement','list-style-type','59234200FLlSzc','decimal','removeStyle','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','_defineFormatter','pluginName','consumable','add','requires','model','mapper','attribute:footnotesListStyle:footnotesDefinitions','name','6152556jjJQIn','setAttribute','6256870jKdTUj','element:ol','editor','footnotesStart','11WKDgPJ','define','parent','viewItem','element','_defineConverters','schema','FootnotesPropertiesEditing','lower-latin','downcast','4578633ZYShic','getChildren','getAttribute','isPremiumPlugin','position','543fxEzJz','footnotesStyle','setFootnoteFormatter','floor','upper-roman','getChanges','_getDefaultStartIndex','isOfficialPlugin','writer','upper-alpha','padStart','lower-alpha','footnotesDefinitions','getItems','getStyle','max','4456809AQpayh','isNaN','hasAttribute','4ZNUfdw','_defineSchema','1338DJrHNy','nodeAfter','10102616rflFPk','init','differ','7KLnMbX','footnotesListStyle','extend','toLowerCase','decimal-leading-zero','start','hasClass','consume','checkAttribute','type','insert','_formatFootnoteListValue','parseInt','upcast','fromCharCode','_getDefaultListStyle','upper-latin','for','config','_definePostfixer','setStyle','createRangeOn','from','footnotes.footnotesProperties.defaultListStyle','_updateFootnotesCounters','document','$text','registerPostFixer','attribute:footnotesListStart:footnotesDefinitions','modelCursor','footnotes-list','commands'];_0x34aa=function(){return _0x2f6731;};return _0x34aa();}(function(_0x5ab98d,_0xb044cf){const _0x1caa3f=_0x40fc,_0xa41af4=_0x5ab98d();while(!![]){try{const _0x283223=parseInt(_0x1caa3f(0x1dd))/0x1*(parseInt(_0x1caa3f(0x1f2))/0x2)+-parseInt(_0x1caa3f(0x1ed))/0x3+parseInt(_0x1caa3f(0x1f0))/0x4*(-parseInt(_0x1caa3f(0x230))/0x5)+-parseInt(_0x1caa3f(0x22e))/0x6+parseInt(_0x1caa3f(0x1f7))/0x7*(-parseInt(_0x1caa3f(0x1f4))/0x8)+-parseInt(_0x1caa3f(0x1d8))/0x9+-parseInt(_0x1caa3f(0x220))/0xa*(-parseInt(_0x1caa3f(0x234))/0xb);if(_0x283223===_0xb044cf)break;else _0xa41af4['push'](_0xa41af4['shift']());}catch(_0x15fa25){_0xa41af4['push'](_0xa41af4['shift']());}}}(_0x34aa,0xb7c50));import{Plugin as _0x4c4d87}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x24192d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x277a2f}from'./commands/footnotesstartcommand.js';function _0x40fc(_0xf953fd,_0x337ce5){const _0x34aafd=_0x34aa();return _0x40fc=function(_0x40fc55,_0x3c7ce4){_0x40fc55=_0x40fc55-0x1d2;let _0x49dc4d=_0x34aafd[_0x40fc55];return _0x49dc4d;},_0x40fc(_0xf953fd,_0x337ce5);}import{FootnotesTracker as _0x27e8a7}from'../footnotestracker.js';import{FootnotesEditing as _0x48c0ec}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4c4d87{static get[_0x19f393(0x226)](){const _0x3d49c6=_0x19f393;return _0x3d49c6(0x1d5);}static get[_0x19f393(0x229)](){return[_0x48c0ec,_0x27e8a7];}static get[_0x19f393(0x1e4)](){return!0x0;}static get[_0x19f393(0x1db)](){return!0x0;}[_0x19f393(0x1f5)](){const _0x1aeae4=_0x19f393,{editor:_0x2a4358}=this;_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x20e),_0x1aeae4(0x221)),_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x223),0x1),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x1de),new _0x24192d(_0x2a4358)),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x233),new _0x277a2f(_0x2a4358)),this[_0x1aeae4(0x1f1)](),this[_0x1aeae4(0x1d3)](),this[_0x1aeae4(0x225)](),this[_0x1aeae4(0x20a)]();}[_0x19f393(0x1f1)](){const _0x4d00b1=_0x19f393,{editor:_0x497b2e}=this,{schema:_0x18e88c}=_0x497b2e[_0x4d00b1(0x22a)];_0x18e88c[_0x4d00b1(0x1f9)](_0x4d00b1(0x1e9),{'allowAttributes':[_0x4d00b1(0x1f8),_0x4d00b1(0x224)]});}[_0x19f393(0x1d3)](){const _0x24e1c1=_0x19f393,{editor:_0x508af0}=this,{conversion:_0x4ef0e4,model:_0x342700}=_0x508af0,{schema:_0x32ad93}=_0x342700;_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x204))[_0x24e1c1(0x228)](_0x4381e8=>{const _0x25d425=_0x24e1c1;_0x4381e8['on'](_0x25d425(0x231),(_0xcfc318,_0x4197dd,_0x5bbcd1)=>{const _0x53435c=_0x25d425,_0xa2a56d=_0x4197dd[_0x53435c(0x237)],_0x5ddce8=_0x4197dd[_0x53435c(0x214)]?.[_0x53435c(0x236)];_0xa2a56d[_0x53435c(0x1fd)](_0x53435c(0x215))&&_0x5ddce8?.['is'](_0x53435c(0x1d2),_0x53435c(0x1e9))&&(function(_0x306d09,_0x548b3a,_0xfcd827,_0x4a153e){const _0x5977b6=_0x53435c;if(!_0x4a153e[_0x5977b6(0x1ff)](_0x548b3a,_0x5977b6(0x224)))return;let _0x1bcc8a=0x1;const _0x2fdfc8=_0xfcd827[_0x5977b6(0x227)][_0x5977b6(0x1fe)](_0x306d09,{'attributes':_0x5977b6(0x1fc)});if(_0x2fdfc8){const _0x39a737=Number[_0x5977b6(0x203)](_0x306d09[_0x5977b6(0x1da)](_0x5977b6(0x1fc)),0xa);Number[_0x5977b6(0x1ee)](_0x39a737)||(_0x1bcc8a=_0x39a737);}!_0x2fdfc8&&_0x548b3a[_0x5977b6(0x1ef)](_0x5977b6(0x224))||_0xfcd827[_0x5977b6(0x1e5)][_0x5977b6(0x22f)](_0x5977b6(0x224),_0x1bcc8a,_0x548b3a);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93),function(_0x3e17c8,_0x24926f,_0x4fb1fe,_0x2ae425){const _0x22b031=_0x53435c;if(!_0x2ae425[_0x22b031(0x1ff)](_0x24926f,_0x22b031(0x1f8)))return;let _0x42afce=_0x22b031(0x221),_0x58e5be=!0x1;if(_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'attributes':_0x22b031(0x200)})){const _0x322e74={0x1:_0x22b031(0x221),'a':_0x22b031(0x1e8),'A':_0x22b031(0x1e6),'i':_0x22b031(0x217),'I':_0x22b031(0x1e1)}[_0x3e17c8[_0x22b031(0x1da)](_0x22b031(0x200))];_0x322e74&&(_0x42afce=_0x322e74),_0x58e5be=!0x0;}_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'styles':_0x22b031(0x21f)})&&(_0x42afce=_0x3e17c8[_0x22b031(0x1eb)](_0x22b031(0x21f)),_0x58e5be=!0x0),!_0x58e5be&&_0x24926f[_0x22b031(0x1ef)](_0x22b031(0x1f8))||_0x4fb1fe[_0x22b031(0x1e5)][_0x22b031(0x22f)](_0x22b031(0x1f8),_0x42afce,_0x24926f);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93));});}),_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x1d7))[_0x24e1c1(0x228)](_0x476498=>{const _0x57a4b4=_0x24e1c1;_0x476498['on'](_0x57a4b4(0x213),(_0x54c1a1,_0x12d5b5,_0x572e39)=>{const _0x48e292=_0x57a4b4;if(!_0x572e39[_0x48e292(0x227)][_0x48e292(0x1fe)](_0x12d5b5[_0x48e292(0x219)],_0x54c1a1[_0x48e292(0x22d)]))return;const _0x2f1a54=C(_0x12d5b5[_0x48e292(0x219)],_0x572e39[_0x48e292(0x22b)]),{attributeNewValue:_0x1d718e}=_0x12d5b5;null==_0x1d718e||0x1===_0x1d718e?_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x218)](_0x48e292(0x1fc),_0x2f1a54):_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x22f)](_0x48e292(0x1fc),String(_0x1d718e),_0x2f1a54);}),_0x476498['on'](_0x57a4b4(0x22c),(_0x5f4495,_0x4f698a,_0x30b100)=>{const _0x3fcc83=_0x57a4b4;if(!_0x30b100[_0x3fcc83(0x227)][_0x3fcc83(0x1fe)](_0x4f698a[_0x3fcc83(0x219)],_0x5f4495[_0x3fcc83(0x22d)]))return;const _0x404b97=C(_0x4f698a[_0x3fcc83(0x219)],_0x30b100[_0x3fcc83(0x22b)]),{attributeNewValue:_0x1ff1fc}=_0x4f698a;_0x1ff1fc&&_0x3fcc83(0x221)!==_0x1ff1fc?_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x20b)](_0x3fcc83(0x21f),_0x1ff1fc,_0x404b97):_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x222)](_0x3fcc83(0x21f),_0x404b97);});});}[_0x19f393(0x20a)](){const _0x17ac98=_0x19f393,{editor:_0x18c69a}=this,{model:_0x39fd66}=_0x18c69a,_0x135a47=_0x18c69a[_0x17ac98(0x21c)][_0x17ac98(0x21b)](_0x27e8a7),_0x33bf1f=this[_0x17ac98(0x206)](),_0x3a9f1f=this[_0x17ac98(0x1e3)]();_0x39fd66[_0x17ac98(0x210)][_0x17ac98(0x212)](_0x316fab=>{const _0x42e7cd=_0x17ac98,_0x798ddb=_0x39fd66[_0x42e7cd(0x210)][_0x42e7cd(0x1f6)][_0x42e7cd(0x1e2)]();let _0xf9093f=!0x1;for(const _0x1412d5 of _0x798ddb){if(_0x42e7cd(0x201)!==_0x1412d5[_0x42e7cd(0x200)]||_0x42e7cd(0x211)===_0x1412d5[_0x42e7cd(0x22d)])continue;const _0x36ecdb=_0x39fd66[_0x42e7cd(0x20c)](_0x1412d5[_0x42e7cd(0x1dc)][_0x42e7cd(0x1f3)]);for(const _0xc70236 of _0x36ecdb[_0x42e7cd(0x1ea)]())_0xc70236['is'](_0x42e7cd(0x1d2),_0x42e7cd(0x1e9))&&(!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x224))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x224))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x224),_0x3a9f1f,_0xc70236),_0xf9093f=!0x0),!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x1f8))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x1f8))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x1f8),_0x33bf1f,_0xc70236),_0xf9093f=!0x0));}return _0xf9093f&&_0x135a47[_0x42e7cd(0x20f)](_0x316fab),_0xf9093f;});}[_0x19f393(0x225)](){const _0x176b13=_0x19f393,{editor:_0x29eea7}=this;_0x29eea7[_0x176b13(0x21c)][_0x176b13(0x21b)](_0x27e8a7)[_0x176b13(0x1df)](_0xa594f0=>this[_0x176b13(0x202)](_0xa594f0));}[_0x19f393(0x206)](){const _0x177669=_0x19f393;return this[_0x177669(0x232)][_0x177669(0x209)][_0x177669(0x21b)](_0x177669(0x20e));}[_0x19f393(0x1e3)](){const _0x5e2951=_0x19f393;return this[_0x5e2951(0x232)][_0x5e2951(0x209)][_0x5e2951(0x21b)](_0x5e2951(0x223));}[_0x19f393(0x202)]({container:_0x960cc8,value:_0x50c092,digits:_0x3f561f}){const _0x3e3d0f=_0x19f393,_0x278d01=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x1f8)),_0x2051d7=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x224)),_0x111bb0=Math[_0x3e3d0f(0x1e0)](_0x50c092)+(_0x2051d7??0x1)-0x1;switch(_0x278d01){case _0x3e3d0f(0x1fb):return function(_0x35bad6,_0x4bdb51){const _0x5eade6=_0x3e3d0f;return String(_0x35bad6)[_0x5eade6(0x1e7)](_0x4bdb51,'0');}(_0x111bb0,Math[_0x3e3d0f(0x1ec)](0x2,_0x3f561f));case _0x3e3d0f(0x1e8):case _0x3e3d0f(0x1d6):return M(_0x111bb0,!0x1);case _0x3e3d0f(0x1e6):case _0x3e3d0f(0x207):return M(_0x111bb0,!0x0);case _0x3e3d0f(0x217):return V(_0x111bb0,!0x1);case _0x3e3d0f(0x1e1):return V(_0x111bb0,!0x0);default:return String(_0x111bb0);}}}function C(_0x4408b5,_0x27657f){const _0x4a81b9=_0x19f393,_0x807e8e=_0x27657f[_0x4a81b9(0x21e)](_0x4408b5);return Array[_0x4a81b9(0x20d)](_0x807e8e[_0x4a81b9(0x1d9)]())[_0x4a81b9(0x21d)](_0x3adcb9=>_0x3adcb9['is'](_0x4a81b9(0x1d2),'ol')&&_0x3adcb9[_0x4a81b9(0x1fd)](_0x4a81b9(0x215)));}function M(_0x438dba,_0x34e367){const _0x29092f=_0x19f393;let _0xd7a6a6='',_0x580aab=_0x438dba;for(;_0x580aab>0x0;){const _0x383c40=(_0x580aab-0x1)%0x1a;_0xd7a6a6=String[_0x29092f(0x205)](0x61+_0x383c40)+_0xd7a6a6,_0x580aab=Math[_0x29092f(0x1e0)]((_0x580aab-0x1)/0x1a);}return _0x34e367?_0xd7a6a6[_0x29092f(0x21a)]():_0xd7a6a6;}const N=[{'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 V(_0x3c64e0,_0x17dd9d){const _0x5eed0b=_0x19f393;let _0x108d65='',_0x2f119a=_0x3c64e0;for(const {value:_0x1bb670,numeral:_0x2641d5}of N)for(;_0x2f119a>=_0x1bb670;)_0x108d65+=_0x2641d5,_0x2f119a-=_0x1bb670;return _0x17dd9d?_0x108d65:_0x108d65[_0x5eed0b(0x1fa)]();}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties/footnotespropertiesui
7
+ * @publicApi
8
+ */
9
+ import { ContextualBalloon } from 'ckeditor5/src/ui.js';
10
+ import { WidgetToolbarRepository } from 'ckeditor5/src/widget.js';
11
+ import { Plugin } from 'ckeditor5/src/core.js';
12
+ import '../../theme/footnotesproperties.css';
13
+ /**
14
+ * A plugin that provides footnotes properties UI.
15
+ */
16
+ export declare class FootnotesPropertiesUI extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "FootnotesPropertiesUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get requires(): readonly [typeof ContextualBalloon, typeof WidgetToolbarRepository];
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get isOfficialPlugin(): true;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get isPremiumPlugin(): true;
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ init(): void;
37
+ /**
38
+ * @inheritDoc
39
+ */
40
+ afterInit(): void;
41
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{BalloonPanelView as _0x5e160f,ButtonView as _0x504019,ContextualBalloon as _0x1fca92,createDropdown as _0x1fced2}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4db114}from'ckeditor5/src/widget.js';import{Plugin as _0x3f3971}from'ckeditor5/src/core.js';import{IconFootnote as _0x4fe175,IconListStyleDecimal as _0xf8d791,IconListStyleDecimalLeadingZero as _0x43c49d,IconListStyleLowerLatin as _0x24bdbc,IconListStyleLowerRoman as _0x2888eb,IconListStyleUpperLatin as _0x53ab9a,IconListStyleUpperRoman as _0x5622c1}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x221d5d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xce5d7a}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3f3971{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1fca92,_0x4db114];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5962f2}=this,{componentFactory:_0x56c401}=_0x5962f2['ui'];_0x5962f2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x56c401['add']('footnotesStyle',function(_0x57e1e7){return _0x740cee=>{const {t:t}=_0x740cee,_0x320c65=_0x57e1e7['commands']['get']('footnotesStyle'),_0x200287=_0x1fced2(_0x740cee),{buttonView:_0x58603e}=_0x200287;return _0x200287['class']='ck-footnotes-styles-dropdown',_0x200287['bind']('isEnabled')['to'](_0x320c65,'isEnabled'),_0x58603e['set']({'label':t('Footnotes\x20style'),'icon':_0x4fe175,'tooltip':!0x0}),_0x200287['once']('change:isOpen',()=>{const _0x11eb00=function({editor:_0x5561cd,dropdownView:_0x556fa4}){const {t:t}=_0x5561cd['locale'],_0x30a266=t('Footnotes\x20definitions\x20styles'),_0x1ccd2c=function(_0x2b6e01){const t=_0x2b6e01['locale']['t'],_0x2c1761=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xf8d791},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x43c49d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2888eb},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5622c1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x24bdbc},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x53ab9a}];return _0x2c1761['map'](function(_0x3a21b3){const _0x44380e=_0x3a21b3['locale'];return({label:_0x4d56e9,icon:_0x4352c3,tooltip:_0x307bc2,style:_0x1e943a})=>{const _0x5c93c8=_0x3a21b3['commands']['get']('footnotesStyle'),_0x4f1d42=new _0x504019(_0x44380e);return _0x4f1d42['set']({'label':_0x4d56e9,'icon':_0x4352c3,'tooltip':_0x307bc2}),_0x4f1d42['bind']('isOn')['to'](_0x5c93c8,'value',_0x2c7d1d=>_0x2c7d1d===_0x1e943a),_0x4f1d42['bind']('isEnabled')['to'](_0x5c93c8,'isEnabled'),_0x4f1d42['on']('execute',()=>{_0x3a21b3['execute']('footnotesStyle',{'value':_0x1e943a}),_0x3a21b3['editing']['view']['focus']();}),_0x4f1d42;};}(_0x2b6e01));}(_0x5561cd),_0x578075=new _0x221d5d(_0x5561cd['locale'],{'styleGridAriaLabel':_0x30a266,'styleButtonViews':_0x1ccd2c});return _0x578075['delegate']('execute')['to'](_0x556fa4),_0x578075['on']('footnotesListStart',(_0x48e4fd,_0x39e1c6)=>{_0x5561cd['execute']('footnotesStart',{'value':_0x39e1c6['startIndex']});}),_0x578075;}({'editor':_0x57e1e7,'dropdownView':_0x200287});_0x200287['panelView']['children']['add'](_0x11eb00);}),_0x200287;};}(_0x5962f2));}['afterInit'](){const {editor:_0x255c5e}=this,{t:t}=_0x255c5e['locale'],_0x2169c5=_0x255c5e['plugins']['get'](_0x4db114),{defaultPositions:_0x15fc8d}=_0x5e160f;_0x2169c5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x255c5e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x88b6f1=>{let _0x5599ce=_0x88b6f1['getFirstPosition']()?.['parent'];return _0x5599ce?.['is']('$text')&&(_0x5599ce=_0x5599ce['parent']),_0x5599ce?.['is']('element')?_0x5599ce['findAncestor'](_0xce5d7a):null;},'positions':[_0x15fc8d['southArrowNorth'],_0x15fc8d['southArrowNorthMiddleWest'],_0x15fc8d['southArrowNorthMiddleEast'],_0x15fc8d['southArrowNorthWest'],_0x15fc8d['southArrowNorthEast'],_0x15fc8d['northArrowSouth'],_0x15fc8d['northArrowSouthMiddleWest'],_0x15fc8d['northArrowSouthMiddleEast'],_0x15fc8d['northArrowSouthWest'],_0x15fc8d['northArrowSouthEast'],_0x15fc8d['viewportStickyNorth']]});}}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * Fired when the footnotes start index value has changed via {@link ~FootnotesDefinitionsPropertiesView#startIndexFieldView}.
7
+ *
8
+ * @eventName ~FootnotesDefinitionsPropertiesView#listStart
9
+ */
10
+ export type FootnotesDefinitionsPropertiesViewListStartEvent = {
11
+ name: 'footnotesListStart';
12
+ args: [data: {
13
+ startIndex: number;
14
+ }];
15
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{ButtonView as _0x26c248,View as _0x1c4ba4,ViewCollection as _0x5d6d81,FocusCycler as _0x7a7f23,addKeyboardHandlingForGrid as _0x4d8710,CollapsibleView as _0x123a8f,LabeledFieldView as tt,createLabeledInputNumber as st}from'ckeditor5/src/ui.js';import{FocusTracker as it,KeystrokeHandler as et,global as ot}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1c4ba4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x5d6d81();['focusCycler'];constructor(_0x2720a6,{styleButtonViews:_0x33f7ce,styleGridAriaLabel:_0x40272b}){super(_0x2720a6),(this['focusCycler']=new _0x7a7f23({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x33f7ce,_0x40272b),[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 _0x10b548 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x10b548['element']);_0x4d8710({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ot['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 _0x2fb431=_0x1b1c58=>_0x1b1c58['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fb431),this['keystrokes']['set']('arrowleft',_0x2fb431),this['keystrokes']['set']('arrowup',_0x2fb431),this['keystrokes']['set']('arrowdown',_0x2fb431);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x208a62,_0x104fd7){const _0x40a163=new _0x1c4ba4(this['locale']);return _0x40a163['children']=_0x40a163['createCollection'](),_0x40a163['children']['addMany'](_0x208a62),_0x40a163['setTemplate']({'tag':'div','attributes':{'aria-label':_0x104fd7,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x40a163['children']}),_0x40a163['children']['delegate']('execute')['to'](this),_0x40a163['focus']=function(){for(const _0x494a7a of this['children'])if(_0x494a7a instanceof _0x26c248&&_0x494a7a['isOn'])return void _0x494a7a['focus']();this['children']['first']['focus']();},_0x40a163['focusTracker']=new it(),_0x40a163['keystrokes']=new et(),_0x40a163['render'](),_0x40a163['keystrokes']['listenTo'](_0x40a163['element']),this['children']['add'](_0x40a163),_0x40a163;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x157068=this['_createStartIndexPropertyView'](),_0x176ef6=[_0x157068],_0x2649cb=new _0x123a8f(this['locale'],_0x176ef6);return _0x2649cb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2649cb['buttonView']['bind']('isEnabled')['toMany'](_0x176ef6,'isEnabled',(..._0x3300b7)=>_0x3300b7['some'](_0x344ea1=>_0x344ea1)),_0x2649cb['buttonView']['on']('change:isEnabled',(_0x434f41,_0x30484a,_0x433c60)=>{_0x433c60||(_0x2649cb['isCollapsed']=!0x0);}),this['children']['add'](_0x2649cb),[_0x157068,_0x2649cb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x55e231=new tt(this['locale'],st);return _0x55e231['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x55e231['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x55e231['fieldView']['on']('input',()=>{const _0x267afe=_0x55e231['fieldView']['element'],_0x2b099c=_0x267afe['valueAsNumber'];Number['isNaN'](_0x2b099c)?_0x55e231['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x267afe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2b099c}):_0x55e231['errorText']=t(_0x2b099c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x55e231;}}