@ckeditor/ckeditor5-track-changes 40.1.0 → 41.0.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 (242) hide show
  1. package/CHANGELOG.md +20 -20
  2. package/LICENSE.md +1 -1
  3. package/README.md +1 -1
  4. package/build/track-changes.js +3 -3
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de.js +1 -1
  13. package/build/translations/el.js +1 -1
  14. package/build/translations/en-au.js +1 -1
  15. package/build/translations/es.js +1 -1
  16. package/build/translations/et.js +1 -1
  17. package/build/translations/fi.js +1 -1
  18. package/build/translations/fr.js +1 -1
  19. package/build/translations/gl.js +1 -1
  20. package/build/translations/he.js +1 -1
  21. package/build/translations/hi.js +1 -1
  22. package/build/translations/hr.js +1 -1
  23. package/build/translations/hu.js +1 -1
  24. package/build/translations/id.js +1 -1
  25. package/build/translations/it.js +1 -1
  26. package/build/translations/ja.js +1 -1
  27. package/build/translations/ko.js +1 -1
  28. package/build/translations/lt.js +1 -1
  29. package/build/translations/lv.js +1 -1
  30. package/build/translations/ms.js +1 -1
  31. package/build/translations/nl.js +1 -1
  32. package/build/translations/no.js +1 -1
  33. package/build/translations/pl.js +1 -1
  34. package/build/translations/pt-br.js +1 -1
  35. package/build/translations/pt.js +1 -1
  36. package/build/translations/ro.js +1 -1
  37. package/build/translations/ru.js +1 -1
  38. package/build/translations/sk.js +1 -1
  39. package/build/translations/sq.js +1 -1
  40. package/build/translations/sr-latn.js +1 -1
  41. package/build/translations/sr.js +1 -1
  42. package/build/translations/sv.js +1 -1
  43. package/build/translations/th.js +1 -1
  44. package/build/translations/tk.js +1 -1
  45. package/build/translations/tr.js +1 -1
  46. package/build/translations/tt.js +1 -1
  47. package/build/translations/uk.js +1 -1
  48. package/build/translations/ur.js +1 -1
  49. package/build/translations/vi.js +1 -1
  50. package/build/translations/zh-cn.js +1 -1
  51. package/build/translations/zh.js +1 -1
  52. package/lang/translations/ar.po +6 -6
  53. package/lang/translations/az.po +5 -5
  54. package/lang/translations/bg.po +6 -6
  55. package/lang/translations/bn.po +6 -6
  56. package/lang/translations/ca.po +6 -6
  57. package/lang/translations/cs.po +6 -6
  58. package/lang/translations/da.po +6 -6
  59. package/lang/translations/de.po +6 -6
  60. package/lang/translations/el.po +6 -6
  61. package/lang/translations/en-au.po +6 -6
  62. package/lang/translations/en.po +6 -6
  63. package/lang/translations/es.po +7 -7
  64. package/lang/translations/et.po +6 -6
  65. package/lang/translations/fi.po +6 -6
  66. package/lang/translations/fr.po +6 -6
  67. package/lang/translations/gl.po +37 -37
  68. package/lang/translations/he.po +6 -6
  69. package/lang/translations/hi.po +6 -6
  70. package/lang/translations/hr.po +6 -6
  71. package/lang/translations/hu.po +6 -6
  72. package/lang/translations/id.po +6 -6
  73. package/lang/translations/it.po +6 -6
  74. package/lang/translations/ja.po +6 -6
  75. package/lang/translations/ko.po +6 -6
  76. package/lang/translations/lt.po +6 -6
  77. package/lang/translations/lv.po +6 -6
  78. package/lang/translations/ms.po +6 -6
  79. package/lang/translations/nl.po +6 -6
  80. package/lang/translations/no.po +6 -6
  81. package/lang/translations/pl.po +6 -6
  82. package/lang/translations/pt-br.po +6 -6
  83. package/lang/translations/pt.po +6 -6
  84. package/lang/translations/ro.po +6 -6
  85. package/lang/translations/ru.po +6 -6
  86. package/lang/translations/sk.po +6 -6
  87. package/lang/translations/sq.po +5 -5
  88. package/lang/translations/sr-latn.po +25 -25
  89. package/lang/translations/sr.po +6 -6
  90. package/lang/translations/sv.po +6 -6
  91. package/lang/translations/th.po +6 -6
  92. package/lang/translations/tk.po +5 -5
  93. package/lang/translations/tr.po +6 -6
  94. package/lang/translations/tt.po +5 -5
  95. package/lang/translations/uk.po +6 -6
  96. package/lang/translations/ur.po +5 -5
  97. package/lang/translations/vi.po +6 -6
  98. package/lang/translations/zh-cn.po +6 -6
  99. package/lang/translations/zh.po +6 -6
  100. package/package.json +4 -3
  101. package/src/augmentation.d.ts +3 -3
  102. package/src/augmentation.js +1 -1
  103. package/src/commands/acceptsuggestioncommand.d.ts +3 -3
  104. package/src/commands/acceptsuggestioncommand.js +2 -2
  105. package/src/commands/discardsuggestioncommand.d.ts +3 -3
  106. package/src/commands/discardsuggestioncommand.js +2 -2
  107. package/src/commands/executeonallsuggestionscommand.d.ts +3 -3
  108. package/src/commands/executeonallsuggestionscommand.js +2 -2
  109. package/src/commands/executeonselectedsuggestionscommand.d.ts +3 -3
  110. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  111. package/src/commands/trackchangescommand.d.ts +2 -2
  112. package/src/commands/trackchangescommand.js +2 -2
  113. package/src/index.d.ts +13 -13
  114. package/src/index.js +2 -2
  115. package/src/integrations/aiassistant.d.ts +2 -2
  116. package/src/integrations/aiassistant.js +2 -2
  117. package/src/integrations/alignment.d.ts +2 -2
  118. package/src/integrations/alignment.js +2 -2
  119. package/src/integrations/basicstyles.d.ts +2 -2
  120. package/src/integrations/basicstyles.js +2 -2
  121. package/src/integrations/blockquote.d.ts +2 -2
  122. package/src/integrations/blockquote.js +2 -2
  123. package/src/integrations/casechange.d.ts +17 -0
  124. package/src/integrations/casechange.js +23 -0
  125. package/src/integrations/ckbox.d.ts +2 -2
  126. package/src/integrations/ckbox.js +2 -2
  127. package/src/integrations/codeblock.d.ts +2 -2
  128. package/src/integrations/codeblock.js +2 -2
  129. package/src/integrations/comments.d.ts +2 -2
  130. package/src/integrations/comments.js +2 -2
  131. package/src/integrations/deletecommand.d.ts +3 -3
  132. package/src/integrations/deletecommand.js +2 -2
  133. package/src/integrations/entercommand.d.ts +3 -3
  134. package/src/integrations/entercommand.js +2 -2
  135. package/src/integrations/findandreplace.d.ts +2 -2
  136. package/src/integrations/findandreplace.js +2 -2
  137. package/src/integrations/font.d.ts +2 -2
  138. package/src/integrations/font.js +2 -2
  139. package/src/integrations/formatpainter.d.ts +2 -2
  140. package/src/integrations/formatpainter.js +2 -2
  141. package/src/integrations/heading.d.ts +2 -2
  142. package/src/integrations/heading.js +2 -2
  143. package/src/integrations/highlight.d.ts +2 -2
  144. package/src/integrations/highlight.js +2 -2
  145. package/src/integrations/horizontalline.d.ts +2 -2
  146. package/src/integrations/horizontalline.js +2 -2
  147. package/src/integrations/htmlembed.d.ts +2 -2
  148. package/src/integrations/htmlembed.js +2 -2
  149. package/src/integrations/image.d.ts +2 -2
  150. package/src/integrations/image.js +2 -2
  151. package/src/integrations/imagereplace.d.ts +2 -2
  152. package/src/integrations/imagereplace.js +2 -2
  153. package/src/integrations/imagestyle.d.ts +2 -2
  154. package/src/integrations/imagestyle.js +2 -2
  155. package/src/integrations/importword.d.ts +2 -2
  156. package/src/integrations/importword.js +2 -2
  157. package/src/integrations/indent.d.ts +2 -2
  158. package/src/integrations/indent.js +2 -2
  159. package/src/integrations/inputcommand.d.ts +3 -3
  160. package/src/integrations/inputcommand.js +2 -2
  161. package/src/integrations/legacylist.d.ts +17 -0
  162. package/src/integrations/legacylist.js +23 -0
  163. package/src/integrations/{documentlistproperties.d.ts → legacylistproperties.d.ts} +7 -7
  164. package/src/integrations/legacylistproperties.js +23 -0
  165. package/src/integrations/link.d.ts +2 -2
  166. package/src/integrations/link.js +2 -2
  167. package/src/integrations/list.d.ts +6 -6
  168. package/src/integrations/list.js +2 -2
  169. package/src/integrations/listproperties.d.ts +6 -15
  170. package/src/integrations/listproperties.js +2 -2
  171. package/src/integrations/mediaembed.d.ts +2 -2
  172. package/src/integrations/mediaembed.js +2 -2
  173. package/src/integrations/mention.d.ts +2 -2
  174. package/src/integrations/mention.js +2 -2
  175. package/src/integrations/pagebreak.d.ts +2 -2
  176. package/src/integrations/pagebreak.js +2 -2
  177. package/src/integrations/paragraph.d.ts +2 -2
  178. package/src/integrations/paragraph.js +2 -2
  179. package/src/integrations/removeformat.d.ts +2 -2
  180. package/src/integrations/removeformat.js +2 -2
  181. package/src/integrations/restrictededitingmode.d.ts +2 -2
  182. package/src/integrations/restrictededitingmode.js +2 -2
  183. package/src/integrations/shiftentercommand.d.ts +3 -3
  184. package/src/integrations/shiftentercommand.js +2 -2
  185. package/src/integrations/standardeditingmode.d.ts +2 -2
  186. package/src/integrations/standardeditingmode.js +2 -2
  187. package/src/integrations/style.d.ts +2 -2
  188. package/src/integrations/style.js +2 -2
  189. package/src/integrations/table.d.ts +2 -2
  190. package/src/integrations/table.js +2 -2
  191. package/src/integrations/tablecaption.d.ts +3 -3
  192. package/src/integrations/tablecaption.js +2 -2
  193. package/src/integrations/tableclipboard.d.ts +3 -3
  194. package/src/integrations/tableclipboard.js +2 -2
  195. package/src/integrations/tablecolumnresize.d.ts +5 -5
  196. package/src/integrations/tablecolumnresize.js +2 -2
  197. package/src/integrations/tableheadings.d.ts +3 -3
  198. package/src/integrations/tableheadings.js +2 -2
  199. package/src/integrations/tablemergesplit.d.ts +3 -3
  200. package/src/integrations/tablemergesplit.js +2 -2
  201. package/src/integrations/tableofcontents.d.ts +2 -2
  202. package/src/integrations/tableofcontents.js +2 -2
  203. package/src/integrations/tableproperties.d.ts +5 -5
  204. package/src/integrations/tableproperties.js +2 -2
  205. package/src/integrations/template.d.ts +2 -2
  206. package/src/integrations/template.js +2 -2
  207. package/src/integrations/title.d.ts +2 -2
  208. package/src/integrations/title.js +2 -2
  209. package/src/integrations/undo.d.ts +2 -2
  210. package/src/integrations/undo.js +2 -2
  211. package/src/integrations/utils.d.ts +4 -4
  212. package/src/integrations/utils.js +2 -2
  213. package/src/suggestion.d.ts +6 -6
  214. package/src/suggestion.js +2 -2
  215. package/src/suggestiondescriptionfactory.d.ts +4 -4
  216. package/src/suggestiondescriptionfactory.js +2 -2
  217. package/src/trackchanges.d.ts +6 -6
  218. package/src/trackchanges.js +2 -2
  219. package/src/trackchangesconfig.d.ts +2 -2
  220. package/src/trackchangesconfig.js +1 -1
  221. package/src/trackchangesdata.d.ts +3 -3
  222. package/src/trackchangesdata.js +2 -2
  223. package/src/trackchangesediting.d.ts +56 -55
  224. package/src/trackchangesediting.js +2 -2
  225. package/src/trackchangesui.d.ts +4 -4
  226. package/src/trackchangesui.js +2 -2
  227. package/src/ui/suggestioncontroller.d.ts +6 -6
  228. package/src/ui/suggestioncontroller.js +2 -2
  229. package/src/ui/view/basesuggestionthreadview.d.ts +7 -7
  230. package/src/ui/view/basesuggestionthreadview.js +2 -2
  231. package/src/ui/view/suggestionthreadview.d.ts +6 -6
  232. package/src/ui/view/suggestionthreadview.js +2 -2
  233. package/src/utils/common-translations.d.ts +2 -2
  234. package/src/utils/common-translations.js +2 -2
  235. package/src/utils/utils.d.ts +5 -5
  236. package/src/utils/utils.js +2 -2
  237. package/theme/icons/track-changes-accept.svg +1 -1
  238. package/theme/icons/track-changes-discard.svg +1 -1
  239. package/theme/icons/track-changes.svg +1 -1
  240. package/src/integrations/documentlist.d.ts +0 -17
  241. package/src/integrations/documentlist.js +0 -23
  242. package/src/integrations/documentlistproperties.js +0 -23
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/imagereplace
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for image replace feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4378=['get','locale','registerCustomCallback','TrackChangesEditing','format','editor','getSuggestionCallback','accept','_handleLegacySuggestions','plugins','key','registerDescriptionCallback','_registerLegacyDescription','_descriptionFactory','type','_enableDefaultAttributesIntegration','_suggestionFactory','src','ImageEditing','formatBlock','discard','replaceImageSource','formatInline','*Replace\x20image\x20URL*'];(function(_0xba6dff,_0x437887){const _0x35b411=function(_0x10493b){while(--_0x10493b){_0xba6dff['push'](_0xba6dff['shift']());}};_0x35b411(++_0x437887);}(_0x4378,0x94));const _0x35b4=function(_0xba6dff,_0x437887){_0xba6dff=_0xba6dff-0x0;let _0x35b411=_0x4378[_0xba6dff];return _0x35b411;};import{Plugin as _0x2c43fb}from'ckeditor5/src/core';import{getTranslation as _0x2918b6}from'../utils/common-translations';export default class et extends _0x2c43fb{['afterInit'](){if(!this['editor'][_0x35b4('0x5')]['has'](_0x35b4('0xe')))return;const _0x213363=this[_0x35b4('0x1')][_0x35b4('0x15')],_0x5d5f1c=this[_0x35b4('0x1')]['plugins'][_0x35b4('0x14')](_0x35b4('0x17'));_0x5d5f1c[_0x35b4('0xb')](_0x35b4('0x11'),[],['src']),_0x5d5f1c[_0x35b4('0x9')][_0x35b4('0x7')](_0x21ba3e=>{if('attribute'!=_0x21ba3e[_0x35b4('0xa')])return;const {data:_0x38e526}=_0x21ba3e;return _0x38e526&&_0x35b4('0xd')==_0x38e526[_0x35b4('0x6')]?_0x38e526['newValue']&&_0x38e526['oldValue']?{'type':'format','content':_0x2918b6(_0x213363,_0x35b4('0x13'))}:{'type':_0x35b4('0x0'),'content':''}:void 0x0;}),this['_handleLegacySuggestions']();}[_0x35b4('0x4')](){const _0x1d2190=this[_0x35b4('0x1')][_0x35b4('0x5')][_0x35b4('0x14')](_0x35b4('0x17'));_0x1d2190['_suggestionFactory'][_0x35b4('0x16')](_0x35b4('0xf'),'replaceImageSource',_0x35b4('0x3'),_0x1d2190[_0x35b4('0xc')]['getSuggestionCallback'](_0x35b4('0xf'),null,_0x35b4('0x10'))),_0x1d2190[_0x35b4('0xc')][_0x35b4('0x16')](_0x35b4('0xf'),_0x35b4('0x11'),_0x35b4('0x10'),_0x1d2190[_0x35b4('0xc')][_0x35b4('0x2')](_0x35b4('0xf'),null,_0x35b4('0x3'))),this[_0x35b4('0x8')]();}[_0x35b4('0x8')](){const _0x3f6c95=this[_0x35b4('0x1')],_0x37ea6b=_0x3f6c95[_0x35b4('0x15')];_0x3f6c95['plugins']['get'](_0x35b4('0x17'))[_0x35b4('0x9')][_0x35b4('0x7')](_0x4ebf17=>{if('formatBlock'!=_0x4ebf17[_0x35b4('0xa')]&&_0x35b4('0x12')!=_0x4ebf17[_0x35b4('0xa')])return;const {data:_0x315375}=_0x4ebf17;return _0x315375&&_0x35b4('0x11')===_0x315375['commandName']?{'type':'format','content':_0x2918b6(_0x37ea6b,_0x35b4('0x13'))}:void 0x0;});}}
23
+ const _0x5c1b=['get','format','attribute','formatBlock','_descriptionFactory','_suggestionFactory','replaceImageSource','editor','getSuggestionCallback','commandName','type','_handleLegacySuggestions','registerCustomCallback','_enableDefaultAttributesIntegration','_registerLegacyDescription','newValue','afterInit','plugins','ImageEditing','formatInline','registerDescriptionCallback','*Format:*\x20replace\x20image\x20URL','TrackChangesEditing','key','has','src','locale'];(function(_0x4d45b6,_0x5c1b68){const _0x11ea75=function(_0x4eaa0b){while(--_0x4eaa0b){_0x4d45b6['push'](_0x4d45b6['shift']());}};_0x11ea75(++_0x5c1b68);}(_0x5c1b,0x1a8));const _0x11ea=function(_0x4d45b6,_0x5c1b68){_0x4d45b6=_0x4d45b6-0x0;let _0x11ea75=_0x5c1b[_0x4d45b6];return _0x11ea75;};import{Plugin as _0x4c39fb}from'ckeditor5/src/core.js';import{getTranslation as _0x30925c}from'../utils/common-translations.js';export default class st extends _0x4c39fb{[_0x11ea('0x18')](){if(!this[_0x11ea('0xf')][_0x11ea('0x19')][_0x11ea('0x5')](_0x11ea('0x1a')))return;const _0x12d6cd=this[_0x11ea('0xf')][_0x11ea('0x7')],_0xe68bd0=this['editor'][_0x11ea('0x19')]['get']('TrackChangesEditing');_0xe68bd0[_0x11ea('0x15')](_0x11ea('0xe'),[],['src']),_0xe68bd0[_0x11ea('0xc')][_0x11ea('0x1')](_0x35ca1f=>{if(_0x11ea('0xa')!=_0x35ca1f[_0x11ea('0x12')])return;const {data:_0x1a027b}=_0x35ca1f;return _0x1a027b&&_0x11ea('0x6')==_0x1a027b[_0x11ea('0x4')]?_0x1a027b[_0x11ea('0x17')]&&_0x1a027b['oldValue']?{'type':_0x11ea('0x9'),'content':_0x30925c(_0x12d6cd,'*Replace\x20image\x20URL*')}:{'type':'format','content':''}:void 0x0;}),this[_0x11ea('0x13')]();}[_0x11ea('0x13')](){const _0x224a04=this['editor'][_0x11ea('0x19')][_0x11ea('0x8')]('TrackChangesEditing');_0x224a04[_0x11ea('0xd')][_0x11ea('0x14')](_0x11ea('0xb'),_0x11ea('0xe'),'accept',_0x224a04['_suggestionFactory'][_0x11ea('0x10')](_0x11ea('0xb'),null,'discard')),_0x224a04[_0x11ea('0xd')][_0x11ea('0x14')](_0x11ea('0xb'),'replaceImageSource','discard',_0x224a04[_0x11ea('0xd')][_0x11ea('0x10')]('formatBlock',null,'accept')),this[_0x11ea('0x16')]();}[_0x11ea('0x16')](){const _0x48a367=this[_0x11ea('0xf')],_0x2e953d=_0x48a367['locale'];_0x48a367[_0x11ea('0x19')][_0x11ea('0x8')](_0x11ea('0x3'))[_0x11ea('0xc')][_0x11ea('0x1')](_0x481d25=>{if('formatBlock'!=_0x481d25['type']&&_0x11ea('0x0')!=_0x481d25[_0x11ea('0x12')])return;const {data:_0x396189}=_0x481d25;if(!_0x396189||_0x11ea('0xe')!=_0x396189[_0x11ea('0x11')])return;return{'type':_0x11ea('0x9'),'content':_0x30925c(_0x2e953d,_0x11ea('0x2'))};});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/image
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a6b=['Users','imageStylePreApply','isBlockImage','plugins','enableCommand','normalizedStyles','markBlockFormat','name','title','commands','imageTypeInline','ImageStyleEditing','isBefore','nodeBefore','end','imageCaption','*Format:*\x20%0','selection','get','change','FORMAT_SIDE_IMAGE','getSuggestion','insertion','start','_suggestionFactory','markInlineFormat','next','value','newRange','createRangeOn','imageStyle','hasSuggestion','toLowerCase','discard','forEach','discardSuggestion','setImageNaturalSizeAttributes','locale','getChangedMarkers','filter','getSuggestionCallback','editor','convertInlineImageToBlock','commandName','type','join','getFirstRange','document','nodeAfter','commandReversedParams','refresh','subType','accept','from','findIndex','_splitMarkerName','afterInit','TrackChangesEditing','commandParams','getClosestSelectedImageElement','isEqual','registerDescriptionCallback','registerCustomCallback','shouldConvertImageType','suggestion','imageStylePostApply','model','chain','_registerLegacyDescription','formatBlock','isIntersecting','getSuggestions','differ','formatInline','length'];(function(_0x2cfcae,_0x3a6b10){const _0x13aff4=function(_0x14a8ef){while(--_0x14a8ef){_0x2cfcae['push'](_0x2cfcae['shift']());}};_0x13aff4(++_0x3a6b10);}(_0x3a6b,0x121));const _0x13af=function(_0x2cfcae,_0x3a6b10){_0x2cfcae=_0x2cfcae-0x0;let _0x13aff4=_0x3a6b[_0x2cfcae];return _0x13aff4;};import{Plugin as _0x46d762}from'ckeditor5/src/core';import{uid as _0x26367a}from'ckeditor5/src/utils';import{getTranslation as _0x4bfe5c}from'../utils/common-translations';export default class nt extends _0x46d762{[_0x13af('0x43')](){const _0xee7579=this[_0x13af('0x34')];if(!_0xee7579['plugins']['has'](_0x13af('0x16')))return;const _0x18e109=_0xee7579['plugins']['get'](_0x13af('0x44')),_0x29084c=_0xee7579[_0x13af('0xe')][_0x13af('0x1d')]('ImageUtils'),_0x8ee52d={};_0x18e109[_0x13af('0xf')](_0x13af('0x29'),(_0x1c5e1d,_0x34c69f)=>{const _0x145415=_0xee7579[_0x13af('0xe')][_0x13af('0x1d')](_0x13af('0xb'))['me'],_0x3e91af=_0xee7579[_0x13af('0x14')][_0x13af('0x1d')]('imageStyle');let _0x34258a=_0x29084c[_0x13af('0x46')](_0xee7579[_0x13af('0x2')]['document'][_0x13af('0x1c')]),_0x238bf7=_0xee7579[_0x13af('0x2')][_0x13af('0x28')](_0x34258a),_0x4f52b8=_0x3e91af[_0x13af('0x26')];if(_0x4f52b8==_0x34c69f[_0x13af('0x26')])return;const _0x787c2a={'commandName':_0x13af('0x29'),'commandParams':[_0x34c69f],'formatGroupId':_0x26367a()};_0xee7579['model'][_0x13af('0x1e')](()=>{if(_0x18e109[_0x13af('0x7')]()[_0x13af('0x32')](_0x4d75a6=>_0x4d75a6['isInContent']&&_0x145415==_0x4d75a6['author']&&(_0x13af('0x5')==_0x4d75a6[_0x13af('0x37')]||_0x13af('0x9')==_0x4d75a6[_0x13af('0x37')])&&(_0x13af('0xc')==_0x4d75a6[_0x13af('0x3e')]||_0x13af('0x1')==_0x4d75a6[_0x13af('0x3e')])&&_0x4d75a6[_0x13af('0x39')]()[_0x13af('0x47')](_0x238bf7))[_0x13af('0x2d')](_0x45a8d1=>_0x18e109[_0x13af('0x2e')](_0x45a8d1['head'])),_0x34258a=_0x29084c[_0x13af('0x46')](_0xee7579[_0x13af('0x2')][_0x13af('0x3a')][_0x13af('0x1c')]),_0x238bf7=_0xee7579[_0x13af('0x2')][_0x13af('0x28')](_0x34258a),_0x3e91af[_0x13af('0x3d')](),_0xee7579['commands'][_0x13af('0x1d')](_0x13af('0x15'))['refresh'](),_0xee7579[_0x13af('0x14')][_0x13af('0x1d')]('imageTypeBlock')['refresh'](),_0x4f52b8=_0x3e91af[_0x13af('0x26')],_0x4f52b8!=_0x34c69f[_0x13af('0x26')])return _0x29084c['isInlineImage'](_0x34258a)&&_0x3e91af[_0x13af('0x4a')](_0x34c69f[_0x13af('0x26')],_0x34258a)?(_0x1c5e1d({..._0x34c69f,'setImageSizes':!0x1}),_0x34258a=_0x29084c[_0x13af('0x46')](_0xee7579[_0x13af('0x2')][_0x13af('0x3a')][_0x13af('0x1c')]),void _0x18e109[_0x13af('0x11')](_0x34258a,{..._0x787c2a,'commandReversedParams':[{'value':_0x4f52b8||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x29084c[_0x13af('0xd')](_0x34258a)?_0x18e109[_0x13af('0x11')](_0x34258a,_0x787c2a,[],'imageStylePostApply'):_0x18e109[_0x13af('0x24')](_0x238bf7,_0x787c2a,_0x13af('0x1')));});});for(const _0x2f98d9 of _0xee7579[_0x13af('0xe')]['get'](_0x13af('0x16'))[_0x13af('0x10')])_0x8ee52d[_0x2f98d9[_0x13af('0x12')]]=_0x2f98d9[_0x13af('0x13')][_0x13af('0x2b')]();_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),'imageStylePreApply',_0x13af('0x38'),()=>!0x1),_0x18e109['_suggestionFactory'][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0x1'),_0x13af('0x38'),()=>!0x1),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x9'),_0x13af('0x1'),_0x13af('0x38'),()=>!0x1),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0xc'),_0x13af('0x3f'),([_0x2b8c52])=>{_0x29084c[_0x13af('0x2f')](_0x2b8c52['getContainedElement']());}),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0xc'),_0x13af('0x2c'),(_0x116c57,_0x111dd0)=>{_0x18e109[_0x13af('0x23')][_0x13af('0x33')](_0x13af('0x5'),'',_0x13af('0x3f'))(_0x116c57,{'commandName':_0x111dd0[_0x13af('0x36')],'commandParams':_0x111dd0[_0x13af('0x3c')]});}),_0x18e109[_0x13af('0x23')][_0x13af('0x49')](_0x13af('0x5'),_0x13af('0xc'),_0x13af('0x3'),function(_0x5160a5,_0x11d081){if(_0x25b2c2(_0x5160a5,_0x11d081))return[_0x5160a5,_0x11d081];if(_0x25b2c2(_0x11d081,_0x5160a5))return[_0x11d081,_0x5160a5];return null;});const _0x23bbdc=[{'type':_0x13af('0x5'),'subType':'imageStylePreApply'},{'type':_0x13af('0x21'),'subType':_0x13af('0x1a')},{'type':_0x13af('0x5'),'subType':'convertInlineImageToBlock'},{'type':_0x13af('0x21'),'subType':_0x13af('0x35')}];function _0x25b2c2(_0x503324,_0x3eaaea){const _0x1471a9=_0x23bbdc[_0x13af('0x41')](({type:_0x5e060f,subType:_0x5b6bb9})=>_0x503324[_0x13af('0x37')]==_0x5e060f&&_0x503324['subType']==_0x5b6bb9),_0x28bcf7=_0x23bbdc['findIndex'](({type:_0x2f7aa1,subType:_0x55c137})=>_0x3eaaea[_0x13af('0x37')]==_0x2f7aa1&&_0x3eaaea[_0x13af('0x3e')]==_0x55c137);if(_0x1471a9<0x0||_0x28bcf7<0x0)return!0x1;const _0x9b9605=_0x503324[_0x13af('0x39')](),_0x3b2cec=_0x3eaaea['getFirstRange']();if((0x0==_0x1471a9||0x1==_0x1471a9)&&0x2==_0x28bcf7&&_0x9b9605[_0x13af('0x6')](_0x3b2cec))return!0x0;if(0x2==_0x1471a9&&0x3==_0x28bcf7){const _0x2bca28=_0x18e109['_findSuggestions'](_0x9b9605,_0x13af('0x21'))[_0x13af('0x32')](({suggestion:_0xa9f138,meta:_0x191345})=>_0x191345['isOwn']&&'convertInlineImageToBlock'==_0xa9f138[_0x13af('0x3e')]);if(_0x2bca28['length']>0x1&&_0x3b2cec[_0x13af('0x19')][_0x13af('0x47')](_0x9b9605[_0x13af('0x22')]))return!0x0;if(0x1==_0x2bca28[_0x13af('0xa')]&&(_0x9b9605[_0x13af('0x22')][_0x13af('0x47')](_0x3b2cec[_0x13af('0x19')])||_0x9b9605[_0x13af('0x19')][_0x13af('0x47')](_0x3b2cec['start'])))return!0x0;}if(0x3==_0x1471a9&&0x3==_0x28bcf7&&_0x9b9605[_0x13af('0x22')][_0x13af('0x17')](_0x3b2cec[_0x13af('0x22')])){const _0x4ffbf2=_0x9b9605[_0x13af('0x19')][_0x13af('0x3b')],_0x4e4090=_0x3b2cec['start'][_0x13af('0x18')];return _0x29084c[_0x13af('0xd')](_0x4ffbf2)&&_0x4ffbf2===_0x4e4090;}return!0x1;}_0xee7579['model'][_0x13af('0x3a')]['registerPostFixer'](()=>{let _0x4dc35e=!0x1;const _0x5b6c57=Array[_0x13af('0x40')](_0xee7579[_0x13af('0x2')]['document'][_0x13af('0x8')][_0x13af('0x31')]());for(const {name:_0xffc440,data:_0x38caaa}of _0x5b6c57){const {group:_0x585854,type:_0x33eabe,subType:_0x380736,id:_0x101229}=_0x18e109[_0x13af('0x42')](_0xffc440);if(_0x13af('0x0')==_0x585854&&_0x18e109[_0x13af('0x2a')](_0x101229)){if(_0x13af('0x5')==_0x33eabe&&(_0x13af('0xc')==_0x380736||'imageStylePostApply'==_0x380736)){const _0x327bea=_0x18e109[_0x13af('0x20')](_0x101229);if(_0x38caaa[_0x13af('0x27')]){const _0x409be9=_0x327bea[_0x13af('0x39')]()['getContainedElement']();if(_0x29084c[_0x13af('0xd')](_0x409be9))continue;_0x18e109[_0x13af('0x2e')](_0x327bea),_0x4dc35e=!0x0;}}if(_0x13af('0x21')==_0x33eabe&&_0x13af('0x1a')==_0x380736&&!_0x38caaa[_0x13af('0x27')]){const _0x3391a1=_0x18e109[_0x13af('0x20')](_0x101229);_0x3391a1[_0x13af('0x25')]&&_0x3391a1[_0x13af('0x25')]['isInContent']&&(_0x18e109[_0x13af('0x2e')](_0x3391a1[_0x13af('0x25')]),_0x4dc35e=!0x0);}}}return _0x4dc35e;}),this[_0x13af('0x4')](_0x8ee52d);}['_registerLegacyDescription'](_0x182af7){const _0x4ca67d=this['editor'],_0x14c3e1=_0x4ca67d[_0x13af('0x30')];_0x4ca67d[_0x13af('0xe')][_0x13af('0x1d')](_0x13af('0x44'))['_descriptionFactory'][_0x13af('0x48')](_0x2592f9=>{if('formatBlock'!=_0x2592f9[_0x13af('0x37')]&&_0x13af('0x9')!=_0x2592f9[_0x13af('0x37')])return;const {data:_0x2e5028}=_0x2592f9;if(!_0x2e5028||_0x13af('0x29')!=_0x2e5028[_0x13af('0x36')])return;const _0x2cc98c=_0x2e5028[_0x13af('0x45')][0x0][_0x13af('0x26')];return _0x321f9e('side'===_0x2cc98c?_0x4bfe5c(_0x14c3e1,_0x13af('0x1f')):_0x182af7[_0x2cc98c]||_0x2cc98c);function _0x321f9e(_0x1dff57){return{'type':'format','content':_0x4bfe5c(_0x14c3e1,_0x13af('0x1b'),_0x1dff57)};}});}}
23
+ const _0x4579=['registerDescriptionCallback','isEqual','next','start','filter','suggestion','isBefore','head','accept','convertInlineImageToBlock','formatBlock','normalizedStyles','type','createRangeOn','commands','document','ImageStyleEditing','_splitMarkerName','end','_findSuggestions','registerPostFixer','formatInline','has','imageStylePostApply','side','commandReversedParams','editor','imageStylePreApply','isInContent','name','_descriptionFactory','commandParams','markBlockFormat','discard','nodeBefore','findIndex','getSuggestionCallback','join','model','_suggestionFactory','get','getSuggestions','discardSuggestion','Users','getChangedMarkers','format','refresh','isOwn','hasSuggestion','enableCommand','imageStyle','getContainedElement','isInlineImage','*Format:*\x20%0','commandName','chain','nodeAfter','value','getFirstRange','isIntersecting','ImageUtils','insertion','imageTypeInline','selection','getSuggestion','forEach','getClosestSelectedImageElement','newRange','plugins','imageTypeBlock','imageCaption','isBlockImage','registerCustomCallback','TrackChangesEditing','subType'];(function(_0x344ae0,_0x4579a0){const _0xfc46ae=function(_0xdd7666){while(--_0xdd7666){_0x344ae0['push'](_0x344ae0['shift']());}};_0xfc46ae(++_0x4579a0);}(_0x4579,0x13f));const _0xfc46=function(_0x344ae0,_0x4579a0){_0x344ae0=_0x344ae0-0x0;let _0xfc46ae=_0x4579[_0x344ae0];return _0xfc46ae;};import{Plugin as _0x3c0e6a}from'ckeditor5/src/core.js';import{uid as _0x31990e}from'ckeditor5/src/utils.js';import{getTranslation as _0x4b9fe6}from'../utils/common-translations.js';export default class nt extends _0x3c0e6a{['afterInit'](){const _0xddc003=this[_0xfc46('0x7')];if(!_0xddc003[_0xfc46('0x31')][_0xfc46('0x3')](_0xfc46('0x48')))return;const _0x86b4d2=_0xddc003['plugins']['get'](_0xfc46('0x36')),_0x128887=_0xddc003['plugins'][_0xfc46('0x15')](_0xfc46('0x29')),_0x2b7dce={};_0x86b4d2[_0xfc46('0x1e')](_0xfc46('0x1f'),(_0x547711,_0x11f147)=>{const _0x2fcbb5=_0xddc003['plugins'][_0xfc46('0x15')](_0xfc46('0x18'))['me'],_0x402c26=_0xddc003[_0xfc46('0x46')][_0xfc46('0x15')](_0xfc46('0x1f'));let _0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')][_0xfc46('0x2c')]),_0x221b76=_0xddc003['model']['createRangeOn'](_0x350684),_0x2c2350=_0x402c26['value'];if(_0x2c2350==_0x11f147[_0xfc46('0x26')])return;const _0x11def5={'commandName':_0xfc46('0x1f'),'commandParams':[_0x11f147],'formatGroupId':_0x31990e()};_0xddc003[_0xfc46('0x13')]['change'](()=>{if(_0x86b4d2[_0xfc46('0x16')]()[_0xfc46('0x3c')](_0x410a1b=>_0x410a1b[_0xfc46('0x9')]&&_0x2fcbb5==_0x410a1b['author']&&(_0xfc46('0x42')==_0x410a1b[_0xfc46('0x44')]||_0xfc46('0x2')==_0x410a1b[_0xfc46('0x44')])&&(_0xfc46('0x8')==_0x410a1b[_0xfc46('0x37')]||'imageStylePostApply'==_0x410a1b[_0xfc46('0x37')])&&_0x410a1b[_0xfc46('0x27')]()[_0xfc46('0x39')](_0x221b76))[_0xfc46('0x2e')](_0x17c127=>_0x86b4d2[_0xfc46('0x17')](_0x17c127[_0xfc46('0x3f')])),_0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')][_0xfc46('0x2c')]),_0x221b76=_0xddc003[_0xfc46('0x13')][_0xfc46('0x45')](_0x350684),_0x402c26[_0xfc46('0x1b')](),_0xddc003[_0xfc46('0x46')]['get'](_0xfc46('0x2b'))[_0xfc46('0x1b')](),_0xddc003[_0xfc46('0x46')][_0xfc46('0x15')](_0xfc46('0x32'))[_0xfc46('0x1b')](),_0x2c2350=_0x402c26['value'],_0x2c2350!=_0x11f147[_0xfc46('0x26')])return _0x128887[_0xfc46('0x21')](_0x350684)&&_0x402c26['shouldConvertImageType'](_0x11f147['value'],_0x350684)?(_0x547711({..._0x11f147,'setImageSizes':!0x1}),_0x350684=_0x128887[_0xfc46('0x2f')](_0xddc003['model']['document']['selection']),void _0x86b4d2[_0xfc46('0xd')](_0x350684,{..._0x11def5,'commandReversedParams':[{'value':_0x2c2350||null,'setImageSizes':!0x1}]},[],_0xfc46('0x8'))):void(_0x128887['isBlockImage'](_0x350684)?_0x86b4d2[_0xfc46('0xd')](_0x350684,_0x11def5,[],_0xfc46('0x4')):_0x86b4d2['markInlineFormat'](_0x221b76,_0x11def5,_0xfc46('0x4')));});});for(const _0x3026e7 of _0xddc003['plugins']['get'](_0xfc46('0x48'))[_0xfc46('0x43')])_0x2b7dce[_0x3026e7[_0xfc46('0xa')]]=_0x3026e7['title']['toLowerCase']();_0x86b4d2['_suggestionFactory'][_0xfc46('0x35')]('formatBlock',_0xfc46('0x8'),_0xfc46('0x12'),()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),'imageStylePostApply','join',()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x2'),_0xfc46('0x4'),_0xfc46('0x12'),()=>!0x1),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),'accept',([_0x5e0760])=>{_0x128887['setImageNaturalSizeAttributes'](_0x5e0760[_0xfc46('0x20')]());}),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),_0xfc46('0xe'),(_0x3cd33a,_0x1a23e8)=>{_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x11')](_0xfc46('0x42'),'',_0xfc46('0x40'))(_0x3cd33a,{'commandName':_0x1a23e8['commandName'],'commandParams':_0x1a23e8[_0xfc46('0x6')]});}),_0x86b4d2[_0xfc46('0x14')][_0xfc46('0x35')](_0xfc46('0x42'),_0xfc46('0x8'),_0xfc46('0x24'),function(_0x5ec53a,_0x3b49d7){if(_0x27309c(_0x5ec53a,_0x3b49d7))return[_0x5ec53a,_0x3b49d7];if(_0x27309c(_0x3b49d7,_0x5ec53a))return[_0x3b49d7,_0x5ec53a];return null;});const _0x24af36=[{'type':_0xfc46('0x42'),'subType':_0xfc46('0x8')},{'type':_0xfc46('0x2a'),'subType':'imageCaption'},{'type':_0xfc46('0x42'),'subType':_0xfc46('0x41')},{'type':_0xfc46('0x2a'),'subType':_0xfc46('0x41')}];function _0x27309c(_0x40aa9d,_0x4b4242){const _0x47cbd1=_0x24af36[_0xfc46('0x10')](({type:_0x513cdc,subType:_0x486957})=>_0x40aa9d[_0xfc46('0x44')]==_0x513cdc&&_0x40aa9d[_0xfc46('0x37')]==_0x486957),_0x4546ed=_0x24af36[_0xfc46('0x10')](({type:_0x553099,subType:_0x4200ea})=>_0x4b4242[_0xfc46('0x44')]==_0x553099&&_0x4b4242['subType']==_0x4200ea);if(_0x47cbd1<0x0||_0x4546ed<0x0)return!0x1;const _0x2b452e=_0x40aa9d[_0xfc46('0x27')](),_0x4e2190=_0x4b4242[_0xfc46('0x27')]();if((0x0==_0x47cbd1||0x1==_0x47cbd1)&&0x2==_0x4546ed&&_0x2b452e[_0xfc46('0x28')](_0x4e2190))return!0x0;if(0x2==_0x47cbd1&&0x3==_0x4546ed){const _0x165b64=_0x86b4d2[_0xfc46('0x0')](_0x2b452e,'insertion')[_0xfc46('0x3c')](({suggestion:_0x5d6a70,meta:_0x489b02})=>_0x489b02[_0xfc46('0x1c')]&&_0xfc46('0x41')==_0x5d6a70['subType']);if(_0x165b64['length']>0x1&&_0x4e2190[_0xfc46('0x4a')]['isEqual'](_0x2b452e[_0xfc46('0x3b')]))return!0x0;if(0x1==_0x165b64['length']&&(_0x2b452e[_0xfc46('0x3b')]['isEqual'](_0x4e2190[_0xfc46('0x4a')])||_0x2b452e[_0xfc46('0x4a')]['isEqual'](_0x4e2190[_0xfc46('0x3b')])))return!0x0;}if(0x3==_0x47cbd1&&0x3==_0x4546ed&&_0x2b452e[_0xfc46('0x3b')][_0xfc46('0x3e')](_0x4e2190['start'])){const _0x3e47bf=_0x2b452e[_0xfc46('0x4a')][_0xfc46('0x25')],_0x4a5a79=_0x4e2190[_0xfc46('0x3b')][_0xfc46('0xf')];return _0x128887[_0xfc46('0x34')](_0x3e47bf)&&_0x3e47bf===_0x4a5a79;}return!0x1;}_0xddc003['model']['document'][_0xfc46('0x1')](()=>{let _0x24390d=!0x1;const _0x51a8a3=Array['from'](_0xddc003[_0xfc46('0x13')][_0xfc46('0x47')]['differ'][_0xfc46('0x19')]());for(const {name:_0x5b2fe8,data:_0x3f33a6}of _0x51a8a3){const {group:_0x455c1a,type:_0x2b40e4,subType:_0x366108,id:_0x19e272}=_0x86b4d2[_0xfc46('0x49')](_0x5b2fe8);if(_0xfc46('0x3d')==_0x455c1a&&_0x86b4d2[_0xfc46('0x1d')](_0x19e272)){if('formatBlock'==_0x2b40e4&&(_0xfc46('0x8')==_0x366108||'imageStylePostApply'==_0x366108)){const _0x1e57c7=_0x86b4d2[_0xfc46('0x2d')](_0x19e272);if(_0x3f33a6[_0xfc46('0x30')]){const _0x3150dd=_0x1e57c7[_0xfc46('0x27')]()[_0xfc46('0x20')]();if(_0x128887[_0xfc46('0x34')](_0x3150dd))continue;_0x86b4d2[_0xfc46('0x17')](_0x1e57c7),_0x24390d=!0x0;}}if('insertion'==_0x2b40e4&&_0xfc46('0x33')==_0x366108&&!_0x3f33a6['newRange']){const _0x49943b=_0x86b4d2[_0xfc46('0x2d')](_0x19e272);_0x49943b['next']&&_0x49943b[_0xfc46('0x3a')][_0xfc46('0x9')]&&(_0x86b4d2[_0xfc46('0x17')](_0x49943b[_0xfc46('0x3a')]),_0x24390d=!0x0);}}}return _0x24390d;}),this['_registerLegacyDescription'](_0x2b7dce);}['_registerLegacyDescription'](_0x4ef550){const _0xc060a6=this['editor'],_0x2430f0=_0xc060a6['locale'];_0xc060a6['plugins'][_0xfc46('0x15')](_0xfc46('0x36'))[_0xfc46('0xb')][_0xfc46('0x38')](_0x4451db=>{if('formatBlock'!=_0x4451db[_0xfc46('0x44')]&&_0xfc46('0x2')!=_0x4451db[_0xfc46('0x44')])return;const {data:_0x197530}=_0x4451db;if(!_0x197530||_0xfc46('0x1f')!=_0x197530[_0xfc46('0x23')])return;const _0x5da5ed=_0x197530[_0xfc46('0xc')][0x0]['value'];return _0x3054ce(_0xfc46('0x5')===_0x5da5ed?_0x4b9fe6(_0x2430f0,'FORMAT_SIDE_IMAGE'):_0x4ef550[_0x5da5ed]||_0x5da5ed);function _0x3054ce(_0x1c93f1){return{'type':_0xfc46('0x1a'),'content':_0x4b9fe6(_0x2430f0,_0xfc46('0x22'),_0x1c93f1)};}});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/importword
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for the import from Word feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x287e=['afterInit','_handleImportedData','enableCommand','TrackChangesEditing','execute','high','collaboration_features','commands','listenTo','bind','dataInsert','get','value','_trackChangesExecuted','track_changes','Users','forEach','_trackChangesValueDuringImport','editor','importWord','plugins','trackChanges'];(function(_0x1a896f,_0x287e90){const _0x401225=function(_0x5ab5d0){while(--_0x5ab5d0){_0x1a896f['push'](_0x1a896f['shift']());}};_0x401225(++_0x287e90);}(_0x287e,0xd3));const _0x4012=function(_0x1a896f,_0x287e90){_0x1a896f=_0x1a896f-0x0;let _0x401225=_0x287e[_0x1a896f];return _0x401225;};import{Plugin as _0x43a241}from'ckeditor5/src/core';export default class st extends _0x43a241{constructor(_0x4568c6){super(_0x4568c6),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x4012('0x9')](){const _0x486ce3=this['editor'],_0x22cb21=_0x486ce3[_0x4012('0x10')]['get']('importWord'),_0x4537a7=_0x486ce3[_0x4012('0x10')][_0x4012('0x14')](_0x4012('0x8'));_0x22cb21&&(_0x22cb21['on'](_0x4012('0xd'),(_0x572df5,[,_0x368af7])=>{this[_0x4012('0x4')]=_0x4537a7[_0x4012('0x15')],_0x368af7[_0x4012('0xf')][_0x4012('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4012('0xe')}),this['listenTo'](_0x22cb21,_0x4012('0x13'),this[_0x4012('0xa')][_0x4012('0x12')](this)),this[_0x4012('0x11')](_0x22cb21,_0x4012('0x13'),()=>{this[_0x4012('0x0')]&&(_0x4537a7['execute'](),this[_0x4012('0x0')]=!0x1);},{'priority':'lowest'}),_0x486ce3[_0x4012('0x7')][_0x4012('0x14')](_0x4012('0xc'))[_0x4012('0xb')](_0x4012('0x6')));}['_handleImportedData'](_0x5e56fc,_0x444076){const {suggestions:_0x171ff8}=_0x444076,_0x161c92=this[_0x4012('0x5')][_0x4012('0x10')][_0x4012('0x14')]('trackChanges'),_0x4bb4f8=_0x161c92[_0x4012('0x15')];this[_0x4012('0x4')]!==_0x4bb4f8&&(_0x161c92[_0x4012('0xd')](),this[_0x4012('0x0')]=!0x0),_0x171ff8&&_0x171ff8[_0x4012('0x3')](({id:_0x5a44c4,type:_0x275186,author:_0x28372d,created_at:_0x494c2e})=>{const _0x5b96fa={'id':_0x5a44c4,'type':_0x275186,'authorId':this[_0x4012('0x5')][_0x4012('0x7')]['get'](_0x4012('0x2'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x28372d,'createdAt':_0x494c2e?new Date(_0x494c2e):new Date(),'source':'importWord'}}};this[_0x4012('0x5')][_0x4012('0x7')][_0x4012('0x14')]('TrackChangesEditing')['_setSuggestionData'](_0x5b96fa);});}}
23
+ const _0x17b9=['plugins','_handleImportedData','lowest','value','bind','commands','dataInsert','get','collaboration_features','_setSuggestionData','listenTo','importWord','enableCommand','forEach','_trackChangesExecuted','_trackChangesValueDuringImport','afterInit','TrackChangesEditing','track_changes','high','trackChanges'];(function(_0x411224,_0x17b9be){const _0x1da7d8=function(_0x139fa8){while(--_0x139fa8){_0x411224['push'](_0x411224['shift']());}};_0x1da7d8(++_0x17b9be);}(_0x17b9,0x175));const _0x1da7=function(_0x411224,_0x17b9be){_0x411224=_0x411224-0x0;let _0x1da7d8=_0x17b9[_0x411224];return _0x1da7d8;};import{Plugin as _0x3cc9dc}from'ckeditor5/src/core.js';export default class ot extends _0x3cc9dc{constructor(_0x460839){super(_0x460839),this[_0x1da7('0x14')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x1da7('0x0')](){const _0x2f6b11=this['editor'],_0xdc2e92=_0x2f6b11['commands'][_0x1da7('0xc')]('importWord'),_0x373784=_0x2f6b11['commands'][_0x1da7('0xc')](_0x1da7('0x4'));_0xdc2e92&&(_0xdc2e92['on']('execute',(_0x43cfe5,[,_0x3aa6e5])=>{this[_0x1da7('0x14')]=_0x373784[_0x1da7('0x8')],_0x3aa6e5[_0x1da7('0xd')][_0x1da7('0x2')]=!this[_0x1da7('0x14')];},{'priority':_0x1da7('0x3')}),this[_0x1da7('0xf')](_0xdc2e92,_0x1da7('0xb'),this['_handleImportedData'][_0x1da7('0x9')](this)),this[_0x1da7('0xf')](_0xdc2e92,_0x1da7('0xb'),()=>{this[_0x1da7('0x13')]&&(_0x373784['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x1da7('0x7')}),_0x2f6b11['plugins']['get'](_0x1da7('0x1'))[_0x1da7('0x11')](_0x1da7('0x10')));}[_0x1da7('0x6')](_0x1dbe9a,_0x41cf99){const {suggestions:_0x4fd333}=_0x41cf99,_0x42576c=this['editor'][_0x1da7('0xa')]['get'](_0x1da7('0x4')),_0x15e734=_0x42576c[_0x1da7('0x8')];this[_0x1da7('0x14')]!==_0x15e734&&(_0x42576c['execute'](),this[_0x1da7('0x13')]=!0x0),_0x4fd333&&_0x4fd333[_0x1da7('0x12')](({id:_0x1a7554,type:_0x2999fd,author:_0x17a900,created_at:_0x4d73ce})=>{const _0x38872f={'id':_0x1a7554,'type':_0x2999fd,'authorId':this['editor'][_0x1da7('0x5')][_0x1da7('0xc')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x17a900,'createdAt':_0x4d73ce?new Date(_0x4d73ce):new Date(),'source':'importWord'}}};this['editor'][_0x1da7('0x5')]['get']('TrackChangesEditing')[_0x1da7('0xe')](_0x38872f);});}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/indent
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24ec=['enableCommand','has','formatBlock','*Indent:*\x20%0','type','*Outdent:*\x20%0','indentBlock','outdent','plugins','outdentBlock','getItems','editor','getItemLabel','FORMAT_INDENT','IndentBlock','IndentEditing','_enableDefaultAttributesIntegration','blockIndent','_registerLegacyDescription','registerAttributeLabel','commandName','get','_descriptionFactory','afterInit','format','TrackChangesEditing','indent','locale'];(function(_0x2b0566,_0x24ece){const _0x2b6053=function(_0x3fe03c){while(--_0x3fe03c){_0x2b0566['push'](_0x2b0566['shift']());}};_0x2b6053(++_0x24ece);}(_0x24ec,0x118));const _0x2b60=function(_0x2b0566,_0x24ece){_0x2b0566=_0x2b0566-0x0;let _0x2b6053=_0x24ec[_0x2b0566];return _0x2b6053;};import{Plugin as _0x590f60}from'ckeditor5/src/core';import{getTranslation as _0x7fdeb}from'../utils/common-translations';export default class ot extends _0x590f60{[_0x2b60('0x17')](){const _0x34e032=this[_0x2b60('0xb')],_0x205ccb=_0x34e032[_0x2b60('0x8')]['get'](_0x2b60('0x19'));if(_0x34e032[_0x2b60('0x8')][_0x2b60('0x1')](_0x2b60('0xf'))&&(_0x205ccb['enableCommand'](_0x2b60('0x1a')),_0x205ccb[_0x2b60('0x0')](_0x2b60('0x7'))),_0x34e032['plugins']['has'](_0x2b60('0xe')))for(const _0x26e81a of[_0x2b60('0x6'),_0x2b60('0x9')])_0x205ccb[_0x2b60('0x10')](_0x26e81a);const _0x538a98=_0x34e032[_0x2b60('0x1b')];_0x205ccb['_registerBlockAttribute'](_0x2b60('0x11')),_0x205ccb['_descriptionFactory'][_0x2b60('0x13')](_0x2b60('0x11'),_0x7fdeb(_0x538a98,_0x2b60('0xd'))),this[_0x2b60('0x12')]();}['_registerLegacyDescription'](){const _0x1aee43=this[_0x2b60('0xb')],_0x29df9c=_0x1aee43[_0x2b60('0x1b')],_0x1b71c0=_0x1aee43[_0x2b60('0x8')][_0x2b60('0x15')](_0x2b60('0x19'));_0x1b71c0[_0x2b60('0x16')]['registerDescriptionCallback'](_0x333ad4=>{if(_0x2b60('0x2')!=_0x333ad4[_0x2b60('0x4')])return;const {data:_0x293c66}=_0x333ad4;if(!_0x293c66)return;if('indentBlock'!=_0x293c66['commandName']&&_0x2b60('0x9')!=_0x293c66[_0x2b60('0x14')])return;const _0x5511c2=_0x333ad4[_0x2b60('0xa')]()[0x0],_0x43345c=_0x1b71c0['_descriptionFactory'][_0x2b60('0xc')](_0x5511c2);return _0x2b60('0x6')==_0x293c66[_0x2b60('0x14')]?{'type':_0x2b60('0x18'),'content':_0x7fdeb(_0x29df9c,_0x2b60('0x3'),_0x43345c)}:_0x2b60('0x9')==_0x293c66[_0x2b60('0x14')]?{'type':'format','content':_0x7fdeb(_0x29df9c,_0x2b60('0x5'),_0x43345c)}:void 0x0;});}}
23
+ const _0x30eb=['format','indentBlock','locale','has','*Outdent:*\x20%0','_registerBlockAttribute','commandName','registerAttributeLabel','FORMAT_INDENT','afterInit','_registerLegacyDescription','outdentBlock','blockIndent','enableCommand','_enableDefaultAttributesIntegration','formatBlock','getItems','plugins','TrackChangesEditing','indent','IndentEditing','_descriptionFactory','IndentBlock','type','get','outdent'];(function(_0x173fed,_0x30eb9e){const _0x161c97=function(_0x1e177e){while(--_0x1e177e){_0x173fed['push'](_0x173fed['shift']());}};_0x161c97(++_0x30eb9e);}(_0x30eb,0x6a));const _0x161c=function(_0x173fed,_0x30eb9e){_0x173fed=_0x173fed-0x0;let _0x161c97=_0x30eb[_0x173fed];return _0x161c97;};import{Plugin as _0x312bd5}from'ckeditor5/src/core.js';import{getTranslation as _0xd3b36d}from'../utils/common-translations.js';export default class rt extends _0x312bd5{[_0x161c('0x7')](){const _0x4c8f77=this['editor'],_0x49d105=_0x4c8f77[_0x161c('0xf')][_0x161c('0x16')](_0x161c('0x10'));if(_0x4c8f77['plugins'][_0x161c('0x1')](_0x161c('0x12'))&&(_0x49d105[_0x161c('0xb')](_0x161c('0x11')),_0x49d105[_0x161c('0xb')](_0x161c('0x17'))),_0x4c8f77['plugins']['has'](_0x161c('0x14')))for(const _0x25f19f of[_0x161c('0x19'),_0x161c('0x9')])_0x49d105[_0x161c('0xc')](_0x25f19f);const _0x186de1=_0x4c8f77[_0x161c('0x0')];_0x49d105[_0x161c('0x3')](_0x161c('0xa')),_0x49d105['_descriptionFactory'][_0x161c('0x5')](_0x161c('0xa'),_0xd3b36d(_0x186de1,_0x161c('0x6'))),this[_0x161c('0x8')]();}[_0x161c('0x8')](){const _0x51d770=this['editor'],_0x169a5e=_0x51d770[_0x161c('0x0')],_0x30a3ce=_0x51d770[_0x161c('0xf')]['get']('TrackChangesEditing');_0x30a3ce[_0x161c('0x13')]['registerDescriptionCallback'](_0x488024=>{if(_0x161c('0xd')!=_0x488024[_0x161c('0x15')])return;const {data:_0x2dbf20}=_0x488024;if(!_0x2dbf20)return;if(_0x161c('0x19')!=_0x2dbf20[_0x161c('0x4')]&&'outdentBlock'!=_0x2dbf20[_0x161c('0x4')])return;const _0x11ebcb=_0x488024[_0x161c('0xe')]()[0x0],_0x1a3639=_0x30a3ce['_descriptionFactory']['getItemLabel'](_0x11ebcb);return'indentBlock'==_0x2dbf20[_0x161c('0x4')]?{'type':_0x161c('0x18'),'content':_0xd3b36d(_0x169a5e,'*Indent:*\x20%0',_0x1a3639)}:'outdentBlock'==_0x2dbf20[_0x161c('0x4')]?{'type':_0x161c('0x18'),'content':_0xd3b36d(_0x169a5e,_0x161c('0x2'),_0x1a3639)}:void 0x0;});}}
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/inputcommand/inputcommand
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Input } from 'ckeditor5/src/typing';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Input } from 'ckeditor5/src/typing.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
12
12
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x33e7=['plugins','TrackChangesEditing','requires','editor','input'];(function(_0x19c603,_0x33e76d){var _0x2df956=function(_0x1c7383){while(--_0x1c7383){_0x19c603['push'](_0x19c603['shift']());}};_0x2df956(++_0x33e76d);}(_0x33e7,0xd0));var _0x2df9=function(_0x19c603,_0x33e76d){_0x19c603=_0x19c603-0x0;var _0x2df956=_0x33e7[_0x19c603];return _0x2df956;};import{Plugin as _0x450672}from'ckeditor5/src/core';import{Input as _0x425f13}from'ckeditor5/src/typing';export default class rt extends _0x450672{static get[_0x2df9('0x4')](){return[_0x425f13];}['init'](){this[_0x2df9('0x0')][_0x2df9('0x2')]['get'](_0x2df9('0x3'))['enableCommand'](_0x2df9('0x1'));}}
23
+ var _0x15e3=['input','init','editor','requires','plugins','enableCommand','TrackChangesEditing'];(function(_0xa92df7,_0x15e348){var _0x28954e=function(_0x52c005){while(--_0x52c005){_0xa92df7['push'](_0xa92df7['shift']());}};_0x28954e(++_0x15e348);}(_0x15e3,0x90));var _0x2895=function(_0xa92df7,_0x15e348){_0xa92df7=_0xa92df7-0x0;var _0x28954e=_0x15e3[_0xa92df7];return _0x28954e;};import{Plugin as _0x4b4968}from'ckeditor5/src/core.js';import{Input as _0x1de65f}from'ckeditor5/src/typing.js';export default class at extends _0x4b4968{static get[_0x2895('0x6')](){return[_0x1de65f];}[_0x2895('0x4')](){this[_0x2895('0x5')][_0x2895('0x0')]['get'](_0x2895('0x2'))[_0x2895('0x1')](_0x2895('0x3'));}}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module track-changes/integrations/legacylist
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ /**
10
+ * Provides track changes plugin integration for legacy list feature.
11
+ */
12
+ export default class TrackChangesLegacyList extends Plugin {
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x5783=['LegacyTodoListEditing','replace','afterInit','blockName','_selectedElements','bulleted','indentList','formatBlock','length','parent','slice','element','commandName','*Change\x20to:*\x20%0','*Uncheck\x20item*','*Outdent:*\x20%0','todo','document','getAttribute','model','nextSibling','TrackChangesEditing','ELEMENT_LIST_ITEM','get','schema','name','add','ELEMENT_NUMBERED_LIST','markBlockFormat','registerElementLabel','enableCommand','push','getSelectedBlocks','value','formatInline','type','numberedList','end','previousSibling','_descriptionFactory','selection','format','execute','listIndent','listItem','change','plugins','registerDescriptionCallback','*Check\x20item*','numbered','outdentList','checkTodoList','List','todoListChecked','createPositionAt','from','isObject','filter','todoList','LegacyListEditing','findIndex','*Indent:*\x20%0','has','locale','bulletedList','listType','commands'];(function(_0x21d116,_0x578325){const _0x5d483e=function(_0x2e3af7){while(--_0x2e3af7){_0x21d116['push'](_0x21d116['shift']());}};_0x5d483e(++_0x578325);}(_0x5783,0xf2));const _0x5d48=function(_0x21d116,_0x578325){_0x21d116=_0x21d116-0x0;let _0x5d483e=_0x5783[_0x21d116];return _0x5d483e;};import{Plugin as _0x188771}from'ckeditor5/src/core.js';import{getTranslation as _0x36ff2b}from'../utils/common-translations.js';export default class ut extends _0x188771{[_0x5d48('0x1c')](){const _0x59e532=this['editor'],_0x38def3=_0x59e532[_0x5d48('0x16')];if(!_0x59e532[_0x5d48('0x5')][_0x5d48('0x15')](_0x5d48('0x12')))return;const _0x381710=_0x59e532['plugins']['get'](_0x5d48('0x2f')),_0x192145=_0x59e532[_0x5d48('0x5')][_0x5d48('0x15')](_0x5d48('0x1a'));function _0x203543(_0x4184b1){return()=>{const _0x16e699=_0x59e532[_0x5d48('0x2d')][_0x5d48('0x2b')][_0x5d48('0x42')],_0x44a783=_0x59e532[_0x5d48('0x19')][_0x5d48('0x31')](_0x4184b1);if(_0x44a783[_0x5d48('0x3b')])return void _0x59e532[_0x5d48('0x1')]('paragraph',{});const _0x490959=_0x4184b1['slice'](0x0,-0x4),_0x5839b6=function(_0x5cf004,_0x300466,_0x50917c){let _0xc949c6=Array[_0x5d48('0xe')](_0x5cf004)[_0x5d48('0x10')](_0xc1c496=>function(_0x5c9226,_0x32f702){return _0x32f702['checkChild'](_0x5c9226[_0x5d48('0x23')],_0x5d48('0x3'))&&!_0x32f702[_0x5d48('0xf')](_0x5c9226);}(_0xc1c496,_0x50917c));_0xc949c6=_0xc949c6['filter'](_0xafb661=>!_0xafb661['is'](_0x5d48('0x25'),_0x5d48('0x3'))||_0xafb661[_0x5d48('0x2c')](_0x5d48('0x18'))!=_0x300466);const _0x4c203e=new Set();for(const _0x1f8084 of _0xc949c6)_0x1f8084['is'](_0x5d48('0x25'),_0x5d48('0x3'))?_0x4c203e[_0x5d48('0x34')](ne(_0x1f8084)):_0x4c203e[_0x5d48('0x34')](_0x1f8084);return Array['from'](_0x4c203e);}(_0x16e699[_0x5d48('0x3a')](),_0x490959,_0x59e532[_0x5d48('0x2d')][_0x5d48('0x32')]);_0x59e532['model'][_0x5d48('0x4')](()=>{for(const _0x1abdba of _0x5839b6)_0x381710[_0x5d48('0x36')](_0x1abdba,{'commandName':_0x4184b1,'commandParams':[{'forceValue':!_0x44a783[_0x5d48('0x3b')]}],'formatGroupId':_0x5d48('0x1d')},oe(_0x1abdba));});};}function _0x5c742d(_0x8d1ef3){return()=>{const _0x1662db=function(_0x3f86e2){let _0x1e2b7a=Array[_0x5d48('0xe')](_0x3f86e2);const _0x44ce09=_0x1e2b7a[_0x5d48('0x13')](_0x4e17cb=>_0x5d48('0x3')!=_0x4e17cb[_0x5d48('0x33')]);return _0x44ce09>-0x1&&(_0x1e2b7a=_0x1e2b7a[_0x5d48('0x24')](0x0,_0x44ce09)),_0x1e2b7a;}(_0x59e532[_0x5d48('0x2d')][_0x5d48('0x2b')]['selection'][_0x5d48('0x3a')]()),_0x3a8ca4=_0x59e532['model']['createRange'](_0x59e532['model'][_0x5d48('0xd')](_0x1662db[0x0],'before'),_0x59e532['model'][_0x5d48('0xd')](_0x1662db[_0x1662db[_0x5d48('0x22')]-0x1],_0x5d48('0x3f')));_0x59e532[_0x5d48('0x2d')][_0x5d48('0x4')](()=>{_0x381710[_0x5d48('0x36')](_0x3a8ca4,{'commandName':_0x8d1ef3,'commandParams':[],'formatGroupId':_0x5d48('0x2')},function(_0x3e7610){const _0x35e72e=new Set();for(const _0x54b5b2 of _0x3e7610){let _0x23ec41=_0x54b5b2[_0x5d48('0x2e')];for(;_0x23ec41&&_0x23ec41[_0x5d48('0x2c')](_0x5d48('0x2'))>_0x54b5b2[_0x5d48('0x2c')](_0x5d48('0x2'));)_0x35e72e[_0x5d48('0x34')](_0x23ec41),_0x23ec41=_0x23ec41[_0x5d48('0x2e')];}return Array['from'](_0x35e72e);}(_0x1662db));});};}_0x381710['enableCommand'](_0x5d48('0x3e'),_0x203543('numberedList')),_0x381710[_0x5d48('0x38')](_0x5d48('0x17'),_0x203543(_0x5d48('0x17'))),_0x192145&&_0x381710[_0x5d48('0x38')](_0x5d48('0x11'),_0x203543(_0x5d48('0x11'))),_0x381710[_0x5d48('0x38')](_0x5d48('0x20'),_0x5c742d('indentList')),_0x381710['enableCommand'](_0x5d48('0x9'),_0x5c742d('outdentList')),_0x192145&&_0x381710[_0x5d48('0x38')]('checkTodoList',()=>{const _0x45e85d=_0x59e532[_0x5d48('0x19')][_0x5d48('0x31')](_0x5d48('0xa')),_0x4a06b8=Array[_0x5d48('0xe')](_0x45e85d[_0x5d48('0x1e')]);_0x4a06b8[_0x5d48('0x10')](_0x2ef18b=>_0x2ef18b[_0x5d48('0x2c')](_0x5d48('0xc'))!=_0x45e85d['value']),_0x59e532[_0x5d48('0x2d')][_0x5d48('0x4')](()=>{for(const _0x40ebcb of _0x4a06b8)_0x381710[_0x5d48('0x36')](_0x40ebcb,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x45e85d[_0x5d48('0x3b')]}]});});}),_0x381710[_0x5d48('0x41')][_0x5d48('0x37')](_0x5d48('0x3'),_0x540ed8=>_0x36ff2b(_0x38def3,_0x5d48('0x30'),_0x540ed8)),_0x381710['_descriptionFactory'][_0x5d48('0x6')](_0x38e136=>{if(_0x5d48('0x21')!=_0x38e136['type']&&_0x5d48('0x3c')!=_0x38e136[_0x5d48('0x3d')])return;const {data:_0x3743c5}=_0x38e136;if(_0x3743c5){if('numberedList'==_0x3743c5[_0x5d48('0x26')]||_0x5d48('0x17')==_0x3743c5[_0x5d48('0x26')]||_0x5d48('0x11')==_0x3743c5[_0x5d48('0x26')])switch(_0x3743c5[_0x5d48('0x26')][_0x5d48('0x1b')](_0x5d48('0xb'),'')){case _0x5d48('0x1f'):return _0x18e183(_0x36ff2b(_0x38def3,'ELEMENT_BULLETED_LIST'));case _0x5d48('0x8'):return _0x18e183(_0x36ff2b(_0x38def3,_0x5d48('0x35')));case _0x5d48('0x2a'):return _0x18e183(_0x36ff2b(_0x38def3,'ELEMENT_TODO_LIST'));}if(_0x5d48('0x20')==_0x3743c5[_0x5d48('0x26')])return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x14'),_0x36ff2b(_0x38def3,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x3743c5['commandName'])return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x29'),_0x36ff2b(_0x38def3,_0x5d48('0x30')))};if(_0x5d48('0xa')==_0x3743c5[_0x5d48('0x26')])return _0x3743c5['commandParams'][0x0]['forceValue']?{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x7'))}:{'type':'format','content':_0x36ff2b(_0x38def3,_0x5d48('0x28'))};}function _0x18e183(_0x154296){return{'type':_0x5d48('0x0'),'content':_0x36ff2b(_0x38def3,_0x5d48('0x27'),_0x154296)};}});}}function ne(_0x3c15ff){const _0x58c617=_0x3c15ff[_0x5d48('0x2c')]('listIndent');if(0x0==_0x58c617)return _0x3c15ff;let _0x303dcd=_0x3c15ff;for(;_0x3c15ff[_0x5d48('0x40')]&&_0x3c15ff[_0x5d48('0x40')]['is']('element',_0x5d48('0x3'));){const _0x4fc169=_0x3c15ff[_0x5d48('0x40')]['getAttribute']('listIndent');if(_0x4fc169==_0x58c617)_0x303dcd=_0x3c15ff[_0x5d48('0x40')];else{if(_0x4fc169<_0x58c617)break;}_0x3c15ff=_0x3c15ff[_0x5d48('0x40')];}return _0x303dcd;}function oe(_0x3a2452){const _0x2e53aa=[];if(_0x3a2452['is']('element',_0x5d48('0x3'))&&_0x3a2452[_0x5d48('0x2c')](_0x5d48('0x2'))>0x0){let _0x44bf9f=_0x3a2452[_0x5d48('0x2e')];for(;_0x44bf9f&&'listItem'==_0x44bf9f[_0x5d48('0x33')]&&_0x44bf9f[_0x5d48('0x2c')]('listIndent')==_0x3a2452[_0x5d48('0x2c')](_0x5d48('0x2'));)_0x2e53aa[_0x5d48('0x39')](_0x44bf9f),_0x44bf9f=_0x44bf9f['nextSibling'];}return _0x2e53aa;}
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
- * @module track-changes/integrations/documentlistproperties
6
+ * @module track-changes/integrations/legacylistproperties
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { Description } from '../suggestiondescriptionfactory.js';
10
+ import type Suggestion from '../suggestion.js';
11
11
  /**
12
- * Provides track changes plugin integration for document list properties feature.
12
+ * Provides track changes plugin integration for list properties feature.
13
13
  */
14
- export default class TrackChangesDocumentListProperties extends Plugin {
14
+ export default class TrackChangesListProperties extends Plugin {
15
15
  /**
16
16
  * @inheritDoc
17
17
  */
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x767b=['getSelectedBlocks','numbered','reversed','format','commandName','formatInline','locale','TrackChangesEditing','forward','listType','listStyle','registerDescriptionCallback','getSiblingNodes','LegacyListUtils','before','plugins','_getSuggestionBlocks','toUpperCase','_getTranslationKeyForListStyle','getFirstPosition','_getSuggestionBlocksForListStyle','type','listItem','*Format:*\x20set\x20start\x20index\x20to\x20%0','listReversed','formatBlock','model','handleListStartCommand','from','length','listStart','backward','unshift','markMultiRangeBlockFormat','handleListStyleCommand','flat','document','*Format:*\x20set\x20order\x20to\x20regular','element','bind','getLastPosition','_LIST_','*Format:*\x20set\x20order\x20to\x20reversed','get','handleDescriptions','selection','styles','commandParams','map','enableCommand','replace','handleListReversedCommand','createRange','startIndex','change','afterInit','filter','push','editor','createPositionAt','getAttribute'];(function(_0x31d837,_0x767bd7){const _0x607846=function(_0xb8e9cf){while(--_0xb8e9cf){_0x31d837['push'](_0x31d837['shift']());}};_0x607846(++_0x767bd7);}(_0x767b,0x135));const _0x6078=function(_0x31d837,_0x767bd7){_0x31d837=_0x31d837-0x0;let _0x607846=_0x767b[_0x31d837];return _0x607846;};import{Plugin as _0x38ef3d}from'ckeditor5/src/core.js';import{getTranslation as _0x23cfef}from'../utils/common-translations.js';export default class K extends _0x38ef3d{[_0x6078('0x33')](){if(!this[_0x6078('0x36')][_0x6078('0xb')]['has']('LegacyListPropertiesEditing'))return;const _0x1007e6=this['editor']['config'][_0x6078('0x27')]('list.properties'),_0x177770=this[_0x6078('0x36')][_0x6078('0xb')][_0x6078('0x27')](_0x6078('0x3'));_0x1007e6[_0x6078('0x2a')]&&_0x177770[_0x6078('0x2d')](_0x6078('0x6'),this['handleListStyleCommand'][_0x6078('0x23')](this)),_0x1007e6[_0x6078('0x3b')]&&_0x177770[_0x6078('0x2d')]('listReversed',this[_0x6078('0x2f')]['bind'](this)),_0x1007e6[_0x6078('0x31')]&&_0x177770[_0x6078('0x2d')](_0x6078('0x1a'),this[_0x6078('0x17')][_0x6078('0x23')](this)),_0x177770['_descriptionFactory'][_0x6078('0x7')](this['handleDescriptions']['bind'](this));}[_0x6078('0x1e')](_0x570604,_0xc6cb33={}){const _0x19b265=this[_0x6078('0x36')]['plugins'][_0x6078('0x27')]('TrackChangesEditing'),_0x1c24ce=this[_0x6078('0x10')]();this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x19b265[_0x6078('0x1d')](_0x1c24ce,{'commandName':_0x6078('0x6'),'commandParams':[{'type':_0xc6cb33[_0x6078('0x11')]}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x4d3088,_0x403c9f={}){const _0x3cf6e0=this[_0x6078('0x36')][_0x6078('0xb')]['get'](_0x6078('0x3')),_0x45a6cf=this[_0x6078('0xc')](_0x163ed3=>_0x163ed3['is']('element',_0x6078('0x12'))&&_0x6078('0x3a')===_0x163ed3[_0x6078('0x38')](_0x6078('0x5')));if(_0x45a6cf['length']<0x1)return;const _0x414b8a=_0x45a6cf[_0x6078('0x2c')](_0x3e711f=>this[_0x6078('0x36')]['model'][_0x6078('0x30')](this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x3e711f,_0x6078('0xa')),this['editor'][_0x6078('0x16')]['createPositionAt'](_0x3e711f,0x0)));this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x3cf6e0['markMultiRangeBlockFormat'](_0x414b8a,{'commandName':'listReversed','commandParams':[{'reversed':_0x403c9f[_0x6078('0x3b')]}],'formatGroupId':_0x6078('0x14')});});}['handleListStartCommand'](_0x5e0dfa,_0x14c592={}){const _0x235898=this[_0x6078('0x36')][_0x6078('0xb')]['get'](_0x6078('0x3')),_0x51ac13=this[_0x6078('0xc')](_0x86cce0=>_0x86cce0['is'](_0x6078('0x22'),_0x6078('0x12'))&&_0x6078('0x3a')===_0x86cce0['getAttribute'](_0x6078('0x5')));if(_0x51ac13[_0x6078('0x19')]<0x1)return;const _0x69cae7=_0x51ac13[_0x6078('0x2c')](_0x506933=>this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x30')](this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x506933,_0x6078('0xa')),this[_0x6078('0x36')]['model'][_0x6078('0x37')](_0x506933,0x0)));this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x32')](()=>{_0x235898[_0x6078('0x1d')](_0x69cae7,{'commandName':_0x6078('0x1a'),'commandParams':[{'startIndex':_0x14c592[_0x6078('0x31')]}],'formatGroupId':'listStart'});});}[_0x6078('0x28')](_0x20ce05){if(_0x6078('0x15')!=_0x20ce05[_0x6078('0x11')]&&_0x6078('0x1')!=_0x20ce05[_0x6078('0x11')])return;const _0x5cd890=this[_0x6078('0x36')][_0x6078('0x2')],{data:_0x18ab4}=_0x20ce05;if(!_0x18ab4)return;let _0x39d95d,_0x3ce771;switch(_0x18ab4[_0x6078('0x0')]){case _0x6078('0x6'):_0x39d95d='*Change\x20to:*\x20%0',_0x3ce771={'type':_0x6078('0x3c'),'content':_0x23cfef(_0x5cd890,_0x39d95d,_0x23cfef(_0x5cd890,this[_0x6078('0xe')](_0x18ab4['commandParams'][0x0][_0x6078('0x11')])))};break;case _0x6078('0x14'):_0x39d95d=_0x18ab4[_0x6078('0x2b')][0x0][_0x6078('0x3b')]?_0x6078('0x26'):_0x6078('0x21'),_0x3ce771={'type':'format','content':_0x23cfef(_0x5cd890,_0x39d95d)};break;case _0x6078('0x1a'):_0x39d95d=_0x6078('0x13'),_0x3ce771={'type':_0x6078('0x3c'),'content':_0x23cfef(_0x5cd890,_0x39d95d,_0x18ab4[_0x6078('0x2b')][0x0][_0x6078('0x31')])};}return _0x3ce771;}['_getSuggestionBlocksForListStyle'](){var _0x5c35b4,_0x4d88a3,_0x1cb25f,_0x394142;const _0x4a80e0=this[_0x6078('0x36')][_0x6078('0xb')][_0x6078('0x27')](_0x6078('0x9'));let _0x4b09de=Array['from'](this[_0x6078('0x36')][_0x6078('0x16')]['document'][_0x6078('0x29')][_0x6078('0x39')]());return(null===(_0x5c35b4=_0x4b09de[0x0])||void 0x0===_0x5c35b4?void 0x0:_0x5c35b4['is'](_0x6078('0x22'),_0x6078('0x12')))&&_0x4b09de[_0x6078('0x1c')](..._0x4a80e0[_0x6078('0x8')](this[_0x6078('0x36')]['model'][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0xf')](),_0x6078('0x1b'))),(null===(_0x4d88a3=_0x4b09de[_0x4b09de[_0x6078('0x19')]-0x1])||void 0x0===_0x4d88a3?void 0x0:_0x4d88a3['is'](_0x6078('0x22'),_0x6078('0x12')))&&_0x4b09de[_0x6078('0x35')](..._0x4a80e0[_0x6078('0x8')](this['editor'][_0x6078('0x16')][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0x24')](),_0x6078('0x4'))),_0x4b09de=[...new Set(_0x4b09de)],(null===(_0x394142=null===(_0x1cb25f=this['editor'][_0x6078('0x16')][_0x6078('0x20')][_0x6078('0x29')][_0x6078('0xf')]())||void 0x0===_0x1cb25f?void 0x0:_0x1cb25f['parent'])||void 0x0===_0x394142?void 0x0:_0x394142['is']('element',_0x6078('0x12')))&&(_0x4b09de=_0x4b09de[_0x6078('0x34')](_0x1c704f=>_0x1c704f['is'](_0x6078('0x22'),_0x6078('0x12')))),_0x4b09de;}[_0x6078('0xc')](_0x22d5a3){const _0x3640f6=this['editor']['plugins'][_0x6078('0x27')](_0x6078('0x9'));let _0x4e537d=Array[_0x6078('0x18')](this[_0x6078('0x36')]['model'][_0x6078('0x20')][_0x6078('0x29')]['getSelectedBlocks']())['filter'](_0x22d5a3)[_0x6078('0x2c')](_0x3d5c90=>{const _0x4943fa=this[_0x6078('0x36')][_0x6078('0x16')][_0x6078('0x37')](_0x3d5c90,0x0);return[..._0x3640f6[_0x6078('0x8')](_0x4943fa,_0x6078('0x1b')),..._0x3640f6[_0x6078('0x8')](_0x4943fa,'forward')];})[_0x6078('0x1f')]();return _0x4e537d=[...new Set(_0x4e537d)],_0x4e537d;}['_getTranslationKeyForListStyle'](_0xdd377b){return'ELEMENT_'+this[_0x6078('0x36')]['plugins']['get'](_0x6078('0x9'))['getListTypeFromListStyleType'](_0xdd377b)[_0x6078('0xd')]()+_0x6078('0x25')+_0xdd377b[_0x6078('0xd')]()[_0x6078('0x2e')](/-/g,'_');}}
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/link
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for link feature.
11
11
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ef1=['unlink','label','locale','_descriptionFactory','map','LinkEditing','link','registerDescriptionCallback','_registerLegacyDescription','commandParams','_enableDefaultAttributesIntegration','*Set\x20link:*\x20%0','editor','get','format','type','has','commandName','linkHref','toLowerCase','afterInit','TrackChangesEditing','formatInline','manualDecorators','*Remove\x20link*'];(function(_0x5062be,_0x4ef1c2){const _0x259506=function(_0x4aac84){while(--_0x4aac84){_0x5062be['push'](_0x5062be['shift']());}};_0x259506(++_0x4ef1c2);}(_0x4ef1,0x1b5));const _0x2595=function(_0x5062be,_0x4ef1c2){_0x5062be=_0x5062be-0x0;let _0x259506=_0x4ef1[_0x5062be];return _0x259506;};import{Plugin as _0x1fd3ed}from'ckeditor5/src/core';import{getTranslation as _0xba9d34}from'../utils/common-translations';export default class at extends _0x1fd3ed{[_0x2595('0x8')](){const _0x5aa657=this[_0x2595('0x0')];if(!_0x5aa657['plugins'][_0x2595('0x4')](_0x2595('0x12')))return;const _0x4f52a6=_0x5aa657['plugins']['get'](_0x2595('0x9')),_0x421269=_0x5aa657['commands'][_0x2595('0x1')](_0x2595('0x13'));_0x4f52a6[_0x2595('0x17')](_0x2595('0x13'),[_0x2595('0x6'),..._0x421269['manualDecorators'][_0x2595('0x11')](_0x179a24=>_0x179a24['id'])]),_0x4f52a6[_0x2595('0x17')](_0x2595('0xd'));for(const _0x56ac2f of _0x421269[_0x2595('0xb')])_0x4f52a6[_0x2595('0x10')]['registerAttributeLabel'](_0x56ac2f['id'],'link\x20('+_0x56ac2f[_0x2595('0xe')][_0x2595('0x7')]()+')');_0x4f52a6[_0x2595('0x10')]['registerDescriptionCallback'](_0x3f17b6=>{if('attribute'!=_0x3f17b6[_0x2595('0x3')])return;const {data:_0x3a4172}=_0x3f17b6;if(!_0x3a4172||'linkHref'!=_0x3a4172['key'])return;const _0x54c7c2=_0x3a4172['newValue'],_0x5bdc09=_0x5aa657[_0x2595('0xf')];return{'type':_0x2595('0x2'),'content':_0x54c7c2?_0xba9d34(_0x5bdc09,'*Set\x20link:*\x20%0','\x22'+_0x54c7c2+'\x22'):_0xba9d34(_0x5bdc09,'*Remove\x20link*')};}),this[_0x2595('0x15')]();}[_0x2595('0x15')](){const _0x4705cf=this[_0x2595('0x0')],_0x42f2a9=_0x4705cf['locale'];_0x4705cf['plugins'][_0x2595('0x1')](_0x2595('0x9'))[_0x2595('0x10')][_0x2595('0x14')](_0x162c55=>{if(_0x2595('0xa')!=_0x162c55['type'])return;const {data:_0x148ec4}=_0x162c55;if(_0x148ec4){if(_0x2595('0x13')==_0x148ec4['commandName']){const _0x28eb06=_0x148ec4[_0x2595('0x16')][0x0];return{'type':_0x2595('0x2'),'content':_0xba9d34(_0x42f2a9,_0x2595('0x18'),'\x22'+_0x28eb06+'\x22')};}return _0x2595('0xd')==_0x148ec4[_0x2595('0x5')]?{'type':_0x2595('0x2'),'content':_0xba9d34(_0x42f2a9,_0x2595('0xc'))}:void 0x0;}});}}
23
+ const _0x1346=['TrackChangesEditing','locale','key','manualDecorators','afterInit','has','commandName','_registerLegacyDescription','link\x20(','link','*Remove\x20link*','_descriptionFactory','type','newValue','get','format','LinkEditing','linkHref','*Set\x20link:*\x20%0','attribute','registerAttributeLabel','label','registerDescriptionCallback','plugins','map','editor','_enableDefaultAttributesIntegration','commands'];(function(_0x1e61fb,_0x1346ae){const _0x2ea456=function(_0x243882){while(--_0x243882){_0x1e61fb['push'](_0x1e61fb['shift']());}};_0x2ea456(++_0x1346ae);}(_0x1346,0xe3));const _0x2ea4=function(_0x1e61fb,_0x1346ae){_0x1e61fb=_0x1e61fb-0x0;let _0x2ea456=_0x1346[_0x1e61fb];return _0x2ea456;};import{Plugin as _0x282c17}from'ckeditor5/src/core.js';import{getTranslation as _0x127f47}from'../utils/common-translations.js';export default class ct extends _0x282c17{[_0x2ea4('0x1')](){const _0x4a9cf0=this[_0x2ea4('0x16')];if(!_0x4a9cf0[_0x2ea4('0x14')][_0x2ea4('0x2')](_0x2ea4('0xd')))return;const _0x1a9fe1=_0x4a9cf0['plugins'][_0x2ea4('0xb')](_0x2ea4('0x19')),_0x22d1a0=_0x4a9cf0[_0x2ea4('0x18')]['get']('link');_0x1a9fe1['_enableDefaultAttributesIntegration'](_0x2ea4('0x6'),['linkHref',..._0x22d1a0['manualDecorators'][_0x2ea4('0x15')](_0xe1c655=>_0xe1c655['id'])]),_0x1a9fe1[_0x2ea4('0x17')]('unlink');for(const _0x2cec89 of _0x22d1a0[_0x2ea4('0x0')])_0x1a9fe1[_0x2ea4('0x8')][_0x2ea4('0x11')](_0x2cec89['id'],_0x2ea4('0x5')+_0x2cec89[_0x2ea4('0x12')]['toLowerCase']()+')');_0x1a9fe1[_0x2ea4('0x8')][_0x2ea4('0x13')](_0x5c03d4=>{if(_0x2ea4('0x10')!=_0x5c03d4[_0x2ea4('0x9')])return;const {data:_0x8a7019}=_0x5c03d4;if(!_0x8a7019||_0x2ea4('0xe')!=_0x8a7019[_0x2ea4('0x1b')])return;const _0x3832d3=_0x8a7019[_0x2ea4('0xa')],_0x11b196=_0x4a9cf0[_0x2ea4('0x1a')];return{'type':_0x2ea4('0xc'),'content':null==_0x3832d3?_0x127f47(_0x11b196,_0x2ea4('0x7')):_0x127f47(_0x11b196,_0x2ea4('0xf'),'\x22'+_0x3832d3+'\x22')};}),this[_0x2ea4('0x4')]();}[_0x2ea4('0x4')](){const _0x330157=this[_0x2ea4('0x16')],_0x2a2024=_0x330157[_0x2ea4('0x1a')];_0x330157[_0x2ea4('0x14')][_0x2ea4('0xb')](_0x2ea4('0x19'))[_0x2ea4('0x8')][_0x2ea4('0x13')](_0x2b5e38=>{if('formatInline'!=_0x2b5e38[_0x2ea4('0x9')])return;const {data:_0x1d4f67}=_0x2b5e38;if(_0x1d4f67){if('link'==_0x1d4f67[_0x2ea4('0x3')]){const _0x47cde3=_0x1d4f67['commandParams'][0x0];return{'type':_0x2ea4('0xc'),'content':_0x127f47(_0x2a2024,_0x2ea4('0xf'),'\x22'+_0x47cde3+'\x22')};}return'unlink'==_0x1d4f67[_0x2ea4('0x3')]?{'type':_0x2ea4('0xc'),'content':_0x127f47(_0x2a2024,_0x2ea4('0x7'))}:void 0x0;}});}}
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  /**
6
6
  * @module track-changes/integrations/list
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
- * Provides track changes plugin integration for list feature.
11
- */
10
+ * Provides track changes plugin integration for list feature.
11
+ */
12
12
  export default class TrackChangesList extends Plugin {
13
13
  /**
14
- * @inheritDoc
15
- */
14
+ * @inheritDoc
15
+ */
16
16
  afterInit(): void;
17
17
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1548=['ELEMENT_LIST_ITEM','selection','element','slice','commands','blockName','end','*Indent:*\x20%0','locale','length','value','ELEMENT_TODO_LIST','commandName','listIndent','editor','model','format','*Check\x20item*','isObject','paragraph','createRange','commandParams','filter','document','name','_selectedElements','List','ListEditing','afterInit','getAttribute','execute','TodoListEditing','previousSibling','checkTodoList','schema','has','*Outdent:*\x20%0','parent','type','todoList','_descriptionFactory','registerElementLabel','from','plugins','markBlockFormat','*Uncheck\x20item*','forceValue','indentList','ELEMENT_NUMBERED_LIST','numberedList','checkChild','add','change','nextSibling','listItem','enableCommand','getSelectedBlocks','outdentList','findIndex','formatInline','bulleted','bulletedList'];(function(_0x18798a,_0x154877){const _0x1d2f06=function(_0x14ef5a){while(--_0x14ef5a){_0x18798a['push'](_0x18798a['shift']());}};_0x1d2f06(++_0x154877);}(_0x1548,0xca));const _0x1d2f=function(_0x18798a,_0x154877){_0x18798a=_0x18798a-0x0;let _0x1d2f06=_0x1548[_0x18798a];return _0x1d2f06;};import{Plugin as _0x12c7b2}from'ckeditor5/src/core';import{getTranslation as _0x587104}from'../utils/common-translations';export default class ct extends _0x12c7b2{[_0x1d2f('0xc')](){const _0x326575=this[_0x1d2f('0x3c')],_0x1e8770=_0x326575[_0x1d2f('0x36')];if(!_0x326575['plugins'][_0x1d2f('0x13')](_0x1d2f('0xb')))return;const _0x39285a=_0x326575[_0x1d2f('0x1b')]['get']('TrackChangesEditing'),_0xc5a327=_0x326575[_0x1d2f('0x1b')]['has'](_0x1d2f('0xf'));function _0x378b47(_0x5d7a0c){return()=>{const _0x5ca021=_0x326575[_0x1d2f('0x3d')]['document'][_0x1d2f('0x2f')],_0x1b64a7=_0x326575[_0x1d2f('0x32')]['get'](_0x5d7a0c);if(_0x1b64a7['value'])return void _0x326575[_0x1d2f('0xe')](_0x1d2f('0x3'),{});const _0x545f33=_0x5d7a0c['slice'](0x0,-0x4),_0x417a7c=function(_0x3f859b,_0x3b3176,_0x49e422){let _0x44d70b=Array['from'](_0x3f859b)['filter'](_0x567ae1=>function(_0x91c5c9,_0x28fa18){return _0x28fa18[_0x1d2f('0x22')](_0x91c5c9[_0x1d2f('0x15')],_0x1d2f('0x26'))&&!_0x28fa18[_0x1d2f('0x2')](_0x91c5c9);}(_0x567ae1,_0x49e422));_0x44d70b=_0x44d70b['filter'](_0x512316=>!_0x512316['is'](_0x1d2f('0x30'),'listItem')||_0x512316[_0x1d2f('0xd')]('listType')!=_0x3b3176);const _0x96bd0f=new Set();for(const _0x2ff317 of _0x44d70b)_0x2ff317['is'](_0x1d2f('0x30'),'listItem')?_0x96bd0f['add'](ne(_0x2ff317)):_0x96bd0f[_0x1d2f('0x23')](_0x2ff317);return Array[_0x1d2f('0x1a')](_0x96bd0f);}(_0x5ca021[_0x1d2f('0x28')](),_0x545f33,_0x326575[_0x1d2f('0x3d')][_0x1d2f('0x12')]);_0x326575[_0x1d2f('0x3d')]['change'](()=>{for(const _0x3e0a8e of _0x417a7c)_0x39285a['markBlockFormat'](_0x3e0a8e,{'commandName':_0x5d7a0c,'commandParams':[{'forceValue':!_0x1b64a7[_0x1d2f('0x38')]}],'formatGroupId':_0x1d2f('0x33')},oe(_0x3e0a8e));});};}function _0x446aa3(_0x1b5508){return()=>{const _0x39b774=function(_0x24562c){let _0x4b3fab=Array['from'](_0x24562c);const _0x546a5f=_0x4b3fab[_0x1d2f('0x2a')](_0x50e428=>_0x1d2f('0x26')!=_0x50e428[_0x1d2f('0x8')]);return _0x546a5f>-0x1&&(_0x4b3fab=_0x4b3fab[_0x1d2f('0x31')](0x0,_0x546a5f)),_0x4b3fab;}(_0x326575['model'][_0x1d2f('0x7')][_0x1d2f('0x2f')][_0x1d2f('0x28')]()),_0x352c35=_0x326575['model'][_0x1d2f('0x4')](_0x326575['model']['createPositionAt'](_0x39b774[0x0],'before'),_0x326575[_0x1d2f('0x3d')]['createPositionAt'](_0x39b774[_0x39b774[_0x1d2f('0x37')]-0x1],_0x1d2f('0x34')));_0x326575[_0x1d2f('0x3d')]['change'](()=>{_0x39285a[_0x1d2f('0x1c')](_0x352c35,{'commandName':_0x1b5508,'commandParams':[],'formatGroupId':_0x1d2f('0x3b')},function(_0x4a3540){const _0x802279=new Set();for(const _0x8632ba of _0x4a3540){let _0x3d338d=_0x8632ba['nextSibling'];for(;_0x3d338d&&_0x3d338d[_0x1d2f('0xd')](_0x1d2f('0x3b'))>_0x8632ba[_0x1d2f('0xd')](_0x1d2f('0x3b'));)_0x802279[_0x1d2f('0x23')](_0x3d338d),_0x3d338d=_0x3d338d['nextSibling'];}return Array[_0x1d2f('0x1a')](_0x802279);}(_0x39b774));});};}_0x39285a['enableCommand'](_0x1d2f('0x21'),_0x378b47(_0x1d2f('0x21'))),_0x39285a[_0x1d2f('0x27')]('bulletedList',_0x378b47(_0x1d2f('0x2d'))),_0xc5a327&&_0x39285a['enableCommand'](_0x1d2f('0x17'),_0x378b47(_0x1d2f('0x17'))),_0x39285a['enableCommand'](_0x1d2f('0x1f'),_0x446aa3(_0x1d2f('0x1f'))),_0x39285a['enableCommand'](_0x1d2f('0x29'),_0x446aa3(_0x1d2f('0x29'))),_0xc5a327&&_0x39285a[_0x1d2f('0x27')](_0x1d2f('0x11'),()=>{const _0x312cf2=_0x326575[_0x1d2f('0x32')]['get'](_0x1d2f('0x11')),_0x47c26f=Array[_0x1d2f('0x1a')](_0x312cf2[_0x1d2f('0x9')]);_0x47c26f[_0x1d2f('0x6')](_0x17e943=>_0x17e943[_0x1d2f('0xd')]('todoListChecked')!=_0x312cf2[_0x1d2f('0x38')]),_0x326575[_0x1d2f('0x3d')][_0x1d2f('0x24')](()=>{for(const _0x490bed of _0x47c26f)_0x39285a[_0x1d2f('0x1c')](_0x490bed,{'commandName':_0x1d2f('0x11'),'commandParams':[{'forceValue':!_0x312cf2[_0x1d2f('0x38')]}]});});}),_0x39285a[_0x1d2f('0x18')][_0x1d2f('0x19')](_0x1d2f('0x26'),_0x10bb1d=>_0x587104(_0x1e8770,'ELEMENT_LIST_ITEM',_0x10bb1d)),_0x39285a['_descriptionFactory']['registerDescriptionCallback'](_0x10fd95=>{if('formatBlock'!=_0x10fd95[_0x1d2f('0x16')]&&_0x1d2f('0x2b')!=_0x10fd95['type'])return;const {data:_0x31a916}=_0x10fd95;if(_0x31a916){if(_0x1d2f('0x21')==_0x31a916[_0x1d2f('0x3a')]||_0x1d2f('0x2d')==_0x31a916[_0x1d2f('0x3a')]||'todoList'==_0x31a916['commandName'])switch(_0x31a916['commandName']['replace'](_0x1d2f('0xa'),'')){case _0x1d2f('0x2c'):return _0x4381cf(_0x587104(_0x1e8770,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x4381cf(_0x587104(_0x1e8770,_0x1d2f('0x20')));case'todo':return _0x4381cf(_0x587104(_0x1e8770,_0x1d2f('0x39')));}if(_0x1d2f('0x1f')==_0x31a916[_0x1d2f('0x3a')])return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x35'),_0x587104(_0x1e8770,_0x1d2f('0x2e')))};if(_0x1d2f('0x29')==_0x31a916[_0x1d2f('0x3a')])return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x14'),_0x587104(_0x1e8770,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x31a916[_0x1d2f('0x3a')])return _0x31a916[_0x1d2f('0x5')][0x0][_0x1d2f('0x1e')]?{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x1'))}:{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,_0x1d2f('0x1d'))};}function _0x4381cf(_0x42588c){return{'type':_0x1d2f('0x0'),'content':_0x587104(_0x1e8770,'*Change\x20to:*\x20%0',_0x42588c)};}});}}function ne(_0x13e05a){const _0x2724db=_0x13e05a[_0x1d2f('0xd')]('listIndent');if(0x0==_0x2724db)return _0x13e05a;let _0x376d14=_0x13e05a;for(;_0x13e05a['previousSibling']&&_0x13e05a[_0x1d2f('0x10')]['is'](_0x1d2f('0x30'),'listItem');){const _0xfc7d91=_0x13e05a[_0x1d2f('0x10')][_0x1d2f('0xd')]('listIndent');if(_0xfc7d91==_0x2724db)_0x376d14=_0x13e05a['previousSibling'];else{if(_0xfc7d91<_0x2724db)break;}_0x13e05a=_0x13e05a['previousSibling'];}return _0x376d14;}function oe(_0x1e88a5){const _0x597cc8=[];if(_0x1e88a5['is'](_0x1d2f('0x30'),_0x1d2f('0x26'))&&_0x1e88a5[_0x1d2f('0xd')]('listIndent')>0x0){let _0xa139a0=_0x1e88a5[_0x1d2f('0x25')];for(;_0xa139a0&&_0x1d2f('0x26')==_0xa139a0[_0x1d2f('0x8')]&&_0xa139a0[_0x1d2f('0xd')](_0x1d2f('0x3b'))==_0x1e88a5[_0x1d2f('0xd')](_0x1d2f('0x3b'));)_0x597cc8['push'](_0xa139a0),_0xa139a0=_0xa139a0[_0x1d2f('0x25')];}return _0x597cc8;}
23
+ const _0x2789=['format','head','ELEMENT_TODO_LIST','find','splitListItemAfter','listItemIdFixer','execute','getFirstMarker','_getAttributeKey','differ','locale','*Format:*\x20remove\x20from\x20%0','getSuggestions','getFirstRange','get','refresh','_findSuggestions','*Uncheck\x20item*','outdentList','TodoListEditing','parent','isNextTo','getAttribute','*Format:*\x20insert\x20into\x20%0','registerAttributeLabel','*Outdent:*\x20%0','has','todoList','ELEMENT_LIST_ITEM','nodeAfter','mergeListItemBackward','filter','_suggestionFactory','listReversed','*Set\x20format:*\x20%0','createPositionAt','listStyle','forceValue','plugins','next','suggestion','assureChains','fromRange','listIndent','_supportLegacySuggestions','detach','meta','commands','numberedList','isLocal','ELEMENT_NUMBERED_LIST','commandName','nextSibling','todoListCheck','*Merge:*\x20%0','afterInit','formatBlock','multipleBlocks','listItemId','from','setAttribute','createRange','indentList','_descriptionFactory','map','isUndo','includes','key','length','getChanges','removeMarker','list.multiBlock','checkTodoList','ListEditing','mergeListItemForward','containsItem','*Remove\x20format:*\x20%0','config','data','attributes','splitListItemBefore','bulleted','editor','end','getRanges','registerCustomCallback','groupId','*Indent:*\x20%0','default','numbered','listStart','listType','accept','registerDescriptionCallback','isObject','deletion','model','change','*Check\x20item*','TrackChangesEditing','bulletedList','batch','_enableDefaultAttributesIntegration','commandParams','trackChangesCommand','start','documentList','*Change\x20to:*\x20%0','FORMAT_INDENT','todo','previousSibling','document','value','setSelection','selection','oldValue','*Split:*\x20list\x20item','newValue','attribute','registerPostFixer','_LIST','type','todoListChecked','_registerLegacyDescription','ELEMENT_BULLETED_LIST'];(function(_0x3ea281,_0x278952){const _0x5e88c7=function(_0x47e25c){while(--_0x47e25c){_0x3ea281['push'](_0x3ea281['shift']());}};_0x5e88c7(++_0x278952);}(_0x2789,0x16b));const _0x5e88=function(_0x3ea281,_0x278952){_0x3ea281=_0x3ea281-0x0;let _0x5e88c7=_0x2789[_0x3ea281];return _0x5e88c7;};import{Plugin as _0x43613c}from'ckeditor5/src/core.js';import{getTranslation as _0x17e5c3}from'../utils/common-translations.js';import{renameAttributeKey as _0x4e0d87}from'../trackchangesediting.js';import{LiveRange as _0x1a61d2}from'ckeditor5/src/engine.js';export default class z extends _0x43613c{[_0x5e88('0x43')](){const _0x2d8c2e=this['editor'];if(!_0x2d8c2e[_0x5e88('0x32')][_0x5e88('0x26')](_0x5e88('0x55')))return;const _0x5f0b50=_0x2d8c2e['locale'],_0x354ace=_0x2d8c2e['plugins'][_0x5e88('0x1a')](_0x5e88('0x6f')),_0xd76059=_0x2d8c2e[_0x5e88('0x32')]['has'](_0x5e88('0x1f')),_0x311dc0=!!_0x2d8c2e[_0x5e88('0x59')][_0x5e88('0x1a')](_0x5e88('0x53'));function _0x28a8af(_0x2121fd){return{'type':_0x5e88('0xc'),'content':''+_0x17e5c3(_0x5f0b50,_0x5e88('0x2e'),_0x2121fd)};}function _0x4e52d6(_0x1b115e){return{'type':_0x5e88('0xc'),'content':''+_0x17e5c3(_0x5f0b50,_0x5e88('0x58'),_0x1b115e)};}_0x354ace['_enableDefaultAttributesIntegration'](_0x5e88('0x3c'),[],[_0x5e88('0x46'),_0x5e88('0x67'),_0x5e88('0x37')]),_0x354ace[_0x5e88('0x72')](_0x5e88('0x70')),_0x354ace[_0x5e88('0x72')]('indentList'),_0x354ace[_0x5e88('0x72')](_0x5e88('0x1e')),_0x354ace[_0x5e88('0x72')](_0x5e88('0x10')),_0x354ace[_0x5e88('0x72')](_0x5e88('0x5c')),_0x311dc0&&(_0x354ace[_0x5e88('0x72')]('mergeListItemBackward'),_0x354ace[_0x5e88('0x72')](_0x5e88('0x56'))),_0xd76059&&(_0x354ace[_0x5e88('0x72')](_0x5e88('0x27')),_0x354ace['_enableDefaultAttributesIntegration'](_0x5e88('0x54'),[],[_0x5e88('0x9')]),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x40c5c9=>{const {data:_0x105a57}=_0x40c5c9;if(_0x105a57&&'todoListChecked'==_0x105a57[_0x5e88('0x4f')])return{'type':_0x5e88('0xc'),'content':_0x105a57['newValue']?_0x17e5c3(_0x5f0b50,_0x5e88('0x6e')):_0x17e5c3(_0x5f0b50,_0x5e88('0x1d'))};}),this[_0x5e88('0x5e')][_0x5e88('0x6c')][_0x5e88('0x7b')]['registerPostFixer'](_0x461b6c=>{if(_0x461b6c[_0x5e88('0x71')][_0x5e88('0x4d')])return!0x1;let _0x549f46=!0x1;const _0x4904e0=_0x354ace[_0x5e88('0x18')]({'skipNotAttached':!0x0})['filter'](_0x23e2ae=>_0x5e88('0x9')===_0x354ace[_0x5e88('0x14')](_0x23e2ae));for(const _0x4c995d of _0x4904e0){_0x5e88('0x79')!=_0x4c995d[_0x5e88('0x19')]()['start'][_0x5e88('0x29')][_0x5e88('0x22')]('listType')&&(_0x354ace[_0x5e88('0x1c')](_0x4c995d[_0x5e88('0x19')](),_0x5e88('0x5'))[_0x5e88('0xf')](_0x65bd15=>'listType'===_0x354ace[_0x5e88('0x14')](_0x65bd15[_0x5e88('0x34')]))||(_0x461b6c[_0x5e88('0x52')](_0x4c995d[_0x5e88('0x13')]()),_0x549f46=!0x0));}return _0x549f46;})),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x24')]('listIndent',_0x17e5c3(_0x5f0b50,_0x5e88('0x78')));const _0x3b964f={'type':_0x5e88('0xc'),'content':''};_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x513049=>{const {data:_0x46228e}=_0x513049;if(!_0x46228e||_0x5e88('0x67')!=_0x46228e[_0x5e88('0x4f')])return;let _0x48c83e=_0x513049['head'];for(;_0x48c83e;){if(_0x48c83e['data']&&(_0x5e88('0x30')==_0x48c83e[_0x5e88('0x5a')]['key']&&(_0x48c83e[_0x5e88('0x5a')][_0x5e88('0x4')]&&_0x5e88('0x64')!=_0x48c83e['data']['newValue']||'default'!=_0x48c83e['data']['oldValue']&&!_0x46228e[_0x5e88('0x4')])||!_0x311dc0&&_0x48c83e[_0x5e88('0x5a')][_0x5e88('0x4f')]==_0x4e0d87))return _0x3b964f;_0x48c83e=_0x48c83e['next'];}if(null==_0x46228e[_0x5e88('0x4')])switch(_0x46228e[_0x5e88('0x2')]){case _0x5e88('0x5d'):return _0x4e52d6(_0x17e5c3(_0x5f0b50,_0x5e88('0xb')));case _0x5e88('0x65'):return _0x4e52d6(_0x17e5c3(_0x5f0b50,_0x5e88('0x3e')));case'todo':return _0x4e52d6(_0x17e5c3(_0x5f0b50,'ELEMENT_TODO_LIST'));}switch(_0x46228e[_0x5e88('0x4')]){case _0x5e88('0x5d'):return _0x28a8af(_0x17e5c3(_0x5f0b50,'ELEMENT_BULLETED_LIST'));case _0x5e88('0x65'):return _0x28a8af(_0x17e5c3(_0x5f0b50,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x28a8af(_0x17e5c3(_0x5f0b50,_0x5e88('0xe')));}}),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x5d3fcb=>{const {data:_0x2d28e6}=_0x5d3fcb;if(_0x2d28e6&&_0x5e88('0x37')==_0x2d28e6['key'])return null==_0x2d28e6[_0x5e88('0x4')]||null==_0x2d28e6[_0x5e88('0x2')]&&0x0==_0x2d28e6[_0x5e88('0x4')]?_0x3b964f:void 0x0;}),_0x354ace['_descriptionFactory'][_0x5e88('0x69')](_0x25c979=>{if(_0x5e88('0x5')!=_0x25c979[_0x5e88('0x8')])return;const {data:_0x12e3a6}=_0x25c979;if(!_0x12e3a6||_0x5e88('0x46')!=_0x12e3a6['key'])return;const _0x6c4d66=ie(_0x25c979);return _0x6c4d66?'newValue'==_0x6c4d66?{'type':'format','content':_0x17e5c3(_0x5f0b50,'*Merge:*\x20list\x20item')}:'oldValue'==_0x6c4d66?{'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x5f0b50,_0x5e88('0x3'))}:_0x3b964f:_0x3b964f;}),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x6')](_0x5c296b=>this[_0x5e88('0x11')](_0x5c296b)),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')]['registerPostFixer'](_0x350d16=>this['noTrackChangesFixer'](_0x350d16)),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x6')](_0x107afd=>this[_0x5e88('0x35')](_0x107afd)),this[_0x5e88('0x38')]();}[_0x5e88('0x11')](_0x50673f){if(_0x50673f['batch']['isUndo']||!_0x50673f['batch']['isLocal'])return!0x1;let _0x595da0=!0x1;const _0x5d7383=this[_0x5e88('0x5e')]['plugins'][_0x5e88('0x1a')](_0x5e88('0x6f'))['getSuggestions']({'skipNotAttached':!0x0})[_0x5e88('0x2b')](_0x1cb3c2=>_0x1cb3c2[_0x5e88('0x5a')]&&_0x5e88('0x46')==_0x1cb3c2['data'][_0x5e88('0x4f')])[_0x5e88('0x2b')](_0x3f8359=>_0x3f8359['data'][_0x5e88('0x4')]&&_0x3f8359['data'][_0x5e88('0x2')]);for(const _0x350aae of _0x5d7383)ie(_0x350aae)||(_0x50673f['removeMarker'](_0x350aae[_0x5e88('0x13')]()),_0x595da0=!0x0);return _0x595da0;}['noTrackChangesFixer'](_0x318697){if(_0x318697[_0x5e88('0x71')]['isUndo']||!_0x318697[_0x5e88('0x71')]['isLocal'])return!0x1;const _0x582317=this[_0x5e88('0x5e')]['plugins']['get'](_0x5e88('0x6f'));if(_0x582317[_0x5e88('0x74')][_0x5e88('0x7c')])return!0x1;let _0x2b37b1=!0x1;const _0x1f300a=[_0x5e88('0x67'),'listStyle',_0x5e88('0x46'),_0x5e88('0x37'),_0x5e88('0x66'),'listReversed',_0x5e88('0x41')],_0x52af5b=this[_0x5e88('0x5e')][_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x15')][_0x5e88('0x51')]()[_0x5e88('0x2b')](_0x592d10=>'attribute'==_0x592d10[_0x5e88('0x8')])[_0x5e88('0x2b')](_0x1dfee0=>_0x1f300a[_0x5e88('0x4e')](_0x1dfee0['attributeKey']));if(0x0==_0x52af5b[_0x5e88('0x50')])return _0x2b37b1;for(const _0x440cae of _0x52af5b){const _0x36b762=_0x582317['_findSuggestions'](_0x440cae['range'],_0x5e88('0x5'))[_0x5e88('0x2b')](_0x333de8=>!_0x333de8[_0x5e88('0x3a')][_0x5e88('0x21')])[_0x5e88('0x4c')](_0x464e2c=>_0x464e2c[_0x5e88('0x34')])[_0x5e88('0x2b')](_0x2d45cb=>{const _0x319f3a=_0x582317[_0x5e88('0x14')](_0x2d45cb);return _0x1f300a[_0x5e88('0x4e')](_0x319f3a);});if(_0x36b762[_0x5e88('0x50')]){for(const _0x303a09 of _0x36b762)_0x318697[_0x5e88('0x52')](_0x303a09[_0x5e88('0x13')]());_0x2b37b1=!0x0;}}return _0x2b37b1;}[_0x5e88('0x35')](_0xfcd5f6){if(_0xfcd5f6[_0x5e88('0x71')][_0x5e88('0x4d')]||!_0xfcd5f6[_0x5e88('0x71')][_0x5e88('0x3d')])return!0x1;const _0x506bcd=this[_0x5e88('0x5e')][_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'));let _0x3da778=!0x1;const _0x3830ad=[_0x5e88('0x67'),_0x5e88('0x30'),_0x5e88('0x46'),_0x5e88('0x37'),'listStart',_0x5e88('0x2d'),_0x5e88('0x41')];for(const _0xfd5cc8 of _0x506bcd[_0x5e88('0x18')]({'skipNotAttached':!0x0})){const _0x2f69f2=_0x506bcd[_0x5e88('0x1c')](_0xfd5cc8[_0x5e88('0x19')](),_0x5e88('0x5'))[_0x5e88('0x4c')](_0x1a2179=>_0x1a2179['suggestion'])[_0x5e88('0x2b')](_0x141a1e=>_0x141a1e[_0x5e88('0x5a')]&&_0x3830ad[_0x5e88('0x4e')](_0x141a1e['data'][_0x5e88('0x4f')]));if(!_0x2f69f2[_0x5e88('0x50')])continue;const _0x5a467c=_0x2f69f2[0x0][_0x5e88('0xd')][_0x5e88('0x5b')]['groupId'];if(!_0x2f69f2['every'](_0x1213dc=>_0x1213dc[_0x5e88('0x5b')][_0x5e88('0x62')]===_0x5a467c))for(const _0x216d93 of _0x2f69f2)_0x3c8460(_0x216d93,_0x5a467c)&&(_0x3da778=!0x0);}return _0x3da778;function _0x16ebe1(_0x532f7a,_0xc3c6be){for(const _0x76e06d of _0x506bcd['getSuggestions']({'skipNotAttached':!0x0})[_0x5e88('0x2b')](_0x1b2859=>_0x5e88('0x5')==_0x1b2859[_0x5e88('0x8')]&&_0x1b2859[_0x5e88('0x5b')][_0x5e88('0x62')]==_0x532f7a))_0x76e06d[_0x5e88('0x48')](_0x5e88('0x62'),_0xc3c6be);}function _0x3c8460(_0x162b3f,_0x59fe35){let _0xbf98cc=_0x162b3f[_0x5e88('0xd')],_0x2212fc=!0x1;for(;_0xbf98cc;)_0xbf98cc[_0x5e88('0x5b')]['groupId']!=_0x59fe35&&(_0x16ebe1(_0xbf98cc[_0x5e88('0x5b')][_0x5e88('0x62')],_0x59fe35),_0xbf98cc[_0x5e88('0x48')](_0x5e88('0x62'),_0x59fe35),_0x2212fc=!0x0),_0xbf98cc=_0xbf98cc[_0x5e88('0x33')];return _0x2212fc;}}[_0x5e88('0x38')](){const _0x1f6783=this[_0x5e88('0x5e')],_0x45b5e4=_0x1f6783[_0x5e88('0x16')],_0x1049a2=_0x1f6783[_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'));this[_0x5e88('0xa')](),_0x1049a2[_0x5e88('0x2c')][_0x5e88('0x61')](_0x5e88('0x44'),_0x5e88('0x76'),_0x5e88('0x68'),function(_0x2bb825,_0x9da611){const _0x228a9a=[];for(let _0x14d013 of _0x2bb825)_0x14d013[_0x5e88('0x75')][_0x5e88('0x29')]===_0x14d013[_0x5e88('0x5f')][_0x5e88('0x20')]&&(_0x14d013=_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x49')](_0x1f6783['model'][_0x5e88('0x2f')](_0x14d013[_0x5e88('0x75')]['nodeAfter'],0x0))),_0x228a9a['push'](_0x14d013);_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x6d')](_0x48def9=>{const _0x5961b5=_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x1')],_0x475c66=Array[_0x5e88('0x47')](_0x5961b5[_0x5e88('0x60')]())[_0x5e88('0x4c')](_0x2b1b14=>_0x1a61d2[_0x5e88('0x36')](_0x2b1b14));_0x48def9['setSelection'](_0x228a9a),_0x1f6783[_0x5e88('0x3b')][_0x5e88('0x1a')](_0x9da611[_0x5e88('0x3f')])[_0x5e88('0x1b')](),_0x9da611[_0x5e88('0x73')]['push']({'forceDefaultExecution':!0x0}),_0x1f6783[_0x5e88('0x12')](_0x9da611[_0x5e88('0x3f')],..._0x9da611[_0x5e88('0x73')]),_0x48def9[_0x5e88('0x0')](_0x475c66);for(const _0x45ccce of _0x475c66)_0x45ccce[_0x5e88('0x39')]();});}),_0x1049a2[_0x5e88('0x4b')]['registerElementLabel'](function(_0x221feb){const _0x1bb7b8=!_0x1f6783['model']['schema'][_0x5e88('0x6a')](_0x221feb),_0x5342aa=_0x221feb[_0x5e88('0x7a')],_0x1c4d2f=_0x221feb[_0x5e88('0x40')],_0x5e103b=_0x221feb[_0x5e88('0x22')]('listItemId'),_0x3f6d02=!_0x5342aa||_0x5342aa[_0x5e88('0x22')]('listItemId')!==_0x5e103b,_0x3ff095=!_0x1c4d2f||_0x1c4d2f[_0x5e88('0x22')](_0x5e88('0x46'))!==_0x5e103b;return _0x1bb7b8&&Boolean(_0x5e103b)&&_0x3f6d02&&_0x3ff095;},_0x521845=>_0x17e5c3(_0x45b5e4,_0x5e88('0x28'),_0x521845));}[_0x5e88('0xa')](){const _0x587180=this[_0x5e88('0x5e')],_0x51295d=_0x587180[_0x5e88('0x16')];function _0x502028(_0x2fafc7){const _0x6631e2=_0x587180[_0x5e88('0x3b')]['get'](_0x5e88('0x70'))[_0x5e88('0x7c')],_0x41b24d=_0x587180[_0x5e88('0x3b')][_0x5e88('0x1a')](_0x5e88('0x3c'))[_0x5e88('0x7c')];return _0x5e88('0x3c')===_0x2fafc7?_0x6631e2:_0x41b24d;}_0x587180[_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'))[_0x5e88('0x4b')][_0x5e88('0x69')](function(_0x21c234){if('formatBlock'!=_0x21c234[_0x5e88('0x8')])return;const {data:_0x493ee2}=_0x21c234;if(!_0x493ee2)return;let _0x14cb7d,_0x49935e,_0x388b2d,_0x4c032a;switch(_0x493ee2[_0x5e88('0x3f')]){case'bulletedList':_0x388b2d=_0x493ee2[_0x5e88('0x73')][0x0][_0x5e88('0x31')],_0x4c032a=_0x502028(_0x493ee2[_0x5e88('0x3f')]),_0x14cb7d=_0x388b2d?_0x5e88('0x23'):'*Format:*\x20remove\x20from\x20%0',!_0x4c032a&&_0x587180[_0x5e88('0x59')]['get'](_0x5e88('0x53'))||(_0x14cb7d=_0x5e88('0x77')),_0x49935e={'type':'format','content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0xb')))};break;case _0x5e88('0x3c'):_0x388b2d=_0x493ee2['commandParams'][0x0][_0x5e88('0x31')],_0x4c032a=_0x502028(_0x493ee2[_0x5e88('0x3f')]),_0x14cb7d=_0x388b2d?_0x5e88('0x23'):'*Format:*\x20remove\x20from\x20%0',!_0x4c032a&&_0x587180[_0x5e88('0x59')][_0x5e88('0x1a')]('list.multiBlock')||(_0x14cb7d=_0x5e88('0x77')),_0x49935e={'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x3e')))};break;case _0x5e88('0x4a'):_0x14cb7d=_0x5e88('0x63'),_0x49935e={'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x28')))};break;case _0x5e88('0x1e'):_0x14cb7d=function(_0x230b3a){const _0x5d4626=_0x230b3a['getFirstRange']();let _0x210e12=_0x5d4626[_0x5e88('0x75')][_0x5e88('0x29')];for(;_0x210e12&&_0x5d4626[_0x5e88('0x57')](_0x210e12);){if(_0x210e12[_0x5e88('0x22')](_0x5e88('0x37'))>0x0)return!0x1;_0x210e12=_0x210e12[_0x5e88('0x40')];}return!0x0;}(_0x21c234)?_0x17e5c3(_0x51295d,_0x5e88('0x17'),_0x17e5c3(_0x51295d,function(_0x4b040f){return'ELEMENT_'+_0x4b040f[_0x5e88('0x19')]()['start'][_0x5e88('0x29')]['getAttribute'](_0x5e88('0x67'))['toUpperCase']()+_0x5e88('0x7');}(_0x21c234))):_0x17e5c3(_0x51295d,_0x5e88('0x25'),_0x17e5c3(_0x51295d,_0x5e88('0x28'))),_0x49935e={'type':_0x5e88('0xc'),'content':_0x14cb7d};break;case _0x5e88('0x2a'):case'mergeListItemForward':!0x1===_0x493ee2[_0x5e88('0x45')]&&(_0x14cb7d=_0x5e88('0x42'),_0x49935e={'type':_0x5e88('0x6b'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x28')))});}return _0x49935e;});}}function ie(_0xcd4f38){let _0x130395=_0xcd4f38[_0x5e88('0x19')]()[_0x5e88('0x75')][_0x5e88('0x29')][_0x5e88('0x7a')];for(;_0x130395;){const _0x571da3=_0x130395[_0x5e88('0x22')](_0x5e88('0x46'));if(!_0x571da3)return!0x1;if(_0x571da3==_0xcd4f38[_0x5e88('0x5a')]['newValue'])return _0x5e88('0x4');if(_0x571da3==_0xcd4f38[_0x5e88('0x5a')][_0x5e88('0x2')])return _0x5e88('0x2');_0x130395=_0x130395[_0x5e88('0x7a')];}return!0x1;}