@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231205.0 → 0.0.0-nightly-20231207.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 (161) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sq.js +1 -1
  37. package/build/translations/sr-latn.js +1 -1
  38. package/build/translations/sr.js +1 -1
  39. package/build/translations/sv.js +1 -1
  40. package/build/translations/th.js +1 -1
  41. package/build/translations/tk.js +1 -1
  42. package/build/translations/tr.js +1 -1
  43. package/build/translations/tt.js +1 -1
  44. package/build/translations/uk.js +1 -1
  45. package/build/translations/ur.js +1 -1
  46. package/build/translations/vi.js +1 -1
  47. package/build/translations/zh-cn.js +1 -1
  48. package/build/translations/zh.js +1 -1
  49. package/lang/translations/ar.po +5 -5
  50. package/lang/translations/az.po +4 -4
  51. package/lang/translations/bg.po +5 -5
  52. package/lang/translations/bn.po +5 -5
  53. package/lang/translations/ca.po +5 -5
  54. package/lang/translations/cs.po +5 -5
  55. package/lang/translations/da.po +5 -5
  56. package/lang/translations/de.po +5 -5
  57. package/lang/translations/el.po +5 -5
  58. package/lang/translations/en-au.po +5 -5
  59. package/lang/translations/en.po +5 -5
  60. package/lang/translations/es.po +5 -5
  61. package/lang/translations/et.po +5 -5
  62. package/lang/translations/fi.po +5 -5
  63. package/lang/translations/fr.po +5 -5
  64. package/lang/translations/gl.po +36 -36
  65. package/lang/translations/he.po +5 -5
  66. package/lang/translations/hi.po +5 -5
  67. package/lang/translations/hr.po +5 -5
  68. package/lang/translations/hu.po +5 -5
  69. package/lang/translations/id.po +5 -5
  70. package/lang/translations/it.po +5 -5
  71. package/lang/translations/ja.po +5 -5
  72. package/lang/translations/ko.po +5 -5
  73. package/lang/translations/lt.po +5 -5
  74. package/lang/translations/lv.po +5 -5
  75. package/lang/translations/ms.po +5 -5
  76. package/lang/translations/nl.po +5 -5
  77. package/lang/translations/no.po +5 -5
  78. package/lang/translations/pl.po +5 -5
  79. package/lang/translations/pt-br.po +5 -5
  80. package/lang/translations/pt.po +5 -5
  81. package/lang/translations/ro.po +5 -5
  82. package/lang/translations/ru.po +5 -5
  83. package/lang/translations/sk.po +5 -5
  84. package/lang/translations/sq.po +4 -4
  85. package/lang/translations/sr-latn.po +24 -24
  86. package/lang/translations/sr.po +5 -5
  87. package/lang/translations/sv.po +5 -5
  88. package/lang/translations/th.po +5 -5
  89. package/lang/translations/tk.po +4 -4
  90. package/lang/translations/tr.po +5 -5
  91. package/lang/translations/tt.po +4 -4
  92. package/lang/translations/uk.po +5 -5
  93. package/lang/translations/ur.po +4 -4
  94. package/lang/translations/vi.po +5 -5
  95. package/lang/translations/zh-cn.po +5 -5
  96. package/lang/translations/zh.po +5 -5
  97. package/package.json +3 -3
  98. package/src/commands/acceptsuggestioncommand.js +1 -1
  99. package/src/commands/discardsuggestioncommand.js +1 -1
  100. package/src/commands/executeonallsuggestionscommand.js +1 -1
  101. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  102. package/src/commands/trackchangescommand.js +1 -1
  103. package/src/integrations/aiassistant.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/documentlist.js +1 -1
  112. package/src/integrations/documentlistproperties.js +1 -1
  113. package/src/integrations/entercommand.js +1 -1
  114. package/src/integrations/findandreplace.js +1 -1
  115. package/src/integrations/font.js +1 -1
  116. package/src/integrations/formatpainter.js +1 -1
  117. package/src/integrations/heading.js +1 -1
  118. package/src/integrations/highlight.js +1 -1
  119. package/src/integrations/horizontalline.js +1 -1
  120. package/src/integrations/htmlembed.js +1 -1
  121. package/src/integrations/image.js +1 -1
  122. package/src/integrations/imagereplace.js +1 -1
  123. package/src/integrations/imagestyle.js +1 -1
  124. package/src/integrations/importword.js +1 -1
  125. package/src/integrations/indent.js +1 -1
  126. package/src/integrations/inputcommand.js +1 -1
  127. package/src/integrations/link.js +1 -1
  128. package/src/integrations/list.js +1 -1
  129. package/src/integrations/listproperties.js +1 -1
  130. package/src/integrations/mediaembed.js +1 -1
  131. package/src/integrations/mention.js +1 -1
  132. package/src/integrations/pagebreak.js +1 -1
  133. package/src/integrations/paragraph.js +1 -1
  134. package/src/integrations/removeformat.js +1 -1
  135. package/src/integrations/restrictededitingmode.js +1 -1
  136. package/src/integrations/shiftentercommand.js +1 -1
  137. package/src/integrations/standardeditingmode.js +1 -1
  138. package/src/integrations/style.js +1 -1
  139. package/src/integrations/table.js +1 -1
  140. package/src/integrations/tablecaption.js +1 -1
  141. package/src/integrations/tableclipboard.js +1 -1
  142. package/src/integrations/tablecolumnresize.js +1 -1
  143. package/src/integrations/tableheadings.js +1 -1
  144. package/src/integrations/tablemergesplit.js +1 -1
  145. package/src/integrations/tableofcontents.js +1 -1
  146. package/src/integrations/tableproperties.js +1 -1
  147. package/src/integrations/template.js +1 -1
  148. package/src/integrations/title.js +1 -1
  149. package/src/integrations/undo.js +1 -1
  150. package/src/integrations/utils.js +1 -1
  151. package/src/suggestion.js +1 -1
  152. package/src/suggestiondescriptionfactory.js +1 -1
  153. package/src/trackchanges.js +1 -1
  154. package/src/trackchangesdata.js +1 -1
  155. package/src/trackchangesediting.js +1 -1
  156. package/src/trackchangesui.js +1 -1
  157. package/src/ui/suggestioncontroller.js +1 -1
  158. package/src/ui/view/basesuggestionthreadview.js +1 -1
  159. package/src/ui/view/suggestionthreadview.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
  161. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f01=['registerCustomCallback','formatInline','config','markMultiRangeBlockFormat','selection','plugins','registerDescriptionCallback','TrackChangesEditing','start','createRange','_LIST','getSelectedBlocks','*Merge:*\x20%0','documentList','forceValue','ELEMENT_','locale','_suggestionFactory','detach','getAttribute','format','type','commandName','nextSibling','execute','markBlockFormat','createPositionAt','_descriptionFactory','*Outdent:*\x20%0','afterInit','commandParams','enableCommand','nodeAfter','outdentList','list.multiBlock','multipleBlocks','accept','*Format:*\x20remove\x20from\x20%0','indentList','has','numberedList','toUpperCase','listItemId','value','hasAttribute','listType','model','splitListItemBefore','add','listIndent','deletion','push','end','findIndex','registerElementLabel','previousSibling','ELEMENT_BULLETED_LIST','schema','before','change','*Format:*\x20insert\x20into\x20%0','mergeListItemForward','*Indent:*\x20%0','mergeListItemBackward','containsItem','expandListBlocksToCompleteList','commands','isObject','DocumentListEditing','document','next','get','from','getFirstRange','paragraph','editor','formatBlock','setSelection','length','ELEMENT_LIST_ITEM','splitListItemAfter','parent','isFirstBlockOfListItem','bulletedList'];(function(_0x1f666e,_0x1f010a){const _0x5e7aac=function(_0x22e9c6){while(--_0x22e9c6){_0x1f666e['push'](_0x1f666e['shift']());}};_0x5e7aac(++_0x1f010a);}(_0x1f01,0xe8));const _0x5e7a=function(_0x1f666e,_0x1f010a){_0x1f666e=_0x1f666e-0x0;let _0x5e7aac=_0x1f01[_0x1f666e];return _0x5e7aac;};import{Plugin as _0xbcd7d3}from'ckeditor5/src/core';import{getTranslation as _0x1b82fe}from'../utils/common-translations';import{LiveRange as _0x6d3455}from'ckeditor5/src/engine';export default class q extends _0xbcd7d3{[_0x5e7a('0x31')](){const _0x4165eb=this[_0x5e7a('0xb')];if(!_0x4165eb[_0x5e7a('0x19')][_0x5e7a('0x3b')](_0x5e7a('0x4')))return;const _0x324966=_0x4165eb[_0x5e7a('0x24')],_0x5a2603=_0x4165eb[_0x5e7a('0x19')][_0x5e7a('0x7')](_0x5e7a('0x1b')),_0x1143fc=_0x4165eb[_0x5e7a('0x19')][_0x5e7a('0x7')]('DocumentListUtils');function _0x2cfa2d(_0x191662){return()=>{const _0xc5888f=_0x4165eb[_0x5e7a('0x2')]['get'](_0x191662);if(_0xc5888f['value']&&!_0x4165eb[_0x5e7a('0x16')][_0x5e7a('0x7')](_0x5e7a('0x36')))return void _0x4165eb[_0x5e7a('0x2c')](_0x5e7a('0xa'),{});let _0x1f15f5=Array[_0x5e7a('0x8')](_0x4165eb['model'][_0x5e7a('0x5')]['selection']['getSelectedBlocks']());if(_0x191d27(_0x191662)){_0x1f15f5=_0x1143fc[_0x5e7a('0x1')](_0x1f15f5);const _0x15de44=[];for(const _0x5e2916 of _0x1f15f5)_0x1143fc[_0x5e7a('0x12')](_0x5e2916)&&_0x15de44['push'](_0x5e2916);_0x1f15f5=_0x15de44;}_0x4165eb['model']['change'](()=>{_0x5a2603[_0x5e7a('0x17')](_0x1f15f5,{'commandName':_0x191662,'commandParams':[{'forceValue':!_0xc5888f['value']}],'formatGroupId':_0x5e7a('0x41')},[],'documentList');});};}function _0x21da8c(_0x366146){return()=>{const _0x3ce4c0=function(_0x2a2a4e){let _0x394685=Array[_0x5e7a('0x8')](_0x2a2a4e);const _0x5762f9=_0x394685[_0x5e7a('0x49')](_0x3b84fb=>!_0x3b84fb[_0x5e7a('0x40')](_0x5e7a('0x3e')));return _0x5762f9>-0x1&&(_0x394685=_0x394685['slice'](0x0,_0x5762f9)),_0x394685;}(_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x5')]['selection'][_0x5e7a('0x1f')]()),_0x50ed1d=_0x3ce4c0[_0x3ce4c0[_0x5e7a('0xe')]-0x1],_0x5ab2f0=_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x4d')]['isObject'](_0x50ed1d)?'after':_0x5e7a('0x48'),_0x4ccf64=_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x1d')](_0x4165eb[_0x5e7a('0x42')]['createPositionAt'](_0x3ce4c0[0x0],'before'),_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x2e')](_0x50ed1d,_0x5ab2f0));_0x4165eb['model']['change'](()=>{_0x5a2603[_0x5e7a('0x2d')](_0x4ccf64,{'commandName':_0x366146,'commandParams':[],'formatGroupId':_0x5e7a('0x41')},function(_0x38902f){const _0x91f1fd=new Set();for(const _0x5e70f2 of _0x38902f){let _0x4a5d69=_0x5e70f2[_0x5e7a('0x2b')];for(;_0x4a5d69&&_0x4a5d69[_0x5e7a('0x27')](_0x5e7a('0x45'))>_0x5e70f2[_0x5e7a('0x27')]('listIndent');)_0x91f1fd[_0x5e7a('0x44')](_0x4a5d69),_0x4a5d69=_0x4a5d69[_0x5e7a('0x2b')];}return Array[_0x5e7a('0x8')](_0x91f1fd);}(_0x3ce4c0));});};}function _0x33f52a(_0x1472f8){return()=>{const _0x4f9ed8=_0x4165eb['model'][_0x5e7a('0x5')][_0x5e7a('0x18')][_0x5e7a('0x1f')]()[_0x5e7a('0x6')]()[_0x5e7a('0x3f')],_0x590443=_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x2e')](_0x4f9ed8,_0x5e7a('0x4e')),_0x493918=_0x4165eb['model'][_0x5e7a('0x2e')](_0x4f9ed8,0x0),_0x17485c=_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x1d')](_0x590443,_0x493918);_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x4f')](()=>{_0x5a2603[_0x5e7a('0x2d')](_0x17485c,{'commandName':_0x1472f8,'commandParams':[],'formatGroupId':'listType'});});};}function _0x191d27(_0x2997cb){const _0x217eb3=_0x4165eb[_0x5e7a('0x2')]['get'](_0x5e7a('0x13'))[_0x5e7a('0x3f')],_0x35b3c2=_0x4165eb[_0x5e7a('0x2')]['get'](_0x5e7a('0x3c'))[_0x5e7a('0x3f')];return _0x5e7a('0x3c')===_0x2997cb?_0x217eb3:_0x35b3c2;}_0x5a2603[_0x5e7a('0x33')](_0x5e7a('0x3c'),_0x2cfa2d('numberedList')),_0x5a2603[_0x5e7a('0x33')](_0x5e7a('0x13'),_0x2cfa2d(_0x5e7a('0x13'))),_0x5a2603[_0x5e7a('0x33')](_0x5e7a('0x3a'),_0x21da8c('indentList')),_0x5a2603[_0x5e7a('0x33')](_0x5e7a('0x35'),_0x21da8c(_0x5e7a('0x35'))),_0x5a2603[_0x5e7a('0x33')](_0x5e7a('0x10'),_0x33f52a(_0x5e7a('0x10'))),_0x5a2603[_0x5e7a('0x33')](_0x5e7a('0x43'),_0x33f52a(_0x5e7a('0x43'))),_0x5a2603[_0x5e7a('0x2f')][_0x5e7a('0x4a')](function(_0x235a74){const _0x3c984d=!_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x4d')][_0x5e7a('0x3')](_0x235a74),_0x170575=_0x235a74[_0x5e7a('0x4b')],_0x112df3=_0x235a74[_0x5e7a('0x2b')],_0x565331=_0x235a74[_0x5e7a('0x27')](_0x5e7a('0x3e')),_0x5930d0=!_0x170575||_0x170575[_0x5e7a('0x27')]('listItemId')!==_0x565331,_0x567f1f=!_0x112df3||_0x112df3['getAttribute'](_0x5e7a('0x3e'))!==_0x565331;return _0x3c984d&&Boolean(_0x565331)&&_0x5930d0&&_0x567f1f;},_0x2923b8=>_0x1b82fe(_0x324966,'ELEMENT_LIST_ITEM',_0x2923b8)),_0x5a2603[_0x5e7a('0x2f')][_0x5e7a('0x1a')](function(_0x1c7607){if(_0x5e7a('0xc')!=_0x1c7607[_0x5e7a('0x29')]&&_0x5e7a('0x15')!=_0x1c7607[_0x5e7a('0x29')])return;const {data:_0x41bb60}=_0x1c7607;if(!_0x41bb60)return;let _0x8d871a,_0x23dedf,_0x3376e5,_0x5aee1e;switch(_0x41bb60[_0x5e7a('0x2a')]){case _0x5e7a('0x13'):_0x3376e5=_0x41bb60[_0x5e7a('0x32')][0x0][_0x5e7a('0x22')],_0x5aee1e=_0x191d27(_0x41bb60['commandName']),_0x8d871a=_0x3376e5?_0x5e7a('0x50'):_0x5e7a('0x39'),!_0x5aee1e&&_0x4165eb[_0x5e7a('0x16')][_0x5e7a('0x7')](_0x5e7a('0x36'))||(_0x8d871a='*Change\x20to:*\x20%0'),_0x23dedf={'type':_0x5e7a('0x28'),'content':_0x1b82fe(_0x324966,_0x8d871a,_0x1b82fe(_0x324966,_0x5e7a('0x4c')))};break;case _0x5e7a('0x3c'):_0x3376e5=_0x41bb60[_0x5e7a('0x32')][0x0]['forceValue'],_0x5aee1e=_0x191d27(_0x41bb60[_0x5e7a('0x2a')]),_0x8d871a=_0x3376e5?_0x5e7a('0x50'):'*Format:*\x20remove\x20from\x20%0',!_0x5aee1e&&_0x4165eb[_0x5e7a('0x16')][_0x5e7a('0x7')](_0x5e7a('0x36'))||(_0x8d871a='*Change\x20to:*\x20%0'),_0x23dedf={'type':'format','content':_0x1b82fe(_0x324966,_0x8d871a,_0x1b82fe(_0x324966,'ELEMENT_NUMBERED_LIST'))};break;case _0x5e7a('0x3a'):_0x8d871a=_0x5e7a('0x52'),_0x23dedf={'type':'format','content':_0x1b82fe(_0x324966,_0x8d871a,_0x1b82fe(_0x324966,'ELEMENT_LIST_ITEM'))};break;case _0x5e7a('0x35'):_0x8d871a=function(_0x413e26){const _0x24dbf6=_0x413e26[_0x5e7a('0x9')]();let _0x482713=_0x24dbf6['start'][_0x5e7a('0x34')];for(;_0x482713&&_0x24dbf6[_0x5e7a('0x0')](_0x482713);){if(_0x482713['getAttribute']('listIndent')>0x0)return!0x1;_0x482713=_0x482713[_0x5e7a('0x2b')];}return!0x0;}(_0x1c7607)?_0x1b82fe(_0x324966,_0x5e7a('0x39'),_0x1b82fe(_0x324966,function(_0x3e6300){const _0xb7cc84=_0x3e6300['getFirstRange']()[_0x5e7a('0x1c')][_0x5e7a('0x34')];return _0x5e7a('0x23')+_0xb7cc84[_0x5e7a('0x27')](_0x5e7a('0x41'))[_0x5e7a('0x3d')]()+_0x5e7a('0x1e');}(_0x1c7607))):_0x1b82fe(_0x324966,_0x5e7a('0x30'),_0x1b82fe(_0x324966,_0x5e7a('0xf'))),_0x23dedf={'type':_0x5e7a('0x28'),'content':_0x8d871a};break;case _0x5e7a('0x53'):case _0x5e7a('0x51'):!0x1===_0x41bb60[_0x5e7a('0x37')]&&(_0x8d871a=_0x5e7a('0x20'),_0x23dedf={'type':_0x5e7a('0x46'),'content':_0x1b82fe(_0x324966,_0x8d871a,_0x1b82fe(_0x324966,_0x5e7a('0xf')))});}return _0x23dedf;}),_0x5a2603[_0x5e7a('0x25')][_0x5e7a('0x14')](_0x5e7a('0xc'),_0x5e7a('0x21'),_0x5e7a('0x38'),function(_0x1f2f59,_0x2d4e92){const _0x4df854=[];for(let _0x5d0960 of _0x1f2f59)_0x5d0960[_0x5e7a('0x1c')][_0x5e7a('0x34')]===_0x5d0960['end'][_0x5e7a('0x11')]&&(_0x5d0960=_0x4165eb['model']['createRange'](_0x4165eb[_0x5e7a('0x42')]['createPositionAt'](_0x5d0960['start']['nodeAfter'],0x0))),_0x4df854['push'](_0x5d0960);_0x4165eb[_0x5e7a('0x42')]['change'](_0x2418d3=>{const _0x4506e2=_0x4165eb[_0x5e7a('0x42')][_0x5e7a('0x5')][_0x5e7a('0x18')],_0x1346dc=Array[_0x5e7a('0x8')](_0x4506e2['getRanges']())['map'](_0x56cabc=>_0x6d3455['fromRange'](_0x56cabc));_0x2418d3[_0x5e7a('0xd')](_0x4df854),_0x4165eb[_0x5e7a('0x2')][_0x5e7a('0x7')](_0x2d4e92[_0x5e7a('0x2a')])['refresh'](),_0x2d4e92[_0x5e7a('0x32')][_0x5e7a('0x47')]({'forceDefaultExecution':!0x0}),_0x4165eb['execute'](_0x2d4e92[_0x5e7a('0x2a')],..._0x2d4e92['commandParams']),_0x2418d3[_0x5e7a('0xd')](_0x1346dc);for(const _0x5b3b69 of _0x1346dc)_0x5b3b69[_0x5e7a('0x26')]();});});}}
23
+ const _0xd783=['createPositionAt','nodeAfter','listIndent','toUpperCase','indentList','markBlockFormat','outdentList','enableCommand','*Merge:*\x20%0','execute','bulletedList','slice','commandParams','get','config','getRanges','editor','after','hasAttribute','*Change\x20to:*\x20%0','paragraph','registerElementLabel','numberedList','fromRange','containsItem','registerDescriptionCallback','ELEMENT_','ELEMENT_LIST_ITEM','list.multiBlock','nextSibling','length','format','listType','start','change','model','plugins','before','createRange','registerCustomCallback','next','mergeListItemBackward','getAttribute','*Outdent:*\x20%0','setSelection','documentList','has','end','from','document','value','getFirstRange','detach','getSelectedBlocks','expandListBlocksToCompleteList','mergeListItemForward','_descriptionFactory','isFirstBlockOfListItem','DocumentListEditing','formatInline','deletion','forceValue','push','listItemId','commands','commandName','*Format:*\x20remove\x20from\x20%0','findIndex','TrackChangesEditing','selection','isObject','*Format:*\x20insert\x20into\x20%0','parent','_LIST','formatBlock','splitListItemBefore'];(function(_0x46459f,_0xd783d0){const _0x5e3696=function(_0x220800){while(--_0x220800){_0x46459f['push'](_0x46459f['shift']());}};_0x5e3696(++_0xd783d0);}(_0xd783,0x18b));const _0x5e36=function(_0x46459f,_0xd783d0){_0x46459f=_0x46459f-0x0;let _0x5e3696=_0xd783[_0x46459f];return _0x5e3696;};import{Plugin as _0x441c51}from'ckeditor5/src/core';import{getTranslation as _0x218de4}from'../utils/common-translations';import{LiveRange as _0x2a4ab7}from'ckeditor5/src/engine';export default class q extends _0x441c51{['afterInit'](){const _0x54cd28=this[_0x5e36('0x1')];if(!_0x54cd28['plugins'][_0x5e36('0x1f')](_0x5e36('0x2b')))return;const _0x28905d=_0x54cd28['locale'],_0x4ba6c0=_0x54cd28[_0x5e36('0x15')][_0x5e36('0x4a')](_0x5e36('0x35')),_0xff650c=_0x54cd28[_0x5e36('0x15')][_0x5e36('0x4a')]('DocumentListUtils');function _0x3a33f4(_0x874d27){return()=>{const _0x7fdd95=_0x54cd28[_0x5e36('0x31')][_0x5e36('0x4a')](_0x874d27);if(_0x7fdd95['value']&&!_0x54cd28[_0x5e36('0x4b')][_0x5e36('0x4a')](_0x5e36('0xd')))return void _0x54cd28[_0x5e36('0x46')](_0x5e36('0x5'),{});let _0x2a586b=Array['from'](_0x54cd28['model']['document']['selection'][_0x5e36('0x26')]());if(_0x46af7d(_0x874d27)){_0x2a586b=_0xff650c[_0x5e36('0x27')](_0x2a586b);const _0x329494=[];for(const _0x3b85e1 of _0x2a586b)_0xff650c[_0x5e36('0x2a')](_0x3b85e1)&&_0x329494['push'](_0x3b85e1);_0x2a586b=_0x329494;}_0x54cd28[_0x5e36('0x14')][_0x5e36('0x13')](()=>{_0x4ba6c0['markMultiRangeBlockFormat'](_0x2a586b,{'commandName':_0x874d27,'commandParams':[{'forceValue':!_0x7fdd95[_0x5e36('0x23')]}],'formatGroupId':_0x5e36('0x11')},[],_0x5e36('0x1e'));});};}function _0x22d9be(_0x52c8e4){return()=>{const _0x2e098f=function(_0x2b6419){let _0x302867=Array[_0x5e36('0x21')](_0x2b6419);const _0x4ce6ed=_0x302867[_0x5e36('0x34')](_0x57fbfb=>!_0x57fbfb[_0x5e36('0x3')]('listItemId'));return _0x4ce6ed>-0x1&&(_0x302867=_0x302867[_0x5e36('0x48')](0x0,_0x4ce6ed)),_0x302867;}(_0x54cd28['model'][_0x5e36('0x22')][_0x5e36('0x36')][_0x5e36('0x26')]()),_0x315434=_0x2e098f[_0x2e098f[_0x5e36('0xf')]-0x1],_0x23f357=_0x54cd28[_0x5e36('0x14')]['schema'][_0x5e36('0x37')](_0x315434)?_0x5e36('0x2'):'end',_0x10f5b0=_0x54cd28[_0x5e36('0x14')]['createRange'](_0x54cd28[_0x5e36('0x14')]['createPositionAt'](_0x2e098f[0x0],'before'),_0x54cd28[_0x5e36('0x14')][_0x5e36('0x3d')](_0x315434,_0x23f357));_0x54cd28[_0x5e36('0x14')][_0x5e36('0x13')](()=>{_0x4ba6c0[_0x5e36('0x42')](_0x10f5b0,{'commandName':_0x52c8e4,'commandParams':[],'formatGroupId':_0x5e36('0x11')},function(_0x5decbb){const _0x2faa8c=new Set();for(const _0x550d56 of _0x5decbb){let _0x52450f=_0x550d56[_0x5e36('0xe')];for(;_0x52450f&&_0x52450f[_0x5e36('0x1b')](_0x5e36('0x3f'))>_0x550d56[_0x5e36('0x1b')](_0x5e36('0x3f'));)_0x2faa8c['add'](_0x52450f),_0x52450f=_0x52450f[_0x5e36('0xe')];}return Array[_0x5e36('0x21')](_0x2faa8c);}(_0x2e098f));});};}function _0x546859(_0x254eea){return()=>{const _0x5b2b00=_0x54cd28[_0x5e36('0x14')][_0x5e36('0x22')][_0x5e36('0x36')][_0x5e36('0x26')]()[_0x5e36('0x19')]()[_0x5e36('0x23')],_0x459c8e=_0x54cd28[_0x5e36('0x14')][_0x5e36('0x3d')](_0x5b2b00,_0x5e36('0x16')),_0x1efa44=_0x54cd28['model'][_0x5e36('0x3d')](_0x5b2b00,0x0),_0x2881e6=_0x54cd28[_0x5e36('0x14')][_0x5e36('0x17')](_0x459c8e,_0x1efa44);_0x54cd28[_0x5e36('0x14')][_0x5e36('0x13')](()=>{_0x4ba6c0[_0x5e36('0x42')](_0x2881e6,{'commandName':_0x254eea,'commandParams':[],'formatGroupId':_0x5e36('0x11')});});};}function _0x46af7d(_0x392afd){const _0x309adf=_0x54cd28[_0x5e36('0x31')][_0x5e36('0x4a')](_0x5e36('0x47'))[_0x5e36('0x23')],_0x4eadec=_0x54cd28[_0x5e36('0x31')][_0x5e36('0x4a')](_0x5e36('0x7'))[_0x5e36('0x23')];return _0x5e36('0x7')===_0x392afd?_0x309adf:_0x4eadec;}_0x4ba6c0[_0x5e36('0x44')]('numberedList',_0x3a33f4('numberedList')),_0x4ba6c0['enableCommand'](_0x5e36('0x47'),_0x3a33f4(_0x5e36('0x47'))),_0x4ba6c0[_0x5e36('0x44')](_0x5e36('0x41'),_0x22d9be('indentList')),_0x4ba6c0['enableCommand'](_0x5e36('0x43'),_0x22d9be(_0x5e36('0x43'))),_0x4ba6c0[_0x5e36('0x44')]('splitListItemAfter',_0x546859('splitListItemAfter')),_0x4ba6c0[_0x5e36('0x44')](_0x5e36('0x3c'),_0x546859('splitListItemBefore')),_0x4ba6c0[_0x5e36('0x29')][_0x5e36('0x6')](function(_0x1fdb3c){const _0x1110c0=!_0x54cd28[_0x5e36('0x14')]['schema'][_0x5e36('0x37')](_0x1fdb3c),_0x419b64=_0x1fdb3c['previousSibling'],_0x9f139d=_0x1fdb3c['nextSibling'],_0x321a17=_0x1fdb3c[_0x5e36('0x1b')]('listItemId'),_0x23fa3e=!_0x419b64||_0x419b64[_0x5e36('0x1b')](_0x5e36('0x30'))!==_0x321a17,_0xe7964=!_0x9f139d||_0x9f139d[_0x5e36('0x1b')](_0x5e36('0x30'))!==_0x321a17;return _0x1110c0&&Boolean(_0x321a17)&&_0x23fa3e&&_0xe7964;},_0x5e4bbf=>_0x218de4(_0x28905d,_0x5e36('0xc'),_0x5e4bbf)),_0x4ba6c0[_0x5e36('0x29')][_0x5e36('0xa')](function(_0x3db61d){if(_0x5e36('0x3b')!=_0x3db61d['type']&&_0x5e36('0x2c')!=_0x3db61d['type'])return;const {data:_0x36c7a3}=_0x3db61d;if(!_0x36c7a3)return;let _0x53e24d,_0x3e605a,_0x3726a6,_0x4a17c2;switch(_0x36c7a3['commandName']){case _0x5e36('0x47'):_0x3726a6=_0x36c7a3[_0x5e36('0x49')][0x0][_0x5e36('0x2e')],_0x4a17c2=_0x46af7d(_0x36c7a3['commandName']),_0x53e24d=_0x3726a6?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x4a17c2&&_0x54cd28['config'][_0x5e36('0x4a')](_0x5e36('0xd'))||(_0x53e24d=_0x5e36('0x4')),_0x3e605a={'type':_0x5e36('0x10'),'content':_0x218de4(_0x28905d,_0x53e24d,_0x218de4(_0x28905d,'ELEMENT_BULLETED_LIST'))};break;case _0x5e36('0x7'):_0x3726a6=_0x36c7a3[_0x5e36('0x49')][0x0][_0x5e36('0x2e')],_0x4a17c2=_0x46af7d(_0x36c7a3[_0x5e36('0x32')]),_0x53e24d=_0x3726a6?_0x5e36('0x38'):_0x5e36('0x33'),!_0x4a17c2&&_0x54cd28[_0x5e36('0x4b')][_0x5e36('0x4a')]('list.multiBlock')||(_0x53e24d=_0x5e36('0x4')),_0x3e605a={'type':_0x5e36('0x10'),'content':_0x218de4(_0x28905d,_0x53e24d,_0x218de4(_0x28905d,'ELEMENT_NUMBERED_LIST'))};break;case _0x5e36('0x41'):_0x53e24d='*Indent:*\x20%0',_0x3e605a={'type':_0x5e36('0x10'),'content':_0x218de4(_0x28905d,_0x53e24d,_0x218de4(_0x28905d,_0x5e36('0xc')))};break;case'outdentList':_0x53e24d=function(_0x1d89af){const _0x5e76ff=_0x1d89af[_0x5e36('0x24')]();let _0x11ed9e=_0x5e76ff[_0x5e36('0x12')][_0x5e36('0x3e')];for(;_0x11ed9e&&_0x5e76ff[_0x5e36('0x9')](_0x11ed9e);){if(_0x11ed9e['getAttribute'](_0x5e36('0x3f'))>0x0)return!0x1;_0x11ed9e=_0x11ed9e[_0x5e36('0xe')];}return!0x0;}(_0x3db61d)?_0x218de4(_0x28905d,_0x5e36('0x33'),_0x218de4(_0x28905d,function(_0x556943){const _0x31b98d=_0x556943[_0x5e36('0x24')]()[_0x5e36('0x12')][_0x5e36('0x3e')];return _0x5e36('0xb')+_0x31b98d[_0x5e36('0x1b')](_0x5e36('0x11'))[_0x5e36('0x40')]()+_0x5e36('0x3a');}(_0x3db61d))):_0x218de4(_0x28905d,_0x5e36('0x1c'),_0x218de4(_0x28905d,_0x5e36('0xc'))),_0x3e605a={'type':_0x5e36('0x10'),'content':_0x53e24d};break;case _0x5e36('0x1a'):case _0x5e36('0x28'):!0x1===_0x36c7a3['multipleBlocks']&&(_0x53e24d=_0x5e36('0x45'),_0x3e605a={'type':_0x5e36('0x2d'),'content':_0x218de4(_0x28905d,_0x53e24d,_0x218de4(_0x28905d,_0x5e36('0xc')))});}return _0x3e605a;}),_0x4ba6c0['_suggestionFactory'][_0x5e36('0x18')](_0x5e36('0x3b'),_0x5e36('0x1e'),'accept',function(_0x425f31,_0x54fdec){const _0x24d587=[];for(let _0xa2cfcd of _0x425f31)_0xa2cfcd[_0x5e36('0x12')][_0x5e36('0x3e')]===_0xa2cfcd[_0x5e36('0x20')][_0x5e36('0x39')]&&(_0xa2cfcd=_0x54cd28['model'][_0x5e36('0x17')](_0x54cd28[_0x5e36('0x14')]['createPositionAt'](_0xa2cfcd[_0x5e36('0x12')]['nodeAfter'],0x0))),_0x24d587[_0x5e36('0x2f')](_0xa2cfcd);_0x54cd28[_0x5e36('0x14')][_0x5e36('0x13')](_0x4f2af8=>{const _0x522923=_0x54cd28[_0x5e36('0x14')]['document'][_0x5e36('0x36')],_0x138905=Array[_0x5e36('0x21')](_0x522923[_0x5e36('0x0')]())['map'](_0x1cc79c=>_0x2a4ab7[_0x5e36('0x8')](_0x1cc79c));_0x4f2af8[_0x5e36('0x1d')](_0x24d587),_0x54cd28[_0x5e36('0x31')][_0x5e36('0x4a')](_0x54fdec[_0x5e36('0x32')])['refresh'](),_0x54fdec['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x54cd28[_0x5e36('0x46')](_0x54fdec['commandName'],..._0x54fdec['commandParams']),_0x4f2af8['setSelection'](_0x138905);for(const _0x4ae077 of _0x138905)_0x4ae077[_0x5e36('0x25')]();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10f6=['listType','change','getListTypeFromListStyleType','handleListReversedCommand','markMultiRangeBlockFormat','DocumentListPropertiesEditing','listReversed','plugins','type','listStyle','commandName','afterInit','toUpperCase','config','formatInline','*Format:*\x20set\x20start\x20index\x20to\x20%0','enableCommand','model','handleDescriptions','get','ELEMENT_','list.properties','DocumentListPropertiesUtils','*Format:*\x20set\x20order\x20to\x20regular','getAttribute','startIndex','getSelectedBlocks','DocumentListUtils','reversed','bind','from','registerDescriptionCallback','_getTranslationKeyForListStyle','_getSuggestionBlocks','commandParams','format','styles','formatBlock','TrackChangesEditing','document','replace','*Format:*\x20set\x20order\x20to\x20reversed','expandListBlocksToCompleteList','listStart','*Change\x20to:*\x20%0','filter','handleListStartCommand','editor','push','selection','handleListStyleCommand','_getSuggestionBlocksForListStyle','has'];(function(_0x4c0b52,_0x10f6eb){const _0x4cfea9=function(_0x11a8f1){while(--_0x11a8f1){_0x4c0b52['push'](_0x4c0b52['shift']());}};_0x4cfea9(++_0x10f6eb);}(_0x10f6,0x1a3));const _0x4cfe=function(_0x4c0b52,_0x10f6eb){_0x4c0b52=_0x4c0b52-0x0;let _0x4cfea9=_0x10f6[_0x4c0b52];return _0x4cfea9;};import{Plugin as _0x445cfc}from'ckeditor5/src/core';import{getTranslation as _0xb3356e}from'../utils/common-translations';export default class z extends _0x445cfc{[_0x4cfe('0x10')](){if(!this[_0x4cfe('0x34')][_0x4cfe('0xc')][_0x4cfe('0x4')](_0x4cfe('0xa')))return;const _0x101b84=this[_0x4cfe('0x34')][_0x4cfe('0x12')][_0x4cfe('0x18')](_0x4cfe('0x1a')),_0x4148aa=this[_0x4cfe('0x34')]['plugins'][_0x4cfe('0x18')]('TrackChangesEditing');_0x101b84[_0x4cfe('0x29')]&&_0x4148aa['enableCommand'](_0x4cfe('0xe'),this[_0x4cfe('0x2')][_0x4cfe('0x22')](this)),_0x101b84['reversed']&&_0x4148aa[_0x4cfe('0x15')]('listReversed',this[_0x4cfe('0x8')][_0x4cfe('0x22')](this)),_0x101b84[_0x4cfe('0x1e')]&&_0x4148aa[_0x4cfe('0x15')]('listStart',this[_0x4cfe('0x33')][_0x4cfe('0x22')](this)),_0x4148aa['_descriptionFactory'][_0x4cfe('0x24')](this[_0x4cfe('0x17')]['bind'](this));}[_0x4cfe('0x2')](_0x17cb55,_0x1cd55f={}){const _0x201dbe=this['editor'][_0x4cfe('0xc')][_0x4cfe('0x18')](_0x4cfe('0x2b')),_0x1d2e00=this[_0x4cfe('0x3')]();this[_0x4cfe('0x34')][_0x4cfe('0x16')][_0x4cfe('0x6')](()=>{_0x201dbe[_0x4cfe('0x9')](_0x1d2e00,{'commandName':_0x4cfe('0xe'),'commandParams':[{'type':_0x1cd55f['type']}],'formatGroupId':_0x4cfe('0xe')});});}[_0x4cfe('0x8')](_0x312b2e,_0x52e202={}){const _0x31d8c1=this[_0x4cfe('0x34')][_0x4cfe('0xc')][_0x4cfe('0x18')]('TrackChangesEditing'),_0x59e678=this['editor']['plugins'][_0x4cfe('0x18')](_0x4cfe('0x20')),_0x1353b5=this['_getSuggestionBlocks'](_0xc47594=>_0x59e678['isListItemBlock'](_0xc47594)&&'numbered'===_0xc47594[_0x4cfe('0x1d')](_0x4cfe('0x5')));null!==_0x1353b5&&this[_0x4cfe('0x34')][_0x4cfe('0x16')][_0x4cfe('0x6')](()=>{_0x31d8c1[_0x4cfe('0x9')](_0x1353b5,{'commandName':_0x4cfe('0xb'),'commandParams':[{'reversed':_0x52e202[_0x4cfe('0x21')]}],'formatGroupId':_0x4cfe('0xb')});});}[_0x4cfe('0x33')](_0x3664bf,_0x5a4004={}){const _0x5e9f2c=this[_0x4cfe('0x34')][_0x4cfe('0xc')][_0x4cfe('0x18')](_0x4cfe('0x2b')),_0x41e5ea=this[_0x4cfe('0x34')][_0x4cfe('0xc')][_0x4cfe('0x18')](_0x4cfe('0x20')),_0x752021=this['_getSuggestionBlocks'](_0x59dd11=>_0x41e5ea['isListItemBlock'](_0x59dd11)&&'numbered'===_0x59dd11['getAttribute']('listType'));null!==_0x752021&&this[_0x4cfe('0x34')][_0x4cfe('0x16')][_0x4cfe('0x6')](()=>{_0x5e9f2c[_0x4cfe('0x9')](_0x752021,{'commandName':_0x4cfe('0x30'),'commandParams':[{'startIndex':_0x5a4004[_0x4cfe('0x1e')]}],'formatGroupId':_0x4cfe('0x30')});});}['handleDescriptions'](_0x3a6194){if(_0x4cfe('0x2a')!=_0x3a6194[_0x4cfe('0xd')]&&_0x4cfe('0x13')!=_0x3a6194[_0x4cfe('0xd')])return;const _0x4af20f=this['editor']['locale'],{data:_0x204d5c}=_0x3a6194;if(!_0x204d5c)return;let _0xec7f95,_0x4e9613;switch(_0x204d5c[_0x4cfe('0xf')]){case _0x4cfe('0xe'):_0xec7f95=_0x4cfe('0x31'),_0x4e9613={'type':_0x4cfe('0x28'),'content':_0xb3356e(_0x4af20f,_0xec7f95,_0xb3356e(_0x4af20f,this[_0x4cfe('0x25')](_0x204d5c['commandParams'][0x0][_0x4cfe('0xd')])))};break;case _0x4cfe('0xb'):_0xec7f95=_0x204d5c[_0x4cfe('0x27')][0x0][_0x4cfe('0x21')]?_0x4cfe('0x2e'):_0x4cfe('0x1c'),_0x4e9613={'type':_0x4cfe('0x28'),'content':_0xb3356e(_0x4af20f,_0xec7f95)};break;case'listStart':_0xec7f95=_0x4cfe('0x14'),_0x4e9613={'type':'format','content':_0xb3356e(_0x4af20f,_0xec7f95,_0x204d5c[_0x4cfe('0x27')][0x0]['startIndex'])};}return _0x4e9613;}[_0x4cfe('0x3')](){const _0x45f7a8=this[_0x4cfe('0x34')][_0x4cfe('0xc')][_0x4cfe('0x18')](_0x4cfe('0x20'));let _0x3f8434=Array[_0x4cfe('0x23')](this[_0x4cfe('0x34')][_0x4cfe('0x16')][_0x4cfe('0x2c')]['selection'][_0x4cfe('0x1f')]());return _0x3f8434['push'](..._0x45f7a8['expandListBlocksToCompleteList'](_0x3f8434)),_0x3f8434=[...new Set(_0x3f8434)],_0x3f8434;}[_0x4cfe('0x26')](_0x5033cf){const _0x35c3e8=this['editor'][_0x4cfe('0xc')][_0x4cfe('0x18')](_0x4cfe('0x20'));let _0x24e96b=Array[_0x4cfe('0x23')](this[_0x4cfe('0x34')][_0x4cfe('0x16')]['document'][_0x4cfe('0x1')]['getSelectedBlocks']())[_0x4cfe('0x32')](_0x5033cf);if(!_0x24e96b['length'])return null;_0x24e96b=_0x35c3e8[_0x4cfe('0x2f')](_0x24e96b);const _0x58f8fe=[];for(const _0x1c32c6 of _0x24e96b)_0x35c3e8['isFirstBlockOfListItem'](_0x1c32c6)&&_0x58f8fe[_0x4cfe('0x0')](_0x1c32c6);return _0x58f8fe;}[_0x4cfe('0x25')](_0x5c6736){return _0x4cfe('0x19')+this[_0x4cfe('0x34')][_0x4cfe('0xc')][_0x4cfe('0x18')](_0x4cfe('0x1b'))[_0x4cfe('0x7')](_0x5c6736)[_0x4cfe('0x11')]()+'_LIST_'+_0x5c6736[_0x4cfe('0x11')]()[_0x4cfe('0x2d')](/-/g,'_');}}
23
+ const _0x3292=['replace','*Format:*\x20set\x20order\x20to\x20reversed','*Format:*\x20set\x20start\x20index\x20to\x20%0','reversed','_getSuggestionBlocksForListStyle','_getSuggestionBlocks','handleListStyleCommand','format','_LIST_','length','numbered','handleListReversedCommand','*Change\x20to:*\x20%0','editor','formatBlock','list.properties','document','plugins','listStart','change','*Format:*\x20set\x20order\x20to\x20regular','selection','getSelectedBlocks','bind','type','listReversed','afterInit','startIndex','markMultiRangeBlockFormat','commandParams','config','model','listStyle','listType','get','filter','enableCommand','push','isListItemBlock','handleListStartCommand','expandListBlocksToCompleteList','from','formatInline','DocumentListPropertiesEditing','DocumentListUtils','has','TrackChangesEditing','styles','registerDescriptionCallback','isFirstBlockOfListItem','getAttribute','_getTranslationKeyForListStyle','toUpperCase','commandName'];(function(_0x32ec37,_0x329210){const _0x1aaf04=function(_0xc94e24){while(--_0xc94e24){_0x32ec37['push'](_0x32ec37['shift']());}};_0x1aaf04(++_0x329210);}(_0x3292,0x71));const _0x1aaf=function(_0x32ec37,_0x329210){_0x32ec37=_0x32ec37-0x0;let _0x1aaf04=_0x3292[_0x32ec37];return _0x1aaf04;};import{Plugin as _0x246d5c}from'ckeditor5/src/core';import{getTranslation as _0x1cef1a}from'../utils/common-translations';export default class z extends _0x246d5c{[_0x1aaf('0x15')](){if(!this[_0x1aaf('0x8')]['plugins'][_0x1aaf('0x28')](_0x1aaf('0x26')))return;const _0x3fe071=this[_0x1aaf('0x8')][_0x1aaf('0x19')][_0x1aaf('0x1d')](_0x1aaf('0xa')),_0x3b9488=this[_0x1aaf('0x8')]['plugins'][_0x1aaf('0x1d')](_0x1aaf('0x29'));_0x3fe071[_0x1aaf('0x2a')]&&_0x3b9488['enableCommand'](_0x1aaf('0x1b'),this[_0x1aaf('0x1')]['bind'](this)),_0x3fe071[_0x1aaf('0x34')]&&_0x3b9488[_0x1aaf('0x1f')](_0x1aaf('0x14'),this[_0x1aaf('0x6')][_0x1aaf('0x12')](this)),_0x3fe071[_0x1aaf('0x16')]&&_0x3b9488[_0x1aaf('0x1f')](_0x1aaf('0xd'),this[_0x1aaf('0x22')][_0x1aaf('0x12')](this)),_0x3b9488['_descriptionFactory'][_0x1aaf('0x2b')](this['handleDescriptions'][_0x1aaf('0x12')](this));}[_0x1aaf('0x1')](_0x35e8a3,_0x38ac82={}){const _0xa3580c=this['editor'][_0x1aaf('0xc')][_0x1aaf('0x1d')](_0x1aaf('0x29')),_0x38f192=this[_0x1aaf('0x35')]();this[_0x1aaf('0x8')][_0x1aaf('0x1a')]['change'](()=>{_0xa3580c[_0x1aaf('0x17')](_0x38f192,{'commandName':'listStyle','commandParams':[{'type':_0x38ac82[_0x1aaf('0x13')]}],'formatGroupId':_0x1aaf('0x1b')});});}['handleListReversedCommand'](_0xfda47,_0x182646={}){const _0x579bd6=this[_0x1aaf('0x8')]['plugins'][_0x1aaf('0x1d')](_0x1aaf('0x29')),_0xaedf8e=this['editor']['plugins'][_0x1aaf('0x1d')](_0x1aaf('0x27')),_0x27afba=this[_0x1aaf('0x0')](_0x149fc1=>_0xaedf8e[_0x1aaf('0x21')](_0x149fc1)&&_0x1aaf('0x5')===_0x149fc1['getAttribute']('listType'));null!==_0x27afba&&this[_0x1aaf('0x8')]['model'][_0x1aaf('0xe')](()=>{_0x579bd6['markMultiRangeBlockFormat'](_0x27afba,{'commandName':'listReversed','commandParams':[{'reversed':_0x182646[_0x1aaf('0x34')]}],'formatGroupId':_0x1aaf('0x14')});});}[_0x1aaf('0x22')](_0x221b76,_0x2089f={}){const _0x34cf27=this[_0x1aaf('0x8')][_0x1aaf('0xc')][_0x1aaf('0x1d')]('TrackChangesEditing'),_0x38100f=this['editor']['plugins']['get']('DocumentListUtils'),_0x3d6826=this[_0x1aaf('0x0')](_0x3627c0=>_0x38100f[_0x1aaf('0x21')](_0x3627c0)&&_0x1aaf('0x5')===_0x3627c0[_0x1aaf('0x2d')](_0x1aaf('0x1c')));null!==_0x3d6826&&this[_0x1aaf('0x8')][_0x1aaf('0x1a')][_0x1aaf('0xe')](()=>{_0x34cf27[_0x1aaf('0x17')](_0x3d6826,{'commandName':_0x1aaf('0xd'),'commandParams':[{'startIndex':_0x2089f['startIndex']}],'formatGroupId':_0x1aaf('0xd')});});}['handleDescriptions'](_0x59584f){if(_0x1aaf('0x9')!=_0x59584f[_0x1aaf('0x13')]&&_0x1aaf('0x25')!=_0x59584f[_0x1aaf('0x13')])return;const _0x50662a=this[_0x1aaf('0x8')]['locale'],{data:_0x3b9956}=_0x59584f;if(!_0x3b9956)return;let _0x20edb9,_0x500aee;switch(_0x3b9956[_0x1aaf('0x30')]){case _0x1aaf('0x1b'):_0x20edb9=_0x1aaf('0x7'),_0x500aee={'type':_0x1aaf('0x2'),'content':_0x1cef1a(_0x50662a,_0x20edb9,_0x1cef1a(_0x50662a,this['_getTranslationKeyForListStyle'](_0x3b9956[_0x1aaf('0x18')][0x0]['type'])))};break;case'listReversed':_0x20edb9=_0x3b9956[_0x1aaf('0x18')][0x0][_0x1aaf('0x34')]?_0x1aaf('0x32'):_0x1aaf('0xf'),_0x500aee={'type':_0x1aaf('0x2'),'content':_0x1cef1a(_0x50662a,_0x20edb9)};break;case'listStart':_0x20edb9=_0x1aaf('0x33'),_0x500aee={'type':_0x1aaf('0x2'),'content':_0x1cef1a(_0x50662a,_0x20edb9,_0x3b9956[_0x1aaf('0x18')][0x0][_0x1aaf('0x16')])};}return _0x500aee;}['_getSuggestionBlocksForListStyle'](){const _0x2dbd97=this[_0x1aaf('0x8')][_0x1aaf('0xc')]['get'](_0x1aaf('0x27'));let _0x284c51=Array[_0x1aaf('0x24')](this['editor']['model'][_0x1aaf('0xb')][_0x1aaf('0x10')][_0x1aaf('0x11')]());return _0x284c51[_0x1aaf('0x20')](..._0x2dbd97[_0x1aaf('0x23')](_0x284c51)),_0x284c51=[...new Set(_0x284c51)],_0x284c51;}[_0x1aaf('0x0')](_0xf67d1b){const _0x23562f=this[_0x1aaf('0x8')][_0x1aaf('0xc')][_0x1aaf('0x1d')](_0x1aaf('0x27'));let _0x5af139=Array[_0x1aaf('0x24')](this['editor'][_0x1aaf('0x1a')][_0x1aaf('0xb')][_0x1aaf('0x10')][_0x1aaf('0x11')]())[_0x1aaf('0x1e')](_0xf67d1b);if(!_0x5af139[_0x1aaf('0x4')])return null;_0x5af139=_0x23562f[_0x1aaf('0x23')](_0x5af139);const _0x502f8b=[];for(const _0x1a2ea9 of _0x5af139)_0x23562f[_0x1aaf('0x2c')](_0x1a2ea9)&&_0x502f8b['push'](_0x1a2ea9);return _0x502f8b;}[_0x1aaf('0x2e')](_0x513a89){return'ELEMENT_'+this['editor'][_0x1aaf('0xc')][_0x1aaf('0x1d')]('DocumentListPropertiesUtils')['getListTypeFromListStyleType'](_0x513a89)[_0x1aaf('0x2f')]()+_0x1aaf('0x3')+_0x513a89[_0x1aaf('0x2f')]()[_0x1aaf('0x31')](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f49=['model','init','change','getFirstPosition','enableCommand','data','unbindElementFromMarkerName','downcastDispatcher','addMarker:suggestion:insertion','requires','selection','editing','editor','detach','bind','hasClass','nextSibling','writer','mapper','markInsertion','TrackChangesEditing','split','markerName','document','createPositionAt','end','fire','plugins','options','get','enter','setSelection','showSuggestionHighlights','getFirstRange','createRange','ck-suggestion-marker-split'];(function(_0x1cf934,_0x5f499b){const _0x9f1f40=function(_0x3038b0){while(--_0x3038b0){_0x1cf934['push'](_0x1cf934['shift']());}};_0x9f1f40(++_0x5f499b);}(_0x5f49,0xdd));const _0x9f1f=function(_0x1cf934,_0x5f499b){_0x1cf934=_0x1cf934-0x0;let _0x9f1f40=_0x5f49[_0x1cf934];return _0x9f1f40;};import{Plugin as _0x54ef57}from'ckeditor5/src/core';import{Enter as _0x2746a8}from'ckeditor5/src/enter';import{LiveRange as _0x3aa652}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x32c368}from'./utils';export default class W extends _0x54ef57{static get[_0x9f1f('0x4')](){return[_0x2746a8];}[_0x9f1f('0x20')](){const _0x29c77f=this[_0x9f1f('0x7')],_0x3dec3b=_0x29c77f[_0x9f1f('0x16')][_0x9f1f('0x18')](_0x9f1f('0xf')),_0x3ad4e6=_0x29c77f['commands'][_0x9f1f('0x18')](_0x9f1f('0x19'));_0x3dec3b[_0x9f1f('0x23')](_0x9f1f('0x19'),()=>{_0x29c77f[_0x9f1f('0x1f')][_0x9f1f('0x21')](_0x1bfa53=>{const _0x1bd1eb=_0x29c77f[_0x9f1f('0x1f')][_0x9f1f('0x12')][_0x9f1f('0x5')],_0x5a5cae=_0x1bd1eb[_0x9f1f('0x22')](),_0x283f22=_0x3aa652['fromRange'](_0x1bd1eb[_0x9f1f('0x1c')]());if(_0x3ad4e6['enterBlock'](_0x1bfa53)){const _0x31f964=_0x29c77f[_0x9f1f('0x1f')][_0x9f1f('0x13')](_0x5a5cae['parent'][_0x9f1f('0xb')],0x0),_0x26fe44=_0x1bfa53['createRange'](_0x5a5cae,_0x31f964);_0x3dec3b[_0x9f1f('0xe')](_0x26fe44);}else _0x1bfa53[_0x9f1f('0x1a')](_0x1bfa53[_0x9f1f('0x1d')](_0x283f22[_0x9f1f('0x14')]));_0x283f22[_0x9f1f('0x8')](),_0x3ad4e6[_0x9f1f('0x15')]('afterExecute',{'writer':_0x1bfa53});});}),_0x29c77f['editing']['downcastDispatcher']['on'](_0x9f1f('0x3'),_0x32c368(_0x29c77f,'split'),{'priority':'high'}),_0x29c77f[_0x9f1f('0x6')][_0x9f1f('0x2')]['on']('removeMarker:suggestion:insertion',(_0x3044ea,_0x595ab3,_0x206b01)=>{const _0x183dd5=_0x206b01[_0x9f1f('0xd')]['markerNameToElements'](_0x595ab3[_0x9f1f('0x11')]);if(_0x183dd5)for(const _0xff28d0 of _0x183dd5)_0xff28d0[_0x9f1f('0xa')](_0x9f1f('0x1e'))&&(_0x206b01[_0x9f1f('0xd')][_0x9f1f('0x1')](_0xff28d0,_0x595ab3[_0x9f1f('0x11')]),_0x206b01[_0x9f1f('0xc')]['remove'](_0xff28d0));},{'priority':'high'}),_0x29c77f[_0x9f1f('0x0')]['downcastDispatcher']['on'](_0x9f1f('0x3'),(_0x638545,_0x48e1ec,_0x43e15e)=>{_0x43e15e[_0x9f1f('0x17')][_0x9f1f('0x1b')]&&_0x32c368(_0x29c77f,_0x9f1f('0x10'),{'showActiveMarker':!0x1})[_0x9f1f('0x9')](this)(_0x638545,_0x48e1ec,_0x43e15e);},{'priority':'high'});}}
23
+ const _0x3e9f=['enableCommand','change','removeMarker:suggestion:insertion','downcastDispatcher','enter','unbindElementFromMarkerName','commands','writer','markerName','editing','editor','createRange','afterExecute','high','requires','remove','enterBlock','model','data','getFirstRange','fire','addMarker:suggestion:insertion','document','end','parent','bind','markInsertion','split','markerNameToElements','showSuggestionHighlights','mapper','ck-suggestion-marker-split','getFirstPosition','detach'];(function(_0x2154cd,_0x3e9fa8){const _0x5a43fb=function(_0x409c6d){while(--_0x409c6d){_0x2154cd['push'](_0x2154cd['shift']());}};_0x5a43fb(++_0x3e9fa8);}(_0x3e9f,0xf0));const _0x5a43=function(_0x2154cd,_0x3e9fa8){_0x2154cd=_0x2154cd-0x0;let _0x5a43fb=_0x3e9f[_0x2154cd];return _0x5a43fb;};import{Plugin as _0x5f466e}from'ckeditor5/src/core';import{Enter as _0x4457c2}from'ckeditor5/src/enter';import{LiveRange as _0x51c91a}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x51ca01}from'./utils';export default class W extends _0x5f466e{static get[_0x5a43('0xc')](){return[_0x4457c2];}['init'](){const _0x515a33=this[_0x5a43('0x8')],_0x2cc553=_0x515a33['plugins']['get']('TrackChangesEditing'),_0x2f6f44=_0x515a33[_0x5a43('0x4')]['get'](_0x5a43('0x2'));_0x2cc553[_0x5a43('0x20')](_0x5a43('0x2'),()=>{_0x515a33[_0x5a43('0xf')][_0x5a43('0x21')](_0x1d7340=>{const _0x340433=_0x515a33[_0x5a43('0xf')][_0x5a43('0x14')]['selection'],_0x1ddb3e=_0x340433[_0x5a43('0x1e')](),_0x144d1a=_0x51c91a['fromRange'](_0x340433[_0x5a43('0x11')]());if(_0x2f6f44[_0x5a43('0xe')](_0x1d7340)){const _0x1a8299=_0x515a33[_0x5a43('0xf')]['createPositionAt'](_0x1ddb3e[_0x5a43('0x16')]['nextSibling'],0x0),_0x362d8b=_0x1d7340['createRange'](_0x1ddb3e,_0x1a8299);_0x2cc553[_0x5a43('0x18')](_0x362d8b);}else _0x1d7340['setSelection'](_0x1d7340[_0x5a43('0x9')](_0x144d1a[_0x5a43('0x15')]));_0x144d1a[_0x5a43('0x1f')](),_0x2f6f44[_0x5a43('0x12')](_0x5a43('0xa'),{'writer':_0x1d7340});});}),_0x515a33['editing']['downcastDispatcher']['on'](_0x5a43('0x13'),_0x51ca01(_0x515a33,_0x5a43('0x19')),{'priority':'high'}),_0x515a33[_0x5a43('0x7')][_0x5a43('0x1')]['on'](_0x5a43('0x0'),(_0x1cc3a6,_0x24ed85,_0x36cc3d)=>{const _0x24ead9=_0x36cc3d[_0x5a43('0x1c')][_0x5a43('0x1a')](_0x24ed85[_0x5a43('0x6')]);if(_0x24ead9)for(const _0x21f468 of _0x24ead9)_0x21f468['hasClass'](_0x5a43('0x1d'))&&(_0x36cc3d['mapper'][_0x5a43('0x3')](_0x21f468,_0x24ed85[_0x5a43('0x6')]),_0x36cc3d[_0x5a43('0x5')][_0x5a43('0xd')](_0x21f468));},{'priority':_0x5a43('0xb')}),_0x515a33[_0x5a43('0x10')][_0x5a43('0x1')]['on'](_0x5a43('0x13'),(_0xdc888e,_0x2e2867,_0x3a488f)=>{_0x3a488f['options'][_0x5a43('0x1b')]&&_0x51ca01(_0x515a33,_0x5a43('0x19'),{'showActiveMarker':!0x1})[_0x5a43('0x17')](this)(_0xdc888e,_0x2e2867,_0x3a488f);},{'priority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2013=['TrackChangesEditing','get','has','model','getRange','suggestion:deletion','enableCommand','filter','findPrevious','find','plugins','handleFindCommand','findByTextCallback','afterInit','FindAndReplaceEditing','FindAndReplaceUtils','markers','start','createPositionAt','editor','_isInDeletionRange','getMarkersGroup','replace','findNext'];(function(_0x2a9ea1,_0x2013a2){const _0xc27cce=function(_0x1434a6){while(--_0x1434a6){_0x2a9ea1['push'](_0x2a9ea1['shift']());}};_0xc27cce(++_0x2013a2);}(_0x2013,0x117));const _0xc27c=function(_0x2a9ea1,_0x2013a2){_0x2a9ea1=_0x2a9ea1-0x0;let _0xc27cce=_0x2013[_0x2a9ea1];return _0xc27cce;};import{Plugin as _0x265b79}from'ckeditor5/src/core';export default class J extends _0x265b79{[_0xc27c('0x16')](){if(!this[_0xc27c('0x4')][_0xc27c('0x13')][_0xc27c('0xb')](_0xc27c('0x17')))return;const _0x3d43c0=this[_0xc27c('0x4')][_0xc27c('0x13')][_0xc27c('0xa')](_0xc27c('0x9'));_0x3d43c0[_0xc27c('0xf')](_0xc27c('0x12'),this[_0xc27c('0x14')]['bind'](this)),_0x3d43c0[_0xc27c('0xf')](_0xc27c('0x8')),_0x3d43c0[_0xc27c('0xf')](_0xc27c('0x11')),_0x3d43c0[_0xc27c('0xf')](_0xc27c('0x7')),_0x3d43c0[_0xc27c('0xf')]('replaceAll');}[_0xc27c('0x14')](_0x350466,_0x1c85e8,_0x2e2081={}){const _0x18be5c=this[_0xc27c('0x4')][_0xc27c('0x13')][_0xc27c('0xa')](_0xc27c('0x0'));return _0x350466(_0x5001e3=>('string'==typeof _0x1c85e8?_0x18be5c[_0xc27c('0x15')](_0x1c85e8,_0x2e2081):_0x1c85e8)(_0x5001e3)[_0xc27c('0x10')](_0x31d1d8=>!0x1===this['_isInDeletionRange'](_0x31d1d8,_0x5001e3['item'])),_0x2e2081);}[_0xc27c('0x5')](_0x3c8222,_0x44bfa6){const _0x332c2d=this['editor'][_0xc27c('0xc')]['createRange'](this['editor'][_0xc27c('0xc')][_0xc27c('0x3')](_0x44bfa6,_0x3c8222[_0xc27c('0x2')]),this[_0xc27c('0x4')][_0xc27c('0xc')]['createPositionAt'](_0x44bfa6,_0x3c8222['end']));for(const _0x24e59f of this['editor']['model'][_0xc27c('0x1')][_0xc27c('0x6')](_0xc27c('0xe')))if(null!==_0x332c2d['getIntersection'](_0x24e59f[_0xc27c('0xd')]()))return!0x0;return!0x1;}}
23
+ const _0xb3ac=['enableCommand','createRange','afterInit','model','replace','replaceAll','get','TrackChangesEditing','filter','_isInDeletionRange','getIntersection','getMarkersGroup','markers','handleFindCommand','item','findNext','has','createPositionAt','bind','find','editor','FindAndReplaceEditing','plugins','findPrevious','string'];(function(_0x48d39c,_0xb3ac57){const _0x184c12=function(_0xd34661){while(--_0xd34661){_0x48d39c['push'](_0x48d39c['shift']());}};_0x184c12(++_0xb3ac57);}(_0xb3ac,0x196));const _0x184c=function(_0x48d39c,_0xb3ac57){_0x48d39c=_0x48d39c-0x0;let _0x184c12=_0xb3ac[_0x48d39c];return _0x184c12;};import{Plugin as _0x6d056d}from'ckeditor5/src/core';export default class J extends _0x6d056d{[_0x184c('0x15')](){if(!this['editor'][_0x184c('0x10')][_0x184c('0xa')](_0x184c('0xf')))return;const _0x19891f=this[_0x184c('0xe')][_0x184c('0x10')][_0x184c('0x0')](_0x184c('0x1'));_0x19891f[_0x184c('0x13')](_0x184c('0xd'),this[_0x184c('0x7')][_0x184c('0xc')](this)),_0x19891f[_0x184c('0x13')](_0x184c('0x9')),_0x19891f['enableCommand'](_0x184c('0x11')),_0x19891f[_0x184c('0x13')](_0x184c('0x17')),_0x19891f[_0x184c('0x13')](_0x184c('0x18'));}[_0x184c('0x7')](_0x229911,_0xfb9880,_0x41b16b={}){const _0x12d86d=this[_0x184c('0xe')][_0x184c('0x10')][_0x184c('0x0')]('FindAndReplaceUtils');return _0x229911(_0xedc1fc=>(_0x184c('0x12')==typeof _0xfb9880?_0x12d86d['findByTextCallback'](_0xfb9880,_0x41b16b):_0xfb9880)(_0xedc1fc)[_0x184c('0x2')](_0x4e0c86=>!0x1===this['_isInDeletionRange'](_0x4e0c86,_0xedc1fc[_0x184c('0x8')])),_0x41b16b);}[_0x184c('0x3')](_0x339711,_0x447d3a){const _0x1c7fc9=this[_0x184c('0xe')]['model'][_0x184c('0x14')](this[_0x184c('0xe')][_0x184c('0x16')][_0x184c('0xb')](_0x447d3a,_0x339711['start']),this[_0x184c('0xe')][_0x184c('0x16')][_0x184c('0xb')](_0x447d3a,_0x339711['end']));for(const _0x3f65cb of this[_0x184c('0xe')][_0x184c('0x16')][_0x184c('0x6')][_0x184c('0x5')]('suggestion:deletion'))if(null!==_0x1c7fc9[_0x184c('0x4')](_0x3f65cb['getRange']()))return!0x0;return!0x1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21ee=['model','FontSize','*Reset\x20font\x20size*','*Set\x20font\x20color:*\x20%0','plugins','FontFamilyEditing','find','FontSizeEditing','commandParams','registerAttributeLabel','normalizeSizeOptions','*Set\x20font\x20family:*\x20%0','label','value','fontBackgroundColor','*Set\x20font\x20background\x20color:*\x20%0','fontSize.options','*Reset\x20font\x20family*','FORMAT_FONT_BACKGROUND','_enableDefaultAttributesIntegration','*Set\x20font\x20size:*\x20%0','fontSize','locale','get','fontFamily','fontColor.colors','config','_registerLegacyDescription','FORMAT_FONT_COLOR','fontColor','format','TrackChangesEditing','_descriptionFactory','commandName','title','editor','FORMAT_FONT_SIZE','toLowerCase','trim'];(function(_0x5e0ab5,_0x21eed9){const _0x3a4bf0=function(_0x4811e4){while(--_0x4811e4){_0x5e0ab5['push'](_0x5e0ab5['shift']());}};_0x3a4bf0(++_0x21eed9);}(_0x21ee,0x1ef));const _0x3a4b=function(_0x5e0ab5,_0x21eed9){_0x5e0ab5=_0x5e0ab5-0x0;let _0x3a4bf0=_0x21ee[_0x5e0ab5];return _0x3a4bf0;};import{Plugin as _0x1c95dc}from'ckeditor5/src/core';import{normalizeColorOptions as _0x12e9dd}from'ckeditor5/src/ui';import{getTranslation as _0x390dff}from'../utils/common-translations';const ro=[{'pluginName':_0x3a4b('0x13'),'commandName':_0x3a4b('0x21')},{'pluginName':_0x3a4b('0x11'),'commandName':_0x3a4b('0x24')},{'pluginName':'FontColorEditing','commandName':_0x3a4b('0x2')},{'pluginName':'FontBackgroundColorEditing','commandName':_0x3a4b('0x1a')}];export default class K extends _0x1c95dc{['afterInit'](){const _0x28022b=this['editor'][_0x3a4b('0x22')],_0x1bc961=this['editor'][_0x3a4b('0x10')][_0x3a4b('0x23')](_0x3a4b('0x4'));for(const {pluginName:_0x433166,commandName:_0x3a893a}of ro)this[_0x3a4b('0x8')][_0x3a4b('0x10')]['has'](_0x433166)&&_0x1bc961[_0x3a4b('0x1f')](_0x3a893a,[_0x3a893a]);_0x28022b['t'],(_0x1bc961[_0x3a4b('0x5')][_0x3a4b('0x15')]('fontSize',_0x390dff(_0x28022b,_0x3a4b('0x9'))),_0x1bc961[_0x3a4b('0x5')][_0x3a4b('0x15')](_0x3a4b('0x24'),_0x390dff(_0x28022b,'FORMAT_FONT_FAMILY')),_0x1bc961['_descriptionFactory']['registerAttributeLabel'](_0x3a4b('0x2'),_0x390dff(_0x28022b,_0x3a4b('0x1'))),_0x1bc961['_descriptionFactory'][_0x3a4b('0x15')](_0x3a4b('0x1a'),_0x390dff(_0x28022b,_0x3a4b('0x1e'))),this[_0x3a4b('0x0')]());}[_0x3a4b('0x0')](){const _0x2da691=this['editor'],_0x26f7c7=_0x2da691[_0x3a4b('0x22')];_0x2da691[_0x3a4b('0x10')][_0x3a4b('0x23')]('TrackChangesEditing')[_0x3a4b('0x5')]['registerDescriptionCallback'](_0x71db4e=>{const _0x57d0f9=_0x26f7c7['t'];if('formatInline'!=_0x71db4e['type'])return;const {data:_0x41923e}=_0x71db4e;if(null!=_0x41923e){if(_0x3a4b('0x21')==_0x41923e['commandName']){const _0x5c95ab=_0x41923e[_0x3a4b('0x14')][0x0][_0x3a4b('0x19')];if(_0x5c95ab){const _0x50bc51=_0x57d0f9(this[_0x3a4b('0x8')][_0x3a4b('0x10')][_0x3a4b('0x23')](_0x3a4b('0xd'))[_0x3a4b('0x16')](this[_0x3a4b('0x8')][_0x3a4b('0x26')][_0x3a4b('0x23')](_0x3a4b('0x1c')))[_0x3a4b('0x12')](_0x5c7d40=>_0x5c7d40[_0x3a4b('0xc')]==_0x5c95ab)[_0x3a4b('0x7')])['toLowerCase']();return{'type':'format','content':_0x390dff(_0x26f7c7,_0x3a4b('0x20'),_0x50bc51)};}return{'type':_0x3a4b('0x3'),'content':_0x390dff(_0x26f7c7,_0x3a4b('0xe'))};}if('fontFamily'==_0x41923e[_0x3a4b('0x6')]){const _0x4b327c=_0x41923e[_0x3a4b('0x14')][0x0][_0x3a4b('0x19')];return _0x4b327c?{'type':_0x3a4b('0x3'),'content':_0x390dff(_0x26f7c7,_0x3a4b('0x17'),_0x4b327c)}:{'type':_0x3a4b('0x3'),'content':_0x390dff(_0x26f7c7,_0x3a4b('0x1d'))};}if(_0x3a4b('0x2')==_0x41923e['commandName']){const _0x370749=_0x41923e[_0x3a4b('0x14')][0x0][_0x3a4b('0x19')];if(_0x370749){const _0x4187c7=_0x12e9dd(this[_0x3a4b('0x8')]['config'][_0x3a4b('0x23')](_0x3a4b('0x25')))[_0x3a4b('0x12')](_0x53716b=>_0x53716b[_0x3a4b('0xc')]==_0x370749);let _0x31320d=_0x370749,_0x16543a='';return _0x4187c7&&(_0x31320d=_0x4187c7[_0x3a4b('0x18')],_0x16543a=_0x57d0f9(_0x31320d)['toLowerCase']()),{'type':'format','content':_0x390dff(_0x26f7c7,_0x3a4b('0xf'),_0x16543a)[_0x3a4b('0xb')](),'color':{'value':_0x370749,'title':_0x16543a||_0x31320d}};}return{'type':_0x3a4b('0x3'),'content':_0x390dff(_0x26f7c7,'*Reset\x20font\x20color*')};}if(_0x3a4b('0x1a')==_0x41923e[_0x3a4b('0x6')]){const _0x27bb94=_0x41923e[_0x3a4b('0x14')][0x0][_0x3a4b('0x19')];if(_0x27bb94){const _0x2523be=_0x12e9dd(this[_0x3a4b('0x8')][_0x3a4b('0x26')][_0x3a4b('0x23')]('fontBackgroundColor.colors'))[_0x3a4b('0x12')](_0x313cd0=>_0x313cd0[_0x3a4b('0xc')]==_0x27bb94);let _0x4e7bda=_0x27bb94,_0x55d5e2='';return _0x2523be&&(_0x4e7bda=_0x2523be['label'],_0x55d5e2=_0x57d0f9(_0x4e7bda)[_0x3a4b('0xa')]()),{'type':'format','content':_0x390dff(_0x26f7c7,_0x3a4b('0x1b'),_0x55d5e2)['trim'](),'color':{'value':_0x27bb94,'title':_0x55d5e2||_0x4e7bda}};}return{'type':'format','content':_0x390dff(_0x26f7c7,'*Reset\x20font\x20background\x20color*')};}}});}}
23
+ const _0xc9cd=['*Set\x20font\x20color:*\x20%0','FontFamilyEditing','format','commandName','fontFamily','fontColor','toLowerCase','trim','fontBackgroundColor.colors','*Reset\x20font\x20color*','has','value','plugins','FontColorEditing','formatInline','label','FontSize','_registerLegacyDescription','*Reset\x20font\x20size*','find','fontColor.colors','*Set\x20font\x20background\x20color:*\x20%0','_descriptionFactory','type','editor','fontSize','fontBackgroundColor','*Reset\x20font\x20background\x20color*','model','FontSizeEditing','normalizeSizeOptions','get','fontSize.options','afterInit','*Set\x20font\x20family:*\x20%0','commandParams','locale','TrackChangesEditing','registerAttributeLabel','title','FontBackgroundColorEditing','config','_enableDefaultAttributesIntegration'];(function(_0x28d179,_0xc9cdae){const _0x16a3ec=function(_0x5b64b3){while(--_0x5b64b3){_0x28d179['push'](_0x28d179['shift']());}};_0x16a3ec(++_0xc9cdae);}(_0xc9cd,0x10f));const _0x16a3=function(_0x28d179,_0xc9cdae){_0x28d179=_0x28d179-0x0;let _0x16a3ec=_0xc9cd[_0x28d179];return _0x16a3ec;};import{Plugin as _0x11d769}from'ckeditor5/src/core';import{normalizeColorOptions as _0x734e22}from'ckeditor5/src/ui';import{getTranslation as _0x30b75f}from'../utils/common-translations';const ro=[{'pluginName':_0x16a3('0x10'),'commandName':_0x16a3('0xc')},{'pluginName':_0x16a3('0x1f'),'commandName':_0x16a3('0x22')},{'pluginName':_0x16a3('0x0'),'commandName':_0x16a3('0x23')},{'pluginName':_0x16a3('0x1b'),'commandName':'fontBackgroundColor'}];export default class K extends _0x11d769{[_0x16a3('0x14')](){const _0x2f6cb9=this[_0x16a3('0xb')][_0x16a3('0x17')],_0x14cb99=this[_0x16a3('0xb')]['plugins'][_0x16a3('0x12')](_0x16a3('0x18'));for(const {pluginName:_0x1af799,commandName:_0x4775b0}of ro)this['editor'][_0x16a3('0x2a')][_0x16a3('0x28')](_0x1af799)&&_0x14cb99[_0x16a3('0x1d')](_0x4775b0,[_0x4775b0]);_0x2f6cb9['t'],(_0x14cb99['_descriptionFactory'][_0x16a3('0x19')](_0x16a3('0xc'),_0x30b75f(_0x2f6cb9,'FORMAT_FONT_SIZE')),_0x14cb99[_0x16a3('0x9')][_0x16a3('0x19')]('fontFamily',_0x30b75f(_0x2f6cb9,'FORMAT_FONT_FAMILY')),_0x14cb99[_0x16a3('0x9')][_0x16a3('0x19')](_0x16a3('0x23'),_0x30b75f(_0x2f6cb9,'FORMAT_FONT_COLOR')),_0x14cb99[_0x16a3('0x9')]['registerAttributeLabel'](_0x16a3('0xd'),_0x30b75f(_0x2f6cb9,'FORMAT_FONT_BACKGROUND')),this[_0x16a3('0x4')]());}[_0x16a3('0x4')](){const _0x4e5dae=this[_0x16a3('0xb')],_0x5d1043=_0x4e5dae[_0x16a3('0x17')];_0x4e5dae[_0x16a3('0x2a')][_0x16a3('0x12')](_0x16a3('0x18'))[_0x16a3('0x9')]['registerDescriptionCallback'](_0x5ae560=>{const _0x115c85=_0x5d1043['t'];if(_0x16a3('0x1')!=_0x5ae560[_0x16a3('0xa')])return;const {data:_0x50d793}=_0x5ae560;if(null!=_0x50d793){if(_0x16a3('0xc')==_0x50d793['commandName']){const _0x316b0a=_0x50d793[_0x16a3('0x16')][0x0][_0x16a3('0x29')];if(_0x316b0a){const _0x40628b=_0x115c85(this[_0x16a3('0xb')][_0x16a3('0x2a')][_0x16a3('0x12')](_0x16a3('0x3'))[_0x16a3('0x11')](this['editor'][_0x16a3('0x1c')]['get'](_0x16a3('0x13')))[_0x16a3('0x6')](_0x18cb79=>_0x18cb79[_0x16a3('0xf')]==_0x316b0a)[_0x16a3('0x1a')])[_0x16a3('0x24')]();return{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,'*Set\x20font\x20size:*\x20%0',_0x40628b)};}return{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,_0x16a3('0x5'))};}if(_0x16a3('0x22')==_0x50d793[_0x16a3('0x21')]){const _0x5584ad=_0x50d793[_0x16a3('0x16')][0x0][_0x16a3('0x29')];return _0x5584ad?{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,_0x16a3('0x15'),_0x5584ad)}:{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,'*Reset\x20font\x20family*')};}if('fontColor'==_0x50d793[_0x16a3('0x21')]){const _0x4879d2=_0x50d793[_0x16a3('0x16')][0x0][_0x16a3('0x29')];if(_0x4879d2){const _0x42aa58=_0x734e22(this[_0x16a3('0xb')][_0x16a3('0x1c')][_0x16a3('0x12')](_0x16a3('0x7')))[_0x16a3('0x6')](_0x53c39d=>_0x53c39d[_0x16a3('0xf')]==_0x4879d2);let _0x478ac3=_0x4879d2,_0x164bfe='';return _0x42aa58&&(_0x478ac3=_0x42aa58[_0x16a3('0x2')],_0x164bfe=_0x115c85(_0x478ac3)[_0x16a3('0x24')]()),{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,_0x16a3('0x1e'),_0x164bfe)['trim'](),'color':{'value':_0x4879d2,'title':_0x164bfe||_0x478ac3}};}return{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,_0x16a3('0x27'))};}if(_0x16a3('0xd')==_0x50d793[_0x16a3('0x21')]){const _0x42c67b=_0x50d793['commandParams'][0x0]['value'];if(_0x42c67b){const _0x2789ed=_0x734e22(this['editor'][_0x16a3('0x1c')][_0x16a3('0x12')](_0x16a3('0x26')))[_0x16a3('0x6')](_0x230ca5=>_0x230ca5[_0x16a3('0xf')]==_0x42c67b);let _0x2c957d=_0x42c67b,_0x2d2de7='';return _0x2789ed&&(_0x2c957d=_0x2789ed[_0x16a3('0x2')],_0x2d2de7=_0x115c85(_0x2c957d)['toLowerCase']()),{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,_0x16a3('0x8'),_0x2d2de7)[_0x16a3('0x25')](),'color':{'value':_0x42c67b,'title':_0x2d2de7||_0x2c957d}};}return{'type':_0x16a3('0x20'),'content':_0x30b75f(_0x5d1043,_0x16a3('0xe'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d35=['TrackChangesEditing','charAt','title','FontSize','join','model','_descriptionFactory','get','*Set\x20format\x20to:*\x20%0','format','config','_registerLegacyDescription','split','type','plugins','copyFormat','formatBlock','afterInit','locale','_enableDefaultAttributesIntegration','label','boolean','toUpperCase','find','fontBackgroundColor','commandParams','pasteFormat','normalizeSizeOptions','commandName','fontColor.colors','editor','enableCommand','fontSize.options','toLowerCase','commands'];(function(_0x24e585,_0x1d3527){const _0x558871=function(_0x756899){while(--_0x756899){_0x24e585['push'](_0x24e585['shift']());}};_0x558871(++_0x1d3527);}(_0x1d35,0xff));const _0x5588=function(_0x24e585,_0x1d3527){_0x24e585=_0x24e585-0x0;let _0x558871=_0x1d35[_0x24e585];return _0x558871;};import{Plugin as _0x7a269b}from'ckeditor5/src/core';import{normalizeColorOptions as _0x2540a7}from'ckeditor5/src/ui';import{getTranslation as _0x41a8c6}from'../utils/common-translations';export default class Q extends _0x7a269b{[_0x5588('0x7')](){const _0x342a9b=this[_0x5588('0x14')],_0x20a725=_0x342a9b[_0x5588('0x4')]['get'](_0x5588('0x19')),_0x3b512d=_0x342a9b[_0x5588('0x18')]['get'](_0x5588('0x5')),_0x1a84ca=_0x342a9b[_0x5588('0x18')][_0x5588('0x20')](_0x5588('0x10'));_0x3b512d&&_0x1a84ca&&(_0x20a725[_0x5588('0x9')](_0x5588('0x10')),_0x20a725[_0x5588('0x15')](_0x5588('0x5')),this[_0x5588('0x1')]());}[_0x5588('0x1')](){const _0x11b6e9=this[_0x5588('0x14')],_0x43b907=_0x11b6e9[_0x5588('0x8')];_0x11b6e9['plugins']['get'](_0x5588('0x19'))[_0x5588('0x1f')]['registerDescriptionCallback'](_0x2d36a2=>{if(_0x5588('0x6')!=_0x2d36a2[_0x5588('0x3')]&&'formatInline'!=_0x2d36a2['type'])return;const {data:_0x421278}=_0x2d36a2;if(_0x421278&&_0x5588('0x10')===_0x421278[_0x5588('0x12')]){const _0x1409a1=[],_0x6032b=_0x421278[_0x5588('0xf')][0x0];for(const [_0x34fc86,_0x4b8235]of Object['entries'](_0x6032b))_0x1409a1['push'](ao(_0x11b6e9,_0x34fc86,_0x4b8235));return _0x1409a1['length']?{'type':_0x5588('0x22'),'content':_0x41a8c6(_0x43b907,_0x5588('0x21'),_0x1409a1['join'](',\x20'))}:{'type':_0x5588('0x22'),'content':_0x41a8c6(_0x43b907,'*Remove\x20all\x20formatting*')};}});}}function ao(_0x4f0b8b,_0x569cb6,_0x51e26e){const _0x58f3b4=_0x4f0b8b[_0x5588('0x8')]['t'],_0x5c2a10=_0x569cb6[_0x5588('0x2')](/(?=[A-Z])/)[_0x5588('0x1d')]('\x20'),_0x307aff=_0x58f3b4(_0x5c2a10[_0x5588('0x1a')](0x0)[_0x5588('0xc')]()+_0x5c2a10['slice'](0x1))[_0x5588('0x17')]();if(_0x5588('0xb')==typeof _0x51e26e)return _0x307aff;if('fontColor'===_0x569cb6||_0x5588('0xe')===_0x569cb6){const _0x2602f2=_0x2540a7(_0x4f0b8b[_0x5588('0x0')]['get'](_0x5588('0x13')))[_0x5588('0xd')](_0x491b86=>_0x491b86[_0x5588('0x1e')]==_0x51e26e);return _0x307aff+'\x20('+(_0x2602f2?_0x58f3b4(_0x2602f2[_0x5588('0xa')])[_0x5588('0x17')]():_0x51e26e)+')';}if('fontSize'===_0x569cb6&&isNaN(parseFloat(_0x51e26e))){const _0x58c06d=_0x4f0b8b[_0x5588('0x4')][_0x5588('0x20')](_0x5588('0x1c'))[_0x5588('0x11')](_0x4f0b8b[_0x5588('0x0')][_0x5588('0x20')](_0x5588('0x16')))[_0x5588('0xd')](_0x3524fd=>_0x3524fd['model']==_0x51e26e);return _0x307aff+'\x20('+(_0x58c06d?_0x58f3b4(_0x58c06d[_0x5588('0x1b')])[_0x5588('0x17')]():_0x51e26e)+')';}return _0x307aff+'\x20('+_0x51e26e+')';}
23
+ const _0x1e96=['commandName','commandParams','formatBlock','fontBackgroundColor','entries','pasteFormat','push','model','locale','type','split','fontColor','*Remove\x20all\x20formatting*','normalizeSizeOptions','editor','config','_enableDefaultAttributesIntegration','length','_descriptionFactory','fontColor.colors','find','*Set\x20format\x20to:*\x20%0','FontSize','enableCommand','label','fontSize.options','_registerLegacyDescription','registerDescriptionCallback','get','plugins','copyFormat','boolean','TrackChangesEditing','toLowerCase','formatInline','commands','afterInit'];(function(_0x4a037e,_0x1e9684){const _0x23b039=function(_0x2db0fd){while(--_0x2db0fd){_0x4a037e['push'](_0x4a037e['shift']());}};_0x23b039(++_0x1e9684);}(_0x1e96,0x19b));const _0x23b0=function(_0x4a037e,_0x1e9684){_0x4a037e=_0x4a037e-0x0;let _0x23b039=_0x1e96[_0x4a037e];return _0x23b039;};import{Plugin as _0x46f415}from'ckeditor5/src/core';import{normalizeColorOptions as _0x5de222}from'ckeditor5/src/ui';import{getTranslation as _0x47a382}from'../utils/common-translations';export default class Q extends _0x46f415{[_0x23b0('0x20')](){const _0x15b550=this[_0x23b0('0xa')],_0x4ce6e9=_0x15b550[_0x23b0('0x19')][_0x23b0('0x18')]('TrackChangesEditing'),_0x45427f=_0x15b550[_0x23b0('0x1f')][_0x23b0('0x18')]('copyFormat'),_0x1170fc=_0x15b550[_0x23b0('0x1f')][_0x23b0('0x18')](_0x23b0('0x1'));_0x45427f&&_0x1170fc&&(_0x4ce6e9[_0x23b0('0xc')](_0x23b0('0x1')),_0x4ce6e9[_0x23b0('0x13')](_0x23b0('0x1a')),this[_0x23b0('0x16')]());}[_0x23b0('0x16')](){const _0x674561=this[_0x23b0('0xa')],_0x150c7e=_0x674561[_0x23b0('0x4')];_0x674561[_0x23b0('0x19')][_0x23b0('0x18')](_0x23b0('0x1c'))[_0x23b0('0xe')][_0x23b0('0x17')](_0x2d4b00=>{if(_0x23b0('0x23')!=_0x2d4b00['type']&&_0x23b0('0x1e')!=_0x2d4b00[_0x23b0('0x5')])return;const {data:_0x3be630}=_0x2d4b00;if(_0x3be630&&'pasteFormat'===_0x3be630[_0x23b0('0x21')]){const _0xe23561=[],_0x20ca21=_0x3be630[_0x23b0('0x22')][0x0];for(const [_0x30ddea,_0x224ddc]of Object[_0x23b0('0x0')](_0x20ca21))_0xe23561[_0x23b0('0x2')](ao(_0x674561,_0x30ddea,_0x224ddc));return _0xe23561[_0x23b0('0xd')]?{'type':'format','content':_0x47a382(_0x150c7e,_0x23b0('0x11'),_0xe23561['join'](',\x20'))}:{'type':'format','content':_0x47a382(_0x150c7e,_0x23b0('0x8'))};}});}}function ao(_0x23489b,_0x513b33,_0x1b180c){const _0x1da738=_0x23489b[_0x23b0('0x4')]['t'],_0x172f4d=_0x513b33[_0x23b0('0x6')](/(?=[A-Z])/)['join']('\x20'),_0x39955c=_0x1da738(_0x172f4d['charAt'](0x0)['toUpperCase']()+_0x172f4d['slice'](0x1))[_0x23b0('0x1d')]();if(_0x23b0('0x1b')==typeof _0x1b180c)return _0x39955c;if(_0x23b0('0x7')===_0x513b33||_0x23b0('0x24')===_0x513b33){const _0x5d631c=_0x5de222(_0x23489b[_0x23b0('0xb')]['get'](_0x23b0('0xf')))[_0x23b0('0x10')](_0x5ccbb8=>_0x5ccbb8['model']==_0x1b180c);return _0x39955c+'\x20('+(_0x5d631c?_0x1da738(_0x5d631c[_0x23b0('0x14')])[_0x23b0('0x1d')]():_0x1b180c)+')';}if('fontSize'===_0x513b33&&isNaN(parseFloat(_0x1b180c))){const _0x1f933b=_0x23489b[_0x23b0('0x19')]['get'](_0x23b0('0x12'))[_0x23b0('0x9')](_0x23489b[_0x23b0('0xb')][_0x23b0('0x18')](_0x23b0('0x15')))[_0x23b0('0x10')](_0x43aee3=>_0x43aee3[_0x23b0('0x3')]==_0x1b180c);return _0x39955c+'\x20('+(_0x1f933b?_0x1da738(_0x1f933b['title'])['toLowerCase']():_0x1b180c)+')';}return _0x39955c+'\x20('+_0x1b180c+')';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc940=['model','match','get','heading.options','editor','_registerLegacyDescription','locale','registerElementLabel','_enableDefaultAttributesIntegration','_descriptionFactory','format','paragraph','view','_getHeadingLevel','title','ELEMENT_HEADING','TrackChangesEditing','ELEMENT_HEADING_CUSTOM','plugins','heading','value','_headingOptions','commandName','afterInit','name','find','commandParams','has','*Change\x20to:*\x20%0','formatBlock','registerDescriptionCallback','config'];(function(_0x4c2525,_0xc940c2){const _0x3966b7=function(_0x3a6609){while(--_0x3a6609){_0x4c2525['push'](_0x4c2525['shift']());}};_0x3966b7(++_0xc940c2);}(_0xc940,0x1a4));const _0x3966=function(_0x4c2525,_0xc940c2){_0x4c2525=_0x4c2525-0x0;let _0x3966b7=_0xc940[_0x4c2525];return _0x3966b7;};import{Plugin as _0xe09894}from'ckeditor5/src/core';import{getTranslation as _0x51a995}from'../utils/common-translations';export default class X extends _0xe09894{[_0x3966('0x13')](){const _0x2cc3ea=this['editor'];if(!_0x2cc3ea['plugins'][_0x3966('0x17')]('HeadingEditing'))return;this[_0x3966('0x11')]=_0x2cc3ea[_0x3966('0x1b')][_0x3966('0x1e')](_0x3966('0x1f'));const _0x583ff0=_0x2cc3ea[_0x3966('0x2')],_0x5d736a=_0x2cc3ea[_0x3966('0xe')][_0x3966('0x1e')](_0x3966('0xc'));_0x5d736a[_0x3966('0x4')](_0x3966('0xf'));for(const _0x3100e1 of this['_headingOptions'])_0x3966('0x7')!=_0x3100e1[_0x3966('0x1c')]&&_0x5d736a[_0x3966('0x5')][_0x3966('0x3')](_0x3100e1['model'],_0x3d763e=>{const _0x27e8bd=this[_0x3966('0x9')](_0x3100e1[_0x3966('0x1c')]);return null!==_0x27e8bd?_0x2c4ddd(_0x3d763e,_0x27e8bd):_0x343843(_0x3d763e,_0x3100e1[_0x3966('0xa')]);});function _0x2c4ddd(_0x553dfa,_0x2d5e58){return _0x51a995(_0x583ff0,_0x3966('0xb'),[_0x553dfa,_0x2d5e58]);}function _0x343843(_0x25815f,_0x1437f3){return _0x51a995(_0x583ff0,_0x3966('0xd'),[_0x25815f,_0x1437f3]);}this['_registerLegacyDescription']();}[_0x3966('0x1')](){const _0x546883=this[_0x3966('0x0')],_0x27f974=_0x546883[_0x3966('0x2')];function _0x38c5da(_0x37193b,_0x5c4776){return _0x51a995(_0x27f974,_0x3966('0xd'),[_0x37193b,_0x5c4776]);}_0x546883[_0x3966('0xe')][_0x3966('0x1e')](_0x3966('0xc'))[_0x3966('0x5')][_0x3966('0x1a')](_0x115975=>{if(_0x3966('0x19')!=_0x115975['type'])return;const {data:_0x45f004}=_0x115975;if(_0x45f004&&_0x3966('0xf')==_0x45f004[_0x3966('0x12')]){const _0x1f0eb8=_0x45f004[_0x3966('0x16')][0x0][_0x3966('0x10')],_0x1a3977=this[_0x3966('0x9')](_0x1f0eb8);if(null!==_0x1a3977)return{'type':_0x3966('0x6'),'content':_0x51a995(_0x27f974,_0x3966('0x18'),(_0x1192c1=0x1,_0x5793b2=_0x1a3977,_0x51a995(_0x27f974,_0x3966('0xb'),[_0x1192c1,_0x5793b2])))};const _0x17616a=this[_0x3966('0x11')][_0x3966('0x15')](_0x4151cc=>_0x4151cc[_0x3966('0x1c')]===_0x1f0eb8)[_0x3966('0xa')];return{'type':_0x3966('0x6'),'content':_0x51a995(_0x27f974,_0x3966('0x18'),_0x38c5da(0x1,_0x17616a))};}var _0x1192c1,_0x5793b2;});}[_0x3966('0x9')](_0x364566){var _0x2ca8ad,_0x3758ef;const _0x552b78=_0x364566[_0x3966('0x1d')](/^heading(\d+)/);if(_0x552b78)return _0x552b78[0x1];const _0x57c349=null===(_0x2ca8ad=this['_headingOptions'])||void 0x0===_0x2ca8ad?void 0x0:_0x2ca8ad[_0x3966('0x15')](_0x321f87=>_0x321f87[_0x3966('0x1c')]==_0x364566);if(_0x57c349&&_0x57c349[_0x3966('0x8')]){const _0x3fbc34=_0x57c349['view'],_0x362b2f=(null!==(_0x3758ef=_0x3fbc34[_0x3966('0x14')])&&void 0x0!==_0x3758ef?_0x3758ef:_0x3fbc34)[_0x3966('0x1d')](/^h(\d+)/);if(_0x362b2f)return _0x362b2f[0x1];}return null;}}
23
+ const _0x44be=['locale','TrackChangesEditing','heading','get','view','ELEMENT_HEADING_CUSTOM','registerDescriptionCallback','HeadingEditing','title','registerElementLabel','ELEMENT_HEADING','*Change\x20to:*\x20%0','format','_descriptionFactory','heading.options','_enableDefaultAttributesIntegration','model','match','_getHeadingLevel','name','_headingOptions','afterInit','find','editor','_registerLegacyDescription','formatBlock','plugins'];(function(_0x1299af,_0x44be32){const _0x13210c=function(_0x29467b){while(--_0x29467b){_0x1299af['push'](_0x1299af['shift']());}};_0x13210c(++_0x44be32);}(_0x44be,0xb2));const _0x1321=function(_0x1299af,_0x44be32){_0x1299af=_0x1299af-0x0;let _0x13210c=_0x44be[_0x1299af];return _0x13210c;};import{Plugin as _0x2a3f48}from'ckeditor5/src/core';import{getTranslation as _0x4793c8}from'../utils/common-translations';export default class X extends _0x2a3f48{[_0x1321('0x5')](){const _0xf2ec1=this[_0x1321('0x7')];if(!_0xf2ec1[_0x1321('0xa')]['has'](_0x1321('0x12')))return;this[_0x1321('0x4')]=_0xf2ec1['config'][_0x1321('0xe')](_0x1321('0x19'));const _0x12babb=_0xf2ec1[_0x1321('0xb')],_0x3ba2ad=_0xf2ec1[_0x1321('0xa')][_0x1321('0xe')](_0x1321('0xc'));_0x3ba2ad[_0x1321('0x1a')](_0x1321('0xd'));for(const _0x25c16e of this['_headingOptions'])'paragraph'!=_0x25c16e[_0x1321('0x0')]&&_0x3ba2ad[_0x1321('0x18')][_0x1321('0x14')](_0x25c16e[_0x1321('0x0')],_0x233412=>{const _0x39b999=this['_getHeadingLevel'](_0x25c16e['model']);return null!==_0x39b999?_0x17c229(_0x233412,_0x39b999):_0x1b34b7(_0x233412,_0x25c16e[_0x1321('0x13')]);});function _0x17c229(_0x8f3714,_0x43b4f6){return _0x4793c8(_0x12babb,_0x1321('0x15'),[_0x8f3714,_0x43b4f6]);}function _0x1b34b7(_0x2d495a,_0x3217b4){return _0x4793c8(_0x12babb,_0x1321('0x10'),[_0x2d495a,_0x3217b4]);}this[_0x1321('0x8')]();}['_registerLegacyDescription'](){const _0x1e8aab=this[_0x1321('0x7')],_0x49d446=_0x1e8aab[_0x1321('0xb')];function _0x4284dd(_0x5499cd,_0x380d35){return _0x4793c8(_0x49d446,_0x1321('0x10'),[_0x5499cd,_0x380d35]);}_0x1e8aab[_0x1321('0xa')][_0x1321('0xe')](_0x1321('0xc'))[_0x1321('0x18')][_0x1321('0x11')](_0x40ca13=>{if(_0x1321('0x9')!=_0x40ca13['type'])return;const {data:_0x3e4100}=_0x40ca13;if(_0x3e4100&&_0x1321('0xd')==_0x3e4100['commandName']){const _0x26255d=_0x3e4100['commandParams'][0x0]['value'],_0x3e92c6=this['_getHeadingLevel'](_0x26255d);if(null!==_0x3e92c6)return{'type':_0x1321('0x17'),'content':_0x4793c8(_0x49d446,'*Change\x20to:*\x20%0',(_0x2835ae=0x1,_0x519775=_0x3e92c6,_0x4793c8(_0x49d446,'ELEMENT_HEADING',[_0x2835ae,_0x519775])))};const _0x309d02=this[_0x1321('0x4')][_0x1321('0x6')](_0x123b48=>_0x123b48[_0x1321('0x0')]===_0x26255d)['title'];return{'type':_0x1321('0x17'),'content':_0x4793c8(_0x49d446,_0x1321('0x16'),_0x4284dd(0x1,_0x309d02))};}var _0x2835ae,_0x519775;});}[_0x1321('0x2')](_0x3f46d3){var _0x41ed94,_0xc37e39;const _0x208b33=_0x3f46d3[_0x1321('0x1')](/^heading(\d+)/);if(_0x208b33)return _0x208b33[0x1];const _0x4f9936=null===(_0x41ed94=this[_0x1321('0x4')])||void 0x0===_0x41ed94?void 0x0:_0x41ed94[_0x1321('0x6')](_0x424267=>_0x424267[_0x1321('0x0')]==_0x3f46d3);if(_0x4f9936&&_0x4f9936[_0x1321('0xf')]){const _0xb638d2=_0x4f9936['view'],_0x224def=(null!==(_0xc37e39=_0xb638d2[_0x1321('0x3')])&&void 0x0!==_0xc37e39?_0xc37e39:_0xb638d2)[_0x1321('0x1')](/^h(\d+)/);if(_0x224def)return _0x224def[0x1];}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4316=['registerDescriptionCallback','_descriptionFactory','formatInline','*Remove\x20highlight*','highlight','plugins','*Set\x20highlight:*\x20%0','locale','HighlightEditing','registerAttributeLabel','find','highlight.options','model','color','_enableDefaultAttributesIntegration','_registerLegacyDescription','config','format','TrackChangesEditing','FORMAT_HIGHLIGHT','toLowerCase','type','value','has','title','commandParams','editor','get'];(function(_0x4f0bba,_0x4316cb){const _0x13d211=function(_0x55c986){while(--_0x55c986){_0x4f0bba['push'](_0x4f0bba['shift']());}};_0x13d211(++_0x4316cb);}(_0x4316,0x1b0));const _0x13d2=function(_0x4f0bba,_0x4316cb){_0x4f0bba=_0x4f0bba-0x0;let _0x13d211=_0x4316[_0x4f0bba];return _0x13d211;};import{Plugin as _0x5463d2}from'ckeditor5/src/core';import{getTranslation as _0x23d66a}from'../utils/common-translations';export default class Y extends _0x5463d2{['afterInit'](){const _0x464524=this[_0x13d2('0xe')];if(!_0x464524[_0x13d2('0x15')][_0x13d2('0xb')](_0x13d2('0x18')))return;const _0x57fe74=_0x464524[_0x13d2('0x15')][_0x13d2('0xf')](_0x13d2('0x6')),_0x139dc6=_0x464524[_0x13d2('0x17')];_0x57fe74[_0x13d2('0x2')]('highlight',[_0x13d2('0x14')]),_0x57fe74[_0x13d2('0x11')][_0x13d2('0x19')](_0x13d2('0x14'),_0x23d66a(_0x139dc6,_0x13d2('0x7'))),this[_0x13d2('0x3')]();}[_0x13d2('0x3')](){const _0x572587=this['editor'],_0x5309e2=_0x572587['locale'];_0x572587[_0x13d2('0x15')][_0x13d2('0xf')](_0x13d2('0x6'))['_descriptionFactory'][_0x13d2('0x10')](_0x350414=>{if(_0x13d2('0x12')!=_0x350414[_0x13d2('0x9')])return;const {data:_0x2df066}=_0x350414;if(_0x2df066&&_0x13d2('0x14')==_0x2df066['commandName']){const _0x2faf76=_0x5309e2['t'],_0x2d83e8=_0x2df066[_0x13d2('0xd')][0x0][_0x13d2('0xa')];if(_0x2d83e8){const _0x50b800=_0x572587[_0x13d2('0x4')][_0x13d2('0xf')](_0x13d2('0x1b'))[_0x13d2('0x1a')](_0x5dc6bc=>_0x5dc6bc[_0x13d2('0x0')]==_0x2d83e8),_0x58227a=_0x2faf76(_0x50b800[_0x13d2('0xc')])[_0x13d2('0x8')]();return{'type':_0x13d2('0x5'),'content':_0x23d66a(_0x5309e2,_0x13d2('0x16'),_0x58227a),'color':{'value':_0x50b800[_0x13d2('0x1')],'title':_0x50b800[_0x13d2('0xc')]}};}return{'type':_0x13d2('0x5'),'content':_0x23d66a(_0x5309e2,_0x13d2('0x13'),_0x23d66a(_0x5309e2,_0x13d2('0x7')))};}});}}
23
+ const _0x36bb=['toLowerCase','commandName','editor','TrackChangesEditing','highlight.options','highlight','_enableDefaultAttributesIntegration','has','find','locale','type','_registerLegacyDescription','formatInline','model','get','*Set\x20highlight:*\x20%0','_descriptionFactory','commandParams','*Remove\x20highlight*','registerDescriptionCallback','format','FORMAT_HIGHLIGHT','plugins','registerAttributeLabel','title','afterInit'];(function(_0x29a45e,_0x36bba3){const _0x2323de=function(_0x1e14bc){while(--_0x1e14bc){_0x29a45e['push'](_0x29a45e['shift']());}};_0x2323de(++_0x36bba3);}(_0x36bb,0x113));const _0x2323=function(_0x29a45e,_0x36bba3){_0x29a45e=_0x29a45e-0x0;let _0x2323de=_0x36bb[_0x29a45e];return _0x2323de;};import{Plugin as _0x4d9a57}from'ckeditor5/src/core';import{getTranslation as _0x4263fb}from'../utils/common-translations';export default class Y extends _0x4d9a57{[_0x2323('0xa')](){const _0xe554d=this[_0x2323('0xd')];if(!_0xe554d[_0x2323('0x7')][_0x2323('0x12')]('HighlightEditing'))return;const _0x5d385f=_0xe554d[_0x2323('0x7')][_0x2323('0x19')](_0x2323('0xe')),_0x2837cb=_0xe554d['locale'];_0x5d385f[_0x2323('0x11')](_0x2323('0x10'),[_0x2323('0x10')]),_0x5d385f[_0x2323('0x1')][_0x2323('0x8')](_0x2323('0x10'),_0x4263fb(_0x2837cb,_0x2323('0x6'))),this['_registerLegacyDescription']();}[_0x2323('0x16')](){const _0x2820a1=this[_0x2323('0xd')],_0x458fc9=_0x2820a1[_0x2323('0x14')];_0x2820a1[_0x2323('0x7')][_0x2323('0x19')](_0x2323('0xe'))[_0x2323('0x1')][_0x2323('0x4')](_0x498519=>{if(_0x2323('0x17')!=_0x498519[_0x2323('0x15')])return;const {data:_0x30c7fd}=_0x498519;if(_0x30c7fd&&_0x2323('0x10')==_0x30c7fd[_0x2323('0xc')]){const _0x1a8578=_0x458fc9['t'],_0x3293b0=_0x30c7fd[_0x2323('0x2')][0x0]['value'];if(_0x3293b0){const _0x1ddfb1=_0x2820a1['config'][_0x2323('0x19')](_0x2323('0xf'))[_0x2323('0x13')](_0x5a4397=>_0x5a4397[_0x2323('0x18')]==_0x3293b0),_0x4a69c1=_0x1a8578(_0x1ddfb1[_0x2323('0x9')])[_0x2323('0xb')]();return{'type':'format','content':_0x4263fb(_0x458fc9,_0x2323('0x0'),_0x4a69c1),'color':{'value':_0x1ddfb1['color'],'title':_0x1ddfb1[_0x2323('0x9')]}};}return{'type':_0x2323('0x5'),'content':_0x4263fb(_0x458fc9,_0x2323('0x3'),_0x4263fb(_0x458fc9,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fe8=['insert','ck-horizontal-line','createPositionAt','horizontalLine','afterInit','_descriptionFactory','locale','showSuggestionHighlights','addClass','createContainerElement','TrackChangesEditing','HorizontalLineEditing','plugins','editor','get','high','ELEMENT_HORIZONTAL_LINE','createEmptyElement','div','elementToStructure','enableCommand','conversion'];(function(_0xac0a22,_0x2fe87e){const _0x2db4e2=function(_0x16de3e){while(--_0x16de3e){_0xac0a22['push'](_0xac0a22['shift']());}};_0x2db4e2(++_0x2fe87e);}(_0x2fe8,0x91));const _0x2db4=function(_0xac0a22,_0x2fe87e){_0xac0a22=_0xac0a22-0x0;let _0x2db4e2=_0x2fe8[_0xac0a22];return _0x2db4e2;};import{Plugin as _0x593278}from'ckeditor5/src/core';import{getTranslation as _0x21cfce}from'../utils/common-translations';export default class Z extends _0x593278{[_0x2db4('0xd')](){const _0x430c3=this[_0x2db4('0x0')];if(!_0x430c3[_0x2db4('0x15')]['has'](_0x2db4('0x14')))return;_0x430c3[_0x2db4('0x15')][_0x2db4('0x1')](_0x2db4('0x13'))[_0x2db4('0x7')](_0x2db4('0xc'));const _0x38bd59=_0x430c3[_0x2db4('0x15')]['get'](_0x2db4('0x13')),_0x1cbc99=_0x430c3[_0x2db4('0xf')];_0x38bd59[_0x2db4('0xe')]['registerElementLabel'](_0x2db4('0xc'),_0xb267b7=>_0x21cfce(_0x1cbc99,_0x2db4('0x3'),_0xb267b7)),_0x430c3[_0x2db4('0x8')]['for']('dataDowncast')[_0x2db4('0x6')]({'model':_0x2db4('0xc'),'view':(_0x27b686,{writer:_0x21b4da,options:_0xb2acf9})=>{if(!_0xb2acf9[_0x2db4('0x10')])return null;const _0x551f0a=_0x21b4da[_0x2db4('0x12')](_0x2db4('0x5')),_0x39428e=_0x21b4da[_0x2db4('0x4')]('hr');return _0x21b4da[_0x2db4('0x11')](_0x2db4('0xa'),_0x551f0a),_0x21b4da[_0x2db4('0x9')](_0x21b4da[_0x2db4('0xb')](_0x551f0a,0x0),_0x39428e),_0x551f0a;},'converterPriority':_0x2db4('0x2')});}}
23
+ const _0x599d=['createPositionAt','locale','ELEMENT_HORIZONTAL_LINE','showSuggestionHighlights','for','_descriptionFactory','plugins','editor','enableCommand','conversion','createContainerElement','high','get','createEmptyElement','HorizontalLineEditing','afterInit','addClass','elementToStructure','TrackChangesEditing','dataDowncast'];(function(_0x59b4c0,_0x599db3){const _0x36b251=function(_0x178212){while(--_0x178212){_0x59b4c0['push'](_0x59b4c0['shift']());}};_0x36b251(++_0x599db3);}(_0x599d,0x1dd));const _0x36b2=function(_0x59b4c0,_0x599db3){_0x59b4c0=_0x59b4c0-0x0;let _0x36b251=_0x599d[_0x59b4c0];return _0x36b251;};import{Plugin as _0x198400}from'ckeditor5/src/core';import{getTranslation as _0x539dd2}from'../utils/common-translations';export default class Z extends _0x198400{[_0x36b2('0x12')](){const _0x455970=this[_0x36b2('0xa')];if(!_0x455970[_0x36b2('0x9')]['has'](_0x36b2('0x11')))return;_0x455970[_0x36b2('0x9')][_0x36b2('0xf')](_0x36b2('0x1'))[_0x36b2('0xb')]('horizontalLine');const _0x1b2eff=_0x455970[_0x36b2('0x9')]['get']('TrackChangesEditing'),_0x28b646=_0x455970[_0x36b2('0x4')];_0x1b2eff[_0x36b2('0x8')]['registerElementLabel']('horizontalLine',_0x3f8948=>_0x539dd2(_0x28b646,_0x36b2('0x5'),_0x3f8948)),_0x455970[_0x36b2('0xc')][_0x36b2('0x7')](_0x36b2('0x2'))[_0x36b2('0x0')]({'model':'horizontalLine','view':(_0x22c26f,{writer:_0x17135d,options:_0x2efeb6})=>{if(!_0x2efeb6[_0x36b2('0x6')])return null;const _0x32a380=_0x17135d[_0x36b2('0xd')]('div'),_0x211957=_0x17135d[_0x36b2('0x10')]('hr');return _0x17135d[_0x36b2('0x13')]('ck-horizontal-line',_0x32a380),_0x17135d['insert'](_0x17135d[_0x36b2('0x3')](_0x32a380,0x0),_0x211957),_0x32a380;},'converterPriority':_0x36b2('0xe')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4652=['type','locale','htmlEmbed','afterInit','ELEMENT_HTML_EMBED','rawHtml','registerDescriptionCallback','format','formatBlock','_enableDefaultAttributesIntegration','commandName','_descriptionFactory','nodeAfter','value','editor','HtmlEmbed','start','*Change\x20%0\x20content*','plugins','_registerLegacyDescription'];(function(_0x427398,_0x46524e){const _0x828668=function(_0x54d03){while(--_0x54d03){_0x427398['push'](_0x427398['shift']());}};_0x828668(++_0x46524e);}(_0x4652,0x17b));const _0x8286=function(_0x427398,_0x46524e){_0x427398=_0x427398-0x0;let _0x828668=_0x4652[_0x427398];return _0x828668;};import{Plugin as _0x39879d}from'ckeditor5/src/core';import{getTranslation as _0x3b5427}from'../utils/common-translations';export default class tt extends _0x39879d{[_0x8286('0x4')](){const _0x2f8ff7=this[_0x8286('0xf')];if(!_0x2f8ff7[_0x8286('0x13')]['has'](_0x8286('0x10')))return;const _0x17f3b7=_0x2f8ff7[_0x8286('0x13')]['get']('TrackChangesEditing'),_0x2a13cc=_0x2f8ff7[_0x8286('0x2')];_0x17f3b7[_0x8286('0xc')]['registerElementLabel'](_0x8286('0x6'),_0x46e9c9=>_0x3b5427(_0x2a13cc,'ELEMENT_HTML_EMBED',_0x46e9c9)),_0x17f3b7[_0x8286('0xa')](_0x8286('0x3'),[],[_0x8286('0xe')]),_0x17f3b7[_0x8286('0xc')][_0x8286('0x7')](_0x3c0ef9=>{if('attribute'!=_0x3c0ef9[_0x8286('0x1')])return;const {data:_0x571325}=_0x3c0ef9;if(_0x571325&&_0x8286('0xe')==_0x571325['key']&&_0x3c0ef9['getFirstRange']()[_0x8286('0x11')][_0x8286('0xd')]['is']('element',_0x8286('0x6'))){const _0x59b517=_0x3b5427(_0x2a13cc,_0x8286('0x5'));return{'type':_0x8286('0x8'),'content':_0x3b5427(_0x2a13cc,_0x8286('0x12'),_0x59b517)};}}),this[_0x8286('0x0')]();}[_0x8286('0x0')](){const _0x536ed7=this['editor'],_0x93dd69=_0x536ed7[_0x8286('0x2')];_0x536ed7[_0x8286('0x13')]['get']('TrackChangesEditing')[_0x8286('0xc')][_0x8286('0x7')](_0x342669=>{if(_0x8286('0x9')!=_0x342669['type'])return;const {data:_0x74abf0}=_0x342669;if(_0x74abf0&&'htmlEmbed'==_0x74abf0[_0x8286('0xb')]){const _0xce733e=_0x3b5427(_0x93dd69,_0x8286('0x5'));return{'type':_0x8286('0x8'),'content':_0x3b5427(_0x93dd69,_0x8286('0x12'),_0xce733e)};}});}}
23
+ const _0x5dee=['format','plugins','formatBlock','type','TrackChangesEditing','registerElementLabel','_descriptionFactory','locale','has','attribute','value','get','registerDescriptionCallback','htmlEmbed','getFirstRange','key','ELEMENT_HTML_EMBED','afterInit','commandName','editor','_registerLegacyDescription'];(function(_0x19977a,_0x5dee0d){const _0x461fdd=function(_0xa0a5c9){while(--_0xa0a5c9){_0x19977a['push'](_0x19977a['shift']());}};_0x461fdd(++_0x5dee0d);}(_0x5dee,0xcf));const _0x461f=function(_0x19977a,_0x5dee0d){_0x19977a=_0x19977a-0x0;let _0x461fdd=_0x5dee[_0x19977a];return _0x461fdd;};import{Plugin as _0x11cb8a}from'ckeditor5/src/core';import{getTranslation as _0x1bf840}from'../utils/common-translations';export default class tt extends _0x11cb8a{[_0x461f('0x14')](){const _0x181f0=this[_0x461f('0x1')];if(!_0x181f0[_0x461f('0x4')][_0x461f('0xb')]('HtmlEmbed'))return;const _0x4bbd81=_0x181f0[_0x461f('0x4')][_0x461f('0xe')]('TrackChangesEditing'),_0x2e82b9=_0x181f0[_0x461f('0xa')];_0x4bbd81[_0x461f('0x9')][_0x461f('0x8')]('rawHtml',_0x55cc25=>_0x1bf840(_0x2e82b9,'ELEMENT_HTML_EMBED',_0x55cc25)),_0x4bbd81['_enableDefaultAttributesIntegration'](_0x461f('0x10'),[],[_0x461f('0xd')]),_0x4bbd81[_0x461f('0x9')][_0x461f('0xf')](_0x41c0fd=>{if(_0x461f('0xc')!=_0x41c0fd['type'])return;const {data:_0x523de9}=_0x41c0fd;if(_0x523de9&&_0x461f('0xd')==_0x523de9[_0x461f('0x12')]&&_0x41c0fd[_0x461f('0x11')]()['start']['nodeAfter']['is']('element','rawHtml')){const _0x15a1d7=_0x1bf840(_0x2e82b9,_0x461f('0x13'));return{'type':_0x461f('0x3'),'content':_0x1bf840(_0x2e82b9,'*Change\x20%0\x20content*',_0x15a1d7)};}}),this[_0x461f('0x2')]();}['_registerLegacyDescription'](){const _0x370121=this[_0x461f('0x1')],_0x32b9d4=_0x370121[_0x461f('0xa')];_0x370121[_0x461f('0x4')]['get'](_0x461f('0x7'))[_0x461f('0x9')][_0x461f('0xf')](_0x2c2cf1=>{if(_0x461f('0x5')!=_0x2c2cf1[_0x461f('0x6')])return;const {data:_0x2723f6}=_0x2c2cf1;if(_0x2723f6&&_0x461f('0x10')==_0x2723f6[_0x461f('0x0')]){const _0x50ebe1=_0x1bf840(_0x32b9d4,_0x461f('0x13'));return{'type':'format','content':_0x1bf840(_0x32b9d4,'*Change\x20%0\x20content*',_0x50ebe1)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14ca=['findIndex','accept','forward','editor','createRangeOn','schema','removeObject','*Set\x20image\x20text\x20alternative:*\x20%0','format','_suggestionFactory','ELEMENT_IMAGE','ImageResize','imageTextAlternative','getCaptionFromImageModelElement','uploadImage','discard','registerDescriptionCallback','nodeBefore','start','ImageUploadEditing','get','attribute','ImageInlineEditing','key','ELEMENT_CAPTION','deletion','getNearestSelectionRange','imageStylePreApply','afterInit','imageInline','isOwn','registerCustomCallback','change','toPrevious','createRange','previous','FORMAT_IMAGE_SIZE','registerAttributeLabel','toNext','markBlockFormat','Block\x20image\x20to\x20inline\x20image','forceDefaultExecution','commandName','imageTypeBlock','caption','plugins','type','subType','join','isEqual','find','model','isBefore','ImageBlockEditing','length','commandParams','resizedWidth','isIntersecting','_registerLegacyDescription','convertBlockImageToInline','detach','isCollapsed','isBlockImage','_enableDefaultAttributesIntegration','imageTypeInline','alt','*Remove\x20image\x20text\x20alternative*','width','imageBlock','getFirstRange','resizeImage','_descriptionFactory','nodeAfter','end','registerElementLabel','formatBlock','filter','ImageCaptionUtils','has','backward','getClosestSelectedImageElement','selection','addObject','formatInline','document','enableCommand','element','chain','toggleImageCaption','ImageEditing','*Set\x20image\x20width:*\x20%0','getSuggestionCallback','markInsertion','ELEMENT_INLINE_IMAGE','fromPosition','convertInlineImageToBlock','insertion','imageCaption'];(function(_0x485cd1,_0x14ca29){const _0x494ea8=function(_0x2a7544){while(--_0x2a7544){_0x485cd1['push'](_0x485cd1['shift']());}};_0x494ea8(++_0x14ca29);}(_0x14ca,0x194));const _0x494e=function(_0x485cd1,_0x14ca29){_0x485cd1=_0x485cd1-0x0;let _0x494ea8=_0x14ca[_0x485cd1];return _0x494ea8;};import{Plugin as _0x534225}from'ckeditor5/src/core';import{LivePosition as _0x499a84}from'ckeditor5/src/engine';import{getTranslation as _0x8b8ba8}from'../utils/common-translations';export default class it extends _0x534225{[_0x494e('0x10')](){const _0x432ef6=this['editor'];if(!_0x432ef6[_0x494e('0x21')]['has'](_0x494e('0x4d')))return;const _0x13c73c=_0x432ef6['plugins'][_0x494e('0x8')]('TrackChangesEditing'),_0xbcbde8=_0x432ef6[_0x494e('0x21')]['get']('ImageUtils'),_0x475453=_0x432ef6['locale'];_0x13c73c['enableCommand']('insertImage'),_0x13c73c[_0x494e('0x3b')][_0x494e('0x3e')](_0x494e('0x38'),_0x3c1ce4=>_0x8b8ba8(_0x475453,_0x494e('0x60'),_0x3c1ce4)),_0x13c73c[_0x494e('0x3b')][_0x494e('0x3e')](_0x494e('0x11'),_0x4ff92e=>_0x8b8ba8(_0x475453,_0x494e('0x51'),_0x4ff92e)),_0x13c73c[_0x494e('0x3b')][_0x494e('0x3e')](_0x494e('0x20'),()=>_0x8b8ba8(_0x475453,_0x494e('0xc'))),_0x432ef6[_0x494e('0x21')][_0x494e('0x42')](_0x494e('0x7'))&&_0x13c73c[_0x494e('0x49')](_0x494e('0x2')),_0x432ef6[_0x494e('0x21')][_0x494e('0x42')](_0x494e('0x29'))&&_0x432ef6[_0x494e('0x21')][_0x494e('0x42')](_0x494e('0xa'))&&(_0x13c73c['enableCommand'](_0x494e('0x34'),(_0x1361c3,_0x4503cf)=>{const _0x58a4cb=_0xbcbde8['getClosestSelectedImageElement'](_0x432ef6[_0x494e('0x27')][_0x494e('0x48')]['selection']);_0x432ef6['model'][_0x494e('0x14')](()=>{_0x13c73c['markBlockFormat'](_0x58a4cb,{'commandName':_0x494e('0x34'),'commandParams':[_0x4503cf]},[],_0x494e('0x2f'));});}),_0x13c73c[_0x494e('0x49')](_0x494e('0x1f'),(_0x3e28ea,_0x4b4d2e)=>{_0x432ef6[_0x494e('0x27')][_0x494e('0x14')](_0x152087=>{let _0x53461b=_0xbcbde8[_0x494e('0x44')](_0x432ef6[_0x494e('0x27')][_0x494e('0x48')]['selection']),_0x4bc571=_0x152087['createRangeOn'](_0x53461b);const _0x3592ad=_0x499a84[_0x494e('0x52')](_0x4bc571[_0x494e('0x6')],_0x494e('0x15')),_0x40604e=_0x499a84[_0x494e('0x52')](_0x4bc571[_0x494e('0x3d')],_0x494e('0x1a'));_0x13c73c[_0x494e('0x1d')](()=>_0x3e28ea(_0x4b4d2e)),_0x53461b=_0xbcbde8[_0x494e('0x44')](_0x432ef6[_0x494e('0x27')]['document'][_0x494e('0x45')]),_0x4bc571=_0x152087[_0x494e('0x5a')](_0x53461b);const _0xb36929=_0x152087[_0x494e('0x16')](_0x3592ad,_0x40604e);_0x3592ad[_0x494e('0x30')](),_0x40604e[_0x494e('0x30')](),_0x13c73c[_0x494e('0x1b')](_0x53461b,{'commandName':_0x494e('0x34'),'commandParams':[_0x4b4d2e]},[],_0x494e('0x53')),_0xb36929[_0x494e('0x6')][_0x494e('0x28')](_0x4bc571[_0x494e('0x6')])&&_0x13c73c['markInsertion'](_0x152087[_0x494e('0x16')](_0xb36929[_0x494e('0x6')],_0x4bc571[_0x494e('0x6')]),'convertInlineImageToBlock'),_0x4bc571['end'][_0x494e('0x28')](_0xb36929['end'])&&_0x13c73c[_0x494e('0x50')](_0x152087[_0x494e('0x16')](_0x4bc571['end'],_0xb36929[_0x494e('0x3d')]),_0x494e('0x53'));});}),_0x13c73c[_0x494e('0x5f')]['registerCustomCallback'](_0x494e('0x3f'),_0x494e('0x53'),_0x494e('0x24'),()=>!0x1),_0x13c73c[_0x494e('0x5f')][_0x494e('0x13')]('formatBlock',_0x494e('0x53'),_0x494e('0x57'),()=>!0x1),_0x13c73c[_0x494e('0x5f')][_0x494e('0x13')]('formatBlock',_0x494e('0x53'),_0x494e('0x3'),_0x13c73c[_0x494e('0x5f')][_0x494e('0x4f')](_0x494e('0x3f'),'','accept')),_0x13c73c[_0x494e('0x5f')][_0x494e('0x13')](_0x494e('0x54'),_0x494e('0x53'),_0x494e('0x24'),()=>!0x1),_0x13c73c[_0x494e('0x5f')]['registerCustomCallback'](_0x494e('0x54'),'convertInlineImageToBlock',_0x494e('0x3'),([_0x4090e8])=>{const _0x34518b=_0x13c73c[_0x494e('0x5f')][_0x494e('0x4f')](_0x494e('0x54'),'','discard');let _0x45d6f7=_0x4090e8['start'],_0x322cd5=_0x4090e8['end'];const _0x301101=_0x432ef6[_0x494e('0x27')][_0x494e('0x5b')][_0x494e('0xe')](_0x45d6f7,_0x494e('0x43')),_0x4e5965=_0x432ef6[_0x494e('0x27')]['schema'][_0x494e('0xe')](_0x322cd5,_0x494e('0x58'));_0x301101[_0x494e('0x31')]&&(_0x45d6f7=_0x301101[_0x494e('0x6')]),_0x4e5965[_0x494e('0x31')]&&(_0x322cd5=_0x4e5965[_0x494e('0x3d')]),_0x34518b([_0x432ef6[_0x494e('0x27')][_0x494e('0x16')](_0x45d6f7,_0x322cd5)]);}),_0x13c73c['_suggestionFactory'][_0x494e('0x13')](_0x494e('0x3f'),_0x494e('0x53'),_0x494e('0x4b'),_0x41a6cf),_0x13c73c[_0x494e('0x5f')]['registerCustomCallback'](_0x494e('0x54'),_0x494e('0x53'),_0x494e('0x4b'),_0x41a6cf)),_0x432ef6[_0x494e('0x21')][_0x494e('0x42')]('ImageCaptionEditing')&&(_0x13c73c['enableCommand'](_0x494e('0x4c'),(_0x4e11d4,_0xe6b01f)=>{const _0x5528d7=_0x432ef6['plugins']['get'](_0x494e('0x41'));let _0x551db5=_0xbcbde8['getClosestSelectedImageElement'](_0x432ef6['model'][_0x494e('0x48')][_0x494e('0x45')]),_0x1abc4b=_0x5528d7[_0x494e('0x1')](_0x551db5);_0x432ef6[_0x494e('0x27')]['change'](()=>{if(_0x1abc4b)return void _0x13c73c['markDeletion'](_0x432ef6['model'][_0x494e('0x5a')](_0x1abc4b));const _0x585d1c=_0xbcbde8[_0x494e('0x32')](_0x551db5);_0x4e11d4(_0xe6b01f),_0x551db5=_0xbcbde8[_0x494e('0x44')](_0x432ef6[_0x494e('0x27')][_0x494e('0x48')][_0x494e('0x45')]),_0x1abc4b=_0x5528d7[_0x494e('0x1')](_0x551db5),_0x13c73c[_0x494e('0x50')](_0x432ef6[_0x494e('0x27')][_0x494e('0x5a')](_0x1abc4b),_0x585d1c?null:_0x494e('0x55'));});}),_0x13c73c[_0x494e('0x5f')][_0x494e('0x13')](_0x494e('0x54'),_0x494e('0x55'),_0x494e('0x4b'),_0x41a6cf));const _0x1dc242=[{'type':_0x494e('0x3f'),'subType':_0x494e('0xf')},{'type':_0x494e('0x54'),'subType':_0x494e('0x55')},{'type':_0x494e('0x3f'),'subType':_0x494e('0x53')},{'type':_0x494e('0x54'),'subType':'convertInlineImageToBlock'}];function _0x2c9b9a(_0x3b1a33,_0x5c1caf){const _0x22be57=_0x1dc242[_0x494e('0x56')](({type:_0xa216c3,subType:_0x1b0d25})=>_0x3b1a33[_0x494e('0x22')]==_0xa216c3&&_0x3b1a33[_0x494e('0x23')]==_0x1b0d25),_0x20f06d=_0x1dc242[_0x494e('0x56')](({type:_0x442b68,subType:_0x1af483})=>_0x5c1caf[_0x494e('0x22')]==_0x442b68&&_0x5c1caf[_0x494e('0x23')]==_0x1af483);if(_0x22be57<0x0||_0x20f06d<0x0)return!0x1;const _0x2e1d19=_0x3b1a33[_0x494e('0x39')](),_0x1a9073=_0x5c1caf[_0x494e('0x39')]();if((0x0==_0x22be57||0x1==_0x22be57)&&0x2==_0x20f06d&&_0x2e1d19[_0x494e('0x2d')](_0x1a9073))return!0x0;if(0x2==_0x22be57&&0x3==_0x20f06d){const _0x28ba11=_0x13c73c['_findSuggestions'](_0x2e1d19,_0x494e('0x54'))[_0x494e('0x40')](({suggestion:_0x325f30,meta:_0xa0f25a})=>_0xa0f25a[_0x494e('0x12')]&&'convertInlineImageToBlock'==_0x325f30[_0x494e('0x23')]);if(_0x28ba11[_0x494e('0x2a')]>0x1&&_0x1a9073[_0x494e('0x3d')]['isEqual'](_0x2e1d19[_0x494e('0x6')]))return!0x0;if(0x1==_0x28ba11['length']&&(_0x2e1d19[_0x494e('0x6')][_0x494e('0x25')](_0x1a9073[_0x494e('0x3d')])||_0x2e1d19[_0x494e('0x3d')][_0x494e('0x25')](_0x1a9073[_0x494e('0x6')])))return!0x0;}if(0x3==_0x22be57&&0x3==_0x20f06d&&_0x2e1d19[_0x494e('0x6')][_0x494e('0x28')](_0x1a9073[_0x494e('0x6')])){const _0x2647c7=_0x2e1d19[_0x494e('0x3d')][_0x494e('0x3c')],_0x3cfc67=_0x1a9073[_0x494e('0x6')][_0x494e('0x5')];return _0xbcbde8[_0x494e('0x32')](_0x2647c7)&&_0x2647c7===_0x3cfc67;}return!0x1;}function _0x41a6cf(_0x38086a,_0x477075){return _0x2c9b9a(_0x38086a,_0x477075)?[_0x38086a,_0x477075]:_0x2c9b9a(_0x477075,_0x38086a)?[_0x477075,_0x38086a]:null;}_0x432ef6['plugins']['has'](_0x494e('0x61'))&&(_0x13c73c[_0x494e('0x33')](_0x494e('0x3a'),[],[_0x494e('0x2c')]),_0x13c73c[_0x494e('0x3b')][_0x494e('0x19')](_0x494e('0x2c'),_0x8b8ba8(_0x475453,_0x494e('0x18')))),_0x432ef6[_0x494e('0x21')][_0x494e('0x42')]('ImageTextAlternativeEditing')&&_0x13c73c['_enableDefaultAttributesIntegration'](_0x494e('0x0'),[],[_0x494e('0x35')]),_0x13c73c[_0x494e('0x3b')][_0x494e('0x4')](_0xab1ad4=>{if(!!_0x1dc242[_0x494e('0x26')](({type:_0x4c1ee4,subType:_0x3a7b65})=>_0xab1ad4[_0x494e('0x22')]==_0x4c1ee4&&_0xab1ad4['subType']==_0x3a7b65))return _0xab1ad4[_0x494e('0x17')]?{}:void 0x0;}),_0x13c73c[_0x494e('0x3b')][_0x494e('0x4')](_0x108bde=>{if(_0x494e('0x54')==_0x108bde['type']||_0x494e('0xd')==_0x108bde[_0x494e('0x22')]){const _0x280d81=_0x108bde['getContainedElement']();if(_0x280d81&&_0x280d81['is'](_0x494e('0x4a'),_0x494e('0x20')))return{'type':_0x494e('0x54')==_0x108bde[_0x494e('0x22')]?_0x494e('0x46'):_0x494e('0x5c'),'element':_0x280d81,'quantity':0x1};}}),_0x13c73c[_0x494e('0x3b')][_0x494e('0x4')](_0x25bb40=>'formatBlock'==_0x25bb40[_0x494e('0x22')]&&_0x494e('0x53')==_0x25bb40[_0x494e('0x23')]?{'type':_0x494e('0x5e'),'content':'Inline\x20image\x20to\x20block\x20image'}:_0x494e('0x3f')==_0x25bb40['type']&&'convertBlockImageToInline'==_0x25bb40['subType']?{'type':'format','content':_0x494e('0x1c')}:void 0x0),_0x13c73c[_0x494e('0x3b')][_0x494e('0x4')](_0x3fa685=>{if(_0x494e('0x9')!=_0x3fa685[_0x494e('0x22')])return;const {data:_0x14aa0f}=_0x3fa685;if(!_0x14aa0f||_0x494e('0x35')!=_0x14aa0f[_0x494e('0xb')])return;const _0x2e2220=_0x14aa0f['newValue'];return _0x2e2220?{'type':_0x494e('0x5e'),'content':_0x8b8ba8(_0x475453,_0x494e('0x5d'),'\x22'+_0x2e2220+'\x22')}:{'type':_0x494e('0x5e'),'content':_0x8b8ba8(_0x475453,_0x494e('0x36'))};}),this[_0x494e('0x2e')]();}[_0x494e('0x2e')](){const _0x467caa=this[_0x494e('0x59')],_0x459336=_0x467caa['locale'];_0x467caa['plugins'][_0x494e('0x8')]('TrackChangesEditing')[_0x494e('0x3b')]['registerDescriptionCallback'](_0x2ef196=>{if(_0x494e('0x3f')!=_0x2ef196['type']&&_0x494e('0x47')!=_0x2ef196['type'])return;const {data:_0x1ddd86}=_0x2ef196;if(_0x1ddd86){if(_0x494e('0x0')==_0x1ddd86[_0x494e('0x1e')]){const _0x16f568=_0x1ddd86['commandParams'][0x0]['newValue'];return _0x16f568?{'type':'format','content':_0x8b8ba8(_0x459336,_0x494e('0x5d'),'\x22'+_0x16f568+'\x22')}:{'type':_0x494e('0x5e'),'content':_0x8b8ba8(_0x459336,_0x494e('0x36'))};}if(_0x494e('0x3a')==_0x1ddd86[_0x494e('0x1e')]){const _0x163570=_0x1ddd86[_0x494e('0x2b')][0x0][_0x494e('0x37')];return _0x163570?{'type':_0x494e('0x5e'),'content':_0x8b8ba8(_0x459336,_0x494e('0x4e'),_0x163570)}:{'type':_0x494e('0x5e'),'content':_0x8b8ba8(_0x459336,'*Reset\x20image\x20width*')};}}});}}
23
+ const _0x363f=['toggleImageCaption','isEqual','alt','isBefore','locale','removeObject','convertInlineImageToBlock','discard','afterInit','registerElementLabel','ImageResize','markDeletion','Block\x20image\x20to\x20inline\x20image','markInsertion','commandName','commandParams','start','toPrevious','ImageUtils','plugins','newValue','_descriptionFactory','chain','*Reset\x20image\x20width*','getFirstRange','createRange','isCollapsed','Inline\x20image\x20to\x20block\x20image','fromPosition','getClosestSelectedImageElement','document','join','editor','nodeBefore','registerCustomCallback','resizeImage','isOwn','key','_enableDefaultAttributesIntegration','ImageCaptionUtils','format','insertion','caption','getNearestSelectionRange','_findSuggestions','isBlockImage','imageInline','imageStylePreApply','getContainedElement','formatInline','findIndex','formatBlock','end','convertBlockImageToInline','forceDefaultExecution','imageTextAlternative','imageBlock','ImageEditing','forward','change','selection','*Set\x20image\x20text\x20alternative:*\x20%0','model','ImageTextAlternativeEditing','registerDescriptionCallback','_registerLegacyDescription','ELEMENT_INLINE_IMAGE','length','get','imageTypeInline','getSuggestionCallback','ELEMENT_IMAGE','has','createRangeOn','ELEMENT_CAPTION','schema','deletion','imageTypeBlock','registerAttributeLabel','detach','accept','imageCaption','subType','*Remove\x20image\x20text\x20alternative*','ImageCaptionEditing','element','backward','type','enableCommand','FORMAT_IMAGE_SIZE','resizedWidth','TrackChangesEditing','nodeAfter','_suggestionFactory','ImageBlockEditing','markBlockFormat','width'];(function(_0x36ad5d,_0x363f10){const _0x598066=function(_0x283e0c){while(--_0x283e0c){_0x36ad5d['push'](_0x36ad5d['shift']());}};_0x598066(++_0x363f10);}(_0x363f,0x149));const _0x5980=function(_0x36ad5d,_0x363f10){_0x36ad5d=_0x36ad5d-0x0;let _0x598066=_0x363f[_0x36ad5d];return _0x598066;};import{Plugin as _0x46b64e}from'ckeditor5/src/core';import{LivePosition as _0x34204b}from'ckeditor5/src/engine';import{getTranslation as _0x37991f}from'../utils/common-translations';export default class it extends _0x46b64e{[_0x5980('0x43')](){const _0x266442=this[_0x5980('0x5b')];if(!_0x266442['plugins']['has'](_0x5980('0x13')))return;const _0x157606=_0x266442[_0x5980('0x4e')]['get'](_0x5980('0x35')),_0x2d8094=_0x266442['plugins'][_0x5980('0x1e')](_0x5980('0x4d')),_0x571571=_0x266442[_0x5980('0x3f')];_0x157606[_0x5980('0x32')]('insertImage'),_0x157606[_0x5980('0x50')][_0x5980('0x44')](_0x5980('0x12'),_0x521a00=>_0x37991f(_0x571571,_0x5980('0x21'),_0x521a00)),_0x157606[_0x5980('0x50')][_0x5980('0x44')](_0x5980('0x8'),_0x2fe365=>_0x37991f(_0x571571,_0x5980('0x1c'),_0x2fe365)),_0x157606[_0x5980('0x50')][_0x5980('0x44')]('caption',()=>_0x37991f(_0x571571,_0x5980('0x24'))),_0x266442[_0x5980('0x4e')][_0x5980('0x22')]('ImageUploadEditing')&&_0x157606[_0x5980('0x32')]('uploadImage'),_0x266442[_0x5980('0x4e')][_0x5980('0x22')](_0x5980('0x38'))&&_0x266442[_0x5980('0x4e')][_0x5980('0x22')]('ImageInlineEditing')&&(_0x157606[_0x5980('0x32')]('imageTypeInline',(_0x1739c6,_0x3606f5)=>{const _0x3cf8f0=_0x2d8094[_0x5980('0x58')](_0x266442['model'][_0x5980('0x59')][_0x5980('0x16')]);_0x266442[_0x5980('0x18')][_0x5980('0x15')](()=>{_0x157606[_0x5980('0x39')](_0x3cf8f0,{'commandName':_0x5980('0x1f'),'commandParams':[_0x3606f5]},[],_0x5980('0xf'));});}),_0x157606['enableCommand'](_0x5980('0x27'),(_0x1000bd,_0x281b57)=>{_0x266442[_0x5980('0x18')][_0x5980('0x15')](_0xbbb3cf=>{let _0x4177b1=_0x2d8094[_0x5980('0x58')](_0x266442['model'][_0x5980('0x59')][_0x5980('0x16')]),_0x27f43d=_0xbbb3cf[_0x5980('0x23')](_0x4177b1);const _0x1cd0eb=_0x34204b[_0x5980('0x57')](_0x27f43d['start'],_0x5980('0x4c')),_0x4508ab=_0x34204b['fromPosition'](_0x27f43d[_0x5980('0xe')],'toNext');_0x157606[_0x5980('0x10')](()=>_0x1000bd(_0x281b57)),_0x4177b1=_0x2d8094[_0x5980('0x58')](_0x266442[_0x5980('0x18')]['document'][_0x5980('0x16')]),_0x27f43d=_0xbbb3cf[_0x5980('0x23')](_0x4177b1);const _0x91a220=_0xbbb3cf[_0x5980('0x54')](_0x1cd0eb,_0x4508ab);_0x1cd0eb[_0x5980('0x29')](),_0x4508ab[_0x5980('0x29')](),_0x157606[_0x5980('0x39')](_0x4177b1,{'commandName':'imageTypeInline','commandParams':[_0x281b57]},[],_0x5980('0x41')),_0x91a220[_0x5980('0x4b')][_0x5980('0x3e')](_0x27f43d['start'])&&_0x157606[_0x5980('0x48')](_0xbbb3cf[_0x5980('0x54')](_0x91a220[_0x5980('0x4b')],_0x27f43d[_0x5980('0x4b')]),_0x5980('0x41')),_0x27f43d[_0x5980('0xe')]['isBefore'](_0x91a220[_0x5980('0xe')])&&_0x157606[_0x5980('0x48')](_0xbbb3cf[_0x5980('0x54')](_0x27f43d['end'],_0x91a220[_0x5980('0xe')]),_0x5980('0x41'));});}),_0x157606[_0x5980('0x37')]['registerCustomCallback'](_0x5980('0xd'),_0x5980('0x41'),'join',()=>!0x1),_0x157606[_0x5980('0x37')][_0x5980('0x5d')](_0x5980('0xd'),'convertInlineImageToBlock','accept',()=>!0x1),_0x157606[_0x5980('0x37')][_0x5980('0x5d')](_0x5980('0xd'),_0x5980('0x41'),_0x5980('0x42'),_0x157606[_0x5980('0x37')][_0x5980('0x20')](_0x5980('0xd'),'',_0x5980('0x2a'))),_0x157606[_0x5980('0x37')]['registerCustomCallback']('insertion',_0x5980('0x41'),_0x5980('0x5a'),()=>!0x1),_0x157606['_suggestionFactory']['registerCustomCallback'](_0x5980('0x3'),_0x5980('0x41'),_0x5980('0x42'),([_0x470916])=>{const _0x593bd3=_0x157606[_0x5980('0x37')][_0x5980('0x20')]('insertion','',_0x5980('0x42'));let _0x2c2924=_0x470916[_0x5980('0x4b')],_0x226623=_0x470916[_0x5980('0xe')];const _0x40433b=_0x266442[_0x5980('0x18')]['schema'][_0x5980('0x5')](_0x2c2924,_0x5980('0x30')),_0x5db1b3=_0x266442[_0x5980('0x18')][_0x5980('0x25')]['getNearestSelectionRange'](_0x226623,_0x5980('0x14'));_0x40433b[_0x5980('0x55')]&&(_0x2c2924=_0x40433b['start']),_0x5db1b3[_0x5980('0x55')]&&(_0x226623=_0x5db1b3[_0x5980('0xe')]),_0x593bd3([_0x266442[_0x5980('0x18')][_0x5980('0x54')](_0x2c2924,_0x226623)]);}),_0x157606['_suggestionFactory'][_0x5980('0x5d')]('formatBlock',_0x5980('0x41'),'chain',_0x5e4ba2),_0x157606[_0x5980('0x37')][_0x5980('0x5d')](_0x5980('0x3'),_0x5980('0x41'),'chain',_0x5e4ba2)),_0x266442[_0x5980('0x4e')][_0x5980('0x22')](_0x5980('0x2e'))&&(_0x157606['enableCommand'](_0x5980('0x3b'),(_0xef528e,_0x3fb798)=>{const _0x5d3299=_0x266442['plugins'][_0x5980('0x1e')](_0x5980('0x1'));let _0x153a11=_0x2d8094['getClosestSelectedImageElement'](_0x266442[_0x5980('0x18')][_0x5980('0x59')][_0x5980('0x16')]),_0xd4ee01=_0x5d3299['getCaptionFromImageModelElement'](_0x153a11);_0x266442[_0x5980('0x18')][_0x5980('0x15')](()=>{if(_0xd4ee01)return void _0x157606[_0x5980('0x46')](_0x266442[_0x5980('0x18')]['createRangeOn'](_0xd4ee01));const _0x258946=_0x2d8094[_0x5980('0x7')](_0x153a11);_0xef528e(_0x3fb798),_0x153a11=_0x2d8094[_0x5980('0x58')](_0x266442['model'][_0x5980('0x59')][_0x5980('0x16')]),_0xd4ee01=_0x5d3299['getCaptionFromImageModelElement'](_0x153a11),_0x157606[_0x5980('0x48')](_0x266442[_0x5980('0x18')][_0x5980('0x23')](_0xd4ee01),_0x258946?null:'imageCaption');});}),_0x157606[_0x5980('0x37')][_0x5980('0x5d')](_0x5980('0x3'),_0x5980('0x2b'),_0x5980('0x51'),_0x5e4ba2));const _0x2d4016=[{'type':_0x5980('0xd'),'subType':_0x5980('0x9')},{'type':_0x5980('0x3'),'subType':_0x5980('0x2b')},{'type':_0x5980('0xd'),'subType':_0x5980('0x41')},{'type':'insertion','subType':_0x5980('0x41')}];function _0x2e9b91(_0x3d28c2,_0x29ff0d){const _0x3ecc02=_0x2d4016[_0x5980('0xc')](({type:_0x3bdcb5,subType:_0x573074})=>_0x3d28c2['type']==_0x3bdcb5&&_0x3d28c2[_0x5980('0x2c')]==_0x573074),_0x320d76=_0x2d4016[_0x5980('0xc')](({type:_0x47fcb4,subType:_0x120c7f})=>_0x29ff0d[_0x5980('0x31')]==_0x47fcb4&&_0x29ff0d[_0x5980('0x2c')]==_0x120c7f);if(_0x3ecc02<0x0||_0x320d76<0x0)return!0x1;const _0x491b6d=_0x3d28c2[_0x5980('0x53')](),_0x151a51=_0x29ff0d[_0x5980('0x53')]();if((0x0==_0x3ecc02||0x1==_0x3ecc02)&&0x2==_0x320d76&&_0x491b6d['isIntersecting'](_0x151a51))return!0x0;if(0x2==_0x3ecc02&&0x3==_0x320d76){const _0x2c7be2=_0x157606[_0x5980('0x6')](_0x491b6d,_0x5980('0x3'))['filter'](({suggestion:_0x460900,meta:_0x161064})=>_0x161064[_0x5980('0x5f')]&&_0x5980('0x41')==_0x460900[_0x5980('0x2c')]);if(_0x2c7be2[_0x5980('0x1d')]>0x1&&_0x151a51[_0x5980('0xe')]['isEqual'](_0x491b6d[_0x5980('0x4b')]))return!0x0;if(0x1==_0x2c7be2[_0x5980('0x1d')]&&(_0x491b6d['start'][_0x5980('0x3c')](_0x151a51['end'])||_0x491b6d[_0x5980('0xe')][_0x5980('0x3c')](_0x151a51[_0x5980('0x4b')])))return!0x0;}if(0x3==_0x3ecc02&&0x3==_0x320d76&&_0x491b6d[_0x5980('0x4b')][_0x5980('0x3e')](_0x151a51['start'])){const _0x7aeda3=_0x491b6d[_0x5980('0xe')][_0x5980('0x36')],_0x167411=_0x151a51['start'][_0x5980('0x5c')];return _0x2d8094[_0x5980('0x7')](_0x7aeda3)&&_0x7aeda3===_0x167411;}return!0x1;}function _0x5e4ba2(_0x391768,_0x234b98){return _0x2e9b91(_0x391768,_0x234b98)?[_0x391768,_0x234b98]:_0x2e9b91(_0x234b98,_0x391768)?[_0x234b98,_0x391768]:null;}_0x266442[_0x5980('0x4e')][_0x5980('0x22')](_0x5980('0x45'))&&(_0x157606[_0x5980('0x0')](_0x5980('0x5e'),[],[_0x5980('0x34')]),_0x157606[_0x5980('0x50')][_0x5980('0x28')](_0x5980('0x34'),_0x37991f(_0x571571,_0x5980('0x33')))),_0x266442['plugins'][_0x5980('0x22')](_0x5980('0x19'))&&_0x157606[_0x5980('0x0')](_0x5980('0x11'),[],[_0x5980('0x3d')]),_0x157606[_0x5980('0x50')]['registerDescriptionCallback'](_0x180224=>{if(!!_0x2d4016['find'](({type:_0x4c184c,subType:_0xe02726})=>_0x180224[_0x5980('0x31')]==_0x4c184c&&_0x180224['subType']==_0xe02726))return _0x180224['previous']?{}:void 0x0;}),_0x157606['_descriptionFactory']['registerDescriptionCallback'](_0x27c99b=>{if(_0x5980('0x3')==_0x27c99b[_0x5980('0x31')]||_0x5980('0x26')==_0x27c99b[_0x5980('0x31')]){const _0x34d038=_0x27c99b[_0x5980('0xa')]();if(_0x34d038&&_0x34d038['is'](_0x5980('0x2f'),_0x5980('0x4')))return{'type':_0x5980('0x3')==_0x27c99b['type']?'addObject':_0x5980('0x40'),'element':_0x34d038,'quantity':0x1};}}),_0x157606['_descriptionFactory'][_0x5980('0x1a')](_0x555b46=>_0x5980('0xd')==_0x555b46[_0x5980('0x31')]&&_0x5980('0x41')==_0x555b46['subType']?{'type':_0x5980('0x2'),'content':_0x5980('0x56')}:'formatBlock'==_0x555b46[_0x5980('0x31')]&&_0x5980('0xf')==_0x555b46[_0x5980('0x2c')]?{'type':_0x5980('0x2'),'content':_0x5980('0x47')}:void 0x0),_0x157606[_0x5980('0x50')][_0x5980('0x1a')](_0x44be5b=>{if('attribute'!=_0x44be5b['type'])return;const {data:_0xd61741}=_0x44be5b;if(!_0xd61741||_0x5980('0x3d')!=_0xd61741[_0x5980('0x60')])return;const _0x4a6015=_0xd61741[_0x5980('0x4f')];return _0x4a6015?{'type':_0x5980('0x2'),'content':_0x37991f(_0x571571,_0x5980('0x17'),'\x22'+_0x4a6015+'\x22')}:{'type':'format','content':_0x37991f(_0x571571,_0x5980('0x2d'))};}),this[_0x5980('0x1b')]();}['_registerLegacyDescription'](){const _0x3c1e65=this['editor'],_0x3fa253=_0x3c1e65[_0x5980('0x3f')];_0x3c1e65[_0x5980('0x4e')][_0x5980('0x1e')](_0x5980('0x35'))['_descriptionFactory'][_0x5980('0x1a')](_0x31f717=>{if(_0x5980('0xd')!=_0x31f717[_0x5980('0x31')]&&_0x5980('0xb')!=_0x31f717['type'])return;const {data:_0xadc6f1}=_0x31f717;if(_0xadc6f1){if(_0x5980('0x11')==_0xadc6f1['commandName']){const _0x451dfa=_0xadc6f1[_0x5980('0x4a')][0x0][_0x5980('0x4f')];return _0x451dfa?{'type':'format','content':_0x37991f(_0x3fa253,_0x5980('0x17'),'\x22'+_0x451dfa+'\x22')}:{'type':_0x5980('0x2'),'content':_0x37991f(_0x3fa253,'*Remove\x20image\x20text\x20alternative*')};}if(_0x5980('0x5e')==_0xadc6f1[_0x5980('0x49')]){const _0x47fad5=_0xadc6f1['commandParams'][0x0][_0x5980('0x3a')];return _0x47fad5?{'type':_0x5980('0x2'),'content':_0x37991f(_0x3fa253,'*Set\x20image\x20width:*\x20%0',_0x47fad5)}:{'type':'format','content':_0x37991f(_0x3fa253,_0x5980('0x52'))};}}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d4f=['oldValue','plugins','_suggestionFactory','_descriptionFactory','afterInit','editor','key','_handleLegacySuggestions','locale','src','_registerLegacyDescription','*Format:*\x20replace\x20image\x20URL','registerDescriptionCallback','newValue','format','formatInline','ImageEditing','attribute','getSuggestionCallback','replaceImageSource','*Replace\x20image\x20URL*','type','formatBlock','discard','registerCustomCallback','get','TrackChangesEditing'];(function(_0x26bce5,_0x3d4f09){const _0x5371f8=function(_0x39570f){while(--_0x39570f){_0x26bce5['push'](_0x26bce5['shift']());}};_0x5371f8(++_0x3d4f09);}(_0x3d4f,0x106));const _0x5371=function(_0x26bce5,_0x3d4f09){_0x26bce5=_0x26bce5-0x0;let _0x5371f8=_0x3d4f[_0x26bce5];return _0x5371f8;};import{Plugin as _0x1f67a7}from'ckeditor5/src/core';import{getTranslation as _0x44dd46}from'../utils/common-translations';export default class et extends _0x1f67a7{[_0x5371('0xc')](){if(!this[_0x5371('0xd')]['plugins']['has'](_0x5371('0x18')))return;const _0x427d0d=this['editor'][_0x5371('0x10')],_0x4ea09c=this['editor'][_0x5371('0x9')][_0x5371('0x6')]('TrackChangesEditing');_0x4ea09c['_enableDefaultAttributesIntegration'](_0x5371('0x0'),[],[_0x5371('0x11')]),_0x4ea09c[_0x5371('0xb')][_0x5371('0x14')](_0xc26d63=>{if(_0x5371('0x19')!=_0xc26d63[_0x5371('0x2')])return;const {data:_0x693742}=_0xc26d63;return _0x693742&&_0x5371('0x11')==_0x693742[_0x5371('0xe')]?_0x693742[_0x5371('0x15')]&&_0x693742[_0x5371('0x8')]?{'type':_0x5371('0x16'),'content':_0x44dd46(_0x427d0d,_0x5371('0x1'))}:{'type':_0x5371('0x16'),'content':''}:void 0x0;}),this['_handleLegacySuggestions']();}[_0x5371('0xf')](){const _0xe620eb=this[_0x5371('0xd')]['plugins'][_0x5371('0x6')]('TrackChangesEditing');_0xe620eb[_0x5371('0xa')][_0x5371('0x5')](_0x5371('0x3'),_0x5371('0x0'),'accept',_0xe620eb[_0x5371('0xa')][_0x5371('0x1a')](_0x5371('0x3'),null,_0x5371('0x4'))),_0xe620eb[_0x5371('0xa')][_0x5371('0x5')]('formatBlock',_0x5371('0x0'),_0x5371('0x4'),_0xe620eb[_0x5371('0xa')][_0x5371('0x1a')]('formatBlock',null,'accept')),this['_registerLegacyDescription']();}[_0x5371('0x12')](){const _0x199f8e=this[_0x5371('0xd')],_0x2b58e3=_0x199f8e[_0x5371('0x10')];_0x199f8e[_0x5371('0x9')]['get'](_0x5371('0x7'))['_descriptionFactory'][_0x5371('0x14')](_0x2505ee=>{if('formatBlock'!=_0x2505ee[_0x5371('0x2')]&&_0x5371('0x17')!=_0x2505ee[_0x5371('0x2')])return;const {data:_0x228489}=_0x2505ee;if(!_0x228489||'replaceImageSource'!=_0x228489['commandName'])return;return{'type':'format','content':_0x44dd46(_0x2b58e3,_0x5371('0x13'))};});}}
23
+ const _0x3916=['getSuggestionCallback','oldValue','newValue','has','registerDescriptionCallback','TrackChangesEditing','formatInline','attribute','discard','formatBlock','*Format:*\x20replace\x20image\x20URL','afterInit','format','type','key','editor','ImageEditing','_enableDefaultAttributesIntegration','_handleLegacySuggestions','get','commandName','*Replace\x20image\x20URL*','_suggestionFactory','replaceImageSource','accept','_descriptionFactory','registerCustomCallback','src','locale','plugins'];(function(_0x48e008,_0x39165e){const _0x5c18ef=function(_0x4c6248){while(--_0x4c6248){_0x48e008['push'](_0x48e008['shift']());}};_0x5c18ef(++_0x39165e);}(_0x3916,0x196));const _0x5c18=function(_0x48e008,_0x39165e){_0x48e008=_0x48e008-0x0;let _0x5c18ef=_0x3916[_0x48e008];return _0x5c18ef;};import{Plugin as _0x23bebd}from'ckeditor5/src/core';import{getTranslation as _0x36157e}from'../utils/common-translations';export default class et extends _0x23bebd{[_0x5c18('0x19')](){if(!this['editor']['plugins'][_0x5c18('0x11')](_0x5c18('0x0')))return;const _0x57ab43=this[_0x5c18('0x1d')][_0x5c18('0xc')],_0x3b14cf=this[_0x5c18('0x1d')][_0x5c18('0xd')]['get'](_0x5c18('0x13'));_0x3b14cf[_0x5c18('0x1')](_0x5c18('0x7'),[],[_0x5c18('0xb')]),_0x3b14cf[_0x5c18('0x9')][_0x5c18('0x12')](_0x2e2f22=>{if(_0x5c18('0x15')!=_0x2e2f22[_0x5c18('0x1b')])return;const {data:_0x28851a}=_0x2e2f22;return _0x28851a&&_0x5c18('0xb')==_0x28851a[_0x5c18('0x1c')]?_0x28851a[_0x5c18('0x10')]&&_0x28851a[_0x5c18('0xf')]?{'type':_0x5c18('0x1a'),'content':_0x36157e(_0x57ab43,_0x5c18('0x5'))}:{'type':_0x5c18('0x1a'),'content':''}:void 0x0;}),this[_0x5c18('0x2')]();}[_0x5c18('0x2')](){const _0x4d53cf=this[_0x5c18('0x1d')][_0x5c18('0xd')][_0x5c18('0x3')](_0x5c18('0x13'));_0x4d53cf[_0x5c18('0x6')][_0x5c18('0xa')]('formatBlock',_0x5c18('0x7'),'accept',_0x4d53cf['_suggestionFactory'][_0x5c18('0xe')](_0x5c18('0x17'),null,_0x5c18('0x16'))),_0x4d53cf['_suggestionFactory'][_0x5c18('0xa')]('formatBlock',_0x5c18('0x7'),_0x5c18('0x16'),_0x4d53cf[_0x5c18('0x6')][_0x5c18('0xe')]('formatBlock',null,_0x5c18('0x8'))),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x56979d=this[_0x5c18('0x1d')],_0x4d0050=_0x56979d[_0x5c18('0xc')];_0x56979d['plugins'][_0x5c18('0x3')](_0x5c18('0x13'))[_0x5c18('0x9')][_0x5c18('0x12')](_0x549424=>{if(_0x5c18('0x17')!=_0x549424['type']&&_0x5c18('0x14')!=_0x549424[_0x5c18('0x1b')])return;const {data:_0x4dd875}=_0x549424;if(!_0x4dd875||_0x5c18('0x7')!=_0x4dd875[_0x5c18('0x4')])return;return{'type':_0x5c18('0x1a'),'content':_0x36157e(_0x4d0050,_0x5c18('0x18'))};});}}