@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230830.0 → 0.0.0-nightly-20230901.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/build/track-changes.js +1 -1
  2. package/lang/translations/ar.po +1 -0
  3. package/lang/translations/az.po +1 -0
  4. package/lang/translations/bg.po +1 -0
  5. package/lang/translations/bn.po +1 -0
  6. package/lang/translations/ca.po +1 -0
  7. package/lang/translations/cs.po +1 -0
  8. package/lang/translations/da.po +1 -0
  9. package/lang/translations/de.po +1 -0
  10. package/lang/translations/el.po +1 -0
  11. package/lang/translations/en-au.po +1 -0
  12. package/lang/translations/en.po +1 -0
  13. package/lang/translations/es.po +1 -0
  14. package/lang/translations/et.po +1 -0
  15. package/lang/translations/fi.po +1 -0
  16. package/lang/translations/fr.po +1 -0
  17. package/lang/translations/gl.po +1 -0
  18. package/lang/translations/he.po +1 -0
  19. package/lang/translations/hi.po +1 -0
  20. package/lang/translations/hr.po +1 -0
  21. package/lang/translations/hu.po +1 -0
  22. package/lang/translations/id.po +1 -0
  23. package/lang/translations/it.po +1 -0
  24. package/lang/translations/ja.po +1 -0
  25. package/lang/translations/ko.po +1 -0
  26. package/lang/translations/lt.po +1 -0
  27. package/lang/translations/lv.po +1 -0
  28. package/lang/translations/ms.po +1 -0
  29. package/lang/translations/nl.po +1 -0
  30. package/lang/translations/no.po +1 -0
  31. package/lang/translations/pl.po +1 -0
  32. package/lang/translations/pt-br.po +1 -0
  33. package/lang/translations/pt.po +1 -0
  34. package/lang/translations/ro.po +1 -0
  35. package/lang/translations/ru.po +1 -0
  36. package/lang/translations/sk.po +1 -0
  37. package/lang/translations/sq.po +1 -0
  38. package/lang/translations/sr-latn.po +1 -0
  39. package/lang/translations/sr.po +1 -0
  40. package/lang/translations/sv.po +1 -0
  41. package/lang/translations/th.po +1 -0
  42. package/lang/translations/tk.po +1 -0
  43. package/lang/translations/tr.po +1 -0
  44. package/lang/translations/tt.po +1 -0
  45. package/lang/translations/uk.po +1 -0
  46. package/lang/translations/ur.po +1 -0
  47. package/lang/translations/vi.po +1 -0
  48. package/lang/translations/zh-cn.po +1 -0
  49. package/lang/translations/zh.po +1 -0
  50. package/package.json +3 -3
  51. package/src/commands/acceptsuggestioncommand.js +1 -1
  52. package/src/commands/discardsuggestioncommand.js +1 -1
  53. package/src/commands/executeonallsuggestionscommand.js +1 -1
  54. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  55. package/src/commands/trackchangescommand.js +1 -1
  56. package/src/integrations/alignment.js +1 -1
  57. package/src/integrations/basicstyles.js +1 -1
  58. package/src/integrations/blockquote.js +1 -1
  59. package/src/integrations/ckbox.js +1 -1
  60. package/src/integrations/codeblock.js +1 -1
  61. package/src/integrations/comments.js +1 -1
  62. package/src/integrations/deletecommand.js +1 -1
  63. package/src/integrations/documentlist.js +1 -1
  64. package/src/integrations/documentlistproperties.js +1 -1
  65. package/src/integrations/entercommand.js +1 -1
  66. package/src/integrations/findandreplace.js +1 -1
  67. package/src/integrations/font.js +1 -1
  68. package/src/integrations/formatpainter.js +1 -1
  69. package/src/integrations/heading.js +1 -1
  70. package/src/integrations/highlight.js +1 -1
  71. package/src/integrations/horizontalline.js +1 -1
  72. package/src/integrations/htmlembed.js +1 -1
  73. package/src/integrations/image.js +1 -1
  74. package/src/integrations/imagereplace.js +1 -1
  75. package/src/integrations/importword.js +1 -1
  76. package/src/integrations/indent.js +1 -1
  77. package/src/integrations/inputcommand.js +1 -1
  78. package/src/integrations/link.js +1 -1
  79. package/src/integrations/list.js +1 -1
  80. package/src/integrations/listproperties.js +1 -1
  81. package/src/integrations/mediaembed.js +1 -1
  82. package/src/integrations/mention.js +1 -1
  83. package/src/integrations/pagebreak.js +1 -1
  84. package/src/integrations/paragraph.js +1 -1
  85. package/src/integrations/removeformat.js +1 -1
  86. package/src/integrations/restrictededitingmode.js +1 -1
  87. package/src/integrations/shiftentercommand.js +1 -1
  88. package/src/integrations/standardeditingmode.js +1 -1
  89. package/src/integrations/style.js +1 -1
  90. package/src/integrations/table.js +1 -1
  91. package/src/integrations/tablecaption.js +1 -1
  92. package/src/integrations/tableclipboard.js +1 -1
  93. package/src/integrations/tablecolumnresize.js +1 -1
  94. package/src/integrations/tableheadings.js +1 -1
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableofcontents.js +1 -1
  97. package/src/integrations/tableproperties.js +1 -1
  98. package/src/integrations/template.js +1 -1
  99. package/src/integrations/title.js +1 -1
  100. package/src/integrations/undo.js +1 -1
  101. package/src/integrations/utils.js +1 -1
  102. package/src/suggestion.js +1 -1
  103. package/src/suggestiondescriptionfactory.js +1 -1
  104. package/src/trackchanges.js +1 -1
  105. package/src/trackchangesdata.js +1 -1
  106. package/src/trackchangesediting.js +1 -1
  107. package/src/trackchangesui.js +1 -1
  108. package/src/ui/suggestioncontroller.js +1 -1
  109. package/src/ui/view/basesuggestionthreadview.js +1 -1
  110. package/src/ui/view/suggestionthreadview.js +1 -1
  111. package/src/utils/common-translations.js +1 -1
  112. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ce3=['find','FORMAT_HIGHLIGHT','markInlineFormat','color','value','format','document','getLastMatchingPosition','HighlightEditing','backward','item','highlight','*Set\x20highlight:*\x20%0','commandParams','commandName','title','getFirstPosition','getAttribute','TrackChangesEditing','selection','push','get','change','getRanges','hasAttribute','afterInit','locale','plugins','_descriptionFactory','model','registerDescriptionCallback','enableCommand','editor','config'];(function(_0x2cdb89,_0x5ce3ce){const _0x19890b=function(_0x1dadcd){while(--_0x1dadcd){_0x2cdb89['push'](_0x2cdb89['shift']());}};_0x19890b(++_0x5ce3ce);}(_0x5ce3,0x120));const _0x1989=function(_0x2cdb89,_0x5ce3ce){_0x2cdb89=_0x2cdb89-0x0;let _0x19890b=_0x5ce3[_0x2cdb89];return _0x19890b;};import{Plugin as _0x2c23a6}from'ckeditor5/src/core';import{getTranslation as _0x1265a2}from'../utils/common-translations';import{getRangesWithAttribute as _0x7255e8}from'./utils';export default class K extends _0x2c23a6{[_0x1989('0x9')](){const _0x42606f=this[_0x1989('0x10')];if(!_0x42606f[_0x1989('0xb')]['has'](_0x1989('0x1a')))return;const _0x5bf35b=_0x42606f[_0x1989('0xb')][_0x1989('0x5')](_0x1989('0x2'));_0x5bf35b[_0x1989('0xf')](_0x1989('0x1d'),(_0x8fa836,_0x2b3665={})=>{const _0x58dffc=_0x42606f['model'][_0x1989('0x18')][_0x1989('0x3')],_0x4e67bd=_0x58dffc[_0x1989('0x1')](_0x1989('0x1d'));let _0x3b9c08=_0x2b3665[_0x1989('0x16')],_0x2a6a5b=[];if(_0x58dffc['isCollapsed']){const _0x19281f=_0x58dffc[_0x1989('0x0')]();if(!_0x58dffc[_0x1989('0x8')](_0x1989('0x1d')))return void _0x8fa836(_0x2b3665);{const _0x318020=_0x244f40=>_0x244f40[_0x1989('0x1c')]['getAttribute']('highlight')===_0x4e67bd,_0x3bea34=_0x19281f[_0x1989('0x19')](_0x318020,{'direction':_0x1989('0x1b')}),_0x5aca7b=_0x19281f[_0x1989('0x19')](_0x318020);_0x2a6a5b=[_0x42606f[_0x1989('0xd')]['createRange'](_0x3bea34,_0x5aca7b)],_0x3b9c08==_0x4e67bd&&(_0x3b9c08=null);}}else for(const _0xe8be33 of _0x58dffc[_0x1989('0x7')]())_0x3b9c08?_0x2a6a5b[_0x1989('0x4')](_0xe8be33):_0x2a6a5b[_0x1989('0x4')](..._0x7255e8('highlight',_0xe8be33,_0x42606f[_0x1989('0xd')]));_0x42606f['model'][_0x1989('0x6')](()=>{for(const _0x1ec272 of _0x2a6a5b)_0x5bf35b[_0x1989('0x14')](_0x1ec272,{'commandName':'highlight','commandParams':[{'value':_0x3b9c08}]});});});const _0x4ece2=_0x42606f[_0x1989('0xa')];_0x5bf35b[_0x1989('0xc')][_0x1989('0xe')](_0x31123a=>{const {type:_0x22238d,data:_0x35c42c}=_0x31123a;if('formatInline'==_0x22238d&&_0x35c42c&&_0x1989('0x1d')==_0x35c42c[_0x1989('0x20')]){const _0x3ca10c=_0x4ece2['t'],_0x1fda22=_0x35c42c[_0x1989('0x1f')][0x0][_0x1989('0x16')];if(_0x1fda22){const _0x4e112f=_0x42606f[_0x1989('0x11')][_0x1989('0x5')]('highlight.options')[_0x1989('0x12')](_0x2040c2=>_0x2040c2[_0x1989('0xd')]==_0x1fda22),_0x39a8d9=_0x3ca10c(_0x4e112f[_0x1989('0x21')])['toLowerCase']();return{'type':_0x1989('0x17'),'content':_0x1265a2(_0x4ece2,_0x1989('0x1e'),_0x39a8d9),'color':{'value':_0x4e112f[_0x1989('0x15')],'title':_0x4e112f[_0x1989('0x21')]}};}return{'type':'format','content':_0x1265a2(_0x4ece2,'*Remove\x20highlight*',_0x1265a2(_0x4ece2,_0x1989('0x13')))};}});}}
23
+ const _0x2a91=['*Set\x20highlight:*\x20%0','model','find','afterInit','config','*Remove\x20highlight*','item','toLowerCase','format','selection','markInlineFormat','title','formatInline','push','editor','registerDescriptionCallback','TrackChangesEditing','plugins','isCollapsed','getLastMatchingPosition','commandParams','highlight','hasAttribute','createRange','commandName','change','getRanges','getFirstPosition','get','locale','FORMAT_HIGHLIGHT','value','getAttribute'];(function(_0x1341a7,_0x2a913e){const _0x42ac23=function(_0x21706e){while(--_0x21706e){_0x1341a7['push'](_0x1341a7['shift']());}};_0x42ac23(++_0x2a913e);}(_0x2a91,0xb4));const _0x42ac=function(_0x1341a7,_0x2a913e){_0x1341a7=_0x1341a7-0x0;let _0x42ac23=_0x2a91[_0x1341a7];return _0x42ac23;};import{Plugin as _0x16e46a}from'ckeditor5/src/core';import{getTranslation as _0x28f2ed}from'../utils/common-translations';import{getRangesWithAttribute as _0x40b23d}from'./utils';export default class K extends _0x16e46a{[_0x42ac('0x15')](){const _0x1635e7=this[_0x42ac('0x20')];if(!_0x1635e7[_0x42ac('0x2')]['has']('HighlightEditing'))return;const _0x3c14ae=_0x1635e7[_0x42ac('0x2')][_0x42ac('0xd')](_0x42ac('0x1'));_0x3c14ae['enableCommand'](_0x42ac('0x6'),(_0x2282c8,_0x1c4883={})=>{const _0x208575=_0x1635e7['model']['document'][_0x42ac('0x1b')],_0x12f843=_0x208575['getAttribute'](_0x42ac('0x6'));let _0x4c208a=_0x1c4883[_0x42ac('0x10')],_0x251415=[];if(_0x208575[_0x42ac('0x3')]){const _0x88679e=_0x208575[_0x42ac('0xc')]();if(!_0x208575[_0x42ac('0x7')]('highlight'))return void _0x2282c8(_0x1c4883);{const _0x42ea41=_0x3d51f3=>_0x3d51f3[_0x42ac('0x18')][_0x42ac('0x11')](_0x42ac('0x6'))===_0x12f843,_0x283b7e=_0x88679e['getLastMatchingPosition'](_0x42ea41,{'direction':'backward'}),_0xfe67ae=_0x88679e[_0x42ac('0x4')](_0x42ea41);_0x251415=[_0x1635e7[_0x42ac('0x13')][_0x42ac('0x8')](_0x283b7e,_0xfe67ae)],_0x4c208a==_0x12f843&&(_0x4c208a=null);}}else for(const _0x4536f9 of _0x208575[_0x42ac('0xb')]())_0x4c208a?_0x251415['push'](_0x4536f9):_0x251415[_0x42ac('0x1f')](..._0x40b23d('highlight',_0x4536f9,_0x1635e7[_0x42ac('0x13')]));_0x1635e7[_0x42ac('0x13')][_0x42ac('0xa')](()=>{for(const _0x1969c1 of _0x251415)_0x3c14ae[_0x42ac('0x1c')](_0x1969c1,{'commandName':_0x42ac('0x6'),'commandParams':[{'value':_0x4c208a}]});});});const _0x1e3bfe=_0x1635e7[_0x42ac('0xe')];_0x3c14ae['_descriptionFactory'][_0x42ac('0x0')](_0x9b1cef=>{const {type:_0x15cce2,data:_0x5d77e6}=_0x9b1cef;if(_0x42ac('0x1e')==_0x15cce2&&_0x5d77e6&&_0x42ac('0x6')==_0x5d77e6[_0x42ac('0x9')]){const _0x565baf=_0x1e3bfe['t'],_0x95e3e9=_0x5d77e6[_0x42ac('0x5')][0x0][_0x42ac('0x10')];if(_0x95e3e9){const _0x2608c8=_0x1635e7[_0x42ac('0x16')][_0x42ac('0xd')]('highlight.options')[_0x42ac('0x14')](_0x32e072=>_0x32e072['model']==_0x95e3e9),_0x312886=_0x565baf(_0x2608c8[_0x42ac('0x1d')])[_0x42ac('0x19')]();return{'type':_0x42ac('0x1a'),'content':_0x28f2ed(_0x1e3bfe,_0x42ac('0x12'),_0x312886),'color':{'value':_0x2608c8['color'],'title':_0x2608c8[_0x42ac('0x1d')]}};}return{'type':_0x42ac('0x1a'),'content':_0x28f2ed(_0x1e3bfe,_0x42ac('0x17'),_0x28f2ed(_0x1e3bfe,_0x42ac('0xf')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5eb9=['createContainerElement','get','plugins','ELEMENT_HORIZONTAL_LINE','createEmptyElement','HorizontalLineEditing','createPositionAt','elementToStructure','dataDowncast','div','conversion','editor','addClass','for','afterInit','high','locale','has','ck-horizontal-line','horizontalLine'];(function(_0x926822,_0x5eb9de){const _0x3695cf=function(_0x470cd5){while(--_0x470cd5){_0x926822['push'](_0x926822['shift']());}};_0x3695cf(++_0x5eb9de);}(_0x5eb9,0x8a));const _0x3695=function(_0x926822,_0x5eb9de){_0x926822=_0x926822-0x0;let _0x3695cf=_0x5eb9[_0x926822];return _0x3695cf;};import{Plugin as _0x49f1a5}from'ckeditor5/src/core';import{getTranslation as _0x277561}from'../utils/common-translations';export default class Q extends _0x49f1a5{[_0x3695('0x10')](){const _0x2e83a3=this[_0x3695('0xd')];if(!_0x2e83a3[_0x3695('0x4')][_0x3695('0x13')](_0x3695('0x7')))return;_0x2e83a3[_0x3695('0x4')][_0x3695('0x3')]('TrackChangesEditing')['enableCommand'](_0x3695('0x1'));const _0x2c6722=_0x2e83a3[_0x3695('0x4')][_0x3695('0x3')]('TrackChangesEditing'),_0x4a29d4=_0x2e83a3[_0x3695('0x12')];_0x2c6722['_descriptionFactory']['registerElementLabel'](_0x3695('0x1'),_0x20c1e6=>_0x277561(_0x4a29d4,_0x3695('0x5'),_0x20c1e6)),_0x2e83a3[_0x3695('0xc')][_0x3695('0xf')](_0x3695('0xa'))[_0x3695('0x9')]({'model':_0x3695('0x1'),'view':(_0x32b51a,{writer:_0xf9d340,options:_0x4e87e8})=>{if(!_0x4e87e8['showSuggestionHighlights'])return null;const _0x29bc21=_0xf9d340[_0x3695('0x2')](_0x3695('0xb')),_0x29cbec=_0xf9d340[_0x3695('0x6')]('hr');return _0xf9d340[_0x3695('0xe')](_0x3695('0x0'),_0x29bc21),_0xf9d340['insert'](_0xf9d340[_0x3695('0x8')](_0x29bc21,0x0),_0x29cbec),_0x29bc21;},'converterPriority':_0x3695('0x11')});}}
23
+ const _0x3519=['insert','dataDowncast','afterInit','_descriptionFactory','high','get','addClass','createPositionAt','editor','horizontalLine','HorizontalLineEditing','plugins','createContainerElement','locale','ELEMENT_HORIZONTAL_LINE','createEmptyElement','registerElementLabel','conversion','for','div','enableCommand','showSuggestionHighlights','elementToStructure'];(function(_0x2b3937,_0x351968){const _0x524b06=function(_0x15181a){while(--_0x15181a){_0x2b3937['push'](_0x2b3937['shift']());}};_0x524b06(++_0x351968);}(_0x3519,0x119));const _0x524b=function(_0x2b3937,_0x351968){_0x2b3937=_0x2b3937-0x0;let _0x524b06=_0x3519[_0x2b3937];return _0x524b06;};import{Plugin as _0x33d104}from'ckeditor5/src/core';import{getTranslation as _0x49ac8e}from'../utils/common-translations';export default class Q extends _0x33d104{[_0x524b('0x14')](){const _0x403dde=this[_0x524b('0x3')];if(!_0x403dde[_0x524b('0x6')]['has'](_0x524b('0x5')))return;_0x403dde['plugins'][_0x524b('0x0')]('TrackChangesEditing')[_0x524b('0xf')]('horizontalLine');const _0x1263e3=_0x403dde[_0x524b('0x6')][_0x524b('0x0')]('TrackChangesEditing'),_0x4468dd=_0x403dde[_0x524b('0x8')];_0x1263e3[_0x524b('0x15')][_0x524b('0xb')](_0x524b('0x4'),_0x446255=>_0x49ac8e(_0x4468dd,_0x524b('0x9'),_0x446255)),_0x403dde[_0x524b('0xc')][_0x524b('0xd')](_0x524b('0x13'))[_0x524b('0x11')]({'model':'horizontalLine','view':(_0x5069e9,{writer:_0x5e0e57,options:_0x532768})=>{if(!_0x532768[_0x524b('0x10')])return null;const _0x439644=_0x5e0e57[_0x524b('0x7')](_0x524b('0xe')),_0x5a9ec5=_0x5e0e57[_0x524b('0xa')]('hr');return _0x5e0e57[_0x524b('0x1')]('ck-horizontal-line',_0x439644),_0x5e0e57[_0x524b('0x12')](_0x5e0e57[_0x524b('0x2')](_0x439644,0x0),_0x5a9ec5),_0x439644;},'converterPriority':_0x524b('0x16')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fde=['value','htmlEmbed','locale','format','getSelectedElement','model','selection','ELEMENT_HTML_EMBED','rawHtml','plugins','get','getCustomProperty','HtmlEmbed','registerDescriptionCallback','registerElementLabel','change','editing','_descriptionFactory','document','enableCommand','markBlockFormat','afterInit','TrackChangesEditing','element','has','commandName'];(function(_0x43374f,_0x4fde11){const _0x15d6ad=function(_0x26bc04){while(--_0x26bc04){_0x43374f['push'](_0x43374f['shift']());}};_0x15d6ad(++_0x4fde11);}(_0x4fde,0x17e));const _0x15d6=function(_0x43374f,_0x4fde11){_0x43374f=_0x43374f-0x0;let _0x15d6ad=_0x4fde[_0x43374f];return _0x15d6ad;};import{Plugin as _0x28e571}from'ckeditor5/src/core';import{getTranslation as _0x5e5ac7}from'../utils/common-translations';export default class V extends _0x28e571{[_0x15d6('0x3')](){const _0x20b9ab=this['editor'];if(!_0x20b9ab[_0x15d6('0x11')][_0x15d6('0x6')](_0x15d6('0x14')))return;const _0x4c5d90=_0x20b9ab[_0x15d6('0x11')][_0x15d6('0x12')](_0x15d6('0x4')),_0x399563=_0x20b9ab[_0x15d6('0xa')],_0x17a0e8=_0x20b9ab[_0x15d6('0x18')]['view'][_0x15d6('0x0')][_0x15d6('0xe')];_0x4c5d90['_descriptionFactory'][_0x15d6('0x16')](_0x15d6('0x10'),_0x3526b2=>_0x5e5ac7(_0x399563,_0x15d6('0xf'),_0x3526b2)),_0x20b9ab[_0x15d6('0x11')]['get'](_0x15d6('0x4'))[_0x15d6('0x1')](_0x15d6('0x9'),(_0xdba195,_0x26d0d4)=>{const _0x3db9b1=_0x20b9ab[_0x15d6('0xd')],_0x1f3de9=_0x3db9b1['document'][_0x15d6('0xe')];_0x3db9b1[_0x15d6('0x17')](()=>{const _0x30363b=function(_0x566bff){const _0x50eb58=_0x566bff['getSelectedElement']();if(_0x50eb58&&_0x50eb58['is'](_0x15d6('0x5'),_0x15d6('0x10')))return _0x566bff['getSelectedElement']();return null;}(_0x1f3de9);if(!_0x30363b)return void _0xdba195(null);const _0x7d5e1c=_0x30363b['getAttribute'](_0x15d6('0x8'))||'';if(void 0x0===_0x26d0d4)return;if(_0x26d0d4===_0x7d5e1c)return;_0x4c5d90[_0x15d6('0x2')](_0x30363b,{'commandName':_0x15d6('0x9'),'commandParams':[_0x26d0d4]}),_0x17a0e8[_0x15d6('0xc')]()[_0x15d6('0x13')]('rawHtmlApi')['cancel']();});}),_0x4c5d90[_0x15d6('0x19')][_0x15d6('0x15')](_0x50761b=>{const {data:_0x2c872f}=_0x50761b;if(_0x2c872f&&'htmlEmbed'==_0x2c872f[_0x15d6('0x7')]){const _0xbbcefc=_0x5e5ac7(_0x399563,_0x15d6('0xf'));return{'type':_0x15d6('0xb'),'content':_0x5e5ac7(_0x399563,'*Change\x20%0\x20content*',_0xbbcefc)};}});}}
23
+ const _0x4d63=['view','markBlockFormat','format','htmlEmbed','selection','has','registerElementLabel','registerDescriptionCallback','TrackChangesEditing','getAttribute','enableCommand','HtmlEmbed','_descriptionFactory','get','ELEMENT_HTML_EMBED','getSelectedElement','model','rawHtml','document','change','*Change\x20%0\x20content*','afterInit','editor'];(function(_0x10e23c,_0x4d6305){const _0x5e9098=function(_0x13084f){while(--_0x13084f){_0x10e23c['push'](_0x10e23c['shift']());}};_0x5e9098(++_0x4d6305);}(_0x4d63,0xaa));const _0x5e90=function(_0x10e23c,_0x4d6305){_0x10e23c=_0x10e23c-0x0;let _0x5e9098=_0x4d63[_0x10e23c];return _0x5e9098;};import{Plugin as _0x5bf7a3}from'ckeditor5/src/core';import{getTranslation as _0x1cb72d}from'../utils/common-translations';export default class V extends _0x5bf7a3{[_0x5e90('0xc')](){const _0xf8de4c=this[_0x5e90('0xd')];if(!_0xf8de4c['plugins'][_0x5e90('0x13')](_0x5e90('0x2')))return;const _0x46aa90=_0xf8de4c['plugins'][_0x5e90('0x4')](_0x5e90('0x16')),_0x20ed36=_0xf8de4c['locale'],_0x46a7b1=_0xf8de4c['editing'][_0x5e90('0xe')][_0x5e90('0x9')][_0x5e90('0x12')];_0x46aa90[_0x5e90('0x3')][_0x5e90('0x14')](_0x5e90('0x8'),_0x5573fe=>_0x1cb72d(_0x20ed36,_0x5e90('0x5'),_0x5573fe)),_0xf8de4c['plugins'][_0x5e90('0x4')](_0x5e90('0x16'))[_0x5e90('0x1')](_0x5e90('0x11'),(_0x2cc703,_0x17447f)=>{const _0x198fac=_0xf8de4c[_0x5e90('0x7')],_0x24e4f7=_0x198fac[_0x5e90('0x9')][_0x5e90('0x12')];_0x198fac[_0x5e90('0xa')](()=>{const _0x12f5ea=function(_0x1c663d){const _0x55f8f8=_0x1c663d['getSelectedElement']();if(_0x55f8f8&&_0x55f8f8['is']('element',_0x5e90('0x8')))return _0x1c663d[_0x5e90('0x6')]();return null;}(_0x24e4f7);if(!_0x12f5ea)return void _0x2cc703(null);const _0x3c5945=_0x12f5ea[_0x5e90('0x0')]('value')||'';if(void 0x0===_0x17447f)return;if(_0x17447f===_0x3c5945)return;_0x46aa90[_0x5e90('0xf')](_0x12f5ea,{'commandName':_0x5e90('0x11'),'commandParams':[_0x17447f]}),_0x46a7b1[_0x5e90('0x6')]()['getCustomProperty']('rawHtmlApi')['cancel']();});}),_0x46aa90['_descriptionFactory'][_0x5e90('0x15')](_0x457797=>{const {data:_0x6e64d4}=_0x457797;if(_0x6e64d4&&_0x5e90('0x11')==_0x6e64d4['commandName']){const _0x316e2e=_0x1cb72d(_0x20ed36,_0x5e90('0x5'));return{'type':_0x5e90('0x10'),'content':_0x1cb72d(_0x20ed36,_0x5e90('0xb'),_0x316e2e)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8556=['model','start','removeObject','ImageResize','author','differ','forceDefaultExecution','markInsertion','ELEMENT_IMAGE','getAttribute','registerPostFixer','imageTextAlternative','head','markBlockFormat','get','createRange','_descriptionFactory','_splitMarkerName','getCaptionFromImageModelElement','getSuggestions','previous','newValue','registerElementLabel','newRange','value','Block\x20image\x20to\x20inline\x20image','change','plugins','isCollapsed','caption','imageTypeInline','shouldConvertImageType','_findSuggestions','formatBlock','ImageEditing','find','selection','insertion','title','from','locale','alt','imageCaption','ELEMENT_INLINE_IMAGE','isBefore','isBlockImage','filter','toNext','imageTypeBlock','accept','ImageStyleEditing','length','uploadImage','afterInit','format','*Reset\x20image\x20width*','getNearestSelectionRange','resizeImage','nodeBefore','element','formatInline','ImageUploadEditing','deletion','name','imageStyle','convertInlineImageToBlock','TrackChangesEditing','toPrevious','commandName','document','convertBlockImageToInline','imageStylePreApply','forward','refresh','*Remove\x20image\x20text\x20alternative*','suggestion','subType','width','ImageCaptionEditing','backward','FORMAT_SIDE_IMAGE','_suggestionFactory','*Format:*\x20%0','*Set\x20image\x20text\x20alternative:*\x20%0','findIndex','has','*Set\x20image\x20width:*\x20%0','getSuggestionCallback','normalizedStyles','registerDescriptionCallback','imageInline','commandReversedParams','getClosestSelectedImageElement','isInContent','commands','createRangeOn','registerCustomCallback','ImageCaptionUtils','getFirstRange','toggleImageCaption','isEqual','discard','side','detach','ImageUtils','getContainedElement','end','fromPosition','type','insertImage','imageStylePostApply','ImageBlockEditing','hasAttribute','Inline\x20image\x20to\x20block\x20image','getSuggestion','next','commandParams','chain','ELEMENT_CAPTION','forEach','isInlineImage','enableCommand','join','discardSuggestion'];(function(_0x4f059a,_0x8556fc){const _0x106c23=function(_0x421e2d){while(--_0x421e2d){_0x4f059a['push'](_0x4f059a['shift']());}};_0x106c23(++_0x8556fc);}(_0x8556,0x1b0));const _0x106c=function(_0x4f059a,_0x8556fc){_0x4f059a=_0x4f059a-0x0;let _0x106c23=_0x8556[_0x4f059a];return _0x106c23;};import{Plugin as _0x20049b}from'ckeditor5/src/core';import{LivePosition as _0x3dfc54}from'ckeditor5/src/engine';import{uid as _0xc64e48}from'ckeditor5/src/utils';import{getTranslation as _0x518302}from'../utils/common-translations';export default class X extends _0x20049b{[_0x106c('0x75')](){const _0x1fbbbd=this['editor'];if(!_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')](_0x106c('0x62')))return;const _0x3f37ad=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')](_0x106c('0x6')),_0x41bcaa=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')](_0x106c('0x2c')),_0x323b9a={},_0x491f6c=_0x1fbbbd[_0x106c('0x68')];if(_0x3f37ad[_0x106c('0x3d')](_0x106c('0x31')),_0x3f37ad[_0x106c('0x50')][_0x106c('0x56')]('imageBlock',_0xcb2ad3=>_0x518302(_0x491f6c,_0x106c('0x48'),_0xcb2ad3)),_0x3f37ad[_0x106c('0x50')][_0x106c('0x56')](_0x106c('0x1e'),_0xb5d7a5=>_0x518302(_0x491f6c,_0x106c('0x6b'),_0xb5d7a5)),_0x3f37ad[_0x106c('0x50')]['registerElementLabel'](_0x106c('0x5d'),()=>_0x518302(_0x491f6c,_0x106c('0x3a'))),_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')](_0x106c('0x1'))&&_0x3f37ad['enableCommand'](_0x106c('0x74')),_0x1fbbbd['plugins'][_0x106c('0x19')](_0x106c('0x33'))&&_0x1fbbbd['plugins'][_0x106c('0x19')]('ImageInlineEditing')&&(_0x3f37ad[_0x106c('0x3d')](_0x106c('0x5e'),(_0x350822,_0x4d0d87)=>{const _0x1f15b3=_0x41bcaa['getClosestSelectedImageElement'](_0x1fbbbd[_0x106c('0x40')]['document'][_0x106c('0x64')]);_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](()=>{_0x3f37ad['markBlockFormat'](_0x1f15b3,{'commandName':_0x106c('0x5e'),'commandParams':[_0x4d0d87]},[],_0x106c('0xa'));});}),_0x3f37ad[_0x106c('0x3d')]('imageTypeBlock',(_0x40f9aa,_0x1f04b2)=>{_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](_0x45850c=>{let _0x10848c=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')]['document'][_0x106c('0x64')]),_0x36b368=_0x45850c[_0x106c('0x23')](_0x10848c);const _0x4e31fb=_0x3dfc54[_0x106c('0x2f')](_0x36b368[_0x106c('0x41')],_0x106c('0x7')),_0x5c9b44=_0x3dfc54['fromPosition'](_0x36b368['end'],_0x106c('0x6f'));_0x3f37ad[_0x106c('0x46')](()=>_0x40f9aa(_0x1f04b2)),_0x10848c=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model']['document'][_0x106c('0x64')]),_0x36b368=_0x45850c[_0x106c('0x23')](_0x10848c);const _0x901be9=_0x45850c[_0x106c('0x4f')](_0x4e31fb,_0x5c9b44);_0x4e31fb[_0x106c('0x2b')](),_0x5c9b44[_0x106c('0x2b')](),_0x3f37ad[_0x106c('0x4d')](_0x10848c,{'commandName':_0x106c('0x5e'),'commandParams':[]},[],_0x106c('0x5')),_0x901be9[_0x106c('0x41')][_0x106c('0x6c')](_0x36b368['start'])&&_0x3f37ad['markInsertion'](_0x45850c[_0x106c('0x4f')](_0x901be9['start'],_0x36b368[_0x106c('0x41')]),_0x106c('0x5')),_0x36b368[_0x106c('0x2e')][_0x106c('0x6c')](_0x901be9[_0x106c('0x2e')])&&_0x3f37ad[_0x106c('0x47')](_0x45850c[_0x106c('0x4f')](_0x36b368[_0x106c('0x2e')],_0x901be9['end']),_0x106c('0x5'));});}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0x5'),_0x106c('0x3e'),()=>!0x1),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0x5'),_0x106c('0x71'),()=>!0x1),_0x3f37ad['_suggestionFactory'][_0x106c('0x24')](_0x106c('0x61'),'convertInlineImageToBlock','discard',_0x3f37ad['_suggestionFactory']['getSuggestionCallback'](_0x106c('0x61'),'',_0x106c('0x71'))),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')]('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x3f37ad['_suggestionFactory'][_0x106c('0x24')]('insertion',_0x106c('0x5'),_0x106c('0x29'),([_0x3959d8])=>{const _0x26fdbc=_0x3f37ad['_suggestionFactory'][_0x106c('0x1b')]('insertion','',_0x106c('0x29'));let _0x14686d=_0x3959d8['start'],_0x3d6521=_0x3959d8[_0x106c('0x2e')];const _0x23de95=_0x1fbbbd[_0x106c('0x40')]['schema'][_0x106c('0x78')](_0x14686d,_0x106c('0x13')),_0x526696=_0x1fbbbd['model']['schema'][_0x106c('0x78')](_0x3d6521,_0x106c('0xc'));_0x23de95[_0x106c('0x5c')]&&(_0x14686d=_0x23de95[_0x106c('0x41')]),_0x526696[_0x106c('0x5c')]&&(_0x3d6521=_0x526696[_0x106c('0x2e')]),_0x26fdbc([_0x1fbbbd['model'][_0x106c('0x4f')](_0x14686d,_0x3d6521)]);}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0x5'),'chain',_0x15f74b),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x65'),'convertInlineImageToBlock',_0x106c('0x39'),_0x15f74b)),_0x1fbbbd['plugins'][_0x106c('0x19')](_0x106c('0x12'))&&(_0x3f37ad[_0x106c('0x3d')](_0x106c('0x27'),(_0x5e4dc2,_0x5da439)=>{const _0x14c1ae=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')](_0x106c('0x25'));let _0x24124a=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x9')][_0x106c('0x64')]),_0x6a4ab8=_0x14c1ae[_0x106c('0x52')](_0x24124a);_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](()=>{if(_0x6a4ab8)return void _0x3f37ad['markDeletion'](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x6a4ab8));const _0x22bfaf=_0x41bcaa[_0x106c('0x6d')](_0x24124a);_0x5e4dc2(_0x5da439),_0x24124a=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')]['document']['selection']),_0x6a4ab8=_0x14c1ae[_0x106c('0x52')](_0x24124a),_0x3f37ad[_0x106c('0x47')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x6a4ab8),_0x22bfaf?null:_0x106c('0x6a'));});}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x65'),'imageCaption','chain',_0x15f74b)),_0x1fbbbd['plugins']['has'](_0x106c('0x72'))){_0x3f37ad['enableCommand'](_0x106c('0x4'),(_0x2fcbe8,_0x3a6da2)=>{const _0x44d017=_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x4e')]('Users')['me'],_0x125d8e=_0x1fbbbd[_0x106c('0x22')]['get'](_0x106c('0x4'));let _0x1ce237=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model']['document'][_0x106c('0x64')]),_0x3cca1c=_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x1ce237),_0xeb83c7=_0x125d8e[_0x106c('0x58')];if(_0xeb83c7==_0x3a6da2[_0x106c('0x58')])return;const _0x25ea5f={'commandName':'imageStyle','commandParams':[_0x3a6da2],'formatGroupId':_0xc64e48()};_0x1fbbbd[_0x106c('0x40')]['change'](()=>{if(_0x3f37ad[_0x106c('0x53')]()[_0x106c('0x6e')](_0x19ba4c=>_0x19ba4c[_0x106c('0x21')]&&_0x44d017==_0x19ba4c[_0x106c('0x44')]&&(_0x106c('0x61')==_0x19ba4c[_0x106c('0x30')]||_0x106c('0x0')==_0x19ba4c[_0x106c('0x30')])&&('imageStylePreApply'==_0x19ba4c[_0x106c('0x10')]||_0x106c('0x32')==_0x19ba4c[_0x106c('0x10')])&&_0x19ba4c[_0x106c('0x26')]()[_0x106c('0x28')](_0x3cca1c))[_0x106c('0x3b')](_0x4f1629=>_0x3f37ad[_0x106c('0x3f')](_0x4f1629[_0x106c('0x4c')])),_0x1ce237=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model'][_0x106c('0x9')][_0x106c('0x64')]),_0x3cca1c=_0x1fbbbd[_0x106c('0x40')][_0x106c('0x23')](_0x1ce237),_0x125d8e[_0x106c('0xd')](),_0x1fbbbd[_0x106c('0x22')][_0x106c('0x4e')]('imageTypeInline')['refresh'](),_0x1fbbbd[_0x106c('0x22')][_0x106c('0x4e')](_0x106c('0x70'))['refresh'](),_0xeb83c7=_0x125d8e[_0x106c('0x58')],_0xeb83c7!=_0x3a6da2[_0x106c('0x58')])return _0x41bcaa[_0x106c('0x3c')](_0x1ce237)&&_0x125d8e[_0x106c('0x5f')](_0x3a6da2['value'],_0x1ce237)?(_0x2fcbe8(_0x3a6da2),_0x1ce237=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd['model'][_0x106c('0x9')][_0x106c('0x64')]),void _0x3f37ad[_0x106c('0x4d')](_0x1ce237,{..._0x25ea5f,'commandReversedParams':[{'value':_0xeb83c7||null}]},[],_0x106c('0xb'))):void(_0x41bcaa[_0x106c('0x6d')](_0x1ce237)?_0x3f37ad[_0x106c('0x4d')](_0x1ce237,_0x25ea5f,[],'imageStylePostApply'):_0x3f37ad['markInlineFormat'](_0x3cca1c,_0x25ea5f,_0x106c('0x32')));});});for(const _0x4c5e39 of _0x1fbbbd[_0x106c('0x5b')]['get'](_0x106c('0x72'))[_0x106c('0x1c')])_0x323b9a[_0x4c5e39[_0x106c('0x3')]]=_0x4c5e39[_0x106c('0x66')]['toLowerCase']();_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),'imageStylePreApply',_0x106c('0x3e'),()=>!0x1),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')]('formatBlock',_0x106c('0x32'),'join',()=>!0x1),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x0'),_0x106c('0x32'),_0x106c('0x3e'),()=>!0x1),_0x3f37ad['_suggestionFactory']['registerCustomCallback'](_0x106c('0x61'),'imageStylePreApply',_0x106c('0x71'),()=>!0x1),_0x3f37ad['_suggestionFactory'][_0x106c('0x24')](_0x106c('0x61'),_0x106c('0xb'),_0x106c('0x29'),(_0x332f48,_0x3427ca)=>{_0x3f37ad[_0x106c('0x15')][_0x106c('0x1b')](_0x106c('0x61'),'',_0x106c('0x71'))(_0x332f48,{'commandName':_0x3427ca[_0x106c('0x8')],'commandParams':_0x3427ca[_0x106c('0x1f')]});}),_0x3f37ad[_0x106c('0x15')][_0x106c('0x24')](_0x106c('0x61'),'imageStylePreApply','chain',_0x15f74b);}const _0x97e36e=[{'type':_0x106c('0x61'),'subType':_0x106c('0xb')},{'type':_0x106c('0x65'),'subType':_0x106c('0x6a')},{'type':_0x106c('0x61'),'subType':_0x106c('0x5')},{'type':_0x106c('0x65'),'subType':'convertInlineImageToBlock'}];function _0x24d4bd(_0x11ae98,_0x4bd0ee){const _0x1c051c=_0x97e36e[_0x106c('0x18')](({type:_0x25058b,subType:_0x40a505})=>_0x11ae98['type']==_0x25058b&&_0x11ae98[_0x106c('0x10')]==_0x40a505),_0x56b7dc=_0x97e36e[_0x106c('0x18')](({type:_0x53f1d7,subType:_0x2ad94d})=>_0x4bd0ee[_0x106c('0x30')]==_0x53f1d7&&_0x4bd0ee['subType']==_0x2ad94d);if(_0x1c051c<0x0||_0x56b7dc<0x0)return!0x1;const _0x52bc2a=_0x11ae98['getFirstRange'](),_0x5c73fc=_0x4bd0ee['getFirstRange']();if((0x0==_0x1c051c||0x1==_0x1c051c)&&0x2==_0x56b7dc&&_0x52bc2a['isIntersecting'](_0x5c73fc))return!0x0;if(0x2==_0x1c051c&&0x3==_0x56b7dc){const _0x3a91c2=_0x3f37ad[_0x106c('0x60')](_0x52bc2a,'insertion')[_0x106c('0x6e')](({suggestion:_0x5acfee,meta:_0x83e479})=>_0x83e479['isOwn']&&_0x106c('0x5')==_0x5acfee[_0x106c('0x10')]);if(_0x3a91c2[_0x106c('0x73')]>0x1&&_0x5c73fc['end']['isEqual'](_0x52bc2a[_0x106c('0x41')]))return!0x0;if(0x1==_0x3a91c2[_0x106c('0x73')]&&(_0x52bc2a[_0x106c('0x41')]['isEqual'](_0x5c73fc[_0x106c('0x2e')])||_0x52bc2a[_0x106c('0x2e')][_0x106c('0x28')](_0x5c73fc[_0x106c('0x41')])))return!0x0;}if(0x3==_0x1c051c&&0x3==_0x56b7dc&&_0x52bc2a['start'][_0x106c('0x6c')](_0x5c73fc[_0x106c('0x41')])){const _0x32937f=_0x52bc2a[_0x106c('0x2e')]['nodeAfter'],_0x5e9ea8=_0x5c73fc['start'][_0x106c('0x7a')];return _0x41bcaa[_0x106c('0x6d')](_0x32937f)&&_0x32937f===_0x5e9ea8;}return!0x1;}function _0x15f74b(_0xfa1f9e,_0x21af95){return _0x24d4bd(_0xfa1f9e,_0x21af95)?[_0xfa1f9e,_0x21af95]:_0x24d4bd(_0x21af95,_0xfa1f9e)?[_0x21af95,_0xfa1f9e]:null;}_0x1fbbbd['model']['document'][_0x106c('0x4a')](()=>{let _0x503066=!0x1;const _0x255a1c=Array[_0x106c('0x67')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x9')][_0x106c('0x45')]['getChangedMarkers']());for(const {name:_0x37e557,data:_0x106ecb}of _0x255a1c){const {group:_0x1b5da7,type:_0x572201,subType:_0x23e24b,id:_0x21ade3}=_0x3f37ad[_0x106c('0x51')](_0x37e557);if(_0x106c('0xf')==_0x1b5da7&&_0x3f37ad['hasSuggestion'](_0x21ade3)){if(_0x106c('0x61')==_0x572201&&(_0x106c('0xb')==_0x23e24b||_0x106c('0x32')==_0x23e24b)){const _0x6e4a49=_0x3f37ad[_0x106c('0x36')](_0x21ade3);if(_0x106ecb[_0x106c('0x57')]){const _0x43306d=_0x6e4a49[_0x106c('0x26')]()[_0x106c('0x2d')]();if(_0x41bcaa[_0x106c('0x6d')](_0x43306d))continue;_0x3f37ad['discardSuggestion'](_0x6e4a49),_0x503066=!0x0;}}if(_0x106c('0x65')==_0x572201&&'imageCaption'==_0x23e24b&&!_0x106ecb[_0x106c('0x57')]){const _0x3bb4fa=_0x3f37ad[_0x106c('0x36')](_0x21ade3);_0x3bb4fa[_0x106c('0x37')]&&_0x3bb4fa['next']['isInContent']&&(_0x3f37ad['discardSuggestion'](_0x3bb4fa[_0x106c('0x37')]),_0x503066=!0x0);}}}return _0x503066;}),_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')](_0x106c('0x43'))&&_0x3f37ad['enableCommand'](_0x106c('0x79'),(_0x9b2e42,_0x2d1728)=>{const _0x2da000=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')][_0x106c('0x9')][_0x106c('0x64')]);_0x2da000[_0x106c('0x49')]('width')!=_0x2d1728[_0x106c('0x11')]&&_0x1fbbbd['model']['change'](()=>{_0x3f37ad[_0x106c('0x4d')](_0x2da000,{'commandName':_0x106c('0x79'),'commandParams':[_0x2d1728]});});}),_0x1fbbbd[_0x106c('0x5b')][_0x106c('0x19')]('ImageTextAlternativeEditing')&&_0x3f37ad[_0x106c('0x3d')]('imageTextAlternative',(_0x2a48c5,_0x382631)=>{const _0x517a23=_0x41bcaa[_0x106c('0x20')](_0x1fbbbd[_0x106c('0x40')]['document'][_0x106c('0x64')]);(_0x517a23[_0x106c('0x34')](_0x106c('0x69'))?_0x517a23[_0x106c('0x49')](_0x106c('0x69')):'')!=_0x382631[_0x106c('0x55')]&&_0x1fbbbd[_0x106c('0x40')][_0x106c('0x5a')](()=>{_0x3f37ad[_0x106c('0x4d')](_0x517a23,{'commandName':'imageTextAlternative','commandParams':[_0x382631]});});}),_0x3f37ad['_descriptionFactory'][_0x106c('0x1d')](_0x53bcef=>{if(!!_0x97e36e[_0x106c('0x63')](({type:_0x49662c,subType:_0xfed8e2})=>_0x53bcef[_0x106c('0x30')]==_0x49662c&&_0x53bcef[_0x106c('0x10')]==_0xfed8e2))return _0x53bcef[_0x106c('0x54')]?{}:void 0x0;}),_0x3f37ad['_descriptionFactory']['registerDescriptionCallback'](_0x31966d=>{if(_0x106c('0x65')==_0x31966d['type']||_0x106c('0x2')==_0x31966d[_0x106c('0x30')]){const _0x4896ac=_0x31966d[_0x106c('0x2d')]();if(_0x4896ac&&_0x4896ac['is'](_0x106c('0x7b'),'caption'))return{'type':_0x106c('0x65')==_0x31966d['type']?'addObject':_0x106c('0x42'),'element':_0x4896ac,'quantity':0x1};}}),_0x3f37ad[_0x106c('0x50')]['registerDescriptionCallback'](_0x33ca30=>_0x106c('0x61')==_0x33ca30[_0x106c('0x30')]&&'convertInlineImageToBlock'==_0x33ca30[_0x106c('0x10')]?{'type':_0x106c('0x76'),'content':_0x106c('0x35')}:_0x106c('0x61')==_0x33ca30['type']&&_0x106c('0xa')==_0x33ca30[_0x106c('0x10')]?{'type':_0x106c('0x76'),'content':_0x106c('0x59')}:void 0x0),_0x3f37ad[_0x106c('0x50')]['registerDescriptionCallback'](_0x473cfa=>{const {data:_0x57e670}=_0x473cfa;if(_0x57e670){if(_0x106c('0x4')==_0x57e670[_0x106c('0x8')]){const _0x2925e0=_0x57e670[_0x106c('0x38')][0x0]['value'];return _0xfd4acf(_0x106c('0x2a')===_0x2925e0?_0x518302(_0x491f6c,_0x106c('0x14')):_0x323b9a[_0x2925e0]||_0x2925e0);}if(_0x106c('0x4b')==_0x57e670['commandName']){const _0x504dcb=_0x57e670['commandParams'][0x0][_0x106c('0x55')];return _0x504dcb?{'type':_0x106c('0x76'),'content':_0x518302(_0x491f6c,_0x106c('0x17'),'\x22'+_0x504dcb+'\x22')}:{'type':'format','content':_0x518302(_0x491f6c,_0x106c('0xe'))};}if('resizeImage'==_0x57e670[_0x106c('0x8')]){const _0x1ffe14=_0x57e670[_0x106c('0x38')][0x0][_0x106c('0x11')];return _0x1ffe14?{'type':'format','content':_0x518302(_0x491f6c,_0x106c('0x1a'),_0x1ffe14)}:{'type':_0x106c('0x76'),'content':_0x518302(_0x491f6c,_0x106c('0x77'))};}}function _0xfd4acf(_0x34038d){return{'type':'format','content':_0x518302(_0x491f6c,_0x106c('0x16'),_0x34038d)};}});}}
23
+ const _0x209a=['imageInline','has','commandName','*Set\x20image\x20text\x20alternative:*\x20%0','deletion','differ','detach','isBefore','normalizedStyles','previous','plugins','getClosestSelectedImageElement','commandReversedParams','hasSuggestion','_splitMarkerName','findIndex','Users','ImageResize','ImageUtils','isBlockImage','addObject','forEach','ImageCaptionEditing','ELEMENT_IMAGE','find','enableCommand','document','chain','suggestion','_descriptionFactory','registerCustomCallback','subType','isInContent','shouldConvertImageType','fromPosition','get','createRange','TrackChangesEditing','side','isInlineImage','start','end','element','formatInline','insertImage','change','getSuggestion','afterInit','join','alt','getContainedElement','next','convertInlineImageToBlock','ELEMENT_CAPTION','getNearestSelectionRange','ImageEditing','imageTextAlternative','author','Inline\x20image\x20to\x20block\x20image','caption','isIntersecting','imageBlock','nodeBefore','hasAttribute','createRangeOn','format','isCollapsed','backward','ImageUploadEditing','from','filter','imageStyle','commands','refresh','head','insertion','selection','discardSuggestion','resizeImage','toggleImageCaption','registerDescriptionCallback','imageStylePreApply','locale','length','schema','model','newRange','markInsertion','imageTypeBlock','imageCaption','getAttribute','imageTypeInline','registerPostFixer','commandParams','*Set\x20image\x20width:*\x20%0','isEqual','title','ImageStyleEditing','discard','imageStylePostApply','convertBlockImageToInline','markDeletion','getSuggestionCallback','name','isOwn','value','uploadImage','newValue','ImageInlineEditing','registerElementLabel','getFirstRange','markInlineFormat','formatBlock','_suggestionFactory','width','accept','markBlockFormat','_findSuggestions','Block\x20image\x20to\x20inline\x20image','type'];(function(_0x505cf2,_0x209a89){const _0x4e2321=function(_0x1cfb11){while(--_0x1cfb11){_0x505cf2['push'](_0x505cf2['shift']());}};_0x4e2321(++_0x209a89);}(_0x209a,0x1b5));const _0x4e23=function(_0x505cf2,_0x209a89){_0x505cf2=_0x505cf2-0x0;let _0x4e2321=_0x209a[_0x505cf2];return _0x4e2321;};import{Plugin as _0x41771e}from'ckeditor5/src/core';import{LivePosition as _0x18d101}from'ckeditor5/src/engine';import{uid as _0x3438b0}from'ckeditor5/src/utils';import{getTranslation as _0xa770f6}from'../utils/common-translations';export default class X extends _0x41771e{[_0x4e23('0x5a')](){const _0x4c1c28=this['editor'];if(!_0x4c1c28[_0x4e23('0x35')]['has'](_0x4e23('0x62')))return;const _0x5a3c29=_0x4c1c28['plugins'][_0x4e23('0x4e')](_0x4e23('0x50')),_0x2c16a8=_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')](_0x4e23('0x3d')),_0x4f69da={},_0x4c636f=_0x4c1c28[_0x4e23('0x5')];if(_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x57')),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x68'),_0x523ca3=>_0xa770f6(_0x4c636f,_0x4e23('0x42'),_0x523ca3)),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x2b'),_0xbe80c6=>_0xa770f6(_0x4c636f,'ELEMENT_INLINE_IMAGE',_0xbe80c6)),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x20')](_0x4e23('0x66'),()=>_0xa770f6(_0x4c636f,_0x4e23('0x60'))),_0x4c1c28['plugins']['has'](_0x4e23('0x6f'))&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x1d')),_0x4c1c28['plugins']['has']('ImageBlockEditing')&&_0x4c1c28['plugins'][_0x4e23('0x2c')](_0x4e23('0x1f'))&&(_0x5a3c29[_0x4e23('0x44')](_0x4e23('0xe'),(_0x4993e0,_0x5c6ef4)=>{const _0xcf1932=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28['model'][_0x4e23('0x45')][_0x4e23('0x77')]);_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{_0x5a3c29[_0x4e23('0x27')](_0xcf1932,{'commandName':_0x4e23('0xe'),'commandParams':[_0x5c6ef4]},[],_0x4e23('0x17'));});}),_0x5a3c29[_0x4e23('0x44')](_0x4e23('0xb'),(_0x541130,_0x577341)=>{_0x4c1c28['model'][_0x4e23('0x58')](_0xfb2e87=>{let _0x3fb117=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x508efc=_0xfb2e87[_0x4e23('0x6b')](_0x3fb117);const _0x2370e8=_0x18d101[_0x4e23('0x4d')](_0x508efc[_0x4e23('0x53')],'toPrevious'),_0x5cc164=_0x18d101[_0x4e23('0x4d')](_0x508efc[_0x4e23('0x54')],'toNext');_0x5a3c29['forceDefaultExecution'](()=>_0x541130(_0x577341)),_0x3fb117=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x508efc=_0xfb2e87['createRangeOn'](_0x3fb117);const _0x27f0f0=_0xfb2e87[_0x4e23('0x4f')](_0x2370e8,_0x5cc164);_0x2370e8[_0x4e23('0x31')](),_0x5cc164[_0x4e23('0x31')](),_0x5a3c29[_0x4e23('0x27')](_0x3fb117,{'commandName':_0x4e23('0xe'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x27f0f0[_0x4e23('0x53')][_0x4e23('0x32')](_0x508efc['start'])&&_0x5a3c29[_0x4e23('0xa')](_0xfb2e87[_0x4e23('0x4f')](_0x27f0f0['start'],_0x508efc[_0x4e23('0x53')]),_0x4e23('0x5f')),_0x508efc[_0x4e23('0x54')][_0x4e23('0x32')](_0x27f0f0[_0x4e23('0x54')])&&_0x5a3c29[_0x4e23('0xa')](_0xfb2e87[_0x4e23('0x4f')](_0x508efc[_0x4e23('0x54')],_0x27f0f0['end']),_0x4e23('0x5f'));});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x5f'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x23'),_0x4e23('0x5f'),_0x4e23('0x26'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x5f'),_0x4e23('0x15'),_0x5a3c29['_suggestionFactory']['getSuggestionCallback']('formatBlock','',_0x4e23('0x26'))),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('insertion',_0x4e23('0x5f'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29['_suggestionFactory'][_0x4e23('0x49')]('insertion',_0x4e23('0x5f'),'discard',([_0x321489])=>{const _0xfb82da=_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x19')]('insertion','','discard');let _0x3e49fd=_0x321489['start'],_0x46fa55=_0x321489[_0x4e23('0x54')];const _0x2ecb5a=_0x4c1c28[_0x4e23('0x8')]['schema'][_0x4e23('0x61')](_0x3e49fd,_0x4e23('0x6e')),_0x42fbea=_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x7')][_0x4e23('0x61')](_0x46fa55,'forward');_0x2ecb5a['isCollapsed']&&(_0x3e49fd=_0x2ecb5a['start']),_0x42fbea[_0x4e23('0x6d')]&&(_0x46fa55=_0x42fbea[_0x4e23('0x54')]),_0xfb82da([_0x4c1c28['model'][_0x4e23('0x4f')](_0x3e49fd,_0x46fa55)]);}),_0x5a3c29['_suggestionFactory']['registerCustomCallback'](_0x4e23('0x23'),_0x4e23('0x5f'),_0x4e23('0x46'),_0x2c5490),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x76'),_0x4e23('0x5f'),_0x4e23('0x46'),_0x2c5490)),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')](_0x4e23('0x41'))&&(_0x5a3c29['enableCommand'](_0x4e23('0x2'),(_0x7f994c,_0x38ec77)=>{const _0xcbeac=_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')]('ImageCaptionUtils');let _0x537ce6=_0x2c16a8['getClosestSelectedImageElement'](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3a02d6=_0xcbeac['getCaptionFromImageModelElement'](_0x537ce6);_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{if(_0x3a02d6)return void _0x5a3c29[_0x4e23('0x18')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x6b')](_0x3a02d6));const _0x2013b6=_0x2c16a8[_0x4e23('0x3e')](_0x537ce6);_0x7f994c(_0x38ec77),_0x537ce6=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3a02d6=_0xcbeac['getCaptionFromImageModelElement'](_0x537ce6),_0x5a3c29[_0x4e23('0xa')](_0x4c1c28[_0x4e23('0x8')]['createRangeOn'](_0x3a02d6),_0x2013b6?null:'imageCaption');});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('insertion','imageCaption',_0x4e23('0x46'),_0x2c5490)),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')]('ImageStyleEditing')){_0x5a3c29['enableCommand'](_0x4e23('0x72'),(_0x522146,_0x3b0dae)=>{const _0x4cb30f=_0x4c1c28[_0x4e23('0x35')]['get'](_0x4e23('0x3b'))['me'],_0x2d88d2=_0x4c1c28[_0x4e23('0x73')][_0x4e23('0x4e')](_0x4e23('0x72'));let _0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0x77')]),_0x3461c0=_0x4c1c28['model'][_0x4e23('0x6b')](_0x34974b),_0x47fd4a=_0x2d88d2[_0x4e23('0x1c')];if(_0x47fd4a==_0x3b0dae['value'])return;const _0x51d33f={'commandName':_0x4e23('0x72'),'commandParams':[_0x3b0dae],'formatGroupId':_0x3438b0()};_0x4c1c28['model'][_0x4e23('0x58')](()=>{if(_0x5a3c29['getSuggestions']()[_0x4e23('0x71')](_0x1c63b9=>_0x1c63b9[_0x4e23('0x4b')]&&_0x4cb30f==_0x1c63b9[_0x4e23('0x64')]&&('formatBlock'==_0x1c63b9['type']||_0x4e23('0x56')==_0x1c63b9[_0x4e23('0x2a')])&&(_0x4e23('0x4')==_0x1c63b9[_0x4e23('0x4a')]||_0x4e23('0x16')==_0x1c63b9['subType'])&&_0x1c63b9['getFirstRange']()[_0x4e23('0x12')](_0x3461c0))[_0x4e23('0x40')](_0x18eeab=>_0x5a3c29[_0x4e23('0x0')](_0x18eeab[_0x4e23('0x75')])),_0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']),_0x3461c0=_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x6b')](_0x34974b),_0x2d88d2[_0x4e23('0x74')](),_0x4c1c28['commands']['get'](_0x4e23('0xe'))['refresh'](),_0x4c1c28['commands']['get'](_0x4e23('0xb'))[_0x4e23('0x74')](),_0x47fd4a=_0x2d88d2[_0x4e23('0x1c')],_0x47fd4a!=_0x3b0dae[_0x4e23('0x1c')])return _0x2c16a8[_0x4e23('0x52')](_0x34974b)&&_0x2d88d2[_0x4e23('0x4c')](_0x3b0dae['value'],_0x34974b)?(_0x522146(_0x3b0dae),_0x34974b=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')]['document'][_0x4e23('0x77')]),void _0x5a3c29[_0x4e23('0x27')](_0x34974b,{..._0x51d33f,'commandReversedParams':[{'value':_0x47fd4a||null}]},[],'imageStylePreApply')):void(_0x2c16a8[_0x4e23('0x3e')](_0x34974b)?_0x5a3c29[_0x4e23('0x27')](_0x34974b,_0x51d33f,[],_0x4e23('0x16')):_0x5a3c29[_0x4e23('0x22')](_0x3461c0,_0x51d33f,_0x4e23('0x16')));});});for(const _0x5a84c7 of _0x4c1c28[_0x4e23('0x35')][_0x4e23('0x4e')](_0x4e23('0x14'))[_0x4e23('0x33')])_0x4f69da[_0x5a84c7[_0x4e23('0x1a')]]=_0x5a84c7[_0x4e23('0x13')]['toLowerCase']();_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')](_0x4e23('0x23'),_0x4e23('0x16'),_0x4e23('0x5b'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')]['registerCustomCallback'](_0x4e23('0x56'),_0x4e23('0x16'),'join',()=>!0x1),_0x5a3c29['_suggestionFactory']['registerCustomCallback'](_0x4e23('0x23'),'imageStylePreApply',_0x4e23('0x26'),()=>!0x1),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),'discard',(_0x9f323d,_0x516767)=>{_0x5a3c29[_0x4e23('0x24')]['getSuggestionCallback'](_0x4e23('0x23'),'',_0x4e23('0x26'))(_0x9f323d,{'commandName':_0x516767[_0x4e23('0x2d')],'commandParams':_0x516767[_0x4e23('0x37')]});}),_0x5a3c29[_0x4e23('0x24')][_0x4e23('0x49')]('formatBlock',_0x4e23('0x4'),_0x4e23('0x46'),_0x2c5490);}const _0x25705f=[{'type':_0x4e23('0x23'),'subType':_0x4e23('0x4')},{'type':_0x4e23('0x76'),'subType':'imageCaption'},{'type':_0x4e23('0x23'),'subType':_0x4e23('0x5f')},{'type':_0x4e23('0x76'),'subType':_0x4e23('0x5f')}];function _0x4995ef(_0x557ef9,_0x5bb532){const _0x2e00a3=_0x25705f[_0x4e23('0x3a')](({type:_0x5a910b,subType:_0x4236a9})=>_0x557ef9[_0x4e23('0x2a')]==_0x5a910b&&_0x557ef9[_0x4e23('0x4a')]==_0x4236a9),_0x4b1069=_0x25705f[_0x4e23('0x3a')](({type:_0x3fa641,subType:_0x4740ee})=>_0x5bb532[_0x4e23('0x2a')]==_0x3fa641&&_0x5bb532[_0x4e23('0x4a')]==_0x4740ee);if(_0x2e00a3<0x0||_0x4b1069<0x0)return!0x1;const _0xf52619=_0x557ef9[_0x4e23('0x21')](),_0x53f7b1=_0x5bb532['getFirstRange']();if((0x0==_0x2e00a3||0x1==_0x2e00a3)&&0x2==_0x4b1069&&_0xf52619[_0x4e23('0x67')](_0x53f7b1))return!0x0;if(0x2==_0x2e00a3&&0x3==_0x4b1069){const _0x42d060=_0x5a3c29[_0x4e23('0x28')](_0xf52619,_0x4e23('0x76'))['filter'](({suggestion:_0x5385b6,meta:_0x4e590c})=>_0x4e590c[_0x4e23('0x1b')]&&_0x4e23('0x5f')==_0x5385b6[_0x4e23('0x4a')]);if(_0x42d060[_0x4e23('0x6')]>0x1&&_0x53f7b1['end']['isEqual'](_0xf52619[_0x4e23('0x53')]))return!0x0;if(0x1==_0x42d060[_0x4e23('0x6')]&&(_0xf52619['start']['isEqual'](_0x53f7b1[_0x4e23('0x54')])||_0xf52619['end'][_0x4e23('0x12')](_0x53f7b1['start'])))return!0x0;}if(0x3==_0x2e00a3&&0x3==_0x4b1069&&_0xf52619[_0x4e23('0x53')][_0x4e23('0x32')](_0x53f7b1[_0x4e23('0x53')])){const _0x15e98e=_0xf52619[_0x4e23('0x54')]['nodeAfter'],_0x1f3f82=_0x53f7b1['start'][_0x4e23('0x69')];return _0x2c16a8[_0x4e23('0x3e')](_0x15e98e)&&_0x15e98e===_0x1f3f82;}return!0x1;}function _0x2c5490(_0x79623c,_0x547d0e){return _0x4995ef(_0x79623c,_0x547d0e)?[_0x79623c,_0x547d0e]:_0x4995ef(_0x547d0e,_0x79623c)?[_0x547d0e,_0x79623c]:null;}_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')][_0x4e23('0xf')](()=>{let _0x1dbf01=!0x1;const _0x259ace=Array[_0x4e23('0x70')](_0x4c1c28['model'][_0x4e23('0x45')][_0x4e23('0x30')]['getChangedMarkers']());for(const {name:_0x311cbd,data:_0x56a3f9}of _0x259ace){const {group:_0x5b8114,type:_0x1a4847,subType:_0x5bbc3b,id:_0x5a8580}=_0x5a3c29[_0x4e23('0x39')](_0x311cbd);if(_0x4e23('0x47')==_0x5b8114&&_0x5a3c29[_0x4e23('0x38')](_0x5a8580)){if(_0x4e23('0x23')==_0x1a4847&&(_0x4e23('0x4')==_0x5bbc3b||_0x4e23('0x16')==_0x5bbc3b)){const _0x228fc9=_0x5a3c29[_0x4e23('0x59')](_0x5a8580);if(_0x56a3f9[_0x4e23('0x9')]){const _0x1463b4=_0x228fc9[_0x4e23('0x21')]()[_0x4e23('0x5d')]();if(_0x2c16a8[_0x4e23('0x3e')](_0x1463b4))continue;_0x5a3c29['discardSuggestion'](_0x228fc9),_0x1dbf01=!0x0;}}if(_0x4e23('0x76')==_0x1a4847&&_0x4e23('0xc')==_0x5bbc3b&&!_0x56a3f9[_0x4e23('0x9')]){const _0x14cf78=_0x5a3c29[_0x4e23('0x59')](_0x5a8580);_0x14cf78[_0x4e23('0x5e')]&&_0x14cf78['next'][_0x4e23('0x4b')]&&(_0x5a3c29[_0x4e23('0x0')](_0x14cf78[_0x4e23('0x5e')]),_0x1dbf01=!0x0);}}}return _0x1dbf01;}),_0x4c1c28[_0x4e23('0x35')]['has'](_0x4e23('0x3c'))&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x1'),(_0x4fdc11,_0x4daeee)=>{const _0x25e4e7=_0x2c16a8[_0x4e23('0x36')](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']);_0x25e4e7[_0x4e23('0xd')](_0x4e23('0x25'))!=_0x4daeee[_0x4e23('0x25')]&&_0x4c1c28['model'][_0x4e23('0x58')](()=>{_0x5a3c29['markBlockFormat'](_0x25e4e7,{'commandName':_0x4e23('0x1'),'commandParams':[_0x4daeee]});});}),_0x4c1c28[_0x4e23('0x35')][_0x4e23('0x2c')]('ImageTextAlternativeEditing')&&_0x5a3c29[_0x4e23('0x44')](_0x4e23('0x63'),(_0x167490,_0x3a95f)=>{const _0x3c8846=_0x2c16a8['getClosestSelectedImageElement'](_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x45')]['selection']);(_0x3c8846[_0x4e23('0x6a')](_0x4e23('0x5c'))?_0x3c8846[_0x4e23('0xd')](_0x4e23('0x5c')):'')!=_0x3a95f[_0x4e23('0x1e')]&&_0x4c1c28[_0x4e23('0x8')][_0x4e23('0x58')](()=>{_0x5a3c29[_0x4e23('0x27')](_0x3c8846,{'commandName':'imageTextAlternative','commandParams':[_0x3a95f]});});}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x26e639=>{if(!!_0x25705f[_0x4e23('0x43')](({type:_0x28b9e5,subType:_0x5769b5})=>_0x26e639[_0x4e23('0x2a')]==_0x28b9e5&&_0x26e639[_0x4e23('0x4a')]==_0x5769b5))return _0x26e639[_0x4e23('0x34')]?{}:void 0x0;}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x58be00=>{if(_0x4e23('0x76')==_0x58be00[_0x4e23('0x2a')]||_0x4e23('0x2f')==_0x58be00[_0x4e23('0x2a')]){const _0x1465d2=_0x58be00[_0x4e23('0x5d')]();if(_0x1465d2&&_0x1465d2['is'](_0x4e23('0x55'),_0x4e23('0x66')))return{'type':'insertion'==_0x58be00['type']?_0x4e23('0x3f'):'removeObject','element':_0x1465d2,'quantity':0x1};}}),_0x5a3c29[_0x4e23('0x48')][_0x4e23('0x3')](_0x113771=>_0x4e23('0x23')==_0x113771['type']&&_0x4e23('0x5f')==_0x113771[_0x4e23('0x4a')]?{'type':_0x4e23('0x6c'),'content':_0x4e23('0x65')}:_0x4e23('0x23')==_0x113771['type']&&_0x4e23('0x17')==_0x113771['subType']?{'type':_0x4e23('0x6c'),'content':_0x4e23('0x29')}:void 0x0),_0x5a3c29['_descriptionFactory'][_0x4e23('0x3')](_0x3a5132=>{const {data:_0x7ce7e3}=_0x3a5132;if(_0x7ce7e3){if(_0x4e23('0x72')==_0x7ce7e3[_0x4e23('0x2d')]){const _0x56451d=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x1c')];return _0x26a100(_0x4e23('0x51')===_0x56451d?_0xa770f6(_0x4c636f,'FORMAT_SIDE_IMAGE'):_0x4f69da[_0x56451d]||_0x56451d);}if(_0x4e23('0x63')==_0x7ce7e3[_0x4e23('0x2d')]){const _0x5d3680=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x1e')];return _0x5d3680?{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,_0x4e23('0x2e'),'\x22'+_0x5d3680+'\x22')}:{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x7ce7e3[_0x4e23('0x2d')]){const _0x63b9cc=_0x7ce7e3[_0x4e23('0x10')][0x0][_0x4e23('0x25')];return _0x63b9cc?{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,_0x4e23('0x11'),_0x63b9cc)}:{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Reset\x20image\x20width*')};}}function _0x26a100(_0x47f390){return{'type':_0x4e23('0x6c'),'content':_0xa770f6(_0x4c636f,'*Format:*\x20%0',_0x47f390)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a4f=['getSuggestions','accept','editor','model','formatBlock','_suggestionFactory','Users','commandName','handleSuggestionDescription','getSuggestionCallback','change','TrackChangesEditing','registerCustomCallback','locale','source','document','plugins','getAttribute','get','src','replaceImageSource','selection','getSelectedElement','discard','markBlockFormat','handleReplaceImageCommand','_descriptionFactory','*Format:*\x20replace\x20image\x20URL','data'];(function(_0x2ab717,_0x3a4f9d){const _0x29383a=function(_0x1e42a2){while(--_0x1e42a2){_0x2ab717['push'](_0x2ab717['shift']());}};_0x29383a(++_0x3a4f9d);}(_0x3a4f,0x117));const _0x2938=function(_0x2ab717,_0x3a4f9d){_0x2ab717=_0x2ab717-0x0;let _0x29383a=_0x3a4f[_0x2ab717];return _0x29383a;};import{Plugin as _0x2e7593}from'ckeditor5/src/core';import{getTranslation as _0x3d64e3}from'../utils/common-translations';export default class Y extends _0x2e7593{['afterInit'](){if(!this[_0x2938('0xd')]['plugins']['has']('ImageEditing'))return;const _0x1a9e0e=this['editor']['plugins']['get'](_0x2938('0x16'));_0x1a9e0e['enableCommand']('replaceImageSource',(_0x58df7a,_0x597f7e)=>this['handleReplaceImageCommand'](_0x58df7a,_0x597f7e)),_0x1a9e0e['_suggestionFactory'][_0x2938('0x17')](_0x2938('0xf'),'replaceImageSource','accept',_0x1a9e0e[_0x2938('0x10')][_0x2938('0x14')](_0x2938('0xf'),null,_0x2938('0x5'))),_0x1a9e0e[_0x2938('0x10')]['registerCustomCallback'](_0x2938('0xf'),'replaceImageSource',_0x2938('0x5'),_0x1a9e0e[_0x2938('0x10')][_0x2938('0x14')](_0x2938('0xf'),null,_0x2938('0xc'))),_0x1a9e0e[_0x2938('0x8')]['registerDescriptionCallback'](_0x17ea3b=>this['handleSuggestionDescription'](_0x17ea3b));}[_0x2938('0x7')](_0x130720,_0x49f440){const _0x1400f9=this[_0x2938('0xd')][_0x2938('0x1b')][_0x2938('0x0')]('TrackChangesEditing'),_0x33ef69=this[_0x2938('0xd')][_0x2938('0xe')][_0x2938('0x1a')][_0x2938('0x3')][_0x2938('0x4')]();this[_0x2938('0xd')][_0x2938('0xe')][_0x2938('0x15')](()=>{let _0x48cdc1=_0x33ef69[_0x2938('0x1c')](_0x2938('0x1'));const _0x219623=this['editor'][_0x2938('0x1b')][_0x2938('0x0')](_0x2938('0x11'))['me'];for(const _0x12038c of _0x1400f9[_0x2938('0xb')]({'skipNotAttached':!0x0})){const _0x274684=_0x12038c['getContainedElement']();if(_0x2938('0x2')===_0x12038c['subType']&&_0x274684===_0x33ef69){_0x12038c['author']!==_0x219623&&_0x12038c[_0x2938('0x5')](),_0x48cdc1=_0x12038c[_0x2938('0xa')]['commandParams'][0x0][_0x2938('0x19')];break;}}_0x130720(_0x49f440),_0x1400f9[_0x2938('0x6')](_0x33ef69,{'commandName':_0x2938('0x2'),'commandParams':[{'source':_0x48cdc1}]},[],'replaceImageSource');});}[_0x2938('0x13')](_0x2b296e){const {data:_0x304b47}=_0x2b296e;if(_0x304b47&&'replaceImageSource'===_0x304b47[_0x2938('0x12')]){const _0x3568bc=_0x2938('0x9');return{'type':'format','content':_0x3d64e3(this[_0x2938('0xd')][_0x2938('0x18')],_0x3568bc)};}}}
23
+ const _0x4dbd=['commandName','discard','commandParams','TrackChangesEditing','Users','locale','handleSuggestionDescription','format','getSuggestionCallback','replaceImageSource','getSelectedElement','_suggestionFactory','formatBlock','markBlockFormat','selection','subType','plugins','editor','handleReplaceImageCommand','enableCommand','afterInit','data','registerCustomCallback','author','has','_descriptionFactory','model','getAttribute','ImageEditing','accept','get','change'];(function(_0x51b813,_0x4dbda7){const _0xdf30b=function(_0xc51374){while(--_0xc51374){_0x51b813['push'](_0x51b813['shift']());}};_0xdf30b(++_0x4dbda7);}(_0x4dbd,0x79));const _0xdf30=function(_0x51b813,_0x4dbda7){_0x51b813=_0x51b813-0x0;let _0xdf30b=_0x4dbd[_0x51b813];return _0xdf30b;};import{Plugin as _0x2265c6}from'ckeditor5/src/core';import{getTranslation as _0x198d82}from'../utils/common-translations';export default class Y extends _0x2265c6{[_0xdf30('0x1b')](){if(!this['editor']['plugins'][_0xdf30('0x1f')](_0xdf30('0x3')))return;const _0x13d8e5=this[_0xdf30('0x18')][_0xdf30('0x17')][_0xdf30('0x5')]('TrackChangesEditing');_0x13d8e5[_0xdf30('0x1a')](_0xdf30('0x10'),(_0x5c6df3,_0x316eb7)=>this['handleReplaceImageCommand'](_0x5c6df3,_0x316eb7)),_0x13d8e5[_0xdf30('0x12')][_0xdf30('0x1d')](_0xdf30('0x13'),_0xdf30('0x10'),_0xdf30('0x4'),_0x13d8e5[_0xdf30('0x12')][_0xdf30('0xf')](_0xdf30('0x13'),null,_0xdf30('0x8'))),_0x13d8e5['_suggestionFactory'][_0xdf30('0x1d')](_0xdf30('0x13'),_0xdf30('0x10'),'discard',_0x13d8e5[_0xdf30('0x12')][_0xdf30('0xf')](_0xdf30('0x13'),null,_0xdf30('0x4'))),_0x13d8e5[_0xdf30('0x0')]['registerDescriptionCallback'](_0x281e38=>this[_0xdf30('0xd')](_0x281e38));}[_0xdf30('0x19')](_0x5bbf06,_0x3ab31f){const _0x29f770=this['editor'][_0xdf30('0x17')][_0xdf30('0x5')](_0xdf30('0xa')),_0x48ff20=this[_0xdf30('0x18')][_0xdf30('0x1')]['document'][_0xdf30('0x15')][_0xdf30('0x11')]();this[_0xdf30('0x18')]['model'][_0xdf30('0x6')](()=>{let _0xbf0ffd=_0x48ff20[_0xdf30('0x2')]('src');const _0x474839=this[_0xdf30('0x18')][_0xdf30('0x17')]['get'](_0xdf30('0xb'))['me'];for(const _0x301b10 of _0x29f770['getSuggestions']({'skipNotAttached':!0x0})){const _0x30d59d=_0x301b10['getContainedElement']();if(_0xdf30('0x10')===_0x301b10[_0xdf30('0x16')]&&_0x30d59d===_0x48ff20){_0x301b10[_0xdf30('0x1e')]!==_0x474839&&_0x301b10['discard'](),_0xbf0ffd=_0x301b10[_0xdf30('0x1c')][_0xdf30('0x9')][0x0]['source'];break;}}_0x5bbf06(_0x3ab31f),_0x29f770[_0xdf30('0x14')](_0x48ff20,{'commandName':_0xdf30('0x10'),'commandParams':[{'source':_0xbf0ffd}]},[],_0xdf30('0x10'));});}[_0xdf30('0xd')](_0x58c8dc){const {data:_0x2e2480}=_0x58c8dc;if(_0x2e2480&&'replaceImageSource'===_0x2e2480[_0xdf30('0x7')]){const _0x5d5a21='*Format:*\x20replace\x20image\x20URL';return{'type':_0xdf30('0xe'),'content':_0x198d82(this[_0xdf30('0x18')][_0xdf30('0xc')],_0x5d5a21)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x347d=['commands','_setSuggestionData','editor','execute','enableCommand','track_changes','high','_trackChangesExecuted','collaboration_features','dataInsert','_handleImportedData','afterInit','TrackChangesEditing','bind','get','_trackChangesValueDuringImport','trackChanges','plugins','importWord'];(function(_0x1e3e4a,_0x347d8a){const _0x2bbd90=function(_0x400905){while(--_0x400905){_0x1e3e4a['push'](_0x1e3e4a['shift']());}};_0x2bbd90(++_0x347d8a);}(_0x347d,0xe3));const _0x2bbd=function(_0x1e3e4a,_0x347d8a){_0x1e3e4a=_0x1e3e4a-0x0;let _0x2bbd90=_0x347d[_0x1e3e4a];return _0x2bbd90;};import{Plugin as _0x3ff35b}from'ckeditor5/src/core';export default class Z extends _0x3ff35b{constructor(_0x965c55){super(_0x965c55),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x2bbd('0xc')](){const _0x3aa7a6=this[_0x2bbd('0x3')],_0x61ce03=_0x3aa7a6['commands'][_0x2bbd('0xf')]('importWord'),_0x597ff1=_0x3aa7a6[_0x2bbd('0x1')][_0x2bbd('0xf')](_0x2bbd('0x11'));_0x61ce03&&(_0x61ce03['on']('execute',(_0x1144e1,[,_0x55e920])=>{this[_0x2bbd('0x10')]=_0x597ff1['value'],_0x55e920[_0x2bbd('0x9')][_0x2bbd('0x6')]=!this[_0x2bbd('0x10')];},{'priority':_0x2bbd('0x7')}),this['listenTo'](_0x61ce03,_0x2bbd('0xa'),this[_0x2bbd('0xb')][_0x2bbd('0xe')](this)),this['listenTo'](_0x61ce03,'dataInsert',()=>{this[_0x2bbd('0x8')]&&(_0x597ff1[_0x2bbd('0x4')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x3aa7a6[_0x2bbd('0x12')]['get'](_0x2bbd('0xd'))[_0x2bbd('0x5')](_0x2bbd('0x0')));}[_0x2bbd('0xb')](_0x36bc83,_0x2b79ed){const {suggestions:_0xf593e0}=_0x2b79ed,_0x4b39a5=this[_0x2bbd('0x3')][_0x2bbd('0x1')][_0x2bbd('0xf')](_0x2bbd('0x11')),_0x27be03=_0x4b39a5['value'];this[_0x2bbd('0x10')]!==_0x27be03&&(_0x4b39a5['execute'](),this['_trackChangesExecuted']=!0x0),_0xf593e0&&_0xf593e0['forEach'](({id:_0x3a89f5,type:_0x1c6d98,author:_0x3641c3,created_at:_0x3530e9})=>{const _0x4ce3df={'id':_0x3a89f5,'type':_0x1c6d98,'authorId':this[_0x2bbd('0x3')][_0x2bbd('0x12')][_0x2bbd('0xf')]('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x3641c3,'createdAt':_0x3530e9?new Date(_0x3530e9):new Date(),'source':_0x2bbd('0x0')}}};this['editor']['plugins'][_0x2bbd('0xf')]('TrackChangesEditing')[_0x2bbd('0x2')](_0x4ce3df);});}}
23
+ const _0x46c5=['lowest','editor','commands','forEach','importWord','_trackChangesExecuted','listenTo','execute','_trackChangesValueDuringImport','TrackChangesEditing','collaboration_features','track_changes','bind','_handleImportedData','_setSuggestionData','value','trackChanges','high','enableCommand','Users','dataInsert','get','plugins'];(function(_0x11f07f,_0x46c5d9){const _0x5c5888=function(_0x252cd3){while(--_0x252cd3){_0x11f07f['push'](_0x11f07f['shift']());}};_0x5c5888(++_0x46c5d9);}(_0x46c5,0xaf));const _0x5c58=function(_0x11f07f,_0x46c5d9){_0x11f07f=_0x11f07f-0x0;let _0x5c5888=_0x46c5[_0x11f07f];return _0x5c5888;};import{Plugin as _0xf8e95b}from'ckeditor5/src/core';export default class Z extends _0xf8e95b{constructor(_0x3b1cd8){super(_0x3b1cd8),this['_trackChangesValueDuringImport']=!0x1,this[_0x5c58('0xe')]=!0x1;}['afterInit'](){const _0x368a37=this['editor'],_0x509956=_0x368a37['commands'][_0x5c58('0x7')]('importWord'),_0x4a3853=_0x368a37['commands']['get']('trackChanges');_0x509956&&(_0x509956['on'](_0x5c58('0x10'),(_0x1ea8df,[,_0x4e11c4])=>{this['_trackChangesValueDuringImport']=_0x4a3853[_0x5c58('0x1')],_0x4e11c4[_0x5c58('0x13')][_0x5c58('0x14')]=!this[_0x5c58('0x11')];},{'priority':_0x5c58('0x3')}),this['listenTo'](_0x509956,_0x5c58('0x6'),this[_0x5c58('0x16')][_0x5c58('0x15')](this)),this[_0x5c58('0xf')](_0x509956,'dataInsert',()=>{this[_0x5c58('0xe')]&&(_0x4a3853[_0x5c58('0x10')](),this[_0x5c58('0xe')]=!0x1);},{'priority':_0x5c58('0x9')}),_0x368a37[_0x5c58('0x8')]['get'](_0x5c58('0x12'))[_0x5c58('0x4')](_0x5c58('0xd')));}['_handleImportedData'](_0x5d7f0d,_0x164620){const {suggestions:_0x2fda4d}=_0x164620,_0x3b23ab=this[_0x5c58('0xa')][_0x5c58('0xb')]['get'](_0x5c58('0x2')),_0x50ba10=_0x3b23ab[_0x5c58('0x1')];this['_trackChangesValueDuringImport']!==_0x50ba10&&(_0x3b23ab[_0x5c58('0x10')](),this['_trackChangesExecuted']=!0x0),_0x2fda4d&&_0x2fda4d[_0x5c58('0xc')](({id:_0x438596,type:_0x52633e,author:_0x266051,created_at:_0x1d1fee})=>{const _0x5ca039={'id':_0x438596,'type':_0x52633e,'authorId':this[_0x5c58('0xa')][_0x5c58('0x8')]['get'](_0x5c58('0x5'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x266051,'createdAt':_0x1d1fee?new Date(_0x1d1fee):new Date(),'source':_0x5c58('0xd')}}};this[_0x5c58('0xa')][_0x5c58('0x8')][_0x5c58('0x7')](_0x5c58('0x12'))[_0x5c58('0x0')](_0x5ca039);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33b5=['has','checkAttribute','filter','blockIndent','outdentBlock','get','format','getItemLabel','selection','TrackChangesEditing','indentBlock','enableCommand','_descriptionFactory','editor','commandName','*Indent:*\x20%0','locale','schema','afterInit','change','registerDescriptionCallback','plugins','IndentEditing','IndentBlock','indent','model','getItems','getSelectedBlocks'];(function(_0x1fe9e8,_0x33b560){const _0x16b188=function(_0x1cb463){while(--_0x1cb463){_0x1fe9e8['push'](_0x1fe9e8['shift']());}};_0x16b188(++_0x33b560);}(_0x33b5,0xea));const _0x16b1=function(_0x1fe9e8,_0x33b560){_0x1fe9e8=_0x1fe9e8-0x0;let _0x16b188=_0x33b5[_0x1fe9e8];return _0x16b188;};import{Plugin as _0x2734fe}from'ckeditor5/src/core';import{getTranslation as _0xd893ad}from'../utils/common-translations';export default class tt extends _0x2734fe{[_0x16b1('0x8')](){const _0xd23e7b=this[_0x16b1('0x3')],_0x408d68=_0xd23e7b[_0x16b1('0xb')][_0x16b1('0x17')](_0x16b1('0x1b'));_0xd23e7b[_0x16b1('0xb')]['has'](_0x16b1('0xc'))&&(_0x408d68[_0x16b1('0x1')](_0x16b1('0xe')),_0x408d68[_0x16b1('0x1')]('outdent'));const _0x3c6b85=_0xd23e7b[_0x16b1('0x6')];if(_0xd23e7b['plugins'][_0x16b1('0x12')](_0x16b1('0xd'))){for(const _0x583a24 of[_0x16b1('0x0'),_0x16b1('0x16')])_0x408d68[_0x16b1('0x1')](_0x583a24,()=>{const _0x12d430=Array['from'](this[_0x16b1('0x3')][_0x16b1('0xf')]['document'][_0x16b1('0x1a')][_0x16b1('0x11')]())[_0x16b1('0x14')](_0x3d611e=>this[_0x16b1('0x3')]['model'][_0x16b1('0x7')][_0x16b1('0x13')](_0x3d611e,_0x16b1('0x15')));_0xd23e7b['model'][_0x16b1('0x9')](()=>{for(const _0x214442 of _0x12d430)_0x408d68['markBlockFormat'](_0x214442,{'commandName':_0x583a24,'commandParams':[{'value':''}],'formatGroupId':_0x16b1('0x0')});});});_0x408d68[_0x16b1('0x2')][_0x16b1('0xa')](_0x2cb4e6=>{const {data:_0x3bfa15}=_0x2cb4e6;if(!_0x3bfa15)return;if('indentBlock'!=_0x3bfa15[_0x16b1('0x4')]&&_0x16b1('0x16')!=_0x3bfa15[_0x16b1('0x4')])return;const _0x73a005=_0x2cb4e6[_0x16b1('0x10')]()[0x0],_0x245ff9=_0x408d68[_0x16b1('0x2')][_0x16b1('0x19')](_0x73a005);return'indentBlock'==_0x3bfa15[_0x16b1('0x4')]?{'type':_0x16b1('0x18'),'content':_0xd893ad(_0x3c6b85,_0x16b1('0x5'),_0x245ff9)}:'outdentBlock'==_0x3bfa15[_0x16b1('0x4')]?{'type':_0x16b1('0x18'),'content':_0xd893ad(_0x3c6b85,'*Outdent:*\x20%0',_0x245ff9)}:void 0x0;});}}}
23
+ const _0x1cfd=['indentBlock','*Indent:*\x20%0','locale','filter','document','has','afterInit','model','commandName','_descriptionFactory','*Outdent:*\x20%0','outdentBlock','getItemLabel','editor','indent','IndentEditing','change','outdent','registerDescriptionCallback','getSelectedBlocks','format','enableCommand','plugins'];(function(_0x4ff287,_0x1cfd1){const _0x2bff1e=function(_0xe3352a){while(--_0xe3352a){_0x4ff287['push'](_0x4ff287['shift']());}};_0x2bff1e(++_0x1cfd1);}(_0x1cfd,0x1b4));const _0x2bff=function(_0x4ff287,_0x1cfd1){_0x4ff287=_0x4ff287-0x0;let _0x2bff1e=_0x1cfd[_0x4ff287];return _0x2bff1e;};import{Plugin as _0x9c3df1}from'ckeditor5/src/core';import{getTranslation as _0x4c3707}from'../utils/common-translations';export default class tt extends _0x9c3df1{[_0x2bff('0x7')](){const _0x4172b3=this[_0x2bff('0xe')],_0x439d85=_0x4172b3[_0x2bff('0x0')]['get']('TrackChangesEditing');_0x4172b3[_0x2bff('0x0')][_0x2bff('0x6')](_0x2bff('0x10'))&&(_0x439d85[_0x2bff('0x16')](_0x2bff('0xf')),_0x439d85[_0x2bff('0x16')](_0x2bff('0x12')));const _0x66ff37=_0x4172b3[_0x2bff('0x3')];if(_0x4172b3['plugins'][_0x2bff('0x6')]('IndentBlock')){for(const _0x5e04c4 of[_0x2bff('0x1'),'outdentBlock'])_0x439d85[_0x2bff('0x16')](_0x5e04c4,()=>{const _0x3b601e=Array['from'](this['editor'][_0x2bff('0x8')][_0x2bff('0x5')]['selection'][_0x2bff('0x14')]())[_0x2bff('0x4')](_0x451768=>this[_0x2bff('0xe')][_0x2bff('0x8')]['schema']['checkAttribute'](_0x451768,'blockIndent'));_0x4172b3[_0x2bff('0x8')][_0x2bff('0x11')](()=>{for(const _0x1e9b6c of _0x3b601e)_0x439d85['markBlockFormat'](_0x1e9b6c,{'commandName':_0x5e04c4,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x439d85[_0x2bff('0xa')][_0x2bff('0x13')](_0x490238=>{const {data:_0x33d8c4}=_0x490238;if(!_0x33d8c4)return;if(_0x2bff('0x1')!=_0x33d8c4[_0x2bff('0x9')]&&'outdentBlock'!=_0x33d8c4[_0x2bff('0x9')])return;const _0x30765a=_0x490238['getItems']()[0x0],_0x3788c1=_0x439d85['_descriptionFactory'][_0x2bff('0xd')](_0x30765a);return _0x2bff('0x1')==_0x33d8c4[_0x2bff('0x9')]?{'type':_0x2bff('0x15'),'content':_0x4c3707(_0x66ff37,_0x2bff('0x2'),_0x3788c1)}:_0x2bff('0xc')==_0x33d8c4['commandName']?{'type':_0x2bff('0x15'),'content':_0x4c3707(_0x66ff37,_0x2bff('0xb'),_0x3788c1)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5a81=['editor','init','TrackChangesEditing'];(function(_0x4fc7da,_0x5a81a0){var _0x256597=function(_0x3704c8){while(--_0x3704c8){_0x4fc7da['push'](_0x4fc7da['shift']());}};_0x256597(++_0x5a81a0);}(_0x5a81,0x1b3));var _0x2565=function(_0x4fc7da,_0x5a81a0){_0x4fc7da=_0x4fc7da-0x0;var _0x256597=_0x5a81[_0x4fc7da];return _0x256597;};import{Plugin as _0xa60fbe}from'ckeditor5/src/core';import{Input as _0x2aab3e}from'ckeditor5/src/typing';export default class it extends _0xa60fbe{static get['requires'](){return[_0x2aab3e];}[_0x2565('0x1')](){this[_0x2565('0x0')]['plugins']['get'](_0x2565('0x2'))['enableCommand']('input');}}
23
+ var _0x18a7=['input','TrackChangesEditing','requires','get','editor','enableCommand','plugins'];(function(_0x33fa0c,_0x18a71d){var _0x305dbe=function(_0x53f5ef){while(--_0x53f5ef){_0x33fa0c['push'](_0x33fa0c['shift']());}};_0x305dbe(++_0x18a71d);}(_0x18a7,0x13e));var _0x305d=function(_0x33fa0c,_0x18a71d){_0x33fa0c=_0x33fa0c-0x0;var _0x305dbe=_0x18a7[_0x33fa0c];return _0x305dbe;};import{Plugin as _0x2b4707}from'ckeditor5/src/core';import{Input as _0x1f4a59}from'ckeditor5/src/typing';export default class it extends _0x2b4707{static get[_0x305d('0x6')](){return[_0x1f4a59];}['init'](){this[_0x305d('0x1')][_0x305d('0x3')][_0x305d('0x0')](_0x305d('0x5'))[_0x305d('0x2')](_0x305d('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3841=['_descriptionFactory','format','has','enableCommand','TrackChangesEditing','linkHref','registerDescriptionCallback','isCollapsed','getRanges','markInlineFormat','model','get','hasAttribute','locale','editor','afterInit','*Set\x20link:*\x20%0','getAttribute','getFirstPosition','getFirstRange','plugins','unlink','commandName','link','change','from'];(function(_0x1c7cb,_0x38414d){const _0x56c094=function(_0x37216c){while(--_0x37216c){_0x1c7cb['push'](_0x1c7cb['shift']());}};_0x56c094(++_0x38414d);}(_0x3841,0x64));const _0x56c0=function(_0x1c7cb,_0x38414d){_0x1c7cb=_0x1c7cb-0x0;let _0x56c094=_0x3841[_0x1c7cb];return _0x56c094;};import{Plugin as _0x4216fe}from'ckeditor5/src/core';import{findAttributeRange as _0x2f0e3f}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2a4880}from'./utils';import{getTranslation as _0x69e3f0}from'../utils/common-translations';export default class et extends _0x4216fe{[_0x56c0('0x13')](){const _0x3009d6=this[_0x56c0('0x12')];if(!_0x3009d6[_0x56c0('0x18')][_0x56c0('0x6')]('LinkEditing'))return;const _0x2c9d76=_0x3009d6[_0x56c0('0x18')][_0x56c0('0xf')](_0x56c0('0x8'));_0x2c9d76[_0x56c0('0x7')](_0x56c0('0x1'),(_0x1979d3,_0x4bca83)=>{const _0x4448ff=_0x3009d6[_0x56c0('0xe')]['document']['selection'];let _0x20dba0=[];if(_0x4448ff['isCollapsed']){if(!_0x4448ff[_0x56c0('0x10')](_0x56c0('0x9')))return void _0x1979d3(_0x4bca83);{const _0x2e38fc=_0x2f0e3f(_0x4448ff[_0x56c0('0x16')](),_0x56c0('0x9'),_0x4448ff[_0x56c0('0x15')](_0x56c0('0x9')),_0x3009d6['model']);_0x20dba0=[_0x2e38fc];}}else _0x20dba0=Array[_0x56c0('0x3')](_0x4448ff[_0x56c0('0xc')]());_0x3009d6[_0x56c0('0xe')][_0x56c0('0x2')](()=>{for(const _0x4c1bdf of _0x20dba0)_0x2c9d76['markInlineFormat'](_0x4c1bdf,{'commandName':_0x56c0('0x1'),'commandParams':[_0x4bca83]});});}),_0x2c9d76[_0x56c0('0x7')](_0x56c0('0x19'),()=>{const _0x3520c6=this[_0x56c0('0x12')][_0x56c0('0xe')],_0x5524c7=_0x3520c6['document']['selection'];_0x3520c6[_0x56c0('0x2')](()=>{let _0x51006f=[];if(_0x5524c7[_0x56c0('0xb')])_0x51006f=[_0x2f0e3f(_0x5524c7[_0x56c0('0x16')](),_0x56c0('0x9'),_0x5524c7[_0x56c0('0x15')](_0x56c0('0x9')),_0x3009d6[_0x56c0('0xe')])];else _0x51006f=_0x2a4880(_0x56c0('0x9'),_0x5524c7[_0x56c0('0x17')](),_0x3009d6[_0x56c0('0xe')]);for(const _0x4efca5 of _0x51006f)_0x2c9d76[_0x56c0('0xd')](_0x4efca5,{'commandName':'unlink','commandParams':[]});});}),_0x2c9d76[_0x56c0('0x4')][_0x56c0('0xa')](_0x1910e1=>{const {data:_0x412e0f}=_0x1910e1,_0x2ecde9=_0x3009d6[_0x56c0('0x11')];if(_0x412e0f){if('link'==_0x412e0f[_0x56c0('0x0')]){const _0x1e753e=_0x412e0f['commandParams'][0x0];return{'type':_0x56c0('0x5'),'content':_0x69e3f0(_0x2ecde9,_0x56c0('0x14'),'\x22'+_0x1e753e+'\x22')};}return _0x56c0('0x19')==_0x412e0f[_0x56c0('0x0')]?{'type':_0x56c0('0x5'),'content':_0x69e3f0(_0x2ecde9,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x11c5=['hasAttribute','enableCommand','change','linkHref','getAttribute','isCollapsed','has','getRanges','LinkEditing','model','registerDescriptionCallback','markInlineFormat','link','plugins','*Set\x20link:*\x20%0','getFirstPosition','commandName','document','format','selection','afterInit','unlink','editor','TrackChangesEditing'];(function(_0x4128a3,_0x11c566){const _0xf0eedc=function(_0x249b14){while(--_0x249b14){_0x4128a3['push'](_0x4128a3['shift']());}};_0xf0eedc(++_0x11c566);}(_0x11c5,0x175));const _0xf0ee=function(_0x4128a3,_0x11c566){_0x4128a3=_0x4128a3-0x0;let _0xf0eedc=_0x11c5[_0x4128a3];return _0xf0eedc;};import{Plugin as _0x310a38}from'ckeditor5/src/core';import{findAttributeRange as _0x4b63d6}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2e5fd5}from'./utils';import{getTranslation as _0x50e6fd}from'../utils/common-translations';export default class et extends _0x310a38{[_0xf0ee('0x7')](){const _0x3cb3c6=this[_0xf0ee('0x9')];if(!_0x3cb3c6[_0xf0ee('0x0')][_0xf0ee('0x11')](_0xf0ee('0x13')))return;const _0x293c6d=_0x3cb3c6[_0xf0ee('0x0')]['get'](_0xf0ee('0xa'));_0x293c6d[_0xf0ee('0xc')](_0xf0ee('0x17'),(_0x9319cd,_0x2d62d7)=>{const _0x8bfa2d=_0x3cb3c6['model'][_0xf0ee('0x4')]['selection'];let _0x2aea1f=[];if(_0x8bfa2d[_0xf0ee('0x10')]){if(!_0x8bfa2d[_0xf0ee('0xb')]('linkHref'))return void _0x9319cd(_0x2d62d7);{const _0xf3911d=_0x4b63d6(_0x8bfa2d[_0xf0ee('0x2')](),_0xf0ee('0xe'),_0x8bfa2d['getAttribute'](_0xf0ee('0xe')),_0x3cb3c6[_0xf0ee('0x14')]);_0x2aea1f=[_0xf3911d];}}else _0x2aea1f=Array['from'](_0x8bfa2d[_0xf0ee('0x12')]());_0x3cb3c6[_0xf0ee('0x14')][_0xf0ee('0xd')](()=>{for(const _0x1b7b3e of _0x2aea1f)_0x293c6d['markInlineFormat'](_0x1b7b3e,{'commandName':_0xf0ee('0x17'),'commandParams':[_0x2d62d7]});});}),_0x293c6d['enableCommand']('unlink',()=>{const _0x4b831a=this[_0xf0ee('0x9')][_0xf0ee('0x14')],_0x53c398=_0x4b831a[_0xf0ee('0x4')][_0xf0ee('0x6')];_0x4b831a[_0xf0ee('0xd')](()=>{let _0x5608d2=[];if(_0x53c398[_0xf0ee('0x10')])_0x5608d2=[_0x4b63d6(_0x53c398['getFirstPosition'](),_0xf0ee('0xe'),_0x53c398[_0xf0ee('0xf')](_0xf0ee('0xe')),_0x3cb3c6[_0xf0ee('0x14')])];else _0x5608d2=_0x2e5fd5(_0xf0ee('0xe'),_0x53c398['getFirstRange'](),_0x3cb3c6[_0xf0ee('0x14')]);for(const _0xc02fb2 of _0x5608d2)_0x293c6d[_0xf0ee('0x16')](_0xc02fb2,{'commandName':_0xf0ee('0x8'),'commandParams':[]});});}),_0x293c6d['_descriptionFactory'][_0xf0ee('0x15')](_0x3ae4b3=>{const {data:_0xa588bd}=_0x3ae4b3,_0x5b4f3c=_0x3cb3c6['locale'];if(_0xa588bd){if(_0xf0ee('0x17')==_0xa588bd[_0xf0ee('0x3')]){const _0x576749=_0xa588bd['commandParams'][0x0];return{'type':_0xf0ee('0x5'),'content':_0x50e6fd(_0x5b4f3c,_0xf0ee('0x1'),'\x22'+_0x576749+'\x22')};}return _0xf0ee('0x8')==_0xa588bd[_0xf0ee('0x3')]?{'type':_0xf0ee('0x5'),'content':_0x50e6fd(_0x5b4f3c,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x80fd=['previousSibling','markBlockFormat','afterInit','*Indent:*\x20%0','commandName','*Outdent:*\x20%0','push','checkTodoList','registerElementLabel','add','createRange','element','ELEMENT_LIST_ITEM','todoList','forceValue','plugins','_selectedElements','before','length','ListEditing','ELEMENT_NUMBERED_LIST','commandParams','has','TrackChangesEditing','locale','format','TodoListEditing','outdentList','bulletedList','bulleted','ELEMENT_BULLETED_LIST','document','checkChild','change','get','numbered','slice','indentList','end','_descriptionFactory','isObject','schema','model','List','filter','listIndent','name','execute','getAttribute','commands','nextSibling','*Uncheck\x20item*','value','createPositionAt','registerDescriptionCallback','findIndex','parent','getSelectedBlocks','ELEMENT_TODO_LIST','from','listItem','todoListChecked','*Change\x20to:*\x20%0','enableCommand','listType','numberedList'];(function(_0x1543e3,_0x80fdef){const _0x293d6c=function(_0xad312d){while(--_0xad312d){_0x1543e3['push'](_0x1543e3['shift']());}};_0x293d6c(++_0x80fdef);}(_0x80fd,0xbd));const _0x293d=function(_0x1543e3,_0x80fdef){_0x1543e3=_0x1543e3-0x0;let _0x293d6c=_0x80fd[_0x1543e3];return _0x293d6c;};import{Plugin as _0x4ac441}from'ckeditor5/src/core';import{getTranslation as _0x246856}from'../utils/common-translations';export default class nt extends _0x4ac441{[_0x293d('0xb')](){const _0x5bff4f=this['editor'],_0x21948a=_0x5bff4f[_0x293d('0x21')];if(!_0x5bff4f[_0x293d('0x18')]['has'](_0x293d('0x1c')))return;const _0x20c3d1=_0x5bff4f[_0x293d('0x18')][_0x293d('0x2b')](_0x293d('0x20')),_0x56c3ab=_0x5bff4f['plugins'][_0x293d('0x1f')](_0x293d('0x23'));function _0x56fceb(_0x1b7ac3){return()=>{const _0x196b9f=_0x5bff4f[_0x293d('0x33')]['document']['selection'],_0x283472=_0x5bff4f[_0x293d('0x3a')][_0x293d('0x2b')](_0x1b7ac3);if(_0x283472['value'])return void _0x5bff4f[_0x293d('0x38')]('paragraph',{});const _0x21d308=_0x1b7ac3['slice'](0x0,-0x4),_0x18f37c=function(_0xc23c,_0x192576,_0x2907be){let _0x3b3131=Array[_0x293d('0x2')](_0xc23c)[_0x293d('0x35')](_0xefbe0f=>function(_0x456f69,_0x1dd66f){return _0x1dd66f[_0x293d('0x29')](_0x456f69[_0x293d('0x41')],'listItem')&&!_0x1dd66f[_0x293d('0x31')](_0x456f69);}(_0xefbe0f,_0x2907be));_0x3b3131=_0x3b3131['filter'](_0x3f307d=>!_0x3f307d['is'](_0x293d('0x14'),_0x293d('0x3'))||_0x3f307d['getAttribute'](_0x293d('0x7'))!=_0x192576);const _0x48c370=new Set();for(const _0x5ce17e of _0x3b3131)_0x5ce17e['is'](_0x293d('0x14'),_0x293d('0x3'))?_0x48c370[_0x293d('0x12')](ne(_0x5ce17e)):_0x48c370[_0x293d('0x12')](_0x5ce17e);return Array[_0x293d('0x2')](_0x48c370);}(_0x196b9f[_0x293d('0x0')](),_0x21d308,_0x5bff4f[_0x293d('0x33')][_0x293d('0x32')]);_0x5bff4f[_0x293d('0x33')][_0x293d('0x2a')](()=>{for(const _0x5e0edd of _0x18f37c)_0x20c3d1[_0x293d('0xa')](_0x5e0edd,{'commandName':_0x1b7ac3,'commandParams':[{'forceValue':!_0x283472['value']}],'formatGroupId':'blockName'},oe(_0x5e0edd));});};}function _0x32c6c6(_0x385c0c){return()=>{const _0x2664aa=function(_0x2c1c9b){let _0x2bf654=Array['from'](_0x2c1c9b);const _0x2184a3=_0x2bf654[_0x293d('0x40')](_0x5ebb09=>_0x293d('0x3')!=_0x5ebb09[_0x293d('0x37')]);return _0x2184a3>-0x1&&(_0x2bf654=_0x2bf654[_0x293d('0x2d')](0x0,_0x2184a3)),_0x2bf654;}(_0x5bff4f['model'][_0x293d('0x28')]['selection'][_0x293d('0x0')]()),_0x1a03db=_0x5bff4f[_0x293d('0x33')][_0x293d('0x13')](_0x5bff4f[_0x293d('0x33')][_0x293d('0x3e')](_0x2664aa[0x0],_0x293d('0x1a')),_0x5bff4f['model']['createPositionAt'](_0x2664aa[_0x2664aa[_0x293d('0x1b')]-0x1],_0x293d('0x2f')));_0x5bff4f[_0x293d('0x33')][_0x293d('0x2a')](()=>{_0x20c3d1[_0x293d('0xa')](_0x1a03db,{'commandName':_0x385c0c,'commandParams':[],'formatGroupId':_0x293d('0x36')},function(_0x1e212f){const _0x3a4653=new Set();for(const _0x3d9cae of _0x1e212f){let _0x1f6c38=_0x3d9cae[_0x293d('0x3b')];for(;_0x1f6c38&&_0x1f6c38[_0x293d('0x39')]('listIndent')>_0x3d9cae[_0x293d('0x39')](_0x293d('0x36'));)_0x3a4653[_0x293d('0x12')](_0x1f6c38),_0x1f6c38=_0x1f6c38['nextSibling'];}return Array['from'](_0x3a4653);}(_0x2664aa));});};}_0x20c3d1[_0x293d('0x6')](_0x293d('0x8'),_0x56fceb('numberedList')),_0x20c3d1[_0x293d('0x6')]('bulletedList',_0x56fceb(_0x293d('0x25'))),_0x56c3ab&&_0x20c3d1[_0x293d('0x6')](_0x293d('0x16'),_0x56fceb(_0x293d('0x16'))),_0x20c3d1[_0x293d('0x6')](_0x293d('0x2e'),_0x32c6c6(_0x293d('0x2e'))),_0x20c3d1[_0x293d('0x6')](_0x293d('0x24'),_0x32c6c6(_0x293d('0x24'))),_0x56c3ab&&_0x20c3d1['enableCommand'](_0x293d('0x10'),()=>{const _0x266a15=_0x5bff4f[_0x293d('0x3a')][_0x293d('0x2b')](_0x293d('0x10')),_0x5340d5=Array[_0x293d('0x2')](_0x266a15[_0x293d('0x19')]);_0x5340d5[_0x293d('0x35')](_0x2a5ae3=>_0x2a5ae3['getAttribute'](_0x293d('0x4'))!=_0x266a15[_0x293d('0x3d')]),_0x5bff4f[_0x293d('0x33')][_0x293d('0x2a')](()=>{for(const _0x5ab336 of _0x5340d5)_0x20c3d1[_0x293d('0xa')](_0x5ab336,{'commandName':_0x293d('0x10'),'commandParams':[{'forceValue':!_0x266a15[_0x293d('0x3d')]}]});});}),_0x20c3d1[_0x293d('0x30')][_0x293d('0x11')](_0x293d('0x3'),_0x1c1f7c=>_0x246856(_0x21948a,_0x293d('0x15'),_0x1c1f7c)),_0x20c3d1[_0x293d('0x30')][_0x293d('0x3f')](_0x79ebf4=>{const {data:_0x490da6}=_0x79ebf4;if(_0x490da6){if(_0x293d('0x8')==_0x490da6[_0x293d('0xd')]||_0x293d('0x25')==_0x490da6[_0x293d('0xd')]||_0x293d('0x16')==_0x490da6['commandName'])switch(_0x490da6[_0x293d('0xd')]['replace'](_0x293d('0x34'),'')){case _0x293d('0x26'):return _0x4ac54f(_0x246856(_0x21948a,_0x293d('0x27')));case _0x293d('0x2c'):return _0x4ac54f(_0x246856(_0x21948a,_0x293d('0x1d')));case'todo':return _0x4ac54f(_0x246856(_0x21948a,_0x293d('0x1')));}if(_0x293d('0x2e')==_0x490da6[_0x293d('0xd')])return{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0xc'),_0x246856(_0x21948a,_0x293d('0x15')))};if('outdentList'==_0x490da6['commandName'])return{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0xe'),_0x246856(_0x21948a,_0x293d('0x15')))};if(_0x293d('0x10')==_0x490da6[_0x293d('0xd')])return _0x490da6[_0x293d('0x1e')][0x0][_0x293d('0x17')]?{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,'*Check\x20item*')}:{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0x3c'))};}function _0x4ac54f(_0x5aa632){return{'type':_0x293d('0x22'),'content':_0x246856(_0x21948a,_0x293d('0x5'),_0x5aa632)};}});}}function ne(_0x21a2b8){const _0x4a6141=_0x21a2b8[_0x293d('0x39')](_0x293d('0x36'));if(0x0==_0x4a6141)return _0x21a2b8;let _0x366d77=_0x21a2b8;for(;_0x21a2b8['previousSibling']&&_0x21a2b8['previousSibling']['is'](_0x293d('0x14'),_0x293d('0x3'));){const _0x58c683=_0x21a2b8[_0x293d('0x9')][_0x293d('0x39')](_0x293d('0x36'));if(_0x58c683==_0x4a6141)_0x366d77=_0x21a2b8['previousSibling'];else{if(_0x58c683<_0x4a6141)break;}_0x21a2b8=_0x21a2b8[_0x293d('0x9')];}return _0x366d77;}function oe(_0x5b9271){const _0x123691=[];if(_0x5b9271['is'](_0x293d('0x14'),_0x293d('0x3'))&&_0x5b9271[_0x293d('0x39')](_0x293d('0x36'))>0x0){let _0x1cb3b5=_0x5b9271[_0x293d('0x3b')];for(;_0x1cb3b5&&'listItem'==_0x1cb3b5['name']&&_0x1cb3b5[_0x293d('0x39')]('listIndent')==_0x5b9271[_0x293d('0x39')](_0x293d('0x36'));)_0x123691[_0x293d('0xf')](_0x1cb3b5),_0x1cb3b5=_0x1cb3b5[_0x293d('0x3b')];}return _0x123691;}
23
+ const _0x1cdf=['from','forceValue','afterInit','checkChild','numberedList','TodoListEditing','commandName','ELEMENT_TODO_LIST','isObject','previousSibling','_descriptionFactory','outdentList','todoList','bulletedList','filter','slice','selection','format','enableCommand','*Check\x20item*','replace','get','change','bulleted','todo','document','value','element','getAttribute','commands','add','model','before','createPositionAt','end','numbered','markBlockFormat','length','listIndent','has','ELEMENT_BULLETED_LIST','listItem','getSelectedBlocks','*Indent:*\x20%0','editor','indentList','checkTodoList','plugins','nextSibling','ELEMENT_LIST_ITEM','todoListChecked','TrackChangesEditing','*Uncheck\x20item*','name'];(function(_0x217049,_0x1cdf67){const _0x207ab8=function(_0x5b5037){while(--_0x5b5037){_0x217049['push'](_0x217049['shift']());}};_0x207ab8(++_0x1cdf67);}(_0x1cdf,0xf0));const _0x207a=function(_0x217049,_0x1cdf67){_0x217049=_0x217049-0x0;let _0x207ab8=_0x1cdf[_0x217049];return _0x207ab8;};import{Plugin as _0x554b2f}from'ckeditor5/src/core';import{getTranslation as _0x165b46}from'../utils/common-translations';export default class nt extends _0x554b2f{[_0x207a('0x20')](){const _0xaf41e=this[_0x207a('0x14')],_0x137760=_0xaf41e['locale'];if(!_0xaf41e[_0x207a('0x17')]['has']('ListEditing'))return;const _0xbbb55d=_0xaf41e[_0x207a('0x17')]['get'](_0x207a('0x1b')),_0x2712f6=_0xaf41e[_0x207a('0x17')][_0x207a('0xf')](_0x207a('0x23'));function _0x300807(_0xeef402){return()=>{const _0x578c50=_0xaf41e['model'][_0x207a('0x1')]['selection'],_0x3f86ee=_0xaf41e[_0x207a('0x5')][_0x207a('0x33')](_0xeef402);if(_0x3f86ee[_0x207a('0x2')])return void _0xaf41e['execute']('paragraph',{});const _0xdd17de=_0xeef402[_0x207a('0x2d')](0x0,-0x4),_0xe1dfd8=function(_0x56ab0c,_0x519d08,_0x4bf867){let _0x280f77=Array[_0x207a('0x1e')](_0x56ab0c)[_0x207a('0x2c')](_0x5d9e61=>function(_0x51ed45,_0x1ef6ef){return _0x1ef6ef[_0x207a('0x21')](_0x51ed45['parent'],'listItem')&&!_0x1ef6ef[_0x207a('0x26')](_0x51ed45);}(_0x5d9e61,_0x4bf867));_0x280f77=_0x280f77[_0x207a('0x2c')](_0x9f6b81=>!_0x9f6b81['is']('element','listItem')||_0x9f6b81[_0x207a('0x4')]('listType')!=_0x519d08);const _0x3a2bdd=new Set();for(const _0x3f90ea of _0x280f77)_0x3f90ea['is'](_0x207a('0x3'),_0x207a('0x11'))?_0x3a2bdd[_0x207a('0x6')](ne(_0x3f90ea)):_0x3a2bdd[_0x207a('0x6')](_0x3f90ea);return Array[_0x207a('0x1e')](_0x3a2bdd);}(_0x578c50[_0x207a('0x12')](),_0xdd17de,_0xaf41e['model']['schema']);_0xaf41e['model'][_0x207a('0x34')](()=>{for(const _0x58302b of _0xe1dfd8)_0xbbb55d[_0x207a('0xc')](_0x58302b,{'commandName':_0xeef402,'commandParams':[{'forceValue':!_0x3f86ee[_0x207a('0x2')]}],'formatGroupId':'blockName'},oe(_0x58302b));});};}function _0x2bc7db(_0x203e1b){return()=>{const _0x5d820f=function(_0x234802){let _0x3562b6=Array[_0x207a('0x1e')](_0x234802);const _0x3af984=_0x3562b6['findIndex'](_0xbfa39d=>'listItem'!=_0xbfa39d[_0x207a('0x1d')]);return _0x3af984>-0x1&&(_0x3562b6=_0x3562b6[_0x207a('0x2d')](0x0,_0x3af984)),_0x3562b6;}(_0xaf41e[_0x207a('0x7')][_0x207a('0x1')][_0x207a('0x2e')][_0x207a('0x12')]()),_0x35e3f2=_0xaf41e[_0x207a('0x7')]['createRange'](_0xaf41e[_0x207a('0x7')]['createPositionAt'](_0x5d820f[0x0],_0x207a('0x8')),_0xaf41e[_0x207a('0x7')][_0x207a('0x9')](_0x5d820f[_0x5d820f[_0x207a('0xd')]-0x1],_0x207a('0xa')));_0xaf41e['model'][_0x207a('0x34')](()=>{_0xbbb55d[_0x207a('0xc')](_0x35e3f2,{'commandName':_0x203e1b,'commandParams':[],'formatGroupId':_0x207a('0xe')},function(_0x2d50f6){const _0x11ce28=new Set();for(const _0x18f873 of _0x2d50f6){let _0xe88c5e=_0x18f873[_0x207a('0x18')];for(;_0xe88c5e&&_0xe88c5e[_0x207a('0x4')](_0x207a('0xe'))>_0x18f873[_0x207a('0x4')](_0x207a('0xe'));)_0x11ce28[_0x207a('0x6')](_0xe88c5e),_0xe88c5e=_0xe88c5e[_0x207a('0x18')];}return Array[_0x207a('0x1e')](_0x11ce28);}(_0x5d820f));});};}_0xbbb55d[_0x207a('0x30')](_0x207a('0x22'),_0x300807(_0x207a('0x22'))),_0xbbb55d[_0x207a('0x30')](_0x207a('0x2b'),_0x300807(_0x207a('0x2b'))),_0x2712f6&&_0xbbb55d[_0x207a('0x30')](_0x207a('0x2a'),_0x300807(_0x207a('0x2a'))),_0xbbb55d[_0x207a('0x30')](_0x207a('0x15'),_0x2bc7db(_0x207a('0x15'))),_0xbbb55d['enableCommand'](_0x207a('0x29'),_0x2bc7db(_0x207a('0x29'))),_0x2712f6&&_0xbbb55d[_0x207a('0x30')](_0x207a('0x16'),()=>{const _0x3341f7=_0xaf41e['commands'][_0x207a('0x33')](_0x207a('0x16')),_0x18f0b7=Array[_0x207a('0x1e')](_0x3341f7['_selectedElements']);_0x18f0b7[_0x207a('0x2c')](_0x1e9f9f=>_0x1e9f9f[_0x207a('0x4')](_0x207a('0x1a'))!=_0x3341f7['value']),_0xaf41e[_0x207a('0x7')][_0x207a('0x34')](()=>{for(const _0x29330e of _0x18f0b7)_0xbbb55d[_0x207a('0xc')](_0x29330e,{'commandName':_0x207a('0x16'),'commandParams':[{'forceValue':!_0x3341f7[_0x207a('0x2')]}]});});}),_0xbbb55d[_0x207a('0x28')]['registerElementLabel'](_0x207a('0x11'),_0x4ef837=>_0x165b46(_0x137760,_0x207a('0x19'),_0x4ef837)),_0xbbb55d[_0x207a('0x28')]['registerDescriptionCallback'](_0x512439=>{const {data:_0x279af6}=_0x512439;if(_0x279af6){if('numberedList'==_0x279af6[_0x207a('0x24')]||_0x207a('0x2b')==_0x279af6['commandName']||_0x207a('0x2a')==_0x279af6['commandName'])switch(_0x279af6['commandName'][_0x207a('0x32')]('List','')){case _0x207a('0x35'):return _0x235443(_0x165b46(_0x137760,_0x207a('0x10')));case _0x207a('0xb'):return _0x235443(_0x165b46(_0x137760,'ELEMENT_NUMBERED_LIST'));case _0x207a('0x0'):return _0x235443(_0x165b46(_0x137760,_0x207a('0x25')));}if(_0x207a('0x15')==_0x279af6[_0x207a('0x24')])return{'type':'format','content':_0x165b46(_0x137760,_0x207a('0x13'),_0x165b46(_0x137760,'ELEMENT_LIST_ITEM'))};if(_0x207a('0x29')==_0x279af6[_0x207a('0x24')])return{'type':'format','content':_0x165b46(_0x137760,'*Outdent:*\x20%0',_0x165b46(_0x137760,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x279af6[_0x207a('0x24')])return _0x279af6['commandParams'][0x0][_0x207a('0x1f')]?{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,_0x207a('0x31'))}:{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,_0x207a('0x1c'))};}function _0x235443(_0x2f8b8e){return{'type':_0x207a('0x2f'),'content':_0x165b46(_0x137760,'*Change\x20to:*\x20%0',_0x2f8b8e)};}});}}function ne(_0x2bd96f){const _0x2a6e8d=_0x2bd96f[_0x207a('0x4')](_0x207a('0xe'));if(0x0==_0x2a6e8d)return _0x2bd96f;let _0x2f8801=_0x2bd96f;for(;_0x2bd96f[_0x207a('0x27')]&&_0x2bd96f[_0x207a('0x27')]['is'](_0x207a('0x3'),_0x207a('0x11'));){const _0x3ee9e9=_0x2bd96f['previousSibling'][_0x207a('0x4')](_0x207a('0xe'));if(_0x3ee9e9==_0x2a6e8d)_0x2f8801=_0x2bd96f[_0x207a('0x27')];else{if(_0x3ee9e9<_0x2a6e8d)break;}_0x2bd96f=_0x2bd96f[_0x207a('0x27')];}return _0x2f8801;}function oe(_0xf14949){const _0x4b5b39=[];if(_0xf14949['is'](_0x207a('0x3'),_0x207a('0x11'))&&_0xf14949[_0x207a('0x4')]('listIndent')>0x0){let _0x53350c=_0xf14949[_0x207a('0x18')];for(;_0x53350c&&_0x207a('0x11')==_0x53350c[_0x207a('0x1d')]&&_0x53350c['getAttribute'](_0x207a('0xe'))==_0xf14949[_0x207a('0x4')]('listIndent');)_0x4b5b39['push'](_0x53350c),_0x53350c=_0x53350c[_0x207a('0x18')];}return _0x4b5b39;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c3b=['_getSuggestionBlocks','from','markMultiRangeBlockFormat','getAttribute','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','forward','filter','config','push','createPositionAt','commandParams','TrackChangesEditing','bind','get','handleListStartCommand','replace','plugins','startIndex','listStyle','afterInit','change','model','before','format','getSelectedBlocks','element','_getTranslationKeyForListStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','document','*Change\x20to:*\x20%0','backward','_descriptionFactory','has','commandName','_LIST_','enableCommand','reversed','getSiblingNodes','getListTypeFromListStyleType','locale','listItem','toUpperCase','handleListReversedCommand','listType','handleListStyleCommand','selection','numbered','ListUtils','editor','handleDescriptions','registerDescriptionCallback','_getSuggestionBlocksForListStyle','createRange','flat','styles','map','listStart','listReversed','type','ListPropertiesEditing','list.properties','ELEMENT_','length'];(function(_0x2ca837,_0x4c3be6){const _0x4efc2d=function(_0x5c00b1){while(--_0x5c00b1){_0x2ca837['push'](_0x2ca837['shift']());}};_0x4efc2d(++_0x4c3be6);}(_0x4c3b,0x11f));const _0x4efc=function(_0x2ca837,_0x4c3be6){_0x2ca837=_0x2ca837-0x0;let _0x4efc2d=_0x4c3b[_0x2ca837];return _0x4efc2d;};import{Plugin as _0x4d2c22}from'ckeditor5/src/core';import{getTranslation as _0x4e06fe}from'../utils/common-translations';export default class st extends _0x4d2c22{[_0x4efc('0x35')](){if(!this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2')](_0x4efc('0x1d')))return;const _0x517989=this[_0x4efc('0x12')][_0x4efc('0x29')][_0x4efc('0x2f')](_0x4efc('0x1e')),_0x5ea283=this['editor'][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x2d'));_0x517989[_0x4efc('0x18')]&&_0x5ea283[_0x4efc('0x5')](_0x4efc('0x34'),this[_0x4efc('0xe')]['bind'](this)),_0x517989[_0x4efc('0x6')]&&_0x5ea283['enableCommand'](_0x4efc('0x1b'),this['handleListReversedCommand'][_0x4efc('0x2e')](this)),_0x517989['startIndex']&&_0x5ea283[_0x4efc('0x5')](_0x4efc('0x1a'),this['handleListStartCommand']['bind'](this)),_0x5ea283[_0x4efc('0x1')][_0x4efc('0x14')](this['handleDescriptions'][_0x4efc('0x2e')](this));}[_0x4efc('0xe')](_0xcac854,_0x3c2f55={}){const _0x3cdf3b=this[_0x4efc('0x12')][_0x4efc('0x32')]['get'](_0x4efc('0x2d')),_0x4a4966=this[_0x4efc('0x15')]();this['editor'][_0x4efc('0x37')]['change'](()=>{_0x3cdf3b[_0x4efc('0x23')](_0x4a4966,{'commandName':'listStyle','commandParams':[{'type':_0x3c2f55['type']}],'formatGroupId':'listStyle'});});}[_0x4efc('0xc')](_0x521ff2,_0x3490a0={}){const _0x50bf16=this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2f')](_0x4efc('0x2d')),_0x2d12fd=this['_getSuggestionBlocks'](_0x3e7790=>_0x3e7790['is'](_0x4efc('0x3b'),'listItem')&&'numbered'===_0x3e7790[_0x4efc('0x24')](_0x4efc('0xd')));if(_0x2d12fd[_0x4efc('0x20')]<0x1)return;const _0x1b1874=_0x2d12fd[_0x4efc('0x19')](_0x4b999a=>this['editor'][_0x4efc('0x37')]['createRange'](this[_0x4efc('0x12')]['model'][_0x4efc('0x2b')](_0x4b999a,_0x4efc('0x38')),this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x4b999a,0x0)));this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x36')](()=>{_0x50bf16[_0x4efc('0x23')](_0x1b1874,{'commandName':_0x4efc('0x1b'),'commandParams':[{'reversed':_0x3490a0[_0x4efc('0x6')]}],'formatGroupId':_0x4efc('0x1b')});});}[_0x4efc('0x30')](_0x480c69,_0x1a447c={}){const _0x50b501=this[_0x4efc('0x12')][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x2d')),_0x4cbfad=this[_0x4efc('0x21')](_0x45be86=>_0x45be86['is'](_0x4efc('0x3b'),_0x4efc('0xa'))&&_0x4efc('0x10')===_0x45be86[_0x4efc('0x24')](_0x4efc('0xd')));if(_0x4cbfad[_0x4efc('0x20')]<0x1)return;const _0x12047c=_0x4cbfad[_0x4efc('0x19')](_0x243c6b=>this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x16')](this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x243c6b,_0x4efc('0x38')),this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x243c6b,0x0)));this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x36')](()=>{_0x50b501[_0x4efc('0x23')](_0x12047c,{'commandName':_0x4efc('0x1a'),'commandParams':[{'startIndex':_0x1a447c[_0x4efc('0x33')]}],'formatGroupId':_0x4efc('0x1a')});});}[_0x4efc('0x13')](_0x4e0fdb){const _0x3b03b3=this[_0x4efc('0x12')][_0x4efc('0x9')],{data:_0x1683f4}=_0x4e0fdb;if(!_0x1683f4)return;let _0x26ed59,_0x17428b;switch(_0x1683f4[_0x4efc('0x3')]){case _0x4efc('0x34'):_0x26ed59=_0x4efc('0x3f'),_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59,_0x4e06fe(_0x3b03b3,this[_0x4efc('0x3c')](_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x1c')])))};break;case _0x4efc('0x1b'):_0x26ed59=_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x6')]?_0x4efc('0x25'):'*Format:*\x20set\x20order\x20to\x20regular',_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59)};break;case'listStart':_0x26ed59=_0x4efc('0x3d'),_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59,_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x33')])};}return _0x17428b;}[_0x4efc('0x15')](){var _0x154d56,_0x5d4eae,_0x31ed71,_0x3897bc;const _0x32e179=this[_0x4efc('0x12')][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x11'));let _0x1b2e09=Array[_0x4efc('0x22')](this['editor']['model'][_0x4efc('0x3e')][_0x4efc('0xf')][_0x4efc('0x3a')]());return(null===(_0x154d56=_0x1b2e09[0x0])||void 0x0===_0x154d56?void 0x0:_0x154d56['is']('element','listItem'))&&_0x1b2e09['unshift'](..._0x32e179[_0x4efc('0x7')](this[_0x4efc('0x12')][_0x4efc('0x37')]['document']['selection'][_0x4efc('0x26')](),_0x4efc('0x0'))),(null===(_0x5d4eae=_0x1b2e09[_0x1b2e09[_0x4efc('0x20')]-0x1])||void 0x0===_0x5d4eae?void 0x0:_0x5d4eae['is'](_0x4efc('0x3b'),_0x4efc('0xa')))&&_0x1b2e09[_0x4efc('0x2a')](..._0x32e179[_0x4efc('0x7')](this[_0x4efc('0x12')]['model'][_0x4efc('0x3e')][_0x4efc('0xf')]['getLastPosition'](),'forward')),_0x1b2e09=[...new Set(_0x1b2e09)],(null===(_0x3897bc=null===(_0x31ed71=this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x3e')]['selection'][_0x4efc('0x26')]())||void 0x0===_0x31ed71?void 0x0:_0x31ed71['parent'])||void 0x0===_0x3897bc?void 0x0:_0x3897bc['is']('element',_0x4efc('0xa')))&&(_0x1b2e09=_0x1b2e09['filter'](_0xa29344=>_0xa29344['is'](_0x4efc('0x3b'),'listItem'))),_0x1b2e09;}[_0x4efc('0x21')](_0x15a863){const _0x5c8b74=this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2f')]('ListUtils');let _0x5e8193=Array[_0x4efc('0x22')](this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x3e')]['selection'][_0x4efc('0x3a')]())[_0x4efc('0x28')](_0x15a863)[_0x4efc('0x19')](_0x11411e=>{const _0x2e9e2d=this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x11411e,0x0);return[..._0x5c8b74[_0x4efc('0x7')](_0x2e9e2d,'backward'),..._0x5c8b74['getSiblingNodes'](_0x2e9e2d,_0x4efc('0x27'))];})[_0x4efc('0x17')]();return _0x5e8193=[...new Set(_0x5e8193)],_0x5e8193;}['_getTranslationKeyForListStyle'](_0x251a70){return _0x4efc('0x1f')+this[_0x4efc('0x12')][_0x4efc('0x32')]['get'](_0x4efc('0x11'))[_0x4efc('0x8')](_0x251a70)[_0x4efc('0xb')]()+_0x4efc('0x4')+_0x251a70[_0x4efc('0xb')]()[_0x4efc('0x31')](/-/g,'_');}}
23
+ const _0x3531=['_getTranslationKeyForListStyle','listItem','ListPropertiesEditing','commandName','forward','selection','toUpperCase','getListTypeFromListStyleType','length','startIndex','getSiblingNodes','backward','numbered','_LIST_','format','listReversed','editor','listStart','ListUtils','document','config','*Format:*\x20set\x20start\x20index\x20to\x20%0','markMultiRangeBlockFormat','replace','map','_descriptionFactory','_getSuggestionBlocks','plugins','*Format:*\x20set\x20order\x20to\x20reversed','flat','bind','model','handleListReversedCommand','createRange','listStyle','listType','createPositionAt','handleListStartCommand','type','*Change\x20to:*\x20%0','unshift','before','TrackChangesEditing','_getSuggestionBlocksForListStyle','filter','locale','*Format:*\x20set\x20order\x20to\x20regular','getAttribute','getLastPosition','getSelectedBlocks','handleListStyleCommand','getFirstPosition','push','change','element','enableCommand','get','from','registerDescriptionCallback','ELEMENT_','commandParams','handleDescriptions','parent','afterInit','list.properties'];(function(_0x54d6a7,_0x3531e6){const _0x129d6b=function(_0x1d968c){while(--_0x1d968c){_0x54d6a7['push'](_0x54d6a7['shift']());}};_0x129d6b(++_0x3531e6);}(_0x3531,0x1c8));const _0x129d=function(_0x54d6a7,_0x3531e6){_0x54d6a7=_0x54d6a7-0x0;let _0x129d6b=_0x3531[_0x54d6a7];return _0x129d6b;};import{Plugin as _0xf45050}from'ckeditor5/src/core';import{getTranslation as _0x49730e}from'../utils/common-translations';export default class st extends _0xf45050{[_0x129d('0x3e')](){if(!this[_0x129d('0xf')][_0x129d('0x1a')]['has'](_0x129d('0x1')))return;const _0x53e09b=this[_0x129d('0xf')][_0x129d('0x13')][_0x129d('0x37')](_0x129d('0x3f')),_0x220c16=this[_0x129d('0xf')]['plugins'][_0x129d('0x37')](_0x129d('0x29'));_0x53e09b['styles']&&_0x220c16[_0x129d('0x36')](_0x129d('0x21'),this[_0x129d('0x31')][_0x129d('0x1d')](this)),_0x53e09b['reversed']&&_0x220c16['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x53e09b['startIndex']&&_0x220c16[_0x129d('0x36')](_0x129d('0x10'),this[_0x129d('0x24')][_0x129d('0x1d')](this)),_0x220c16[_0x129d('0x18')][_0x129d('0x39')](this[_0x129d('0x3c')][_0x129d('0x1d')](this));}[_0x129d('0x31')](_0x1f1948,_0x59071a={}){const _0x3b64bb=this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')]('TrackChangesEditing'),_0x48b254=this['_getSuggestionBlocksForListStyle']();this[_0x129d('0xf')][_0x129d('0x1e')]['change'](()=>{_0x3b64bb[_0x129d('0x15')](_0x48b254,{'commandName':'listStyle','commandParams':[{'type':_0x59071a['type']}],'formatGroupId':_0x129d('0x21')});});}[_0x129d('0x1f')](_0x47cf87,_0xd32cbe={}){const _0x28ad48=this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')](_0x129d('0x29')),_0x115803=this['_getSuggestionBlocks'](_0x603405=>_0x603405['is']('element','listItem')&&'numbered'===_0x603405[_0x129d('0x2e')]('listType'));if(_0x115803[_0x129d('0x7')]<0x1)return;const _0x560f2f=_0x115803[_0x129d('0x17')](_0x3cd18b=>this['editor'][_0x129d('0x1e')][_0x129d('0x20')](this[_0x129d('0xf')]['model'][_0x129d('0x23')](_0x3cd18b,'before'),this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x23')](_0x3cd18b,0x0)));this['editor']['model'][_0x129d('0x34')](()=>{_0x28ad48[_0x129d('0x15')](_0x560f2f,{'commandName':'listReversed','commandParams':[{'reversed':_0xd32cbe['reversed']}],'formatGroupId':'listReversed'});});}[_0x129d('0x24')](_0x5f51e7,_0xbd108f={}){const _0xaa6709=this[_0x129d('0xf')]['plugins'][_0x129d('0x37')](_0x129d('0x29')),_0xce49ef=this[_0x129d('0x19')](_0x14e52d=>_0x14e52d['is'](_0x129d('0x35'),'listItem')&&_0x129d('0xb')===_0x14e52d[_0x129d('0x2e')](_0x129d('0x22')));if(_0xce49ef['length']<0x1)return;const _0x23e5b7=_0xce49ef['map'](_0x1b4cb2=>this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x20')](this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x23')](_0x1b4cb2,_0x129d('0x28')),this[_0x129d('0xf')]['model'][_0x129d('0x23')](_0x1b4cb2,0x0)));this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x34')](()=>{_0xaa6709[_0x129d('0x15')](_0x23e5b7,{'commandName':_0x129d('0x10'),'commandParams':[{'startIndex':_0xbd108f[_0x129d('0x8')]}],'formatGroupId':_0x129d('0x10')});});}['handleDescriptions'](_0xa0d092){const _0x3ac463=this[_0x129d('0xf')][_0x129d('0x2c')],{data:_0x592d30}=_0xa0d092;if(!_0x592d30)return;let _0xb98bd1,_0x280e6f;switch(_0x592d30[_0x129d('0x2')]){case'listStyle':_0xb98bd1=_0x129d('0x26'),_0x280e6f={'type':_0x129d('0xd'),'content':_0x49730e(_0x3ac463,_0xb98bd1,_0x49730e(_0x3ac463,this[_0x129d('0x40')](_0x592d30[_0x129d('0x3b')][0x0][_0x129d('0x25')])))};break;case _0x129d('0xe'):_0xb98bd1=_0x592d30[_0x129d('0x3b')][0x0]['reversed']?_0x129d('0x1b'):_0x129d('0x2d'),_0x280e6f={'type':_0x129d('0xd'),'content':_0x49730e(_0x3ac463,_0xb98bd1)};break;case _0x129d('0x10'):_0xb98bd1=_0x129d('0x14'),_0x280e6f={'type':_0x129d('0xd'),'content':_0x49730e(_0x3ac463,_0xb98bd1,_0x592d30[_0x129d('0x3b')][0x0][_0x129d('0x8')])};}return _0x280e6f;}[_0x129d('0x2a')](){var _0x254c7e,_0x2785b4,_0x5ceb82,_0x445d58;const _0x3e78a9=this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')]('ListUtils');let _0x5241ff=Array[_0x129d('0x38')](this['editor'][_0x129d('0x1e')][_0x129d('0x12')][_0x129d('0x4')][_0x129d('0x30')]());return(null===(_0x254c7e=_0x5241ff[0x0])||void 0x0===_0x254c7e?void 0x0:_0x254c7e['is'](_0x129d('0x35'),_0x129d('0x0')))&&_0x5241ff[_0x129d('0x27')](..._0x3e78a9[_0x129d('0x9')](this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x12')][_0x129d('0x4')]['getFirstPosition'](),'backward')),(null===(_0x2785b4=_0x5241ff[_0x5241ff[_0x129d('0x7')]-0x1])||void 0x0===_0x2785b4?void 0x0:_0x2785b4['is']('element',_0x129d('0x0')))&&_0x5241ff[_0x129d('0x33')](..._0x3e78a9[_0x129d('0x9')](this[_0x129d('0xf')]['model'][_0x129d('0x12')][_0x129d('0x4')][_0x129d('0x2f')](),_0x129d('0x3'))),_0x5241ff=[...new Set(_0x5241ff)],(null===(_0x445d58=null===(_0x5ceb82=this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x12')][_0x129d('0x4')][_0x129d('0x32')]())||void 0x0===_0x5ceb82?void 0x0:_0x5ceb82[_0x129d('0x3d')])||void 0x0===_0x445d58?void 0x0:_0x445d58['is'](_0x129d('0x35'),_0x129d('0x0')))&&(_0x5241ff=_0x5241ff['filter'](_0xb5e0e=>_0xb5e0e['is'](_0x129d('0x35'),_0x129d('0x0')))),_0x5241ff;}['_getSuggestionBlocks'](_0x36e204){const _0x170128=this['editor'][_0x129d('0x1a')][_0x129d('0x37')]('ListUtils');let _0x33af27=Array[_0x129d('0x38')](this[_0x129d('0xf')][_0x129d('0x1e')]['document']['selection']['getSelectedBlocks']())[_0x129d('0x2b')](_0x36e204)[_0x129d('0x17')](_0x32a98a=>{const _0x382d2a=this[_0x129d('0xf')][_0x129d('0x1e')][_0x129d('0x23')](_0x32a98a,0x0);return[..._0x170128[_0x129d('0x9')](_0x382d2a,_0x129d('0xa')),..._0x170128[_0x129d('0x9')](_0x382d2a,_0x129d('0x3'))];})[_0x129d('0x1c')]();return _0x33af27=[...new Set(_0x33af27)],_0x33af27;}[_0x129d('0x40')](_0x95436f){return _0x129d('0x3a')+this[_0x129d('0xf')][_0x129d('0x1a')][_0x129d('0x37')](_0x129d('0x11'))[_0x129d('0x6')](_0x95436f)[_0x129d('0x5')]()+_0x129d('0xc')+_0x95436f[_0x129d('0x5')]()[_0x129d('0x16')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a49=['_descriptionFactory','mediaEmbed','TrackChangesEditing','div','ELEMENT_MEDIA','attribute:url:media','has','showSuggestionHighlights','get','MediaEmbedEditing','conversion','downcastDispatcher','media','data','registerElementLabel','plugins'];(function(_0x4414cc,_0x5a493f){const _0x4fb800=function(_0x15c719){while(--_0x15c719){_0x4414cc['push'](_0x4414cc['shift']());}};_0x4fb800(++_0x5a493f);}(_0x5a49,0x182));const _0x4fb8=function(_0x4414cc,_0x5a493f){_0x4414cc=_0x4414cc-0x0;let _0x4fb800=_0x5a49[_0x4414cc];return _0x4fb800;};import{Plugin as _0x3d6e05}from'ckeditor5/src/core';import{getTranslation as _0x399e10}from'../utils/common-translations';export default class ot extends _0x3d6e05{['afterInit'](){const _0x2fa04f=this['editor'];if(!_0x2fa04f['plugins'][_0x4fb8('0x4')](_0x4fb8('0x7')))return;const _0x34e7a3=_0x2fa04f[_0x4fb8('0xd')][_0x4fb8('0x6')](_0x4fb8('0x0')),_0xd3d883=_0x2fa04f['locale'];_0x34e7a3['enableCommand'](_0x4fb8('0xf')),_0x34e7a3[_0x4fb8('0xe')][_0x4fb8('0xc')](_0x4fb8('0xa'),_0x380b12=>_0x399e10(_0xd3d883,_0x4fb8('0x2'),_0x380b12)),_0x2fa04f[_0x4fb8('0x8')]['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x48b447,{writer:_0x5c046a,options:_0x612b5b})=>{if(_0x612b5b['showSuggestionHighlights'])return _0x5c046a['createEmptyElement'](_0x4fb8('0x1'));},'converterPriority':'high'}),_0x2fa04f[_0x4fb8('0xb')][_0x4fb8('0x9')]['on'](_0x4fb8('0x3'),(_0x529eb0,_0x2afd2d,_0x19a0ad)=>{_0x19a0ad['options'][_0x4fb8('0x5')]&&_0x529eb0['stop']();},{'priority':'high'});}}
23
+ const _0x2048=['MediaEmbedEditing','data','TrackChangesEditing','for','showSuggestionHighlights','enableCommand','downcastDispatcher','conversion','_descriptionFactory','media','mediaEmbed','locale','has','createEmptyElement','div','registerElementLabel','plugins','get','afterInit','high','editor','attribute:url:media','ELEMENT_MEDIA','stop','dataDowncast','options','elementToElement'];(function(_0x4f7385,_0x20486e){const _0x4be657=function(_0x9c12ff){while(--_0x9c12ff){_0x4f7385['push'](_0x4f7385['shift']());}};_0x4be657(++_0x20486e);}(_0x2048,0x1b2));const _0x4be6=function(_0x4f7385,_0x20486e){_0x4f7385=_0x4f7385-0x0;let _0x4be657=_0x2048[_0x4f7385];return _0x4be657;};import{Plugin as _0x38d677}from'ckeditor5/src/core';import{getTranslation as _0x2219b2}from'../utils/common-translations';export default class ot extends _0x38d677{[_0x4be6('0x10')](){const _0xdd8693=this[_0x4be6('0x12')];if(!_0xdd8693[_0x4be6('0xe')][_0x4be6('0xa')](_0x4be6('0x19')))return;const _0x1522d3=_0xdd8693['plugins'][_0x4be6('0xf')](_0x4be6('0x0')),_0x57fb42=_0xdd8693[_0x4be6('0x9')];_0x1522d3[_0x4be6('0x3')](_0x4be6('0x8')),_0x1522d3[_0x4be6('0x6')][_0x4be6('0xd')](_0x4be6('0x7'),_0x8b5dc6=>_0x2219b2(_0x57fb42,_0x4be6('0x14'),_0x8b5dc6)),_0xdd8693[_0x4be6('0x5')][_0x4be6('0x1')](_0x4be6('0x16'))[_0x4be6('0x18')]({'model':_0x4be6('0x7'),'view':(_0x52f397,{writer:_0xfdb2d3,options:_0x1ca875})=>{if(_0x1ca875[_0x4be6('0x2')])return _0xfdb2d3[_0x4be6('0xb')](_0x4be6('0xc'));},'converterPriority':_0x4be6('0x11')}),_0xdd8693[_0x4be6('0x1a')][_0x4be6('0x4')]['on'](_0x4be6('0x13'),(_0x5e5cc5,_0x2f0c04,_0x4650da)=>{_0x4650da[_0x4be6('0x17')][_0x4be6('0x2')]&&_0x5e5cc5[_0x4be6('0x15')]();},{'priority':_0x4be6('0x11')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb73a=['MentionEditing','afterInit','mention','plugins','get','enableCommand'];(function(_0x2abaf0,_0xb73a23){const _0x3e7cd4=function(_0x5350d7){while(--_0x5350d7){_0x2abaf0['push'](_0x2abaf0['shift']());}};_0x3e7cd4(++_0xb73a23);}(_0xb73a,0x117));const _0x3e7c=function(_0x2abaf0,_0xb73a23){_0x2abaf0=_0x2abaf0-0x0;let _0x3e7cd4=_0xb73a[_0x2abaf0];return _0x3e7cd4;};import{Plugin as _0x2cfc66}from'ckeditor5/src/core';export default class rt extends _0x2cfc66{[_0x3e7c('0x4')](){const _0x57441e=this['editor'];_0x57441e[_0x3e7c('0x0')]['has'](_0x3e7c('0x3'))&&_0x57441e[_0x3e7c('0x0')][_0x3e7c('0x1')]('TrackChangesEditing')[_0x3e7c('0x2')](_0x3e7c('0x5'));}}
23
+ const _0x5452=['TrackChangesEditing','get','has','plugins','mention','MentionEditing','enableCommand'];(function(_0x2e14fd,_0x5452e2){const _0x4be579=function(_0x103ea0){while(--_0x103ea0){_0x2e14fd['push'](_0x2e14fd['shift']());}};_0x4be579(++_0x5452e2);}(_0x5452,0x125));const _0x4be5=function(_0x2e14fd,_0x5452e2){_0x2e14fd=_0x2e14fd-0x0;let _0x4be579=_0x5452[_0x2e14fd];return _0x4be579;};import{Plugin as _0x4d3f50}from'ckeditor5/src/core';export default class rt extends _0x4d3f50{['afterInit'](){const _0x4b2e06=this['editor'];_0x4b2e06[_0x4be5('0x4')][_0x4be5('0x3')](_0x4be5('0x6'))&&_0x4b2e06['plugins'][_0x4be5('0x2')](_0x4be5('0x1'))[_0x4be5('0x0')](_0x4be5('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13b0=['editor','TrackChangesEditing','enableCommand','afterInit','PageBreakEditing','plugins','registerElementLabel','_descriptionFactory','get'];(function(_0x4dbe5e,_0x13b039){const _0x35110a=function(_0x2644e2){while(--_0x2644e2){_0x4dbe5e['push'](_0x4dbe5e['shift']());}};_0x35110a(++_0x13b039);}(_0x13b0,0x1aa));const _0x3511=function(_0x4dbe5e,_0x13b039){_0x4dbe5e=_0x4dbe5e-0x0;let _0x35110a=_0x13b0[_0x4dbe5e];return _0x35110a;};import{Plugin as _0x181973}from'ckeditor5/src/core';import{getTranslation as _0x489efd}from'../utils/common-translations';export default class at extends _0x181973{[_0x3511('0x0')](){const _0x473d3a=this[_0x3511('0x6')];if(!_0x473d3a['plugins']['has'](_0x3511('0x1')))return;_0x473d3a['plugins']['get'](_0x3511('0x7'))[_0x3511('0x8')]('pageBreak');const _0x2851d7=_0x473d3a[_0x3511('0x2')][_0x3511('0x5')]('TrackChangesEditing'),_0x33ecd9=_0x473d3a['locale'];_0x2851d7[_0x3511('0x4')][_0x3511('0x3')]('pageBreak',_0x1edb82=>_0x489efd(_0x33ecd9,'ELEMENT_PAGE_BREAK',_0x1edb82));}}
23
+ const _0x2d99=['get','pageBreak','ELEMENT_PAGE_BREAK','PageBreakEditing','TrackChangesEditing','locale','has','registerElementLabel','editor','plugins','_descriptionFactory','afterInit'];(function(_0x1248df,_0x2d9933){const _0x391a9d=function(_0x347b55){while(--_0x347b55){_0x1248df['push'](_0x1248df['shift']());}};_0x391a9d(++_0x2d9933);}(_0x2d99,0xb0));const _0x391a=function(_0x1248df,_0x2d9933){_0x1248df=_0x1248df-0x0;let _0x391a9d=_0x2d99[_0x1248df];return _0x391a9d;};import{Plugin as _0x564fb0}from'ckeditor5/src/core';import{getTranslation as _0x2c4a19}from'../utils/common-translations';export default class at extends _0x564fb0{[_0x391a('0x3')](){const _0x47647c=this[_0x391a('0x0')];if(!_0x47647c[_0x391a('0x1')][_0x391a('0xa')](_0x391a('0x7')))return;_0x47647c[_0x391a('0x1')][_0x391a('0x4')]('TrackChangesEditing')['enableCommand'](_0x391a('0x5'));const _0x23053a=_0x47647c[_0x391a('0x1')]['get'](_0x391a('0x8')),_0x1fe866=_0x47647c[_0x391a('0x9')];_0x23053a[_0x391a('0x2')][_0x391a('0xb')](_0x391a('0x5'),_0x1432ae=>_0x2c4a19(_0x1fe866,_0x391a('0x6'),_0x1432ae));}}