@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251029.0 → 47.2.0-alpha.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 (382) 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.js +1 -1
  75. package/dist/translations/af.d.ts +8 -0
  76. package/dist/translations/af.js +23 -0
  77. package/dist/translations/af.umd.js +23 -0
  78. package/dist/translations/ar.d.ts +8 -0
  79. package/dist/translations/ar.js +23 -0
  80. package/dist/translations/ar.umd.js +23 -0
  81. package/dist/translations/ast.d.ts +8 -0
  82. package/dist/translations/ast.js +23 -0
  83. package/dist/translations/ast.umd.js +23 -0
  84. package/dist/translations/az.d.ts +8 -0
  85. package/dist/translations/az.js +23 -0
  86. package/dist/translations/az.umd.js +23 -0
  87. package/dist/translations/be.d.ts +8 -0
  88. package/dist/translations/be.js +23 -0
  89. package/dist/translations/be.umd.js +23 -0
  90. package/dist/translations/bg.d.ts +8 -0
  91. package/dist/translations/bg.js +23 -0
  92. package/dist/translations/bg.umd.js +23 -0
  93. package/dist/translations/bn.d.ts +8 -0
  94. package/dist/translations/bn.js +23 -0
  95. package/dist/translations/bn.umd.js +23 -0
  96. package/dist/translations/bs.d.ts +8 -0
  97. package/dist/translations/bs.js +23 -0
  98. package/dist/translations/bs.umd.js +23 -0
  99. package/dist/translations/ca.d.ts +8 -0
  100. package/dist/translations/ca.js +23 -0
  101. package/dist/translations/ca.umd.js +23 -0
  102. package/dist/translations/cs.d.ts +8 -0
  103. package/dist/translations/cs.js +23 -0
  104. package/dist/translations/cs.umd.js +23 -0
  105. package/dist/translations/da.d.ts +8 -0
  106. package/dist/translations/da.js +23 -0
  107. package/dist/translations/da.umd.js +23 -0
  108. package/dist/translations/de-ch.d.ts +8 -0
  109. package/dist/translations/de-ch.js +23 -0
  110. package/dist/translations/de-ch.umd.js +23 -0
  111. package/dist/translations/de.d.ts +8 -0
  112. package/dist/translations/de.js +23 -0
  113. package/dist/translations/de.umd.js +23 -0
  114. package/dist/translations/el.d.ts +8 -0
  115. package/dist/translations/el.js +23 -0
  116. package/dist/translations/el.umd.js +23 -0
  117. package/dist/translations/en-au.d.ts +8 -0
  118. package/dist/translations/en-au.js +23 -0
  119. package/dist/translations/en-au.umd.js +23 -0
  120. package/dist/translations/en-gb.d.ts +8 -0
  121. package/dist/translations/en-gb.js +23 -0
  122. package/dist/translations/en-gb.umd.js +23 -0
  123. package/dist/translations/en.d.ts +8 -0
  124. package/dist/translations/en.js +23 -0
  125. package/dist/translations/en.umd.js +23 -0
  126. package/dist/translations/eo.d.ts +8 -0
  127. package/dist/translations/eo.js +23 -0
  128. package/dist/translations/eo.umd.js +23 -0
  129. package/dist/translations/es-co.d.ts +8 -0
  130. package/dist/translations/es-co.js +23 -0
  131. package/dist/translations/es-co.umd.js +23 -0
  132. package/dist/translations/es.d.ts +8 -0
  133. package/dist/translations/es.js +23 -0
  134. package/dist/translations/es.umd.js +23 -0
  135. package/dist/translations/et.d.ts +8 -0
  136. package/dist/translations/et.js +23 -0
  137. package/dist/translations/et.umd.js +23 -0
  138. package/dist/translations/eu.d.ts +8 -0
  139. package/dist/translations/eu.js +23 -0
  140. package/dist/translations/eu.umd.js +23 -0
  141. package/dist/translations/fa.d.ts +8 -0
  142. package/dist/translations/fa.js +23 -0
  143. package/dist/translations/fa.umd.js +23 -0
  144. package/dist/translations/fi.d.ts +8 -0
  145. package/dist/translations/fi.js +23 -0
  146. package/dist/translations/fi.umd.js +23 -0
  147. package/dist/translations/fr.d.ts +8 -0
  148. package/dist/translations/fr.js +23 -0
  149. package/dist/translations/fr.umd.js +23 -0
  150. package/dist/translations/gl.d.ts +8 -0
  151. package/dist/translations/gl.js +23 -0
  152. package/dist/translations/gl.umd.js +23 -0
  153. package/dist/translations/gu.d.ts +8 -0
  154. package/dist/translations/gu.js +23 -0
  155. package/dist/translations/gu.umd.js +23 -0
  156. package/dist/translations/he.d.ts +8 -0
  157. package/dist/translations/he.js +23 -0
  158. package/dist/translations/he.umd.js +23 -0
  159. package/dist/translations/hi.d.ts +8 -0
  160. package/dist/translations/hi.js +23 -0
  161. package/dist/translations/hi.umd.js +23 -0
  162. package/dist/translations/hr.d.ts +8 -0
  163. package/dist/translations/hr.js +23 -0
  164. package/dist/translations/hr.umd.js +23 -0
  165. package/dist/translations/hu.d.ts +8 -0
  166. package/dist/translations/hu.js +23 -0
  167. package/dist/translations/hu.umd.js +23 -0
  168. package/dist/translations/hy.d.ts +8 -0
  169. package/dist/translations/hy.js +23 -0
  170. package/dist/translations/hy.umd.js +23 -0
  171. package/dist/translations/id.d.ts +8 -0
  172. package/dist/translations/id.js +23 -0
  173. package/dist/translations/id.umd.js +23 -0
  174. package/dist/translations/it.d.ts +8 -0
  175. package/dist/translations/it.js +23 -0
  176. package/dist/translations/it.umd.js +23 -0
  177. package/dist/translations/ja.d.ts +8 -0
  178. package/dist/translations/ja.js +23 -0
  179. package/dist/translations/ja.umd.js +23 -0
  180. package/dist/translations/jv.d.ts +8 -0
  181. package/dist/translations/jv.js +23 -0
  182. package/dist/translations/jv.umd.js +23 -0
  183. package/dist/translations/kk.d.ts +8 -0
  184. package/dist/translations/kk.js +23 -0
  185. package/dist/translations/kk.umd.js +23 -0
  186. package/dist/translations/km.d.ts +8 -0
  187. package/dist/translations/km.js +23 -0
  188. package/dist/translations/km.umd.js +23 -0
  189. package/dist/translations/kn.d.ts +8 -0
  190. package/dist/translations/kn.js +23 -0
  191. package/dist/translations/kn.umd.js +23 -0
  192. package/dist/translations/ko.d.ts +8 -0
  193. package/dist/translations/ko.js +23 -0
  194. package/dist/translations/ko.umd.js +23 -0
  195. package/dist/translations/ku.d.ts +8 -0
  196. package/dist/translations/ku.js +23 -0
  197. package/dist/translations/ku.umd.js +23 -0
  198. package/dist/translations/lt.d.ts +8 -0
  199. package/dist/translations/lt.js +23 -0
  200. package/dist/translations/lt.umd.js +23 -0
  201. package/dist/translations/lv.d.ts +8 -0
  202. package/dist/translations/lv.js +23 -0
  203. package/dist/translations/lv.umd.js +23 -0
  204. package/dist/translations/ms.d.ts +8 -0
  205. package/dist/translations/ms.js +23 -0
  206. package/dist/translations/ms.umd.js +23 -0
  207. package/dist/translations/nb.d.ts +8 -0
  208. package/dist/translations/nb.js +23 -0
  209. package/dist/translations/nb.umd.js +23 -0
  210. package/dist/translations/ne.d.ts +8 -0
  211. package/dist/translations/ne.js +23 -0
  212. package/dist/translations/ne.umd.js +23 -0
  213. package/dist/translations/nl.d.ts +8 -0
  214. package/dist/translations/nl.js +23 -0
  215. package/dist/translations/nl.umd.js +23 -0
  216. package/dist/translations/no.d.ts +8 -0
  217. package/dist/translations/no.js +23 -0
  218. package/dist/translations/no.umd.js +23 -0
  219. package/dist/translations/oc.d.ts +8 -0
  220. package/dist/translations/oc.js +23 -0
  221. package/dist/translations/oc.umd.js +23 -0
  222. package/dist/translations/pl.d.ts +8 -0
  223. package/dist/translations/pl.js +23 -0
  224. package/dist/translations/pl.umd.js +23 -0
  225. package/dist/translations/pt-br.d.ts +8 -0
  226. package/dist/translations/pt-br.js +23 -0
  227. package/dist/translations/pt-br.umd.js +23 -0
  228. package/dist/translations/pt.d.ts +8 -0
  229. package/dist/translations/pt.js +23 -0
  230. package/dist/translations/pt.umd.js +23 -0
  231. package/dist/translations/ro.d.ts +8 -0
  232. package/dist/translations/ro.js +23 -0
  233. package/dist/translations/ro.umd.js +23 -0
  234. package/dist/translations/ru.d.ts +8 -0
  235. package/dist/translations/ru.js +23 -0
  236. package/dist/translations/ru.umd.js +23 -0
  237. package/dist/translations/si.d.ts +8 -0
  238. package/dist/translations/si.js +23 -0
  239. package/dist/translations/si.umd.js +23 -0
  240. package/dist/translations/sk.d.ts +8 -0
  241. package/dist/translations/sk.js +23 -0
  242. package/dist/translations/sk.umd.js +23 -0
  243. package/dist/translations/sl.d.ts +8 -0
  244. package/dist/translations/sl.js +23 -0
  245. package/dist/translations/sl.umd.js +23 -0
  246. package/dist/translations/sq.d.ts +8 -0
  247. package/dist/translations/sq.js +23 -0
  248. package/dist/translations/sq.umd.js +23 -0
  249. package/dist/translations/sr-latn.d.ts +8 -0
  250. package/dist/translations/sr-latn.js +23 -0
  251. package/dist/translations/sr-latn.umd.js +23 -0
  252. package/dist/translations/sr.d.ts +8 -0
  253. package/dist/translations/sr.js +23 -0
  254. package/dist/translations/sr.umd.js +23 -0
  255. package/dist/translations/sv.d.ts +8 -0
  256. package/dist/translations/sv.js +23 -0
  257. package/dist/translations/sv.umd.js +23 -0
  258. package/dist/translations/th.d.ts +8 -0
  259. package/dist/translations/th.js +23 -0
  260. package/dist/translations/th.umd.js +23 -0
  261. package/dist/translations/ti.d.ts +8 -0
  262. package/dist/translations/ti.js +23 -0
  263. package/dist/translations/ti.umd.js +23 -0
  264. package/dist/translations/tk.d.ts +8 -0
  265. package/dist/translations/tk.js +23 -0
  266. package/dist/translations/tk.umd.js +23 -0
  267. package/dist/translations/tr.d.ts +8 -0
  268. package/dist/translations/tr.js +23 -0
  269. package/dist/translations/tr.umd.js +23 -0
  270. package/dist/translations/tt.d.ts +8 -0
  271. package/dist/translations/tt.js +23 -0
  272. package/dist/translations/tt.umd.js +23 -0
  273. package/dist/translations/ug.d.ts +8 -0
  274. package/dist/translations/ug.js +23 -0
  275. package/dist/translations/ug.umd.js +23 -0
  276. package/dist/translations/uk.d.ts +8 -0
  277. package/dist/translations/uk.js +23 -0
  278. package/dist/translations/uk.umd.js +23 -0
  279. package/dist/translations/ur.d.ts +8 -0
  280. package/dist/translations/ur.js +23 -0
  281. package/dist/translations/ur.umd.js +23 -0
  282. package/dist/translations/uz.d.ts +8 -0
  283. package/dist/translations/uz.js +23 -0
  284. package/dist/translations/uz.umd.js +23 -0
  285. package/dist/translations/vi.d.ts +8 -0
  286. package/dist/translations/vi.js +23 -0
  287. package/dist/translations/vi.umd.js +23 -0
  288. package/dist/translations/zh-cn.d.ts +8 -0
  289. package/dist/translations/zh-cn.js +23 -0
  290. package/dist/translations/zh-cn.umd.js +23 -0
  291. package/dist/translations/zh.d.ts +8 -0
  292. package/dist/translations/zh.js +23 -0
  293. package/dist/translations/zh.umd.js +23 -0
  294. package/lang/translations/af.po +112 -0
  295. package/lang/translations/ar.po +112 -0
  296. package/lang/translations/ast.po +112 -0
  297. package/lang/translations/az.po +112 -0
  298. package/lang/translations/be.po +112 -0
  299. package/lang/translations/bg.po +112 -0
  300. package/lang/translations/bn.po +112 -0
  301. package/lang/translations/bs.po +112 -0
  302. package/lang/translations/ca.po +112 -0
  303. package/lang/translations/cs.po +112 -0
  304. package/lang/translations/da.po +112 -0
  305. package/lang/translations/de-ch.po +112 -0
  306. package/lang/translations/de.po +112 -0
  307. package/lang/translations/el.po +112 -0
  308. package/lang/translations/en-au.po +112 -0
  309. package/lang/translations/en-gb.po +112 -0
  310. package/lang/translations/en.po +112 -0
  311. package/lang/translations/eo.po +112 -0
  312. package/lang/translations/es-co.po +112 -0
  313. package/lang/translations/es.po +112 -0
  314. package/lang/translations/et.po +112 -0
  315. package/lang/translations/eu.po +112 -0
  316. package/lang/translations/fa.po +112 -0
  317. package/lang/translations/fi.po +112 -0
  318. package/lang/translations/fr.po +112 -0
  319. package/lang/translations/gl.po +112 -0
  320. package/lang/translations/gu.po +112 -0
  321. package/lang/translations/he.po +112 -0
  322. package/lang/translations/hi.po +112 -0
  323. package/lang/translations/hr.po +112 -0
  324. package/lang/translations/hu.po +112 -0
  325. package/lang/translations/hy.po +112 -0
  326. package/lang/translations/id.po +112 -0
  327. package/lang/translations/it.po +112 -0
  328. package/lang/translations/ja.po +112 -0
  329. package/lang/translations/jv.po +112 -0
  330. package/lang/translations/kk.po +112 -0
  331. package/lang/translations/km.po +112 -0
  332. package/lang/translations/kn.po +112 -0
  333. package/lang/translations/ko.po +112 -0
  334. package/lang/translations/ku.po +112 -0
  335. package/lang/translations/lt.po +112 -0
  336. package/lang/translations/lv.po +112 -0
  337. package/lang/translations/ms.po +112 -0
  338. package/lang/translations/nb.po +112 -0
  339. package/lang/translations/ne.po +112 -0
  340. package/lang/translations/nl.po +112 -0
  341. package/lang/translations/no.po +112 -0
  342. package/lang/translations/oc.po +112 -0
  343. package/lang/translations/pl.po +112 -0
  344. package/lang/translations/pt-br.po +112 -0
  345. package/lang/translations/pt.po +112 -0
  346. package/lang/translations/ro.po +112 -0
  347. package/lang/translations/ru.po +112 -0
  348. package/lang/translations/si.po +112 -0
  349. package/lang/translations/sk.po +112 -0
  350. package/lang/translations/sl.po +112 -0
  351. package/lang/translations/sq.po +112 -0
  352. package/lang/translations/sr-latn.po +112 -0
  353. package/lang/translations/sr.po +112 -0
  354. package/lang/translations/sv.po +112 -0
  355. package/lang/translations/th.po +112 -0
  356. package/lang/translations/ti.po +112 -0
  357. package/lang/translations/tk.po +112 -0
  358. package/lang/translations/tr.po +112 -0
  359. package/lang/translations/tt.po +112 -0
  360. package/lang/translations/ug.po +112 -0
  361. package/lang/translations/uk.po +112 -0
  362. package/lang/translations/ur.po +112 -0
  363. package/lang/translations/uz.po +112 -0
  364. package/lang/translations/vi.po +112 -0
  365. package/lang/translations/zh-cn.po +112 -0
  366. package/lang/translations/zh.po +112 -0
  367. package/package.json +9 -9
  368. package/src/commands/insertfootnotecommand.js +1 -1
  369. package/src/footnotes.js +1 -1
  370. package/src/footnotesclipboard.js +1 -1
  371. package/src/footnotesediting.js +1 -1
  372. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  373. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  374. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  375. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  376. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  377. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  378. package/src/footnotesproperties.js +1 -1
  379. package/src/footnotestracker.js +1 -1
  380. package/src/footnotesui.js +1 -1
  381. package/src/index.js +1 -1
  382. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x444ecb,Command as _0x1c23a5}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x46f5d8,isWidget as _0x1d4b8b,toWidgetEditable as _0x1c971a,WidgetToolbarRepository as _0x25541c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x144b00,logWarning as _0x177a28,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2ad005,ClickObserver as _0x27612b}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1e9339}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x27c539,ButtonView as _0x352d48,View as _0x41d8a0,ViewCollection as _0x41e1e2,FocusCycler as _0x5b8a07,addKeyboardHandlingForGrid as _0x1e9083,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x45a521,BalloonPanelView as _0x13092d,createDropdown as _0x3b703a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1ed261,IconListStyleDecimal as _0x4066d3,IconListStyleDecimalLeadingZero as _0x528aa6,IconListStyleLowerRoman as _0x36fe45,IconListStyleUpperRoman as _0x2d1513,IconListStyleLowerLatin as _0x29c5b5,IconListStyleUpperLatin as _0xde6fb3}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x5a5511,_0x4e218b){this['_model']=_0x5a5511,this['_elementName']=_0x4e218b['elementName'],this['_getElementKey']=_0x4e218b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x5dbee4){const _0x54cfd5=new Set(),_0x192965=new Map();for(const _0x58026d of _0x5dbee4){if('insert'===_0x58026d['type']&&'$text'!==_0x58026d['name']&&_0x58026d['position']['nodeAfter']){const _0x7dfc0e=this['_model']['createRangeOn'](_0x58026d['position']['nodeAfter']);for(const _0xdb1125 of _0x7dfc0e['getItems']()){if(!_0xdb1125['is']('element',this['_elementName']))continue;const _0x34cee0=this['_getElementKey'](_0xdb1125);_0x192965['has'](_0x34cee0)||_0x192965['set'](_0x34cee0,[]),_0x192965['get'](_0x34cee0)['push'](_0xdb1125);}}if('remove'===_0x58026d['type']&&_0x58026d['name']===this['_elementName']){const _0x2a2b6e=this['_getElementKey']({'getAttribute':_0x2b991d=>_0x58026d['attributes']['get'](_0x2b991d)});_0x54cfd5['add'](_0x2a2b6e);}}for(const [_0x7a138e,_0x4090a2]of this['_trackedElements'])'$graveyard'===_0x4090a2['root']['rootName']&&_0x54cfd5['add'](_0x7a138e);for(const _0x4182d1 of _0x54cfd5)this['_trackedElements']['delete'](_0x4182d1);for(const [_0x50264e,_0x5a0c89]of _0x192965)this['_trackedElements']['set'](_0x50264e,_0x5a0c89[_0x5a0c89['length']-0x1]);const _0x3d6c40=new Set();for(const [_0x5aece9,_0x473aac]of _0x192965)_0x54cfd5['has'](_0x5aece9)&&(_0x3d6c40['add'](_0x473aac[0x0]),_0x473aac['length']>0x1?_0x192965['set'](_0x5aece9,_0x473aac['slice'](0x1)):_0x192965['delete'](_0x5aece9),_0x54cfd5['delete'](_0x5aece9));return{'removed':Array['from'](_0x54cfd5),'inserted':Array['from'](_0x192965['values']())['flat'](),'moved':Array['from'](_0x3d6c40)};}}class c extends _0x444ecb{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x368a9b){super(_0x368a9b),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3b5a46=>_0x3b5a46['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x56894b=>_0x56894b['getAttribute']('footnoteId')});}['init'](){const {editor:_0x193b3d}=this,{model:_0x5a852c,data:_0x1c1e33}=_0x193b3d;_0x5a852c['document']['registerPostFixer'](_0x4418d1=>{const _0x52c696=_0x5a852c['document']['differ']['getChanges']();let _0x2ecdd0=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4418d1,_0x52c696)&&(_0x2ecdd0=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4418d1,_0x52c696)&&(_0x2ecdd0=!0x0),this['_handleFootnoteReferencesChanges'](_0x4418d1,_0x52c696)&&(_0x2ecdd0=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4418d1)&&(_0x2ecdd0=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4418d1)&&(_0x2ecdd0=!0x0),this['_sortFootnoteDefinitions'](_0x4418d1)&&(_0x2ecdd0=!0x0),_0x2ecdd0;}),this['listenTo'](_0x5a852c['document'],'change:data',()=>{_0x5a852c['enqueueChange']({'isUndoable':!0x1},_0x6628b8=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x6628b8);});},{'priority':'low'}),this['listenTo'](_0x1c1e33,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x20d27a){return this['_footnotes']['find'](_0x48b37f=>_0x48b37f['id']===_0x20d27a)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x358a36){this['_footnoteFormatter']=_0x358a36;}['_updateFootnotesCounters'](_0x4a3202,_0x125315=0x0){let _0x8c27d8=!0x1;for(let _0x74cc46=_0x125315;_0x74cc46<this['_footnotes']['length'];_0x74cc46++)this['_updateFootnoteRefCounter'](_0x4a3202,_0x74cc46)&&(_0x8c27d8=!0x0);return _0x8c27d8;}['_insertEmptyFootnotesDefinitionsContainer'](_0x291878,_0x5222e0){const _0x33415d=_0x291878['createElement']('footnotesDefinitions',{});return _0x291878['append'](_0x33415d,_0x5222e0),this['_footnotesDefinitions']=_0x33415d,_0x33415d;}['_ensureFootnotesDefinitionsContainerExists'](_0x4c4531){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x587785=this['_footnotes'][0x0]['reference']['root'],_0xb96867=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4c4531,_0x587785);for(const _0x4f3232 of this['_footnotes'])_0x4f3232['definition']['parent']||_0x4c4531['insert'](_0x4f3232['definition'],_0xb96867,'end');this['_updateFootnotesCounters'](_0x4c4531);}['_handleFootnotesDefinitionsObjectChanges'](_0x3d526c,_0xe7d5f6){let _0x248a4d=!0x1;const {inserted:_0x1e099c,removed:_0x5242ca,moved:_0x151454}=this['_footnoteDefsContainerTracker']['getChanges'](_0xe7d5f6);if(_0x151454['length']&&(this['_footnotesDefinitions']=_0x151454[0x0]),_0x1e099c['length']){if(_0x1e099c['length']>0x1||this['_footnotesDefinitions']&&_0x1e099c['some'](_0x1dfe34=>_0x1dfe34!==this['_footnotesDefinitions'])){const _0x1de993=_0x3d526c['createElement']('footnotesDefinitions',{}),_0x350e6e=[];this['_footnotesDefinitions']&&_0x350e6e['push'](this['_footnotesDefinitions']),_0x350e6e['push'](..._0x1e099c),_0x3d526c['insert'](_0x1de993,_0x350e6e[0x0],'before');for(const _0x3a8623 of _0x350e6e)_0x3d526c['move'](_0x3d526c['createRangeIn'](_0x3a8623),_0x3d526c['createPositionAt'](_0x1de993,'end')),_0x3d526c['remove'](_0x3a8623);this['_footnotesDefinitions']=_0x1de993,this['_updateFootnotesCounters'](_0x3d526c),_0x248a4d=!0x0;}else this['_footnotesDefinitions']=_0x1e099c[0x0];}if(_0x5242ca['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x38229b of this['_footnotes'])_0x3d526c['remove'](_0x38229b['reference']),_0x248a4d=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x248a4d;}['_handleFootnoteDefinitionsChanges'](_0x5df44f,_0x557f30){let _0x2826d4=!0x1;const _0x16b89c=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x556c2f,moved:_0x25f3c1}=this['_footnoteDefsTracker']['getChanges'](_0x557f30);for(const _0x21287c of[..._0x25f3c1,..._0x556c2f]){const _0x59f99a=_0x21287c['getAttribute']('footnoteId'),_0x2ce4c4=this['getFootnote'](_0x59f99a);_0x2ce4c4&&(_0x2ce4c4['definition']=_0x21287c),_(_0x5df44f,_0x16b89c,_0x21287c)&&(_0x2826d4=!0x0);}return _0x2826d4;}['_handleFootnoteReferencesChanges'](_0x2a810b,_0x286546){let _0x26ab49=!0x1;const {removed:_0x51f1df,inserted:_0x3a0397,moved:_0x53d270}=this['_footnoteRefsTracker']['getChanges'](_0x286546);for(const _0x24e4b5 of _0x51f1df)this['_handleRemoveFootnoteReferenceById'](_0x2a810b,_0x24e4b5)&&(_0x26ab49=!0x0);for(const _0x34cafc of _0x3a0397)this['_handleInsertedFootnoteReference'](_0x2a810b,_0x34cafc)&&(_0x26ab49=!0x0);for(const _0x3a248e of _0x53d270)this['_handleMovedFootnoteReference'](_0x2a810b,_0x3a248e)&&(_0x26ab49=!0x0);return _0x26ab49;}['_handleFootnotesDefinitionsObjectSync'](_0xfcfc0e){if(!this['_footnotesDefinitions'])return!0x1;let _0x3e2dd8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3225ca=[];for(const _0x2f4ba4 of this['_footnotesDefinitions']['getChildren']()){const _0x38d014=_0x2f4ba4['getAttribute']('footnoteId');this['getFootnote'](_0x38d014)||(_0x3225ca['unshift'](_0x2f4ba4),_0x3e2dd8=!0x0);}for(const _0x40c30e of _0x3225ca)_0xfcfc0e['remove'](_0x40c30e);}const _0x5de5ec=new Set(),_0x2174c0=[];for(const _0x27856c of this['_footnotesDefinitions']['getChildren']()){const _0x2b3d67=_0x27856c['getAttribute']('footnoteId');_0x5de5ec['has'](_0x2b3d67)?(_0x2174c0['unshift'](_0x27856c),_0x3e2dd8=!0x0):_0x5de5ec['add'](_0x2b3d67);}for(const _0x407d1f of _0x2174c0)_0xfcfc0e['remove'](_0x407d1f);return this['_footnotesDefinitions']['childCount']||(_0xfcfc0e['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3e2dd8=!0x0),_0x3e2dd8;}['_handleInsertedFootnoteReference'](_0x2b14c4,_0x4cb94a){if(this['_footnotes']['find'](_0x304fba=>_0x304fba['reference']===_0x4cb94a))return!0x1;let _0xa35e77=!0x1;const _0x25dac0=_0x4cb94a['getAttribute']('footnoteId'),_0x30f4f3=this['_footnotes']['findIndex'](_0x3908b0=>_0x3908b0['id']===_0x25dac0);-0x1!==_0x30f4f3&&(_0x2b14c4['remove'](this['_footnotes'][_0x30f4f3]['reference']),this['_footnotes']['splice'](_0x30f4f3,0x1),_0xa35e77=!0x0);let _0x5b56eb=this['_footnotesDefinitions']?function(_0x31fb28,_0x1fea3c){for(const _0x3a080e of _0x31fb28['getChildren']())if(_0x3a080e['getAttribute']('footnoteId')===_0x1fea3c)return _0x3a080e;return null;}(this['_footnotesDefinitions'],_0x25dac0):null;_0x5b56eb||(_0x5b56eb=_0x2b14c4['createElement']('footnoteDefinition',{'footnoteId':_0x25dac0}),this['_footnotesDefinitions']&&(_0x2b14c4['insert'](_0x5b56eb,this['_footnotesDefinitions'],'end'),_0xa35e77=!0x0));const _0x28d299={'id':_0x25dac0,'reference':_0x4cb94a,'definition':_0x5b56eb},_0x138c74=I(this['editor']['model'],this['_footnotes'],_0x4cb94a);this['_footnotes']['splice'](_0x138c74,0x0,_0x28d299);let _0x408be3=_0x138c74;return-0x1!==_0x30f4f3&&(_0x408be3=Math['min'](_0x138c74,_0x30f4f3)),this['_updateFootnotesCounters'](_0x2b14c4,_0x408be3)&&(_0xa35e77=!0x0),_0xa35e77;}['_handleRemoveFootnoteReferenceById'](_0xcc9724,_0x33200e){const _0x39a2a9=this['_footnotes']['findIndex'](_0x58797d=>_0x58797d['id']===_0x33200e);if(-0x1===_0x39a2a9)return!0x1;let _0x25e7f0=!0x1;const _0x397ffd=this['_footnotes'][_0x39a2a9];return'$graveyard'!==_0x397ffd['definition']['root']['rootName']&&(_0xcc9724['remove'](_0x397ffd['definition']),_0x25e7f0=!0x0),this['_footnotes']['splice'](_0x39a2a9,0x1),this['_updateFootnotesCounters'](_0xcc9724,_0x39a2a9)&&(_0x25e7f0=!0x0),_0x25e7f0;}['_handleMovedFootnoteReference'](_0x30aba6,_0x5a0b87){const _0xf7c063=_0x5a0b87['getAttribute']('footnoteId'),_0x821b7c=this['_footnotes']['findIndex'](_0x1be221=>_0x1be221['id']===_0xf7c063),_0x1c6d3d=this['_footnotes'][_0x821b7c];let _0xed33f3=!0x1;_0x1c6d3d['reference']=_0x5a0b87,this['_footnotes']['splice'](_0x821b7c,0x1);const _0xd8f42b=I(this['editor']['model'],this['_footnotes'],_0x5a0b87);return this['_footnotes']['splice'](_0xd8f42b,0x0,_0x1c6d3d),this['_updateFootnotesCounters'](_0x30aba6,Math['min'](_0x821b7c,_0xd8f42b))&&(_0xed33f3=!0x0),_0xed33f3;}['_updateFootnoteRefCounter'](_0x2c6fe3,_0x44f882){if(!this['_footnotesDefinitions'])return!0x1;const _0x5a07a3=this['_footnotes'][_0x44f882];let _0x230c31;return _0x230c31=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5a07a3,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x44f882+0x1}):String(_0x44f882+0x1),_0x5a07a3['reference']['getAttribute']('footnoteCounter')!=_0x230c31&&(_0x2c6fe3['setAttribute']('footnoteCounter',_0x230c31,_0x5a07a3['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3ea45c){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x8ae8af,_0x21ee13){if(_0x8ae8af['length']!==_0x21ee13['length'])return!0x1;for(let _0x25882f=0x0;_0x25882f<_0x8ae8af['length'];_0x25882f++)if(_0x8ae8af[_0x25882f]!==_0x21ee13[_0x25882f])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x37cef8=>_0x37cef8['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x441d01=>_0x441d01['getAttribute']('footnoteId'))))return!0x1;let _0x3a5085=!0x1;for(let _0x333e3b=0x0;_0x333e3b<this['_footnotes']['length'];_0x333e3b++){const _0x169644=this['_footnotes'][_0x333e3b],_0x3627b2=_0x3ea45c['createPositionBefore'](_0x169644['definition']),_0x2df2c9=_0x3ea45c['createPositionAt'](this['_footnotesDefinitions'],_0x333e3b);_0x3627b2['isEqual'](_0x2df2c9)||(_0x3ea45c['move'](_0x3ea45c['createRangeOn'](_0x169644['definition']),_0x2df2c9),_0x3a5085=!0x0);}return _0x3a5085;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4bef04){if(!this['_footnotes']['length'])return!0x1;const {model:_0xc24b0b}=this['editor'];let _0x5f3495=!0x1;for(let _0x5a58b3=0x0;_0x5a58b3<this['_footnotes']['length']-0x1;_0x5a58b3++){const _0x525749=this['_footnotes'][_0x5a58b3],_0xecdfa3=this['_footnotes'][_0x5a58b3+0x1],_0x595112=_0xc24b0b['createPositionBefore'](_0x525749['reference']),_0x290403=_0xc24b0b['createPositionBefore'](_0xecdfa3['reference']);'after'===_0x595112['compareWith'](_0x290403)&&(this['_handleMovedFootnoteReference'](_0x4bef04,_0x525749['reference']),_0x5a58b3=-0x1,_0x5f3495=!0x0);}return _0x5f3495;}}function _(_0x3c27bb,_0x381fb5,_0x1945b7){if(_0x1945b7['childCount'])return!0x1;const _0x26d0f4=_0x381fb5?'paragraph':'footnoteInlineContent';return _0x3c27bb['insert'](_0x3c27bb['createElement'](_0x26d0f4),_0x1945b7),!0x0;}function I(_0x4510ff,_0x376282,_0x11060b){if(0x0===_0x376282['length'])return 0x0;const _0x4c04cd=_0x4510ff['createPositionBefore'](_0x11060b);for(let _0x20d7f1=0x0;_0x20d7f1<_0x376282['length'];_0x20d7f1++){const _0x3e235c=_0x376282[_0x20d7f1],_0x2efa2b=_0x4510ff['createPositionBefore'](_0x3e235c['reference']);if('before'===_0x4c04cd['compareWith'](_0x2efa2b))return _0x20d7f1;}const _0x440047=_0x11060b['root'];let _0x979cb4=-0x1;for(let _0x5b6027=_0x376282['length']-0x1;_0x5b6027>=0x0;_0x5b6027--)if(_0x376282[_0x5b6027]['reference']['root']===_0x440047){_0x979cb4=_0x5b6027;break;}if(-0x1!==_0x979cb4)return _0x979cb4+0x1;const _0x1d6e10=_0x4510ff['document']['getRootNames'](),_0x404f57=_0x1d6e10['indexOf'](_0x440047['rootName']),_0x233475=_0x1d6e10[_0x404f57+0x1];if(_0x233475){for(let _0x543b36=0x0;_0x543b36<_0x376282['length'];_0x543b36++)if(_0x376282[_0x543b36]['reference']['root']['rootName']===_0x233475)return _0x543b36;}return _0x376282['length'];}class w extends _0x1c23a5{['refresh'](){const _0x52d852=this['editor']['model']['document']['selection'],_0x53fb33=this['_getPositionToInsertFootnote'](_0x52d852);this['isEnabled']=!!_0x53fb33;}['execute'](_0x531b9b){const {editor:_0xe252ca}=this,{model:_0x3d6b07}=_0xe252ca,{selection:_0x498e8f}=_0x3d6b07['document'],_0x2914b3=this['_getPositionToInsertFootnote'](_0x498e8f);if(!_0x2914b3)return;const _0x4db96e=_0xe252ca['plugins']['get']('FootnotesEditing'),_0x447e01=_0x531b9b?.['footnoteId']??_0x144b00();!function(_0x66ece8){return'string'==typeof _0x66ece8&&_0x66ece8['length']>0x0&&!/\s/['test'](_0x66ece8)&&!/^\d/['test'](_0x66ece8);}(_0x447e01)?_0x177a28('insert-footnote-command-executed-with-invalid-id'):(_0x3d6b07['change'](_0x4ec57f=>{const _0x45ee4c=_0x4ec57f['createElement']('footnoteRef',{'footnoteId':_0x447e01});_0x3d6b07['insertObject'](_0x45ee4c,_0x2914b3,null);}),_0x4db96e['_moveSelectionToFootnoteDefinition'](_0x447e01));}['_getPositionToInsertFootnote'](_0x13e623){const {model:_0x451eb1}=this['editor'],{schema:_0x58e039}=_0x451eb1,_0x263620=_0x13e623['getFirstRange']();for(const _0x31afc7 of _0x263620['getItems']())if(_0x58e039['isBlock'](_0x31afc7)||_0x58e039['isObject'](_0x31afc7))return null;const _0x4b64fa=_0x263620['end'];return _0x58e039['checkChild'](_0x4b64fa,'footnoteRef')?_0x4b64fa:null;}}class r extends _0x444ecb{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c58ba}=this;_0x1c58ba['config']['define']('footnotes.multiBlock',!0x0),_0x1c58ba['commands']['add']('insertFootnote',new w(_0x1c58ba)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1ba4d1){const _0x113eb3=_0x18a67f([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]),_0x5306e9=0x47a28506,_0x384740=0x47a5f296^_0x5306e9,_0x402c55=window[_0x18a67f([0x44,0x61,0x74,0x65])][_0x18a67f([0x6e,0x6f,0x77])](),_0x1fb57e=_0x1ba4d1[_0x18a67f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa51114=new window[(_0x18a67f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1eacbd=>{_0x1fb57e[_0x18a67f([0x6f,0x6e,0x63,0x65])](_0x18a67f([0x72,0x65,0x61,0x64,0x79]),_0x1eacbd);}),_0x42424a={[_0x18a67f([0x6b,0x74,0x79])]:_0x18a67f([0x45,0x43]),[_0x18a67f([0x75,0x73,0x65])]:_0x18a67f([0x73,0x69,0x67]),[_0x18a67f([0x63,0x72,0x76])]:_0x18a67f([0x50,0x2d,0x32,0x35,0x36]),[_0x18a67f([0x78])]:_0x18a67f([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]),[_0x18a67f([0x79])]:_0x18a67f([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]),[_0x18a67f([0x61,0x6c,0x67])]:_0x18a67f([0x45,0x53,0x32,0x35,0x36])},_0x857404=_0x1fb57e[_0x18a67f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18a67f([0x67,0x65,0x74])](_0x18a67f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a3e03(){let _0x15dce1,_0x148098=null,_0x44420e=null;try{if(_0x857404==_0x18a67f([0x47,0x50,0x4c]))return _0x18a67f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x15dce1=_0x2eeec5(),!_0x15dce1)return _0x18a67f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x15dce1[_0x18a67f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44420e=_0x413251(_0x15dce1[_0x18a67f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x15dce1[_0x18a67f([0x6a,0x74,0x69])])),await _0x3f9764()?_0x5cf6d6()?_0x39f659()?_0x18a67f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3cc39f()?(_0x15dce1[_0x18a67f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18a67f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x148098=_0x5e90d0(_0x18a67f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x15dce1[_0x18a67f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18a67f([0x74,0x72,0x69,0x61,0x6c])&&(_0x148098=_0x5e90d0(_0x18a67f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50ac3a()):_0x18a67f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18a67f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18a67f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18a67f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x39f659(){const _0x5d15f1=[_0x18a67f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18a67f([0x74,0x72,0x69,0x61,0x6c])][_0x18a67f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15dce1[_0x18a67f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x402c55/0x3e8:0xe10*_0x384740;return _0x15dce1[_0x18a67f([0x65,0x78,0x70])]<_0x5d15f1;}function _0x5cf6d6(){const _0x18604d=_0x15dce1[_0x18a67f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18604d&&(!!_0x18604d[_0x18a67f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18a67f([0x2a]))||!!_0x18604d[_0x18a67f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18a67f([0x46,0x4f,0x4f])));}function _0x3cc39f(){const _0x156e5=_0x15dce1[_0x18a67f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x156e5||0x0==_0x156e5[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5186dc}=new URL(window[_0x18a67f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x156e5[_0x18a67f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5186dc))return!0x0;const _0x1a5ad7=_0x5186dc[_0x18a67f([0x73,0x70,0x6c,0x69,0x74])](_0x18a67f([0x2e]));return _0x156e5[_0x18a67f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52a6d2=>_0x52a6d2[_0x18a67f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18a67f([0x2a])))[_0x18a67f([0x6d,0x61,0x70])](_0x78f43d=>_0x78f43d[_0x18a67f([0x73,0x70,0x6c,0x69,0x74])](_0x18a67f([0x2e])))[_0x18a67f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x516e30=>_0x516e30[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a5ad7[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18a67f([0x6d,0x61,0x70])](_0x1d8ca5=>Array(_0x1a5ad7[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1d8ca5[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18a67f([0x66,0x69,0x6c,0x6c])](_0x1d8ca5[0x0]===_0x18a67f([0x2a])?_0x18a67f([0x2a]):'')[_0x18a67f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1d8ca5))[_0x18a67f([0x73,0x6f,0x6d,0x65])](_0x5e6c34=>_0x1a5ad7[_0x18a67f([0x65,0x76,0x65,0x72,0x79])]((_0xc649a6,_0xb9c2b0)=>_0x5e6c34[_0xb9c2b0]===_0xc649a6||_0x5e6c34[_0xb9c2b0]===_0x18a67f([0x2a])));}function _0x50ac3a(){return _0x148098&&_0x44420e?new window[(_0x18a67f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e5387,_0x2b3f81)=>{_0x148098[_0x18a67f([0x74,0x68,0x65,0x6e])](_0x5e5387,_0x2b3f81),_0x44420e[_0x18a67f([0x74,0x68,0x65,0x6e])](_0x470ca7=>{_0x470ca7!=_0x18a67f([0x56,0x61,0x6c,0x69,0x64])&&_0x5e5387(_0x470ca7);},_0x2b3f81);}):_0x148098||_0x44420e||_0x18a67f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x413251(_0x322a78,_0x4a2877){return new window[(_0x18a67f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1041ad=>{if(_0x375444())return _0x1041ad(_0x18a67f([0x56,0x61,0x6c,0x69,0x64]));_0x5206b3(),_0x1fb57e[_0x18a67f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18a67f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xbb270c=!0x1;const _0x58634a=_0x144b00();function _0x3b5686(_0x25175a){return!!_0x25175a&&(typeof _0x25175a===_0x18a67f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25175a===_0x18a67f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25175a[_0x18a67f([0x74,0x68,0x65,0x6e])]===_0x18a67f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25175a[_0x18a67f([0x63,0x61,0x74,0x63,0x68])]===_0x18a67f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x158031(_0x8418e9){_0x254fb9(_0x8418e9)[_0x18a67f([0x74,0x68,0x65,0x6e])](_0x418b2c=>{if(!_0x418b2c||_0x418b2c[_0x18a67f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18a67f([0x6f,0x6b]))return _0x18a67f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x101567(_0x4ab550(_0x58634a+_0x4a2877))!=_0x418b2c[_0x18a67f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18a67f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18a67f([0x56,0x61,0x6c,0x69,0x64]);})[_0x18a67f([0x74,0x68,0x65,0x6e])](_0x21fb5e=>(_0x2bffe1(),_0x21fb5e),()=>{const _0x171027=_0x447829();return null==_0x171027?(_0x2bffe1(),_0x18a67f([0x56,0x61,0x6c,0x69,0x64])):_0x18a67f(_0x402c55-_0x171027>(0x63ae0106^_0x5306e9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18a67f([0x74,0x68,0x65,0x6e])](_0x1041ad)[_0x18a67f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1041ad(_0x18a67f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x30ec3c=0x47946b86^_0x5306e9;function _0x2bffe1(){const _0x5a3c9d=_0x18a67f([0x6c,0x6c,0x63,0x74,0x2d])+_0x101567(_0x4ab550(_0x322a78)),_0x538d9b=_0x12de32(_0x101567(window[_0x18a67f([0x4d,0x61,0x74,0x68])][_0x18a67f([0x63,0x65,0x69,0x6c])](_0x402c55/_0x30ec3c)));window[_0x18a67f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18a67f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a3c9d,_0x538d9b);}function _0x447829(){const _0x3404c4=_0x18a67f([0x6c,0x6c,0x63,0x74,0x2d])+_0x101567(_0x4ab550(_0x322a78)),_0x4070a9=window[_0x18a67f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18a67f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3404c4);return _0x4070a9?window[_0x18a67f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12de32(_0x4070a9),0x10)*_0x30ec3c:null;}function _0x254fb9(_0x24b1e8){return new window[(_0x18a67f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x116d58,_0x1c2680)=>{_0x24b1e8[_0x18a67f([0x74,0x68,0x65,0x6e])](_0x116d58,_0x1c2680),window[_0x18a67f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c2680,0x47a351c6^_0x5306e9);});}}_0x1fb57e[_0x18a67f([0x6f,0x6e])](_0x18a67f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x25416c,_0x152eba)=>{if(_0x152eba[0x0]!=_0x322a78)return _0x1041ad(_0x18a67f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x152eba[0x1]={..._0x152eba[0x1],[_0x18a67f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58634a};},{[_0x18a67f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18a67f([0x68,0x69,0x67,0x68])}),_0x1fb57e[_0x18a67f([0x6f,0x6e])](_0x18a67f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40cb57=>{_0x3b5686(_0x40cb57[_0x18a67f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xbb270c=!0x0,_0x158031(_0x40cb57[_0x18a67f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18a67f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18a67f([0x6c,0x6f,0x77])}),_0xa51114[_0x18a67f([0x74,0x68,0x65,0x6e])](()=>{_0xbb270c||_0x1041ad(_0x18a67f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x375444(){return _0x1fb57e[_0x18a67f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18a67f([0x76,0x69,0x65,0x77])][_0x18a67f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18a67f([0x61,0x75,0x74,0x6f]);}function _0x5206b3(){_0x1fb57e[_0x18a67f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18a67f([0x76,0x69,0x65,0x77])][_0x18a67f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18a67f([0x61,0x75,0x74,0x6f]);}}function _0x5e90d0(_0x33213a){const _0x344106=[new window[(_0x18a67f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fa7d3=>setTimeout(_0x3fa7d3,0x47abbbca^_0x5306e9)),_0xa51114[_0x18a67f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18a67f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1be6e4=>{let _0x5673c6=0x0;_0x1fb57e[_0x18a67f([0x6d,0x6f,0x64,0x65,0x6c])][_0x18a67f([0x6f,0x6e])](_0x18a67f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x507d62,_0x5b3799)=>{_0x5b3799[0x0][_0x18a67f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5673c6++,_0x5673c6==(0x47a284fe^_0x5306e9)&&(_0x1be6e4(),_0x507d62[_0x18a67f([0x6f,0x66,0x66])]());});}))];return window[_0x18a67f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18a67f([0x72,0x61,0x63,0x65])](_0x344106)[_0x18a67f([0x74,0x68,0x65,0x6e])](()=>_0x33213a);}async function _0x66940d(){await _0xa51114,_0x1fb57e[_0x18a67f([0x6d,0x6f,0x64,0x65,0x6c])][_0x18a67f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf7e66e,_0x1fb57e[_0x18a67f([0x6d,0x6f,0x64,0x65,0x6c])][_0x18a67f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf7e66e,_0x1fb57e[_0x18a67f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18a67f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x32e22e(_0x96fbd2){const _0x3dc6f8=_0x58c8b7();_0x1fb57e[_0x3dc6f8]=_0x18a67f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x96fbd2,_0x96fbd2!=_0x18a67f([0x56,0x61,0x6c,0x69,0x64])&&_0x66940d();}function _0x58c8b7(){const _0x7bbc22=window[_0x18a67f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18a67f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18a67f([0x6e,0x6f,0x77])]())[_0x18a67f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18a67f([0x2e]),'');let _0x2d2e75=_0x18a67f([0x75]);for(let _0x3f9e9d=0x0;_0x3f9e9d<_0x7bbc22[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f9e9d+=0x2){let _0x31b98c=window[_0x18a67f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7bbc22[_0x18a67f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f9e9d,_0x3f9e9d+0x2));_0x31b98c>=_0x113eb3[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x31b98c-=_0x113eb3[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2d2e75+=_0x113eb3[_0x31b98c];}return _0x2d2e75;}function _0x2eeec5(){const _0x105b67=_0x857404[_0x18a67f([0x73,0x70,0x6c,0x69,0x74])](_0x18a67f([0x2e]));if(0x3!=_0x105b67[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3bbc01(_0x105b67[0x1]);function _0x3bbc01(_0x356fe2){const _0x346046=_0x1210c3(_0x356fe2);return _0x346046&&_0x5888fe()?_0x346046:null;function _0x5888fe(){const _0x253c34=_0x346046[_0x18a67f([0x6a,0x74,0x69])],_0x1d09a7=window[_0x18a67f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x253c34[_0x18a67f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x253c34[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x15a67f={..._0x346046,[_0x18a67f([0x6a,0x74,0x69])]:_0x253c34[_0x18a67f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x253c34[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x15a67f[_0x18a67f([0x76,0x63])],_0x4ab550(_0x15a67f)==_0x1d09a7;}}}async function _0x3f9764(){let _0x5c899a=!0x0;try{const _0xf8f11d=_0x857404[_0x18a67f([0x73,0x70,0x6c,0x69,0x74])](_0x18a67f([0x2e])),[_0x21d7fa,_0x51cf35,_0x5823d9]=_0xf8f11d;return _0x1f56fd(_0x21d7fa),await _0x1fc1c9(_0x21d7fa,_0x51cf35,_0x5823d9),_0x5c899a;}catch{return!0x1;}function _0x1f56fd(_0x1be125){const _0x33f02c=_0x1210c3(_0x1be125);_0x33f02c&&_0x33f02c[_0x18a67f([0x61,0x6c,0x67])]==_0x18a67f([0x45,0x53,0x32,0x35,0x36])||(_0x5c899a=!0x1);}async function _0x1fc1c9(_0x97212b,_0x1628e9,_0x525816){const _0x43a4d1=window[_0x18a67f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18a67f([0x66,0x72,0x6f,0x6d])](_0xff0fc0(_0x525816),_0x29aae3=>_0x29aae3[_0x18a67f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b9284=new window[(_0x18a67f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18a67f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x97212b+_0x18a67f([0x2e])+_0x1628e9),_0x29a93d=window[_0x18a67f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18a67f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x29a93d)return;const _0x12c0b2=await _0x29a93d[_0x18a67f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18a67f([0x6a,0x77,0x6b]),_0x42424a,{[_0x18a67f([0x6e,0x61,0x6d,0x65])]:_0x18a67f([0x45,0x43,0x44,0x53,0x41]),[_0x18a67f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18a67f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18a67f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x29a93d[_0x18a67f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18a67f([0x6e,0x61,0x6d,0x65])]:_0x18a67f([0x45,0x43,0x44,0x53,0x41]),[_0x18a67f([0x68,0x61,0x73,0x68])]:{[_0x18a67f([0x6e,0x61,0x6d,0x65])]:_0x18a67f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12c0b2,_0x43a4d1,_0x4b9284)||(_0x5c899a=!0x1);}}function _0x1210c3(_0x46864a){return _0x46864a[_0x18a67f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18a67f([0x65,0x79]))?JSON[_0x18a67f([0x70,0x61,0x72,0x73,0x65])](_0xff0fc0(_0x46864a)):null;}function _0xff0fc0(_0x23f5aa){return window[_0x18a67f([0x61,0x74,0x6f,0x62])](_0x23f5aa[_0x18a67f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18a67f([0x2b]))[_0x18a67f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18a67f([0x2f])));}function _0x4ab550(_0x1e41e7){let _0x38ae7e=0x1505;function _0x76f401(_0x2d2c4a){for(let _0x55cd39=0x0;_0x55cd39<_0x2d2c4a[_0x18a67f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55cd39++){const _0x5c4c36=_0x2d2c4a[_0x18a67f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55cd39);_0x38ae7e=(_0x38ae7e<<0x5)+_0x38ae7e+_0x5c4c36,_0x38ae7e&=_0x38ae7e;}}function _0x446644(_0x322d7e){Array[_0x18a67f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x322d7e)?_0x322d7e[_0x18a67f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x446644):_0x322d7e&&typeof _0x322d7e==_0x18a67f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18a67f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x322d7e)[_0x18a67f([0x73,0x6f,0x72,0x74])]()[_0x18a67f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ae86c,_0x3fdf76])=>{_0x76f401(_0x5ae86c),_0x446644(_0x3fdf76);}):_0x76f401(window[_0x18a67f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x322d7e));}return _0x446644(_0x1e41e7),_0x38ae7e>>>0x0;}function _0x101567(_0x5b4665){return _0x5b4665[_0x18a67f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18a67f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18a67f([0x30]));}function _0x12de32(_0x48bc41){return _0x48bc41[_0x18a67f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18a67f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18a67f([0x6a,0x6f,0x69,0x6e])]('');}function _0xf7e66e(){}function _0x18a67f(_0x582300){return _0x582300['map'](_0x521caf=>String['fromCharCode'](_0x521caf))['join']('');}_0x32e22e(await _0x4a3e03());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4e7c02){const {plugins:_0x4c25ab,editing:_0x4d3c76,model:_0x4aa5c7}=this['editor'],_0x2ede3e=_0x4c25ab['get'](c)['getFootnote'](_0x4e7c02);return!!_0x2ede3e&&(_0x4aa5c7['change'](_0x2fcb9e=>{_0x2fcb9e['setSelection'](_0x2fcb9e['createPositionAt'](_0x2ede3e['definition'],'end'));}),_0x4d3c76['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4be436){const {plugins:_0x583b28,editing:_0x44039e,model:_0x551016}=this['editor'],_0x1dcbcf=_0x583b28['get'](c)['getFootnote'](_0x4be436);return!!_0x1dcbcf&&(_0x551016['change'](_0x9fcb6d=>{_0x9fcb6d['setSelection'](_0x1dcbcf['reference'],'on');}),_0x44039e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x56f5ac}=this['editor']['model'],_0x28fba3=this['editor']['config']['get']('footnotes.multiBlock');_0x56f5ac['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x56f5ac['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x56f5ac['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x28fba3?_0x56f5ac['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x56f5ac['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x56f5ac['addChildCheck'](_0x4eb9c9=>{for(const _0x14e7ac of _0x4eb9c9)if('footnoteDefinition'===_0x14e7ac['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x55ef4e}=this,{conversion:_0x4c1e1d,editing:_0xd45f93}=_0x55ef4e,{t:t}=_0x55ef4e['locale'];_0x4c1e1d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x376d18,{writer:_0x184d4d,consumable:_0x2722fd})=>{const _0x599c9b=_0x376d18['getChild'](0x0);if(!_0x599c9b||!_0x599c9b['is']('element','a'))return null;const _0x1a0806=_0x599c9b['getAttribute']('href')||'';if(!_0x1a0806['startsWith']('#'))return null;const _0x4dda31=_0x1a0806['replace'](/^#/,'');if(!_0x4dda31)return null;_0x2722fd['consume'](_0x599c9b,{'name':!0x0,'attributes':['href']});for(const {item:_0x320bd9}of _0xd45f93['view']['createRangeIn'](_0x599c9b))_0x320bd9['is']('$textProxy')?_0x2722fd['consume'](_0x320bd9['textNode'],{'name':!0x0}):_0x320bd9['is']('element')&&_0x2722fd['consume'](_0x320bd9,{'name':!0x0});return _0x184d4d['createElement']('footnoteRef',{'footnoteId':_0x4dda31});}}),_0x4c1e1d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4c2729,{writer:_0x5c595e})=>D(_0x4c2729,_0x5c595e)}),_0x4c1e1d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x383811,{writer:_0x56ae54})=>{const _0x41c03f=_0x383811['getAttribute']('footnoteCounter');return _0x46f5d8(D(_0x383811,_0x56ae54),_0x56ae54,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x41c03f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x31d619}=this,{t:t}=_0x31d619['locale'],{conversion:_0x3fd5c3}=_0x31d619;_0x3fd5c3['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3fd5c3['for']('upcast')['add'](_0x3ad72d=>{_0x3ad72d['on']('element:ol',(_0x45bfca,_0x2c78e0,_0x50f825)=>{const _0x1de3a4=_0x2c78e0['viewItem'];if(!_0x1de3a4['hasClass']('footnotes-list')||!_0x2c78e0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x50f825['consumable']['consume'](_0x1de3a4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14a754,modelCursor:_0x42f151}=_0x50f825['convertChildren'](_0x2c78e0['viewItem'],_0x2c78e0['modelCursor']);_0x2c78e0['modelRange']=_0x14a754,_0x2c78e0['modelCursor']=_0x42f151;}),_0x3ad72d['on']('element:hr',(_0x566d9e,_0x187a34,_0x29278e)=>{const _0x96f257=_0x187a34['viewItem'];_0x96f257['hasClass']('footnotes-divider')&&_0x187a34['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x29278e['consumable']['consume'](_0x96f257,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3fd5c3['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5ce0d3,{writer:_0x5f3976})=>g(_0x5f3976)}),_0x3fd5c3['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x332216,{writer:_0x23baf9})=>{const _0x56bb7a=g(_0x23baf9,{'data-footnotes-list-label':t('Footnotes')}),_0x254afe=_0x46f5d8(_0x56bb7a,_0x23baf9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x23baf9['setCustomProperty']('footnotesDefinitions',!0x0,_0x254afe),_0x254afe;}});}['_defineDefinitionConverters'](){const {editor:_0x4f51da}=this,{conversion:_0x46f665,locale:_0x4edccf}=_0x4f51da,_0x43cd05=_0x4f51da['config']['get']('footnotes.multiBlock');_0x46f665['for']('upcast')['add'](_0x58ae69=>{_0x58ae69['on']('element:li',(_0x7753eb,_0x47361d,_0x4e52a7)=>{const _0x54ef45=_0x47361d['viewItem'];if(!_0x54ef45['hasClass']('footnote-definition')||!_0x54ef45['getAttribute']('id'))return;const _0x56ef14=_0x54ef45['parent'];if(!_0x56ef14['is']('element','ol')||!_0x56ef14['hasClass']('footnotes-list'))return;if(!_0x4e52a7['consumable']['test'](_0x54ef45,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xfcc46b=_0x4e52a7['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x54ef45['getAttribute']('id')});if(!_0x4e52a7['safeInsert'](_0xfcc46b,_0x47361d['modelCursor']))return;_0x4e52a7['consumable']['consume'](_0x54ef45,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1de8b5=Array['from'](_0x54ef45['getChildren']())['find'](_0xc5ce23=>_0xc5ce23['is']('element')&&_0xc5ce23['hasClass']('footnote-content'));for(const _0x475ca1 of _0x54ef45['getChildren']())_0x475ca1['is']('element')&&(_0x4e52a7['consumable']['consume'](_0x475ca1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4e52a7['consumable']['consume'](_0x475ca1,{'name':!0x0,'classes':'footnote-content'}));if(_0x1de8b5){if(_0x43cd05)_0x4e52a7['convertChildren'](_0x1de8b5,_0xfcc46b);else{const _0x2c83ba=_0x4e52a7['writer']['createElement']('footnoteInlineContent');_0x4e52a7['writer']['insert'](_0x2c83ba,_0xfcc46b),_0x4e52a7['convertChildren'](_0x1de8b5,_0x2c83ba);}}_0x4e52a7['updateConversionResult'](_0xfcc46b,_0x47361d);});}),_0x46f665['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4b385c,{writer:_0x21a489})=>v(_0x4b385c,_0x21a489,_0x4edccf,{'dataPipeline':!0x0})}),_0x46f665['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xb9c2ab,{writer:_0x3cc36b})=>v(_0xb9c2ab,_0x3cc36b,_0x4edccf)});}['_defineBogusParagraphConverters'](){const {editor:_0x1ba0e1}=this,{conversion:_0x1de225}=_0x1ba0e1;_0x1ba0e1['config']['get']('footnotes.multiBlock')?(_0x1de225['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x1de225['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1ba0e1['model']['document'],'change:data',()=>{!function(_0x2e987d,_0x43e165){const _0x43a513=_0x2e987d['document']['differ'],_0x3f0a2c=new Set();for(const _0x5be4b6 of _0x43a513['getChanges']()){const _0x44683a='attribute'==_0x5be4b6['type']?_0x5be4b6['range']['start']['parent']:_0x5be4b6['position']['parent'];_0x44683a['is']('element','footnoteDefinition')&&_0x3f0a2c['add'](_0x44683a);}for(const _0x1b7033 of _0x3f0a2c['values']()){const _0x553dd9=Array['from'](_0x1b7033['getChildren']())['filter'](_0x49cdf5=>p(_0x49cdf5,_0x43e165['mapper']));for(const _0x4c4225 of _0x553dd9)_0x43e165['reconvertItem'](_0x4c4225);}}(_0x1ba0e1['model'],_0x1ba0e1['editing']);})):(_0x1de225['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x1de225['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1fd271,{writer:_0x205e95})=>{const _0x17f5a6=_0x205e95['createContainerElement']('span');return _0x205e95['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x17f5a6),_0x17f5a6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x47d8ea}=this,{editing:_0x1d2eb4,t:t}=_0x47d8ea,_0x35edea=_0x47d8ea['model']['document']['selection'];_0x47d8ea['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x47d8ea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x1d2eb4['view']['document'],'enter',(_0xa08900,_0xb45954)=>{const _0x9a99eb=function(_0x47cbf4){const _0x5ad4bd=_0x47cbf4['getSelectedElement']();if(_0x5ad4bd?.['is']('element','footnoteRef'))return _0x5ad4bd;return null;}(_0x35edea);if(_0x9a99eb){const _0x64787d=_0x9a99eb['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x64787d),_0xb45954['preventDefault'](),_0xa08900['stop']();}},{'context':_0x1d4b8b});}['_defineClickHandlers'](){const {editor:_0x45f9eb}=this,{editing:_0x2450aa}=_0x45f9eb;_0x45f9eb['editing']['view']['addObserver'](_0x2ad005),_0x45f9eb['editing']['view']['addObserver'](_0x27612b);let _0x468ad3=!0x1;this['listenTo'](_0x2450aa['view']['document'],'pointerdown',(_0x3dc254,_0x23f5a6)=>{const {target:_0x3939d7}=_0x23f5a6,_0x34c562=_0x2450aa['view']['document']['selection'];_0x468ad3=!!(_0x3939d7['is']('element','a')&&_0x3939d7['parent']?.['is']('element','sup')&&_0x3939d7['parent']['hasClass']('footnote'))&&_0x34c562['getSelectedElement']()===_0x3939d7['parent'];},{'priority':'high'}),this['listenTo'](_0x2450aa['view']['document'],'click',(_0x21ae45,_0x509202)=>{const {target:_0x5b3f28}=_0x509202;if(!_0x5b3f28['is']('element','a'))return;if(_0x5b3f28['parent']?.['is']('element','sup')&&_0x5b3f28['parent']['hasClass']('footnote')&&!_0x468ad3)return void _0x509202['preventDefault']();let _0x242b39=_0x5b3f28['getAttribute']('href');if(!_0x242b39?.['startsWith']('#'))return;_0x242b39=_0x242b39['slice'](0x1);let _0x588a92=!0x1;(_0x242b39['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x242b39['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x242b39))&&(_0x588a92=!0x0),_0x588a92&&(_0x509202['preventDefault'](),_0x21ae45['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x2480ff}={}){return(_0x397ef6,{writer:_0x334be7})=>{if(!h(_0x397ef6))return null;if(!_0x2480ff)return _0x334be7['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xadf2b5=_0x334be7['createContainerElement']('p');return _0x334be7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xadf2b5),_0xadf2b5;};}function h(_0x418c22){const {parent:_0x3b2cd6}=_0x418c22;if(!_0x3b2cd6?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3b2cd6['childCount'])return!0x1;for(const _0x204de7 of _0x418c22['getAttributeKeys']())if(!_0x204de7['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x204de7)return!0x1;return!0x0;}function p(_0x4de935,_0x33b306){if(!_0x4de935['is']('element','paragraph'))return!0x1;const _0x16cb88=_0x33b306['toViewElement'](_0x4de935);return!!_0x16cb88&&h(_0x4de935)!==_0x16cb88['is']('element','span');}function J(_0x446dc2){return _0x1d4b8b(_0x446dc2)&&_0x446dc2['is']('containerElement')&&!!_0x446dc2['getCustomProperty']('footnotesDefinitions');}function g(_0x955615,_0xa439f1={}){const _0x344306=_0x955615['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x85ac38=_0x955615['createContainerElement']('ol',{'class':'footnotes-list'},_0x955615['createSlot']());return _0x955615['createContainerElement']('div',{'class':'footnotes',..._0xa439f1},[_0x344306,_0x85ac38]);}function D(_0x133c13,_0x1017b1){const _0x2cf8e0=_0x133c13['getAttribute']('footnoteId'),_0x401f5f=_0x133c13['getAttribute']('footnoteCounter'),_0x39e5f9=_0x1017b1['createUIElement']('a',{'href':'#'+_0x2cf8e0},function(_0xb8f0d9){const _0x21d91c=this['toDomElement'](_0xb8f0d9);return _0x21d91c['textContent']=_0x401f5f,_0x21d91c;}),_0xdc89ae=_0x1017b1['createContainerElement']('sup',{'id':'ref-'+_0x2cf8e0,'class':'footnote'},[_0x39e5f9]);return _0xdc89ae['getFillerOffset']=()=>null,_0xdc89ae;}function v(_0x4e8cb6,_0x4a9847,_0x2b3c69,{dataPipeline:_0x3e6028}={}){const {t:t}=_0x2b3c69,_0x4465c8=_0x4e8cb6['getAttribute']('footnoteId'),_0x4d48ab=_0x4a9847['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4465c8},function(_0x409bed){const _0x37585d=this['toDomElement'](_0x409bed);return _0x37585d['innerText']='^',_0x37585d;}),_0x15fdac=_0x3e6028?_0x4a9847['createContainerElement']('div',{'class':'footnote-content'}):_0x1c971a(_0x4a9847['createEditableElement']('div',{'class':'footnote-content'}),_0x4a9847,{'label':t('Footnote\x20content.')});return _0x4a9847['insert'](_0x4a9847['createPositionAt'](_0x15fdac,0x0),_0x4a9847['createSlot']()),_0x4a9847['createContainerElement']('li',{'class':'footnote-definition','id':_0x4465c8},[_0x4d48ab,_0x15fdac]);}class e extends _0x444ecb{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1e9339];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x16faa8}=this,{plugins:_0x538898,model:_0x60f52d}=_0x16faa8,_0x4ecf54=_0x538898['get'](_0x1e9339),_0x1044a2=_0x538898['get'](c);this['listenTo'](_0x4ecf54,'outputTransformation',(_0x459e10,_0x365582)=>{const _0x435c2e=function(_0x31e032,_0x47a3bb){const _0x3c7bd9=new Set();for(const {item:_0x260ca2}of _0x31e032['createRangeIn'](_0x47a3bb))_0x260ca2['is']('element','footnoteRef')&&_0x3c7bd9['add'](_0x260ca2['getAttribute']('footnoteId'));return Array['from'](_0x3c7bd9);}(_0x60f52d,_0x365582['content']);if(!_0x435c2e['length'])return;const _0x16ef34=_0x1044a2['getFootnotes'](),_0x181dc7=_0x435c2e['reduce']((_0x213066,_0x1e91dd)=>{const _0xb260c1=_0x16ef34['find'](_0x26e90f=>_0x26e90f['id']===_0x1e91dd);if(_0xb260c1){const _0x2c0ab3=_0x16faa8['data']['toView'](_0xb260c1['definition'],{'isClipboardPipeline':!0x0}),_0x4dff07=_0x16faa8['data']['htmlProcessor']['toData'](_0x2c0ab3);_0x213066[_0xb260c1['id']]=_0x4dff07;}return _0x213066;},Object['create'](null));_0x365582['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x181dc7));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x290a3d}=this,{model:_0x11284c,plugins:_0x1c686e}=_0x290a3d,{view:_0xdab112}=_0x290a3d['editing'],_0x43937f=_0x1c686e['get'](_0x1e9339),_0x1b16a1=_0x1c686e['get'](c);let _0x3534a8=null;this['listenTo'](_0xdab112['document'],'clipboardInput',(_0x2d27ca,_0x33f197)=>{const _0x26dc5d=_0x33f197['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3534a8=_0x26dc5d?JSON['parse'](_0x26dc5d):null;}),this['listenTo'](_0x43937f,'contentInsertion',(_0x2e66ac,_0x3ea4c8)=>{if(!_0x3534a8)return;const _0x1e701d=_0x3ea4c8['sourceEditorId']===this['editor']['id'];_0x1e701d&&'drop'===_0x3ea4c8['method']||_0x11284c['change'](_0x5538f8=>{!function(_0x4acb2c,_0x41807e){const _0x1a4bdf=[];for(const {item:_0xfe4ff1}of _0x4acb2c['createRangeIn'](_0x41807e))_0xfe4ff1['is']('element','footnotesDefinitions')&&_0x1a4bdf['push'](_0xfe4ff1);for(const _0x141ad3 of _0x1a4bdf)_0x4acb2c['remove'](_0x141ad3);}(_0x5538f8,_0x3ea4c8['content']);let _0x384f98=_0x1b16a1['getFootnotesDefinitionsObjectElement']();if(!_0x384f98){const _0x57b76b=_0x11284c['document']['selection']['getFirstRange']()['root'];_0x384f98=_0x1b16a1['_insertEmptyFootnotesDefinitionsContainer'](_0x5538f8,_0x57b76b);}const _0x5c0b93=function(_0x2fe4fd,_0x47d0fc,_0x47da7b){const _0x1d5830=Object['create'](null);for(const {item:_0xccd716}of _0x2fe4fd['createRangeIn'](_0x47d0fc))if(_0xccd716['is']('element','footnoteRef')){const _0x5ea8d3=_0xccd716['getAttribute']('footnoteId');if(!_0x47da7b(_0x5ea8d3))continue;_0x1d5830[_0x5ea8d3]||(_0x1d5830[_0x5ea8d3]=_0x144b00()),_0x2fe4fd['setAttribute']('footnoteId',_0x1d5830[_0x5ea8d3],_0xccd716);}return _0x1d5830;}(_0x5538f8,_0x3ea4c8['content'],_0x4a1cf2=>!_0x1e701d||null!==_0x1b16a1['getFootnote'](_0x4a1cf2));for(const [_0x1ae70a,_0x28a1d3]of Object['entries'](_0x3534a8)){const _0x2bb861=_0x5c0b93[_0x1ae70a]||_0x1ae70a,_0x593f7e=_0x5538f8['createElement']('footnoteDefinition',{'footnoteId':_0x2bb861}),_0x32d413=_0x290a3d['data']['htmlProcessor']['toView'](_0x28a1d3),_0x4e3ce8=_0x290a3d['data']['toModel'](_0x32d413,_0x593f7e);_0x5538f8['append'](_0x4e3ce8,_0x593f7e),_0x5538f8['insert'](_0x593f7e,_0x384f98,'end');}_0x3534a8=null;});});}}class i extends _0x444ecb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x460434}=this,{componentFactory:_0x560e9b}=_0x460434['ui'];_0x560e9b['add']('insertFootnote',x(_0x460434,_0x352d48)),_0x560e9b['add']('menuBar:insertFootnote',x(_0x460434,_0x27c539)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49d140=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d7085;for(const _0x174377 in _0x49d140){const _0xc33909=_0x174377,_0x53e9e1=_0x49d140[_0xc33909];if('footnotesLicenseKeyValid'==_0x53e9e1||'footnotesLicenseKeyInvalid'==_0x53e9e1||'footnotesLicenseKeyExpired'==_0x53e9e1||'footnotesLicenseKeyDomainLimit'==_0x53e9e1||'footnotesLicenseKeyNotAllowed'==_0x53e9e1||'footnotesLicenseKeyEvaluationLimit'==_0x53e9e1||'footnotesLicenseKeyTrialLimit'==_0x53e9e1||'footnotesLicenseKeyUsageLimit'==_0x53e9e1){delete _0x49d140[_0xc33909],_0x1d7085=_0x53e9e1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1d7085&&_0x49d140['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1d7085&&_0x49d140['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1d7085&&_0x49d140['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1d7085&&_0x49d140['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1d7085&&_0x49d140['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1d7085&&_0x49d140['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1d7085&&_0x49d140['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x422452,_0x4f96a9){const _0x5f5639=_0x422452['commands']['get']('insertFootnote');return _0x48a014=>{const {t:t}=_0x48a014,_0x17d4f9=new _0x4f96a9(_0x48a014),_0x5f4ea7=_0x17d4f9 instanceof _0x27c539;return _0x17d4f9['bind']('isEnabled')['to'](_0x5f5639,'isEnabled'),_0x17d4f9['set']({'label':t(_0x5f4ea7?'Footnote':'Insert\x20footnote'),'icon':_0x1ed261,'tooltip':!0x0}),_0x17d4f9['on']('execute',()=>{_0x5f5639['execute'](),_0x422452['editing']['view']['focus']();}),_0x17d4f9;};}class nt extends _0x444ecb{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1c23a5{['refresh'](){const {editor:_0x192435}=this,_0x66cc56=_0x192435['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x66cc56,this['value']=_0x66cc56?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x266a47}){const {editor:_0x26c73d}=this,_0x1f4ed7=_0x26c73d['plugins']['get'](c),_0x50a0e6=_0x1f4ed7['getFootnotesDefinitionsObjectElement']();_0x50a0e6&&Q['includes'](_0x266a47)&&_0x26c73d['model']['change'](_0x218ed0=>{_0x218ed0['setAttribute']('footnotesListStyle',_0x266a47,_0x50a0e6),_0x1f4ed7['_updateFootnotesCounters'](_0x218ed0);});}}class b extends _0x1c23a5{['refresh'](){const {editor:_0xf1310e}=this,_0x3e0a64=_0xf1310e['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3e0a64,this['value']=_0x3e0a64?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1cfd7d}){const {editor:_0x4d7948}=this,_0x647767=_0x4d7948['plugins']['get'](c),_0x390bd7=_0x647767['getFootnotesDefinitionsObjectElement']();_0x390bd7&&Number['isInteger'](_0x1cfd7d)&&_0x4d7948['model']['change'](_0x170a78=>{_0x170a78['setAttribute']('footnotesListStart',_0x1cfd7d,_0x390bd7),_0x647767['_updateFootnotesCounters'](_0x170a78);});}}class P extends _0x444ecb{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x7aaf7}=this;_0x7aaf7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x7aaf7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x7aaf7['commands']['add']('footnotesStyle',new S(_0x7aaf7)),_0x7aaf7['commands']['add']('footnotesStart',new b(_0x7aaf7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x268e5d}=this,{schema:_0x5b23ee}=_0x268e5d['model'];_0x5b23ee['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xe1c451}=this,{conversion:_0x158dde,model:_0x352530}=_0xe1c451,{schema:_0x3da76e}=_0x352530;_0x158dde['for']('upcast')['add'](_0x3d2afa=>{_0x3d2afa['on']('element:ol',(_0x35dfa6,_0x40e7c8,_0x15b6a4)=>{const _0x24cdec=_0x40e7c8['viewItem'],_0x20894c=_0x40e7c8['modelCursor']?.['parent'];_0x24cdec['hasClass']('footnotes-list')&&_0x20894c?.['is']('element','footnotesDefinitions')&&(function(_0x48e0df,_0x126d45,_0x49525e,_0xcd8b90){if(!_0xcd8b90['checkAttribute'](_0x126d45,'footnotesListStart'))return;let _0x5a5dd7=0x1;const _0x15c508=_0x49525e['consumable']['consume'](_0x48e0df,{'attributes':'start'});if(_0x15c508){const _0x93eafd=Number['parseInt'](_0x48e0df['getAttribute']('start'),0xa);Number['isNaN'](_0x93eafd)||(_0x5a5dd7=_0x93eafd);}!_0x15c508&&_0x126d45['hasAttribute']('footnotesListStart')||_0x49525e['writer']['setAttribute']('footnotesListStart',_0x5a5dd7,_0x126d45);}(_0x24cdec,_0x20894c,_0x15b6a4,_0x3da76e),function(_0x26c9dd,_0x4c0e0b,_0xc3c80c,_0x44a2e0){if(!_0x44a2e0['checkAttribute'](_0x4c0e0b,'footnotesListStyle'))return;let _0x5d1a48='decimal',_0xa3fc92=!0x1;if(_0xc3c80c['consumable']['consume'](_0x26c9dd,{'attributes':'type'})){const _0x177ed2={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x26c9dd['getAttribute']('type')];_0x177ed2&&(_0x5d1a48=_0x177ed2),_0xa3fc92=!0x0;}_0xc3c80c['consumable']['consume'](_0x26c9dd,{'styles':'list-style-type'})&&(_0x5d1a48=_0x26c9dd['getStyle']('list-style-type'),_0xa3fc92=!0x0),!_0xa3fc92&&_0x4c0e0b['hasAttribute']('footnotesListStyle')||_0xc3c80c['writer']['setAttribute']('footnotesListStyle',_0x5d1a48,_0x4c0e0b);}(_0x24cdec,_0x20894c,_0x15b6a4,_0x3da76e));});}),_0x158dde['for']('downcast')['add'](_0x25295f=>{_0x25295f['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x446ddf,_0x13aee2,_0x5b875d)=>{if(!_0x5b875d['consumable']['consume'](_0x13aee2['item'],_0x446ddf['name']))return;const _0x46f318=C(_0x13aee2['item'],_0x5b875d['mapper']),{attributeNewValue:_0x38732e}=_0x13aee2;null==_0x38732e||0x1===_0x38732e?_0x5b875d['writer']['removeAttribute']('start',_0x46f318):_0x5b875d['writer']['setAttribute']('start',String(_0x38732e),_0x46f318);}),_0x25295f['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1e631e,_0x520a57,_0x1f97eb)=>{if(!_0x1f97eb['consumable']['consume'](_0x520a57['item'],_0x1e631e['name']))return;const _0x598bb0=C(_0x520a57['item'],_0x1f97eb['mapper']),{attributeNewValue:_0xf7a1a5}=_0x520a57;_0xf7a1a5&&'decimal'!==_0xf7a1a5?_0x1f97eb['writer']['setStyle']('list-style-type',_0xf7a1a5,_0x598bb0):_0x1f97eb['writer']['removeStyle']('list-style-type',_0x598bb0);});});}['_definePostfixer'](){const {editor:_0x4880c1}=this,{model:_0x14cced}=_0x4880c1,_0x373a0c=_0x4880c1['plugins']['get'](c),_0x584772=this['_getDefaultListStyle'](),_0x331019=this['_getDefaultStartIndex']();_0x14cced['document']['registerPostFixer'](_0x201237=>{const _0xc6f95f=_0x14cced['document']['differ']['getChanges']();let _0x49028b=!0x1;for(const _0x2753a0 of _0xc6f95f){if('insert'!==_0x2753a0['type']||'$text'===_0x2753a0['name'])continue;const _0x2368f0=_0x14cced['createRangeOn'](_0x2753a0['position']['nodeAfter']);for(const _0x128174 of _0x2368f0['getItems']())_0x128174['is']('element','footnotesDefinitions')&&(!_0x128174['hasAttribute']('footnotesListStart')&&_0x14cced['schema']['checkAttribute'](_0x128174,'footnotesListStart')&&(_0x201237['setAttribute']('footnotesListStart',_0x331019,_0x128174),_0x49028b=!0x0),!_0x128174['hasAttribute']('footnotesListStyle')&&_0x14cced['schema']['checkAttribute'](_0x128174,'footnotesListStyle')&&(_0x201237['setAttribute']('footnotesListStyle',_0x584772,_0x128174),_0x49028b=!0x0));}return _0x49028b&&_0x373a0c['_updateFootnotesCounters'](_0x201237),_0x49028b;});}['_defineFormatter'](){const {editor:_0xd66bfd}=this;_0xd66bfd['plugins']['get'](c)['setFootnoteFormatter'](_0x1daa65=>this['_formatFootnoteListValue'](_0x1daa65));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2454a2,value:_0xd98382,digits:_0x27ec80}){const _0x1462ce=_0x2454a2['getAttribute']('footnotesListStyle'),_0xda46df=_0x2454a2['getAttribute']('footnotesListStart'),_0x1c41dc=Math['floor'](_0xd98382)+(_0xda46df??0x1)-0x1;switch(_0x1462ce){case'decimal-leading-zero':return function(_0x40a395,_0xa52450){return String(_0x40a395)['padStart'](_0xa52450,'0');}(_0x1c41dc,Math['max'](0x2,_0x27ec80));case'lower-alpha':case'lower-latin':return M(_0x1c41dc,!0x1);case'upper-alpha':case'upper-latin':return M(_0x1c41dc,!0x0);case'lower-roman':return V(_0x1c41dc,!0x1);case'upper-roman':return V(_0x1c41dc,!0x0);default:return String(_0x1c41dc);}}}function C(_0x36ce77,_0x16d9ac){const _0x81b4dd=_0x16d9ac['toViewElement'](_0x36ce77);return Array['from'](_0x81b4dd['getChildren']())['find'](_0x47bc48=>_0x47bc48['is']('element','ol')&&_0x47bc48['hasClass']('footnotes-list'));}function M(_0x56be0d,_0x544a5a){let _0x1770b3='',_0x5a005b=_0x56be0d;for(;_0x5a005b>0x0;){const _0x5cdf42=(_0x5a005b-0x1)%0x1a;_0x1770b3=String['fromCharCode'](0x61+_0x5cdf42)+_0x1770b3,_0x5a005b=Math['floor']((_0x5a005b-0x1)/0x1a);}return _0x544a5a?_0x1770b3['toUpperCase']():_0x1770b3;}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(_0x18706f,_0x4b7135){let _0x1b5a36='',_0x4eefbc=_0x18706f;for(const {value:_0x40ce48,numeral:_0x5d22cc}of N)for(;_0x4eefbc>=_0x40ce48;)_0x1b5a36+=_0x5d22cc,_0x4eefbc-=_0x40ce48;return _0x4b7135?_0x1b5a36:_0x1b5a36['toLowerCase']();}class H extends _0x41d8a0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x41e1e2();['focusCycler'];constructor(_0x5cc56e,{styleButtonViews:_0x4399a7,styleGridAriaLabel:_0x3aacab}){super(_0x5cc56e),(this['focusCycler']=new _0x5b8a07({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4399a7,_0x3aacab),[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 _0x239e4d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x239e4d['element']);_0x1e9083({'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 _0x1dfb9f=_0x537e3b=>_0x537e3b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1dfb9f),this['keystrokes']['set']('arrowleft',_0x1dfb9f),this['keystrokes']['set']('arrowup',_0x1dfb9f),this['keystrokes']['set']('arrowdown',_0x1dfb9f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3adf2e,_0x5338f8){const _0x5b110c=new _0x41d8a0(this['locale']);return _0x5b110c['children']=_0x5b110c['createCollection'](),_0x5b110c['children']['addMany'](_0x3adf2e),_0x5b110c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5338f8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5b110c['children']}),_0x5b110c['children']['delegate']('execute')['to'](this),_0x5b110c['focus']=function(){for(const _0x5a16d7 of this['children'])if(_0x5a16d7 instanceof _0x352d48&&_0x5a16d7['isOn'])return void _0x5a16d7['focus']();this['children']['first']['focus']();},_0x5b110c['focusTracker']=new et(),_0x5b110c['keystrokes']=new ot(),_0x5b110c['render'](),_0x5b110c['keystrokes']['listenTo'](_0x5b110c['element']),this['children']['add'](_0x5b110c),_0x5b110c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xa30dff=this['_createStartIndexPropertyView'](),_0x193290=[_0xa30dff],_0x490238=new tt(this['locale'],_0x193290);return _0x490238['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x490238['buttonView']['bind']('isEnabled')['toMany'](_0x193290,'isEnabled',(..._0x3efde9)=>_0x3efde9['some'](_0x54cfe5=>_0x54cfe5)),_0x490238['buttonView']['on']('change:isEnabled',(_0x4aaea4,_0x5d4cc6,_0x233930)=>{_0x233930||(_0x490238['isCollapsed']=!0x0);}),this['children']['add'](_0x490238),[_0xa30dff,_0x490238];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5b504c=new st(this['locale'],it);return _0x5b504c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5b504c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5b504c['fieldView']['on']('input',()=>{const _0x7fd9e7=_0x5b504c['fieldView']['element'],_0x4fae96=_0x7fd9e7['valueAsNumber'];Number['isNaN'](_0x4fae96)?_0x5b504c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x7fd9e7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4fae96}):_0x5b504c['errorText']=t(_0x4fae96<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5b504c;}}class j extends _0x444ecb{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x45a521,_0x25541c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5dea11}=this,{componentFactory:_0x2cd5c4}=_0x5dea11['ui'];_0x5dea11['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2cd5c4['add']('footnotesStyle',function(_0x3286b7){return _0x28d9e4=>{const {t:t}=_0x28d9e4,_0x1eb477=_0x3286b7['commands']['get']('footnotesStyle'),_0x3cf23a=_0x3b703a(_0x28d9e4),{buttonView:_0x11f861}=_0x3cf23a;return _0x3cf23a['class']='ck-footnotes-styles-dropdown',_0x3cf23a['bind']('isEnabled')['to'](_0x1eb477,'isEnabled'),_0x11f861['set']({'label':t('Footnotes\x20style'),'icon':_0x1ed261,'tooltip':!0x0}),_0x3cf23a['once']('change:isOpen',()=>{const _0x48b469=function({editor:_0x2ca8ac,dropdownView:_0x598e8e}){const {t:t}=_0x2ca8ac['locale'],_0x4fb1a9=t('Footnotes\x20definitions\x20styles'),_0x3e4c97=function(_0x348f98){const t=_0x348f98['locale']['t'],_0x5e9fae=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4066d3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x528aa6},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x36fe45},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2d1513},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x29c5b5},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xde6fb3}];return _0x5e9fae['map'](function(_0x442141){const _0x243904=_0x442141['locale'];return({label:_0x4f32de,icon:_0x111800,tooltip:_0xa7edf6,style:_0x1d865e})=>{const _0x2964d8=_0x442141['commands']['get']('footnotesStyle'),_0x5842b3=new _0x352d48(_0x243904);return _0x5842b3['set']({'label':_0x4f32de,'icon':_0x111800,'tooltip':_0xa7edf6}),_0x5842b3['bind']('isOn')['to'](_0x2964d8,'value',_0x50e495=>_0x50e495===_0x1d865e),_0x5842b3['bind']('isEnabled')['to'](_0x2964d8,'isEnabled'),_0x5842b3['on']('execute',()=>{_0x442141['execute']('footnotesStyle',{'value':_0x1d865e}),_0x442141['editing']['view']['focus']();}),_0x5842b3;};}(_0x348f98));}(_0x2ca8ac),_0x95d723=new H(_0x2ca8ac['locale'],{'styleGridAriaLabel':_0x4fb1a9,'styleButtonViews':_0x3e4c97});return _0x95d723['delegate']('execute')['to'](_0x598e8e),_0x95d723['on']('footnotesListStart',(_0x3e809a,_0x41528f)=>{_0x2ca8ac['execute']('footnotesStart',{'value':_0x41528f['startIndex']});}),_0x95d723;}({'editor':_0x3286b7,'dropdownView':_0x3cf23a});_0x3cf23a['panelView']['children']['add'](_0x48b469);}),_0x3cf23a;};}(_0x5dea11));}['afterInit'](){const {editor:_0x29be2d}=this,{t:t}=_0x29be2d['locale'],_0x48d987=_0x29be2d['plugins']['get'](_0x25541c),{defaultPositions:_0x53a4de}=_0x13092d;_0x48d987['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x29be2d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x555c5e=>{let _0x45a96a=_0x555c5e['getFirstPosition']()?.['parent'];return _0x45a96a?.['is']('$text')&&(_0x45a96a=_0x45a96a['parent']),_0x45a96a?.['is']('element')?_0x45a96a['findAncestor'](J):null;},'positions':[_0x53a4de['southArrowNorth'],_0x53a4de['southArrowNorthMiddleWest'],_0x53a4de['southArrowNorthMiddleEast'],_0x53a4de['southArrowNorthWest'],_0x53a4de['southArrowNorthEast'],_0x53a4de['northArrowSouth'],_0x53a4de['northArrowSouthMiddleWest'],_0x53a4de['northArrowSouthMiddleEast'],_0x53a4de['northArrowSouthWest'],_0x53a4de['northArrowSouthEast'],_0x53a4de['viewportStickyNorth']]});}}class lt extends _0x444ecb{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{nt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,lt as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,b as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,w as InsertFootnoteCommand};
23
+ import{Plugin as _0x121cf2,Command as _0x1cbb0b}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3a25fd,isWidget as _0x2d9989,toWidgetEditable as _0x2b7dd1,WidgetToolbarRepository as _0x118488}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x48005b,logWarning as _0x32339b,FocusTracker as et,KeystrokeHandler as ot,global as rt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x414d48,ClickObserver as _0xb67886}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2bb32e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4a55bb,ButtonView as _0x4c570f,View as _0x3e4161,ViewCollection as _0x35ec5d,FocusCycler as _0x26d2d1,addKeyboardHandlingForGrid as _0x14a67a,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it,ContextualBalloon as _0x1b5b21,BalloonPanelView as _0x20843e,createDropdown as _0x24a563}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x194df0,IconListStyleDecimal as _0x591d09,IconListStyleDecimalLeadingZero as _0x19795a,IconListStyleLowerRoman as _0xcd671b,IconListStyleUpperRoman as _0x23d639,IconListStyleLowerLatin as _0x527041,IconListStyleUpperLatin as _0x33ab1b}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x226051,_0x4c93ea){this['_model']=_0x226051,this['_elementName']=_0x4c93ea['elementName'],this['_getElementKey']=_0x4c93ea['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x1f8861){const _0x4b100e=new Set(),_0x27111e=new Map();for(const _0x45491b of _0x1f8861){if('insert'===_0x45491b['type']&&'$text'!==_0x45491b['name']&&_0x45491b['position']['nodeAfter']){const _0x358b14=this['_model']['createRangeOn'](_0x45491b['position']['nodeAfter']);for(const _0x514240 of _0x358b14['getItems']()){if(!_0x514240['is']('element',this['_elementName']))continue;const _0x8f671e=this['_getElementKey'](_0x514240);_0x27111e['has'](_0x8f671e)||_0x27111e['set'](_0x8f671e,[]),_0x27111e['get'](_0x8f671e)['push'](_0x514240);}}if('remove'===_0x45491b['type']&&_0x45491b['name']===this['_elementName']){const _0x5090df=this['_getElementKey']({'getAttribute':_0x53a81c=>_0x45491b['attributes']['get'](_0x53a81c)});_0x4b100e['add'](_0x5090df);}}for(const [_0x1d2724,_0x5a48f9]of this['_trackedElements'])'$graveyard'===_0x5a48f9['root']['rootName']&&_0x4b100e['add'](_0x1d2724);for(const _0x1531eb of _0x4b100e)this['_trackedElements']['delete'](_0x1531eb);for(const [_0x58f4a3,_0x3c0cd6]of _0x27111e)this['_trackedElements']['set'](_0x58f4a3,_0x3c0cd6[_0x3c0cd6['length']-0x1]);const _0x15ca77=new Set();for(const [_0x1f6136,_0x1b2df0]of _0x27111e)_0x4b100e['has'](_0x1f6136)&&(_0x15ca77['add'](_0x1b2df0[0x0]),_0x1b2df0['length']>0x1?_0x27111e['set'](_0x1f6136,_0x1b2df0['slice'](0x1)):_0x27111e['delete'](_0x1f6136),_0x4b100e['delete'](_0x1f6136));return{'removed':Array['from'](_0x4b100e),'inserted':Array['from'](_0x27111e['values']())['flat'](),'moved':Array['from'](_0x15ca77)};}}class c extends _0x121cf2{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58a412){super(_0x58a412),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x578e8f=>_0x578e8f['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xc410fa=>_0xc410fa['getAttribute']('footnoteId')});}['init'](){const {editor:_0x369af1}=this,{model:_0x47d0d9,data:_0x9a54e0}=_0x369af1;_0x47d0d9['document']['registerPostFixer'](_0x5bc409=>{const _0x1ae5f5=_0x47d0d9['document']['differ']['getChanges']();let _0x221495=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5bc409,_0x1ae5f5)&&(_0x221495=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5bc409,_0x1ae5f5)&&(_0x221495=!0x0),this['_handleFootnoteReferencesChanges'](_0x5bc409,_0x1ae5f5)&&(_0x221495=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5bc409)&&(_0x221495=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5bc409)&&(_0x221495=!0x0),this['_sortFootnoteDefinitions'](_0x5bc409)&&(_0x221495=!0x0),_0x221495;}),this['listenTo'](_0x47d0d9['document'],'change:data',()=>{_0x47d0d9['enqueueChange']({'isUndoable':!0x1},_0x556500=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x556500);});},{'priority':'low'}),this['listenTo'](_0x9a54e0,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x18ac47){return this['_footnotes']['find'](_0x224192=>_0x224192['id']===_0x18ac47)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x9334f5){this['_footnoteFormatter']=_0x9334f5;}['_updateFootnotesCounters'](_0x1ebe7f,_0x2959c7=0x0){let _0x203425=!0x1;for(let _0x2ebd58=_0x2959c7;_0x2ebd58<this['_footnotes']['length'];_0x2ebd58++)this['_updateFootnoteRefCounter'](_0x1ebe7f,_0x2ebd58)&&(_0x203425=!0x0);return _0x203425;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1c9acd,_0x1a71d2){const _0x1bc587=_0x1c9acd['createElement']('footnotesDefinitions',{});return _0x1c9acd['append'](_0x1bc587,_0x1a71d2),this['_footnotesDefinitions']=_0x1bc587,_0x1bc587;}['_ensureFootnotesDefinitionsContainerExists'](_0x25367f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4c89dc=this['_footnotes'][0x0]['reference']['root'],_0x28a9aa=this['_insertEmptyFootnotesDefinitionsContainer'](_0x25367f,_0x4c89dc);for(const _0x49afc4 of this['_footnotes'])_0x49afc4['definition']['parent']||_0x25367f['insert'](_0x49afc4['definition'],_0x28a9aa,'end');this['_updateFootnotesCounters'](_0x25367f);}['_handleFootnotesDefinitionsObjectChanges'](_0x5b527d,_0x4aefc3){let _0x1a2ae0=!0x1;const {inserted:_0x2332d2,removed:_0x6ea2a8,moved:_0x1ac6ef}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4aefc3);if(_0x1ac6ef['length']&&(this['_footnotesDefinitions']=_0x1ac6ef[0x0]),_0x2332d2['length']){if(_0x2332d2['length']>0x1||this['_footnotesDefinitions']&&_0x2332d2['some'](_0x3d7bae=>_0x3d7bae!==this['_footnotesDefinitions'])){const _0x43311a=_0x5b527d['createElement']('footnotesDefinitions',{}),_0x4e948c=[];this['_footnotesDefinitions']&&_0x4e948c['push'](this['_footnotesDefinitions']),_0x4e948c['push'](..._0x2332d2),_0x5b527d['insert'](_0x43311a,_0x4e948c[0x0],'before');for(const _0x221e5c of _0x4e948c)_0x5b527d['move'](_0x5b527d['createRangeIn'](_0x221e5c),_0x5b527d['createPositionAt'](_0x43311a,'end')),_0x5b527d['remove'](_0x221e5c);this['_footnotesDefinitions']=_0x43311a,this['_updateFootnotesCounters'](_0x5b527d),_0x1a2ae0=!0x0;}else this['_footnotesDefinitions']=_0x2332d2[0x0];}if(_0x6ea2a8['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4f4d67 of this['_footnotes'])_0x5b527d['remove'](_0x4f4d67['reference']),_0x1a2ae0=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1a2ae0;}['_handleFootnoteDefinitionsChanges'](_0x24a586,_0x5e977f){let _0x3bc49b=!0x1;const _0xff7bb2=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x21a53f,moved:_0xa36f7f}=this['_footnoteDefsTracker']['getChanges'](_0x5e977f);for(const _0x1c8b79 of[..._0xa36f7f,..._0x21a53f]){const _0x4c9193=_0x1c8b79['getAttribute']('footnoteId'),_0x7e6295=this['getFootnote'](_0x4c9193);_0x7e6295&&(_0x7e6295['definition']=_0x1c8b79),_(_0x24a586,_0xff7bb2,_0x1c8b79)&&(_0x3bc49b=!0x0);}return _0x3bc49b;}['_handleFootnoteReferencesChanges'](_0x358809,_0x1fda58){let _0x441210=!0x1;const {removed:_0x1d416b,inserted:_0x155fc2,moved:_0x40c948}=this['_footnoteRefsTracker']['getChanges'](_0x1fda58);for(const _0x4a84af of _0x1d416b)this['_handleRemoveFootnoteReferenceById'](_0x358809,_0x4a84af)&&(_0x441210=!0x0);for(const _0x59983e of _0x155fc2)this['_handleInsertedFootnoteReference'](_0x358809,_0x59983e)&&(_0x441210=!0x0);for(const _0x3dcc70 of _0x40c948)this['_handleMovedFootnoteReference'](_0x358809,_0x3dcc70)&&(_0x441210=!0x0);return _0x441210;}['_handleFootnotesDefinitionsObjectSync'](_0x6e458f){if(!this['_footnotesDefinitions'])return!0x1;let _0x43103c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x177b4f=[];for(const _0xd6106d of this['_footnotesDefinitions']['getChildren']()){const _0x27403a=_0xd6106d['getAttribute']('footnoteId');this['getFootnote'](_0x27403a)||(_0x177b4f['unshift'](_0xd6106d),_0x43103c=!0x0);}for(const _0x1f818a of _0x177b4f)_0x6e458f['remove'](_0x1f818a);}const _0x4dcc45=new Set(),_0x3dcd8f=[];for(const _0x4f29cf of this['_footnotesDefinitions']['getChildren']()){const _0xb5b58a=_0x4f29cf['getAttribute']('footnoteId');_0x4dcc45['has'](_0xb5b58a)?(_0x3dcd8f['unshift'](_0x4f29cf),_0x43103c=!0x0):_0x4dcc45['add'](_0xb5b58a);}for(const _0x5788e4 of _0x3dcd8f)_0x6e458f['remove'](_0x5788e4);return this['_footnotesDefinitions']['childCount']||(_0x6e458f['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x43103c=!0x0),_0x43103c;}['_handleInsertedFootnoteReference'](_0xc0ec9a,_0x1588a5){if(this['_footnotes']['find'](_0x509204=>_0x509204['reference']===_0x1588a5))return!0x1;let _0x5c2378=!0x1;const _0xa9ef95=_0x1588a5['getAttribute']('footnoteId'),_0x47e1a1=this['_footnotes']['findIndex'](_0x1b7a7d=>_0x1b7a7d['id']===_0xa9ef95);-0x1!==_0x47e1a1&&(_0xc0ec9a['remove'](this['_footnotes'][_0x47e1a1]['reference']),this['_footnotes']['splice'](_0x47e1a1,0x1),_0x5c2378=!0x0);let _0x289bdb=this['_footnotesDefinitions']?function(_0x13b29b,_0x255853){for(const _0x1ff7d0 of _0x13b29b['getChildren']())if(_0x1ff7d0['getAttribute']('footnoteId')===_0x255853)return _0x1ff7d0;return null;}(this['_footnotesDefinitions'],_0xa9ef95):null;_0x289bdb||(_0x289bdb=_0xc0ec9a['createElement']('footnoteDefinition',{'footnoteId':_0xa9ef95}),this['_footnotesDefinitions']&&(_0xc0ec9a['insert'](_0x289bdb,this['_footnotesDefinitions'],'end'),_0x5c2378=!0x0));const _0x34550e={'id':_0xa9ef95,'reference':_0x1588a5,'definition':_0x289bdb},_0x4f1f1a=I(this['editor']['model'],this['_footnotes'],_0x1588a5);this['_footnotes']['splice'](_0x4f1f1a,0x0,_0x34550e);let _0x4aa71a=_0x4f1f1a;return-0x1!==_0x47e1a1&&(_0x4aa71a=Math['min'](_0x4f1f1a,_0x47e1a1)),this['_updateFootnotesCounters'](_0xc0ec9a,_0x4aa71a)&&(_0x5c2378=!0x0),_0x5c2378;}['_handleRemoveFootnoteReferenceById'](_0x1e528f,_0x1a4938){const _0x386bc6=this['_footnotes']['findIndex'](_0x44a908=>_0x44a908['id']===_0x1a4938);if(-0x1===_0x386bc6)return!0x1;let _0x470d3a=!0x1;const _0x4d5df3=this['_footnotes'][_0x386bc6];return'$graveyard'!==_0x4d5df3['definition']['root']['rootName']&&(_0x1e528f['remove'](_0x4d5df3['definition']),_0x470d3a=!0x0),this['_footnotes']['splice'](_0x386bc6,0x1),this['_updateFootnotesCounters'](_0x1e528f,_0x386bc6)&&(_0x470d3a=!0x0),_0x470d3a;}['_handleMovedFootnoteReference'](_0x3b7fe3,_0xa8b6e0){const _0x35a229=_0xa8b6e0['getAttribute']('footnoteId'),_0x5135b4=this['_footnotes']['findIndex'](_0x37c7f4=>_0x37c7f4['id']===_0x35a229),_0x70db06=this['_footnotes'][_0x5135b4];let _0x59d75c=!0x1;_0x70db06['reference']=_0xa8b6e0,this['_footnotes']['splice'](_0x5135b4,0x1);const _0x1c35ad=I(this['editor']['model'],this['_footnotes'],_0xa8b6e0);return this['_footnotes']['splice'](_0x1c35ad,0x0,_0x70db06),this['_updateFootnotesCounters'](_0x3b7fe3,Math['min'](_0x5135b4,_0x1c35ad))&&(_0x59d75c=!0x0),_0x59d75c;}['_updateFootnoteRefCounter'](_0x5a1e0b,_0x2990a5){if(!this['_footnotesDefinitions'])return!0x1;const _0x335e55=this['_footnotes'][_0x2990a5];let _0x2694f3;return _0x2694f3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x335e55,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2990a5+0x1}):String(_0x2990a5+0x1),_0x335e55['reference']['getAttribute']('footnoteCounter')!=_0x2694f3&&(_0x5a1e0b['setAttribute']('footnoteCounter',_0x2694f3,_0x335e55['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x185e7e){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x38ee45,_0xa8d8a9){if(_0x38ee45['length']!==_0xa8d8a9['length'])return!0x1;for(let _0x2a4fee=0x0;_0x2a4fee<_0x38ee45['length'];_0x2a4fee++)if(_0x38ee45[_0x2a4fee]!==_0xa8d8a9[_0x2a4fee])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3ebbae=>_0x3ebbae['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x15d79b=>_0x15d79b['getAttribute']('footnoteId'))))return!0x1;let _0x323621=!0x1;for(let _0x45dfac=0x0;_0x45dfac<this['_footnotes']['length'];_0x45dfac++){const _0x1de6dd=this['_footnotes'][_0x45dfac],_0x9ae46b=_0x185e7e['createPositionBefore'](_0x1de6dd['definition']),_0x5ece7d=_0x185e7e['createPositionAt'](this['_footnotesDefinitions'],_0x45dfac);_0x9ae46b['isEqual'](_0x5ece7d)||(_0x185e7e['move'](_0x185e7e['createRangeOn'](_0x1de6dd['definition']),_0x5ece7d),_0x323621=!0x0);}return _0x323621;}['_ensureFootnotesReferencesHaveProperOrder'](_0x8998ad){if(!this['_footnotes']['length'])return!0x1;const {model:_0x17a741}=this['editor'];let _0x32a3e6=!0x1;for(let _0x9891a=0x0;_0x9891a<this['_footnotes']['length']-0x1;_0x9891a++){const _0x44889=this['_footnotes'][_0x9891a],_0x1b0f1a=this['_footnotes'][_0x9891a+0x1],_0x2cf916=_0x17a741['createPositionBefore'](_0x44889['reference']),_0x31376e=_0x17a741['createPositionBefore'](_0x1b0f1a['reference']);'after'===_0x2cf916['compareWith'](_0x31376e)&&(this['_handleMovedFootnoteReference'](_0x8998ad,_0x44889['reference']),_0x9891a=-0x1,_0x32a3e6=!0x0);}return _0x32a3e6;}}function _(_0x28bd16,_0x4c51e2,_0x504644){if(_0x504644['childCount'])return!0x1;const _0x5c8992=_0x4c51e2?'paragraph':'footnoteInlineContent';return _0x28bd16['insert'](_0x28bd16['createElement'](_0x5c8992),_0x504644),!0x0;}function I(_0x3fbe38,_0x1f9ecf,_0x8fbcab){if(0x0===_0x1f9ecf['length'])return 0x0;const _0x401ab5=_0x3fbe38['createPositionBefore'](_0x8fbcab);for(let _0x48333c=0x0;_0x48333c<_0x1f9ecf['length'];_0x48333c++){const _0x3e7c37=_0x1f9ecf[_0x48333c],_0x136256=_0x3fbe38['createPositionBefore'](_0x3e7c37['reference']);if('before'===_0x401ab5['compareWith'](_0x136256))return _0x48333c;}const _0x3333b1=_0x8fbcab['root'];let _0x4bb875=-0x1;for(let _0xc2ec5=_0x1f9ecf['length']-0x1;_0xc2ec5>=0x0;_0xc2ec5--)if(_0x1f9ecf[_0xc2ec5]['reference']['root']===_0x3333b1){_0x4bb875=_0xc2ec5;break;}if(-0x1!==_0x4bb875)return _0x4bb875+0x1;const _0x123931=_0x3fbe38['document']['getRootNames'](),_0x56c6e4=_0x123931['indexOf'](_0x3333b1['rootName']),_0x3c5586=_0x123931[_0x56c6e4+0x1];if(_0x3c5586){for(let _0x24da10=0x0;_0x24da10<_0x1f9ecf['length'];_0x24da10++)if(_0x1f9ecf[_0x24da10]['reference']['root']['rootName']===_0x3c5586)return _0x24da10;}return _0x1f9ecf['length'];}class w extends _0x1cbb0b{['refresh'](){const _0x38e690=this['editor']['model']['document']['selection'],_0x7f17d=this['_getPositionToInsertFootnote'](_0x38e690);this['isEnabled']=!!_0x7f17d;}['execute'](_0x5c7239){const {editor:_0x2ed9f6}=this,{model:_0x1506c0}=_0x2ed9f6,{selection:_0x313c67}=_0x1506c0['document'],_0x3a700b=this['_getPositionToInsertFootnote'](_0x313c67);if(!_0x3a700b)return;const _0x1ef0ee=_0x2ed9f6['plugins']['get']('FootnotesEditing'),_0x14d194=_0x5c7239?.['footnoteId']??_0x48005b();!function(_0x2da47b){return'string'==typeof _0x2da47b&&_0x2da47b['length']>0x0&&!/\s/['test'](_0x2da47b)&&!/^\d/['test'](_0x2da47b);}(_0x14d194)?_0x32339b('insert-footnote-command-executed-with-invalid-id'):(_0x1506c0['change'](_0x3d34bd=>{const _0x2d1f5=_0x3d34bd['createElement']('footnoteRef',{'footnoteId':_0x14d194});_0x1506c0['insertObject'](_0x2d1f5,_0x3a700b,null);}),_0x1ef0ee['_moveSelectionToFootnoteDefinition'](_0x14d194));}['_getPositionToInsertFootnote'](_0x2e0e77){const {model:_0x43f889}=this['editor'],{schema:_0x34b4b2}=_0x43f889,_0xdb70d2=_0x2e0e77['getFirstRange']();for(const _0x18c8ef of _0xdb70d2['getItems']())if(_0x34b4b2['isBlock'](_0x18c8ef)||_0x34b4b2['isObject'](_0x18c8ef))return null;const _0x3ca6e7=_0xdb70d2['end'];return _0x34b4b2['checkChild'](_0x3ca6e7,'footnoteRef')?_0x3ca6e7:null;}}class r extends _0x121cf2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2deb60}=this;_0x2deb60['config']['define']('footnotes.multiBlock',!0x0),_0x2deb60['commands']['add']('insertFootnote',new w(_0x2deb60)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2e1879){const _0x414966=_0x100855([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]),_0x2b9d9f=0x47a28506,_0x50cb2e=0x47a5f296^_0x2b9d9f,_0x3a6346=window[_0x100855([0x44,0x61,0x74,0x65])][_0x100855([0x6e,0x6f,0x77])](),_0x4326e4=_0x2e1879[_0x100855([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4c7149=new window[(_0x100855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46a8b1=>{_0x4326e4[_0x100855([0x6f,0x6e,0x63,0x65])](_0x100855([0x72,0x65,0x61,0x64,0x79]),_0x46a8b1);}),_0x1696b0={[_0x100855([0x6b,0x74,0x79])]:_0x100855([0x45,0x43]),[_0x100855([0x75,0x73,0x65])]:_0x100855([0x73,0x69,0x67]),[_0x100855([0x63,0x72,0x76])]:_0x100855([0x50,0x2d,0x32,0x35,0x36]),[_0x100855([0x78])]:_0x100855([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]),[_0x100855([0x79])]:_0x100855([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]),[_0x100855([0x61,0x6c,0x67])]:_0x100855([0x45,0x53,0x32,0x35,0x36])},_0x2b007f=_0x4326e4[_0x100855([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x100855([0x67,0x65,0x74])](_0x100855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x512226(){let _0x29461b,_0x432815=null,_0x1b019d=null;try{if(_0x2b007f==_0x100855([0x47,0x50,0x4c]))return _0x100855([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29461b=_0x5014c0(),!_0x29461b)return _0x100855([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29461b[_0x100855([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b019d=_0x2ec691(_0x29461b[_0x100855([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29461b[_0x100855([0x6a,0x74,0x69])])),await _0xe60125()?_0x312763()?_0x4314d0()?_0x100855([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x37569a()?(_0x29461b[_0x100855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x100855([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x432815=_0x3e8a63(_0x100855([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x29461b[_0x100855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x100855([0x74,0x72,0x69,0x61,0x6c])&&(_0x432815=_0x3e8a63(_0x100855([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x42c9e6()):_0x100855([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x100855([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x100855([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x100855([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4314d0(){const _0x46af02=[_0x100855([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x100855([0x74,0x72,0x69,0x61,0x6c])][_0x100855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29461b[_0x100855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a6346/0x3e8:0xe10*_0x50cb2e;return _0x29461b[_0x100855([0x65,0x78,0x70])]<_0x46af02;}function _0x312763(){const _0x37b9a1=_0x29461b[_0x100855([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x37b9a1&&(!!_0x37b9a1[_0x100855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100855([0x2a]))||!!_0x37b9a1[_0x100855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100855([0x46,0x4f,0x4f])));}function _0x37569a(){const _0x4f9b0e=_0x29461b[_0x100855([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f9b0e||0x0==_0x4f9b0e[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x49287f}=new URL(window[_0x100855([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4f9b0e[_0x100855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49287f))return!0x0;const _0x2f6b0e=_0x49287f[_0x100855([0x73,0x70,0x6c,0x69,0x74])](_0x100855([0x2e]));return _0x4f9b0e[_0x100855([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b9d47=>_0x5b9d47[_0x100855([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x100855([0x2a])))[_0x100855([0x6d,0x61,0x70])](_0x143f48=>_0x143f48[_0x100855([0x73,0x70,0x6c,0x69,0x74])](_0x100855([0x2e])))[_0x100855([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a9b46=>_0x3a9b46[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2f6b0e[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x100855([0x6d,0x61,0x70])](_0x1c3a75=>Array(_0x2f6b0e[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1c3a75[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x100855([0x66,0x69,0x6c,0x6c])](_0x1c3a75[0x0]===_0x100855([0x2a])?_0x100855([0x2a]):'')[_0x100855([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1c3a75))[_0x100855([0x73,0x6f,0x6d,0x65])](_0x4f95fb=>_0x2f6b0e[_0x100855([0x65,0x76,0x65,0x72,0x79])]((_0x3ffec7,_0x41d4e6)=>_0x4f95fb[_0x41d4e6]===_0x3ffec7||_0x4f95fb[_0x41d4e6]===_0x100855([0x2a])));}function _0x42c9e6(){return _0x432815&&_0x1b019d?new window[(_0x100855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e6814,_0x3a54b0)=>{_0x432815[_0x100855([0x74,0x68,0x65,0x6e])](_0x4e6814,_0x3a54b0),_0x1b019d[_0x100855([0x74,0x68,0x65,0x6e])](_0x2e4472=>{_0x2e4472!=_0x100855([0x56,0x61,0x6c,0x69,0x64])&&_0x4e6814(_0x2e4472);},_0x3a54b0);}):_0x432815||_0x1b019d||_0x100855([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2ec691(_0x56c9f1,_0x417650){return new window[(_0x100855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x493b7b=>{if(_0x22d436())return _0x493b7b(_0x100855([0x56,0x61,0x6c,0x69,0x64]));_0x5996a5(),_0x4326e4[_0x100855([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x100855([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x12e1e4=!0x1;const _0x16c834=_0x48005b();function _0x39a4a9(_0x19ce38){return!!_0x19ce38&&(typeof _0x19ce38===_0x100855([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19ce38===_0x100855([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19ce38[_0x100855([0x74,0x68,0x65,0x6e])]===_0x100855([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19ce38[_0x100855([0x63,0x61,0x74,0x63,0x68])]===_0x100855([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2691ea(_0x29c5fe){_0x360c08(_0x29c5fe)[_0x100855([0x74,0x68,0x65,0x6e])](_0x4244fb=>{if(!_0x4244fb||_0x4244fb[_0x100855([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x100855([0x6f,0x6b]))return _0x100855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e4e13(_0x4d0f0a(_0x16c834+_0x417650))!=_0x4244fb[_0x100855([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x100855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x100855([0x56,0x61,0x6c,0x69,0x64]);})[_0x100855([0x74,0x68,0x65,0x6e])](_0x20b81f=>(_0x57f6e6(),_0x20b81f),()=>{const _0x4f9a99=_0x18ff7b();return null==_0x4f9a99?(_0x57f6e6(),_0x100855([0x56,0x61,0x6c,0x69,0x64])):_0x100855(_0x3a6346-_0x4f9a99>(0x63ae0106^_0x2b9d9f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x100855([0x74,0x68,0x65,0x6e])](_0x493b7b)[_0x100855([0x63,0x61,0x74,0x63,0x68])](()=>{_0x493b7b(_0x100855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35d1e9=0x47946b86^_0x2b9d9f;function _0x57f6e6(){const _0x161160=_0x100855([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e4e13(_0x4d0f0a(_0x56c9f1)),_0x6fd4e2=_0x3ec638(_0x2e4e13(window[_0x100855([0x4d,0x61,0x74,0x68])][_0x100855([0x63,0x65,0x69,0x6c])](_0x3a6346/_0x35d1e9)));window[_0x100855([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x100855([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x161160,_0x6fd4e2);}function _0x18ff7b(){const _0x283b94=_0x100855([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e4e13(_0x4d0f0a(_0x56c9f1)),_0x34ea3c=window[_0x100855([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x100855([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x283b94);return _0x34ea3c?window[_0x100855([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ec638(_0x34ea3c),0x10)*_0x35d1e9:null;}function _0x360c08(_0x48ebca){return new window[(_0x100855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35ebed,_0x104cfd)=>{_0x48ebca[_0x100855([0x74,0x68,0x65,0x6e])](_0x35ebed,_0x104cfd),window[_0x100855([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x104cfd,0x47a351c6^_0x2b9d9f);});}}_0x4326e4[_0x100855([0x6f,0x6e])](_0x100855([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x410bbd,_0x7227fc)=>{if(_0x7227fc[0x0]!=_0x56c9f1)return _0x493b7b(_0x100855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x7227fc[0x1]={..._0x7227fc[0x1],[_0x100855([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x16c834};},{[_0x100855([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x100855([0x68,0x69,0x67,0x68])}),_0x4326e4[_0x100855([0x6f,0x6e])](_0x100855([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x293578=>{_0x39a4a9(_0x293578[_0x100855([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x12e1e4=!0x0,_0x2691ea(_0x293578[_0x100855([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x100855([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x100855([0x6c,0x6f,0x77])}),_0x4c7149[_0x100855([0x74,0x68,0x65,0x6e])](()=>{_0x12e1e4||_0x493b7b(_0x100855([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22d436(){return _0x4326e4[_0x100855([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x100855([0x76,0x69,0x65,0x77])][_0x100855([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x100855([0x61,0x75,0x74,0x6f]);}function _0x5996a5(){_0x4326e4[_0x100855([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x100855([0x76,0x69,0x65,0x77])][_0x100855([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x100855([0x61,0x75,0x74,0x6f]);}}function _0x3e8a63(_0x284d4b){const _0x4c4700=[new window[(_0x100855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5be52c=>setTimeout(_0x5be52c,0x47abbbca^_0x2b9d9f)),_0x4c7149[_0x100855([0x74,0x68,0x65,0x6e])](()=>new window[(_0x100855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x116705=>{let _0x3d287c=0x0;_0x4326e4[_0x100855([0x6d,0x6f,0x64,0x65,0x6c])][_0x100855([0x6f,0x6e])](_0x100855([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x347b25,_0xa8df50)=>{_0xa8df50[0x0][_0x100855([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d287c++,_0x3d287c==(0x47a284fe^_0x2b9d9f)&&(_0x116705(),_0x347b25[_0x100855([0x6f,0x66,0x66])]());});}))];return window[_0x100855([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x100855([0x72,0x61,0x63,0x65])](_0x4c4700)[_0x100855([0x74,0x68,0x65,0x6e])](()=>_0x284d4b);}async function _0x2b68c2(){await _0x4c7149,_0x4326e4[_0x100855([0x6d,0x6f,0x64,0x65,0x6c])][_0x100855([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2b33d4,_0x4326e4[_0x100855([0x6d,0x6f,0x64,0x65,0x6c])][_0x100855([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2b33d4,_0x4326e4[_0x100855([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x100855([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x157d99(_0xcd1e2b){const _0x4ead4d=_0x4652a8();_0x4326e4[_0x4ead4d]=_0x100855([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xcd1e2b,_0xcd1e2b!=_0x100855([0x56,0x61,0x6c,0x69,0x64])&&_0x2b68c2();}function _0x4652a8(){const _0x87b27c=window[_0x100855([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x100855([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x100855([0x6e,0x6f,0x77])]())[_0x100855([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x100855([0x2e]),'');let _0x1098ff=_0x100855([0x75]);for(let _0xae3f73=0x0;_0xae3f73<_0x87b27c[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xae3f73+=0x2){let _0xbc513b=window[_0x100855([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x87b27c[_0x100855([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xae3f73,_0xae3f73+0x2));_0xbc513b>=_0x414966[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xbc513b-=_0x414966[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1098ff+=_0x414966[_0xbc513b];}return _0x1098ff;}function _0x5014c0(){const _0x3d2b77=_0x2b007f[_0x100855([0x73,0x70,0x6c,0x69,0x74])](_0x100855([0x2e]));if(0x3!=_0x3d2b77[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3ca5a3(_0x3d2b77[0x1]);function _0x3ca5a3(_0x1d39d8){const _0x222afe=_0x39ce65(_0x1d39d8);return _0x222afe&&_0x43d568()?_0x222afe:null;function _0x43d568(){const _0x70e37=_0x222afe[_0x100855([0x6a,0x74,0x69])],_0x25e902=window[_0x100855([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x70e37[_0x100855([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x70e37[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd50119={..._0x222afe,[_0x100855([0x6a,0x74,0x69])]:_0x70e37[_0x100855([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x70e37[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd50119[_0x100855([0x76,0x63])],_0x4d0f0a(_0xd50119)==_0x25e902;}}}async function _0xe60125(){let _0xd79065=!0x0;try{const _0x3d987f=_0x2b007f[_0x100855([0x73,0x70,0x6c,0x69,0x74])](_0x100855([0x2e])),[_0x1d8fd1,_0x222b4c,_0x59e07c]=_0x3d987f;return _0x2fb1e7(_0x1d8fd1),await _0x169594(_0x1d8fd1,_0x222b4c,_0x59e07c),_0xd79065;}catch{return!0x1;}function _0x2fb1e7(_0x513d9a){const _0x3d5915=_0x39ce65(_0x513d9a);_0x3d5915&&_0x3d5915[_0x100855([0x61,0x6c,0x67])]==_0x100855([0x45,0x53,0x32,0x35,0x36])||(_0xd79065=!0x1);}async function _0x169594(_0x505b62,_0x1b6720,_0x2165b3){const _0x33b8b0=window[_0x100855([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x100855([0x66,0x72,0x6f,0x6d])](_0x151fca(_0x2165b3),_0x501a8a=>_0x501a8a[_0x100855([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x286a8a=new window[(_0x100855([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x100855([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x505b62+_0x100855([0x2e])+_0x1b6720),_0x535780=window[_0x100855([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x100855([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x535780)return;const _0x11d346=await _0x535780[_0x100855([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x100855([0x6a,0x77,0x6b]),_0x1696b0,{[_0x100855([0x6e,0x61,0x6d,0x65])]:_0x100855([0x45,0x43,0x44,0x53,0x41]),[_0x100855([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x100855([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x100855([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x535780[_0x100855([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x100855([0x6e,0x61,0x6d,0x65])]:_0x100855([0x45,0x43,0x44,0x53,0x41]),[_0x100855([0x68,0x61,0x73,0x68])]:{[_0x100855([0x6e,0x61,0x6d,0x65])]:_0x100855([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11d346,_0x33b8b0,_0x286a8a)||(_0xd79065=!0x1);}}function _0x39ce65(_0x2c5a80){return _0x2c5a80[_0x100855([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x100855([0x65,0x79]))?JSON[_0x100855([0x70,0x61,0x72,0x73,0x65])](_0x151fca(_0x2c5a80)):null;}function _0x151fca(_0x1ec341){return window[_0x100855([0x61,0x74,0x6f,0x62])](_0x1ec341[_0x100855([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x100855([0x2b]))[_0x100855([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x100855([0x2f])));}function _0x4d0f0a(_0x3e3ac2){let _0x110389=0x1505;function _0x18a9da(_0x230ec8){for(let _0x33d0ae=0x0;_0x33d0ae<_0x230ec8[_0x100855([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x33d0ae++){const _0x44d9e8=_0x230ec8[_0x100855([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x33d0ae);_0x110389=(_0x110389<<0x5)+_0x110389+_0x44d9e8,_0x110389&=_0x110389;}}function _0x17dbf3(_0x3ae52e){Array[_0x100855([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ae52e)?_0x3ae52e[_0x100855([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17dbf3):_0x3ae52e&&typeof _0x3ae52e==_0x100855([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x100855([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ae52e)[_0x100855([0x73,0x6f,0x72,0x74])]()[_0x100855([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x12b4db,_0x1d5546])=>{_0x18a9da(_0x12b4db),_0x17dbf3(_0x1d5546);}):_0x18a9da(window[_0x100855([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ae52e));}return _0x17dbf3(_0x3e3ac2),_0x110389>>>0x0;}function _0x2e4e13(_0x25c2cd){return _0x25c2cd[_0x100855([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x100855([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x100855([0x30]));}function _0x3ec638(_0x3434f0){return _0x3434f0[_0x100855([0x73,0x70,0x6c,0x69,0x74])]('')[_0x100855([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x100855([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b33d4(){}function _0x100855(_0x5b40e8){return _0x5b40e8['map'](_0x46451a=>String['fromCharCode'](_0x46451a))['join']('');}_0x157d99(await _0x512226());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10cd6c){const {plugins:_0x4fbeb2,editing:_0x578604,model:_0x5d5873}=this['editor'],_0x51756f=_0x4fbeb2['get'](c)['getFootnote'](_0x10cd6c);return!!_0x51756f&&(_0x5d5873['change'](_0x7b6a59=>{_0x7b6a59['setSelection'](_0x7b6a59['createPositionAt'](_0x51756f['definition'],'end'));}),_0x578604['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1820fb){const {plugins:_0x673f49,editing:_0x3b3e7b,model:_0x745830}=this['editor'],_0x4d8e37=_0x673f49['get'](c)['getFootnote'](_0x1820fb);return!!_0x4d8e37&&(_0x745830['change'](_0x1ca8fe=>{_0x1ca8fe['setSelection'](_0x4d8e37['reference'],'on');}),_0x3b3e7b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x36f1ba}=this['editor']['model'],_0x23c538=this['editor']['config']['get']('footnotes.multiBlock');_0x36f1ba['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x36f1ba['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x36f1ba['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x23c538?_0x36f1ba['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x36f1ba['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x36f1ba['addChildCheck'](_0x212cc3=>{for(const _0x9eba7f of _0x212cc3)if('footnoteDefinition'===_0x9eba7f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x346c4d}=this,{conversion:_0x31f069,editing:_0x51b7c6}=_0x346c4d,{t:t}=_0x346c4d['locale'];_0x31f069['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x49727e,{writer:_0x3ff128,consumable:_0x56912e})=>{const _0x55584f=_0x49727e['getChild'](0x0);if(!_0x55584f||!_0x55584f['is']('element','a'))return null;const _0x21254b=_0x55584f['getAttribute']('href')||'';if(!_0x21254b['startsWith']('#'))return null;const _0x27fa53=_0x21254b['replace'](/^#/,'');if(!_0x27fa53)return null;_0x56912e['consume'](_0x55584f,{'name':!0x0,'attributes':['href']});for(const {item:_0x44f919}of _0x51b7c6['view']['createRangeIn'](_0x55584f))_0x44f919['is']('$textProxy')?_0x56912e['consume'](_0x44f919['textNode'],{'name':!0x0}):_0x44f919['is']('element')&&_0x56912e['consume'](_0x44f919,{'name':!0x0});return _0x3ff128['createElement']('footnoteRef',{'footnoteId':_0x27fa53});}}),_0x31f069['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x24b19a,{writer:_0x3106cb})=>D(_0x24b19a,_0x3106cb)}),_0x31f069['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3627d5,{writer:_0x36ca7f})=>{const _0x534ceb=_0x3627d5['getAttribute']('footnoteCounter');return _0x3a25fd(D(_0x3627d5,_0x36ca7f),_0x36ca7f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x534ceb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4d3897}=this,{t:t}=_0x4d3897['locale'],{conversion:_0x3c279f}=_0x4d3897;_0x3c279f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3c279f['for']('upcast')['add'](_0x29c407=>{_0x29c407['on']('element:ol',(_0x11a804,_0x3d1f80,_0x2dff29)=>{const _0x419312=_0x3d1f80['viewItem'];if(!_0x419312['hasClass']('footnotes-list')||!_0x3d1f80['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2dff29['consumable']['consume'](_0x419312,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xe086b6,modelCursor:_0x1026e0}=_0x2dff29['convertChildren'](_0x3d1f80['viewItem'],_0x3d1f80['modelCursor']);_0x3d1f80['modelRange']=_0xe086b6,_0x3d1f80['modelCursor']=_0x1026e0;}),_0x29c407['on']('element:hr',(_0x8f799b,_0x8c3acf,_0x348960)=>{const _0x47853c=_0x8c3acf['viewItem'];_0x47853c['hasClass']('footnotes-divider')&&_0x8c3acf['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x348960['consumable']['consume'](_0x47853c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3c279f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a3c25,{writer:_0x22799d})=>g(_0x22799d)}),_0x3c279f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xf861e9,{writer:_0x5f3ee8})=>{const _0xedec72=g(_0x5f3ee8,{'data-footnotes-list-label':t('Footnotes')}),_0x300fbb=_0x3a25fd(_0xedec72,_0x5f3ee8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5f3ee8['setCustomProperty']('footnotesDefinitions',!0x0,_0x300fbb),_0x300fbb;}});}['_defineDefinitionConverters'](){const {editor:_0x59fb81}=this,{conversion:_0x4bc025,locale:_0x163a99}=_0x59fb81,_0x2dbd13=_0x59fb81['config']['get']('footnotes.multiBlock');_0x4bc025['for']('upcast')['add'](_0x318955=>{_0x318955['on']('element:li',(_0x2557b1,_0x4b4db9,_0x3844b6)=>{const _0x5ce593=_0x4b4db9['viewItem'];if(!_0x5ce593['hasClass']('footnote-definition')||!_0x5ce593['getAttribute']('id'))return;const _0xc1b4d6=_0x5ce593['parent'];if(!_0xc1b4d6['is']('element','ol')||!_0xc1b4d6['hasClass']('footnotes-list'))return;if(!_0x3844b6['consumable']['test'](_0x5ce593,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x14f537=_0x3844b6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5ce593['getAttribute']('id')});if(!_0x3844b6['safeInsert'](_0x14f537,_0x4b4db9['modelCursor']))return;_0x3844b6['consumable']['consume'](_0x5ce593,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x65be87=Array['from'](_0x5ce593['getChildren']())['find'](_0x2e0a78=>_0x2e0a78['is']('element')&&_0x2e0a78['hasClass']('footnote-content'));for(const _0x120eb7 of _0x5ce593['getChildren']())_0x120eb7['is']('element')&&(_0x3844b6['consumable']['consume'](_0x120eb7,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3844b6['consumable']['consume'](_0x120eb7,{'name':!0x0,'classes':'footnote-content'}));if(_0x65be87){if(_0x2dbd13)_0x3844b6['convertChildren'](_0x65be87,_0x14f537);else{const _0x25ff37=_0x3844b6['writer']['createElement']('footnoteInlineContent');_0x3844b6['writer']['insert'](_0x25ff37,_0x14f537),_0x3844b6['convertChildren'](_0x65be87,_0x25ff37);}}_0x3844b6['updateConversionResult'](_0x14f537,_0x4b4db9);});}),_0x4bc025['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50ddba,{writer:_0x81c2c6})=>v(_0x50ddba,_0x81c2c6,_0x163a99,{'dataPipeline':!0x0})}),_0x4bc025['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1e8500,{writer:_0x1b9bf6})=>v(_0x1e8500,_0x1b9bf6,_0x163a99)});}['_defineBogusParagraphConverters'](){const {editor:_0x5d289a}=this,{conversion:_0x16243f}=_0x5d289a;_0x5d289a['config']['get']('footnotes.multiBlock')?(_0x16243f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x16243f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5d289a['model']['document'],'change:data',()=>{!function(_0x549c90,_0x5215a4){const _0x5a5c66=_0x549c90['document']['differ'],_0x868472=new Set();for(const _0x207ddd of _0x5a5c66['getChanges']()){const _0x2f5cec='attribute'==_0x207ddd['type']?_0x207ddd['range']['start']['parent']:_0x207ddd['position']['parent'];_0x2f5cec['is']('element','footnoteDefinition')&&_0x868472['add'](_0x2f5cec);}for(const _0xe76934 of _0x868472['values']()){const _0x448fde=Array['from'](_0xe76934['getChildren']())['filter'](_0x10c318=>p(_0x10c318,_0x5215a4['mapper']));for(const _0x4961a4 of _0x448fde)_0x5215a4['reconvertItem'](_0x4961a4);}}(_0x5d289a['model'],_0x5d289a['editing']);})):(_0x16243f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x16243f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1bd7cd,{writer:_0x46e905})=>{const _0x280136=_0x46e905['createContainerElement']('span');return _0x46e905['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x280136),_0x280136;}}));}['_defineKeyboardHandlers'](){const {editor:_0x20ae43}=this,{editing:_0x3542f3,t:t}=_0x20ae43,_0x109ebc=_0x20ae43['model']['document']['selection'];_0x20ae43['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x20ae43['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x3542f3['view']['document'],'enter',(_0x30d234,_0x2fa64a)=>{const _0x4332a3=function(_0x234860){const _0x35b8d7=_0x234860['getSelectedElement']();if(_0x35b8d7?.['is']('element','footnoteRef'))return _0x35b8d7;return null;}(_0x109ebc);if(_0x4332a3){const _0x2484f6=_0x4332a3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2484f6),_0x2fa64a['preventDefault'](),_0x30d234['stop']();}},{'context':_0x2d9989});}['_defineClickHandlers'](){const {editor:_0x548fdf}=this,{editing:_0x5ed5a1}=_0x548fdf;_0x548fdf['editing']['view']['addObserver'](_0x414d48),_0x548fdf['editing']['view']['addObserver'](_0xb67886);let _0x370dbb=!0x1;this['listenTo'](_0x5ed5a1['view']['document'],'pointerdown',(_0x4e7114,_0x255934)=>{const {target:_0x17a084}=_0x255934,_0x133f31=_0x5ed5a1['view']['document']['selection'];_0x370dbb=!!(_0x17a084['is']('element','a')&&_0x17a084['parent']?.['is']('element','sup')&&_0x17a084['parent']['hasClass']('footnote'))&&_0x133f31['getSelectedElement']()===_0x17a084['parent'];},{'priority':'high'}),this['listenTo'](_0x5ed5a1['view']['document'],'click',(_0x4a67ed,_0x59a0dd)=>{const {target:_0x181885}=_0x59a0dd;if(!_0x181885['is']('element','a'))return;if(_0x181885['parent']?.['is']('element','sup')&&_0x181885['parent']['hasClass']('footnote')&&!_0x370dbb)return void _0x59a0dd['preventDefault']();let _0x2ac2e3=_0x181885['getAttribute']('href');if(!_0x2ac2e3?.['startsWith']('#'))return;_0x2ac2e3=_0x2ac2e3['slice'](0x1);let _0x291503=!0x1;(_0x2ac2e3['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2ac2e3['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2ac2e3))&&(_0x291503=!0x0),_0x291503&&(_0x59a0dd['preventDefault'](),_0x4a67ed['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x5606eb}={}){return(_0x24c802,{writer:_0x13a518})=>{if(!h(_0x24c802))return null;if(!_0x5606eb)return _0x13a518['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x6377fe=_0x13a518['createContainerElement']('p');return _0x13a518['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x6377fe),_0x6377fe;};}function h(_0x30db6d){const {parent:_0x297c01}=_0x30db6d;if(!_0x297c01?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x297c01['childCount'])return!0x1;for(const _0x36cf1e of _0x30db6d['getAttributeKeys']())if(!_0x36cf1e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x36cf1e)return!0x1;return!0x0;}function p(_0x86b411,_0x411d11){if(!_0x86b411['is']('element','paragraph'))return!0x1;const _0x12ba71=_0x411d11['toViewElement'](_0x86b411);return!!_0x12ba71&&h(_0x86b411)!==_0x12ba71['is']('element','span');}function J(_0x3abee1){return _0x2d9989(_0x3abee1)&&_0x3abee1['is']('containerElement')&&!!_0x3abee1['getCustomProperty']('footnotesDefinitions');}function g(_0x25a1f0,_0x5502b4={}){const _0x5c0135=_0x25a1f0['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4cda9a=_0x25a1f0['createContainerElement']('ol',{'class':'footnotes-list'},_0x25a1f0['createSlot']());return _0x25a1f0['createContainerElement']('div',{'class':'footnotes',..._0x5502b4},[_0x5c0135,_0x4cda9a]);}function D(_0x29212a,_0x261ccd){const _0x12c18b=_0x29212a['getAttribute']('footnoteId'),_0x10ab7a=_0x29212a['getAttribute']('footnoteCounter'),_0x53a57a=_0x261ccd['createUIElement']('a',{'href':'#'+_0x12c18b},function(_0x285e64){const _0x3d5caa=this['toDomElement'](_0x285e64);return _0x3d5caa['textContent']=_0x10ab7a,_0x3d5caa;}),_0x195ee1=_0x261ccd['createContainerElement']('sup',{'id':'ref-'+_0x12c18b,'class':'footnote'},[_0x53a57a]);return _0x195ee1['getFillerOffset']=()=>null,_0x195ee1;}function v(_0x263d9c,_0x1b1b52,_0x36aefd,{dataPipeline:_0x3b3c2e}={}){const {t:t}=_0x36aefd,_0xa7c0d6=_0x263d9c['getAttribute']('footnoteId'),_0x2432ec=_0x1b1b52['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xa7c0d6},function(_0x294713){const _0x80ad8f=this['toDomElement'](_0x294713);return _0x80ad8f['innerText']='^',_0x80ad8f;}),_0x19f05f=_0x3b3c2e?_0x1b1b52['createContainerElement']('div',{'class':'footnote-content'}):_0x2b7dd1(_0x1b1b52['createEditableElement']('div',{'class':'footnote-content'}),_0x1b1b52,{'label':t('Footnote\x20content.')});return _0x1b1b52['insert'](_0x1b1b52['createPositionAt'](_0x19f05f,0x0),_0x1b1b52['createSlot']()),_0x1b1b52['createContainerElement']('li',{'class':'footnote-definition','id':_0xa7c0d6},[_0x2432ec,_0x19f05f]);}class e extends _0x121cf2{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2bb32e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xc9b39c}=this,{plugins:_0x360ad1,model:_0x5c7bfc}=_0xc9b39c,_0x5cc9c5=_0x360ad1['get'](_0x2bb32e),_0x373ea2=_0x360ad1['get'](c);this['listenTo'](_0x5cc9c5,'outputTransformation',(_0x34a6c1,_0x397dca)=>{const _0x5e9bef=function(_0xaada08,_0xf4c712){const _0x1ab069=new Set();for(const {item:_0x3e6145}of _0xaada08['createRangeIn'](_0xf4c712))_0x3e6145['is']('element','footnoteRef')&&_0x1ab069['add'](_0x3e6145['getAttribute']('footnoteId'));return Array['from'](_0x1ab069);}(_0x5c7bfc,_0x397dca['content']);if(!_0x5e9bef['length'])return;const _0x339ed2=_0x373ea2['getFootnotes'](),_0x55ef60=_0x5e9bef['reduce']((_0x5752bd,_0x315826)=>{const _0xdd23ac=_0x339ed2['find'](_0x4ac013=>_0x4ac013['id']===_0x315826);if(_0xdd23ac){const _0x38ff1b=_0xc9b39c['data']['toView'](_0xdd23ac['definition'],{'isClipboardPipeline':!0x0}),_0x274ea6=_0xc9b39c['data']['htmlProcessor']['toData'](_0x38ff1b);_0x5752bd[_0xdd23ac['id']]=_0x274ea6;}return _0x5752bd;},Object['create'](null));_0x397dca['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x55ef60));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2d2157}=this,{model:_0x116de6,plugins:_0x5f5178}=_0x2d2157,{view:_0x214f1e}=_0x2d2157['editing'],_0x11e89b=_0x5f5178['get'](_0x2bb32e),_0x49601a=_0x5f5178['get'](c);let _0x56aff3=null;this['listenTo'](_0x214f1e['document'],'clipboardInput',(_0x481e97,_0x60f2a5)=>{const _0x512b04=_0x60f2a5['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x56aff3=_0x512b04?JSON['parse'](_0x512b04):null;}),this['listenTo'](_0x11e89b,'contentInsertion',(_0x39f8c5,_0x457e9a)=>{if(!_0x56aff3)return;const _0x384a7e=_0x457e9a['sourceEditorId']===this['editor']['id'];_0x384a7e&&'drop'===_0x457e9a['method']||_0x116de6['change'](_0x141c21=>{!function(_0x5c53bd,_0x35db24){const _0x3e2884=[];for(const {item:_0x5b2abf}of _0x5c53bd['createRangeIn'](_0x35db24))_0x5b2abf['is']('element','footnotesDefinitions')&&_0x3e2884['push'](_0x5b2abf);for(const _0x35c8b7 of _0x3e2884)_0x5c53bd['remove'](_0x35c8b7);}(_0x141c21,_0x457e9a['content']);let _0x40e765=_0x49601a['getFootnotesDefinitionsObjectElement']();if(!_0x40e765){const _0x26a587=_0x116de6['document']['selection']['getFirstRange']()['root'];_0x40e765=_0x49601a['_insertEmptyFootnotesDefinitionsContainer'](_0x141c21,_0x26a587);}const _0x1ec01e=function(_0x3bb2a1,_0x5701a8,_0x52e0e5){const _0xea2ff4=Object['create'](null);for(const {item:_0x4aa2b8}of _0x3bb2a1['createRangeIn'](_0x5701a8))if(_0x4aa2b8['is']('element','footnoteRef')){const _0x4c8c57=_0x4aa2b8['getAttribute']('footnoteId');if(!_0x52e0e5(_0x4c8c57))continue;_0xea2ff4[_0x4c8c57]||(_0xea2ff4[_0x4c8c57]=_0x48005b()),_0x3bb2a1['setAttribute']('footnoteId',_0xea2ff4[_0x4c8c57],_0x4aa2b8);}return _0xea2ff4;}(_0x141c21,_0x457e9a['content'],_0x241a3e=>!_0x384a7e||null!==_0x49601a['getFootnote'](_0x241a3e));for(const [_0x3fcdf2,_0x18d0e9]of Object['entries'](_0x56aff3)){const _0x228e36=_0x1ec01e[_0x3fcdf2]||_0x3fcdf2,_0xbce184=_0x141c21['createElement']('footnoteDefinition',{'footnoteId':_0x228e36}),_0x1544f7=_0x2d2157['data']['htmlProcessor']['toView'](_0x18d0e9),_0x52fd0a=_0x2d2157['data']['toModel'](_0x1544f7,_0xbce184);_0x141c21['append'](_0x52fd0a,_0xbce184),_0x141c21['insert'](_0xbce184,_0x40e765,'end');}_0x56aff3=null;});});}}class i extends _0x121cf2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x401b42}=this,{componentFactory:_0x34e9a9}=_0x401b42['ui'];_0x34e9a9['add']('insertFootnote',x(_0x401b42,_0x4c570f)),_0x34e9a9['add']('menuBar:insertFootnote',x(_0x401b42,_0x4a55bb)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x190898=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x521803;for(const _0x33cc87 in _0x190898){const _0x28bd55=_0x33cc87,_0x5c3f62=_0x190898[_0x28bd55];if('footnotesLicenseKeyValid'==_0x5c3f62||'footnotesLicenseKeyInvalid'==_0x5c3f62||'footnotesLicenseKeyExpired'==_0x5c3f62||'footnotesLicenseKeyDomainLimit'==_0x5c3f62||'footnotesLicenseKeyNotAllowed'==_0x5c3f62||'footnotesLicenseKeyEvaluationLimit'==_0x5c3f62||'footnotesLicenseKeyTrialLimit'==_0x5c3f62||'footnotesLicenseKeyUsageLimit'==_0x5c3f62){delete _0x190898[_0x28bd55],_0x521803=_0x5c3f62,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x521803&&_0x190898['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x521803&&_0x190898['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x521803&&_0x190898['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x521803&&_0x190898['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x521803&&_0x190898['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x521803&&_0x190898['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x521803&&_0x190898['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0xe1f0f3,_0x25e19f){const _0xaf422f=_0xe1f0f3['commands']['get']('insertFootnote');return _0x6ce7e=>{const {t:t}=_0x6ce7e,_0x53b5d6=new _0x25e19f(_0x6ce7e),_0x43c4d6=_0x53b5d6 instanceof _0x4a55bb;return _0x53b5d6['bind']('isEnabled')['to'](_0xaf422f,'isEnabled'),_0x53b5d6['set']({'label':t(_0x43c4d6?'Footnote':'Insert\x20footnote'),'icon':_0x194df0,'tooltip':!0x0}),_0x53b5d6['on']('execute',()=>{_0xaf422f['execute'](),_0xe1f0f3['editing']['view']['focus']();}),_0x53b5d6;};}class nt extends _0x121cf2{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x1cbb0b{['refresh'](){const {editor:_0x65fe60}=this,_0x2bce35=_0x65fe60['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2bce35,this['value']=_0x2bce35?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x56f68d}){const {editor:_0x314903}=this,_0x279c08=_0x314903['plugins']['get'](c),_0x2465b9=_0x279c08['getFootnotesDefinitionsObjectElement']();_0x2465b9&&Q['includes'](_0x56f68d)&&_0x314903['model']['change'](_0x230d26=>{_0x230d26['setAttribute']('footnotesListStyle',_0x56f68d,_0x2465b9),_0x279c08['_updateFootnotesCounters'](_0x230d26);});}}class b extends _0x1cbb0b{['refresh'](){const {editor:_0x3d3da2}=this,_0x262c3f=_0x3d3da2['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x262c3f,this['value']=_0x262c3f?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x163dd0}){const {editor:_0xcc8562}=this,_0x562687=_0xcc8562['plugins']['get'](c),_0x54d582=_0x562687['getFootnotesDefinitionsObjectElement']();_0x54d582&&Number['isInteger'](_0x163dd0)&&_0xcc8562['model']['change'](_0x3f0371=>{_0x3f0371['setAttribute']('footnotesListStart',_0x163dd0,_0x54d582),_0x562687['_updateFootnotesCounters'](_0x3f0371);});}}class P extends _0x121cf2{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4cadbf}=this;_0x4cadbf['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4cadbf['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4cadbf['commands']['add']('footnotesStyle',new S(_0x4cadbf)),_0x4cadbf['commands']['add']('footnotesStart',new b(_0x4cadbf)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x48ad29}=this,{schema:_0x31d19a}=_0x48ad29['model'];_0x31d19a['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x2b683d}=this,{conversion:_0x2e020d,model:_0x9f910c}=_0x2b683d,{schema:_0x3f77e4}=_0x9f910c;_0x2e020d['for']('upcast')['add'](_0x1cb21b=>{_0x1cb21b['on']('element:ol',(_0x216954,_0x46c7e4,_0x4b112d)=>{const _0x276764=_0x46c7e4['viewItem'],_0xbc440=_0x46c7e4['modelCursor']?.['parent'];_0x276764['hasClass']('footnotes-list')&&_0xbc440?.['is']('element','footnotesDefinitions')&&(function(_0x5bcd00,_0x2dd9b1,_0x95913b,_0x363d2d){if(!_0x363d2d['checkAttribute'](_0x2dd9b1,'footnotesListStart'))return;let _0x5ac7a4=0x1;const _0x2cc8d6=_0x95913b['consumable']['consume'](_0x5bcd00,{'attributes':'start'});if(_0x2cc8d6){const _0x5530b9=Number['parseInt'](_0x5bcd00['getAttribute']('start'),0xa);Number['isNaN'](_0x5530b9)||(_0x5ac7a4=_0x5530b9);}!_0x2cc8d6&&_0x2dd9b1['hasAttribute']('footnotesListStart')||_0x95913b['writer']['setAttribute']('footnotesListStart',_0x5ac7a4,_0x2dd9b1);}(_0x276764,_0xbc440,_0x4b112d,_0x3f77e4),function(_0xa2b5f4,_0x3269f2,_0x45917b,_0x4f5090){if(!_0x4f5090['checkAttribute'](_0x3269f2,'footnotesListStyle'))return;let _0x1b78a8='decimal',_0x4008cc=!0x1;if(_0x45917b['consumable']['consume'](_0xa2b5f4,{'attributes':'type'})){const _0x597e68={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xa2b5f4['getAttribute']('type')];_0x597e68&&(_0x1b78a8=_0x597e68),_0x4008cc=!0x0;}_0x45917b['consumable']['consume'](_0xa2b5f4,{'styles':'list-style-type'})&&(_0x1b78a8=_0xa2b5f4['getStyle']('list-style-type'),_0x4008cc=!0x0),!_0x4008cc&&_0x3269f2['hasAttribute']('footnotesListStyle')||_0x45917b['writer']['setAttribute']('footnotesListStyle',_0x1b78a8,_0x3269f2);}(_0x276764,_0xbc440,_0x4b112d,_0x3f77e4));});}),_0x2e020d['for']('downcast')['add'](_0x1a9906=>{_0x1a9906['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1b9f94,_0x5978be,_0x272160)=>{if(!_0x272160['consumable']['consume'](_0x5978be['item'],_0x1b9f94['name']))return;const _0x2be3ec=C(_0x5978be['item'],_0x272160['mapper']),{attributeNewValue:_0x3c48d8}=_0x5978be;null==_0x3c48d8||0x1===_0x3c48d8?_0x272160['writer']['removeAttribute']('start',_0x2be3ec):_0x272160['writer']['setAttribute']('start',String(_0x3c48d8),_0x2be3ec);}),_0x1a9906['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x599827,_0x5a87f7,_0x24f822)=>{if(!_0x24f822['consumable']['consume'](_0x5a87f7['item'],_0x599827['name']))return;const _0x7fb542=C(_0x5a87f7['item'],_0x24f822['mapper']),{attributeNewValue:_0x924185}=_0x5a87f7;_0x924185&&'decimal'!==_0x924185?_0x24f822['writer']['setStyle']('list-style-type',_0x924185,_0x7fb542):_0x24f822['writer']['removeStyle']('list-style-type',_0x7fb542);});});}['_definePostfixer'](){const {editor:_0x4ffd9f}=this,{model:_0xb19934}=_0x4ffd9f,_0x2eedb0=_0x4ffd9f['plugins']['get'](c),_0x272618=this['_getDefaultListStyle'](),_0x6e6cc1=this['_getDefaultStartIndex']();_0xb19934['document']['registerPostFixer'](_0x2623e7=>{const _0x42d948=_0xb19934['document']['differ']['getChanges']();let _0x342802=!0x1;for(const _0x167cfe of _0x42d948){if('insert'!==_0x167cfe['type']||'$text'===_0x167cfe['name'])continue;const _0x29e92f=_0xb19934['createRangeOn'](_0x167cfe['position']['nodeAfter']);for(const _0x18fc7e of _0x29e92f['getItems']())_0x18fc7e['is']('element','footnotesDefinitions')&&(!_0x18fc7e['hasAttribute']('footnotesListStart')&&_0xb19934['schema']['checkAttribute'](_0x18fc7e,'footnotesListStart')&&(_0x2623e7['setAttribute']('footnotesListStart',_0x6e6cc1,_0x18fc7e),_0x342802=!0x0),!_0x18fc7e['hasAttribute']('footnotesListStyle')&&_0xb19934['schema']['checkAttribute'](_0x18fc7e,'footnotesListStyle')&&(_0x2623e7['setAttribute']('footnotesListStyle',_0x272618,_0x18fc7e),_0x342802=!0x0));}return _0x342802&&_0x2eedb0['_updateFootnotesCounters'](_0x2623e7),_0x342802;});}['_defineFormatter'](){const {editor:_0x1953da}=this;_0x1953da['plugins']['get'](c)['setFootnoteFormatter'](_0x54a02b=>this['_formatFootnoteListValue'](_0x54a02b));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4fe722,value:_0x111f97,digits:_0x1fa653}){const _0x55da25=_0x4fe722['getAttribute']('footnotesListStyle'),_0x5925ad=_0x4fe722['getAttribute']('footnotesListStart'),_0x127a9d=Math['floor'](_0x111f97)+(_0x5925ad??0x1)-0x1;switch(_0x55da25){case'decimal-leading-zero':return function(_0x2568fc,_0x3db215){return String(_0x2568fc)['padStart'](_0x3db215,'0');}(_0x127a9d,Math['max'](0x2,_0x1fa653));case'lower-alpha':case'lower-latin':return M(_0x127a9d,!0x1);case'upper-alpha':case'upper-latin':return M(_0x127a9d,!0x0);case'lower-roman':return V(_0x127a9d,!0x1);case'upper-roman':return V(_0x127a9d,!0x0);default:return String(_0x127a9d);}}}function C(_0x5edab5,_0x5910ad){const _0x43c7c2=_0x5910ad['toViewElement'](_0x5edab5);return Array['from'](_0x43c7c2['getChildren']())['find'](_0x1731ee=>_0x1731ee['is']('element','ol')&&_0x1731ee['hasClass']('footnotes-list'));}function M(_0x5d818a,_0x5e4a63){let _0x4f228a='',_0x7573ab=_0x5d818a;for(;_0x7573ab>0x0;){const _0x4c9bbe=(_0x7573ab-0x1)%0x1a;_0x4f228a=String['fromCharCode'](0x61+_0x4c9bbe)+_0x4f228a,_0x7573ab=Math['floor']((_0x7573ab-0x1)/0x1a);}return _0x5e4a63?_0x4f228a['toUpperCase']():_0x4f228a;}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(_0x2d54e4,_0x59699b){let _0x18f489='',_0x5d1257=_0x2d54e4;for(const {value:_0x72317b,numeral:_0x13bae6}of N)for(;_0x5d1257>=_0x72317b;)_0x18f489+=_0x13bae6,_0x5d1257-=_0x72317b;return _0x59699b?_0x18f489:_0x18f489['toLowerCase']();}class H extends _0x3e4161{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x35ec5d();['focusCycler'];constructor(_0x28ad51,{styleButtonViews:_0x1c090e,styleGridAriaLabel:_0x77b170}){super(_0x28ad51),(this['focusCycler']=new _0x26d2d1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1c090e,_0x77b170),[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 _0x1a9683 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1a9683['element']);_0x14a67a({'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 _0x3f5766=_0x1f4292=>_0x1f4292['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3f5766),this['keystrokes']['set']('arrowleft',_0x3f5766),this['keystrokes']['set']('arrowup',_0x3f5766),this['keystrokes']['set']('arrowdown',_0x3f5766);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4dbc7f,_0x1c0834){const _0x42cd20=new _0x3e4161(this['locale']);return _0x42cd20['children']=_0x42cd20['createCollection'](),_0x42cd20['children']['addMany'](_0x4dbc7f),_0x42cd20['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1c0834,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x42cd20['children']}),_0x42cd20['children']['delegate']('execute')['to'](this),_0x42cd20['focus']=function(){for(const _0x338a11 of this['children'])if(_0x338a11 instanceof _0x4c570f&&_0x338a11['isOn'])return void _0x338a11['focus']();this['children']['first']['focus']();},_0x42cd20['focusTracker']=new et(),_0x42cd20['keystrokes']=new ot(),_0x42cd20['render'](),_0x42cd20['keystrokes']['listenTo'](_0x42cd20['element']),this['children']['add'](_0x42cd20),_0x42cd20;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x41aba6=this['_createStartIndexPropertyView'](),_0xca07b5=[_0x41aba6],_0x5578ff=new tt(this['locale'],_0xca07b5);return _0x5578ff['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5578ff['buttonView']['bind']('isEnabled')['toMany'](_0xca07b5,'isEnabled',(..._0x56e2c5)=>_0x56e2c5['some'](_0x1248b1=>_0x1248b1)),_0x5578ff['buttonView']['on']('change:isEnabled',(_0x11189a,_0x4dbbea,_0x4584ae)=>{_0x4584ae||(_0x5578ff['isCollapsed']=!0x0);}),this['children']['add'](_0x5578ff),[_0x41aba6,_0x5578ff];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x299148=new st(this['locale'],it);return _0x299148['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x299148['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x299148['fieldView']['on']('input',()=>{const _0x48f0f7=_0x299148['fieldView']['element'],_0x5d7e22=_0x48f0f7['valueAsNumber'];Number['isNaN'](_0x5d7e22)?_0x299148['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x48f0f7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5d7e22}):_0x299148['errorText']=t(_0x5d7e22<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x299148;}}class j extends _0x121cf2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1b5b21,_0x118488];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x395d6e}=this,{componentFactory:_0x593f54}=_0x395d6e['ui'];_0x395d6e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x593f54['add']('footnotesStyle',function(_0x71091f){return _0x25781d=>{const {t:t}=_0x25781d,_0x29f46f=_0x71091f['commands']['get']('footnotesStyle'),_0x19003a=_0x24a563(_0x25781d),{buttonView:_0x344937}=_0x19003a;return _0x19003a['class']='ck-footnotes-styles-dropdown',_0x19003a['bind']('isEnabled')['to'](_0x29f46f,'isEnabled'),_0x344937['set']({'label':t('Footnotes\x20style'),'icon':_0x194df0,'tooltip':!0x0}),_0x19003a['once']('change:isOpen',()=>{const _0x40826f=function({editor:_0xa12bb4,dropdownView:_0x37e8b8}){const {t:t}=_0xa12bb4['locale'],_0x13ee7f=t('Footnotes\x20definitions\x20styles'),_0x2e72e1=function(_0x2eaf1d){const t=_0x2eaf1d['locale']['t'],_0xb62651=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x591d09},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x19795a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xcd671b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x23d639},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x527041},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x33ab1b}];return _0xb62651['map'](function(_0x397a86){const _0x293d87=_0x397a86['locale'];return({label:_0x4ad770,icon:_0x1fbe0d,tooltip:_0x42719b,style:_0x18d585})=>{const _0x3a0a84=_0x397a86['commands']['get']('footnotesStyle'),_0x5bbd71=new _0x4c570f(_0x293d87);return _0x5bbd71['set']({'label':_0x4ad770,'icon':_0x1fbe0d,'tooltip':_0x42719b}),_0x5bbd71['bind']('isOn')['to'](_0x3a0a84,'value',_0x1c34d9=>_0x1c34d9===_0x18d585),_0x5bbd71['bind']('isEnabled')['to'](_0x3a0a84,'isEnabled'),_0x5bbd71['on']('execute',()=>{_0x397a86['execute']('footnotesStyle',{'value':_0x18d585}),_0x397a86['editing']['view']['focus']();}),_0x5bbd71;};}(_0x2eaf1d));}(_0xa12bb4),_0x260d31=new H(_0xa12bb4['locale'],{'styleGridAriaLabel':_0x13ee7f,'styleButtonViews':_0x2e72e1});return _0x260d31['delegate']('execute')['to'](_0x37e8b8),_0x260d31['on']('footnotesListStart',(_0x575294,_0x479fcb)=>{_0xa12bb4['execute']('footnotesStart',{'value':_0x479fcb['startIndex']});}),_0x260d31;}({'editor':_0x71091f,'dropdownView':_0x19003a});_0x19003a['panelView']['children']['add'](_0x40826f);}),_0x19003a;};}(_0x395d6e));}['afterInit'](){const {editor:_0x2a6df0}=this,{t:t}=_0x2a6df0['locale'],_0x4495cc=_0x2a6df0['plugins']['get'](_0x118488),{defaultPositions:_0x4a52da}=_0x20843e;_0x4495cc['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2a6df0['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xd1379b=>{let _0x179f51=_0xd1379b['getFirstPosition']()?.['parent'];return _0x179f51?.['is']('$text')&&(_0x179f51=_0x179f51['parent']),_0x179f51?.['is']('element')?_0x179f51['findAncestor'](J):null;},'positions':[_0x4a52da['southArrowNorth'],_0x4a52da['southArrowNorthMiddleWest'],_0x4a52da['southArrowNorthMiddleEast'],_0x4a52da['southArrowNorthWest'],_0x4a52da['southArrowNorthEast'],_0x4a52da['northArrowSouth'],_0x4a52da['northArrowSouthMiddleWest'],_0x4a52da['northArrowSouthMiddleEast'],_0x4a52da['northArrowSouthWest'],_0x4a52da['northArrowSouthEast'],_0x4a52da['viewportStickyNorth']]});}}class lt extends _0x121cf2{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{nt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,lt as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,b as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,w as InsertFootnoteCommand};
@@ -0,0 +1,8 @@
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
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -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 default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x51cfbf=>0x1!=_0x51cfbf}};
@@ -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
+ (_0x31f221=>{const {af:{dictionary:_0xb511e0,getPluralForm:_0x16e3a1}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x27be36=>0x1!=_0x27be36}};_0x31f221['af']||={'dictionary':{},'getPluralForm':null},_0x31f221['af']['dictionary']=Object['assign'](_0x31f221['af']['dictionary'],_0xb511e0),_0x31f221['af']['getPluralForm']=_0x16e3a1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
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
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -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 default{'ar':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xd69a52=>0x0==_0xd69a52?0x0:0x1==_0xd69a52?0x1:0x2==_0xd69a52?0x2:_0xd69a52%0x64>=0x3&&_0xd69a52%0x64<=0xa?0x3:_0xd69a52%0x64>=0xb?0x4:0x5}};
@@ -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
+ (_0x4d8420=>{const {ar:{dictionary:_0x14678a,getPluralForm:_0x254d4a}}={'ar':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x497f1d=>0x0==_0x497f1d?0x0:0x1==_0x497f1d?0x1:0x2==_0x497f1d?0x2:_0x497f1d%0x64>=0x3&&_0x497f1d%0x64<=0xa?0x3:_0x497f1d%0x64>=0xb?0x4:0x5}};_0x4d8420['ar']||={'dictionary':{},'getPluralForm':null},_0x4d8420['ar']['dictionary']=Object['assign'](_0x4d8420['ar']['dictionary'],_0x14678a),_0x4d8420['ar']['getPluralForm']=_0x254d4a;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -0,0 +1,8 @@
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
+ import type { Translations } from '@ckeditor/ckeditor5-utils';
7
+ declare const translations: Translations;
8
+ export default translations;
@@ -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 default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x27ec61=>0x1!=_0x27ec61}};