@ckeditor/ckeditor5-track-changes 45.2.1 → 46.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index.js +4 -3
  75. package/dist/translations/af.js +1 -1
  76. package/dist/translations/af.umd.js +1 -1
  77. package/dist/translations/ar.js +1 -1
  78. package/dist/translations/ar.umd.js +1 -1
  79. package/dist/translations/ast.js +1 -1
  80. package/dist/translations/ast.umd.js +1 -1
  81. package/dist/translations/az.js +1 -1
  82. package/dist/translations/az.umd.js +1 -1
  83. package/dist/translations/be.js +1 -1
  84. package/dist/translations/be.umd.js +1 -1
  85. package/dist/translations/bg.js +1 -1
  86. package/dist/translations/bg.umd.js +1 -1
  87. package/dist/translations/bn.js +1 -1
  88. package/dist/translations/bn.umd.js +1 -1
  89. package/dist/translations/bs.js +1 -1
  90. package/dist/translations/bs.umd.js +1 -1
  91. package/dist/translations/ca.js +1 -1
  92. package/dist/translations/ca.umd.js +1 -1
  93. package/dist/translations/cs.js +1 -1
  94. package/dist/translations/cs.umd.js +1 -1
  95. package/dist/translations/da.js +1 -1
  96. package/dist/translations/da.umd.js +1 -1
  97. package/dist/translations/de-ch.js +1 -1
  98. package/dist/translations/de-ch.umd.js +1 -1
  99. package/dist/translations/de.js +1 -1
  100. package/dist/translations/de.umd.js +1 -1
  101. package/dist/translations/el.js +1 -1
  102. package/dist/translations/el.umd.js +1 -1
  103. package/dist/translations/en-au.js +1 -1
  104. package/dist/translations/en-au.umd.js +1 -1
  105. package/dist/translations/en-gb.js +1 -1
  106. package/dist/translations/en-gb.umd.js +1 -1
  107. package/dist/translations/en.js +1 -1
  108. package/dist/translations/en.umd.js +1 -1
  109. package/dist/translations/eo.js +1 -1
  110. package/dist/translations/eo.umd.js +1 -1
  111. package/dist/translations/es-co.js +1 -1
  112. package/dist/translations/es-co.umd.js +1 -1
  113. package/dist/translations/es.js +1 -1
  114. package/dist/translations/es.umd.js +1 -1
  115. package/dist/translations/et.js +1 -1
  116. package/dist/translations/et.umd.js +1 -1
  117. package/dist/translations/eu.js +1 -1
  118. package/dist/translations/eu.umd.js +1 -1
  119. package/dist/translations/fa.js +1 -1
  120. package/dist/translations/fa.umd.js +1 -1
  121. package/dist/translations/fi.js +1 -1
  122. package/dist/translations/fi.umd.js +1 -1
  123. package/dist/translations/fr.js +1 -1
  124. package/dist/translations/fr.umd.js +1 -1
  125. package/dist/translations/gl.js +1 -1
  126. package/dist/translations/gl.umd.js +1 -1
  127. package/dist/translations/gu.js +1 -1
  128. package/dist/translations/gu.umd.js +1 -1
  129. package/dist/translations/he.js +1 -1
  130. package/dist/translations/he.umd.js +1 -1
  131. package/dist/translations/hi.js +1 -1
  132. package/dist/translations/hi.umd.js +1 -1
  133. package/dist/translations/hr.js +1 -1
  134. package/dist/translations/hr.umd.js +1 -1
  135. package/dist/translations/hu.js +1 -1
  136. package/dist/translations/hu.umd.js +1 -1
  137. package/dist/translations/hy.js +1 -1
  138. package/dist/translations/hy.umd.js +1 -1
  139. package/dist/translations/id.js +1 -1
  140. package/dist/translations/id.umd.js +1 -1
  141. package/dist/translations/it.js +1 -1
  142. package/dist/translations/it.umd.js +1 -1
  143. package/dist/translations/ja.js +1 -1
  144. package/dist/translations/ja.umd.js +1 -1
  145. package/dist/translations/jv.js +1 -1
  146. package/dist/translations/jv.umd.js +1 -1
  147. package/dist/translations/kk.js +1 -1
  148. package/dist/translations/kk.umd.js +1 -1
  149. package/dist/translations/km.js +1 -1
  150. package/dist/translations/km.umd.js +1 -1
  151. package/dist/translations/kn.js +1 -1
  152. package/dist/translations/kn.umd.js +1 -1
  153. package/dist/translations/ko.js +1 -1
  154. package/dist/translations/ko.umd.js +1 -1
  155. package/dist/translations/ku.js +1 -1
  156. package/dist/translations/ku.umd.js +1 -1
  157. package/dist/translations/lt.js +1 -1
  158. package/dist/translations/lt.umd.js +1 -1
  159. package/dist/translations/lv.js +1 -1
  160. package/dist/translations/lv.umd.js +1 -1
  161. package/dist/translations/ms.js +1 -1
  162. package/dist/translations/ms.umd.js +1 -1
  163. package/dist/translations/nb.js +1 -1
  164. package/dist/translations/nb.umd.js +1 -1
  165. package/dist/translations/ne.js +1 -1
  166. package/dist/translations/ne.umd.js +1 -1
  167. package/dist/translations/nl.js +1 -1
  168. package/dist/translations/nl.umd.js +1 -1
  169. package/dist/translations/no.js +1 -1
  170. package/dist/translations/no.umd.js +1 -1
  171. package/dist/translations/oc.js +1 -1
  172. package/dist/translations/oc.umd.js +1 -1
  173. package/dist/translations/pl.js +1 -1
  174. package/dist/translations/pl.umd.js +1 -1
  175. package/dist/translations/pt-br.js +1 -1
  176. package/dist/translations/pt-br.umd.js +1 -1
  177. package/dist/translations/pt.js +1 -1
  178. package/dist/translations/pt.umd.js +1 -1
  179. package/dist/translations/ro.js +1 -1
  180. package/dist/translations/ro.umd.js +1 -1
  181. package/dist/translations/ru.js +1 -1
  182. package/dist/translations/ru.umd.js +1 -1
  183. package/dist/translations/si.js +1 -1
  184. package/dist/translations/si.umd.js +1 -1
  185. package/dist/translations/sk.js +1 -1
  186. package/dist/translations/sk.umd.js +1 -1
  187. package/dist/translations/sl.js +1 -1
  188. package/dist/translations/sl.umd.js +1 -1
  189. package/dist/translations/sq.js +1 -1
  190. package/dist/translations/sq.umd.js +1 -1
  191. package/dist/translations/sr-latn.js +1 -1
  192. package/dist/translations/sr-latn.umd.js +1 -1
  193. package/dist/translations/sr.js +1 -1
  194. package/dist/translations/sr.umd.js +1 -1
  195. package/dist/translations/sv.js +1 -1
  196. package/dist/translations/sv.umd.js +1 -1
  197. package/dist/translations/th.js +1 -1
  198. package/dist/translations/th.umd.js +1 -1
  199. package/dist/translations/ti.js +1 -1
  200. package/dist/translations/ti.umd.js +1 -1
  201. package/dist/translations/tk.js +1 -1
  202. package/dist/translations/tk.umd.js +1 -1
  203. package/dist/translations/tr.js +1 -1
  204. package/dist/translations/tr.umd.js +1 -1
  205. package/dist/translations/tt.js +1 -1
  206. package/dist/translations/tt.umd.js +1 -1
  207. package/dist/translations/ug.js +1 -1
  208. package/dist/translations/ug.umd.js +1 -1
  209. package/dist/translations/uk.js +1 -1
  210. package/dist/translations/uk.umd.js +1 -1
  211. package/dist/translations/ur.js +1 -1
  212. package/dist/translations/ur.umd.js +1 -1
  213. package/dist/translations/uz.js +1 -1
  214. package/dist/translations/uz.umd.js +1 -1
  215. package/dist/translations/vi.js +1 -1
  216. package/dist/translations/vi.umd.js +1 -1
  217. package/dist/translations/zh-cn.js +1 -1
  218. package/dist/translations/zh-cn.umd.js +1 -1
  219. package/dist/translations/zh.js +1 -1
  220. package/dist/translations/zh.umd.js +1 -1
  221. package/lang/contexts.json +1 -0
  222. package/lang/translations/af.po +4 -0
  223. package/lang/translations/ar.po +4 -0
  224. package/lang/translations/ast.po +4 -0
  225. package/lang/translations/az.po +4 -0
  226. package/lang/translations/be.po +4 -0
  227. package/lang/translations/bg.po +4 -0
  228. package/lang/translations/bn.po +4 -0
  229. package/lang/translations/bs.po +4 -0
  230. package/lang/translations/ca.po +4 -0
  231. package/lang/translations/cs.po +4 -0
  232. package/lang/translations/da.po +4 -0
  233. package/lang/translations/de-ch.po +4 -0
  234. package/lang/translations/de.po +4 -0
  235. package/lang/translations/el.po +4 -0
  236. package/lang/translations/en-au.po +4 -0
  237. package/lang/translations/en-gb.po +4 -0
  238. package/lang/translations/en.po +4 -0
  239. package/lang/translations/eo.po +4 -0
  240. package/lang/translations/es-co.po +4 -0
  241. package/lang/translations/es.po +4 -0
  242. package/lang/translations/et.po +4 -0
  243. package/lang/translations/eu.po +4 -0
  244. package/lang/translations/fa.po +4 -0
  245. package/lang/translations/fi.po +4 -0
  246. package/lang/translations/fr.po +4 -0
  247. package/lang/translations/gl.po +4 -0
  248. package/lang/translations/gu.po +4 -0
  249. package/lang/translations/he.po +4 -0
  250. package/lang/translations/hi.po +4 -0
  251. package/lang/translations/hr.po +4 -0
  252. package/lang/translations/hu.po +4 -0
  253. package/lang/translations/hy.po +4 -0
  254. package/lang/translations/id.po +4 -0
  255. package/lang/translations/it.po +4 -0
  256. package/lang/translations/ja.po +4 -0
  257. package/lang/translations/jv.po +4 -0
  258. package/lang/translations/kk.po +4 -0
  259. package/lang/translations/km.po +4 -0
  260. package/lang/translations/kn.po +4 -0
  261. package/lang/translations/ko.po +4 -0
  262. package/lang/translations/ku.po +4 -0
  263. package/lang/translations/lt.po +4 -0
  264. package/lang/translations/lv.po +4 -0
  265. package/lang/translations/ms.po +4 -0
  266. package/lang/translations/nb.po +4 -0
  267. package/lang/translations/ne.po +4 -0
  268. package/lang/translations/nl.po +4 -0
  269. package/lang/translations/no.po +4 -0
  270. package/lang/translations/oc.po +4 -0
  271. package/lang/translations/pl.po +4 -0
  272. package/lang/translations/pt-br.po +4 -0
  273. package/lang/translations/pt.po +4 -0
  274. package/lang/translations/ro.po +4 -0
  275. package/lang/translations/ru.po +4 -0
  276. package/lang/translations/si.po +4 -0
  277. package/lang/translations/sk.po +4 -0
  278. package/lang/translations/sl.po +4 -0
  279. package/lang/translations/sq.po +4 -0
  280. package/lang/translations/sr-latn.po +4 -0
  281. package/lang/translations/sr.po +4 -0
  282. package/lang/translations/sv.po +4 -0
  283. package/lang/translations/th.po +4 -0
  284. package/lang/translations/ti.po +4 -0
  285. package/lang/translations/tk.po +4 -0
  286. package/lang/translations/tr.po +4 -0
  287. package/lang/translations/tt.po +4 -0
  288. package/lang/translations/ug.po +4 -0
  289. package/lang/translations/uk.po +4 -0
  290. package/lang/translations/ur.po +4 -0
  291. package/lang/translations/uz.po +4 -0
  292. package/lang/translations/vi.po +4 -0
  293. package/lang/translations/zh-cn.po +4 -0
  294. package/lang/translations/zh.po +4 -0
  295. package/package.json +28 -28
  296. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  297. package/src/commands/acceptsuggestioncommand.js +1 -1
  298. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  299. package/src/commands/discardsuggestioncommand.js +1 -1
  300. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  301. package/src/commands/executeonallsuggestionscommand.js +1 -1
  302. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  303. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  304. package/src/commands/previewfinalcontentcommand.d.ts +1 -1
  305. package/src/commands/previewfinalcontentcommand.js +1 -1
  306. package/src/commands/trackchangescommand.d.ts +1 -1
  307. package/src/commands/trackchangescommand.js +1 -1
  308. package/src/index.d.ts +19 -16
  309. package/src/index.js +1 -1
  310. package/src/integrations/aiassistant.d.ts +1 -1
  311. package/src/integrations/aiassistant.js +1 -1
  312. package/src/integrations/alignment.d.ts +1 -1
  313. package/src/integrations/alignment.js +1 -1
  314. package/src/integrations/basicstyles.d.ts +1 -1
  315. package/src/integrations/basicstyles.js +1 -1
  316. package/src/integrations/blockquote.d.ts +1 -1
  317. package/src/integrations/blockquote.js +1 -1
  318. package/src/integrations/bookmark.d.ts +1 -1
  319. package/src/integrations/bookmark.js +1 -1
  320. package/src/integrations/casechange.d.ts +1 -1
  321. package/src/integrations/casechange.js +1 -1
  322. package/src/integrations/ckbox.d.ts +1 -1
  323. package/src/integrations/ckbox.js +1 -1
  324. package/src/integrations/codeblock.d.ts +1 -1
  325. package/src/integrations/codeblock.js +1 -1
  326. package/src/integrations/comments.d.ts +1 -1
  327. package/src/integrations/comments.js +1 -1
  328. package/src/integrations/deletecommand.d.ts +1 -1
  329. package/src/integrations/deletecommand.js +1 -1
  330. package/src/integrations/emoji.d.ts +1 -1
  331. package/src/integrations/emoji.js +1 -1
  332. package/src/integrations/entercommand.d.ts +1 -1
  333. package/src/integrations/entercommand.js +1 -1
  334. package/src/integrations/findandreplace.d.ts +1 -1
  335. package/src/integrations/findandreplace.js +1 -1
  336. package/src/integrations/font.d.ts +1 -1
  337. package/src/integrations/font.js +1 -1
  338. package/src/integrations/formatpainter.d.ts +1 -1
  339. package/src/integrations/formatpainter.js +1 -1
  340. package/src/integrations/heading.d.ts +1 -1
  341. package/src/integrations/heading.js +1 -1
  342. package/src/integrations/highlight.d.ts +1 -1
  343. package/src/integrations/highlight.js +1 -1
  344. package/src/integrations/horizontalline.d.ts +1 -1
  345. package/src/integrations/horizontalline.js +1 -1
  346. package/src/integrations/htmlembed.d.ts +1 -1
  347. package/src/integrations/htmlembed.js +1 -1
  348. package/src/integrations/image.d.ts +1 -1
  349. package/src/integrations/image.js +1 -1
  350. package/src/integrations/imagereplace.d.ts +1 -1
  351. package/src/integrations/imagereplace.js +1 -1
  352. package/src/integrations/imagestyle.d.ts +1 -1
  353. package/src/integrations/imagestyle.js +1 -1
  354. package/src/integrations/importword.d.ts +1 -1
  355. package/src/integrations/importword.js +1 -1
  356. package/src/integrations/indent.d.ts +1 -1
  357. package/src/integrations/indent.js +1 -1
  358. package/src/integrations/inputcommand.d.ts +1 -1
  359. package/src/integrations/inputcommand.js +1 -1
  360. package/src/integrations/legacylist.d.ts +1 -1
  361. package/src/integrations/legacylist.js +1 -1
  362. package/src/integrations/legacylistproperties.d.ts +4 -4
  363. package/src/integrations/legacylistproperties.js +1 -1
  364. package/src/integrations/lineheight.d.ts +17 -0
  365. package/src/integrations/lineheight.js +23 -0
  366. package/src/integrations/link.d.ts +1 -1
  367. package/src/integrations/link.js +1 -1
  368. package/src/integrations/list.d.ts +1 -1
  369. package/src/integrations/list.js +1 -1
  370. package/src/integrations/listproperties.d.ts +4 -4
  371. package/src/integrations/listproperties.js +1 -1
  372. package/src/integrations/mediaembed.d.ts +1 -1
  373. package/src/integrations/mediaembed.js +1 -1
  374. package/src/integrations/mention.d.ts +1 -1
  375. package/src/integrations/mention.js +1 -1
  376. package/src/integrations/mergefields.d.ts +1 -1
  377. package/src/integrations/mergefields.js +1 -1
  378. package/src/integrations/multilevellist.d.ts +4 -4
  379. package/src/integrations/multilevellist.js +1 -1
  380. package/src/integrations/pagebreak.d.ts +1 -1
  381. package/src/integrations/pagebreak.js +1 -1
  382. package/src/integrations/paragraph.d.ts +1 -1
  383. package/src/integrations/paragraph.js +1 -1
  384. package/src/integrations/removeformat.d.ts +1 -1
  385. package/src/integrations/removeformat.js +1 -1
  386. package/src/integrations/replacesourcecommand.d.ts +1 -1
  387. package/src/integrations/replacesourcecommand.js +1 -1
  388. package/src/integrations/restrictededitingmode.d.ts +1 -1
  389. package/src/integrations/restrictededitingmode.js +1 -1
  390. package/src/integrations/shiftentercommand.d.ts +1 -1
  391. package/src/integrations/shiftentercommand.js +1 -1
  392. package/src/integrations/standardeditingmode.d.ts +1 -1
  393. package/src/integrations/standardeditingmode.js +1 -1
  394. package/src/integrations/style.d.ts +1 -1
  395. package/src/integrations/style.js +1 -1
  396. package/src/integrations/table.d.ts +1 -1
  397. package/src/integrations/table.js +1 -1
  398. package/src/integrations/tablecaption.d.ts +2 -2
  399. package/src/integrations/tablecaption.js +1 -1
  400. package/src/integrations/tableclipboard.d.ts +2 -2
  401. package/src/integrations/tableclipboard.js +2 -1
  402. package/src/integrations/tablecolumnresize.d.ts +6 -6
  403. package/src/integrations/tablecolumnresize.js +1 -1
  404. package/src/integrations/tableheadings.d.ts +2 -2
  405. package/src/integrations/tableheadings.js +1 -1
  406. package/src/integrations/tablelayout.d.ts +1 -1
  407. package/src/integrations/tablelayout.js +1 -1
  408. package/src/integrations/tablemergesplit.d.ts +2 -2
  409. package/src/integrations/tablemergesplit.js +1 -1
  410. package/src/integrations/tableofcontents.d.ts +1 -1
  411. package/src/integrations/tableofcontents.js +1 -1
  412. package/src/integrations/tableproperties.d.ts +6 -6
  413. package/src/integrations/tableproperties.js +1 -1
  414. package/src/integrations/template.d.ts +1 -1
  415. package/src/integrations/template.js +1 -1
  416. package/src/integrations/title.d.ts +1 -1
  417. package/src/integrations/title.js +1 -1
  418. package/src/integrations/undo.d.ts +1 -1
  419. package/src/integrations/undo.js +1 -1
  420. package/src/integrations/uploadcare.d.ts +1 -1
  421. package/src/integrations/uploadcare.js +1 -1
  422. package/src/integrations/utils.d.ts +2 -2
  423. package/src/integrations/utils.js +1 -1
  424. package/src/suggestion.d.ts +13 -13
  425. package/src/suggestion.js +2 -2
  426. package/src/suggestiondescriptionfactory.d.ts +15 -21
  427. package/src/suggestiondescriptionfactory.js +1 -1
  428. package/src/trackchanges.d.ts +4 -4
  429. package/src/trackchanges.js +1 -1
  430. package/src/trackchangesconfig.d.ts +4 -5
  431. package/src/trackchangesdata.d.ts +21 -3
  432. package/src/trackchangesdata.js +1 -1
  433. package/src/trackchangesediting.d.ts +80 -72
  434. package/src/trackchangesediting.js +1 -1
  435. package/src/trackchangespreview.d.ts +2 -2
  436. package/src/trackchangespreview.js +1 -1
  437. package/src/trackchangesui.d.ts +12 -2
  438. package/src/trackchangesui.js +1 -1
  439. package/src/ui/suggestioncontroller.d.ts +3 -3
  440. package/src/ui/suggestioncontroller.js +2 -2
  441. package/src/ui/view/basesuggestionthreadview.d.ts +5 -5
  442. package/src/ui/view/basesuggestionthreadview.js +1 -1
  443. package/src/ui/view/suggestionthreadview.d.ts +4 -4
  444. package/src/ui/view/suggestionthreadview.js +1 -1
  445. package/src/ui/view/suggestionview.d.ts +2 -2
  446. package/src/ui/view/suggestionview.js +1 -1
  447. package/src/ui/view/trackchangespreviewview.d.ts +1 -44
  448. package/src/ui/view/trackchangespreviewview.js +1 -1
  449. package/src/utils/common-translations.js +1 -1
  450. package/src/utils/utils.d.ts +5 -5
  451. package/src/utils/utils.js +1 -1
@@ -8,12 +8,12 @@
8
8
  */
9
9
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { Dialog } from 'ckeditor5/src/ui.js';
11
- import TrackChangesData from './trackchangesdata.js';
11
+ import { TrackChangesData } from './trackchangesdata.js';
12
12
  import '../theme/trackchangespreview.css';
13
13
  /**
14
14
  * Plugin allowing to preview the final content where all the suggestions are accepted.
15
15
  */
16
- export default class TrackChangesPreview extends Plugin {
16
+ export declare class TrackChangesPreview extends Plugin {
17
17
  static get requires(): readonly [typeof TrackChangesData, typeof Dialog];
18
18
  static get pluginName(): "TrackChangesPreview";
19
19
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x151cdb=_0x11cb;(function(_0x511825,_0x423bc8){const _0x47d68e=_0x11cb,_0x3282ab=_0x511825();while(!![]){try{const _0x24b9b1=parseInt(_0x47d68e(0x108))/0x1+parseInt(_0x47d68e(0x107))/0x2+parseInt(_0x47d68e(0x109))/0x3+-parseInt(_0x47d68e(0x118))/0x4+-parseInt(_0x47d68e(0x110))/0x5*(parseInt(_0x47d68e(0x116))/0x6)+parseInt(_0x47d68e(0x10a))/0x7*(parseInt(_0x47d68e(0x105))/0x8)+-parseInt(_0x47d68e(0x114))/0x9*(parseInt(_0x47d68e(0x10e))/0xa);if(_0x24b9b1===_0x423bc8)break;else _0x3282ab['push'](_0x3282ab['shift']());}catch(_0x351842){_0x3282ab['push'](_0x3282ab['shift']());}}}(_0x41c8,0xa9559));import{Plugin as _0x1c61f6}from'ckeditor5/src/core.js';import{Dialog as _0x44496d}from'ckeditor5/src/ui.js';import _0xff6ad2 from'./trackchangesdata.js';import _0x58ce08 from'./commands/previewfinalcontentcommand.js';import'../theme/trackchangespreview.css';function _0x11cb(_0x4ee7fd,_0xe70dae){const _0x41c888=_0x41c8();return _0x11cb=function(_0x11cbde,_0x5ea63b){_0x11cbde=_0x11cbde-0x104;let _0x327c37=_0x41c888[_0x11cbde];return _0x327c37;},_0x11cb(_0x4ee7fd,_0xe70dae);}export default class te extends _0x1c61f6{static get[_0x151cdb(0x10b)](){return[_0xff6ad2,_0x44496d];}static get[_0x151cdb(0x117)](){const _0x194ab7=_0x151cdb;return _0x194ab7(0x113);}static get[_0x151cdb(0x104)](){return!0x0;}static get[_0x151cdb(0x10c)](){return!0x0;}constructor(_0x3deadf){const _0x1384b8=_0x151cdb;super(_0x3deadf),_0x3deadf[_0x1384b8(0x10f)][_0x1384b8(0x112)](_0x1384b8(0x10d),new _0x58ce08(this[_0x1384b8(0x115)])),_0x3deadf[_0x1384b8(0x11a)][_0x1384b8(0x106)](_0x1384b8(0x119),(_0x2c4ed6,_0x37ae2d)=>{const _0x3f68e5=_0x1384b8;for(const _0x1c459d of _0x37ae2d)_0x2c4ed6[_0x3f68e5(0x111)](_0x1c459d);});}}function _0x41c8(){const _0x2d566d=['322774kZFYfO','279735mEBikO','7xqPvbF','requires','isPremiumPlugin','previewFinalContent','21430XXMgSJ','commands','114490dejAoE','appendChild','add','TrackChangesPreview','6282AukYOo','editor','156Aotbss','pluginName','4420QauqWb','trackChanges.preview.renderFunction','config','isOfficialPlugin','10377392gIOcPB','define','2145334QwnibK'];_0x41c8=function(){return _0x2d566d;};return _0x41c8();}
23
+ function _0x4507(){const _0x2707fc=['isPremiumPlugin','appendChild','268DEYvWF','11409XqTCuQ','TrackChangesPreview','pluginName','1764288fupAJR','21629234dzavLX','previewFinalContent','define','3974808akkZBz','editor','add','1500mPiidN','2180OtwpPU','686443xjeqlI','requires','7FHAhAr','isOfficialPlugin','commands','7929GnwtpS','config','trackChanges.preview.renderFunction','3965bcsQOr'];_0x4507=function(){return _0x2707fc;};return _0x4507();}const _0x397e43=_0x92cd;(function(_0xfddd82,_0x2a9d79){const _0x371009=_0x92cd,_0x45c871=_0xfddd82();while(!![]){try{const _0x53f21e=-parseInt(_0x371009(0x8d))/0x1+-parseInt(_0x371009(0x98))/0x2*(parseInt(_0x371009(0x99))/0x3)+parseInt(_0x371009(0x8b))/0x4*(parseInt(_0x371009(0x95))/0x5)+-parseInt(_0x371009(0x88))/0x6*(parseInt(_0x371009(0x8f))/0x7)+parseInt(_0x371009(0x9c))/0x8+parseInt(_0x371009(0x92))/0x9*(-parseInt(_0x371009(0x8c))/0xa)+parseInt(_0x371009(0x9d))/0xb;if(_0x53f21e===_0x2a9d79)break;else _0x45c871['push'](_0x45c871['shift']());}catch(_0x11c3cc){_0x45c871['push'](_0x45c871['shift']());}}}(_0x4507,0x69de2));import{Plugin as _0x3e0b1b}from'ckeditor5/src/core.js';import{Dialog as _0x3d2353}from'ckeditor5/src/ui.js';import{TrackChangesData as _0x398efd}from'./trackchangesdata.js';import{PreviewFinalContentCommand as _0x559434}from'./commands/previewfinalcontentcommand.js';function _0x92cd(_0x57135a,_0x23c3cc){const _0x450755=_0x4507();return _0x92cd=function(_0x92cd84,_0x4c4d98){_0x92cd84=_0x92cd84-0x87;let _0x33cf2c=_0x450755[_0x92cd84];return _0x33cf2c;},_0x92cd(_0x57135a,_0x23c3cc);}import'../theme/trackchangespreview.css';export class TrackChangesPreview extends _0x3e0b1b{static get[_0x397e43(0x8e)](){return[_0x398efd,_0x3d2353];}static get[_0x397e43(0x9b)](){const _0x23b9bf=_0x397e43;return _0x23b9bf(0x9a);}static get[_0x397e43(0x90)](){return!0x0;}static get[_0x397e43(0x96)](){return!0x0;}constructor(_0x4c514b){const _0x853f92=_0x397e43;super(_0x4c514b),_0x4c514b[_0x853f92(0x91)][_0x853f92(0x8a)](_0x853f92(0x9e),new _0x559434(this[_0x853f92(0x89)])),_0x4c514b[_0x853f92(0x93)][_0x853f92(0x87)](_0x853f92(0x94),(_0x32fb0d,_0x76c5c4)=>{const _0x65c123=_0x853f92;for(const _0x18681b of _0x76c5c4)_0x32fb0d[_0x65c123(0x97)](_0x18681b);});}}
@@ -7,14 +7,16 @@
7
7
  */
8
8
  import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
- import TrackChangesEditing from './trackchangesediting.js';
10
+ import type { Annotation } from '@ckeditor/ckeditor5-comments';
11
+ import { TrackChangesEditing } from './trackchangesediting.js';
12
+ import { type Suggestion } from './suggestion.js';
11
13
  /**
12
14
  * Provides UI for track changes plugin.
13
15
  *
14
16
  * This plugin displays {@link module:track-changes/suggestion~Suggestion suggestions} as a
15
17
  * {@link module:comments/annotations/annotations~Annotations}.
16
18
  */
17
- export default class TrackChangesUI extends Plugin {
19
+ export declare class TrackChangesUI extends Plugin {
18
20
  /**
19
21
  * @inheritDoc
20
22
  */
@@ -39,6 +41,14 @@ export default class TrackChangesUI extends Plugin {
39
41
  * @inheritDoc
40
42
  */
41
43
  init(): void;
44
+ /**
45
+ * Returns the annotation associated with the given suggestion.
46
+ */
47
+ getAnnotationForSuggestion(suggestion: Suggestion): Annotation | null;
48
+ /**
49
+ * Returns the suggestion associated with the given annotation.
50
+ */
51
+ getSuggestionForAnnotation(annotation: Annotation): Suggestion | null;
42
52
  /**
43
53
  * @inheritDoc
44
54
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d93(_0x45006b,_0xb652fc){const _0x3c2d27=_0x3c2d();return _0x4d93=function(_0x4d939a,_0x12ccd2){_0x4d939a=_0x4d939a-0x95;let _0x193269=_0x3c2d27[_0x4d939a];return _0x193269;},_0x4d93(_0x45006b,_0xb652fc);}const _0x28b3e4=_0x4d93;(function(_0x39db59,_0x2afd81){const _0x4ecb8c=_0x4d93,_0x26f6ac=_0x39db59();while(!![]){try{const _0x5ae31e=-parseInt(_0x4ecb8c(0xaa))/0x1*(-parseInt(_0x4ecb8c(0xd2))/0x2)+-parseInt(_0x4ecb8c(0x104))/0x3+parseInt(_0x4ecb8c(0xbb))/0x4*(parseInt(_0x4ecb8c(0xa5))/0x5)+-parseInt(_0x4ecb8c(0x110))/0x6*(parseInt(_0x4ecb8c(0xba))/0x7)+-parseInt(_0x4ecb8c(0xca))/0x8+parseInt(_0x4ecb8c(0xeb))/0x9*(parseInt(_0x4ecb8c(0x140))/0xa)+-parseInt(_0x4ecb8c(0xde))/0xb*(-parseInt(_0x4ecb8c(0xc2))/0xc);if(_0x5ae31e===_0x2afd81)break;else _0x26f6ac['push'](_0x26f6ac['shift']());}catch(_0x3589e3){_0x26f6ac['push'](_0x26f6ac['shift']());}}}(_0x3c2d,0xe938b));import{Plugin as _0x1ea8df}from'ckeditor5/src/core.js';import{Collection as _0x1e7c9e}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x5a24a5}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x505e6b,createDropdown as _0x33353d,ListSeparatorView as _0x247c48,MenuBarMenuView as _0x548cab,MenuBarMenuListView as _0x2aa210,MenuBarMenuListItemView as _0x10c777,MenuBarMenuListItemButtonView as _0x4d2ee3,SplitButtonView as _0x4c3a6f,ViewModel as _0x32abe3}from'ckeditor5/src/ui.js';import{Users as _0x47361c,getDateTimeFormatter as _0x583e9d,getAllMarkersDomElementsSorted as _0x2d28f4}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2067c8 from'./trackchangesediting.js';import _0x27ab01 from'./ui/suggestioncontroller.js';import _0x4479a4 from'./ui/view/suggestionthreadview.js';function _0x3c2d(){const _0x5e748f=['_bindAnnotationToEditors','TrackChangesPreview','Preview\x20final\x20content','view','set','33660ZOjtdN','locale','stopListening','requires','panelView','values','source','createCommentThreadController','1726888daCwew','createAnnotationView','TrackChangesUI','isPremiumPlugin','separator','mainView','trackChangesLicenseKeyEvaluationLimit','createAnnotation','2eqMBZT','usageLimit','acceptAllSuggestions','_destroyController','descriptionFactory','featureNotAllowed','comments.editorConfig','config','trackChangesLicenseKeyExpired','suggestionChanged','TrackChangesEditing','fire','1265rkQztQ','editor','trackChanges.SuggestionThreadView','discardAllSuggestions','addSourceCollector','arrowView','Discard\x20all\x20suggestions','_addUIComponentsToFactory','switchbutton','suggestionLoaded','reduce','isOfficialPlugin','activeMarkers','441psysJG','keys','isEnabled','trackChangesLicenseKeyInvalid','filter','delegate','Accept\x20all\x20suggestions','getAllAdjacentSuggestions','comments','lowest','isOn','_handleSuggestionControllerDelayed','_licenseKeyCheckInterval','trackChanges.SuggestionView','hasSuggestion','Track\x20changes','descriptionParts','EditorAnnotations','commands','destroy','commentsListView','comments.maxCommentCharsWhenCollapsed','items','_createToolbarButton','registerAnnotation','5030988sxpNzm','comments.maxCommentsWhenCollapsed','getFirstRange','discardSelectedSuggestions','clear','toMany','Discard\x20all\x20selected\x20suggestions','trackChangesLicenseKeyDomainLimit','push','commentThread','bind','change:previous','18WwfyXN','isMultiRange','isDirty','licenseKey','expired','some','acceptButton','suggestionView','getMarkerNames','domainLimit','trackChangesLicenseKeyUsageLimit','from','previewFinalContent','evaluationLimit','innerView','size','init','focus','_unbindEditors','CommentsUI','_createMenuBarMenu','_annotationViews','refreshSelectedViews','escape','pluginName','_refreshActiveMarkers','unbind','trackChangesLicenseKeyNotAllowed','discardButton','define','getDescriptions','_updateController','get','menuitemcheckbox','head','Accept\x20all\x20selected\x20suggestions','remove','invalid','_suggestionToController','trackChanges','has','SuggestionView','getSuggestion','CommentsRepository','CommentView','getJoined','change:activeAnnotations','getRanges','242150KPozdf','commandName','plugins','previous','listenTo','trackChanges.disableComments','isInContent','_showLicenseError','_disableComments','buttonView','getMarkers','activeAnnotations','Annotations','editing','menuBar:trackChanges','button','addMany','add','menuitem','suggestionUnloaded','_handleControllerBuffer','trialLimit','menu','5kEZUco','trackChangesLicenseKeyTrialLimit','getByInnerView','actionView','execute','1371569HaVfOZ','componentFactory','_initializeController','comments.maxThreadTotalWeight','suggestion-','model','length','value','trackChangesLicenseKeyValid','type','SuggestionThreadView','addComment','_viewToController','acceptSelectedSuggestions','delete','children','1640478KWKesF','2682060lWMHqc','TrackChanges'];_0x3c2d=function(){return _0x5e748f;};return _0x3c2d();}import _0x244c12 from'./ui/view/suggestionview.js';import{getTranslation as _0x371be7}from'./utils/common-translations.js';export default class d extends _0x1ea8df{[_0x28b3e4(0x113)];[_0x28b3e4(0xf7)];[_0x28b3e4(0x136)];[_0x28b3e4(0xb6)];[_0x28b3e4(0x125)];[_0x28b3e4(0xa2)];[_0x28b3e4(0x96)];static get[_0x28b3e4(0xc5)](){const _0x2c79af=_0x28b3e4;return[_0x2067c8,_0x47361c,_0x2c79af(0x13b),_0x2c79af(0x9a),_0x2c79af(0xfc)];}static get[_0x28b3e4(0x128)](){const _0x3d9699=_0x28b3e4;return _0x3d9699(0xcc);}static get[_0x28b3e4(0xe9)](){return!0x0;}static get[_0x28b3e4(0xcd)](){return!0x0;}constructor(_0x3266ec){const _0x64b0c2=_0x28b3e4;super(_0x3266ec),this[_0x64b0c2(0x136)]=new Map(),this[_0x64b0c2(0xb6)]=new Map(),this[_0x64b0c2(0x125)]=new Map(),this[_0x64b0c2(0xa2)]=new Map();const _0x5edd01=this[_0x64b0c2(0xdf)][_0x64b0c2(0xd9)];_0x5edd01[_0x64b0c2(0x12d)](_0x64b0c2(0xe0),_0x4479a4),_0x5edd01[_0x64b0c2(0x12d)](_0x64b0c2(0xf8),_0x244c12),_0x5edd01[_0x64b0c2(0x12d)](_0x64b0c2(0x145),!0x1),this[_0x64b0c2(0x96)]=_0x5edd01[_0x64b0c2(0x130)](_0x64b0c2(0x145));}[_0x28b3e4(0xf6)](_0x445bb8,_0x24640c){const _0x51b17a=_0x28b3e4;0x0===this[_0x51b17a(0xa2)][_0x51b17a(0x11f)]&&setTimeout(()=>{const _0x1eafe0=_0x51b17a;for(const [_0xf00e93,_0x9ee99e]of this[_0x1eafe0(0xa2)]){const _0x3dd772=this[_0x1eafe0(0x136)][_0x1eafe0(0x138)](_0xf00e93);_0x3dd772||_0x9ee99e?_0x3dd772&&_0x9ee99e&&this[_0x1eafe0(0xd5)](_0xf00e93):this[_0x1eafe0(0xac)](_0xf00e93);}this[_0x1eafe0(0xa2)][_0x1eafe0(0x108)](),this[_0x1eafe0(0xdf)][_0x1eafe0(0x142)][_0x1eafe0(0x130)](_0x1eafe0(0xfc))[_0x1eafe0(0x126)](),this[_0x1eafe0(0x129)]();},0xa),this[_0x51b17a(0xa2)][_0x51b17a(0xc1)](_0x445bb8,_0x24640c);}[_0x28b3e4(0x120)](){const _0x4b215c=_0x28b3e4,_0x10a94e=this[_0x4b215c(0xdf)],_0x2e1e96=_0x10a94e[_0x4b215c(0x142)][_0x4b215c(0x130)](_0x4b215c(0xdc)),_0x4125a5=_0x10a94e[_0x4b215c(0x142)][_0x4b215c(0x130)](_0x4b215c(0x9a)),_0x1c6c79=_0x10a94e[_0x4b215c(0x142)][_0x4b215c(0x130)](_0x4b215c(0xfc)),_0x3b35cf=_0x10a94e[_0x4b215c(0x142)][_0x4b215c(0x130)](_0x4b215c(0x13b));this[_0x4b215c(0xe5)](),_0x1c6c79[_0x4b215c(0xe2)](()=>{const _0x113682=_0x4b215c,_0x20ace1=[];for(const [_0x17f8ea,_0xcfdbeb]of Array[_0x113682(0x11b)](this[_0x113682(0x136)])){const _0x19ae3b=_0x17f8ea[_0x113682(0xf2)](),_0x231665=[];for(const _0x52d392 of _0x19ae3b){if(!_0x52d392[_0x113682(0x146)])continue;if(_0x52d392[_0x113682(0x111)]){_0x231665[_0x113682(0x10c)](..._0x52d392[_0x113682(0x13f)]());continue;}const _0x3e87e3=_0x52d392[_0x113682(0x106)]();if(_0x231665[_0x113682(0xb0)]>0x0){const _0x4ab9bf=_0x231665[0x0][_0x113682(0x13d)](_0x3e87e3);if(_0x4ab9bf){_0x231665[0x0]=_0x4ab9bf;continue;}}_0x231665[_0x113682(0x10c)](_0x3e87e3);}_0x20ace1[_0x113682(0x10c)]([_0xcfdbeb[_0x113682(0xc0)],_0x231665]);}return _0x20ace1;}),this[_0x4b215c(0x144)](_0x2e1e96,_0x4b215c(0xe7),(_0x371ca1,_0x10add6)=>{const _0x2a65bb=_0x4b215c;this[_0x2a65bb(0x144)](_0x10add6,_0x2a65bb(0x10f),(_0x5edc46,_0x5e1c57,_0x18ae07,_0x2043e7)=>{const _0x31ebf7=_0x2a65bb;_0x10add6[_0x31ebf7(0x146)]&&(null==_0x18ae07?(this[_0x31ebf7(0x12f)](_0x2043e7[_0x31ebf7(0x132)]),this[_0x31ebf7(0xf6)](_0x10add6,!0x1)):(this[_0x31ebf7(0x12f)](_0x18ae07[_0x31ebf7(0x132)]),null==_0x2043e7&&this[_0x31ebf7(0xf6)](_0x10add6,!0x0)));}),null!==_0x10add6[_0x2a65bb(0x143)]?this[_0x2a65bb(0x12f)](_0x10add6[_0x2a65bb(0x132)]):this[_0x2a65bb(0xf6)](_0x10add6,!0x1);}),this[_0x4b215c(0x144)](_0x2e1e96,_0x4b215c(0xa1),(_0x535281,_0x56f93a,_0xb2ae82)=>{const _0x481934=_0x4b215c;this[_0x481934(0xc4)](_0x56f93a,_0x481934(0x10f)),this[_0x481934(0xa2)][_0x481934(0xb8)](_0x56f93a),this[_0x481934(0x136)][_0x481934(0x138)](_0x56f93a)&&this[_0x481934(0xd5)](_0x56f93a),_0xb2ae82&&this[_0x481934(0x12f)](_0xb2ae82[_0x481934(0x132)]);}),this[_0x4b215c(0x144)](_0x2e1e96,_0x4b215c(0xdb),(_0x4b957f,_0x17e9b1)=>{const _0xd18923=_0x4b215c;this[_0xd18923(0x12f)](_0x17e9b1);}),this[_0x4b215c(0x144)](_0x4125a5,_0x4b215c(0x13e),()=>{const _0x5b0402=_0x4b215c;this[_0x5b0402(0x129)]();}),this[_0x4b215c(0x144)](_0x3b35cf,_0x4b215c(0xb5),(_0x1d2423,{threadId:_0x58e21a,isFromAdapter:_0x282fe5})=>{const _0x2febbd=_0x4b215c;if(_0x282fe5||!_0x2e1e96[_0x2febbd(0xf9)](_0x58e21a))return;const _0x4e1de6=_0x2e1e96[_0x2febbd(0x13a)](_0x58e21a);this[_0x2febbd(0x136)][_0x2febbd(0x130)](_0x4e1de6)[_0x2febbd(0xc0)][_0x2febbd(0xff)][_0x2febbd(0x121)](-0x1);},{'priority':_0x4b215c(0xf4)}),this[_0x4b215c(0x113)]=this[_0x4b215c(0xdf)][_0x4b215c(0xd9)][_0x4b215c(0x130)](_0x4b215c(0x113));const _0x2e5212=this[_0x4b215c(0xdf)];this[_0x4b215c(0xf7)]=setInterval(()=>{const _0x3da849=_0x4b215c;let _0x5c0f3a;for(const _0x167515 in _0x2e5212){const _0x3d6c7c=_0x167515,_0x5917a1=_0x2e5212[_0x3d6c7c];if(_0x3da849(0xb2)==_0x5917a1||_0x3da849(0xee)==_0x5917a1||_0x3da849(0xda)==_0x5917a1||_0x3da849(0x10b)==_0x5917a1||_0x3da849(0x12b)==_0x5917a1||_0x3da849(0xd0)==_0x5917a1||_0x3da849(0xa6)==_0x5917a1||_0x3da849(0x11a)==_0x5917a1){delete _0x2e5212[_0x3d6c7c],_0x5c0f3a=_0x5917a1,clearInterval(this[_0x3da849(0xf7)]),this[_0x3da849(0xf7)]=void 0x0;break;}}_0x3da849(0xee)==_0x5c0f3a&&_0x2e5212[_0x3da849(0x95)](_0x3da849(0x135)),_0x3da849(0xda)==_0x5c0f3a&&_0x2e5212[_0x3da849(0x95)](_0x3da849(0x114)),_0x3da849(0x10b)==_0x5c0f3a&&_0x2e5212[_0x3da849(0x95)](_0x3da849(0x119)),_0x3da849(0x12b)==_0x5c0f3a&&_0x2e5212[_0x3da849(0x95)](_0x3da849(0xd7),_0x3da849(0xbc)),_0x3da849(0xd0)==_0x5c0f3a&&_0x2e5212[_0x3da849(0x95)](_0x3da849(0x11d)),_0x3da849(0xa6)==_0x5c0f3a&&_0x2e5212[_0x3da849(0x95)](_0x3da849(0xa3)),_0x3da849(0x11a)==_0x5c0f3a&&_0x2e5212[_0x3da849(0x95)](_0x3da849(0xd3));},0x3e8);}[_0x28b3e4(0x129)](){const _0x37fd2f=_0x28b3e4,_0x1eed1f=this[_0x37fd2f(0xdf)][_0x37fd2f(0x142)][_0x37fd2f(0x130)](_0x37fd2f(0x9a)),_0x2a4077=this[_0x37fd2f(0xdf)][_0x37fd2f(0x142)][_0x37fd2f(0x130)](_0x37fd2f(0xdc)),_0x4b3744=Array[_0x37fd2f(0x11b)](_0x1eed1f[_0x37fd2f(0x99)],_0x1ac8e7=>_0x1ac8e7[_0x37fd2f(0x11e)])[_0x37fd2f(0xef)](_0x40e278=>this[_0x37fd2f(0xb6)][_0x37fd2f(0x138)](_0x40e278)),_0x23c203=[];for(const _0x52cd3d of _0x4b3744){const _0x45f8d2=this[_0x37fd2f(0xb6)][_0x37fd2f(0x130)](_0x52cd3d)[_0x37fd2f(0xaf)][_0x37fd2f(0xf2)]();_0x23c203[_0x37fd2f(0x10c)](..._0x45f8d2[_0x37fd2f(0xe8)]((_0x25ecf0,_0x473313)=>[..._0x25ecf0,..._0x473313[_0x37fd2f(0x118)]()],[]));}_0x2a4077[_0x37fd2f(0xea)]=_0x23c203;}[_0x28b3e4(0xe5)](){const _0x478520=_0x28b3e4,_0x2a86fe=this[_0x478520(0xdf)],_0x45c4ea=_0x2a86fe[_0x478520(0xc3)],_0x2e7127=_0x371be7(_0x45c4ea,_0x478520(0xfa)),_0x1641e5=new _0x1e7c9e([{'type':_0x478520(0xe6),'model':new _0x32abe3({'withText':!0x0,'isToggleable':!0x0,'label':_0x2e7127,'commandName':_0x478520(0x137),'role':_0x478520(0x131)})},{'type':_0x478520(0xce)},{'type':_0x478520(0x9d),'model':new _0x32abe3({'withText':!0x0,'label':_0x371be7(_0x45c4ea,_0x478520(0xf1)),'commandName':_0x478520(0xd4),'role':_0x478520(0xa0)})},{'type':_0x478520(0x9d),'model':new _0x32abe3({'withText':!0x0,'label':_0x371be7(_0x45c4ea,_0x478520(0x133)),'commandName':_0x478520(0xb7),'role':_0x478520(0xa0)})},{'type':_0x478520(0x9d),'model':new _0x32abe3({'withText':!0x0,'label':_0x371be7(_0x45c4ea,_0x478520(0xe4)),'commandName':_0x478520(0xe1),'role':_0x478520(0xa0)})},{'type':_0x478520(0x9d),'model':new _0x32abe3({'withText':!0x0,'label':_0x371be7(_0x45c4ea,_0x478520(0x10a)),'commandName':_0x478520(0x107),'role':_0x478520(0xa0)})}]);_0x2a86fe[_0x478520(0x142)][_0x478520(0x138)](_0x478520(0xbe))&&_0x1641e5[_0x478520(0x9e)]([{'type':_0x478520(0xce)},{'type':_0x478520(0x9d),'model':new _0x32abe3({'withText':!0x0,'label':_0x371be7(_0x45c4ea,_0x478520(0xbf)),'commandName':_0x478520(0x11c),'role':_0x478520(0xa0)})}]);for(const _0x1ecd13 of _0x1641e5)if(ke(_0x1ecd13)){const _0x334c4a=_0x2a86fe[_0x478520(0xfd)][_0x478520(0x130)](_0x1ecd13[_0x478520(0xaf)][_0x478520(0x141)]);_0x1ecd13[_0x478520(0xaf)][_0x478520(0x10e)](_0x478520(0xf5),_0x478520(0xed))['to'](_0x334c4a,_0x478520(0xb1),_0x478520(0xed));}_0x2a86fe['ui'][_0x478520(0xab)][_0x478520(0x9f)](_0x478520(0x137),_0x19d65d=>this[_0x478520(0x102)](_0x19d65d,_0x1641e5,_0x2e7127)),_0x2a86fe['ui'][_0x478520(0xab)][_0x478520(0x9f)](_0x478520(0x9c),_0x51e0ab=>this[_0x478520(0x124)](_0x51e0ab,_0x1641e5,_0x2e7127));}[_0x28b3e4(0x102)](_0x32d8ee,_0x1ed77f,_0x51ac83){const _0x372650=_0x28b3e4,_0x27485e=_0x33353d(_0x32d8ee,_0x4c3a6f),_0x26d31c=this[_0x372650(0xdf)][_0x372650(0xfd)][_0x372650(0x130)](_0x372650(0x137));_0x27485e[_0x372650(0x97)][_0x372650(0xc1)]({'tooltip':_0x51ac83,'label':_0x51ac83,'icon':_0x5a24a5}),_0x27485e[_0x372650(0x97)][_0x372650(0x10e)](_0x372650(0xf5))['to'](_0x26d31c,_0x372650(0xb1)),_0x27485e[_0x372650(0x97)]['on'](_0x372650(0xa9),()=>{const _0x17a8b7=_0x372650;_0x26d31c[_0x17a8b7(0xa9)](),this[_0x17a8b7(0xdf)][_0x17a8b7(0x9b)][_0x17a8b7(0xc0)][_0x17a8b7(0x121)]();}),_0x505e6b(_0x27485e,_0x1ed77f,{'role':_0x372650(0xa4)});const _0x1142a7=[];for(const _0x187e80 of _0x1ed77f)ke(_0x187e80)&&_0x1142a7[_0x372650(0x10c)](this[_0x372650(0xdf)][_0x372650(0xfd)][_0x372650(0x130)](_0x187e80[_0x372650(0xaf)][_0x372650(0x141)]));const _0x51a314=_0x27485e[_0x372650(0x97)];return _0x51a314[_0x372650(0xa8)][_0x372650(0x12a)](_0x372650(0xed)),_0x51a314[_0x372650(0xe3)][_0x372650(0x12a)](_0x372650(0xed)),_0x51a314[_0x372650(0xa8)][_0x372650(0x10e)](_0x372650(0xed))['to'](_0x26d31c,_0x372650(0xed)),_0x51a314[_0x372650(0xe3)][_0x372650(0x10e)](_0x372650(0xed))[_0x372650(0x109)](_0x1142a7,_0x372650(0xed),(..._0x5a1d7d)=>_0x5a1d7d[_0x372650(0x115)](_0x43e06b=>_0x43e06b)),_0x27485e['on'](_0x372650(0xa9),_0x4744d4=>{const _0x1ec376=_0x372650;this[_0x1ec376(0xdf)][_0x1ec376(0xa9)](_0x4744d4[_0x1ec376(0xc8)][_0x1ec376(0x141)]),this[_0x1ec376(0xdf)][_0x1ec376(0x9b)][_0x1ec376(0xc0)][_0x1ec376(0x121)]();}),_0x27485e;}[_0x28b3e4(0x124)](_0x22091b,_0x880eee,_0x4ffd1f){const _0x2cd792=_0x28b3e4,_0x3f4af2=new _0x548cab(_0x22091b),_0x35bfca=this[_0x2cd792(0xdf)][_0x2cd792(0xfd)][_0x2cd792(0x130)](_0x2cd792(0x137));_0x3f4af2[_0x2cd792(0x97)][_0x2cd792(0xc1)]({'label':_0x4ffd1f,'icon':_0x5a24a5});const _0x376f4a=new _0x2aa210(_0x22091b);for(const _0x1da33f of _0x880eee){if(_0x2cd792(0xce)==_0x1da33f[_0x2cd792(0xb3)]){_0x376f4a[_0x2cd792(0x101)][_0x2cd792(0x9f)](new _0x247c48(_0x22091b));continue;}const _0x4db982=new _0x10c777(_0x22091b,_0x3f4af2),_0x273198=new _0x4d2ee3(_0x22091b),_0x52d258=_0x1da33f[_0x2cd792(0xaf)];_0x273198[_0x2cd792(0x10e)](...Object[_0x2cd792(0xec)](_0x52d258))['to'](_0x52d258),_0x273198[_0x2cd792(0xf0)](_0x2cd792(0xa9))['to'](_0x3f4af2),_0x273198['on'](_0x2cd792(0xa9),()=>{const _0x1072b1=_0x2cd792;this[_0x1072b1(0xdf)][_0x1072b1(0xa9)](_0x52d258[_0x1072b1(0x141)]),this[_0x1072b1(0xdf)][_0x1072b1(0x9b)][_0x1072b1(0xc0)][_0x1072b1(0x121)]();}),_0x4db982[_0x2cd792(0xb9)][_0x2cd792(0x9f)](_0x273198),_0x376f4a[_0x2cd792(0x101)][_0x2cd792(0x9f)](_0x4db982);}return _0x3f4af2[_0x2cd792(0x10e)](_0x2cd792(0xed))['to'](_0x35bfca,_0x2cd792(0xed)),_0x3f4af2[_0x2cd792(0xc6)][_0x2cd792(0xb9)][_0x2cd792(0x9f)](_0x376f4a),_0x3f4af2;}[_0x28b3e4(0xac)](_0x27ceb6){const _0x9be2b=_0x28b3e4,_0x434c29=this[_0x9be2b(0xdf)],_0x54f9e5=_0x434c29[_0x9be2b(0xd9)],_0x102cde=_0x434c29[_0x9be2b(0x142)][_0x9be2b(0x130)](_0x9be2b(0x9a)),_0xa9d697=_0x434c29[_0x9be2b(0x142)][_0x9be2b(0x130)](_0x9be2b(0x13b)),_0x373290=_0x434c29[_0x9be2b(0x142)][_0x9be2b(0x130)](_0x9be2b(0xfc)),_0x3900ff=_0x434c29[_0x9be2b(0x142)][_0x9be2b(0x130)](_0x47361c)['me'],_0x501ec8=_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0x137))[_0x9be2b(0xb4)],_0x4833f1=_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0x137))[_0x9be2b(0x139)],{CommentsListView:_0x31697a,CommentThreadInputView:_0x4f609f}=_0x434c29[_0x9be2b(0x142)][_0x9be2b(0x130)](_0x9be2b(0x123));let _0xab818,_0x3a3b0f,_0xff4b59;this[_0x9be2b(0x125)][_0x9be2b(0x138)](_0x27ceb6['id'])?(_0x3a3b0f=this[_0x9be2b(0x125)][_0x9be2b(0x130)](_0x27ceb6['id']),_0xab818=_0x3a3b0f[_0x9be2b(0xcf)]):(_0xab818=new _0x501ec8(_0x434c29[_0x9be2b(0xc3)],_0x27ceb6,_0x3900ff,{'disableComments':this[_0x9be2b(0x96)],'editorConfig':{..._0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0xd8)),'licenseKey':_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0x113))},'maxCommentsWhenCollapsed':_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0x105)),'maxThreadTotalWeight':_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0xad)),'maxCommentCharsWhenCollapsed':_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0x100)),'formatDateTime':_0x583e9d(_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0xc3)),_0x434c29[_0x9be2b(0xc3)]),'CommentView':_0x54f9e5[_0x9be2b(0x130)](_0x9be2b(0xf3))[_0x9be2b(0x13c)],'CommentsListView':_0x31697a,'CommentThreadInputView':_0x4f609f,'SuggestionView':_0x4833f1}),_0xab818[_0x9be2b(0x117)][_0x9be2b(0x116)]['on'](_0x9be2b(0xa9),()=>{const _0x2ac13b=_0x9be2b;_0x434c29[_0x2ac13b(0x9b)][_0x2ac13b(0xc0)][_0x2ac13b(0x121)]();}),_0xab818[_0x9be2b(0x117)][_0x9be2b(0x12c)]['on'](_0x9be2b(0xa9),()=>{const _0x94c564=_0x9be2b;_0x434c29[_0x94c564(0x9b)][_0x94c564(0xc0)][_0x94c564(0x121)]();}),_0x3a3b0f=_0x102cde[_0x9be2b(0xcb)](this[_0x9be2b(0xdf)][_0x9be2b(0xc3)],_0xab818),_0x3a3b0f[_0x9be2b(0x10e)](_0x9be2b(0x112))['to'](_0xab818,_0x9be2b(0x112)),_0x3a3b0f[_0x9be2b(0x10e)](_0x9be2b(0xb0))['to'](_0xab818),_0x3a3b0f[_0x9be2b(0x10e)](_0x9be2b(0xb3))['to'](_0xab818,_0x9be2b(0xb3),_0x1c434e=>_0x9be2b(0xae)+_0x1c434e),_0xab818['on'](_0x9be2b(0x127),()=>{const _0x24b4d6=_0x9be2b;_0xff4b59[_0x24b4d6(0xdd)](_0x24b4d6(0x127));}),this[_0x9be2b(0x125)][_0x9be2b(0xc1)](_0x27ceb6['id'],_0x3a3b0f));const _0x558f82=_0xa9d697[_0x9be2b(0xc9)](_0x27ceb6[_0x9be2b(0x10d)],_0xab818),_0x4b8024=new _0x27ab01(_0x434c29,_0x27ceb6,_0xab818,_0x558f82),_0x367d0c=_0x27ceb6[_0x9be2b(0xf2)]()[_0x9be2b(0xef)](_0x4114ee=>_0x4114ee[_0x9be2b(0x146)]);_0xab818[_0x9be2b(0xfb)]=_0x434c29[_0x9be2b(0x142)][_0x9be2b(0x130)](_0x9be2b(0xdc))[_0x9be2b(0xd6)][_0x9be2b(0x12e)](_0x367d0c),this[_0x9be2b(0x136)][_0x9be2b(0xc1)](_0x27ceb6,_0x4b8024),this[_0x9be2b(0xb6)][_0x9be2b(0xc1)](_0xab818,_0x4b8024),_0xff4b59=_0x102cde[_0x9be2b(0xd1)]({'view':_0x3a3b0f,'target':()=>{const _0x162120=_0x9be2b,_0x51b50f=[],_0x3a3c3b=_0x27ceb6[_0x162120(0xf2)]()[_0x162120(0xef)](_0x3514a7=>_0x3514a7[_0x162120(0x146)]);for(const _0xd70e1f of _0x3a3c3b)_0x51b50f[_0x162120(0x10c)](..._0xd70e1f[_0x162120(0x98)]());return _0x2d28f4(_0x434c29[_0x162120(0x9b)],_0x51b50f);},'type':()=>_0x9be2b(0xae)+_0x4b8024[_0x9be2b(0xc0)][_0x9be2b(0xb3)]}),_0xa9d697[_0x9be2b(0xbd)](_0xab818,_0xff4b59),_0x102cde[_0x9be2b(0x9f)](_0xff4b59),_0x373290[_0x9be2b(0x103)](_0xff4b59);}[_0x28b3e4(0xd5)](_0xdddd82){const _0x21d801=_0x28b3e4,_0x3190d2=this[_0x21d801(0xdf)][_0x21d801(0x142)][_0x21d801(0x130)](_0x21d801(0x13b)),_0x436548=this[_0x21d801(0xdf)][_0x21d801(0x142)][_0x21d801(0x130)](_0x21d801(0x9a)),_0x28a799=this[_0x21d801(0x136)][_0x21d801(0x130)](_0xdddd82),_0x38c19e=_0x28a799[_0x21d801(0xc0)],_0x25f502=_0x436548[_0x21d801(0xa7)](_0x38c19e);_0x3190d2[_0x21d801(0x122)](_0x38c19e),_0x25f502&&_0x436548[_0x21d801(0x134)](_0x25f502),this[_0x21d801(0x136)][_0x21d801(0xb8)](_0xdddd82),this[_0x21d801(0xb6)][_0x21d801(0xb8)](_0x38c19e),_0x28a799[_0x21d801(0xfe)]();}[_0x28b3e4(0x12f)](_0x597e10){const _0x405315=_0x28b3e4;if(!_0x597e10[_0x405315(0x146)]||!this[_0x405315(0x136)][_0x405315(0x138)](_0x597e10))return;const _0x2c9c59=this[_0x405315(0xdf)][_0x405315(0x142)][_0x405315(0x130)](_0x405315(0xdc)),_0x1c15ee=this[_0x405315(0x136)][_0x405315(0x130)](_0x597e10),_0x350c5b=_0x597e10[_0x405315(0xf2)]();_0x1c15ee[_0x405315(0xc0)][_0x405315(0xfb)]=_0x2c9c59[_0x405315(0xd6)][_0x405315(0x12e)](_0x350c5b);}[_0x28b3e4(0xfe)](){const _0x1f34e9=_0x28b3e4;for(const _0x71318a of this[_0x1f34e9(0x136)][_0x1f34e9(0xec)]())this[_0x1f34e9(0xd5)](_0x71318a);for(const _0x4672b8 of this[_0x1f34e9(0x125)][_0x1f34e9(0xc7)]())_0x4672b8[_0x1f34e9(0xcf)][_0x1f34e9(0xfe)]();super[_0x1f34e9(0xfe)](),this[_0x1f34e9(0xf7)]&&clearInterval(this[_0x1f34e9(0xf7)]);}}function ke(_0xe904ac){const _0x2f6da2=_0x28b3e4;return _0x2f6da2(0xaf)in _0xe904ac;}
23
+ const _0x237f5f=_0x2938;(function(_0x26e360,_0x46df47){const _0x443517=_0x2938,_0x51417c=_0x26e360();while(!![]){try{const _0xad3c0=-parseInt(_0x443517(0x217))/0x1+parseInt(_0x443517(0x207))/0x2*(-parseInt(_0x443517(0x1e3))/0x3)+-parseInt(_0x443517(0x259))/0x4*(-parseInt(_0x443517(0x20e))/0x5)+-parseInt(_0x443517(0x223))/0x6*(-parseInt(_0x443517(0x295))/0x7)+parseInt(_0x443517(0x28c))/0x8+parseInt(_0x443517(0x281))/0x9+-parseInt(_0x443517(0x240))/0xa*(parseInt(_0x443517(0x250))/0xb);if(_0xad3c0===_0x46df47)break;else _0x51417c['push'](_0x51417c['shift']());}catch(_0x8f3221){_0x51417c['push'](_0x51417c['shift']());}}}(_0x5a71,0x25465));import{Plugin as _0x10a517}from'ckeditor5/src/core.js';function _0x2938(_0x217eca,_0x156281){const _0x5a71f2=_0x5a71();return _0x2938=function(_0x2938c5,_0x491cc){_0x2938c5=_0x2938c5-0x1e3;let _0xf205b3=_0x5a71f2[_0x2938c5];return _0xf205b3;},_0x2938(_0x217eca,_0x156281);}import{Collection as _0x30b794}from'ckeditor5/src/utils.js';import{IconTrackChanges as _0x4699f2}from'ckeditor5/src/icons.js';import{addListToDropdown as _0x352077,createDropdown as _0x55d9a2,ListSeparatorView as _0x4d12cb,MenuBarMenuView as _0x4fd28a,MenuBarMenuListView as _0x310dde,MenuBarMenuListItemView as _0xd6a0f6,MenuBarMenuListItemButtonView as _0x2c3180,SplitButtonView as _0x2df0ba,UIModel as _0x197464}from'ckeditor5/src/ui.js';import{Users as _0x2c61c1,getDateTimeFormatter as _0x1e4d5a,getAllMarkersDomElementsSorted as _0x119fbb}from'ckeditor5-collaboration/src/collaboration-core.js';import{TrackChangesEditing as _0x4c18d9}from'./trackchangesediting.js';import{SuggestionController as _0x2de1a1}from'./ui/suggestioncontroller.js';import{SuggestionThreadView as _0x3fee72}from'./ui/view/suggestionthreadview.js';import{SuggestionView as _0x489cc5}from'./ui/view/suggestionview.js';import{getTranslation as _0x2db1ad}from'./utils/common-translations.js';export class TrackChangesUI extends _0x10a517{[_0x237f5f(0x262)];[_0x237f5f(0x1f6)];[_0x237f5f(0x1f7)];[_0x237f5f(0x265)];[_0x237f5f(0x251)];[_0x237f5f(0x203)];[_0x237f5f(0x248)];static get[_0x237f5f(0x21e)](){const _0x18f970=_0x237f5f;return[_0x4c18d9,_0x2c61c1,_0x18f970(0x1f8),_0x18f970(0x1e6),_0x18f970(0x26c)];}static get[_0x237f5f(0x1e5)](){const _0x3e6e10=_0x237f5f;return _0x3e6e10(0x27b);}static get[_0x237f5f(0x244)](){return!0x0;}static get[_0x237f5f(0x270)](){return!0x0;}constructor(_0x4104a8){const _0xbc407f=_0x237f5f;super(_0x4104a8),this[_0xbc407f(0x1f7)]=new Map(),this[_0xbc407f(0x265)]=new Map(),this[_0xbc407f(0x251)]=new Map(),this[_0xbc407f(0x203)]=new Map();const _0x489bc1=this[_0xbc407f(0x1ff)][_0xbc407f(0x24f)];_0x489bc1[_0xbc407f(0x286)](_0xbc407f(0x287),_0x3fee72),_0x489bc1[_0xbc407f(0x286)](_0xbc407f(0x25c),_0x489cc5),_0x489bc1[_0xbc407f(0x286)](_0xbc407f(0x257),!0x1),this[_0xbc407f(0x248)]=_0x489bc1[_0xbc407f(0x239)](_0xbc407f(0x257));}[_0x237f5f(0x23d)](_0x5f250b,_0x45e0e4){const _0x32ff18=_0x237f5f;0x0===this[_0x32ff18(0x203)][_0x32ff18(0x229)]&&setTimeout(()=>{const _0x3f77a7=_0x32ff18;for(const [_0x3f4290,_0x1378a5]of this[_0x3f77a7(0x203)]){const _0x179d5f=this[_0x3f77a7(0x1f7)][_0x3f77a7(0x21b)](_0x3f4290);_0x179d5f||_0x1378a5?_0x179d5f&&_0x1378a5&&this[_0x3f77a7(0x21a)](_0x3f4290):this[_0x3f77a7(0x245)](_0x3f4290);}this[_0x3f77a7(0x203)][_0x3f77a7(0x27d)](),this[_0x3f77a7(0x1ff)][_0x3f77a7(0x1e4)][_0x3f77a7(0x239)](_0x3f77a7(0x26c))[_0x3f77a7(0x261)](),this[_0x3f77a7(0x1ec)]();},0xa),this[_0x32ff18(0x203)][_0x32ff18(0x269)](_0x5f250b,_0x45e0e4);}[_0x237f5f(0x218)](){const _0x3115b5=_0x237f5f,_0x14ae5e=this[_0x3115b5(0x1ff)],_0x4b5beb=_0x14ae5e[_0x3115b5(0x1e4)][_0x3115b5(0x239)](_0x3115b5(0x1f1)),_0x35f70e=_0x14ae5e[_0x3115b5(0x1e4)][_0x3115b5(0x239)](_0x3115b5(0x1e6)),_0x4bbbaf=_0x14ae5e[_0x3115b5(0x1e4)][_0x3115b5(0x239)](_0x3115b5(0x26c)),_0x2afbba=_0x14ae5e[_0x3115b5(0x1e4)][_0x3115b5(0x239)](_0x3115b5(0x1f8));this[_0x3115b5(0x291)](),_0x4bbbaf[_0x3115b5(0x22e)](()=>{const _0x44b254=_0x3115b5,_0xb61d73=[];for(const [_0x3a3bce,_0x1ff9e9]of Array[_0x44b254(0x213)](this[_0x44b254(0x1f7)])){const _0x523c55=_0x3a3bce[_0x44b254(0x1f5)](),_0x2d5884=[];for(const _0x592556 of _0x523c55){if(!_0x592556[_0x44b254(0x25d)])continue;if(_0x592556[_0x44b254(0x294)]){_0x2d5884[_0x44b254(0x279)](..._0x592556[_0x44b254(0x221)]());continue;}const _0xe46551=_0x592556[_0x44b254(0x24b)]();if(_0x2d5884[_0x44b254(0x23f)]>0x0){const _0x3d56c8=_0x2d5884[0x0][_0x44b254(0x264)](_0xe46551);if(_0x3d56c8){_0x2d5884[0x0]=_0x3d56c8;continue;}}_0x2d5884[_0x44b254(0x279)](_0xe46551);}_0xb61d73[_0x44b254(0x279)]([_0x1ff9e9[_0x44b254(0x22b)],_0x2d5884]);}return _0xb61d73;}),this[_0x3115b5(0x216)](_0x4b5beb,_0x3115b5(0x277),(_0x2b3ae5,_0x433cf3)=>{const _0x23f71c=_0x3115b5;this[_0x23f71c(0x216)](_0x433cf3,_0x23f71c(0x25a),(_0x340cac,_0xa3be2c,_0x4a0cda,_0x1b6b9d)=>{const _0x7e1240=_0x23f71c;_0x433cf3[_0x7e1240(0x25d)]&&(null==_0x4a0cda?(this[_0x7e1240(0x284)](_0x1b6b9d[_0x7e1240(0x25e)]),this[_0x7e1240(0x23d)](_0x433cf3,!0x1)):(this[_0x7e1240(0x284)](_0x4a0cda[_0x7e1240(0x25e)]),null==_0x1b6b9d&&this[_0x7e1240(0x23d)](_0x433cf3,!0x0)));}),null!==_0x433cf3[_0x23f71c(0x272)]?this[_0x23f71c(0x284)](_0x433cf3[_0x23f71c(0x25e)]):this[_0x23f71c(0x23d)](_0x433cf3,!0x1);}),this[_0x3115b5(0x216)](_0x4b5beb,_0x3115b5(0x224),(_0x53e433,_0x3f6359,_0x562cd0)=>{const _0x98214a=_0x3115b5;this[_0x98214a(0x241)](_0x3f6359,_0x98214a(0x25a)),this[_0x98214a(0x203)][_0x98214a(0x24d)](_0x3f6359),this[_0x98214a(0x1f7)][_0x98214a(0x21b)](_0x3f6359)&&this[_0x98214a(0x21a)](_0x3f6359),_0x562cd0&&this[_0x98214a(0x284)](_0x562cd0[_0x98214a(0x25e)]);}),this[_0x3115b5(0x216)](_0x4b5beb,_0x3115b5(0x230),(_0x5880f8,_0x28cc29)=>{const _0x2c7a3c=_0x3115b5;this[_0x2c7a3c(0x284)](_0x28cc29);}),this[_0x3115b5(0x216)](_0x35f70e,_0x3115b5(0x26d),()=>{const _0x3e2fa5=_0x3115b5;this[_0x3e2fa5(0x1ec)]();}),this[_0x3115b5(0x216)](_0x2afbba,_0x3115b5(0x28a),(_0x3184a9,{threadId:_0x577461,isFromAdapter:_0x49b078})=>{const _0x517c4f=_0x3115b5;if(_0x49b078||!_0x4b5beb[_0x517c4f(0x22c)](_0x577461))return;const _0x8edca=_0x4b5beb[_0x517c4f(0x220)](_0x577461);this[_0x517c4f(0x1f7)][_0x517c4f(0x239)](_0x8edca)[_0x517c4f(0x22b)][_0x517c4f(0x20d)][_0x517c4f(0x233)](-0x1);},{'priority':_0x3115b5(0x20c)}),this[_0x3115b5(0x262)]=this[_0x3115b5(0x1ff)][_0x3115b5(0x24f)][_0x3115b5(0x239)](_0x3115b5(0x262));const _0xa314db=this[_0x3115b5(0x1ff)];this[_0x3115b5(0x1f6)]=setInterval(()=>{const _0x1a5a5d=_0x3115b5;let _0x423baf;for(const _0x51305d in _0xa314db){const _0x35a242=_0x51305d,_0xc1d141=_0xa314db[_0x35a242];if(_0x1a5a5d(0x255)==_0xc1d141||_0x1a5a5d(0x231)==_0xc1d141||_0x1a5a5d(0x21c)==_0xc1d141||_0x1a5a5d(0x24c)==_0xc1d141||_0x1a5a5d(0x256)==_0xc1d141||_0x1a5a5d(0x25f)==_0xc1d141||_0x1a5a5d(0x236)==_0xc1d141||_0x1a5a5d(0x225)==_0xc1d141){delete _0xa314db[_0x35a242],_0x423baf=_0xc1d141,clearInterval(this[_0x1a5a5d(0x1f6)]),this[_0x1a5a5d(0x1f6)]=void 0x0;break;}}_0x1a5a5d(0x231)==_0x423baf&&_0xa314db[_0x1a5a5d(0x238)](_0x1a5a5d(0x283)),_0x1a5a5d(0x21c)==_0x423baf&&_0xa314db[_0x1a5a5d(0x238)](_0x1a5a5d(0x249)),_0x1a5a5d(0x24c)==_0x423baf&&_0xa314db[_0x1a5a5d(0x238)](_0x1a5a5d(0x26a)),_0x1a5a5d(0x256)==_0x423baf&&_0xa314db[_0x1a5a5d(0x238)](_0x1a5a5d(0x1fb),_0x1a5a5d(0x20f)),_0x1a5a5d(0x25f)==_0x423baf&&_0xa314db[_0x1a5a5d(0x238)](_0x1a5a5d(0x1ef)),_0x1a5a5d(0x236)==_0x423baf&&_0xa314db[_0x1a5a5d(0x238)](_0x1a5a5d(0x27e)),_0x1a5a5d(0x225)==_0x423baf&&_0xa314db[_0x1a5a5d(0x238)](_0x1a5a5d(0x237));},0x3e8);}[_0x237f5f(0x276)](_0x573138){const _0x166985=_0x237f5f,_0x393eaf=this[_0x166985(0x1f7)][_0x166985(0x239)](_0x573138);if(!_0x393eaf)return null;return this[_0x166985(0x1ff)][_0x166985(0x1e4)][_0x166985(0x239)](_0x166985(0x1e6))[_0x166985(0x228)](_0x393eaf[_0x166985(0x22b)])||null;}[_0x237f5f(0x28d)](_0x5162a4){const _0x1cfd3d=_0x237f5f,_0x5edb1e=this[_0x1cfd3d(0x265)][_0x1cfd3d(0x239)](_0x5162a4[_0x1cfd3d(0x227)]);return _0x5edb1e?_0x5edb1e[_0x1cfd3d(0x263)]:null;}[_0x237f5f(0x1ec)](){const _0x1dc2b8=_0x237f5f,_0x2538b1=this[_0x1dc2b8(0x1ff)][_0x1dc2b8(0x1e4)][_0x1dc2b8(0x239)](_0x1dc2b8(0x1e6)),_0xfe1b31=this[_0x1dc2b8(0x1ff)][_0x1dc2b8(0x1e4)][_0x1dc2b8(0x239)](_0x1dc2b8(0x1f1)),_0x52960e=Array[_0x1dc2b8(0x213)](_0x2538b1[_0x1dc2b8(0x280)],_0x466837=>_0x466837[_0x1dc2b8(0x227)])[_0x1dc2b8(0x292)](_0x1e9bb5=>this[_0x1dc2b8(0x265)][_0x1dc2b8(0x21b)](_0x1e9bb5)),_0x50a2ee=[];for(const _0x323cbb of _0x52960e){const _0x45952e=this[_0x1dc2b8(0x265)][_0x1dc2b8(0x239)](_0x323cbb)[_0x1dc2b8(0x263)][_0x1dc2b8(0x1f5)]();_0x50a2ee[_0x1dc2b8(0x279)](..._0x45952e[_0x1dc2b8(0x211)]((_0x4cbed7,_0x38df70)=>[..._0x4cbed7,..._0x38df70[_0x1dc2b8(0x21f)]()],[]));}_0xfe1b31[_0x1dc2b8(0x1f9)]=_0x50a2ee;}[_0x237f5f(0x291)](){const _0x2674e1=_0x237f5f,_0x79edaa=this[_0x2674e1(0x1ff)],_0x3bb4a1=_0x79edaa[_0x2674e1(0x222)],_0x46ca38=_0x2db1ad(_0x3bb4a1,_0x2674e1(0x23a)),_0x47edee=new _0x30b794([{'type':_0x2674e1(0x1ed),'model':new _0x197464({'withText':!0x0,'isToggleable':!0x0,'label':_0x46ca38,'commandName':_0x2674e1(0x1fe),'role':_0x2674e1(0x28b)})},{'type':_0x2674e1(0x1fa)},{'type':_0x2674e1(0x235),'model':new _0x197464({'withText':!0x0,'label':_0x2db1ad(_0x3bb4a1,_0x2674e1(0x201)),'commandName':_0x2674e1(0x1fc),'role':_0x2674e1(0x209)})},{'type':_0x2674e1(0x235),'model':new _0x197464({'withText':!0x0,'label':_0x2db1ad(_0x3bb4a1,_0x2674e1(0x278)),'commandName':_0x2674e1(0x26b),'role':_0x2674e1(0x209)})},{'type':_0x2674e1(0x235),'model':new _0x197464({'withText':!0x0,'label':_0x2db1ad(_0x3bb4a1,_0x2674e1(0x1ee)),'commandName':_0x2674e1(0x288),'role':_0x2674e1(0x209)})},{'type':_0x2674e1(0x235),'model':new _0x197464({'withText':!0x0,'label':_0x2db1ad(_0x3bb4a1,_0x2674e1(0x202)),'commandName':_0x2674e1(0x243),'role':_0x2674e1(0x209)})}]);_0x79edaa[_0x2674e1(0x1e4)][_0x2674e1(0x21b)](_0x2674e1(0x267))&&_0x47edee[_0x2674e1(0x20b)]([{'type':_0x2674e1(0x1fa)},{'type':_0x2674e1(0x235),'model':new _0x197464({'withText':!0x0,'label':_0x2db1ad(_0x3bb4a1,_0x2674e1(0x23e)),'commandName':_0x2674e1(0x1e9),'role':_0x2674e1(0x209)})}]);for(const _0x2234ef of _0x47edee)if(ke(_0x2234ef)){const _0x18a421=_0x79edaa[_0x2674e1(0x22a)][_0x2674e1(0x239)](_0x2234ef[_0x2674e1(0x263)][_0x2674e1(0x205)]);_0x2234ef[_0x2674e1(0x263)][_0x2674e1(0x24a)](_0x2674e1(0x28f),_0x2674e1(0x285))['to'](_0x18a421,_0x2674e1(0x1fd),_0x2674e1(0x285));}_0x79edaa['ui'][_0x2674e1(0x208)][_0x2674e1(0x27f)](_0x2674e1(0x1fe),_0x390145=>this[_0x2674e1(0x215)](_0x390145,_0x47edee,_0x46ca38)),_0x79edaa['ui'][_0x2674e1(0x208)][_0x2674e1(0x27f)](_0x2674e1(0x25b),_0x3564aa=>this[_0x2674e1(0x23c)](_0x3564aa,_0x47edee,_0x46ca38));}[_0x237f5f(0x215)](_0x7e2c85,_0x1de646,_0x52c2a0){const _0x549262=_0x237f5f,_0x41fd71=_0x55d9a2(_0x7e2c85,_0x2df0ba),_0xc8f220=this[_0x549262(0x1ff)][_0x549262(0x22a)][_0x549262(0x239)](_0x549262(0x1fe));_0x41fd71[_0x549262(0x210)][_0x549262(0x269)]({'tooltip':_0x52c2a0,'label':_0x52c2a0,'icon':_0x4699f2}),_0x41fd71[_0x549262(0x210)][_0x549262(0x24a)](_0x549262(0x28f))['to'](_0xc8f220,_0x549262(0x1fd)),_0x41fd71[_0x549262(0x210)]['on'](_0x549262(0x258),()=>{const _0x5f25fc=_0x549262;_0xc8f220[_0x5f25fc(0x258)](),this[_0x5f25fc(0x1ff)][_0x5f25fc(0x254)][_0x5f25fc(0x22b)][_0x5f25fc(0x233)]();}),_0x352077(_0x41fd71,_0x1de646,{'role':_0x549262(0x27c)});const _0x47cea4=[];for(const _0x318c78 of _0x1de646)ke(_0x318c78)&&_0x47cea4[_0x549262(0x279)](this[_0x549262(0x1ff)][_0x549262(0x22a)][_0x549262(0x239)](_0x318c78[_0x549262(0x263)][_0x549262(0x205)]));const _0x3c7e5c=_0x41fd71[_0x549262(0x210)];return _0x3c7e5c[_0x549262(0x1eb)][_0x549262(0x246)](_0x549262(0x285)),_0x3c7e5c[_0x549262(0x28e)][_0x549262(0x246)](_0x549262(0x285)),_0x3c7e5c[_0x549262(0x1eb)][_0x549262(0x24a)](_0x549262(0x285))['to'](_0xc8f220,_0x549262(0x285)),_0x3c7e5c[_0x549262(0x28e)][_0x549262(0x24a)](_0x549262(0x285))[_0x549262(0x226)](_0x47cea4,_0x549262(0x285),(..._0x20170e)=>_0x20170e[_0x549262(0x20a)](_0x4868eb=>_0x4868eb)),_0x41fd71['on'](_0x549262(0x258),_0x1dc15a=>{const _0x1228ee=_0x549262;this[_0x1228ee(0x1ff)][_0x1228ee(0x258)](_0x1dc15a[_0x1228ee(0x21d)][_0x1228ee(0x205)]),this[_0x1228ee(0x1ff)][_0x1228ee(0x254)][_0x1228ee(0x22b)][_0x1228ee(0x233)]();}),_0x41fd71;}[_0x237f5f(0x23c)](_0x204683,_0x325a50,_0xaa7c73){const _0x3c2200=_0x237f5f,_0x587b46=new _0x4fd28a(_0x204683),_0x123049=this[_0x3c2200(0x1ff)][_0x3c2200(0x22a)][_0x3c2200(0x239)](_0x3c2200(0x1fe));_0x587b46[_0x3c2200(0x210)][_0x3c2200(0x269)]({'label':_0xaa7c73,'icon':_0x4699f2});const _0x538405=new _0x310dde(_0x204683);for(const _0x9f39eb of _0x325a50){if(_0x3c2200(0x1fa)==_0x9f39eb[_0x3c2200(0x1e8)]){_0x538405[_0x3c2200(0x1e7)][_0x3c2200(0x27f)](new _0x4d12cb(_0x204683));continue;}const _0x3ae8b7=new _0xd6a0f6(_0x204683,_0x587b46),_0x3bb79d=new _0x2c3180(_0x204683),_0x3c7e3c=_0x9f39eb[_0x3c2200(0x263)];_0x3bb79d[_0x3c2200(0x24a)](...Object[_0x3c2200(0x200)](_0x3c7e3c))['to'](_0x3c7e3c),_0x3bb79d[_0x3c2200(0x266)](_0x3c2200(0x258))['to'](_0x587b46),_0x3bb79d['on'](_0x3c2200(0x258),()=>{const _0x211aec=_0x3c2200;this[_0x211aec(0x1ff)][_0x211aec(0x258)](_0x3c7e3c[_0x211aec(0x205)]),this[_0x211aec(0x1ff)][_0x211aec(0x254)][_0x211aec(0x22b)][_0x211aec(0x233)]();}),_0x3ae8b7[_0x3c2200(0x214)][_0x3c2200(0x27f)](_0x3bb79d),_0x538405[_0x3c2200(0x1e7)][_0x3c2200(0x27f)](_0x3ae8b7);}return _0x587b46[_0x3c2200(0x24a)](_0x3c2200(0x285))['to'](_0x123049,_0x3c2200(0x285)),_0x587b46[_0x3c2200(0x212)][_0x3c2200(0x214)][_0x3c2200(0x27f)](_0x538405),_0x587b46;}[_0x237f5f(0x245)](_0x35e6f6){const _0x269948=_0x237f5f,_0x477e93=this[_0x269948(0x1ff)],_0xc230a=_0x477e93[_0x269948(0x24f)],_0xb1f779=_0x477e93[_0x269948(0x1e4)][_0x269948(0x239)](_0x269948(0x1e6)),_0x4c11cc=_0x477e93[_0x269948(0x1e4)][_0x269948(0x239)](_0x269948(0x1f8)),_0x1443b5=_0x477e93[_0x269948(0x1e4)][_0x269948(0x239)](_0x269948(0x26c)),_0x104922=_0x477e93[_0x269948(0x1e4)][_0x269948(0x239)](_0x2c61c1)['me'],_0x39382b=_0xc230a[_0x269948(0x239)](_0x269948(0x1fe))[_0x269948(0x289)],_0x16a1c2=_0xc230a[_0x269948(0x239)](_0x269948(0x1fe))[_0x269948(0x22d)],{CommentsListView:_0x587811,CommentThreadInputView:_0x2a4cf1}=_0x477e93[_0x269948(0x1e4)][_0x269948(0x239)](_0x269948(0x27a));let _0x2658ac,_0x3d0741,_0x20cabd;this[_0x269948(0x251)][_0x269948(0x21b)](_0x35e6f6['id'])?(_0x3d0741=this[_0x269948(0x251)][_0x269948(0x239)](_0x35e6f6['id']),_0x2658ac=_0x3d0741[_0x269948(0x23b)]):(_0x2658ac=new _0x39382b(_0x477e93[_0x269948(0x222)],_0x35e6f6,_0x104922,{'disableComments':this[_0x269948(0x248)],'editorConfig':{..._0xc230a[_0x269948(0x239)](_0x269948(0x1ea)),'licenseKey':_0xc230a[_0x269948(0x239)](_0x269948(0x262))},'maxCommentsWhenCollapsed':_0xc230a[_0x269948(0x239)](_0x269948(0x1f3)),'maxThreadTotalWeight':_0xc230a[_0x269948(0x239)](_0x269948(0x206)),'maxCommentCharsWhenCollapsed':_0xc230a[_0x269948(0x239)](_0x269948(0x253)),'formatDateTime':_0x1e4d5a(_0xc230a[_0x269948(0x239)](_0x269948(0x222)),_0x477e93[_0x269948(0x222)]),'CommentView':_0xc230a[_0x269948(0x239)](_0x269948(0x26e))[_0x269948(0x242)],'CommentsListView':_0x587811,'CommentThreadInputView':_0x2a4cf1,'SuggestionView':_0x16a1c2}),_0x2658ac[_0x269948(0x204)][_0x269948(0x1f2)]['on'](_0x269948(0x258),()=>{const _0xe131b3=_0x269948;_0x477e93[_0xe131b3(0x254)][_0xe131b3(0x22b)][_0xe131b3(0x233)]();}),_0x2658ac[_0x269948(0x204)][_0x269948(0x1f4)]['on'](_0x269948(0x258),()=>{const _0x1ba745=_0x269948;_0x477e93[_0x1ba745(0x254)][_0x1ba745(0x22b)][_0x1ba745(0x233)]();}),_0x3d0741=_0xb1f779[_0x269948(0x273)](this[_0x269948(0x1ff)][_0x269948(0x222)],_0x2658ac),_0x3d0741[_0x269948(0x24a)](_0x269948(0x293))['to'](_0x2658ac,_0x269948(0x293)),_0x3d0741[_0x269948(0x24a)](_0x269948(0x23f))['to'](_0x2658ac),_0x3d0741[_0x269948(0x24a)](_0x269948(0x1e8))['to'](_0x2658ac,_0x269948(0x1e8),_0x63760f=>_0x269948(0x290)+_0x63760f),_0x2658ac['on'](_0x269948(0x268),()=>{const _0x2b44e4=_0x269948;_0x20cabd[_0x2b44e4(0x275)](_0x2b44e4(0x268));}),this[_0x269948(0x251)][_0x269948(0x269)](_0x35e6f6['id'],_0x3d0741));const _0x56a53c=_0x4c11cc[_0x269948(0x282)](_0x35e6f6[_0x269948(0x234)],_0x2658ac),_0x2fec25=new _0x2de1a1(_0x477e93,_0x35e6f6,_0x2658ac,_0x56a53c),_0x22252e=_0x35e6f6[_0x269948(0x1f5)]()[_0x269948(0x292)](_0x13497b=>_0x13497b[_0x269948(0x25d)]);_0x2658ac[_0x269948(0x26f)]=_0x477e93[_0x269948(0x1e4)][_0x269948(0x239)](_0x269948(0x1f1))[_0x269948(0x274)][_0x269948(0x247)](_0x22252e),this[_0x269948(0x1f7)][_0x269948(0x269)](_0x35e6f6,_0x2fec25),this[_0x269948(0x265)][_0x269948(0x269)](_0x2658ac,_0x2fec25),_0x20cabd=_0xb1f779[_0x269948(0x1f0)]({'view':_0x3d0741,'target':()=>{const _0x5605be=_0x269948,_0x49e4ca=[],_0x4a0712=_0x35e6f6[_0x5605be(0x1f5)]()[_0x5605be(0x292)](_0x2b1136=>_0x2b1136[_0x5605be(0x25d)]);for(const _0x42516e of _0x4a0712)_0x49e4ca[_0x5605be(0x279)](..._0x42516e[_0x5605be(0x22f)]());return _0x119fbb(_0x477e93[_0x5605be(0x254)],_0x49e4ca);},'type':()=>_0x269948(0x290)+_0x2fec25[_0x269948(0x22b)][_0x269948(0x1e8)]}),_0x4c11cc[_0x269948(0x260)](_0x2658ac,_0x20cabd),_0xb1f779[_0x269948(0x27f)](_0x20cabd),_0x1443b5[_0x269948(0x252)](_0x20cabd);}[_0x237f5f(0x21a)](_0x4b9b44){const _0x14dc78=_0x237f5f,_0x2897d5=this[_0x14dc78(0x1ff)][_0x14dc78(0x1e4)][_0x14dc78(0x239)](_0x14dc78(0x1f8)),_0xa54b7=this[_0x14dc78(0x1ff)][_0x14dc78(0x1e4)][_0x14dc78(0x239)](_0x14dc78(0x1e6)),_0x11bbbe=this[_0x14dc78(0x1f7)][_0x14dc78(0x239)](_0x4b9b44),_0x4f27e4=_0x11bbbe[_0x14dc78(0x22b)],_0x30f68b=_0xa54b7[_0x14dc78(0x228)](_0x4f27e4);_0x2897d5[_0x14dc78(0x219)](_0x4f27e4),_0x30f68b&&_0xa54b7[_0x14dc78(0x232)](_0x30f68b),this[_0x14dc78(0x1f7)][_0x14dc78(0x24d)](_0x4b9b44),this[_0x14dc78(0x265)][_0x14dc78(0x24d)](_0x4f27e4),_0x11bbbe[_0x14dc78(0x24e)]();}[_0x237f5f(0x284)](_0x5d82e0){const _0x4a2c=_0x237f5f;if(!_0x5d82e0[_0x4a2c(0x25d)]||!this[_0x4a2c(0x1f7)][_0x4a2c(0x21b)](_0x5d82e0))return;const _0x3cc4fc=this[_0x4a2c(0x1ff)][_0x4a2c(0x1e4)][_0x4a2c(0x239)](_0x4a2c(0x1f1)),_0x349aff=this[_0x4a2c(0x1f7)][_0x4a2c(0x239)](_0x5d82e0),_0x473e55=_0x5d82e0[_0x4a2c(0x1f5)]();_0x349aff[_0x4a2c(0x22b)][_0x4a2c(0x26f)]=_0x3cc4fc[_0x4a2c(0x274)][_0x4a2c(0x247)](_0x473e55);}[_0x237f5f(0x24e)](){const _0x594be9=_0x237f5f;for(const _0x738940 of this[_0x594be9(0x1f7)][_0x594be9(0x200)]())this[_0x594be9(0x21a)](_0x738940);for(const _0x1853a3 of this[_0x594be9(0x251)][_0x594be9(0x271)]())_0x1853a3[_0x594be9(0x23b)][_0x594be9(0x24e)]();super[_0x594be9(0x24e)](),this[_0x594be9(0x1f6)]&&clearInterval(this[_0x594be9(0x1f6)]);}}function ke(_0x5eb3a5){const _0x1a83c2=_0x237f5f;return _0x1a83c2(0x263)in _0x5eb3a5;}function _0x5a71(){const _0x32bb0a=['trackChanges.disableComments','execute','4LeGkVt','change:previous','menuBar:trackChanges','trackChanges.SuggestionView','isInContent','head','trackChangesLicenseKeyEvaluationLimit','_bindAnnotationToEditors','refreshSelectedViews','licenseKey','model','getJoined','_viewToController','delegate','TrackChangesPreview','escape','set','domainLimit','acceptSelectedSuggestions','EditorAnnotations','change:activeAnnotations','comments','descriptionParts','isPremiumPlugin','values','previous','createAnnotationView','descriptionFactory','fire','getAnnotationForSuggestion','suggestionLoaded','Accept\x20all\x20selected\x20suggestions','push','CommentsUI','TrackChangesUI','menu','clear','trialLimit','add','activeAnnotations','2425068tGtBnc','createCommentThreadController','invalid','_updateController','isEnabled','define','trackChanges.SuggestionThreadView','discardAllSuggestions','SuggestionThreadView','addComment','menuitemcheckbox','1465688HUMBOm','getSuggestionForAnnotation','arrowView','isOn','suggestion-','_addUIComponentsToFactory','filter','isDirty','isMultiRange','35YgVDFw','7323LhtVZb','plugins','pluginName','Annotations','items','type','previewFinalContent','comments.editorConfig','actionView','_refreshActiveMarkers','switchbutton','Discard\x20all\x20suggestions','evaluationLimit','createAnnotation','TrackChangesEditing','acceptButton','comments.maxCommentsWhenCollapsed','discardButton','getAllAdjacentSuggestions','_licenseKeyCheckInterval','_suggestionToController','CommentsRepository','activeMarkers','separator','featureNotAllowed','acceptAllSuggestions','value','trackChanges','editor','keys','Accept\x20all\x20suggestions','Discard\x20all\x20selected\x20suggestions','_handleControllerBuffer','suggestionView','commandName','comments.maxThreadTotalWeight','86aBHZMZ','componentFactory','menuitem','some','addMany','lowest','commentsListView','1228740zLvVUl','TrackChanges','buttonView','reduce','panelView','from','children','_createToolbarButton','listenTo','99244oIBIqZ','init','_unbindEditors','_destroyController','has','trackChangesLicenseKeyExpired','source','requires','getMarkerNames','getSuggestion','getRanges','locale','293052JHahXf','suggestionUnloaded','trackChangesLicenseKeyUsageLimit','toMany','innerView','getByInnerView','size','commands','view','hasSuggestion','SuggestionView','addSourceCollector','getMarkers','suggestionChanged','trackChangesLicenseKeyInvalid','remove','focus','commentThread','button','trackChangesLicenseKeyTrialLimit','usageLimit','_showLicenseError','get','Track\x20changes','mainView','_createMenuBarMenu','_handleSuggestionControllerDelayed','Preview\x20final\x20content','length','5857370VMokty','stopListening','CommentView','discardSelectedSuggestions','isOfficialPlugin','_initializeController','unbind','getDescriptions','_disableComments','expired','bind','getFirstRange','trackChangesLicenseKeyDomainLimit','delete','destroy','config','11fNsSvY','_annotationViews','registerAnnotation','comments.maxCommentCharsWhenCollapsed','editing','trackChangesLicenseKeyValid','trackChangesLicenseKeyNotAllowed'];_0x5a71=function(){return _0x32bb0a;};return _0x5a71();}
@@ -3,8 +3,8 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import type { Editor } from 'ckeditor5/src/core.js';
6
- import type Suggestion from '../suggestion.js';
7
- import type { default as BaseSuggestionThreadView } from './view/basesuggestionthreadview.js';
6
+ import { type Suggestion } from '../suggestion.js';
7
+ import type { BaseSuggestionThreadView } from './view/basesuggestionthreadview.js';
8
8
  import type { CommentThreadController } from '@ckeditor/ckeditor5-comments';
9
9
  declare const SuggestionController_base: {
10
10
  new (): import("ckeditor5/src/utils.js").Observable;
@@ -16,7 +16,7 @@ declare const SuggestionController_base: {
16
16
  * It takes a suggestion thread view, listens to events fired by that view and based on them performs actions
17
17
  * on the provided suggestion model.
18
18
  */
19
- export default class SuggestionController extends /* #__PURE__ -- @preserve */ SuggestionController_base {
19
+ export declare class SuggestionController extends /* #__PURE__ -- @preserve */ SuggestionController_base {
20
20
  model: Suggestion;
21
21
  view: BaseSuggestionThreadView;
22
22
  commentThreadController: CommentThreadController;
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5647db=_0x222e;function _0xba5d(){const _0x1e2657=['canAccept','locale','get','PendingActions','model','177363ttWpjS','isDirty','_discardCommand','canDiscard','destroy','7386006SfZJpX','_removePendingAction','view','_setPendingAction','change:isDirty','bind','_pendingAction','_editor','add','unbind','listenTo','PENDING_ACTION_SUGGESTION','12143040iniNfe','remove','_acceptCommand','execute','118712Jmrtjw','discardSuggestion','142242QkYQqA','plugins','36DIIgPW','getRanges','stopListening','canEditAt','807568BbnQIm','5AnxdNh','5365152flTqlq','commands','commentThreadController','isEnabled','acceptSuggestion','525uNSYQq'];_0xba5d=function(){return _0x1e2657;};return _0xba5d();}function _0x222e(_0x570d79,_0x53eb40){const _0xba5d69=_0xba5d();return _0x222e=function(_0x222ecd,_0x574764){_0x222ecd=_0x222ecd-0x169;let _0x3e9601=_0xba5d69[_0x222ecd];return _0x3e9601;},_0x222e(_0x570d79,_0x53eb40);}(function(_0x978aa4,_0x3a0c04){const _0x220295=_0x222e,_0x3fc462=_0x978aa4();while(!![]){try{const _0x5b4ef5=-parseInt(_0x220295(0x16f))/0x1+-parseInt(_0x220295(0x175))/0x2+parseInt(_0x220295(0x182))/0x3*(-parseInt(_0x220295(0x171))/0x4)+parseInt(_0x220295(0x176))/0x5*(parseInt(_0x220295(0x187))/0x6)+parseInt(_0x220295(0x17c))/0x7*(parseInt(_0x220295(0x16d))/0x8)+parseInt(_0x220295(0x177))/0x9+-parseInt(_0x220295(0x169))/0xa;if(_0x5b4ef5===_0x3a0c04)break;else _0x3fc462['push'](_0x3fc462['shift']());}catch(_0x3edf60){_0x3fc462['push'](_0x3fc462['shift']());}}}(_0xba5d,0x9e1d3));import{ObservableMixin as _0x34eb0f}from'ckeditor5/src/utils.js';import{getTranslation as _0x5be3f4}from'../utils/common-translations.js';export default class pe extends/* #__PURE__ -- @preserve */
24
- _0x34eb0f(){[_0x5647db(0x181)];[_0x5647db(0x189)];[_0x5647db(0x179)];[_0x5647db(0x18e)];[_0x5647db(0x16b)];[_0x5647db(0x184)];[_0x5647db(0x18d)];constructor(_0x352529,_0x12dc5e,_0x44b1fd,_0x3927d8){const _0x3a1e3d=_0x5647db;super(),this[_0x3a1e3d(0x181)]=_0x12dc5e,this[_0x3a1e3d(0x189)]=_0x44b1fd,this[_0x3a1e3d(0x179)]=_0x3927d8,this[_0x3a1e3d(0x18e)]=_0x352529,this[_0x3a1e3d(0x16b)]=_0x352529[_0x3a1e3d(0x178)][_0x3a1e3d(0x17f)](_0x3a1e3d(0x17b)),this[_0x3a1e3d(0x184)]=_0x352529[_0x3a1e3d(0x178)][_0x3a1e3d(0x17f)](_0x3a1e3d(0x16e)),this[_0x3a1e3d(0x189)][_0x3a1e3d(0x18c)](_0x3a1e3d(0x17a))['to'](this[_0x3a1e3d(0x16b)],this[_0x3a1e3d(0x184)],(_0x1e4235,_0x212332)=>_0x1e4235||_0x212332),this[_0x3a1e3d(0x189)][_0x3a1e3d(0x18c)](_0x3a1e3d(0x17d))['to'](this[_0x3a1e3d(0x16b)],_0x3a1e3d(0x17a),_0x222de0=>_0x222de0&&this[_0x3a1e3d(0x18e)][_0x3a1e3d(0x181)][_0x3a1e3d(0x174)](_0x12dc5e[_0x3a1e3d(0x172)]())),this[_0x3a1e3d(0x189)][_0x3a1e3d(0x18c)](_0x3a1e3d(0x185))['to'](this[_0x3a1e3d(0x184)],_0x3a1e3d(0x17a),_0x464b33=>_0x464b33&&this[_0x3a1e3d(0x18e)][_0x3a1e3d(0x181)][_0x3a1e3d(0x174)](_0x12dc5e[_0x3a1e3d(0x172)]())),this[_0x3a1e3d(0x18d)]=null,_0x44b1fd[_0x3a1e3d(0x183)]&&this[_0x3a1e3d(0x18a)](),this[_0x3a1e3d(0x191)](_0x44b1fd,_0x3a1e3d(0x17b),()=>this[_0x3a1e3d(0x17b)]()),this[_0x3a1e3d(0x191)](_0x44b1fd,_0x3a1e3d(0x16e),()=>this[_0x3a1e3d(0x16e)]()),this[_0x3a1e3d(0x191)](_0x44b1fd,_0x3a1e3d(0x18b),()=>{const _0x3f4c5b=_0x3a1e3d;_0x44b1fd[_0x3f4c5b(0x183)]?this[_0x3f4c5b(0x18a)]():this[_0x3f4c5b(0x188)]();});}[_0x5647db(0x17b)](){const _0x1e4ebc=_0x5647db;this[_0x1e4ebc(0x16b)][_0x1e4ebc(0x16c)](this[_0x1e4ebc(0x181)]['id']);}[_0x5647db(0x16e)](){const _0x44e3f6=_0x5647db;this[_0x44e3f6(0x184)][_0x44e3f6(0x16c)](this[_0x44e3f6(0x181)]['id']);}[_0x5647db(0x186)](){const _0x31d878=_0x5647db;this[_0x31d878(0x189)][_0x31d878(0x190)](_0x31d878(0x17a)),this[_0x31d878(0x189)][_0x31d878(0x190)](_0x31d878(0x17d)),this[_0x31d878(0x189)][_0x31d878(0x190)](_0x31d878(0x185)),this[_0x31d878(0x173)](),this[_0x31d878(0x179)][_0x31d878(0x186)](),this[_0x31d878(0x18d)]&&this[_0x31d878(0x188)]();}[_0x5647db(0x18a)](){const _0x127d43=_0x5647db,_0x7b81a9=_0x5be3f4(this[_0x127d43(0x18e)][_0x127d43(0x17e)],_0x127d43(0x192));this[_0x127d43(0x18d)]=this[_0x127d43(0x18e)][_0x127d43(0x170)][_0x127d43(0x17f)](_0x127d43(0x180))[_0x127d43(0x18f)](_0x7b81a9);}[_0x5647db(0x188)](){const _0x4cd331=_0x5647db;null!==this[_0x4cd331(0x18d)]&&this[_0x4cd331(0x18e)][_0x4cd331(0x170)][_0x4cd331(0x17f)](_0x4cd331(0x180))[_0x4cd331(0x16a)](this[_0x4cd331(0x18d)]),this[_0x4cd331(0x18d)]=null;}}
23
+ const _0x6fd3af=_0x386f;(function(_0x2c2869,_0x58a3ba){const _0x2b88ce=_0x386f,_0x5c771f=_0x2c2869();while(!![]){try{const _0x412e45=-parseInt(_0x2b88ce(0x17b))/0x1+parseInt(_0x2b88ce(0x16c))/0x2*(parseInt(_0x2b88ce(0x176))/0x3)+-parseInt(_0x2b88ce(0x157))/0x4+-parseInt(_0x2b88ce(0x171))/0x5*(parseInt(_0x2b88ce(0x159))/0x6)+-parseInt(_0x2b88ce(0x15e))/0x7+-parseInt(_0x2b88ce(0x160))/0x8+parseInt(_0x2b88ce(0x16d))/0x9;if(_0x412e45===_0x58a3ba)break;else _0x5c771f['push'](_0x5c771f['shift']());}catch(_0x10324a){_0x5c771f['push'](_0x5c771f['shift']());}}}(_0x2629,0xac567));function _0x386f(_0x7b627a,_0x3493ca){const _0x262985=_0x2629();return _0x386f=function(_0x386f18,_0x5af11b){_0x386f18=_0x386f18-0x155;let _0x1251f0=_0x262985[_0x386f18];return _0x1251f0;},_0x386f(_0x7b627a,_0x3493ca);}import{ObservableMixin as _0x11100e}from'ckeditor5/src/utils.js';function _0x2629(){const _0x15aa80=['6567MluQaL','unbind','canEditAt','canDiscard','discardSuggestion','1240277HIOKRQ','_discardCommand','acceptSuggestion','listenTo','PendingActions','2989492rjGxdP','commands','18etiQOA','bind','change:isDirty','view','remove','6666597YPIvgl','_pendingAction','7169248jTQzkq','_removePendingAction','model','get','_setPendingAction','_editor','add','isDirty','stopListening','PENDING_ACTION_SUGGESTION','getRanges','execute','890lwGgVV','37901853PaUInC','isEnabled','destroy','commentThreadController','1072250DgHfYO','canAccept','plugins','locale','_acceptCommand'];_0x2629=function(){return _0x15aa80;};return _0x2629();}import{getTranslation as _0x4aa226}from'../utils/common-translations.js';export class SuggestionController extends/* #__PURE__ -- @preserve */
24
+ _0x11100e(){[_0x6fd3af(0x162)];[_0x6fd3af(0x15c)];[_0x6fd3af(0x170)];[_0x6fd3af(0x165)];[_0x6fd3af(0x175)];[_0x6fd3af(0x17c)];[_0x6fd3af(0x15f)];constructor(_0x1c2a32,_0x32a3df,_0x5fa4f0,_0x325bd7){const _0x382357=_0x6fd3af;super(),this[_0x382357(0x162)]=_0x32a3df,this[_0x382357(0x15c)]=_0x5fa4f0,this[_0x382357(0x170)]=_0x325bd7,this[_0x382357(0x165)]=_0x1c2a32,this[_0x382357(0x175)]=_0x1c2a32[_0x382357(0x158)][_0x382357(0x163)](_0x382357(0x17d)),this[_0x382357(0x17c)]=_0x1c2a32[_0x382357(0x158)][_0x382357(0x163)](_0x382357(0x17a)),this[_0x382357(0x15c)][_0x382357(0x15a)](_0x382357(0x16e))['to'](this[_0x382357(0x175)],this[_0x382357(0x17c)],(_0x2e3d4a,_0x45c83c)=>_0x2e3d4a||_0x45c83c),this[_0x382357(0x15c)][_0x382357(0x15a)](_0x382357(0x172))['to'](this[_0x382357(0x175)],_0x382357(0x16e),_0x140e5c=>_0x140e5c&&this[_0x382357(0x165)][_0x382357(0x162)][_0x382357(0x178)](_0x32a3df[_0x382357(0x16a)]())),this[_0x382357(0x15c)][_0x382357(0x15a)](_0x382357(0x179))['to'](this[_0x382357(0x17c)],_0x382357(0x16e),_0xfaeb6e=>_0xfaeb6e&&this[_0x382357(0x165)][_0x382357(0x162)][_0x382357(0x178)](_0x32a3df[_0x382357(0x16a)]())),this[_0x382357(0x15f)]=null,_0x5fa4f0[_0x382357(0x167)]&&this[_0x382357(0x164)](),this[_0x382357(0x155)](_0x5fa4f0,_0x382357(0x17d),()=>this[_0x382357(0x17d)]()),this[_0x382357(0x155)](_0x5fa4f0,_0x382357(0x17a),()=>this[_0x382357(0x17a)]()),this[_0x382357(0x155)](_0x5fa4f0,_0x382357(0x15b),()=>{const _0x187071=_0x382357;_0x5fa4f0[_0x187071(0x167)]?this[_0x187071(0x164)]():this[_0x187071(0x161)]();});}[_0x6fd3af(0x17d)](){const _0x22d635=_0x6fd3af;this[_0x22d635(0x175)][_0x22d635(0x16b)](this[_0x22d635(0x162)]['id']);}[_0x6fd3af(0x17a)](){const _0x3496a3=_0x6fd3af;this[_0x3496a3(0x17c)][_0x3496a3(0x16b)](this[_0x3496a3(0x162)]['id']);}[_0x6fd3af(0x16f)](){const _0x2b0807=_0x6fd3af;this[_0x2b0807(0x15c)][_0x2b0807(0x177)](_0x2b0807(0x16e)),this[_0x2b0807(0x15c)][_0x2b0807(0x177)](_0x2b0807(0x172)),this[_0x2b0807(0x15c)][_0x2b0807(0x177)](_0x2b0807(0x179)),this[_0x2b0807(0x168)](),this[_0x2b0807(0x170)][_0x2b0807(0x16f)](),this[_0x2b0807(0x15f)]&&this[_0x2b0807(0x161)]();}[_0x6fd3af(0x164)](){const _0x3d10ec=_0x6fd3af,_0x3d1d8e=_0x4aa226(this[_0x3d10ec(0x165)][_0x3d10ec(0x174)],_0x3d10ec(0x169));this[_0x3d10ec(0x15f)]=this[_0x3d10ec(0x165)][_0x3d10ec(0x173)][_0x3d10ec(0x163)](_0x3d10ec(0x156))[_0x3d10ec(0x166)](_0x3d1d8e);}[_0x6fd3af(0x161)](){const _0x139902=_0x6fd3af;null!==this[_0x139902(0x15f)]&&this[_0x139902(0x165)][_0x139902(0x173)][_0x139902(0x163)](_0x139902(0x156))[_0x139902(0x15d)](this[_0x139902(0x15f)]),this[_0x139902(0x15f)]=null;}}
@@ -9,11 +9,11 @@
9
9
  import { FocusCycler, View, ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
10
10
  import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
11
11
  import type { EditorConfig } from 'ckeditor5/src/core.js';
12
- import type Suggestion from '../../suggestion.js';
12
+ import { type Suggestion } from '../../suggestion.js';
13
13
  import type { CommentsListView, CommentThreadInputView, CommentView } from '@ckeditor/ckeditor5-comments';
14
14
  import { AriaDescriptionView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
- import type { Description } from '../../suggestiondescriptionfactory.js';
16
- import type SuggestionView from './suggestionview.js';
15
+ import type { SuggestionDescription } from '../../suggestiondescriptionfactory.js';
16
+ import { type SuggestionView } from './suggestionview.js';
17
17
  /**
18
18
  * An abstract suggestion thread view class that should be used as a base for suggestion thread view implementations.
19
19
  * It provides some behaviors, flags and building blocks to use when creating a custom suggestion thread view class.
@@ -26,7 +26,7 @@ import type SuggestionView from './suggestionview.js';
26
26
  * For the usage examples check the {@glink features/collaboration/annotations/annotations-custom-view
27
27
  * Annotations custom view} guide.
28
28
  */
29
- export default abstract class BaseSuggestionThreadView extends View {
29
+ export declare abstract class BaseSuggestionThreadView extends View {
30
30
  /**
31
31
  * The list of comment views. It should be used as a part of the view template when present.
32
32
  */
@@ -103,7 +103,7 @@ export default abstract class BaseSuggestionThreadView extends View {
103
103
  *
104
104
  * @observable
105
105
  */
106
- descriptionParts: Array<Description>;
106
+ descriptionParts: Array<SuggestionDescription>;
107
107
  /**
108
108
  * Informs whether the suggestion thread has any changes that have not been saved.
109
109
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x222114=_0x2244;(function(_0x33293c,_0x2f8b37){const _0x1e3479=_0x2244,_0x542ffc=_0x33293c();while(!![]){try{const _0x1be168=-parseInt(_0x1e3479(0x105))/0x1+parseInt(_0x1e3479(0xea))/0x2+-parseInt(_0x1e3479(0x115))/0x3+-parseInt(_0x1e3479(0x118))/0x4*(parseInt(_0x1e3479(0xe6))/0x5)+parseInt(_0x1e3479(0x11c))/0x6*(-parseInt(_0x1e3479(0xe4))/0x7)+-parseInt(_0x1e3479(0x121))/0x8*(parseInt(_0x1e3479(0x113))/0x9)+parseInt(_0x1e3479(0x102))/0xa;if(_0x1be168===_0x2f8b37)break;else _0x542ffc['push'](_0x542ffc['shift']());}catch(_0x17755c){_0x542ffc['push'](_0x542ffc['shift']());}}}(_0x22ef,0x1b7b2));function _0x2244(_0x5bc187,_0x21faa3){const _0x22ef01=_0x22ef();return _0x2244=function(_0x2244e6,_0x1da27d){_0x2244e6=_0x2244e6-0xe3;let _0x387294=_0x22ef01[_0x2244e6];return _0x387294;},_0x2244(_0x5bc187,_0x21faa3);}import{FocusCycler as _0x17b4db,View as _0x3f5e42,ViewCollection as _0x3659c6}from'ckeditor5/src/ui.js';import{FocusTracker as _0xd08dad,KeystrokeHandler as _0x50fb7b}from'ckeditor5/src/utils.js';function _0x22ef(){const _0x3e3d3c=['parseFromString','3505GSvGjT','editor','fire','render','115206pSPWVn','descriptionParts','SUGGESTION_THREAD_DESCRIPTION','disableComments','focusCycler','CommentView','isEnabled','content','bind','isReadOnly','destroy','set','focusTracker','ariaLabel','hasDirtyComment','canDiscard','join','keystrokes','_createCommentThreadInputView','authoredAt','_config','commentThread','author','value','7861850UdOSmt','isActive','length','125195FazOXn','_model','target','locale','assign','setData','showInput','commentThreadInputView','commentsListView','commentInputView','editorConfig','tab','focusables','_localUser','1153071BwPgvx','_createCommentViews','451245YzRtnh','canAccept','element','1076CmLFOo','delegate','SUGGESTION_THREAD_ARIA_LABEL','text/html','104196EhrCLi','textContent','removeComment','isDirty','ariaDescriptionView','8LkVAcr','cancel','addComment','disabledSubmit','formatDateTime','name','updateComment','map','focus','shift+tab','body','submit','56zFoRYm'];_0x22ef=function(){return _0x3e3d3c;};return _0x22ef();}import{AriaDescriptionView as _0x3031fe,setupThreadKeyboardNavigation as _0x4b7a6e}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0xb2fdd7}from'../../utils/common-translations.js';import{renderDescription as _0x825360}from'../../utils/utils.js';export default class us extends _0x3f5e42{[_0x222114(0x10d)];[_0x222114(0x10c)];[_0x222114(0x120)];[_0x222114(0x111)];[_0x222114(0xf6)];[_0x222114(0xfb)];[_0x222114(0xee)];[_0x222114(0x106)];[_0x222114(0x112)];[_0x222114(0xfe)];constructor(_0xf88efb,_0x56194f,_0xd7a330,_0x543ea7){const _0x21d32d=_0x222114;super(_0xf88efb),this[_0x21d32d(0x10d)]=null,this[_0x21d32d(0x10c)]=null,this[_0x21d32d(0x120)]=new _0x3031fe(_0xf88efb,_0xb2fdd7(_0xf88efb,_0x21d32d(0xec))),this[_0x21d32d(0xf5)](_0x21d32d(0x103),!0x1),this[_0x21d32d(0xf5)](_0x21d32d(0xfd),_0x56194f[_0x21d32d(0xfd)]),this[_0x21d32d(0xf2)](_0x21d32d(0xfd))['to'](_0x56194f),this[_0x21d32d(0xf5)](_0x21d32d(0xeb),[]),this[_0x21d32d(0xf5)](_0x21d32d(0x11f),!0x1),this[_0x21d32d(0xf5)](_0x21d32d(0xf0),!0x1),this[_0x21d32d(0xf5)](_0x21d32d(0x116),!0x1),this[_0x21d32d(0xf5)](_0x21d32d(0xf9),!0x1),this[_0x21d32d(0xf2)](_0x21d32d(0xf7))['to'](this,_0x21d32d(0x104),_0x56194f,_0x21d32d(0xfd),this,_0x21d32d(0xeb),(_0x2c5eb8,_0xa1c12c,_0x205541)=>{const _0x5036de=_0x21d32d,_0xbb962d=_0x205541[_0x5036de(0x128)](_0x4e26b6=>_0x825360(_0x4e26b6[_0x5036de(0xf1)]))[_0x5036de(0xfa)]('.\x20')+'.';return _0xb2fdd7(this[_0x5036de(0x108)],_0x5036de(0x11a),[_0x2c5eb8-0x1,_0x56194f[_0x5036de(0x100)][_0x5036de(0x126)],_0xa1c12c?_0x543ea7[_0x5036de(0x125)](_0xa1c12c):'',new DOMParser()[_0x5036de(0xe5)](_0xbb962d,_0x5036de(0x11b))[_0x5036de(0x12b)][_0x5036de(0x11d)]]);}),this[_0x21d32d(0x111)]=new _0x3659c6(),this[_0x21d32d(0xf6)]=new _0xd08dad(),this[_0x21d32d(0xfb)]=new _0x50fb7b(),this[_0x21d32d(0xee)]=new _0x17b4db({'focusables':this[_0x21d32d(0x111)],'focusTracker':this[_0x21d32d(0xf6)],'keystrokeHandler':this[_0x21d32d(0xfb)],'keystrokeHandlerOptions':{'filter':_0x54e296=>_0x54e296[_0x21d32d(0x107)]!==this[_0x21d32d(0x117)]},'actions':{'focusPrevious':_0x21d32d(0x12a),'focusNext':_0x21d32d(0x110)}}),this[_0x21d32d(0x106)]=_0x56194f,this[_0x21d32d(0x112)]=_0xd7a330,this[_0x21d32d(0xfe)]=_0x543ea7,_0x543ea7[_0x21d32d(0xed)]?this[_0x21d32d(0xf5)](_0x21d32d(0x104),0x1):this[_0x21d32d(0x114)]();}[_0x222114(0xe9)](){const _0x4b6d26=_0x222114;super[_0x4b6d26(0xe9)](),_0x4b7a6e(this,this[_0x4b6d26(0x111)]);}[_0x222114(0x129)](){const _0x47db6c=_0x222114;this[_0x47db6c(0x117)][_0x47db6c(0x129)]();}[_0x222114(0xf4)](){const _0x27c771=_0x222114;this[_0x27c771(0x10d)]&&this[_0x27c771(0x10d)][_0x27c771(0xf4)](),this[_0x27c771(0x10c)]&&this[_0x27c771(0x10c)][_0x27c771(0xf4)](),super[_0x27c771(0xf4)]();}[_0x222114(0x114)](){const _0x571048=_0x222114,{CommentsListView:_0x4d312b}=this[_0x571048(0xfe)];this[_0x571048(0x10d)]=new _0x4d312b(this[_0x571048(0x108)],this[_0x571048(0x106)][_0x571048(0xff)],Object[_0x571048(0x109)]({'CommentView':this[_0x571048(0xfe)][_0x571048(0xef)]},this[_0x571048(0xfe)])),this[_0x571048(0x10d)][_0x571048(0x119)](_0x571048(0x11e))['to'](this),this[_0x571048(0x10d)][_0x571048(0x119)](_0x571048(0x127))['to'](this),this[_0x571048(0x10d)][_0x571048(0xf2)](_0x571048(0x103))['to'](this),this[_0x571048(0xf5)](_0x571048(0x104),this[_0x571048(0x10d)][_0x571048(0x104)]+0x1),this[_0x571048(0xf2)](_0x571048(0x104))['to'](this[_0x571048(0x10d)],_0x571048(0x104),_0x5435b8=>_0x5435b8+0x1),this[_0x571048(0x10c)]=this[_0x571048(0xfc)](),this['on'](_0x571048(0x11e),()=>this[_0x571048(0x129)]()),this[_0x571048(0xf2)](_0x571048(0x11f))['to'](this[_0x571048(0x10d)],_0x571048(0xf8),this[_0x571048(0x10c)][_0x571048(0x10e)],_0x571048(0x101),(_0x554719,_0x264c55)=>_0x554719||!!_0x264c55);}[_0x222114(0xfc)](){const _0xeb0124=_0x222114,{CommentThreadInputView:_0x515a8f}=this[_0xeb0124(0xfe)],_0x5c0b9a=new _0x515a8f(this[_0xeb0124(0x108)],this[_0xeb0124(0x112)],this[_0xeb0124(0xfe)][_0xeb0124(0x10f)]),_0x224ff6=_0x5c0b9a[_0xeb0124(0x10e)];return _0x5c0b9a[_0xeb0124(0xf2)](_0xeb0124(0x10b))['to'](this,_0xeb0124(0x103),this[_0xeb0124(0x106)][_0xeb0124(0xff)],_0xeb0124(0xf3),_0x224ff6,_0xeb0124(0x101),(_0x2ca13a,_0x5c5865,_0x105688)=>!!_0x105688||_0x2ca13a&&!_0x5c5865),_0x224ff6['on'](_0xeb0124(0xe3),(_0x3c4823,_0x3e6c4a)=>{const _0x1de876=_0xeb0124;this[_0x1de876(0xe8)](_0x1de876(0x123),_0x3e6c4a),_0x224ff6[_0x1de876(0xe7)][_0x1de876(0x10a)]('');}),_0x224ff6['on'](_0xeb0124(0x122),()=>this[_0xeb0124(0x129)]()),_0x224ff6[_0xeb0124(0xf2)](_0xeb0124(0x124))['to'](this[_0xeb0124(0x106)][_0xeb0124(0xff)],_0xeb0124(0xf3)),_0x5c0b9a;}}
23
+ const _0x8b2f2b=_0x5cfa;(function(_0x5ddf38,_0x30566a){const _0xad0565=_0x5cfa,_0xef8b6f=_0x5ddf38();while(!![]){try{const _0x352933=parseInt(_0xad0565(0xfb))/0x1*(parseInt(_0xad0565(0x115))/0x2)+parseInt(_0xad0565(0x12b))/0x3+-parseInt(_0xad0565(0xfc))/0x4+-parseInt(_0xad0565(0xf1))/0x5*(parseInt(_0xad0565(0x111))/0x6)+parseInt(_0xad0565(0x100))/0x7+-parseInt(_0xad0565(0x110))/0x8+parseInt(_0xad0565(0xf4))/0x9;if(_0x352933===_0x30566a)break;else _0xef8b6f['push'](_0xef8b6f['shift']());}catch(_0x1791c8){_0xef8b6f['push'](_0xef8b6f['shift']());}}}(_0x294e,0x64298));import{FocusCycler as _0x2c3c96,View as _0x35cbe7,ViewCollection as _0x54c723}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4fb385,KeystrokeHandler as _0x1a78d8}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x118247,setupThreadKeyboardNavigation as _0x24bb50}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5c5d9e}from'../../utils/common-translations.js';import{renderDescription as _0x10f3c9}from'../../utils/utils.js';function _0x5cfa(_0x182fe5,_0x5f51d4){const _0x294e85=_0x294e();return _0x5cfa=function(_0x5cfa84,_0x4ba714){_0x5cfa84=_0x5cfa84-0xe9;let _0x4647f1=_0x294e85[_0x5cfa84];return _0x4647f1;},_0x5cfa(_0x182fe5,_0x5f51d4);}function _0x294e(){const _0x130c56=['setData','4811611NhOvNX','commentThread','focusTracker','set','keystrokes','canAccept','removeComment','join','_createCommentThreadInputView','_model','commentsListView','render','target','delegate','fire','formatDateTime','5333728uGvwIQ','10470THxXFR','focus','commentInputView','isReadOnly','556CQIZKe','ariaLabel','locale','destroy','isActive','cancel','value','SUGGESTION_THREAD_DESCRIPTION','shift+tab','hasDirtyComment','ariaDescriptionView','_config','tab','submit','isDirty','descriptionParts','disabledSubmit','element','content','isEnabled','text/html','editorConfig','2330736dIYhpS','map','name','textContent','showInput','SUGGESTION_THREAD_ARIA_LABEL','authoredAt','focusables','CommentView','editor','focusCycler','disableComments','commentThreadInputView','updateComment','1895UqkQae','parseFromString','_createCommentViews','790866WpzMAa','body','author','assign','canDiscard','_localUser','addComment','1954Ugwtwk','1428144AbbbgJ','length','bind'];_0x294e=function(){return _0x130c56;};return _0x294e();}export class BaseSuggestionThreadView extends _0x35cbe7{[_0x8b2f2b(0x10a)];[_0x8b2f2b(0xef)];[_0x8b2f2b(0x11f)];[_0x8b2f2b(0xea)];[_0x8b2f2b(0x102)];[_0x8b2f2b(0x104)];[_0x8b2f2b(0xed)];[_0x8b2f2b(0x109)];[_0x8b2f2b(0xf9)];[_0x8b2f2b(0x120)];constructor(_0xdfa165,_0x20b9fe,_0x29aade,_0x3bdec6){const _0x4f7246=_0x8b2f2b;super(_0xdfa165),this[_0x4f7246(0x10a)]=null,this[_0x4f7246(0xef)]=null,this[_0x4f7246(0x11f)]=new _0x118247(_0xdfa165,_0x5c5d9e(_0xdfa165,_0x4f7246(0x11c))),this[_0x4f7246(0x103)](_0x4f7246(0x119),!0x1),this[_0x4f7246(0x103)](_0x4f7246(0xe9),_0x20b9fe[_0x4f7246(0xe9)]),this[_0x4f7246(0xfe)](_0x4f7246(0xe9))['to'](_0x20b9fe),this[_0x4f7246(0x103)](_0x4f7246(0x124),[]),this[_0x4f7246(0x103)](_0x4f7246(0x123),!0x1),this[_0x4f7246(0x103)](_0x4f7246(0x128),!0x1),this[_0x4f7246(0x103)](_0x4f7246(0x105),!0x1),this[_0x4f7246(0x103)](_0x4f7246(0xf8),!0x1),this[_0x4f7246(0xfe)](_0x4f7246(0x116))['to'](this,_0x4f7246(0xfd),_0x20b9fe,_0x4f7246(0xe9),this,_0x4f7246(0x124),(_0x26e70a,_0x2d0786,_0x3c78e3)=>{const _0x25ecc1=_0x4f7246,_0xa6d03c=_0x3c78e3[_0x25ecc1(0x12c)](_0xe50f46=>_0x10f3c9(_0xe50f46[_0x25ecc1(0x127)]))[_0x25ecc1(0x107)]('.\x20')+'.';return _0x5c5d9e(this[_0x25ecc1(0x117)],_0x25ecc1(0x130),[_0x26e70a-0x1,_0x20b9fe[_0x25ecc1(0xf6)][_0x25ecc1(0x12d)],_0x2d0786?_0x3bdec6[_0x25ecc1(0x10f)](_0x2d0786):'',new DOMParser()[_0x25ecc1(0xf2)](_0xa6d03c,_0x25ecc1(0x129))[_0x25ecc1(0xf5)][_0x25ecc1(0x12e)]]);}),this[_0x4f7246(0xea)]=new _0x54c723(),this[_0x4f7246(0x102)]=new _0x4fb385(),this[_0x4f7246(0x104)]=new _0x1a78d8(),this[_0x4f7246(0xed)]=new _0x2c3c96({'focusables':this[_0x4f7246(0xea)],'focusTracker':this[_0x4f7246(0x102)],'keystrokeHandler':this[_0x4f7246(0x104)],'keystrokeHandlerOptions':{'filter':_0x46b144=>_0x46b144[_0x4f7246(0x10c)]!==this[_0x4f7246(0x126)]},'actions':{'focusPrevious':_0x4f7246(0x11d),'focusNext':_0x4f7246(0x121)}}),this[_0x4f7246(0x109)]=_0x20b9fe,this[_0x4f7246(0xf9)]=_0x29aade,this[_0x4f7246(0x120)]=_0x3bdec6,_0x3bdec6[_0x4f7246(0xee)]?this[_0x4f7246(0x103)](_0x4f7246(0xfd),0x1):this[_0x4f7246(0xf3)]();}[_0x8b2f2b(0x10b)](){const _0x12f61b=_0x8b2f2b;super[_0x12f61b(0x10b)](),_0x24bb50(this,this[_0x12f61b(0xea)]);}[_0x8b2f2b(0x112)](){const _0xdaee45=_0x8b2f2b;this[_0xdaee45(0x126)][_0xdaee45(0x112)]();}[_0x8b2f2b(0x118)](){const _0x3b595f=_0x8b2f2b;this[_0x3b595f(0x10a)]&&this[_0x3b595f(0x10a)][_0x3b595f(0x118)](),this[_0x3b595f(0xef)]&&this[_0x3b595f(0xef)][_0x3b595f(0x118)](),super[_0x3b595f(0x118)]();}[_0x8b2f2b(0xf3)](){const _0x120b14=_0x8b2f2b,{CommentsListView:_0x58080b}=this[_0x120b14(0x120)];this[_0x120b14(0x10a)]=new _0x58080b(this[_0x120b14(0x117)],this[_0x120b14(0x109)][_0x120b14(0x101)],Object[_0x120b14(0xf7)]({'CommentView':this[_0x120b14(0x120)][_0x120b14(0xeb)]},this[_0x120b14(0x120)])),this[_0x120b14(0x10a)][_0x120b14(0x10d)](_0x120b14(0x106))['to'](this),this[_0x120b14(0x10a)][_0x120b14(0x10d)](_0x120b14(0xf0))['to'](this),this[_0x120b14(0x10a)][_0x120b14(0xfe)](_0x120b14(0x119))['to'](this),this[_0x120b14(0x103)](_0x120b14(0xfd),this[_0x120b14(0x10a)][_0x120b14(0xfd)]+0x1),this[_0x120b14(0xfe)](_0x120b14(0xfd))['to'](this[_0x120b14(0x10a)],_0x120b14(0xfd),_0x46a085=>_0x46a085+0x1),this[_0x120b14(0xef)]=this[_0x120b14(0x108)](),this['on'](_0x120b14(0x106),()=>this[_0x120b14(0x112)]()),this[_0x120b14(0xfe)](_0x120b14(0x123))['to'](this[_0x120b14(0x10a)],_0x120b14(0x11e),this[_0x120b14(0xef)][_0x120b14(0x113)],_0x120b14(0x11b),(_0x1f473b,_0x15a3d9)=>_0x1f473b||!!_0x15a3d9);}[_0x8b2f2b(0x108)](){const _0x5ee9ca=_0x8b2f2b,{CommentThreadInputView:_0xde3d5d}=this[_0x5ee9ca(0x120)],_0x175aa4=new _0xde3d5d(this[_0x5ee9ca(0x117)],this[_0x5ee9ca(0xf9)],this[_0x5ee9ca(0x120)][_0x5ee9ca(0x12a)]),_0x4369e7=_0x175aa4[_0x5ee9ca(0x113)];return _0x175aa4[_0x5ee9ca(0xfe)](_0x5ee9ca(0x12f))['to'](this,_0x5ee9ca(0x119),this[_0x5ee9ca(0x109)][_0x5ee9ca(0x101)],_0x5ee9ca(0x114),_0x4369e7,_0x5ee9ca(0x11b),(_0x151df5,_0x31ad3e,_0x3a16b4)=>!!_0x3a16b4||_0x151df5&&!_0x31ad3e),_0x4369e7['on'](_0x5ee9ca(0x122),(_0x307f04,_0x2fca7a)=>{const _0x4b5248=_0x5ee9ca;this[_0x4b5248(0x10e)](_0x4b5248(0xfa),_0x2fca7a),_0x4369e7[_0x4b5248(0xec)][_0x4b5248(0xff)]('');}),_0x4369e7['on'](_0x5ee9ca(0x11a),()=>this[_0x5ee9ca(0x112)]()),_0x4369e7[_0x5ee9ca(0xfe)](_0x5ee9ca(0x125))['to'](this[_0x5ee9ca(0x109)][_0x5ee9ca(0x101)],_0x5ee9ca(0x114)),_0x175aa4;}}
@@ -6,19 +6,19 @@
6
6
  * @module track-changes/ui/view/suggestionthreadview
7
7
  * @publicApi
8
8
  */
9
- import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
9
+ import { BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
10
10
  import { type TemplateDefinition, type ViewWithFocusCycler } from 'ckeditor5/src/ui.js';
11
11
  import { type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
12
  import { type Locale } from 'ckeditor5/src/utils.js';
13
- import type Suggestion from '../../suggestion.js';
14
- import type SuggestionView from './suggestionview.js';
13
+ import { type Suggestion } from '../../suggestion.js';
14
+ import { type SuggestionView } from './suggestionview.js';
15
15
  /**
16
16
  * The default view for a suggestion thread.
17
17
  *
18
18
  * This view can be replaced by other view by overwriting the
19
19
  * {@link module:track-changes/trackchangesconfig~TrackChangesConfig#SuggestionThreadView} configuration.
20
20
  */
21
- export default class SuggestionThreadView extends BaseSuggestionThreadView implements ViewWithFocusCycler {
21
+ export declare class SuggestionThreadView extends BaseSuggestionThreadView implements ViewWithFocusCycler {
22
22
  /**
23
23
  * The suggestion thread view type.
24
24
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x83f014=_0x7045;(function(_0x4f8b6d,_0x46fd88){const _0x4cc811=_0x7045,_0x24a984=_0x4f8b6d();while(!![]){try{const _0xb6f02f=-parseInt(_0x4cc811(0x182))/0x1+-parseInt(_0x4cc811(0x17f))/0x2+-parseInt(_0x4cc811(0x183))/0x3+-parseInt(_0x4cc811(0x190))/0x4*(parseInt(_0x4cc811(0x195))/0x5)+-parseInt(_0x4cc811(0x1a3))/0x6+-parseInt(_0x4cc811(0x18e))/0x7+parseInt(_0x4cc811(0x189))/0x8;if(_0xb6f02f===_0x46fd88)break;else _0x24a984['push'](_0x24a984['shift']());}catch(_0x4aef7c){_0x24a984['push'](_0x24a984['shift']());}}}(_0x121c,0x81485));function _0x7045(_0x4739de,_0x1ad972){const _0x121c11=_0x121c();return _0x7045=function(_0x7045db,_0x3c33ff){_0x7045db=_0x7045db-0x177;let _0x561ef5=_0x121c11[_0x7045db];return _0x561ef5;},_0x7045(_0x4739de,_0x1ad972);}import{default as _0x126ece}from'./basesuggestionthreadview.js';function _0x121c(){const _0x1b0ef6=['listitem','discardSuggestion','1177330lNvxKL','commentThreadInputView','24VsyOOv','ck-suggestion-','suggestionView','isEnabled','canDiscard','375990IpdkMs','set','div','focusables','ariaDescriptionView','SuggestionView','editorReady','formatDateTime','_config','disableComments','ariaLabel','push','</p>','ck-rounded-corners','4897542IfiTmG','bindTemplate','commentThread','delegate','add','_descriptionElement','ck-suggestion-wrapper','render','setTemplate','author','content','commentsListView','type','ck-suggestion--disabled-comments','getTemplate','acceptSuggestion','isActive','descriptionParts','_model','1442898dyuFXZ','description','acceptButton','673995dpEiyS','73749QpMDEq','ck-suggestion-wrapper--active','bind','canAccept','editorDestroyed','discardButton','27081624yNMOWY','<p>','color'];_0x121c=function(){return _0x1b0ef6;};return _0x121c();}import{trimHtml as _0x24a027}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x1683d6}from'../../utils/utils.js';export default class fe extends _0x126ece{[_0x83f014(0x192)];[_0x83f014(0x1a8)];constructor(_0x2f17e3,_0x4dc47,_0x50aac6,_0x81759e){const _0x233593=_0x83f014;super(_0x2f17e3,_0x4dc47,_0x50aac6,_0x81759e),this[_0x233593(0x196)](_0x233593(0x178),''),this[_0x233593(0x185)](_0x233593(0x178))['to'](this,_0x233593(0x17d),_0x5086fa=>_0x5086fa&&_0x5086fa[0x0]?_0x5086fa[0x0][_0x233593(0x178)]:''),this[_0x233593(0x185)](_0x233593(0x180))['to'](this,_0x233593(0x17d),this,_0x233593(0x17c),(_0x5a3476,_0x5272a0)=>{const _0x21a6b6=_0x233593;let _0x5eb3cd='';for(const _0x51bf53 of _0x5a3476)_0x5eb3cd+=_0x21a6b6(0x18a)+_0x1683d6(_0x51bf53[_0x21a6b6(0x1ad)],_0x51bf53[_0x21a6b6(0x18b)])+_0x21a6b6(0x1a1);return _0x5272a0?_0x5eb3cd:_0x24a027(_0x5eb3cd,{'limit':0x8c});}),this[_0x233593(0x1a8)]=null,this[_0x233593(0x192)]=new _0x81759e[(_0x233593(0x19a))](_0x2f17e3,_0x4dc47,{'formatDateTime':_0x81759e[_0x233593(0x19c)]}),this[_0x233593(0x192)][_0x233593(0x185)](_0x233593(0x180))['to'](this),this[_0x233593(0x192)][_0x233593(0x1a6)](_0x233593(0x17b),_0x233593(0x18d))['to'](this),this[_0x233593(0x192)][_0x233593(0x181)][_0x233593(0x185)](_0x233593(0x193))['to'](this,_0x233593(0x186)),this[_0x233593(0x192)][_0x233593(0x188)][_0x233593(0x185)](_0x233593(0x193))['to'](this,_0x233593(0x194)),this[_0x233593(0x198)][_0x233593(0x1a7)](this[_0x233593(0x192)]),this[_0x233593(0x177)]&&this[_0x233593(0x198)][_0x233593(0x1a7)](this[_0x233593(0x177)]),this[_0x233593(0x18f)]&&this[_0x233593(0x198)][_0x233593(0x1a7)](this[_0x233593(0x18f)]),this[_0x233593(0x1ab)](this[_0x233593(0x17a)]());}[_0x83f014(0x17a)](){const _0x3b8d19=_0x83f014,_0x3f0e8a=this[_0x3b8d19(0x1a4)],_0x2ec1a3=[this[_0x3b8d19(0x192)]];return this[_0x3b8d19(0x177)]&&_0x2ec1a3[_0x3b8d19(0x1a0)](this[_0x3b8d19(0x177)]),this[_0x3b8d19(0x18f)]&&_0x2ec1a3[_0x3b8d19(0x1a0)](this[_0x3b8d19(0x18f)]),_0x2ec1a3[_0x3b8d19(0x1a0)](this[_0x3b8d19(0x199)]),{'tag':_0x3b8d19(0x197),'attributes':{'class':['ck',_0x3b8d19(0x1a2),_0x3b8d19(0x1a9),_0x3f0e8a['if'](_0x3b8d19(0x17c),_0x3b8d19(0x184)),_0x3f0e8a['to'](_0x3b8d19(0x178),_0x6650d6=>_0x3b8d19(0x191)+_0x6650d6),this[_0x3b8d19(0x19d)][_0x3b8d19(0x19e)]&&_0x3b8d19(0x179)],'data-suggestion-id':this[_0x3b8d19(0x17e)]['id'],'data-thread-id':this[_0x3b8d19(0x17e)][_0x3b8d19(0x1a5)]['id'],'data-author-id':this[_0x3b8d19(0x17e)][_0x3b8d19(0x1ac)]['id'],'tabindex':0x0,'role':_0x3b8d19(0x18c),'aria-label':_0x3f0e8a['to'](_0x3b8d19(0x19f)),'aria-describedby':this[_0x3b8d19(0x199)]['id']},'children':_0x2ec1a3};}[_0x83f014(0x1aa)](){const _0x423f4=_0x83f014;super[_0x423f4(0x1aa)](),this[_0x423f4(0x177)]&&(this[_0x423f4(0x177)][_0x423f4(0x1a6)](_0x423f4(0x19b))['to'](this),this[_0x423f4(0x177)][_0x423f4(0x1a6)](_0x423f4(0x187))['to'](this)),this[_0x423f4(0x18f)]&&(this[_0x423f4(0x18f)][_0x423f4(0x1a6)](_0x423f4(0x19b))['to'](this),this[_0x423f4(0x18f)][_0x423f4(0x1a6)](_0x423f4(0x187))['to'](this));}}
23
+ const _0x49c2c9=_0x5c77;(function(_0x294ac5,_0x3c7b49){const _0x34fefe=_0x5c77,_0x1ac2a5=_0x294ac5();while(!![]){try{const _0x1674cc=parseInt(_0x34fefe(0x183))/0x1+-parseInt(_0x34fefe(0x19e))/0x2+parseInt(_0x34fefe(0x190))/0x3+-parseInt(_0x34fefe(0x17a))/0x4+parseInt(_0x34fefe(0x18f))/0x5+-parseInt(_0x34fefe(0x184))/0x6+parseInt(_0x34fefe(0x189))/0x7;if(_0x1674cc===_0x3c7b49)break;else _0x1ac2a5['push'](_0x1ac2a5['shift']());}catch(_0x1bab5a){_0x1ac2a5['push'](_0x1ac2a5['shift']());}}}(_0x9338,0x94187));import{BaseSuggestionThreadView as _0x44e72e}from'./basesuggestionthreadview.js';import{trimHtml as _0x4793fc}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x5ae921}from'../../utils/utils.js';export class SuggestionThreadView extends _0x44e72e{[_0x49c2c9(0x1a5)];[_0x49c2c9(0x180)];constructor(_0x55bc5a,_0x4d9f43,_0x11d4b9,_0x302c17){const _0x411c1a=_0x49c2c9;super(_0x55bc5a,_0x4d9f43,_0x11d4b9,_0x302c17),this[_0x411c1a(0x199)](_0x411c1a(0x197),''),this[_0x411c1a(0x1a3)](_0x411c1a(0x197))['to'](this,_0x411c1a(0x1ad),_0x499e08=>_0x499e08&&_0x499e08[0x0]?_0x499e08[0x0][_0x411c1a(0x197)]:''),this[_0x411c1a(0x1a3)](_0x411c1a(0x17e))['to'](this,_0x411c1a(0x1ad),this,_0x411c1a(0x1a8),(_0x433d22,_0x3f66f8)=>{const _0x47c854=_0x411c1a;let _0x675517='';for(const _0x3d0865 of _0x433d22)_0x675517+=_0x47c854(0x18d)+_0x5ae921(_0x3d0865[_0x47c854(0x18c)],_0x3d0865[_0x47c854(0x18e)])+_0x47c854(0x181);return _0x3f66f8?_0x675517:_0x4793fc(_0x675517,{'limit':0x8c});}),this[_0x411c1a(0x180)]=null,this[_0x411c1a(0x1a5)]=new _0x302c17[(_0x411c1a(0x1ac))](_0x55bc5a,_0x4d9f43,{'formatDateTime':_0x302c17[_0x411c1a(0x19a)]}),this[_0x411c1a(0x1a5)][_0x411c1a(0x1a3)](_0x411c1a(0x17e))['to'](this),this[_0x411c1a(0x1a5)][_0x411c1a(0x188)](_0x411c1a(0x1aa),_0x411c1a(0x1a9))['to'](this),this[_0x411c1a(0x1a5)][_0x411c1a(0x186)][_0x411c1a(0x1a3)](_0x411c1a(0x198))['to'](this,_0x411c1a(0x18b)),this[_0x411c1a(0x1a5)][_0x411c1a(0x196)][_0x411c1a(0x1a3)](_0x411c1a(0x198))['to'](this,_0x411c1a(0x1a4)),this[_0x411c1a(0x194)][_0x411c1a(0x17c)](this[_0x411c1a(0x1a5)]),this[_0x411c1a(0x185)]&&this[_0x411c1a(0x194)][_0x411c1a(0x17c)](this[_0x411c1a(0x185)]),this[_0x411c1a(0x195)]&&this[_0x411c1a(0x194)][_0x411c1a(0x17c)](this[_0x411c1a(0x195)]),this[_0x411c1a(0x1a1)](this[_0x411c1a(0x17d)]());}[_0x49c2c9(0x17d)](){const _0x59c068=_0x49c2c9,_0x4a764d=this[_0x59c068(0x1a6)],_0x174408=[this[_0x59c068(0x1a5)]];return this[_0x59c068(0x185)]&&_0x174408[_0x59c068(0x19c)](this[_0x59c068(0x185)]),this[_0x59c068(0x195)]&&_0x174408[_0x59c068(0x19c)](this[_0x59c068(0x195)]),_0x174408[_0x59c068(0x19c)](this[_0x59c068(0x1a7)]),{'tag':_0x59c068(0x17b),'attributes':{'class':['ck',_0x59c068(0x1a2),_0x59c068(0x191),_0x4a764d['if'](_0x59c068(0x1a8),_0x59c068(0x178)),_0x4a764d['to'](_0x59c068(0x197),_0x5700e0=>_0x59c068(0x193)+_0x5700e0),this[_0x59c068(0x17f)][_0x59c068(0x19b)]&&_0x59c068(0x1a0)],'data-suggestion-id':this[_0x59c068(0x192)]['id'],'data-thread-id':this[_0x59c068(0x192)][_0x59c068(0x187)]['id'],'data-author-id':this[_0x59c068(0x192)][_0x59c068(0x19f)]['id'],'tabindex':0x0,'role':_0x59c068(0x182),'aria-label':_0x4a764d['to'](_0x59c068(0x1ab)),'aria-describedby':this[_0x59c068(0x1a7)]['id']},'children':_0x174408};}[_0x49c2c9(0x179)](){const _0x1ea6c3=_0x49c2c9;super[_0x1ea6c3(0x179)](),this[_0x1ea6c3(0x185)]&&(this[_0x1ea6c3(0x185)][_0x1ea6c3(0x188)](_0x1ea6c3(0x19d))['to'](this),this[_0x1ea6c3(0x185)][_0x1ea6c3(0x188)](_0x1ea6c3(0x18a))['to'](this)),this[_0x1ea6c3(0x195)]&&(this[_0x1ea6c3(0x195)][_0x1ea6c3(0x188)](_0x1ea6c3(0x19d))['to'](this),this[_0x1ea6c3(0x195)][_0x1ea6c3(0x188)](_0x1ea6c3(0x18a))['to'](this));}}function _0x5c77(_0x36d637,_0x285d21){const _0x933832=_0x9338();return _0x5c77=function(_0x5c7710,_0x2da76a){_0x5c7710=_0x5c7710-0x178;let _0x217fb1=_0x933832[_0x5c7710];return _0x217fb1;},_0x5c77(_0x36d637,_0x285d21);}function _0x9338(){const _0x39b7ca=['content','<p>','color','48000MaNkdl','611472ATGudR','ck-suggestion-wrapper','_model','ck-suggestion-','focusables','commentThreadInputView','discardButton','type','isEnabled','set','formatDateTime','disableComments','push','editorReady','1775464CfnsYy','author','ck-suggestion--disabled-comments','setTemplate','ck-rounded-corners','bind','canDiscard','suggestionView','bindTemplate','ariaDescriptionView','isActive','discardSuggestion','acceptSuggestion','ariaLabel','SuggestionView','descriptionParts','ck-suggestion-wrapper--active','render','506832blGcRM','div','add','getTemplate','description','_config','_descriptionElement','</p>','listitem','18825iVdLmL','6689406iwxvhT','commentsListView','acceptButton','commentThread','delegate','17525837AKmOTS','editorDestroyed','canAccept'];_0x9338=function(){return _0x39b7ca;};return _0x9338();}
@@ -9,14 +9,14 @@
9
9
  import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
10
10
  import { View, type TemplateDefinition, type FocusableView, ViewCollection, FocusCycler } from 'ckeditor5/src/ui.js';
11
11
  import { LateFocusButtonView, UserView } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
- import type Suggestion from '../../suggestion.js';
12
+ import { type Suggestion } from '../../suggestion.js';
13
13
  /**
14
14
  * A view displaying a detailed information about the suggestion as well as controls to accept or discard it.
15
15
  *
16
16
  * This view can be replaced by other view by overwriting the
17
17
  * {@link module:track-changes/trackchangesconfig~TrackChangesConfig#SuggestionView} configuration.
18
18
  */
19
- export default class SuggestionView extends View implements FocusableView {
19
+ export declare class SuggestionView extends View implements FocusableView {
20
20
  /**
21
21
  * A suggestion description explaining what has been changed. To be presented to the user.
22
22
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54e377=_0x4fea;(function(_0x2f6702,_0x273788){const _0x4cea62=_0x4fea,_0x143190=_0x2f6702();while(!![]){try{const _0x499f5f=parseInt(_0x4cea62(0x163))/0x1+-parseInt(_0x4cea62(0x17b))/0x2*(-parseInt(_0x4cea62(0x16a))/0x3)+-parseInt(_0x4cea62(0x166))/0x4+parseInt(_0x4cea62(0x151))/0x5*(-parseInt(_0x4cea62(0x17c))/0x6)+parseInt(_0x4cea62(0x127))/0x7+parseInt(_0x4cea62(0x15b))/0x8+-parseInt(_0x4cea62(0x158))/0x9;if(_0x499f5f===_0x273788)break;else _0x143190['push'](_0x143190['shift']());}catch(_0x2e4e47){_0x143190['push'](_0x143190['shift']());}}}(_0x2549,0x4a08c));import{FocusTracker as _0x41c848,KeystrokeHandler as _0x30bd98}from'ckeditor5/src/utils.js';import{View as _0x237440,ViewCollection as _0x54c6bb,FocusCycler as _0x4708e4}from'ckeditor5/src/ui.js';function _0x2549(){const _0x17b7d4=['_model','Discard\x20suggestion','ck-annotation__content-wrapper','focusCycler','shift+tab','add','tab','ck-comment__info-time','push','ck-suggestion__main','ck-comment__external','EXTERNAL_IMPORT_WORD_SUGGESTION','presentation','discardSuggestion','focusFirst','span','298120nfVvjz','ck-suggestion__info','enter','setTemplate','EXTERNAL_IMPORT_WORD_AVATAR','div','@external','2622636exbDjx','keystrokes','_createButton','1734352kEwTVf','isExternal','set','focusTracker','ck-annotation','authoredAt','change:description','getTemplate','209097NutsGX','ck-annotation__info','ck-suggestion__info-name','1630812ZqyDQd','render','focus','esc','3SdWdKu','name','ck-annotation__user','listenTo','source','acceptButton','acceptSuggestion','author','_config','ck-annotation__actions','importWord','getUserViewNotificationText','EXTERNAL_SUGGESTION','ck-suggestion__actions','focusables','querySelector','attributes','240936roeFdF','6eViLgK','bind','discardButton','3609312FRScuy','ck-suggestion__user','ck-suggestion','description','fire','extendTemplate','time','ck-suggestion--discard','ck-annotation__main','ck-suggestion--accept','bindTemplate','userView','getExternalSuggestionNote','innerHTML','formatDateTime','Accept\x20suggestion','EXTERNAL_AVATAR','locale','execute','.ck-annotation__content-wrapper','element','ck-annotation__info-name','ck-annotation__info-time','_setupKeyboardNavigation','creator','target'];_0x2549=function(){return _0x17b7d4;};return _0x2549();}function _0x4fea(_0x22534c,_0x398554){const _0x2549ad=_0x2549();return _0x4fea=function(_0x4fea79,_0x3468a3){_0x4fea79=_0x4fea79-0x125;let _0x907c92=_0x2549ad[_0x4fea79];return _0x907c92;},_0x4fea(_0x22534c,_0x398554);}import{LateFocusButtonView as _0x72d373,UserView as _0x1d4c00}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x41d0ae,IconCheck as _0x5d0fa0}from'ckeditor5/src/icons.js';import{getTranslation as _0x1f9a02}from'../../utils/common-translations.js';export default class we extends _0x237440{[_0x54e377(0x132)];[_0x54e377(0x16f)];[_0x54e377(0x126)];[_0x54e377(0x178)];[_0x54e377(0x15e)];[_0x54e377(0x159)];[_0x54e377(0x144)];[_0x54e377(0x141)];[_0x54e377(0x172)];constructor(_0x4be6bf,_0x36c598,_0x258659){const _0x336566=_0x54e377;super(_0x4be6bf),this[_0x336566(0x141)]=_0x36c598,this[_0x336566(0x172)]=_0x258659,this[_0x336566(0x15d)](_0x336566(0x12a),''),this[_0x336566(0x125)](_0x336566(0x160))['to'](_0x36c598),this[_0x336566(0x16f)]=this[_0x336566(0x15a)](_0x1f9a02(_0x4be6bf,_0x336566(0x136)),_0x5d0fa0,_0x336566(0x130),_0x336566(0x170),'sw'),this[_0x336566(0x126)]=this[_0x336566(0x15a)](_0x1f9a02(_0x4be6bf,_0x336566(0x142)),_0x41d0ae,_0x336566(0x12e),_0x336566(0x14e),'sw'),this[_0x336566(0x132)]=new _0x1d4c00(_0x4be6bf,_0x36c598[_0x336566(0x171)],this[_0x336566(0x175)]()),this[_0x336566(0x132)][_0x336566(0x12c)]({'attributes':{'class':[_0x336566(0x128),_0x336566(0x16c)],'aria-hidden':!0x0}}),this[_0x336566(0x178)]=new _0x54c6bb([this[_0x336566(0x16f)],this[_0x336566(0x126)]]),this[_0x336566(0x15e)]=new _0x41c848(),this[_0x336566(0x159)]=new _0x30bd98(),this[_0x336566(0x144)]=new _0x4708e4({'focusables':this[_0x336566(0x178)],'focusTracker':this[_0x336566(0x15e)],'keystrokeHandler':this[_0x336566(0x159)],'actions':{'focusPrevious':_0x336566(0x145),'focusNext':_0x336566(0x147)},'keystrokeHandlerOptions':{'filter':_0x2e9d47=>_0x2e9d47[_0x336566(0x140)]!==this[_0x336566(0x13b)]}}),this[_0x336566(0x154)](this[_0x336566(0x162)]());}[_0x54e377(0x167)](){const _0x54ef96=_0x54e377;super[_0x54ef96(0x167)]();const _0x8f2e4c=this[_0x54ef96(0x13b)][_0x54ef96(0x179)](_0x54ef96(0x13a));_0x8f2e4c[_0x54ef96(0x134)]=this[_0x54ef96(0x12a)],this['on'](_0x54ef96(0x161),(_0x5f12df,_0x380f49,_0x5f3d40)=>{const _0x59d9eb=_0x54ef96;_0x8f2e4c[_0x59d9eb(0x134)]=_0x5f3d40;}),this[_0x54ef96(0x13e)]();}[_0x54e377(0x162)](){const _0x42a021=_0x54e377,_0x156c35=this[_0x42a021(0x131)],_0x522b75=[{'tag':_0x42a021(0x156),'attributes':{'class':[_0x42a021(0x152),_0x42a021(0x164)]},'children':[{'tag':_0x42a021(0x150),'children':[{'text':this[_0x42a021(0x132)][_0x42a021(0x16b)]}],'attributes':{'class':[_0x42a021(0x165),_0x42a021(0x13c)],'data-cke-tooltip-text':this[_0x42a021(0x132)][_0x42a021(0x16b)]}},{'tag':_0x42a021(0x12d),'attributes':{'datetime':_0x156c35['to'](_0x42a021(0x160)),'class':[_0x42a021(0x148),_0x42a021(0x13d)]},'children':[{'text':_0x156c35['to'](_0x42a021(0x160),_0x2fb00f=>this[_0x42a021(0x172)][_0x42a021(0x135)](_0x2fb00f))}]}]},{'tag':_0x42a021(0x156),'attributes':{'class':[_0x42a021(0x177),_0x42a021(0x173)]},'children':[this[_0x42a021(0x16f)],this[_0x42a021(0x126)]]},{'tag':_0x42a021(0x156),'attributes':{'class':[_0x42a021(0x143)]}}];return this[_0x42a021(0x141)][_0x42a021(0x15c)]&&_0x522b75[_0x42a021(0x149)]({'tag':_0x42a021(0x156),'attributes':{'class':[_0x42a021(0x14b)]},'children':[{'text':this[_0x42a021(0x133)]()}]}),{'tag':_0x42a021(0x156),'attributes':{'class':[_0x42a021(0x129),_0x42a021(0x15f)],'tabindex':-0x1},'children':[this[_0x42a021(0x132)],{'tag':_0x42a021(0x156),'attributes':{'class':[_0x42a021(0x14a),_0x42a021(0x12f)],'role':_0x42a021(0x14d)},'children':_0x522b75}]};}[_0x54e377(0x168)](){const _0x558aa9=_0x54e377;this[_0x558aa9(0x13b)][_0x558aa9(0x168)]();}[_0x54e377(0x175)](){const _0x3585a5=_0x54e377;return this[_0x3585a5(0x141)][_0x3585a5(0x15c)]?_0x3585a5(0x174)===this[_0x3585a5(0x141)][_0x3585a5(0x17a)][_0x3585a5(0x157)][_0x3585a5(0x16e)]?_0x1f9a02(this[_0x3585a5(0x138)],_0x3585a5(0x155),this[_0x3585a5(0x141)][_0x3585a5(0x13f)][_0x3585a5(0x16b)]):_0x1f9a02(this[_0x3585a5(0x138)],_0x3585a5(0x137),this[_0x3585a5(0x141)][_0x3585a5(0x13f)][_0x3585a5(0x16b)]):null;}[_0x54e377(0x133)](){const _0x25d2eb=_0x54e377;return _0x25d2eb(0x174)===this[_0x25d2eb(0x141)][_0x25d2eb(0x17a)][_0x25d2eb(0x157)][_0x25d2eb(0x16e)]?_0x1f9a02(this[_0x25d2eb(0x138)],_0x25d2eb(0x14c)):_0x1f9a02(this[_0x25d2eb(0x138)],_0x25d2eb(0x176));}[_0x54e377(0x15a)](_0x436987,_0x2be741,_0x26e94b,_0x5aea99,_0x54b1e0){const _0x307bfd=_0x54e377,_0x44787f=new _0x72d373(this[_0x307bfd(0x138)]);return _0x44787f[_0x307bfd(0x15d)]({'label':_0x436987,'icon':_0x2be741,'tooltip':!0x0,'tooltipPosition':_0x54b1e0}),_0x44787f[_0x307bfd(0x12c)]({'attributes':{'class':_0x26e94b}}),_0x44787f['on'](_0x307bfd(0x139),()=>{const _0x2a5bc4=_0x307bfd;this[_0x2a5bc4(0x12b)](_0x5aea99,this[_0x2a5bc4(0x141)]['id']);}),_0x44787f;}[_0x54e377(0x13e)](){const _0x58c094=_0x54e377,_0x201e45=this[_0x58c094(0x13b)];this[_0x58c094(0x159)][_0x58c094(0x16d)](_0x201e45);for(const _0x4eb00f of this[_0x58c094(0x178)])this[_0x58c094(0x15e)][_0x58c094(0x146)](_0x4eb00f[_0x58c094(0x13b)]),this[_0x58c094(0x159)][_0x58c094(0x16d)](_0x4eb00f[_0x58c094(0x13b)]);this[_0x58c094(0x159)][_0x58c094(0x15d)](_0x58c094(0x153),(_0x20d124,_0x4c9454)=>{const _0x3efc4b=_0x58c094;_0x201e45===_0x20d124[_0x3efc4b(0x140)]&&(this[_0x3efc4b(0x144)][_0x3efc4b(0x14f)](),_0x4c9454());}),this[_0x58c094(0x159)][_0x58c094(0x15d)](_0x58c094(0x169),(_0x2bbf7a,_0x2854a6)=>{const _0xaf38fd=_0x58c094;_0x201e45!==_0x2bbf7a[_0xaf38fd(0x140)]&&(this[_0xaf38fd(0x168)](),_0x2854a6());});}}
23
+ const _0x2894d9=_0x2de2;(function(_0x1cde5e,_0x4ba17f){const _0x54d59e=_0x2de2,_0x234353=_0x1cde5e();while(!![]){try{const _0x4054aa=parseInt(_0x54d59e(0x1d5))/0x1+parseInt(_0x54d59e(0x1d8))/0x2*(-parseInt(_0x54d59e(0x1c0))/0x3)+-parseInt(_0x54d59e(0x1ec))/0x4*(parseInt(_0x54d59e(0x19c))/0x5)+parseInt(_0x54d59e(0x1df))/0x6*(-parseInt(_0x54d59e(0x19f))/0x7)+-parseInt(_0x54d59e(0x1ad))/0x8+-parseInt(_0x54d59e(0x1a6))/0x9*(parseInt(_0x54d59e(0x1a1))/0xa)+parseInt(_0x54d59e(0x1b3))/0xb;if(_0x4054aa===_0x4ba17f)break;else _0x234353['push'](_0x234353['shift']());}catch(_0x4209b6){_0x234353['push'](_0x234353['shift']());}}}(_0x4db1,0x31302));import{FocusTracker as _0x102f8e,KeystrokeHandler as _0x3618e3}from'ckeditor5/src/utils.js';import{View as _0x2741ec,ViewCollection as _0x54fdd2,FocusCycler as _0x3a468d}from'ckeditor5/src/ui.js';import{LateFocusButtonView as _0x3ea3a9,UserView as _0x2cca2a}from'ckeditor5-collaboration/src/collaboration-core.js';import{IconCancel as _0x52b007,IconCheck as _0x26a7ce}from'ckeditor5/src/icons.js';import{getTranslation as _0x4c897d}from'../../utils/common-translations.js';function _0x2de2(_0x391360,_0x254796){const _0x4db118=_0x4db1();return _0x2de2=function(_0x2de2db,_0x1b3271){_0x2de2db=_0x2de2db-0x194;let _0x17d266=_0x4db118[_0x2de2db];return _0x17d266;},_0x2de2(_0x391360,_0x254796);}export class SuggestionView extends _0x2741ec{[_0x2894d9(0x198)];[_0x2894d9(0x1e5)];[_0x2894d9(0x196)];[_0x2894d9(0x1ab)];[_0x2894d9(0x19b)];[_0x2894d9(0x194)];[_0x2894d9(0x1a3)];[_0x2894d9(0x1b2)];[_0x2894d9(0x1c6)];constructor(_0xcd75de,_0x3468f9,_0x2f4e22){const _0x1406ee=_0x2894d9;super(_0xcd75de),this[_0x1406ee(0x1b2)]=_0x3468f9,this[_0x1406ee(0x1c6)]=_0x2f4e22,this[_0x1406ee(0x1a7)](_0x1406ee(0x19a),''),this[_0x1406ee(0x1d0)](_0x1406ee(0x1be))['to'](_0x3468f9),this[_0x1406ee(0x1e5)]=this[_0x1406ee(0x1af)](_0x4c897d(_0xcd75de,_0x1406ee(0x1de)),_0x26a7ce,_0x1406ee(0x1e2),_0x1406ee(0x1ce),'sw'),this[_0x1406ee(0x196)]=this[_0x1406ee(0x1af)](_0x4c897d(_0xcd75de,_0x1406ee(0x1dc)),_0x52b007,_0x1406ee(0x19d),_0x1406ee(0x195),'sw'),this[_0x1406ee(0x198)]=new _0x2cca2a(_0xcd75de,_0x3468f9[_0x1406ee(0x1d4)],this[_0x1406ee(0x1e0)]()),this[_0x1406ee(0x198)][_0x1406ee(0x1bd)]({'attributes':{'class':[_0x1406ee(0x1a0),_0x1406ee(0x1d7)],'aria-hidden':!0x0}}),this[_0x1406ee(0x1ab)]=new _0x54fdd2([this[_0x1406ee(0x1e5)],this[_0x1406ee(0x196)]]),this[_0x1406ee(0x19b)]=new _0x102f8e(),this[_0x1406ee(0x194)]=new _0x3618e3(),this[_0x1406ee(0x1a3)]=new _0x3a468d({'focusables':this[_0x1406ee(0x1ab)],'focusTracker':this[_0x1406ee(0x19b)],'keystrokeHandler':this[_0x1406ee(0x194)],'actions':{'focusPrevious':_0x1406ee(0x1b5),'focusNext':_0x1406ee(0x1c1)},'keystrokeHandlerOptions':{'filter':_0x5c9b08=>_0x5c9b08[_0x1406ee(0x1c3)]!==this[_0x1406ee(0x1cf)]}}),this[_0x1406ee(0x1b6)](this[_0x1406ee(0x1c4)]());}[_0x2894d9(0x1c7)](){const _0x35345e=_0x2894d9;super[_0x35345e(0x1c7)]();const _0x59e9d9=this[_0x35345e(0x1cf)][_0x35345e(0x1e6)](_0x35345e(0x1c9));_0x59e9d9[_0x35345e(0x1d1)]=this[_0x35345e(0x19a)],this['on'](_0x35345e(0x1dd),(_0x52e386,_0x511697,_0x1c62b7)=>{const _0x59d855=_0x35345e;_0x59e9d9[_0x59d855(0x1d1)]=_0x1c62b7;}),this[_0x35345e(0x1d9)]();}[_0x2894d9(0x1c4)](){const _0x4c0548=_0x2894d9,_0x30095d=this[_0x4c0548(0x1e4)],_0x4d9263=[{'tag':_0x4c0548(0x1eb),'attributes':{'class':[_0x4c0548(0x1a4),_0x4c0548(0x1bc)]},'children':[{'tag':_0x4c0548(0x19e),'children':[{'text':this[_0x4c0548(0x198)][_0x4c0548(0x1ae)]}],'attributes':{'class':[_0x4c0548(0x1e9),_0x4c0548(0x1b7)],'data-cke-tooltip-text':this[_0x4c0548(0x198)][_0x4c0548(0x1ae)]}},{'tag':_0x4c0548(0x1cc),'attributes':{'datetime':_0x30095d['to'](_0x4c0548(0x1be)),'class':[_0x4c0548(0x1aa),_0x4c0548(0x1b0)]},'children':[{'text':_0x30095d['to'](_0x4c0548(0x1be),_0x4bd06c=>this[_0x4c0548(0x1c6)][_0x4c0548(0x1a9)](_0x4bd06c))}]}]},{'tag':_0x4c0548(0x1eb),'attributes':{'class':[_0x4c0548(0x1da),_0x4c0548(0x1ac)]},'children':[this[_0x4c0548(0x1e5)],this[_0x4c0548(0x196)]]},{'tag':_0x4c0548(0x1eb),'attributes':{'class':[_0x4c0548(0x1cb)]}}];return this[_0x4c0548(0x1b2)][_0x4c0548(0x1a5)]&&_0x4d9263[_0x4c0548(0x1b8)]({'tag':_0x4c0548(0x1eb),'attributes':{'class':[_0x4c0548(0x1e3)]},'children':[{'text':this[_0x4c0548(0x1b1)]()}]}),{'tag':_0x4c0548(0x1eb),'attributes':{'class':[_0x4c0548(0x1a8),_0x4c0548(0x1b9)],'tabindex':-0x1},'children':[this[_0x4c0548(0x198)],{'tag':_0x4c0548(0x1eb),'attributes':{'class':[_0x4c0548(0x1c5),_0x4c0548(0x1c2)],'role':_0x4c0548(0x1bf)},'children':_0x4d9263}]};}[_0x2894d9(0x197)](){const _0x4aef6a=_0x2894d9;this[_0x4aef6a(0x1cf)][_0x4aef6a(0x197)]();}[_0x2894d9(0x1e0)](){const _0x309bd=_0x2894d9;return this[_0x309bd(0x1b2)][_0x309bd(0x1a5)]?_0x309bd(0x1a2)===this[_0x309bd(0x1b2)][_0x309bd(0x1e8)][_0x309bd(0x1ea)][_0x309bd(0x1e1)]?_0x4c897d(this[_0x309bd(0x1d2)],_0x309bd(0x1ca),this[_0x309bd(0x1b2)][_0x309bd(0x199)][_0x309bd(0x1ae)]):_0x4c897d(this[_0x309bd(0x1d2)],_0x309bd(0x1c8),this[_0x309bd(0x1b2)][_0x309bd(0x199)][_0x309bd(0x1ae)]):null;}[_0x2894d9(0x1b1)](){const _0x173102=_0x2894d9;return _0x173102(0x1a2)===this[_0x173102(0x1b2)][_0x173102(0x1e8)][_0x173102(0x1ea)][_0x173102(0x1e1)]?_0x4c897d(this[_0x173102(0x1d2)],_0x173102(0x1cd)):_0x4c897d(this[_0x173102(0x1d2)],_0x173102(0x1e7));}[_0x2894d9(0x1af)](_0x4f6286,_0x44b528,_0x173749,_0x3e9c4a,_0x10e195){const _0x9fb963=_0x2894d9,_0x17906f=new _0x3ea3a9(this[_0x9fb963(0x1d2)]);return _0x17906f[_0x9fb963(0x1a7)]({'label':_0x4f6286,'icon':_0x44b528,'tooltip':!0x0,'tooltipPosition':_0x10e195}),_0x17906f[_0x9fb963(0x1bd)]({'attributes':{'class':_0x173749}}),_0x17906f['on'](_0x9fb963(0x1ba),()=>{const _0x66f91a=_0x9fb963;this[_0x66f91a(0x1bb)](_0x3e9c4a,this[_0x66f91a(0x1b2)]['id']);}),_0x17906f;}[_0x2894d9(0x1d9)](){const _0x5da4e0=_0x2894d9,_0x1e32bb=this[_0x5da4e0(0x1cf)];this[_0x5da4e0(0x194)][_0x5da4e0(0x1d6)](_0x1e32bb);for(const _0x7e616f of this[_0x5da4e0(0x1ab)])this[_0x5da4e0(0x19b)][_0x5da4e0(0x1db)](_0x7e616f[_0x5da4e0(0x1cf)]),this[_0x5da4e0(0x194)][_0x5da4e0(0x1d6)](_0x7e616f[_0x5da4e0(0x1cf)]);this[_0x5da4e0(0x194)][_0x5da4e0(0x1a7)](_0x5da4e0(0x1ed),(_0x36e14e,_0x5b2396)=>{const _0x6ef105=_0x5da4e0;_0x1e32bb===_0x36e14e[_0x6ef105(0x1c3)]&&(this[_0x6ef105(0x1a3)][_0x6ef105(0x1b4)](),_0x5b2396());}),this[_0x5da4e0(0x194)][_0x5da4e0(0x1a7)](_0x5da4e0(0x1d3),(_0x5d7cd7,_0x264895)=>{const _0x169ee7=_0x5da4e0;_0x1e32bb!==_0x5d7cd7[_0x169ee7(0x1c3)]&&(this[_0x169ee7(0x197)](),_0x264895());});}}function _0x4db1(){const _0x1855ca=['render','EXTERNAL_AVATAR','.ck-annotation__content-wrapper','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__content-wrapper','time','EXTERNAL_IMPORT_WORD_SUGGESTION','acceptSuggestion','element','bind','innerHTML','locale','esc','author','54856EzcKqA','listenTo','ck-annotation__user','140020AZgwtN','_setupKeyboardNavigation','ck-suggestion__actions','add','Discard\x20suggestion','change:description','Accept\x20suggestion','12876eRxyLW','getUserViewNotificationText','source','ck-suggestion--accept','ck-comment__external','bindTemplate','acceptButton','querySelector','EXTERNAL_SUGGESTION','attributes','ck-suggestion__info-name','@external','div','4bYafyP','enter','keystrokes','discardSuggestion','discardButton','focus','userView','creator','description','focusTracker','1407920rGeBxg','ck-suggestion--discard','span','1085uXttzz','ck-suggestion__user','1220730mREGcL','importWord','focusCycler','ck-suggestion__info','isExternal','9BTdoTj','set','ck-suggestion','formatDateTime','ck-comment__info-time','focusables','ck-annotation__actions','21296dJjBhq','name','_createButton','ck-annotation__info-time','getExternalSuggestionNote','_model','12051567NWXoBY','focusFirst','shift+tab','setTemplate','ck-annotation__info-name','push','ck-annotation','execute','fire','ck-annotation__info','extendTemplate','authoredAt','presentation','9bQYkGP','tab','ck-annotation__main','target','getTemplate','ck-suggestion__main','_config'];_0x4db1=function(){return _0x1855ca;};return _0x4db1();}
@@ -2,47 +2,4 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @module track-changes/ui/view/trackchangespreviewview
7
- * @publicApi
8
- */
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import { type Locale } from 'ckeditor5/src/utils.js';
11
- /**
12
- * The view that displays the preview of the final content where all the suggestions are accepted.
13
- */
14
- export default class TrackChangesPreviewView extends View {
15
- /**
16
- * The options for the preview dialog.
17
- */
18
- options: {
19
- dialogRects: {
20
- width: number;
21
- height: number;
22
- };
23
- };
24
- /**
25
- * @inheritDoc
26
- */
27
- constructor(locale: Locale, options: {
28
- dialogRects: {
29
- width: number;
30
- height: number;
31
- };
32
- });
33
- /**
34
- * @inheritDoc
35
- */
36
- render(): void;
37
- /**
38
- * Sets the data to be displayed in the preview.
39
- */
40
- setPreviewData(data: Array<[string, {
41
- classes: string;
42
- content: string;
43
- }]>, callback: (container: HTMLElement, elements: Array<HTMLElement>) => void): void;
44
- /**
45
- * @inheritDoc
46
- */
47
- focus(): void;
48
- }
5
+ export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x553d35=_0x6ad9;function _0x2ce9(){const _0x3f4d0a=['setTemplate','focus','render','2082200jFLBAN','className','content','height','ck-track-changes-preview','setAttribute','innerHTML','ck-reset','39woUJCU','\x20ck-track-changes-preview__root-container','data-ck-root-name','1735846eqyOYm','previewDataReady','5048199kMOIYf','setPreviewData','element','width','style','2569704xSivaN','div','3535630pZTqnk','push','650035gMmdTM','fire','27356GpTmlo','16KJImDp','classes','3EwqHzJ','createElement','options','dialogRects'];_0x2ce9=function(){return _0x3f4d0a;};return _0x2ce9();}(function(_0x4638c2,_0x22ee7e){const _0x2348d9=_0x6ad9,_0x163ea1=_0x4638c2();while(!![]){try{const _0x198db1=parseInt(_0x2348d9(0x159))/0x1*(parseInt(_0x2348d9(0x169))/0x2)+parseInt(_0x2348d9(0x16c))/0x3*(-parseInt(_0x2348d9(0x151))/0x4)+parseInt(_0x2348d9(0x167))/0x5+parseInt(_0x2348d9(0x163))/0x6+parseInt(_0x2348d9(0x15c))/0x7*(-parseInt(_0x2348d9(0x16a))/0x8)+parseInt(_0x2348d9(0x15e))/0x9+-parseInt(_0x2348d9(0x165))/0xa;if(_0x198db1===_0x22ee7e)break;else _0x163ea1['push'](_0x163ea1['shift']());}catch(_0x142064){_0x163ea1['push'](_0x163ea1['shift']());}}}(_0x2ce9,0x44fcf));function _0x6ad9(_0x1649b1,_0x4340bf){const _0x2ce9de=_0x2ce9();return _0x6ad9=function(_0x6ad9b3,_0x25781d){_0x6ad9b3=_0x6ad9b3-0x14f;let _0x28137f=_0x2ce9de[_0x6ad9b3];return _0x28137f;},_0x6ad9(_0x1649b1,_0x4340bf);}import{View as _0x3b94b5}from'ckeditor5/src/ui.js';export default class Me extends _0x3b94b5{[_0x553d35(0x16e)];constructor(_0x376583,_0x4fd4a0){const _0x39ad17=_0x553d35;super(_0x376583),this[_0x39ad17(0x16e)]=_0x4fd4a0,this[_0x39ad17(0x170)]({'tag':_0x39ad17(0x164),'attributes':{'class':['ck',_0x39ad17(0x158),_0x39ad17(0x155)],'tabindex':-0x1}});}[_0x553d35(0x150)](){const _0x137f79=_0x553d35;super[_0x137f79(0x150)](),this[_0x137f79(0x160)][_0x137f79(0x162)][_0x137f79(0x161)]=this[_0x137f79(0x16e)][_0x137f79(0x16f)][_0x137f79(0x161)]+'px',this[_0x137f79(0x160)][_0x137f79(0x162)][_0x137f79(0x154)]=this[_0x137f79(0x16e)][_0x137f79(0x16f)][_0x137f79(0x154)]+'px';}[_0x553d35(0x15f)](_0x17955b,_0x19a832){const _0x1b185e=_0x553d35;if(!this[_0x1b185e(0x160)])return;const _0x101714=[];for(const [_0x2dcaca,_0xfbd119]of _0x17955b){const _0x30574c=document[_0x1b185e(0x16d)](_0x1b185e(0x164));_0x30574c[_0x1b185e(0x156)](_0x1b185e(0x15b),_0x2dcaca),_0x30574c[_0x1b185e(0x152)]=_0xfbd119[_0x1b185e(0x16b)]+_0x1b185e(0x15a),_0x30574c[_0x1b185e(0x157)]=_0xfbd119[_0x1b185e(0x153)],_0x101714[_0x1b185e(0x166)](_0x30574c);}_0x19a832(this[_0x1b185e(0x160)],_0x101714),this[_0x1b185e(0x160)][_0x1b185e(0x162)][_0x1b185e(0x154)]='',this[_0x1b185e(0x168)](_0x1b185e(0x15d));}[_0x553d35(0x14f)](){const _0x455f67=_0x553d35;this[_0x455f67(0x160)][_0x455f67(0x14f)]();}}
23
+ const _0x59c6ef=_0x162e;(function(_0x1d186d,_0x19a67d){const _0x1de546=_0x162e,_0xb5d9ed=_0x1d186d();while(!![]){try{const _0x4a67d2=parseInt(_0x1de546(0x1ad))/0x1*(parseInt(_0x1de546(0x1ac))/0x2)+-parseInt(_0x1de546(0x18d))/0x3+-parseInt(_0x1de546(0x1a3))/0x4*(-parseInt(_0x1de546(0x19d))/0x5)+parseInt(_0x1de546(0x1aa))/0x6*(-parseInt(_0x1de546(0x197))/0x7)+parseInt(_0x1de546(0x19e))/0x8+-parseInt(_0x1de546(0x19b))/0x9*(-parseInt(_0x1de546(0x19c))/0xa)+parseInt(_0x1de546(0x18c))/0xb;if(_0x4a67d2===_0x19a67d)break;else _0xb5d9ed['push'](_0xb5d9ed['shift']());}catch(_0x4e3fa1){_0xb5d9ed['push'](_0xb5d9ed['shift']());}}}(_0x1ad8,0xac177));import{View as _0x525e66}from'ckeditor5/src/ui.js';function _0x162e(_0x41f468,_0x53f169){const _0x1ad846=_0x1ad8();return _0x162e=function(_0x162e39,_0x203f71){_0x162e39=_0x162e39-0x18c;let _0x5a272e=_0x1ad846[_0x162e39];return _0x5a272e;},_0x162e(_0x41f468,_0x53f169);}function _0x1ad8(){const _0x1506cf=['createElement','ck-track-changes-preview','174069xHApmc','dialogRects','previewDataReady','height','27otVJaU','229010frBXHH','153745xrmQqE','7827528CYOYPd','fire','className','push','innerHTML','56YmZXPl','content','data-ck-root-name','setTemplate','element','focus','style','132EOkeox','width','396468XuxlXV','2WnXHjQ','setAttribute','8498809PnyTzV','4184268lCezIZ','setPreviewData','ck-reset','options','render','div','classes','\x20ck-track-changes-preview__root-container'];_0x1ad8=function(){return _0x1506cf;};return _0x1ad8();}export class TrackChangesPreviewView extends _0x525e66{[_0x59c6ef(0x190)];constructor(_0x2bf3c6,_0x277bce){const _0x1ecc87=_0x59c6ef;super(_0x2bf3c6),this[_0x1ecc87(0x190)]=_0x277bce,this[_0x1ecc87(0x1a6)]({'tag':_0x1ecc87(0x192),'attributes':{'class':['ck',_0x1ecc87(0x18f),_0x1ecc87(0x196)],'tabindex':-0x1}});}[_0x59c6ef(0x191)](){const _0x2609ce=_0x59c6ef;super[_0x2609ce(0x191)](),this[_0x2609ce(0x1a7)][_0x2609ce(0x1a9)][_0x2609ce(0x1ab)]=this[_0x2609ce(0x190)][_0x2609ce(0x198)][_0x2609ce(0x1ab)]+'px',this[_0x2609ce(0x1a7)][_0x2609ce(0x1a9)][_0x2609ce(0x19a)]=this[_0x2609ce(0x190)][_0x2609ce(0x198)][_0x2609ce(0x19a)]+'px';}[_0x59c6ef(0x18e)](_0x300652,_0x29c7f2){const _0x46ee33=_0x59c6ef;if(!this[_0x46ee33(0x1a7)])return;const _0x434a3c=[];for(const [_0x1d3fe5,_0x164876]of _0x300652){const _0x2fed38=document[_0x46ee33(0x195)](_0x46ee33(0x192));_0x2fed38[_0x46ee33(0x1ae)](_0x46ee33(0x1a5),_0x1d3fe5),_0x2fed38[_0x46ee33(0x1a0)]=_0x164876[_0x46ee33(0x193)]+_0x46ee33(0x194),_0x2fed38[_0x46ee33(0x1a2)]=_0x164876[_0x46ee33(0x1a4)],_0x434a3c[_0x46ee33(0x1a1)](_0x2fed38);}_0x29c7f2(this[_0x46ee33(0x1a7)],_0x434a3c),this[_0x46ee33(0x1a7)][_0x46ee33(0x1a9)][_0x46ee33(0x19a)]='',this[_0x46ee33(0x19f)](_0x46ee33(0x199));}[_0x59c6ef(0x1a8)](){const _0x31d17a=_0x59c6ef;this[_0x31d17a(0x1a7)][_0x31d17a(0x1a8)]();}}