@ckeditor/ckeditor5-track-changes 46.1.1 → 47.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/build/track-changes.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +27 -27
  150. package/src/commands/acceptsuggestioncommand.js +1 -1
  151. package/src/commands/discardsuggestioncommand.js +1 -1
  152. package/src/commands/executeonallsuggestionscommand.js +1 -1
  153. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  154. package/src/commands/previewfinalcontentcommand.js +1 -1
  155. package/src/commands/trackchangescommand.js +1 -1
  156. package/src/index.js +1 -1
  157. package/src/integrations/aiassistant.js +1 -1
  158. package/src/integrations/alignment.js +1 -1
  159. package/src/integrations/basicstyles.js +1 -1
  160. package/src/integrations/blockquote.js +1 -1
  161. package/src/integrations/bookmark.js +1 -1
  162. package/src/integrations/casechange.js +1 -1
  163. package/src/integrations/ckbox.js +1 -1
  164. package/src/integrations/codeblock.js +1 -1
  165. package/src/integrations/comments.js +1 -1
  166. package/src/integrations/deletecommand.js +1 -1
  167. package/src/integrations/emoji.js +1 -1
  168. package/src/integrations/entercommand.js +1 -1
  169. package/src/integrations/findandreplace.js +1 -1
  170. package/src/integrations/font.js +1 -1
  171. package/src/integrations/formatpainter.js +1 -1
  172. package/src/integrations/heading.js +1 -1
  173. package/src/integrations/highlight.js +1 -1
  174. package/src/integrations/horizontalline.js +1 -1
  175. package/src/integrations/htmlembed.js +1 -1
  176. package/src/integrations/image.js +1 -1
  177. package/src/integrations/imagereplace.js +1 -1
  178. package/src/integrations/imagestyle.js +1 -1
  179. package/src/integrations/importword.js +1 -1
  180. package/src/integrations/indent.js +1 -1
  181. package/src/integrations/inputcommand.js +1 -1
  182. package/src/integrations/legacylist.js +1 -1
  183. package/src/integrations/legacylistproperties.js +1 -1
  184. package/src/integrations/lineheight.js +1 -1
  185. package/src/integrations/link.js +1 -1
  186. package/src/integrations/list.js +1 -1
  187. package/src/integrations/listproperties.js +1 -1
  188. package/src/integrations/mediaembed.js +1 -1
  189. package/src/integrations/mention.js +1 -1
  190. package/src/integrations/mergefields.js +1 -1
  191. package/src/integrations/multilevellist.js +1 -1
  192. package/src/integrations/pagebreak.js +1 -1
  193. package/src/integrations/paragraph.js +1 -1
  194. package/src/integrations/removeformat.js +1 -1
  195. package/src/integrations/replacesourcecommand.js +1 -1
  196. package/src/integrations/restrictededitingmode.js +1 -1
  197. package/src/integrations/shiftentercommand.js +1 -1
  198. package/src/integrations/standardeditingmode.js +1 -1
  199. package/src/integrations/style.js +1 -1
  200. package/src/integrations/table.js +1 -1
  201. package/src/integrations/tablecaption.js +1 -1
  202. package/src/integrations/tableclipboard.js +2 -2
  203. package/src/integrations/tablecolumnresize.js +1 -1
  204. package/src/integrations/tableheadings.js +1 -1
  205. package/src/integrations/tablelayout.js +1 -1
  206. package/src/integrations/tablemergesplit.js +1 -1
  207. package/src/integrations/tableofcontents.js +1 -1
  208. package/src/integrations/tableproperties.js +1 -1
  209. package/src/integrations/template.js +1 -1
  210. package/src/integrations/title.js +1 -1
  211. package/src/integrations/undo.js +1 -1
  212. package/src/integrations/uploadcare.js +1 -1
  213. package/src/integrations/utils.js +1 -1
  214. package/src/suggestion.js +2 -2
  215. package/src/suggestiondescriptionfactory.js +1 -1
  216. package/src/trackchanges.js +1 -1
  217. package/src/trackchangesdata.js +1 -1
  218. package/src/trackchangesediting.d.ts +3 -3
  219. package/src/trackchangesediting.js +1 -1
  220. package/src/trackchangespreview.js +1 -1
  221. package/src/trackchangesui.js +1 -1
  222. package/src/ui/suggestioncontroller.js +2 -2
  223. package/src/ui/view/basesuggestionthreadview.js +1 -1
  224. package/src/ui/view/suggestionthreadview.js +1 -1
  225. package/src/ui/view/suggestionview.js +1 -1
  226. package/src/ui/view/trackchangespreviewview.js +1 -1
  227. package/src/utils/common-translations.js +1 -1
  228. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d6739=_0x2d9f;function _0x2d9f(_0x207466,_0x43d9b1){const _0x24f0fb=_0x24f0();return _0x2d9f=function(_0x2d9fc4,_0xcd215e){_0x2d9fc4=_0x2d9fc4-0x1da;let _0x2bdaa5=_0x24f0fb[_0x2d9fc4];return _0x2bdaa5;},_0x2d9f(_0x207466,_0x43d9b1);}(function(_0x370015,_0x22ecfd){const _0x186337=_0x2d9f,_0x2bfce7=_0x370015();while(!![]){try{const _0x164e52=-parseInt(_0x186337(0x1e0))/0x1+-parseInt(_0x186337(0x20c))/0x2+-parseInt(_0x186337(0x211))/0x3*(parseInt(_0x186337(0x1e9))/0x4)+parseInt(_0x186337(0x204))/0x5+-parseInt(_0x186337(0x206))/0x6+parseInt(_0x186337(0x21a))/0x7+-parseInt(_0x186337(0x1fd))/0x8*(-parseInt(_0x186337(0x1da))/0x9);if(_0x164e52===_0x22ecfd)break;else _0x2bfce7['push'](_0x2bfce7['shift']());}catch(_0xecba12){_0x2bfce7['push'](_0x2bfce7['shift']());}}}(_0x24f0,0x48e33));function _0x24f0(){const _0x2be04f=['pluginName','2312015HEzbZE','Pagination','669264amXbrH','document','set','result','editorCreator','acceptAllSuggestions','920156Tkxcgb','trackChangesData.editorCreator','appendChild','getDataWithAcceptedSuggestions','push','4341kqNiNP','createDocumentFragment','getDataWithDiscardedSuggestions','editor','getRootNames','reduce','data','define','plugins','50022cisxqE','createElement','addCommentThread','model','10537740clkmyV','getUser','remove','init','addUser','constructor','265237CJhodf','join','create','TrackChangesEditing','addSuggestionData','execute','TrackChangesData','getRootsAttributes','trackChangesData','1396PpkNDz','track-changes-data-invalid-editor-creator','useAnonymousUser','config','isOfficialPlugin','getFullData','CommentsRepository','rootsAttributes','isPremiumPlugin','get','map','getCommentThreads','function','destroy','_adapter','name','TrackChangesDataGetter','discardAllSuggestions','requires','end','8KRvzmq','users','div','Users','getSuggestions','fromCharCode'];_0x24f0=function(){return _0x2be04f;};return _0x24f0();}import{Plugin as _0x1d699f}from'ckeditor5/src/core.js';import{CKEditorError as _0xd13e4f}from'ckeditor5/src/utils.js';import{TrackChangesEditing as _0xc16e7c}from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x215246}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x3d6739(0x205)];export class TrackChangesData extends _0x1d699f{static get[_0x3d6739(0x1fb)](){return[_0xc16e7c];}static get[_0x3d6739(0x203)](){const _0x57a98c=_0x3d6739;return _0x57a98c(0x1e6);}static get[_0x3d6739(0x1ed)](){return!0x0;}static get[_0x3d6739(0x1f1)](){return!0x0;}[_0x3d6739(0x1dd)](){const _0x41d8ae=_0x3d6739,_0x3253ee=this[_0x41d8ae(0x214)];if(_0x3253ee[_0x41d8ae(0x1ec)][_0x41d8ae(0x218)](_0x41d8ae(0x20d),_0xa78083=>{const _0x4da6a3=_0x41d8ae,_0x56f0f8=_0x3253ee[_0x4da6a3(0x21d)][_0x4da6a3(0x207)][_0x4da6a3(0x215)]()[_0x4da6a3(0x216)]((_0x335fcf,_0x1be395)=>(_0x335fcf[_0x1be395]='',_0x335fcf),{});return _0x3253ee[_0x4da6a3(0x1df)][_0x4da6a3(0x1e2)](_0x56f0f8,_0xa78083);}),_0x41d8ae(0x1f5)!=typeof _0x3253ee[_0x41d8ae(0x1ec)][_0x41d8ae(0x1f2)](_0x41d8ae(0x1e8))[_0x41d8ae(0x20a)])throw new _0xd13e4f(_0x41d8ae(0x1ea));}[_0x3d6739(0x20f)](_0x39dbcb){const _0x2a30de=_0x3d6739;return P(this[_0x2a30de(0x214)],!0x0,_0x39dbcb);}[_0x3d6739(0x213)](_0x1af478){const _0x492111=_0x3d6739;return P(this[_0x492111(0x214)],!0x1,_0x1af478);}}export class TrackChangesDataGetter extends _0x1d699f{[_0x3d6739(0x209)];static get[_0x3d6739(0x203)](){const _0x14e88c=_0x3d6739;return _0x14e88c(0x1f9);}static get[_0x3d6739(0x1ed)](){return!0x0;}static get[_0x3d6739(0x1f1)](){return!0x0;}constructor(_0xafb2f5){const _0x3f0791=_0x3d6739;function _0x2783a2(_0x5abdbf){const _0x56f29d=_0x2d9f;return _0x5abdbf[_0x56f29d(0x1f3)](_0x2f37d4=>String[_0x56f29d(0x202)](_0x2f37d4))[_0x56f29d(0x1e1)]('');}super(_0xafb2f5),this[_0x3f0791(0x209)]=_0x3f0791(0x1fc),_0xafb2f5[_0x2783a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2783a2([0x76,0x69,0x65,0x77])][_0x2783a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2783a2([0x61,0x75,0x74,0x6f]),_0xafb2f5[_0x2783a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x2783a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2783a2([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x2783a2([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x2783a2([0x6f,0x6b])});}[_0x3d6739(0x1dd)](){const _0x4fea03=_0x3d6739;this[_0x4fea03(0x214)][_0x4fea03(0x219)][_0x4fea03(0x1f2)](_0x4fea03(0x1ef))[_0x4fea03(0x1f7)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x4fea03(0x214)][_0x4fea03(0x219)][_0x4fea03(0x1f2)](_0x4fea03(0x1e3))[_0x4fea03(0x1f7)]=null;}}function k(_0x1ec10d){const _0x12f561=_0x3d6739;return void 0x0!==_0x1ec10d[_0x12f561(0x1e7)];}async function P(_0x5659e4,_0x557aaf,_0x320b48){const _0x2f5be0=_0x3d6739,_0x456014=_0x215246(_0x5659e4,p);_0x456014[_0x2f5be0(0x219)][_0x2f5be0(0x210)](_0xc16e7c,TrackChangesDataGetter),_0x456014[_0x2f5be0(0x1f0)]=k(_0x5659e4)?_0x5659e4[_0x2f5be0(0x1e7)]():void 0x0;const _0x2f8223=document[_0x2f5be0(0x212)](),_0x2e4a0e=_0x5659e4[_0x2f5be0(0x1ec)][_0x2f5be0(0x1f2)](_0x2f5be0(0x1e8))[_0x2f5be0(0x20a)],_0x9ab70e=await _0x2e4a0e(_0x456014,()=>function(_0x272150){const _0x29c7c0=_0x2f5be0,_0x2b6caf=document[_0x29c7c0(0x21b)](_0x29c7c0(0x1ff));return _0x272150[_0x29c7c0(0x20e)](_0x2b6caf),_0x2b6caf;}(_0x2f8223));!function(_0x1bc68a,_0x497e7b){const _0x26d2b0=_0x2f5be0,_0x55f0a9=_0x1bc68a[_0x26d2b0(0x21d)][_0x26d2b0(0x207)][_0x26d2b0(0x215)]()[_0x26d2b0(0x216)]((_0x440c8b,_0x281101)=>(_0x440c8b[_0x281101]=_0x1bc68a[_0x26d2b0(0x217)][_0x26d2b0(0x1f2)]({'rootName':_0x281101}),_0x440c8b),{}),_0x4a435f=_0x1bc68a[_0x26d2b0(0x219)][_0x26d2b0(0x1f2)](_0x26d2b0(0x200))[_0x26d2b0(0x1fe)][_0x26d2b0(0x1f3)](_0x9512d1=>({'id':_0x9512d1['id'],'name':_0x9512d1[_0x26d2b0(0x1f8)]})),_0x18259f=_0x1bc68a[_0x26d2b0(0x219)][_0x26d2b0(0x1f2)](_0x26d2b0(0x1e3))[_0x26d2b0(0x201)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xbd3f5d=_0x1bc68a[_0x26d2b0(0x219)][_0x26d2b0(0x1f2)](_0x26d2b0(0x1ef))[_0x26d2b0(0x1f4)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x58708d=_0x497e7b[_0x26d2b0(0x219)][_0x26d2b0(0x1f2)](_0x26d2b0(0x200)),_0x2771b7=_0x497e7b[_0x26d2b0(0x219)][_0x26d2b0(0x1f2)](_0x26d2b0(0x1e3)),_0x5708ea=_0x497e7b[_0x26d2b0(0x219)][_0x26d2b0(0x1f2)](_0x26d2b0(0x1ef));for(const _0x522f4f of _0x5708ea[_0x26d2b0(0x1f4)]())_0x522f4f[_0x26d2b0(0x1dc)]();for(const _0x26f269 of _0x4a435f)_0x58708d[_0x26d2b0(0x1db)](_0x26f269['id'])||_0x58708d[_0x26d2b0(0x1de)](_0x26f269);_0x58708d['me']||_0x58708d[_0x26d2b0(0x1eb)]();for(const _0x5ab637 of _0xbd3f5d)_0x5708ea[_0x26d2b0(0x21c)](_0x5ab637);for(const _0x1692e8 of _0x18259f)_0x2771b7[_0x26d2b0(0x1e4)](_0x1692e8);_0x497e7b[_0x26d2b0(0x217)][_0x26d2b0(0x208)](_0x55f0a9);}(_0x5659e4,_0x9ab70e),_0x9ab70e[_0x2f5be0(0x1e5)](_0x557aaf?_0x2f5be0(0x20b):_0x2f5be0(0x1fa));const _0x1d4707=k(_0x9ab70e)?_0x9ab70e[_0x2f5be0(0x1ee)](_0x320b48):_0x9ab70e[_0x2f5be0(0x217)][_0x2f5be0(0x1f2)](_0x320b48);return await _0x9ab70e[_0x2f5be0(0x1f6)](),_0x1d4707;}
23
+ const _0x434f90=_0x19ec;(function(_0x3053be,_0x48dc77){const _0x3d8801=_0x19ec,_0x227df9=_0x3053be();while(!![]){try{const _0x242495=-parseInt(_0x3d8801(0x145))/0x1*(-parseInt(_0x3d8801(0x144))/0x2)+-parseInt(_0x3d8801(0x16f))/0x3+parseInt(_0x3d8801(0x167))/0x4+-parseInt(_0x3d8801(0x158))/0x5*(-parseInt(_0x3d8801(0x13d))/0x6)+parseInt(_0x3d8801(0x15c))/0x7+-parseInt(_0x3d8801(0x16b))/0x8+-parseInt(_0x3d8801(0x140))/0x9;if(_0x242495===_0x48dc77)break;else _0x227df9['push'](_0x227df9['shift']());}catch(_0x57f565){_0x227df9['push'](_0x227df9['shift']());}}}(_0x29aa,0xb5b6d));import{Plugin as _0x4f2809}from'ckeditor5/src/core.js';import{CKEditorError as _0x3565c2}from'ckeditor5/src/utils.js';function _0x29aa(){const _0x5b1acc=['join','get','track-changes-data-invalid-editor-creator','6RnHrPo','55387HfIvrI','addSuggestionData','plugins','pluginName','appendChild','TrackChangesDataGetter','editorCreator','trackChangesData.editorCreator','constructor','getCommentThreads','TrackChangesEditing','define','config','end','requires','useAnonymousUser','create','rootsAttributes','getSuggestions','5258245mutnUV','map','trackChangesData','isOfficialPlugin','4454870rBDkDb','users','getDataWithDiscardedSuggestions','Users','fromCharCode','getFullData','destroy','getRootNames','discardAllSuggestions','getUser','push','3282448cvjjkq','function','data','addCommentThread','1438552Iamkyb','isPremiumPlugin','result','document','1561740ewfHyy','init','editor','set','createDocumentFragment','CommentsRepository','_adapter','reduce','name','TrackChangesData','div','remove','acceptAllSuggestions','Pagination','getDataWithAcceptedSuggestions','createElement','execute','model','6diiJby','getRootsAttributes','addUser','11071188TAOhIr'];_0x29aa=function(){return _0x5b1acc;};return _0x29aa();}import{TrackChangesEditing as _0x5a84b5}from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x56eee8}from'ckeditor5-collaboration/src/collaboration-core.js';const p=[_0x434f90(0x138)];export class TrackChangesData extends _0x4f2809{static get[_0x434f90(0x153)](){return[_0x5a84b5];}static get[_0x434f90(0x148)](){const _0x29c92f=_0x434f90;return _0x29c92f(0x134);}static get[_0x434f90(0x15b)](){return!0x0;}static get[_0x434f90(0x16c)](){return!0x0;}[_0x434f90(0x12c)](){const _0x2d55d4=_0x434f90,_0x3d1850=this[_0x2d55d4(0x12d)];if(_0x3d1850[_0x2d55d4(0x151)][_0x2d55d4(0x150)](_0x2d55d4(0x14c),_0x3399e3=>{const _0x334e85=_0x2d55d4,_0x2a9992=_0x3d1850[_0x334e85(0x13c)][_0x334e85(0x16e)][_0x334e85(0x163)]()[_0x334e85(0x132)]((_0x421348,_0x3e39ed)=>(_0x421348[_0x3e39ed]='',_0x421348),{});return _0x3d1850[_0x334e85(0x14d)][_0x334e85(0x155)](_0x2a9992,_0x3399e3);}),_0x2d55d4(0x168)!=typeof _0x3d1850[_0x2d55d4(0x151)][_0x2d55d4(0x142)](_0x2d55d4(0x15a))[_0x2d55d4(0x14b)])throw new _0x3565c2(_0x2d55d4(0x143));}[_0x434f90(0x139)](_0xe4d2e6){const _0x24c73e=_0x434f90;return P(this[_0x24c73e(0x12d)],!0x0,_0xe4d2e6);}[_0x434f90(0x15e)](_0xdc86c1){const _0x12441f=_0x434f90;return P(this[_0x12441f(0x12d)],!0x1,_0xdc86c1);}}export class TrackChangesDataGetter extends _0x4f2809{[_0x434f90(0x16d)];static get[_0x434f90(0x148)](){const _0x164bc4=_0x434f90;return _0x164bc4(0x14a);}static get[_0x434f90(0x15b)](){return!0x0;}static get[_0x434f90(0x16c)](){return!0x0;}constructor(_0x1ffb21){const _0x26c8d2=_0x434f90;function _0x8023a0(_0x36a0ff){const _0x51b1dc=_0x19ec;return _0x36a0ff[_0x51b1dc(0x159)](_0x354520=>String[_0x51b1dc(0x160)](_0x354520))[_0x51b1dc(0x141)]('');}super(_0x1ffb21),this[_0x26c8d2(0x16d)]=_0x26c8d2(0x152),_0x1ffb21[_0x8023a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x8023a0([0x76,0x69,0x65,0x77])][_0x8023a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x8023a0([0x61,0x75,0x74,0x6f]),_0x1ffb21[_0x8023a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x8023a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x8023a0([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x8023a0([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x8023a0([0x6f,0x6b])});}[_0x434f90(0x12c)](){const _0x437cbc=_0x434f90;this[_0x437cbc(0x12d)][_0x437cbc(0x147)][_0x437cbc(0x142)](_0x437cbc(0x130))[_0x437cbc(0x131)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x437cbc(0x12d)][_0x437cbc(0x147)][_0x437cbc(0x142)](_0x437cbc(0x14f))[_0x437cbc(0x131)]=null;}}function k(_0x5912b6){const _0x1aba78=_0x434f90;return void 0x0!==_0x5912b6[_0x1aba78(0x13e)];}function _0x19ec(_0x4d83dd,_0x44f2b4){const _0x29aa58=_0x29aa();return _0x19ec=function(_0x19ecc9,_0x1d5d63){_0x19ecc9=_0x19ecc9-0x12c;let _0x3ab97c=_0x29aa58[_0x19ecc9];return _0x3ab97c;},_0x19ec(_0x4d83dd,_0x44f2b4);}async function P(_0x37f519,_0x646659,_0x580948){const _0x336162=_0x434f90,_0x508184=_0x56eee8(_0x37f519,p);_0x508184[_0x336162(0x147)][_0x336162(0x166)](_0x5a84b5,TrackChangesDataGetter),_0x508184[_0x336162(0x156)]=k(_0x37f519)?_0x37f519[_0x336162(0x13e)]():void 0x0;const _0x564c91=document[_0x336162(0x12f)](),_0x1dbdf8=_0x37f519[_0x336162(0x151)][_0x336162(0x142)](_0x336162(0x15a))[_0x336162(0x14b)],_0x3d1c8e=await _0x1dbdf8(_0x508184,()=>function(_0x483367){const _0x38566e=_0x336162,_0x5c35f2=document[_0x38566e(0x13a)](_0x38566e(0x135));return _0x483367[_0x38566e(0x149)](_0x5c35f2),_0x5c35f2;}(_0x564c91));!function(_0x51bc22,_0x114b39){const _0x3d55c4=_0x336162,_0x50aef7=_0x51bc22[_0x3d55c4(0x13c)][_0x3d55c4(0x16e)][_0x3d55c4(0x163)]()[_0x3d55c4(0x132)]((_0x1ba8b4,_0x13196e)=>(_0x1ba8b4[_0x13196e]=_0x51bc22[_0x3d55c4(0x169)][_0x3d55c4(0x142)]({'rootName':_0x13196e}),_0x1ba8b4),{}),_0x34ea1e=_0x51bc22[_0x3d55c4(0x147)][_0x3d55c4(0x142)](_0x3d55c4(0x15f))[_0x3d55c4(0x15d)][_0x3d55c4(0x159)](_0x30861f=>({'id':_0x30861f['id'],'name':_0x30861f[_0x3d55c4(0x133)]})),_0x27e50d=_0x51bc22[_0x3d55c4(0x147)][_0x3d55c4(0x142)](_0x3d55c4(0x14f))[_0x3d55c4(0x157)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x3e4377=_0x51bc22[_0x3d55c4(0x147)][_0x3d55c4(0x142)](_0x3d55c4(0x130))[_0x3d55c4(0x14e)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x7d6112=_0x114b39[_0x3d55c4(0x147)][_0x3d55c4(0x142)](_0x3d55c4(0x15f)),_0x2a0b5e=_0x114b39[_0x3d55c4(0x147)][_0x3d55c4(0x142)](_0x3d55c4(0x14f)),_0x19665d=_0x114b39[_0x3d55c4(0x147)][_0x3d55c4(0x142)](_0x3d55c4(0x130));for(const _0x58b180 of _0x19665d[_0x3d55c4(0x14e)]())_0x58b180[_0x3d55c4(0x136)]();for(const _0x57d5e4 of _0x34ea1e)_0x7d6112[_0x3d55c4(0x165)](_0x57d5e4['id'])||_0x7d6112[_0x3d55c4(0x13f)](_0x57d5e4);_0x7d6112['me']||_0x7d6112[_0x3d55c4(0x154)]();for(const _0x2e0ff4 of _0x3e4377)_0x19665d[_0x3d55c4(0x16a)](_0x2e0ff4);for(const _0x27e9c8 of _0x27e50d)_0x2a0b5e[_0x3d55c4(0x146)](_0x27e9c8);_0x114b39[_0x3d55c4(0x169)][_0x3d55c4(0x12e)](_0x50aef7);}(_0x37f519,_0x3d1c8e),_0x3d1c8e[_0x336162(0x13b)](_0x646659?_0x336162(0x137):_0x336162(0x164));const _0x498a06=k(_0x3d1c8e)?_0x3d1c8e[_0x336162(0x161)](_0x580948):_0x3d1c8e[_0x336162(0x169)][_0x336162(0x142)](_0x580948);return await _0x3d1c8e[_0x336162(0x162)](),_0x498a06;}
@@ -7,8 +7,8 @@
7
7
  * @publicApi
8
8
  */
9
9
  import { Plugin, PendingActions, type Editor } from 'ckeditor5/src/core.js';
10
- import { type ModelElement, type ModelRange } from 'ckeditor5/src/engine.js';
11
- import { Users } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
+ import { ModelRange, type ModelElement } from 'ckeditor5/src/engine.js';
11
+ import { Users, DocumentCompare } from 'ckeditor5-collaboration/src/collaboration-core.js';
12
12
  import { TrackChangesCommand } from './commands/trackchangescommand.js';
13
13
  import { Suggestion, type SuggestionJSON } from './suggestion.js';
14
14
  import { SuggestionDescriptionFactory } from './suggestiondescriptionfactory.js';
@@ -87,7 +87,7 @@ export declare class TrackChangesEditing extends Plugin {
87
87
  * Reference to command that turns the track changes mode on and off.
88
88
  */
89
89
  trackChangesCommand: TrackChangesCommand;
90
- static get requires(): readonly ["CommentsRepository", typeof Users, typeof PendingActions, typeof TrackChangesAIAssistant, typeof TrackChangesAlignment, typeof TrackChangesBasicStyles, typeof TrackChangesBlockQuote, typeof TrackChangesBookmark, typeof TrackChangesCKBox, typeof TrackChangesCaseChange, typeof TrackChangesCodeBlock, typeof TrackChangesComments, typeof TrackChangesDeleteCommand, typeof TrackChangesEmoji, typeof TrackChangesEnterCommand, typeof TrackChangesFindAndReplace, typeof TrackChangesFont, typeof TrackChangesFormatPainter, typeof TrackChangesHeading, typeof TrackChangesHighlight, typeof TrackChangesHorizontalLine, typeof TrackChangesHtmlEmbed, typeof TrackChangesImage, typeof TrackChangesImageStyle, typeof TrackChangesImageReplace, typeof TrackChangesImportWord, typeof TrackChangesIndent, typeof TrackChangesInputCommand, typeof TrackChangesLegacyList, typeof TrackChangesLegacyListProperties, typeof TrackChangesMultiLevelList, typeof TrackChangesLink, typeof TrackChangesList, typeof TrackChangesLineHeight, typeof TrackChangesDocumentListProperties, typeof TrackChangesMediaEmbed, typeof TrackChangesMention, typeof TrackChangesMergeFields, typeof TrackChangesPageBreak, typeof TrackChangesParagraph, typeof TrackChangesReplaceSourceCommand, typeof TrackChangesRemoveFormat, typeof TrackChangesRestrictedEditingMode, typeof TrackChangesShiftEnterCommand, typeof TrackChangesStandardEditingMode, typeof TrackChangesStylesDropdown, typeof TrackChangesTable, typeof TrackChangesTableMergeSplit, typeof TrackChangesTableHeadings, typeof TrackChangesTableLayout, typeof TrackChangesTableCaption, typeof TrackChangesTableClipboard, typeof TrackChangesTableColumnResize, typeof TrackChangesTableOfContents, typeof TrackChangesTableProperties, typeof TrackChangesTemplate, typeof TrackChangesTitle, typeof TrackChangesUploadcare, typeof TrackChangesUndo];
90
+ static get requires(): readonly ["CommentsRepository", typeof Users, typeof PendingActions, typeof DocumentCompare, typeof TrackChangesAIAssistant, typeof TrackChangesAlignment, typeof TrackChangesBasicStyles, typeof TrackChangesBlockQuote, typeof TrackChangesBookmark, typeof TrackChangesCKBox, typeof TrackChangesCaseChange, typeof TrackChangesCodeBlock, typeof TrackChangesComments, typeof TrackChangesDeleteCommand, typeof TrackChangesEmoji, typeof TrackChangesEnterCommand, typeof TrackChangesFindAndReplace, typeof TrackChangesFont, typeof TrackChangesFormatPainter, typeof TrackChangesHeading, typeof TrackChangesHighlight, typeof TrackChangesHorizontalLine, typeof TrackChangesHtmlEmbed, typeof TrackChangesImage, typeof TrackChangesImageStyle, typeof TrackChangesImageReplace, typeof TrackChangesImportWord, typeof TrackChangesIndent, typeof TrackChangesInputCommand, typeof TrackChangesLegacyList, typeof TrackChangesLegacyListProperties, typeof TrackChangesMultiLevelList, typeof TrackChangesLink, typeof TrackChangesList, typeof TrackChangesLineHeight, typeof TrackChangesDocumentListProperties, typeof TrackChangesMediaEmbed, typeof TrackChangesMention, typeof TrackChangesMergeFields, typeof TrackChangesPageBreak, typeof TrackChangesParagraph, typeof TrackChangesReplaceSourceCommand, typeof TrackChangesRemoveFormat, typeof TrackChangesRestrictedEditingMode, typeof TrackChangesShiftEnterCommand, typeof TrackChangesStandardEditingMode, typeof TrackChangesStylesDropdown, typeof TrackChangesTable, typeof TrackChangesTableMergeSplit, typeof TrackChangesTableHeadings, typeof TrackChangesTableLayout, typeof TrackChangesTableCaption, typeof TrackChangesTableClipboard, typeof TrackChangesTableColumnResize, typeof TrackChangesTableOfContents, typeof TrackChangesTableProperties, typeof TrackChangesTemplate, typeof TrackChangesTitle, typeof TrackChangesUploadcare, typeof TrackChangesUndo];
91
91
  static get pluginName(): "TrackChangesEditing";
92
92
  /**
93
93
  * @inheritDoc