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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/build/track-changes.js +2 -2
  2. package/package.json +3 -3
  3. package/src/augmentation.d.ts +2 -2
  4. package/src/commands/acceptsuggestioncommand.d.ts +2 -2
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.d.ts +2 -2
  7. package/src/commands/discardsuggestioncommand.js +1 -1
  8. package/src/commands/executeonallsuggestionscommand.d.ts +2 -2
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.d.ts +2 -2
  11. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  12. package/src/commands/trackchangescommand.d.ts +1 -1
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/index.d.ts +12 -12
  15. package/src/index.js +1 -1
  16. package/src/integrations/alignment.d.ts +1 -1
  17. package/src/integrations/alignment.js +1 -1
  18. package/src/integrations/basicstyles.d.ts +1 -1
  19. package/src/integrations/basicstyles.js +1 -1
  20. package/src/integrations/blockquote.d.ts +1 -1
  21. package/src/integrations/blockquote.js +1 -1
  22. package/src/integrations/ckbox.d.ts +1 -1
  23. package/src/integrations/ckbox.js +1 -1
  24. package/src/integrations/codeblock.d.ts +1 -1
  25. package/src/integrations/codeblock.js +1 -1
  26. package/src/integrations/comments.d.ts +1 -1
  27. package/src/integrations/comments.js +1 -1
  28. package/src/integrations/deletecommand.d.ts +2 -2
  29. package/src/integrations/deletecommand.js +1 -1
  30. package/src/integrations/documentlist.d.ts +1 -1
  31. package/src/integrations/documentlist.js +1 -1
  32. package/src/integrations/documentlistproperties.d.ts +3 -3
  33. package/src/integrations/documentlistproperties.js +1 -1
  34. package/src/integrations/entercommand.d.ts +2 -2
  35. package/src/integrations/entercommand.js +1 -1
  36. package/src/integrations/findandreplace.d.ts +1 -1
  37. package/src/integrations/findandreplace.js +1 -1
  38. package/src/integrations/font.d.ts +1 -1
  39. package/src/integrations/font.js +1 -1
  40. package/src/integrations/formatpainter.d.ts +1 -1
  41. package/src/integrations/formatpainter.js +1 -1
  42. package/src/integrations/heading.d.ts +1 -1
  43. package/src/integrations/heading.js +1 -1
  44. package/src/integrations/highlight.d.ts +1 -1
  45. package/src/integrations/highlight.js +1 -1
  46. package/src/integrations/horizontalline.d.ts +1 -1
  47. package/src/integrations/horizontalline.js +1 -1
  48. package/src/integrations/htmlembed.d.ts +1 -1
  49. package/src/integrations/htmlembed.js +1 -1
  50. package/src/integrations/image.d.ts +1 -1
  51. package/src/integrations/image.js +1 -1
  52. package/src/integrations/imagereplace.d.ts +3 -3
  53. package/src/integrations/imagereplace.js +1 -1
  54. package/src/integrations/importword.d.ts +1 -1
  55. package/src/integrations/importword.js +1 -1
  56. package/src/integrations/indent.d.ts +1 -1
  57. package/src/integrations/indent.js +1 -1
  58. package/src/integrations/inputcommand.d.ts +2 -2
  59. package/src/integrations/inputcommand.js +1 -1
  60. package/src/integrations/link.d.ts +1 -1
  61. package/src/integrations/link.js +1 -1
  62. package/src/integrations/list.d.ts +1 -1
  63. package/src/integrations/list.js +1 -1
  64. package/src/integrations/listproperties.d.ts +3 -3
  65. package/src/integrations/listproperties.js +1 -1
  66. package/src/integrations/mediaembed.d.ts +1 -1
  67. package/src/integrations/mediaembed.js +1 -1
  68. package/src/integrations/mention.d.ts +1 -1
  69. package/src/integrations/mention.js +1 -1
  70. package/src/integrations/pagebreak.d.ts +1 -1
  71. package/src/integrations/pagebreak.js +1 -1
  72. package/src/integrations/paragraph.d.ts +1 -1
  73. package/src/integrations/paragraph.js +1 -1
  74. package/src/integrations/removeformat.d.ts +1 -1
  75. package/src/integrations/removeformat.js +1 -1
  76. package/src/integrations/restrictededitingmode.d.ts +1 -1
  77. package/src/integrations/restrictededitingmode.js +1 -1
  78. package/src/integrations/shiftentercommand.d.ts +2 -2
  79. package/src/integrations/shiftentercommand.js +1 -1
  80. package/src/integrations/standardeditingmode.d.ts +1 -1
  81. package/src/integrations/standardeditingmode.js +1 -1
  82. package/src/integrations/style.d.ts +1 -1
  83. package/src/integrations/style.js +1 -1
  84. package/src/integrations/table.d.ts +1 -1
  85. package/src/integrations/table.js +1 -1
  86. package/src/integrations/tablecaption.d.ts +2 -2
  87. package/src/integrations/tablecaption.js +1 -1
  88. package/src/integrations/tableclipboard.d.ts +2 -2
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tablecolumnresize.d.ts +4 -4
  91. package/src/integrations/tablecolumnresize.js +1 -1
  92. package/src/integrations/tableheadings.d.ts +2 -2
  93. package/src/integrations/tableheadings.js +1 -1
  94. package/src/integrations/tablemergesplit.d.ts +2 -2
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.d.ts +1 -1
  97. package/src/integrations/tableofcontents.js +1 -1
  98. package/src/integrations/tableproperties.d.ts +4 -4
  99. package/src/integrations/tableproperties.js +1 -1
  100. package/src/integrations/template.d.ts +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.d.ts +1 -1
  103. package/src/integrations/title.js +1 -1
  104. package/src/integrations/undo.d.ts +1 -1
  105. package/src/integrations/undo.js +1 -1
  106. package/src/integrations/utils.d.ts +3 -3
  107. package/src/integrations/utils.js +1 -1
  108. package/src/suggestion.d.ts +5 -5
  109. package/src/suggestion.js +1 -1
  110. package/src/suggestiondescriptionfactory.d.ts +15 -3
  111. package/src/suggestiondescriptionfactory.js +1 -1
  112. package/src/trackchanges.d.ts +6 -6
  113. package/src/trackchanges.js +1 -1
  114. package/src/trackchangesconfig.d.ts +1 -1
  115. package/src/trackchangesdata.d.ts +4 -4
  116. package/src/trackchangesdata.js +1 -1
  117. package/src/trackchangesediting.d.ts +51 -51
  118. package/src/trackchangesediting.js +1 -1
  119. package/src/trackchangesui.d.ts +3 -3
  120. package/src/trackchangesui.js +1 -1
  121. package/src/ui/suggestioncontroller.d.ts +5 -5
  122. package/src/ui/suggestioncontroller.js +1 -1
  123. package/src/ui/view/basesuggestionthreadview.d.ts +6 -6
  124. package/src/ui/view/basesuggestionthreadview.js +1 -1
  125. package/src/ui/view/suggestionthreadview.d.ts +5 -5
  126. package/src/ui/view/suggestionthreadview.js +1 -1
  127. package/src/utils/common-translations.d.ts +1 -1
  128. package/src/utils/common-translations.js +1 -1
  129. package/src/utils/utils.d.ts +4 -4
  130. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x200c=['resizeImage','newRange','isCollapsed','_descriptionFactory','nodeAfter','*Remove\x20image\x20text\x20alternative*','getFirstRange','getClosestSelectedImageElement','ImageTextAlternativeEditing','getSuggestions','getAttribute','fromPosition','imageBlock','convertInlineImageToBlock','end','commandReversedParams','imageStylePreApply','registerPostFixer','editor','isBlockImage','refresh','plugins','discard','*Format:*\x20%0','title','convertBlockImageToInline','suggestion','toLowerCase','model','getNearestSelectionRange','discardSuggestion','element','imageTypeBlock','chain','registerElementLabel','change','imageTypeInline','shouldConvertImageType','imageInline','TrackChangesEditing','insertion','filter','forward','normalizedStyles','type','formatBlock','createRange','getChangedMarkers','markInsertion','newValue','addObject','getContainedElement','value','markBlockFormat','commandParams','enableCommand','registerDescriptionCallback','isEqual','accept','forEach','join','ImageStyleEditing','alt','markInlineFormat','Block\x20image\x20to\x20inline\x20image','findIndex','registerCustomCallback','imageTextAlternative','format','ImageInlineEditing','toPrevious','ImageCaptionEditing','getSuggestionCallback','get','uploadImage','_suggestionFactory','next','imageStylePostApply','length','getCaptionFromImageModelElement','start','removeObject','side','commandName','has','commands','_splitMarkerName','width','backward','hasSuggestion','locale','forceDefaultExecution','imageStyle','createRangeOn','isInContent','find','nodeBefore','caption','schema','_findSuggestions','isBefore','toNext','document','ImageUploadEditing','detach','getSuggestion','markDeletion','imageCaption','Users','*Reset\x20image\x20width*','subType','selection','differ'];(function(_0x24dfe0,_0x200ce7){const _0x2de435=function(_0x3abe52){while(--_0x3abe52){_0x24dfe0['push'](_0x24dfe0['shift']());}};_0x2de435(++_0x200ce7);}(_0x200c,0xff));const _0x2de4=function(_0x24dfe0,_0x200ce7){_0x24dfe0=_0x24dfe0-0x0;let _0x2de435=_0x200c[_0x24dfe0];return _0x2de435;};import{Plugin as _0x21ba82}from'ckeditor5/src/core';import{LivePosition as _0xe1678e}from'ckeditor5/src/engine';import{uid as _0x904d10}from'ckeditor5/src/utils';import{getTranslation as _0x47e069}from'../utils/common-translations';export default class X extends _0x21ba82{['afterInit'](){const _0x447c27=this[_0x2de4('0x66')];if(!_0x447c27[_0x2de4('0x69')][_0x2de4('0x37')]('ImageEditing'))return;const _0x3538fb=_0x447c27[_0x2de4('0x69')][_0x2de4('0x2c')](_0x2de4('0xa')),_0x2b4ddf=_0x447c27[_0x2de4('0x69')][_0x2de4('0x2c')]('ImageUtils'),_0x91b102={},_0x115097=_0x447c27[_0x2de4('0x3d')];if(_0x3538fb['enableCommand']('insertImage'),_0x3538fb[_0x2de4('0x57')][_0x2de4('0x5')](_0x2de4('0x60'),_0x28a06b=>_0x47e069(_0x115097,'ELEMENT_IMAGE',_0x28a06b)),_0x3538fb['_descriptionFactory'][_0x2de4('0x5')](_0x2de4('0x9'),_0x21717f=>_0x47e069(_0x115097,'ELEMENT_INLINE_IMAGE',_0x21717f)),_0x3538fb['_descriptionFactory'][_0x2de4('0x5')](_0x2de4('0x44'),()=>_0x47e069(_0x115097,'ELEMENT_CAPTION')),_0x447c27[_0x2de4('0x69')]['has'](_0x2de4('0x4a'))&&_0x3538fb[_0x2de4('0x1a')](_0x2de4('0x2d')),_0x447c27[_0x2de4('0x69')][_0x2de4('0x37')]('ImageBlockEditing')&&_0x447c27['plugins'][_0x2de4('0x37')](_0x2de4('0x28'))&&(_0x3538fb[_0x2de4('0x1a')]('imageTypeInline',(_0x337e89,_0x36fe42)=>{const _0x5da974=_0x2b4ddf['getClosestSelectedImageElement'](_0x447c27['model'][_0x2de4('0x49')]['selection']);_0x447c27[_0x2de4('0x70')][_0x2de4('0x6')](()=>{_0x3538fb[_0x2de4('0x18')](_0x5da974,{'commandName':_0x2de4('0x7'),'commandParams':[_0x36fe42]},[],_0x2de4('0x6d'));});}),_0x3538fb[_0x2de4('0x1a')]('imageTypeBlock',(_0x158d7e,_0x3aa8f9)=>{_0x447c27[_0x2de4('0x70')]['change'](_0x570531=>{let _0x465fc5=_0x2b4ddf['getClosestSelectedImageElement'](_0x447c27['model']['document']['selection']),_0x366a22=_0x570531[_0x2de4('0x40')](_0x465fc5);const _0x3c09ca=_0xe1678e['fromPosition'](_0x366a22[_0x2de4('0x33')],_0x2de4('0x29')),_0x4d443b=_0xe1678e[_0x2de4('0x5f')](_0x366a22[_0x2de4('0x62')],_0x2de4('0x48'));_0x3538fb[_0x2de4('0x3e')](()=>_0x158d7e(_0x3aa8f9)),_0x465fc5=_0x2b4ddf[_0x2de4('0x5b')](_0x447c27[_0x2de4('0x70')][_0x2de4('0x49')][_0x2de4('0x52')]),_0x366a22=_0x570531['createRangeOn'](_0x465fc5);const _0x35b7e8=_0x570531[_0x2de4('0x11')](_0x3c09ca,_0x4d443b);_0x3c09ca[_0x2de4('0x4b')](),_0x4d443b[_0x2de4('0x4b')](),_0x3538fb[_0x2de4('0x18')](_0x465fc5,{'commandName':_0x2de4('0x7'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x35b7e8['start'][_0x2de4('0x47')](_0x366a22['start'])&&_0x3538fb[_0x2de4('0x13')](_0x570531[_0x2de4('0x11')](_0x35b7e8[_0x2de4('0x33')],_0x366a22[_0x2de4('0x33')]),'convertInlineImageToBlock'),_0x366a22['end']['isBefore'](_0x35b7e8[_0x2de4('0x62')])&&_0x3538fb['markInsertion'](_0x570531[_0x2de4('0x11')](_0x366a22[_0x2de4('0x62')],_0x35b7e8[_0x2de4('0x62')]),_0x2de4('0x61'));});}),_0x3538fb[_0x2de4('0x2e')]['registerCustomCallback'](_0x2de4('0x10'),'convertInlineImageToBlock',_0x2de4('0x1f'),()=>{}),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')](_0x2de4('0x10'),_0x2de4('0x61'),'accept',()=>{}),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')](_0x2de4('0x10'),'convertInlineImageToBlock',_0x2de4('0x6a'),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x2b')](_0x2de4('0x10'),'','accept')),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')]('insertion',_0x2de4('0x61'),_0x2de4('0x1f'),()=>{}),_0x3538fb[_0x2de4('0x2e')]['registerCustomCallback'](_0x2de4('0xb'),_0x2de4('0x61'),'discard',([_0x1adf84])=>{const _0x25294f=_0x3538fb[_0x2de4('0x2e')]['getSuggestionCallback'](_0x2de4('0xb'),'',_0x2de4('0x6a'));let _0x4eafc8=_0x1adf84[_0x2de4('0x33')],_0x563d4f=_0x1adf84['end'];const _0x474c25=_0x447c27['model']['schema'][_0x2de4('0x0')](_0x4eafc8,_0x2de4('0x3b')),_0x2ee324=_0x447c27[_0x2de4('0x70')][_0x2de4('0x45')][_0x2de4('0x0')](_0x563d4f,_0x2de4('0xd'));_0x474c25[_0x2de4('0x56')]&&(_0x4eafc8=_0x474c25[_0x2de4('0x33')]),_0x2ee324['isCollapsed']&&(_0x563d4f=_0x2ee324[_0x2de4('0x62')]),_0x25294f([_0x447c27[_0x2de4('0x70')][_0x2de4('0x11')](_0x4eafc8,_0x563d4f)]);}),_0x3538fb[_0x2de4('0x2e')]['registerCustomCallback'](_0x2de4('0x10'),'convertInlineImageToBlock','chain',_0x189aae),_0x3538fb['_suggestionFactory'][_0x2de4('0x25')]('insertion',_0x2de4('0x61'),_0x2de4('0x4'),_0x189aae)),_0x447c27[_0x2de4('0x69')]['has'](_0x2de4('0x2a'))&&(_0x3538fb[_0x2de4('0x1a')]('toggleImageCaption',(_0x67c727,_0x4fab6e)=>{const _0x191b3c=_0x447c27['plugins']['get']('ImageCaptionUtils');let _0x310b77=_0x2b4ddf[_0x2de4('0x5b')](_0x447c27[_0x2de4('0x70')]['document'][_0x2de4('0x52')]),_0x4697f9=_0x191b3c[_0x2de4('0x32')](_0x310b77);_0x447c27[_0x2de4('0x70')][_0x2de4('0x6')](()=>{if(_0x4697f9)return void _0x3538fb[_0x2de4('0x4d')](_0x447c27[_0x2de4('0x70')][_0x2de4('0x40')](_0x4697f9));const _0x1085d7=_0x2b4ddf[_0x2de4('0x67')](_0x310b77);_0x67c727(_0x4fab6e),_0x310b77=_0x2b4ddf[_0x2de4('0x5b')](_0x447c27[_0x2de4('0x70')]['document'][_0x2de4('0x52')]),_0x4697f9=_0x191b3c['getCaptionFromImageModelElement'](_0x310b77),_0x3538fb[_0x2de4('0x13')](_0x447c27[_0x2de4('0x70')][_0x2de4('0x40')](_0x4697f9),_0x1085d7?null:_0x2de4('0x4e'));});}),_0x3538fb[_0x2de4('0x2e')]['registerCustomCallback']('insertion','imageCaption',_0x2de4('0x4'),_0x189aae)),_0x447c27['plugins'][_0x2de4('0x37')]('ImageStyleEditing')){_0x3538fb[_0x2de4('0x1a')](_0x2de4('0x3f'),(_0x3e6168,_0xde1b51)=>{const _0x159fb3=_0x447c27[_0x2de4('0x69')]['get'](_0x2de4('0x4f'))['me'],_0x365520=_0x447c27[_0x2de4('0x38')][_0x2de4('0x2c')]('imageStyle');let _0x1b0204=_0x2b4ddf['getClosestSelectedImageElement'](_0x447c27[_0x2de4('0x70')][_0x2de4('0x49')][_0x2de4('0x52')]),_0x38697d=_0x447c27[_0x2de4('0x70')][_0x2de4('0x40')](_0x1b0204),_0x47c4f0=_0x365520[_0x2de4('0x17')];if(_0x47c4f0==_0xde1b51['value'])return;const _0x4e8135={'commandName':_0x2de4('0x3f'),'commandParams':[_0xde1b51],'formatGroupId':_0x904d10()};_0x447c27[_0x2de4('0x70')][_0x2de4('0x6')](()=>{if(_0x3538fb[_0x2de4('0x5d')]()[_0x2de4('0xc')](_0x42ce03=>_0x42ce03[_0x2de4('0x41')]&&_0x159fb3==_0x42ce03['author']&&('formatBlock'==_0x42ce03[_0x2de4('0xf')]||'formatInline'==_0x42ce03[_0x2de4('0xf')])&&('imageStylePreApply'==_0x42ce03[_0x2de4('0x51')]||_0x2de4('0x30')==_0x42ce03[_0x2de4('0x51')])&&_0x42ce03[_0x2de4('0x5a')]()[_0x2de4('0x1c')](_0x38697d))[_0x2de4('0x1e')](_0x588ad0=>_0x3538fb[_0x2de4('0x1')](_0x588ad0['head'])),_0x1b0204=_0x2b4ddf[_0x2de4('0x5b')](_0x447c27[_0x2de4('0x70')][_0x2de4('0x49')]['selection']),_0x38697d=_0x447c27[_0x2de4('0x70')][_0x2de4('0x40')](_0x1b0204),_0x365520[_0x2de4('0x68')](),_0x447c27[_0x2de4('0x38')][_0x2de4('0x2c')](_0x2de4('0x7'))['refresh'](),_0x447c27[_0x2de4('0x38')][_0x2de4('0x2c')](_0x2de4('0x3'))['refresh'](),_0x47c4f0=_0x365520[_0x2de4('0x17')],_0x47c4f0!=_0xde1b51[_0x2de4('0x17')])return _0x2b4ddf['isInlineImage'](_0x1b0204)&&_0x365520[_0x2de4('0x8')](_0xde1b51[_0x2de4('0x17')],_0x1b0204)?(_0x3e6168(_0xde1b51),_0x1b0204=_0x2b4ddf['getClosestSelectedImageElement'](_0x447c27[_0x2de4('0x70')]['document'][_0x2de4('0x52')]),void _0x3538fb['markBlockFormat'](_0x1b0204,{..._0x4e8135,'commandReversedParams':[{'value':_0x47c4f0||null}]},[],_0x2de4('0x64'))):void(_0x2b4ddf[_0x2de4('0x67')](_0x1b0204)?_0x3538fb[_0x2de4('0x18')](_0x1b0204,_0x4e8135,[],_0x2de4('0x30')):_0x3538fb[_0x2de4('0x22')](_0x38697d,_0x4e8135,_0x2de4('0x30')));});});for(const _0x31b52f of _0x447c27[_0x2de4('0x69')][_0x2de4('0x2c')](_0x2de4('0x20'))[_0x2de4('0xe')])_0x91b102[_0x31b52f['name']]=_0x31b52f[_0x2de4('0x6c')][_0x2de4('0x6f')]();_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')]('formatBlock','imageStylePreApply',_0x2de4('0x1f'),()=>{}),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')]('formatBlock',_0x2de4('0x30'),_0x2de4('0x1f'),()=>{}),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')]('formatInline','imageStylePostApply',_0x2de4('0x1f'),()=>{}),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')](_0x2de4('0x10'),_0x2de4('0x64'),_0x2de4('0x1d'),()=>{}),_0x3538fb[_0x2de4('0x2e')]['registerCustomCallback'](_0x2de4('0x10'),_0x2de4('0x64'),_0x2de4('0x6a'),(_0xa74dad,_0x24a1a9)=>{_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x2b')](_0x2de4('0x10'),'',_0x2de4('0x1d'))(_0xa74dad,{'commandName':_0x24a1a9[_0x2de4('0x36')],'commandParams':_0x24a1a9[_0x2de4('0x63')]});}),_0x3538fb[_0x2de4('0x2e')][_0x2de4('0x25')](_0x2de4('0x10'),_0x2de4('0x64'),_0x2de4('0x4'),_0x189aae);}const _0x57f233=[{'type':'formatBlock','subType':_0x2de4('0x64')},{'type':_0x2de4('0xb'),'subType':_0x2de4('0x4e')},{'type':_0x2de4('0x10'),'subType':_0x2de4('0x61')},{'type':'insertion','subType':_0x2de4('0x61')}];function _0x3d9b43(_0x3a9297,_0xab6cec){const _0x55af4b=_0x57f233[_0x2de4('0x24')](({type:_0x162b0b,subType:_0x592aa1})=>_0x3a9297['type']==_0x162b0b&&_0x3a9297[_0x2de4('0x51')]==_0x592aa1),_0xe86ab5=_0x57f233[_0x2de4('0x24')](({type:_0x49b9fe,subType:_0xbbc784})=>_0xab6cec[_0x2de4('0xf')]==_0x49b9fe&&_0xab6cec[_0x2de4('0x51')]==_0xbbc784);if(_0x55af4b<0x0||_0xe86ab5<0x0)return!0x1;const _0x5992db=_0x3a9297[_0x2de4('0x5a')](),_0x457aa2=_0xab6cec['getFirstRange']();if((0x0==_0x55af4b||0x1==_0x55af4b)&&0x2==_0xe86ab5&&_0x5992db['isIntersecting'](_0x457aa2))return!0x0;if(0x2==_0x55af4b&&0x3==_0xe86ab5){const _0x297d66=_0x3538fb[_0x2de4('0x46')](_0x5992db,'insertion')[_0x2de4('0xc')](({suggestion:_0x2865e9,meta:_0x237e5f})=>_0x237e5f['isOwn']&&_0x2de4('0x61')==_0x2865e9[_0x2de4('0x51')]);if(_0x297d66[_0x2de4('0x31')]>0x1&&_0x457aa2[_0x2de4('0x62')][_0x2de4('0x1c')](_0x5992db[_0x2de4('0x33')]))return!0x0;if(0x1==_0x297d66[_0x2de4('0x31')]&&(_0x5992db[_0x2de4('0x33')]['isEqual'](_0x457aa2[_0x2de4('0x62')])||_0x5992db[_0x2de4('0x62')][_0x2de4('0x1c')](_0x457aa2['start'])))return!0x0;}if(0x3==_0x55af4b&&0x3==_0xe86ab5&&_0x5992db[_0x2de4('0x33')][_0x2de4('0x47')](_0x457aa2[_0x2de4('0x33')])){const _0x4ba06d=_0x5992db[_0x2de4('0x62')][_0x2de4('0x58')],_0x23026d=_0x457aa2[_0x2de4('0x33')][_0x2de4('0x43')];return _0x2b4ddf[_0x2de4('0x67')](_0x4ba06d)&&_0x4ba06d===_0x23026d;}return!0x1;}function _0x189aae(_0x355789,_0xf421e3){return _0x3d9b43(_0x355789,_0xf421e3)?[_0x355789,_0xf421e3]:_0x3d9b43(_0xf421e3,_0x355789)?[_0xf421e3,_0x355789]:null;}_0x447c27[_0x2de4('0x70')]['document'][_0x2de4('0x65')](()=>{let _0x43901f=!0x1;const _0x45497d=Array['from'](_0x447c27[_0x2de4('0x70')][_0x2de4('0x49')][_0x2de4('0x53')][_0x2de4('0x12')]());for(const {name:_0x22cc28,data:_0x124b8d}of _0x45497d){const {group:_0x30425a,type:_0x371f56,subType:_0x5f5351,id:_0xbcfa56}=_0x3538fb[_0x2de4('0x39')](_0x22cc28);if(_0x2de4('0x6e')==_0x30425a&&_0x3538fb[_0x2de4('0x3c')](_0xbcfa56)){if('formatBlock'==_0x371f56&&(_0x2de4('0x64')==_0x5f5351||_0x2de4('0x30')==_0x5f5351)){const _0x575fc8=_0x3538fb[_0x2de4('0x4c')](_0xbcfa56);if(_0x124b8d['newRange']){const _0x3568c1=_0x575fc8[_0x2de4('0x5a')]()['getContainedElement']();if(_0x2b4ddf[_0x2de4('0x67')](_0x3568c1))continue;_0x3538fb[_0x2de4('0x1')](_0x575fc8),_0x43901f=!0x0;}}if(_0x2de4('0xb')==_0x371f56&&'imageCaption'==_0x5f5351&&!_0x124b8d[_0x2de4('0x55')]){const _0x4a80fd=_0x3538fb[_0x2de4('0x4c')](_0xbcfa56);_0x4a80fd[_0x2de4('0x2f')]&&_0x4a80fd[_0x2de4('0x2f')][_0x2de4('0x41')]&&(_0x3538fb[_0x2de4('0x1')](_0x4a80fd['next']),_0x43901f=!0x0);}}}return _0x43901f;}),_0x447c27[_0x2de4('0x69')][_0x2de4('0x37')]('ImageResize')&&_0x3538fb[_0x2de4('0x1a')](_0x2de4('0x54'),(_0x3b1193,_0x3ae7f6)=>{const _0x52d8da=_0x2b4ddf[_0x2de4('0x5b')](_0x447c27['model'][_0x2de4('0x49')][_0x2de4('0x52')]);_0x52d8da[_0x2de4('0x5e')]('width')!=_0x3ae7f6[_0x2de4('0x3a')]&&_0x447c27['model'][_0x2de4('0x6')](()=>{_0x3538fb[_0x2de4('0x18')](_0x52d8da,{'commandName':_0x2de4('0x54'),'commandParams':[_0x3ae7f6]});});}),_0x447c27['plugins'][_0x2de4('0x37')](_0x2de4('0x5c'))&&_0x3538fb[_0x2de4('0x1a')](_0x2de4('0x26'),(_0x3159da,_0x35a02b)=>{const _0x7220aa=_0x2b4ddf['getClosestSelectedImageElement'](_0x447c27['model'][_0x2de4('0x49')]['selection']);(_0x7220aa['hasAttribute'](_0x2de4('0x21'))?_0x7220aa[_0x2de4('0x5e')](_0x2de4('0x21')):'')!=_0x35a02b['newValue']&&_0x447c27['model'][_0x2de4('0x6')](()=>{_0x3538fb[_0x2de4('0x18')](_0x7220aa,{'commandName':_0x2de4('0x26'),'commandParams':[_0x35a02b]});});}),_0x3538fb[_0x2de4('0x57')][_0x2de4('0x1b')](_0x445df4=>{if(!!_0x57f233[_0x2de4('0x42')](({type:_0x2eb587,subType:_0x1c3ea9})=>_0x445df4[_0x2de4('0xf')]==_0x2eb587&&_0x445df4[_0x2de4('0x51')]==_0x1c3ea9))return _0x445df4['previous']?{}:void 0x0;}),_0x3538fb[_0x2de4('0x57')]['registerDescriptionCallback'](_0xf44a40=>{if('insertion'==_0xf44a40[_0x2de4('0xf')]||'deletion'==_0xf44a40[_0x2de4('0xf')]){const _0x297f61=_0xf44a40[_0x2de4('0x16')]();if(_0x297f61&&_0x297f61['is'](_0x2de4('0x2'),_0x2de4('0x44')))return{'type':_0x2de4('0xb')==_0xf44a40[_0x2de4('0xf')]?_0x2de4('0x15'):_0x2de4('0x34'),'element':_0x297f61,'quantity':0x1};}}),_0x3538fb[_0x2de4('0x57')][_0x2de4('0x1b')](_0x38a8d5=>_0x2de4('0x10')==_0x38a8d5[_0x2de4('0xf')]&&_0x2de4('0x61')==_0x38a8d5[_0x2de4('0x51')]?{'type':_0x2de4('0x27'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x2de4('0x10')==_0x38a8d5[_0x2de4('0xf')]&&_0x2de4('0x6d')==_0x38a8d5['subType']?{'type':_0x2de4('0x27'),'content':_0x2de4('0x23')}:void 0x0),_0x3538fb[_0x2de4('0x57')][_0x2de4('0x1b')](_0x30e6b5=>{const {data:_0x4d7098}=_0x30e6b5;if(_0x4d7098){if('imageStyle'==_0x4d7098[_0x2de4('0x36')]){const _0x4e361b=_0x4d7098[_0x2de4('0x19')][0x0][_0x2de4('0x17')];return _0x216e9e(_0x2de4('0x35')===_0x4e361b?_0x47e069(_0x115097,'FORMAT_SIDE_IMAGE'):_0x91b102[_0x4e361b]||_0x4e361b);}if(_0x2de4('0x26')==_0x4d7098[_0x2de4('0x36')]){const _0x41e5b7=_0x4d7098[_0x2de4('0x19')][0x0][_0x2de4('0x14')];return _0x41e5b7?{'type':_0x2de4('0x27'),'content':_0x47e069(_0x115097,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x41e5b7+'\x22')}:{'type':_0x2de4('0x27'),'content':_0x47e069(_0x115097,_0x2de4('0x59'))};}if(_0x2de4('0x54')==_0x4d7098[_0x2de4('0x36')]){const _0x8eb5e0=_0x4d7098['commandParams'][0x0][_0x2de4('0x3a')];return _0x8eb5e0?{'type':_0x2de4('0x27'),'content':_0x47e069(_0x115097,'*Set\x20image\x20width:*\x20%0',_0x8eb5e0)}:{'type':'format','content':_0x47e069(_0x115097,_0x2de4('0x50'))};}}function _0x216e9e(_0xe2768b){return{'type':_0x2de4('0x27'),'content':_0x47e069(_0x115097,_0x2de4('0x6b'),_0xe2768b)};}});}}
23
+ const _0xa296=['commandParams','toLowerCase','commandReversedParams','filter','get','newValue','ImageUploadEditing','length','side','next','ImageStyleEditing','formatInline','commandName','refresh','ImageTextAlternativeEditing','nodeBefore','toNext','getSuggestionCallback','getSuggestions','imageStyle','head','imageCaption','ImageUtils','type','getFirstRange','imageTypeInline','find','_findSuggestions','format','ELEMENT_INLINE_IMAGE','Users','caption','accept','registerElementLabel','nodeAfter','shouldConvertImageType','selection','resizeImage','isEqual','_descriptionFactory','getNearestSelectionRange','ImageBlockEditing','imageInline','Inline\x20image\x20to\x20block\x20image','*Format:*\x20%0','ELEMENT_IMAGE','uploadImage','getCaptionFromImageModelElement','addObject','isOwn','editor','join','markInlineFormat','insertImage','hasSuggestion','insertion','forceDefaultExecution','discardSuggestion','isCollapsed','getSuggestion','formatBlock','isIntersecting','chain','*Reset\x20image\x20width*','width','fromPosition','ImageEditing','toggleImageCaption','hasAttribute','previous','ELEMENT_CAPTION','imageStylePreApply','imageStylePostApply','isInlineImage','createRange','*Set\x20image\x20text\x20alternative:*\x20%0','isBefore','*Remove\x20image\x20text\x20alternative*','getChangedMarkers','enableCommand','registerCustomCallback','model','markBlockFormat','_suggestionFactory','suggestion','registerPostFixer','imageTextAlternative','element','document','has','registerDescriptionCallback','value','start','toPrevious','getClosestSelectedImageElement','deletion','*Set\x20image\x20width:*\x20%0','findIndex','isInContent','convertBlockImageToInline','createRangeOn','end','forEach','newRange','ImageCaptionEditing','_splitMarkerName','TrackChangesEditing','plugins','getContainedElement','getAttribute','schema','subType','change','imageTypeBlock','convertInlineImageToBlock','isBlockImage','title','discard','afterInit','backward','markDeletion','commands','from'];(function(_0x4cb2e5,_0xa29622){const _0x1a5364=function(_0x527550){while(--_0x527550){_0x4cb2e5['push'](_0x4cb2e5['shift']());}};_0x1a5364(++_0xa29622);}(_0xa296,0x1a6));const _0x1a53=function(_0x4cb2e5,_0xa29622){_0x4cb2e5=_0x4cb2e5-0x0;let _0x1a5364=_0xa296[_0x4cb2e5];return _0x1a5364;};import{Plugin as _0x4f4f0d}from'ckeditor5/src/core.js';import{LivePosition as _0x5127af}from'ckeditor5/src/engine.js';import{uid as _0x3c11d0}from'ckeditor5/src/utils.js';import{getTranslation as _0x458bee}from'../utils/common-translations.js';export default class X extends _0x4f4f0d{[_0x1a53('0x41')](){const _0x1ca000=this[_0x1a53('0x78')];if(!_0x1ca000[_0x1a53('0x36')][_0x1a53('0x24')](_0x1a53('0xd')))return;const _0x286dab=_0x1ca000[_0x1a53('0x36')][_0x1a53('0x4a')](_0x1a53('0x35')),_0x7b4b65=_0x1ca000['plugins']['get'](_0x1a53('0x5c')),_0x4b20a4={},_0xcb0ca0=_0x1ca000['locale'];if(_0x286dab[_0x1a53('0x1a')](_0x1a53('0x0')),_0x286dab['_descriptionFactory']['registerElementLabel']('imageBlock',_0x2fddc2=>_0x458bee(_0xcb0ca0,_0x1a53('0x73'),_0x2fddc2)),_0x286dab[_0x1a53('0x6d')]['registerElementLabel'](_0x1a53('0x70'),_0xb62bd=>_0x458bee(_0xcb0ca0,_0x1a53('0x63'),_0xb62bd)),_0x286dab['_descriptionFactory'][_0x1a53('0x67')](_0x1a53('0x65'),()=>_0x458bee(_0xcb0ca0,_0x1a53('0x11'))),_0x1ca000['plugins'][_0x1a53('0x24')](_0x1a53('0x4c'))&&_0x286dab[_0x1a53('0x1a')](_0x1a53('0x74')),_0x1ca000[_0x1a53('0x36')][_0x1a53('0x24')](_0x1a53('0x6f'))&&_0x1ca000['plugins'][_0x1a53('0x24')]('ImageInlineEditing')&&(_0x286dab[_0x1a53('0x1a')](_0x1a53('0x5f'),(_0x5d4b7e,_0x120fcc)=>{const _0x3739f5=_0x7b4b65[_0x1a53('0x29')](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x23')][_0x1a53('0x6a')]);_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x3b')](()=>{_0x286dab[_0x1a53('0x1d')](_0x3739f5,{'commandName':_0x1a53('0x5f'),'commandParams':[_0x120fcc]},[],_0x1a53('0x2e'));});}),_0x286dab[_0x1a53('0x1a')]('imageTypeBlock',(_0x1cb0d4,_0x9fadf9)=>{_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x3b')](_0x569fcd=>{let _0xdd7f2d=_0x7b4b65[_0x1a53('0x29')](_0x1ca000['model'][_0x1a53('0x23')][_0x1a53('0x6a')]),_0x436bd3=_0x569fcd[_0x1a53('0x2f')](_0xdd7f2d);const _0x5146aa=_0x5127af['fromPosition'](_0x436bd3[_0x1a53('0x27')],_0x1a53('0x28')),_0x1015d3=_0x5127af[_0x1a53('0xc')](_0x436bd3['end'],_0x1a53('0x56'));_0x286dab[_0x1a53('0x3')](()=>_0x1cb0d4(_0x9fadf9)),_0xdd7f2d=_0x7b4b65[_0x1a53('0x29')](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x23')][_0x1a53('0x6a')]),_0x436bd3=_0x569fcd[_0x1a53('0x2f')](_0xdd7f2d);const _0x141c73=_0x569fcd[_0x1a53('0x15')](_0x5146aa,_0x1015d3);_0x5146aa['detach'](),_0x1015d3['detach'](),_0x286dab['markBlockFormat'](_0xdd7f2d,{'commandName':_0x1a53('0x5f'),'commandParams':[]},[],_0x1a53('0x3d')),_0x141c73[_0x1a53('0x27')][_0x1a53('0x17')](_0x436bd3['start'])&&_0x286dab['markInsertion'](_0x569fcd[_0x1a53('0x15')](_0x141c73[_0x1a53('0x27')],_0x436bd3['start']),_0x1a53('0x3d')),_0x436bd3[_0x1a53('0x30')]['isBefore'](_0x141c73['end'])&&_0x286dab['markInsertion'](_0x569fcd[_0x1a53('0x15')](_0x436bd3['end'],_0x141c73[_0x1a53('0x30')]),_0x1a53('0x3d'));});}),_0x286dab[_0x1a53('0x1e')]['registerCustomCallback'](_0x1a53('0x7'),_0x1a53('0x3d'),'join',()=>{}),_0x286dab['_suggestionFactory'][_0x1a53('0x1b')]('formatBlock',_0x1a53('0x3d'),'accept',()=>{}),_0x286dab[_0x1a53('0x1e')][_0x1a53('0x1b')]('formatBlock',_0x1a53('0x3d'),_0x1a53('0x40'),_0x286dab[_0x1a53('0x1e')][_0x1a53('0x57')]('formatBlock','','accept')),_0x286dab['_suggestionFactory'][_0x1a53('0x1b')](_0x1a53('0x2'),_0x1a53('0x3d'),_0x1a53('0x79'),()=>{}),_0x286dab[_0x1a53('0x1e')][_0x1a53('0x1b')](_0x1a53('0x2'),_0x1a53('0x3d'),_0x1a53('0x40'),([_0x4effd3])=>{const _0x2ac357=_0x286dab['_suggestionFactory']['getSuggestionCallback']('insertion','',_0x1a53('0x40'));let _0x3602db=_0x4effd3[_0x1a53('0x27')],_0x2b4037=_0x4effd3[_0x1a53('0x30')];const _0x548e4d=_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x39')][_0x1a53('0x6e')](_0x3602db,_0x1a53('0x42')),_0x4d678f=_0x1ca000[_0x1a53('0x1c')]['schema']['getNearestSelectionRange'](_0x2b4037,'forward');_0x548e4d['isCollapsed']&&(_0x3602db=_0x548e4d[_0x1a53('0x27')]),_0x4d678f[_0x1a53('0x5')]&&(_0x2b4037=_0x4d678f['end']),_0x2ac357([_0x1ca000[_0x1a53('0x1c')]['createRange'](_0x3602db,_0x2b4037)]);}),_0x286dab[_0x1a53('0x1e')]['registerCustomCallback'](_0x1a53('0x7'),_0x1a53('0x3d'),_0x1a53('0x9'),_0x27156a),_0x286dab['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock',_0x1a53('0x9'),_0x27156a)),_0x1ca000[_0x1a53('0x36')][_0x1a53('0x24')](_0x1a53('0x33'))&&(_0x286dab[_0x1a53('0x1a')](_0x1a53('0xe'),(_0x36c2cf,_0x2570c2)=>{const _0x18f404=_0x1ca000[_0x1a53('0x36')][_0x1a53('0x4a')]('ImageCaptionUtils');let _0x413301=_0x7b4b65[_0x1a53('0x29')](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x23')]['selection']),_0x237b9e=_0x18f404['getCaptionFromImageModelElement'](_0x413301);_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x3b')](()=>{if(_0x237b9e)return void _0x286dab[_0x1a53('0x43')](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x2f')](_0x237b9e));const _0x5c2164=_0x7b4b65['isBlockImage'](_0x413301);_0x36c2cf(_0x2570c2),_0x413301=_0x7b4b65[_0x1a53('0x29')](_0x1ca000['model'][_0x1a53('0x23')][_0x1a53('0x6a')]),_0x237b9e=_0x18f404[_0x1a53('0x75')](_0x413301),_0x286dab['markInsertion'](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x2f')](_0x237b9e),_0x5c2164?null:_0x1a53('0x5b'));});}),_0x286dab['_suggestionFactory'][_0x1a53('0x1b')](_0x1a53('0x2'),_0x1a53('0x5b'),'chain',_0x27156a)),_0x1ca000['plugins'][_0x1a53('0x24')]('ImageStyleEditing')){_0x286dab[_0x1a53('0x1a')](_0x1a53('0x59'),(_0xf82ac2,_0x3c7fcc)=>{const _0x5d4785=_0x1ca000[_0x1a53('0x36')][_0x1a53('0x4a')](_0x1a53('0x64'))['me'],_0x4289f3=_0x1ca000['commands'][_0x1a53('0x4a')]('imageStyle');let _0x1ad3d2=_0x7b4b65['getClosestSelectedImageElement'](_0x1ca000['model'][_0x1a53('0x23')][_0x1a53('0x6a')]),_0x18e12e=_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x2f')](_0x1ad3d2),_0x327c4f=_0x4289f3['value'];if(_0x327c4f==_0x3c7fcc[_0x1a53('0x26')])return;const _0x37af84={'commandName':_0x1a53('0x59'),'commandParams':[_0x3c7fcc],'formatGroupId':_0x3c11d0()};_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x3b')](()=>{if(_0x286dab[_0x1a53('0x58')]()[_0x1a53('0x49')](_0x112324=>_0x112324[_0x1a53('0x2d')]&&_0x5d4785==_0x112324['author']&&(_0x1a53('0x7')==_0x112324['type']||_0x1a53('0x51')==_0x112324[_0x1a53('0x5d')])&&('imageStylePreApply'==_0x112324[_0x1a53('0x3a')]||_0x1a53('0x13')==_0x112324['subType'])&&_0x112324[_0x1a53('0x5e')]()[_0x1a53('0x6c')](_0x18e12e))[_0x1a53('0x31')](_0x65eece=>_0x286dab[_0x1a53('0x4')](_0x65eece[_0x1a53('0x5a')])),_0x1ad3d2=_0x7b4b65['getClosestSelectedImageElement'](_0x1ca000[_0x1a53('0x1c')]['document'][_0x1a53('0x6a')]),_0x18e12e=_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x2f')](_0x1ad3d2),_0x4289f3[_0x1a53('0x53')](),_0x1ca000[_0x1a53('0x44')][_0x1a53('0x4a')](_0x1a53('0x5f'))[_0x1a53('0x53')](),_0x1ca000[_0x1a53('0x44')][_0x1a53('0x4a')](_0x1a53('0x3c'))[_0x1a53('0x53')](),_0x327c4f=_0x4289f3[_0x1a53('0x26')],_0x327c4f!=_0x3c7fcc[_0x1a53('0x26')])return _0x7b4b65[_0x1a53('0x14')](_0x1ad3d2)&&_0x4289f3[_0x1a53('0x69')](_0x3c7fcc[_0x1a53('0x26')],_0x1ad3d2)?(_0xf82ac2(_0x3c7fcc),_0x1ad3d2=_0x7b4b65[_0x1a53('0x29')](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x23')][_0x1a53('0x6a')]),void _0x286dab[_0x1a53('0x1d')](_0x1ad3d2,{..._0x37af84,'commandReversedParams':[{'value':_0x327c4f||null}]},[],_0x1a53('0x12'))):void(_0x7b4b65[_0x1a53('0x3e')](_0x1ad3d2)?_0x286dab[_0x1a53('0x1d')](_0x1ad3d2,_0x37af84,[],_0x1a53('0x13')):_0x286dab[_0x1a53('0x7a')](_0x18e12e,_0x37af84,'imageStylePostApply'));});});for(const _0xc362c5 of _0x1ca000[_0x1a53('0x36')]['get'](_0x1a53('0x50'))['normalizedStyles'])_0x4b20a4[_0xc362c5['name']]=_0xc362c5[_0x1a53('0x3f')][_0x1a53('0x47')]();_0x286dab[_0x1a53('0x1e')][_0x1a53('0x1b')](_0x1a53('0x7'),'imageStylePreApply','join',()=>{}),_0x286dab['_suggestionFactory'][_0x1a53('0x1b')](_0x1a53('0x7'),_0x1a53('0x13'),_0x1a53('0x79'),()=>{}),_0x286dab[_0x1a53('0x1e')][_0x1a53('0x1b')]('formatInline','imageStylePostApply',_0x1a53('0x79'),()=>{}),_0x286dab['_suggestionFactory'][_0x1a53('0x1b')](_0x1a53('0x7'),_0x1a53('0x12'),_0x1a53('0x66'),()=>{}),_0x286dab[_0x1a53('0x1e')][_0x1a53('0x1b')]('formatBlock',_0x1a53('0x12'),_0x1a53('0x40'),(_0x44334b,_0x2447ee)=>{_0x286dab['_suggestionFactory'][_0x1a53('0x57')](_0x1a53('0x7'),'',_0x1a53('0x66'))(_0x44334b,{'commandName':_0x2447ee[_0x1a53('0x52')],'commandParams':_0x2447ee[_0x1a53('0x48')]});}),_0x286dab[_0x1a53('0x1e')][_0x1a53('0x1b')](_0x1a53('0x7'),_0x1a53('0x12'),_0x1a53('0x9'),_0x27156a);}const _0xd46376=[{'type':_0x1a53('0x7'),'subType':_0x1a53('0x12')},{'type':_0x1a53('0x2'),'subType':_0x1a53('0x5b')},{'type':_0x1a53('0x7'),'subType':_0x1a53('0x3d')},{'type':_0x1a53('0x2'),'subType':'convertInlineImageToBlock'}];function _0x1951b9(_0x330b16,_0x4a8ecc){const _0x5a27fe=_0xd46376[_0x1a53('0x2c')](({type:_0x4ef716,subType:_0x28bd31})=>_0x330b16['type']==_0x4ef716&&_0x330b16['subType']==_0x28bd31),_0x1577ab=_0xd46376[_0x1a53('0x2c')](({type:_0x1132f3,subType:_0x1931e4})=>_0x4a8ecc[_0x1a53('0x5d')]==_0x1132f3&&_0x4a8ecc[_0x1a53('0x3a')]==_0x1931e4);if(_0x5a27fe<0x0||_0x1577ab<0x0)return!0x1;const _0x2b8eb2=_0x330b16[_0x1a53('0x5e')](),_0x1c38a0=_0x4a8ecc[_0x1a53('0x5e')]();if((0x0==_0x5a27fe||0x1==_0x5a27fe)&&0x2==_0x1577ab&&_0x2b8eb2[_0x1a53('0x8')](_0x1c38a0))return!0x0;if(0x2==_0x5a27fe&&0x3==_0x1577ab){const _0x502909=_0x286dab[_0x1a53('0x61')](_0x2b8eb2,'insertion')[_0x1a53('0x49')](({suggestion:_0x1149f9,meta:_0x5c50f7})=>_0x5c50f7[_0x1a53('0x77')]&&_0x1a53('0x3d')==_0x1149f9[_0x1a53('0x3a')]);if(_0x502909[_0x1a53('0x4d')]>0x1&&_0x1c38a0['end'][_0x1a53('0x6c')](_0x2b8eb2['start']))return!0x0;if(0x1==_0x502909['length']&&(_0x2b8eb2[_0x1a53('0x27')][_0x1a53('0x6c')](_0x1c38a0['end'])||_0x2b8eb2['end'][_0x1a53('0x6c')](_0x1c38a0[_0x1a53('0x27')])))return!0x0;}if(0x3==_0x5a27fe&&0x3==_0x1577ab&&_0x2b8eb2['start'][_0x1a53('0x17')](_0x1c38a0[_0x1a53('0x27')])){const _0x56be5b=_0x2b8eb2[_0x1a53('0x30')][_0x1a53('0x68')],_0x4800fd=_0x1c38a0['start'][_0x1a53('0x55')];return _0x7b4b65['isBlockImage'](_0x56be5b)&&_0x56be5b===_0x4800fd;}return!0x1;}function _0x27156a(_0x53ff48,_0xcd035f){return _0x1951b9(_0x53ff48,_0xcd035f)?[_0x53ff48,_0xcd035f]:_0x1951b9(_0xcd035f,_0x53ff48)?[_0xcd035f,_0x53ff48]:null;}_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x23')][_0x1a53('0x20')](()=>{let _0xf8ebeb=!0x1;const _0x26811b=Array[_0x1a53('0x45')](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x23')]['differ'][_0x1a53('0x19')]());for(const {name:_0x377172,data:_0xc09163}of _0x26811b){const {group:_0x1cfaaa,type:_0x25271e,subType:_0x10f11b,id:_0x129b10}=_0x286dab[_0x1a53('0x34')](_0x377172);if(_0x1a53('0x1f')==_0x1cfaaa&&_0x286dab[_0x1a53('0x1')](_0x129b10)){if(_0x1a53('0x7')==_0x25271e&&('imageStylePreApply'==_0x10f11b||_0x1a53('0x13')==_0x10f11b)){const _0x24a0b4=_0x286dab[_0x1a53('0x6')](_0x129b10);if(_0xc09163[_0x1a53('0x32')]){const _0x45f646=_0x24a0b4[_0x1a53('0x5e')]()[_0x1a53('0x37')]();if(_0x7b4b65['isBlockImage'](_0x45f646))continue;_0x286dab[_0x1a53('0x4')](_0x24a0b4),_0xf8ebeb=!0x0;}}if('insertion'==_0x25271e&&_0x1a53('0x5b')==_0x10f11b&&!_0xc09163[_0x1a53('0x32')]){const _0x288bfe=_0x286dab[_0x1a53('0x6')](_0x129b10);_0x288bfe[_0x1a53('0x4f')]&&_0x288bfe[_0x1a53('0x4f')]['isInContent']&&(_0x286dab[_0x1a53('0x4')](_0x288bfe[_0x1a53('0x4f')]),_0xf8ebeb=!0x0);}}}return _0xf8ebeb;}),_0x1ca000[_0x1a53('0x36')][_0x1a53('0x24')]('ImageResize')&&_0x286dab[_0x1a53('0x1a')](_0x1a53('0x6b'),(_0x3db10c,_0x56883e)=>{const _0x22663b=_0x7b4b65[_0x1a53('0x29')](_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x23')]['selection']);_0x22663b[_0x1a53('0x38')](_0x1a53('0xb'))!=_0x56883e[_0x1a53('0xb')]&&_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x3b')](()=>{_0x286dab[_0x1a53('0x1d')](_0x22663b,{'commandName':_0x1a53('0x6b'),'commandParams':[_0x56883e]});});}),_0x1ca000[_0x1a53('0x36')][_0x1a53('0x24')](_0x1a53('0x54'))&&_0x286dab['enableCommand'](_0x1a53('0x21'),(_0xe73460,_0xb43342)=>{const _0x120548=_0x7b4b65['getClosestSelectedImageElement'](_0x1ca000[_0x1a53('0x1c')]['document'][_0x1a53('0x6a')]);(_0x120548[_0x1a53('0xf')]('alt')?_0x120548[_0x1a53('0x38')]('alt'):'')!=_0xb43342[_0x1a53('0x4b')]&&_0x1ca000[_0x1a53('0x1c')][_0x1a53('0x3b')](()=>{_0x286dab[_0x1a53('0x1d')](_0x120548,{'commandName':_0x1a53('0x21'),'commandParams':[_0xb43342]});});}),_0x286dab[_0x1a53('0x6d')]['registerDescriptionCallback'](_0x4e8338=>{if(!!_0xd46376[_0x1a53('0x60')](({type:_0x1d9d64,subType:_0x53d8e1})=>_0x4e8338[_0x1a53('0x5d')]==_0x1d9d64&&_0x4e8338[_0x1a53('0x3a')]==_0x53d8e1))return _0x4e8338[_0x1a53('0x10')]?{}:void 0x0;}),_0x286dab[_0x1a53('0x6d')][_0x1a53('0x25')](_0x58b6e9=>{if('insertion'==_0x58b6e9[_0x1a53('0x5d')]||_0x1a53('0x2a')==_0x58b6e9[_0x1a53('0x5d')]){const _0x3b225c=_0x58b6e9[_0x1a53('0x37')]();if(_0x3b225c&&_0x3b225c['is'](_0x1a53('0x22'),'caption'))return{'type':'insertion'==_0x58b6e9[_0x1a53('0x5d')]?_0x1a53('0x76'):'removeObject','element':_0x3b225c,'quantity':0x1};}}),_0x286dab[_0x1a53('0x6d')][_0x1a53('0x25')](_0xc5c129=>_0x1a53('0x7')==_0xc5c129[_0x1a53('0x5d')]&&'convertInlineImageToBlock'==_0xc5c129[_0x1a53('0x3a')]?{'type':_0x1a53('0x62'),'content':_0x1a53('0x71')}:_0x1a53('0x7')==_0xc5c129[_0x1a53('0x5d')]&&_0x1a53('0x2e')==_0xc5c129[_0x1a53('0x3a')]?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x286dab[_0x1a53('0x6d')][_0x1a53('0x25')](_0x23b635=>{const {data:_0x3269c5}=_0x23b635;if(_0x3269c5){if(_0x1a53('0x59')==_0x3269c5[_0x1a53('0x52')]){const _0x4bcbd6=_0x3269c5[_0x1a53('0x46')][0x0][_0x1a53('0x26')];return _0xc18489(_0x1a53('0x4e')===_0x4bcbd6?_0x458bee(_0xcb0ca0,'FORMAT_SIDE_IMAGE'):_0x4b20a4[_0x4bcbd6]||_0x4bcbd6);}if(_0x1a53('0x21')==_0x3269c5[_0x1a53('0x52')]){const _0x30f829=_0x3269c5[_0x1a53('0x46')][0x0][_0x1a53('0x4b')];return _0x30f829?{'type':_0x1a53('0x62'),'content':_0x458bee(_0xcb0ca0,_0x1a53('0x16'),'\x22'+_0x30f829+'\x22')}:{'type':'format','content':_0x458bee(_0xcb0ca0,_0x1a53('0x18'))};}if(_0x1a53('0x6b')==_0x3269c5['commandName']){const _0x1b8dce=_0x3269c5[_0x1a53('0x46')][0x0][_0x1a53('0xb')];return _0x1b8dce?{'type':_0x1a53('0x62'),'content':_0x458bee(_0xcb0ca0,_0x1a53('0x2b'),_0x1b8dce)}:{'type':'format','content':_0x458bee(_0xcb0ca0,_0x1a53('0xa'))};}}function _0xc18489(_0x2b4fec){return{'type':_0x1a53('0x62'),'content':_0x458bee(_0xcb0ca0,_0x1a53('0x72'),_0x2b4fec)};}});}}
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @module track-changes/integrations/imagereplace
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import type Suggestion from '../suggestion';
6
- import type { Description } from '../suggestiondescriptionfactory';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
+ import type Suggestion from '../suggestion.js';
6
+ import type { Description } from '../suggestiondescriptionfactory.js';
7
7
  /**
8
8
  * Provides track changes plugin integration for image replace feature.
9
9
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aed=['registerCustomCallback','get','data','markBlockFormat','_suggestionFactory','format','subType','plugins','editor','TrackChangesEditing','getSelectedElement','handleSuggestionDescription','change','replaceImageSource','commandParams','afterInit','source','handleReplaceImageCommand','document','locale','Users','discard','getContainedElement','author','getSuggestions','model','ImageEditing','commandName','getAttribute','accept','registerDescriptionCallback','getSuggestionCallback','formatBlock','has','selection'];(function(_0x4af41e,_0x1aed68){const _0x1e6405=function(_0x500032){while(--_0x500032){_0x4af41e['push'](_0x4af41e['shift']());}};_0x1e6405(++_0x1aed68);}(_0x1aed,0x19f));const _0x1e64=function(_0x4af41e,_0x1aed68){_0x4af41e=_0x4af41e-0x0;let _0x1e6405=_0x1aed[_0x4af41e];return _0x1e6405;};import{Plugin as _0x41e6fa}from'ckeditor5/src/core';import{getTranslation as _0x36e29d}from'../utils/common-translations';export default class Y extends _0x41e6fa{[_0x1e64('0x14')](){if(!this[_0x1e64('0xd')]['plugins'][_0x1e64('0x3')](_0x1e64('0x1f')))return;const _0x3a7d4b=this[_0x1e64('0xd')][_0x1e64('0xc')][_0x1e64('0x6')](_0x1e64('0xe'));_0x3a7d4b['enableCommand'](_0x1e64('0x12'),(_0x1a82d9,_0xe6d4c6)=>this[_0x1e64('0x16')](_0x1a82d9,_0xe6d4c6)),_0x3a7d4b[_0x1e64('0x9')][_0x1e64('0x5')](_0x1e64('0x2'),'replaceImageSource',_0x1e64('0x22'),_0x3a7d4b['_suggestionFactory']['getSuggestionCallback'](_0x1e64('0x2'),null,_0x1e64('0x1a'))),_0x3a7d4b[_0x1e64('0x9')][_0x1e64('0x5')]('formatBlock',_0x1e64('0x12'),_0x1e64('0x1a'),_0x3a7d4b[_0x1e64('0x9')][_0x1e64('0x1')](_0x1e64('0x2'),null,'accept')),_0x3a7d4b['_descriptionFactory'][_0x1e64('0x0')](_0x331626=>this[_0x1e64('0x10')](_0x331626));}[_0x1e64('0x16')](_0xe4475,_0x1f1a20){const _0x40c862=this[_0x1e64('0xd')][_0x1e64('0xc')][_0x1e64('0x6')]('TrackChangesEditing'),_0x5dd732=this[_0x1e64('0xd')][_0x1e64('0x1e')][_0x1e64('0x17')][_0x1e64('0x4')][_0x1e64('0xf')]();this['editor']['model'][_0x1e64('0x11')](()=>{let _0x1fd171=_0x5dd732[_0x1e64('0x21')]('src');const _0x228db4=this['editor'][_0x1e64('0xc')][_0x1e64('0x6')](_0x1e64('0x19'))['me'];for(const _0x5a3d66 of _0x40c862[_0x1e64('0x1d')]({'skipNotAttached':!0x0})){const _0x418090=_0x5a3d66[_0x1e64('0x1b')]();if('replaceImageSource'===_0x5a3d66[_0x1e64('0xb')]&&_0x418090===_0x5dd732){_0x5a3d66[_0x1e64('0x1c')]!==_0x228db4&&_0x5a3d66[_0x1e64('0x1a')](),_0x1fd171=_0x5a3d66[_0x1e64('0x7')][_0x1e64('0x13')][0x0][_0x1e64('0x15')];break;}}_0xe4475(_0x1f1a20),_0x40c862[_0x1e64('0x8')](_0x5dd732,{'commandName':'replaceImageSource','commandParams':[{'source':_0x1fd171}]},[],_0x1e64('0x12'));});}[_0x1e64('0x10')](_0x14c56d){const {data:_0x420dde}=_0x14c56d;if(_0x420dde&&_0x1e64('0x12')===_0x420dde[_0x1e64('0x20')]){const _0x30c618='*Format:*\x20replace\x20image\x20URL';return{'type':_0x1e64('0xa'),'content':_0x36e29d(this['editor'][_0x1e64('0x18')],_0x30c618)};}}}
23
+ const _0x2619=['has','TrackChangesEditing','Users','registerCustomCallback','handleReplaceImageCommand','replaceImageSource','model','getAttribute','getSuggestions','discard','*Format:*\x20replace\x20image\x20URL','_descriptionFactory','afterInit','accept','document','commandParams','formatBlock','locale','getSelectedElement','enableCommand','markBlockFormat','get','getSuggestionCallback','getContainedElement','data','author','_suggestionFactory','source','selection','editor','plugins','ImageEditing','change','handleSuggestionDescription','registerDescriptionCallback'];(function(_0x18b733,_0x261907){const _0x2a9860=function(_0x3b8852){while(--_0x3b8852){_0x18b733['push'](_0x18b733['shift']());}};_0x2a9860(++_0x261907);}(_0x2619,0xcb));const _0x2a98=function(_0x18b733,_0x261907){_0x18b733=_0x18b733-0x0;let _0x2a9860=_0x2619[_0x18b733];return _0x2a9860;};import{Plugin as _0x2be2fd}from'ckeditor5/src/core.js';import{getTranslation as _0x260194}from'../utils/common-translations.js';export default class Y extends _0x2be2fd{[_0x2a98('0x13')](){if(!this[_0x2a98('0x1')][_0x2a98('0x2')][_0x2a98('0x7')](_0x2a98('0x3')))return;const _0x42d27c=this[_0x2a98('0x1')]['plugins'][_0x2a98('0x1c')]('TrackChangesEditing');_0x42d27c[_0x2a98('0x1a')](_0x2a98('0xc'),(_0x2e7613,_0x8330f2)=>this[_0x2a98('0xb')](_0x2e7613,_0x8330f2)),_0x42d27c[_0x2a98('0x21')][_0x2a98('0xa')](_0x2a98('0x17'),_0x2a98('0xc'),'accept',_0x42d27c[_0x2a98('0x21')][_0x2a98('0x1d')](_0x2a98('0x17'),null,_0x2a98('0x10'))),_0x42d27c[_0x2a98('0x21')][_0x2a98('0xa')](_0x2a98('0x17'),_0x2a98('0xc'),_0x2a98('0x10'),_0x42d27c['_suggestionFactory'][_0x2a98('0x1d')](_0x2a98('0x17'),null,_0x2a98('0x14'))),_0x42d27c[_0x2a98('0x12')][_0x2a98('0x6')](_0x1d29d1=>this['handleSuggestionDescription'](_0x1d29d1));}[_0x2a98('0xb')](_0x35fad4,_0x483571){const _0x425230=this['editor'][_0x2a98('0x2')][_0x2a98('0x1c')](_0x2a98('0x8')),_0x132c5c=this[_0x2a98('0x1')]['model'][_0x2a98('0x15')][_0x2a98('0x0')][_0x2a98('0x19')]();this[_0x2a98('0x1')][_0x2a98('0xd')][_0x2a98('0x4')](()=>{let _0x376a66=_0x132c5c[_0x2a98('0xe')]('src');const _0x453e0e=this[_0x2a98('0x1')][_0x2a98('0x2')][_0x2a98('0x1c')](_0x2a98('0x9'))['me'];for(const _0x3c7e95 of _0x425230[_0x2a98('0xf')]({'skipNotAttached':!0x0})){const _0x6e5971=_0x3c7e95[_0x2a98('0x1e')]();if(_0x2a98('0xc')===_0x3c7e95['subType']&&_0x6e5971===_0x132c5c){_0x3c7e95[_0x2a98('0x20')]!==_0x453e0e&&_0x3c7e95['discard'](),_0x376a66=_0x3c7e95[_0x2a98('0x1f')][_0x2a98('0x16')][0x0][_0x2a98('0x22')];break;}}_0x35fad4(_0x483571),_0x425230[_0x2a98('0x1b')](_0x132c5c,{'commandName':_0x2a98('0xc'),'commandParams':[{'source':_0x376a66}]},[],'replaceImageSource');});}[_0x2a98('0x5')](_0x4d3768){const {data:_0x52fb86}=_0x4d3768;if(_0x52fb86&&'replaceImageSource'===_0x52fb86['commandName']){const _0x1dd7f9=_0x2a98('0x11');return{'type':'format','content':_0x260194(this[_0x2a98('0x1')][_0x2a98('0x18')],_0x1dd7f9)};}}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/importword
3
3
  */
4
- import { Plugin, type Editor } from 'ckeditor5/src/core';
4
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for the import from Word feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f59=['bind','commands','lowest','value','high','execute','afterInit','get','dataInsert','plugins','Users','_handleImportedData','TrackChangesEditing','track_changes','_trackChangesExecuted','importWord','trackChanges','_setSuggestionData','listenTo','editor','_trackChangesValueDuringImport'];(function(_0x448156,_0x4f59df){const _0x558a71=function(_0x1b191b){while(--_0x1b191b){_0x448156['push'](_0x448156['shift']());}};_0x558a71(++_0x4f59df);}(_0x4f59,0x184));const _0x558a=function(_0x448156,_0x4f59df){_0x448156=_0x448156-0x0;let _0x558a71=_0x4f59[_0x448156];return _0x558a71;};import{Plugin as _0x4b817e}from'ckeditor5/src/core';export default class Z extends _0x4b817e{constructor(_0x2b7328){super(_0x2b7328),this['_trackChangesValueDuringImport']=!0x1,this[_0x558a('0x4')]=!0x1;}[_0x558a('0x11')](){const _0x1264de=this['editor'],_0x35b2e7=_0x1264de['commands']['get'](_0x558a('0x5')),_0x54da2a=_0x1264de[_0x558a('0xc')]['get'](_0x558a('0x6'));_0x35b2e7&&(_0x35b2e7['on'](_0x558a('0x10'),(_0x1c8999,[,_0xf0d267])=>{this[_0x558a('0xa')]=_0x54da2a[_0x558a('0xe')],_0xf0d267['collaboration_features'][_0x558a('0x3')]=!this[_0x558a('0xa')];},{'priority':_0x558a('0xf')}),this[_0x558a('0x8')](_0x35b2e7,'dataInsert',this[_0x558a('0x1')][_0x558a('0xb')](this)),this['listenTo'](_0x35b2e7,_0x558a('0x13'),()=>{this[_0x558a('0x4')]&&(_0x54da2a[_0x558a('0x10')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x558a('0xd')}),_0x1264de[_0x558a('0x14')][_0x558a('0x12')]('TrackChangesEditing')['enableCommand']('importWord'));}[_0x558a('0x1')](_0x54725b,_0x28b082){const {suggestions:_0x36eec4}=_0x28b082,_0x5eb43c=this[_0x558a('0x9')][_0x558a('0xc')][_0x558a('0x12')]('trackChanges'),_0x509e22=_0x5eb43c['value'];this[_0x558a('0xa')]!==_0x509e22&&(_0x5eb43c[_0x558a('0x10')](),this[_0x558a('0x4')]=!0x0),_0x36eec4&&_0x36eec4['forEach'](({id:_0x20a030,type:_0x1c65f2,author:_0x4ecab6,created_at:_0xeb68b8})=>{const _0x701228={'id':_0x20a030,'type':_0x1c65f2,'authorId':this[_0x558a('0x9')][_0x558a('0x14')]['get'](_0x558a('0x0'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4ecab6,'createdAt':_0xeb68b8?new Date(_0xeb68b8):new Date(),'source':_0x558a('0x5')}}};this[_0x558a('0x9')][_0x558a('0x14')]['get'](_0x558a('0x2'))[_0x558a('0x7')](_0x701228);});}}
23
+ const _0x1fa2=['forEach','plugins','track_changes','commands','trackChanges','listenTo','editor','enableCommand','lowest','_trackChangesValueDuringImport','value','TrackChangesEditing','dataInsert','_handleImportedData','Users','bind','execute','_trackChangesExecuted','importWord','afterInit','get','_setSuggestionData'];(function(_0x18fb45,_0x1fa2db){const _0x56fa77=function(_0x3920fd){while(--_0x3920fd){_0x18fb45['push'](_0x18fb45['shift']());}};_0x56fa77(++_0x1fa2db);}(_0x1fa2,0xcd));const _0x56fa=function(_0x18fb45,_0x1fa2db){_0x18fb45=_0x18fb45-0x0;let _0x56fa77=_0x1fa2[_0x18fb45];return _0x56fa77;};import{Plugin as _0x2f7626}from'ckeditor5/src/core.js';export default class Z extends _0x2f7626{constructor(_0x1f3309){super(_0x1f3309),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x56fa('0xc')](){const _0x13fffd=this[_0x56fa('0x15')],_0x44aa0d=_0x13fffd[_0x56fa('0x12')]['get'](_0x56fa('0xb')),_0x1d44f7=_0x13fffd[_0x56fa('0x12')][_0x56fa('0xd')](_0x56fa('0x13'));_0x44aa0d&&(_0x44aa0d['on'](_0x56fa('0x9'),(_0x17d34e,[,_0x670aca])=>{this[_0x56fa('0x2')]=_0x1d44f7[_0x56fa('0x3')],_0x670aca['collaboration_features'][_0x56fa('0x11')]=!this[_0x56fa('0x2')];},{'priority':'high'}),this[_0x56fa('0x14')](_0x44aa0d,_0x56fa('0x5'),this[_0x56fa('0x6')][_0x56fa('0x8')](this)),this[_0x56fa('0x14')](_0x44aa0d,_0x56fa('0x5'),()=>{this[_0x56fa('0xa')]&&(_0x1d44f7[_0x56fa('0x9')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x56fa('0x1')}),_0x13fffd[_0x56fa('0x10')][_0x56fa('0xd')](_0x56fa('0x4'))[_0x56fa('0x0')](_0x56fa('0xb')));}['_handleImportedData'](_0x4dd513,_0x2a5a0d){const {suggestions:_0x36687a}=_0x2a5a0d,_0x435b97=this[_0x56fa('0x15')][_0x56fa('0x12')][_0x56fa('0xd')](_0x56fa('0x13')),_0x55779a=_0x435b97[_0x56fa('0x3')];this['_trackChangesValueDuringImport']!==_0x55779a&&(_0x435b97[_0x56fa('0x9')](),this[_0x56fa('0xa')]=!0x0),_0x36687a&&_0x36687a[_0x56fa('0xf')](({id:_0x1341e7,type:_0x53199b,author:_0x4e3290,created_at:_0x1cee5c})=>{const _0x1c9c06={'id':_0x1341e7,'type':_0x53199b,'authorId':this['editor'][_0x56fa('0x10')][_0x56fa('0xd')](_0x56fa('0x7'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x4e3290,'createdAt':_0x1cee5c?new Date(_0x1cee5c):new Date(),'source':_0x56fa('0xb')}}};this[_0x56fa('0x15')][_0x56fa('0x10')]['get'](_0x56fa('0x4'))[_0x56fa('0xe')](_0x1c9c06);});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/indent
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for {@link module:indent/indent~Indent indent/outdent feature}.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdf83=['indent','*Outdent:*\x20%0','format','editor','has','get','change','_descriptionFactory','markBlockFormat','commandName','from','locale','selection','getSelectedBlocks','outdent','TrackChangesEditing','checkAttribute','indentBlock','plugins','blockIndent','model','filter','*Indent:*\x20%0','IndentEditing','outdentBlock','afterInit','enableCommand'];(function(_0x5d96c4,_0xdf83c){const _0x361b9c=function(_0x4afd48){while(--_0x4afd48){_0x5d96c4['push'](_0x5d96c4['shift']());}};_0x361b9c(++_0xdf83c);}(_0xdf83,0x1ed));const _0x361b=function(_0x5d96c4,_0xdf83c){_0x5d96c4=_0x5d96c4-0x0;let _0x361b9c=_0xdf83[_0x5d96c4];return _0x361b9c;};import{Plugin as _0x29bf44}from'ckeditor5/src/core';import{getTranslation as _0x239df1}from'../utils/common-translations';export default class tt extends _0x29bf44{[_0x361b('0x12')](){const _0x2e2c5d=this[_0x361b('0x17')],_0x3e9ac0=_0x2e2c5d[_0x361b('0xb')][_0x361b('0x19')](_0x361b('0x8'));_0x2e2c5d[_0x361b('0xb')][_0x361b('0x18')](_0x361b('0x10'))&&(_0x3e9ac0[_0x361b('0x13')](_0x361b('0x14')),_0x3e9ac0[_0x361b('0x13')](_0x361b('0x7')));const _0x552bff=_0x2e2c5d[_0x361b('0x4')];if(_0x2e2c5d[_0x361b('0xb')][_0x361b('0x18')]('IndentBlock')){for(const _0x43a304 of['indentBlock','outdentBlock'])_0x3e9ac0[_0x361b('0x13')](_0x43a304,()=>{const _0x4ce3cf=Array[_0x361b('0x3')](this[_0x361b('0x17')][_0x361b('0xd')]['document'][_0x361b('0x5')][_0x361b('0x6')]())[_0x361b('0xe')](_0x43a537=>this['editor'][_0x361b('0xd')]['schema'][_0x361b('0x9')](_0x43a537,_0x361b('0xc')));_0x2e2c5d[_0x361b('0xd')][_0x361b('0x1a')](()=>{for(const _0x8413b7 of _0x4ce3cf)_0x3e9ac0[_0x361b('0x1')](_0x8413b7,{'commandName':_0x43a304,'commandParams':[{'value':''}],'formatGroupId':_0x361b('0xa')});});});_0x3e9ac0[_0x361b('0x0')]['registerDescriptionCallback'](_0x3ca3b7=>{const {data:_0x203a6d}=_0x3ca3b7;if(!_0x203a6d)return;if('indentBlock'!=_0x203a6d[_0x361b('0x2')]&&_0x361b('0x11')!=_0x203a6d[_0x361b('0x2')])return;const _0xc0eb28=_0x3ca3b7['getItems']()[0x0],_0x1ca2c5=_0x3e9ac0['_descriptionFactory']['getItemLabel'](_0xc0eb28);return _0x361b('0xa')==_0x203a6d[_0x361b('0x2')]?{'type':_0x361b('0x16'),'content':_0x239df1(_0x552bff,_0x361b('0xf'),_0x1ca2c5)}:'outdentBlock'==_0x203a6d['commandName']?{'type':_0x361b('0x16'),'content':_0x239df1(_0x552bff,_0x361b('0x15'),_0x1ca2c5)}:void 0x0;});}}}
23
+ const _0x2237=['blockIndent','TrackChangesEditing','format','plugins','IndentEditing','*Outdent:*\x20%0','checkAttribute','getSelectedBlocks','editor','get','model','commandName','_descriptionFactory','filter','enableCommand','selection','indentBlock','*Indent:*\x20%0','IndentBlock','markBlockFormat','outdentBlock','has','from'];(function(_0xfd633,_0x223704){const _0x29f048=function(_0x30ffa0){while(--_0x30ffa0){_0xfd633['push'](_0xfd633['shift']());}};_0x29f048(++_0x223704);}(_0x2237,0x68));const _0x29f0=function(_0xfd633,_0x223704){_0xfd633=_0xfd633-0x0;let _0x29f048=_0x2237[_0xfd633];return _0x29f048;};import{Plugin as _0x354676}from'ckeditor5/src/core.js';import{getTranslation as _0x59bc1f}from'../utils/common-translations.js';export default class tt extends _0x354676{['afterInit'](){const _0x38fa99=this['editor'],_0xc5f02c=_0x38fa99['plugins'][_0x29f0('0x14')](_0x29f0('0xc'));_0x38fa99[_0x29f0('0xe')][_0x29f0('0x9')](_0x29f0('0xf'))&&(_0xc5f02c['enableCommand']('indent'),_0xc5f02c[_0x29f0('0x2')]('outdent'));const _0xed7c6=_0x38fa99['locale'];if(_0x38fa99[_0x29f0('0xe')][_0x29f0('0x9')](_0x29f0('0x6'))){for(const _0x215305 of[_0x29f0('0x4'),_0x29f0('0x8')])_0xc5f02c[_0x29f0('0x2')](_0x215305,()=>{const _0x2d3851=Array[_0x29f0('0xa')](this[_0x29f0('0x13')][_0x29f0('0x15')]['document'][_0x29f0('0x3')][_0x29f0('0x12')]())[_0x29f0('0x1')](_0x3bcb32=>this[_0x29f0('0x13')][_0x29f0('0x15')]['schema'][_0x29f0('0x11')](_0x3bcb32,_0x29f0('0xb')));_0x38fa99[_0x29f0('0x15')]['change'](()=>{for(const _0x1648c9 of _0x2d3851)_0xc5f02c[_0x29f0('0x7')](_0x1648c9,{'commandName':_0x215305,'commandParams':[{'value':''}],'formatGroupId':_0x29f0('0x4')});});});_0xc5f02c[_0x29f0('0x0')]['registerDescriptionCallback'](_0x2c431e=>{const {data:_0x2a801d}=_0x2c431e;if(!_0x2a801d)return;if(_0x29f0('0x4')!=_0x2a801d['commandName']&&_0x29f0('0x8')!=_0x2a801d[_0x29f0('0x16')])return;const _0x37d609=_0x2c431e['getItems']()[0x0],_0x31eb38=_0xc5f02c[_0x29f0('0x0')]['getItemLabel'](_0x37d609);return _0x29f0('0x4')==_0x2a801d[_0x29f0('0x16')]?{'type':_0x29f0('0xd'),'content':_0x59bc1f(_0xed7c6,_0x29f0('0x5'),_0x31eb38)}:_0x29f0('0x8')==_0x2a801d[_0x29f0('0x16')]?{'type':'format','content':_0x59bc1f(_0xed7c6,_0x29f0('0x10'),_0x31eb38)}:void 0x0;});}}}
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @module track-changes/integrations/inputcommand/inputcommand
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import { Input } from 'ckeditor5/src/typing';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
+ import { Input } from 'ckeditor5/src/typing.js';
6
6
  /**
7
7
  * Provides track changes plugin integration for {@link module:typing/inputcommand~InputCommand input command}.
8
8
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c35=['get','init','input','TrackChangesEditing','editor','enableCommand','requires'];(function(_0x543768,_0x2c3595){var _0x7c29a4=function(_0xac8996){while(--_0xac8996){_0x543768['push'](_0x543768['shift']());}};_0x7c29a4(++_0x2c3595);}(_0x2c35,0x7a));var _0x7c29=function(_0x543768,_0x2c3595){_0x543768=_0x543768-0x0;var _0x7c29a4=_0x2c35[_0x543768];return _0x7c29a4;};import{Plugin as _0x107b9e}from'ckeditor5/src/core';import{Input as _0x4309f7}from'ckeditor5/src/typing';export default class it extends _0x107b9e{static get[_0x7c29('0x3')](){return[_0x4309f7];}[_0x7c29('0x5')](){this[_0x7c29('0x1')]['plugins'][_0x7c29('0x4')](_0x7c29('0x0'))[_0x7c29('0x2')](_0x7c29('0x6'));}}
23
+ var _0xeefc=['editor','init','requires','input','TrackChangesEditing','get','enableCommand','plugins'];(function(_0x2da0b3,_0xeefcc3){var _0xeca6e=function(_0x534a2e){while(--_0x534a2e){_0x2da0b3['push'](_0x2da0b3['shift']());}};_0xeca6e(++_0xeefcc3);}(_0xeefc,0x123));var _0xeca6=function(_0x2da0b3,_0xeefcc3){_0x2da0b3=_0x2da0b3-0x0;var _0xeca6e=_0xeefc[_0x2da0b3];return _0xeca6e;};import{Plugin as _0x239dd5}from'ckeditor5/src/core.js';import{Input as _0xecd07b}from'ckeditor5/src/typing.js';export default class st extends _0x239dd5{static get[_0xeca6('0x7')](){return[_0xecd07b];}[_0xeca6('0x6')](){this[_0xeca6('0x5')][_0xeca6('0x4')][_0xeca6('0x2')](_0xeca6('0x1'))[_0xeca6('0x3')](_0xeca6('0x0'));}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/link
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for link feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x511a=['TrackChangesEditing','link','has','from','LinkEditing','format','getFirstPosition','getAttribute','model','locale','commandName','hasAttribute','selection','linkHref','document','getRanges','isCollapsed','plugins','getFirstRange','unlink','*Remove\x20link*','change','registerDescriptionCallback','get','enableCommand','commandParams'];(function(_0x330529,_0x511a84){const _0x39e50e=function(_0x14f9bc){while(--_0x14f9bc){_0x330529['push'](_0x330529['shift']());}};_0x39e50e(++_0x511a84);}(_0x511a,0x13a));const _0x39e5=function(_0x330529,_0x511a84){_0x330529=_0x330529-0x0;let _0x39e50e=_0x511a[_0x330529];return _0x39e50e;};import{Plugin as _0x43aefa}from'ckeditor5/src/core';import{findAttributeRange as _0xf24318}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1e07d6}from'./utils';import{getTranslation as _0x51948e}from'../utils/common-translations';export default class et extends _0x43aefa{['afterInit'](){const _0x438524=this['editor'];if(!_0x438524[_0x39e5('0xf')][_0x39e5('0x0')](_0x39e5('0x2')))return;const _0xab57e4=_0x438524[_0x39e5('0xf')][_0x39e5('0x15')](_0x39e5('0x18'));_0xab57e4[_0x39e5('0x16')](_0x39e5('0x19'),(_0x54a45b,_0x3fa7d3)=>{const _0x42f106=_0x438524[_0x39e5('0x6')]['document'][_0x39e5('0xa')];let _0x59ca94=[];if(_0x42f106[_0x39e5('0xe')]){if(!_0x42f106[_0x39e5('0x9')](_0x39e5('0xb')))return void _0x54a45b(_0x3fa7d3);{const _0x1fe819=_0xf24318(_0x42f106[_0x39e5('0x4')](),_0x39e5('0xb'),_0x42f106[_0x39e5('0x5')]('linkHref'),_0x438524[_0x39e5('0x6')]);_0x59ca94=[_0x1fe819];}}else _0x59ca94=Array[_0x39e5('0x1')](_0x42f106[_0x39e5('0xd')]());_0x438524[_0x39e5('0x6')][_0x39e5('0x13')](()=>{for(const _0x428de0 of _0x59ca94)_0xab57e4['markInlineFormat'](_0x428de0,{'commandName':'link','commandParams':[_0x3fa7d3]});});}),_0xab57e4[_0x39e5('0x16')](_0x39e5('0x11'),()=>{const _0x5b712b=this['editor'][_0x39e5('0x6')],_0x458844=_0x5b712b[_0x39e5('0xc')]['selection'];_0x5b712b['change'](()=>{let _0xb9aabb=[];if(_0x458844[_0x39e5('0xe')])_0xb9aabb=[_0xf24318(_0x458844[_0x39e5('0x4')](),_0x39e5('0xb'),_0x458844[_0x39e5('0x5')](_0x39e5('0xb')),_0x438524[_0x39e5('0x6')])];else _0xb9aabb=_0x1e07d6(_0x39e5('0xb'),_0x458844[_0x39e5('0x10')](),_0x438524[_0x39e5('0x6')]);for(const _0x5331c0 of _0xb9aabb)_0xab57e4['markInlineFormat'](_0x5331c0,{'commandName':_0x39e5('0x11'),'commandParams':[]});});}),_0xab57e4['_descriptionFactory'][_0x39e5('0x14')](_0x3c6de6=>{const {data:_0xa1f8f0}=_0x3c6de6,_0x21771b=_0x438524[_0x39e5('0x7')];if(_0xa1f8f0){if(_0x39e5('0x19')==_0xa1f8f0['commandName']){const _0x1712ab=_0xa1f8f0[_0x39e5('0x17')][0x0];return{'type':_0x39e5('0x3'),'content':_0x51948e(_0x21771b,'*Set\x20link:*\x20%0','\x22'+_0x1712ab+'\x22')};}return _0x39e5('0x11')==_0xa1f8f0[_0x39e5('0x8')]?{'type':'format','content':_0x51948e(_0x21771b,_0x39e5('0x12'))}:void 0x0;}});}}
23
+ const _0x1994=['has','TrackChangesEditing','commandName','link','format','unlink','_descriptionFactory','getFirstRange','getRanges','document','*Remove\x20link*','getAttribute','LinkEditing','hasAttribute','change','isCollapsed','selection','from','markInlineFormat','plugins','getFirstPosition','model','linkHref','editor','*Set\x20link:*\x20%0'];(function(_0x5ac42d,_0x199487){const _0x3d0789=function(_0x3bac08){while(--_0x3bac08){_0x5ac42d['push'](_0x5ac42d['shift']());}};_0x3d0789(++_0x199487);}(_0x1994,0x1e1));const _0x3d07=function(_0x5ac42d,_0x199487){_0x5ac42d=_0x5ac42d-0x0;let _0x3d0789=_0x1994[_0x5ac42d];return _0x3d0789;};import{Plugin as _0x217659}from'ckeditor5/src/core.js';import{findAttributeRange as _0x214a51}from'ckeditor5/src/typing.js';import{getRangesWithAttribute as _0x96171d}from'./utils.js';import{getTranslation as _0x5d8237}from'../utils/common-translations.js';export default class it extends _0x217659{['afterInit'](){const _0x1c21be=this['editor'];if(!_0x1c21be['plugins'][_0x3d07('0x13')](_0x3d07('0x6')))return;const _0x214ff5=_0x1c21be[_0x3d07('0xd')]['get'](_0x3d07('0x14'));_0x214ff5['enableCommand'](_0x3d07('0x16'),(_0x5369ec,_0x33fe83)=>{const _0x323a5b=_0x1c21be[_0x3d07('0xf')][_0x3d07('0x3')]['selection'];let _0x579423=[];if(_0x323a5b[_0x3d07('0x9')]){if(!_0x323a5b[_0x3d07('0x7')](_0x3d07('0x10')))return void _0x5369ec(_0x33fe83);{const _0x1aabe6=_0x214a51(_0x323a5b['getFirstPosition'](),_0x3d07('0x10'),_0x323a5b['getAttribute']('linkHref'),_0x1c21be[_0x3d07('0xf')]);_0x579423=[_0x1aabe6];}}else _0x579423=Array[_0x3d07('0xb')](_0x323a5b[_0x3d07('0x2')]());_0x1c21be[_0x3d07('0xf')][_0x3d07('0x8')](()=>{for(const _0x25fa4f of _0x579423)_0x214ff5[_0x3d07('0xc')](_0x25fa4f,{'commandName':_0x3d07('0x16'),'commandParams':[_0x33fe83]});});}),_0x214ff5['enableCommand']('unlink',()=>{const _0x2a56c6=this[_0x3d07('0x11')]['model'],_0x595e83=_0x2a56c6[_0x3d07('0x3')][_0x3d07('0xa')];_0x2a56c6[_0x3d07('0x8')](()=>{let _0x458f6b=[];if(_0x595e83[_0x3d07('0x9')])_0x458f6b=[_0x214a51(_0x595e83[_0x3d07('0xe')](),'linkHref',_0x595e83[_0x3d07('0x5')](_0x3d07('0x10')),_0x1c21be['model'])];else _0x458f6b=_0x96171d(_0x3d07('0x10'),_0x595e83[_0x3d07('0x1')](),_0x1c21be['model']);for(const _0x44a9fd of _0x458f6b)_0x214ff5[_0x3d07('0xc')](_0x44a9fd,{'commandName':_0x3d07('0x18'),'commandParams':[]});});}),_0x214ff5[_0x3d07('0x0')]['registerDescriptionCallback'](_0x3ad8f6=>{const {data:_0x250c5b}=_0x3ad8f6,_0x574a9f=_0x1c21be['locale'];if(_0x250c5b){if(_0x3d07('0x16')==_0x250c5b[_0x3d07('0x15')]){const _0x192301=_0x250c5b['commandParams'][0x0];return{'type':'format','content':_0x5d8237(_0x574a9f,_0x3d07('0x12'),'\x22'+_0x192301+'\x22')};}return'unlink'==_0x250c5b[_0x3d07('0x15')]?{'type':_0x3d07('0x17'),'content':_0x5d8237(_0x574a9f,_0x3d07('0x4'))}:void 0x0;}});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/list
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for list feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cb5=['markBlockFormat','commands','bulletedList','_selectedElements','execute','has','element','numberedList','change','indentList','slice','*Check\x20item*','findIndex','isObject','model','commandParams','plugins','end','forceValue','selection','push','listIndent','document','createPositionAt','todo','schema','checkTodoList','locale','bulleted','ELEMENT_LIST_ITEM','todoList','format','numbered','createRange','before','editor','previousSibling','listItem','nextSibling','paragraph','value','getSelectedBlocks','add','from','TodoListEditing','commandName','ELEMENT_NUMBERED_LIST','filter','checkChild','getAttribute','blockName','outdentList','enableCommand','name','*Outdent:*\x20%0','_descriptionFactory','get','listType','ELEMENT_TODO_LIST'];(function(_0x3d8f9c,_0x2cb566){const _0x56bc9e=function(_0x49b0b3){while(--_0x49b0b3){_0x3d8f9c['push'](_0x3d8f9c['shift']());}};_0x56bc9e(++_0x2cb566);}(_0x2cb5,0x166));const _0x56bc=function(_0x3d8f9c,_0x2cb566){_0x3d8f9c=_0x3d8f9c-0x0;let _0x56bc9e=_0x2cb5[_0x3d8f9c];return _0x56bc9e;};import{Plugin as _0xbdef79}from'ckeditor5/src/core';import{getTranslation as _0x1e9dba}from'../utils/common-translations';export default class st extends _0xbdef79{['afterInit'](){const _0x596348=this[_0x56bc('0x1f')],_0x57c1b3=_0x596348[_0x56bc('0x17')];if(!_0x596348[_0x56bc('0xc')][_0x56bc('0x1')]('ListEditing'))return;const _0x365562=_0x596348[_0x56bc('0xc')][_0x56bc('0x34')]('TrackChangesEditing'),_0x3c0403=_0x596348[_0x56bc('0xc')]['has'](_0x56bc('0x28'));function _0x130204(_0x11ab6a){return()=>{const _0x3c3f50=_0x596348[_0x56bc('0xa')][_0x56bc('0x12')][_0x56bc('0xf')],_0x83e0cd=_0x596348[_0x56bc('0x38')][_0x56bc('0x34')](_0x11ab6a);if(_0x83e0cd['value'])return void _0x596348[_0x56bc('0x0')](_0x56bc('0x23'),{});const _0x34ba85=_0x11ab6a[_0x56bc('0x6')](0x0,-0x4),_0x5dfe5e=function(_0xffabdb,_0x29adc1,_0x134569){let _0x1859a7=Array[_0x56bc('0x27')](_0xffabdb)['filter'](_0x53e855=>function(_0xbbbab0,_0x14b297){return _0x14b297[_0x56bc('0x2c')](_0xbbbab0['parent'],_0x56bc('0x21'))&&!_0x14b297[_0x56bc('0x9')](_0xbbbab0);}(_0x53e855,_0x134569));_0x1859a7=_0x1859a7['filter'](_0x3d3767=>!_0x3d3767['is']('element',_0x56bc('0x21'))||_0x3d3767[_0x56bc('0x2d')](_0x56bc('0x35'))!=_0x29adc1);const _0x122288=new Set();for(const _0x4ed789 of _0x1859a7)_0x4ed789['is'](_0x56bc('0x2'),_0x56bc('0x21'))?_0x122288[_0x56bc('0x26')](ne(_0x4ed789)):_0x122288[_0x56bc('0x26')](_0x4ed789);return Array[_0x56bc('0x27')](_0x122288);}(_0x3c3f50[_0x56bc('0x25')](),_0x34ba85,_0x596348['model'][_0x56bc('0x15')]);_0x596348['model']['change'](()=>{for(const _0x748dd0 of _0x5dfe5e)_0x365562[_0x56bc('0x37')](_0x748dd0,{'commandName':_0x11ab6a,'commandParams':[{'forceValue':!_0x83e0cd['value']}],'formatGroupId':_0x56bc('0x2e')},oe(_0x748dd0));});};}function _0x36cd18(_0x4931c9){return()=>{const _0x1abb22=function(_0x4ff070){let _0x49f963=Array[_0x56bc('0x27')](_0x4ff070);const _0x3fbf0f=_0x49f963[_0x56bc('0x8')](_0x51c18b=>_0x56bc('0x21')!=_0x51c18b[_0x56bc('0x31')]);return _0x3fbf0f>-0x1&&(_0x49f963=_0x49f963[_0x56bc('0x6')](0x0,_0x3fbf0f)),_0x49f963;}(_0x596348[_0x56bc('0xa')]['document'][_0x56bc('0xf')][_0x56bc('0x25')]()),_0x8b6123=_0x596348[_0x56bc('0xa')][_0x56bc('0x1d')](_0x596348[_0x56bc('0xa')][_0x56bc('0x13')](_0x1abb22[0x0],_0x56bc('0x1e')),_0x596348[_0x56bc('0xa')][_0x56bc('0x13')](_0x1abb22[_0x1abb22['length']-0x1],_0x56bc('0xd')));_0x596348[_0x56bc('0xa')][_0x56bc('0x4')](()=>{_0x365562[_0x56bc('0x37')](_0x8b6123,{'commandName':_0x4931c9,'commandParams':[],'formatGroupId':_0x56bc('0x11')},function(_0x1fb784){const _0x32870f=new Set();for(const _0x1534ea of _0x1fb784){let _0x274886=_0x1534ea[_0x56bc('0x22')];for(;_0x274886&&_0x274886[_0x56bc('0x2d')](_0x56bc('0x11'))>_0x1534ea['getAttribute']('listIndent');)_0x32870f[_0x56bc('0x26')](_0x274886),_0x274886=_0x274886[_0x56bc('0x22')];}return Array[_0x56bc('0x27')](_0x32870f);}(_0x1abb22));});};}_0x365562[_0x56bc('0x30')]('numberedList',_0x130204(_0x56bc('0x3'))),_0x365562[_0x56bc('0x30')](_0x56bc('0x39'),_0x130204(_0x56bc('0x39'))),_0x3c0403&&_0x365562[_0x56bc('0x30')](_0x56bc('0x1a'),_0x130204(_0x56bc('0x1a'))),_0x365562[_0x56bc('0x30')](_0x56bc('0x5'),_0x36cd18(_0x56bc('0x5'))),_0x365562[_0x56bc('0x30')](_0x56bc('0x2f'),_0x36cd18(_0x56bc('0x2f'))),_0x3c0403&&_0x365562[_0x56bc('0x30')](_0x56bc('0x16'),()=>{const _0x4e93c8=_0x596348['commands'][_0x56bc('0x34')](_0x56bc('0x16')),_0x158614=Array[_0x56bc('0x27')](_0x4e93c8[_0x56bc('0x3a')]);_0x158614[_0x56bc('0x2b')](_0x4581e9=>_0x4581e9[_0x56bc('0x2d')]('todoListChecked')!=_0x4e93c8[_0x56bc('0x24')]),_0x596348[_0x56bc('0xa')][_0x56bc('0x4')](()=>{for(const _0x56722c of _0x158614)_0x365562[_0x56bc('0x37')](_0x56722c,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x4e93c8[_0x56bc('0x24')]}]});});}),_0x365562[_0x56bc('0x33')]['registerElementLabel']('listItem',_0x35d761=>_0x1e9dba(_0x57c1b3,'ELEMENT_LIST_ITEM',_0x35d761)),_0x365562[_0x56bc('0x33')]['registerDescriptionCallback'](_0x5514ff=>{const {data:_0x316815}=_0x5514ff;if(_0x316815){if(_0x56bc('0x3')==_0x316815[_0x56bc('0x29')]||_0x56bc('0x39')==_0x316815[_0x56bc('0x29')]||_0x56bc('0x1a')==_0x316815[_0x56bc('0x29')])switch(_0x316815[_0x56bc('0x29')]['replace']('List','')){case _0x56bc('0x18'):return _0x2fc771(_0x1e9dba(_0x57c1b3,'ELEMENT_BULLETED_LIST'));case _0x56bc('0x1c'):return _0x2fc771(_0x1e9dba(_0x57c1b3,_0x56bc('0x2a')));case _0x56bc('0x14'):return _0x2fc771(_0x1e9dba(_0x57c1b3,_0x56bc('0x36')));}if('indentList'==_0x316815['commandName'])return{'type':_0x56bc('0x1b'),'content':_0x1e9dba(_0x57c1b3,'*Indent:*\x20%0',_0x1e9dba(_0x57c1b3,_0x56bc('0x19')))};if('outdentList'==_0x316815['commandName'])return{'type':_0x56bc('0x1b'),'content':_0x1e9dba(_0x57c1b3,_0x56bc('0x32'),_0x1e9dba(_0x57c1b3,_0x56bc('0x19')))};if('checkTodoList'==_0x316815[_0x56bc('0x29')])return _0x316815[_0x56bc('0xb')][0x0][_0x56bc('0xe')]?{'type':_0x56bc('0x1b'),'content':_0x1e9dba(_0x57c1b3,_0x56bc('0x7'))}:{'type':'format','content':_0x1e9dba(_0x57c1b3,'*Uncheck\x20item*')};}function _0x2fc771(_0x284c43){return{'type':'format','content':_0x1e9dba(_0x57c1b3,'*Change\x20to:*\x20%0',_0x284c43)};}});}}function ne(_0x340edf){const _0xfee45a=_0x340edf[_0x56bc('0x2d')](_0x56bc('0x11'));if(0x0==_0xfee45a)return _0x340edf;let _0x4abd80=_0x340edf;for(;_0x340edf[_0x56bc('0x20')]&&_0x340edf['previousSibling']['is'](_0x56bc('0x2'),_0x56bc('0x21'));){const _0x440bf5=_0x340edf[_0x56bc('0x20')][_0x56bc('0x2d')]('listIndent');if(_0x440bf5==_0xfee45a)_0x4abd80=_0x340edf[_0x56bc('0x20')];else{if(_0x440bf5<_0xfee45a)break;}_0x340edf=_0x340edf[_0x56bc('0x20')];}return _0x4abd80;}function oe(_0x3a1978){const _0x215d71=[];if(_0x3a1978['is'](_0x56bc('0x2'),_0x56bc('0x21'))&&_0x3a1978[_0x56bc('0x2d')](_0x56bc('0x11'))>0x0){let _0x544169=_0x3a1978[_0x56bc('0x22')];for(;_0x544169&&'listItem'==_0x544169[_0x56bc('0x31')]&&_0x544169[_0x56bc('0x2d')](_0x56bc('0x11'))==_0x3a1978[_0x56bc('0x2d')](_0x56bc('0x11'));)_0x215d71[_0x56bc('0x10')](_0x544169),_0x544169=_0x544169[_0x56bc('0x22')];}return _0x215d71;}
23
+ const _0x4cf0=['plugins','execute','outdentList','model','value','previousSibling','*Change\x20to:*\x20%0','enableCommand','locale','selection','checkTodoList','_selectedElements','listType','*Indent:*\x20%0','end','*Check\x20item*','TrackChangesEditing','document','ELEMENT_TODO_LIST','element','before','listIndent','change','_descriptionFactory','todoListChecked','registerDescriptionCallback','push','schema','filter','ELEMENT_BULLETED_LIST','markBlockFormat','slice','format','numberedList','name','isObject','getAttribute','registerElementLabel','forceValue','length','ELEMENT_LIST_ITEM','*Uncheck\x20item*','commandParams','has','listItem','add','from','commandName','afterInit','todoList','TodoListEditing','replace','ListEditing','getSelectedBlocks','nextSibling','numbered','get','ELEMENT_NUMBERED_LIST','bulletedList','commands','List'];(function(_0x395c7d,_0x4cf0bf){const _0x367fd0=function(_0x1b1602){while(--_0x1b1602){_0x395c7d['push'](_0x395c7d['shift']());}};_0x367fd0(++_0x4cf0bf);}(_0x4cf0,0x155));const _0x367f=function(_0x395c7d,_0x4cf0bf){_0x395c7d=_0x395c7d-0x0;let _0x367fd0=_0x4cf0[_0x395c7d];return _0x367fd0;};import{Plugin as _0xcf1971}from'ckeditor5/src/core.js';import{getTranslation as _0x2a5c5f}from'../utils/common-translations.js';export default class et extends _0xcf1971{[_0x367f('0xc')](){const _0x4a1125=this['editor'],_0x14647e=_0x4a1125[_0x367f('0x21')];if(!_0x4a1125['plugins'][_0x367f('0x7')](_0x367f('0x10')))return;const _0x89e232=_0x4a1125[_0x367f('0x19')][_0x367f('0x14')](_0x367f('0x29')),_0x25fc0b=_0x4a1125[_0x367f('0x19')][_0x367f('0x7')](_0x367f('0xe'));function _0x1fcd97(_0xbef27d){return()=>{const _0x104c64=_0x4a1125['model'][_0x367f('0x2a')]['selection'],_0x23837f=_0x4a1125[_0x367f('0x17')]['get'](_0xbef27d);if(_0x23837f['value'])return void _0x4a1125[_0x367f('0x1a')]('paragraph',{});const _0x257bc0=_0xbef27d['slice'](0x0,-0x4),_0x2cfb67=function(_0x3bf255,_0x3f7ca5,_0x399f14){let _0x3543fb=Array[_0x367f('0xa')](_0x3bf255)['filter'](_0x5e2d79=>function(_0x35ccc4,_0x23a222){return _0x23a222['checkChild'](_0x35ccc4['parent'],_0x367f('0x8'))&&!_0x23a222[_0x367f('0x3c')](_0x35ccc4);}(_0x5e2d79,_0x399f14));_0x3543fb=_0x3543fb['filter'](_0xa46054=>!_0xa46054['is'](_0x367f('0x2c'),_0x367f('0x8'))||_0xa46054[_0x367f('0x0')](_0x367f('0x25'))!=_0x3f7ca5);const _0x4dfb20=new Set();for(const _0x2c904d of _0x3543fb)_0x2c904d['is'](_0x367f('0x2c'),'listItem')?_0x4dfb20[_0x367f('0x9')](ne(_0x2c904d)):_0x4dfb20[_0x367f('0x9')](_0x2c904d);return Array[_0x367f('0xa')](_0x4dfb20);}(_0x104c64[_0x367f('0x11')](),_0x257bc0,_0x4a1125[_0x367f('0x1c')][_0x367f('0x34')]);_0x4a1125[_0x367f('0x1c')]['change'](()=>{for(const _0x55a970 of _0x2cfb67)_0x89e232['markBlockFormat'](_0x55a970,{'commandName':_0xbef27d,'commandParams':[{'forceValue':!_0x23837f['value']}],'formatGroupId':'blockName'},oe(_0x55a970));});};}function _0x150dcf(_0x23fbe1){return()=>{const _0x56edbb=function(_0x55bb6c){let _0xb6fba1=Array[_0x367f('0xa')](_0x55bb6c);const _0x5ebc1f=_0xb6fba1['findIndex'](_0x51cd61=>_0x367f('0x8')!=_0x51cd61[_0x367f('0x3b')]);return _0x5ebc1f>-0x1&&(_0xb6fba1=_0xb6fba1[_0x367f('0x38')](0x0,_0x5ebc1f)),_0xb6fba1;}(_0x4a1125[_0x367f('0x1c')][_0x367f('0x2a')][_0x367f('0x22')][_0x367f('0x11')]()),_0x6a9948=_0x4a1125[_0x367f('0x1c')]['createRange'](_0x4a1125[_0x367f('0x1c')]['createPositionAt'](_0x56edbb[0x0],_0x367f('0x2d')),_0x4a1125[_0x367f('0x1c')]['createPositionAt'](_0x56edbb[_0x56edbb[_0x367f('0x3')]-0x1],_0x367f('0x27')));_0x4a1125['model'][_0x367f('0x2f')](()=>{_0x89e232[_0x367f('0x37')](_0x6a9948,{'commandName':_0x23fbe1,'commandParams':[],'formatGroupId':'listIndent'},function(_0x41bb61){const _0x21d7f5=new Set();for(const _0x40a9ba of _0x41bb61){let _0x446a35=_0x40a9ba['nextSibling'];for(;_0x446a35&&_0x446a35[_0x367f('0x0')](_0x367f('0x2e'))>_0x40a9ba[_0x367f('0x0')]('listIndent');)_0x21d7f5[_0x367f('0x9')](_0x446a35),_0x446a35=_0x446a35[_0x367f('0x12')];}return Array[_0x367f('0xa')](_0x21d7f5);}(_0x56edbb));});};}_0x89e232[_0x367f('0x20')](_0x367f('0x3a'),_0x1fcd97(_0x367f('0x3a'))),_0x89e232[_0x367f('0x20')](_0x367f('0x16'),_0x1fcd97(_0x367f('0x16'))),_0x25fc0b&&_0x89e232[_0x367f('0x20')](_0x367f('0xd'),_0x1fcd97(_0x367f('0xd'))),_0x89e232[_0x367f('0x20')]('indentList',_0x150dcf('indentList')),_0x89e232[_0x367f('0x20')]('outdentList',_0x150dcf('outdentList')),_0x25fc0b&&_0x89e232[_0x367f('0x20')](_0x367f('0x23'),()=>{const _0x5e6f68=_0x4a1125[_0x367f('0x17')][_0x367f('0x14')](_0x367f('0x23')),_0x58ba7d=Array[_0x367f('0xa')](_0x5e6f68[_0x367f('0x24')]);_0x58ba7d[_0x367f('0x35')](_0x1d9b90=>_0x1d9b90[_0x367f('0x0')](_0x367f('0x31'))!=_0x5e6f68[_0x367f('0x1d')]),_0x4a1125[_0x367f('0x1c')]['change'](()=>{for(const _0x56ce80 of _0x58ba7d)_0x89e232[_0x367f('0x37')](_0x56ce80,{'commandName':_0x367f('0x23'),'commandParams':[{'forceValue':!_0x5e6f68[_0x367f('0x1d')]}]});});}),_0x89e232[_0x367f('0x30')][_0x367f('0x1')](_0x367f('0x8'),_0x518d95=>_0x2a5c5f(_0x14647e,_0x367f('0x4'),_0x518d95)),_0x89e232[_0x367f('0x30')][_0x367f('0x32')](_0x274e2f=>{const {data:_0x3ce5af}=_0x274e2f;if(_0x3ce5af){if('numberedList'==_0x3ce5af[_0x367f('0xb')]||_0x367f('0x16')==_0x3ce5af['commandName']||_0x367f('0xd')==_0x3ce5af[_0x367f('0xb')])switch(_0x3ce5af['commandName'][_0x367f('0xf')](_0x367f('0x18'),'')){case'bulleted':return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x36')));case _0x367f('0x13'):return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x15')));case'todo':return _0x4c112e(_0x2a5c5f(_0x14647e,_0x367f('0x2b')));}if('indentList'==_0x3ce5af[_0x367f('0xb')])return{'type':'format','content':_0x2a5c5f(_0x14647e,_0x367f('0x26'),_0x2a5c5f(_0x14647e,_0x367f('0x4')))};if(_0x367f('0x1b')==_0x3ce5af[_0x367f('0xb')])return{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,'*Outdent:*\x20%0',_0x2a5c5f(_0x14647e,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x3ce5af[_0x367f('0xb')])return _0x3ce5af[_0x367f('0x6')][0x0][_0x367f('0x2')]?{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x28'))}:{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x5'))};}function _0x4c112e(_0x235c8b){return{'type':_0x367f('0x39'),'content':_0x2a5c5f(_0x14647e,_0x367f('0x1f'),_0x235c8b)};}});}}function ne(_0x381360){const _0x2e03f3=_0x381360['getAttribute'](_0x367f('0x2e'));if(0x0==_0x2e03f3)return _0x381360;let _0x521006=_0x381360;for(;_0x381360[_0x367f('0x1e')]&&_0x381360[_0x367f('0x1e')]['is'](_0x367f('0x2c'),_0x367f('0x8'));){const _0x37a4d0=_0x381360[_0x367f('0x1e')]['getAttribute']('listIndent');if(_0x37a4d0==_0x2e03f3)_0x521006=_0x381360[_0x367f('0x1e')];else{if(_0x37a4d0<_0x2e03f3)break;}_0x381360=_0x381360[_0x367f('0x1e')];}return _0x521006;}function oe(_0x42923a){const _0x21a3ed=[];if(_0x42923a['is'](_0x367f('0x2c'),_0x367f('0x8'))&&_0x42923a[_0x367f('0x0')]('listIndent')>0x0){let _0x514242=_0x42923a['nextSibling'];for(;_0x514242&&_0x367f('0x8')==_0x514242[_0x367f('0x3b')]&&_0x514242[_0x367f('0x0')]('listIndent')==_0x42923a['getAttribute'](_0x367f('0x2e'));)_0x21a3ed[_0x367f('0x33')](_0x514242),_0x514242=_0x514242[_0x367f('0x12')];}return _0x21a3ed;}
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @module track-changes/integrations/listproperties
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
5
- import type { Description } from '../suggestiondescriptionfactory';
6
- import type Suggestion from '../suggestion';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
+ import type { Description } from '../suggestiondescriptionfactory.js';
6
+ import type Suggestion from '../suggestion.js';
7
7
  /**
8
8
  * Provides track changes plugin integration for list properties feature.
9
9
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x85f4=['numbered','_LIST_','_getSuggestionBlocks','replace','get','_getSuggestionBlocksForListStyle','commandParams','plugins','_descriptionFactory','listType','bind','getLastPosition','listStart','afterInit','createPositionAt','editor','reversed','handleListReversedCommand','listItem','before','*Format:*\x20set\x20start\x20index\x20to\x20%0','type','parent','config','getFirstPosition','handleListStyleCommand','ListUtils','_getTranslationKeyForListStyle','listReversed','ListPropertiesEditing','forward','selection','styles','change','markMultiRangeBlockFormat','format','handleListStartCommand','model','unshift','getAttribute','document','getSelectedBlocks','createRange','*Change\x20to:*\x20%0','has','listStyle','toUpperCase','list.properties','startIndex','element','enableCommand','TrackChangesEditing','length','flat','backward','getSiblingNodes','ELEMENT_','filter','map'];(function(_0x1cba27,_0x85f45d){const _0x289be1=function(_0x3c2eec){while(--_0x3c2eec){_0x1cba27['push'](_0x1cba27['shift']());}};_0x289be1(++_0x85f45d);}(_0x85f4,0xdc));const _0x289b=function(_0x1cba27,_0x85f45d){_0x1cba27=_0x1cba27-0x0;let _0x289be1=_0x85f4[_0x1cba27];return _0x289be1;};import{Plugin as _0x2d0a31}from'ckeditor5/src/core';import{getTranslation as _0x112d80}from'../utils/common-translations';export default class nt extends _0x2d0a31{[_0x289b('0x1d')](){if(!this[_0x289b('0x1f')][_0x289b('0x17')][_0x289b('0x1')](_0x289b('0x2d')))return;const _0x321c4f=this['editor'][_0x289b('0x27')]['get'](_0x289b('0x4')),_0x207bf2=this[_0x289b('0x1f')][_0x289b('0x17')][_0x289b('0x14')](_0x289b('0x8'));_0x321c4f[_0x289b('0x30')]&&_0x207bf2[_0x289b('0x7')](_0x289b('0x2'),this[_0x289b('0x29')][_0x289b('0x1a')](this)),_0x321c4f[_0x289b('0x20')]&&_0x207bf2[_0x289b('0x7')]('listReversed',this[_0x289b('0x21')][_0x289b('0x1a')](this)),_0x321c4f[_0x289b('0x5')]&&_0x207bf2['enableCommand'](_0x289b('0x1c'),this[_0x289b('0x34')][_0x289b('0x1a')](this)),_0x207bf2[_0x289b('0x18')]['registerDescriptionCallback'](this['handleDescriptions'][_0x289b('0x1a')](this));}[_0x289b('0x29')](_0x389bff,_0x21090e={}){const _0x110bbc=this[_0x289b('0x1f')][_0x289b('0x17')]['get']('TrackChangesEditing'),_0xb1ab7b=this[_0x289b('0x15')]();this[_0x289b('0x1f')][_0x289b('0x35')][_0x289b('0x31')](()=>{_0x110bbc[_0x289b('0x32')](_0xb1ab7b,{'commandName':_0x289b('0x2'),'commandParams':[{'type':_0x21090e[_0x289b('0x25')]}],'formatGroupId':_0x289b('0x2')});});}[_0x289b('0x21')](_0x148173,_0x345296={}){const _0x5274fa=this['editor'][_0x289b('0x17')]['get'](_0x289b('0x8')),_0x39f61d=this[_0x289b('0x12')](_0x39a2f0=>_0x39a2f0['is'](_0x289b('0x6'),_0x289b('0x22'))&&_0x289b('0x10')===_0x39a2f0[_0x289b('0x37')](_0x289b('0x19')));if(_0x39f61d[_0x289b('0x9')]<0x1)return;const _0x3f43a9=_0x39f61d['map'](_0xbd4f18=>this[_0x289b('0x1f')][_0x289b('0x35')]['createRange'](this[_0x289b('0x1f')][_0x289b('0x35')]['createPositionAt'](_0xbd4f18,_0x289b('0x23')),this[_0x289b('0x1f')][_0x289b('0x35')][_0x289b('0x1e')](_0xbd4f18,0x0)));this[_0x289b('0x1f')][_0x289b('0x35')]['change'](()=>{_0x5274fa[_0x289b('0x32')](_0x3f43a9,{'commandName':'listReversed','commandParams':[{'reversed':_0x345296[_0x289b('0x20')]}],'formatGroupId':_0x289b('0x2c')});});}[_0x289b('0x34')](_0x16ac02,_0x36397f={}){const _0x3f8474=this[_0x289b('0x1f')][_0x289b('0x17')][_0x289b('0x14')](_0x289b('0x8')),_0x12c248=this[_0x289b('0x12')](_0x102414=>_0x102414['is'](_0x289b('0x6'),_0x289b('0x22'))&&'numbered'===_0x102414[_0x289b('0x37')](_0x289b('0x19')));if(_0x12c248['length']<0x1)return;const _0x536b28=_0x12c248['map'](_0x187ce4=>this[_0x289b('0x1f')][_0x289b('0x35')][_0x289b('0x3a')](this[_0x289b('0x1f')][_0x289b('0x35')]['createPositionAt'](_0x187ce4,_0x289b('0x23')),this['editor'][_0x289b('0x35')]['createPositionAt'](_0x187ce4,0x0)));this[_0x289b('0x1f')][_0x289b('0x35')]['change'](()=>{_0x3f8474['markMultiRangeBlockFormat'](_0x536b28,{'commandName':_0x289b('0x1c'),'commandParams':[{'startIndex':_0x36397f[_0x289b('0x5')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x39f1a9){const _0xbf24f2=this['editor']['locale'],{data:_0x2ccc8a}=_0x39f1a9;if(!_0x2ccc8a)return;let _0x56cd6e,_0x3f1791;switch(_0x2ccc8a['commandName']){case _0x289b('0x2'):_0x56cd6e=_0x289b('0x0'),_0x3f1791={'type':_0x289b('0x33'),'content':_0x112d80(_0xbf24f2,_0x56cd6e,_0x112d80(_0xbf24f2,this[_0x289b('0x2b')](_0x2ccc8a[_0x289b('0x16')][0x0][_0x289b('0x25')])))};break;case _0x289b('0x2c'):_0x56cd6e=_0x2ccc8a['commandParams'][0x0][_0x289b('0x20')]?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x3f1791={'type':'format','content':_0x112d80(_0xbf24f2,_0x56cd6e)};break;case _0x289b('0x1c'):_0x56cd6e=_0x289b('0x24'),_0x3f1791={'type':_0x289b('0x33'),'content':_0x112d80(_0xbf24f2,_0x56cd6e,_0x2ccc8a['commandParams'][0x0][_0x289b('0x5')])};}return _0x3f1791;}[_0x289b('0x15')](){var _0x10c21f,_0x1a3f93,_0x50f08b,_0x2b17ee;const _0x2b82b9=this[_0x289b('0x1f')][_0x289b('0x17')]['get'](_0x289b('0x2a'));let _0x4dbdd4=Array['from'](this['editor']['model']['document']['selection'][_0x289b('0x39')]());return(null===(_0x10c21f=_0x4dbdd4[0x0])||void 0x0===_0x10c21f?void 0x0:_0x10c21f['is'](_0x289b('0x6'),'listItem'))&&_0x4dbdd4[_0x289b('0x36')](..._0x2b82b9[_0x289b('0xc')](this[_0x289b('0x1f')][_0x289b('0x35')][_0x289b('0x38')]['selection'][_0x289b('0x28')](),_0x289b('0xb'))),(null===(_0x1a3f93=_0x4dbdd4[_0x4dbdd4[_0x289b('0x9')]-0x1])||void 0x0===_0x1a3f93?void 0x0:_0x1a3f93['is'](_0x289b('0x6'),'listItem'))&&_0x4dbdd4['push'](..._0x2b82b9[_0x289b('0xc')](this['editor']['model'][_0x289b('0x38')][_0x289b('0x2f')][_0x289b('0x1b')](),'forward')),_0x4dbdd4=[...new Set(_0x4dbdd4)],(null===(_0x2b17ee=null===(_0x50f08b=this[_0x289b('0x1f')][_0x289b('0x35')][_0x289b('0x38')][_0x289b('0x2f')][_0x289b('0x28')]())||void 0x0===_0x50f08b?void 0x0:_0x50f08b[_0x289b('0x26')])||void 0x0===_0x2b17ee?void 0x0:_0x2b17ee['is']('element',_0x289b('0x22')))&&(_0x4dbdd4=_0x4dbdd4[_0x289b('0xe')](_0x4ab9bd=>_0x4ab9bd['is'](_0x289b('0x6'),_0x289b('0x22')))),_0x4dbdd4;}[_0x289b('0x12')](_0x38badb){const _0xfa48aa=this[_0x289b('0x1f')]['plugins'][_0x289b('0x14')](_0x289b('0x2a'));let _0x28afd1=Array['from'](this[_0x289b('0x1f')]['model'][_0x289b('0x38')][_0x289b('0x2f')][_0x289b('0x39')]())[_0x289b('0xe')](_0x38badb)[_0x289b('0xf')](_0x337576=>{const _0x4ce8d8=this['editor']['model'][_0x289b('0x1e')](_0x337576,0x0);return[..._0xfa48aa[_0x289b('0xc')](_0x4ce8d8,_0x289b('0xb')),..._0xfa48aa[_0x289b('0xc')](_0x4ce8d8,_0x289b('0x2e'))];})[_0x289b('0xa')]();return _0x28afd1=[...new Set(_0x28afd1)],_0x28afd1;}['_getTranslationKeyForListStyle'](_0x2e66e9){return _0x289b('0xd')+this[_0x289b('0x1f')]['plugins']['get'](_0x289b('0x2a'))['getListTypeFromListStyleType'](_0x2e66e9)[_0x289b('0x3')]()+_0x289b('0x11')+_0x2e66e9[_0x289b('0x3')]()[_0x289b('0x13')](/-/g,'_');}}
23
+ const _0x3919=['format','*Format:*\x20set\x20start\x20index\x20to\x20%0','*Change\x20to:*\x20%0','flat','registerDescriptionCallback','has','numbered','getSelectedBlocks','ListPropertiesEditing','listReversed','_getTranslationKeyForListStyle','handleListStartCommand','element','filter','getAttribute','selection','handleDescriptions','createRange','afterInit','commandParams','_getSuggestionBlocks','createPositionAt','listType','_LIST_','locale','push','getFirstPosition','change','enableCommand','startIndex','ListUtils','length','plugins','model','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','replace','unshift','editor','toUpperCase','*Format:*\x20set\x20order\x20to\x20reversed','TrackChangesEditing','getListTypeFromListStyleType','from','forward','config','handleListReversedCommand','reversed','map','get','listStart','getSiblingNodes','listItem','listStyle','type','before','bind','backward','commandName','list.properties','document','*Format:*\x20set\x20order\x20to\x20regular'];(function(_0x42d744,_0x391963){const _0x75318f=function(_0x5959e1){while(--_0x5959e1){_0x42d744['push'](_0x42d744['shift']());}};_0x75318f(++_0x391963);}(_0x3919,0x17d));const _0x7531=function(_0x42d744,_0x391963){_0x42d744=_0x42d744-0x0;let _0x75318f=_0x3919[_0x42d744];return _0x75318f;};import{Plugin as _0x1f1d75}from'ckeditor5/src/core.js';import{getTranslation as _0x1c71e4}from'../utils/common-translations.js';export default class nt extends _0x1f1d75{[_0x7531('0x9')](){if(!this[_0x7531('0x1d')]['plugins'][_0x7531('0x3a')](_0x7531('0x3d')))return;const _0x54ebcb=this[_0x7531('0x1d')][_0x7531('0x24')][_0x7531('0x28')](_0x7531('0x32')),_0x150eb2=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x20'));_0x54ebcb['styles']&&_0x150eb2['enableCommand'](_0x7531('0x2c'),this['handleListStyleCommand']['bind'](this)),_0x54ebcb['reversed']&&_0x150eb2[_0x7531('0x13')](_0x7531('0x0'),this[_0x7531('0x25')][_0x7531('0x2f')](this)),_0x54ebcb[_0x7531('0x14')]&&_0x150eb2[_0x7531('0x13')](_0x7531('0x29'),this[_0x7531('0x2')][_0x7531('0x2f')](this)),_0x150eb2['_descriptionFactory'][_0x7531('0x39')](this[_0x7531('0x7')][_0x7531('0x2f')](this));}['handleListStyleCommand'](_0x582d08,_0x161be9={}){const _0x5105bc=this[_0x7531('0x1d')]['plugins'][_0x7531('0x28')](_0x7531('0x20')),_0x26dc64=this[_0x7531('0x1a')]();this[_0x7531('0x1d')][_0x7531('0x18')]['change'](()=>{_0x5105bc[_0x7531('0x19')](_0x26dc64,{'commandName':_0x7531('0x2c'),'commandParams':[{'type':_0x161be9[_0x7531('0x2d')]}],'formatGroupId':_0x7531('0x2c')});});}['handleListReversedCommand'](_0x243828,_0x5126db={}){const _0x18b388=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x20')),_0x4c2c0d=this['_getSuggestionBlocks'](_0x33461c=>_0x33461c['is'](_0x7531('0x3'),_0x7531('0x2b'))&&_0x7531('0x3b')===_0x33461c[_0x7531('0x5')](_0x7531('0xd')));if(_0x4c2c0d[_0x7531('0x16')]<0x1)return;const _0x5ef3a1=_0x4c2c0d[_0x7531('0x27')](_0x8d3fca=>this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x8')](this['editor']['model'][_0x7531('0xc')](_0x8d3fca,'before'),this['editor'][_0x7531('0x18')][_0x7531('0xc')](_0x8d3fca,0x0)));this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x12')](()=>{_0x18b388['markMultiRangeBlockFormat'](_0x5ef3a1,{'commandName':_0x7531('0x0'),'commandParams':[{'reversed':_0x5126db[_0x7531('0x26')]}],'formatGroupId':'listReversed'});});}[_0x7531('0x2')](_0x2695c9,_0xead22f={}){const _0x474b7c=this['editor'][_0x7531('0x17')]['get'](_0x7531('0x20')),_0x54a60a=this[_0x7531('0xb')](_0x1273e1=>_0x1273e1['is']('element',_0x7531('0x2b'))&&_0x7531('0x3b')===_0x1273e1[_0x7531('0x5')](_0x7531('0xd')));if(_0x54a60a[_0x7531('0x16')]<0x1)return;const _0x21efea=_0x54a60a[_0x7531('0x27')](_0x1ad8fc=>this['editor'][_0x7531('0x18')][_0x7531('0x8')](this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0xc')](_0x1ad8fc,_0x7531('0x2e')),this[_0x7531('0x1d')]['model'][_0x7531('0xc')](_0x1ad8fc,0x0)));this['editor'][_0x7531('0x18')][_0x7531('0x12')](()=>{_0x474b7c[_0x7531('0x19')](_0x21efea,{'commandName':'listStart','commandParams':[{'startIndex':_0xead22f[_0x7531('0x14')]}],'formatGroupId':_0x7531('0x29')});});}['handleDescriptions'](_0x497b0e){const _0x3b9d59=this[_0x7531('0x1d')][_0x7531('0xf')],{data:_0x322e6a}=_0x497b0e;if(!_0x322e6a)return;let _0x29ebe0,_0x565dea;switch(_0x322e6a[_0x7531('0x31')]){case _0x7531('0x2c'):_0x29ebe0=_0x7531('0x37'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0,_0x1c71e4(_0x3b9d59,this[_0x7531('0x1')](_0x322e6a[_0x7531('0xa')][0x0]['type'])))};break;case _0x7531('0x0'):_0x29ebe0=_0x322e6a[_0x7531('0xa')][0x0][_0x7531('0x26')]?_0x7531('0x1f'):_0x7531('0x34'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0)};break;case _0x7531('0x29'):_0x29ebe0=_0x7531('0x36'),_0x565dea={'type':_0x7531('0x35'),'content':_0x1c71e4(_0x3b9d59,_0x29ebe0,_0x322e6a[_0x7531('0xa')][0x0]['startIndex'])};}return _0x565dea;}[_0x7531('0x1a')](){var _0x4ceaf5,_0x2c0edb,_0x30f4dd,_0xffd7b5;const _0x20834c=this[_0x7531('0x1d')][_0x7531('0x17')]['get']('ListUtils');let _0x4bfd69=Array[_0x7531('0x22')](this['editor']['model'][_0x7531('0x33')][_0x7531('0x6')]['getSelectedBlocks']());return(null===(_0x4ceaf5=_0x4bfd69[0x0])||void 0x0===_0x4ceaf5?void 0x0:_0x4ceaf5['is'](_0x7531('0x3'),_0x7531('0x2b')))&&_0x4bfd69[_0x7531('0x1c')](..._0x20834c[_0x7531('0x2a')](this[_0x7531('0x1d')]['model'][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x11')](),_0x7531('0x30'))),(null===(_0x2c0edb=_0x4bfd69[_0x4bfd69[_0x7531('0x16')]-0x1])||void 0x0===_0x2c0edb?void 0x0:_0x2c0edb['is'](_0x7531('0x3'),'listItem'))&&_0x4bfd69[_0x7531('0x10')](..._0x20834c['getSiblingNodes'](this['editor'][_0x7531('0x18')]['document'][_0x7531('0x6')]['getLastPosition'](),_0x7531('0x23'))),_0x4bfd69=[...new Set(_0x4bfd69)],(null===(_0xffd7b5=null===(_0x30f4dd=this[_0x7531('0x1d')][_0x7531('0x18')][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x11')]())||void 0x0===_0x30f4dd?void 0x0:_0x30f4dd['parent'])||void 0x0===_0xffd7b5?void 0x0:_0xffd7b5['is'](_0x7531('0x3'),_0x7531('0x2b')))&&(_0x4bfd69=_0x4bfd69[_0x7531('0x4')](_0x3536d5=>_0x3536d5['is'](_0x7531('0x3'),'listItem'))),_0x4bfd69;}[_0x7531('0xb')](_0x60c527){const _0x55847f=this[_0x7531('0x1d')][_0x7531('0x17')][_0x7531('0x28')](_0x7531('0x15'));let _0x161f97=Array[_0x7531('0x22')](this['editor'][_0x7531('0x18')][_0x7531('0x33')][_0x7531('0x6')][_0x7531('0x3c')]())[_0x7531('0x4')](_0x60c527)['map'](_0x35796a=>{const _0x54e0fb=this['editor'][_0x7531('0x18')][_0x7531('0xc')](_0x35796a,0x0);return[..._0x55847f[_0x7531('0x2a')](_0x54e0fb,_0x7531('0x30')),..._0x55847f[_0x7531('0x2a')](_0x54e0fb,_0x7531('0x23'))];})[_0x7531('0x38')]();return _0x161f97=[...new Set(_0x161f97)],_0x161f97;}[_0x7531('0x1')](_0x5db9cb){return'ELEMENT_'+this[_0x7531('0x1d')]['plugins'][_0x7531('0x28')]('ListUtils')[_0x7531('0x21')](_0x5db9cb)['toUpperCase']()+_0x7531('0xe')+_0x5db9cb[_0x7531('0x1e')]()[_0x7531('0x1b')](/-/g,'_');}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/mediaembed
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for {@link module:media-embed/mediaembed~MediaEmbed media embed feature}.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x290d=['media','TrackChangesEditing','conversion','dataDowncast','locale','_descriptionFactory','high','enableCommand','options','ELEMENT_MEDIA','MediaEmbedEditing','registerElementLabel','div','get','data','for','attribute:url:media','plugins','editor','afterInit','createEmptyElement','has','elementToElement'];(function(_0x5241e3,_0x290d55){const _0x20e74e=function(_0x2e41c6){while(--_0x2e41c6){_0x5241e3['push'](_0x5241e3['shift']());}};_0x20e74e(++_0x290d55);}(_0x290d,0x1bd));const _0x20e7=function(_0x5241e3,_0x290d55){_0x5241e3=_0x5241e3-0x0;let _0x20e74e=_0x290d[_0x5241e3];return _0x20e74e;};import{Plugin as _0x2a7110}from'ckeditor5/src/core';import{getTranslation as _0x378159}from'../utils/common-translations';export default class ot extends _0x2a7110{[_0x20e7('0xb')](){const _0x124431=this[_0x20e7('0xa')];if(!_0x124431['plugins'][_0x20e7('0xd')](_0x20e7('0x2')))return;const _0x13f369=_0x124431[_0x20e7('0x9')][_0x20e7('0x5')](_0x20e7('0x10')),_0x2f5c38=_0x124431[_0x20e7('0x13')];_0x13f369[_0x20e7('0x16')]('mediaEmbed'),_0x13f369[_0x20e7('0x14')][_0x20e7('0x3')](_0x20e7('0xf'),_0x5494b2=>_0x378159(_0x2f5c38,_0x20e7('0x1'),_0x5494b2)),_0x124431[_0x20e7('0x11')][_0x20e7('0x7')](_0x20e7('0x12'))[_0x20e7('0xe')]({'model':'media','view':(_0x2ad53a,{writer:_0x5e900c,options:_0x692f64})=>{if(_0x692f64['showSuggestionHighlights'])return _0x5e900c[_0x20e7('0xc')](_0x20e7('0x4'));},'converterPriority':_0x20e7('0x15')}),_0x124431[_0x20e7('0x6')]['downcastDispatcher']['on'](_0x20e7('0x8'),(_0x4b9836,_0x2ba0d6,_0x3c845f)=>{_0x3c845f[_0x20e7('0x0')]['showSuggestionHighlights']&&_0x4b9836['stop']();},{'priority':_0x20e7('0x15')});}}
23
+ const _0x5d4d=['mediaEmbed','plugins','get','has','showSuggestionHighlights','_descriptionFactory','ELEMENT_MEDIA','MediaEmbedEditing','stop','registerElementLabel','options','editor','downcastDispatcher','div','high','afterInit','createEmptyElement','dataDowncast','TrackChangesEditing'];(function(_0x35bdf4,_0x5d4d31){const _0x542464=function(_0x27a0ec){while(--_0x27a0ec){_0x35bdf4['push'](_0x35bdf4['shift']());}};_0x542464(++_0x5d4d31);}(_0x5d4d,0x145));const _0x5424=function(_0x35bdf4,_0x5d4d31){_0x35bdf4=_0x35bdf4-0x0;let _0x542464=_0x5d4d[_0x35bdf4];return _0x542464;};import{Plugin as _0x153c3b}from'ckeditor5/src/core.js';import{getTranslation as _0xa449fe}from'../utils/common-translations.js';export default class ot extends _0x153c3b{[_0x5424('0xd')](){const _0x216995=this[_0x5424('0x9')];if(!_0x216995[_0x5424('0x12')][_0x5424('0x1')](_0x5424('0x5')))return;const _0x41a7df=_0x216995[_0x5424('0x12')][_0x5424('0x0')](_0x5424('0x10')),_0x228d9e=_0x216995['locale'];_0x41a7df['enableCommand'](_0x5424('0x11')),_0x41a7df[_0x5424('0x3')][_0x5424('0x7')]('media',_0x56042a=>_0xa449fe(_0x228d9e,_0x5424('0x4'),_0x56042a)),_0x216995['conversion']['for'](_0x5424('0xf'))['elementToElement']({'model':'media','view':(_0x5310d7,{writer:_0x5be30a,options:_0x1f1c1c})=>{if(_0x1f1c1c['showSuggestionHighlights'])return _0x5be30a[_0x5424('0xe')](_0x5424('0xb'));},'converterPriority':'high'}),_0x216995['data'][_0x5424('0xa')]['on']('attribute:url:media',(_0xa54720,_0x4e81c5,_0xb16822)=>{_0xb16822[_0x5424('0x8')][_0x5424('0x2')]&&_0xa54720[_0x5424('0x6')]();},{'priority':_0x5424('0xc')});}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/mention
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for mention feature.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5572=['mention','MentionEditing','afterInit','enableCommand','get','TrackChangesEditing','has','plugins'];(function(_0x8ee93c,_0x5572ea){const _0x335c44=function(_0x3fc758){while(--_0x3fc758){_0x8ee93c['push'](_0x8ee93c['shift']());}};_0x335c44(++_0x5572ea);}(_0x5572,0x89));const _0x335c=function(_0x8ee93c,_0x5572ea){_0x8ee93c=_0x8ee93c-0x0;let _0x335c44=_0x5572[_0x8ee93c];return _0x335c44;};import{Plugin as _0x5a627a}from'ckeditor5/src/core';export default class rt extends _0x5a627a{[_0x335c('0x1')](){const _0x1a177c=this['editor'];_0x1a177c[_0x335c('0x6')][_0x335c('0x5')](_0x335c('0x0'))&&_0x1a177c['plugins'][_0x335c('0x3')](_0x335c('0x4'))[_0x335c('0x2')](_0x335c('0x7'));}}
23
+ const _0x4cd2=['TrackChangesEditing','MentionEditing','plugins','has','afterInit','enableCommand','editor','get','mention'];(function(_0xe6b7b2,_0x4cd2af){const _0xc506f7=function(_0x2ced91){while(--_0x2ced91){_0xe6b7b2['push'](_0xe6b7b2['shift']());}};_0xc506f7(++_0x4cd2af);}(_0x4cd2,0xa0));const _0xc506=function(_0xe6b7b2,_0x4cd2af){_0xe6b7b2=_0xe6b7b2-0x0;let _0xc506f7=_0x4cd2[_0xe6b7b2];return _0xc506f7;};import{Plugin as _0x266f1c}from'ckeditor5/src/core.js';export default class rt extends _0x266f1c{[_0xc506('0x6')](){const _0x25710f=this[_0xc506('0x8')];_0x25710f['plugins'][_0xc506('0x5')](_0xc506('0x3'))&&_0x25710f[_0xc506('0x4')][_0xc506('0x0')](_0xc506('0x2'))[_0xc506('0x7')](_0xc506('0x1'));}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/pagebreak
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
7
7
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1891=['pageBreak','enableCommand','afterInit','plugins','ELEMENT_PAGE_BREAK','registerElementLabel','editor','PageBreakEditing','get','has','TrackChangesEditing'];(function(_0x68dd01,_0x189168){const _0x3e6452=function(_0x43bfa4){while(--_0x43bfa4){_0x68dd01['push'](_0x68dd01['shift']());}};_0x3e6452(++_0x189168);}(_0x1891,0x7f));const _0x3e64=function(_0x68dd01,_0x189168){_0x68dd01=_0x68dd01-0x0;let _0x3e6452=_0x1891[_0x68dd01];return _0x3e6452;};import{Plugin as _0x316930}from'ckeditor5/src/core';import{getTranslation as _0x56b0f7}from'../utils/common-translations';export default class at extends _0x316930{[_0x3e64('0x7')](){const _0xc66e15=this[_0x3e64('0x0')];if(!_0xc66e15[_0x3e64('0x8')][_0x3e64('0x3')](_0x3e64('0x1')))return;_0xc66e15[_0x3e64('0x8')][_0x3e64('0x2')](_0x3e64('0x4'))[_0x3e64('0x6')](_0x3e64('0x5'));const _0x4e5ba7=_0xc66e15['plugins'][_0x3e64('0x2')](_0x3e64('0x4')),_0x3e1c52=_0xc66e15['locale'];_0x4e5ba7['_descriptionFactory'][_0x3e64('0xa')]('pageBreak',_0xe79a59=>_0x56b0f7(_0x3e1c52,_0x3e64('0x9'),_0xe79a59));}}
23
+ const _0x4f2e=['editor','PageBreakEditing','_descriptionFactory','pageBreak','plugins','get','ELEMENT_PAGE_BREAK','registerElementLabel','has','TrackChangesEditing'];(function(_0x3fdf44,_0x4f2e32){const _0x6a08a0=function(_0x3828d6){while(--_0x3828d6){_0x3fdf44['push'](_0x3fdf44['shift']());}};_0x6a08a0(++_0x4f2e32);}(_0x4f2e,0x170));const _0x6a08=function(_0x3fdf44,_0x4f2e32){_0x3fdf44=_0x3fdf44-0x0;let _0x6a08a0=_0x4f2e[_0x3fdf44];return _0x6a08a0;};import{Plugin as _0x4c4144}from'ckeditor5/src/core.js';import{getTranslation as _0x120107}from'../utils/common-translations.js';export default class at extends _0x4c4144{['afterInit'](){const _0x51a33e=this[_0x6a08('0x2')];if(!_0x51a33e[_0x6a08('0x6')][_0x6a08('0x0')](_0x6a08('0x3')))return;_0x51a33e[_0x6a08('0x6')]['get']('TrackChangesEditing')['enableCommand'](_0x6a08('0x5'));const _0x222182=_0x51a33e[_0x6a08('0x6')][_0x6a08('0x7')](_0x6a08('0x1')),_0xc9d994=_0x51a33e['locale'];_0x222182[_0x6a08('0x4')][_0x6a08('0x9')](_0x6a08('0x5'),_0x5b0021=>_0x120107(_0xc9d994,_0x6a08('0x8'),_0x5b0021));}}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @module track-changes/integrations/paragraph
3
3
  */
4
- import { Plugin } from 'ckeditor5/src/core';
4
+ import { Plugin } from 'ckeditor5/src/core.js';
5
5
  /**
6
6
  * Provides track changes plugin integration for paragraph feature.
7
7
  */