@ckeditor/ckeditor5-track-changes 35.3.1 → 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 _0x78d8=['editing','selection','commandName','locale','getAttribute','TrackChangesEditing','htmlEmbed','registerElementLabel','editor','rawHtml','value','registerDescriptionCallback','model','get','has','*Change\x20%0\x20content*','getCustomProperty','ELEMENT_HTML_EMBED','_descriptionFactory','document','view','HtmlEmbed','rawHtmlApi','format','getSelectedElement','plugins','markBlockFormat','element','change','enableCommand'];(function(_0x49be84,_0x78d820){const _0x4ac8e9=function(_0x5463bb){while(--_0x5463bb){_0x49be84['push'](_0x49be84['shift']());}};_0x4ac8e9(++_0x78d820);}(_0x78d8,0x19a));const _0x4ac8=function(_0x49be84,_0x78d820){_0x49be84=_0x49be84-0x0;let _0x4ac8e9=_0x78d8[_0x49be84];return _0x4ac8e9;};import{Plugin as _0x281663}from'ckeditor5/src/core';import{getTranslation as _0x3ba8c1}from'../utils/common-translations';export default class Q extends _0x281663{['afterInit'](){const _0x57b3a4=this[_0x4ac8('0x12')];if(!_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x18')](_0x4ac8('0x1')))return;const _0x27d7d8=_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x17')](_0x4ac8('0xf')),_0xeb1f09=_0x57b3a4[_0x4ac8('0xd')],_0x3c226b=_0x57b3a4[_0x4ac8('0xa')][_0x4ac8('0x0')][_0x4ac8('0x1d')]['selection'];_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x11')]('rawHtml',_0x5bdb64=>_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'),_0x5bdb64)),_0x57b3a4[_0x4ac8('0x5')]['get'](_0x4ac8('0xf'))[_0x4ac8('0x9')](_0x4ac8('0x10'),(_0x5bc174,_0x575c9e)=>{const _0x240015=_0x57b3a4[_0x4ac8('0x16')],_0x17197f=_0x240015[_0x4ac8('0x1d')][_0x4ac8('0xb')];_0x240015[_0x4ac8('0x8')](()=>{const _0x5ec980=function(_0x3635f9){const _0x4472cb=_0x3635f9[_0x4ac8('0x4')]();if(_0x4472cb&&_0x4472cb['is'](_0x4ac8('0x7'),_0x4ac8('0x13')))return _0x3635f9[_0x4ac8('0x4')]();return null;}(_0x17197f);if(!_0x5ec980)return void _0x5bc174(null);const _0xd68a58=_0x5ec980[_0x4ac8('0xe')](_0x4ac8('0x14'))||'';if(void 0x0===_0x575c9e)return;if(_0x575c9e===_0xd68a58)return;_0x27d7d8[_0x4ac8('0x6')](_0x5ec980,{'commandName':_0x4ac8('0x10'),'commandParams':[_0x575c9e]}),_0x3c226b[_0x4ac8('0x4')]()[_0x4ac8('0x1a')](_0x4ac8('0x2'))['cancel']();});}),_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x15')](_0x241756=>{const {data:_0x1e56f7}=_0x241756;if(_0x1e56f7&&'htmlEmbed'==_0x1e56f7[_0x4ac8('0xc')]){const _0x46b2df=_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'));return{'type':_0x4ac8('0x3'),'content':_0x3ba8c1(_0xeb1f09,_0x4ac8('0x19'),_0x46b2df)};}});}}
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 _0x4635=['length','getAttribute','_findSuggestions','createRangeOn','ImageInlineEditing','FORMAT_SIDE_IMAGE','ELEMENT_INLINE_IMAGE','getClosestSelectedImageElement','imageStyle','ImageCaptionUtils','forEach','fromPosition','removeObject','imageStylePostApply','nodeAfter','backward','hasSuggestion','_descriptionFactory','imageCaption','alt','markBlockFormat','chain','type','*Remove\x20image\x20text\x20alternative*','getSuggestionCallback','imageTypeInline','find','start','width','schema','*Set\x20image\x20text\x20alternative:*\x20%0','ImageResize','forceDefaultExecution','markDeletion','suggestion','commands','Users','newValue','commandParams','registerPostFixer','join','markInsertion','resizeImage','toNext','model','locale','isOwn','registerDescriptionCallback','isInlineImage','previous','*Set\x20image\x20width:*\x20%0','imageBlock','insertion','has','*Format:*\x20%0','deletion','detach','convertBlockImageToInline','getChangedMarkers','toLowerCase','next','refresh','createRange','registerElementLabel','selection','subType','ImageUploadEditing','getSuggestions','commandReversedParams','ImageTextAlternativeEditing','isIntersecting','filter','_suggestionFactory','change','getSuggestion','convertInlineImageToBlock','name','value','isBefore','getCaptionFromImageModelElement','formatBlock','isEqual','isBlockImage','accept','author','findIndex','element','getContainedElement','get','isCollapsed','imageTextAlternative','discard','discardSuggestion','imageTypeBlock','document','editor','hasAttribute','caption','forward','plugins','Block\x20image\x20to\x20inline\x20image','shouldConvertImageType','isInContent','imageInline','getNearestSelectionRange','toPrevious','ELEMENT_CAPTION','Inline\x20image\x20to\x20block\x20image','toggleImageCaption','ImageUtils','end','enableCommand','getFirstRange','commandName','format','newRange','registerCustomCallback','addObject','*Reset\x20image\x20width*','markInlineFormat','imageStylePreApply'];(function(_0x4f8b19,_0x463583){const _0x2f6f03=function(_0x4c0299){while(--_0x4c0299){_0x4f8b19['push'](_0x4f8b19['shift']());}};_0x2f6f03(++_0x463583);}(_0x4635,0x1b2));const _0x2f6f=function(_0x4f8b19,_0x463583){_0x4f8b19=_0x4f8b19-0x0;let _0x2f6f03=_0x4635[_0x4f8b19];return _0x2f6f03;};import{Plugin as _0x336904}from'ckeditor5/src/core';import{LivePosition as _0x128193}from'ckeditor5/src/engine';import{uid as _0x5ebd6a}from'ckeditor5/src/utils';import{getTranslation as _0x43eb8f}from'../utils/common-translations';export default class V extends _0x336904{['afterInit'](){const _0x30d359=this[_0x2f6f('0x18')];if(!_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageEditing'))return;const _0x4df196=_0x30d359['plugins'][_0x2f6f('0x11')]('TrackChangesEditing'),_0x59dec7=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x26')),_0xbd1a61={},_0x951fd9=_0x30d359[_0x2f6f('0x5f')];if(_0x4df196[_0x2f6f('0x28')]('insertImage'),_0x4df196['_descriptionFactory'][_0x2f6f('0x71')](_0x2f6f('0x65'),_0x31ef57=>_0x43eb8f(_0x951fd9,'ELEMENT_IMAGE',_0x31ef57)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')](_0x2f6f('0x20'),_0x1f488f=>_0x43eb8f(_0x951fd9,_0x2f6f('0x38'),_0x1f488f)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')]('caption',()=>_0x43eb8f(_0x951fd9,_0x2f6f('0x23'))),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x74'))&&_0x4df196[_0x2f6f('0x28')]('uploadImage'),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageBlockEditing')&&_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x36'))&&(_0x4df196[_0x2f6f('0x28')]('imageTypeInline',(_0x3bf2fa,_0x4d9797)=>{const _0x4639d1=_0x59dec7['getClosestSelectedImageElement'](_0x30d359['model'][_0x2f6f('0x17')][_0x2f6f('0x72')]);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x4639d1,{'commandName':_0x2f6f('0x4b'),'commandParams':[_0x4d9797]},[],_0x2f6f('0x6b'));});}),_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x16'),(_0x3c099e,_0xf1fffe)=>{_0x30d359['model']['change'](_0x1fab38=>{let _0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x306f94=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x4d')],_0x2f6f('0x22')),_0x32c592=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x27')],_0x2f6f('0x5d'));_0x4df196[_0x2f6f('0x52')](()=>_0x3c099e(_0xf1fffe)),_0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x514f70=_0x1fab38['createRange'](_0x306f94,_0x32c592);_0x306f94[_0x2f6f('0x6a')](),_0x32c592[_0x2f6f('0x6a')](),_0x4df196[_0x2f6f('0x46')](_0x2bc148,{'commandName':'imageTypeInline'},[],_0x2f6f('0x4')),_0x514f70['start'][_0x2f6f('0x7')](_0x3e778d['start'])&&_0x4df196[_0x2f6f('0x5b')](_0x1fab38[_0x2f6f('0x70')](_0x514f70[_0x2f6f('0x4d')],_0x3e778d[_0x2f6f('0x4d')]),_0x2f6f('0x4')),_0x3e778d['end']['isBefore'](_0x514f70[_0x2f6f('0x27')])&&_0x4df196['markInsertion'](_0x1fab38['createRange'](_0x3e778d['end'],_0x514f70['end']),_0x2f6f('0x4'));});}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),'convertInlineImageToBlock','discard',_0x4df196[_0x2f6f('0x1')]['getSuggestionCallback'](_0x2f6f('0x9'),'',_0x2f6f('0xc'))),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x4'),'join',()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('insertion',_0x2f6f('0x4'),_0x2f6f('0x14'),([_0x4e2acb])=>{const _0x203c18=_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')]('insertion','','discard');let _0x1a13fb=_0x4e2acb[_0x2f6f('0x4d')],_0x7a0968=_0x4e2acb['end'];const _0x455e0a=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')][_0x2f6f('0x21')](_0x1a13fb,_0x2f6f('0x41')),_0x53b948=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')]['getNearestSelectionRange'](_0x7a0968,_0x2f6f('0x1b'));_0x455e0a[_0x2f6f('0x12')]&&(_0x1a13fb=_0x455e0a['start']),_0x53b948[_0x2f6f('0x12')]&&(_0x7a0968=_0x53b948[_0x2f6f('0x27')]),_0x203c18([_0x30d359['model'][_0x2f6f('0x70')](_0x1a13fb,_0x7a0968)]);}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x66'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169)),_0x30d359['plugins']['has']('ImageCaptionEditing')&&(_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x25'),(_0x4a2278,_0x43aa12)=>{const _0x44d13c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x3b'));let _0x424e66=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{if(_0x30e839)return void _0x4df196[_0x2f6f('0x53')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839));const _0x419220=_0x59dec7[_0x2f6f('0xb')](_0x424e66);_0x4a2278(_0x43aa12),_0x424e66=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')]['document'][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66),_0x4df196[_0x2f6f('0x5b')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839),_0x419220?null:_0x2f6f('0x44'));});}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x44'),_0x2f6f('0x47'),_0x518169)),_0x30d359[_0x2f6f('0x1c')]['has']('ImageStyleEditing')){_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x3a'),(_0x26b360,_0x2e22a6)=>{const _0xd2658c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x56'))['me'],_0x46b506=_0x30d359[_0x2f6f('0x55')]['get'](_0x2f6f('0x3a'));let _0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model'][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x5ac83a=_0x46b506[_0x2f6f('0x6')];if(_0x5ac83a==_0x2e22a6[_0x2f6f('0x6')])return;const _0xbf12da={'commandName':_0x2f6f('0x3a'),'commandParams':[_0x2e22a6],'formatGroupId':_0x5ebd6a()};_0x30d359[_0x2f6f('0x5e')]['change'](()=>{if(_0x4df196[_0x2f6f('0x75')]()['filter'](_0x252d7b=>_0x252d7b['isInContent']&&_0xd2658c==_0x252d7b[_0x2f6f('0xd')]&&('formatBlock'==_0x252d7b[_0x2f6f('0x48')]||'formatInline'==_0x252d7b[_0x2f6f('0x48')])&&(_0x2f6f('0x31')==_0x252d7b[_0x2f6f('0x73')]||_0x2f6f('0x3f')==_0x252d7b['subType'])&&_0x252d7b[_0x2f6f('0x29')]()[_0x2f6f('0xa')](_0x343030))[_0x2f6f('0x3c')](_0x5c40f0=>_0x4df196[_0x2f6f('0x15')](_0x5c40f0['head'])),_0x4ddf35=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x46b506[_0x2f6f('0x6f')](),_0x30d359['commands'][_0x2f6f('0x11')]('imageTypeInline')['refresh'](),_0x30d359[_0x2f6f('0x55')][_0x2f6f('0x11')]('imageTypeBlock')[_0x2f6f('0x6f')](),_0x5ac83a=_0x46b506[_0x2f6f('0x6')],_0x5ac83a!=_0x2e22a6['value'])return _0x59dec7[_0x2f6f('0x62')](_0x4ddf35)&&_0x46b506[_0x2f6f('0x1e')](_0x2e22a6[_0x2f6f('0x6')],_0x4ddf35)?(_0x26b360(_0x2e22a6),_0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),void _0x4df196[_0x2f6f('0x46')](_0x4ddf35,{..._0xbf12da,'commandReversedParams':[{'value':_0x5ac83a||null}]},[],_0x2f6f('0x31'))):void(_0x59dec7[_0x2f6f('0xb')](_0x4ddf35)?_0x4df196[_0x2f6f('0x46')](_0x4ddf35,_0xbf12da,[],'imageStylePostApply'):_0x4df196[_0x2f6f('0x30')](_0x343030,_0xbf12da,'imageStylePostApply'));});});for(const _0x5cd302 of _0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')]('ImageStyleEditing')['normalizedStyles'])_0xbd1a61[_0x5cd302[_0x2f6f('0x5')]]=_0x5cd302['title'][_0x2f6f('0x6d')]();_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback']('formatInline',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory']['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock','imageStylePreApply',_0x2f6f('0x14'),(_0xc71655,_0x530aa6)=>{_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')](_0x2f6f('0x9'),'',_0x2f6f('0xc'))(_0xc71655,{'commandName':_0x530aa6['commandName'],'commandParams':_0x530aa6[_0x2f6f('0x76')]});}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x47'),_0x518169);}const _0xade763=[{'type':_0x2f6f('0x9'),'subType':_0x2f6f('0x31')},{'type':'insertion','subType':_0x2f6f('0x44')},{'type':_0x2f6f('0x9'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x2f6f('0x4')}];function _0x41c60f(_0x53924d,_0x5d348d){const _0x495d53=_0xade763[_0x2f6f('0xe')](({type:_0x1297c7,subType:_0x223ddc})=>_0x53924d['type']==_0x1297c7&&_0x53924d[_0x2f6f('0x73')]==_0x223ddc),_0x5122bf=_0xade763[_0x2f6f('0xe')](({type:_0x54854a,subType:_0x200302})=>_0x5d348d[_0x2f6f('0x48')]==_0x54854a&&_0x5d348d['subType']==_0x200302);if(_0x495d53<0x0||_0x5122bf<0x0)return!0x1;const _0x50c665=_0x53924d['getFirstRange'](),_0x4dcd27=_0x5d348d[_0x2f6f('0x29')]();if((0x0==_0x495d53||0x1==_0x495d53)&&0x2==_0x5122bf&&_0x50c665[_0x2f6f('0x78')](_0x4dcd27))return!0x0;if(0x2==_0x495d53&&0x3==_0x5122bf){const _0x437093=_0x4df196[_0x2f6f('0x34')](_0x50c665,_0x2f6f('0x66'))[_0x2f6f('0x0')](({suggestion:_0x2f46f6,meta:_0x7f13a0})=>_0x7f13a0[_0x2f6f('0x60')]&&_0x2f6f('0x4')==_0x2f46f6['subType']);if(_0x437093['length']>0x1&&_0x4dcd27[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x50c665[_0x2f6f('0x4d')]))return!0x0;if(0x1==_0x437093[_0x2f6f('0x32')]&&(_0x50c665[_0x2f6f('0x4d')][_0x2f6f('0xa')](_0x4dcd27['end'])||_0x50c665[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x4dcd27[_0x2f6f('0x4d')])))return!0x0;}if(0x3==_0x495d53&&0x3==_0x5122bf&&_0x50c665['start'][_0x2f6f('0x7')](_0x4dcd27[_0x2f6f('0x4d')])){const _0x340a1e=_0x50c665[_0x2f6f('0x27')][_0x2f6f('0x40')],_0x199e5e=_0x4dcd27['start']['nodeBefore'];return _0x59dec7[_0x2f6f('0xb')](_0x340a1e)&&_0x340a1e===_0x199e5e;}return!0x1;}function _0x518169(_0x203cba,_0x1222ac){return _0x41c60f(_0x203cba,_0x1222ac)?[_0x203cba,_0x1222ac]:_0x41c60f(_0x1222ac,_0x203cba)?[_0x1222ac,_0x203cba]:null;}_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x59')](()=>{let _0x15b6ad=!0x1;const _0x4ecaed=Array['from'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['differ'][_0x2f6f('0x6c')]());for(const {name:_0x20746c,data:_0x5cbda5}of _0x4ecaed){const {group:_0x149cb3,type:_0x193cdd,subType:_0x255021,id:_0x2365c0}=_0x4df196['_splitMarkerName'](_0x20746c);if(_0x2f6f('0x54')==_0x149cb3&&_0x4df196[_0x2f6f('0x42')](_0x2365c0)){if(_0x2f6f('0x9')==_0x193cdd&&('imageStylePreApply'==_0x255021||_0x2f6f('0x3f')==_0x255021)){const _0x55d22a=_0x4df196[_0x2f6f('0x3')](_0x2365c0);if(_0x5cbda5[_0x2f6f('0x2c')]){const _0x1685c4=_0x55d22a[_0x2f6f('0x29')]()[_0x2f6f('0x10')]();if(_0x59dec7[_0x2f6f('0xb')](_0x1685c4))continue;_0x4df196[_0x2f6f('0x15')](_0x55d22a),_0x15b6ad=!0x0;}}if('insertion'==_0x193cdd&&_0x2f6f('0x44')==_0x255021&&!_0x5cbda5[_0x2f6f('0x2c')]){const _0x4478d1=_0x4df196[_0x2f6f('0x3')](_0x2365c0);_0x4478d1['next']&&_0x4478d1['next'][_0x2f6f('0x1f')]&&(_0x4df196['discardSuggestion'](_0x4478d1[_0x2f6f('0x6e')]),_0x15b6ad=!0x0);}}}return _0x15b6ad;}),_0x30d359[_0x2f6f('0x1c')]['has'](_0x2f6f('0x51'))&&_0x4df196['enableCommand'](_0x2f6f('0x5c'),(_0x17c0ee,_0xfcaaad)=>{const _0x201c52=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model']['document'][_0x2f6f('0x72')]);_0x201c52[_0x2f6f('0x33')](_0x2f6f('0x4e'))!=_0xfcaaad[_0x2f6f('0x4e')]&&_0x30d359[_0x2f6f('0x5e')]['change'](()=>{_0x4df196[_0x2f6f('0x46')](_0x201c52,{'commandName':_0x2f6f('0x5c'),'commandParams':[_0xfcaaad]});});}),_0x30d359['plugins'][_0x2f6f('0x67')](_0x2f6f('0x77'))&&_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x13'),(_0x5bc4ee,_0x33a921)=>{const _0x51effc=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]);(_0x51effc[_0x2f6f('0x19')](_0x2f6f('0x45'))?_0x51effc[_0x2f6f('0x33')](_0x2f6f('0x45')):'')!=_0x33a921[_0x2f6f('0x57')]&&_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x51effc,{'commandName':'imageTextAlternative','commandParams':[_0x33a921]});});}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x50e0ee=>{if(!!_0xade763[_0x2f6f('0x4c')](({type:_0x16af64,subType:_0x933730})=>_0x50e0ee[_0x2f6f('0x48')]==_0x16af64&&_0x50e0ee['subType']==_0x933730))return _0x50e0ee[_0x2f6f('0x63')]?{}:void 0x0;}),_0x4df196['_descriptionFactory'][_0x2f6f('0x61')](_0x4812bf=>{if('insertion'==_0x4812bf[_0x2f6f('0x48')]||_0x2f6f('0x69')==_0x4812bf[_0x2f6f('0x48')]){const _0x1a5043=_0x4812bf[_0x2f6f('0x10')]();if(_0x1a5043&&_0x1a5043['is'](_0x2f6f('0xf'),_0x2f6f('0x1a')))return{'type':_0x2f6f('0x66')==_0x4812bf['type']?_0x2f6f('0x2e'):_0x2f6f('0x3e'),'element':_0x1a5043,'quantity':0x1};}}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x22ccf4=>_0x2f6f('0x9')==_0x22ccf4[_0x2f6f('0x48')]&&'convertInlineImageToBlock'==_0x22ccf4[_0x2f6f('0x73')]?{'type':_0x2f6f('0x2b'),'content':_0x2f6f('0x24')}:'formatBlock'==_0x22ccf4[_0x2f6f('0x48')]&&_0x2f6f('0x6b')==_0x22ccf4[_0x2f6f('0x73')]?{'type':'format','content':_0x2f6f('0x1d')}:void 0x0),_0x4df196[_0x2f6f('0x43')]['registerDescriptionCallback'](_0x38578d=>{const {data:_0x50e5ad}=_0x38578d;if(_0x50e5ad){if('imageStyle'==_0x50e5ad[_0x2f6f('0x2a')]){const _0x25bf5a=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x6')];return _0x50c287('side'===_0x25bf5a?_0x43eb8f(_0x951fd9,_0x2f6f('0x37')):_0xbd1a61[_0x25bf5a]||_0x25bf5a);}if(_0x2f6f('0x13')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x145249=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x57')];return _0x145249?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x50'),'\x22'+_0x145249+'\x22')}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x49'))};}if(_0x2f6f('0x5c')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x4ae424=_0x50e5ad['commandParams'][0x0][_0x2f6f('0x4e')];return _0x4ae424?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x64'),_0x4ae424)}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x2f'))};}}function _0x50c287(_0x4e7f46){return{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x68'),_0x4e7f46)};}});}}
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 _0x23ae=['enableCommand','lowest','bind','dataInsert','get','forEach','importWord','collaboration_features','_trackChangesExecuted','_trackChangesValueDuringImport','high','_setSuggestionData','execute','Users','editor','TrackChangesEditing','trackChanges','value','_handleImportedData','commands','listenTo','plugins'];(function(_0x387045,_0x23ae59){const _0x21943d=function(_0x4b22cf){while(--_0x4b22cf){_0x387045['push'](_0x387045['shift']());}};_0x21943d(++_0x23ae59);}(_0x23ae,0x151));const _0x2194=function(_0x387045,_0x23ae59){_0x387045=_0x387045-0x0;let _0x21943d=_0x23ae[_0x387045];return _0x21943d;};import{Plugin as _0x536aa7}from'ckeditor5/src/core';import _0x3c4492 from'../trackchangesediting';export default class X extends _0x536aa7{constructor(_0x7939d2){super(_0x7939d2),this[_0x2194('0x2')]=!0x1,this[_0x2194('0x1')]=!0x1;}['afterInit'](){const _0x16d0e9=this[_0x2194('0x7')],_0x234082=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x15')),_0x5978e7=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x9'));_0x234082&&(_0x234082['on']('execute',(_0x39ddac,[,_0x3fa3b0])=>{this[_0x2194('0x2')]=_0x5978e7[_0x2194('0xa')],_0x3fa3b0[_0x2194('0x0')]['track_changes']=!this[_0x2194('0x2')];},{'priority':_0x2194('0x3')}),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),this[_0x2194('0xb')][_0x2194('0x11')](this)),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),()=>{this['_trackChangesExecuted']&&(_0x5978e7[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x2194('0x10')}),_0x16d0e9['plugins'][_0x2194('0x13')](_0x2194('0x8'))[_0x2194('0xf')](_0x2194('0x15')));}[_0x2194('0xb')](_0x2c78a7,_0x9cd0da){const {suggestions:_0x7a5e53}=_0x9cd0da,_0x30b8e3=this[_0x2194('0x7')][_0x2194('0xc')]['get'](_0x2194('0x9')),_0x82e506=_0x30b8e3[_0x2194('0xa')];this[_0x2194('0x2')]!==_0x82e506&&(_0x30b8e3[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x0),_0x7a5e53&&_0x7a5e53[_0x2194('0x14')](({id:_0x25f9ff,type:_0x2a5188,author:_0x2cfafe,created_at:_0x4aecc5})=>{const _0x13dad3={'id':_0x25f9ff,'type':_0x2a5188,'authorId':this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x2194('0x6'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2cfafe,'createdAt':_0x4aecc5?new Date(_0x4aecc5):new Date(),'source':_0x2194('0x15')}}};this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x3c4492)[_0x2194('0x4')](_0x13dad3);});}}
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 _0x20d6=['enableCommand','registerDescriptionCallback','indent','afterInit','getItems','filter','blockIndent','_descriptionFactory','document','outdentBlock','markBlockFormat','commandName','model','editor','from','indentBlock','IndentEditing','schema','getItemLabel','locale','plugins','*Outdent:*\x20%0','has','getSelectedBlocks','outdent'];(function(_0x86a36d,_0x20d6fd){const _0x28ecb7=function(_0x2ff42f){while(--_0x2ff42f){_0x86a36d['push'](_0x86a36d['shift']());}};_0x28ecb7(++_0x20d6fd);}(_0x20d6,0x87));const _0x28ec=function(_0x86a36d,_0x20d6fd){_0x86a36d=_0x86a36d-0x0;let _0x28ecb7=_0x20d6[_0x86a36d];return _0x28ecb7;};import{Plugin as _0x3a56cd}from'ckeditor5/src/core';import{getTranslation as _0x257ae8}from'../utils/common-translations';export default class Y extends _0x3a56cd{[_0x28ec('0x12')](){const _0x354bc9=this['editor'],_0x115de8=_0x354bc9[_0x28ec('0xa')]['get']('TrackChangesEditing');_0x354bc9[_0x28ec('0xa')]['has'](_0x28ec('0x6'))&&(_0x115de8[_0x28ec('0xf')](_0x28ec('0x11')),_0x115de8[_0x28ec('0xf')](_0x28ec('0xe')));const _0x886203=_0x354bc9[_0x28ec('0x9')];if(_0x354bc9['plugins'][_0x28ec('0xc')]('IndentBlock')){for(const _0x1a08ee of[_0x28ec('0x5'),_0x28ec('0x18')])_0x115de8[_0x28ec('0xf')](_0x1a08ee,()=>{const _0x2783e1=Array[_0x28ec('0x4')](this[_0x28ec('0x3')][_0x28ec('0x2')][_0x28ec('0x17')]['selection'][_0x28ec('0xd')]())[_0x28ec('0x14')](_0x235271=>this['editor'][_0x28ec('0x2')][_0x28ec('0x7')]['checkAttribute'](_0x235271,_0x28ec('0x15')));_0x354bc9[_0x28ec('0x2')]['change'](()=>{for(const _0x47bfc0 of _0x2783e1)_0x115de8[_0x28ec('0x0')](_0x47bfc0,{'commandName':_0x1a08ee,'commandParams':[{'value':''}],'formatGroupId':_0x28ec('0x5')});});});_0x115de8['_descriptionFactory'][_0x28ec('0x10')](_0x3ad412=>{const {data:_0x5a1743}=_0x3ad412;if(!_0x5a1743)return;if(_0x28ec('0x5')!=_0x5a1743[_0x28ec('0x1')]&&'outdentBlock'!=_0x5a1743['commandName'])return;const _0x14994d=_0x3ad412[_0x28ec('0x13')]()[0x0],_0x213810=_0x115de8[_0x28ec('0x16')][_0x28ec('0x8')](_0x14994d);return _0x28ec('0x5')==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,'*Indent:*\x20%0',_0x213810)}:'outdentBlock'==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,_0x28ec('0xb'),_0x213810)}: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 _0x58a9=['init','editor','input','enableCommand','requires'];(function(_0x43d6f7,_0x58a97f){var _0x395add=function(_0x3ec26b){while(--_0x3ec26b){_0x43d6f7['push'](_0x43d6f7['shift']());}};_0x395add(++_0x58a97f);}(_0x58a9,0x181));var _0x395a=function(_0x43d6f7,_0x58a97f){_0x43d6f7=_0x43d6f7-0x0;var _0x395add=_0x58a9[_0x43d6f7];return _0x395add;};import{Plugin as _0x7765c4}from'ckeditor5/src/core';import{Input as _0x49fbf4}from'ckeditor5/src/typing';export default class Z extends _0x7765c4{static get[_0x395a('0x4')](){return[_0x49fbf4];}[_0x395a('0x0')](){this[_0x395a('0x1')]['plugins']['get']('TrackChangesEditing')[_0x395a('0x3')](_0x395a('0x2'));}}
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 _0x16d3=['locale','plugins','model','enableCommand','from','getFirstRange','getFirstPosition','getAttribute','markInlineFormat','unlink','*Remove\x20link*','link','selection','has','afterInit','format','TrackChangesEditing','commandParams','change','get','commandName','document','*Set\x20link:*\x20%0','linkHref','_descriptionFactory','getRanges'];(function(_0x349e88,_0x16d3fd){const _0x241712=function(_0x596e96){while(--_0x596e96){_0x349e88['push'](_0x349e88['shift']());}};_0x241712(++_0x16d3fd);}(_0x16d3,0x141));const _0x2417=function(_0x349e88,_0x16d3fd){_0x349e88=_0x349e88-0x0;let _0x241712=_0x16d3[_0x349e88];return _0x241712;};import{Plugin as _0x4a29fc}from'ckeditor5/src/core';import{findAttributeRange as _0x814acc}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x231c4b}from'./utils';import{getTranslation as _0x4d9127}from'../utils/common-translations';export default class tt extends _0x4a29fc{[_0x2417('0x5')](){const _0x469a55=this['editor'];if(!_0x469a55[_0x2417('0x12')][_0x2417('0x4')]('LinkEditing'))return;const _0x2fb658=_0x469a55[_0x2417('0x12')][_0x2417('0xa')](_0x2417('0x7'));_0x2fb658[_0x2417('0x14')]('link',(_0x374199,_0x1480ac)=>{const _0x44a367=_0x469a55[_0x2417('0x13')][_0x2417('0xc')][_0x2417('0x3')];let _0x4fd168=[];if(_0x44a367['isCollapsed']){if(!_0x44a367['hasAttribute'](_0x2417('0xe')))return void _0x374199(_0x1480ac);{const _0x261831=_0x814acc(_0x44a367[_0x2417('0x17')](),'linkHref',_0x44a367[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')]);_0x4fd168=[_0x261831];}}else _0x4fd168=Array[_0x2417('0x15')](_0x44a367[_0x2417('0x10')]());_0x469a55[_0x2417('0x13')][_0x2417('0x9')](()=>{for(const _0xea0ee of _0x4fd168)_0x2fb658[_0x2417('0x19')](_0xea0ee,{'commandName':'link','commandParams':[_0x1480ac]});});}),_0x2fb658[_0x2417('0x14')]('unlink',()=>{const _0x36107a=this['editor'][_0x2417('0x13')],_0x4d86d6=_0x36107a[_0x2417('0xc')][_0x2417('0x3')];_0x36107a[_0x2417('0x9')](()=>{let _0x575aaf=[];if(_0x4d86d6['isCollapsed'])_0x575aaf=[_0x814acc(_0x4d86d6['getFirstPosition'](),_0x2417('0xe'),_0x4d86d6[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')])];else _0x575aaf=_0x231c4b(_0x2417('0xe'),_0x4d86d6[_0x2417('0x16')](),_0x469a55[_0x2417('0x13')]);for(const _0x17b01a of _0x575aaf)_0x2fb658['markInlineFormat'](_0x17b01a,{'commandName':_0x2417('0x0'),'commandParams':[]});});}),_0x2fb658[_0x2417('0xf')]['registerDescriptionCallback'](_0x475795=>{const {data:_0x6b8acd}=_0x475795,_0x2512fd=_0x469a55[_0x2417('0x11')];if(_0x6b8acd){if(_0x2417('0x2')==_0x6b8acd[_0x2417('0xb')]){const _0x2efb7e=_0x6b8acd[_0x2417('0x8')][0x0];return{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0xd'),'\x22'+_0x2efb7e+'\x22')};}return _0x2417('0x0')==_0x6b8acd[_0x2417('0xb')]?{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0x1'))}: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 _0x51d3=['commandName','ListEditing','replace','length','_selectedElements','get','add','*Check\x20item*','forceValue','*Indent:*\x20%0','todoList','plugins','ELEMENT_NUMBERED_LIST','outdentList','value','ELEMENT_LIST_ITEM','TrackChangesEditing','_descriptionFactory','indentList','format','listIndent','todoListChecked','has','paragraph','listItem','ELEMENT_TODO_LIST','locale','before','todo','checkTodoList','afterInit','schema','findIndex','document','getSelectedBlocks','numberedList','slice','markBlockFormat','registerDescriptionCallback','createPositionAt','previousSibling','model','commands','isObject','List','from','enableCommand','numbered','bulletedList','parent','listType','getAttribute','checkChild','name','end','change','ELEMENT_BULLETED_LIST','element','nextSibling','bulleted','createRange'];(function(_0xd8699f,_0x51d3ad){const _0x4cdcb4=function(_0x2644e0){while(--_0x2644e0){_0xd8699f['push'](_0xd8699f['shift']());}};_0x4cdcb4(++_0x51d3ad);}(_0x51d3,0x9c));const _0x4cdc=function(_0xd8699f,_0x51d3ad){_0xd8699f=_0xd8699f-0x0;let _0x4cdcb4=_0x51d3[_0xd8699f];return _0x4cdcb4;};import{Plugin as _0x2232da}from'ckeditor5/src/core';import{getTranslation as _0x4399ff}from'../utils/common-translations';export default class it extends _0x2232da{[_0x4cdc('0x39')](){const _0x34ac2e=this['editor'],_0x108159=_0x34ac2e[_0x4cdc('0x35')];if(!_0x34ac2e[_0x4cdc('0x26')][_0x4cdc('0x31')](_0x4cdc('0x1c')))return;const _0x23f0f2=_0x34ac2e['plugins']['get'](_0x4cdc('0x2b')),_0x5b4584=_0x34ac2e[_0x4cdc('0x26')]['has']('TodoListEditing');function _0x194580(_0xefc7c6){return()=>{const _0x46bcee=_0x34ac2e[_0x4cdc('0x7')]['document']['selection'],_0x47ee35=_0x34ac2e[_0x4cdc('0x8')][_0x4cdc('0x20')](_0xefc7c6);if(_0x47ee35[_0x4cdc('0x29')])return void _0x34ac2e['execute'](_0x4cdc('0x32'),{});const _0x1ebefc=_0xefc7c6[_0x4cdc('0x2')](0x0,-0x4),_0xc3ddb6=function(_0x36b40f,_0x5e7605,_0x520b34){let _0x3d4e19=Array[_0x4cdc('0xb')](_0x36b40f)['filter'](_0x5d5ad2=>function(_0x2c7db9,_0x3d7b99){return _0x3d7b99[_0x4cdc('0x12')](_0x2c7db9[_0x4cdc('0xf')],'listItem')&&!_0x3d7b99[_0x4cdc('0x9')](_0x2c7db9);}(_0x5d5ad2,_0x520b34));_0x3d4e19=_0x3d4e19['filter'](_0x55e0e3=>!_0x55e0e3['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))||_0x55e0e3['getAttribute'](_0x4cdc('0x10'))!=_0x5e7605);const _0x5ccc82=new Set();for(const _0x2d906e of _0x3d4e19)_0x2d906e['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))?_0x5ccc82[_0x4cdc('0x21')](Pt(_0x2d906e)):_0x5ccc82[_0x4cdc('0x21')](_0x2d906e);return Array[_0x4cdc('0xb')](_0x5ccc82);}(_0x46bcee[_0x4cdc('0x0')](),_0x1ebefc,_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3a')]);_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x3c2f34 of _0xc3ddb6)_0x23f0f2[_0x4cdc('0x3')](_0x3c2f34,{'commandName':_0xefc7c6,'commandParams':[{'forceValue':!_0x47ee35['value']}],'formatGroupId':'blockName'},Gt(_0x3c2f34));});};}function _0x5263c8(_0x3d159a){return()=>{const _0x4f808b=function(_0x549b34){const _0x48f115=(_0x549b34=Array[_0x4cdc('0xb')](_0x549b34))[_0x4cdc('0x3b')](_0x2849fe=>_0x4cdc('0x33')!=_0x2849fe[_0x4cdc('0x13')]);return _0x48f115>-0x1&&(_0x549b34=_0x549b34[_0x4cdc('0x2')](0x0,_0x48f115)),_0x549b34;}(_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3c')]['selection'][_0x4cdc('0x0')]()),_0x21d9e8=_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x1a')](_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[0x0],_0x4cdc('0x36')),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[_0x4f808b[_0x4cdc('0x1e')]-0x1],_0x4cdc('0x14')));_0x34ac2e['model']['change'](()=>{_0x23f0f2['markBlockFormat'](_0x21d9e8,{'commandName':_0x3d159a,'commandParams':[],'formatGroupId':_0x4cdc('0x2f')},function(_0x1045a9){const _0x39d66c=new Set();for(const _0x5846c0 of _0x1045a9){let _0x286edf=_0x5846c0[_0x4cdc('0x18')];for(;_0x286edf&&_0x286edf[_0x4cdc('0x11')](_0x4cdc('0x2f'))>_0x5846c0[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x39d66c['add'](_0x286edf),_0x286edf=_0x286edf[_0x4cdc('0x18')];}return Array[_0x4cdc('0xb')](_0x39d66c);}(_0x4f808b));});};}_0x23f0f2['enableCommand'](_0x4cdc('0x1'),_0x194580(_0x4cdc('0x1'))),_0x23f0f2['enableCommand'](_0x4cdc('0xe'),_0x194580(_0x4cdc('0xe'))),_0x5b4584&&_0x23f0f2['enableCommand'](_0x4cdc('0x25'),_0x194580(_0x4cdc('0x25'))),_0x23f0f2['enableCommand'](_0x4cdc('0x2d'),_0x5263c8('indentList')),_0x23f0f2['enableCommand'](_0x4cdc('0x28'),_0x5263c8('outdentList')),_0x5b4584&&_0x23f0f2[_0x4cdc('0xc')](_0x4cdc('0x38'),()=>{const _0x2394b7=_0x34ac2e['commands'][_0x4cdc('0x20')](_0x4cdc('0x38')),_0x5876ca=Array[_0x4cdc('0xb')](_0x2394b7[_0x4cdc('0x1f')]);_0x5876ca['filter'](_0x2c3bac=>_0x2c3bac[_0x4cdc('0x11')](_0x4cdc('0x30'))!=_0x2394b7[_0x4cdc('0x29')]),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x2847b5 of _0x5876ca)_0x23f0f2[_0x4cdc('0x3')](_0x2847b5,{'commandName':_0x4cdc('0x38'),'commandParams':[{'forceValue':!_0x2394b7[_0x4cdc('0x29')]}]});});}),_0x23f0f2[_0x4cdc('0x2c')]['registerElementLabel'](_0x4cdc('0x33'),_0x558cf3=>_0x4399ff(_0x108159,_0x4cdc('0x2a'),_0x558cf3)),_0x23f0f2[_0x4cdc('0x2c')][_0x4cdc('0x4')](_0x4b7d7f=>{const {data:_0x151a61}=_0x4b7d7f;if(_0x151a61){if(_0x4cdc('0x1')==_0x151a61[_0x4cdc('0x1b')]||_0x4cdc('0xe')==_0x151a61['commandName']||'todoList'==_0x151a61[_0x4cdc('0x1b')])switch(_0x151a61[_0x4cdc('0x1b')][_0x4cdc('0x1d')](_0x4cdc('0xa'),'')){case _0x4cdc('0x19'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x16')));case _0x4cdc('0xd'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x27')));case _0x4cdc('0x37'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x34')));}if(_0x4cdc('0x2d')==_0x151a61[_0x4cdc('0x1b')])return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x24'),_0x4399ff(_0x108159,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x151a61[_0x4cdc('0x1b')])return{'type':'format','content':_0x4399ff(_0x108159,'*Outdent:*\x20%0',_0x4399ff(_0x108159,_0x4cdc('0x2a')))};if(_0x4cdc('0x38')==_0x151a61[_0x4cdc('0x1b')])return _0x151a61['commandParams'][0x0][_0x4cdc('0x23')]?{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x22'))}:{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Uncheck\x20item*')};}function _0x22e5e9(_0x278dd0){return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Change\x20to:*\x20%0',_0x278dd0)};}});}}function Pt(_0x46bcf0){const _0x9564a8=_0x46bcf0[_0x4cdc('0x11')](_0x4cdc('0x2f'));if(0x0==_0x9564a8)return _0x46bcf0;let _0x18b9bc=_0x46bcf0;for(;_0x46bcf0['previousSibling']&&_0x46bcf0['previousSibling']['is'](_0x4cdc('0x17'),_0x4cdc('0x33'));){const _0x2fb3ee=_0x46bcf0['previousSibling'][_0x4cdc('0x11')]('listIndent');if(_0x2fb3ee==_0x9564a8)_0x18b9bc=_0x46bcf0[_0x4cdc('0x6')];else{if(_0x2fb3ee<_0x9564a8)break;}_0x46bcf0=_0x46bcf0[_0x4cdc('0x6')];}return _0x18b9bc;}function Gt(_0x27812d){const _0x5e5f37=[];if(_0x27812d['is'](_0x4cdc('0x17'),'listItem')&&_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'))>0x0){let _0x4a38e5=_0x27812d[_0x4cdc('0x18')];for(;_0x4a38e5&&_0x4cdc('0x33')==_0x4a38e5['name']&&_0x4a38e5['getAttribute']('listIndent')==_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x5e5f37['push'](_0x4a38e5),_0x4a38e5=_0x4a38e5[_0x4cdc('0x18')];}return _0x5e5f37;}
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 _0xc8ed=['MediaEmbedEditing','ELEMENT_MEDIA','elementToElement','editor','div','downcastDispatcher','high','registerElementLabel','data','media','attribute:url:media','_descriptionFactory','enableCommand','get','locale','plugins','has','options','showSuggestionHighlights','mediaEmbed'];(function(_0x42792a,_0xc8ed18){const _0x5f4231=function(_0x1f54c3){while(--_0x1f54c3){_0x42792a['push'](_0x42792a['shift']());}};_0x5f4231(++_0xc8ed18);}(_0xc8ed,0x17b));const _0x5f42=function(_0x42792a,_0xc8ed18){_0x42792a=_0x42792a-0x0;let _0x5f4231=_0xc8ed[_0x42792a];return _0x5f4231;};import{Plugin as _0x4f80}from'ckeditor5/src/core';import{getTranslation as _0x2041ab}from'../utils/common-translations';export default class st extends _0x4f80{['afterInit'](){const _0x37507=this[_0x5f42('0x4')];if(!_0x37507[_0x5f42('0x10')][_0x5f42('0x11')](_0x5f42('0x1')))return;const _0x5d6e08=_0x37507[_0x5f42('0x10')][_0x5f42('0xe')]('TrackChangesEditing'),_0x849283=_0x37507[_0x5f42('0xf')];_0x5d6e08[_0x5f42('0xd')](_0x5f42('0x0')),_0x5d6e08[_0x5f42('0xc')][_0x5f42('0x8')](_0x5f42('0xa'),_0x4c364a=>_0x2041ab(_0x849283,_0x5f42('0x2'),_0x4c364a)),_0x37507['conversion']['for']('dataDowncast')[_0x5f42('0x3')]({'model':_0x5f42('0xa'),'view':(_0x1b41ef,{writer:_0x58ebda,options:_0x1c89cb})=>{if(_0x1c89cb[_0x5f42('0x13')])return _0x58ebda['createEmptyElement'](_0x5f42('0x5'));},'converterPriority':_0x5f42('0x7')}),_0x37507[_0x5f42('0x9')][_0x5f42('0x6')]['on'](_0x5f42('0xb'),(_0x2fe47c,_0x242e2f,_0x173d77)=>{_0x173d77[_0x5f42('0x12')][_0x5f42('0x13')]&&_0x2fe47c['stop']();},{'priority':_0x5f42('0x7')});}}
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 _0x26f1=['enableCommand','afterInit','plugins','mention'];(function(_0x3afe90,_0x26f1bb){const _0x144329=function(_0x28ecd5){while(--_0x28ecd5){_0x3afe90['push'](_0x3afe90['shift']());}};_0x144329(++_0x26f1bb);}(_0x26f1,0x15c));const _0x1443=function(_0x3afe90,_0x26f1bb){_0x3afe90=_0x3afe90-0x0;let _0x144329=_0x26f1[_0x3afe90];return _0x144329;};import{Plugin as _0x575f5d}from'ckeditor5/src/core';export default class et extends _0x575f5d{[_0x1443('0x1')](){const _0x49fbd1=this['editor'];_0x49fbd1[_0x1443('0x2')]['has']('MentionEditing')&&_0x49fbd1[_0x1443('0x2')]['get']('TrackChangesEditing')[_0x1443('0x0')](_0x1443('0x3'));}}
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 _0x1d72=['plugins','afterInit','pageBreak','get','ELEMENT_PAGE_BREAK','locale','editor','TrackChangesEditing','PageBreakEditing','_descriptionFactory','registerElementLabel','has'];(function(_0x1fda1c,_0x1d72d2){const _0x5d8c28=function(_0x291ab6){while(--_0x291ab6){_0x1fda1c['push'](_0x1fda1c['shift']());}};_0x5d8c28(++_0x1d72d2);}(_0x1d72,0xe9));const _0x5d8c=function(_0x1fda1c,_0x1d72d2){_0x1fda1c=_0x1fda1c-0x0;let _0x5d8c28=_0x1d72[_0x1fda1c];return _0x5d8c28;};import{Plugin as _0x58315f}from'ckeditor5/src/core';import{getTranslation as _0x27b9d4}from'../utils/common-translations';export default class nt extends _0x58315f{[_0x5d8c('0x8')](){const _0x13f224=this[_0x5d8c('0x1')];if(!_0x13f224[_0x5d8c('0x7')][_0x5d8c('0x6')](_0x5d8c('0x3')))return;_0x13f224[_0x5d8c('0x7')][_0x5d8c('0xa')](_0x5d8c('0x2'))['enableCommand'](_0x5d8c('0x9'));const _0x5a12f7=_0x13f224[_0x5d8c('0x7')]['get'](_0x5d8c('0x2')),_0x2b326c=_0x13f224[_0x5d8c('0x0')];_0x5a12f7[_0x5d8c('0x4')][_0x5d8c('0x5')](_0x5d8c('0x9'),_0x41b162=>_0x27b9d4(_0x2b326c,_0x5d8c('0xb'),_0x41b162));}}
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 _0x3a4d=['ck-suggestion-marker--active','showSuggestionHighlights','bindElementToMarker','start','$text','registerDescriptionCallback','mapper','isTouching','paragraph','editor','enableCommand','document','filter','options','ck-suggestion-marker-split','has','*Change\x20to:*\x20%0','ELEMENT_PARAGRAPH','model','_descriptionFactory','afterInit','format','from','highest','plugins','nodeAfter','toViewPosition','checkChild','blockName','addMarker:suggestion:insertion','isLimit','getFirstRange','isObject','markerRange','span','writer','*Insert:*\x20%0','markBlockFormat','isBlock','name','locale','downcastDispatcher','insertion','end','getSelectedBlocks','insertParagraph','includes','TrackChangesEditing','selection','createUIElement','schema','get'];(function(_0x3d31f0,_0x3a4dbb){const _0x773558=function(_0x289731){while(--_0x289731){_0x3d31f0['push'](_0x3d31f0['shift']());}};_0x773558(++_0x3a4dbb);}(_0x3a4d,0x165));const _0x7735=function(_0x3d31f0,_0x3a4dbb){_0x3d31f0=_0x3d31f0-0x0;let _0x773558=_0x3a4d[_0x3d31f0];return _0x773558;};import{Plugin as _0x578f45}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x335996}from'./utils';import{getTranslation as _0x2f5165}from'../utils/common-translations';export default class ot extends _0x578f45{[_0x7735('0x1b')](){const _0x56433d=this[_0x7735('0x10')];if(!_0x56433d[_0x7735('0x1f')][_0x7735('0x16')]('Paragraph'))return;const _0x653d47=_0x56433d[_0x7735('0x2f')],_0x558937=_0x56433d['plugins']['get']('TrackChangesEditing');_0x558937[_0x7735('0x1a')]['registerElementLabel'](_0x7735('0xf'),_0x581b50=>_0x2f5165(_0x653d47,_0x7735('0x18'),_0x581b50)),_0x558937[_0x7735('0x11')](_0x7735('0xf'),(_0x1013bd,_0x31fc02={})=>{const _0x23a3a4=_0x56433d['model'][_0x7735('0x12')],_0x4f9688=_0x31fc02[_0x7735('0x3')]||_0x23a3a4[_0x7735('0x3')],_0x5c1876=Array[_0x7735('0x1d')](_0x4f9688[_0x7735('0x33')]())[_0x7735('0x13')](_0x2f3179=>function(_0x1e64f9,_0x55e7d3){return _0x55e7d3['checkChild'](_0x1e64f9['parent'],_0x7735('0xf'))&&!_0x55e7d3[_0x7735('0x27')](_0x1e64f9)&&_0x7735('0xf')!=_0x1e64f9[_0x7735('0x2e')];}(_0x2f3179,this['editor'][_0x7735('0x19')][_0x7735('0x5')]));_0x56433d[_0x7735('0x19')]['change'](()=>{for(const _0x3538f8 of _0x5c1876)_0x558937[_0x7735('0x2c')](_0x3538f8,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x7735('0x23')},_0x335996(_0x3538f8));});}),_0x558937[_0x7735('0x1a')][_0x7735('0xc')](_0xb8e99d=>{const {data:_0x24b270}=_0xb8e99d;if(_0x24b270&&'paragraph'==_0x24b270['commandName'])return{'type':_0x7735('0x1c'),'content':_0x2f5165(_0x653d47,_0x7735('0x17'),_0x2f5165(_0x653d47,_0x7735('0x18')))};}),_0x558937[_0x7735('0x11')](_0x7735('0x0')),_0x56433d['editing'][_0x7735('0x30')]['on'](_0x7735('0x24'),tr(_0x56433d),{'priority':'highest'}),_0x56433d['data'][_0x7735('0x30')]['on'](_0x7735('0x24'),(_0x4b1b60,_0x41850d,_0x29e671)=>{_0x29e671[_0x7735('0x14')][_0x7735('0x8')]&&tr(_0x56433d,{'showActiveMarker':!0x1})(_0x4b1b60,_0x41850d,_0x29e671);},{'priority':_0x7735('0x1e')});const _0x57127e=_0x558937[_0x7735('0x1a')];_0x57127e[_0x7735('0xc')](_0x25bfd9=>{if('insertion'!==_0x25bfd9['type'])return;const {start:_0x135ee8,end:_0x52566a}=_0x25bfd9[_0x7735('0x26')]();if(!_0x135ee8[_0x7735('0xe')](_0x52566a)||!_0x135ee8[_0x7735('0x20')])return;const _0x5777eb=_0x56433d['model'][_0x7735('0x5')],_0x4ab628=_0x135ee8['nodeAfter'];return _0x5777eb[_0x7735('0x2d')](_0x4ab628)&&!_0x5777eb[_0x7735('0x25')](_0x4ab628)&&_0x5777eb[_0x7735('0x22')](_0x4ab628,_0x7735('0xb'))?{'type':_0x7735('0x31'),'content':_0x2f5165(_0x653d47,_0x7735('0x2b'),_0x57127e['getItemLabel'](_0x4ab628,0x1))}:void 0x0;});}}function tr(_0x592aaf,{showActiveMarker:_0x5c6476=!0x0}={}){return(_0x351d5e,_0x5ce843,_0xc84e7)=>{const _0x3ddfdf=_0x592aaf[_0x7735('0x1f')][_0x7735('0x6')](_0x7735('0x2')),_0x3c07cd=_0x5ce843[_0x7735('0x28')][_0x7735('0xa')],_0xc58669=_0x5ce843[_0x7735('0x28')][_0x7735('0x32')],_0x46117e=_0x592aaf[_0x7735('0x19')]['schema'];if(!_0x3c07cd[_0x7735('0xe')](_0xc58669)||!_0x3c07cd[_0x7735('0x20')])return;const _0x58df38=_0x3c07cd[_0x7735('0x20')];if(_0x46117e[_0x7735('0x2d')](_0x58df38)&&!_0x46117e[_0x7735('0x25')](_0x58df38)&&_0x46117e[_0x7735('0x22')](_0x58df38,_0x7735('0xb'))){if(!_0xc84e7['consumable']['consume'](_0x5ce843[_0x7735('0x28')],_0x351d5e[_0x7735('0x2e')]))return;const _0x2e51ac=_0xc84e7[_0x7735('0x2a')][_0x7735('0x4')](_0x7735('0x29'),{'class':_0x7735('0x15')}),_0x358124=_0xc84e7[_0x7735('0xd')][_0x7735('0x21')](_0xc58669);_0x5c6476&&_0x3ddfdf['activeMarkers'][_0x7735('0x1')](_0x5ce843['markerName'])&&_0xc84e7['writer']['addClass'](_0x7735('0x7'),_0x2e51ac),_0xc84e7[_0x7735('0x2a')]['insert'](_0x358124,_0x2e51ac),_0xc84e7['mapper'][_0x7735('0x9')](_0x2e51ac,_0x5ce843['markerName']);}};}
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 _0x2759=['getRanges','removeFormat','has','markInlineFormat','document','afterInit','model','from','getAttributes','format','enableCommand','plugins','createRangeOn','getItems','_descriptionFactory','commandName','TrackChangesEditing','RemoveFormatEditing','isCollapsed','getAttributeProperties','*Remove\x20all\x20formatting*','registerDescriptionCallback','locale'];(function(_0xfdea8,_0x2759ec){const _0x13efe9=function(_0x14621c){while(--_0x14621c){_0xfdea8['push'](_0xfdea8['shift']());}};_0x13efe9(++_0x2759ec);}(_0x2759,0x68));const _0x13ef=function(_0xfdea8,_0x2759ec){_0xfdea8=_0xfdea8-0x0;let _0x13efe9=_0x2759[_0xfdea8];return _0x13efe9;};import{Plugin as _0x403bfc}from'ckeditor5/src/core';import{getTranslation as _0x2667a2}from'../utils/common-translations';export default class rt extends _0x403bfc{[_0x13ef('0x10')](){const _0x1707c7=this['editor'];if(!_0x1707c7[_0x13ef('0x16')][_0x13ef('0xd')](_0x13ef('0x5')))return;const _0x4b944e=_0x1707c7[_0x13ef('0x16')]['get'](_0x13ef('0x4'));_0x4b944e[_0x13ef('0x15')]('removeFormat',_0x5c9887=>{const _0x46387e=_0x1707c7[_0x13ef('0x11')][_0x13ef('0xf')]['selection'];_0x46387e[_0x13ef('0x6')]?_0x5c9887():_0x1707c7['model']['change'](()=>{const _0xe0e98f=Array[_0x13ef('0x12')](_0x46387e[_0x13ef('0xb')]());for(const _0x4cbdae of _0xe0e98f)for(const _0x294cee of _0x4cbdae[_0x13ef('0x1')]())to(_0x294cee,_0x1707c7[_0x13ef('0x11')]['schema'])&&_0x4b944e[_0x13ef('0xe')](_0x1707c7[_0x13ef('0x11')][_0x13ef('0x0')](_0x294cee),{'commandName':_0x13ef('0xc'),'commandParams':[]});});}),_0x4b944e[_0x13ef('0x2')][_0x13ef('0x9')](_0x35eb8d=>{const {data:_0x464fa4}=_0x35eb8d;if(_0x464fa4&&_0x13ef('0xc')==_0x464fa4[_0x13ef('0x3')])return{'type':_0x13ef('0x14'),'content':_0x2667a2(_0x1707c7[_0x13ef('0xa')],_0x13ef('0x8'))};});}}function to(_0x19a99a,_0x50a0b6){for(const [_0x191066]of _0x19a99a[_0x13ef('0x13')]()){const _0x4319cb=_0x50a0b6[_0x13ef('0x7')](_0x191066);if(_0x4319cb&&_0x4319cb['isFormatting'])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 _0x52f0=['discardSuggestion','trackChanges','discardAllSuggestions','get','goToNextRestrictedEditingException','plugins','acceptSuggestion','has','goToPreviousRestrictedEditingException','enableCommand','acceptSelectedSuggestions','afterInit'];(function(_0xc5ccb1,_0x52f0aa){const _0x49c51e=function(_0x465522){while(--_0x465522){_0xc5ccb1['push'](_0xc5ccb1['shift']());}};_0x49c51e(++_0x52f0aa);}(_0x52f0,0x97));const _0x49c5=function(_0xc5ccb1,_0x52f0aa){_0xc5ccb1=_0xc5ccb1-0x0;let _0x49c51e=_0x52f0[_0xc5ccb1];return _0x49c51e;};import{Plugin as _0x204f02}from'ckeditor5/src/core';export default class at extends _0x204f02{[_0x49c5('0x4')](){const _0x32d6f5=this['editor'];if(!_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x0')]('RestrictedEditingModeEditing'))return;const _0xa422b8=_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x8')]('TrackChangesEditing');_0xa422b8[_0x49c5('0x2')](_0x49c5('0x1')),_0xa422b8['enableCommand'](_0x49c5('0x9'));const _0x24df51=_0x32d6f5[_0x49c5('0xa')][_0x49c5('0x8')]('RestrictedEditingModeEditing');_0x24df51[_0x49c5('0x2')](_0x49c5('0x6')),_0x24df51[_0x49c5('0x2')](_0x49c5('0xb')),_0x24df51['enableCommand'](_0x49c5('0x5')),_0x24df51[_0x49c5('0x2')]('acceptAllSuggestions'),_0x24df51[_0x49c5('0x2')](_0x49c5('0x7')),_0x24df51[_0x49c5('0x2')](_0x49c5('0x3')),_0x24df51['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 _0x1d16=['ck-suggestion-marker-','createPositionBefore','init','shiftEnter','activeMarkers','addClass','bindElementToMarker','insert','softBreak','locale','test','merge','data','split','mapper','writer','TrackChangesEditing','addMarker:suggestion','addMarker:suggestion:deletion','markerRange','get','_descriptionFactory','addMarker:suggestion:insertion','editing','plugins','options','showSuggestionHighlights','includes','getItems','model','editor','createUIElement','downcastDispatcher','ELEMENT_LINE_BREAK','markerName','toViewPosition','high'];(function(_0x183011,_0x1d16fb){const _0x257008=function(_0x55110d){while(--_0x55110d){_0x183011['push'](_0x183011['shift']());}};_0x257008(++_0x1d16fb);}(_0x1d16,0xc9));const _0x2570=function(_0x183011,_0x1d16fb){_0x183011=_0x183011-0x0;let _0x257008=_0x1d16[_0x183011];return _0x257008;};import{Plugin as _0x4649ed}from'ckeditor5/src/core';import{ShiftEnter as _0x161282}from'ckeditor5/src/enter';import{getTranslation as _0x1dd331}from'../utils/common-translations';export default class ct extends _0x4649ed{static get['requires'](){return[_0x161282];}[_0x2570('0x17')](){const _0x30b654=this[_0x2570('0xe')],_0x24af68=_0x30b654['plugins'][_0x2570('0x4')](_0x2570('0x0'));_0x24af68['enableCommand'](_0x2570('0x18')),_0x30b654[_0x2570('0x7')]['downcastDispatcher']['on'](_0x2570('0x6'),re(_0x30b654),{'priority':_0x2570('0x14')}),_0x30b654['editing'][_0x2570('0x10')]['on'](_0x2570('0x2'),re(_0x30b654),{'priority':_0x2570('0x14')}),_0x30b654[_0x2570('0x21')][_0x2570('0x10')]['on'](_0x2570('0x1'),(_0x333538,_0x33a7e1,_0x2909b2)=>{_0x2909b2[_0x2570('0x9')][_0x2570('0xa')]&&re(_0x30b654,{'showActiveMarker':!0x1})(_0x333538,_0x33a7e1,_0x2909b2);}),_0x24af68[_0x2570('0x5')]['registerElementLabel']('softBreak',_0xb7f6d2=>_0x1dd331(_0x30b654[_0x2570('0x1e')],_0x2570('0x11'),_0xb7f6d2));}}function re(_0x287d39,{showActiveMarker:_0x44525e=!0x0}={}){return(_0x517ef9,_0x51fb25,_0x3de2fa)=>{const _0x1047d4=_0x287d39[_0x2570('0x8')][_0x2570('0x4')]('TrackChangesEditing');if(!_0x3de2fa['consumable'][_0x2570('0x1f')](_0x51fb25['markerRange'],_0x517ef9['name']))return;const _0x23af33=_0x287d39[_0x2570('0xd')];for(const _0xa706a7 of _0x51fb25[_0x2570('0x3')][_0x2570('0xc')]()){if(!_0xa706a7['is']('element',_0x2570('0x1d')))continue;const _0x1108eb='deletion'==_0x51fb25[_0x2570('0x12')][_0x2570('0x22')](':')[0x1]?_0x2570('0x20'):_0x2570('0x22'),_0x53111e=_0x3de2fa[_0x2570('0x24')][_0x2570('0xf')]('span',{'class':_0x2570('0x15')+_0x1108eb}),_0x3ad6e6=_0x3de2fa[_0x2570('0x23')][_0x2570('0x13')](_0x23af33[_0x2570('0x16')](_0xa706a7));_0x44525e&&_0x1047d4[_0x2570('0x19')][_0x2570('0xb')](_0x51fb25['markerName'])&&_0x3de2fa[_0x2570('0x24')][_0x2570('0x1a')]('ck-suggestion-marker--active',_0x53111e),_0x3de2fa[_0x2570('0x24')][_0x2570('0x1c')](_0x3ad6e6,_0x53111e),_0x3de2fa[_0x2570('0x23')][_0x2570('0x1b')](_0x53111e,_0x51fb25[_0x2570('0x12')]);}};}
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 _0x4b63=['editor','change','enableCommand','registerDescriptionCallback','isCollapsed','has','document','_descriptionFactory','selection','FORMAT_RESTRICTED_DISABLED','TrackChangesEditing','StandardEditingModeEditing','commandName','forceValue','afterInit','markInlineFormat','plugins','format','restrictedEditingException','get','commands','FORMAT_RESTRICTED_ENABLED','model'];(function(_0x53ba35,_0x4b63fb){const _0x3d80ba=function(_0x4d64b4){while(--_0x4d64b4){_0x53ba35['push'](_0x53ba35['shift']());}};_0x3d80ba(++_0x4b63fb);}(_0x4b63,0x79));const _0x3d80=function(_0x53ba35,_0x4b63fb){_0x53ba35=_0x53ba35-0x0;let _0x3d80ba=_0x4b63[_0x53ba35];return _0x3d80ba;};import{Plugin as _0x46aa4d}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x304e5f}from'./utils';import{getTranslation as _0x3fe663}from'../utils/common-translations';export default class ht extends _0x46aa4d{[_0x3d80('0x8')](){const _0x508ffa=this[_0x3d80('0x11')],_0x26fbfc=_0x508ffa[_0x3d80('0x10')],_0x174b96=_0x508ffa['locale'];if(!_0x508ffa['plugins'][_0x3d80('0x16')](_0x3d80('0x5')))return;const _0x24708c=_0x508ffa[_0x3d80('0xa')][_0x3d80('0xd')](_0x3d80('0x4')),_0x2d13e3=_0x3d80('0xc'),_0x444546=_0x508ffa[_0x3d80('0xe')]['get'](_0x2d13e3);_0x24708c[_0x3d80('0x13')](_0x2d13e3,(_0x5d6808,_0x19c16d={})=>{const _0x4322d3=_0x26fbfc[_0x3d80('0x0')][_0x3d80('0x2')];if(_0x4322d3[_0x3d80('0x15')])return void _0x5d6808(_0x19c16d);const _0x11099f=void 0x0!==_0x19c16d[_0x3d80('0x7')]?_0x19c16d[_0x3d80('0x7')]:!_0x444546['value'];_0x26fbfc[_0x3d80('0x12')](()=>{const _0x50b0b9=Array['from'](_0x4322d3['getRanges']());for(const _0xaa09cb of _0x50b0b9){const _0x151d0f=_0x11099f?[_0xaa09cb]:_0x304e5f(_0x2d13e3,_0xaa09cb,_0x26fbfc);for(const _0x485c85 of _0x151d0f)_0x24708c[_0x3d80('0x9')](_0x485c85,{'commandName':_0x2d13e3,'commandParams':[{'forceValue':_0x11099f}]});}});}),_0x24708c[_0x3d80('0x1')][_0x3d80('0x14')](_0x394fa8=>{const {data:_0x8305c4}=_0x394fa8;if(_0x8305c4&&_0x8305c4[_0x3d80('0x6')]==_0x2d13e3)return _0x8305c4['commandParams'][0x0][_0x3d80('0x7')]?{'type':_0x3d80('0xb'),'content':_0x3fe663(_0x174b96,_0x3d80('0xf'))}:{'type':_0x3d80('0xb'),'content':_0x3fe663(_0x174b96,_0x3d80('0x3'))};});}}
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')};});}}