@ckeditor/ckeditor5-track-changes 35.3.0 → 35.3.2

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 (101) hide show
  1. package/build/track-changes.js +1 -2
  2. package/package.json +4 -4
  3. package/src/commands/acceptsuggestioncommand.js +1 -1
  4. package/src/commands/discardsuggestioncommand.js +1 -1
  5. package/src/commands/executeonallsuggestionscommand.js +1 -1
  6. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  7. package/src/commands/trackchangescommand.js +1 -1
  8. package/src/integrations/alignment.js +1 -1
  9. package/src/integrations/basicstyles.js +1 -1
  10. package/src/integrations/blockquote.js +1 -1
  11. package/src/integrations/ckbox.js +1 -1
  12. package/src/integrations/codeblock.js +1 -1
  13. package/src/integrations/comments.js +1 -1
  14. package/src/integrations/deletecommand.js +1 -1
  15. package/src/integrations/documentlist.js +1 -1
  16. package/src/integrations/entercommand.js +1 -1
  17. package/src/integrations/font.js +1 -1
  18. package/src/integrations/heading.js +1 -1
  19. package/src/integrations/highlight.js +1 -1
  20. package/src/integrations/horizontalline.js +1 -1
  21. package/src/integrations/htmlembed.js +1 -1
  22. package/src/integrations/image.js +1 -1
  23. package/src/integrations/importword.js +1 -1
  24. package/src/integrations/indent.js +1 -1
  25. package/src/integrations/inputcommand.js +1 -1
  26. package/src/integrations/link.js +1 -1
  27. package/src/integrations/list.js +1 -1
  28. package/src/integrations/mediaembed.js +1 -1
  29. package/src/integrations/mention.js +1 -1
  30. package/src/integrations/pagebreak.js +1 -1
  31. package/src/integrations/paragraph.js +1 -1
  32. package/src/integrations/removeformat.js +1 -1
  33. package/src/integrations/restrictededitingmode.js +1 -1
  34. package/src/integrations/shiftentercommand.js +1 -1
  35. package/src/integrations/standardeditingmode.js +1 -1
  36. package/src/integrations/style.js +1 -1
  37. package/src/integrations/table.js +1 -1
  38. package/src/integrations/tablecaption.js +1 -1
  39. package/src/integrations/tableclipboard.js +1 -1
  40. package/src/integrations/tableheadings.js +1 -1
  41. package/src/integrations/tablemergesplit.js +1 -1
  42. package/src/integrations/title.js +1 -1
  43. package/src/integrations/undo.js +1 -1
  44. package/src/integrations/utils.js +1 -1
  45. package/src/suggestion.js +1 -1
  46. package/src/suggestiondescriptionfactory.js +1 -1
  47. package/src/trackchanges.js +1 -1
  48. package/src/trackchangesdata.js +1 -1
  49. package/src/trackchangesediting.js +1 -1
  50. package/src/trackchangesui.js +1 -1
  51. package/src/ui/suggestioncontroller.js +1 -1
  52. package/src/ui/view/basesuggestionthreadview.js +1 -1
  53. package/src/ui/view/suggestionthreadview.js +1 -1
  54. package/src/utils/common-translations.js +1 -1
  55. package/src/utils/utils.js +1 -1
  56. package/build/translations/ar.js +0 -1
  57. package/build/translations/az.js +0 -1
  58. package/build/translations/bg.js +0 -1
  59. package/build/translations/bn.js +0 -1
  60. package/build/translations/ca.js +0 -1
  61. package/build/translations/cs.js +0 -1
  62. package/build/translations/da.js +0 -1
  63. package/build/translations/de.js +0 -1
  64. package/build/translations/el.js +0 -1
  65. package/build/translations/en-au.js +0 -1
  66. package/build/translations/es.js +0 -1
  67. package/build/translations/et.js +0 -1
  68. package/build/translations/fi.js +0 -1
  69. package/build/translations/fr.js +0 -1
  70. package/build/translations/gl.js +0 -1
  71. package/build/translations/he.js +0 -1
  72. package/build/translations/hi.js +0 -1
  73. package/build/translations/hr.js +0 -1
  74. package/build/translations/hu.js +0 -1
  75. package/build/translations/id.js +0 -1
  76. package/build/translations/it.js +0 -1
  77. package/build/translations/ja.js +0 -1
  78. package/build/translations/ko.js +0 -1
  79. package/build/translations/lt.js +0 -1
  80. package/build/translations/lv.js +0 -1
  81. package/build/translations/ms.js +0 -1
  82. package/build/translations/nl.js +0 -1
  83. package/build/translations/no.js +0 -1
  84. package/build/translations/pl.js +0 -1
  85. package/build/translations/pt-br.js +0 -1
  86. package/build/translations/pt.js +0 -1
  87. package/build/translations/ro.js +0 -1
  88. package/build/translations/ru.js +0 -1
  89. package/build/translations/sk.js +0 -1
  90. package/build/translations/sr-latn.js +0 -1
  91. package/build/translations/sr.js +0 -1
  92. package/build/translations/sv.js +0 -1
  93. package/build/translations/th.js +0 -1
  94. package/build/translations/tk.js +0 -1
  95. package/build/translations/tr.js +0 -1
  96. package/build/translations/tt.js +0 -1
  97. package/build/translations/uk.js +0 -1
  98. package/build/translations/ur.js +0 -1
  99. package/build/translations/vi.js +0 -1
  100. package/build/translations/zh-cn.js +0 -1
  101. package/build/translations/zh.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a15=['getAttribute','afterInit','locale','getCustomProperty','rawHtmlApi','TrackChangesEditing','value','editing','enableCommand','htmlEmbed','selection','get','*Change\x20%0\x20content*','_descriptionFactory','rawHtml','editor','document','markBlockFormat','getSelectedElement','HtmlEmbed','view','model','ELEMENT_HTML_EMBED','plugins'];(function(_0x3c6ab8,_0x5a157e){const _0xa0e69e=function(_0x1fc7fa){while(--_0x1fc7fa){_0x3c6ab8['push'](_0x3c6ab8['shift']());}};_0xa0e69e(++_0x5a157e);}(_0x5a15,0x162));const _0xa0e6=function(_0x3c6ab8,_0x5a157e){_0x3c6ab8=_0x3c6ab8-0x0;let _0xa0e69e=_0x5a15[_0x3c6ab8];return _0xa0e69e;};import{Plugin as _0x53e4ef}from'ckeditor5/src/core';import{getTranslation as _0xa2bf83}from'../utils/common-translations';export default class Q extends _0x53e4ef{[_0xa0e6('0x7')](){const _0x162ce8=this[_0xa0e6('0x15')];if(!_0x162ce8[_0xa0e6('0x5')]['has'](_0xa0e6('0x1')))return;const _0x368183=_0x162ce8[_0xa0e6('0x5')]['get'](_0xa0e6('0xb')),_0x23f7af=_0x162ce8[_0xa0e6('0x8')],_0x40292c=_0x162ce8[_0xa0e6('0xd')][_0xa0e6('0x2')]['document']['selection'];_0x368183['_descriptionFactory']['registerElementLabel'](_0xa0e6('0x14'),_0x1770fa=>_0xa2bf83(_0x23f7af,_0xa0e6('0x4'),_0x1770fa)),_0x162ce8[_0xa0e6('0x5')][_0xa0e6('0x11')](_0xa0e6('0xb'))[_0xa0e6('0xe')](_0xa0e6('0xf'),(_0x42ed23,_0x59f565)=>{const _0x1fed7d=_0x162ce8[_0xa0e6('0x3')],_0x38b7e7=_0x1fed7d[_0xa0e6('0x16')][_0xa0e6('0x10')];_0x1fed7d['change'](()=>{const _0x352354=function(_0x1f6159){const _0x31f658=_0x1f6159[_0xa0e6('0x0')]();if(_0x31f658&&_0x31f658['is']('element','rawHtml'))return _0x1f6159[_0xa0e6('0x0')]();return null;}(_0x38b7e7);if(!_0x352354)return void _0x42ed23(null);const _0x7ef17e=_0x352354[_0xa0e6('0x6')](_0xa0e6('0xc'))||'';if(void 0x0===_0x59f565)return;if(_0x59f565===_0x7ef17e)return;_0x368183[_0xa0e6('0x17')](_0x352354,{'commandName':_0xa0e6('0xf'),'commandParams':[_0x59f565]}),_0x40292c[_0xa0e6('0x0')]()[_0xa0e6('0x9')](_0xa0e6('0xa'))['cancel']();});}),_0x368183[_0xa0e6('0x13')]['registerDescriptionCallback'](_0x55f8fb=>{const {data:_0x5bb49e}=_0x55f8fb;if(_0x5bb49e&&_0xa0e6('0xf')==_0x5bb49e['commandName']){const _0x460e64=_0xa2bf83(_0x23f7af,_0xa0e6('0x4'));return{'type':'format','content':_0xa2bf83(_0x23f7af,_0xa0e6('0x12'),_0x460e64)};}});}}
23
+ const _0x4084=['enableCommand','rawHtml','afterInit','editing','getAttribute','rawHtmlApi','has','plugins','HtmlEmbed','getSelectedElement','commandName','format','element','value','ELEMENT_HTML_EMBED','cancel','get','locale','htmlEmbed','model','selection','view','markBlockFormat'];(function(_0xf3eaeb,_0x408461){const _0x4b42a6=function(_0x66c151){while(--_0x66c151){_0xf3eaeb['push'](_0xf3eaeb['shift']());}};_0x4b42a6(++_0x408461);}(_0x4084,0xa4));const _0x4b42=function(_0xf3eaeb,_0x408461){_0xf3eaeb=_0xf3eaeb-0x0;let _0x4b42a6=_0x4084[_0xf3eaeb];return _0x4b42a6;};import{Plugin as _0x5f22ba}from'ckeditor5/src/core';import{getTranslation as _0x406fa8}from'../utils/common-translations';export default class Q extends _0x5f22ba{[_0x4b42('0x16')](){const _0x31f2d9=this['editor'];if(!_0x31f2d9[_0x4b42('0x4')][_0x4b42('0x3')](_0x4b42('0x5')))return;const _0x225ca8=_0x31f2d9[_0x4b42('0x4')][_0x4b42('0xd')]('TrackChangesEditing'),_0x3dff53=_0x31f2d9[_0x4b42('0xe')],_0x33f8a0=_0x31f2d9[_0x4b42('0x0')][_0x4b42('0x12')]['document'][_0x4b42('0x11')];_0x225ca8['_descriptionFactory']['registerElementLabel'](_0x4b42('0x15'),_0x3a7629=>_0x406fa8(_0x3dff53,'ELEMENT_HTML_EMBED',_0x3a7629)),_0x31f2d9[_0x4b42('0x4')]['get']('TrackChangesEditing')[_0x4b42('0x14')](_0x4b42('0xf'),(_0x18f802,_0x5bd4d5)=>{const _0x4f4218=_0x31f2d9[_0x4b42('0x10')],_0x4f1486=_0x4f4218['document'][_0x4b42('0x11')];_0x4f4218['change'](()=>{const _0x5da0d7=function(_0x595429){const _0x3de673=_0x595429[_0x4b42('0x6')]();if(_0x3de673&&_0x3de673['is'](_0x4b42('0x9'),'rawHtml'))return _0x595429[_0x4b42('0x6')]();return null;}(_0x4f1486);if(!_0x5da0d7)return void _0x18f802(null);const _0x1cf702=_0x5da0d7[_0x4b42('0x1')](_0x4b42('0xa'))||'';if(void 0x0===_0x5bd4d5)return;if(_0x5bd4d5===_0x1cf702)return;_0x225ca8[_0x4b42('0x13')](_0x5da0d7,{'commandName':_0x4b42('0xf'),'commandParams':[_0x5bd4d5]}),_0x33f8a0['getSelectedElement']()['getCustomProperty'](_0x4b42('0x2'))[_0x4b42('0xc')]();});}),_0x225ca8['_descriptionFactory']['registerDescriptionCallback'](_0x1dd67e=>{const {data:_0x3306b5}=_0x1dd67e;if(_0x3306b5&&_0x4b42('0xf')==_0x3306b5[_0x4b42('0x7')]){const _0x1ab3f8=_0x406fa8(_0x3dff53,_0x4b42('0xb'));return{'type':_0x4b42('0x8'),'content':_0x406fa8(_0x3dff53,'*Change\x20%0\x20content*',_0x1ab3f8)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x439a=['format','registerElementLabel','_descriptionFactory','ImageEditing','getNearestSelectionRange','getSuggestion','commandParams','shouldConvertImageType','accept','ImageCaptionUtils','isOwn','type','value','length','ImageBlockEditing','registerCustomCallback','ImageUploadEditing','_findSuggestions','isInlineImage','getSuggestionCallback','ImageCaptionEditing','ImageUtils','head','*Set\x20image\x20text\x20alternative:*\x20%0','markDeletion','suggestion','newRange','insertion','width','*Remove\x20image\x20text\x20alternative*','normalizedStyles','imageCaption','from','deletion','*Format:*\x20%0','imageStylePreApply','plugins','Users','alt','isCollapsed','isBlockImage','imageStyle','formatBlock','schema','has','next','imageTextAlternative','formatInline','markBlockFormat','enableCommand','FORMAT_SIDE_IMAGE','fromPosition','forceDefaultExecution','isInContent','caption','previous','commands','markInsertion','ImageResize','title','ELEMENT_IMAGE','model','discard','getAttribute','convertBlockImageToInline','toggleImageCaption','registerDescriptionCallback','discardSuggestion','getCaptionFromImageModelElement','isBefore','newValue','imageStylePostApply','imageBlock','start','change','TrackChangesEditing','getClosestSelectedImageElement','isIntersecting','addObject','removeObject','convertInlineImageToBlock','imageInline','getFirstRange','_suggestionFactory','toNext','end','filter','getSuggestions','toPrevious','forward','createRangeOn','getChangedMarkers','join','differ','subType','editor','selection','nodeAfter','find','author','ImageTextAlternativeEditing','commandReversedParams','imageTypeInline','insertImage','document','*Set\x20image\x20width:*\x20%0','hasAttribute','element','resizeImage','get','commandName','ImageStyleEditing','isEqual','imageTypeBlock','createRange','chain','hasSuggestion','ELEMENT_INLINE_IMAGE','ELEMENT_CAPTION','findIndex','refresh','detach'];(function(_0x2eee25,_0x439abc){const _0x25dfc4=function(_0x1c23f3){while(--_0x1c23f3){_0x2eee25['push'](_0x2eee25['shift']());}};_0x25dfc4(++_0x439abc);}(_0x439a,0x129));const _0x25df=function(_0x2eee25,_0x439abc){_0x2eee25=_0x2eee25-0x0;let _0x25dfc4=_0x439a[_0x2eee25];return _0x25dfc4;};import{Plugin as _0x55eabf}from'ckeditor5/src/core';import{LivePosition as _0x1efb0b}from'ckeditor5/src/engine';import{uid as _0x251978}from'ckeditor5/src/utils';import{getTranslation as _0x32720a}from'../utils/common-translations';export default class V extends _0x55eabf{['afterInit'](){const _0x536c4b=this[_0x25df('0x2a')];if(!_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x48')))return;const _0x30f95c=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x16')),_0x5ca996=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x5a')),_0x5852b1={},_0x49e9d2=_0x536c4b['locale'];if(_0x30f95c[_0x25df('0x76')](_0x25df('0x32')),_0x30f95c[_0x25df('0x47')]['registerElementLabel'](_0x25df('0x13'),_0x2352b8=>_0x32720a(_0x49e9d2,_0x25df('0x7'),_0x2352b8)),_0x30f95c[_0x25df('0x47')][_0x25df('0x46')](_0x25df('0x1c'),_0x39f257=>_0x32720a(_0x49e9d2,_0x25df('0x40'),_0x39f257)),_0x30f95c[_0x25df('0x47')][_0x25df('0x46')](_0x25df('0x1'),()=>_0x32720a(_0x49e9d2,_0x25df('0x41'))),_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x55'))&&_0x30f95c[_0x25df('0x76')]('uploadImage'),_0x536c4b[_0x25df('0x69')]['has'](_0x25df('0x53'))&&_0x536c4b['plugins']['has']('ImageInlineEditing')&&(_0x30f95c[_0x25df('0x76')](_0x25df('0x31'),(_0x3ddde1,_0xfdb0cf)=>{const _0x357778=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]);_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{_0x30f95c[_0x25df('0x75')](_0x357778,{'commandName':'imageTypeInline','commandParams':[_0xfdb0cf]},[],_0x25df('0xb'));});}),_0x30f95c['enableCommand'](_0x25df('0x3c'),(_0x52615d,_0x186034)=>{_0x536c4b['model']['change'](_0x4352c9=>{let _0x39e632=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')][_0x25df('0x2b')]),_0x17ad68=_0x4352c9[_0x25df('0x25')](_0x39e632);const _0x3e0755=_0x1efb0b[_0x25df('0x78')](_0x17ad68[_0x25df('0x14')],_0x25df('0x23')),_0x151287=_0x1efb0b['fromPosition'](_0x17ad68[_0x25df('0x20')],_0x25df('0x1f'));_0x30f95c[_0x25df('0x79')](()=>_0x52615d(_0x186034)),_0x39e632=_0x5ca996['getClosestSelectedImageElement'](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']),_0x17ad68=_0x4352c9['createRangeOn'](_0x39e632);const _0x18954e=_0x4352c9['createRange'](_0x3e0755,_0x151287);_0x3e0755[_0x25df('0x44')](),_0x151287[_0x25df('0x44')](),_0x30f95c[_0x25df('0x75')](_0x39e632,{'commandName':_0x25df('0x31')},[],'convertInlineImageToBlock'),_0x18954e['start'][_0x25df('0x10')](_0x17ad68[_0x25df('0x14')])&&_0x30f95c[_0x25df('0x4')](_0x4352c9['createRange'](_0x18954e['start'],_0x17ad68[_0x25df('0x14')]),'convertInlineImageToBlock'),_0x17ad68[_0x25df('0x20')]['isBefore'](_0x18954e[_0x25df('0x20')])&&_0x30f95c[_0x25df('0x4')](_0x4352c9[_0x25df('0x3d')](_0x17ad68[_0x25df('0x20')],_0x18954e[_0x25df('0x20')]),_0x25df('0x1b'));});}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x1b'),_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock',_0x25df('0x1b'),_0x25df('0x4d'),()=>{}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x1b'),'discard',_0x30f95c['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x25df('0x4d'))),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x1b'),_0x25df('0x27'),()=>{}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x1b'),_0x25df('0x9'),([_0x1495dd])=>{const _0x2b60df=_0x30f95c[_0x25df('0x1e')][_0x25df('0x58')](_0x25df('0x60'),'',_0x25df('0x9'));let _0x41fbe6=_0x1495dd[_0x25df('0x14')],_0x55648e=_0x1495dd[_0x25df('0x20')];const _0x28294d=_0x536c4b[_0x25df('0x8')][_0x25df('0x70')][_0x25df('0x49')](_0x41fbe6,'backward'),_0xb5f396=_0x536c4b[_0x25df('0x8')][_0x25df('0x70')][_0x25df('0x49')](_0x55648e,_0x25df('0x24'));_0x28294d[_0x25df('0x6c')]&&(_0x41fbe6=_0x28294d[_0x25df('0x14')]),_0xb5f396[_0x25df('0x6c')]&&(_0x55648e=_0xb5f396[_0x25df('0x20')]),_0x2b60df([_0x536c4b[_0x25df('0x8')]['createRange'](_0x41fbe6,_0x55648e)]);}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')]('formatBlock',_0x25df('0x1b'),_0x25df('0x3e'),_0x4da4b6),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')]('insertion','convertInlineImageToBlock',_0x25df('0x3e'),_0x4da4b6)),_0x536c4b[_0x25df('0x69')][_0x25df('0x71')](_0x25df('0x59'))&&(_0x30f95c[_0x25df('0x76')](_0x25df('0xc'),(_0x10dcc5,_0xdc5a6e)=>{const _0x5111eb=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x4e'));let _0x144d94=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]),_0x53714b=_0x5111eb[_0x25df('0xf')](_0x144d94);_0x536c4b[_0x25df('0x8')]['change'](()=>{if(_0x53714b)return void _0x30f95c[_0x25df('0x5d')](_0x536c4b['model'][_0x25df('0x25')](_0x53714b));const _0x5306fc=_0x5ca996[_0x25df('0x6d')](_0x144d94);_0x10dcc5(_0xdc5a6e),_0x144d94=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')]['document'][_0x25df('0x2b')]),_0x53714b=_0x5111eb['getCaptionFromImageModelElement'](_0x144d94),_0x30f95c[_0x25df('0x4')](_0x536c4b[_0x25df('0x8')]['createRangeOn'](_0x53714b),_0x5306fc?null:_0x25df('0x64'));});}),_0x30f95c['_suggestionFactory'][_0x25df('0x54')](_0x25df('0x60'),_0x25df('0x64'),'chain',_0x4da4b6)),_0x536c4b[_0x25df('0x69')]['has']('ImageStyleEditing')){_0x30f95c[_0x25df('0x76')](_0x25df('0x6e'),(_0x2fb7ef,_0x2b395d)=>{const _0x2317b4=_0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x6a'))['me'],_0x205ea9=_0x536c4b[_0x25df('0x3')][_0x25df('0x38')](_0x25df('0x6e'));let _0x3bcf04=_0x5ca996['getClosestSelectedImageElement'](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']),_0x21cadd=_0x536c4b['model'][_0x25df('0x25')](_0x3bcf04),_0x29b7cb=_0x205ea9[_0x25df('0x51')];if(_0x29b7cb==_0x2b395d[_0x25df('0x51')])return;const _0x55c18c={'commandName':'imageStyle','commandParams':[_0x2b395d],'formatGroupId':_0x251978()};_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{if(_0x30f95c[_0x25df('0x22')]()[_0x25df('0x21')](_0x2be69d=>_0x2be69d[_0x25df('0x0')]&&_0x2317b4==_0x2be69d[_0x25df('0x2e')]&&('formatBlock'==_0x2be69d[_0x25df('0x50')]||_0x25df('0x74')==_0x2be69d['type'])&&(_0x25df('0x68')==_0x2be69d[_0x25df('0x29')]||_0x25df('0x12')==_0x2be69d[_0x25df('0x29')])&&_0x2be69d['getFirstRange']()[_0x25df('0x3b')](_0x21cadd))['forEach'](_0xb823d4=>_0x30f95c[_0x25df('0xe')](_0xb823d4[_0x25df('0x5b')])),_0x3bcf04=_0x5ca996[_0x25df('0x17')](_0x536c4b['model'][_0x25df('0x33')]['selection']),_0x21cadd=_0x536c4b[_0x25df('0x8')][_0x25df('0x25')](_0x3bcf04),_0x205ea9[_0x25df('0x43')](),_0x536c4b['commands'][_0x25df('0x38')]('imageTypeInline')[_0x25df('0x43')](),_0x536c4b[_0x25df('0x3')][_0x25df('0x38')](_0x25df('0x3c'))[_0x25df('0x43')](),_0x29b7cb=_0x205ea9[_0x25df('0x51')],_0x29b7cb!=_0x2b395d[_0x25df('0x51')])return _0x5ca996[_0x25df('0x57')](_0x3bcf04)&&_0x205ea9[_0x25df('0x4c')](_0x2b395d[_0x25df('0x51')],_0x3bcf04)?(_0x2fb7ef(_0x2b395d),_0x3bcf04=_0x5ca996[_0x25df('0x17')](_0x536c4b['model']['document'][_0x25df('0x2b')]),void _0x30f95c[_0x25df('0x75')](_0x3bcf04,{..._0x55c18c,'commandReversedParams':[{'value':_0x29b7cb||null}]},[],_0x25df('0x68'))):void(_0x5ca996['isBlockImage'](_0x3bcf04)?_0x30f95c[_0x25df('0x75')](_0x3bcf04,_0x55c18c,[],_0x25df('0x12')):_0x30f95c['markInlineFormat'](_0x21cadd,_0x55c18c,_0x25df('0x12')));});});for(const _0x27d3f7 of _0x536c4b[_0x25df('0x69')][_0x25df('0x38')](_0x25df('0x3a'))[_0x25df('0x63')])_0x5852b1[_0x27d3f7['name']]=_0x27d3f7[_0x25df('0x6')]['toLowerCase']();_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback'](_0x25df('0x6f'),'imageStylePostApply',_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x74'),_0x25df('0x12'),_0x25df('0x27'),()=>{}),_0x30f95c[_0x25df('0x1e')][_0x25df('0x54')](_0x25df('0x6f'),_0x25df('0x68'),_0x25df('0x4d'),()=>{}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback'](_0x25df('0x6f'),_0x25df('0x68'),_0x25df('0x9'),(_0x319739,_0x570674)=>{_0x30f95c[_0x25df('0x1e')][_0x25df('0x58')]('formatBlock','',_0x25df('0x4d'))(_0x319739,{'commandName':_0x570674[_0x25df('0x39')],'commandParams':_0x570674[_0x25df('0x30')]});}),_0x30f95c[_0x25df('0x1e')]['registerCustomCallback']('formatBlock',_0x25df('0x68'),_0x25df('0x3e'),_0x4da4b6);}const _0x45cc89=[{'type':'formatBlock','subType':_0x25df('0x68')},{'type':_0x25df('0x60'),'subType':_0x25df('0x64')},{'type':_0x25df('0x6f'),'subType':_0x25df('0x1b')},{'type':'insertion','subType':_0x25df('0x1b')}];function _0x554115(_0x3b729e,_0x559682){const _0xd0e154=_0x45cc89[_0x25df('0x42')](({type:_0x3e054e,subType:_0x5a35ec})=>_0x3b729e[_0x25df('0x50')]==_0x3e054e&&_0x3b729e[_0x25df('0x29')]==_0x5a35ec),_0x159d5b=_0x45cc89[_0x25df('0x42')](({type:_0x3164c5,subType:_0x221016})=>_0x559682[_0x25df('0x50')]==_0x3164c5&&_0x559682[_0x25df('0x29')]==_0x221016);if(_0xd0e154<0x0||_0x159d5b<0x0)return!0x1;const _0x1fc839=_0x3b729e[_0x25df('0x1d')](),_0x31d71b=_0x559682[_0x25df('0x1d')]();if((0x0==_0xd0e154||0x1==_0xd0e154)&&0x2==_0x159d5b&&_0x1fc839[_0x25df('0x18')](_0x31d71b))return!0x0;if(0x2==_0xd0e154&&0x3==_0x159d5b){const _0x17aac3=_0x30f95c[_0x25df('0x56')](_0x1fc839,_0x25df('0x60'))[_0x25df('0x21')](({suggestion:_0x5a25ce,meta:_0x34c4f0})=>_0x34c4f0[_0x25df('0x4f')]&&'convertInlineImageToBlock'==_0x5a25ce['subType']);if(_0x17aac3[_0x25df('0x52')]>0x1&&_0x31d71b[_0x25df('0x20')][_0x25df('0x3b')](_0x1fc839[_0x25df('0x14')]))return!0x0;if(0x1==_0x17aac3['length']&&(_0x1fc839[_0x25df('0x14')]['isEqual'](_0x31d71b[_0x25df('0x20')])||_0x1fc839[_0x25df('0x20')][_0x25df('0x3b')](_0x31d71b[_0x25df('0x14')])))return!0x0;}if(0x3==_0xd0e154&&0x3==_0x159d5b&&_0x1fc839['start'][_0x25df('0x10')](_0x31d71b[_0x25df('0x14')])){const _0x1dfd50=_0x1fc839['end'][_0x25df('0x2c')],_0xaf6660=_0x31d71b[_0x25df('0x14')]['nodeBefore'];return _0x5ca996[_0x25df('0x6d')](_0x1dfd50)&&_0x1dfd50===_0xaf6660;}return!0x1;}function _0x4da4b6(_0x10ad34,_0x53af2e){return _0x554115(_0x10ad34,_0x53af2e)?[_0x10ad34,_0x53af2e]:_0x554115(_0x53af2e,_0x10ad34)?[_0x53af2e,_0x10ad34]:null;}_0x536c4b['model'][_0x25df('0x33')]['registerPostFixer'](()=>{let _0x57c2a3=!0x1;const _0x2b5140=Array[_0x25df('0x65')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')][_0x25df('0x28')][_0x25df('0x26')]());for(const {name:_0x35e50d,data:_0x300dda}of _0x2b5140){const {group:_0xb41f07,type:_0x10fe12,subType:_0x1dac43,id:_0x1683c1}=_0x30f95c['_splitMarkerName'](_0x35e50d);if(_0x25df('0x5e')==_0xb41f07&&_0x30f95c[_0x25df('0x3f')](_0x1683c1)){if('formatBlock'==_0x10fe12&&(_0x25df('0x68')==_0x1dac43||'imageStylePostApply'==_0x1dac43)){const _0x29782e=_0x30f95c[_0x25df('0x4a')](_0x1683c1);if(_0x300dda[_0x25df('0x5f')]){const _0x3b3186=_0x29782e[_0x25df('0x1d')]()['getContainedElement']();if(_0x5ca996[_0x25df('0x6d')](_0x3b3186))continue;_0x30f95c[_0x25df('0xe')](_0x29782e),_0x57c2a3=!0x0;}}if(_0x25df('0x60')==_0x10fe12&&_0x25df('0x64')==_0x1dac43&&!_0x300dda[_0x25df('0x5f')]){const _0x561484=_0x30f95c[_0x25df('0x4a')](_0x1683c1);_0x561484[_0x25df('0x72')]&&_0x561484[_0x25df('0x72')][_0x25df('0x0')]&&(_0x30f95c[_0x25df('0xe')](_0x561484['next']),_0x57c2a3=!0x0);}}}return _0x57c2a3;}),_0x536c4b['plugins'][_0x25df('0x71')](_0x25df('0x5'))&&_0x30f95c[_0x25df('0x76')](_0x25df('0x37'),(_0x3c1ef4,_0x285c46)=>{const _0x47596a=_0x5ca996[_0x25df('0x17')](_0x536c4b['model']['document'][_0x25df('0x2b')]);_0x47596a['getAttribute'](_0x25df('0x61'))!=_0x285c46['width']&&_0x536c4b['model'][_0x25df('0x15')](()=>{_0x30f95c[_0x25df('0x75')](_0x47596a,{'commandName':_0x25df('0x37'),'commandParams':[_0x285c46]});});}),_0x536c4b[_0x25df('0x69')]['has'](_0x25df('0x2f'))&&_0x30f95c['enableCommand'](_0x25df('0x73'),(_0x1d1177,_0x5a64b7)=>{const _0x28add7=_0x5ca996[_0x25df('0x17')](_0x536c4b[_0x25df('0x8')][_0x25df('0x33')]['selection']);(_0x28add7[_0x25df('0x35')](_0x25df('0x6b'))?_0x28add7[_0x25df('0xa')](_0x25df('0x6b')):'')!=_0x5a64b7[_0x25df('0x11')]&&_0x536c4b[_0x25df('0x8')][_0x25df('0x15')](()=>{_0x30f95c['markBlockFormat'](_0x28add7,{'commandName':_0x25df('0x73'),'commandParams':[_0x5a64b7]});});}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x3a07a4=>{if(!!_0x45cc89[_0x25df('0x2d')](({type:_0x17f26a,subType:_0x5b3506})=>_0x3a07a4[_0x25df('0x50')]==_0x17f26a&&_0x3a07a4[_0x25df('0x29')]==_0x5b3506))return _0x3a07a4[_0x25df('0x2')]?{}:void 0x0;}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x2f7be6=>{if(_0x25df('0x60')==_0x2f7be6[_0x25df('0x50')]||_0x25df('0x66')==_0x2f7be6[_0x25df('0x50')]){const _0x5c7353=_0x2f7be6['getContainedElement']();if(_0x5c7353&&_0x5c7353['is'](_0x25df('0x36'),_0x25df('0x1')))return{'type':_0x25df('0x60')==_0x2f7be6[_0x25df('0x50')]?_0x25df('0x19'):_0x25df('0x1a'),'element':_0x5c7353,'quantity':0x1};}}),_0x30f95c[_0x25df('0x47')][_0x25df('0xd')](_0x34fb3e=>_0x25df('0x6f')==_0x34fb3e[_0x25df('0x50')]&&_0x25df('0x1b')==_0x34fb3e[_0x25df('0x29')]?{'type':_0x25df('0x45'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x34fb3e[_0x25df('0x50')]&&'convertBlockImageToInline'==_0x34fb3e[_0x25df('0x29')]?{'type':_0x25df('0x45'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x30f95c[_0x25df('0x47')]['registerDescriptionCallback'](_0x43c041=>{const {data:_0x4ae535}=_0x43c041;if(_0x4ae535){if(_0x25df('0x6e')==_0x4ae535[_0x25df('0x39')]){const _0x4fd535=_0x4ae535[_0x25df('0x4b')][0x0][_0x25df('0x51')];return _0x4bcadb('side'===_0x4fd535?_0x32720a(_0x49e9d2,_0x25df('0x77')):_0x5852b1[_0x4fd535]||_0x4fd535);}if(_0x25df('0x73')==_0x4ae535['commandName']){const _0x3213ec=_0x4ae535[_0x25df('0x4b')][0x0][_0x25df('0x11')];return _0x3213ec?{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x5c'),'\x22'+_0x3213ec+'\x22')}:{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x62'))};}if(_0x25df('0x37')==_0x4ae535[_0x25df('0x39')]){const _0x3111df=_0x4ae535[_0x25df('0x4b')][0x0]['width'];return _0x3111df?{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x34'),_0x3111df)}:{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,'*Reset\x20image\x20width*')};}}function _0x4bcadb(_0x4f7922){return{'type':_0x25df('0x45'),'content':_0x32720a(_0x49e9d2,_0x25df('0x67'),_0x4f7922)};}});}}
23
+ const _0x9fac=['head','getAttribute','createRangeOn','imageTextAlternative','toPrevious','document','ImageStyleEditing','newRange','getCaptionFromImageModelElement','isCollapsed','imageTypeInline','change','*Set\x20image\x20text\x20alternative:*\x20%0','isInlineImage','imageStylePostApply','resizeImage','getSuggestion','isOwn','subType','markInlineFormat','Inline\x20image\x20to\x20block\x20image','schema','toNext','ImageUploadEditing','toggleImageCaption','isIntersecting','nodeBefore','commandName','refresh','registerPostFixer','afterInit','normalizedStyles','title','_splitMarkerName','hasSuggestion','formatBlock','*Reset\x20image\x20width*','start','alt','ImageCaptionUtils','convertBlockImageToInline','registerElementLabel','shouldConvertImageType','imageTypeBlock','imageStyle','_suggestionFactory','ImageTextAlternativeEditing','filter','commandParams','getSuggestions','next','format','insertion','name','getFirstRange','getNearestSelectionRange','newValue','Users','_descriptionFactory','forEach','getClosestSelectedImageElement','caption','registerCustomCallback','end','markInsertion','forward','length','imageInline','*Set\x20image\x20width:*\x20%0','value','*Remove\x20image\x20text\x20alternative*','type','detach','getSuggestionCallback','ELEMENT_IMAGE','ImageCaptionEditing','Block\x20image\x20to\x20inline\x20image','FORMAT_SIDE_IMAGE','markBlockFormat','suggestion','find','registerDescriptionCallback','_findSuggestions','commands','getChangedMarkers','*Format:*\x20%0','plugins','chain','backward','TrackChangesEditing','width','ELEMENT_INLINE_IMAGE','addObject','isBlockImage','createRange','isInContent','enableCommand','imageStylePreApply','getContainedElement','discardSuggestion','isEqual','get','locale','selection','author','side','convertInlineImageToBlock','discard','model','nodeAfter','fromPosition','accept','findIndex','insertImage','join','has','differ','imageCaption','commandReversedParams','uploadImage','previous','isBefore'];(function(_0x470a79,_0x9fac1){const _0x58350c=function(_0x279e7e){while(--_0x279e7e){_0x470a79['push'](_0x470a79['shift']());}};_0x58350c(++_0x9fac1);}(_0x9fac,0x18e));const _0x5835=function(_0x470a79,_0x9fac1){_0x470a79=_0x470a79-0x0;let _0x58350c=_0x9fac[_0x470a79];return _0x58350c;};import{Plugin as _0x4ba67f}from'ckeditor5/src/core';import{LivePosition as _0x4a46bd}from'ckeditor5/src/engine';import{uid as _0x92ff32}from'ckeditor5/src/utils';import{getTranslation as _0xe3b8f3}from'../utils/common-translations';export default class V extends _0x4ba67f{[_0x5835('0x78')](){const _0x5834f5=this['editor'];if(!_0x5834f5[_0x5835('0x36')][_0x5835('0x53')]('ImageEditing'))return;const _0x50d537=_0x5834f5[_0x5835('0x36')][_0x5835('0x45')](_0x5835('0x39')),_0x256f2a=_0x5834f5[_0x5835('0x36')]['get']('ImageUtils'),_0x23cca4={},_0x5ce467=_0x5834f5[_0x5835('0x46')];if(_0x50d537[_0x5835('0x40')](_0x5835('0x51')),_0x50d537['_descriptionFactory'][_0x5835('0x9')]('imageBlock',_0x765a6c=>_0xe3b8f3(_0x5ce467,_0x5835('0x2a'),_0x765a6c)),_0x50d537[_0x5835('0x1a')][_0x5835('0x9')](_0x5835('0x23'),_0x16e106=>_0xe3b8f3(_0x5ce467,_0x5835('0x3b'),_0x16e106)),_0x50d537[_0x5835('0x1a')][_0x5835('0x9')](_0x5835('0x1d'),()=>_0xe3b8f3(_0x5ce467,'ELEMENT_CAPTION')),_0x5834f5['plugins'][_0x5835('0x53')](_0x5835('0x71'))&&_0x50d537[_0x5835('0x40')](_0x5835('0x57')),_0x5834f5[_0x5835('0x36')][_0x5835('0x53')]('ImageBlockEditing')&&_0x5834f5[_0x5835('0x36')]['has']('ImageInlineEditing')&&(_0x50d537[_0x5835('0x40')]('imageTypeInline',(_0x54b077,_0x54de58)=>{const _0x343149=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x47')]);_0x5834f5[_0x5835('0x4c')][_0x5835('0x65')](()=>{_0x50d537[_0x5835('0x2e')](_0x343149,{'commandName':_0x5835('0x64'),'commandParams':[_0x54de58]},[],_0x5835('0x8'));});}),_0x50d537[_0x5835('0x40')](_0x5835('0xb'),(_0x2732db,_0x428b31)=>{_0x5834f5['model'][_0x5835('0x65')](_0x5a800e=>{let _0x3e6c94=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')]['selection']),_0x531d47=_0x5a800e[_0x5835('0x5c')](_0x3e6c94);const _0x433925=_0x4a46bd['fromPosition'](_0x531d47[_0x5835('0x5')],_0x5835('0x5e')),_0x1c5223=_0x4a46bd[_0x5835('0x4e')](_0x531d47['end'],_0x5835('0x70'));_0x50d537['forceDefaultExecution'](()=>_0x2732db(_0x428b31)),_0x3e6c94=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')]['document']['selection']),_0x531d47=_0x5a800e[_0x5835('0x5c')](_0x3e6c94);const _0x31f412=_0x5a800e['createRange'](_0x433925,_0x1c5223);_0x433925[_0x5835('0x28')](),_0x1c5223[_0x5835('0x28')](),_0x50d537[_0x5835('0x2e')](_0x3e6c94,{'commandName':_0x5835('0x64')},[],_0x5835('0x4a')),_0x31f412[_0x5835('0x5')]['isBefore'](_0x531d47[_0x5835('0x5')])&&_0x50d537[_0x5835('0x20')](_0x5a800e[_0x5835('0x3e')](_0x31f412['start'],_0x531d47['start']),_0x5835('0x4a')),_0x531d47[_0x5835('0x1f')]['isBefore'](_0x31f412['end'])&&_0x50d537[_0x5835('0x20')](_0x5a800e['createRange'](_0x531d47[_0x5835('0x1f')],_0x31f412[_0x5835('0x1f')]),_0x5835('0x4a'));});}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),_0x5835('0x52'),()=>{}),_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),_0x5835('0x4f'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),_0x5835('0x4b'),_0x50d537['_suggestionFactory'][_0x5835('0x29')](_0x5835('0x3'),'',_0x5835('0x4f'))),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x14'),_0x5835('0x4a'),_0x5835('0x52'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')]('insertion',_0x5835('0x4a'),_0x5835('0x4b'),([_0xf44232])=>{const _0x3e93f8=_0x50d537[_0x5835('0xd')][_0x5835('0x29')](_0x5835('0x14'),'',_0x5835('0x4b'));let _0x1da0b8=_0xf44232[_0x5835('0x5')],_0x41a3fb=_0xf44232[_0x5835('0x1f')];const _0x38a094=_0x5834f5[_0x5835('0x4c')][_0x5835('0x6f')][_0x5835('0x17')](_0x1da0b8,_0x5835('0x38')),_0x1e05ab=_0x5834f5[_0x5835('0x4c')][_0x5835('0x6f')][_0x5835('0x17')](_0x41a3fb,_0x5835('0x21'));_0x38a094[_0x5835('0x63')]&&(_0x1da0b8=_0x38a094['start']),_0x1e05ab[_0x5835('0x63')]&&(_0x41a3fb=_0x1e05ab[_0x5835('0x1f')]),_0x3e93f8([_0x5834f5[_0x5835('0x4c')]['createRange'](_0x1da0b8,_0x41a3fb)]);}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x4a'),'chain',_0x2e3d0c),_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x14'),_0x5835('0x4a'),'chain',_0x2e3d0c)),_0x5834f5[_0x5835('0x36')]['has'](_0x5835('0x2b'))&&(_0x50d537['enableCommand'](_0x5835('0x72'),(_0x3215e4,_0x2bea09)=>{const _0x3d5b4e=_0x5834f5['plugins'][_0x5835('0x45')](_0x5835('0x7'));let _0x4f3d02=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),_0x4c2e2f=_0x3d5b4e[_0x5835('0x62')](_0x4f3d02);_0x5834f5['model'][_0x5835('0x65')](()=>{if(_0x4c2e2f)return void _0x50d537['markDeletion'](_0x5834f5['model'][_0x5835('0x5c')](_0x4c2e2f));const _0x20e5d8=_0x256f2a[_0x5835('0x3d')](_0x4f3d02);_0x3215e4(_0x2bea09),_0x4f3d02=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),_0x4c2e2f=_0x3d5b4e['getCaptionFromImageModelElement'](_0x4f3d02),_0x50d537[_0x5835('0x20')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5c')](_0x4c2e2f),_0x20e5d8?null:_0x5835('0x55'));});}),_0x50d537[_0x5835('0xd')]['registerCustomCallback'](_0x5835('0x14'),_0x5835('0x55'),_0x5835('0x37'),_0x2e3d0c)),_0x5834f5[_0x5835('0x36')]['has'](_0x5835('0x60'))){_0x50d537['enableCommand'](_0x5835('0xc'),(_0x2e8feb,_0x365955)=>{const _0x1e8466=_0x5834f5['plugins'][_0x5835('0x45')](_0x5835('0x19'))['me'],_0x13b67c=_0x5834f5['commands'][_0x5835('0x45')](_0x5835('0xc'));let _0xa70978=_0x256f2a['getClosestSelectedImageElement'](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),_0x401f2d=_0x5834f5[_0x5835('0x4c')][_0x5835('0x5c')](_0xa70978),_0x59dfe2=_0x13b67c[_0x5835('0x25')];if(_0x59dfe2==_0x365955['value'])return;const _0x5ec510={'commandName':_0x5835('0xc'),'commandParams':[_0x365955],'formatGroupId':_0x92ff32()};_0x5834f5['model'][_0x5835('0x65')](()=>{if(_0x50d537[_0x5835('0x11')]()[_0x5835('0xf')](_0x678130=>_0x678130[_0x5835('0x3f')]&&_0x1e8466==_0x678130[_0x5835('0x48')]&&('formatBlock'==_0x678130[_0x5835('0x27')]||'formatInline'==_0x678130[_0x5835('0x27')])&&(_0x5835('0x41')==_0x678130[_0x5835('0x6c')]||_0x5835('0x68')==_0x678130[_0x5835('0x6c')])&&_0x678130[_0x5835('0x16')]()[_0x5835('0x44')](_0x401f2d))[_0x5835('0x1b')](_0x1d6e21=>_0x50d537[_0x5835('0x43')](_0x1d6e21[_0x5835('0x5a')])),_0xa70978=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x47')]),_0x401f2d=_0x5834f5[_0x5835('0x4c')][_0x5835('0x5c')](_0xa70978),_0x13b67c[_0x5835('0x76')](),_0x5834f5[_0x5835('0x33')][_0x5835('0x45')]('imageTypeInline')['refresh'](),_0x5834f5[_0x5835('0x33')][_0x5835('0x45')](_0x5835('0xb'))[_0x5835('0x76')](),_0x59dfe2=_0x13b67c['value'],_0x59dfe2!=_0x365955[_0x5835('0x25')])return _0x256f2a[_0x5835('0x67')](_0xa70978)&&_0x13b67c[_0x5835('0xa')](_0x365955[_0x5835('0x25')],_0xa70978)?(_0x2e8feb(_0x365955),_0xa70978=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')][_0x5835('0x47')]),void _0x50d537[_0x5835('0x2e')](_0xa70978,{..._0x5ec510,'commandReversedParams':[{'value':_0x59dfe2||null}]},[],_0x5835('0x41'))):void(_0x256f2a['isBlockImage'](_0xa70978)?_0x50d537[_0x5835('0x2e')](_0xa70978,_0x5ec510,[],_0x5835('0x68')):_0x50d537[_0x5835('0x6d')](_0x401f2d,_0x5ec510,_0x5835('0x68')));});});for(const _0x227bad of _0x5834f5[_0x5835('0x36')][_0x5835('0x45')](_0x5835('0x60'))[_0x5835('0x79')])_0x23cca4[_0x227bad[_0x5835('0x15')]]=_0x227bad[_0x5835('0x0')]['toLowerCase']();_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x41'),_0x5835('0x52'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x68'),_0x5835('0x52'),()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')]('formatInline',_0x5835('0x68'),_0x5835('0x52'),()=>{}),_0x50d537['_suggestionFactory'][_0x5835('0x1e')](_0x5835('0x3'),_0x5835('0x41'),'accept',()=>{}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')](_0x5835('0x3'),'imageStylePreApply',_0x5835('0x4b'),(_0x5f8cc0,_0x229c60)=>{_0x50d537['_suggestionFactory'][_0x5835('0x29')](_0x5835('0x3'),'',_0x5835('0x4f'))(_0x5f8cc0,{'commandName':_0x229c60[_0x5835('0x75')],'commandParams':_0x229c60[_0x5835('0x56')]});}),_0x50d537[_0x5835('0xd')][_0x5835('0x1e')]('formatBlock','imageStylePreApply',_0x5835('0x37'),_0x2e3d0c);}const _0x481d74=[{'type':'formatBlock','subType':_0x5835('0x41')},{'type':_0x5835('0x14'),'subType':_0x5835('0x55')},{'type':_0x5835('0x3'),'subType':_0x5835('0x4a')},{'type':_0x5835('0x14'),'subType':_0x5835('0x4a')}];function _0x248480(_0x23055f,_0x5ede26){const _0x169c0e=_0x481d74['findIndex'](({type:_0x21818c,subType:_0x3bc6de})=>_0x23055f[_0x5835('0x27')]==_0x21818c&&_0x23055f[_0x5835('0x6c')]==_0x3bc6de),_0x3b1476=_0x481d74[_0x5835('0x50')](({type:_0x6e591f,subType:_0x2c1d3d})=>_0x5ede26['type']==_0x6e591f&&_0x5ede26[_0x5835('0x6c')]==_0x2c1d3d);if(_0x169c0e<0x0||_0x3b1476<0x0)return!0x1;const _0x44c246=_0x23055f[_0x5835('0x16')](),_0xb2ba43=_0x5ede26[_0x5835('0x16')]();if((0x0==_0x169c0e||0x1==_0x169c0e)&&0x2==_0x3b1476&&_0x44c246[_0x5835('0x73')](_0xb2ba43))return!0x0;if(0x2==_0x169c0e&&0x3==_0x3b1476){const _0x22fdb8=_0x50d537[_0x5835('0x32')](_0x44c246,_0x5835('0x14'))['filter'](({suggestion:_0x2d8390,meta:_0x303a7b})=>_0x303a7b[_0x5835('0x6b')]&&_0x5835('0x4a')==_0x2d8390[_0x5835('0x6c')]);if(_0x22fdb8['length']>0x1&&_0xb2ba43[_0x5835('0x1f')][_0x5835('0x44')](_0x44c246['start']))return!0x0;if(0x1==_0x22fdb8[_0x5835('0x22')]&&(_0x44c246[_0x5835('0x5')]['isEqual'](_0xb2ba43[_0x5835('0x1f')])||_0x44c246['end'][_0x5835('0x44')](_0xb2ba43[_0x5835('0x5')])))return!0x0;}if(0x3==_0x169c0e&&0x3==_0x3b1476&&_0x44c246[_0x5835('0x5')][_0x5835('0x59')](_0xb2ba43['start'])){const _0x8293e8=_0x44c246['end'][_0x5835('0x4d')],_0x50522c=_0xb2ba43['start'][_0x5835('0x74')];return _0x256f2a[_0x5835('0x3d')](_0x8293e8)&&_0x8293e8===_0x50522c;}return!0x1;}function _0x2e3d0c(_0x3ae3aa,_0x34cb1b){return _0x248480(_0x3ae3aa,_0x34cb1b)?[_0x3ae3aa,_0x34cb1b]:_0x248480(_0x34cb1b,_0x3ae3aa)?[_0x34cb1b,_0x3ae3aa]:null;}_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x77')](()=>{let _0x55313a=!0x1;const _0x616073=Array['from'](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x54')][_0x5835('0x34')]());for(const {name:_0x2f8191,data:_0x106bc6}of _0x616073){const {group:_0x44eef2,type:_0x33b6dd,subType:_0x33bcae,id:_0x4717e8}=_0x50d537[_0x5835('0x1')](_0x2f8191);if(_0x5835('0x2f')==_0x44eef2&&_0x50d537[_0x5835('0x2')](_0x4717e8)){if(_0x5835('0x3')==_0x33b6dd&&(_0x5835('0x41')==_0x33bcae||_0x5835('0x68')==_0x33bcae)){const _0x47ee12=_0x50d537[_0x5835('0x6a')](_0x4717e8);if(_0x106bc6[_0x5835('0x61')]){const _0x7f0dc2=_0x47ee12[_0x5835('0x16')]()[_0x5835('0x42')]();if(_0x256f2a['isBlockImage'](_0x7f0dc2))continue;_0x50d537['discardSuggestion'](_0x47ee12),_0x55313a=!0x0;}}if(_0x5835('0x14')==_0x33b6dd&&'imageCaption'==_0x33bcae&&!_0x106bc6[_0x5835('0x61')]){const _0x477d9c=_0x50d537['getSuggestion'](_0x4717e8);_0x477d9c['next']&&_0x477d9c[_0x5835('0x12')][_0x5835('0x3f')]&&(_0x50d537[_0x5835('0x43')](_0x477d9c['next']),_0x55313a=!0x0);}}}return _0x55313a;}),_0x5834f5[_0x5835('0x36')][_0x5835('0x53')]('ImageResize')&&_0x50d537[_0x5835('0x40')](_0x5835('0x69'),(_0x452e8e,_0x588453)=>{const _0x133b5d=_0x256f2a[_0x5835('0x1c')](_0x5834f5['model'][_0x5835('0x5f')]['selection']);_0x133b5d[_0x5835('0x5b')](_0x5835('0x3a'))!=_0x588453['width']&&_0x5834f5[_0x5835('0x4c')][_0x5835('0x65')](()=>{_0x50d537[_0x5835('0x2e')](_0x133b5d,{'commandName':_0x5835('0x69'),'commandParams':[_0x588453]});});}),_0x5834f5['plugins']['has'](_0x5835('0xe'))&&_0x50d537[_0x5835('0x40')](_0x5835('0x5d'),(_0x485e66,_0x5fcec1)=>{const _0x953d5e=_0x256f2a[_0x5835('0x1c')](_0x5834f5[_0x5835('0x4c')][_0x5835('0x5f')][_0x5835('0x47')]);(_0x953d5e['hasAttribute'](_0x5835('0x6'))?_0x953d5e[_0x5835('0x5b')]('alt'):'')!=_0x5fcec1[_0x5835('0x18')]&&_0x5834f5['model']['change'](()=>{_0x50d537[_0x5835('0x2e')](_0x953d5e,{'commandName':'imageTextAlternative','commandParams':[_0x5fcec1]});});}),_0x50d537['_descriptionFactory'][_0x5835('0x31')](_0x4fcf26=>{if(!!_0x481d74[_0x5835('0x30')](({type:_0x4a6948,subType:_0x585bba})=>_0x4fcf26[_0x5835('0x27')]==_0x4a6948&&_0x4fcf26[_0x5835('0x6c')]==_0x585bba))return _0x4fcf26[_0x5835('0x58')]?{}:void 0x0;}),_0x50d537[_0x5835('0x1a')][_0x5835('0x31')](_0x39f8b8=>{if(_0x5835('0x14')==_0x39f8b8['type']||'deletion'==_0x39f8b8['type']){const _0x303c16=_0x39f8b8['getContainedElement']();if(_0x303c16&&_0x303c16['is']('element',_0x5835('0x1d')))return{'type':'insertion'==_0x39f8b8[_0x5835('0x27')]?_0x5835('0x3c'):'removeObject','element':_0x303c16,'quantity':0x1};}}),_0x50d537[_0x5835('0x1a')][_0x5835('0x31')](_0x1d5cf1=>_0x5835('0x3')==_0x1d5cf1[_0x5835('0x27')]&&'convertInlineImageToBlock'==_0x1d5cf1['subType']?{'type':_0x5835('0x13'),'content':_0x5835('0x6e')}:_0x5835('0x3')==_0x1d5cf1['type']&&_0x5835('0x8')==_0x1d5cf1['subType']?{'type':'format','content':_0x5835('0x2c')}:void 0x0),_0x50d537['_descriptionFactory'][_0x5835('0x31')](_0x41fac8=>{const {data:_0x510609}=_0x41fac8;if(_0x510609){if('imageStyle'==_0x510609[_0x5835('0x75')]){const _0x236467=_0x510609[_0x5835('0x10')][0x0]['value'];return _0x3e3c42(_0x5835('0x49')===_0x236467?_0xe3b8f3(_0x5ce467,_0x5835('0x2d')):_0x23cca4[_0x236467]||_0x236467);}if(_0x5835('0x5d')==_0x510609[_0x5835('0x75')]){const _0x7a00fd=_0x510609[_0x5835('0x10')][0x0][_0x5835('0x18')];return _0x7a00fd?{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x66'),'\x22'+_0x7a00fd+'\x22')}:{'type':'format','content':_0xe3b8f3(_0x5ce467,_0x5835('0x26'))};}if(_0x5835('0x69')==_0x510609[_0x5835('0x75')]){const _0x2511c7=_0x510609['commandParams'][0x0]['width'];return _0x2511c7?{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x24'),_0x2511c7)}:{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x4'))};}}function _0x3e3c42(_0x5ccf86){return{'type':_0x5835('0x13'),'content':_0xe3b8f3(_0x5ce467,_0x5835('0x35'),_0x5ccf86)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5000=['execute','enableCommand','collaboration_features','value','forEach','plugins','_trackChangesExecuted','get','afterInit','editor','_setSuggestionData','importWord','trackChanges','_handleImportedData','bind','commands','track_changes','_trackChangesValueDuringImport','listenTo','dataInsert'];(function(_0x57adea,_0x5000b6){const _0x57bf2b=function(_0x48bacb){while(--_0x48bacb){_0x57adea['push'](_0x57adea['shift']());}};_0x57bf2b(++_0x5000b6);}(_0x5000,0x1d4));const _0x57bf=function(_0x57adea,_0x5000b6){_0x57adea=_0x57adea-0x0;let _0x57bf2b=_0x5000[_0x57adea];return _0x57bf2b;};import{Plugin as _0x981ef7}from'ckeditor5/src/core';import _0x258de6 from'../trackchangesediting';export default class X extends _0x981ef7{constructor(_0x5e6fc4){super(_0x5e6fc4),this[_0x57bf('0x9')]=!0x1,this[_0x57bf('0x12')]=!0x1;}[_0x57bf('0x0')](){const _0x370e3d=this[_0x57bf('0x1')],_0x221fe7=_0x370e3d[_0x57bf('0x7')]['get']('importWord'),_0x51d488=_0x370e3d[_0x57bf('0x7')][_0x57bf('0x13')](_0x57bf('0x4'));_0x221fe7&&(_0x221fe7['on'](_0x57bf('0xc'),(_0x305c8b,[,_0x18c304])=>{this[_0x57bf('0x9')]=_0x51d488[_0x57bf('0xf')],_0x18c304[_0x57bf('0xe')][_0x57bf('0x8')]=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this[_0x57bf('0xa')](_0x221fe7,_0x57bf('0xb'),this[_0x57bf('0x5')][_0x57bf('0x6')](this)),this[_0x57bf('0xa')](_0x221fe7,'dataInsert',()=>{this[_0x57bf('0x12')]&&(_0x51d488[_0x57bf('0xc')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x370e3d[_0x57bf('0x11')][_0x57bf('0x13')]('TrackChangesEditing')[_0x57bf('0xd')](_0x57bf('0x3')));}[_0x57bf('0x5')](_0x177c6a,_0x3e6fae){const {suggestions:_0x2cc2f2}=_0x3e6fae,_0x3e5433=this[_0x57bf('0x1')][_0x57bf('0x7')][_0x57bf('0x13')](_0x57bf('0x4')),_0x1d0944=_0x3e5433[_0x57bf('0xf')];this[_0x57bf('0x9')]!==_0x1d0944&&(_0x3e5433[_0x57bf('0xc')](),this[_0x57bf('0x12')]=!0x0),_0x2cc2f2&&_0x2cc2f2[_0x57bf('0x10')](({id:_0x99e601,type:_0x2be075,author:_0x469642,created_at:_0x38a878})=>{const _0x4a3dc8={'id':_0x99e601,'type':_0x2be075,'authorId':this['editor'][_0x57bf('0x11')][_0x57bf('0x13')]('Users')['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x469642,'createdAt':_0x38a878?new Date(_0x38a878):new Date(),'source':_0x57bf('0x3')}}};this[_0x57bf('0x1')][_0x57bf('0x11')][_0x57bf('0x13')](_0x258de6)[_0x57bf('0x2')](_0x4a3dc8);});}}
23
+ const _0x3309=['importWord','_handleImportedData','trackChanges','execute','editor','high','commands','_setSuggestionData','_trackChangesExecuted','get','plugins','forEach','enableCommand','_trackChangesValueDuringImport','lowest','listenTo','track_changes','TrackChangesEditing','Users','value'];(function(_0x3a5851,_0x3309dc){const _0x4c4152=function(_0x3b309f){while(--_0x3b309f){_0x3a5851['push'](_0x3a5851['shift']());}};_0x4c4152(++_0x3309dc);}(_0x3309,0x159));const _0x4c41=function(_0x3a5851,_0x3309dc){_0x3a5851=_0x3a5851-0x0;let _0x4c4152=_0x3309[_0x3a5851];return _0x4c4152;};import{Plugin as _0x2156e6}from'ckeditor5/src/core';import _0xdcfa47 from'../trackchangesediting';export default class X extends _0x2156e6{constructor(_0x38cbd2){super(_0x38cbd2),this[_0x4c41('0x8')]=!0x1,this[_0x4c41('0x3')]=!0x1;}['afterInit'](){const _0xb87495=this['editor'],_0x40a208=_0xb87495[_0x4c41('0x1')]['get']('importWord'),_0xcdf209=_0xb87495[_0x4c41('0x1')]['get'](_0x4c41('0x11'));_0x40a208&&(_0x40a208['on'](_0x4c41('0x12'),(_0x310780,[,_0x40eaf6])=>{this[_0x4c41('0x8')]=_0xcdf209[_0x4c41('0xe')],_0x40eaf6['collaboration_features'][_0x4c41('0xb')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4c41('0x0')}),this[_0x4c41('0xa')](_0x40a208,'dataInsert',this[_0x4c41('0x10')]['bind'](this)),this[_0x4c41('0xa')](_0x40a208,'dataInsert',()=>{this[_0x4c41('0x3')]&&(_0xcdf209['execute'](),this[_0x4c41('0x3')]=!0x1);},{'priority':_0x4c41('0x9')}),_0xb87495[_0x4c41('0x5')][_0x4c41('0x4')](_0x4c41('0xc'))[_0x4c41('0x7')](_0x4c41('0xf')));}[_0x4c41('0x10')](_0x35fb1e,_0x2a70c2){const {suggestions:_0x51404d}=_0x2a70c2,_0x1355b8=this[_0x4c41('0x13')][_0x4c41('0x1')][_0x4c41('0x4')]('trackChanges'),_0x1aa5df=_0x1355b8[_0x4c41('0xe')];this[_0x4c41('0x8')]!==_0x1aa5df&&(_0x1355b8[_0x4c41('0x12')](),this['_trackChangesExecuted']=!0x0),_0x51404d&&_0x51404d[_0x4c41('0x6')](({id:_0x4820ca,type:_0xb00705,author:_0x53937d,created_at:_0xdabbc8})=>{const _0x4275b9={'id':_0x4820ca,'type':_0xb00705,'authorId':this[_0x4c41('0x13')][_0x4c41('0x5')][_0x4c41('0x4')](_0x4c41('0xd'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x53937d,'createdAt':_0xdabbc8?new Date(_0xdabbc8):new Date(),'source':_0x4c41('0xf')}}};this['editor']['plugins'][_0x4c41('0x4')](_0xdcfa47)[_0x4c41('0x2')](_0x4275b9);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d3c=['getItemLabel','outdentBlock','afterInit','enableCommand','*Outdent:*\x20%0','IndentBlock','document','IndentEditing','editor','commandName','getSelectedBlocks','*Indent:*\x20%0','has','outdent','registerDescriptionCallback','filter','change','indentBlock','_descriptionFactory','indent','model','TrackChangesEditing','blockIndent','checkAttribute','selection','plugins','markBlockFormat'];(function(_0x42591a,_0x4d3ca9){const _0x2ccfd0=function(_0x536560){while(--_0x536560){_0x42591a['push'](_0x42591a['shift']());}};_0x2ccfd0(++_0x4d3ca9);}(_0x4d3c,0x17a));const _0x2ccf=function(_0x42591a,_0x4d3ca9){_0x42591a=_0x42591a-0x0;let _0x2ccfd0=_0x4d3c[_0x42591a];return _0x2ccfd0;};import{Plugin as _0x309bd5}from'ckeditor5/src/core';import{getTranslation as _0x100207}from'../utils/common-translations';export default class Y extends _0x309bd5{[_0x2ccf('0x2')](){const _0x3430b0=this[_0x2ccf('0x8')],_0x70b8fb=_0x3430b0[_0x2ccf('0x19')]['get'](_0x2ccf('0x15'));_0x3430b0['plugins'][_0x2ccf('0xc')](_0x2ccf('0x7'))&&(_0x70b8fb['enableCommand'](_0x2ccf('0x13')),_0x70b8fb[_0x2ccf('0x3')](_0x2ccf('0xd')));const _0x5f1586=_0x3430b0['locale'];if(_0x3430b0[_0x2ccf('0x19')][_0x2ccf('0xc')](_0x2ccf('0x5'))){for(const _0x3e41f7 of[_0x2ccf('0x11'),'outdentBlock'])_0x70b8fb[_0x2ccf('0x3')](_0x3e41f7,()=>{const _0xb849c9=Array['from'](this[_0x2ccf('0x8')][_0x2ccf('0x14')][_0x2ccf('0x6')][_0x2ccf('0x18')][_0x2ccf('0xa')]())[_0x2ccf('0xf')](_0x5d472a=>this[_0x2ccf('0x8')][_0x2ccf('0x14')]['schema'][_0x2ccf('0x17')](_0x5d472a,_0x2ccf('0x16')));_0x3430b0[_0x2ccf('0x14')][_0x2ccf('0x10')](()=>{for(const _0x628c18 of _0xb849c9)_0x70b8fb[_0x2ccf('0x1a')](_0x628c18,{'commandName':_0x3e41f7,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x70b8fb[_0x2ccf('0x12')][_0x2ccf('0xe')](_0x225023=>{const {data:_0xeb6727}=_0x225023;if(!_0xeb6727)return;if(_0x2ccf('0x11')!=_0xeb6727[_0x2ccf('0x9')]&&_0x2ccf('0x1')!=_0xeb6727['commandName'])return;const _0x6a95e4=_0x225023['getItems']()[0x0],_0x37e36c=_0x70b8fb[_0x2ccf('0x12')][_0x2ccf('0x0')](_0x6a95e4);return _0x2ccf('0x11')==_0xeb6727['commandName']?{'type':'format','content':_0x100207(_0x5f1586,_0x2ccf('0xb'),_0x37e36c)}:_0x2ccf('0x1')==_0xeb6727[_0x2ccf('0x9')]?{'type':'format','content':_0x100207(_0x5f1586,_0x2ccf('0x4'),_0x37e36c)}:void 0x0;});}}}
23
+ const _0x37d5=['filter','selection','enableCommand','commandName','IndentBlock','format','document','model','indent','_descriptionFactory','getSelectedBlocks','outdentBlock','has','indentBlock','get','locale','registerDescriptionCallback','getItemLabel','afterInit','change','editor','outdent','plugins','from','TrackChangesEditing','getItems'];(function(_0x5d8fa3,_0x37d551){const _0xbc581c=function(_0x1ed328){while(--_0x1ed328){_0x5d8fa3['push'](_0x5d8fa3['shift']());}};_0xbc581c(++_0x37d551);}(_0x37d5,0x1ed));const _0xbc58=function(_0x5d8fa3,_0x37d551){_0x5d8fa3=_0x5d8fa3-0x0;let _0xbc581c=_0x37d5[_0x5d8fa3];return _0xbc581c;};import{Plugin as _0x315060}from'ckeditor5/src/core';import{getTranslation as _0x17cfa7}from'../utils/common-translations';export default class Y extends _0x315060{[_0xbc58('0x13')](){const _0x2d2721=this['editor'],_0x3f1f65=_0x2d2721[_0xbc58('0x17')][_0xbc58('0xf')](_0xbc58('0x19'));_0x2d2721['plugins'][_0xbc58('0xd')]('IndentEditing')&&(_0x3f1f65['enableCommand'](_0xbc58('0x9')),_0x3f1f65[_0xbc58('0x3')](_0xbc58('0x16')));const _0x1ffbe9=_0x2d2721[_0xbc58('0x10')];if(_0x2d2721[_0xbc58('0x17')][_0xbc58('0xd')](_0xbc58('0x5'))){for(const _0x28ed1c of[_0xbc58('0xe'),_0xbc58('0xc')])_0x3f1f65['enableCommand'](_0x28ed1c,()=>{const _0x50e07b=Array[_0xbc58('0x18')](this[_0xbc58('0x15')][_0xbc58('0x8')][_0xbc58('0x7')][_0xbc58('0x2')][_0xbc58('0xb')]())[_0xbc58('0x1')](_0x306144=>this[_0xbc58('0x15')]['model']['schema']['checkAttribute'](_0x306144,'blockIndent'));_0x2d2721['model'][_0xbc58('0x14')](()=>{for(const _0x1f0fce of _0x50e07b)_0x3f1f65['markBlockFormat'](_0x1f0fce,{'commandName':_0x28ed1c,'commandParams':[{'value':''}],'formatGroupId':_0xbc58('0xe')});});});_0x3f1f65[_0xbc58('0xa')][_0xbc58('0x11')](_0x1e26ef=>{const {data:_0x34d53e}=_0x1e26ef;if(!_0x34d53e)return;if(_0xbc58('0xe')!=_0x34d53e[_0xbc58('0x4')]&&_0xbc58('0xc')!=_0x34d53e[_0xbc58('0x4')])return;const _0x5707c9=_0x1e26ef[_0xbc58('0x0')]()[0x0],_0x4fa5b7=_0x3f1f65[_0xbc58('0xa')][_0xbc58('0x12')](_0x5707c9);return _0xbc58('0xe')==_0x34d53e['commandName']?{'type':_0xbc58('0x6'),'content':_0x17cfa7(_0x1ffbe9,'*Indent:*\x20%0',_0x4fa5b7)}:'outdentBlock'==_0x34d53e['commandName']?{'type':_0xbc58('0x6'),'content':_0x17cfa7(_0x1ffbe9,'*Outdent:*\x20%0',_0x4fa5b7)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe8ca=['enableCommand','editor','get','plugins','requires','input','init','TrackChangesEditing'];(function(_0x546c04,_0xe8ca1a){var _0x4fc63a=function(_0x4d0f42){while(--_0x4d0f42){_0x546c04['push'](_0x546c04['shift']());}};_0x4fc63a(++_0xe8ca1a);}(_0xe8ca,0x1c6));var _0x4fc6=function(_0x546c04,_0xe8ca1a){_0x546c04=_0x546c04-0x0;var _0x4fc63a=_0xe8ca[_0x546c04];return _0x4fc63a;};import{Plugin as _0x56353e}from'ckeditor5/src/core';import{Input as _0x4016c1}from'ckeditor5/src/typing';export default class Z extends _0x56353e{static get[_0x4fc6('0x6')](){return[_0x4016c1];}[_0x4fc6('0x0')](){this[_0x4fc6('0x3')][_0x4fc6('0x5')][_0x4fc6('0x4')](_0x4fc6('0x1'))[_0x4fc6('0x2')](_0x4fc6('0x7'));}}
23
+ var _0x10c7=['get','requires','input','editor','enableCommand','TrackChangesEditing'];(function(_0x45e90a,_0x10c781){var _0x1df918=function(_0x4cf9b6){while(--_0x4cf9b6){_0x45e90a['push'](_0x45e90a['shift']());}};_0x1df918(++_0x10c781);}(_0x10c7,0x189));var _0x1df9=function(_0x45e90a,_0x10c781){_0x45e90a=_0x45e90a-0x0;var _0x1df918=_0x10c7[_0x45e90a];return _0x1df918;};import{Plugin as _0x64dea}from'ckeditor5/src/core';import{Input as _0x4ef7cb}from'ckeditor5/src/typing';export default class Z extends _0x64dea{static get[_0x1df9('0x4')](){return[_0x4ef7cb];}['init'](){this[_0x1df9('0x0')]['plugins'][_0x1df9('0x3')](_0x1df9('0x2'))[_0x1df9('0x1')](_0x1df9('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a13=['*Set\x20link:*\x20%0','commandName','format','getAttribute','getFirstPosition','afterInit','has','plugins','_descriptionFactory','locale','LinkEditing','editor','markInlineFormat','document','model','get','enableCommand','TrackChangesEditing','link','hasAttribute','unlink','selection','getFirstRange','isCollapsed','from','linkHref','registerDescriptionCallback'];(function(_0x50a587,_0x3a132a){const _0x4c8549=function(_0x581bd6){while(--_0x581bd6){_0x50a587['push'](_0x50a587['shift']());}};_0x4c8549(++_0x3a132a);}(_0x3a13,0x1b7));const _0x4c85=function(_0x50a587,_0x3a132a){_0x50a587=_0x50a587-0x0;let _0x4c8549=_0x3a13[_0x50a587];return _0x4c8549;};import{Plugin as _0x4c4b95}from'ckeditor5/src/core';import{findAttributeRange as _0x41cfef}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x30fb20}from'./utils';import{getTranslation as _0x1e25c3}from'../utils/common-translations';export default class tt extends _0x4c4b95{[_0x4c85('0x19')](){const _0x2480ec=this[_0x4c85('0x4')];if(!_0x2480ec[_0x4c85('0x0')][_0x4c85('0x1a')](_0x4c85('0x3')))return;const _0x3201c3=_0x2480ec[_0x4c85('0x0')][_0x4c85('0x8')](_0x4c85('0xa'));_0x3201c3['enableCommand'](_0x4c85('0xb'),(_0x2e8876,_0x4cd395)=>{const _0x2bfb5f=_0x2480ec[_0x4c85('0x7')][_0x4c85('0x6')][_0x4c85('0xe')];let _0x4aec53=[];if(_0x2bfb5f[_0x4c85('0x10')]){if(!_0x2bfb5f[_0x4c85('0xc')](_0x4c85('0x12')))return void _0x2e8876(_0x4cd395);{const _0x21fe84=_0x41cfef(_0x2bfb5f[_0x4c85('0x18')](),_0x4c85('0x12'),_0x2bfb5f[_0x4c85('0x17')](_0x4c85('0x12')),_0x2480ec[_0x4c85('0x7')]);_0x4aec53=[_0x21fe84];}}else _0x4aec53=Array[_0x4c85('0x11')](_0x2bfb5f['getRanges']());_0x2480ec[_0x4c85('0x7')]['change'](()=>{for(const _0x119857 of _0x4aec53)_0x3201c3[_0x4c85('0x5')](_0x119857,{'commandName':_0x4c85('0xb'),'commandParams':[_0x4cd395]});});}),_0x3201c3[_0x4c85('0x9')]('unlink',()=>{const _0x1dfec1=this[_0x4c85('0x4')]['model'],_0x20e293=_0x1dfec1['document'][_0x4c85('0xe')];_0x1dfec1['change'](()=>{let _0x38698c=[];if(_0x20e293[_0x4c85('0x10')])_0x38698c=[_0x41cfef(_0x20e293[_0x4c85('0x18')](),_0x4c85('0x12'),_0x20e293[_0x4c85('0x17')](_0x4c85('0x12')),_0x2480ec['model'])];else _0x38698c=_0x30fb20(_0x4c85('0x12'),_0x20e293[_0x4c85('0xf')](),_0x2480ec[_0x4c85('0x7')]);for(const _0x4fd63e of _0x38698c)_0x3201c3[_0x4c85('0x5')](_0x4fd63e,{'commandName':_0x4c85('0xd'),'commandParams':[]});});}),_0x3201c3[_0x4c85('0x1')][_0x4c85('0x13')](_0x1b70b8=>{const {data:_0x4b74a8}=_0x1b70b8,_0x2e1af4=_0x2480ec[_0x4c85('0x2')];if(_0x4b74a8){if(_0x4c85('0xb')==_0x4b74a8[_0x4c85('0x15')]){const _0x4be77d=_0x4b74a8['commandParams'][0x0];return{'type':_0x4c85('0x16'),'content':_0x1e25c3(_0x2e1af4,_0x4c85('0x14'),'\x22'+_0x4be77d+'\x22')};}return _0x4c85('0xd')==_0x4b74a8[_0x4c85('0x15')]?{'type':_0x4c85('0x16'),'content':_0x1e25c3(_0x2e1af4,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x417e=['commandName','get','hasAttribute','editor','unlink','*Remove\x20link*','*Set\x20link:*\x20%0','markInlineFormat','locale','format','document','isCollapsed','commandParams','getAttribute','registerDescriptionCallback','TrackChangesEditing','link','_descriptionFactory','getFirstPosition','getFirstRange','afterInit','change','selection','plugins','model','enableCommand','has','linkHref','LinkEditing'];(function(_0x27e859,_0x417e1f){const _0x189380=function(_0x3b8bd1){while(--_0x3b8bd1){_0x27e859['push'](_0x27e859['shift']());}};_0x189380(++_0x417e1f);}(_0x417e,0x10b));const _0x1893=function(_0x27e859,_0x417e1f){_0x27e859=_0x27e859-0x0;let _0x189380=_0x417e[_0x27e859];return _0x189380;};import{Plugin as _0x5baf9f}from'ckeditor5/src/core';import{findAttributeRange as _0x5e18e4}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2de67b}from'./utils';import{getTranslation as _0x5addc2}from'../utils/common-translations';export default class tt extends _0x5baf9f{[_0x1893('0xe')](){const _0x5a5cb0=this[_0x1893('0x1a')];if(!_0x5a5cb0[_0x1893('0x11')][_0x1893('0x14')](_0x1893('0x16')))return;const _0x21b007=_0x5a5cb0[_0x1893('0x11')][_0x1893('0x18')](_0x1893('0x9'));_0x21b007[_0x1893('0x13')]('link',(_0x31f42b,_0x158ef6)=>{const _0x509301=_0x5a5cb0[_0x1893('0x12')][_0x1893('0x4')][_0x1893('0x10')];let _0x410ddb=[];if(_0x509301[_0x1893('0x5')]){if(!_0x509301[_0x1893('0x19')](_0x1893('0x15')))return void _0x31f42b(_0x158ef6);{const _0x21c79a=_0x5e18e4(_0x509301[_0x1893('0xc')](),_0x1893('0x15'),_0x509301['getAttribute'](_0x1893('0x15')),_0x5a5cb0[_0x1893('0x12')]);_0x410ddb=[_0x21c79a];}}else _0x410ddb=Array['from'](_0x509301['getRanges']());_0x5a5cb0[_0x1893('0x12')]['change'](()=>{for(const _0xe03015 of _0x410ddb)_0x21b007[_0x1893('0x1')](_0xe03015,{'commandName':_0x1893('0xa'),'commandParams':[_0x158ef6]});});}),_0x21b007[_0x1893('0x13')]('unlink',()=>{const _0x186336=this[_0x1893('0x1a')][_0x1893('0x12')],_0x4f31c7=_0x186336[_0x1893('0x4')][_0x1893('0x10')];_0x186336[_0x1893('0xf')](()=>{let _0x2cd76a=[];if(_0x4f31c7[_0x1893('0x5')])_0x2cd76a=[_0x5e18e4(_0x4f31c7[_0x1893('0xc')](),_0x1893('0x15'),_0x4f31c7[_0x1893('0x7')](_0x1893('0x15')),_0x5a5cb0[_0x1893('0x12')])];else _0x2cd76a=_0x2de67b(_0x1893('0x15'),_0x4f31c7[_0x1893('0xd')](),_0x5a5cb0['model']);for(const _0xbe10d2 of _0x2cd76a)_0x21b007[_0x1893('0x1')](_0xbe10d2,{'commandName':_0x1893('0x1b'),'commandParams':[]});});}),_0x21b007[_0x1893('0xb')][_0x1893('0x8')](_0xb498f0=>{const {data:_0x17f05f}=_0xb498f0,_0x559d4a=_0x5a5cb0[_0x1893('0x2')];if(_0x17f05f){if('link'==_0x17f05f['commandName']){const _0x1fc7d0=_0x17f05f[_0x1893('0x6')][0x0];return{'type':_0x1893('0x3'),'content':_0x5addc2(_0x559d4a,_0x1893('0x0'),'\x22'+_0x1fc7d0+'\x22')};}return _0x1893('0x1b')==_0x17f05f[_0x1893('0x17')]?{'type':_0x1893('0x3'),'content':_0x5addc2(_0x559d4a,_0x1893('0x1c'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x187e=['listType','ELEMENT_BULLETED_LIST','*Change\x20to:*\x20%0','locale','format','length','bulletedList','filter','afterInit','commandName','getAttribute','blockName','todoList','listItem','push','execute','checkChild','ELEMENT_LIST_ITEM','_selectedElements','markBlockFormat','value','slice','numbered','from','registerElementLabel','*Check\x20item*','numberedList','add','*Outdent:*\x20%0','indentList','TodoListEditing','selection','before','model','commands','name','getSelectedBlocks','plugins','todo','List','outdentList','has','createPositionAt','checkTodoList','*Uncheck\x20item*','ELEMENT_TODO_LIST','listIndent','ListEditing','get','ELEMENT_NUMBERED_LIST','paragraph','end','findIndex','enableCommand','nextSibling','document','editor','registerDescriptionCallback','replace','createRange','change','bulleted','previousSibling','element'];(function(_0x3e4bb8,_0x187e67){const _0x18ead8=function(_0x1ba9f4){while(--_0x1ba9f4){_0x3e4bb8['push'](_0x3e4bb8['shift']());}};_0x18ead8(++_0x187e67);}(_0x187e,0x169));const _0x18ea=function(_0x3e4bb8,_0x187e67){_0x3e4bb8=_0x3e4bb8-0x0;let _0x18ead8=_0x187e[_0x3e4bb8];return _0x18ead8;};import{Plugin as _0x281802}from'ckeditor5/src/core';import{getTranslation as _0x19ae03}from'../utils/common-translations';export default class it extends _0x281802{[_0x18ea('0x1f')](){const _0x36a5fb=this[_0x18ea('0xf')],_0x3ec3d1=_0x36a5fb[_0x18ea('0x1a')];if(!_0x36a5fb['plugins'][_0x18ea('0x0')](_0x18ea('0x6')))return;const _0x22060b=_0x36a5fb[_0x18ea('0x3c')][_0x18ea('0x7')]('TrackChangesEditing'),_0x504784=_0x36a5fb[_0x18ea('0x3c')][_0x18ea('0x0')](_0x18ea('0x35'));function _0x286584(_0x3c3b9b){return()=>{const _0x270713=_0x36a5fb['model'][_0x18ea('0xe')][_0x18ea('0x36')],_0x3554ee=_0x36a5fb[_0x18ea('0x39')]['get'](_0x3c3b9b);if(_0x3554ee[_0x18ea('0x2b')])return void _0x36a5fb[_0x18ea('0x26')](_0x18ea('0x9'),{});const _0x5209d6=_0x3c3b9b[_0x18ea('0x2c')](0x0,-0x4),_0x3144b8=function(_0xdc3ba5,_0xfaca2e,_0x21db70){let _0x349be5=Array[_0x18ea('0x2e')](_0xdc3ba5)[_0x18ea('0x1e')](_0x47c04d=>function(_0x307387,_0x5dab8f){return _0x5dab8f[_0x18ea('0x27')](_0x307387['parent'],_0x18ea('0x24'))&&!_0x5dab8f['isObject'](_0x307387);}(_0x47c04d,_0x21db70));_0x349be5=_0x349be5[_0x18ea('0x1e')](_0x44a992=>!_0x44a992['is']('element',_0x18ea('0x24'))||_0x44a992[_0x18ea('0x21')](_0x18ea('0x17'))!=_0xfaca2e);const _0x36f2e0=new Set();for(const _0x4662eb of _0x349be5)_0x4662eb['is']('element',_0x18ea('0x24'))?_0x36f2e0[_0x18ea('0x32')](Pt(_0x4662eb)):_0x36f2e0[_0x18ea('0x32')](_0x4662eb);return Array[_0x18ea('0x2e')](_0x36f2e0);}(_0x270713['getSelectedBlocks'](),_0x5209d6,_0x36a5fb[_0x18ea('0x38')]['schema']);_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x13')](()=>{for(const _0x5ef0bc of _0x3144b8)_0x22060b['markBlockFormat'](_0x5ef0bc,{'commandName':_0x3c3b9b,'commandParams':[{'forceValue':!_0x3554ee[_0x18ea('0x2b')]}],'formatGroupId':_0x18ea('0x22')},Gt(_0x5ef0bc));});};}function _0x56f6ad(_0x2aabf7){return()=>{const _0x2ce752=function(_0x597ea3){const _0x57db2a=(_0x597ea3=Array[_0x18ea('0x2e')](_0x597ea3))[_0x18ea('0xb')](_0x5e3163=>_0x18ea('0x24')!=_0x5e3163['name']);return _0x57db2a>-0x1&&(_0x597ea3=_0x597ea3['slice'](0x0,_0x57db2a)),_0x597ea3;}(_0x36a5fb['model'][_0x18ea('0xe')]['selection'][_0x18ea('0x3b')]()),_0x31d950=_0x36a5fb['model'][_0x18ea('0x12')](_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x1')](_0x2ce752[0x0],_0x18ea('0x37')),_0x36a5fb[_0x18ea('0x38')][_0x18ea('0x1')](_0x2ce752[_0x2ce752[_0x18ea('0x1c')]-0x1],_0x18ea('0xa')));_0x36a5fb['model'][_0x18ea('0x13')](()=>{_0x22060b[_0x18ea('0x2a')](_0x31d950,{'commandName':_0x2aabf7,'commandParams':[],'formatGroupId':_0x18ea('0x5')},function(_0x29b14d){const _0x113a75=new Set();for(const _0x116596 of _0x29b14d){let _0x2853de=_0x116596[_0x18ea('0xd')];for(;_0x2853de&&_0x2853de[_0x18ea('0x21')]('listIndent')>_0x116596[_0x18ea('0x21')](_0x18ea('0x5'));)_0x113a75[_0x18ea('0x32')](_0x2853de),_0x2853de=_0x2853de[_0x18ea('0xd')];}return Array[_0x18ea('0x2e')](_0x113a75);}(_0x2ce752));});};}_0x22060b['enableCommand'](_0x18ea('0x31'),_0x286584(_0x18ea('0x31'))),_0x22060b['enableCommand'](_0x18ea('0x1d'),_0x286584(_0x18ea('0x1d'))),_0x504784&&_0x22060b[_0x18ea('0xc')](_0x18ea('0x23'),_0x286584(_0x18ea('0x23'))),_0x22060b[_0x18ea('0xc')]('indentList',_0x56f6ad(_0x18ea('0x34'))),_0x22060b[_0x18ea('0xc')](_0x18ea('0x3f'),_0x56f6ad(_0x18ea('0x3f'))),_0x504784&&_0x22060b['enableCommand'](_0x18ea('0x2'),()=>{const _0x71930e=_0x36a5fb[_0x18ea('0x39')]['get'](_0x18ea('0x2')),_0x51eb1d=Array['from'](_0x71930e[_0x18ea('0x29')]);_0x51eb1d[_0x18ea('0x1e')](_0x145db7=>_0x145db7['getAttribute']('todoListChecked')!=_0x71930e[_0x18ea('0x2b')]),_0x36a5fb[_0x18ea('0x38')]['change'](()=>{for(const _0x1706d9 of _0x51eb1d)_0x22060b[_0x18ea('0x2a')](_0x1706d9,{'commandName':_0x18ea('0x2'),'commandParams':[{'forceValue':!_0x71930e['value']}]});});}),_0x22060b['_descriptionFactory'][_0x18ea('0x2f')]('listItem',_0x274796=>_0x19ae03(_0x3ec3d1,_0x18ea('0x28'),_0x274796)),_0x22060b['_descriptionFactory'][_0x18ea('0x10')](_0x55e60f=>{const {data:_0x36c2fc}=_0x55e60f;if(_0x36c2fc){if(_0x18ea('0x31')==_0x36c2fc[_0x18ea('0x20')]||_0x18ea('0x1d')==_0x36c2fc['commandName']||'todoList'==_0x36c2fc['commandName'])switch(_0x36c2fc['commandName'][_0x18ea('0x11')](_0x18ea('0x3e'),'')){case _0x18ea('0x14'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x18')));case _0x18ea('0x2d'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x8')));case _0x18ea('0x3d'):return _0xeb9918(_0x19ae03(_0x3ec3d1,_0x18ea('0x4')));}if(_0x18ea('0x34')==_0x36c2fc[_0x18ea('0x20')])return{'type':'format','content':_0x19ae03(_0x3ec3d1,'*Indent:*\x20%0',_0x19ae03(_0x3ec3d1,_0x18ea('0x28')))};if(_0x18ea('0x3f')==_0x36c2fc[_0x18ea('0x20')])return{'type':'format','content':_0x19ae03(_0x3ec3d1,_0x18ea('0x33'),_0x19ae03(_0x3ec3d1,_0x18ea('0x28')))};if('checkTodoList'==_0x36c2fc[_0x18ea('0x20')])return _0x36c2fc['commandParams'][0x0]['forceValue']?{'type':_0x18ea('0x1b'),'content':_0x19ae03(_0x3ec3d1,_0x18ea('0x30'))}:{'type':'format','content':_0x19ae03(_0x3ec3d1,_0x18ea('0x3'))};}function _0xeb9918(_0x568a19){return{'type':_0x18ea('0x1b'),'content':_0x19ae03(_0x3ec3d1,_0x18ea('0x19'),_0x568a19)};}});}}function Pt(_0x5356df){const _0x37e174=_0x5356df['getAttribute'](_0x18ea('0x5'));if(0x0==_0x37e174)return _0x5356df;let _0x32b3f5=_0x5356df;for(;_0x5356df[_0x18ea('0x15')]&&_0x5356df['previousSibling']['is'](_0x18ea('0x16'),'listItem');){const _0x214f72=_0x5356df[_0x18ea('0x15')][_0x18ea('0x21')](_0x18ea('0x5'));if(_0x214f72==_0x37e174)_0x32b3f5=_0x5356df[_0x18ea('0x15')];else{if(_0x214f72<_0x37e174)break;}_0x5356df=_0x5356df[_0x18ea('0x15')];}return _0x32b3f5;}function Gt(_0x2771d3){const _0x514cff=[];if(_0x2771d3['is'](_0x18ea('0x16'),_0x18ea('0x24'))&&_0x2771d3[_0x18ea('0x21')](_0x18ea('0x5'))>0x0){let _0xb0414f=_0x2771d3['nextSibling'];for(;_0xb0414f&&'listItem'==_0xb0414f[_0x18ea('0x3a')]&&_0xb0414f[_0x18ea('0x21')](_0x18ea('0x5'))==_0x2771d3['getAttribute'](_0x18ea('0x5'));)_0x514cff[_0x18ea('0x25')](_0xb0414f),_0xb0414f=_0xb0414f[_0x18ea('0xd')];}return _0x514cff;}
23
+ const _0x5924=['ListEditing','enableCommand','*Check\x20item*','outdentList','TodoListEditing','TrackChangesEditing','listIndent','todoListChecked','todo','locale','List','listType','ELEMENT_TODO_LIST','checkTodoList','get','getSelectedBlocks','createPositionAt','add','filter','numberedList','length','*Uncheck\x20item*','before','replace','_selectedElements','name','markBlockFormat','bulleted','push','value','editor','selection','element','findIndex','nextSibling','parent','from','commandParams','ELEMENT_LIST_ITEM','getAttribute','_descriptionFactory','commands','isObject','slice','ELEMENT_NUMBERED_LIST','schema','*Indent:*\x20%0','afterInit','plugins','execute','registerElementLabel','ELEMENT_BULLETED_LIST','model','listItem','document','previousSibling','registerDescriptionCallback','bulletedList','*Change\x20to:*\x20%0','commandName','todoList','change','format','numbered','checkChild','*Outdent:*\x20%0','indentList','has'];(function(_0x57afc7,_0x592402){const _0x120759=function(_0x39f845){while(--_0x39f845){_0x57afc7['push'](_0x57afc7['shift']());}};_0x120759(++_0x592402);}(_0x5924,0x1d4));const _0x1207=function(_0x57afc7,_0x592402){_0x57afc7=_0x57afc7-0x0;let _0x120759=_0x5924[_0x57afc7];return _0x120759;};import{Plugin as _0x230822}from'ckeditor5/src/core';import{getTranslation as _0x5026ae}from'../utils/common-translations';export default class it extends _0x230822{[_0x1207('0x37')](){const _0x4c3727=this[_0x1207('0x26')],_0x44ea5d=_0x4c3727[_0x1207('0x11')];if(!_0x4c3727[_0x1207('0x38')][_0x1207('0x7')](_0x1207('0x8')))return;const _0xc97ebf=_0x4c3727[_0x1207('0x38')][_0x1207('0x16')](_0x1207('0xd')),_0x4cd87a=_0x4c3727[_0x1207('0x38')]['has'](_0x1207('0xc'));function _0x1b590e(_0x2124f0){return()=>{const _0x58c654=_0x4c3727[_0x1207('0x3c')]['document']['selection'],_0x93bd86=_0x4c3727[_0x1207('0x31')][_0x1207('0x16')](_0x2124f0);if(_0x93bd86[_0x1207('0x25')])return void _0x4c3727[_0x1207('0x39')]('paragraph',{});const _0x5f2472=_0x2124f0[_0x1207('0x33')](0x0,-0x4),_0x47ff9c=function(_0x4edcfb,_0x14082a,_0x34bb89){let _0x54c049=Array[_0x1207('0x2c')](_0x4edcfb)['filter'](_0x308d6c=>function(_0x578c1c,_0x5e88eb){return _0x5e88eb[_0x1207('0x4')](_0x578c1c[_0x1207('0x2b')],_0x1207('0x3d'))&&!_0x5e88eb[_0x1207('0x32')](_0x578c1c);}(_0x308d6c,_0x34bb89));_0x54c049=_0x54c049[_0x1207('0x1a')](_0x2288d6=>!_0x2288d6['is'](_0x1207('0x28'),_0x1207('0x3d'))||_0x2288d6[_0x1207('0x2f')](_0x1207('0x13'))!=_0x14082a);const _0x4fa07d=new Set();for(const _0x3b366 of _0x54c049)_0x3b366['is'](_0x1207('0x28'),_0x1207('0x3d'))?_0x4fa07d['add'](Pt(_0x3b366)):_0x4fa07d[_0x1207('0x19')](_0x3b366);return Array[_0x1207('0x2c')](_0x4fa07d);}(_0x58c654[_0x1207('0x17')](),_0x5f2472,_0x4c3727['model'][_0x1207('0x35')]);_0x4c3727[_0x1207('0x3c')][_0x1207('0x1')](()=>{for(const _0x5d4a4a of _0x47ff9c)_0xc97ebf[_0x1207('0x22')](_0x5d4a4a,{'commandName':_0x2124f0,'commandParams':[{'forceValue':!_0x93bd86[_0x1207('0x25')]}],'formatGroupId':'blockName'},Gt(_0x5d4a4a));});};}function _0x20dd74(_0x548a4b){return()=>{const _0x27544f=function(_0x305001){const _0x43f293=(_0x305001=Array['from'](_0x305001))[_0x1207('0x29')](_0x33eac9=>'listItem'!=_0x33eac9['name']);return _0x43f293>-0x1&&(_0x305001=_0x305001[_0x1207('0x33')](0x0,_0x43f293)),_0x305001;}(_0x4c3727['model'][_0x1207('0x3e')][_0x1207('0x27')][_0x1207('0x17')]()),_0x3edb3c=_0x4c3727[_0x1207('0x3c')]['createRange'](_0x4c3727['model'][_0x1207('0x18')](_0x27544f[0x0],_0x1207('0x1e')),_0x4c3727['model']['createPositionAt'](_0x27544f[_0x27544f[_0x1207('0x1c')]-0x1],'end'));_0x4c3727[_0x1207('0x3c')]['change'](()=>{_0xc97ebf[_0x1207('0x22')](_0x3edb3c,{'commandName':_0x548a4b,'commandParams':[],'formatGroupId':'listIndent'},function(_0x2617c2){const _0x23d4f6=new Set();for(const _0x3b168d of _0x2617c2){let _0x4ccecf=_0x3b168d[_0x1207('0x2a')];for(;_0x4ccecf&&_0x4ccecf[_0x1207('0x2f')](_0x1207('0xe'))>_0x3b168d[_0x1207('0x2f')]('listIndent');)_0x23d4f6[_0x1207('0x19')](_0x4ccecf),_0x4ccecf=_0x4ccecf['nextSibling'];}return Array[_0x1207('0x2c')](_0x23d4f6);}(_0x27544f));});};}_0xc97ebf[_0x1207('0x9')]('numberedList',_0x1b590e('numberedList')),_0xc97ebf[_0x1207('0x9')]('bulletedList',_0x1b590e(_0x1207('0x41'))),_0x4cd87a&&_0xc97ebf[_0x1207('0x9')](_0x1207('0x0'),_0x1b590e(_0x1207('0x0'))),_0xc97ebf['enableCommand'](_0x1207('0x6'),_0x20dd74(_0x1207('0x6'))),_0xc97ebf[_0x1207('0x9')]('outdentList',_0x20dd74('outdentList')),_0x4cd87a&&_0xc97ebf['enableCommand'](_0x1207('0x15'),()=>{const _0x259db8=_0x4c3727[_0x1207('0x31')][_0x1207('0x16')](_0x1207('0x15')),_0x3e7ffe=Array[_0x1207('0x2c')](_0x259db8[_0x1207('0x20')]);_0x3e7ffe[_0x1207('0x1a')](_0x30482d=>_0x30482d[_0x1207('0x2f')](_0x1207('0xf'))!=_0x259db8['value']),_0x4c3727['model'][_0x1207('0x1')](()=>{for(const _0x3edff4 of _0x3e7ffe)_0xc97ebf[_0x1207('0x22')](_0x3edff4,{'commandName':_0x1207('0x15'),'commandParams':[{'forceValue':!_0x259db8['value']}]});});}),_0xc97ebf[_0x1207('0x30')][_0x1207('0x3a')](_0x1207('0x3d'),_0x979dfb=>_0x5026ae(_0x44ea5d,_0x1207('0x2e'),_0x979dfb)),_0xc97ebf['_descriptionFactory'][_0x1207('0x40')](_0x1a9b9a=>{const {data:_0x380dc0}=_0x1a9b9a;if(_0x380dc0){if(_0x1207('0x1b')==_0x380dc0[_0x1207('0x43')]||_0x1207('0x41')==_0x380dc0[_0x1207('0x43')]||_0x1207('0x0')==_0x380dc0[_0x1207('0x43')])switch(_0x380dc0[_0x1207('0x43')][_0x1207('0x1f')](_0x1207('0x12'),'')){case _0x1207('0x23'):return _0x4b081f(_0x5026ae(_0x44ea5d,_0x1207('0x3b')));case _0x1207('0x3'):return _0x4b081f(_0x5026ae(_0x44ea5d,_0x1207('0x34')));case _0x1207('0x10'):return _0x4b081f(_0x5026ae(_0x44ea5d,_0x1207('0x14')));}if(_0x1207('0x6')==_0x380dc0[_0x1207('0x43')])return{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x36'),_0x5026ae(_0x44ea5d,_0x1207('0x2e')))};if(_0x1207('0xb')==_0x380dc0[_0x1207('0x43')])return{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x5'),_0x5026ae(_0x44ea5d,_0x1207('0x2e')))};if(_0x1207('0x15')==_0x380dc0[_0x1207('0x43')])return _0x380dc0[_0x1207('0x2d')][0x0]['forceValue']?{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0xa'))}:{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x1d'))};}function _0x4b081f(_0x2267c2){return{'type':_0x1207('0x2'),'content':_0x5026ae(_0x44ea5d,_0x1207('0x42'),_0x2267c2)};}});}}function Pt(_0x296858){const _0x221726=_0x296858[_0x1207('0x2f')](_0x1207('0xe'));if(0x0==_0x221726)return _0x296858;let _0x4ab145=_0x296858;for(;_0x296858[_0x1207('0x3f')]&&_0x296858[_0x1207('0x3f')]['is'](_0x1207('0x28'),_0x1207('0x3d'));){const _0x2cbec3=_0x296858['previousSibling'][_0x1207('0x2f')](_0x1207('0xe'));if(_0x2cbec3==_0x221726)_0x4ab145=_0x296858[_0x1207('0x3f')];else{if(_0x2cbec3<_0x221726)break;}_0x296858=_0x296858[_0x1207('0x3f')];}return _0x4ab145;}function Gt(_0x146abd){const _0x4ee6ef=[];if(_0x146abd['is'](_0x1207('0x28'),_0x1207('0x3d'))&&_0x146abd[_0x1207('0x2f')](_0x1207('0xe'))>0x0){let _0x37c42=_0x146abd[_0x1207('0x2a')];for(;_0x37c42&&_0x1207('0x3d')==_0x37c42[_0x1207('0x21')]&&_0x37c42['getAttribute']('listIndent')==_0x146abd[_0x1207('0x2f')]('listIndent');)_0x4ee6ef[_0x1207('0x24')](_0x37c42),_0x37c42=_0x37c42['nextSibling'];}return _0x4ee6ef;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbd21=['get','attribute:url:media','conversion','ELEMENT_MEDIA','dataDowncast','stop','locale','editor','_descriptionFactory','afterInit','has','createEmptyElement','data','showSuggestionHighlights','mediaEmbed','MediaEmbedEditing','TrackChangesEditing','high','enableCommand','media','for','registerElementLabel','plugins','downcastDispatcher'];(function(_0x5e8d34,_0xbd21ec){const _0x2fa1c7=function(_0x4c932a){while(--_0x4c932a){_0x5e8d34['push'](_0x5e8d34['shift']());}};_0x2fa1c7(++_0xbd21ec);}(_0xbd21,0x1f1));const _0x2fa1=function(_0x5e8d34,_0xbd21ec){_0x5e8d34=_0x5e8d34-0x0;let _0x2fa1c7=_0xbd21[_0x5e8d34];return _0x2fa1c7;};import{Plugin as _0x11df80}from'ckeditor5/src/core';import{getTranslation as _0x59c681}from'../utils/common-translations';export default class st extends _0x11df80{[_0x2fa1('0x10')](){const _0x59ba12=this[_0x2fa1('0xe')];if(!_0x59ba12[_0x2fa1('0x5')][_0x2fa1('0x11')](_0x2fa1('0x16')))return;const _0x282149=_0x59ba12[_0x2fa1('0x5')][_0x2fa1('0x7')](_0x2fa1('0x17')),_0x12195a=_0x59ba12[_0x2fa1('0xd')];_0x282149[_0x2fa1('0x1')](_0x2fa1('0x15')),_0x282149[_0x2fa1('0xf')][_0x2fa1('0x4')](_0x2fa1('0x2'),_0x232107=>_0x59c681(_0x12195a,_0x2fa1('0xa'),_0x232107)),_0x59ba12[_0x2fa1('0x9')][_0x2fa1('0x3')](_0x2fa1('0xb'))['elementToElement']({'model':'media','view':(_0x45db19,{writer:_0x2314f3,options:_0x43ebe2})=>{if(_0x43ebe2[_0x2fa1('0x14')])return _0x2314f3[_0x2fa1('0x12')]('div');},'converterPriority':_0x2fa1('0x0')}),_0x59ba12[_0x2fa1('0x13')][_0x2fa1('0x6')]['on'](_0x2fa1('0x8'),(_0x3b8ba4,_0x53ec32,_0x46b5c5)=>{_0x46b5c5['options']['showSuggestionHighlights']&&_0x3b8ba4[_0x2fa1('0xc')]();},{'priority':'high'});}}
23
+ const _0x2fad=['MediaEmbedEditing','media','plugins','div','ELEMENT_MEDIA','locale','downcastDispatcher','dataDowncast','enableCommand','high','stop','get','createEmptyElement','editor','data','conversion','elementToElement','afterInit','TrackChangesEditing','registerElementLabel','showSuggestionHighlights','options','has','_descriptionFactory'];(function(_0x5c7c2a,_0x2fad37){const _0x1bdf68=function(_0x5420e8){while(--_0x5420e8){_0x5c7c2a['push'](_0x5c7c2a['shift']());}};_0x1bdf68(++_0x2fad37);}(_0x2fad,0x1e8));const _0x1bdf=function(_0x5c7c2a,_0x2fad37){_0x5c7c2a=_0x5c7c2a-0x0;let _0x1bdf68=_0x2fad[_0x5c7c2a];return _0x1bdf68;};import{Plugin as _0x4d416b}from'ckeditor5/src/core';import{getTranslation as _0x3b52a0}from'../utils/common-translations';export default class st extends _0x4d416b{[_0x1bdf('0x9')](){const _0xffb3f9=this[_0x1bdf('0x5')];if(!_0xffb3f9[_0x1bdf('0x12')][_0x1bdf('0xe')](_0x1bdf('0x10')))return;const _0x1c5c7a=_0xffb3f9['plugins'][_0x1bdf('0x3')](_0x1bdf('0xa')),_0x5f31be=_0xffb3f9[_0x1bdf('0x15')];_0x1c5c7a[_0x1bdf('0x0')]('mediaEmbed'),_0x1c5c7a[_0x1bdf('0xf')][_0x1bdf('0xb')](_0x1bdf('0x11'),_0x4f5aa1=>_0x3b52a0(_0x5f31be,_0x1bdf('0x14'),_0x4f5aa1)),_0xffb3f9[_0x1bdf('0x7')]['for'](_0x1bdf('0x17'))[_0x1bdf('0x8')]({'model':_0x1bdf('0x11'),'view':(_0x20dba8,{writer:_0x15d0c3,options:_0x5d7e33})=>{if(_0x5d7e33[_0x1bdf('0xc')])return _0x15d0c3[_0x1bdf('0x4')](_0x1bdf('0x13'));},'converterPriority':_0x1bdf('0x1')}),_0xffb3f9[_0x1bdf('0x6')][_0x1bdf('0x16')]['on']('attribute:url:media',(_0x55bcef,_0x56b61b,_0x22fa3a)=>{_0x22fa3a[_0x1bdf('0xd')]['showSuggestionHighlights']&&_0x55bcef[_0x1bdf('0x2')]();},{'priority':_0x1bdf('0x1')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3100=['TrackChangesEditing','get','MentionEditing','plugins','afterInit','has','enableCommand','mention'];(function(_0x2f0dd4,_0x31007c){const _0x4d5bb2=function(_0x55398d){while(--_0x55398d){_0x2f0dd4['push'](_0x2f0dd4['shift']());}};_0x4d5bb2(++_0x31007c);}(_0x3100,0x129));const _0x4d5b=function(_0x2f0dd4,_0x31007c){_0x2f0dd4=_0x2f0dd4-0x0;let _0x4d5bb2=_0x3100[_0x2f0dd4];return _0x4d5bb2;};import{Plugin as _0x571e4e}from'ckeditor5/src/core';export default class et extends _0x571e4e{[_0x4d5b('0x3')](){const _0x5d163e=this['editor'];_0x5d163e[_0x4d5b('0x2')][_0x4d5b('0x4')](_0x4d5b('0x1'))&&_0x5d163e[_0x4d5b('0x2')][_0x4d5b('0x0')](_0x4d5b('0x7'))[_0x4d5b('0x5')](_0x4d5b('0x6'));}}
23
+ const _0x40b9=['has','afterInit','mention','enableCommand','plugins','MentionEditing','get','editor','TrackChangesEditing'];(function(_0x20b189,_0x40b921){const _0x24ffeb=function(_0x2efe51){while(--_0x2efe51){_0x20b189['push'](_0x20b189['shift']());}};_0x24ffeb(++_0x40b921);}(_0x40b9,0xed));const _0x24ff=function(_0x20b189,_0x40b921){_0x20b189=_0x20b189-0x0;let _0x24ffeb=_0x40b9[_0x20b189];return _0x24ffeb;};import{Plugin as _0x2737a6}from'ckeditor5/src/core';export default class et extends _0x2737a6{[_0x24ff('0x7')](){const _0x1c1ffd=this[_0x24ff('0x4')];_0x1c1ffd[_0x24ff('0x1')][_0x24ff('0x6')](_0x24ff('0x2'))&&_0x1c1ffd[_0x24ff('0x1')][_0x24ff('0x3')](_0x24ff('0x5'))[_0x24ff('0x0')](_0x24ff('0x8'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31dd=['locale','plugins','enableCommand','editor','afterInit','registerElementLabel','PageBreakEditing','_descriptionFactory','TrackChangesEditing','pageBreak','get'];(function(_0x1d91f4,_0x31ddb9){const _0x212de7=function(_0x10e9a4){while(--_0x10e9a4){_0x1d91f4['push'](_0x1d91f4['shift']());}};_0x212de7(++_0x31ddb9);}(_0x31dd,0xe0));const _0x212d=function(_0x1d91f4,_0x31ddb9){_0x1d91f4=_0x1d91f4-0x0;let _0x212de7=_0x31dd[_0x1d91f4];return _0x212de7;};import{Plugin as _0x3ff052}from'ckeditor5/src/core';import{getTranslation as _0x1c0301}from'../utils/common-translations';export default class nt extends _0x3ff052{[_0x212d('0x0')](){const _0x329080=this[_0x212d('0xa')];if(!_0x329080[_0x212d('0x8')]['has'](_0x212d('0x2')))return;_0x329080[_0x212d('0x8')][_0x212d('0x6')](_0x212d('0x4'))[_0x212d('0x9')](_0x212d('0x5'));const _0x5b04ae=_0x329080['plugins']['get']('TrackChangesEditing'),_0x108a19=_0x329080[_0x212d('0x7')];_0x5b04ae[_0x212d('0x3')][_0x212d('0x1')]('pageBreak',_0x11dfd3=>_0x1c0301(_0x108a19,'ELEMENT_PAGE_BREAK',_0x11dfd3));}}
23
+ const _0xa8bc=['has','pageBreak','TrackChangesEditing','get','enableCommand','afterInit','plugins','PageBreakEditing','registerElementLabel','_descriptionFactory','locale','ELEMENT_PAGE_BREAK','editor'];(function(_0x22fc66,_0xa8bc0){const _0x7daebf=function(_0x482487){while(--_0x482487){_0x22fc66['push'](_0x22fc66['shift']());}};_0x7daebf(++_0xa8bc0);}(_0xa8bc,0xf7));const _0x7dae=function(_0x22fc66,_0xa8bc0){_0x22fc66=_0x22fc66-0x0;let _0x7daebf=_0xa8bc[_0x22fc66];return _0x7daebf;};import{Plugin as _0x30a677}from'ckeditor5/src/core';import{getTranslation as _0x4719c8}from'../utils/common-translations';export default class nt extends _0x30a677{[_0x7dae('0x5')](){const _0x49c048=this[_0x7dae('0xc')];if(!_0x49c048['plugins'][_0x7dae('0x0')](_0x7dae('0x7')))return;_0x49c048[_0x7dae('0x6')][_0x7dae('0x3')](_0x7dae('0x2'))[_0x7dae('0x4')](_0x7dae('0x1'));const _0x2d29b2=_0x49c048[_0x7dae('0x6')][_0x7dae('0x3')](_0x7dae('0x2')),_0x180501=_0x49c048[_0x7dae('0xa')];_0x2d29b2[_0x7dae('0x9')][_0x7dae('0x8')](_0x7dae('0x1'),_0x5f2d50=>_0x4719c8(_0x180501,_0x7dae('0xb'),_0x5f2d50));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc67b=['registerDescriptionCallback','plugins','get','name','schema','paragraph','mapper','downcastDispatcher','insertion','insert','TrackChangesEditing','commandName','insertParagraph','model','options','toViewPosition','format','markerRange','enableCommand','*Change\x20to:*\x20%0','isTouching','parent','selection','nodeAfter','ck-suggestion-marker--active','$text','activeMarkers','_descriptionFactory','filter','start','locale','editing','afterInit','includes','Paragraph','getItemLabel','ELEMENT_PARAGRAPH','markerName','createUIElement','bindElementToMarker','*Insert:*\x20%0','addMarker:suggestion:insertion','getSelectedBlocks','change','writer','markBlockFormat','highest','getFirstRange','has','checkChild','document','isBlock','data','isLimit','editor'];(function(_0xc99b73,_0xc67ba3){const _0x64fb00=function(_0x3747cb){while(--_0x3747cb){_0xc99b73['push'](_0xc99b73['shift']());}};_0x64fb00(++_0xc67ba3);}(_0xc67b,0x98));const _0x64fb=function(_0xc99b73,_0xc67ba3){_0xc99b73=_0xc99b73-0x0;let _0x64fb00=_0xc67b[_0xc99b73];return _0x64fb00;};import{Plugin as _0x183f0f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x208d94}from'./utils';import{getTranslation as _0x3dacf3}from'../utils/common-translations';export default class ot extends _0x183f0f{[_0x64fb('0x2d')](){const _0x46609b=this[_0x64fb('0xc')];if(!_0x46609b['plugins'][_0x64fb('0x6')](_0x64fb('0x2f')))return;const _0x5ee92c=_0x46609b[_0x64fb('0x2b')],_0x5998ac=_0x46609b[_0x64fb('0xe')][_0x64fb('0xf')](_0x64fb('0x17'));_0x5998ac[_0x64fb('0x28')]['registerElementLabel'](_0x64fb('0x12'),_0x1b2cfa=>_0x3dacf3(_0x5ee92c,'ELEMENT_PARAGRAPH',_0x1b2cfa)),_0x5998ac[_0x64fb('0x1f')]('paragraph',(_0xe2a68c,_0x22178d={})=>{const _0x4a9e4a=_0x46609b[_0x64fb('0x1a')][_0x64fb('0x8')],_0x59f27a=_0x22178d[_0x64fb('0x23')]||_0x4a9e4a[_0x64fb('0x23')],_0x2bdf13=Array['from'](_0x59f27a[_0x64fb('0x0')]())[_0x64fb('0x29')](_0x5cbd1d=>function(_0x385c5b,_0x53aeff){return _0x53aeff['checkChild'](_0x385c5b[_0x64fb('0x22')],_0x64fb('0x12'))&&!_0x53aeff['isObject'](_0x385c5b)&&'paragraph'!=_0x385c5b[_0x64fb('0x10')];}(_0x5cbd1d,this[_0x64fb('0xc')][_0x64fb('0x1a')][_0x64fb('0x11')]));_0x46609b['model'][_0x64fb('0x1')](()=>{for(const _0x16ce31 of _0x2bdf13)_0x5998ac[_0x64fb('0x3')](_0x16ce31,{'commandName':'paragraph','commandParams':[],'formatGroupId':'blockName'},_0x208d94(_0x16ce31));});}),_0x5998ac[_0x64fb('0x28')][_0x64fb('0xd')](_0xe28c7e=>{const {data:_0x53f822}=_0xe28c7e;if(_0x53f822&&'paragraph'==_0x53f822[_0x64fb('0x18')])return{'type':_0x64fb('0x1d'),'content':_0x3dacf3(_0x5ee92c,_0x64fb('0x20'),_0x3dacf3(_0x5ee92c,_0x64fb('0x31')))};}),_0x5998ac[_0x64fb('0x1f')](_0x64fb('0x19')),_0x46609b[_0x64fb('0x2c')][_0x64fb('0x14')]['on'](_0x64fb('0x36'),tr(_0x46609b),{'priority':_0x64fb('0x4')}),_0x46609b[_0x64fb('0xa')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x354fd9,_0x145ccc,_0x49f575)=>{_0x49f575[_0x64fb('0x1b')]['showSuggestionHighlights']&&tr(_0x46609b,{'showActiveMarker':!0x1})(_0x354fd9,_0x145ccc,_0x49f575);},{'priority':_0x64fb('0x4')});const _0x25bd2d=_0x5998ac[_0x64fb('0x28')];_0x25bd2d[_0x64fb('0xd')](_0x10da00=>{if(_0x64fb('0x15')!==_0x10da00['type'])return;const {start:_0x1346ea,end:_0x42e4b0}=_0x10da00[_0x64fb('0x5')]();if(!_0x1346ea[_0x64fb('0x21')](_0x42e4b0)||!_0x1346ea['nodeAfter'])return;const _0x3d459f=_0x46609b[_0x64fb('0x1a')][_0x64fb('0x11')],_0x2a2836=_0x1346ea[_0x64fb('0x24')];return _0x3d459f[_0x64fb('0x9')](_0x2a2836)&&!_0x3d459f[_0x64fb('0xb')](_0x2a2836)&&_0x3d459f[_0x64fb('0x7')](_0x2a2836,_0x64fb('0x26'))?{'type':_0x64fb('0x15'),'content':_0x3dacf3(_0x5ee92c,_0x64fb('0x35'),_0x25bd2d[_0x64fb('0x30')](_0x2a2836,0x1))}:void 0x0;});}}function tr(_0x334d93,{showActiveMarker:_0x51292e=!0x0}={}){return(_0x388985,_0x2aa85f,_0x4341ea)=>{const _0x384894=_0x334d93[_0x64fb('0xe')][_0x64fb('0xf')](_0x64fb('0x17')),_0x155904=_0x2aa85f['markerRange'][_0x64fb('0x2a')],_0x61e22b=_0x2aa85f[_0x64fb('0x1e')]['end'],_0x48b80d=_0x334d93[_0x64fb('0x1a')][_0x64fb('0x11')];if(!_0x155904[_0x64fb('0x21')](_0x61e22b)||!_0x155904[_0x64fb('0x24')])return;const _0x597502=_0x155904[_0x64fb('0x24')];if(_0x48b80d[_0x64fb('0x9')](_0x597502)&&!_0x48b80d[_0x64fb('0xb')](_0x597502)&&_0x48b80d[_0x64fb('0x7')](_0x597502,_0x64fb('0x26'))){if(!_0x4341ea['consumable']['consume'](_0x2aa85f[_0x64fb('0x1e')],_0x388985[_0x64fb('0x10')]))return;const _0x42646d=_0x4341ea['writer'][_0x64fb('0x33')]('span',{'class':'ck-suggestion-marker-split'}),_0x489e0d=_0x4341ea[_0x64fb('0x13')][_0x64fb('0x1c')](_0x61e22b);_0x51292e&&_0x384894[_0x64fb('0x27')][_0x64fb('0x2e')](_0x2aa85f[_0x64fb('0x32')])&&_0x4341ea[_0x64fb('0x2')]['addClass'](_0x64fb('0x25'),_0x42646d),_0x4341ea[_0x64fb('0x2')][_0x64fb('0x16')](_0x489e0d,_0x42646d),_0x4341ea[_0x64fb('0x13')][_0x64fb('0x34')](_0x42646d,_0x2aa85f[_0x64fb('0x32')]);}};}
23
+ const _0x2159=['has','commandName','nodeAfter','afterInit','editing','$text','toViewPosition','model','showSuggestionHighlights','TrackChangesEditing','filter','registerElementLabel','isLimit','checkChild','markerName','consume','options','isBlock','ELEMENT_PARAGRAPH','*Insert:*\x20%0','name','createUIElement','bindElementToMarker','addMarker:suggestion:insertion','isTouching','locale','type','downcastDispatcher','getItemLabel','editor','plugins','selection','markBlockFormat','schema','writer','get','getFirstRange','mapper','_descriptionFactory','end','paragraph','insert','insertParagraph','highest','enableCommand','from','start','markerRange','document'];(function(_0x310388,_0x21595a){const _0x435780=function(_0x4aeeb2){while(--_0x4aeeb2){_0x310388['push'](_0x310388['shift']());}};_0x435780(++_0x21595a);}(_0x2159,0x132));const _0x4357=function(_0x310388,_0x21595a){_0x310388=_0x310388-0x0;let _0x435780=_0x2159[_0x310388];return _0x435780;};import{Plugin as _0xb8bc6}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1f2e12}from'./utils';import{getTranslation as _0x1d2650}from'../utils/common-translations';export default class ot extends _0xb8bc6{[_0x4357('0x28')](){const _0x575576=this[_0x4357('0x11')];if(!_0x575576[_0x4357('0x12')][_0x4357('0x25')]('Paragraph'))return;const _0x33d4da=_0x575576[_0x4357('0xd')],_0x3791d3=_0x575576[_0x4357('0x12')][_0x4357('0x17')]('TrackChangesEditing');_0x3791d3[_0x4357('0x1a')][_0x4357('0x30')](_0x4357('0x1c'),_0x36cd6e=>_0x1d2650(_0x33d4da,_0x4357('0x6'),_0x36cd6e)),_0x3791d3['enableCommand'](_0x4357('0x1c'),(_0x5bb631,_0x1b47f1={})=>{const _0x4922b3=_0x575576[_0x4357('0x2c')][_0x4357('0x24')],_0x4fbcf8=_0x1b47f1[_0x4357('0x13')]||_0x4922b3[_0x4357('0x13')],_0xa94258=Array[_0x4357('0x21')](_0x4fbcf8['getSelectedBlocks']())[_0x4357('0x2f')](_0x3d2e91=>function(_0x21cb32,_0x449dbc){return _0x449dbc[_0x4357('0x1')](_0x21cb32['parent'],_0x4357('0x1c'))&&!_0x449dbc['isObject'](_0x21cb32)&&_0x4357('0x1c')!=_0x21cb32[_0x4357('0x8')];}(_0x3d2e91,this[_0x4357('0x11')][_0x4357('0x2c')][_0x4357('0x15')]));_0x575576['model']['change'](()=>{for(const _0x8a11ce of _0xa94258)_0x3791d3[_0x4357('0x14')](_0x8a11ce,{'commandName':_0x4357('0x1c'),'commandParams':[],'formatGroupId':'blockName'},_0x1f2e12(_0x8a11ce));});}),_0x3791d3[_0x4357('0x1a')]['registerDescriptionCallback'](_0x42081f=>{const {data:_0x147973}=_0x42081f;if(_0x147973&&_0x4357('0x1c')==_0x147973[_0x4357('0x26')])return{'type':'format','content':_0x1d2650(_0x33d4da,'*Change\x20to:*\x20%0',_0x1d2650(_0x33d4da,_0x4357('0x6')))};}),_0x3791d3[_0x4357('0x20')](_0x4357('0x1e')),_0x575576[_0x4357('0x29')][_0x4357('0xf')]['on']('addMarker:suggestion:insertion',tr(_0x575576),{'priority':_0x4357('0x1f')}),_0x575576['data'][_0x4357('0xf')]['on'](_0x4357('0xb'),(_0x22eee1,_0x1b4d02,_0x53588e)=>{_0x53588e[_0x4357('0x4')][_0x4357('0x2d')]&&tr(_0x575576,{'showActiveMarker':!0x1})(_0x22eee1,_0x1b4d02,_0x53588e);},{'priority':'highest'});const _0x3463e2=_0x3791d3[_0x4357('0x1a')];_0x3463e2['registerDescriptionCallback'](_0x4c2c3f=>{if('insertion'!==_0x4c2c3f[_0x4357('0xe')])return;const {start:_0x3940d1,end:_0x3faae2}=_0x4c2c3f[_0x4357('0x18')]();if(!_0x3940d1['isTouching'](_0x3faae2)||!_0x3940d1[_0x4357('0x27')])return;const _0x4689cf=_0x575576['model'][_0x4357('0x15')],_0x594168=_0x3940d1[_0x4357('0x27')];return _0x4689cf[_0x4357('0x5')](_0x594168)&&!_0x4689cf[_0x4357('0x0')](_0x594168)&&_0x4689cf['checkChild'](_0x594168,'$text')?{'type':'insertion','content':_0x1d2650(_0x33d4da,_0x4357('0x7'),_0x3463e2[_0x4357('0x10')](_0x594168,0x1))}:void 0x0;});}}function tr(_0x3b7266,{showActiveMarker:_0x386914=!0x0}={}){return(_0x31fdf1,_0x522072,_0x518774)=>{const _0x52a219=_0x3b7266[_0x4357('0x12')][_0x4357('0x17')](_0x4357('0x2e')),_0x5a7ee1=_0x522072[_0x4357('0x23')][_0x4357('0x22')],_0x356302=_0x522072[_0x4357('0x23')][_0x4357('0x1b')],_0x408467=_0x3b7266[_0x4357('0x2c')]['schema'];if(!_0x5a7ee1[_0x4357('0xc')](_0x356302)||!_0x5a7ee1[_0x4357('0x27')])return;const _0x3a18a0=_0x5a7ee1[_0x4357('0x27')];if(_0x408467['isBlock'](_0x3a18a0)&&!_0x408467['isLimit'](_0x3a18a0)&&_0x408467['checkChild'](_0x3a18a0,_0x4357('0x2a'))){if(!_0x518774['consumable'][_0x4357('0x3')](_0x522072[_0x4357('0x23')],_0x31fdf1[_0x4357('0x8')]))return;const _0x34062d=_0x518774['writer'][_0x4357('0x9')]('span',{'class':'ck-suggestion-marker-split'}),_0x287f9d=_0x518774[_0x4357('0x19')][_0x4357('0x2b')](_0x356302);_0x386914&&_0x52a219['activeMarkers']['includes'](_0x522072[_0x4357('0x2')])&&_0x518774[_0x4357('0x16')]['addClass']('ck-suggestion-marker--active',_0x34062d),_0x518774[_0x4357('0x16')][_0x4357('0x1d')](_0x287f9d,_0x34062d),_0x518774[_0x4357('0x19')][_0x4357('0xa')](_0x34062d,_0x522072[_0x4357('0x2')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20fa=['getItems','removeFormat','get','change','document','getAttributes','markInlineFormat','format','afterInit','registerDescriptionCallback','plugins','*Remove\x20all\x20formatting*','createRangeOn','enableCommand','editor','selection','locale','getAttributeProperties','getRanges','isCollapsed','schema','from','isFormatting','_descriptionFactory','model','RemoveFormatEditing'];(function(_0x23b4fd,_0x20fa8f){const _0x414e45=function(_0x10db21){while(--_0x10db21){_0x23b4fd['push'](_0x23b4fd['shift']());}};_0x414e45(++_0x20fa8f);}(_0x20fa,0xfa));const _0x414e=function(_0x23b4fd,_0x20fa8f){_0x23b4fd=_0x23b4fd-0x0;let _0x414e45=_0x20fa[_0x23b4fd];return _0x414e45;};import{Plugin as _0x5e54f1}from'ckeditor5/src/core';import{getTranslation as _0x5c38f3}from'../utils/common-translations';export default class rt extends _0x5e54f1{[_0x414e('0x12')](){const _0x30a6d3=this[_0x414e('0x18')];if(!_0x30a6d3[_0x414e('0x14')]['has'](_0x414e('0x9')))return;const _0x46f738=_0x30a6d3['plugins'][_0x414e('0xc')]('TrackChangesEditing');_0x46f738[_0x414e('0x17')](_0x414e('0xb'),_0x3e392d=>{const _0x43a265=_0x30a6d3['model'][_0x414e('0xe')][_0x414e('0x19')];_0x43a265[_0x414e('0x3')]?_0x3e392d():_0x30a6d3[_0x414e('0x8')][_0x414e('0xd')](()=>{const _0x2b1228=Array[_0x414e('0x5')](_0x43a265[_0x414e('0x2')]());for(const _0x9f52b7 of _0x2b1228)for(const _0x436b54 of _0x9f52b7[_0x414e('0xa')]())to(_0x436b54,_0x30a6d3['model'][_0x414e('0x4')])&&_0x46f738[_0x414e('0x10')](_0x30a6d3[_0x414e('0x8')][_0x414e('0x16')](_0x436b54),{'commandName':_0x414e('0xb'),'commandParams':[]});});}),_0x46f738[_0x414e('0x7')][_0x414e('0x13')](_0x581219=>{const {data:_0x11d872}=_0x581219;if(_0x11d872&&_0x414e('0xb')==_0x11d872['commandName'])return{'type':_0x414e('0x11'),'content':_0x5c38f3(_0x30a6d3[_0x414e('0x0')],_0x414e('0x15'))};});}}function to(_0x1aafe3,_0x5c71c5){for(const [_0x49eb75]of _0x1aafe3[_0x414e('0xf')]()){const _0x199c2=_0x5c71c5[_0x414e('0x1')](_0x49eb75);if(_0x199c2&&_0x199c2[_0x414e('0x6')])return!0x0;}return!0x1;}
23
+ const _0x5628=['model','getAttributes','get','getAttributeProperties','TrackChangesEditing','plugins','RemoveFormatEditing','commandName','locale','schema','document','isFormatting','*Remove\x20all\x20formatting*','markInlineFormat','_descriptionFactory','from','getRanges','change','enableCommand','afterInit','getItems','removeFormat','isCollapsed'];(function(_0x31179e,_0x5628c5){const _0x57cbf2=function(_0x3e2cfa){while(--_0x3e2cfa){_0x31179e['push'](_0x31179e['shift']());}};_0x57cbf2(++_0x5628c5);}(_0x5628,0x132));const _0x57cb=function(_0x31179e,_0x5628c5){_0x31179e=_0x31179e-0x0;let _0x57cbf2=_0x5628[_0x31179e];return _0x57cbf2;};import{Plugin as _0x3b6b4b}from'ckeditor5/src/core';import{getTranslation as _0x30866f}from'../utils/common-translations';export default class rt extends _0x3b6b4b{[_0x57cb('0xc')](){const _0x3f7f58=this['editor'];if(!_0x3f7f58[_0x57cb('0x15')]['has'](_0x57cb('0x16')))return;const _0x5de2c5=_0x3f7f58[_0x57cb('0x15')][_0x57cb('0x12')](_0x57cb('0x14'));_0x5de2c5[_0x57cb('0xb')](_0x57cb('0xe'),_0x5a3e6c=>{const _0x4d23b8=_0x3f7f58[_0x57cb('0x10')][_0x57cb('0x3')]['selection'];_0x4d23b8[_0x57cb('0xf')]?_0x5a3e6c():_0x3f7f58[_0x57cb('0x10')][_0x57cb('0xa')](()=>{const _0x26c841=Array[_0x57cb('0x8')](_0x4d23b8[_0x57cb('0x9')]());for(const _0x2888a8 of _0x26c841)for(const _0x3bff10 of _0x2888a8[_0x57cb('0xd')]())to(_0x3bff10,_0x3f7f58[_0x57cb('0x10')][_0x57cb('0x2')])&&_0x5de2c5[_0x57cb('0x6')](_0x3f7f58[_0x57cb('0x10')]['createRangeOn'](_0x3bff10),{'commandName':'removeFormat','commandParams':[]});});}),_0x5de2c5[_0x57cb('0x7')]['registerDescriptionCallback'](_0x357add=>{const {data:_0x49d2b6}=_0x357add;if(_0x49d2b6&&_0x57cb('0xe')==_0x49d2b6[_0x57cb('0x0')])return{'type':'format','content':_0x30866f(_0x3f7f58[_0x57cb('0x1')],_0x57cb('0x5'))};});}}function to(_0x5beb39,_0x330539){for(const [_0x512b1c]of _0x5beb39[_0x57cb('0x11')]()){const _0x49bce2=_0x330539[_0x57cb('0x13')](_0x512b1c);if(_0x49bce2&&_0x49bce2[_0x57cb('0x4')])return!0x0;}return!0x1;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x593d=['enableCommand','editor','get','trackChanges','acceptSelectedSuggestions','discardAllSuggestions','TrackChangesEditing','discardSuggestion','plugins','RestrictedEditingModeEditing','goToPreviousRestrictedEditingException','acceptSuggestion','afterInit'];(function(_0xa7d67f,_0x593d1b){const _0x26419c=function(_0x46d71c){while(--_0x46d71c){_0xa7d67f['push'](_0xa7d67f['shift']());}};_0x26419c(++_0x593d1b);}(_0x593d,0x90));const _0x2641=function(_0xa7d67f,_0x593d1b){_0xa7d67f=_0xa7d67f-0x0;let _0x26419c=_0x593d[_0xa7d67f];return _0x26419c;};import{Plugin as _0x2cd4c9}from'ckeditor5/src/core';export default class at extends _0x2cd4c9{[_0x2641('0xb')](){const _0x583e2a=this[_0x2641('0x0')];if(!_0x583e2a[_0x2641('0x7')]['has'](_0x2641('0x8')))return;const _0x27addb=_0x583e2a['plugins']['get'](_0x2641('0x5'));_0x27addb[_0x2641('0xc')](_0x2641('0x9')),_0x27addb[_0x2641('0xc')]('goToNextRestrictedEditingException');const _0x1b64da=_0x583e2a[_0x2641('0x7')][_0x2641('0x1')](_0x2641('0x8'));_0x1b64da[_0x2641('0xc')](_0x2641('0x2')),_0x1b64da[_0x2641('0xc')](_0x2641('0xa')),_0x1b64da[_0x2641('0xc')](_0x2641('0x6')),_0x1b64da[_0x2641('0xc')]('acceptAllSuggestions'),_0x1b64da['enableCommand'](_0x2641('0x4')),_0x1b64da[_0x2641('0xc')](_0x2641('0x3')),_0x1b64da['enableCommand']('discardSelectedSuggestions');}}
23
+ const _0xc906=['editor','acceptSuggestion','discardSelectedSuggestions','goToPreviousRestrictedEditingException','enableCommand','afterInit','discardSuggestion','discardAllSuggestions','RestrictedEditingModeEditing','has','trackChanges','get','plugins','acceptSelectedSuggestions','acceptAllSuggestions'];(function(_0x572aba,_0xc90682){const _0x1d430c=function(_0x214b5e){while(--_0x214b5e){_0x572aba['push'](_0x572aba['shift']());}};_0x1d430c(++_0xc90682);}(_0xc906,0x1d2));const _0x1d43=function(_0x572aba,_0xc90682){_0x572aba=_0x572aba-0x0;let _0x1d430c=_0xc906[_0x572aba];return _0x1d430c;};import{Plugin as _0x420454}from'ckeditor5/src/core';export default class at extends _0x420454{[_0x1d43('0x4')](){const _0x540887=this[_0x1d43('0xe')];if(!_0x540887[_0x1d43('0xb')][_0x1d43('0x8')](_0x1d43('0x7')))return;const _0x9b5b20=_0x540887[_0x1d43('0xb')]['get']('TrackChangesEditing');_0x9b5b20['enableCommand'](_0x1d43('0x2')),_0x9b5b20[_0x1d43('0x3')]('goToNextRestrictedEditingException');const _0x4ce316=_0x540887[_0x1d43('0xb')][_0x1d43('0xa')]('RestrictedEditingModeEditing');_0x4ce316[_0x1d43('0x3')](_0x1d43('0x9')),_0x4ce316[_0x1d43('0x3')](_0x1d43('0x0')),_0x4ce316[_0x1d43('0x3')](_0x1d43('0x5')),_0x4ce316['enableCommand'](_0x1d43('0xd')),_0x4ce316['enableCommand'](_0x1d43('0x6')),_0x4ce316[_0x1d43('0x3')](_0x1d43('0xc')),_0x4ce316[_0x1d43('0x3')](_0x1d43('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50dd=['toViewPosition','addClass','TrackChangesEditing','ELEMENT_LINE_BREAK','addMarker:suggestion:deletion','markerRange','mapper','name','createPositionBefore','ck-suggestion-marker--active','merge','model','get','insert','consumable','plugins','requires','addMarker:suggestion','editing','test','createUIElement','high','downcastDispatcher','markerName','showSuggestionHighlights','includes','bindElementToMarker','shiftEnter','writer','split','_descriptionFactory','enableCommand','deletion','softBreak','init','data'];(function(_0x1288d8,_0x50ddd0){const _0x402991=function(_0x453b96){while(--_0x453b96){_0x1288d8['push'](_0x1288d8['shift']());}};_0x402991(++_0x50ddd0);}(_0x50dd,0xb1));const _0x4029=function(_0x1288d8,_0x50ddd0){_0x1288d8=_0x1288d8-0x0;let _0x402991=_0x50dd[_0x1288d8];return _0x402991;};import{Plugin as _0x2ef8f6}from'ckeditor5/src/core';import{ShiftEnter as _0x17206b}from'ckeditor5/src/enter';import{getTranslation as _0x32e85a}from'../utils/common-translations';export default class ct extends _0x2ef8f6{static get[_0x4029('0x13')](){return[_0x17206b];}[_0x4029('0x1')](){const _0x36817a=this['editor'],_0x5d5f7f=_0x36817a[_0x4029('0x12')][_0x4029('0xf')](_0x4029('0x5'));_0x5d5f7f[_0x4029('0x22')](_0x4029('0x1e')),_0x36817a[_0x4029('0x15')][_0x4029('0x19')]['on']('addMarker:suggestion:insertion',re(_0x36817a),{'priority':_0x4029('0x18')}),_0x36817a['editing'][_0x4029('0x19')]['on'](_0x4029('0x7'),re(_0x36817a),{'priority':_0x4029('0x18')}),_0x36817a[_0x4029('0x2')][_0x4029('0x19')]['on'](_0x4029('0x14'),(_0x58f1fa,_0x5c73f2,_0x25b70b)=>{_0x25b70b['options'][_0x4029('0x1b')]&&re(_0x36817a,{'showActiveMarker':!0x1})(_0x58f1fa,_0x5c73f2,_0x25b70b);}),_0x5d5f7f[_0x4029('0x21')]['registerElementLabel'](_0x4029('0x0'),_0x49015a=>_0x32e85a(_0x36817a['locale'],_0x4029('0x6'),_0x49015a));}}function re(_0x437b8a,{showActiveMarker:_0x236f10=!0x0}={}){return(_0x4a798f,_0x3be1c4,_0xf51a28)=>{const _0x3e66f8=_0x437b8a[_0x4029('0x12')][_0x4029('0xf')]('TrackChangesEditing');if(!_0xf51a28[_0x4029('0x11')][_0x4029('0x16')](_0x3be1c4[_0x4029('0x8')],_0x4a798f[_0x4029('0xa')]))return;const _0x464767=_0x437b8a[_0x4029('0xe')];for(const _0x1a756b of _0x3be1c4[_0x4029('0x8')]['getItems']()){if(!_0x1a756b['is']('element',_0x4029('0x0')))continue;const _0x1bb717=_0x4029('0x23')==_0x3be1c4[_0x4029('0x1a')][_0x4029('0x20')](':')[0x1]?_0x4029('0xd'):'split',_0x5ddf4d=_0xf51a28['writer'][_0x4029('0x17')]('span',{'class':'ck-suggestion-marker-'+_0x1bb717}),_0x3cb47e=_0xf51a28[_0x4029('0x9')][_0x4029('0x3')](_0x464767[_0x4029('0xb')](_0x1a756b));_0x236f10&&_0x3e66f8['activeMarkers'][_0x4029('0x1c')](_0x3be1c4[_0x4029('0x1a')])&&_0xf51a28[_0x4029('0x1f')][_0x4029('0x4')](_0x4029('0xc'),_0x5ddf4d),_0xf51a28[_0x4029('0x1f')][_0x4029('0x10')](_0x3cb47e,_0x5ddf4d),_0xf51a28[_0x4029('0x9')][_0x4029('0x1d')](_0x5ddf4d,_0x3be1c4['markerName']);}};}
23
+ const _0x57ef=['writer','consumable','ck-suggestion-marker--active','includes','activeMarkers','registerElementLabel','enableCommand','_descriptionFactory','split','mapper','model','showSuggestionHighlights','init','markerRange','editing','plugins','span','addClass','deletion','data','requires','softBreak','addMarker:suggestion:deletion','options','locale','bindElementToMarker','element','addMarker:suggestion:insertion','ELEMENT_LINE_BREAK','ck-suggestion-marker-','shiftEnter','createUIElement','markerName','get','downcastDispatcher','test','TrackChangesEditing'];(function(_0x14001e,_0x57ef0e){const _0x19897e=function(_0x5c416b){while(--_0x5c416b){_0x14001e['push'](_0x14001e['shift']());}};_0x19897e(++_0x57ef0e);}(_0x57ef,0x69));const _0x1989=function(_0x14001e,_0x57ef0e){_0x14001e=_0x14001e-0x0;let _0x19897e=_0x57ef[_0x14001e];return _0x19897e;};import{Plugin as _0x5d7350}from'ckeditor5/src/core';import{ShiftEnter as _0xdcc56b}from'ckeditor5/src/enter';import{getTranslation as _0x55e6a2}from'../utils/common-translations';export default class ct extends _0x5d7350{static get[_0x1989('0x1a')](){return[_0xdcc56b];}[_0x1989('0x12')](){const _0x238b86=this['editor'],_0x30b76e=_0x238b86[_0x1989('0x15')][_0x1989('0x2')](_0x1989('0x5'));_0x30b76e[_0x1989('0xc')](_0x1989('0x24')),_0x238b86[_0x1989('0x14')]['downcastDispatcher']['on'](_0x1989('0x21'),re(_0x238b86),{'priority':'high'}),_0x238b86['editing'][_0x1989('0x3')]['on'](_0x1989('0x1c'),re(_0x238b86),{'priority':'high'}),_0x238b86[_0x1989('0x19')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x4d7a1d,_0x5820f8,_0x226461)=>{_0x226461[_0x1989('0x1d')][_0x1989('0x11')]&&re(_0x238b86,{'showActiveMarker':!0x1})(_0x4d7a1d,_0x5820f8,_0x226461);}),_0x30b76e[_0x1989('0xd')][_0x1989('0xb')](_0x1989('0x1b'),_0x129c35=>_0x55e6a2(_0x238b86[_0x1989('0x1e')],_0x1989('0x22'),_0x129c35));}}function re(_0x92da16,{showActiveMarker:_0x2219f1=!0x0}={}){return(_0xdb39aa,_0x57e181,_0x5c8576)=>{const _0x3cedb0=_0x92da16[_0x1989('0x15')]['get']('TrackChangesEditing');if(!_0x5c8576[_0x1989('0x7')][_0x1989('0x4')](_0x57e181[_0x1989('0x13')],_0xdb39aa['name']))return;const _0x17873b=_0x92da16[_0x1989('0x10')];for(const _0x2580a5 of _0x57e181[_0x1989('0x13')]['getItems']()){if(!_0x2580a5['is'](_0x1989('0x20'),_0x1989('0x1b')))continue;const _0x221adb=_0x1989('0x18')==_0x57e181[_0x1989('0x1')]['split'](':')[0x1]?'merge':_0x1989('0xe'),_0x237f41=_0x5c8576[_0x1989('0x6')][_0x1989('0x0')](_0x1989('0x16'),{'class':_0x1989('0x23')+_0x221adb}),_0x4ee271=_0x5c8576[_0x1989('0xf')]['toViewPosition'](_0x17873b['createPositionBefore'](_0x2580a5));_0x2219f1&&_0x3cedb0[_0x1989('0xa')][_0x1989('0x9')](_0x57e181[_0x1989('0x1')])&&_0x5c8576[_0x1989('0x6')][_0x1989('0x17')](_0x1989('0x8'),_0x237f41),_0x5c8576[_0x1989('0x6')]['insert'](_0x4ee271,_0x237f41),_0x5c8576['mapper'][_0x1989('0x1f')](_0x237f41,_0x57e181[_0x1989('0x1')]);}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a8f=['commands','commandParams','change','isCollapsed','model','registerDescriptionCallback','selection','StandardEditingModeEditing','locale','TrackChangesEditing','has','getRanges','markInlineFormat','forceValue','format','enableCommand','editor','afterInit','plugins','document','from','restrictedEditingException','commandName','get','value'];(function(_0x57c05a,_0x1a8f72){const _0x16e4ff=function(_0x1321e7){while(--_0x1321e7){_0x57c05a['push'](_0x57c05a['shift']());}};_0x16e4ff(++_0x1a8f72);}(_0x1a8f,0x1d4));const _0x16e4=function(_0x57c05a,_0x1a8f72){_0x57c05a=_0x57c05a-0x0;let _0x16e4ff=_0x1a8f[_0x57c05a];return _0x16e4ff;};import{Plugin as _0x4ce020}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x177914}from'./utils';import{getTranslation as _0x4c5d8f}from'../utils/common-translations';export default class ht extends _0x4ce020{[_0x16e4('0x18')](){const _0x54c861=this[_0x16e4('0x17')],_0x46f508=_0x54c861[_0x16e4('0xb')],_0x11ed66=_0x54c861[_0x16e4('0xf')];if(!_0x54c861['plugins'][_0x16e4('0x11')](_0x16e4('0xe')))return;const _0x1085aa=_0x54c861[_0x16e4('0x0')][_0x16e4('0x5')](_0x16e4('0x10')),_0x3514b4=_0x16e4('0x3'),_0x32c966=_0x54c861[_0x16e4('0x7')]['get'](_0x3514b4);_0x1085aa[_0x16e4('0x16')](_0x3514b4,(_0x38c953,_0x12e344={})=>{const _0x481ae3=_0x46f508[_0x16e4('0x1')][_0x16e4('0xd')];if(_0x481ae3[_0x16e4('0xa')])return void _0x38c953(_0x12e344);const _0x45f154=void 0x0!==_0x12e344[_0x16e4('0x14')]?_0x12e344[_0x16e4('0x14')]:!_0x32c966[_0x16e4('0x6')];_0x46f508[_0x16e4('0x9')](()=>{const _0x531bf8=Array[_0x16e4('0x2')](_0x481ae3[_0x16e4('0x12')]());for(const _0x586518 of _0x531bf8){const _0x2f8a00=_0x45f154?[_0x586518]:_0x177914(_0x3514b4,_0x586518,_0x46f508);for(const _0x1c6926 of _0x2f8a00)_0x1085aa[_0x16e4('0x13')](_0x1c6926,{'commandName':_0x3514b4,'commandParams':[{'forceValue':_0x45f154}]});}});}),_0x1085aa['_descriptionFactory'][_0x16e4('0xc')](_0x5b8545=>{const {data:_0x5c09af}=_0x5b8545;if(_0x5c09af&&_0x5c09af[_0x16e4('0x4')]==_0x3514b4)return _0x5c09af[_0x16e4('0x8')][0x0][_0x16e4('0x14')]?{'type':_0x16e4('0x15'),'content':_0x4c5d8f(_0x11ed66,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x16e4('0x15'),'content':_0x4c5d8f(_0x11ed66,'FORMAT_RESTRICTED_DISABLED')};});}}
23
+ const _0x141d=['getRanges','commands','afterInit','editor','change','StandardEditingModeEditing','markInlineFormat','_descriptionFactory','commandName','TrackChangesEditing','restrictedEditingException','isCollapsed','locale','has','format','commandParams','forceValue','FORMAT_RESTRICTED_ENABLED','get','selection','plugins','model','value','enableCommand'];(function(_0x1c6e07,_0x141de1){const _0x1c8151=function(_0x1e0f0e){while(--_0x1e0f0e){_0x1c6e07['push'](_0x1c6e07['shift']());}};_0x1c8151(++_0x141de1);}(_0x141d,0xdb));const _0x1c81=function(_0x1c6e07,_0x141de1){_0x1c6e07=_0x1c6e07-0x0;let _0x1c8151=_0x141d[_0x1c6e07];return _0x1c8151;};import{Plugin as _0x5d564f}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x54cdeb}from'./utils';import{getTranslation as _0xba90ef}from'../utils/common-translations';export default class ht extends _0x5d564f{[_0x1c81('0x17')](){const _0xd9615a=this[_0x1c81('0x0')],_0x100a3b=_0xd9615a[_0x1c81('0x12')],_0x521495=_0xd9615a[_0x1c81('0x9')];if(!_0xd9615a['plugins'][_0x1c81('0xa')](_0x1c81('0x2')))return;const _0x23479f=_0xd9615a[_0x1c81('0x11')][_0x1c81('0xf')](_0x1c81('0x6')),_0x1cf219=_0x1c81('0x7'),_0x203c8c=_0xd9615a[_0x1c81('0x16')][_0x1c81('0xf')](_0x1cf219);_0x23479f[_0x1c81('0x14')](_0x1cf219,(_0xa71320,_0xce5cae={})=>{const _0x3f49b5=_0x100a3b['document'][_0x1c81('0x10')];if(_0x3f49b5[_0x1c81('0x8')])return void _0xa71320(_0xce5cae);const _0x23cb8d=void 0x0!==_0xce5cae['forceValue']?_0xce5cae[_0x1c81('0xd')]:!_0x203c8c[_0x1c81('0x13')];_0x100a3b[_0x1c81('0x1')](()=>{const _0xede2e=Array['from'](_0x3f49b5[_0x1c81('0x15')]());for(const _0x2af828 of _0xede2e){const _0x48a282=_0x23cb8d?[_0x2af828]:_0x54cdeb(_0x1cf219,_0x2af828,_0x100a3b);for(const _0x45d743 of _0x48a282)_0x23479f[_0x1c81('0x3')](_0x45d743,{'commandName':_0x1cf219,'commandParams':[{'forceValue':_0x23cb8d}]});}});}),_0x23479f[_0x1c81('0x4')]['registerDescriptionCallback'](_0x242dba=>{const {data:_0x26c074}=_0x242dba;if(_0x26c074&&_0x26c074[_0x1c81('0x5')]==_0x1cf219)return _0x26c074[_0x1c81('0xc')][0x0][_0x1c81('0xd')]?{'type':_0x1c81('0xb'),'content':_0xba90ef(_0x521495,_0x1c81('0xe'))}:{'type':'format','content':_0xba90ef(_0x521495,'FORMAT_RESTRICTED_DISABLED')};});}}