@ckeditor/ckeditor5-track-changes 38.2.0-alpha.0 → 39.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 (137) hide show
  1. package/README.md +0 -1
  2. package/build/track-changes.js +1 -1
  3. package/build/translations/gl.js +1 -1
  4. package/build/translations/sq.js +1 -0
  5. package/lang/translations/gl.po +23 -23
  6. package/lang/translations/sq.po +487 -0
  7. package/package.json +4 -5
  8. package/src/augmentation.d.ts +4 -0
  9. package/src/augmentation.js +1 -1
  10. package/src/commands/acceptsuggestioncommand.d.ts +4 -0
  11. package/src/commands/acceptsuggestioncommand.js +2 -2
  12. package/src/commands/discardsuggestioncommand.d.ts +4 -0
  13. package/src/commands/discardsuggestioncommand.js +2 -2
  14. package/src/commands/executeonallsuggestionscommand.d.ts +4 -0
  15. package/src/commands/executeonallsuggestionscommand.js +2 -2
  16. package/src/commands/executeonselectedsuggestionscommand.d.ts +4 -0
  17. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  18. package/src/commands/trackchangescommand.d.ts +4 -0
  19. package/src/commands/trackchangescommand.js +2 -2
  20. package/src/index.d.ts +4 -0
  21. package/src/index.js +1 -1
  22. package/src/integrations/alignment.d.ts +4 -0
  23. package/src/integrations/alignment.js +2 -2
  24. package/src/integrations/basicstyles.d.ts +4 -0
  25. package/src/integrations/basicstyles.js +2 -2
  26. package/src/integrations/blockquote.d.ts +4 -0
  27. package/src/integrations/blockquote.js +2 -2
  28. package/src/integrations/ckbox.d.ts +4 -0
  29. package/src/integrations/ckbox.js +2 -2
  30. package/src/integrations/codeblock.d.ts +4 -0
  31. package/src/integrations/codeblock.js +2 -2
  32. package/src/integrations/comments.d.ts +4 -0
  33. package/src/integrations/comments.js +2 -2
  34. package/src/integrations/deletecommand.d.ts +4 -0
  35. package/src/integrations/deletecommand.js +2 -2
  36. package/src/integrations/documentlist.d.ts +4 -0
  37. package/src/integrations/documentlist.js +2 -2
  38. package/src/integrations/documentlistproperties.d.ts +4 -0
  39. package/src/integrations/documentlistproperties.js +2 -2
  40. package/src/integrations/entercommand.d.ts +4 -0
  41. package/src/integrations/entercommand.js +2 -2
  42. package/src/integrations/findandreplace.d.ts +4 -0
  43. package/src/integrations/findandreplace.js +2 -2
  44. package/src/integrations/font.d.ts +4 -0
  45. package/src/integrations/font.js +2 -2
  46. package/src/integrations/formatpainter.d.ts +4 -0
  47. package/src/integrations/formatpainter.js +2 -2
  48. package/src/integrations/heading.d.ts +4 -0
  49. package/src/integrations/heading.js +2 -2
  50. package/src/integrations/highlight.d.ts +4 -0
  51. package/src/integrations/highlight.js +2 -2
  52. package/src/integrations/horizontalline.d.ts +4 -0
  53. package/src/integrations/horizontalline.js +2 -2
  54. package/src/integrations/htmlembed.d.ts +4 -0
  55. package/src/integrations/htmlembed.js +2 -2
  56. package/src/integrations/image.d.ts +4 -0
  57. package/src/integrations/image.js +2 -2
  58. package/src/integrations/imagereplace.d.ts +4 -0
  59. package/src/integrations/imagereplace.js +2 -2
  60. package/src/integrations/importword.d.ts +4 -0
  61. package/src/integrations/importword.js +2 -2
  62. package/src/integrations/indent.d.ts +4 -0
  63. package/src/integrations/indent.js +2 -2
  64. package/src/integrations/inputcommand.d.ts +4 -0
  65. package/src/integrations/inputcommand.js +2 -2
  66. package/src/integrations/link.d.ts +4 -0
  67. package/src/integrations/link.js +2 -2
  68. package/src/integrations/list.d.ts +4 -0
  69. package/src/integrations/list.js +2 -2
  70. package/src/integrations/listproperties.d.ts +4 -0
  71. package/src/integrations/listproperties.js +2 -2
  72. package/src/integrations/mediaembed.d.ts +4 -0
  73. package/src/integrations/mediaembed.js +2 -2
  74. package/src/integrations/mention.d.ts +4 -0
  75. package/src/integrations/mention.js +2 -2
  76. package/src/integrations/pagebreak.d.ts +4 -0
  77. package/src/integrations/pagebreak.js +2 -2
  78. package/src/integrations/paragraph.d.ts +4 -0
  79. package/src/integrations/paragraph.js +2 -2
  80. package/src/integrations/removeformat.d.ts +4 -0
  81. package/src/integrations/removeformat.js +2 -2
  82. package/src/integrations/restrictededitingmode.d.ts +4 -0
  83. package/src/integrations/restrictededitingmode.js +2 -2
  84. package/src/integrations/shiftentercommand.d.ts +4 -0
  85. package/src/integrations/shiftentercommand.js +2 -2
  86. package/src/integrations/standardeditingmode.d.ts +4 -0
  87. package/src/integrations/standardeditingmode.js +2 -2
  88. package/src/integrations/style.d.ts +4 -0
  89. package/src/integrations/style.js +2 -2
  90. package/src/integrations/table.d.ts +4 -0
  91. package/src/integrations/table.js +2 -2
  92. package/src/integrations/tablecaption.d.ts +4 -0
  93. package/src/integrations/tablecaption.js +2 -2
  94. package/src/integrations/tableclipboard.d.ts +2 -1
  95. package/src/integrations/tableclipboard.js +2 -2
  96. package/src/integrations/tablecolumnresize.d.ts +4 -0
  97. package/src/integrations/tablecolumnresize.js +2 -2
  98. package/src/integrations/tableheadings.d.ts +4 -0
  99. package/src/integrations/tableheadings.js +2 -2
  100. package/src/integrations/tablemergesplit.d.ts +4 -0
  101. package/src/integrations/tablemergesplit.js +2 -2
  102. package/src/integrations/tableofcontents.d.ts +4 -0
  103. package/src/integrations/tableofcontents.js +2 -2
  104. package/src/integrations/tableproperties.d.ts +4 -0
  105. package/src/integrations/tableproperties.js +2 -2
  106. package/src/integrations/template.d.ts +4 -0
  107. package/src/integrations/template.js +2 -2
  108. package/src/integrations/title.d.ts +4 -0
  109. package/src/integrations/title.js +2 -2
  110. package/src/integrations/undo.d.ts +4 -0
  111. package/src/integrations/undo.js +2 -2
  112. package/src/integrations/utils.d.ts +4 -0
  113. package/src/integrations/utils.js +2 -2
  114. package/src/suggestion.d.ts +11 -1
  115. package/src/suggestion.js +2 -2
  116. package/src/suggestiondescriptionfactory.d.ts +14 -2
  117. package/src/suggestiondescriptionfactory.js +2 -2
  118. package/src/trackchanges.d.ts +4 -0
  119. package/src/trackchanges.js +2 -2
  120. package/src/trackchangesconfig.d.ts +4 -0
  121. package/src/trackchangesconfig.js +1 -1
  122. package/src/trackchangesdata.d.ts +6 -2
  123. package/src/trackchangesdata.js +2 -2
  124. package/src/trackchangesediting.d.ts +4 -0
  125. package/src/trackchangesediting.js +2 -2
  126. package/src/trackchangesui.d.ts +4 -0
  127. package/src/trackchangesui.js +2 -2
  128. package/src/ui/suggestioncontroller.d.ts +2 -1
  129. package/src/ui/suggestioncontroller.js +2 -2
  130. package/src/ui/view/basesuggestionthreadview.d.ts +4 -0
  131. package/src/ui/view/basesuggestionthreadview.js +2 -2
  132. package/src/ui/view/suggestionthreadview.d.ts +2 -2
  133. package/src/ui/view/suggestionthreadview.js +2 -2
  134. package/src/utils/common-translations.d.ts +4 -0
  135. package/src/utils/common-translations.js +2 -2
  136. package/src/utils/utils.d.ts +4 -0
  137. package/src/utils/utils.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-track-changes",
3
- "version": "38.2.0-alpha.0",
3
+ "version": "39.0.0",
4
4
  "description": "CKEditor 5 track changes plugin.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -29,7 +29,6 @@
29
29
  "framework"
30
30
  ],
31
31
  "main": "src/index.js",
32
- "type": "module",
33
32
  "files": [
34
33
  "build",
35
34
  "lang",
@@ -40,9 +39,9 @@
40
39
  "CHANGELOG.md"
41
40
  ],
42
41
  "dependencies": {
43
- "ckeditor5": "38.2.0-alpha.0",
44
- "ckeditor5-collaboration": "38.2.0-alpha.0",
45
- "lodash-es": "^4.17.11"
42
+ "ckeditor5": "39.0.0",
43
+ "ckeditor5-collaboration": "39.0.0",
44
+ "lodash-es": "4.17.21"
46
45
  },
47
46
  "engines": {
48
47
  "node": ">=16.0.0",
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  import type { TrackChangesConfig, TrackChangesEditing, AcceptSuggestionCommand, DiscardSuggestionCommand, ExecuteOnAllSuggestionsCommand, ExecuteOnSelectedSuggestionsCommand, TrackChangesCommand } from './index';
2
6
  import type { Editor } from 'ckeditor5/src/core';
3
7
  declare module '@ckeditor/ckeditor5-core' {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/commands/acceptsuggestioncommand
3
7
  * @publicApi
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x5a72=['refresh','canEditAt','get','plugins','model','execute','TrackChangesEditing','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','editor'];(function(_0x1f6658,_0x5a728b){const _0x3d5cc5=function(_0x288f63){while(--_0x288f63){_0x1f6658['push'](_0x1f6658['shift']());}};_0x3d5cc5(++_0x5a728b);}(_0x5a72,0xe8));const _0x3d5c=function(_0x1f6658,_0x5a728b){_0x1f6658=_0x1f6658-0x0;let _0x3d5cc5=_0x5a72[_0x1f6658];return _0x3d5cc5;};import{Command as _0x4fe269}from'ckeditor5/src/core';import{CKEditorError as _0x152ab0}from'ckeditor5/src/utils';export default class M extends _0x4fe269{constructor(_0x47cfeb,_0x238fb5){super(_0x47cfeb),this['_suggestions']=_0x238fb5,this[_0x3d5c('0x8')](),this[_0x3d5c('0x6')]=!0x1;}[_0x3d5c('0x8')](){this['isEnabled']=!0x0;}[_0x3d5c('0x3')](_0x1bd7ee){const _0xd537f3=this['_suggestions'][_0x3d5c('0x0')](_0x1bd7ee);if(!_0xd537f3)throw new _0x152ab0(_0x3d5c('0x5'),this);const _0x506dae=_0xd537f3['getRanges']();this[_0x3d5c('0x7')][_0x3d5c('0x2')][_0x3d5c('0x9')](_0x506dae)&&this[_0x3d5c('0x7')][_0x3d5c('0x1')][_0x3d5c('0x0')](_0x3d5c('0x4'))['acceptSuggestion'](_0xd537f3);}}
23
+ const _0x390b=['refresh','execute','get','editor','acceptSuggestion','getRanges','model','track-changes-accept-suggestion-not-found','_isEnabledBasedOnSelection','isEnabled','TrackChangesEditing','plugins','_suggestions'];(function(_0x41b1db,_0x390b93){const _0x3c581f=function(_0x48d5c7){while(--_0x48d5c7){_0x41b1db['push'](_0x41b1db['shift']());}};_0x3c581f(++_0x390b93);}(_0x390b,0x178));const _0x3c58=function(_0x41b1db,_0x390b93){_0x41b1db=_0x41b1db-0x0;let _0x3c581f=_0x390b[_0x41b1db];return _0x3c581f;};import{Command as _0xea54b7}from'ckeditor5/src/core';import{CKEditorError as _0x2c2fc8}from'ckeditor5/src/utils';export default class M extends _0xea54b7{constructor(_0x4e2291,_0x3768c6){super(_0x4e2291),this[_0x3c58('0x0')]=_0x3768c6,this[_0x3c58('0x1')](),this[_0x3c58('0x9')]=!0x1;}['refresh'](){this[_0x3c58('0xa')]=!0x0;}[_0x3c58('0x2')](_0xe8f83){const _0x16e847=this['_suggestions'][_0x3c58('0x3')](_0xe8f83);if(!_0x16e847)throw new _0x2c2fc8(_0x3c58('0x8'),this);const _0x36de0b=_0x16e847[_0x3c58('0x6')]();this[_0x3c58('0x4')][_0x3c58('0x7')]['canEditAt'](_0x36de0b)&&this[_0x3c58('0x4')][_0x3c58('0xc')][_0x3c58('0x3')](_0x3c58('0xb'))[_0x3c58('0x5')](_0x16e847);}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/commands/discardsuggestioncommand
3
7
  * @publicApi
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x159b=['_suggestions','_isEnabledBasedOnSelection','get','plugins','canEditAt','isEnabled','getRanges','discardSuggestion','editor','execute','model','track-changes-discard-suggestion-not-found','refresh'];(function(_0x3860ae,_0x159b05){const _0x1009d7=function(_0x14da0d){while(--_0x14da0d){_0x3860ae['push'](_0x3860ae['shift']());}};_0x1009d7(++_0x159b05);}(_0x159b,0x151));const _0x1009=function(_0x3860ae,_0x159b05){_0x3860ae=_0x3860ae-0x0;let _0x1009d7=_0x159b[_0x3860ae];return _0x1009d7;};import{Command as _0x20bd7b}from'ckeditor5/src/core';import{CKEditorError as _0xb86c8d}from'ckeditor5/src/utils';export default class $ extends _0x20bd7b{constructor(_0x3c3915,_0x4c3846){super(_0x3c3915),this[_0x1009('0x1')]=_0x4c3846,this[_0x1009('0x0')](),this[_0x1009('0x2')]=!0x1;}['refresh'](){this[_0x1009('0x6')]=!0x0;}[_0x1009('0xa')](_0x2a8bfe){const _0x31ac34=this[_0x1009('0x1')][_0x1009('0x3')](_0x2a8bfe);if(!_0x31ac34)throw new _0xb86c8d(_0x1009('0xc'),this);const _0x302cf1=_0x31ac34[_0x1009('0x7')]();this[_0x1009('0x9')][_0x1009('0xb')][_0x1009('0x5')](_0x302cf1)&&this[_0x1009('0x9')][_0x1009('0x4')][_0x1009('0x3')]('TrackChangesEditing')[_0x1009('0x8')](_0x31ac34);}}
23
+ const _0x1905=['editor','_isEnabledBasedOnSelection','TrackChangesEditing','execute','refresh','get','_suggestions','getRanges'];(function(_0x597918,_0x1905d9){const _0x2b9422=function(_0x7b4fa5){while(--_0x7b4fa5){_0x597918['push'](_0x597918['shift']());}};_0x2b9422(++_0x1905d9);}(_0x1905,0x1dc));const _0x2b94=function(_0x597918,_0x1905d9){_0x597918=_0x597918-0x0;let _0x2b9422=_0x1905[_0x597918];return _0x2b9422;};import{Command as _0x54a139}from'ckeditor5/src/core';import{CKEditorError as _0x191005}from'ckeditor5/src/utils';export default class $ extends _0x54a139{constructor(_0xa1acba,_0x3d2147){super(_0xa1acba),this['_suggestions']=_0x3d2147,this['refresh'](),this[_0x2b94('0x5')]=!0x1;}[_0x2b94('0x0')](){this['isEnabled']=!0x0;}[_0x2b94('0x7')](_0x401858){const _0x1e2695=this[_0x2b94('0x2')][_0x2b94('0x1')](_0x401858);if(!_0x1e2695)throw new _0x191005('track-changes-discard-suggestion-not-found',this);const _0xe04452=_0x1e2695[_0x2b94('0x3')]();this[_0x2b94('0x4')]['model']['canEditAt'](_0xe04452)&&this['editor']['plugins'][_0x2b94('0x1')](_0x2b94('0x6'))['discardSuggestion'](_0x1e2695);}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/commands/executeonallsuggestionscommand
3
7
  * @publicApi
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x45cf=['getRanges','values','_command','isInContent','execute','_suggestions','canEditAt','refresh','model','isEnabled','editor','some','from'];(function(_0x29fd82,_0x45cfda){const _0x4460c2=function(_0x34e6f5){while(--_0x34e6f5){_0x29fd82['push'](_0x29fd82['shift']());}};_0x4460c2(++_0x45cfda);}(_0x45cf,0x114));const _0x4460=function(_0x29fd82,_0x45cfda){_0x29fd82=_0x29fd82-0x0;let _0x4460c2=_0x45cf[_0x29fd82];return _0x4460c2;};import{Command as _0x5e7e3a}from'ckeditor5/src/core';import{sortSuggestions as _0xcd8421,executeCommandForSuggestions as _0x20e711}from'../utils/utils';export default class N extends _0x5e7e3a{constructor(_0x3605bf,_0x22c29c,_0x57986e){super(_0x3605bf),this[_0x4460('0xc')]=_0x22c29c,this[_0x4460('0x2')]=_0x57986e,this[_0x4460('0x4')](),this['_isEnabledBasedOnSelection']=!0x1;}[_0x4460('0x4')](){const _0x32ade2=Array[_0x4460('0x9')](this[_0x4460('0x2')][_0x4460('0xb')]())[_0x4460('0x8')](_0x523859=>_0x523859[_0x4460('0x0')]);this[_0x4460('0x6')]=this[_0x4460('0xc')][_0x4460('0x6')]&&_0x32ade2;}[_0x4460('0x1')](){const _0x5f3cd7=_0xcd8421(Array[_0x4460('0x9')](this[_0x4460('0x2')][_0x4460('0xb')]()));for(const _0x58398c of _0x5f3cd7){const _0x483428=_0x58398c[_0x4460('0xa')]();if(!this[_0x4460('0x7')]['model'][_0x4460('0x3')](_0x483428))return;}_0x20e711(this['editor'][_0x4460('0x5')],this[_0x4460('0xc')],_0x5f3cd7);}}
23
+ const _0x55e6=['values','_command','some','getRanges','isEnabled','editor','_isEnabledBasedOnSelection','isInContent','model','from','canEditAt','_suggestions'];(function(_0x4b9bf6,_0x55e6bb){const _0x2c40c2=function(_0x3d7b89){while(--_0x3d7b89){_0x4b9bf6['push'](_0x4b9bf6['shift']());}};_0x2c40c2(++_0x55e6bb);}(_0x55e6,0x1a1));const _0x2c40=function(_0x4b9bf6,_0x55e6bb){_0x4b9bf6=_0x4b9bf6-0x0;let _0x2c40c2=_0x55e6[_0x4b9bf6];return _0x2c40c2;};import{Command as _0x7ee9a9}from'ckeditor5/src/core';import{sortSuggestions as _0x5e7e13,executeCommandForSuggestions as _0x3de26f}from'../utils/utils';export default class N extends _0x7ee9a9{constructor(_0x2dd820,_0x345e2d,_0x20332e){super(_0x2dd820),this[_0x2c40('0x4')]=_0x345e2d,this[_0x2c40('0x2')]=_0x20332e,this['refresh'](),this[_0x2c40('0x9')]=!0x1;}['refresh'](){const _0x43840b=Array[_0x2c40('0x0')](this[_0x2c40('0x2')]['values']())[_0x2c40('0x5')](_0x5dc094=>_0x5dc094[_0x2c40('0xa')]);this[_0x2c40('0x7')]=this[_0x2c40('0x4')]['isEnabled']&&_0x43840b;}['execute'](){const _0x57a458=_0x5e7e13(Array[_0x2c40('0x0')](this[_0x2c40('0x2')][_0x2c40('0x3')]()));for(const _0x513925 of _0x57a458){const _0x343e4a=_0x513925[_0x2c40('0x6')]();if(!this['editor'][_0x2c40('0xb')][_0x2c40('0x1')](_0x343e4a))return;}_0x3de26f(this[_0x2c40('0x8')][_0x2c40('0xb')],this[_0x2c40('0x4')],_0x57a458);}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/commands/executeonselectedsuggestionscommand
3
7
  * @publicApi
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x2117=['document','editor','model','from','_suggestions','refresh','values','canEditAt','isEnabled','_isEnabledBasedOnSelection','execute','_selectedSuggestions','_command','selection'];(function(_0x179ccd,_0x2117e4){const _0xf276b9=function(_0x332608){while(--_0x332608){_0x179ccd['push'](_0x179ccd['shift']());}};_0xf276b9(++_0x2117e4);}(_0x2117,0xc7));const _0xf276=function(_0x179ccd,_0x2117e4){_0x179ccd=_0x179ccd-0x0;let _0xf276b9=_0x2117[_0x179ccd];return _0xf276b9;};import{Command as _0x430460}from'ckeditor5/src/core';import{sortSuggestions as _0xd1f290,getSelectedSuggestions as _0x3d8f41,executeCommandForSuggestions as _0x35d18d}from'../utils/utils';export default class R extends _0x430460{constructor(_0x3c579d,_0x246f8e,_0x3a51aa){super(_0x3c579d),this[_0xf276('0x9')]=_0x246f8e,this[_0xf276('0x1')]=_0x3a51aa,this[_0xf276('0x8')]=new Set(),this[_0xf276('0x2')](),this[_0xf276('0x6')]=!0x1;}['refresh'](){const _0x2be1c2=this[_0xf276('0xc')][_0xf276('0xd')][_0xf276('0xb')][_0xf276('0xa')],_0x2c804f=Array[_0xf276('0x0')](this[_0xf276('0x1')][_0xf276('0x3')]());this[_0xf276('0x8')]=_0x3d8f41(_0x2be1c2,_0x2c804f),this[_0xf276('0x5')]=this[_0xf276('0x9')]['isEnabled']&&!!this['_selectedSuggestions']['size'];}[_0xf276('0x7')](){const _0x1c9762=_0xd1f290(Array[_0xf276('0x0')](this[_0xf276('0x8')]));for(const _0x1c57a7 of _0x1c9762){const _0x1ce885=_0x1c57a7['getRanges']();if(!this[_0xf276('0xc')][_0xf276('0xd')][_0xf276('0x4')](_0x1ce885))return;}_0x35d18d(this[_0xf276('0xc')][_0xf276('0xd')],this[_0xf276('0x9')],_0x1c9762);}}
23
+ const _0x412c=['_command','document','isEnabled','_selectedSuggestions','_suggestions','editor','model','selection','values','getRanges','canEditAt','_isEnabledBasedOnSelection','size','refresh'];(function(_0x61b157,_0x412c98){const _0x196aa5=function(_0x1b8b66){while(--_0x1b8b66){_0x61b157['push'](_0x61b157['shift']());}};_0x196aa5(++_0x412c98);}(_0x412c,0x7d));const _0x196a=function(_0x61b157,_0x412c98){_0x61b157=_0x61b157-0x0;let _0x196aa5=_0x412c[_0x61b157];return _0x196aa5;};import{Command as _0x47827b}from'ckeditor5/src/core';import{sortSuggestions as _0xefdf91,getSelectedSuggestions as _0x1f5699,executeCommandForSuggestions as _0x432630}from'../utils/utils';export default class R extends _0x47827b{constructor(_0x50e210,_0x2cc510,_0x53b09d){super(_0x50e210),this[_0x196a('0x1')]=_0x2cc510,this[_0x196a('0x5')]=_0x53b09d,this['_selectedSuggestions']=new Set(),this[_0x196a('0x0')](),this[_0x196a('0xc')]=!0x1;}[_0x196a('0x0')](){const _0x3afbb4=this[_0x196a('0x6')]['model'][_0x196a('0x2')][_0x196a('0x8')],_0x4ae3a3=Array['from'](this[_0x196a('0x5')][_0x196a('0x9')]());this[_0x196a('0x4')]=_0x1f5699(_0x3afbb4,_0x4ae3a3),this['isEnabled']=this[_0x196a('0x1')][_0x196a('0x3')]&&!!this[_0x196a('0x4')][_0x196a('0xd')];}['execute'](){const _0x4ca4c8=_0xefdf91(Array['from'](this[_0x196a('0x4')]));for(const _0x7f5f46 of _0x4ca4c8){const _0x29d2b3=_0x7f5f46[_0x196a('0xa')]();if(!this['editor'][_0x196a('0x7')][_0x196a('0xb')](_0x29d2b3))return;}_0x432630(this[_0x196a('0x6')][_0x196a('0x7')],this[_0x196a('0x1')],_0x4ca4c8);}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/commands/trackchangescommand
3
7
  * @publicApi
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x552b=['forceDisabled','_isEnabledBasedOnSelection','has','_disableUnsupportedCommands','affectsData','_enabledCommands','editor','execute','value','TrackChangesCommand','_enableCommands','refresh','commands'];(function(_0x176d10,_0x552b32){const _0x2714c4=function(_0x13cee1){while(--_0x13cee1){_0x176d10['push'](_0x176d10['shift']());}};_0x2714c4(++_0x552b32);}(_0x552b,0xc6));const _0x2714=function(_0x176d10,_0x552b32){_0x176d10=_0x176d10-0x0;let _0x2714c4=_0x552b[_0x176d10];return _0x2714c4;};import{Command as _0x9d3534}from'ckeditor5/src/core';export default class _ extends _0x9d3534{constructor(_0x4e779b,_0x5649ae){super(_0x4e779b),this[_0x2714('0x2')]=_0x5649ae,this[_0x2714('0x5')]=!0x1,this[_0x2714('0x8')](),this[_0x2714('0xb')]=!0x1;}['refresh'](){this['isEnabled']=!0x0;}[_0x2714('0x4')](){this['value']=!this[_0x2714('0x5')],this[_0x2714('0x5')]?this[_0x2714('0x0')]():this[_0x2714('0x7')]();}[_0x2714('0x0')](){for(const _0x36ebf1 of this[_0x2714('0x3')][_0x2714('0x9')]['commands']())_0x36ebf1[_0x2714('0x1')]&&!this['_enabledCommands'][_0x2714('0xc')](_0x36ebf1)&&_0x36ebf1[_0x2714('0xa')](_0x2714('0x6'));}['_enableCommands'](){for(const _0x2686eb of this['editor'][_0x2714('0x9')][_0x2714('0x9')]())_0x2686eb[_0x2714('0x1')]&&!this['_enabledCommands'][_0x2714('0xc')](_0x2686eb)&&_0x2686eb['clearForceDisabled'](_0x2714('0x6'));}}
23
+ const _0x1e29=['execute','TrackChangesCommand','_enabledCommands','_isEnabledBasedOnSelection','_enableCommands','refresh','has','value','affectsData','_disableUnsupportedCommands','commands','editor','isEnabled','clearForceDisabled'];(function(_0x5a25ed,_0x1e298d){const _0x219c6f=function(_0x1d7e37){while(--_0x1d7e37){_0x5a25ed['push'](_0x5a25ed['shift']());}};_0x219c6f(++_0x1e298d);}(_0x1e29,0x1df));const _0x219c=function(_0x5a25ed,_0x1e298d){_0x5a25ed=_0x5a25ed-0x0;let _0x219c6f=_0x1e29[_0x5a25ed];return _0x219c6f;};import{Command as _0x80d1a2}from'ckeditor5/src/core';export default class _ extends _0x80d1a2{constructor(_0x4a4a6f,_0x163b04){super(_0x4a4a6f),this[_0x219c('0xd')]=_0x163b04,this['value']=!0x1,this[_0x219c('0x2')](),this[_0x219c('0x0')]=!0x1;}['refresh'](){this[_0x219c('0x9')]=!0x0;}[_0x219c('0xb')](){this[_0x219c('0x4')]=!this['value'],this[_0x219c('0x4')]?this[_0x219c('0x6')]():this[_0x219c('0x1')]();}['_disableUnsupportedCommands'](){for(const _0x103a00 of this[_0x219c('0x8')][_0x219c('0x7')][_0x219c('0x7')]())_0x103a00[_0x219c('0x5')]&&!this[_0x219c('0xd')][_0x219c('0x3')](_0x103a00)&&_0x103a00['forceDisabled'](_0x219c('0xc'));}[_0x219c('0x1')](){for(const _0x20c922 of this[_0x219c('0x8')][_0x219c('0x7')][_0x219c('0x7')]())_0x20c922['affectsData']&&!this[_0x219c('0xd')][_0x219c('0x3')](_0x20c922)&&_0x20c922[_0x219c('0xa')](_0x219c('0xc'));}}
package/src/index.d.ts CHANGED
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  export { default as TrackChanges, type SuggestionData } from './trackchanges';
2
6
  export { default as TrackChangesData } from './trackchangesdata';
3
7
  export { default as TrackChangesEditing } from './trackchangesediting';
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/alignment
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x5298=['FORMAT_ALIGN_TO_CENTER','commandName','locale','commandParams','getAttribute','alignment','get','checkAttribute','selection','center','TrackChangesEditing','justify','document','FORMAT_ALIGN_TO_LEFT','right','left','value','format','afterInit','model','filter','contentLanguageDirection','_descriptionFactory','enableCommand','editor','getSelectedBlocks','from','registerDescriptionCallback','plugins','markBlockFormat','change','ltr','FORMAT_JUSTIFY_TEXT','AlignmentEditing'];(function(_0xa8b3b8,_0x5298da){const _0x370ff9=function(_0x535046){while(--_0x535046){_0xa8b3b8['push'](_0xa8b3b8['shift']());}};_0x370ff9(++_0x5298da);}(_0x5298,0x90));const _0x370f=function(_0xa8b3b8,_0x5298da){_0xa8b3b8=_0xa8b3b8-0x0;let _0x370ff9=_0x5298[_0xa8b3b8];return _0x370ff9;};import{Plugin as _0xeaebba}from'ckeditor5/src/core';import{getTranslation as _0x381ad6}from'../utils/common-translations';export default class x extends _0xeaebba{[_0x370f('0xa')](){const _0x4dcaca=this['editor'],_0x571b24=_0x4dcaca[_0x370f('0x1c')];if(!_0x4dcaca['plugins']['has'](_0x370f('0x19')))return;const _0x128b63=_0x4dcaca[_0x370f('0x14')][_0x370f('0x20')](_0x370f('0x2'));_0x128b63[_0x370f('0xf')]('alignment',(_0x3b293d,_0x500941={})=>{let _0x32a341=_0x500941[_0x370f('0x8')];_0x500941[_0x370f('0x8')]||(_0x32a341=_0x370f('0x17')===_0x4dcaca[_0x370f('0x1c')][_0x370f('0xd')]?'left':_0x370f('0x6'));const _0x9ca4f9=Array[_0x370f('0x12')](this[_0x370f('0x10')]['model'][_0x370f('0x4')][_0x370f('0x0')][_0x370f('0x11')]())[_0x370f('0xc')](_0x5492ff=>function(_0x413dfe,_0x1af3ec,_0x264474){const _0x465287=_0x413dfe[_0x370f('0x1e')]('alignment')||null;return _0x1af3ec[_0x370f('0x21')](_0x413dfe,'alignment')&&_0x264474!=_0x465287;}(_0x5492ff,this['editor'][_0x370f('0xb')]['schema'],_0x32a341));_0x4dcaca[_0x370f('0xb')][_0x370f('0x16')](()=>{for(const _0xbbaa24 of _0x9ca4f9)_0x128b63[_0x370f('0x15')](_0xbbaa24,{'commandName':_0x370f('0x1f'),'commandParams':[{'value':_0x32a341}]});});}),_0x128b63[_0x370f('0xe')][_0x370f('0x13')](_0x5e7c93=>{const {data:_0x38f62d}=_0x5e7c93;if(_0x38f62d&&_0x370f('0x1f')==_0x38f62d[_0x370f('0x1b')]){const _0x4b6c5e=_0x38f62d[_0x370f('0x1d')][0x0][_0x370f('0x8')];return{'type':_0x370f('0x9'),'content':_0x381ad6(_0x571b24,'*Format:*\x20%0',function(_0x3c9e83){switch(_0x3c9e83){case _0x370f('0x7'):return _0x381ad6(_0x571b24,_0x370f('0x5'));case _0x370f('0x6'):return _0x381ad6(_0x571b24,'FORMAT_ALIGN_TO_RIGHT');case _0x370f('0x1'):return _0x381ad6(_0x571b24,_0x370f('0x1a'));case _0x370f('0x3'):return _0x381ad6(_0x571b24,_0x370f('0x18'));}}(_0x4b6c5e))};}});}}
23
+ const _0xf2b8=['model','schema','document','center','enableCommand','editor','AlignmentEditing','FORMAT_ALIGN_TO_CENTER','plugins','TrackChangesEditing','getAttribute','change','from','getSelectedBlocks','alignment','right','locale','value','justify','afterInit','FORMAT_ALIGN_TO_RIGHT','registerDescriptionCallback','contentLanguageDirection','get','commandName','left','selection','checkAttribute','markBlockFormat'];(function(_0xe4f6ed,_0xf2b8f5){const _0x1df4ce=function(_0x57c845){while(--_0x57c845){_0xe4f6ed['push'](_0xe4f6ed['shift']());}};_0x1df4ce(++_0xf2b8f5);}(_0xf2b8,0xa0));const _0x1df4=function(_0xe4f6ed,_0xf2b8f5){_0xe4f6ed=_0xe4f6ed-0x0;let _0x1df4ce=_0xf2b8[_0xe4f6ed];return _0x1df4ce;};import{Plugin as _0x718a47}from'ckeditor5/src/core';import{getTranslation as _0x31e88d}from'../utils/common-translations';export default class x extends _0x718a47{[_0x1df4('0x4')](){const _0x52469c=this[_0x1df4('0x13')],_0x5b0569=_0x52469c['locale'];if(!_0x52469c['plugins']['has'](_0x1df4('0x14')))return;const _0x332e7a=_0x52469c[_0x1df4('0x16')][_0x1df4('0x8')](_0x1df4('0x17'));_0x332e7a[_0x1df4('0x12')](_0x1df4('0x1c'),(_0x586499,_0x19db20={})=>{let _0x12bebc=_0x19db20['value'];_0x19db20[_0x1df4('0x2')]||(_0x12bebc='ltr'===_0x52469c[_0x1df4('0x1')][_0x1df4('0x7')]?'left':_0x1df4('0x0'));const _0x496fb=Array[_0x1df4('0x1a')](this[_0x1df4('0x13')][_0x1df4('0xe')][_0x1df4('0x10')][_0x1df4('0xb')][_0x1df4('0x1b')]())['filter'](_0x2926be=>function(_0x5a790f,_0x2e8165,_0x5e7751){const _0x49a342=_0x5a790f[_0x1df4('0x18')](_0x1df4('0x1c'))||null;return _0x2e8165[_0x1df4('0xc')](_0x5a790f,'alignment')&&_0x5e7751!=_0x49a342;}(_0x2926be,this[_0x1df4('0x13')][_0x1df4('0xe')][_0x1df4('0xf')],_0x12bebc));_0x52469c[_0x1df4('0xe')][_0x1df4('0x19')](()=>{for(const _0xd8768f of _0x496fb)_0x332e7a[_0x1df4('0xd')](_0xd8768f,{'commandName':'alignment','commandParams':[{'value':_0x12bebc}]});});}),_0x332e7a['_descriptionFactory'][_0x1df4('0x6')](_0x33272c=>{const {data:_0x58d3a8}=_0x33272c;if(_0x58d3a8&&_0x1df4('0x1c')==_0x58d3a8[_0x1df4('0x9')]){const _0x2e848e=_0x58d3a8['commandParams'][0x0][_0x1df4('0x2')];return{'type':'format','content':_0x31e88d(_0x5b0569,'*Format:*\x20%0',function(_0x431424){switch(_0x431424){case _0x1df4('0xa'):return _0x31e88d(_0x5b0569,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x31e88d(_0x5b0569,_0x1df4('0x5'));case _0x1df4('0x11'):return _0x31e88d(_0x5b0569,_0x1df4('0x15'));case _0x1df4('0x3'):return _0x31e88d(_0x5b0569,'FORMAT_JUSTIFY_TEXT');}}(_0x2e848e))};}});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/basicstyles
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x5893=['StrikethroughEditing','get','superscript','plugins','afterInit','FORMAT_STRIKETHROUGH','FORMAT_UNDERLINE','ItalicEditing','UnderlineEditing','strikethrough','FORMAT_SUPERSCRIPT','CodeEditing','editor','bold','subscript','FORMAT_CODE','value','_descriptionFactory','*Format:*\x20%0','selection','FORMAT_BOLD','SubscriptEditing','code','toLowerCase','TrackChangesEditing','forceValue','FORMAT_SUBSCRIPT','isCollapsed','underline','model','FORMAT_ITALIC','from','SuperscriptEditing','change','slice','markInlineFormat','commandName','BoldEditing','commandParams'];(function(_0x12ee4f,_0x5893d1){const _0x504bf2=function(_0x385112){while(--_0x385112){_0x12ee4f['push'](_0x12ee4f['shift']());}};_0x504bf2(++_0x5893d1);}(_0x5893,0xb3));const _0x504b=function(_0x12ee4f,_0x5893d1){_0x12ee4f=_0x12ee4f-0x0;let _0x504bf2=_0x5893[_0x12ee4f];return _0x504bf2;};import{Plugin as _0x4e8afd}from'ckeditor5/src/core';import{getTranslation as _0x42c6a9}from'../utils/common-translations';import{getRangesWithAttribute as _0x529f82}from'./utils';const Kt=[_0x504b('0xe'),_0x504b('0x17'),_0x504b('0x18'),_0x504b('0x1b'),_0x504b('0x10'),_0x504b('0x25'),_0x504b('0x9')];export default class U extends _0x4e8afd{[_0x504b('0x14')](){const _0x2601cc=this[_0x504b('0x1c')],_0x3d1efc=_0x2601cc[_0x504b('0x6')],_0x393b69=_0x2601cc[_0x504b('0x13')][_0x504b('0x11')](_0x504b('0x1')),_0x43b6e7=_0x2601cc['locale'];for(const _0x3c9587 of Kt){if(!_0x2601cc[_0x504b('0x13')]['has'](_0x3c9587))continue;const _0x224a51=_0x3c9587[_0x504b('0xb')](0x0,-0x7)[_0x504b('0x0')](),_0x348e73=_0x2601cc['commands'][_0x504b('0x11')](_0x224a51);_0x393b69['enableCommand'](_0x224a51,(_0x1e66a0,_0x2b2115={})=>{const _0x126ede=_0x3d1efc['document'][_0x504b('0x23')];if(_0x126ede[_0x504b('0x4')])return void _0x1e66a0(_0x2b2115);const _0x219767=void 0x0!==_0x2b2115[_0x504b('0x2')]?_0x2b2115['forceValue']:!_0x348e73[_0x504b('0x20')];_0x3d1efc[_0x504b('0xa')](()=>{const _0x520217=Array[_0x504b('0x8')](_0x126ede['getRanges']());for(const _0x37018e of _0x520217){const _0xda6521=_0x219767?[_0x37018e]:_0x529f82(_0x224a51,_0x37018e,_0x3d1efc);for(const _0x5e0da6 of _0xda6521)_0x393b69[_0x504b('0xc')](_0x5e0da6,{'commandName':_0x224a51,'commandParams':[{'forceValue':_0x219767}]});}});});}function _0x34c120(_0x55ad56,_0x43bcf6){_0x393b69[_0x504b('0x21')]['registerDescriptionCallback'](_0xdf8edc=>{const {data:_0x598485}=_0xdf8edc;if(_0x598485&&_0x598485[_0x504b('0xd')]===_0x55ad56)return _0x598485[_0x504b('0xf')][0x0][_0x504b('0x2')]?{'type':'format','content':_0x42c6a9(_0x43b6e7,_0x504b('0x22'),_0x43bcf6)}:{'type':'format','content':_0x42c6a9(_0x43b6e7,'*Remove\x20format:*\x20%0',_0x43bcf6)};});}_0x34c120(_0x504b('0x1d'),_0x42c6a9(_0x43b6e7,_0x504b('0x24'))),_0x34c120('italic',_0x42c6a9(_0x43b6e7,_0x504b('0x7'))),_0x34c120(_0x504b('0x5'),_0x42c6a9(_0x43b6e7,_0x504b('0x16'))),_0x34c120(_0x504b('0x26'),_0x42c6a9(_0x43b6e7,_0x504b('0x1f'))),_0x34c120(_0x504b('0x19'),_0x42c6a9(_0x43b6e7,_0x504b('0x15'))),_0x34c120(_0x504b('0x1e'),_0x42c6a9(_0x43b6e7,_0x504b('0x3'))),_0x34c120(_0x504b('0x12'),_0x42c6a9(_0x43b6e7,_0x504b('0x1a')));}}
23
+ const _0x210e=['has','markInlineFormat','strikethrough','UnderlineEditing','forceValue','FORMAT_ITALIC','TrackChangesEditing','CodeEditing','*Format:*\x20%0','subscript','from','SuperscriptEditing','FORMAT_STRIKETHROUGH','BoldEditing','getRanges','document','*Remove\x20format:*\x20%0','code','editor','registerDescriptionCallback','superscript','ItalicEditing','underline','selection','toLowerCase','FORMAT_SUPERSCRIPT','commandName','afterInit','italic','value','get','_descriptionFactory','commandParams','format','plugins','SubscriptEditing','StrikethroughEditing','FORMAT_SUBSCRIPT','locale'];(function(_0x163dd6,_0x210e76){const _0xfe4d23=function(_0x30e807){while(--_0x30e807){_0x163dd6['push'](_0x163dd6['shift']());}};_0xfe4d23(++_0x210e76);}(_0x210e,0xc1));const _0xfe4d=function(_0x163dd6,_0x210e76){_0x163dd6=_0x163dd6-0x0;let _0xfe4d23=_0x210e[_0x163dd6];return _0xfe4d23;};import{Plugin as _0x2b7e1c}from'ckeditor5/src/core';import{getTranslation as _0x1ce4f3}from'../utils/common-translations';import{getRangesWithAttribute as _0x401cbb}from'./utils';const Kt=[_0xfe4d('0xf'),_0xfe4d('0x17'),_0xfe4d('0x5'),_0xfe4d('0x9'),_0xfe4d('0x26'),_0xfe4d('0x25'),_0xfe4d('0xd')];export default class U extends _0x2b7e1c{[_0xfe4d('0x1d')](){const _0x4be4fc=this[_0xfe4d('0x14')],_0x3ae910=_0x4be4fc['model'],_0x44032b=_0x4be4fc[_0xfe4d('0x24')]['get'](_0xfe4d('0x8')),_0x35a01f=_0x4be4fc[_0xfe4d('0x1')];for(const _0x18cb0e of Kt){if(!_0x4be4fc[_0xfe4d('0x24')][_0xfe4d('0x2')](_0x18cb0e))continue;const _0x529dd2=_0x18cb0e['slice'](0x0,-0x7)[_0xfe4d('0x1a')](),_0x52f51b=_0x4be4fc['commands'][_0xfe4d('0x20')](_0x529dd2);_0x44032b['enableCommand'](_0x529dd2,(_0x5cf3ee,_0x562deb={})=>{const _0x1b87b5=_0x3ae910[_0xfe4d('0x11')][_0xfe4d('0x19')];if(_0x1b87b5['isCollapsed'])return void _0x5cf3ee(_0x562deb);const _0xc022b3=void 0x0!==_0x562deb['forceValue']?_0x562deb[_0xfe4d('0x6')]:!_0x52f51b[_0xfe4d('0x1f')];_0x3ae910['change'](()=>{const _0x5b5237=Array[_0xfe4d('0xc')](_0x1b87b5[_0xfe4d('0x10')]());for(const _0x213643 of _0x5b5237){const _0x74c834=_0xc022b3?[_0x213643]:_0x401cbb(_0x529dd2,_0x213643,_0x3ae910);for(const _0x5aa027 of _0x74c834)_0x44032b[_0xfe4d('0x3')](_0x5aa027,{'commandName':_0x529dd2,'commandParams':[{'forceValue':_0xc022b3}]});}});});}function _0x250a36(_0x2b4c6d,_0x3273f5){_0x44032b[_0xfe4d('0x21')][_0xfe4d('0x15')](_0x2d1e8b=>{const {data:_0xd99d97}=_0x2d1e8b;if(_0xd99d97&&_0xd99d97[_0xfe4d('0x1c')]===_0x2b4c6d)return _0xd99d97[_0xfe4d('0x22')][0x0][_0xfe4d('0x6')]?{'type':_0xfe4d('0x23'),'content':_0x1ce4f3(_0x35a01f,_0xfe4d('0xa'),_0x3273f5)}:{'type':_0xfe4d('0x23'),'content':_0x1ce4f3(_0x35a01f,_0xfe4d('0x12'),_0x3273f5)};});}_0x250a36('bold',_0x1ce4f3(_0x35a01f,'FORMAT_BOLD')),_0x250a36(_0xfe4d('0x1e'),_0x1ce4f3(_0x35a01f,_0xfe4d('0x7'))),_0x250a36(_0xfe4d('0x18'),_0x1ce4f3(_0x35a01f,'FORMAT_UNDERLINE')),_0x250a36(_0xfe4d('0x13'),_0x1ce4f3(_0x35a01f,'FORMAT_CODE')),_0x250a36(_0xfe4d('0x4'),_0x1ce4f3(_0x35a01f,_0xfe4d('0xe'))),_0x250a36(_0xfe4d('0xb'),_0x1ce4f3(_0x35a01f,_0xfe4d('0x0'))),_0x250a36(_0xfe4d('0x16'),_0x1ce4f3(_0x35a01f,_0xfe4d('0x1b')));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/blockquote
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x168e=['registerDescriptionCallback','commandName','model','commands','afterInit','value','BlockQuoteEditing','get','ELEMENT_BLOCK_QUOTE','TrackChangesEditing','format','$root','name','editor','*Remove\x20format:*\x20%0','commandParams','plugins','enableCommand','locale','_descriptionFactory','getSelectedBlocks','markBlockFormat','from','checkChild','*Format:*\x20%0','blockQuote','schema','forceValue','filter'];(function(_0x356ee3,_0x168e11){const _0x5682d5=function(_0x22d097){while(--_0x22d097){_0x356ee3['push'](_0x356ee3['shift']());}};_0x5682d5(++_0x168e11);}(_0x168e,0x144));const _0x5682=function(_0x356ee3,_0x168e11){_0x356ee3=_0x356ee3-0x0;let _0x5682d5=_0x168e[_0x356ee3];return _0x5682d5;};import{Plugin as _0x22d62f}from'ckeditor5/src/core';import{getTranslation as _0x197ef4}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x46d2e3}from'../utils/utils';export default class j extends _0x22d62f{[_0x5682('0x1c')](){const _0x5f2ad1=this['editor'],_0x313504=_0x5f2ad1[_0x5682('0xd')];if(!_0x5f2ad1[_0x5682('0xb')]['has'](_0x5682('0x1')))return;const _0x36ad0e=_0x5f2ad1[_0x5682('0xb')][_0x5682('0x2')](_0x5682('0x4')),_0x338b78=this[_0x5682('0x8')][_0x5682('0x1b')][_0x5682('0x2')](_0x5682('0x14'));_0x36ad0e[_0x5682('0xc')](_0x5682('0x14'),(_0x41333d,_0x103e5e={})=>{const _0x1e4294=this[_0x5682('0x8')][_0x5682('0x1a')]['document']['selection'],_0x5bb62c=_0x103e5e&&void 0x0!==_0x103e5e['forceValue']?_0x103e5e[_0x5682('0x16')]:!_0x338b78[_0x5682('0x0')];let _0x229d17=[];if(_0x5bb62c){const _0x453ff7=Array[_0x5682('0x11')](_0x1e4294[_0x5682('0xf')]())[_0x5682('0x17')](_0x326f6f=>Xt(_0x326f6f)||function(_0x13ba66,_0x53e122){const _0x32b496=_0x53e122['checkChild'](_0x13ba66['parent'],_0x5682('0x14')),_0x3423db=_0x53e122[_0x5682('0x12')]([_0x5682('0x6'),'blockQuote'],_0x13ba66);return _0x32b496&&_0x3423db;}(_0x326f6f,this[_0x5682('0x8')][_0x5682('0x1a')][_0x5682('0x15')]));_0x229d17=_0x46d2e3(_0x453ff7,_0x5f2ad1[_0x5682('0x1a')]);}else{const _0xe07786=Array[_0x5682('0x11')](_0x1e4294['getSelectedBlocks']())['filter'](_0x45925b=>Xt(_0x45925b));_0x229d17=_0x46d2e3(_0xe07786,_0x5f2ad1[_0x5682('0x1a')]);}_0x5f2ad1['model']['change'](()=>{for(const _0x2dd417 of _0x229d17)_0x36ad0e[_0x5682('0x10')](_0x2dd417,{'commandName':_0x5682('0x14'),'commandParams':[{'forceValue':_0x5bb62c}]});});}),_0x36ad0e[_0x5682('0xe')][_0x5682('0x18')](_0x7d9089=>{const {data:_0x53df40}=_0x7d9089;if(_0x53df40&&_0x5682('0x14')==_0x53df40[_0x5682('0x19')]){const _0x15a2a3=_0x197ef4(_0x313504,_0x5682('0x3'));return _0x53df40[_0x5682('0xa')][0x0][_0x5682('0x16')]?{'type':_0x5682('0x5'),'content':_0x197ef4(_0x313504,_0x5682('0x13'),_0x15a2a3)}:{'type':_0x5682('0x5'),'content':_0x197ef4(_0x313504,_0x5682('0x9'),_0x15a2a3)};}});}}function Xt(_0x4f94e5){return'blockQuote'==_0x4f94e5['parent'][_0x5682('0x7')];}
23
+ const _0x3837=['from','forceValue','registerDescriptionCallback','get','schema','$root','change','markBlockFormat','commandParams','model','enableCommand','selection','*Remove\x20format:*\x20%0','getSelectedBlocks','commands','afterInit','locale','format','ELEMENT_BLOCK_QUOTE','*Format:*\x20%0','editor','checkChild','document','blockQuote','BlockQuoteEditing','TrackChangesEditing','parent','commandName','plugins','filter'];(function(_0x174a4b,_0x383721){const _0x4aef47=function(_0xbf14bf){while(--_0xbf14bf){_0x174a4b['push'](_0x174a4b['shift']());}};_0x4aef47(++_0x383721);}(_0x3837,0xc5));const _0x4aef=function(_0x174a4b,_0x383721){_0x174a4b=_0x174a4b-0x0;let _0x4aef47=_0x3837[_0x174a4b];return _0x4aef47;};import{Plugin as _0x261cfd}from'ckeditor5/src/core';import{getTranslation as _0x5b195b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x53ef96}from'../utils/utils';export default class j extends _0x261cfd{[_0x4aef('0x1c')](){const _0x337b33=this['editor'],_0x3b91e4=_0x337b33[_0x4aef('0x1d')];if(!_0x337b33[_0x4aef('0xb')]['has'](_0x4aef('0x7')))return;const _0x2f5987=_0x337b33['plugins'][_0x4aef('0x10')](_0x4aef('0x8')),_0x9b1327=this[_0x4aef('0x3')][_0x4aef('0x1b')][_0x4aef('0x10')](_0x4aef('0x6'));_0x2f5987[_0x4aef('0x17')](_0x4aef('0x6'),(_0x5ab7fd,_0xc49a24={})=>{const _0x19d086=this['editor']['model'][_0x4aef('0x5')][_0x4aef('0x18')],_0x44117f=_0xc49a24&&void 0x0!==_0xc49a24['forceValue']?_0xc49a24[_0x4aef('0xe')]:!_0x9b1327['value'];let _0x436fff=[];if(_0x44117f){const _0x47a4d1=Array['from'](_0x19d086['getSelectedBlocks']())[_0x4aef('0xc')](_0x56bac5=>Xt(_0x56bac5)||function(_0x5159b,_0x337450){const _0x4891fd=_0x337450[_0x4aef('0x4')](_0x5159b['parent'],_0x4aef('0x6')),_0x4e94e2=_0x337450['checkChild']([_0x4aef('0x12'),_0x4aef('0x6')],_0x5159b);return _0x4891fd&&_0x4e94e2;}(_0x56bac5,this['editor']['model'][_0x4aef('0x11')]));_0x436fff=_0x53ef96(_0x47a4d1,_0x337b33['model']);}else{const _0x1075af=Array[_0x4aef('0xd')](_0x19d086[_0x4aef('0x1a')]())[_0x4aef('0xc')](_0x5b96e3=>Xt(_0x5b96e3));_0x436fff=_0x53ef96(_0x1075af,_0x337b33[_0x4aef('0x16')]);}_0x337b33['model'][_0x4aef('0x13')](()=>{for(const _0x207f07 of _0x436fff)_0x2f5987[_0x4aef('0x14')](_0x207f07,{'commandName':_0x4aef('0x6'),'commandParams':[{'forceValue':_0x44117f}]});});}),_0x2f5987['_descriptionFactory'][_0x4aef('0xf')](_0x3be3f7=>{const {data:_0x5371fa}=_0x3be3f7;if(_0x5371fa&&'blockQuote'==_0x5371fa[_0x4aef('0xa')]){const _0x5f1089=_0x5b195b(_0x3b91e4,_0x4aef('0x1'));return _0x5371fa[_0x4aef('0x15')][0x0]['forceValue']?{'type':_0x4aef('0x0'),'content':_0x5b195b(_0x3b91e4,_0x4aef('0x2'),_0x5f1089)}:{'type':_0x4aef('0x0'),'content':_0x5b195b(_0x3b91e4,_0x4aef('0x19'),_0x5f1089)};}});}}function Xt(_0x18bc74){return'blockQuote'==_0x18bc74[_0x4aef('0x9')]['name'];}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/ckbox
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0xa112=['commands','plugins','ckbox','TrackChangesEditing','enableCommand','get','editor'];(function(_0x47f814,_0xa11263){const _0x1d1948=function(_0x57adba){while(--_0x57adba){_0x47f814['push'](_0x47f814['shift']());}};_0x1d1948(++_0xa11263);}(_0xa112,0x192));const _0x1d19=function(_0x47f814,_0xa11263){_0x47f814=_0x47f814-0x0;let _0x1d1948=_0xa112[_0x47f814];return _0x1d1948;};import{Plugin as _0x405271}from'ckeditor5/src/core';export default class E extends _0x405271{['afterInit'](){const _0x1847ca=this[_0x1d19('0x3')];_0x1847ca[_0x1d19('0x4')][_0x1d19('0x2')](_0x1d19('0x6'))&&_0x1847ca[_0x1d19('0x5')][_0x1d19('0x2')](_0x1d19('0x0'))[_0x1d19('0x1')]('ckbox');}}
23
+ const _0x53b3=['enableCommand','ckbox','commands','editor','TrackChangesEditing','get','plugins'];(function(_0x3c1ae9,_0x53b3ae){const _0xe51ee0=function(_0x544bcf){while(--_0x544bcf){_0x3c1ae9['push'](_0x3c1ae9['shift']());}};_0xe51ee0(++_0x53b3ae);}(_0x53b3,0x160));const _0xe51e=function(_0x3c1ae9,_0x53b3ae){_0x3c1ae9=_0x3c1ae9-0x0;let _0xe51ee0=_0x53b3[_0x3c1ae9];return _0xe51ee0;};import{Plugin as _0x195394}from'ckeditor5/src/core';export default class E extends _0x195394{['afterInit'](){const _0x5d15c0=this[_0xe51e('0x1')];_0x5d15c0[_0xe51e('0x0')]['get'](_0xe51e('0x6'))&&_0x5d15c0[_0xe51e('0x4')][_0xe51e('0x3')](_0xe51e('0x2'))[_0xe51e('0x5')](_0xe51e('0x6'));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/codeblock
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x588b=['*Format:*\x20%0','checkChild','TrackChangesEditing','_descriptionFactory','label','commandParams','*Remove\x20format:*\x20%0','codeBlock','config','document','plugins','enableCommand','registerDescriptionCallback','indentCodeBlock','has','outdentCodeBlock','format','CodeBlock','from','filter','commandName','formatBlock','commands','locale','language','selection','registerElementLabel','blockName','ELEMENT_CODE_BLOCK','forceValue','afterInit','get','markBlockFormat','model','getSelectedBlocks','rootElement','isLimit','value','editor','name'];(function(_0x1333b8,_0x588b4a){const _0x22643d=function(_0x59b7a0){while(--_0x59b7a0){_0x1333b8['push'](_0x1333b8['shift']());}};_0x22643d(++_0x588b4a);}(_0x588b,0xb4));const _0x2264=function(_0x1333b8,_0x588b4a){_0x1333b8=_0x1333b8-0x0;let _0x22643d=_0x588b[_0x1333b8];return _0x22643d;};import{Plugin as _0x33ed4c}from'ckeditor5/src/core';import{getTranslation as _0x5b7869}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x5678d7}from'../utils/utils';export default class O extends _0x33ed4c{[_0x2264('0xa')](){const _0x48fa2e=this[_0x2264('0x12')];if(!_0x48fa2e[_0x2264('0x1e')][_0x2264('0x22')](_0x2264('0x25')))return;const _0x3e6cb4=_0x48fa2e['plugins'][_0x2264('0xb')](_0x2264('0x16')),_0x5a1777=_0x48fa2e[_0x2264('0x3')],_0x2797b2=_0x48fa2e[_0x2264('0x1c')]['get']('codeBlock')['languages'],_0x1b6ec2=_0x48fa2e[_0x2264('0x2')]['get'](_0x2264('0x1b'));_0x3e6cb4[_0x2264('0x1f')](_0x2264('0x21')),_0x3e6cb4['enableCommand'](_0x2264('0x23')),_0x3e6cb4[_0x2264('0x1f')](_0x2264('0x1b'),(_0x33184d,_0x5a4bfa={})=>{const _0x581f0d=_0x48fa2e[_0x2264('0xd')],_0x596f82=_0x48fa2e['model'][_0x2264('0x1d')][_0x2264('0x5')],_0xc6dbb9=_0x5a4bfa&&void 0x0!==_0x5a4bfa[_0x2264('0x9')]?_0x5a4bfa[_0x2264('0x9')]:!_0x1b6ec2[_0x2264('0x11')];let _0x297170;_0x5a4bfa[_0x2264('0x4')]||(_0x5a4bfa[_0x2264('0x4')]=_0x2797b2[0x0][_0x2264('0x4')]),_0x297170=_0xc6dbb9?Array['from'](_0x596f82['getSelectedBlocks']())['filter'](_0x14f199=>oo(_0x14f199)||function(_0x19eb63,_0x3a2fac){if(_0x19eb63['is'](_0x2264('0xf'))||_0x3a2fac[_0x2264('0x10')](_0x19eb63))return!0x1;return _0x3a2fac[_0x2264('0x15')](_0x19eb63['parent'],'codeBlock');}(_0x14f199,_0x581f0d['schema'])):Array[_0x2264('0x26')](_0x596f82[_0x2264('0xe')]())[_0x2264('0x27')](_0x2741f6=>oo(_0x2741f6));const _0x452ae0=_0x5678d7(_0x297170,_0x581f0d);_0x581f0d['change'](()=>{for(const _0x49d58e of _0x452ae0)_0x3e6cb4[_0x2264('0xc')](_0x49d58e,{'commandName':_0x2264('0x1b'),'commandParams':[{..._0x5a4bfa,'forceValue':_0xc6dbb9}],'formatGroupId':_0x2264('0x7')});});}),(_0x3e6cb4['_descriptionFactory'][_0x2264('0x6')](_0x2264('0x1b'),_0x1235c1=>_0x5b7869(_0x5a1777,'ELEMENT_CODE_BLOCK',_0x1235c1)),_0x3e6cb4[_0x2264('0x17')][_0x2264('0x20')](_0x355840=>{const _0x44d643=_0x5a1777['t'],{type:_0x8d1605,data:_0x5dc0f0}=_0x355840;if(_0x2264('0x1')==_0x8d1605&&_0x5dc0f0&&_0x2264('0x1b')==_0x5dc0f0[_0x2264('0x0')]){const _0x324ec2=_0x5dc0f0['commandParams'][0x0][_0x2264('0x4')],_0x572c91=_0x44d643(_0x2797b2['find'](_0x580eeb=>_0x580eeb['language']===_0x324ec2)[_0x2264('0x18')]);return _0x5dc0f0[_0x2264('0x19')][0x0][_0x2264('0x9')]?{'type':'format','content':_0x5b7869(_0x5a1777,_0x2264('0x14'),_0x5b7869(_0x5a1777,_0x2264('0x8'),0x1)+'\x20('+_0x572c91+')')}:{'type':_0x2264('0x24'),'content':_0x5b7869(_0x5a1777,_0x2264('0x1a'),_0x5b7869(_0x5a1777,'ELEMENT_CODE_BLOCK',0x1))};}}));}}function oo(_0x33cd0f){return'codeBlock'==_0x33cd0f[_0x2264('0x13')];}
23
+ const _0x3a2c=['filter','_descriptionFactory','model','checkChild','get','editor','change','forceValue','language','registerElementLabel','parent','markBlockFormat','selection','commands','codeBlock','plugins','format','blockName','afterInit','languages','label','indentCodeBlock','locale','from','ELEMENT_CODE_BLOCK','rootElement','schema','*Format:*\x20%0','document','isLimit','commandParams','registerDescriptionCallback','getSelectedBlocks','config','CodeBlock','enableCommand'];(function(_0x3c55bd,_0x3a2cea){const _0x14abbd=function(_0x2ceaf3){while(--_0x2ceaf3){_0x3c55bd['push'](_0x3c55bd['shift']());}};_0x14abbd(++_0x3a2cea);}(_0x3a2c,0x161));const _0x14ab=function(_0x3c55bd,_0x3a2cea){_0x3c55bd=_0x3c55bd-0x0;let _0x14abbd=_0x3a2c[_0x3c55bd];return _0x14abbd;};import{Plugin as _0x8a5a85}from'ckeditor5/src/core';import{getTranslation as _0x98d66b}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x1cb696}from'../utils/utils';export default class O extends _0x8a5a85{[_0x14ab('0x19')](){const _0x9bebce=this[_0x14ab('0xc')];if(!_0x9bebce[_0x14ab('0x16')]['has'](_0x14ab('0x5')))return;const _0x45054f=_0x9bebce[_0x14ab('0x16')][_0x14ab('0xb')]('TrackChangesEditing'),_0xa963b=_0x9bebce[_0x14ab('0x1d')],_0x543d4d=_0x9bebce[_0x14ab('0x4')][_0x14ab('0xb')](_0x14ab('0x15'))[_0x14ab('0x1a')],_0x13680d=_0x9bebce[_0x14ab('0x14')][_0x14ab('0xb')](_0x14ab('0x15'));_0x45054f[_0x14ab('0x6')](_0x14ab('0x1c')),_0x45054f['enableCommand']('outdentCodeBlock'),_0x45054f[_0x14ab('0x6')](_0x14ab('0x15'),(_0x4ad073,_0x32be7e={})=>{const _0x59ee62=_0x9bebce['model'],_0x70d1ed=_0x9bebce[_0x14ab('0x9')][_0x14ab('0x23')][_0x14ab('0x13')],_0x13abb6=_0x32be7e&&void 0x0!==_0x32be7e[_0x14ab('0xe')]?_0x32be7e[_0x14ab('0xe')]:!_0x13680d['value'];let _0xf59f08;_0x32be7e[_0x14ab('0xf')]||(_0x32be7e[_0x14ab('0xf')]=_0x543d4d[0x0]['language']),_0xf59f08=_0x13abb6?Array[_0x14ab('0x1e')](_0x70d1ed[_0x14ab('0x3')]())[_0x14ab('0x7')](_0x3128ea=>oo(_0x3128ea)||function(_0x46500f,_0x5f5d30){if(_0x46500f['is'](_0x14ab('0x20'))||_0x5f5d30[_0x14ab('0x0')](_0x46500f))return!0x1;return _0x5f5d30[_0x14ab('0xa')](_0x46500f[_0x14ab('0x11')],_0x14ab('0x15'));}(_0x3128ea,_0x59ee62[_0x14ab('0x21')])):Array['from'](_0x70d1ed[_0x14ab('0x3')]())[_0x14ab('0x7')](_0x1ac32f=>oo(_0x1ac32f));const _0x390727=_0x1cb696(_0xf59f08,_0x59ee62);_0x59ee62[_0x14ab('0xd')](()=>{for(const _0x5bee77 of _0x390727)_0x45054f[_0x14ab('0x12')](_0x5bee77,{'commandName':_0x14ab('0x15'),'commandParams':[{..._0x32be7e,'forceValue':_0x13abb6}],'formatGroupId':_0x14ab('0x18')});});}),(_0x45054f[_0x14ab('0x8')][_0x14ab('0x10')](_0x14ab('0x15'),_0x57e135=>_0x98d66b(_0xa963b,_0x14ab('0x1f'),_0x57e135)),_0x45054f[_0x14ab('0x8')][_0x14ab('0x2')](_0x478bd8=>{const _0x492785=_0xa963b['t'],{type:_0x9ffd66,data:_0x1521f3}=_0x478bd8;if('formatBlock'==_0x9ffd66&&_0x1521f3&&_0x14ab('0x15')==_0x1521f3['commandName']){const _0x37721e=_0x1521f3['commandParams'][0x0][_0x14ab('0xf')],_0x4b71fc=_0x492785(_0x543d4d['find'](_0x59899c=>_0x59899c[_0x14ab('0xf')]===_0x37721e)[_0x14ab('0x1b')]);return _0x1521f3[_0x14ab('0x1')][0x0][_0x14ab('0xe')]?{'type':'format','content':_0x98d66b(_0xa963b,_0x14ab('0x22'),_0x98d66b(_0xa963b,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x4b71fc+')')}:{'type':_0x14ab('0x17'),'content':_0x98d66b(_0xa963b,'*Remove\x20format:*\x20%0',_0x98d66b(_0xa963b,_0x14ab('0x1f'),0x1))};}}));}}function oo(_0x4c2c29){return _0x14ab('0x15')==_0x4c2c29['name'];}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/comments
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x5055=['has','TrackChangesEditing','CommentsEditing','afterInit','enableCommand','plugins'];(function(_0x26e604,_0x505532){const _0x2d74f1=function(_0x291bc0){while(--_0x291bc0){_0x26e604['push'](_0x26e604['shift']());}};_0x2d74f1(++_0x505532);}(_0x5055,0x107));const _0x2d74=function(_0x26e604,_0x505532){_0x26e604=_0x26e604-0x0;let _0x2d74f1=_0x5055[_0x26e604];return _0x2d74f1;};import{Plugin as _0x3e418e}from'ckeditor5/src/core';export default class F extends _0x3e418e{[_0x2d74('0x4')](){const _0x537495=this['editor'];if(!_0x537495[_0x2d74('0x0')][_0x2d74('0x1')](_0x2d74('0x3')))return;_0x537495[_0x2d74('0x0')]['get'](_0x2d74('0x2'))[_0x2d74('0x5')]('addCommentThread');}}
23
+ const _0x2681=['enableCommand','afterInit','get','CommentsEditing','editor','plugins','TrackChangesEditing','addCommentThread','has'];(function(_0x2ba74f,_0x2681a0){const _0x299281=function(_0x3592c7){while(--_0x3592c7){_0x2ba74f['push'](_0x2ba74f['shift']());}};_0x299281(++_0x2681a0);}(_0x2681,0x6f));const _0x2992=function(_0x2ba74f,_0x2681a0){_0x2ba74f=_0x2ba74f-0x0;let _0x299281=_0x2681[_0x2ba74f];return _0x299281;};import{Plugin as _0x51fc98}from'ckeditor5/src/core';export default class F extends _0x51fc98{[_0x2992('0x7')](){const _0x46ca06=this[_0x2992('0x1')];if(!_0x46ca06[_0x2992('0x2')][_0x2992('0x5')](_0x2992('0x0')))return;_0x46ca06[_0x2992('0x2')][_0x2992('0x8')](_0x2992('0x3'))[_0x2992('0x6')](_0x2992('0x4'));}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/deletecommand
3
7
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2023, 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 _0x372d=['isCollapsed','unbindElementFromMarkerName','getFirstRange','end','rootName','selection','buffer','commands','removeMarker:suggestion:deletion','remove','enableCommand','batch','lock','enqueueChange','editing','mapper','addMarker:suggestion:deletion','options','document','deleteForward','plugins','high','fromRange','init','TrackChangesEditing','root','unit','delete','get','markerName','createRange','downcastDispatcher','requires','model','merge','detach','unlock','start'];(function(_0x26d8ef,_0x372dfe){const _0x3924d5=function(_0x34f270){while(--_0x34f270){_0x26d8ef['push'](_0x26d8ef['shift']());}};_0x3924d5(++_0x372dfe);}(_0x372d,0x107));const _0x3924=function(_0x26d8ef,_0x372dfe){_0x26d8ef=_0x26d8ef-0x0;let _0x3924d5=_0x372d[_0x26d8ef];return _0x3924d5;};import{Plugin as _0x5eb5bf}from'ckeditor5/src/core';import{LiveRange as _0x1185ee}from'ckeditor5/src/engine';import{Delete as _0x16d0f2}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x2e2d53}from'./utils';export default class G extends _0x5eb5bf{static get[_0x3924('0x23')](){return[_0x16d0f2];}[_0x3924('0x1a')](){const _0x5d2233=this['editor'],_0x314b49=_0x5d2233[_0x3924('0x17')][_0x3924('0x1f')](_0x3924('0x1b'));_0x314b49[_0x3924('0xd')](_0x3924('0x1e'));const _0xc6b3f7=_0x5d2233[_0x3924('0xa')][_0x3924('0x1f')](_0x3924('0x16'));_0x314b49[_0x3924('0xd')](_0x3924('0x16'),(_0xfc0f66,_0x20b50b={})=>{const _0x408aab=_0x5d2233['model']['createSelection'](_0x5d2233[_0x3924('0x24')][_0x3924('0x15')][_0x3924('0x8')]);_0x408aab[_0x3924('0x3')]&&_0x5d2233[_0x3924('0x24')]['modifySelection'](_0x408aab,{'direction':'forward','unit':_0x20b50b[_0x3924('0x1d')]});const _0x599f4d=_0x408aab[_0x3924('0x5')](),_0x47f5d2=_0x1185ee[_0x3924('0x19')](_0x599f4d);let _0x15c795;_0xfc0f66(_0x20b50b),_0x15c795='$graveyard'==_0x47f5d2[_0x3924('0x1c')][_0x3924('0x7')]?_0x5d2233['model'][_0x3924('0x21')](_0x599f4d[_0x3924('0x2')]):_0x5d2233[_0x3924('0x24')][_0x3924('0x21')](_0x47f5d2['start'],_0x47f5d2[_0x3924('0x6')]),_0x47f5d2[_0x3924('0x0')](),_0x5d2233[_0x3924('0x24')][_0x3924('0x10')](_0xc6b3f7['buffer'][_0x3924('0xe')],_0x46d628=>{_0xc6b3f7[_0x3924('0x9')][_0x3924('0xf')](),_0x46d628['setSelection'](_0x46d628[_0x3924('0x21')](_0x15c795['end'])),_0xc6b3f7['buffer'][_0x3924('0x1')]();});}),_0x5d2233[_0x3924('0x11')][_0x3924('0x22')]['on'](_0x3924('0x13'),_0x2e2d53(_0x5d2233,'merge'),{'priority':_0x3924('0x18')}),_0x5d2233['data']['downcastDispatcher']['on'](_0x3924('0x13'),(_0x78cd5a,_0x3efe31,_0xe61833)=>{_0xe61833[_0x3924('0x14')]['showSuggestionHighlights']&&_0x2e2d53(_0x5d2233,_0x3924('0x25'),{'showActiveMarker':!0x1})['bind'](this)(_0x78cd5a,_0x3efe31,_0xe61833);},{'priority':_0x3924('0x18')}),_0x5d2233[_0x3924('0x11')][_0x3924('0x22')]['on'](_0x3924('0xb'),(_0x43df99,_0x50626f,_0x13a542)=>{const _0x2ed064=_0x13a542[_0x3924('0x12')]['markerNameToElements'](_0x50626f[_0x3924('0x20')]);if(_0x2ed064)for(const _0x5e8472 of _0x2ed064)_0x5e8472['is']('uiElement')&&(_0x13a542[_0x3924('0x12')][_0x3924('0x4')](_0x5e8472,_0x50626f[_0x3924('0x20')]),_0x13a542['writer'][_0x3924('0xc')](_0x5e8472));},{'priority':'high'});}}
23
+ const _0x65cf=['createSelection','batch','uiElement','data','merge','options','writer','mapper','unbindElementFromMarkerName','requires','fromRange','selection','markerName','$graveyard','enqueueChange','remove','unlock','markerNameToElements','deleteForward','start','editing','modifySelection','commands','enableCommand','downcastDispatcher','delete','detach','getFirstRange','addMarker:suggestion:deletion','lock','forward','end','unit','buffer','createRange','high','editor','get','model','bind','TrackChangesEditing','document'];(function(_0x461b95,_0x65cfae){const _0x3af803=function(_0x5dfd07){while(--_0x5dfd07){_0x461b95['push'](_0x461b95['shift']());}};_0x3af803(++_0x65cfae);}(_0x65cf,0x18a));const _0x3af8=function(_0x461b95,_0x65cfae){_0x461b95=_0x461b95-0x0;let _0x3af803=_0x65cf[_0x461b95];return _0x3af803;};import{Plugin as _0x45ded6}from'ckeditor5/src/core';import{LiveRange as _0x23dfe2}from'ckeditor5/src/engine';import{Delete as _0x281906}from'ckeditor5/src/typing';import{downcastSplitMergeMarker as _0x4f2e5a}from'./utils';export default class G extends _0x45ded6{static get[_0x3af8('0x23')](){return[_0x281906];}['init'](){const _0x242f4a=this[_0x3af8('0x14')],_0x11fd7e=_0x242f4a['plugins'][_0x3af8('0x15')](_0x3af8('0x18'));_0x11fd7e[_0x3af8('0x7')](_0x3af8('0x9'));const _0x5468ac=_0x242f4a[_0x3af8('0x6')][_0x3af8('0x15')](_0x3af8('0x2'));_0x11fd7e[_0x3af8('0x7')](_0x3af8('0x2'),(_0x25e839,_0x505c3d={})=>{const _0x516e31=_0x242f4a[_0x3af8('0x16')][_0x3af8('0x1a')](_0x242f4a['model'][_0x3af8('0x19')][_0x3af8('0x25')]);_0x516e31['isCollapsed']&&_0x242f4a[_0x3af8('0x16')][_0x3af8('0x5')](_0x516e31,{'direction':_0x3af8('0xe'),'unit':_0x505c3d[_0x3af8('0x10')]});const _0x47e7ae=_0x516e31[_0x3af8('0xb')](),_0x51f556=_0x23dfe2[_0x3af8('0x24')](_0x47e7ae);let _0x236ec4;_0x25e839(_0x505c3d),_0x236ec4=_0x3af8('0x27')==_0x51f556['root']['rootName']?_0x242f4a[_0x3af8('0x16')]['createRange'](_0x47e7ae[_0x3af8('0x3')]):_0x242f4a[_0x3af8('0x16')][_0x3af8('0x12')](_0x51f556[_0x3af8('0x3')],_0x51f556[_0x3af8('0xf')]),_0x51f556[_0x3af8('0xa')](),_0x242f4a['model'][_0x3af8('0x28')](_0x5468ac[_0x3af8('0x11')][_0x3af8('0x1b')],_0x2ff8a5=>{_0x5468ac[_0x3af8('0x11')][_0x3af8('0xd')](),_0x2ff8a5['setSelection'](_0x2ff8a5['createRange'](_0x236ec4[_0x3af8('0xf')])),_0x5468ac['buffer'][_0x3af8('0x0')]();});}),_0x242f4a[_0x3af8('0x4')][_0x3af8('0x8')]['on']('addMarker:suggestion:deletion',_0x4f2e5a(_0x242f4a,_0x3af8('0x1e')),{'priority':_0x3af8('0x13')}),_0x242f4a[_0x3af8('0x1d')][_0x3af8('0x8')]['on'](_0x3af8('0xc'),(_0x36a4f8,_0x4d2c9a,_0x36f947)=>{_0x36f947[_0x3af8('0x1f')]['showSuggestionHighlights']&&_0x4f2e5a(_0x242f4a,_0x3af8('0x1e'),{'showActiveMarker':!0x1})[_0x3af8('0x17')](this)(_0x36a4f8,_0x4d2c9a,_0x36f947);},{'priority':_0x3af8('0x13')}),_0x242f4a[_0x3af8('0x4')][_0x3af8('0x8')]['on']('removeMarker:suggestion:deletion',(_0x238d0f,_0x37f780,_0xd1b905)=>{const _0x2af7d6=_0xd1b905[_0x3af8('0x21')][_0x3af8('0x1')](_0x37f780[_0x3af8('0x26')]);if(_0x2af7d6)for(const _0x2381e1 of _0x2af7d6)_0x2381e1['is'](_0x3af8('0x1c'))&&(_0xd1b905['mapper'][_0x3af8('0x22')](_0x2381e1,_0x37f780[_0x3af8('0x26')]),_0xd1b905[_0x3af8('0x20')][_0x3af8('0x29')](_0x2381e1));},{'priority':_0x3af8('0x13')});}}
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
1
5
  /**
2
6
  * @module track-changes/integrations/documentlist
3
7
  */