@ckeditor/ckeditor5-track-changes 35.2.1 → 35.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +1 -1
  3. package/build/track-changes.js +2 -2
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/ca.js +1 -1
  9. package/build/translations/cs.js +1 -1
  10. package/build/translations/da.js +1 -1
  11. package/build/translations/de.js +1 -1
  12. package/build/translations/el.js +1 -1
  13. package/build/translations/en-au.js +1 -1
  14. package/build/translations/es.js +1 -1
  15. package/build/translations/et.js +1 -1
  16. package/build/translations/fi.js +1 -1
  17. package/build/translations/fr.js +1 -1
  18. package/build/translations/gl.js +1 -1
  19. package/build/translations/he.js +1 -1
  20. package/build/translations/hi.js +1 -1
  21. package/build/translations/hr.js +1 -1
  22. package/build/translations/hu.js +1 -1
  23. package/build/translations/id.js +1 -1
  24. package/build/translations/it.js +1 -1
  25. package/build/translations/ja.js +1 -1
  26. package/build/translations/ko.js +1 -1
  27. package/build/translations/lt.js +1 -1
  28. package/build/translations/lv.js +1 -1
  29. package/build/translations/ms.js +1 -1
  30. package/build/translations/nl.js +1 -1
  31. package/build/translations/no.js +1 -1
  32. package/build/translations/pl.js +1 -1
  33. package/build/translations/pt-br.js +1 -1
  34. package/build/translations/pt.js +1 -1
  35. package/build/translations/ro.js +1 -1
  36. package/build/translations/ru.js +1 -1
  37. package/build/translations/sk.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/lang/contexts.json +4 -1
  51. package/lang/translations/ar.po +12 -0
  52. package/lang/translations/az.po +12 -0
  53. package/lang/translations/bg.po +12 -0
  54. package/lang/translations/bn.po +12 -0
  55. package/lang/translations/ca.po +12 -0
  56. package/lang/translations/cs.po +12 -0
  57. package/lang/translations/da.po +12 -0
  58. package/lang/translations/de.po +12 -0
  59. package/lang/translations/el.po +12 -0
  60. package/lang/translations/en-au.po +12 -0
  61. package/lang/translations/en.po +12 -0
  62. package/lang/translations/es.po +12 -0
  63. package/lang/translations/et.po +12 -0
  64. package/lang/translations/fi.po +12 -0
  65. package/lang/translations/fr.po +12 -0
  66. package/lang/translations/gl.po +12 -0
  67. package/lang/translations/he.po +12 -0
  68. package/lang/translations/hi.po +12 -0
  69. package/lang/translations/hr.po +12 -0
  70. package/lang/translations/hu.po +12 -0
  71. package/lang/translations/id.po +12 -0
  72. package/lang/translations/it.po +12 -0
  73. package/lang/translations/ja.po +12 -0
  74. package/lang/translations/ko.po +12 -0
  75. package/lang/translations/lt.po +12 -0
  76. package/lang/translations/lv.po +12 -0
  77. package/lang/translations/ms.po +12 -0
  78. package/lang/translations/nl.po +12 -0
  79. package/lang/translations/no.po +12 -0
  80. package/lang/translations/pl.po +12 -0
  81. package/lang/translations/pt-br.po +12 -0
  82. package/lang/translations/pt.po +12 -0
  83. package/lang/translations/ro.po +12 -0
  84. package/lang/translations/ru.po +12 -0
  85. package/lang/translations/sk.po +12 -0
  86. package/lang/translations/sr-latn.po +12 -0
  87. package/lang/translations/sr.po +12 -0
  88. package/lang/translations/sv.po +12 -0
  89. package/lang/translations/th.po +12 -0
  90. package/lang/translations/tk.po +12 -0
  91. package/lang/translations/tr.po +12 -0
  92. package/lang/translations/tt.po +12 -0
  93. package/lang/translations/uk.po +12 -0
  94. package/lang/translations/ur.po +12 -0
  95. package/lang/translations/vi.po +12 -0
  96. package/lang/translations/zh-cn.po +12 -0
  97. package/lang/translations/zh.po +12 -0
  98. package/package.json +4 -4
  99. package/src/commands/acceptsuggestioncommand.js +1 -1
  100. package/src/commands/discardsuggestioncommand.js +1 -1
  101. package/src/{utils/sortsuggestions.js → commands/executeonallsuggestionscommand.js} +1 -1
  102. package/src/commands/executeonselectedsuggestionscommand.js +23 -0
  103. package/src/commands/trackchangescommand.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 +23 -0
  112. package/src/integrations/entercommand.js +1 -1
  113. package/src/integrations/font.js +1 -1
  114. package/src/integrations/heading.js +1 -1
  115. package/src/integrations/highlight.js +1 -1
  116. package/src/integrations/horizontalline.js +1 -1
  117. package/src/integrations/htmlembed.js +1 -1
  118. package/src/integrations/image.js +1 -1
  119. package/src/integrations/importword.js +1 -1
  120. package/src/integrations/indent.js +1 -1
  121. package/src/integrations/inputcommand.js +1 -1
  122. package/src/integrations/link.js +1 -1
  123. package/src/integrations/list.js +1 -1
  124. package/src/integrations/mediaembed.js +1 -1
  125. package/src/integrations/mention.js +1 -1
  126. package/src/integrations/pagebreak.js +1 -1
  127. package/src/integrations/paragraph.js +1 -1
  128. package/src/integrations/removeformat.js +1 -1
  129. package/src/integrations/restrictededitingmode.js +1 -1
  130. package/src/integrations/shiftentercommand.js +1 -1
  131. package/src/integrations/standardeditingmode.js +1 -1
  132. package/src/integrations/style.js +1 -1
  133. package/src/integrations/table.js +1 -1
  134. package/src/{utils/normalizedescription.js → integrations/tablecaption.js} +1 -1
  135. package/src/integrations/tableclipboard.js +1 -1
  136. package/src/integrations/tableheadings.js +1 -1
  137. package/src/integrations/tablemergesplit.js +1 -1
  138. package/src/integrations/title.js +1 -1
  139. package/src/integrations/undo.js +1 -1
  140. package/src/integrations/utils.js +1 -1
  141. package/src/suggestion.js +1 -1
  142. package/src/suggestiondescriptionfactory.js +1 -1
  143. package/src/trackchanges.js +1 -1
  144. package/src/trackchangesdata.js +1 -1
  145. package/src/trackchangesediting.js +1 -1
  146. package/src/trackchangesui.js +1 -1
  147. package/src/ui/suggestioncontroller.js +1 -1
  148. package/src/ui/view/basesuggestionthreadview.js +1 -1
  149. package/src/ui/view/suggestionthreadview.js +1 -1
  150. package/src/utils/common-translations.js +1 -1
  151. package/src/utils/utils.js +23 -0
  152. package/src/commands/acceptallsuggestionscommand.js +0 -23
  153. package/src/commands/acceptselectedsuggestionscommand.js +0 -23
  154. package/src/commands/discardallsuggestionscommand.js +0 -23
  155. package/src/commands/discardselectedsuggestionscommand.js +0 -23
  156. package/src/utils/getrangesofblockgroups.js +0 -23
  157. package/src/utils/getselectedsuggestions.js +0 -23
  158. package/src/utils/hashobject.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cde=['registerDescriptionCallback','get','change','editor','trim','FontSizeEditing','enableCommand','*Reset\x20font\x20color*','markInlineFormat','plugins','normalizeSizeOptions','FontFamilyEditing','*Reset\x20font\x20background\x20color*','getRanges','from','FontSize','_descriptionFactory','find','value','*Set\x20font\x20color:*\x20%0','toLowerCase','fontSize.options','commandParams','isCollapsed','FontColorEditing','format','selection','FontBackgroundColorEditing','config','TrackChangesEditing','*Set\x20font\x20size:*\x20%0','fontColor','_enableCommand','locale','*Set\x20font\x20family:*\x20%0','*Set\x20font\x20background\x20color:*\x20%0','model','title','afterInit','has','commandName','fontFamily','fontSize','*Reset\x20font\x20size*','label'];(function(_0x2a4f3d,_0x4cde23){const _0x29dfb6=function(_0x3e16da){while(--_0x3e16da){_0x2a4f3d['push'](_0x2a4f3d['shift']());}};_0x29dfb6(++_0x4cde23);}(_0x4cde,0x115));const _0x29df=function(_0x2a4f3d,_0x4cde23){_0x2a4f3d=_0x2a4f3d-0x0;let _0x29dfb6=_0x4cde[_0x2a4f3d];return _0x29dfb6;};import{Plugin as _0x57388b}from'ckeditor5/src/core';import{normalizeColorOptions as _0x417502}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x54b1a6}from'./utils';import{getTranslation as _0x1b197f}from'../utils/common-translations';const Bt=[{'pluginName':_0x29df('0x2b'),'commandName':_0x29df('0x23')},{'pluginName':_0x29df('0x4'),'commandName':'fontFamily'},{'pluginName':_0x29df('0x11'),'commandName':_0x29df('0x18')},{'pluginName':_0x29df('0x14'),'commandName':'fontBackgroundColor'}];export default class W extends _0x57388b{[_0x29df('0x1f')](){const _0x329fbc=this[_0x29df('0x29')]['locale'];for(const {pluginName:_0xfc29cf,commandName:_0x48a058}of Bt)this['editor']['plugins'][_0x29df('0x20')](_0xfc29cf)&&this['_enableCommand'](_0x48a058);this[_0x29df('0x29')][_0x29df('0x2')]['get'](_0x29df('0x16'))[_0x29df('0x9')][_0x29df('0x26')](_0x1b235b=>{const {data:_0x2346ae}=_0x1b235b;if(null!=_0x2346ae){if(_0x29df('0x23')==_0x2346ae[_0x29df('0x21')]){const _0x4952ae=_0x2346ae['commandParams'][0x0][_0x29df('0xb')];if(_0x4952ae){const _0x1cf178=this[_0x29df('0x29')][_0x29df('0x2')][_0x29df('0x27')](_0x29df('0x8'))[_0x29df('0x3')](this[_0x29df('0x29')][_0x29df('0x15')][_0x29df('0x27')](_0x29df('0xe')))[_0x29df('0xa')](_0x4bb1a5=>_0x4bb1a5[_0x29df('0x1d')]==_0x4952ae)[_0x29df('0x1e')],_0x131af6=this[_0x29df('0x29')][_0x29df('0x1a')]['_t'](_0x1cf178)['toLowerCase']();return{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x17'),_0x131af6)};}return{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x24'))};}if(_0x29df('0x22')==_0x2346ae[_0x29df('0x21')]){const _0x4601d0=_0x2346ae[_0x29df('0xf')][0x0][_0x29df('0xb')];return _0x4601d0?{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x1b'),_0x4601d0)}:{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,'*Reset\x20font\x20family*')};}if(_0x29df('0x18')==_0x2346ae['commandName']){const _0x304f99=_0x2346ae[_0x29df('0xf')][0x0][_0x29df('0xb')];if(_0x304f99){const _0x201c8c=_0x417502(this[_0x29df('0x29')][_0x29df('0x15')][_0x29df('0x27')]('fontColor.colors'))['find'](_0x4bf800=>_0x4bf800[_0x29df('0x1d')]==_0x304f99);let _0x650a7c=_0x304f99,_0x24525e='';return _0x201c8c&&(_0x650a7c=_0x201c8c['label'],_0x24525e=_0x329fbc['_t'](_0x650a7c)['toLowerCase']()),{'type':'format','content':_0x1b197f(_0x329fbc,_0x29df('0xc'),_0x24525e)[_0x29df('0x2a')](),'color':{'value':_0x304f99,'title':_0x24525e||_0x650a7c}};}return{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x0'))};}if('fontBackgroundColor'==_0x2346ae[_0x29df('0x21')]){const _0x4a5d5e=_0x2346ae[_0x29df('0xf')][0x0][_0x29df('0xb')];if(_0x4a5d5e){const _0x219237=_0x417502(this['editor'][_0x29df('0x15')][_0x29df('0x27')]('fontBackgroundColor.colors'))[_0x29df('0xa')](_0x127202=>_0x127202[_0x29df('0x1d')]==_0x4a5d5e);let _0x449ff9=_0x4a5d5e,_0x7a893e='';return _0x219237&&(_0x449ff9=_0x219237[_0x29df('0x25')],_0x7a893e=_0x329fbc['_t'](_0x449ff9)[_0x29df('0xd')]()),{'type':_0x29df('0x12'),'content':_0x1b197f(_0x329fbc,_0x29df('0x1c'),_0x7a893e)[_0x29df('0x2a')](),'color':{'value':_0x4a5d5e,'title':_0x7a893e||_0x449ff9}};}return{'type':'format','content':_0x1b197f(_0x329fbc,_0x29df('0x5'))};}}});}[_0x29df('0x19')](_0x487021){const _0x288ab8=this['editor'];_0x288ab8[_0x29df('0x2')][_0x29df('0x27')](_0x29df('0x16'))[_0x29df('0x2c')](_0x487021,(_0x39ee80,_0x190c5e={})=>{const _0x3b5c90=_0x288ab8[_0x29df('0x1d')]['document'][_0x29df('0x13')],_0xe65f62=_0x190c5e['value'];_0x3b5c90[_0x29df('0x10')]?_0x39ee80(_0x190c5e):_0x288ab8['model'][_0x29df('0x28')](()=>{const _0x4cc9a7=Array[_0x29df('0x7')](_0x3b5c90[_0x29df('0x6')]());for(const _0x310bc6 of _0x4cc9a7){const _0x55a83f=_0xe65f62?[_0x310bc6]:_0x54b1a6(_0x487021,_0x310bc6,_0x288ab8[_0x29df('0x1d')]);for(const _0xdb40c6 of _0x55a83f)_0x288ab8[_0x29df('0x2')][_0x29df('0x27')](_0x29df('0x16'))[_0x29df('0x1')](_0xdb40c6,{'commandName':_0x487021,'commandParams':[{'value':_0xe65f62}]});}});});}}
23
+ const _0x568c=['markInlineFormat','fontBackgroundColor.colors','plugins','isCollapsed','_descriptionFactory','from','FontFamilyEditing','toLowerCase','editor','FontSize','*Set\x20font\x20size:*\x20%0','afterInit','label','_enableCommand','change','locale','*Set\x20font\x20background\x20color:*\x20%0','fontSize.options','fontBackgroundColor','model','enableCommand','document','selection','get','TrackChangesEditing','*Set\x20font\x20color:*\x20%0','commandName','fontFamily','FontColorEditing','format','find','getRanges','trim','value','config','FontSizeEditing','fontSize','fontColor','commandParams','*Reset\x20font\x20background\x20color*','normalizeSizeOptions','registerDescriptionCallback','*Set\x20font\x20family:*\x20%0','fontColor.colors'];(function(_0x3dd27f,_0x568c5a){const _0x50a5e6=function(_0x314a2b){while(--_0x314a2b){_0x3dd27f['push'](_0x3dd27f['shift']());}};_0x50a5e6(++_0x568c5a);}(_0x568c,0x167));const _0x50a5=function(_0x3dd27f,_0x568c5a){_0x3dd27f=_0x3dd27f-0x0;let _0x50a5e6=_0x568c[_0x3dd27f];return _0x50a5e6;};import{Plugin as _0x3ff294}from'ckeditor5/src/core';import{normalizeColorOptions as _0x544f32}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x55ba7f}from'./utils';import{getTranslation as _0x53ad7b}from'../utils/common-translations';const Jt=[{'pluginName':_0x50a5('0x1c'),'commandName':_0x50a5('0x1d')},{'pluginName':_0x50a5('0x2b'),'commandName':_0x50a5('0x14')},{'pluginName':_0x50a5('0x15'),'commandName':_0x50a5('0x1e')},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];export default class W extends _0x3ff294{[_0x50a5('0x4')](){const _0x1657fa=this['editor'][_0x50a5('0x8')];for(const {pluginName:_0x2d52c8,commandName:_0x3f1140}of Jt)this[_0x50a5('0x1')][_0x50a5('0x27')]['has'](_0x2d52c8)&&this[_0x50a5('0x6')](_0x3f1140);this[_0x50a5('0x1')][_0x50a5('0x27')]['get'](_0x50a5('0x11'))[_0x50a5('0x29')][_0x50a5('0x22')](_0x59b9c0=>{const {data:_0x4818bd}=_0x59b9c0;if(null!=_0x4818bd){if(_0x50a5('0x1d')==_0x4818bd[_0x50a5('0x13')]){const _0x4d7a78=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];if(_0x4d7a78){const _0x4615da=this['editor'][_0x50a5('0x27')]['get'](_0x50a5('0x2'))[_0x50a5('0x21')](this['editor'][_0x50a5('0x1b')]['get'](_0x50a5('0xa')))[_0x50a5('0x17')](_0x4037ce=>_0x4037ce[_0x50a5('0xc')]==_0x4d7a78)['title'],_0x73dc1f=this['editor'][_0x50a5('0x8')]['_t'](_0x4615da)[_0x50a5('0x0')]();return{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x3'),_0x73dc1f)};}return{'type':'format','content':_0x53ad7b(_0x1657fa,'*Reset\x20font\x20size*')};}if(_0x50a5('0x14')==_0x4818bd['commandName']){const _0x825cda=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];return _0x825cda?{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x23'),_0x825cda)}:{'type':'format','content':_0x53ad7b(_0x1657fa,'*Reset\x20font\x20family*')};}if(_0x50a5('0x1e')==_0x4818bd[_0x50a5('0x13')]){const _0x1e73bd=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];if(_0x1e73bd){const _0x5dedc4=_0x544f32(this[_0x50a5('0x1')]['config'][_0x50a5('0x10')](_0x50a5('0x24')))[_0x50a5('0x17')](_0x293406=>_0x293406[_0x50a5('0xc')]==_0x1e73bd);let _0x18f43b=_0x1e73bd,_0x30d85f='';return _0x5dedc4&&(_0x18f43b=_0x5dedc4['label'],_0x30d85f=_0x1657fa['_t'](_0x18f43b)['toLowerCase']()),{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x12'),_0x30d85f)[_0x50a5('0x19')](),'color':{'value':_0x1e73bd,'title':_0x30d85f||_0x18f43b}};}return{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,'*Reset\x20font\x20color*')};}if(_0x50a5('0xb')==_0x4818bd['commandName']){const _0x1e5409=_0x4818bd[_0x50a5('0x1f')][0x0][_0x50a5('0x1a')];if(_0x1e5409){const _0x422baf=_0x544f32(this['editor'][_0x50a5('0x1b')]['get'](_0x50a5('0x26')))['find'](_0xdd80ee=>_0xdd80ee[_0x50a5('0xc')]==_0x1e5409);let _0x46f162=_0x1e5409,_0x5e20a9='';return _0x422baf&&(_0x46f162=_0x422baf[_0x50a5('0x5')],_0x5e20a9=_0x1657fa['_t'](_0x46f162)['toLowerCase']()),{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x9'),_0x5e20a9)[_0x50a5('0x19')](),'color':{'value':_0x1e5409,'title':_0x5e20a9||_0x46f162}};}return{'type':_0x50a5('0x16'),'content':_0x53ad7b(_0x1657fa,_0x50a5('0x20'))};}}});}['_enableCommand'](_0x1c5131){const _0x598bd4=this[_0x50a5('0x1')];_0x598bd4['plugins'][_0x50a5('0x10')](_0x50a5('0x11'))[_0x50a5('0xd')](_0x1c5131,(_0x17e396,_0x248cb0={})=>{const _0x37896a=_0x598bd4[_0x50a5('0xc')][_0x50a5('0xe')][_0x50a5('0xf')],_0x23a83d=_0x248cb0[_0x50a5('0x1a')];_0x37896a[_0x50a5('0x28')]?_0x17e396(_0x248cb0):_0x598bd4[_0x50a5('0xc')][_0x50a5('0x7')](()=>{const _0x43950e=Array[_0x50a5('0x2a')](_0x37896a[_0x50a5('0x18')]());for(const _0x42b695 of _0x43950e){const _0x1ac6fb=_0x23a83d?[_0x42b695]:_0x55ba7f(_0x1c5131,_0x42b695,_0x598bd4[_0x50a5('0xc')]);for(const _0x3ab9c4 of _0x1ac6fb)_0x598bd4[_0x50a5('0x27')][_0x50a5('0x10')](_0x50a5('0x11'))[_0x50a5('0x25')](_0x3ab9c4,{'commandName':_0x1c5131,'commandParams':[{'value':_0x23a83d}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22f1=['find','change','format','parent','selection','blockName','heading.options','getSelectedBlocks','name','*Change\x20to:*\x20%0','heading','isObject','commandName','document','get','HeadingEditing','editor','paragraph','match','checkChild','TrackChangesEditing','enableCommand','registerElementLabel','ELEMENT_HEADING','plugins','model','registerDescriptionCallback','markBlockFormat','locale','value','_descriptionFactory','afterInit','ELEMENT_HEADING_CUSTOM','schema','title'];(function(_0x480cdf,_0x22f16c){const _0x3b1062=function(_0xa7d8af){while(--_0xa7d8af){_0x480cdf['push'](_0x480cdf['shift']());}};_0x3b1062(++_0x22f16c);}(_0x22f1,0x192));const _0x3b10=function(_0x480cdf,_0x22f16c){_0x480cdf=_0x480cdf-0x0;let _0x3b1062=_0x22f1[_0x480cdf];return _0x3b1062;};import{Plugin as _0x3fa2b0}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x3df704}from'./utils';import{getTranslation as _0x2b2a79}from'../utils/common-translations';export default class z extends _0x3fa2b0{[_0x3b10('0xe')](){const _0xc8f3e7=this[_0x3b10('0x22')],_0x5edc75=_0xc8f3e7[_0x3b10('0xb')],_0x2aae56=_0xc8f3e7['config'][_0x3b10('0x20')](_0x3b10('0x18'));if(!_0xc8f3e7['plugins']['has'](_0x3b10('0x21')))return;const _0x22cf4a=_0xc8f3e7[_0x3b10('0x7')][_0x3b10('0x20')](_0x3b10('0x3'));_0x22cf4a[_0x3b10('0x4')](_0x3b10('0x1c'),(_0x413054,_0x9725)=>{const _0x20032a=_0x9725[_0x3b10('0xc')],_0x31248f=Array['from'](this[_0x3b10('0x22')][_0x3b10('0x8')][_0x3b10('0x1f')][_0x3b10('0x16')][_0x3b10('0x19')]())['filter'](_0x2a8469=>function(_0x5d4a19,_0x477e41,_0x176e2a){return _0x176e2a[_0x3b10('0x2')](_0x5d4a19[_0x3b10('0x15')],_0x477e41)&&!_0x176e2a[_0x3b10('0x1d')](_0x5d4a19)&&_0x5d4a19[_0x3b10('0x1a')]!=_0x477e41;}(_0x2a8469,_0x20032a,this[_0x3b10('0x22')][_0x3b10('0x8')][_0x3b10('0x10')]));_0xc8f3e7[_0x3b10('0x8')][_0x3b10('0x13')](()=>{for(const _0x16c20d of _0x31248f)_0x22cf4a[_0x3b10('0xa')](_0x16c20d,{'commandName':'heading','commandParams':[_0x9725],'formatGroupId':_0x3b10('0x17')},_0x3df704(_0x16c20d));});});for(const _0x4ed57b of _0x2aae56)_0x3b10('0x0')!=_0x4ed57b[_0x3b10('0x8')]&&_0x22cf4a[_0x3b10('0xd')][_0x3b10('0x5')](_0x4ed57b[_0x3b10('0x8')],_0x4669d9=>{const _0x2bf628=Ht(_0x4ed57b[_0x3b10('0x8')]);return null!==_0x2bf628?_0x2bf032(_0x4669d9,_0x2bf628):_0x51a9e4(_0x4669d9,_0x4ed57b[_0x3b10('0x11')]);});function _0x2bf032(_0x51a69d,_0x5869fc){return _0x2b2a79(_0x5edc75,_0x3b10('0x6'),[_0x51a69d,_0x5869fc]);}function _0x51a9e4(_0x222a9a,_0x5c614f){return _0x2b2a79(_0x5edc75,_0x3b10('0xf'),[_0x222a9a,_0x5c614f]);}_0x22cf4a[_0x3b10('0xd')][_0x3b10('0x9')](_0x41be38=>{const {type:_0xc526cb,data:_0x19d76f}=_0x41be38;if('formatBlock'==_0xc526cb&&_0x19d76f&&_0x3b10('0x1c')==_0x19d76f[_0x3b10('0x1e')]){const _0x2931bd=_0x19d76f['commandParams'][0x0][_0x3b10('0xc')],_0x2cd251=Ht(_0x2931bd);if(null!==_0x2cd251)return{'type':_0x3b10('0x14'),'content':_0x2b2a79(_0x5edc75,_0x3b10('0x1b'),_0x2bf032(0x1,_0x2cd251))};const _0x9fcfc2=_0x2aae56[_0x3b10('0x12')](_0x2abac2=>_0x2abac2[_0x3b10('0x8')]===_0x2931bd)[_0x3b10('0x11')];return{'type':_0x3b10('0x14'),'content':_0x2b2a79(_0x5edc75,_0x3b10('0x1b'),_0x51a9e4(0x1,_0x9fcfc2))};}});}}function Ht(_0x5861e6){const _0x2b86bc=_0x5861e6[_0x3b10('0x1')](/^heading(\d+)$/);return _0x2b86bc?_0x2b86bc[0x1]:null;}
23
+ const _0x1f8d=['value','editor','commandName','title','HeadingEditing','from','get','config','schema','isObject','model','registerDescriptionCallback','ELEMENT_HEADING_CUSTOM','find','commandParams','heading.options','checkChild','document','change','enableCommand','match','filter','*Change\x20to:*\x20%0','parent','locale','format','blockName','getSelectedBlocks','plugins','heading','has','ELEMENT_HEADING'];(function(_0x234dab,_0x1f8d1c){const _0x55359b=function(_0x5ea5bf){while(--_0x5ea5bf){_0x234dab['push'](_0x234dab['shift']());}};_0x55359b(++_0x1f8d1c);}(_0x1f8d,0xf8));const _0x5535=function(_0x234dab,_0x1f8d1c){_0x234dab=_0x234dab-0x0;let _0x55359b=_0x1f8d[_0x234dab];return _0x55359b;};import{Plugin as _0x549ba3}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x9ef737}from'./utils';import{getTranslation as _0x1018e0}from'../utils/common-translations';export default class z extends _0x549ba3{['afterInit'](){const _0x766ba2=this[_0x5535('0x9')],_0x3a1019=_0x766ba2[_0x5535('0x0')],_0x4ab272=_0x766ba2[_0x5535('0xf')][_0x5535('0xe')](_0x5535('0x17'));if(!_0x766ba2[_0x5535('0x4')][_0x5535('0x6')](_0x5535('0xc')))return;const _0x13105c=_0x766ba2[_0x5535('0x4')][_0x5535('0xe')]('TrackChangesEditing');_0x13105c[_0x5535('0x1b')](_0x5535('0x5'),(_0x1f016d,_0x58b159)=>{const _0x30d59c=_0x58b159['value'],_0x3cd2c5=Array[_0x5535('0xd')](this['editor'][_0x5535('0x12')][_0x5535('0x19')]['selection'][_0x5535('0x3')]())[_0x5535('0x1d')](_0x269f76=>function(_0x3e3cfb,_0x47f2b6,_0x25b0d9){return _0x25b0d9[_0x5535('0x18')](_0x3e3cfb[_0x5535('0x1f')],_0x47f2b6)&&!_0x25b0d9[_0x5535('0x11')](_0x3e3cfb)&&_0x3e3cfb['name']!=_0x47f2b6;}(_0x269f76,_0x30d59c,this[_0x5535('0x9')][_0x5535('0x12')][_0x5535('0x10')]));_0x766ba2[_0x5535('0x12')][_0x5535('0x1a')](()=>{for(const _0x2dc596 of _0x3cd2c5)_0x13105c['markBlockFormat'](_0x2dc596,{'commandName':_0x5535('0x5'),'commandParams':[_0x58b159],'formatGroupId':_0x5535('0x2')},_0x9ef737(_0x2dc596));});});for(const _0x5192fc of _0x4ab272)'paragraph'!=_0x5192fc['model']&&_0x13105c['_descriptionFactory']['registerElementLabel'](_0x5192fc[_0x5535('0x12')],_0x4b050c=>{const _0x21474f=Kt(_0x5192fc['model']);return null!==_0x21474f?_0x1a6ea6(_0x4b050c,_0x21474f):_0x2caad7(_0x4b050c,_0x5192fc[_0x5535('0xb')]);});function _0x1a6ea6(_0x58d579,_0x239227){return _0x1018e0(_0x3a1019,_0x5535('0x7'),[_0x58d579,_0x239227]);}function _0x2caad7(_0x18e279,_0x4e47f6){return _0x1018e0(_0x3a1019,_0x5535('0x14'),[_0x18e279,_0x4e47f6]);}_0x13105c['_descriptionFactory'][_0x5535('0x13')](_0x24afa5=>{const {type:_0x9002dd,data:_0x26979c}=_0x24afa5;if('formatBlock'==_0x9002dd&&_0x26979c&&_0x5535('0x5')==_0x26979c[_0x5535('0xa')]){const _0x13e11f=_0x26979c[_0x5535('0x16')][0x0][_0x5535('0x8')],_0x281b11=Kt(_0x13e11f);if(null!==_0x281b11)return{'type':_0x5535('0x1'),'content':_0x1018e0(_0x3a1019,_0x5535('0x1e'),_0x1a6ea6(0x1,_0x281b11))};const _0x6382a7=_0x4ab272[_0x5535('0x15')](_0x41f85a=>_0x41f85a[_0x5535('0x12')]===_0x13e11f)['title'];return{'type':_0x5535('0x1'),'content':_0x1018e0(_0x3a1019,_0x5535('0x1e'),_0x2caad7(0x1,_0x6382a7))};}});}}function Kt(_0x288a52){const _0x200a8e=_0x288a52[_0x5535('0x1c')](/^heading(\d+)$/);return _0x200a8e?_0x200a8e[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1066=['item','commandParams','format','plugins','hasAttribute','afterInit','document','registerDescriptionCallback','getAttribute','find','selection','markInlineFormat','color','FORMAT_HIGHLIGHT','config','_descriptionFactory','value','toLowerCase','getFirstPosition','model','TrackChangesEditing','highlight','push','editor','enableCommand','title','has','HighlightEditing','getLastMatchingPosition','get','highlight.options','*Remove\x20highlight*','commandName','formatInline','isCollapsed','*Set\x20highlight:*\x20%0','locale'];(function(_0x43a8e8,_0x106615){const _0x11cacd=function(_0x18f15d){while(--_0x18f15d){_0x43a8e8['push'](_0x43a8e8['shift']());}};_0x11cacd(++_0x106615);}(_0x1066,0x180));const _0x11ca=function(_0x43a8e8,_0x106615){_0x43a8e8=_0x43a8e8-0x0;let _0x11cacd=_0x1066[_0x43a8e8];return _0x11cacd;};import{Plugin as _0x5b9a26}from'ckeditor5/src/core';import{getTranslation as _0x33ef89}from'../utils/common-translations';import{getRangesWithAttribute as _0x525697}from'./utils';export default class J extends _0x5b9a26{[_0x11ca('0x1c')](){const _0x55df15=this[_0x11ca('0x9')];if(!_0x55df15[_0x11ca('0x1a')][_0x11ca('0xc')](_0x11ca('0xd')))return;const _0xf0ae90=_0x55df15[_0x11ca('0x1a')][_0x11ca('0xf')](_0x11ca('0x6'));_0xf0ae90[_0x11ca('0xa')](_0x11ca('0x7'),(_0x57d922,_0x13d88c={})=>{const _0x5ae243=_0x55df15[_0x11ca('0x5')][_0x11ca('0x1d')][_0x11ca('0x21')],_0x9a797b=_0x5ae243[_0x11ca('0x1f')]('highlight');let _0xa64045=_0x13d88c['value'],_0x71d5c6=[];if(_0x5ae243[_0x11ca('0x14')]){const _0x2b07ab=_0x5ae243[_0x11ca('0x4')]();if(!_0x5ae243[_0x11ca('0x1b')](_0x11ca('0x7')))return void _0x57d922(_0x13d88c);{const _0x1a715c=_0x25996b=>_0x25996b[_0x11ca('0x17')][_0x11ca('0x1f')]('highlight')===_0x9a797b,_0x484310=_0x2b07ab[_0x11ca('0xe')](_0x1a715c,{'direction':'backward'}),_0x5d2036=_0x2b07ab[_0x11ca('0xe')](_0x1a715c);_0x71d5c6=[_0x55df15['model']['createRange'](_0x484310,_0x5d2036)],_0xa64045==_0x9a797b&&(_0xa64045=null);}}else for(const _0x4463fe of _0x5ae243['getRanges']())_0xa64045?_0x71d5c6[_0x11ca('0x8')](_0x4463fe):_0x71d5c6[_0x11ca('0x8')](..._0x525697(_0x11ca('0x7'),_0x4463fe,_0x55df15[_0x11ca('0x5')]));_0x55df15[_0x11ca('0x5')]['change'](()=>{for(const _0x3f95b6 of _0x71d5c6)_0xf0ae90[_0x11ca('0x22')](_0x3f95b6,{'commandName':_0x11ca('0x7'),'commandParams':[{'value':_0xa64045}]});});});const _0x5bede0=_0x55df15[_0x11ca('0x16')];_0xf0ae90[_0x11ca('0x1')][_0x11ca('0x1e')](_0x24882a=>{const {type:_0x369d84,data:_0x48a54a}=_0x24882a;if(_0x11ca('0x13')==_0x369d84&&_0x48a54a&&_0x11ca('0x7')==_0x48a54a[_0x11ca('0x12')]){const _0x4d352f=_0x48a54a[_0x11ca('0x18')][0x0][_0x11ca('0x2')];if(_0x4d352f){const _0x5dc8e9=_0x55df15[_0x11ca('0x0')]['get'](_0x11ca('0x10'))[_0x11ca('0x20')](_0xc8ba6=>_0xc8ba6[_0x11ca('0x5')]==_0x4d352f),_0x532090=_0x5bede0['_t'](_0x5dc8e9[_0x11ca('0xb')])[_0x11ca('0x3')]();return{'type':_0x11ca('0x19'),'content':_0x33ef89(_0x5bede0,_0x11ca('0x15'),_0x532090),'color':{'value':_0x5dc8e9[_0x11ca('0x23')],'title':_0x5dc8e9[_0x11ca('0xb')]}};}return{'type':'format','content':_0x33ef89(_0x5bede0,_0x11ca('0x11'),_0x33ef89(_0x5bede0,_0x11ca('0x24')))};}});}}
23
+ const _0x46d5=['value','title','TrackChangesEditing','locale','hasAttribute','backward','selection','highlight.options','color','get','createRange','markInlineFormat','change','plugins','FORMAT_HIGHLIGHT','afterInit','model','editor','push','getLastMatchingPosition','format','*Remove\x20highlight*','isCollapsed','getRanges','getFirstPosition','item','config','document','highlight','formatInline','registerDescriptionCallback','has','enableCommand','getAttribute','*Set\x20highlight:*\x20%0'];(function(_0x38573b,_0x46d556){const _0xbb84a3=function(_0x28c55c){while(--_0x28c55c){_0x38573b['push'](_0x38573b['shift']());}};_0xbb84a3(++_0x46d556);}(_0x46d5,0x150));const _0xbb84=function(_0x38573b,_0x46d556){_0x38573b=_0x38573b-0x0;let _0xbb84a3=_0x46d5[_0x38573b];return _0xbb84a3;};import{Plugin as _0x318982}from'ckeditor5/src/core';import{getTranslation as _0xec7bd1}from'../utils/common-translations';import{getRangesWithAttribute as _0xa1d030}from'./utils';export default class J extends _0x318982{[_0xbb84('0x1d')](){const _0x43ca25=this[_0xbb84('0x1f')];if(!_0x43ca25[_0xbb84('0x1b')][_0xbb84('0xa')]('HighlightEditing'))return;const _0x1153f5=_0x43ca25['plugins'][_0xbb84('0x17')](_0xbb84('0x10'));_0x1153f5[_0xbb84('0xb')](_0xbb84('0x7'),(_0x298155,_0x5db409={})=>{const _0x89d13a=_0x43ca25[_0xbb84('0x1e')][_0xbb84('0x6')][_0xbb84('0x14')],_0x37127d=_0x89d13a[_0xbb84('0xc')]('highlight');let _0x474217=_0x5db409[_0xbb84('0xe')],_0x48a6e1=[];if(_0x89d13a[_0xbb84('0x1')]){const _0xd83825=_0x89d13a[_0xbb84('0x3')]();if(!_0x89d13a[_0xbb84('0x12')]('highlight'))return void _0x298155(_0x5db409);{const _0x56859f=_0x29b6fa=>_0x29b6fa[_0xbb84('0x4')][_0xbb84('0xc')]('highlight')===_0x37127d,_0x4fe90a=_0xd83825[_0xbb84('0x21')](_0x56859f,{'direction':_0xbb84('0x13')}),_0x50c8ed=_0xd83825[_0xbb84('0x21')](_0x56859f);_0x48a6e1=[_0x43ca25[_0xbb84('0x1e')][_0xbb84('0x18')](_0x4fe90a,_0x50c8ed)],_0x474217==_0x37127d&&(_0x474217=null);}}else for(const _0x55663b of _0x89d13a[_0xbb84('0x2')]())_0x474217?_0x48a6e1[_0xbb84('0x20')](_0x55663b):_0x48a6e1[_0xbb84('0x20')](..._0xa1d030('highlight',_0x55663b,_0x43ca25['model']));_0x43ca25[_0xbb84('0x1e')][_0xbb84('0x1a')](()=>{for(const _0x5990df of _0x48a6e1)_0x1153f5[_0xbb84('0x19')](_0x5990df,{'commandName':_0xbb84('0x7'),'commandParams':[{'value':_0x474217}]});});});const _0x1c9d23=_0x43ca25[_0xbb84('0x11')];_0x1153f5['_descriptionFactory'][_0xbb84('0x9')](_0x3f63c3=>{const {type:_0x4330c8,data:_0xa57518}=_0x3f63c3;if(_0xbb84('0x8')==_0x4330c8&&_0xa57518&&_0xbb84('0x7')==_0xa57518['commandName']){const _0x42fa88=_0xa57518['commandParams'][0x0][_0xbb84('0xe')];if(_0x42fa88){const _0x248c8c=_0x43ca25[_0xbb84('0x5')]['get'](_0xbb84('0x15'))['find'](_0x32b8ba=>_0x32b8ba[_0xbb84('0x1e')]==_0x42fa88),_0x587e=_0x1c9d23['_t'](_0x248c8c['title'])['toLowerCase']();return{'type':_0xbb84('0x22'),'content':_0xec7bd1(_0x1c9d23,_0xbb84('0xd'),_0x587e),'color':{'value':_0x248c8c[_0xbb84('0x16')],'title':_0x248c8c[_0xbb84('0xf')]}};}return{'type':_0xbb84('0x22'),'content':_0xec7bd1(_0x1c9d23,_0xbb84('0x0'),_0xec7bd1(_0x1c9d23,_0xbb84('0x1c')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bd6=['editor','createEmptyElement','ELEMENT_HORIZONTAL_LINE','createPositionAt','get','createContainerElement','for','ck-horizontal-line','HorizontalLineEditing','elementToStructure','TrackChangesEditing','registerElementLabel','has','showSuggestionHighlights','horizontalLine','enableCommand','plugins','insert','locale','afterInit'];(function(_0x3f01ed,_0x5bd641){const _0x4d0f0e=function(_0x51c8a5){while(--_0x51c8a5){_0x3f01ed['push'](_0x3f01ed['shift']());}};_0x4d0f0e(++_0x5bd641);}(_0x5bd6,0x16c));const _0x4d0f=function(_0x3f01ed,_0x5bd641){_0x3f01ed=_0x3f01ed-0x0;let _0x4d0f0e=_0x5bd6[_0x3f01ed];return _0x4d0f0e;};import{Plugin as _0x5bfe56}from'ckeditor5/src/core';import{getTranslation as _0x54addf}from'../utils/common-translations';export default class K extends _0x5bfe56{[_0x4d0f('0xf')](){const _0x294de6=this[_0x4d0f('0x10')];if(!_0x294de6[_0x4d0f('0xc')][_0x4d0f('0x8')](_0x4d0f('0x4')))return;_0x294de6[_0x4d0f('0xc')][_0x4d0f('0x0')](_0x4d0f('0x6'))[_0x4d0f('0xb')]('horizontalLine');const _0x3546f3=_0x294de6[_0x4d0f('0xc')][_0x4d0f('0x0')](_0x4d0f('0x6')),_0x5d4e1d=_0x294de6[_0x4d0f('0xe')];_0x3546f3['_descriptionFactory'][_0x4d0f('0x7')](_0x4d0f('0xa'),_0x4f4128=>_0x54addf(_0x5d4e1d,_0x4d0f('0x12'),_0x4f4128)),_0x294de6['conversion'][_0x4d0f('0x2')]('dataDowncast')[_0x4d0f('0x5')]({'model':_0x4d0f('0xa'),'view':(_0x5c8104,{writer:_0x32e44c,options:_0x4e541c})=>{if(!_0x4e541c[_0x4d0f('0x9')])return;const _0x3d2662=_0x32e44c[_0x4d0f('0x1')]('div'),_0x274582=_0x32e44c[_0x4d0f('0x11')]('hr');return _0x32e44c['addClass'](_0x4d0f('0x3'),_0x3d2662),_0x32e44c[_0x4d0f('0xd')](_0x32e44c[_0x4d0f('0x13')](_0x3d2662,0x0),_0x274582),_0x3d2662;},'converterPriority':'high'});}}
23
+ const _0x8dda=['addClass','for','high','HorizontalLineEditing','_descriptionFactory','TrackChangesEditing','plugins','registerElementLabel','editor','createPositionAt','elementToStructure','has','conversion','enableCommand','horizontalLine','ELEMENT_HORIZONTAL_LINE','locale','get'];(function(_0x4ece4d,_0x8dda05){const _0x19d18b=function(_0x39708d){while(--_0x39708d){_0x4ece4d['push'](_0x4ece4d['shift']());}};_0x19d18b(++_0x8dda05);}(_0x8dda,0x1af));const _0x19d1=function(_0x4ece4d,_0x8dda05){_0x4ece4d=_0x4ece4d-0x0;let _0x19d18b=_0x8dda[_0x4ece4d];return _0x19d18b;};import{Plugin as _0x3bb4c3}from'ckeditor5/src/core';import{getTranslation as _0x389f81}from'../utils/common-translations';export default class K extends _0x3bb4c3{['afterInit'](){const _0x554c84=this[_0x19d1('0x9')];if(!_0x554c84[_0x19d1('0x7')][_0x19d1('0xc')](_0x19d1('0x4')))return;_0x554c84[_0x19d1('0x7')][_0x19d1('0x0')]('TrackChangesEditing')[_0x19d1('0xe')](_0x19d1('0xf'));const _0x40eccc=_0x554c84[_0x19d1('0x7')][_0x19d1('0x0')](_0x19d1('0x6')),_0x24ffb0=_0x554c84[_0x19d1('0x11')];_0x40eccc[_0x19d1('0x5')][_0x19d1('0x8')](_0x19d1('0xf'),_0x32e25b=>_0x389f81(_0x24ffb0,_0x19d1('0x10'),_0x32e25b)),_0x554c84[_0x19d1('0xd')][_0x19d1('0x2')]('dataDowncast')[_0x19d1('0xb')]({'model':_0x19d1('0xf'),'view':(_0x2e282f,{writer:_0x513fc5,options:_0x407a69})=>{if(!_0x407a69['showSuggestionHighlights'])return;const _0x3ad637=_0x513fc5['createContainerElement']('div'),_0x4d5cc3=_0x513fc5['createEmptyElement']('hr');return _0x513fc5[_0x19d1('0x1')]('ck-horizontal-line',_0x3ad637),_0x513fc5['insert'](_0x513fc5[_0x19d1('0xa')](_0x3ad637,0x0),_0x4d5cc3),_0x3ad637;},'converterPriority':_0x19d1('0x3')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f66=['*Change\x20%0\x20content*','get','format','getCustomProperty','ELEMENT_HTML_EMBED','enableCommand','plugins','_descriptionFactory','document','registerDescriptionCallback','editor','cancel','registerElementLabel','selection','value','getSelectedElement','commandName','view','TrackChangesEditing','rawHtml','getAttribute','htmlEmbed','rawHtmlApi'];(function(_0x1ed779,_0x2f66f7){const _0x2a6e19=function(_0x1a7c00){while(--_0x1a7c00){_0x1ed779['push'](_0x1ed779['shift']());}};_0x2a6e19(++_0x2f66f7);}(_0x2f66,0xe5));const _0x2a6e=function(_0x1ed779,_0x2f66f7){_0x1ed779=_0x1ed779-0x0;let _0x2a6e19=_0x2f66[_0x1ed779];return _0x2a6e19;};import{Plugin as _0x2a0c9c}from'ckeditor5/src/core';import{getTranslation as _0x1fe819}from'../utils/common-translations';export default class Q extends _0x2a0c9c{['afterInit'](){const _0x21ffb4=this[_0x2a6e('0xb')];if(!_0x21ffb4[_0x2a6e('0x7')]['has']('HtmlEmbed'))return;const _0x2a0c41=_0x21ffb4[_0x2a6e('0x7')][_0x2a6e('0x2')](_0x2a6e('0x13')),_0x5f1d49=_0x21ffb4['locale'],_0x2f63de=_0x21ffb4['editing'][_0x2a6e('0x12')][_0x2a6e('0x9')][_0x2a6e('0xe')];_0x2a0c41[_0x2a6e('0x8')][_0x2a6e('0xd')](_0x2a6e('0x14'),_0x51c542=>_0x1fe819(_0x5f1d49,_0x2a6e('0x5'),_0x51c542)),_0x21ffb4['plugins'][_0x2a6e('0x2')](_0x2a6e('0x13'))[_0x2a6e('0x6')]('htmlEmbed',(_0x5e566c,_0x220f11)=>{const _0x10e0ed=_0x21ffb4['model'],_0xef55b2=_0x10e0ed['document']['selection'];_0x10e0ed['change'](()=>{const _0x164192=function(_0x24643d){const _0x5aa03c=_0x24643d[_0x2a6e('0x10')]();if(_0x5aa03c&&_0x5aa03c['is']('element',_0x2a6e('0x14')))return _0x24643d['getSelectedElement']();return null;}(_0xef55b2);if(!_0x164192)return void _0x5e566c(null);const _0x1b5b04=_0x164192[_0x2a6e('0x15')](_0x2a6e('0xf'))||'';if(void 0x0===_0x220f11)return;if(_0x220f11===_0x1b5b04)return;_0x2a0c41['markBlockFormat'](_0x164192,{'commandName':_0x2a6e('0x16'),'commandParams':[_0x220f11]}),_0x2f63de['getSelectedElement']()[_0x2a6e('0x4')](_0x2a6e('0x0'))[_0x2a6e('0xc')]();});}),_0x2a0c41[_0x2a6e('0x8')][_0x2a6e('0xa')](_0x51d674=>{const {data:_0x1c9a67}=_0x51d674;if(_0x1c9a67&&_0x2a6e('0x16')==_0x1c9a67[_0x2a6e('0x11')]){const _0x3b307e=_0x1fe819(_0x5f1d49,_0x2a6e('0x5'));return{'type':_0x2a6e('0x3'),'content':_0x1fe819(_0x5f1d49,_0x2a6e('0x1'),_0x3b307e)};}});}}
23
+ const _0x78d8=['editing','selection','commandName','locale','getAttribute','TrackChangesEditing','htmlEmbed','registerElementLabel','editor','rawHtml','value','registerDescriptionCallback','model','get','has','*Change\x20%0\x20content*','getCustomProperty','ELEMENT_HTML_EMBED','_descriptionFactory','document','view','HtmlEmbed','rawHtmlApi','format','getSelectedElement','plugins','markBlockFormat','element','change','enableCommand'];(function(_0x49be84,_0x78d820){const _0x4ac8e9=function(_0x5463bb){while(--_0x5463bb){_0x49be84['push'](_0x49be84['shift']());}};_0x4ac8e9(++_0x78d820);}(_0x78d8,0x19a));const _0x4ac8=function(_0x49be84,_0x78d820){_0x49be84=_0x49be84-0x0;let _0x4ac8e9=_0x78d8[_0x49be84];return _0x4ac8e9;};import{Plugin as _0x281663}from'ckeditor5/src/core';import{getTranslation as _0x3ba8c1}from'../utils/common-translations';export default class Q extends _0x281663{['afterInit'](){const _0x57b3a4=this[_0x4ac8('0x12')];if(!_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x18')](_0x4ac8('0x1')))return;const _0x27d7d8=_0x57b3a4[_0x4ac8('0x5')][_0x4ac8('0x17')](_0x4ac8('0xf')),_0xeb1f09=_0x57b3a4[_0x4ac8('0xd')],_0x3c226b=_0x57b3a4[_0x4ac8('0xa')][_0x4ac8('0x0')][_0x4ac8('0x1d')]['selection'];_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x11')]('rawHtml',_0x5bdb64=>_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'),_0x5bdb64)),_0x57b3a4[_0x4ac8('0x5')]['get'](_0x4ac8('0xf'))[_0x4ac8('0x9')](_0x4ac8('0x10'),(_0x5bc174,_0x575c9e)=>{const _0x240015=_0x57b3a4[_0x4ac8('0x16')],_0x17197f=_0x240015[_0x4ac8('0x1d')][_0x4ac8('0xb')];_0x240015[_0x4ac8('0x8')](()=>{const _0x5ec980=function(_0x3635f9){const _0x4472cb=_0x3635f9[_0x4ac8('0x4')]();if(_0x4472cb&&_0x4472cb['is'](_0x4ac8('0x7'),_0x4ac8('0x13')))return _0x3635f9[_0x4ac8('0x4')]();return null;}(_0x17197f);if(!_0x5ec980)return void _0x5bc174(null);const _0xd68a58=_0x5ec980[_0x4ac8('0xe')](_0x4ac8('0x14'))||'';if(void 0x0===_0x575c9e)return;if(_0x575c9e===_0xd68a58)return;_0x27d7d8[_0x4ac8('0x6')](_0x5ec980,{'commandName':_0x4ac8('0x10'),'commandParams':[_0x575c9e]}),_0x3c226b[_0x4ac8('0x4')]()[_0x4ac8('0x1a')](_0x4ac8('0x2'))['cancel']();});}),_0x27d7d8[_0x4ac8('0x1c')][_0x4ac8('0x15')](_0x241756=>{const {data:_0x1e56f7}=_0x241756;if(_0x1e56f7&&'htmlEmbed'==_0x1e56f7[_0x4ac8('0xc')]){const _0x46b2df=_0x3ba8c1(_0xeb1f09,_0x4ac8('0x1b'));return{'type':_0x4ac8('0x3'),'content':_0x3ba8c1(_0xeb1f09,_0x4ac8('0x19'),_0x46b2df)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32fb=['caption','getChangedMarkers','isCollapsed','element','format','locale','insertImage','shouldConvertImageType','convertBlockImageToInline','accept','find','isOwn','isEqual','imageTextAlternative','type','afterInit','toLowerCase','insertion','alt','ImageInlineEditing','registerElementLabel','toNext','model','getSuggestion','toggleImageCaption','_suggestionFactory','hasSuggestion','ELEMENT_CAPTION','ImageEditing','forceDefaultExecution','getSuggestions','nodeBefore','newValue','toPrevious','convertInlineImageToBlock','subType','next','plugins','getContainedElement','getClosestSelectedImageElement','differ','imageTypeInline','chain','ImageTextAlternativeEditing','TrackChangesEditing','normalizedStyles','imageStyle','hasAttribute','ImageCaptionUtils','discard','value','schema','change','formatInline','ImageResize','get','author','*Set\x20image\x20text\x20alternative:*\x20%0','removeObject','imageStylePreApply','filter','detach','FORMAT_SIDE_IMAGE','ImageCaptionEditing','registerDescriptionCallback','forward','resizeImage','formatBlock','selection','width','commandName','from','name','end','backward','markDeletion','enableCommand','start','isBlockImage','commandReversedParams','discardSuggestion','registerCustomCallback','isInlineImage','ELEMENT_INLINE_IMAGE','commands','title','ImageUploadEditing','getFirstRange','head','newRange','getCaptionFromImageModelElement','imageTypeBlock','*Set\x20image\x20width:*\x20%0','findIndex','isIntersecting','isBefore','_descriptionFactory','getNearestSelectionRange','refresh','Block\x20image\x20to\x20inline\x20image','forEach','has','_splitMarkerName','deletion','ImageBlockEditing','markBlockFormat','markInsertion','length','*Remove\x20image\x20text\x20alternative*','getAttribute','commandParams','document','createRange','getSuggestionCallback','uploadImage','fromPosition','imageCaption','imageStylePostApply','createRangeOn','*Format:*\x20%0','join','editor','Users'];(function(_0x45859e,_0x32fb56){const _0x4f7e66=function(_0x4463af){while(--_0x4463af){_0x45859e['push'](_0x45859e['shift']());}};_0x4f7e66(++_0x32fb56);}(_0x32fb,0x188));const _0x4f7e=function(_0x45859e,_0x32fb56){_0x45859e=_0x45859e-0x0;let _0x4f7e66=_0x32fb[_0x45859e];return _0x4f7e66;};import{Plugin as _0x366461}from'ckeditor5/src/core';import{LivePosition as _0x39a704}from'ckeditor5/src/engine';import{uid as _0x10b714}from'ckeditor5/src/utils';import{getTranslation as _0x287344}from'../utils/common-translations';export default class V extends _0x366461{[_0x4f7e('0x73')](){const _0x336125=this[_0x4f7e('0x62')];if(!_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x5')))return;const _0x19635b=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x15')),_0x3cdd56=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')]('ImageUtils'),_0x14d6b5={},_0x58c14a=_0x336125[_0x4f7e('0x69')];if(_0x19635b['enableCommand'](_0x4f7e('0x6a')),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')]('imageBlock',_0x4f7fbc=>_0x287344(_0x58c14a,'ELEMENT_IMAGE',_0x4f7fbc)),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')]('imageInline',_0x2ae673=>_0x287344(_0x58c14a,_0x4f7e('0x3c'),_0x2ae673)),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x78')](_0x4f7e('0x64'),_0x287344(_0x58c14a,_0x4f7e('0x4'))),_0x336125[_0x4f7e('0xe')]['has'](_0x4f7e('0x3f'))&&_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x5b')),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x51'))&&_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x77'))&&(_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x12'),(_0x29d8b1,_0x379907)=>{const _0x202126=_0x3cdd56['getClosestSelectedImageElement'](_0x336125['model']['document'][_0x4f7e('0x2d')]);_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b[_0x4f7e('0x52')](_0x202126,{'commandName':_0x4f7e('0x12'),'commandParams':[_0x379907]},[],_0x4f7e('0x6c'));});}),_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x44'),(_0x1c45f7,_0x2712f6)=>{_0x336125['model']['change'](_0x26aea2=>{let _0xeafe58=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')]['selection']),_0xf251d=_0x26aea2['createRangeOn'](_0xeafe58);const _0x1b9107=_0x39a704[_0x4f7e('0x5c')](_0xf251d[_0x4f7e('0x36')],_0x4f7e('0xa')),_0xe031c0=_0x39a704['fromPosition'](_0xf251d[_0x4f7e('0x32')],_0x4f7e('0x79'));_0x19635b[_0x4f7e('0x6')](()=>_0x1c45f7(_0x2712f6)),_0xeafe58=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0xf251d=_0x26aea2['createRangeOn'](_0xeafe58);const _0x58f377=_0x26aea2['createRange'](_0x1b9107,_0xe031c0);_0x1b9107[_0x4f7e('0x26')](),_0xe031c0['detach'](),_0x19635b[_0x4f7e('0x52')](_0xeafe58,{'commandName':_0x4f7e('0x12')},[],_0x4f7e('0xb')),_0x58f377[_0x4f7e('0x36')][_0x4f7e('0x48')](_0xf251d['start'])&&_0x19635b[_0x4f7e('0x53')](_0x26aea2['createRange'](_0x58f377[_0x4f7e('0x36')],_0xf251d[_0x4f7e('0x36')]),_0x4f7e('0xb')),_0xf251d[_0x4f7e('0x32')][_0x4f7e('0x48')](_0x58f377[_0x4f7e('0x32')])&&_0x19635b[_0x4f7e('0x53')](_0x26aea2['createRange'](_0xf251d[_0x4f7e('0x32')],_0x58f377[_0x4f7e('0x32')]),_0x4f7e('0xb'));});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'convertInlineImageToBlock',_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0xb'),_0x4f7e('0x6d'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'convertInlineImageToBlock',_0x4f7e('0x1a'),_0x19635b['_suggestionFactory'][_0x4f7e('0x5a')](_0x4f7e('0x2c'),'','accept')),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0xb'),'join',()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')]('insertion',_0x4f7e('0xb'),'discard',([_0x324da6])=>{const _0x21e25d=_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x5a')](_0x4f7e('0x75'),'','discard');let _0xc6efdf=_0x324da6['start'],_0x311fb3=_0x324da6[_0x4f7e('0x32')];const _0x20d476=_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1c')]['getNearestSelectionRange'](_0xc6efdf,_0x4f7e('0x33')),_0x14cb28=_0x336125['model'][_0x4f7e('0x1c')][_0x4f7e('0x4a')](_0x311fb3,_0x4f7e('0x2a'));_0x20d476[_0x4f7e('0x66')]&&(_0xc6efdf=_0x20d476['start']),_0x14cb28[_0x4f7e('0x66')]&&(_0x311fb3=_0x14cb28[_0x4f7e('0x32')]),_0x21e25d([_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x59')](_0xc6efdf,_0x311fb3)]);}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0xb'),'chain',_0x16e386),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0xb'),_0x4f7e('0x13'),_0x16e386)),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x28'))&&(_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x1'),(_0x386394,_0x1b9548)=>{const _0x1e7c86=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x19'));let _0x1d5524=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x1f6f52=_0x1e7c86[_0x4f7e('0x43')](_0x1d5524);_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{if(_0x1f6f52)return void _0x19635b[_0x4f7e('0x34')](_0x336125['model']['createRangeOn'](_0x1f6f52));const _0x219cc5=_0x3cdd56[_0x4f7e('0x37')](_0x1d5524);_0x386394(_0x1b9548),_0x1d5524=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')]['document'][_0x4f7e('0x2d')]),_0x1f6f52=_0x1e7c86[_0x4f7e('0x43')](_0x1d5524),_0x19635b[_0x4f7e('0x53')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x5f')](_0x1f6f52),_0x219cc5?null:_0x4f7e('0x5d'));});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x75'),_0x4f7e('0x5d'),_0x4f7e('0x13'),_0x16e386)),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')]('ImageStyleEditing')){_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x17'),(_0x10857e,_0x4017e7)=>{const _0x1726cb=_0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')](_0x4f7e('0x63'))['me'],_0x3de232=_0x336125['commands'][_0x4f7e('0x20')](_0x4f7e('0x17'));let _0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x32828b=_0x336125[_0x4f7e('0x7a')]['createRangeOn'](_0x5ea5dd),_0x3747d9=_0x3de232[_0x4f7e('0x1b')];if(_0x3747d9==_0x4017e7[_0x4f7e('0x1b')])return;const _0x346cab={'commandName':_0x4f7e('0x17'),'commandParams':[_0x4017e7],'formatGroupId':_0x10b714()};_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{if(_0x19635b[_0x4f7e('0x7')]()['filter'](_0x53c3a3=>_0x53c3a3['isInContent']&&_0x1726cb==_0x53c3a3[_0x4f7e('0x21')]&&('formatBlock'==_0x53c3a3[_0x4f7e('0x72')]||_0x4f7e('0x1e')==_0x53c3a3[_0x4f7e('0x72')])&&(_0x4f7e('0x24')==_0x53c3a3[_0x4f7e('0xc')]||_0x4f7e('0x5e')==_0x53c3a3[_0x4f7e('0xc')])&&_0x53c3a3[_0x4f7e('0x40')]()[_0x4f7e('0x70')](_0x32828b))[_0x4f7e('0x4d')](_0xde448=>_0x19635b[_0x4f7e('0x39')](_0xde448[_0x4f7e('0x41')])),_0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]),_0x32828b=_0x336125['model'][_0x4f7e('0x5f')](_0x5ea5dd),_0x3de232['refresh'](),_0x336125[_0x4f7e('0x3d')][_0x4f7e('0x20')](_0x4f7e('0x12'))[_0x4f7e('0x4b')](),_0x336125[_0x4f7e('0x3d')][_0x4f7e('0x20')](_0x4f7e('0x44'))[_0x4f7e('0x4b')](),_0x3747d9=_0x3de232[_0x4f7e('0x1b')],_0x3747d9!=_0x4017e7['value'])return _0x3cdd56[_0x4f7e('0x3b')](_0x5ea5dd)&&_0x3de232[_0x4f7e('0x6b')](_0x4017e7['value'],_0x5ea5dd)?(_0x10857e(_0x4017e7),_0x5ea5dd=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')]['document']['selection']),void _0x19635b[_0x4f7e('0x52')](_0x5ea5dd,{..._0x346cab,'commandReversedParams':[{'value':_0x3747d9||null}]},[],_0x4f7e('0x24'))):void(_0x3cdd56[_0x4f7e('0x37')](_0x5ea5dd)?_0x19635b[_0x4f7e('0x52')](_0x5ea5dd,_0x346cab,[],_0x4f7e('0x5e')):_0x19635b['markInlineFormat'](_0x32828b,_0x346cab,'imageStylePostApply'));});});for(const _0xa2e26d of _0x336125[_0x4f7e('0xe')][_0x4f7e('0x20')]('ImageStyleEditing')[_0x4f7e('0x16')])_0x14d6b5[_0xa2e26d[_0x4f7e('0x31')]]=_0xa2e26d[_0x4f7e('0x3e')][_0x4f7e('0x74')]();_0x19635b['_suggestionFactory'][_0x4f7e('0x3a')](_0x4f7e('0x2c'),'imageStylePreApply',_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')]['registerCustomCallback']('formatBlock',_0x4f7e('0x5e'),_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x1e'),_0x4f7e('0x5e'),_0x4f7e('0x61'),()=>{}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0x24'),'accept',()=>{}),_0x19635b['_suggestionFactory'][_0x4f7e('0x3a')](_0x4f7e('0x2c'),_0x4f7e('0x24'),_0x4f7e('0x1a'),(_0x47b3a8,_0x1965f6)=>{_0x19635b['_suggestionFactory'][_0x4f7e('0x5a')](_0x4f7e('0x2c'),'',_0x4f7e('0x6d'))(_0x47b3a8,{'commandName':_0x1965f6['commandName'],'commandParams':_0x1965f6[_0x4f7e('0x38')]});}),_0x19635b[_0x4f7e('0x2')][_0x4f7e('0x3a')]('formatBlock','imageStylePreApply',_0x4f7e('0x13'),_0x16e386);}const _0x4bdeff=[{'type':_0x4f7e('0x2c'),'subType':_0x4f7e('0x24')},{'type':_0x4f7e('0x75'),'subType':_0x4f7e('0x5d')},{'type':'formatBlock','subType':_0x4f7e('0xb')},{'type':_0x4f7e('0x75'),'subType':_0x4f7e('0xb')}];function _0x105f27(_0x1fe7ca,_0x1c4873){const _0x34ac64=_0x4bdeff[_0x4f7e('0x46')](({type:_0x35250c,subType:_0x3e4c33})=>_0x1fe7ca[_0x4f7e('0x72')]==_0x35250c&&_0x1fe7ca[_0x4f7e('0xc')]==_0x3e4c33),_0xb67a10=_0x4bdeff[_0x4f7e('0x46')](({type:_0x3d0b10,subType:_0x1806d3})=>_0x1c4873[_0x4f7e('0x72')]==_0x3d0b10&&_0x1c4873[_0x4f7e('0xc')]==_0x1806d3);if(_0x34ac64<0x0||_0xb67a10<0x0)return!0x1;const _0xa8e9f4=_0x1fe7ca[_0x4f7e('0x40')](),_0x2b466b=_0x1c4873[_0x4f7e('0x40')]();if((0x0==_0x34ac64||0x1==_0x34ac64)&&0x2==_0xb67a10&&_0xa8e9f4[_0x4f7e('0x47')](_0x2b466b))return!0x0;if(0x2==_0x34ac64&&0x3==_0xb67a10){const _0x40ec63=_0x19635b['_findSuggestions'](_0xa8e9f4,'insertion')[_0x4f7e('0x25')](({suggestion:_0x2f4d4b,meta:_0x61dd9c})=>_0x61dd9c[_0x4f7e('0x6f')]&&'convertInlineImageToBlock'==_0x2f4d4b[_0x4f7e('0xc')]);if(_0x40ec63[_0x4f7e('0x54')]>0x1&&_0x2b466b[_0x4f7e('0x32')][_0x4f7e('0x70')](_0xa8e9f4[_0x4f7e('0x36')]))return!0x0;if(0x1==_0x40ec63[_0x4f7e('0x54')]&&(_0xa8e9f4[_0x4f7e('0x36')][_0x4f7e('0x70')](_0x2b466b[_0x4f7e('0x32')])||_0xa8e9f4[_0x4f7e('0x32')][_0x4f7e('0x70')](_0x2b466b[_0x4f7e('0x36')])))return!0x0;}if(0x3==_0x34ac64&&0x3==_0xb67a10&&_0xa8e9f4[_0x4f7e('0x36')][_0x4f7e('0x48')](_0x2b466b[_0x4f7e('0x36')])){const _0x5f19c7=_0xa8e9f4[_0x4f7e('0x32')]['nodeAfter'],_0x557b11=_0x2b466b[_0x4f7e('0x36')][_0x4f7e('0x8')];return _0x3cdd56[_0x4f7e('0x37')](_0x5f19c7)&&_0x5f19c7===_0x557b11;}return!0x1;}function _0x16e386(_0x1f659b,_0x3dd4ad){return _0x105f27(_0x1f659b,_0x3dd4ad)?[_0x1f659b,_0x3dd4ad]:_0x105f27(_0x3dd4ad,_0x1f659b)?[_0x3dd4ad,_0x1f659b]:null;}_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')]['registerPostFixer'](()=>{let _0x1ff5e3=!0x1;const _0x168fa1=Array[_0x4f7e('0x30')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x11')][_0x4f7e('0x65')]());for(const {name:_0xf55de,data:_0x589b6d}of _0x168fa1){const {group:_0x14fdea,type:_0x16abd4,subType:_0x343c1f,id:_0xfbc40e}=_0x19635b[_0x4f7e('0x4f')](_0xf55de);if('suggestion'==_0x14fdea&&_0x19635b[_0x4f7e('0x3')](_0xfbc40e)){if(_0x4f7e('0x2c')==_0x16abd4&&('imageStylePreApply'==_0x343c1f||_0x4f7e('0x5e')==_0x343c1f)){const _0x2f5803=_0x19635b[_0x4f7e('0x0')](_0xfbc40e);if(_0x589b6d['newRange']){const _0x3ba72f=_0x2f5803[_0x4f7e('0x40')]()[_0x4f7e('0xf')]();if(_0x3cdd56[_0x4f7e('0x37')](_0x3ba72f))continue;_0x19635b['discardSuggestion'](_0x2f5803),_0x1ff5e3=!0x0;}}if(_0x4f7e('0x75')==_0x16abd4&&_0x4f7e('0x5d')==_0x343c1f&&!_0x589b6d[_0x4f7e('0x42')]){const _0x568384=_0x19635b[_0x4f7e('0x0')](_0xfbc40e);_0x568384[_0x4f7e('0xd')]&&_0x568384[_0x4f7e('0xd')]['isInContent']&&(_0x19635b[_0x4f7e('0x39')](_0x568384[_0x4f7e('0xd')]),_0x1ff5e3=!0x0);}}}return _0x1ff5e3;}),_0x336125[_0x4f7e('0xe')]['has'](_0x4f7e('0x1f'))&&_0x19635b[_0x4f7e('0x35')](_0x4f7e('0x2b'),(_0x122352,_0x3222c1)=>{const _0x1ec58e=_0x3cdd56[_0x4f7e('0x10')](_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x58')][_0x4f7e('0x2d')]);_0x1ec58e[_0x4f7e('0x56')](_0x4f7e('0x2e'))!=_0x3222c1[_0x4f7e('0x2e')]&&_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b[_0x4f7e('0x52')](_0x1ec58e,{'commandName':_0x4f7e('0x2b'),'commandParams':[_0x3222c1]});});}),_0x336125[_0x4f7e('0xe')][_0x4f7e('0x4e')](_0x4f7e('0x14'))&&_0x19635b['enableCommand'](_0x4f7e('0x71'),(_0x1f28cf,_0x13877e)=>{const _0xe90501=_0x3cdd56['getClosestSelectedImageElement'](_0x336125[_0x4f7e('0x7a')]['document'][_0x4f7e('0x2d')]);(_0xe90501[_0x4f7e('0x18')](_0x4f7e('0x76'))?_0xe90501[_0x4f7e('0x56')](_0x4f7e('0x76')):'')!=_0x13877e[_0x4f7e('0x9')]&&_0x336125[_0x4f7e('0x7a')][_0x4f7e('0x1d')](()=>{_0x19635b['markBlockFormat'](_0xe90501,{'commandName':_0x4f7e('0x71'),'commandParams':[_0x13877e]});});}),_0x19635b['_descriptionFactory'][_0x4f7e('0x29')](_0x3928e8=>{if(!!_0x4bdeff[_0x4f7e('0x6e')](({type:_0x434350,subType:_0x345660})=>_0x3928e8[_0x4f7e('0x72')]==_0x434350&&_0x3928e8[_0x4f7e('0xc')]==_0x345660))return _0x3928e8['previous']?{}:void 0x0;}),_0x19635b[_0x4f7e('0x49')][_0x4f7e('0x29')](_0x1da52b=>{if('insertion'==_0x1da52b['type']||_0x4f7e('0x50')==_0x1da52b['type']){const _0x1efe38=_0x1da52b[_0x4f7e('0xf')]();if(_0x1efe38&&_0x1efe38['is'](_0x4f7e('0x67'),'caption'))return{'type':_0x4f7e('0x75')==_0x1da52b[_0x4f7e('0x72')]?'addObject':_0x4f7e('0x23'),'name':_0x1efe38['name'],'quantity':0x1};}}),_0x19635b['_descriptionFactory'][_0x4f7e('0x29')](_0x5e29eb=>'formatBlock'==_0x5e29eb[_0x4f7e('0x72')]&&_0x4f7e('0xb')==_0x5e29eb[_0x4f7e('0xc')]?{'type':_0x4f7e('0x68'),'content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x5e29eb[_0x4f7e('0x72')]&&_0x4f7e('0x6c')==_0x5e29eb[_0x4f7e('0xc')]?{'type':_0x4f7e('0x68'),'content':_0x4f7e('0x4c')}:void 0x0),_0x19635b['_descriptionFactory']['registerDescriptionCallback'](_0x4bc9c9=>{const {data:_0x17bc1c}=_0x4bc9c9;if(_0x17bc1c){if(_0x4f7e('0x17')==_0x17bc1c[_0x4f7e('0x2f')]){const _0x170f9c=_0x17bc1c[_0x4f7e('0x57')][0x0][_0x4f7e('0x1b')];return _0x26a6b1('side'===_0x170f9c?_0x287344(_0x58c14a,_0x4f7e('0x27')):_0x14d6b5[_0x170f9c]||_0x170f9c);}if(_0x4f7e('0x71')==_0x17bc1c[_0x4f7e('0x2f')]){const _0x5644e9=_0x17bc1c['commandParams'][0x0]['newValue'];return _0x5644e9?{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x22'),'\x22'+_0x5644e9+'\x22')}:{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x55'))};}if('resizeImage'==_0x17bc1c[_0x4f7e('0x2f')]){const _0x3afe17=_0x17bc1c[_0x4f7e('0x57')][0x0][_0x4f7e('0x2e')];return _0x3afe17?{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x45'),_0x3afe17)}:{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,'*Reset\x20image\x20width*')};}}function _0x26a6b1(_0x362371){return{'type':_0x4f7e('0x68'),'content':_0x287344(_0x58c14a,_0x4f7e('0x60'),_0x362371)};}});}}
23
+ const _0x4635=['length','getAttribute','_findSuggestions','createRangeOn','ImageInlineEditing','FORMAT_SIDE_IMAGE','ELEMENT_INLINE_IMAGE','getClosestSelectedImageElement','imageStyle','ImageCaptionUtils','forEach','fromPosition','removeObject','imageStylePostApply','nodeAfter','backward','hasSuggestion','_descriptionFactory','imageCaption','alt','markBlockFormat','chain','type','*Remove\x20image\x20text\x20alternative*','getSuggestionCallback','imageTypeInline','find','start','width','schema','*Set\x20image\x20text\x20alternative:*\x20%0','ImageResize','forceDefaultExecution','markDeletion','suggestion','commands','Users','newValue','commandParams','registerPostFixer','join','markInsertion','resizeImage','toNext','model','locale','isOwn','registerDescriptionCallback','isInlineImage','previous','*Set\x20image\x20width:*\x20%0','imageBlock','insertion','has','*Format:*\x20%0','deletion','detach','convertBlockImageToInline','getChangedMarkers','toLowerCase','next','refresh','createRange','registerElementLabel','selection','subType','ImageUploadEditing','getSuggestions','commandReversedParams','ImageTextAlternativeEditing','isIntersecting','filter','_suggestionFactory','change','getSuggestion','convertInlineImageToBlock','name','value','isBefore','getCaptionFromImageModelElement','formatBlock','isEqual','isBlockImage','accept','author','findIndex','element','getContainedElement','get','isCollapsed','imageTextAlternative','discard','discardSuggestion','imageTypeBlock','document','editor','hasAttribute','caption','forward','plugins','Block\x20image\x20to\x20inline\x20image','shouldConvertImageType','isInContent','imageInline','getNearestSelectionRange','toPrevious','ELEMENT_CAPTION','Inline\x20image\x20to\x20block\x20image','toggleImageCaption','ImageUtils','end','enableCommand','getFirstRange','commandName','format','newRange','registerCustomCallback','addObject','*Reset\x20image\x20width*','markInlineFormat','imageStylePreApply'];(function(_0x4f8b19,_0x463583){const _0x2f6f03=function(_0x4c0299){while(--_0x4c0299){_0x4f8b19['push'](_0x4f8b19['shift']());}};_0x2f6f03(++_0x463583);}(_0x4635,0x1b2));const _0x2f6f=function(_0x4f8b19,_0x463583){_0x4f8b19=_0x4f8b19-0x0;let _0x2f6f03=_0x4635[_0x4f8b19];return _0x2f6f03;};import{Plugin as _0x336904}from'ckeditor5/src/core';import{LivePosition as _0x128193}from'ckeditor5/src/engine';import{uid as _0x5ebd6a}from'ckeditor5/src/utils';import{getTranslation as _0x43eb8f}from'../utils/common-translations';export default class V extends _0x336904{['afterInit'](){const _0x30d359=this[_0x2f6f('0x18')];if(!_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageEditing'))return;const _0x4df196=_0x30d359['plugins'][_0x2f6f('0x11')]('TrackChangesEditing'),_0x59dec7=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x26')),_0xbd1a61={},_0x951fd9=_0x30d359[_0x2f6f('0x5f')];if(_0x4df196[_0x2f6f('0x28')]('insertImage'),_0x4df196['_descriptionFactory'][_0x2f6f('0x71')](_0x2f6f('0x65'),_0x31ef57=>_0x43eb8f(_0x951fd9,'ELEMENT_IMAGE',_0x31ef57)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')](_0x2f6f('0x20'),_0x1f488f=>_0x43eb8f(_0x951fd9,_0x2f6f('0x38'),_0x1f488f)),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x71')]('caption',()=>_0x43eb8f(_0x951fd9,_0x2f6f('0x23'))),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x74'))&&_0x4df196[_0x2f6f('0x28')]('uploadImage'),_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')]('ImageBlockEditing')&&_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x67')](_0x2f6f('0x36'))&&(_0x4df196[_0x2f6f('0x28')]('imageTypeInline',(_0x3bf2fa,_0x4d9797)=>{const _0x4639d1=_0x59dec7['getClosestSelectedImageElement'](_0x30d359['model'][_0x2f6f('0x17')][_0x2f6f('0x72')]);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x4639d1,{'commandName':_0x2f6f('0x4b'),'commandParams':[_0x4d9797]},[],_0x2f6f('0x6b'));});}),_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x16'),(_0x3c099e,_0xf1fffe)=>{_0x30d359['model']['change'](_0x1fab38=>{let _0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x306f94=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x4d')],_0x2f6f('0x22')),_0x32c592=_0x128193[_0x2f6f('0x3d')](_0x3e778d[_0x2f6f('0x27')],_0x2f6f('0x5d'));_0x4df196[_0x2f6f('0x52')](()=>_0x3c099e(_0xf1fffe)),_0x2bc148=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x3e778d=_0x1fab38[_0x2f6f('0x35')](_0x2bc148);const _0x514f70=_0x1fab38['createRange'](_0x306f94,_0x32c592);_0x306f94[_0x2f6f('0x6a')](),_0x32c592[_0x2f6f('0x6a')](),_0x4df196[_0x2f6f('0x46')](_0x2bc148,{'commandName':'imageTypeInline'},[],_0x2f6f('0x4')),_0x514f70['start'][_0x2f6f('0x7')](_0x3e778d['start'])&&_0x4df196[_0x2f6f('0x5b')](_0x1fab38[_0x2f6f('0x70')](_0x514f70[_0x2f6f('0x4d')],_0x3e778d[_0x2f6f('0x4d')]),_0x2f6f('0x4')),_0x3e778d['end']['isBefore'](_0x514f70[_0x2f6f('0x27')])&&_0x4df196['markInsertion'](_0x1fab38['createRange'](_0x3e778d['end'],_0x514f70['end']),_0x2f6f('0x4'));});}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),'convertInlineImageToBlock','discard',_0x4df196[_0x2f6f('0x1')]['getSuggestionCallback'](_0x2f6f('0x9'),'',_0x2f6f('0xc'))),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x4'),'join',()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('insertion',_0x2f6f('0x4'),_0x2f6f('0x14'),([_0x4e2acb])=>{const _0x203c18=_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')]('insertion','','discard');let _0x1a13fb=_0x4e2acb[_0x2f6f('0x4d')],_0x7a0968=_0x4e2acb['end'];const _0x455e0a=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')][_0x2f6f('0x21')](_0x1a13fb,_0x2f6f('0x41')),_0x53b948=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x4f')]['getNearestSelectionRange'](_0x7a0968,_0x2f6f('0x1b'));_0x455e0a[_0x2f6f('0x12')]&&(_0x1a13fb=_0x455e0a['start']),_0x53b948[_0x2f6f('0x12')]&&(_0x7a0968=_0x53b948[_0x2f6f('0x27')]),_0x203c18([_0x30d359['model'][_0x2f6f('0x70')](_0x1a13fb,_0x7a0968)]);}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x66'),_0x2f6f('0x4'),_0x2f6f('0x47'),_0x518169)),_0x30d359['plugins']['has']('ImageCaptionEditing')&&(_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x25'),(_0x4a2278,_0x43aa12)=>{const _0x44d13c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x3b'));let _0x424e66=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66);_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{if(_0x30e839)return void _0x4df196[_0x2f6f('0x53')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839));const _0x419220=_0x59dec7[_0x2f6f('0xb')](_0x424e66);_0x4a2278(_0x43aa12),_0x424e66=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')]['document'][_0x2f6f('0x72')]),_0x30e839=_0x44d13c[_0x2f6f('0x8')](_0x424e66),_0x4df196[_0x2f6f('0x5b')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x30e839),_0x419220?null:_0x2f6f('0x44'));});}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback'](_0x2f6f('0x66'),_0x2f6f('0x44'),_0x2f6f('0x47'),_0x518169)),_0x30d359[_0x2f6f('0x1c')]['has']('ImageStyleEditing')){_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x3a'),(_0x26b360,_0x2e22a6)=>{const _0xd2658c=_0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')](_0x2f6f('0x56'))['me'],_0x46b506=_0x30d359[_0x2f6f('0x55')]['get'](_0x2f6f('0x3a'));let _0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model'][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x5ac83a=_0x46b506[_0x2f6f('0x6')];if(_0x5ac83a==_0x2e22a6[_0x2f6f('0x6')])return;const _0xbf12da={'commandName':_0x2f6f('0x3a'),'commandParams':[_0x2e22a6],'formatGroupId':_0x5ebd6a()};_0x30d359[_0x2f6f('0x5e')]['change'](()=>{if(_0x4df196[_0x2f6f('0x75')]()['filter'](_0x252d7b=>_0x252d7b['isInContent']&&_0xd2658c==_0x252d7b[_0x2f6f('0xd')]&&('formatBlock'==_0x252d7b[_0x2f6f('0x48')]||'formatInline'==_0x252d7b[_0x2f6f('0x48')])&&(_0x2f6f('0x31')==_0x252d7b[_0x2f6f('0x73')]||_0x2f6f('0x3f')==_0x252d7b['subType'])&&_0x252d7b[_0x2f6f('0x29')]()[_0x2f6f('0xa')](_0x343030))[_0x2f6f('0x3c')](_0x5c40f0=>_0x4df196[_0x2f6f('0x15')](_0x5c40f0['head'])),_0x4ddf35=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['selection']),_0x343030=_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x35')](_0x4ddf35),_0x46b506[_0x2f6f('0x6f')](),_0x30d359['commands'][_0x2f6f('0x11')]('imageTypeInline')['refresh'](),_0x30d359[_0x2f6f('0x55')][_0x2f6f('0x11')]('imageTypeBlock')[_0x2f6f('0x6f')](),_0x5ac83a=_0x46b506[_0x2f6f('0x6')],_0x5ac83a!=_0x2e22a6['value'])return _0x59dec7[_0x2f6f('0x62')](_0x4ddf35)&&_0x46b506[_0x2f6f('0x1e')](_0x2e22a6[_0x2f6f('0x6')],_0x4ddf35)?(_0x26b360(_0x2e22a6),_0x4ddf35=_0x59dec7[_0x2f6f('0x39')](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]),void _0x4df196[_0x2f6f('0x46')](_0x4ddf35,{..._0xbf12da,'commandReversedParams':[{'value':_0x5ac83a||null}]},[],_0x2f6f('0x31'))):void(_0x59dec7[_0x2f6f('0xb')](_0x4ddf35)?_0x4df196[_0x2f6f('0x46')](_0x4ddf35,_0xbf12da,[],'imageStylePostApply'):_0x4df196[_0x2f6f('0x30')](_0x343030,_0xbf12da,'imageStylePostApply'));});});for(const _0x5cd302 of _0x30d359[_0x2f6f('0x1c')][_0x2f6f('0x11')]('ImageStyleEditing')['normalizedStyles'])_0xbd1a61[_0x5cd302[_0x2f6f('0x5')]]=_0x5cd302['title'][_0x2f6f('0x6d')]();_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196[_0x2f6f('0x1')]['registerCustomCallback']('formatInline',_0x2f6f('0x3f'),_0x2f6f('0x5a'),()=>{}),_0x4df196['_suggestionFactory']['registerCustomCallback'](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0xc'),()=>{}),_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x2d')]('formatBlock','imageStylePreApply',_0x2f6f('0x14'),(_0xc71655,_0x530aa6)=>{_0x4df196[_0x2f6f('0x1')][_0x2f6f('0x4a')](_0x2f6f('0x9'),'',_0x2f6f('0xc'))(_0xc71655,{'commandName':_0x530aa6['commandName'],'commandParams':_0x530aa6[_0x2f6f('0x76')]});}),_0x4df196['_suggestionFactory'][_0x2f6f('0x2d')](_0x2f6f('0x9'),_0x2f6f('0x31'),_0x2f6f('0x47'),_0x518169);}const _0xade763=[{'type':_0x2f6f('0x9'),'subType':_0x2f6f('0x31')},{'type':'insertion','subType':_0x2f6f('0x44')},{'type':_0x2f6f('0x9'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0x2f6f('0x4')}];function _0x41c60f(_0x53924d,_0x5d348d){const _0x495d53=_0xade763[_0x2f6f('0xe')](({type:_0x1297c7,subType:_0x223ddc})=>_0x53924d['type']==_0x1297c7&&_0x53924d[_0x2f6f('0x73')]==_0x223ddc),_0x5122bf=_0xade763[_0x2f6f('0xe')](({type:_0x54854a,subType:_0x200302})=>_0x5d348d[_0x2f6f('0x48')]==_0x54854a&&_0x5d348d['subType']==_0x200302);if(_0x495d53<0x0||_0x5122bf<0x0)return!0x1;const _0x50c665=_0x53924d['getFirstRange'](),_0x4dcd27=_0x5d348d[_0x2f6f('0x29')]();if((0x0==_0x495d53||0x1==_0x495d53)&&0x2==_0x5122bf&&_0x50c665[_0x2f6f('0x78')](_0x4dcd27))return!0x0;if(0x2==_0x495d53&&0x3==_0x5122bf){const _0x437093=_0x4df196[_0x2f6f('0x34')](_0x50c665,_0x2f6f('0x66'))[_0x2f6f('0x0')](({suggestion:_0x2f46f6,meta:_0x7f13a0})=>_0x7f13a0[_0x2f6f('0x60')]&&_0x2f6f('0x4')==_0x2f46f6['subType']);if(_0x437093['length']>0x1&&_0x4dcd27[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x50c665[_0x2f6f('0x4d')]))return!0x0;if(0x1==_0x437093[_0x2f6f('0x32')]&&(_0x50c665[_0x2f6f('0x4d')][_0x2f6f('0xa')](_0x4dcd27['end'])||_0x50c665[_0x2f6f('0x27')][_0x2f6f('0xa')](_0x4dcd27[_0x2f6f('0x4d')])))return!0x0;}if(0x3==_0x495d53&&0x3==_0x5122bf&&_0x50c665['start'][_0x2f6f('0x7')](_0x4dcd27[_0x2f6f('0x4d')])){const _0x340a1e=_0x50c665[_0x2f6f('0x27')][_0x2f6f('0x40')],_0x199e5e=_0x4dcd27['start']['nodeBefore'];return _0x59dec7[_0x2f6f('0xb')](_0x340a1e)&&_0x340a1e===_0x199e5e;}return!0x1;}function _0x518169(_0x203cba,_0x1222ac){return _0x41c60f(_0x203cba,_0x1222ac)?[_0x203cba,_0x1222ac]:_0x41c60f(_0x1222ac,_0x203cba)?[_0x1222ac,_0x203cba]:null;}_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x59')](()=>{let _0x15b6ad=!0x1;const _0x4ecaed=Array['from'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')]['differ'][_0x2f6f('0x6c')]());for(const {name:_0x20746c,data:_0x5cbda5}of _0x4ecaed){const {group:_0x149cb3,type:_0x193cdd,subType:_0x255021,id:_0x2365c0}=_0x4df196['_splitMarkerName'](_0x20746c);if(_0x2f6f('0x54')==_0x149cb3&&_0x4df196[_0x2f6f('0x42')](_0x2365c0)){if(_0x2f6f('0x9')==_0x193cdd&&('imageStylePreApply'==_0x255021||_0x2f6f('0x3f')==_0x255021)){const _0x55d22a=_0x4df196[_0x2f6f('0x3')](_0x2365c0);if(_0x5cbda5[_0x2f6f('0x2c')]){const _0x1685c4=_0x55d22a[_0x2f6f('0x29')]()[_0x2f6f('0x10')]();if(_0x59dec7[_0x2f6f('0xb')](_0x1685c4))continue;_0x4df196[_0x2f6f('0x15')](_0x55d22a),_0x15b6ad=!0x0;}}if('insertion'==_0x193cdd&&_0x2f6f('0x44')==_0x255021&&!_0x5cbda5[_0x2f6f('0x2c')]){const _0x4478d1=_0x4df196[_0x2f6f('0x3')](_0x2365c0);_0x4478d1['next']&&_0x4478d1['next'][_0x2f6f('0x1f')]&&(_0x4df196['discardSuggestion'](_0x4478d1[_0x2f6f('0x6e')]),_0x15b6ad=!0x0);}}}return _0x15b6ad;}),_0x30d359[_0x2f6f('0x1c')]['has'](_0x2f6f('0x51'))&&_0x4df196['enableCommand'](_0x2f6f('0x5c'),(_0x17c0ee,_0xfcaaad)=>{const _0x201c52=_0x59dec7[_0x2f6f('0x39')](_0x30d359['model']['document'][_0x2f6f('0x72')]);_0x201c52[_0x2f6f('0x33')](_0x2f6f('0x4e'))!=_0xfcaaad[_0x2f6f('0x4e')]&&_0x30d359[_0x2f6f('0x5e')]['change'](()=>{_0x4df196[_0x2f6f('0x46')](_0x201c52,{'commandName':_0x2f6f('0x5c'),'commandParams':[_0xfcaaad]});});}),_0x30d359['plugins'][_0x2f6f('0x67')](_0x2f6f('0x77'))&&_0x4df196[_0x2f6f('0x28')](_0x2f6f('0x13'),(_0x5bc4ee,_0x33a921)=>{const _0x51effc=_0x59dec7['getClosestSelectedImageElement'](_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x17')][_0x2f6f('0x72')]);(_0x51effc[_0x2f6f('0x19')](_0x2f6f('0x45'))?_0x51effc[_0x2f6f('0x33')](_0x2f6f('0x45')):'')!=_0x33a921[_0x2f6f('0x57')]&&_0x30d359[_0x2f6f('0x5e')][_0x2f6f('0x2')](()=>{_0x4df196[_0x2f6f('0x46')](_0x51effc,{'commandName':'imageTextAlternative','commandParams':[_0x33a921]});});}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x50e0ee=>{if(!!_0xade763[_0x2f6f('0x4c')](({type:_0x16af64,subType:_0x933730})=>_0x50e0ee[_0x2f6f('0x48')]==_0x16af64&&_0x50e0ee['subType']==_0x933730))return _0x50e0ee[_0x2f6f('0x63')]?{}:void 0x0;}),_0x4df196['_descriptionFactory'][_0x2f6f('0x61')](_0x4812bf=>{if('insertion'==_0x4812bf[_0x2f6f('0x48')]||_0x2f6f('0x69')==_0x4812bf[_0x2f6f('0x48')]){const _0x1a5043=_0x4812bf[_0x2f6f('0x10')]();if(_0x1a5043&&_0x1a5043['is'](_0x2f6f('0xf'),_0x2f6f('0x1a')))return{'type':_0x2f6f('0x66')==_0x4812bf['type']?_0x2f6f('0x2e'):_0x2f6f('0x3e'),'element':_0x1a5043,'quantity':0x1};}}),_0x4df196[_0x2f6f('0x43')][_0x2f6f('0x61')](_0x22ccf4=>_0x2f6f('0x9')==_0x22ccf4[_0x2f6f('0x48')]&&'convertInlineImageToBlock'==_0x22ccf4[_0x2f6f('0x73')]?{'type':_0x2f6f('0x2b'),'content':_0x2f6f('0x24')}:'formatBlock'==_0x22ccf4[_0x2f6f('0x48')]&&_0x2f6f('0x6b')==_0x22ccf4[_0x2f6f('0x73')]?{'type':'format','content':_0x2f6f('0x1d')}:void 0x0),_0x4df196[_0x2f6f('0x43')]['registerDescriptionCallback'](_0x38578d=>{const {data:_0x50e5ad}=_0x38578d;if(_0x50e5ad){if('imageStyle'==_0x50e5ad[_0x2f6f('0x2a')]){const _0x25bf5a=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x6')];return _0x50c287('side'===_0x25bf5a?_0x43eb8f(_0x951fd9,_0x2f6f('0x37')):_0xbd1a61[_0x25bf5a]||_0x25bf5a);}if(_0x2f6f('0x13')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x145249=_0x50e5ad[_0x2f6f('0x58')][0x0][_0x2f6f('0x57')];return _0x145249?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x50'),'\x22'+_0x145249+'\x22')}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x49'))};}if(_0x2f6f('0x5c')==_0x50e5ad[_0x2f6f('0x2a')]){const _0x4ae424=_0x50e5ad['commandParams'][0x0][_0x2f6f('0x4e')];return _0x4ae424?{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x64'),_0x4ae424)}:{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x2f'))};}}function _0x50c287(_0x4e7f46){return{'type':_0x2f6f('0x2b'),'content':_0x43eb8f(_0x951fd9,_0x2f6f('0x68'),_0x4e7f46)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37ee=['get','bind','editor','_trackChangesValueDuringImport','value','afterInit','plugins','dataInsert','listenTo','Users','importWord','_setSuggestionData','commands','forEach','high','trackChanges','_handleImportedData','collaboration_features','_trackChangesExecuted','execute','enableCommand','TrackChangesEditing'];(function(_0x395eaa,_0x37eed5){const _0x2f4e25=function(_0x421ba0){while(--_0x421ba0){_0x395eaa['push'](_0x395eaa['shift']());}};_0x2f4e25(++_0x37eed5);}(_0x37ee,0x155));const _0x2f4e=function(_0x395eaa,_0x37eed5){_0x395eaa=_0x395eaa-0x0;let _0x2f4e25=_0x37ee[_0x395eaa];return _0x2f4e25;};import{Plugin as _0x465ca7}from'ckeditor5/src/core';import _0x4805ea from'../trackchangesediting';export default class X extends _0x465ca7{constructor(_0x46a17e){super(_0x46a17e),this[_0x2f4e('0xe')]=!0x1,this['_trackChangesExecuted']=!0x1;}[_0x2f4e('0x10')](){const _0x4a3d36=this[_0x2f4e('0xd')],_0x138985=_0x4a3d36[_0x2f4e('0x1')][_0x2f4e('0xb')]('importWord'),_0x8ebfe=_0x4a3d36[_0x2f4e('0x1')][_0x2f4e('0xb')](_0x2f4e('0x4'));_0x138985&&(_0x138985['on'](_0x2f4e('0x8'),(_0x47ffc6,[,_0x53c234])=>{this[_0x2f4e('0xe')]=_0x8ebfe[_0x2f4e('0xf')],_0x53c234[_0x2f4e('0x6')]['track_changes']=!this[_0x2f4e('0xe')];},{'priority':_0x2f4e('0x3')}),this[_0x2f4e('0x13')](_0x138985,_0x2f4e('0x12'),this[_0x2f4e('0x5')][_0x2f4e('0xc')](this)),this['listenTo'](_0x138985,_0x2f4e('0x12'),()=>{this[_0x2f4e('0x7')]&&(_0x8ebfe[_0x2f4e('0x8')](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x4a3d36[_0x2f4e('0x11')][_0x2f4e('0xb')](_0x2f4e('0xa'))[_0x2f4e('0x9')](_0x2f4e('0x15')));}[_0x2f4e('0x5')](_0xda4801,_0x405150){const {suggestions:_0x2b7017}=_0x405150,_0x3b10a4=this['editor'][_0x2f4e('0x1')]['get'](_0x2f4e('0x4')),_0xba9f89=_0x3b10a4['value'];this[_0x2f4e('0xe')]!==_0xba9f89&&(_0x3b10a4['execute'](),this['_trackChangesExecuted']=!0x0),_0x2b7017&&_0x2b7017[_0x2f4e('0x2')](({id:_0x5570da,type:_0x3c8712,author:_0x179635,created_at:_0x96f0b0})=>{const _0x2c1ba6={'id':_0x5570da,'type':_0x3c8712,'authorId':this['editor']['plugins'][_0x2f4e('0xb')](_0x2f4e('0x14'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x179635,'createdAt':_0x96f0b0?new Date(_0x96f0b0):new Date()}}};this[_0x2f4e('0xd')][_0x2f4e('0x11')][_0x2f4e('0xb')](_0x4805ea)[_0x2f4e('0x0')](_0x2c1ba6);});}}
23
+ const _0x23ae=['enableCommand','lowest','bind','dataInsert','get','forEach','importWord','collaboration_features','_trackChangesExecuted','_trackChangesValueDuringImport','high','_setSuggestionData','execute','Users','editor','TrackChangesEditing','trackChanges','value','_handleImportedData','commands','listenTo','plugins'];(function(_0x387045,_0x23ae59){const _0x21943d=function(_0x4b22cf){while(--_0x4b22cf){_0x387045['push'](_0x387045['shift']());}};_0x21943d(++_0x23ae59);}(_0x23ae,0x151));const _0x2194=function(_0x387045,_0x23ae59){_0x387045=_0x387045-0x0;let _0x21943d=_0x23ae[_0x387045];return _0x21943d;};import{Plugin as _0x536aa7}from'ckeditor5/src/core';import _0x3c4492 from'../trackchangesediting';export default class X extends _0x536aa7{constructor(_0x7939d2){super(_0x7939d2),this[_0x2194('0x2')]=!0x1,this[_0x2194('0x1')]=!0x1;}['afterInit'](){const _0x16d0e9=this[_0x2194('0x7')],_0x234082=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x15')),_0x5978e7=_0x16d0e9[_0x2194('0xc')]['get'](_0x2194('0x9'));_0x234082&&(_0x234082['on']('execute',(_0x39ddac,[,_0x3fa3b0])=>{this[_0x2194('0x2')]=_0x5978e7[_0x2194('0xa')],_0x3fa3b0[_0x2194('0x0')]['track_changes']=!this[_0x2194('0x2')];},{'priority':_0x2194('0x3')}),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),this[_0x2194('0xb')][_0x2194('0x11')](this)),this[_0x2194('0xd')](_0x234082,_0x2194('0x12'),()=>{this['_trackChangesExecuted']&&(_0x5978e7[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x1);},{'priority':_0x2194('0x10')}),_0x16d0e9['plugins'][_0x2194('0x13')](_0x2194('0x8'))[_0x2194('0xf')](_0x2194('0x15')));}[_0x2194('0xb')](_0x2c78a7,_0x9cd0da){const {suggestions:_0x7a5e53}=_0x9cd0da,_0x30b8e3=this[_0x2194('0x7')][_0x2194('0xc')]['get'](_0x2194('0x9')),_0x82e506=_0x30b8e3[_0x2194('0xa')];this[_0x2194('0x2')]!==_0x82e506&&(_0x30b8e3[_0x2194('0x5')](),this['_trackChangesExecuted']=!0x0),_0x7a5e53&&_0x7a5e53[_0x2194('0x14')](({id:_0x25f9ff,type:_0x2a5188,author:_0x2cfafe,created_at:_0x4aecc5})=>{const _0x13dad3={'id':_0x25f9ff,'type':_0x2a5188,'authorId':this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x2194('0x6'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2cfafe,'createdAt':_0x4aecc5?new Date(_0x4aecc5):new Date(),'source':_0x2194('0x15')}}};this[_0x2194('0x7')][_0x2194('0xe')][_0x2194('0x13')](_0x3c4492)[_0x2194('0x4')](_0x13dad3);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x403e=['from','selection','getItemLabel','registerDescriptionCallback','filter','IndentBlock','*Outdent:*\x20%0','commandName','schema','indent','TrackChangesEditing','enableCommand','*Indent:*\x20%0','document','indentBlock','get','plugins','checkAttribute','has','markBlockFormat','name','getSelectedBlocks','model','editor','outdentBlock'];(function(_0x3b6481,_0x403e21){const _0x28eeab=function(_0x3b6215){while(--_0x3b6215){_0x3b6481['push'](_0x3b6481['shift']());}};_0x28eeab(++_0x403e21);}(_0x403e,0x15d));const _0x28ee=function(_0x3b6481,_0x403e21){_0x3b6481=_0x3b6481-0x0;let _0x28eeab=_0x403e[_0x3b6481];return _0x28eeab;};import{Plugin as _0x189074}from'ckeditor5/src/core';import{getTranslation as _0x1a30f7}from'../utils/common-translations';export default class Y extends _0x189074{['afterInit'](){const _0x4bbddf=this[_0x28ee('0x18')],_0x53468e=_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x10')](_0x28ee('0xb'));_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x13')]('IndentEditing')&&(_0x53468e['enableCommand'](_0x28ee('0xa')),_0x53468e[_0x28ee('0xc')]('outdent'));const _0x18e96b=_0x4bbddf['locale'];if(_0x4bbddf[_0x28ee('0x11')][_0x28ee('0x13')](_0x28ee('0x6'))){for(const _0x2fd3f9 of[_0x28ee('0xf'),'outdentBlock'])_0x53468e[_0x28ee('0xc')](_0x2fd3f9,()=>{const _0x2fa2f2=Array[_0x28ee('0x1')](this[_0x28ee('0x18')][_0x28ee('0x17')][_0x28ee('0xe')][_0x28ee('0x2')][_0x28ee('0x16')]())[_0x28ee('0x5')](_0x5525bf=>this[_0x28ee('0x18')][_0x28ee('0x17')][_0x28ee('0x9')][_0x28ee('0x12')](_0x5525bf,'blockIndent'));_0x4bbddf[_0x28ee('0x17')]['change'](()=>{for(const _0xd6ac12 of _0x2fa2f2)_0x53468e[_0x28ee('0x14')](_0xd6ac12,{'commandName':_0x2fd3f9,'commandParams':[{'value':''}],'formatGroupId':_0x28ee('0xf')});});});_0x53468e['_descriptionFactory'][_0x28ee('0x4')](_0x26b6b9=>{const {data:_0x8581c1}=_0x26b6b9;if(!_0x8581c1)return;if(_0x28ee('0xf')!=_0x8581c1[_0x28ee('0x8')]&&_0x28ee('0x0')!=_0x8581c1['commandName'])return;const _0x8649e6=_0x26b6b9['getItems']()[0x0],_0x47ae45=_0x53468e['_descriptionFactory'][_0x28ee('0x3')](_0x8649e6[_0x28ee('0x15')]);return _0x28ee('0xf')==_0x8581c1[_0x28ee('0x8')]?{'type':'format','content':_0x1a30f7(_0x18e96b,_0x28ee('0xd'),_0x47ae45)}:'outdentBlock'==_0x8581c1[_0x28ee('0x8')]?{'type':'format','content':_0x1a30f7(_0x18e96b,_0x28ee('0x7'),_0x47ae45)}:void 0x0;});}}}
23
+ const _0x20d6=['enableCommand','registerDescriptionCallback','indent','afterInit','getItems','filter','blockIndent','_descriptionFactory','document','outdentBlock','markBlockFormat','commandName','model','editor','from','indentBlock','IndentEditing','schema','getItemLabel','locale','plugins','*Outdent:*\x20%0','has','getSelectedBlocks','outdent'];(function(_0x86a36d,_0x20d6fd){const _0x28ecb7=function(_0x2ff42f){while(--_0x2ff42f){_0x86a36d['push'](_0x86a36d['shift']());}};_0x28ecb7(++_0x20d6fd);}(_0x20d6,0x87));const _0x28ec=function(_0x86a36d,_0x20d6fd){_0x86a36d=_0x86a36d-0x0;let _0x28ecb7=_0x20d6[_0x86a36d];return _0x28ecb7;};import{Plugin as _0x3a56cd}from'ckeditor5/src/core';import{getTranslation as _0x257ae8}from'../utils/common-translations';export default class Y extends _0x3a56cd{[_0x28ec('0x12')](){const _0x354bc9=this['editor'],_0x115de8=_0x354bc9[_0x28ec('0xa')]['get']('TrackChangesEditing');_0x354bc9[_0x28ec('0xa')]['has'](_0x28ec('0x6'))&&(_0x115de8[_0x28ec('0xf')](_0x28ec('0x11')),_0x115de8[_0x28ec('0xf')](_0x28ec('0xe')));const _0x886203=_0x354bc9[_0x28ec('0x9')];if(_0x354bc9['plugins'][_0x28ec('0xc')]('IndentBlock')){for(const _0x1a08ee of[_0x28ec('0x5'),_0x28ec('0x18')])_0x115de8[_0x28ec('0xf')](_0x1a08ee,()=>{const _0x2783e1=Array[_0x28ec('0x4')](this[_0x28ec('0x3')][_0x28ec('0x2')][_0x28ec('0x17')]['selection'][_0x28ec('0xd')]())[_0x28ec('0x14')](_0x235271=>this['editor'][_0x28ec('0x2')][_0x28ec('0x7')]['checkAttribute'](_0x235271,_0x28ec('0x15')));_0x354bc9[_0x28ec('0x2')]['change'](()=>{for(const _0x47bfc0 of _0x2783e1)_0x115de8[_0x28ec('0x0')](_0x47bfc0,{'commandName':_0x1a08ee,'commandParams':[{'value':''}],'formatGroupId':_0x28ec('0x5')});});});_0x115de8['_descriptionFactory'][_0x28ec('0x10')](_0x3ad412=>{const {data:_0x5a1743}=_0x3ad412;if(!_0x5a1743)return;if(_0x28ec('0x5')!=_0x5a1743[_0x28ec('0x1')]&&'outdentBlock'!=_0x5a1743['commandName'])return;const _0x14994d=_0x3ad412[_0x28ec('0x13')]()[0x0],_0x213810=_0x115de8[_0x28ec('0x16')][_0x28ec('0x8')](_0x14994d);return _0x28ec('0x5')==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,'*Indent:*\x20%0',_0x213810)}:'outdentBlock'==_0x5a1743['commandName']?{'type':'format','content':_0x257ae8(_0x886203,_0x28ec('0xb'),_0x213810)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x25ce=['get','enableCommand','plugins','requires','init','TrackChangesEditing','editor'];(function(_0x17b287,_0x25cef7){var _0x13beef=function(_0x4a5cd5){while(--_0x4a5cd5){_0x17b287['push'](_0x17b287['shift']());}};_0x13beef(++_0x25cef7);}(_0x25ce,0xc7));var _0x13be=function(_0x17b287,_0x25cef7){_0x17b287=_0x17b287-0x0;var _0x13beef=_0x25ce[_0x17b287];return _0x13beef;};import{Plugin as _0x14df64}from'ckeditor5/src/core';import{Input as _0x46cfc8}from'ckeditor5/src/typing';export default class Z extends _0x14df64{static get[_0x13be('0x0')](){return[_0x46cfc8];}[_0x13be('0x1')](){this[_0x13be('0x3')][_0x13be('0x6')][_0x13be('0x4')](_0x13be('0x2'))[_0x13be('0x5')]('input');}}
23
+ var _0x58a9=['init','editor','input','enableCommand','requires'];(function(_0x43d6f7,_0x58a97f){var _0x395add=function(_0x3ec26b){while(--_0x3ec26b){_0x43d6f7['push'](_0x43d6f7['shift']());}};_0x395add(++_0x58a97f);}(_0x58a9,0x181));var _0x395a=function(_0x43d6f7,_0x58a97f){_0x43d6f7=_0x43d6f7-0x0;var _0x395add=_0x58a9[_0x43d6f7];return _0x395add;};import{Plugin as _0x7765c4}from'ckeditor5/src/core';import{Input as _0x49fbf4}from'ckeditor5/src/typing';export default class Z extends _0x7765c4{static get[_0x395a('0x4')](){return[_0x49fbf4];}[_0x395a('0x0')](){this[_0x395a('0x1')]['plugins']['get']('TrackChangesEditing')[_0x395a('0x3')](_0x395a('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5beb=['_descriptionFactory','getFirstRange','commandParams','commandName','has','markInlineFormat','getRanges','enableCommand','hasAttribute','linkHref','getFirstPosition','TrackChangesEditing','getAttribute','unlink','get','link','selection','model','format','*Set\x20link:*\x20%0','locale','isCollapsed','LinkEditing','change','from'];(function(_0x115c8a,_0x5bebe9){const _0x20c41b=function(_0x180e8b){while(--_0x180e8b){_0x115c8a['push'](_0x115c8a['shift']());}};_0x20c41b(++_0x5bebe9);}(_0x5beb,0xac));const _0x20c4=function(_0x115c8a,_0x5bebe9){_0x115c8a=_0x115c8a-0x0;let _0x20c41b=_0x5beb[_0x115c8a];return _0x20c41b;};import{Plugin as _0x34dad7}from'ckeditor5/src/core';import{findAttributeRange as _0x9ff71e}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x34f079}from'./utils';import{getTranslation as _0x30adfc}from'../utils/common-translations';export default class tt extends _0x34dad7{['afterInit'](){const _0x102555=this['editor'];if(!_0x102555['plugins'][_0x20c4('0x7')](_0x20c4('0x0')))return;const _0x33bafc=_0x102555['plugins'][_0x20c4('0x11')](_0x20c4('0xe'));_0x33bafc['enableCommand']('link',(_0x50d0fd,_0x87db9b)=>{const _0x4bc388=_0x102555[_0x20c4('0x14')]['document'][_0x20c4('0x13')];let _0x557dc1=[];if(_0x4bc388['isCollapsed']){if(!_0x4bc388[_0x20c4('0xb')]('linkHref'))return void _0x50d0fd(_0x87db9b);{const _0x1e15a0=_0x9ff71e(_0x4bc388[_0x20c4('0xd')](),_0x20c4('0xc'),_0x4bc388[_0x20c4('0xf')](_0x20c4('0xc')),_0x102555[_0x20c4('0x14')]);_0x557dc1=[_0x1e15a0];}}else _0x557dc1=Array[_0x20c4('0x2')](_0x4bc388[_0x20c4('0x9')]());_0x102555[_0x20c4('0x14')][_0x20c4('0x1')](()=>{for(const _0x35cadd of _0x557dc1)_0x33bafc[_0x20c4('0x8')](_0x35cadd,{'commandName':'link','commandParams':[_0x87db9b]});});}),_0x33bafc[_0x20c4('0xa')](_0x20c4('0x10'),()=>{const _0x2f80c8=this['editor'][_0x20c4('0x14')],_0x285508=_0x2f80c8['document'][_0x20c4('0x13')];_0x2f80c8[_0x20c4('0x1')](()=>{let _0x46a7c1=[];if(_0x285508[_0x20c4('0x18')])_0x46a7c1=[_0x9ff71e(_0x285508[_0x20c4('0xd')](),_0x20c4('0xc'),_0x285508[_0x20c4('0xf')](_0x20c4('0xc')),_0x102555[_0x20c4('0x14')])];else _0x46a7c1=_0x34f079(_0x20c4('0xc'),_0x285508[_0x20c4('0x4')](),_0x102555['model']);for(const _0x3e2a97 of _0x46a7c1)_0x33bafc[_0x20c4('0x8')](_0x3e2a97,{'commandName':_0x20c4('0x10'),'commandParams':[]});});}),_0x33bafc[_0x20c4('0x3')]['registerDescriptionCallback'](_0x983d6b=>{const {data:_0x4e46ee}=_0x983d6b,_0x27efeb=_0x102555[_0x20c4('0x17')];if(_0x4e46ee){if(_0x20c4('0x12')==_0x4e46ee[_0x20c4('0x6')]){const _0x1dd3ef=_0x4e46ee[_0x20c4('0x5')][0x0];return{'type':'format','content':_0x30adfc(_0x27efeb,_0x20c4('0x16'),'\x22'+_0x1dd3ef+'\x22')};}return'unlink'==_0x4e46ee[_0x20c4('0x6')]?{'type':_0x20c4('0x15'),'content':_0x30adfc(_0x27efeb,'*Remove\x20link*')}:void 0x0;}});}}
23
+ const _0x16d3=['locale','plugins','model','enableCommand','from','getFirstRange','getFirstPosition','getAttribute','markInlineFormat','unlink','*Remove\x20link*','link','selection','has','afterInit','format','TrackChangesEditing','commandParams','change','get','commandName','document','*Set\x20link:*\x20%0','linkHref','_descriptionFactory','getRanges'];(function(_0x349e88,_0x16d3fd){const _0x241712=function(_0x596e96){while(--_0x596e96){_0x349e88['push'](_0x349e88['shift']());}};_0x241712(++_0x16d3fd);}(_0x16d3,0x141));const _0x2417=function(_0x349e88,_0x16d3fd){_0x349e88=_0x349e88-0x0;let _0x241712=_0x16d3[_0x349e88];return _0x241712;};import{Plugin as _0x4a29fc}from'ckeditor5/src/core';import{findAttributeRange as _0x814acc}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x231c4b}from'./utils';import{getTranslation as _0x4d9127}from'../utils/common-translations';export default class tt extends _0x4a29fc{[_0x2417('0x5')](){const _0x469a55=this['editor'];if(!_0x469a55[_0x2417('0x12')][_0x2417('0x4')]('LinkEditing'))return;const _0x2fb658=_0x469a55[_0x2417('0x12')][_0x2417('0xa')](_0x2417('0x7'));_0x2fb658[_0x2417('0x14')]('link',(_0x374199,_0x1480ac)=>{const _0x44a367=_0x469a55[_0x2417('0x13')][_0x2417('0xc')][_0x2417('0x3')];let _0x4fd168=[];if(_0x44a367['isCollapsed']){if(!_0x44a367['hasAttribute'](_0x2417('0xe')))return void _0x374199(_0x1480ac);{const _0x261831=_0x814acc(_0x44a367[_0x2417('0x17')](),'linkHref',_0x44a367[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')]);_0x4fd168=[_0x261831];}}else _0x4fd168=Array[_0x2417('0x15')](_0x44a367[_0x2417('0x10')]());_0x469a55[_0x2417('0x13')][_0x2417('0x9')](()=>{for(const _0xea0ee of _0x4fd168)_0x2fb658[_0x2417('0x19')](_0xea0ee,{'commandName':'link','commandParams':[_0x1480ac]});});}),_0x2fb658[_0x2417('0x14')]('unlink',()=>{const _0x36107a=this['editor'][_0x2417('0x13')],_0x4d86d6=_0x36107a[_0x2417('0xc')][_0x2417('0x3')];_0x36107a[_0x2417('0x9')](()=>{let _0x575aaf=[];if(_0x4d86d6['isCollapsed'])_0x575aaf=[_0x814acc(_0x4d86d6['getFirstPosition'](),_0x2417('0xe'),_0x4d86d6[_0x2417('0x18')](_0x2417('0xe')),_0x469a55[_0x2417('0x13')])];else _0x575aaf=_0x231c4b(_0x2417('0xe'),_0x4d86d6[_0x2417('0x16')](),_0x469a55[_0x2417('0x13')]);for(const _0x17b01a of _0x575aaf)_0x2fb658['markInlineFormat'](_0x17b01a,{'commandName':_0x2417('0x0'),'commandParams':[]});});}),_0x2fb658[_0x2417('0xf')]['registerDescriptionCallback'](_0x475795=>{const {data:_0x6b8acd}=_0x475795,_0x2512fd=_0x469a55[_0x2417('0x11')];if(_0x6b8acd){if(_0x2417('0x2')==_0x6b8acd[_0x2417('0xb')]){const _0x2efb7e=_0x6b8acd[_0x2417('0x8')][0x0];return{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0xd'),'\x22'+_0x2efb7e+'\x22')};}return _0x2417('0x0')==_0x6b8acd[_0x2417('0xb')]?{'type':_0x2417('0x6'),'content':_0x4d9127(_0x2512fd,_0x2417('0x1'))}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ef1=['afterInit','List','push','findIndex','execute','*Indent:*\x20%0','model','enableCommand','before','locale','listItem','add','*Check\x20item*','checkChild','getAttribute','commands','outdentList','checkTodoList','listIndent','ELEMENT_LIST_ITEM','registerElementLabel','ELEMENT_TODO_LIST','nextSibling','indentList','slice','TodoListEditing','numbered','previousSibling','todoList','from','plugins','*Outdent:*\x20%0','*Change\x20to:*\x20%0','length','numberedList','end','createPositionAt','markBlockFormat','ELEMENT_BULLETED_LIST','schema','document','element','filter','parent','commandName','ELEMENT_NUMBERED_LIST','createRange','isObject','selection','TrackChangesEditing','bulletedList','has','value','name','*Uncheck\x20item*','editor','change','getSelectedBlocks','get','replace','_descriptionFactory','listType','format','todo','bulleted'];(function(_0x55181f,_0x1ef158){const _0x1b5e82=function(_0x361b49){while(--_0x361b49){_0x55181f['push'](_0x55181f['shift']());}};_0x1b5e82(++_0x1ef158);}(_0x1ef1,0x1c9));const _0x1b5e=function(_0x55181f,_0x1ef158){_0x55181f=_0x55181f-0x0;let _0x1b5e82=_0x1ef1[_0x55181f];return _0x1b5e82;};import{Plugin as _0x198dfa}from'ckeditor5/src/core';import{getTranslation as _0x468a31}from'../utils/common-translations';export default class it extends _0x198dfa{[_0x1b5e('0x3f')](){const _0x2f0a21=this[_0x1b5e('0x35')],_0x4da39c=_0x2f0a21[_0x1b5e('0x7')];if(!_0x2f0a21['plugins'][_0x1b5e('0x31')]('ListEditing'))return;const _0x4d9a22=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x38')](_0x1b5e('0x2f')),_0xf9c406=_0x2f0a21[_0x1b5e('0x1c')][_0x1b5e('0x31')](_0x1b5e('0x17'));function _0x33f0b2(_0x13ee22){return()=>{const _0x2524c9=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x26')][_0x1b5e('0x2e')],_0x23623b=_0x2f0a21[_0x1b5e('0xd')][_0x1b5e('0x38')](_0x13ee22);if(_0x23623b['value'])return void _0x2f0a21[_0x1b5e('0x2')]('paragraph',{});const _0x1e0ac5=_0x13ee22[_0x1b5e('0x16')](0x0,-0x4),_0x37c949=function(_0x1335be,_0x5c2146,_0x25b8f8){let _0x31d274=Array[_0x1b5e('0x1b')](_0x1335be)['filter'](_0x12fc53=>function(_0x3137dd,_0x2b15b0){return _0x2b15b0[_0x1b5e('0xb')](_0x3137dd[_0x1b5e('0x29')],_0x1b5e('0x8'))&&!_0x2b15b0[_0x1b5e('0x2d')](_0x3137dd);}(_0x12fc53,_0x25b8f8));_0x31d274=_0x31d274['filter'](_0x2db417=>!_0x2db417['is'](_0x1b5e('0x27'),'listItem')||_0x2db417[_0x1b5e('0xc')](_0x1b5e('0x3b'))!=_0x5c2146);const _0x2e7344=new Set();for(const _0x51288e of _0x31d274)_0x51288e['is']('element',_0x1b5e('0x8'))?_0x2e7344[_0x1b5e('0x9')](Lt(_0x51288e)):_0x2e7344[_0x1b5e('0x9')](_0x51288e);return Array[_0x1b5e('0x1b')](_0x2e7344);}(_0x2524c9[_0x1b5e('0x37')](),_0x1e0ac5,_0x2f0a21['model'][_0x1b5e('0x25')]);_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x158f37 of _0x37c949)_0x4d9a22[_0x1b5e('0x23')](_0x158f37,{'commandName':_0x13ee22,'commandParams':[{'forceValue':!_0x23623b[_0x1b5e('0x32')]}],'formatGroupId':'blockName'},Mt(_0x158f37));});};}function _0x30e908(_0x4e7aa7){return()=>{const _0x46b8bc=function(_0x50b1d2){const _0x322f04=(_0x50b1d2=Array[_0x1b5e('0x1b')](_0x50b1d2))[_0x1b5e('0x1')](_0x5ce71e=>'listItem'!=_0x5ce71e[_0x1b5e('0x33')]);return _0x322f04>-0x1&&(_0x50b1d2=_0x50b1d2[_0x1b5e('0x16')](0x0,_0x322f04)),_0x50b1d2;}(_0x2f0a21[_0x1b5e('0x4')]['document']['selection'][_0x1b5e('0x37')]()),_0x379ec6=_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x2c')](_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[0x0],_0x1b5e('0x6')),_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x22')](_0x46b8bc[_0x46b8bc[_0x1b5e('0x1f')]-0x1],_0x1b5e('0x21')));_0x2f0a21[_0x1b5e('0x4')][_0x1b5e('0x36')](()=>{_0x4d9a22[_0x1b5e('0x23')](_0x379ec6,{'commandName':_0x4e7aa7,'commandParams':[],'formatGroupId':_0x1b5e('0x10')},function(_0x307af8){const _0x4a216b=new Set();for(const _0x1f29e6 of _0x307af8){let _0x49b281=_0x1f29e6[_0x1b5e('0x14')];for(;_0x49b281&&_0x49b281[_0x1b5e('0xc')]('listIndent')>_0x1f29e6['getAttribute'](_0x1b5e('0x10'));)_0x4a216b[_0x1b5e('0x9')](_0x49b281),_0x49b281=_0x49b281[_0x1b5e('0x14')];}return Array[_0x1b5e('0x1b')](_0x4a216b);}(_0x46b8bc));});};}_0x4d9a22[_0x1b5e('0x5')]('numberedList',_0x33f0b2(_0x1b5e('0x20'))),_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x30'),_0x33f0b2(_0x1b5e('0x30'))),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0x1a'),_0x33f0b2(_0x1b5e('0x1a'))),_0x4d9a22[_0x1b5e('0x5')]('indentList',_0x30e908(_0x1b5e('0x15'))),_0x4d9a22['enableCommand'](_0x1b5e('0xe'),_0x30e908('outdentList')),_0xf9c406&&_0x4d9a22[_0x1b5e('0x5')](_0x1b5e('0xf'),()=>{const _0x5af438=_0x2f0a21[_0x1b5e('0xd')]['get'](_0x1b5e('0xf')),_0x22858a=Array[_0x1b5e('0x1b')](_0x5af438['_selectedElements']);_0x22858a[_0x1b5e('0x28')](_0x1f84b5=>_0x1f84b5[_0x1b5e('0xc')]('todoListChecked')!=_0x5af438['value']),_0x2f0a21[_0x1b5e('0x4')]['change'](()=>{for(const _0x129cd5 of _0x22858a)_0x4d9a22[_0x1b5e('0x23')](_0x129cd5,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x5af438[_0x1b5e('0x32')]}]});});}),_0x4d9a22[_0x1b5e('0x3a')][_0x1b5e('0x12')](_0x1b5e('0x8'),_0x47e5a8=>_0x468a31(_0x4da39c,_0x1b5e('0x11'),_0x47e5a8)),_0x4d9a22[_0x1b5e('0x3a')]['registerDescriptionCallback'](_0x1b5d23=>{const {data:_0x5df955}=_0x1b5d23;if(_0x5df955){if('numberedList'==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x30')==_0x5df955[_0x1b5e('0x2a')]||_0x1b5e('0x1a')==_0x5df955[_0x1b5e('0x2a')])switch(_0x5df955[_0x1b5e('0x2a')][_0x1b5e('0x39')](_0x1b5e('0x40'),'')){case _0x1b5e('0x3e'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x24')));case _0x1b5e('0x18'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x2b')));case _0x1b5e('0x3d'):return _0x39fe47(_0x468a31(_0x4da39c,_0x1b5e('0x13')));}if(_0x1b5e('0x15')==_0x5df955['commandName'])return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x3'),_0x468a31(_0x4da39c,_0x1b5e('0x11')))};if('outdentList'==_0x5df955[_0x1b5e('0x2a')])return{'type':_0x1b5e('0x3c'),'content':_0x468a31(_0x4da39c,_0x1b5e('0x1d'),_0x468a31(_0x4da39c,'ELEMENT_LIST_ITEM'))};if(_0x1b5e('0xf')==_0x5df955[_0x1b5e('0x2a')])return _0x5df955['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0xa'))}:{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x34'))};}function _0x39fe47(_0x2570aa){return{'type':'format','content':_0x468a31(_0x4da39c,_0x1b5e('0x1e'),_0x2570aa)};}});}}function Lt(_0x21333e){const _0x4036a2=_0x21333e[_0x1b5e('0xc')](_0x1b5e('0x10'));if(0x0==_0x4036a2)return _0x21333e;let _0x412b79=_0x21333e;for(;_0x21333e[_0x1b5e('0x19')]&&_0x21333e[_0x1b5e('0x19')]['is'](_0x1b5e('0x27'),_0x1b5e('0x8'));){const _0x25d845=_0x21333e['previousSibling'][_0x1b5e('0xc')](_0x1b5e('0x10'));if(_0x25d845==_0x4036a2)_0x412b79=_0x21333e[_0x1b5e('0x19')];else{if(_0x25d845<_0x4036a2)break;}_0x21333e=_0x21333e[_0x1b5e('0x19')];}return _0x412b79;}function Mt(_0x5be3d2){const _0x2a7198=[];if(_0x5be3d2['is']('element','listItem')&&_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'))>0x0){let _0x19f65c=_0x5be3d2[_0x1b5e('0x14')];for(;_0x19f65c&&_0x1b5e('0x8')==_0x19f65c[_0x1b5e('0x33')]&&_0x19f65c['getAttribute'](_0x1b5e('0x10'))==_0x5be3d2[_0x1b5e('0xc')](_0x1b5e('0x10'));)_0x2a7198[_0x1b5e('0x0')](_0x19f65c),_0x19f65c=_0x19f65c[_0x1b5e('0x14')];}return _0x2a7198;}
23
+ const _0x51d3=['commandName','ListEditing','replace','length','_selectedElements','get','add','*Check\x20item*','forceValue','*Indent:*\x20%0','todoList','plugins','ELEMENT_NUMBERED_LIST','outdentList','value','ELEMENT_LIST_ITEM','TrackChangesEditing','_descriptionFactory','indentList','format','listIndent','todoListChecked','has','paragraph','listItem','ELEMENT_TODO_LIST','locale','before','todo','checkTodoList','afterInit','schema','findIndex','document','getSelectedBlocks','numberedList','slice','markBlockFormat','registerDescriptionCallback','createPositionAt','previousSibling','model','commands','isObject','List','from','enableCommand','numbered','bulletedList','parent','listType','getAttribute','checkChild','name','end','change','ELEMENT_BULLETED_LIST','element','nextSibling','bulleted','createRange'];(function(_0xd8699f,_0x51d3ad){const _0x4cdcb4=function(_0x2644e0){while(--_0x2644e0){_0xd8699f['push'](_0xd8699f['shift']());}};_0x4cdcb4(++_0x51d3ad);}(_0x51d3,0x9c));const _0x4cdc=function(_0xd8699f,_0x51d3ad){_0xd8699f=_0xd8699f-0x0;let _0x4cdcb4=_0x51d3[_0xd8699f];return _0x4cdcb4;};import{Plugin as _0x2232da}from'ckeditor5/src/core';import{getTranslation as _0x4399ff}from'../utils/common-translations';export default class it extends _0x2232da{[_0x4cdc('0x39')](){const _0x34ac2e=this['editor'],_0x108159=_0x34ac2e[_0x4cdc('0x35')];if(!_0x34ac2e[_0x4cdc('0x26')][_0x4cdc('0x31')](_0x4cdc('0x1c')))return;const _0x23f0f2=_0x34ac2e['plugins']['get'](_0x4cdc('0x2b')),_0x5b4584=_0x34ac2e[_0x4cdc('0x26')]['has']('TodoListEditing');function _0x194580(_0xefc7c6){return()=>{const _0x46bcee=_0x34ac2e[_0x4cdc('0x7')]['document']['selection'],_0x47ee35=_0x34ac2e[_0x4cdc('0x8')][_0x4cdc('0x20')](_0xefc7c6);if(_0x47ee35[_0x4cdc('0x29')])return void _0x34ac2e['execute'](_0x4cdc('0x32'),{});const _0x1ebefc=_0xefc7c6[_0x4cdc('0x2')](0x0,-0x4),_0xc3ddb6=function(_0x36b40f,_0x5e7605,_0x520b34){let _0x3d4e19=Array[_0x4cdc('0xb')](_0x36b40f)['filter'](_0x5d5ad2=>function(_0x2c7db9,_0x3d7b99){return _0x3d7b99[_0x4cdc('0x12')](_0x2c7db9[_0x4cdc('0xf')],'listItem')&&!_0x3d7b99[_0x4cdc('0x9')](_0x2c7db9);}(_0x5d5ad2,_0x520b34));_0x3d4e19=_0x3d4e19['filter'](_0x55e0e3=>!_0x55e0e3['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))||_0x55e0e3['getAttribute'](_0x4cdc('0x10'))!=_0x5e7605);const _0x5ccc82=new Set();for(const _0x2d906e of _0x3d4e19)_0x2d906e['is'](_0x4cdc('0x17'),_0x4cdc('0x33'))?_0x5ccc82[_0x4cdc('0x21')](Pt(_0x2d906e)):_0x5ccc82[_0x4cdc('0x21')](_0x2d906e);return Array[_0x4cdc('0xb')](_0x5ccc82);}(_0x46bcee[_0x4cdc('0x0')](),_0x1ebefc,_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3a')]);_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x3c2f34 of _0xc3ddb6)_0x23f0f2[_0x4cdc('0x3')](_0x3c2f34,{'commandName':_0xefc7c6,'commandParams':[{'forceValue':!_0x47ee35['value']}],'formatGroupId':'blockName'},Gt(_0x3c2f34));});};}function _0x5263c8(_0x3d159a){return()=>{const _0x4f808b=function(_0x549b34){const _0x48f115=(_0x549b34=Array[_0x4cdc('0xb')](_0x549b34))[_0x4cdc('0x3b')](_0x2849fe=>_0x4cdc('0x33')!=_0x2849fe[_0x4cdc('0x13')]);return _0x48f115>-0x1&&(_0x549b34=_0x549b34[_0x4cdc('0x2')](0x0,_0x48f115)),_0x549b34;}(_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x3c')]['selection'][_0x4cdc('0x0')]()),_0x21d9e8=_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x1a')](_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[0x0],_0x4cdc('0x36')),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x5')](_0x4f808b[_0x4f808b[_0x4cdc('0x1e')]-0x1],_0x4cdc('0x14')));_0x34ac2e['model']['change'](()=>{_0x23f0f2['markBlockFormat'](_0x21d9e8,{'commandName':_0x3d159a,'commandParams':[],'formatGroupId':_0x4cdc('0x2f')},function(_0x1045a9){const _0x39d66c=new Set();for(const _0x5846c0 of _0x1045a9){let _0x286edf=_0x5846c0[_0x4cdc('0x18')];for(;_0x286edf&&_0x286edf[_0x4cdc('0x11')](_0x4cdc('0x2f'))>_0x5846c0[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x39d66c['add'](_0x286edf),_0x286edf=_0x286edf[_0x4cdc('0x18')];}return Array[_0x4cdc('0xb')](_0x39d66c);}(_0x4f808b));});};}_0x23f0f2['enableCommand'](_0x4cdc('0x1'),_0x194580(_0x4cdc('0x1'))),_0x23f0f2['enableCommand'](_0x4cdc('0xe'),_0x194580(_0x4cdc('0xe'))),_0x5b4584&&_0x23f0f2['enableCommand'](_0x4cdc('0x25'),_0x194580(_0x4cdc('0x25'))),_0x23f0f2['enableCommand'](_0x4cdc('0x2d'),_0x5263c8('indentList')),_0x23f0f2['enableCommand'](_0x4cdc('0x28'),_0x5263c8('outdentList')),_0x5b4584&&_0x23f0f2[_0x4cdc('0xc')](_0x4cdc('0x38'),()=>{const _0x2394b7=_0x34ac2e['commands'][_0x4cdc('0x20')](_0x4cdc('0x38')),_0x5876ca=Array[_0x4cdc('0xb')](_0x2394b7[_0x4cdc('0x1f')]);_0x5876ca['filter'](_0x2c3bac=>_0x2c3bac[_0x4cdc('0x11')](_0x4cdc('0x30'))!=_0x2394b7[_0x4cdc('0x29')]),_0x34ac2e[_0x4cdc('0x7')][_0x4cdc('0x15')](()=>{for(const _0x2847b5 of _0x5876ca)_0x23f0f2[_0x4cdc('0x3')](_0x2847b5,{'commandName':_0x4cdc('0x38'),'commandParams':[{'forceValue':!_0x2394b7[_0x4cdc('0x29')]}]});});}),_0x23f0f2[_0x4cdc('0x2c')]['registerElementLabel'](_0x4cdc('0x33'),_0x558cf3=>_0x4399ff(_0x108159,_0x4cdc('0x2a'),_0x558cf3)),_0x23f0f2[_0x4cdc('0x2c')][_0x4cdc('0x4')](_0x4b7d7f=>{const {data:_0x151a61}=_0x4b7d7f;if(_0x151a61){if(_0x4cdc('0x1')==_0x151a61[_0x4cdc('0x1b')]||_0x4cdc('0xe')==_0x151a61['commandName']||'todoList'==_0x151a61[_0x4cdc('0x1b')])switch(_0x151a61[_0x4cdc('0x1b')][_0x4cdc('0x1d')](_0x4cdc('0xa'),'')){case _0x4cdc('0x19'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x16')));case _0x4cdc('0xd'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x27')));case _0x4cdc('0x37'):return _0x22e5e9(_0x4399ff(_0x108159,_0x4cdc('0x34')));}if(_0x4cdc('0x2d')==_0x151a61[_0x4cdc('0x1b')])return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x24'),_0x4399ff(_0x108159,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x151a61[_0x4cdc('0x1b')])return{'type':'format','content':_0x4399ff(_0x108159,'*Outdent:*\x20%0',_0x4399ff(_0x108159,_0x4cdc('0x2a')))};if(_0x4cdc('0x38')==_0x151a61[_0x4cdc('0x1b')])return _0x151a61['commandParams'][0x0][_0x4cdc('0x23')]?{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,_0x4cdc('0x22'))}:{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Uncheck\x20item*')};}function _0x22e5e9(_0x278dd0){return{'type':_0x4cdc('0x2e'),'content':_0x4399ff(_0x108159,'*Change\x20to:*\x20%0',_0x278dd0)};}});}}function Pt(_0x46bcf0){const _0x9564a8=_0x46bcf0[_0x4cdc('0x11')](_0x4cdc('0x2f'));if(0x0==_0x9564a8)return _0x46bcf0;let _0x18b9bc=_0x46bcf0;for(;_0x46bcf0['previousSibling']&&_0x46bcf0['previousSibling']['is'](_0x4cdc('0x17'),_0x4cdc('0x33'));){const _0x2fb3ee=_0x46bcf0['previousSibling'][_0x4cdc('0x11')]('listIndent');if(_0x2fb3ee==_0x9564a8)_0x18b9bc=_0x46bcf0[_0x4cdc('0x6')];else{if(_0x2fb3ee<_0x9564a8)break;}_0x46bcf0=_0x46bcf0[_0x4cdc('0x6')];}return _0x18b9bc;}function Gt(_0x27812d){const _0x5e5f37=[];if(_0x27812d['is'](_0x4cdc('0x17'),'listItem')&&_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'))>0x0){let _0x4a38e5=_0x27812d[_0x4cdc('0x18')];for(;_0x4a38e5&&_0x4cdc('0x33')==_0x4a38e5['name']&&_0x4a38e5['getAttribute']('listIndent')==_0x27812d[_0x4cdc('0x11')](_0x4cdc('0x2f'));)_0x5e5f37['push'](_0x4a38e5),_0x4a38e5=_0x4a38e5[_0x4cdc('0x18')];}return _0x5e5f37;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53d9=['showSuggestionHighlights','high','locale','ELEMENT_MEDIA','enableCommand','stop','createEmptyElement','get','downcastDispatcher','div','_descriptionFactory','editor','elementToElement','media','data','MediaEmbedEditing','attribute:url:media','options','has','TrackChangesEditing','plugins','conversion','mediaEmbed'];(function(_0xd31ec3,_0x53d908){const _0xc59768=function(_0x223336){while(--_0x223336){_0xd31ec3['push'](_0xd31ec3['shift']());}};_0xc59768(++_0x53d908);}(_0x53d9,0x9b));const _0xc597=function(_0xd31ec3,_0x53d908){_0xd31ec3=_0xd31ec3-0x0;let _0xc59768=_0x53d9[_0xd31ec3];return _0xc59768;};import{Plugin as _0xda7f4}from'ckeditor5/src/core';import{getTranslation as _0x34c3cd}from'../utils/common-translations';export default class st extends _0xda7f4{['afterInit'](){const _0x4dc2d0=this[_0xc597('0x11')];if(!_0x4dc2d0[_0xc597('0x3')][_0xc597('0x1')](_0xc597('0x15')))return;const _0x5b230c=_0x4dc2d0[_0xc597('0x3')][_0xc597('0xd')](_0xc597('0x2')),_0x551a9c=_0x4dc2d0[_0xc597('0x8')];_0x5b230c[_0xc597('0xa')](_0xc597('0x5')),_0x5b230c[_0xc597('0x10')]['registerElementLabel'](_0xc597('0x13'),_0x285ace=>_0x34c3cd(_0x551a9c,_0xc597('0x9'),_0x285ace)),_0x4dc2d0[_0xc597('0x4')]['for']('dataDowncast')[_0xc597('0x12')]({'model':_0xc597('0x13'),'view':(_0x1b0d62,{writer:_0x51aa46,options:_0x4dd9c3})=>{if(_0x4dd9c3[_0xc597('0x6')])return _0x51aa46[_0xc597('0xc')](_0xc597('0xf'));},'converterPriority':_0xc597('0x7')}),_0x4dc2d0[_0xc597('0x14')][_0xc597('0xe')]['on'](_0xc597('0x16'),(_0x64550d,_0x2c6520,_0x22c8e1)=>{_0x22c8e1[_0xc597('0x0')][_0xc597('0x6')]&&_0x64550d[_0xc597('0xb')]();},{'priority':'high'});}}
23
+ const _0xc8ed=['MediaEmbedEditing','ELEMENT_MEDIA','elementToElement','editor','div','downcastDispatcher','high','registerElementLabel','data','media','attribute:url:media','_descriptionFactory','enableCommand','get','locale','plugins','has','options','showSuggestionHighlights','mediaEmbed'];(function(_0x42792a,_0xc8ed18){const _0x5f4231=function(_0x1f54c3){while(--_0x1f54c3){_0x42792a['push'](_0x42792a['shift']());}};_0x5f4231(++_0xc8ed18);}(_0xc8ed,0x17b));const _0x5f42=function(_0x42792a,_0xc8ed18){_0x42792a=_0x42792a-0x0;let _0x5f4231=_0xc8ed[_0x42792a];return _0x5f4231;};import{Plugin as _0x4f80}from'ckeditor5/src/core';import{getTranslation as _0x2041ab}from'../utils/common-translations';export default class st extends _0x4f80{['afterInit'](){const _0x37507=this[_0x5f42('0x4')];if(!_0x37507[_0x5f42('0x10')][_0x5f42('0x11')](_0x5f42('0x1')))return;const _0x5d6e08=_0x37507[_0x5f42('0x10')][_0x5f42('0xe')]('TrackChangesEditing'),_0x849283=_0x37507[_0x5f42('0xf')];_0x5d6e08[_0x5f42('0xd')](_0x5f42('0x0')),_0x5d6e08[_0x5f42('0xc')][_0x5f42('0x8')](_0x5f42('0xa'),_0x4c364a=>_0x2041ab(_0x849283,_0x5f42('0x2'),_0x4c364a)),_0x37507['conversion']['for']('dataDowncast')[_0x5f42('0x3')]({'model':_0x5f42('0xa'),'view':(_0x1b41ef,{writer:_0x58ebda,options:_0x1c89cb})=>{if(_0x1c89cb[_0x5f42('0x13')])return _0x58ebda['createEmptyElement'](_0x5f42('0x5'));},'converterPriority':_0x5f42('0x7')}),_0x37507[_0x5f42('0x9')][_0x5f42('0x6')]['on'](_0x5f42('0xb'),(_0x2fe47c,_0x242e2f,_0x173d77)=>{_0x173d77[_0x5f42('0x12')][_0x5f42('0x13')]&&_0x2fe47c['stop']();},{'priority':_0x5f42('0x7')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ce4=['plugins','TrackChangesEditing','get','editor','enableCommand','mention','afterInit'];(function(_0x2770f2,_0x1ce427){const _0x88180a=function(_0x10de2e){while(--_0x10de2e){_0x2770f2['push'](_0x2770f2['shift']());}};_0x88180a(++_0x1ce427);}(_0x1ce4,0x109));const _0x8818=function(_0x2770f2,_0x1ce427){_0x2770f2=_0x2770f2-0x0;let _0x88180a=_0x1ce4[_0x2770f2];return _0x88180a;};import{Plugin as _0x3dcf03}from'ckeditor5/src/core';export default class et extends _0x3dcf03{[_0x8818('0x0')](){const _0x286581=this[_0x8818('0x4')];_0x286581[_0x8818('0x1')]['has']('MentionEditing')&&_0x286581['plugins'][_0x8818('0x3')](_0x8818('0x2'))[_0x8818('0x5')](_0x8818('0x6'));}}
23
+ const _0x26f1=['enableCommand','afterInit','plugins','mention'];(function(_0x3afe90,_0x26f1bb){const _0x144329=function(_0x28ecd5){while(--_0x28ecd5){_0x3afe90['push'](_0x3afe90['shift']());}};_0x144329(++_0x26f1bb);}(_0x26f1,0x15c));const _0x1443=function(_0x3afe90,_0x26f1bb){_0x3afe90=_0x3afe90-0x0;let _0x144329=_0x26f1[_0x3afe90];return _0x144329;};import{Plugin as _0x575f5d}from'ckeditor5/src/core';export default class et extends _0x575f5d{[_0x1443('0x1')](){const _0x49fbd1=this['editor'];_0x49fbd1[_0x1443('0x2')]['has']('MentionEditing')&&_0x49fbd1[_0x1443('0x2')]['get']('TrackChangesEditing')[_0x1443('0x0')](_0x1443('0x3'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x210d=['locale','editor','PageBreakEditing','ELEMENT_PAGE_BREAK','registerElementLabel','get','afterInit','has','pageBreak','TrackChangesEditing','plugins'];(function(_0x21c4ca,_0x210d57){const _0x17570d=function(_0x48f9e5){while(--_0x48f9e5){_0x21c4ca['push'](_0x21c4ca['shift']());}};_0x17570d(++_0x210d57);}(_0x210d,0xf1));const _0x1757=function(_0x21c4ca,_0x210d57){_0x21c4ca=_0x21c4ca-0x0;let _0x17570d=_0x210d[_0x21c4ca];return _0x17570d;};import{Plugin as _0x178bbc}from'ckeditor5/src/core';import{getTranslation as _0x2f4b1a}from'../utils/common-translations';export default class nt extends _0x178bbc{[_0x1757('0x7')](){const _0x2bf2cf=this[_0x1757('0x2')];if(!_0x2bf2cf[_0x1757('0x0')][_0x1757('0x8')](_0x1757('0x3')))return;_0x2bf2cf[_0x1757('0x0')][_0x1757('0x6')](_0x1757('0xa'))['enableCommand']('pageBreak');const _0x43afd3=_0x2bf2cf['plugins'][_0x1757('0x6')](_0x1757('0xa')),_0x11698d=_0x2bf2cf[_0x1757('0x1')];_0x43afd3['_descriptionFactory'][_0x1757('0x5')](_0x1757('0x9'),_0x5220a2=>_0x2f4b1a(_0x11698d,_0x1757('0x4'),_0x5220a2));}}
23
+ const _0x1d72=['plugins','afterInit','pageBreak','get','ELEMENT_PAGE_BREAK','locale','editor','TrackChangesEditing','PageBreakEditing','_descriptionFactory','registerElementLabel','has'];(function(_0x1fda1c,_0x1d72d2){const _0x5d8c28=function(_0x291ab6){while(--_0x291ab6){_0x1fda1c['push'](_0x1fda1c['shift']());}};_0x5d8c28(++_0x1d72d2);}(_0x1d72,0xe9));const _0x5d8c=function(_0x1fda1c,_0x1d72d2){_0x1fda1c=_0x1fda1c-0x0;let _0x5d8c28=_0x1d72[_0x1fda1c];return _0x5d8c28;};import{Plugin as _0x58315f}from'ckeditor5/src/core';import{getTranslation as _0x27b9d4}from'../utils/common-translations';export default class nt extends _0x58315f{[_0x5d8c('0x8')](){const _0x13f224=this[_0x5d8c('0x1')];if(!_0x13f224[_0x5d8c('0x7')][_0x5d8c('0x6')](_0x5d8c('0x3')))return;_0x13f224[_0x5d8c('0x7')][_0x5d8c('0xa')](_0x5d8c('0x2'))['enableCommand'](_0x5d8c('0x9'));const _0x5a12f7=_0x13f224[_0x5d8c('0x7')]['get'](_0x5d8c('0x2')),_0x2b326c=_0x13f224[_0x5d8c('0x0')];_0x5a12f7[_0x5d8c('0x4')][_0x5d8c('0x5')](_0x5d8c('0x9'),_0x41b162=>_0x27b9d4(_0x2b326c,_0x5d8c('0xb'),_0x41b162));}}