@ckeditor/ckeditor5-track-changes 38.2.0-alpha.1 → 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 +2 -2
  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 +6 -2
  9. package/src/augmentation.js +1 -1
  10. package/src/commands/acceptsuggestioncommand.d.ts +6 -2
  11. package/src/commands/acceptsuggestioncommand.js +2 -2
  12. package/src/commands/discardsuggestioncommand.d.ts +6 -2
  13. package/src/commands/discardsuggestioncommand.js +2 -2
  14. package/src/commands/executeonallsuggestionscommand.d.ts +6 -2
  15. package/src/commands/executeonallsuggestionscommand.js +2 -2
  16. package/src/commands/executeonselectedsuggestionscommand.d.ts +6 -2
  17. package/src/commands/executeonselectedsuggestionscommand.js +2 -2
  18. package/src/commands/trackchangescommand.d.ts +5 -1
  19. package/src/commands/trackchangescommand.js +2 -2
  20. package/src/index.d.ts +16 -12
  21. package/src/index.js +2 -2
  22. package/src/integrations/alignment.d.ts +5 -1
  23. package/src/integrations/alignment.js +2 -2
  24. package/src/integrations/basicstyles.d.ts +5 -1
  25. package/src/integrations/basicstyles.js +2 -2
  26. package/src/integrations/blockquote.d.ts +5 -1
  27. package/src/integrations/blockquote.js +2 -2
  28. package/src/integrations/ckbox.d.ts +5 -1
  29. package/src/integrations/ckbox.js +2 -2
  30. package/src/integrations/codeblock.d.ts +5 -1
  31. package/src/integrations/codeblock.js +2 -2
  32. package/src/integrations/comments.d.ts +5 -1
  33. package/src/integrations/comments.js +2 -2
  34. package/src/integrations/deletecommand.d.ts +6 -2
  35. package/src/integrations/deletecommand.js +2 -2
  36. package/src/integrations/documentlist.d.ts +5 -1
  37. package/src/integrations/documentlist.js +2 -2
  38. package/src/integrations/documentlistproperties.d.ts +7 -3
  39. package/src/integrations/documentlistproperties.js +2 -2
  40. package/src/integrations/entercommand.d.ts +6 -2
  41. package/src/integrations/entercommand.js +2 -2
  42. package/src/integrations/findandreplace.d.ts +5 -1
  43. package/src/integrations/findandreplace.js +2 -2
  44. package/src/integrations/font.d.ts +5 -1
  45. package/src/integrations/font.js +2 -2
  46. package/src/integrations/formatpainter.d.ts +5 -1
  47. package/src/integrations/formatpainter.js +2 -2
  48. package/src/integrations/heading.d.ts +5 -1
  49. package/src/integrations/heading.js +2 -2
  50. package/src/integrations/highlight.d.ts +5 -1
  51. package/src/integrations/highlight.js +2 -2
  52. package/src/integrations/horizontalline.d.ts +5 -1
  53. package/src/integrations/horizontalline.js +2 -2
  54. package/src/integrations/htmlembed.d.ts +5 -1
  55. package/src/integrations/htmlembed.js +2 -2
  56. package/src/integrations/image.d.ts +5 -1
  57. package/src/integrations/image.js +2 -2
  58. package/src/integrations/imagereplace.d.ts +7 -3
  59. package/src/integrations/imagereplace.js +2 -2
  60. package/src/integrations/importword.d.ts +5 -1
  61. package/src/integrations/importword.js +2 -2
  62. package/src/integrations/indent.d.ts +5 -1
  63. package/src/integrations/indent.js +2 -2
  64. package/src/integrations/inputcommand.d.ts +6 -2
  65. package/src/integrations/inputcommand.js +2 -2
  66. package/src/integrations/link.d.ts +5 -1
  67. package/src/integrations/link.js +2 -2
  68. package/src/integrations/list.d.ts +5 -1
  69. package/src/integrations/list.js +2 -2
  70. package/src/integrations/listproperties.d.ts +7 -3
  71. package/src/integrations/listproperties.js +2 -2
  72. package/src/integrations/mediaembed.d.ts +5 -1
  73. package/src/integrations/mediaembed.js +2 -2
  74. package/src/integrations/mention.d.ts +5 -1
  75. package/src/integrations/mention.js +2 -2
  76. package/src/integrations/pagebreak.d.ts +5 -1
  77. package/src/integrations/pagebreak.js +2 -2
  78. package/src/integrations/paragraph.d.ts +5 -1
  79. package/src/integrations/paragraph.js +2 -2
  80. package/src/integrations/removeformat.d.ts +5 -1
  81. package/src/integrations/removeformat.js +2 -2
  82. package/src/integrations/restrictededitingmode.d.ts +5 -1
  83. package/src/integrations/restrictededitingmode.js +2 -2
  84. package/src/integrations/shiftentercommand.d.ts +6 -2
  85. package/src/integrations/shiftentercommand.js +2 -2
  86. package/src/integrations/standardeditingmode.d.ts +5 -1
  87. package/src/integrations/standardeditingmode.js +2 -2
  88. package/src/integrations/style.d.ts +5 -1
  89. package/src/integrations/style.js +2 -2
  90. package/src/integrations/table.d.ts +5 -1
  91. package/src/integrations/table.js +2 -2
  92. package/src/integrations/tablecaption.d.ts +6 -2
  93. package/src/integrations/tablecaption.js +2 -2
  94. package/src/integrations/tableclipboard.d.ts +4 -3
  95. package/src/integrations/tableclipboard.js +2 -2
  96. package/src/integrations/tablecolumnresize.d.ts +8 -4
  97. package/src/integrations/tablecolumnresize.js +2 -2
  98. package/src/integrations/tableheadings.d.ts +6 -2
  99. package/src/integrations/tableheadings.js +2 -2
  100. package/src/integrations/tablemergesplit.d.ts +6 -2
  101. package/src/integrations/tablemergesplit.js +2 -2
  102. package/src/integrations/tableofcontents.d.ts +5 -1
  103. package/src/integrations/tableofcontents.js +2 -2
  104. package/src/integrations/tableproperties.d.ts +8 -4
  105. package/src/integrations/tableproperties.js +2 -2
  106. package/src/integrations/template.d.ts +5 -1
  107. package/src/integrations/template.js +2 -2
  108. package/src/integrations/title.d.ts +5 -1
  109. package/src/integrations/title.js +2 -2
  110. package/src/integrations/undo.d.ts +5 -1
  111. package/src/integrations/undo.js +2 -2
  112. package/src/integrations/utils.d.ts +7 -3
  113. package/src/integrations/utils.js +2 -2
  114. package/src/suggestion.d.ts +15 -5
  115. package/src/suggestion.js +2 -2
  116. package/src/suggestiondescriptionfactory.d.ts +5 -5
  117. package/src/suggestiondescriptionfactory.js +2 -2
  118. package/src/trackchanges.d.ts +10 -6
  119. package/src/trackchanges.js +2 -2
  120. package/src/trackchangesconfig.d.ts +5 -1
  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 +55 -51
  125. package/src/trackchangesediting.js +2 -2
  126. package/src/trackchangesui.d.ts +7 -3
  127. package/src/trackchangesui.js +2 -2
  128. package/src/ui/suggestioncontroller.d.ts +7 -6
  129. package/src/ui/suggestioncontroller.js +2 -2
  130. package/src/ui/view/basesuggestionthreadview.d.ts +10 -6
  131. package/src/ui/view/basesuggestionthreadview.js +2 -2
  132. package/src/ui/view/suggestionthreadview.d.ts +7 -7
  133. package/src/ui/view/suggestionthreadview.js +2 -2
  134. package/src/utils/common-translations.d.ts +5 -1
  135. package/src/utils/common-translations.js +2 -2
  136. package/src/utils/utils.d.ts +8 -4
  137. package/src/utils/utils.js +2 -2
@@ -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 _0x1092=['mapper','bind','createRange','lock','markerName','getFirstRange','enqueueChange','start','high','get','detach','data','modifySelection','downcastDispatcher','writer','addMarker:suggestion:deletion','markerNameToElements','init','fromRange','enableCommand','forward','requires','editor','options','end','showSuggestionHighlights','document','editing','removeMarker:suggestion:deletion','createSelection','commands','unit','unbindElementFromMarkerName','setSelection','merge','buffer','$graveyard','deleteForward','uiElement','plugins','selection','unlock','isCollapsed','model','batch','TrackChangesEditing'];(function(_0x48c4b4,_0x109287){const _0x33a150=function(_0x71cf36){while(--_0x71cf36){_0x48c4b4['push'](_0x48c4b4['shift']());}};_0x33a150(++_0x109287);}(_0x1092,0x195));const _0x33a1=function(_0x48c4b4,_0x109287){_0x48c4b4=_0x48c4b4-0x0;let _0x33a150=_0x1092[_0x48c4b4];return _0x33a150;};import{Plugin as _0x195c0e}from'ckeditor5/src/core.js';import{LiveRange as _0x2ed671}from'ckeditor5/src/engine.js';import{Delete as _0x467854}from'ckeditor5/src/typing.js';import{downcastSplitMergeMarker as _0x35716b}from'./utils.js';export default class G extends _0x195c0e{static get[_0x33a1('0x1e')](){return[_0x467854];}[_0x33a1('0x1a')](){const _0x3814cf=this[_0x33a1('0x1f')],_0x6a1965=_0x3814cf[_0x33a1('0x2')][_0x33a1('0x12')](_0x33a1('0x8'));_0x6a1965[_0x33a1('0x1c')]('delete');const _0x36e6ec=_0x3814cf[_0x33a1('0x27')]['get'](_0x33a1('0x0'));_0x6a1965[_0x33a1('0x1c')](_0x33a1('0x0'),(_0x5e9f15,_0x56ee16={})=>{const _0x1055c7=_0x3814cf[_0x33a1('0x6')][_0x33a1('0x26')](_0x3814cf[_0x33a1('0x6')][_0x33a1('0x23')][_0x33a1('0x3')]);_0x1055c7[_0x33a1('0x5')]&&_0x3814cf['model'][_0x33a1('0x15')](_0x1055c7,{'direction':_0x33a1('0x1d'),'unit':_0x56ee16[_0x33a1('0x28')]});const _0x265c81=_0x1055c7[_0x33a1('0xe')](),_0x1ffb8d=_0x2ed671[_0x33a1('0x1b')](_0x265c81);let _0x3081e3;_0x5e9f15(_0x56ee16),_0x3081e3=_0x33a1('0x2d')==_0x1ffb8d['root']['rootName']?_0x3814cf[_0x33a1('0x6')]['createRange'](_0x265c81[_0x33a1('0x10')]):_0x3814cf[_0x33a1('0x6')][_0x33a1('0xb')](_0x1ffb8d[_0x33a1('0x10')],_0x1ffb8d[_0x33a1('0x21')]),_0x1ffb8d[_0x33a1('0x13')](),_0x3814cf['model'][_0x33a1('0xf')](_0x36e6ec[_0x33a1('0x2c')][_0x33a1('0x7')],_0x4feec2=>{_0x36e6ec['buffer'][_0x33a1('0xc')](),_0x4feec2[_0x33a1('0x2a')](_0x4feec2[_0x33a1('0xb')](_0x3081e3[_0x33a1('0x21')])),_0x36e6ec['buffer'][_0x33a1('0x4')]();});}),_0x3814cf['editing'][_0x33a1('0x16')]['on'](_0x33a1('0x18'),_0x35716b(_0x3814cf,_0x33a1('0x2b')),{'priority':'high'}),_0x3814cf[_0x33a1('0x14')][_0x33a1('0x16')]['on'](_0x33a1('0x18'),(_0x388fde,_0x247a0b,_0x19b4df)=>{_0x19b4df[_0x33a1('0x20')][_0x33a1('0x22')]&&_0x35716b(_0x3814cf,_0x33a1('0x2b'),{'showActiveMarker':!0x1})[_0x33a1('0xa')](this)(_0x388fde,_0x247a0b,_0x19b4df);},{'priority':_0x33a1('0x11')}),_0x3814cf[_0x33a1('0x24')][_0x33a1('0x16')]['on'](_0x33a1('0x25'),(_0x1723fb,_0x448a8d,_0x53b0e7)=>{const _0x31ccf2=_0x53b0e7[_0x33a1('0x9')][_0x33a1('0x19')](_0x448a8d[_0x33a1('0xd')]);if(_0x31ccf2)for(const _0x24fb73 of _0x31ccf2)_0x24fb73['is'](_0x33a1('0x1'))&&(_0x53b0e7[_0x33a1('0x9')][_0x33a1('0x29')](_0x24fb73,_0x448a8d[_0x33a1('0xd')]),_0x53b0e7[_0x33a1('0x17')]['remove'](_0x24fb73));},{'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,7 +1,11 @@
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
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
5
9
  /**
6
10
  * Provides track changes plugin integration for document list feature.
7
11
  */
@@ -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 _0xf202=['bulletedList','DocumentListUtils','length','*Format:*\x20insert\x20into\x20%0','createRange','editor','commands','*Indent:*\x20%0','registerCustomCallback','selection','*Outdent:*\x20%0','_descriptionFactory','ELEMENT_LIST_ITEM','documentList','value','indentList','*Merge:*\x20%0','getAttribute','from','enableCommand','end','listItemId','markBlockFormat','numberedList','parent','push','mergeListItemForward','hasAttribute','getFirstRange','formatBlock','nextSibling','commandName','document','nodeAfter','splitListItemAfter','add','listIndent','afterInit','plugins','start','before','ELEMENT_NUMBERED_LIST','mergeListItemBackward','getSelectedBlocks','next','registerDescriptionCallback','after','ELEMENT_BULLETED_LIST','schema','locale','isObject','refresh','splitListItemBefore','*Format:*\x20remove\x20from\x20%0','toUpperCase','outdentList','createPositionAt','ELEMENT_','change','execute','*Change\x20to:*\x20%0','detach','DocumentListEditing','findIndex','_LIST','expandListBlocksToCompleteList','accept','forceValue','registerElementLabel','listType','get','commandParams','_suggestionFactory','setSelection','format','model'];(function(_0x5e7cd0,_0xf20254){const _0x4d6acc=function(_0x436cbf){while(--_0x436cbf){_0x5e7cd0['push'](_0x5e7cd0['shift']());}};_0x4d6acc(++_0xf20254);}(_0xf202,0x1f1));const _0x4d6a=function(_0x5e7cd0,_0xf20254){_0x5e7cd0=_0x5e7cd0-0x0;let _0x4d6acc=_0xf202[_0x5e7cd0];return _0x4d6acc;};import{Plugin as _0x356c56}from'ckeditor5/src/core.js';import{getTranslation as _0x3b14a7}from'../utils/common-translations.js';import{LiveRange as _0x39a912}from'ckeditor5/src/engine.js';export default class L extends _0x356c56{[_0x4d6a('0x48')](){const _0x6fc8b6=this[_0x4d6a('0x28')];if(!_0x6fc8b6['plugins']['has'](_0x4d6a('0x15')))return;const _0x382dc7=_0x6fc8b6[_0x4d6a('0x8')],_0x14747d=_0x6fc8b6[_0x4d6a('0x49')][_0x4d6a('0x1d')]('TrackChangesEditing'),_0x4871c9=_0x6fc8b6['plugins'][_0x4d6a('0x1d')](_0x4d6a('0x24'));function _0x1942c8(_0x317e5b){return()=>{const _0x414bad=_0x6fc8b6['commands'][_0x4d6a('0x1d')](_0x317e5b);let _0x2271b8=Array[_0x4d6a('0x35')](_0x6fc8b6[_0x4d6a('0x22')]['document'][_0x4d6a('0x2c')][_0x4d6a('0x2')]());if(_0x2e3fc3(_0x317e5b)){_0x2271b8=_0x4871c9[_0x4d6a('0x18')](_0x2271b8);const _0xe49129=[];for(const _0x5a5589 of _0x2271b8)_0x4871c9['isFirstBlockOfListItem'](_0x5a5589)&&_0xe49129['push'](_0x5a5589);_0x2271b8=_0xe49129;}_0x6fc8b6['model'][_0x4d6a('0x11')](()=>{_0x14747d['markMultiRangeBlockFormat'](_0x2271b8,{'commandName':_0x317e5b,'commandParams':[{'forceValue':!_0x414bad[_0x4d6a('0x31')]}],'formatGroupId':_0x4d6a('0x1c')},[],_0x4d6a('0x30'));});};}function _0x5025b2(_0x33490e){return()=>{const _0x1e5d93=function(_0x4c48b7){let _0x2392ea=Array[_0x4d6a('0x35')](_0x4c48b7);const _0x288b37=_0x2392ea[_0x4d6a('0x16')](_0x5a03ec=>!_0x5a03ec[_0x4d6a('0x3e')]('listItemId'));return _0x288b37>-0x1&&(_0x2392ea=_0x2392ea['slice'](0x0,_0x288b37)),_0x2392ea;}(_0x6fc8b6[_0x4d6a('0x22')]['document'][_0x4d6a('0x2c')][_0x4d6a('0x2')]()),_0x5062da=_0x1e5d93[_0x1e5d93[_0x4d6a('0x25')]-0x1],_0x23cdac=_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0x7')][_0x4d6a('0x9')](_0x5062da)?_0x4d6a('0x5'):_0x4d6a('0x37'),_0x42a6e5=_0x6fc8b6['model'][_0x4d6a('0x27')](_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0xf')](_0x1e5d93[0x0],_0x4d6a('0x4b')),_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0xf')](_0x5062da,_0x23cdac));_0x6fc8b6['model'][_0x4d6a('0x11')](()=>{_0x14747d[_0x4d6a('0x39')](_0x42a6e5,{'commandName':_0x33490e,'commandParams':[],'formatGroupId':'listType'},function(_0x572f79){const _0x1e0085=new Set();for(const _0x115002 of _0x572f79){let _0x2ecdd5=_0x115002['nextSibling'];for(;_0x2ecdd5&&_0x2ecdd5[_0x4d6a('0x34')](_0x4d6a('0x47'))>_0x115002[_0x4d6a('0x34')](_0x4d6a('0x47'));)_0x1e0085[_0x4d6a('0x46')](_0x2ecdd5),_0x2ecdd5=_0x2ecdd5[_0x4d6a('0x41')];}return Array['from'](_0x1e0085);}(_0x1e5d93));});};}function _0x3e16ca(_0x3e294c){return()=>{const _0x49d0d0=_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0x43')]['selection'][_0x4d6a('0x2')]()[_0x4d6a('0x3')]()[_0x4d6a('0x31')],_0x35dfef=_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0xf')](_0x49d0d0,_0x4d6a('0x4b')),_0xd1c989=_0x6fc8b6[_0x4d6a('0x22')]['createPositionAt'](_0x49d0d0,0x0),_0x5792f8=_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0x27')](_0x35dfef,_0xd1c989);_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0x11')](()=>{_0x14747d['markBlockFormat'](_0x5792f8,{'commandName':_0x3e294c,'commandParams':[],'formatGroupId':_0x4d6a('0x1c')});});};}function _0x2e3fc3(_0x3d8030){const _0x94a4a6=_0x6fc8b6['commands']['get']('bulletedList')[_0x4d6a('0x31')],_0x30f04a=_0x6fc8b6[_0x4d6a('0x29')][_0x4d6a('0x1d')]('numberedList')[_0x4d6a('0x31')];return'numberedList'===_0x3d8030?_0x94a4a6:_0x30f04a;}_0x14747d[_0x4d6a('0x36')](_0x4d6a('0x3a'),_0x1942c8('numberedList')),_0x14747d[_0x4d6a('0x36')](_0x4d6a('0x23'),_0x1942c8(_0x4d6a('0x23'))),_0x14747d[_0x4d6a('0x36')](_0x4d6a('0x32'),_0x5025b2(_0x4d6a('0x32'))),_0x14747d['enableCommand'](_0x4d6a('0xe'),_0x5025b2(_0x4d6a('0xe'))),_0x14747d['enableCommand'](_0x4d6a('0x45'),_0x3e16ca(_0x4d6a('0x45'))),_0x14747d[_0x4d6a('0x36')]('splitListItemBefore',_0x3e16ca(_0x4d6a('0xb'))),_0x14747d[_0x4d6a('0x2e')][_0x4d6a('0x1b')](function(_0x10e7ba){const _0x229132=!_0x6fc8b6[_0x4d6a('0x22')][_0x4d6a('0x7')]['isObject'](_0x10e7ba),_0xe13a16=_0x10e7ba['previousSibling'],_0xe408fd=_0x10e7ba[_0x4d6a('0x41')],_0x12e9f5=_0x10e7ba[_0x4d6a('0x34')](_0x4d6a('0x38')),_0x4405a7=!_0xe13a16||_0xe13a16[_0x4d6a('0x34')](_0x4d6a('0x38'))!==_0x12e9f5,_0x18a849=!_0xe408fd||_0xe408fd[_0x4d6a('0x34')](_0x4d6a('0x38'))!==_0x12e9f5;return _0x229132&&Boolean(_0x12e9f5)&&_0x4405a7&&_0x18a849;},_0xd10c8c=>_0x3b14a7(_0x382dc7,'ELEMENT_LIST_ITEM',_0xd10c8c)),_0x14747d['_descriptionFactory'][_0x4d6a('0x4')](function(_0x1f2b83){const {data:_0x4f08be}=_0x1f2b83;if(!_0x4f08be)return;let _0x571fea,_0x396d6d,_0x264d93,_0x2ddd28;switch(_0x4f08be[_0x4d6a('0x42')]){case _0x4d6a('0x23'):_0x264d93=_0x4f08be[_0x4d6a('0x1e')][0x0][_0x4d6a('0x1a')],_0x2ddd28=_0x2e3fc3(_0x4f08be[_0x4d6a('0x42')]),_0x571fea=_0x264d93?_0x4d6a('0x26'):_0x4d6a('0xc'),_0x2ddd28&&(_0x571fea=_0x4d6a('0x13')),_0x396d6d={'type':_0x4d6a('0x21'),'content':_0x3b14a7(_0x382dc7,_0x571fea,_0x3b14a7(_0x382dc7,_0x4d6a('0x6')))};break;case'numberedList':_0x264d93=_0x4f08be[_0x4d6a('0x1e')][0x0][_0x4d6a('0x1a')],_0x2ddd28=_0x2e3fc3(_0x4f08be[_0x4d6a('0x42')]),_0x571fea=_0x264d93?_0x4d6a('0x26'):_0x4d6a('0xc'),_0x2ddd28&&(_0x571fea=_0x4d6a('0x13')),_0x396d6d={'type':_0x4d6a('0x21'),'content':_0x3b14a7(_0x382dc7,_0x571fea,_0x3b14a7(_0x382dc7,_0x4d6a('0x0')))};break;case _0x4d6a('0x32'):_0x571fea=_0x4d6a('0x2a'),_0x396d6d={'type':'format','content':_0x3b14a7(_0x382dc7,_0x571fea,_0x3b14a7(_0x382dc7,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x571fea=function(_0x1d1c15){const _0xa9318b=_0x1d1c15[_0x4d6a('0x3f')]();let _0x1f7cf8=_0xa9318b[_0x4d6a('0x4a')][_0x4d6a('0x44')];for(;_0x1f7cf8&&_0xa9318b['containsItem'](_0x1f7cf8);){if(_0x1f7cf8[_0x4d6a('0x34')](_0x4d6a('0x47'))>0x0)return!0x1;_0x1f7cf8=_0x1f7cf8[_0x4d6a('0x41')];}return!0x0;}(_0x1f2b83)?_0x3b14a7(_0x382dc7,_0x4d6a('0xc'),_0x3b14a7(_0x382dc7,function(_0x283e42){const _0x27c8e7=_0x283e42[_0x4d6a('0x3f')]()['start']['nodeAfter'];return _0x4d6a('0x10')+_0x27c8e7[_0x4d6a('0x34')](_0x4d6a('0x1c'))[_0x4d6a('0xd')]()+_0x4d6a('0x17');}(_0x1f2b83))):_0x3b14a7(_0x382dc7,_0x4d6a('0x2d'),_0x3b14a7(_0x382dc7,_0x4d6a('0x2f'))),_0x396d6d={'type':'format','content':_0x571fea};break;case _0x4d6a('0x1'):case _0x4d6a('0x3d'):!0x1===_0x4f08be['multipleBlocks']&&(_0x571fea=_0x4d6a('0x33'),_0x396d6d={'type':'deletion','content':_0x3b14a7(_0x382dc7,_0x571fea,_0x3b14a7(_0x382dc7,_0x4d6a('0x2f')))});}return _0x396d6d;}),_0x14747d[_0x4d6a('0x1f')][_0x4d6a('0x2b')](_0x4d6a('0x40'),_0x4d6a('0x30'),_0x4d6a('0x19'),function(_0x5030ee,_0x2514b0){const _0x2ba9af=[];for(let _0x252788 of _0x5030ee)_0x252788[_0x4d6a('0x4a')][_0x4d6a('0x44')]===_0x252788[_0x4d6a('0x37')][_0x4d6a('0x3b')]&&(_0x252788=_0x6fc8b6['model'][_0x4d6a('0x27')](_0x6fc8b6['model'][_0x4d6a('0xf')](_0x252788[_0x4d6a('0x4a')][_0x4d6a('0x44')],0x0))),_0x2ba9af['push'](_0x252788);_0x6fc8b6['model'][_0x4d6a('0x11')](_0x50b999=>{const _0xf7bbce=_0x6fc8b6['model']['document'][_0x4d6a('0x2c')],_0x599b37=Array[_0x4d6a('0x35')](_0xf7bbce['getRanges']())['map'](_0x3b9088=>_0x39a912['fromRange'](_0x3b9088));_0x50b999[_0x4d6a('0x20')](_0x2ba9af),_0x6fc8b6[_0x4d6a('0x29')][_0x4d6a('0x1d')](_0x2514b0[_0x4d6a('0x42')])[_0x4d6a('0xa')](),_0x2514b0['commandParams'][_0x4d6a('0x3c')]({'forceDefaultExecution':!0x0}),_0x6fc8b6[_0x4d6a('0x12')](_0x2514b0[_0x4d6a('0x42')],..._0x2514b0[_0x4d6a('0x1e')]),_0x50b999['setSelection'](_0x599b37);for(const _0x5cac83 of _0x599b37)_0x5cac83[_0x4d6a('0x14')]();});});}}
23
+ const _0x4973=['isObject','*Outdent:*\x20%0','formatBlock','mergeListItemBackward','getSelectedBlocks','commands','ELEMENT_LIST_ITEM','editor','getRanges','after','push','*Merge:*\x20%0','DocumentListEditing','slice','createRange','*Format:*\x20remove\x20from\x20%0','forceValue','model','before','*Change\x20to:*\x20%0','_descriptionFactory','commandParams','get','listItemId','commandName','createPositionAt','listIndent','splitListItemAfter','change','previousSibling','afterInit','*Format:*\x20insert\x20into\x20%0','splitListItemBefore','fromRange','registerCustomCallback','*Indent:*\x20%0','enableCommand','deletion','toUpperCase','next','registerDescriptionCallback','start','outdentList','indentList','_suggestionFactory','nodeAfter','nextSibling','containsItem','value','format','numberedList','detach','add','setSelection','parent','bulletedList','documentList','markBlockFormat','map','execute','hasAttribute','plugins','from','registerElementLabel','listType','document','accept','getFirstRange','schema','selection','ELEMENT_','getAttribute','mergeListItemForward','multipleBlocks'];(function(_0x234433,_0x49730d){const _0x1e5077=function(_0x1ff922){while(--_0x1ff922){_0x234433['push'](_0x234433['shift']());}};_0x1e5077(++_0x49730d);}(_0x4973,0xf8));const _0x1e50=function(_0x234433,_0x49730d){_0x234433=_0x234433-0x0;let _0x1e5077=_0x4973[_0x234433];return _0x1e5077;};import{Plugin as _0x555eb4}from'ckeditor5/src/core';import{getTranslation as _0x603ecf}from'../utils/common-translations';import{LiveRange as _0x5203c2}from'ckeditor5/src/engine';export default class L extends _0x555eb4{[_0x1e50('0x4')](){const _0x53f405=this[_0x1e50('0x37')];if(!_0x53f405[_0x1e50('0x23')]['has'](_0x1e50('0x3c')))return;const _0x33243d=_0x53f405['locale'],_0x333302=_0x53f405[_0x1e50('0x23')][_0x1e50('0x46')]('TrackChangesEditing'),_0x4914e8=_0x53f405[_0x1e50('0x23')][_0x1e50('0x46')]('DocumentListUtils');function _0x3117ca(_0x858e00){return()=>{const _0x32586a=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x858e00);let _0x3de72e=Array[_0x1e50('0x24')](_0x53f405[_0x1e50('0x41')][_0x1e50('0x27')][_0x1e50('0x2b')][_0x1e50('0x34')]());if(_0x5aea33(_0x858e00)){_0x3de72e=_0x4914e8['expandListBlocksToCompleteList'](_0x3de72e);const _0x32e988=[];for(const _0x2a1f25 of _0x3de72e)_0x4914e8['isFirstBlockOfListItem'](_0x2a1f25)&&_0x32e988['push'](_0x2a1f25);_0x3de72e=_0x32e988;}_0x53f405[_0x1e50('0x41')][_0x1e50('0x2')](()=>{_0x333302['markMultiRangeBlockFormat'](_0x3de72e,{'commandName':_0x858e00,'commandParams':[{'forceValue':!_0x32586a['value']}],'formatGroupId':_0x1e50('0x26')},[],_0x1e50('0x1e'));});};}function _0x55c294(_0x5a2f3c){return()=>{const _0x437861=function(_0x516870){let _0x59a9ae=Array['from'](_0x516870);const _0x31b16c=_0x59a9ae['findIndex'](_0x3a47ae=>!_0x3a47ae[_0x1e50('0x22')](_0x1e50('0x47')));return _0x31b16c>-0x1&&(_0x59a9ae=_0x59a9ae[_0x1e50('0x3d')](0x0,_0x31b16c)),_0x59a9ae;}(_0x53f405['model'][_0x1e50('0x27')][_0x1e50('0x2b')]['getSelectedBlocks']()),_0x56a1cd=_0x437861[_0x437861['length']-0x1],_0x1ba8bf=_0x53f405[_0x1e50('0x41')][_0x1e50('0x2a')][_0x1e50('0x30')](_0x56a1cd)?_0x1e50('0x39'):'end',_0x166b0c=_0x53f405[_0x1e50('0x41')][_0x1e50('0x3e')](_0x53f405['model']['createPositionAt'](_0x437861[0x0],_0x1e50('0x42')),_0x53f405['model'][_0x1e50('0x49')](_0x56a1cd,_0x1ba8bf));_0x53f405['model'][_0x1e50('0x2')](()=>{_0x333302['markBlockFormat'](_0x166b0c,{'commandName':_0x5a2f3c,'commandParams':[],'formatGroupId':'listType'},function(_0x41e77b){const _0x876a91=new Set();for(const _0x2ba047 of _0x41e77b){let _0x511c37=_0x2ba047[_0x1e50('0x14')];for(;_0x511c37&&_0x511c37[_0x1e50('0x2d')](_0x1e50('0x0'))>_0x2ba047[_0x1e50('0x2d')](_0x1e50('0x0'));)_0x876a91[_0x1e50('0x1a')](_0x511c37),_0x511c37=_0x511c37[_0x1e50('0x14')];}return Array['from'](_0x876a91);}(_0x437861));});};}function _0x151643(_0x5c7bdd){return()=>{const _0xbed8ad=_0x53f405[_0x1e50('0x41')]['document']['selection'][_0x1e50('0x34')]()[_0x1e50('0xd')]()[_0x1e50('0x16')],_0x506fef=_0x53f405[_0x1e50('0x41')][_0x1e50('0x49')](_0xbed8ad,_0x1e50('0x42')),_0x24cd68=_0x53f405[_0x1e50('0x41')][_0x1e50('0x49')](_0xbed8ad,0x0),_0x10ce81=_0x53f405['model'][_0x1e50('0x3e')](_0x506fef,_0x24cd68);_0x53f405[_0x1e50('0x41')][_0x1e50('0x2')](()=>{_0x333302[_0x1e50('0x1f')](_0x10ce81,{'commandName':_0x5c7bdd,'commandParams':[],'formatGroupId':'listType'});});};}function _0x5aea33(_0x1f2a8c){const _0x20a13c=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x1e50('0x1d'))[_0x1e50('0x16')],_0x169588=_0x53f405[_0x1e50('0x35')][_0x1e50('0x46')](_0x1e50('0x18'))[_0x1e50('0x16')];return _0x1e50('0x18')===_0x1f2a8c?_0x20a13c:_0x169588;}_0x333302[_0x1e50('0xa')](_0x1e50('0x18'),_0x3117ca(_0x1e50('0x18'))),_0x333302[_0x1e50('0xa')](_0x1e50('0x1d'),_0x3117ca(_0x1e50('0x1d'))),_0x333302[_0x1e50('0xa')](_0x1e50('0x11'),_0x55c294('indentList')),_0x333302['enableCommand']('outdentList',_0x55c294(_0x1e50('0x10'))),_0x333302['enableCommand'](_0x1e50('0x1'),_0x151643(_0x1e50('0x1'))),_0x333302['enableCommand'](_0x1e50('0x6'),_0x151643(_0x1e50('0x6'))),_0x333302[_0x1e50('0x44')][_0x1e50('0x25')](function(_0x3f39a4){const _0x982525=!_0x53f405[_0x1e50('0x41')]['schema']['isObject'](_0x3f39a4),_0x205921=_0x3f39a4[_0x1e50('0x3')],_0x1a0d74=_0x3f39a4['nextSibling'],_0x4cc642=_0x3f39a4['getAttribute'](_0x1e50('0x47')),_0x182d5c=!_0x205921||_0x205921['getAttribute'](_0x1e50('0x47'))!==_0x4cc642,_0x397b84=!_0x1a0d74||_0x1a0d74['getAttribute'](_0x1e50('0x47'))!==_0x4cc642;return _0x982525&&Boolean(_0x4cc642)&&_0x182d5c&&_0x397b84;},_0x19f65e=>_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM',_0x19f65e)),_0x333302['_descriptionFactory'][_0x1e50('0xe')](function(_0x59973b){const {data:_0x4d7d4d}=_0x59973b;if(!_0x4d7d4d)return;let _0xfe2ef6,_0x2ac5a1,_0x5b184e,_0x49c7fd;switch(_0x4d7d4d['commandName']){case'bulletedList':_0x5b184e=_0x4d7d4d[_0x1e50('0x45')][0x0][_0x1e50('0x40')],_0x49c7fd=_0x5aea33(_0x4d7d4d[_0x1e50('0x48')]),_0xfe2ef6=_0x5b184e?_0x1e50('0x5'):_0x1e50('0x3f'),_0x49c7fd&&(_0xfe2ef6=_0x1e50('0x43')),_0x2ac5a1={'type':'format','content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x5b184e=_0x4d7d4d[_0x1e50('0x45')][0x0][_0x1e50('0x40')],_0x49c7fd=_0x5aea33(_0x4d7d4d['commandName']),_0xfe2ef6=_0x5b184e?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x49c7fd&&(_0xfe2ef6=_0x1e50('0x43')),_0x2ac5a1={'type':_0x1e50('0x17'),'content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0xfe2ef6=_0x1e50('0x9'),_0x2ac5a1={'type':'format','content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM'))};break;case _0x1e50('0x10'):_0xfe2ef6=function(_0x2920e6){const _0x33998e=_0x2920e6[_0x1e50('0x29')]();let _0x5d4608=_0x33998e[_0x1e50('0xf')][_0x1e50('0x13')];for(;_0x5d4608&&_0x33998e[_0x1e50('0x15')](_0x5d4608);){if(_0x5d4608[_0x1e50('0x2d')](_0x1e50('0x0'))>0x0)return!0x1;_0x5d4608=_0x5d4608['nextSibling'];}return!0x0;}(_0x59973b)?_0x603ecf(_0x33243d,_0x1e50('0x3f'),_0x603ecf(_0x33243d,function(_0xfeb72d){const _0x59ed09=_0xfeb72d[_0x1e50('0x29')]()[_0x1e50('0xf')][_0x1e50('0x13')];return _0x1e50('0x2c')+_0x59ed09['getAttribute'](_0x1e50('0x26'))[_0x1e50('0xc')]()+'_LIST';}(_0x59973b))):_0x603ecf(_0x33243d,_0x1e50('0x31'),_0x603ecf(_0x33243d,_0x1e50('0x36'))),_0x2ac5a1={'type':_0x1e50('0x17'),'content':_0xfe2ef6};break;case _0x1e50('0x33'):case _0x1e50('0x2e'):!0x1===_0x4d7d4d[_0x1e50('0x2f')]&&(_0xfe2ef6=_0x1e50('0x3b'),_0x2ac5a1={'type':_0x1e50('0xb'),'content':_0x603ecf(_0x33243d,_0xfe2ef6,_0x603ecf(_0x33243d,'ELEMENT_LIST_ITEM'))});}return _0x2ac5a1;}),_0x333302[_0x1e50('0x12')][_0x1e50('0x8')](_0x1e50('0x32'),'documentList',_0x1e50('0x28'),function(_0x3d4bad,_0x46d852){const _0x3f95ed=[];for(let _0x1d688a of _0x3d4bad)_0x1d688a[_0x1e50('0xf')]['nodeAfter']===_0x1d688a['end'][_0x1e50('0x1c')]&&(_0x1d688a=_0x53f405[_0x1e50('0x41')][_0x1e50('0x3e')](_0x53f405['model'][_0x1e50('0x49')](_0x1d688a['start'][_0x1e50('0x13')],0x0))),_0x3f95ed[_0x1e50('0x3a')](_0x1d688a);_0x53f405['model'][_0x1e50('0x2')](_0x2dd947=>{const _0x2345e5=_0x53f405['model'][_0x1e50('0x27')]['selection'],_0x491ced=Array[_0x1e50('0x24')](_0x2345e5[_0x1e50('0x38')]())[_0x1e50('0x20')](_0x5d4082=>_0x5203c2[_0x1e50('0x7')](_0x5d4082));_0x2dd947[_0x1e50('0x1b')](_0x3f95ed),_0x53f405[_0x1e50('0x35')]['get'](_0x46d852['commandName'])['refresh'](),_0x46d852[_0x1e50('0x45')][_0x1e50('0x3a')]({'forceDefaultExecution':!0x0}),_0x53f405[_0x1e50('0x21')](_0x46d852[_0x1e50('0x48')],..._0x46d852[_0x1e50('0x45')]),_0x2dd947[_0x1e50('0x1b')](_0x491ced);for(const _0x58cfe9 of _0x491ced)_0x58cfe9[_0x1e50('0x19')]();});});}}
@@ -1,9 +1,13 @@
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/documentlistproperties
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
5
- import type { Description } from '../suggestiondescriptionfactory.js';
6
- import type Suggestion from '../suggestion.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import type { Description } from '../suggestiondescriptionfactory';
10
+ import type Suggestion from '../suggestion';
7
11
  /**
8
12
  * Provides track changes plugin integration for document list properties feature.
9
13
  */
@@ -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 _0x5d1d=['markMultiRangeBlockFormat','numbered','ELEMENT_','from','listReversed','DocumentListPropertiesUtils','handleListStyleCommand','getAttribute','document','TrackChangesEditing','plugins','change','*Format:*\x20set\x20order\x20to\x20regular','getListTypeFromListStyleType','listStart','listType','handleListReversedCommand','*Change\x20to:*\x20%0','_getSuggestionBlocks','locale','model','isListItemBlock','startIndex','type','DocumentListPropertiesEditing','_descriptionFactory','push','getSelectedBlocks','length','handleListStartCommand','get','toUpperCase','reversed','_LIST_','DocumentListUtils','selection','list.properties','registerDescriptionCallback','*Format:*\x20set\x20order\x20to\x20reversed','listStyle','commandParams','handleDescriptions','commandName','bind','has','editor','_getTranslationKeyForListStyle','_getSuggestionBlocksForListStyle','enableCommand','styles','expandListBlocksToCompleteList','format'];(function(_0x2b05a3,_0x5d1ddd){const _0x2ba0fa=function(_0xe00069){while(--_0xe00069){_0x2b05a3['push'](_0x2b05a3['shift']());}};_0x2ba0fa(++_0x5d1ddd);}(_0x5d1d,0x118));const _0x2ba0=function(_0x2b05a3,_0x5d1ddd){_0x2b05a3=_0x2b05a3-0x0;let _0x2ba0fa=_0x5d1d[_0x2b05a3];return _0x2ba0fa;};import{Plugin as _0x35064e}from'ckeditor5/src/core.js';import{getTranslation as _0x2b6549}from'../utils/common-translations.js';export default class vt extends _0x35064e{['afterInit'](){if(!this[_0x2ba0('0x19')][_0x2ba0('0x2a')][_0x2ba0('0x18')](_0x2ba0('0x4')))return;const _0x222125=this['editor']['config'][_0x2ba0('0xa')](_0x2ba0('0x10')),_0x1e3504=this[_0x2ba0('0x19')][_0x2ba0('0x2a')]['get']('TrackChangesEditing');_0x222125[_0x2ba0('0x1d')]&&_0x1e3504['enableCommand'](_0x2ba0('0x13'),this['handleListStyleCommand'][_0x2ba0('0x17')](this)),_0x222125['reversed']&&_0x1e3504['enableCommand'](_0x2ba0('0x24'),this[_0x2ba0('0x30')]['bind'](this)),_0x222125['startIndex']&&_0x1e3504[_0x2ba0('0x1c')]('listStart',this[_0x2ba0('0x9')]['bind'](this)),_0x1e3504[_0x2ba0('0x5')][_0x2ba0('0x11')](this[_0x2ba0('0x15')][_0x2ba0('0x17')](this));}[_0x2ba0('0x26')](_0x4239f0,_0x596832={}){const _0x23cf7e=this[_0x2ba0('0x19')][_0x2ba0('0x2a')][_0x2ba0('0xa')](_0x2ba0('0x29')),_0x26ce9e=this[_0x2ba0('0x1b')]();this[_0x2ba0('0x19')][_0x2ba0('0x0')][_0x2ba0('0x2b')](()=>{_0x23cf7e[_0x2ba0('0x20')](_0x26ce9e,{'commandName':_0x2ba0('0x13'),'commandParams':[{'type':_0x596832[_0x2ba0('0x3')]}],'formatGroupId':_0x2ba0('0x13')});});}[_0x2ba0('0x30')](_0x37e8fa,_0x44bd89={}){const _0x40a489=this[_0x2ba0('0x19')][_0x2ba0('0x2a')][_0x2ba0('0xa')](_0x2ba0('0x29')),_0x583f7d=this[_0x2ba0('0x19')]['plugins'][_0x2ba0('0xa')](_0x2ba0('0xe')),_0x1cf9fa=this[_0x2ba0('0x32')](_0x556af8=>_0x583f7d[_0x2ba0('0x1')](_0x556af8)&&_0x2ba0('0x21')===_0x556af8[_0x2ba0('0x27')](_0x2ba0('0x2f')));null!==_0x1cf9fa&&this['editor'][_0x2ba0('0x0')][_0x2ba0('0x2b')](()=>{_0x40a489[_0x2ba0('0x20')](_0x1cf9fa,{'commandName':_0x2ba0('0x24'),'commandParams':[{'reversed':_0x44bd89[_0x2ba0('0xc')]}],'formatGroupId':_0x2ba0('0x24')});});}[_0x2ba0('0x9')](_0x5e73a4,_0x3f65e2={}){const _0x530c0f=this[_0x2ba0('0x19')][_0x2ba0('0x2a')][_0x2ba0('0xa')]('TrackChangesEditing'),_0x55afc8=this[_0x2ba0('0x19')][_0x2ba0('0x2a')][_0x2ba0('0xa')]('DocumentListUtils'),_0x4a1aab=this['_getSuggestionBlocks'](_0x42e9e=>_0x55afc8[_0x2ba0('0x1')](_0x42e9e)&&_0x2ba0('0x21')===_0x42e9e[_0x2ba0('0x27')](_0x2ba0('0x2f')));null!==_0x4a1aab&&this[_0x2ba0('0x19')][_0x2ba0('0x0')]['change'](()=>{_0x530c0f[_0x2ba0('0x20')](_0x4a1aab,{'commandName':_0x2ba0('0x2e'),'commandParams':[{'startIndex':_0x3f65e2[_0x2ba0('0x2')]}],'formatGroupId':'listStart'});});}[_0x2ba0('0x15')](_0x15a0e0){const _0x46ad45=this['editor'][_0x2ba0('0x33')],{data:_0x3b6fa0}=_0x15a0e0;if(!_0x3b6fa0)return;let _0x5dbce0,_0x21b904;switch(_0x3b6fa0[_0x2ba0('0x16')]){case _0x2ba0('0x13'):_0x5dbce0=_0x2ba0('0x31'),_0x21b904={'type':'format','content':_0x2b6549(_0x46ad45,_0x5dbce0,_0x2b6549(_0x46ad45,this[_0x2ba0('0x1a')](_0x3b6fa0[_0x2ba0('0x14')][0x0][_0x2ba0('0x3')])))};break;case'listReversed':_0x5dbce0=_0x3b6fa0[_0x2ba0('0x14')][0x0][_0x2ba0('0xc')]?_0x2ba0('0x12'):_0x2ba0('0x2c'),_0x21b904={'type':_0x2ba0('0x1f'),'content':_0x2b6549(_0x46ad45,_0x5dbce0)};break;case _0x2ba0('0x2e'):_0x5dbce0='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x21b904={'type':_0x2ba0('0x1f'),'content':_0x2b6549(_0x46ad45,_0x5dbce0,_0x3b6fa0['commandParams'][0x0]['startIndex'])};}return _0x21b904;}['_getSuggestionBlocksForListStyle'](){const _0x59c8f3=this[_0x2ba0('0x19')]['plugins'][_0x2ba0('0xa')](_0x2ba0('0xe'));let _0x144c7e=Array[_0x2ba0('0x23')](this[_0x2ba0('0x19')][_0x2ba0('0x0')][_0x2ba0('0x28')]['selection'][_0x2ba0('0x7')]());return _0x144c7e['push'](..._0x59c8f3[_0x2ba0('0x1e')](_0x144c7e)),_0x144c7e=[...new Set(_0x144c7e)],_0x144c7e;}[_0x2ba0('0x32')](_0x539ace){const _0x2bb8ba=this['editor'][_0x2ba0('0x2a')][_0x2ba0('0xa')](_0x2ba0('0xe'));let _0x586662=Array[_0x2ba0('0x23')](this[_0x2ba0('0x19')][_0x2ba0('0x0')][_0x2ba0('0x28')][_0x2ba0('0xf')][_0x2ba0('0x7')]())['filter'](_0x539ace);if(!_0x586662[_0x2ba0('0x8')])return null;_0x586662=_0x2bb8ba['expandListBlocksToCompleteList'](_0x586662);const _0x359174=[];for(const _0x435f91 of _0x586662)_0x2bb8ba['isFirstBlockOfListItem'](_0x435f91)&&_0x359174[_0x2ba0('0x6')](_0x435f91);return _0x359174;}['_getTranslationKeyForListStyle'](_0x49ccda){return _0x2ba0('0x22')+this['editor'][_0x2ba0('0x2a')][_0x2ba0('0xa')](_0x2ba0('0x25'))[_0x2ba0('0x2d')](_0x49ccda)[_0x2ba0('0xb')]()+_0x2ba0('0xd')+_0x49ccda[_0x2ba0('0xb')]()['replace'](/-/g,'_');}}
23
+ const _0x38a1=['TrackChangesEditing','handleListStartCommand','getSelectedBlocks','locale','isListItemBlock','markMultiRangeBlockFormat','handleListReversedCommand','getListTypeFromListStyleType','listStart','_descriptionFactory','commandName','push','_getSuggestionBlocksForListStyle','listReversed','replace','bind','listType','model','DocumentListPropertiesUtils','format','DocumentListUtils','styles','ELEMENT_','toUpperCase','has','enableCommand','expandListBlocksToCompleteList','length','startIndex','*Format:*\x20set\x20order\x20to\x20regular','reversed','selection','_getSuggestionBlocks','*Change\x20to:*\x20%0','afterInit','change','handleDescriptions','_getTranslationKeyForListStyle','commandParams','type','numbered','*Format:*\x20set\x20start\x20index\x20to\x20%0','document','from','editor','_LIST_','list.properties','get','plugins','listStyle','isFirstBlockOfListItem','handleListStyleCommand','getAttribute'];(function(_0x2d33cf,_0x38a129){const _0xc5a236=function(_0x431709){while(--_0x431709){_0x2d33cf['push'](_0x2d33cf['shift']());}};_0xc5a236(++_0x38a129);}(_0x38a1,0x122));const _0xc5a2=function(_0x2d33cf,_0x38a129){_0x2d33cf=_0x2d33cf-0x0;let _0xc5a236=_0x38a1[_0x2d33cf];return _0xc5a236;};import{Plugin as _0x49e10b}from'ckeditor5/src/core';import{getTranslation as _0x8e85b2}from'../utils/common-translations';export default class At extends _0x49e10b{[_0xc5a2('0x9')](){if(!this['editor']['plugins'][_0xc5a2('0x34')]('DocumentListPropertiesEditing'))return;const _0x2902ae=this[_0xc5a2('0x13')]['config'][_0xc5a2('0x16')](_0xc5a2('0x15')),_0x405b28=this['editor'][_0xc5a2('0x17')][_0xc5a2('0x16')](_0xc5a2('0x1c'));_0x2902ae[_0xc5a2('0x31')]&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x18'),this[_0xc5a2('0x1a')][_0xc5a2('0x2b')](this)),_0x2902ae['reversed']&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x29'),this[_0xc5a2('0x22')][_0xc5a2('0x2b')](this)),_0x2902ae[_0xc5a2('0x3')]&&_0x405b28[_0xc5a2('0x0')](_0xc5a2('0x24'),this[_0xc5a2('0x1d')][_0xc5a2('0x2b')](this)),_0x405b28[_0xc5a2('0x25')]['registerDescriptionCallback'](this[_0xc5a2('0xb')][_0xc5a2('0x2b')](this));}[_0xc5a2('0x1a')](_0x4b0852,_0x4b6122={}){const _0x768da4=this[_0xc5a2('0x13')][_0xc5a2('0x17')][_0xc5a2('0x16')]('TrackChangesEditing'),_0x1231c2=this[_0xc5a2('0x28')]();this[_0xc5a2('0x13')][_0xc5a2('0x2d')][_0xc5a2('0xa')](()=>{_0x768da4[_0xc5a2('0x21')](_0x1231c2,{'commandName':_0xc5a2('0x18'),'commandParams':[{'type':_0x4b6122['type']}],'formatGroupId':_0xc5a2('0x18')});});}[_0xc5a2('0x22')](_0x57ed46,_0x5247a2={}){const _0x52da9d=this[_0xc5a2('0x13')]['plugins'][_0xc5a2('0x16')]('TrackChangesEditing'),_0x2d0f60=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get'](_0xc5a2('0x30')),_0x3c2442=this[_0xc5a2('0x7')](_0x35a120=>_0x2d0f60[_0xc5a2('0x20')](_0x35a120)&&_0xc5a2('0xf')===_0x35a120[_0xc5a2('0x1b')](_0xc5a2('0x2c')));null!==_0x3c2442&&this['editor'][_0xc5a2('0x2d')][_0xc5a2('0xa')](()=>{_0x52da9d['markMultiRangeBlockFormat'](_0x3c2442,{'commandName':_0xc5a2('0x29'),'commandParams':[{'reversed':_0x5247a2['reversed']}],'formatGroupId':_0xc5a2('0x29')});});}[_0xc5a2('0x1d')](_0x14bede,_0x30d9e4={}){const _0x2033af=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get']('TrackChangesEditing'),_0x4b72ad=this[_0xc5a2('0x13')][_0xc5a2('0x17')]['get'](_0xc5a2('0x30')),_0x5a6601=this['_getSuggestionBlocks'](_0x39c80b=>_0x4b72ad['isListItemBlock'](_0x39c80b)&&'numbered'===_0x39c80b['getAttribute'](_0xc5a2('0x2c')));null!==_0x5a6601&&this['editor']['model'][_0xc5a2('0xa')](()=>{_0x2033af[_0xc5a2('0x21')](_0x5a6601,{'commandName':'listStart','commandParams':[{'startIndex':_0x30d9e4['startIndex']}],'formatGroupId':_0xc5a2('0x24')});});}[_0xc5a2('0xb')](_0x534456){const _0x1480c5=this[_0xc5a2('0x13')][_0xc5a2('0x1f')],{data:_0x566f3a}=_0x534456;if(!_0x566f3a)return;let _0x25670e,_0x2436f8;switch(_0x566f3a[_0xc5a2('0x26')]){case _0xc5a2('0x18'):_0x25670e=_0xc5a2('0x8'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e,_0x8e85b2(_0x1480c5,this[_0xc5a2('0xc')](_0x566f3a[_0xc5a2('0xd')][0x0][_0xc5a2('0xe')])))};break;case _0xc5a2('0x29'):_0x25670e=_0x566f3a['commandParams'][0x0][_0xc5a2('0x5')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0xc5a2('0x4'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e)};break;case _0xc5a2('0x24'):_0x25670e=_0xc5a2('0x10'),_0x2436f8={'type':_0xc5a2('0x2f'),'content':_0x8e85b2(_0x1480c5,_0x25670e,_0x566f3a['commandParams'][0x0][_0xc5a2('0x3')])};}return _0x2436f8;}[_0xc5a2('0x28')](){const _0x2837b9=this['editor']['plugins']['get'](_0xc5a2('0x30'));let _0x49e94a=Array[_0xc5a2('0x12')](this[_0xc5a2('0x13')][_0xc5a2('0x2d')][_0xc5a2('0x11')][_0xc5a2('0x6')][_0xc5a2('0x1e')]());return _0x49e94a[_0xc5a2('0x27')](..._0x2837b9[_0xc5a2('0x1')](_0x49e94a)),_0x49e94a=[...new Set(_0x49e94a)],_0x49e94a;}[_0xc5a2('0x7')](_0x5a9d7c){const _0x2d10b2=this['editor'][_0xc5a2('0x17')][_0xc5a2('0x16')](_0xc5a2('0x30'));let _0x10f09e=Array[_0xc5a2('0x12')](this[_0xc5a2('0x13')]['model'][_0xc5a2('0x11')]['selection'][_0xc5a2('0x1e')]())['filter'](_0x5a9d7c);if(!_0x10f09e[_0xc5a2('0x2')])return null;_0x10f09e=_0x2d10b2[_0xc5a2('0x1')](_0x10f09e);const _0x5bcf48=[];for(const _0x1aa5a9 of _0x10f09e)_0x2d10b2[_0xc5a2('0x19')](_0x1aa5a9)&&_0x5bcf48[_0xc5a2('0x27')](_0x1aa5a9);return _0x5bcf48;}['_getTranslationKeyForListStyle'](_0x23d752){return _0xc5a2('0x32')+this['editor']['plugins'][_0xc5a2('0x16')](_0xc5a2('0x2e'))[_0xc5a2('0x23')](_0x23d752)['toUpperCase']()+_0xc5a2('0x14')+_0x23d752[_0xc5a2('0x33')]()[_0xc5a2('0x2a')](/-/g,'_');}}
@@ -1,8 +1,12 @@
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/entercommand
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
5
- import { Enter } from 'ckeditor5/src/enter.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Enter } from 'ckeditor5/src/enter';
6
10
  /**
7
11
  * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
8
12
  */
@@ -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 _0x42d0=['model','setSelection','editor','data','split','showSuggestionHighlights','change','writer','getFirstPosition','get','markerName','options','hasClass','parent','fromRange','afterExecute','markerNameToElements','document','requires','bind','enableCommand','nextSibling','createRange','init','high','enter','removeMarker:suggestion:insertion','createPositionAt','ck-suggestion-marker-split','remove','end','commands'];(function(_0x490df,_0x42d063){const _0x4a0f4b=function(_0x276940){while(--_0x276940){_0x490df['push'](_0x490df['shift']());}};_0x4a0f4b(++_0x42d063);}(_0x42d0,0x65));const _0x4a0f=function(_0x490df,_0x42d063){_0x490df=_0x490df-0x0;let _0x4a0f4b=_0x42d0[_0x490df];return _0x4a0f4b;};import{Plugin as _0x578c22}from'ckeditor5/src/core.js';import{Enter as _0xb73ac0}from'ckeditor5/src/enter.js';import{LiveRange as _0x2d0a0d}from'ckeditor5/src/engine.js';import{downcastSplitMergeMarker as _0x2753d3}from'./utils.js';export default class q extends _0x578c22{static get[_0x4a0f('0xd')](){return[_0xb73ac0];}[_0x4a0f('0x12')](){const _0x49af57=this[_0x4a0f('0x1d')],_0x1695f1=_0x49af57['plugins'][_0x4a0f('0x4')]('TrackChangesEditing'),_0x441961=_0x49af57[_0x4a0f('0x1a')][_0x4a0f('0x4')](_0x4a0f('0x14'));_0x1695f1[_0x4a0f('0xf')](_0x4a0f('0x14'),()=>{_0x49af57[_0x4a0f('0x1b')][_0x4a0f('0x1')](_0x94fcd=>{const _0x128a62=_0x49af57[_0x4a0f('0x1b')][_0x4a0f('0xc')]['selection'],_0xac970b=_0x128a62[_0x4a0f('0x3')](),_0x4f6267=_0x2d0a0d[_0x4a0f('0x9')](_0x128a62['getFirstRange']());if(_0x441961['enterBlock'](_0x94fcd)){const _0x3efe5d=_0x49af57['model'][_0x4a0f('0x16')](_0xac970b[_0x4a0f('0x8')][_0x4a0f('0x10')],0x0),_0x2b585a=_0x94fcd[_0x4a0f('0x11')](_0xac970b,_0x3efe5d);_0x1695f1['markInsertion'](_0x2b585a);}else _0x94fcd[_0x4a0f('0x1c')](_0x94fcd[_0x4a0f('0x11')](_0x4f6267[_0x4a0f('0x19')]));_0x4f6267['detach'](),_0x441961['fire'](_0x4a0f('0xa'),{'writer':_0x94fcd});});}),_0x49af57['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x2753d3(_0x49af57,_0x4a0f('0x1f')),{'priority':'high'}),_0x49af57['editing']['downcastDispatcher']['on'](_0x4a0f('0x15'),(_0x3eecd3,_0x2c3684,_0x33d0c6)=>{const _0x102bfc=_0x33d0c6['mapper'][_0x4a0f('0xb')](_0x2c3684[_0x4a0f('0x5')]);if(_0x102bfc)for(const _0x2cb9d1 of _0x102bfc)_0x2cb9d1[_0x4a0f('0x7')](_0x4a0f('0x17'))&&(_0x33d0c6['mapper']['unbindElementFromMarkerName'](_0x2cb9d1,_0x2c3684[_0x4a0f('0x5')]),_0x33d0c6[_0x4a0f('0x2')][_0x4a0f('0x18')](_0x2cb9d1));},{'priority':'high'}),_0x49af57[_0x4a0f('0x1e')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x400c2c,_0x4e0ea1,_0x1d0a2e)=>{_0x1d0a2e[_0x4a0f('0x6')][_0x4a0f('0x0')]&&_0x2753d3(_0x49af57,_0x4a0f('0x1f'),{'showActiveMarker':!0x1})[_0x4a0f('0xe')](this)(_0x400c2c,_0x4e0ea1,_0x1d0a2e);},{'priority':_0x4a0f('0x13')});}}
23
+ const _0x5c64=['writer','fromRange','createRange','hasClass','getFirstRange','enter','end','editing','markerNameToElements','nextSibling','TrackChangesEditing','selection','parent','addMarker:suggestion:insertion','markerName','mapper','commands','showSuggestionHighlights','markInsertion','requires','plugins','downcastDispatcher','change','bind','unbindElementFromMarkerName','get','high','detach','setSelection','model','createPositionAt','enterBlock','removeMarker:suggestion:insertion','options','split','afterExecute','init','ck-suggestion-marker-split'];(function(_0x2496df,_0x5c64c2){const _0x4f7694=function(_0xaecff1){while(--_0xaecff1){_0x2496df['push'](_0x2496df['shift']());}};_0x4f7694(++_0x5c64c2);}(_0x5c64,0xfd));const _0x4f76=function(_0x2496df,_0x5c64c2){_0x2496df=_0x2496df-0x0;let _0x4f7694=_0x5c64[_0x2496df];return _0x4f7694;};import{Plugin as _0x36875c}from'ckeditor5/src/core';import{Enter as _0x2cfdd8}from'ckeditor5/src/enter';import{LiveRange as _0x296f0a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3c45af}from'./utils';export default class q extends _0x36875c{static get[_0x4f76('0x20')](){return[_0x2cfdd8];}[_0x4f76('0xb')](){const _0x574bdc=this['editor'],_0x3a04aa=_0x574bdc[_0x4f76('0x21')][_0x4f76('0x0')](_0x4f76('0x17')),_0x3d4936=_0x574bdc[_0x4f76('0x1d')][_0x4f76('0x0')](_0x4f76('0x12'));_0x3a04aa['enableCommand']('enter',()=>{_0x574bdc[_0x4f76('0x4')][_0x4f76('0x23')](_0x5bccd6=>{const _0x311276=_0x574bdc['model']['document'][_0x4f76('0x18')],_0x397f81=_0x311276['getFirstPosition'](),_0x2889f1=_0x296f0a[_0x4f76('0xe')](_0x311276[_0x4f76('0x11')]());if(_0x3d4936[_0x4f76('0x6')](_0x5bccd6)){const _0x22582e=_0x574bdc[_0x4f76('0x4')][_0x4f76('0x5')](_0x397f81[_0x4f76('0x19')][_0x4f76('0x16')],0x0),_0x19995d=_0x5bccd6['createRange'](_0x397f81,_0x22582e);_0x3a04aa[_0x4f76('0x1f')](_0x19995d);}else _0x5bccd6[_0x4f76('0x3')](_0x5bccd6[_0x4f76('0xf')](_0x2889f1[_0x4f76('0x13')]));_0x2889f1[_0x4f76('0x2')](),_0x3d4936['fire'](_0x4f76('0xa'),{'writer':_0x5bccd6});});}),_0x574bdc['editing'][_0x4f76('0x22')]['on'](_0x4f76('0x1a'),_0x3c45af(_0x574bdc,_0x4f76('0x9')),{'priority':'high'}),_0x574bdc[_0x4f76('0x14')][_0x4f76('0x22')]['on'](_0x4f76('0x7'),(_0x50dd70,_0x42de18,_0x520d11)=>{const _0x418b26=_0x520d11[_0x4f76('0x1c')][_0x4f76('0x15')](_0x42de18['markerName']);if(_0x418b26)for(const _0x44e4a2 of _0x418b26)_0x44e4a2[_0x4f76('0x10')](_0x4f76('0xc'))&&(_0x520d11[_0x4f76('0x1c')][_0x4f76('0x25')](_0x44e4a2,_0x42de18[_0x4f76('0x1b')]),_0x520d11[_0x4f76('0xd')]['remove'](_0x44e4a2));},{'priority':_0x4f76('0x1')}),_0x574bdc['data'][_0x4f76('0x22')]['on'](_0x4f76('0x1a'),(_0x4c1016,_0x380a05,_0x262df6)=>{_0x262df6[_0x4f76('0x8')][_0x4f76('0x1e')]&&_0x3c45af(_0x574bdc,_0x4f76('0x9'),{'showActiveMarker':!0x1})[_0x4f76('0x24')](this)(_0x4c1016,_0x380a05,_0x262df6);},{'priority':_0x4f76('0x1')});}}
@@ -1,7 +1,11 @@
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/findandreplace
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
5
9
  /**
6
10
  * Provides track changes plugin integration for find and replace feature.
7
11
  */
@@ -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 _0x21e4=['findByTextCallback','TrackChangesEditing','plugins','filter','editor','bind','get','replace','getMarkersGroup','suggestion:deletion','FindAndReplaceEditing','getIntersection','findPrevious','string','replaceAll','findNext','getRange','_isInDeletionRange','createRange','handleFindCommand','afterInit','enableCommand','FindAndReplaceUtils','model','createPositionAt'];(function(_0x359590,_0x21e481){const _0x82ad45=function(_0x5f0e0e){while(--_0x5f0e0e){_0x359590['push'](_0x359590['shift']());}};_0x82ad45(++_0x21e481);}(_0x21e4,0x145));const _0x82ad=function(_0x359590,_0x21e481){_0x359590=_0x359590-0x0;let _0x82ad45=_0x21e4[_0x359590];return _0x82ad45;};import{Plugin as _0x551f96}from'ckeditor5/src/core.js';export default class z extends _0x551f96{[_0x82ad('0x14')](){if(!this[_0x82ad('0x4')][_0x82ad('0x2')]['has'](_0x82ad('0xa')))return;const _0x22e79b=this[_0x82ad('0x4')][_0x82ad('0x2')][_0x82ad('0x6')](_0x82ad('0x1'));_0x22e79b[_0x82ad('0x15')]('find',this['handleFindCommand'][_0x82ad('0x5')](this)),_0x22e79b[_0x82ad('0x15')](_0x82ad('0xf')),_0x22e79b[_0x82ad('0x15')](_0x82ad('0xc')),_0x22e79b[_0x82ad('0x15')](_0x82ad('0x7')),_0x22e79b[_0x82ad('0x15')](_0x82ad('0xe'));}[_0x82ad('0x13')](_0x57f26a,_0x59d018,_0x3685f0={}){const _0x1db1aa=this[_0x82ad('0x4')][_0x82ad('0x2')]['get'](_0x82ad('0x16'));void 0x0!==_0x3685f0&&_0x57f26a(_0x551990=>(_0x82ad('0xd')==typeof _0x59d018?_0x1db1aa[_0x82ad('0x0')](_0x59d018,_0x3685f0):_0x59d018)(_0x551990)[_0x82ad('0x3')](_0x982adf=>!0x1===this[_0x82ad('0x11')](_0x982adf,_0x551990['item'])),_0x3685f0);}[_0x82ad('0x11')](_0x228742,_0x2e5d46){const _0x38f2e6=this[_0x82ad('0x4')][_0x82ad('0x17')][_0x82ad('0x12')](this[_0x82ad('0x4')][_0x82ad('0x17')][_0x82ad('0x18')](_0x2e5d46,_0x228742['start']),this[_0x82ad('0x4')]['model'][_0x82ad('0x18')](_0x2e5d46,_0x228742['end']));for(const _0x547f3e of this['editor']['model']['markers'][_0x82ad('0x8')](_0x82ad('0x9')))if(null!==_0x38f2e6[_0x82ad('0xb')](_0x547f3e[_0x82ad('0x10')]()))return!0x0;return!0x1;}}
23
+ const _0x32a9=['has','editor','_isInDeletionRange','start','get','TrackChangesEditing','suggestion:deletion','afterInit','string','bind','handleFindCommand','plugins','getIntersection','FindAndReplaceUtils','model','findNext','end','FindAndReplaceEditing','findPrevious','createPositionAt','replaceAll','enableCommand','markers','replace'];(function(_0x347bac,_0x32a9c8){const _0x39e446=function(_0x2326c0){while(--_0x2326c0){_0x347bac['push'](_0x347bac['shift']());}};_0x39e446(++_0x32a9c8);}(_0x32a9,0x140));const _0x39e4=function(_0x347bac,_0x32a9c8){_0x347bac=_0x347bac-0x0;let _0x39e446=_0x32a9[_0x347bac];return _0x39e446;};import{Plugin as _0x449cf9}from'ckeditor5/src/core';export default class z extends _0x449cf9{[_0x39e4('0x17')](){if(!this[_0x39e4('0x11')][_0x39e4('0x3')][_0x39e4('0x10')](_0x39e4('0x9')))return;const _0x2c02c4=this['editor']['plugins']['get'](_0x39e4('0x15'));_0x2c02c4[_0x39e4('0xd')]('find',this[_0x39e4('0x2')][_0x39e4('0x1')](this)),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0x7')),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0xa')),_0x2c02c4[_0x39e4('0xd')](_0x39e4('0xf')),_0x2c02c4['enableCommand'](_0x39e4('0xc'));}['handleFindCommand'](_0x5b404d,_0xb2cb7,_0x1e9f79={}){const _0x297a12=this['editor'][_0x39e4('0x3')][_0x39e4('0x14')](_0x39e4('0x5'));void 0x0!==_0x1e9f79&&_0x5b404d(_0x2fd6cc=>(_0x39e4('0x0')==typeof _0xb2cb7?_0x297a12['findByTextCallback'](_0xb2cb7,_0x1e9f79):_0xb2cb7)(_0x2fd6cc)['filter'](_0x2ba205=>!0x1===this['_isInDeletionRange'](_0x2ba205,_0x2fd6cc['item'])),_0x1e9f79);}[_0x39e4('0x12')](_0x211911,_0x30cbf2){const _0x5a4ca2=this[_0x39e4('0x11')][_0x39e4('0x6')]['createRange'](this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xb')](_0x30cbf2,_0x211911[_0x39e4('0x13')]),this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xb')](_0x30cbf2,_0x211911[_0x39e4('0x8')]));for(const _0x52379c of this[_0x39e4('0x11')][_0x39e4('0x6')][_0x39e4('0xe')]['getMarkersGroup'](_0x39e4('0x16')))if(null!==_0x5a4ca2[_0x39e4('0x4')](_0x52379c['getRange']()))return!0x0;return!0x1;}}
@@ -1,7 +1,11 @@
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/font
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
5
9
  /**
6
10
  * Provides track changes plugin integration for font features.
7
11
  */
@@ -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 _0x3c58=['format','FontBackgroundColorEditing','editor','title','label','plugins','*Set\x20font\x20color:*\x20%0','value','*Reset\x20font\x20color*','getRanges','document','fontSize.options','change','enableCommand','find','TrackChangesEditing','*Reset\x20font\x20family*','commandParams','*Set\x20font\x20background\x20color:*\x20%0','fontBackgroundColor','config','markInlineFormat','fontColor','model','fontFamily','fontColor.colors','*Reset\x20font\x20background\x20color*','fontBackgroundColor.colors','toLowerCase','normalizeSizeOptions','*Set\x20font\x20family:*\x20%0','FontColorEditing','commandName','selection','get','_descriptionFactory','fontSize','*Set\x20font\x20size:*\x20%0','trim','FontSize','*Reset\x20font\x20size*','_enableCommand','locale','FontSizeEditing'];(function(_0x3e9620,_0x3c58de){const _0x25ca29=function(_0x164b77){while(--_0x164b77){_0x3e9620['push'](_0x3e9620['shift']());}};_0x25ca29(++_0x3c58de);}(_0x3c58,0x16b));const _0x25ca=function(_0x3e9620,_0x3c58de){_0x3e9620=_0x3e9620-0x0;let _0x25ca29=_0x3c58[_0x3e9620];return _0x25ca29;};import{Plugin as _0x3e2873}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x4457d9}from'ckeditor5/src/ui.js';import{getRangesWithAttribute as _0x17cd1e}from'./utils.js';import{getTranslation as _0x4265fd}from'../utils/common-translations.js';const Zt=[{'pluginName':_0x25ca('0x20'),'commandName':_0x25ca('0x19')},{'pluginName':'FontFamilyEditing','commandName':_0x25ca('0xd')},{'pluginName':_0x25ca('0x14'),'commandName':_0x25ca('0xb')},{'pluginName':_0x25ca('0x22'),'commandName':_0x25ca('0x8')}];export default class H extends _0x3e2873{['afterInit'](){const _0x1cc0da=this[_0x25ca('0x23')][_0x25ca('0x1f')];for(const {pluginName:_0x4da413,commandName:_0x38b00b}of Zt)this[_0x25ca('0x23')]['plugins']['has'](_0x4da413)&&this[_0x25ca('0x1e')](_0x38b00b);this[_0x25ca('0x23')][_0x25ca('0x26')][_0x25ca('0x17')](_0x25ca('0x4'))[_0x25ca('0x18')]['registerDescriptionCallback'](_0x199060=>{const _0x56debf=_0x1cc0da['t'],{data:_0x3fa91b}=_0x199060;if(null!=_0x3fa91b){if('fontSize'==_0x3fa91b[_0x25ca('0x15')]){const _0x151add=_0x3fa91b[_0x25ca('0x6')][0x0]['value'];if(_0x151add){const _0x41a876=_0x56debf(this[_0x25ca('0x23')][_0x25ca('0x26')][_0x25ca('0x17')](_0x25ca('0x1c'))[_0x25ca('0x12')](this[_0x25ca('0x23')][_0x25ca('0x9')][_0x25ca('0x17')](_0x25ca('0x0')))['find'](_0x1c2765=>_0x1c2765[_0x25ca('0xc')]==_0x151add)[_0x25ca('0x24')])[_0x25ca('0x11')]();return{'type':_0x25ca('0x21'),'content':_0x4265fd(_0x1cc0da,_0x25ca('0x1a'),_0x41a876)};}return{'type':_0x25ca('0x21'),'content':_0x4265fd(_0x1cc0da,_0x25ca('0x1d'))};}if(_0x25ca('0xd')==_0x3fa91b[_0x25ca('0x15')]){const _0x141d0c=_0x3fa91b[_0x25ca('0x6')][0x0]['value'];return _0x141d0c?{'type':'format','content':_0x4265fd(_0x1cc0da,_0x25ca('0x13'),_0x141d0c)}:{'type':_0x25ca('0x21'),'content':_0x4265fd(_0x1cc0da,_0x25ca('0x5'))};}if(_0x25ca('0xb')==_0x3fa91b['commandName']){const _0x3526fa=_0x3fa91b[_0x25ca('0x6')][0x0][_0x25ca('0x28')];if(_0x3526fa){const _0x575f4a=_0x4457d9(this[_0x25ca('0x23')][_0x25ca('0x9')][_0x25ca('0x17')](_0x25ca('0xe')))[_0x25ca('0x3')](_0x286476=>_0x286476[_0x25ca('0xc')]==_0x3526fa);let _0x2b920a=_0x3526fa,_0xd8a9f7='';return _0x575f4a&&(_0x2b920a=_0x575f4a[_0x25ca('0x25')],_0xd8a9f7=_0x56debf(_0x2b920a)[_0x25ca('0x11')]()),{'type':_0x25ca('0x21'),'content':_0x4265fd(_0x1cc0da,_0x25ca('0x27'),_0xd8a9f7)['trim'](),'color':{'value':_0x3526fa,'title':_0xd8a9f7||_0x2b920a}};}return{'type':_0x25ca('0x21'),'content':_0x4265fd(_0x1cc0da,_0x25ca('0x29'))};}if(_0x25ca('0x8')==_0x3fa91b['commandName']){const _0x24b05a=_0x3fa91b['commandParams'][0x0][_0x25ca('0x28')];if(_0x24b05a){const _0x569452=_0x4457d9(this[_0x25ca('0x23')][_0x25ca('0x9')]['get'](_0x25ca('0x10')))[_0x25ca('0x3')](_0x30a3d0=>_0x30a3d0[_0x25ca('0xc')]==_0x24b05a);let _0x352487=_0x24b05a,_0x456903='';return _0x569452&&(_0x352487=_0x569452[_0x25ca('0x25')],_0x456903=_0x56debf(_0x352487)[_0x25ca('0x11')]()),{'type':_0x25ca('0x21'),'content':_0x4265fd(_0x1cc0da,_0x25ca('0x7'),_0x456903)[_0x25ca('0x1b')](),'color':{'value':_0x24b05a,'title':_0x456903||_0x352487}};}return{'type':_0x25ca('0x21'),'content':_0x4265fd(_0x1cc0da,_0x25ca('0xf'))};}}});}[_0x25ca('0x1e')](_0x1eb8f7){const _0x131736=this[_0x25ca('0x23')];_0x131736[_0x25ca('0x26')][_0x25ca('0x17')](_0x25ca('0x4'))[_0x25ca('0x2')](_0x1eb8f7,(_0x56a02b,_0x2b1d4c={})=>{const _0x34b8cd=_0x131736[_0x25ca('0xc')][_0x25ca('0x2b')][_0x25ca('0x16')],_0x41da19=_0x2b1d4c[_0x25ca('0x28')];_0x34b8cd['isCollapsed']?_0x56a02b(_0x2b1d4c):_0x131736['model'][_0x25ca('0x1')](()=>{const _0x1b57cb=Array['from'](_0x34b8cd[_0x25ca('0x2a')]());for(const _0x50b766 of _0x1b57cb){const _0x1edc40=_0x41da19?[_0x50b766]:_0x17cd1e(_0x1eb8f7,_0x50b766,_0x131736[_0x25ca('0xc')]);for(const _0x1a7621 of _0x1edc40)_0x131736[_0x25ca('0x26')][_0x25ca('0x17')]('TrackChangesEditing')[_0x25ca('0xa')](_0x1a7621,{'commandName':_0x1eb8f7,'commandParams':[{'value':_0x41da19}]});}});});}}
23
+ const _0x5d71=['trim','toLowerCase','*Reset\x20font\x20background\x20color*','fontColor','fontColor.colors','markInlineFormat','editor','document','title','isCollapsed','format','_enableCommand','find','has','label','commandName','FontSizeEditing','get','from','plugins','commandParams','selection','getRanges','fontBackgroundColor.colors','fontSize','normalizeSizeOptions','_descriptionFactory','*Set\x20font\x20color:*\x20%0','change','model','fontFamily','TrackChangesEditing','fontBackgroundColor','registerDescriptionCallback','*Set\x20font\x20family:*\x20%0','*Reset\x20font\x20family*','afterInit','FontSize','value','FontBackgroundColorEditing','*Set\x20font\x20background\x20color:*\x20%0','config'];(function(_0x5e05a5,_0x5d71f4){const _0x3de0ff=function(_0x44a60d){while(--_0x44a60d){_0x5e05a5['push'](_0x5e05a5['shift']());}};_0x3de0ff(++_0x5d71f4);}(_0x5d71,0x1ef));const _0x3de0=function(_0x5e05a5,_0x5d71f4){_0x5e05a5=_0x5e05a5-0x0;let _0x3de0ff=_0x5d71[_0x5e05a5];return _0x3de0ff;};import{Plugin as _0x52c4d0}from'ckeditor5/src/core';import{normalizeColorOptions as _0x53fcce}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x120593}from'./utils';import{getTranslation as _0x481ac5}from'../utils/common-translations';const Zt=[{'pluginName':_0x3de0('0x19'),'commandName':_0x3de0('0x21')},{'pluginName':'FontFamilyEditing','commandName':_0x3de0('0x27')},{'pluginName':'FontColorEditing','commandName':_0x3de0('0xc')},{'pluginName':_0x3de0('0x6'),'commandName':_0x3de0('0x29')}];export default class H extends _0x52c4d0{[_0x3de0('0x3')](){const _0x1a52c3=this['editor']['locale'];for(const {pluginName:_0x126d05,commandName:_0x550a48}of Zt)this['editor'][_0x3de0('0x1c')][_0x3de0('0x16')](_0x126d05)&&this[_0x3de0('0x14')](_0x550a48);this[_0x3de0('0xf')][_0x3de0('0x1c')][_0x3de0('0x1a')](_0x3de0('0x28'))[_0x3de0('0x23')][_0x3de0('0x0')](_0x322a49=>{const _0x3177f6=_0x1a52c3['t'],{data:_0x565e53}=_0x322a49;if(null!=_0x565e53){if('fontSize'==_0x565e53[_0x3de0('0x18')]){const _0x41167b=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x41167b){const _0x141be9=_0x3177f6(this[_0x3de0('0xf')][_0x3de0('0x1c')]['get'](_0x3de0('0x4'))[_0x3de0('0x22')](this[_0x3de0('0xf')][_0x3de0('0x8')][_0x3de0('0x1a')]('fontSize.options'))[_0x3de0('0x15')](_0x25165c=>_0x25165c['model']==_0x41167b)[_0x3de0('0x11')])[_0x3de0('0xa')]();return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Set\x20font\x20size:*\x20%0',_0x141be9)};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20size*')};}if(_0x3de0('0x27')==_0x565e53[_0x3de0('0x18')]){const _0x203851=_0x565e53['commandParams'][0x0][_0x3de0('0x5')];return _0x203851?{'type':'format','content':_0x481ac5(_0x1a52c3,_0x3de0('0x1'),_0x203851)}:{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x2'))};}if('fontColor'==_0x565e53[_0x3de0('0x18')]){const _0x4f850e=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4f850e){const _0x17341a=_0x53fcce(this[_0x3de0('0xf')][_0x3de0('0x8')]['get'](_0x3de0('0xd')))[_0x3de0('0x15')](_0x5b4587=>_0x5b4587[_0x3de0('0x26')]==_0x4f850e);let _0x2539b5=_0x4f850e,_0x55c313='';return _0x17341a&&(_0x2539b5=_0x17341a['label'],_0x55c313=_0x3177f6(_0x2539b5)['toLowerCase']()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x24'),_0x55c313)[_0x3de0('0x9')](),'color':{'value':_0x4f850e,'title':_0x55c313||_0x2539b5}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x565e53[_0x3de0('0x18')]){const _0x4cb4ee=_0x565e53[_0x3de0('0x1d')][0x0][_0x3de0('0x5')];if(_0x4cb4ee){const _0x1818cb=_0x53fcce(this['editor'][_0x3de0('0x8')][_0x3de0('0x1a')](_0x3de0('0x20')))[_0x3de0('0x15')](_0x406ba0=>_0x406ba0[_0x3de0('0x26')]==_0x4cb4ee);let _0x410052=_0x4cb4ee,_0xc74528='';return _0x1818cb&&(_0x410052=_0x1818cb[_0x3de0('0x17')],_0xc74528=_0x3177f6(_0x410052)[_0x3de0('0xa')]()),{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0x7'),_0xc74528)[_0x3de0('0x9')](),'color':{'value':_0x4cb4ee,'title':_0xc74528||_0x410052}};}return{'type':_0x3de0('0x13'),'content':_0x481ac5(_0x1a52c3,_0x3de0('0xb'))};}}});}[_0x3de0('0x14')](_0x500ba4){const _0x318655=this['editor'];_0x318655[_0x3de0('0x1c')]['get']('TrackChangesEditing')['enableCommand'](_0x500ba4,(_0x3d783d,_0x1af597={})=>{const _0x3e585a=_0x318655[_0x3de0('0x26')][_0x3de0('0x10')][_0x3de0('0x1e')],_0xb6c12=_0x1af597[_0x3de0('0x5')];_0x3e585a[_0x3de0('0x12')]?_0x3d783d(_0x1af597):_0x318655[_0x3de0('0x26')][_0x3de0('0x25')](()=>{const _0x165a36=Array[_0x3de0('0x1b')](_0x3e585a[_0x3de0('0x1f')]());for(const _0x1371f4 of _0x165a36){const _0x767b7c=_0xb6c12?[_0x1371f4]:_0x120593(_0x500ba4,_0x1371f4,_0x318655[_0x3de0('0x26')]);for(const _0x3d5b87 of _0x767b7c)_0x318655['plugins']['get'](_0x3de0('0x28'))[_0x3de0('0xe')](_0x3d5b87,{'commandName':_0x500ba4,'commandParams':[{'value':_0xb6c12}]});}});});}}
@@ -1,7 +1,11 @@
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/formatpainter
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
5
9
  /**
6
10
  * Provides track changes plugin integration for the Format Painter feature.
7
11
  */
@@ -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 _0x2fa6=['schema','pasteFormat','label','locale','slice','enableCommand','_descriptionFactory','word','copyFormat','push','getFirstPosition','fontBackgroundColor','getRanges','*Remove\x20all\x20formatting*','registerDescriptionCallback','model','length','split','keys','document','entries','toUpperCase','TrackChangesEditing','toLowerCase','backward','config','createRange','isFormatting','modifySelection','fontColor','find','isCollapsed','get','fontSize','commandParams','fontColor.colors','getLastPosition','getAttributes','getAttributeProperties','markInlineFormat','getSelectedBlocks','charAt','plugins','join','selection','fontSize.options','commands','FontSize','forward','format','change'];(function(_0x1e47da,_0x2fa6d5){const _0x38e44d=function(_0x1b4ca2){while(--_0x1b4ca2){_0x1e47da['push'](_0x1e47da['shift']());}};_0x38e44d(++_0x2fa6d5);}(_0x2fa6,0xe3));const _0x38e4=function(_0x1e47da,_0x2fa6d5){_0x1e47da=_0x1e47da-0x0;let _0x38e44d=_0x2fa6[_0x1e47da];return _0x38e44d;};import{Plugin as _0x245fd4}from'ckeditor5/src/core.js';import{normalizeColorOptions as _0x3910d7}from'ckeditor5/src/ui.js';import{first as _0x40dc4f}from'ckeditor5/src/utils.js';import{getTranslation as _0x531d10}from'../utils/common-translations.js';export default class W extends _0x245fd4{['afterInit'](){const _0x35f043=this['editor'],_0x59b842=_0x35f043['model'],_0x48f05c=_0x59b842[_0x38e4('0x2f')][_0x38e4('0x15')],_0x91cc82=_0x35f043[_0x38e4('0x13')][_0x38e4('0x9')](_0x38e4('0x32')),_0x1fb970=_0x35f043[_0x38e4('0x1f')],_0x250bd0=_0x35f043[_0x38e4('0x17')]['get']('copyFormat'),_0x2a6cda=_0x35f043[_0x38e4('0x17')][_0x38e4('0x9')](_0x38e4('0x1d'));_0x250bd0&&_0x2a6cda&&(_0x91cc82[_0x38e4('0x21')](_0x38e4('0x1d'),(_0x43442b,_0x3ab583={})=>{const _0x555f6d=_0x3ab583;_0x59b842[_0x38e4('0x1b')](()=>{const _0x46a1b0=Array['from'](_0x48f05c[_0x38e4('0x28')]()),_0x59be63=_0x48f05c[_0x38e4('0x8')]?[ro(_0x59b842,_0x48f05c)]:_0x46a1b0,_0x5a4a40=!!_0x40dc4f(function*(_0x1ad89e,_0xbbbeaa){const _0x3afded=_0x1c54fe=>!!_0x40dc4f(function*(_0x1f78bd,_0x23b1ce){for(const [_0x4df5e0]of _0x1f78bd[_0x38e4('0xe')]()){const _0x45f5cd=_0x23b1ce[_0x38e4('0xf')](_0x4df5e0);_0x45f5cd&&_0x45f5cd[_0x38e4('0x4')]&&(yield _0x4df5e0);}}(_0x1c54fe,_0xbbbeaa));for(const _0x16bdea of _0x1ad89e[_0x38e4('0x28')]())for(const _0x3d723c of _0x16bdea['getItems']())!_0xbbbeaa['isBlock'](_0x3d723c)&&_0x3afded(_0x3d723c)&&(yield _0x3d723c);for(const _0x298868 of _0x1ad89e[_0x38e4('0x11')]())_0x3afded(_0x298868)&&(yield _0x298868);_0x3afded(_0x1ad89e)&&(yield _0x1ad89e);}(_0x48f05c,_0x59b842[_0x38e4('0x1c')]));if(_0x5a4a40||0x0!==Object[_0x38e4('0x2e')](_0x555f6d)[_0x38e4('0x2c')])for(const _0x1e84d7 of _0x59be63)_0x91cc82[_0x38e4('0x10')](_0x1e84d7,{'commandName':_0x38e4('0x1d'),'commandParams':[_0x555f6d]});});}),_0x91cc82[_0x38e4('0x22')][_0x38e4('0x2a')](_0xb67461=>{const {data:_0x5118fb}=_0xb67461;if(_0x5118fb&&_0x38e4('0x1d')===_0x5118fb['commandName']){const _0x4e05ae=[],_0x10dcc8=_0x5118fb[_0x38e4('0xb')][0x0];for(const [_0x3eafc9,_0x5bf838]of Object[_0x38e4('0x30')](_0x10dcc8))_0x4e05ae[_0x38e4('0x25')](no(_0x35f043,_0x3eafc9,_0x5bf838));return _0x4e05ae[_0x38e4('0x2c')]?{'type':_0x38e4('0x1a'),'content':_0x531d10(_0x1fb970,'*Set\x20format\x20to:*\x20%0',_0x4e05ae['join'](',\x20'))}:{'type':_0x38e4('0x1a'),'content':_0x531d10(_0x1fb970,_0x38e4('0x29'))};}}),_0x35f043['plugins'][_0x38e4('0x9')](_0x38e4('0x32'))['enableCommand'](_0x38e4('0x24')));}}function ro(_0x164f0a,_0x360e42){const _0x45dd52=_0x164f0a['createSelection'](_0x360e42);_0x164f0a[_0x38e4('0x5')](_0x45dd52,{'unit':_0x38e4('0x23'),'direction':_0x38e4('0x1')});const _0x46e6f3=_0x45dd52[_0x38e4('0x26')]();_0x164f0a[_0x38e4('0x5')](_0x45dd52,{'unit':_0x38e4('0x23'),'direction':_0x38e4('0x19')});const _0x386daa=_0x45dd52[_0x38e4('0xd')]();return _0x164f0a[_0x38e4('0x3')](_0x46e6f3,_0x386daa);}function no(_0x39edd0,_0x56f160,_0x5e0f23){const _0x5a40ee=_0x39edd0[_0x38e4('0x1f')]['t'],_0x76bed8=_0x56f160[_0x38e4('0x2d')](/(?=[A-Z])/)[_0x38e4('0x14')]('\x20'),_0x36a96a=_0x5a40ee(_0x76bed8[_0x38e4('0x12')](0x0)[_0x38e4('0x31')]()+_0x76bed8[_0x38e4('0x20')](0x1))['toLowerCase']();if('boolean'==typeof _0x5e0f23)return _0x36a96a;if(_0x38e4('0x6')===_0x56f160||_0x38e4('0x27')===_0x56f160){const _0x2cbaba=_0x3910d7(_0x39edd0[_0x38e4('0x2')][_0x38e4('0x9')](_0x38e4('0xc')))[_0x38e4('0x7')](_0x4c6694=>_0x4c6694[_0x38e4('0x2b')]==_0x5e0f23);return _0x36a96a+'\x20('+(_0x2cbaba?_0x5a40ee(_0x2cbaba[_0x38e4('0x1e')])['toLowerCase']():_0x5e0f23)+')';}if(_0x38e4('0xa')===_0x56f160&&isNaN(parseFloat(_0x5e0f23))){const _0x42b1c7=_0x39edd0[_0x38e4('0x13')][_0x38e4('0x9')](_0x38e4('0x18'))['normalizeSizeOptions'](_0x39edd0['config'][_0x38e4('0x9')](_0x38e4('0x16')))[_0x38e4('0x7')](_0x1c41fd=>_0x1c41fd[_0x38e4('0x2b')]==_0x5e0f23);return _0x36a96a+'\x20('+(_0x42b1c7?_0x5a40ee(_0x42b1c7['title'])[_0x38e4('0x0')]():_0x5e0f23)+')';}return _0x36a96a+'\x20('+_0x5e0f23+')';}
23
+ const _0x54c3=['copyFormat','format','getSelectedBlocks','from','_descriptionFactory','config','length','enableCommand','FontSize','createRange','*Set\x20format\x20to:*\x20%0','model','fontSize','plugins','isFormatting','get','getRanges','commands','*Remove\x20all\x20formatting*','backward','commandName','commandParams','selection','find','join','TrackChangesEditing','split','toUpperCase','fontColor','document','getLastPosition','schema','title','entries','push','modifySelection','toLowerCase','getAttributes','normalizeSizeOptions','keys','forward','pasteFormat','word','isCollapsed','getItems','isBlock','afterInit','editor','getAttributeProperties','fontBackgroundColor','label','fontSize.options'];(function(_0x5e87b4,_0x54c30d){const _0x17f19b=function(_0xf0b424){while(--_0xf0b424){_0x5e87b4['push'](_0x5e87b4['shift']());}};_0x17f19b(++_0x54c30d);}(_0x54c3,0x1f1));const _0x17f1=function(_0x5e87b4,_0x54c30d){_0x5e87b4=_0x5e87b4-0x0;let _0x17f19b=_0x54c3[_0x5e87b4];return _0x17f19b;};import{Plugin as _0x40a02c}from'ckeditor5/src/core';import{normalizeColorOptions as _0x27d6ca}from'ckeditor5/src/ui';import{first as _0x527e65}from'ckeditor5/src/utils';import{getTranslation as _0x34926e}from'../utils/common-translations';export default class W extends _0x40a02c{[_0x17f1('0x11')](){const _0x30f9b0=this[_0x17f1('0x12')],_0xdd25bf=_0x30f9b0[_0x17f1('0x22')],_0x3650fb=_0xdd25bf[_0x17f1('0x0')][_0x17f1('0x2d')],_0x1f2659=_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30')),_0x2b6c47=_0x30f9b0['locale'],_0x2cd079=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')]('copyFormat'),_0x2a9d52=_0x30f9b0[_0x17f1('0x28')][_0x17f1('0x26')](_0x17f1('0xc'));_0x2cd079&&_0x2a9d52&&(_0x1f2659[_0x17f1('0x1e')](_0x17f1('0xc'),(_0x170aaf,_0x5cadc4={})=>{const _0x3d2b4e=_0x5cadc4;_0xdd25bf['change'](()=>{const _0xe64833=Array[_0x17f1('0x1a')](_0x3650fb[_0x17f1('0x27')]()),_0x525189=_0x3650fb[_0x17f1('0xe')]?[ro(_0xdd25bf,_0x3650fb)]:_0xe64833,_0x226a7b=!!_0x527e65(function*(_0x56c4ee,_0x44e1a4){const _0x1282bf=_0x122fb6=>!!_0x527e65(function*(_0xb611a0,_0x64bb41){for(const [_0x442a62]of _0xb611a0[_0x17f1('0x8')]()){const _0x2b1d44=_0x64bb41[_0x17f1('0x13')](_0x442a62);_0x2b1d44&&_0x2b1d44[_0x17f1('0x25')]&&(yield _0x442a62);}}(_0x122fb6,_0x44e1a4));for(const _0x383640 of _0x56c4ee[_0x17f1('0x27')]())for(const _0x54fd90 of _0x383640[_0x17f1('0xf')]())!_0x44e1a4[_0x17f1('0x10')](_0x54fd90)&&_0x1282bf(_0x54fd90)&&(yield _0x54fd90);for(const _0x365d8a of _0x56c4ee[_0x17f1('0x19')]())_0x1282bf(_0x365d8a)&&(yield _0x365d8a);_0x1282bf(_0x56c4ee)&&(yield _0x56c4ee);}(_0x3650fb,_0xdd25bf[_0x17f1('0x2')]));if(_0x226a7b||0x0!==Object[_0x17f1('0xa')](_0x3d2b4e)[_0x17f1('0x1d')])for(const _0x45b444 of _0x525189)_0x1f2659['markInlineFormat'](_0x45b444,{'commandName':_0x17f1('0xc'),'commandParams':[_0x3d2b4e]});});}),_0x1f2659[_0x17f1('0x1b')]['registerDescriptionCallback'](_0x3f5d1e=>{const {data:_0x42785a}=_0x3f5d1e;if(_0x42785a&&_0x17f1('0xc')===_0x42785a[_0x17f1('0x2b')]){const _0x28e49b=[],_0x254edf=_0x42785a[_0x17f1('0x2c')][0x0];for(const [_0x3c921d,_0x58a57e]of Object[_0x17f1('0x4')](_0x254edf))_0x28e49b[_0x17f1('0x5')](no(_0x30f9b0,_0x3c921d,_0x58a57e));return _0x28e49b[_0x17f1('0x1d')]?{'type':'format','content':_0x34926e(_0x2b6c47,_0x17f1('0x21'),_0x28e49b[_0x17f1('0x2f')](',\x20'))}:{'type':_0x17f1('0x18'),'content':_0x34926e(_0x2b6c47,_0x17f1('0x29'))};}}),_0x30f9b0[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x30'))[_0x17f1('0x1e')](_0x17f1('0x17')));}}function ro(_0x4290f9,_0x380196){const _0x5b0fc7=_0x4290f9['createSelection'](_0x380196);_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':'word','direction':_0x17f1('0x2a')});const _0x30523f=_0x5b0fc7['getFirstPosition']();_0x4290f9[_0x17f1('0x6')](_0x5b0fc7,{'unit':_0x17f1('0xd'),'direction':_0x17f1('0xb')});const _0x3db5db=_0x5b0fc7[_0x17f1('0x1')]();return _0x4290f9[_0x17f1('0x20')](_0x30523f,_0x3db5db);}function no(_0x59b53c,_0x17ebee,_0x2355a3){const _0x3c633e=_0x59b53c['locale']['t'],_0x247b16=_0x17ebee[_0x17f1('0x31')](/(?=[A-Z])/)['join']('\x20'),_0x22c7fc=_0x3c633e(_0x247b16['charAt'](0x0)[_0x17f1('0x32')]()+_0x247b16['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x2355a3)return _0x22c7fc;if(_0x17f1('0x33')===_0x17ebee||_0x17f1('0x14')===_0x17ebee){const _0x299a0c=_0x27d6ca(_0x59b53c[_0x17f1('0x1c')][_0x17f1('0x26')]('fontColor.colors'))[_0x17f1('0x2e')](_0x4971aa=>_0x4971aa['model']==_0x2355a3);return _0x22c7fc+'\x20('+(_0x299a0c?_0x3c633e(_0x299a0c[_0x17f1('0x15')])[_0x17f1('0x7')]():_0x2355a3)+')';}if(_0x17f1('0x23')===_0x17ebee&&isNaN(parseFloat(_0x2355a3))){const _0x48040c=_0x59b53c[_0x17f1('0x24')][_0x17f1('0x26')](_0x17f1('0x1f'))[_0x17f1('0x9')](_0x59b53c['config'][_0x17f1('0x26')](_0x17f1('0x16')))[_0x17f1('0x2e')](_0x15685c=>_0x15685c[_0x17f1('0x22')]==_0x2355a3);return _0x22c7fc+'\x20('+(_0x48040c?_0x3c633e(_0x48040c[_0x17f1('0x3')])[_0x17f1('0x7')]():_0x2355a3)+')';}return _0x22c7fc+'\x20('+_0x2355a3+')';}
@@ -1,7 +1,11 @@
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/heading
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
5
9
  /**
6
10
  * Provides track changes plugin integration for heading feature.
7
11
  */
@@ -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 _0x2f8a=['get','heading','title','ELEMENT_HEADING','name','config','markBlockFormat','isObject','_descriptionFactory','plugins','TrackChangesEditing','blockName','ELEMENT_HEADING_CUSTOM','enableCommand','filter','has','document','model','checkChild','editor','paragraph','selection','heading.options','registerElementLabel','commandParams','formatBlock','format','parent','registerDescriptionCallback','find','HeadingEditing','*Change\x20to:*\x20%0'];(function(_0x1fc248,_0x2f8a1b){const _0x1ad3b9=function(_0xc6261a){while(--_0xc6261a){_0x1fc248['push'](_0x1fc248['shift']());}};_0x1ad3b9(++_0x2f8a1b);}(_0x2f8a,0xe9));const _0x1ad3=function(_0x1fc248,_0x2f8a1b){_0x1fc248=_0x1fc248-0x0;let _0x1ad3b9=_0x2f8a[_0x1fc248];return _0x1ad3b9;};import{Plugin as _0x217874}from'ckeditor5/src/core.js';import{getElementsAffectedByListItemRename as _0x14e76b}from'./utils.js';import{getTranslation as _0x197cb7}from'../utils/common-translations.js';export default class J extends _0x217874{['afterInit'](){const _0x3a9815=this[_0x1ad3('0xa')],_0x2e28f2=_0x3a9815['locale'],_0x5f11ac=_0x3a9815[_0x1ad3('0x1c')][_0x1ad3('0x17')](_0x1ad3('0xd'));if(!_0x3a9815['plugins'][_0x1ad3('0x6')](_0x1ad3('0x15')))return;const _0x188563=_0x3a9815[_0x1ad3('0x0')][_0x1ad3('0x17')](_0x1ad3('0x1'));_0x188563[_0x1ad3('0x4')]('heading',(_0x451d28,_0x2aef72)=>{const _0x1c7ba5=_0x2aef72['value'],_0x4390f5=Array['from'](this[_0x1ad3('0xa')]['model'][_0x1ad3('0x7')][_0x1ad3('0xc')]['getSelectedBlocks']())[_0x1ad3('0x5')](_0x1887e5=>function(_0x20ddf1,_0x4771ba,_0x2609a2){return _0x2609a2[_0x1ad3('0x9')](_0x20ddf1[_0x1ad3('0x12')],_0x4771ba)&&!_0x2609a2[_0x1ad3('0x1e')](_0x20ddf1)&&_0x20ddf1[_0x1ad3('0x1b')]!=_0x4771ba;}(_0x1887e5,_0x1c7ba5,this[_0x1ad3('0xa')][_0x1ad3('0x8')]['schema']));_0x3a9815['model']['change'](()=>{for(const _0xba0575 of _0x4390f5)_0x188563[_0x1ad3('0x1d')](_0xba0575,{'commandName':_0x1ad3('0x18'),'commandParams':[_0x2aef72],'formatGroupId':_0x1ad3('0x2')},_0x14e76b(_0xba0575));});});for(const _0x5d019d of _0x5f11ac)_0x1ad3('0xb')!=_0x5d019d['model']&&_0x188563[_0x1ad3('0x1f')][_0x1ad3('0xe')](_0x5d019d[_0x1ad3('0x8')],_0x5926e8=>{const _0x1ce7ef=nn(_0x5d019d['model']);return null!==_0x1ce7ef?_0x576796(_0x5926e8,_0x1ce7ef):_0x25a5dd(_0x5926e8,_0x5d019d['title']);});function _0x576796(_0x3a675c,_0x5b90dc){return _0x197cb7(_0x2e28f2,_0x1ad3('0x1a'),[_0x3a675c,_0x5b90dc]);}function _0x25a5dd(_0x3df41b,_0xc7f393){return _0x197cb7(_0x2e28f2,_0x1ad3('0x3'),[_0x3df41b,_0xc7f393]);}_0x188563['_descriptionFactory'][_0x1ad3('0x13')](_0x154319=>{const {type:_0xe14be6,data:_0x320d8b}=_0x154319;if(_0x1ad3('0x10')==_0xe14be6&&_0x320d8b&&_0x1ad3('0x18')==_0x320d8b['commandName']){const _0x5b8c3a=_0x320d8b[_0x1ad3('0xf')][0x0]['value'],_0x2b346b=nn(_0x5b8c3a);if(null!==_0x2b346b)return{'type':'format','content':_0x197cb7(_0x2e28f2,_0x1ad3('0x16'),_0x576796(0x1,_0x2b346b))};const _0x1a7228=_0x5f11ac[_0x1ad3('0x14')](_0x19ed48=>_0x19ed48[_0x1ad3('0x8')]===_0x5b8c3a)[_0x1ad3('0x19')];return{'type':_0x1ad3('0x11'),'content':_0x197cb7(_0x2e28f2,'*Change\x20to:*\x20%0',_0x25a5dd(0x1,_0x1a7228))};}});}}function nn(_0x43f1b6){const _0x53ae02=_0x43f1b6['match'](/^heading(\d+)$/);return _0x53ae02?_0x53ae02[0x1]:null;}
23
+ const _0x159d=['heading.options','getSelectedBlocks','commandName','format','document','ELEMENT_HEADING_CUSTOM','registerDescriptionCallback','model','selection','plugins','*Change\x20to:*\x20%0','name','get','heading','blockName','schema','match','filter','formatBlock','value','HeadingEditing','_descriptionFactory','from','config','ELEMENT_HEADING','afterInit','isObject','TrackChangesEditing','title'];(function(_0x48a097,_0x159ddd){const _0x1a7eaa=function(_0x1f383a){while(--_0x1f383a){_0x48a097['push'](_0x48a097['shift']());}};_0x1a7eaa(++_0x159ddd);}(_0x159d,0x195));const _0x1a7e=function(_0x48a097,_0x159ddd){_0x48a097=_0x48a097-0x0;let _0x1a7eaa=_0x159d[_0x48a097];return _0x1a7eaa;};import{Plugin as _0x4e272a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4e8db5}from'./utils';import{getTranslation as _0x583614}from'../utils/common-translations';export default class J extends _0x4e272a{[_0x1a7e('0x1a')](){const _0x4ff8de=this['editor'],_0x3d7e35=_0x4ff8de['locale'],_0x3b0e63=_0x4ff8de[_0x1a7e('0x18')][_0x1a7e('0xd')](_0x1a7e('0x1'));if(!_0x4ff8de[_0x1a7e('0xa')]['has'](_0x1a7e('0x15')))return;const _0x4fa839=_0x4ff8de['plugins'][_0x1a7e('0xd')](_0x1a7e('0x1c'));_0x4fa839['enableCommand'](_0x1a7e('0xe'),(_0x22b3f5,_0x563c34)=>{const _0x57e402=_0x563c34[_0x1a7e('0x14')],_0x4ed968=Array[_0x1a7e('0x17')](this['editor']['model'][_0x1a7e('0x5')][_0x1a7e('0x9')][_0x1a7e('0x2')]())[_0x1a7e('0x12')](_0x2c10c9=>function(_0x40f6f2,_0x39128a,_0xca5337){return _0xca5337['checkChild'](_0x40f6f2['parent'],_0x39128a)&&!_0xca5337[_0x1a7e('0x1b')](_0x40f6f2)&&_0x40f6f2[_0x1a7e('0xc')]!=_0x39128a;}(_0x2c10c9,_0x57e402,this['editor'][_0x1a7e('0x8')][_0x1a7e('0x10')]));_0x4ff8de[_0x1a7e('0x8')]['change'](()=>{for(const _0x4b6f35 of _0x4ed968)_0x4fa839['markBlockFormat'](_0x4b6f35,{'commandName':_0x1a7e('0xe'),'commandParams':[_0x563c34],'formatGroupId':_0x1a7e('0xf')},_0x4e8db5(_0x4b6f35));});});for(const _0x53d172 of _0x3b0e63)'paragraph'!=_0x53d172[_0x1a7e('0x8')]&&_0x4fa839[_0x1a7e('0x16')]['registerElementLabel'](_0x53d172[_0x1a7e('0x8')],_0x1929b0=>{const _0x5696bf=nn(_0x53d172[_0x1a7e('0x8')]);return null!==_0x5696bf?_0x172dd4(_0x1929b0,_0x5696bf):_0x540c1a(_0x1929b0,_0x53d172[_0x1a7e('0x0')]);});function _0x172dd4(_0x24342f,_0x57090f){return _0x583614(_0x3d7e35,_0x1a7e('0x19'),[_0x24342f,_0x57090f]);}function _0x540c1a(_0x2dc3bb,_0x37525b){return _0x583614(_0x3d7e35,_0x1a7e('0x6'),[_0x2dc3bb,_0x37525b]);}_0x4fa839[_0x1a7e('0x16')][_0x1a7e('0x7')](_0x5057b4=>{const {type:_0x348990,data:_0x2bb031}=_0x5057b4;if(_0x1a7e('0x13')==_0x348990&&_0x2bb031&&_0x1a7e('0xe')==_0x2bb031[_0x1a7e('0x3')]){const _0x3f581d=_0x2bb031['commandParams'][0x0]['value'],_0x6f642f=nn(_0x3f581d);if(null!==_0x6f642f)return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x172dd4(0x1,_0x6f642f))};const _0x3f08de=_0x3b0e63['find'](_0x9c06a=>_0x9c06a[_0x1a7e('0x8')]===_0x3f581d)[_0x1a7e('0x0')];return{'type':_0x1a7e('0x4'),'content':_0x583614(_0x3d7e35,_0x1a7e('0xb'),_0x540c1a(0x1,_0x3f08de))};}});}}function nn(_0x1843bb){const _0x476818=_0x1843bb[_0x1a7e('0x11')](/^heading(\d+)$/);return _0x476818?_0x476818[0x1]:null;}
@@ -1,7 +1,11 @@
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/highlight
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
5
9
  /**
6
10
  * Provides track changes plugin integration for highlight feature.
7
11
  */