@ckeditor/ckeditor5-track-changes 38.2.0-alpha.1 → 39.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x4cf0=['plugins','execute','outdentList','model','value','previousSibling','*Change\x20to:*\x20%0','enableCommand','locale','selection','checkTodoList','_selectedElements','listType','*Indent:*\x20%0','end','*Check\x20item*','TrackChangesEditing','document','ELEMENT_TODO_LIST','element','before','listIndent','change','_descriptionFactory','todoListChecked','registerDescriptionCallback','push','schema','filter','ELEMENT_BULLETED_LIST','markBlockFormat','slice','format','numberedList','name','isObject','getAttribute','registerElementLabel','forceValue','length','ELEMENT_LIST_ITEM','*Uncheck\x20item*','commandParams','has','listItem','add','from','commandName','afterInit','todoList','TodoListEditing','replace','ListEditing','getSelectedBlocks','nextSibling','numbered','get','ELEMENT_NUMBERED_LIST','bulletedList','commands','List'];(function(_0x395c7d,_0x4cf0bf){const _0x367fd0=function(_0x1b1602){while(--_0x1b1602){_0x395c7d['push'](_0x395c7d['shift']());}};_0x367fd0(++_0x4cf0bf);}(_0x4cf0,0x155));const _0x367f=function(_0x395c7d,_0x4cf0bf){_0x395c7d=_0x395c7d-0x0;let _0x367fd0=_0x4cf0[_0x395c7d];return _0x367fd0;};import{Plugin as _0xcf1971}from'ckeditor5/src/core.js';import{getTranslation as _0x2a5c5f}from'../utils/common-translations.js';export default class et extends _0xcf1971{[_0x367f('0xc')](){const _0x4a1125=this['editor'],_0x14647e=_0x4a1125[_0x367f('0x21')];if(!_0x4a1125['plugins'][_0x367f('0x7')](_0x367f('0x10')))return;const _0x89e232=_0x4a1125[_0x367f('0x19')][_0x367f('0x14')](_0x367f('0x29')),_0x25fc0b=_0x4a1125[_0x367f('0x19')][_0x367f('0x7')](_0x367f('0xe'));function _0x1fcd97(_0xbef27d){return()=>{const _0x104c64=_0x4a1125['model'][_0x367f('0x2a')]['selection'],_0x23837f=_0x4a1125[_0x367f('0x17')]['get'](_0xbef27d);if(_0x23837f['value'])return void _0x4a1125[_0x367f('0x1a')]('paragraph',{});const _0x257bc0=_0xbef27d['slice'](0x0,-0x4),_0x2cfb67=function(_0x3bf255,_0x3f7ca5,_0x399f14){let _0x3543fb=Array[_0x367f('0xa')](_0x3bf255)['filter'](_0x5e2d79=>function(_0x35ccc4,_0x23a222){return _0x23a222['checkChild'](_0x35ccc4['parent'],_0x367f('0x8'))&&!_0x23a222[_0x367f('0x3c')](_0x35ccc4);}(_0x5e2d79,_0x399f14));_0x3543fb=_0x3543fb['filter'](_0xa46054=>!_0xa46054['is'](_0x367f('0x2c'),_0x367f('0x8'))||_0xa46054[_0x367f('0x0')](_0x367f('0x25'))!=_0x3f7ca5);const _0x4dfb20=new Set();for(const _0x2c904d of _0x3543fb)_0x2c904d['is'](_0x367f('0x2c'),'listItem')?_0x4dfb20[_0x367f('0x9')](ne(_0x2c904d)):_0x4dfb20[_0x367f('0x9')](_0x2c904d);return Array[_0x367f('0xa')](_0x4dfb20);}(_0x104c64[_0x367f('0x11')](),_0x257bc0,_0x4a1125[_0x367f('0x1c')][_0x367f('0x34')]);_0x4a1125[_0x367f('0x1c')]['change'](()=>{for(const _0x55a970 of _0x2cfb67)_0x89e232['markBlockFormat'](_0x55a970,{'commandName':_0xbef27d,'commandParams':[{'forceValue':!_0x23837f['value']}],'formatGroupId':'blockName'},oe(_0x55a970));});};}function _0x150dcf(_0x23fbe1){return()=>{const _0x56edbb=function(_0x55bb6c){let _0xb6fba1=Array[_0x367f('0xa')](_0x55bb6c);const _0x5ebc1f=_0xb6fba1['findIndex'](_0x51cd61=>_0x367f('0x8')!=_0x51cd61[_0x367f('0x3b')]);return _0x5ebc1f>-0x1&&(_0xb6fba1=_0xb6fba1[_0x367f('0x38')](0x0,_0x5ebc1f)),_0xb6fba1;}(_0x4a1125[_0x367f('0x1c')][_0x367f('0x2a')][_0x367f('0x22')][_0x367f('0x11')]()),_0x6a9948=_0x4a1125[_0x367f('0x1c')]['createRange'](_0x4a1125[_0x367f('0x1c')]['createPositionAt'](_0x56edbb[0x0],_0x367f('0x2d')),_0x4a1125[_0x367f('0x1c')]['createPositionAt'](_0x56edbb[_0x56edbb[_0x367f('0x3')]-0x1],_0x367f('0x27')));_0x4a1125['model'][_0x367f('0x2f')](()=>{_0x89e232[_0x367f('0x37')](_0x6a9948,{'commandName':_0x23fbe1,'commandParams':[],'formatGroupId':'listIndent'},function(_0x41bb61){const _0x21d7f5=new Set();for(const _0x40a9ba of _0x41bb61){let _0x446a35=_0x40a9ba['nextSibling'];for(;_0x446a35&&_0x446a35[_0x367f('0x0')](_0x367f('0x2e'))>_0x40a9ba[_0x367f('0x0')]('listIndent');)_0x21d7f5[_0x367f('0x9')](_0x446a35),_0x446a35=_0x446a35[_0x367f('0x12')];}return Array[_0x367f('0xa')](_0x21d7f5);}(_0x56edbb));});};}_0x89e232[_0x367f('0x20')](_0x367f('0x3a'),_0x1fcd97(_0x367f('0x3a'))),_0x89e232[_0x367f('0x20')](_0x367f('0x16'),_0x1fcd97(_0x367f('0x16'))),_0x25fc0b&&_0x89e232[_0x367f('0x20')](_0x367f('0xd'),_0x1fcd97(_0x367f('0xd'))),_0x89e232[_0x367f('0x20')]('indentList',_0x150dcf('indentList')),_0x89e232[_0x367f('0x20')]('outdentList',_0x150dcf('outdentList')),_0x25fc0b&&_0x89e232[_0x367f('0x20')](_0x367f('0x23'),()=>{const _0x5e6f68=_0x4a1125[_0x367f('0x17')][_0x367f('0x14')](_0x367f('0x23')),_0x58ba7d=Array[_0x367f('0xa')](_0x5e6f68[_0x367f('0x24')]);_0x58ba7d[_0x367f('0x35')](_0x1d9b90=>_0x1d9b90[_0x367f('0x0')](_0x367f('0x31'))!=_0x5e6f68[_0x367f('0x1d')]),_0x4a1125[_0x367f('0x1c')]['change'](()=>{for(const _0x56ce80 of _0x58ba7d)_0x89e232[_0x367f('0x37')](_0x56ce80,{'commandName':_0x367f('0x23'),'commandParams':[{'forceValue':!_0x5e6f68[_0x367f('0x1d')]}]});});}),_0x89e232[_0x367f('0x30')][_0x367f('0x1')](_0x367f('0x8'),_0x518d95=>_0x2a5c5f(_0x14647e,_0x367f('0x4'),_0x518d95)),_0x89e232[_0x367f('0x30')][_0x367f('0x32')](_0x274e2f=>{const {data:_0x3ce5af}=_0x274e2f;if(_0x3ce5af){if('numberedList'==_0x3ce5af[_0x367f('0xb')]||_0x367f('0x16')==_0x3ce5af['commandName']||_0x367f('0xd')==_0x3ce5af[_0x367f('0xb')])switch(_0x3ce5af['commandName'][_0x367f('0xf')](_0x367f('0x18'),'')){case'bulleted':return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x36')));case _0x367f('0x13'):return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x15')));case'todo':return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x2b')));}if('indentList'==_0x3ce5af[_0x367f('0xb')])return{'type':'format','content':_0x2a5c5f(_0x14647e,_0x367f('0x26'),_0x2a5c5f(_0x14647e,_0x367f('0x4')))};if(_0x367f('0x1b')==_0x3ce5af[_0x367f('0xb')])return{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,'*Outdent:*\x20%0',_0x2a5c5f(_0x14647e,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x3ce5af[_0x367f('0xb')])return _0x3ce5af[_0x367f('0x6')][0x0][_0x367f('0x2')]?{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x28'))}:{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x5'))};}function _0x4c112e(_0x235c8b){return{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x1f'),_0x235c8b)};}});}}function ne(_0x381360){const _0x2e03f3=_0x381360['getAttribute'](_0x367f('0x2e'));if(0x0==_0x2e03f3)return _0x381360;let _0x521006=_0x381360;for(;_0x381360[_0x367f('0x1e')]&&_0x381360[_0x367f('0x1e')]['is'](_0x367f('0x2c'),_0x367f('0x8'));){const _0x37a4d0=_0x381360[_0x367f('0x1e')]['getAttribute']('listIndent');if(_0x37a4d0==_0x2e03f3)_0x521006=_0x381360[_0x367f('0x1e')];else{if(_0x37a4d0<_0x2e03f3)break;}_0x381360=_0x381360[_0x367f('0x1e')];}return _0x521006;}function oe(_0x42923a){const _0x21a3ed=[];if(_0x42923a['is'](_0x367f('0x2c'),_0x367f('0x8'))&&_0x42923a[_0x367f('0x0')]('listIndent')>0x0){let _0x514242=_0x42923a['nextSibling'];for(;_0x514242&&_0x367f('0x8')==_0x514242[_0x367f('0x3b')]&&_0x514242[_0x367f('0x0')]('listIndent')==_0x42923a['getAttribute'](_0x367f('0x2e'));)_0x21a3ed[_0x367f('0x33')](_0x514242),_0x514242=_0x514242[_0x367f('0x12')];}return _0x21a3ed;}
23
+ const _0x2235=['selection','slice','blockName','todoListChecked','parent','getAttribute','ELEMENT_NUMBERED_LIST','previousSibling','ELEMENT_BULLETED_LIST','element','filter','model','push','change','checkTodoList','isObject','*Change\x20to:*\x20%0','from','commandName','value','editor','enableCommand','format','add','*Uncheck\x20item*','*Indent:*\x20%0','commands','get','forceValue','bulleted','createPositionAt','ELEMENT_TODO_LIST','nextSibling','commandParams','markBlockFormat','plugins','*Check\x20item*','locale','document','todoList','TrackChangesEditing','findIndex','name','outdentList','numberedList','before','numbered','afterInit','_descriptionFactory','has','indentList','createRange','length','listIndent','replace','ELEMENT_LIST_ITEM','todo','List','listItem','_selectedElements'];(function(_0x5ef86a,_0x223581){const _0x332f76=function(_0x5e1ac6){while(--_0x5e1ac6){_0x5ef86a['push'](_0x5ef86a['shift']());}};_0x332f76(++_0x223581);}(_0x2235,0x1f3));const _0x332f=function(_0x5ef86a,_0x223581){_0x5ef86a=_0x5ef86a-0x0;let _0x332f76=_0x2235[_0x5ef86a];return _0x332f76;};import{Plugin as _0x22c9d1}from'ckeditor5/src/core';import{getTranslation as _0x351e0a}from'../utils/common-translations';export default class st extends _0x22c9d1{[_0x332f('0x1c')](){const _0x22c82a=this[_0x332f('0x1')],_0x2bb841=_0x22c82a[_0x332f('0x12')];if(!_0x22c82a[_0x332f('0x10')][_0x332f('0x1e')]('ListEditing'))return;const _0x278372=_0x22c82a[_0x332f('0x10')]['get'](_0x332f('0x15')),_0x518aa8=_0x22c82a['plugins'][_0x332f('0x1e')]('TodoListEditing');function _0x13cf85(_0x41de30){return()=>{const _0x45044b=_0x22c82a[_0x332f('0x34')][_0x332f('0x13')][_0x332f('0x29')],_0x4c194c=_0x22c82a['commands'][_0x332f('0x8')](_0x41de30);if(_0x4c194c[_0x332f('0x0')])return void _0x22c82a['execute']('paragraph',{});const _0x38caec=_0x41de30[_0x332f('0x2a')](0x0,-0x4),_0x2b3ace=function(_0x61084a,_0x41bc56,_0x24456c){let _0x562987=Array[_0x332f('0x3a')](_0x61084a)[_0x332f('0x33')](_0x8dd748=>function(_0x4dc3df,_0x5c3037){return _0x5c3037['checkChild'](_0x4dc3df[_0x332f('0x2d')],_0x332f('0x27'))&&!_0x5c3037[_0x332f('0x38')](_0x4dc3df);}(_0x8dd748,_0x24456c));_0x562987=_0x562987[_0x332f('0x33')](_0x5a25a7=>!_0x5a25a7['is'](_0x332f('0x32'),_0x332f('0x27'))||_0x5a25a7[_0x332f('0x2e')]('listType')!=_0x41bc56);const _0x3e3d8b=new Set();for(const _0x3269d7 of _0x562987)_0x3269d7['is'](_0x332f('0x32'),_0x332f('0x27'))?_0x3e3d8b[_0x332f('0x4')](ne(_0x3269d7)):_0x3e3d8b[_0x332f('0x4')](_0x3269d7);return Array[_0x332f('0x3a')](_0x3e3d8b);}(_0x45044b['getSelectedBlocks'](),_0x38caec,_0x22c82a[_0x332f('0x34')]['schema']);_0x22c82a['model']['change'](()=>{for(const _0x56a504 of _0x2b3ace)_0x278372['markBlockFormat'](_0x56a504,{'commandName':_0x41de30,'commandParams':[{'forceValue':!_0x4c194c[_0x332f('0x0')]}],'formatGroupId':_0x332f('0x2b')},oe(_0x56a504));});};}function _0x2de9d4(_0x382048){return()=>{const _0x1ab309=function(_0x303261){let _0x1d03c3=Array[_0x332f('0x3a')](_0x303261);const _0x1053ec=_0x1d03c3[_0x332f('0x16')](_0x21c634=>_0x332f('0x27')!=_0x21c634[_0x332f('0x17')]);return _0x1053ec>-0x1&&(_0x1d03c3=_0x1d03c3[_0x332f('0x2a')](0x0,_0x1053ec)),_0x1d03c3;}(_0x22c82a[_0x332f('0x34')]['document']['selection']['getSelectedBlocks']()),_0x9c0b69=_0x22c82a[_0x332f('0x34')][_0x332f('0x20')](_0x22c82a[_0x332f('0x34')][_0x332f('0xb')](_0x1ab309[0x0],_0x332f('0x1a')),_0x22c82a['model'][_0x332f('0xb')](_0x1ab309[_0x1ab309[_0x332f('0x21')]-0x1],'end'));_0x22c82a['model'][_0x332f('0x36')](()=>{_0x278372[_0x332f('0xf')](_0x9c0b69,{'commandName':_0x382048,'commandParams':[],'formatGroupId':_0x332f('0x22')},function(_0x3d6a9b){const _0x420e05=new Set();for(const _0x567707 of _0x3d6a9b){let _0xf90503=_0x567707['nextSibling'];for(;_0xf90503&&_0xf90503[_0x332f('0x2e')](_0x332f('0x22'))>_0x567707['getAttribute'](_0x332f('0x22'));)_0x420e05[_0x332f('0x4')](_0xf90503),_0xf90503=_0xf90503[_0x332f('0xd')];}return Array[_0x332f('0x3a')](_0x420e05);}(_0x1ab309));});};}_0x278372[_0x332f('0x2')](_0x332f('0x19'),_0x13cf85('numberedList')),_0x278372[_0x332f('0x2')]('bulletedList',_0x13cf85('bulletedList')),_0x518aa8&&_0x278372['enableCommand'](_0x332f('0x14'),_0x13cf85(_0x332f('0x14'))),_0x278372['enableCommand'](_0x332f('0x1f'),_0x2de9d4(_0x332f('0x1f'))),_0x278372[_0x332f('0x2')](_0x332f('0x18'),_0x2de9d4(_0x332f('0x18'))),_0x518aa8&&_0x278372[_0x332f('0x2')](_0x332f('0x37'),()=>{const _0x2a7ce3=_0x22c82a[_0x332f('0x7')]['get'](_0x332f('0x37')),_0x41f467=Array[_0x332f('0x3a')](_0x2a7ce3[_0x332f('0x28')]);_0x41f467[_0x332f('0x33')](_0x3ae28c=>_0x3ae28c[_0x332f('0x2e')](_0x332f('0x2c'))!=_0x2a7ce3[_0x332f('0x0')]),_0x22c82a['model'][_0x332f('0x36')](()=>{for(const _0x283760 of _0x41f467)_0x278372[_0x332f('0xf')](_0x283760,{'commandName':_0x332f('0x37'),'commandParams':[{'forceValue':!_0x2a7ce3[_0x332f('0x0')]}]});});}),_0x278372[_0x332f('0x1d')]['registerElementLabel']('listItem',_0x20c131=>_0x351e0a(_0x2bb841,'ELEMENT_LIST_ITEM',_0x20c131)),_0x278372['_descriptionFactory']['registerDescriptionCallback'](_0x2abddf=>{const {data:_0x17aebe}=_0x2abddf;if(_0x17aebe){if('numberedList'==_0x17aebe[_0x332f('0x3b')]||'bulletedList'==_0x17aebe[_0x332f('0x3b')]||_0x332f('0x14')==_0x17aebe[_0x332f('0x3b')])switch(_0x17aebe[_0x332f('0x3b')][_0x332f('0x23')](_0x332f('0x26'),'')){case _0x332f('0xa'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0x31')));case _0x332f('0x1b'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0x2f')));case _0x332f('0x25'):return _0xb6a335(_0x351e0a(_0x2bb841,_0x332f('0xc')));}if(_0x332f('0x1f')==_0x17aebe[_0x332f('0x3b')])return{'type':'format','content':_0x351e0a(_0x2bb841,_0x332f('0x6'),_0x351e0a(_0x2bb841,_0x332f('0x24')))};if(_0x332f('0x18')==_0x17aebe[_0x332f('0x3b')])return{'type':'format','content':_0x351e0a(_0x2bb841,'*Outdent:*\x20%0',_0x351e0a(_0x2bb841,_0x332f('0x24')))};if(_0x332f('0x37')==_0x17aebe[_0x332f('0x3b')])return _0x17aebe[_0x332f('0xe')][0x0][_0x332f('0x9')]?{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x11'))}:{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x5'))};}function _0xb6a335(_0x4097ec){return{'type':_0x332f('0x3'),'content':_0x351e0a(_0x2bb841,_0x332f('0x39'),_0x4097ec)};}});}}function ne(_0xe47c4f){const _0xef4a29=_0xe47c4f[_0x332f('0x2e')]('listIndent');if(0x0==_0xef4a29)return _0xe47c4f;let _0x26a47a=_0xe47c4f;for(;_0xe47c4f['previousSibling']&&_0xe47c4f[_0x332f('0x30')]['is'](_0x332f('0x32'),'listItem');){const _0x5bcc9b=_0xe47c4f[_0x332f('0x30')][_0x332f('0x2e')]('listIndent');if(_0x5bcc9b==_0xef4a29)_0x26a47a=_0xe47c4f[_0x332f('0x30')];else{if(_0x5bcc9b<_0xef4a29)break;}_0xe47c4f=_0xe47c4f[_0x332f('0x30')];}return _0x26a47a;}function oe(_0x157a93){const _0x3d777b=[];if(_0x157a93['is'](_0x332f('0x32'),_0x332f('0x27'))&&_0x157a93['getAttribute'](_0x332f('0x22'))>0x0){let _0x4e3f09=_0x157a93[_0x332f('0xd')];for(;_0x4e3f09&&_0x332f('0x27')==_0x4e3f09[_0x332f('0x17')]&&_0x4e3f09['getAttribute'](_0x332f('0x22'))==_0x157a93[_0x332f('0x2e')](_0x332f('0x22'));)_0x3d777b[_0x332f('0x35')](_0x4e3f09),_0x4e3f09=_0x4e3f09[_0x332f('0xd')];}return _0x3d777b;}
@@ -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/listproperties
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 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 _0x3919=['format','*Format:*\x20set\x20start\x20index\x20to\x20%0','*Change\x20to:*\x20%0','flat','registerDescriptionCallback','has','numbered','getSelectedBlocks','ListPropertiesEditing','listReversed','_getTranslationKeyForListStyle','handleListStartCommand','element','filter','getAttribute','selection','handleDescriptions','createRange','afterInit','commandParams','_getSuggestionBlocks','createPositionAt','listType','_LIST_','locale','push','getFirstPosition','change','enableCommand','startIndex','ListUtils','length','plugins','model','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','replace','unshift','editor','toUpperCase','*Format:*\x20set\x20order\x20to\x20reversed','TrackChangesEditing','getListTypeFromListStyleType','from','forward','config','handleListReversedCommand','reversed','map','get','listStart','getSiblingNodes','listItem','listStyle','type','before','bind','backward','commandName','list.properties','document','*Format:*\x20set\x20order\x20to\x20regular'];(function(_0x42d744,_0x391963){const _0x75318f=function(_0x5959e1){while(--_0x5959e1){_0x42d744['push'](_0x42d744['shift']());}};_0x75318f(++_0x391963);}(_0x3919,0x17d));const _0x7531=function(_0x42d744,_0x391963){_0x42d744=_0x42d744-0x0;let _0x75318f=_0x3919[_0x42d744];return _0x75318f;};import{Plugin as _0x1f1d75}from'ckeditor5/src/core.js';import{getTranslation as _0x1c71e4}from'../utils/common-translations.js';export default class nt extends _0x1f1d75{[_0x7531('0x9')](){if(!this[_0x7531('0x1d')]['plugins'][_0x7531('0x3a')](_0x7531('0x3d')))return;const _0x54ebcb=this[_0x7531('0x1d')][_0x7531('0x24')][_0x7531('0x28')](_0x7531('0x32')),_0x150eb2=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x20'));_0x54ebcb['styles']&&_0x150eb2['enableCommand'](_0x7531('0x2c'),this['handleListStyleCommand']['bind'](this)),_0x54ebcb['reversed']&&_0x150eb2[_0x7531('0x13')](_0x7531('0x0'),this[_0x7531('0x25')][_0x7531('0x2f')](this)),_0x54ebcb[_0x7531('0x14')]&&_0x150eb2[_0x7531('0x13')](_0x7531('0x29'),this[_0x7531('0x2')][_0x7531('0x2f')](this)),_0x150eb2['_descriptionFactory'][_0x7531('0x39')](this[_0x7531('0x7')][_0x7531('0x2f')](this));}['handleListStyleCommand'](_0x582d08,_0x161be9={}){const _0x5105bc=this[_0x7531('0x1d')]['plugins'][_0x7531('0x28')](_0x7531('0x20')),_0x26dc64=this[_0x7531('0x1a')]();this[_0x7531('0x1d')][_0x7531('0x18')]['change'](()=>{_0x5105bc[_0x7531('0x19')](_0x26dc64,{'commandName':_0x7531('0x2c'),'commandParams':[{'type':_0x161be9[_0x7531('0x2d')]}],'formatGroupId':_0x7531('0x2c')});});}['handleListReversedCommand'](_0x243828,_0x5126db={}){const _0x18b388=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x20')),_0x4c2c0d=this['_getSuggestionBlocks'](_0x33461c=>_0x33461c['is'](_0x7531('0x3'),_0x7531('0x2b'))&&_0x7531('0x3b')===_0x33461c[_0x7531('0x5')](_0x7531('0xd')));if(_0x4c2c0d[_0x7531('0x16')]<0x1)return;const _0x5ef3a1=_0x4c2c0d[_0x7531('0x27')](_0x8d3fca=>this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x8')](this['editor']['model'][_0x7531('0xc')](_0x8d3fca,'before'),this['editor'][_0x7531('0x18')][_0x7531('0xc')](_0x8d3fca,0x0)));this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x12')](()=>{_0x18b388['markMultiRangeBlockFormat'](_0x5ef3a1,{'commandName':_0x7531('0x0'),'commandParams':[{'reversed':_0x5126db[_0x7531('0x26')]}],'formatGroupId':'listReversed'});});}[_0x7531('0x2')](_0x2695c9,_0xead22f={}){const _0x474b7c=this['editor'][_0x7531('0x17')]['get'](_0x7531('0x20')),_0x54a60a=this[_0x7531('0xb')](_0x1273e1=>_0x1273e1['is']('element',_0x7531('0x2b'))&&_0x7531('0x3b')===_0x1273e1[_0x7531('0x5')](_0x7531('0xd')));if(_0x54a60a[_0x7531('0x16')]<0x1)return;const _0x21efea=_0x54a60a[_0x7531('0x27')](_0x1ad8fc=>this['editor'][_0x7531('0x18')][_0x7531('0x8')](this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0xc')](_0x1ad8fc,_0x7531('0x2e')),this[_0x7531('0x1d')]['model'][_0x7531('0xc')](_0x1ad8fc,0x0)));this['editor'][_0x7531('0x18')][_0x7531('0x12')](()=>{_0x474b7c[_0x7531('0x19')](_0x21efea,{'commandName':'listStart','commandParams':[{'startIndex':_0xead22f[_0x7531('0x14')]}],'formatGroupId':_0x7531('0x29')});});}['handleDescriptions'](_0x497b0e){const _0x3b9d59=this[_0x7531('0x1d')][_0x7531('0xf')],{data:_0x322e6a}=_0x497b0e;if(!_0x322e6a)return;let _0x29ebe0,_0x565dea;switch(_0x322e6a[_0x7531('0x31')]){case _0x7531('0x2c'):_0x29ebe0=_0x7531('0x37'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0,_0x1c71e4(_0x3b9d59,this[_0x7531('0x1')](_0x322e6a[_0x7531('0xa')][0x0]['type'])))};break;case _0x7531('0x0'):_0x29ebe0=_0x322e6a[_0x7531('0xa')][0x0][_0x7531('0x26')]?_0x7531('0x1f'):_0x7531('0x34'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0)};break;case _0x7531('0x29'):_0x29ebe0=_0x7531('0x36'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0,_0x322e6a[_0x7531('0xa')][0x0]['startIndex'])};}return _0x565dea;}[_0x7531('0x1a')](){var _0x4ceaf5,_0x2c0edb,_0x30f4dd,_0xffd7b5;const _0x20834c=this[_0x7531('0x1d')][_0x7531('0x17')]['get']('ListUtils');let _0x4bfd69=Array[_0x7531('0x22')](this['editor']['model'][_0x7531('0x33')][_0x7531('0x6')]['getSelectedBlocks']());return(null===(_0x4ceaf5=_0x4bfd69[0x0])||void 0x0===_0x4ceaf5?void 0x0:_0x4ceaf5['is'](_0x7531('0x3'),_0x7531('0x2b')))&&_0x4bfd69[_0x7531('0x1c')](..._0x20834c[_0x7531('0x2a')](this[_0x7531('0x1d')]['model'][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x11')](),_0x7531('0x30'))),(null===(_0x2c0edb=_0x4bfd69[_0x4bfd69[_0x7531('0x16')]-0x1])||void 0x0===_0x2c0edb?void 0x0:_0x2c0edb['is'](_0x7531('0x3'),'listItem'))&&_0x4bfd69[_0x7531('0x10')](..._0x20834c['getSiblingNodes'](this['editor'][_0x7531('0x18')]['document'][_0x7531('0x6')]['getLastPosition'](),_0x7531('0x23'))),_0x4bfd69=[...new Set(_0x4bfd69)],(null===(_0xffd7b5=null===(_0x30f4dd=this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x11')]())||void 0x0===_0x30f4dd?void 0x0:_0x30f4dd['parent'])||void 0x0===_0xffd7b5?void 0x0:_0xffd7b5['is'](_0x7531('0x3'),_0x7531('0x2b')))&&(_0x4bfd69=_0x4bfd69[_0x7531('0x4')](_0x3536d5=>_0x3536d5['is'](_0x7531('0x3'),'listItem'))),_0x4bfd69;}[_0x7531('0xb')](_0x60c527){const _0x55847f=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x15'));let _0x161f97=Array[_0x7531('0x22')](this['editor'][_0x7531('0x18')][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x3c')]())[_0x7531('0x4')](_0x60c527)['map'](_0x35796a=>{const _0x54e0fb=this['editor'][_0x7531('0x18')][_0x7531('0xc')](_0x35796a,0x0);return[..._0x55847f[_0x7531('0x2a')](_0x54e0fb,_0x7531('0x30')),..._0x55847f[_0x7531('0x2a')](_0x54e0fb,_0x7531('0x23'))];})[_0x7531('0x38')]();return _0x161f97=[...new Set(_0x161f97)],_0x161f97;}[_0x7531('0x1')](_0x5db9cb){return'ELEMENT_'+this[_0x7531('0x1d')]['plugins'][_0x7531('0x28')]('ListUtils')[_0x7531('0x21')](_0x5db9cb)['toUpperCase']()+_0x7531('0xe')+_0x5db9cb[_0x7531('0x1e')]()[_0x7531('0x1b')](/-/g,'_');}}
23
+ const _0x2fac=['markMultiRangeBlockFormat','getLastPosition','element','forward','list.properties','*Format:*\x20set\x20order\x20to\x20reversed','replace','commandName','has','handleDescriptions','handleListStartCommand','_descriptionFactory','listReversed','plugins','enableCommand','editor','createRange','createPositionAt','document','flat','listStart','push','_getSuggestionBlocksForListStyle','selection','unshift','listStyle','from','handleListReversedCommand','length','ListUtils','type','commandParams','_getSuggestionBlocks','change','getFirstPosition','bind','listItem','getAttribute','locale','getSelectedBlocks','getSiblingNodes','model','get','_getTranslationKeyForListStyle','backward','registerDescriptionCallback','parent','numbered','ELEMENT_','toUpperCase','getListTypeFromListStyleType','handleListStyleCommand','listType','startIndex','format','filter','map','reversed','before','TrackChangesEditing'];(function(_0x464a29,_0x2fac7a){const _0x500e24=function(_0x1ff086){while(--_0x1ff086){_0x464a29['push'](_0x464a29['shift']());}};_0x500e24(++_0x2fac7a);}(_0x2fac,0x18b));const _0x500e=function(_0x464a29,_0x2fac7a){_0x464a29=_0x464a29-0x0;let _0x500e24=_0x2fac[_0x464a29];return _0x500e24;};import{Plugin as _0x371873}from'ckeditor5/src/core';import{getTranslation as _0x27712b}from'../utils/common-translations';export default class nt extends _0x371873{['afterInit'](){if(!this[_0x500e('0x28')][_0x500e('0x26')][_0x500e('0x21')]('ListPropertiesEditing'))return;const _0x2f50d6=this[_0x500e('0x28')]['config'][_0x500e('0x7')](_0x500e('0x1d')),_0x2b69ed=this[_0x500e('0x28')]['plugins'][_0x500e('0x7')]('TrackChangesEditing');_0x2f50d6['styles']&&_0x2b69ed['enableCommand'](_0x500e('0x32'),this[_0x500e('0x10')][_0x500e('0x0')](this)),_0x2f50d6[_0x500e('0x16')]&&_0x2b69ed[_0x500e('0x27')](_0x500e('0x25'),this[_0x500e('0x34')]['bind'](this)),_0x2f50d6[_0x500e('0x12')]&&_0x2b69ed[_0x500e('0x27')](_0x500e('0x2d'),this[_0x500e('0x23')][_0x500e('0x0')](this)),_0x2b69ed[_0x500e('0x24')][_0x500e('0xa')](this[_0x500e('0x22')][_0x500e('0x0')](this));}[_0x500e('0x10')](_0x1fac02,_0x23f045={}){const _0x37b84f=this['editor'][_0x500e('0x26')][_0x500e('0x7')](_0x500e('0x18')),_0x3c6eb8=this[_0x500e('0x2f')]();this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x37b84f[_0x500e('0x19')](_0x3c6eb8,{'commandName':_0x500e('0x32'),'commandParams':[{'type':_0x23f045[_0x500e('0x37')]}],'formatGroupId':_0x500e('0x32')});});}[_0x500e('0x34')](_0x10c531,_0x6641e2={}){const _0x4dc5a5=this[_0x500e('0x28')][_0x500e('0x26')]['get']('TrackChangesEditing'),_0x138484=this[_0x500e('0x39')](_0x2ab283=>_0x2ab283['is'](_0x500e('0x1b'),_0x500e('0x1'))&&_0x500e('0xc')===_0x2ab283[_0x500e('0x2')]('listType'));if(_0x138484[_0x500e('0x35')]<0x1)return;const _0x6e85ae=_0x138484[_0x500e('0x15')](_0x2dc34f=>this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x29')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2dc34f,_0x500e('0x17')),this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2dc34f,0x0)));this['editor'][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x4dc5a5[_0x500e('0x19')](_0x6e85ae,{'commandName':_0x500e('0x25'),'commandParams':[{'reversed':_0x6641e2[_0x500e('0x16')]}],'formatGroupId':_0x500e('0x25')});});}['handleListStartCommand'](_0x1d0c6f,_0x1e8fe5={}){const _0x19e815=this[_0x500e('0x28')][_0x500e('0x26')]['get']('TrackChangesEditing'),_0x2a5491=this[_0x500e('0x39')](_0x3eeab5=>_0x3eeab5['is']('element','listItem')&&_0x500e('0xc')===_0x3eeab5[_0x500e('0x2')](_0x500e('0x11')));if(_0x2a5491[_0x500e('0x35')]<0x1)return;const _0x18db0b=_0x2a5491['map'](_0x2aa974=>this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x29')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2a')](_0x2aa974,'before'),this['editor'][_0x500e('0x6')]['createPositionAt'](_0x2aa974,0x0)));this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x3a')](()=>{_0x19e815[_0x500e('0x19')](_0x18db0b,{'commandName':_0x500e('0x2d'),'commandParams':[{'startIndex':_0x1e8fe5[_0x500e('0x12')]}],'formatGroupId':'listStart'});});}[_0x500e('0x22')](_0x500c97){const _0x3c793e=this[_0x500e('0x28')][_0x500e('0x3')],{data:_0xa95c9f}=_0x500c97;if(!_0xa95c9f)return;let _0x4ddf93,_0x2a7af3;switch(_0xa95c9f[_0x500e('0x20')]){case'listStyle':_0x4ddf93='*Change\x20to:*\x20%0',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93,_0x27712b(_0x3c793e,this[_0x500e('0x8')](_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x37')])))};break;case _0x500e('0x25'):_0x4ddf93=_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x16')]?_0x500e('0x1e'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93)};break;case _0x500e('0x2d'):_0x4ddf93='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2a7af3={'type':_0x500e('0x13'),'content':_0x27712b(_0x3c793e,_0x4ddf93,_0xa95c9f[_0x500e('0x38')][0x0][_0x500e('0x12')])};}return _0x2a7af3;}[_0x500e('0x2f')](){var _0x37a38b,_0x4099bc,_0x36b8fc,_0x8c7b55;const _0x2e7e23=this[_0x500e('0x28')][_0x500e('0x26')]['get']('ListUtils');let _0x979c35=Array[_0x500e('0x33')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')][_0x500e('0x30')]['getSelectedBlocks']());return(null===(_0x37a38b=_0x979c35[0x0])||void 0x0===_0x37a38b?void 0x0:_0x37a38b['is'](_0x500e('0x1b'),'listItem'))&&_0x979c35[_0x500e('0x31')](..._0x2e7e23[_0x500e('0x5')](this[_0x500e('0x28')]['model'][_0x500e('0x2b')][_0x500e('0x30')]['getFirstPosition'](),_0x500e('0x9'))),(null===(_0x4099bc=_0x979c35[_0x979c35[_0x500e('0x35')]-0x1])||void 0x0===_0x4099bc?void 0x0:_0x4099bc['is']('element',_0x500e('0x1')))&&_0x979c35[_0x500e('0x2e')](..._0x2e7e23[_0x500e('0x5')](this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')][_0x500e('0x30')][_0x500e('0x1a')](),_0x500e('0x1c'))),_0x979c35=[...new Set(_0x979c35)],(null===(_0x8c7b55=null===(_0x36b8fc=this[_0x500e('0x28')][_0x500e('0x6')][_0x500e('0x2b')]['selection'][_0x500e('0x3b')]())||void 0x0===_0x36b8fc?void 0x0:_0x36b8fc[_0x500e('0xb')])||void 0x0===_0x8c7b55?void 0x0:_0x8c7b55['is'](_0x500e('0x1b'),_0x500e('0x1')))&&(_0x979c35=_0x979c35[_0x500e('0x14')](_0x3f8ea9=>_0x3f8ea9['is'](_0x500e('0x1b'),_0x500e('0x1')))),_0x979c35;}[_0x500e('0x39')](_0x19cd5d){const _0x1b0978=this['editor'][_0x500e('0x26')]['get'](_0x500e('0x36'));let _0x32e23b=Array['from'](this[_0x500e('0x28')]['model'][_0x500e('0x2b')]['selection'][_0x500e('0x4')]())[_0x500e('0x14')](_0x19cd5d)[_0x500e('0x15')](_0x3cf96b=>{const _0x21796d=this[_0x500e('0x28')][_0x500e('0x6')]['createPositionAt'](_0x3cf96b,0x0);return[..._0x1b0978[_0x500e('0x5')](_0x21796d,_0x500e('0x9')),..._0x1b0978[_0x500e('0x5')](_0x21796d,'forward')];})[_0x500e('0x2c')]();return _0x32e23b=[...new Set(_0x32e23b)],_0x32e23b;}[_0x500e('0x8')](_0x3a5ed8){return _0x500e('0xd')+this['editor'][_0x500e('0x26')][_0x500e('0x7')](_0x500e('0x36'))[_0x500e('0xf')](_0x3a5ed8)[_0x500e('0xe')]()+'_LIST_'+_0x3a5ed8[_0x500e('0xe')]()[_0x500e('0x1f')](/-/g,'_');}}
@@ -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/mediaembed
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 {@link module:media-embed/mediaembed~MediaEmbed media embed 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 _0x5d4d=['mediaEmbed','plugins','get','has','showSuggestionHighlights','_descriptionFactory','ELEMENT_MEDIA','MediaEmbedEditing','stop','registerElementLabel','options','editor','downcastDispatcher','div','high','afterInit','createEmptyElement','dataDowncast','TrackChangesEditing'];(function(_0x35bdf4,_0x5d4d31){const _0x542464=function(_0x27a0ec){while(--_0x27a0ec){_0x35bdf4['push'](_0x35bdf4['shift']());}};_0x542464(++_0x5d4d31);}(_0x5d4d,0x145));const _0x5424=function(_0x35bdf4,_0x5d4d31){_0x35bdf4=_0x35bdf4-0x0;let _0x542464=_0x5d4d[_0x35bdf4];return _0x542464;};import{Plugin as _0x153c3b}from'ckeditor5/src/core.js';import{getTranslation as _0xa449fe}from'../utils/common-translations.js';export default class ot extends _0x153c3b{[_0x5424('0xd')](){const _0x216995=this[_0x5424('0x9')];if(!_0x216995[_0x5424('0x12')][_0x5424('0x1')](_0x5424('0x5')))return;const _0x41a7df=_0x216995[_0x5424('0x12')][_0x5424('0x0')](_0x5424('0x10')),_0x228d9e=_0x216995['locale'];_0x41a7df['enableCommand'](_0x5424('0x11')),_0x41a7df[_0x5424('0x3')][_0x5424('0x7')]('media',_0x56042a=>_0xa449fe(_0x228d9e,_0x5424('0x4'),_0x56042a)),_0x216995['conversion']['for'](_0x5424('0xf'))['elementToElement']({'model':'media','view':(_0x5310d7,{writer:_0x5be30a,options:_0x1f1c1c})=>{if(_0x1f1c1c['showSuggestionHighlights'])return _0x5be30a[_0x5424('0xe')](_0x5424('0xb'));},'converterPriority':'high'}),_0x216995['data'][_0x5424('0xa')]['on']('attribute:url:media',(_0xa54720,_0x4e81c5,_0xb16822)=>{_0xb16822[_0x5424('0x8')][_0x5424('0x2')]&&_0xa54720[_0x5424('0x6')]();},{'priority':_0x5424('0xc')});}}
23
+ const _0x59fc=['stop','options','has','downcastDispatcher','afterInit','media','showSuggestionHighlights','elementToElement','editor','mediaEmbed','high','ELEMENT_MEDIA','registerElementLabel','for','locale','attribute:url:media','div','data','plugins','_descriptionFactory','TrackChangesEditing'];(function(_0x118d70,_0x59fccf){const _0x527582=function(_0x32fad3){while(--_0x32fad3){_0x118d70['push'](_0x118d70['shift']());}};_0x527582(++_0x59fccf);}(_0x59fc,0xad));const _0x5275=function(_0x118d70,_0x59fccf){_0x118d70=_0x118d70-0x0;let _0x527582=_0x59fc[_0x118d70];return _0x527582;};import{Plugin as _0x428113}from'ckeditor5/src/core';import{getTranslation as _0x22a103}from'../utils/common-translations';export default class ot extends _0x428113{[_0x5275('0x14')](){const _0x54f347=this[_0x5275('0x3')];if(!_0x54f347['plugins'][_0x5275('0x12')]('MediaEmbedEditing'))return;const _0x1d1191=_0x54f347[_0x5275('0xd')]['get'](_0x5275('0xf')),_0x389ba1=_0x54f347[_0x5275('0x9')];_0x1d1191['enableCommand'](_0x5275('0x4')),_0x1d1191[_0x5275('0xe')][_0x5275('0x7')]('media',_0x277129=>_0x22a103(_0x389ba1,_0x5275('0x6'),_0x277129)),_0x54f347['conversion'][_0x5275('0x8')]('dataDowncast')[_0x5275('0x2')]({'model':_0x5275('0x0'),'view':(_0x5ec55b,{writer:_0x7652ac,options:_0x1b550e})=>{if(_0x1b550e[_0x5275('0x1')])return _0x7652ac['createEmptyElement'](_0x5275('0xb'));},'converterPriority':_0x5275('0x5')}),_0x54f347[_0x5275('0xc')][_0x5275('0x13')]['on'](_0x5275('0xa'),(_0x2380bb,_0x16a08e,_0x31f6b9)=>{_0x31f6b9[_0x5275('0x11')]['showSuggestionHighlights']&&_0x2380bb[_0x5275('0x10')]();},{'priority':_0x5275('0x5')});}}
@@ -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/mention
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 mention 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 _0x4cd2=['TrackChangesEditing','MentionEditing','plugins','has','afterInit','enableCommand','editor','get','mention'];(function(_0xe6b7b2,_0x4cd2af){const _0xc506f7=function(_0x2ced91){while(--_0x2ced91){_0xe6b7b2['push'](_0xe6b7b2['shift']());}};_0xc506f7(++_0x4cd2af);}(_0x4cd2,0xa0));const _0xc506=function(_0xe6b7b2,_0x4cd2af){_0xe6b7b2=_0xe6b7b2-0x0;let _0xc506f7=_0x4cd2[_0xe6b7b2];return _0xc506f7;};import{Plugin as _0x266f1c}from'ckeditor5/src/core.js';export default class rt extends _0x266f1c{[_0xc506('0x6')](){const _0x25710f=this[_0xc506('0x8')];_0x25710f['plugins'][_0xc506('0x5')](_0xc506('0x3'))&&_0x25710f[_0xc506('0x4')][_0xc506('0x0')](_0xc506('0x2'))[_0xc506('0x7')](_0xc506('0x1'));}}
23
+ const _0x118e=['has','enableCommand','plugins','afterInit','get','mention'];(function(_0xe6297d,_0x118e2e){const _0x2ee26d=function(_0x4e1b12){while(--_0x4e1b12){_0xe6297d['push'](_0xe6297d['shift']());}};_0x2ee26d(++_0x118e2e);}(_0x118e,0xa0));const _0x2ee2=function(_0xe6297d,_0x118e2e){_0xe6297d=_0xe6297d-0x0;let _0x2ee26d=_0x118e[_0xe6297d];return _0x2ee26d;};import{Plugin as _0x3249b1}from'ckeditor5/src/core';export default class rt extends _0x3249b1{[_0x2ee2('0x5')](){const _0x4b29e1=this['editor'];_0x4b29e1['plugins'][_0x2ee2('0x2')]('MentionEditing')&&_0x4b29e1[_0x2ee2('0x4')][_0x2ee2('0x0')]('TrackChangesEditing')[_0x2ee2('0x3')](_0x2ee2('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/pagebreak
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 {@link module:page-break/pagebreak~PageBreak page break 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 _0x4f2e=['editor','PageBreakEditing','_descriptionFactory','pageBreak','plugins','get','ELEMENT_PAGE_BREAK','registerElementLabel','has','TrackChangesEditing'];(function(_0x3fdf44,_0x4f2e32){const _0x6a08a0=function(_0x3828d6){while(--_0x3828d6){_0x3fdf44['push'](_0x3fdf44['shift']());}};_0x6a08a0(++_0x4f2e32);}(_0x4f2e,0x170));const _0x6a08=function(_0x3fdf44,_0x4f2e32){_0x3fdf44=_0x3fdf44-0x0;let _0x6a08a0=_0x4f2e[_0x3fdf44];return _0x6a08a0;};import{Plugin as _0x4c4144}from'ckeditor5/src/core.js';import{getTranslation as _0x120107}from'../utils/common-translations.js';export default class at extends _0x4c4144{['afterInit'](){const _0x51a33e=this[_0x6a08('0x2')];if(!_0x51a33e[_0x6a08('0x6')][_0x6a08('0x0')](_0x6a08('0x3')))return;_0x51a33e[_0x6a08('0x6')]['get']('TrackChangesEditing')['enableCommand'](_0x6a08('0x5'));const _0x222182=_0x51a33e[_0x6a08('0x6')][_0x6a08('0x7')](_0x6a08('0x1')),_0xc9d994=_0x51a33e['locale'];_0x222182[_0x6a08('0x4')][_0x6a08('0x9')](_0x6a08('0x5'),_0x5b0021=>_0x120107(_0xc9d994,_0x6a08('0x8'),_0x5b0021));}}
23
+ const _0x3feb=['enableCommand','locale','plugins','PageBreakEditing','registerElementLabel','get','_descriptionFactory','ELEMENT_PAGE_BREAK','pageBreak'];(function(_0x4c67f7,_0x3febb3){const _0x4122b7=function(_0xb431b9){while(--_0xb431b9){_0x4c67f7['push'](_0x4c67f7['shift']());}};_0x4122b7(++_0x3febb3);}(_0x3feb,0x1a5));const _0x4122=function(_0x4c67f7,_0x3febb3){_0x4c67f7=_0x4c67f7-0x0;let _0x4122b7=_0x3feb[_0x4c67f7];return _0x4122b7;};import{Plugin as _0xdf113c}from'ckeditor5/src/core';import{getTranslation as _0xce5483}from'../utils/common-translations';export default class at extends _0xdf113c{['afterInit'](){const _0x28f019=this['editor'];if(!_0x28f019['plugins']['has'](_0x4122('0x5')))return;_0x28f019[_0x4122('0x4')][_0x4122('0x7')]('TrackChangesEditing')[_0x4122('0x2')](_0x4122('0x1'));const _0x445e95=_0x28f019[_0x4122('0x4')]['get']('TrackChangesEditing'),_0x272665=_0x28f019[_0x4122('0x3')];_0x445e95[_0x4122('0x8')][_0x4122('0x6')]('pageBreak',_0x58a077=>_0xce5483(_0x272665,_0x4122('0x0'),_0x58a077));}}
@@ -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/paragraph
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 paragraph 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 _0x3bef=['writer','get','document','format','plugins','filter','getItemLabel','locale','nodeAfter','isLimit','showSuggestionHighlights','isBlock','*Insert:*\x20%0','*Change\x20to:*\x20%0','editing','getFirstRange','start','createUIElement','addMarker:suggestion:insertion','span','markerRange','_descriptionFactory','bindElementToMarker','options','name','checkChild','includes','enableCommand','registerDescriptionCallback','insertion','data','TrackChangesEditing','type','registerElementLabel','has','insert','isObject','$text','end','selection','isTouching','consumable','paragraph','blockName','ELEMENT_PARAGRAPH','toViewPosition','markBlockFormat','consume','editor','downcastDispatcher','addClass','mapper','schema','markerName','model'];(function(_0x309dcb,_0x3bef0e){const _0x5a72a6=function(_0x3e6ad6){while(--_0x3e6ad6){_0x309dcb['push'](_0x309dcb['shift']());}};_0x5a72a6(++_0x3bef0e);}(_0x3bef,0x130));const _0x5a72=function(_0x309dcb,_0x3bef0e){_0x309dcb=_0x309dcb-0x0;let _0x5a72a6=_0x3bef[_0x309dcb];return _0x5a72a6;};import{Plugin as _0x442265}from'ckeditor5/src/core.js';import{getElementsAffectedByListItemRename as _0x131a96}from'./utils.js';import{getTranslation as _0x4052d0}from'../utils/common-translations.js';export default class ct extends _0x442265{['afterInit'](){const _0x3dd162=this[_0x5a72('0x13')];if(!_0x3dd162['plugins'][_0x5a72('0x5')]('Paragraph'))return;const _0x28f234=_0x3dd162[_0x5a72('0x21')],_0x51ff73=_0x3dd162[_0x5a72('0x1e')][_0x5a72('0x1b')](_0x5a72('0x2'));_0x51ff73[_0x5a72('0x2f')][_0x5a72('0x4')](_0x5a72('0xd'),_0x5e1993=>_0x4052d0(_0x28f234,_0x5a72('0xf'),_0x5e1993)),_0x51ff73[_0x5a72('0x35')](_0x5a72('0xd'),(_0xfa105e,_0x11b7ae={})=>{const _0x207c54=_0x3dd162[_0x5a72('0x19')][_0x5a72('0x1c')],_0x4e7105=_0x11b7ae[_0x5a72('0xa')]||_0x207c54[_0x5a72('0xa')],_0x4315ba=Array['from'](_0x4e7105['getSelectedBlocks']())[_0x5a72('0x1f')](_0x6cda97=>function(_0x5ae765,_0x372c0f){return _0x372c0f[_0x5a72('0x33')](_0x5ae765['parent'],_0x5a72('0xd'))&&!_0x372c0f[_0x5a72('0x7')](_0x5ae765)&&_0x5a72('0xd')!=_0x5ae765[_0x5a72('0x32')];}(_0x6cda97,this[_0x5a72('0x13')][_0x5a72('0x19')]['schema']));_0x3dd162[_0x5a72('0x19')]['change'](()=>{for(const _0x3d5bb7 of _0x4315ba)_0x51ff73[_0x5a72('0x11')](_0x3d5bb7,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x5a72('0xe')},_0x131a96(_0x3d5bb7));});}),_0x51ff73[_0x5a72('0x2f')]['registerDescriptionCallback'](_0xc76886=>{const {data:_0x11961f}=_0xc76886;if(_0x11961f&&'paragraph'==_0x11961f['commandName'])return{'type':_0x5a72('0x1d'),'content':_0x4052d0(_0x28f234,_0x5a72('0x27'),_0x4052d0(_0x28f234,_0x5a72('0xf')))};}),_0x51ff73['enableCommand']('insertParagraph'),_0x3dd162[_0x5a72('0x28')][_0x5a72('0x14')]['on'](_0x5a72('0x2c'),ar(_0x3dd162),{'priority':'highest'}),_0x3dd162[_0x5a72('0x1')]['downcastDispatcher']['on'](_0x5a72('0x2c'),(_0x5c592d,_0x274fbb,_0x4b360a)=>{_0x4b360a[_0x5a72('0x31')][_0x5a72('0x24')]&&ar(_0x3dd162,{'showActiveMarker':!0x1})(_0x5c592d,_0x274fbb,_0x4b360a);},{'priority':'highest'});const _0x577f9d=_0x51ff73['_descriptionFactory'];_0x577f9d[_0x5a72('0x36')](_0x4f3ca4=>{if(_0x5a72('0x0')!==_0x4f3ca4[_0x5a72('0x3')])return;const {start:_0xb052ad,end:_0x3c1b96}=_0x4f3ca4[_0x5a72('0x29')]();if(!_0xb052ad['isTouching'](_0x3c1b96)||!_0xb052ad[_0x5a72('0x22')])return;const _0x38ee6c=_0x3dd162[_0x5a72('0x19')][_0x5a72('0x17')],_0x41f211=_0xb052ad[_0x5a72('0x22')];return _0x38ee6c['isBlock'](_0x41f211)&&!_0x38ee6c['isLimit'](_0x41f211)&&_0x38ee6c[_0x5a72('0x33')](_0x41f211,_0x5a72('0x8'))?{'type':_0x5a72('0x0'),'content':_0x4052d0(_0x28f234,_0x5a72('0x26'),_0x577f9d[_0x5a72('0x20')](_0x41f211,0x1))}:void 0x0;});}}function ar(_0x5a4c70,{showActiveMarker:_0x173c90=!0x0}={}){return(_0xd7d902,_0x378db2,_0x3b9975)=>{const _0x4b83fd=_0x5a4c70[_0x5a72('0x1e')][_0x5a72('0x1b')](_0x5a72('0x2')),_0x37db82=_0x378db2[_0x5a72('0x2e')][_0x5a72('0x2a')],_0x38c135=_0x378db2[_0x5a72('0x2e')][_0x5a72('0x9')],_0x701ab4=_0x5a4c70['model'][_0x5a72('0x17')];if(!_0x37db82[_0x5a72('0xb')](_0x38c135)||!_0x37db82[_0x5a72('0x22')])return;const _0x6b28a2=_0x37db82[_0x5a72('0x22')];if(_0x701ab4[_0x5a72('0x25')](_0x6b28a2)&&!_0x701ab4[_0x5a72('0x23')](_0x6b28a2)&&_0x701ab4[_0x5a72('0x33')](_0x6b28a2,_0x5a72('0x8'))){if(!_0x3b9975[_0x5a72('0xc')][_0x5a72('0x12')](_0x378db2['markerRange'],_0xd7d902[_0x5a72('0x32')]))return;const _0x3a1303=_0x3b9975['writer'][_0x5a72('0x2b')](_0x5a72('0x2d'),{'class':'ck-suggestion-marker-split'}),_0x278862=_0x3b9975[_0x5a72('0x16')][_0x5a72('0x10')](_0x38c135);_0x173c90&&_0x4b83fd['activeMarkers'][_0x5a72('0x34')](_0x378db2[_0x5a72('0x18')])&&_0x3b9975[_0x5a72('0x1a')][_0x5a72('0x15')]('ck-suggestion-marker--active',_0x3a1303),_0x3b9975['writer'][_0x5a72('0x6')](_0x278862,_0x3a1303),_0x3b9975[_0x5a72('0x16')][_0x5a72('0x30')](_0x3a1303,_0x378db2['markerName']);}};}
23
+ const _0x4a21=['nodeAfter','isLimit','*Change\x20to:*\x20%0','isTouching','isObject','from','editor','createUIElement','Paragraph','mapper','consume','bindElementToMarker','ELEMENT_PARAGRAPH','markerRange','end','addMarker:suggestion:insertion','registerElementLabel','consumable','getFirstRange','markerName','includes','editing','toViewPosition','*Insert:*\x20%0','afterInit','change','span','insertParagraph','ck-suggestion-marker--active','data','plugins','commandName','getItemLabel','registerDescriptionCallback','enableCommand','highest','showSuggestionHighlights','getSelectedBlocks','ck-suggestion-marker-split','addClass','blockName','selection','isBlock','$text','format','checkChild','model','start','options','filter','get','schema','writer','markBlockFormat','_descriptionFactory','paragraph','TrackChangesEditing'];(function(_0x186c3a,_0x4a211a){const _0x98b28f=function(_0x5e9440){while(--_0x5e9440){_0x186c3a['push'](_0x186c3a['shift']());}};_0x98b28f(++_0x4a211a);}(_0x4a21,0xca));const _0x98b2=function(_0x186c3a,_0x4a211a){_0x186c3a=_0x186c3a-0x0;let _0x98b28f=_0x4a21[_0x186c3a];return _0x98b28f;};import{Plugin as _0x2b63d2}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x569380}from'./utils';import{getTranslation as _0x31abf3}from'../utils/common-translations';export default class ct extends _0x2b63d2{[_0x98b2('0x32')](){const _0x4f5639=this[_0x98b2('0x20')];if(!_0x4f5639[_0x98b2('0x38')]['has'](_0x98b2('0x22')))return;const _0xb60c50=_0x4f5639['locale'],_0x424b09=_0x4f5639[_0x98b2('0x38')][_0x98b2('0x13')](_0x98b2('0x19'));_0x424b09[_0x98b2('0x17')][_0x98b2('0x2a')](_0x98b2('0x18'),_0x28e25a=>_0x31abf3(_0xb60c50,_0x98b2('0x26'),_0x28e25a)),_0x424b09[_0x98b2('0x3')](_0x98b2('0x18'),(_0x22de89,_0x226303={})=>{const _0x1091e2=_0x4f5639[_0x98b2('0xf')]['document'],_0x3d8644=_0x226303[_0x98b2('0xa')]||_0x1091e2[_0x98b2('0xa')],_0x489916=Array[_0x98b2('0x1f')](_0x3d8644[_0x98b2('0x6')]())[_0x98b2('0x12')](_0x5aa37c=>function(_0xc22f21,_0x21b192){return _0x21b192[_0x98b2('0xe')](_0xc22f21['parent'],_0x98b2('0x18'))&&!_0x21b192[_0x98b2('0x1e')](_0xc22f21)&&_0x98b2('0x18')!=_0xc22f21['name'];}(_0x5aa37c,this['editor'][_0x98b2('0xf')]['schema']));_0x4f5639[_0x98b2('0xf')][_0x98b2('0x33')](()=>{for(const _0x58aac5 of _0x489916)_0x424b09[_0x98b2('0x16')](_0x58aac5,{'commandName':_0x98b2('0x18'),'commandParams':[],'formatGroupId':_0x98b2('0x9')},_0x569380(_0x58aac5));});}),_0x424b09[_0x98b2('0x17')][_0x98b2('0x2')](_0x452f73=>{const {data:_0x4d1508}=_0x452f73;if(_0x4d1508&&_0x98b2('0x18')==_0x4d1508[_0x98b2('0x0')])return{'type':_0x98b2('0xd'),'content':_0x31abf3(_0xb60c50,_0x98b2('0x1c'),_0x31abf3(_0xb60c50,_0x98b2('0x26')))};}),_0x424b09[_0x98b2('0x3')](_0x98b2('0x35')),_0x4f5639[_0x98b2('0x2f')]['downcastDispatcher']['on'](_0x98b2('0x29'),ar(_0x4f5639),{'priority':'highest'}),_0x4f5639[_0x98b2('0x37')]['downcastDispatcher']['on'](_0x98b2('0x29'),(_0x34a893,_0x1ad410,_0x45f553)=>{_0x45f553[_0x98b2('0x11')][_0x98b2('0x5')]&&ar(_0x4f5639,{'showActiveMarker':!0x1})(_0x34a893,_0x1ad410,_0x45f553);},{'priority':_0x98b2('0x4')});const _0x2779d6=_0x424b09[_0x98b2('0x17')];_0x2779d6[_0x98b2('0x2')](_0x2c8fa6=>{if('insertion'!==_0x2c8fa6['type'])return;const {start:_0x3ce049,end:_0xe18ff6}=_0x2c8fa6[_0x98b2('0x2c')]();if(!_0x3ce049['isTouching'](_0xe18ff6)||!_0x3ce049[_0x98b2('0x1a')])return;const _0xb05f7b=_0x4f5639[_0x98b2('0xf')][_0x98b2('0x14')],_0x183b5c=_0x3ce049[_0x98b2('0x1a')];return _0xb05f7b[_0x98b2('0xb')](_0x183b5c)&&!_0xb05f7b[_0x98b2('0x1b')](_0x183b5c)&&_0xb05f7b['checkChild'](_0x183b5c,_0x98b2('0xc'))?{'type':'insertion','content':_0x31abf3(_0xb60c50,_0x98b2('0x31'),_0x2779d6[_0x98b2('0x1')](_0x183b5c,0x1))}:void 0x0;});}}function ar(_0x18d60d,{showActiveMarker:_0x3c5712=!0x0}={}){return(_0x3e86dc,_0x34d6b6,_0x471f62)=>{const _0x2df365=_0x18d60d['plugins'][_0x98b2('0x13')](_0x98b2('0x19')),_0x36dbc2=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x10')],_0x14a5f4=_0x34d6b6[_0x98b2('0x27')][_0x98b2('0x28')],_0x237171=_0x18d60d[_0x98b2('0xf')]['schema'];if(!_0x36dbc2[_0x98b2('0x1d')](_0x14a5f4)||!_0x36dbc2['nodeAfter'])return;const _0x37f906=_0x36dbc2[_0x98b2('0x1a')];if(_0x237171[_0x98b2('0xb')](_0x37f906)&&!_0x237171[_0x98b2('0x1b')](_0x37f906)&&_0x237171[_0x98b2('0xe')](_0x37f906,_0x98b2('0xc'))){if(!_0x471f62[_0x98b2('0x2b')][_0x98b2('0x24')](_0x34d6b6['markerRange'],_0x3e86dc['name']))return;const _0x5d9972=_0x471f62[_0x98b2('0x15')][_0x98b2('0x21')](_0x98b2('0x34'),{'class':_0x98b2('0x7')}),_0xf88720=_0x471f62['mapper'][_0x98b2('0x30')](_0x14a5f4);_0x3c5712&&_0x2df365['activeMarkers'][_0x98b2('0x2e')](_0x34d6b6[_0x98b2('0x2d')])&&_0x471f62[_0x98b2('0x15')][_0x98b2('0x8')](_0x98b2('0x36'),_0x5d9972),_0x471f62[_0x98b2('0x15')]['insert'](_0xf88720,_0x5d9972),_0x471f62[_0x98b2('0x23')][_0x98b2('0x25')](_0x5d9972,_0x34d6b6[_0x98b2('0x2d')]);}};}
@@ -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/removeformat
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 remove format 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 _0x4494=['editor','getItems','format','removeFormat','get','plugins','TrackChangesEditing','model','getRanges','afterInit','RemoveFormatEditing','createRangeOn','*Remove\x20all\x20formatting*','schema','has','from','enableCommand','isFormatting','markInlineFormat','selection'];(function(_0x385993,_0x4494e5){const _0x964059=function(_0x34789f){while(--_0x34789f){_0x385993['push'](_0x385993['shift']());}};_0x964059(++_0x4494e5);}(_0x4494,0x150));const _0x9640=function(_0x385993,_0x4494e5){_0x385993=_0x385993-0x0;let _0x964059=_0x4494[_0x385993];return _0x964059;};import{Plugin as _0x5ae6a4}from'ckeditor5/src/core.js';import{getTranslation as _0x23fb3f}from'../utils/common-translations.js';export default class ht extends _0x5ae6a4{[_0x9640('0xd')](){const _0x20ccc5=this[_0x9640('0x4')];if(!_0x20ccc5[_0x9640('0x9')][_0x9640('0x12')](_0x9640('0xe')))return;const _0x131940=_0x20ccc5['plugins'][_0x9640('0x8')](_0x9640('0xa'));_0x131940[_0x9640('0x0')](_0x9640('0x7'),_0x78c50=>{const _0x3e132f=_0x20ccc5[_0x9640('0xb')]['document'][_0x9640('0x3')];_0x3e132f['isCollapsed']?_0x78c50():_0x20ccc5[_0x9640('0xb')]['change'](()=>{const _0x42b556=Array[_0x9640('0x13')](_0x3e132f[_0x9640('0xc')]());for(const _0x24bfba of _0x42b556)for(const _0x2dc617 of _0x24bfba[_0x9640('0x5')]())eo(_0x2dc617,_0x20ccc5[_0x9640('0xb')][_0x9640('0x11')])&&_0x131940[_0x9640('0x2')](_0x20ccc5['model'][_0x9640('0xf')](_0x2dc617),{'commandName':_0x9640('0x7'),'commandParams':[]});});}),_0x131940['_descriptionFactory']['registerDescriptionCallback'](_0x525cc2=>{const {data:_0x2ac86c}=_0x525cc2;if(_0x2ac86c&&_0x9640('0x7')==_0x2ac86c['commandName'])return{'type':_0x9640('0x6'),'content':_0x23fb3f(_0x20ccc5['locale'],_0x9640('0x10'))};});}}function eo(_0x19de8f,_0xd120ff){for(const [_0x4a64e0]of _0x19de8f['getAttributes']()){const _0x484f58=_0xd120ff['getAttributeProperties'](_0x4a64e0);if(_0x484f58&&_0x484f58[_0x9640('0x1')])return!0x0;}return!0x1;}
23
+ const _0x58cb=['RemoveFormatEditing','has','getAttributeProperties','_descriptionFactory','schema','commandName','removeFormat','model','format','change','isFormatting','get','from','selection','getRanges','getAttributes','isCollapsed','plugins','editor'];(function(_0x46dc97,_0x58cbbe){const _0x3cf9ad=function(_0x8350f8){while(--_0x8350f8){_0x46dc97['push'](_0x46dc97['shift']());}};_0x3cf9ad(++_0x58cbbe);}(_0x58cb,0x18d));const _0x3cf9=function(_0x46dc97,_0x58cbbe){_0x46dc97=_0x46dc97-0x0;let _0x3cf9ad=_0x58cb[_0x46dc97];return _0x3cf9ad;};import{Plugin as _0x234998}from'ckeditor5/src/core';import{getTranslation as _0x36e952}from'../utils/common-translations';export default class ht extends _0x234998{['afterInit'](){const _0x500441=this[_0x3cf9('0x1')];if(!_0x500441[_0x3cf9('0x0')][_0x3cf9('0x3')](_0x3cf9('0x2')))return;const _0x5cdd32=_0x500441[_0x3cf9('0x0')][_0x3cf9('0xd')]('TrackChangesEditing');_0x5cdd32['enableCommand'](_0x3cf9('0x8'),_0x2f5486=>{const _0x3ff11b=_0x500441['model']['document'][_0x3cf9('0xf')];_0x3ff11b[_0x3cf9('0x12')]?_0x2f5486():_0x500441[_0x3cf9('0x9')][_0x3cf9('0xb')](()=>{const _0x5cb4ca=Array[_0x3cf9('0xe')](_0x3ff11b[_0x3cf9('0x10')]());for(const _0x15fdf4 of _0x5cb4ca)for(const _0x542269 of _0x15fdf4['getItems']())eo(_0x542269,_0x500441[_0x3cf9('0x9')][_0x3cf9('0x6')])&&_0x5cdd32['markInlineFormat'](_0x500441[_0x3cf9('0x9')]['createRangeOn'](_0x542269),{'commandName':'removeFormat','commandParams':[]});});}),_0x5cdd32[_0x3cf9('0x5')]['registerDescriptionCallback'](_0x3e5f8e=>{const {data:_0x8c90a3}=_0x3e5f8e;if(_0x8c90a3&&_0x3cf9('0x8')==_0x8c90a3[_0x3cf9('0x7')])return{'type':_0x3cf9('0xa'),'content':_0x36e952(_0x500441['locale'],'*Remove\x20all\x20formatting*')};});}}function eo(_0x55a6cd,_0x4c4a77){for(const [_0x444ea6]of _0x55a6cd[_0x3cf9('0x11')]()){const _0x30ba83=_0x4c4a77[_0x3cf9('0x4')](_0x444ea6);if(_0x30ba83&&_0x30ba83[_0x3cf9('0xc')])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/mention
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 restricted editing mode feature from restricted editing package.
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 _0x12d9=['acceptSuggestion','acceptAllSuggestions','discardSuggestion','trackChanges','RestrictedEditingModeEditing','get','plugins','enableCommand','acceptSelectedSuggestions','goToPreviousRestrictedEditingException','afterInit','discardAllSuggestions','TrackChangesEditing','editor'];(function(_0x18ba7f,_0x12d911){const _0xd56ecf=function(_0x1e6fdd){while(--_0x1e6fdd){_0x18ba7f['push'](_0x18ba7f['shift']());}};_0xd56ecf(++_0x12d911);}(_0x12d9,0xcb));const _0xd56e=function(_0x18ba7f,_0x12d911){_0x18ba7f=_0x18ba7f-0x0;let _0xd56ecf=_0x12d9[_0x18ba7f];return _0xd56ecf;};import{Plugin as _0x5b47af}from'ckeditor5/src/core.js';export default class ut extends _0x5b47af{[_0xd56e('0x3')](){const _0x204b02=this[_0xd56e('0x6')];if(!_0x204b02[_0xd56e('0xd')]['has'](_0xd56e('0xb')))return;const _0x3ba674=_0x204b02[_0xd56e('0xd')]['get'](_0xd56e('0x5'));_0x3ba674[_0xd56e('0x0')](_0xd56e('0x2')),_0x3ba674[_0xd56e('0x0')]('goToNextRestrictedEditingException');const _0x4db8d4=_0x204b02[_0xd56e('0xd')][_0xd56e('0xc')](_0xd56e('0xb'));_0x4db8d4[_0xd56e('0x0')](_0xd56e('0xa')),_0x4db8d4[_0xd56e('0x0')](_0xd56e('0x7')),_0x4db8d4[_0xd56e('0x0')](_0xd56e('0x9')),_0x4db8d4[_0xd56e('0x0')](_0xd56e('0x8')),_0x4db8d4[_0xd56e('0x0')](_0xd56e('0x4')),_0x4db8d4[_0xd56e('0x0')](_0xd56e('0x1')),_0x4db8d4[_0xd56e('0x0')]('discardSelectedSuggestions');}}
23
+ const _0x7785=['goToNextRestrictedEditingException','RestrictedEditingModeEditing','plugins','discardAllSuggestions','trackChanges','discardSelectedSuggestions','discardSuggestion','acceptSuggestion','goToPreviousRestrictedEditingException','acceptAllSuggestions','TrackChangesEditing','enableCommand','get','has'];(function(_0xb6218d,_0x7785bc){const _0x4dcca4=function(_0x4824a3){while(--_0x4824a3){_0xb6218d['push'](_0xb6218d['shift']());}};_0x4dcca4(++_0x7785bc);}(_0x7785,0x93));const _0x4dcc=function(_0xb6218d,_0x7785bc){_0xb6218d=_0xb6218d-0x0;let _0x4dcca4=_0x7785[_0xb6218d];return _0x4dcca4;};import{Plugin as _0x129a43}from'ckeditor5/src/core';export default class ut extends _0x129a43{['afterInit'](){const _0x329eb4=this['editor'];if(!_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x6')](_0x4dcc('0x8')))return;const _0x51594b=_0x329eb4['plugins'][_0x4dcc('0x5')](_0x4dcc('0x3'));_0x51594b[_0x4dcc('0x4')](_0x4dcc('0x1')),_0x51594b['enableCommand'](_0x4dcc('0x7'));const _0x10f99c=_0x329eb4[_0x4dcc('0x9')][_0x4dcc('0x5')](_0x4dcc('0x8'));_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xb')),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0x0')),_0x10f99c['enableCommand'](_0x4dcc('0xd')),_0x10f99c['enableCommand'](_0x4dcc('0x2')),_0x10f99c['enableCommand'](_0x4dcc('0xa')),_0x10f99c[_0x4dcc('0x4')]('acceptSelectedSuggestions'),_0x10f99c[_0x4dcc('0x4')](_0x4dcc('0xc'));}}
@@ -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/shiftentercommand
3
7
  */
4
- import { Plugin } from 'ckeditor5/src/core.js';
5
- import { ShiftEnter } from 'ckeditor5/src/enter.js';
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { ShiftEnter } from 'ckeditor5/src/enter';
6
10
  /**
7
11
  * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand 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 _0x3b3c=['markerName','ck-suggestion-marker-','ck-suggestion-marker--active','get','merge','data','span','TrackChangesEditing','editor','editing','_descriptionFactory','createUIElement','enableCommand','toViewPosition','writer','high','model','downcastDispatcher','showSuggestionHighlights','markerRange','test','split','locale','activeMarkers','name','element','plugins','mapper','softBreak','includes','requires','shiftEnter','createPositionBefore'];(function(_0x528d6f,_0x3b3c55){const _0x3202c2=function(_0x115fcf){while(--_0x115fcf){_0x528d6f['push'](_0x528d6f['shift']());}};_0x3202c2(++_0x3b3c55);}(_0x3b3c,0x1bf));const _0x3202=function(_0x528d6f,_0x3b3c55){_0x528d6f=_0x528d6f-0x0;let _0x3202c2=_0x3b3c[_0x528d6f];return _0x3202c2;};import{Plugin as _0x319e3a}from'ckeditor5/src/core.js';import{ShiftEnter as _0x218ea9}from'ckeditor5/src/enter.js';import{getTranslation as _0x4a64f4}from'../utils/common-translations.js';export default class ft extends _0x319e3a{static get[_0x3202('0xc')](){return[_0x218ea9];}['init'](){const _0x272453=this[_0x3202('0x17')],_0x29c658=_0x272453['plugins'][_0x3202('0x12')](_0x3202('0x16'));_0x29c658[_0x3202('0x1b')](_0x3202('0xd')),_0x272453[_0x3202('0x18')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x272453),{'priority':_0x3202('0x1e')}),_0x272453[_0x3202('0x18')][_0x3202('0x20')]['on']('addMarker:suggestion:deletion',re(_0x272453),{'priority':_0x3202('0x1e')}),_0x272453[_0x3202('0x14')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x247d4d,_0x1fbc66,_0x32e1d0)=>{_0x32e1d0['options'][_0x3202('0x0')]&&re(_0x272453,{'showActiveMarker':!0x1})(_0x247d4d,_0x1fbc66,_0x32e1d0);}),_0x29c658[_0x3202('0x19')]['registerElementLabel']('softBreak',_0x2814e3=>_0x4a64f4(_0x272453[_0x3202('0x4')],'ELEMENT_LINE_BREAK',_0x2814e3));}}function re(_0x2a9283,{showActiveMarker:_0x7767c8=!0x0}={}){return(_0x316bf3,_0x39a9e9,_0x4d4158)=>{const _0xd504cc=_0x2a9283[_0x3202('0x8')]['get']('TrackChangesEditing');if(!_0x4d4158['consumable'][_0x3202('0x2')](_0x39a9e9[_0x3202('0x1')],_0x316bf3[_0x3202('0x6')]))return;const _0x2db179=_0x2a9283[_0x3202('0x1f')];for(const _0x4313f3 of _0x39a9e9['markerRange']['getItems']()){if(!_0x4313f3['is'](_0x3202('0x7'),_0x3202('0xa')))continue;const _0xbc91de='deletion'==_0x39a9e9[_0x3202('0xf')][_0x3202('0x3')](':')[0x1]?_0x3202('0x13'):_0x3202('0x3'),_0x2151e5=_0x4d4158[_0x3202('0x1d')][_0x3202('0x1a')](_0x3202('0x15'),{'class':_0x3202('0x10')+_0xbc91de}),_0x386d84=_0x4d4158[_0x3202('0x9')][_0x3202('0x1c')](_0x2db179[_0x3202('0xe')](_0x4313f3));_0x7767c8&&_0xd504cc[_0x3202('0x5')][_0x3202('0xb')](_0x39a9e9[_0x3202('0xf')])&&_0x4d4158[_0x3202('0x1d')]['addClass'](_0x3202('0x11'),_0x2151e5),_0x4d4158['writer']['insert'](_0x386d84,_0x2151e5),_0x4d4158[_0x3202('0x9')]['bindElementToMarker'](_0x2151e5,_0x39a9e9['markerName']);}};}
23
+ const _0xa9de=['downcastDispatcher','ck-suggestion-marker--active','includes','enableCommand','data','createUIElement','ELEMENT_LINE_BREAK','requires','TrackChangesEditing','span','addMarker:suggestion:insertion','locale','editing','high','editor','name','plugins','markerName','ck-suggestion-marker-','showSuggestionHighlights','addMarker:suggestion:deletion','split','options','softBreak','mapper','_descriptionFactory','bindElementToMarker','merge','get','addMarker:suggestion','getItems','writer','consumable'];(function(_0x21438c,_0xa9de12){const _0x6cb30=function(_0x48aadc){while(--_0x48aadc){_0x21438c['push'](_0x21438c['shift']());}};_0x6cb30(++_0xa9de12);}(_0xa9de,0xef));const _0x6cb3=function(_0x21438c,_0xa9de12){_0x21438c=_0x21438c-0x0;let _0x6cb30=_0xa9de[_0x21438c];return _0x6cb30;};import{Plugin as _0x2edf58}from'ckeditor5/src/core';import{ShiftEnter as _0x295317}from'ckeditor5/src/enter';import{getTranslation as _0x10a4d8}from'../utils/common-translations';export default class ft extends _0x2edf58{static get[_0x6cb3('0x20')](){return[_0x295317];}['init'](){const _0x3eef19=this[_0x6cb3('0x6')],_0x182c5f=_0x3eef19[_0x6cb3('0x8')]['get'](_0x6cb3('0x0'));_0x182c5f[_0x6cb3('0x1c')]('shiftEnter'),_0x3eef19[_0x6cb3('0x4')][_0x6cb3('0x19')]['on'](_0x6cb3('0x2'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19['editing']['downcastDispatcher']['on'](_0x6cb3('0xc'),re(_0x3eef19),{'priority':_0x6cb3('0x5')}),_0x3eef19[_0x6cb3('0x1d')][_0x6cb3('0x19')]['on'](_0x6cb3('0x15'),(_0x58a594,_0x39c983,_0x41ebb4)=>{_0x41ebb4[_0x6cb3('0xe')][_0x6cb3('0xb')]&&re(_0x3eef19,{'showActiveMarker':!0x1})(_0x58a594,_0x39c983,_0x41ebb4);}),_0x182c5f[_0x6cb3('0x11')]['registerElementLabel'](_0x6cb3('0xf'),_0xb87719=>_0x10a4d8(_0x3eef19[_0x6cb3('0x3')],_0x6cb3('0x1f'),_0xb87719));}}function re(_0x233732,{showActiveMarker:_0x21dbbf=!0x0}={}){return(_0x49ab9d,_0x1fbefd,_0x1f0204)=>{const _0x2e147f=_0x233732[_0x6cb3('0x8')][_0x6cb3('0x14')]('TrackChangesEditing');if(!_0x1f0204[_0x6cb3('0x18')]['test'](_0x1fbefd['markerRange'],_0x49ab9d[_0x6cb3('0x7')]))return;const _0x32e7ff=_0x233732['model'];for(const _0x1da7bd of _0x1fbefd['markerRange'][_0x6cb3('0x16')]()){if(!_0x1da7bd['is']('element',_0x6cb3('0xf')))continue;const _0x213570='deletion'==_0x1fbefd['markerName']['split'](':')[0x1]?_0x6cb3('0x13'):_0x6cb3('0xd'),_0x234f48=_0x1f0204[_0x6cb3('0x17')][_0x6cb3('0x1e')](_0x6cb3('0x1'),{'class':_0x6cb3('0xa')+_0x213570}),_0x2197f3=_0x1f0204[_0x6cb3('0x10')]['toViewPosition'](_0x32e7ff['createPositionBefore'](_0x1da7bd));_0x21dbbf&&_0x2e147f['activeMarkers'][_0x6cb3('0x1b')](_0x1fbefd[_0x6cb3('0x9')])&&_0x1f0204[_0x6cb3('0x17')]['addClass'](_0x6cb3('0x1a'),_0x234f48),_0x1f0204['writer']['insert'](_0x2197f3,_0x234f48),_0x1f0204[_0x6cb3('0x10')][_0x6cb3('0x12')](_0x234f48,_0x1fbefd[_0x6cb3('0x9')]);}};}
@@ -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/mention
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 standard editing mode feature from restricted editing package.
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 _0x10fc=['change','markInlineFormat','get','enableCommand','document','selection','isCollapsed','forceValue','editor','registerDescriptionCallback','has','FORMAT_RESTRICTED_ENABLED','model','afterInit','plugins','commandName','from','restrictedEditingException','commands','TrackChangesEditing','commandParams','_descriptionFactory','getRanges'];(function(_0x1124f0,_0x10fcd2){const _0x510784=function(_0x52b73e){while(--_0x52b73e){_0x1124f0['push'](_0x1124f0['shift']());}};_0x510784(++_0x10fcd2);}(_0x10fc,0xac));const _0x5107=function(_0x1124f0,_0x10fcd2){_0x1124f0=_0x1124f0-0x0;let _0x510784=_0x10fc[_0x1124f0];return _0x510784;};import{Plugin as _0x169456}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x39fe83}from'./utils.js';import{getTranslation as _0x5409a7}from'../utils/common-translations.js';export default class lt extends _0x169456{[_0x5107('0x2')](){const _0xf5cd25=this[_0x5107('0x14')],_0x355811=_0xf5cd25[_0x5107('0x1')],_0x1639e9=_0xf5cd25['locale'];if(!_0xf5cd25[_0x5107('0x3')][_0x5107('0x16')]('StandardEditingModeEditing'))return;const _0x3f2aef=_0xf5cd25[_0x5107('0x3')][_0x5107('0xe')](_0x5107('0x8')),_0xed5aac=_0x5107('0x6'),_0x1981d9=_0xf5cd25[_0x5107('0x7')][_0x5107('0xe')](_0xed5aac);_0x3f2aef[_0x5107('0xf')](_0xed5aac,(_0x330be3,_0x33ae70={})=>{const _0x83010=_0x355811[_0x5107('0x10')][_0x5107('0x11')];if(_0x83010[_0x5107('0x12')])return void _0x330be3(_0x33ae70);const _0x2c97ec=void 0x0!==_0x33ae70['forceValue']?_0x33ae70[_0x5107('0x13')]:!_0x1981d9['value'];_0x355811[_0x5107('0xc')](()=>{const _0x15d4e9=Array[_0x5107('0x5')](_0x83010[_0x5107('0xb')]());for(const _0x403272 of _0x15d4e9){const _0x43e8d0=_0x2c97ec?[_0x403272]:_0x39fe83(_0xed5aac,_0x403272,_0x355811);for(const _0x3bb978 of _0x43e8d0)_0x3f2aef[_0x5107('0xd')](_0x3bb978,{'commandName':_0xed5aac,'commandParams':[{'forceValue':_0x2c97ec}]});}});}),_0x3f2aef[_0x5107('0xa')][_0x5107('0x15')](_0x2ea096=>{const {data:_0x2b6197}=_0x2ea096;if(_0x2b6197&&_0x2b6197[_0x5107('0x4')]==_0xed5aac)return _0x2b6197[_0x5107('0x9')][0x0][_0x5107('0x13')]?{'type':'format','content':_0x5409a7(_0x1639e9,_0x5107('0x0'))}:{'type':'format','content':_0x5409a7(_0x1639e9,'FORMAT_RESTRICTED_DISABLED')};});}}
23
+ const _0x40df=['model','_descriptionFactory','commands','value','isCollapsed','format','enableCommand','restrictedEditingException','plugins','commandName','document','FORMAT_RESTRICTED_DISABLED','get','editor','selection','forceValue','has','TrackChangesEditing'];(function(_0x1107e2,_0x40df9b){const _0x486e86=function(_0x41976c){while(--_0x41976c){_0x1107e2['push'](_0x1107e2['shift']());}};_0x486e86(++_0x40df9b);}(_0x40df,0xab));const _0x486e=function(_0x1107e2,_0x40df9b){_0x1107e2=_0x1107e2-0x0;let _0x486e86=_0x40df[_0x1107e2];return _0x486e86;};import{Plugin as _0x5c3156}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x35ba74}from'./utils';import{getTranslation as _0x577dd8}from'../utils/common-translations';export default class lt extends _0x5c3156{['afterInit'](){const _0xf5bce7=this[_0x486e('0x4')],_0x135ba0=_0xf5bce7[_0x486e('0x9')],_0x22b679=_0xf5bce7['locale'];if(!_0xf5bce7[_0x486e('0x11')][_0x486e('0x7')]('StandardEditingModeEditing'))return;const _0x59d714=_0xf5bce7[_0x486e('0x11')]['get'](_0x486e('0x8')),_0x40b004=_0x486e('0x10'),_0x28afa6=_0xf5bce7[_0x486e('0xb')][_0x486e('0x3')](_0x40b004);_0x59d714[_0x486e('0xf')](_0x40b004,(_0x3dda67,_0x1bfc1c={})=>{const _0xc8680c=_0x135ba0[_0x486e('0x1')][_0x486e('0x5')];if(_0xc8680c[_0x486e('0xd')])return void _0x3dda67(_0x1bfc1c);const _0x22b2bc=void 0x0!==_0x1bfc1c[_0x486e('0x6')]?_0x1bfc1c['forceValue']:!_0x28afa6[_0x486e('0xc')];_0x135ba0['change'](()=>{const _0x3f452f=Array['from'](_0xc8680c['getRanges']());for(const _0x3769d3 of _0x3f452f){const _0x3fdc75=_0x22b2bc?[_0x3769d3]:_0x35ba74(_0x40b004,_0x3769d3,_0x135ba0);for(const _0x97b48e of _0x3fdc75)_0x59d714['markInlineFormat'](_0x97b48e,{'commandName':_0x40b004,'commandParams':[{'forceValue':_0x22b2bc}]});}});}),_0x59d714[_0x486e('0xa')]['registerDescriptionCallback'](_0x599ae6=>{const {data:_0x3896ed}=_0x599ae6;if(_0x3896ed&&_0x3896ed[_0x486e('0x0')]==_0x40b004)return _0x3896ed['commandParams'][0x0][_0x486e('0x6')]?{'type':_0x486e('0xe'),'content':_0x577dd8(_0x22b679,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x577dd8(_0x22b679,_0x486e('0x2'))};});}}
@@ -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/style
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 styles dropdown feature.
7
11
  * @todo Remove "any" casts after plugin has been rewritten to TS.