@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231214.0 → 0.0.0-nightly-20231216.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/track-changes.js +1 -1
  3. package/package.json +4 -3
  4. package/src/augmentation.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  6. package/src/commands/acceptsuggestioncommand.js +1 -1
  7. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  8. package/src/commands/discardsuggestioncommand.js +1 -1
  9. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  10. package/src/commands/executeonallsuggestionscommand.js +1 -1
  11. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  12. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  13. package/src/commands/trackchangescommand.d.ts +1 -1
  14. package/src/commands/trackchangescommand.js +1 -1
  15. package/src/index.d.ts +12 -12
  16. package/src/index.js +1 -1
  17. package/src/integrations/aiassistant.d.ts +1 -1
  18. package/src/integrations/aiassistant.js +1 -1
  19. package/src/integrations/alignment.d.ts +1 -1
  20. package/src/integrations/alignment.js +1 -1
  21. package/src/integrations/basicstyles.d.ts +1 -1
  22. package/src/integrations/basicstyles.js +1 -1
  23. package/src/integrations/blockquote.d.ts +1 -1
  24. package/src/integrations/blockquote.js +1 -1
  25. package/src/integrations/ckbox.d.ts +1 -1
  26. package/src/integrations/ckbox.js +1 -1
  27. package/src/integrations/codeblock.d.ts +1 -1
  28. package/src/integrations/codeblock.js +1 -1
  29. package/src/integrations/comments.d.ts +1 -1
  30. package/src/integrations/comments.js +1 -1
  31. package/src/integrations/deletecommand.d.ts +2 -2
  32. package/src/integrations/deletecommand.js +1 -1
  33. package/src/integrations/documentlist.d.ts +1 -1
  34. package/src/integrations/documentlist.js +1 -1
  35. package/src/integrations/documentlistproperties.d.ts +3 -3
  36. package/src/integrations/documentlistproperties.js +1 -1
  37. package/src/integrations/entercommand.d.ts +2 -2
  38. package/src/integrations/entercommand.js +1 -1
  39. package/src/integrations/findandreplace.d.ts +1 -1
  40. package/src/integrations/findandreplace.js +1 -1
  41. package/src/integrations/font.d.ts +1 -1
  42. package/src/integrations/font.js +1 -1
  43. package/src/integrations/formatpainter.d.ts +1 -1
  44. package/src/integrations/formatpainter.js +1 -1
  45. package/src/integrations/heading.d.ts +1 -1
  46. package/src/integrations/heading.js +1 -1
  47. package/src/integrations/highlight.d.ts +1 -1
  48. package/src/integrations/highlight.js +1 -1
  49. package/src/integrations/horizontalline.d.ts +1 -1
  50. package/src/integrations/horizontalline.js +1 -1
  51. package/src/integrations/htmlembed.d.ts +1 -1
  52. package/src/integrations/htmlembed.js +1 -1
  53. package/src/integrations/image.d.ts +1 -1
  54. package/src/integrations/image.js +1 -1
  55. package/src/integrations/imagereplace.d.ts +1 -1
  56. package/src/integrations/imagereplace.js +1 -1
  57. package/src/integrations/imagestyle.d.ts +1 -1
  58. package/src/integrations/imagestyle.js +1 -1
  59. package/src/integrations/importword.d.ts +1 -1
  60. package/src/integrations/importword.js +1 -1
  61. package/src/integrations/indent.d.ts +1 -1
  62. package/src/integrations/indent.js +1 -1
  63. package/src/integrations/inputcommand.d.ts +2 -2
  64. package/src/integrations/inputcommand.js +1 -1
  65. package/src/integrations/link.d.ts +1 -1
  66. package/src/integrations/link.js +1 -1
  67. package/src/integrations/list.d.ts +1 -1
  68. package/src/integrations/list.js +1 -1
  69. package/src/integrations/listproperties.d.ts +3 -3
  70. package/src/integrations/listproperties.js +1 -1
  71. package/src/integrations/mediaembed.d.ts +1 -1
  72. package/src/integrations/mediaembed.js +1 -1
  73. package/src/integrations/mention.d.ts +1 -1
  74. package/src/integrations/mention.js +1 -1
  75. package/src/integrations/pagebreak.d.ts +1 -1
  76. package/src/integrations/pagebreak.js +1 -1
  77. package/src/integrations/paragraph.d.ts +1 -1
  78. package/src/integrations/paragraph.js +1 -1
  79. package/src/integrations/removeformat.d.ts +1 -1
  80. package/src/integrations/removeformat.js +1 -1
  81. package/src/integrations/restrictededitingmode.d.ts +1 -1
  82. package/src/integrations/restrictededitingmode.js +1 -1
  83. package/src/integrations/shiftentercommand.d.ts +2 -2
  84. package/src/integrations/shiftentercommand.js +1 -1
  85. package/src/integrations/standardeditingmode.d.ts +1 -1
  86. package/src/integrations/standardeditingmode.js +1 -1
  87. package/src/integrations/style.d.ts +1 -1
  88. package/src/integrations/style.js +1 -1
  89. package/src/integrations/table.d.ts +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.d.ts +2 -2
  92. package/src/integrations/tablecaption.js +1 -1
  93. package/src/integrations/tableclipboard.d.ts +2 -2
  94. package/src/integrations/tableclipboard.js +1 -1
  95. package/src/integrations/tablecolumnresize.d.ts +4 -4
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.d.ts +2 -2
  98. package/src/integrations/tableheadings.js +1 -1
  99. package/src/integrations/tablemergesplit.d.ts +2 -2
  100. package/src/integrations/tablemergesplit.js +1 -1
  101. package/src/integrations/tableofcontents.d.ts +1 -1
  102. package/src/integrations/tableofcontents.js +1 -1
  103. package/src/integrations/tableproperties.d.ts +4 -4
  104. package/src/integrations/tableproperties.js +1 -1
  105. package/src/integrations/template.d.ts +1 -1
  106. package/src/integrations/template.js +1 -1
  107. package/src/integrations/title.d.ts +1 -1
  108. package/src/integrations/title.js +1 -1
  109. package/src/integrations/undo.d.ts +1 -1
  110. package/src/integrations/undo.js +1 -1
  111. package/src/integrations/utils.d.ts +3 -3
  112. package/src/integrations/utils.js +1 -1
  113. package/src/suggestion.d.ts +5 -5
  114. package/src/suggestion.js +1 -1
  115. package/src/suggestiondescriptionfactory.d.ts +3 -3
  116. package/src/suggestiondescriptionfactory.js +1 -1
  117. package/src/trackchanges.d.ts +5 -5
  118. package/src/trackchanges.js +1 -1
  119. package/src/trackchangesconfig.d.ts +1 -1
  120. package/src/trackchangesdata.d.ts +2 -2
  121. package/src/trackchangesdata.js +1 -1
  122. package/src/trackchangesediting.d.ts +53 -53
  123. package/src/trackchangesediting.js +1 -1
  124. package/src/trackchangesui.d.ts +3 -3
  125. package/src/trackchangesui.js +1 -1
  126. package/src/ui/suggestioncontroller.d.ts +5 -5
  127. package/src/ui/suggestioncontroller.js +1 -1
  128. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  129. package/src/ui/view/basesuggestionthreadview.js +1 -1
  130. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  131. package/src/ui/view/suggestionthreadview.js +1 -1
  132. package/src/utils/common-translations.d.ts +1 -1
  133. package/src/utils/common-translations.js +1 -1
  134. package/src/utils/utils.d.ts +4 -4
  135. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4bd5=['key','ImageUtils','_findSuggestions','registerAttributeLabel','afterInit','*Set\x20image\x20width:*\x20%0','ImageEditing','TrackChangesEditing','findIndex','type','_enableDefaultAttributesIntegration','getCaptionFromImageModelElement','nodeBefore','imageInline','toNext','model','has','removeObject','imageStylePreApply','ImageCaptionUtils','addObject','find','resizeImage','detach','isCollapsed','Block\x20image\x20to\x20inline\x20image','enableCommand','registerDescriptionCallback','markDeletion','insertion','imageCaption','isBefore','ELEMENT_INLINE_IMAGE','ImageCaptionEditing','format','registerElementLabel','length','locale','editor','createRangeOn','getNearestSelectionRange','newValue','plugins','registerCustomCallback','discard','filter','ELEMENT_CAPTION','subType','schema','insertImage','deletion','*Set\x20image\x20text\x20alternative:*\x20%0','_descriptionFactory','formatInline','getContainedElement','attribute','convertBlockImageToInline','getSuggestionCallback','isEqual','accept','getFirstRange','imageTypeInline','commandParams','*Reset\x20image\x20width*','toggleImageCaption','_suggestionFactory','selection','get','isIntersecting','document','createRange','markBlockFormat','change','convertInlineImageToBlock','element','markInsertion','backward','ImageTextAlternativeEditing','join','ImageInlineEditing','uploadImage','start','isBlockImage','imageBlock','end','previous','*Remove\x20image\x20text\x20alternative*','alt','fromPosition','imageTextAlternative','commandName','formatBlock','chain','caption','getClosestSelectedImageElement','ImageBlockEditing'];(function(_0x48b519,_0x4bd5dc){const _0x42ad06=function(_0x3fb866){while(--_0x3fb866){_0x48b519['push'](_0x48b519['shift']());}};_0x42ad06(++_0x4bd5dc);}(_0x4bd5,0x195));const _0x42ad=function(_0x48b519,_0x4bd5dc){_0x48b519=_0x48b519-0x0;let _0x42ad06=_0x4bd5[_0x48b519];return _0x42ad06;};import{Plugin as _0x371770}from'ckeditor5/src/core';import{LivePosition as _0x482878}from'ckeditor5/src/engine';import{getTranslation as _0x105946}from'../utils/common-translations';export default class it extends _0x371770{[_0x42ad('0x4f')](){const _0x3361d5=this['editor'];if(!_0x3361d5[_0x42ad('0x15')]['has'](_0x42ad('0x51')))return;const _0x2f3104=_0x3361d5[_0x42ad('0x15')][_0x42ad('0x2e')]('TrackChangesEditing'),_0x5405d7=_0x3361d5['plugins']['get'](_0x42ad('0x4c')),_0xdcecaf=_0x3361d5[_0x42ad('0x10')];_0x2f3104['enableCommand'](_0x42ad('0x1c')),_0x2f3104[_0x42ad('0x1f')][_0x42ad('0xe')](_0x42ad('0x3e'),_0x6b5962=>_0x105946(_0xdcecaf,'ELEMENT_IMAGE',_0x6b5962)),_0x2f3104[_0x42ad('0x1f')][_0x42ad('0xe')](_0x42ad('0x58'),_0x3c1e50=>_0x105946(_0xdcecaf,_0x42ad('0xb'),_0x3c1e50)),_0x2f3104[_0x42ad('0x1f')][_0x42ad('0xe')](_0x42ad('0x48'),()=>_0x105946(_0xdcecaf,_0x42ad('0x19'))),_0x3361d5[_0x42ad('0x15')][_0x42ad('0x5b')]('ImageUploadEditing')&&_0x2f3104[_0x42ad('0x5')](_0x42ad('0x3b')),_0x3361d5['plugins'][_0x42ad('0x5b')](_0x42ad('0x4a'))&&_0x3361d5[_0x42ad('0x15')][_0x42ad('0x5b')](_0x42ad('0x3a'))&&(_0x2f3104[_0x42ad('0x5')](_0x42ad('0x28'),(_0x1b10c9,_0x218806)=>{const _0x17c3ec=_0x5405d7[_0x42ad('0x49')](_0x3361d5[_0x42ad('0x5a')]['document']['selection']);_0x3361d5['model'][_0x42ad('0x33')](()=>{_0x2f3104['markBlockFormat'](_0x17c3ec,{'commandName':_0x42ad('0x28'),'commandParams':[_0x218806]},[],_0x42ad('0x23'));});}),_0x2f3104[_0x42ad('0x5')]('imageTypeBlock',(_0x5cb567,_0x46b0fc)=>{_0x3361d5['model'][_0x42ad('0x33')](_0x1c5d89=>{let _0x2fc780=_0x5405d7[_0x42ad('0x49')](_0x3361d5['model']['document']['selection']),_0x25dd0d=_0x1c5d89[_0x42ad('0x12')](_0x2fc780);const _0x2aeb99=_0x482878[_0x42ad('0x43')](_0x25dd0d[_0x42ad('0x3c')],'toPrevious'),_0x15d163=_0x482878[_0x42ad('0x43')](_0x25dd0d[_0x42ad('0x3f')],_0x42ad('0x59'));_0x2f3104['forceDefaultExecution'](()=>_0x5cb567(_0x46b0fc)),_0x2fc780=_0x5405d7[_0x42ad('0x49')](_0x3361d5['model'][_0x42ad('0x30')][_0x42ad('0x2d')]),_0x25dd0d=_0x1c5d89[_0x42ad('0x12')](_0x2fc780);const _0x551a4a=_0x1c5d89[_0x42ad('0x31')](_0x2aeb99,_0x15d163);_0x2aeb99[_0x42ad('0x2')](),_0x15d163[_0x42ad('0x2')](),_0x2f3104[_0x42ad('0x32')](_0x2fc780,{'commandName':_0x42ad('0x28'),'commandParams':[_0x46b0fc]},[],'convertInlineImageToBlock'),_0x551a4a[_0x42ad('0x3c')][_0x42ad('0xa')](_0x25dd0d[_0x42ad('0x3c')])&&_0x2f3104['markInsertion'](_0x1c5d89[_0x42ad('0x31')](_0x551a4a['start'],_0x25dd0d[_0x42ad('0x3c')]),_0x42ad('0x34')),_0x25dd0d[_0x42ad('0x3f')][_0x42ad('0xa')](_0x551a4a[_0x42ad('0x3f')])&&_0x2f3104[_0x42ad('0x36')](_0x1c5d89['createRange'](_0x25dd0d[_0x42ad('0x3f')],_0x551a4a['end']),'convertInlineImageToBlock');});}),_0x2f3104['_suggestionFactory']['registerCustomCallback'](_0x42ad('0x46'),_0x42ad('0x34'),_0x42ad('0x39'),()=>!0x1),_0x2f3104[_0x42ad('0x2c')][_0x42ad('0x16')](_0x42ad('0x46'),'convertInlineImageToBlock',_0x42ad('0x26'),()=>!0x1),_0x2f3104['_suggestionFactory'][_0x42ad('0x16')](_0x42ad('0x46'),_0x42ad('0x34'),_0x42ad('0x17'),_0x2f3104[_0x42ad('0x2c')]['getSuggestionCallback']('formatBlock','',_0x42ad('0x26'))),_0x2f3104['_suggestionFactory'][_0x42ad('0x16')]('insertion',_0x42ad('0x34'),_0x42ad('0x39'),()=>!0x1),_0x2f3104[_0x42ad('0x2c')]['registerCustomCallback'](_0x42ad('0x8'),'convertInlineImageToBlock',_0x42ad('0x17'),([_0x2feab3])=>{const _0x484cb8=_0x2f3104[_0x42ad('0x2c')][_0x42ad('0x24')](_0x42ad('0x8'),'',_0x42ad('0x17'));let _0xc5448e=_0x2feab3[_0x42ad('0x3c')],_0x462a51=_0x2feab3[_0x42ad('0x3f')];const _0x514fb7=_0x3361d5['model'][_0x42ad('0x1b')][_0x42ad('0x13')](_0xc5448e,_0x42ad('0x37')),_0x479dfe=_0x3361d5[_0x42ad('0x5a')]['schema'][_0x42ad('0x13')](_0x462a51,'forward');_0x514fb7[_0x42ad('0x3')]&&(_0xc5448e=_0x514fb7[_0x42ad('0x3c')]),_0x479dfe[_0x42ad('0x3')]&&(_0x462a51=_0x479dfe[_0x42ad('0x3f')]),_0x484cb8([_0x3361d5[_0x42ad('0x5a')]['createRange'](_0xc5448e,_0x462a51)]);}),_0x2f3104['_suggestionFactory'][_0x42ad('0x16')]('formatBlock',_0x42ad('0x34'),'chain',_0x3f9d42),_0x2f3104[_0x42ad('0x2c')][_0x42ad('0x16')](_0x42ad('0x8'),_0x42ad('0x34'),_0x42ad('0x47'),_0x3f9d42)),_0x3361d5[_0x42ad('0x15')]['has'](_0x42ad('0xc'))&&(_0x2f3104[_0x42ad('0x5')](_0x42ad('0x2b'),(_0x195b73,_0x1fde92)=>{const _0x42b973=_0x3361d5[_0x42ad('0x15')][_0x42ad('0x2e')](_0x42ad('0x5e'));let _0x2913ee=_0x5405d7[_0x42ad('0x49')](_0x3361d5[_0x42ad('0x5a')][_0x42ad('0x30')][_0x42ad('0x2d')]),_0x353311=_0x42b973[_0x42ad('0x56')](_0x2913ee);_0x3361d5[_0x42ad('0x5a')][_0x42ad('0x33')](()=>{if(_0x353311)return void _0x2f3104[_0x42ad('0x7')](_0x3361d5[_0x42ad('0x5a')][_0x42ad('0x12')](_0x353311));const _0x48a95f=_0x5405d7[_0x42ad('0x3d')](_0x2913ee);_0x195b73(_0x1fde92),_0x2913ee=_0x5405d7['getClosestSelectedImageElement'](_0x3361d5[_0x42ad('0x5a')][_0x42ad('0x30')][_0x42ad('0x2d')]),_0x353311=_0x42b973[_0x42ad('0x56')](_0x2913ee),_0x2f3104[_0x42ad('0x36')](_0x3361d5['model'][_0x42ad('0x12')](_0x353311),_0x48a95f?null:_0x42ad('0x9'));});}),_0x2f3104[_0x42ad('0x2c')][_0x42ad('0x16')](_0x42ad('0x8'),_0x42ad('0x9'),'chain',_0x3f9d42));const _0x5f146a=[{'type':_0x42ad('0x46'),'subType':_0x42ad('0x5d')},{'type':_0x42ad('0x8'),'subType':'imageCaption'},{'type':_0x42ad('0x46'),'subType':_0x42ad('0x34')},{'type':'insertion','subType':_0x42ad('0x34')}];function _0x12a098(_0x150e60,_0x5aaa7e){const _0x2ff8e9=_0x5f146a[_0x42ad('0x53')](({type:_0x56687d,subType:_0x2b6e9})=>_0x150e60[_0x42ad('0x54')]==_0x56687d&&_0x150e60[_0x42ad('0x1a')]==_0x2b6e9),_0x18f98c=_0x5f146a['findIndex'](({type:_0x5f52d7,subType:_0x6e8600})=>_0x5aaa7e[_0x42ad('0x54')]==_0x5f52d7&&_0x5aaa7e[_0x42ad('0x1a')]==_0x6e8600);if(_0x2ff8e9<0x0||_0x18f98c<0x0)return!0x1;const _0x4fe81e=_0x150e60[_0x42ad('0x27')](),_0x1ae336=_0x5aaa7e['getFirstRange']();if((0x0==_0x2ff8e9||0x1==_0x2ff8e9)&&0x2==_0x18f98c&&_0x4fe81e[_0x42ad('0x2f')](_0x1ae336))return!0x0;if(0x2==_0x2ff8e9&&0x3==_0x18f98c){const _0x4ad8b4=_0x2f3104[_0x42ad('0x4d')](_0x4fe81e,_0x42ad('0x8'))[_0x42ad('0x18')](({suggestion:_0x3c2832,meta:_0xb3636e})=>_0xb3636e['isOwn']&&'convertInlineImageToBlock'==_0x3c2832[_0x42ad('0x1a')]);if(_0x4ad8b4['length']>0x1&&_0x1ae336[_0x42ad('0x3f')]['isEqual'](_0x4fe81e['start']))return!0x0;if(0x1==_0x4ad8b4[_0x42ad('0xf')]&&(_0x4fe81e[_0x42ad('0x3c')][_0x42ad('0x25')](_0x1ae336[_0x42ad('0x3f')])||_0x4fe81e[_0x42ad('0x3f')]['isEqual'](_0x1ae336[_0x42ad('0x3c')])))return!0x0;}if(0x3==_0x2ff8e9&&0x3==_0x18f98c&&_0x4fe81e[_0x42ad('0x3c')]['isBefore'](_0x1ae336[_0x42ad('0x3c')])){const _0x43ddbd=_0x4fe81e[_0x42ad('0x3f')]['nodeAfter'],_0xbc091a=_0x1ae336[_0x42ad('0x3c')][_0x42ad('0x57')];return _0x5405d7[_0x42ad('0x3d')](_0x43ddbd)&&_0x43ddbd===_0xbc091a;}return!0x1;}function _0x3f9d42(_0x5d1185,_0x56a8a0){return _0x12a098(_0x5d1185,_0x56a8a0)?[_0x5d1185,_0x56a8a0]:_0x12a098(_0x56a8a0,_0x5d1185)?[_0x56a8a0,_0x5d1185]:null;}_0x3361d5[_0x42ad('0x15')][_0x42ad('0x5b')]('ImageResize')&&(_0x2f3104[_0x42ad('0x55')](_0x42ad('0x1'),[],['resizedWidth']),_0x2f3104[_0x42ad('0x1f')][_0x42ad('0x4e')]('resizedWidth',_0x105946(_0xdcecaf,'FORMAT_IMAGE_SIZE'))),_0x3361d5[_0x42ad('0x15')]['has'](_0x42ad('0x38'))&&_0x2f3104['_enableDefaultAttributesIntegration'](_0x42ad('0x44'),[],['alt']),_0x2f3104['_descriptionFactory'][_0x42ad('0x6')](_0x1d61a4=>{if(!!_0x5f146a[_0x42ad('0x0')](({type:_0x46306f,subType:_0x419e41})=>_0x1d61a4[_0x42ad('0x54')]==_0x46306f&&_0x1d61a4['subType']==_0x419e41))return _0x1d61a4[_0x42ad('0x40')]?{}:void 0x0;}),_0x2f3104['_descriptionFactory'][_0x42ad('0x6')](_0x3d8c18=>{if('insertion'==_0x3d8c18[_0x42ad('0x54')]||_0x42ad('0x1d')==_0x3d8c18[_0x42ad('0x54')]){const _0x143b40=_0x3d8c18[_0x42ad('0x21')]();if(_0x143b40&&_0x143b40['is'](_0x42ad('0x35'),_0x42ad('0x48')))return{'type':_0x42ad('0x8')==_0x3d8c18[_0x42ad('0x54')]?_0x42ad('0x5f'):_0x42ad('0x5c'),'element':_0x143b40,'quantity':0x1};}}),_0x2f3104[_0x42ad('0x1f')][_0x42ad('0x6')](_0x3cf4d8=>_0x42ad('0x46')==_0x3cf4d8['type']&&_0x42ad('0x34')==_0x3cf4d8[_0x42ad('0x1a')]?{'type':_0x42ad('0xd'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x42ad('0x46')==_0x3cf4d8[_0x42ad('0x54')]&&'convertBlockImageToInline'==_0x3cf4d8[_0x42ad('0x1a')]?{'type':_0x42ad('0xd'),'content':_0x42ad('0x4')}:void 0x0),_0x2f3104[_0x42ad('0x1f')][_0x42ad('0x6')](_0x197b7f=>{if(_0x42ad('0x22')!=_0x197b7f[_0x42ad('0x54')])return;const {data:_0x671167}=_0x197b7f;if(!_0x671167||_0x42ad('0x42')!=_0x671167[_0x42ad('0x4b')])return;const _0xea3af1=_0x671167[_0x42ad('0x14')];return _0xea3af1?{'type':_0x42ad('0xd'),'content':_0x105946(_0xdcecaf,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0xea3af1+'\x22')}:{'type':_0x42ad('0xd'),'content':_0x105946(_0xdcecaf,_0x42ad('0x41'))};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2a1fb5=this[_0x42ad('0x11')],_0x8f3c55=_0x2a1fb5[_0x42ad('0x10')];_0x2a1fb5[_0x42ad('0x15')][_0x42ad('0x2e')](_0x42ad('0x52'))[_0x42ad('0x1f')]['registerDescriptionCallback'](_0x2b5f7b=>{if('formatBlock'!=_0x2b5f7b[_0x42ad('0x54')]&&_0x42ad('0x20')!=_0x2b5f7b['type'])return;const {data:_0x1f349f}=_0x2b5f7b;if(_0x1f349f){if(_0x42ad('0x44')==_0x1f349f[_0x42ad('0x45')]){const _0x59296a=_0x1f349f[_0x42ad('0x29')][0x0][_0x42ad('0x14')];return _0x59296a?{'type':_0x42ad('0xd'),'content':_0x105946(_0x8f3c55,_0x42ad('0x1e'),'\x22'+_0x59296a+'\x22')}:{'type':_0x42ad('0xd'),'content':_0x105946(_0x8f3c55,_0x42ad('0x41'))};}if(_0x42ad('0x1')==_0x1f349f[_0x42ad('0x45')]){const _0x74b81e=_0x1f349f[_0x42ad('0x29')][0x0]['width'];return _0x74b81e?{'type':_0x42ad('0xd'),'content':_0x105946(_0x8f3c55,_0x42ad('0x50'),_0x74b81e)}:{'type':_0x42ad('0xd'),'content':_0x105946(_0x8f3c55,_0x42ad('0x2a'))};}}});}}
23
+ const _0x3916=['filter','forward','getContainedElement','markDeletion','TrackChangesEditing','caption','getClosestSelectedImageElement','*Remove\x20image\x20text\x20alternative*','ImageEditing','discard','markBlockFormat','_suggestionFactory','convertBlockImageToInline','plugins','getSuggestionCallback','_registerLegacyDescription','nodeAfter','editor','FORMAT_IMAGE_SIZE','get','imageStylePreApply','markInsertion','chain','alt','imageTextAlternative','*Set\x20image\x20width:*\x20%0','change','accept','key','isBlockImage','ImageUploadEditing','Block\x20image\x20to\x20inline\x20image','imageInline','length','Inline\x20image\x20to\x20block\x20image','isEqual','*Set\x20image\x20text\x20alternative:*\x20%0','ELEMENT_CAPTION','ELEMENT_IMAGE','registerDescriptionCallback','convertInlineImageToBlock','toPrevious','backward','registerElementLabel','fromPosition','width','ImageUtils','join','*Reset\x20image\x20width*','schema','isBefore','previous','resizedWidth','has','toNext','attribute','imageTypeInline','imageCaption','end','_enableDefaultAttributesIntegration','registerAttributeLabel','ImageBlockEditing','getFirstRange','deletion','subType','resizeImage','newValue','registerCustomCallback','detach','commandParams','imageBlock','insertImage','type','selection','commandName','getNearestSelectionRange','formatBlock','find','toggleImageCaption','start','insertion','createRange','format','ELEMENT_INLINE_IMAGE','ImageResize','removeObject','_descriptionFactory','isCollapsed','locale','afterInit','isOwn','createRangeOn','document','getCaptionFromImageModelElement','enableCommand','model'];(function(_0x43f09c,_0x39162f){const _0x21b1d6=function(_0x16694e){while(--_0x16694e){_0x43f09c['push'](_0x43f09c['shift']());}};_0x21b1d6(++_0x39162f);}(_0x3916,0x181));const _0x21b1=function(_0x43f09c,_0x39162f){_0x43f09c=_0x43f09c-0x0;let _0x21b1d6=_0x3916[_0x43f09c];return _0x21b1d6;};import{Plugin as _0x2c0754}from'ckeditor5/src/core.js';import{LivePosition as _0x5e410b}from'ckeditor5/src/engine.js';import{getTranslation as _0x34b1cc}from'../utils/common-translations.js';export default class it extends _0x2c0754{[_0x21b1('0x58')](){const _0x34d2d6=this['editor'];if(!_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x34')](_0x21b1('0x7')))return;const _0x1f746c=_0x34d2d6[_0x21b1('0xc')]['get'](_0x21b1('0x3')),_0x35990e=_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x12')](_0x21b1('0x2d')),_0xc6e1a7=_0x34d2d6[_0x21b1('0x57')];_0x1f746c['enableCommand'](_0x21b1('0x46')),_0x1f746c[_0x21b1('0x55')]['registerElementLabel'](_0x21b1('0x45'),_0x969371=>_0x34b1cc(_0xc6e1a7,_0x21b1('0x25'),_0x969371)),_0x1f746c[_0x21b1('0x55')]['registerElementLabel'](_0x21b1('0x1f'),_0x5e158c=>_0x34b1cc(_0xc6e1a7,_0x21b1('0x52'),_0x5e158c)),_0x1f746c[_0x21b1('0x55')][_0x21b1('0x2a')](_0x21b1('0x4'),()=>_0x34b1cc(_0xc6e1a7,_0x21b1('0x24'))),_0x34d2d6[_0x21b1('0xc')]['has'](_0x21b1('0x1d'))&&_0x1f746c[_0x21b1('0x5d')]('uploadImage'),_0x34d2d6['plugins'][_0x21b1('0x34')](_0x21b1('0x3c'))&&_0x34d2d6[_0x21b1('0xc')]['has']('ImageInlineEditing')&&(_0x1f746c[_0x21b1('0x5d')](_0x21b1('0x37'),(_0x15a24f,_0x418b58)=>{const _0x4a2661=_0x35990e[_0x21b1('0x5')](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')][_0x21b1('0x48')]);_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x19')](()=>{_0x1f746c[_0x21b1('0x9')](_0x4a2661,{'commandName':_0x21b1('0x37'),'commandParams':[_0x418b58]},[],_0x21b1('0xb'));});}),_0x1f746c[_0x21b1('0x5d')]('imageTypeBlock',(_0x2ca1f7,_0x1903b3)=>{_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x19')](_0x2e4107=>{let _0x573405=_0x35990e['getClosestSelectedImageElement'](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')]['selection']),_0x2a3edc=_0x2e4107[_0x21b1('0x5a')](_0x573405);const _0x5d8b6e=_0x5e410b[_0x21b1('0x2b')](_0x2a3edc[_0x21b1('0x4e')],_0x21b1('0x28')),_0x4e0012=_0x5e410b[_0x21b1('0x2b')](_0x2a3edc[_0x21b1('0x39')],_0x21b1('0x35'));_0x1f746c['forceDefaultExecution'](()=>_0x2ca1f7(_0x1903b3)),_0x573405=_0x35990e[_0x21b1('0x5')](_0x34d2d6[_0x21b1('0x5e')]['document'][_0x21b1('0x48')]),_0x2a3edc=_0x2e4107['createRangeOn'](_0x573405);const _0x201534=_0x2e4107[_0x21b1('0x50')](_0x5d8b6e,_0x4e0012);_0x5d8b6e[_0x21b1('0x43')](),_0x4e0012[_0x21b1('0x43')](),_0x1f746c[_0x21b1('0x9')](_0x573405,{'commandName':_0x21b1('0x37'),'commandParams':[_0x1903b3]},[],_0x21b1('0x27')),_0x201534[_0x21b1('0x4e')][_0x21b1('0x31')](_0x2a3edc[_0x21b1('0x4e')])&&_0x1f746c['markInsertion'](_0x2e4107['createRange'](_0x201534[_0x21b1('0x4e')],_0x2a3edc[_0x21b1('0x4e')]),_0x21b1('0x27')),_0x2a3edc[_0x21b1('0x39')][_0x21b1('0x31')](_0x201534['end'])&&_0x1f746c[_0x21b1('0x14')](_0x2e4107[_0x21b1('0x50')](_0x2a3edc['end'],_0x201534['end']),'convertInlineImageToBlock');});}),_0x1f746c[_0x21b1('0xa')][_0x21b1('0x42')]('formatBlock',_0x21b1('0x27'),'join',()=>!0x1),_0x1f746c['_suggestionFactory'][_0x21b1('0x42')](_0x21b1('0x4b'),_0x21b1('0x27'),_0x21b1('0x1a'),()=>!0x1),_0x1f746c[_0x21b1('0xa')][_0x21b1('0x42')](_0x21b1('0x4b'),'convertInlineImageToBlock',_0x21b1('0x8'),_0x1f746c[_0x21b1('0xa')][_0x21b1('0xd')](_0x21b1('0x4b'),'',_0x21b1('0x1a'))),_0x1f746c[_0x21b1('0xa')]['registerCustomCallback']('insertion',_0x21b1('0x27'),_0x21b1('0x2e'),()=>!0x1),_0x1f746c[_0x21b1('0xa')]['registerCustomCallback']('insertion',_0x21b1('0x27'),_0x21b1('0x8'),([_0x43f0e1])=>{const _0x48c48e=_0x1f746c[_0x21b1('0xa')][_0x21b1('0xd')](_0x21b1('0x4f'),'',_0x21b1('0x8'));let _0x284c81=_0x43f0e1[_0x21b1('0x4e')],_0x51dbec=_0x43f0e1['end'];const _0x4b7a8c=_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x30')][_0x21b1('0x4a')](_0x284c81,_0x21b1('0x29')),_0x5659e2=_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x30')]['getNearestSelectionRange'](_0x51dbec,_0x21b1('0x0'));_0x4b7a8c[_0x21b1('0x56')]&&(_0x284c81=_0x4b7a8c[_0x21b1('0x4e')]),_0x5659e2[_0x21b1('0x56')]&&(_0x51dbec=_0x5659e2[_0x21b1('0x39')]),_0x48c48e([_0x34d2d6[_0x21b1('0x5e')]['createRange'](_0x284c81,_0x51dbec)]);}),_0x1f746c[_0x21b1('0xa')]['registerCustomCallback'](_0x21b1('0x4b'),'convertInlineImageToBlock','chain',_0x23195d),_0x1f746c['_suggestionFactory'][_0x21b1('0x42')](_0x21b1('0x4f'),_0x21b1('0x27'),_0x21b1('0x15'),_0x23195d)),_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x34')]('ImageCaptionEditing')&&(_0x1f746c['enableCommand'](_0x21b1('0x4d'),(_0x54e6ef,_0x3e28f9)=>{const _0x17d109=_0x34d2d6[_0x21b1('0xc')]['get']('ImageCaptionUtils');let _0x1de55f=_0x35990e[_0x21b1('0x5')](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')][_0x21b1('0x48')]),_0x8dc296=_0x17d109[_0x21b1('0x5c')](_0x1de55f);_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x19')](()=>{if(_0x8dc296)return void _0x1f746c[_0x21b1('0x2')](_0x34d2d6[_0x21b1('0x5e')]['createRangeOn'](_0x8dc296));const _0x3d0e15=_0x35990e[_0x21b1('0x1c')](_0x1de55f);_0x54e6ef(_0x3e28f9),_0x1de55f=_0x35990e['getClosestSelectedImageElement'](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5b')][_0x21b1('0x48')]),_0x8dc296=_0x17d109['getCaptionFromImageModelElement'](_0x1de55f),_0x1f746c['markInsertion'](_0x34d2d6[_0x21b1('0x5e')][_0x21b1('0x5a')](_0x8dc296),_0x3d0e15?null:_0x21b1('0x38'));});}),_0x1f746c['_suggestionFactory'][_0x21b1('0x42')](_0x21b1('0x4f'),'imageCaption',_0x21b1('0x15'),_0x23195d));const _0x1dd627=[{'type':_0x21b1('0x4b'),'subType':_0x21b1('0x13')},{'type':'insertion','subType':_0x21b1('0x38')},{'type':_0x21b1('0x4b'),'subType':_0x21b1('0x27')},{'type':_0x21b1('0x4f'),'subType':_0x21b1('0x27')}];function _0x331fa0(_0x45ff87,_0x1026fe){const _0x4c252b=_0x1dd627['findIndex'](({type:_0x4b7e21,subType:_0x484b1a})=>_0x45ff87[_0x21b1('0x47')]==_0x4b7e21&&_0x45ff87[_0x21b1('0x3f')]==_0x484b1a),_0x27903d=_0x1dd627['findIndex'](({type:_0x3b90e9,subType:_0x5b50f9})=>_0x1026fe[_0x21b1('0x47')]==_0x3b90e9&&_0x1026fe[_0x21b1('0x3f')]==_0x5b50f9);if(_0x4c252b<0x0||_0x27903d<0x0)return!0x1;const _0x1bbfa5=_0x45ff87[_0x21b1('0x3d')](),_0x3e772a=_0x1026fe[_0x21b1('0x3d')]();if((0x0==_0x4c252b||0x1==_0x4c252b)&&0x2==_0x27903d&&_0x1bbfa5['isIntersecting'](_0x3e772a))return!0x0;if(0x2==_0x4c252b&&0x3==_0x27903d){const _0x28ed48=_0x1f746c['_findSuggestions'](_0x1bbfa5,'insertion')[_0x21b1('0x5f')](({suggestion:_0x329952,meta:_0x34eeed})=>_0x34eeed[_0x21b1('0x59')]&&_0x21b1('0x27')==_0x329952[_0x21b1('0x3f')]);if(_0x28ed48[_0x21b1('0x20')]>0x1&&_0x3e772a[_0x21b1('0x39')][_0x21b1('0x22')](_0x1bbfa5[_0x21b1('0x4e')]))return!0x0;if(0x1==_0x28ed48['length']&&(_0x1bbfa5[_0x21b1('0x4e')]['isEqual'](_0x3e772a[_0x21b1('0x39')])||_0x1bbfa5[_0x21b1('0x39')][_0x21b1('0x22')](_0x3e772a[_0x21b1('0x4e')])))return!0x0;}if(0x3==_0x4c252b&&0x3==_0x27903d&&_0x1bbfa5['start']['isBefore'](_0x3e772a['start'])){const _0x3c5871=_0x1bbfa5[_0x21b1('0x39')][_0x21b1('0xf')],_0x72853e=_0x3e772a[_0x21b1('0x4e')]['nodeBefore'];return _0x35990e[_0x21b1('0x1c')](_0x3c5871)&&_0x3c5871===_0x72853e;}return!0x1;}function _0x23195d(_0x2d2a92,_0xf747a){return _0x331fa0(_0x2d2a92,_0xf747a)?[_0x2d2a92,_0xf747a]:_0x331fa0(_0xf747a,_0x2d2a92)?[_0xf747a,_0x2d2a92]:null;}_0x34d2d6[_0x21b1('0xc')]['has'](_0x21b1('0x53'))&&(_0x1f746c[_0x21b1('0x3a')](_0x21b1('0x40'),[],[_0x21b1('0x33')]),_0x1f746c[_0x21b1('0x55')][_0x21b1('0x3b')](_0x21b1('0x33'),_0x34b1cc(_0xc6e1a7,_0x21b1('0x11')))),_0x34d2d6[_0x21b1('0xc')][_0x21b1('0x34')]('ImageTextAlternativeEditing')&&_0x1f746c['_enableDefaultAttributesIntegration'](_0x21b1('0x17'),[],[_0x21b1('0x16')]),_0x1f746c[_0x21b1('0x55')]['registerDescriptionCallback'](_0x3df07d=>{if(!!_0x1dd627[_0x21b1('0x4c')](({type:_0x26b9d8,subType:_0x416cdb})=>_0x3df07d[_0x21b1('0x47')]==_0x26b9d8&&_0x3df07d[_0x21b1('0x3f')]==_0x416cdb))return _0x3df07d[_0x21b1('0x32')]?{}:void 0x0;}),_0x1f746c[_0x21b1('0x55')][_0x21b1('0x26')](_0x3df30c=>{if(_0x21b1('0x4f')==_0x3df30c[_0x21b1('0x47')]||_0x21b1('0x3e')==_0x3df30c[_0x21b1('0x47')]){const _0x42266f=_0x3df30c[_0x21b1('0x1')]();if(_0x42266f&&_0x42266f['is']('element','caption'))return{'type':'insertion'==_0x3df30c[_0x21b1('0x47')]?'addObject':_0x21b1('0x54'),'element':_0x42266f,'quantity':0x1};}}),_0x1f746c['_descriptionFactory'][_0x21b1('0x26')](_0x1928a3=>_0x21b1('0x4b')==_0x1928a3[_0x21b1('0x47')]&&_0x21b1('0x27')==_0x1928a3['subType']?{'type':_0x21b1('0x51'),'content':_0x21b1('0x21')}:_0x21b1('0x4b')==_0x1928a3['type']&&_0x21b1('0xb')==_0x1928a3['subType']?{'type':'format','content':_0x21b1('0x1e')}:void 0x0),_0x1f746c['_descriptionFactory'][_0x21b1('0x26')](_0x351534=>{if(_0x21b1('0x36')!=_0x351534[_0x21b1('0x47')])return;const {data:_0x57b46d}=_0x351534;if(!_0x57b46d||_0x21b1('0x16')!=_0x57b46d[_0x21b1('0x1b')])return;const _0x67d096=_0x57b46d[_0x21b1('0x41')];return _0x67d096?{'type':_0x21b1('0x51'),'content':_0x34b1cc(_0xc6e1a7,_0x21b1('0x23'),'\x22'+_0x67d096+'\x22')}:{'type':'format','content':_0x34b1cc(_0xc6e1a7,_0x21b1('0x6'))};}),this['_registerLegacyDescription']();}[_0x21b1('0xe')](){const _0x67ea80=this[_0x21b1('0x10')],_0x3a0fce=_0x67ea80[_0x21b1('0x57')];_0x67ea80[_0x21b1('0xc')][_0x21b1('0x12')]('TrackChangesEditing')[_0x21b1('0x55')][_0x21b1('0x26')](_0x346cd3=>{if('formatBlock'!=_0x346cd3[_0x21b1('0x47')]&&'formatInline'!=_0x346cd3[_0x21b1('0x47')])return;const {data:_0x14e784}=_0x346cd3;if(_0x14e784){if('imageTextAlternative'==_0x14e784[_0x21b1('0x49')]){const _0x478c8c=_0x14e784[_0x21b1('0x44')][0x0][_0x21b1('0x41')];return _0x478c8c?{'type':'format','content':_0x34b1cc(_0x3a0fce,_0x21b1('0x23'),'\x22'+_0x478c8c+'\x22')}:{'type':_0x21b1('0x51'),'content':_0x34b1cc(_0x3a0fce,_0x21b1('0x6'))};}if('resizeImage'==_0x14e784[_0x21b1('0x49')]){const _0x3511cb=_0x14e784[_0x21b1('0x44')][0x0][_0x21b1('0x2c')];return _0x3511cb?{'type':_0x21b1('0x51'),'content':_0x34b1cc(_0x3a0fce,_0x21b1('0x18'),_0x3511cb)}:{'type':'format','content':_0x34b1cc(_0x3a0fce,_0x21b1('0x2f'))};}}});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/imagereplace
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for image replace feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4664=['_descriptionFactory','ImageEditing','formatBlock','type','commandName','getSuggestionCallback','locale','src','attribute','_handleLegacySuggestions','newValue','discard','accept','TrackChangesEditing','has','editor','_registerLegacyDescription','get','plugins','formatInline','*Replace\x20image\x20URL*','_enableDefaultAttributesIntegration','registerCustomCallback','afterInit','oldValue','format','replaceImageSource','_suggestionFactory'];(function(_0x4a3780,_0x4664a3){const _0x31741e=function(_0x1ba398){while(--_0x1ba398){_0x4a3780['push'](_0x4a3780['shift']());}};_0x31741e(++_0x4664a3);}(_0x4664,0x19c));const _0x3174=function(_0x4a3780,_0x4664a3){_0x4a3780=_0x4a3780-0x0;let _0x31741e=_0x4664[_0x4a3780];return _0x31741e;};import{Plugin as _0x1b975c}from'ckeditor5/src/core';import{getTranslation as _0x2eef9a}from'../utils/common-translations';export default class et extends _0x1b975c{[_0x3174('0x3')](){if(!this[_0x3174('0x17')][_0x3174('0x1a')][_0x3174('0x16')](_0x3174('0x9')))return;const _0x54658c=this[_0x3174('0x17')]['locale'],_0x182c7b=this['editor'][_0x3174('0x1a')][_0x3174('0x19')](_0x3174('0x15'));_0x182c7b[_0x3174('0x1')](_0x3174('0x6'),[],[_0x3174('0xf')]),_0x182c7b[_0x3174('0x8')]['registerDescriptionCallback'](_0x76b5e3=>{if(_0x3174('0x10')!=_0x76b5e3['type'])return;const {data:_0x49d19e}=_0x76b5e3;return _0x49d19e&&_0x3174('0xf')==_0x49d19e['key']?_0x49d19e[_0x3174('0x12')]&&_0x49d19e[_0x3174('0x4')]?{'type':_0x3174('0x5'),'content':_0x2eef9a(_0x54658c,_0x3174('0x0'))}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}[_0x3174('0x11')](){const _0x4958ee=this[_0x3174('0x17')]['plugins'][_0x3174('0x19')](_0x3174('0x15'));_0x4958ee['_suggestionFactory'][_0x3174('0x2')](_0x3174('0xa'),_0x3174('0x6'),_0x3174('0x14'),_0x4958ee[_0x3174('0x7')][_0x3174('0xd')](_0x3174('0xa'),null,'discard')),_0x4958ee[_0x3174('0x7')][_0x3174('0x2')](_0x3174('0xa'),_0x3174('0x6'),_0x3174('0x13'),_0x4958ee[_0x3174('0x7')][_0x3174('0xd')]('formatBlock',null,_0x3174('0x14'))),this[_0x3174('0x18')]();}[_0x3174('0x18')](){const _0x4331fa=this['editor'],_0x21ada9=_0x4331fa[_0x3174('0xe')];_0x4331fa['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['registerDescriptionCallback'](_0x309e18=>{if('formatBlock'!=_0x309e18[_0x3174('0xb')]&&_0x3174('0x1b')!=_0x309e18[_0x3174('0xb')])return;const {data:_0x34fd52}=_0x309e18;if(!_0x34fd52||'replaceImageSource'!=_0x34fd52[_0x3174('0xc')])return;return{'type':'format','content':_0x2eef9a(_0x21ada9,'*Format:*\x20replace\x20image\x20URL')};});}}
23
+ const _0x281c=['locale','_enableDefaultAttributesIntegration','afterInit','type','has','format','editor','accept','TrackChangesEditing','_suggestionFactory','formatInline','key','formatBlock','registerDescriptionCallback','newValue','discard','src','plugins','_handleLegacySuggestions','*Format:*\x20replace\x20image\x20URL','getSuggestionCallback','_descriptionFactory','get','_registerLegacyDescription','attribute','replaceImageSource','ImageEditing','oldValue','registerCustomCallback'];(function(_0x4f9400,_0x281cc4){const _0x3fc936=function(_0x1b5d5a){while(--_0x1b5d5a){_0x4f9400['push'](_0x4f9400['shift']());}};_0x3fc936(++_0x281cc4);}(_0x281c,0x1b2));const _0x3fc9=function(_0x4f9400,_0x281cc4){_0x4f9400=_0x4f9400-0x0;let _0x3fc936=_0x281c[_0x4f9400];return _0x3fc936;};import{Plugin as _0x1c27af}from'ckeditor5/src/core.js';import{getTranslation as _0x464e24}from'../utils/common-translations.js';export default class et extends _0x1c27af{[_0x3fc9('0x3')](){if(!this['editor'][_0x3fc9('0x12')][_0x3fc9('0x5')](_0x3fc9('0x1b')))return;const _0x1a837f=this[_0x3fc9('0x7')][_0x3fc9('0x1')],_0x21b2b2=this['editor'][_0x3fc9('0x12')][_0x3fc9('0x17')](_0x3fc9('0x9'));_0x21b2b2[_0x3fc9('0x2')](_0x3fc9('0x1a'),[],[_0x3fc9('0x11')]),_0x21b2b2[_0x3fc9('0x16')][_0x3fc9('0xe')](_0x26b694=>{if(_0x3fc9('0x19')!=_0x26b694['type'])return;const {data:_0x399d2f}=_0x26b694;return _0x399d2f&&_0x3fc9('0x11')==_0x399d2f[_0x3fc9('0xc')]?_0x399d2f[_0x3fc9('0xf')]&&_0x399d2f[_0x3fc9('0x1c')]?{'type':_0x3fc9('0x6'),'content':_0x464e24(_0x1a837f,'*Replace\x20image\x20URL*')}:{'type':'format','content':''}:void 0x0;}),this[_0x3fc9('0x13')]();}[_0x3fc9('0x13')](){const _0xba92d9=this[_0x3fc9('0x7')][_0x3fc9('0x12')]['get'](_0x3fc9('0x9'));_0xba92d9[_0x3fc9('0xa')][_0x3fc9('0x0')]('formatBlock','replaceImageSource',_0x3fc9('0x8'),_0xba92d9[_0x3fc9('0xa')][_0x3fc9('0x15')](_0x3fc9('0xd'),null,_0x3fc9('0x10'))),_0xba92d9[_0x3fc9('0xa')]['registerCustomCallback'](_0x3fc9('0xd'),_0x3fc9('0x1a'),_0x3fc9('0x10'),_0xba92d9['_suggestionFactory'][_0x3fc9('0x15')]('formatBlock',null,_0x3fc9('0x8'))),this[_0x3fc9('0x18')]();}[_0x3fc9('0x18')](){const _0x2c7d33=this['editor'],_0x35eedc=_0x2c7d33['locale'];_0x2c7d33['plugins'][_0x3fc9('0x17')](_0x3fc9('0x9'))['_descriptionFactory'][_0x3fc9('0xe')](_0x672868=>{if(_0x3fc9('0xd')!=_0x672868[_0x3fc9('0x4')]&&_0x3fc9('0xb')!=_0x672868[_0x3fc9('0x4')])return;const {data:_0x3c7a2a}=_0x672868;if(!_0x3c7a2a||_0x3fc9('0x1a')!=_0x3c7a2a['commandName'])return;return{'type':_0x3fc9('0x6'),'content':_0x464e24(_0x35eedc,_0x3fc9('0x14'))};});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/image
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:image/image~Image image feature}.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x380c=['FORMAT_SIDE_IMAGE','normalizedStyles','nodeBefore','_findSuggestions','get','getClosestSelectedImageElement','registerDescriptionCallback','author','commandName','discardSuggestion','commands','isBefore','_suggestionFactory','imageTypeBlock','formatInline','next','commandReversedParams','hasSuggestion','subType','from','findIndex','getFirstRange','filter','enableCommand','editor','imageStylePreApply','imageStyle','refresh','end','isEqual','accept','title','document','has','ImageStyleEditing','ImageUtils','registerCustomCallback','setImageNaturalSizeAttributes','isBlockImage','imageStylePostApply','value','_descriptionFactory','change','type','join','createRangeOn','getContainedElement','selection','plugins','start','commandParams','Users','chain','afterInit','toLowerCase','isInContent','imageCaption','newRange','convertInlineImageToBlock','TrackChangesEditing','isInlineImage','getSuggestions','insertion','discard','*Format:*\x20%0','isOwn','model','imageTypeInline','formatBlock','getSuggestion','format','markBlockFormat','shouldConvertImageType','forEach','head','name','length'];(function(_0x2ee3b8,_0x380c6d){const _0x4d5472=function(_0x47d47e){while(--_0x47d47e){_0x2ee3b8['push'](_0x2ee3b8['shift']());}};_0x4d5472(++_0x380c6d);}(_0x380c,0x129));const _0x4d54=function(_0x2ee3b8,_0x380c6d){_0x2ee3b8=_0x2ee3b8-0x0;let _0x4d5472=_0x380c[_0x2ee3b8];return _0x4d5472;};import{Plugin as _0x46fd3f}from'ckeditor5/src/core';import{uid as _0x3127bb}from'ckeditor5/src/utils';import{getTranslation as _0x2e8c43}from'../utils/common-translations';export default class nt extends _0x46fd3f{[_0x4d54('0x40')](){const _0x24fcc6=this[_0x4d54('0x23')];if(!_0x24fcc6['plugins'][_0x4d54('0x2c')]('ImageStyleEditing'))return;const _0x4308f4=_0x24fcc6[_0x4d54('0x3b')]['get'](_0x4d54('0x46')),_0x339e97=_0x24fcc6['plugins'][_0x4d54('0xf')](_0x4d54('0x2e')),_0x52a5dc={};_0x4308f4[_0x4d54('0x22')](_0x4d54('0x25'),(_0x53224b,_0x503df3)=>{const _0x676d9f=_0x24fcc6[_0x4d54('0x3b')][_0x4d54('0xf')](_0x4d54('0x3e'))['me'],_0x658a0b=_0x24fcc6[_0x4d54('0x15')][_0x4d54('0xf')]('imageStyle');let _0x3d05b4=_0x339e97[_0x4d54('0x10')](_0x24fcc6[_0x4d54('0x0')]['document'][_0x4d54('0x3a')]),_0x4e6aa6=_0x24fcc6[_0x4d54('0x0')][_0x4d54('0x38')](_0x3d05b4),_0xf4176c=_0x658a0b['value'];if(_0xf4176c==_0x503df3[_0x4d54('0x33')])return;const _0x6b1f62={'commandName':_0x4d54('0x25'),'commandParams':[_0x503df3],'formatGroupId':_0x3127bb()};_0x24fcc6['model'][_0x4d54('0x35')](()=>{if(_0x4308f4[_0x4d54('0x48')]()[_0x4d54('0x21')](_0x1b9f6f=>_0x1b9f6f[_0x4d54('0x42')]&&_0x676d9f==_0x1b9f6f[_0x4d54('0x12')]&&(_0x4d54('0x2')==_0x1b9f6f['type']||'formatInline'==_0x1b9f6f[_0x4d54('0x36')])&&(_0x4d54('0x24')==_0x1b9f6f[_0x4d54('0x1d')]||_0x4d54('0x32')==_0x1b9f6f['subType'])&&_0x1b9f6f[_0x4d54('0x20')]()[_0x4d54('0x28')](_0x4e6aa6))[_0x4d54('0x7')](_0x484d63=>_0x4308f4[_0x4d54('0x14')](_0x484d63[_0x4d54('0x8')])),_0x3d05b4=_0x339e97[_0x4d54('0x10')](_0x24fcc6[_0x4d54('0x0')][_0x4d54('0x2b')][_0x4d54('0x3a')]),_0x4e6aa6=_0x24fcc6['model'][_0x4d54('0x38')](_0x3d05b4),_0x658a0b['refresh'](),_0x24fcc6[_0x4d54('0x15')][_0x4d54('0xf')](_0x4d54('0x1'))[_0x4d54('0x26')](),_0x24fcc6['commands'][_0x4d54('0xf')](_0x4d54('0x18'))[_0x4d54('0x26')](),_0xf4176c=_0x658a0b[_0x4d54('0x33')],_0xf4176c!=_0x503df3['value'])return _0x339e97[_0x4d54('0x47')](_0x3d05b4)&&_0x658a0b[_0x4d54('0x6')](_0x503df3[_0x4d54('0x33')],_0x3d05b4)?(_0x53224b({..._0x503df3,'setImageSizes':!0x1}),_0x3d05b4=_0x339e97[_0x4d54('0x10')](_0x24fcc6[_0x4d54('0x0')][_0x4d54('0x2b')][_0x4d54('0x3a')]),void _0x4308f4[_0x4d54('0x5')](_0x3d05b4,{..._0x6b1f62,'commandReversedParams':[{'value':_0xf4176c||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x339e97['isBlockImage'](_0x3d05b4)?_0x4308f4['markBlockFormat'](_0x3d05b4,_0x6b1f62,[],_0x4d54('0x32')):_0x4308f4['markInlineFormat'](_0x4e6aa6,_0x6b1f62,_0x4d54('0x32')));});});for(const _0x30bf28 of _0x24fcc6[_0x4d54('0x3b')][_0x4d54('0xf')](_0x4d54('0x2d'))[_0x4d54('0xc')])_0x52a5dc[_0x30bf28[_0x4d54('0x9')]]=_0x30bf28[_0x4d54('0x2a')][_0x4d54('0x41')]();_0x4308f4[_0x4d54('0x17')][_0x4d54('0x2f')](_0x4d54('0x2'),_0x4d54('0x24'),_0x4d54('0x37'),()=>!0x1),_0x4308f4[_0x4d54('0x17')][_0x4d54('0x2f')](_0x4d54('0x2'),_0x4d54('0x32'),_0x4d54('0x37'),()=>!0x1),_0x4308f4['_suggestionFactory'][_0x4d54('0x2f')](_0x4d54('0x19'),_0x4d54('0x32'),'join',()=>!0x1),_0x4308f4['_suggestionFactory'][_0x4d54('0x2f')]('formatBlock','imageStylePreApply',_0x4d54('0x29'),([_0x4a5273])=>{_0x339e97[_0x4d54('0x30')](_0x4a5273[_0x4d54('0x39')]());}),_0x4308f4[_0x4d54('0x17')]['registerCustomCallback']('formatBlock',_0x4d54('0x24'),_0x4d54('0x4a'),(_0x193eba,_0x47ab27)=>{_0x4308f4[_0x4d54('0x17')]['getSuggestionCallback'](_0x4d54('0x2'),'',_0x4d54('0x29'))(_0x193eba,{'commandName':_0x47ab27[_0x4d54('0x13')],'commandParams':_0x47ab27[_0x4d54('0x1b')]});}),_0x4308f4[_0x4d54('0x17')]['registerCustomCallback'](_0x4d54('0x2'),'imageStylePreApply',_0x4d54('0x3f'),function(_0x3510d1,_0x6645a6){if(_0x97fee7(_0x3510d1,_0x6645a6))return[_0x3510d1,_0x6645a6];if(_0x97fee7(_0x6645a6,_0x3510d1))return[_0x6645a6,_0x3510d1];return null;});const _0x5970fe=[{'type':_0x4d54('0x2'),'subType':_0x4d54('0x24')},{'type':_0x4d54('0x49'),'subType':'imageCaption'},{'type':_0x4d54('0x2'),'subType':'convertInlineImageToBlock'},{'type':_0x4d54('0x49'),'subType':'convertInlineImageToBlock'}];function _0x97fee7(_0x2d8a4b,_0x128285){const _0x795e48=_0x5970fe[_0x4d54('0x1f')](({type:_0xaea8d8,subType:_0x187add})=>_0x2d8a4b[_0x4d54('0x36')]==_0xaea8d8&&_0x2d8a4b[_0x4d54('0x1d')]==_0x187add),_0x268947=_0x5970fe[_0x4d54('0x1f')](({type:_0x1b0651,subType:_0x391091})=>_0x128285[_0x4d54('0x36')]==_0x1b0651&&_0x128285[_0x4d54('0x1d')]==_0x391091);if(_0x795e48<0x0||_0x268947<0x0)return!0x1;const _0x4f9120=_0x2d8a4b['getFirstRange'](),_0x55e57b=_0x128285['getFirstRange']();if((0x0==_0x795e48||0x1==_0x795e48)&&0x2==_0x268947&&_0x4f9120['isIntersecting'](_0x55e57b))return!0x0;if(0x2==_0x795e48&&0x3==_0x268947){const _0x5e0558=_0x4308f4[_0x4d54('0xe')](_0x4f9120,_0x4d54('0x49'))[_0x4d54('0x21')](({suggestion:_0x513103,meta:_0x2f10c4})=>_0x2f10c4[_0x4d54('0x4c')]&&_0x4d54('0x45')==_0x513103[_0x4d54('0x1d')]);if(_0x5e0558['length']>0x1&&_0x55e57b[_0x4d54('0x27')][_0x4d54('0x28')](_0x4f9120['start']))return!0x0;if(0x1==_0x5e0558[_0x4d54('0xa')]&&(_0x4f9120[_0x4d54('0x3c')]['isEqual'](_0x55e57b[_0x4d54('0x27')])||_0x4f9120[_0x4d54('0x27')][_0x4d54('0x28')](_0x55e57b[_0x4d54('0x3c')])))return!0x0;}if(0x3==_0x795e48&&0x3==_0x268947&&_0x4f9120['start'][_0x4d54('0x16')](_0x55e57b[_0x4d54('0x3c')])){const _0x15dd32=_0x4f9120[_0x4d54('0x27')]['nodeAfter'],_0x53b52c=_0x55e57b[_0x4d54('0x3c')][_0x4d54('0xd')];return _0x339e97[_0x4d54('0x31')](_0x15dd32)&&_0x15dd32===_0x53b52c;}return!0x1;}_0x24fcc6[_0x4d54('0x0')][_0x4d54('0x2b')]['registerPostFixer'](()=>{let _0x3463f0=!0x1;const _0x128c07=Array[_0x4d54('0x1e')](_0x24fcc6[_0x4d54('0x0')][_0x4d54('0x2b')]['differ']['getChangedMarkers']());for(const {name:_0x1fc327,data:_0x5a78b8}of _0x128c07){const {group:_0x51d8c9,type:_0x12b43e,subType:_0x464247,id:_0x491ebb}=_0x4308f4['_splitMarkerName'](_0x1fc327);if('suggestion'==_0x51d8c9&&_0x4308f4[_0x4d54('0x1c')](_0x491ebb)){if(_0x4d54('0x2')==_0x12b43e&&('imageStylePreApply'==_0x464247||_0x4d54('0x32')==_0x464247)){const _0x552f9c=_0x4308f4[_0x4d54('0x3')](_0x491ebb);if(_0x5a78b8[_0x4d54('0x44')]){const _0x16074e=_0x552f9c[_0x4d54('0x20')]()[_0x4d54('0x39')]();if(_0x339e97[_0x4d54('0x31')](_0x16074e))continue;_0x4308f4[_0x4d54('0x14')](_0x552f9c),_0x3463f0=!0x0;}}if(_0x4d54('0x49')==_0x12b43e&&_0x4d54('0x43')==_0x464247&&!_0x5a78b8[_0x4d54('0x44')]){const _0x11f045=_0x4308f4['getSuggestion'](_0x491ebb);_0x11f045[_0x4d54('0x1a')]&&_0x11f045['next'][_0x4d54('0x42')]&&(_0x4308f4['discardSuggestion'](_0x11f045[_0x4d54('0x1a')]),_0x3463f0=!0x0);}}}return _0x3463f0;}),this['_registerLegacyDescription'](_0x52a5dc);}['_registerLegacyDescription'](_0x46d30a){const _0x882f48=this[_0x4d54('0x23')],_0x4e3202=_0x882f48['locale'];_0x882f48['plugins']['get'](_0x4d54('0x46'))[_0x4d54('0x34')][_0x4d54('0x11')](_0x48e168=>{if(_0x4d54('0x2')!=_0x48e168[_0x4d54('0x36')]&&'formatInline'!=_0x48e168[_0x4d54('0x36')])return;const {data:_0x4cffc1}=_0x48e168;if(!_0x4cffc1||'imageStyle'!=_0x4cffc1[_0x4d54('0x13')])return;const _0x30d190=_0x4cffc1[_0x4d54('0x3d')][0x0][_0x4d54('0x33')];return _0x530c2b('side'===_0x30d190?_0x2e8c43(_0x4e3202,_0x4d54('0xb')):_0x46d30a[_0x30d190]||_0x30d190);function _0x530c2b(_0x57377){return{'type':_0x4d54('0x4'),'content':_0x2e8c43(_0x4e3202,_0x4d54('0x4b'),_0x57377)};}});}}
23
+ const _0x49f8=['FORMAT_SIDE_IMAGE','editor','refresh','registerCustomCallback','has','registerDescriptionCallback','ImageUtils','subType','start','name','getFirstRange','imageStylePreApply','suggestion','setImageNaturalSizeAttributes','length','join','imageStyle','getChangedMarkers','commandReversedParams','commandParams','nodeBefore','locale','afterInit','next','title','isBlockImage','differ','formatBlock','registerPostFixer','isIntersecting','from','isEqual','plugins','getSuggestion','ImageStyleEditing','imageTypeBlock','side','model','end','_findSuggestions','document','findIndex','commandName','format','getClosestSelectedImageElement','convertInlineImageToBlock','normalizedStyles','enableCommand','get','toLowerCase','value','filter','author','commands','discardSuggestion','discard','shouldConvertImageType','accept','*Format:*\x20%0','markBlockFormat','formatInline','getContainedElement','_splitMarkerName','Users','_suggestionFactory','_registerLegacyDescription','insertion','imageStylePostApply','newRange','getSuggestions','imageCaption','isInContent','isInlineImage','createRangeOn','type','_descriptionFactory','forEach','selection','getSuggestionCallback'];(function(_0x354fa6,_0x49f8bd){const _0x20656f=function(_0xce3d75){while(--_0xce3d75){_0x354fa6['push'](_0x354fa6['shift']());}};_0x20656f(++_0x49f8bd);}(_0x49f8,0x144));const _0x2065=function(_0x354fa6,_0x49f8bd){_0x354fa6=_0x354fa6-0x0;let _0x20656f=_0x49f8[_0x354fa6];return _0x20656f;};import{Plugin as _0x2b1d3b}from'ckeditor5/src/core.js';import{uid as _0x34e5cb}from'ckeditor5/src/utils.js';import{getTranslation as _0x11b346}from'../utils/common-translations.js';export default class st extends _0x2b1d3b{[_0x2065('0xe')](){const _0x803c4a=this[_0x2065('0x48')];if(!_0x803c4a[_0x2065('0x18')][_0x2065('0x4b')]('ImageStyleEditing'))return;const _0x19fb5c=_0x803c4a[_0x2065('0x18')][_0x2065('0x28')]('TrackChangesEditing'),_0x5f09c8=_0x803c4a['plugins'][_0x2065('0x28')](_0x2065('0x4d')),_0x19e01d={};_0x19fb5c[_0x2065('0x27')](_0x2065('0x8'),(_0x2f9343,_0x4acbf6)=>{const _0x444be6=_0x803c4a['plugins'][_0x2065('0x28')](_0x2065('0x37'))['me'],_0x4b160d=_0x803c4a[_0x2065('0x2d')][_0x2065('0x28')](_0x2065('0x8'));let _0x18d081=_0x5f09c8['getClosestSelectedImageElement'](_0x803c4a['model'][_0x2065('0x20')][_0x2065('0x45')]),_0x1286a5=_0x803c4a['model'][_0x2065('0x41')](_0x18d081),_0x239282=_0x4b160d[_0x2065('0x2a')];if(_0x239282==_0x4acbf6[_0x2065('0x2a')])return;const _0x502f56={'commandName':_0x2065('0x8'),'commandParams':[_0x4acbf6],'formatGroupId':_0x34e5cb()};_0x803c4a['model']['change'](()=>{if(_0x19fb5c[_0x2065('0x3d')]()[_0x2065('0x2b')](_0x65074d=>_0x65074d[_0x2065('0x3f')]&&_0x444be6==_0x65074d[_0x2065('0x2c')]&&(_0x2065('0x13')==_0x65074d[_0x2065('0x42')]||_0x2065('0x34')==_0x65074d[_0x2065('0x42')])&&(_0x2065('0x3')==_0x65074d[_0x2065('0x4e')]||_0x2065('0x3b')==_0x65074d[_0x2065('0x4e')])&&_0x65074d[_0x2065('0x2')]()[_0x2065('0x17')](_0x1286a5))[_0x2065('0x44')](_0xf7a781=>_0x19fb5c[_0x2065('0x2e')](_0xf7a781['head'])),_0x18d081=_0x5f09c8[_0x2065('0x24')](_0x803c4a[_0x2065('0x1d')][_0x2065('0x20')]['selection']),_0x1286a5=_0x803c4a['model'][_0x2065('0x41')](_0x18d081),_0x4b160d[_0x2065('0x49')](),_0x803c4a['commands'][_0x2065('0x28')]('imageTypeInline')[_0x2065('0x49')](),_0x803c4a[_0x2065('0x2d')]['get'](_0x2065('0x1b'))[_0x2065('0x49')](),_0x239282=_0x4b160d['value'],_0x239282!=_0x4acbf6[_0x2065('0x2a')])return _0x5f09c8[_0x2065('0x40')](_0x18d081)&&_0x4b160d[_0x2065('0x30')](_0x4acbf6[_0x2065('0x2a')],_0x18d081)?(_0x2f9343({..._0x4acbf6,'setImageSizes':!0x1}),_0x18d081=_0x5f09c8[_0x2065('0x24')](_0x803c4a[_0x2065('0x1d')]['document']['selection']),void _0x19fb5c[_0x2065('0x33')](_0x18d081,{..._0x502f56,'commandReversedParams':[{'value':_0x239282||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x5f09c8[_0x2065('0x11')](_0x18d081)?_0x19fb5c[_0x2065('0x33')](_0x18d081,_0x502f56,[],_0x2065('0x3b')):_0x19fb5c['markInlineFormat'](_0x1286a5,_0x502f56,_0x2065('0x3b')));});});for(const _0x4d8f76 of _0x803c4a[_0x2065('0x18')][_0x2065('0x28')](_0x2065('0x1a'))[_0x2065('0x26')])_0x19e01d[_0x4d8f76[_0x2065('0x1')]]=_0x4d8f76[_0x2065('0x10')][_0x2065('0x29')]();_0x19fb5c['_suggestionFactory'][_0x2065('0x4a')](_0x2065('0x13'),_0x2065('0x3'),_0x2065('0x7'),()=>!0x1),_0x19fb5c['_suggestionFactory']['registerCustomCallback'](_0x2065('0x13'),_0x2065('0x3b'),'join',()=>!0x1),_0x19fb5c[_0x2065('0x38')][_0x2065('0x4a')](_0x2065('0x34'),_0x2065('0x3b'),'join',()=>!0x1),_0x19fb5c['_suggestionFactory'][_0x2065('0x4a')](_0x2065('0x13'),'imageStylePreApply',_0x2065('0x31'),([_0x1859df])=>{_0x5f09c8[_0x2065('0x5')](_0x1859df['getContainedElement']());}),_0x19fb5c[_0x2065('0x38')]['registerCustomCallback'](_0x2065('0x13'),_0x2065('0x3'),_0x2065('0x2f'),(_0x464c49,_0x993d74)=>{_0x19fb5c[_0x2065('0x38')][_0x2065('0x46')]('formatBlock','',_0x2065('0x31'))(_0x464c49,{'commandName':_0x993d74[_0x2065('0x22')],'commandParams':_0x993d74[_0x2065('0xa')]});}),_0x19fb5c[_0x2065('0x38')][_0x2065('0x4a')](_0x2065('0x13'),_0x2065('0x3'),'chain',function(_0x31faa6,_0x121f64){if(_0x268a0d(_0x31faa6,_0x121f64))return[_0x31faa6,_0x121f64];if(_0x268a0d(_0x121f64,_0x31faa6))return[_0x121f64,_0x31faa6];return null;});const _0x2c836d=[{'type':_0x2065('0x13'),'subType':_0x2065('0x3')},{'type':'insertion','subType':_0x2065('0x3e')},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':_0x2065('0x3a'),'subType':_0x2065('0x25')}];function _0x268a0d(_0x1394e7,_0x305114){const _0x42ed59=_0x2c836d['findIndex'](({type:_0x5e4e79,subType:_0x232ccd})=>_0x1394e7[_0x2065('0x42')]==_0x5e4e79&&_0x1394e7[_0x2065('0x4e')]==_0x232ccd),_0x97f99=_0x2c836d[_0x2065('0x21')](({type:_0x280dc5,subType:_0x115590})=>_0x305114[_0x2065('0x42')]==_0x280dc5&&_0x305114[_0x2065('0x4e')]==_0x115590);if(_0x42ed59<0x0||_0x97f99<0x0)return!0x1;const _0x2df96e=_0x1394e7[_0x2065('0x2')](),_0x34b367=_0x305114[_0x2065('0x2')]();if((0x0==_0x42ed59||0x1==_0x42ed59)&&0x2==_0x97f99&&_0x2df96e[_0x2065('0x15')](_0x34b367))return!0x0;if(0x2==_0x42ed59&&0x3==_0x97f99){const _0x1ef213=_0x19fb5c[_0x2065('0x1f')](_0x2df96e,_0x2065('0x3a'))[_0x2065('0x2b')](({suggestion:_0x576f97,meta:_0x3494a7})=>_0x3494a7['isOwn']&&_0x2065('0x25')==_0x576f97[_0x2065('0x4e')]);if(_0x1ef213['length']>0x1&&_0x34b367[_0x2065('0x1e')][_0x2065('0x17')](_0x2df96e[_0x2065('0x0')]))return!0x0;if(0x1==_0x1ef213[_0x2065('0x6')]&&(_0x2df96e[_0x2065('0x0')][_0x2065('0x17')](_0x34b367[_0x2065('0x1e')])||_0x2df96e[_0x2065('0x1e')][_0x2065('0x17')](_0x34b367['start'])))return!0x0;}if(0x3==_0x42ed59&&0x3==_0x97f99&&_0x2df96e[_0x2065('0x0')]['isBefore'](_0x34b367[_0x2065('0x0')])){const _0x2f3bef=_0x2df96e[_0x2065('0x1e')]['nodeAfter'],_0x5ae8c7=_0x34b367[_0x2065('0x0')][_0x2065('0xc')];return _0x5f09c8['isBlockImage'](_0x2f3bef)&&_0x2f3bef===_0x5ae8c7;}return!0x1;}_0x803c4a['model'][_0x2065('0x20')][_0x2065('0x14')](()=>{let _0x2f98b5=!0x1;const _0x3e6247=Array[_0x2065('0x16')](_0x803c4a[_0x2065('0x1d')][_0x2065('0x20')][_0x2065('0x12')][_0x2065('0x9')]());for(const {name:_0x2652fc,data:_0xc462ac}of _0x3e6247){const {group:_0x5985fa,type:_0x75c07b,subType:_0x6bab87,id:_0x4ccee6}=_0x19fb5c[_0x2065('0x36')](_0x2652fc);if(_0x2065('0x4')==_0x5985fa&&_0x19fb5c['hasSuggestion'](_0x4ccee6)){if(_0x2065('0x13')==_0x75c07b&&(_0x2065('0x3')==_0x6bab87||'imageStylePostApply'==_0x6bab87)){const _0x689f58=_0x19fb5c[_0x2065('0x19')](_0x4ccee6);if(_0xc462ac[_0x2065('0x3c')]){const _0x51f87b=_0x689f58[_0x2065('0x2')]()[_0x2065('0x35')]();if(_0x5f09c8[_0x2065('0x11')](_0x51f87b))continue;_0x19fb5c[_0x2065('0x2e')](_0x689f58),_0x2f98b5=!0x0;}}if('insertion'==_0x75c07b&&_0x2065('0x3e')==_0x6bab87&&!_0xc462ac['newRange']){const _0x146c2e=_0x19fb5c[_0x2065('0x19')](_0x4ccee6);_0x146c2e[_0x2065('0xf')]&&_0x146c2e[_0x2065('0xf')][_0x2065('0x3f')]&&(_0x19fb5c[_0x2065('0x2e')](_0x146c2e[_0x2065('0xf')]),_0x2f98b5=!0x0);}}}return _0x2f98b5;}),this[_0x2065('0x39')](_0x19e01d);}[_0x2065('0x39')](_0x1433c6){const _0x44521d=this[_0x2065('0x48')],_0x26ef72=_0x44521d[_0x2065('0xd')];_0x44521d[_0x2065('0x18')]['get']('TrackChangesEditing')[_0x2065('0x43')][_0x2065('0x4c')](_0x2109ea=>{if('formatBlock'!=_0x2109ea[_0x2065('0x42')]&&'formatInline'!=_0x2109ea[_0x2065('0x42')])return;const {data:_0x270676}=_0x2109ea;if(!_0x270676||'imageStyle'!=_0x270676[_0x2065('0x22')])return;const _0x439d52=_0x270676[_0x2065('0xb')][0x0][_0x2065('0x2a')];return _0xb8c4ff(_0x2065('0x1c')===_0x439d52?_0x11b346(_0x26ef72,_0x2065('0x47')):_0x1433c6[_0x439d52]||_0x439d52);function _0xb8c4ff(_0x44903c){return{'type':_0x2065('0x23'),'content':_0x11b346(_0x26ef72,_0x2065('0x32'),_0x44903c)};}});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/importword
7
7
  */
8
- import { Plugin, type Editor } from 'ckeditor5/src/core';
8
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for the import from Word feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3216=['_handleImportedData','execute','commands','dataInsert','afterInit','enableCommand','editor','trackChanges','Users','TrackChangesEditing','_trackChangesExecuted','collaboration_features','get','_trackChangesValueDuringImport','plugins','listenTo','importWord','value','lowest'];(function(_0x470026,_0x321617){const _0x27e4be=function(_0x1b5f69){while(--_0x1b5f69){_0x470026['push'](_0x470026['shift']());}};_0x27e4be(++_0x321617);}(_0x3216,0x18e));const _0x27e4=function(_0x470026,_0x321617){_0x470026=_0x470026-0x0;let _0x27e4be=_0x3216[_0x470026];return _0x27e4be;};import{Plugin as _0x246958}from'ckeditor5/src/core';export default class st extends _0x246958{constructor(_0x1c2125){super(_0x1c2125),this['_trackChangesValueDuringImport']=!0x1,this[_0x27e4('0xb')]=!0x1;}[_0x27e4('0x5')](){const _0xdfdb7d=this[_0x27e4('0x7')],_0x2d095b=_0xdfdb7d['commands'][_0x27e4('0xd')](_0x27e4('0x11')),_0x54a1c1=_0xdfdb7d[_0x27e4('0x3')][_0x27e4('0xd')](_0x27e4('0x8'));_0x2d095b&&(_0x2d095b['on']('execute',(_0x193196,[,_0x4efa74])=>{this[_0x27e4('0xe')]=_0x54a1c1[_0x27e4('0x12')],_0x4efa74[_0x27e4('0xc')]['track_changes']=!this[_0x27e4('0xe')];},{'priority':'high'}),this[_0x27e4('0x10')](_0x2d095b,_0x27e4('0x4'),this[_0x27e4('0x1')]['bind'](this)),this[_0x27e4('0x10')](_0x2d095b,_0x27e4('0x4'),()=>{this[_0x27e4('0xb')]&&(_0x54a1c1[_0x27e4('0x2')](),this[_0x27e4('0xb')]=!0x1);},{'priority':_0x27e4('0x0')}),_0xdfdb7d['plugins']['get'](_0x27e4('0xa'))[_0x27e4('0x6')](_0x27e4('0x11')));}[_0x27e4('0x1')](_0x125b50,_0x56f529){const {suggestions:_0x4e3d4b}=_0x56f529,_0x244380=this[_0x27e4('0x7')][_0x27e4('0x3')]['get'](_0x27e4('0x8')),_0x449d14=_0x244380[_0x27e4('0x12')];this[_0x27e4('0xe')]!==_0x449d14&&(_0x244380['execute'](),this['_trackChangesExecuted']=!0x0),_0x4e3d4b&&_0x4e3d4b['forEach'](({id:_0x1a12c1,type:_0x4d886c,author:_0x5623b7,created_at:_0x52654e})=>{const _0x2c0e91={'id':_0x1a12c1,'type':_0x4d886c,'authorId':this['editor'][_0x27e4('0xf')][_0x27e4('0xd')](_0x27e4('0x9'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x5623b7,'createdAt':_0x52654e?new Date(_0x52654e):new Date(),'source':_0x27e4('0x11')}}};this[_0x27e4('0x7')][_0x27e4('0xf')][_0x27e4('0xd')](_0x27e4('0xa'))['_setSuggestionData'](_0x2c0e91);});}}
23
+ const _0x2198=['editor','forEach','importWord','_trackChangesExecuted','dataInsert','get','_trackChangesValueDuringImport','commands','execute','_handleImportedData','listenTo','_setSuggestionData','trackChanges','TrackChangesEditing','value','plugins'];(function(_0x67e160,_0x219873){const _0x4966d5=function(_0x2cdae3){while(--_0x2cdae3){_0x67e160['push'](_0x67e160['shift']());}};_0x4966d5(++_0x219873);}(_0x2198,0x7f));const _0x4966=function(_0x67e160,_0x219873){_0x67e160=_0x67e160-0x0;let _0x4966d5=_0x2198[_0x67e160];return _0x4966d5;};import{Plugin as _0x911bbb}from'ckeditor5/src/core.js';export default class nt extends _0x911bbb{constructor(_0x14cab5){super(_0x14cab5),this[_0x4966('0x7')]=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x45c014=this[_0x4966('0x1')],_0x45b0b4=_0x45c014['commands'][_0x4966('0x6')](_0x4966('0x3')),_0x1e10d5=_0x45c014[_0x4966('0x8')]['get'](_0x4966('0xd'));_0x45b0b4&&(_0x45b0b4['on']('execute',(_0x552ab3,[,_0x5dbb47])=>{this['_trackChangesValueDuringImport']=_0x1e10d5['value'],_0x5dbb47['collaboration_features']['track_changes']=!this[_0x4966('0x7')];},{'priority':'high'}),this['listenTo'](_0x45b0b4,_0x4966('0x5'),this[_0x4966('0xa')]['bind'](this)),this[_0x4966('0xb')](_0x45b0b4,_0x4966('0x5'),()=>{this[_0x4966('0x4')]&&(_0x1e10d5[_0x4966('0x9')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x45c014[_0x4966('0x0')][_0x4966('0x6')](_0x4966('0xe'))['enableCommand'](_0x4966('0x3')));}[_0x4966('0xa')](_0x9e47f,_0x2b7fcc){const {suggestions:_0x54428b}=_0x2b7fcc,_0x35ef0d=this['editor'][_0x4966('0x8')]['get']('trackChanges'),_0x5056da=_0x35ef0d[_0x4966('0xf')];this[_0x4966('0x7')]!==_0x5056da&&(_0x35ef0d[_0x4966('0x9')](),this[_0x4966('0x4')]=!0x0),_0x54428b&&_0x54428b[_0x4966('0x2')](({id:_0x346346,type:_0x568a8d,author:_0x467e61,created_at:_0x949e70})=>{const _0xe36b75={'id':_0x346346,'type':_0x568a8d,'authorId':this[_0x4966('0x1')][_0x4966('0x0')][_0x4966('0x6')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x467e61,'createdAt':_0x949e70?new Date(_0x949e70):new Date(),'source':'importWord'}}};this[_0x4966('0x1')][_0x4966('0x0')][_0x4966('0x6')](_0x4966('0xe'))[_0x4966('0xc')](_0xe36b75);});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/indent
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48be=['has','getItems','editor','_registerLegacyDescription','getItemLabel','*Indent:*\x20%0','enableCommand','blockIndent','plugins','locale','_descriptionFactory','outdentBlock','FORMAT_INDENT','outdent','commandName','TrackChangesEditing','indentBlock','IndentBlock','registerAttributeLabel','_enableDefaultAttributesIntegration','get','_registerBlockAttribute','format'];(function(_0x286142,_0x48be09){const _0x4a9d0d=function(_0x5915cd){while(--_0x5915cd){_0x286142['push'](_0x286142['shift']());}};_0x4a9d0d(++_0x48be09);}(_0x48be,0x10d));const _0x4a9d=function(_0x286142,_0x48be09){_0x286142=_0x286142-0x0;let _0x4a9d0d=_0x48be[_0x286142];return _0x4a9d0d;};import{Plugin as _0x1b848d}from'ckeditor5/src/core';import{getTranslation as _0x3261df}from'../utils/common-translations';export default class ot extends _0x1b848d{['afterInit'](){const _0x4755b8=this[_0x4a9d('0x9')],_0x1afef7=_0x4755b8['plugins']['get'](_0x4a9d('0x16'));if(_0x4755b8[_0x4a9d('0xf')][_0x4a9d('0x7')]('IndentEditing')&&(_0x1afef7[_0x4a9d('0xd')]('indent'),_0x1afef7[_0x4a9d('0xd')](_0x4a9d('0x14'))),_0x4755b8['plugins'][_0x4a9d('0x7')](_0x4a9d('0x1')))for(const _0x11ba95 of['indentBlock',_0x4a9d('0x12')])_0x1afef7[_0x4a9d('0x3')](_0x11ba95);const _0x522452=_0x4755b8[_0x4a9d('0x10')];_0x1afef7[_0x4a9d('0x5')](_0x4a9d('0xe')),_0x1afef7[_0x4a9d('0x11')][_0x4a9d('0x2')](_0x4a9d('0xe'),_0x3261df(_0x522452,_0x4a9d('0x13'))),this[_0x4a9d('0xa')]();}[_0x4a9d('0xa')](){const _0x31a809=this['editor'],_0xeac451=_0x31a809[_0x4a9d('0x10')],_0x5a28be=_0x31a809[_0x4a9d('0xf')][_0x4a9d('0x4')]('TrackChangesEditing');_0x5a28be[_0x4a9d('0x11')]['registerDescriptionCallback'](_0x96be59=>{if('formatBlock'!=_0x96be59['type'])return;const {data:_0x527bad}=_0x96be59;if(!_0x527bad)return;if(_0x4a9d('0x0')!=_0x527bad[_0x4a9d('0x15')]&&'outdentBlock'!=_0x527bad[_0x4a9d('0x15')])return;const _0x3dad61=_0x96be59[_0x4a9d('0x8')]()[0x0],_0x621ea=_0x5a28be['_descriptionFactory'][_0x4a9d('0xb')](_0x3dad61);return'indentBlock'==_0x527bad[_0x4a9d('0x15')]?{'type':_0x4a9d('0x6'),'content':_0x3261df(_0xeac451,_0x4a9d('0xc'),_0x621ea)}:_0x4a9d('0x12')==_0x527bad[_0x4a9d('0x15')]?{'type':_0x4a9d('0x6'),'content':_0x3261df(_0xeac451,'*Outdent:*\x20%0',_0x621ea)}:void 0x0;});}}
23
+ const _0x5820=['FORMAT_INDENT','enableCommand','_descriptionFactory','indent','IndentEditing','get','getItemLabel','_registerBlockAttribute','has','locale','plugins','outdent','IndentBlock','*Indent:*\x20%0','afterInit','outdentBlock','commandName','formatBlock','editor','blockIndent','registerAttributeLabel','_registerLegacyDescription','indentBlock','format'];(function(_0x5acced,_0x582002){const _0x36f211=function(_0x1889ba){while(--_0x1889ba){_0x5acced['push'](_0x5acced['shift']());}};_0x36f211(++_0x582002);}(_0x5820,0x1e1));const _0x36f2=function(_0x5acced,_0x582002){_0x5acced=_0x5acced-0x0;let _0x36f211=_0x5820[_0x5acced];return _0x36f211;};import{Plugin as _0x26bdcf}from'ckeditor5/src/core.js';import{getTranslation as _0x509018}from'../utils/common-translations.js';export default class ot extends _0x26bdcf{[_0x36f2('0xd')](){const _0x5a8d63=this[_0x36f2('0x11')],_0x38da08=_0x5a8d63[_0x36f2('0x9')][_0x36f2('0x4')]('TrackChangesEditing');if(_0x5a8d63[_0x36f2('0x9')][_0x36f2('0x7')](_0x36f2('0x3'))&&(_0x38da08[_0x36f2('0x0')](_0x36f2('0x2')),_0x38da08[_0x36f2('0x0')](_0x36f2('0xa'))),_0x5a8d63[_0x36f2('0x9')][_0x36f2('0x7')](_0x36f2('0xb')))for(const _0x440d8e of[_0x36f2('0x15'),_0x36f2('0xe')])_0x38da08['_enableDefaultAttributesIntegration'](_0x440d8e);const _0x1659e4=_0x5a8d63[_0x36f2('0x8')];_0x38da08[_0x36f2('0x6')]('blockIndent'),_0x38da08[_0x36f2('0x1')][_0x36f2('0x13')](_0x36f2('0x12'),_0x509018(_0x1659e4,_0x36f2('0x17'))),this['_registerLegacyDescription']();}[_0x36f2('0x14')](){const _0x3fd382=this['editor'],_0x3a065f=_0x3fd382[_0x36f2('0x8')],_0x4dc1dd=_0x3fd382['plugins'][_0x36f2('0x4')]('TrackChangesEditing');_0x4dc1dd[_0x36f2('0x1')]['registerDescriptionCallback'](_0x30648e=>{if(_0x36f2('0x10')!=_0x30648e['type'])return;const {data:_0x16d4a9}=_0x30648e;if(!_0x16d4a9)return;if(_0x36f2('0x15')!=_0x16d4a9[_0x36f2('0xf')]&&_0x36f2('0xe')!=_0x16d4a9[_0x36f2('0xf')])return;const _0x14c287=_0x30648e['getItems']()[0x0],_0x3fd84f=_0x4dc1dd[_0x36f2('0x1')][_0x36f2('0x5')](_0x14c287);return _0x36f2('0x15')==_0x16d4a9[_0x36f2('0xf')]?{'type':_0x36f2('0x16'),'content':_0x509018(_0x3a065f,_0x36f2('0xc'),_0x3fd84f)}:'outdentBlock'==_0x16d4a9[_0x36f2('0xf')]?{'type':_0x36f2('0x16'),'content':_0x509018(_0x3a065f,'*Outdent:*\x20%0',_0x3fd84f)}:void 0x0;});}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module track-changes/integrations/inputcommand/inputcommand
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Input } from 'ckeditor5/src/typing';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import { Input } from 'ckeditor5/src/typing.js';
10
10
  /**
11
11
  * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
12
12
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5c01=['requires','get','init','input'];(function(_0x125b88,_0x5c0164){var _0x452436=function(_0x4ff7a9){while(--_0x4ff7a9){_0x125b88['push'](_0x125b88['shift']());}};_0x452436(++_0x5c0164);}(_0x5c01,0xb1));var _0x4524=function(_0x125b88,_0x5c0164){_0x125b88=_0x125b88-0x0;var _0x452436=_0x5c01[_0x125b88];return _0x452436;};import{Plugin as _0x3a5730}from'ckeditor5/src/core';import{Input as _0x51ef3a}from'ckeditor5/src/typing';export default class rt extends _0x3a5730{static get[_0x4524('0x3')](){return[_0x51ef3a];}[_0x4524('0x1')](){this['editor']['plugins'][_0x4524('0x0')]('TrackChangesEditing')['enableCommand'](_0x4524('0x2'));}}
23
+ var _0x507d=['enableCommand','requires','TrackChangesEditing','init','editor','get','plugins'];(function(_0x57398c,_0x507d02){var _0x2f23cb=function(_0x151f16){while(--_0x151f16){_0x57398c['push'](_0x57398c['shift']());}};_0x2f23cb(++_0x507d02);}(_0x507d,0x7a));var _0x2f23=function(_0x57398c,_0x507d02){_0x57398c=_0x57398c-0x0;var _0x2f23cb=_0x507d[_0x57398c];return _0x2f23cb;};import{Plugin as _0xfa0624}from'ckeditor5/src/core.js';import{Input as _0x134c20}from'ckeditor5/src/typing.js';export default class rt extends _0xfa0624{static get[_0x2f23('0x5')](){return[_0x134c20];}[_0x2f23('0x0')](){this[_0x2f23('0x1')][_0x2f23('0x3')][_0x2f23('0x2')](_0x2f23('0x6'))[_0x2f23('0x4')]('input');}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/link
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for link feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xefe0=['newValue','LinkEditing','unlink','*Set\x20link:*\x20%0','manualDecorators','_registerLegacyDescription','locale','format','*Remove\x20link*','has','label','formatInline','type','link','TrackChangesEditing','get','key','afterInit','link\x20(','commandParams','_enableDefaultAttributesIntegration','registerDescriptionCallback','editor','toLowerCase','commands','plugins','linkHref','_descriptionFactory'];(function(_0x4a8812,_0xefe0f6){const _0x55607c=function(_0x54d695){while(--_0x54d695){_0x4a8812['push'](_0x4a8812['shift']());}};_0x55607c(++_0xefe0f6);}(_0xefe0,0x77));const _0x5560=function(_0x4a8812,_0xefe0f6){_0x4a8812=_0x4a8812-0x0;let _0x55607c=_0xefe0[_0x4a8812];return _0x55607c;};import{Plugin as _0x5b51e0}from'ckeditor5/src/core';import{getTranslation as _0x3295e0}from'../utils/common-translations';export default class at extends _0x5b51e0{[_0x5560('0xa')](){const _0x4b4ba6=this['editor'];if(!_0x4b4ba6[_0x5560('0x12')][_0x5560('0x2')](_0x5560('0x16')))return;const _0x9cbd0b=_0x4b4ba6[_0x5560('0x12')][_0x5560('0x8')](_0x5560('0x7')),_0x11303f=_0x4b4ba6[_0x5560('0x11')]['get'](_0x5560('0x6'));_0x9cbd0b[_0x5560('0xd')]('link',[_0x5560('0x13'),..._0x11303f['manualDecorators']['map'](_0x3a4ac5=>_0x3a4ac5['id'])]),_0x9cbd0b[_0x5560('0xd')](_0x5560('0x17'));for(const _0x3b4fc3 of _0x11303f[_0x5560('0x19')])_0x9cbd0b[_0x5560('0x14')]['registerAttributeLabel'](_0x3b4fc3['id'],_0x5560('0xb')+_0x3b4fc3[_0x5560('0x3')][_0x5560('0x10')]()+')');_0x9cbd0b[_0x5560('0x14')][_0x5560('0xe')](_0x45dbf2=>{if('attribute'!=_0x45dbf2[_0x5560('0x5')])return;const {data:_0x2a5dc3}=_0x45dbf2;if(!_0x2a5dc3||_0x5560('0x13')!=_0x2a5dc3[_0x5560('0x9')])return;const _0x3a1ae5=_0x2a5dc3[_0x5560('0x15')],_0x5493ce=_0x4b4ba6[_0x5560('0x1b')];return{'type':_0x5560('0x0'),'content':null==_0x3a1ae5?_0x3295e0(_0x5493ce,'*Remove\x20link*'):_0x3295e0(_0x5493ce,_0x5560('0x18'),'\x22'+_0x3a1ae5+'\x22')};}),this[_0x5560('0x1a')]();}['_registerLegacyDescription'](){const _0x364c86=this[_0x5560('0xf')],_0x47fdfc=_0x364c86['locale'];_0x364c86[_0x5560('0x12')][_0x5560('0x8')]('TrackChangesEditing')[_0x5560('0x14')][_0x5560('0xe')](_0x52be98=>{if(_0x5560('0x4')!=_0x52be98[_0x5560('0x5')])return;const {data:_0x3ce4ea}=_0x52be98;if(_0x3ce4ea){if(_0x5560('0x6')==_0x3ce4ea['commandName']){const _0x312d46=_0x3ce4ea[_0x5560('0xc')][0x0];return{'type':_0x5560('0x0'),'content':_0x3295e0(_0x47fdfc,_0x5560('0x18'),'\x22'+_0x312d46+'\x22')};}return _0x5560('0x17')==_0x3ce4ea['commandName']?{'type':_0x5560('0x0'),'content':_0x3295e0(_0x47fdfc,_0x5560('0x1'))}:void 0x0;}});}}
23
+ const _0x3337=['plugins','newValue','key','get','link\x20(','label','format','formatInline','TrackChangesEditing','locale','commands','_descriptionFactory','*Remove\x20link*','LinkEditing','*Set\x20link:*\x20%0','commandName','unlink','manualDecorators','afterInit','type','_enableDefaultAttributesIntegration','editor','registerDescriptionCallback','has','_registerLegacyDescription','link'];(function(_0x3da7d8,_0x333765){const _0x4cbf79=function(_0x44c57a){while(--_0x44c57a){_0x3da7d8['push'](_0x3da7d8['shift']());}};_0x4cbf79(++_0x333765);}(_0x3337,0x167));const _0x4cbf=function(_0x3da7d8,_0x333765){_0x3da7d8=_0x3da7d8-0x0;let _0x4cbf79=_0x3337[_0x3da7d8];return _0x4cbf79;};import{Plugin as _0x300acb}from'ckeditor5/src/core.js';import{getTranslation as _0x5d2a9f}from'../utils/common-translations.js';export default class at extends _0x300acb{[_0x4cbf('0x17')](){const _0x3329ef=this[_0x4cbf('0x0')];if(!_0x3329ef['plugins'][_0x4cbf('0x2')](_0x4cbf('0x12')))return;const _0x278ea2=_0x3329ef[_0x4cbf('0x5')][_0x4cbf('0x8')]('TrackChangesEditing'),_0x31d196=_0x3329ef[_0x4cbf('0xf')][_0x4cbf('0x8')](_0x4cbf('0x4'));_0x278ea2[_0x4cbf('0x19')](_0x4cbf('0x4'),['linkHref',..._0x31d196[_0x4cbf('0x16')]['map'](_0x1d6a8b=>_0x1d6a8b['id'])]),_0x278ea2[_0x4cbf('0x19')](_0x4cbf('0x15'));for(const _0x2b29b8 of _0x31d196[_0x4cbf('0x16')])_0x278ea2[_0x4cbf('0x10')]['registerAttributeLabel'](_0x2b29b8['id'],_0x4cbf('0x9')+_0x2b29b8[_0x4cbf('0xa')]['toLowerCase']()+')');_0x278ea2[_0x4cbf('0x10')][_0x4cbf('0x1')](_0x44f060=>{if('attribute'!=_0x44f060[_0x4cbf('0x18')])return;const {data:_0x4d9b6b}=_0x44f060;if(!_0x4d9b6b||'linkHref'!=_0x4d9b6b[_0x4cbf('0x7')])return;const _0x111f7a=_0x4d9b6b[_0x4cbf('0x6')],_0x5b2484=_0x3329ef[_0x4cbf('0xe')];return{'type':_0x4cbf('0xb'),'content':null==_0x111f7a?_0x5d2a9f(_0x5b2484,_0x4cbf('0x11')):_0x5d2a9f(_0x5b2484,_0x4cbf('0x13'),'\x22'+_0x111f7a+'\x22')};}),this[_0x4cbf('0x3')]();}[_0x4cbf('0x3')](){const _0xdf50a8=this[_0x4cbf('0x0')],_0x4aceba=_0xdf50a8[_0x4cbf('0xe')];_0xdf50a8['plugins']['get'](_0x4cbf('0xd'))[_0x4cbf('0x10')]['registerDescriptionCallback'](_0x5447fa=>{if(_0x4cbf('0xc')!=_0x5447fa[_0x4cbf('0x18')])return;const {data:_0x47aff2}=_0x5447fa;if(_0x47aff2){if(_0x4cbf('0x4')==_0x47aff2[_0x4cbf('0x14')]){const _0xbb840d=_0x47aff2['commandParams'][0x0];return{'type':_0x4cbf('0xb'),'content':_0x5d2a9f(_0x4aceba,_0x4cbf('0x13'),'\x22'+_0xbb840d+'\x22')};}return'unlink'==_0x47aff2['commandName']?{'type':_0x4cbf('0xb'),'content':_0x5d2a9f(_0x4aceba,_0x4cbf('0x11'))}:void 0x0;}});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/list
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for list feature.
11
11
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x406d=['nextSibling','type','todoList','indentList','*Change\x20to:*\x20%0','editor','add','get','element','slice','commandName','blockName','length','filter','numbered','isObject','name','listItem','formatBlock','outdentList','*Outdent:*\x20%0','checkChild','previousSibling','getSelectedBlocks','createRange','registerDescriptionCallback','format','has','_descriptionFactory','numberedList','model','locale','from','List','listIndent','change','TodoListEditing','TrackChangesEditing','push','parent','selection','registerElementLabel','document','enableCommand','markBlockFormat','before','findIndex','*Check\x20item*','plugins','value','paragraph','createPositionAt','end','getAttribute','bulletedList','ELEMENT_NUMBERED_LIST','_selectedElements','commands','todo','schema','*Uncheck\x20item*','checkTodoList','listType'];(function(_0x38cfe3,_0x406d6d){const _0x3bc0eb=function(_0xf00eb1){while(--_0xf00eb1){_0x38cfe3['push'](_0x38cfe3['shift']());}};_0x3bc0eb(++_0x406d6d);}(_0x406d,0x152));const _0x3bc0=function(_0x38cfe3,_0x406d6d){_0x38cfe3=_0x38cfe3-0x0;let _0x3bc0eb=_0x406d[_0x38cfe3];return _0x3bc0eb;};import{Plugin as _0x2f9009}from'ckeditor5/src/core';import{getTranslation as _0x208699}from'../utils/common-translations';export default class ct extends _0x2f9009{['afterInit'](){const _0x110576=this[_0x3bc0('0x2d')],_0x51e9be=_0x110576[_0x3bc0('0x8')];if(!_0x110576[_0x3bc0('0x19')][_0x3bc0('0x4')]('ListEditing'))return;const _0x24f652=_0x110576[_0x3bc0('0x19')][_0x3bc0('0x2f')](_0x3bc0('0xe')),_0x78663a=_0x110576[_0x3bc0('0x19')][_0x3bc0('0x4')](_0x3bc0('0xd'));function _0x424246(_0x243124){return()=>{const _0x132736=_0x110576[_0x3bc0('0x7')][_0x3bc0('0x13')]['selection'],_0x161c6a=_0x110576[_0x3bc0('0x22')][_0x3bc0('0x2f')](_0x243124);if(_0x161c6a['value'])return void _0x110576['execute'](_0x3bc0('0x1b'),{});const _0x37a757=_0x243124[_0x3bc0('0x31')](0x0,-0x4),_0x535b2e=function(_0xd87462,_0x2aa880,_0x182a2a){let _0x2d790e=Array[_0x3bc0('0x9')](_0xd87462)[_0x3bc0('0x35')](_0x3a587a=>function(_0x28b9de,_0x546a1e){return _0x546a1e[_0x3bc0('0x3d')](_0x28b9de[_0x3bc0('0x10')],_0x3bc0('0x39'))&&!_0x546a1e[_0x3bc0('0x37')](_0x28b9de);}(_0x3a587a,_0x182a2a));_0x2d790e=_0x2d790e['filter'](_0x53c2dd=>!_0x53c2dd['is']('element',_0x3bc0('0x39'))||_0x53c2dd[_0x3bc0('0x1e')](_0x3bc0('0x27'))!=_0x2aa880);const _0x358660=new Set();for(const _0xe5dbef of _0x2d790e)_0xe5dbef['is']('element',_0x3bc0('0x39'))?_0x358660['add'](ne(_0xe5dbef)):_0x358660[_0x3bc0('0x2e')](_0xe5dbef);return Array[_0x3bc0('0x9')](_0x358660);}(_0x132736[_0x3bc0('0x0')](),_0x37a757,_0x110576[_0x3bc0('0x7')][_0x3bc0('0x24')]);_0x110576['model'][_0x3bc0('0xc')](()=>{for(const _0x4cfa51 of _0x535b2e)_0x24f652[_0x3bc0('0x15')](_0x4cfa51,{'commandName':_0x243124,'commandParams':[{'forceValue':!_0x161c6a[_0x3bc0('0x1a')]}],'formatGroupId':_0x3bc0('0x33')},oe(_0x4cfa51));});};}function _0x395cbd(_0x2adc02){return()=>{const _0xad56c5=function(_0xd0c1d3){let _0x40b521=Array['from'](_0xd0c1d3);const _0x4beb6b=_0x40b521[_0x3bc0('0x17')](_0x2c2aa0=>_0x3bc0('0x39')!=_0x2c2aa0[_0x3bc0('0x38')]);return _0x4beb6b>-0x1&&(_0x40b521=_0x40b521[_0x3bc0('0x31')](0x0,_0x4beb6b)),_0x40b521;}(_0x110576[_0x3bc0('0x7')][_0x3bc0('0x13')][_0x3bc0('0x11')][_0x3bc0('0x0')]()),_0x41c0a6=_0x110576[_0x3bc0('0x7')][_0x3bc0('0x1')](_0x110576['model'][_0x3bc0('0x1c')](_0xad56c5[0x0],_0x3bc0('0x16')),_0x110576[_0x3bc0('0x7')][_0x3bc0('0x1c')](_0xad56c5[_0xad56c5[_0x3bc0('0x34')]-0x1],_0x3bc0('0x1d')));_0x110576[_0x3bc0('0x7')][_0x3bc0('0xc')](()=>{_0x24f652[_0x3bc0('0x15')](_0x41c0a6,{'commandName':_0x2adc02,'commandParams':[],'formatGroupId':'listIndent'},function(_0x1f9e2e){const _0xa7b6b1=new Set();for(const _0xfd4260 of _0x1f9e2e){let _0x3bcc4d=_0xfd4260['nextSibling'];for(;_0x3bcc4d&&_0x3bcc4d[_0x3bc0('0x1e')](_0x3bc0('0xb'))>_0xfd4260[_0x3bc0('0x1e')](_0x3bc0('0xb'));)_0xa7b6b1[_0x3bc0('0x2e')](_0x3bcc4d),_0x3bcc4d=_0x3bcc4d[_0x3bc0('0x28')];}return Array[_0x3bc0('0x9')](_0xa7b6b1);}(_0xad56c5));});};}_0x24f652[_0x3bc0('0x14')](_0x3bc0('0x6'),_0x424246(_0x3bc0('0x6'))),_0x24f652[_0x3bc0('0x14')](_0x3bc0('0x1f'),_0x424246(_0x3bc0('0x1f'))),_0x78663a&&_0x24f652[_0x3bc0('0x14')]('todoList',_0x424246(_0x3bc0('0x2a'))),_0x24f652[_0x3bc0('0x14')](_0x3bc0('0x2b'),_0x395cbd(_0x3bc0('0x2b'))),_0x24f652[_0x3bc0('0x14')](_0x3bc0('0x3b'),_0x395cbd(_0x3bc0('0x3b'))),_0x78663a&&_0x24f652[_0x3bc0('0x14')](_0x3bc0('0x26'),()=>{const _0x428a2d=_0x110576[_0x3bc0('0x22')][_0x3bc0('0x2f')](_0x3bc0('0x26')),_0xe3c595=Array[_0x3bc0('0x9')](_0x428a2d[_0x3bc0('0x21')]);_0xe3c595[_0x3bc0('0x35')](_0x1bd487=>_0x1bd487[_0x3bc0('0x1e')]('todoListChecked')!=_0x428a2d[_0x3bc0('0x1a')]),_0x110576['model']['change'](()=>{for(const _0x24c15a of _0xe3c595)_0x24f652['markBlockFormat'](_0x24c15a,{'commandName':_0x3bc0('0x26'),'commandParams':[{'forceValue':!_0x428a2d[_0x3bc0('0x1a')]}]});});}),_0x24f652[_0x3bc0('0x5')][_0x3bc0('0x12')](_0x3bc0('0x39'),_0x21e27b=>_0x208699(_0x51e9be,'ELEMENT_LIST_ITEM',_0x21e27b)),_0x24f652['_descriptionFactory'][_0x3bc0('0x2')](_0x14eea5=>{if(_0x3bc0('0x3a')!=_0x14eea5['type']&&'formatInline'!=_0x14eea5[_0x3bc0('0x29')])return;const {data:_0x2ade7f}=_0x14eea5;if(_0x2ade7f){if(_0x3bc0('0x6')==_0x2ade7f[_0x3bc0('0x32')]||_0x3bc0('0x1f')==_0x2ade7f[_0x3bc0('0x32')]||_0x3bc0('0x2a')==_0x2ade7f['commandName'])switch(_0x2ade7f['commandName']['replace'](_0x3bc0('0xa'),'')){case'bulleted':return _0x205d81(_0x208699(_0x51e9be,'ELEMENT_BULLETED_LIST'));case _0x3bc0('0x36'):return _0x205d81(_0x208699(_0x51e9be,_0x3bc0('0x20')));case _0x3bc0('0x23'):return _0x205d81(_0x208699(_0x51e9be,'ELEMENT_TODO_LIST'));}if(_0x3bc0('0x2b')==_0x2ade7f['commandName'])return{'type':_0x3bc0('0x3'),'content':_0x208699(_0x51e9be,'*Indent:*\x20%0',_0x208699(_0x51e9be,'ELEMENT_LIST_ITEM'))};if(_0x3bc0('0x3b')==_0x2ade7f[_0x3bc0('0x32')])return{'type':'format','content':_0x208699(_0x51e9be,_0x3bc0('0x3c'),_0x208699(_0x51e9be,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x2ade7f['commandName'])return _0x2ade7f['commandParams'][0x0]['forceValue']?{'type':_0x3bc0('0x3'),'content':_0x208699(_0x51e9be,_0x3bc0('0x18'))}:{'type':'format','content':_0x208699(_0x51e9be,_0x3bc0('0x25'))};}function _0x205d81(_0x27131d){return{'type':'format','content':_0x208699(_0x51e9be,_0x3bc0('0x2c'),_0x27131d)};}});}}function ne(_0x1c93b6){const _0x5f5df8=_0x1c93b6[_0x3bc0('0x1e')](_0x3bc0('0xb'));if(0x0==_0x5f5df8)return _0x1c93b6;let _0x108bb7=_0x1c93b6;for(;_0x1c93b6['previousSibling']&&_0x1c93b6[_0x3bc0('0x3e')]['is'](_0x3bc0('0x30'),'listItem');){const _0x3daeb7=_0x1c93b6[_0x3bc0('0x3e')]['getAttribute']('listIndent');if(_0x3daeb7==_0x5f5df8)_0x108bb7=_0x1c93b6[_0x3bc0('0x3e')];else{if(_0x3daeb7<_0x5f5df8)break;}_0x1c93b6=_0x1c93b6[_0x3bc0('0x3e')];}return _0x108bb7;}function oe(_0x35b2a6){const _0x4d6d62=[];if(_0x35b2a6['is'](_0x3bc0('0x30'),_0x3bc0('0x39'))&&_0x35b2a6['getAttribute'](_0x3bc0('0xb'))>0x0){let _0x6965b0=_0x35b2a6[_0x3bc0('0x28')];for(;_0x6965b0&&_0x3bc0('0x39')==_0x6965b0[_0x3bc0('0x38')]&&_0x6965b0[_0x3bc0('0x1e')](_0x3bc0('0xb'))==_0x35b2a6[_0x3bc0('0x1e')](_0x3bc0('0xb'));)_0x4d6d62[_0x3bc0('0xf')](_0x6965b0),_0x6965b0=_0x6965b0[_0x3bc0('0x28')];}return _0x4d6d62;}
23
+ const _0xef00=['plugins','type','listItem','afterInit','markBlockFormat','name','locale','forceValue','formatInline','add','indentList','end','createRange','has','ListEditing','commandParams','ELEMENT_BULLETED_LIST','*Uncheck\x20item*','formatBlock','_descriptionFactory','before','createPositionAt','checkChild','editor','*Check\x20item*','nextSibling','listType','format','commands','todoList','commandName','bulletedList','from','schema','get','previousSibling','blockName','slice','registerDescriptionCallback','checkTodoList','model','length','listIndent','element','getSelectedBlocks','ELEMENT_TODO_LIST','paragraph','ELEMENT_NUMBERED_LIST','parent','document','numberedList','value','selection','numbered','*Indent:*\x20%0','*Change\x20to:*\x20%0','enableCommand','List','change','execute','ELEMENT_LIST_ITEM','registerElementLabel','outdentList','TodoListEditing','bulleted','todoListChecked','getAttribute','filter','todo'];(function(_0x17bd15,_0xef00eb){const _0x374a4d=function(_0x30d05a){while(--_0x30d05a){_0x17bd15['push'](_0x17bd15['shift']());}};_0x374a4d(++_0xef00eb);}(_0xef00,0xc7));const _0x374a=function(_0x17bd15,_0xef00eb){_0x17bd15=_0x17bd15-0x0;let _0x374a4d=_0xef00[_0x17bd15];return _0x374a4d;};import{Plugin as _0x3051ba}from'ckeditor5/src/core.js';import{getTranslation as _0x3b5c94}from'../utils/common-translations.js';export default class ct extends _0x3051ba{[_0x374a('0xb')](){const _0x347400=this[_0x374a('0x1f')],_0x12f48e=_0x347400[_0x374a('0xe')];if(!_0x347400[_0x374a('0x8')][_0x374a('0x15')](_0x374a('0x16')))return;const _0x389e46=_0x347400[_0x374a('0x8')]['get']('TrackChangesEditing'),_0x5052e6=_0x347400['plugins'][_0x374a('0x15')](_0x374a('0x2'));function _0x130e37(_0x5bc96e){return()=>{const _0x9c7e6=_0x347400[_0x374a('0x30')][_0x374a('0x39')][_0x374a('0x3c')],_0x263f57=_0x347400[_0x374a('0x24')][_0x374a('0x2a')](_0x5bc96e);if(_0x263f57[_0x374a('0x3b')])return void _0x347400[_0x374a('0x43')](_0x374a('0x36'),{});const _0xe74ae9=_0x5bc96e[_0x374a('0x2d')](0x0,-0x4),_0x29a2b2=function(_0x70e87f,_0xfbb22e,_0x312704){let _0x4e72c6=Array[_0x374a('0x28')](_0x70e87f)[_0x374a('0x6')](_0x27ecf9=>function(_0x2c60ea,_0x5295bd){return _0x5295bd[_0x374a('0x1e')](_0x2c60ea[_0x374a('0x38')],_0x374a('0xa'))&&!_0x5295bd['isObject'](_0x2c60ea);}(_0x27ecf9,_0x312704));_0x4e72c6=_0x4e72c6[_0x374a('0x6')](_0x53b0fc=>!_0x53b0fc['is']('element',_0x374a('0xa'))||_0x53b0fc[_0x374a('0x5')](_0x374a('0x22'))!=_0xfbb22e);const _0x23d611=new Set();for(const _0x3f8450 of _0x4e72c6)_0x3f8450['is'](_0x374a('0x33'),'listItem')?_0x23d611[_0x374a('0x11')](ne(_0x3f8450)):_0x23d611['add'](_0x3f8450);return Array[_0x374a('0x28')](_0x23d611);}(_0x9c7e6[_0x374a('0x34')](),_0xe74ae9,_0x347400[_0x374a('0x30')][_0x374a('0x29')]);_0x347400[_0x374a('0x30')][_0x374a('0x42')](()=>{for(const _0x285ab6 of _0x29a2b2)_0x389e46[_0x374a('0xc')](_0x285ab6,{'commandName':_0x5bc96e,'commandParams':[{'forceValue':!_0x263f57['value']}],'formatGroupId':_0x374a('0x2c')},oe(_0x285ab6));});};}function _0x3c5e4e(_0x4ff378){return()=>{const _0x55e19d=function(_0x258c87){let _0x2a12e4=Array[_0x374a('0x28')](_0x258c87);const _0x308c3c=_0x2a12e4['findIndex'](_0x5f8f80=>_0x374a('0xa')!=_0x5f8f80[_0x374a('0xd')]);return _0x308c3c>-0x1&&(_0x2a12e4=_0x2a12e4[_0x374a('0x2d')](0x0,_0x308c3c)),_0x2a12e4;}(_0x347400[_0x374a('0x30')]['document'][_0x374a('0x3c')][_0x374a('0x34')]()),_0x4e417b=_0x347400[_0x374a('0x30')][_0x374a('0x14')](_0x347400[_0x374a('0x30')]['createPositionAt'](_0x55e19d[0x0],_0x374a('0x1c')),_0x347400[_0x374a('0x30')][_0x374a('0x1d')](_0x55e19d[_0x55e19d[_0x374a('0x31')]-0x1],_0x374a('0x13')));_0x347400[_0x374a('0x30')][_0x374a('0x42')](()=>{_0x389e46['markBlockFormat'](_0x4e417b,{'commandName':_0x4ff378,'commandParams':[],'formatGroupId':_0x374a('0x32')},function(_0x205328){const _0x6c8cdd=new Set();for(const _0x3bdea2 of _0x205328){let _0x2104f2=_0x3bdea2[_0x374a('0x21')];for(;_0x2104f2&&_0x2104f2['getAttribute'](_0x374a('0x32'))>_0x3bdea2[_0x374a('0x5')](_0x374a('0x32'));)_0x6c8cdd[_0x374a('0x11')](_0x2104f2),_0x2104f2=_0x2104f2[_0x374a('0x21')];}return Array[_0x374a('0x28')](_0x6c8cdd);}(_0x55e19d));});};}_0x389e46[_0x374a('0x40')](_0x374a('0x3a'),_0x130e37(_0x374a('0x3a'))),_0x389e46['enableCommand'](_0x374a('0x27'),_0x130e37('bulletedList')),_0x5052e6&&_0x389e46['enableCommand'](_0x374a('0x25'),_0x130e37('todoList')),_0x389e46[_0x374a('0x40')](_0x374a('0x12'),_0x3c5e4e(_0x374a('0x12'))),_0x389e46[_0x374a('0x40')]('outdentList',_0x3c5e4e(_0x374a('0x1'))),_0x5052e6&&_0x389e46[_0x374a('0x40')](_0x374a('0x2f'),()=>{const _0x2d643a=_0x347400['commands'][_0x374a('0x2a')](_0x374a('0x2f')),_0x1b1605=Array[_0x374a('0x28')](_0x2d643a['_selectedElements']);_0x1b1605[_0x374a('0x6')](_0x41e3e7=>_0x41e3e7['getAttribute'](_0x374a('0x4'))!=_0x2d643a[_0x374a('0x3b')]),_0x347400['model']['change'](()=>{for(const _0x2c2a65 of _0x1b1605)_0x389e46[_0x374a('0xc')](_0x2c2a65,{'commandName':_0x374a('0x2f'),'commandParams':[{'forceValue':!_0x2d643a['value']}]});});}),_0x389e46[_0x374a('0x1b')][_0x374a('0x0')](_0x374a('0xa'),_0x177a5a=>_0x3b5c94(_0x12f48e,'ELEMENT_LIST_ITEM',_0x177a5a)),_0x389e46[_0x374a('0x1b')][_0x374a('0x2e')](_0x3ec14d=>{if(_0x374a('0x1a')!=_0x3ec14d[_0x374a('0x9')]&&_0x374a('0x10')!=_0x3ec14d[_0x374a('0x9')])return;const {data:_0x5bb523}=_0x3ec14d;if(_0x5bb523){if(_0x374a('0x3a')==_0x5bb523[_0x374a('0x26')]||_0x374a('0x27')==_0x5bb523[_0x374a('0x26')]||_0x374a('0x25')==_0x5bb523[_0x374a('0x26')])switch(_0x5bb523[_0x374a('0x26')]['replace'](_0x374a('0x41'),'')){case _0x374a('0x3'):return _0x5556ab(_0x3b5c94(_0x12f48e,_0x374a('0x18')));case _0x374a('0x3d'):return _0x5556ab(_0x3b5c94(_0x12f48e,_0x374a('0x37')));case _0x374a('0x7'):return _0x5556ab(_0x3b5c94(_0x12f48e,_0x374a('0x35')));}if(_0x374a('0x12')==_0x5bb523[_0x374a('0x26')])return{'type':_0x374a('0x23'),'content':_0x3b5c94(_0x12f48e,_0x374a('0x3e'),_0x3b5c94(_0x12f48e,_0x374a('0x44')))};if(_0x374a('0x1')==_0x5bb523[_0x374a('0x26')])return{'type':_0x374a('0x23'),'content':_0x3b5c94(_0x12f48e,'*Outdent:*\x20%0',_0x3b5c94(_0x12f48e,_0x374a('0x44')))};if('checkTodoList'==_0x5bb523[_0x374a('0x26')])return _0x5bb523[_0x374a('0x17')][0x0][_0x374a('0xf')]?{'type':'format','content':_0x3b5c94(_0x12f48e,_0x374a('0x20'))}:{'type':'format','content':_0x3b5c94(_0x12f48e,_0x374a('0x19'))};}function _0x5556ab(_0x5b8e2){return{'type':_0x374a('0x23'),'content':_0x3b5c94(_0x12f48e,_0x374a('0x3f'),_0x5b8e2)};}});}}function ne(_0x36fe3b){const _0x1f94ad=_0x36fe3b[_0x374a('0x5')](_0x374a('0x32'));if(0x0==_0x1f94ad)return _0x36fe3b;let _0x373a47=_0x36fe3b;for(;_0x36fe3b['previousSibling']&&_0x36fe3b['previousSibling']['is'](_0x374a('0x33'),'listItem');){const _0x373cd1=_0x36fe3b[_0x374a('0x2b')]['getAttribute'](_0x374a('0x32'));if(_0x373cd1==_0x1f94ad)_0x373a47=_0x36fe3b[_0x374a('0x2b')];else{if(_0x373cd1<_0x1f94ad)break;}_0x36fe3b=_0x36fe3b[_0x374a('0x2b')];}return _0x373a47;}function oe(_0x588009){const _0x156900=[];if(_0x588009['is']('element',_0x374a('0xa'))&&_0x588009['getAttribute'](_0x374a('0x32'))>0x0){let _0x3bd5de=_0x588009[_0x374a('0x21')];for(;_0x3bd5de&&'listItem'==_0x3bd5de[_0x374a('0xd')]&&_0x3bd5de[_0x374a('0x5')](_0x374a('0x32'))==_0x588009[_0x374a('0x5')](_0x374a('0x32'));)_0x156900['push'](_0x3bd5de),_0x3bd5de=_0x3bd5de[_0x374a('0x21')];}return _0x156900;}
@@ -5,9 +5,9 @@
5
5
  /**
6
6
  * @module track-changes/integrations/listproperties
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import type { Description } from '../suggestiondescriptionfactory';
10
- import type Suggestion from '../suggestion';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
+ import type { Description } from '../suggestiondescriptionfactory.js';
10
+ import type Suggestion from '../suggestion.js';
11
11
  /**
12
12
  * Provides track changes plugin integration for list properties feature.
13
13
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3074=['_getSuggestionBlocks','ListUtils','*Change\x20to:*\x20%0','enableCommand','markMultiRangeBlockFormat','map','listStart','afterInit','listType','styles','createPositionAt','filter','handleListStartCommand','handleListStyleCommand','flat','*Format:*\x20set\x20order\x20to\x20regular','handleListReversedCommand','backward','listReversed','change','ELEMENT_','listItem','handleDescriptions','TrackChangesEditing','from','reversed','unshift','selection','ListPropertiesEditing','getSelectedBlocks','locale','_LIST_','plugins','format','numbered','push','_descriptionFactory','config','before','startIndex','commandName','_getSuggestionBlocksForListStyle','_getTranslationKeyForListStyle','formatBlock','parent','getAttribute','document','listStyle','get','editor','commandParams','forward','length','getFirstPosition','registerDescriptionCallback','replace','bind','type','getSiblingNodes','element','formatInline','list.properties','createRange','model','*Format:*\x20set\x20order\x20to\x20reversed'];(function(_0x45f81b,_0x3074e7){const _0x5be3a7=function(_0x124dcd){while(--_0x124dcd){_0x45f81b['push'](_0x45f81b['shift']());}};_0x5be3a7(++_0x3074e7);}(_0x3074,0x18a));const _0x5be3=function(_0x45f81b,_0x3074e7){_0x45f81b=_0x45f81b-0x0;let _0x5be3a7=_0x3074[_0x45f81b];return _0x5be3a7;};import{Plugin as _0x4dc6ca}from'ckeditor5/src/core';import{getTranslation as _0x2127b6}from'../utils/common-translations';export default class ut extends _0x4dc6ca{[_0x5be3('0x3')](){if(!this['editor'][_0x5be3('0x1c')]['has'](_0x5be3('0x18')))return;const _0x3718e5=this[_0x5be3('0x2d')][_0x5be3('0x21')]['get'](_0x5be3('0x39')),_0x35ded7=this['editor'][_0x5be3('0x1c')]['get']('TrackChangesEditing');_0x3718e5[_0x5be3('0x5')]&&_0x35ded7[_0x5be3('0x40')](_0x5be3('0x2b'),this[_0x5be3('0x9')][_0x5be3('0x34')](this)),_0x3718e5['reversed']&&_0x35ded7[_0x5be3('0x40')](_0x5be3('0xe'),this[_0x5be3('0xc')][_0x5be3('0x34')](this)),_0x3718e5[_0x5be3('0x23')]&&_0x35ded7[_0x5be3('0x40')](_0x5be3('0x2'),this[_0x5be3('0x8')][_0x5be3('0x34')](this)),_0x35ded7[_0x5be3('0x20')][_0x5be3('0x32')](this[_0x5be3('0x12')][_0x5be3('0x34')](this));}['handleListStyleCommand'](_0x2b29d5,_0xccca49={}){const _0x108234=this['editor'][_0x5be3('0x1c')][_0x5be3('0x2c')](_0x5be3('0x13')),_0x45c58a=this[_0x5be3('0x25')]();this[_0x5be3('0x2d')][_0x5be3('0x3b')]['change'](()=>{_0x108234[_0x5be3('0x0')](_0x45c58a,{'commandName':'listStyle','commandParams':[{'type':_0xccca49['type']}],'formatGroupId':_0x5be3('0x2b')});});}[_0x5be3('0xc')](_0x126e59,_0x3d230c={}){const _0x5b9f2b=this[_0x5be3('0x2d')][_0x5be3('0x1c')][_0x5be3('0x2c')](_0x5be3('0x13')),_0xa4680=this[_0x5be3('0x3d')](_0x42eccc=>_0x42eccc['is'](_0x5be3('0x37'),'listItem')&&'numbered'===_0x42eccc['getAttribute'](_0x5be3('0x4')));if(_0xa4680[_0x5be3('0x30')]<0x1)return;const _0x1951ba=_0xa4680[_0x5be3('0x1')](_0x5105b0=>this[_0x5be3('0x2d')]['model'][_0x5be3('0x3a')](this['editor'][_0x5be3('0x3b')][_0x5be3('0x6')](_0x5105b0,_0x5be3('0x22')),this[_0x5be3('0x2d')][_0x5be3('0x3b')][_0x5be3('0x6')](_0x5105b0,0x0)));this[_0x5be3('0x2d')]['model']['change'](()=>{_0x5b9f2b[_0x5be3('0x0')](_0x1951ba,{'commandName':'listReversed','commandParams':[{'reversed':_0x3d230c[_0x5be3('0x15')]}],'formatGroupId':_0x5be3('0xe')});});}[_0x5be3('0x8')](_0x1b2fa7,_0x3b23c3={}){const _0x15b3bb=this[_0x5be3('0x2d')][_0x5be3('0x1c')][_0x5be3('0x2c')](_0x5be3('0x13')),_0x4a8b7a=this[_0x5be3('0x3d')](_0x92f80c=>_0x92f80c['is'](_0x5be3('0x37'),_0x5be3('0x11'))&&_0x5be3('0x1e')===_0x92f80c[_0x5be3('0x29')](_0x5be3('0x4')));if(_0x4a8b7a[_0x5be3('0x30')]<0x1)return;const _0x42dd60=_0x4a8b7a['map'](_0x517e98=>this[_0x5be3('0x2d')]['model'][_0x5be3('0x3a')](this[_0x5be3('0x2d')][_0x5be3('0x3b')][_0x5be3('0x6')](_0x517e98,'before'),this[_0x5be3('0x2d')][_0x5be3('0x3b')]['createPositionAt'](_0x517e98,0x0)));this['editor'][_0x5be3('0x3b')][_0x5be3('0xf')](()=>{_0x15b3bb[_0x5be3('0x0')](_0x42dd60,{'commandName':_0x5be3('0x2'),'commandParams':[{'startIndex':_0x3b23c3[_0x5be3('0x23')]}],'formatGroupId':_0x5be3('0x2')});});}['handleDescriptions'](_0x165224){if(_0x5be3('0x27')!=_0x165224[_0x5be3('0x35')]&&_0x5be3('0x38')!=_0x165224[_0x5be3('0x35')])return;const _0x2e1622=this[_0x5be3('0x2d')][_0x5be3('0x1a')],{data:_0x2e145e}=_0x165224;if(!_0x2e145e)return;let _0x3208df,_0x498258;switch(_0x2e145e[_0x5be3('0x24')]){case'listStyle':_0x3208df=_0x5be3('0x3f'),_0x498258={'type':_0x5be3('0x1d'),'content':_0x2127b6(_0x2e1622,_0x3208df,_0x2127b6(_0x2e1622,this[_0x5be3('0x26')](_0x2e145e[_0x5be3('0x2e')][0x0][_0x5be3('0x35')])))};break;case _0x5be3('0xe'):_0x3208df=_0x2e145e['commandParams'][0x0]['reversed']?_0x5be3('0x3c'):_0x5be3('0xb'),_0x498258={'type':_0x5be3('0x1d'),'content':_0x2127b6(_0x2e1622,_0x3208df)};break;case _0x5be3('0x2'):_0x3208df='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x498258={'type':_0x5be3('0x1d'),'content':_0x2127b6(_0x2e1622,_0x3208df,_0x2e145e['commandParams'][0x0][_0x5be3('0x23')])};}return _0x498258;}['_getSuggestionBlocksForListStyle'](){var _0xbe1df6,_0x58b7b0,_0x49d0e0,_0x22b322;const _0x4803f2=this[_0x5be3('0x2d')][_0x5be3('0x1c')][_0x5be3('0x2c')](_0x5be3('0x3e'));let _0x2a25e8=Array[_0x5be3('0x14')](this[_0x5be3('0x2d')][_0x5be3('0x3b')][_0x5be3('0x2a')][_0x5be3('0x17')][_0x5be3('0x19')]());return(null===(_0xbe1df6=_0x2a25e8[0x0])||void 0x0===_0xbe1df6?void 0x0:_0xbe1df6['is'](_0x5be3('0x37'),_0x5be3('0x11')))&&_0x2a25e8[_0x5be3('0x16')](..._0x4803f2[_0x5be3('0x36')](this[_0x5be3('0x2d')][_0x5be3('0x3b')][_0x5be3('0x2a')][_0x5be3('0x17')]['getFirstPosition'](),_0x5be3('0xd'))),(null===(_0x58b7b0=_0x2a25e8[_0x2a25e8[_0x5be3('0x30')]-0x1])||void 0x0===_0x58b7b0?void 0x0:_0x58b7b0['is']('element',_0x5be3('0x11')))&&_0x2a25e8[_0x5be3('0x1f')](..._0x4803f2[_0x5be3('0x36')](this[_0x5be3('0x2d')][_0x5be3('0x3b')]['document'][_0x5be3('0x17')]['getLastPosition'](),'forward')),_0x2a25e8=[...new Set(_0x2a25e8)],(null===(_0x22b322=null===(_0x49d0e0=this[_0x5be3('0x2d')][_0x5be3('0x3b')][_0x5be3('0x2a')][_0x5be3('0x17')][_0x5be3('0x31')]())||void 0x0===_0x49d0e0?void 0x0:_0x49d0e0[_0x5be3('0x28')])||void 0x0===_0x22b322?void 0x0:_0x22b322['is'](_0x5be3('0x37'),_0x5be3('0x11')))&&(_0x2a25e8=_0x2a25e8[_0x5be3('0x7')](_0x23b2fb=>_0x23b2fb['is'](_0x5be3('0x37'),_0x5be3('0x11')))),_0x2a25e8;}['_getSuggestionBlocks'](_0x2eb65e){const _0x1c7407=this[_0x5be3('0x2d')][_0x5be3('0x1c')]['get'](_0x5be3('0x3e'));let _0x2972a8=Array[_0x5be3('0x14')](this[_0x5be3('0x2d')][_0x5be3('0x3b')][_0x5be3('0x2a')][_0x5be3('0x17')][_0x5be3('0x19')]())[_0x5be3('0x7')](_0x2eb65e)['map'](_0x1e107f=>{const _0x577cfa=this['editor'][_0x5be3('0x3b')][_0x5be3('0x6')](_0x1e107f,0x0);return[..._0x1c7407[_0x5be3('0x36')](_0x577cfa,'backward'),..._0x1c7407[_0x5be3('0x36')](_0x577cfa,_0x5be3('0x2f'))];})[_0x5be3('0xa')]();return _0x2972a8=[...new Set(_0x2972a8)],_0x2972a8;}[_0x5be3('0x26')](_0x3d7af7){return _0x5be3('0x10')+this[_0x5be3('0x2d')][_0x5be3('0x1c')][_0x5be3('0x2c')](_0x5be3('0x3e'))['getListTypeFromListStyleType'](_0x3d7af7)['toUpperCase']()+_0x5be3('0x1b')+_0x3d7af7['toUpperCase']()[_0x5be3('0x33')](/-/g,'_');}}
23
+ const _0x3f94=['has','type','replace','formatBlock','*Format:*\x20set\x20order\x20to\x20regular','createRange','getAttribute','selection','listType','document','toUpperCase','reversed','handleListStartCommand','styles','enableCommand','format','map','getFirstPosition','*Format:*\x20set\x20start\x20index\x20to\x20%0','before','startIndex','markMultiRangeBlockFormat','handleListStyleCommand','getSiblingNodes','length','_getSuggestionBlocks','handleListReversedCommand','getListTypeFromListStyleType','from','locale','commandName','ListUtils','_getTranslationKeyForListStyle','change','getLastPosition','*Change\x20to:*\x20%0','commandParams','listReversed','filter','getSelectedBlocks','listStyle','numbered','listItem','editor','_descriptionFactory','list.properties','config','TrackChangesEditing','model','ListPropertiesEditing','forward','parent','get','registerDescriptionCallback','element','listStart','plugins','handleDescriptions','createPositionAt','push','bind','backward'];(function(_0x1b597d,_0x3f94cb){const _0x517f08=function(_0x1a6f95){while(--_0x1a6f95){_0x1b597d['push'](_0x1b597d['shift']());}};_0x517f08(++_0x3f94cb);}(_0x3f94,0xd6));const _0x517f=function(_0x1b597d,_0x3f94cb){_0x1b597d=_0x1b597d-0x0;let _0x517f08=_0x3f94[_0x1b597d];return _0x517f08;};import{Plugin as _0x5caa08}from'ckeditor5/src/core.js';import{getTranslation as _0x4ce1c8}from'../utils/common-translations.js';export default class ut extends _0x5caa08{['afterInit'](){if(!this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x22')](_0x517f('0x15')))return;const _0x239b2f=this[_0x517f('0xf')][_0x517f('0x12')][_0x517f('0x18')](_0x517f('0x11')),_0x42a31a=this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x18')](_0x517f('0x13'));_0x239b2f[_0x517f('0x2f')]&&_0x42a31a[_0x517f('0x30')](_0x517f('0xc'),this[_0x517f('0x38')][_0x517f('0x20')](this)),_0x239b2f[_0x517f('0x2d')]&&_0x42a31a[_0x517f('0x30')](_0x517f('0x9'),this[_0x517f('0x3c')]['bind'](this)),_0x239b2f[_0x517f('0x36')]&&_0x42a31a['enableCommand'](_0x517f('0x1b'),this[_0x517f('0x2e')]['bind'](this)),_0x42a31a[_0x517f('0x10')][_0x517f('0x19')](this[_0x517f('0x1d')][_0x517f('0x20')](this));}[_0x517f('0x38')](_0x4fbe83,_0x2672e2={}){const _0x1ec3df=this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x18')](_0x517f('0x13')),_0x169f16=this['_getSuggestionBlocksForListStyle']();this[_0x517f('0xf')]['model']['change'](()=>{_0x1ec3df['markMultiRangeBlockFormat'](_0x169f16,{'commandName':_0x517f('0xc'),'commandParams':[{'type':_0x2672e2[_0x517f('0x23')]}],'formatGroupId':_0x517f('0xc')});});}[_0x517f('0x3c')](_0x587e36,_0x574afc={}){const _0x4b25ce=this[_0x517f('0xf')][_0x517f('0x1c')][_0x517f('0x18')](_0x517f('0x13')),_0x3ba1c1=this[_0x517f('0x3b')](_0x236965=>_0x236965['is'](_0x517f('0x1a'),_0x517f('0xe'))&&_0x517f('0xd')===_0x236965[_0x517f('0x28')](_0x517f('0x2a')));if(_0x3ba1c1[_0x517f('0x3a')]<0x1)return;const _0x320dac=_0x3ba1c1['map'](_0x59e8bc=>this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x27')](this[_0x517f('0xf')][_0x517f('0x14')]['createPositionAt'](_0x59e8bc,_0x517f('0x35')),this[_0x517f('0xf')][_0x517f('0x14')]['createPositionAt'](_0x59e8bc,0x0)));this[_0x517f('0xf')]['model'][_0x517f('0x5')](()=>{_0x4b25ce[_0x517f('0x37')](_0x320dac,{'commandName':_0x517f('0x9'),'commandParams':[{'reversed':_0x574afc['reversed']}],'formatGroupId':_0x517f('0x9')});});}[_0x517f('0x2e')](_0x2436bf,_0x37b2e4={}){const _0x4d4eba=this[_0x517f('0xf')]['plugins']['get'](_0x517f('0x13')),_0x59203c=this[_0x517f('0x3b')](_0xcd0615=>_0xcd0615['is'](_0x517f('0x1a'),_0x517f('0xe'))&&'numbered'===_0xcd0615[_0x517f('0x28')](_0x517f('0x2a')));if(_0x59203c[_0x517f('0x3a')]<0x1)return;const _0x925338=_0x59203c[_0x517f('0x32')](_0x53deb0=>this['editor'][_0x517f('0x14')]['createRange'](this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x1e')](_0x53deb0,_0x517f('0x35')),this['editor'][_0x517f('0x14')][_0x517f('0x1e')](_0x53deb0,0x0)));this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x5')](()=>{_0x4d4eba['markMultiRangeBlockFormat'](_0x925338,{'commandName':_0x517f('0x1b'),'commandParams':[{'startIndex':_0x37b2e4[_0x517f('0x36')]}],'formatGroupId':_0x517f('0x1b')});});}[_0x517f('0x1d')](_0x4203aa){if(_0x517f('0x25')!=_0x4203aa['type']&&'formatInline'!=_0x4203aa[_0x517f('0x23')])return;const _0x2bdd4d=this[_0x517f('0xf')][_0x517f('0x1')],{data:_0x49cb44}=_0x4203aa;if(!_0x49cb44)return;let _0x3c4c47,_0x386103;switch(_0x49cb44[_0x517f('0x2')]){case _0x517f('0xc'):_0x3c4c47=_0x517f('0x7'),_0x386103={'type':_0x517f('0x31'),'content':_0x4ce1c8(_0x2bdd4d,_0x3c4c47,_0x4ce1c8(_0x2bdd4d,this[_0x517f('0x4')](_0x49cb44[_0x517f('0x8')][0x0][_0x517f('0x23')])))};break;case _0x517f('0x9'):_0x3c4c47=_0x49cb44['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x517f('0x26'),_0x386103={'type':_0x517f('0x31'),'content':_0x4ce1c8(_0x2bdd4d,_0x3c4c47)};break;case _0x517f('0x1b'):_0x3c4c47=_0x517f('0x34'),_0x386103={'type':_0x517f('0x31'),'content':_0x4ce1c8(_0x2bdd4d,_0x3c4c47,_0x49cb44['commandParams'][0x0][_0x517f('0x36')])};}return _0x386103;}['_getSuggestionBlocksForListStyle'](){var _0x5bd5ed,_0x4eb483,_0x348b0e,_0x179f53;const _0x1f2702=this[_0x517f('0xf')]['plugins'][_0x517f('0x18')](_0x517f('0x3'));let _0x3080cd=Array[_0x517f('0x0')](this[_0x517f('0xf')][_0x517f('0x14')]['document']['selection'][_0x517f('0xb')]());return(null===(_0x5bd5ed=_0x3080cd[0x0])||void 0x0===_0x5bd5ed?void 0x0:_0x5bd5ed['is'](_0x517f('0x1a'),'listItem'))&&_0x3080cd['unshift'](..._0x1f2702[_0x517f('0x39')](this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x2b')][_0x517f('0x29')][_0x517f('0x33')](),_0x517f('0x21'))),(null===(_0x4eb483=_0x3080cd[_0x3080cd[_0x517f('0x3a')]-0x1])||void 0x0===_0x4eb483?void 0x0:_0x4eb483['is'](_0x517f('0x1a'),'listItem'))&&_0x3080cd[_0x517f('0x1f')](..._0x1f2702[_0x517f('0x39')](this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x2b')][_0x517f('0x29')][_0x517f('0x6')](),'forward')),_0x3080cd=[...new Set(_0x3080cd)],(null===(_0x179f53=null===(_0x348b0e=this[_0x517f('0xf')]['model'][_0x517f('0x2b')][_0x517f('0x29')][_0x517f('0x33')]())||void 0x0===_0x348b0e?void 0x0:_0x348b0e[_0x517f('0x17')])||void 0x0===_0x179f53?void 0x0:_0x179f53['is'](_0x517f('0x1a'),'listItem'))&&(_0x3080cd=_0x3080cd[_0x517f('0xa')](_0x31bc4b=>_0x31bc4b['is']('element','listItem'))),_0x3080cd;}[_0x517f('0x3b')](_0x37f8ca){const _0x274a49=this[_0x517f('0xf')]['plugins'][_0x517f('0x18')](_0x517f('0x3'));let _0x56b844=Array[_0x517f('0x0')](this[_0x517f('0xf')][_0x517f('0x14')]['document'][_0x517f('0x29')][_0x517f('0xb')]())[_0x517f('0xa')](_0x37f8ca)['map'](_0x453188=>{const _0x2b6bc2=this[_0x517f('0xf')][_0x517f('0x14')][_0x517f('0x1e')](_0x453188,0x0);return[..._0x274a49[_0x517f('0x39')](_0x2b6bc2,_0x517f('0x21')),..._0x274a49[_0x517f('0x39')](_0x2b6bc2,_0x517f('0x16'))];})['flat']();return _0x56b844=[...new Set(_0x56b844)],_0x56b844;}[_0x517f('0x4')](_0x2cc249){return'ELEMENT_'+this['editor']['plugins'][_0x517f('0x18')](_0x517f('0x3'))[_0x517f('0x3d')](_0x2cc249)[_0x517f('0x2c')]()+'_LIST_'+_0x2cc249['toUpperCase']()[_0x517f('0x24')](/-/g,'_');}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module track-changes/integrations/mediaembed
7
7
  */
8
- import { Plugin } from 'ckeditor5/src/core';
8
+ import { Plugin } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
11
11
  */