@ckeditor/ckeditor5-track-changes 38.2.0-alpha.0 → 38.2.0-alpha.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 (130) hide show
  1. package/build/track-changes.js +2 -2
  2. package/package.json +3 -3
  3. package/src/augmentation.d.ts +2 -2
  4. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  7. package/src/commands/discardsuggestioncommand.js +1 -1
  8. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  11. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  12. package/src/commands/trackchangescommand.d.ts +1 -1
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/index.d.ts +12 -12
  15. package/src/index.js +1 -1
  16. package/src/integrations/alignment.d.ts +1 -1
  17. package/src/integrations/alignment.js +1 -1
  18. package/src/integrations/basicstyles.d.ts +1 -1
  19. package/src/integrations/basicstyles.js +1 -1
  20. package/src/integrations/blockquote.d.ts +1 -1
  21. package/src/integrations/blockquote.js +1 -1
  22. package/src/integrations/ckbox.d.ts +1 -1
  23. package/src/integrations/ckbox.js +1 -1
  24. package/src/integrations/codeblock.d.ts +1 -1
  25. package/src/integrations/codeblock.js +1 -1
  26. package/src/integrations/comments.d.ts +1 -1
  27. package/src/integrations/comments.js +1 -1
  28. package/src/integrations/deletecommand.d.ts +2 -2
  29. package/src/integrations/deletecommand.js +1 -1
  30. package/src/integrations/documentlist.d.ts +1 -1
  31. package/src/integrations/documentlist.js +1 -1
  32. package/src/integrations/documentlistproperties.d.ts +3 -3
  33. package/src/integrations/documentlistproperties.js +1 -1
  34. package/src/integrations/entercommand.d.ts +2 -2
  35. package/src/integrations/entercommand.js +1 -1
  36. package/src/integrations/findandreplace.d.ts +1 -1
  37. package/src/integrations/findandreplace.js +1 -1
  38. package/src/integrations/font.d.ts +1 -1
  39. package/src/integrations/font.js +1 -1
  40. package/src/integrations/formatpainter.d.ts +1 -1
  41. package/src/integrations/formatpainter.js +1 -1
  42. package/src/integrations/heading.d.ts +1 -1
  43. package/src/integrations/heading.js +1 -1
  44. package/src/integrations/highlight.d.ts +1 -1
  45. package/src/integrations/highlight.js +1 -1
  46. package/src/integrations/horizontalline.d.ts +1 -1
  47. package/src/integrations/horizontalline.js +1 -1
  48. package/src/integrations/htmlembed.d.ts +1 -1
  49. package/src/integrations/htmlembed.js +1 -1
  50. package/src/integrations/image.d.ts +1 -1
  51. package/src/integrations/image.js +1 -1
  52. package/src/integrations/imagereplace.d.ts +3 -3
  53. package/src/integrations/imagereplace.js +1 -1
  54. package/src/integrations/importword.d.ts +1 -1
  55. package/src/integrations/importword.js +1 -1
  56. package/src/integrations/indent.d.ts +1 -1
  57. package/src/integrations/indent.js +1 -1
  58. package/src/integrations/inputcommand.d.ts +2 -2
  59. package/src/integrations/inputcommand.js +1 -1
  60. package/src/integrations/link.d.ts +1 -1
  61. package/src/integrations/link.js +1 -1
  62. package/src/integrations/list.d.ts +1 -1
  63. package/src/integrations/list.js +1 -1
  64. package/src/integrations/listproperties.d.ts +3 -3
  65. package/src/integrations/listproperties.js +1 -1
  66. package/src/integrations/mediaembed.d.ts +1 -1
  67. package/src/integrations/mediaembed.js +1 -1
  68. package/src/integrations/mention.d.ts +1 -1
  69. package/src/integrations/mention.js +1 -1
  70. package/src/integrations/pagebreak.d.ts +1 -1
  71. package/src/integrations/pagebreak.js +1 -1
  72. package/src/integrations/paragraph.d.ts +1 -1
  73. package/src/integrations/paragraph.js +1 -1
  74. package/src/integrations/removeformat.d.ts +1 -1
  75. package/src/integrations/removeformat.js +1 -1
  76. package/src/integrations/restrictededitingmode.d.ts +1 -1
  77. package/src/integrations/restrictededitingmode.js +1 -1
  78. package/src/integrations/shiftentercommand.d.ts +2 -2
  79. package/src/integrations/shiftentercommand.js +1 -1
  80. package/src/integrations/standardeditingmode.d.ts +1 -1
  81. package/src/integrations/standardeditingmode.js +1 -1
  82. package/src/integrations/style.d.ts +1 -1
  83. package/src/integrations/style.js +1 -1
  84. package/src/integrations/table.d.ts +1 -1
  85. package/src/integrations/table.js +1 -1
  86. package/src/integrations/tablecaption.d.ts +2 -2
  87. package/src/integrations/tablecaption.js +1 -1
  88. package/src/integrations/tableclipboard.d.ts +2 -2
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tablecolumnresize.d.ts +4 -4
  91. package/src/integrations/tablecolumnresize.js +1 -1
  92. package/src/integrations/tableheadings.d.ts +2 -2
  93. package/src/integrations/tableheadings.js +1 -1
  94. package/src/integrations/tablemergesplit.d.ts +2 -2
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.d.ts +1 -1
  97. package/src/integrations/tableofcontents.js +1 -1
  98. package/src/integrations/tableproperties.d.ts +4 -4
  99. package/src/integrations/tableproperties.js +1 -1
  100. package/src/integrations/template.d.ts +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.d.ts +1 -1
  103. package/src/integrations/title.js +1 -1
  104. package/src/integrations/undo.d.ts +1 -1
  105. package/src/integrations/undo.js +1 -1
  106. package/src/integrations/utils.d.ts +3 -3
  107. package/src/integrations/utils.js +1 -1
  108. package/src/suggestion.d.ts +5 -5
  109. package/src/suggestion.js +1 -1
  110. package/src/suggestiondescriptionfactory.d.ts +15 -3
  111. package/src/suggestiondescriptionfactory.js +1 -1
  112. package/src/trackchanges.d.ts +6 -6
  113. package/src/trackchanges.js +1 -1
  114. package/src/trackchangesconfig.d.ts +1 -1
  115. package/src/trackchangesdata.d.ts +4 -4
  116. package/src/trackchangesdata.js +1 -1
  117. package/src/trackchangesediting.d.ts +51 -51
  118. package/src/trackchangesediting.js +1 -1
  119. package/src/trackchangesui.d.ts +3 -3
  120. package/src/trackchangesui.js +1 -1
  121. package/src/ui/suggestioncontroller.d.ts +5 -5
  122. package/src/ui/suggestioncontroller.js +1 -1
  123. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  124. package/src/ui/view/basesuggestionthreadview.js +1 -1
  125. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  126. package/src/ui/view/suggestionthreadview.js +1 -1
  127. package/src/utils/common-translations.d.ts +1 -1
  128. package/src/utils/common-translations.js +1 -1
  129. package/src/utils/utils.d.ts +4 -4
  130. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d1b=['*Format:*\x20insert\x20into\x20%0','ELEMENT_NUMBERED_LIST','indentList','createPositionAt','*Merge:*\x20%0','documentList','markBlockFormat','registerDescriptionCallback','previousSibling','listIndent','markMultiRangeBlockFormat','ELEMENT_BULLETED_LIST','fromRange','detach','getSelectedBlocks','_LIST','enableCommand','getAttribute','afterInit','format','_suggestionFactory','slice','start','has','next','nextSibling','splitListItemBefore','createRange','ELEMENT_','*Change\x20to:*\x20%0','document','add','mergeListItemBackward','hasAttribute','forceValue','before','nodeAfter','registerCustomCallback','editor','listType','isObject','get','expandListBlocksToCompleteList','DocumentListEditing','execute','getFirstRange','setSelection','bulletedList','plugins','push','commandParams','value','mergeListItemForward','map','numberedList','refresh','formatBlock','listItemId','model','commands','TrackChangesEditing','containsItem','*Format:*\x20remove\x20from\x20%0','isFirstBlockOfListItem','multipleBlocks','ELEMENT_LIST_ITEM','change','from','selection','_descriptionFactory','commandName','splitListItemAfter','outdentList','toUpperCase'];(function(_0x180fbc,_0x2d1b4d){const _0x118a2d=function(_0x3f65fe){while(--_0x3f65fe){_0x180fbc['push'](_0x180fbc['shift']());}};_0x118a2d(++_0x2d1b4d);}(_0x2d1b,0xc9));const _0x118a=function(_0x180fbc,_0x2d1b4d){_0x180fbc=_0x180fbc-0x0;let _0x118a2d=_0x2d1b[_0x180fbc];return _0x118a2d;};import{Plugin as _0x2a8883}from'ckeditor5/src/core';import{getTranslation as _0x64a521}from'../utils/common-translations';import{LiveRange as _0x28608b}from'ckeditor5/src/engine';export default class L extends _0x2a8883{[_0x118a('0x27')](){const _0x52a2e4=this[_0x118a('0x3b')];if(!_0x52a2e4[_0x118a('0x45')][_0x118a('0x2c')](_0x118a('0x40')))return;const _0x5a5bac=_0x52a2e4['locale'],_0x15d5ab=_0x52a2e4[_0x118a('0x45')][_0x118a('0x3e')](_0x118a('0x7')),_0x9bcb8e=_0x52a2e4[_0x118a('0x45')][_0x118a('0x3e')]('DocumentListUtils');function _0x1ccd91(_0x15513a){return()=>{const _0x1d6573=_0x52a2e4[_0x118a('0x6')][_0x118a('0x3e')](_0x15513a);let _0x24daa9=Array['from'](_0x52a2e4['model'][_0x118a('0x33')][_0x118a('0xf')][_0x118a('0x23')]());if(_0x29ffc1(_0x15513a)){_0x24daa9=_0x9bcb8e[_0x118a('0x3f')](_0x24daa9);const _0x33e8fa=[];for(const _0x12019e of _0x24daa9)_0x9bcb8e[_0x118a('0xa')](_0x12019e)&&_0x33e8fa[_0x118a('0x46')](_0x12019e);_0x24daa9=_0x33e8fa;}_0x52a2e4['model'][_0x118a('0xd')](()=>{_0x15d5ab[_0x118a('0x1f')](_0x24daa9,{'commandName':_0x15513a,'commandParams':[{'forceValue':!_0x1d6573['value']}],'formatGroupId':_0x118a('0x3c')},[],_0x118a('0x1a'));});};}function _0x26b8a3(_0x47bbaa){return()=>{const _0x8e03a8=function(_0x1ee92d){let _0x1a6540=Array['from'](_0x1ee92d);const _0x249261=_0x1a6540['findIndex'](_0x3add4b=>!_0x3add4b[_0x118a('0x36')](_0x118a('0x4')));return _0x249261>-0x1&&(_0x1a6540=_0x1a6540[_0x118a('0x2a')](0x0,_0x249261)),_0x1a6540;}(_0x52a2e4[_0x118a('0x5')]['document'][_0x118a('0xf')][_0x118a('0x23')]()),_0x1c0db1=_0x8e03a8[_0x8e03a8['length']-0x1],_0x3a3b16=_0x52a2e4[_0x118a('0x5')]['schema'][_0x118a('0x3d')](_0x1c0db1)?'after':'end',_0x1d678e=_0x52a2e4[_0x118a('0x5')]['createRange'](_0x52a2e4[_0x118a('0x5')][_0x118a('0x18')](_0x8e03a8[0x0],_0x118a('0x38')),_0x52a2e4['model'][_0x118a('0x18')](_0x1c0db1,_0x3a3b16));_0x52a2e4[_0x118a('0x5')][_0x118a('0xd')](()=>{_0x15d5ab[_0x118a('0x1b')](_0x1d678e,{'commandName':_0x47bbaa,'commandParams':[],'formatGroupId':_0x118a('0x3c')},function(_0x32ef5f){const _0x10943d=new Set();for(const _0x388dbe of _0x32ef5f){let _0x525ccb=_0x388dbe[_0x118a('0x2e')];for(;_0x525ccb&&_0x525ccb[_0x118a('0x26')](_0x118a('0x1e'))>_0x388dbe['getAttribute'](_0x118a('0x1e'));)_0x10943d[_0x118a('0x34')](_0x525ccb),_0x525ccb=_0x525ccb[_0x118a('0x2e')];}return Array[_0x118a('0xe')](_0x10943d);}(_0x8e03a8));});};}function _0x5d1c99(_0x3c710f){return()=>{const _0x2b7f8d=_0x52a2e4['model']['document']['selection'][_0x118a('0x23')]()[_0x118a('0x2d')]()[_0x118a('0x48')],_0x274ea6=_0x52a2e4['model'][_0x118a('0x18')](_0x2b7f8d,_0x118a('0x38')),_0x45049a=_0x52a2e4['model']['createPositionAt'](_0x2b7f8d,0x0),_0xa77920=_0x52a2e4[_0x118a('0x5')][_0x118a('0x30')](_0x274ea6,_0x45049a);_0x52a2e4['model'][_0x118a('0xd')](()=>{_0x15d5ab['markBlockFormat'](_0xa77920,{'commandName':_0x3c710f,'commandParams':[],'formatGroupId':'listType'});});};}function _0x29ffc1(_0x4a0cfe){const _0x4dd90f=_0x52a2e4['commands'][_0x118a('0x3e')]('bulletedList')[_0x118a('0x48')],_0x56c98e=_0x52a2e4[_0x118a('0x6')][_0x118a('0x3e')](_0x118a('0x1'))[_0x118a('0x48')];return _0x118a('0x1')===_0x4a0cfe?_0x4dd90f:_0x56c98e;}_0x15d5ab['enableCommand']('numberedList',_0x1ccd91('numberedList')),_0x15d5ab[_0x118a('0x25')](_0x118a('0x44'),_0x1ccd91(_0x118a('0x44'))),_0x15d5ab[_0x118a('0x25')](_0x118a('0x17'),_0x26b8a3(_0x118a('0x17'))),_0x15d5ab['enableCommand'](_0x118a('0x13'),_0x26b8a3(_0x118a('0x13'))),_0x15d5ab['enableCommand']('splitListItemAfter',_0x5d1c99(_0x118a('0x12'))),_0x15d5ab[_0x118a('0x25')](_0x118a('0x2f'),_0x5d1c99(_0x118a('0x2f'))),_0x15d5ab[_0x118a('0x10')]['registerElementLabel'](function(_0x4dcb88){const _0x2cb1dd=!_0x52a2e4['model']['schema'][_0x118a('0x3d')](_0x4dcb88),_0x5f4354=_0x4dcb88[_0x118a('0x1d')],_0x217b86=_0x4dcb88[_0x118a('0x2e')],_0x5ee0ba=_0x4dcb88[_0x118a('0x26')](_0x118a('0x4')),_0x50ef5d=!_0x5f4354||_0x5f4354[_0x118a('0x26')](_0x118a('0x4'))!==_0x5ee0ba,_0x560b57=!_0x217b86||_0x217b86[_0x118a('0x26')](_0x118a('0x4'))!==_0x5ee0ba;return _0x2cb1dd&&Boolean(_0x5ee0ba)&&_0x50ef5d&&_0x560b57;},_0x5e8fb1=>_0x64a521(_0x5a5bac,_0x118a('0xc'),_0x5e8fb1)),_0x15d5ab[_0x118a('0x10')][_0x118a('0x1c')](function(_0x174097){const {data:_0x5792a3}=_0x174097;if(!_0x5792a3)return;let _0x578361,_0x2c8056,_0x44080f,_0x3e1262;switch(_0x5792a3[_0x118a('0x11')]){case'bulletedList':_0x44080f=_0x5792a3['commandParams'][0x0][_0x118a('0x37')],_0x3e1262=_0x29ffc1(_0x5792a3['commandName']),_0x578361=_0x44080f?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',_0x3e1262&&(_0x578361=_0x118a('0x32')),_0x2c8056={'type':_0x118a('0x28'),'content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,_0x118a('0x20')))};break;case _0x118a('0x1'):_0x44080f=_0x5792a3['commandParams'][0x0][_0x118a('0x37')],_0x3e1262=_0x29ffc1(_0x5792a3[_0x118a('0x11')]),_0x578361=_0x44080f?_0x118a('0x15'):'*Format:*\x20remove\x20from\x20%0',_0x3e1262&&(_0x578361=_0x118a('0x32')),_0x2c8056={'type':'format','content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,_0x118a('0x16')))};break;case'indentList':_0x578361='*Indent:*\x20%0',_0x2c8056={'type':'format','content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,_0x118a('0xc')))};break;case _0x118a('0x13'):_0x578361=function(_0x593211){const _0x1637a5=_0x593211['getFirstRange']();let _0x2837b9=_0x1637a5[_0x118a('0x2b')][_0x118a('0x39')];for(;_0x2837b9&&_0x1637a5[_0x118a('0x8')](_0x2837b9);){if(_0x2837b9[_0x118a('0x26')]('listIndent')>0x0)return!0x1;_0x2837b9=_0x2837b9[_0x118a('0x2e')];}return!0x0;}(_0x174097)?_0x64a521(_0x5a5bac,_0x118a('0x9'),_0x64a521(_0x5a5bac,function(_0x5bfba9){const _0x4d01e2=_0x5bfba9[_0x118a('0x42')]()[_0x118a('0x2b')][_0x118a('0x39')];return _0x118a('0x31')+_0x4d01e2['getAttribute'](_0x118a('0x3c'))[_0x118a('0x14')]()+_0x118a('0x24');}(_0x174097))):_0x64a521(_0x5a5bac,'*Outdent:*\x20%0',_0x64a521(_0x5a5bac,_0x118a('0xc'))),_0x2c8056={'type':'format','content':_0x578361};break;case _0x118a('0x35'):case _0x118a('0x49'):!0x1===_0x5792a3[_0x118a('0xb')]&&(_0x578361=_0x118a('0x19'),_0x2c8056={'type':'deletion','content':_0x64a521(_0x5a5bac,_0x578361,_0x64a521(_0x5a5bac,'ELEMENT_LIST_ITEM'))});}return _0x2c8056;}),_0x15d5ab[_0x118a('0x29')][_0x118a('0x3a')](_0x118a('0x3'),_0x118a('0x1a'),'accept',function(_0x4c003b,_0xc371d4){const _0x514d4c=[];for(let _0x3d8526 of _0x4c003b)_0x3d8526[_0x118a('0x2b')][_0x118a('0x39')]===_0x3d8526['end']['parent']&&(_0x3d8526=_0x52a2e4[_0x118a('0x5')]['createRange'](_0x52a2e4[_0x118a('0x5')]['createPositionAt'](_0x3d8526[_0x118a('0x2b')][_0x118a('0x39')],0x0))),_0x514d4c[_0x118a('0x46')](_0x3d8526);_0x52a2e4['model']['change'](_0x2a04c3=>{const _0xebf79=_0x52a2e4[_0x118a('0x5')][_0x118a('0x33')][_0x118a('0xf')],_0x4e6a54=Array[_0x118a('0xe')](_0xebf79['getRanges']())[_0x118a('0x0')](_0x4c2e4c=>_0x28608b[_0x118a('0x21')](_0x4c2e4c));_0x2a04c3[_0x118a('0x43')](_0x514d4c),_0x52a2e4[_0x118a('0x6')]['get'](_0xc371d4[_0x118a('0x11')])[_0x118a('0x2')](),_0xc371d4[_0x118a('0x47')]['push']({'forceDefaultExecution':!0x0}),_0x52a2e4[_0x118a('0x41')](_0xc371d4[_0x118a('0x11')],..._0xc371d4['commandParams']),_0x2a04c3[_0x118a('0x43')](_0x4e6a54);for(const _0x2a870c of _0x4e6a54)_0x2a870c[_0x118a('0x22')]();});});}}
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')]();});});}}
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @module track-changes/integrations/documentlistproperties
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import type { Description } from '../suggestiondescriptionfactory';
6
- import type Suggestion from '../suggestion';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
+ import type { Description } from '../suggestiondescriptionfactory.js';
6
+ import type Suggestion from '../suggestion.js';
7
7
  /**
8
8
  * Provides track changes plugin integration for document list properties feature.
9
9
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1055=['handleListStartCommand','locale','listReversed','DocumentListPropertiesEditing','toUpperCase','handleListReversedCommand','*Change\x20to:*\x20%0','commandName','enableCommand','handleListStyleCommand','config','replace','isListItemBlock','editor','change','afterInit','bind','plugins','format','isFirstBlockOfListItem','styles','_getTranslationKeyForListStyle','_getSuggestionBlocks','numbered','*Format:*\x20set\x20order\x20to\x20regular','reversed','listType','getAttribute','commandParams','type','get','selection','DocumentListUtils','listStart','_getSuggestionBlocksForListStyle','from','TrackChangesEditing','markMultiRangeBlockFormat','push','handleDescriptions','getSelectedBlocks','document','listStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','getListTypeFromListStyleType','model','expandListBlocksToCompleteList','length'];(function(_0x2dbaae,_0x105563){const _0x52c737=function(_0x47ccaf){while(--_0x47ccaf){_0x2dbaae['push'](_0x2dbaae['shift']());}};_0x52c737(++_0x105563);}(_0x1055,0x124));const _0x52c7=function(_0x2dbaae,_0x105563){_0x2dbaae=_0x2dbaae-0x0;let _0x52c737=_0x1055[_0x2dbaae];return _0x52c737;};import{Plugin as _0x1a4de5}from'ckeditor5/src/core';import{getTranslation as _0x35a80d}from'../utils/common-translations';export default class At extends _0x1a4de5{[_0x52c7('0xb')](){if(!this[_0x52c7('0x9')][_0x52c7('0xd')]['has'](_0x52c7('0x2f')))return;const _0xdeac6c=this[_0x52c7('0x9')][_0x52c7('0x6')][_0x52c7('0x1a')]('list.properties'),_0x40e9dc=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x20'));_0xdeac6c[_0x52c7('0x10')]&&_0x40e9dc['enableCommand'](_0x52c7('0x26'),this[_0x52c7('0x5')][_0x52c7('0xc')](this)),_0xdeac6c[_0x52c7('0x15')]&&_0x40e9dc[_0x52c7('0x4')](_0x52c7('0x2e'),this['handleListReversedCommand']['bind'](this)),_0xdeac6c['startIndex']&&_0x40e9dc[_0x52c7('0x4')](_0x52c7('0x1d'),this[_0x52c7('0x2c')][_0x52c7('0xc')](this)),_0x40e9dc['_descriptionFactory']['registerDescriptionCallback'](this[_0x52c7('0x23')]['bind'](this));}[_0x52c7('0x5')](_0xa642f1,_0x177611={}){const _0x488ec7=this[_0x52c7('0x9')][_0x52c7('0xd')]['get'](_0x52c7('0x20')),_0x4fb6e5=this[_0x52c7('0x1e')]();this['editor']['model'][_0x52c7('0xa')](()=>{_0x488ec7[_0x52c7('0x21')](_0x4fb6e5,{'commandName':_0x52c7('0x26'),'commandParams':[{'type':_0x177611[_0x52c7('0x19')]}],'formatGroupId':'listStyle'});});}[_0x52c7('0x1')](_0x1d7db3,_0x43ec8a={}){const _0x1ef2a1=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x20')),_0x26256c=this['editor']['plugins'][_0x52c7('0x1a')](_0x52c7('0x1c')),_0x2e3208=this['_getSuggestionBlocks'](_0x463303=>_0x26256c[_0x52c7('0x8')](_0x463303)&&_0x52c7('0x13')===_0x463303['getAttribute'](_0x52c7('0x16')));null!==_0x2e3208&&this[_0x52c7('0x9')][_0x52c7('0x29')]['change'](()=>{_0x1ef2a1[_0x52c7('0x21')](_0x2e3208,{'commandName':_0x52c7('0x2e'),'commandParams':[{'reversed':_0x43ec8a[_0x52c7('0x15')]}],'formatGroupId':_0x52c7('0x2e')});});}[_0x52c7('0x2c')](_0x2ce6ea,_0x54e73e={}){const _0x3b8f8c=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x20')),_0x55194d=this[_0x52c7('0x9')][_0x52c7('0xd')]['get'](_0x52c7('0x1c')),_0x5dbe58=this[_0x52c7('0x12')](_0xfc1fb7=>_0x55194d[_0x52c7('0x8')](_0xfc1fb7)&&_0x52c7('0x13')===_0xfc1fb7[_0x52c7('0x17')](_0x52c7('0x16')));null!==_0x5dbe58&&this['editor'][_0x52c7('0x29')][_0x52c7('0xa')](()=>{_0x3b8f8c[_0x52c7('0x21')](_0x5dbe58,{'commandName':_0x52c7('0x1d'),'commandParams':[{'startIndex':_0x54e73e['startIndex']}],'formatGroupId':_0x52c7('0x1d')});});}['handleDescriptions'](_0x35eab7){const _0x4cfa50=this[_0x52c7('0x9')][_0x52c7('0x2d')],{data:_0x4a2aec}=_0x35eab7;if(!_0x4a2aec)return;let _0x109a1a,_0x7df5f0;switch(_0x4a2aec[_0x52c7('0x3')]){case _0x52c7('0x26'):_0x109a1a=_0x52c7('0x2'),_0x7df5f0={'type':_0x52c7('0xe'),'content':_0x35a80d(_0x4cfa50,_0x109a1a,_0x35a80d(_0x4cfa50,this[_0x52c7('0x11')](_0x4a2aec[_0x52c7('0x18')][0x0]['type'])))};break;case'listReversed':_0x109a1a=_0x4a2aec['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x52c7('0x14'),_0x7df5f0={'type':'format','content':_0x35a80d(_0x4cfa50,_0x109a1a)};break;case'listStart':_0x109a1a=_0x52c7('0x27'),_0x7df5f0={'type':_0x52c7('0xe'),'content':_0x35a80d(_0x4cfa50,_0x109a1a,_0x4a2aec[_0x52c7('0x18')][0x0]['startIndex'])};}return _0x7df5f0;}['_getSuggestionBlocksForListStyle'](){const _0x5e4626=this['editor']['plugins'][_0x52c7('0x1a')]('DocumentListUtils');let _0xc68871=Array[_0x52c7('0x1f')](this[_0x52c7('0x9')]['model'][_0x52c7('0x25')][_0x52c7('0x1b')][_0x52c7('0x24')]());return _0xc68871[_0x52c7('0x22')](..._0x5e4626[_0x52c7('0x2a')](_0xc68871)),_0xc68871=[...new Set(_0xc68871)],_0xc68871;}[_0x52c7('0x12')](_0x547f32){const _0x40e460=this[_0x52c7('0x9')][_0x52c7('0xd')][_0x52c7('0x1a')](_0x52c7('0x1c'));let _0x42a3b3=Array[_0x52c7('0x1f')](this['editor']['model']['document'][_0x52c7('0x1b')][_0x52c7('0x24')]())['filter'](_0x547f32);if(!_0x42a3b3[_0x52c7('0x2b')])return null;_0x42a3b3=_0x40e460[_0x52c7('0x2a')](_0x42a3b3);const _0xd473d2=[];for(const _0x56a03e of _0x42a3b3)_0x40e460[_0x52c7('0xf')](_0x56a03e)&&_0xd473d2[_0x52c7('0x22')](_0x56a03e);return _0xd473d2;}['_getTranslationKeyForListStyle'](_0x5f2c81){return'ELEMENT_'+this['editor'][_0x52c7('0xd')][_0x52c7('0x1a')]('DocumentListPropertiesUtils')[_0x52c7('0x28')](_0x5f2c81)[_0x52c7('0x0')]()+'_LIST_'+_0x5f2c81[_0x52c7('0x0')]()[_0x52c7('0x7')](/-/g,'_');}}
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,'_');}}
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @module track-changes/integrations/entercommand
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import { Enter } from 'ckeditor5/src/enter';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
+ import { Enter } from 'ckeditor5/src/enter.js';
6
6
  /**
7
7
  * Provides track changes plugin integration for {@link module:enter/entercommand~EnterCommand enter command}.
8
8
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41a5=['model','mapper','document','writer','editor','getFirstRange','createRange','markInsertion','detach','enter','nextSibling','createPositionAt','downcastDispatcher','addMarker:suggestion:insertion','markerNameToElements','markerName','hasClass','split','commands','afterExecute','enableCommand','high','getFirstPosition','end','selection','plugins','TrackChangesEditing','data','removeMarker:suggestion:insertion','enterBlock','change','get','fire','editing'];(function(_0x1bee8e,_0x41a5d6){const _0x3284ca=function(_0x4afbfd){while(--_0x4afbfd){_0x1bee8e['push'](_0x1bee8e['shift']());}};_0x3284ca(++_0x41a5d6);}(_0x41a5,0xd9));const _0x3284=function(_0x1bee8e,_0x41a5d6){_0x1bee8e=_0x1bee8e-0x0;let _0x3284ca=_0x41a5[_0x1bee8e];return _0x3284ca;};import{Plugin as _0x271d73}from'ckeditor5/src/core';import{Enter as _0x887424}from'ckeditor5/src/enter';import{LiveRange as _0x1f9dfa}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x121080}from'./utils';export default class q extends _0x271d73{static get['requires'](){return[_0x887424];}['init'](){const _0xbb6bb4=this[_0x3284('0x19')],_0x27e8ac=_0xbb6bb4[_0x3284('0xc')][_0x3284('0x12')](_0x3284('0xd')),_0x5c9a9d=_0xbb6bb4[_0x3284('0x5')][_0x3284('0x12')](_0x3284('0x1e'));_0x27e8ac[_0x3284('0x7')](_0x3284('0x1e'),()=>{_0xbb6bb4[_0x3284('0x15')][_0x3284('0x11')](_0x22cf20=>{const _0x5277c2=_0xbb6bb4[_0x3284('0x15')][_0x3284('0x17')][_0x3284('0xb')],_0x1a96bf=_0x5277c2[_0x3284('0x9')](),_0x35def9=_0x1f9dfa['fromRange'](_0x5277c2[_0x3284('0x1a')]());if(_0x5c9a9d[_0x3284('0x10')](_0x22cf20)){const _0x2c44fd=_0xbb6bb4[_0x3284('0x15')][_0x3284('0x20')](_0x1a96bf['parent'][_0x3284('0x1f')],0x0),_0x234ab4=_0x22cf20['createRange'](_0x1a96bf,_0x2c44fd);_0x27e8ac[_0x3284('0x1c')](_0x234ab4);}else _0x22cf20['setSelection'](_0x22cf20[_0x3284('0x1b')](_0x35def9[_0x3284('0xa')]));_0x35def9[_0x3284('0x1d')](),_0x5c9a9d[_0x3284('0x13')](_0x3284('0x6'),{'writer':_0x22cf20});});}),_0xbb6bb4[_0x3284('0x14')][_0x3284('0x21')]['on'](_0x3284('0x0'),_0x121080(_0xbb6bb4,_0x3284('0x4')),{'priority':_0x3284('0x8')}),_0xbb6bb4[_0x3284('0x14')][_0x3284('0x21')]['on'](_0x3284('0xf'),(_0x15b04c,_0x2383ec,_0x104c39)=>{const _0x2eb588=_0x104c39[_0x3284('0x16')][_0x3284('0x1')](_0x2383ec['markerName']);if(_0x2eb588)for(const _0x3f19dc of _0x2eb588)_0x3f19dc[_0x3284('0x3')]('ck-suggestion-marker-split')&&(_0x104c39[_0x3284('0x16')]['unbindElementFromMarkerName'](_0x3f19dc,_0x2383ec[_0x3284('0x2')]),_0x104c39[_0x3284('0x18')]['remove'](_0x3f19dc));},{'priority':'high'}),_0xbb6bb4[_0x3284('0xe')][_0x3284('0x21')]['on'](_0x3284('0x0'),(_0x1df5ff,_0x320656,_0x1bdd8e)=>{_0x1bdd8e['options']['showSuggestionHighlights']&&_0x121080(_0xbb6bb4,_0x3284('0x4'),{'showActiveMarker':!0x1})['bind'](this)(_0x1df5ff,_0x320656,_0x1bdd8e);},{'priority':_0x3284('0x8')});}}
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')});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/findandreplace
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for find and replace feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xadf8=['end','replaceAll','find','replace','TrackChangesEditing','createPositionAt','findNext','plugins','getRange','FindAndReplaceEditing','bind','start','afterInit','string','suggestion:deletion','filter','enableCommand','model','_isInDeletionRange','getMarkersGroup','has','getIntersection','get','editor'];(function(_0x4a4c2c,_0xadf88e){const _0x377a07=function(_0x48de58){while(--_0x48de58){_0x4a4c2c['push'](_0x4a4c2c['shift']());}};_0x377a07(++_0xadf88e);}(_0xadf8,0x19c));const _0x377a=function(_0x4a4c2c,_0xadf88e){_0x4a4c2c=_0x4a4c2c-0x0;let _0x377a07=_0xadf8[_0x4a4c2c];return _0x377a07;};import{Plugin as _0x39bb1c}from'ckeditor5/src/core';export default class z extends _0x39bb1c{[_0x377a('0x8')](){if(!this[_0x377a('0x13')][_0x377a('0x3')][_0x377a('0x10')](_0x377a('0x5')))return;const _0x2bbea7=this[_0x377a('0x13')][_0x377a('0x3')][_0x377a('0x12')](_0x377a('0x0'));_0x2bbea7[_0x377a('0xc')](_0x377a('0x16'),this['handleFindCommand'][_0x377a('0x6')](this)),_0x2bbea7['enableCommand'](_0x377a('0x2')),_0x2bbea7[_0x377a('0xc')]('findPrevious'),_0x2bbea7[_0x377a('0xc')](_0x377a('0x17')),_0x2bbea7['enableCommand'](_0x377a('0x15'));}['handleFindCommand'](_0x40c2f0,_0x56cd91,_0x329f18={}){const _0x549c88=this[_0x377a('0x13')][_0x377a('0x3')][_0x377a('0x12')]('FindAndReplaceUtils');void 0x0!==_0x329f18&&_0x40c2f0(_0x52eb52=>(_0x377a('0x9')==typeof _0x56cd91?_0x549c88['findByTextCallback'](_0x56cd91,_0x329f18):_0x56cd91)(_0x52eb52)[_0x377a('0xb')](_0x553eab=>!0x1===this['_isInDeletionRange'](_0x553eab,_0x52eb52['item'])),_0x329f18);}[_0x377a('0xe')](_0x4b711f,_0x26188c){const _0x1d4894=this[_0x377a('0x13')][_0x377a('0xd')]['createRange'](this[_0x377a('0x13')]['model'][_0x377a('0x1')](_0x26188c,_0x4b711f[_0x377a('0x7')]),this[_0x377a('0x13')][_0x377a('0xd')][_0x377a('0x1')](_0x26188c,_0x4b711f[_0x377a('0x14')]));for(const _0x204781 of this['editor'][_0x377a('0xd')]['markers'][_0x377a('0xf')](_0x377a('0xa')))if(null!==_0x1d4894[_0x377a('0x11')](_0x204781[_0x377a('0x4')]()))return!0x0;return!0x1;}}
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;}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/font
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for font features.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x564d=['FontSize','value','commandName','TrackChangesEditing','label','FontBackgroundColorEditing','plugins','getRanges','document','fontSize','fontSize.options','*Set\x20font\x20family:*\x20%0','*Set\x20font\x20background\x20color:*\x20%0','_enableCommand','fontBackgroundColor','find','title','*Set\x20font\x20size:*\x20%0','selection','config','format','*Reset\x20font\x20family*','trim','isCollapsed','*Reset\x20font\x20color*','fontColor.colors','*Reset\x20font\x20size*','normalizeSizeOptions','markInlineFormat','FontColorEditing','fontBackgroundColor.colors','*Set\x20font\x20color:*\x20%0','model','fontColor','get','toLowerCase','FontSizeEditing','from','*Reset\x20font\x20background\x20color*','commandParams','editor'];(function(_0x4afe41,_0x564d16){const _0x3e0a6d=function(_0x53a258){while(--_0x53a258){_0x4afe41['push'](_0x4afe41['shift']());}};_0x3e0a6d(++_0x564d16);}(_0x564d,0x19f));const _0x3e0a=function(_0x4afe41,_0x564d16){_0x4afe41=_0x4afe41-0x0;let _0x3e0a6d=_0x564d[_0x4afe41];return _0x3e0a6d;};import{Plugin as _0x194b41}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4179b2}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x3b2b97}from'./utils';import{getTranslation as _0x34d84a}from'../utils/common-translations';const Zt=[{'pluginName':_0x3e0a('0x1f'),'commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':_0x3e0a('0x18'),'commandName':_0x3e0a('0x1c')},{'pluginName':_0x3e0a('0x0'),'commandName':_0x3e0a('0x9')}];export default class H extends _0x194b41{['afterInit'](){const _0x3501af=this[_0x3e0a('0x23')]['locale'];for(const {pluginName:_0x108a26,commandName:_0xa59074}of Zt)this[_0x3e0a('0x23')][_0x3e0a('0x1')]['has'](_0x108a26)&&this['_enableCommand'](_0xa59074);this['editor']['plugins']['get'](_0x3e0a('0x27'))['_descriptionFactory']['registerDescriptionCallback'](_0x1fb122=>{const _0x23211d=_0x3501af['t'],{data:_0x32b1df}=_0x1fb122;if(null!=_0x32b1df){if(_0x3e0a('0x4')==_0x32b1df['commandName']){const _0x2994b3=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];if(_0x2994b3){const _0x541789=_0x23211d(this[_0x3e0a('0x23')][_0x3e0a('0x1')][_0x3e0a('0x1d')](_0x3e0a('0x24'))[_0x3e0a('0x16')](this[_0x3e0a('0x23')]['config'][_0x3e0a('0x1d')](_0x3e0a('0x5')))[_0x3e0a('0xa')](_0x56f946=>_0x56f946[_0x3e0a('0x1b')]==_0x2994b3)[_0x3e0a('0xb')])[_0x3e0a('0x1e')]();return{'type':'format','content':_0x34d84a(_0x3501af,_0x3e0a('0xc'),_0x541789)};}return{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x15'))};}if('fontFamily'==_0x32b1df[_0x3e0a('0x26')]){const _0x2ede04=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];return _0x2ede04?{'type':'format','content':_0x34d84a(_0x3501af,_0x3e0a('0x6'),_0x2ede04)}:{'type':'format','content':_0x34d84a(_0x3501af,_0x3e0a('0x10'))};}if(_0x3e0a('0x1c')==_0x32b1df[_0x3e0a('0x26')]){const _0x4811ed=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];if(_0x4811ed){const _0x254747=_0x4179b2(this['editor'][_0x3e0a('0xe')][_0x3e0a('0x1d')](_0x3e0a('0x14')))[_0x3e0a('0xa')](_0x408ea5=>_0x408ea5['model']==_0x4811ed);let _0x2c001f=_0x4811ed,_0x58f872='';return _0x254747&&(_0x2c001f=_0x254747[_0x3e0a('0x28')],_0x58f872=_0x23211d(_0x2c001f)[_0x3e0a('0x1e')]()),{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x1a'),_0x58f872)[_0x3e0a('0x11')](),'color':{'value':_0x4811ed,'title':_0x58f872||_0x2c001f}};}return{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x13'))};}if('fontBackgroundColor'==_0x32b1df[_0x3e0a('0x26')]){const _0x48eebe=_0x32b1df[_0x3e0a('0x22')][0x0][_0x3e0a('0x25')];if(_0x48eebe){const _0x3e1836=_0x4179b2(this[_0x3e0a('0x23')]['config']['get'](_0x3e0a('0x19')))[_0x3e0a('0xa')](_0x22d801=>_0x22d801[_0x3e0a('0x1b')]==_0x48eebe);let _0x13aaee=_0x48eebe,_0xa6a4d9='';return _0x3e1836&&(_0x13aaee=_0x3e1836['label'],_0xa6a4d9=_0x23211d(_0x13aaee)[_0x3e0a('0x1e')]()),{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x7'),_0xa6a4d9)[_0x3e0a('0x11')](),'color':{'value':_0x48eebe,'title':_0xa6a4d9||_0x13aaee}};}return{'type':_0x3e0a('0xf'),'content':_0x34d84a(_0x3501af,_0x3e0a('0x21'))};}}});}[_0x3e0a('0x8')](_0x31987d){const _0x2ee37a=this['editor'];_0x2ee37a['plugins'][_0x3e0a('0x1d')](_0x3e0a('0x27'))['enableCommand'](_0x31987d,(_0x29de36,_0x2cf558={})=>{const _0x5503de=_0x2ee37a[_0x3e0a('0x1b')][_0x3e0a('0x3')][_0x3e0a('0xd')],_0x49146c=_0x2cf558['value'];_0x5503de[_0x3e0a('0x12')]?_0x29de36(_0x2cf558):_0x2ee37a[_0x3e0a('0x1b')]['change'](()=>{const _0x518654=Array[_0x3e0a('0x20')](_0x5503de[_0x3e0a('0x2')]());for(const _0x1fdac8 of _0x518654){const _0x28ef99=_0x49146c?[_0x1fdac8]:_0x3b2b97(_0x31987d,_0x1fdac8,_0x2ee37a[_0x3e0a('0x1b')]);for(const _0x4b343f of _0x28ef99)_0x2ee37a[_0x3e0a('0x1')][_0x3e0a('0x1d')](_0x3e0a('0x27'))[_0x3e0a('0x17')](_0x4b343f,{'commandName':_0x31987d,'commandParams':[{'value':_0x49146c}]});}});});}}
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}]});}});});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/formatpainter
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for the Format Painter feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21d3=['schema','TrackChangesEditing','forward','isBlock','length','slice','fontColor','enableCommand','markInlineFormat','isFormatting','copyFormat','getItems','fontColor.colors','push','split','_descriptionFactory','getRanges','locale','change','find','keys','model','config','registerDescriptionCallback','isCollapsed','*Remove\x20all\x20formatting*','join','commands','getLastPosition','FontSize','*Set\x20format\x20to:*\x20%0','modifySelection','document','toLowerCase','pasteFormat','backward','normalizeSizeOptions','plugins','commandName','entries','createSelection','title','format','getFirstPosition','commandParams','getAttributes','get','word'];(function(_0x1a00a0,_0x21d389){const _0x4fc6b3=function(_0x3da208){while(--_0x3da208){_0x1a00a0['push'](_0x1a00a0['shift']());}};_0x4fc6b3(++_0x21d389);}(_0x21d3,0xd1));const _0x4fc6=function(_0x1a00a0,_0x21d389){_0x1a00a0=_0x1a00a0-0x0;let _0x4fc6b3=_0x21d3[_0x1a00a0];return _0x4fc6b3;};import{Plugin as _0x396061}from'ckeditor5/src/core';import{normalizeColorOptions as _0x4f1225}from'ckeditor5/src/ui';import{first as _0x3d86cd}from'ckeditor5/src/utils';import{getTranslation as _0x4514f1}from'../utils/common-translations';export default class W extends _0x396061{['afterInit'](){const _0x1492b1=this['editor'],_0x4182a3=_0x1492b1[_0x4fc6('0x4')],_0x2cc3ca=_0x4182a3[_0x4fc6('0xf')]['selection'],_0x382330=_0x1492b1['plugins'][_0x4fc6('0x1d')](_0x4fc6('0x20')),_0x286046=_0x1492b1[_0x4fc6('0x0')],_0x293e42=_0x1492b1[_0x4fc6('0xa')][_0x4fc6('0x1d')](_0x4fc6('0x29')),_0x4db6ea=_0x1492b1[_0x4fc6('0xa')][_0x4fc6('0x1d')]('pasteFormat');_0x293e42&&_0x4db6ea&&(_0x382330[_0x4fc6('0x26')](_0x4fc6('0x11'),(_0x35fc22,_0x4643e0={})=>{const _0xc2ae8a=_0x4643e0;_0x4182a3[_0x4fc6('0x1')](()=>{const _0xa42efa=Array['from'](_0x2cc3ca[_0x4fc6('0x2f')]()),_0xaa5b59=_0x2cc3ca[_0x4fc6('0x7')]?[ro(_0x4182a3,_0x2cc3ca)]:_0xa42efa,_0x2ea867=!!_0x3d86cd(function*(_0x4cdca4,_0x2a5864){const _0x2b4bda=_0x5bf91a=>!!_0x3d86cd(function*(_0x29b6f5,_0x35765b){for(const [_0x904dfb]of _0x29b6f5[_0x4fc6('0x1c')]()){const _0x7c5038=_0x35765b['getAttributeProperties'](_0x904dfb);_0x7c5038&&_0x7c5038[_0x4fc6('0x28')]&&(yield _0x904dfb);}}(_0x5bf91a,_0x2a5864));for(const _0x4474c8 of _0x4cdca4[_0x4fc6('0x2f')]())for(const _0x176e13 of _0x4474c8[_0x4fc6('0x2a')]())!_0x2a5864[_0x4fc6('0x22')](_0x176e13)&&_0x2b4bda(_0x176e13)&&(yield _0x176e13);for(const _0x36fdab of _0x4cdca4['getSelectedBlocks']())_0x2b4bda(_0x36fdab)&&(yield _0x36fdab);_0x2b4bda(_0x4cdca4)&&(yield _0x4cdca4);}(_0x2cc3ca,_0x4182a3[_0x4fc6('0x1f')]));if(_0x2ea867||0x0!==Object[_0x4fc6('0x3')](_0xc2ae8a)[_0x4fc6('0x23')])for(const _0x2e983e of _0xaa5b59)_0x382330[_0x4fc6('0x27')](_0x2e983e,{'commandName':_0x4fc6('0x11'),'commandParams':[_0xc2ae8a]});});}),_0x382330[_0x4fc6('0x2e')][_0x4fc6('0x6')](_0x2ef321=>{const {data:_0xc38f}=_0x2ef321;if(_0xc38f&&_0x4fc6('0x11')===_0xc38f[_0x4fc6('0x15')]){const _0x30708c=[],_0x239b55=_0xc38f[_0x4fc6('0x1b')][0x0];for(const [_0x1499db,_0x29c785]of Object[_0x4fc6('0x16')](_0x239b55))_0x30708c[_0x4fc6('0x2c')](no(_0x1492b1,_0x1499db,_0x29c785));return _0x30708c[_0x4fc6('0x23')]?{'type':_0x4fc6('0x19'),'content':_0x4514f1(_0x286046,_0x4fc6('0xd'),_0x30708c[_0x4fc6('0x9')](',\x20'))}:{'type':'format','content':_0x4514f1(_0x286046,_0x4fc6('0x8'))};}}),_0x1492b1[_0x4fc6('0x14')]['get']('TrackChangesEditing')[_0x4fc6('0x26')]('copyFormat'));}}function ro(_0x43af00,_0x32c53e){const _0x248429=_0x43af00[_0x4fc6('0x17')](_0x32c53e);_0x43af00[_0x4fc6('0xe')](_0x248429,{'unit':_0x4fc6('0x1e'),'direction':_0x4fc6('0x12')});const _0x566293=_0x248429[_0x4fc6('0x1a')]();_0x43af00['modifySelection'](_0x248429,{'unit':_0x4fc6('0x1e'),'direction':_0x4fc6('0x21')});const _0x28098c=_0x248429[_0x4fc6('0xb')]();return _0x43af00['createRange'](_0x566293,_0x28098c);}function no(_0xd5f9db,_0x15acab,_0x45ccdb){const _0x228f95=_0xd5f9db[_0x4fc6('0x0')]['t'],_0x3adc17=_0x15acab[_0x4fc6('0x2d')](/(?=[A-Z])/)[_0x4fc6('0x9')]('\x20'),_0x2e840b=_0x228f95(_0x3adc17['charAt'](0x0)['toUpperCase']()+_0x3adc17[_0x4fc6('0x24')](0x1))['toLowerCase']();if('boolean'==typeof _0x45ccdb)return _0x2e840b;if(_0x4fc6('0x25')===_0x15acab||'fontBackgroundColor'===_0x15acab){const _0x28f458=_0x4f1225(_0xd5f9db['config']['get'](_0x4fc6('0x2b')))['find'](_0x124949=>_0x124949['model']==_0x45ccdb);return _0x2e840b+'\x20('+(_0x28f458?_0x228f95(_0x28f458['label'])['toLowerCase']():_0x45ccdb)+')';}if('fontSize'===_0x15acab&&isNaN(parseFloat(_0x45ccdb))){const _0x21bfaf=_0xd5f9db[_0x4fc6('0x14')][_0x4fc6('0x1d')](_0x4fc6('0xc'))[_0x4fc6('0x13')](_0xd5f9db[_0x4fc6('0x5')][_0x4fc6('0x1d')]('fontSize.options'))[_0x4fc6('0x2')](_0x105b24=>_0x105b24[_0x4fc6('0x4')]==_0x45ccdb);return _0x2e840b+'\x20('+(_0x21bfaf?_0x228f95(_0x21bfaf[_0x4fc6('0x18')])[_0x4fc6('0x10')]():_0x45ccdb)+')';}return _0x2e840b+'\x20('+_0x45ccdb+')';}
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+')';}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/heading
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for heading feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ff2=['parent','*Change\x20to:*\x20%0','has','change','afterInit','document','getSelectedBlocks','title','match','find','locale','ELEMENT_HEADING','format','_descriptionFactory','plugins','schema','paragraph','value','registerDescriptionCallback','TrackChangesEditing','config','HeadingEditing','commandParams','blockName','ELEMENT_HEADING_CUSTOM','model','from','editor','heading','get','isObject','registerElementLabel'];(function(_0x11940b,_0x4ff22a){const _0x1160ec=function(_0x35a86f){while(--_0x35a86f){_0x11940b['push'](_0x11940b['shift']());}};_0x1160ec(++_0x4ff22a);}(_0x4ff2,0xad));const _0x1160=function(_0x11940b,_0x4ff22a){_0x11940b=_0x11940b-0x0;let _0x1160ec=_0x4ff2[_0x11940b];return _0x1160ec;};import{Plugin as _0x15c997}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x503574}from'./utils';import{getTranslation as _0x33a400}from'../utils/common-translations';export default class J extends _0x15c997{[_0x1160('0x17')](){const _0xec400a=this[_0x1160('0xe')],_0x55b314=_0xec400a[_0x1160('0x1d')],_0x1106f8=_0xec400a[_0x1160('0x7')][_0x1160('0x10')]('heading.options');if(!_0xec400a[_0x1160('0x1')][_0x1160('0x15')](_0x1160('0x8')))return;const _0x317d8b=_0xec400a[_0x1160('0x1')][_0x1160('0x10')](_0x1160('0x6'));_0x317d8b['enableCommand'](_0x1160('0xf'),(_0x40b05c,_0x5bce17)=>{const _0x218424=_0x5bce17[_0x1160('0x4')],_0x149f46=Array[_0x1160('0xd')](this[_0x1160('0xe')][_0x1160('0xc')][_0x1160('0x18')]['selection'][_0x1160('0x19')]())['filter'](_0x20d8df=>function(_0x472d21,_0x2be638,_0x1c02d2){return _0x1c02d2['checkChild'](_0x472d21[_0x1160('0x13')],_0x2be638)&&!_0x1c02d2[_0x1160('0x11')](_0x472d21)&&_0x472d21['name']!=_0x2be638;}(_0x20d8df,_0x218424,this['editor'][_0x1160('0xc')][_0x1160('0x2')]));_0xec400a['model'][_0x1160('0x16')](()=>{for(const _0x3d386c of _0x149f46)_0x317d8b['markBlockFormat'](_0x3d386c,{'commandName':_0x1160('0xf'),'commandParams':[_0x5bce17],'formatGroupId':_0x1160('0xa')},_0x503574(_0x3d386c));});});for(const _0x2ff2e8 of _0x1106f8)_0x1160('0x3')!=_0x2ff2e8['model']&&_0x317d8b[_0x1160('0x0')][_0x1160('0x12')](_0x2ff2e8['model'],_0x4c0afd=>{const _0x486e2e=nn(_0x2ff2e8['model']);return null!==_0x486e2e?_0x34de8d(_0x4c0afd,_0x486e2e):_0x310801(_0x4c0afd,_0x2ff2e8[_0x1160('0x1a')]);});function _0x34de8d(_0x11e41a,_0x302ed0){return _0x33a400(_0x55b314,_0x1160('0x1e'),[_0x11e41a,_0x302ed0]);}function _0x310801(_0x1111b4,_0x2b2490){return _0x33a400(_0x55b314,_0x1160('0xb'),[_0x1111b4,_0x2b2490]);}_0x317d8b[_0x1160('0x0')][_0x1160('0x5')](_0x10767c=>{const {type:_0x248ebe,data:_0x4b2f8a}=_0x10767c;if('formatBlock'==_0x248ebe&&_0x4b2f8a&&_0x1160('0xf')==_0x4b2f8a['commandName']){const _0x4cd76a=_0x4b2f8a[_0x1160('0x9')][0x0][_0x1160('0x4')],_0xcaa87c=nn(_0x4cd76a);if(null!==_0xcaa87c)return{'type':_0x1160('0x1f'),'content':_0x33a400(_0x55b314,'*Change\x20to:*\x20%0',_0x34de8d(0x1,_0xcaa87c))};const _0x595840=_0x1106f8[_0x1160('0x1c')](_0x18f9d9=>_0x18f9d9[_0x1160('0xc')]===_0x4cd76a)[_0x1160('0x1a')];return{'type':_0x1160('0x1f'),'content':_0x33a400(_0x55b314,_0x1160('0x14'),_0x310801(0x1,_0x595840))};}});}}function nn(_0x25ef65){const _0x1df79d=_0x25ef65[_0x1160('0x1b')](/^heading(\d+)$/);return _0x1df79d?_0x1df79d[0x1]:null;}
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;}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/highlight
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for highlight feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4427=['title','TrackChangesEditing','locale','config','getAttribute','format','selection','createRange','color','change','document','push','FORMAT_HIGHLIGHT','highlight','item','value','isCollapsed','backward','commandName','getLastMatchingPosition','markInlineFormat','_descriptionFactory','get','has','HighlightEditing','enableCommand','formatInline','afterInit','getFirstPosition','model','registerDescriptionCallback','commandParams','plugins'];(function(_0x4ac130,_0x4427b9){const _0x240b0e=function(_0xc7735c){while(--_0xc7735c){_0x4ac130['push'](_0x4ac130['shift']());}};_0x240b0e(++_0x4427b9);}(_0x4427,0x19e));const _0x240b=function(_0x4ac130,_0x4427b9){_0x4ac130=_0x4ac130-0x0;let _0x240b0e=_0x4427[_0x4ac130];return _0x240b0e;};import{Plugin as _0x1d949}from'ckeditor5/src/core';import{getTranslation as _0x5dea19}from'../utils/common-translations';import{getRangesWithAttribute as _0x370f69}from'./utils';export default class K extends _0x1d949{[_0x240b('0x9')](){const _0x171939=this['editor'];if(!_0x171939[_0x240b('0xe')][_0x240b('0x5')](_0x240b('0x6')))return;const _0x5a55f5=_0x171939[_0x240b('0xe')][_0x240b('0x4')](_0x240b('0x10'));_0x5a55f5[_0x240b('0x7')](_0x240b('0x1c'),(_0x212f47,_0x5defac={})=>{const _0x480f1b=_0x171939[_0x240b('0xb')][_0x240b('0x19')][_0x240b('0x15')],_0x237a71=_0x480f1b[_0x240b('0x13')](_0x240b('0x1c'));let _0x2e7531=_0x5defac['value'],_0x33da86=[];if(_0x480f1b[_0x240b('0x1f')]){const _0x33ca64=_0x480f1b[_0x240b('0xa')]();if(!_0x480f1b['hasAttribute']('highlight'))return void _0x212f47(_0x5defac);{const _0x382a4d=_0x2ba4cf=>_0x2ba4cf[_0x240b('0x1d')][_0x240b('0x13')]('highlight')===_0x237a71,_0x1becfa=_0x33ca64[_0x240b('0x1')](_0x382a4d,{'direction':_0x240b('0x20')}),_0x5dd336=_0x33ca64[_0x240b('0x1')](_0x382a4d);_0x33da86=[_0x171939[_0x240b('0xb')][_0x240b('0x16')](_0x1becfa,_0x5dd336)],_0x2e7531==_0x237a71&&(_0x2e7531=null);}}else for(const _0x48407b of _0x480f1b['getRanges']())_0x2e7531?_0x33da86[_0x240b('0x1a')](_0x48407b):_0x33da86[_0x240b('0x1a')](..._0x370f69(_0x240b('0x1c'),_0x48407b,_0x171939[_0x240b('0xb')]));_0x171939[_0x240b('0xb')][_0x240b('0x18')](()=>{for(const _0x38b56f of _0x33da86)_0x5a55f5[_0x240b('0x2')](_0x38b56f,{'commandName':_0x240b('0x1c'),'commandParams':[{'value':_0x2e7531}]});});});const _0x1b6bf4=_0x171939[_0x240b('0x11')];_0x5a55f5[_0x240b('0x3')][_0x240b('0xc')](_0x4f8226=>{const {type:_0xa5f950,data:_0x52e748}=_0x4f8226;if(_0x240b('0x8')==_0xa5f950&&_0x52e748&&_0x240b('0x1c')==_0x52e748[_0x240b('0x0')]){const _0x2bfb5c=_0x1b6bf4['t'],_0x512143=_0x52e748[_0x240b('0xd')][0x0][_0x240b('0x1e')];if(_0x512143){const _0x49836b=_0x171939[_0x240b('0x12')][_0x240b('0x4')]('highlight.options')['find'](_0xe69b6d=>_0xe69b6d[_0x240b('0xb')]==_0x512143),_0x3c63e6=_0x2bfb5c(_0x49836b[_0x240b('0xf')])['toLowerCase']();return{'type':'format','content':_0x5dea19(_0x1b6bf4,'*Set\x20highlight:*\x20%0',_0x3c63e6),'color':{'value':_0x49836b[_0x240b('0x17')],'title':_0x49836b[_0x240b('0xf')]}};}return{'type':_0x240b('0x14'),'content':_0x5dea19(_0x1b6bf4,'*Remove\x20highlight*',_0x5dea19(_0x1b6bf4,_0x240b('0x1b')))};}});}}
23
+ const _0x50d4=['selection','item','config','format','getLastMatchingPosition','TrackChangesEditing','createRange','isCollapsed','formatInline','highlight','title','change','registerDescriptionCallback','_descriptionFactory','getRanges','afterInit','has','plugins','document','hasAttribute','color','highlight.options','push','HighlightEditing','get','FORMAT_HIGHLIGHT','find','model','enableCommand','toLowerCase','*Set\x20highlight:*\x20%0','getAttribute','value'];(function(_0x3b4311,_0x50d4bf){const _0x5e1d99=function(_0x1314a5){while(--_0x1314a5){_0x3b4311['push'](_0x3b4311['shift']());}};_0x5e1d99(++_0x50d4bf);}(_0x50d4,0x15d));const _0x5e1d=function(_0x3b4311,_0x50d4bf){_0x3b4311=_0x3b4311-0x0;let _0x5e1d99=_0x50d4[_0x3b4311];return _0x5e1d99;};import{Plugin as _0x32d71e}from'ckeditor5/src/core.js';import{getTranslation as _0x520ef9}from'../utils/common-translations.js';import{getRangesWithAttribute as _0x44f3e6}from'./utils.js';export default class K extends _0x32d71e{[_0x5e1d('0x1d')](){const _0x5e8cb5=this['editor'];if(!_0x5e8cb5['plugins'][_0x5e1d('0x1e')](_0x5e1d('0x4')))return;const _0x7a9a5d=_0x5e8cb5[_0x5e1d('0x1f')][_0x5e1d('0x5')](_0x5e1d('0x13'));_0x7a9a5d[_0x5e1d('0x9')](_0x5e1d('0x17'),(_0x3ad363,_0x1ea95b={})=>{const _0x5c3209=_0x5e8cb5['model'][_0x5e1d('0x20')][_0x5e1d('0xe')],_0x50c8e4=_0x5c3209[_0x5e1d('0xc')]('highlight');let _0x20020a=_0x1ea95b[_0x5e1d('0xd')],_0x8249d1=[];if(_0x5c3209[_0x5e1d('0x15')]){const _0x533ae5=_0x5c3209['getFirstPosition']();if(!_0x5c3209[_0x5e1d('0x0')](_0x5e1d('0x17')))return void _0x3ad363(_0x1ea95b);{const _0x2512a4=_0x2e0db4=>_0x2e0db4[_0x5e1d('0xf')]['getAttribute'](_0x5e1d('0x17'))===_0x50c8e4,_0x1ee076=_0x533ae5[_0x5e1d('0x12')](_0x2512a4,{'direction':'backward'}),_0x27d652=_0x533ae5[_0x5e1d('0x12')](_0x2512a4);_0x8249d1=[_0x5e8cb5[_0x5e1d('0x8')][_0x5e1d('0x14')](_0x1ee076,_0x27d652)],_0x20020a==_0x50c8e4&&(_0x20020a=null);}}else for(const _0x5033bb of _0x5c3209[_0x5e1d('0x1c')]())_0x20020a?_0x8249d1['push'](_0x5033bb):_0x8249d1[_0x5e1d('0x3')](..._0x44f3e6('highlight',_0x5033bb,_0x5e8cb5[_0x5e1d('0x8')]));_0x5e8cb5['model'][_0x5e1d('0x19')](()=>{for(const _0x42b221 of _0x8249d1)_0x7a9a5d['markInlineFormat'](_0x42b221,{'commandName':_0x5e1d('0x17'),'commandParams':[{'value':_0x20020a}]});});});const _0x711bb8=_0x5e8cb5['locale'];_0x7a9a5d[_0x5e1d('0x1b')][_0x5e1d('0x1a')](_0x1bea55=>{const {type:_0x3649ac,data:_0x1a4671}=_0x1bea55;if(_0x5e1d('0x16')==_0x3649ac&&_0x1a4671&&'highlight'==_0x1a4671['commandName']){const _0x26c908=_0x711bb8['t'],_0x64c750=_0x1a4671['commandParams'][0x0][_0x5e1d('0xd')];if(_0x64c750){const _0x5707df=_0x5e8cb5[_0x5e1d('0x10')][_0x5e1d('0x5')](_0x5e1d('0x2'))[_0x5e1d('0x7')](_0x1a2ee4=>_0x1a2ee4[_0x5e1d('0x8')]==_0x64c750),_0xcbc4fb=_0x26c908(_0x5707df[_0x5e1d('0x18')])[_0x5e1d('0xa')]();return{'type':'format','content':_0x520ef9(_0x711bb8,_0x5e1d('0xb'),_0xcbc4fb),'color':{'value':_0x5707df[_0x5e1d('0x1')],'title':_0x5707df[_0x5e1d('0x18')]}};}return{'type':_0x5e1d('0x11'),'content':_0x520ef9(_0x711bb8,'*Remove\x20highlight*',_0x520ef9(_0x711bb8,_0x5e1d('0x6')))};}});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/horizontalline
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for {@link module:horizontal-line/horizontalline~HorizontalLine horizontal line feature}.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x326c=['createPositionAt','ck-horizontal-line','elementToStructure','plugins','HorizontalLineEditing','div','registerElementLabel','horizontalLine','afterInit','_descriptionFactory','locale','createEmptyElement','showSuggestionHighlights','enableCommand','addClass','createContainerElement','ELEMENT_HORIZONTAL_LINE','get','editor','TrackChangesEditing'];(function(_0x200967,_0x326cf8){const _0x29dc5c=function(_0x3a6d19){while(--_0x3a6d19){_0x200967['push'](_0x200967['shift']());}};_0x29dc5c(++_0x326cf8);}(_0x326c,0xea));const _0x29dc=function(_0x200967,_0x326cf8){_0x200967=_0x200967-0x0;let _0x29dc5c=_0x326c[_0x200967];return _0x29dc5c;};import{Plugin as _0x384275}from'ckeditor5/src/core';import{getTranslation as _0x7a36c2}from'../utils/common-translations';export default class Q extends _0x384275{[_0x29dc('0xe')](){const _0x16f19c=this[_0x29dc('0x4')];if(!_0x16f19c[_0x29dc('0x9')]['has'](_0x29dc('0xa')))return;_0x16f19c[_0x29dc('0x9')]['get'](_0x29dc('0x5'))[_0x29dc('0x13')](_0x29dc('0xd'));const _0x36b336=_0x16f19c[_0x29dc('0x9')][_0x29dc('0x3')](_0x29dc('0x5')),_0x16ca04=_0x16f19c[_0x29dc('0x10')];_0x36b336[_0x29dc('0xf')][_0x29dc('0xc')](_0x29dc('0xd'),_0x22f705=>_0x7a36c2(_0x16ca04,_0x29dc('0x2'),_0x22f705)),_0x16f19c['conversion']['for']('dataDowncast')[_0x29dc('0x8')]({'model':_0x29dc('0xd'),'view':(_0x47de95,{writer:_0x279c99,options:_0x19193c})=>{if(!_0x19193c[_0x29dc('0x12')])return null;const _0x5ec79d=_0x279c99[_0x29dc('0x1')](_0x29dc('0xb')),_0x273d08=_0x279c99[_0x29dc('0x11')]('hr');return _0x279c99[_0x29dc('0x0')](_0x29dc('0x7'),_0x5ec79d),_0x279c99['insert'](_0x279c99[_0x29dc('0x6')](_0x5ec79d,0x0),_0x273d08),_0x5ec79d;},'converterPriority':'high'});}}
23
+ const _0x1519=['afterInit','insert','conversion','TrackChangesEditing','dataDowncast','high','createPositionAt','ELEMENT_HORIZONTAL_LINE','createContainerElement','get','editor','plugins','addClass','showSuggestionHighlights','has','ck-horizontal-line','locale','enableCommand','elementToStructure','horizontalLine'];(function(_0x5e88b1,_0x151948){const _0x493290=function(_0x5d5c9f){while(--_0x5d5c9f){_0x5e88b1['push'](_0x5e88b1['shift']());}};_0x493290(++_0x151948);}(_0x1519,0x1f1));const _0x4932=function(_0x5e88b1,_0x151948){_0x5e88b1=_0x5e88b1-0x0;let _0x493290=_0x1519[_0x5e88b1];return _0x493290;};import{Plugin as _0xcbc146}from'ckeditor5/src/core.js';import{getTranslation as _0x287c18}from'../utils/common-translations.js';export default class Q extends _0xcbc146{[_0x4932('0x3')](){const _0x4b200c=this[_0x4932('0xd')];if(!_0x4b200c[_0x4932('0xe')][_0x4932('0x11')]('HorizontalLineEditing'))return;_0x4b200c['plugins']['get'](_0x4932('0x6'))[_0x4932('0x0')]('horizontalLine');const _0x15a713=_0x4b200c['plugins'][_0x4932('0xc')]('TrackChangesEditing'),_0x4e09e2=_0x4b200c[_0x4932('0x13')];_0x15a713['_descriptionFactory']['registerElementLabel'](_0x4932('0x2'),_0x2efc66=>_0x287c18(_0x4e09e2,_0x4932('0xa'),_0x2efc66)),_0x4b200c[_0x4932('0x5')]['for'](_0x4932('0x7'))[_0x4932('0x1')]({'model':_0x4932('0x2'),'view':(_0x152020,{writer:_0x2d4d6d,options:_0x12294a})=>{if(!_0x12294a[_0x4932('0x10')])return null;const _0x467b41=_0x2d4d6d[_0x4932('0xb')]('div'),_0x529b3c=_0x2d4d6d['createEmptyElement']('hr');return _0x2d4d6d[_0x4932('0xf')](_0x4932('0x12'),_0x467b41),_0x2d4d6d[_0x4932('0x4')](_0x2d4d6d[_0x4932('0x9')](_0x467b41,0x0),_0x529b3c),_0x467b41;},'converterPriority':_0x4932('0x8')});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/htmlembed
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for {@link module:html-embed/htmlembed~HtmlEmbed HTML Embed feature}.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb297=['_descriptionFactory','commandName','rawHtmlApi','*Change\x20%0\x20content*','getAttribute','rawHtml','format','editing','getSelectedElement','cancel','htmlEmbed','plugins','document','change','HtmlEmbed','model','ELEMENT_HTML_EMBED','locale','get','view','getCustomProperty','selection','enableCommand','editor','registerDescriptionCallback'];(function(_0x51ab5e,_0xb297ab){const _0x513111=function(_0x6835fd){while(--_0x6835fd){_0x51ab5e['push'](_0x51ab5e['shift']());}};_0x513111(++_0xb297ab);}(_0xb297,0x1bb));const _0x5131=function(_0x51ab5e,_0xb297ab){_0x51ab5e=_0x51ab5e-0x0;let _0x513111=_0xb297[_0x51ab5e];return _0x513111;};import{Plugin as _0x19dc43}from'ckeditor5/src/core';import{getTranslation as _0x503d4e}from'../utils/common-translations';export default class V extends _0x19dc43{['afterInit'](){const _0x1172d6=this[_0x5131('0x5')];if(!_0x1172d6[_0x5131('0x12')]['has'](_0x5131('0x15')))return;const _0x491204=_0x1172d6[_0x5131('0x12')][_0x5131('0x0')]('TrackChangesEditing'),_0x164258=_0x1172d6[_0x5131('0x18')],_0x226820=_0x1172d6[_0x5131('0xe')][_0x5131('0x1')][_0x5131('0x13')][_0x5131('0x3')];_0x491204[_0x5131('0x7')]['registerElementLabel'](_0x5131('0xc'),_0x412bda=>_0x503d4e(_0x164258,_0x5131('0x17'),_0x412bda)),_0x1172d6['plugins'][_0x5131('0x0')]('TrackChangesEditing')[_0x5131('0x4')](_0x5131('0x11'),(_0x1947cf,_0x25f295)=>{const _0x361f2e=_0x1172d6[_0x5131('0x16')],_0x4d3bdd=_0x361f2e[_0x5131('0x13')][_0x5131('0x3')];_0x361f2e[_0x5131('0x14')](()=>{const _0x41ee16=function(_0x56f90e){const _0x22c3e3=_0x56f90e[_0x5131('0xf')]();if(_0x22c3e3&&_0x22c3e3['is']('element','rawHtml'))return _0x56f90e[_0x5131('0xf')]();return null;}(_0x4d3bdd);if(!_0x41ee16)return void _0x1947cf(null);const _0x119f67=_0x41ee16[_0x5131('0xb')]('value')||'';if(void 0x0===_0x25f295)return;if(_0x25f295===_0x119f67)return;_0x491204['markBlockFormat'](_0x41ee16,{'commandName':_0x5131('0x11'),'commandParams':[_0x25f295]}),_0x226820[_0x5131('0xf')]()[_0x5131('0x2')](_0x5131('0x9'))[_0x5131('0x10')]();});}),_0x491204[_0x5131('0x7')][_0x5131('0x6')](_0x2cbe82=>{const {data:_0x1e55ad}=_0x2cbe82;if(_0x1e55ad&&_0x5131('0x11')==_0x1e55ad[_0x5131('0x8')]){const _0x1ed50f=_0x503d4e(_0x164258,'ELEMENT_HTML_EMBED');return{'type':_0x5131('0xd'),'content':_0x503d4e(_0x164258,_0x5131('0xa'),_0x1ed50f)};}});}}
23
+ const _0x2862=['get','getCustomProperty','plugins','rawHtml','value','TrackChangesEditing','cancel','ELEMENT_HTML_EMBED','registerElementLabel','selection','_descriptionFactory','view','commandName','afterInit','getSelectedElement','registerDescriptionCallback','change','htmlEmbed','getAttribute','locale','markBlockFormat','has','rawHtmlApi','editing','editor','*Change\x20%0\x20content*'];(function(_0x19cde8,_0x286234){const _0x281830=function(_0x59698c){while(--_0x59698c){_0x19cde8['push'](_0x19cde8['shift']());}};_0x281830(++_0x286234);}(_0x2862,0xd0));const _0x2818=function(_0x19cde8,_0x286234){_0x19cde8=_0x19cde8-0x0;let _0x281830=_0x2862[_0x19cde8];return _0x281830;};import{Plugin as _0x2b9600}from'ckeditor5/src/core.js';import{getTranslation as _0x86f87d}from'../utils/common-translations.js';export default class V extends _0x2b9600{[_0x2818('0xd')](){const _0x3e7cb5=this[_0x2818('0x18')];if(!_0x3e7cb5[_0x2818('0x2')][_0x2818('0x15')]('HtmlEmbed'))return;const _0x331e57=_0x3e7cb5['plugins'][_0x2818('0x0')](_0x2818('0x5')),_0x5e0f6d=_0x3e7cb5[_0x2818('0x13')],_0x310113=_0x3e7cb5[_0x2818('0x17')][_0x2818('0xb')]['document'][_0x2818('0x9')];_0x331e57[_0x2818('0xa')][_0x2818('0x8')](_0x2818('0x3'),_0x460355=>_0x86f87d(_0x5e0f6d,_0x2818('0x7'),_0x460355)),_0x3e7cb5[_0x2818('0x2')]['get']('TrackChangesEditing')['enableCommand'](_0x2818('0x11'),(_0x41b2ac,_0x1cd1b9)=>{const _0x12477e=_0x3e7cb5['model'],_0x20e43a=_0x12477e['document'][_0x2818('0x9')];_0x12477e[_0x2818('0x10')](()=>{const _0x432e42=function(_0x331919){const _0x23fd5b=_0x331919[_0x2818('0xe')]();if(_0x23fd5b&&_0x23fd5b['is']('element',_0x2818('0x3')))return _0x331919[_0x2818('0xe')]();return null;}(_0x20e43a);if(!_0x432e42)return void _0x41b2ac(null);const _0x265353=_0x432e42[_0x2818('0x12')](_0x2818('0x4'))||'';if(void 0x0===_0x1cd1b9)return;if(_0x1cd1b9===_0x265353)return;_0x331e57[_0x2818('0x14')](_0x432e42,{'commandName':'htmlEmbed','commandParams':[_0x1cd1b9]}),_0x310113[_0x2818('0xe')]()[_0x2818('0x1')](_0x2818('0x16'))[_0x2818('0x6')]();});}),_0x331e57[_0x2818('0xa')][_0x2818('0xf')](_0x3c09f1=>{const {data:_0x29814d}=_0x3c09f1;if(_0x29814d&&'htmlEmbed'==_0x29814d[_0x2818('0xc')]){const _0x171c58=_0x86f87d(_0x5e0f6d,_0x2818('0x7'));return{'type':'format','content':_0x86f87d(_0x5e0f6d,_0x2818('0x19'),_0x171c58)};}});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/image
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
7
7
  */